Version Description
- Added: Support to WooCommerce 2.4
- Updated: Plugin Framework
- Fixed: Tag list and child term support
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Product Filter |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- README.txt +12 -2
- includes/class.yith-wcan-admin.php +1 -1
- includes/class.yith-wcan.php +5 -1
- init.php +2 -2
- languages/yith_wc_ajxnav-it_IT.mo +0 -0
- languages/yith_wc_ajxnav-it_IT.po +363 -35
- languages/yith_wc_ajxnav.pot +23 -18
- plugin-fw/assets/css/yit-plugin-panel.css +5 -0
- plugin-fw/lib/yit-plugin-panel-wc.php +72 -1
- plugin-fw/yit-functions.php +62 -0
- widgets/class.yith-wcan-navigation-widget.php +7 -5
README.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Contributors: yithemes
|
4 |
Tags: 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: 4.0
|
6 |
-
Tested up to: 4.2.
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -93,6 +93,12 @@ After the update 2.1.0, some users are experiencing the error: "Parse error: syn
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
= 2.1.1 =
|
97 |
|
98 |
* Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
|
@@ -211,6 +217,10 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith_woo
|
|
211 |
|
212 |
== Upgrade notice ==
|
213 |
|
|
|
|
|
|
|
|
|
214 |
= 2.1.1 =
|
215 |
|
216 |
* Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
|
3 |
Contributors: yithemes
|
4 |
Tags: 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: 4.0
|
6 |
+
Tested up to: 4.2.4
|
7 |
+
Stable tag: 2.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 2.1.2 =
|
97 |
+
|
98 |
+
* Added: Support to WooCommerce 2.4
|
99 |
+
* Updated: Plugin Framework
|
100 |
+
* Fixed: Tag list and child term support
|
101 |
+
|
102 |
= 2.1.1 =
|
103 |
|
104 |
* Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
|
217 |
|
218 |
== Upgrade notice ==
|
219 |
|
220 |
+
= 2.1.2 =
|
221 |
+
|
222 |
+
* WooCommerce 2.4 Support
|
223 |
+
|
224 |
= 2.1.1 =
|
225 |
|
226 |
* Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
|
includes/class.yith-wcan-admin.php
CHANGED
@@ -264,7 +264,7 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
|
|
264 |
This modification solves the issues about textdomain conflicts generated by some translation/multilanguage plugins you have identified in the past weeks.
|
265 |
If updating the plugin some language files are no more recognized by WordPress, you will just have to rename the language files in the correct format. After renaming the files, you can update/translate the .po file following the classic procedure for translations.', 'yith_wc_ajxnav' );
|
266 |
|
267 |
-
$plugin_name =
|
268 |
|
269 |
$premium_message = sprintf( '%s, <a href="%s" target"_blank">%s</a>.', __( 'YITH WooCommerce Product Filter has been updated with new available options', 'yith_wc_ajxnav' ), $this->_premium_landing, __( 'discover the PREMIUM version', 'yith_wc_ajxnav' ) );
|
270 |
|
264 |
This modification solves the issues about textdomain conflicts generated by some translation/multilanguage plugins you have identified in the past weeks.
|
265 |
If updating the plugin some language files are no more recognized by WordPress, you will just have to rename the language files in the correct format. After renaming the files, you can update/translate the .po file following the classic procedure for translations.', 'yith_wc_ajxnav' );
|
266 |
|
267 |
+
$plugin_name = _x( 'YITH WooCommerce Ajax Product Filter', 'Admin(Pointers): Plugin Title', 'yith_wc_ajxnav' );
|
268 |
|
269 |
$premium_message = sprintf( '%s, <a href="%s" target"_blank">%s</a>.', __( 'YITH WooCommerce Product Filter has been updated with new available options', 'yith_wc_ajxnav' ), $this->_premium_landing, __( 'discover the PREMIUM version', 'yith_wc_ajxnav' ) );
|
270 |
|
includes/class.yith-wcan.php
CHANGED
@@ -112,11 +112,12 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
|
|
112 |
*/
|
113 |
public static function instance() {
|
114 |
|
115 |
-
//Premium Class
|
116 |
if( class_exists( 'YITH_WCAN_Premium' ) ){
|
|
|
117 |
if( is_null( YITH_WCAN_Premium::$_instance ) ){
|
118 |
YITH_WCAN_Premium::$_instance = new YITH_WCAN_Premium();
|
119 |
}
|
|
|
120 |
return YITH_WCAN_Premium::$_instance;
|
121 |
}
|
122 |
|
@@ -126,10 +127,13 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
|
|
126 |
if( is_null( YITH_WCAN::$_instance ) ){
|
127 |
YITH_WCAN::$_instance = new YITH_WCAN();
|
128 |
}
|
|
|
129 |
return YITH_WCAN::$_instance;
|
130 |
}
|
131 |
}
|
132 |
|
|
|
|
|
133 |
/**
|
134 |
* Load required files
|
135 |
*
|
112 |
*/
|
113 |
public static function instance() {
|
114 |
|
|
|
115 |
if( class_exists( 'YITH_WCAN_Premium' ) ){
|
116 |
+
//Premium Class
|
117 |
if( is_null( YITH_WCAN_Premium::$_instance ) ){
|
118 |
YITH_WCAN_Premium::$_instance = new YITH_WCAN_Premium();
|
119 |
}
|
120 |
+
|
121 |
return YITH_WCAN_Premium::$_instance;
|
122 |
}
|
123 |
|
127 |
if( is_null( YITH_WCAN::$_instance ) ){
|
128 |
YITH_WCAN::$_instance = new YITH_WCAN();
|
129 |
}
|
130 |
+
|
131 |
return YITH_WCAN::$_instance;
|
132 |
}
|
133 |
}
|
134 |
|
135 |
+
|
136 |
+
|
137 |
/**
|
138 |
* Load required files
|
139 |
*
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Ajax Product Filter
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
|
6 |
-
* Version: 2.1.
|
7 |
* Author: yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith_wc_ajxnav
|
@@ -65,7 +65,7 @@ if ( defined( 'YITH_WCAN_VERSION' ) ) {
|
|
65 |
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
|
66 |
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
|
67 |
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
|
68 |
-
! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.1.
|
69 |
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
|
70 |
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
|
71 |
|
3 |
* Plugin Name: YITH WooCommerce Ajax Product Filter
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
|
6 |
+
* Version: 2.1.2
|
7 |
* Author: yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith_wc_ajxnav
|
65 |
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
|
66 |
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
|
67 |
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
|
68 |
+
! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.1.2' );
|
69 |
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
|
70 |
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
|
71 |
|
languages/yith_wc_ajxnav-it_IT.mo
CHANGED
Binary file
|
languages/yith_wc_ajxnav-it_IT.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-07-
|
6 |
-
"PO-Revision-Date: 2015-07-
|
7 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: it_IT\n"
|
@@ -11,11 +11,11 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
-
"X-Generator: Poedit 1.8.
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
-
"X-Poedit-Basepath:
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
@@ -28,19 +28,19 @@ msgstr "Versione Premium"
|
|
28 |
#: includes/class.yith-wcan-admin.php:141
|
29 |
#: includes/class.yith-wcan-admin.php:142
|
30 |
msgid "Ajax Product Filter"
|
31 |
-
msgstr ""
|
32 |
|
33 |
#: includes/class.yith-wcan-admin.php:181
|
34 |
msgid "Premium live demo"
|
35 |
-
msgstr ""
|
36 |
|
37 |
#: includes/class.yith-wcan-admin.php:181
|
38 |
msgid "Live demo"
|
39 |
-
msgstr ""
|
40 |
|
41 |
#: includes/class.yith-wcan-admin.php:209
|
42 |
msgid "Plugin Documentation"
|
43 |
-
msgstr ""
|
44 |
|
45 |
#: includes/class.yith-wcan-admin.php:262
|
46 |
msgid ""
|
@@ -57,6 +57,19 @@ msgid ""
|
|
57 |
"files in the correct format. After renaming the files, you can update/"
|
58 |
"translate the .po file following the classic procedure for translations."
|
59 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
#: includes/class.yith-wcan-admin.php:267
|
62 |
#: widgets/class.yith-wcan-navigation-widget.php:26
|
@@ -67,10 +80,11 @@ msgstr "YITH WooCommerce Ajax Product Filter"
|
|
67 |
msgid ""
|
68 |
"YITH WooCommerce Product Filter has been updated with new available options"
|
69 |
msgstr ""
|
|
|
70 |
|
71 |
#: includes/class.yith-wcan-admin.php:269
|
72 |
msgid "discover the PREMIUM version"
|
73 |
-
msgstr ""
|
74 |
|
75 |
# @ yit
|
76 |
#: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
|
@@ -80,7 +94,7 @@ msgstr "Proprietà"
|
|
80 |
|
81 |
# @ yit
|
82 |
#: includes/functions.yith-wcan.php:57
|
83 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
84 |
msgid "Color"
|
85 |
msgstr "Colore"
|
86 |
|
@@ -113,22 +127,24 @@ msgid ""
|
|
113 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
|
114 |
"Filter%2$s to benefit from all features!"
|
115 |
msgstr ""
|
|
|
|
|
116 |
|
117 |
#: templates/admin/premium.php:210 templates/admin/premium.php:327
|
118 |
msgid "UPGRADE"
|
119 |
-
msgstr ""
|
120 |
|
121 |
#: templates/admin/premium.php:211 templates/admin/premium.php:328
|
122 |
msgid "to the premium version"
|
123 |
-
msgstr ""
|
124 |
|
125 |
#: templates/admin/premium.php:217
|
126 |
msgid "Premium Features"
|
127 |
-
msgstr ""
|
128 |
|
129 |
#: templates/admin/premium.php:225
|
130 |
msgid "Two more layouts"
|
131 |
-
msgstr ""
|
132 |
|
133 |
#: templates/admin/premium.php:228
|
134 |
#, php-format
|
@@ -144,10 +160,20 @@ msgid ""
|
|
144 |
"products by brands thanks to the ajax technology.\n"
|
145 |
" "
|
146 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
|
148 |
#: templates/admin/premium.php:241
|
149 |
msgid "Price range"
|
150 |
-
msgstr ""
|
151 |
|
152 |
#: templates/admin/premium.php:244
|
153 |
#, php-format
|
@@ -158,10 +184,16 @@ msgid ""
|
|
158 |
"%1$syou can set unlimited price ranges:%2$s your users will be able to "
|
159 |
"filter products selecting on the ranges you have set."
|
160 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
#: templates/admin/premium.php:261
|
163 |
msgid "Ajax Stock/On Sale Filters"
|
164 |
-
msgstr ""
|
165 |
|
166 |
#: templates/admin/premium.php:264
|
167 |
#, php-format
|
@@ -172,10 +204,15 @@ msgid ""
|
|
172 |
" %1$sAn additional feature for an e-commerce site that is "
|
173 |
"worthy!%2$s"
|
174 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
#: templates/admin/premium.php:276
|
177 |
msgid "Product sorting"
|
178 |
-
msgstr ""
|
179 |
|
180 |
#: templates/admin/premium.php:279
|
181 |
#, php-format
|
@@ -185,20 +222,28 @@ msgid ""
|
|
185 |
" without the need to reload the page. Products can be "
|
186 |
"sorted by rate, sales, price or publication date."
|
187 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
188 |
|
189 |
#: templates/admin/premium.php:296
|
190 |
msgid "Customized loader"
|
191 |
-
msgstr ""
|
192 |
|
193 |
#: templates/admin/premium.php:299
|
194 |
msgid ""
|
195 |
"From the plugin option panel, you can choose to upload a new icon for your "
|
196 |
"loader: in this way, it will better meet your needs."
|
197 |
msgstr ""
|
|
|
|
|
|
|
198 |
|
199 |
#: templates/admin/premium.php:309
|
200 |
msgid "WooCommerce Price Filter"
|
201 |
-
msgstr ""
|
202 |
|
203 |
#: templates/admin/premium.php:312
|
204 |
msgid ""
|
@@ -206,73 +251,76 @@ msgid ""
|
|
206 |
"WooCommerce Price Filter widget, changing the settings you can find in the "
|
207 |
"plugin option panel."
|
208 |
msgstr ""
|
|
|
|
|
|
|
209 |
|
210 |
#: widgets/class.yith-wcan-navigation-widget.php:23
|
211 |
msgid "Filter the product list without reloading the page"
|
212 |
-
msgstr ""
|
213 |
|
214 |
#: widgets/class.yith-wcan-navigation-widget.php:262
|
215 |
msgid "Filters:"
|
216 |
msgstr "Filtri:"
|
217 |
|
218 |
# @ yit
|
219 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
220 |
msgid "List"
|
221 |
msgstr "Lista"
|
222 |
|
223 |
# @ yit
|
224 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
225 |
msgid "Label"
|
226 |
msgstr "Etichetta"
|
227 |
|
228 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
229 |
msgid "Dropdown"
|
230 |
msgstr "Menu a tendina"
|
231 |
|
232 |
# @ yit
|
233 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
234 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
235 |
msgid "Title"
|
236 |
msgstr "Titolo"
|
237 |
|
238 |
# @ yit
|
239 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
240 |
msgid "Type:"
|
241 |
msgstr "Tipo:"
|
242 |
|
243 |
# @ yit
|
244 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
245 |
msgid "Query Type:"
|
246 |
msgstr "Tipo Query:"
|
247 |
|
248 |
# @ yit
|
249 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
250 |
msgid "AND"
|
251 |
msgstr "E"
|
252 |
|
253 |
# @ yit
|
254 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
255 |
msgid "OR"
|
256 |
msgstr "O"
|
257 |
|
258 |
# @ yit
|
259 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
260 |
msgid "Attribute:"
|
261 |
msgstr "Attributo:"
|
262 |
|
263 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
264 |
msgid "Display (default All):"
|
265 |
msgstr "Visualizza (default Tutti)"
|
266 |
|
267 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
268 |
msgid "All (no hierarchical)"
|
269 |
msgstr "Tutti (non gerarchico)"
|
270 |
|
271 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
272 |
msgid "All (hierarchical)"
|
273 |
-
msgstr ""
|
274 |
|
275 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
276 |
msgid "Only Parent"
|
277 |
msgstr "Solo Principali"
|
278 |
|
@@ -283,7 +331,7 @@ msgstr ""
|
|
283 |
|
284 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:25
|
285 |
msgid "YITH WooCommerce Ajax Reset Filter"
|
286 |
-
msgstr "YITH WooCommerce Ajax Reset
|
287 |
|
288 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:82
|
289 |
msgid "Reset All Filters"
|
@@ -293,6 +341,286 @@ msgstr "Resetta tutti i filtri"
|
|
293 |
msgid "Button Label"
|
294 |
msgstr "Etichetta Pulsante"
|
295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
#~ msgid "Product filter"
|
297 |
#~ msgstr "Filtro prodotto"
|
298 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-07-31 12:59+0200\n"
|
6 |
+
"PO-Revision-Date: 2015-07-31 13:13+0200\n"
|
7 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: it_IT\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
+
"X-Generator: Poedit 1.8.3\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
+
"X-Poedit-Basepath: ..\n"
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
28 |
#: includes/class.yith-wcan-admin.php:141
|
29 |
#: includes/class.yith-wcan-admin.php:142
|
30 |
msgid "Ajax Product Filter"
|
31 |
+
msgstr "Ajax Product Filter"
|
32 |
|
33 |
#: includes/class.yith-wcan-admin.php:181
|
34 |
msgid "Premium live demo"
|
35 |
+
msgstr "Anteprima versione premium"
|
36 |
|
37 |
#: includes/class.yith-wcan-admin.php:181
|
38 |
msgid "Live demo"
|
39 |
+
msgstr "Anteprima"
|
40 |
|
41 |
#: includes/class.yith-wcan-admin.php:209
|
42 |
msgid "Plugin Documentation"
|
43 |
+
msgstr "Documentazione Plugin"
|
44 |
|
45 |
#: includes/class.yith-wcan-admin.php:262
|
46 |
msgid ""
|
57 |
"files in the correct format. After renaming the files, you can update/"
|
58 |
"translate the .po file following the classic procedure for translations."
|
59 |
msgstr ""
|
60 |
+
"Cari utenti,\n"
|
61 |
+
" comunichiamo che il plugin YITH WooCommerce Ajax "
|
62 |
+
"Navigation cambierà il proprio nome in YITH WooCommerce Ajax Product Filter "
|
63 |
+
"dal prossimo aggiornamento. Per di più, anche il textdomain del plugin "
|
64 |
+
"cambierà da \"yit\" a \"yith_wc_ajxnav\".\n"
|
65 |
+
" Questa modifica risolve i problemi riguardanti i "
|
66 |
+
"conflitti di textdomain generati da alcuni plugin di traduzione/multilingua "
|
67 |
+
"che avete identificato nelle settimane precedenti.\n"
|
68 |
+
" Se alcuni file di lingua non fossero più "
|
69 |
+
"riconosciuti da WordPress una volta effettuato l'aggiornamento, basterà "
|
70 |
+
"rinominare i file di lingua nel formato corretto. Dopo averli rinominati, è "
|
71 |
+
"possibile aggiornare/tradurre il file .po seguendo la procedura classica di "
|
72 |
+
"traduzione."
|
73 |
|
74 |
#: includes/class.yith-wcan-admin.php:267
|
75 |
#: widgets/class.yith-wcan-navigation-widget.php:26
|
80 |
msgid ""
|
81 |
"YITH WooCommerce Product Filter has been updated with new available options"
|
82 |
msgstr ""
|
83 |
+
"YITH WooCommerce Product Filter è stato aggiornato con delle nuove opzioni"
|
84 |
|
85 |
#: includes/class.yith-wcan-admin.php:269
|
86 |
msgid "discover the PREMIUM version"
|
87 |
+
msgstr "scopri la versione PREMIUM"
|
88 |
|
89 |
# @ yit
|
90 |
#: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
|
94 |
|
95 |
# @ yit
|
96 |
#: includes/functions.yith-wcan.php:57
|
97 |
+
#: widgets/class.yith-wcan-navigation-widget.php:811
|
98 |
msgid "Color"
|
99 |
msgstr "Colore"
|
100 |
|
127 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
|
128 |
"Filter%2$s to benefit from all features!"
|
129 |
msgstr ""
|
130 |
+
"Aggiorna alla %1$sversione PREMIUM%2$s di %1$sYITH WOOCOMMERCE AJAX PRODUCT "
|
131 |
+
"FILTER%2$s per beneficiare di tutte le funzionalità!"
|
132 |
|
133 |
#: templates/admin/premium.php:210 templates/admin/premium.php:327
|
134 |
msgid "UPGRADE"
|
135 |
+
msgstr "AGGIORNA"
|
136 |
|
137 |
#: templates/admin/premium.php:211 templates/admin/premium.php:328
|
138 |
msgid "to the premium version"
|
139 |
+
msgstr "alla versione premium"
|
140 |
|
141 |
#: templates/admin/premium.php:217
|
142 |
msgid "Premium Features"
|
143 |
+
msgstr "Caratteristiche Premium"
|
144 |
|
145 |
#: templates/admin/premium.php:225
|
146 |
msgid "Two more layouts"
|
147 |
+
msgstr "Due layout in più"
|
148 |
|
149 |
#: templates/admin/premium.php:228
|
150 |
#, php-format
|
160 |
"products by brands thanks to the ajax technology.\n"
|
161 |
" "
|
162 |
msgstr ""
|
163 |
+
"Il widget YITH WooCommerce Ajax product Filter si arricchisce ulteriormente "
|
164 |
+
"di 2 nuove tipologie di layout per il filtro dei prodotti del tuo shop. \n"
|
165 |
+
"%1$sBicolor%2$s, perfetto per quegli attributi (di tipo colore) che fanno "
|
166 |
+
"riferimento a due colori contemporaneamente (bianco/nero), per un impatto "
|
167 |
+
"visivo agevole per l’utente finale. Scegli la tipologia %1$sTag%2$s se "
|
168 |
+
"invece vuoi che i tuoi prodotti possano essere filtrati per tag di "
|
169 |
+
"prodotto.\n"
|
170 |
+
"Se stai usando contemporaneamente anche %1$sYITH WooCommerce Brand Add-On"
|
171 |
+
"%2$s, potrai offrire la possibilità di filtrare per brand i prodotti del tuo "
|
172 |
+
"shop grazie alla tecnologia ajax."
|
173 |
|
174 |
#: templates/admin/premium.php:241
|
175 |
msgid "Price range"
|
176 |
+
msgstr "Intervallo di prezzo"
|
177 |
|
178 |
#: templates/admin/premium.php:244
|
179 |
#, php-format
|
184 |
"%1$syou can set unlimited price ranges:%2$s your users will be able to "
|
185 |
"filter products selecting on the ranges you have set."
|
186 |
msgstr ""
|
187 |
+
"Uno dei filtri maggiormente richiesti dagli utenti all’interno di un e-"
|
188 |
+
"commerce interessa la possibilità di fare una selezione di prodotti sulla "
|
189 |
+
"base del prezzo. Grazie a YITH WooCommerce Filtro Ajax Elenco Prezzi "
|
190 |
+
"%1$spotrai definire infiniti range di prezzo%2$s, così da permettere ai tuoi "
|
191 |
+
"utenti di filtrare i prodotti selezionando uno degli intervalli di prezzo da "
|
192 |
+
"te definiti."
|
193 |
|
194 |
#: templates/admin/premium.php:261
|
195 |
msgid "Ajax Stock/On Sale Filters"
|
196 |
+
msgstr "Filtri Ajax Disponibili/In Saldo"
|
197 |
|
198 |
#: templates/admin/premium.php:264
|
199 |
#, php-format
|
204 |
" %1$sAn additional feature for an e-commerce site that is "
|
205 |
"worthy!%2$s"
|
206 |
msgstr ""
|
207 |
+
"Ancora un widget novità per la versione premium del plugin. \n"
|
208 |
+
"Con esso chiunque si trovi a navigare tra le pagine del tuo shop potrà "
|
209 |
+
"visualizzare solo i prodotti in saldo e/o i prodotti al momento disponibili."
|
210 |
+
"%3$s \n"
|
211 |
+
"%1$sUna caratteristica aggiuntiva per un e-commerce che vale!%2$s"
|
212 |
|
213 |
#: templates/admin/premium.php:276
|
214 |
msgid "Product sorting"
|
215 |
+
msgstr "Ordinamento prodotti"
|
216 |
|
217 |
#: templates/admin/premium.php:279
|
218 |
#, php-format
|
222 |
" without the need to reload the page. Products can be "
|
223 |
"sorted by rate, sales, price or publication date."
|
224 |
msgstr ""
|
225 |
+
"Con il nuovo widget %1$sYITH WooCommerce Disposizione Ajax%2$s dai ai tuoi "
|
226 |
+
"utenti la possibilità di ordinare in ajax i prodotti, senza la necessità di "
|
227 |
+
"dover attendere che la pagina ricarichi.\n"
|
228 |
+
"L’ordinamento può essere fatto in base al rating, numero di vendite, prezzo "
|
229 |
+
"o data di pubblicazione."
|
230 |
|
231 |
#: templates/admin/premium.php:296
|
232 |
msgid "Customized loader"
|
233 |
+
msgstr "Loader personalizzato"
|
234 |
|
235 |
#: templates/admin/premium.php:299
|
236 |
msgid ""
|
237 |
"From the plugin option panel, you can choose to upload a new icon for your "
|
238 |
"loader: in this way, it will better meet your needs."
|
239 |
msgstr ""
|
240 |
+
"Direttamente dal pannello opzioni del plugin potrai scegliere di effettuare "
|
241 |
+
"l’upload di una nuova icona per il loader, nel caso quello di default non "
|
242 |
+
"faccia al caso tuo."
|
243 |
|
244 |
#: templates/admin/premium.php:309
|
245 |
msgid "WooCommerce Price Filter"
|
246 |
+
msgstr "WooCommerce Price Filter"
|
247 |
|
248 |
#: templates/admin/premium.php:312
|
249 |
msgid ""
|
251 |
"WooCommerce Price Filter widget, changing the settings you can find in the "
|
252 |
"plugin option panel."
|
253 |
msgstr ""
|
254 |
+
"Con la versione premium del plugin avrai anche la possibilità di "
|
255 |
+
"personalizzare il widget WooCommerce Price Filter, modificando le apposite "
|
256 |
+
"impostazioni che sono state inserite nel pannello opzioni del plugin."
|
257 |
|
258 |
#: widgets/class.yith-wcan-navigation-widget.php:23
|
259 |
msgid "Filter the product list without reloading the page"
|
260 |
+
msgstr "Filtra l'elenco prodotti senza ricaricare la pagina"
|
261 |
|
262 |
#: widgets/class.yith-wcan-navigation-widget.php:262
|
263 |
msgid "Filters:"
|
264 |
msgstr "Filtri:"
|
265 |
|
266 |
# @ yit
|
267 |
+
#: widgets/class.yith-wcan-navigation-widget.php:810
|
268 |
msgid "List"
|
269 |
msgstr "Lista"
|
270 |
|
271 |
# @ yit
|
272 |
+
#: widgets/class.yith-wcan-navigation-widget.php:812
|
273 |
msgid "Label"
|
274 |
msgstr "Etichetta"
|
275 |
|
276 |
+
#: widgets/class.yith-wcan-navigation-widget.php:813
|
277 |
msgid "Dropdown"
|
278 |
msgstr "Menu a tendina"
|
279 |
|
280 |
# @ yit
|
281 |
+
#: widgets/class.yith-wcan-navigation-widget.php:820
|
282 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
283 |
msgid "Title"
|
284 |
msgstr "Titolo"
|
285 |
|
286 |
# @ yit
|
287 |
+
#: widgets/class.yith-wcan-navigation-widget.php:826
|
288 |
msgid "Type:"
|
289 |
msgstr "Tipo:"
|
290 |
|
291 |
# @ yit
|
292 |
+
#: widgets/class.yith-wcan-navigation-widget.php:837
|
293 |
msgid "Query Type:"
|
294 |
msgstr "Tipo Query:"
|
295 |
|
296 |
# @ yit
|
297 |
+
#: widgets/class.yith-wcan-navigation-widget.php:839
|
298 |
msgid "AND"
|
299 |
msgstr "E"
|
300 |
|
301 |
# @ yit
|
302 |
+
#: widgets/class.yith-wcan-navigation-widget.php:840
|
303 |
msgid "OR"
|
304 |
msgstr "O"
|
305 |
|
306 |
# @ yit
|
307 |
+
#: widgets/class.yith-wcan-navigation-widget.php:844
|
308 |
msgid "Attribute:"
|
309 |
msgstr "Attributo:"
|
310 |
|
311 |
+
#: widgets/class.yith-wcan-navigation-widget.php:851
|
312 |
msgid "Display (default All):"
|
313 |
msgstr "Visualizza (default Tutti)"
|
314 |
|
315 |
+
#: widgets/class.yith-wcan-navigation-widget.php:853
|
316 |
msgid "All (no hierarchical)"
|
317 |
msgstr "Tutti (non gerarchico)"
|
318 |
|
319 |
+
#: widgets/class.yith-wcan-navigation-widget.php:854
|
320 |
msgid "All (hierarchical)"
|
321 |
+
msgstr "Tutti (gerarchico)"
|
322 |
|
323 |
+
#: widgets/class.yith-wcan-navigation-widget.php:855
|
324 |
msgid "Only Parent"
|
325 |
msgstr "Solo Principali"
|
326 |
|
331 |
|
332 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:25
|
333 |
msgid "YITH WooCommerce Ajax Reset Filter"
|
334 |
+
msgstr "YITH WooCommerce Filtro Ajax Reset"
|
335 |
|
336 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:82
|
337 |
msgid "Reset All Filters"
|
341 |
msgid "Button Label"
|
342 |
msgstr "Etichetta Pulsante"
|
343 |
|
344 |
+
#~ msgid "Settings"
|
345 |
+
#~ msgstr "Impostazioni"
|
346 |
+
|
347 |
+
#~ msgid "Front end"
|
348 |
+
#~ msgstr "Front end"
|
349 |
+
|
350 |
+
#~ msgctxt "Admin(Pointers): Plugin Title"
|
351 |
+
#~ msgid "YITH WooCommerce Ajax Product Filter"
|
352 |
+
#~ msgstr "YITH WooCommerce Ajax Product Filter"
|
353 |
+
|
354 |
+
#~ msgid "General Settings"
|
355 |
+
#~ msgstr "Impostazioni Generali"
|
356 |
+
|
357 |
+
#~ msgctxt "Admin panel: option description"
|
358 |
+
#~ msgid "How To:"
|
359 |
+
#~ msgstr "Descrizione"
|
360 |
+
|
361 |
+
#~ msgctxt "Admin: Panel section description"
|
362 |
+
#~ msgid ""
|
363 |
+
#~ "If your theme use the WooCommerce standard templates, you don't need to "
|
364 |
+
#~ "change the following values.\n"
|
365 |
+
#~ " Otherwise, add the classes used in the "
|
366 |
+
#~ "template of your theme.\n"
|
367 |
+
#~ " If you don't know them, please contact "
|
368 |
+
#~ "the developer of your theme to receive the correct classes."
|
369 |
+
#~ msgstr ""
|
370 |
+
#~ "Se il tuo tema utilizza i template standard diWooCommerce, non devi "
|
371 |
+
#~ "modificare i seguenti valori.\n"
|
372 |
+
#~ " In caso contrario, aggiungi le classe "
|
373 |
+
#~ "utilizzate nel template del tuo tema.\n"
|
374 |
+
#~ " Se non le conosci, contatta lo "
|
375 |
+
#~ "sviluppatore del tuo tema per ottenere le classi corrette."
|
376 |
+
|
377 |
+
#~ msgid "Product Container"
|
378 |
+
#~ msgstr "Contenitore Prodotti"
|
379 |
+
|
380 |
+
#~ msgid "Put here the CSS class or id for the product container"
|
381 |
+
#~ msgstr "Inserisci qui la classe CSS o l'ID per il contenitore del prodotto"
|
382 |
+
|
383 |
+
#~ msgid "Shop Pagination Container"
|
384 |
+
#~ msgstr "Contenitore Paginazione"
|
385 |
+
|
386 |
+
#~ msgid "Put here the CSS class or id for the shop pagination container"
|
387 |
+
#~ msgstr ""
|
388 |
+
#~ "Inserisci qui la classe CSS o l'ID per il contenitore della paginazione "
|
389 |
+
#~ "del negozio"
|
390 |
+
|
391 |
+
#~ msgid "Result Count Container"
|
392 |
+
#~ msgstr "Contenitore Conteggio Prodotti"
|
393 |
+
|
394 |
+
#~ msgid "Put here the CSS class or id for the result count container"
|
395 |
+
#~ msgstr ""
|
396 |
+
#~ "Inserisci qui la classe CSS o l'ID per il contenitore del conteggio dei "
|
397 |
+
#~ "prodotti"
|
398 |
+
|
399 |
+
#~ msgid "Ajax Loader"
|
400 |
+
#~ msgstr "Loader Ajax"
|
401 |
+
|
402 |
+
#~ msgid "Customize the ajax loader"
|
403 |
+
#~ msgstr "Personalizza il loader ajax"
|
404 |
+
|
405 |
+
#~ msgctxt "Referer to original WooCommerce Price Filter Widget"
|
406 |
+
#~ msgid "Ajax WooCommerce Price Filter"
|
407 |
+
#~ msgstr "Price Filter di WooCommerce in ajax"
|
408 |
+
|
409 |
+
#~ msgid "Use WooCommerce price filter in ajax"
|
410 |
+
#~ msgstr "Utilizza il Price Filter di WooCommerce in ajax"
|
411 |
+
|
412 |
+
#~ msgctxt "Referer to original WooCommerce Price Filter Widget"
|
413 |
+
#~ msgid "WooCommerce Price Filter Slider"
|
414 |
+
#~ msgstr "Price Filter di WooCommerce con slider"
|
415 |
+
|
416 |
+
#~ msgid "Use WooCommerce price filter with slider"
|
417 |
+
#~ msgstr "Utilizza il Price Filter di WooCommerce con slider"
|
418 |
+
|
419 |
+
#~ msgctxt "Referer to original WooCommerce Price Filter Widget"
|
420 |
+
#~ msgid "Dropdown for WooCommerce Price Filter"
|
421 |
+
#~ msgstr "Menu a tendina per Price Filter di WooCommerce"
|
422 |
+
|
423 |
+
#~ msgid "Add dropdown effect to original WooCommerce Price Filter widget"
|
424 |
+
#~ msgstr ""
|
425 |
+
#~ "Aggiunge l'effetto di menu a tendina all'originale Price Filter di "
|
426 |
+
#~ "WooCommerce"
|
427 |
+
|
428 |
+
#~ msgctxt "Referer to original WooCommerce Price Filter Widget"
|
429 |
+
#~ msgid "Open/Close for WooCommerce Price Filter"
|
430 |
+
#~ msgstr "Apri/Chiudi il menu di Price Filter di WooCommerce"
|
431 |
+
|
432 |
+
#~ msgid "Select if you want to show the dropdown opened or closed"
|
433 |
+
#~ msgstr "Scegli se mostrare il menu a tendina aperto o chiuso"
|
434 |
+
|
435 |
+
#~ msgid "Opened"
|
436 |
+
#~ msgstr "Aperto"
|
437 |
+
|
438 |
+
#~ msgid "Closed"
|
439 |
+
#~ msgstr "Chiuso"
|
440 |
+
|
441 |
+
#~ msgctxt "Price filter option: price starts from"
|
442 |
+
#~ msgid "From"
|
443 |
+
#~ msgstr "Da"
|
444 |
+
|
445 |
+
#~ msgctxt "Price filter option: price ends to"
|
446 |
+
#~ msgid "To"
|
447 |
+
#~ msgstr "A"
|
448 |
+
|
449 |
+
#~ msgid ""
|
450 |
+
#~ "Show a price filter widget with a list of preset price ranges that users "
|
451 |
+
#~ "can use to better narrow down the products"
|
452 |
+
#~ msgstr ""
|
453 |
+
#~ "Mostra un widget per filtrare il prezzo con un elenco di intervalli "
|
454 |
+
#~ "preimpostati che gli utenti possono usare per migliorare la loro ricerca "
|
455 |
+
#~ "dei prodotti"
|
456 |
+
|
457 |
+
#~ msgid "YITH WooCommerce Ajax Price List Filter"
|
458 |
+
#~ msgstr "YITH WooCommerce Filtro Ajax Elenco Prezzi"
|
459 |
+
|
460 |
+
#~ msgctxt "refer to: product price"
|
461 |
+
#~ msgid "Price Filter"
|
462 |
+
#~ msgstr "Filtro Prezzo"
|
463 |
+
|
464 |
+
#~ msgid "Show widget dropdown"
|
465 |
+
#~ msgstr "Mostra il menu a tendina del widget"
|
466 |
+
|
467 |
+
#~ msgctxt "Select if you want to show the widget open or closed"
|
468 |
+
#~ msgid "Dropdown style:"
|
469 |
+
#~ msgstr "Stile menu a tendina:"
|
470 |
+
|
471 |
+
#~ msgid "Price Range"
|
472 |
+
#~ msgstr "Intervallo Prezzo"
|
473 |
+
|
474 |
+
#~ msgid "Add new range"
|
475 |
+
#~ msgstr "Aggiungi nuovo intervallo"
|
476 |
+
|
477 |
+
#~ msgid "No tags found."
|
478 |
+
#~ msgstr "Nessun tag trovato."
|
479 |
+
|
480 |
+
#~ msgctxt "Admin: Section title"
|
481 |
+
#~ msgid "Tag List"
|
482 |
+
#~ msgstr "Elenco Tag"
|
483 |
+
|
484 |
+
#~ msgid "Show Selected"
|
485 |
+
#~ msgstr "Mostra i selezionati"
|
486 |
+
|
487 |
+
#~ msgid "Hide Selected"
|
488 |
+
#~ msgstr "Nascondi i selezionati"
|
489 |
+
|
490 |
+
#~ msgid "Select all"
|
491 |
+
#~ msgstr "Seleziona tutto"
|
492 |
+
|
493 |
+
#~ msgid "Unselect all"
|
494 |
+
#~ msgstr "Deseleziona tutto"
|
495 |
+
|
496 |
+
#~ msgctxt "Admin: user note"
|
497 |
+
#~ msgid ""
|
498 |
+
#~ "Note: tags with no assigned products will not be showed in the front end"
|
499 |
+
#~ msgstr ""
|
500 |
+
#~ "N.B.: i tag che non sono assegnati ad alcun prodotto non saranno mostrati "
|
501 |
+
#~ "nel front end "
|
502 |
+
|
503 |
+
#~ msgid "Tag name"
|
504 |
+
#~ msgstr "Nome tag"
|
505 |
+
|
506 |
+
#~ msgid "Count"
|
507 |
+
#~ msgstr "Conteggio"
|
508 |
+
|
509 |
+
#~ msgctxt "Select if you want to show round color box or square color box"
|
510 |
+
#~ msgid "Color Style:"
|
511 |
+
#~ msgstr "Stile Colori"
|
512 |
+
|
513 |
+
#~ msgid "Square"
|
514 |
+
#~ msgstr "Quadrati"
|
515 |
+
|
516 |
+
#~ msgid "Round"
|
517 |
+
#~ msgstr "Rotondi"
|
518 |
+
|
519 |
+
#~ msgid "Hide product count"
|
520 |
+
#~ msgstr "Nascondi numero prodotti"
|
521 |
+
|
522 |
+
#~ msgid "BiColor"
|
523 |
+
#~ msgstr "BiColor"
|
524 |
+
|
525 |
+
#~ msgid "Tag"
|
526 |
+
#~ msgstr "Tag"
|
527 |
+
|
528 |
+
#~ msgid "Brand"
|
529 |
+
#~ msgstr "Brand"
|
530 |
+
|
531 |
+
#~ msgctxt "Admin: user tooltip"
|
532 |
+
#~ msgid ""
|
533 |
+
#~ "Activating the filter type \"Tag \" you can choose which tags show in"
|
534 |
+
#~ msgstr "Attivando il filtro \"Tag\", puoi scegliere quali tag mostrare in"
|
535 |
+
|
536 |
+
#~ msgctxt "Label link"
|
537 |
+
#~ msgid "YIT Plugins -> Ajax Product Filter -> Filter by Tag"
|
538 |
+
#~ msgstr "YIT Plugins -> Ajax Product Filter -> Filtra per tag"
|
539 |
+
|
540 |
+
#~ msgctxt "Label link"
|
541 |
+
#~ msgid "Please take note of the following Widgets ID"
|
542 |
+
#~ msgstr "Si prega di prender nota dei seguenti ID dei widget"
|
543 |
+
|
544 |
+
#~ msgctxt "Admin: Widget Title"
|
545 |
+
#~ msgid "YITH WooCommerce Ajax Product Filter"
|
546 |
+
#~ msgstr "YITH WooCommerce Filtro Prodotti Ajax"
|
547 |
+
|
548 |
+
#~ msgid "Use custom style for reset button"
|
549 |
+
#~ msgstr "Utilizza uno stile personalizzato per il pulsante di reset"
|
550 |
+
|
551 |
+
#~ msgid "Background color"
|
552 |
+
#~ msgstr "Colore di sfondo"
|
553 |
+
|
554 |
+
#~ msgid "Background color in hover"
|
555 |
+
#~ msgstr "Colore di sfondo al passaggio del mouse"
|
556 |
+
|
557 |
+
#~ msgid "Text color"
|
558 |
+
#~ msgstr "Colore del testo"
|
559 |
+
|
560 |
+
#~ msgid "Text color in hover"
|
561 |
+
#~ msgstr "Colore del testo al passaggio del mouse"
|
562 |
+
|
563 |
+
#~ msgid "Border color"
|
564 |
+
#~ msgstr "Colore dei bordi"
|
565 |
+
|
566 |
+
#~ msgid "Border color in hover"
|
567 |
+
#~ msgstr "Colore dei bordi al passaggio del mouse"
|
568 |
+
|
569 |
+
#~ msgid "Display the sorting of the WooCommerce products"
|
570 |
+
#~ msgstr "Mostra l'ordinamento dei prodotti WooCommerce"
|
571 |
+
|
572 |
+
#~ msgid "YITH WooCommerce Ajax Sort By"
|
573 |
+
#~ msgstr "YITH WooCommerce Disposizione Ajax"
|
574 |
+
|
575 |
+
#~ msgctxt "Product sorting"
|
576 |
+
#~ msgid "Sort by"
|
577 |
+
#~ msgstr "Ordina per"
|
578 |
+
|
579 |
+
#~ msgid "Display on sale and in stock WooCommerce products"
|
580 |
+
#~ msgstr "Mostra i prodotti WooCommerce disponibili e in sconto"
|
581 |
+
|
582 |
+
#~ msgid "YITH WooCommerce Ajax In Stock/On Sale Filters"
|
583 |
+
#~ msgstr "YITH WooCommerce Filtri Ajax Disponibili/In Saldo"
|
584 |
+
|
585 |
+
#~ msgid "Show only \"On Sale\" products"
|
586 |
+
#~ msgstr "Mostra solo prodotti \"In sconto\""
|
587 |
+
|
588 |
+
#~ msgid "Show only \"In Stock\" products"
|
589 |
+
#~ msgstr "Mostra solo prodotti \"Disponibili\""
|
590 |
+
|
591 |
+
#~ msgctxt "Product sorting"
|
592 |
+
#~ msgid "Stock/On sale"
|
593 |
+
#~ msgstr "Disponibili/In sconto"
|
594 |
+
|
595 |
+
#~ msgid "Show \"On Sale\" filter"
|
596 |
+
#~ msgstr "Mostra filtro \"In sconto\""
|
597 |
+
|
598 |
+
#~ msgid "Show \"In Stock\" filter"
|
599 |
+
#~ msgstr "Mostra filtro \"Disponibili\""
|
600 |
+
|
601 |
+
#~ msgid "YITH WooCommerce Ajax List Price Filter"
|
602 |
+
#~ msgstr "YITH WooCommerce Filtro Ajax List Price Filter"
|
603 |
+
|
604 |
+
#~ msgid "Frontend"
|
605 |
+
#~ msgstr "Front end"
|
606 |
+
|
607 |
+
#~ msgctxt "Admin: Section title"
|
608 |
+
#~ msgid "Tags List"
|
609 |
+
#~ msgstr "Elenco Tag"
|
610 |
+
|
611 |
+
#~ msgctxt "Admin: user note"
|
612 |
+
#~ msgid ""
|
613 |
+
#~ "Note: tags with no assigned products will not be showed in the frontend"
|
614 |
+
#~ msgstr ""
|
615 |
+
#~ "N.B.: i tag che non sono assegnati ad alcun prodotto non saranno mostrati "
|
616 |
+
#~ "nel front end "
|
617 |
+
|
618 |
+
#~ msgid "Tags"
|
619 |
+
#~ msgstr "Tag"
|
620 |
+
|
621 |
+
#~ msgid "Brands"
|
622 |
+
#~ msgstr "Brand"
|
623 |
+
|
624 |
#~ msgid "Product filter"
|
625 |
#~ msgstr "Filtro prodotto"
|
626 |
|
languages/yith_wc_ajxnav.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2015-
|
7 |
"PO-Revision-Date: 2015-06-19 13:59+0100\n"
|
8 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
9 |
"Language-Team: \n"
|
@@ -61,7 +61,7 @@ msgid ""
|
|
61 |
msgstr ""
|
62 |
|
63 |
#: includes/class.yith-wcan-admin.php:267
|
64 |
-
|
65 |
msgid "YITH WooCommerce Ajax Product Filter"
|
66 |
msgstr ""
|
67 |
|
@@ -82,7 +82,7 @@ msgid "Term"
|
|
82 |
msgstr ""
|
83 |
|
84 |
#: includes/functions.yith-wcan.php:57
|
85 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
86 |
msgid "Color"
|
87 |
msgstr ""
|
88 |
|
@@ -320,7 +320,7 @@ msgstr ""
|
|
320 |
msgid "Upload multiple files"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: plugin-fw/lib/yit-plugin-panel-wc.php:
|
324 |
msgid "The changes you have made will be lost if you leave this page."
|
325 |
msgstr ""
|
326 |
|
@@ -1157,60 +1157,65 @@ msgstr ""
|
|
1157 |
msgid "Filter the product list without reloading the page"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
|
|
|
|
|
|
|
|
|
|
1161 |
msgid "Filters:"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1165 |
msgid "List"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1169 |
msgid "Label"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1173 |
msgid "Dropdown"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1177 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
1178 |
msgid "Title"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1182 |
msgid "Type:"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1186 |
msgid "Query Type:"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1190 |
msgid "AND"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1194 |
msgid "OR"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1198 |
msgid "Attribute:"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1202 |
msgid "Display (default All):"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1206 |
msgid "All (no hierarchical)"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1210 |
msgid "All (hierarchical)"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1214 |
msgid "Only Parent"
|
1215 |
msgstr ""
|
1216 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2015-08-11 16:45+0100\n"
|
7 |
"PO-Revision-Date: 2015-06-19 13:59+0100\n"
|
8 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
9 |
"Language-Team: \n"
|
61 |
msgstr ""
|
62 |
|
63 |
#: includes/class.yith-wcan-admin.php:267
|
64 |
+
msgctxt "Admin(Pointers): Plugin Title"
|
65 |
msgid "YITH WooCommerce Ajax Product Filter"
|
66 |
msgstr ""
|
67 |
|
82 |
msgstr ""
|
83 |
|
84 |
#: includes/functions.yith-wcan.php:57
|
85 |
+
#: widgets/class.yith-wcan-navigation-widget.php:813
|
86 |
msgid "Color"
|
87 |
msgstr ""
|
88 |
|
320 |
msgid "Upload multiple files"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: plugin-fw/lib/yit-plugin-panel-wc.php:309
|
324 |
msgid "The changes you have made will be lost if you leave this page."
|
325 |
msgstr ""
|
326 |
|
1157 |
msgid "Filter the product list without reloading the page"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: widgets/class.yith-wcan-navigation-widget.php:26
|
1161 |
+
msgctxt "Admin: Widget Title"
|
1162 |
+
msgid "YITH WooCommerce Ajax Product Filter"
|
1163 |
+
msgstr ""
|
1164 |
+
|
1165 |
+
#: widgets/class.yith-wcan-navigation-widget.php:264
|
1166 |
msgid "Filters:"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: widgets/class.yith-wcan-navigation-widget.php:812
|
1170 |
msgid "List"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: widgets/class.yith-wcan-navigation-widget.php:814
|
1174 |
msgid "Label"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: widgets/class.yith-wcan-navigation-widget.php:815
|
1178 |
msgid "Dropdown"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: widgets/class.yith-wcan-navigation-widget.php:822
|
1182 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
1183 |
msgid "Title"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
+
#: widgets/class.yith-wcan-navigation-widget.php:828
|
1187 |
msgid "Type:"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: widgets/class.yith-wcan-navigation-widget.php:839
|
1191 |
msgid "Query Type:"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: widgets/class.yith-wcan-navigation-widget.php:841
|
1195 |
msgid "AND"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: widgets/class.yith-wcan-navigation-widget.php:842
|
1199 |
msgid "OR"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: widgets/class.yith-wcan-navigation-widget.php:846
|
1203 |
msgid "Attribute:"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: widgets/class.yith-wcan-navigation-widget.php:853
|
1207 |
msgid "Display (default All):"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: widgets/class.yith-wcan-navigation-widget.php:855
|
1211 |
msgid "All (no hierarchical)"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: widgets/class.yith-wcan-navigation-widget.php:856
|
1215 |
msgid "All (hierarchical)"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: widgets/class.yith-wcan-navigation-widget.php:857
|
1219 |
msgid "Only Parent"
|
1220 |
msgstr ""
|
1221 |
|
plugin-fw/assets/css/yit-plugin-panel.css
CHANGED
@@ -626,6 +626,11 @@
|
|
626 |
color: #45bbe6;
|
627 |
}
|
628 |
|
|
|
|
|
|
|
|
|
|
|
629 |
/* === Responsive === */
|
630 |
|
631 |
@media (max-width: 767px) {}
|
626 |
color: #45bbe6;
|
627 |
}
|
628 |
|
629 |
+
/* WooCommerce 2.4 Support */
|
630 |
+
.woocommerce table.form-table .colorpick{
|
631 |
+
width: 6em;
|
632 |
+
}
|
633 |
+
|
634 |
/* === Responsive === */
|
635 |
|
636 |
@media (max-width: 767px) {}
|
plugin-fw/lib/yit-plugin-panel-wc.php
CHANGED
@@ -37,6 +37,11 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
37 |
*/
|
38 |
public $settings = array();
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
/**
|
41 |
* @var array
|
42 |
*/
|
@@ -51,6 +56,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
51 |
*/
|
52 |
public function __construct( $args = array() ) {
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
if ( ! empty( $args ) ) {
|
55 |
$this->settings = $args;
|
56 |
$this->_tabs_path_files = $this->get_tabs_path_files();
|
@@ -64,10 +77,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
64 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
65 |
add_action( 'admin_init', array( $this, 'woocommerce_update_options' ) );
|
66 |
add_filter( 'woocommerce_screen_ids', array( $this, 'add_allowed_screen_id' ) );
|
|
|
67 |
|
68 |
/* Add VideoBox and InfoBox */
|
69 |
add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'add_infobox' ), 10, 1 );
|
70 |
add_action( 'woocommerce_admin_field_videobox', array( $this, 'add_videobox' ), 10, 1 );
|
|
|
|
|
|
|
71 |
}
|
72 |
}
|
73 |
|
@@ -251,6 +268,16 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
251 |
$yit_options = $this->get_main_array_options();
|
252 |
$current_tab = $this->get_current_tab();
|
253 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
woocommerce_update_options( $yit_options[ $current_tab ] );
|
255 |
|
256 |
do_action( 'yit_panel_wc_after_update' );
|
@@ -320,7 +347,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
320 |
} else {
|
321 |
add_option($value['id'], $default_value);
|
322 |
}
|
323 |
-
|
324 |
}
|
325 |
|
326 |
}
|
@@ -328,6 +354,51 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
328 |
|
329 |
}
|
330 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
|
332 |
}
|
333 |
}
|
37 |
*/
|
38 |
public $settings = array();
|
39 |
|
40 |
+
/**
|
41 |
+
* @var array a setting list of parameters
|
42 |
+
*/
|
43 |
+
public $wc_type = array();
|
44 |
+
|
45 |
/**
|
46 |
* @var array
|
47 |
*/
|
56 |
*/
|
57 |
public function __construct( $args = array() ) {
|
58 |
|
59 |
+
$this->wc_type = array(
|
60 |
+
'checkbox',
|
61 |
+
'textarea',
|
62 |
+
'multiselect',
|
63 |
+
'multi_select_countries',
|
64 |
+
'image_width'
|
65 |
+
);
|
66 |
+
|
67 |
if ( ! empty( $args ) ) {
|
68 |
$this->settings = $args;
|
69 |
$this->_tabs_path_files = $this->get_tabs_path_files();
|
77 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
78 |
add_action( 'admin_init', array( $this, 'woocommerce_update_options' ) );
|
79 |
add_filter( 'woocommerce_screen_ids', array( $this, 'add_allowed_screen_id' ) );
|
80 |
+
add_filter( 'woocommerce_admin_settings_sanitize_option', array( $this, 'maybe_unserialize_panel_data' ), 10, 3 );
|
81 |
|
82 |
/* Add VideoBox and InfoBox */
|
83 |
add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'add_infobox' ), 10, 1 );
|
84 |
add_action( 'woocommerce_admin_field_videobox', array( $this, 'add_videobox' ), 10, 1 );
|
85 |
+
|
86 |
+
/* WooCommerce 2.4 Support */
|
87 |
+
add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
|
88 |
}
|
89 |
}
|
90 |
|
268 |
$yit_options = $this->get_main_array_options();
|
269 |
$current_tab = $this->get_current_tab();
|
270 |
|
271 |
+
if( version_compare( WC()->version, '2.4.0', '>=' ) ) {
|
272 |
+
if ( ! empty( $yit_options[ $current_tab ] ) ) {
|
273 |
+
foreach ( $yit_options[ $current_tab ] as $option ) {
|
274 |
+
if ( isset( $option['id'] ) && isset( $_POST[ $option['id'] ] ) && isset( $option['type' ] ) && ! in_array( $option['type'], $this->wc_type ) ) {
|
275 |
+
$_POST[ $option['id'] ] = maybe_serialize( $_POST[ $option['id'] ] );
|
276 |
+
}
|
277 |
+
}
|
278 |
+
}
|
279 |
+
}
|
280 |
+
|
281 |
woocommerce_update_options( $yit_options[ $current_tab ] );
|
282 |
|
283 |
do_action( 'yit_panel_wc_after_update' );
|
347 |
} else {
|
348 |
add_option($value['id'], $default_value);
|
349 |
}
|
|
|
350 |
}
|
351 |
|
352 |
}
|
354 |
|
355 |
}
|
356 |
|
357 |
+
/**
|
358 |
+
* Add the woocommerce body class in plugin panel page
|
359 |
+
*
|
360 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
361 |
+
* @since 2.0
|
362 |
+
* @param $classes The body classes
|
363 |
+
*
|
364 |
+
* @return array Filtered body classes
|
365 |
+
*/
|
366 |
+
public function admin_body_class( $admin_body_classes ){
|
367 |
+
$admin_body_classes .= ' woocommerce ';
|
368 |
+
return $admin_body_classes;
|
369 |
+
}
|
370 |
+
|
371 |
+
/**
|
372 |
+
* Maybe unserialize panel data
|
373 |
+
*
|
374 |
+
* @param $value mixed Option value
|
375 |
+
* @param $option mixed Option settings array
|
376 |
+
* @param $raw_value string Raw option value
|
377 |
+
*
|
378 |
+
* @return mixed Filtered return value
|
379 |
+
* @author Antonio La Rocca <antonio.larocca@yithemes.com>
|
380 |
+
* @since 2.0
|
381 |
+
*/
|
382 |
+
public function maybe_unserialize_panel_data( $value, $option, $raw_value ) {
|
383 |
+
|
384 |
+
|
385 |
+
if( ! version_compare( WC()->version, '2.4.0', '>=' ) || ! isset( $option['type' ] ) || in_array( $option['type'], $this->wc_type ) ) {
|
386 |
+
return $value;
|
387 |
+
}
|
388 |
+
|
389 |
+
$yit_options = $this->get_main_array_options();
|
390 |
+
$current_tab = $this->get_current_tab();
|
391 |
+
|
392 |
+
if( ! empty( $yit_options[ $current_tab ] ) ){
|
393 |
+
foreach( $yit_options[ $current_tab ] as $option_array ){
|
394 |
+
if( isset( $option_array['id'] ) && isset( $option['id'] ) && $option_array['id'] == $option['id'] ){
|
395 |
+
return maybe_unserialize( $value );
|
396 |
+
}
|
397 |
+
}
|
398 |
+
}
|
399 |
+
|
400 |
+
return $value;
|
401 |
+
}
|
402 |
|
403 |
}
|
404 |
}
|
plugin-fw/yit-functions.php
CHANGED
@@ -818,4 +818,66 @@ if ( ! function_exists( 'yit_load_js_file' ) ) {
|
|
818 |
|
819 |
return $filename;
|
820 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
821 |
}
|
818 |
|
819 |
return $filename;
|
820 |
}
|
821 |
+
}
|
822 |
+
|
823 |
+
if ( ! function_exists( 'yit_wpml_register_string' ) ) {
|
824 |
+
/**
|
825 |
+
* Register a string in wpml trnslation
|
826 |
+
*
|
827 |
+
* @param $contenxt context name
|
828 |
+
* @param $name string name
|
829 |
+
* @param $value value to translate
|
830 |
+
*
|
831 |
+
* @since 2.0.0
|
832 |
+
* @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
|
833 |
+
*/
|
834 |
+
function yit_wpml_register_string( $contenxt , $name , $value ) {
|
835 |
+
// wpml string translation
|
836 |
+
do_action( 'wpml_register_single_string', $contenxt, $name, $value );
|
837 |
+
}
|
838 |
+
}
|
839 |
+
|
840 |
+
if ( ! function_exists( 'yit_wpml_string_translate' ) ) {
|
841 |
+
/**
|
842 |
+
* Get a string translation
|
843 |
+
*
|
844 |
+
* @param $contenxt context name
|
845 |
+
* @param $name string name
|
846 |
+
* @param $default_value value to translate
|
847 |
+
*
|
848 |
+
* @return string the string translated
|
849 |
+
* @since 2.0.0
|
850 |
+
* @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
|
851 |
+
*/
|
852 |
+
function yit_wpml_string_translate( $contenxt, $name, $default_value ) {
|
853 |
+
return apply_filters( 'wpml_translate_single_string', $default_value, $contenxt, $name );
|
854 |
+
}
|
855 |
+
|
856 |
+
}
|
857 |
+
|
858 |
+
if ( ! function_exists( 'yit_wpml_object_id' ) ) {
|
859 |
+
/**
|
860 |
+
* Get id of post translation in current language
|
861 |
+
*
|
862 |
+
* @param int $element_id
|
863 |
+
* @param string $element_type
|
864 |
+
* @param bool $return_original_if_missing
|
865 |
+
* @param null|string $ulanguage_code
|
866 |
+
*
|
867 |
+
* @return int the translation id
|
868 |
+
* @since 2.0.0
|
869 |
+
* @author Antonio La Rocca <antonio.larocca@yithemes.com>
|
870 |
+
*/
|
871 |
+
function yit_wpml_object_id( $element_id, $element_type = 'post', $return_original_if_missing = false, $ulanguage_code = null ) {
|
872 |
+
if( function_exists( 'wpml_object_id' ) ){
|
873 |
+
return wpml_object_id( $element_id, $element_type, $return_original_if_missing, $ulanguage_code );
|
874 |
+
}
|
875 |
+
elseif( function_exists( 'icl_object_id' ) ){
|
876 |
+
return icl_object_id( $element_id, $element_type, $return_original_if_missing, $ulanguage_code );
|
877 |
+
}
|
878 |
+
else{
|
879 |
+
return $element_id;
|
880 |
+
}
|
881 |
+
}
|
882 |
+
|
883 |
}
|
widgets/class.yith-wcan-navigation-widget.php
CHANGED
@@ -23,7 +23,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
|
|
23 |
$widget_ops = array( 'classname' => 'yith-woo-ajax-navigation woocommerce widget_layered_nav', 'description' => __( 'Filter the product list without reloading the page', 'yith_wc_ajxnav' ) );
|
24 |
$control_ops = array( 'width' => 400, 'height' => 350 );
|
25 |
add_action('wp_ajax_yith_wcan_select_type', array( $this, 'ajax_print_terms') );
|
26 |
-
parent::__construct( 'yith-woo-ajax-navigation',
|
27 |
}
|
28 |
|
29 |
|
@@ -74,8 +74,10 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
|
|
74 |
|
75 |
echo $before_widget;
|
76 |
|
|
|
|
|
77 |
if ( ! empty( $title ) ) {
|
78 |
-
echo $before_title .
|
79 |
}
|
80 |
|
81 |
// Force found when option is selected - do not force found on taxonomy attributes
|
@@ -119,7 +121,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
|
|
119 |
$found = true;
|
120 |
}
|
121 |
|
122 |
-
if ( ( $terms_type_list
|
123 |
continue;
|
124 |
}
|
125 |
|
@@ -210,7 +212,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
|
|
210 |
|
211 |
// Current Filter = this widget
|
212 |
if ( apply_filters( 'yith_wcan_list_type_current_widget_check', $check_for_current_widget, $current_filter, $display_type, $term_param ) ) {
|
213 |
-
$class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
|
214 |
|
215 |
// Remove this term is $current_filter has more than 1 term filtered
|
216 |
if ( sizeof( $current_filter ) > 1 ) {
|
@@ -220,7 +222,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
|
|
220 |
}
|
221 |
|
222 |
else {
|
223 |
-
$class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_child_class}'" : '';
|
224 |
$link = add_query_arg( $arg, implode( apply_filters( 'yith_wcan_list_filter_operator', ',', $display_type ), $current_filter ), $link );
|
225 |
}
|
226 |
|
23 |
$widget_ops = array( 'classname' => 'yith-woo-ajax-navigation woocommerce widget_layered_nav', 'description' => __( 'Filter the product list without reloading the page', 'yith_wc_ajxnav' ) );
|
24 |
$control_ops = array( 'width' => 400, 'height' => 350 );
|
25 |
add_action('wp_ajax_yith_wcan_select_type', array( $this, 'ajax_print_terms') );
|
26 |
+
parent::__construct( 'yith-woo-ajax-navigation', _x( 'YITH WooCommerce Ajax Product Filter', 'Admin: Widget Title', 'yith_wc_ajxnav' ), $widget_ops, $control_ops );
|
27 |
}
|
28 |
|
29 |
|
74 |
|
75 |
echo $before_widget;
|
76 |
|
77 |
+
$title = html_entity_decode( apply_filters( 'widget_title', $title ) );
|
78 |
+
|
79 |
if ( ! empty( $title ) ) {
|
80 |
+
echo $before_title . $title . $after_title;
|
81 |
}
|
82 |
|
83 |
// Force found when option is selected - do not force found on taxonomy attributes
|
121 |
$found = true;
|
122 |
}
|
123 |
|
124 |
+
if ( ( ( $terms_type_list == 'hierarchical' || ( $terms_type_list == 'tags' && $instance['display'] == 'hierarchical' ) ) || ! yit_term_has_child( $term, $taxonomy ) ) && $count == 0 && ! $option_is_set ) {
|
125 |
continue;
|
126 |
}
|
127 |
|
212 |
|
213 |
// Current Filter = this widget
|
214 |
if ( apply_filters( 'yith_wcan_list_type_current_widget_check', $check_for_current_widget, $current_filter, $display_type, $term_param ) ) {
|
215 |
+
$class = ( ( $terms_type_list == 'hierarchical' || ( $terms_type_list == 'tags' && $instance['display'] == 'hierarchical' ) ) && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
|
216 |
|
217 |
// Remove this term is $current_filter has more than 1 term filtered
|
218 |
if ( sizeof( $current_filter ) > 1 ) {
|
222 |
}
|
223 |
|
224 |
else {
|
225 |
+
$class = ( ( $terms_type_list == 'hierarchical' || ( $terms_type_list == 'tags' && $instance['display'] == 'hierarchical' ) ) && yit_term_is_child( $term ) ) ? "class='{$is_child_class}'" : '';
|
226 |
$link = add_query_arg( $arg, implode( apply_filters( 'yith_wcan_list_filter_operator', ',', $display_type ), $current_filter ), $link );
|
227 |
}
|
228 |
|