Version Description
Released on 14 November 2022 =
New: support for WordPress 6.1
New: support for WooCommerce 7.1
Update: YITH plugin framework
Fix: patched security vulnerability
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Wishlist |
Version | 3.15.0 |
Comparing to | |
See all releases |
Code changes from version 3.14.0 to 3.15.0
- README.md +4 -2
- README.txt +11 -4
- includes/class-yith-wcwl-frontend.php +1 -1
- init.php +3 -3
- languages/yith-woocommerce-wishlist.pot +1 -1
- plugin-fw/assets/js/yith-system-info.js +2 -1
- plugin-fw/assets/js/yith-system-info.min.js +1 -1
- plugin-fw/dist/gutenberg/index.asset.php +1 -1
- plugin-fw/dist/gutenberg/index.js +1 -1
- plugin-fw/includes/builders/gutenberg/class-yith-gutenberg.php +28 -18
- plugin-fw/includes/class-yit-ajax.php +2 -1
- plugin-fw/includes/class-yith-system-status.php +31 -23
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.po +23 -23
- plugin-fw/languages/yith-plugin-fw-es_ES.po +23 -23
- plugin-fw/languages/yith-plugin-fw-it_IT.po +23 -23
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +23 -23
- plugin-fw/languages/yith-plugin-fw-ru_RU.po +23 -23
- plugin-fw/languages/yith-plugin-fw-zh_CN.po +23 -23
- plugin-fw/languages/yith-plugin-fw.pot +23 -23
- plugin-fw/templates/components/action-button.php +1 -1
- plugin-fw/templates/sysinfo/tabs/error-log.php +7 -6
README.md
CHANGED
@@ -151,10 +151,12 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
|
|
151 |
|
152 |
## Changelog
|
153 |
|
154 |
-
### 3.
|
155 |
|
156 |
-
* New: support for
|
|
|
157 |
* Update: YITH plugin framework
|
|
|
158 |
|
159 |
## Support
|
160 |
|
151 |
|
152 |
## Changelog
|
153 |
|
154 |
+
### 3.15.0 - Released on 14 November 2022
|
155 |
|
156 |
+
* New: support for WordPress 6.1
|
157 |
+
* New: support for WooCommerce 7.1
|
158 |
* Update: YITH plugin framework
|
159 |
+
* Fix: patched security vulnerability
|
160 |
|
161 |
## Support
|
162 |
|
README.txt
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
|
3 |
Contributors: yithemes
|
4 |
Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
|
5 |
-
Requires at least: 5.
|
6 |
-
Tested up to: 6.
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
|
12 |
-
WooCommerce 7.
|
13 |
|
14 |
== Description ==
|
15 |
|
@@ -113,6 +113,13 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
= 3.14.0 - Released on 5 October 2022 =
|
117 |
|
118 |
* New: support for WooCommerce 7.0
|
2 |
|
3 |
Contributors: yithemes
|
4 |
Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
|
5 |
+
Requires at least: 5.9
|
6 |
+
Tested up to: 6.1
|
7 |
+
Stable tag: 3.15.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
|
12 |
+
WooCommerce 7.1.x compatible.
|
13 |
|
14 |
== Description ==
|
15 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 3.15.0 - Released on 14 November 2022 =
|
117 |
+
|
118 |
+
* New: support for WordPress 6.1
|
119 |
+
* New: support for WooCommerce 7.1
|
120 |
+
* Update: YITH plugin framework
|
121 |
+
* Fix: patched security vulnerability
|
122 |
+
|
123 |
= 3.14.0 - Released on 5 October 2022 =
|
124 |
|
125 |
* New: support for WooCommerce 7.0
|
includes/class-yith-wcwl-frontend.php
CHANGED
@@ -33,7 +33,7 @@ if ( ! class_exists( 'YITH_WCWL_Frontend' ) ) {
|
|
33 |
* @var string
|
34 |
* @since 1.0.0
|
35 |
*/
|
36 |
-
public $version = '3.
|
37 |
|
38 |
/**
|
39 |
* Plugin database version
|
33 |
* @var string
|
34 |
* @since 1.0.0
|
35 |
*/
|
36 |
+
public $version = '3.15.0';
|
37 |
|
38 |
/**
|
39 |
* Plugin database version
|
init.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Wishlist
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
|
5 |
* Description: <code><strong>YITH WooCommerce Wishlist</strong></code> gives your users the possibility to create, fill, manage and share their wishlists allowing you to analyze their interests and needs to improve your marketing strategies. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce on <strong>YITH</strong></a>
|
6 |
-
* Version: 3.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-wishlist
|
10 |
* Domain Path: /languages/
|
11 |
-
* WC requires at least: 6.
|
12 |
-
* WC tested up to: 7.
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH\Wishlist
|
3 |
* Plugin Name: YITH WooCommerce Wishlist
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
|
5 |
* Description: <code><strong>YITH WooCommerce Wishlist</strong></code> gives your users the possibility to create, fill, manage and share their wishlists allowing you to analyze their interests and needs to improve your marketing strategies. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce on <strong>YITH</strong></a>
|
6 |
+
* Version: 3.15.0
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-wishlist
|
10 |
* Domain Path: /languages/
|
11 |
+
* WC requires at least: 6.9
|
12 |
+
* WC tested up to: 7.1
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH\Wishlist
|
languages/yith-woocommerce-wishlist.pot
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: YITH WooCommerce Wishlist Premium\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-wishlist\n"
|
8 |
-
"POT-Creation-Date: 2022-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
5 |
"Project-Id-Version: YITH WooCommerce Wishlist Premium\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-wishlist\n"
|
8 |
+
"POT-Creation-Date: 2022-11-14 15:27:47+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
plugin-fw/assets/js/yith-system-info.js
CHANGED
@@ -35,6 +35,7 @@ jQuery(
|
|
35 |
var data = {
|
36 |
action: 'yith_create_log_file',
|
37 |
file : $( this ).data( 'file' ),
|
|
|
38 |
};
|
39 |
|
40 |
container.addClass( 'progress' );
|
@@ -74,7 +75,7 @@ jQuery(
|
|
74 |
if ( ! $this.find( '.copied-tooltip' ).length ) {
|
75 |
$this
|
76 |
.append(
|
77 |
-
$( '<span/>', {class: 'copied-tooltip'} )
|
78 |
.html( $this.data( "tooltip" ) ).fadeIn( 300 )
|
79 |
);
|
80 |
setTimeout(
|
35 |
var data = {
|
36 |
action: 'yith_create_log_file',
|
37 |
file : $( this ).data( 'file' ),
|
38 |
+
nonce : $( this ).data( 'nonce' ),
|
39 |
};
|
40 |
|
41 |
container.addClass( 'progress' );
|
75 |
if ( ! $this.find( '.copied-tooltip' ).length ) {
|
76 |
$this
|
77 |
.append(
|
78 |
+
$( '<span/>', { class: 'copied-tooltip' } )
|
79 |
.html( $this.data( "tooltip" ) ).fadeIn( 300 )
|
80 |
);
|
81 |
setTimeout(
|
plugin-fw/assets/js/yith-system-info.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(e){e(document).on("click",".notice-dismiss",function(){if("yith-system-alert"===e(this).parent().attr("id")){document.cookie="hide_yith_system_alert=yes;path=/"}}),e(document).on("click",".yith-download-log",function(){var t=e(this).parent(),o={action:"yith_create_log_file",file:e(this).data("file")};t.addClass("progress"),e.post(yith_sysinfo.ajax_url,o,function(e){if(!1!==e.file){var o=document.createElement("a"),i=e.file.split("/").pop();o.href=e.file,o.download=i,document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(e.file),o.remove()}t.removeClass("progress")})}),e(document).on("click",".copy-link",function(t){t.preventDefault();var o=e(this),i=e("<textarea>");e("body").append(i),i.val("define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\ndefine( 'WP_DEBUG_DISPLAY', false );").select(),document.execCommand("Copy"),i.remove(),o.find(".copied-tooltip").length||(o.append(e("<span/>",{"class":"copied-tooltip"}).html(o.data("tooltip")).fadeIn(300)),setTimeout(function(){o.find(".copied-tooltip").fadeOut().remove()},3e3))})});
|
1 |
+
jQuery(function(e){e(document).on("click",".notice-dismiss",function(){if("yith-system-alert"===e(this).parent().attr("id")){document.cookie="hide_yith_system_alert=yes;path=/"}}),e(document).on("click",".yith-download-log",function(){var t=e(this).parent(),o={action:"yith_create_log_file",file:e(this).data("file"),nonce:e(this).data("nonce")};t.addClass("progress"),e.post(yith_sysinfo.ajax_url,o,function(e){if(!1!==e.file){var o=document.createElement("a"),i=e.file.split("/").pop();o.href=e.file,o.download=i,document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(e.file),o.remove()}t.removeClass("progress")})}),e(document).on("click",".copy-link",function(t){t.preventDefault();var o=e(this),i=e("<textarea>");e("body").append(i),i.val("define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\ndefine( 'WP_DEBUG_DISPLAY', false );").select(),document.execCommand("Copy"),i.remove(),o.find(".copied-tooltip").length||(o.append(e("<span/>",{"class":"copied-tooltip"}).html(o.data("tooltip")).fadeIn(300)),setTimeout(function(){o.find(".copied-tooltip").fadeOut().remove()},3e3))})});
|
plugin-fw/dist/gutenberg/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '38c85839447dbb33cdd5faa58bc6e790');
|
plugin-fw/dist/gutenberg/index.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var e,t={784:function(e,t,n){"use strict";var o=window.wp.element,r=window.React,l=n(568),a=n.n(l),s=window.wp.blocks,i=window.wp.url;function c(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const p=(0,o.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var h=window.lodash,d=n.n(h);const f=(e,t,n)=>{let o=!0;if(t&&t.id&&"value"in t){let r=t.value;["toggle","checkbox"].includes(n)&&(r=!0===r||"yes"===r||1===r),r=d().isArray(r)?r:[r],o=void 0!==e[t.id]&&r.includes(e[t.id])}return o},m=(e,t)=>{const{controlType:n}=e;let o=!0;if(e.deps)if(d().isArray(e.deps))for(let r in e.deps){const l=e.deps[r];if(o=f(t,l,n),!o)break}else o=f(t,e.deps,n);return o},g=(e,t)=>{let n="",o=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?o=jQuery.fn[e.callback]:e.callback in window&&(o=window[e.callback])),"function"==typeof o)n=o(t,e);else{const o=e.attributes?Object.entries(e.attributes).map((e=>{let[n,o]=e;const r=m(o,t),l=t[n];if(r&&void 0!==l)return n+"="+(o.remove_quotes?l:`"${l}"`)})):[],r=o.length?" "+o.join(" "):"";n=`[${e.shortcode_name}${r}]`}return n};var _=window.wp.components,y=window.wp.blockEditor,b=window.wp.hooks;class v extends r.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,n){const{shortcode:o,shortcodeHash:r,ajaxSuccess:l,ajaxResponse:a,ajaxUpdated:s}=this.state;(0,h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(l&&(0,b.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,r,a),(0,b.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,r,a),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const n=g(t,e),o=a()(n);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,b.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,o),this.ajaxTimeout=setTimeout((()=>{(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=(0,i.addQueryArgs)(t,e),fetch(t).then(c).then(u)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:n,shortcodeHash:o,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:o})}render(){const{html:e,loading:t,firstLoading:n,shortcode:r,shortcodeHash:l}=this.state,{blockArgs:a}=this.props,{do_shortcode:s,title:i,empty_message:c}=a,u="block-editor-yith-plugin-fw-shortcode-block";let h=[u],d=s?"html":"shortcode",f=e,m="";n&&t?d="first-loading":s&&!e&&(d="empty-html",f=r,!t&&c&&(m=c));const g=["first-loading","empty-html","shortcode"].includes(d),y=!["first-loading","empty-html"].includes(d),b=!!m;return h.push(`${u}--${d}`),h.push(b?`${u}--has-message`:`${u}--no-message`),h.push(`yith_block_${l}`),(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:h.join(" ")},t?(0,o.createElement)("div",{className:`${u}__spinner-wrap`},(0,o.createElement)(_.Spinner,null)):"",g&&(0,o.createElement)("div",{className:`${u}__title components-placeholder__label`},p,i),b&&(0,o.createElement)(o.RawHTML,{className:`${u}__message`},m),y&&(0,o.createElement)(o.RawHTML,{className:`${u}__content`},f)))}}var w=window.wp.compose;function C(e){let{className:t,label:n,onChange:r,value:l,help:a,disableAlpha:s}=e;const i=`inspector-yith-color-picker-control-${(0,w.useInstanceId)(C)}`;return(0,o.createElement)(_.BaseControl,{id:i,label:n,className:`block-editor-yith-color-control ${t}`,help:a},(0,o.createElement)(_.ColorPicker,{color:l,disableAlpha:s,onChangeComplete:r}))}function k(e){let{label:t,colorValue:n}=e;return(0,o.createElement)(o.Fragment,null,t,!!n&&(0,o.createElement)(_.ColorIndicator,{colorValue:n}))}function E(e){let{className:t,label:n,onChange:r,value:l,help:a,palette:s,clearable:i}=e;s=s||(0,y.useSetting)("color.palette");const c=`inspector-yith-color-palette-control-${(0,w.useInstanceId)(E)}`;return(0,o.createElement)(_.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${t}`,help:a},(0,o.createElement)("fieldset",null,(0,o.createElement)("legend",null,(0,o.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,o.createElement)(_.BaseControl.VisualLabel,null,(0,o.createElement)(k,{colorValue:l,label:n})))),(0,o.createElement)(_.ColorPalette,{value:l,onChange:r,colors:s,clearable:i})))}var x=n(184),T=n.n(x),j=n(697),N=n.n(j),S=window.wp.i18n;const O={noItems:(0,S.__)("No items found.","yith-plugin-fw"),noResults:(0,S.__)('No results for "%s"',"yith-plugin-fw"),search:(0,S.__)("Search for items...","yith-plugin-fw")};function A(e){const t=(0,w.useInstanceId)(B);return e||`inspector-yith-multiple-select-control-${t}`}function R(e){var t;let{id:n,value:l,options:a,onChange:s,messages:i}=e;const[c,u]=(0,r.useState)(""),[p,h]=(0,r.useState)(!1),[d,f]=(0,r.useState)(248),m={...O,...i},g=(0,r.useRef)(),y=(0,r.useRef)(),b=(0,r.useRef)(),v=(0,r.useRef)(),w=(0,r.useRef)(),C=T()("yith-fw-components__multiple-select"),k=(0,r.useMemo)((()=>a.map((e=>e.value))),[a]),E=(0,r.useMemo)((()=>l.filter((e=>k.includes(e)))),[l,k]),x=(0,r.useMemo)((()=>a.filter((e=>e.label.toLowerCase().indexOf(c.toLowerCase())>=0))),[a,c]),j=(0,r.useMemo)((()=>a.filter((e=>E.includes(e.value)))),[a,E]),N=e=>{const t=[...E].filter((t=>t!==e));s(t)},R=()=>!!y.current&&y.current.focus(),B=e=>{const t=(null==g?void 0:g.current)&&g.current.contains(e.target),n=(null==v?void 0:v.current)&&v.current.contains(e.target);t||n||h(!1)};return(0,r.useEffect)((()=>(document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)))),(0,r.useEffect)((()=>{(()=>{var e;if(!g.current)return;const t=null===(e=g.current.getBoundingClientRect())||void 0===e?void 0:e.width;f(t)})()}),[]),(0,o.createElement)("div",{className:C,ref:g},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__input-container",ref:b,onClick:e=>{(null==b?void 0:b.current)&&b.current===e.target&&R()}},j.map((e=>(0,o.createElement)("span",{key:e.value,className:"yith-fw-components__multiple-select__item"},(0,o.createElement)("span",{className:"yith-fw-components__multiple-select__item__label"},e.label),(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__item__remove yith-icon-close-alt",onClick:()=>{N(e.value),h(!1)}})))),(0,o.createElement)("input",{className:"yith-fw-components__multiple-select__input",id:A(n),ref:y,type:"text",autoComplete:"off",placeholder:m.search,onFocus:()=>h(!0),value:c,onChange:e=>u(e.target.value)})),p&&(0,o.createElement)(_.Popover,{className:"yith-fw-components__multiple-select__popover",position:"bottom",offset:20,anchorRef:null!==(t=null==g?void 0:g.current)&&void 0!==t?t:void 0,anchorRect:(null==g?void 0:g.current)&&(null==g?void 0:g.current.getBoundingClientRect()),focusOnMount:!1,ref:v},(0,o.createElement)("div",{className:T()("yith-fw-components__multiple-select__suggestions",!x.length&&"no-results"),ref:w,style:{width:d}},a.length&&x.length?x.map((e=>{const t=E.includes(e.value);return(0,o.createElement)("div",{key:e.value,className:T()("yith-fw-components__multiple-select__suggestion",t&&"selected"),onClick:()=>{var n;t||(n=e.value,s([...E,n]),u(""),R())}},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestion__label"},e.label),t&&(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__suggestion__remove yith-icon yith-icon-close-alt",onClick:()=>{N(e.value),R()}}))})):(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestions__message"},a.length&&c?(0,S.sprintf)(m.noResults,c):m.noItems))))}function B(e){let{className:t,label:n,onChange:r,value:l,help:a,options:s,messages:i}=e;const c=`inspector-yith-multiple-select-control-${(0,w.useInstanceId)(B)}`;return(0,o.createElement)(_.BaseControl,{id:c,label:n,className:`block-editor-yith-multiple-select-control ${t}`,help:a},(0,o.createElement)(R,{id:c,value:l,options:s,onChange:r,messages:i}))}R.propTypes={id:N().string,className:N().string,value:N().array,options:N().arrayOf(N().shape({label:N().string,value:N().oneOfType([N().string,N().number])})),onChange:N().func},R.defaultProps={id:"",value:[],className:"",options:[],onChange:d()};const $=e=>{var t,n,r;let{attributeName:l,attributeArgs:a,attributes:s,onChange:i,blockName:c}=e;const{controlType:u,label:p,wrapper_class:h}=a,d=s[l],f=((e,t)=>{let n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n})(a,d),g=m(a,s),y=T()(`${c}__${l}-field-wrapper`,h);let b=!1;if(g)switch(u){case"select":var v,w,k;b=a.multiple?(0,o.createElement)(B,{className:y,value:d,label:p,options:null!==(v=null==a?void 0:a.options)&&void 0!==v?v:[],help:f,onChange:i,messages:null!==(w=null==a?void 0:a.messages)&&void 0!==w?w:{}}):(0,o.createElement)(_.SelectControl,{className:y,value:d,label:p,options:null!==(k=null==a?void 0:a.options)&&void 0!==k?k:[],help:f,onChange:i});break;case"text":b=(0,o.createElement)(_.TextControl,{className:y,key:l,value:d,label:p,help:f,onChange:i});break;case"textarea":b=(0,o.createElement)(_.TextareaControl,{className:y,key:l,value:d,label:p,help:f,onChange:i});break;case"toggle":b=(0,o.createElement)(_.ToggleControl,{className:y,key:l,label:p,help:f,checked:d,onChange:i});break;case"checkbox":b=(0,o.createElement)(_.CheckboxControl,{className:y,key:l,label:p,help:f,checked:d,onChange:i});break;case"number":case"range":b=(0,o.createElement)(_.RangeControl,{className:y,key:l,value:d,label:p,help:f,min:null==a?void 0:a.min,max:null==a?void 0:a.max,onChange:i});break;case"color":case"colorpicker":b=(0,o.createElement)(C,{className:y,key:l,label:p,help:f,value:d,disableAlpha:null!==(t=null==a?void 0:a.disableAlpha)&&void 0!==t&&t,onChange:i});break;case"color-palette":b=(0,o.createElement)(E,{className:y,key:l,label:p,help:f,value:d,clearable:null!==(n=null==a?void 0:a.clearable)&&void 0!==n&&n,onChange:i});break;case"radio":b=(0,o.createElement)(_.RadioControl,{key:l,label:p,options:null!==(r=null==a?void 0:a.options)&&void 0!==r?r:[],selected:d,help:f,onChange:i});break;default:b=!1}return b},I=(e,t)=>function(n){let{attributes:r,className:l,setAttributes:a}=n;return(0,o.createElement)(o.Fragment,null,!!t.attributes&&(0,o.createElement)(y.InspectorControls,null,(0,o.createElement)(_.PanelBody,null,Object.entries(t.attributes).map((t=>{let[n,l]=t;const{controlType:s}=l;return(0,o.createElement)($,{key:n,attributeArgs:l,attributeName:n,attributes:r,blockName:e,onChange:e=>((e,t,n)=>{if(["colorpicker","color"].includes(n))if("rgb"in e&&"hex"in e){const{r:t,g:n,b:o,a:r}=e.rgb;e=r<1?`rgba(${t}, ${n}, ${o}, ${r})`:e.hex}else e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString();a({[t]:e})})(e,n,s)})})))),(0,o.createElement)(v,{attributes:r,blockArgs:t}))},L=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of L)(0,b.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:p,keywords:t.keywords,edit:I(e,t),save:e=>{let{attributes:n}=e;return g(t,n)},deprecated:[{attributes:t.attributes,save:e=>{let{attributes:n}=e;const r=g(t,n),l='<span class="yith_block_'+a()(r)+'">'+r+"</span>";return(0,o.createElement)(o.RawHTML,null,l)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},12:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],l=0;l<4;l++)8*o+6*l<=8*e.length?n.push(t.charAt(r>>>6*(3-l)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&n.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(o))>>>6-2*r);return n}},e.exports=n},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,n){var o,r,l,a,s;o=n(12),r=n(487).utf8,l=n(738),a=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):r.stringToBytes(e):l(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),i=8*e.length,c=1732584193,u=-271733879,p=-1732584194,h=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var f=s._ff,m=s._gg,g=s._hh,_=s._ii;for(d=0;d<n.length;d+=16){var y=c,b=u,v=p,w=h;c=f(c,u,p,h,n[d+0],7,-680876936),h=f(h,c,u,p,n[d+1],12,-389564586),p=f(p,h,c,u,n[d+2],17,606105819),u=f(u,p,h,c,n[d+3],22,-1044525330),c=f(c,u,p,h,n[d+4],7,-176418897),h=f(h,c,u,p,n[d+5],12,1200080426),p=f(p,h,c,u,n[d+6],17,-1473231341),u=f(u,p,h,c,n[d+7],22,-45705983),c=f(c,u,p,h,n[d+8],7,1770035416),h=f(h,c,u,p,n[d+9],12,-1958414417),p=f(p,h,c,u,n[d+10],17,-42063),u=f(u,p,h,c,n[d+11],22,-1990404162),c=f(c,u,p,h,n[d+12],7,1804603682),h=f(h,c,u,p,n[d+13],12,-40341101),p=f(p,h,c,u,n[d+14],17,-1502002290),c=m(c,u=f(u,p,h,c,n[d+15],22,1236535329),p,h,n[d+1],5,-165796510),h=m(h,c,u,p,n[d+6],9,-1069501632),p=m(p,h,c,u,n[d+11],14,643717713),u=m(u,p,h,c,n[d+0],20,-373897302),c=m(c,u,p,h,n[d+5],5,-701558691),h=m(h,c,u,p,n[d+10],9,38016083),p=m(p,h,c,u,n[d+15],14,-660478335),u=m(u,p,h,c,n[d+4],20,-405537848),c=m(c,u,p,h,n[d+9],5,568446438),h=m(h,c,u,p,n[d+14],9,-1019803690),p=m(p,h,c,u,n[d+3],14,-187363961),u=m(u,p,h,c,n[d+8],20,1163531501),c=m(c,u,p,h,n[d+13],5,-1444681467),h=m(h,c,u,p,n[d+2],9,-51403784),p=m(p,h,c,u,n[d+7],14,1735328473),c=g(c,u=m(u,p,h,c,n[d+12],20,-1926607734),p,h,n[d+5],4,-378558),h=g(h,c,u,p,n[d+8],11,-2022574463),p=g(p,h,c,u,n[d+11],16,1839030562),u=g(u,p,h,c,n[d+14],23,-35309556),c=g(c,u,p,h,n[d+1],4,-1530992060),h=g(h,c,u,p,n[d+4],11,1272893353),p=g(p,h,c,u,n[d+7],16,-155497632),u=g(u,p,h,c,n[d+10],23,-1094730640),c=g(c,u,p,h,n[d+13],4,681279174),h=g(h,c,u,p,n[d+0],11,-358537222),p=g(p,h,c,u,n[d+3],16,-722521979),u=g(u,p,h,c,n[d+6],23,76029189),c=g(c,u,p,h,n[d+9],4,-640364487),h=g(h,c,u,p,n[d+12],11,-421815835),p=g(p,h,c,u,n[d+15],16,530742520),c=_(c,u=g(u,p,h,c,n[d+2],23,-995338651),p,h,n[d+0],6,-198630844),h=_(h,c,u,p,n[d+7],10,1126891415),p=_(p,h,c,u,n[d+14],15,-1416354905),u=_(u,p,h,c,n[d+5],21,-57434055),c=_(c,u,p,h,n[d+12],6,1700485571),h=_(h,c,u,p,n[d+3],10,-1894986606),p=_(p,h,c,u,n[d+10],15,-1051523),u=_(u,p,h,c,n[d+1],21,-2054922799),c=_(c,u,p,h,n[d+8],6,1873313359),h=_(h,c,u,p,n[d+15],10,-30611744),p=_(p,h,c,u,n[d+6],15,-1560198380),u=_(u,p,h,c,n[d+13],21,1309151649),c=_(c,u,p,h,n[d+4],6,-145523070),h=_(h,c,u,p,n[d+11],10,-1120210379),p=_(p,h,c,u,n[d+2],15,718787259),u=_(u,p,h,c,n[d+9],21,-343485551),c=c+y>>>0,u=u+b>>>0,p=p+v>>>0,h=h+w>>>0}return o.endian([c,u,p,h])})._ff=function(e,t,n,o,r,l,a){var s=e+(t&n|~t&o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._gg=function(e,t,n,o,r,l,a){var s=e+(t&o|n&~o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._hh=function(e,t,n,o,r,l,a){var s=e+(t^n^o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._ii=function(e,t,n,o,r,l,a){var s=e+(n^(t|~o))+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):o.bytesToHex(n)}},703:function(e,t,n){"use strict";var o=n(414);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:r};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var l=n[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=function(t,n,r,l){if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],r=e[u][1],l=e[u][2];for(var s=!0,i=0;i<n.length;i++)(!1&l||a>=l)&&Object.keys(o.O).every((function(e){return o.O[e](n[i])}))?n.splice(i--,1):(s=!1,l<a&&(a=l));if(s){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[n,r,l]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,l,a=n[0],s=n[1],i=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(i)var u=i(o)}for(t&&t(n);c<a.length;c++)l=a[c],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(u)},n=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var r=o.O(void 0,[46],(function(){return o(784)}));r=o.O(r)}();
|
1 |
+
!function(){var e,t={784:function(e,t,n){"use strict";var o=window.wp.element,r=window.React,l=n(568),a=n.n(l),s=window.wp.blocks,i=window.wp.url;function c(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const p=(0,o.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var h=window.lodash,d=n.n(h);const f=(e,t,n)=>{let o=!0;if(t&&t.id&&"value"in t){let r=t.value;["toggle","checkbox"].includes(n)&&(r=!0===r||"yes"===r||1===r),r=d().isArray(r)?r:[r],o=void 0!==e[t.id]&&r.includes(e[t.id])}return o},m=(e,t)=>{const{controlType:n}=e;let o=!0;if(e.deps)if(d().isArray(e.deps))for(let r in e.deps){const l=e.deps[r];if(o=f(t,l,n),!o)break}else o=f(t,e.deps,n);return o},g=(e,t)=>{let n="",o=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?o=jQuery.fn[e.callback]:e.callback in window&&(o=window[e.callback])),"function"==typeof o)n=o(t,e);else{const o=e.attributes?Object.entries(e.attributes).map((e=>{let[n,o]=e;const r=m(o,t),l=t[n];if(r&&void 0!==l)return n+"="+(o.remove_quotes?l:`"${l}"`)})):[],r=o.length?" "+o.join(" "):"";n=`[${e.shortcode_name}${r}]`}return n};var y=window.wp.components,v=window.wp.blockEditor,_=window.wp.hooks;class b extends r.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,n){const{shortcode:o,shortcodeHash:r,ajaxSuccess:l,ajaxResponse:a,ajaxUpdated:s}=this.state;(0,h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(l&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,r,a),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,r,a),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const n=g(t,e),o=a()(n);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,o),this.ajaxTimeout=setTimeout((()=>{var e,t,r;(function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return e.security=null!==(t=e.security)&&void 0!==t?t:yithGutenberg.ajaxNonce,n=(0,i.addQueryArgs)(n,e),fetch(n).then(c).then(u)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n,context:{...null!==(e=this.props.context)&&void 0!==e?e:{},adminPage:null!==(t=null===(r=window)||void 0===r?void 0:r.adminpage)&&void 0!==t?t:""}}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:n,shortcodeHash:o,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:o})}render(){const{html:e,loading:t,firstLoading:n,shortcode:r,shortcodeHash:l}=this.state,{blockArgs:a}=this.props,{do_shortcode:s,title:i,empty_message:c}=a,u="block-editor-yith-plugin-fw-shortcode-block";let h=[u],d=s?"html":"shortcode",f=e,m="";n&&t?d="first-loading":s&&!e&&(d="empty-html",f=r,!t&&c&&(m=c));const g=["first-loading","empty-html","shortcode"].includes(d),v=!["first-loading","empty-html"].includes(d),_=!!m;return h.push(`${u}--${d}`),h.push(_?`${u}--has-message`:`${u}--no-message`),h.push(`yith_block_${l}`),(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:h.join(" ")},t?(0,o.createElement)("div",{className:`${u}__spinner-wrap`},(0,o.createElement)(y.Spinner,null)):"",g&&(0,o.createElement)("div",{className:`${u}__title components-placeholder__label`},p,i),_&&(0,o.createElement)(o.RawHTML,{className:`${u}__message`},m),v&&(0,o.createElement)(o.RawHTML,{className:`${u}__content`},f)))}}var w=window.wp.compose;function C(e){let{className:t,label:n,onChange:r,value:l,help:a,disableAlpha:s}=e;const i=`inspector-yith-color-picker-control-${(0,w.useInstanceId)(C)}`;return(0,o.createElement)(y.BaseControl,{id:i,label:n,className:`block-editor-yith-color-control ${t}`,help:a},(0,o.createElement)(y.ColorPicker,{color:l,disableAlpha:s,onChangeComplete:r}))}function k(e){let{label:t,colorValue:n}=e;return(0,o.createElement)(o.Fragment,null,t,!!n&&(0,o.createElement)(y.ColorIndicator,{colorValue:n}))}function E(e){let{className:t,label:n,onChange:r,value:l,help:a,palette:s,clearable:i}=e;s=s||(0,v.useSetting)("color.palette");const c=`inspector-yith-color-palette-control-${(0,w.useInstanceId)(E)}`;return(0,o.createElement)(y.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${t}`,help:a},(0,o.createElement)("fieldset",null,(0,o.createElement)("legend",null,(0,o.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,o.createElement)(y.BaseControl.VisualLabel,null,(0,o.createElement)(k,{colorValue:l,label:n})))),(0,o.createElement)(y.ColorPalette,{value:l,onChange:r,colors:s,clearable:i})))}var x=n(184),T=n.n(x),j=n(697),N=n.n(j),S=window.wp.i18n;const O={noItems:(0,S.__)("No items found.","yith-plugin-fw"),noResults:(0,S.__)('No results for "%s"',"yith-plugin-fw"),search:(0,S.__)("Search for items...","yith-plugin-fw")};function A(e){const t=(0,w.useInstanceId)(B);return e||`inspector-yith-multiple-select-control-${t}`}function R(e){var t;let{id:n,value:l,options:a,onChange:s,messages:i}=e;const[c,u]=(0,r.useState)(""),[p,h]=(0,r.useState)(!1),[d,f]=(0,r.useState)(248),m={...O,...i},g=(0,r.useRef)(),v=(0,r.useRef)(),_=(0,r.useRef)(),b=(0,r.useRef)(),w=(0,r.useRef)(),C=T()("yith-fw-components__multiple-select"),k=(0,r.useMemo)((()=>a.map((e=>e.value))),[a]),E=(0,r.useMemo)((()=>l.filter((e=>k.includes(e)))),[l,k]),x=(0,r.useMemo)((()=>a.filter((e=>e.label.toLowerCase().indexOf(c.toLowerCase())>=0))),[a,c]),j=(0,r.useMemo)((()=>a.filter((e=>E.includes(e.value)))),[a,E]),N=e=>{const t=[...E].filter((t=>t!==e));s(t)},R=()=>!!v.current&&v.current.focus(),B=e=>{const t=(null==g?void 0:g.current)&&g.current.contains(e.target),n=(null==b?void 0:b.current)&&b.current.contains(e.target);t||n||h(!1)};return(0,r.useEffect)((()=>(document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)))),(0,r.useEffect)((()=>{(()=>{var e;if(!g.current)return;const t=null===(e=g.current.getBoundingClientRect())||void 0===e?void 0:e.width;f(t)})()}),[]),(0,o.createElement)("div",{className:C,ref:g},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__input-container",ref:_,onClick:e=>{(null==_?void 0:_.current)&&_.current===e.target&&R()}},j.map((e=>(0,o.createElement)("span",{key:e.value,className:"yith-fw-components__multiple-select__item"},(0,o.createElement)("span",{className:"yith-fw-components__multiple-select__item__label"},e.label),(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__item__remove yith-icon-close-alt",onClick:()=>{N(e.value),h(!1)}})))),(0,o.createElement)("input",{className:"yith-fw-components__multiple-select__input",id:A(n),ref:v,type:"text",autoComplete:"off",placeholder:m.search,onFocus:()=>h(!0),value:c,onChange:e=>u(e.target.value)})),p&&(0,o.createElement)(y.Popover,{className:"yith-fw-components__multiple-select__popover",position:"bottom",offset:20,anchorRef:null!==(t=null==g?void 0:g.current)&&void 0!==t?t:void 0,anchorRect:(null==g?void 0:g.current)&&(null==g?void 0:g.current.getBoundingClientRect()),focusOnMount:!1,ref:b},(0,o.createElement)("div",{className:T()("yith-fw-components__multiple-select__suggestions",!x.length&&"no-results"),ref:w,style:{width:d}},a.length&&x.length?x.map((e=>{const t=E.includes(e.value);return(0,o.createElement)("div",{key:e.value,className:T()("yith-fw-components__multiple-select__suggestion",t&&"selected"),onClick:()=>{var n;t||(n=e.value,s([...E,n]),u(""),R())}},(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestion__label"},e.label),t&&(0,o.createElement)("i",{className:"yith-fw-components__multiple-select__suggestion__remove yith-icon yith-icon-close-alt",onClick:()=>{N(e.value),R()}}))})):(0,o.createElement)("div",{className:"yith-fw-components__multiple-select__suggestions__message"},a.length&&c?(0,S.sprintf)(m.noResults,c):m.noItems))))}function B(e){let{className:t,label:n,onChange:r,value:l,help:a,options:s,messages:i}=e;const c=`inspector-yith-multiple-select-control-${(0,w.useInstanceId)(B)}`;return(0,o.createElement)(y.BaseControl,{id:c,label:n,className:`block-editor-yith-multiple-select-control ${t}`,help:a},(0,o.createElement)(R,{id:c,value:l,options:s,onChange:r,messages:i}))}R.propTypes={id:N().string,className:N().string,value:N().array,options:N().arrayOf(N().shape({label:N().string,value:N().oneOfType([N().string,N().number])})),onChange:N().func},R.defaultProps={id:"",value:[],className:"",options:[],onChange:d()};const $=e=>{var t,n,r;let{attributeName:l,attributeArgs:a,attributes:s,onChange:i,blockName:c}=e;const{controlType:u,label:p,wrapper_class:h}=a,d=s[l],f=((e,t)=>{let n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n})(a,d),g=m(a,s),v=T()(`${c}__${l}-field-wrapper`,h);let _=!1;if(g)switch(u){case"select":var b,w,k;_=a.multiple?(0,o.createElement)(B,{className:v,value:d,label:p,options:null!==(b=null==a?void 0:a.options)&&void 0!==b?b:[],help:f,onChange:i,messages:null!==(w=null==a?void 0:a.messages)&&void 0!==w?w:{}}):(0,o.createElement)(y.SelectControl,{className:v,value:d,label:p,options:null!==(k=null==a?void 0:a.options)&&void 0!==k?k:[],help:f,onChange:i});break;case"text":_=(0,o.createElement)(y.TextControl,{className:v,key:l,value:d,label:p,help:f,onChange:i});break;case"textarea":_=(0,o.createElement)(y.TextareaControl,{className:v,key:l,value:d,label:p,help:f,onChange:i});break;case"toggle":_=(0,o.createElement)(y.ToggleControl,{className:v,key:l,label:p,help:f,checked:d,onChange:i});break;case"checkbox":_=(0,o.createElement)(y.CheckboxControl,{className:v,key:l,label:p,help:f,checked:d,onChange:i});break;case"number":case"range":_=(0,o.createElement)(y.RangeControl,{className:v,key:l,value:d,label:p,help:f,min:null==a?void 0:a.min,max:null==a?void 0:a.max,onChange:i});break;case"color":case"colorpicker":_=(0,o.createElement)(C,{className:v,key:l,label:p,help:f,value:d,disableAlpha:null!==(t=null==a?void 0:a.disableAlpha)&&void 0!==t&&t,onChange:i});break;case"color-palette":_=(0,o.createElement)(E,{className:v,key:l,label:p,help:f,value:d,clearable:null!==(n=null==a?void 0:a.clearable)&&void 0!==n&&n,onChange:i});break;case"radio":_=(0,o.createElement)(y.RadioControl,{key:l,label:p,options:null!==(r=null==a?void 0:a.options)&&void 0!==r?r:[],selected:d,help:f,onChange:i});break;default:_=!1}return _},I=(e,t)=>function(n){let{context:r,attributes:l,className:a,setAttributes:s}=n;return(0,o.createElement)(o.Fragment,null,!!t.attributes&&(0,o.createElement)(v.InspectorControls,null,(0,o.createElement)(y.PanelBody,null,Object.entries(t.attributes).map((t=>{let[n,r]=t;const{controlType:a}=r;return(0,o.createElement)($,{key:n,attributeArgs:r,attributeName:n,attributes:l,blockName:e,onChange:e=>((e,t,n)=>{if(["colorpicker","color"].includes(n))if("rgb"in e&&"hex"in e){const{r:t,g:n,b:o,a:r}=e.rgb;e=r<1?`rgba(${t}, ${n}, ${o}, ${r})`:e.hex}else e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString();s({[t]:e})})(e,n,a)})})))),(0,o.createElement)(b,{attributes:l,blockArgs:t,context:r}))},L=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of L)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:p,keywords:t.keywords,edit:I(e,t),usesContext:["postId"],save:e=>{let{attributes:n}=e;return g(t,n)},deprecated:[{attributes:t.attributes,save:e=>{let{attributes:n}=e;const r=g(t,n),l='<span class="yith_block_'+a()(r)+'">'+r+"</span>";return(0,o.createElement)(o.RawHTML,null,l)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},12:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],l=0;l<4;l++)8*o+6*l<=8*e.length?n.push(t.charAt(r>>>6*(3-l)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&n.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(o))>>>6-2*r);return n}},e.exports=n},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,n){var o,r,l,a,s;o=n(12),r=n(487).utf8,l=n(738),a=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):r.stringToBytes(e):l(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),i=8*e.length,c=1732584193,u=-271733879,p=-1732584194,h=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var f=s._ff,m=s._gg,g=s._hh,y=s._ii;for(d=0;d<n.length;d+=16){var v=c,_=u,b=p,w=h;c=f(c,u,p,h,n[d+0],7,-680876936),h=f(h,c,u,p,n[d+1],12,-389564586),p=f(p,h,c,u,n[d+2],17,606105819),u=f(u,p,h,c,n[d+3],22,-1044525330),c=f(c,u,p,h,n[d+4],7,-176418897),h=f(h,c,u,p,n[d+5],12,1200080426),p=f(p,h,c,u,n[d+6],17,-1473231341),u=f(u,p,h,c,n[d+7],22,-45705983),c=f(c,u,p,h,n[d+8],7,1770035416),h=f(h,c,u,p,n[d+9],12,-1958414417),p=f(p,h,c,u,n[d+10],17,-42063),u=f(u,p,h,c,n[d+11],22,-1990404162),c=f(c,u,p,h,n[d+12],7,1804603682),h=f(h,c,u,p,n[d+13],12,-40341101),p=f(p,h,c,u,n[d+14],17,-1502002290),c=m(c,u=f(u,p,h,c,n[d+15],22,1236535329),p,h,n[d+1],5,-165796510),h=m(h,c,u,p,n[d+6],9,-1069501632),p=m(p,h,c,u,n[d+11],14,643717713),u=m(u,p,h,c,n[d+0],20,-373897302),c=m(c,u,p,h,n[d+5],5,-701558691),h=m(h,c,u,p,n[d+10],9,38016083),p=m(p,h,c,u,n[d+15],14,-660478335),u=m(u,p,h,c,n[d+4],20,-405537848),c=m(c,u,p,h,n[d+9],5,568446438),h=m(h,c,u,p,n[d+14],9,-1019803690),p=m(p,h,c,u,n[d+3],14,-187363961),u=m(u,p,h,c,n[d+8],20,1163531501),c=m(c,u,p,h,n[d+13],5,-1444681467),h=m(h,c,u,p,n[d+2],9,-51403784),p=m(p,h,c,u,n[d+7],14,1735328473),c=g(c,u=m(u,p,h,c,n[d+12],20,-1926607734),p,h,n[d+5],4,-378558),h=g(h,c,u,p,n[d+8],11,-2022574463),p=g(p,h,c,u,n[d+11],16,1839030562),u=g(u,p,h,c,n[d+14],23,-35309556),c=g(c,u,p,h,n[d+1],4,-1530992060),h=g(h,c,u,p,n[d+4],11,1272893353),p=g(p,h,c,u,n[d+7],16,-155497632),u=g(u,p,h,c,n[d+10],23,-1094730640),c=g(c,u,p,h,n[d+13],4,681279174),h=g(h,c,u,p,n[d+0],11,-358537222),p=g(p,h,c,u,n[d+3],16,-722521979),u=g(u,p,h,c,n[d+6],23,76029189),c=g(c,u,p,h,n[d+9],4,-640364487),h=g(h,c,u,p,n[d+12],11,-421815835),p=g(p,h,c,u,n[d+15],16,530742520),c=y(c,u=g(u,p,h,c,n[d+2],23,-995338651),p,h,n[d+0],6,-198630844),h=y(h,c,u,p,n[d+7],10,1126891415),p=y(p,h,c,u,n[d+14],15,-1416354905),u=y(u,p,h,c,n[d+5],21,-57434055),c=y(c,u,p,h,n[d+12],6,1700485571),h=y(h,c,u,p,n[d+3],10,-1894986606),p=y(p,h,c,u,n[d+10],15,-1051523),u=y(u,p,h,c,n[d+1],21,-2054922799),c=y(c,u,p,h,n[d+8],6,1873313359),h=y(h,c,u,p,n[d+15],10,-30611744),p=y(p,h,c,u,n[d+6],15,-1560198380),u=y(u,p,h,c,n[d+13],21,1309151649),c=y(c,u,p,h,n[d+4],6,-145523070),h=y(h,c,u,p,n[d+11],10,-1120210379),p=y(p,h,c,u,n[d+2],15,718787259),u=y(u,p,h,c,n[d+9],21,-343485551),c=c+v>>>0,u=u+_>>>0,p=p+b>>>0,h=h+w>>>0}return o.endian([c,u,p,h])})._ff=function(e,t,n,o,r,l,a){var s=e+(t&n|~t&o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._gg=function(e,t,n,o,r,l,a){var s=e+(t&o|n&~o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._hh=function(e,t,n,o,r,l,a){var s=e+(t^n^o)+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._ii=function(e,t,n,o,r,l,a){var s=e+(n^(t|~o))+(r>>>0)+a;return(s<<l|s>>>32-l)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):o.bytesToHex(n)}},703:function(e,t,n){"use strict";var o=n(414);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:r};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var l=n[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.m=t,e=[],o.O=function(t,n,r,l){if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],r=e[u][1],l=e[u][2];for(var s=!0,i=0;i<n.length;i++)(!1&l||a>=l)&&Object.keys(o.O).every((function(e){return o.O[e](n[i])}))?n.splice(i--,1):(s=!1,l<a&&(a=l));if(s){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[n,r,l]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,l,a=n[0],s=n[1],i=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(i)var u=i(o)}for(t&&t(n);c<a.length;c++)l=a[c],o.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return o.O(u)},n=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var r=o.O(void 0,[46],(function(){return o(784)}));r=o.O(r)}();
|
plugin-fw/includes/builders/gutenberg/class-yith-gutenberg.php
CHANGED
@@ -83,7 +83,10 @@ if ( ! class_exists( 'YITH_Gutenberg' ) ) {
|
|
83 |
*/
|
84 |
public function enqueue_block_editor_assets() {
|
85 |
$ajax_url = function_exists( 'WC' ) ? add_query_arg( 'wc-ajax', 'yith_plugin_fw_gutenberg_do_shortcode', trailingslashit( site_url() ) ) : admin_url( 'admin-ajax.php' );
|
86 |
-
$gutenberg = array(
|
|
|
|
|
|
|
87 |
$asset_file = include YIT_CORE_PLUGIN_PATH . '/dist/gutenberg/index.asset.php';
|
88 |
|
89 |
$gutenberg_assets_url = YIT_CORE_PLUGIN_URL . '/dist/gutenberg';
|
@@ -309,29 +312,36 @@ if ( ! class_exists( 'YITH_Gutenberg' ) ) {
|
|
309 |
* Get a do_shortcode in ajax call to show block preview
|
310 |
**/
|
311 |
public function do_shortcode() {
|
312 |
-
|
313 |
-
$current_action = current_action();
|
314 |
-
$shortcode = ! empty( $_REQUEST['shortcode'] ) ? wp_unslash( $_REQUEST['shortcode'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
315 |
|
316 |
-
|
317 |
-
|
318 |
-
|
|
|
319 |
|
320 |
-
|
|
|
|
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
|
326 |
-
|
327 |
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
|
334 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
}
|
336 |
}
|
337 |
}
|
83 |
*/
|
84 |
public function enqueue_block_editor_assets() {
|
85 |
$ajax_url = function_exists( 'WC' ) ? add_query_arg( 'wc-ajax', 'yith_plugin_fw_gutenberg_do_shortcode', trailingslashit( site_url() ) ) : admin_url( 'admin-ajax.php' );
|
86 |
+
$gutenberg = array(
|
87 |
+
'ajaxurl' => $ajax_url,
|
88 |
+
'ajaxNonce' => wp_create_nonce( 'gutenberg-ajax-action' ),
|
89 |
+
);
|
90 |
$asset_file = include YIT_CORE_PLUGIN_PATH . '/dist/gutenberg/index.asset.php';
|
91 |
|
92 |
$gutenberg_assets_url = YIT_CORE_PLUGIN_URL . '/dist/gutenberg';
|
312 |
* Get a do_shortcode in ajax call to show block preview
|
313 |
**/
|
314 |
public function do_shortcode() {
|
315 |
+
check_ajax_referer( 'gutenberg-ajax-action', 'security' );
|
|
|
|
|
316 |
|
317 |
+
$post_id = absint( $_REQUEST['context']['postId'] ?? 0 );
|
318 |
+
$admin_page = sanitize_text_field( wp_unslash( $_REQUEST['context']['adminPage'] ?? '' ) );
|
319 |
+
$has_access = ( in_array( $admin_page, array( 'widgets-php', 'site-editor-php' ), true ) && current_user_can( 'edit_theme_options' ) );
|
320 |
+
$has_access = $has_access || $post_id && current_user_can( 'edit_post', $post_id );
|
321 |
|
322 |
+
if ( $has_access ) {
|
323 |
+
$current_action = current_action();
|
324 |
+
$shortcode = ! empty( $_REQUEST['shortcode'] ) ? wp_unslash( $_REQUEST['shortcode'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
325 |
|
326 |
+
if ( ! apply_filters( 'yith_plugin_fw_gutenberg_skip_shortcode_sanitize', false ) ) {
|
327 |
+
$shortcode = sanitize_text_field( stripslashes( $shortcode ) );
|
328 |
+
}
|
329 |
|
330 |
+
ob_start();
|
331 |
|
332 |
+
do_action( 'yith_plugin_fw_gutenberg_before_do_shortcode', $shortcode, $current_action );
|
333 |
+
echo do_shortcode( apply_filters( 'yith_plugin_fw_gutenberg_shortcode', $shortcode, $current_action ) );
|
334 |
+
do_action( 'yith_plugin_fw_gutenberg_after_do_shortcode', $shortcode, $current_action );
|
335 |
+
|
336 |
+
$html = ob_get_clean();
|
337 |
|
338 |
+
wp_send_json(
|
339 |
+
array(
|
340 |
+
'html' => $html,
|
341 |
+
)
|
342 |
+
);
|
343 |
+
|
344 |
+
}
|
345 |
}
|
346 |
}
|
347 |
}
|
plugin-fw/includes/class-yit-ajax.php
CHANGED
@@ -241,7 +241,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
|
|
241 |
die();
|
242 |
}
|
243 |
|
244 |
-
$terms =
|
245 |
|
246 |
if ( 'id' !== $args['term_field'] ) {
|
247 |
$temp_terms = $terms;
|
@@ -252,6 +252,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
|
|
252 |
}
|
253 |
}
|
254 |
|
|
|
255 |
wp_send_json( $terms );
|
256 |
}
|
257 |
}
|
241 |
die();
|
242 |
}
|
243 |
|
244 |
+
$terms = get_terms( $args );
|
245 |
|
246 |
if ( 'id' !== $args['term_field'] ) {
|
247 |
$temp_terms = $terms;
|
252 |
}
|
253 |
}
|
254 |
|
255 |
+
$terms = apply_filters( 'yith_plugin_fw_json_search_found_terms', $terms, $args );
|
256 |
wp_send_json( $terms );
|
257 |
}
|
258 |
}
|
plugin-fw/includes/class-yith-system-status.php
CHANGED
@@ -55,9 +55,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
55 |
/**
|
56 |
* Main plugin Instance
|
57 |
*
|
|
|
58 |
* @return YITH_System_Status
|
59 |
* @since 1.0.0
|
60 |
-
* @author Alberto Ruggiero
|
61 |
*/
|
62 |
public static function instance() {
|
63 |
if ( is_null( self::$instance ) ) {
|
@@ -70,9 +70,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
70 |
/**
|
71 |
* Constructor
|
72 |
*
|
|
|
73 |
* @return void
|
74 |
* @since 1.0.0
|
75 |
-
* @author Alberto Ruggiero
|
76 |
*/
|
77 |
public function __construct() {
|
78 |
|
@@ -100,9 +100,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
100 |
/**
|
101 |
* Set requirements labels
|
102 |
*
|
|
|
103 |
* @return void
|
104 |
* @since 1.0.0
|
105 |
-
* @author Alberto Ruggiero
|
106 |
*/
|
107 |
public function set_requirements_labels() {
|
108 |
|
@@ -127,9 +127,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
127 |
/**
|
128 |
* Add "System Information" submenu page under YITH Plugins
|
129 |
*
|
|
|
130 |
* @return void
|
131 |
* @since 1.0.0
|
132 |
-
* @author Alberto Ruggiero
|
133 |
*/
|
134 |
public function add_submenu_page() {
|
135 |
|
@@ -156,9 +156,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
156 |
/**
|
157 |
* Add "System Information" page template under YITH Plugins
|
158 |
*
|
|
|
159 |
* @return void
|
160 |
* @since 1.0.0
|
161 |
-
* @author Alberto Ruggiero
|
162 |
*/
|
163 |
public function show_information_panel() {
|
164 |
|
@@ -171,9 +171,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
171 |
/**
|
172 |
* Perform system status check
|
173 |
*
|
|
|
174 |
* @return void
|
175 |
* @since 1.0.0
|
176 |
-
* @author Alberto Ruggiero
|
177 |
*/
|
178 |
public function check_system_status() {
|
179 |
|
@@ -272,9 +272,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
272 |
* @param string $plugin_name The name of the plugin.
|
273 |
* @param array $requirements Array of plugin requirements.
|
274 |
*
|
|
|
275 |
* @return void
|
276 |
* @since 1.0.0
|
277 |
-
* @author Alberto Ruggiero
|
278 |
*/
|
279 |
public function add_requirements( $plugin_name, $requirements ) {
|
280 |
|
@@ -292,9 +292,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
292 |
/**
|
293 |
* Manages notice dismissing
|
294 |
*
|
|
|
295 |
* @return void
|
296 |
* @since 1.0.0
|
297 |
-
* @author Alberto Ruggiero
|
298 |
*/
|
299 |
public function enqueue_scripts() {
|
300 |
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
@@ -318,9 +318,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
318 |
/**
|
319 |
* Show system notice
|
320 |
*
|
|
|
321 |
* @return void
|
322 |
* @since 1.0.0
|
323 |
-
* @author Alberto Ruggiero
|
324 |
*/
|
325 |
public function activate_system_notice() {
|
326 |
|
@@ -337,10 +337,10 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
337 |
?>
|
338 |
<div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
|
339 |
<p>
|
340 |
-
<span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>"
|
341 |
<b>
|
342 |
<?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
|
343 |
-
</b><br
|
344 |
<?php
|
345 |
/* translators: %1$s open link tag, %2$s open link tag*/
|
346 |
echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
|
@@ -356,9 +356,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
356 |
/**
|
357 |
* Get system information
|
358 |
*
|
|
|
359 |
* @return array
|
360 |
* @since 1.0.0
|
361 |
-
* @author Alberto Ruggiero
|
362 |
*/
|
363 |
public function get_system_info() {
|
364 |
$tls = $this->get_tls_version();
|
@@ -403,11 +403,16 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
403 |
/**
|
404 |
* Get log file
|
405 |
*
|
|
|
406 |
* @return void
|
407 |
* @since 1.0.0
|
408 |
-
* @author Alberto Ruggiero
|
409 |
*/
|
410 |
public function create_log_file() {
|
|
|
|
|
|
|
|
|
|
|
411 |
try {
|
412 |
|
413 |
global $wp_filesystem;
|
@@ -419,7 +424,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
419 |
|
420 |
$download_file = false;
|
421 |
$file_content = '';
|
422 |
-
$requested_file = $_POST['file'];
|
423 |
|
424 |
switch ( $requested_file ) {
|
425 |
case 'error_log':
|
@@ -431,9 +436,12 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
431 |
}
|
432 |
|
433 |
if ( '' !== $file_content ) {
|
434 |
-
$
|
435 |
-
$
|
436 |
-
$
|
|
|
|
|
|
|
437 |
}
|
438 |
|
439 |
wp_send_json( array( 'file' => $download_file ) );
|
@@ -447,9 +455,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
447 |
*
|
448 |
* @param string $memory_size Memory size to convert.
|
449 |
*
|
|
|
450 |
* @return integer
|
451 |
* @since 1.0.0
|
452 |
-
* @author Alberto Ruggiero
|
453 |
*/
|
454 |
public function memory_size_to_num( $memory_size ) {
|
455 |
$unit = strtoupper( substr( $memory_size, - 1 ) );
|
@@ -478,9 +486,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
478 |
* @param string $key Requirement Key.
|
479 |
* @param mixed $value Requirement value.
|
480 |
*
|
|
|
481 |
* @return void
|
482 |
* @since 1.0.0
|
483 |
-
* @author Alberto Ruggiero
|
484 |
*/
|
485 |
public function format_requirement_value( $key, $value ) {
|
486 |
|
@@ -505,9 +513,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
505 |
* @param array $item Requirement item.
|
506 |
* @param string $label Requirement label.
|
507 |
*
|
|
|
508 |
* @return void
|
509 |
* @since 1.0.0
|
510 |
-
* @author Alberto Ruggiero
|
511 |
*/
|
512 |
public function print_error_messages( $key, $item, $label ) {
|
513 |
?>
|
@@ -539,9 +547,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
539 |
* @param array $item Requirement item.
|
540 |
* @param string $label Requirement label.
|
541 |
*
|
|
|
542 |
* @return void
|
543 |
* @since 1.0.0
|
544 |
-
* @author Alberto Ruggiero
|
545 |
*/
|
546 |
public function print_solution_suggestion( $key, $item, $label ) {
|
547 |
switch ( $key ) {
|
@@ -586,9 +594,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
|
|
586 |
*
|
587 |
* @param string $key Requirement Key.
|
588 |
*
|
|
|
589 |
* @return void
|
590 |
* @since 1.0.0
|
591 |
-
* @author Alberto Ruggiero
|
592 |
*/
|
593 |
public function print_warning_messages( $key ) {
|
594 |
switch ( $key ) {
|
@@ -801,9 +809,9 @@ if ( ! function_exists( 'YITH_System_Status' ) ) {
|
|
801 |
/**
|
802 |
* Single instance of YITH_System_Status
|
803 |
*
|
|
|
804 |
* @return YITH_System_Status
|
805 |
* @since 1.0
|
806 |
-
* @author Alberto Ruggiero
|
807 |
*/
|
808 |
function YITH_System_Status() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
809 |
return YITH_System_Status::instance();
|
55 |
/**
|
56 |
* Main plugin Instance
|
57 |
*
|
58 |
+
* @author Alberto Ruggiero
|
59 |
* @return YITH_System_Status
|
60 |
* @since 1.0.0
|
|
|
61 |
*/
|
62 |
public static function instance() {
|
63 |
if ( is_null( self::$instance ) ) {
|
70 |
/**
|
71 |
* Constructor
|
72 |
*
|
73 |
+
* @author Alberto Ruggiero
|
74 |
* @return void
|
75 |
* @since 1.0.0
|
|
|
76 |
*/
|
77 |
public function __construct() {
|
78 |
|
100 |
/**
|
101 |
* Set requirements labels
|
102 |
*
|
103 |
+
* @author Alberto Ruggiero
|
104 |
* @return void
|
105 |
* @since 1.0.0
|
|
|
106 |
*/
|
107 |
public function set_requirements_labels() {
|
108 |
|
127 |
/**
|
128 |
* Add "System Information" submenu page under YITH Plugins
|
129 |
*
|
130 |
+
* @author Alberto Ruggiero
|
131 |
* @return void
|
132 |
* @since 1.0.0
|
|
|
133 |
*/
|
134 |
public function add_submenu_page() {
|
135 |
|
156 |
/**
|
157 |
* Add "System Information" page template under YITH Plugins
|
158 |
*
|
159 |
+
* @author Alberto Ruggiero
|
160 |
* @return void
|
161 |
* @since 1.0.0
|
|
|
162 |
*/
|
163 |
public function show_information_panel() {
|
164 |
|
171 |
/**
|
172 |
* Perform system status check
|
173 |
*
|
174 |
+
* @author Alberto Ruggiero
|
175 |
* @return void
|
176 |
* @since 1.0.0
|
|
|
177 |
*/
|
178 |
public function check_system_status() {
|
179 |
|
272 |
* @param string $plugin_name The name of the plugin.
|
273 |
* @param array $requirements Array of plugin requirements.
|
274 |
*
|
275 |
+
* @author Alberto Ruggiero
|
276 |
* @return void
|
277 |
* @since 1.0.0
|
|
|
278 |
*/
|
279 |
public function add_requirements( $plugin_name, $requirements ) {
|
280 |
|
292 |
/**
|
293 |
* Manages notice dismissing
|
294 |
*
|
295 |
+
* @author Alberto Ruggiero
|
296 |
* @return void
|
297 |
* @since 1.0.0
|
|
|
298 |
*/
|
299 |
public function enqueue_scripts() {
|
300 |
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
318 |
/**
|
319 |
* Show system notice
|
320 |
*
|
321 |
+
* @author Alberto Ruggiero
|
322 |
* @return void
|
323 |
* @since 1.0.0
|
|
|
324 |
*/
|
325 |
public function activate_system_notice() {
|
326 |
|
337 |
?>
|
338 |
<div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
|
339 |
<p>
|
340 |
+
<span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>"/></span>
|
341 |
<b>
|
342 |
<?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
|
343 |
+
</b><br/>
|
344 |
<?php
|
345 |
/* translators: %1$s open link tag, %2$s open link tag*/
|
346 |
echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
|
356 |
/**
|
357 |
* Get system information
|
358 |
*
|
359 |
+
* @author Alberto Ruggiero
|
360 |
* @return array
|
361 |
* @since 1.0.0
|
|
|
362 |
*/
|
363 |
public function get_system_info() {
|
364 |
$tls = $this->get_tls_version();
|
403 |
/**
|
404 |
* Get log file
|
405 |
*
|
406 |
+
* @author Alberto Ruggiero
|
407 |
* @return void
|
408 |
* @since 1.0.0
|
|
|
409 |
*/
|
410 |
public function create_log_file() {
|
411 |
+
if ( ! current_user_can( 'manage_options' ) || ! isset( $_POST['nonce'], $_POST['file'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), 'yith-export-log' ) ) {
|
412 |
+
wp_send_json( array( 'file' => false ) );
|
413 |
+
exit;
|
414 |
+
}
|
415 |
+
|
416 |
try {
|
417 |
|
418 |
global $wp_filesystem;
|
424 |
|
425 |
$download_file = false;
|
426 |
$file_content = '';
|
427 |
+
$requested_file = sanitize_text_field( wp_unslash( $_POST['file'] ) );
|
428 |
|
429 |
switch ( $requested_file ) {
|
430 |
case 'error_log':
|
436 |
}
|
437 |
|
438 |
if ( '' !== $file_content ) {
|
439 |
+
$domain = str_replace( array( 'http://', 'https://' ), '', network_site_url() );
|
440 |
+
$hash = substr( wp_hash( $domain ), 0, 16 );
|
441 |
+
$file = wp_upload_dir()['basedir'] . '/log-' . $hash . '.txt';
|
442 |
+
$download_file = wp_upload_dir()['baseurl'] . '/log-' . $hash . '.txt';
|
443 |
+
|
444 |
+
$r = $wp_filesystem->put_contents( $file, $file_content );
|
445 |
}
|
446 |
|
447 |
wp_send_json( array( 'file' => $download_file ) );
|
455 |
*
|
456 |
* @param string $memory_size Memory size to convert.
|
457 |
*
|
458 |
+
* @author Alberto Ruggiero
|
459 |
* @return integer
|
460 |
* @since 1.0.0
|
|
|
461 |
*/
|
462 |
public function memory_size_to_num( $memory_size ) {
|
463 |
$unit = strtoupper( substr( $memory_size, - 1 ) );
|
486 |
* @param string $key Requirement Key.
|
487 |
* @param mixed $value Requirement value.
|
488 |
*
|
489 |
+
* @author Alberto Ruggiero
|
490 |
* @return void
|
491 |
* @since 1.0.0
|
|
|
492 |
*/
|
493 |
public function format_requirement_value( $key, $value ) {
|
494 |
|
513 |
* @param array $item Requirement item.
|
514 |
* @param string $label Requirement label.
|
515 |
*
|
516 |
+
* @author Alberto Ruggiero
|
517 |
* @return void
|
518 |
* @since 1.0.0
|
|
|
519 |
*/
|
520 |
public function print_error_messages( $key, $item, $label ) {
|
521 |
?>
|
547 |
* @param array $item Requirement item.
|
548 |
* @param string $label Requirement label.
|
549 |
*
|
550 |
+
* @author Alberto Ruggiero
|
551 |
* @return void
|
552 |
* @since 1.0.0
|
|
|
553 |
*/
|
554 |
public function print_solution_suggestion( $key, $item, $label ) {
|
555 |
switch ( $key ) {
|
594 |
*
|
595 |
* @param string $key Requirement Key.
|
596 |
*
|
597 |
+
* @author Alberto Ruggiero
|
598 |
* @return void
|
599 |
* @since 1.0.0
|
|
|
600 |
*/
|
601 |
public function print_warning_messages( $key ) {
|
602 |
switch ( $key ) {
|
809 |
/**
|
810 |
* Single instance of YITH_System_Status
|
811 |
*
|
812 |
+
* @author Alberto Ruggiero
|
813 |
* @return YITH_System_Status
|
814 |
* @since 1.0
|
|
|
815 |
*/
|
816 |
function YITH_System_Status() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
817 |
return YITH_System_Status::instance();
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.9.
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
-
* @version 3.9.
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.9.17
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
+
* @version 3.9.17
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
plugin-fw/languages/yith-plugin-fw-el.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -329,34 +329,34 @@ msgstr ""
|
|
329 |
"Ο έλεγχος συστήματος έχει εντοπίσει κάποια προβλήματα συμβατότητας στην "
|
330 |
"εγκατάστασή σας.%1$sΚάντε κλικ εδώ%2$s για να μάθετε περισσότερα"
|
331 |
|
332 |
-
#: includes/class-yith-system-status.php:
|
333 |
msgid "Enabled"
|
334 |
msgstr "Ενεργοποιημένο"
|
335 |
|
336 |
-
#: includes/class-yith-system-status.php:
|
337 |
msgid "Disabled"
|
338 |
msgstr "Απενεργοποιημένο"
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "N/A"
|
342 |
msgstr "N/A"
|
343 |
|
344 |
#. translators: %1$s plugin name, %2$s requirement name
|
345 |
-
#: includes/class-yith-system-status.php:
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr "%1$s χρειάζεται %2$s ενεργοποιημένο"
|
348 |
|
349 |
#. translators: %1$s plugin name, %2$s required memory amount
|
350 |
-
#: includes/class-yith-system-status.php:
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s διαθέσιμης μνήμης"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s version number
|
355 |
-
#: includes/class-yith-system-status.php:
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s έκδοση"
|
358 |
|
359 |
-
#: includes/class-yith-system-status.php:
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
@@ -364,27 +364,27 @@ msgstr ""
|
|
364 |
"Κάντε αναβάθμιση της τελευταίας έκδοσης για να επωφεληθείτε από τα νέα "
|
365 |
"χαρακτηριστικά και τις αναβαθμίσεις προστασίας."
|
366 |
|
367 |
-
#: includes/class-yith-system-status.php:
|
368 |
-
#: includes/class-yith-system-status.php:
|
369 |
msgid "Contact your hosting company in order to update it."
|
370 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να αναβαθμίσετε."
|
371 |
|
372 |
-
#: includes/class-yith-system-status.php:
|
373 |
msgid "Contact your hosting company in order to install it."
|
374 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να το ενεργοποιήσετε."
|
375 |
|
376 |
#. translators: %1$s code, %2$s file name
|
377 |
-
#: includes/class-yith-system-status.php:
|
378 |
msgid "Remove %1$s from %2$s file"
|
379 |
msgstr "Αφαίρεση %1$s από αρχείο %2$s"
|
380 |
|
381 |
-
#: includes/class-yith-system-status.php:
|
382 |
msgid "Contact your hosting company in order to enable it."
|
383 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να ενεργοποιήσετε."
|
384 |
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
-
#: includes/class-yith-system-status.php:
|
387 |
-
#: includes/class-yith-system-status.php:
|
388 |
msgid ""
|
389 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
390 |
"it."
|
@@ -393,7 +393,7 @@ msgstr ""
|
|
393 |
"για να το βελτιώσετε."
|
394 |
|
395 |
#. translators: %s recommended memory amount
|
396 |
-
#: includes/class-yith-system-status.php:
|
397 |
msgid ""
|
398 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
399 |
"available memory"
|
@@ -402,7 +402,7 @@ msgstr ""
|
|
402 |
"τουλάχιστον %s διαθέσιμης μνήμης"
|
403 |
|
404 |
#. translators: %1$s TLS label, %2$s cURL label
|
405 |
-
#: includes/class-yith-system-status.php:
|
406 |
msgid ""
|
407 |
"The system check cannot determine which %1$s version is installed because "
|
408 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -412,7 +412,7 @@ msgstr ""
|
|
412 |
"να το ενεργοποιήσει."
|
413 |
|
414 |
#. translators: %1$s TLS label
|
415 |
-
#: includes/class-yith-system-status.php:
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed due to a "
|
418 |
"connection issue between your site and our server."
|
@@ -618,13 +618,13 @@ msgstr "Αρχείο PHP error_log"
|
|
618 |
msgid "Download"
|
619 |
msgstr "Κατέβασμα"
|
620 |
|
621 |
-
#: templates/sysinfo/tabs/error-log.php:
|
622 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
623 |
msgstr ""
|
624 |
"Το μέγεθος αρχείου υπερβαίνει τα 8 megabytes οπότε θα πρέπει να το κατεβάσετε"
|
625 |
|
626 |
#. translators: %s file name.
|
627 |
-
#: templates/sysinfo/tabs/error-log.php:
|
628 |
msgid ""
|
629 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
630 |
"file of your installation"
|
@@ -632,11 +632,11 @@ msgstr ""
|
|
632 |
"Δεν υπάρχει διαθέσιμο αρχείο Καταγραφής. Ενεργοποιήστε την αποσφαλμάτωση "
|
633 |
"WordPress προσθέτοντάς το στο αρχείο %s της εγκατάστασής σας"
|
634 |
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid "Copied!"
|
637 |
msgstr "Έγινε αντιγραφή!"
|
638 |
|
639 |
-
#: templates/sysinfo/tabs/error-log.php:
|
640 |
msgid "Copy Code"
|
641 |
msgstr "Αντιγραφή Κώδικα"
|
642 |
|
@@ -755,7 +755,7 @@ msgctxt "Elementor Widget - section title"
|
|
755 |
msgid "%s - Options"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
759 |
msgctxt "[gutenberg]: Category Name"
|
760 |
msgid "YITH"
|
761 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
329 |
"Ο έλεγχος συστήματος έχει εντοπίσει κάποια προβλήματα συμβατότητας στην "
|
330 |
"εγκατάστασή σας.%1$sΚάντε κλικ εδώ%2$s για να μάθετε περισσότερα"
|
331 |
|
332 |
+
#: includes/class-yith-system-status.php:496
|
333 |
msgid "Enabled"
|
334 |
msgstr "Ενεργοποιημένο"
|
335 |
|
336 |
+
#: includes/class-yith-system-status.php:496
|
337 |
msgid "Disabled"
|
338 |
msgstr "Απενεργοποιημένο"
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:501
|
341 |
msgid "N/A"
|
342 |
msgstr "N/A"
|
343 |
|
344 |
#. translators: %1$s plugin name, %2$s requirement name
|
345 |
+
#: includes/class-yith-system-status.php:528
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr "%1$s χρειάζεται %2$s ενεργοποιημένο"
|
348 |
|
349 |
#. translators: %1$s plugin name, %2$s required memory amount
|
350 |
+
#: includes/class-yith-system-status.php:531
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s διαθέσιμης μνήμης"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s version number
|
355 |
+
#: includes/class-yith-system-status.php:534
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr "%1$s χρειάζεται τουλάχιστον %2$s έκδοση"
|
358 |
|
359 |
+
#: includes/class-yith-system-status.php:558
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
364 |
"Κάντε αναβάθμιση της τελευταίας έκδοσης για να επωφεληθείτε από τα νέα "
|
365 |
"χαρακτηριστικά και τις αναβαθμίσεις προστασίας."
|
366 |
|
367 |
+
#: includes/class-yith-system-status.php:562
|
368 |
+
#: includes/class-yith-system-status.php:568
|
369 |
msgid "Contact your hosting company in order to update it."
|
370 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να αναβαθμίσετε."
|
371 |
|
372 |
+
#: includes/class-yith-system-status.php:566
|
373 |
msgid "Contact your hosting company in order to install it."
|
374 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να το ενεργοποιήσετε."
|
375 |
|
376 |
#. translators: %1$s code, %2$s file name
|
377 |
+
#: includes/class-yith-system-status.php:573
|
378 |
msgid "Remove %1$s from %2$s file"
|
379 |
msgstr "Αφαίρεση %1$s από αρχείο %2$s"
|
380 |
|
381 |
+
#: includes/class-yith-system-status.php:581
|
382 |
msgid "Contact your hosting company in order to enable it."
|
383 |
msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να ενεργοποιήσετε."
|
384 |
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
+
#: includes/class-yith-system-status.php:585
|
387 |
+
#: includes/class-yith-system-status.php:608
|
388 |
msgid ""
|
389 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
390 |
"it."
|
393 |
"για να το βελτιώσετε."
|
394 |
|
395 |
#. translators: %s recommended memory amount
|
396 |
+
#: includes/class-yith-system-status.php:605
|
397 |
msgid ""
|
398 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
399 |
"available memory"
|
402 |
"τουλάχιστον %s διαθέσιμης μνήμης"
|
403 |
|
404 |
#. translators: %1$s TLS label, %2$s cURL label
|
405 |
+
#: includes/class-yith-system-status.php:613
|
406 |
msgid ""
|
407 |
"The system check cannot determine which %1$s version is installed because "
|
408 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
412 |
"να το ενεργοποιήσει."
|
413 |
|
414 |
#. translators: %1$s TLS label
|
415 |
+
#: includes/class-yith-system-status.php:616
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed due to a "
|
418 |
"connection issue between your site and our server."
|
618 |
msgid "Download"
|
619 |
msgstr "Κατέβασμα"
|
620 |
|
621 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
622 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
623 |
msgstr ""
|
624 |
"Το μέγεθος αρχείου υπερβαίνει τα 8 megabytes οπότε θα πρέπει να το κατεβάσετε"
|
625 |
|
626 |
#. translators: %s file name.
|
627 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
628 |
msgid ""
|
629 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
630 |
"file of your installation"
|
632 |
"Δεν υπάρχει διαθέσιμο αρχείο Καταγραφής. Ενεργοποιήστε την αποσφαλμάτωση "
|
633 |
"WordPress προσθέτοντάς το στο αρχείο %s της εγκατάστασής σας"
|
634 |
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
636 |
msgid "Copied!"
|
637 |
msgstr "Έγινε αντιγραφή!"
|
638 |
|
639 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
640 |
msgid "Copy Code"
|
641 |
msgstr "Αντιγραφή Κώδικα"
|
642 |
|
755 |
msgid "%s - Options"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
759 |
msgctxt "[gutenberg]: Category Name"
|
760 |
msgid "YITH"
|
761 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-09-22 14:14:01+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -340,34 +340,34 @@ msgstr ""
|
|
340 |
"La comprobación del sistema ha detectado algunos problemas de compatibilidad "
|
341 |
"en tu instalación.%1$sHaz clic quí%2$s para saber más"
|
342 |
|
343 |
-
#: includes/class-yith-system-status.php:
|
344 |
msgid "Enabled"
|
345 |
msgstr "Activado"
|
346 |
|
347 |
-
#: includes/class-yith-system-status.php:
|
348 |
msgid "Disabled"
|
349 |
msgstr "Desactivado"
|
350 |
|
351 |
-
#: includes/class-yith-system-status.php:
|
352 |
msgid "N/A"
|
353 |
msgstr "N/D"
|
354 |
|
355 |
#. translators: %1$s plugin name, %2$s requirement name
|
356 |
-
#: includes/class-yith-system-status.php:
|
357 |
msgid "%1$s needs %2$s enabled"
|
358 |
msgstr "%1$s necesita %2$s activado"
|
359 |
|
360 |
#. translators: %1$s plugin name, %2$s required memory amount
|
361 |
-
#: includes/class-yith-system-status.php:
|
362 |
msgid "%1$s needs at least %2$s of available memory"
|
363 |
msgstr "%1$s necesita al menos %2$s de memoria disponible"
|
364 |
|
365 |
#. translators: %1$s plugin name, %2$s version number
|
366 |
-
#: includes/class-yith-system-status.php:
|
367 |
msgid "%1$s needs at least %2$s version"
|
368 |
msgstr "%1$s necesita al menos la versión %2$s"
|
369 |
|
370 |
-
#: includes/class-yith-system-status.php:
|
371 |
msgid ""
|
372 |
"Update it to the latest version in order to benefit of all new features and "
|
373 |
"security updates."
|
@@ -375,27 +375,27 @@ msgstr ""
|
|
375 |
"Actualízalo a la última versión para beneficiarte de todas las "
|
376 |
"características y actualizaciones de seguridad."
|
377 |
|
378 |
-
#: includes/class-yith-system-status.php:
|
379 |
-
#: includes/class-yith-system-status.php:
|
380 |
msgid "Contact your hosting company in order to update it."
|
381 |
msgstr "Ponte en contacto con tu empresa de hosting para actualizarlo."
|
382 |
|
383 |
-
#: includes/class-yith-system-status.php:
|
384 |
msgid "Contact your hosting company in order to install it."
|
385 |
msgstr "Ponte en contacto con tu empresa de hosting para instalarlo."
|
386 |
|
387 |
#. translators: %1$s code, %2$s file name
|
388 |
-
#: includes/class-yith-system-status.php:
|
389 |
msgid "Remove %1$s from %2$s file"
|
390 |
msgstr "Eliminar %1$s desde el archivo %2$s "
|
391 |
|
392 |
-
#: includes/class-yith-system-status.php:
|
393 |
msgid "Contact your hosting company in order to enable it."
|
394 |
msgstr "Contacta con tu empresa de hosting para activarlo."
|
395 |
|
396 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
397 |
-
#: includes/class-yith-system-status.php:
|
398 |
-
#: includes/class-yith-system-status.php:
|
399 |
msgid ""
|
400 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
401 |
"it."
|
@@ -403,7 +403,7 @@ msgstr ""
|
|
403 |
"Lee más %1$saquí%2$s o contacta a tu empresa de hosting para incrementarlo."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
-
#: includes/class-yith-system-status.php:
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
@@ -412,7 +412,7 @@ msgstr ""
|
|
412 |
"memoria disponible"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
-
#: includes/class-yith-system-status.php:
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -422,7 +422,7 @@ msgstr ""
|
|
422 |
"hosting que lo active."
|
423 |
|
424 |
#. translators: %1$s TLS label
|
425 |
-
#: includes/class-yith-system-status.php:
|
426 |
msgid ""
|
427 |
"The system check cannot determine which %1$s version is installed due to a "
|
428 |
"connection issue between your site and our server."
|
@@ -627,12 +627,12 @@ msgstr "Archivo PHP error_log"
|
|
627 |
msgid "Download"
|
628 |
msgstr "Descargar"
|
629 |
|
630 |
-
#: templates/sysinfo/tabs/error-log.php:
|
631 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
632 |
msgstr "El archivo excede los 8 megabytes por lo que debe ser descargado"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
@@ -640,11 +640,11 @@ msgstr ""
|
|
640 |
"No hay archivo de registro disponible. Activa la depuración de WordPress "
|
641 |
"añadiendo este código en el archivo %s de tu instalación"
|
642 |
|
643 |
-
#: templates/sysinfo/tabs/error-log.php:
|
644 |
msgid "Copied!"
|
645 |
msgstr "¡Copiado!"
|
646 |
|
647 |
-
#: templates/sysinfo/tabs/error-log.php:
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copiar código"
|
650 |
|
@@ -767,7 +767,7 @@ msgctxt "Elementor Widget - section title"
|
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opciones"
|
769 |
|
770 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-09-22 14:14:01+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
340 |
"La comprobación del sistema ha detectado algunos problemas de compatibilidad "
|
341 |
"en tu instalación.%1$sHaz clic quí%2$s para saber más"
|
342 |
|
343 |
+
#: includes/class-yith-system-status.php:496
|
344 |
msgid "Enabled"
|
345 |
msgstr "Activado"
|
346 |
|
347 |
+
#: includes/class-yith-system-status.php:496
|
348 |
msgid "Disabled"
|
349 |
msgstr "Desactivado"
|
350 |
|
351 |
+
#: includes/class-yith-system-status.php:501
|
352 |
msgid "N/A"
|
353 |
msgstr "N/D"
|
354 |
|
355 |
#. translators: %1$s plugin name, %2$s requirement name
|
356 |
+
#: includes/class-yith-system-status.php:528
|
357 |
msgid "%1$s needs %2$s enabled"
|
358 |
msgstr "%1$s necesita %2$s activado"
|
359 |
|
360 |
#. translators: %1$s plugin name, %2$s required memory amount
|
361 |
+
#: includes/class-yith-system-status.php:531
|
362 |
msgid "%1$s needs at least %2$s of available memory"
|
363 |
msgstr "%1$s necesita al menos %2$s de memoria disponible"
|
364 |
|
365 |
#. translators: %1$s plugin name, %2$s version number
|
366 |
+
#: includes/class-yith-system-status.php:534
|
367 |
msgid "%1$s needs at least %2$s version"
|
368 |
msgstr "%1$s necesita al menos la versión %2$s"
|
369 |
|
370 |
+
#: includes/class-yith-system-status.php:558
|
371 |
msgid ""
|
372 |
"Update it to the latest version in order to benefit of all new features and "
|
373 |
"security updates."
|
375 |
"Actualízalo a la última versión para beneficiarte de todas las "
|
376 |
"características y actualizaciones de seguridad."
|
377 |
|
378 |
+
#: includes/class-yith-system-status.php:562
|
379 |
+
#: includes/class-yith-system-status.php:568
|
380 |
msgid "Contact your hosting company in order to update it."
|
381 |
msgstr "Ponte en contacto con tu empresa de hosting para actualizarlo."
|
382 |
|
383 |
+
#: includes/class-yith-system-status.php:566
|
384 |
msgid "Contact your hosting company in order to install it."
|
385 |
msgstr "Ponte en contacto con tu empresa de hosting para instalarlo."
|
386 |
|
387 |
#. translators: %1$s code, %2$s file name
|
388 |
+
#: includes/class-yith-system-status.php:573
|
389 |
msgid "Remove %1$s from %2$s file"
|
390 |
msgstr "Eliminar %1$s desde el archivo %2$s "
|
391 |
|
392 |
+
#: includes/class-yith-system-status.php:581
|
393 |
msgid "Contact your hosting company in order to enable it."
|
394 |
msgstr "Contacta con tu empresa de hosting para activarlo."
|
395 |
|
396 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
397 |
+
#: includes/class-yith-system-status.php:585
|
398 |
+
#: includes/class-yith-system-status.php:608
|
399 |
msgid ""
|
400 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
401 |
"it."
|
403 |
"Lee más %1$saquí%2$s o contacta a tu empresa de hosting para incrementarlo."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
+
#: includes/class-yith-system-status.php:605
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
412 |
"memoria disponible"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
+
#: includes/class-yith-system-status.php:613
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
422 |
"hosting que lo active."
|
423 |
|
424 |
#. translators: %1$s TLS label
|
425 |
+
#: includes/class-yith-system-status.php:616
|
426 |
msgid ""
|
427 |
"The system check cannot determine which %1$s version is installed due to a "
|
428 |
"connection issue between your site and our server."
|
627 |
msgid "Download"
|
628 |
msgstr "Descargar"
|
629 |
|
630 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
631 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
632 |
msgstr "El archivo excede los 8 megabytes por lo que debe ser descargado"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
640 |
"No hay archivo de registro disponible. Activa la depuración de WordPress "
|
641 |
"añadiendo este código en el archivo %s de tu instalación"
|
642 |
|
643 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
644 |
msgid "Copied!"
|
645 |
msgstr "¡Copiado!"
|
646 |
|
647 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copiar código"
|
650 |
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opciones"
|
769 |
|
770 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-08-12 07:42:56+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -337,34 +337,34 @@ msgstr ""
|
|
337 |
"Il controllo di sistema ha individuato delle incompatibilità con la tua "
|
338 |
"installazione. %1$sVedi qui%2$s per maggiori dettagli"
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "Enabled"
|
342 |
msgstr "Abilitato"
|
343 |
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
msgid "Disabled"
|
346 |
msgstr "Disabilitato"
|
347 |
|
348 |
-
#: includes/class-yith-system-status.php:
|
349 |
msgid "N/A"
|
350 |
msgstr "N.D."
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
-
#: includes/class-yith-system-status.php:
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s necessita dell'attivazione di %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
-
#: includes/class-yith-system-status.php:
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s necessita di almeno %2$s di memoria disponibile"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
-
#: includes/class-yith-system-status.php:
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s necessita almeno della versione %2$s"
|
366 |
|
367 |
-
#: includes/class-yith-system-status.php:
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
@@ -372,27 +372,27 @@ msgstr ""
|
|
372 |
"Aggiorna all'ultima versione per beneficiare di tutte le nuove funzionalità "
|
373 |
"e degli aggiornamenti di sicurezza."
|
374 |
|
375 |
-
#: includes/class-yith-system-status.php:
|
376 |
-
#: includes/class-yith-system-status.php:
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Contatta il tuo servizio hosting per aggiornarlo."
|
379 |
|
380 |
-
#: includes/class-yith-system-status.php:
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Per installarlo contatta il tuo servizio di hosting."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
-
#: includes/class-yith-system-status.php:
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Rimuovi %1$s dal file %2$s"
|
388 |
|
389 |
-
#: includes/class-yith-system-status.php:
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Per attivarlo contatta il tuo servizio di hosting."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
-
#: includes/class-yith-system-status.php:
|
395 |
-
#: includes/class-yith-system-status.php:
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
@@ -401,7 +401,7 @@ msgstr ""
|
|
401 |
"per un upgrade."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
-
#: includes/class-yith-system-status.php:
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
@@ -410,7 +410,7 @@ msgstr ""
|
|
410 |
"almeno %s della memoria disponibile"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
-
#: includes/class-yith-system-status.php:
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -420,7 +420,7 @@ msgstr ""
|
|
420 |
"attivarlo."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
-
#: includes/class-yith-system-status.php:
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
@@ -625,14 +625,14 @@ msgstr "PHP error_log file"
|
|
625 |
msgid "Download"
|
626 |
msgstr "Scarica"
|
627 |
|
628 |
-
#: templates/sysinfo/tabs/error-log.php:
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr ""
|
631 |
"La dimensione del file supera gli 8 megabyte ed è quindi necessario "
|
632 |
"scaricarlo"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
@@ -640,11 +640,11 @@ msgstr ""
|
|
640 |
"Nessun file log disponibile. Abilita il debug WordPress aggiungendo questo "
|
641 |
"nel file %s della tua installazione"
|
642 |
|
643 |
-
#: templates/sysinfo/tabs/error-log.php:
|
644 |
msgid "Copied!"
|
645 |
msgstr "Copiato!"
|
646 |
|
647 |
-
#: templates/sysinfo/tabs/error-log.php:
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copia codice"
|
650 |
|
@@ -767,7 +767,7 @@ msgctxt "Elementor Widget - section title"
|
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opzioni"
|
769 |
|
770 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-08-12 07:42:56+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
337 |
"Il controllo di sistema ha individuato delle incompatibilità con la tua "
|
338 |
"installazione. %1$sVedi qui%2$s per maggiori dettagli"
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:496
|
341 |
msgid "Enabled"
|
342 |
msgstr "Abilitato"
|
343 |
|
344 |
+
#: includes/class-yith-system-status.php:496
|
345 |
msgid "Disabled"
|
346 |
msgstr "Disabilitato"
|
347 |
|
348 |
+
#: includes/class-yith-system-status.php:501
|
349 |
msgid "N/A"
|
350 |
msgstr "N.D."
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
+
#: includes/class-yith-system-status.php:528
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s necessita dell'attivazione di %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
+
#: includes/class-yith-system-status.php:531
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s necessita di almeno %2$s di memoria disponibile"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
+
#: includes/class-yith-system-status.php:534
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s necessita almeno della versione %2$s"
|
366 |
|
367 |
+
#: includes/class-yith-system-status.php:558
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
372 |
"Aggiorna all'ultima versione per beneficiare di tutte le nuove funzionalità "
|
373 |
"e degli aggiornamenti di sicurezza."
|
374 |
|
375 |
+
#: includes/class-yith-system-status.php:562
|
376 |
+
#: includes/class-yith-system-status.php:568
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Contatta il tuo servizio hosting per aggiornarlo."
|
379 |
|
380 |
+
#: includes/class-yith-system-status.php:566
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Per installarlo contatta il tuo servizio di hosting."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
+
#: includes/class-yith-system-status.php:573
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Rimuovi %1$s dal file %2$s"
|
388 |
|
389 |
+
#: includes/class-yith-system-status.php:581
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Per attivarlo contatta il tuo servizio di hosting."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
+
#: includes/class-yith-system-status.php:585
|
395 |
+
#: includes/class-yith-system-status.php:608
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
401 |
"per un upgrade."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
+
#: includes/class-yith-system-status.php:605
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
410 |
"almeno %s della memoria disponibile"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
+
#: includes/class-yith-system-status.php:613
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
420 |
"attivarlo."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
+
#: includes/class-yith-system-status.php:616
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
625 |
msgid "Download"
|
626 |
msgstr "Scarica"
|
627 |
|
628 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr ""
|
631 |
"La dimensione del file supera gli 8 megabyte ed è quindi necessario "
|
632 |
"scaricarlo"
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
640 |
"Nessun file log disponibile. Abilita il debug WordPress aggiungendo questo "
|
641 |
"nel file %s della tua installazione"
|
642 |
|
643 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
644 |
msgid "Copied!"
|
645 |
msgstr "Copiato!"
|
646 |
|
647 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Copia codice"
|
650 |
|
767 |
msgid "%s - Options"
|
768 |
msgstr "%s - Opzioni"
|
769 |
|
770 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
771 |
msgctxt "[gutenberg]: Category Name"
|
772 |
msgid "YITH"
|
773 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-nl_NL.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -339,34 +339,34 @@ msgstr ""
|
|
339 |
"Het systeem heeft enkele compatibiliteitsproblemen gevonden op uw "
|
340 |
"installatie.%1$sklik hier%2$s om meer te weten te komen"
|
341 |
|
342 |
-
#: includes/class-yith-system-status.php:
|
343 |
msgid "Enabled"
|
344 |
msgstr "Ingeschakeld"
|
345 |
|
346 |
-
#: includes/class-yith-system-status.php:
|
347 |
msgid "Disabled"
|
348 |
msgstr "Uitgeschakeld"
|
349 |
|
350 |
-
#: includes/class-yith-system-status.php:
|
351 |
msgid "N/A"
|
352 |
msgstr "N.v.t"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s requirement name
|
355 |
-
#: includes/class-yith-system-status.php:
|
356 |
msgid "%1$s needs %2$s enabled"
|
357 |
msgstr "%1$s heeft nodig %2$s ingeschakeld"
|
358 |
|
359 |
#. translators: %1$s plugin name, %2$s required memory amount
|
360 |
-
#: includes/class-yith-system-status.php:
|
361 |
msgid "%1$s needs at least %2$s of available memory"
|
362 |
msgstr "%1$ss heeft ten minste %2$s beschikbaar geheugen nodig"
|
363 |
|
364 |
#. translators: %1$s plugin name, %2$s version number
|
365 |
-
#: includes/class-yith-system-status.php:
|
366 |
msgid "%1$s needs at least %2$s version"
|
367 |
msgstr "%1$s heeft minstens %2$s versie nodig"
|
368 |
|
369 |
-
#: includes/class-yith-system-status.php:
|
370 |
msgid ""
|
371 |
"Update it to the latest version in order to benefit of all new features and "
|
372 |
"security updates."
|
@@ -374,27 +374,27 @@ msgstr ""
|
|
374 |
"Bijwerken naar de laatste versie, om te profiteren van alle nieuwe opties en "
|
375 |
"veiligheidsupdates."
|
376 |
|
377 |
-
#: includes/class-yith-system-status.php:
|
378 |
-
#: includes/class-yith-system-status.php:
|
379 |
msgid "Contact your hosting company in order to update it."
|
380 |
msgstr "Neem contact op met uw hosting provider om het bij te werken."
|
381 |
|
382 |
-
#: includes/class-yith-system-status.php:
|
383 |
msgid "Contact your hosting company in order to install it."
|
384 |
msgstr "Neem contact op met je hostingbedrijf om het te installeren."
|
385 |
|
386 |
#. translators: %1$s code, %2$s file name
|
387 |
-
#: includes/class-yith-system-status.php:
|
388 |
msgid "Remove %1$s from %2$s file"
|
389 |
msgstr "Verwijder %1$s uit %2$s bestand"
|
390 |
|
391 |
-
#: includes/class-yith-system-status.php:
|
392 |
msgid "Contact your hosting company in order to enable it."
|
393 |
msgstr "Neem contact op met uw hosting provider om het in te schakelen."
|
394 |
|
395 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
396 |
-
#: includes/class-yith-system-status.php:
|
397 |
-
#: includes/class-yith-system-status.php:
|
398 |
msgid ""
|
399 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
400 |
"it."
|
@@ -403,7 +403,7 @@ msgstr ""
|
|
403 |
"het te verhogen."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
-
#: includes/class-yith-system-status.php:
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
@@ -412,7 +412,7 @@ msgstr ""
|
|
412 |
"beschikbaar geheugen"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
-
#: includes/class-yith-system-status.php:
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -421,7 +421,7 @@ msgstr ""
|
|
421 |
"module is uitgeschakeld. Vraag je hostingmaatschappij om het in te schakelen."
|
422 |
|
423 |
#. translators: %1$s TLS label
|
424 |
-
#: includes/class-yith-system-status.php:
|
425 |
msgid ""
|
426 |
"The system check cannot determine which %1$s version is installed due to a "
|
427 |
"connection issue between your site and our server."
|
@@ -626,13 +626,13 @@ msgstr "PHP error_log bestand"
|
|
626 |
msgid "Download"
|
627 |
msgstr "Download"
|
628 |
|
629 |
-
#: templates/sysinfo/tabs/error-log.php:
|
630 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
631 |
msgstr ""
|
632 |
"De bestandsgrootte overschrijd 8 megabytes, dus het moet worden gedownload "
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
-
#: templates/sysinfo/tabs/error-log.php:
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
@@ -640,11 +640,11 @@ msgstr ""
|
|
640 |
"Geen log bestand beschikbaar. WordPress debug inschakelen door dit bestand "
|
641 |
"toe te voegen aan het %s bestand van je installatie "
|
642 |
|
643 |
-
#: templates/sysinfo/tabs/error-log.php:
|
644 |
msgid "Copied!"
|
645 |
msgstr "Gekopieerd!"
|
646 |
|
647 |
-
#: templates/sysinfo/tabs/error-log.php:
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Code kopiëren"
|
650 |
|
@@ -763,7 +763,7 @@ msgctxt "Elementor Widget - section title"
|
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Opties"
|
765 |
|
766 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
339 |
"Het systeem heeft enkele compatibiliteitsproblemen gevonden op uw "
|
340 |
"installatie.%1$sklik hier%2$s om meer te weten te komen"
|
341 |
|
342 |
+
#: includes/class-yith-system-status.php:496
|
343 |
msgid "Enabled"
|
344 |
msgstr "Ingeschakeld"
|
345 |
|
346 |
+
#: includes/class-yith-system-status.php:496
|
347 |
msgid "Disabled"
|
348 |
msgstr "Uitgeschakeld"
|
349 |
|
350 |
+
#: includes/class-yith-system-status.php:501
|
351 |
msgid "N/A"
|
352 |
msgstr "N.v.t"
|
353 |
|
354 |
#. translators: %1$s plugin name, %2$s requirement name
|
355 |
+
#: includes/class-yith-system-status.php:528
|
356 |
msgid "%1$s needs %2$s enabled"
|
357 |
msgstr "%1$s heeft nodig %2$s ingeschakeld"
|
358 |
|
359 |
#. translators: %1$s plugin name, %2$s required memory amount
|
360 |
+
#: includes/class-yith-system-status.php:531
|
361 |
msgid "%1$s needs at least %2$s of available memory"
|
362 |
msgstr "%1$ss heeft ten minste %2$s beschikbaar geheugen nodig"
|
363 |
|
364 |
#. translators: %1$s plugin name, %2$s version number
|
365 |
+
#: includes/class-yith-system-status.php:534
|
366 |
msgid "%1$s needs at least %2$s version"
|
367 |
msgstr "%1$s heeft minstens %2$s versie nodig"
|
368 |
|
369 |
+
#: includes/class-yith-system-status.php:558
|
370 |
msgid ""
|
371 |
"Update it to the latest version in order to benefit of all new features and "
|
372 |
"security updates."
|
374 |
"Bijwerken naar de laatste versie, om te profiteren van alle nieuwe opties en "
|
375 |
"veiligheidsupdates."
|
376 |
|
377 |
+
#: includes/class-yith-system-status.php:562
|
378 |
+
#: includes/class-yith-system-status.php:568
|
379 |
msgid "Contact your hosting company in order to update it."
|
380 |
msgstr "Neem contact op met uw hosting provider om het bij te werken."
|
381 |
|
382 |
+
#: includes/class-yith-system-status.php:566
|
383 |
msgid "Contact your hosting company in order to install it."
|
384 |
msgstr "Neem contact op met je hostingbedrijf om het te installeren."
|
385 |
|
386 |
#. translators: %1$s code, %2$s file name
|
387 |
+
#: includes/class-yith-system-status.php:573
|
388 |
msgid "Remove %1$s from %2$s file"
|
389 |
msgstr "Verwijder %1$s uit %2$s bestand"
|
390 |
|
391 |
+
#: includes/class-yith-system-status.php:581
|
392 |
msgid "Contact your hosting company in order to enable it."
|
393 |
msgstr "Neem contact op met uw hosting provider om het in te schakelen."
|
394 |
|
395 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
396 |
+
#: includes/class-yith-system-status.php:585
|
397 |
+
#: includes/class-yith-system-status.php:608
|
398 |
msgid ""
|
399 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
400 |
"it."
|
403 |
"het te verhogen."
|
404 |
|
405 |
#. translators: %s recommended memory amount
|
406 |
+
#: includes/class-yith-system-status.php:605
|
407 |
msgid ""
|
408 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
409 |
"available memory"
|
412 |
"beschikbaar geheugen"
|
413 |
|
414 |
#. translators: %1$s TLS label, %2$s cURL label
|
415 |
+
#: includes/class-yith-system-status.php:613
|
416 |
msgid ""
|
417 |
"The system check cannot determine which %1$s version is installed because "
|
418 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
421 |
"module is uitgeschakeld. Vraag je hostingmaatschappij om het in te schakelen."
|
422 |
|
423 |
#. translators: %1$s TLS label
|
424 |
+
#: includes/class-yith-system-status.php:616
|
425 |
msgid ""
|
426 |
"The system check cannot determine which %1$s version is installed due to a "
|
427 |
"connection issue between your site and our server."
|
626 |
msgid "Download"
|
627 |
msgstr "Download"
|
628 |
|
629 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
630 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
631 |
msgstr ""
|
632 |
"De bestandsgrootte overschrijd 8 megabytes, dus het moet worden gedownload "
|
633 |
|
634 |
#. translators: %s file name.
|
635 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
636 |
msgid ""
|
637 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
638 |
"file of your installation"
|
640 |
"Geen log bestand beschikbaar. WordPress debug inschakelen door dit bestand "
|
641 |
"toe te voegen aan het %s bestand van je installatie "
|
642 |
|
643 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
644 |
msgid "Copied!"
|
645 |
msgstr "Gekopieerd!"
|
646 |
|
647 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
648 |
msgid "Copy Code"
|
649 |
msgstr "Code kopiëren"
|
650 |
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Opties"
|
765 |
|
766 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-ru_RU.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-04-05 17:22:32+0000\n"
|
9 |
"Language: ru\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -337,34 +337,34 @@ msgstr ""
|
|
337 |
"Проверка системы обнаружила некоторые проблемы совместимости в вашей "
|
338 |
"установке.%1$sНажмите сюда%2$s чтобы узнать больше"
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "Enabled"
|
342 |
msgstr "Включено"
|
343 |
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
msgid "Disabled"
|
346 |
msgstr "Отключено"
|
347 |
|
348 |
-
#: includes/class-yith-system-status.php:
|
349 |
msgid "N/A"
|
350 |
msgstr "Б/н"
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
-
#: includes/class-yith-system-status.php:
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s требует включения %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
-
#: includes/class-yith-system-status.php:
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s требуется не менее %2$s доступной памяти"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
-
#: includes/class-yith-system-status.php:
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s требует как минимум %2$s версии"
|
366 |
|
367 |
-
#: includes/class-yith-system-status.php:
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
@@ -372,27 +372,27 @@ msgstr ""
|
|
372 |
"Обновите его до последней версии, чтобы воспользоваться всеми новыми "
|
373 |
"функциями и обновлениями безопасности."
|
374 |
|
375 |
-
#: includes/class-yith-system-status.php:
|
376 |
-
#: includes/class-yith-system-status.php:
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы обновить его."
|
379 |
|
380 |
-
#: includes/class-yith-system-status.php:
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Для его установки обратитесь в свою хостинговую компанию."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
-
#: includes/class-yith-system-status.php:
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Удалить %1$s из файла %2$s"
|
388 |
|
389 |
-
#: includes/class-yith-system-status.php:
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы включить его."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
-
#: includes/class-yith-system-status.php:
|
395 |
-
#: includes/class-yith-system-status.php:
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
@@ -401,7 +401,7 @@ msgstr ""
|
|
401 |
"чтобы увеличить его."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
-
#: includes/class-yith-system-status.php:
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
@@ -410,7 +410,7 @@ msgstr ""
|
|
410 |
"не менее %s доступной памяти"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
-
#: includes/class-yith-system-status.php:
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -420,7 +420,7 @@ msgstr ""
|
|
420 |
"его."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
-
#: includes/class-yith-system-status.php:
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
@@ -625,12 +625,12 @@ msgstr "PHP error_log file"
|
|
625 |
msgid "Download"
|
626 |
msgstr "Загрузка"
|
627 |
|
628 |
-
#: templates/sysinfo/tabs/error-log.php:
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr "Размер файла превышает 8 мегабайт, поэтому его необходимо загрузить"
|
631 |
|
632 |
#. translators: %s file name.
|
633 |
-
#: templates/sysinfo/tabs/error-log.php:
|
634 |
msgid ""
|
635 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
636 |
"file of your installation"
|
@@ -638,11 +638,11 @@ msgstr ""
|
|
638 |
"Файл журнала недоступен. Включите отладку WordPress, добавив следующее в "
|
639 |
"файл %s вашей установки"
|
640 |
|
641 |
-
#: templates/sysinfo/tabs/error-log.php:
|
642 |
msgid "Copied!"
|
643 |
msgstr "Скопирован!"
|
644 |
|
645 |
-
#: templates/sysinfo/tabs/error-log.php:
|
646 |
msgid "Copy Code"
|
647 |
msgstr "Копировать Код"
|
648 |
|
@@ -763,7 +763,7 @@ msgctxt "Elementor Widget - section title"
|
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Параметры"
|
765 |
|
766 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-04-05 17:22:32+0000\n"
|
9 |
"Language: ru\n"
|
10 |
"MIME-Version: 1.0\n"
|
337 |
"Проверка системы обнаружила некоторые проблемы совместимости в вашей "
|
338 |
"установке.%1$sНажмите сюда%2$s чтобы узнать больше"
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:496
|
341 |
msgid "Enabled"
|
342 |
msgstr "Включено"
|
343 |
|
344 |
+
#: includes/class-yith-system-status.php:496
|
345 |
msgid "Disabled"
|
346 |
msgstr "Отключено"
|
347 |
|
348 |
+
#: includes/class-yith-system-status.php:501
|
349 |
msgid "N/A"
|
350 |
msgstr "Б/н"
|
351 |
|
352 |
#. translators: %1$s plugin name, %2$s requirement name
|
353 |
+
#: includes/class-yith-system-status.php:528
|
354 |
msgid "%1$s needs %2$s enabled"
|
355 |
msgstr "%1$s требует включения %2$s"
|
356 |
|
357 |
#. translators: %1$s plugin name, %2$s required memory amount
|
358 |
+
#: includes/class-yith-system-status.php:531
|
359 |
msgid "%1$s needs at least %2$s of available memory"
|
360 |
msgstr "%1$s требуется не менее %2$s доступной памяти"
|
361 |
|
362 |
#. translators: %1$s plugin name, %2$s version number
|
363 |
+
#: includes/class-yith-system-status.php:534
|
364 |
msgid "%1$s needs at least %2$s version"
|
365 |
msgstr "%1$s требует как минимум %2$s версии"
|
366 |
|
367 |
+
#: includes/class-yith-system-status.php:558
|
368 |
msgid ""
|
369 |
"Update it to the latest version in order to benefit of all new features and "
|
370 |
"security updates."
|
372 |
"Обновите его до последней версии, чтобы воспользоваться всеми новыми "
|
373 |
"функциями и обновлениями безопасности."
|
374 |
|
375 |
+
#: includes/class-yith-system-status.php:562
|
376 |
+
#: includes/class-yith-system-status.php:568
|
377 |
msgid "Contact your hosting company in order to update it."
|
378 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы обновить его."
|
379 |
|
380 |
+
#: includes/class-yith-system-status.php:566
|
381 |
msgid "Contact your hosting company in order to install it."
|
382 |
msgstr "Для его установки обратитесь в свою хостинговую компанию."
|
383 |
|
384 |
#. translators: %1$s code, %2$s file name
|
385 |
+
#: includes/class-yith-system-status.php:573
|
386 |
msgid "Remove %1$s from %2$s file"
|
387 |
msgstr "Удалить %1$s из файла %2$s"
|
388 |
|
389 |
+
#: includes/class-yith-system-status.php:581
|
390 |
msgid "Contact your hosting company in order to enable it."
|
391 |
msgstr "Свяжитесь с вашей хостинговой компанией, чтобы включить его."
|
392 |
|
393 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
394 |
+
#: includes/class-yith-system-status.php:585
|
395 |
+
#: includes/class-yith-system-status.php:608
|
396 |
msgid ""
|
397 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
398 |
"it."
|
401 |
"чтобы увеличить его."
|
402 |
|
403 |
#. translators: %s recommended memory amount
|
404 |
+
#: includes/class-yith-system-status.php:605
|
405 |
msgid ""
|
406 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
407 |
"available memory"
|
410 |
"не менее %s доступной памяти"
|
411 |
|
412 |
#. translators: %1$s TLS label, %2$s cURL label
|
413 |
+
#: includes/class-yith-system-status.php:613
|
414 |
msgid ""
|
415 |
"The system check cannot determine which %1$s version is installed because "
|
416 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
420 |
"его."
|
421 |
|
422 |
#. translators: %1$s TLS label
|
423 |
+
#: includes/class-yith-system-status.php:616
|
424 |
msgid ""
|
425 |
"The system check cannot determine which %1$s version is installed due to a "
|
426 |
"connection issue between your site and our server."
|
625 |
msgid "Download"
|
626 |
msgstr "Загрузка"
|
627 |
|
628 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
629 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
630 |
msgstr "Размер файла превышает 8 мегабайт, поэтому его необходимо загрузить"
|
631 |
|
632 |
#. translators: %s file name.
|
633 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
634 |
msgid ""
|
635 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
636 |
"file of your installation"
|
638 |
"Файл журнала недоступен. Включите отладку WordPress, добавив следующее в "
|
639 |
"файл %s вашей установки"
|
640 |
|
641 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
642 |
msgid "Copied!"
|
643 |
msgstr "Скопирован!"
|
644 |
|
645 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
646 |
msgid "Copy Code"
|
647 |
msgstr "Копировать Код"
|
648 |
|
763 |
msgid "%s - Options"
|
764 |
msgstr "%s - Параметры"
|
765 |
|
766 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
767 |
msgctxt "[gutenberg]: Category Name"
|
768 |
msgid "YITH"
|
769 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw-zh_CN.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"PO-Revision-Date: 2022-06-29 13:12:18+0000\n"
|
9 |
"Language: zh\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -328,74 +328,74 @@ msgid ""
|
|
328 |
msgstr ""
|
329 |
"系統檢查檢測到您的安裝存在一些相容性問題。%1$s 點擊此處 %2$s 了解更多訊息"
|
330 |
|
331 |
-
#: includes/class-yith-system-status.php:
|
332 |
msgid "Enabled"
|
333 |
msgstr "啟用"
|
334 |
|
335 |
-
#: includes/class-yith-system-status.php:
|
336 |
msgid "Disabled"
|
337 |
msgstr "關閉"
|
338 |
|
339 |
-
#: includes/class-yith-system-status.php:
|
340 |
msgid "N/A"
|
341 |
msgstr "不詳"
|
342 |
|
343 |
#. translators: %1$s plugin name, %2$s requirement name
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
msgid "%1$s needs %2$s enabled"
|
346 |
msgstr "%1$s 需要 %2$s 啟動"
|
347 |
|
348 |
#. translators: %1$s plugin name, %2$s required memory amount
|
349 |
-
#: includes/class-yith-system-status.php:
|
350 |
msgid "%1$s needs at least %2$s of available memory"
|
351 |
msgstr "%1$s 需要最少 %2$s 的可用記憶體"
|
352 |
|
353 |
#. translators: %1$s plugin name, %2$s version number
|
354 |
-
#: includes/class-yith-system-status.php:
|
355 |
msgid "%1$s needs at least %2$s version"
|
356 |
msgstr "%1$s 需要最低 %2$s 的版本"
|
357 |
|
358 |
-
#: includes/class-yith-system-status.php:
|
359 |
msgid ""
|
360 |
"Update it to the latest version in order to benefit of all new features and "
|
361 |
"security updates."
|
362 |
msgstr "將其更新到最新版本,以便從所有新功能和安全更新中受益。"
|
363 |
|
364 |
-
#: includes/class-yith-system-status.php:
|
365 |
-
#: includes/class-yith-system-status.php:
|
366 |
msgid "Contact your hosting company in order to update it."
|
367 |
msgstr "聯絡您的網站主機托管公司進行更新"
|
368 |
|
369 |
-
#: includes/class-yith-system-status.php:
|
370 |
msgid "Contact your hosting company in order to install it."
|
371 |
msgstr "聯絡您的網站主機托管公司進行安裝"
|
372 |
|
373 |
#. translators: %1$s code, %2$s file name
|
374 |
-
#: includes/class-yith-system-status.php:
|
375 |
msgid "Remove %1$s from %2$s file"
|
376 |
msgstr "從 %1$s 到 %2$s 移除這些檔案"
|
377 |
|
378 |
-
#: includes/class-yith-system-status.php:
|
379 |
msgid "Contact your hosting company in order to enable it."
|
380 |
msgstr "聯絡你的主機托管公司去啟動"
|
381 |
|
382 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
383 |
-
#: includes/class-yith-system-status.php:
|
384 |
-
#: includes/class-yith-system-status.php:
|
385 |
msgid ""
|
386 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
387 |
"it."
|
388 |
msgstr "閱讀更多 %1$shere%2$s 或聯繫您的託管公司以增加它。"
|
389 |
|
390 |
#. translators: %s recommended memory amount
|
391 |
-
#: includes/class-yith-system-status.php:
|
392 |
msgid ""
|
393 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
394 |
"available memory"
|
395 |
msgstr "為了使我們的外掛發揮最佳功能,我們建議至少設置 %s 的可用記憶體"
|
396 |
|
397 |
#. translators: %1$s TLS label, %2$s cURL label
|
398 |
-
#: includes/class-yith-system-status.php:
|
399 |
msgid ""
|
400 |
"The system check cannot determine which %1$s version is installed because "
|
401 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
@@ -404,7 +404,7 @@ msgstr ""
|
|
404 |
"公司啟用它。"
|
405 |
|
406 |
#. translators: %1$s TLS label
|
407 |
-
#: includes/class-yith-system-status.php:
|
408 |
msgid ""
|
409 |
"The system check cannot determine which %1$s version is installed due to a "
|
410 |
"connection issue between your site and our server."
|
@@ -609,23 +609,23 @@ msgstr "PHP 錯誤日誌檔"
|
|
609 |
msgid "Download"
|
610 |
msgstr "下載"
|
611 |
|
612 |
-
#: templates/sysinfo/tabs/error-log.php:
|
613 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
614 |
msgstr "檔案大小超過 8 兆位元,因此必須下載"
|
615 |
|
616 |
#. translators: %s file name.
|
617 |
-
#: templates/sysinfo/tabs/error-log.php:
|
618 |
msgid ""
|
619 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
620 |
"file of your installation"
|
621 |
msgstr ""
|
622 |
"沒有可用的日誌文件。 通過將其添加到安裝的 %s 文件中來啟用 WordPress 除錯"
|
623 |
|
624 |
-
#: templates/sysinfo/tabs/error-log.php:
|
625 |
msgid "Copied!"
|
626 |
msgstr "已複製!"
|
627 |
|
628 |
-
#: templates/sysinfo/tabs/error-log.php:
|
629 |
msgid "Copy Code"
|
630 |
msgstr "複製程式碼"
|
631 |
|
@@ -743,7 +743,7 @@ msgctxt "Elementor Widget - section title"
|
|
743 |
msgid "%s - Options"
|
744 |
msgstr "%s - 選項"
|
745 |
|
746 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
747 |
msgctxt "[gutenberg]: Category Name"
|
748 |
msgid "YITH"
|
749 |
msgstr "YITH"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"PO-Revision-Date: 2022-06-29 13:12:18+0000\n"
|
9 |
"Language: zh\n"
|
10 |
"MIME-Version: 1.0\n"
|
328 |
msgstr ""
|
329 |
"系統檢查檢測到您的安裝存在一些相容性問題。%1$s 點擊此處 %2$s 了解更多訊息"
|
330 |
|
331 |
+
#: includes/class-yith-system-status.php:496
|
332 |
msgid "Enabled"
|
333 |
msgstr "啟用"
|
334 |
|
335 |
+
#: includes/class-yith-system-status.php:496
|
336 |
msgid "Disabled"
|
337 |
msgstr "關閉"
|
338 |
|
339 |
+
#: includes/class-yith-system-status.php:501
|
340 |
msgid "N/A"
|
341 |
msgstr "不詳"
|
342 |
|
343 |
#. translators: %1$s plugin name, %2$s requirement name
|
344 |
+
#: includes/class-yith-system-status.php:528
|
345 |
msgid "%1$s needs %2$s enabled"
|
346 |
msgstr "%1$s 需要 %2$s 啟動"
|
347 |
|
348 |
#. translators: %1$s plugin name, %2$s required memory amount
|
349 |
+
#: includes/class-yith-system-status.php:531
|
350 |
msgid "%1$s needs at least %2$s of available memory"
|
351 |
msgstr "%1$s 需要最少 %2$s 的可用記憶體"
|
352 |
|
353 |
#. translators: %1$s plugin name, %2$s version number
|
354 |
+
#: includes/class-yith-system-status.php:534
|
355 |
msgid "%1$s needs at least %2$s version"
|
356 |
msgstr "%1$s 需要最低 %2$s 的版本"
|
357 |
|
358 |
+
#: includes/class-yith-system-status.php:558
|
359 |
msgid ""
|
360 |
"Update it to the latest version in order to benefit of all new features and "
|
361 |
"security updates."
|
362 |
msgstr "將其更新到最新版本,以便從所有新功能和安全更新中受益。"
|
363 |
|
364 |
+
#: includes/class-yith-system-status.php:562
|
365 |
+
#: includes/class-yith-system-status.php:568
|
366 |
msgid "Contact your hosting company in order to update it."
|
367 |
msgstr "聯絡您的網站主機托管公司進行更新"
|
368 |
|
369 |
+
#: includes/class-yith-system-status.php:566
|
370 |
msgid "Contact your hosting company in order to install it."
|
371 |
msgstr "聯絡您的網站主機托管公司進行安裝"
|
372 |
|
373 |
#. translators: %1$s code, %2$s file name
|
374 |
+
#: includes/class-yith-system-status.php:573
|
375 |
msgid "Remove %1$s from %2$s file"
|
376 |
msgstr "從 %1$s 到 %2$s 移除這些檔案"
|
377 |
|
378 |
+
#: includes/class-yith-system-status.php:581
|
379 |
msgid "Contact your hosting company in order to enable it."
|
380 |
msgstr "聯絡你的主機托管公司去啟動"
|
381 |
|
382 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
383 |
+
#: includes/class-yith-system-status.php:585
|
384 |
+
#: includes/class-yith-system-status.php:608
|
385 |
msgid ""
|
386 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
387 |
"it."
|
388 |
msgstr "閱讀更多 %1$shere%2$s 或聯繫您的託管公司以增加它。"
|
389 |
|
390 |
#. translators: %s recommended memory amount
|
391 |
+
#: includes/class-yith-system-status.php:605
|
392 |
msgid ""
|
393 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
394 |
"available memory"
|
395 |
msgstr "為了使我們的外掛發揮最佳功能,我們建議至少設置 %s 的可用記憶體"
|
396 |
|
397 |
#. translators: %1$s TLS label, %2$s cURL label
|
398 |
+
#: includes/class-yith-system-status.php:613
|
399 |
msgid ""
|
400 |
"The system check cannot determine which %1$s version is installed because "
|
401 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
404 |
"公司啟用它。"
|
405 |
|
406 |
#. translators: %1$s TLS label
|
407 |
+
#: includes/class-yith-system-status.php:616
|
408 |
msgid ""
|
409 |
"The system check cannot determine which %1$s version is installed due to a "
|
410 |
"connection issue between your site and our server."
|
609 |
msgid "Download"
|
610 |
msgstr "下載"
|
611 |
|
612 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
613 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
614 |
msgstr "檔案大小超過 8 兆位元,因此必須下載"
|
615 |
|
616 |
#. translators: %s file name.
|
617 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
618 |
msgid ""
|
619 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
620 |
"file of your installation"
|
621 |
msgstr ""
|
622 |
"沒有可用的日誌文件。 通過將其添加到安裝的 %s 文件中來啟用 WordPress 除錯"
|
623 |
|
624 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
625 |
msgid "Copied!"
|
626 |
msgstr "已複製!"
|
627 |
|
628 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
629 |
msgid "Copy Code"
|
630 |
msgstr "複製程式碼"
|
631 |
|
743 |
msgid "%s - Options"
|
744 |
msgstr "%s - 選項"
|
745 |
|
746 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
747 |
msgctxt "[gutenberg]: Category Name"
|
748 |
msgid "YITH"
|
749 |
msgstr "YITH"
|
plugin-fw/languages/yith-plugin-fw.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -329,80 +329,80 @@ msgid ""
|
|
329 |
"installation.%1$sClick here%2$s to know more"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: includes/class-yith-system-status.php:
|
333 |
msgid "Enabled"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: includes/class-yith-system-status.php:
|
337 |
msgid "Disabled"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: includes/class-yith-system-status.php:
|
341 |
msgid "N/A"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/class-yith-system-status.php:
|
345 |
#. translators: %1$s plugin name, %2$s requirement name
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: includes/class-yith-system-status.php:
|
350 |
#. translators: %1$s plugin name, %2$s required memory amount
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: includes/class-yith-system-status.php:
|
355 |
#. translators: %1$s plugin name, %2$s version number
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: includes/class-yith-system-status.php:
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: includes/class-yith-system-status.php:
|
366 |
-
#: includes/class-yith-system-status.php:
|
367 |
msgid "Contact your hosting company in order to update it."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/class-yith-system-status.php:
|
371 |
msgid "Contact your hosting company in order to install it."
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: includes/class-yith-system-status.php:
|
375 |
#. translators: %1$s code, %2$s file name
|
376 |
msgid "Remove %1$s from %2$s file"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: includes/class-yith-system-status.php:
|
380 |
msgid "Contact your hosting company in order to enable it."
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: includes/class-yith-system-status.php:
|
384 |
-
#: includes/class-yith-system-status.php:
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
msgid ""
|
387 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
388 |
"it."
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/class-yith-system-status.php:
|
392 |
#. translators: %s recommended memory amount
|
393 |
msgid ""
|
394 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
395 |
"available memory"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/class-yith-system-status.php:
|
399 |
#. translators: %1$s TLS label, %2$s cURL label
|
400 |
msgid ""
|
401 |
"The system check cannot determine which %1$s version is installed because "
|
402 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: includes/class-yith-system-status.php:
|
406 |
#. translators: %1$s TLS label
|
407 |
msgid ""
|
408 |
"The system check cannot determine which %1$s version is installed due to a "
|
@@ -606,22 +606,22 @@ msgstr ""
|
|
606 |
msgid "Download"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: templates/sysinfo/tabs/error-log.php:
|
610 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: templates/sysinfo/tabs/error-log.php:
|
614 |
#. translators: %s file name.
|
615 |
msgid ""
|
616 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
617 |
"file of your installation"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: templates/sysinfo/tabs/error-log.php:
|
621 |
msgid "Copied!"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: templates/sysinfo/tabs/error-log.php:
|
625 |
msgid "Copy Code"
|
626 |
msgstr ""
|
627 |
|
@@ -740,7 +740,7 @@ msgctxt "Elementor Widget - section title"
|
|
740 |
msgid "%s - Options"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/builders/gutenberg/class-yith-gutenberg.php:
|
744 |
msgctxt "[gutenberg]: Category Name"
|
745 |
msgid "YITH"
|
746 |
msgstr ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2022-11-11 07:31:10+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
329 |
"installation.%1$sClick here%2$s to know more"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: includes/class-yith-system-status.php:496
|
333 |
msgid "Enabled"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: includes/class-yith-system-status.php:496
|
337 |
msgid "Disabled"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: includes/class-yith-system-status.php:501
|
341 |
msgid "N/A"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: includes/class-yith-system-status.php:528
|
345 |
#. translators: %1$s plugin name, %2$s requirement name
|
346 |
msgid "%1$s needs %2$s enabled"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: includes/class-yith-system-status.php:531
|
350 |
#. translators: %1$s plugin name, %2$s required memory amount
|
351 |
msgid "%1$s needs at least %2$s of available memory"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/class-yith-system-status.php:534
|
355 |
#. translators: %1$s plugin name, %2$s version number
|
356 |
msgid "%1$s needs at least %2$s version"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: includes/class-yith-system-status.php:558
|
360 |
msgid ""
|
361 |
"Update it to the latest version in order to benefit of all new features and "
|
362 |
"security updates."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: includes/class-yith-system-status.php:562
|
366 |
+
#: includes/class-yith-system-status.php:568
|
367 |
msgid "Contact your hosting company in order to update it."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/class-yith-system-status.php:566
|
371 |
msgid "Contact your hosting company in order to install it."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/class-yith-system-status.php:573
|
375 |
#. translators: %1$s code, %2$s file name
|
376 |
msgid "Remove %1$s from %2$s file"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: includes/class-yith-system-status.php:581
|
380 |
msgid "Contact your hosting company in order to enable it."
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: includes/class-yith-system-status.php:585
|
384 |
+
#: includes/class-yith-system-status.php:608
|
385 |
#. translators: %1$s opening link tag, %2$s closing link tag
|
386 |
msgid ""
|
387 |
"Read more %1$shere%2$s or contact your hosting company in order to increase "
|
388 |
"it."
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/class-yith-system-status.php:605
|
392 |
#. translators: %s recommended memory amount
|
393 |
msgid ""
|
394 |
"For optimal functioning of our plugins, we suggest setting at least %s of "
|
395 |
"available memory"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/class-yith-system-status.php:613
|
399 |
#. translators: %1$s TLS label, %2$s cURL label
|
400 |
msgid ""
|
401 |
"The system check cannot determine which %1$s version is installed because "
|
402 |
"%2$s module is disabled. Ask your hosting company to enable it."
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: includes/class-yith-system-status.php:616
|
406 |
#. translators: %1$s TLS label
|
407 |
msgid ""
|
408 |
"The system check cannot determine which %1$s version is installed due to a "
|
606 |
msgid "Download"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: templates/sysinfo/tabs/error-log.php:73
|
610 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: templates/sysinfo/tabs/error-log.php:97
|
614 |
#. translators: %s file name.
|
615 |
msgid ""
|
616 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
617 |
"file of your installation"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
621 |
msgid "Copied!"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: templates/sysinfo/tabs/error-log.php:106
|
625 |
msgid "Copy Code"
|
626 |
msgstr ""
|
627 |
|
740 |
msgid "%s - Options"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: includes/builders/gutenberg/class-yith-gutenberg.php:152
|
744 |
msgctxt "[gutenberg]: Category Name"
|
745 |
msgid "YITH"
|
746 |
msgstr ""
|
plugin-fw/templates/components/action-button.php
CHANGED
@@ -46,7 +46,7 @@ $link_class = implode( ' ', array_filter( $link_classes ) );
|
|
46 |
<?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
|
47 |
>
|
48 |
<a class="<?php echo esc_attr( $link_class ); ?>"
|
49 |
-
|
50 |
href="<?php echo esc_url( $url ); ?>"
|
51 |
<?php if ( $the_title ) : ?>
|
52 |
data-tip="<?php echo esc_attr( $the_title ); ?>"
|
46 |
<?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
|
47 |
>
|
48 |
<a class="<?php echo esc_attr( $link_class ); ?>"
|
49 |
+
aria-label="<?php echo esc_attr( $the_title ); ?>"
|
50 |
href="<?php echo esc_url( $url ); ?>"
|
51 |
<?php if ( $the_title ) : ?>
|
52 |
data-tip="<?php echo esc_attr( $the_title ); ?>"
|
plugin-fw/templates/sysinfo/tabs/error-log.php
CHANGED
@@ -40,7 +40,7 @@ $debug_files = array(
|
|
40 |
<?php foreach ( $debug_files as $key => $debug_file ) : ?>
|
41 |
<?php
|
42 |
if ( ! file_exists( $debug_file['path'] ) ) {
|
43 |
-
$missing_files
|
44 |
continue;
|
45 |
}
|
46 |
|
@@ -62,6 +62,7 @@ $debug_files = array(
|
|
62 |
'data' => array(
|
63 |
'action' => 'yith_create_log_file',
|
64 |
'file' => $key,
|
|
|
65 |
),
|
66 |
),
|
67 |
),
|
@@ -95,12 +96,12 @@ $debug_files = array(
|
|
95 |
// translators: %s file name.
|
96 |
echo sprintf( esc_html__( 'No Log file available. Enable the WordPress debug by adding this in the %s file of your installation', 'yith-plugin-fw' ), '<code>wp-config.php</code>' );
|
97 |
?>
|
98 |
-
<br/>
|
99 |
-
<br/>
|
100 |
<span class="debug-code">
|
101 |
-
define( 'WP_DEBUG', true );<br/>
|
102 |
-
define( 'WP_DEBUG_LOG', true );<br/>
|
103 |
-
define( 'WP_DEBUG_DISPLAY', false );<br/>
|
104 |
</span>
|
105 |
<a href="#" data-tooltip="<?php esc_attr_e( 'Copied!', 'yith-plugin-fw' ); ?>" class="copy-link"><?php esc_html_e( 'Copy Code', 'yith-plugin-fw' ); ?></a>
|
106 |
</td>
|
40 |
<?php foreach ( $debug_files as $key => $debug_file ) : ?>
|
41 |
<?php
|
42 |
if ( ! file_exists( $debug_file['path'] ) ) {
|
43 |
+
$missing_files++;
|
44 |
continue;
|
45 |
}
|
46 |
|
62 |
'data' => array(
|
63 |
'action' => 'yith_create_log_file',
|
64 |
'file' => $key,
|
65 |
+
'nonce' => wp_create_nonce( 'yith-export-log' ),
|
66 |
),
|
67 |
),
|
68 |
),
|
96 |
// translators: %s file name.
|
97 |
echo sprintf( esc_html__( 'No Log file available. Enable the WordPress debug by adding this in the %s file of your installation', 'yith-plugin-fw' ), '<code>wp-config.php</code>' );
|
98 |
?>
|
99 |
+
<br />
|
100 |
+
<br />
|
101 |
<span class="debug-code">
|
102 |
+
define( 'WP_DEBUG', true );<br />
|
103 |
+
define( 'WP_DEBUG_LOG', true );<br />
|
104 |
+
define( 'WP_DEBUG_DISPLAY', false );<br />
|
105 |
</span>
|
106 |
<a href="#" data-tooltip="<?php esc_attr_e( 'Copied!', 'yith-plugin-fw' ); ?>" class="copy-link"><?php esc_html_e( 'Copy Code', 'yith-plugin-fw' ); ?></a>
|
107 |
</td>
|