Version Description
Released on 11 February 2021 =
New: support for WooCommerce 5.0
Update: YITH plugin framework
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Product Filter |
Version | 3.11.8 |
Comparing to | |
See all releases |
Code changes from version 3.11.7 to 3.11.8
- README.txt +6 -1
- assets/css/admin.min.css +1 -0
- assets/css/frontend.min.css +1 -0
- assets/js/yith-wcan-admin.min.js +1 -0
- assets/js/yith-wcan-editor.min.js +1 -0
- assets/js/yith-wcan-frontend.min.js +1 -1
- includes/class.yith-wcan-frontend.php +2 -1
- init.php +3 -3
- languages/yith-woocommerce-ajax-navigation.pot +89 -103
- plugin-fw/assets/css/metaboxes.css +1 -0
- plugin-fw/assets/css/yith-fields.css +24 -18
- plugin-fw/includes/class-yit-plugin-panel-woocommerce.php +53 -48
- plugin-fw/includes/class-yit-pointers.php +2 -2
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-el.po +33 -192
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +33 -192
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +25 -192
- plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +34 -191
- plugin-fw/languages/yith-plugin-fw.pot +10 -11
- plugin-fw/phpcs.xml +51 -0
- plugin-fw/templates/fields/dimensions.php +14 -3
- plugin-fw/templates/fields/onoff.php +2 -2
- plugin-fw/tools/local-env/docker/phpunit/Dockerfile +0 -12
- plugin-fw/tools/local-env/install-wp-tests.sh +0 -154
- plugin-fw/tools/local-env/mysql-init.sql +0 -7
- plugin-fw/tools/local-env/phpunit-config.ini +0 -6
- plugin-fw/tools/local-env/scripts/docker.js +0 -6
- plugin-fw/tools/local-env/scripts/install.js +0 -15
- plugin-fw/tools/local-env/scripts/start.js +0 -7
- plugin-fw/tools/local-env/yith-plugin-fw-loader.php +0 -50
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 5.6
|
7 |
-
Stable tag: 3.11.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -159,6 +159,11 @@ If you want to see a demonstration version of the premium plugin, you can see it
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
|
|
|
|
162 |
= 3.11.7 - Released on 22 January 2021 =
|
163 |
|
164 |
* Fix: non-standard hook
|
4 |
Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 5.6
|
7 |
+
Stable tag: 3.11.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 3.11.8 - Released on 11 February 2021 =
|
163 |
+
|
164 |
+
* New: support for WooCommerce 5.0
|
165 |
+
* Update: YITH plugin framework
|
166 |
+
|
167 |
= 3.11.7 - Released on 22 January 2021 =
|
168 |
|
169 |
* Fix: non-standard hook
|
assets/css/admin.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.yith_wcan_placeholder+.spinner{background-position:center;float:left;margin:10px 0;width:100%}.yith_wcan_placeholder table{width:100%}.yith_wcan_placeholder th{text-align:left}.yith_wcan_placeholder td{vertical-align:middle}div.yit-wcan-widget-tag-list,p#yit-wcan-show-count,p#yit-wcan-style,p.yit-wcan-display-color,p.yit-wcan-display-label,p.yit-wcan-display-tags{display:none}div.yit-wcan-widget-tag-list.tags{display:block}p#yit-wcan-show-count.yit-wcan-show-count-brands,p#yit-wcan-show-count.yit-wcan-show-count-categories,p#yit-wcan-show-count.yit-wcan-show-count-list,p#yit-wcan-show-count.yit-wcan-show-count-select,p#yit-wcan-show-count.yit-wcan-show-count-tags,p#yit-wcan-style.yit-wcan-style-color,p#yit-wcan-style.yit-wcan-style-multicolor{display:block}label.yith-wcan-reset-table{width:50%;display:inline-block;vertical-align:top}
|
assets/css/frontend.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.yith-woocommerce-ajax-product-filter{position:relative}.yith-wcan-group:after{content:"";display:table;clear:both}.yith-wcan-loading{background:url(../images/ajax-loader.gif) no-repeat center;height:100px}.woocommerce .widget_layered_nav ul.yith-wcan li span,.woocommerce-page .widget_layered_nav ul.yith-wcan li span{cursor:not-allowed}.yith-wcan-list-price-filter{margin-left:0}ul.yith-wcan-color.yith-wcan.yith-wcan-group,ul.yith-wcan-list{list-style:none;margin-left:0}.yith-wcan-color li:first-child{margin-left:0}.yith-wcan-color li{float:left}.woocommerce .widget_layered_nav ul.yith-wcan-color li a,.woocommerce .widget_layered_nav ul.yith-wcan-color li span,.woocommerce-page .widget_layered_nav ul.yith-wcan-color li a,.woocommerce-page .widget_layered_nav ul.yith-wcan-color li span{border:1px solid #ddd;display:block;height:20px;margin:5px 5px 5px 0;padding:0;width:20px;overflow:hidden;text-indent:100%;white-space:nowrap;box-sizing:content-box}.woocommerce .widget_layered_nav ul.yith-wcan-color li a:hover,.woocommerce .widget_layered_nav ul.yith-wcan-color li span:hover,.woocommerce .widget_layered_nav ul.yith-wcan-color li.chosen a,.woocommerce .widget_layered_nav ul.yith-wcan-color li.chosen span,.woocommerce-page .widget_layered_nav ul.yith-wcan-color li a:hover,.woocommerce-page .widget_layered_nav ul.yith-wcan-color li span:hover,.woocommerce-page .widget_layered_nav ul.yith-wcan-color li.chosen a,.woocommerce-page .widget_layered_nav ul.yith-wcan-color li.chosen span{border:1px solid #444;background-image:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.yith-wcan-label li{float:left}.woocommerce .widget_layered_nav ul.yith-wcan-label li a,.woocommerce .widget_layered_nav ul.yith-wcan-label li span,.woocommerce-page .widget_layered_nav ul.yith-wcan-label li a,.woocommerce-page .widget_layered_nav ul.yith-wcan-label li span{background:#efefef;border:1px solid #ddd;display:block;margin:5px 5px 5px 0;padding:2px;overflow:hidden;text-decoration:none}.woocommerce .widget_layered_nav ul.yith-wcan-label li a:hover,.woocommerce .widget_layered_nav ul.yith-wcan-label li.chosen a,.woocommerce-page .widget_layered_nav ul.yith-wcan-label li a:hover,.woocommerce-page .widget_layered_nav ul.yith-wcan-label li.chosen a{border:1px solid #444;background-image:none;background-color:#ad74a2;color:#fff;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.yit-wcan-select-open{background:transparent url(../images/select-arrow.png) top 15px right no-repeat;border:1px solid #cecece;color:#838383;display:block;line-height:16px;margin-bottom:15px;margin-top:15px;overflow:hidden;padding:10px 30px 10px 10px}.yit-wcan-select-open.active{background:transparent url(../images/select-arrow.png) bottom 15px right no-repeat}.yith-wcan-select-wrapper{background:#fff;margin:0 4px 4px 0;max-height:240px;padding-bottom:30px;position:absolute;overflow-x:hidden;overflow-y:auto;width:100%;z-index:-1;border:1px solid #cecece;padding:10px 0;margin-top:-16px;display:none;opacity:0}.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li{padding:5px 8px;border-bottom:1px solid transparent;border-top:1px solid transparent}.woocommerce-page .widget_layered_nav .yith-wcan-select-wrapper ul li.chosen,.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li:hover{-webkit-box-shadow:0 3px 0 #f2f2f2 inset,0 -3px 0 #f2f2f2 inset;-moz-box-shadow:0 3px 0 #f2f2f2 inset,0 -3px 0 #f2f2f2 inset;box-shadow:0 3px 0 #f2f2f2 inset,0 -3px 0 #f2f2f2 inset;border-bottom:1px solid #cecece;border-top:1px solid #cecece}.widget .yit-wcan-select-open,.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a{width:100%;color:#838383;box-sizing:border-box;-moz-box-sizing:border-box}.widget .yit-wcan-select-open,.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a{width:auto;display:block}.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li.chosen a{padding:0}.widget .yit-wcan-select-open:hover,.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a:hover{text-decoration:none;color:#838383}.woocommerce-page .widget_layered_nav .yith-wcan-select-wrapper ul li.chosen a{background:transparent url(../images/cross.png) bottom 6px left no-repeat;border:none}.woocommerce .widget_layered_nav ul.yith-wcan-select li.chosen a:before,.woocommerce-page .widget_layered_nav ul.yith-wcan-select li.chosen a:before{content:""}.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li.yit-wcan-child-terms.level-1{padding-left:30px}.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li.yit-wcan-child-terms.level-2{padding-left:60px}.yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li.yit-wcan-child-terms.level-2{padding-left:90px}.yit-wcan-parent-terms ul.yith-child-terms.level-0{padding-left:20px}.yit-wcan-parent-terms ul.yith-child-terms.level-1{padding-left:40px}.yit-wcan-parent-terms ul.yith-child-terms.level-2{padding-left:60px}.yit-wcan-parent-terms ul.yith-child-terms.level-3{padding-left:80px}.yith-wcan-sort-by ul.orderby{list-style:none;padding:0}.yith-wcan-sort-by ul.orderby li.orderby-wrapper{margin-bottom:5px}.yith-wcan-sort-by ul.orderby li.orderby-wrapper>a.active:before,a.yith-wcan-instock-button.active:before,a.yith-wcan-onsale-button.active:before,a.yith-wcan-price-link.active:before,ul.yith-wcan-list li.chosen>a:before{font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-decoration:none;font-weight:400;line-height:1;content:"";color:#a00;margin-right:.618em}.woocommerce .widget_layered_nav ul.yith-wcan-color li a.multicolor{position:relative}.woocommerce .widget_layered_nav ul.yith-wcan-color li a span.multicolor{width:0;height:0;border-style:solid;position:absolute;top:0;left:0;margin:0;cursor:pointer}.woocommerce .widget_layered_nav ul.yith-wcan-color li a span.multicolor.color-1{border-width:20px 20px 0 0}.woocommerce .widget_layered_nav ul.yith-wcan-color li a span.multicolor.color-2{border-width:0 0 20px 20px}.woocommerce .widget_layered_nav ul.yith-wcan-color li a.multicolor.round{border-radius:50%}.yith-wcan-pro.woocommerce .widget_price_filter .price_slider_amount button{display:none}.woocommerce .widget_price_filter .price_slider_amount #max_price.yith_wcan_no_slider,.woocommerce .widget_price_filter .price_slider_amount #min_price.yith_wcan_no_slider{margin-bottom:10px}.yith-woocommerce-ajax-product-filter.with-checkbox ul{list-style-type:none;padding-left:0;margin-left:0}.yith-woocommerce-ajax-product-filter.yith-wcan-sort-by.with-checkbox ul{margin-left:0}.yith-woocommerce-ajax-product-filter.with-checkbox ul li a:before{content:'';display:inline-block;background-image:url(../images/checkbox_sprite.png);background-repeat:no-repeat;background-position:top center;width:11px;height:11px;margin-right:5px}.yith-woocommerce-ajax-product-filter.yith-wcan-sort-by.with-checkbox ul li a:before{background-image:url(../images/radio_sprite.png)}.widget_layered_nav.with-checkbox .chosen::before,.yith-woocommerce-ajax-product-filter.with-checkbox ul li.active>a:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul li.chosen>a:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul li>a.active:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul li>a.chosen:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul.orderby li a.active:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul.orderby li a.chosen:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul.orderby li.active>a:before,.yith-woocommerce-ajax-product-filter.with-checkbox ul.orderby li.chosen>a:before{content:'';background-position:bottom center}.widget_layered_nav.with-checkbox .chosen::before{display:none}.yith-woocommerce-ajax-product-filter.with-checkbox ul li a.active:after,.yith-woocommerce-ajax-product-filter.with-checkbox ul li a.chosen:after,.yith-woocommerce-ajax-product-filter.with-checkbox ul li a:after,.yith-woocommerce-ajax-product-filter.with-checkbox ul li.active a:after,.yith-woocommerce-ajax-product-filter.with-checkbox ul li.chosen a:after{content:'';display:none}.widget .yith-wcan-show-all-categories,.widget .yith-wcan-show-all-tags{margin-bottom:15px;display:inline-block}.widget .yith-wcan-show-all-categories a,.widget .yith-wcan-show-all-tags a{font-size:10px;text-transform:uppercase}.widget .yith-wcan-show-all-categories a:before,.widget .yith-wcan-show-all-tags a:before{content:"<";margin-right:5px;font-weight:700;font-size:12px}.yith-woocommerce-ajax-product-filter ul li{list-style:none}.theme-storefront .widget_layered_nav .yith-wcan-list li::before{width:0;content:""!important;float:none;padding-left:0!important}.theme-storefront .widget_layered_nav .yith-wcan-list li,.theme-storefront .yith-woocommerce-ajax-product-filter.widget_layered_nav ul li{padding-left:0!important}.theme-storefront .yith-woocommerce-ajax-product-filter ul li.chosen a:before,.theme-storefront .yith-woocommerce-ajax-product-filter.yith-wcan-sort-by ul li a.active:before{font-family:'Font Awesome 5 Free';content:"\f057"}.theme-storefront .yith-woocommerce-ajax-product-filter.with-checkbox ul li.chosen a:before,.theme-storefront .yith-woocommerce-ajax-product-filter.yith-wcan-sort-by.with-checkbox ul li a.active:before{content:""}.theme-storefront .widget-area .yith-woocommerce-ajax-product-filter a:not(.button):before{text-decoration:none;display:inline-block}.theme-flatsome .yith-woocommerce-ajax-product-filter ul.yith-child-terms{display:block}.theme-flatsome .yith-woocommerce-ajax-product-filter ul li.yit-wcan-parent-terms,.theme-flatsome .yith-woocommerce-ajax-product-filter ul.yith-child-terms li{display:inline}.theme-twentytwentyone.yith-wcan-pro .widget_layered_nav.yith-woo-ajax-navigation li.chosen::before{display:none}.theme-twentytwentyone.yith-wcan-pro .widget_layered_nav ul.yith-wcan-select li.chosen a::before{margin-right:15px}.theme-twentytwentyone.yith-wcan-pro .yith-wcan-select-wrapper{top:95px;display:none}
|
assets/js/yith-wcan-admin.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery(function(h){h.add_new_range=function(t){var e=t.parents(".widget-content").find(".range-filter"),n=e.find("input:last-child"),i=e.data("field_name"),a=parseInt(n.data("position"))+1,c='<input type="text" placeholder="min" name="'+i+"["+a+'][min]" value="" class="yith-wcan-price-filter-input widefat" data-position="'+a+'"/><input type="text" placeholder="max" name="'+i+"["+a+'][max]" value="" class="yith-wcan-price-filter-input widefat" data-position="'+a+'"/>';e.append(c)},h.select_dropdown=function(t){console.log(t);var e=t,n=e.parents("p").next("p");e.is(":checked")?n.fadeIn("slow"):n.fadeOut("slow")},h(document).on("change",".yith_wcan_type, .yith_wcan_attributes",function(t){var e=this,n=h(this).parents(".widget-content").find(".yith_wcan_placeholder").html(""),i=n.next(".spinner").show(),a=h(this).parents(".widget-content").find("#yit-wcan-display"),c=h(this).parents(".widget-content").find("#yit-wcan-style"),o=h(this).parents(".widget-content").find("#yit-wcan-show-count"),l=h(this).parents(".widget-content").find(".yith-wcan-attribute-list"),s=h(this).parents(".widget-content").find(".yit-wcan-widget-tag-list"),d=h(this).parents(".widget-content").find(".yit-wcan-see-all-taxonomies-text"),r={action:"yith_wcan_select_type",id:h("input[name=widget_id]",h(e).parents(".widget-content")).val(),name:h("input[name=widget_name]",h(e).parents(".widget-content")).val(),attribute:h(".yith_wcan_attributes",h(e).parents(".widget-content")).val(),value:h(".yith_wcan_type",h(e).parents(".widget-content")).val()};"list"==r.value||"select"==r.value||"brands"==r.value||"tags"==r.value?(a.show(),c.hide()):"label"!=r.value&&"color"!=r.value&&"multicolor"!=r.value||a.hide(),"color"==r.value||"multicolor"==r.value?c.show():c.hide(),"list"==r.value||"tags"==r.value||"brands"==r.value||"categories"==r.value||"select"==r.value?o.show():o.hide(),"tags"==r.value||"brands"==r.value||"categories"==r.value?l.hide():l.show(),"tags"==r.value?s.show():s.hide(),"tags"==r.value||"categories"==r.value?d.show():d.hide(),h.post(ajaxurl,r,function(t){i.hide(),n.html(t.content),h(document).trigger("yith_colorpicker")},"json")}),h(document).on("yith_colorpicker",function(){h(".yith-colorpicker").each(function(){h(this).wpColorPicker()})}).trigger("yith_colorpicker"),h(document).on("change",".yith-wcan-enable-custom-style",function(){var t=h(this),e=t.parents(".widget-content").find(".yith-wcan-reset-custom-style");t.find(".yith-wcan-enable-custom-style-check").is(":checked")?e.fadeIn("slow"):e.fadeOut("slow")}),h(document).on("change",".yith-wcan-dropdown-check",function(){h.select_dropdown(h(this))});var t=h(".yith-wcan-select-option .select-all"),e=h(".yith-wcan-select-option .unselect-all");h(".yith_wcan_select_tag"),h("#yith-wcan-tag-widget-select");t.on("click",function(t){t.preventDefault(),h(this).parents(".yith-wcan-select-option").next(".yith_wcan_select_tag_wrapper").find(".yith_wcan_tag_list_checkbox").attr("checked",!0)}),e.on("click",function(t){t.preventDefault(),h(this).parents(".yith-wcan-select-option").next(".yith_wcan_select_tag_wrapper").find(".yith_wcan_tag_list_checkbox").attr("checked",!1)})});
|
assets/js/yith-wcan-editor.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var editor=CodeMirror.fromTextArea(document.getElementById("yit_wcan_options_yith_wcan_custom_style"),{lineNumbers:!0,mode:"text/css",indentUnit:4,tabSize:4,indentWithTabs:!0,showCursorWhenSelecting:!0});
|
assets/js/yith-wcan-frontend.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(
|
1 |
+
jQuery(function(u){var w=/(?!(\[))(\.)[^.#[]*/g,y=/(#)[^.#[]*/,f=/^[\w]+/,v=/^[\w]+$/,l=function(t,a){var e=v.test(t)?[{tag:t}]:function(t){for(var a={sel:[],val:[]},e=[],i=!1,n="",c=[],s=0,r=t.length;s<r;s++){var o=t.charAt(s);i?"\\"===o&&s+1<t.length?c.push(t.charAt(++s)):n===o?(n="",c.push(o)):"'"!==o&&'"'!==o||""!==n?"]"===o&&""===n?(a.val.push(c.join("")),i=!(c=[])):"]"===o&&""===n||(""===n&&","===o?(a.val.push(c.join("")),c=[]):c.push(o)):(n=o,c.push(o)):"\\"===o&&s+1<t.length?i&&c.push(t.charAt(++s)):"["===o&&""===n?i=!0:" "===o||"+"===o?(a.sel=a.sel.join(""),e.push(a),"+"===o&&e.push({sel:"+",val:""}),a={sel:[],val:[]}):" "!==o&&"]"!==o&&a.sel.push(o)}for(0==a.sel.length&&0==a.val.length||(a.sel=a.sel.join(""),e.push(a)),s=0;s<e.length;s++){if("+"===(a=e[s].sel))l.tag=a;else{var l=[];for(l.tag=f.exec(a),l.id=y.exec(a),l.id&&u.isArray(l.id)&&(l.id=l.id[0].substr(1)),l.tag||(l.tag="div"),l.vars=[],t=0;t<e[s].val.length;t++)n=e[s].val[t].indexOf("="),i=e[s].val[t].substr(0,n),n=(n=e[s].val[t].substr(n+1)).replace(/^[\s]*[\"\']*|[\"\']*[\s]*$/g,""),"text"===i?l.text=n:l.vars.push([i,n]);if(i=[],a=a.match(w)){for(t=0;t<a.length;t++)i.push(a[t].substr(1));l.className=i.join(" ")}}e[s]=l}return e}(t),i=[];void 0===a&&(a=1);for(var n=[],c=[],s=[],r=document.createElement("div"),o=0,l=0;l<e.length;l++){if("+"==e[l].tag)c=s.slice(),--o;else{for(var d=0;d<a;d++)if("input"==e[l].tag){var h=[];if(h.push("<"+e[l].tag),e[l].id&&h.push("id='"+e[l].id+"'"),e[l].className&&(h.push("class='"+e[l].className),l+1===e.length&&h.push(lastClass),h.push("'")),e[l].vars)for(var p=0;p<e[l].vars.length;p++)h.push(e[l].vars[p][0]+"='"+e[l].vars[p][1]+"'");e[l].text&&h.push("value='"+e[l].text+"'"),h.push("/>"),s[d]=c[d],c[d]?(c[d].innerHTML+=h.join(" "),c[d]=c[d].lastChild):(r.innerHTML=h.join(" "),c[d]=r.removeChild(r.firstChild))}else{if(h=document.createElement(e[l].tag),e[l].vars)for(p=0;p<e[l].vars.length;p++)console.log(e[l].tag,e[l].vars[p]),h.setAttribute(e[l].vars[p][0],e[l].vars[p][1]);e[l].id&&(h.id=e[l].id),e[l].className&&(h.className=e[l].className),e[l].text&&h.appendChild(document.createTextNode(e[l].text)),s[d]=c[d],c[d]=c[d]?c[d].appendChild(h):h}o++||Array.prototype.push.apply(n,c)}i=u.merge(i,c)}return u(n)},a=function(t,a,e){for(var i=t.match(/%[^%]*%/g)||[],n=[],c=0;c<a.length;c++){for(var s=t,r=0;r<i.length;r++){var o=i[r].substr(1,i[r].length-2);s=s.replace(i[r],a[c][o])}n=u.merge(n,l(s,e))}return u(n)},h=!(u.jseldom=function(t){return 2==arguments.length&&u.isPlainObject(arguments[1])?a.apply(this,[t,[arguments[1]]]):1==arguments.length||2==arguments.length&&!u.isArray(arguments[1])?l.apply(this,arguments):2==arguments.length?a.apply(this,arguments):void 0}),p=function(){var t=u("#yith-wcan-reset-all-categories").find("a.yith-wcan-reset-categories-link"),a=u("#yith-wcan-reset-all-tags").find("a.yith-wcan-reset-tags-link");t.add(a).on("click",function(t){u(this).yith_wcan_ajax_filters(t,this)})};u.fn.yith_wcan_ajax_filters=function(t,a){t.preventDefault();var c=a.href,s=u(a),r=s.hasClass("yith-wcan-reset-navigation");if(void 0===c&&s.parents().hasClass("price_slider_wrapper")){s.parents("form");var e=window.location,i=e.origin+e.pathname,n=i!=e.href,o=(e.search,u(".price_slider_amount #min_price").val()),l=u(".price_slider_amount #max_price").val();new RegExp("^min_price","i"),new RegExp("^max_price","i");c=e.href,1==n&&(c=g(c,"min_price"),c=g(c,"max_price")),c=c+(i==c?"?":"&")+u.param({min_price:o,max_price:l})}"select"==s.data("type")&&(s.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),s.parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300)),u(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading"),u(document).trigger("yith-wcan-ajax-loading"),"undefined"!=typeof yith_wcan_frontend&&u(yith_wcan.container).not(".ywcps-products").css("backgroundImage","url("+yith_wcan_frontend.loader_url+")");var d=!1;("both"==yith_wcan.scroll_top_mode||"mobile"==yith_wcan.scroll_top_mode&&1==yith_wcan.is_mobile||"desktop"==yith_wcan.scroll_top_mode&&1!=yith_wcan.is_mobile)&&(d=!0),1==d&&u(window).scrollTop(u(yith_wcan.scroll_top).offset().top),u(yith_wcan.pagination).hide(),u(yith_wcan.result_count).hide(),0!=h&&(h.abort(),h=!1),h=u.ajax({url:c,success:function(i){h=!1,u(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading"),0<u(i).find(yith_wcan.container).not(".ywcps-products").length?u(".yit-wcan-container").html(u(i).find(yith_wcan.container).not(".ywcps-products")):u(".yit-wcan-container").html(u(i).find(".woocommerce-info")),0<u(i).find(yith_wcan.pagination).length?(0==u(yith_wcan.pagination).length&&u.jseldom(yith_wcan.pagination).insertAfter(u(yith_wcan.container).not(".ywcps-products")),u(yith_wcan.pagination).html(u(i).find(yith_wcan.pagination).html()).show()):u(yith_wcan.pagination).empty(),u("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />'),0<u(i).find(yith_wcan.result_count).length&&u(yith_wcan.result_count).html(u(i).find(yith_wcan.result_count).html()).show();var a=function(t){var a=t.attr("id"),e=u(i).find("#"+a);0==e.length?t.hide():(t.html(e.html()),t.show())};if(u(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var t=u(this);a(t)}),1==yith_wcan.yootheme.is_enabled&&u(".widget-yith-woo-ajax-navigation").add(".widget-yith-woo-ajax-navigation-sort-by").add(".widget-yith-woo-ajax-reset-navigation").add(".widget-yith-wcan-stock-on-sale").add(".widget-yith-wcan-list-price-filter").each(function(){var t=u(this);a(t)}),1==yith_wcan.avada.is_enabled){var t=u(yith_wcan.avada.sort_count);t.html(u(i).find(yith_wcan.avada.sort_count).html()),""==s.text()?t.hide():t.show()}if(1!=yith_wcan.change_browser_url||navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:i.pageTitle},"",c),u(document).trigger("ready"),u(document).trigger("yith-wcan-ajax-filtered",[i]),u(document).trigger("yith_wcwl_reload_fragments"),u(window).trigger("scroll"),r){if("undefined"!=typeof u.fn.slider){var e=parseInt(u(yith_wcan.wc_price_slider.min_price).data("min")),n=parseInt(u(yith_wcan.wc_price_slider.max_price).data("max"));u(yith_wcan.wc_price_slider.wrapper).slider("values",[e,n]),u(document.body).trigger("price_slider_slide",[e,n])}u(document).trigger("yith-wcan-ajax-reset-filtered")}p()}})},u(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>'),u(document).on("yith-wcan-wrapped",function(){p()}),u(document).trigger("yith-wcan-wrapped"),u(document).on("click",".yith-wcan a",function(t){u(this).yith_wcan_ajax_filters(t,this)});var e=function(){u("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},0,function(){u(this).css("display","none")}),u("a.yit-wcan-select-open").removeClass("active")};function g(t,a){return t.replace(new RegExp("[?&]"+a+"=[^&#]*(#.*)?$"),"$1").replace(new RegExp("([?&])"+a+"=[^&]*&"),"$1")}u(document).on("click","a.yit-wcan-select-open.active",function(t){t.preventDefault(),function a(t){u(t).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300,function(){u(this).css("display","none")}),u(t).parent().find("a.yit-wcan-select-open").removeClass("active")}(this)}),u(document).on("click","a.yit-wcan-select-open:not(.active)",function(t){t.preventDefault(),u("a.yit-wcan-select-open.active").trigger("click"),function a(t){u(t).parent().find("div.yith-wcan-select-wrapper").css("z-index","1").animate({visibility:"visible",opacity:1},{duration:300,start:function(){u(this).css("display","block")}}),u(t).parent().find("a.yit-wcan-select-open").addClass("active")}(this)}),u(document).on("ready yith-wcan-ajax-filtered",function(){u("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen").length;e(),u("div.yith-wcan-select-wrapper").each(function(){var t="";u(this).find("ul.yith-wcan-select li.chosen").each(function(){t+=u(this).text()+", "});""!=(t=t.substring(0,t.length-2))&&u(this).parent().find("a.yit-wcan-select-open").text(t)})}),u(document).on("ready",e),u("body").on("click",function(t){u(t.target).hasClass("yit-wcan-select-open")||e()}),1==yith_wcan.flatsome.is_enabled&&1==yith_wcan.flatsome.lazy_load_enabled&&u(document).on("yith-wcan-ajax-filtered",function(t,a){var e=u(document);jQuery(".lazy-load",e).each(function(t,a){var i=jQuery(a);i.waypoint(function(t){if(!i.hasClass("lazy-load-active")){var a=i.data("src"),e=i.data("srcset");a&&i.attr("src",a),e&&i.attr("srcset",e),i.imagesLoaded(function(){i.addClass("lazy-load-active").removeClass("lazy-load")})}},{offset:"140%"})})}),window.addEventListener("popstate",function(t){window.location.reload(!0)})});
|
includes/class.yith-wcan-frontend.php
CHANGED
@@ -114,7 +114,8 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
|
|
114 |
* @return array
|
115 |
*/
|
116 |
public function the_posts( $posts, $query = false ) {
|
117 |
-
$
|
|
|
118 |
if( ! empty( $queried_object ) && ( is_shop() || is_product_taxonomy() ) ){
|
119 |
if( YITH_WCAN()->is_wc_older_2_6 ){
|
120 |
add_action( 'wp', array( $this, 'layered_navigation_array_for_wc_older_26' ) );
|
114 |
* @return array
|
115 |
*/
|
116 |
public function the_posts( $posts, $query = false ) {
|
117 |
+
global $wp_query;
|
118 |
+
$queried_object = function_exists( 'get_queried_object' ) && is_callable( array( $wp_query, 'get_queried_object' ) ) ? get_queried_object() : false;
|
119 |
if( ! empty( $queried_object ) && ( is_shop() || is_product_taxonomy() ) ){
|
120 |
if( YITH_WCAN()->is_wc_older_2_6 ){
|
121 |
add_action( 'wp', array( $this, 'layered_navigation_array_for_wc_older_26' ) );
|
init.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Ajax Product Filter
|
4 |
* Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
|
5 |
* Description:<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products, improve the user experience and give the impression of being in a big and reliable store. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
|
6 |
-
* Version: 3.11.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-ajax-navigation
|
10 |
* Domain Path: /languages/
|
11 |
*
|
12 |
* WC requires at least: 4.2
|
13 |
-
* WC tested up to:
|
14 |
*
|
15 |
* @author Your Inspiration Themes
|
16 |
* @package YITH WooCommerce Ajax Navigation
|
@@ -67,7 +67,7 @@ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plug
|
|
67 |
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
|
68 |
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
|
69 |
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
|
70 |
-
! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.11.
|
71 |
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
|
72 |
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
|
73 |
|
3 |
* Plugin Name: YITH WooCommerce Ajax Product Filter
|
4 |
* Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
|
5 |
* Description:<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products, improve the user experience and give the impression of being in a big and reliable store. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
|
6 |
+
* Version: 3.11.8
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-ajax-navigation
|
10 |
* Domain Path: /languages/
|
11 |
*
|
12 |
* WC requires at least: 4.2
|
13 |
+
* WC tested up to: 5.0
|
14 |
*
|
15 |
* @author Your Inspiration Themes
|
16 |
* @package YITH WooCommerce Ajax Navigation
|
67 |
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
|
68 |
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
|
69 |
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
|
70 |
+
! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.11.8' );
|
71 |
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
|
72 |
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
|
73 |
|
languages/yith-woocommerce-ajax-navigation.pot
CHANGED
@@ -1,16 +1,18 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Ajax Product Filter package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: YITH WooCommerce Ajax Product Filter 3.
|
6 |
-
"Report-Msgid-Bugs-To:
|
7 |
-
"
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
14 |
|
15 |
#: includes/class.yith-wcan-admin.php:126
|
16 |
msgid "Front end"
|
@@ -29,27 +31,17 @@ msgstr ""
|
|
29 |
msgid "Ajax Product Filter"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: includes/functions.yith-wcan.php:
|
33 |
-
#: includes/functions.yith-wcan.php:
|
34 |
msgid "Term"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: includes/functions.yith-wcan.php:
|
38 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
39 |
msgid "Color"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: includes/functions.yith-wcan.php:
|
43 |
-
msgctxt "For multicolor: I.E. white and red T-Shirt"
|
44 |
-
msgid "Color 1"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: includes/functions.yith-wcan.php:104
|
48 |
-
msgctxt "For multicolor: I.E. white and red T-Shirt"
|
49 |
-
msgid "Color 2"
|
50 |
-
msgstr ""
|
51 |
-
|
52 |
-
#: includes/functions.yith-wcan.php:126
|
53 |
msgid "Labels"
|
54 |
msgstr ""
|
55 |
|
@@ -73,22 +65,6 @@ msgstr ""
|
|
73 |
msgid "Frontend Settings"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: settings/frontend-options.php:25
|
77 |
-
msgctxt "Admin panel: option description"
|
78 |
-
msgid "How To:"
|
79 |
-
msgstr ""
|
80 |
-
|
81 |
-
#: settings/frontend-options.php:27
|
82 |
-
msgctxt "Admin: Panel section description"
|
83 |
-
msgid ""
|
84 |
-
"If your theme is using WooCommerce standard templates, you don't need to "
|
85 |
-
"change the following values.\n"
|
86 |
-
" Otherwise, add the classes used in the "
|
87 |
-
"templates of your theme.\n"
|
88 |
-
" If you don't know how to do, please contact "
|
89 |
-
"the developer of your theme to be correctly instructed."
|
90 |
-
msgstr ""
|
91 |
-
|
92 |
#: settings/frontend-options.php:33
|
93 |
msgid "Product Container"
|
94 |
msgstr ""
|
@@ -163,12 +139,12 @@ msgstr ""
|
|
163 |
msgid ""
|
164 |
"The YITH WooCommerce Ajax product Filter widget get richer with 2 new "
|
165 |
"layouts to filter the products of your shop.%1$sBicolor%2$s: the perfect "
|
166 |
-
"choice for those attributes related to two different colors at the same
|
167 |
-
"(white/black), for a simple visual impact for the final user. Pick the "
|
168 |
"%1$sTag%2$s typology, on the contrary, if you want to filter your products "
|
169 |
-
"by product tag. And if you are using also the %1$sYITH WooCommerce Brand
|
170 |
-
"On%2$s plugin, you will be able to offer the freedom to filter your
|
171 |
-
"products by brands thanks to the ajax technology."
|
172 |
msgstr ""
|
173 |
|
174 |
#: templates/admin/premium.php:234
|
@@ -179,8 +155,8 @@ msgstr ""
|
|
179 |
msgid ""
|
180 |
"One of the most requested filter for e-commerce sites is the one that let "
|
181 |
"you select products by their prices. Thanks to YITH WooCommerce Ajax List "
|
182 |
-
"Price Filter, %1$syou can set unlimited price ranges:%2$s your users will
|
183 |
-
"able to filter products selecting on the ranges you have set."
|
184 |
msgstr ""
|
185 |
|
186 |
#: templates/admin/premium.php:253
|
@@ -201,10 +177,10 @@ msgstr ""
|
|
201 |
|
202 |
#: templates/admin/premium.php:269
|
203 |
msgid ""
|
204 |
-
"With the new %1$sYITH WooCommerce Ajax Sort By%2$s widget, you can give
|
205 |
-
"users the freedom to sort products with the ajax technology, without
|
206 |
-
"need to reload the page. Products can be sorted by rate, sales, price
|
207 |
-
"publication date."
|
208 |
msgstr ""
|
209 |
|
210 |
#: templates/admin/premium.php:285
|
@@ -224,9 +200,9 @@ msgstr ""
|
|
224 |
#: templates/admin/premium.php:301
|
225 |
msgid ""
|
226 |
"Take advantage of the premium version of the plugin to edit the default "
|
227 |
-
"behavior of WooCommerce Price Filter. Change the %1$slayout of the
|
228 |
-
"%2$s and activate the %1$sAjax mode%2$s to apply the filter
|
229 |
-
"without reloading the page."
|
230 |
msgstr ""
|
231 |
|
232 |
#: templates/admin/premium.php:317
|
@@ -279,9 +255,9 @@ msgstr ""
|
|
279 |
|
280 |
#: templates/admin/premium.php:384
|
281 |
msgid ""
|
282 |
-
"Each applied filter generates a new url for the page. You can decide to
|
283 |
-
"the same url or let it get automatically updated every time user
|
284 |
-
"filter to the products list of your shop."
|
285 |
msgstr ""
|
286 |
|
287 |
#: templates/admin/premium.php:394
|
@@ -304,9 +280,9 @@ msgstr ""
|
|
304 |
msgid ""
|
305 |
"User experience on the site requires handiness and insight. This is why it "
|
306 |
"is unreasonable to deselect filters one by one to go back to the main view "
|
307 |
-
"when multiple filters have been applied to the product list. The plugin
|
308 |
-
"manages this action by a specific button which reset filters and by
|
309 |
-
"two which refresh the main view of categories and/or tags."
|
310 |
msgstr ""
|
311 |
|
312 |
#: templates/admin/premium.php:426
|
@@ -316,120 +292,130 @@ msgstr ""
|
|
316 |
#: templates/admin/premium.php:429
|
317 |
msgid ""
|
318 |
"Scroll to top is a feature to improve user experience on your site. Soon "
|
319 |
-
"after filtering the product list, the page will be automatically scrolled
|
320 |
-
"the top so the user can immediately see the filtered list. "
|
321 |
msgstr ""
|
322 |
|
323 |
#: widgets/class.yith-wcan-navigation-widget.php:36
|
324 |
msgid "Filter the list of products without reloading the page"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
328 |
-
msgctxt "[Plugin Name] Admin: Widget Title"
|
329 |
-
msgid "YITH Ajax Product Filter"
|
330 |
-
msgstr ""
|
331 |
-
|
332 |
-
#: widgets/class.yith-wcan-navigation-widget.php:154
|
333 |
msgid "Filters:"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
337 |
msgid "List"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
341 |
msgid "Label"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
345 |
msgid "Dropdown"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
349 |
-
#: widgets/class.yith-wcan-reset-navigation-widget.php:
|
350 |
msgid "Title"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
354 |
msgid "Type:"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
358 |
msgid "Query Type:"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
362 |
msgid "AND"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
366 |
msgid "OR"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
370 |
msgid "Attribute:"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
374 |
msgid "Display (default All):"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
378 |
msgid "All (no hierarchical)"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
382 |
msgid "All (hierarchical)"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
386 |
msgid "Only Parent"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
390 |
msgid "CSS custom class"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: widgets/class.yith-wcan-reset-navigation-widget.php:
|
394 |
-
msgctxt "[Plugin Name]"
|
395 |
-
msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
|
396 |
-
msgstr ""
|
397 |
-
|
398 |
-
#: widgets/class.yith-wcan-reset-navigation-widget.php:25
|
399 |
msgid "YITH Ajax Reset Filter"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: widgets/class.yith-wcan-reset-navigation-widget.php:
|
403 |
msgid "Reset All Filters"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: widgets/class.yith-wcan-reset-navigation-widget.php:
|
407 |
msgid "Button Label"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#. Plugin Name of the plugin/theme
|
411 |
-
msgid "YITH WooCommerce Ajax Product Filter"
|
412 |
-
msgstr ""
|
413 |
-
|
414 |
-
#. Plugin URI of the plugin/theme
|
415 |
-
msgid "https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/"
|
416 |
-
msgstr ""
|
417 |
-
|
418 |
#. Description of the plugin/theme
|
419 |
msgid ""
|
420 |
"<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
|
421 |
"your users to find the product they are looking for as quickly as possible. "
|
422 |
"Thanks to the plugin you will be able to set up one or more search filters "
|
423 |
"for your WooCommerce products, improve the user experience and give the "
|
424 |
-
"impression of being in a big and reliable store. <a
|
425 |
-
"com/\" target=\"_blank\">Get more plugins for your
|
426 |
-
"<strong>YITH</strong></a>"
|
427 |
msgstr ""
|
428 |
|
429 |
-
|
430 |
-
|
|
|
431 |
msgstr ""
|
432 |
|
433 |
-
|
434 |
-
|
|
|
435 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2021 YITH
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Ajax Product Filter package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: YITH WooCommerce Ajax Product Filter 3.11.8\n"
|
6 |
+
"Report-Msgid-Bugs-To: "
|
7 |
+
"https://wordpress.org/support/plugin/yith-woocommerce-ajax-product-filter\n"
|
8 |
+
"POT-Creation-Date: 2021-02-16 07:48:59+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
16 |
|
17 |
#: includes/class.yith-wcan-admin.php:126
|
18 |
msgid "Front end"
|
31 |
msgid "Ajax Product Filter"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: includes/functions.yith-wcan.php:92 includes/functions.yith-wcan.php:108
|
35 |
+
#: includes/functions.yith-wcan.php:130
|
36 |
msgid "Term"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: includes/functions.yith-wcan.php:92
|
40 |
+
#: widgets/class.yith-wcan-navigation-widget.php:914
|
41 |
msgid "Color"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: includes/functions.yith-wcan.php:130
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
msgid "Labels"
|
46 |
msgstr ""
|
47 |
|
65 |
msgid "Frontend Settings"
|
66 |
msgstr ""
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
#: settings/frontend-options.php:33
|
69 |
msgid "Product Container"
|
70 |
msgstr ""
|
139 |
msgid ""
|
140 |
"The YITH WooCommerce Ajax product Filter widget get richer with 2 new "
|
141 |
"layouts to filter the products of your shop.%1$sBicolor%2$s: the perfect "
|
142 |
+
"choice for those attributes related to two different colors at the same "
|
143 |
+
"time (white/black), for a simple visual impact for the final user. Pick the "
|
144 |
"%1$sTag%2$s typology, on the contrary, if you want to filter your products "
|
145 |
+
"by product tag. And if you are using also the %1$sYITH WooCommerce Brand "
|
146 |
+
"Add-On%2$s plugin, you will be able to offer the freedom to filter your "
|
147 |
+
"shop products by brands thanks to the ajax technology."
|
148 |
msgstr ""
|
149 |
|
150 |
#: templates/admin/premium.php:234
|
155 |
msgid ""
|
156 |
"One of the most requested filter for e-commerce sites is the one that let "
|
157 |
"you select products by their prices. Thanks to YITH WooCommerce Ajax List "
|
158 |
+
"Price Filter, %1$syou can set unlimited price ranges:%2$s your users will "
|
159 |
+
"be able to filter products selecting on the ranges you have set."
|
160 |
msgstr ""
|
161 |
|
162 |
#: templates/admin/premium.php:253
|
177 |
|
178 |
#: templates/admin/premium.php:269
|
179 |
msgid ""
|
180 |
+
"With the new %1$sYITH WooCommerce Ajax Sort By%2$s widget, you can give "
|
181 |
+
"your users the freedom to sort products with the ajax technology, without "
|
182 |
+
"the need to reload the page. Products can be sorted by rate, sales, price "
|
183 |
+
"or publication date."
|
184 |
msgstr ""
|
185 |
|
186 |
#: templates/admin/premium.php:285
|
200 |
#: templates/admin/premium.php:301
|
201 |
msgid ""
|
202 |
"Take advantage of the premium version of the plugin to edit the default "
|
203 |
+
"behavior of WooCommerce Price Filter. Change the %1$slayout of the "
|
204 |
+
"filter%2$s and activate the %1$sAjax mode%2$s to apply the filter "
|
205 |
+
"immediately, without reloading the page."
|
206 |
msgstr ""
|
207 |
|
208 |
#: templates/admin/premium.php:317
|
255 |
|
256 |
#: templates/admin/premium.php:384
|
257 |
msgid ""
|
258 |
+
"Each applied filter generates a new url for the page. You can decide to "
|
259 |
+
"keep the same url or let it get automatically updated every time user "
|
260 |
+
"applies a filter to the products list of your shop."
|
261 |
msgstr ""
|
262 |
|
263 |
#: templates/admin/premium.php:394
|
280 |
msgid ""
|
281 |
"User experience on the site requires handiness and insight. This is why it "
|
282 |
"is unreasonable to deselect filters one by one to go back to the main view "
|
283 |
+
"when multiple filters have been applied to the product list. The plugin "
|
284 |
+
"also manages this action by a specific button which reset filters and by "
|
285 |
+
"other two which refresh the main view of categories and/or tags."
|
286 |
msgstr ""
|
287 |
|
288 |
#: templates/admin/premium.php:426
|
292 |
#: templates/admin/premium.php:429
|
293 |
msgid ""
|
294 |
"Scroll to top is a feature to improve user experience on your site. Soon "
|
295 |
+
"after filtering the product list, the page will be automatically scrolled "
|
296 |
+
"to the top so the user can immediately see the filtered list. "
|
297 |
msgstr ""
|
298 |
|
299 |
#: widgets/class.yith-wcan-navigation-widget.php:36
|
300 |
msgid "Filter the list of products without reloading the page"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: widgets/class.yith-wcan-navigation-widget.php:182
|
|
|
|
|
|
|
|
|
|
|
304 |
msgid "Filters:"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: widgets/class.yith-wcan-navigation-widget.php:913
|
308 |
msgid "List"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: widgets/class.yith-wcan-navigation-widget.php:915
|
312 |
msgid "Label"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: widgets/class.yith-wcan-navigation-widget.php:916
|
316 |
msgid "Dropdown"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: widgets/class.yith-wcan-navigation-widget.php:923
|
320 |
+
#: widgets/class.yith-wcan-reset-navigation-widget.php:154
|
321 |
msgid "Title"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: widgets/class.yith-wcan-navigation-widget.php:929
|
325 |
msgid "Type:"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: widgets/class.yith-wcan-navigation-widget.php:940
|
329 |
msgid "Query Type:"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: widgets/class.yith-wcan-navigation-widget.php:942
|
333 |
msgid "AND"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: widgets/class.yith-wcan-navigation-widget.php:943
|
337 |
msgid "OR"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: widgets/class.yith-wcan-navigation-widget.php:949
|
341 |
msgid "Attribute:"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: widgets/class.yith-wcan-navigation-widget.php:956
|
345 |
msgid "Display (default All):"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: widgets/class.yith-wcan-navigation-widget.php:958
|
349 |
msgid "All (no hierarchical)"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: widgets/class.yith-wcan-navigation-widget.php:959
|
353 |
msgid "All (hierarchical)"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: widgets/class.yith-wcan-navigation-widget.php:960
|
357 |
msgid "Only Parent"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: widgets/class.yith-wcan-navigation-widget.php:967
|
361 |
msgid "CSS custom class"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: widgets/class.yith-wcan-reset-navigation-widget.php:28
|
|
|
|
|
|
|
|
|
|
|
365 |
msgid "YITH Ajax Reset Filter"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: widgets/class.yith-wcan-reset-navigation-widget.php:147
|
369 |
msgid "Reset All Filters"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: widgets/class.yith-wcan-reset-navigation-widget.php:162
|
373 |
msgid "Button Label"
|
374 |
msgstr ""
|
375 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
#. Description of the plugin/theme
|
377 |
msgid ""
|
378 |
"<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows "
|
379 |
"your users to find the product they are looking for as quickly as possible. "
|
380 |
"Thanks to the plugin you will be able to set up one or more search filters "
|
381 |
"for your WooCommerce products, improve the user experience and give the "
|
382 |
+
"impression of being in a big and reliable store. <a "
|
383 |
+
"href=\"https://yithemes.com/\" target=\"_blank\">Get more plugins for your "
|
384 |
+
"e-commerce shop on <strong>YITH</strong></a>"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/functions.yith-wcan.php:108
|
388 |
+
msgctxt "For multicolor: I.E. white and red T-Shirt"
|
389 |
+
msgid "Color 1"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: includes/functions.yith-wcan.php:108
|
393 |
+
msgctxt "For multicolor: I.E. white and red T-Shirt"
|
394 |
+
msgid "Color 2"
|
395 |
msgstr ""
|
396 |
+
|
397 |
+
#: settings/frontend-options.php:25
|
398 |
+
msgctxt "Admin panel: option description"
|
399 |
+
msgid "How To:"
|
400 |
+
msgstr ""
|
401 |
+
|
402 |
+
#: settings/frontend-options.php:27
|
403 |
+
msgctxt "Admin: Panel section description"
|
404 |
+
msgid ""
|
405 |
+
"If your theme is using WooCommerce standard templates, you don't need to "
|
406 |
+
"change the following values.\n"
|
407 |
+
" Otherwise, add the classes used in the "
|
408 |
+
"templates of your theme.\n"
|
409 |
+
" If you don't know how to do, please contact "
|
410 |
+
"the developer of your theme to be correctly instructed."
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: widgets/class.yith-wcan-navigation-widget.php:39
|
414 |
+
msgctxt "[Plugin Name] Admin: Widget Title"
|
415 |
+
msgid "YITH Ajax Product Filter"
|
416 |
+
msgstr ""
|
417 |
+
|
418 |
+
#: widgets/class.yith-wcan-reset-navigation-widget.php:25
|
419 |
+
msgctxt "[Plugin Name]"
|
420 |
+
msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
|
421 |
+
msgstr ""
|
plugin-fw/assets/css/metaboxes.css
CHANGED
@@ -126,6 +126,7 @@
|
|
126 |
width : auto !important;
|
127 |
display : inline-block;
|
128 |
font-weight : normal;
|
|
|
129 |
}
|
130 |
|
131 |
.metaboxes-tab input[type="checkbox"] {
|
126 |
width : auto !important;
|
127 |
display : inline-block;
|
128 |
font-weight : normal;
|
129 |
+
float : none;
|
130 |
}
|
131 |
|
132 |
.metaboxes-tab input[type="checkbox"] {
|
plugin-fw/assets/css/yith-fields.css
CHANGED
@@ -1435,9 +1435,11 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
|
|
1435 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
|
1436 |
border : 1px solid #d8d8d8;
|
1437 |
background-color : #fff;
|
1438 |
-
width :
|
1439 |
height : 24px;
|
1440 |
line-height : 14px;
|
|
|
|
|
1441 |
}
|
1442 |
|
1443 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
|
@@ -1445,8 +1447,8 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
|
|
1445 |
}
|
1446 |
|
1447 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
|
1448 |
-
width :
|
1449 |
-
height :
|
1450 |
top : 5px;
|
1451 |
left : 6px;
|
1452 |
background-color : #d8d8d8;
|
@@ -1454,15 +1456,14 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
|
|
1454 |
|
1455 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after {
|
1456 |
content : attr(data-text-off);
|
1457 |
-
width : 14px;
|
1458 |
height : 14px;
|
1459 |
-
font-size :
|
1460 |
font-weight : 600;
|
1461 |
-
padding-left :
|
1462 |
color : #979797;
|
1463 |
-
|
1464 |
-
display : inline-block;
|
1465 |
white-space : nowrap;
|
|
|
1466 |
}
|
1467 |
|
1468 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span,
|
@@ -1479,16 +1480,16 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
|
|
1479 |
|
1480 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after,
|
1481 |
.yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after {
|
1482 |
-
content
|
1483 |
-
color
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
}
|
1493 |
|
1494 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
|
@@ -2211,6 +2212,11 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
2211 |
color : #007694;
|
2212 |
}
|
2213 |
|
|
|
|
|
|
|
|
|
|
|
2214 |
.yith-plugin-fw-dimensions__dimensions {
|
2215 |
display : flex;
|
2216 |
margin : 0;
|
1435 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
|
1436 |
border : 1px solid #d8d8d8;
|
1437 |
background-color : #fff;
|
1438 |
+
width : 60px;
|
1439 |
height : 24px;
|
1440 |
line-height : 14px;
|
1441 |
+
padding : 4px;
|
1442 |
+
box-sizing : border-box;
|
1443 |
}
|
1444 |
|
1445 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
|
1447 |
}
|
1448 |
|
1449 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
|
1450 |
+
width : 13px;
|
1451 |
+
height : 13px;
|
1452 |
top : 5px;
|
1453 |
left : 6px;
|
1454 |
background-color : #d8d8d8;
|
1456 |
|
1457 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after {
|
1458 |
content : attr(data-text-off);
|
|
|
1459 |
height : 14px;
|
1460 |
+
font-size : 12px;
|
1461 |
font-weight : 600;
|
1462 |
+
padding-left : 18px;
|
1463 |
color : #979797;
|
1464 |
+
display : block;
|
|
|
1465 |
white-space : nowrap;
|
1466 |
+
text-align : center;
|
1467 |
}
|
1468 |
|
1469 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span,
|
1480 |
|
1481 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after,
|
1482 |
.yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after {
|
1483 |
+
content : attr(data-text-on);
|
1484 |
+
color : #98aa36;
|
1485 |
+
height : 14px;
|
1486 |
+
font-size : 12px;
|
1487 |
+
font-weight : 600;
|
1488 |
+
padding-left : 0;
|
1489 |
+
padding-right : 18px;
|
1490 |
+
display : block;
|
1491 |
+
white-space : nowrap;
|
1492 |
+
text-align : center;
|
1493 |
}
|
1494 |
|
1495 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
|
2212 |
color : #007694;
|
2213 |
}
|
2214 |
|
2215 |
+
.yith-plugin-fw-dimensions__unit--unique {
|
2216 |
+
text-decoration : none;
|
2217 |
+
cursor : default;
|
2218 |
+
}
|
2219 |
+
|
2220 |
.yith-plugin-fw-dimensions__dimensions {
|
2221 |
display : flex;
|
2222 |
margin : 0;
|
plugin-fw/includes/class-yit-plugin-panel-woocommerce.php
CHANGED
@@ -304,7 +304,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
304 |
if ( version_compare( WC()->version, '2.4.0', '>=' ) ) {
|
305 |
if ( ! empty( $yit_options[ $option_key ] ) ) {
|
306 |
foreach ( $yit_options[ $option_key ] as $option ) {
|
307 |
-
if ( isset( $option['id'] ) && isset( $_POST[ $option['id'] ], $option['type'] ) && ! in_array( $option['type'], self::$wc_type, true ) ) {
|
308 |
$_POST[ $option['id'] ] = maybe_serialize( $_POST[ $option['id'] ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
309 |
}
|
310 |
}
|
@@ -511,7 +511,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
511 |
* @since 2.0
|
512 |
*/
|
513 |
public function maybe_unserialize_panel_data( $value, $option, $raw_value ) {
|
514 |
-
if ( ! version_compare( WC()->version, '2.4.0', '>=' ) || ! isset( $option['type'] ) || in_array( $option['type'], self::$wc_type, true ) ) {
|
515 |
return $value;
|
516 |
}
|
517 |
|
@@ -532,9 +532,9 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
532 |
/**
|
533 |
* Sanitize Option
|
534 |
*
|
535 |
-
* @param mixed
|
536 |
-
* @param mixed
|
537 |
-
* @param
|
538 |
*
|
539 |
* @return mixed Filtered return value
|
540 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
@@ -542,55 +542,58 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
542 |
*/
|
543 |
public static function sanitize_option( $value, $option, $raw_value ) {
|
544 |
if ( isset( $option['type'] ) && 'yith-field' === $option['type'] ) {
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
$custom = isset( $_REQUEST[ $option['id'] . '_text' ] ) ? sanitize_text_field( wp_unslash( $_REQUEST[ $option['id'] . '_text' ] ) ) : $option['default']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
566 |
-
$value = $custom;
|
567 |
-
}
|
568 |
-
|
569 |
-
if ( isset( $option['yith-type'] ) && in_array( $option['yith-type'], array( 'toggle-element' ), true ) ) {
|
570 |
-
if ( $value && isset( $option['elements'] ) && ! empty( $option['elements'] ) ) {
|
571 |
-
$value = maybe_unserialize( $value );
|
572 |
-
|
573 |
-
if ( isset( $value['box_id'] ) ) {
|
574 |
-
unset( $value['box_id'] );
|
575 |
}
|
|
|
|
|
|
|
576 |
|
577 |
-
|
|
|
|
|
578 |
|
579 |
-
|
580 |
-
$onoff = $option['onoff_field'];
|
581 |
-
$onoff['type'] = 'yith-field';
|
582 |
-
$onoff['yith-type'] = 'onoff';
|
583 |
-
$onoff_id = $onoff['id'];
|
584 |
|
585 |
-
|
586 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
587 |
|
588 |
-
|
589 |
-
|
590 |
-
|
|
|
|
|
591 |
}
|
592 |
}
|
593 |
-
|
|
|
|
|
|
|
|
|
594 |
}
|
595 |
|
596 |
if ( ! empty( $option['yith-sanitize-callback'] ) && is_callable( $option['yith-sanitize-callback'] ) ) {
|
@@ -598,7 +601,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
598 |
}
|
599 |
}
|
600 |
|
601 |
-
return $value;
|
602 |
}
|
603 |
|
604 |
/**
|
@@ -683,6 +686,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
683 |
|
684 |
$value = $new_value;
|
685 |
}
|
|
|
|
|
686 |
$value = self::sanitize_option( $value, $option_array[ $option_id ], $value );
|
687 |
$updated = update_option( $option_id, $value );
|
688 |
}
|
304 |
if ( version_compare( WC()->version, '2.4.0', '>=' ) ) {
|
305 |
if ( ! empty( $yit_options[ $option_key ] ) ) {
|
306 |
foreach ( $yit_options[ $option_key ] as $option ) {
|
307 |
+
if ( isset( $option['id'] ) && isset( $_POST[ $option['id'] ], $option['type'] ) && ! in_array( $option['type'], self::$wc_type, true ) && 'yith-field' !== $option['type'] ) {
|
308 |
$_POST[ $option['id'] ] = maybe_serialize( $_POST[ $option['id'] ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.MissingUnslash,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
309 |
}
|
310 |
}
|
511 |
* @since 2.0
|
512 |
*/
|
513 |
public function maybe_unserialize_panel_data( $value, $option, $raw_value ) {
|
514 |
+
if ( ! version_compare( WC()->version, '2.4.0', '>=' ) || ! isset( $option['type'] ) || in_array( $option['type'], self::$wc_type, true ) || 'yith-field' === $option['type'] ) {
|
515 |
return $value;
|
516 |
}
|
517 |
|
532 |
/**
|
533 |
* Sanitize Option
|
534 |
*
|
535 |
+
* @param mixed $value Option value.
|
536 |
+
* @param mixed $option Option settings array.
|
537 |
+
* @param mixed $raw_value Raw option value.
|
538 |
*
|
539 |
* @return mixed Filtered return value
|
540 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
542 |
*/
|
543 |
public static function sanitize_option( $value, $option, $raw_value ) {
|
544 |
if ( isset( $option['type'] ) && 'yith-field' === $option['type'] ) {
|
545 |
+
$value = $raw_value; // We need the raw value to avoid the wc_clean. Note: the raw_value is already un-slashed.
|
546 |
+
$type = isset( $option['yith-type'] ) ? $option['yith-type'] : false;
|
547 |
+
$multiple = ! empty( $option['multiple'] );
|
548 |
+
|
549 |
+
switch ( $type ) {
|
550 |
+
case 'checkbox':
|
551 |
+
case 'onoff':
|
552 |
+
$value = yith_plugin_fw_is_true( $value ) ? 'yes' : 'no';
|
553 |
+
break;
|
554 |
+
case 'checkbox-array':
|
555 |
+
$value = ! ! $value && is_array( $value ) ? $value : array();
|
556 |
+
break;
|
557 |
+
case 'select-buttons':
|
558 |
+
$value = ! empty( $value ) ? $value : array();
|
559 |
+
break;
|
560 |
+
case 'date-format':
|
561 |
+
if ( '\c\u\s\t\o\m' === $value ) {
|
562 |
+
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
563 |
+
$custom = isset( $_REQUEST[ $option['id'] . '_text' ] ) ? sanitize_text_field( wp_unslash( $_REQUEST[ $option['id'] . '_text' ] ) ) : $option['default'];
|
564 |
+
$value = $custom;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
565 |
}
|
566 |
+
break;
|
567 |
+
case 'toggle-element':
|
568 |
+
if ( $value && isset( $option['elements'] ) && ! empty( $option['elements'] ) ) {
|
569 |
|
570 |
+
if ( isset( $value['box_id'] ) ) {
|
571 |
+
unset( $value['box_id'] );
|
572 |
+
}
|
573 |
|
574 |
+
foreach ( $value as $index => $single_toggle ) {
|
|
|
|
|
|
|
|
|
575 |
|
576 |
+
if ( $value && isset( $option['onoff_field'] ) && ! empty( $option['onoff_field'] ) ) {
|
577 |
+
$on_off = $option['onoff_field'];
|
578 |
+
$on_off['type'] = 'yith-field';
|
579 |
+
$on_off['yith-type'] = 'onoff';
|
580 |
+
$on_off_id = $on_off['id'];
|
581 |
+
|
582 |
+
$value[ $index ][ $on_off_id ] = isset( $single_toggle[ $on_off_id ] ) ? self::sanitize_option( $single_toggle[ $on_off_id ], $on_off, $single_toggle[ $on_off_id ] ) : 'no';
|
583 |
+
}
|
584 |
|
585 |
+
foreach ( $option['elements'] as $element ) {
|
586 |
+
$element_value = isset( $value[ $index ][ $element['id'] ] ) ? $value[ $index ][ $element['id'] ] : false;
|
587 |
+
// We don't need to un-slash the value, since it's already un-slashed.
|
588 |
+
$value[ $index ][ $element['id'] ] = self::sanitize_option( $element_value, $element, $element_value );
|
589 |
+
}
|
590 |
}
|
591 |
}
|
592 |
+
break;
|
593 |
+
}
|
594 |
+
|
595 |
+
if ( $multiple && empty( $value ) ) {
|
596 |
+
$value = array();
|
597 |
}
|
598 |
|
599 |
if ( ! empty( $option['yith-sanitize-callback'] ) && is_callable( $option['yith-sanitize-callback'] ) ) {
|
601 |
}
|
602 |
}
|
603 |
|
604 |
+
return apply_filters( 'yith_plugin_fw_wc_panel_sanitize_option', $value, $option, $raw_value );
|
605 |
}
|
606 |
|
607 |
/**
|
686 |
|
687 |
$value = $new_value;
|
688 |
}
|
689 |
+
|
690 |
+
$value = wp_unslash( $value ); // The value must be un-slashed before using it in self::sanitize_option.
|
691 |
$value = self::sanitize_option( $value, $option_array[ $option_id ], $value );
|
692 |
$updated = update_option( $option_id, $value );
|
693 |
}
|
plugin-fw/includes/class-yit-pointers.php
CHANGED
@@ -78,7 +78,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
78 |
private function __construct() {
|
79 |
|
80 |
$title = __( 'Plugins Activated', 'yith-plugin-fw' );
|
81 |
-
$message = __( 'From now on, you can find all plugin options in YITH
|
82 |
$discover_message = sprintf(
|
83 |
// translators: 1. YITH site link; 2. WordPress site link.
|
84 |
__( 'Discover all our plugins available on: %1$s and %2$s', 'yith-plugin-fw' ),
|
@@ -94,7 +94,7 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
94 |
);
|
95 |
|
96 |
$title = __( 'Plugins Upgraded', 'yith-plugin-fw' );
|
97 |
-
$message = __( 'From now on, you can find the option panel of YITH plugins in YITH
|
98 |
$discover_message = sprintf(
|
99 |
// translators: 1. YITH site link; 2. WordPress site link.
|
100 |
__( 'Discover all our plugins available on: %1$s and %2$s', 'yith-plugin-fw' ),
|
78 |
private function __construct() {
|
79 |
|
80 |
$title = __( 'Plugins Activated', 'yith-plugin-fw' );
|
81 |
+
$message = __( 'From now on, you can find all plugin options in YITH menu. Plugin customization settings will be available as a new entry in YITH menu.', 'yith-plugin-fw' );
|
82 |
$discover_message = sprintf(
|
83 |
// translators: 1. YITH site link; 2. WordPress site link.
|
84 |
__( 'Discover all our plugins available on: %1$s and %2$s', 'yith-plugin-fw' ),
|
94 |
);
|
95 |
|
96 |
$title = __( 'Plugins Upgraded', 'yith-plugin-fw' );
|
97 |
+
$message = __( 'From now on, you can find the option panel of YITH plugins in YITH menu. Every time one of our plugins is added, a new entry will be added to this menu. For example, after the update, plugin options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from previous location to YITH menu.', 'yith-plugin-fw' );
|
98 |
$discover_message = sprintf(
|
99 |
// translators: 1. YITH site link; 2. WordPress site link.
|
100 |
__( 'Discover all our plugins available on: %1$s and %2$s', 'yith-plugin-fw' ),
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.5.
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
-
* @version 3.5.
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.5.5
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
+
* @version 3.5.5
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
plugin-fw/languages/yith-plugin-fw-el.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-el.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date:
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -147,19 +147,17 @@ msgstr "Ενεργοποιημένα Πρόσθετα"
|
|
147 |
#: includes/class-yit-pointers.php:81
|
148 |
#, fuzzy
|
149 |
msgid ""
|
150 |
-
"From now on, you can find all plugin options in YITH
|
151 |
-
"customization settings will be available as a new entry in YITH
|
152 |
msgstr ""
|
153 |
-
"Πλέον μπορείτε να βρείτε όλες τις επιλογές
|
154 |
-
"Plugins
|
155 |
-
"
|
156 |
-
"θα είναι διαθέσιμες ως νέα εγγραφή στο μενού YITH Plugins."
|
157 |
|
158 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
159 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
160 |
-
#, fuzzy
|
161 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
162 |
-
msgstr "Ανακαλύψτε όλα τα διαθέσιμά μας πρόσθετα στο:"
|
163 |
|
164 |
#: includes/class-yit-pointers.php:96
|
165 |
msgid "Plugins Upgraded"
|
@@ -168,21 +166,18 @@ msgstr "Αναβαθμισμένα Πρόσθετα"
|
|
168 |
#: includes/class-yit-pointers.php:97
|
169 |
#, fuzzy
|
170 |
msgid ""
|
171 |
-
"From now on, you can find the option panel of YITH plugins in YITH
|
172 |
-
"
|
173 |
-
"
|
174 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
175 |
-
"previous location to YITH
|
176 |
msgstr ""
|
177 |
-
"Πλέον μπορείτε να βρείτε
|
178 |
-
"Plugins
|
179 |
-
"
|
180 |
-
"
|
181 |
-
"
|
182 |
-
"
|
183 |
-
"Ajax Search, etc.)\n"
|
184 |
-
" θα μεταφέρονται από την προηγούμενη "
|
185 |
-
"τοποθεσία στην καρτέλα YITH Plugins."
|
186 |
|
187 |
#: includes/class-yith-dashboard.php:35
|
188 |
msgid "YITH Latest Updates"
|
@@ -435,7 +430,7 @@ msgstr "Προσαρμογή:"
|
|
435 |
|
436 |
#: templates/fields/date-format.php:70
|
437 |
msgid "Preview:"
|
438 |
-
msgstr ""
|
439 |
|
440 |
#: templates/fields/icons.php:63
|
441 |
msgid "Set Default"
|
@@ -508,13 +503,12 @@ msgstr "Επαναφορά Προεπιλεγμένων"
|
|
508 |
|
509 |
#: templates/sysinfo/system-information-panel.php:12
|
510 |
msgid "PHPInfo"
|
511 |
-
msgstr ""
|
512 |
|
513 |
#: templates/sysinfo/system-information-panel.php:13
|
514 |
#: templates/sysinfo/tabs/error-log.php:25
|
515 |
-
#, fuzzy
|
516 |
msgid "Log Files"
|
517 |
-
msgstr "
|
518 |
|
519 |
#: templates/sysinfo/system-information-panel.php:22
|
520 |
msgid "YITH System Information"
|
@@ -530,11 +524,12 @@ msgstr "Αρχείο PHP error_log"
|
|
530 |
|
531 |
#: templates/sysinfo/tabs/error-log.php:60
|
532 |
msgid "Download"
|
533 |
-
msgstr ""
|
534 |
|
535 |
#: templates/sysinfo/tabs/error-log.php:72
|
536 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
537 |
msgstr ""
|
|
|
538 |
|
539 |
#. translators: %s file name.
|
540 |
#: templates/sysinfo/tabs/error-log.php:96
|
@@ -542,18 +537,20 @@ msgid ""
|
|
542 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
543 |
"file of your installation"
|
544 |
msgstr ""
|
|
|
|
|
545 |
|
546 |
#: templates/sysinfo/tabs/error-log.php:105
|
547 |
msgid "Copied!"
|
548 |
-
msgstr ""
|
549 |
|
550 |
#: templates/sysinfo/tabs/error-log.php:105
|
551 |
msgid "Copy Code"
|
552 |
-
msgstr ""
|
553 |
|
554 |
#: templates/sysinfo/tabs/main.php:15
|
555 |
msgid "Site Info"
|
556 |
-
msgstr ""
|
557 |
|
558 |
#: templates/sysinfo/tabs/main.php:20
|
559 |
msgid "Site URL"
|
@@ -577,12 +574,11 @@ msgstr "Όχι"
|
|
577 |
|
578 |
#: templates/sysinfo/tabs/main.php:45
|
579 |
msgid "External object cache"
|
580 |
-
msgstr ""
|
581 |
|
582 |
#: templates/sysinfo/tabs/main.php:54
|
583 |
-
#, fuzzy
|
584 |
msgid "Plugins Requirements"
|
585 |
-
msgstr "
|
586 |
|
587 |
#: yit-plugin.php:187
|
588 |
msgid "License"
|
@@ -676,18 +672,18 @@ msgctxt "Position in the \"Dimensions\" field"
|
|
676 |
msgid "Left"
|
677 |
msgstr "Αριστερά"
|
678 |
|
679 |
-
#: templates/fields/dimensions.php:
|
680 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
681 |
msgid "Link values together"
|
682 |
msgstr "Συνδέστε αξίες"
|
683 |
|
684 |
#: templates/fields/onoff.php:28
|
685 |
-
msgctxt "YES/NO button: use MAX
|
686 |
msgid "YES"
|
687 |
msgstr "ΝΑΙ"
|
688 |
|
689 |
#: templates/fields/onoff.php:29
|
690 |
-
msgctxt "YES/NO button: use MAX
|
691 |
msgid "NO"
|
692 |
msgstr "ΟΧΙ"
|
693 |
|
@@ -715,158 +711,3 @@ msgstr "Premium έκδοση"
|
|
715 |
msgctxt "Action links"
|
716 |
msgid "Settings"
|
717 |
msgstr "Ρυθμίσεις"
|
718 |
-
|
719 |
-
#~ msgctxt "taxonomy singular name"
|
720 |
-
#~ msgid "Category"
|
721 |
-
#~ msgstr "Κατηγορία"
|
722 |
-
|
723 |
-
#~ msgctxt "taxonomy general name"
|
724 |
-
#~ msgid "%s Categories"
|
725 |
-
#~ msgstr "Κατηγορίες %s"
|
726 |
-
|
727 |
-
#~ msgid "Show full PHPInfo"
|
728 |
-
#~ msgstr "Πλήρης εμφάνιση PHPInfo"
|
729 |
-
|
730 |
-
#~ msgid "Back to top"
|
731 |
-
#~ msgstr "Πίσω στην κορυφή"
|
732 |
-
|
733 |
-
#~ msgid "Back to System panel"
|
734 |
-
#~ msgstr "Πίσω στο πάνελ Συστήματος"
|
735 |
-
|
736 |
-
#~ msgid "(Default: <i %s></i> )"
|
737 |
-
#~ msgstr "(Προεπιλεγμένο: <i %s></i> )"
|
738 |
-
|
739 |
-
#~ msgid "(Default: %s <img src=\"%s\"/>)"
|
740 |
-
#~ msgstr "(Προεπιλεγμένο: %s <img src=\"%s\"/>)"
|
741 |
-
|
742 |
-
#~ msgid "Image preview"
|
743 |
-
#~ msgstr "Προεπισκόπηση εικόνας"
|
744 |
-
|
745 |
-
#~ msgid "and"
|
746 |
-
#~ msgstr "και"
|
747 |
-
|
748 |
-
#~ msgid "Upload multiple files"
|
749 |
-
#~ msgstr "Ανέβασμα πολλαπλών αρχείων"
|
750 |
-
|
751 |
-
#~ msgid "Add %s from images"
|
752 |
-
#~ msgstr "Προσθήκη %s από εικόνες"
|
753 |
-
|
754 |
-
#~ msgid "Show frontend of the %s"
|
755 |
-
#~ msgstr "Προβολή εμφάνισης του %s"
|
756 |
-
|
757 |
-
#~ msgid "Quick links"
|
758 |
-
#~ msgstr "Γρήγορα λινκ"
|
759 |
-
|
760 |
-
#~ msgid "layout settings"
|
761 |
-
#~ msgstr "ρυθμίσεις διάταξης"
|
762 |
-
|
763 |
-
#~ msgid "Layout for single page of this portfolio"
|
764 |
-
#~ msgstr "Διάταξη μονής σελίδας του πορτφόλιο"
|
765 |
-
|
766 |
-
#~ msgid "Single layout"
|
767 |
-
#~ msgstr "Μονή διάταξη"
|
768 |
-
|
769 |
-
#~ msgid "Set univocal name for each category page URL."
|
770 |
-
#~ msgstr "Ορίστε μονοσήμαντο όνομα για κάθε URL σελίδας κατηγορίας."
|
771 |
-
|
772 |
-
#~ msgid "Taxonomy Rewrite"
|
773 |
-
#~ msgstr "Επανεγγραφή Ταξινομίας"
|
774 |
-
|
775 |
-
#~ msgid ""
|
776 |
-
#~ "If you want to use categories in the portfolio, set a name for taxonomy. "
|
777 |
-
#~ "Name should be a slug (must not contain capital letters nor spaces) and "
|
778 |
-
#~ "must not be more than 32 characters long (database structure restriction)."
|
779 |
-
#~ msgstr ""
|
780 |
-
#~ "Αν θέλετε να χρησιμοποιήσετε κατηγορίες στο πορτφόλιο, ορίστε ένα όνομα "
|
781 |
-
#~ "για την ταξινομία. Το όνομα πρέπει να είναι slug (δεν πρέπει να "
|
782 |
-
#~ "περιλαμβάνει κεφαλαία γράμματα ή κενά) και δεν πρέπει να είναι μεγαλύτερο "
|
783 |
-
#~ "από 32 χαρακτήρες (περιορισμός δομής βάσης δεδομένων)."
|
784 |
-
|
785 |
-
#~ msgid "Taxonomy"
|
786 |
-
#~ msgstr "Ταξινομία"
|
787 |
-
|
788 |
-
#~ msgid "Set a label in plural (title of portfolio if empty)"
|
789 |
-
#~ msgstr ""
|
790 |
-
#~ "Ορίστε μια επιγραφή στον πληθυντικό (τίτλος πορτφόλιο αν είναι κενό)"
|
791 |
-
|
792 |
-
#~ msgid "Label in Plural"
|
793 |
-
#~ msgstr "Επιγραφή σε Πληθυντικό"
|
794 |
-
|
795 |
-
#~ msgid "Set a label in singular (title of portfolio if empty)"
|
796 |
-
#~ msgstr "Ορίστε μια επιγραφή στον ενικό (τίτλος πορτφόλιο αν είναι κενό)"
|
797 |
-
|
798 |
-
#~ msgid "Label in Singular"
|
799 |
-
#~ msgstr "Επιγραφή σε Ενικό"
|
800 |
-
|
801 |
-
#~ msgid ""
|
802 |
-
#~ "Univocal identification name in the URL for each product (slug from post "
|
803 |
-
#~ "if empty)"
|
804 |
-
#~ msgstr ""
|
805 |
-
#~ "Μονοσήμαντο όνομα ταυτοποίησης URL για κάθε προϊόν (slug από άρθρο αν "
|
806 |
-
#~ "είναι κενό)"
|
807 |
-
|
808 |
-
#~ msgid "Rewrite"
|
809 |
-
#~ msgstr "Επανεγγραφή"
|
810 |
-
|
811 |
-
#~ msgid "Layout for this %s"
|
812 |
-
#~ msgstr "Διάταξη για %s"
|
813 |
-
|
814 |
-
#~ msgid "Type"
|
815 |
-
#~ msgstr "Τύπος"
|
816 |
-
|
817 |
-
#~ msgid "%s Settings"
|
818 |
-
#~ msgstr "Ρυθμίσεις %s"
|
819 |
-
|
820 |
-
#~ msgid "Categories"
|
821 |
-
#~ msgstr "Κατηγορίες"
|
822 |
-
|
823 |
-
#~ msgid "Category"
|
824 |
-
#~ msgstr "Κατηγορία"
|
825 |
-
|
826 |
-
#~ msgid "New Category Name"
|
827 |
-
#~ msgstr "Όνομα Νέας Κατηγορίας"
|
828 |
-
|
829 |
-
#~ msgid "Add New Category"
|
830 |
-
#~ msgstr "Προσθήκη Νέας Κατηγορίας"
|
831 |
-
|
832 |
-
#~ msgid "Update Category"
|
833 |
-
#~ msgstr "Ενημέρωση Κατηγορίας"
|
834 |
-
|
835 |
-
#~ msgid "Edit Category"
|
836 |
-
#~ msgstr "Επεξεργασία Kατηγορίας"
|
837 |
-
|
838 |
-
#~ msgid "Parent Category:"
|
839 |
-
#~ msgstr "Γονική Κατηγορία:"
|
840 |
-
|
841 |
-
#~ msgid "Parent Category"
|
842 |
-
#~ msgstr "Γονική Κατηγορία"
|
843 |
-
|
844 |
-
#~ msgid "All Categories"
|
845 |
-
#~ msgstr "Όλες οι Κατηγορίες"
|
846 |
-
|
847 |
-
#~ msgid "No %s found in Trash"
|
848 |
-
#~ msgstr "Δεν βρέθηκε %s στον Κάδο Ανακύκλωσης"
|
849 |
-
|
850 |
-
#~ msgid "No %s found"
|
851 |
-
#~ msgstr "Δεν βρέθηκε %s"
|
852 |
-
|
853 |
-
#~ msgid "Search %s"
|
854 |
-
#~ msgstr "Αναζήτηση %s"
|
855 |
-
|
856 |
-
#~ msgid "View %s"
|
857 |
-
#~ msgstr "Προβολή %s"
|
858 |
-
|
859 |
-
#~ msgid "All %s"
|
860 |
-
#~ msgstr "Όλα %s"
|
861 |
-
|
862 |
-
#~ msgid "New %s"
|
863 |
-
#~ msgstr "Νέο %s"
|
864 |
-
|
865 |
-
#~ msgid "Edit %s"
|
866 |
-
#~ msgstr "Επεξεργασία %s"
|
867 |
-
|
868 |
-
#~ msgid "Add New %s"
|
869 |
-
#~ msgstr "Προσθήκη Νέου %s"
|
870 |
-
|
871 |
-
#~ msgid "Add %s"
|
872 |
-
#~ msgstr "Προσθήκη %s"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-02-15 07:49:38+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-02-11 18:09:18+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
147 |
#: includes/class-yit-pointers.php:81
|
148 |
#, fuzzy
|
149 |
msgid ""
|
150 |
+
"From now on, you can find all plugin options in YITH menu. Plugin "
|
151 |
+
"customization settings will be available as a new entry in YITH menu."
|
152 |
msgstr ""
|
153 |
+
"Πλέον θα μπορείτε να βρείτε όλες τις επιλογές πρόσθετων στο μενού YITH "
|
154 |
+
"Plugins. Οι ρυθμίσεις προσαρμογής πρόσθετων θα είναι διαθέσιμη ως νέα "
|
155 |
+
"είσοδος στο μενού YITH Plugins."
|
|
|
156 |
|
157 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
158 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
|
|
159 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
160 |
+
msgstr "Ανακαλύψτε όλα τα διαθέσιμά μας πρόσθετα στο: %1$s και %2$s"
|
161 |
|
162 |
#: includes/class-yit-pointers.php:96
|
163 |
msgid "Plugins Upgraded"
|
166 |
#: includes/class-yit-pointers.php:97
|
167 |
#, fuzzy
|
168 |
msgid ""
|
169 |
+
"From now on, you can find the option panel of YITH plugins in YITH menu. "
|
170 |
+
"Every time one of our plugins is added, a new entry will be added to this "
|
171 |
+
"menu. For example, after the update, plugin options (such as for YITH "
|
172 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
173 |
+
"previous location to YITH menu."
|
174 |
msgstr ""
|
175 |
+
"Πλέον θα μπορείτε να βρείτε το πάνελ επιλογών πρόσθετων YITH στο μενού YITH "
|
176 |
+
"Plugins. Κάθε φορά που ένα απο τα πρόσθετά μας προστίθεται, θα προστίθεται "
|
177 |
+
"και μια νέα είσοδος σε αυτό το μενού. Για παράδειγμα, μετά την ενημέρωση, οι "
|
178 |
+
"επιλογές πρόσθετου (όπως για το YITH WooCommerce Wishlist, YITH WooCommerce "
|
179 |
+
"Ajax Search, κλπ.) θα μεταφερθούν από την προηγούμενη τοποθεσία στην καρτέλα "
|
180 |
+
"YITH Plugins."
|
|
|
|
|
|
|
181 |
|
182 |
#: includes/class-yith-dashboard.php:35
|
183 |
msgid "YITH Latest Updates"
|
430 |
|
431 |
#: templates/fields/date-format.php:70
|
432 |
msgid "Preview:"
|
433 |
+
msgstr "Προεπισκόπηση:"
|
434 |
|
435 |
#: templates/fields/icons.php:63
|
436 |
msgid "Set Default"
|
503 |
|
504 |
#: templates/sysinfo/system-information-panel.php:12
|
505 |
msgid "PHPInfo"
|
506 |
+
msgstr "PHPInfo"
|
507 |
|
508 |
#: templates/sysinfo/system-information-panel.php:13
|
509 |
#: templates/sysinfo/tabs/error-log.php:25
|
|
|
510 |
msgid "Log Files"
|
511 |
+
msgstr "Αρχεία Καταγραφής"
|
512 |
|
513 |
#: templates/sysinfo/system-information-panel.php:22
|
514 |
msgid "YITH System Information"
|
524 |
|
525 |
#: templates/sysinfo/tabs/error-log.php:60
|
526 |
msgid "Download"
|
527 |
+
msgstr "Κατέβασμα"
|
528 |
|
529 |
#: templates/sysinfo/tabs/error-log.php:72
|
530 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
531 |
msgstr ""
|
532 |
+
"Το μέγεθος αρχείου υπερβαίνει τα 8 megabytes οπότε θα πρέπει να το κατεβάσετε"
|
533 |
|
534 |
#. translators: %s file name.
|
535 |
#: templates/sysinfo/tabs/error-log.php:96
|
537 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
538 |
"file of your installation"
|
539 |
msgstr ""
|
540 |
+
"Δεν υπάρχει διαθέσιμο αρχείο Καταγραφής. Ενεργοποιήστε την αποσφαλμάτωση "
|
541 |
+
"WordPress προσθέτοντάς το στο αρχείο %s της εγκατάστασής σας"
|
542 |
|
543 |
#: templates/sysinfo/tabs/error-log.php:105
|
544 |
msgid "Copied!"
|
545 |
+
msgstr "Έγινε αντιγραφή!"
|
546 |
|
547 |
#: templates/sysinfo/tabs/error-log.php:105
|
548 |
msgid "Copy Code"
|
549 |
+
msgstr "Αντιγραφή Κώδικα"
|
550 |
|
551 |
#: templates/sysinfo/tabs/main.php:15
|
552 |
msgid "Site Info"
|
553 |
+
msgstr "Στοιχεία Ιστότοπου"
|
554 |
|
555 |
#: templates/sysinfo/tabs/main.php:20
|
556 |
msgid "Site URL"
|
574 |
|
575 |
#: templates/sysinfo/tabs/main.php:45
|
576 |
msgid "External object cache"
|
577 |
+
msgstr "Cache εξωτερικού αντικειμένου"
|
578 |
|
579 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
580 |
msgid "Plugins Requirements"
|
581 |
+
msgstr "Προϋποθέσεις Πρόσθετων"
|
582 |
|
583 |
#: yit-plugin.php:187
|
584 |
msgid "License"
|
672 |
msgid "Left"
|
673 |
msgstr "Αριστερά"
|
674 |
|
675 |
+
#: templates/fields/dimensions.php:94
|
676 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
677 |
msgid "Link values together"
|
678 |
msgstr "Συνδέστε αξίες"
|
679 |
|
680 |
#: templates/fields/onoff.php:28
|
681 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
682 |
msgid "YES"
|
683 |
msgstr "ΝΑΙ"
|
684 |
|
685 |
#: templates/fields/onoff.php:29
|
686 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
687 |
msgid "NO"
|
688 |
msgstr "ΟΧΙ"
|
689 |
|
711 |
msgctxt "Action links"
|
712 |
msgid "Settings"
|
713 |
msgstr "Ρυθμίσεις"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/languages/yith-plugin-fw-es_ES.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -147,19 +147,17 @@ msgstr "Plugins activados"
|
|
147 |
#: includes/class-yit-pointers.php:81
|
148 |
#, fuzzy
|
149 |
msgid ""
|
150 |
-
"From now on, you can find all plugin options in YITH
|
151 |
-
"customization settings will be available as a new entry in YITH
|
152 |
msgstr ""
|
153 |
-
"Desde ahora, puedes encontrar todas las opciones
|
154 |
-
"
|
155 |
-
"
|
156 |
-
"nueva entrada en el menú YITH Plugins."
|
157 |
|
158 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
159 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
160 |
-
#, fuzzy
|
161 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
162 |
-
msgstr "Descubre todos nuestros plugins disponibles en:"
|
163 |
|
164 |
#: includes/class-yit-pointers.php:96
|
165 |
msgid "Plugins Upgraded"
|
@@ -168,19 +166,18 @@ msgstr "Plugins mejorados"
|
|
168 |
#: includes/class-yit-pointers.php:97
|
169 |
#, fuzzy
|
170 |
msgid ""
|
171 |
-
"From now on, you can find the option panel of YITH plugins in YITH
|
172 |
-
"
|
173 |
-
"
|
174 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
175 |
-
"previous location to YITH
|
176 |
msgstr ""
|
177 |
-
"Desde ahora
|
178 |
-
"
|
179 |
-
"
|
180 |
-
"
|
181 |
-
"
|
182 |
-
"
|
183 |
-
"moverán de su ubicación previa a la pestaña de YITH Plugins."
|
184 |
|
185 |
#: includes/class-yith-dashboard.php:35
|
186 |
msgid "YITH Latest Updates"
|
@@ -431,7 +428,7 @@ msgstr "Personalizado:"
|
|
431 |
|
432 |
#: templates/fields/date-format.php:70
|
433 |
msgid "Preview:"
|
434 |
-
msgstr ""
|
435 |
|
436 |
#: templates/fields/icons.php:63
|
437 |
msgid "Set Default"
|
@@ -504,13 +501,12 @@ msgstr "Restablecer valores predeterminados"
|
|
504 |
|
505 |
#: templates/sysinfo/system-information-panel.php:12
|
506 |
msgid "PHPInfo"
|
507 |
-
msgstr ""
|
508 |
|
509 |
#: templates/sysinfo/system-information-panel.php:13
|
510 |
#: templates/sysinfo/tabs/error-log.php:25
|
511 |
-
#, fuzzy
|
512 |
msgid "Log Files"
|
513 |
-
msgstr "
|
514 |
|
515 |
#: templates/sysinfo/system-information-panel.php:22
|
516 |
msgid "YITH System Information"
|
@@ -526,11 +522,11 @@ msgstr "Archivo PHP error_log"
|
|
526 |
|
527 |
#: templates/sysinfo/tabs/error-log.php:60
|
528 |
msgid "Download"
|
529 |
-
msgstr ""
|
530 |
|
531 |
#: templates/sysinfo/tabs/error-log.php:72
|
532 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
533 |
-
msgstr ""
|
534 |
|
535 |
#. translators: %s file name.
|
536 |
#: templates/sysinfo/tabs/error-log.php:96
|
@@ -538,18 +534,20 @@ msgid ""
|
|
538 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
539 |
"file of your installation"
|
540 |
msgstr ""
|
|
|
|
|
541 |
|
542 |
#: templates/sysinfo/tabs/error-log.php:105
|
543 |
msgid "Copied!"
|
544 |
-
msgstr ""
|
545 |
|
546 |
#: templates/sysinfo/tabs/error-log.php:105
|
547 |
msgid "Copy Code"
|
548 |
-
msgstr ""
|
549 |
|
550 |
#: templates/sysinfo/tabs/main.php:15
|
551 |
msgid "Site Info"
|
552 |
-
msgstr ""
|
553 |
|
554 |
#: templates/sysinfo/tabs/main.php:20
|
555 |
msgid "Site URL"
|
@@ -573,12 +571,11 @@ msgstr "No"
|
|
573 |
|
574 |
#: templates/sysinfo/tabs/main.php:45
|
575 |
msgid "External object cache"
|
576 |
-
msgstr ""
|
577 |
|
578 |
#: templates/sysinfo/tabs/main.php:54
|
579 |
-
#, fuzzy
|
580 |
msgid "Plugins Requirements"
|
581 |
-
msgstr "
|
582 |
|
583 |
#: yit-plugin.php:187
|
584 |
msgid "License"
|
@@ -670,18 +667,18 @@ msgctxt "Position in the \"Dimensions\" field"
|
|
670 |
msgid "Left"
|
671 |
msgstr "Izquierda"
|
672 |
|
673 |
-
#: templates/fields/dimensions.php:
|
674 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
675 |
msgid "Link values together"
|
676 |
msgstr "Enlazar valores juntos"
|
677 |
|
678 |
#: templates/fields/onoff.php:28
|
679 |
-
msgctxt "YES/NO button: use MAX
|
680 |
msgid "YES"
|
681 |
msgstr "SÍ"
|
682 |
|
683 |
#: templates/fields/onoff.php:29
|
684 |
-
msgctxt "YES/NO button: use MAX
|
685 |
msgid "NO"
|
686 |
msgstr "NO"
|
687 |
|
@@ -709,159 +706,3 @@ msgstr "Versión premium"
|
|
709 |
msgctxt "Action links"
|
710 |
msgid "Settings"
|
711 |
msgstr "Ajustes"
|
712 |
-
|
713 |
-
#~ msgctxt "taxonomy singular name"
|
714 |
-
#~ msgid "Category"
|
715 |
-
#~ msgstr "Categoría"
|
716 |
-
|
717 |
-
#~ msgctxt "taxonomy general name"
|
718 |
-
#~ msgid "%s Categories"
|
719 |
-
#~ msgstr "Categorías %s"
|
720 |
-
|
721 |
-
#~ msgid "Show full PHPInfo"
|
722 |
-
#~ msgstr "Mostrar PHPInfo completa"
|
723 |
-
|
724 |
-
#~ msgid "Back to top"
|
725 |
-
#~ msgstr "Volver a la parte superior"
|
726 |
-
|
727 |
-
#~ msgid "Back to System panel"
|
728 |
-
#~ msgstr "Volver al panel del Sistema"
|
729 |
-
|
730 |
-
#~ msgid "(Default: <i %s></i> )"
|
731 |
-
#~ msgstr "(Predeterminado: <i %s></i> )"
|
732 |
-
|
733 |
-
#~ msgid "(Default: %s <img src=\"%s\"/>)"
|
734 |
-
#~ msgstr "(Predeterminado: %s <img src=\"%s\"/>)"
|
735 |
-
|
736 |
-
#~ msgid "Image preview"
|
737 |
-
#~ msgstr "Vista previa de la imagen"
|
738 |
-
|
739 |
-
#~ msgid "and"
|
740 |
-
#~ msgstr "y"
|
741 |
-
|
742 |
-
#~ msgid "Upload multiple files"
|
743 |
-
#~ msgstr "Subir varios archivos"
|
744 |
-
|
745 |
-
#~ msgid "Add %s from images"
|
746 |
-
#~ msgstr "Añadir %s desde imágenes"
|
747 |
-
|
748 |
-
#~ msgid "Show frontend of the %s"
|
749 |
-
#~ msgstr "Mostrar frontend de %s"
|
750 |
-
|
751 |
-
#~ msgid "Quick links"
|
752 |
-
#~ msgstr "Enlaces rápidos"
|
753 |
-
|
754 |
-
#~ msgid "layout settings"
|
755 |
-
#~ msgstr "ajustes de diseño"
|
756 |
-
|
757 |
-
#~ msgid "Layout for single page of this portfolio"
|
758 |
-
#~ msgstr "Diseño para página individual de este porfolio"
|
759 |
-
|
760 |
-
#~ msgid "Single layout"
|
761 |
-
#~ msgstr "Diseño individual"
|
762 |
-
|
763 |
-
#~ msgid "Set univocal name for each category page URL."
|
764 |
-
#~ msgstr "Establece un nombre para cada URL de página de categoría"
|
765 |
-
|
766 |
-
#~ msgid "Taxonomy Rewrite"
|
767 |
-
#~ msgstr "Rescribir taxonomía"
|
768 |
-
|
769 |
-
#~ msgid ""
|
770 |
-
#~ "If you want to use categories in the portfolio, set a name for taxonomy. "
|
771 |
-
#~ "Name should be a slug (must not contain capital letters nor spaces) and "
|
772 |
-
#~ "must not be more than 32 characters long (database structure restriction)."
|
773 |
-
#~ msgstr ""
|
774 |
-
#~ "Si quieres usar categorías en este porfolio, establece un nombre para la "
|
775 |
-
#~ "taxonomía. El nombre debe ser un slug (no debe contener mayúsculas ni "
|
776 |
-
#~ "espacios) y no debe tener más de 32 caracteres de longitud (restricción "
|
777 |
-
#~ "de estructura de la base de datos)."
|
778 |
-
|
779 |
-
#~ msgid "Taxonomy"
|
780 |
-
#~ msgstr "Taxonomía"
|
781 |
-
|
782 |
-
#~ msgid "Set a label in plural (title of portfolio if empty)"
|
783 |
-
#~ msgstr ""
|
784 |
-
#~ "Establece una etiqueta en plural (título del porfolio si está vacío)"
|
785 |
-
|
786 |
-
#~ msgid "Label in Plural"
|
787 |
-
#~ msgstr "Etiqueta en Plural"
|
788 |
-
|
789 |
-
#~ msgid "Set a label in singular (title of portfolio if empty)"
|
790 |
-
#~ msgstr ""
|
791 |
-
#~ "Establece una etiqueta en singular (título del porfolio si está vacío)"
|
792 |
-
|
793 |
-
#~ msgid "Label in Singular"
|
794 |
-
#~ msgstr "Etiqueta en Singular"
|
795 |
-
|
796 |
-
#~ msgid ""
|
797 |
-
#~ "Univocal identification name in the URL for each product (slug from post "
|
798 |
-
#~ "if empty)"
|
799 |
-
#~ msgstr ""
|
800 |
-
#~ "Nombre de identificación unívoco en la URL para cada producto (slug de la "
|
801 |
-
#~ "entrada si está vacío)"
|
802 |
-
|
803 |
-
#~ msgid "Rewrite"
|
804 |
-
#~ msgstr "Rescribir"
|
805 |
-
|
806 |
-
#~ msgid "Layout for this %s"
|
807 |
-
#~ msgstr "Diseño para este %s"
|
808 |
-
|
809 |
-
#~ msgid "Type"
|
810 |
-
#~ msgstr "Tipo"
|
811 |
-
|
812 |
-
#~ msgid "%s Settings"
|
813 |
-
#~ msgstr "Ajustes de %s"
|
814 |
-
|
815 |
-
#~ msgid "Categories"
|
816 |
-
#~ msgstr "Categorías"
|
817 |
-
|
818 |
-
#~ msgid "Category"
|
819 |
-
#~ msgstr "Categoría"
|
820 |
-
|
821 |
-
#~ msgid "New Category Name"
|
822 |
-
#~ msgstr "Nuevo nombre de categoría"
|
823 |
-
|
824 |
-
#~ msgid "Add New Category"
|
825 |
-
#~ msgstr "Añadir nueva categoría"
|
826 |
-
|
827 |
-
#~ msgid "Update Category"
|
828 |
-
#~ msgstr "Actualizar categoría"
|
829 |
-
|
830 |
-
#~ msgid "Edit Category"
|
831 |
-
#~ msgstr "Editar categoría"
|
832 |
-
|
833 |
-
#~ msgid "Parent Category:"
|
834 |
-
#~ msgstr "Categoría superior:"
|
835 |
-
|
836 |
-
#~ msgid "Parent Category"
|
837 |
-
#~ msgstr "Categoría superior"
|
838 |
-
|
839 |
-
#~ msgid "All Categories"
|
840 |
-
#~ msgstr "Todas las categorías"
|
841 |
-
|
842 |
-
#~ msgid "No %s found in Trash"
|
843 |
-
#~ msgstr "No se han encontrado %s en la Papelera"
|
844 |
-
|
845 |
-
#~ msgid "No %s found"
|
846 |
-
#~ msgstr "No se han encontrado %s"
|
847 |
-
|
848 |
-
#~ msgid "Search %s"
|
849 |
-
#~ msgstr "Buscar %s"
|
850 |
-
|
851 |
-
#~ msgid "View %s"
|
852 |
-
#~ msgstr "Ver %s"
|
853 |
-
|
854 |
-
#~ msgid "All %s"
|
855 |
-
#~ msgstr "Todas %s"
|
856 |
-
|
857 |
-
#~ msgid "New %s"
|
858 |
-
#~ msgstr "Nuevo %s"
|
859 |
-
|
860 |
-
#~ msgid "Edit %s"
|
861 |
-
#~ msgstr "Editar %s"
|
862 |
-
|
863 |
-
#~ msgid "Add New %s"
|
864 |
-
#~ msgstr "Añadir nueva %s"
|
865 |
-
|
866 |
-
#~ msgid "Add %s"
|
867 |
-
#~ msgstr "Añadir %s"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-02-15 07:49:38+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-02-05 14:41:38+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
147 |
#: includes/class-yit-pointers.php:81
|
148 |
#, fuzzy
|
149 |
msgid ""
|
150 |
+
"From now on, you can find all plugin options in YITH menu. Plugin "
|
151 |
+
"customization settings will be available as a new entry in YITH menu."
|
152 |
msgstr ""
|
153 |
+
"Desde ahora, puedes encontrar todas las opciones de los plugins en el menú "
|
154 |
+
"YITH plugins. La personalización de los ajustes del plugins estará "
|
155 |
+
"disponible como una nueva entrada en el menú YITH plugins."
|
|
|
156 |
|
157 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
158 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
|
|
159 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
160 |
+
msgstr "Descubre todos nuestros plugins disponibles en: %1$s y %2$s"
|
161 |
|
162 |
#: includes/class-yit-pointers.php:96
|
163 |
msgid "Plugins Upgraded"
|
166 |
#: includes/class-yit-pointers.php:97
|
167 |
#, fuzzy
|
168 |
msgid ""
|
169 |
+
"From now on, you can find the option panel of YITH plugins in YITH menu. "
|
170 |
+
"Every time one of our plugins is added, a new entry will be added to this "
|
171 |
+
"menu. For example, after the update, plugin options (such as for YITH "
|
172 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
173 |
+
"previous location to YITH menu."
|
174 |
msgstr ""
|
175 |
+
"Desde ahora puedes encontrar la opción en el panel de Plugins de YITH en el "
|
176 |
+
"menú YITH plugins. Cada vez que uno de nuestros plugins es añadido, una "
|
177 |
+
"nueva entrada será añadida a este menú. Por ejemplo, tras la actualización, "
|
178 |
+
"las opciones de los plugins (tales como YITH WooCommerce Wishlist, YITH "
|
179 |
+
"WooCommerce Ajax Search, etc.) serán movidos de la ubicación previa a la "
|
180 |
+
"pestaña de YITH plugins."
|
|
|
181 |
|
182 |
#: includes/class-yith-dashboard.php:35
|
183 |
msgid "YITH Latest Updates"
|
428 |
|
429 |
#: templates/fields/date-format.php:70
|
430 |
msgid "Preview:"
|
431 |
+
msgstr "Vista previa:"
|
432 |
|
433 |
#: templates/fields/icons.php:63
|
434 |
msgid "Set Default"
|
501 |
|
502 |
#: templates/sysinfo/system-information-panel.php:12
|
503 |
msgid "PHPInfo"
|
504 |
+
msgstr "Información PHP"
|
505 |
|
506 |
#: templates/sysinfo/system-information-panel.php:13
|
507 |
#: templates/sysinfo/tabs/error-log.php:25
|
|
|
508 |
msgid "Log Files"
|
509 |
+
msgstr "Archivos de registro"
|
510 |
|
511 |
#: templates/sysinfo/system-information-panel.php:22
|
512 |
msgid "YITH System Information"
|
522 |
|
523 |
#: templates/sysinfo/tabs/error-log.php:60
|
524 |
msgid "Download"
|
525 |
+
msgstr "Descargar"
|
526 |
|
527 |
#: templates/sysinfo/tabs/error-log.php:72
|
528 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
529 |
+
msgstr "El archivo excede los 8 megabytes por lo que debe ser descargado"
|
530 |
|
531 |
#. translators: %s file name.
|
532 |
#: templates/sysinfo/tabs/error-log.php:96
|
534 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
535 |
"file of your installation"
|
536 |
msgstr ""
|
537 |
+
"No hay archivo de registro disponible. Activa la depuración de WordPress "
|
538 |
+
"añadiendo esto en el archivo %s de tu instalación"
|
539 |
|
540 |
#: templates/sysinfo/tabs/error-log.php:105
|
541 |
msgid "Copied!"
|
542 |
+
msgstr "¡Copiado!"
|
543 |
|
544 |
#: templates/sysinfo/tabs/error-log.php:105
|
545 |
msgid "Copy Code"
|
546 |
+
msgstr "Copiar código"
|
547 |
|
548 |
#: templates/sysinfo/tabs/main.php:15
|
549 |
msgid "Site Info"
|
550 |
+
msgstr "Información del sitio"
|
551 |
|
552 |
#: templates/sysinfo/tabs/main.php:20
|
553 |
msgid "Site URL"
|
571 |
|
572 |
#: templates/sysinfo/tabs/main.php:45
|
573 |
msgid "External object cache"
|
574 |
+
msgstr "Caché objeto externo"
|
575 |
|
576 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
577 |
msgid "Plugins Requirements"
|
578 |
+
msgstr "Requerimientos de los plugins"
|
579 |
|
580 |
#: yit-plugin.php:187
|
581 |
msgid "License"
|
667 |
msgid "Left"
|
668 |
msgstr "Izquierda"
|
669 |
|
670 |
+
#: templates/fields/dimensions.php:94
|
671 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
672 |
msgid "Link values together"
|
673 |
msgstr "Enlazar valores juntos"
|
674 |
|
675 |
#: templates/fields/onoff.php:28
|
676 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
677 |
msgid "YES"
|
678 |
msgstr "SÍ"
|
679 |
|
680 |
#: templates/fields/onoff.php:29
|
681 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
682 |
msgid "NO"
|
683 |
msgstr "NO"
|
684 |
|
706 |
msgctxt "Action links"
|
707 |
msgid "Settings"
|
708 |
msgstr "Ajustes"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date:
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -143,42 +143,28 @@ msgid "Plugins Activated"
|
|
143 |
msgstr "Plugin attivati"
|
144 |
|
145 |
#: includes/class-yit-pointers.php:81
|
146 |
-
#, fuzzy
|
147 |
msgid ""
|
148 |
-
"From now on, you can find all plugin options in YITH
|
149 |
-
"customization settings will be available as a new entry in YITH
|
150 |
msgstr ""
|
151 |
-
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu YITH "
|
152 |
-
"Plugins.\n"
|
153 |
-
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu "
|
154 |
-
"YITH Plugins."
|
155 |
|
156 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
157 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
158 |
-
#, fuzzy
|
159 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
160 |
-
msgstr "Scopri tutti i plugin disponibili su:"
|
161 |
|
162 |
#: includes/class-yit-pointers.php:96
|
163 |
msgid "Plugins Upgraded"
|
164 |
msgstr "Plugin aggiornati"
|
165 |
|
166 |
#: includes/class-yit-pointers.php:97
|
167 |
-
#, fuzzy
|
168 |
msgid ""
|
169 |
-
"From now on, you can find the option panel of YITH plugins in YITH
|
170 |
-
"
|
171 |
-
"
|
172 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
173 |
-
"previous location to YITH
|
174 |
msgstr ""
|
175 |
-
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu YITH "
|
176 |
-
"Plugins.\n"
|
177 |
-
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in "
|
178 |
-
"questo menu.\n"
|
179 |
-
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio "
|
180 |
-
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
181 |
-
"saranno trasferite nella scheda YITH Plugins."
|
182 |
|
183 |
#: includes/class-yith-dashboard.php:35
|
184 |
msgid "YITH Latest Updates"
|
@@ -430,7 +416,7 @@ msgstr "Personalizzato:"
|
|
430 |
|
431 |
#: templates/fields/date-format.php:70
|
432 |
msgid "Preview:"
|
433 |
-
msgstr ""
|
434 |
|
435 |
#: templates/fields/icons.php:63
|
436 |
msgid "Set Default"
|
@@ -503,13 +489,12 @@ msgstr "Ripristina impostazioni iniziali"
|
|
503 |
|
504 |
#: templates/sysinfo/system-information-panel.php:12
|
505 |
msgid "PHPInfo"
|
506 |
-
msgstr ""
|
507 |
|
508 |
#: templates/sysinfo/system-information-panel.php:13
|
509 |
#: templates/sysinfo/tabs/error-log.php:25
|
510 |
-
#, fuzzy
|
511 |
msgid "Log Files"
|
512 |
-
msgstr "
|
513 |
|
514 |
#: templates/sysinfo/system-information-panel.php:22
|
515 |
msgid "YITH System Information"
|
@@ -525,11 +510,13 @@ msgstr "PHP error_log file"
|
|
525 |
|
526 |
#: templates/sysinfo/tabs/error-log.php:60
|
527 |
msgid "Download"
|
528 |
-
msgstr ""
|
529 |
|
530 |
#: templates/sysinfo/tabs/error-log.php:72
|
531 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
532 |
msgstr ""
|
|
|
|
|
533 |
|
534 |
#. translators: %s file name.
|
535 |
#: templates/sysinfo/tabs/error-log.php:96
|
@@ -537,18 +524,20 @@ msgid ""
|
|
537 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
538 |
"file of your installation"
|
539 |
msgstr ""
|
|
|
|
|
540 |
|
541 |
#: templates/sysinfo/tabs/error-log.php:105
|
542 |
msgid "Copied!"
|
543 |
-
msgstr ""
|
544 |
|
545 |
#: templates/sysinfo/tabs/error-log.php:105
|
546 |
msgid "Copy Code"
|
547 |
-
msgstr ""
|
548 |
|
549 |
#: templates/sysinfo/tabs/main.php:15
|
550 |
msgid "Site Info"
|
551 |
-
msgstr ""
|
552 |
|
553 |
#: templates/sysinfo/tabs/main.php:20
|
554 |
msgid "Site URL"
|
@@ -572,12 +561,11 @@ msgstr "No"
|
|
572 |
|
573 |
#: templates/sysinfo/tabs/main.php:45
|
574 |
msgid "External object cache"
|
575 |
-
msgstr ""
|
576 |
|
577 |
#: templates/sysinfo/tabs/main.php:54
|
578 |
-
#, fuzzy
|
579 |
msgid "Plugins Requirements"
|
580 |
-
msgstr "
|
581 |
|
582 |
#: yit-plugin.php:187
|
583 |
msgid "License"
|
@@ -670,18 +658,18 @@ msgctxt "Position in the \"Dimensions\" field"
|
|
670 |
msgid "Left"
|
671 |
msgstr "A sinistra"
|
672 |
|
673 |
-
#: templates/fields/dimensions.php:
|
674 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
675 |
msgid "Link values together"
|
676 |
msgstr "Collega i valori"
|
677 |
|
678 |
#: templates/fields/onoff.php:28
|
679 |
-
msgctxt "YES/NO button: use MAX
|
680 |
msgid "YES"
|
681 |
msgstr "SÌ"
|
682 |
|
683 |
#: templates/fields/onoff.php:29
|
684 |
-
msgctxt "YES/NO button: use MAX
|
685 |
msgid "NO"
|
686 |
msgstr "NO"
|
687 |
|
@@ -709,158 +697,3 @@ msgstr "Versione premium"
|
|
709 |
msgctxt "Action links"
|
710 |
msgid "Settings"
|
711 |
msgstr "Impostazioni"
|
712 |
-
|
713 |
-
#~ msgctxt "taxonomy singular name"
|
714 |
-
#~ msgid "Category"
|
715 |
-
#~ msgstr "Categoria"
|
716 |
-
|
717 |
-
#~ msgctxt "taxonomy general name"
|
718 |
-
#~ msgid "%s Categories"
|
719 |
-
#~ msgstr "%s Categorie"
|
720 |
-
|
721 |
-
#~ msgid "Show full PHPInfo"
|
722 |
-
#~ msgstr "Mostra tutto il contenuto di PHPInfo"
|
723 |
-
|
724 |
-
#~ msgid "Back to top"
|
725 |
-
#~ msgstr "Torna su"
|
726 |
-
|
727 |
-
#~ msgid "Back to System panel"
|
728 |
-
#~ msgstr "Torna al pannello di Sistema"
|
729 |
-
|
730 |
-
#~ msgid "(Default: <i %s></i> )"
|
731 |
-
#~ msgstr "(Default: <i %s></i> )"
|
732 |
-
|
733 |
-
#~ msgid "(Default: %s <img src=\"%s\"/>)"
|
734 |
-
#~ msgstr "(Default: %s <img src=\"%s\"/>)"
|
735 |
-
|
736 |
-
#~ msgid "Image preview"
|
737 |
-
#~ msgstr "Anteprima immagine"
|
738 |
-
|
739 |
-
#~ msgid "and"
|
740 |
-
#~ msgstr "e"
|
741 |
-
|
742 |
-
#~ msgid "Upload multiple files"
|
743 |
-
#~ msgstr "Carica file multipli"
|
744 |
-
|
745 |
-
#~ msgid "Add %s from images"
|
746 |
-
#~ msgstr "Aggiungi %s dalla immagini"
|
747 |
-
|
748 |
-
#~ msgid "Show frontend of the %s"
|
749 |
-
#~ msgstr "Mostra front end di %s"
|
750 |
-
|
751 |
-
#~ msgid "Quick links"
|
752 |
-
#~ msgstr "Link rapidi"
|
753 |
-
|
754 |
-
#~ msgid "layout settings"
|
755 |
-
#~ msgstr "impostazioni di layout"
|
756 |
-
|
757 |
-
#~ msgid "Layout for single page of this portfolio"
|
758 |
-
#~ msgstr "Layout per pagina singola per questo portfolio"
|
759 |
-
|
760 |
-
#~ msgid "Single layout"
|
761 |
-
#~ msgstr "Layout singolo"
|
762 |
-
|
763 |
-
#~ msgid "Set univocal name for each category page URL."
|
764 |
-
#~ msgstr ""
|
765 |
-
#~ "Imposta un nome univoco per l'URL della pagina di ciascuna categoria."
|
766 |
-
|
767 |
-
#~ msgid "Taxonomy Rewrite"
|
768 |
-
#~ msgstr "Riscrivi tassonomia"
|
769 |
-
|
770 |
-
#~ msgid ""
|
771 |
-
#~ "If you want to use categories in the portfolio, set a name for taxonomy. "
|
772 |
-
#~ "Name should be a slug (must not contain capital letters nor spaces) and "
|
773 |
-
#~ "must not be more than 32 characters long (database structure restriction)."
|
774 |
-
#~ msgstr ""
|
775 |
-
#~ "Se vuoi aggiungere delle categorie nel portfolio, imposta un nome per la "
|
776 |
-
#~ "tassonomia. Il nome dovrà essere in forma di slug (non deve contenere "
|
777 |
-
#~ "caratteri maiuscoli né spazi) e non più lungo di 32 caratteri "
|
778 |
-
#~ "(restrizione di database)."
|
779 |
-
|
780 |
-
#~ msgid "Taxonomy"
|
781 |
-
#~ msgstr "Tassonomia"
|
782 |
-
|
783 |
-
#~ msgid "Set a label in plural (title of portfolio if empty)"
|
784 |
-
#~ msgstr "Imposta un'etichetta plurale (titolo del portfolio se vuoto)"
|
785 |
-
|
786 |
-
#~ msgid "Label in Plural"
|
787 |
-
#~ msgstr "Etichetta plurale"
|
788 |
-
|
789 |
-
#~ msgid "Set a label in singular (title of portfolio if empty)"
|
790 |
-
#~ msgstr "Imposta un'etichetta singolare (titolo del portfolio se vuoto)"
|
791 |
-
|
792 |
-
#~ msgid "Label in Singular"
|
793 |
-
#~ msgstr "Etichetta singolare"
|
794 |
-
|
795 |
-
#~ msgid ""
|
796 |
-
#~ "Univocal identification name in the URL for each product (slug from post "
|
797 |
-
#~ "if empty)"
|
798 |
-
#~ msgstr ""
|
799 |
-
#~ "Nome identificativo univoco nell'URL per singolo prodotto (usa slug dal "
|
800 |
-
#~ "post se vuoto)"
|
801 |
-
|
802 |
-
#~ msgid "Rewrite"
|
803 |
-
#~ msgstr "Riscrivi"
|
804 |
-
|
805 |
-
#~ msgid "Layout for this %s"
|
806 |
-
#~ msgstr "Layout per questo %s"
|
807 |
-
|
808 |
-
#~ msgid "Type"
|
809 |
-
#~ msgstr "Tipologia"
|
810 |
-
|
811 |
-
#~ msgid "%s Settings"
|
812 |
-
#~ msgstr "Impostazioni %s"
|
813 |
-
|
814 |
-
#~ msgid "Categories"
|
815 |
-
#~ msgstr "Categorie"
|
816 |
-
|
817 |
-
#~ msgid "Category"
|
818 |
-
#~ msgstr "Categoria"
|
819 |
-
|
820 |
-
#~ msgid "New Category Name"
|
821 |
-
#~ msgstr "Nuovo nome categoria"
|
822 |
-
|
823 |
-
#~ msgid "Add New Category"
|
824 |
-
#~ msgstr "Aggiungi nuova categoria"
|
825 |
-
|
826 |
-
#~ msgid "Update Category"
|
827 |
-
#~ msgstr "Aggiorna categoria"
|
828 |
-
|
829 |
-
#~ msgid "Edit Category"
|
830 |
-
#~ msgstr "Modifica categoria"
|
831 |
-
|
832 |
-
#~ msgid "Parent Category:"
|
833 |
-
#~ msgstr "Categoria genitore:"
|
834 |
-
|
835 |
-
#~ msgid "Parent Category"
|
836 |
-
#~ msgstr "Categoria genitore"
|
837 |
-
|
838 |
-
#~ msgid "All Categories"
|
839 |
-
#~ msgstr "Tutte le categorie"
|
840 |
-
|
841 |
-
#~ msgid "No %s found in Trash"
|
842 |
-
#~ msgstr "Nessun %s trovato nel cestino"
|
843 |
-
|
844 |
-
#~ msgid "No %s found"
|
845 |
-
#~ msgstr "Nessun %s trovato"
|
846 |
-
|
847 |
-
#~ msgid "Search %s"
|
848 |
-
#~ msgstr "Cerca %s"
|
849 |
-
|
850 |
-
#~ msgid "View %s"
|
851 |
-
#~ msgstr "Visualizza %s"
|
852 |
-
|
853 |
-
#~ msgid "All %s"
|
854 |
-
#~ msgstr "Tutti %s"
|
855 |
-
|
856 |
-
#~ msgid "New %s"
|
857 |
-
#~ msgstr "Nuovo %s"
|
858 |
-
|
859 |
-
#~ msgid "Edit %s"
|
860 |
-
#~ msgstr "Modifica %s"
|
861 |
-
|
862 |
-
#~ msgid "Add New %s"
|
863 |
-
#~ msgstr "Aggiungi nuovo %s"
|
864 |
-
|
865 |
-
#~ msgid "Add %s"
|
866 |
-
#~ msgstr "Aggiungi %s"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-02-15 07:49:38+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-02-05 21:18:46+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
143 |
msgstr "Plugin attivati"
|
144 |
|
145 |
#: includes/class-yit-pointers.php:81
|
|
|
146 |
msgid ""
|
147 |
+
"From now on, you can find all plugin options in YITH menu. Plugin "
|
148 |
+
"customization settings will be available as a new entry in YITH menu."
|
149 |
msgstr ""
|
|
|
|
|
|
|
|
|
150 |
|
151 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
152 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
|
|
153 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
154 |
+
msgstr "Scopri tutti i nostri plugin disponibili su: %1$s and %2$s"
|
155 |
|
156 |
#: includes/class-yit-pointers.php:96
|
157 |
msgid "Plugins Upgraded"
|
158 |
msgstr "Plugin aggiornati"
|
159 |
|
160 |
#: includes/class-yit-pointers.php:97
|
|
|
161 |
msgid ""
|
162 |
+
"From now on, you can find the option panel of YITH plugins in YITH menu. "
|
163 |
+
"Every time one of our plugins is added, a new entry will be added to this "
|
164 |
+
"menu. For example, after the update, plugin options (such as for YITH "
|
165 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
166 |
+
"previous location to YITH menu."
|
167 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
|
169 |
#: includes/class-yith-dashboard.php:35
|
170 |
msgid "YITH Latest Updates"
|
416 |
|
417 |
#: templates/fields/date-format.php:70
|
418 |
msgid "Preview:"
|
419 |
+
msgstr "Anteprima"
|
420 |
|
421 |
#: templates/fields/icons.php:63
|
422 |
msgid "Set Default"
|
489 |
|
490 |
#: templates/sysinfo/system-information-panel.php:12
|
491 |
msgid "PHPInfo"
|
492 |
+
msgstr "PHPInfo"
|
493 |
|
494 |
#: templates/sysinfo/system-information-panel.php:13
|
495 |
#: templates/sysinfo/tabs/error-log.php:25
|
|
|
496 |
msgid "Log Files"
|
497 |
+
msgstr "File log"
|
498 |
|
499 |
#: templates/sysinfo/system-information-panel.php:22
|
500 |
msgid "YITH System Information"
|
510 |
|
511 |
#: templates/sysinfo/tabs/error-log.php:60
|
512 |
msgid "Download"
|
513 |
+
msgstr "Scarica"
|
514 |
|
515 |
#: templates/sysinfo/tabs/error-log.php:72
|
516 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
517 |
msgstr ""
|
518 |
+
"La dimensione del file supera gli 8 megabyte ed è quindi necessario "
|
519 |
+
"scaricarlo"
|
520 |
|
521 |
#. translators: %s file name.
|
522 |
#: templates/sysinfo/tabs/error-log.php:96
|
524 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
525 |
"file of your installation"
|
526 |
msgstr ""
|
527 |
+
"Nessun file log disponibile. Abilita il debug WordPress aggiungendo questo "
|
528 |
+
"nel file %s della tua installazione"
|
529 |
|
530 |
#: templates/sysinfo/tabs/error-log.php:105
|
531 |
msgid "Copied!"
|
532 |
+
msgstr "Copiato!"
|
533 |
|
534 |
#: templates/sysinfo/tabs/error-log.php:105
|
535 |
msgid "Copy Code"
|
536 |
+
msgstr "Copia codice"
|
537 |
|
538 |
#: templates/sysinfo/tabs/main.php:15
|
539 |
msgid "Site Info"
|
540 |
+
msgstr "Info sito"
|
541 |
|
542 |
#: templates/sysinfo/tabs/main.php:20
|
543 |
msgid "Site URL"
|
561 |
|
562 |
#: templates/sysinfo/tabs/main.php:45
|
563 |
msgid "External object cache"
|
564 |
+
msgstr "External object cache"
|
565 |
|
566 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
567 |
msgid "Plugins Requirements"
|
568 |
+
msgstr "Requisiti plugin"
|
569 |
|
570 |
#: yit-plugin.php:187
|
571 |
msgid "License"
|
658 |
msgid "Left"
|
659 |
msgstr "A sinistra"
|
660 |
|
661 |
+
#: templates/fields/dimensions.php:94
|
662 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
663 |
msgid "Link values together"
|
664 |
msgstr "Collega i valori"
|
665 |
|
666 |
#: templates/fields/onoff.php:28
|
667 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
668 |
msgid "YES"
|
669 |
msgstr "SÌ"
|
670 |
|
671 |
#: templates/fields/onoff.php:29
|
672 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
673 |
msgid "NO"
|
674 |
msgstr "NO"
|
675 |
|
697 |
msgctxt "Action links"
|
698 |
msgid "Settings"
|
699 |
msgstr "Impostazioni"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/languages/yith-plugin-fw-nl_NL.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-nl_NL.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date:
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -144,18 +144,17 @@ msgstr "Plugins geactiveerd"
|
|
144 |
#: includes/class-yit-pointers.php:81
|
145 |
#, fuzzy
|
146 |
msgid ""
|
147 |
-
"From now on, you can find all plugin options in YITH
|
148 |
-
"customization settings will be available as a new entry in YITH
|
149 |
msgstr ""
|
150 |
-
"Vanaf nu
|
151 |
-
"
|
152 |
-
"
|
153 |
|
154 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
155 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
156 |
-
#, fuzzy
|
157 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
158 |
-
msgstr "Ontdek al onze beschikbare plugins op:"
|
159 |
|
160 |
#: includes/class-yit-pointers.php:96
|
161 |
msgid "Plugins Upgraded"
|
@@ -164,20 +163,17 @@ msgstr "Plugins Upgraded"
|
|
164 |
#: includes/class-yit-pointers.php:97
|
165 |
#, fuzzy
|
166 |
msgid ""
|
167 |
-
"From now on, you can find the option panel of YITH plugins in YITH
|
168 |
-
"
|
169 |
-
"
|
170 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
171 |
-
"previous location to YITH
|
172 |
msgstr ""
|
173 |
-
"Vanaf nu kun je het
|
174 |
-
"menu
|
175 |
-
"
|
176 |
-
"
|
177 |
-
"
|
178 |
-
"(zoalsYITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
|
179 |
-
" zullen worden verplaatst van de vorige "
|
180 |
-
"locatie naar het YITH plugins tabblad."
|
181 |
|
182 |
#: includes/class-yith-dashboard.php:35
|
183 |
msgid "YITH Latest Updates"
|
@@ -428,7 +424,7 @@ msgstr "Aangepast:"
|
|
428 |
|
429 |
#: templates/fields/date-format.php:70
|
430 |
msgid "Preview:"
|
431 |
-
msgstr ""
|
432 |
|
433 |
#: templates/fields/icons.php:63
|
434 |
msgid "Set Default"
|
@@ -501,13 +497,12 @@ msgstr "Reset Standaard instellingen"
|
|
501 |
|
502 |
#: templates/sysinfo/system-information-panel.php:12
|
503 |
msgid "PHPInfo"
|
504 |
-
msgstr ""
|
505 |
|
506 |
#: templates/sysinfo/system-information-panel.php:13
|
507 |
#: templates/sysinfo/tabs/error-log.php:25
|
508 |
-
#, fuzzy
|
509 |
msgid "Log Files"
|
510 |
-
msgstr "
|
511 |
|
512 |
#: templates/sysinfo/system-information-panel.php:22
|
513 |
msgid "YITH System Information"
|
@@ -523,11 +518,12 @@ msgstr "PHP error_log bestand"
|
|
523 |
|
524 |
#: templates/sysinfo/tabs/error-log.php:60
|
525 |
msgid "Download"
|
526 |
-
msgstr ""
|
527 |
|
528 |
#: templates/sysinfo/tabs/error-log.php:72
|
529 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
530 |
msgstr ""
|
|
|
531 |
|
532 |
#. translators: %s file name.
|
533 |
#: templates/sysinfo/tabs/error-log.php:96
|
@@ -535,18 +531,20 @@ msgid ""
|
|
535 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
536 |
"file of your installation"
|
537 |
msgstr ""
|
|
|
|
|
538 |
|
539 |
#: templates/sysinfo/tabs/error-log.php:105
|
540 |
msgid "Copied!"
|
541 |
-
msgstr ""
|
542 |
|
543 |
#: templates/sysinfo/tabs/error-log.php:105
|
544 |
msgid "Copy Code"
|
545 |
-
msgstr ""
|
546 |
|
547 |
#: templates/sysinfo/tabs/main.php:15
|
548 |
msgid "Site Info"
|
549 |
-
msgstr ""
|
550 |
|
551 |
#: templates/sysinfo/tabs/main.php:20
|
552 |
msgid "Site URL"
|
@@ -570,12 +568,11 @@ msgstr "Nee"
|
|
570 |
|
571 |
#: templates/sysinfo/tabs/main.php:45
|
572 |
msgid "External object cache"
|
573 |
-
msgstr ""
|
574 |
|
575 |
#: templates/sysinfo/tabs/main.php:54
|
576 |
-
#, fuzzy
|
577 |
msgid "Plugins Requirements"
|
578 |
-
msgstr "Plugin
|
579 |
|
580 |
#: yit-plugin.php:187
|
581 |
msgid "License"
|
@@ -667,20 +664,20 @@ msgctxt "Position in the \"Dimensions\" field"
|
|
667 |
msgid "Left"
|
668 |
msgstr "Links"
|
669 |
|
670 |
-
#: templates/fields/dimensions.php:
|
671 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
672 |
msgid "Link values together"
|
673 |
msgstr "Waarden aan elkaar koppelen"
|
674 |
|
675 |
#: templates/fields/onoff.php:28
|
676 |
-
msgctxt "YES/NO button: use MAX
|
677 |
msgid "YES"
|
678 |
-
msgstr "
|
679 |
|
680 |
#: templates/fields/onoff.php:29
|
681 |
-
msgctxt "YES/NO button: use MAX
|
682 |
msgid "NO"
|
683 |
-
msgstr "
|
684 |
|
685 |
#: yit-plugin.php:75
|
686 |
msgctxt "Plugin Row Meta"
|
@@ -706,157 +703,3 @@ msgstr "Premium versie"
|
|
706 |
msgctxt "Action links"
|
707 |
msgid "Settings"
|
708 |
msgstr "Instellingen"
|
709 |
-
|
710 |
-
#~ msgctxt "taxonomy singular name"
|
711 |
-
#~ msgid "Category"
|
712 |
-
#~ msgstr "Categorie"
|
713 |
-
|
714 |
-
#~ msgctxt "taxonomy general name"
|
715 |
-
#~ msgid "%s Categories"
|
716 |
-
#~ msgstr "%s Categorieën"
|
717 |
-
|
718 |
-
#~ msgid "Show full PHPInfo"
|
719 |
-
#~ msgstr "Toon volledige PHPInfo"
|
720 |
-
|
721 |
-
#~ msgid "Back to top"
|
722 |
-
#~ msgstr "Terug naar boven"
|
723 |
-
|
724 |
-
#~ msgid "Back to System panel"
|
725 |
-
#~ msgstr "Terugkeren naar systeem paneel"
|
726 |
-
|
727 |
-
#~ msgid "(Default: <i %s></i> )"
|
728 |
-
#~ msgstr "(Default: <i %s></i> )"
|
729 |
-
|
730 |
-
#~ msgid "(Default: %s <img src=\"%s\"/>)"
|
731 |
-
#~ msgstr "(Default: %s <img src=\"%s\"/>)"
|
732 |
-
|
733 |
-
#~ msgid "Image preview"
|
734 |
-
#~ msgstr "Voorbeeld afbeelding"
|
735 |
-
|
736 |
-
#~ msgid "and"
|
737 |
-
#~ msgstr "en"
|
738 |
-
|
739 |
-
#~ msgid "Upload multiple files"
|
740 |
-
#~ msgstr "Upload meerdere bestanden"
|
741 |
-
|
742 |
-
#~ msgid "Add %s from images"
|
743 |
-
#~ msgstr "Voeg %s toe van afbeeldingen"
|
744 |
-
|
745 |
-
#~ msgid "Show frontend of the %s"
|
746 |
-
#~ msgstr "Toon frontend van de %s"
|
747 |
-
|
748 |
-
#~ msgid "Quick links"
|
749 |
-
#~ msgstr "Snelle links"
|
750 |
-
|
751 |
-
#~ msgid "layout settings"
|
752 |
-
#~ msgstr "lay-out instellingen"
|
753 |
-
|
754 |
-
#~ msgid "Layout for single page of this portfolio"
|
755 |
-
#~ msgstr "Lay-out voor single pagina van dit portfolio"
|
756 |
-
|
757 |
-
#~ msgid "Single layout"
|
758 |
-
#~ msgstr "Single lay-out"
|
759 |
-
|
760 |
-
#~ msgid "Set univocal name for each category page URL."
|
761 |
-
#~ msgstr "Stel een unieke naam in voor elke categorie pagina URL."
|
762 |
-
|
763 |
-
#~ msgid "Taxonomy Rewrite"
|
764 |
-
#~ msgstr "Herschrijf taxonomie"
|
765 |
-
|
766 |
-
#~ msgid ""
|
767 |
-
#~ "If you want to use categories in the portfolio, set a name for taxonomy. "
|
768 |
-
#~ "Name should be a slug (must not contain capital letters nor spaces) and "
|
769 |
-
#~ "must not be more than 32 characters long (database structure restriction)."
|
770 |
-
#~ msgstr ""
|
771 |
-
#~ "Wil je categorieën gebruiken in de portfolio, stel dan een naam voor "
|
772 |
-
#~ "taxonomie. Naam moet een ’slug’ zijn (mag geen hoofdletters of spaties "
|
773 |
-
#~ "bevatten) en mag niet meer zijn dan 32 tekens lang (database structuur "
|
774 |
-
#~ "beperking)."
|
775 |
-
|
776 |
-
#~ msgid "Taxonomy"
|
777 |
-
#~ msgstr "Taxonomie"
|
778 |
-
|
779 |
-
#~ msgid "Set a label in plural (title of portfolio if empty)"
|
780 |
-
#~ msgstr "Zet een label op meervoud (titel van portfolio indien leeg)"
|
781 |
-
|
782 |
-
#~ msgid "Label in Plural"
|
783 |
-
#~ msgstr "Label in meervoud"
|
784 |
-
|
785 |
-
#~ msgid "Set a label in singular (title of portfolio if empty)"
|
786 |
-
#~ msgstr "Zet een label op enkelvoud (titel van portfolio indien leeg)"
|
787 |
-
|
788 |
-
#~ msgid "Label in Singular"
|
789 |
-
#~ msgstr "Label in enkelvoud"
|
790 |
-
|
791 |
-
#~ msgid ""
|
792 |
-
#~ "Univocal identification name in the URL for each product (slug from post "
|
793 |
-
#~ "if empty)"
|
794 |
-
#~ msgstr ""
|
795 |
-
#~ "Unieke identificatie naam in de URL voor ieder product (slug van post "
|
796 |
-
#~ "indien leeg)"
|
797 |
-
|
798 |
-
#~ msgid "Rewrite"
|
799 |
-
#~ msgstr "Herschrijf"
|
800 |
-
|
801 |
-
#~ msgid "Layout for this %s"
|
802 |
-
#~ msgstr "De lay-out hiervoor %s"
|
803 |
-
|
804 |
-
#~ msgid "Type"
|
805 |
-
#~ msgstr "Type"
|
806 |
-
|
807 |
-
#~ msgid "%s Settings"
|
808 |
-
#~ msgstr "%s instellingen"
|
809 |
-
|
810 |
-
#~ msgid "Categories"
|
811 |
-
#~ msgstr "Categorieën"
|
812 |
-
|
813 |
-
#~ msgid "Category"
|
814 |
-
#~ msgstr "Categorie"
|
815 |
-
|
816 |
-
#~ msgid "New Category Name"
|
817 |
-
#~ msgstr "Nieuwe categorie naam"
|
818 |
-
|
819 |
-
#~ msgid "Add New Category"
|
820 |
-
#~ msgstr "Categorie toevoegen"
|
821 |
-
|
822 |
-
#~ msgid "Update Category"
|
823 |
-
#~ msgstr "Update categorie"
|
824 |
-
|
825 |
-
#~ msgid "Edit Category"
|
826 |
-
#~ msgstr "Categorie aanpassen"
|
827 |
-
|
828 |
-
#~ msgid "Parent Category:"
|
829 |
-
#~ msgstr "Hoofdcategorie:"
|
830 |
-
|
831 |
-
#~ msgid "Parent Category"
|
832 |
-
#~ msgstr "Hoofdcategorie"
|
833 |
-
|
834 |
-
#~ msgid "All Categories"
|
835 |
-
#~ msgstr "Alle categorieën"
|
836 |
-
|
837 |
-
#~ msgid "No %s found in Trash"
|
838 |
-
#~ msgstr "No %s gevonden in de prullenbak"
|
839 |
-
|
840 |
-
#~ msgid "No %s found"
|
841 |
-
#~ msgstr "Geen %s gevonden"
|
842 |
-
|
843 |
-
#~ msgid "Search %s"
|
844 |
-
#~ msgstr "Zoeken %s"
|
845 |
-
|
846 |
-
#~ msgid "View %s"
|
847 |
-
#~ msgstr "Bekijk %s"
|
848 |
-
|
849 |
-
#~ msgid "All %s"
|
850 |
-
#~ msgstr "Alle %s"
|
851 |
-
|
852 |
-
#~ msgid "New %s"
|
853 |
-
#~ msgstr "Nieuw %s"
|
854 |
-
|
855 |
-
#~ msgid "Edit %s"
|
856 |
-
#~ msgstr "Bewerk %s"
|
857 |
-
|
858 |
-
#~ msgid "Add New %s"
|
859 |
-
#~ msgstr "Nieuwe %s toevoegen"
|
860 |
-
|
861 |
-
#~ msgid "Add %s"
|
862 |
-
#~ msgstr "%s toevoegen"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-02-15 07:49:38+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-02-05 09:20:16+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
144 |
#: includes/class-yit-pointers.php:81
|
145 |
#, fuzzy
|
146 |
msgid ""
|
147 |
+
"From now on, you can find all plugin options in YITH menu. Plugin "
|
148 |
+
"customization settings will be available as a new entry in YITH menu."
|
149 |
msgstr ""
|
150 |
+
"Vanaf nu kun je alle plugin opties vinden in het YITH Plugins menu. Plugin "
|
151 |
+
"aanpassingen instellingen zullen beschikbaar zijn als nieuwe toegang in het "
|
152 |
+
"YITH Plugins menu."
|
153 |
|
154 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
155 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
|
|
156 |
msgid "Discover all our plugins available on: %1$s and %2$s"
|
157 |
+
msgstr "Ontdek al onze beschikbare plugins op: %1$s and %2$s"
|
158 |
|
159 |
#: includes/class-yit-pointers.php:96
|
160 |
msgid "Plugins Upgraded"
|
163 |
#: includes/class-yit-pointers.php:97
|
164 |
#, fuzzy
|
165 |
msgid ""
|
166 |
+
"From now on, you can find the option panel of YITH plugins in YITH menu. "
|
167 |
+
"Every time one of our plugins is added, a new entry will be added to this "
|
168 |
+
"menu. For example, after the update, plugin options (such as for YITH "
|
169 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
170 |
+
"previous location to YITH menu."
|
171 |
msgstr ""
|
172 |
+
"Vanaf nu kun je het optiepaneel van YITH plugins vinden in het YITH Plugins "
|
173 |
+
"menu. Elke keer dat een van onze plugins wordt toegevoegd, wordt er een "
|
174 |
+
"nieuw item aan dit menu toegevoegd. Na de update worden plugin opties (zoals "
|
175 |
+
"voor YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, enz.) "
|
176 |
+
"verplaatst van de vorige locatie naar het tabblad YITH plugins."
|
|
|
|
|
|
|
177 |
|
178 |
#: includes/class-yith-dashboard.php:35
|
179 |
msgid "YITH Latest Updates"
|
424 |
|
425 |
#: templates/fields/date-format.php:70
|
426 |
msgid "Preview:"
|
427 |
+
msgstr "Voorbeeld:"
|
428 |
|
429 |
#: templates/fields/icons.php:63
|
430 |
msgid "Set Default"
|
497 |
|
498 |
#: templates/sysinfo/system-information-panel.php:12
|
499 |
msgid "PHPInfo"
|
500 |
+
msgstr "PHPInfo"
|
501 |
|
502 |
#: templates/sysinfo/system-information-panel.php:13
|
503 |
#: templates/sysinfo/tabs/error-log.php:25
|
|
|
504 |
msgid "Log Files"
|
505 |
+
msgstr "Log bestanden"
|
506 |
|
507 |
#: templates/sysinfo/system-information-panel.php:22
|
508 |
msgid "YITH System Information"
|
518 |
|
519 |
#: templates/sysinfo/tabs/error-log.php:60
|
520 |
msgid "Download"
|
521 |
+
msgstr "Download"
|
522 |
|
523 |
#: templates/sysinfo/tabs/error-log.php:72
|
524 |
msgid "The file size exceeds 8 megabytes so it must be downloaded"
|
525 |
msgstr ""
|
526 |
+
"De bestandsgrootte overschrijd 8 megabytes, dus het moet worden gedownload "
|
527 |
|
528 |
#. translators: %s file name.
|
529 |
#: templates/sysinfo/tabs/error-log.php:96
|
531 |
"No Log file available. Enable the WordPress debug by adding this in the %s "
|
532 |
"file of your installation"
|
533 |
msgstr ""
|
534 |
+
"Geen log bestand beschikbaar. WordPress debug inschakelen door dit bestand "
|
535 |
+
"toe te voegen aan het %s bestand van je installatie "
|
536 |
|
537 |
#: templates/sysinfo/tabs/error-log.php:105
|
538 |
msgid "Copied!"
|
539 |
+
msgstr "Gekopieerd!"
|
540 |
|
541 |
#: templates/sysinfo/tabs/error-log.php:105
|
542 |
msgid "Copy Code"
|
543 |
+
msgstr "Code kopiëren"
|
544 |
|
545 |
#: templates/sysinfo/tabs/main.php:15
|
546 |
msgid "Site Info"
|
547 |
+
msgstr "Site informatie"
|
548 |
|
549 |
#: templates/sysinfo/tabs/main.php:20
|
550 |
msgid "Site URL"
|
568 |
|
569 |
#: templates/sysinfo/tabs/main.php:45
|
570 |
msgid "External object cache"
|
571 |
+
msgstr "Externe object cache"
|
572 |
|
573 |
#: templates/sysinfo/tabs/main.php:54
|
|
|
574 |
msgid "Plugins Requirements"
|
575 |
+
msgstr "Plugin benodigdheden"
|
576 |
|
577 |
#: yit-plugin.php:187
|
578 |
msgid "License"
|
664 |
msgid "Left"
|
665 |
msgstr "Links"
|
666 |
|
667 |
+
#: templates/fields/dimensions.php:94
|
668 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
669 |
msgid "Link values together"
|
670 |
msgstr "Waarden aan elkaar koppelen"
|
671 |
|
672 |
#: templates/fields/onoff.php:28
|
673 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
674 |
msgid "YES"
|
675 |
+
msgstr "JA"
|
676 |
|
677 |
#: templates/fields/onoff.php:29
|
678 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
679 |
msgid "NO"
|
680 |
+
msgstr "NEE"
|
681 |
|
682 |
#: yit-plugin.php:75
|
683 |
msgctxt "Plugin Row Meta"
|
703 |
msgctxt "Action links"
|
704 |
msgid "Settings"
|
705 |
msgstr "Instellingen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 2021-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -151,9 +151,8 @@ msgstr ""
|
|
151 |
|
152 |
#: includes/class-yit-pointers.php:81
|
153 |
msgid ""
|
154 |
-
"From now on, you can find all plugin options in YITH
|
155 |
-
"customization settings will be available as a new entry in YITH
|
156 |
-
"menu."
|
157 |
msgstr ""
|
158 |
|
159 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
@@ -167,11 +166,11 @@ msgstr ""
|
|
167 |
|
168 |
#: includes/class-yit-pointers.php:97
|
169 |
msgid ""
|
170 |
-
"From now on, you can find the option panel of YITH plugins in YITH
|
171 |
-
"
|
172 |
-
"
|
173 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved "
|
174 |
-
"from previous location to YITH
|
175 |
msgstr ""
|
176 |
|
177 |
#: includes/class-yith-dashboard.php:35
|
@@ -640,18 +639,18 @@ msgctxt "Position in the \"Dimensions\" field"
|
|
640 |
msgid "Left"
|
641 |
msgstr ""
|
642 |
|
643 |
-
#: templates/fields/dimensions.php:
|
644 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
645 |
msgid "Link values together"
|
646 |
msgstr ""
|
647 |
|
648 |
#: templates/fields/onoff.php:28
|
649 |
-
msgctxt "YES/NO button: use MAX
|
650 |
msgid "YES"
|
651 |
msgstr ""
|
652 |
|
653 |
#: templates/fields/onoff.php:29
|
654 |
-
msgctxt "YES/NO button: use MAX
|
655 |
msgid "NO"
|
656 |
msgstr ""
|
657 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-02-15 07:49:38+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
151 |
|
152 |
#: includes/class-yit-pointers.php:81
|
153 |
msgid ""
|
154 |
+
"From now on, you can find all plugin options in YITH menu. Plugin "
|
155 |
+
"customization settings will be available as a new entry in YITH menu."
|
|
|
156 |
msgstr ""
|
157 |
|
158 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
166 |
|
167 |
#: includes/class-yit-pointers.php:97
|
168 |
msgid ""
|
169 |
+
"From now on, you can find the option panel of YITH plugins in YITH menu. "
|
170 |
+
"Every time one of our plugins is added, a new entry will be added to this "
|
171 |
+
"menu. For example, after the update, plugin options (such as for YITH "
|
172 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved "
|
173 |
+
"from previous location to YITH menu."
|
174 |
msgstr ""
|
175 |
|
176 |
#: includes/class-yith-dashboard.php:35
|
639 |
msgid "Left"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: templates/fields/dimensions.php:94
|
643 |
msgctxt "Tooltip in the \"Dimensions\" field"
|
644 |
msgid "Link values together"
|
645 |
msgstr ""
|
646 |
|
647 |
#: templates/fields/onoff.php:28
|
648 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
649 |
msgid "YES"
|
650 |
msgstr ""
|
651 |
|
652 |
#: templates/fields/onoff.php:29
|
653 |
+
msgctxt "YES/NO button: use MAX 4 characters!"
|
654 |
msgid "NO"
|
655 |
msgstr ""
|
656 |
|
plugin-fw/phpcs.xml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<ruleset name="WordPress Coding Standards">
|
3 |
+
<description>YITH Plugin Framework - PHP_CodeSniffer ruleset.</description>
|
4 |
+
|
5 |
+
<file>.</file>
|
6 |
+
|
7 |
+
<!-- Exclude paths -->
|
8 |
+
<exclude-pattern>Gruntfile.js</exclude-pattern>
|
9 |
+
<exclude-pattern>/assets/*</exclude-pattern>
|
10 |
+
<exclude-pattern>/bin/*</exclude-pattern>
|
11 |
+
<exclude-pattern>/languages/*</exclude-pattern>
|
12 |
+
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
13 |
+
<exclude-pattern>*/tests/*</exclude-pattern>
|
14 |
+
<exclude-pattern>*/tools/*</exclude-pattern>
|
15 |
+
<exclude-pattern>*/vendor/*</exclude-pattern>
|
16 |
+
|
17 |
+
<!-- Show progress, show the error codes for each message (source). -->
|
18 |
+
<arg value="ps"/>
|
19 |
+
|
20 |
+
<!-- Strip the filepaths in reports down to the relevant bit. -->
|
21 |
+
<arg name="basepath" value="./"/>
|
22 |
+
|
23 |
+
<!-- Check up to 8 files simultaneously. -->
|
24 |
+
<arg name="parallel" value="8"/>
|
25 |
+
|
26 |
+
<!-- Configs -->
|
27 |
+
<config name="minimum_supported_wp_version" value="5.2"/>
|
28 |
+
<!-- Check for cross-version support for PHP 5.6 and higher. -->
|
29 |
+
<config name="testVersion" value="5.6-"/>
|
30 |
+
|
31 |
+
<!-- Rules -->
|
32 |
+
|
33 |
+
<!-- WordPress -->
|
34 |
+
<rule ref="WordPress">
|
35 |
+
<exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching" />
|
36 |
+
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery" />
|
37 |
+
<exclude name="WordPress.DB.DirectDatabaseQuery.SchemaChange" />
|
38 |
+
</rule>
|
39 |
+
|
40 |
+
<rule ref="WordPress.Security.ValidatedSanitizedInput">
|
41 |
+
<properties>
|
42 |
+
<property name="customSanitizingFunctions" type="array" value="wc_clean,wc_sanitize_tooltip,wc_format_decimal,wc_stock_amount,wc_sanitize_permalink,wc_sanitize_textarea"/>
|
43 |
+
</properties>
|
44 |
+
</rule>
|
45 |
+
|
46 |
+
<rule ref="WordPress.Security.EscapeOutput">
|
47 |
+
<properties>
|
48 |
+
<property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected,wc_kses_notice,wc_esc_json,wc_query_string_form_fields,wc_make_phone_clickable,yith_plugin_fw_html_data_to_string,yith_field_deps_data,yith_panel_field_deps_data"/>
|
49 |
+
</properties>
|
50 |
+
</rule>
|
51 |
+
</ruleset>
|
plugin-fw/templates/fields/dimensions.php
CHANGED
@@ -67,11 +67,11 @@ if ( $allow_linked && 'yes' === $linked ) {
|
|
67 |
}
|
68 |
|
69 |
if ( false !== $d_max ) {
|
70 |
-
$d_attributes = " max=
|
71 |
}
|
72 |
|
73 |
if ( false !== $d_min ) {
|
74 |
-
$d_attributes = " min=
|
75 |
}
|
76 |
|
77 |
?>
|
@@ -79,7 +79,13 @@ if ( $allow_linked && 'yes' === $linked ) {
|
|
79 |
<label for="<?php echo esc_attr( $d_id ); ?>" class="yith-plugin-fw-dimensions__dimension__label"><?php echo esc_html( $d_label ); ?></label>
|
80 |
<input id="<?php echo esc_attr( $d_id ); ?>" class="yith-plugin-fw-dimensions__dimension__number"
|
81 |
type="number" name="<?php echo esc_attr( $d_name ); ?>" value="<?php echo esc_attr( $d_value ); ?>"
|
82 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
>
|
84 |
</div>
|
85 |
<?php endforeach ?>
|
@@ -103,6 +109,11 @@ if ( $allow_linked && 'yes' === $linked ) {
|
|
103 |
if ( $unit_value === $key ) {
|
104 |
$classes[] = 'yith-plugin-fw-dimensions__unit--selected';
|
105 |
}
|
|
|
|
|
|
|
|
|
|
|
106 |
$classes = implode( ' ', $classes );
|
107 |
?>
|
108 |
<span class="<?php echo esc_attr( $classes ); ?>" data-value="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $label ); ?></span>
|
67 |
}
|
68 |
|
69 |
if ( false !== $d_max ) {
|
70 |
+
$d_attributes = " max={$d_max} " . $d_attributes;
|
71 |
}
|
72 |
|
73 |
if ( false !== $d_min ) {
|
74 |
+
$d_attributes = " min={$d_min} " . $d_attributes;
|
75 |
}
|
76 |
|
77 |
?>
|
79 |
<label for="<?php echo esc_attr( $d_id ); ?>" class="yith-plugin-fw-dimensions__dimension__label"><?php echo esc_html( $d_label ); ?></label>
|
80 |
<input id="<?php echo esc_attr( $d_id ); ?>" class="yith-plugin-fw-dimensions__dimension__number"
|
81 |
type="number" name="<?php echo esc_attr( $d_name ); ?>" value="<?php echo esc_attr( $d_value ); ?>"
|
82 |
+
<?php if ( false !== $d_max ) : ?>
|
83 |
+
max="<?php echo esc_attr( $d_max ); ?>"
|
84 |
+
<?php endif; ?>
|
85 |
+
<?php if ( false !== $d_min ) : ?>
|
86 |
+
min="<?php echo esc_attr( $d_min ); ?>"
|
87 |
+
<?php endif; ?>
|
88 |
+
<?php echo $d_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
89 |
>
|
90 |
</div>
|
91 |
<?php endforeach ?>
|
109 |
if ( $unit_value === $key ) {
|
110 |
$classes[] = 'yith-plugin-fw-dimensions__unit--selected';
|
111 |
}
|
112 |
+
|
113 |
+
if ( count( $units ) < 2 ) {
|
114 |
+
$classes[] = 'yith-plugin-fw-dimensions__unit--unique';
|
115 |
+
}
|
116 |
+
|
117 |
$classes = implode( ' ', $classes );
|
118 |
?>
|
119 |
<span class="<?php echo esc_attr( $classes ); ?>" data-value="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $label ); ?></span>
|
plugin-fw/templates/fields/onoff.php
CHANGED
@@ -25,8 +25,8 @@ list ( $field_id, $class, $name, $std, $value, $custom_attributes, $data, $desc_
|
|
25 |
<?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
26 |
/>
|
27 |
<span class="yith-plugin-fw-onoff"
|
28 |
-
data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX
|
29 |
-
data-text-off="<?php echo esc_attr_x( 'NO', 'YES/NO button: use MAX
|
30 |
</div>
|
31 |
|
32 |
<?php if ( isset( $desc_inline ) ) : ?>
|
25 |
<?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
26 |
/>
|
27 |
<span class="yith-plugin-fw-onoff"
|
28 |
+
data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"
|
29 |
+
data-text-off="<?php echo esc_attr_x( 'NO', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"></span>
|
30 |
</div>
|
31 |
|
32 |
<?php if ( isset( $desc_inline ) ) : ?>
|
plugin-fw/tools/local-env/docker/phpunit/Dockerfile
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
FROM phpunit/phpunit:latest
|
2 |
-
|
3 |
-
RUN apk update && \
|
4 |
-
apk add --no-cache sqlite bash mariadb-client php7-mysqli subversion wget
|
5 |
-
|
6 |
-
RUN apk upgrade subversion
|
7 |
-
|
8 |
-
ENTRYPOINT []
|
9 |
-
|
10 |
-
WORKDIR /var/www/html/wp-content/plugins/yith-plugin-fw-loader/plugin-fw
|
11 |
-
|
12 |
-
CMD /bin/true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/install-wp-tests.sh
DELETED
@@ -1,154 +0,0 @@
|
|
1 |
-
#!/usr/bin/env bash
|
2 |
-
|
3 |
-
if [ $# -lt 3 ]; then
|
4 |
-
echo "usage: $0 <db-name> <db-user> <db-pass> [db-host] [wp-version] [skip-database-creation]"
|
5 |
-
exit 1
|
6 |
-
fi
|
7 |
-
|
8 |
-
|
9 |
-
echo "INSTALLING...";
|
10 |
-
DB_NAME=$1
|
11 |
-
DB_USER=$2
|
12 |
-
DB_PASS=$3
|
13 |
-
DB_HOST=${4-localhost}
|
14 |
-
WP_VERSION=${5-latest}
|
15 |
-
SKIP_DB_CREATE=${6-false}
|
16 |
-
|
17 |
-
TMPDIR=${TMPDIR-/tmp}
|
18 |
-
TMPDIR=$(echo $TMPDIR | sed -e "s/\/$//")
|
19 |
-
WP_TESTS_DIR=${WP_TESTS_DIR-$TMPDIR/wordpress-tests-lib}
|
20 |
-
WP_CORE_DIR=${WP_CORE_DIR-$TMPDIR/wordpress/}
|
21 |
-
|
22 |
-
download() {
|
23 |
-
if [ `which curl` ]; then
|
24 |
-
curl -s "$1" > "$2";
|
25 |
-
elif [ `which wget` ]; then
|
26 |
-
wget -nv -O "$2" "$1"
|
27 |
-
fi
|
28 |
-
}
|
29 |
-
|
30 |
-
if [[ $WP_VERSION =~ ^[0-9]+\.[0-9]+$ ]]; then
|
31 |
-
WP_TESTS_TAG="branches/$WP_VERSION"
|
32 |
-
elif [[ $WP_VERSION =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
33 |
-
if [[ $WP_VERSION =~ [0-9]+\.[0-9]+\.[0] ]]; then
|
34 |
-
# version x.x.0 means the first release of the major version, so strip off the .0 and download version x.x
|
35 |
-
WP_TESTS_TAG="tags/${WP_VERSION%??}"
|
36 |
-
else
|
37 |
-
WP_TESTS_TAG="tags/$WP_VERSION"
|
38 |
-
fi
|
39 |
-
elif [[ $WP_VERSION == 'nightly' || $WP_VERSION == 'trunk' ]]; then
|
40 |
-
WP_TESTS_TAG="trunk"
|
41 |
-
else
|
42 |
-
# http serves a single offer, whereas https serves multiple. we only want one
|
43 |
-
download http://api.wordpress.org/core/version-check/1.7/ /tmp/wp-latest.json
|
44 |
-
grep '[0-9]+\.[0-9]+(\.[0-9]+)?' /tmp/wp-latest.json
|
45 |
-
LATEST_VERSION=$(grep -o '"version":"[^"]*' /tmp/wp-latest.json | sed 's/"version":"//')
|
46 |
-
if [[ -z "$LATEST_VERSION" ]]; then
|
47 |
-
echo "Latest WordPress version could not be found"
|
48 |
-
exit 1
|
49 |
-
fi
|
50 |
-
WP_TESTS_TAG="tags/$LATEST_VERSION"
|
51 |
-
fi
|
52 |
-
|
53 |
-
set -ex
|
54 |
-
|
55 |
-
install_wp() {
|
56 |
-
|
57 |
-
if [ -d $WP_CORE_DIR ]; then
|
58 |
-
return;
|
59 |
-
fi
|
60 |
-
|
61 |
-
mkdir -p $WP_CORE_DIR
|
62 |
-
|
63 |
-
if [[ $WP_VERSION == 'nightly' || $WP_VERSION == 'trunk' ]]; then
|
64 |
-
mkdir -p $TMPDIR/wordpress-nightly
|
65 |
-
download https://wordpress.org/nightly-builds/wordpress-latest.zip $TMPDIR/wordpress-nightly/wordpress-nightly.zip
|
66 |
-
unzip -q $TMPDIR/wordpress-nightly/wordpress-nightly.zip -d $TMPDIR/wordpress-nightly/
|
67 |
-
mv $TMPDIR/wordpress-nightly/wordpress/* $WP_CORE_DIR
|
68 |
-
else
|
69 |
-
if [ $WP_VERSION == 'latest' ]; then
|
70 |
-
local ARCHIVE_NAME='latest'
|
71 |
-
elif [[ $WP_VERSION =~ [0-9]+\.[0-9]+ ]]; then
|
72 |
-
# https serves multiple offers, whereas http serves single.
|
73 |
-
download https://api.wordpress.org/core/version-check/1.7/ $TMPDIR/wp-latest.json
|
74 |
-
if [[ $WP_VERSION =~ [0-9]+\.[0-9]+\.[0] ]]; then
|
75 |
-
# version x.x.0 means the first release of the major version, so strip off the .0 and download version x.x
|
76 |
-
LATEST_VERSION=${WP_VERSION%??}
|
77 |
-
else
|
78 |
-
# otherwise, scan the releases and get the most up to date minor version of the major release
|
79 |
-
local VERSION_ESCAPED=`echo $WP_VERSION | sed 's/\./\\\\./g'`
|
80 |
-
LATEST_VERSION=$(grep -o '"version":"'$VERSION_ESCAPED'[^"]*' $TMPDIR/wp-latest.json | sed 's/"version":"//' | head -1)
|
81 |
-
fi
|
82 |
-
if [[ -z "$LATEST_VERSION" ]]; then
|
83 |
-
local ARCHIVE_NAME="wordpress-$WP_VERSION"
|
84 |
-
else
|
85 |
-
local ARCHIVE_NAME="wordpress-$LATEST_VERSION"
|
86 |
-
fi
|
87 |
-
else
|
88 |
-
local ARCHIVE_NAME="wordpress-$WP_VERSION"
|
89 |
-
fi
|
90 |
-
download https://wordpress.org/${ARCHIVE_NAME}.tar.gz $TMPDIR/wordpress.tar.gz
|
91 |
-
tar --strip-components=1 -zxmf $TMPDIR/wordpress.tar.gz -C $WP_CORE_DIR
|
92 |
-
fi
|
93 |
-
|
94 |
-
download https://raw.github.com/markoheijnen/wp-mysqli/master/db.php $WP_CORE_DIR/wp-content/db.php
|
95 |
-
}
|
96 |
-
|
97 |
-
install_test_suite() {
|
98 |
-
# portable in-place argument for both GNU sed and Mac OSX sed
|
99 |
-
if [[ $(uname -s) == 'Darwin' ]]; then
|
100 |
-
local ioption='-i .bak'
|
101 |
-
else
|
102 |
-
local ioption='-i'
|
103 |
-
fi
|
104 |
-
|
105 |
-
# set up testing suite if it doesn't yet exist
|
106 |
-
if [ ! -d $WP_TESTS_DIR ]; then
|
107 |
-
# set up testing suite
|
108 |
-
mkdir -p $WP_TESTS_DIR
|
109 |
-
svn co --quiet https://develop.svn.wordpress.org/${WP_TESTS_TAG}/tests/phpunit/includes/ $WP_TESTS_DIR/includes
|
110 |
-
svn co --quiet https://develop.svn.wordpress.org/${WP_TESTS_TAG}/tests/phpunit/data/ $WP_TESTS_DIR/data
|
111 |
-
fi
|
112 |
-
|
113 |
-
if [ ! -f wp-tests-config.php ]; then
|
114 |
-
download https://develop.svn.wordpress.org/${WP_TESTS_TAG}/wp-tests-config-sample.php "$WP_TESTS_DIR"/wp-tests-config.php
|
115 |
-
# remove all forward slashes in the end
|
116 |
-
WP_CORE_DIR=$(echo $WP_CORE_DIR | sed "s:/\+$::")
|
117 |
-
sed $ioption "s:dirname( __FILE__ ) . '/src/':'$WP_CORE_DIR/':" "$WP_TESTS_DIR"/wp-tests-config.php
|
118 |
-
sed $ioption "s/youremptytestdbnamehere/$DB_NAME/" "$WP_TESTS_DIR"/wp-tests-config.php
|
119 |
-
sed $ioption "s/yourusernamehere/$DB_USER/" "$WP_TESTS_DIR"/wp-tests-config.php
|
120 |
-
sed $ioption "s/yourpasswordhere/$DB_PASS/" "$WP_TESTS_DIR"/wp-tests-config.php
|
121 |
-
sed $ioption "s|localhost|${DB_HOST}|" "$WP_TESTS_DIR"/wp-tests-config.php
|
122 |
-
fi
|
123 |
-
|
124 |
-
}
|
125 |
-
|
126 |
-
install_db() {
|
127 |
-
|
128 |
-
if [ ${SKIP_DB_CREATE} = "true" ]; then
|
129 |
-
return 0
|
130 |
-
fi
|
131 |
-
|
132 |
-
# parse DB_HOST for port or socket references
|
133 |
-
local PARTS=(${DB_HOST//\:/ })
|
134 |
-
local DB_HOSTNAME=${PARTS[0]};
|
135 |
-
local DB_SOCK_OR_PORT=${PARTS[1]};
|
136 |
-
local EXTRA=""
|
137 |
-
|
138 |
-
if ! [ -z $DB_HOSTNAME ] ; then
|
139 |
-
if [ $(echo $DB_SOCK_OR_PORT | grep -e '^[0-9]\{1,\}$') ]; then
|
140 |
-
EXTRA=" --host=$DB_HOSTNAME --port=$DB_SOCK_OR_PORT --protocol=tcp"
|
141 |
-
elif ! [ -z $DB_SOCK_OR_PORT ] ; then
|
142 |
-
EXTRA=" --socket=$DB_SOCK_OR_PORT"
|
143 |
-
elif ! [ -z $DB_HOSTNAME ] ; then
|
144 |
-
EXTRA=" --host=$DB_HOSTNAME --protocol=tcp"
|
145 |
-
fi
|
146 |
-
fi
|
147 |
-
|
148 |
-
# create database
|
149 |
-
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA;
|
150 |
-
}
|
151 |
-
|
152 |
-
install_wp
|
153 |
-
install_test_suite
|
154 |
-
install_db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/mysql-init.sql
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* MySQL server init.
|
3 |
-
*
|
4 |
-
* SQL queries in this file will be executed the first time the MySQL server is started.
|
5 |
-
*/
|
6 |
-
|
7 |
-
CREATE DATABASE IF NOT EXISTS yith_plugin_fw_tests;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/phpunit-config.ini
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
upload_max_filesize = 1G
|
2 |
-
post_max_size = 1G
|
3 |
-
|
4 |
-
opcache.enable = 1
|
5 |
-
opcache.enable_cli = 1
|
6 |
-
opache.file_cache = /tmp/php-opcache
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/scripts/docker.js
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
const dotenv = require( 'dotenv' );
|
2 |
-
const { execSync } = require( 'child_process' );
|
3 |
-
dotenv.config();
|
4 |
-
|
5 |
-
// Execute any docker-compose command passed to this script.
|
6 |
-
execSync( 'docker-compose ' + process.argv.slice( 2 ).join( ' ' ), { stdio: 'inherit' } );
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/scripts/install.js
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
const dotenv = require( 'dotenv' );
|
2 |
-
const { execSync } = require( 'child_process' );
|
3 |
-
|
4 |
-
dotenv.config();
|
5 |
-
|
6 |
-
phpunitExec('/var/www/html/install-wp-tests.sh yith_plugin_fw_tests root password mysql latest true');
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Runs commands in the Docker PHPUnit environment.
|
10 |
-
*
|
11 |
-
* @param {string} cmd The command to run.
|
12 |
-
*/
|
13 |
-
function phpunitExec( cmd ) {
|
14 |
-
execSync( `docker-compose run --rm phpunit ${cmd}`, { stdio: 'inherit' } );
|
15 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/scripts/start.js
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
const dotenv = require( 'dotenv' );
|
2 |
-
const { execSync } = require( 'child_process' );
|
3 |
-
|
4 |
-
dotenv.config();
|
5 |
-
|
6 |
-
// Start the local-env containers.
|
7 |
-
execSync( 'docker-compose up -d', { stdio: 'inherit' } );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/tools/local-env/yith-plugin-fw-loader.php
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: YITH Plugin Framework Loader
|
4 |
-
* Plugin URI:
|
5 |
-
* Description: YITH Plugin Framework Loader
|
6 |
-
* Version: 1.0.0
|
7 |
-
* Author: YITH
|
8 |
-
* Author URI: http://yithemes.com/
|
9 |
-
* Text Domain: yith-plugin-framework-loader
|
10 |
-
* Domain Path: /languages/
|
11 |
-
*
|
12 |
-
* @author YITH
|
13 |
-
* @package YITH Plugin Framework Loader
|
14 |
-
* @version 1.0.0
|
15 |
-
*/
|
16 |
-
|
17 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
18 |
-
exit;
|
19 |
-
} // Exit if accessed directly
|
20 |
-
|
21 |
-
if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
22 |
-
require_once 'plugin-fw/yit-plugin-registration-hook.php';
|
23 |
-
}
|
24 |
-
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
25 |
-
|
26 |
-
|
27 |
-
add_action( 'plugins_loaded', 'yith_plugin_fw_loader_load_plugin_fw', 15 );
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Plugin Framework Loader.
|
31 |
-
*
|
32 |
-
* @return void
|
33 |
-
*/
|
34 |
-
function yith_plugin_fw_loader_load_plugin_fw() {
|
35 |
-
|
36 |
-
if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
|
37 |
-
global $plugin_fw_data;
|
38 |
-
if ( ! empty( $plugin_fw_data ) ) {
|
39 |
-
$plugin_fw_file = array_shift( $plugin_fw_data );
|
40 |
-
require_once $plugin_fw_file;
|
41 |
-
}
|
42 |
-
}
|
43 |
-
|
44 |
-
}
|
45 |
-
|
46 |
-
/* Plugin Framework Version Check */
|
47 |
-
if ( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( plugin_dir_path( __FILE__ ) . 'plugin-fw/init.php' ) ) {
|
48 |
-
require_once plugin_dir_path( __FILE__ ) . 'plugin-fw/init.php';
|
49 |
-
}
|
50 |
-
yit_maybe_plugin_fw_loader( plugin_dir_path( __FILE__ ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|