Version Description
Released on Nov 28, 2018
- Update: Plugin Core.
- Update: Language files.
- Fix: Missing strings in pot and po files.
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Compare |
Version | 2.3.6 |
Comparing to | |
See all releases |
Code changes from version 2.3.5 to 2.3.6
- README.txt +320 -314
- assets/css/admin.css +28 -28
- assets/css/style.css +218 -218
- assets/css/widget.css +64 -64
- assets/js/woocompare-admin.js +18 -18
- includes/class.yith-woocompare-admin.php +476 -476
- includes/class.yith-woocompare-frontend.php +818 -818
- includes/class.yith-woocompare-helper.php +104 -104
- includes/class.yith-woocompare.php +144 -144
- init.php +121 -121
- languages/yith-woocommerce-compare-bg_BG.mo +0 -0
- languages/yith-woocommerce-compare-bg_BG.po +107 -86
- languages/yith-woocommerce-compare-es_ES.mo +0 -0
- languages/yith-woocommerce-compare-es_ES.po +107 -86
- languages/yith-woocommerce-compare-fa_IR.mo +0 -0
- languages/yith-woocommerce-compare-fa_IR.po +107 -86
- languages/yith-woocommerce-compare-fr_FR.mo +0 -0
- languages/yith-woocommerce-compare-fr_FR.po +107 -86
- languages/yith-woocommerce-compare-it_IT.mo +0 -0
- languages/yith-woocommerce-compare-it_IT.po +74 -56
- languages/yith-woocommerce-compare-nl_NL.mo +0 -0
- languages/yith-woocommerce-compare-nl_NL.po +136 -113
- languages/yith-woocommerce-compare-pt_BR.mo +0 -0
- languages/yith-woocommerce-compare-pt_BR.po +81 -62
- languages/yith-woocommerce-compare-ru_RU.mo +0 -0
- languages/yith-woocommerce-compare-ru_RU.po +83 -58
- languages/yith-woocommerce-compare-sk_SK.mo +0 -0
- languages/yith-woocommerce-compare-sk_SK.po +107 -86
- languages/yith-woocommerce-compare-sl_SI.mo +0 -0
- languages/yith-woocommerce-compare-sl_SI.po +81 -59
- languages/yith-woocommerce-compare-tr_TR.mo +0 -0
- languages/yith-woocommerce-compare-tr_TR.po +151 -84
- languages/yith-woocommerce-compare.pot +72 -57
- plugin-fw/assets/css/admin.css +12 -0
- plugin-fw/assets/css/metaboxes.css +19 -3
- plugin-fw/assets/images/yith-icon.svg +1 -0
- plugin-fw/assets/js/javascript-md5/md5.min.js +2 -0
- plugin-fw/assets/js/yith-gutenberg.js +208 -0
- plugin-fw/assets/js/yith-gutenberg.min.js +6 -0
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +111 -92
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +146 -192
- plugin-fw/languages/yith-plugin-fw.pot +98 -88
- plugin-fw/lib/promo/yith-promo.php +146 -109
- plugin-fw/lib/yit-plugin-panel.php +1 -1
- plugin-fw/lib/yit-plugin-subpanel.php +1 -1
- plugin-fw/lib/yit-upgrade.php +35 -6
- plugin-fw/lib/yith-gutenberg.php +321 -0
- plugin-fw/licence/assets/js/yit-licence.js +30 -15
- plugin-fw/licence/assets/js/yit-licence.min.js +1 -10
- plugin-fw/licence/lib/yit-licence.php +84 -35
- plugin-fw/licence/lib/yit-plugin-licence.php +14 -5
- plugin-fw/licence/templates/panel/activation/activation-panel.php +1 -1
- plugin-fw/templates/privacy/html-policy-content.php +36 -36
- plugin-fw/yit-functions.php +66 -0
- plugin-fw/yit-plugin.php +6 -1
- plugin-options/general-options.php +145 -145
- plugin-options/premium-options.php +23 -23
- templates/admin/premium.php +454 -454
- templates/compare.php +284 -284
- widgets/class.yith-woocompare-widget.php +83 -83
- wpml-config.xml +5 -5
README.txt
CHANGED
@@ -1,314 +1,320 @@
|
|
1 |
-
=== YITH WooCommerce Compare ===
|
2 |
-
|
3 |
-
Contributors: yithemes
|
4 |
-
Tags: yith, woocommerce compare, compare products, product compare, product comparison
|
5 |
-
Requires at least: 3.5.1
|
6 |
-
Tested up to: 4.9
|
7 |
-
Stable tag: 2.3.
|
8 |
-
License: GPLv2 or later
|
9 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
-
|
11 |
-
YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
|
12 |
-
WooCommerce Compatible up to 3.5
|
13 |
-
|
14 |
-
== Description ==
|
15 |
-
|
16 |
-
YITH WooCommerce Compare plugin is an extension of WooCommerce plugin that allow your users to compare some products of your shop.
|
17 |
-
All products are saved in one complete table where the user can see the difference between the products. Each product features can be
|
18 |
-
set with the woocommerce attributes in the product configuration.
|
19 |
-
You can also add a simple widget with the list of products the users have added, where you can manage them.
|
20 |
-
Also you can simply customize the compare table with your style, by editing the specific template.
|
21 |
-
|
22 |
-
Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-compare).
|
23 |
-
|
24 |
-
This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_key=Qn1wDeBNTcZV)
|
25 |
-
|
26 |
-
|
27 |
-
= Installation =
|
28 |
-
|
29 |
-
1. Unzip the downloaded zip file.
|
30 |
-
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
31 |
-
3. Activate `YITH WooCommerce Compare` from Plugins page
|
32 |
-
|
33 |
-
= Configuration =
|
34 |
-
|
35 |
-
1. Add the features in each product by setting the attributes in prouct configuration;
|
36 |
-
2. Configure the options in YIT Plugin -> Compare;
|
37 |
-
3. The user of your shop will click in the "Compare" button located in the single product page;
|
38 |
-
4. Will be open a popup with the compare table inside.
|
39 |
-
|
40 |
-
You can also add the widget with the product list of compare table, in Appearance -> Widgets and adding the widget "YITH WooCommerce Compare Widget".
|
41 |
-
|
42 |
-
== Frequently Asked Questions ==
|
43 |
-
|
44 |
-
= Can I customize the compare table? =
|
45 |
-
Yes, you can copy the template from the plugin folder and paste it inside the folder "woocommerce" of your theme folder.
|
46 |
-
|
47 |
-
= Can I select what fields show inside the compare table? =
|
48 |
-
Yes, you can choose what fields to show in the compare table. You can do it in YIT Plugins -> Compare.
|
49 |
-
|
50 |
-
= Can I order the fields in the compare table? =
|
51 |
-
Yes, you can sort the fields in the compare table. You can do it in YIT Plugins -> Compare.
|
52 |
-
|
53 |
-
= What are the main changes in plugin translation? =
|
54 |
-
Recently YITH WooCommerce Compare has been selected to be included in the "translate.wordpress.org" translate programme.
|
55 |
-
In order to import correctly the plugin strings in the new system, we had to change the text domain form 'yit' to 'yith-woocommerce-compare'.
|
56 |
-
Once the plugin will be imported in the translate.wordpress.org system, the translations of other languages will be downloaded directly from WordPress, without using any .po and .mo files. Moreover, users will be able to participate in a more direct way to plugin translations, suggesting texts in their languages in the dedicated tab on translate.wordpress.org.
|
57 |
-
During this transition step, .po and .mo files will be used as always, but in order to be recognized by WordPress, they will need to have a new nomenclature, renaming them in:
|
58 |
-
yith-woocommerce-compare-<WORDPRESS LOCALE>.po
|
59 |
-
yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
|
60 |
-
|
61 |
-
== Screenshots ==
|
62 |
-
|
63 |
-
1. The popup with compare table.
|
64 |
-
2. The button compare.
|
65 |
-
3. The settings of plugin
|
66 |
-
|
67 |
-
== Changelog ==
|
68 |
-
|
69 |
-
= 2.3.
|
70 |
-
|
71 |
-
*
|
72 |
-
* Update:
|
73 |
-
* Fix:
|
74 |
-
|
75 |
-
= 2.3.
|
76 |
-
|
77 |
-
* New: Support to WooCommerce 3.5.0
|
78 |
-
* Update: Plugin Core.
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
*
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
*
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
*
|
97 |
-
*
|
98 |
-
*
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
* New: Support to
|
104 |
-
*
|
105 |
-
*
|
106 |
-
|
107 |
-
= 2.
|
108 |
-
|
109 |
-
* New: Support to WooCommerce 3.
|
110 |
-
* New: Support to WordPress 4.9.
|
111 |
-
*
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
*
|
119 |
-
*
|
120 |
-
*
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
* New: Support to
|
126 |
-
*
|
127 |
-
*
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
*
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
*
|
136 |
-
*
|
137 |
-
*
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
* New: Support to
|
143 |
-
*
|
144 |
-
*
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
*
|
149 |
-
*
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
*
|
154 |
-
*
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
*
|
160 |
-
*
|
161 |
-
|
162 |
-
= 2.0.
|
163 |
-
|
164 |
-
*
|
165 |
-
* Update: Plugin Core.
|
166 |
-
*
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
*
|
174 |
-
*
|
175 |
-
*
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
* Update:
|
181 |
-
*
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
* Update: Plugin Core
|
187 |
-
* Fix:
|
188 |
-
|
189 |
-
= 2.0.
|
190 |
-
|
191 |
-
*
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
*
|
202 |
-
*
|
203 |
-
|
204 |
-
= 2.0.
|
205 |
-
|
206 |
-
*
|
207 |
-
*
|
208 |
-
*
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
*
|
216 |
-
*
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
*
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
* Update:
|
237 |
-
* Fix:
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
* New:
|
260 |
-
* New:
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
*
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
*
|
269 |
-
* Fix:
|
270 |
-
*
|
271 |
-
|
272 |
-
= 1.0.
|
273 |
-
|
274 |
-
*
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
*
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
*
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== YITH WooCommerce Compare ===
|
2 |
+
|
3 |
+
Contributors: yithemes
|
4 |
+
Tags: yith, woocommerce compare, compare products, product compare, product comparison
|
5 |
+
Requires at least: 3.5.1
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 2.3.6
|
8 |
+
License: GPLv2 or later
|
9 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
+
|
11 |
+
YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
|
12 |
+
WooCommerce Compatible up to 3.5
|
13 |
+
|
14 |
+
== Description ==
|
15 |
+
|
16 |
+
YITH WooCommerce Compare plugin is an extension of WooCommerce plugin that allow your users to compare some products of your shop.
|
17 |
+
All products are saved in one complete table where the user can see the difference between the products. Each product features can be
|
18 |
+
set with the woocommerce attributes in the product configuration.
|
19 |
+
You can also add a simple widget with the list of products the users have added, where you can manage them.
|
20 |
+
Also you can simply customize the compare table with your style, by editing the specific template.
|
21 |
+
|
22 |
+
Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-compare).
|
23 |
+
|
24 |
+
This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_key=Qn1wDeBNTcZV)
|
25 |
+
|
26 |
+
|
27 |
+
= Installation =
|
28 |
+
|
29 |
+
1. Unzip the downloaded zip file.
|
30 |
+
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
31 |
+
3. Activate `YITH WooCommerce Compare` from Plugins page
|
32 |
+
|
33 |
+
= Configuration =
|
34 |
+
|
35 |
+
1. Add the features in each product by setting the attributes in prouct configuration;
|
36 |
+
2. Configure the options in YIT Plugin -> Compare;
|
37 |
+
3. The user of your shop will click in the "Compare" button located in the single product page;
|
38 |
+
4. Will be open a popup with the compare table inside.
|
39 |
+
|
40 |
+
You can also add the widget with the product list of compare table, in Appearance -> Widgets and adding the widget "YITH WooCommerce Compare Widget".
|
41 |
+
|
42 |
+
== Frequently Asked Questions ==
|
43 |
+
|
44 |
+
= Can I customize the compare table? =
|
45 |
+
Yes, you can copy the template from the plugin folder and paste it inside the folder "woocommerce" of your theme folder.
|
46 |
+
|
47 |
+
= Can I select what fields show inside the compare table? =
|
48 |
+
Yes, you can choose what fields to show in the compare table. You can do it in YIT Plugins -> Compare.
|
49 |
+
|
50 |
+
= Can I order the fields in the compare table? =
|
51 |
+
Yes, you can sort the fields in the compare table. You can do it in YIT Plugins -> Compare.
|
52 |
+
|
53 |
+
= What are the main changes in plugin translation? =
|
54 |
+
Recently YITH WooCommerce Compare has been selected to be included in the "translate.wordpress.org" translate programme.
|
55 |
+
In order to import correctly the plugin strings in the new system, we had to change the text domain form 'yit' to 'yith-woocommerce-compare'.
|
56 |
+
Once the plugin will be imported in the translate.wordpress.org system, the translations of other languages will be downloaded directly from WordPress, without using any .po and .mo files. Moreover, users will be able to participate in a more direct way to plugin translations, suggesting texts in their languages in the dedicated tab on translate.wordpress.org.
|
57 |
+
During this transition step, .po and .mo files will be used as always, but in order to be recognized by WordPress, they will need to have a new nomenclature, renaming them in:
|
58 |
+
yith-woocommerce-compare-<WORDPRESS LOCALE>.po
|
59 |
+
yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
|
60 |
+
|
61 |
+
== Screenshots ==
|
62 |
+
|
63 |
+
1. The popup with compare table.
|
64 |
+
2. The button compare.
|
65 |
+
3. The settings of plugin
|
66 |
+
|
67 |
+
== Changelog ==
|
68 |
+
|
69 |
+
= 2.3.6 = Released on Nov 28, 2018
|
70 |
+
|
71 |
+
* Update: Plugin Core.
|
72 |
+
* Update: Language files.
|
73 |
+
* Fix: Missing strings in pot and po files.
|
74 |
+
|
75 |
+
= 2.3.5 = Released on Oct 23, 2018
|
76 |
+
|
77 |
+
* New: Support to WooCommerce 3.5.0.
|
78 |
+
* Update: Plugin Core.
|
79 |
+
* Fix: Product placeholder image and image size.
|
80 |
+
|
81 |
+
= 2.3.4 = Released on Oct 01, 2018
|
82 |
+
|
83 |
+
* New: Support to WooCommerce 3.5.0 RC1.
|
84 |
+
* Update: Plugin Core.
|
85 |
+
|
86 |
+
= 2.3.3 = Released on Sep 20, 2018
|
87 |
+
|
88 |
+
* Fix: Compatibility issue with WPML and RTL languages.
|
89 |
+
|
90 |
+
= 2.3.2 = Released on Sep 10, 2018
|
91 |
+
|
92 |
+
* New: Support to WooCommerce 3.4.5.
|
93 |
+
* New: Support to WordPress 4.9.8.
|
94 |
+
* Update: Plugin Core.
|
95 |
+
* Update: All external scripts to latest available version.
|
96 |
+
* Update: Compare table template (compare.php) to version 2.3.2.
|
97 |
+
* Update: Compare table style.
|
98 |
+
* Fix: Check product status before add it to compare list.
|
99 |
+
|
100 |
+
= 2.3.1 = Released on Jun 5, 2018
|
101 |
+
|
102 |
+
* New: Support to WooCommerce 3.4.1.
|
103 |
+
* New: Support to WordPress 4.9.6.
|
104 |
+
* Update: Plugin Core.
|
105 |
+
* Fix: WPML table fields translation.
|
106 |
+
|
107 |
+
= 2.3.0 = Released on Feb 2, 2018
|
108 |
+
|
109 |
+
* New: Support to WooCommerce 3.3.0.
|
110 |
+
* New: Support to WordPress 4.9.2.
|
111 |
+
* Update: Plugin Core.
|
112 |
+
|
113 |
+
= 2.2.3 = Released on Dec 21, 2017
|
114 |
+
|
115 |
+
* New: Support to WooCommerce 3.2.6.
|
116 |
+
* New: Support to WordPress 4.9.1.
|
117 |
+
* New: Product SKU field in compare table.
|
118 |
+
* Update: Plugin Core.
|
119 |
+
* Update: Language Files.
|
120 |
+
* Dev: New filter yith_woocompare_standard_fields_array to filter standard compare fields.
|
121 |
+
|
122 |
+
= 2.2.2 = Released on Oct 24, 2017
|
123 |
+
|
124 |
+
* New: Support to WooCommerce 3.2.1.
|
125 |
+
* New: Support to WordPress 4.8.2.
|
126 |
+
* Update: Plugin Core.
|
127 |
+
* Update: Language Files.
|
128 |
+
|
129 |
+
= 2.2.1 = Released on Jul 05, 2017
|
130 |
+
|
131 |
+
* New: Support to WooCommerce 3.1.
|
132 |
+
* New: Support to WordPress 4.8.
|
133 |
+
* New: Russian Translation.
|
134 |
+
* New: Slovenian Translation.
|
135 |
+
* Update: Plugin Core.
|
136 |
+
* Update: Language Files.
|
137 |
+
* Fix: WPML and Add to cart action from popup.
|
138 |
+
|
139 |
+
= 2.2.0 = Released on Mar 29, 2017
|
140 |
+
|
141 |
+
* New: Support to WooCommerce 3.0.0 RC2.
|
142 |
+
* New: Support to WordPress 4.7.3
|
143 |
+
* Update: Plugin Core.
|
144 |
+
* Update: Language Files.
|
145 |
+
|
146 |
+
= 2.1.0 = Released on Oct 19, 2016
|
147 |
+
|
148 |
+
* New: Support to WooCommerce 2.6.4
|
149 |
+
* New: Support to WordPress 4.6
|
150 |
+
* New: Auto remove from compare list for products that are private or were cancelled.
|
151 |
+
* New: Add as default fields Weight and Dimensions.
|
152 |
+
* Update: Plugin Core.
|
153 |
+
* Update: Language Files.
|
154 |
+
* Fix: Uncaught ReferenceError "redirect_to_cart is not defined" error on "add to cart" action.
|
155 |
+
* Fix: Compatibility issue with NextGen Gallery plugin.
|
156 |
+
|
157 |
+
= 2.0.9 = Released on Jun 13, 2016
|
158 |
+
|
159 |
+
* New: Support to WooCommerce 2.6 RC1
|
160 |
+
* Update: Plugin Core.
|
161 |
+
|
162 |
+
= 2.0.8 = Released on Apr 19, 2016
|
163 |
+
|
164 |
+
* New: Compatibility with WordPress 4.5
|
165 |
+
* Update: Plugin Core.
|
166 |
+
* Fix: Fatal error call to undefined method WC_AJAX::get_endpoint() for WooCommerce version older then 2.4
|
167 |
+
|
168 |
+
= 2.0.7 = Released on Apr 01, 2016
|
169 |
+
|
170 |
+
* Update: Plugin template compare.php
|
171 |
+
* Update: Plugin Core.
|
172 |
+
* Update: Language file.
|
173 |
+
* Fix: Product status now updates automatically when the product is removed from the compare widget.
|
174 |
+
* Fix: Redirect correctly to cart page after "Add to cart" is clicked if "Redirect to the cart page after successful addition" option is enabled.
|
175 |
+
* Fix: Redirect correctly to product page after "Add to cart" is clicked when "Enable AJAX add to cart buttons on archives" option is disabled.
|
176 |
+
|
177 |
+
= 2.0.6 = Released on Jan 11, 2016
|
178 |
+
|
179 |
+
* New: Compatibility with WooCommerce 2.5 RC
|
180 |
+
* Update: Change ajax call fron admin-ajax to wc-ajax
|
181 |
+
* Update: Plugin template compare.php
|
182 |
+
* Update: Plugin Core
|
183 |
+
|
184 |
+
= 2.0.5 = Released on Oct 30, 2015
|
185 |
+
|
186 |
+
* Update: Plugin Core
|
187 |
+
* Fix: After you remove product from compare, you can re-add it without reload page
|
188 |
+
|
189 |
+
= 2.0.4 = Released on Sep 22, 2015
|
190 |
+
|
191 |
+
* Update: Changed Text Domain from 'yith-wcmp' to 'yith-woocommerce-compare'
|
192 |
+
* Update: Plugin Core Framework
|
193 |
+
* Fix: JS error when loading compare window
|
194 |
+
|
195 |
+
= 2.0.3 = Released on Aug 21, 2015
|
196 |
+
|
197 |
+
* New: Compatibility with WooPress 4.3
|
198 |
+
|
199 |
+
= 2.0.2 = Released on Aug 12, 2015
|
200 |
+
|
201 |
+
* New: Compatibility with WooCommerce 2.4
|
202 |
+
* Update: Core plugin
|
203 |
+
|
204 |
+
= 2.0.1 = Released on Aug 10, 2015
|
205 |
+
|
206 |
+
* Update: Core plugin
|
207 |
+
* Fix: Compare table layout
|
208 |
+
* Fix: undefined function unblock() in main js
|
209 |
+
|
210 |
+
= 2.0.0 = Released on Jul 15, 2015
|
211 |
+
|
212 |
+
* New: New plugin core
|
213 |
+
* Update: Language files
|
214 |
+
* Removed: old default.po catalog language file
|
215 |
+
* Fix: Error in class yith-woocompare-fontend
|
216 |
+
* Fix: Lightbox doesn't close after click view cart
|
217 |
+
* Fix: minor bug fix
|
218 |
+
|
219 |
+
= 1.2.3 = Released on Feb 13, 2015
|
220 |
+
|
221 |
+
* New: Bulgarian Translation by Joanna Mikova
|
222 |
+
* New: Spanish Translation by Rodoslav Angelov and Mariano Rivas
|
223 |
+
|
224 |
+
= 1.2.2 = Released on Dec 03, 2014
|
225 |
+
|
226 |
+
* Fix: Shortcode compare
|
227 |
+
|
228 |
+
= 1.2.1 = Released on Sep 17, 2014
|
229 |
+
|
230 |
+
* New: Support to WC 2.2.3
|
231 |
+
|
232 |
+
= 1.2.0 = Released on Sep 16, 2014
|
233 |
+
|
234 |
+
* New: Support to WC 2.2.2
|
235 |
+
* Update: Compare Template
|
236 |
+
* Update: Plugin Core Framework
|
237 |
+
* Fix: Fields orders
|
238 |
+
* Tweek: WPML Support improved
|
239 |
+
|
240 |
+
= 1.1.4 = Released on Jun 30, 2014
|
241 |
+
|
242 |
+
* Update: Colorbox Library Version 1.5.10
|
243 |
+
* Fix: Horizontal scroll bar issue: show at the end of iframe
|
244 |
+
|
245 |
+
= 1.1.3 = Released on Jun 05, 2014
|
246 |
+
|
247 |
+
* New: RTL Support
|
248 |
+
|
249 |
+
= 1.1.2 = Released on Mar 21, 2014
|
250 |
+
|
251 |
+
* Fix: WPML Support on Compare Widget
|
252 |
+
|
253 |
+
= 1.1.1 = Released on Feb 19, 2014
|
254 |
+
|
255 |
+
* Fix: Add to cart Button on Compare page
|
256 |
+
|
257 |
+
= 1.1.0 = Released on Feb 13, 2014
|
258 |
+
|
259 |
+
* New: Support to WooCommerce 2.1.X
|
260 |
+
* New: French translation by Paumo
|
261 |
+
|
262 |
+
= 1.0.5 = Released on Oct 14, 2013
|
263 |
+
|
264 |
+
* New: Persian translation by Khalil Delavaran
|
265 |
+
* New: Compare table title option
|
266 |
+
* New: Compatibility with WPML plugin
|
267 |
+
* New: Brazilian Portuguese translation by hotelwww
|
268 |
+
* Fix: Responsive features
|
269 |
+
* Fix: Dequeued wrong JS scripts
|
270 |
+
* Update: Dutch translation by Frans Pronk
|
271 |
+
|
272 |
+
= 1.0.4 = Released on Sep 04, 2013
|
273 |
+
|
274 |
+
* New: complete Dutch translation. Thanks to Frans Pronk
|
275 |
+
* Fix: Sortable scripts included only in the plugin admin page
|
276 |
+
* Fix: products list in popup don't update after have added a product
|
277 |
+
|
278 |
+
= 1.0.3 = Released on Jul 31, 2013
|
279 |
+
|
280 |
+
* Minor bugs fixes
|
281 |
+
|
282 |
+
= 1.0.2 = Released on Jul 20, 2013
|
283 |
+
|
284 |
+
* Tweak: trigger in javascript file for add to compare event
|
285 |
+
|
286 |
+
= 1.0.1 = Released on Jun 27, 2013
|
287 |
+
|
288 |
+
* New: Link/Button text option in plugin options
|
289 |
+
* New: ability to add a link in the menu top open the popup
|
290 |
+
* Fix: bug with attributes added after installation
|
291 |
+
* Fix: bug with plugin activated but not working for multisites
|
292 |
+
|
293 |
+
= 1.0.0 = Released on Jun 24, 2013
|
294 |
+
|
295 |
+
* Initial release
|
296 |
+
|
297 |
+
== Suggestions ==
|
298 |
+
|
299 |
+
If you have suggestions about how to improve YITH WooCommerce Compare, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Compare.
|
300 |
+
|
301 |
+
== Translators ==
|
302 |
+
|
303 |
+
= Available Languages =
|
304 |
+
* English (Default)
|
305 |
+
* Italiano
|
306 |
+
|
307 |
+
If you can't find this plugin in your language and want to translate it, use the dedicated tool at [Translating WordPress](https://translate.wordpress.org/locale/it/default/wp-plugins/yith-woocommerce-compare "Translating WordPress").
|
308 |
+
Or, if you have created your own language pack, or have an update for an existing one, you can send it as an email attachment from our [Contacts page](http://yithemes.com/contact/ "Your Inspiration Themes") and we will bundle into YITH WooCommerce Compare.
|
309 |
+
|
310 |
+
== Documentation ==
|
311 |
+
|
312 |
+
Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-compare).
|
313 |
+
|
314 |
+
== Upgrade notice ==
|
315 |
+
|
316 |
+
= 2.3.6 = Released on Nov 28, 2018
|
317 |
+
|
318 |
+
* Update: Plugin Core.
|
319 |
+
* Update: Language files.
|
320 |
+
* Fix: Missing strings in pot and po files.
|
assets/css/admin.css
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
-
.yith_woocommerce_slider {
|
2 |
-
width: 300px;
|
3 |
-
float: left
|
4 |
-
}
|
5 |
-
.yith_woocommerce_slider_value {
|
6 |
-
margin-top: -5px;
|
7 |
-
margin-left: 10px;
|
8 |
-
width: 50px;
|
9 |
-
float: left;
|
10 |
-
text-align: center;
|
11 |
-
font-weight: bold;
|
12 |
-
}
|
13 |
-
|
14 |
-
.attributes li {
|
15 |
-
margin-bottom: 0;
|
16 |
-
}
|
17 |
-
|
18 |
-
.attributes .ui-sortable-placeholder {
|
19 |
-
background: #f9f9f9;
|
20 |
-
border: 1px dashed #d4d4d4;
|
21 |
-
-webkit-border-radius: 3px;
|
22 |
-
-moz-border-radius: 3px;
|
23 |
-
border-radius: 3px;
|
24 |
-
visibility: visible !important;
|
25 |
-
box-sizing: border-box;
|
26 |
-
-moz-box-sizing: border-box;
|
27 |
-
margin-bottom: -2px;
|
28 |
-
}
|
1 |
+
.yith_woocommerce_slider {
|
2 |
+
width: 300px;
|
3 |
+
float: left
|
4 |
+
}
|
5 |
+
.yith_woocommerce_slider_value {
|
6 |
+
margin-top: -5px;
|
7 |
+
margin-left: 10px;
|
8 |
+
width: 50px;
|
9 |
+
float: left;
|
10 |
+
text-align: center;
|
11 |
+
font-weight: bold;
|
12 |
+
}
|
13 |
+
|
14 |
+
.attributes li {
|
15 |
+
margin-bottom: 0;
|
16 |
+
}
|
17 |
+
|
18 |
+
.attributes .ui-sortable-placeholder {
|
19 |
+
background: #f9f9f9;
|
20 |
+
border: 1px dashed #d4d4d4;
|
21 |
+
-webkit-border-radius: 3px;
|
22 |
+
-moz-border-radius: 3px;
|
23 |
+
border-radius: 3px;
|
24 |
+
visibility: visible !important;
|
25 |
+
box-sizing: border-box;
|
26 |
+
-moz-box-sizing: border-box;
|
27 |
+
margin-bottom: -2px;
|
28 |
+
}
|
assets/css/style.css
CHANGED
@@ -1,219 +1,219 @@
|
|
1 |
-
/**
|
2 |
-
* The style of the woocommerce compare products
|
3 |
-
*/
|
4 |
-
|
5 |
-
/* ###############
|
6 |
-
FIXED COLUMNS
|
7 |
-
##############*/
|
8 |
-
|
9 |
-
table.DTFC_Cloned thead, table.DTFC_Cloned tfoot{
|
10 |
-
background-color:white;
|
11 |
-
}
|
12 |
-
div.DTFC_Blocker{
|
13 |
-
background-color:white;
|
14 |
-
}
|
15 |
-
div.DTFC_LeftWrapper table.dataTable,
|
16 |
-
div.DTFC_RightWrapper table.dataTable{
|
17 |
-
margin-bottom:0;
|
18 |
-
z-index:2;
|
19 |
-
}
|
20 |
-
div.DTFC_LeftWrapper table.dataTable.no-footer,
|
21 |
-
div.DTFC_RightWrapper table.dataTable.no-footer{
|
22 |
-
border-bottom:none;
|
23 |
-
}
|
24 |
-
|
25 |
-
/*############################
|
26 |
-
* COMPARE
|
27 |
-
#############################*/
|
28 |
-
|
29 |
-
body {
|
30 |
-
font-family: 'Open Sans', san-serif;
|
31 |
-
font-size: 13px;
|
32 |
-
line-height: 1.51em;
|
33 |
-
color: #747373;
|
34 |
-
background: none !important;
|
35 |
-
margin: 0;
|
36 |
-
}
|
37 |
-
|
38 |
-
body h1 {
|
39 |
-
background: #4F4F4F;
|
40 |
-
color: #fff;
|
41 |
-
font-weight: 800;
|
42 |
-
padding: 10px;
|
43 |
-
border-bottom: 2px solid #fff;
|
44 |
-
display: block;
|
45 |
-
text-transform: uppercase;
|
46 |
-
font-size: 1.076em;
|
47 |
-
margin: 0;
|
48 |
-
text-align: center;
|
49 |
-
}
|
50 |
-
|
51 |
-
body #yith-woocompare {
|
52 |
-
padding: 10px;
|
53 |
-
}
|
54 |
-
|
55 |
-
table.dataTable.compare-list thead th,
|
56 |
-
table.dataTable.compare-list thead td,
|
57 |
-
table.dataTable.compare-list tfoot td,
|
58 |
-
table.dataTable.compare-list tfoot th {
|
59 |
-
border: 0;
|
60 |
-
vertical-align: middle;
|
61 |
-
}
|
62 |
-
.DTFC_LeftFootWrapper table.compare-list,
|
63 |
-
.DTFC_LeftHeadWrapper table.compare-list {
|
64 |
-
border: 0;
|
65 |
-
}
|
66 |
-
|
67 |
-
table.compare-list td {
|
68 |
-
width: 220px;
|
69 |
-
max-width: 220px;
|
70 |
-
min-width: 220px;
|
71 |
-
text-align: center;
|
72 |
-
vertical-align: middle;
|
73 |
-
}
|
74 |
-
|
75 |
-
table.compare-list {
|
76 |
-
width: 100%;
|
77 |
-
border-bottom: 0;
|
78 |
-
border-top: 0;
|
79 |
-
margin: 0;
|
80 |
-
table-layout: auto;
|
81 |
-
}
|
82 |
-
|
83 |
-
table.compare-list tbody th {
|
84 |
-
width: 150px;
|
85 |
-
max-width: 150px;
|
86 |
-
min-width: 150px;
|
87 |
-
overflow: hidden;
|
88 |
-
text-align: left;
|
89 |
-
color: #333333;
|
90 |
-
background-color: #f2f2f2;
|
91 |
-
text-transform: uppercase;
|
92 |
-
font-weight: 700;
|
93 |
-
font-size: 14px;
|
94 |
-
}
|
95 |
-
|
96 |
-
.rtl table.compare-list tbody th {
|
97 |
-
text-align: right;
|
98 |
-
}
|
99 |
-
|
100 |
-
table.dataTable.compare-list tbody th,
|
101 |
-
table.dataTable.compare-list tbody td {
|
102 |
-
border-right: 1px solid #e7e7e7;
|
103 |
-
border-top: 1px solid #e7e7e7;
|
104 |
-
border-bottom: none;
|
105 |
-
border-left: none;
|
106 |
-
padding: 10px;
|
107 |
-
vertical-align: middle;
|
108 |
-
}
|
109 |
-
table.dataTable.compare-list tbody tr:last-child th,
|
110 |
-
table.dataTable.compare-list tbody tr:last-child td {
|
111 |
-
border-bottom: 1px solid #e7e7e7;
|
112 |
-
}
|
113 |
-
|
114 |
-
table.compare-list tbody td.last-column {
|
115 |
-
width: auto;
|
116 |
-
border-right: 0;
|
117 |
-
}
|
118 |
-
|
119 |
-
table.compare-list tr.image td,
|
120 |
-
table.compare-list tr.image th {
|
121 |
-
border-top: 0;
|
122 |
-
}
|
123 |
-
|
124 |
-
#yith-woocompare-table_wrapper {
|
125 |
-
margin: 10px 0;
|
126 |
-
}
|
127 |
-
|
128 |
-
table.dataTable.compare-list tbody .product_info td {
|
129 |
-
vertical-align: top;
|
130 |
-
}
|
131 |
-
|
132 |
-
table.compare-list thead th a.close, h1 a.close {
|
133 |
-
float: right;
|
134 |
-
margin-right: 10px;
|
135 |
-
font-weight: 600;
|
136 |
-
font-size: 0.9em;
|
137 |
-
color: #fff;
|
138 |
-
text-decoration: none;
|
139 |
-
}
|
140 |
-
|
141 |
-
table.compare-list .remove td a {
|
142 |
-
color: #747373;
|
143 |
-
text-decoration: none;
|
144 |
-
}
|
145 |
-
|
146 |
-
table.compare-list .remove td a:hover {
|
147 |
-
color: #333333;
|
148 |
-
}
|
149 |
-
|
150 |
-
table.compare-list .remove td a .remove {
|
151 |
-
border-radius: 100% 100% 100% 100%;
|
152 |
-
color: red;
|
153 |
-
display: inline-block;
|
154 |
-
font-size: 1em;
|
155 |
-
font-weight: 600;
|
156 |
-
height: 1em;
|
157 |
-
line-height: 0.81em;
|
158 |
-
text-align: center;
|
159 |
-
text-decoration: none;
|
160 |
-
width: 1em;
|
161 |
-
}
|
162 |
-
|
163 |
-
.yith-woocompare-widget ul.products-list a.remove {
|
164 |
-
float: left;
|
165 |
-
}
|
166 |
-
|
167 |
-
table.compare-list .remove td a:hover .remove {
|
168 |
-
background-color: red;
|
169 |
-
color: #ffffff;
|
170 |
-
}
|
171 |
-
|
172 |
-
table.compare-list .add-to-cart td a {
|
173 |
-
display: inline-block;
|
174 |
-
margin: 10px 0;
|
175 |
-
background-color: #4F4F4F;
|
176 |
-
border: 0 none;
|
177 |
-
color: #FFFFFF;
|
178 |
-
font-weight: normal;
|
179 |
-
line-height: normal;
|
180 |
-
padding: 5px 20px;
|
181 |
-
text-decoration: none;
|
182 |
-
text-transform: uppercase;
|
183 |
-
cursor: pointer;
|
184 |
-
}
|
185 |
-
|
186 |
-
table.compare-list .add-to-cart td a:hover {
|
187 |
-
background: #868686;
|
188 |
-
color: #fff;
|
189 |
-
}
|
190 |
-
|
191 |
-
table.compare-list .stock td span {
|
192 |
-
color: #009900;
|
193 |
-
}
|
194 |
-
|
195 |
-
table.compare-list .stock td span.out-of-stock {
|
196 |
-
color: #990000;
|
197 |
-
}
|
198 |
-
|
199 |
-
table.compare-list .price td {
|
200 |
-
text-decoration: underline;
|
201 |
-
}
|
202 |
-
|
203 |
-
table.compare-list td.odd {
|
204 |
-
background: #F7F7F7;
|
205 |
-
}
|
206 |
-
|
207 |
-
table.compare-list td.even {
|
208 |
-
background: #fff;
|
209 |
-
}
|
210 |
-
|
211 |
-
table.compare-list td img {
|
212 |
-
background: none repeat scroll 0 0 #FFFFFF;
|
213 |
-
border: 1px solid #DADADA;
|
214 |
-
height: auto;
|
215 |
-
max-width: 100%;
|
216 |
-
padding: 3px;
|
217 |
-
margin-bottom: 20px;
|
218 |
-
max-width: none;
|
219 |
}
|
1 |
+
/**
|
2 |
+
* The style of the woocommerce compare products
|
3 |
+
*/
|
4 |
+
|
5 |
+
/* ###############
|
6 |
+
FIXED COLUMNS
|
7 |
+
##############*/
|
8 |
+
|
9 |
+
table.DTFC_Cloned thead, table.DTFC_Cloned tfoot{
|
10 |
+
background-color:white;
|
11 |
+
}
|
12 |
+
div.DTFC_Blocker{
|
13 |
+
background-color:white;
|
14 |
+
}
|
15 |
+
div.DTFC_LeftWrapper table.dataTable,
|
16 |
+
div.DTFC_RightWrapper table.dataTable{
|
17 |
+
margin-bottom:0;
|
18 |
+
z-index:2;
|
19 |
+
}
|
20 |
+
div.DTFC_LeftWrapper table.dataTable.no-footer,
|
21 |
+
div.DTFC_RightWrapper table.dataTable.no-footer{
|
22 |
+
border-bottom:none;
|
23 |
+
}
|
24 |
+
|
25 |
+
/*############################
|
26 |
+
* COMPARE
|
27 |
+
#############################*/
|
28 |
+
|
29 |
+
body {
|
30 |
+
font-family: 'Open Sans', san-serif;
|
31 |
+
font-size: 13px;
|
32 |
+
line-height: 1.51em;
|
33 |
+
color: #747373;
|
34 |
+
background: none !important;
|
35 |
+
margin: 0;
|
36 |
+
}
|
37 |
+
|
38 |
+
body h1 {
|
39 |
+
background: #4F4F4F;
|
40 |
+
color: #fff;
|
41 |
+
font-weight: 800;
|
42 |
+
padding: 10px;
|
43 |
+
border-bottom: 2px solid #fff;
|
44 |
+
display: block;
|
45 |
+
text-transform: uppercase;
|
46 |
+
font-size: 1.076em;
|
47 |
+
margin: 0;
|
48 |
+
text-align: center;
|
49 |
+
}
|
50 |
+
|
51 |
+
body #yith-woocompare {
|
52 |
+
padding: 10px;
|
53 |
+
}
|
54 |
+
|
55 |
+
table.dataTable.compare-list thead th,
|
56 |
+
table.dataTable.compare-list thead td,
|
57 |
+
table.dataTable.compare-list tfoot td,
|
58 |
+
table.dataTable.compare-list tfoot th {
|
59 |
+
border: 0;
|
60 |
+
vertical-align: middle;
|
61 |
+
}
|
62 |
+
.DTFC_LeftFootWrapper table.compare-list,
|
63 |
+
.DTFC_LeftHeadWrapper table.compare-list {
|
64 |
+
border: 0;
|
65 |
+
}
|
66 |
+
|
67 |
+
table.compare-list td {
|
68 |
+
width: 220px;
|
69 |
+
max-width: 220px;
|
70 |
+
min-width: 220px;
|
71 |
+
text-align: center;
|
72 |
+
vertical-align: middle;
|
73 |
+
}
|
74 |
+
|
75 |
+
table.compare-list {
|
76 |
+
width: 100%;
|
77 |
+
border-bottom: 0;
|
78 |
+
border-top: 0;
|
79 |
+
margin: 0;
|
80 |
+
table-layout: auto;
|
81 |
+
}
|
82 |
+
|
83 |
+
table.compare-list tbody th {
|
84 |
+
width: 150px;
|
85 |
+
max-width: 150px;
|
86 |
+
min-width: 150px;
|
87 |
+
overflow: hidden;
|
88 |
+
text-align: left;
|
89 |
+
color: #333333;
|
90 |
+
background-color: #f2f2f2;
|
91 |
+
text-transform: uppercase;
|
92 |
+
font-weight: 700;
|
93 |
+
font-size: 14px;
|
94 |
+
}
|
95 |
+
|
96 |
+
.rtl table.compare-list tbody th {
|
97 |
+
text-align: right;
|
98 |
+
}
|
99 |
+
|
100 |
+
table.dataTable.compare-list tbody th,
|
101 |
+
table.dataTable.compare-list tbody td {
|
102 |
+
border-right: 1px solid #e7e7e7;
|
103 |
+
border-top: 1px solid #e7e7e7;
|
104 |
+
border-bottom: none;
|
105 |
+
border-left: none;
|
106 |
+
padding: 10px;
|
107 |
+
vertical-align: middle;
|
108 |
+
}
|
109 |
+
table.dataTable.compare-list tbody tr:last-child th,
|
110 |
+
table.dataTable.compare-list tbody tr:last-child td {
|
111 |
+
border-bottom: 1px solid #e7e7e7;
|
112 |
+
}
|
113 |
+
|
114 |
+
table.compare-list tbody td.last-column {
|
115 |
+
width: auto;
|
116 |
+
border-right: 0;
|
117 |
+
}
|
118 |
+
|
119 |
+
table.compare-list tr.image td,
|
120 |
+
table.compare-list tr.image th {
|
121 |
+
border-top: 0;
|
122 |
+
}
|
123 |
+
|
124 |
+
#yith-woocompare-table_wrapper {
|
125 |
+
margin: 10px 0;
|
126 |
+
}
|
127 |
+
|
128 |
+
table.dataTable.compare-list tbody .product_info td {
|
129 |
+
vertical-align: top;
|
130 |
+
}
|
131 |
+
|
132 |
+
table.compare-list thead th a.close, h1 a.close {
|
133 |
+
float: right;
|
134 |
+
margin-right: 10px;
|
135 |
+
font-weight: 600;
|
136 |
+
font-size: 0.9em;
|
137 |
+
color: #fff;
|
138 |
+
text-decoration: none;
|
139 |
+
}
|
140 |
+
|
141 |
+
table.compare-list .remove td a {
|
142 |
+
color: #747373;
|
143 |
+
text-decoration: none;
|
144 |
+
}
|
145 |
+
|
146 |
+
table.compare-list .remove td a:hover {
|
147 |
+
color: #333333;
|
148 |
+
}
|
149 |
+
|
150 |
+
table.compare-list .remove td a .remove {
|
151 |
+
border-radius: 100% 100% 100% 100%;
|
152 |
+
color: red;
|
153 |
+
display: inline-block;
|
154 |
+
font-size: 1em;
|
155 |
+
font-weight: 600;
|
156 |
+
height: 1em;
|
157 |
+
line-height: 0.81em;
|
158 |
+
text-align: center;
|
159 |
+
text-decoration: none;
|
160 |
+
width: 1em;
|
161 |
+
}
|
162 |
+
|
163 |
+
.yith-woocompare-widget ul.products-list a.remove {
|
164 |
+
float: left;
|
165 |
+
}
|
166 |
+
|
167 |
+
table.compare-list .remove td a:hover .remove {
|
168 |
+
background-color: red;
|
169 |
+
color: #ffffff;
|
170 |
+
}
|
171 |
+
|
172 |
+
table.compare-list .add-to-cart td a {
|
173 |
+
display: inline-block;
|
174 |
+
margin: 10px 0;
|
175 |
+
background-color: #4F4F4F;
|
176 |
+
border: 0 none;
|
177 |
+
color: #FFFFFF;
|
178 |
+
font-weight: normal;
|
179 |
+
line-height: normal;
|
180 |
+
padding: 5px 20px;
|
181 |
+
text-decoration: none;
|
182 |
+
text-transform: uppercase;
|
183 |
+
cursor: pointer;
|
184 |
+
}
|
185 |
+
|
186 |
+
table.compare-list .add-to-cart td a:hover {
|
187 |
+
background: #868686;
|
188 |
+
color: #fff;
|
189 |
+
}
|
190 |
+
|
191 |
+
table.compare-list .stock td span {
|
192 |
+
color: #009900;
|
193 |
+
}
|
194 |
+
|
195 |
+
table.compare-list .stock td span.out-of-stock {
|
196 |
+
color: #990000;
|
197 |
+
}
|
198 |
+
|
199 |
+
table.compare-list .price td {
|
200 |
+
text-decoration: underline;
|
201 |
+
}
|
202 |
+
|
203 |
+
table.compare-list td.odd {
|
204 |
+
background: #F7F7F7;
|
205 |
+
}
|
206 |
+
|
207 |
+
table.compare-list td.even {
|
208 |
+
background: #fff;
|
209 |
+
}
|
210 |
+
|
211 |
+
table.compare-list td img {
|
212 |
+
background: none repeat scroll 0 0 #FFFFFF;
|
213 |
+
border: 1px solid #DADADA;
|
214 |
+
height: auto;
|
215 |
+
max-width: 100%;
|
216 |
+
padding: 3px;
|
217 |
+
margin-bottom: 20px;
|
218 |
+
max-width: none;
|
219 |
}
|
assets/css/widget.css
CHANGED
@@ -1,65 +1,65 @@
|
|
1 |
-
.yith-woocompare-widget ul.products-list {
|
2 |
-
list-style: none;
|
3 |
-
margin: 0 0 15px;
|
4 |
-
}
|
5 |
-
|
6 |
-
.yith-woocompare-widget ul.products-list li:not( .list_empty ) {
|
7 |
-
position: relative;
|
8 |
-
padding: 5px 0 5px 30px;
|
9 |
-
border-bottom: 1px solid #dfdfdf;
|
10 |
-
}
|
11 |
-
|
12 |
-
.yith-woocompare-widget ul.products-list li .remove {
|
13 |
-
position: absolute;
|
14 |
-
left: 3px;
|
15 |
-
color: #ff0000;
|
16 |
-
font-weight: 400;
|
17 |
-
font-size: 1.2em;
|
18 |
-
line-height: 1.2;
|
19 |
-
height: 1.2em;
|
20 |
-
width: 1.2em;
|
21 |
-
border-radius: 50%;
|
22 |
-
text-align: center;
|
23 |
-
cursor: pointer;
|
24 |
-
outline: none;
|
25 |
-
}
|
26 |
-
|
27 |
-
.yith-woocompare-widget ul.products-list li .remove:hover {
|
28 |
-
background-color: #ff0000;
|
29 |
-
color: #ffffff;
|
30 |
-
}
|
31 |
-
|
32 |
-
.yith-woocompare-widget ul.products-list li .title {
|
33 |
-
cursor: pointer;
|
34 |
-
text-transform: uppercase;
|
35 |
-
font-size: 12px;
|
36 |
-
font-weight: 400;
|
37 |
-
display: block;
|
38 |
-
outline: none;
|
39 |
-
}
|
40 |
-
|
41 |
-
.yith-woocompare-widget a.compare {
|
42 |
-
float: right;
|
43 |
-
float: right;
|
44 |
-
line-height: 1;
|
45 |
-
cursor: pointer;
|
46 |
-
padding: 8px 10px;
|
47 |
-
font-size: 13px;
|
48 |
-
text-transform: uppercase;
|
49 |
-
font-weight: 700;
|
50 |
-
border-radius: 3px;
|
51 |
-
border: 0;
|
52 |
-
white-space: nowrap;
|
53 |
-
display: inline-block;
|
54 |
-
color: #ffffff;
|
55 |
-
background-color: #b2b2b2;
|
56 |
-
}
|
57 |
-
|
58 |
-
.yith-woocompare-widget a.compare:hover {
|
59 |
-
background-color: #303030;
|
60 |
-
}
|
61 |
-
|
62 |
-
.yith-woocompare-widget a.clear-all {
|
63 |
-
outline: none;
|
64 |
-
font-size: 12px;
|
65 |
}
|
1 |
+
.yith-woocompare-widget ul.products-list {
|
2 |
+
list-style: none;
|
3 |
+
margin: 0 0 15px;
|
4 |
+
}
|
5 |
+
|
6 |
+
.yith-woocompare-widget ul.products-list li:not( .list_empty ) {
|
7 |
+
position: relative;
|
8 |
+
padding: 5px 0 5px 30px;
|
9 |
+
border-bottom: 1px solid #dfdfdf;
|
10 |
+
}
|
11 |
+
|
12 |
+
.yith-woocompare-widget ul.products-list li .remove {
|
13 |
+
position: absolute;
|
14 |
+
left: 3px;
|
15 |
+
color: #ff0000;
|
16 |
+
font-weight: 400;
|
17 |
+
font-size: 1.2em;
|
18 |
+
line-height: 1.2;
|
19 |
+
height: 1.2em;
|
20 |
+
width: 1.2em;
|
21 |
+
border-radius: 50%;
|
22 |
+
text-align: center;
|
23 |
+
cursor: pointer;
|
24 |
+
outline: none;
|
25 |
+
}
|
26 |
+
|
27 |
+
.yith-woocompare-widget ul.products-list li .remove:hover {
|
28 |
+
background-color: #ff0000;
|
29 |
+
color: #ffffff;
|
30 |
+
}
|
31 |
+
|
32 |
+
.yith-woocompare-widget ul.products-list li .title {
|
33 |
+
cursor: pointer;
|
34 |
+
text-transform: uppercase;
|
35 |
+
font-size: 12px;
|
36 |
+
font-weight: 400;
|
37 |
+
display: block;
|
38 |
+
outline: none;
|
39 |
+
}
|
40 |
+
|
41 |
+
.yith-woocompare-widget a.compare {
|
42 |
+
float: right;
|
43 |
+
float: right;
|
44 |
+
line-height: 1;
|
45 |
+
cursor: pointer;
|
46 |
+
padding: 8px 10px;
|
47 |
+
font-size: 13px;
|
48 |
+
text-transform: uppercase;
|
49 |
+
font-weight: 700;
|
50 |
+
border-radius: 3px;
|
51 |
+
border: 0;
|
52 |
+
white-space: nowrap;
|
53 |
+
display: inline-block;
|
54 |
+
color: #ffffff;
|
55 |
+
background-color: #b2b2b2;
|
56 |
+
}
|
57 |
+
|
58 |
+
.yith-woocompare-widget a.compare:hover {
|
59 |
+
background-color: #303030;
|
60 |
+
}
|
61 |
+
|
62 |
+
.yith-woocompare-widget a.clear-all {
|
63 |
+
outline: none;
|
64 |
+
font-size: 12px;
|
65 |
}
|
assets/js/woocompare-admin.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
|
3 |
-
$( ".attributes .fields" ).sortable({
|
4 |
-
cursor: "move",
|
5 |
-
scrollSensitivity: 10,
|
6 |
-
tolerance: "pointer",
|
7 |
-
axis: "y",
|
8 |
-
stop: function(event, ui) {
|
9 |
-
var list = ui.item.parents('.fields'),
|
10 |
-
fields = new Array();
|
11 |
-
$('input[type="checkbox"]', list).each(function(i){
|
12 |
-
fields[i] = $(this).val();
|
13 |
-
});
|
14 |
-
|
15 |
-
list.next().val( fields.join(',') );
|
16 |
-
}
|
17 |
-
});
|
18 |
-
|
19 |
});
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
|
3 |
+
$( ".attributes .fields" ).sortable({
|
4 |
+
cursor: "move",
|
5 |
+
scrollSensitivity: 10,
|
6 |
+
tolerance: "pointer",
|
7 |
+
axis: "y",
|
8 |
+
stop: function(event, ui) {
|
9 |
+
var list = ui.item.parents('.fields'),
|
10 |
+
fields = new Array();
|
11 |
+
$('input[type="checkbox"]', list).each(function(i){
|
12 |
+
fields[i] = $(this).val();
|
13 |
+
});
|
14 |
+
|
15 |
+
list.next().val( fields.join(',') );
|
16 |
+
}
|
17 |
+
});
|
18 |
+
|
19 |
});
|
includes/class.yith-woocompare-admin.php
CHANGED
@@ -1,476 +1,476 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH WooCommerce Compare
|
7 |
-
* @version 2.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
11 |
-
exit;
|
12 |
-
} // Exit if accessed directly
|
13 |
-
|
14 |
-
if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
|
15 |
-
/**
|
16 |
-
* Admin class.
|
17 |
-
* The class manage all the admin behaviors.
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_Woocompare_Admin {
|
22 |
-
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Plugin options
|
26 |
-
*
|
27 |
-
* @var array
|
28 |
-
* @access public
|
29 |
-
* @since 1.0.0
|
30 |
-
*/
|
31 |
-
public $options = array();
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Plugin version
|
35 |
-
*
|
36 |
-
* @var string
|
37 |
-
* @since 1.0.0
|
38 |
-
*/
|
39 |
-
public $version = YITH_WOOCOMPARE_VERSION;
|
40 |
-
|
41 |
-
/**
|
42 |
-
* @var $_panel Panel Object
|
43 |
-
*/
|
44 |
-
protected $_panel;
|
45 |
-
|
46 |
-
/**
|
47 |
-
* @var $_premium string Premium tab template file name
|
48 |
-
*/
|
49 |
-
protected $_premium = 'premium.php';
|
50 |
-
|
51 |
-
/**
|
52 |
-
* @var string Premium version landing link
|
53 |
-
*/
|
54 |
-
protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-compare';
|
55 |
-
|
56 |
-
/**
|
57 |
-
* @var string Compare panel page
|
58 |
-
*/
|
59 |
-
protected $_panel_page = 'yith_woocompare_panel';
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Various links
|
63 |
-
*
|
64 |
-
* @var string
|
65 |
-
* @access public
|
66 |
-
* @since 1.0.0
|
67 |
-
*/
|
68 |
-
public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-compare/';
|
69 |
-
|
70 |
-
/**
|
71 |
-
* Constructor
|
72 |
-
*
|
73 |
-
* @access public
|
74 |
-
* @since 1.0.0
|
75 |
-
*/
|
76 |
-
public function __construct() {
|
77 |
-
|
78 |
-
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
|
79 |
-
|
80 |
-
//Add action links
|
81 |
-
add_filter( 'plugin_action_links_' . plugin_basename( YITH_WOOCOMPARE_DIR . '/' . basename( YITH_WOOCOMPARE_FILE ) ), array( $this, 'action_links' ) );
|
82 |
-
add_filter( 'yith_show_plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 5 );
|
83 |
-
|
84 |
-
add_action( 'yith_woocompare_premium', array( $this, 'premium_tab' ) );
|
85 |
-
|
86 |
-
add_action( 'admin_init', array( $this, 'register_pointer' ) );
|
87 |
-
add_action( 'admin_init', array( $this, 'default_options'), 99 );
|
88 |
-
|
89 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ), 20 );
|
90 |
-
|
91 |
-
add_action( 'woocommerce_admin_field_woocompare_image_width', array( $this, 'admin_fields_woocompare_image_width' ) );
|
92 |
-
add_action( 'woocommerce_admin_field_woocompare_attributes', array( $this, 'admin_fields_attributes' ), 10, 1 );
|
93 |
-
if( version_compare( preg_replace( '/-beta-([0-9]+)/', '', WC()->version ), '2.4', '<' ) ) {
|
94 |
-
add_action( 'woocommerce_update_option_woocompare_attributes', array( $this, 'admin_update_custom_option_pre_24' ), 10, 1 );
|
95 |
-
}
|
96 |
-
else {
|
97 |
-
add_filter( 'woocommerce_admin_settings_sanitize_option_yith_woocompare_fields_attrs', array( $this, 'admin_update_custom_option' ), 10, 3 );
|
98 |
-
}
|
99 |
-
|
100 |
-
// YITH WCWL Loaded
|
101 |
-
do_action( 'yith_woocompare_loaded' );
|
102 |
-
}
|
103 |
-
|
104 |
-
/**
|
105 |
-
* Action Links
|
106 |
-
*
|
107 |
-
* add the action links to plugin admin page
|
108 |
-
*
|
109 |
-
* @param $links | links plugin array
|
110 |
-
*
|
111 |
-
* @return mixed Array
|
112 |
-
* @since 1.0
|
113 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
114 |
-
* @return mixed
|
115 |
-
* @use plugin_action_links_{$plugin_file_name}
|
116 |
-
*/
|
117 |
-
public function action_links( $links ) {
|
118 |
-
|
119 |
-
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-compare' ) . '</a>';
|
120 |
-
if ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) {
|
121 |
-
$links[] = '<a href="' . YIT_Plugin_Licence()->get_license_activation_url() . '" target="_blank">' . __( 'License', 'yith-woocommerce-compare' ) . '</a>';
|
122 |
-
}
|
123 |
-
|
124 |
-
return $links;
|
125 |
-
}
|
126 |
-
|
127 |
-
/**
|
128 |
-
* Add a panel under YITH Plugins tab
|
129 |
-
*
|
130 |
-
* @return void
|
131 |
-
* @since 1.0
|
132 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
133 |
-
* @use /Yit_Plugin_Panel class
|
134 |
-
* @see plugin-fw/lib/yit-plugin-panel.php
|
135 |
-
*/
|
136 |
-
public function register_panel() {
|
137 |
-
|
138 |
-
if ( ! empty( $this->_panel ) ) {
|
139 |
-
return;
|
140 |
-
}
|
141 |
-
|
142 |
-
$admin_tabs = array(
|
143 |
-
'general' => __( 'Settings', 'yith-woocommerce-compare' ),
|
144 |
-
);
|
145 |
-
|
146 |
-
if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
|
147 |
-
$admin_tabs['premium'] = __( 'Premium Version', 'yith-woocommerce-compare' );
|
148 |
-
}
|
149 |
-
|
150 |
-
$args = array(
|
151 |
-
'create_menu_page' => true,
|
152 |
-
'parent_slug' => '',
|
153 |
-
'page_title' => _x( 'Compare', 'Admin Plugin Name', 'yith-woocommerce-compare' ),
|
154 |
-
'menu_title' => _x( 'Compare', 'Admin Plugin Name', 'yith-woocommerce-compare' ),
|
155 |
-
'capability' => 'manage_options',
|
156 |
-
'parent' => '',
|
157 |
-
'parent_page' => 'yith_plugin_panel',
|
158 |
-
'page' => $this->_panel_page,
|
159 |
-
'admin-tabs' => apply_filters( 'yith_woocompare_admin_tabs', $admin_tabs ),
|
160 |
-
'options-path' => YITH_WOOCOMPARE_DIR . '/plugin-options'
|
161 |
-
);
|
162 |
-
|
163 |
-
|
164 |
-
/* === Fixed: not updated theme === */
|
165 |
-
if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
166 |
-
require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/lib/yit-plugin-panel-wc.php' );
|
167 |
-
}
|
168 |
-
|
169 |
-
$this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
170 |
-
$this->options = $this->_panel->get_main_array_options();
|
171 |
-
}
|
172 |
-
|
173 |
-
/**
|
174 |
-
* Set default custom options
|
175 |
-
*
|
176 |
-
*/
|
177 |
-
public function default_options() {
|
178 |
-
$this->_default_options();
|
179 |
-
}
|
180 |
-
|
181 |
-
/**
|
182 |
-
* Premium Tab Template
|
183 |
-
*
|
184 |
-
* Load the premium tab template on admin page
|
185 |
-
*
|
186 |
-
* @return void
|
187 |
-
* @since 1.0
|
188 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
189 |
-
* @return void
|
190 |
-
*/
|
191 |
-
public function premium_tab() {
|
192 |
-
$premium_tab_template = YITH_WOOCOMPARE_TEMPLATE_PATH . '/admin/' . $this->_premium;
|
193 |
-
if ( file_exists( $premium_tab_template ) ) {
|
194 |
-
include_once( $premium_tab_template );
|
195 |
-
}
|
196 |
-
|
197 |
-
}
|
198 |
-
|
199 |
-
/**
|
200 |
-
* plugin_row_meta
|
201 |
-
*
|
202 |
-
* add the action links to plugin admin page
|
203 |
-
*
|
204 |
-
* @param $plugin_meta
|
205 |
-
* @param $plugin_file
|
206 |
-
* @param $plugin_data
|
207 |
-
* @param $status
|
208 |
-
*
|
209 |
-
* @return Array
|
210 |
-
* @since 1.0
|
211 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
212 |
-
* @use plugin_row_meta
|
213 |
-
*/
|
214 |
-
public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
215 |
-
|
216 |
-
if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
|
217 |
-
$new_row_meta_args['slug'] = YITH_WOOCOMPARE_SLUG;
|
218 |
-
|
219 |
-
if( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ){
|
220 |
-
$new_row_meta_args['is_premium'] = true;
|
221 |
-
}
|
222 |
-
}
|
223 |
-
|
224 |
-
return $new_row_meta_args;
|
225 |
-
}
|
226 |
-
|
227 |
-
/**
|
228 |
-
* Register Pointer
|
229 |
-
*/
|
230 |
-
public function register_pointer(){
|
231 |
-
|
232 |
-
if( ! class_exists( 'YIT_Pointers' ) ){
|
233 |
-
include_once( 'plugin-fw/lib/yit-pointers.php' );
|
234 |
-
}
|
235 |
-
|
236 |
-
$args[] = array(
|
237 |
-
'screen_id' => 'plugins',
|
238 |
-
'pointer_id' => 'yith_woocompare_panel',
|
239 |
-
'target' => '#toplevel_page_yit_plugin_panel',
|
240 |
-
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
241 |
-
__( 'YITH WooCommerce Compare Activated', 'yith-woocommerce-compare' ),
|
242 |
-
apply_filters( 'yith_woocompare_activated_pointer_content', sprintf( __( 'In the YIT Plugin tab you can find the YITH WooCommerce Compare options. With this menu, you can access to all the settings of our plugins that you have activated. YITH WooCommerce Compare is available in an outstanding PREMIUM version with many new options, <a href="%s">discover it now</a>.', 'yith-woocommerce-compare' ), $this->get_premium_landing_uri() ) )
|
243 |
-
),
|
244 |
-
'position' => array( 'edge' => 'left', 'align' => 'center' ),
|
245 |
-
'init' => YITH_WOOCOMPARE_INIT
|
246 |
-
);
|
247 |
-
|
248 |
-
$args[] = array(
|
249 |
-
'screen_id' => 'update',
|
250 |
-
'pointer_id' => 'yith_woocompare_panel',
|
251 |
-
'target' => '#toplevel_page_yit_plugin_panel',
|
252 |
-
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
253 |
-
__( 'YITH WooCommerce Compare Updated', 'yith-woocommerce-compare' ),
|
254 |
-
apply_filters( 'yith_woocompare_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of YITH WooCommerce Compare under YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. YITH WooCommerce Compare has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yith-woocommerce-compare' ), $this->get_premium_landing_uri() ) )
|
255 |
-
),
|
256 |
-
'position' => array( 'edge' => 'left', 'align' => 'center' ),
|
257 |
-
'init' => YITH_WOOCOMPARE_INIT
|
258 |
-
);
|
259 |
-
|
260 |
-
YIT_Pointers()->register( $args );
|
261 |
-
}
|
262 |
-
|
263 |
-
/**
|
264 |
-
* Get the premium landing uri
|
265 |
-
*
|
266 |
-
* @since 1.0.0
|
267 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
268 |
-
* @return string The premium landing link
|
269 |
-
*/
|
270 |
-
public function get_premium_landing_uri() {
|
271 |
-
return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing.'?refer_id=1030585';
|
272 |
-
}
|
273 |
-
|
274 |
-
/**
|
275 |
-
* Default options
|
276 |
-
*
|
277 |
-
* Sets up the default options used on the settings page
|
278 |
-
*
|
279 |
-
* @access protected
|
280 |
-
* @return void
|
281 |
-
* @since 1.0.0
|
282 |
-
*/
|
283 |
-
protected function _default_options() {
|
284 |
-
|
285 |
-
foreach ( $this->options as $section ) {
|
286 |
-
|
287 |
-
foreach ( $section as $value ) {
|
288 |
-
|
289 |
-
if ( isset( $value['std'] ) && isset( $value['id'] ) ) {
|
290 |
-
|
291 |
-
if ( $value['type'] == 'image_width' ) {
|
292 |
-
add_option( $value['id'], $value['std'] );
|
293 |
-
} elseif ( $value['type'] == 'woocompare_attributes' ) {
|
294 |
-
|
295 |
-
$value_id = str_replace( '_attrs', '', $value['id'] );
|
296 |
-
|
297 |
-
$in_db = get_option( $value_id );
|
298 |
-
$in_db_original = get_option( $value['id'] );
|
299 |
-
|
300 |
-
// if options is already in db and not reset defaults continue
|
301 |
-
if ( $in_db && $in_db_original != 'all' ) {
|
302 |
-
continue;
|
303 |
-
}
|
304 |
-
|
305 |
-
if ( $value['default'] == 'all' ) {
|
306 |
-
$fields = YITH_Woocompare_Helper::standard_fields();
|
307 |
-
$all = array();
|
308 |
-
|
309 |
-
foreach ( array_keys( $fields ) as $field ) {
|
310 |
-
$all[ $field ] = true;
|
311 |
-
}
|
312 |
-
|
313 |
-
update_option( $value_id, $all );
|
314 |
-
} else {
|
315 |
-
update_option( $value_id, $value['std'] );
|
316 |
-
}
|
317 |
-
}
|
318 |
-
}
|
319 |
-
}
|
320 |
-
}
|
321 |
-
}
|
322 |
-
|
323 |
-
/**
|
324 |
-
* Create new Woocommerce admin field: checkboxes
|
325 |
-
*
|
326 |
-
* @access public
|
327 |
-
* @param array $value
|
328 |
-
* @return void
|
329 |
-
* @since 1.0.0
|
330 |
-
*/
|
331 |
-
public function admin_fields_attributes( $value ) {
|
332 |
-
$fields = YITH_Woocompare_Helper::standard_fields();
|
333 |
-
$all = array();
|
334 |
-
$checked = get_option( str_replace( '_attrs', '', $value['id'] ), $value['default'] == 'all' ? $all : array() );
|
335 |
-
|
336 |
-
foreach ( array_keys( $fields ) as $field ) {
|
337 |
-
$all[ $field ] = true;
|
338 |
-
}
|
339 |
-
// then add fields that are not still saved
|
340 |
-
foreach ( $checked as $k => $v ) {
|
341 |
-
unset( $all[ $k ] );
|
342 |
-
}
|
343 |
-
$checkboxes = array_merge( $checked, $all );
|
344 |
-
|
345 |
-
|
346 |
-
?>
|
347 |
-
<tr valign="top">
|
348 |
-
<th scope="row" class="titledesc">
|
349 |
-
<label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo $value['name']; ?></label>
|
350 |
-
</th>
|
351 |
-
|
352 |
-
<td class="forminp attributes">
|
353 |
-
<p class="description"><?php echo $value['desc'] ?></p>
|
354 |
-
<ul class="fields">
|
355 |
-
<?php foreach ( $checkboxes as $slug => $checked ) :
|
356 |
-
if( ! isset( $fields[ $slug ] ) )
|
357 |
-
continue;
|
358 |
-
?>
|
359 |
-
<li>
|
360 |
-
<label>
|
361 |
-
<input type="checkbox" name="<?php echo $value['id'] ?>[]" id="<?php echo $value['id'] ?>_<?php echo $slug ?>" value="<?php echo $slug ?>"<?php checked( $checked ) ?> /> <?php echo $fields[ $slug ] ?>
|
362 |
-
</label>
|
363 |
-
</li>
|
364 |
-
<?php
|
365 |
-
endforeach;
|
366 |
-
?>
|
367 |
-
</ul>
|
368 |
-
<input type="hidden" name="<?php echo $value['id'] ?>_positions" value="<?php echo implode( ',', array_keys( $checkboxes ) ) ?>" />
|
369 |
-
</td>
|
370 |
-
</tr>
|
371 |
-
<?php
|
372 |
-
}
|
373 |
-
|
374 |
-
/**
|
375 |
-
* Create new Woocommerce admin field: yit_wc_image_width
|
376 |
-
*
|
377 |
-
* @access public
|
378 |
-
* @param array $value
|
379 |
-
* @return void
|
380 |
-
* @since 1.0.0
|
381 |
-
*/
|
382 |
-
public function admin_fields_woocompare_image_width( $value ) {
|
383 |
-
|
384 |
-
$width = WC_Admin_Settings::get_option( $value['id'] . '[width]', $value['default']['width'] );
|
385 |
-
$height = WC_Admin_Settings::get_option( $value['id'] . '[height]', $value['default']['height'] );
|
386 |
-
$crop = WC_Admin_Settings::get_option( $value['id'] . '[crop]' );
|
387 |
-
$crop = ( $crop == 'on' || $crop == '1' ) ? 1 : 0;
|
388 |
-
$crop = checked( 1, $crop, false );
|
389 |
-
|
390 |
-
?>
|
391 |
-
<tr valign="top">
|
392 |
-
<th scope="row" class="titledesc"><?php echo esc_html( $value['title'] ) ?></th>
|
393 |
-
<td class="forminp image_width_settings">
|
394 |
-
|
395 |
-
<input name="<?php echo esc_attr( $value['id'] ); ?>[width]" id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" size="3" value="<?php echo $width; ?>" /> ×
|
396 |
-
<input name="<?php echo esc_attr( $value['id'] ); ?>[height]" id="<?php echo esc_attr( $value['id'] ); ?>-height" type="text" size="3" value="<?php echo $height; ?>" />px
|
397 |
-
|
398 |
-
<label><input name="<?php echo esc_attr( $value['id'] ); ?>[crop]" id="<?php echo esc_attr( $value['id'] ); ?>-crop" type="checkbox" <?php echo $crop; ?> /> <?php _e( 'Do you want to hard crop the image?', 'yith-woocommerce-compare' ); ?>
|
399 |
-
</label>
|
400 |
-
<p class="description"><?php echo $value['desc'] ?></p>
|
401 |
-
|
402 |
-
</td>
|
403 |
-
</tr><?php
|
404 |
-
|
405 |
-
}
|
406 |
-
|
407 |
-
/**
|
408 |
-
* Save the admin field: slider
|
409 |
-
*
|
410 |
-
* @access public
|
411 |
-
* @param mixed $value
|
412 |
-
* @param mixed $option
|
413 |
-
* @param mixed $raw_value
|
414 |
-
* @return mixed
|
415 |
-
* @since 1.0.0
|
416 |
-
*/
|
417 |
-
public function admin_update_custom_option( $value, $option, $raw_value ) {
|
418 |
-
|
419 |
-
$val = array();
|
420 |
-
$checked_fields = isset( $_POST[ $option['id'] ] ) ? maybe_unserialize( $_POST[ $option['id'] ] ) : array();
|
421 |
-
$fields = array_map( 'trim', explode( ',', $_POST[ $option['id'] . '_positions' ] ) );
|
422 |
-
|
423 |
-
foreach ( $fields as $field ) {
|
424 |
-
$val[ $field ] = in_array( $field, $checked_fields );
|
425 |
-
}
|
426 |
-
|
427 |
-
update_option( str_replace( '_attrs', '', $option['id'] ), $val );
|
428 |
-
|
429 |
-
return $value;
|
430 |
-
}
|
431 |
-
|
432 |
-
/**
|
433 |
-
* Save the admin field: slider
|
434 |
-
*
|
435 |
-
* @access public
|
436 |
-
* @param mixed $value
|
437 |
-
* @return void
|
438 |
-
* @since 1.0.0
|
439 |
-
*/
|
440 |
-
public function admin_update_custom_option_pre_24( $value ) {
|
441 |
-
|
442 |
-
$val = array();
|
443 |
-
$checked_fields = isset( $_POST[ $value['id'] ] ) ? $_POST[ $value['id'] ] : array();
|
444 |
-
$fields = array_map( 'trim', explode( ',', $_POST[ $value['id'] . '_positions' ] ) );
|
445 |
-
|
446 |
-
foreach ( $fields as $field ) {
|
447 |
-
$val[ $field ] = in_array( $field, $checked_fields );
|
448 |
-
}
|
449 |
-
|
450 |
-
update_option( str_replace( '_attrs', '', $value['id'] ), $val );
|
451 |
-
}
|
452 |
-
|
453 |
-
/**
|
454 |
-
* Enqueue admin styles and scripts
|
455 |
-
*
|
456 |
-
* @access public
|
457 |
-
* @return void
|
458 |
-
* @since 1.0.0
|
459 |
-
*/
|
460 |
-
public function enqueue_styles_scripts() {
|
461 |
-
|
462 |
-
if ( isset( $_GET['page'] ) && $_GET['page'] == 'yith_woocompare_panel' ) {
|
463 |
-
wp_enqueue_script( 'jquery-ui' );
|
464 |
-
wp_enqueue_script( 'jquery-ui-core' );
|
465 |
-
wp_enqueue_script( 'jquery-ui-mouse' );
|
466 |
-
wp_enqueue_script( 'jquery-ui-slider' );
|
467 |
-
wp_enqueue_script( 'jquery-ui-sortable' );
|
468 |
-
|
469 |
-
wp_enqueue_style( 'yith_woocompare_admin', YITH_WOOCOMPARE_URL . 'assets/css/admin.css' );
|
470 |
-
wp_enqueue_script( 'yith_woocompare', YITH_WOOCOMPARE_URL . 'assets/js/woocompare-admin.js', array( 'jquery', 'jquery-ui-sortable' ) );
|
471 |
-
}
|
472 |
-
|
473 |
-
do_action( 'yith_woocompare_enqueue_styles_scripts' );
|
474 |
-
}
|
475 |
-
}
|
476 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH WooCommerce Compare
|
7 |
+
* @version 2.0.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
+
|
14 |
+
if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
|
15 |
+
/**
|
16 |
+
* Admin class.
|
17 |
+
* The class manage all the admin behaviors.
|
18 |
+
*
|
19 |
+
* @since 1.0.0
|
20 |
+
*/
|
21 |
+
class YITH_Woocompare_Admin {
|
22 |
+
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Plugin options
|
26 |
+
*
|
27 |
+
* @var array
|
28 |
+
* @access public
|
29 |
+
* @since 1.0.0
|
30 |
+
*/
|
31 |
+
public $options = array();
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Plugin version
|
35 |
+
*
|
36 |
+
* @var string
|
37 |
+
* @since 1.0.0
|
38 |
+
*/
|
39 |
+
public $version = YITH_WOOCOMPARE_VERSION;
|
40 |
+
|
41 |
+
/**
|
42 |
+
* @var $_panel Panel Object
|
43 |
+
*/
|
44 |
+
protected $_panel;
|
45 |
+
|
46 |
+
/**
|
47 |
+
* @var $_premium string Premium tab template file name
|
48 |
+
*/
|
49 |
+
protected $_premium = 'premium.php';
|
50 |
+
|
51 |
+
/**
|
52 |
+
* @var string Premium version landing link
|
53 |
+
*/
|
54 |
+
protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-compare';
|
55 |
+
|
56 |
+
/**
|
57 |
+
* @var string Compare panel page
|
58 |
+
*/
|
59 |
+
protected $_panel_page = 'yith_woocompare_panel';
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Various links
|
63 |
+
*
|
64 |
+
* @var string
|
65 |
+
* @access public
|
66 |
+
* @since 1.0.0
|
67 |
+
*/
|
68 |
+
public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-compare/';
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Constructor
|
72 |
+
*
|
73 |
+
* @access public
|
74 |
+
* @since 1.0.0
|
75 |
+
*/
|
76 |
+
public function __construct() {
|
77 |
+
|
78 |
+
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
|
79 |
+
|
80 |
+
//Add action links
|
81 |
+
add_filter( 'plugin_action_links_' . plugin_basename( YITH_WOOCOMPARE_DIR . '/' . basename( YITH_WOOCOMPARE_FILE ) ), array( $this, 'action_links' ) );
|
82 |
+
add_filter( 'yith_show_plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 5 );
|
83 |
+
|
84 |
+
add_action( 'yith_woocompare_premium', array( $this, 'premium_tab' ) );
|
85 |
+
|
86 |
+
add_action( 'admin_init', array( $this, 'register_pointer' ) );
|
87 |
+
add_action( 'admin_init', array( $this, 'default_options'), 99 );
|
88 |
+
|
89 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ), 20 );
|
90 |
+
|
91 |
+
add_action( 'woocommerce_admin_field_woocompare_image_width', array( $this, 'admin_fields_woocompare_image_width' ) );
|
92 |
+
add_action( 'woocommerce_admin_field_woocompare_attributes', array( $this, 'admin_fields_attributes' ), 10, 1 );
|
93 |
+
if( version_compare( preg_replace( '/-beta-([0-9]+)/', '', WC()->version ), '2.4', '<' ) ) {
|
94 |
+
add_action( 'woocommerce_update_option_woocompare_attributes', array( $this, 'admin_update_custom_option_pre_24' ), 10, 1 );
|
95 |
+
}
|
96 |
+
else {
|
97 |
+
add_filter( 'woocommerce_admin_settings_sanitize_option_yith_woocompare_fields_attrs', array( $this, 'admin_update_custom_option' ), 10, 3 );
|
98 |
+
}
|
99 |
+
|
100 |
+
// YITH WCWL Loaded
|
101 |
+
do_action( 'yith_woocompare_loaded' );
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Action Links
|
106 |
+
*
|
107 |
+
* add the action links to plugin admin page
|
108 |
+
*
|
109 |
+
* @param $links | links plugin array
|
110 |
+
*
|
111 |
+
* @return mixed Array
|
112 |
+
* @since 1.0
|
113 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
114 |
+
* @return mixed
|
115 |
+
* @use plugin_action_links_{$plugin_file_name}
|
116 |
+
*/
|
117 |
+
public function action_links( $links ) {
|
118 |
+
|
119 |
+
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-compare' ) . '</a>';
|
120 |
+
if ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) {
|
121 |
+
$links[] = '<a href="' . YIT_Plugin_Licence()->get_license_activation_url() . '" target="_blank">' . __( 'License', 'yith-woocommerce-compare' ) . '</a>';
|
122 |
+
}
|
123 |
+
|
124 |
+
return $links;
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Add a panel under YITH Plugins tab
|
129 |
+
*
|
130 |
+
* @return void
|
131 |
+
* @since 1.0
|
132 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
133 |
+
* @use /Yit_Plugin_Panel class
|
134 |
+
* @see plugin-fw/lib/yit-plugin-panel.php
|
135 |
+
*/
|
136 |
+
public function register_panel() {
|
137 |
+
|
138 |
+
if ( ! empty( $this->_panel ) ) {
|
139 |
+
return;
|
140 |
+
}
|
141 |
+
|
142 |
+
$admin_tabs = array(
|
143 |
+
'general' => __( 'Settings', 'yith-woocommerce-compare' ),
|
144 |
+
);
|
145 |
+
|
146 |
+
if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
|
147 |
+
$admin_tabs['premium'] = __( 'Premium Version', 'yith-woocommerce-compare' );
|
148 |
+
}
|
149 |
+
|
150 |
+
$args = array(
|
151 |
+
'create_menu_page' => true,
|
152 |
+
'parent_slug' => '',
|
153 |
+
'page_title' => _x( 'Compare', 'Admin Plugin Name', 'yith-woocommerce-compare' ),
|
154 |
+
'menu_title' => _x( 'Compare', 'Admin Plugin Name', 'yith-woocommerce-compare' ),
|
155 |
+
'capability' => 'manage_options',
|
156 |
+
'parent' => '',
|
157 |
+
'parent_page' => 'yith_plugin_panel',
|
158 |
+
'page' => $this->_panel_page,
|
159 |
+
'admin-tabs' => apply_filters( 'yith_woocompare_admin_tabs', $admin_tabs ),
|
160 |
+
'options-path' => YITH_WOOCOMPARE_DIR . '/plugin-options'
|
161 |
+
);
|
162 |
+
|
163 |
+
|
164 |
+
/* === Fixed: not updated theme === */
|
165 |
+
if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
166 |
+
require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/lib/yit-plugin-panel-wc.php' );
|
167 |
+
}
|
168 |
+
|
169 |
+
$this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
170 |
+
$this->options = $this->_panel->get_main_array_options();
|
171 |
+
}
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Set default custom options
|
175 |
+
*
|
176 |
+
*/
|
177 |
+
public function default_options() {
|
178 |
+
$this->_default_options();
|
179 |
+
}
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Premium Tab Template
|
183 |
+
*
|
184 |
+
* Load the premium tab template on admin page
|
185 |
+
*
|
186 |
+
* @return void
|
187 |
+
* @since 1.0
|
188 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
189 |
+
* @return void
|
190 |
+
*/
|
191 |
+
public function premium_tab() {
|
192 |
+
$premium_tab_template = YITH_WOOCOMPARE_TEMPLATE_PATH . '/admin/' . $this->_premium;
|
193 |
+
if ( file_exists( $premium_tab_template ) ) {
|
194 |
+
include_once( $premium_tab_template );
|
195 |
+
}
|
196 |
+
|
197 |
+
}
|
198 |
+
|
199 |
+
/**
|
200 |
+
* plugin_row_meta
|
201 |
+
*
|
202 |
+
* add the action links to plugin admin page
|
203 |
+
*
|
204 |
+
* @param $plugin_meta
|
205 |
+
* @param $plugin_file
|
206 |
+
* @param $plugin_data
|
207 |
+
* @param $status
|
208 |
+
*
|
209 |
+
* @return Array
|
210 |
+
* @since 1.0
|
211 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
212 |
+
* @use plugin_row_meta
|
213 |
+
*/
|
214 |
+
public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
215 |
+
|
216 |
+
if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
|
217 |
+
$new_row_meta_args['slug'] = YITH_WOOCOMPARE_SLUG;
|
218 |
+
|
219 |
+
if( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ){
|
220 |
+
$new_row_meta_args['is_premium'] = true;
|
221 |
+
}
|
222 |
+
}
|
223 |
+
|
224 |
+
return $new_row_meta_args;
|
225 |
+
}
|
226 |
+
|
227 |
+
/**
|
228 |
+
* Register Pointer
|
229 |
+
*/
|
230 |
+
public function register_pointer(){
|
231 |
+
|
232 |
+
if( ! class_exists( 'YIT_Pointers' ) ){
|
233 |
+
include_once( 'plugin-fw/lib/yit-pointers.php' );
|
234 |
+
}
|
235 |
+
|
236 |
+
$args[] = array(
|
237 |
+
'screen_id' => 'plugins',
|
238 |
+
'pointer_id' => 'yith_woocompare_panel',
|
239 |
+
'target' => '#toplevel_page_yit_plugin_panel',
|
240 |
+
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
241 |
+
__( 'YITH WooCommerce Compare Activated', 'yith-woocommerce-compare' ),
|
242 |
+
apply_filters( 'yith_woocompare_activated_pointer_content', sprintf( __( 'In the YIT Plugin tab you can find the YITH WooCommerce Compare options. With this menu, you can access to all the settings of our plugins that you have activated. YITH WooCommerce Compare is available in an outstanding PREMIUM version with many new options, <a href="%s">discover it now</a>.', 'yith-woocommerce-compare' ), $this->get_premium_landing_uri() ) )
|
243 |
+
),
|
244 |
+
'position' => array( 'edge' => 'left', 'align' => 'center' ),
|
245 |
+
'init' => YITH_WOOCOMPARE_INIT
|
246 |
+
);
|
247 |
+
|
248 |
+
$args[] = array(
|
249 |
+
'screen_id' => 'update',
|
250 |
+
'pointer_id' => 'yith_woocompare_panel',
|
251 |
+
'target' => '#toplevel_page_yit_plugin_panel',
|
252 |
+
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
253 |
+
__( 'YITH WooCommerce Compare Updated', 'yith-woocommerce-compare' ),
|
254 |
+
apply_filters( 'yith_woocompare_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of YITH WooCommerce Compare under YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. YITH WooCommerce Compare has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yith-woocommerce-compare' ), $this->get_premium_landing_uri() ) )
|
255 |
+
),
|
256 |
+
'position' => array( 'edge' => 'left', 'align' => 'center' ),
|
257 |
+
'init' => YITH_WOOCOMPARE_INIT
|
258 |
+
);
|
259 |
+
|
260 |
+
YIT_Pointers()->register( $args );
|
261 |
+
}
|
262 |
+
|
263 |
+
/**
|
264 |
+
* Get the premium landing uri
|
265 |
+
*
|
266 |
+
* @since 1.0.0
|
267 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
268 |
+
* @return string The premium landing link
|
269 |
+
*/
|
270 |
+
public function get_premium_landing_uri() {
|
271 |
+
return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing.'?refer_id=1030585';
|
272 |
+
}
|
273 |
+
|
274 |
+
/**
|
275 |
+
* Default options
|
276 |
+
*
|
277 |
+
* Sets up the default options used on the settings page
|
278 |
+
*
|
279 |
+
* @access protected
|
280 |
+
* @return void
|
281 |
+
* @since 1.0.0
|
282 |
+
*/
|
283 |
+
protected function _default_options() {
|
284 |
+
|
285 |
+
foreach ( $this->options as $section ) {
|
286 |
+
|
287 |
+
foreach ( $section as $value ) {
|
288 |
+
|
289 |
+
if ( isset( $value['std'] ) && isset( $value['id'] ) ) {
|
290 |
+
|
291 |
+
if ( $value['type'] == 'image_width' ) {
|
292 |
+
add_option( $value['id'], $value['std'] );
|
293 |
+
} elseif ( $value['type'] == 'woocompare_attributes' ) {
|
294 |
+
|
295 |
+
$value_id = str_replace( '_attrs', '', $value['id'] );
|
296 |
+
|
297 |
+
$in_db = get_option( $value_id );
|
298 |
+
$in_db_original = get_option( $value['id'] );
|
299 |
+
|
300 |
+
// if options is already in db and not reset defaults continue
|
301 |
+
if ( $in_db && $in_db_original != 'all' ) {
|
302 |
+
continue;
|
303 |
+
}
|
304 |
+
|
305 |
+
if ( $value['default'] == 'all' ) {
|
306 |
+
$fields = YITH_Woocompare_Helper::standard_fields();
|
307 |
+
$all = array();
|
308 |
+
|
309 |
+
foreach ( array_keys( $fields ) as $field ) {
|
310 |
+
$all[ $field ] = true;
|
311 |
+
}
|
312 |
+
|
313 |
+
update_option( $value_id, $all );
|
314 |
+
} else {
|
315 |
+
update_option( $value_id, $value['std'] );
|
316 |
+
}
|
317 |
+
}
|
318 |
+
}
|
319 |
+
}
|
320 |
+
}
|
321 |
+
}
|
322 |
+
|
323 |
+
/**
|
324 |
+
* Create new Woocommerce admin field: checkboxes
|
325 |
+
*
|
326 |
+
* @access public
|
327 |
+
* @param array $value
|
328 |
+
* @return void
|
329 |
+
* @since 1.0.0
|
330 |
+
*/
|
331 |
+
public function admin_fields_attributes( $value ) {
|
332 |
+
$fields = YITH_Woocompare_Helper::standard_fields();
|
333 |
+
$all = array();
|
334 |
+
$checked = get_option( str_replace( '_attrs', '', $value['id'] ), $value['default'] == 'all' ? $all : array() );
|
335 |
+
|
336 |
+
foreach ( array_keys( $fields ) as $field ) {
|
337 |
+
$all[ $field ] = true;
|
338 |
+
}
|
339 |
+
// then add fields that are not still saved
|
340 |
+
foreach ( $checked as $k => $v ) {
|
341 |
+
unset( $all[ $k ] );
|
342 |
+
}
|
343 |
+
$checkboxes = array_merge( $checked, $all );
|
344 |
+
|
345 |
+
|
346 |
+
?>
|
347 |
+
<tr valign="top">
|
348 |
+
<th scope="row" class="titledesc">
|
349 |
+
<label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo $value['name']; ?></label>
|
350 |
+
</th>
|
351 |
+
|
352 |
+
<td class="forminp attributes">
|
353 |
+
<p class="description"><?php echo $value['desc'] ?></p>
|
354 |
+
<ul class="fields">
|
355 |
+
<?php foreach ( $checkboxes as $slug => $checked ) :
|
356 |
+
if( ! isset( $fields[ $slug ] ) )
|
357 |
+
continue;
|
358 |
+
?>
|
359 |
+
<li>
|
360 |
+
<label>
|
361 |
+
<input type="checkbox" name="<?php echo $value['id'] ?>[]" id="<?php echo $value['id'] ?>_<?php echo $slug ?>" value="<?php echo $slug ?>"<?php checked( $checked ) ?> /> <?php echo $fields[ $slug ] ?>
|
362 |
+
</label>
|
363 |
+
</li>
|
364 |
+
<?php
|
365 |
+
endforeach;
|
366 |
+
?>
|
367 |
+
</ul>
|
368 |
+
<input type="hidden" name="<?php echo $value['id'] ?>_positions" value="<?php echo implode( ',', array_keys( $checkboxes ) ) ?>" />
|
369 |
+
</td>
|
370 |
+
</tr>
|
371 |
+
<?php
|
372 |
+
}
|
373 |
+
|
374 |
+
/**
|
375 |
+
* Create new Woocommerce admin field: yit_wc_image_width
|
376 |
+
*
|
377 |
+
* @access public
|
378 |
+
* @param array $value
|
379 |
+
* @return void
|
380 |
+
* @since 1.0.0
|
381 |
+
*/
|
382 |
+
public function admin_fields_woocompare_image_width( $value ) {
|
383 |
+
|
384 |
+
$width = WC_Admin_Settings::get_option( $value['id'] . '[width]', $value['default']['width'] );
|
385 |
+
$height = WC_Admin_Settings::get_option( $value['id'] . '[height]', $value['default']['height'] );
|
386 |
+
$crop = WC_Admin_Settings::get_option( $value['id'] . '[crop]' );
|
387 |
+
$crop = ( $crop == 'on' || $crop == '1' ) ? 1 : 0;
|
388 |
+
$crop = checked( 1, $crop, false );
|
389 |
+
|
390 |
+
?>
|
391 |
+
<tr valign="top">
|
392 |
+
<th scope="row" class="titledesc"><?php echo esc_html( $value['title'] ) ?></th>
|
393 |
+
<td class="forminp image_width_settings">
|
394 |
+
|
395 |
+
<input name="<?php echo esc_attr( $value['id'] ); ?>[width]" id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" size="3" value="<?php echo $width; ?>" /> ×
|
396 |
+
<input name="<?php echo esc_attr( $value['id'] ); ?>[height]" id="<?php echo esc_attr( $value['id'] ); ?>-height" type="text" size="3" value="<?php echo $height; ?>" />px
|
397 |
+
|
398 |
+
<label><input name="<?php echo esc_attr( $value['id'] ); ?>[crop]" id="<?php echo esc_attr( $value['id'] ); ?>-crop" type="checkbox" <?php echo $crop; ?> /> <?php _e( 'Do you want to hard crop the image?', 'yith-woocommerce-compare' ); ?>
|
399 |
+
</label>
|
400 |
+
<p class="description"><?php echo $value['desc'] ?></p>
|
401 |
+
|
402 |
+
</td>
|
403 |
+
</tr><?php
|
404 |
+
|
405 |
+
}
|
406 |
+
|
407 |
+
/**
|
408 |
+
* Save the admin field: slider
|
409 |
+
*
|
410 |
+
* @access public
|
411 |
+
* @param mixed $value
|
412 |
+
* @param mixed $option
|
413 |
+
* @param mixed $raw_value
|
414 |
+
* @return mixed
|
415 |
+
* @since 1.0.0
|
416 |
+
*/
|
417 |
+
public function admin_update_custom_option( $value, $option, $raw_value ) {
|
418 |
+
|
419 |
+
$val = array();
|
420 |
+
$checked_fields = isset( $_POST[ $option['id'] ] ) ? maybe_unserialize( $_POST[ $option['id'] ] ) : array();
|
421 |
+
$fields = array_map( 'trim', explode( ',', $_POST[ $option['id'] . '_positions' ] ) );
|
422 |
+
|
423 |
+
foreach ( $fields as $field ) {
|
424 |
+
$val[ $field ] = in_array( $field, $checked_fields );
|
425 |
+
}
|
426 |
+
|
427 |
+
update_option( str_replace( '_attrs', '', $option['id'] ), $val );
|
428 |
+
|
429 |
+
return $value;
|
430 |
+
}
|
431 |
+
|
432 |
+
/**
|
433 |
+
* Save the admin field: slider
|
434 |
+
*
|
435 |
+
* @access public
|
436 |
+
* @param mixed $value
|
437 |
+
* @return void
|
438 |
+
* @since 1.0.0
|
439 |
+
*/
|
440 |
+
public function admin_update_custom_option_pre_24( $value ) {
|
441 |
+
|
442 |
+
$val = array();
|
443 |
+
$checked_fields = isset( $_POST[ $value['id'] ] ) ? $_POST[ $value['id'] ] : array();
|
444 |
+
$fields = array_map( 'trim', explode( ',', $_POST[ $value['id'] . '_positions' ] ) );
|
445 |
+
|
446 |
+
foreach ( $fields as $field ) {
|
447 |
+
$val[ $field ] = in_array( $field, $checked_fields );
|
448 |
+
}
|
449 |
+
|
450 |
+
update_option( str_replace( '_attrs', '', $value['id'] ), $val );
|
451 |
+
}
|
452 |
+
|
453 |
+
/**
|
454 |
+
* Enqueue admin styles and scripts
|
455 |
+
*
|
456 |
+
* @access public
|
457 |
+
* @return void
|
458 |
+
* @since 1.0.0
|
459 |
+
*/
|
460 |
+
public function enqueue_styles_scripts() {
|
461 |
+
|
462 |
+
if ( isset( $_GET['page'] ) && $_GET['page'] == 'yith_woocompare_panel' ) {
|
463 |
+
wp_enqueue_script( 'jquery-ui' );
|
464 |
+
wp_enqueue_script( 'jquery-ui-core' );
|
465 |
+
wp_enqueue_script( 'jquery-ui-mouse' );
|
466 |
+
wp_enqueue_script( 'jquery-ui-slider' );
|
467 |
+
wp_enqueue_script( 'jquery-ui-sortable' );
|
468 |
+
|
469 |
+
wp_enqueue_style( 'yith_woocompare_admin', YITH_WOOCOMPARE_URL . 'assets/css/admin.css' );
|
470 |
+
wp_enqueue_script( 'yith_woocompare', YITH_WOOCOMPARE_URL . 'assets/js/woocompare-admin.js', array( 'jquery', 'jquery-ui-sortable' ) );
|
471 |
+
}
|
472 |
+
|
473 |
+
do_action( 'yith_woocompare_enqueue_styles_scripts' );
|
474 |
+
}
|
475 |
+
}
|
476 |
+
}
|
includes/class.yith-woocompare-frontend.php
CHANGED
@@ -1,819 +1,819 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH Woocommerce Compare
|
7 |
-
* @version 1.1.4
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
13 |
-
/**
|
14 |
-
* YITH Custom Login Frontend
|
15 |
-
*
|
16 |
-
* @since 1.0.0
|
17 |
-
*/
|
18 |
-
class YITH_Woocompare_Frontend {
|
19 |
-
/**
|
20 |
-
* Plugin version
|
21 |
-
*
|
22 |
-
* @var string
|
23 |
-
* @since 1.0.0
|
24 |
-
*/
|
25 |
-
public $version = YITH_WOOCOMPARE_VERSION;
|
26 |
-
|
27 |
-
/**
|
28 |
-
* The list of products inside the comparison table
|
29 |
-
*
|
30 |
-
* @var array
|
31 |
-
* @since 1.0.0
|
32 |
-
*/
|
33 |
-
public $products_list = array();
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Plugin version
|
37 |
-
*
|
38 |
-
* @var string
|
39 |
-
* @since 1.0.0
|
40 |
-
*/
|
41 |
-
public $template_file = 'compare.php';
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Stylesheet file
|
45 |
-
*
|
46 |
-
* @var string
|
47 |
-
* @since 2.1.0
|
48 |
-
*/
|
49 |
-
public $stylesheet_file = 'compare.css';
|
50 |
-
|
51 |
-
/**
|
52 |
-
* The name of cookie name
|
53 |
-
*
|
54 |
-
* @var string
|
55 |
-
* @since 1.0.0
|
56 |
-
*/
|
57 |
-
public $cookie_name = 'yith_woocompare_list';
|
58 |
-
|
59 |
-
/**
|
60 |
-
* The action used to view the table comparison
|
61 |
-
*
|
62 |
-
* @var string
|
63 |
-
* @since 1.0.0
|
64 |
-
*/
|
65 |
-
public $action_view = 'yith-woocompare-view-table';
|
66 |
-
|
67 |
-
/**
|
68 |
-
* The action used to add the product to compare list
|
69 |
-
*
|
70 |
-
* @var string
|
71 |
-
* @since 1.0.0
|
72 |
-
*/
|
73 |
-
public $action_add = 'yith-woocompare-add-product';
|
74 |
-
|
75 |
-
/**
|
76 |
-
* The action used to add the product to compare list
|
77 |
-
*
|
78 |
-
* @var string
|
79 |
-
* @since 1.0.0
|
80 |
-
*/
|
81 |
-
public $action_remove = 'yith-woocompare-remove-product';
|
82 |
-
|
83 |
-
/**
|
84 |
-
* The action used to reload the compare list widget
|
85 |
-
*
|
86 |
-
* @var string
|
87 |
-
* @since 1.0.0
|
88 |
-
*/
|
89 |
-
public $action_reload = 'yith-woocompare-reload-product';
|
90 |
-
|
91 |
-
/**
|
92 |
-
* The standard fields
|
93 |
-
*
|
94 |
-
* @var array
|
95 |
-
* @since 1.0.0
|
96 |
-
*/
|
97 |
-
public $default_fields = array();
|
98 |
-
|
99 |
-
/**
|
100 |
-
* Constructor
|
101 |
-
*
|
102 |
-
* @return YITH_Woocompare_Frontend
|
103 |
-
* @since 1.0.0
|
104 |
-
*/
|
105 |
-
public function __construct() {
|
106 |
-
|
107 |
-
|
108 |
-
add_action( 'init', array( $this, 'init_variables' ), 1 );
|
109 |
-
add_action( 'init', array( $this, 'populate_products_list' ), 10 );
|
110 |
-
|
111 |
-
// Add link or button in the products list or
|
112 |
-
if ( get_option('yith_woocompare_compare_button_in_product_page') == 'yes' ) add_action( 'woocommerce_single_product_summary', array( $this, 'add_compare_link' ), 35 );
|
113 |
-
if ( get_option('yith_woocompare_compare_button_in_products_list') == 'yes' ) add_action( 'woocommerce_after_shop_loop_item', array( $this, 'add_compare_link' ), 20 );
|
114 |
-
add_action( 'init', array( $this, 'add_product_to_compare_action' ), 15 );
|
115 |
-
add_action( 'init', array( $this, 'remove_product_from_compare_action' ), 15 );
|
116 |
-
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
117 |
-
add_action( 'template_redirect', array( $this, 'compare_table_html' ) );
|
118 |
-
|
119 |
-
// add the shortcode
|
120 |
-
add_shortcode( 'yith_compare_button', array( $this, 'compare_button_sc' ) );
|
121 |
-
|
122 |
-
// AJAX
|
123 |
-
if( version_compare( WC()->version, '2.4', '>=' ) ){
|
124 |
-
add_action( 'wc_ajax_' . $this->action_add, array( $this, 'add_product_to_compare_ajax' ) );
|
125 |
-
add_action( 'wc_ajax_' . $this->action_remove, array( $this, 'remove_product_from_compare_ajax' ) );
|
126 |
-
add_action( 'wc_ajax_' . $this->action_reload, array( $this, 'reload_widget_list_ajax' ) );
|
127 |
-
}
|
128 |
-
else {
|
129 |
-
add_action( 'wp_ajax_' . $this->action_add, array( $this, 'add_product_to_compare_ajax' ) );
|
130 |
-
add_action( 'wp_ajax_' . $this->action_remove, array( $this, 'remove_product_from_compare_ajax' ) );
|
131 |
-
add_action( 'wp_ajax_' . $this->action_reload, array( $this, 'reload_widget_list_ajax' ) );
|
132 |
-
}
|
133 |
-
// no priv
|
134 |
-
add_action( 'wp_ajax_nopriv_' . $this->action_add, array( $this, 'add_product_to_compare_ajax' ) );
|
135 |
-
add_action( 'wp_ajax_nopriv_' . $this->action_remove, array( $this, 'remove_product_from_compare_ajax' ) );
|
136 |
-
add_action( 'wp_ajax_nopriv_' . $this->action_reload, array( $this, 'reload_widget_list_ajax' ) );
|
137 |
-
|
138 |
-
return $this;
|
139 |
-
}
|
140 |
-
|
141 |
-
/**
|
142 |
-
* Init class variables
|
143 |
-
*
|
144 |
-
* @since 2.3.4
|
145 |
-
* @author Francesco Licandro
|
146 |
-
*/
|
147 |
-
public function init_variables(){
|
148 |
-
global $sitepress;
|
149 |
-
|
150 |
-
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
151 |
-
|
152 |
-
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
153 |
-
$sitepress->switch_lang( $lang, true );
|
154 |
-
}
|
155 |
-
|
156 |
-
// set coookiename
|
157 |
-
if ( is_multisite() ) $this->cookie_name .= '_' . get_current_blog_id();
|
158 |
-
|
159 |
-
// populate default fields for the comparison table
|
160 |
-
$this->default_fields = YITH_Woocompare_Helper::standard_fields();
|
161 |
-
}
|
162 |
-
|
163 |
-
/**
|
164 |
-
* Populate the compare product list
|
165 |
-
*/
|
166 |
-
public function populate_products_list(){
|
167 |
-
|
168 |
-
global $sitepress;
|
169 |
-
|
170 |
-
/**
|
171 |
-
* WPML Support
|
172 |
-
*/
|
173 |
-
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
174 |
-
|
175 |
-
// get cookie val
|
176 |
-
$the_list = isset( $_COOKIE[ $this->cookie_name ] ) ? json_decode( $_COOKIE[ $this->cookie_name ] ) : array();
|
177 |
-
|
178 |
-
// switch lang for WPML
|
179 |
-
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
180 |
-
$sitepress->switch_lang( $lang, true );
|
181 |
-
}
|
182 |
-
|
183 |
-
foreach( $the_list as $product_id ) {
|
184 |
-
if( function_exists( 'wpml_object_id_filter' ) ) {
|
185 |
-
$product_id_translated = wpml_object_id_filter( $product_id, 'product', false );
|
186 |
-
// get all product of current lang
|
187 |
-
if ( $product_id_translated !== $product_id ) {
|
188 |
-
continue;
|
189 |
-
}
|
190 |
-
}
|
191 |
-
|
192 |
-
// check for deleted|private products
|
193 |
-
$product = wc_get_product( $product_id );
|
194 |
-
if( ! $product || yit_get_prop( $product, 'post_status' ) !== 'publish' ) {
|
195 |
-
continue;
|
196 |
-
}
|
197 |
-
|
198 |
-
$this->products_list[] = $product_id;
|
199 |
-
}
|
200 |
-
|
201 |
-
do_action( 'yith_woocompare_after_populate_product_list', $this->products_list );
|
202 |
-
}
|
203 |
-
|
204 |
-
/**
|
205 |
-
* Enqueue the scripts and styles in the page
|
206 |
-
*/
|
207 |
-
public function enqueue_scripts() {
|
208 |
-
|
209 |
-
// scripts
|
210 |
-
$min = ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '';
|
211 |
-
wp_register_script( 'yith-woocompare-main', YITH_WOOCOMPARE_ASSETS_URL . '/js/woocompare' . $min .'.js', array('jquery'), $this->version, true );
|
212 |
-
|
213 |
-
// enqueue and add localize
|
214 |
-
wp_enqueue_script( 'yith-woocompare-main' );
|
215 |
-
|
216 |
-
// localize script args
|
217 |
-
$args = apply_filters( 'yith_woocompare_main_script_localize_array', array(
|
218 |
-
'ajaxurl' => version_compare( WC()->version, '2.4', '>=' ) ? WC_AJAX::get_endpoint( "%%endpoint%%" ) : admin_url( 'admin-ajax.php', 'relative' ),
|
219 |
-
'actionadd' => $this->action_add,
|
220 |
-
'actionremove' => $this->action_remove,
|
221 |
-
'actionview' => $this->action_view,
|
222 |
-
'actionreload' => $this->action_reload,
|
223 |
-
'added_label' => apply_filters( 'yith_woocompare_compare_added_label', __( 'Added', 'yith-woocommerce-compare' ) ),
|
224 |
-
'table_title' => apply_filters( 'yith_woocompare_compare_table_title',__( 'Product Comparison', 'yith-woocommerce-compare' ) ),
|
225 |
-
'auto_open' => get_option( 'yith_woocompare_auto_open', 'yes' ),
|
226 |
-
'loader' => YITH_WOOCOMPARE_ASSETS_URL . '/images/loader.gif',
|
227 |
-
'button_text' => get_option('yith_woocompare_button_text'),
|
228 |
-
'cookie_name' => $this->cookie_name,
|
229 |
-
'close_label' => _x( 'Close', 'Label for popup close icon', 'yith-woocommerce-compare' )
|
230 |
-
));
|
231 |
-
|
232 |
-
wp_localize_script( 'yith-woocompare-main', 'yith_woocompare', $args );
|
233 |
-
|
234 |
-
// colorbox
|
235 |
-
wp_enqueue_style( 'jquery-colorbox', YITH_WOOCOMPARE_ASSETS_URL . '/css/colorbox.css' );
|
236 |
-
wp_enqueue_script( 'jquery-colorbox', YITH_WOOCOMPARE_ASSETS_URL . '/js/jquery.colorbox-min.js', array('jquery'), '1.4.21', true );
|
237 |
-
|
238 |
-
// widget
|
239 |
-
if ( is_active_widget( false, false, 'yith-woocompare-widget', true ) && ! is_admin() ) {
|
240 |
-
wp_enqueue_style( 'yith-woocompare-widget', YITH_WOOCOMPARE_ASSETS_URL . '/css/widget.css' );
|
241 |
-
}
|
242 |
-
}
|
243 |
-
|
244 |
-
/**
|
245 |
-
* The fields to show in the table
|
246 |
-
*
|
247 |
-
* @param array $products
|
248 |
-
* @return mixed|void
|
249 |
-
* @since 1.0.0
|
250 |
-
*/
|
251 |
-
public function fields( $products = array() ) {
|
252 |
-
|
253 |
-
$fields = get_option( 'yith_woocompare_fields', array() );
|
254 |
-
|
255 |
-
foreach ( $fields as $field => $show ) {
|
256 |
-
if ( $show ) {
|
257 |
-
if ( isset( $this->default_fields[$field] ) ) {
|
258 |
-
$fields[$field] = $this->default_fields[$field];
|
259 |
-
}
|
260 |
-
else {
|
261 |
-
if ( taxonomy_exists( $field ) ) {
|
262 |
-
$fields[$field] = wc_attribute_label( $field );
|
263 |
-
}
|
264 |
-
}
|
265 |
-
}
|
266 |
-
else {
|
267 |
-
unset( $fields[$field] );
|
268 |
-
}
|
269 |
-
}
|
270 |
-
|
271 |
-
return apply_filters( 'yith_woocompare_filter_table_fields', $fields, $products );
|
272 |
-
}
|
273 |
-
|
274 |
-
/**
|
275 |
-
* Render the maintenance page
|
276 |
-
*
|
277 |
-
*/
|
278 |
-
public function compare_table_html() {
|
279 |
-
|
280 |
-
if ( ( ! defined('DOING_AJAX') || ! DOING_AJAX ) && ( ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_view ) ) return;
|
281 |
-
|
282 |
-
// check if is add to cart
|
283 |
-
if( isset( $_REQUEST['add-to-cart'] ) ) {
|
284 |
-
$product_id = intval( $_REQUEST['add-to-cart'] );
|
285 |
-
|
286 |
-
wp_redirect( get_permalink( $product_id ) );
|
287 |
-
exit;
|
288 |
-
}
|
289 |
-
|
290 |
-
global $woocommerce, $sitepress;
|
291 |
-
|
292 |
-
/**
|
293 |
-
* WPML Suppot: Localize Ajax Call
|
294 |
-
*/
|
295 |
-
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
296 |
-
|
297 |
-
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
298 |
-
$sitepress->switch_lang( $lang, true );
|
299 |
-
}
|
300 |
-
|
301 |
-
$args = $this->_vars();
|
302 |
-
$args['fixed'] = false;
|
303 |
-
$args['iframe'] = 'yes';
|
304 |
-
|
305 |
-
//extract args
|
306 |
-
extract( $args );
|
307 |
-
|
308 |
-
// remove all styles from compare template
|
309 |
-
add_action('wp_print_styles', array( $this, 'remove_all_styles' ), 100);
|
310 |
-
|
311 |
-
// remove admin bar
|
312 |
-
remove_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
|
313 |
-
remove_action( 'wp_head', '_admin_bar_bump_cb' );
|
314 |
-
|
315 |
-
// remove filters before render compare popup
|
316 |
-
add_action( 'wp_enqueue_scripts', array( $this, 'actions_before_load_popup' ), 99 );
|
317 |
-
|
318 |
-
$plugin_path = YITH_WOOCOMPARE_TEMPLATE_PATH . '/' . $this->template_file;
|
319 |
-
|
320 |
-
if ( defined('WC_TEMPLATE_PATH') ) {
|
321 |
-
|
322 |
-
$template_path = get_template_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
|
323 |
-
$child_path = get_stylesheet_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
|
324 |
-
}
|
325 |
-
else {
|
326 |
-
$template_path = get_template_directory() . '/' . $woocommerce->template_url . $this->template_file;
|
327 |
-
$child_path = get_stylesheet_directory() . '/' . $woocommerce->template_url . $this->template_file;
|
328 |
-
}
|
329 |
-
|
330 |
-
foreach ( array( 'child_path', 'template_path', 'plugin_path' ) as $var ) {
|
331 |
-
if ( file_exists( ${$var} ) ) {
|
332 |
-
include ${$var};
|
333 |
-
exit();
|
334 |
-
}
|
335 |
-
}
|
336 |
-
}
|
337 |
-
|
338 |
-
/**
|
339 |
-
* Return the array with all products and all attributes values
|
340 |
-
*
|
341 |
-
* @param mixed $products
|
342 |
-
* @return array The complete list of products with all attributes value
|
343 |
-
*/
|
344 |
-
public function get_products_list( $products = array() ) {
|
345 |
-
$list = array();
|
346 |
-
|
347 |
-
empty( $products ) && $products = $this->products_list;
|
348 |
-
$products = apply_filters( 'yith_woocompare_exclude_products_from_list', $products );
|
349 |
-
|
350 |
-
$fields = $this->fields( $products );
|
351 |
-
|
352 |
-
foreach ( $products as $product_id ) {
|
353 |
-
|
354 |
-
/**
|
355 |
-
* @type object $product /WC_Product
|
356 |
-
*/
|
357 |
-
$product = $this->wc_get_product( $product_id );
|
358 |
-
|
359 |
-
if ( ! $product )
|
360 |
-
continue;
|
361 |
-
|
362 |
-
$product->fields = array();
|
363 |
-
|
364 |
-
// custom attributes
|
365 |
-
foreach ( $fields as $field => $name ) {
|
366 |
-
|
367 |
-
switch( $field ) {
|
368 |
-
case 'title':
|
369 |
-
$product->fields[$field] = $product->get_title();
|
370 |
-
break;
|
371 |
-
case 'price':
|
372 |
-
$product->fields[$field] = $product->get_price_html();
|
373 |
-
break;
|
374 |
-
case 'image':
|
375 |
-
$product->fields[$field] = intval( get_post_thumbnail_id( $product_id ) );
|
376 |
-
break;
|
377 |
-
case 'description':
|
378 |
-
$description = apply_filters( 'woocommerce_short_description', yit_get_prop( $product, 'post_excerpt' ) );
|
379 |
-
$product->fields[$field] = apply_filters( 'yith_woocompare_products_description', $description );
|
380 |
-
break;
|
381 |
-
case 'stock':
|
382 |
-
$availability = $product->get_availability();
|
383 |
-
if ( empty( $availability['availability'] ) ) {
|
384 |
-
$availability['availability'] = __( 'In stock', 'yith-woocommerce-compare' );
|
385 |
-
}
|
386 |
-
$product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $availability['availability'] ) );
|
387 |
-
break;
|
388 |
-
case 'sku':
|
389 |
-
$sku = $product->get_sku();
|
390 |
-
! $sku && $sku = '-';
|
391 |
-
$product->fields[$field] = $sku;
|
392 |
-
break;
|
393 |
-
case 'weight':
|
394 |
-
if( $weight = $product->get_weight() ){
|
395 |
-
$weight = wc_format_localized_decimal( $weight ) . ' ' . esc_attr( get_option( 'woocommerce_weight_unit' ) );
|
396 |
-
}
|
397 |
-
else {
|
398 |
-
$weight = '-';
|
399 |
-
}
|
400 |
-
$product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $weight ) );
|
401 |
-
break;
|
402 |
-
case 'dimensions':
|
403 |
-
$dimensions = function_exists( 'wc_format_dimensions' ) ? wc_format_dimensions( $product->get_dimensions(false) ) : $product->get_dimensions();
|
404 |
-
! $dimensions && $dimensions = '-';
|
405 |
-
|
406 |
-
$product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $dimensions ) );
|
407 |
-
break;
|
408 |
-
default:
|
409 |
-
if ( taxonomy_exists( $field ) ) {
|
410 |
-
$product->fields[$field] = array();
|
411 |
-
$terms = get_the_terms( $product_id, $field );
|
412 |
-
if ( ! empty( $terms ) ) {
|
413 |
-
foreach ( $terms as $term ) {
|
414 |
-
$term = sanitize_term( $term, $field );
|
415 |
-
$product->fields[$field][] = $term->name;
|
416 |
-
}
|
417 |
-
}
|
418 |
-
$product->fields[$field] = implode( ', ', $product->fields[$field] );
|
419 |
-
}
|
420 |
-
else {
|
421 |
-
do_action_ref_array( 'yith_woocompare_field_' . $field, array( $product, &$product->fields ) );
|
422 |
-
}
|
423 |
-
break;
|
424 |
-
}
|
425 |
-
}
|
426 |
-
|
427 |
-
$list[ $product_id ] = $product;
|
428 |
-
}
|
429 |
-
|
430 |
-
return $list;
|
431 |
-
}
|
432 |
-
|
433 |
-
/**
|
434 |
-
* The URL of product comparison table
|
435 |
-
*
|
436 |
-
* @param bool | int $product_id
|
437 |
-
* @return string The url to add the product in the comparison table
|
438 |
-
*/
|
439 |
-
public function view_table_url( $product_id = false ) {
|
440 |
-
$url_args = array(
|
441 |
-
'action' => $this->action_view,
|
442 |
-
'iframe' => 'yes'
|
443 |
-
);
|
444 |
-
|
445 |
-
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : false;
|
446 |
-
if( $lang ) {
|
447 |
-
$url_args['lang'] = $lang;
|
448 |
-
}
|
449 |
-
// fix by WPML
|
450 |
-
return apply_filters( 'yith_woocompare_view_table_url', esc_url_raw( add_query_arg( $url_args, remove_query_arg( 'wc-ajax' ) ) ), $product_id );
|
451 |
-
}
|
452 |
-
|
453 |
-
/**
|
454 |
-
* The URL to add the product into the comparison table
|
455 |
-
*
|
456 |
-
* @param int $product_id ID of the product to add
|
457 |
-
* @return string The url to add the product in the comparison table
|
458 |
-
*/
|
459 |
-
public function add_product_url( $product_id ) {
|
460 |
-
$url_args = array(
|
461 |
-
'action' => $this->action_add,
|
462 |
-
'id' => $product_id
|
463 |
-
);
|
464 |
-
|
465 |
-
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : false;
|
466 |
-
if( $lang ) {
|
467 |
-
$url_args['lang'] = $lang;
|
468 |
-
}
|
469 |
-
|
470 |
-
return apply_filters( 'yith_woocompare_add_product_url', esc_url_raw( add_query_arg( $url_args, site_url() ) ), $this->action_add );
|
471 |
-
}
|
472 |
-
|
473 |
-
/**
|
474 |
-
* The URL to remove the product into the comparison table
|
475 |
-
*
|
476 |
-
* @param string $product_id The ID of the product to remove
|
477 |
-
* @return string The url to remove the product in the comparison table
|
478 |
-
*/
|
479 |
-
public function remove_product_url( $product_id ) {
|
480 |
-
$url_args = array(
|
481 |
-
'action' => $this->action_remove,
|
482 |
-
'id' => $product_id
|
483 |
-
);
|
484 |
-
return apply_filters( 'yith_woocompare_remove_product_url', esc_url_raw( add_query_arg( $url_args, site_url() ) ), $this->action_remove );
|
485 |
-
}
|
486 |
-
|
487 |
-
/**
|
488 |
-
* Add the link to compare
|
489 |
-
*/
|
490 |
-
public function add_compare_link( $product_id = false, $args = array() ) {
|
491 |
-
extract( $args );
|
492 |
-
|
493 |
-
if ( ! $product_id ) {
|
494 |
-
global $product;
|
495 |
-
$product_id = ! is_null( $product ) ? yit_get_prop( $product, 'id', true ) : 0;
|
496 |
-
}
|
497 |
-
|
498 |
-
// return if product doesn't exist
|
499 |
-
if ( empty( $product_id ) || apply_filters( 'yith_woocompare_remove_compare_link_by_cat', false, $product_id ) )
|
500 |
-
return;
|
501 |
-
|
502 |
-
$is_button = ! isset( $button_or_link ) || ! $button_or_link ? get_option( 'yith_woocompare_is_button' ) : $button_or_link;
|
503 |
-
|
504 |
-
if ( ! isset( $button_text ) || $button_text == 'default' ) {
|
505 |
-
$button_text = get_option( 'yith_woocompare_button_text', __( 'Compare', 'yith-woocommerce-compare' ) );
|
506 |
-
do_action ( 'wpml_register_single_string', 'Plugins', 'plugin_yit_compare_button_text', $button_text );
|
507 |
-
$button_text = apply_filters( 'wpml_translate_single_string', $button_text, 'Plugins', 'plugin_yit_compare_button_text' );
|
508 |
-
}
|
509 |
-
|
510 |
-
printf( '<a href="%s" class="%s" data-product_id="%d" rel="nofollow">%s</a>', $this->add_product_url( $product_id ), 'compare' . ( $is_button == 'button' ? ' button' : '' ), $product_id, $button_text );
|
511 |
-
}
|
512 |
-
|
513 |
-
/**
|
514 |
-
* Return the url of stylesheet position
|
515 |
-
*/
|
516 |
-
public function stylesheet_url() {
|
517 |
-
global $woocommerce;
|
518 |
-
|
519 |
-
$filename = $this->stylesheet_file;
|
520 |
-
|
521 |
-
$plugin_path = array( 'path' => YITH_WOOCOMPARE_DIR . '/assets/css/style.css', 'url' => YITH_WOOCOMPARE_ASSETS_URL . '/css/style.css' );
|
522 |
-
|
523 |
-
if ( defined('WC_TEMPLATE_PATH') ) {
|
524 |
-
$template_path = array( 'path' => get_template_directory() . '/' . WC_TEMPLATE_PATH . $filename, 'url' => get_template_directory_uri() . '/' . WC_TEMPLATE_PATH . $filename );
|
525 |
-
$child_path = array( 'path' => get_stylesheet_directory() . '/' . WC_TEMPLATE_PATH . $filename, 'url' => get_stylesheet_directory_uri() . '/' . WC_TEMPLATE_PATH . $filename );
|
526 |
-
}
|
527 |
-
else {
|
528 |
-
$template_path = array( 'path' => get_template_directory() . '/' . $woocommerce->template_url . $filename, 'url' => get_template_directory_uri() . '/' . $woocommerce->template_url . $filename );
|
529 |
-
$child_path = array( 'path' => get_stylesheet_directory() . '/' . $woocommerce->template_url . $filename, 'url' => get_stylesheet_directory_uri() . '/' . $woocommerce->template_url . $filename );
|
530 |
-
}
|
531 |
-
|
532 |
-
foreach ( array( 'child_path', 'template_path', 'plugin_path' ) as $var ) {
|
533 |
-
if ( file_exists( ${$var}['path'] ) ) {
|
534 |
-
return ${$var}['url'];
|
535 |
-
}
|
536 |
-
}
|
537 |
-
}
|
538 |
-
|
539 |
-
|
540 |
-
/**
|
541 |
-
* Generate template vars
|
542 |
-
*
|
543 |
-
* @return array
|
544 |
-
* @since 1.0.0
|
545 |
-
* @access protected
|
546 |
-
*/
|
547 |
-
protected function _vars() {
|
548 |
-
$vars = array(
|
549 |
-
'products' => $this->get_products_list(),
|
550 |
-
'fields' => $this->fields(),
|
551 |
-
'repeat_price' => get_option( 'yith_woocompare_price_end' ),
|
552 |
-
'repeat_add_to_cart' => get_option( 'yith_woocompare_add_to_cart_end' ),
|
553 |
-
);
|
554 |
-
|
555 |
-
return $vars;
|
556 |
-
}
|
557 |
-
|
558 |
-
/**
|
559 |
-
* The action called by the query string
|
560 |
-
*/
|
561 |
-
public function add_product_to_compare_action() {
|
562 |
-
if ( defined( 'DOING_AJAX' ) && DOING_AJAX || ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_add ) {
|
563 |
-
return;
|
564 |
-
}
|
565 |
-
|
566 |
-
$product_id = intval( $_REQUEST['id'] );
|
567 |
-
$product = $this->wc_get_product( $product_id );
|
568 |
-
|
569 |
-
// don't add the product if doesn't exist
|
570 |
-
if ( isset( $product->id ) && ! in_array( $product_id, $this->products_list ) ) {
|
571 |
-
$this->add_product_to_compare( $product_id );
|
572 |
-
}
|
573 |
-
|
574 |
-
wp_redirect( esc_url( remove_query_arg( array( 'id', 'action' ) ) ) );
|
575 |
-
exit();
|
576 |
-
}
|
577 |
-
|
578 |
-
/**
|
579 |
-
* The action called by AJAX
|
580 |
-
*/
|
581 |
-
public function add_product_to_compare_ajax() {
|
582 |
-
|
583 |
-
if( ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_add ){
|
584 |
-
die();
|
585 |
-
}
|
586 |
-
|
587 |
-
$product_id = intval( $_REQUEST['id'] );
|
588 |
-
$product = $this->wc_get_product( $product_id );
|
589 |
-
|
590 |
-
// don't add the product if doesn't exist
|
591 |
-
if ( isset( $product->id ) && ! in_array( $product_id, $this->products_list ) ) {
|
592 |
-
$this->add_product_to_compare( $product_id );
|
593 |
-
}
|
594 |
-
|
595 |
-
do_action( 'yith_woocompare_add_product_action_ajax' );
|
596 |
-
|
597 |
-
$json = apply_filters( 'yith_woocompare_add_product_action_json', array(
|
598 |
-
'table_url' => $this->view_table_url( $product_id ),
|
599 |
-
'widget_table' => $this->list_products_html(),
|
600 |
-
) );
|
601 |
-
|
602 |
-
echo json_encode( $json );
|
603 |
-
die();
|
604 |
-
}
|
605 |
-
|
606 |
-
/**
|
607 |
-
* Add a product in the products comparison table
|
608 |
-
*
|
609 |
-
* @param int $product_id product ID to add in the comparison table
|
610 |
-
*/
|
611 |
-
public function add_product_to_compare( $product_id ) {
|
612 |
-
|
613 |
-
$this->products_list[] = $product_id;
|
614 |
-
setcookie( $this->cookie_name, json_encode( $this->products_list ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false );
|
615 |
-
|
616 |
-
do_action( 'yith_woocompare_after_add_product', $product_id );
|
617 |
-
}
|
618 |
-
|
619 |
-
/**
|
620 |
-
* The action called by the query string
|
621 |
-
*/
|
622 |
-
public function remove_product_from_compare_action() {
|
623 |
-
if ( defined( 'DOING_AJAX' ) && DOING_AJAX || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_remove ) {
|
624 |
-
return;
|
625 |
-
}
|
626 |
-
|
627 |
-
$this->remove_product_from_compare( $_REQUEST['id'] );
|
628 |
-
|
629 |
-
// redirect
|
630 |
-
$redirect = esc_url( remove_query_arg( array( 'id', 'action' ) ) );
|
631 |
-
|
632 |
-
if ( isset( $_REQUEST['redirect'] ) && $_REQUEST['redirect'] == 'view' )
|
633 |
-
$redirect = esc_url( remove_query_arg( 'redirect', add_query_arg( 'action', $this->action_view, $redirect ) ) );
|
634 |
-
|
635 |
-
wp_redirect( $redirect );
|
636 |
-
exit();
|
637 |
-
}
|
638 |
-
|
639 |
-
/**
|
640 |
-
* The action called by AJAX
|
641 |
-
*/
|
642 |
-
public function remove_product_from_compare_ajax() {
|
643 |
-
|
644 |
-
if ( ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_remove ){
|
645 |
-
die();
|
646 |
-
}
|
647 |
-
|
648 |
-
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
649 |
-
|
650 |
-
$this->remove_product_from_compare( $_REQUEST['id'] );
|
651 |
-
|
652 |
-
do_action( 'yith_woocompare_remove_product_action_ajax' );
|
653 |
-
|
654 |
-
header('Content-Type: text/html; charset=utf-8');
|
655 |
-
|
656 |
-
if ( isset( $_REQUEST['responseType'] ) && $_REQUEST['responseType'] == 'product_list' ) {
|
657 |
-
echo $this->list_products_html( $lang );
|
658 |
-
} else {
|
659 |
-
$this->compare_table_html();
|
660 |
-
}
|
661 |
-
|
662 |
-
die();
|
663 |
-
}
|
664 |
-
|
665 |
-
/**
|
666 |
-
* Return the list of widget table, used in AJAX
|
667 |
-
*/
|
668 |
-
public function reload_widget_list_ajax() {
|
669 |
-
|
670 |
-
if ( ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_reload ){
|
671 |
-
die();
|
672 |
-
}
|
673 |
-
|
674 |
-
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
675 |
-
|
676 |
-
echo $this->list_products_html( $lang );
|
677 |
-
die();
|
678 |
-
}
|
679 |
-
|
680 |
-
/**
|
681 |
-
* The list of products as HTML list
|
682 |
-
*/
|
683 |
-
public function list_products_html( $lang = false ) {
|
684 |
-
ob_start();
|
685 |
-
|
686 |
-
/**
|
687 |
-
* WPML Suppot: Localize Ajax Call
|
688 |
-
*/
|
689 |
-
global $sitepress;
|
690 |
-
|
691 |
-
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress )) {
|
692 |
-
$sitepress->switch_lang( $lang, true );
|
693 |
-
}
|
694 |
-
|
695 |
-
if ( empty( $this->products_list ) ) {
|
696 |
-
echo '<li class="list_empty">' . __( 'No products to compare', 'yith-woocommerce-compare' ) . '</li>';
|
697 |
-
return ob_get_clean();
|
698 |
-
}
|
699 |
-
|
700 |
-
foreach ( $this->products_list as $product_id ) {
|
701 |
-
/**
|
702 |
-
* @type object $product /WC_Product
|
703 |
-
*/
|
704 |
-
$product = $this->wc_get_product( $product_id );
|
705 |
-
if ( ! $product )
|
706 |
-
continue;
|
707 |
-
?>
|
708 |
-
<li>
|
709 |
-
<a href="<?php echo $this->remove_product_url( $product_id ) ?>" data-product_id="<?php echo $product_id; ?>" class="remove" title="<?php _e( 'Remove', 'yith-woocommerce-compare' ) ?>">x</a>
|
710 |
-
<a class="title" href="<?php echo get_permalink( $product_id ) ?>"><?php echo $product->get_title() ?></a>
|
711 |
-
</li>
|
712 |
-
<?php
|
713 |
-
}
|
714 |
-
|
715 |
-
$return = ob_get_clean();
|
716 |
-
|
717 |
-
return apply_filters( 'yith_woocompare_widget_products_html', $return, $this->products_list, $this );
|
718 |
-
}
|
719 |
-
|
720 |
-
/**
|
721 |
-
* Remove a product from the comparison table
|
722 |
-
*
|
723 |
-
* @param $product_id The product ID to remove from the comparison table
|
724 |
-
*/
|
725 |
-
public function remove_product_from_compare( $product_id ) {
|
726 |
-
|
727 |
-
if( $product_id == 'all' ) {
|
728 |
-
$this->products_list = array();
|
729 |
-
}
|
730 |
-
else {
|
731 |
-
foreach ( $this->products_list as $k => $id ) {
|
732 |
-
if ( intval( $product_id ) == $id ) {
|
733 |
-
unset( $this->products_list[ $k ] );
|
734 |
-
}
|
735 |
-
}
|
736 |
-
}
|
737 |
-
|
738 |
-
setcookie( $this->cookie_name, json_encode( array_values( $this->products_list ) ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false );
|
739 |
-
|
740 |
-
do_action( 'yith_woocompare_after_remove_product', $product_id );
|
741 |
-
}
|
742 |
-
|
743 |
-
/**
|
744 |
-
* Remove all styles from the compare template
|
745 |
-
*/
|
746 |
-
public function remove_all_styles() {
|
747 |
-
global $wp_styles;
|
748 |
-
$wp_styles->queue = array();
|
749 |
-
}
|
750 |
-
|
751 |
-
/**
|
752 |
-
* Show the html for the shortcode
|
753 |
-
*/
|
754 |
-
public function compare_button_sc( $atts, $content = null ) {
|
755 |
-
$atts = shortcode_atts(array(
|
756 |
-
'product' => false,
|
757 |
-
'type' => 'default',
|
758 |
-
'container' => 'yes'
|
759 |
-
), $atts);
|
760 |
-
|
761 |
-
$product_id = 0;
|
762 |
-
|
763 |
-
/**
|
764 |
-
* Retrieve the product ID in these steps:
|
765 |
-
* - If "product" attribute is not set, get the product ID of current product loop
|
766 |
-
* - If "product" contains ID, post slug or post title
|
767 |
-
*/
|
768 |
-
if ( ! $atts['product'] ) {
|
769 |
-
global $product;
|
770 |
-
$product_id = ! is_null( $product ) ? yit_get_prop( $product, 'id', true ) : 0;
|
771 |
-
} else {
|
772 |
-
global $wpdb;
|
773 |
-
$product = $wpdb->get_row( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE ID = %d OR post_name = %s OR post_title = %s LIMIT 1", $atts['product'], $atts['product'], $atts['product'] ) );
|
774 |
-
if ( ! empty( $product ) ) {
|
775 |
-
$product_id = $product->ID;
|
776 |
-
}
|
777 |
-
}
|
778 |
-
|
779 |
-
// make sure to get always the product id of current language
|
780 |
-
if( function_exists( 'wpml_object_id_filter' ) ) {
|
781 |
-
$product_id = wpml_object_id_filter( $product_id, 'product', false );
|
782 |
-
}
|
783 |
-
|
784 |
-
// if product ID is 0, maybe the product doesn't exists or is wrong.. in this case, doesn't show the button
|
785 |
-
if ( empty( $product_id ) )
|
786 |
-
return '';
|
787 |
-
|
788 |
-
ob_start();
|
789 |
-
if ( $atts['container'] == 'yes' ) echo '<div class="woocommerce product compare-button">';
|
790 |
-
$this->add_compare_link( $product_id, array(
|
791 |
-
'button_or_link' => ( $atts['type'] == 'default' ? false : $atts['type'] ),
|
792 |
-
'button_text' => empty( $content ) ? 'default' : $content
|
793 |
-
) );
|
794 |
-
if ( $atts['container'] == 'yes' ) echo '</div>';
|
795 |
-
return ob_get_clean();
|
796 |
-
}
|
797 |
-
|
798 |
-
public function wc_get_product( $product_id ){
|
799 |
-
$wc_get_product = function_exists( 'wc_get_product' ) ? 'wc_get_product' : 'get_product';
|
800 |
-
return $wc_get_product( $product_id );
|
801 |
-
}
|
802 |
-
|
803 |
-
|
804 |
-
/**
|
805 |
-
* Do action before loads compare popup
|
806 |
-
*
|
807 |
-
* @since 2.1.1
|
808 |
-
* @author Francesco Licandro
|
809 |
-
*/
|
810 |
-
public function actions_before_load_popup(){
|
811 |
-
// removes WooCommerce Product Filter scripts
|
812 |
-
wp_dequeue_script( 'prdctfltr-main-js' );
|
813 |
-
wp_dequeue_script( 'prdctfltr-history' );
|
814 |
-
wp_dequeue_script( 'prdctfltr-ionrange-js' );
|
815 |
-
wp_dequeue_script( 'prdctfltr-isotope-js' );
|
816 |
-
wp_dequeue_script( 'prdctfltr-scrollbar-js' );
|
817 |
-
}
|
818 |
-
}
|
819 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH Woocommerce Compare
|
7 |
+
* @version 1.1.4
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
+
|
12 |
+
if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
13 |
+
/**
|
14 |
+
* YITH Custom Login Frontend
|
15 |
+
*
|
16 |
+
* @since 1.0.0
|
17 |
+
*/
|
18 |
+
class YITH_Woocompare_Frontend {
|
19 |
+
/**
|
20 |
+
* Plugin version
|
21 |
+
*
|
22 |
+
* @var string
|
23 |
+
* @since 1.0.0
|
24 |
+
*/
|
25 |
+
public $version = YITH_WOOCOMPARE_VERSION;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* The list of products inside the comparison table
|
29 |
+
*
|
30 |
+
* @var array
|
31 |
+
* @since 1.0.0
|
32 |
+
*/
|
33 |
+
public $products_list = array();
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Plugin version
|
37 |
+
*
|
38 |
+
* @var string
|
39 |
+
* @since 1.0.0
|
40 |
+
*/
|
41 |
+
public $template_file = 'compare.php';
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Stylesheet file
|
45 |
+
*
|
46 |
+
* @var string
|
47 |
+
* @since 2.1.0
|
48 |
+
*/
|
49 |
+
public $stylesheet_file = 'compare.css';
|
50 |
+
|
51 |
+
/**
|
52 |
+
* The name of cookie name
|
53 |
+
*
|
54 |
+
* @var string
|
55 |
+
* @since 1.0.0
|
56 |
+
*/
|
57 |
+
public $cookie_name = 'yith_woocompare_list';
|
58 |
+
|
59 |
+
/**
|
60 |
+
* The action used to view the table comparison
|
61 |
+
*
|
62 |
+
* @var string
|
63 |
+
* @since 1.0.0
|
64 |
+
*/
|
65 |
+
public $action_view = 'yith-woocompare-view-table';
|
66 |
+
|
67 |
+
/**
|
68 |
+
* The action used to add the product to compare list
|
69 |
+
*
|
70 |
+
* @var string
|
71 |
+
* @since 1.0.0
|
72 |
+
*/
|
73 |
+
public $action_add = 'yith-woocompare-add-product';
|
74 |
+
|
75 |
+
/**
|
76 |
+
* The action used to add the product to compare list
|
77 |
+
*
|
78 |
+
* @var string
|
79 |
+
* @since 1.0.0
|
80 |
+
*/
|
81 |
+
public $action_remove = 'yith-woocompare-remove-product';
|
82 |
+
|
83 |
+
/**
|
84 |
+
* The action used to reload the compare list widget
|
85 |
+
*
|
86 |
+
* @var string
|
87 |
+
* @since 1.0.0
|
88 |
+
*/
|
89 |
+
public $action_reload = 'yith-woocompare-reload-product';
|
90 |
+
|
91 |
+
/**
|
92 |
+
* The standard fields
|
93 |
+
*
|
94 |
+
* @var array
|
95 |
+
* @since 1.0.0
|
96 |
+
*/
|
97 |
+
public $default_fields = array();
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Constructor
|
101 |
+
*
|
102 |
+
* @return YITH_Woocompare_Frontend
|
103 |
+
* @since 1.0.0
|
104 |
+
*/
|
105 |
+
public function __construct() {
|
106 |
+
|
107 |
+
|
108 |
+
add_action( 'init', array( $this, 'init_variables' ), 1 );
|
109 |
+
add_action( 'init', array( $this, 'populate_products_list' ), 10 );
|
110 |
+
|
111 |
+
// Add link or button in the products list or
|
112 |
+
if ( get_option('yith_woocompare_compare_button_in_product_page') == 'yes' ) add_action( 'woocommerce_single_product_summary', array( $this, 'add_compare_link' ), 35 );
|
113 |
+
if ( get_option('yith_woocompare_compare_button_in_products_list') == 'yes' ) add_action( 'woocommerce_after_shop_loop_item', array( $this, 'add_compare_link' ), 20 );
|
114 |
+
add_action( 'init', array( $this, 'add_product_to_compare_action' ), 15 );
|
115 |
+
add_action( 'init', array( $this, 'remove_product_from_compare_action' ), 15 );
|
116 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
117 |
+
add_action( 'template_redirect', array( $this, 'compare_table_html' ) );
|
118 |
+
|
119 |
+
// add the shortcode
|
120 |
+
add_shortcode( 'yith_compare_button', array( $this, 'compare_button_sc' ) );
|
121 |
+
|
122 |
+
// AJAX
|
123 |
+
if( version_compare( WC()->version, '2.4', '>=' ) ){
|
124 |
+
add_action( 'wc_ajax_' . $this->action_add, array( $this, 'add_product_to_compare_ajax' ) );
|
125 |
+
add_action( 'wc_ajax_' . $this->action_remove, array( $this, 'remove_product_from_compare_ajax' ) );
|
126 |
+
add_action( 'wc_ajax_' . $this->action_reload, array( $this, 'reload_widget_list_ajax' ) );
|
127 |
+
}
|
128 |
+
else {
|
129 |
+
add_action( 'wp_ajax_' . $this->action_add, array( $this, 'add_product_to_compare_ajax' ) );
|
130 |
+
add_action( 'wp_ajax_' . $this->action_remove, array( $this, 'remove_product_from_compare_ajax' ) );
|
131 |
+
add_action( 'wp_ajax_' . $this->action_reload, array( $this, 'reload_widget_list_ajax' ) );
|
132 |
+
}
|
133 |
+
// no priv
|
134 |
+
add_action( 'wp_ajax_nopriv_' . $this->action_add, array( $this, 'add_product_to_compare_ajax' ) );
|
135 |
+
add_action( 'wp_ajax_nopriv_' . $this->action_remove, array( $this, 'remove_product_from_compare_ajax' ) );
|
136 |
+
add_action( 'wp_ajax_nopriv_' . $this->action_reload, array( $this, 'reload_widget_list_ajax' ) );
|
137 |
+
|
138 |
+
return $this;
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Init class variables
|
143 |
+
*
|
144 |
+
* @since 2.3.4
|
145 |
+
* @author Francesco Licandro
|
146 |
+
*/
|
147 |
+
public function init_variables(){
|
148 |
+
global $sitepress;
|
149 |
+
|
150 |
+
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
151 |
+
|
152 |
+
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
153 |
+
$sitepress->switch_lang( $lang, true );
|
154 |
+
}
|
155 |
+
|
156 |
+
// set coookiename
|
157 |
+
if ( is_multisite() ) $this->cookie_name .= '_' . get_current_blog_id();
|
158 |
+
|
159 |
+
// populate default fields for the comparison table
|
160 |
+
$this->default_fields = YITH_Woocompare_Helper::standard_fields();
|
161 |
+
}
|
162 |
+
|
163 |
+
/**
|
164 |
+
* Populate the compare product list
|
165 |
+
*/
|
166 |
+
public function populate_products_list(){
|
167 |
+
|
168 |
+
global $sitepress;
|
169 |
+
|
170 |
+
/**
|
171 |
+
* WPML Support
|
172 |
+
*/
|
173 |
+
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
174 |
+
|
175 |
+
// get cookie val
|
176 |
+
$the_list = isset( $_COOKIE[ $this->cookie_name ] ) ? json_decode( $_COOKIE[ $this->cookie_name ] ) : array();
|
177 |
+
|
178 |
+
// switch lang for WPML
|
179 |
+
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
180 |
+
$sitepress->switch_lang( $lang, true );
|
181 |
+
}
|
182 |
+
|
183 |
+
foreach( $the_list as $product_id ) {
|
184 |
+
if( function_exists( 'wpml_object_id_filter' ) ) {
|
185 |
+
$product_id_translated = wpml_object_id_filter( $product_id, 'product', false );
|
186 |
+
// get all product of current lang
|
187 |
+
if ( $product_id_translated !== $product_id ) {
|
188 |
+
continue;
|
189 |
+
}
|
190 |
+
}
|
191 |
+
|
192 |
+
// check for deleted|private products
|
193 |
+
$product = wc_get_product( $product_id );
|
194 |
+
if( ! $product || yit_get_prop( $product, 'post_status' ) !== 'publish' ) {
|
195 |
+
continue;
|
196 |
+
}
|
197 |
+
|
198 |
+
$this->products_list[] = $product_id;
|
199 |
+
}
|
200 |
+
|
201 |
+
do_action( 'yith_woocompare_after_populate_product_list', $this->products_list );
|
202 |
+
}
|
203 |
+
|
204 |
+
/**
|
205 |
+
* Enqueue the scripts and styles in the page
|
206 |
+
*/
|
207 |
+
public function enqueue_scripts() {
|
208 |
+
|
209 |
+
// scripts
|
210 |
+
$min = ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '';
|
211 |
+
wp_register_script( 'yith-woocompare-main', YITH_WOOCOMPARE_ASSETS_URL . '/js/woocompare' . $min .'.js', array('jquery'), $this->version, true );
|
212 |
+
|
213 |
+
// enqueue and add localize
|
214 |
+
wp_enqueue_script( 'yith-woocompare-main' );
|
215 |
+
|
216 |
+
// localize script args
|
217 |
+
$args = apply_filters( 'yith_woocompare_main_script_localize_array', array(
|
218 |
+
'ajaxurl' => version_compare( WC()->version, '2.4', '>=' ) ? WC_AJAX::get_endpoint( "%%endpoint%%" ) : admin_url( 'admin-ajax.php', 'relative' ),
|
219 |
+
'actionadd' => $this->action_add,
|
220 |
+
'actionremove' => $this->action_remove,
|
221 |
+
'actionview' => $this->action_view,
|
222 |
+
'actionreload' => $this->action_reload,
|
223 |
+
'added_label' => apply_filters( 'yith_woocompare_compare_added_label', __( 'Added', 'yith-woocommerce-compare' ) ),
|
224 |
+
'table_title' => apply_filters( 'yith_woocompare_compare_table_title',__( 'Product Comparison', 'yith-woocommerce-compare' ) ),
|
225 |
+
'auto_open' => get_option( 'yith_woocompare_auto_open', 'yes' ),
|
226 |
+
'loader' => YITH_WOOCOMPARE_ASSETS_URL . '/images/loader.gif',
|
227 |
+
'button_text' => get_option('yith_woocompare_button_text'),
|
228 |
+
'cookie_name' => $this->cookie_name,
|
229 |
+
'close_label' => _x( 'Close', 'Label for popup close icon', 'yith-woocommerce-compare' )
|
230 |
+
));
|
231 |
+
|
232 |
+
wp_localize_script( 'yith-woocompare-main', 'yith_woocompare', $args );
|
233 |
+
|
234 |
+
// colorbox
|
235 |
+
wp_enqueue_style( 'jquery-colorbox', YITH_WOOCOMPARE_ASSETS_URL . '/css/colorbox.css' );
|
236 |
+
wp_enqueue_script( 'jquery-colorbox', YITH_WOOCOMPARE_ASSETS_URL . '/js/jquery.colorbox-min.js', array('jquery'), '1.4.21', true );
|
237 |
+
|
238 |
+
// widget
|
239 |
+
if ( is_active_widget( false, false, 'yith-woocompare-widget', true ) && ! is_admin() ) {
|
240 |
+
wp_enqueue_style( 'yith-woocompare-widget', YITH_WOOCOMPARE_ASSETS_URL . '/css/widget.css' );
|
241 |
+
}
|
242 |
+
}
|
243 |
+
|
244 |
+
/**
|
245 |
+
* The fields to show in the table
|
246 |
+
*
|
247 |
+
* @param array $products
|
248 |
+
* @return mixed|void
|
249 |
+
* @since 1.0.0
|
250 |
+
*/
|
251 |
+
public function fields( $products = array() ) {
|
252 |
+
|
253 |
+
$fields = get_option( 'yith_woocompare_fields', array() );
|
254 |
+
|
255 |
+
foreach ( $fields as $field => $show ) {
|
256 |
+
if ( $show ) {
|
257 |
+
if ( isset( $this->default_fields[$field] ) ) {
|
258 |
+
$fields[$field] = $this->default_fields[$field];
|
259 |
+
}
|
260 |
+
else {
|
261 |
+
if ( taxonomy_exists( $field ) ) {
|
262 |
+
$fields[$field] = wc_attribute_label( $field );
|
263 |
+
}
|
264 |
+
}
|
265 |
+
}
|
266 |
+
else {
|
267 |
+
unset( $fields[$field] );
|
268 |
+
}
|
269 |
+
}
|
270 |
+
|
271 |
+
return apply_filters( 'yith_woocompare_filter_table_fields', $fields, $products );
|
272 |
+
}
|
273 |
+
|
274 |
+
/**
|
275 |
+
* Render the maintenance page
|
276 |
+
*
|
277 |
+
*/
|
278 |
+
public function compare_table_html() {
|
279 |
+
|
280 |
+
if ( ( ! defined('DOING_AJAX') || ! DOING_AJAX ) && ( ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_view ) ) return;
|
281 |
+
|
282 |
+
// check if is add to cart
|
283 |
+
if( isset( $_REQUEST['add-to-cart'] ) ) {
|
284 |
+
$product_id = intval( $_REQUEST['add-to-cart'] );
|
285 |
+
|
286 |
+
wp_redirect( get_permalink( $product_id ) );
|
287 |
+
exit;
|
288 |
+
}
|
289 |
+
|
290 |
+
global $woocommerce, $sitepress;
|
291 |
+
|
292 |
+
/**
|
293 |
+
* WPML Suppot: Localize Ajax Call
|
294 |
+
*/
|
295 |
+
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
296 |
+
|
297 |
+
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
298 |
+
$sitepress->switch_lang( $lang, true );
|
299 |
+
}
|
300 |
+
|
301 |
+
$args = $this->_vars();
|
302 |
+
$args['fixed'] = false;
|
303 |
+
$args['iframe'] = 'yes';
|
304 |
+
|
305 |
+
//extract args
|
306 |
+
extract( $args );
|
307 |
+
|
308 |
+
// remove all styles from compare template
|
309 |
+
add_action('wp_print_styles', array( $this, 'remove_all_styles' ), 100);
|
310 |
+
|
311 |
+
// remove admin bar
|
312 |
+
remove_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
|
313 |
+
remove_action( 'wp_head', '_admin_bar_bump_cb' );
|
314 |
+
|
315 |
+
// remove filters before render compare popup
|
316 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'actions_before_load_popup' ), 99 );
|
317 |
+
|
318 |
+
$plugin_path = YITH_WOOCOMPARE_TEMPLATE_PATH . '/' . $this->template_file;
|
319 |
+
|
320 |
+
if ( defined('WC_TEMPLATE_PATH') ) {
|
321 |
+
|
322 |
+
$template_path = get_template_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
|
323 |
+
$child_path = get_stylesheet_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
|
324 |
+
}
|
325 |
+
else {
|
326 |
+
$template_path = get_template_directory() . '/' . $woocommerce->template_url . $this->template_file;
|
327 |
+
$child_path = get_stylesheet_directory() . '/' . $woocommerce->template_url . $this->template_file;
|
328 |
+
}
|
329 |
+
|
330 |
+
foreach ( array( 'child_path', 'template_path', 'plugin_path' ) as $var ) {
|
331 |
+
if ( file_exists( ${$var} ) ) {
|
332 |
+
include ${$var};
|
333 |
+
exit();
|
334 |
+
}
|
335 |
+
}
|
336 |
+
}
|
337 |
+
|
338 |
+
/**
|
339 |
+
* Return the array with all products and all attributes values
|
340 |
+
*
|
341 |
+
* @param mixed $products
|
342 |
+
* @return array The complete list of products with all attributes value
|
343 |
+
*/
|
344 |
+
public function get_products_list( $products = array() ) {
|
345 |
+
$list = array();
|
346 |
+
|
347 |
+
empty( $products ) && $products = $this->products_list;
|
348 |
+
$products = apply_filters( 'yith_woocompare_exclude_products_from_list', $products );
|
349 |
+
|
350 |
+
$fields = $this->fields( $products );
|
351 |
+
|
352 |
+
foreach ( $products as $product_id ) {
|
353 |
+
|
354 |
+
/**
|
355 |
+
* @type object $product /WC_Product
|
356 |
+
*/
|
357 |
+
$product = $this->wc_get_product( $product_id );
|
358 |
+
|
359 |
+
if ( ! $product )
|
360 |
+
continue;
|
361 |
+
|
362 |
+
$product->fields = array();
|
363 |
+
|
364 |
+
// custom attributes
|
365 |
+
foreach ( $fields as $field => $name ) {
|
366 |
+
|
367 |
+
switch( $field ) {
|
368 |
+
case 'title':
|
369 |
+
$product->fields[$field] = $product->get_title();
|
370 |
+
break;
|
371 |
+
case 'price':
|
372 |
+
$product->fields[$field] = $product->get_price_html();
|
373 |
+
break;
|
374 |
+
case 'image':
|
375 |
+
$product->fields[$field] = intval( get_post_thumbnail_id( $product_id ) );
|
376 |
+
break;
|
377 |
+
case 'description':
|
378 |
+
$description = apply_filters( 'woocommerce_short_description', yit_get_prop( $product, 'post_excerpt' ) );
|
379 |
+
$product->fields[$field] = apply_filters( 'yith_woocompare_products_description', $description );
|
380 |
+
break;
|
381 |
+
case 'stock':
|
382 |
+
$availability = $product->get_availability();
|
383 |
+
if ( empty( $availability['availability'] ) ) {
|
384 |
+
$availability['availability'] = __( 'In stock', 'yith-woocommerce-compare' );
|
385 |
+
}
|
386 |
+
$product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $availability['availability'] ) );
|
387 |
+
break;
|
388 |
+
case 'sku':
|
389 |
+
$sku = $product->get_sku();
|
390 |
+
! $sku && $sku = '-';
|
391 |
+
$product->fields[$field] = $sku;
|
392 |
+
break;
|
393 |
+
case 'weight':
|
394 |
+
if( $weight = $product->get_weight() ){
|
395 |
+
$weight = wc_format_localized_decimal( $weight ) . ' ' . esc_attr( get_option( 'woocommerce_weight_unit' ) );
|
396 |
+
}
|
397 |
+
else {
|
398 |
+
$weight = '-';
|
399 |
+
}
|
400 |
+
$product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $weight ) );
|
401 |
+
break;
|
402 |
+
case 'dimensions':
|
403 |
+
$dimensions = function_exists( 'wc_format_dimensions' ) ? wc_format_dimensions( $product->get_dimensions(false) ) : $product->get_dimensions();
|
404 |
+
! $dimensions && $dimensions = '-';
|
405 |
+
|
406 |
+
$product->fields[$field] = sprintf( '<span>%s</span>', esc_html( $dimensions ) );
|
407 |
+
break;
|
408 |
+
default:
|
409 |
+
if ( taxonomy_exists( $field ) ) {
|
410 |
+
$product->fields[$field] = array();
|
411 |
+
$terms = get_the_terms( $product_id, $field );
|
412 |
+
if ( ! empty( $terms ) ) {
|
413 |
+
foreach ( $terms as $term ) {
|
414 |
+
$term = sanitize_term( $term, $field );
|
415 |
+
$product->fields[$field][] = $term->name;
|
416 |
+
}
|
417 |
+
}
|
418 |
+
$product->fields[$field] = implode( ', ', $product->fields[$field] );
|
419 |
+
}
|
420 |
+
else {
|
421 |
+
do_action_ref_array( 'yith_woocompare_field_' . $field, array( $product, &$product->fields ) );
|
422 |
+
}
|
423 |
+
break;
|
424 |
+
}
|
425 |
+
}
|
426 |
+
|
427 |
+
$list[ $product_id ] = $product;
|
428 |
+
}
|
429 |
+
|
430 |
+
return $list;
|
431 |
+
}
|
432 |
+
|
433 |
+
/**
|
434 |
+
* The URL of product comparison table
|
435 |
+
*
|
436 |
+
* @param bool | int $product_id
|
437 |
+
* @return string The url to add the product in the comparison table
|
438 |
+
*/
|
439 |
+
public function view_table_url( $product_id = false ) {
|
440 |
+
$url_args = array(
|
441 |
+
'action' => $this->action_view,
|
442 |
+
'iframe' => 'yes'
|
443 |
+
);
|
444 |
+
|
445 |
+
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : false;
|
446 |
+
if( $lang ) {
|
447 |
+
$url_args['lang'] = $lang;
|
448 |
+
}
|
449 |
+
// fix by WPML
|
450 |
+
return apply_filters( 'yith_woocompare_view_table_url', esc_url_raw( add_query_arg( $url_args, remove_query_arg( 'wc-ajax' ) ) ), $product_id );
|
451 |
+
}
|
452 |
+
|
453 |
+
/**
|
454 |
+
* The URL to add the product into the comparison table
|
455 |
+
*
|
456 |
+
* @param int $product_id ID of the product to add
|
457 |
+
* @return string The url to add the product in the comparison table
|
458 |
+
*/
|
459 |
+
public function add_product_url( $product_id ) {
|
460 |
+
$url_args = array(
|
461 |
+
'action' => $this->action_add,
|
462 |
+
'id' => $product_id
|
463 |
+
);
|
464 |
+
|
465 |
+
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : false;
|
466 |
+
if( $lang ) {
|
467 |
+
$url_args['lang'] = $lang;
|
468 |
+
}
|
469 |
+
|
470 |
+
return apply_filters( 'yith_woocompare_add_product_url', esc_url_raw( add_query_arg( $url_args, site_url() ) ), $this->action_add );
|
471 |
+
}
|
472 |
+
|
473 |
+
/**
|
474 |
+
* The URL to remove the product into the comparison table
|
475 |
+
*
|
476 |
+
* @param string $product_id The ID of the product to remove
|
477 |
+
* @return string The url to remove the product in the comparison table
|
478 |
+
*/
|
479 |
+
public function remove_product_url( $product_id ) {
|
480 |
+
$url_args = array(
|
481 |
+
'action' => $this->action_remove,
|
482 |
+
'id' => $product_id
|
483 |
+
);
|
484 |
+
return apply_filters( 'yith_woocompare_remove_product_url', esc_url_raw( add_query_arg( $url_args, site_url() ) ), $this->action_remove );
|
485 |
+
}
|
486 |
+
|
487 |
+
/**
|
488 |
+
* Add the link to compare
|
489 |
+
*/
|
490 |
+
public function add_compare_link( $product_id = false, $args = array() ) {
|
491 |
+
extract( $args );
|
492 |
+
|
493 |
+
if ( ! $product_id ) {
|
494 |
+
global $product;
|
495 |
+
$product_id = ! is_null( $product ) ? yit_get_prop( $product, 'id', true ) : 0;
|
496 |
+
}
|
497 |
+
|
498 |
+
// return if product doesn't exist
|
499 |
+
if ( empty( $product_id ) || apply_filters( 'yith_woocompare_remove_compare_link_by_cat', false, $product_id ) )
|
500 |
+
return;
|
501 |
+
|
502 |
+
$is_button = ! isset( $button_or_link ) || ! $button_or_link ? get_option( 'yith_woocompare_is_button' ) : $button_or_link;
|
503 |
+
|
504 |
+
if ( ! isset( $button_text ) || $button_text == 'default' ) {
|
505 |
+
$button_text = get_option( 'yith_woocompare_button_text', __( 'Compare', 'yith-woocommerce-compare' ) );
|
506 |
+
do_action ( 'wpml_register_single_string', 'Plugins', 'plugin_yit_compare_button_text', $button_text );
|
507 |
+
$button_text = apply_filters( 'wpml_translate_single_string', $button_text, 'Plugins', 'plugin_yit_compare_button_text' );
|
508 |
+
}
|
509 |
+
|
510 |
+
printf( '<a href="%s" class="%s" data-product_id="%d" rel="nofollow">%s</a>', $this->add_product_url( $product_id ), 'compare' . ( $is_button == 'button' ? ' button' : '' ), $product_id, $button_text );
|
511 |
+
}
|
512 |
+
|
513 |
+
/**
|
514 |
+
* Return the url of stylesheet position
|
515 |
+
*/
|
516 |
+
public function stylesheet_url() {
|
517 |
+
global $woocommerce;
|
518 |
+
|
519 |
+
$filename = $this->stylesheet_file;
|
520 |
+
|
521 |
+
$plugin_path = array( 'path' => YITH_WOOCOMPARE_DIR . '/assets/css/style.css', 'url' => YITH_WOOCOMPARE_ASSETS_URL . '/css/style.css' );
|
522 |
+
|
523 |
+
if ( defined('WC_TEMPLATE_PATH') ) {
|
524 |
+
$template_path = array( 'path' => get_template_directory() . '/' . WC_TEMPLATE_PATH . $filename, 'url' => get_template_directory_uri() . '/' . WC_TEMPLATE_PATH . $filename );
|
525 |
+
$child_path = array( 'path' => get_stylesheet_directory() . '/' . WC_TEMPLATE_PATH . $filename, 'url' => get_stylesheet_directory_uri() . '/' . WC_TEMPLATE_PATH . $filename );
|
526 |
+
}
|
527 |
+
else {
|
528 |
+
$template_path = array( 'path' => get_template_directory() . '/' . $woocommerce->template_url . $filename, 'url' => get_template_directory_uri() . '/' . $woocommerce->template_url . $filename );
|
529 |
+
$child_path = array( 'path' => get_stylesheet_directory() . '/' . $woocommerce->template_url . $filename, 'url' => get_stylesheet_directory_uri() . '/' . $woocommerce->template_url . $filename );
|
530 |
+
}
|
531 |
+
|
532 |
+
foreach ( array( 'child_path', 'template_path', 'plugin_path' ) as $var ) {
|
533 |
+
if ( file_exists( ${$var}['path'] ) ) {
|
534 |
+
return ${$var}['url'];
|
535 |
+
}
|
536 |
+
}
|
537 |
+
}
|
538 |
+
|
539 |
+
|
540 |
+
/**
|
541 |
+
* Generate template vars
|
542 |
+
*
|
543 |
+
* @return array
|
544 |
+
* @since 1.0.0
|
545 |
+
* @access protected
|
546 |
+
*/
|
547 |
+
protected function _vars() {
|
548 |
+
$vars = array(
|
549 |
+
'products' => $this->get_products_list(),
|
550 |
+
'fields' => $this->fields(),
|
551 |
+
'repeat_price' => get_option( 'yith_woocompare_price_end' ),
|
552 |
+
'repeat_add_to_cart' => get_option( 'yith_woocompare_add_to_cart_end' ),
|
553 |
+
);
|
554 |
+
|
555 |
+
return $vars;
|
556 |
+
}
|
557 |
+
|
558 |
+
/**
|
559 |
+
* The action called by the query string
|
560 |
+
*/
|
561 |
+
public function add_product_to_compare_action() {
|
562 |
+
if ( defined( 'DOING_AJAX' ) && DOING_AJAX || ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_add ) {
|
563 |
+
return;
|
564 |
+
}
|
565 |
+
|
566 |
+
$product_id = intval( $_REQUEST['id'] );
|
567 |
+
$product = $this->wc_get_product( $product_id );
|
568 |
+
|
569 |
+
// don't add the product if doesn't exist
|
570 |
+
if ( isset( $product->id ) && ! in_array( $product_id, $this->products_list ) ) {
|
571 |
+
$this->add_product_to_compare( $product_id );
|
572 |
+
}
|
573 |
+
|
574 |
+
wp_redirect( esc_url( remove_query_arg( array( 'id', 'action' ) ) ) );
|
575 |
+
exit();
|
576 |
+
}
|
577 |
+
|
578 |
+
/**
|
579 |
+
* The action called by AJAX
|
580 |
+
*/
|
581 |
+
public function add_product_to_compare_ajax() {
|
582 |
+
|
583 |
+
if( ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_add ){
|
584 |
+
die();
|
585 |
+
}
|
586 |
+
|
587 |
+
$product_id = intval( $_REQUEST['id'] );
|
588 |
+
$product = $this->wc_get_product( $product_id );
|
589 |
+
|
590 |
+
// don't add the product if doesn't exist
|
591 |
+
if ( isset( $product->id ) && ! in_array( $product_id, $this->products_list ) ) {
|
592 |
+
$this->add_product_to_compare( $product_id );
|
593 |
+
}
|
594 |
+
|
595 |
+
do_action( 'yith_woocompare_add_product_action_ajax' );
|
596 |
+
|
597 |
+
$json = apply_filters( 'yith_woocompare_add_product_action_json', array(
|
598 |
+
'table_url' => $this->view_table_url( $product_id ),
|
599 |
+
'widget_table' => $this->list_products_html(),
|
600 |
+
) );
|
601 |
+
|
602 |
+
echo json_encode( $json );
|
603 |
+
die();
|
604 |
+
}
|
605 |
+
|
606 |
+
/**
|
607 |
+
* Add a product in the products comparison table
|
608 |
+
*
|
609 |
+
* @param int $product_id product ID to add in the comparison table
|
610 |
+
*/
|
611 |
+
public function add_product_to_compare( $product_id ) {
|
612 |
+
|
613 |
+
$this->products_list[] = $product_id;
|
614 |
+
setcookie( $this->cookie_name, json_encode( $this->products_list ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false );
|
615 |
+
|
616 |
+
do_action( 'yith_woocompare_after_add_product', $product_id );
|
617 |
+
}
|
618 |
+
|
619 |
+
/**
|
620 |
+
* The action called by the query string
|
621 |
+
*/
|
622 |
+
public function remove_product_from_compare_action() {
|
623 |
+
if ( defined( 'DOING_AJAX' ) && DOING_AJAX || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_remove ) {
|
624 |
+
return;
|
625 |
+
}
|
626 |
+
|
627 |
+
$this->remove_product_from_compare( $_REQUEST['id'] );
|
628 |
+
|
629 |
+
// redirect
|
630 |
+
$redirect = esc_url( remove_query_arg( array( 'id', 'action' ) ) );
|
631 |
+
|
632 |
+
if ( isset( $_REQUEST['redirect'] ) && $_REQUEST['redirect'] == 'view' )
|
633 |
+
$redirect = esc_url( remove_query_arg( 'redirect', add_query_arg( 'action', $this->action_view, $redirect ) ) );
|
634 |
+
|
635 |
+
wp_redirect( $redirect );
|
636 |
+
exit();
|
637 |
+
}
|
638 |
+
|
639 |
+
/**
|
640 |
+
* The action called by AJAX
|
641 |
+
*/
|
642 |
+
public function remove_product_from_compare_ajax() {
|
643 |
+
|
644 |
+
if ( ! isset( $_REQUEST['id'] ) || ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_remove ){
|
645 |
+
die();
|
646 |
+
}
|
647 |
+
|
648 |
+
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
649 |
+
|
650 |
+
$this->remove_product_from_compare( $_REQUEST['id'] );
|
651 |
+
|
652 |
+
do_action( 'yith_woocompare_remove_product_action_ajax' );
|
653 |
+
|
654 |
+
header('Content-Type: text/html; charset=utf-8');
|
655 |
+
|
656 |
+
if ( isset( $_REQUEST['responseType'] ) && $_REQUEST['responseType'] == 'product_list' ) {
|
657 |
+
echo $this->list_products_html( $lang );
|
658 |
+
} else {
|
659 |
+
$this->compare_table_html();
|
660 |
+
}
|
661 |
+
|
662 |
+
die();
|
663 |
+
}
|
664 |
+
|
665 |
+
/**
|
666 |
+
* Return the list of widget table, used in AJAX
|
667 |
+
*/
|
668 |
+
public function reload_widget_list_ajax() {
|
669 |
+
|
670 |
+
if ( ! isset( $_REQUEST['action'] ) || $_REQUEST['action'] != $this->action_reload ){
|
671 |
+
die();
|
672 |
+
}
|
673 |
+
|
674 |
+
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : false;
|
675 |
+
|
676 |
+
echo $this->list_products_html( $lang );
|
677 |
+
die();
|
678 |
+
}
|
679 |
+
|
680 |
+
/**
|
681 |
+
* The list of products as HTML list
|
682 |
+
*/
|
683 |
+
public function list_products_html( $lang = false ) {
|
684 |
+
ob_start();
|
685 |
+
|
686 |
+
/**
|
687 |
+
* WPML Suppot: Localize Ajax Call
|
688 |
+
*/
|
689 |
+
global $sitepress;
|
690 |
+
|
691 |
+
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress )) {
|
692 |
+
$sitepress->switch_lang( $lang, true );
|
693 |
+
}
|
694 |
+
|
695 |
+
if ( empty( $this->products_list ) ) {
|
696 |
+
echo '<li class="list_empty">' . __( 'No products to compare', 'yith-woocommerce-compare' ) . '</li>';
|
697 |
+
return ob_get_clean();
|
698 |
+
}
|
699 |
+
|
700 |
+
foreach ( $this->products_list as $product_id ) {
|
701 |
+
/**
|
702 |
+
* @type object $product /WC_Product
|
703 |
+
*/
|
704 |
+
$product = $this->wc_get_product( $product_id );
|
705 |
+
if ( ! $product )
|
706 |
+
continue;
|
707 |
+
?>
|
708 |
+
<li>
|
709 |
+
<a href="<?php echo $this->remove_product_url( $product_id ) ?>" data-product_id="<?php echo $product_id; ?>" class="remove" title="<?php _e( 'Remove', 'yith-woocommerce-compare' ) ?>">x</a>
|
710 |
+
<a class="title" href="<?php echo get_permalink( $product_id ) ?>"><?php echo $product->get_title() ?></a>
|
711 |
+
</li>
|
712 |
+
<?php
|
713 |
+
}
|
714 |
+
|
715 |
+
$return = ob_get_clean();
|
716 |
+
|
717 |
+
return apply_filters( 'yith_woocompare_widget_products_html', $return, $this->products_list, $this );
|
718 |
+
}
|
719 |
+
|
720 |
+
/**
|
721 |
+
* Remove a product from the comparison table
|
722 |
+
*
|
723 |
+
* @param $product_id The product ID to remove from the comparison table
|
724 |
+
*/
|
725 |
+
public function remove_product_from_compare( $product_id ) {
|
726 |
+
|
727 |
+
if( $product_id == 'all' ) {
|
728 |
+
$this->products_list = array();
|
729 |
+
}
|
730 |
+
else {
|
731 |
+
foreach ( $this->products_list as $k => $id ) {
|
732 |
+
if ( intval( $product_id ) == $id ) {
|
733 |
+
unset( $this->products_list[ $k ] );
|
734 |
+
}
|
735 |
+
}
|
736 |
+
}
|
737 |
+
|
738 |
+
setcookie( $this->cookie_name, json_encode( array_values( $this->products_list ) ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false );
|
739 |
+
|
740 |
+
do_action( 'yith_woocompare_after_remove_product', $product_id );
|
741 |
+
}
|
742 |
+
|
743 |
+
/**
|
744 |
+
* Remove all styles from the compare template
|
745 |
+
*/
|
746 |
+
public function remove_all_styles() {
|
747 |
+
global $wp_styles;
|
748 |
+
$wp_styles->queue = array();
|
749 |
+
}
|
750 |
+
|
751 |
+
/**
|
752 |
+
* Show the html for the shortcode
|
753 |
+
*/
|
754 |
+
public function compare_button_sc( $atts, $content = null ) {
|
755 |
+
$atts = shortcode_atts(array(
|
756 |
+
'product' => false,
|
757 |
+
'type' => 'default',
|
758 |
+
'container' => 'yes'
|
759 |
+
), $atts);
|
760 |
+
|
761 |
+
$product_id = 0;
|
762 |
+
|
763 |
+
/**
|
764 |
+
* Retrieve the product ID in these steps:
|
765 |
+
* - If "product" attribute is not set, get the product ID of current product loop
|
766 |
+
* - If "product" contains ID, post slug or post title
|
767 |
+
*/
|
768 |
+
if ( ! $atts['product'] ) {
|
769 |
+
global $product;
|
770 |
+
$product_id = ! is_null( $product ) ? yit_get_prop( $product, 'id', true ) : 0;
|
771 |
+
} else {
|
772 |
+
global $wpdb;
|
773 |
+
$product = $wpdb->get_row( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE ID = %d OR post_name = %s OR post_title = %s LIMIT 1", $atts['product'], $atts['product'], $atts['product'] ) );
|
774 |
+
if ( ! empty( $product ) ) {
|
775 |
+
$product_id = $product->ID;
|
776 |
+
}
|
777 |
+
}
|
778 |
+
|
779 |
+
// make sure to get always the product id of current language
|
780 |
+
if( function_exists( 'wpml_object_id_filter' ) ) {
|
781 |
+
$product_id = wpml_object_id_filter( $product_id, 'product', false );
|
782 |
+
}
|
783 |
+
|
784 |
+
// if product ID is 0, maybe the product doesn't exists or is wrong.. in this case, doesn't show the button
|
785 |
+
if ( empty( $product_id ) )
|
786 |
+
return '';
|
787 |
+
|
788 |
+
ob_start();
|
789 |
+
if ( $atts['container'] == 'yes' ) echo '<div class="woocommerce product compare-button">';
|
790 |
+
$this->add_compare_link( $product_id, array(
|
791 |
+
'button_or_link' => ( $atts['type'] == 'default' ? false : $atts['type'] ),
|
792 |
+
'button_text' => empty( $content ) ? 'default' : $content
|
793 |
+
) );
|
794 |
+
if ( $atts['container'] == 'yes' ) echo '</div>';
|
795 |
+
return ob_get_clean();
|
796 |
+
}
|
797 |
+
|
798 |
+
public function wc_get_product( $product_id ){
|
799 |
+
$wc_get_product = function_exists( 'wc_get_product' ) ? 'wc_get_product' : 'get_product';
|
800 |
+
return $wc_get_product( $product_id );
|
801 |
+
}
|
802 |
+
|
803 |
+
|
804 |
+
/**
|
805 |
+
* Do action before loads compare popup
|
806 |
+
*
|
807 |
+
* @since 2.1.1
|
808 |
+
* @author Francesco Licandro
|
809 |
+
*/
|
810 |
+
public function actions_before_load_popup(){
|
811 |
+
// removes WooCommerce Product Filter scripts
|
812 |
+
wp_dequeue_script( 'prdctfltr-main-js' );
|
813 |
+
wp_dequeue_script( 'prdctfltr-history' );
|
814 |
+
wp_dequeue_script( 'prdctfltr-ionrange-js' );
|
815 |
+
wp_dequeue_script( 'prdctfltr-isotope-js' );
|
816 |
+
wp_dequeue_script( 'prdctfltr-scrollbar-js' );
|
817 |
+
}
|
818 |
+
}
|
819 |
}
|
includes/class.yith-woocompare-helper.php
CHANGED
@@ -1,105 +1,105 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH WooCommerce Compare
|
7 |
-
* @version 1.1.4
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
if( !class_exists( 'YITH_Woocompare_Helper' ) ) {
|
13 |
-
/**
|
14 |
-
* YITH Woocommerce Compare helper
|
15 |
-
*
|
16 |
-
* @since 1.0.0
|
17 |
-
*/
|
18 |
-
class YITH_Woocompare_Helper {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Set the image size used in the comparison table
|
22 |
-
*
|
23 |
-
* @since 1.0.0
|
24 |
-
*/
|
25 |
-
public static function set_image_size() {
|
26 |
-
$size = get_option( 'yith_woocompare_image_size' );
|
27 |
-
|
28 |
-
if( ! $size ) {
|
29 |
-
return;
|
30 |
-
}
|
31 |
-
|
32 |
-
$size['crop'] = isset( $size['crop'] ) ? true : false;
|
33 |
-
add_image_size( 'yith-woocompare-image', $size['width'], $size['height'], $size['crop'] );
|
34 |
-
}
|
35 |
-
|
36 |
-
/*
|
37 |
-
* The list of standard fields
|
38 |
-
*
|
39 |
-
* @since 1.0.0
|
40 |
-
* @access public
|
41 |
-
* @param Boolean $with_attr
|
42 |
-
*/
|
43 |
-
public static function standard_fields( $with_attr = true ) {
|
44 |
-
|
45 |
-
$fields = array(
|
46 |
-
'image' => __( 'Image', 'yith-woocommerce-compare' ),
|
47 |
-
'title' => __( 'Title', 'yith-woocommerce-compare' ),
|
48 |
-
'price' => __( 'Price', 'yith-woocommerce-compare' ),
|
49 |
-
'add-to-cart' => __( 'Add to cart', 'yith-woocommerce-compare' ),
|
50 |
-
'description' => __( 'Description', 'yith-woocommerce-compare' ),
|
51 |
-
'sku' => __( 'Sku', 'yith-woocommerce-compare' ),
|
52 |
-
'stock' => __( 'Availability', 'yith-woocommerce-compare' ),
|
53 |
-
'weight' => __( 'Weight', 'yith-woocommerce-compare' ),
|
54 |
-
'dimensions' => __( 'Dimensions', 'yith-woocommerce-compare' )
|
55 |
-
);
|
56 |
-
|
57 |
-
if( $with_attr )
|
58 |
-
$fields = array_merge( $fields, YITH_Woocompare_Helper::attribute_taxonomies() );
|
59 |
-
|
60 |
-
return apply_filters( 'yith_woocompare_standard_fields_array', $fields );
|
61 |
-
}
|
62 |
-
|
63 |
-
/*
|
64 |
-
* Get Woocommerce Attribute Taxonomies
|
65 |
-
*
|
66 |
-
* @since 1.0.0
|
67 |
-
* @access public
|
68 |
-
*/
|
69 |
-
public static function attribute_taxonomies() {
|
70 |
-
global $woocommerce;
|
71 |
-
|
72 |
-
if ( ! isset( $woocommerce ) ) return array();
|
73 |
-
|
74 |
-
$attributes = array();
|
75 |
-
|
76 |
-
if( function_exists( 'wc_get_attribute_taxonomies' ) && function_exists( 'wc_attribute_taxonomy_name' ) ) {
|
77 |
-
$attribute_taxonomies = wc_get_attribute_taxonomies();
|
78 |
-
if( empty( $attribute_taxonomies ) )
|
79 |
-
return array();
|
80 |
-
foreach( $attribute_taxonomies as $attribute ) {
|
81 |
-
$tax = wc_attribute_taxonomy_name( $attribute->attribute_name );
|
82 |
-
if ( taxonomy_exists( $tax ) ) {
|
83 |
-
$attributes[$tax] = ucfirst( $attribute->attribute_name );
|
84 |
-
}
|
85 |
-
}
|
86 |
-
}
|
87 |
-
else{
|
88 |
-
$attribute_taxonomies = $woocommerce->get_attribute_taxonomies();
|
89 |
-
if( empty( $attribute_taxonomies ) )
|
90 |
-
return array();
|
91 |
-
foreach( $attribute_taxonomies as $attribute ) {
|
92 |
-
$tax = $woocommerce->attribute_taxonomy_name( $attribute->attribute_name );
|
93 |
-
if ( taxonomy_exists( $tax ) ) {
|
94 |
-
$attributes[$tax] = ucfirst( $attribute->attribute_name );
|
95 |
-
}
|
96 |
-
}
|
97 |
-
}
|
98 |
-
|
99 |
-
|
100 |
-
return $attributes;
|
101 |
-
}
|
102 |
-
|
103 |
-
|
104 |
-
}
|
105 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH WooCommerce Compare
|
7 |
+
* @version 1.1.4
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
+
|
12 |
+
if( !class_exists( 'YITH_Woocompare_Helper' ) ) {
|
13 |
+
/**
|
14 |
+
* YITH Woocommerce Compare helper
|
15 |
+
*
|
16 |
+
* @since 1.0.0
|
17 |
+
*/
|
18 |
+
class YITH_Woocompare_Helper {
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Set the image size used in the comparison table
|
22 |
+
*
|
23 |
+
* @since 1.0.0
|
24 |
+
*/
|
25 |
+
public static function set_image_size() {
|
26 |
+
$size = get_option( 'yith_woocompare_image_size' );
|
27 |
+
|
28 |
+
if( ! $size ) {
|
29 |
+
return;
|
30 |
+
}
|
31 |
+
|
32 |
+
$size['crop'] = isset( $size['crop'] ) ? true : false;
|
33 |
+
add_image_size( 'yith-woocompare-image', $size['width'], $size['height'], $size['crop'] );
|
34 |
+
}
|
35 |
+
|
36 |
+
/*
|
37 |
+
* The list of standard fields
|
38 |
+
*
|
39 |
+
* @since 1.0.0
|
40 |
+
* @access public
|
41 |
+
* @param Boolean $with_attr
|
42 |
+
*/
|
43 |
+
public static function standard_fields( $with_attr = true ) {
|
44 |
+
|
45 |
+
$fields = array(
|
46 |
+
'image' => __( 'Image', 'yith-woocommerce-compare' ),
|
47 |
+
'title' => __( 'Title', 'yith-woocommerce-compare' ),
|
48 |
+
'price' => __( 'Price', 'yith-woocommerce-compare' ),
|
49 |
+
'add-to-cart' => __( 'Add to cart', 'yith-woocommerce-compare' ),
|
50 |
+
'description' => __( 'Description', 'yith-woocommerce-compare' ),
|
51 |
+
'sku' => __( 'Sku', 'yith-woocommerce-compare' ),
|
52 |
+
'stock' => __( 'Availability', 'yith-woocommerce-compare' ),
|
53 |
+
'weight' => __( 'Weight', 'yith-woocommerce-compare' ),
|
54 |
+
'dimensions' => __( 'Dimensions', 'yith-woocommerce-compare' )
|
55 |
+
);
|
56 |
+
|
57 |
+
if( $with_attr )
|
58 |
+
$fields = array_merge( $fields, YITH_Woocompare_Helper::attribute_taxonomies() );
|
59 |
+
|
60 |
+
return apply_filters( 'yith_woocompare_standard_fields_array', $fields );
|
61 |
+
}
|
62 |
+
|
63 |
+
/*
|
64 |
+
* Get Woocommerce Attribute Taxonomies
|
65 |
+
*
|
66 |
+
* @since 1.0.0
|
67 |
+
* @access public
|
68 |
+
*/
|
69 |
+
public static function attribute_taxonomies() {
|
70 |
+
global $woocommerce;
|
71 |
+
|
72 |
+
if ( ! isset( $woocommerce ) ) return array();
|
73 |
+
|
74 |
+
$attributes = array();
|
75 |
+
|
76 |
+
if( function_exists( 'wc_get_attribute_taxonomies' ) && function_exists( 'wc_attribute_taxonomy_name' ) ) {
|
77 |
+
$attribute_taxonomies = wc_get_attribute_taxonomies();
|
78 |
+
if( empty( $attribute_taxonomies ) )
|
79 |
+
return array();
|
80 |
+
foreach( $attribute_taxonomies as $attribute ) {
|
81 |
+
$tax = wc_attribute_taxonomy_name( $attribute->attribute_name );
|
82 |
+
if ( taxonomy_exists( $tax ) ) {
|
83 |
+
$attributes[$tax] = ucfirst( $attribute->attribute_name );
|
84 |
+
}
|
85 |
+
}
|
86 |
+
}
|
87 |
+
else{
|
88 |
+
$attribute_taxonomies = $woocommerce->get_attribute_taxonomies();
|
89 |
+
if( empty( $attribute_taxonomies ) )
|
90 |
+
return array();
|
91 |
+
foreach( $attribute_taxonomies as $attribute ) {
|
92 |
+
$tax = $woocommerce->attribute_taxonomy_name( $attribute->attribute_name );
|
93 |
+
if ( taxonomy_exists( $tax ) ) {
|
94 |
+
$attributes[$tax] = ucfirst( $attribute->attribute_name );
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
98 |
+
|
99 |
+
|
100 |
+
return $attributes;
|
101 |
+
}
|
102 |
+
|
103 |
+
|
104 |
+
}
|
105 |
}
|
includes/class.yith-woocompare.php
CHANGED
@@ -1,145 +1,145 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH Woocommerce Compare
|
7 |
-
* @version 1.1.4
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
if( !class_exists( 'YITH_Woocompare' ) ) {
|
13 |
-
/**
|
14 |
-
* YITH Woocommerce Compare
|
15 |
-
*
|
16 |
-
* @since 1.0.0
|
17 |
-
*/
|
18 |
-
class YITH_Woocompare {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Plugin object
|
22 |
-
*
|
23 |
-
* @var string
|
24 |
-
* @since 1.0.0
|
25 |
-
*/
|
26 |
-
public $obj = null;
|
27 |
-
|
28 |
-
/**
|
29 |
-
* AJAX Helper
|
30 |
-
*
|
31 |
-
* @var string
|
32 |
-
* @since 1.0.0
|
33 |
-
*/
|
34 |
-
public $ajax = null;
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Constructor
|
38 |
-
*
|
39 |
-
* @return mixed|YITH_Woocompare_Admin|YITH_Woocompare_Frontend
|
40 |
-
* @since 1.0.0
|
41 |
-
*/
|
42 |
-
public function __construct() {
|
43 |
-
|
44 |
-
add_action( 'widgets_init', array( $this, 'registerWidgets' ) );
|
45 |
-
|
46 |
-
// Load Plugin Framework
|
47 |
-
add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
|
48 |
-
|
49 |
-
if( $this->is_frontend() ) {
|
50 |
-
|
51 |
-
// require frontend class
|
52 |
-
require_once('class.yith-woocompare-frontend.php');
|
53 |
-
|
54 |
-
$this->obj = new YITH_Woocompare_Frontend();
|
55 |
-
}
|
56 |
-
elseif( $this->is_admin() ) {
|
57 |
-
|
58 |
-
// requires admin classes
|
59 |
-
require_once('class.yith-woocompare-admin.php');
|
60 |
-
|
61 |
-
$this->obj = new YITH_Woocompare_Admin();
|
62 |
-
}
|
63 |
-
|
64 |
-
// add image size
|
65 |
-
YITH_Woocompare_Helper::set_image_size();
|
66 |
-
|
67 |
-
// let's filter the woocommerce image size
|
68 |
-
add_filter( 'woocommerce_get_image_size_yith-woocompare-image', array( $this, 'filter_wc_image_size' ), 10, 1 );
|
69 |
-
|
70 |
-
return $this->obj;
|
71 |
-
}
|
72 |
-
|
73 |
-
/**
|
74 |
-
* Detect if is frontend
|
75 |
-
* @return bool
|
76 |
-
*/
|
77 |
-
public function is_frontend() {
|
78 |
-
$is_ajax = ( defined( 'DOING_AJAX' ) && DOING_AJAX );
|
79 |
-
$context_check = isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'frontend';
|
80 |
-
$actions_to_check = apply_filters( 'yith_woocompare_actions_to_check_frontend', array( 'woof_draw_products' ) );
|
81 |
-
$action_check = isset( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], $actions_to_check );
|
82 |
-
|
83 |
-
return (bool) ( ! is_admin() || ( $is_ajax && ( $context_check || $action_check ) ) );
|
84 |
-
}
|
85 |
-
|
86 |
-
/**
|
87 |
-
* Detect if is admin
|
88 |
-
* @return bool
|
89 |
-
*/
|
90 |
-
public function is_admin() {
|
91 |
-
$is_ajax = ( defined( 'DOING_AJAX' ) && DOING_AJAX );
|
92 |
-
$is_admin = ( is_admin() || $is_ajax && isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'admin' );
|
93 |
-
return apply_filters( 'yith_woocompare_check_is_admin', (bool) $is_admin );
|
94 |
-
}
|
95 |
-
|
96 |
-
/**
|
97 |
-
* Load Plugin Framework
|
98 |
-
*
|
99 |
-
* @since 1.0
|
100 |
-
* @access public
|
101 |
-
* @return void
|
102 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
103 |
-
*/
|
104 |
-
public function plugin_fw_loader() {
|
105 |
-
|
106 |
-
if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
|
107 |
-
global $plugin_fw_data;
|
108 |
-
if( ! empty( $plugin_fw_data ) ){
|
109 |
-
$plugin_fw_file = array_shift( $plugin_fw_data );
|
110 |
-
require_once( $plugin_fw_file );
|
111 |
-
}
|
112 |
-
}
|
113 |
-
}
|
114 |
-
|
115 |
-
/**
|
116 |
-
* Load and register widgets
|
117 |
-
*
|
118 |
-
* @access public
|
119 |
-
* @since 1.0.0
|
120 |
-
*/
|
121 |
-
public function registerWidgets() {
|
122 |
-
register_widget( 'YITH_Woocompare_Widget' );
|
123 |
-
}
|
124 |
-
|
125 |
-
/**
|
126 |
-
* Filter WooCommerce image size attr
|
127 |
-
*
|
128 |
-
* @since 2.3.5
|
129 |
-
* @author Francesco Licandro
|
130 |
-
* @param array $size
|
131 |
-
* @return array
|
132 |
-
*/
|
133 |
-
public function filter_wc_image_size( $size ) {
|
134 |
-
|
135 |
-
$size_opt = get_option( 'yith_woocompare_image_size' );
|
136 |
-
|
137 |
-
return array(
|
138 |
-
'width' => isset( $size_opt['width'] ) ? absint( $size_opt['width'] ) : 600,
|
139 |
-
'height' => isset( $size_opt['height'] ) ? absint( $size_opt['height'] ) : 600,
|
140 |
-
'crop' => isset( $size_opt['crop'] ) ? 1 : 0,
|
141 |
-
);
|
142 |
-
}
|
143 |
-
|
144 |
-
}
|
145 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH Woocommerce Compare
|
7 |
+
* @version 1.1.4
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
+
|
12 |
+
if( !class_exists( 'YITH_Woocompare' ) ) {
|
13 |
+
/**
|
14 |
+
* YITH Woocommerce Compare
|
15 |
+
*
|
16 |
+
* @since 1.0.0
|
17 |
+
*/
|
18 |
+
class YITH_Woocompare {
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Plugin object
|
22 |
+
*
|
23 |
+
* @var string
|
24 |
+
* @since 1.0.0
|
25 |
+
*/
|
26 |
+
public $obj = null;
|
27 |
+
|
28 |
+
/**
|
29 |
+
* AJAX Helper
|
30 |
+
*
|
31 |
+
* @var string
|
32 |
+
* @since 1.0.0
|
33 |
+
*/
|
34 |
+
public $ajax = null;
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Constructor
|
38 |
+
*
|
39 |
+
* @return mixed|YITH_Woocompare_Admin|YITH_Woocompare_Frontend
|
40 |
+
* @since 1.0.0
|
41 |
+
*/
|
42 |
+
public function __construct() {
|
43 |
+
|
44 |
+
add_action( 'widgets_init', array( $this, 'registerWidgets' ) );
|
45 |
+
|
46 |
+
// Load Plugin Framework
|
47 |
+
add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
|
48 |
+
|
49 |
+
if( $this->is_frontend() ) {
|
50 |
+
|
51 |
+
// require frontend class
|
52 |
+
require_once('class.yith-woocompare-frontend.php');
|
53 |
+
|
54 |
+
$this->obj = new YITH_Woocompare_Frontend();
|
55 |
+
}
|
56 |
+
elseif( $this->is_admin() ) {
|
57 |
+
|
58 |
+
// requires admin classes
|
59 |
+
require_once('class.yith-woocompare-admin.php');
|
60 |
+
|
61 |
+
$this->obj = new YITH_Woocompare_Admin();
|
62 |
+
}
|
63 |
+
|
64 |
+
// add image size
|
65 |
+
YITH_Woocompare_Helper::set_image_size();
|
66 |
+
|
67 |
+
// let's filter the woocommerce image size
|
68 |
+
add_filter( 'woocommerce_get_image_size_yith-woocompare-image', array( $this, 'filter_wc_image_size' ), 10, 1 );
|
69 |
+
|
70 |
+
return $this->obj;
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Detect if is frontend
|
75 |
+
* @return bool
|
76 |
+
*/
|
77 |
+
public function is_frontend() {
|
78 |
+
$is_ajax = ( defined( 'DOING_AJAX' ) && DOING_AJAX );
|
79 |
+
$context_check = isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'frontend';
|
80 |
+
$actions_to_check = apply_filters( 'yith_woocompare_actions_to_check_frontend', array( 'woof_draw_products' ) );
|
81 |
+
$action_check = isset( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], $actions_to_check );
|
82 |
+
|
83 |
+
return (bool) ( ! is_admin() || ( $is_ajax && ( $context_check || $action_check ) ) );
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Detect if is admin
|
88 |
+
* @return bool
|
89 |
+
*/
|
90 |
+
public function is_admin() {
|
91 |
+
$is_ajax = ( defined( 'DOING_AJAX' ) && DOING_AJAX );
|
92 |
+
$is_admin = ( is_admin() || $is_ajax && isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'admin' );
|
93 |
+
return apply_filters( 'yith_woocompare_check_is_admin', (bool) $is_admin );
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Load Plugin Framework
|
98 |
+
*
|
99 |
+
* @since 1.0
|
100 |
+
* @access public
|
101 |
+
* @return void
|
102 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
103 |
+
*/
|
104 |
+
public function plugin_fw_loader() {
|
105 |
+
|
106 |
+
if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
|
107 |
+
global $plugin_fw_data;
|
108 |
+
if( ! empty( $plugin_fw_data ) ){
|
109 |
+
$plugin_fw_file = array_shift( $plugin_fw_data );
|
110 |
+
require_once( $plugin_fw_file );
|
111 |
+
}
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
/**
|
116 |
+
* Load and register widgets
|
117 |
+
*
|
118 |
+
* @access public
|
119 |
+
* @since 1.0.0
|
120 |
+
*/
|
121 |
+
public function registerWidgets() {
|
122 |
+
register_widget( 'YITH_Woocompare_Widget' );
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Filter WooCommerce image size attr
|
127 |
+
*
|
128 |
+
* @since 2.3.5
|
129 |
+
* @author Francesco Licandro
|
130 |
+
* @param array $size
|
131 |
+
* @return array
|
132 |
+
*/
|
133 |
+
public function filter_wc_image_size( $size ) {
|
134 |
+
|
135 |
+
$size_opt = get_option( 'yith_woocompare_image_size' );
|
136 |
+
|
137 |
+
return array(
|
138 |
+
'width' => isset( $size_opt['width'] ) ? absint( $size_opt['width'] ) : 600,
|
139 |
+
'height' => isset( $size_opt['height'] ) ? absint( $size_opt['height'] ) : 600,
|
140 |
+
'crop' => isset( $size_opt['crop'] ) ? 1 : 0,
|
141 |
+
);
|
142 |
+
}
|
143 |
+
|
144 |
+
}
|
145 |
}
|
init.php
CHANGED
@@ -1,121 +1,121 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: YITH WooCommerce Compare
|
4 |
-
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
-
* Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
-
* Version: 2.3.
|
7 |
-
* Author: YITH
|
8 |
-
* Author URI: https://yithemes.com/
|
9 |
-
* Text Domain: yith-woocommerce-compare
|
10 |
-
* Domain Path: /languages/
|
11 |
-
* WC requires at least: 2.5.0
|
12 |
-
* WC tested up to: 3.5.0
|
13 |
-
*
|
14 |
-
* @author YITH
|
15 |
-
* @package YITH WooCommerce Compare
|
16 |
-
* @version 2.3.
|
17 |
-
*/
|
18 |
-
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
-
|
20 |
-
This program is free software; you can redistribute it and/or modify
|
21 |
-
it under the terms of the GNU General Public License, version 2, as
|
22 |
-
published by the Free Software Foundation.
|
23 |
-
|
24 |
-
This program is distributed in the hope that it will be useful,
|
25 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
26 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
27 |
-
GNU General Public License for more details.
|
28 |
-
|
29 |
-
You should have received a copy of the GNU General Public License
|
30 |
-
along with this program; if not, write to the Free Software
|
31 |
-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
32 |
-
*/
|
33 |
-
if ( !defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
|
34 |
-
|
35 |
-
if ( ! function_exists( 'is_plugin_active' ) ) {
|
36 |
-
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
37 |
-
}
|
38 |
-
|
39 |
-
function yith_woocompare_install_woocommerce_admin_notice() {
|
40 |
-
?>
|
41 |
-
<div class="error">
|
42 |
-
<p><?php _e( 'YITH WooCommerce Compare is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-compare' ); ?></p>
|
43 |
-
</div>
|
44 |
-
<?php
|
45 |
-
}
|
46 |
-
|
47 |
-
function yith_woocompare_install_free_admin_notice() {
|
48 |
-
?>
|
49 |
-
<div class="error">
|
50 |
-
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Compare while you are using the premium one.', 'yith-woocommerce-compare' ); ?></p>
|
51 |
-
</div>
|
52 |
-
<?php
|
53 |
-
}
|
54 |
-
|
55 |
-
if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
56 |
-
require_once 'plugin-fw/yit-plugin-registration-hook.php';
|
57 |
-
}
|
58 |
-
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
59 |
-
|
60 |
-
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
61 |
-
define( 'YITH_WOOCOMPARE_VERSION', '2.3.
|
62 |
-
}
|
63 |
-
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
64 |
-
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
65 |
-
}
|
66 |
-
if ( ! defined( 'YITH_WOOCOMPARE_INIT' ) ) {
|
67 |
-
define( 'YITH_WOOCOMPARE_INIT', plugin_basename( __FILE__ ) );
|
68 |
-
}
|
69 |
-
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
70 |
-
define( 'YITH_WOOCOMPARE', true );
|
71 |
-
}
|
72 |
-
if ( ! defined( 'YITH_WOOCOMPARE_FILE' ) ) {
|
73 |
-
define( 'YITH_WOOCOMPARE_FILE', __FILE__ );
|
74 |
-
}
|
75 |
-
if ( ! defined( 'YITH_WOOCOMPARE_URL' ) ) {
|
76 |
-
define( 'YITH_WOOCOMPARE_URL', plugin_dir_url( __FILE__ ) );
|
77 |
-
}
|
78 |
-
if ( ! defined( 'YITH_WOOCOMPARE_DIR' ) ) {
|
79 |
-
define( 'YITH_WOOCOMPARE_DIR', plugin_dir_path( __FILE__ ) );
|
80 |
-
}
|
81 |
-
if ( ! defined( 'YITH_WOOCOMPARE_TEMPLATE_PATH' ) ) {
|
82 |
-
define( 'YITH_WOOCOMPARE_TEMPLATE_PATH', YITH_WOOCOMPARE_DIR . 'templates' );
|
83 |
-
}
|
84 |
-
if ( ! defined( 'YITH_WOOCOMPARE_ASSETS_URL' ) ) {
|
85 |
-
define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets' );
|
86 |
-
}
|
87 |
-
if ( ! defined( 'YITH_WOOCOMPARE_SLUG' ) ) {
|
88 |
-
define( 'YITH_WOOCOMPARE_SLUG', 'yith-woocommerce-compare' );
|
89 |
-
}
|
90 |
-
/* Plugin Framework Version Check */
|
91 |
-
if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' ) ) {
|
92 |
-
require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' );
|
93 |
-
}
|
94 |
-
yit_maybe_plugin_fw_loader( YITH_WOOCOMPARE_DIR );
|
95 |
-
|
96 |
-
function yith_woocompare_constructor() {
|
97 |
-
|
98 |
-
global $woocommerce;
|
99 |
-
|
100 |
-
if ( ! isset( $woocommerce ) || ! function_exists( 'WC' ) ) {
|
101 |
-
add_action( 'admin_notices', 'yith_woocompare_install_woocommerce_admin_notice' );
|
102 |
-
return;
|
103 |
-
}
|
104 |
-
elseif ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ) {
|
105 |
-
add_action( 'admin_notices', 'yith_woocompare_install_free_admin_notice' );
|
106 |
-
deactivate_plugins( plugin_basename( __FILE__ ) );
|
107 |
-
return;
|
108 |
-
}
|
109 |
-
|
110 |
-
load_plugin_textdomain( 'yith-woocommerce-compare', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
|
111 |
-
|
112 |
-
// Load required classes and functions
|
113 |
-
require_once('includes/class.yith-woocompare-helper.php');
|
114 |
-
require_once('widgets/class.yith-woocompare-widget.php');
|
115 |
-
require_once('includes/class.yith-woocompare.php');
|
116 |
-
|
117 |
-
// Let's start the game!
|
118 |
-
global $yith_woocompare;
|
119 |
-
$yith_woocompare = new YITH_Woocompare();
|
120 |
-
}
|
121 |
-
add_action( 'plugins_loaded', 'yith_woocompare_constructor', 11 );
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: YITH WooCommerce Compare
|
4 |
+
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
+
* Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 2.3.6
|
7 |
+
* Author: YITH
|
8 |
+
* Author URI: https://yithemes.com/
|
9 |
+
* Text Domain: yith-woocommerce-compare
|
10 |
+
* Domain Path: /languages/
|
11 |
+
* WC requires at least: 2.5.0
|
12 |
+
* WC tested up to: 3.5.0
|
13 |
+
*
|
14 |
+
* @author YITH
|
15 |
+
* @package YITH WooCommerce Compare
|
16 |
+
* @version 2.3.6
|
17 |
+
*/
|
18 |
+
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
+
|
20 |
+
This program is free software; you can redistribute it and/or modify
|
21 |
+
it under the terms of the GNU General Public License, version 2, as
|
22 |
+
published by the Free Software Foundation.
|
23 |
+
|
24 |
+
This program is distributed in the hope that it will be useful,
|
25 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
26 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
27 |
+
GNU General Public License for more details.
|
28 |
+
|
29 |
+
You should have received a copy of the GNU General Public License
|
30 |
+
along with this program; if not, write to the Free Software
|
31 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
32 |
+
*/
|
33 |
+
if ( !defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
|
34 |
+
|
35 |
+
if ( ! function_exists( 'is_plugin_active' ) ) {
|
36 |
+
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
37 |
+
}
|
38 |
+
|
39 |
+
function yith_woocompare_install_woocommerce_admin_notice() {
|
40 |
+
?>
|
41 |
+
<div class="error">
|
42 |
+
<p><?php _e( 'YITH WooCommerce Compare is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-compare' ); ?></p>
|
43 |
+
</div>
|
44 |
+
<?php
|
45 |
+
}
|
46 |
+
|
47 |
+
function yith_woocompare_install_free_admin_notice() {
|
48 |
+
?>
|
49 |
+
<div class="error">
|
50 |
+
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Compare while you are using the premium one.', 'yith-woocommerce-compare' ); ?></p>
|
51 |
+
</div>
|
52 |
+
<?php
|
53 |
+
}
|
54 |
+
|
55 |
+
if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
56 |
+
require_once 'plugin-fw/yit-plugin-registration-hook.php';
|
57 |
+
}
|
58 |
+
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
59 |
+
|
60 |
+
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
61 |
+
define( 'YITH_WOOCOMPARE_VERSION', '2.3.6' );
|
62 |
+
}
|
63 |
+
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
64 |
+
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
65 |
+
}
|
66 |
+
if ( ! defined( 'YITH_WOOCOMPARE_INIT' ) ) {
|
67 |
+
define( 'YITH_WOOCOMPARE_INIT', plugin_basename( __FILE__ ) );
|
68 |
+
}
|
69 |
+
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
70 |
+
define( 'YITH_WOOCOMPARE', true );
|
71 |
+
}
|
72 |
+
if ( ! defined( 'YITH_WOOCOMPARE_FILE' ) ) {
|
73 |
+
define( 'YITH_WOOCOMPARE_FILE', __FILE__ );
|
74 |
+
}
|
75 |
+
if ( ! defined( 'YITH_WOOCOMPARE_URL' ) ) {
|
76 |
+
define( 'YITH_WOOCOMPARE_URL', plugin_dir_url( __FILE__ ) );
|
77 |
+
}
|
78 |
+
if ( ! defined( 'YITH_WOOCOMPARE_DIR' ) ) {
|
79 |
+
define( 'YITH_WOOCOMPARE_DIR', plugin_dir_path( __FILE__ ) );
|
80 |
+
}
|
81 |
+
if ( ! defined( 'YITH_WOOCOMPARE_TEMPLATE_PATH' ) ) {
|
82 |
+
define( 'YITH_WOOCOMPARE_TEMPLATE_PATH', YITH_WOOCOMPARE_DIR . 'templates' );
|
83 |
+
}
|
84 |
+
if ( ! defined( 'YITH_WOOCOMPARE_ASSETS_URL' ) ) {
|
85 |
+
define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets' );
|
86 |
+
}
|
87 |
+
if ( ! defined( 'YITH_WOOCOMPARE_SLUG' ) ) {
|
88 |
+
define( 'YITH_WOOCOMPARE_SLUG', 'yith-woocommerce-compare' );
|
89 |
+
}
|
90 |
+
/* Plugin Framework Version Check */
|
91 |
+
if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' ) ) {
|
92 |
+
require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' );
|
93 |
+
}
|
94 |
+
yit_maybe_plugin_fw_loader( YITH_WOOCOMPARE_DIR );
|
95 |
+
|
96 |
+
function yith_woocompare_constructor() {
|
97 |
+
|
98 |
+
global $woocommerce;
|
99 |
+
|
100 |
+
if ( ! isset( $woocommerce ) || ! function_exists( 'WC' ) ) {
|
101 |
+
add_action( 'admin_notices', 'yith_woocompare_install_woocommerce_admin_notice' );
|
102 |
+
return;
|
103 |
+
}
|
104 |
+
elseif ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ) {
|
105 |
+
add_action( 'admin_notices', 'yith_woocompare_install_free_admin_notice' );
|
106 |
+
deactivate_plugins( plugin_basename( __FILE__ ) );
|
107 |
+
return;
|
108 |
+
}
|
109 |
+
|
110 |
+
load_plugin_textdomain( 'yith-woocommerce-compare', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
|
111 |
+
|
112 |
+
// Load required classes and functions
|
113 |
+
require_once('includes/class.yith-woocompare-helper.php');
|
114 |
+
require_once('widgets/class.yith-woocompare-widget.php');
|
115 |
+
require_once('includes/class.yith-woocompare.php');
|
116 |
+
|
117 |
+
// Let's start the game!
|
118 |
+
global $yith_woocompare;
|
119 |
+
$yith_woocompare = new YITH_Woocompare();
|
120 |
+
}
|
121 |
+
add_action( 'plugins_loaded', 'yith_woocompare_constructor', 11 );
|
languages/yith-woocommerce-compare-bg_BG.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-bg_BG.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: bg_BG\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -17,33 +17,32 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
-
#: includes/class.yith-woocompare-admin.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-woocompare-admin.php:
|
26 |
-
|
|
|
|
|
|
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-admin.php:
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
-
#: plugin-options/general-options.php:
|
34 |
#: widgets/class.yith-woocompare-widget.php:51
|
35 |
msgid "Compare"
|
36 |
msgstr "Сравни"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:240
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -52,11 +51,11 @@ msgid ""
|
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class.yith-woocompare-admin.php:
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class.yith-woocompare-admin.php:
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -70,66 +69,74 @@ msgstr ""
|
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class.yith-woocompare-frontend.php:
|
74 |
msgid "Added"
|
75 |
msgstr "Добавено"
|
76 |
|
77 |
-
#: includes/class.yith-woocompare-frontend.php:
|
78 |
msgid "Product Comparison"
|
79 |
msgstr "Сравнение на продуктите"
|
80 |
|
81 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
82 |
msgid "In stock"
|
83 |
msgstr "В наличност"
|
84 |
|
85 |
-
#: includes/class.yith-woocompare-frontend.php:
|
86 |
msgid "No products to compare"
|
87 |
msgstr "В момента нямате продукти за сравнение"
|
88 |
|
89 |
-
#: includes/class.yith-woocompare-frontend.php:
|
90 |
msgid "Remove"
|
91 |
msgstr "Премахни"
|
92 |
|
93 |
-
#: includes/class.yith-woocompare-helper.php:
|
94 |
msgid "Image"
|
95 |
msgstr "Снимка"
|
96 |
|
97 |
-
#: includes/class.yith-woocompare-helper.php:
|
98 |
#: widgets/class.yith-woocompare-widget.php:68
|
99 |
msgid "Title"
|
100 |
msgstr "Заглавие"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-helper.php:
|
103 |
msgid "Price"
|
104 |
msgstr "Цена"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Add to cart"
|
108 |
msgstr "КУПИ"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-helper.php:
|
111 |
msgid "Description"
|
112 |
msgstr "Описание"
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Availability"
|
116 |
msgstr "Достъпност"
|
117 |
|
118 |
-
#: includes/class.yith-woocompare-helper.php:
|
119 |
msgid "Weight"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/class.yith-woocompare-helper.php:
|
123 |
msgid "Dimensions"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: init.php:
|
127 |
msgid ""
|
128 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
129 |
"WooCommerce in order to work."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: init.php:
|
133 |
msgid ""
|
134 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
135 |
"are using the premium one."
|
@@ -144,123 +151,125 @@ msgid "Link or Button"
|
|
144 |
msgstr "Свържи към бутона"
|
145 |
|
146 |
#: plugin-options/general-options.php:25
|
147 |
-
|
|
|
|
|
148 |
msgstr "Изберете дали искате да използвате линк или бутон"
|
149 |
|
150 |
-
#: plugin-options/general-options.php:
|
151 |
msgid "Link"
|
152 |
msgstr "Линк"
|
153 |
|
154 |
-
#: plugin-options/general-options.php:
|
155 |
msgid "Button"
|
156 |
msgstr "Бутон"
|
157 |
|
158 |
-
#: plugin-options/general-options.php:
|
159 |
msgid "Link/Button text"
|
160 |
msgstr "Текст на Линка/Бутона"
|
161 |
|
162 |
-
#: plugin-options/general-options.php:
|
163 |
msgid "Type the text to use for the button or the link of the compare."
|
164 |
msgstr "Напишете текста, който искате да използвате за линка или бутона"
|
165 |
|
166 |
-
#: plugin-options/general-options.php:
|
167 |
msgid "Show button in single product page"
|
168 |
msgstr "Покажете бутона на страницата на продукта"
|
169 |
|
170 |
-
#: plugin-options/general-options.php:
|
171 |
msgid "Say if you want to show the button in the single product page."
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: plugin-options/general-options.php:
|
175 |
msgid "Show button in products list"
|
176 |
msgstr "Покажете бутона в каталога "
|
177 |
|
178 |
-
#: plugin-options/general-options.php:
|
179 |
msgid "Say if you want to show the button in the products list."
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: plugin-options/general-options.php:
|
183 |
msgid "Open automatically lightbox"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: plugin-options/general-options.php:
|
187 |
msgid "Open link after click into \"Compare\" button\"."
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: plugin-options/general-options.php:
|
191 |
msgid "Table Settings"
|
192 |
msgstr "Настройки на таблицата"
|
193 |
|
194 |
-
#: plugin-options/general-options.php:
|
195 |
msgid "Table title"
|
196 |
msgstr "Заглавие на таблицата"
|
197 |
|
198 |
-
#: plugin-options/general-options.php:
|
199 |
msgid "Type the text to use for the table title."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: plugin-options/general-options.php:
|
203 |
msgid "Compare products"
|
204 |
msgstr "Сравнете продуктите си"
|
205 |
|
206 |
-
#: plugin-options/general-options.php:
|
207 |
msgid "Fields to show"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: plugin-options/general-options.php:
|
211 |
msgid ""
|
212 |
"Select the fields to show in the comparison table and order them by "
|
213 |
"drag&drop (are included also the woocommerce attributes)"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: plugin-options/general-options.php:
|
217 |
msgid "Repeat \"Price\" field"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: plugin-options/general-options.php:
|
221 |
msgid "Repeat the \"Price\" field at the end of the table"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: plugin-options/general-options.php:
|
225 |
msgid "Repeat \"Add to cart\" field"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: plugin-options/general-options.php:
|
229 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: plugin-options/general-options.php:
|
233 |
msgid "Image size"
|
234 |
msgstr "Размер на изображението"
|
235 |
|
236 |
-
#: plugin-options/general-options.php:
|
237 |
msgid "Set the size for the images"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: templates/admin/premium.php:
|
241 |
#, php-format
|
242 |
msgid ""
|
243 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
244 |
"benefit from all features!"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: templates/admin/premium.php:
|
248 |
msgid "UPGRADE"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: templates/admin/premium.php:
|
252 |
msgid "to the premium version"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: templates/admin/premium.php:
|
256 |
msgid "Premium Features"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: templates/admin/premium.php:
|
260 |
msgid "A DEDICATED PAGE"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: templates/admin/premium.php:
|
264 |
#, php-format
|
265 |
msgid ""
|
266 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -270,11 +279,11 @@ msgid ""
|
|
270 |
"whenever they want."
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: templates/admin/premium.php:
|
274 |
msgid "CATEGORY COMPARATION"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: templates/admin/premium.php:
|
278 |
#, php-format
|
279 |
msgid ""
|
280 |
"People are often confused by finding products of different categories in the "
|
@@ -284,11 +293,11 @@ msgid ""
|
|
284 |
"affinity."
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: templates/admin/premium.php:
|
288 |
msgid "CATEGORY EXCLUSION "
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: templates/admin/premium.php:
|
292 |
#, php-format
|
293 |
msgid ""
|
294 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -299,11 +308,11 @@ msgid ""
|
|
299 |
"selected categories."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: templates/admin/premium.php:
|
303 |
msgid "TABLE IMAGE"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: templates/admin/premium.php:
|
307 |
#, php-format
|
308 |
msgid ""
|
309 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -311,11 +320,11 @@ msgid ""
|
|
311 |
"table to your users. "
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: templates/admin/premium.php:
|
315 |
msgid "DYNAMIC FIELDS"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: templates/admin/premium.php:
|
319 |
#, php-format
|
320 |
msgid ""
|
321 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -324,11 +333,11 @@ msgid ""
|
|
324 |
"be no more empty lines in your comparison table."
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: templates/admin/premium.php:
|
328 |
msgid "SOCIAL NETWORK SHARING"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: templates/admin/premium.php:
|
332 |
#, php-format
|
333 |
msgid ""
|
334 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -337,11 +346,11 @@ msgid ""
|
|
337 |
"products they have selected."
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: templates/admin/premium.php:
|
341 |
msgid "RELATED PRODUCTS"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: templates/admin/premium.php:
|
345 |
#, php-format
|
346 |
msgid ""
|
347 |
"All the products that have common categories and/or tags with those in the "
|
@@ -351,11 +360,11 @@ msgid ""
|
|
351 |
"interested into."
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: templates/admin/premium.php:
|
355 |
msgid "CUSTOMIZABLE STYLE"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: templates/admin/premium.php:
|
359 |
#, php-format
|
360 |
msgid ""
|
361 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -364,11 +373,11 @@ msgid ""
|
|
364 |
"to get to the best result."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: templates/admin/premium.php:
|
368 |
msgid "CUSTOMIZED ATTRIBUTES"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: templates/admin/premium.php:
|
372 |
#, php-format
|
373 |
msgid ""
|
374 |
"Let you users compare products following every feature, and considering also "
|
@@ -376,33 +385,45 @@ msgid ""
|
|
376 |
"product detail page. Every single detail will be included."
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: templates/admin/premium.php:
|
380 |
msgid "A TAILORED TABLE"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: templates/admin/premium.php:
|
384 |
#, php-format
|
385 |
msgid ""
|
386 |
"Select the products you want to compare and the system will offer you the "
|
387 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: templates/admin/premium.php:
|
391 |
-
msgid "
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: templates/admin/premium.php:
|
395 |
msgid ""
|
396 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
397 |
"complete list of products added to the compare tab and avoid to open the "
|
398 |
"popup to check its existence. "
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
msgid "Close window [X]"
|
403 |
msgstr "Затвори"
|
404 |
|
405 |
-
#: templates/compare.php:
|
406 |
msgid "No products added in the compare table."
|
407 |
msgstr "Няма добавени продукти за сравнение."
|
408 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:31+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:31+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: bg_BG\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
+
#: includes/class.yith-woocompare-admin.php:119
|
21 |
+
#: includes/class.yith-woocompare-admin.php:143
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-woocompare-admin.php:153
|
34 |
+
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Сравни"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/class.yith-woocompare-admin.php:253
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/class.yith-woocompare-admin.php:254
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
73 |
msgid "Added"
|
74 |
msgstr "Добавено"
|
75 |
|
76 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "Сравнение на продуктите"
|
79 |
|
80 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
81 |
+
msgid "Close"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
85 |
msgid "In stock"
|
86 |
msgstr "В наличност"
|
87 |
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
89 |
msgid "No products to compare"
|
90 |
msgstr "В момента нямате продукти за сравнение"
|
91 |
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
93 |
msgid "Remove"
|
94 |
msgstr "Премахни"
|
95 |
|
96 |
+
#: includes/class.yith-woocompare-helper.php:46
|
97 |
msgid "Image"
|
98 |
msgstr "Снимка"
|
99 |
|
100 |
+
#: includes/class.yith-woocompare-helper.php:47
|
101 |
#: widgets/class.yith-woocompare-widget.php:68
|
102 |
msgid "Title"
|
103 |
msgstr "Заглавие"
|
104 |
|
105 |
+
#: includes/class.yith-woocompare-helper.php:48
|
106 |
msgid "Price"
|
107 |
msgstr "Цена"
|
108 |
|
109 |
+
#: includes/class.yith-woocompare-helper.php:49
|
110 |
msgid "Add to cart"
|
111 |
msgstr "КУПИ"
|
112 |
|
113 |
+
#: includes/class.yith-woocompare-helper.php:50
|
114 |
msgid "Description"
|
115 |
msgstr "Описание"
|
116 |
|
117 |
+
#: includes/class.yith-woocompare-helper.php:51
|
118 |
+
msgid "Sku"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:52
|
122 |
msgid "Availability"
|
123 |
msgstr "Достъпност"
|
124 |
|
125 |
+
#: includes/class.yith-woocompare-helper.php:53
|
126 |
msgid "Weight"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/class.yith-woocompare-helper.php:54
|
130 |
msgid "Dimensions"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: init.php:42
|
134 |
msgid ""
|
135 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
136 |
"WooCommerce in order to work."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: init.php:50
|
140 |
msgid ""
|
141 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
142 |
"are using the premium one."
|
151 |
msgstr "Свържи към бутона"
|
152 |
|
153 |
#: plugin-options/general-options.php:25
|
154 |
+
#, fuzzy
|
155 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
156 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
157 |
msgstr "Изберете дали искате да използвате линк или бутон"
|
158 |
|
159 |
+
#: plugin-options/general-options.php:32
|
160 |
msgid "Link"
|
161 |
msgstr "Линк"
|
162 |
|
163 |
+
#: plugin-options/general-options.php:33
|
164 |
msgid "Button"
|
165 |
msgstr "Бутон"
|
166 |
|
167 |
+
#: plugin-options/general-options.php:38
|
168 |
msgid "Link/Button text"
|
169 |
msgstr "Текст на Линка/Бутона"
|
170 |
|
171 |
+
#: plugin-options/general-options.php:39
|
172 |
msgid "Type the text to use for the button or the link of the compare."
|
173 |
msgstr "Напишете текста, който искате да използвате за линка или бутона"
|
174 |
|
175 |
+
#: plugin-options/general-options.php:47
|
176 |
msgid "Show button in single product page"
|
177 |
msgstr "Покажете бутона на страницата на продукта"
|
178 |
|
179 |
+
#: plugin-options/general-options.php:48
|
180 |
msgid "Say if you want to show the button in the single product page."
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: plugin-options/general-options.php:56
|
184 |
msgid "Show button in products list"
|
185 |
msgstr "Покажете бутона в каталога "
|
186 |
|
187 |
+
#: plugin-options/general-options.php:57
|
188 |
msgid "Say if you want to show the button in the products list."
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: plugin-options/general-options.php:65
|
192 |
msgid "Open automatically lightbox"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: plugin-options/general-options.php:66
|
196 |
msgid "Open link after click into \"Compare\" button\"."
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: plugin-options/general-options.php:79
|
200 |
msgid "Table Settings"
|
201 |
msgstr "Настройки на таблицата"
|
202 |
|
203 |
+
#: plugin-options/general-options.php:86
|
204 |
msgid "Table title"
|
205 |
msgstr "Заглавие на таблицата"
|
206 |
|
207 |
+
#: plugin-options/general-options.php:87
|
208 |
msgid "Type the text to use for the table title."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
212 |
msgid "Compare products"
|
213 |
msgstr "Сравнете продуктите си"
|
214 |
|
215 |
+
#: plugin-options/general-options.php:95
|
216 |
msgid "Fields to show"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: plugin-options/general-options.php:96
|
220 |
msgid ""
|
221 |
"Select the fields to show in the comparison table and order them by "
|
222 |
"drag&drop (are included also the woocommerce attributes)"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: plugin-options/general-options.php:104
|
226 |
msgid "Repeat \"Price\" field"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: plugin-options/general-options.php:105
|
230 |
msgid "Repeat the \"Price\" field at the end of the table"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: plugin-options/general-options.php:113
|
234 |
msgid "Repeat \"Add to cart\" field"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: plugin-options/general-options.php:114
|
238 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: plugin-options/general-options.php:122
|
242 |
msgid "Image size"
|
243 |
msgstr "Размер на изображението"
|
244 |
|
245 |
+
#: plugin-options/general-options.php:123
|
246 |
msgid "Set the size for the images"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
250 |
#, php-format
|
251 |
msgid ""
|
252 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
253 |
"benefit from all features!"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
257 |
msgid "UPGRADE"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
261 |
msgid "to the premium version"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: templates/admin/premium.php:250
|
265 |
msgid "Premium Features"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: templates/admin/premium.php:258
|
269 |
msgid "A DEDICATED PAGE"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: templates/admin/premium.php:261
|
273 |
#, php-format
|
274 |
msgid ""
|
275 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
279 |
"whenever they want."
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: templates/admin/premium.php:271
|
283 |
msgid "CATEGORY COMPARATION"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: templates/admin/premium.php:274
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"People are often confused by finding products of different categories in the "
|
293 |
"affinity."
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: templates/admin/premium.php:290
|
297 |
msgid "CATEGORY EXCLUSION "
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: templates/admin/premium.php:293
|
301 |
#, php-format
|
302 |
msgid ""
|
303 |
"In your shop there may be product categories you don't want to be affected "
|
308 |
"selected categories."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: templates/admin/premium.php:303
|
312 |
msgid "TABLE IMAGE"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: templates/admin/premium.php:306
|
316 |
#, php-format
|
317 |
msgid ""
|
318 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
320 |
"table to your users. "
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: templates/admin/premium.php:322
|
324 |
msgid "DYNAMIC FIELDS"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: templates/admin/premium.php:325
|
328 |
#, php-format
|
329 |
msgid ""
|
330 |
"With this precious feature, you will be able to show in the table only the "
|
333 |
"be no more empty lines in your comparison table."
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: templates/admin/premium.php:335
|
337 |
msgid "SOCIAL NETWORK SHARING"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: templates/admin/premium.php:338
|
341 |
#, php-format
|
342 |
msgid ""
|
343 |
"One of the most appealing features of the premium version of the plugin.Four "
|
346 |
"products they have selected."
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: templates/admin/premium.php:354
|
350 |
msgid "RELATED PRODUCTS"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: templates/admin/premium.php:357
|
354 |
#, php-format
|
355 |
msgid ""
|
356 |
"All the products that have common categories and/or tags with those in the "
|
360 |
"interested into."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: templates/admin/premium.php:367
|
364 |
msgid "CUSTOMIZABLE STYLE"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: templates/admin/premium.php:370
|
368 |
#, php-format
|
369 |
msgid ""
|
370 |
"An advanced option panel that let you change all the colors of the plugin, "
|
373 |
"to get to the best result."
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: templates/admin/premium.php:386
|
377 |
msgid "CUSTOMIZED ATTRIBUTES"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: templates/admin/premium.php:389
|
381 |
#, php-format
|
382 |
msgid ""
|
383 |
"Let you users compare products following every feature, and considering also "
|
385 |
"product detail page. Every single detail will be included."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: templates/admin/premium.php:399
|
389 |
msgid "A TAILORED TABLE"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: templates/admin/premium.php:402
|
393 |
#, php-format
|
394 |
msgid ""
|
395 |
"Select the products you want to compare and the system will offer you the "
|
396 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: templates/admin/premium.php:418
|
400 |
+
msgid "Compare list - widget"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: templates/admin/premium.php:421
|
404 |
msgid ""
|
405 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
406 |
"complete list of products added to the compare tab and avoid to open the "
|
407 |
"popup to check its existence. "
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: templates/admin/premium.php:431
|
411 |
+
msgid "Compare counter - widget and shortcode"
|
412 |
+
msgstr ""
|
413 |
+
|
414 |
+
#: templates/admin/premium.php:434
|
415 |
+
msgid ""
|
416 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
417 |
+
"many products they have added to the Compare list, feel free to use the "
|
418 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
419 |
+
"than one click away."
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: templates/compare.php:77
|
423 |
msgid "Close window [X]"
|
424 |
msgstr "Затвори"
|
425 |
|
426 |
+
#: templates/compare.php:106
|
427 |
msgid "No products added in the compare table."
|
428 |
msgstr "Няма добавени продукти за сравнение."
|
429 |
|
languages/yith-woocommerce-compare-es_ES.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-es_ES.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Radi Angelov <fullmetalradi@hotmail.com>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: es_ES\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
@@ -17,33 +17,32 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
-
#: includes/class.yith-woocompare-admin.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-woocompare-admin.php:
|
26 |
-
|
|
|
|
|
|
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-admin.php:
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
-
#: plugin-options/general-options.php:
|
34 |
#: widgets/class.yith-woocompare-widget.php:51
|
35 |
msgid "Compare"
|
36 |
msgstr "Comparar"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:240
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -52,11 +51,11 @@ msgid ""
|
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class.yith-woocompare-admin.php:
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class.yith-woocompare-admin.php:
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -70,66 +69,74 @@ msgstr ""
|
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class.yith-woocompare-frontend.php:
|
74 |
msgid "Added"
|
75 |
msgstr "Añadido"
|
76 |
|
77 |
-
#: includes/class.yith-woocompare-frontend.php:
|
78 |
msgid "Product Comparison"
|
79 |
msgstr "Comparacion de producto"
|
80 |
|
81 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
82 |
msgid "In stock"
|
83 |
msgstr "En stock"
|
84 |
|
85 |
-
#: includes/class.yith-woocompare-frontend.php:
|
86 |
msgid "No products to compare"
|
87 |
msgstr "Comparador de productos vacio"
|
88 |
|
89 |
-
#: includes/class.yith-woocompare-frontend.php:
|
90 |
msgid "Remove"
|
91 |
msgstr "Eliminar"
|
92 |
|
93 |
-
#: includes/class.yith-woocompare-helper.php:
|
94 |
msgid "Image"
|
95 |
msgstr "Imagen"
|
96 |
|
97 |
-
#: includes/class.yith-woocompare-helper.php:
|
98 |
#: widgets/class.yith-woocompare-widget.php:68
|
99 |
msgid "Title"
|
100 |
msgstr "Titulo"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-helper.php:
|
103 |
msgid "Price"
|
104 |
msgstr "Precio"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Add to cart"
|
108 |
msgstr "Añadir al carrito"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-helper.php:
|
111 |
msgid "Description"
|
112 |
msgstr "Descripcion"
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Availability"
|
116 |
msgstr "Disponibilidad"
|
117 |
|
118 |
-
#: includes/class.yith-woocompare-helper.php:
|
119 |
msgid "Weight"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/class.yith-woocompare-helper.php:
|
123 |
msgid "Dimensions"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: init.php:
|
127 |
msgid ""
|
128 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
129 |
"WooCommerce in order to work."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: init.php:
|
133 |
msgid ""
|
134 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
135 |
"are using the premium one."
|
@@ -144,72 +151,74 @@ msgid "Link or Button"
|
|
144 |
msgstr "Link o Boton"
|
145 |
|
146 |
#: plugin-options/general-options.php:25
|
147 |
-
|
|
|
|
|
148 |
msgstr "Elige si deseas usar boton o link"
|
149 |
|
150 |
-
#: plugin-options/general-options.php:
|
151 |
msgid "Link"
|
152 |
msgstr "Enlace"
|
153 |
|
154 |
-
#: plugin-options/general-options.php:
|
155 |
msgid "Button"
|
156 |
msgstr "Boton"
|
157 |
|
158 |
-
#: plugin-options/general-options.php:
|
159 |
msgid "Link/Button text"
|
160 |
msgstr "Texto del boton/link"
|
161 |
|
162 |
-
#: plugin-options/general-options.php:
|
163 |
msgid "Type the text to use for the button or the link of the compare."
|
164 |
msgstr "Escribe el texto del boton/link comparar."
|
165 |
|
166 |
-
#: plugin-options/general-options.php:
|
167 |
msgid "Show button in single product page"
|
168 |
msgstr "Mostrar boton en pagina de producto individual"
|
169 |
|
170 |
-
#: plugin-options/general-options.php:
|
171 |
msgid "Say if you want to show the button in the single product page."
|
172 |
msgstr ""
|
173 |
"¿Quieres mostrar el boton de comparar en la pagina individual de cada "
|
174 |
"producto?"
|
175 |
|
176 |
-
#: plugin-options/general-options.php:
|
177 |
msgid "Show button in products list"
|
178 |
msgstr "Mostrar boton en la lista de productos"
|
179 |
|
180 |
-
#: plugin-options/general-options.php:
|
181 |
msgid "Say if you want to show the button in the products list."
|
182 |
msgstr "¿Quieres mostrar el boton de comparar en la lista de productos?"
|
183 |
|
184 |
-
#: plugin-options/general-options.php:
|
185 |
msgid "Open automatically lightbox"
|
186 |
msgstr "Abrir lightbox (mensaje emergente) automaticamente"
|
187 |
|
188 |
-
#: plugin-options/general-options.php:
|
189 |
msgid "Open link after click into \"Compare\" button\"."
|
190 |
msgstr "Abrir link despues de hacer click en \"Comparar\""
|
191 |
|
192 |
-
#: plugin-options/general-options.php:
|
193 |
msgid "Table Settings"
|
194 |
msgstr "Opciones de tabla"
|
195 |
|
196 |
-
#: plugin-options/general-options.php:
|
197 |
msgid "Table title"
|
198 |
msgstr "Titulo de tabla"
|
199 |
|
200 |
-
#: plugin-options/general-options.php:
|
201 |
msgid "Type the text to use for the table title."
|
202 |
msgstr "Escribe el texto del boton/link comparar."
|
203 |
|
204 |
-
#: plugin-options/general-options.php:
|
205 |
msgid "Compare products"
|
206 |
msgstr "Comparador de productos"
|
207 |
|
208 |
-
#: plugin-options/general-options.php:
|
209 |
msgid "Fields to show"
|
210 |
msgstr "Mostrar boton en la lista de productos"
|
211 |
|
212 |
-
#: plugin-options/general-options.php:
|
213 |
msgid ""
|
214 |
"Select the fields to show in the comparison table and order them by "
|
215 |
"drag&drop (are included also the woocommerce attributes)"
|
@@ -218,54 +227,54 @@ msgstr ""
|
|
218 |
"simplemente arrastrandolos (estan incluidos los atributos de productos de "
|
219 |
"woocommerce)"
|
220 |
|
221 |
-
#: plugin-options/general-options.php:
|
222 |
msgid "Repeat \"Price\" field"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: plugin-options/general-options.php:
|
226 |
msgid "Repeat the \"Price\" field at the end of the table"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: plugin-options/general-options.php:
|
230 |
msgid "Repeat \"Add to cart\" field"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: plugin-options/general-options.php:
|
234 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: plugin-options/general-options.php:
|
238 |
msgid "Image size"
|
239 |
msgstr "Imagen"
|
240 |
|
241 |
-
#: plugin-options/general-options.php:
|
242 |
msgid "Set the size for the images"
|
243 |
msgstr "Fijar el tamaño de la imagen"
|
244 |
|
245 |
-
#: templates/admin/premium.php:
|
246 |
#, php-format
|
247 |
msgid ""
|
248 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
249 |
"benefit from all features!"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: templates/admin/premium.php:
|
253 |
msgid "UPGRADE"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: templates/admin/premium.php:
|
257 |
msgid "to the premium version"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: templates/admin/premium.php:
|
261 |
msgid "Premium Features"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: templates/admin/premium.php:
|
265 |
msgid "A DEDICATED PAGE"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: templates/admin/premium.php:
|
269 |
#, php-format
|
270 |
msgid ""
|
271 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -275,11 +284,11 @@ msgid ""
|
|
275 |
"whenever they want."
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: templates/admin/premium.php:
|
279 |
msgid "CATEGORY COMPARATION"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: templates/admin/premium.php:
|
283 |
#, php-format
|
284 |
msgid ""
|
285 |
"People are often confused by finding products of different categories in the "
|
@@ -289,11 +298,11 @@ msgid ""
|
|
289 |
"affinity."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: templates/admin/premium.php:
|
293 |
msgid "CATEGORY EXCLUSION "
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: templates/admin/premium.php:
|
297 |
#, php-format
|
298 |
msgid ""
|
299 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -304,11 +313,11 @@ msgid ""
|
|
304 |
"selected categories."
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: templates/admin/premium.php:
|
308 |
msgid "TABLE IMAGE"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: templates/admin/premium.php:
|
312 |
#, php-format
|
313 |
msgid ""
|
314 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -316,11 +325,11 @@ msgid ""
|
|
316 |
"table to your users. "
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: templates/admin/premium.php:
|
320 |
msgid "DYNAMIC FIELDS"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: templates/admin/premium.php:
|
324 |
#, php-format
|
325 |
msgid ""
|
326 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -329,11 +338,11 @@ msgid ""
|
|
329 |
"be no more empty lines in your comparison table."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: templates/admin/premium.php:
|
333 |
msgid "SOCIAL NETWORK SHARING"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: templates/admin/premium.php:
|
337 |
#, php-format
|
338 |
msgid ""
|
339 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -342,11 +351,11 @@ msgid ""
|
|
342 |
"products they have selected."
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: templates/admin/premium.php:
|
346 |
msgid "RELATED PRODUCTS"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: templates/admin/premium.php:
|
350 |
#, php-format
|
351 |
msgid ""
|
352 |
"All the products that have common categories and/or tags with those in the "
|
@@ -356,11 +365,11 @@ msgid ""
|
|
356 |
"interested into."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: templates/admin/premium.php:
|
360 |
msgid "CUSTOMIZABLE STYLE"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: templates/admin/premium.php:
|
364 |
#, php-format
|
365 |
msgid ""
|
366 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -369,11 +378,11 @@ msgid ""
|
|
369 |
"to get to the best result."
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: templates/admin/premium.php:
|
373 |
msgid "CUSTOMIZED ATTRIBUTES"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: templates/admin/premium.php:
|
377 |
#, php-format
|
378 |
msgid ""
|
379 |
"Let you users compare products following every feature, and considering also "
|
@@ -381,33 +390,45 @@ msgid ""
|
|
381 |
"product detail page. Every single detail will be included."
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: templates/admin/premium.php:
|
385 |
msgid "A TAILORED TABLE"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: templates/admin/premium.php:
|
389 |
#, php-format
|
390 |
msgid ""
|
391 |
"Select the products you want to compare and the system will offer you the "
|
392 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: templates/admin/premium.php:
|
396 |
-
msgid "
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: templates/admin/premium.php:
|
400 |
msgid ""
|
401 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
402 |
"complete list of products added to the compare tab and avoid to open the "
|
403 |
"popup to check its existence. "
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
msgid "Close window [X]"
|
408 |
msgstr "Cerrar ventana [X]"
|
409 |
|
410 |
-
#: templates/compare.php:
|
411 |
msgid "No products added in the compare table."
|
412 |
msgstr "Comparador de productos"
|
413 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:31+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:31+0100\n"
|
6 |
"Last-Translator: Radi Angelov <fullmetalradi@hotmail.com>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: es_ES\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
+
#: includes/class.yith-woocompare-admin.php:119
|
21 |
+
#: includes/class.yith-woocompare-admin.php:143
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-woocompare-admin.php:153
|
34 |
+
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Comparar"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/class.yith-woocompare-admin.php:253
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/class.yith-woocompare-admin.php:254
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
73 |
msgid "Added"
|
74 |
msgstr "Añadido"
|
75 |
|
76 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "Comparacion de producto"
|
79 |
|
80 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
81 |
+
msgid "Close"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
85 |
msgid "In stock"
|
86 |
msgstr "En stock"
|
87 |
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
89 |
msgid "No products to compare"
|
90 |
msgstr "Comparador de productos vacio"
|
91 |
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
93 |
msgid "Remove"
|
94 |
msgstr "Eliminar"
|
95 |
|
96 |
+
#: includes/class.yith-woocompare-helper.php:46
|
97 |
msgid "Image"
|
98 |
msgstr "Imagen"
|
99 |
|
100 |
+
#: includes/class.yith-woocompare-helper.php:47
|
101 |
#: widgets/class.yith-woocompare-widget.php:68
|
102 |
msgid "Title"
|
103 |
msgstr "Titulo"
|
104 |
|
105 |
+
#: includes/class.yith-woocompare-helper.php:48
|
106 |
msgid "Price"
|
107 |
msgstr "Precio"
|
108 |
|
109 |
+
#: includes/class.yith-woocompare-helper.php:49
|
110 |
msgid "Add to cart"
|
111 |
msgstr "Añadir al carrito"
|
112 |
|
113 |
+
#: includes/class.yith-woocompare-helper.php:50
|
114 |
msgid "Description"
|
115 |
msgstr "Descripcion"
|
116 |
|
117 |
+
#: includes/class.yith-woocompare-helper.php:51
|
118 |
+
msgid "Sku"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:52
|
122 |
msgid "Availability"
|
123 |
msgstr "Disponibilidad"
|
124 |
|
125 |
+
#: includes/class.yith-woocompare-helper.php:53
|
126 |
msgid "Weight"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/class.yith-woocompare-helper.php:54
|
130 |
msgid "Dimensions"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: init.php:42
|
134 |
msgid ""
|
135 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
136 |
"WooCommerce in order to work."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: init.php:50
|
140 |
msgid ""
|
141 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
142 |
"are using the premium one."
|
151 |
msgstr "Link o Boton"
|
152 |
|
153 |
#: plugin-options/general-options.php:25
|
154 |
+
#, fuzzy
|
155 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
156 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
157 |
msgstr "Elige si deseas usar boton o link"
|
158 |
|
159 |
+
#: plugin-options/general-options.php:32
|
160 |
msgid "Link"
|
161 |
msgstr "Enlace"
|
162 |
|
163 |
+
#: plugin-options/general-options.php:33
|
164 |
msgid "Button"
|
165 |
msgstr "Boton"
|
166 |
|
167 |
+
#: plugin-options/general-options.php:38
|
168 |
msgid "Link/Button text"
|
169 |
msgstr "Texto del boton/link"
|
170 |
|
171 |
+
#: plugin-options/general-options.php:39
|
172 |
msgid "Type the text to use for the button or the link of the compare."
|
173 |
msgstr "Escribe el texto del boton/link comparar."
|
174 |
|
175 |
+
#: plugin-options/general-options.php:47
|
176 |
msgid "Show button in single product page"
|
177 |
msgstr "Mostrar boton en pagina de producto individual"
|
178 |
|
179 |
+
#: plugin-options/general-options.php:48
|
180 |
msgid "Say if you want to show the button in the single product page."
|
181 |
msgstr ""
|
182 |
"¿Quieres mostrar el boton de comparar en la pagina individual de cada "
|
183 |
"producto?"
|
184 |
|
185 |
+
#: plugin-options/general-options.php:56
|
186 |
msgid "Show button in products list"
|
187 |
msgstr "Mostrar boton en la lista de productos"
|
188 |
|
189 |
+
#: plugin-options/general-options.php:57
|
190 |
msgid "Say if you want to show the button in the products list."
|
191 |
msgstr "¿Quieres mostrar el boton de comparar en la lista de productos?"
|
192 |
|
193 |
+
#: plugin-options/general-options.php:65
|
194 |
msgid "Open automatically lightbox"
|
195 |
msgstr "Abrir lightbox (mensaje emergente) automaticamente"
|
196 |
|
197 |
+
#: plugin-options/general-options.php:66
|
198 |
msgid "Open link after click into \"Compare\" button\"."
|
199 |
msgstr "Abrir link despues de hacer click en \"Comparar\""
|
200 |
|
201 |
+
#: plugin-options/general-options.php:79
|
202 |
msgid "Table Settings"
|
203 |
msgstr "Opciones de tabla"
|
204 |
|
205 |
+
#: plugin-options/general-options.php:86
|
206 |
msgid "Table title"
|
207 |
msgstr "Titulo de tabla"
|
208 |
|
209 |
+
#: plugin-options/general-options.php:87
|
210 |
msgid "Type the text to use for the table title."
|
211 |
msgstr "Escribe el texto del boton/link comparar."
|
212 |
|
213 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
214 |
msgid "Compare products"
|
215 |
msgstr "Comparador de productos"
|
216 |
|
217 |
+
#: plugin-options/general-options.php:95
|
218 |
msgid "Fields to show"
|
219 |
msgstr "Mostrar boton en la lista de productos"
|
220 |
|
221 |
+
#: plugin-options/general-options.php:96
|
222 |
msgid ""
|
223 |
"Select the fields to show in the comparison table and order them by "
|
224 |
"drag&drop (are included also the woocommerce attributes)"
|
227 |
"simplemente arrastrandolos (estan incluidos los atributos de productos de "
|
228 |
"woocommerce)"
|
229 |
|
230 |
+
#: plugin-options/general-options.php:104
|
231 |
msgid "Repeat \"Price\" field"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: plugin-options/general-options.php:105
|
235 |
msgid "Repeat the \"Price\" field at the end of the table"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: plugin-options/general-options.php:113
|
239 |
msgid "Repeat \"Add to cart\" field"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: plugin-options/general-options.php:114
|
243 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: plugin-options/general-options.php:122
|
247 |
msgid "Image size"
|
248 |
msgstr "Imagen"
|
249 |
|
250 |
+
#: plugin-options/general-options.php:123
|
251 |
msgid "Set the size for the images"
|
252 |
msgstr "Fijar el tamaño de la imagen"
|
253 |
|
254 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
255 |
#, php-format
|
256 |
msgid ""
|
257 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
258 |
"benefit from all features!"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
262 |
msgid "UPGRADE"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
266 |
msgid "to the premium version"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: templates/admin/premium.php:250
|
270 |
msgid "Premium Features"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: templates/admin/premium.php:258
|
274 |
msgid "A DEDICATED PAGE"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: templates/admin/premium.php:261
|
278 |
#, php-format
|
279 |
msgid ""
|
280 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
284 |
"whenever they want."
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: templates/admin/premium.php:271
|
288 |
msgid "CATEGORY COMPARATION"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: templates/admin/premium.php:274
|
292 |
#, php-format
|
293 |
msgid ""
|
294 |
"People are often confused by finding products of different categories in the "
|
298 |
"affinity."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: templates/admin/premium.php:290
|
302 |
msgid "CATEGORY EXCLUSION "
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: templates/admin/premium.php:293
|
306 |
#, php-format
|
307 |
msgid ""
|
308 |
"In your shop there may be product categories you don't want to be affected "
|
313 |
"selected categories."
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: templates/admin/premium.php:303
|
317 |
msgid "TABLE IMAGE"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: templates/admin/premium.php:306
|
321 |
#, php-format
|
322 |
msgid ""
|
323 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
325 |
"table to your users. "
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: templates/admin/premium.php:322
|
329 |
msgid "DYNAMIC FIELDS"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: templates/admin/premium.php:325
|
333 |
#, php-format
|
334 |
msgid ""
|
335 |
"With this precious feature, you will be able to show in the table only the "
|
338 |
"be no more empty lines in your comparison table."
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: templates/admin/premium.php:335
|
342 |
msgid "SOCIAL NETWORK SHARING"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: templates/admin/premium.php:338
|
346 |
#, php-format
|
347 |
msgid ""
|
348 |
"One of the most appealing features of the premium version of the plugin.Four "
|
351 |
"products they have selected."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: templates/admin/premium.php:354
|
355 |
msgid "RELATED PRODUCTS"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: templates/admin/premium.php:357
|
359 |
#, php-format
|
360 |
msgid ""
|
361 |
"All the products that have common categories and/or tags with those in the "
|
365 |
"interested into."
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: templates/admin/premium.php:367
|
369 |
msgid "CUSTOMIZABLE STYLE"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: templates/admin/premium.php:370
|
373 |
#, php-format
|
374 |
msgid ""
|
375 |
"An advanced option panel that let you change all the colors of the plugin, "
|
378 |
"to get to the best result."
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: templates/admin/premium.php:386
|
382 |
msgid "CUSTOMIZED ATTRIBUTES"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: templates/admin/premium.php:389
|
386 |
#, php-format
|
387 |
msgid ""
|
388 |
"Let you users compare products following every feature, and considering also "
|
390 |
"product detail page. Every single detail will be included."
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: templates/admin/premium.php:399
|
394 |
msgid "A TAILORED TABLE"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: templates/admin/premium.php:402
|
398 |
#, php-format
|
399 |
msgid ""
|
400 |
"Select the products you want to compare and the system will offer you the "
|
401 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: templates/admin/premium.php:418
|
405 |
+
msgid "Compare list - widget"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: templates/admin/premium.php:421
|
409 |
msgid ""
|
410 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
411 |
"complete list of products added to the compare tab and avoid to open the "
|
412 |
"popup to check its existence. "
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: templates/admin/premium.php:431
|
416 |
+
msgid "Compare counter - widget and shortcode"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: templates/admin/premium.php:434
|
420 |
+
msgid ""
|
421 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
422 |
+
"many products they have added to the Compare list, feel free to use the "
|
423 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
424 |
+
"than one click away."
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: templates/compare.php:77
|
428 |
msgid "Close window [X]"
|
429 |
msgstr "Cerrar ventana [X]"
|
430 |
|
431 |
+
#: templates/compare.php:106
|
432 |
msgid "No products added in the compare table."
|
433 |
msgstr "Comparador de productos"
|
434 |
|
languages/yith-woocommerce-compare-fa_IR.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-fa_IR.po
CHANGED
@@ -1,48 +1,47 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Khalil Delavaran <khalil.delavaran@gmail.com>\n"
|
7 |
"Language-Team: Qooqnos <khalil.delavaran@gmail.com>\n"
|
8 |
"Language: fa\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
18 |
|
19 |
-
#: includes/class.yith-woocompare-admin.php:
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
msgid "Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: includes/class.yith-woocompare-admin.php:
|
25 |
-
|
|
|
|
|
|
|
26 |
msgid "Premium Version"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: includes/class.yith-woocompare-admin.php:
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-frontend.php:
|
32 |
-
#: plugin-options/general-options.php:
|
33 |
#: widgets/class.yith-woocompare-widget.php:51
|
34 |
msgid "Compare"
|
35 |
msgstr "سنجش"
|
36 |
|
37 |
-
#: includes/class.yith-woocompare-admin.php:
|
38 |
-
msgid "Plugin Documentation"
|
39 |
-
msgstr ""
|
40 |
-
|
41 |
-
#: includes/class.yith-woocompare-admin.php:240
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: includes/class.yith-woocompare-admin.php:
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -51,11 +50,11 @@ msgid ""
|
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: includes/class.yith-woocompare-admin.php:
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: includes/class.yith-woocompare-admin.php:
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -69,66 +68,74 @@ msgstr ""
|
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: includes/class.yith-woocompare-frontend.php:
|
73 |
msgid "Added"
|
74 |
msgstr "اضافه شد"
|
75 |
|
76 |
-
#: includes/class.yith-woocompare-frontend.php:
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "سنجش محصولات"
|
79 |
|
80 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
81 |
msgid "In stock"
|
82 |
msgstr "داشتن در انبار"
|
83 |
|
84 |
-
#: includes/class.yith-woocompare-frontend.php:
|
85 |
msgid "No products to compare"
|
86 |
msgstr "محصولاتی برای سنجش نیست"
|
87 |
|
88 |
-
#: includes/class.yith-woocompare-frontend.php:
|
89 |
msgid "Remove"
|
90 |
msgstr "پاک"
|
91 |
|
92 |
-
#: includes/class.yith-woocompare-helper.php:
|
93 |
msgid "Image"
|
94 |
msgstr "نگاره"
|
95 |
|
96 |
-
#: includes/class.yith-woocompare-helper.php:
|
97 |
#: widgets/class.yith-woocompare-widget.php:68
|
98 |
msgid "Title"
|
99 |
msgstr "جستار"
|
100 |
|
101 |
-
#: includes/class.yith-woocompare-helper.php:
|
102 |
msgid "Price"
|
103 |
msgstr "قیمت"
|
104 |
|
105 |
-
#: includes/class.yith-woocompare-helper.php:
|
106 |
msgid "Add to cart"
|
107 |
msgstr "افزودن به سبد خرید"
|
108 |
|
109 |
-
#: includes/class.yith-woocompare-helper.php:
|
110 |
msgid "Description"
|
111 |
msgstr "روشنگری"
|
112 |
|
113 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
114 |
msgid "Availability"
|
115 |
msgstr "دسترس پذیری"
|
116 |
|
117 |
-
#: includes/class.yith-woocompare-helper.php:
|
118 |
msgid "Weight"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: includes/class.yith-woocompare-helper.php:
|
122 |
msgid "Dimensions"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: init.php:
|
126 |
msgid ""
|
127 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
128 |
"WooCommerce in order to work."
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: init.php:
|
132 |
msgid ""
|
133 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
134 |
"are using the premium one."
|
@@ -143,70 +150,72 @@ msgid "Link or Button"
|
|
143 |
msgstr "لینک یا دکمه"
|
144 |
|
145 |
#: plugin-options/general-options.php:25
|
146 |
-
|
|
|
|
|
147 |
msgstr "گزینش بکار بردن لینک و یا دکمه برای واکنش دکمه"
|
148 |
|
149 |
-
#: plugin-options/general-options.php:
|
150 |
msgid "Link"
|
151 |
msgstr "لینک"
|
152 |
|
153 |
-
#: plugin-options/general-options.php:
|
154 |
msgid "Button"
|
155 |
msgstr "دکمه"
|
156 |
|
157 |
-
#: plugin-options/general-options.php:
|
158 |
msgid "Link/Button text"
|
159 |
msgstr "لینک یا دکمه"
|
160 |
|
161 |
-
#: plugin-options/general-options.php:
|
162 |
msgid "Type the text to use for the button or the link of the compare."
|
163 |
msgstr "نوشته ای برای بکار بردن دکمه یا لینک مقایسه بنویسید"
|
164 |
|
165 |
-
#: plugin-options/general-options.php:
|
166 |
msgid "Show button in single product page"
|
167 |
msgstr "نمایش دکمه در برگه محصول"
|
168 |
|
169 |
-
#: plugin-options/general-options.php:
|
170 |
msgid "Say if you want to show the button in the single product page."
|
171 |
msgstr "اگر می خواهید دکمه در برگه محصول نمایش داده شود"
|
172 |
|
173 |
-
#: plugin-options/general-options.php:
|
174 |
msgid "Show button in products list"
|
175 |
msgstr "نمایش دکمه در لیست محصولات"
|
176 |
|
177 |
-
#: plugin-options/general-options.php:
|
178 |
msgid "Say if you want to show the button in the products list."
|
179 |
msgstr "اگر می خواهید دکمه در لیست محصول نمایش داده شود"
|
180 |
|
181 |
-
#: plugin-options/general-options.php:
|
182 |
msgid "Open automatically lightbox"
|
183 |
msgstr "باز کردن اتوماتیک جعبه نور"
|
184 |
|
185 |
-
#: plugin-options/general-options.php:
|
186 |
msgid "Open link after click into \"Compare\" button\"."
|
187 |
msgstr " باز کردن پیوند پس از \"سنجش\" دکمه\"کلیک کنید"
|
188 |
|
189 |
-
#: plugin-options/general-options.php:
|
190 |
msgid "Table Settings"
|
191 |
msgstr "پیکربندی جدول"
|
192 |
|
193 |
-
#: plugin-options/general-options.php:
|
194 |
msgid "Table title"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: plugin-options/general-options.php:
|
198 |
msgid "Type the text to use for the table title."
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: plugin-options/general-options.php:
|
202 |
msgid "Compare products"
|
203 |
msgstr "سنجش محصولات"
|
204 |
|
205 |
-
#: plugin-options/general-options.php:
|
206 |
msgid "Fields to show"
|
207 |
msgstr "فیلدهای نمایش"
|
208 |
|
209 |
-
#: plugin-options/general-options.php:
|
210 |
msgid ""
|
211 |
"Select the fields to show in the comparison table and order them by "
|
212 |
"drag&drop (are included also the woocommerce attributes)"
|
@@ -214,54 +223,54 @@ msgstr ""
|
|
214 |
"انتخاب این گزینه برای نشان دادن در جدول سنجش و سفارش سازی آنها با کشیدن و "
|
215 |
"رها کردن دکمه ماوس (ویژگی های ووکامرس را شامل می شود)"
|
216 |
|
217 |
-
#: plugin-options/general-options.php:
|
218 |
msgid "Repeat \"Price\" field"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: plugin-options/general-options.php:
|
222 |
msgid "Repeat the \"Price\" field at the end of the table"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: plugin-options/general-options.php:
|
226 |
msgid "Repeat \"Add to cart\" field"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: plugin-options/general-options.php:
|
230 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: plugin-options/general-options.php:
|
234 |
msgid "Image size"
|
235 |
msgstr "اندازه نگاره"
|
236 |
|
237 |
-
#: plugin-options/general-options.php:
|
238 |
msgid "Set the size for the images"
|
239 |
msgstr "تعیین اندازه برای نگاره"
|
240 |
|
241 |
-
#: templates/admin/premium.php:
|
242 |
#, php-format
|
243 |
msgid ""
|
244 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
245 |
"benefit from all features!"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: templates/admin/premium.php:
|
249 |
msgid "UPGRADE"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: templates/admin/premium.php:
|
253 |
msgid "to the premium version"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: templates/admin/premium.php:
|
257 |
msgid "Premium Features"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: templates/admin/premium.php:
|
261 |
msgid "A DEDICATED PAGE"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: templates/admin/premium.php:
|
265 |
#, php-format
|
266 |
msgid ""
|
267 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -271,11 +280,11 @@ msgid ""
|
|
271 |
"whenever they want."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: templates/admin/premium.php:
|
275 |
msgid "CATEGORY COMPARATION"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: templates/admin/premium.php:
|
279 |
#, php-format
|
280 |
msgid ""
|
281 |
"People are often confused by finding products of different categories in the "
|
@@ -285,11 +294,11 @@ msgid ""
|
|
285 |
"affinity."
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: templates/admin/premium.php:
|
289 |
msgid "CATEGORY EXCLUSION "
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: templates/admin/premium.php:
|
293 |
#, php-format
|
294 |
msgid ""
|
295 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -300,11 +309,11 @@ msgid ""
|
|
300 |
"selected categories."
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: templates/admin/premium.php:
|
304 |
msgid "TABLE IMAGE"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: templates/admin/premium.php:
|
308 |
#, php-format
|
309 |
msgid ""
|
310 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -312,11 +321,11 @@ msgid ""
|
|
312 |
"table to your users. "
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: templates/admin/premium.php:
|
316 |
msgid "DYNAMIC FIELDS"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: templates/admin/premium.php:
|
320 |
#, php-format
|
321 |
msgid ""
|
322 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -325,11 +334,11 @@ msgid ""
|
|
325 |
"be no more empty lines in your comparison table."
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: templates/admin/premium.php:
|
329 |
msgid "SOCIAL NETWORK SHARING"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: templates/admin/premium.php:
|
333 |
#, php-format
|
334 |
msgid ""
|
335 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -338,11 +347,11 @@ msgid ""
|
|
338 |
"products they have selected."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: templates/admin/premium.php:
|
342 |
msgid "RELATED PRODUCTS"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: templates/admin/premium.php:
|
346 |
#, php-format
|
347 |
msgid ""
|
348 |
"All the products that have common categories and/or tags with those in the "
|
@@ -352,11 +361,11 @@ msgid ""
|
|
352 |
"interested into."
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: templates/admin/premium.php:
|
356 |
msgid "CUSTOMIZABLE STYLE"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: templates/admin/premium.php:
|
360 |
#, php-format
|
361 |
msgid ""
|
362 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -365,11 +374,11 @@ msgid ""
|
|
365 |
"to get to the best result."
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: templates/admin/premium.php:
|
369 |
msgid "CUSTOMIZED ATTRIBUTES"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: templates/admin/premium.php:
|
373 |
#, php-format
|
374 |
msgid ""
|
375 |
"Let you users compare products following every feature, and considering also "
|
@@ -377,33 +386,45 @@ msgid ""
|
|
377 |
"product detail page. Every single detail will be included."
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: templates/admin/premium.php:
|
381 |
msgid "A TAILORED TABLE"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: templates/admin/premium.php:
|
385 |
#, php-format
|
386 |
msgid ""
|
387 |
"Select the products you want to compare and the system will offer you the "
|
388 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: templates/admin/premium.php:
|
392 |
-
msgid "
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: templates/admin/premium.php:
|
396 |
msgid ""
|
397 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
398 |
"complete list of products added to the compare tab and avoid to open the "
|
399 |
"popup to check its existence. "
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
msgid "Close window [X]"
|
404 |
msgstr "بستن پنجره [X]"
|
405 |
|
406 |
-
#: templates/compare.php:
|
407 |
msgid "No products added in the compare table."
|
408 |
msgstr "هیچ محصولی افزوده نشده است برای جدول سنجش"
|
409 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:31+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:31+0100\n"
|
6 |
"Last-Translator: Khalil Delavaran <khalil.delavaran@gmail.com>\n"
|
7 |
"Language-Team: Qooqnos <khalil.delavaran@gmail.com>\n"
|
8 |
"Language: fa\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
18 |
|
19 |
+
#: includes/class.yith-woocompare-admin.php:119
|
20 |
+
#: includes/class.yith-woocompare-admin.php:143
|
21 |
msgid "Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: includes/class.yith-woocompare-admin.php:121
|
25 |
+
msgid "License"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: includes/class.yith-woocompare-admin.php:147
|
29 |
msgid "Premium Version"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: includes/class.yith-woocompare-admin.php:153
|
33 |
+
#: includes/class.yith-woocompare-admin.php:154
|
34 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
35 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
36 |
#: widgets/class.yith-woocompare-widget.php:51
|
37 |
msgid "Compare"
|
38 |
msgstr "سنجش"
|
39 |
|
40 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
41 |
msgid "YITH WooCommerce Compare Activated"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: includes/class.yith-woocompare-admin.php:242
|
45 |
#, php-format
|
46 |
msgid ""
|
47 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
50 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: includes/class.yith-woocompare-admin.php:253
|
54 |
msgid "YITH WooCommerce Compare Updated"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: includes/class.yith-woocompare-admin.php:254
|
58 |
#, php-format
|
59 |
msgid ""
|
60 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
68 |
msgid "Do you want to hard crop the image?"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
72 |
msgid "Added"
|
73 |
msgstr "اضافه شد"
|
74 |
|
75 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
76 |
msgid "Product Comparison"
|
77 |
msgstr "سنجش محصولات"
|
78 |
|
79 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
80 |
+
msgid "Close"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
84 |
msgid "In stock"
|
85 |
msgstr "داشتن در انبار"
|
86 |
|
87 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
88 |
msgid "No products to compare"
|
89 |
msgstr "محصولاتی برای سنجش نیست"
|
90 |
|
91 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
92 |
msgid "Remove"
|
93 |
msgstr "پاک"
|
94 |
|
95 |
+
#: includes/class.yith-woocompare-helper.php:46
|
96 |
msgid "Image"
|
97 |
msgstr "نگاره"
|
98 |
|
99 |
+
#: includes/class.yith-woocompare-helper.php:47
|
100 |
#: widgets/class.yith-woocompare-widget.php:68
|
101 |
msgid "Title"
|
102 |
msgstr "جستار"
|
103 |
|
104 |
+
#: includes/class.yith-woocompare-helper.php:48
|
105 |
msgid "Price"
|
106 |
msgstr "قیمت"
|
107 |
|
108 |
+
#: includes/class.yith-woocompare-helper.php:49
|
109 |
msgid "Add to cart"
|
110 |
msgstr "افزودن به سبد خرید"
|
111 |
|
112 |
+
#: includes/class.yith-woocompare-helper.php:50
|
113 |
msgid "Description"
|
114 |
msgstr "روشنگری"
|
115 |
|
116 |
+
#: includes/class.yith-woocompare-helper.php:51
|
117 |
+
msgid "Sku"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: includes/class.yith-woocompare-helper.php:52
|
121 |
msgid "Availability"
|
122 |
msgstr "دسترس پذیری"
|
123 |
|
124 |
+
#: includes/class.yith-woocompare-helper.php:53
|
125 |
msgid "Weight"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: includes/class.yith-woocompare-helper.php:54
|
129 |
msgid "Dimensions"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: init.php:42
|
133 |
msgid ""
|
134 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
135 |
"WooCommerce in order to work."
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: init.php:50
|
139 |
msgid ""
|
140 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
141 |
"are using the premium one."
|
150 |
msgstr "لینک یا دکمه"
|
151 |
|
152 |
#: plugin-options/general-options.php:25
|
153 |
+
#, fuzzy
|
154 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
155 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
156 |
msgstr "گزینش بکار بردن لینک و یا دکمه برای واکنش دکمه"
|
157 |
|
158 |
+
#: plugin-options/general-options.php:32
|
159 |
msgid "Link"
|
160 |
msgstr "لینک"
|
161 |
|
162 |
+
#: plugin-options/general-options.php:33
|
163 |
msgid "Button"
|
164 |
msgstr "دکمه"
|
165 |
|
166 |
+
#: plugin-options/general-options.php:38
|
167 |
msgid "Link/Button text"
|
168 |
msgstr "لینک یا دکمه"
|
169 |
|
170 |
+
#: plugin-options/general-options.php:39
|
171 |
msgid "Type the text to use for the button or the link of the compare."
|
172 |
msgstr "نوشته ای برای بکار بردن دکمه یا لینک مقایسه بنویسید"
|
173 |
|
174 |
+
#: plugin-options/general-options.php:47
|
175 |
msgid "Show button in single product page"
|
176 |
msgstr "نمایش دکمه در برگه محصول"
|
177 |
|
178 |
+
#: plugin-options/general-options.php:48
|
179 |
msgid "Say if you want to show the button in the single product page."
|
180 |
msgstr "اگر می خواهید دکمه در برگه محصول نمایش داده شود"
|
181 |
|
182 |
+
#: plugin-options/general-options.php:56
|
183 |
msgid "Show button in products list"
|
184 |
msgstr "نمایش دکمه در لیست محصولات"
|
185 |
|
186 |
+
#: plugin-options/general-options.php:57
|
187 |
msgid "Say if you want to show the button in the products list."
|
188 |
msgstr "اگر می خواهید دکمه در لیست محصول نمایش داده شود"
|
189 |
|
190 |
+
#: plugin-options/general-options.php:65
|
191 |
msgid "Open automatically lightbox"
|
192 |
msgstr "باز کردن اتوماتیک جعبه نور"
|
193 |
|
194 |
+
#: plugin-options/general-options.php:66
|
195 |
msgid "Open link after click into \"Compare\" button\"."
|
196 |
msgstr " باز کردن پیوند پس از \"سنجش\" دکمه\"کلیک کنید"
|
197 |
|
198 |
+
#: plugin-options/general-options.php:79
|
199 |
msgid "Table Settings"
|
200 |
msgstr "پیکربندی جدول"
|
201 |
|
202 |
+
#: plugin-options/general-options.php:86
|
203 |
msgid "Table title"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: plugin-options/general-options.php:87
|
207 |
msgid "Type the text to use for the table title."
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
211 |
msgid "Compare products"
|
212 |
msgstr "سنجش محصولات"
|
213 |
|
214 |
+
#: plugin-options/general-options.php:95
|
215 |
msgid "Fields to show"
|
216 |
msgstr "فیلدهای نمایش"
|
217 |
|
218 |
+
#: plugin-options/general-options.php:96
|
219 |
msgid ""
|
220 |
"Select the fields to show in the comparison table and order them by "
|
221 |
"drag&drop (are included also the woocommerce attributes)"
|
223 |
"انتخاب این گزینه برای نشان دادن در جدول سنجش و سفارش سازی آنها با کشیدن و "
|
224 |
"رها کردن دکمه ماوس (ویژگی های ووکامرس را شامل می شود)"
|
225 |
|
226 |
+
#: plugin-options/general-options.php:104
|
227 |
msgid "Repeat \"Price\" field"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: plugin-options/general-options.php:105
|
231 |
msgid "Repeat the \"Price\" field at the end of the table"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: plugin-options/general-options.php:113
|
235 |
msgid "Repeat \"Add to cart\" field"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: plugin-options/general-options.php:114
|
239 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: plugin-options/general-options.php:122
|
243 |
msgid "Image size"
|
244 |
msgstr "اندازه نگاره"
|
245 |
|
246 |
+
#: plugin-options/general-options.php:123
|
247 |
msgid "Set the size for the images"
|
248 |
msgstr "تعیین اندازه برای نگاره"
|
249 |
|
250 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
251 |
#, php-format
|
252 |
msgid ""
|
253 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
254 |
"benefit from all features!"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
258 |
msgid "UPGRADE"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
262 |
msgid "to the premium version"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: templates/admin/premium.php:250
|
266 |
msgid "Premium Features"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: templates/admin/premium.php:258
|
270 |
msgid "A DEDICATED PAGE"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: templates/admin/premium.php:261
|
274 |
#, php-format
|
275 |
msgid ""
|
276 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
280 |
"whenever they want."
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: templates/admin/premium.php:271
|
284 |
msgid "CATEGORY COMPARATION"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: templates/admin/premium.php:274
|
288 |
#, php-format
|
289 |
msgid ""
|
290 |
"People are often confused by finding products of different categories in the "
|
294 |
"affinity."
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: templates/admin/premium.php:290
|
298 |
msgid "CATEGORY EXCLUSION "
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: templates/admin/premium.php:293
|
302 |
#, php-format
|
303 |
msgid ""
|
304 |
"In your shop there may be product categories you don't want to be affected "
|
309 |
"selected categories."
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: templates/admin/premium.php:303
|
313 |
msgid "TABLE IMAGE"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: templates/admin/premium.php:306
|
317 |
#, php-format
|
318 |
msgid ""
|
319 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
321 |
"table to your users. "
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: templates/admin/premium.php:322
|
325 |
msgid "DYNAMIC FIELDS"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: templates/admin/premium.php:325
|
329 |
#, php-format
|
330 |
msgid ""
|
331 |
"With this precious feature, you will be able to show in the table only the "
|
334 |
"be no more empty lines in your comparison table."
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: templates/admin/premium.php:335
|
338 |
msgid "SOCIAL NETWORK SHARING"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: templates/admin/premium.php:338
|
342 |
#, php-format
|
343 |
msgid ""
|
344 |
"One of the most appealing features of the premium version of the plugin.Four "
|
347 |
"products they have selected."
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: templates/admin/premium.php:354
|
351 |
msgid "RELATED PRODUCTS"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: templates/admin/premium.php:357
|
355 |
#, php-format
|
356 |
msgid ""
|
357 |
"All the products that have common categories and/or tags with those in the "
|
361 |
"interested into."
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: templates/admin/premium.php:367
|
365 |
msgid "CUSTOMIZABLE STYLE"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: templates/admin/premium.php:370
|
369 |
#, php-format
|
370 |
msgid ""
|
371 |
"An advanced option panel that let you change all the colors of the plugin, "
|
374 |
"to get to the best result."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: templates/admin/premium.php:386
|
378 |
msgid "CUSTOMIZED ATTRIBUTES"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: templates/admin/premium.php:389
|
382 |
#, php-format
|
383 |
msgid ""
|
384 |
"Let you users compare products following every feature, and considering also "
|
386 |
"product detail page. Every single detail will be included."
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: templates/admin/premium.php:399
|
390 |
msgid "A TAILORED TABLE"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: templates/admin/premium.php:402
|
394 |
#, php-format
|
395 |
msgid ""
|
396 |
"Select the products you want to compare and the system will offer you the "
|
397 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: templates/admin/premium.php:418
|
401 |
+
msgid "Compare list - widget"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: templates/admin/premium.php:421
|
405 |
msgid ""
|
406 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
407 |
"complete list of products added to the compare tab and avoid to open the "
|
408 |
"popup to check its existence. "
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: templates/admin/premium.php:431
|
412 |
+
msgid "Compare counter - widget and shortcode"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: templates/admin/premium.php:434
|
416 |
+
msgid ""
|
417 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
418 |
+
"many products they have added to the Compare list, feel free to use the "
|
419 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
420 |
+
"than one click away."
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: templates/compare.php:77
|
424 |
msgid "Close window [X]"
|
425 |
msgstr "بستن پنجره [X]"
|
426 |
|
427 |
+
#: templates/compare.php:106
|
428 |
msgid "No products added in the compare table."
|
429 |
msgstr "هیچ محصولی افزوده نشده است برای جدول سنجش"
|
430 |
|
languages/yith-woocommerce-compare-fr_FR.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-fr_FR.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: YIThemes <support@yithemes.com>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -17,33 +17,32 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
-
#: includes/class.yith-woocompare-admin.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-woocompare-admin.php:
|
26 |
-
|
|
|
|
|
|
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-admin.php:
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
-
#: plugin-options/general-options.php:
|
34 |
#: widgets/class.yith-woocompare-widget.php:51
|
35 |
msgid "Compare"
|
36 |
msgstr "Comparer"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:240
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -52,11 +51,11 @@ msgid ""
|
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class.yith-woocompare-admin.php:
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class.yith-woocompare-admin.php:
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -70,66 +69,74 @@ msgstr ""
|
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class.yith-woocompare-frontend.php:
|
74 |
msgid "Added"
|
75 |
msgstr "Ajouté"
|
76 |
|
77 |
-
#: includes/class.yith-woocompare-frontend.php:
|
78 |
msgid "Product Comparison"
|
79 |
msgstr "Comparaison de produits"
|
80 |
|
81 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
82 |
msgid "In stock"
|
83 |
msgstr "En stock"
|
84 |
|
85 |
-
#: includes/class.yith-woocompare-frontend.php:
|
86 |
msgid "No products to compare"
|
87 |
msgstr "Aucun produits à comparer"
|
88 |
|
89 |
-
#: includes/class.yith-woocompare-frontend.php:
|
90 |
msgid "Remove"
|
91 |
msgstr "Retirer"
|
92 |
|
93 |
-
#: includes/class.yith-woocompare-helper.php:
|
94 |
msgid "Image"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: includes/class.yith-woocompare-helper.php:
|
98 |
#: widgets/class.yith-woocompare-widget.php:68
|
99 |
msgid "Title"
|
100 |
msgstr "Titre"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-helper.php:
|
103 |
msgid "Price"
|
104 |
msgstr "Prix"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Add to cart"
|
108 |
msgstr "Ajouter au panier"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-helper.php:
|
111 |
msgid "Description"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Availability"
|
116 |
msgstr "Disponibilité"
|
117 |
|
118 |
-
#: includes/class.yith-woocompare-helper.php:
|
119 |
msgid "Weight"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/class.yith-woocompare-helper.php:
|
123 |
msgid "Dimensions"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: init.php:
|
127 |
msgid ""
|
128 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
129 |
"WooCommerce in order to work."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: init.php:
|
133 |
msgid ""
|
134 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
135 |
"are using the premium one."
|
@@ -144,70 +151,72 @@ msgid "Link or Button"
|
|
144 |
msgstr "Lien ou bouton"
|
145 |
|
146 |
#: plugin-options/general-options.php:25
|
147 |
-
|
|
|
|
|
148 |
msgstr "utiliser un lien ou un bouton"
|
149 |
|
150 |
-
#: plugin-options/general-options.php:
|
151 |
msgid "Link"
|
152 |
msgstr "lien"
|
153 |
|
154 |
-
#: plugin-options/general-options.php:
|
155 |
msgid "Button"
|
156 |
msgstr "bouton"
|
157 |
|
158 |
-
#: plugin-options/general-options.php:
|
159 |
msgid "Link/Button text"
|
160 |
msgstr "texte du lien ou bouton"
|
161 |
|
162 |
-
#: plugin-options/general-options.php:
|
163 |
msgid "Type the text to use for the button or the link of the compare."
|
164 |
msgstr "inscriver le texte pour le bouton ou le lien pour comparer"
|
165 |
|
166 |
-
#: plugin-options/general-options.php:
|
167 |
msgid "Show button in single product page"
|
168 |
msgstr "montrer le bouton sur page produit"
|
169 |
|
170 |
-
#: plugin-options/general-options.php:
|
171 |
msgid "Say if you want to show the button in the single product page."
|
172 |
msgstr "dites si vous souhaitez montrer le bouton sur page produit"
|
173 |
|
174 |
-
#: plugin-options/general-options.php:
|
175 |
msgid "Show button in products list"
|
176 |
msgstr "montrer le bouton sur liste de produit"
|
177 |
|
178 |
-
#: plugin-options/general-options.php:
|
179 |
msgid "Say if you want to show the button in the products list."
|
180 |
msgstr "dites si vous souhaitez montrer le bouton sur liste de produit"
|
181 |
|
182 |
-
#: plugin-options/general-options.php:
|
183 |
msgid "Open automatically lightbox"
|
184 |
msgstr "ouverture lightbox auto"
|
185 |
|
186 |
-
#: plugin-options/general-options.php:
|
187 |
msgid "Open link after click into \"Compare\" button\"."
|
188 |
msgstr "ouvrir lien apres le click sur bouton"
|
189 |
|
190 |
-
#: plugin-options/general-options.php:
|
191 |
msgid "Table Settings"
|
192 |
msgstr "reglages panneau"
|
193 |
|
194 |
-
#: plugin-options/general-options.php:
|
195 |
msgid "Table title"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: plugin-options/general-options.php:
|
199 |
msgid "Type the text to use for the table title."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: plugin-options/general-options.php:
|
203 |
msgid "Compare products"
|
204 |
msgstr "Comparer les produits"
|
205 |
|
206 |
-
#: plugin-options/general-options.php:
|
207 |
msgid "Fields to show"
|
208 |
msgstr "champs a montrer"
|
209 |
|
210 |
-
#: plugin-options/general-options.php:
|
211 |
msgid ""
|
212 |
"Select the fields to show in the comparison table and order them by "
|
213 |
"drag&drop (are included also the woocommerce attributes)"
|
@@ -215,54 +224,54 @@ msgstr ""
|
|
215 |
"selectionnez les champs a montrer dans le tabelau de comparaison (en faisant "
|
216 |
"glisser deposer)"
|
217 |
|
218 |
-
#: plugin-options/general-options.php:
|
219 |
msgid "Repeat \"Price\" field"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: plugin-options/general-options.php:
|
223 |
msgid "Repeat the \"Price\" field at the end of the table"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: plugin-options/general-options.php:
|
227 |
msgid "Repeat \"Add to cart\" field"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: plugin-options/general-options.php:
|
231 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: plugin-options/general-options.php:
|
235 |
msgid "Image size"
|
236 |
msgstr "taille image"
|
237 |
|
238 |
-
#: plugin-options/general-options.php:
|
239 |
msgid "Set the size for the images"
|
240 |
msgstr "ajuster tialle image"
|
241 |
|
242 |
-
#: templates/admin/premium.php:
|
243 |
#, php-format
|
244 |
msgid ""
|
245 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
246 |
"benefit from all features!"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: templates/admin/premium.php:
|
250 |
msgid "UPGRADE"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: templates/admin/premium.php:
|
254 |
msgid "to the premium version"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: templates/admin/premium.php:
|
258 |
msgid "Premium Features"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: templates/admin/premium.php:
|
262 |
msgid "A DEDICATED PAGE"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: templates/admin/premium.php:
|
266 |
#, php-format
|
267 |
msgid ""
|
268 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -272,11 +281,11 @@ msgid ""
|
|
272 |
"whenever they want."
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: templates/admin/premium.php:
|
276 |
msgid "CATEGORY COMPARATION"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: templates/admin/premium.php:
|
280 |
#, php-format
|
281 |
msgid ""
|
282 |
"People are often confused by finding products of different categories in the "
|
@@ -286,11 +295,11 @@ msgid ""
|
|
286 |
"affinity."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: templates/admin/premium.php:
|
290 |
msgid "CATEGORY EXCLUSION "
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: templates/admin/premium.php:
|
294 |
#, php-format
|
295 |
msgid ""
|
296 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -301,11 +310,11 @@ msgid ""
|
|
301 |
"selected categories."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: templates/admin/premium.php:
|
305 |
msgid "TABLE IMAGE"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: templates/admin/premium.php:
|
309 |
#, php-format
|
310 |
msgid ""
|
311 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -313,11 +322,11 @@ msgid ""
|
|
313 |
"table to your users. "
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: templates/admin/premium.php:
|
317 |
msgid "DYNAMIC FIELDS"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: templates/admin/premium.php:
|
321 |
#, php-format
|
322 |
msgid ""
|
323 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -326,11 +335,11 @@ msgid ""
|
|
326 |
"be no more empty lines in your comparison table."
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: templates/admin/premium.php:
|
330 |
msgid "SOCIAL NETWORK SHARING"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: templates/admin/premium.php:
|
334 |
#, php-format
|
335 |
msgid ""
|
336 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -339,11 +348,11 @@ msgid ""
|
|
339 |
"products they have selected."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: templates/admin/premium.php:
|
343 |
msgid "RELATED PRODUCTS"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: templates/admin/premium.php:
|
347 |
#, php-format
|
348 |
msgid ""
|
349 |
"All the products that have common categories and/or tags with those in the "
|
@@ -353,11 +362,11 @@ msgid ""
|
|
353 |
"interested into."
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: templates/admin/premium.php:
|
357 |
msgid "CUSTOMIZABLE STYLE"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: templates/admin/premium.php:
|
361 |
#, php-format
|
362 |
msgid ""
|
363 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -366,11 +375,11 @@ msgid ""
|
|
366 |
"to get to the best result."
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: templates/admin/premium.php:
|
370 |
msgid "CUSTOMIZED ATTRIBUTES"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: templates/admin/premium.php:
|
374 |
#, php-format
|
375 |
msgid ""
|
376 |
"Let you users compare products following every feature, and considering also "
|
@@ -378,33 +387,45 @@ msgid ""
|
|
378 |
"product detail page. Every single detail will be included."
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: templates/admin/premium.php:
|
382 |
msgid "A TAILORED TABLE"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: templates/admin/premium.php:
|
386 |
#, php-format
|
387 |
msgid ""
|
388 |
"Select the products you want to compare and the system will offer you the "
|
389 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: templates/admin/premium.php:
|
393 |
-
msgid "
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: templates/admin/premium.php:
|
397 |
msgid ""
|
398 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
399 |
"complete list of products added to the compare tab and avoid to open the "
|
400 |
"popup to check its existence. "
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
msgid "Close window [X]"
|
405 |
msgstr "Fermer ce tableau"
|
406 |
|
407 |
-
#: templates/compare.php:
|
408 |
msgid "No products added in the compare table."
|
409 |
msgstr "Aucun produit à comparer"
|
410 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:32+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:32+0100\n"
|
6 |
"Last-Translator: YIThemes <support@yithemes.com>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
+
#: includes/class.yith-woocompare-admin.php:119
|
21 |
+
#: includes/class.yith-woocompare-admin.php:143
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-woocompare-admin.php:153
|
34 |
+
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Comparer"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/class.yith-woocompare-admin.php:253
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/class.yith-woocompare-admin.php:254
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
73 |
msgid "Added"
|
74 |
msgstr "Ajouté"
|
75 |
|
76 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "Comparaison de produits"
|
79 |
|
80 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
81 |
+
msgid "Close"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
85 |
msgid "In stock"
|
86 |
msgstr "En stock"
|
87 |
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
89 |
msgid "No products to compare"
|
90 |
msgstr "Aucun produits à comparer"
|
91 |
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
93 |
msgid "Remove"
|
94 |
msgstr "Retirer"
|
95 |
|
96 |
+
#: includes/class.yith-woocompare-helper.php:46
|
97 |
msgid "Image"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/class.yith-woocompare-helper.php:47
|
101 |
#: widgets/class.yith-woocompare-widget.php:68
|
102 |
msgid "Title"
|
103 |
msgstr "Titre"
|
104 |
|
105 |
+
#: includes/class.yith-woocompare-helper.php:48
|
106 |
msgid "Price"
|
107 |
msgstr "Prix"
|
108 |
|
109 |
+
#: includes/class.yith-woocompare-helper.php:49
|
110 |
msgid "Add to cart"
|
111 |
msgstr "Ajouter au panier"
|
112 |
|
113 |
+
#: includes/class.yith-woocompare-helper.php:50
|
114 |
msgid "Description"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/class.yith-woocompare-helper.php:51
|
118 |
+
msgid "Sku"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:52
|
122 |
msgid "Availability"
|
123 |
msgstr "Disponibilité"
|
124 |
|
125 |
+
#: includes/class.yith-woocompare-helper.php:53
|
126 |
msgid "Weight"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/class.yith-woocompare-helper.php:54
|
130 |
msgid "Dimensions"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: init.php:42
|
134 |
msgid ""
|
135 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
136 |
"WooCommerce in order to work."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: init.php:50
|
140 |
msgid ""
|
141 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
142 |
"are using the premium one."
|
151 |
msgstr "Lien ou bouton"
|
152 |
|
153 |
#: plugin-options/general-options.php:25
|
154 |
+
#, fuzzy
|
155 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
156 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
157 |
msgstr "utiliser un lien ou un bouton"
|
158 |
|
159 |
+
#: plugin-options/general-options.php:32
|
160 |
msgid "Link"
|
161 |
msgstr "lien"
|
162 |
|
163 |
+
#: plugin-options/general-options.php:33
|
164 |
msgid "Button"
|
165 |
msgstr "bouton"
|
166 |
|
167 |
+
#: plugin-options/general-options.php:38
|
168 |
msgid "Link/Button text"
|
169 |
msgstr "texte du lien ou bouton"
|
170 |
|
171 |
+
#: plugin-options/general-options.php:39
|
172 |
msgid "Type the text to use for the button or the link of the compare."
|
173 |
msgstr "inscriver le texte pour le bouton ou le lien pour comparer"
|
174 |
|
175 |
+
#: plugin-options/general-options.php:47
|
176 |
msgid "Show button in single product page"
|
177 |
msgstr "montrer le bouton sur page produit"
|
178 |
|
179 |
+
#: plugin-options/general-options.php:48
|
180 |
msgid "Say if you want to show the button in the single product page."
|
181 |
msgstr "dites si vous souhaitez montrer le bouton sur page produit"
|
182 |
|
183 |
+
#: plugin-options/general-options.php:56
|
184 |
msgid "Show button in products list"
|
185 |
msgstr "montrer le bouton sur liste de produit"
|
186 |
|
187 |
+
#: plugin-options/general-options.php:57
|
188 |
msgid "Say if you want to show the button in the products list."
|
189 |
msgstr "dites si vous souhaitez montrer le bouton sur liste de produit"
|
190 |
|
191 |
+
#: plugin-options/general-options.php:65
|
192 |
msgid "Open automatically lightbox"
|
193 |
msgstr "ouverture lightbox auto"
|
194 |
|
195 |
+
#: plugin-options/general-options.php:66
|
196 |
msgid "Open link after click into \"Compare\" button\"."
|
197 |
msgstr "ouvrir lien apres le click sur bouton"
|
198 |
|
199 |
+
#: plugin-options/general-options.php:79
|
200 |
msgid "Table Settings"
|
201 |
msgstr "reglages panneau"
|
202 |
|
203 |
+
#: plugin-options/general-options.php:86
|
204 |
msgid "Table title"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: plugin-options/general-options.php:87
|
208 |
msgid "Type the text to use for the table title."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
212 |
msgid "Compare products"
|
213 |
msgstr "Comparer les produits"
|
214 |
|
215 |
+
#: plugin-options/general-options.php:95
|
216 |
msgid "Fields to show"
|
217 |
msgstr "champs a montrer"
|
218 |
|
219 |
+
#: plugin-options/general-options.php:96
|
220 |
msgid ""
|
221 |
"Select the fields to show in the comparison table and order them by "
|
222 |
"drag&drop (are included also the woocommerce attributes)"
|
224 |
"selectionnez les champs a montrer dans le tabelau de comparaison (en faisant "
|
225 |
"glisser deposer)"
|
226 |
|
227 |
+
#: plugin-options/general-options.php:104
|
228 |
msgid "Repeat \"Price\" field"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: plugin-options/general-options.php:105
|
232 |
msgid "Repeat the \"Price\" field at the end of the table"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: plugin-options/general-options.php:113
|
236 |
msgid "Repeat \"Add to cart\" field"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: plugin-options/general-options.php:114
|
240 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: plugin-options/general-options.php:122
|
244 |
msgid "Image size"
|
245 |
msgstr "taille image"
|
246 |
|
247 |
+
#: plugin-options/general-options.php:123
|
248 |
msgid "Set the size for the images"
|
249 |
msgstr "ajuster tialle image"
|
250 |
|
251 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
252 |
#, php-format
|
253 |
msgid ""
|
254 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
255 |
"benefit from all features!"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
259 |
msgid "UPGRADE"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
263 |
msgid "to the premium version"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: templates/admin/premium.php:250
|
267 |
msgid "Premium Features"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: templates/admin/premium.php:258
|
271 |
msgid "A DEDICATED PAGE"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: templates/admin/premium.php:261
|
275 |
#, php-format
|
276 |
msgid ""
|
277 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
281 |
"whenever they want."
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: templates/admin/premium.php:271
|
285 |
msgid "CATEGORY COMPARATION"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: templates/admin/premium.php:274
|
289 |
#, php-format
|
290 |
msgid ""
|
291 |
"People are often confused by finding products of different categories in the "
|
295 |
"affinity."
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: templates/admin/premium.php:290
|
299 |
msgid "CATEGORY EXCLUSION "
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: templates/admin/premium.php:293
|
303 |
#, php-format
|
304 |
msgid ""
|
305 |
"In your shop there may be product categories you don't want to be affected "
|
310 |
"selected categories."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: templates/admin/premium.php:303
|
314 |
msgid "TABLE IMAGE"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: templates/admin/premium.php:306
|
318 |
#, php-format
|
319 |
msgid ""
|
320 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
322 |
"table to your users. "
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: templates/admin/premium.php:322
|
326 |
msgid "DYNAMIC FIELDS"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: templates/admin/premium.php:325
|
330 |
#, php-format
|
331 |
msgid ""
|
332 |
"With this precious feature, you will be able to show in the table only the "
|
335 |
"be no more empty lines in your comparison table."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: templates/admin/premium.php:335
|
339 |
msgid "SOCIAL NETWORK SHARING"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: templates/admin/premium.php:338
|
343 |
#, php-format
|
344 |
msgid ""
|
345 |
"One of the most appealing features of the premium version of the plugin.Four "
|
348 |
"products they have selected."
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: templates/admin/premium.php:354
|
352 |
msgid "RELATED PRODUCTS"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: templates/admin/premium.php:357
|
356 |
#, php-format
|
357 |
msgid ""
|
358 |
"All the products that have common categories and/or tags with those in the "
|
362 |
"interested into."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: templates/admin/premium.php:367
|
366 |
msgid "CUSTOMIZABLE STYLE"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: templates/admin/premium.php:370
|
370 |
#, php-format
|
371 |
msgid ""
|
372 |
"An advanced option panel that let you change all the colors of the plugin, "
|
375 |
"to get to the best result."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: templates/admin/premium.php:386
|
379 |
msgid "CUSTOMIZED ATTRIBUTES"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: templates/admin/premium.php:389
|
383 |
#, php-format
|
384 |
msgid ""
|
385 |
"Let you users compare products following every feature, and considering also "
|
387 |
"product detail page. Every single detail will be included."
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: templates/admin/premium.php:399
|
391 |
msgid "A TAILORED TABLE"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: templates/admin/premium.php:402
|
395 |
#, php-format
|
396 |
msgid ""
|
397 |
"Select the products you want to compare and the system will offer you the "
|
398 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: templates/admin/premium.php:418
|
402 |
+
msgid "Compare list - widget"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: templates/admin/premium.php:421
|
406 |
msgid ""
|
407 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
408 |
"complete list of products added to the compare tab and avoid to open the "
|
409 |
"popup to check its existence. "
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: templates/admin/premium.php:431
|
413 |
+
msgid "Compare counter - widget and shortcode"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: templates/admin/premium.php:434
|
417 |
+
msgid ""
|
418 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
419 |
+
"many products they have added to the Compare list, feel free to use the "
|
420 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
421 |
+
"than one click away."
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: templates/compare.php:77
|
425 |
msgid "Close window [X]"
|
426 |
msgstr "Fermer ce tableau"
|
427 |
|
428 |
+
#: templates/compare.php:106
|
429 |
msgid "No products added in the compare table."
|
430 |
msgstr "Aucun produit à comparer"
|
431 |
|
languages/yith-woocommerce-compare-it_IT.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-it_IT.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: it\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -23,27 +23,26 @@ msgid "Settings"
|
|
23 |
msgstr "Impostazioni"
|
24 |
|
25 |
#: includes/class.yith-woocompare-admin.php:121
|
|
|
|
|
|
|
26 |
#: includes/class.yith-woocompare-admin.php:147
|
27 |
msgid "Premium Version"
|
28 |
msgstr "Versione premium"
|
29 |
|
30 |
#: includes/class.yith-woocompare-admin.php:153
|
31 |
#: includes/class.yith-woocompare-admin.php:154
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
34 |
#: widgets/class.yith-woocompare-widget.php:51
|
35 |
msgid "Compare"
|
36 |
msgstr "Confronta"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr "Documentazione plugin"
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:237
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr "YITH WooCommerce Compare attivato"
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -57,11 +56,11 @@ msgstr ""
|
|
57 |
"WooCommerce Compare con molte nuove opzioni, <a href=\"%s\">scoprila subito</"
|
58 |
"a>."
|
59 |
|
60 |
-
#: includes/class.yith-woocompare-admin.php:
|
61 |
msgid "YITH WooCommerce Compare Updated"
|
62 |
msgstr "YITH WooCommerce Compare aggiornato"
|
63 |
|
64 |
-
#: includes/class.yith-woocompare-admin.php:
|
65 |
#, php-format
|
66 |
msgid ""
|
67 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -77,64 +76,68 @@ msgstr ""
|
|
77 |
"Compare è stato aggiornato includendo nuove opzioni, <a href=\"%s\">scopri "
|
78 |
"la versione PREMIUM</a>."
|
79 |
|
80 |
-
#: includes/class.yith-woocompare-admin.php:
|
81 |
msgid "Do you want to hard crop the image?"
|
82 |
msgstr "Vuoi ritagliare questa immagine?"
|
83 |
|
84 |
-
#: includes/class.yith-woocompare-frontend.php:
|
85 |
msgid "Added"
|
86 |
msgstr "Aggiunto"
|
87 |
|
88 |
-
#: includes/class.yith-woocompare-frontend.php:
|
89 |
msgid "Product Comparison"
|
90 |
msgstr "Comparazione Prodotto"
|
91 |
|
92 |
-
#: includes/class.yith-woocompare-frontend.php:
|
93 |
msgid "Close"
|
94 |
msgstr "Chiudi"
|
95 |
|
96 |
-
#: includes/class.yith-woocompare-frontend.php:
|
97 |
msgid "In stock"
|
98 |
msgstr "In stock"
|
99 |
|
100 |
-
#: includes/class.yith-woocompare-frontend.php:
|
101 |
msgid "No products to compare"
|
102 |
msgstr "Nessun prodotto da comparare"
|
103 |
|
104 |
-
#: includes/class.yith-woocompare-frontend.php:
|
105 |
msgid "Remove"
|
106 |
msgstr "Rimuovi"
|
107 |
|
108 |
-
#: includes/class.yith-woocompare-helper.php:
|
109 |
msgid "Image"
|
110 |
msgstr "Immagine"
|
111 |
|
112 |
-
#: includes/class.yith-woocompare-helper.php:
|
113 |
#: widgets/class.yith-woocompare-widget.php:68
|
114 |
msgid "Title"
|
115 |
msgstr "Titolo"
|
116 |
|
117 |
-
#: includes/class.yith-woocompare-helper.php:
|
118 |
msgid "Price"
|
119 |
msgstr "Prezzo"
|
120 |
|
121 |
-
#: includes/class.yith-woocompare-helper.php:
|
122 |
msgid "Add to cart"
|
123 |
msgstr "Aggiungi al carrello"
|
124 |
|
125 |
-
#: includes/class.yith-woocompare-helper.php:
|
126 |
msgid "Description"
|
127 |
msgstr "Descrizione"
|
128 |
|
129 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
130 |
msgid "Availability"
|
131 |
msgstr "Disponibilità"
|
132 |
|
133 |
-
#: includes/class.yith-woocompare-helper.php:
|
134 |
msgid "Weight"
|
135 |
msgstr "Peso"
|
136 |
|
137 |
-
#: includes/class.yith-woocompare-helper.php:
|
138 |
msgid "Dimensions"
|
139 |
msgstr "Dimensioni"
|
140 |
|
@@ -262,7 +265,7 @@ msgstr "Dimensione immagine"
|
|
262 |
msgid "Set the size for the images"
|
263 |
msgstr "Imposta la dimensione per le immagini"
|
264 |
|
265 |
-
#: templates/admin/premium.php:
|
266 |
#, php-format
|
267 |
msgid ""
|
268 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
@@ -271,23 +274,23 @@ msgstr ""
|
|
271 |
"Aggiorna alla %1$sversione premium%2$s di %1$sYITH WooCommerce Compare%2$s "
|
272 |
"per usufruire di tutte le sue funzionalità!"
|
273 |
|
274 |
-
#: templates/admin/premium.php:
|
275 |
msgid "UPGRADE"
|
276 |
msgstr "AGGIORNA"
|
277 |
|
278 |
-
#: templates/admin/premium.php:
|
279 |
msgid "to the premium version"
|
280 |
msgstr "alla versione premium"
|
281 |
|
282 |
-
#: templates/admin/premium.php:
|
283 |
msgid "Premium Features"
|
284 |
msgstr "Funzionalità premium"
|
285 |
|
286 |
-
#: templates/admin/premium.php:
|
287 |
msgid "A DEDICATED PAGE"
|
288 |
msgstr "UNA PAGINA DEDICATA"
|
289 |
|
290 |
-
#: templates/admin/premium.php:
|
291 |
#, php-format
|
292 |
msgid ""
|
293 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -302,11 +305,11 @@ msgstr ""
|
|
302 |
"aggiungendola tra le voci di menu, potrai dare ai tuoi utenti la possibilità "
|
303 |
"di accedervi in qualsiasi momento e in maniera agevole."
|
304 |
|
305 |
-
#: templates/admin/premium.php:
|
306 |
msgid "CATEGORY COMPARATION"
|
307 |
msgstr "CONFRONTO PER CATEGORIA"
|
308 |
|
309 |
-
#: templates/admin/premium.php:
|
310 |
#, php-format
|
311 |
msgid ""
|
312 |
"People are often confused by finding products of different categories in the "
|
@@ -322,11 +325,11 @@ msgstr ""
|
|
322 |
"suddividere i prodotti presenti nella tabella a seconda della categoria di "
|
323 |
"appartenenza."
|
324 |
|
325 |
-
#: templates/admin/premium.php:
|
326 |
msgid "CATEGORY EXCLUSION "
|
327 |
msgstr "ESCLUSIONE CATEGORIE"
|
328 |
|
329 |
-
#: templates/admin/premium.php:
|
330 |
#, php-format
|
331 |
msgid ""
|
332 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -344,11 +347,11 @@ msgstr ""
|
|
344 |
"comportamento, consentendo il confronto solo sui prodotti associati con le "
|
345 |
"categorie selezionate."
|
346 |
|
347 |
-
#: templates/admin/premium.php:
|
348 |
msgid "TABLE IMAGE"
|
349 |
msgstr "IMMAGINE TABELLA"
|
350 |
|
351 |
-
#: templates/admin/premium.php:
|
352 |
#, php-format
|
353 |
msgid ""
|
354 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -359,11 +362,11 @@ msgstr ""
|
|
359 |
"visualizzata dagli utenti. Seleziona un’immagine, effettua l’upload dal "
|
360 |
"pannello opzioni e mostrala agli utenti in testa alla tabella."
|
361 |
|
362 |
-
#: templates/admin/premium.php:
|
363 |
msgid "DYNAMIC FIELDS"
|
364 |
msgstr "CAMPI DINAMICI"
|
365 |
|
366 |
-
#: templates/admin/premium.php:
|
367 |
#, php-format
|
368 |
msgid ""
|
369 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -377,11 +380,11 @@ msgstr ""
|
|
377 |
"esisteranno più righe della tabella comparativa senza alcun valore di "
|
378 |
"confronto."
|
379 |
|
380 |
-
#: templates/admin/premium.php:
|
381 |
msgid "SOCIAL NETWORK SHARING"
|
382 |
msgstr "CONDIVISIONE SUI SOCIAL NETWORK"
|
383 |
|
384 |
-
#: templates/admin/premium.php:
|
385 |
#, php-format
|
386 |
msgid ""
|
387 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -394,11 +397,11 @@ msgstr ""
|
|
394 |
"Google+ e Pinterest) e il servizio email per permettere loro di %1$sconvidere"
|
395 |
"%2$s in rete la tabella comparativa dei prodotti che hanno selezionato."
|
396 |
|
397 |
-
#: templates/admin/premium.php:
|
398 |
msgid "RELATED PRODUCTS"
|
399 |
msgstr "PRODOTTI CORRELATI"
|
400 |
|
401 |
-
#: templates/admin/premium.php:
|
402 |
#, php-format
|
403 |
msgid ""
|
404 |
"All the products that have common categories and/or tags with those in the "
|
@@ -413,11 +416,11 @@ msgstr ""
|
|
413 |
"%1$s“touch-friendly”%2$s per invitare i tuoi utenti a scoprire i prodotti "
|
414 |
"del tuo shop affini a quelli che hanno attirato il loro interesse."
|
415 |
|
416 |
-
#: templates/admin/premium.php:
|
417 |
msgid "CUSTOMIZABLE STYLE"
|
418 |
msgstr "STILE PERSONALIZZABILE"
|
419 |
|
420 |
-
#: templates/admin/premium.php:
|
421 |
#, php-format
|
422 |
msgid ""
|
423 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -426,11 +429,11 @@ msgid ""
|
|
426 |
"to get to the best result."
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: templates/admin/premium.php:
|
430 |
msgid "CUSTOMIZED ATTRIBUTES"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: templates/admin/premium.php:
|
434 |
#, php-format
|
435 |
msgid ""
|
436 |
"Let you users compare products following every feature, and considering also "
|
@@ -438,33 +441,45 @@ msgid ""
|
|
438 |
"product detail page. Every single detail will be included."
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: templates/admin/premium.php:
|
442 |
msgid "A TAILORED TABLE"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: templates/admin/premium.php:
|
446 |
#, php-format
|
447 |
msgid ""
|
448 |
"Select the products you want to compare and the system will offer you the "
|
449 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: templates/admin/premium.php:
|
453 |
-
msgid "
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: templates/admin/premium.php:
|
457 |
msgid ""
|
458 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
459 |
"complete list of products added to the compare tab and avoid to open the "
|
460 |
"popup to check its existence. "
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
464 |
msgid "Close window [X]"
|
465 |
msgstr "Chiudi finestra [X]"
|
466 |
|
467 |
-
#: templates/compare.php:
|
468 |
msgid "No products added in the compare table."
|
469 |
msgstr "Nessun prodotto aggiunto nella tabella di comparazione."
|
470 |
|
@@ -481,6 +496,9 @@ msgstr "YITH WooCommerce Compare Widget"
|
|
481 |
msgid "Clear all"
|
482 |
msgstr "Cancella tutti"
|
483 |
|
|
|
|
|
|
|
484 |
#~ msgid "Choose if you want to use a link or a button for the action button."
|
485 |
#~ msgstr ""
|
486 |
#~ "Scegli se vuoi usare un collegamento o un pulsante per l'azione di "
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:32+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:32+0100\n"
|
6 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: it\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
23 |
msgstr "Impostazioni"
|
24 |
|
25 |
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr "Versione premium"
|
32 |
|
33 |
#: includes/class.yith-woocompare-admin.php:153
|
34 |
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Confronta"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr "YITH WooCommerce Compare attivato"
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
56 |
"WooCommerce Compare con molte nuove opzioni, <a href=\"%s\">scoprila subito</"
|
57 |
"a>."
|
58 |
|
59 |
+
#: includes/class.yith-woocompare-admin.php:253
|
60 |
msgid "YITH WooCommerce Compare Updated"
|
61 |
msgstr "YITH WooCommerce Compare aggiornato"
|
62 |
|
63 |
+
#: includes/class.yith-woocompare-admin.php:254
|
64 |
#, php-format
|
65 |
msgid ""
|
66 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
76 |
"Compare è stato aggiornato includendo nuove opzioni, <a href=\"%s\">scopri "
|
77 |
"la versione PREMIUM</a>."
|
78 |
|
79 |
+
#: includes/class.yith-woocompare-admin.php:398
|
80 |
msgid "Do you want to hard crop the image?"
|
81 |
msgstr "Vuoi ritagliare questa immagine?"
|
82 |
|
83 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
84 |
msgid "Added"
|
85 |
msgstr "Aggiunto"
|
86 |
|
87 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
88 |
msgid "Product Comparison"
|
89 |
msgstr "Comparazione Prodotto"
|
90 |
|
91 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
92 |
msgid "Close"
|
93 |
msgstr "Chiudi"
|
94 |
|
95 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
96 |
msgid "In stock"
|
97 |
msgstr "In stock"
|
98 |
|
99 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
100 |
msgid "No products to compare"
|
101 |
msgstr "Nessun prodotto da comparare"
|
102 |
|
103 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
104 |
msgid "Remove"
|
105 |
msgstr "Rimuovi"
|
106 |
|
107 |
+
#: includes/class.yith-woocompare-helper.php:46
|
108 |
msgid "Image"
|
109 |
msgstr "Immagine"
|
110 |
|
111 |
+
#: includes/class.yith-woocompare-helper.php:47
|
112 |
#: widgets/class.yith-woocompare-widget.php:68
|
113 |
msgid "Title"
|
114 |
msgstr "Titolo"
|
115 |
|
116 |
+
#: includes/class.yith-woocompare-helper.php:48
|
117 |
msgid "Price"
|
118 |
msgstr "Prezzo"
|
119 |
|
120 |
+
#: includes/class.yith-woocompare-helper.php:49
|
121 |
msgid "Add to cart"
|
122 |
msgstr "Aggiungi al carrello"
|
123 |
|
124 |
+
#: includes/class.yith-woocompare-helper.php:50
|
125 |
msgid "Description"
|
126 |
msgstr "Descrizione"
|
127 |
|
128 |
+
#: includes/class.yith-woocompare-helper.php:51
|
129 |
+
msgid "Sku"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: includes/class.yith-woocompare-helper.php:52
|
133 |
msgid "Availability"
|
134 |
msgstr "Disponibilità"
|
135 |
|
136 |
+
#: includes/class.yith-woocompare-helper.php:53
|
137 |
msgid "Weight"
|
138 |
msgstr "Peso"
|
139 |
|
140 |
+
#: includes/class.yith-woocompare-helper.php:54
|
141 |
msgid "Dimensions"
|
142 |
msgstr "Dimensioni"
|
143 |
|
265 |
msgid "Set the size for the images"
|
266 |
msgstr "Imposta la dimensione per le immagini"
|
267 |
|
268 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
269 |
#, php-format
|
270 |
msgid ""
|
271 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
274 |
"Aggiorna alla %1$sversione premium%2$s di %1$sYITH WooCommerce Compare%2$s "
|
275 |
"per usufruire di tutte le sue funzionalità!"
|
276 |
|
277 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
278 |
msgid "UPGRADE"
|
279 |
msgstr "AGGIORNA"
|
280 |
|
281 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
282 |
msgid "to the premium version"
|
283 |
msgstr "alla versione premium"
|
284 |
|
285 |
+
#: templates/admin/premium.php:250
|
286 |
msgid "Premium Features"
|
287 |
msgstr "Funzionalità premium"
|
288 |
|
289 |
+
#: templates/admin/premium.php:258
|
290 |
msgid "A DEDICATED PAGE"
|
291 |
msgstr "UNA PAGINA DEDICATA"
|
292 |
|
293 |
+
#: templates/admin/premium.php:261
|
294 |
#, php-format
|
295 |
msgid ""
|
296 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
305 |
"aggiungendola tra le voci di menu, potrai dare ai tuoi utenti la possibilità "
|
306 |
"di accedervi in qualsiasi momento e in maniera agevole."
|
307 |
|
308 |
+
#: templates/admin/premium.php:271
|
309 |
msgid "CATEGORY COMPARATION"
|
310 |
msgstr "CONFRONTO PER CATEGORIA"
|
311 |
|
312 |
+
#: templates/admin/premium.php:274
|
313 |
#, php-format
|
314 |
msgid ""
|
315 |
"People are often confused by finding products of different categories in the "
|
325 |
"suddividere i prodotti presenti nella tabella a seconda della categoria di "
|
326 |
"appartenenza."
|
327 |
|
328 |
+
#: templates/admin/premium.php:290
|
329 |
msgid "CATEGORY EXCLUSION "
|
330 |
msgstr "ESCLUSIONE CATEGORIE"
|
331 |
|
332 |
+
#: templates/admin/premium.php:293
|
333 |
#, php-format
|
334 |
msgid ""
|
335 |
"In your shop there may be product categories you don't want to be affected "
|
347 |
"comportamento, consentendo il confronto solo sui prodotti associati con le "
|
348 |
"categorie selezionate."
|
349 |
|
350 |
+
#: templates/admin/premium.php:303
|
351 |
msgid "TABLE IMAGE"
|
352 |
msgstr "IMMAGINE TABELLA"
|
353 |
|
354 |
+
#: templates/admin/premium.php:306
|
355 |
#, php-format
|
356 |
msgid ""
|
357 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
362 |
"visualizzata dagli utenti. Seleziona un’immagine, effettua l’upload dal "
|
363 |
"pannello opzioni e mostrala agli utenti in testa alla tabella."
|
364 |
|
365 |
+
#: templates/admin/premium.php:322
|
366 |
msgid "DYNAMIC FIELDS"
|
367 |
msgstr "CAMPI DINAMICI"
|
368 |
|
369 |
+
#: templates/admin/premium.php:325
|
370 |
#, php-format
|
371 |
msgid ""
|
372 |
"With this precious feature, you will be able to show in the table only the "
|
380 |
"esisteranno più righe della tabella comparativa senza alcun valore di "
|
381 |
"confronto."
|
382 |
|
383 |
+
#: templates/admin/premium.php:335
|
384 |
msgid "SOCIAL NETWORK SHARING"
|
385 |
msgstr "CONDIVISIONE SUI SOCIAL NETWORK"
|
386 |
|
387 |
+
#: templates/admin/premium.php:338
|
388 |
#, php-format
|
389 |
msgid ""
|
390 |
"One of the most appealing features of the premium version of the plugin.Four "
|
397 |
"Google+ e Pinterest) e il servizio email per permettere loro di %1$sconvidere"
|
398 |
"%2$s in rete la tabella comparativa dei prodotti che hanno selezionato."
|
399 |
|
400 |
+
#: templates/admin/premium.php:354
|
401 |
msgid "RELATED PRODUCTS"
|
402 |
msgstr "PRODOTTI CORRELATI"
|
403 |
|
404 |
+
#: templates/admin/premium.php:357
|
405 |
#, php-format
|
406 |
msgid ""
|
407 |
"All the products that have common categories and/or tags with those in the "
|
416 |
"%1$s“touch-friendly”%2$s per invitare i tuoi utenti a scoprire i prodotti "
|
417 |
"del tuo shop affini a quelli che hanno attirato il loro interesse."
|
418 |
|
419 |
+
#: templates/admin/premium.php:367
|
420 |
msgid "CUSTOMIZABLE STYLE"
|
421 |
msgstr "STILE PERSONALIZZABILE"
|
422 |
|
423 |
+
#: templates/admin/premium.php:370
|
424 |
#, php-format
|
425 |
msgid ""
|
426 |
"An advanced option panel that let you change all the colors of the plugin, "
|
429 |
"to get to the best result."
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: templates/admin/premium.php:386
|
433 |
msgid "CUSTOMIZED ATTRIBUTES"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: templates/admin/premium.php:389
|
437 |
#, php-format
|
438 |
msgid ""
|
439 |
"Let you users compare products following every feature, and considering also "
|
441 |
"product detail page. Every single detail will be included."
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: templates/admin/premium.php:399
|
445 |
msgid "A TAILORED TABLE"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: templates/admin/premium.php:402
|
449 |
#, php-format
|
450 |
msgid ""
|
451 |
"Select the products you want to compare and the system will offer you the "
|
452 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: templates/admin/premium.php:418
|
456 |
+
msgid "Compare list - widget"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: templates/admin/premium.php:421
|
460 |
msgid ""
|
461 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
462 |
"complete list of products added to the compare tab and avoid to open the "
|
463 |
"popup to check its existence. "
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: templates/admin/premium.php:431
|
467 |
+
msgid "Compare counter - widget and shortcode"
|
468 |
+
msgstr ""
|
469 |
+
|
470 |
+
#: templates/admin/premium.php:434
|
471 |
+
msgid ""
|
472 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
473 |
+
"many products they have added to the Compare list, feel free to use the "
|
474 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
475 |
+
"than one click away."
|
476 |
+
msgstr ""
|
477 |
+
|
478 |
+
#: templates/compare.php:77
|
479 |
msgid "Close window [X]"
|
480 |
msgstr "Chiudi finestra [X]"
|
481 |
|
482 |
+
#: templates/compare.php:106
|
483 |
msgid "No products added in the compare table."
|
484 |
msgstr "Nessun prodotto aggiunto nella tabella di comparazione."
|
485 |
|
496 |
msgid "Clear all"
|
497 |
msgstr "Cancella tutti"
|
498 |
|
499 |
+
#~ msgid "Plugin Documentation"
|
500 |
+
#~ msgstr "Documentazione plugin"
|
501 |
+
|
502 |
#~ msgid "Choose if you want to use a link or a button for the action button."
|
503 |
#~ msgstr ""
|
504 |
#~ "Scegli se vuoi usare un collegamento o un pulsante per l'azione di "
|
languages/yith-woocommerce-compare-nl_NL.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-nl_NL.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: admin <admin@localhost.local>\n"
|
8 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
9 |
"Language: nl\n"
|
@@ -12,9 +12,9 @@ msgstr ""
|
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Generator: Poedit 1.
|
16 |
-
"X-Poedit-KeywordsList:
|
17 |
-
"
|
18 |
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
19 |
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
20 |
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
@@ -23,49 +23,33 @@ msgstr ""
|
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
25 |
|
26 |
-
#:
|
27 |
-
|
28 |
-
msgstr ""
|
29 |
-
|
30 |
-
#: assets/js/jquery.colorbox-min.js:7
|
31 |
-
msgid "<button type=\"button\"/>"
|
32 |
-
msgstr ""
|
33 |
-
|
34 |
-
#: assets/js/jquery.colorbox-min.js:7
|
35 |
-
msgid "<div>"
|
36 |
-
msgstr ""
|
37 |
-
|
38 |
-
#: assets/js/jquery.colorbox-min.js:7
|
39 |
-
msgid "<a/>"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:122
|
43 |
-
#: includes/class.yith-woocompare-admin.php:146
|
44 |
msgid "Settings"
|
45 |
msgstr "Instellingen"
|
46 |
|
47 |
-
#: includes/class.yith-woocompare-admin.php:
|
48 |
-
|
|
|
|
|
|
|
49 |
msgid "Premium Version"
|
50 |
msgstr "Premium Versie"
|
51 |
|
52 |
-
#: includes/class.yith-woocompare-admin.php:
|
53 |
-
#: includes/class.yith-woocompare-admin.php:
|
54 |
-
#: includes/class.yith-woocompare-frontend.php:
|
55 |
-
#: plugin-options/general-options.php:
|
56 |
-
#:
|
|
|
57 |
msgid "Compare"
|
58 |
msgstr "Vergelijk"
|
59 |
|
60 |
-
#: includes/class.yith-woocompare-admin.php:
|
61 |
-
msgid "Plugin Documentation"
|
62 |
-
msgstr "Plugin Documentatie"
|
63 |
-
|
64 |
-
#: includes/class.yith-woocompare-admin.php:240
|
65 |
msgid "YITH WooCommerce Compare Activated"
|
66 |
msgstr "YITH WooCommerce Compare Geactiveerd"
|
67 |
|
68 |
-
#: includes/class.yith-woocompare-admin.php:
|
69 |
#, php-format
|
70 |
msgid ""
|
71 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -79,11 +63,11 @@ msgstr ""
|
|
79 |
"PREMIUM versie met veel nieuwe mogelijkheden, <a href=\"%s\">Ontdek het nu</"
|
80 |
"a>."
|
81 |
|
82 |
-
#: includes/class.yith-woocompare-admin.php:
|
83 |
msgid "YITH WooCommerce Compare Updated"
|
84 |
msgstr "YITH WooCommerce Compare geüpdatet"
|
85 |
|
86 |
-
#: includes/class.yith-woocompare-admin.php:
|
87 |
#, php-format
|
88 |
msgid ""
|
89 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -99,64 +83,74 @@ msgstr ""
|
|
99 |
"bijgewerkt met nieuwe beschikbare opties, <a href=\"%s\"> ontdek het PREMIUM "
|
100 |
"versie. </a>"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-admin.php:398
|
103 |
msgid "Do you want to hard crop the image?"
|
104 |
msgstr "Wilt u een harde crop van de afbeelding?"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-frontend.php:
|
107 |
msgid "Added"
|
108 |
msgstr "Toegevoegd"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
111 |
msgid "Product Comparison"
|
112 |
msgstr "Product vergelijk"
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "In stock"
|
116 |
msgstr "Op voorraad"
|
117 |
|
118 |
-
#: includes/class.yith-woocompare-frontend.php:
|
119 |
msgid "No products to compare"
|
120 |
msgstr "Geen producten om te vergelijken"
|
121 |
|
122 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
123 |
msgid "Remove"
|
124 |
msgstr "Verwijder"
|
125 |
|
126 |
-
#: includes/class.yith-woocompare-helper.php:
|
127 |
msgid "Image"
|
128 |
msgstr "Afbeelding"
|
129 |
|
130 |
-
#: includes/class.yith-woocompare-helper.php:
|
131 |
-
#: widgets/class.yith-woocompare-widget.php:68
|
132 |
msgid "Title"
|
133 |
msgstr "Titel"
|
134 |
|
135 |
-
#: includes/class.yith-woocompare-helper.php:
|
136 |
msgid "Price"
|
137 |
msgstr "Prijs"
|
138 |
|
139 |
-
#: includes/class.yith-woocompare-helper.php:
|
140 |
msgid "Add to cart"
|
141 |
msgstr "Bestellen"
|
142 |
|
143 |
-
#: includes/class.yith-woocompare-helper.php:
|
144 |
msgid "Description"
|
145 |
msgstr "Omschrijving"
|
146 |
|
147 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
148 |
msgid "Availability"
|
149 |
msgstr "Beschikbaarheid"
|
150 |
|
151 |
-
#: includes/class.yith-woocompare-helper.php:
|
152 |
msgid "Weight"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: includes/class.yith-woocompare-helper.php:
|
156 |
msgid "Dimensions"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: init.php:
|
160 |
msgid ""
|
161 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
162 |
"WooCommerce in order to work."
|
@@ -164,7 +158,7 @@ msgstr ""
|
|
164 |
"YITH WooCommerce Compare is ingeschalkeld maar nog niet werkzaam. "
|
165 |
"WooCommerce is nodig om dit te laten werken."
|
166 |
|
167 |
-
#: init.php:
|
168 |
msgid ""
|
169 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
170 |
"are using the premium one."
|
@@ -172,82 +166,85 @@ msgstr ""
|
|
172 |
"U kunt niet het gratis versie van YITH WooCommerce Compare gebruiken als u "
|
173 |
"het premium versie gebruikt."
|
174 |
|
175 |
-
#: plugin-options/general-options.php:17
|
176 |
msgid "General Settings"
|
177 |
msgstr "Algemene instellingen"
|
178 |
|
179 |
-
#: plugin-options/general-options.php:24
|
180 |
msgid "Link or Button"
|
181 |
msgstr "Link of Button"
|
182 |
|
183 |
-
#: plugin-options/general-options.php:25
|
184 |
-
|
|
|
|
|
185 |
msgstr "Kies uit button of link als actie button."
|
186 |
|
187 |
-
#: plugin-options/general-options.php:
|
188 |
msgid "Link"
|
189 |
msgstr "Link"
|
190 |
|
191 |
-
#: plugin-options/general-options.php:
|
192 |
msgid "Button"
|
193 |
msgstr "Button"
|
194 |
|
195 |
-
#: plugin-options/general-options.php:
|
196 |
msgid "Link/Button text"
|
197 |
msgstr "Link/Button tekst"
|
198 |
|
199 |
-
#: plugin-options/general-options.php:
|
200 |
msgid "Type the text to use for the button or the link of the compare."
|
201 |
msgstr ""
|
202 |
"Typ hier de tekst om te gebruiken voor de button of link van de "
|
203 |
"vergelijking"
|
204 |
|
205 |
-
#: plugin-options/general-options.php:
|
206 |
msgid "Show button in single product page"
|
207 |
msgstr "Toon button op product pagina"
|
208 |
|
209 |
-
#: plugin-options/general-options.php:
|
210 |
msgid "Say if you want to show the button in the single product page."
|
211 |
msgstr "Selecteer wanneer je een button op de product pagina wilt tonen."
|
212 |
|
213 |
-
#: plugin-options/general-options.php:
|
214 |
msgid "Show button in products list"
|
215 |
msgstr "Toon button op producten overzicht"
|
216 |
|
217 |
-
#: plugin-options/general-options.php:
|
218 |
msgid "Say if you want to show the button in the products list."
|
219 |
msgstr ""
|
220 |
"Selecteer wanneer een button op de productenoverzichts pagina wilt tonen."
|
221 |
|
222 |
-
#: plugin-options/general-options.php:
|
223 |
msgid "Open automatically lightbox"
|
224 |
msgstr "Open automatisch in lightbox"
|
225 |
|
226 |
-
#: plugin-options/general-options.php:
|
227 |
msgid "Open link after click into \"Compare\" button\"."
|
228 |
msgstr "Open de link direct na aanklikken van \"Vergelijk\" button\"."
|
229 |
|
230 |
-
#: plugin-options/general-options.php:
|
231 |
msgid "Table Settings"
|
232 |
msgstr "Tabel instellingen"
|
233 |
|
234 |
-
#: plugin-options/general-options.php:
|
235 |
msgid "Table title"
|
236 |
msgstr "Tabel titel"
|
237 |
|
238 |
-
#: plugin-options/general-options.php:
|
239 |
msgid "Type the text to use for the table title."
|
240 |
msgstr "Typ de tekst om te gebruiken voor de tabel titel"
|
241 |
|
242 |
-
#: plugin-options/general-options.php:
|
|
|
243 |
msgid "Compare products"
|
244 |
msgstr "Vergelijk producten"
|
245 |
|
246 |
-
#: plugin-options/general-options.php:
|
247 |
msgid "Fields to show"
|
248 |
msgstr "Velden tonen"
|
249 |
|
250 |
-
#: plugin-options/general-options.php:
|
251 |
msgid ""
|
252 |
"Select the fields to show in the comparison table and order them by "
|
253 |
"drag&drop (are included also the woocommerce attributes)"
|
@@ -255,31 +252,31 @@ msgstr ""
|
|
255 |
"Selecteer de velden die je in de vergelijkings tabel wilt tonen. Sleep ze "
|
256 |
"met je muis in de gewenste volgorde."
|
257 |
|
258 |
-
#: plugin-options/general-options.php:
|
259 |
msgid "Repeat \"Price\" field"
|
260 |
msgstr "Herhaal \"Prijs\" veld"
|
261 |
|
262 |
-
#: plugin-options/general-options.php:
|
263 |
msgid "Repeat the \"Price\" field at the end of the table"
|
264 |
msgstr "Herhaal het \"Prijs\" veld aan het einde van de tabel"
|
265 |
|
266 |
-
#: plugin-options/general-options.php:
|
267 |
msgid "Repeat \"Add to cart\" field"
|
268 |
msgstr "Herhaal \"Toevoegen aan mandje\" veld"
|
269 |
|
270 |
-
#: plugin-options/general-options.php:
|
271 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
272 |
msgstr "Herhaal \"Toevoegen aan mandje\" veld aan het einde van de tabel"
|
273 |
|
274 |
-
#: plugin-options/general-options.php:
|
275 |
msgid "Image size"
|
276 |
msgstr "Afbeelding formaat"
|
277 |
|
278 |
-
#: plugin-options/general-options.php:
|
279 |
msgid "Set the size for the images"
|
280 |
msgstr "Stel afbeeldings formaat in "
|
281 |
|
282 |
-
#: templates/admin/premium.php:
|
283 |
#, php-format
|
284 |
msgid ""
|
285 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
@@ -288,23 +285,23 @@ msgstr ""
|
|
288 |
"Upgrade naar %1$spremium version%2$s van %1$sYITH WooCommerce Compare%2$s om "
|
289 |
"te profiteren van alle functies!"
|
290 |
|
291 |
-
#: templates/admin/premium.php:
|
292 |
msgid "UPGRADE"
|
293 |
msgstr "UPGRADE"
|
294 |
|
295 |
-
#: templates/admin/premium.php:
|
296 |
msgid "to the premium version"
|
297 |
msgstr "naar het premium versie"
|
298 |
|
299 |
-
#: templates/admin/premium.php:
|
300 |
msgid "Premium Features"
|
301 |
msgstr "Premium Functies"
|
302 |
|
303 |
-
#: templates/admin/premium.php:
|
304 |
msgid "A DEDICATED PAGE"
|
305 |
msgstr "EEN SPECIALE PAGINA"
|
306 |
|
307 |
-
#: templates/admin/premium.php:
|
308 |
#, php-format
|
309 |
msgid ""
|
310 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -319,11 +316,11 @@ msgstr ""
|
|
319 |
"tussen de menu-items, is het mogelijk om je gebruikers de kans te geven om "
|
320 |
"makkelijk toegang te geven wanneer ze maar willen. "
|
321 |
|
322 |
-
#: templates/admin/premium.php:
|
323 |
msgid "CATEGORY COMPARATION"
|
324 |
msgstr "CATEGORIE VERGELIJKING"
|
325 |
|
326 |
-
#: templates/admin/premium.php:
|
327 |
#, php-format
|
328 |
msgid ""
|
329 |
"People are often confused by finding products of different categories in the "
|
@@ -338,11 +335,11 @@ msgstr ""
|
|
338 |
"by category\"%2$s optie bestaat voor de behoefte: U hebt de mogelijkheid om "
|
339 |
"de producten te scheiden in de tabel bij de categorie affiniteit."
|
340 |
|
341 |
-
#: templates/admin/premium.php:
|
342 |
msgid "CATEGORY EXCLUSION "
|
343 |
msgstr "CATEGORIE UITSLUITEN"
|
344 |
|
345 |
-
#: templates/admin/premium.php:
|
346 |
#, php-format
|
347 |
msgid ""
|
348 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -359,11 +356,11 @@ msgstr ""
|
|
359 |
"gedrag van de functie omkeren, waardoor de vergelijking alleen kan op de "
|
360 |
"producten van de geselecteerde categorieën."
|
361 |
|
362 |
-
#: templates/admin/premium.php:
|
363 |
msgid "TABLE IMAGE"
|
364 |
msgstr "TABEL AFBEELDING"
|
365 |
|
366 |
-
#: templates/admin/premium.php:
|
367 |
#, php-format
|
368 |
msgid ""
|
369 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -374,11 +371,11 @@ msgstr ""
|
|
374 |
"zien. Selecteer een afbeelding, upload het van het optie paneel en het wordt "
|
375 |
"direct getoond in de tabel van uw gebruikers."
|
376 |
|
377 |
-
#: templates/admin/premium.php:
|
378 |
msgid "DYNAMIC FIELDS"
|
379 |
msgstr "DYNAMISCHE VELDEN"
|
380 |
|
381 |
-
#: templates/admin/premium.php:
|
382 |
#, php-format
|
383 |
msgid ""
|
384 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -391,11 +388,11 @@ msgstr ""
|
|
391 |
"producten.%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s optie en er "
|
392 |
"zullen geen legen regels zijn in uw vergelijkingstabel."
|
393 |
|
394 |
-
#: templates/admin/premium.php:
|
395 |
msgid "SOCIAL NETWORK SHARING"
|
396 |
msgstr "SOCIAAL NETWERK DELEN"
|
397 |
|
398 |
-
#: templates/admin/premium.php:
|
399 |
#, php-format
|
400 |
msgid ""
|
401 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -408,11 +405,11 @@ msgstr ""
|
|
408 |
"Google + en Pinterest) en het e-mailsysteem %1$sto share%2$s de "
|
409 |
"vergelijkstabel van de producten die zij hebben geselecteerd."
|
410 |
|
411 |
-
#: templates/admin/premium.php:
|
412 |
msgid "RELATED PRODUCTS"
|
413 |
msgstr "GERELATEERDE PRODUCTEN"
|
414 |
|
415 |
-
#: templates/admin/premium.php:
|
416 |
#, php-format
|
417 |
msgid ""
|
418 |
"All the products that have common categories and/or tags with those in the "
|
@@ -427,11 +424,11 @@ msgstr ""
|
|
427 |
"gebruikers aan te moedigen de winkel producten van de winkel waar in ze "
|
428 |
"geïnteresseerd zijn in te ontdekken."
|
429 |
|
430 |
-
#: templates/admin/premium.php:
|
431 |
msgid "CUSTOMIZABLE STYLE"
|
432 |
msgstr "AANPASBARE STIJLEN"
|
433 |
|
434 |
-
#: templates/admin/premium.php:
|
435 |
#, php-format
|
436 |
msgid ""
|
437 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -440,11 +437,11 @@ msgid ""
|
|
440 |
"to get to the best result."
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: templates/admin/premium.php:
|
444 |
msgid "CUSTOMIZED ATTRIBUTES"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: templates/admin/premium.php:
|
448 |
#, php-format
|
449 |
msgid ""
|
450 |
"Let you users compare products following every feature, and considering also "
|
@@ -452,48 +449,74 @@ msgid ""
|
|
452 |
"product detail page. Every single detail will be included."
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: templates/admin/premium.php:
|
456 |
msgid "A TAILORED TABLE"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: templates/admin/premium.php:
|
460 |
#, php-format
|
461 |
msgid ""
|
462 |
"Select the products you want to compare and the system will offer you the "
|
463 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: templates/admin/premium.php:
|
467 |
-
msgid "
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: templates/admin/premium.php:
|
471 |
msgid ""
|
472 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
473 |
"complete list of products added to the compare tab and avoid to open the "
|
474 |
"popup to check its existence. "
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
478 |
msgid "Close window [X]"
|
479 |
msgstr "Sluit venster [X]"
|
480 |
|
481 |
-
#: templates/compare.php:
|
482 |
msgid "No products added in the compare table."
|
483 |
msgstr "Geen producten toegevoegd in de vergelijk tabel."
|
484 |
|
485 |
-
#: widgets/class.yith-woocompare-widget.php:23
|
486 |
msgid "The widget shows the list of products added in the comparison table."
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: widgets/class.yith-woocompare-widget.php:27
|
490 |
msgid "YITH WooCommerce Compare Widget"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: widgets/class.yith-woocompare-widget.php:50
|
494 |
msgid "Clear all"
|
495 |
msgstr "Wis alles"
|
496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
497 |
#~ msgid "The widget show the list of products added in the compare table."
|
498 |
#~ msgstr ""
|
499 |
#~ "Deze widget toont een lijst met producten in een vergelijkings tabel."
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2018-11-28 16:31+0100\n"
|
6 |
+
"PO-Revision-Date: 2018-11-28 16:33+0100\n"
|
7 |
"Last-Translator: admin <admin@localhost.local>\n"
|
8 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
9 |
"Language: nl\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Generator: Poedit 2.1.1\n"
|
16 |
+
"X-Poedit-KeywordsList: gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;__:1;"
|
17 |
+
"_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
18 |
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
19 |
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
20 |
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
25 |
|
26 |
+
#: ../includes/class.yith-woocompare-admin.php:119
|
27 |
+
#: ../includes/class.yith-woocompare-admin.php:143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
msgid "Settings"
|
29 |
msgstr "Instellingen"
|
30 |
|
31 |
+
#: ../includes/class.yith-woocompare-admin.php:121
|
32 |
+
msgid "License"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: ../includes/class.yith-woocompare-admin.php:147
|
36 |
msgid "Premium Version"
|
37 |
msgstr "Premium Versie"
|
38 |
|
39 |
+
#: ../includes/class.yith-woocompare-admin.php:153
|
40 |
+
#: ../includes/class.yith-woocompare-admin.php:154
|
41 |
+
#: ../includes/class.yith-woocompare-frontend.php:505
|
42 |
+
#: ../plugin-options/general-options.php:41
|
43 |
+
#: ../plugin-options/general-options.php:42
|
44 |
+
#: ../widgets/class.yith-woocompare-widget.php:51
|
45 |
msgid "Compare"
|
46 |
msgstr "Vergelijk"
|
47 |
|
48 |
+
#: ../includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
49 |
msgid "YITH WooCommerce Compare Activated"
|
50 |
msgstr "YITH WooCommerce Compare Geactiveerd"
|
51 |
|
52 |
+
#: ../includes/class.yith-woocompare-admin.php:242
|
53 |
#, php-format
|
54 |
msgid ""
|
55 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
63 |
"PREMIUM versie met veel nieuwe mogelijkheden, <a href=\"%s\">Ontdek het nu</"
|
64 |
"a>."
|
65 |
|
66 |
+
#: ../includes/class.yith-woocompare-admin.php:253
|
67 |
msgid "YITH WooCommerce Compare Updated"
|
68 |
msgstr "YITH WooCommerce Compare geüpdatet"
|
69 |
|
70 |
+
#: ../includes/class.yith-woocompare-admin.php:254
|
71 |
#, php-format
|
72 |
msgid ""
|
73 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
83 |
"bijgewerkt met nieuwe beschikbare opties, <a href=\"%s\"> ontdek het PREMIUM "
|
84 |
"versie. </a>"
|
85 |
|
86 |
+
#: ../includes/class.yith-woocompare-admin.php:398
|
87 |
msgid "Do you want to hard crop the image?"
|
88 |
msgstr "Wilt u een harde crop van de afbeelding?"
|
89 |
|
90 |
+
#: ../includes/class.yith-woocompare-frontend.php:223
|
91 |
msgid "Added"
|
92 |
msgstr "Toegevoegd"
|
93 |
|
94 |
+
#: ../includes/class.yith-woocompare-frontend.php:224
|
95 |
+
#: ../templates/compare.php:50
|
96 |
msgid "Product Comparison"
|
97 |
msgstr "Product vergelijk"
|
98 |
|
99 |
+
#: ../includes/class.yith-woocompare-frontend.php:229
|
100 |
+
msgid "Close"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: ../includes/class.yith-woocompare-frontend.php:384
|
104 |
msgid "In stock"
|
105 |
msgstr "Op voorraad"
|
106 |
|
107 |
+
#: ../includes/class.yith-woocompare-frontend.php:696
|
108 |
msgid "No products to compare"
|
109 |
msgstr "Geen producten om te vergelijken"
|
110 |
|
111 |
+
#: ../includes/class.yith-woocompare-frontend.php:709
|
112 |
+
#: ../templates/compare.php:117
|
113 |
msgid "Remove"
|
114 |
msgstr "Verwijder"
|
115 |
|
116 |
+
#: ../includes/class.yith-woocompare-helper.php:46
|
117 |
msgid "Image"
|
118 |
msgstr "Afbeelding"
|
119 |
|
120 |
+
#: ../includes/class.yith-woocompare-helper.php:47
|
121 |
+
#: ../widgets/class.yith-woocompare-widget.php:68
|
122 |
msgid "Title"
|
123 |
msgstr "Titel"
|
124 |
|
125 |
+
#: ../includes/class.yith-woocompare-helper.php:48
|
126 |
msgid "Price"
|
127 |
msgstr "Prijs"
|
128 |
|
129 |
+
#: ../includes/class.yith-woocompare-helper.php:49
|
130 |
msgid "Add to cart"
|
131 |
msgstr "Bestellen"
|
132 |
|
133 |
+
#: ../includes/class.yith-woocompare-helper.php:50
|
134 |
msgid "Description"
|
135 |
msgstr "Omschrijving"
|
136 |
|
137 |
+
#: ../includes/class.yith-woocompare-helper.php:51
|
138 |
+
msgid "Sku"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: ../includes/class.yith-woocompare-helper.php:52
|
142 |
msgid "Availability"
|
143 |
msgstr "Beschikbaarheid"
|
144 |
|
145 |
+
#: ../includes/class.yith-woocompare-helper.php:53
|
146 |
msgid "Weight"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: ../includes/class.yith-woocompare-helper.php:54
|
150 |
msgid "Dimensions"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: ../init.php:42
|
154 |
msgid ""
|
155 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
156 |
"WooCommerce in order to work."
|
158 |
"YITH WooCommerce Compare is ingeschalkeld maar nog niet werkzaam. "
|
159 |
"WooCommerce is nodig om dit te laten werken."
|
160 |
|
161 |
+
#: ../init.php:50
|
162 |
msgid ""
|
163 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
164 |
"are using the premium one."
|
166 |
"U kunt niet het gratis versie van YITH WooCommerce Compare gebruiken als u "
|
167 |
"het premium versie gebruikt."
|
168 |
|
169 |
+
#: ../plugin-options/general-options.php:17
|
170 |
msgid "General Settings"
|
171 |
msgstr "Algemene instellingen"
|
172 |
|
173 |
+
#: ../plugin-options/general-options.php:24
|
174 |
msgid "Link or Button"
|
175 |
msgstr "Link of Button"
|
176 |
|
177 |
+
#: ../plugin-options/general-options.php:25
|
178 |
+
#, fuzzy
|
179 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
180 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
181 |
msgstr "Kies uit button of link als actie button."
|
182 |
|
183 |
+
#: ../plugin-options/general-options.php:32
|
184 |
msgid "Link"
|
185 |
msgstr "Link"
|
186 |
|
187 |
+
#: ../plugin-options/general-options.php:33
|
188 |
msgid "Button"
|
189 |
msgstr "Button"
|
190 |
|
191 |
+
#: ../plugin-options/general-options.php:38
|
192 |
msgid "Link/Button text"
|
193 |
msgstr "Link/Button tekst"
|
194 |
|
195 |
+
#: ../plugin-options/general-options.php:39
|
196 |
msgid "Type the text to use for the button or the link of the compare."
|
197 |
msgstr ""
|
198 |
"Typ hier de tekst om te gebruiken voor de button of link van de "
|
199 |
"vergelijking"
|
200 |
|
201 |
+
#: ../plugin-options/general-options.php:47
|
202 |
msgid "Show button in single product page"
|
203 |
msgstr "Toon button op product pagina"
|
204 |
|
205 |
+
#: ../plugin-options/general-options.php:48
|
206 |
msgid "Say if you want to show the button in the single product page."
|
207 |
msgstr "Selecteer wanneer je een button op de product pagina wilt tonen."
|
208 |
|
209 |
+
#: ../plugin-options/general-options.php:56
|
210 |
msgid "Show button in products list"
|
211 |
msgstr "Toon button op producten overzicht"
|
212 |
|
213 |
+
#: ../plugin-options/general-options.php:57
|
214 |
msgid "Say if you want to show the button in the products list."
|
215 |
msgstr ""
|
216 |
"Selecteer wanneer een button op de productenoverzichts pagina wilt tonen."
|
217 |
|
218 |
+
#: ../plugin-options/general-options.php:65
|
219 |
msgid "Open automatically lightbox"
|
220 |
msgstr "Open automatisch in lightbox"
|
221 |
|
222 |
+
#: ../plugin-options/general-options.php:66
|
223 |
msgid "Open link after click into \"Compare\" button\"."
|
224 |
msgstr "Open de link direct na aanklikken van \"Vergelijk\" button\"."
|
225 |
|
226 |
+
#: ../plugin-options/general-options.php:79
|
227 |
msgid "Table Settings"
|
228 |
msgstr "Tabel instellingen"
|
229 |
|
230 |
+
#: ../plugin-options/general-options.php:86
|
231 |
msgid "Table title"
|
232 |
msgstr "Tabel titel"
|
233 |
|
234 |
+
#: ../plugin-options/general-options.php:87
|
235 |
msgid "Type the text to use for the table title."
|
236 |
msgstr "Typ de tekst om te gebruiken voor de tabel titel"
|
237 |
|
238 |
+
#: ../plugin-options/general-options.php:89
|
239 |
+
#: ../plugin-options/general-options.php:90
|
240 |
msgid "Compare products"
|
241 |
msgstr "Vergelijk producten"
|
242 |
|
243 |
+
#: ../plugin-options/general-options.php:95
|
244 |
msgid "Fields to show"
|
245 |
msgstr "Velden tonen"
|
246 |
|
247 |
+
#: ../plugin-options/general-options.php:96
|
248 |
msgid ""
|
249 |
"Select the fields to show in the comparison table and order them by "
|
250 |
"drag&drop (are included also the woocommerce attributes)"
|
252 |
"Selecteer de velden die je in de vergelijkings tabel wilt tonen. Sleep ze "
|
253 |
"met je muis in de gewenste volgorde."
|
254 |
|
255 |
+
#: ../plugin-options/general-options.php:104
|
256 |
msgid "Repeat \"Price\" field"
|
257 |
msgstr "Herhaal \"Prijs\" veld"
|
258 |
|
259 |
+
#: ../plugin-options/general-options.php:105
|
260 |
msgid "Repeat the \"Price\" field at the end of the table"
|
261 |
msgstr "Herhaal het \"Prijs\" veld aan het einde van de tabel"
|
262 |
|
263 |
+
#: ../plugin-options/general-options.php:113
|
264 |
msgid "Repeat \"Add to cart\" field"
|
265 |
msgstr "Herhaal \"Toevoegen aan mandje\" veld"
|
266 |
|
267 |
+
#: ../plugin-options/general-options.php:114
|
268 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
269 |
msgstr "Herhaal \"Toevoegen aan mandje\" veld aan het einde van de tabel"
|
270 |
|
271 |
+
#: ../plugin-options/general-options.php:122
|
272 |
msgid "Image size"
|
273 |
msgstr "Afbeelding formaat"
|
274 |
|
275 |
+
#: ../plugin-options/general-options.php:123
|
276 |
msgid "Set the size for the images"
|
277 |
msgstr "Stel afbeeldings formaat in "
|
278 |
|
279 |
+
#: ../templates/admin/premium.php:240 ../templates/admin/premium.php:446
|
280 |
#, php-format
|
281 |
msgid ""
|
282 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
285 |
"Upgrade naar %1$spremium version%2$s van %1$sYITH WooCommerce Compare%2$s om "
|
286 |
"te profiteren van alle functies!"
|
287 |
|
288 |
+
#: ../templates/admin/premium.php:243 ../templates/admin/premium.php:449
|
289 |
msgid "UPGRADE"
|
290 |
msgstr "UPGRADE"
|
291 |
|
292 |
+
#: ../templates/admin/premium.php:244 ../templates/admin/premium.php:450
|
293 |
msgid "to the premium version"
|
294 |
msgstr "naar het premium versie"
|
295 |
|
296 |
+
#: ../templates/admin/premium.php:250
|
297 |
msgid "Premium Features"
|
298 |
msgstr "Premium Functies"
|
299 |
|
300 |
+
#: ../templates/admin/premium.php:258
|
301 |
msgid "A DEDICATED PAGE"
|
302 |
msgstr "EEN SPECIALE PAGINA"
|
303 |
|
304 |
+
#: ../templates/admin/premium.php:261
|
305 |
#, php-format
|
306 |
msgid ""
|
307 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
316 |
"tussen de menu-items, is het mogelijk om je gebruikers de kans te geven om "
|
317 |
"makkelijk toegang te geven wanneer ze maar willen. "
|
318 |
|
319 |
+
#: ../templates/admin/premium.php:271
|
320 |
msgid "CATEGORY COMPARATION"
|
321 |
msgstr "CATEGORIE VERGELIJKING"
|
322 |
|
323 |
+
#: ../templates/admin/premium.php:274
|
324 |
#, php-format
|
325 |
msgid ""
|
326 |
"People are often confused by finding products of different categories in the "
|
335 |
"by category\"%2$s optie bestaat voor de behoefte: U hebt de mogelijkheid om "
|
336 |
"de producten te scheiden in de tabel bij de categorie affiniteit."
|
337 |
|
338 |
+
#: ../templates/admin/premium.php:290
|
339 |
msgid "CATEGORY EXCLUSION "
|
340 |
msgstr "CATEGORIE UITSLUITEN"
|
341 |
|
342 |
+
#: ../templates/admin/premium.php:293
|
343 |
#, php-format
|
344 |
msgid ""
|
345 |
"In your shop there may be product categories you don't want to be affected "
|
356 |
"gedrag van de functie omkeren, waardoor de vergelijking alleen kan op de "
|
357 |
"producten van de geselecteerde categorieën."
|
358 |
|
359 |
+
#: ../templates/admin/premium.php:303
|
360 |
msgid "TABLE IMAGE"
|
361 |
msgstr "TABEL AFBEELDING"
|
362 |
|
363 |
+
#: ../templates/admin/premium.php:306
|
364 |
#, php-format
|
365 |
msgid ""
|
366 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
371 |
"zien. Selecteer een afbeelding, upload het van het optie paneel en het wordt "
|
372 |
"direct getoond in de tabel van uw gebruikers."
|
373 |
|
374 |
+
#: ../templates/admin/premium.php:322
|
375 |
msgid "DYNAMIC FIELDS"
|
376 |
msgstr "DYNAMISCHE VELDEN"
|
377 |
|
378 |
+
#: ../templates/admin/premium.php:325
|
379 |
#, php-format
|
380 |
msgid ""
|
381 |
"With this precious feature, you will be able to show in the table only the "
|
388 |
"producten.%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s optie en er "
|
389 |
"zullen geen legen regels zijn in uw vergelijkingstabel."
|
390 |
|
391 |
+
#: ../templates/admin/premium.php:335
|
392 |
msgid "SOCIAL NETWORK SHARING"
|
393 |
msgstr "SOCIAAL NETWERK DELEN"
|
394 |
|
395 |
+
#: ../templates/admin/premium.php:338
|
396 |
#, php-format
|
397 |
msgid ""
|
398 |
"One of the most appealing features of the premium version of the plugin.Four "
|
405 |
"Google + en Pinterest) en het e-mailsysteem %1$sto share%2$s de "
|
406 |
"vergelijkstabel van de producten die zij hebben geselecteerd."
|
407 |
|
408 |
+
#: ../templates/admin/premium.php:354
|
409 |
msgid "RELATED PRODUCTS"
|
410 |
msgstr "GERELATEERDE PRODUCTEN"
|
411 |
|
412 |
+
#: ../templates/admin/premium.php:357
|
413 |
#, php-format
|
414 |
msgid ""
|
415 |
"All the products that have common categories and/or tags with those in the "
|
424 |
"gebruikers aan te moedigen de winkel producten van de winkel waar in ze "
|
425 |
"geïnteresseerd zijn in te ontdekken."
|
426 |
|
427 |
+
#: ../templates/admin/premium.php:367
|
428 |
msgid "CUSTOMIZABLE STYLE"
|
429 |
msgstr "AANPASBARE STIJLEN"
|
430 |
|
431 |
+
#: ../templates/admin/premium.php:370
|
432 |
#, php-format
|
433 |
msgid ""
|
434 |
"An advanced option panel that let you change all the colors of the plugin, "
|
437 |
"to get to the best result."
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../templates/admin/premium.php:386
|
441 |
msgid "CUSTOMIZED ATTRIBUTES"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../templates/admin/premium.php:389
|
445 |
#, php-format
|
446 |
msgid ""
|
447 |
"Let you users compare products following every feature, and considering also "
|
449 |
"product detail page. Every single detail will be included."
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: ../templates/admin/premium.php:399
|
453 |
msgid "A TAILORED TABLE"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: ../templates/admin/premium.php:402
|
457 |
#, php-format
|
458 |
msgid ""
|
459 |
"Select the products you want to compare and the system will offer you the "
|
460 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: ../templates/admin/premium.php:418
|
464 |
+
msgid "Compare list - widget"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../templates/admin/premium.php:421
|
468 |
msgid ""
|
469 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
470 |
"complete list of products added to the compare tab and avoid to open the "
|
471 |
"popup to check its existence. "
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: ../templates/admin/premium.php:431
|
475 |
+
msgid "Compare counter - widget and shortcode"
|
476 |
+
msgstr ""
|
477 |
+
|
478 |
+
#: ../templates/admin/premium.php:434
|
479 |
+
msgid ""
|
480 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
481 |
+
"many products they have added to the Compare list, feel free to use the "
|
482 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
483 |
+
"than one click away."
|
484 |
+
msgstr ""
|
485 |
+
|
486 |
+
#: ../templates/compare.php:77
|
487 |
msgid "Close window [X]"
|
488 |
msgstr "Sluit venster [X]"
|
489 |
|
490 |
+
#: ../templates/compare.php:106
|
491 |
msgid "No products added in the compare table."
|
492 |
msgstr "Geen producten toegevoegd in de vergelijk tabel."
|
493 |
|
494 |
+
#: ../widgets/class.yith-woocompare-widget.php:23
|
495 |
msgid "The widget shows the list of products added in the comparison table."
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: ../widgets/class.yith-woocompare-widget.php:27
|
499 |
msgid "YITH WooCommerce Compare Widget"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: ../widgets/class.yith-woocompare-widget.php:50
|
503 |
msgid "Clear all"
|
504 |
msgstr "Wis alles"
|
505 |
|
506 |
+
#, fuzzy
|
507 |
+
#~| msgid "Settings"
|
508 |
+
#~ msgid "iSortingCols"
|
509 |
+
#~ msgstr "Instellingen"
|
510 |
+
|
511 |
+
#, fuzzy
|
512 |
+
#~| msgid "Compare"
|
513 |
+
#~ msgctxt "Admin Plugin Name"
|
514 |
+
#~ msgid "Compare"
|
515 |
+
#~ msgstr "Vergelijk"
|
516 |
+
|
517 |
+
#~ msgid "Plugin Documentation"
|
518 |
+
#~ msgstr "Plugin Documentatie"
|
519 |
+
|
520 |
#~ msgid "The widget show the list of products added in the compare table."
|
521 |
#~ msgstr ""
|
522 |
#~ "Deze widget toont een lijst met producten in een vergelijkings tabel."
|
languages/yith-woocommerce-compare-pt_BR.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-pt_BR.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: pt_BR\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -17,33 +17,32 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
-
#: includes/class.yith-woocompare-admin.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-woocompare-admin.php:
|
26 |
-
|
|
|
|
|
|
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-admin.php:
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
34 |
#: widgets/class.yith-woocompare-widget.php:51
|
35 |
msgid "Compare"
|
36 |
msgstr "Comparar"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:240
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -52,11 +51,11 @@ msgid ""
|
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class.yith-woocompare-admin.php:
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class.yith-woocompare-admin.php:
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -70,66 +69,74 @@ msgstr ""
|
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class.yith-woocompare-frontend.php:
|
74 |
msgid "Added"
|
75 |
msgstr "Adicionado"
|
76 |
|
77 |
-
#: includes/class.yith-woocompare-frontend.php:
|
78 |
msgid "Product Comparison"
|
79 |
msgstr "Comparação de Produtos"
|
80 |
|
81 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
82 |
msgid "In stock"
|
83 |
msgstr "No estoque"
|
84 |
|
85 |
-
#: includes/class.yith-woocompare-frontend.php:
|
86 |
msgid "No products to compare"
|
87 |
msgstr "Não há produtos à comparar"
|
88 |
|
89 |
-
#: includes/class.yith-woocompare-frontend.php:
|
90 |
msgid "Remove"
|
91 |
msgstr "Remover"
|
92 |
|
93 |
-
#: includes/class.yith-woocompare-helper.php:
|
94 |
msgid "Image"
|
95 |
msgstr "Imagem"
|
96 |
|
97 |
-
#: includes/class.yith-woocompare-helper.php:
|
98 |
#: widgets/class.yith-woocompare-widget.php:68
|
99 |
msgid "Title"
|
100 |
msgstr "Título"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-helper.php:
|
103 |
msgid "Price"
|
104 |
msgstr "Preço"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Add to cart"
|
108 |
msgstr "Adicionar ao carrinho"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-helper.php:
|
111 |
msgid "Description"
|
112 |
msgstr "Descrição"
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Availability"
|
116 |
msgstr "Disponibilidade"
|
117 |
|
118 |
-
#: includes/class.yith-woocompare-helper.php:
|
119 |
msgid "Weight"
|
120 |
msgstr "Peso"
|
121 |
|
122 |
-
#: includes/class.yith-woocompare-helper.php:
|
123 |
msgid "Dimensions"
|
124 |
msgstr "Dimensões"
|
125 |
|
126 |
-
#: init.php:
|
127 |
msgid ""
|
128 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
129 |
"WooCommerce in order to work."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: init.php:
|
133 |
msgid ""
|
134 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
135 |
"are using the premium one."
|
@@ -239,30 +246,30 @@ msgstr "Tamanho da imagem"
|
|
239 |
msgid "Set the size for the images"
|
240 |
msgstr "Especifique um tamanho para as imagens"
|
241 |
|
242 |
-
#: templates/admin/premium.php:
|
243 |
#, php-format
|
244 |
msgid ""
|
245 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
246 |
"benefit from all features!"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: templates/admin/premium.php:
|
250 |
msgid "UPGRADE"
|
251 |
msgstr "ATUALIZAR"
|
252 |
|
253 |
-
#: templates/admin/premium.php:
|
254 |
msgid "to the premium version"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: templates/admin/premium.php:
|
258 |
msgid "Premium Features"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: templates/admin/premium.php:
|
262 |
msgid "A DEDICATED PAGE"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: templates/admin/premium.php:
|
266 |
#, php-format
|
267 |
msgid ""
|
268 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -272,11 +279,11 @@ msgid ""
|
|
272 |
"whenever they want."
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: templates/admin/premium.php:
|
276 |
msgid "CATEGORY COMPARATION"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: templates/admin/premium.php:
|
280 |
#, php-format
|
281 |
msgid ""
|
282 |
"People are often confused by finding products of different categories in the "
|
@@ -286,11 +293,11 @@ msgid ""
|
|
286 |
"affinity."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: templates/admin/premium.php:
|
290 |
msgid "CATEGORY EXCLUSION "
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: templates/admin/premium.php:
|
294 |
#, php-format
|
295 |
msgid ""
|
296 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -301,11 +308,11 @@ msgid ""
|
|
301 |
"selected categories."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: templates/admin/premium.php:
|
305 |
msgid "TABLE IMAGE"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: templates/admin/premium.php:
|
309 |
#, php-format
|
310 |
msgid ""
|
311 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -313,11 +320,11 @@ msgid ""
|
|
313 |
"table to your users. "
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: templates/admin/premium.php:
|
317 |
msgid "DYNAMIC FIELDS"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: templates/admin/premium.php:
|
321 |
#, php-format
|
322 |
msgid ""
|
323 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -326,11 +333,11 @@ msgid ""
|
|
326 |
"be no more empty lines in your comparison table."
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: templates/admin/premium.php:
|
330 |
msgid "SOCIAL NETWORK SHARING"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: templates/admin/premium.php:
|
334 |
#, php-format
|
335 |
msgid ""
|
336 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -339,11 +346,11 @@ msgid ""
|
|
339 |
"products they have selected."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: templates/admin/premium.php:
|
343 |
msgid "RELATED PRODUCTS"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: templates/admin/premium.php:
|
347 |
#, php-format
|
348 |
msgid ""
|
349 |
"All the products that have common categories and/or tags with those in the "
|
@@ -353,11 +360,11 @@ msgid ""
|
|
353 |
"interested into."
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: templates/admin/premium.php:
|
357 |
msgid "CUSTOMIZABLE STYLE"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: templates/admin/premium.php:
|
361 |
#, php-format
|
362 |
msgid ""
|
363 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -366,11 +373,11 @@ msgid ""
|
|
366 |
"to get to the best result."
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: templates/admin/premium.php:
|
370 |
msgid "CUSTOMIZED ATTRIBUTES"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: templates/admin/premium.php:
|
374 |
#, php-format
|
375 |
msgid ""
|
376 |
"Let you users compare products following every feature, and considering also "
|
@@ -378,33 +385,45 @@ msgid ""
|
|
378 |
"product detail page. Every single detail will be included."
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: templates/admin/premium.php:
|
382 |
msgid "A TAILORED TABLE"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: templates/admin/premium.php:
|
386 |
#, php-format
|
387 |
msgid ""
|
388 |
"Select the products you want to compare and the system will offer you the "
|
389 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: templates/admin/premium.php:
|
393 |
-
msgid "
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: templates/admin/premium.php:
|
397 |
msgid ""
|
398 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
399 |
"complete list of products added to the compare tab and avoid to open the "
|
400 |
"popup to check its existence. "
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
msgid "Close window [X]"
|
405 |
msgstr "Fechar janela [X]"
|
406 |
|
407 |
-
#: templates/compare.php:
|
408 |
msgid "No products added in the compare table."
|
409 |
msgstr "Não foram adicionados produtos na tabela de comparação"
|
410 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:33+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:33+0100\n"
|
6 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: pt_BR\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
+
#: includes/class.yith-woocompare-admin.php:119
|
21 |
+
#: includes/class.yith-woocompare-admin.php:143
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-woocompare-admin.php:153
|
34 |
+
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Comparar"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/class.yith-woocompare-admin.php:253
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/class.yith-woocompare-admin.php:254
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
73 |
msgid "Added"
|
74 |
msgstr "Adicionado"
|
75 |
|
76 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "Comparação de Produtos"
|
79 |
|
80 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
81 |
+
msgid "Close"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
85 |
msgid "In stock"
|
86 |
msgstr "No estoque"
|
87 |
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
89 |
msgid "No products to compare"
|
90 |
msgstr "Não há produtos à comparar"
|
91 |
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
93 |
msgid "Remove"
|
94 |
msgstr "Remover"
|
95 |
|
96 |
+
#: includes/class.yith-woocompare-helper.php:46
|
97 |
msgid "Image"
|
98 |
msgstr "Imagem"
|
99 |
|
100 |
+
#: includes/class.yith-woocompare-helper.php:47
|
101 |
#: widgets/class.yith-woocompare-widget.php:68
|
102 |
msgid "Title"
|
103 |
msgstr "Título"
|
104 |
|
105 |
+
#: includes/class.yith-woocompare-helper.php:48
|
106 |
msgid "Price"
|
107 |
msgstr "Preço"
|
108 |
|
109 |
+
#: includes/class.yith-woocompare-helper.php:49
|
110 |
msgid "Add to cart"
|
111 |
msgstr "Adicionar ao carrinho"
|
112 |
|
113 |
+
#: includes/class.yith-woocompare-helper.php:50
|
114 |
msgid "Description"
|
115 |
msgstr "Descrição"
|
116 |
|
117 |
+
#: includes/class.yith-woocompare-helper.php:51
|
118 |
+
msgid "Sku"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:52
|
122 |
msgid "Availability"
|
123 |
msgstr "Disponibilidade"
|
124 |
|
125 |
+
#: includes/class.yith-woocompare-helper.php:53
|
126 |
msgid "Weight"
|
127 |
msgstr "Peso"
|
128 |
|
129 |
+
#: includes/class.yith-woocompare-helper.php:54
|
130 |
msgid "Dimensions"
|
131 |
msgstr "Dimensões"
|
132 |
|
133 |
+
#: init.php:42
|
134 |
msgid ""
|
135 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
136 |
"WooCommerce in order to work."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: init.php:50
|
140 |
msgid ""
|
141 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
142 |
"are using the premium one."
|
246 |
msgid "Set the size for the images"
|
247 |
msgstr "Especifique um tamanho para as imagens"
|
248 |
|
249 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
250 |
#, php-format
|
251 |
msgid ""
|
252 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
253 |
"benefit from all features!"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
257 |
msgid "UPGRADE"
|
258 |
msgstr "ATUALIZAR"
|
259 |
|
260 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
261 |
msgid "to the premium version"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: templates/admin/premium.php:250
|
265 |
msgid "Premium Features"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: templates/admin/premium.php:258
|
269 |
msgid "A DEDICATED PAGE"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: templates/admin/premium.php:261
|
273 |
#, php-format
|
274 |
msgid ""
|
275 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
279 |
"whenever they want."
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: templates/admin/premium.php:271
|
283 |
msgid "CATEGORY COMPARATION"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: templates/admin/premium.php:274
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"People are often confused by finding products of different categories in the "
|
293 |
"affinity."
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: templates/admin/premium.php:290
|
297 |
msgid "CATEGORY EXCLUSION "
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: templates/admin/premium.php:293
|
301 |
#, php-format
|
302 |
msgid ""
|
303 |
"In your shop there may be product categories you don't want to be affected "
|
308 |
"selected categories."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: templates/admin/premium.php:303
|
312 |
msgid "TABLE IMAGE"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: templates/admin/premium.php:306
|
316 |
#, php-format
|
317 |
msgid ""
|
318 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
320 |
"table to your users. "
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: templates/admin/premium.php:322
|
324 |
msgid "DYNAMIC FIELDS"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: templates/admin/premium.php:325
|
328 |
#, php-format
|
329 |
msgid ""
|
330 |
"With this precious feature, you will be able to show in the table only the "
|
333 |
"be no more empty lines in your comparison table."
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: templates/admin/premium.php:335
|
337 |
msgid "SOCIAL NETWORK SHARING"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: templates/admin/premium.php:338
|
341 |
#, php-format
|
342 |
msgid ""
|
343 |
"One of the most appealing features of the premium version of the plugin.Four "
|
346 |
"products they have selected."
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: templates/admin/premium.php:354
|
350 |
msgid "RELATED PRODUCTS"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: templates/admin/premium.php:357
|
354 |
#, php-format
|
355 |
msgid ""
|
356 |
"All the products that have common categories and/or tags with those in the "
|
360 |
"interested into."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: templates/admin/premium.php:367
|
364 |
msgid "CUSTOMIZABLE STYLE"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: templates/admin/premium.php:370
|
368 |
#, php-format
|
369 |
msgid ""
|
370 |
"An advanced option panel that let you change all the colors of the plugin, "
|
373 |
"to get to the best result."
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: templates/admin/premium.php:386
|
377 |
msgid "CUSTOMIZED ATTRIBUTES"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: templates/admin/premium.php:389
|
381 |
#, php-format
|
382 |
msgid ""
|
383 |
"Let you users compare products following every feature, and considering also "
|
385 |
"product detail page. Every single detail will be included."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: templates/admin/premium.php:399
|
389 |
msgid "A TAILORED TABLE"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: templates/admin/premium.php:402
|
393 |
#, php-format
|
394 |
msgid ""
|
395 |
"Select the products you want to compare and the system will offer you the "
|
396 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: templates/admin/premium.php:418
|
400 |
+
msgid "Compare list - widget"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: templates/admin/premium.php:421
|
404 |
msgid ""
|
405 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
406 |
"complete list of products added to the compare tab and avoid to open the "
|
407 |
"popup to check its existence. "
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: templates/admin/premium.php:431
|
411 |
+
msgid "Compare counter - widget and shortcode"
|
412 |
+
msgstr ""
|
413 |
+
|
414 |
+
#: templates/admin/premium.php:434
|
415 |
+
msgid ""
|
416 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
417 |
+
"many products they have added to the Compare list, feel free to use the "
|
418 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
419 |
+
"than one click away."
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: templates/compare.php:77
|
423 |
msgid "Close window [X]"
|
424 |
msgstr "Fechar janela [X]"
|
425 |
|
426 |
+
#: templates/compare.php:106
|
427 |
msgid "No products added in the compare table."
|
428 |
msgstr "Não foram adicionados produtos na tabela de comparação"
|
429 |
|
languages/yith-woocommerce-compare-ru_RU.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-ru_RU.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: ru_RU\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -24,27 +24,26 @@ msgid "Settings"
|
|
24 |
msgstr "Настройки"
|
25 |
|
26 |
#: includes/class.yith-woocompare-admin.php:121
|
|
|
|
|
|
|
27 |
#: includes/class.yith-woocompare-admin.php:147
|
28 |
msgid "Premium Version"
|
29 |
msgstr "Премиум версия"
|
30 |
|
31 |
#: includes/class.yith-woocompare-admin.php:153
|
32 |
#: includes/class.yith-woocompare-admin.php:154
|
33 |
-
#: includes/class.yith-woocompare-frontend.php:
|
34 |
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
35 |
#: widgets/class.yith-woocompare-widget.php:51
|
36 |
msgid "Compare"
|
37 |
msgstr "Сравнить"
|
38 |
|
39 |
-
#: includes/class.yith-woocompare-admin.php:
|
40 |
-
msgid "Plugin Documentation"
|
41 |
-
msgstr "Документация плагина"
|
42 |
-
|
43 |
-
#: includes/class.yith-woocompare-admin.php:237
|
44 |
msgid "YITH WooCommerce Compare Activated"
|
45 |
msgstr "Активировать YITH WooCommerce Compare"
|
46 |
|
47 |
-
#: includes/class.yith-woocompare-admin.php:
|
48 |
#, php-format
|
49 |
msgid ""
|
50 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -58,11 +57,11 @@ msgstr ""
|
|
58 |
"доступен в бесплатной версии и PREMIUM версии со множеством новых опций, <a "
|
59 |
"href=«%s»>discover it now</a>."
|
60 |
|
61 |
-
#: includes/class.yith-woocompare-admin.php:
|
62 |
msgid "YITH WooCommerce Compare Updated"
|
63 |
msgstr "Обновить YITH WooCommerce Compare"
|
64 |
|
65 |
-
#: includes/class.yith-woocompare-admin.php:
|
66 |
#, php-format
|
67 |
msgid ""
|
68 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -77,64 +76,72 @@ msgstr ""
|
|
77 |
"меню будет добавлена новая вкладка. YITH WooCommerce Compare был обновлен "
|
78 |
"новыми доступными вариантами, <a href=«%s»>discover the PREMIUM version.</a>"
|
79 |
|
80 |
-
#: includes/class.yith-woocompare-admin.php:
|
81 |
msgid "Do you want to hard crop the image?"
|
82 |
msgstr "Вы хотите принудительно уменьшить изображение?"
|
83 |
|
84 |
-
#: includes/class.yith-woocompare-frontend.php:
|
85 |
msgid "Added"
|
86 |
msgstr "Добавлено"
|
87 |
|
88 |
-
#: includes/class.yith-woocompare-frontend.php:
|
89 |
msgid "Product Comparison"
|
90 |
msgstr "Сравнение товаров"
|
91 |
|
92 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
93 |
msgid "In stock"
|
94 |
msgstr "В наличии"
|
95 |
|
96 |
-
#: includes/class.yith-woocompare-frontend.php:
|
97 |
msgid "No products to compare"
|
98 |
msgstr "Нет товаров для сравнения"
|
99 |
|
100 |
-
#: includes/class.yith-woocompare-frontend.php:
|
101 |
msgid "Remove"
|
102 |
msgstr "Удалить"
|
103 |
|
104 |
-
#: includes/class.yith-woocompare-helper.php:
|
105 |
msgid "Image"
|
106 |
msgstr "Изображение"
|
107 |
|
108 |
-
#: includes/class.yith-woocompare-helper.php:
|
109 |
#: widgets/class.yith-woocompare-widget.php:68
|
110 |
msgid "Title"
|
111 |
msgstr "Название"
|
112 |
|
113 |
-
#: includes/class.yith-woocompare-helper.php:
|
114 |
msgid "Price"
|
115 |
msgstr "Цена"
|
116 |
|
117 |
-
#: includes/class.yith-woocompare-helper.php:
|
118 |
msgid "Add to cart"
|
119 |
msgstr "Добавить в корзину"
|
120 |
|
121 |
-
#: includes/class.yith-woocompare-helper.php:
|
122 |
msgid "Description"
|
123 |
msgstr "Описание"
|
124 |
|
125 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
126 |
msgid "Availability"
|
127 |
msgstr "Наличие"
|
128 |
|
129 |
-
#: includes/class.yith-woocompare-helper.php:
|
130 |
msgid "Weight"
|
131 |
msgstr "Вес"
|
132 |
|
133 |
-
#: includes/class.yith-woocompare-helper.php:
|
134 |
msgid "Dimensions"
|
135 |
msgstr "Размеры"
|
136 |
|
137 |
-
#: init.php:
|
138 |
msgid ""
|
139 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
140 |
"WooCommerce in order to work."
|
@@ -142,7 +149,7 @@ msgstr ""
|
|
142 |
"YITH WooCommerce Compare включен, но не эффективен. Для работы требуется "
|
143 |
"WooCommerce."
|
144 |
|
145 |
-
#: init.php:
|
146 |
msgid ""
|
147 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
148 |
"are using the premium one."
|
@@ -256,7 +263,7 @@ msgstr "Размер изображения"
|
|
256 |
msgid "Set the size for the images"
|
257 |
msgstr "Задайте размер для изображений"
|
258 |
|
259 |
-
#: templates/admin/premium.php:
|
260 |
#, php-format
|
261 |
msgid ""
|
262 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
@@ -265,23 +272,23 @@ msgstr ""
|
|
265 |
"Воспользуйтесь %1$spremium version%2$s %1$sYITH WooCommerce Compare%2$s, "
|
266 |
"чтобы воспользоваться всеми функциями!"
|
267 |
|
268 |
-
#: templates/admin/premium.php:
|
269 |
msgid "UPGRADE"
|
270 |
msgstr "ОБНОВИТЬ"
|
271 |
|
272 |
-
#: templates/admin/premium.php:
|
273 |
msgid "to the premium version"
|
274 |
msgstr "до премиум версии"
|
275 |
|
276 |
-
#: templates/admin/premium.php:
|
277 |
msgid "Premium Features"
|
278 |
msgstr "Премиум-функции"
|
279 |
|
280 |
-
#: templates/admin/premium.php:
|
281 |
msgid "A DEDICATED PAGE"
|
282 |
msgstr "СТРАНИЦА ОПИСАНИЯ"
|
283 |
|
284 |
-
#: templates/admin/premium.php:
|
285 |
#, php-format
|
286 |
msgid ""
|
287 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -296,11 +303,11 @@ msgstr ""
|
|
296 |
"своим пользователям возможность легко получить доступ к ней, когда они этого "
|
297 |
"захотят."
|
298 |
|
299 |
-
#: templates/admin/premium.php:
|
300 |
msgid "CATEGORY COMPARATION"
|
301 |
msgstr "СРАВНЕНИЕ КАТЕГОРИЙ"
|
302 |
|
303 |
-
#: templates/admin/premium.php:
|
304 |
#, php-format
|
305 |
msgid ""
|
306 |
"People are often confused by finding products of different categories in the "
|
@@ -314,11 +321,11 @@ msgstr ""
|
|
314 |
"%1$s«Сравнение по категориям»%2$s, чтобы разделить товары в таблице по "
|
315 |
"категориям."
|
316 |
|
317 |
-
#: templates/admin/premium.php:
|
318 |
msgid "CATEGORY EXCLUSION "
|
319 |
msgstr "ИСКЛЮЧЕНИЕ КАТЕГОРИЙ "
|
320 |
|
321 |
-
#: templates/admin/premium.php:
|
322 |
#, php-format
|
323 |
msgid ""
|
324 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -335,11 +342,11 @@ msgstr ""
|
|
335 |
"поведение функции, позволяя сравнивать только продукты из выбранных "
|
336 |
"категорий."
|
337 |
|
338 |
-
#: templates/admin/premium.php:
|
339 |
msgid "TABLE IMAGE"
|
340 |
msgstr "ИЗОБРАЖЕНИЕ ТАБЛИЦЫ"
|
341 |
|
342 |
-
#: templates/admin/premium.php:
|
343 |
#, php-format
|
344 |
msgid ""
|
345 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -350,11 +357,11 @@ msgstr ""
|
|
350 |
"пользователи. Выберите изображение, загрузите его с панели параметров и "
|
351 |
"покажите его перед таблицей своим пользователям. "
|
352 |
|
353 |
-
#: templates/admin/premium.php:
|
354 |
msgid "DYNAMIC FIELDS"
|
355 |
msgstr "АКТИВНЫЕ ПОЛЯ"
|
356 |
|
357 |
-
#: templates/admin/premium.php:
|
358 |
#, php-format
|
359 |
msgid ""
|
360 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -367,11 +374,11 @@ msgstr ""
|
|
367 |
"%3$s Включите %1$s«Активные поля атрибута»%2$s и в таблице сравнения не "
|
368 |
"будет пустых строк."
|
369 |
|
370 |
-
#: templates/admin/premium.php:
|
371 |
msgid "SOCIAL NETWORK SHARING"
|
372 |
msgstr "ПОДЕЛИТЬСЯ В СОЦИАЛЬНЫХ СЕТЯХ"
|
373 |
|
374 |
-
#: templates/admin/premium.php:
|
375 |
#, php-format
|
376 |
msgid ""
|
377 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -384,11 +391,11 @@ msgstr ""
|
|
384 |
"Pinterest) и система электронной почты%1$sподелиться%2$s таблицей сравнения "
|
385 |
"продуктов, которую ни выбрали."
|
386 |
|
387 |
-
#: templates/admin/premium.php:
|
388 |
msgid "RELATED PRODUCTS"
|
389 |
msgstr "СОПУТСТВУЮЩИЕ ТОВАРЫ"
|
390 |
|
391 |
-
#: templates/admin/premium.php:
|
392 |
#, php-format
|
393 |
msgid ""
|
394 |
"All the products that have common categories and/or tags with those in the "
|
@@ -403,11 +410,11 @@ msgstr ""
|
|
403 |
"пользователи узнают о товарах в магазине, связанных с теми, которые их "
|
404 |
"интересуют."
|
405 |
|
406 |
-
#: templates/admin/premium.php:
|
407 |
msgid "CUSTOMIZABLE STYLE"
|
408 |
msgstr "НАСТРАИВАЕМЫЙ СТИЛЬ"
|
409 |
|
410 |
-
#: templates/admin/premium.php:
|
411 |
#, php-format
|
412 |
msgid ""
|
413 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -420,11 +427,11 @@ msgstr ""
|
|
420 |
"вашего магазина. Мы знаем что это важно, присматриваем за этим … и мы даем "
|
421 |
"вам нужные инструменты для достижения наилучшего результата."
|
422 |
|
423 |
-
#: templates/admin/premium.php:
|
424 |
msgid "CUSTOMIZED ATTRIBUTES"
|
425 |
msgstr "НАСТРАИВАЕМЫЕ АТРИБУТЫ"
|
426 |
|
427 |
-
#: templates/admin/premium.php:
|
428 |
#, php-format
|
429 |
msgid ""
|
430 |
"Let you users compare products following every feature, and considering also "
|
@@ -435,11 +442,11 @@ msgstr ""
|
|
435 |
"%1$sатрибуты%2$s, которые могут быть созданы вручную на странице сведений о "
|
436 |
"продукте. Каждая деталь будет включена."
|
437 |
|
438 |
-
#: templates/admin/premium.php:
|
439 |
msgid "A TAILORED TABLE"
|
440 |
msgstr "ТАБЛИЦА НА ЗАКАЗ"
|
441 |
|
442 |
-
#: templates/admin/premium.php:
|
443 |
#, php-format
|
444 |
msgid ""
|
445 |
"Select the products you want to compare and the system will offer you the "
|
@@ -448,11 +455,11 @@ msgstr ""
|
|
448 |
"Выберите продукты, которые вы хотите сравнить, и система предложит вам "
|
449 |
"%1$sshortcode%2$s для создания таблицы сравнения. Просто, быстро и полезно."
|
450 |
|
451 |
-
#: templates/admin/premium.php:
|
452 |
-
msgid "
|
453 |
-
msgstr "
|
454 |
|
455 |
-
#: templates/admin/premium.php:
|
456 |
msgid ""
|
457 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
458 |
"complete list of products added to the compare tab and avoid to open the "
|
@@ -462,11 +469,23 @@ msgstr ""
|
|
462 |
"момент проверить полный список продуктов, добавленных на вкладку сравнения, "
|
463 |
"и не открывая всплывающее окно, видеть что они сравнивают. "
|
464 |
|
465 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466 |
msgid "Close window [X]"
|
467 |
msgstr "Закрыть окно [X]"
|
468 |
|
469 |
-
#: templates/compare.php:
|
470 |
msgid "No products added in the compare table."
|
471 |
msgstr "Нет товаров для сравнения."
|
472 |
|
@@ -482,6 +501,12 @@ msgstr "Виджет YITH WooCommerce Compare"
|
|
482 |
msgid "Clear all"
|
483 |
msgstr "Очистить"
|
484 |
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
#~ msgid "Choose if you want to use a link or a button for the action button."
|
486 |
#~ msgstr "Выберите, хотите ли вы использовать ссылку или кнопку при нажатии."
|
487 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:33+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:33+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: ru_RU\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
24 |
msgstr "Настройки"
|
25 |
|
26 |
#: includes/class.yith-woocompare-admin.php:121
|
27 |
+
msgid "License"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
#: includes/class.yith-woocompare-admin.php:147
|
31 |
msgid "Premium Version"
|
32 |
msgstr "Премиум версия"
|
33 |
|
34 |
#: includes/class.yith-woocompare-admin.php:153
|
35 |
#: includes/class.yith-woocompare-admin.php:154
|
36 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
37 |
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
38 |
#: widgets/class.yith-woocompare-widget.php:51
|
39 |
msgid "Compare"
|
40 |
msgstr "Сравнить"
|
41 |
|
42 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr "Активировать YITH WooCommerce Compare"
|
45 |
|
46 |
+
#: includes/class.yith-woocompare-admin.php:242
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
57 |
"доступен в бесплатной версии и PREMIUM версии со множеством новых опций, <a "
|
58 |
"href=«%s»>discover it now</a>."
|
59 |
|
60 |
+
#: includes/class.yith-woocompare-admin.php:253
|
61 |
msgid "YITH WooCommerce Compare Updated"
|
62 |
msgstr "Обновить YITH WooCommerce Compare"
|
63 |
|
64 |
+
#: includes/class.yith-woocompare-admin.php:254
|
65 |
#, php-format
|
66 |
msgid ""
|
67 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
76 |
"меню будет добавлена новая вкладка. YITH WooCommerce Compare был обновлен "
|
77 |
"новыми доступными вариантами, <a href=«%s»>discover the PREMIUM version.</a>"
|
78 |
|
79 |
+
#: includes/class.yith-woocompare-admin.php:398
|
80 |
msgid "Do you want to hard crop the image?"
|
81 |
msgstr "Вы хотите принудительно уменьшить изображение?"
|
82 |
|
83 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
84 |
msgid "Added"
|
85 |
msgstr "Добавлено"
|
86 |
|
87 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
88 |
msgid "Product Comparison"
|
89 |
msgstr "Сравнение товаров"
|
90 |
|
91 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
92 |
+
msgid "Close"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
96 |
msgid "In stock"
|
97 |
msgstr "В наличии"
|
98 |
|
99 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
100 |
msgid "No products to compare"
|
101 |
msgstr "Нет товаров для сравнения"
|
102 |
|
103 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
104 |
msgid "Remove"
|
105 |
msgstr "Удалить"
|
106 |
|
107 |
+
#: includes/class.yith-woocompare-helper.php:46
|
108 |
msgid "Image"
|
109 |
msgstr "Изображение"
|
110 |
|
111 |
+
#: includes/class.yith-woocompare-helper.php:47
|
112 |
#: widgets/class.yith-woocompare-widget.php:68
|
113 |
msgid "Title"
|
114 |
msgstr "Название"
|
115 |
|
116 |
+
#: includes/class.yith-woocompare-helper.php:48
|
117 |
msgid "Price"
|
118 |
msgstr "Цена"
|
119 |
|
120 |
+
#: includes/class.yith-woocompare-helper.php:49
|
121 |
msgid "Add to cart"
|
122 |
msgstr "Добавить в корзину"
|
123 |
|
124 |
+
#: includes/class.yith-woocompare-helper.php:50
|
125 |
msgid "Description"
|
126 |
msgstr "Описание"
|
127 |
|
128 |
+
#: includes/class.yith-woocompare-helper.php:51
|
129 |
+
msgid "Sku"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: includes/class.yith-woocompare-helper.php:52
|
133 |
msgid "Availability"
|
134 |
msgstr "Наличие"
|
135 |
|
136 |
+
#: includes/class.yith-woocompare-helper.php:53
|
137 |
msgid "Weight"
|
138 |
msgstr "Вес"
|
139 |
|
140 |
+
#: includes/class.yith-woocompare-helper.php:54
|
141 |
msgid "Dimensions"
|
142 |
msgstr "Размеры"
|
143 |
|
144 |
+
#: init.php:42
|
145 |
msgid ""
|
146 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
147 |
"WooCommerce in order to work."
|
149 |
"YITH WooCommerce Compare включен, но не эффективен. Для работы требуется "
|
150 |
"WooCommerce."
|
151 |
|
152 |
+
#: init.php:50
|
153 |
msgid ""
|
154 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
155 |
"are using the premium one."
|
263 |
msgid "Set the size for the images"
|
264 |
msgstr "Задайте размер для изображений"
|
265 |
|
266 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
267 |
#, php-format
|
268 |
msgid ""
|
269 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
272 |
"Воспользуйтесь %1$spremium version%2$s %1$sYITH WooCommerce Compare%2$s, "
|
273 |
"чтобы воспользоваться всеми функциями!"
|
274 |
|
275 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
276 |
msgid "UPGRADE"
|
277 |
msgstr "ОБНОВИТЬ"
|
278 |
|
279 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
280 |
msgid "to the premium version"
|
281 |
msgstr "до премиум версии"
|
282 |
|
283 |
+
#: templates/admin/premium.php:250
|
284 |
msgid "Premium Features"
|
285 |
msgstr "Премиум-функции"
|
286 |
|
287 |
+
#: templates/admin/premium.php:258
|
288 |
msgid "A DEDICATED PAGE"
|
289 |
msgstr "СТРАНИЦА ОПИСАНИЯ"
|
290 |
|
291 |
+
#: templates/admin/premium.php:261
|
292 |
#, php-format
|
293 |
msgid ""
|
294 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
303 |
"своим пользователям возможность легко получить доступ к ней, когда они этого "
|
304 |
"захотят."
|
305 |
|
306 |
+
#: templates/admin/premium.php:271
|
307 |
msgid "CATEGORY COMPARATION"
|
308 |
msgstr "СРАВНЕНИЕ КАТЕГОРИЙ"
|
309 |
|
310 |
+
#: templates/admin/premium.php:274
|
311 |
#, php-format
|
312 |
msgid ""
|
313 |
"People are often confused by finding products of different categories in the "
|
321 |
"%1$s«Сравнение по категориям»%2$s, чтобы разделить товары в таблице по "
|
322 |
"категориям."
|
323 |
|
324 |
+
#: templates/admin/premium.php:290
|
325 |
msgid "CATEGORY EXCLUSION "
|
326 |
msgstr "ИСКЛЮЧЕНИЕ КАТЕГОРИЙ "
|
327 |
|
328 |
+
#: templates/admin/premium.php:293
|
329 |
#, php-format
|
330 |
msgid ""
|
331 |
"In your shop there may be product categories you don't want to be affected "
|
342 |
"поведение функции, позволяя сравнивать только продукты из выбранных "
|
343 |
"категорий."
|
344 |
|
345 |
+
#: templates/admin/premium.php:303
|
346 |
msgid "TABLE IMAGE"
|
347 |
msgstr "ИЗОБРАЖЕНИЕ ТАБЛИЦЫ"
|
348 |
|
349 |
+
#: templates/admin/premium.php:306
|
350 |
#, php-format
|
351 |
msgid ""
|
352 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
357 |
"пользователи. Выберите изображение, загрузите его с панели параметров и "
|
358 |
"покажите его перед таблицей своим пользователям. "
|
359 |
|
360 |
+
#: templates/admin/premium.php:322
|
361 |
msgid "DYNAMIC FIELDS"
|
362 |
msgstr "АКТИВНЫЕ ПОЛЯ"
|
363 |
|
364 |
+
#: templates/admin/premium.php:325
|
365 |
#, php-format
|
366 |
msgid ""
|
367 |
"With this precious feature, you will be able to show in the table only the "
|
374 |
"%3$s Включите %1$s«Активные поля атрибута»%2$s и в таблице сравнения не "
|
375 |
"будет пустых строк."
|
376 |
|
377 |
+
#: templates/admin/premium.php:335
|
378 |
msgid "SOCIAL NETWORK SHARING"
|
379 |
msgstr "ПОДЕЛИТЬСЯ В СОЦИАЛЬНЫХ СЕТЯХ"
|
380 |
|
381 |
+
#: templates/admin/premium.php:338
|
382 |
#, php-format
|
383 |
msgid ""
|
384 |
"One of the most appealing features of the premium version of the plugin.Four "
|
391 |
"Pinterest) и система электронной почты%1$sподелиться%2$s таблицей сравнения "
|
392 |
"продуктов, которую ни выбрали."
|
393 |
|
394 |
+
#: templates/admin/premium.php:354
|
395 |
msgid "RELATED PRODUCTS"
|
396 |
msgstr "СОПУТСТВУЮЩИЕ ТОВАРЫ"
|
397 |
|
398 |
+
#: templates/admin/premium.php:357
|
399 |
#, php-format
|
400 |
msgid ""
|
401 |
"All the products that have common categories and/or tags with those in the "
|
410 |
"пользователи узнают о товарах в магазине, связанных с теми, которые их "
|
411 |
"интересуют."
|
412 |
|
413 |
+
#: templates/admin/premium.php:367
|
414 |
msgid "CUSTOMIZABLE STYLE"
|
415 |
msgstr "НАСТРАИВАЕМЫЙ СТИЛЬ"
|
416 |
|
417 |
+
#: templates/admin/premium.php:370
|
418 |
#, php-format
|
419 |
msgid ""
|
420 |
"An advanced option panel that let you change all the colors of the plugin, "
|
427 |
"вашего магазина. Мы знаем что это важно, присматриваем за этим … и мы даем "
|
428 |
"вам нужные инструменты для достижения наилучшего результата."
|
429 |
|
430 |
+
#: templates/admin/premium.php:386
|
431 |
msgid "CUSTOMIZED ATTRIBUTES"
|
432 |
msgstr "НАСТРАИВАЕМЫЕ АТРИБУТЫ"
|
433 |
|
434 |
+
#: templates/admin/premium.php:389
|
435 |
#, php-format
|
436 |
msgid ""
|
437 |
"Let you users compare products following every feature, and considering also "
|
442 |
"%1$sатрибуты%2$s, которые могут быть созданы вручную на странице сведений о "
|
443 |
"продукте. Каждая деталь будет включена."
|
444 |
|
445 |
+
#: templates/admin/premium.php:399
|
446 |
msgid "A TAILORED TABLE"
|
447 |
msgstr "ТАБЛИЦА НА ЗАКАЗ"
|
448 |
|
449 |
+
#: templates/admin/premium.php:402
|
450 |
#, php-format
|
451 |
msgid ""
|
452 |
"Select the products you want to compare and the system will offer you the "
|
455 |
"Выберите продукты, которые вы хотите сравнить, и система предложит вам "
|
456 |
"%1$sshortcode%2$s для создания таблицы сравнения. Просто, быстро и полезно."
|
457 |
|
458 |
+
#: templates/admin/premium.php:418
|
459 |
+
msgid "Compare list - widget"
|
460 |
+
msgstr ""
|
461 |
|
462 |
+
#: templates/admin/premium.php:421
|
463 |
msgid ""
|
464 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
465 |
"complete list of products added to the compare tab and avoid to open the "
|
469 |
"момент проверить полный список продуктов, добавленных на вкладку сравнения, "
|
470 |
"и не открывая всплывающее окно, видеть что они сравнивают. "
|
471 |
|
472 |
+
#: templates/admin/premium.php:431
|
473 |
+
msgid "Compare counter - widget and shortcode"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: templates/admin/premium.php:434
|
477 |
+
msgid ""
|
478 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
479 |
+
"many products they have added to the Compare list, feel free to use the "
|
480 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
481 |
+
"than one click away."
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: templates/compare.php:77
|
485 |
msgid "Close window [X]"
|
486 |
msgstr "Закрыть окно [X]"
|
487 |
|
488 |
+
#: templates/compare.php:106
|
489 |
msgid "No products added in the compare table."
|
490 |
msgstr "Нет товаров для сравнения."
|
491 |
|
501 |
msgid "Clear all"
|
502 |
msgstr "Очистить"
|
503 |
|
504 |
+
#~ msgid "Plugin Documentation"
|
505 |
+
#~ msgstr "Документация плагина"
|
506 |
+
|
507 |
+
#~ msgid "WIDGET"
|
508 |
+
#~ msgstr "ВИДЖЕТ"
|
509 |
+
|
510 |
#~ msgid "Choose if you want to use a link or a button for the action button."
|
511 |
#~ msgstr "Выберите, хотите ли вы использовать ссылку или кнопку при нажатии."
|
512 |
|
languages/yith-woocommerce-compare-sk_SK.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-sk_SK.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Jakub Novák <jakub.novak@hellephant.sk>\n"
|
7 |
"Language-Team: Hellephant <jakub.novak@hellephant.sk>\n"
|
8 |
"Language: sk\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
@@ -17,33 +17,32 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
-
#: includes/class.yith-woocompare-admin.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-woocompare-admin.php:
|
26 |
-
|
|
|
|
|
|
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-admin.php:
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
-
#: plugin-options/general-options.php:
|
34 |
#: widgets/class.yith-woocompare-widget.php:51
|
35 |
msgid "Compare"
|
36 |
msgstr "Porovnať"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:240
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -52,11 +51,11 @@ msgid ""
|
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class.yith-woocompare-admin.php:
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class.yith-woocompare-admin.php:
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -70,66 +69,74 @@ msgstr ""
|
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class.yith-woocompare-frontend.php:
|
74 |
msgid "Added"
|
75 |
msgstr "Pridané"
|
76 |
|
77 |
-
#: includes/class.yith-woocompare-frontend.php:
|
78 |
msgid "Product Comparison"
|
79 |
msgstr "Porovnanie produktov"
|
80 |
|
81 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
82 |
msgid "In stock"
|
83 |
msgstr "Na sklade"
|
84 |
|
85 |
-
#: includes/class.yith-woocompare-frontend.php:
|
86 |
msgid "No products to compare"
|
87 |
msgstr "Nie sú produkty na porovnanie"
|
88 |
|
89 |
-
#: includes/class.yith-woocompare-frontend.php:
|
90 |
msgid "Remove"
|
91 |
msgstr "Odobrať"
|
92 |
|
93 |
-
#: includes/class.yith-woocompare-helper.php:
|
94 |
msgid "Image"
|
95 |
msgstr "Obrázok"
|
96 |
|
97 |
-
#: includes/class.yith-woocompare-helper.php:
|
98 |
#: widgets/class.yith-woocompare-widget.php:68
|
99 |
msgid "Title"
|
100 |
msgstr "Titulok"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-helper.php:
|
103 |
msgid "Price"
|
104 |
msgstr "Cena"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Add to cart"
|
108 |
msgstr "Pridať do košíka"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-helper.php:
|
111 |
msgid "Description"
|
112 |
msgstr "Popis"
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Availability"
|
116 |
msgstr "Dostupnosť"
|
117 |
|
118 |
-
#: includes/class.yith-woocompare-helper.php:
|
119 |
msgid "Weight"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/class.yith-woocompare-helper.php:
|
123 |
msgid "Dimensions"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: init.php:
|
127 |
msgid ""
|
128 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
129 |
"WooCommerce in order to work."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: init.php:
|
133 |
msgid ""
|
134 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
135 |
"are using the premium one."
|
@@ -144,70 +151,72 @@ msgid "Link or Button"
|
|
144 |
msgstr "Odkaz alebo tlačidlo"
|
145 |
|
146 |
#: plugin-options/general-options.php:25
|
147 |
-
|
|
|
|
|
148 |
msgstr "Vyberte si či chcete ku vyvolaniu akcie používať odkaz alebo tlačidlo."
|
149 |
|
150 |
-
#: plugin-options/general-options.php:
|
151 |
msgid "Link"
|
152 |
msgstr "Odkaz"
|
153 |
|
154 |
-
#: plugin-options/general-options.php:
|
155 |
msgid "Button"
|
156 |
msgstr "Tlačidlo"
|
157 |
|
158 |
-
#: plugin-options/general-options.php:
|
159 |
msgid "Link/Button text"
|
160 |
msgstr "Odkaz/Text tlačidla"
|
161 |
|
162 |
-
#: plugin-options/general-options.php:
|
163 |
msgid "Type the text to use for the button or the link of the compare."
|
164 |
msgstr "Zadajte text tlačidla alebo odkazu na porovnanie."
|
165 |
|
166 |
-
#: plugin-options/general-options.php:
|
167 |
msgid "Show button in single product page"
|
168 |
msgstr "Zobraziť tlačidlo na produktovej stránke."
|
169 |
|
170 |
-
#: plugin-options/general-options.php:
|
171 |
msgid "Say if you want to show the button in the single product page."
|
172 |
msgstr "Rozhodnite sa či chcete zobrazovať tlačidlo na produktovej stránke."
|
173 |
|
174 |
-
#: plugin-options/general-options.php:
|
175 |
msgid "Show button in products list"
|
176 |
msgstr "Zobraziť tlačidlo v zozname produktov."
|
177 |
|
178 |
-
#: plugin-options/general-options.php:
|
179 |
msgid "Say if you want to show the button in the products list."
|
180 |
msgstr "Rozhodnite sa či chcete zobrazovať tlačidlo v zozname produktov"
|
181 |
|
182 |
-
#: plugin-options/general-options.php:
|
183 |
msgid "Open automatically lightbox"
|
184 |
msgstr "Otvoriť lightbox autmaticky."
|
185 |
|
186 |
-
#: plugin-options/general-options.php:
|
187 |
msgid "Open link after click into \"Compare\" button\"."
|
188 |
msgstr "Otvoriť odkaz po kliknuťí na \"Porovnať\" tlačidlo\"."
|
189 |
|
190 |
-
#: plugin-options/general-options.php:
|
191 |
msgid "Table Settings"
|
192 |
msgstr "Nastavenie tabuľky"
|
193 |
|
194 |
-
#: plugin-options/general-options.php:
|
195 |
msgid "Table title"
|
196 |
msgstr "Titulok tabuľky"
|
197 |
|
198 |
-
#: plugin-options/general-options.php:
|
199 |
msgid "Type the text to use for the table title."
|
200 |
msgstr "Napíšte text pre titulok tabuľky"
|
201 |
|
202 |
-
#: plugin-options/general-options.php:
|
203 |
msgid "Compare products"
|
204 |
msgstr "Porovnať produkty"
|
205 |
|
206 |
-
#: plugin-options/general-options.php:
|
207 |
msgid "Fields to show"
|
208 |
msgstr "Zobraziť polia"
|
209 |
|
210 |
-
#: plugin-options/general-options.php:
|
211 |
msgid ""
|
212 |
"Select the fields to show in the comparison table and order them by "
|
213 |
"drag&drop (are included also the woocommerce attributes)"
|
@@ -215,54 +224,54 @@ msgstr ""
|
|
215 |
"Vyberte polia na zobrazenie v porovnávacej tabuľke a zoraďte ich pomocou "
|
216 |
"drag&drop (zahrnuté vo woocommerce atribútoch)"
|
217 |
|
218 |
-
#: plugin-options/general-options.php:
|
219 |
msgid "Repeat \"Price\" field"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: plugin-options/general-options.php:
|
223 |
msgid "Repeat the \"Price\" field at the end of the table"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: plugin-options/general-options.php:
|
227 |
msgid "Repeat \"Add to cart\" field"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: plugin-options/general-options.php:
|
231 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: plugin-options/general-options.php:
|
235 |
msgid "Image size"
|
236 |
msgstr "Rozmer obrázka"
|
237 |
|
238 |
-
#: plugin-options/general-options.php:
|
239 |
msgid "Set the size for the images"
|
240 |
msgstr "Nastaviť rozmer pre obrázky"
|
241 |
|
242 |
-
#: templates/admin/premium.php:
|
243 |
#, php-format
|
244 |
msgid ""
|
245 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
246 |
"benefit from all features!"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: templates/admin/premium.php:
|
250 |
msgid "UPGRADE"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: templates/admin/premium.php:
|
254 |
msgid "to the premium version"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: templates/admin/premium.php:
|
258 |
msgid "Premium Features"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: templates/admin/premium.php:
|
262 |
msgid "A DEDICATED PAGE"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: templates/admin/premium.php:
|
266 |
#, php-format
|
267 |
msgid ""
|
268 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -272,11 +281,11 @@ msgid ""
|
|
272 |
"whenever they want."
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: templates/admin/premium.php:
|
276 |
msgid "CATEGORY COMPARATION"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: templates/admin/premium.php:
|
280 |
#, php-format
|
281 |
msgid ""
|
282 |
"People are often confused by finding products of different categories in the "
|
@@ -286,11 +295,11 @@ msgid ""
|
|
286 |
"affinity."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: templates/admin/premium.php:
|
290 |
msgid "CATEGORY EXCLUSION "
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: templates/admin/premium.php:
|
294 |
#, php-format
|
295 |
msgid ""
|
296 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -301,11 +310,11 @@ msgid ""
|
|
301 |
"selected categories."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: templates/admin/premium.php:
|
305 |
msgid "TABLE IMAGE"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: templates/admin/premium.php:
|
309 |
#, php-format
|
310 |
msgid ""
|
311 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -313,11 +322,11 @@ msgid ""
|
|
313 |
"table to your users. "
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: templates/admin/premium.php:
|
317 |
msgid "DYNAMIC FIELDS"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: templates/admin/premium.php:
|
321 |
#, php-format
|
322 |
msgid ""
|
323 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -326,11 +335,11 @@ msgid ""
|
|
326 |
"be no more empty lines in your comparison table."
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: templates/admin/premium.php:
|
330 |
msgid "SOCIAL NETWORK SHARING"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: templates/admin/premium.php:
|
334 |
#, php-format
|
335 |
msgid ""
|
336 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -339,11 +348,11 @@ msgid ""
|
|
339 |
"products they have selected."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: templates/admin/premium.php:
|
343 |
msgid "RELATED PRODUCTS"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: templates/admin/premium.php:
|
347 |
#, php-format
|
348 |
msgid ""
|
349 |
"All the products that have common categories and/or tags with those in the "
|
@@ -353,11 +362,11 @@ msgid ""
|
|
353 |
"interested into."
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: templates/admin/premium.php:
|
357 |
msgid "CUSTOMIZABLE STYLE"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: templates/admin/premium.php:
|
361 |
#, php-format
|
362 |
msgid ""
|
363 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -366,11 +375,11 @@ msgid ""
|
|
366 |
"to get to the best result."
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: templates/admin/premium.php:
|
370 |
msgid "CUSTOMIZED ATTRIBUTES"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: templates/admin/premium.php:
|
374 |
#, php-format
|
375 |
msgid ""
|
376 |
"Let you users compare products following every feature, and considering also "
|
@@ -378,33 +387,45 @@ msgid ""
|
|
378 |
"product detail page. Every single detail will be included."
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: templates/admin/premium.php:
|
382 |
msgid "A TAILORED TABLE"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: templates/admin/premium.php:
|
386 |
#, php-format
|
387 |
msgid ""
|
388 |
"Select the products you want to compare and the system will offer you the "
|
389 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: templates/admin/premium.php:
|
393 |
-
msgid "
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: templates/admin/premium.php:
|
397 |
msgid ""
|
398 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
399 |
"complete list of products added to the compare tab and avoid to open the "
|
400 |
"popup to check its existence. "
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
msgid "Close window [X]"
|
405 |
msgstr "Zavrieť okno [X]"
|
406 |
|
407 |
-
#: templates/compare.php:
|
408 |
msgid "No products added in the compare table."
|
409 |
msgstr "Neboli vybrané produkty do porovnávacej tabuľky."
|
410 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:33+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:33+0100\n"
|
6 |
"Last-Translator: Jakub Novák <jakub.novak@hellephant.sk>\n"
|
7 |
"Language-Team: Hellephant <jakub.novak@hellephant.sk>\n"
|
8 |
"Language: sk\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
+
#: includes/class.yith-woocompare-admin.php:119
|
21 |
+
#: includes/class.yith-woocompare-admin.php:143
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-woocompare-admin.php:153
|
34 |
+
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Porovnať"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/class.yith-woocompare-admin.php:253
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/class.yith-woocompare-admin.php:254
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
73 |
msgid "Added"
|
74 |
msgstr "Pridané"
|
75 |
|
76 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "Porovnanie produktov"
|
79 |
|
80 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
81 |
+
msgid "Close"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
85 |
msgid "In stock"
|
86 |
msgstr "Na sklade"
|
87 |
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
89 |
msgid "No products to compare"
|
90 |
msgstr "Nie sú produkty na porovnanie"
|
91 |
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
93 |
msgid "Remove"
|
94 |
msgstr "Odobrať"
|
95 |
|
96 |
+
#: includes/class.yith-woocompare-helper.php:46
|
97 |
msgid "Image"
|
98 |
msgstr "Obrázok"
|
99 |
|
100 |
+
#: includes/class.yith-woocompare-helper.php:47
|
101 |
#: widgets/class.yith-woocompare-widget.php:68
|
102 |
msgid "Title"
|
103 |
msgstr "Titulok"
|
104 |
|
105 |
+
#: includes/class.yith-woocompare-helper.php:48
|
106 |
msgid "Price"
|
107 |
msgstr "Cena"
|
108 |
|
109 |
+
#: includes/class.yith-woocompare-helper.php:49
|
110 |
msgid "Add to cart"
|
111 |
msgstr "Pridať do košíka"
|
112 |
|
113 |
+
#: includes/class.yith-woocompare-helper.php:50
|
114 |
msgid "Description"
|
115 |
msgstr "Popis"
|
116 |
|
117 |
+
#: includes/class.yith-woocompare-helper.php:51
|
118 |
+
msgid "Sku"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:52
|
122 |
msgid "Availability"
|
123 |
msgstr "Dostupnosť"
|
124 |
|
125 |
+
#: includes/class.yith-woocompare-helper.php:53
|
126 |
msgid "Weight"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/class.yith-woocompare-helper.php:54
|
130 |
msgid "Dimensions"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: init.php:42
|
134 |
msgid ""
|
135 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
136 |
"WooCommerce in order to work."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: init.php:50
|
140 |
msgid ""
|
141 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
142 |
"are using the premium one."
|
151 |
msgstr "Odkaz alebo tlačidlo"
|
152 |
|
153 |
#: plugin-options/general-options.php:25
|
154 |
+
#, fuzzy
|
155 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
156 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
157 |
msgstr "Vyberte si či chcete ku vyvolaniu akcie používať odkaz alebo tlačidlo."
|
158 |
|
159 |
+
#: plugin-options/general-options.php:32
|
160 |
msgid "Link"
|
161 |
msgstr "Odkaz"
|
162 |
|
163 |
+
#: plugin-options/general-options.php:33
|
164 |
msgid "Button"
|
165 |
msgstr "Tlačidlo"
|
166 |
|
167 |
+
#: plugin-options/general-options.php:38
|
168 |
msgid "Link/Button text"
|
169 |
msgstr "Odkaz/Text tlačidla"
|
170 |
|
171 |
+
#: plugin-options/general-options.php:39
|
172 |
msgid "Type the text to use for the button or the link of the compare."
|
173 |
msgstr "Zadajte text tlačidla alebo odkazu na porovnanie."
|
174 |
|
175 |
+
#: plugin-options/general-options.php:47
|
176 |
msgid "Show button in single product page"
|
177 |
msgstr "Zobraziť tlačidlo na produktovej stránke."
|
178 |
|
179 |
+
#: plugin-options/general-options.php:48
|
180 |
msgid "Say if you want to show the button in the single product page."
|
181 |
msgstr "Rozhodnite sa či chcete zobrazovať tlačidlo na produktovej stránke."
|
182 |
|
183 |
+
#: plugin-options/general-options.php:56
|
184 |
msgid "Show button in products list"
|
185 |
msgstr "Zobraziť tlačidlo v zozname produktov."
|
186 |
|
187 |
+
#: plugin-options/general-options.php:57
|
188 |
msgid "Say if you want to show the button in the products list."
|
189 |
msgstr "Rozhodnite sa či chcete zobrazovať tlačidlo v zozname produktov"
|
190 |
|
191 |
+
#: plugin-options/general-options.php:65
|
192 |
msgid "Open automatically lightbox"
|
193 |
msgstr "Otvoriť lightbox autmaticky."
|
194 |
|
195 |
+
#: plugin-options/general-options.php:66
|
196 |
msgid "Open link after click into \"Compare\" button\"."
|
197 |
msgstr "Otvoriť odkaz po kliknuťí na \"Porovnať\" tlačidlo\"."
|
198 |
|
199 |
+
#: plugin-options/general-options.php:79
|
200 |
msgid "Table Settings"
|
201 |
msgstr "Nastavenie tabuľky"
|
202 |
|
203 |
+
#: plugin-options/general-options.php:86
|
204 |
msgid "Table title"
|
205 |
msgstr "Titulok tabuľky"
|
206 |
|
207 |
+
#: plugin-options/general-options.php:87
|
208 |
msgid "Type the text to use for the table title."
|
209 |
msgstr "Napíšte text pre titulok tabuľky"
|
210 |
|
211 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
212 |
msgid "Compare products"
|
213 |
msgstr "Porovnať produkty"
|
214 |
|
215 |
+
#: plugin-options/general-options.php:95
|
216 |
msgid "Fields to show"
|
217 |
msgstr "Zobraziť polia"
|
218 |
|
219 |
+
#: plugin-options/general-options.php:96
|
220 |
msgid ""
|
221 |
"Select the fields to show in the comparison table and order them by "
|
222 |
"drag&drop (are included also the woocommerce attributes)"
|
224 |
"Vyberte polia na zobrazenie v porovnávacej tabuľke a zoraďte ich pomocou "
|
225 |
"drag&drop (zahrnuté vo woocommerce atribútoch)"
|
226 |
|
227 |
+
#: plugin-options/general-options.php:104
|
228 |
msgid "Repeat \"Price\" field"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: plugin-options/general-options.php:105
|
232 |
msgid "Repeat the \"Price\" field at the end of the table"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: plugin-options/general-options.php:113
|
236 |
msgid "Repeat \"Add to cart\" field"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: plugin-options/general-options.php:114
|
240 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: plugin-options/general-options.php:122
|
244 |
msgid "Image size"
|
245 |
msgstr "Rozmer obrázka"
|
246 |
|
247 |
+
#: plugin-options/general-options.php:123
|
248 |
msgid "Set the size for the images"
|
249 |
msgstr "Nastaviť rozmer pre obrázky"
|
250 |
|
251 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
252 |
#, php-format
|
253 |
msgid ""
|
254 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
255 |
"benefit from all features!"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
259 |
msgid "UPGRADE"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
263 |
msgid "to the premium version"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: templates/admin/premium.php:250
|
267 |
msgid "Premium Features"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: templates/admin/premium.php:258
|
271 |
msgid "A DEDICATED PAGE"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: templates/admin/premium.php:261
|
275 |
#, php-format
|
276 |
msgid ""
|
277 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
281 |
"whenever they want."
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: templates/admin/premium.php:271
|
285 |
msgid "CATEGORY COMPARATION"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: templates/admin/premium.php:274
|
289 |
#, php-format
|
290 |
msgid ""
|
291 |
"People are often confused by finding products of different categories in the "
|
295 |
"affinity."
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: templates/admin/premium.php:290
|
299 |
msgid "CATEGORY EXCLUSION "
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: templates/admin/premium.php:293
|
303 |
#, php-format
|
304 |
msgid ""
|
305 |
"In your shop there may be product categories you don't want to be affected "
|
310 |
"selected categories."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: templates/admin/premium.php:303
|
314 |
msgid "TABLE IMAGE"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: templates/admin/premium.php:306
|
318 |
#, php-format
|
319 |
msgid ""
|
320 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
322 |
"table to your users. "
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: templates/admin/premium.php:322
|
326 |
msgid "DYNAMIC FIELDS"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: templates/admin/premium.php:325
|
330 |
#, php-format
|
331 |
msgid ""
|
332 |
"With this precious feature, you will be able to show in the table only the "
|
335 |
"be no more empty lines in your comparison table."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: templates/admin/premium.php:335
|
339 |
msgid "SOCIAL NETWORK SHARING"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: templates/admin/premium.php:338
|
343 |
#, php-format
|
344 |
msgid ""
|
345 |
"One of the most appealing features of the premium version of the plugin.Four "
|
348 |
"products they have selected."
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: templates/admin/premium.php:354
|
352 |
msgid "RELATED PRODUCTS"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: templates/admin/premium.php:357
|
356 |
#, php-format
|
357 |
msgid ""
|
358 |
"All the products that have common categories and/or tags with those in the "
|
362 |
"interested into."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: templates/admin/premium.php:367
|
366 |
msgid "CUSTOMIZABLE STYLE"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: templates/admin/premium.php:370
|
370 |
#, php-format
|
371 |
msgid ""
|
372 |
"An advanced option panel that let you change all the colors of the plugin, "
|
375 |
"to get to the best result."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: templates/admin/premium.php:386
|
379 |
msgid "CUSTOMIZED ATTRIBUTES"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: templates/admin/premium.php:389
|
383 |
#, php-format
|
384 |
msgid ""
|
385 |
"Let you users compare products following every feature, and considering also "
|
387 |
"product detail page. Every single detail will be included."
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: templates/admin/premium.php:399
|
391 |
msgid "A TAILORED TABLE"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: templates/admin/premium.php:402
|
395 |
#, php-format
|
396 |
msgid ""
|
397 |
"Select the products you want to compare and the system will offer you the "
|
398 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: templates/admin/premium.php:418
|
402 |
+
msgid "Compare list - widget"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: templates/admin/premium.php:421
|
406 |
msgid ""
|
407 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
408 |
"complete list of products added to the compare tab and avoid to open the "
|
409 |
"popup to check its existence. "
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: templates/admin/premium.php:431
|
413 |
+
msgid "Compare counter - widget and shortcode"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: templates/admin/premium.php:434
|
417 |
+
msgid ""
|
418 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
419 |
+
"many products they have added to the Compare list, feel free to use the "
|
420 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
421 |
+
"than one click away."
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: templates/compare.php:77
|
425 |
msgid "Close window [X]"
|
426 |
msgstr "Zavrieť okno [X]"
|
427 |
|
428 |
+
#: templates/compare.php:106
|
429 |
msgid "No products added in the compare table."
|
430 |
msgstr "Neboli vybrané produkty do porovnávacej tabuľky."
|
431 |
|
languages/yith-woocommerce-compare-sl_SI.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-sl_SI.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: sl\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -24,28 +24,27 @@ msgid "Settings"
|
|
24 |
msgstr "Nastavitve"
|
25 |
|
26 |
#: ../includes/class.yith-woocompare-admin.php:121
|
|
|
|
|
|
|
27 |
#: ../includes/class.yith-woocompare-admin.php:147
|
28 |
msgid "Premium Version"
|
29 |
msgstr "Premium verzija"
|
30 |
|
31 |
#: ../includes/class.yith-woocompare-admin.php:153
|
32 |
#: ../includes/class.yith-woocompare-admin.php:154
|
33 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
34 |
#: ../plugin-options/general-options.php:41
|
35 |
#: ../plugin-options/general-options.php:42
|
36 |
#: ../widgets/class.yith-woocompare-widget.php:51
|
37 |
msgid "Compare"
|
38 |
msgstr "Primerjaj"
|
39 |
|
40 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
41 |
-
msgid "Plugin Documentation"
|
42 |
-
msgstr "Dokumentacija vtičnika"
|
43 |
-
|
44 |
-
#: ../includes/class.yith-woocompare-admin.php:237
|
45 |
msgid "YITH WooCommerce Compare Activated"
|
46 |
msgstr "YITH WooCommerce Compare aktiviran"
|
47 |
|
48 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
49 |
#, php-format
|
50 |
msgid ""
|
51 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -58,11 +57,11 @@ msgstr ""
|
|
58 |
"aktivirali. YITH WooCommerce Compare je na voljo v izjemni Premium "
|
59 |
"različici z velko novih možnosti, <a href=\"%s\">raziščite jih zdaj</a>."
|
60 |
|
61 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
62 |
msgid "YITH WooCommerce Compare Updated"
|
63 |
msgstr "YITH WooCommerce Compare posodobljen"
|
64 |
|
65 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
66 |
#, php-format
|
67 |
msgid ""
|
68 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -77,72 +76,80 @@ msgstr ""
|
|
77 |
"YITH WooCommerce Compare je bil posodobljen z novimi možnostmi, <a href=\"%s"
|
78 |
"\">razišči Premium različico.</a>"
|
79 |
|
80 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
81 |
msgid "Do you want to hard crop the image?"
|
82 |
msgstr "Trdo obrežem sliko?"
|
83 |
|
84 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
85 |
msgid "Added"
|
86 |
msgstr "Dodano"
|
87 |
|
88 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
89 |
-
#: ../templates/compare.php:
|
90 |
msgid "Product Comparison"
|
91 |
msgstr "Primerjanje izdelkov"
|
92 |
|
93 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
94 |
msgid "In stock"
|
95 |
msgstr "Na zalogi"
|
96 |
|
97 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
98 |
msgid "No products to compare"
|
99 |
msgstr "Ni izdelkov za primerjavo"
|
100 |
|
101 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
102 |
-
#: ../templates/compare.php:
|
103 |
msgid "Remove"
|
104 |
msgstr "Odstrani"
|
105 |
|
106 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Image"
|
108 |
msgstr "Slika"
|
109 |
|
110 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
111 |
#: ../widgets/class.yith-woocompare-widget.php:68
|
112 |
msgid "Title"
|
113 |
msgstr "Naslov"
|
114 |
|
115 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
116 |
msgid "Price"
|
117 |
msgstr "Cena"
|
118 |
|
119 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
120 |
msgid "Add to cart"
|
121 |
msgstr "Dodaj v košarico"
|
122 |
|
123 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
124 |
msgid "Description"
|
125 |
msgstr "Opis"
|
126 |
|
127 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
128 |
msgid "Availability"
|
129 |
msgstr "Razpoložljivost"
|
130 |
|
131 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
132 |
msgid "Weight"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
136 |
msgid "Dimensions"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: ../init.php:
|
140 |
msgid ""
|
141 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
142 |
"WooCommerce in order to work."
|
143 |
msgstr "YITH WooCommerce Compare je omogočen toda ne deluje brez WooCommerca."
|
144 |
|
145 |
-
#: ../init.php:
|
146 |
msgid ""
|
147 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
148 |
"are using the premium one."
|
@@ -258,7 +265,7 @@ msgstr "Velikost slike"
|
|
258 |
msgid "Set the size for the images"
|
259 |
msgstr "Nastavi velikost slik"
|
260 |
|
261 |
-
#: ../templates/admin/premium.php:
|
262 |
#, php-format
|
263 |
msgid ""
|
264 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
@@ -267,23 +274,23 @@ msgstr ""
|
|
267 |
"Nadgradite v %1$spremium različico%2$s z %1$sYITH WooCommerce Compare%2$s da "
|
268 |
"boste lahko izkoristili vse možnosti!"
|
269 |
|
270 |
-
#: ../templates/admin/premium.php:
|
271 |
msgid "UPGRADE"
|
272 |
msgstr "NADGRADI"
|
273 |
|
274 |
-
#: ../templates/admin/premium.php:
|
275 |
msgid "to the premium version"
|
276 |
msgstr "na premium različico"
|
277 |
|
278 |
-
#: ../templates/admin/premium.php:
|
279 |
msgid "Premium Features"
|
280 |
msgstr "Premium možnosti"
|
281 |
|
282 |
-
#: ../templates/admin/premium.php:
|
283 |
msgid "A DEDICATED PAGE"
|
284 |
msgstr "STRAN ZA POSVETILA"
|
285 |
|
286 |
-
#: ../templates/admin/premium.php:
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -297,11 +304,11 @@ msgstr ""
|
|
297 |
"strani samodejno ustvarjena in z dodajanjem med meniji boste svojim "
|
298 |
"uporabnikom dali možnost enostavnega dostopa."
|
299 |
|
300 |
-
#: ../templates/admin/premium.php:
|
301 |
msgid "CATEGORY COMPARATION"
|
302 |
msgstr "PRIMERJANJE KATEGORIJ"
|
303 |
|
304 |
-
#: ../templates/admin/premium.php:
|
305 |
#, php-format
|
306 |
msgid ""
|
307 |
"People are often confused by finding products of different categories in the "
|
@@ -315,11 +322,11 @@ msgstr ""
|
|
315 |
"katere se zanimajo. Možnost %1$s \"Primerjava po kategoriji\"%2$s omogoča, "
|
316 |
"da ločite izdelke v tabeli po sorodnih kategorijah. "
|
317 |
|
318 |
-
#: ../templates/admin/premium.php:
|
319 |
msgid "CATEGORY EXCLUSION "
|
320 |
msgstr "IZKLJUČENE KATEGORIJE"
|
321 |
|
322 |
-
#: ../templates/admin/premium.php:
|
323 |
#, php-format
|
324 |
msgid ""
|
325 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -336,11 +343,11 @@ msgstr ""
|
|
336 |
"of the feature, allowing the comparison only to those products of the "
|
337 |
"selected categories."
|
338 |
|
339 |
-
#: ../templates/admin/premium.php:
|
340 |
msgid "TABLE IMAGE"
|
341 |
msgstr "SLIKA TABELE"
|
342 |
|
343 |
-
#: ../templates/admin/premium.php:
|
344 |
#, php-format
|
345 |
msgid ""
|
346 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -351,11 +358,11 @@ msgstr ""
|
|
351 |
"videli. Izberite sliko, prenesite jo iz panela možnosti in jo prikažite za "
|
352 |
"vaše uporabnike pred tabelo."
|
353 |
|
354 |
-
#: ../templates/admin/premium.php:
|
355 |
msgid "DYNAMIC FIELDS"
|
356 |
msgstr "DINAMIČNA POLJA"
|
357 |
|
358 |
-
#: ../templates/admin/premium.php:
|
359 |
#, php-format
|
360 |
msgid ""
|
361 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -368,11 +375,11 @@ msgstr ""
|
|
368 |
"Attribute fields\"%2$s funkcijo, tako da ne boste imeli praznih vrstic v "
|
369 |
"vaši tabeli za primerjanje."
|
370 |
|
371 |
-
#: ../templates/admin/premium.php:
|
372 |
msgid "SOCIAL NETWORK SHARING"
|
373 |
msgstr "DELI SOCIALNA OMREŽJA"
|
374 |
|
375 |
-
#: ../templates/admin/premium.php:
|
376 |
#, php-format
|
377 |
msgid ""
|
378 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -385,11 +392,11 @@ msgstr ""
|
|
385 |
"Pinterest) in sistem e-pošte %1$s deli%2$s za primerjalno tabelo izdelkov, "
|
386 |
"ki so jih izbrali."
|
387 |
|
388 |
-
#: ../templates/admin/premium.php:
|
389 |
msgid "RELATED PRODUCTS"
|
390 |
msgstr "SORODNI IZDELKI"
|
391 |
|
392 |
-
#: ../templates/admin/premium.php:
|
393 |
#, php-format
|
394 |
msgid ""
|
395 |
"All the products that have common categories and/or tags with those in the "
|
@@ -403,11 +410,11 @@ msgstr ""
|
|
403 |
"%3$sA Povsem %1$ s \"prijazen dotik\"%2$s drsnika za spodbujanje "
|
404 |
"uporabnikov, da odkrivajo tiste izdelke v trgovini, ki jih zanimajo."
|
405 |
|
406 |
-
#: ../templates/admin/premium.php:
|
407 |
msgid "CUSTOMIZABLE STYLE"
|
408 |
msgstr "PRILAGODLJIVI STIL"
|
409 |
|
410 |
-
#: ../templates/admin/premium.php:
|
411 |
#, fuzzy, php-format
|
412 |
#| msgid ""
|
413 |
#| "An advanced option panel that let you change all the colors of the "
|
@@ -425,13 +432,13 @@ msgstr ""
|
|
425 |
"trgovine. Vemo, videti je, da tudi računa.... dali smo vam najboljše orodje "
|
426 |
"za doseganje najboljših rezultatov."
|
427 |
|
428 |
-
#: ../templates/admin/premium.php:
|
429 |
#, fuzzy
|
430 |
#| msgid "CUSTOMIZABLE STYLE"
|
431 |
msgid "CUSTOMIZED ATTRIBUTES"
|
432 |
msgstr "PRILAGODLJIVI STIL"
|
433 |
|
434 |
-
#: ../templates/admin/premium.php:
|
435 |
#, php-format
|
436 |
msgid ""
|
437 |
"Let you users compare products following every feature, and considering also "
|
@@ -439,33 +446,45 @@ msgid ""
|
|
439 |
"product detail page. Every single detail will be included."
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: ../templates/admin/premium.php:
|
443 |
msgid "A TAILORED TABLE"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../templates/admin/premium.php:
|
447 |
#, php-format
|
448 |
msgid ""
|
449 |
"Select the products you want to compare and the system will offer you the "
|
450 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: ../templates/admin/premium.php:
|
454 |
-
msgid "
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: ../templates/admin/premium.php:
|
458 |
msgid ""
|
459 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
460 |
"complete list of products added to the compare tab and avoid to open the "
|
461 |
"popup to check its existence. "
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: ../templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
msgid "Close window [X]"
|
466 |
msgstr "Zapri okno [X]"
|
467 |
|
468 |
-
#: ../templates/compare.php:
|
469 |
msgid "No products added in the compare table."
|
470 |
msgstr "V tabeli za primerjanje ni dodanih izdelkov."
|
471 |
|
@@ -484,3 +503,6 @@ msgstr "YITH Woocommerce Compare vtičnik"
|
|
484 |
#: ../widgets/class.yith-woocompare-widget.php:50
|
485 |
msgid "Clear all"
|
486 |
msgstr "Počisti vse"
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:33+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:33+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
"Language: sl\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
24 |
msgstr "Nastavitve"
|
25 |
|
26 |
#: ../includes/class.yith-woocompare-admin.php:121
|
27 |
+
msgid "License"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
#: ../includes/class.yith-woocompare-admin.php:147
|
31 |
msgid "Premium Version"
|
32 |
msgstr "Premium verzija"
|
33 |
|
34 |
#: ../includes/class.yith-woocompare-admin.php:153
|
35 |
#: ../includes/class.yith-woocompare-admin.php:154
|
36 |
+
#: ../includes/class.yith-woocompare-frontend.php:505
|
37 |
#: ../plugin-options/general-options.php:41
|
38 |
#: ../plugin-options/general-options.php:42
|
39 |
#: ../widgets/class.yith-woocompare-widget.php:51
|
40 |
msgid "Compare"
|
41 |
msgstr "Primerjaj"
|
42 |
|
43 |
+
#: ../includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
44 |
msgid "YITH WooCommerce Compare Activated"
|
45 |
msgstr "YITH WooCommerce Compare aktiviran"
|
46 |
|
47 |
+
#: ../includes/class.yith-woocompare-admin.php:242
|
48 |
#, php-format
|
49 |
msgid ""
|
50 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
57 |
"aktivirali. YITH WooCommerce Compare je na voljo v izjemni Premium "
|
58 |
"različici z velko novih možnosti, <a href=\"%s\">raziščite jih zdaj</a>."
|
59 |
|
60 |
+
#: ../includes/class.yith-woocompare-admin.php:253
|
61 |
msgid "YITH WooCommerce Compare Updated"
|
62 |
msgstr "YITH WooCommerce Compare posodobljen"
|
63 |
|
64 |
+
#: ../includes/class.yith-woocompare-admin.php:254
|
65 |
#, php-format
|
66 |
msgid ""
|
67 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
76 |
"YITH WooCommerce Compare je bil posodobljen z novimi možnostmi, <a href=\"%s"
|
77 |
"\">razišči Premium različico.</a>"
|
78 |
|
79 |
+
#: ../includes/class.yith-woocompare-admin.php:398
|
80 |
msgid "Do you want to hard crop the image?"
|
81 |
msgstr "Trdo obrežem sliko?"
|
82 |
|
83 |
+
#: ../includes/class.yith-woocompare-frontend.php:223
|
84 |
msgid "Added"
|
85 |
msgstr "Dodano"
|
86 |
|
87 |
+
#: ../includes/class.yith-woocompare-frontend.php:224
|
88 |
+
#: ../templates/compare.php:50
|
89 |
msgid "Product Comparison"
|
90 |
msgstr "Primerjanje izdelkov"
|
91 |
|
92 |
+
#: ../includes/class.yith-woocompare-frontend.php:229
|
93 |
+
msgid "Close"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: ../includes/class.yith-woocompare-frontend.php:384
|
97 |
msgid "In stock"
|
98 |
msgstr "Na zalogi"
|
99 |
|
100 |
+
#: ../includes/class.yith-woocompare-frontend.php:696
|
101 |
msgid "No products to compare"
|
102 |
msgstr "Ni izdelkov za primerjavo"
|
103 |
|
104 |
+
#: ../includes/class.yith-woocompare-frontend.php:709
|
105 |
+
#: ../templates/compare.php:117
|
106 |
msgid "Remove"
|
107 |
msgstr "Odstrani"
|
108 |
|
109 |
+
#: ../includes/class.yith-woocompare-helper.php:46
|
110 |
msgid "Image"
|
111 |
msgstr "Slika"
|
112 |
|
113 |
+
#: ../includes/class.yith-woocompare-helper.php:47
|
114 |
#: ../widgets/class.yith-woocompare-widget.php:68
|
115 |
msgid "Title"
|
116 |
msgstr "Naslov"
|
117 |
|
118 |
+
#: ../includes/class.yith-woocompare-helper.php:48
|
119 |
msgid "Price"
|
120 |
msgstr "Cena"
|
121 |
|
122 |
+
#: ../includes/class.yith-woocompare-helper.php:49
|
123 |
msgid "Add to cart"
|
124 |
msgstr "Dodaj v košarico"
|
125 |
|
126 |
+
#: ../includes/class.yith-woocompare-helper.php:50
|
127 |
msgid "Description"
|
128 |
msgstr "Opis"
|
129 |
|
130 |
+
#: ../includes/class.yith-woocompare-helper.php:51
|
131 |
+
msgid "Sku"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: ../includes/class.yith-woocompare-helper.php:52
|
135 |
msgid "Availability"
|
136 |
msgstr "Razpoložljivost"
|
137 |
|
138 |
+
#: ../includes/class.yith-woocompare-helper.php:53
|
139 |
msgid "Weight"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: ../includes/class.yith-woocompare-helper.php:54
|
143 |
msgid "Dimensions"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: ../init.php:42
|
147 |
msgid ""
|
148 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
149 |
"WooCommerce in order to work."
|
150 |
msgstr "YITH WooCommerce Compare je omogočen toda ne deluje brez WooCommerca."
|
151 |
|
152 |
+
#: ../init.php:50
|
153 |
msgid ""
|
154 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
155 |
"are using the premium one."
|
265 |
msgid "Set the size for the images"
|
266 |
msgstr "Nastavi velikost slik"
|
267 |
|
268 |
+
#: ../templates/admin/premium.php:240 ../templates/admin/premium.php:446
|
269 |
#, php-format
|
270 |
msgid ""
|
271 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
274 |
"Nadgradite v %1$spremium različico%2$s z %1$sYITH WooCommerce Compare%2$s da "
|
275 |
"boste lahko izkoristili vse možnosti!"
|
276 |
|
277 |
+
#: ../templates/admin/premium.php:243 ../templates/admin/premium.php:449
|
278 |
msgid "UPGRADE"
|
279 |
msgstr "NADGRADI"
|
280 |
|
281 |
+
#: ../templates/admin/premium.php:244 ../templates/admin/premium.php:450
|
282 |
msgid "to the premium version"
|
283 |
msgstr "na premium različico"
|
284 |
|
285 |
+
#: ../templates/admin/premium.php:250
|
286 |
msgid "Premium Features"
|
287 |
msgstr "Premium možnosti"
|
288 |
|
289 |
+
#: ../templates/admin/premium.php:258
|
290 |
msgid "A DEDICATED PAGE"
|
291 |
msgstr "STRAN ZA POSVETILA"
|
292 |
|
293 |
+
#: ../templates/admin/premium.php:261
|
294 |
#, php-format
|
295 |
msgid ""
|
296 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
304 |
"strani samodejno ustvarjena in z dodajanjem med meniji boste svojim "
|
305 |
"uporabnikom dali možnost enostavnega dostopa."
|
306 |
|
307 |
+
#: ../templates/admin/premium.php:271
|
308 |
msgid "CATEGORY COMPARATION"
|
309 |
msgstr "PRIMERJANJE KATEGORIJ"
|
310 |
|
311 |
+
#: ../templates/admin/premium.php:274
|
312 |
#, php-format
|
313 |
msgid ""
|
314 |
"People are often confused by finding products of different categories in the "
|
322 |
"katere se zanimajo. Možnost %1$s \"Primerjava po kategoriji\"%2$s omogoča, "
|
323 |
"da ločite izdelke v tabeli po sorodnih kategorijah. "
|
324 |
|
325 |
+
#: ../templates/admin/premium.php:290
|
326 |
msgid "CATEGORY EXCLUSION "
|
327 |
msgstr "IZKLJUČENE KATEGORIJE"
|
328 |
|
329 |
+
#: ../templates/admin/premium.php:293
|
330 |
#, php-format
|
331 |
msgid ""
|
332 |
"In your shop there may be product categories you don't want to be affected "
|
343 |
"of the feature, allowing the comparison only to those products of the "
|
344 |
"selected categories."
|
345 |
|
346 |
+
#: ../templates/admin/premium.php:303
|
347 |
msgid "TABLE IMAGE"
|
348 |
msgstr "SLIKA TABELE"
|
349 |
|
350 |
+
#: ../templates/admin/premium.php:306
|
351 |
#, php-format
|
352 |
msgid ""
|
353 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
358 |
"videli. Izberite sliko, prenesite jo iz panela možnosti in jo prikažite za "
|
359 |
"vaše uporabnike pred tabelo."
|
360 |
|
361 |
+
#: ../templates/admin/premium.php:322
|
362 |
msgid "DYNAMIC FIELDS"
|
363 |
msgstr "DINAMIČNA POLJA"
|
364 |
|
365 |
+
#: ../templates/admin/premium.php:325
|
366 |
#, php-format
|
367 |
msgid ""
|
368 |
"With this precious feature, you will be able to show in the table only the "
|
375 |
"Attribute fields\"%2$s funkcijo, tako da ne boste imeli praznih vrstic v "
|
376 |
"vaši tabeli za primerjanje."
|
377 |
|
378 |
+
#: ../templates/admin/premium.php:335
|
379 |
msgid "SOCIAL NETWORK SHARING"
|
380 |
msgstr "DELI SOCIALNA OMREŽJA"
|
381 |
|
382 |
+
#: ../templates/admin/premium.php:338
|
383 |
#, php-format
|
384 |
msgid ""
|
385 |
"One of the most appealing features of the premium version of the plugin.Four "
|
392 |
"Pinterest) in sistem e-pošte %1$s deli%2$s za primerjalno tabelo izdelkov, "
|
393 |
"ki so jih izbrali."
|
394 |
|
395 |
+
#: ../templates/admin/premium.php:354
|
396 |
msgid "RELATED PRODUCTS"
|
397 |
msgstr "SORODNI IZDELKI"
|
398 |
|
399 |
+
#: ../templates/admin/premium.php:357
|
400 |
#, php-format
|
401 |
msgid ""
|
402 |
"All the products that have common categories and/or tags with those in the "
|
410 |
"%3$sA Povsem %1$ s \"prijazen dotik\"%2$s drsnika za spodbujanje "
|
411 |
"uporabnikov, da odkrivajo tiste izdelke v trgovini, ki jih zanimajo."
|
412 |
|
413 |
+
#: ../templates/admin/premium.php:367
|
414 |
msgid "CUSTOMIZABLE STYLE"
|
415 |
msgstr "PRILAGODLJIVI STIL"
|
416 |
|
417 |
+
#: ../templates/admin/premium.php:370
|
418 |
#, fuzzy, php-format
|
419 |
#| msgid ""
|
420 |
#| "An advanced option panel that let you change all the colors of the "
|
432 |
"trgovine. Vemo, videti je, da tudi računa.... dali smo vam najboljše orodje "
|
433 |
"za doseganje najboljših rezultatov."
|
434 |
|
435 |
+
#: ../templates/admin/premium.php:386
|
436 |
#, fuzzy
|
437 |
#| msgid "CUSTOMIZABLE STYLE"
|
438 |
msgid "CUSTOMIZED ATTRIBUTES"
|
439 |
msgstr "PRILAGODLJIVI STIL"
|
440 |
|
441 |
+
#: ../templates/admin/premium.php:389
|
442 |
#, php-format
|
443 |
msgid ""
|
444 |
"Let you users compare products following every feature, and considering also "
|
446 |
"product detail page. Every single detail will be included."
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: ../templates/admin/premium.php:399
|
450 |
msgid "A TAILORED TABLE"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: ../templates/admin/premium.php:402
|
454 |
#, php-format
|
455 |
msgid ""
|
456 |
"Select the products you want to compare and the system will offer you the "
|
457 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../templates/admin/premium.php:418
|
461 |
+
msgid "Compare list - widget"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: ../templates/admin/premium.php:421
|
465 |
msgid ""
|
466 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
467 |
"complete list of products added to the compare tab and avoid to open the "
|
468 |
"popup to check its existence. "
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: ../templates/admin/premium.php:431
|
472 |
+
msgid "Compare counter - widget and shortcode"
|
473 |
+
msgstr ""
|
474 |
+
|
475 |
+
#: ../templates/admin/premium.php:434
|
476 |
+
msgid ""
|
477 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
478 |
+
"many products they have added to the Compare list, feel free to use the "
|
479 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
480 |
+
"than one click away."
|
481 |
+
msgstr ""
|
482 |
+
|
483 |
+
#: ../templates/compare.php:77
|
484 |
msgid "Close window [X]"
|
485 |
msgstr "Zapri okno [X]"
|
486 |
|
487 |
+
#: ../templates/compare.php:106
|
488 |
msgid "No products added in the compare table."
|
489 |
msgstr "V tabeli za primerjanje ni dodanih izdelkov."
|
490 |
|
503 |
#: ../widgets/class.yith-woocompare-widget.php:50
|
504 |
msgid "Clear all"
|
505 |
msgstr "Počisti vse"
|
506 |
+
|
507 |
+
#~ msgid "Plugin Documentation"
|
508 |
+
#~ msgstr "Dokumentacija vtičnika"
|
languages/yith-woocommerce-compare-tr_TR.mo
CHANGED
Binary file
|
languages/yith-woocommerce-compare-tr_TR.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
|
7 |
"Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
|
8 |
"Language: tr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
@@ -17,33 +17,32 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
-
#: includes/class.yith-woocompare-admin.php:
|
21 |
-
#: includes/class.yith-woocompare-admin.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class.yith-woocompare-admin.php:
|
26 |
-
|
|
|
|
|
|
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: includes/class.yith-woocompare-admin.php:
|
31 |
-
#: includes/class.yith-woocompare-admin.php:
|
32 |
-
#: includes/class.yith-woocompare-frontend.php:
|
33 |
-
#: plugin-options/general-options.php:
|
34 |
-
#: widgets/class.yith-woocompare-widget.php:
|
35 |
msgid "Compare"
|
36 |
msgstr "Karşılaştır"
|
37 |
|
38 |
-
#: includes/class.yith-woocompare-admin.php:
|
39 |
-
msgid "Plugin Documentation"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: includes/class.yith-woocompare-admin.php:235
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-woocompare-admin.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -52,11 +51,11 @@ msgid ""
|
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class.yith-woocompare-admin.php:
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class.yith-woocompare-admin.php:
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -66,62 +65,78 @@ msgid ""
|
|
66 |
"available options, <a href=\"%s\">discover the PREMIUM version.</a>"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: includes/class.yith-woocompare-admin.php:
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class.yith-woocompare-frontend.php:
|
74 |
msgid "Added"
|
75 |
msgstr "Eklendi"
|
76 |
|
77 |
-
#: includes/class.yith-woocompare-frontend.php:
|
78 |
msgid "Product Comparison"
|
79 |
msgstr "Ürün Karşılaştırma"
|
80 |
|
81 |
-
#: includes/class.yith-woocompare-frontend.php:
|
|
|
|
|
|
|
|
|
82 |
msgid "In stock"
|
83 |
msgstr "Stokta"
|
84 |
|
85 |
-
#: includes/class.yith-woocompare-frontend.php:
|
86 |
msgid "No products to compare"
|
87 |
msgstr "Karşılaştırma listeniz boş"
|
88 |
|
89 |
-
#: includes/class.yith-woocompare-frontend.php:
|
90 |
msgid "Remove"
|
91 |
msgstr "Kaldır"
|
92 |
|
93 |
-
#: includes/class.yith-woocompare-helper.php:
|
94 |
msgid "Image"
|
95 |
msgstr "Resim"
|
96 |
|
97 |
-
#: includes/class.yith-woocompare-helper.php:
|
98 |
-
#: widgets/class.yith-woocompare-widget.php:
|
99 |
msgid "Title"
|
100 |
msgstr "Başlık"
|
101 |
|
102 |
-
#: includes/class.yith-woocompare-helper.php:
|
103 |
msgid "Price"
|
104 |
msgstr "Fiyat"
|
105 |
|
106 |
-
#: includes/class.yith-woocompare-helper.php:
|
107 |
msgid "Add to cart"
|
108 |
msgstr "Sepete Ekle"
|
109 |
|
110 |
-
#: includes/class.yith-woocompare-helper.php:
|
111 |
msgid "Description"
|
112 |
msgstr "Açıklama"
|
113 |
|
114 |
-
#: includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Availability"
|
116 |
msgstr "Durum"
|
117 |
|
118 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
msgid ""
|
120 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
121 |
"WooCommerce in order to work."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: init.php:
|
125 |
msgid ""
|
126 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
127 |
"are using the premium one."
|
@@ -136,71 +151,73 @@ msgid "Link or Button"
|
|
136 |
msgstr "Link veya Buton"
|
137 |
|
138 |
#: plugin-options/general-options.php:25
|
139 |
-
|
|
|
|
|
140 |
msgstr ""
|
141 |
"Eylem için kullanmak üzere link veya buton seçeneklerinden birini belirleyin."
|
142 |
|
143 |
-
#: plugin-options/general-options.php:
|
144 |
msgid "Link"
|
145 |
msgstr "Link"
|
146 |
|
147 |
-
#: plugin-options/general-options.php:
|
148 |
msgid "Button"
|
149 |
msgstr "Buton"
|
150 |
|
151 |
-
#: plugin-options/general-options.php:
|
152 |
msgid "Link/Button text"
|
153 |
msgstr "Link/Buton Metni"
|
154 |
|
155 |
-
#: plugin-options/general-options.php:
|
156 |
msgid "Type the text to use for the button or the link of the compare."
|
157 |
msgstr "Karşılaştırma butonu veya bağlantısı için kullanılacak metni yazın."
|
158 |
|
159 |
-
#: plugin-options/general-options.php:
|
160 |
msgid "Show button in single product page"
|
161 |
msgstr "Tekli ürün sayfasında buton göster"
|
162 |
|
163 |
-
#: plugin-options/general-options.php:
|
164 |
msgid "Say if you want to show the button in the single product page."
|
165 |
msgstr "Tekli ürün sayfasında buton göstermek isteyip istemediğinizi belirtin."
|
166 |
|
167 |
-
#: plugin-options/general-options.php:
|
168 |
msgid "Show button in products list"
|
169 |
msgstr "Ürün listesinde buton göster"
|
170 |
|
171 |
-
#: plugin-options/general-options.php:
|
172 |
msgid "Say if you want to show the button in the products list."
|
173 |
msgstr "Ürün listesinde buton göstermek isteyip istemediğinizi belirtin."
|
174 |
|
175 |
-
#: plugin-options/general-options.php:
|
176 |
msgid "Open automatically lightbox"
|
177 |
msgstr "Otomatik lightbox aç"
|
178 |
|
179 |
-
#: plugin-options/general-options.php:
|
180 |
msgid "Open link after click into \"Compare\" button\"."
|
181 |
msgstr "\"Karşılaştır\" butonuna tıklandıktan sonra bağlantıyı aç."
|
182 |
|
183 |
-
#: plugin-options/general-options.php:
|
184 |
msgid "Table Settings"
|
185 |
msgstr "Tablo Ayarları"
|
186 |
|
187 |
-
#: plugin-options/general-options.php:
|
188 |
msgid "Table title"
|
189 |
msgstr "Tablo Başlığı"
|
190 |
|
191 |
-
#: plugin-options/general-options.php:
|
192 |
msgid "Type the text to use for the table title."
|
193 |
msgstr "Tablo başlığı metnini buraya yazın."
|
194 |
|
195 |
-
#: plugin-options/general-options.php:
|
196 |
msgid "Compare products"
|
197 |
msgstr "Ürünleri Karşılaştır"
|
198 |
|
199 |
-
#: plugin-options/general-options.php:
|
200 |
msgid "Fields to show"
|
201 |
msgstr "Gösterilecek alanlar"
|
202 |
|
203 |
-
#: plugin-options/general-options.php:
|
204 |
msgid ""
|
205 |
"Select the fields to show in the comparison table and order them by "
|
206 |
"drag&drop (are included also the woocommerce attributes)"
|
@@ -208,54 +225,54 @@ msgstr ""
|
|
208 |
"Karşılaştırma tablosunda gösterilecek alanları seçin ve sürükle-bırak "
|
209 |
"yöntemi ile sıralayın (ayrıca Woocommerce özellikleri dahildir)"
|
210 |
|
211 |
-
#: plugin-options/general-options.php:
|
212 |
msgid "Repeat \"Price\" field"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: plugin-options/general-options.php:
|
216 |
msgid "Repeat the \"Price\" field at the end of the table"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: plugin-options/general-options.php:
|
220 |
msgid "Repeat \"Add to cart\" field"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: plugin-options/general-options.php:
|
224 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: plugin-options/general-options.php:
|
228 |
msgid "Image size"
|
229 |
msgstr "Resim Boyutu"
|
230 |
|
231 |
-
#: plugin-options/general-options.php:
|
232 |
msgid "Set the size for the images"
|
233 |
msgstr "Resimlerin boyutlarını belirtin"
|
234 |
|
235 |
-
#: templates/admin/premium.php:
|
236 |
#, php-format
|
237 |
msgid ""
|
238 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
239 |
"benefit from all features!"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: templates/admin/premium.php:
|
243 |
msgid "UPGRADE"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: templates/admin/premium.php:
|
247 |
msgid "to the premium version"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: templates/admin/premium.php:
|
251 |
msgid "Premium Features"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: templates/admin/premium.php:
|
255 |
msgid "A DEDICATED PAGE"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: templates/admin/premium.php:
|
259 |
#, php-format
|
260 |
msgid ""
|
261 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -265,11 +282,11 @@ msgid ""
|
|
265 |
"whenever they want."
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: templates/admin/premium.php:
|
269 |
msgid "CATEGORY COMPARATION"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: templates/admin/premium.php:
|
273 |
#, php-format
|
274 |
msgid ""
|
275 |
"People are often confused by finding products of different categories in the "
|
@@ -279,11 +296,11 @@ msgid ""
|
|
279 |
"affinity."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: templates/admin/premium.php:
|
283 |
msgid "CATEGORY EXCLUSION "
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: templates/admin/premium.php:
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -294,11 +311,11 @@ msgid ""
|
|
294 |
"selected categories."
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: templates/admin/premium.php:
|
298 |
msgid "TABLE IMAGE"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: templates/admin/premium.php:
|
302 |
#, php-format
|
303 |
msgid ""
|
304 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -306,11 +323,11 @@ msgid ""
|
|
306 |
"table to your users. "
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: templates/admin/premium.php:
|
310 |
msgid "DYNAMIC FIELDS"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: templates/admin/premium.php:
|
314 |
#, php-format
|
315 |
msgid ""
|
316 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -319,11 +336,11 @@ msgid ""
|
|
319 |
"be no more empty lines in your comparison table."
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: templates/admin/premium.php:
|
323 |
msgid "SOCIAL NETWORK SHARING"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: templates/admin/premium.php:
|
327 |
#, php-format
|
328 |
msgid ""
|
329 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -332,11 +349,11 @@ msgid ""
|
|
332 |
"products they have selected."
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: templates/admin/premium.php:
|
336 |
msgid "RELATED PRODUCTS"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: templates/admin/premium.php:
|
340 |
#, php-format
|
341 |
msgid ""
|
342 |
"All the products that have common categories and/or tags with those in the "
|
@@ -346,36 +363,86 @@ msgid ""
|
|
346 |
"interested into."
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: templates/admin/premium.php:
|
350 |
msgid "CUSTOMIZABLE STYLE"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: templates/admin/premium.php:
|
354 |
#, php-format
|
355 |
msgid ""
|
356 |
"An advanced option panel that let you change all the colors of the plugin, "
|
357 |
-
"so that you can adapt stylistically all its elements
|
358 |
"of your shop.We know it, looks also count... and we give you the right tools "
|
359 |
"to get to the best result."
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
363 |
msgid "Close window [X]"
|
364 |
msgstr "Pencereyi Kapat [X]"
|
365 |
|
366 |
-
#: templates/compare.php:
|
367 |
msgid "No products added in the compare table."
|
368 |
msgstr "Karşılaştırma tablosuna herhangi bir ürün eklenmedi."
|
369 |
|
370 |
#: widgets/class.yith-woocompare-widget.php:23
|
371 |
-
|
|
|
|
|
372 |
msgstr "Widget karşılaştırma tablosuna eklenen ürünlerin listesini gösterir."
|
373 |
|
374 |
#: widgets/class.yith-woocompare-widget.php:27
|
375 |
-
|
|
|
|
|
376 |
msgstr "YITH Woocommerce Karşılaştırma Widgetı"
|
377 |
|
378 |
-
#: widgets/class.yith-woocompare-widget.php:
|
379 |
msgid "Clear all"
|
380 |
msgstr "Hepsini Kaldır"
|
381 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
4 |
+
"POT-Creation-Date: 2018-11-28 16:33+0100\n"
|
5 |
+
"PO-Revision-Date: 2018-11-28 16:33+0100\n"
|
6 |
"Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
|
7 |
"Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
|
8 |
"Language: tr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
19 |
|
20 |
+
#: includes/class.yith-woocompare-admin.php:119
|
21 |
+
#: includes/class.yith-woocompare-admin.php:143
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-woocompare-admin.php:153
|
34 |
+
#: includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: includes/class.yith-woocompare-frontend.php:505
|
36 |
+
#: plugin-options/general-options.php:41 plugin-options/general-options.php:42
|
37 |
+
#: widgets/class.yith-woocompare-widget.php:51
|
38 |
msgid "Compare"
|
39 |
msgstr "Karşılaştır"
|
40 |
|
41 |
+
#: includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
42 |
msgid "YITH WooCommerce Compare Activated"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-woocompare-admin.php:242
|
46 |
#, php-format
|
47 |
msgid ""
|
48 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
51 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/class.yith-woocompare-admin.php:253
|
55 |
msgid "YITH WooCommerce Compare Updated"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/class.yith-woocompare-admin.php:254
|
59 |
#, php-format
|
60 |
msgid ""
|
61 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
65 |
"available options, <a href=\"%s\">discover the PREMIUM version.</a>"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: includes/class.yith-woocompare-admin.php:398
|
69 |
msgid "Do you want to hard crop the image?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class.yith-woocompare-frontend.php:223
|
73 |
msgid "Added"
|
74 |
msgstr "Eklendi"
|
75 |
|
76 |
+
#: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
|
77 |
msgid "Product Comparison"
|
78 |
msgstr "Ürün Karşılaştırma"
|
79 |
|
80 |
+
#: includes/class.yith-woocompare-frontend.php:229
|
81 |
+
msgid "Close"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: includes/class.yith-woocompare-frontend.php:384
|
85 |
msgid "In stock"
|
86 |
msgstr "Stokta"
|
87 |
|
88 |
+
#: includes/class.yith-woocompare-frontend.php:696
|
89 |
msgid "No products to compare"
|
90 |
msgstr "Karşılaştırma listeniz boş"
|
91 |
|
92 |
+
#: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:117
|
93 |
msgid "Remove"
|
94 |
msgstr "Kaldır"
|
95 |
|
96 |
+
#: includes/class.yith-woocompare-helper.php:46
|
97 |
msgid "Image"
|
98 |
msgstr "Resim"
|
99 |
|
100 |
+
#: includes/class.yith-woocompare-helper.php:47
|
101 |
+
#: widgets/class.yith-woocompare-widget.php:68
|
102 |
msgid "Title"
|
103 |
msgstr "Başlık"
|
104 |
|
105 |
+
#: includes/class.yith-woocompare-helper.php:48
|
106 |
msgid "Price"
|
107 |
msgstr "Fiyat"
|
108 |
|
109 |
+
#: includes/class.yith-woocompare-helper.php:49
|
110 |
msgid "Add to cart"
|
111 |
msgstr "Sepete Ekle"
|
112 |
|
113 |
+
#: includes/class.yith-woocompare-helper.php:50
|
114 |
msgid "Description"
|
115 |
msgstr "Açıklama"
|
116 |
|
117 |
+
#: includes/class.yith-woocompare-helper.php:51
|
118 |
+
msgid "Sku"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/class.yith-woocompare-helper.php:52
|
122 |
msgid "Availability"
|
123 |
msgstr "Durum"
|
124 |
|
125 |
+
#: includes/class.yith-woocompare-helper.php:53
|
126 |
+
msgid "Weight"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: includes/class.yith-woocompare-helper.php:54
|
130 |
+
msgid "Dimensions"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: init.php:42
|
134 |
msgid ""
|
135 |
"YITH WooCommerce Compare is enabled but not effective. It requires "
|
136 |
"WooCommerce in order to work."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: init.php:50
|
140 |
msgid ""
|
141 |
"You can't activate the free version of YITH WooCommerce Compare while you "
|
142 |
"are using the premium one."
|
151 |
msgstr "Link veya Buton"
|
152 |
|
153 |
#: plugin-options/general-options.php:25
|
154 |
+
#, fuzzy
|
155 |
+
#| msgid "Choose if you want to use a link or a button for the action button."
|
156 |
+
msgid "Choose if you want to use a link or a button for the comepare actions."
|
157 |
msgstr ""
|
158 |
"Eylem için kullanmak üzere link veya buton seçeneklerinden birini belirleyin."
|
159 |
|
160 |
+
#: plugin-options/general-options.php:32
|
161 |
msgid "Link"
|
162 |
msgstr "Link"
|
163 |
|
164 |
+
#: plugin-options/general-options.php:33
|
165 |
msgid "Button"
|
166 |
msgstr "Buton"
|
167 |
|
168 |
+
#: plugin-options/general-options.php:38
|
169 |
msgid "Link/Button text"
|
170 |
msgstr "Link/Buton Metni"
|
171 |
|
172 |
+
#: plugin-options/general-options.php:39
|
173 |
msgid "Type the text to use for the button or the link of the compare."
|
174 |
msgstr "Karşılaştırma butonu veya bağlantısı için kullanılacak metni yazın."
|
175 |
|
176 |
+
#: plugin-options/general-options.php:47
|
177 |
msgid "Show button in single product page"
|
178 |
msgstr "Tekli ürün sayfasında buton göster"
|
179 |
|
180 |
+
#: plugin-options/general-options.php:48
|
181 |
msgid "Say if you want to show the button in the single product page."
|
182 |
msgstr "Tekli ürün sayfasında buton göstermek isteyip istemediğinizi belirtin."
|
183 |
|
184 |
+
#: plugin-options/general-options.php:56
|
185 |
msgid "Show button in products list"
|
186 |
msgstr "Ürün listesinde buton göster"
|
187 |
|
188 |
+
#: plugin-options/general-options.php:57
|
189 |
msgid "Say if you want to show the button in the products list."
|
190 |
msgstr "Ürün listesinde buton göstermek isteyip istemediğinizi belirtin."
|
191 |
|
192 |
+
#: plugin-options/general-options.php:65
|
193 |
msgid "Open automatically lightbox"
|
194 |
msgstr "Otomatik lightbox aç"
|
195 |
|
196 |
+
#: plugin-options/general-options.php:66
|
197 |
msgid "Open link after click into \"Compare\" button\"."
|
198 |
msgstr "\"Karşılaştır\" butonuna tıklandıktan sonra bağlantıyı aç."
|
199 |
|
200 |
+
#: plugin-options/general-options.php:79
|
201 |
msgid "Table Settings"
|
202 |
msgstr "Tablo Ayarları"
|
203 |
|
204 |
+
#: plugin-options/general-options.php:86
|
205 |
msgid "Table title"
|
206 |
msgstr "Tablo Başlığı"
|
207 |
|
208 |
+
#: plugin-options/general-options.php:87
|
209 |
msgid "Type the text to use for the table title."
|
210 |
msgstr "Tablo başlığı metnini buraya yazın."
|
211 |
|
212 |
+
#: plugin-options/general-options.php:89 plugin-options/general-options.php:90
|
213 |
msgid "Compare products"
|
214 |
msgstr "Ürünleri Karşılaştır"
|
215 |
|
216 |
+
#: plugin-options/general-options.php:95
|
217 |
msgid "Fields to show"
|
218 |
msgstr "Gösterilecek alanlar"
|
219 |
|
220 |
+
#: plugin-options/general-options.php:96
|
221 |
msgid ""
|
222 |
"Select the fields to show in the comparison table and order them by "
|
223 |
"drag&drop (are included also the woocommerce attributes)"
|
225 |
"Karşılaştırma tablosunda gösterilecek alanları seçin ve sürükle-bırak "
|
226 |
"yöntemi ile sıralayın (ayrıca Woocommerce özellikleri dahildir)"
|
227 |
|
228 |
+
#: plugin-options/general-options.php:104
|
229 |
msgid "Repeat \"Price\" field"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: plugin-options/general-options.php:105
|
233 |
msgid "Repeat the \"Price\" field at the end of the table"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: plugin-options/general-options.php:113
|
237 |
msgid "Repeat \"Add to cart\" field"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: plugin-options/general-options.php:114
|
241 |
msgid "Repeat the \"Add to cart\" field at the end of the table"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: plugin-options/general-options.php:122
|
245 |
msgid "Image size"
|
246 |
msgstr "Resim Boyutu"
|
247 |
|
248 |
+
#: plugin-options/general-options.php:123
|
249 |
msgid "Set the size for the images"
|
250 |
msgstr "Resimlerin boyutlarını belirtin"
|
251 |
|
252 |
+
#: templates/admin/premium.php:240 templates/admin/premium.php:446
|
253 |
#, php-format
|
254 |
msgid ""
|
255 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
256 |
"benefit from all features!"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:449
|
260 |
msgid "UPGRADE"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: templates/admin/premium.php:244 templates/admin/premium.php:450
|
264 |
msgid "to the premium version"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: templates/admin/premium.php:250
|
268 |
msgid "Premium Features"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: templates/admin/premium.php:258
|
272 |
msgid "A DEDICATED PAGE"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: templates/admin/premium.php:261
|
276 |
#, php-format
|
277 |
msgid ""
|
278 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
282 |
"whenever they want."
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: templates/admin/premium.php:271
|
286 |
msgid "CATEGORY COMPARATION"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: templates/admin/premium.php:274
|
290 |
#, php-format
|
291 |
msgid ""
|
292 |
"People are often confused by finding products of different categories in the "
|
296 |
"affinity."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: templates/admin/premium.php:290
|
300 |
msgid "CATEGORY EXCLUSION "
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: templates/admin/premium.php:293
|
304 |
#, php-format
|
305 |
msgid ""
|
306 |
"In your shop there may be product categories you don't want to be affected "
|
311 |
"selected categories."
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: templates/admin/premium.php:303
|
315 |
msgid "TABLE IMAGE"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: templates/admin/premium.php:306
|
319 |
#, php-format
|
320 |
msgid ""
|
321 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
323 |
"table to your users. "
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: templates/admin/premium.php:322
|
327 |
msgid "DYNAMIC FIELDS"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: templates/admin/premium.php:325
|
331 |
#, php-format
|
332 |
msgid ""
|
333 |
"With this precious feature, you will be able to show in the table only the "
|
336 |
"be no more empty lines in your comparison table."
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: templates/admin/premium.php:335
|
340 |
msgid "SOCIAL NETWORK SHARING"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: templates/admin/premium.php:338
|
344 |
#, php-format
|
345 |
msgid ""
|
346 |
"One of the most appealing features of the premium version of the plugin.Four "
|
349 |
"products they have selected."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: templates/admin/premium.php:354
|
353 |
msgid "RELATED PRODUCTS"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: templates/admin/premium.php:357
|
357 |
#, php-format
|
358 |
msgid ""
|
359 |
"All the products that have common categories and/or tags with those in the "
|
363 |
"interested into."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: templates/admin/premium.php:367
|
367 |
msgid "CUSTOMIZABLE STYLE"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: templates/admin/premium.php:370
|
371 |
#, php-format
|
372 |
msgid ""
|
373 |
"An advanced option panel that let you change all the colors of the plugin, "
|
374 |
+
"so that you can adapt stylistically all its elements %1$sto the layout%2$s "
|
375 |
"of your shop.We know it, looks also count... and we give you the right tools "
|
376 |
"to get to the best result."
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: templates/admin/premium.php:386
|
380 |
+
msgid "CUSTOMIZED ATTRIBUTES"
|
381 |
+
msgstr ""
|
382 |
+
|
383 |
+
#: templates/admin/premium.php:389
|
384 |
+
#, php-format
|
385 |
+
msgid ""
|
386 |
+
"Let you users compare products following every feature, and considering also "
|
387 |
+
"all those %1$sattributes%2$s that can be manually created in within the "
|
388 |
+
"product detail page. Every single detail will be included."
|
389 |
+
msgstr ""
|
390 |
+
|
391 |
+
#: templates/admin/premium.php:399
|
392 |
+
msgid "A TAILORED TABLE"
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
#: templates/admin/premium.php:402
|
396 |
+
#, php-format
|
397 |
+
msgid ""
|
398 |
+
"Select the products you want to compare and the system will offer you the "
|
399 |
+
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
400 |
+
msgstr ""
|
401 |
+
|
402 |
+
#: templates/admin/premium.php:418
|
403 |
+
msgid "Compare list - widget"
|
404 |
+
msgstr ""
|
405 |
+
|
406 |
+
#: templates/admin/premium.php:421
|
407 |
+
msgid ""
|
408 |
+
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
409 |
+
"complete list of products added to the compare tab and avoid to open the "
|
410 |
+
"popup to check its existence. "
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: templates/admin/premium.php:431
|
414 |
+
msgid "Compare counter - widget and shortcode"
|
415 |
+
msgstr ""
|
416 |
+
|
417 |
+
#: templates/admin/premium.php:434
|
418 |
+
msgid ""
|
419 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
420 |
+
"many products they have added to the Compare list, feel free to use the "
|
421 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
422 |
+
"than one click away."
|
423 |
+
msgstr ""
|
424 |
+
|
425 |
+
#: templates/compare.php:77
|
426 |
msgid "Close window [X]"
|
427 |
msgstr "Pencereyi Kapat [X]"
|
428 |
|
429 |
+
#: templates/compare.php:106
|
430 |
msgid "No products added in the compare table."
|
431 |
msgstr "Karşılaştırma tablosuna herhangi bir ürün eklenmedi."
|
432 |
|
433 |
#: widgets/class.yith-woocompare-widget.php:23
|
434 |
+
#, fuzzy
|
435 |
+
#| msgid "The widget show the list of products added in the compare table."
|
436 |
+
msgid "The widget shows the list of products added in the comparison table."
|
437 |
msgstr "Widget karşılaştırma tablosuna eklenen ürünlerin listesini gösterir."
|
438 |
|
439 |
#: widgets/class.yith-woocompare-widget.php:27
|
440 |
+
#, fuzzy
|
441 |
+
#| msgid "YITH Woocommerce Compare Widget"
|
442 |
+
msgid "YITH WooCommerce Compare Widget"
|
443 |
msgstr "YITH Woocommerce Karşılaştırma Widgetı"
|
444 |
|
445 |
+
#: widgets/class.yith-woocompare-widget.php:50
|
446 |
msgid "Clear all"
|
447 |
msgstr "Hepsini Kaldır"
|
448 |
|
languages/yith-woocommerce-compare.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: 2015-07-14 15:10+0100\n"
|
7 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
8 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
@@ -10,7 +10,7 @@ msgstr ""
|
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.
|
14 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -23,28 +23,27 @@ msgid "Settings"
|
|
23 |
msgstr ""
|
24 |
|
25 |
#: ../includes/class.yith-woocompare-admin.php:121
|
|
|
|
|
|
|
26 |
#: ../includes/class.yith-woocompare-admin.php:147
|
27 |
msgid "Premium Version"
|
28 |
msgstr ""
|
29 |
|
30 |
#: ../includes/class.yith-woocompare-admin.php:153
|
31 |
#: ../includes/class.yith-woocompare-admin.php:154
|
32 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
33 |
#: ../plugin-options/general-options.php:41
|
34 |
#: ../plugin-options/general-options.php:42
|
35 |
#: ../widgets/class.yith-woocompare-widget.php:51
|
36 |
msgid "Compare"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
40 |
-
msgid "Plugin Documentation"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: ../includes/class.yith-woocompare-admin.php:237
|
44 |
msgid "YITH WooCommerce Compare Activated"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
48 |
#, php-format
|
49 |
msgid ""
|
50 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
@@ -53,11 +52,11 @@ msgid ""
|
|
53 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
57 |
msgid "YITH WooCommerce Compare Updated"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
61 |
#, php-format
|
62 |
msgid ""
|
63 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
@@ -67,66 +66,70 @@ msgid ""
|
|
67 |
"available options, <a href=\"%s\">discover the PREMIUM version.</a>"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../includes/class.yith-woocompare-admin.php:
|
71 |
msgid "Do you want to hard crop the image?"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
75 |
msgid "Added"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
79 |
-
#: ../templates/compare.php:
|
80 |
msgid "Product Comparison"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
84 |
msgid "Close"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
88 |
msgid "In stock"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
92 |
msgid "No products to compare"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../includes/class.yith-woocompare-frontend.php:
|
96 |
-
#: ../templates/compare.php:
|
97 |
msgid "Remove"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
101 |
msgid "Image"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
105 |
#: ../widgets/class.yith-woocompare-widget.php:68
|
106 |
msgid "Title"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
110 |
msgid "Price"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
114 |
msgid "Add to cart"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
118 |
msgid "Description"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
|
|
|
|
|
|
|
|
122 |
msgid "Availability"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
126 |
msgid "Weight"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: ../includes/class.yith-woocompare-helper.php:
|
130 |
msgid "Dimensions"
|
131 |
msgstr ""
|
132 |
|
@@ -245,30 +248,30 @@ msgstr ""
|
|
245 |
msgid "Set the size for the images"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: ../templates/admin/premium.php:
|
249 |
#, php-format
|
250 |
msgid ""
|
251 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
252 |
"benefit from all features!"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: ../templates/admin/premium.php:
|
256 |
msgid "UPGRADE"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: ../templates/admin/premium.php:
|
260 |
msgid "to the premium version"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: ../templates/admin/premium.php:
|
264 |
msgid "Premium Features"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: ../templates/admin/premium.php:
|
268 |
msgid "A DEDICATED PAGE"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: ../templates/admin/premium.php:
|
272 |
#, php-format
|
273 |
msgid ""
|
274 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
@@ -278,11 +281,11 @@ msgid ""
|
|
278 |
"whenever they want."
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: ../templates/admin/premium.php:
|
282 |
msgid "CATEGORY COMPARATION"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: ../templates/admin/premium.php:
|
286 |
#, php-format
|
287 |
msgid ""
|
288 |
"People are often confused by finding products of different categories in the "
|
@@ -292,11 +295,11 @@ msgid ""
|
|
292 |
"affinity."
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: ../templates/admin/premium.php:
|
296 |
msgid "CATEGORY EXCLUSION "
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: ../templates/admin/premium.php:
|
300 |
#, php-format
|
301 |
msgid ""
|
302 |
"In your shop there may be product categories you don't want to be affected "
|
@@ -307,11 +310,11 @@ msgid ""
|
|
307 |
"selected categories."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: ../templates/admin/premium.php:
|
311 |
msgid "TABLE IMAGE"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: ../templates/admin/premium.php:
|
315 |
#, php-format
|
316 |
msgid ""
|
317 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
@@ -319,11 +322,11 @@ msgid ""
|
|
319 |
"table to your users. "
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: ../templates/admin/premium.php:
|
323 |
msgid "DYNAMIC FIELDS"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: ../templates/admin/premium.php:
|
327 |
#, php-format
|
328 |
msgid ""
|
329 |
"With this precious feature, you will be able to show in the table only the "
|
@@ -332,11 +335,11 @@ msgid ""
|
|
332 |
"be no more empty lines in your comparison table."
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: ../templates/admin/premium.php:
|
336 |
msgid "SOCIAL NETWORK SHARING"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: ../templates/admin/premium.php:
|
340 |
#, php-format
|
341 |
msgid ""
|
342 |
"One of the most appealing features of the premium version of the plugin.Four "
|
@@ -345,11 +348,11 @@ msgid ""
|
|
345 |
"products they have selected."
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: ../templates/admin/premium.php:
|
349 |
msgid "RELATED PRODUCTS"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: ../templates/admin/premium.php:
|
353 |
#, php-format
|
354 |
msgid ""
|
355 |
"All the products that have common categories and/or tags with those in the "
|
@@ -359,11 +362,11 @@ msgid ""
|
|
359 |
"interested into."
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: ../templates/admin/premium.php:
|
363 |
msgid "CUSTOMIZABLE STYLE"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: ../templates/admin/premium.php:
|
367 |
#, php-format
|
368 |
msgid ""
|
369 |
"An advanced option panel that let you change all the colors of the plugin, "
|
@@ -372,11 +375,11 @@ msgid ""
|
|
372 |
"to get to the best result."
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: ../templates/admin/premium.php:
|
376 |
msgid "CUSTOMIZED ATTRIBUTES"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: ../templates/admin/premium.php:
|
380 |
#, php-format
|
381 |
msgid ""
|
382 |
"Let you users compare products following every feature, and considering also "
|
@@ -384,33 +387,45 @@ msgid ""
|
|
384 |
"product detail page. Every single detail will be included."
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: ../templates/admin/premium.php:
|
388 |
msgid "A TAILORED TABLE"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: ../templates/admin/premium.php:
|
392 |
#, php-format
|
393 |
msgid ""
|
394 |
"Select the products you want to compare and the system will offer you the "
|
395 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: ../templates/admin/premium.php:
|
399 |
-
msgid "
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: ../templates/admin/premium.php:
|
403 |
msgid ""
|
404 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
405 |
"complete list of products added to the compare tab and avoid to open the "
|
406 |
"popup to check its existence. "
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: ../templates/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
msgid "Close window [X]"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: ../templates/compare.php:
|
414 |
msgid "No products added in the compare table."
|
415 |
msgstr ""
|
416 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH Woocommerce Compare\n"
|
5 |
+
"POT-Creation-Date: 2018-11-28 16:31+0100\n"
|
6 |
"PO-Revision-Date: 2015-07-14 15:10+0100\n"
|
7 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
8 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.1.1\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
23 |
msgstr ""
|
24 |
|
25 |
#: ../includes/class.yith-woocompare-admin.php:121
|
26 |
+
msgid "License"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
#: ../includes/class.yith-woocompare-admin.php:147
|
30 |
msgid "Premium Version"
|
31 |
msgstr ""
|
32 |
|
33 |
#: ../includes/class.yith-woocompare-admin.php:153
|
34 |
#: ../includes/class.yith-woocompare-admin.php:154
|
35 |
+
#: ../includes/class.yith-woocompare-frontend.php:505
|
36 |
#: ../plugin-options/general-options.php:41
|
37 |
#: ../plugin-options/general-options.php:42
|
38 |
#: ../widgets/class.yith-woocompare-widget.php:51
|
39 |
msgid "Compare"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../includes/class.yith-woocompare-admin.php:241
|
|
|
|
|
|
|
|
|
43 |
msgid "YITH WooCommerce Compare Activated"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../includes/class.yith-woocompare-admin.php:242
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
|
52 |
"PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: ../includes/class.yith-woocompare-admin.php:253
|
56 |
msgid "YITH WooCommerce Compare Updated"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: ../includes/class.yith-woocompare-admin.php:254
|
60 |
#, php-format
|
61 |
msgid ""
|
62 |
"From now on, you can find all the options of YITH WooCommerce Compare under "
|
66 |
"available options, <a href=\"%s\">discover the PREMIUM version.</a>"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: ../includes/class.yith-woocompare-admin.php:398
|
70 |
msgid "Do you want to hard crop the image?"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../includes/class.yith-woocompare-frontend.php:223
|
74 |
msgid "Added"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: ../includes/class.yith-woocompare-frontend.php:224
|
78 |
+
#: ../templates/compare.php:50
|
79 |
msgid "Product Comparison"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: ../includes/class.yith-woocompare-frontend.php:229
|
83 |
msgid "Close"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: ../includes/class.yith-woocompare-frontend.php:384
|
87 |
msgid "In stock"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: ../includes/class.yith-woocompare-frontend.php:696
|
91 |
msgid "No products to compare"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: ../includes/class.yith-woocompare-frontend.php:709
|
95 |
+
#: ../templates/compare.php:117
|
96 |
msgid "Remove"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../includes/class.yith-woocompare-helper.php:46
|
100 |
msgid "Image"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: ../includes/class.yith-woocompare-helper.php:47
|
104 |
#: ../widgets/class.yith-woocompare-widget.php:68
|
105 |
msgid "Title"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: ../includes/class.yith-woocompare-helper.php:48
|
109 |
msgid "Price"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: ../includes/class.yith-woocompare-helper.php:49
|
113 |
msgid "Add to cart"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: ../includes/class.yith-woocompare-helper.php:50
|
117 |
msgid "Description"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: ../includes/class.yith-woocompare-helper.php:51
|
121 |
+
msgid "Sku"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: ../includes/class.yith-woocompare-helper.php:52
|
125 |
msgid "Availability"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: ../includes/class.yith-woocompare-helper.php:53
|
129 |
msgid "Weight"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../includes/class.yith-woocompare-helper.php:54
|
133 |
msgid "Dimensions"
|
134 |
msgstr ""
|
135 |
|
248 |
msgid "Set the size for the images"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: ../templates/admin/premium.php:240 ../templates/admin/premium.php:446
|
252 |
#, php-format
|
253 |
msgid ""
|
254 |
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
|
255 |
"benefit from all features!"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: ../templates/admin/premium.php:243 ../templates/admin/premium.php:449
|
259 |
msgid "UPGRADE"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../templates/admin/premium.php:244 ../templates/admin/premium.php:450
|
263 |
msgid "to the premium version"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../templates/admin/premium.php:250
|
267 |
msgid "Premium Features"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: ../templates/admin/premium.php:258
|
271 |
msgid "A DEDICATED PAGE"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: ../templates/admin/premium.php:261
|
275 |
#, php-format
|
276 |
msgid ""
|
277 |
"Don't you want to compare your products in a modal window anymore?%3$sWith "
|
281 |
"whenever they want."
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: ../templates/admin/premium.php:271
|
285 |
msgid "CATEGORY COMPARATION"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: ../templates/admin/premium.php:274
|
289 |
#, php-format
|
290 |
msgid ""
|
291 |
"People are often confused by finding products of different categories in the "
|
295 |
"affinity."
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: ../templates/admin/premium.php:290
|
299 |
msgid "CATEGORY EXCLUSION "
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../templates/admin/premium.php:293
|
303 |
#, php-format
|
304 |
msgid ""
|
305 |
"In your shop there may be product categories you don't want to be affected "
|
310 |
"selected categories."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: ../templates/admin/premium.php:303
|
314 |
msgid "TABLE IMAGE"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: ../templates/admin/premium.php:306
|
318 |
#, php-format
|
319 |
msgid ""
|
320 |
"Give a personal touch to the %1$scomparison table%2$s your users will see. "
|
322 |
"table to your users. "
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: ../templates/admin/premium.php:322
|
326 |
msgid "DYNAMIC FIELDS"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: ../templates/admin/premium.php:325
|
330 |
#, php-format
|
331 |
msgid ""
|
332 |
"With this precious feature, you will be able to show in the table only the "
|
335 |
"be no more empty lines in your comparison table."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: ../templates/admin/premium.php:335
|
339 |
msgid "SOCIAL NETWORK SHARING"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: ../templates/admin/premium.php:338
|
343 |
#, php-format
|
344 |
msgid ""
|
345 |
"One of the most appealing features of the premium version of the plugin.Four "
|
348 |
"products they have selected."
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: ../templates/admin/premium.php:354
|
352 |
msgid "RELATED PRODUCTS"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: ../templates/admin/premium.php:357
|
356 |
#, php-format
|
357 |
msgid ""
|
358 |
"All the products that have common categories and/or tags with those in the "
|
362 |
"interested into."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: ../templates/admin/premium.php:367
|
366 |
msgid "CUSTOMIZABLE STYLE"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: ../templates/admin/premium.php:370
|
370 |
#, php-format
|
371 |
msgid ""
|
372 |
"An advanced option panel that let you change all the colors of the plugin, "
|
375 |
"to get to the best result."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: ../templates/admin/premium.php:386
|
379 |
msgid "CUSTOMIZED ATTRIBUTES"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: ../templates/admin/premium.php:389
|
383 |
#, php-format
|
384 |
msgid ""
|
385 |
"Let you users compare products following every feature, and considering also "
|
387 |
"product detail page. Every single detail will be included."
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: ../templates/admin/premium.php:399
|
391 |
msgid "A TAILORED TABLE"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: ../templates/admin/premium.php:402
|
395 |
#, php-format
|
396 |
msgid ""
|
397 |
"Select the products you want to compare and the system will offer you the "
|
398 |
"%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: ../templates/admin/premium.php:418
|
402 |
+
msgid "Compare list - widget"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: ../templates/admin/premium.php:421
|
406 |
msgid ""
|
407 |
"Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
|
408 |
"complete list of products added to the compare tab and avoid to open the "
|
409 |
"popup to check its existence. "
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: ../templates/admin/premium.php:431
|
413 |
+
msgid "Compare counter - widget and shortcode"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: ../templates/admin/premium.php:434
|
417 |
+
msgid ""
|
418 |
+
"Moreover, if you want to give your users the chance to see in a glance how "
|
419 |
+
"many products they have added to the Compare list, feel free to use the "
|
420 |
+
"widget or the shortcode included. And their Compare list is always no more "
|
421 |
+
"than one click away."
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: ../templates/compare.php:77
|
425 |
msgid "Close window [X]"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: ../templates/compare.php:106
|
429 |
msgid "No products added in the compare table."
|
430 |
msgstr ""
|
431 |
|
plugin-fw/assets/css/admin.css
CHANGED
@@ -34,6 +34,7 @@
|
|
34 |
}
|
35 |
|
36 |
.notice-yith{
|
|
|
37 |
border-left-color: #acc327;
|
38 |
}
|
39 |
|
@@ -41,6 +42,17 @@
|
|
41 |
background-color: #ecf7ed;
|
42 |
}
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
/*-----------------------
|
45 |
YITH Plugins Columns
|
46 |
------------------------*/
|
34 |
}
|
35 |
|
36 |
.notice-yith{
|
37 |
+
margin-left: 0;
|
38 |
border-left-color: #acc327;
|
39 |
}
|
40 |
|
42 |
background-color: #ecf7ed;
|
43 |
}
|
44 |
|
45 |
+
.yith-promo-banner-image-link{
|
46 |
+
display: block;
|
47 |
+
margin-bottom: 15px;
|
48 |
+
}
|
49 |
+
|
50 |
+
.yith-promo-banner-image{
|
51 |
+
max-width: 100%;
|
52 |
+
margin: 0 auto;
|
53 |
+
display: block;
|
54 |
+
}
|
55 |
+
|
56 |
/*-----------------------
|
57 |
YITH Plugins Columns
|
58 |
------------------------*/
|
plugin-fw/assets/css/metaboxes.css
CHANGED
@@ -631,7 +631,23 @@
|
|
631 |
float : right;
|
632 |
margin-right : 20px;
|
633 |
margin-top : 5px;
|
634 |
-
|
635 |
-
|
636 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
}
|
631 |
float : right;
|
632 |
margin-right : 20px;
|
633 |
margin-top : 5px;
|
634 |
+
z-index : 9999 !important;
|
635 |
+
position : absolute;
|
636 |
+
right : 0;
|
637 |
+
}
|
638 |
+
|
639 |
+
/*-----------------------
|
640 |
+
* Colorpicker - fix issues in combination with third-party themes or plugin (Basel, VC Addons, ...)
|
641 |
+
*/
|
642 |
+
.metaboxes-tab .the-metabox.colorpicker {
|
643 |
+
display : block;
|
644 |
+
width : auto;
|
645 |
+
height : auto;
|
646 |
+
overflow : visible;
|
647 |
+
top : auto;
|
648 |
+
left : auto;
|
649 |
+
background : transparent;
|
650 |
+
position : static;
|
651 |
+
z-index : 1;
|
652 |
+
font-family : inherit;
|
653 |
}
|
plugin-fw/assets/images/yith-icon.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?xml version="1.0" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 20.5 20.479" width="20.5" height="20.479"><defs><clipPath id="_clipPath_BBRuGaomYLKjPKjOOHpnNdPxBnLPFPyk"><rect width="20.5" height="20.479"/></clipPath></defs><g clip-path="url(#_clipPath_BBRuGaomYLKjPKjOOHpnNdPxBnLPFPyk)"><g><path d=" M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z " fill="rgb(255,255,255)"/></g></g></svg>
|
plugin-fw/assets/js/javascript-md5/md5.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
!function(n){"use strict";function t(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function r(n,t){return n<<t|n>>>32-t}function e(n,e,o,u,c,f){return t(r(t(t(e,n),t(u,f)),c),o)}function o(n,t,r,o,u,c,f){return e(t&r|~t&o,n,t,u,c,f)}function u(n,t,r,o,u,c,f){return e(t&o|r&~o,n,t,u,c,f)}function c(n,t,r,o,u,c,f){return e(t^r^o,n,t,u,c,f)}function f(n,t,r,o,u,c,f){return e(r^(t|~o),n,t,u,c,f)}function i(n,r){n[r>>5]|=128<<r%32,n[14+(r+64>>>9<<4)]=r;var e,i,a,d,h,l=1732584193,g=-271733879,v=-1732584194,m=271733878;for(e=0;e<n.length;e+=16)i=l,a=g,d=v,h=m,g=f(g=f(g=f(g=f(g=c(g=c(g=c(g=c(g=u(g=u(g=u(g=u(g=o(g=o(g=o(g=o(g,v=o(v,m=o(m,l=o(l,g,v,m,n[e],7,-680876936),g,v,n[e+1],12,-389564586),l,g,n[e+2],17,606105819),m,l,n[e+3],22,-1044525330),v=o(v,m=o(m,l=o(l,g,v,m,n[e+4],7,-176418897),g,v,n[e+5],12,1200080426),l,g,n[e+6],17,-1473231341),m,l,n[e+7],22,-45705983),v=o(v,m=o(m,l=o(l,g,v,m,n[e+8],7,1770035416),g,v,n[e+9],12,-1958414417),l,g,n[e+10],17,-42063),m,l,n[e+11],22,-1990404162),v=o(v,m=o(m,l=o(l,g,v,m,n[e+12],7,1804603682),g,v,n[e+13],12,-40341101),l,g,n[e+14],17,-1502002290),m,l,n[e+15],22,1236535329),v=u(v,m=u(m,l=u(l,g,v,m,n[e+1],5,-165796510),g,v,n[e+6],9,-1069501632),l,g,n[e+11],14,643717713),m,l,n[e],20,-373897302),v=u(v,m=u(m,l=u(l,g,v,m,n[e+5],5,-701558691),g,v,n[e+10],9,38016083),l,g,n[e+15],14,-660478335),m,l,n[e+4],20,-405537848),v=u(v,m=u(m,l=u(l,g,v,m,n[e+9],5,568446438),g,v,n[e+14],9,-1019803690),l,g,n[e+3],14,-187363961),m,l,n[e+8],20,1163531501),v=u(v,m=u(m,l=u(l,g,v,m,n[e+13],5,-1444681467),g,v,n[e+2],9,-51403784),l,g,n[e+7],14,1735328473),m,l,n[e+12],20,-1926607734),v=c(v,m=c(m,l=c(l,g,v,m,n[e+5],4,-378558),g,v,n[e+8],11,-2022574463),l,g,n[e+11],16,1839030562),m,l,n[e+14],23,-35309556),v=c(v,m=c(m,l=c(l,g,v,m,n[e+1],4,-1530992060),g,v,n[e+4],11,1272893353),l,g,n[e+7],16,-155497632),m,l,n[e+10],23,-1094730640),v=c(v,m=c(m,l=c(l,g,v,m,n[e+13],4,681279174),g,v,n[e],11,-358537222),l,g,n[e+3],16,-722521979),m,l,n[e+6],23,76029189),v=c(v,m=c(m,l=c(l,g,v,m,n[e+9],4,-640364487),g,v,n[e+12],11,-421815835),l,g,n[e+15],16,530742520),m,l,n[e+2],23,-995338651),v=f(v,m=f(m,l=f(l,g,v,m,n[e],6,-198630844),g,v,n[e+7],10,1126891415),l,g,n[e+14],15,-1416354905),m,l,n[e+5],21,-57434055),v=f(v,m=f(m,l=f(l,g,v,m,n[e+12],6,1700485571),g,v,n[e+3],10,-1894986606),l,g,n[e+10],15,-1051523),m,l,n[e+1],21,-2054922799),v=f(v,m=f(m,l=f(l,g,v,m,n[e+8],6,1873313359),g,v,n[e+15],10,-30611744),l,g,n[e+6],15,-1560198380),m,l,n[e+13],21,1309151649),v=f(v,m=f(m,l=f(l,g,v,m,n[e+4],6,-145523070),g,v,n[e+11],10,-1120210379),l,g,n[e+2],15,718787259),m,l,n[e+9],21,-343485551),l=t(l,i),g=t(g,a),v=t(v,d),m=t(m,h);return[l,g,v,m]}function a(n){var t,r="",e=32*n.length;for(t=0;t<e;t+=8)r+=String.fromCharCode(n[t>>5]>>>t%32&255);return r}function d(n){var t,r=[];for(r[(n.length>>2)-1]=void 0,t=0;t<r.length;t+=1)r[t]=0;var e=8*n.length;for(t=0;t<e;t+=8)r[t>>5]|=(255&n.charCodeAt(t/8))<<t%32;return r}function h(n){return a(i(d(n),8*n.length))}function l(n,t){var r,e,o=d(n),u=[],c=[];for(u[15]=c[15]=void 0,o.length>16&&(o=i(o,8*n.length)),r=0;r<16;r+=1)u[r]=909522486^o[r],c[r]=1549556828^o[r];return e=i(u.concat(d(t)),512+8*t.length),a(i(c.concat(e),640))}function g(n){var t,r,e="";for(r=0;r<n.length;r+=1)t=n.charCodeAt(r),e+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return e}function v(n){return unescape(encodeURIComponent(n))}function m(n){return h(v(n))}function p(n){return g(m(n))}function s(n,t){return l(v(n),v(t))}function C(n,t){return g(s(n,t))}function A(n,t,r){return t?r?s(t,n):C(t,n):r?m(n):p(n)}"function"==typeof define&&define.amd?define(function(){return A}):"object"==typeof module&&module.exports?module.exports=A:n.md5=A}(this);
|
2 |
+
//# sourceMappingURL=md5.min.js.map
|
plugin-fw/assets/js/yith-gutenberg.js
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($) {
|
2 |
+
// Get registerBlockType() from wp.blocks in the global scope
|
3 |
+
var __ = wp.i18n.__,
|
4 |
+
el = wp.element.createElement,
|
5 |
+
Fragment = wp.element.Fragment,
|
6 |
+
registerBlockType = wp.blocks.registerBlockType,
|
7 |
+
RichText = wp.editor.RichText,
|
8 |
+
BlockControls = wp.editor.BlockControls,
|
9 |
+
InspectorControls = wp.editor.InspectorControls,
|
10 |
+
AlignmentToolbar = wp.editor.AlignmentToolbar,
|
11 |
+
Components = wp.components,
|
12 |
+
RawHTML = wp.element.RawHTML,
|
13 |
+
SelectControl = wp.components.SelectControl,
|
14 |
+
ToggleControl = wp.components.ToggleControl,
|
15 |
+
CheckboxControl = wp.components.CheckboxControl,
|
16 |
+
RangeControl = wp.components.RangeControl,
|
17 |
+
ColorPicker = wp.components.ColorPicker,
|
18 |
+
RadioControl = wp.components.RadioControl,
|
19 |
+
TextControl = wp.components.TextControl,
|
20 |
+
TextareaControl = wp.components.TextareaControl;
|
21 |
+
|
22 |
+
const yith_icon = el('svg', {width: 22, height: 22},
|
23 |
+
el('path', {d: "M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})
|
24 |
+
);
|
25 |
+
|
26 |
+
function create_shortcode(sc_args, props, callback) {
|
27 |
+
var gt_block = '',
|
28 |
+
gutenberg_preview = '';
|
29 |
+
|
30 |
+
if (typeof props.callback != 'undefined' && typeof $[props.callback] == 'function') {
|
31 |
+
gt_block = $[props.callback](sc_args, props);
|
32 |
+
}
|
33 |
+
|
34 |
+
else {
|
35 |
+
var sc_name = props.shortcode_name,
|
36 |
+
sc = '[' + sc_name,
|
37 |
+
do_shortcode = null;
|
38 |
+
|
39 |
+
|
40 |
+
$.each(sc_args.attributes, function ($v, $k) {
|
41 |
+
if ($v != 'className') {
|
42 |
+
sc += ' ' + $v + '=';
|
43 |
+
var arg = props.attributes[$v],
|
44 |
+
remove_quotes = arg.remove_quotes;
|
45 |
+
|
46 |
+
if( remove_quotes == true ){
|
47 |
+
sc += $k;
|
48 |
+
}
|
49 |
+
|
50 |
+
else {
|
51 |
+
sc += '"' + $k + '"';
|
52 |
+
}
|
53 |
+
}
|
54 |
+
});
|
55 |
+
|
56 |
+
sc += ']';
|
57 |
+
|
58 |
+
var block_id = md5(sc);
|
59 |
+
|
60 |
+
gutenberg_preview = '<span class="yith_block_' + block_id + '">' + sc + '</span>';
|
61 |
+
|
62 |
+
if (callback == 'edit' && props.do_shortcode != false) {
|
63 |
+
do_shortcode = (function (block_id) {
|
64 |
+
var ajax_call_date = null;
|
65 |
+
$.ajax({
|
66 |
+
async: true,
|
67 |
+
url: yith_gutenberg_ajax.ajaxurl,
|
68 |
+
method: 'post',
|
69 |
+
data: {action: 'yith_plugin_fw_gutenberg_do_shortcode', shortcode: sc},
|
70 |
+
success: function (data) {
|
71 |
+
ajax_call_date = data;
|
72 |
+
|
73 |
+
if (ajax_call_date != '') {
|
74 |
+
$('.yith_block_' + block_id).html(ajax_call_date);
|
75 |
+
}
|
76 |
+
}
|
77 |
+
});
|
78 |
+
return ajax_call_date;
|
79 |
+
})(block_id);
|
80 |
+
}
|
81 |
+
|
82 |
+
gt_block = el(RawHTML, null, gutenberg_preview);
|
83 |
+
}
|
84 |
+
|
85 |
+
return gt_block;
|
86 |
+
}
|
87 |
+
|
88 |
+
function onChangeEvent(new_value, attribute_name, args, block_type) {
|
89 |
+
var attributes = {};
|
90 |
+
|
91 |
+
if (block_type == 'colorpicker' || block_type == 'color') {
|
92 |
+
new_value = new_value.hex;
|
93 |
+
}
|
94 |
+
|
95 |
+
attributes[attribute_name] = new_value;
|
96 |
+
args.setAttributes(attributes);
|
97 |
+
return args;
|
98 |
+
}
|
99 |
+
|
100 |
+
$.each(yith_gutenberg, function ($block, $props) {
|
101 |
+
registerBlockType("yith/" + $block, {
|
102 |
+
title: $props.title,
|
103 |
+
description: $props.description,
|
104 |
+
category: $props.category,
|
105 |
+
attributes: $props.attributes,
|
106 |
+
icon: typeof $props.icon != 'undefined' ? $props.icon : yith_icon,
|
107 |
+
keywords: $props.keywords,
|
108 |
+
edit: function edit(args) {
|
109 |
+
var elements = new Array();
|
110 |
+
|
111 |
+
$.each($props.attributes, function ($attribute_name, $attribute_args) {
|
112 |
+
var ComponentControl = null,
|
113 |
+
block_type = $attribute_args.blocktype;
|
114 |
+
if (typeof block_type != 'undefined') {
|
115 |
+
switch (block_type) {
|
116 |
+
case 'select':
|
117 |
+
ComponentControl = SelectControl;
|
118 |
+
break;
|
119 |
+
|
120 |
+
case 'text':
|
121 |
+
ComponentControl = TextControl;
|
122 |
+
break;
|
123 |
+
|
124 |
+
case 'textarea':
|
125 |
+
ComponentControl = TextareaControl;
|
126 |
+
break;
|
127 |
+
|
128 |
+
case 'toggle':
|
129 |
+
ComponentControl = ToggleControl;
|
130 |
+
break;
|
131 |
+
|
132 |
+
case 'checkbox':
|
133 |
+
ComponentControl = CheckboxControl;
|
134 |
+
break;
|
135 |
+
|
136 |
+
case 'number':
|
137 |
+
case 'range':
|
138 |
+
ComponentControl = RangeControl;
|
139 |
+
break;
|
140 |
+
|
141 |
+
case 'color':
|
142 |
+
case 'colorpicker':
|
143 |
+
ComponentControl = ColorPicker;
|
144 |
+
break;
|
145 |
+
|
146 |
+
case 'radio':
|
147 |
+
ComponentControl = RadioControl;
|
148 |
+
break;
|
149 |
+
}
|
150 |
+
|
151 |
+
if (ComponentControl != null) {
|
152 |
+
var helpMessageChecked = helpMessageUncheked = '';
|
153 |
+
if (typeof $attribute_args.helps != 'undefined' && typeof $attribute_args.helps.checked != 'undefined' && typeof $attribute_args.helps.unchecked != 'undefined') {
|
154 |
+
helpMessageChecked = $attribute_args.helps.checked;
|
155 |
+
helpMessageUncheked = $attribute_args.helps.unchecked;
|
156 |
+
}
|
157 |
+
|
158 |
+
else if (typeof $attribute_args.help != 'undefined') {
|
159 |
+
helpMessageChecked = helpMessageUncheked = $attribute_args.help;
|
160 |
+
}
|
161 |
+
|
162 |
+
elements.push(
|
163 |
+
el(
|
164 |
+
ComponentControl,
|
165 |
+
{
|
166 |
+
value: args.attributes[$attribute_name],
|
167 |
+
options: $attribute_args.options,
|
168 |
+
label: $attribute_args.label,
|
169 |
+
checked: args.attributes[$attribute_name],
|
170 |
+
selected: args.attributes[$attribute_name],
|
171 |
+
help: args.attributes[$attribute_name] ? helpMessageChecked : helpMessageUncheked,
|
172 |
+
disableAlpha: $attribute_args.disableAlpha,
|
173 |
+
min: $attribute_args.min,
|
174 |
+
max: $attribute_args.max,
|
175 |
+
multiple: $attribute_args.multiple,
|
176 |
+
onChange: function (new_value, attribute_name = $attribute_name) {
|
177 |
+
args = onChangeEvent(new_value, attribute_name, args, block_type);
|
178 |
+
},
|
179 |
+
onChangeComplete: function (new_value, attribute_name = $attribute_name) {
|
180 |
+
args = onChangeEvent(new_value, attribute_name, args, block_type);
|
181 |
+
},
|
182 |
+
},
|
183 |
+
)
|
184 |
+
);
|
185 |
+
}
|
186 |
+
}
|
187 |
+
});
|
188 |
+
|
189 |
+
sc = create_shortcode(args, $props, 'edit');
|
190 |
+
|
191 |
+
return [
|
192 |
+
el(
|
193 |
+
Fragment,
|
194 |
+
null,
|
195 |
+
el(
|
196 |
+
InspectorControls,
|
197 |
+
null,
|
198 |
+
elements,
|
199 |
+
),
|
200 |
+
sc,
|
201 |
+
)];
|
202 |
+
},
|
203 |
+
save: function save(args) {
|
204 |
+
return create_shortcode(args, $props, 'save');
|
205 |
+
}
|
206 |
+
});
|
207 |
+
});
|
208 |
+
})(jQuery);
|
plugin-fw/assets/js/yith-gutenberg.min.js
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(g){function k(d,c,e){var f="";f="";if("undefined"!=typeof c.callback&&"function"==typeof g[c.callback])f=g[c.callback](d,c);else{var a="["+c.shortcode_name;g.each(d.attributes,function(b,l){"className"!=b&&(a+=" "+b+"=",a=1==c.attributes[b].remove_quotes?a+l:a+('"'+l+'"'))});a+="]";d=md5(a);f='<span class="yith_block_'+d+'">'+a+"</span>";"edit"==e&&0!=c.do_shortcode&&function(c){var b=null;g.ajax({async:!0,url:yith_gutenberg_ajax.ajaxurl,method:"post",data:{action:"yith_plugin_fw_gutenberg_do_shortcode",
|
2 |
+
shortcode:a},success:function(a){b=a;""!=b&&g(".yith_block_"+c).html(b)}});return b}(d);f=h(n,null,f)}return f}function m(d,c,e,f){var a={};if("colorpicker"==f||"color"==f)d=d.hex;a[c]=d;e.setAttributes(a);return e}var h=wp.element.createElement,p=wp.element.Fragment,q=wp.blocks.registerBlockType,r=wp.editor.InspectorControls,n=wp.element.RawHTML,t=wp.components.SelectControl,u=wp.components.ToggleControl,v=wp.components.CheckboxControl,w=wp.components.RangeControl,x=wp.components.ColorPicker,y=wp.components.RadioControl,
|
3 |
+
z=wp.components.TextControl,A=wp.components.TextareaControl,B=h("svg",{width:22,height:22},h("path",{d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));
|
4 |
+
g.each(yith_gutenberg,function(d,c){q("yith/"+d,{title:c.title,description:c.description,category:c.category,attributes:c.attributes,icon:"undefined"!=typeof c.icon?c.icon:B,keywords:c.keywords,edit:function(e){var f=[];g.each(c.attributes,function(c,b){var a=null,d=b.blocktype;if("undefined"!=typeof d){switch(d){case "select":a=t;break;case "text":a=z;break;case "textarea":a=A;break;case "toggle":a=u;break;case "checkbox":a=v;break;case "number":case "range":a=w;break;case "color":case "colorpicker":a=
|
5 |
+
x;break;case "radio":a=y}if(null!=a){var g=helpMessageUncheked="";"undefined"!=typeof b.helps&&"undefined"!=typeof b.helps.checked&&"undefined"!=typeof b.helps.unchecked?(g=b.helps.checked,helpMessageUncheked=b.helps.unchecked):"undefined"!=typeof b.help&&(g=helpMessageUncheked=b.help);f.push(h(a,{value:e.attributes[c],options:b.options,label:b.label,checked:e.attributes[c],selected:e.attributes[c],help:e.attributes[c]?g:helpMessageUncheked,disableAlpha:b.disableAlpha,min:b.min,max:b.max,multiple:b.multiple,
|
6 |
+
onChange:function(a,b){b=void 0===b?c:b;e=m(a,b,e,d)},onChangeComplete:function(b,a){a=void 0===a?c:a;e=m(b,a,e,d)}}))}}});sc=k(e,c,"edit");return[h(p,null,h(r,null,f),sc)]},save:function(d){return k(d,c,"save")}})})})(jQuery);
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.
|
5 |
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
-
* @version 3.
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.1.3
|
5 |
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
+
* @version 3.1.3
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
plugin-fw/languages/yith-plugin-fw-es_ES.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,15 +4,15 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2018-
|
8 |
-
"PO-Revision-Date: 2018-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
"Language: es_ES\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit 2.
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
@@ -264,7 +264,7 @@ msgstr "Añadir %s desde imágenes"
|
|
264 |
msgid "Upload multiple files"
|
265 |
msgstr "Cargar archivos múltiples"
|
266 |
|
267 |
-
#: lib/yit-plugin-panel-wc.php:
|
268 |
msgid "The changes you have made will be lost if you leave this page."
|
269 |
msgstr "Los cambios que has hecho se perderán si sales de esta página."
|
270 |
|
@@ -272,71 +272,71 @@ msgstr "Los cambios que has hecho se perderán si sales de esta página."
|
|
272 |
msgid "Plugin Settings"
|
273 |
msgstr "Ajustes del plugin"
|
274 |
|
275 |
-
#: lib/yit-plugin-panel.php:
|
276 |
msgid "How to install premium version"
|
277 |
msgstr "Cómo instalar la versión premium"
|
278 |
|
279 |
-
#: lib/yit-plugin-panel.php:
|
280 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
281 |
msgid "Save Changes"
|
282 |
msgstr "Guardar cambios"
|
283 |
|
284 |
-
#: lib/yit-plugin-panel.php:
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
286 |
msgid ""
|
287 |
"If you continue with this action, you will reset all options in this page."
|
288 |
msgstr ""
|
289 |
"Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
|
290 |
|
291 |
-
#: lib/yit-plugin-panel.php:
|
292 |
msgid "Reset to default"
|
293 |
msgstr "Reiniciar a predeterminado"
|
294 |
|
295 |
-
#: lib/yit-plugin-panel.php:
|
296 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
297 |
msgid "Are you sure?"
|
298 |
msgstr "¿Estás seguro/a?"
|
299 |
|
300 |
-
#: lib/yit-plugin-panel.php:
|
301 |
msgid ""
|
302 |
"The element you have entered already exists. Please, enter another name."
|
303 |
msgstr ""
|
304 |
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
|
305 |
|
306 |
-
#: lib/yit-plugin-panel.php:
|
307 |
msgid "Settings saved"
|
308 |
msgstr "Ajustes guardados"
|
309 |
|
310 |
-
#: lib/yit-plugin-panel.php:
|
311 |
msgid "Settings reset"
|
312 |
msgstr "Ajustes reiniciados"
|
313 |
|
314 |
-
#: lib/yit-plugin-panel.php:
|
315 |
msgid "Element deleted correctly."
|
316 |
msgstr "Elemento borrado correctamente."
|
317 |
|
318 |
-
#: lib/yit-plugin-panel.php:
|
319 |
msgid "Element updated correctly."
|
320 |
msgstr "Elemento actualizado correctamente."
|
321 |
|
322 |
-
#: lib/yit-plugin-panel.php:
|
323 |
msgid "Database imported correctly."
|
324 |
msgstr "Base de datos importada correctamente."
|
325 |
|
326 |
-
#: lib/yit-plugin-panel.php:
|
327 |
msgid "An error has occurred during import. Please try again."
|
328 |
msgstr ""
|
329 |
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
|
330 |
|
331 |
-
#: lib/yit-plugin-panel.php:
|
332 |
msgid "The added file is not valid."
|
333 |
msgstr "El archivo añadido no es válido."
|
334 |
|
335 |
-
#: lib/yit-plugin-panel.php:
|
336 |
msgid "Sorry, import is disabled."
|
337 |
msgstr "Lo sentimos, la importación está deshabilitada."
|
338 |
|
339 |
-
#: lib/yit-plugin-panel.php:
|
340 |
msgid "Sorting successful."
|
341 |
msgstr "Clasificación fue realizada con éxito."
|
342 |
|
@@ -407,7 +407,7 @@ msgstr ""
|
|
407 |
" se moverán de su posición anterior a la "
|
408 |
"pestaña YIT Plugin."
|
409 |
|
410 |
-
#: lib/yit-upgrade.php:
|
411 |
#, fuzzy
|
412 |
#| msgid "Unable to contact the remote server, please try again later. Thanks!"
|
413 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
@@ -415,43 +415,47 @@ msgstr ""
|
|
415 |
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
416 |
"nuevo más tarde. ¡Gracias!"
|
417 |
|
418 |
-
#: lib/yit-upgrade.php:
|
419 |
msgid "There is a new version of %plugin_name% available."
|
420 |
msgstr "Hay una nueva versión de %plugin_name% disponible."
|
421 |
|
422 |
-
#: lib/yit-upgrade.php:
|
423 |
msgid "View version %latest% details."
|
424 |
msgstr "Ver detalles de la %latest% versión"
|
425 |
|
426 |
-
#: lib/yit-upgrade.php:
|
427 |
msgid "Automatic update is unavailable for this plugin,"
|
428 |
msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
|
429 |
|
430 |
-
#: lib/yit-upgrade.php:
|
431 |
msgid ""
|
432 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
433 |
msgstr ""
|
434 |
"por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
|
435 |
|
436 |
-
#: lib/yit-upgrade.php:
|
437 |
msgid "Update now."
|
438 |
msgstr "Actualiza ahora."
|
439 |
|
440 |
-
#: lib/yit-upgrade.php:
|
|
|
|
|
|
|
|
|
441 |
#, fuzzy
|
442 |
#| msgid "YIThemes Repository"
|
443 |
msgid "YITH Repository"
|
444 |
msgstr "Repositorio YIThemes"
|
445 |
|
446 |
-
#: lib/yit-upgrade.php:
|
447 |
msgid "Invalid URL Provided."
|
448 |
msgstr "La URL proporcionada no es válida."
|
449 |
|
450 |
-
#: lib/yit-upgrade.php:
|
451 |
msgid "Could not create Temporary file."
|
452 |
msgstr "No se pudo crear un archivo temporal."
|
453 |
|
454 |
-
#: lib/yit-upgrade.php:
|
455 |
#, fuzzy, php-format
|
456 |
#| msgid ""
|
457 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
@@ -465,7 +469,7 @@ msgstr ""
|
|
465 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
466 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
|
467 |
|
468 |
-
#: lib/yit-upgrade.php:
|
469 |
#, fuzzy, php-format
|
470 |
#| msgid ""
|
471 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
@@ -483,7 +487,7 @@ msgstr ""
|
|
483 |
"<em>Tienes que activar el plugin en un único sitio web desdela red para "
|
484 |
"beneficiarte de las actualizaciones automáticas.</em>"
|
485 |
|
486 |
-
#: lib/yit-upgrade.php:
|
487 |
#, fuzzy, php-format
|
488 |
#| msgid ""
|
489 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
@@ -504,7 +508,7 @@ msgstr ""
|
|
504 |
"por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
|
505 |
"de %6s.</em>"
|
506 |
|
507 |
-
#: lib/yit-upgrade.php:
|
508 |
#, fuzzy, php-format
|
509 |
#| msgid ""
|
510 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
@@ -519,104 +523,100 @@ msgstr ""
|
|
519 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
|
520 |
"<a href=\"%5$s\">actualizar ahora</a>."
|
521 |
|
522 |
-
#: lib/yit-upgrade.php:
|
523 |
msgid "You can't update the plugins for this site."
|
524 |
msgstr "No puedes actualizar los plugins para este sitio web."
|
525 |
|
526 |
-
#: lib/yit-upgrade.php:
|
527 |
msgid ""
|
528 |
"You do not have sufficient permissions to update the plugins for this site."
|
529 |
msgstr ""
|
530 |
"No tienes suficientes permisos para actualizar los plugins para este sitio "
|
531 |
"web."
|
532 |
|
533 |
-
#: lib/yit-upgrade.php:
|
534 |
msgid "Update Plugin"
|
535 |
msgstr "Actualizar Plugin"
|
536 |
|
537 |
-
#: licence/lib/yit-licence.php:
|
538 |
#, php-format
|
539 |
msgctxt "%s = field name"
|
540 |
-
msgid "
|
541 |
-
msgstr "
|
542 |
|
543 |
-
#: licence/lib/yit-licence.php:
|
544 |
#, php-format
|
545 |
-
msgid "
|
546 |
-
msgstr "
|
547 |
|
548 |
-
#: licence/lib/yit-licence.php:
|
549 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
550 |
msgstr ""
|
551 |
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
552 |
"nuevo más tarde. ¡Gracias!"
|
553 |
|
554 |
-
#: licence/lib/yit-licence.php:
|
555 |
-
|
556 |
-
|
557 |
-
#: licence/templates/panel/activation/activation-panel.php:197
|
558 |
-
msgid "Email"
|
559 |
-
msgstr "Email"
|
560 |
|
561 |
-
#: licence/lib/yit-licence.php:
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
msgid "License Key"
|
566 |
msgstr "Clave de Licencia"
|
567 |
|
568 |
-
#: licence/lib/yit-licence.php:
|
569 |
msgid "Are you sure you want to deactivate the license for current site?"
|
570 |
msgstr ""
|
571 |
"¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
|
572 |
"actual?"
|
573 |
|
574 |
-
#: licence/lib/yit-licence.php:
|
575 |
msgid "Invalid Request"
|
576 |
msgstr "Solicitud inválida"
|
577 |
|
578 |
-
#: licence/lib/yit-licence.php:
|
579 |
msgid "Invalid license key"
|
580 |
msgstr "Clave de solicitud inválida"
|
581 |
|
582 |
-
#: licence/lib/yit-licence.php:
|
583 |
msgid "Software has been deactivated"
|
584 |
msgstr "El software ha sido desactivado"
|
585 |
|
586 |
-
#: licence/lib/yit-licence.php:
|
587 |
msgid "Maximum number of activations exceeded"
|
588 |
msgstr "Se ha excedido el número máximo de solicitudes"
|
589 |
|
590 |
-
#: licence/lib/yit-licence.php:
|
591 |
msgid "Invalid instance ID"
|
592 |
msgstr "Instancia ID inválida"
|
593 |
|
594 |
-
#: licence/lib/yit-licence.php:
|
595 |
msgid "Invalid security key"
|
596 |
msgstr "Clave de seguridad inválida"
|
597 |
|
598 |
-
#: licence/lib/yit-licence.php:
|
599 |
msgid "License key has expired"
|
600 |
msgstr "La clave de licencia ha caducado"
|
601 |
|
602 |
-
#: licence/lib/yit-licence.php:
|
603 |
msgid "License key has been banned"
|
604 |
msgstr "La clave de licencia ha sido bloqueada"
|
605 |
|
606 |
-
#: licence/lib/yit-licence.php:
|
607 |
msgid "Current product is not included in your YITH Club Subscription key"
|
608 |
msgstr ""
|
609 |
"Producto actual no está incluido en la clave de suscripción de Club de YITH"
|
610 |
|
611 |
-
#: licence/lib/yit-licence.php:
|
612 |
msgid "Great"
|
613 |
msgstr "Excelente"
|
614 |
|
615 |
-
#: licence/lib/yit-licence.php:
|
616 |
msgid "License successfully activated"
|
617 |
msgstr "Licencia activada con éxito"
|
618 |
|
619 |
-
#: licence/lib/yit-licence.php:
|
620 |
msgid "License key deactivated for website"
|
621 |
msgstr "Clave de licencia desactivada para nuestro sitio web"
|
622 |
|
@@ -676,86 +676,98 @@ msgstr ""
|
|
676 |
" se te proporcionará y que podrás encontrar en tu cuenta "
|
677 |
"YIThemes, en la sección \"My licenses\"."
|
678 |
|
679 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
680 |
#, fuzzy
|
681 |
#| msgid "License Activation"
|
682 |
msgid "YITH License Activation"
|
683 |
msgstr "Activación de la Licencia"
|
684 |
|
685 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
686 |
msgid ""
|
687 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
688 |
"information concerning your products."
|
689 |
msgstr "¿Has actualizado tus licencias? ¿Has pedido una extensión? Actualiza"
|
690 |
|
691 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
692 |
msgid "Update license information"
|
693 |
msgstr "Actualizar la información de la licencia"
|
694 |
|
695 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
696 |
msgid "Product to activate"
|
697 |
msgid_plural "Products to activate"
|
698 |
msgstr[0] "Producto que activar"
|
699 |
msgstr[1] "Productos que activar"
|
700 |
|
701 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
702 |
msgid "Activate"
|
703 |
msgstr "Activar"
|
704 |
|
705 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
706 |
msgid "Activated"
|
707 |
msgstr "Activado/a"
|
708 |
|
709 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
710 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
711 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
712 |
msgid "Product Name"
|
713 |
msgstr "Nombre de Producto"
|
714 |
|
715 |
#: licence/templates/panel/activation/activation-panel.php:92
|
|
|
716 |
#: licence/templates/panel/activation/activation-panel.php:201
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
717 |
msgid "Expires"
|
718 |
msgstr "Caduca"
|
719 |
|
720 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
721 |
msgid "Remaining"
|
722 |
msgstr "Queda"
|
723 |
|
724 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
725 |
msgid "Club Subscription"
|
726 |
msgstr "Suscripción a Club"
|
727 |
|
728 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
729 |
msgid "License Actions"
|
730 |
msgstr "Acciones de Licencia"
|
731 |
|
732 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
733 |
#, php-format
|
734 |
msgid "%1s out of %2s"
|
735 |
msgstr "%1s de %2s"
|
736 |
|
737 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
738 |
msgid "Deactivate"
|
739 |
msgstr "Desactivar"
|
740 |
|
741 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
742 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
743 |
msgid "Renew"
|
744 |
msgstr "Renovado"
|
745 |
|
746 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
747 |
msgid "Banned"
|
748 |
msgstr "Bloqueado"
|
749 |
|
750 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
751 |
msgid "Expired"
|
752 |
msgstr "Caducado"
|
753 |
|
754 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
755 |
msgid "Order again"
|
756 |
msgstr "Comprar de nuevo"
|
757 |
|
758 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
759 |
msgid "Renew license"
|
760 |
msgstr "Renovar licencia"
|
761 |
|
@@ -886,41 +898,48 @@ msgstr "(Por defecto: <i %s></i> )"
|
|
886 |
msgid "Reset Defaults"
|
887 |
msgstr "Ajustes predeterminados"
|
888 |
|
889 |
-
#: yit-plugin.php:
|
890 |
msgctxt "Plugin Row Meta"
|
891 |
msgid "Live Demo"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: yit-plugin.php:
|
895 |
msgctxt "Plugin Row Meta"
|
896 |
msgid "Documentation"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: yit-plugin.php:
|
900 |
msgctxt "Plugin Row Meta"
|
901 |
msgid "Support"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: yit-plugin.php:
|
905 |
#, fuzzy
|
906 |
#| msgid "Premium version upgrade"
|
907 |
msgctxt "Plugin Row Meta"
|
908 |
msgid "Premium version"
|
909 |
msgstr "Actualiza a la versión premium"
|
910 |
|
911 |
-
#: yit-plugin.php:
|
912 |
#, fuzzy
|
913 |
#| msgid "Settings"
|
914 |
msgctxt "Action links"
|
915 |
msgid "Settings"
|
916 |
msgstr "Ajustes"
|
917 |
|
918 |
-
#: yit-plugin.php:
|
919 |
#, fuzzy
|
920 |
#| msgid "License Key"
|
921 |
msgid "License"
|
922 |
msgstr "Clave de Licencia"
|
923 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
924 |
#~ msgid "Hide sidebar"
|
925 |
#~ msgstr "Ocultar barra lateral"
|
926 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2018-10-26 12:43+0200\n"
|
8 |
+
"PO-Revision-Date: 2018-10-26 12:43+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
"Language: es_ES\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 2.2\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
264 |
msgid "Upload multiple files"
|
265 |
msgstr "Cargar archivos múltiples"
|
266 |
|
267 |
+
#: lib/yit-plugin-panel-wc.php:384
|
268 |
msgid "The changes you have made will be lost if you leave this page."
|
269 |
msgstr "Los cambios que has hecho se perderán si sales de esta página."
|
270 |
|
272 |
msgid "Plugin Settings"
|
273 |
msgstr "Ajustes del plugin"
|
274 |
|
275 |
+
#: lib/yit-plugin-panel.php:335 lib/yit-plugin-panel.php:338
|
276 |
msgid "How to install premium version"
|
277 |
msgstr "Cómo instalar la versión premium"
|
278 |
|
279 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:156
|
280 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
281 |
msgid "Save Changes"
|
282 |
msgstr "Guardar cambios"
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:392 lib/yit-plugin-subpanel.php:159
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
286 |
msgid ""
|
287 |
"If you continue with this action, you will reset all options in this page."
|
288 |
msgstr ""
|
289 |
"Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
|
290 |
|
291 |
+
#: lib/yit-plugin-panel.php:394 lib/yit-plugin-subpanel.php:161
|
292 |
msgid "Reset to default"
|
293 |
msgstr "Reiniciar a predeterminado"
|
294 |
|
295 |
+
#: lib/yit-plugin-panel.php:395 lib/yit-plugin-subpanel.php:162
|
296 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
297 |
msgid "Are you sure?"
|
298 |
msgstr "¿Estás seguro/a?"
|
299 |
|
300 |
+
#: lib/yit-plugin-panel.php:529
|
301 |
msgid ""
|
302 |
"The element you have entered already exists. Please, enter another name."
|
303 |
msgstr ""
|
304 |
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
|
305 |
|
306 |
+
#: lib/yit-plugin-panel.php:530
|
307 |
msgid "Settings saved"
|
308 |
msgstr "Ajustes guardados"
|
309 |
|
310 |
+
#: lib/yit-plugin-panel.php:531
|
311 |
msgid "Settings reset"
|
312 |
msgstr "Ajustes reiniciados"
|
313 |
|
314 |
+
#: lib/yit-plugin-panel.php:532
|
315 |
msgid "Element deleted correctly."
|
316 |
msgstr "Elemento borrado correctamente."
|
317 |
|
318 |
+
#: lib/yit-plugin-panel.php:533 lib/yit-plugin-panel.php:534
|
319 |
msgid "Element updated correctly."
|
320 |
msgstr "Elemento actualizado correctamente."
|
321 |
|
322 |
+
#: lib/yit-plugin-panel.php:535
|
323 |
msgid "Database imported correctly."
|
324 |
msgstr "Base de datos importada correctamente."
|
325 |
|
326 |
+
#: lib/yit-plugin-panel.php:536
|
327 |
msgid "An error has occurred during import. Please try again."
|
328 |
msgstr ""
|
329 |
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
|
330 |
|
331 |
+
#: lib/yit-plugin-panel.php:537
|
332 |
msgid "The added file is not valid."
|
333 |
msgstr "El archivo añadido no es válido."
|
334 |
|
335 |
+
#: lib/yit-plugin-panel.php:538
|
336 |
msgid "Sorry, import is disabled."
|
337 |
msgstr "Lo sentimos, la importación está deshabilitada."
|
338 |
|
339 |
+
#: lib/yit-plugin-panel.php:539
|
340 |
msgid "Sorting successful."
|
341 |
msgstr "Clasificación fue realizada con éxito."
|
342 |
|
407 |
" se moverán de su posición anterior a la "
|
408 |
"pestaña YIT Plugin."
|
409 |
|
410 |
+
#: lib/yit-upgrade.php:95
|
411 |
#, fuzzy
|
412 |
#| msgid "Unable to contact the remote server, please try again later. Thanks!"
|
413 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
415 |
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
416 |
"nuevo más tarde. ¡Gracias!"
|
417 |
|
418 |
+
#: lib/yit-upgrade.php:190
|
419 |
msgid "There is a new version of %plugin_name% available."
|
420 |
msgstr "Hay una nueva versión de %plugin_name% disponible."
|
421 |
|
422 |
+
#: lib/yit-upgrade.php:191
|
423 |
msgid "View version %latest% details."
|
424 |
msgstr "Ver detalles de la %latest% versión"
|
425 |
|
426 |
+
#: lib/yit-upgrade.php:192
|
427 |
msgid "Automatic update is unavailable for this plugin,"
|
428 |
msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
|
429 |
|
430 |
+
#: lib/yit-upgrade.php:193
|
431 |
msgid ""
|
432 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
433 |
msgstr ""
|
434 |
"por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
|
435 |
|
436 |
+
#: lib/yit-upgrade.php:194
|
437 |
msgid "Update now."
|
438 |
msgstr "Actualiza ahora."
|
439 |
|
440 |
+
#: lib/yit-upgrade.php:289
|
441 |
+
msgid "You have to activate the plugin to benefit from automatic updates."
|
442 |
+
msgstr ""
|
443 |
+
|
444 |
+
#: lib/yit-upgrade.php:311
|
445 |
#, fuzzy
|
446 |
#| msgid "YIThemes Repository"
|
447 |
msgid "YITH Repository"
|
448 |
msgstr "Repositorio YIThemes"
|
449 |
|
450 |
+
#: lib/yit-upgrade.php:345
|
451 |
msgid "Invalid URL Provided."
|
452 |
msgstr "La URL proporcionada no es válida."
|
453 |
|
454 |
+
#: lib/yit-upgrade.php:358
|
455 |
msgid "Could not create Temporary file."
|
456 |
msgstr "No se pudo crear un archivo temporal."
|
457 |
|
458 |
+
#: lib/yit-upgrade.php:531
|
459 |
#, fuzzy, php-format
|
460 |
#| msgid ""
|
461 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
469 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
470 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
|
471 |
|
472 |
+
#: lib/yit-upgrade.php:533
|
473 |
#, fuzzy, php-format
|
474 |
#| msgid ""
|
475 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
487 |
"<em>Tienes que activar el plugin en un único sitio web desdela red para "
|
488 |
"beneficiarte de las actualizaciones automáticas.</em>"
|
489 |
|
490 |
+
#: lib/yit-upgrade.php:535
|
491 |
#, fuzzy, php-format
|
492 |
#| msgid ""
|
493 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
508 |
"por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
|
509 |
"de %6s.</em>"
|
510 |
|
511 |
+
#: lib/yit-upgrade.php:537
|
512 |
#, fuzzy, php-format
|
513 |
#| msgid ""
|
514 |
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
523 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
|
524 |
"<a href=\"%5$s\">actualizar ahora</a>."
|
525 |
|
526 |
+
#: lib/yit-upgrade.php:610
|
527 |
msgid "You can't update the plugins for this site."
|
528 |
msgstr "No puedes actualizar los plugins para este sitio web."
|
529 |
|
530 |
+
#: lib/yit-upgrade.php:614
|
531 |
msgid ""
|
532 |
"You do not have sufficient permissions to update the plugins for this site."
|
533 |
msgstr ""
|
534 |
"No tienes suficientes permisos para actualizar los plugins para este sitio "
|
535 |
"web."
|
536 |
|
537 |
+
#: lib/yit-upgrade.php:621
|
538 |
msgid "Update Plugin"
|
539 |
msgstr "Actualizar Plugin"
|
540 |
|
541 |
+
#: licence/lib/yit-licence.php:186
|
542 |
#, php-format
|
543 |
msgctxt "%s = field name"
|
544 |
+
msgid "Please, insert a valid %s"
|
545 |
+
msgstr ""
|
546 |
|
547 |
+
#: licence/lib/yit-licence.php:187
|
548 |
#, php-format
|
549 |
+
msgid "Please, insert a valid %s and a valid %s"
|
550 |
+
msgstr ""
|
551 |
|
552 |
+
#: licence/lib/yit-licence.php:188
|
553 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
554 |
msgstr ""
|
555 |
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
556 |
"nuevo más tarde. ¡Gracias!"
|
557 |
|
558 |
+
#: licence/lib/yit-licence.php:189
|
559 |
+
msgid "email address"
|
560 |
+
msgstr ""
|
|
|
|
|
|
|
561 |
|
562 |
+
#: licence/lib/yit-licence.php:190
|
563 |
+
#, fuzzy
|
564 |
+
#| msgid "License Key"
|
565 |
+
msgid "license key"
|
|
|
566 |
msgstr "Clave de Licencia"
|
567 |
|
568 |
+
#: licence/lib/yit-licence.php:191
|
569 |
msgid "Are you sure you want to deactivate the license for current site?"
|
570 |
msgstr ""
|
571 |
"¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
|
572 |
"actual?"
|
573 |
|
574 |
+
#: licence/lib/yit-licence.php:734
|
575 |
msgid "Invalid Request"
|
576 |
msgstr "Solicitud inválida"
|
577 |
|
578 |
+
#: licence/lib/yit-licence.php:735
|
579 |
msgid "Invalid license key"
|
580 |
msgstr "Clave de solicitud inválida"
|
581 |
|
582 |
+
#: licence/lib/yit-licence.php:736
|
583 |
msgid "Software has been deactivated"
|
584 |
msgstr "El software ha sido desactivado"
|
585 |
|
586 |
+
#: licence/lib/yit-licence.php:737
|
587 |
msgid "Maximum number of activations exceeded"
|
588 |
msgstr "Se ha excedido el número máximo de solicitudes"
|
589 |
|
590 |
+
#: licence/lib/yit-licence.php:738
|
591 |
msgid "Invalid instance ID"
|
592 |
msgstr "Instancia ID inválida"
|
593 |
|
594 |
+
#: licence/lib/yit-licence.php:739
|
595 |
msgid "Invalid security key"
|
596 |
msgstr "Clave de seguridad inválida"
|
597 |
|
598 |
+
#: licence/lib/yit-licence.php:740
|
599 |
msgid "License key has expired"
|
600 |
msgstr "La clave de licencia ha caducado"
|
601 |
|
602 |
+
#: licence/lib/yit-licence.php:741
|
603 |
msgid "License key has been banned"
|
604 |
msgstr "La clave de licencia ha sido bloqueada"
|
605 |
|
606 |
+
#: licence/lib/yit-licence.php:742
|
607 |
msgid "Current product is not included in your YITH Club Subscription key"
|
608 |
msgstr ""
|
609 |
"Producto actual no está incluido en la clave de suscripción de Club de YITH"
|
610 |
|
611 |
+
#: licence/lib/yit-licence.php:743
|
612 |
msgid "Great"
|
613 |
msgstr "Excelente"
|
614 |
|
615 |
+
#: licence/lib/yit-licence.php:743
|
616 |
msgid "License successfully activated"
|
617 |
msgstr "Licencia activada con éxito"
|
618 |
|
619 |
+
#: licence/lib/yit-licence.php:744
|
620 |
msgid "License key deactivated for website"
|
621 |
msgstr "Clave de licencia desactivada para nuestro sitio web"
|
622 |
|
676 |
" se te proporcionará y que podrás encontrar en tu cuenta "
|
677 |
"YIThemes, en la sección \"My licenses\"."
|
678 |
|
679 |
+
#: licence/templates/panel/activation/activation-panel.php:24
|
680 |
#, fuzzy
|
681 |
#| msgid "License Activation"
|
682 |
msgid "YITH License Activation"
|
683 |
msgstr "Activación de la Licencia"
|
684 |
|
685 |
+
#: licence/templates/panel/activation/activation-panel.php:28
|
686 |
msgid ""
|
687 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
688 |
"information concerning your products."
|
689 |
msgstr "¿Has actualizado tus licencias? ¿Has pedido una extensión? Actualiza"
|
690 |
|
691 |
+
#: licence/templates/panel/activation/activation-panel.php:30
|
692 |
msgid "Update license information"
|
693 |
msgstr "Actualizar la información de la licencia"
|
694 |
|
695 |
+
#: licence/templates/panel/activation/activation-panel.php:43
|
696 |
msgid "Product to activate"
|
697 |
msgid_plural "Products to activate"
|
698 |
msgstr[0] "Producto que activar"
|
699 |
msgstr[1] "Productos que activar"
|
700 |
|
701 |
+
#: licence/templates/panel/activation/activation-panel.php:65
|
702 |
msgid "Activate"
|
703 |
msgstr "Activar"
|
704 |
|
705 |
+
#: licence/templates/panel/activation/activation-panel.php:84
|
706 |
msgid "Activated"
|
707 |
msgstr "Activado/a"
|
708 |
|
709 |
+
#: licence/templates/panel/activation/activation-panel.php:90
|
710 |
+
#: licence/templates/panel/activation/activation-panel.php:168
|
711 |
+
#: licence/templates/panel/activation/activation-panel.php:198
|
712 |
msgid "Product Name"
|
713 |
msgstr "Nombre de Producto"
|
714 |
|
715 |
#: licence/templates/panel/activation/activation-panel.php:92
|
716 |
+
#: licence/templates/panel/activation/activation-panel.php:170
|
717 |
#: licence/templates/panel/activation/activation-panel.php:201
|
718 |
+
msgid "Email"
|
719 |
+
msgstr "Email"
|
720 |
+
|
721 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
722 |
+
#: licence/templates/panel/activation/activation-panel.php:171
|
723 |
+
#: licence/templates/panel/activation/activation-panel.php:202
|
724 |
+
msgid "License Key"
|
725 |
+
msgstr "Clave de Licencia"
|
726 |
+
|
727 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
728 |
+
#: licence/templates/panel/activation/activation-panel.php:205
|
729 |
msgid "Expires"
|
730 |
msgstr "Caduca"
|
731 |
|
732 |
+
#: licence/templates/panel/activation/activation-panel.php:99
|
733 |
msgid "Remaining"
|
734 |
msgstr "Queda"
|
735 |
|
736 |
+
#: licence/templates/panel/activation/activation-panel.php:101
|
737 |
msgid "Club Subscription"
|
738 |
msgstr "Suscripción a Club"
|
739 |
|
740 |
+
#: licence/templates/panel/activation/activation-panel.php:105
|
741 |
msgid "License Actions"
|
742 |
msgstr "Acciones de Licencia"
|
743 |
|
744 |
+
#: licence/templates/panel/activation/activation-panel.php:130
|
745 |
#, php-format
|
746 |
msgid "%1s out of %2s"
|
747 |
msgstr "%1s de %2s"
|
748 |
|
749 |
+
#: licence/templates/panel/activation/activation-panel.php:146
|
750 |
msgid "Deactivate"
|
751 |
msgstr "Desactivar"
|
752 |
|
753 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
754 |
+
#: licence/templates/panel/activation/activation-panel.php:208
|
755 |
msgid "Renew"
|
756 |
msgstr "Renovado"
|
757 |
|
758 |
+
#: licence/templates/panel/activation/activation-panel.php:164
|
759 |
msgid "Banned"
|
760 |
msgstr "Bloqueado"
|
761 |
|
762 |
+
#: licence/templates/panel/activation/activation-panel.php:194
|
763 |
msgid "Expired"
|
764 |
msgstr "Caducado"
|
765 |
|
766 |
+
#: licence/templates/panel/activation/activation-panel.php:230
|
767 |
msgid "Order again"
|
768 |
msgstr "Comprar de nuevo"
|
769 |
|
770 |
+
#: licence/templates/panel/activation/activation-panel.php:232
|
771 |
msgid "Renew license"
|
772 |
msgstr "Renovar licencia"
|
773 |
|
898 |
msgid "Reset Defaults"
|
899 |
msgstr "Ajustes predeterminados"
|
900 |
|
901 |
+
#: yit-plugin.php:77
|
902 |
msgctxt "Plugin Row Meta"
|
903 |
msgid "Live Demo"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: yit-plugin.php:82
|
907 |
msgctxt "Plugin Row Meta"
|
908 |
msgid "Documentation"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: yit-plugin.php:87
|
912 |
msgctxt "Plugin Row Meta"
|
913 |
msgid "Support"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: yit-plugin.php:92
|
917 |
#, fuzzy
|
918 |
#| msgid "Premium version upgrade"
|
919 |
msgctxt "Plugin Row Meta"
|
920 |
msgid "Premium version"
|
921 |
msgstr "Actualiza a la versión premium"
|
922 |
|
923 |
+
#: yit-plugin.php:187
|
924 |
#, fuzzy
|
925 |
#| msgid "Settings"
|
926 |
msgctxt "Action links"
|
927 |
msgid "Settings"
|
928 |
msgstr "Ajustes"
|
929 |
|
930 |
+
#: yit-plugin.php:191
|
931 |
#, fuzzy
|
932 |
#| msgid "License Key"
|
933 |
msgid "License"
|
934 |
msgstr "Clave de Licencia"
|
935 |
|
936 |
+
#~ msgctxt "%s = field name"
|
937 |
+
#~ msgid "%s field cannot be empty"
|
938 |
+
#~ msgstr "%s el campo no puede estar vacío"
|
939 |
+
|
940 |
+
#~ msgid "%s and %s fields cannot be empty"
|
941 |
+
#~ msgstr "Los campos %s y %s no pueden estar vacíos"
|
942 |
+
|
943 |
#~ msgid "Hide sidebar"
|
944 |
#~ msgstr "Ocultar barra lateral"
|
945 |
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,15 +4,15 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2018-
|
8 |
-
"PO-Revision-Date: 2018-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
11 |
"Language: it_IT\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit 2.
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
@@ -23,8 +23,6 @@ msgstr ""
|
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
25 |
#: lib/privacy/yit-privacy.php:24
|
26 |
-
#, fuzzy
|
27 |
-
#| msgid "YITH Plugins"
|
28 |
msgctxt "Privacy Policy Guide Title"
|
29 |
msgid "YITH Plugins"
|
30 |
msgstr "YITH Plugins"
|
@@ -39,26 +37,33 @@ msgid ""
|
|
39 |
"We recommend consulting with a lawyer when deciding what information to "
|
40 |
"disclose on your privacy policy."
|
41 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
#: lib/privacy/yit-privacy.php:63
|
44 |
msgctxt "Privacy Policy Content"
|
45 |
msgid "What we collect and store"
|
46 |
-
msgstr ""
|
47 |
|
48 |
#: lib/privacy/yit-privacy.php:66
|
49 |
msgctxt "Privacy Policy Content"
|
50 |
msgid "Who on our team has access"
|
51 |
-
msgstr ""
|
52 |
|
53 |
#: lib/privacy/yit-privacy.php:69
|
54 |
msgctxt "Privacy Policy Content"
|
55 |
msgid "What we share with others"
|
56 |
-
msgstr ""
|
57 |
|
58 |
#: lib/privacy/yit-privacy.php:72
|
59 |
msgctxt "Privacy Policy Content"
|
60 |
msgid "Payments"
|
61 |
-
msgstr ""
|
62 |
|
63 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
64 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
@@ -264,7 +269,7 @@ msgstr "Aggiungi %s dalla immagini"
|
|
264 |
msgid "Upload multiple files"
|
265 |
msgstr "Carica file multipli"
|
266 |
|
267 |
-
#: lib/yit-plugin-panel-wc.php:
|
268 |
msgid "The changes you have made will be lost if you leave this page."
|
269 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
270 |
|
@@ -272,16 +277,16 @@ msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
|
272 |
msgid "Plugin Settings"
|
273 |
msgstr "Impostazioni plugin"
|
274 |
|
275 |
-
#: lib/yit-plugin-panel.php:
|
276 |
msgid "How to install premium version"
|
277 |
msgstr "Come installare la versione premium"
|
278 |
|
279 |
-
#: lib/yit-plugin-panel.php:
|
280 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
281 |
msgid "Save Changes"
|
282 |
msgstr "Salva modifiche"
|
283 |
|
284 |
-
#: lib/yit-plugin-panel.php:
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
286 |
msgid ""
|
287 |
"If you continue with this action, you will reset all options in this page."
|
@@ -289,53 +294,53 @@ msgstr ""
|
|
289 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
290 |
"reimpostate."
|
291 |
|
292 |
-
#: lib/yit-plugin-panel.php:
|
293 |
msgid "Reset to default"
|
294 |
msgstr "Ripristina configurazione predefinita"
|
295 |
|
296 |
-
#: lib/yit-plugin-panel.php:
|
297 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
298 |
msgid "Are you sure?"
|
299 |
msgstr "Sei sicuro?"
|
300 |
|
301 |
-
#: lib/yit-plugin-panel.php:
|
302 |
msgid ""
|
303 |
"The element you have entered already exists. Please, enter another name."
|
304 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
305 |
|
306 |
-
#: lib/yit-plugin-panel.php:
|
307 |
msgid "Settings saved"
|
308 |
msgstr "Impostazioni salvate"
|
309 |
|
310 |
-
#: lib/yit-plugin-panel.php:
|
311 |
msgid "Settings reset"
|
312 |
msgstr "Impostazioni azzerate"
|
313 |
|
314 |
-
#: lib/yit-plugin-panel.php:
|
315 |
msgid "Element deleted correctly."
|
316 |
msgstr "Elemento rimosso correttamente."
|
317 |
|
318 |
-
#: lib/yit-plugin-panel.php:
|
319 |
msgid "Element updated correctly."
|
320 |
msgstr "Elemento aggiornato correttamente."
|
321 |
|
322 |
-
#: lib/yit-plugin-panel.php:
|
323 |
msgid "Database imported correctly."
|
324 |
msgstr "Database importato correttamente."
|
325 |
|
326 |
-
#: lib/yit-plugin-panel.php:
|
327 |
msgid "An error has occurred during import. Please try again."
|
328 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
329 |
|
330 |
-
#: lib/yit-plugin-panel.php:
|
331 |
msgid "The added file is not valid."
|
332 |
msgstr "Il file aggiunto non è valido."
|
333 |
|
334 |
-
#: lib/yit-plugin-panel.php:
|
335 |
msgid "Sorry, import is disabled."
|
336 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
337 |
|
338 |
-
#: lib/yit-plugin-panel.php:
|
339 |
msgid "Sorting successful."
|
340 |
msgstr "Ordinamento effettuato con successo."
|
341 |
|
@@ -344,21 +349,15 @@ msgid "Plugins Activated"
|
|
344 |
msgstr "Plugin attivati"
|
345 |
|
346 |
#: lib/yit-pointers.php:71
|
347 |
-
#, fuzzy
|
348 |
-
#| msgid ""
|
349 |
-
#| "From now on, you can find all plugin options in YIT Plugin menu.\n"
|
350 |
-
#| " For each plugin installed, "
|
351 |
-
#| "customization settings will be available as a new entry in YIT Plugin "
|
352 |
-
#| "menu."
|
353 |
msgid ""
|
354 |
"From now on, you can find all plugin options in YITH Plugins menu.\n"
|
355 |
" Plugin customization settings will be "
|
356 |
"available as a new entry in YITH Plugins menu."
|
357 |
msgstr ""
|
358 |
-
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu
|
359 |
-
"
|
360 |
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu "
|
361 |
-
"
|
362 |
|
363 |
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
364 |
msgid "Discover all our plugins available on:"
|
@@ -373,17 +372,6 @@ msgid "Plugins Upgraded"
|
|
373 |
msgstr "Plugin aggiornati"
|
374 |
|
375 |
#: lib/yit-pointers.php:85
|
376 |
-
#, fuzzy
|
377 |
-
#| msgid ""
|
378 |
-
#| "From now on, you can find all options of your plugins in YIT Plugin "
|
379 |
-
#| "menu.\n"
|
380 |
-
#| " Any time one of our plugins is "
|
381 |
-
#| "updated, a new entry will be added to this menu.\n"
|
382 |
-
#| " For example, after the update, plugin "
|
383 |
-
#| "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
384 |
-
#| "Search, etc.)\n"
|
385 |
-
#| " will be moved from previous location "
|
386 |
-
#| "to YIT Plugin tab."
|
387 |
msgid ""
|
388 |
"From now on, you can find the option panel of YITH plugins in YITH Plugins "
|
389 |
"menu.\n"
|
@@ -395,63 +383,59 @@ msgid ""
|
|
395 |
" will be moved from previous location to "
|
396 |
"YITH Plugins tab."
|
397 |
msgstr ""
|
398 |
-
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu
|
399 |
-
"
|
400 |
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in "
|
401 |
"questo menu.\n"
|
402 |
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio "
|
403 |
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
404 |
-
"saranno trasferite nella scheda
|
405 |
|
406 |
-
#: lib/yit-upgrade.php:
|
407 |
-
#, fuzzy
|
408 |
-
#| msgid "Unable to contact the remote server, please try again later. Thanks!"
|
409 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
410 |
-
msgstr "
|
411 |
|
412 |
-
#: lib/yit-upgrade.php:
|
413 |
msgid "There is a new version of %plugin_name% available."
|
414 |
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
415 |
|
416 |
-
#: lib/yit-upgrade.php:
|
417 |
msgid "View version %latest% details."
|
418 |
msgstr "Visualizza i dettagli della versione %latest%."
|
419 |
|
420 |
-
#: lib/yit-upgrade.php:
|
421 |
msgid "Automatic update is unavailable for this plugin,"
|
422 |
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
423 |
|
424 |
-
#: lib/yit-upgrade.php:
|
425 |
msgid ""
|
426 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
427 |
msgstr ""
|
428 |
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
|
429 |
"%plugin_name%."
|
430 |
|
431 |
-
#: lib/yit-upgrade.php:
|
432 |
msgid "Update now."
|
433 |
msgstr "Aggiorna adesso."
|
434 |
|
435 |
-
#: lib/yit-upgrade.php:
|
436 |
-
|
437 |
-
|
|
|
|
|
438 |
msgid "YITH Repository"
|
439 |
-
msgstr "Repository
|
440 |
|
441 |
-
#: lib/yit-upgrade.php:
|
442 |
msgid "Invalid URL Provided."
|
443 |
msgstr "L'URL inserito non è valido."
|
444 |
|
445 |
-
#: lib/yit-upgrade.php:
|
446 |
msgid "Could not create Temporary file."
|
447 |
msgstr "Non è stato possibile creare il file temporaneo."
|
448 |
|
449 |
-
#: lib/yit-upgrade.php:
|
450 |
-
#,
|
451 |
-
#| msgid ""
|
452 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
453 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
454 |
-
#| "details</a>."
|
455 |
msgid ""
|
456 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
457 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
@@ -461,32 +445,21 @@ msgstr ""
|
|
461 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
462 |
"%4$s</a>."
|
463 |
|
464 |
-
#: lib/yit-upgrade.php:
|
465 |
-
#,
|
466 |
-
#| msgid ""
|
467 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
468 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
469 |
-
#| "details</a>. <em>You have to activate the plugin on a single site of the "
|
470 |
-
#| "network to benefit from automatic updates.</em>"
|
471 |
msgid ""
|
472 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
473 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
474 |
"%4$s details</a>. <em>You have to activate the plugin on a single site of "
|
475 |
"the network to benefit from automatic updates.</em>"
|
476 |
msgstr ""
|
477 |
-
"È disponibile una nuova
|
478 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
479 |
"%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
|
480 |
"necessario attivare il plugin su un solo sito.</em>"
|
481 |
|
482 |
-
#: lib/yit-upgrade.php:
|
483 |
-
#,
|
484 |
-
#| msgid ""
|
485 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
486 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
487 |
-
#| "details</a>. <em>Automatic update is unavailable for this plugin, please "
|
488 |
-
#| "<a href=\"%5$s\" title=\"License activation\">activate</a> your copy of "
|
489 |
-
#| "%6s.</em>"
|
490 |
msgid ""
|
491 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
492 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
@@ -497,15 +470,11 @@ msgstr ""
|
|
497 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
498 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
499 |
"%4$s</a>. <em>Gli aggiornamenti automatici non sono disponibili per questo "
|
500 |
-
"plugin, per piacere <a href=\"%5$s\" title=\"License activation\">
|
501 |
-
"la
|
502 |
-
|
503 |
-
#: lib/yit-upgrade.php:
|
504 |
-
#,
|
505 |
-
#| msgid ""
|
506 |
-
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
507 |
-
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
508 |
-
#| "details</a> or <a href=\"%5$s\">update now</a>."
|
509 |
msgid ""
|
510 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
511 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
@@ -515,99 +484,93 @@ msgstr ""
|
|
515 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
516 |
"%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
517 |
|
518 |
-
#: lib/yit-upgrade.php:
|
519 |
msgid "You can't update the plugins for this site."
|
520 |
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
521 |
|
522 |
-
#: lib/yit-upgrade.php:
|
523 |
msgid ""
|
524 |
"You do not have sufficient permissions to update the plugins for this site."
|
525 |
msgstr ""
|
526 |
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
|
527 |
"in questo sito."
|
528 |
|
529 |
-
#: lib/yit-upgrade.php:
|
530 |
msgid "Update Plugin"
|
531 |
msgstr "Aggiorna plugin"
|
532 |
|
533 |
-
#: licence/lib/yit-licence.php:
|
534 |
#, php-format
|
535 |
msgctxt "%s = field name"
|
536 |
-
msgid "
|
537 |
-
msgstr "
|
538 |
|
539 |
-
#: licence/lib/yit-licence.php:
|
540 |
#, php-format
|
541 |
-
msgid "
|
542 |
-
msgstr "
|
543 |
|
544 |
-
#: licence/lib/yit-licence.php:
|
545 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
546 |
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
547 |
|
|
|
|
|
|
|
|
|
548 |
#: licence/lib/yit-licence.php:190
|
549 |
-
|
550 |
-
|
551 |
-
#: licence/templates/panel/activation/activation-panel.php:197
|
552 |
-
msgid "Email"
|
553 |
-
msgstr "Email"
|
554 |
|
555 |
#: licence/lib/yit-licence.php:191
|
556 |
-
#: licence/templates/panel/activation/activation-panel.php:89
|
557 |
-
#: licence/templates/panel/activation/activation-panel.php:167
|
558 |
-
#: licence/templates/panel/activation/activation-panel.php:198
|
559 |
-
msgid "License Key"
|
560 |
-
msgstr "Chiave di licenza"
|
561 |
-
|
562 |
-
#: licence/lib/yit-licence.php:192
|
563 |
msgid "Are you sure you want to deactivate the license for current site?"
|
564 |
msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
|
565 |
|
566 |
-
#: licence/lib/yit-licence.php:
|
567 |
msgid "Invalid Request"
|
568 |
msgstr "Richiesta non valida"
|
569 |
|
570 |
-
#: licence/lib/yit-licence.php:
|
571 |
msgid "Invalid license key"
|
572 |
msgstr "Chiave di licenza non valida"
|
573 |
|
574 |
-
#: licence/lib/yit-licence.php:
|
575 |
msgid "Software has been deactivated"
|
576 |
msgstr "Il software è stato disattivato"
|
577 |
|
578 |
-
#: licence/lib/yit-licence.php:
|
579 |
msgid "Maximum number of activations exceeded"
|
580 |
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
581 |
|
582 |
-
#: licence/lib/yit-licence.php:
|
583 |
msgid "Invalid instance ID"
|
584 |
msgstr "Istanza ID non valida"
|
585 |
|
586 |
-
#: licence/lib/yit-licence.php:
|
587 |
msgid "Invalid security key"
|
588 |
msgstr "Chiave di sicurezza non valida"
|
589 |
|
590 |
-
#: licence/lib/yit-licence.php:
|
591 |
msgid "License key has expired"
|
592 |
msgstr "La chiave di licenza è scaduta"
|
593 |
|
594 |
-
#: licence/lib/yit-licence.php:
|
595 |
msgid "License key has been banned"
|
596 |
msgstr "La chiave di licenza è stata bloccata"
|
597 |
|
598 |
-
#: licence/lib/yit-licence.php:
|
599 |
msgid "Current product is not included in your YITH Club Subscription key"
|
600 |
msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
|
601 |
|
602 |
-
#: licence/lib/yit-licence.php:
|
603 |
msgid "Great"
|
604 |
msgstr "Grande!"
|
605 |
|
606 |
-
#: licence/lib/yit-licence.php:
|
607 |
msgid "License successfully activated"
|
608 |
msgstr "Licenza attivata con successo"
|
609 |
|
610 |
-
#: licence/lib/yit-licence.php:
|
611 |
msgid "License key deactivated for website"
|
612 |
msgstr "Chiave di licenza disattivata per il sito web"
|
613 |
|
@@ -631,18 +594,6 @@ msgstr ""
|
|
631 |
"acquistato diverso tempo fa. Dove posso trovarla?"
|
632 |
|
633 |
#: licence/lib/yit-theme-licence.php:163
|
634 |
-
#, fuzzy
|
635 |
-
#| msgid ""
|
636 |
-
#| "If you have purchased one of our products before 27 January 2015, you can "
|
637 |
-
#| "benefit from support and updates (the services offered with the license)\n"
|
638 |
-
#| " until 27 January 2016 and you do not have to purchase "
|
639 |
-
#| "it again to get a new license key, because, before this date, your "
|
640 |
-
#| "license used to be activated automatically by our system.\n"
|
641 |
-
#| " After 27 January 2016, instead, if you want to "
|
642 |
-
#| "benefit from support and updates you have to buy a new license and "
|
643 |
-
#| "activate it through the license key you will be\n"
|
644 |
-
#| " provided with and that you can find in your YIThemes "
|
645 |
-
#| "account, in section \"My licenses\"."
|
646 |
msgid ""
|
647 |
"If you have purchased one of our products before 27 January 2015, you can "
|
648 |
"benefit from support and updates (the services offered with the license)\n"
|
@@ -663,16 +614,14 @@ msgstr ""
|
|
663 |
"Dopo il 27 gennaio 2016, invece, se vorrai usufruire di supporto e "
|
664 |
"aggiornamenti dovrai acquistare una nuova licenza e attivarla con il codice "
|
665 |
"che ti verrà\n"
|
666 |
-
"fornito e che puoi trovare nella tua area riservata su
|
667 |
-
"
|
668 |
|
669 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
670 |
-
#, fuzzy
|
671 |
-
#| msgid "License Activation"
|
672 |
msgid "YITH License Activation"
|
673 |
-
msgstr "Attivazione licenza"
|
674 |
|
675 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
676 |
msgid ""
|
677 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
678 |
"information concerning your products."
|
@@ -680,86 +629,94 @@ msgstr ""
|
|
680 |
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
|
681 |
"informazioni dei tuoi prodotti."
|
682 |
|
683 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
684 |
msgid "Update license information"
|
685 |
msgstr "Aggiorna informazioni licenza"
|
686 |
|
687 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
688 |
msgid "Product to activate"
|
689 |
msgid_plural "Products to activate"
|
690 |
msgstr[0] "Prodotto da attivare"
|
691 |
msgstr[1] "Prodotti da attivare"
|
692 |
|
693 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
694 |
msgid "Activate"
|
695 |
msgstr "Attiva"
|
696 |
|
697 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
698 |
msgid "Activated"
|
699 |
msgstr "Attivato"
|
700 |
|
701 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
702 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
703 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
704 |
msgid "Product Name"
|
705 |
msgstr "Nome prodotto"
|
706 |
|
707 |
#: licence/templates/panel/activation/activation-panel.php:92
|
|
|
708 |
#: licence/templates/panel/activation/activation-panel.php:201
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
709 |
msgid "Expires"
|
710 |
msgstr "Scadenza"
|
711 |
|
712 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
713 |
msgid "Remaining"
|
714 |
msgstr "Tempo rimanente"
|
715 |
|
716 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
717 |
msgid "Club Subscription"
|
718 |
msgstr "Club Subscription"
|
719 |
|
720 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
721 |
msgid "License Actions"
|
722 |
msgstr "Azioni licenza"
|
723 |
|
724 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
725 |
#, php-format
|
726 |
msgid "%1s out of %2s"
|
727 |
msgstr "%1s di %2s"
|
728 |
|
729 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
730 |
msgid "Deactivate"
|
731 |
msgstr "Disattiva"
|
732 |
|
733 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
734 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
735 |
msgid "Renew"
|
736 |
msgstr "Rinnova"
|
737 |
|
738 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
739 |
msgid "Banned"
|
740 |
msgstr "Bloccato"
|
741 |
|
742 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
743 |
msgid "Expired"
|
744 |
msgstr "Non più valido"
|
745 |
|
746 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
747 |
msgid "Order again"
|
748 |
msgstr "Acquista di nuovo"
|
749 |
|
750 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
751 |
msgid "Renew license"
|
752 |
msgstr "Rinnova la licenza"
|
753 |
|
754 |
#: templates/fields/ajax-posts.php:57
|
755 |
-
#, fuzzy
|
756 |
-
#| msgid "Search %s"
|
757 |
msgid "Search Posts"
|
758 |
-
msgstr "Cerca
|
759 |
|
760 |
#: templates/fields/ajax-products.php:16
|
761 |
-
#, fuzzy
|
762 |
-
#| msgid "Search for a product"
|
763 |
msgid "Search Product"
|
764 |
msgstr "Cerca un prodotto"
|
765 |
|
@@ -792,8 +749,6 @@ msgid "Do you want to remove the custom tab?"
|
|
792 |
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
793 |
|
794 |
#: templates/fields/icons.php:58
|
795 |
-
#, fuzzy
|
796 |
-
#| msgid "Reset Defaults"
|
797 |
msgid "Set Default"
|
798 |
msgstr "Ripristina impostazioni iniziali"
|
799 |
|
@@ -818,14 +773,12 @@ msgid "Delete"
|
|
818 |
msgstr "Rimuovi"
|
819 |
|
820 |
#: templates/fields/select-buttons.php:26
|
821 |
-
#, fuzzy
|
822 |
-
#| msgid "Select"
|
823 |
msgid "Select All"
|
824 |
-
msgstr "
|
825 |
|
826 |
#: templates/fields/select-buttons.php:33
|
827 |
msgid "Deselect All"
|
828 |
-
msgstr ""
|
829 |
|
830 |
#: templates/fields/sidebars.php:22
|
831 |
msgid "Left sidebar"
|
@@ -878,41 +831,42 @@ msgstr "(Default: <i %s></i> )"
|
|
878 |
msgid "Reset Defaults"
|
879 |
msgstr "Ripristina impostazioni iniziali"
|
880 |
|
881 |
-
#: yit-plugin.php:
|
882 |
msgctxt "Plugin Row Meta"
|
883 |
msgid "Live Demo"
|
884 |
-
msgstr ""
|
885 |
|
886 |
-
#: yit-plugin.php:
|
887 |
msgctxt "Plugin Row Meta"
|
888 |
msgid "Documentation"
|
889 |
-
msgstr ""
|
890 |
|
891 |
-
#: yit-plugin.php:
|
892 |
msgctxt "Plugin Row Meta"
|
893 |
msgid "Support"
|
894 |
-
msgstr ""
|
895 |
|
896 |
-
#: yit-plugin.php:
|
897 |
-
#, fuzzy
|
898 |
-
#| msgid "Premium version upgrade"
|
899 |
msgctxt "Plugin Row Meta"
|
900 |
msgid "Premium version"
|
901 |
-
msgstr "
|
902 |
|
903 |
-
#: yit-plugin.php:
|
904 |
-
#, fuzzy
|
905 |
-
#| msgid "Settings"
|
906 |
msgctxt "Action links"
|
907 |
msgid "Settings"
|
908 |
msgstr "Impostazioni"
|
909 |
|
910 |
-
#: yit-plugin.php:
|
911 |
-
#, fuzzy
|
912 |
-
#| msgid "License Key"
|
913 |
msgid "License"
|
914 |
msgstr "Chiave di licenza"
|
915 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
916 |
#~ msgid "Hide sidebar"
|
917 |
#~ msgstr "Nascondi barra laterale"
|
918 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2018-10-26 12:43+0200\n"
|
8 |
+
"PO-Revision-Date: 2018-10-26 12:49+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
11 |
"Language: it_IT\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 2.2\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
25 |
#: lib/privacy/yit-privacy.php:24
|
|
|
|
|
26 |
msgctxt "Privacy Policy Guide Title"
|
27 |
msgid "YITH Plugins"
|
28 |
msgstr "YITH Plugins"
|
37 |
"We recommend consulting with a lawyer when deciding what information to "
|
38 |
"disclose on your privacy policy."
|
39 |
msgstr ""
|
40 |
+
"Questo esempio include gli elementi di base sulla raccolta dei dati "
|
41 |
+
"personali, la memorizzazione e la condivisione, nonché su chi è autorizzato "
|
42 |
+
"ad accedere a tali dati. In base alle impostazioni abilitate e ai moduli di "
|
43 |
+
"estensione aggiuntivi utilizzati, le informazioni specifiche condivise dal "
|
44 |
+
"nostro negozio possono variare. Ti consigliamo di consultare un legale al "
|
45 |
+
"momento di decidere quali informazioni divulgare nell'informativa sulla "
|
46 |
+
"privacy."
|
47 |
|
48 |
#: lib/privacy/yit-privacy.php:63
|
49 |
msgctxt "Privacy Policy Content"
|
50 |
msgid "What we collect and store"
|
51 |
+
msgstr "Cosa raccogliamo e salviamo"
|
52 |
|
53 |
#: lib/privacy/yit-privacy.php:66
|
54 |
msgctxt "Privacy Policy Content"
|
55 |
msgid "Who on our team has access"
|
56 |
+
msgstr "Persone del nostro gruppo di lavoro che hanno accesso"
|
57 |
|
58 |
#: lib/privacy/yit-privacy.php:69
|
59 |
msgctxt "Privacy Policy Content"
|
60 |
msgid "What we share with others"
|
61 |
+
msgstr "Cosa condividiamo con gli altri"
|
62 |
|
63 |
#: lib/privacy/yit-privacy.php:72
|
64 |
msgctxt "Privacy Policy Content"
|
65 |
msgid "Payments"
|
66 |
+
msgstr "Pagamenti"
|
67 |
|
68 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
69 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
269 |
msgid "Upload multiple files"
|
270 |
msgstr "Carica file multipli"
|
271 |
|
272 |
+
#: lib/yit-plugin-panel-wc.php:384
|
273 |
msgid "The changes you have made will be lost if you leave this page."
|
274 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
275 |
|
277 |
msgid "Plugin Settings"
|
278 |
msgstr "Impostazioni plugin"
|
279 |
|
280 |
+
#: lib/yit-plugin-panel.php:335 lib/yit-plugin-panel.php:338
|
281 |
msgid "How to install premium version"
|
282 |
msgstr "Come installare la versione premium"
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:156
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
286 |
msgid "Save Changes"
|
287 |
msgstr "Salva modifiche"
|
288 |
|
289 |
+
#: lib/yit-plugin-panel.php:392 lib/yit-plugin-subpanel.php:159
|
290 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
291 |
msgid ""
|
292 |
"If you continue with this action, you will reset all options in this page."
|
294 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
295 |
"reimpostate."
|
296 |
|
297 |
+
#: lib/yit-plugin-panel.php:394 lib/yit-plugin-subpanel.php:161
|
298 |
msgid "Reset to default"
|
299 |
msgstr "Ripristina configurazione predefinita"
|
300 |
|
301 |
+
#: lib/yit-plugin-panel.php:395 lib/yit-plugin-subpanel.php:162
|
302 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
303 |
msgid "Are you sure?"
|
304 |
msgstr "Sei sicuro?"
|
305 |
|
306 |
+
#: lib/yit-plugin-panel.php:529
|
307 |
msgid ""
|
308 |
"The element you have entered already exists. Please, enter another name."
|
309 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
310 |
|
311 |
+
#: lib/yit-plugin-panel.php:530
|
312 |
msgid "Settings saved"
|
313 |
msgstr "Impostazioni salvate"
|
314 |
|
315 |
+
#: lib/yit-plugin-panel.php:531
|
316 |
msgid "Settings reset"
|
317 |
msgstr "Impostazioni azzerate"
|
318 |
|
319 |
+
#: lib/yit-plugin-panel.php:532
|
320 |
msgid "Element deleted correctly."
|
321 |
msgstr "Elemento rimosso correttamente."
|
322 |
|
323 |
+
#: lib/yit-plugin-panel.php:533 lib/yit-plugin-panel.php:534
|
324 |
msgid "Element updated correctly."
|
325 |
msgstr "Elemento aggiornato correttamente."
|
326 |
|
327 |
+
#: lib/yit-plugin-panel.php:535
|
328 |
msgid "Database imported correctly."
|
329 |
msgstr "Database importato correttamente."
|
330 |
|
331 |
+
#: lib/yit-plugin-panel.php:536
|
332 |
msgid "An error has occurred during import. Please try again."
|
333 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
334 |
|
335 |
+
#: lib/yit-plugin-panel.php:537
|
336 |
msgid "The added file is not valid."
|
337 |
msgstr "Il file aggiunto non è valido."
|
338 |
|
339 |
+
#: lib/yit-plugin-panel.php:538
|
340 |
msgid "Sorry, import is disabled."
|
341 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
342 |
|
343 |
+
#: lib/yit-plugin-panel.php:539
|
344 |
msgid "Sorting successful."
|
345 |
msgstr "Ordinamento effettuato con successo."
|
346 |
|
349 |
msgstr "Plugin attivati"
|
350 |
|
351 |
#: lib/yit-pointers.php:71
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
msgid ""
|
353 |
"From now on, you can find all plugin options in YITH Plugins menu.\n"
|
354 |
" Plugin customization settings will be "
|
355 |
"available as a new entry in YITH Plugins menu."
|
356 |
msgstr ""
|
357 |
+
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu YITH "
|
358 |
+
"Plugins.\n"
|
359 |
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu "
|
360 |
+
"YITH Plugins."
|
361 |
|
362 |
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
363 |
msgid "Discover all our plugins available on:"
|
372 |
msgstr "Plugin aggiornati"
|
373 |
|
374 |
#: lib/yit-pointers.php:85
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
msgid ""
|
376 |
"From now on, you can find the option panel of YITH plugins in YITH Plugins "
|
377 |
"menu.\n"
|
383 |
" will be moved from previous location to "
|
384 |
"YITH Plugins tab."
|
385 |
msgstr ""
|
386 |
+
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu YITH "
|
387 |
+
"Plugins.\n"
|
388 |
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in "
|
389 |
"questo menu.\n"
|
390 |
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio "
|
391 |
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
392 |
+
"saranno trasferite nella scheda YITH Plugins."
|
393 |
|
394 |
+
#: lib/yit-upgrade.php:95
|
|
|
|
|
395 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
396 |
+
msgstr "Si è verificato un errore inaspettato, riprova più tardi. Grazie!"
|
397 |
|
398 |
+
#: lib/yit-upgrade.php:190
|
399 |
msgid "There is a new version of %plugin_name% available."
|
400 |
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
401 |
|
402 |
+
#: lib/yit-upgrade.php:191
|
403 |
msgid "View version %latest% details."
|
404 |
msgstr "Visualizza i dettagli della versione %latest%."
|
405 |
|
406 |
+
#: lib/yit-upgrade.php:192
|
407 |
msgid "Automatic update is unavailable for this plugin,"
|
408 |
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
409 |
|
410 |
+
#: lib/yit-upgrade.php:193
|
411 |
msgid ""
|
412 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
413 |
msgstr ""
|
414 |
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
|
415 |
"%plugin_name%."
|
416 |
|
417 |
+
#: lib/yit-upgrade.php:194
|
418 |
msgid "Update now."
|
419 |
msgstr "Aggiorna adesso."
|
420 |
|
421 |
+
#: lib/yit-upgrade.php:289
|
422 |
+
msgid "You have to activate the plugin to benefit from automatic updates."
|
423 |
+
msgstr "Devi attivare il plugin per usufruire degli update automatici."
|
424 |
+
|
425 |
+
#: lib/yit-upgrade.php:311
|
426 |
msgid "YITH Repository"
|
427 |
+
msgstr "Repository YITH"
|
428 |
|
429 |
+
#: lib/yit-upgrade.php:345
|
430 |
msgid "Invalid URL Provided."
|
431 |
msgstr "L'URL inserito non è valido."
|
432 |
|
433 |
+
#: lib/yit-upgrade.php:358
|
434 |
msgid "Could not create Temporary file."
|
435 |
msgstr "Non è stato possibile creare il file temporaneo."
|
436 |
|
437 |
+
#: lib/yit-upgrade.php:531
|
438 |
+
#, php-format
|
|
|
|
|
|
|
|
|
439 |
msgid ""
|
440 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
441 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
445 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
446 |
"%4$s</a>."
|
447 |
|
448 |
+
#: lib/yit-upgrade.php:533
|
449 |
+
#, php-format
|
|
|
|
|
|
|
|
|
|
|
450 |
msgid ""
|
451 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
452 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
453 |
"%4$s details</a>. <em>You have to activate the plugin on a single site of "
|
454 |
"the network to benefit from automatic updates.</em>"
|
455 |
msgstr ""
|
456 |
+
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
457 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
458 |
"%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
|
459 |
"necessario attivare il plugin su un solo sito.</em>"
|
460 |
|
461 |
+
#: lib/yit-upgrade.php:535
|
462 |
+
#, php-format
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
msgid ""
|
464 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
465 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
470 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
471 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
472 |
"%4$s</a>. <em>Gli aggiornamenti automatici non sono disponibili per questo "
|
473 |
+
"plugin, per piacere <a href=\"%5$s\" title=\"License activation\">attiva</a> "
|
474 |
+
"la tua copia di %6s.</em>"
|
475 |
+
|
476 |
+
#: lib/yit-upgrade.php:537
|
477 |
+
#, php-format
|
|
|
|
|
|
|
|
|
478 |
msgid ""
|
479 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
480 |
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
484 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
485 |
"%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
486 |
|
487 |
+
#: lib/yit-upgrade.php:610
|
488 |
msgid "You can't update the plugins for this site."
|
489 |
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
490 |
|
491 |
+
#: lib/yit-upgrade.php:614
|
492 |
msgid ""
|
493 |
"You do not have sufficient permissions to update the plugins for this site."
|
494 |
msgstr ""
|
495 |
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
|
496 |
"in questo sito."
|
497 |
|
498 |
+
#: lib/yit-upgrade.php:621
|
499 |
msgid "Update Plugin"
|
500 |
msgstr "Aggiorna plugin"
|
501 |
|
502 |
+
#: licence/lib/yit-licence.php:186
|
503 |
#, php-format
|
504 |
msgctxt "%s = field name"
|
505 |
+
msgid "Please, insert a valid %s"
|
506 |
+
msgstr "Per favore, inserisci una %s valida"
|
507 |
|
508 |
+
#: licence/lib/yit-licence.php:187
|
509 |
#, php-format
|
510 |
+
msgid "Please, insert a valid %s and a valid %s"
|
511 |
+
msgstr "Per favore, inserire una %s valida ed una %s valida"
|
512 |
|
513 |
+
#: licence/lib/yit-licence.php:188
|
514 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
515 |
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
516 |
|
517 |
+
#: licence/lib/yit-licence.php:189
|
518 |
+
msgid "email address"
|
519 |
+
msgstr "email"
|
520 |
+
|
521 |
#: licence/lib/yit-licence.php:190
|
522 |
+
msgid "license key"
|
523 |
+
msgstr "chiave di licenza"
|
|
|
|
|
|
|
524 |
|
525 |
#: licence/lib/yit-licence.php:191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
msgid "Are you sure you want to deactivate the license for current site?"
|
527 |
msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
|
528 |
|
529 |
+
#: licence/lib/yit-licence.php:734
|
530 |
msgid "Invalid Request"
|
531 |
msgstr "Richiesta non valida"
|
532 |
|
533 |
+
#: licence/lib/yit-licence.php:735
|
534 |
msgid "Invalid license key"
|
535 |
msgstr "Chiave di licenza non valida"
|
536 |
|
537 |
+
#: licence/lib/yit-licence.php:736
|
538 |
msgid "Software has been deactivated"
|
539 |
msgstr "Il software è stato disattivato"
|
540 |
|
541 |
+
#: licence/lib/yit-licence.php:737
|
542 |
msgid "Maximum number of activations exceeded"
|
543 |
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
544 |
|
545 |
+
#: licence/lib/yit-licence.php:738
|
546 |
msgid "Invalid instance ID"
|
547 |
msgstr "Istanza ID non valida"
|
548 |
|
549 |
+
#: licence/lib/yit-licence.php:739
|
550 |
msgid "Invalid security key"
|
551 |
msgstr "Chiave di sicurezza non valida"
|
552 |
|
553 |
+
#: licence/lib/yit-licence.php:740
|
554 |
msgid "License key has expired"
|
555 |
msgstr "La chiave di licenza è scaduta"
|
556 |
|
557 |
+
#: licence/lib/yit-licence.php:741
|
558 |
msgid "License key has been banned"
|
559 |
msgstr "La chiave di licenza è stata bloccata"
|
560 |
|
561 |
+
#: licence/lib/yit-licence.php:742
|
562 |
msgid "Current product is not included in your YITH Club Subscription key"
|
563 |
msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
|
564 |
|
565 |
+
#: licence/lib/yit-licence.php:743
|
566 |
msgid "Great"
|
567 |
msgstr "Grande!"
|
568 |
|
569 |
+
#: licence/lib/yit-licence.php:743
|
570 |
msgid "License successfully activated"
|
571 |
msgstr "Licenza attivata con successo"
|
572 |
|
573 |
+
#: licence/lib/yit-licence.php:744
|
574 |
msgid "License key deactivated for website"
|
575 |
msgstr "Chiave di licenza disattivata per il sito web"
|
576 |
|
594 |
"acquistato diverso tempo fa. Dove posso trovarla?"
|
595 |
|
596 |
#: licence/lib/yit-theme-licence.php:163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
597 |
msgid ""
|
598 |
"If you have purchased one of our products before 27 January 2015, you can "
|
599 |
"benefit from support and updates (the services offered with the license)\n"
|
614 |
"Dopo il 27 gennaio 2016, invece, se vorrai usufruire di supporto e "
|
615 |
"aggiornamenti dovrai acquistare una nuova licenza e attivarla con il codice "
|
616 |
"che ti verrà\n"
|
617 |
+
"fornito e che puoi trovare nella tua area riservata su YITH, nella sezione "
|
618 |
+
"\"My licenses\"."
|
619 |
|
620 |
+
#: licence/templates/panel/activation/activation-panel.php:24
|
|
|
|
|
621 |
msgid "YITH License Activation"
|
622 |
+
msgstr "Attivazione licenza YITH"
|
623 |
|
624 |
+
#: licence/templates/panel/activation/activation-panel.php:28
|
625 |
msgid ""
|
626 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
627 |
"information concerning your products."
|
629 |
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
|
630 |
"informazioni dei tuoi prodotti."
|
631 |
|
632 |
+
#: licence/templates/panel/activation/activation-panel.php:30
|
633 |
msgid "Update license information"
|
634 |
msgstr "Aggiorna informazioni licenza"
|
635 |
|
636 |
+
#: licence/templates/panel/activation/activation-panel.php:43
|
637 |
msgid "Product to activate"
|
638 |
msgid_plural "Products to activate"
|
639 |
msgstr[0] "Prodotto da attivare"
|
640 |
msgstr[1] "Prodotti da attivare"
|
641 |
|
642 |
+
#: licence/templates/panel/activation/activation-panel.php:65
|
643 |
msgid "Activate"
|
644 |
msgstr "Attiva"
|
645 |
|
646 |
+
#: licence/templates/panel/activation/activation-panel.php:84
|
647 |
msgid "Activated"
|
648 |
msgstr "Attivato"
|
649 |
|
650 |
+
#: licence/templates/panel/activation/activation-panel.php:90
|
651 |
+
#: licence/templates/panel/activation/activation-panel.php:168
|
652 |
+
#: licence/templates/panel/activation/activation-panel.php:198
|
653 |
msgid "Product Name"
|
654 |
msgstr "Nome prodotto"
|
655 |
|
656 |
#: licence/templates/panel/activation/activation-panel.php:92
|
657 |
+
#: licence/templates/panel/activation/activation-panel.php:170
|
658 |
#: licence/templates/panel/activation/activation-panel.php:201
|
659 |
+
msgid "Email"
|
660 |
+
msgstr "Email"
|
661 |
+
|
662 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
663 |
+
#: licence/templates/panel/activation/activation-panel.php:171
|
664 |
+
#: licence/templates/panel/activation/activation-panel.php:202
|
665 |
+
msgid "License Key"
|
666 |
+
msgstr "Chiave di licenza"
|
667 |
+
|
668 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
669 |
+
#: licence/templates/panel/activation/activation-panel.php:205
|
670 |
msgid "Expires"
|
671 |
msgstr "Scadenza"
|
672 |
|
673 |
+
#: licence/templates/panel/activation/activation-panel.php:99
|
674 |
msgid "Remaining"
|
675 |
msgstr "Tempo rimanente"
|
676 |
|
677 |
+
#: licence/templates/panel/activation/activation-panel.php:101
|
678 |
msgid "Club Subscription"
|
679 |
msgstr "Club Subscription"
|
680 |
|
681 |
+
#: licence/templates/panel/activation/activation-panel.php:105
|
682 |
msgid "License Actions"
|
683 |
msgstr "Azioni licenza"
|
684 |
|
685 |
+
#: licence/templates/panel/activation/activation-panel.php:130
|
686 |
#, php-format
|
687 |
msgid "%1s out of %2s"
|
688 |
msgstr "%1s di %2s"
|
689 |
|
690 |
+
#: licence/templates/panel/activation/activation-panel.php:146
|
691 |
msgid "Deactivate"
|
692 |
msgstr "Disattiva"
|
693 |
|
694 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
695 |
+
#: licence/templates/panel/activation/activation-panel.php:208
|
696 |
msgid "Renew"
|
697 |
msgstr "Rinnova"
|
698 |
|
699 |
+
#: licence/templates/panel/activation/activation-panel.php:164
|
700 |
msgid "Banned"
|
701 |
msgstr "Bloccato"
|
702 |
|
703 |
+
#: licence/templates/panel/activation/activation-panel.php:194
|
704 |
msgid "Expired"
|
705 |
msgstr "Non più valido"
|
706 |
|
707 |
+
#: licence/templates/panel/activation/activation-panel.php:230
|
708 |
msgid "Order again"
|
709 |
msgstr "Acquista di nuovo"
|
710 |
|
711 |
+
#: licence/templates/panel/activation/activation-panel.php:232
|
712 |
msgid "Renew license"
|
713 |
msgstr "Rinnova la licenza"
|
714 |
|
715 |
#: templates/fields/ajax-posts.php:57
|
|
|
|
|
716 |
msgid "Search Posts"
|
717 |
+
msgstr "Cerca articoli"
|
718 |
|
719 |
#: templates/fields/ajax-products.php:16
|
|
|
|
|
720 |
msgid "Search Product"
|
721 |
msgstr "Cerca un prodotto"
|
722 |
|
749 |
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
750 |
|
751 |
#: templates/fields/icons.php:58
|
|
|
|
|
752 |
msgid "Set Default"
|
753 |
msgstr "Ripristina impostazioni iniziali"
|
754 |
|
773 |
msgstr "Rimuovi"
|
774 |
|
775 |
#: templates/fields/select-buttons.php:26
|
|
|
|
|
776 |
msgid "Select All"
|
777 |
+
msgstr "Seleziona tutto"
|
778 |
|
779 |
#: templates/fields/select-buttons.php:33
|
780 |
msgid "Deselect All"
|
781 |
+
msgstr "Deseleziona tutto"
|
782 |
|
783 |
#: templates/fields/sidebars.php:22
|
784 |
msgid "Left sidebar"
|
831 |
msgid "Reset Defaults"
|
832 |
msgstr "Ripristina impostazioni iniziali"
|
833 |
|
834 |
+
#: yit-plugin.php:77
|
835 |
msgctxt "Plugin Row Meta"
|
836 |
msgid "Live Demo"
|
837 |
+
msgstr "Live Demo"
|
838 |
|
839 |
+
#: yit-plugin.php:82
|
840 |
msgctxt "Plugin Row Meta"
|
841 |
msgid "Documentation"
|
842 |
+
msgstr "Documentazione"
|
843 |
|
844 |
+
#: yit-plugin.php:87
|
845 |
msgctxt "Plugin Row Meta"
|
846 |
msgid "Support"
|
847 |
+
msgstr "Assistenza"
|
848 |
|
849 |
+
#: yit-plugin.php:92
|
|
|
|
|
850 |
msgctxt "Plugin Row Meta"
|
851 |
msgid "Premium version"
|
852 |
+
msgstr "Versione premium"
|
853 |
|
854 |
+
#: yit-plugin.php:187
|
|
|
|
|
855 |
msgctxt "Action links"
|
856 |
msgid "Settings"
|
857 |
msgstr "Impostazioni"
|
858 |
|
859 |
+
#: yit-plugin.php:191
|
|
|
|
|
860 |
msgid "License"
|
861 |
msgstr "Chiave di licenza"
|
862 |
|
863 |
+
#~ msgctxt "%s = field name"
|
864 |
+
#~ msgid "%s field cannot be empty"
|
865 |
+
#~ msgstr "Il campo %s non può essere vuoto"
|
866 |
+
|
867 |
+
#~ msgid "%s and %s fields cannot be empty"
|
868 |
+
#~ msgstr "I campi %s e %s non possono essere vuoti"
|
869 |
+
|
870 |
#~ msgid "Hide sidebar"
|
871 |
#~ msgstr "Nascondi barra laterale"
|
872 |
|
plugin-fw/languages/yith-plugin-fw.pot
CHANGED
@@ -5,7 +5,7 @@ msgid ""
|
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
7 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
-
"POT-Creation-Date: 2018-
|
9 |
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"MIME-Version: 1.0\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
-
"X-Generator: Poedit 2.
|
17 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
18 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
19 |
"esc_html_x:1,2c;_x;_ex\n"
|
@@ -255,7 +255,7 @@ msgstr ""
|
|
255 |
msgid "Upload multiple files"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: lib/yit-plugin-panel-wc.php:
|
259 |
msgid "The changes you have made will be lost if you leave this page."
|
260 |
msgstr ""
|
261 |
|
@@ -263,66 +263,66 @@ msgstr ""
|
|
263 |
msgid "Plugin Settings"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: lib/yit-plugin-panel.php:
|
267 |
msgid "How to install premium version"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: lib/yit-plugin-panel.php:
|
271 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
272 |
msgid "Save Changes"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: lib/yit-plugin-panel.php:
|
276 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
277 |
msgid "If you continue with this action, you will reset all options in this page."
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: lib/yit-plugin-panel.php:
|
281 |
msgid "Reset to default"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: lib/yit-plugin-panel.php:
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
286 |
msgid "Are you sure?"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: lib/yit-plugin-panel.php:
|
290 |
msgid "The element you have entered already exists. Please, enter another name."
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: lib/yit-plugin-panel.php:
|
294 |
msgid "Settings saved"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: lib/yit-plugin-panel.php:
|
298 |
msgid "Settings reset"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: lib/yit-plugin-panel.php:
|
302 |
msgid "Element deleted correctly."
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: lib/yit-plugin-panel.php:
|
306 |
msgid "Element updated correctly."
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: lib/yit-plugin-panel.php:
|
310 |
msgid "Database imported correctly."
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: lib/yit-plugin-panel.php:
|
314 |
msgid "An error has occurred during import. Please try again."
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: lib/yit-plugin-panel.php:
|
318 |
msgid "The added file is not valid."
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: lib/yit-plugin-panel.php:
|
322 |
msgid "Sorry, import is disabled."
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: lib/yit-plugin-panel.php:
|
326 |
msgid "Sorting successful."
|
327 |
msgstr ""
|
328 |
|
@@ -360,43 +360,47 @@ msgid ""
|
|
360 |
"Plugins tab."
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: lib/yit-upgrade.php:
|
364 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: lib/yit-upgrade.php:
|
368 |
msgid "There is a new version of %plugin_name% available."
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: lib/yit-upgrade.php:
|
372 |
msgid "View version %latest% details."
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: lib/yit-upgrade.php:
|
376 |
msgid "Automatic update is unavailable for this plugin,"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: lib/yit-upgrade.php:
|
380 |
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: lib/yit-upgrade.php:
|
384 |
msgid "Update now."
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: lib/yit-upgrade.php:
|
|
|
|
|
|
|
|
|
388 |
msgid "YITH Repository"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: lib/yit-upgrade.php:
|
392 |
msgid "Invalid URL Provided."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: lib/yit-upgrade.php:
|
396 |
msgid "Could not create Temporary file."
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: lib/yit-upgrade.php:
|
400 |
#, php-format
|
401 |
msgid ""
|
402 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -404,7 +408,7 @@ msgid ""
|
|
404 |
"details</a>."
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: lib/yit-upgrade.php:
|
408 |
#, php-format
|
409 |
msgid ""
|
410 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -413,7 +417,7 @@ msgid ""
|
|
413 |
"to benefit from automatic updates.</em>"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: lib/yit-upgrade.php:
|
417 |
#, php-format
|
418 |
msgid ""
|
419 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -422,7 +426,7 @@ msgid ""
|
|
422 |
"\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: lib/yit-upgrade.php:
|
426 |
#, php-format
|
427 |
msgid ""
|
428 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -430,96 +434,90 @@ msgid ""
|
|
430 |
"details</a> or <a href=\"%5$s\">update now</a>."
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: lib/yit-upgrade.php:
|
434 |
msgid "You can't update the plugins for this site."
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: lib/yit-upgrade.php:
|
438 |
msgid "You do not have sufficient permissions to update the plugins for this site."
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: lib/yit-upgrade.php:
|
442 |
msgid "Update Plugin"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: licence/lib/yit-licence.php:
|
446 |
#, php-format
|
447 |
msgctxt "%s = field name"
|
448 |
-
msgid "
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: licence/lib/yit-licence.php:
|
452 |
#, php-format
|
453 |
-
msgid "
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: licence/lib/yit-licence.php:
|
457 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: licence/lib/yit-licence.php:
|
461 |
-
|
462 |
-
#: licence/templates/panel/activation/activation-panel.php:166
|
463 |
-
#: licence/templates/panel/activation/activation-panel.php:197
|
464 |
-
msgid "Email"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: licence/lib/yit-licence.php:
|
468 |
-
|
469 |
-
#: licence/templates/panel/activation/activation-panel.php:167
|
470 |
-
#: licence/templates/panel/activation/activation-panel.php:198
|
471 |
-
msgid "License Key"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: licence/lib/yit-licence.php:
|
475 |
msgid "Are you sure you want to deactivate the license for current site?"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: licence/lib/yit-licence.php:
|
479 |
msgid "Invalid Request"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: licence/lib/yit-licence.php:
|
483 |
msgid "Invalid license key"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: licence/lib/yit-licence.php:
|
487 |
msgid "Software has been deactivated"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: licence/lib/yit-licence.php:
|
491 |
msgid "Maximum number of activations exceeded"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: licence/lib/yit-licence.php:
|
495 |
msgid "Invalid instance ID"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: licence/lib/yit-licence.php:
|
499 |
msgid "Invalid security key"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: licence/lib/yit-licence.php:
|
503 |
msgid "License key has expired"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: licence/lib/yit-licence.php:
|
507 |
msgid "License key has been banned"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#: licence/lib/yit-licence.php:
|
511 |
msgid "Current product is not included in your YITH Club Subscription key"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: licence/lib/yit-licence.php:
|
515 |
msgid "Great"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: licence/lib/yit-licence.php:
|
519 |
msgid "License successfully activated"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: licence/lib/yit-licence.php:
|
523 |
msgid "License key deactivated for website"
|
524 |
msgstr ""
|
525 |
|
@@ -554,84 +552,96 @@ msgid ""
|
|
554 |
"section \"My licenses\"."
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
558 |
msgid "YITH License Activation"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
562 |
msgid ""
|
563 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
564 |
"information concerning your products."
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
568 |
msgid "Update license information"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
572 |
msgid "Product to activate"
|
573 |
msgid_plural "Products to activate"
|
574 |
msgstr[0] ""
|
575 |
msgstr[1] ""
|
576 |
|
577 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
578 |
msgid "Activate"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
582 |
msgid "Activated"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
586 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
587 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
588 |
msgid "Product Name"
|
589 |
msgstr ""
|
590 |
|
591 |
#: licence/templates/panel/activation/activation-panel.php:92
|
|
|
592 |
#: licence/templates/panel/activation/activation-panel.php:201
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
593 |
msgid "Expires"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
597 |
msgid "Remaining"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
601 |
msgid "Club Subscription"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
605 |
msgid "License Actions"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
609 |
#, php-format
|
610 |
msgid "%1s out of %2s"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
614 |
msgid "Deactivate"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
618 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
619 |
msgid "Renew"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
623 |
msgid "Banned"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
627 |
msgid "Expired"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
631 |
msgid "Order again"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: licence/templates/panel/activation/activation-panel.php:
|
635 |
msgid "Renew license"
|
636 |
msgstr ""
|
637 |
|
@@ -754,31 +764,31 @@ msgstr ""
|
|
754 |
msgid "Reset Defaults"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: yit-plugin.php:
|
758 |
msgctxt "Plugin Row Meta"
|
759 |
msgid "Live Demo"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: yit-plugin.php:
|
763 |
msgctxt "Plugin Row Meta"
|
764 |
msgid "Documentation"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: yit-plugin.php:
|
768 |
msgctxt "Plugin Row Meta"
|
769 |
msgid "Support"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: yit-plugin.php:
|
773 |
msgctxt "Plugin Row Meta"
|
774 |
msgid "Premium version"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: yit-plugin.php:
|
778 |
msgctxt "Action links"
|
779 |
msgid "Settings"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: yit-plugin.php:
|
783 |
msgid "License"
|
784 |
msgstr ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
7 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
+
"POT-Creation-Date: 2018-10-26 12:43+0200\n"
|
9 |
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
13 |
"MIME-Version: 1.0\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"X-Generator: Poedit 2.2\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
18 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
19 |
"esc_html_x:1,2c;_x;_ex\n"
|
255 |
msgid "Upload multiple files"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: lib/yit-plugin-panel-wc.php:384
|
259 |
msgid "The changes you have made will be lost if you leave this page."
|
260 |
msgstr ""
|
261 |
|
263 |
msgid "Plugin Settings"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: lib/yit-plugin-panel.php:335 lib/yit-plugin-panel.php:338
|
267 |
msgid "How to install premium version"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:156
|
271 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
272 |
msgid "Save Changes"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: lib/yit-plugin-panel.php:392 lib/yit-plugin-subpanel.php:159
|
276 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
277 |
msgid "If you continue with this action, you will reset all options in this page."
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: lib/yit-plugin-panel.php:394 lib/yit-plugin-subpanel.php:161
|
281 |
msgid "Reset to default"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:395 lib/yit-plugin-subpanel.php:162
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
286 |
msgid "Are you sure?"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: lib/yit-plugin-panel.php:529
|
290 |
msgid "The element you have entered already exists. Please, enter another name."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: lib/yit-plugin-panel.php:530
|
294 |
msgid "Settings saved"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: lib/yit-plugin-panel.php:531
|
298 |
msgid "Settings reset"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: lib/yit-plugin-panel.php:532
|
302 |
msgid "Element deleted correctly."
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: lib/yit-plugin-panel.php:533 lib/yit-plugin-panel.php:534
|
306 |
msgid "Element updated correctly."
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: lib/yit-plugin-panel.php:535
|
310 |
msgid "Database imported correctly."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: lib/yit-plugin-panel.php:536
|
314 |
msgid "An error has occurred during import. Please try again."
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: lib/yit-plugin-panel.php:537
|
318 |
msgid "The added file is not valid."
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: lib/yit-plugin-panel.php:538
|
322 |
msgid "Sorry, import is disabled."
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: lib/yit-plugin-panel.php:539
|
326 |
msgid "Sorting successful."
|
327 |
msgstr ""
|
328 |
|
360 |
"Plugins tab."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: lib/yit-upgrade.php:95
|
364 |
msgid "An unexpected error occurred, please try again later. Thanks!"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: lib/yit-upgrade.php:190
|
368 |
msgid "There is a new version of %plugin_name% available."
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: lib/yit-upgrade.php:191
|
372 |
msgid "View version %latest% details."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: lib/yit-upgrade.php:192
|
376 |
msgid "Automatic update is unavailable for this plugin,"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: lib/yit-upgrade.php:193
|
380 |
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: lib/yit-upgrade.php:194
|
384 |
msgid "Update now."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: lib/yit-upgrade.php:289
|
388 |
+
msgid "You have to activate the plugin to benefit from automatic updates."
|
389 |
+
msgstr ""
|
390 |
+
|
391 |
+
#: lib/yit-upgrade.php:311
|
392 |
msgid "YITH Repository"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: lib/yit-upgrade.php:345
|
396 |
msgid "Invalid URL Provided."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: lib/yit-upgrade.php:358
|
400 |
msgid "Could not create Temporary file."
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: lib/yit-upgrade.php:531
|
404 |
#, php-format
|
405 |
msgid ""
|
406 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
408 |
"details</a>."
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: lib/yit-upgrade.php:533
|
412 |
#, php-format
|
413 |
msgid ""
|
414 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
417 |
"to benefit from automatic updates.</em>"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: lib/yit-upgrade.php:535
|
421 |
#, php-format
|
422 |
msgid ""
|
423 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
426 |
"\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: lib/yit-upgrade.php:537
|
430 |
#, php-format
|
431 |
msgid ""
|
432 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
434 |
"details</a> or <a href=\"%5$s\">update now</a>."
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: lib/yit-upgrade.php:610
|
438 |
msgid "You can't update the plugins for this site."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: lib/yit-upgrade.php:614
|
442 |
msgid "You do not have sufficient permissions to update the plugins for this site."
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: lib/yit-upgrade.php:621
|
446 |
msgid "Update Plugin"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: licence/lib/yit-licence.php:186
|
450 |
#, php-format
|
451 |
msgctxt "%s = field name"
|
452 |
+
msgid "Please, insert a valid %s"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: licence/lib/yit-licence.php:187
|
456 |
#, php-format
|
457 |
+
msgid "Please, insert a valid %s and a valid %s"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: licence/lib/yit-licence.php:188
|
461 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: licence/lib/yit-licence.php:189
|
465 |
+
msgid "email address"
|
|
|
|
|
|
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: licence/lib/yit-licence.php:190
|
469 |
+
msgid "license key"
|
|
|
|
|
|
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: licence/lib/yit-licence.php:191
|
473 |
msgid "Are you sure you want to deactivate the license for current site?"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: licence/lib/yit-licence.php:734
|
477 |
msgid "Invalid Request"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: licence/lib/yit-licence.php:735
|
481 |
msgid "Invalid license key"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: licence/lib/yit-licence.php:736
|
485 |
msgid "Software has been deactivated"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: licence/lib/yit-licence.php:737
|
489 |
msgid "Maximum number of activations exceeded"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: licence/lib/yit-licence.php:738
|
493 |
msgid "Invalid instance ID"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: licence/lib/yit-licence.php:739
|
497 |
msgid "Invalid security key"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: licence/lib/yit-licence.php:740
|
501 |
msgid "License key has expired"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: licence/lib/yit-licence.php:741
|
505 |
msgid "License key has been banned"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: licence/lib/yit-licence.php:742
|
509 |
msgid "Current product is not included in your YITH Club Subscription key"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: licence/lib/yit-licence.php:743
|
513 |
msgid "Great"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: licence/lib/yit-licence.php:743
|
517 |
msgid "License successfully activated"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: licence/lib/yit-licence.php:744
|
521 |
msgid "License key deactivated for website"
|
522 |
msgstr ""
|
523 |
|
552 |
"section \"My licenses\"."
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: licence/templates/panel/activation/activation-panel.php:24
|
556 |
msgid "YITH License Activation"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: licence/templates/panel/activation/activation-panel.php:28
|
560 |
msgid ""
|
561 |
"Have you updated your licenses? Have you asked for an extension? Update "
|
562 |
"information concerning your products."
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: licence/templates/panel/activation/activation-panel.php:30
|
566 |
msgid "Update license information"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: licence/templates/panel/activation/activation-panel.php:43
|
570 |
msgid "Product to activate"
|
571 |
msgid_plural "Products to activate"
|
572 |
msgstr[0] ""
|
573 |
msgstr[1] ""
|
574 |
|
575 |
+
#: licence/templates/panel/activation/activation-panel.php:65
|
576 |
msgid "Activate"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: licence/templates/panel/activation/activation-panel.php:84
|
580 |
msgid "Activated"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: licence/templates/panel/activation/activation-panel.php:90
|
584 |
+
#: licence/templates/panel/activation/activation-panel.php:168
|
585 |
+
#: licence/templates/panel/activation/activation-panel.php:198
|
586 |
msgid "Product Name"
|
587 |
msgstr ""
|
588 |
|
589 |
#: licence/templates/panel/activation/activation-panel.php:92
|
590 |
+
#: licence/templates/panel/activation/activation-panel.php:170
|
591 |
#: licence/templates/panel/activation/activation-panel.php:201
|
592 |
+
msgid "Email"
|
593 |
+
msgstr ""
|
594 |
+
|
595 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
596 |
+
#: licence/templates/panel/activation/activation-panel.php:171
|
597 |
+
#: licence/templates/panel/activation/activation-panel.php:202
|
598 |
+
msgid "License Key"
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
602 |
+
#: licence/templates/panel/activation/activation-panel.php:205
|
603 |
msgid "Expires"
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: licence/templates/panel/activation/activation-panel.php:99
|
607 |
msgid "Remaining"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: licence/templates/panel/activation/activation-panel.php:101
|
611 |
msgid "Club Subscription"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: licence/templates/panel/activation/activation-panel.php:105
|
615 |
msgid "License Actions"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: licence/templates/panel/activation/activation-panel.php:130
|
619 |
#, php-format
|
620 |
msgid "%1s out of %2s"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: licence/templates/panel/activation/activation-panel.php:146
|
624 |
msgid "Deactivate"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
628 |
+
#: licence/templates/panel/activation/activation-panel.php:208
|
629 |
msgid "Renew"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: licence/templates/panel/activation/activation-panel.php:164
|
633 |
msgid "Banned"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: licence/templates/panel/activation/activation-panel.php:194
|
637 |
msgid "Expired"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: licence/templates/panel/activation/activation-panel.php:230
|
641 |
msgid "Order again"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: licence/templates/panel/activation/activation-panel.php:232
|
645 |
msgid "Renew license"
|
646 |
msgstr ""
|
647 |
|
764 |
msgid "Reset Defaults"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: yit-plugin.php:77
|
768 |
msgctxt "Plugin Row Meta"
|
769 |
msgid "Live Demo"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: yit-plugin.php:82
|
773 |
msgctxt "Plugin Row Meta"
|
774 |
msgid "Documentation"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: yit-plugin.php:87
|
778 |
msgctxt "Plugin Row Meta"
|
779 |
msgid "Support"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: yit-plugin.php:92
|
783 |
msgctxt "Plugin Row Meta"
|
784 |
msgid "Premium version"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: yit-plugin.php:187
|
788 |
msgctxt "Action links"
|
789 |
msgid "Settings"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: yit-plugin.php:191
|
793 |
msgid "License"
|
794 |
msgstr ""
|
plugin-fw/lib/promo/yith-promo.php
CHANGED
@@ -8,123 +8,160 @@
|
|
8 |
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
*/
|
10 |
|
11 |
-
if(
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
-
if ( $
|
39 |
-
|
40 |
-
foreach ($promo_data as $promo ){
|
41 |
-
$start_date = isset( $promo->start_date ) ? $promo->start_date : '';
|
42 |
-
$end_date = isset( $promo->end_date ) ? $promo->end_date : '';
|
43 |
-
|
44 |
-
if( ! empty( $start_date ) && ! empty( $end_date ) ){
|
45 |
-
$start_date = strtotime( $start_date );
|
46 |
-
$end_date = strtotime( $end_date );
|
47 |
-
|
48 |
-
if( $end_date >= $start_date && $now >= $start_date && $now <= $end_date ){
|
49 |
-
//is valid promo
|
50 |
-
$title = isset( $promo->title ) ? $promo->title : '';
|
51 |
-
$description = isset( $promo->description ) ? $promo->description : '';
|
52 |
-
$url = isset( $promo->link->url ) ? $promo->link->url : '';
|
53 |
-
$url_label = isset( $promo->link->label ) ? $promo->link->label : '';
|
54 |
-
$border_color = isset( $promo->style->border_color ) ? $promo->style->border_color : '';
|
55 |
-
$background_color = isset( $promo->style->background_color ) ? $promo->style->background_color : '';
|
56 |
-
$promo_id = isset( $promo->promo_id ) ? $promo->promo_id : '';
|
57 |
-
$style = $link = '';
|
58 |
-
$show_notice = false;
|
59 |
-
|
60 |
-
if( ! empty( $border_color ) ){
|
61 |
-
$style .= "border-left-color: {$border_color};";
|
62 |
-
}
|
63 |
-
|
64 |
-
if( ! empty( $background_color ) ){
|
65 |
-
$style .= "background-color: {$background_color};";
|
66 |
-
}
|
67 |
-
|
68 |
-
if( ! empty( $title ) ) {
|
69 |
-
$promo_id .= $title;
|
70 |
-
$title = sprintf( '<strong>%s</strong>: ', $title );
|
71 |
-
$show_notice = true;
|
72 |
-
}
|
73 |
-
|
74 |
-
if( ! empty( $description ) ) {
|
75 |
-
$promo_id .= $description;
|
76 |
-
$description = sprintf( '%s', $description );
|
77 |
-
$show_notice = true;
|
78 |
-
}
|
79 |
-
|
80 |
-
if( ! empty( $url ) && ! empty( $url_label )) {
|
81 |
-
$promo_id .= $url . $url_label;
|
82 |
-
$link = sprintf( '<a href="%s" target="_blank">%s</a>', $url, $url_label );
|
83 |
-
$show_notice = true;
|
84 |
-
}
|
85 |
-
|
86 |
-
$unique_promo_id = "yith-notice-" . md5 ( $promo_id );
|
87 |
-
|
88 |
-
if( ! empty( $_COOKIE[ 'hide_' . $unique_promo_id ] ) && 'yes' == $_COOKIE[ 'hide_' . $unique_promo_id ] ){
|
89 |
-
$show_notice = false;
|
90 |
-
}
|
91 |
-
|
92 |
-
if( true === $show_notice ) :
|
93 |
-
?>
|
94 |
-
<div id="<?php echo $unique_promo_id; ?>" class="yith-notice-is-dismissible notice notice-yith notice-alt is-dismissible" style="<?php echo $style; ?>" data-expiry = <?php echo $promo->end_date; ?>>
|
95 |
-
<p>
|
96 |
-
<?php printf( "%s %s %s", $title, $description, $link ); ?>
|
97 |
-
</p>
|
98 |
-
</div>
|
99 |
-
<?php endif;
|
100 |
-
}
|
101 |
-
}
|
102 |
-
}
|
103 |
}
|
104 |
-
}
|
105 |
-
}
|
106 |
-
}
|
107 |
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
115 |
}
|
|
|
116 |
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
122 |
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
126 |
|
127 |
-
|
|
|
128 |
}
|
129 |
-
|
|
|
|
|
130 |
}
|
8 |
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
*/
|
10 |
|
11 |
+
if( ! function_exists( 'simplexml_load_string' ) ){
|
12 |
+
return false;
|
13 |
+
}
|
14 |
+
|
15 |
+
add_action( 'admin_notices', 'yith_plugin_fw_promo_notices', 15 );
|
16 |
+
add_action( 'admin_enqueue_scripts', 'yith_plugin_fw_notice_dismiss', 20 );
|
17 |
+
|
18 |
+
if( ! function_exists( 'yith_plugin_fw_promo_notices' ) ){
|
19 |
+
function yith_plugin_fw_promo_notices(){
|
20 |
+
$base_url = apply_filters( 'yith_plugin_fw_promo_base_url', 'https://update.yithemes.com/promo/' );;
|
21 |
+
$xml = apply_filters( 'yith_plugin_fw_promo_xml_url', $base_url . 'yith-promo.xml' );
|
22 |
+
$transient = "yith_promo_message";
|
23 |
+
$remote_data = get_site_transient( $transient );
|
24 |
+
$regenerate_promo_transient = isset( $_GET['yith_regenerate_promo_transient'] ) && 'yes' == $_GET['yith_regenerate_promo_transient'] ? $_GET['yith_regenerate_promo_transient'] : '';
|
25 |
+
$promo_data = false;
|
26 |
+
$create_transient = false;
|
27 |
+
|
28 |
+
if( false === $remote_data || apply_filters( 'yith_plugin_fw_force_regenerate_promo_transient', false ) || 'yes' == $regenerate_promo_transient ){
|
29 |
+
$remote_data = wp_remote_get( $xml );
|
30 |
+
$create_transient = true;
|
31 |
+
}
|
32 |
+
|
33 |
+
if ( ! is_wp_error( $remote_data ) && isset( $remote_data['response']['code'] ) && '200' == $remote_data['response']['code'] ) {
|
34 |
+
$promo_data = @simplexml_load_string( $remote_data['body'] );
|
35 |
+
|
36 |
+
if( true === $create_transient ){
|
37 |
+
$is_membership_user = false;
|
38 |
+
$license = YIT_Plugin_Licence()->get_licence();
|
39 |
+
$xml_expiry_date = '';
|
40 |
+
|
41 |
+
if( is_array( $license ) ){
|
42 |
+
foreach( $license as $plugin => $data ){
|
43 |
+
if( ! empty( $data['is_membership'] ) ){
|
44 |
+
$is_membership_user = true;
|
45 |
+
$xml_expiry_date = $data['licence_expires'];
|
46 |
+
$remote_data = $promo_data = array();
|
47 |
+
break;
|
48 |
+
}
|
49 |
+
}
|
50 |
}
|
51 |
|
52 |
+
if( empty( $is_membership_user ) && ! empty( $promo_data->expiry_date ) ){
|
53 |
+
$xml_expiry_date = $promo_data->expiry_date;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
|
|
|
|
|
|
55 |
|
56 |
+
//Set Site Transient
|
57 |
+
set_site_transient( $transient, $remote_data, yith_plugin_fw_get_promo_transient_expiry_date( $xml_expiry_date ) );
|
58 |
+
}
|
59 |
+
|
60 |
+
if ( $promo_data && ! empty( $promo_data->promo ) ) {
|
61 |
+
$now = strtotime( current_time( 'mysql' ) );
|
62 |
+
|
63 |
+
foreach ($promo_data->promo as $promo ){
|
64 |
+
$start_date = isset( $promo->start_date ) ? $promo->start_date : '';
|
65 |
+
$end_date = isset( $promo->end_date ) ? $promo->end_date : '';
|
66 |
+
|
67 |
+
if( ! empty( $start_date ) && ! empty( $end_date ) ){
|
68 |
+
$start_date = strtotime( $start_date );
|
69 |
+
$end_date = strtotime( $end_date );
|
70 |
+
|
71 |
+
if( $end_date >= $start_date && $now >= $start_date && $now <= $end_date ){
|
72 |
+
//is valid promo
|
73 |
+
$title = isset( $promo->title ) ? $promo->title : '';
|
74 |
+
$description = isset( $promo->description ) ? $promo->description : '';
|
75 |
+
$url = isset( $promo->link->url ) ? $promo->link->url : '';
|
76 |
+
$url_label = isset( $promo->link->label ) ? $promo->link->label : '';
|
77 |
+
$image_bg_color = isset( $promo->style->image_bg_color ) ? $promo->style->image_bg_color : '';
|
78 |
+
$border_color = isset( $promo->style->border_color ) ? $promo->style->border_color : '';
|
79 |
+
$background_color = isset( $promo->style->background_color ) ? $promo->style->background_color : '';
|
80 |
+
$promo_id = isset( $promo->promo_id ) ? $promo->promo_id : '';
|
81 |
+
$banner = isset( $promo->banner ) ? $promo->banner : '';
|
82 |
+
$style = $link = '';
|
83 |
+
$show_notice = false;
|
84 |
+
|
85 |
+
if( ! empty( $border_color ) ){
|
86 |
+
$style .= "border-left-color: {$border_color};";
|
87 |
+
}
|
88 |
+
|
89 |
+
if( ! empty( $background_color ) ){
|
90 |
+
$style .= "background-color: {$background_color};";
|
91 |
+
}
|
92 |
+
|
93 |
+
if( ! empty( $image_bg_color ) ){
|
94 |
+
$image_bg_color = "background-color: {$image_bg_color};";
|
95 |
+
}
|
96 |
+
|
97 |
+
if( ! empty( $title ) ) {
|
98 |
+
$promo_id .= $title;
|
99 |
+
$title = sprintf( '<strong>%s</strong>: ', $title );
|
100 |
+
$show_notice = true;
|
101 |
+
}
|
102 |
+
|
103 |
+
if( ! empty( $description ) ) {
|
104 |
+
$promo_id .= $description;
|
105 |
+
$description = sprintf( '%s', $description );
|
106 |
+
$show_notice = true;
|
107 |
+
}
|
108 |
+
|
109 |
+
if( ! empty( $url ) && ! empty( $url_label )) {
|
110 |
+
$promo_id .= $url . $url_label;
|
111 |
+
$link = sprintf( '<a href="%s" target="_blank">%s</a>', $url, $url_label );
|
112 |
+
$show_notice = true;
|
113 |
+
}
|
114 |
+
|
115 |
+
if( ! empty( $banner ) ){
|
116 |
+
$banner = sprintf( '<img src="%s" class="yith-promo-banner-image">', $base_url . $banner );
|
117 |
+
|
118 |
+
if( ! empty( $url ) ){
|
119 |
+
$banner = sprintf( '<a class="yith-promo-banner-image-link" href="%s" target="_blank" style="%s">%s</a>', $url, $image_bg_color, $banner);
|
120 |
+
}
|
121 |
+
}
|
122 |
+
|
123 |
+
$unique_promo_id = "yith-notice-" . md5 ( $promo_id );
|
124 |
+
|
125 |
+
if( ! empty( $_COOKIE[ 'hide_' . $unique_promo_id ] ) && 'yes' == $_COOKIE[ 'hide_' . $unique_promo_id ] ){
|
126 |
+
$show_notice = false;
|
127 |
+
}
|
128 |
+
|
129 |
+
if ( true === $show_notice ) :
|
130 |
+
wp_enqueue_script( 'yith-promo' );
|
131 |
+
?>
|
132 |
+
<div id="<?php echo $unique_promo_id; ?>" class="yith-notice-is-dismissible notice notice-yith notice-alt is-dismissible" style="<?php echo $style; ?>" data-expiry= <?php echo $promo->end_date; ?>>
|
133 |
+
<p>
|
134 |
+
<?php if( ! empty( $banner ) ) { printf( '%s', $banner ); } ?>
|
135 |
+
<?php printf( "%s %s %s", $title, $description, $link ); ?>
|
136 |
+
</p>
|
137 |
+
</div>
|
138 |
+
<?php endif;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
}
|
142 |
+
}
|
143 |
}
|
144 |
}
|
145 |
+
}
|
146 |
|
147 |
+
if( ! function_exists( 'yith_plugin_fw_notice_dismiss' ) ){
|
148 |
+
function yith_plugin_fw_notice_dismiss(){
|
149 |
+
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
150 |
+
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
151 |
+
wp_register_script( 'yith-promo', $script_path . '/assets/js/yith-promo' . $suffix . '.js', array( 'jquery' ), '1.0.0', true );
|
152 |
+
}
|
153 |
+
}
|
154 |
|
155 |
+
if( ! function_exists( 'yith_plugin_fw_get_promo_transient_expiry_date' ) ){
|
156 |
+
function yith_plugin_fw_get_promo_transient_expiry_date( $expiry_date ) {
|
157 |
+
$xml_expiry_date = ! empty( $expiry_date ) ? $expiry_date : '+24 hours';
|
158 |
+
$current = strtotime( current_time( 'Y-m-d H:i:s' ) );
|
159 |
+
$expiry_date = strtotime( $xml_expiry_date, $current );
|
160 |
|
161 |
+
if( $expiry_date <= $current ){
|
162 |
+
$expiry_date = strtotime( '+24 hours', $current );
|
163 |
}
|
164 |
+
|
165 |
+
return $expiry_date;
|
166 |
+
}
|
167 |
}
|
plugin-fw/lib/yit-plugin-panel.php
CHANGED
@@ -158,7 +158,7 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
158 |
|
159 |
// YITH text must not be translated
|
160 |
if ( !!$show ) {
|
161 |
-
add_menu_page( 'yith_plugin_panel', 'YITH', $capability, 'yith_plugin_panel', null,
|
162 |
$admin_page_hooks[ 'yith_plugin_panel' ] = 'yith-plugins'; // prevent issues for backward compatibility
|
163 |
}
|
164 |
}
|
158 |
|
159 |
// YITH text must not be translated
|
160 |
if ( !!$show ) {
|
161 |
+
add_menu_page( 'yith_plugin_panel', 'YITH', $capability, 'yith_plugin_panel', null, yith_plugin_fw_get_default_logo(), $position );
|
162 |
$admin_page_hooks[ 'yith_plugin_panel' ] = 'yith-plugins'; // prevent issues for backward compatibility
|
163 |
}
|
164 |
}
|
plugin-fw/lib/yit-plugin-subpanel.php
CHANGED
@@ -88,7 +88,7 @@ if ( !class_exists( 'YIT_Plugin_SubPanel' ) ) {
|
|
88 |
*/
|
89 |
public function add_setting_page() {
|
90 |
global $admin_page_hooks;
|
91 |
-
$logo =
|
92 |
|
93 |
$admin_logo = function_exists( 'yit_get_option' ) ? yit_get_option( 'admin-logo-menu' ) : '';
|
94 |
|
88 |
*/
|
89 |
public function add_setting_page() {
|
90 |
global $admin_page_hooks;
|
91 |
+
$logo = yith_plugin_fw_get_default_logo();
|
92 |
|
93 |
$admin_logo = function_exists( 'yit_get_option' ) ? yit_get_option( 'admin-logo-menu' ) : '';
|
94 |
|
plugin-fw/lib/yit-upgrade.php
CHANGED
@@ -236,12 +236,23 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
236 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
237 |
*/
|
238 |
public function upgrader_pre_download( $reply, $package, $upgrader ) {
|
239 |
-
$plugin
|
240 |
-
$is_bulk
|
|
|
241 |
|
242 |
-
if ( ! $is_bulk ) {
|
|
|
243 |
$plugin = isset( $upgrader->skin->plugin ) ? $upgrader->skin->plugin : false;
|
244 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
//Bulk action upgrade
|
246 |
$action_url = parse_url( $upgrader->skin->options['url'] );
|
247 |
parse_str( rawurldecode( htmlspecialchars_decode( $action_url['query'] ) ), $output );
|
@@ -273,6 +284,11 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
273 |
|
274 |
$licence = YIT_Plugin_Licence()->get_licence();
|
275 |
$product_id = $plugin_info['product_id'];
|
|
|
|
|
|
|
|
|
|
|
276 |
$args = array(
|
277 |
'email' => $licence[ $product_id ]['email'],
|
278 |
'licence_key' => $licence[ $product_id ]['licence_key'],
|
@@ -326,7 +342,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
326 |
|
327 |
//WARNING: The file is not automatically deleted, The script must unlink() the file.
|
328 |
if ( ! $url ) {
|
329 |
-
return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.', '
|
330 |
}
|
331 |
|
332 |
$tmpfname = wp_tempnam( $url );
|
@@ -339,7 +355,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
339 |
);
|
340 |
|
341 |
if ( ! $tmpfname ) {
|
342 |
-
return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.', '
|
343 |
}
|
344 |
|
345 |
$response = wp_safe_remote_post( $url, $args );
|
@@ -431,12 +447,25 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
431 |
|
432 |
$package = YIT_Plugin_Licence()->check( $init ) ? $this->_package_url : null;
|
433 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
$obj = new stdClass();
|
435 |
$obj->slug = (string) $init;
|
436 |
$obj->new_version = (string) $plugin_remote_info->latest;
|
437 |
$obj->changelog = (string) $plugin_remote_info->changelog;
|
438 |
$obj->package = $package;
|
439 |
$obj->plugin = $init;
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
$transient->response[ $init ] = $obj;
|
441 |
}
|
442 |
|
236 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
237 |
*/
|
238 |
public function upgrader_pre_download( $reply, $package, $upgrader ) {
|
239 |
+
$plugin = false;
|
240 |
+
$is_bulk = $upgrader->skin instanceof Bulk_Plugin_Upgrader_Skin;
|
241 |
+
$is_bulk_ajax = $upgrader->skin instanceof WP_Ajax_Upgrader_Skin;
|
242 |
|
243 |
+
if ( ! $is_bulk && ! $is_bulk_ajax ) {
|
244 |
+
//Bulk Action: Support for old WordPress Version
|
245 |
$plugin = isset( $upgrader->skin->plugin ) ? $upgrader->skin->plugin : false;
|
246 |
+
}
|
247 |
+
|
248 |
+
elseif( $is_bulk_ajax ){
|
249 |
+
//Bulk Update for WordPress 4.9 or greater
|
250 |
+
if( ! empty( $_POST['plugin'] ) ){
|
251 |
+
$plugin = plugin_basename( sanitize_text_field( wp_unslash( $_POST['plugin'] ) ) );
|
252 |
+
}
|
253 |
+
}
|
254 |
+
|
255 |
+
else {
|
256 |
//Bulk action upgrade
|
257 |
$action_url = parse_url( $upgrader->skin->options['url'] );
|
258 |
parse_str( rawurldecode( htmlspecialchars_decode( $action_url['query'] ) ), $output );
|
284 |
|
285 |
$licence = YIT_Plugin_Licence()->get_licence();
|
286 |
$product_id = $plugin_info['product_id'];
|
287 |
+
|
288 |
+
if( empty( $licence[ $product_id ] ) ){
|
289 |
+
return new WP_Error( 'license_not_valid', __( 'You have to activate the plugin to benefit from automatic updates.', '[Update Plugin Message: License not enabled]', 'yith-plugin-fw' ) );
|
290 |
+
}
|
291 |
+
|
292 |
$args = array(
|
293 |
'email' => $licence[ $product_id ]['email'],
|
294 |
'licence_key' => $licence[ $product_id ]['licence_key'],
|
342 |
|
343 |
//WARNING: The file is not automatically deleted, The script must unlink() the file.
|
344 |
if ( ! $url ) {
|
345 |
+
return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.', 'yith-plugin-fw' ) );
|
346 |
}
|
347 |
|
348 |
$tmpfname = wp_tempnam( $url );
|
355 |
);
|
356 |
|
357 |
if ( ! $tmpfname ) {
|
358 |
+
return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.', 'yith-plugin-fw' ) );
|
359 |
}
|
360 |
|
361 |
$response = wp_safe_remote_post( $url, $args );
|
447 |
|
448 |
$package = YIT_Plugin_Licence()->check( $init ) ? $this->_package_url : null;
|
449 |
|
450 |
+
$tested_up_to = (string) str_replace( '.x', '', $plugin_remote_info->{"up-to"} );
|
451 |
+
$tested_up_to = preg_replace( '/-.*$/', '', $tested_up_to );
|
452 |
+
$wp_version = preg_replace( '/-.*$/', '', get_bloginfo( 'version' ) );
|
453 |
+
|
454 |
+
if( strpos( $wp_version, $tested_up_to ) !== false ){
|
455 |
+
$tested_up_to = $wp_version;
|
456 |
+
}
|
457 |
$obj = new stdClass();
|
458 |
$obj->slug = (string) $init;
|
459 |
$obj->new_version = (string) $plugin_remote_info->latest;
|
460 |
$obj->changelog = (string) $plugin_remote_info->changelog;
|
461 |
$obj->package = $package;
|
462 |
$obj->plugin = $init;
|
463 |
+
$obj->tested = $tested_up_to;
|
464 |
+
|
465 |
+
if( ! empty( $plugin_remote_info->icons ) ){
|
466 |
+
$obj->icons = (array) $plugin_remote_info->icons;
|
467 |
+
}
|
468 |
+
|
469 |
$transient->response[ $init ] = $obj;
|
470 |
}
|
471 |
|
plugin-fw/lib/yith-gutenberg.php
ADDED
@@ -0,0 +1,321 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* This file belongs to the YIT Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Text Domain: yith-plugin-fw
|
13 |
+
*/
|
14 |
+
|
15 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
16 |
+
exit;
|
17 |
+
} // Exit if accessed directly
|
18 |
+
|
19 |
+
if( ! class_exists( 'YITH_Gutenberg' ) ){
|
20 |
+
|
21 |
+
class YITH_Gutenberg{
|
22 |
+
/**
|
23 |
+
* @var array Registered blocks
|
24 |
+
*/
|
25 |
+
private $_registered_blocks = array();
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @var array Blocks to register
|
29 |
+
*/
|
30 |
+
private $_to_register_blocks = array();
|
31 |
+
|
32 |
+
/**
|
33 |
+
* @var array Blocks args
|
34 |
+
*/
|
35 |
+
private $_blocks_args = array();
|
36 |
+
|
37 |
+
/**
|
38 |
+
* @var string Block category slug
|
39 |
+
*/
|
40 |
+
private $_category_slug = 'yith-blocks';
|
41 |
+
|
42 |
+
/**
|
43 |
+
* @var YIT_Upgrade The main instance
|
44 |
+
*/
|
45 |
+
protected static $_instance;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Main plugin Instance
|
49 |
+
*
|
50 |
+
* @static
|
51 |
+
* @return object Main instance
|
52 |
+
*
|
53 |
+
* @since 1.0
|
54 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
55 |
+
*/
|
56 |
+
public static function instance() {
|
57 |
+
if ( is_null( self::$_instance ) ) {
|
58 |
+
self::$_instance = new self();
|
59 |
+
}
|
60 |
+
|
61 |
+
return self::$_instance;
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* YITH_Gutenberg constructor.
|
66 |
+
*/
|
67 |
+
private function __construct() {
|
68 |
+
add_action( 'init', array( $this, 'register_blocks' ), 30 );
|
69 |
+
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
|
70 |
+
add_action( 'wp_ajax_yith_plugin_fw_gutenberg_do_shortcode', array( $this, 'do_shortcode' ) );
|
71 |
+
add_action( 'wc_ajax_yith_plugin_fw_gutenberg_do_shortcode', array( $this, 'do_shortcode' ) );
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Enqueue scripts for gutenberg
|
76 |
+
*/
|
77 |
+
public function enqueue_block_editor_assets() {
|
78 |
+
$ajax_url = function_exists( 'WC' ) ? add_query_arg( 'wc-ajax', 'yith_plugin_fw_gutenberg_do_shortcode', trailingslashit( site_url() ) ) : admin_url( 'admin-ajax.php' );
|
79 |
+
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
80 |
+
$deps = apply_filters( 'yith_plugin_fw_gutenberg_script_deps', array(
|
81 |
+
'wp-blocks',
|
82 |
+
'wp-element',
|
83 |
+
'yith-js-md5'
|
84 |
+
) );
|
85 |
+
wp_register_script( 'yith-js-md5', YIT_CORE_PLUGIN_URL . '/assets/js/javascript-md5/md5.min.js', array(), '2.10.0', true );
|
86 |
+
wp_enqueue_script( 'yith-gutenberg', YIT_CORE_PLUGIN_URL . '/assets/js/yith-gutenberg' . $suffix . '.js', $deps, yith_plugin_fw_get_version(), true );
|
87 |
+
wp_localize_script( 'yith-gutenberg', 'yith_gutenberg', $this->_blocks_args );
|
88 |
+
wp_localize_script( 'yith-gutenberg', 'yith_gutenberg_ajax', array( 'ajaxurl' => $ajax_url ) );
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Add blocks to gutenberg editor
|
93 |
+
*
|
94 |
+
* @return void
|
95 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
96 |
+
*/
|
97 |
+
public function register_blocks(){
|
98 |
+
foreach ( $this->_to_register_blocks as $block => $args ){
|
99 |
+
$block_style = isset( $args['style'] ) ? array( 'style' => $args['style'] ) : array();
|
100 |
+
if( register_block_type( "yith/{$block}", $block_style ) ){
|
101 |
+
$this->_registered_blocks[] = $block;
|
102 |
+
}
|
103 |
+
}
|
104 |
+
|
105 |
+
if( ! empty( $this->_registered_blocks ) ){
|
106 |
+
add_filter( 'block_categories', array( $this, 'block_category' ), 10, 2 );
|
107 |
+
}
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* Add block category
|
112 |
+
*
|
113 |
+
* @param $categories array block categories array
|
114 |
+
* @param $post WP_Post current post
|
115 |
+
*
|
116 |
+
* @return array block categories
|
117 |
+
*
|
118 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
119 |
+
*/
|
120 |
+
public function block_category( $categories, $post ){
|
121 |
+
return array_merge(
|
122 |
+
$categories,
|
123 |
+
array(
|
124 |
+
array(
|
125 |
+
'slug' => 'yith-blocks',
|
126 |
+
'title' => _x( 'YITH', '[gutenberg]: Category Name', 'yith-plugin-fw' ),
|
127 |
+
),
|
128 |
+
)
|
129 |
+
);
|
130 |
+
}
|
131 |
+
|
132 |
+
/**
|
133 |
+
* Add new blocks to Gutenberg
|
134 |
+
*
|
135 |
+
* @param $blocks string|array new blocks
|
136 |
+
* @return bool true if add a new blocks, false otherwise
|
137 |
+
*
|
138 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
139 |
+
*/
|
140 |
+
public function add_blocks( $blocks ){
|
141 |
+
$added = false;
|
142 |
+
if( ! empty( $blocks ) ){
|
143 |
+
$added = true;
|
144 |
+
if( is_array( $blocks ) ){
|
145 |
+
$this->_to_register_blocks = array_merge( $this->_to_register_blocks, $blocks );
|
146 |
+
}
|
147 |
+
|
148 |
+
else {
|
149 |
+
$this->_to_register_blocks[] = $blocks;
|
150 |
+
}
|
151 |
+
}
|
152 |
+
|
153 |
+
return $added;
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Return an array with the registered blocks
|
158 |
+
*
|
159 |
+
* @return array
|
160 |
+
*/
|
161 |
+
public function get_registered_blocks(){
|
162 |
+
return $this->_registered_blocks;
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Return an array with the blocks to register
|
167 |
+
*
|
168 |
+
* @return array
|
169 |
+
*/
|
170 |
+
public function get_to_register_blocks(){
|
171 |
+
return $this->_to_register_blocks;
|
172 |
+
}
|
173 |
+
|
174 |
+
/**
|
175 |
+
* Return an array with the block(s) arguments
|
176 |
+
*
|
177 |
+
* @return array
|
178 |
+
*/
|
179 |
+
public function get_block_args( $block = 'all' ){
|
180 |
+
if( 'all' == $block ){
|
181 |
+
return $this->_blocks_args;
|
182 |
+
}
|
183 |
+
|
184 |
+
elseif( isset( $this->_blocks_args[ $block ] ) ){
|
185 |
+
return $this->_blocks_args[ $block ];
|
186 |
+
}
|
187 |
+
|
188 |
+
return false;
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* @return string Default block cateogyr slug
|
193 |
+
*/
|
194 |
+
public function get_default_blocks_category_slug(){
|
195 |
+
return $this->_category_slug;
|
196 |
+
}
|
197 |
+
|
198 |
+
/**
|
199 |
+
* Set the block arguments
|
200 |
+
*
|
201 |
+
* @param $args array The block argument
|
202 |
+
*/
|
203 |
+
public function set_block_args( $args ){
|
204 |
+
foreach( $args as $block => $block_args ){
|
205 |
+
|
206 |
+
/* === Add Default Keywords === */
|
207 |
+
$default_keywords = array( 'yith' );
|
208 |
+
if( ! empty( $block_args['shortcode_name'] ) ){
|
209 |
+
$default_keywords[] = $block_args['shortcode_name'];
|
210 |
+
}
|
211 |
+
|
212 |
+
$args[ $block ]['keywords'] = ! empty( $args[ $block ]['keywords'] ) ? array_merge( $args[ $block ]['keywords'], $default_keywords ) : $default_keywords;
|
213 |
+
|
214 |
+
if( count( $args[ $block ]['keywords'] ) > 3 ){
|
215 |
+
$args[ $block ]['keywords'] = array_slice($args[ $block ]['keywords'], 0, 3);
|
216 |
+
}
|
217 |
+
|
218 |
+
if( empty( $block_args['category'] ) ){
|
219 |
+
//Add YITH block category
|
220 |
+
$args[ $block ]['category'] = $this->get_default_blocks_category_slug();
|
221 |
+
}
|
222 |
+
|
223 |
+
if( isset( $block_args['attributes'] ) ){
|
224 |
+
foreach( $block_args['attributes'] as $attr_name => $attributes ){
|
225 |
+
// Set the do_shortcode args
|
226 |
+
if( ! empty( $attributes['do_shortcode'] ) ){
|
227 |
+
$args[ $block ]['attributes'][ $attr_name ] = true;
|
228 |
+
}
|
229 |
+
|
230 |
+
if( ! empty( $attributes['options'] ) && is_array( $attributes['options'] ) ){
|
231 |
+
$options = array();
|
232 |
+
foreach( $attributes['options'] AS $v => $l ){
|
233 |
+
//Prepare options array for react component
|
234 |
+
$options[] = array(
|
235 |
+
'label' => $l,
|
236 |
+
'value' => $v,
|
237 |
+
);
|
238 |
+
}
|
239 |
+
$args[ $block ]['attributes'][ $attr_name ]['options'] = $options;
|
240 |
+
}
|
241 |
+
|
242 |
+
if( empty( $attributes['remove_quotes'] ) ){
|
243 |
+
$args[ $block ]['attributes'][ $attr_name ]['remove_quotes'] = false;
|
244 |
+
}
|
245 |
+
|
246 |
+
/* === Special Requirements for Block Type === */
|
247 |
+
if( ! empty( $attributes['type'] ) ) {
|
248 |
+
$args[ $block ]['attributes'][ $attr_name ]['blocktype'] = $attributes['type'];
|
249 |
+
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'string';
|
250 |
+
|
251 |
+
switch( $attributes['type'] ){
|
252 |
+
case 'select':
|
253 |
+
//Add default value for multiple
|
254 |
+
if( ! isset( $attributes['multiple'] ) ) {
|
255 |
+
$args[ $block ]['attributes'][ $attr_name ]['multiple'] = false;
|
256 |
+
}
|
257 |
+
break;
|
258 |
+
|
259 |
+
case 'color':
|
260 |
+
case 'colorpicker':
|
261 |
+
if( ! isset( $attributes['disableAlpha'] ) ){
|
262 |
+
//Disable alpha gradient for color picker
|
263 |
+
$args[ $block ]['attributes'][ $attr_name ]['disableAlpha'] = true;
|
264 |
+
}
|
265 |
+
break;
|
266 |
+
|
267 |
+
case 'number':
|
268 |
+
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'integer';
|
269 |
+
break;
|
270 |
+
|
271 |
+
case 'toggle':
|
272 |
+
case 'checkbox':
|
273 |
+
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'boolean';
|
274 |
+
break;
|
275 |
+
}
|
276 |
+
}
|
277 |
+
}
|
278 |
+
}
|
279 |
+
}
|
280 |
+
|
281 |
+
$this->_blocks_args = array_merge( $this->_blocks_args, $args );
|
282 |
+
}
|
283 |
+
|
284 |
+
/**
|
285 |
+
* Get a do_shortcode in ajax call to show block preview
|
286 |
+
*
|
287 |
+
* @param $args array The block argument
|
288 |
+
*/
|
289 |
+
public function do_shortcode(){
|
290 |
+
$current_action = current_action();
|
291 |
+
$sc = ! empty( $_POST['shortcode'] ) ? $_POST['shortcode'] : '';
|
292 |
+
|
293 |
+
if( ! apply_filters( 'yith_plugin_fw_gutenberg_skip_shortcode_sanitize', false ) ){
|
294 |
+
$sc = sanitize_text_field( stripslashes( $sc ) );
|
295 |
+
}
|
296 |
+
|
297 |
+
do_action( 'yith_plugin_fw_gutenberg_before_do_shortcode', $sc, $current_action );
|
298 |
+
echo do_shortcode( apply_filters( 'yith_plugin_fw_gutenberg_shortcode', $sc, $current_action ) );
|
299 |
+
do_action( 'yith_plugin_fw_gutenberg_after_do_shortcode', $sc, $current_action );
|
300 |
+
|
301 |
+
if( is_ajax() ){
|
302 |
+
die();
|
303 |
+
}
|
304 |
+
}
|
305 |
+
}
|
306 |
+
}
|
307 |
+
|
308 |
+
if ( ! function_exists( 'YITH_Gutenberg' ) ) {
|
309 |
+
/**
|
310 |
+
* Main instance of plugin
|
311 |
+
*
|
312 |
+
* @return YITH_Gutenberg
|
313 |
+
* @since 1.0
|
314 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
315 |
+
*/
|
316 |
+
function YITH_Gutenberg() {
|
317 |
+
return YITH_Gutenberg::instance();
|
318 |
+
}
|
319 |
+
}
|
320 |
+
|
321 |
+
YITH_Gutenberg();
|
plugin-fw/licence/assets/js/yit-licence.js
CHANGED
@@ -30,7 +30,12 @@
|
|
30 |
error_fields = new Array(),
|
31 |
product_row = form.find( '.product-row' ),
|
32 |
licence_activation = $( '.licence-activation' ),
|
33 |
-
spinner = $( '#products-to-active' ).find( '.spinner' )
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
/* Init Input Fields */
|
36 |
message.empty();
|
@@ -41,10 +46,18 @@
|
|
41 |
spinner.addClass( 'show' );
|
42 |
t.add( licence_activation ).prop( "disabled", true ).addClass( 'clicked' );
|
43 |
|
44 |
-
if ( '' === email_val ) {
|
45 |
error = true;
|
46 |
-
error_fields[ error_fields.length ] = licence_message.email;
|
47 |
email.addClass( 'require' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
if ( '' === licence_key_val ) {
|
@@ -157,23 +170,25 @@
|
|
157 |
},
|
158 |
success: function ( response ) {
|
159 |
message.css( 'maxWidth', activated_table.width() );
|
160 |
-
if ( false == response
|
161 |
-
|
162 |
-
licence_api();
|
163 |
-
}
|
164 |
-
|
165 |
-
if ( false == response.activated && typeof response.error != 'undefined' ) {
|
166 |
-
message.find( 'p.yith-licence-notice-message' ).html( response.error );
|
167 |
message.removeClass( 'notice-success' ).addClass( 'notice-error visible' );
|
168 |
t.add( renew ).add( deactive ).add( renew ).prop( "disabled", false ).removeClass( 'clicked' );
|
169 |
$( '#activated-products' ).find( '.spinner' ).removeClass( 'show' );
|
170 |
}
|
171 |
|
172 |
-
else
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
}
|
179 |
} );
|
30 |
error_fields = new Array(),
|
31 |
product_row = form.find( '.product-row' ),
|
32 |
licence_activation = $( '.licence-activation' ),
|
33 |
+
spinner = $( '#products-to-active' ).find( '.spinner' ),
|
34 |
+
is_mail = function( val ){
|
35 |
+
/* https://stackoverflow.com/questions/2855865/jquery-validate-e-mail-address-regex */
|
36 |
+
var re = new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i);
|
37 |
+
return re.test( val );
|
38 |
+
};
|
39 |
|
40 |
/* Init Input Fields */
|
41 |
message.empty();
|
46 |
spinner.addClass( 'show' );
|
47 |
t.add( licence_activation ).prop( "disabled", true ).addClass( 'clicked' );
|
48 |
|
49 |
+
if ( '' === email_val || ! is_mail( email_val ) ) {
|
50 |
error = true;
|
|
|
51 |
email.addClass( 'require' );
|
52 |
+
|
53 |
+
if( '' === email_val ){
|
54 |
+
error_fields[ error_fields.length ] = licence_message.email;
|
55 |
+
}
|
56 |
+
|
57 |
+
else {
|
58 |
+
error_fields[ error_fields.length ] = licence_message.email;
|
59 |
+
}
|
60 |
+
|
61 |
}
|
62 |
|
63 |
if ( '' === licence_key_val ) {
|
170 |
},
|
171 |
success: function ( response ) {
|
172 |
message.css( 'maxWidth', activated_table.width() );
|
173 |
+
if ( false == response ) {
|
174 |
+
message.find( 'p.yith-licence-notice-message' ).html( licence_message.server );
|
|
|
|
|
|
|
|
|
|
|
175 |
message.removeClass( 'notice-success' ).addClass( 'notice-error visible' );
|
176 |
t.add( renew ).add( deactive ).add( renew ).prop( "disabled", false ).removeClass( 'clicked' );
|
177 |
$( '#activated-products' ).find( '.spinner' ).removeClass( 'show' );
|
178 |
}
|
179 |
|
180 |
+
else {
|
181 |
+
if ( false == response.activated ) {
|
182 |
+
$( '.product-licence-activation' ).empty().replaceWith( response.template );
|
183 |
+
licence_api();
|
184 |
+
}
|
185 |
+
|
186 |
+
if ( typeof response.error != 'undefined' ) {
|
187 |
+
message.find( 'p.yith-licence-notice-message' ).html( response.error );
|
188 |
+
message.removeClass( 'notice-success' ).addClass( 'notice-error visible' );
|
189 |
+
t.add( renew ).add( deactive ).add( renew ).prop( "disabled", false ).removeClass( 'clicked' );
|
190 |
+
$( '#activated-products' ).find( '.spinner' ).removeClass( 'show' );
|
191 |
+
}
|
192 |
}
|
193 |
}
|
194 |
} );
|
plugin-fw/licence/assets/js/yit-licence.min.js
CHANGED
@@ -1,10 +1 @@
|
|
1 |
-
var
|
2 |
-
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,d,b,e){if(d){b=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var f=a[e];f in b||(b[f]={});b=b[f]}a=a[a.length-1];e=b[a];d=d(e);d!=e&&null!=d&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:d})}};
|
3 |
-
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
|
4 |
-
(function(a){var d=function(b){b.on("click",function(g,c){g.preventDefault();var b=a(this);g=b.data("formid");c=a("#"+g);var d=c.serialize(),e=a(c).find(".message"),h=a(c).find(".message-wrapper"),k=c.find(".user-email"),l=c.find(".licence-key"),m=c.find(".user-email").val(),t=c.find(".licence-key").val(),n=!1;g=[];var p=c.find(".product-row"),q=a(".licence-activation"),r=a("#products-to-active").find(".spinner");e.empty();h.removeClass("visible");k.removeClass("require");l.removeClass("require");
|
5 |
-
p.removeClass("error");r.addClass("show");b.add(q).prop("disabled",!0).addClass("clicked");""===m&&(n=!0,g[g.length]=licence_message.email,k.addClass("require"));""===t&&(n=!0,g[g.length]=licence_message.license_key,l.addClass("require"));if(!1===n)jQuery.ajax({type:"POST",url:ajaxurl,data:d,success:function(c){r.removeClass("show");b.add(q).prop("disabled",!1).removeClass("clicked");!0===c.activated?(a(".product-licence-activation").empty().replaceWith(c.template),f()):(!1!==c&&"undefined"!==typeof c.error?
|
6 |
-
e.text(c.error):e.text(licence_message.server),h.addClass("visible"),p.addClass("error"));"undefined"!==typeof c.debug&&console.log(c.debug)}});else{if(1==g.length)e.text(licence_message.error.replace("%field%",g[0]));else{c=licence_message.errors;for(d=0;d<g.length;d++)c=c.replace("%field_"+(d+1)+"%",g[d]),h.addClass("visible");e.text(c)}h.addClass("visible");p.addClass("error");r.removeClass("show");b.add(q).prop("disabled",!1).removeClass("clicked")}})},b=function(b){b.on("click",function(b){b.preventDefault();
|
7 |
-
b=a(this);var c=a("#licence-check-update"),d=c.serialize();b.prop("disabled",!0).addClass("clicked");c.find("div.spinner").addClass("show");jQuery.ajax({type:"POST",url:ajaxurl,data:d,success:function(c){a(".product-licence-activation").empty().replaceWith(c.template);f()}})})},e=function(b){b.on("click",function(b){b.preventDefault();if(1==(1==script_info.is_debug?!0:confirm(licence_message.are_you_sure))){var c=a(this);b=c.data("licence-key");var d=c.data("licence-email"),e=c.data("product-init"),
|
8 |
-
g=c.data("action"),h=a(".licence-renew"),k=a(".licence-deactive"),l=a("#yith-licence-notice"),m=a(".activated-table");c.add(h).add(k).prop("disabled",!0).addClass("clicked");a("#activated-products").find(".spinner").addClass("show");jQuery.ajax({type:"POST",url:ajaxurl,data:{action:g,licence_key:b,email:d,product_init:e},success:function(b){l.css("maxWidth",m.width());0==b.activated&&"undefined"==typeof b.error&&(a(".product-licence-activation").empty().replaceWith(b.template),f());0==b.activated&&
|
9 |
-
"undefined"!=typeof b.error?(l.find("p.yith-licence-notice-message").html(b.error),l.removeClass("notice-success").addClass("notice-error visible"),c.add(h).add(k).add(h).prop("disabled",!1).removeClass("clicked"),a("#activated-products").find(".spinner").removeClass("show")):0==b&&(l.find("p.yith-licence-notice-message").html(licence_message.server),l.removeClass("notice-success").addClass("notice-error visible"),c.add(h).add(k).add(h).prop("disabled",!1).removeClass("clicked"),a("#activated-products").find(".spinner").removeClass("show"))}})}})},
|
10 |
-
f=function(){var f=a(".licence-activation"),g=a(".licence-check"),c=a(".licence-deactive");d(f);b(g);e(c)};f();a("body").on("click",".yit-changelog-button",function(b){a("#TB_window").remove()})})(jQuery);
|
1 |
+
!function(e){var a=function(){var i=e(".licence-activation"),s=e(".licence-check"),d=e(".licence-deactive");i.on("click",function(i,s){i.preventDefault();var d,c=e(this),r=c.data("formid"),l=e("#"+r),u=l.serialize(),F=e(l).find(".message"),t=e(l).find(".message-wrapper"),n=l.find(".user-email"),o=l.find(".licence-key"),p=l.find(".user-email").val(),v=l.find(".licence-key").val(),C=!1,x=new Array,m=l.find(".product-row"),D=e(".licence-activation"),f=e("#products-to-active").find(".spinner");if(F.empty(),t.removeClass("visible"),n.removeClass("require"),o.removeClass("require"),m.removeClass("error"),f.addClass("show"),c.add(D).prop("disabled",!0).addClass("clicked"),""!==p&&(d=p,new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(d))||(C=!0,n.addClass("require"),x[x.length]=licence_message.email),""===v&&(C=!0,x[x.length]=licence_message.license_key,o.addClass("require")),!1===C)jQuery.ajax({type:"POST",url:ajaxurl,data:u,success:function(i){f.removeClass("show"),c.add(D).prop("disabled",!1).removeClass("clicked"),!0===i.activated?(e(".product-licence-activation").empty().replaceWith(i.template),a()):!1!==i&&void 0!==i.error?(F.text(i.error),t.addClass("visible"),m.addClass("error")):(F.text(licence_message.server),t.addClass("visible"),m.addClass("error")),void 0!==i.debug&&console.log(i.debug)}});else{if(1==x.length)F.text(licence_message.error.replace("%field%",x[0])),t.addClass("visible"),m.addClass("error");else{for(var h=licence_message.errors,b=0;b<x.length;b++)h=h.replace("%field_"+(b+1)+"%",x[b]),t.addClass("visible");F.text(h),t.addClass("visible"),m.addClass("error")}f.removeClass("show"),c.add(D).prop("disabled",!1).removeClass("clicked")}}),s.on("click",function(i){i.preventDefault();var s=e(this),d=e("#licence-check-update"),c=d.serialize();s.prop("disabled",!0).addClass("clicked"),d.find("div.spinner").addClass("show"),jQuery.ajax({type:"POST",url:ajaxurl,data:c,success:function(i){e(".product-licence-activation").empty().replaceWith(i.template),a()}})}),d.on("click",function(i){if(i.preventDefault(),1==(1==script_info.is_debug||confirm(licence_message.are_you_sure))){var s=e(this),d=s.data("licence-key"),c=s.data("licence-email"),r=s.data("product-init"),l=s.data("action"),u=e(".licence-renew"),F=e(".licence-deactive"),t=e("#yith-licence-notice"),n=e(".activated-table");s.add(u).add(F).prop("disabled",!0).addClass("clicked"),e("#activated-products").find(".spinner").addClass("show"),jQuery.ajax({type:"POST",url:ajaxurl,data:{action:l,licence_key:d,email:c,product_init:r},success:function(i){t.css("maxWidth",n.width()),0==i?(t.find("p.yith-licence-notice-message").html(licence_message.server),t.removeClass("notice-success").addClass("notice-error visible"),s.add(u).add(F).add(u).prop("disabled",!1).removeClass("clicked"),e("#activated-products").find(".spinner").removeClass("show")):(0==i.activated&&(e(".product-licence-activation").empty().replaceWith(i.template),a()),void 0!==i.error&&(t.find("p.yith-licence-notice-message").html(i.error),t.removeClass("notice-success").addClass("notice-error visible"),s.add(u).add(F).add(u).prop("disabled",!1).removeClass("clicked"),e("#activated-products").find(".spinner").removeClass("show")))}})}})};a(),e("body").on("click",".yit-changelog-button",function(a){e("#TB_window").remove()})}(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/licence/lib/yit-licence.php
CHANGED
@@ -183,11 +183,11 @@ if ( !class_exists( 'YIT_Licence' ) ) {
|
|
183 |
|
184 |
/* Localize Scripts */
|
185 |
wp_localize_script( 'yit-licence', 'licence_message', array(
|
186 |
-
'error' => sprintf( _x( '
|
187 |
-
'errors' => sprintf( __( '
|
188 |
'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' ),
|
189 |
-
'email' => __( '
|
190 |
-
'license_key' => __( '
|
191 |
'are_you_sure' => __( 'Are you sure you want to deactivate the license for current site?', 'yith-plugin-fw' )
|
192 |
)
|
193 |
);
|
@@ -309,32 +309,83 @@ if ( !class_exists( 'YIT_Licence' ) ) {
|
|
309 |
$body = is_object( $body ) ? get_object_vars( $body ) : false;
|
310 |
}
|
311 |
|
312 |
-
if ( $body && is_array( $body )
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
}
|
339 |
|
340 |
wp_send_json( $body );
|
@@ -376,13 +427,13 @@ if ( !class_exists( 'YIT_Licence' ) ) {
|
|
376 |
$timeout = apply_filters( 'yith_plugin_fw_licence_timeout', 30, __FUNCTION__ );
|
377 |
$response = wp_remote_get( $api_uri, array( 'timeout' => $timeout ) );
|
378 |
|
379 |
-
if ( !is_wp_error( $response ) ) {
|
380 |
$body = json_decode( $response[ 'body' ] );
|
381 |
$body = is_object( $body ) ? get_object_vars( $body ) : false;
|
382 |
}
|
383 |
|
384 |
-
if ( $body && is_array( $body )
|
385 |
-
if ( $body[ 'success' ] ) {
|
386 |
|
387 |
/**
|
388 |
* Code 200 -> Licence key is valid
|
@@ -425,14 +476,12 @@ if ( !class_exists( 'YIT_Licence' ) ) {
|
|
425 |
$licence[ $product_id ][ 'message' ] = $body[ 'error' ];
|
426 |
$licence[ $product_id ][ 'status_code' ] = $body[ 'code' ];
|
427 |
$licence[ $product_id ][ 'licence_expires' ] = $body[ 'licence_expires' ];
|
428 |
-
//$licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
|
429 |
break;
|
430 |
|
431 |
case '107':
|
432 |
$licence[ $product_id ][ 'activated' ] = false;
|
433 |
$licence[ $product_id ][ 'message' ] = $body[ 'error' ];
|
434 |
$licence[ $product_id ][ 'status_code' ] = $body[ 'code' ];
|
435 |
-
//$licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
|
436 |
break;
|
437 |
}
|
438 |
}
|
183 |
|
184 |
/* Localize Scripts */
|
185 |
wp_localize_script( 'yit-licence', 'licence_message', array(
|
186 |
+
'error' => sprintf( _x( 'Please, insert a valid %s', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
|
187 |
+
'errors' => sprintf( __( 'Please, insert a valid %s and a valid %s', 'yith-plugin-fw' ), '%field_1%', '%field_2%' ),
|
188 |
'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' ),
|
189 |
+
'email' => __( 'email address', 'yith-plugin-fw' ),
|
190 |
+
'license_key' => __( 'license key', 'yith-plugin-fw' ),
|
191 |
'are_you_sure' => __( 'Are you sure you want to deactivate the license for current site?', 'yith-plugin-fw' )
|
192 |
)
|
193 |
);
|
309 |
$body = is_object( $body ) ? get_object_vars( $body ) : false;
|
310 |
}
|
311 |
|
312 |
+
if ( $body && is_array( $body ) ) {
|
313 |
+
/* === Get License === */
|
314 |
+
$options = $this->get_licence();
|
315 |
+
if( isset( $body[ 'activated' ] ) && ! $body[ 'activated' ] && ! isset( $body[ 'error' ] ) ){
|
316 |
+
$option[ $product[ 'product_id' ] ] = array(
|
317 |
+
'activated' => false,
|
318 |
+
'email' => urldecode( $args[ 'email' ] ),
|
319 |
+
'licence_key' => $args[ 'licence_key' ],
|
320 |
+
'licence_expires' => $body[ 'licence_expires' ],
|
321 |
+
'message' => $body[ 'message' ],
|
322 |
+
'activation_limit' => $body[ 'activation_limit' ],
|
323 |
+
'activation_remaining' => $body[ 'activation_remaining' ],
|
324 |
+
'is_membership' => isset( $body[ 'is_membership' ] ) ? $body[ 'is_membership' ] : false,
|
325 |
+
);
|
326 |
+
|
327 |
+
/* === Check for other plugins activation === */
|
328 |
+
$options[ $product[ 'product_id' ] ] = $option[ $product[ 'product_id' ] ];
|
329 |
+
|
330 |
+
/* === Update Plugin Licence Information === */
|
331 |
+
YIT_Upgrade()->force_regenerate_update_transient();
|
332 |
+
|
333 |
+
update_option( $this->_licence_option, $options );
|
334 |
+
|
335 |
+
/* === Licence Activation Template === */
|
336 |
+
$body[ 'template' ] = $this->show_activation_panel( $this->get_response_code_message( 'deactivated', array( 'instance' => $body[ 'instance' ] ) ) );
|
337 |
+
}
|
338 |
+
|
339 |
+
else {
|
340 |
+
$body[ 'error' ] = $this->get_response_code_message( $body[ 'code' ] );
|
341 |
+
|
342 |
+
switch ( $body[ 'code' ] ) {
|
343 |
+
|
344 |
+
/**
|
345 |
+
* Error Code List:
|
346 |
+
*
|
347 |
+
* 100 -> Invalid Request
|
348 |
+
* 101 -> Invalid licence key
|
349 |
+
* 102 -> Software has been deactivate
|
350 |
+
* 103 -> Exceeded maximum number of activations
|
351 |
+
* 104 -> Invalid instance ID
|
352 |
+
* 105 -> Invalid security key
|
353 |
+
* 106 -> Licence key has expired
|
354 |
+
* 107 -> Licence key has be banned
|
355 |
+
*
|
356 |
+
* Only code 101, 106 and 107 have effect on DB during activation
|
357 |
+
* All error code have effect on DB during deactivation
|
358 |
+
*
|
359 |
+
*/
|
360 |
+
|
361 |
+
case '101':
|
362 |
+
case '102':
|
363 |
+
unset( $options[ $product[ 'product_id' ] ] );
|
364 |
+
break;
|
365 |
+
|
366 |
+
case '106':
|
367 |
+
$options[ $product[ 'product_id' ] ][ 'activated' ] = false;
|
368 |
+
$options[ $product[ 'product_id' ] ][ 'message' ] = $body[ 'error' ];
|
369 |
+
$options[ $product[ 'product_id' ] ][ 'status_code' ] = $body[ 'code' ];
|
370 |
+
$options[ $product[ 'product_id' ] ][ 'licence_expires' ] = $body[ 'licence_expires' ];
|
371 |
+
break;
|
372 |
+
|
373 |
+
case '107':
|
374 |
+
$options[ $product[ 'product_id' ] ][ 'activated' ] = false;
|
375 |
+
$options[ $product[ 'product_id' ] ][ 'message' ] = $body[ 'error' ];
|
376 |
+
$options[ $product[ 'product_id' ] ][ 'status_code' ] = $body[ 'code' ];
|
377 |
+
break;
|
378 |
+
}
|
379 |
+
|
380 |
+
update_option( $this->_licence_option, $options );
|
381 |
+
|
382 |
+
/* === Licence Activation Template === */
|
383 |
+
$deactivate_message = $this->get_response_code_message( 'deactivated' );
|
384 |
+
$error_code_message = $this->get_response_code_message( $body['code'] );
|
385 |
+
$message = sprintf( "<strong>%s</strong>: %s", $deactivate_message, $error_code_message );
|
386 |
+
$body['template'] = $this->show_activation_panel( $message );
|
387 |
+
$body['activated'] = false;
|
388 |
+
}
|
389 |
}
|
390 |
|
391 |
wp_send_json( $body );
|
427 |
$timeout = apply_filters( 'yith_plugin_fw_licence_timeout', 30, __FUNCTION__ );
|
428 |
$response = wp_remote_get( $api_uri, array( 'timeout' => $timeout ) );
|
429 |
|
430 |
+
if ( ! is_wp_error( $response ) ) {
|
431 |
$body = json_decode( $response[ 'body' ] );
|
432 |
$body = is_object( $body ) ? get_object_vars( $body ) : false;
|
433 |
}
|
434 |
|
435 |
+
if ( $body && is_array( $body ) ) {
|
436 |
+
if ( isset( $body[ 'success' ] ) && $body[ 'success' ] == true ) {
|
437 |
|
438 |
/**
|
439 |
* Code 200 -> Licence key is valid
|
476 |
$licence[ $product_id ][ 'message' ] = $body[ 'error' ];
|
477 |
$licence[ $product_id ][ 'status_code' ] = $body[ 'code' ];
|
478 |
$licence[ $product_id ][ 'licence_expires' ] = $body[ 'licence_expires' ];
|
|
|
479 |
break;
|
480 |
|
481 |
case '107':
|
482 |
$licence[ $product_id ][ 'activated' ] = false;
|
483 |
$licence[ $product_id ][ 'message' ] = $body[ 'error' ];
|
484 |
$licence[ $product_id ][ 'status_code' ] = $body[ 'code' ];
|
|
|
485 |
break;
|
486 |
}
|
487 |
}
|
plugin-fw/licence/lib/yit-plugin-licence.php
CHANGED
@@ -77,13 +77,22 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
77 |
add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
|
78 |
|
79 |
/** @since 3.0.0 */
|
80 |
-
|
81 |
-
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
|
85 |
private function _show_activate_license_notice() {
|
86 |
-
$
|
|
|
|
|
|
|
87 |
global $wp_filter;
|
88 |
|
89 |
if ( isset( $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ] ) ) {
|
@@ -221,7 +230,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
221 |
/**
|
222 |
* Main instance of plugin
|
223 |
*
|
224 |
-
* @return object
|
225 |
* @since 1.0
|
226 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
227 |
*/
|
77 |
add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
|
78 |
|
79 |
/** @since 3.0.0 */
|
80 |
+
if( version_compare( PHP_VERSION, '7.0', '>=' ) ) {
|
81 |
+
add_action( 'admin_notices', function () {
|
82 |
+
$this->activate_license_notice();
|
83 |
+
}, 15 );
|
84 |
+
}
|
85 |
+
|
86 |
+
else {
|
87 |
+
add_action( 'admin_notices', array( $this, 'activate_license_notice' ), 15 );
|
88 |
+
}
|
89 |
}
|
90 |
|
91 |
private function _show_activate_license_notice() {
|
92 |
+
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
93 |
+
$show_license_notice = current_user_can( 'update_plugins' ) &&
|
94 |
+
( !isset( $_GET[ 'page' ] ) || 'yith_plugins_activation' !== $_GET[ 'page' ] ) &&
|
95 |
+
!( $current_screen && method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor() );
|
96 |
global $wp_filter;
|
97 |
|
98 |
if ( isset( $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ] ) ) {
|
230 |
/**
|
231 |
* Main instance of plugin
|
232 |
*
|
233 |
+
* @return YIT_Plugin_Licence object of license class
|
234 |
* @since 1.0
|
235 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
236 |
*/
|
plugin-fw/licence/templates/panel/activation/activation-panel.php
CHANGED
@@ -56,7 +56,7 @@ $debug = isset( $_REQUEST[ 'yith-license-debug' ] ) ? $_
|
|
56 |
<?php echo $this->display_product_name( $info[ 'Name' ] ) ?>
|
57 |
</td>
|
58 |
<td>
|
59 |
-
<input type="
|
60 |
</td>
|
61 |
<td>
|
62 |
<input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key"/>
|
56 |
<?php echo $this->display_product_name( $info[ 'Name' ] ) ?>
|
57 |
</td>
|
58 |
<td>
|
59 |
+
<input type="text" name="email" placeholder="Your email on yithemes.com" value="" class="user-email"/>
|
60 |
</td>
|
61 |
<td>
|
62 |
<input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key"/>
|
plugin-fw/templates/privacy/html-policy-content.php
CHANGED
@@ -1,37 +1,37 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @var array $sections
|
4 |
-
*/
|
5 |
-
?>
|
6 |
-
<div class="wp-suggested-text">
|
7 |
-
<?php do_action( 'yith_plugin_fw_privacy_guide_content_before' ); ?>
|
8 |
-
|
9 |
-
<?php
|
10 |
-
foreach ( $sections as $key => $section ) {
|
11 |
-
$action = "yith_plugin_fw_privacy_guide_content_{$key}";
|
12 |
-
$content = apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key );
|
13 |
-
|
14 |
-
if ( has_action( $action ) || !empty( $section[ 'tutorial' ] ) || !empty( $section[ 'description' ] ) || $content ) {
|
15 |
-
if ( !empty( $section[ 'title' ] ) ) {
|
16 |
-
echo "<h2>{$section['title']}</h2>";
|
17 |
-
}
|
18 |
-
|
19 |
-
if ( !empty( $section[ 'tutorial' ] ) ) {
|
20 |
-
echo "<p class='privacy-policy-tutorial'>{$section['tutorial']}</p>";
|
21 |
-
}
|
22 |
-
|
23 |
-
if ( !empty( $section[ 'description' ] ) ) {
|
24 |
-
echo "<p>{$section['description']}</p>";
|
25 |
-
}
|
26 |
-
|
27 |
-
if ( !empty( $content ) ) {
|
28 |
-
echo $content;
|
29 |
-
}
|
30 |
-
}
|
31 |
-
|
32 |
-
do_action( $action );
|
33 |
-
}
|
34 |
-
?>
|
35 |
-
|
36 |
-
<?php do_action( 'yith_plugin_fw_privacy_guide_content_after' ); ?>
|
37 |
</div>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @var array $sections
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="wp-suggested-text">
|
7 |
+
<?php do_action( 'yith_plugin_fw_privacy_guide_content_before' ); ?>
|
8 |
+
|
9 |
+
<?php
|
10 |
+
foreach ( $sections as $key => $section ) {
|
11 |
+
$action = "yith_plugin_fw_privacy_guide_content_{$key}";
|
12 |
+
$content = apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key );
|
13 |
+
|
14 |
+
if ( has_action( $action ) || !empty( $section[ 'tutorial' ] ) || !empty( $section[ 'description' ] ) || $content ) {
|
15 |
+
if ( !empty( $section[ 'title' ] ) ) {
|
16 |
+
echo "<h2>{$section['title']}</h2>";
|
17 |
+
}
|
18 |
+
|
19 |
+
if ( !empty( $section[ 'tutorial' ] ) ) {
|
20 |
+
echo "<p class='privacy-policy-tutorial'>{$section['tutorial']}</p>";
|
21 |
+
}
|
22 |
+
|
23 |
+
if ( !empty( $section[ 'description' ] ) ) {
|
24 |
+
echo "<p>{$section['description']}</p>";
|
25 |
+
}
|
26 |
+
|
27 |
+
if ( !empty( $content ) ) {
|
28 |
+
echo $content;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
do_action( $action );
|
33 |
+
}
|
34 |
+
?>
|
35 |
+
|
36 |
+
<?php do_action( 'yith_plugin_fw_privacy_guide_content_after' ); ?>
|
37 |
</div>
|
plugin-fw/yit-functions.php
CHANGED
@@ -1160,4 +1160,70 @@ if ( !function_exists( 'yith_plugin_fw_is_panel' ) ) {
|
|
1160 |
|
1161 |
return $screen instanceof WP_Screen && strpos( $screen->id, $panel_screen_id ) !== false;
|
1162 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1163 |
}
|
1160 |
|
1161 |
return $screen instanceof WP_Screen && strpos( $screen->id, $panel_screen_id ) !== false;
|
1162 |
}
|
1163 |
+
}
|
1164 |
+
|
1165 |
+
/* === Gutenberg Support === */
|
1166 |
+
|
1167 |
+
if( ! function_exists( 'yith_plugin_fw_is_gutenberg_enabled' ) ){
|
1168 |
+
function yith_plugin_fw_is_gutenberg_enabled(){
|
1169 |
+
return function_exists( 'YITH_Gutenberg' );
|
1170 |
+
}
|
1171 |
+
}
|
1172 |
+
|
1173 |
+
if( ! function_exists( 'yith_plugin_fw_gutenberg_add_block' ) ){
|
1174 |
+
/**
|
1175 |
+
* Add new blocks to Gutenberg
|
1176 |
+
*
|
1177 |
+
* @param $blocks string|array new blocks
|
1178 |
+
* @return bool true if add a new blocks, false otherwise
|
1179 |
+
*
|
1180 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
1181 |
+
*/
|
1182 |
+
function yith_plugin_fw_gutenberg_add_blocks( $blocks ){
|
1183 |
+
$added = false;
|
1184 |
+
if( yith_plugin_fw_is_gutenberg_enabled() ) {
|
1185 |
+
// ADD Blocks
|
1186 |
+
$added = YITH_Gutenberg()->add_blocks( $blocks );
|
1187 |
+
|
1188 |
+
//ADD Blocks arguments
|
1189 |
+
if( $added ){
|
1190 |
+
YITH_Gutenberg()->set_block_args( $blocks );
|
1191 |
+
}
|
1192 |
+
}
|
1193 |
+
|
1194 |
+
return $added;
|
1195 |
+
}
|
1196 |
+
}
|
1197 |
+
|
1198 |
+
if( ! function_exists( 'yith_plugin_fw_gutenberg_get_registered_blocks' ) ){
|
1199 |
+
/**
|
1200 |
+
* Return an array with the registered blocks
|
1201 |
+
*
|
1202 |
+
* @return array
|
1203 |
+
*/
|
1204 |
+
function yith_plugin_fw_gutenberg_get_registered_blocks(){
|
1205 |
+
return yith_plugin_fw_is_gutenberg_enabled() ? YITH_Gutenberg()->get_registered_blocks() : array();
|
1206 |
+
}
|
1207 |
+
}
|
1208 |
+
|
1209 |
+
if( ! function_exists( 'yith_plugin_fw_gutenberg_get_to_register_blocks' ) ){
|
1210 |
+
/**
|
1211 |
+
* Return an array with the blocks to register
|
1212 |
+
*
|
1213 |
+
* @return array
|
1214 |
+
*/
|
1215 |
+
function yith_plugin_fw_gutenberg_get_to_register_blocks(){
|
1216 |
+
return yith_plugin_fw_is_gutenberg_enabled() ? YITH_Gutenberg()->get_to_register_blocks() : array();
|
1217 |
+
}
|
1218 |
+
}
|
1219 |
+
|
1220 |
+
if( ! function_exists( 'yith_plugin_fw_get_default_logo' ) ){
|
1221 |
+
/**
|
1222 |
+
* Get the default SVG logo
|
1223 |
+
*
|
1224 |
+
* @return string default logo image url
|
1225 |
+
*/
|
1226 |
+
function yith_plugin_fw_get_default_logo(){
|
1227 |
+
return YIT_CORE_PLUGIN_URL . '/assets/images/yith-icon.svg';
|
1228 |
+
}
|
1229 |
}
|
plugin-fw/yit-plugin.php
CHANGED
@@ -39,7 +39,12 @@ include_once( 'lib/yit-assets.php');
|
|
39 |
include_once( 'lib/yit-debug.php');
|
40 |
include_once( 'lib/privacy/yit-privacy.php' );
|
41 |
include_once( 'lib/privacy/yit-privacy-plugin-abstract.php' );
|
42 |
-
include_once
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
// load from theme folder...
|
45 |
load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' )
|
39 |
include_once( 'lib/yit-debug.php');
|
40 |
include_once( 'lib/privacy/yit-privacy.php' );
|
41 |
include_once( 'lib/privacy/yit-privacy-plugin-abstract.php' );
|
42 |
+
include_once( 'lib/promo/yith-promo.php' );
|
43 |
+
|
44 |
+
/* === Gutenberg Support === */
|
45 |
+
if( class_exists( 'WP_Block_Type_Registry' ) ){
|
46 |
+
include_once( 'lib/yith-gutenberg.php' );
|
47 |
+
}
|
48 |
|
49 |
// load from theme folder...
|
50 |
load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' )
|
plugin-options/general-options.php
CHANGED
@@ -1,145 +1,145 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main admin class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH Woocommerce Compare
|
7 |
-
* @version 1.1.1
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
11 |
-
exit;
|
12 |
-
} // Exit if accessed directly
|
13 |
-
|
14 |
-
$options = array(
|
15 |
-
'general' => array(
|
16 |
-
array(
|
17 |
-
'name' => __( 'General Settings', 'yith-woocommerce-compare' ),
|
18 |
-
'type' => 'title',
|
19 |
-
'desc' => '',
|
20 |
-
'id' => 'yith_woocompare_general'
|
21 |
-
),
|
22 |
-
|
23 |
-
array(
|
24 |
-
'name' => __( 'Link or Button', 'yith-woocommerce-compare' ),
|
25 |
-
'desc_tip' => __( 'Choose if you want to use a link or a button for the comepare actions.', 'yith-woocommerce-compare' ),
|
26 |
-
'id' => 'yith_woocompare_is_button',
|
27 |
-
'std' => 'button',
|
28 |
-
'default' => 'button',
|
29 |
-
'type' => 'select',
|
30 |
-
'class' => 'wc-enhanced-select',
|
31 |
-
'options' => array(
|
32 |
-
'link' => __( 'Link', 'yith-woocommerce-compare' ),
|
33 |
-
'button' => __( 'Button', 'yith-woocommerce-compare' )
|
34 |
-
)
|
35 |
-
),
|
36 |
-
|
37 |
-
array(
|
38 |
-
'name' => __( 'Link/Button text', 'yith-woocommerce-compare' ),
|
39 |
-
'desc' => __( 'Type the text to use for the button or the link of the compare.', 'yith-woocommerce-compare' ),
|
40 |
-
'id' => 'yith_woocompare_button_text',
|
41 |
-
'std' => __( 'Compare', 'yith-woocommerce-compare' ),
|
42 |
-
'default' => __( 'Compare', 'yith-woocommerce-compare' ),
|
43 |
-
'type' => 'text'
|
44 |
-
),
|
45 |
-
|
46 |
-
array(
|
47 |
-
'name' => __( 'Show button in single product page', 'yith-woocommerce-compare' ),
|
48 |
-
'desc' => __( 'Say if you want to show the button in the single product page.', 'yith-woocommerce-compare' ),
|
49 |
-
'id' => 'yith_woocompare_compare_button_in_product_page',
|
50 |
-
'std' => 'yes',
|
51 |
-
'default' => 'yes',
|
52 |
-
'type' => 'checkbox'
|
53 |
-
),
|
54 |
-
|
55 |
-
array(
|
56 |
-
'name' => __( 'Show button in products list', 'yith-woocommerce-compare' ),
|
57 |
-
'desc' => __( 'Say if you want to show the button in the products list.', 'yith-woocommerce-compare' ),
|
58 |
-
'id' => 'yith_woocompare_compare_button_in_products_list',
|
59 |
-
'std' => 'no',
|
60 |
-
'default' => 'no',
|
61 |
-
'type' => 'checkbox'
|
62 |
-
),
|
63 |
-
|
64 |
-
array(
|
65 |
-
'name' => __( 'Open automatically lightbox', 'yith-woocommerce-compare' ),
|
66 |
-
'desc' => __( 'Open link after click into "Compare" button".', 'yith-woocommerce-compare' ),
|
67 |
-
'id' => 'yith_woocompare_auto_open',
|
68 |
-
'std' => 'yes',
|
69 |
-
'default' => 'yes',
|
70 |
-
'type' => 'checkbox'
|
71 |
-
),
|
72 |
-
|
73 |
-
array(
|
74 |
-
'type' => 'sectionend',
|
75 |
-
'id' => 'yith_woocompare_general_end'
|
76 |
-
),
|
77 |
-
|
78 |
-
array(
|
79 |
-
'name' => __( 'Table Settings', 'yith-woocommerce-compare' ),
|
80 |
-
'type' => 'title',
|
81 |
-
'desc' => '',
|
82 |
-
'id' => 'yith_woocompare_table'
|
83 |
-
),
|
84 |
-
|
85 |
-
array(
|
86 |
-
'name' => __( 'Table title', 'yith-woocommerce-compare' ),
|
87 |
-
'desc' => __( 'Type the text to use for the table title.', 'yith-woocommerce-compare' ),
|
88 |
-
'id' => 'yith_woocompare_table_text',
|
89 |
-
'std' => __( 'Compare products', 'yith-woocommerce-compare' ),
|
90 |
-
'default' => __( 'Compare products', 'yith-woocommerce-compare' ),
|
91 |
-
'type' => 'text'
|
92 |
-
),
|
93 |
-
|
94 |
-
array(
|
95 |
-
'name' => __( 'Fields to show', 'yith-woocommerce-compare' ),
|
96 |
-
'desc' => __( 'Select the fields to show in the comparison table and order them by drag&drop (are included also the woocommerce attributes)', 'yith-woocommerce-compare' ),
|
97 |
-
'id' => 'yith_woocompare_fields_attrs',
|
98 |
-
'std' => 'all',
|
99 |
-
'default' => 'all',
|
100 |
-
'type' => 'woocompare_attributes'
|
101 |
-
),
|
102 |
-
|
103 |
-
array(
|
104 |
-
'name' => __( 'Repeat "Price" field', 'yith-woocommerce-compare' ),
|
105 |
-
'desc' => __( 'Repeat the "Price" field at the end of the table', 'yith-woocommerce-compare' ),
|
106 |
-
'id' => 'yith_woocompare_price_end',
|
107 |
-
'std' => 'yes',
|
108 |
-
'default' => 'yes',
|
109 |
-
'type' => 'checkbox'
|
110 |
-
),
|
111 |
-
|
112 |
-
array(
|
113 |
-
'name' => __( 'Repeat "Add to cart" field', 'yith-woocommerce-compare' ),
|
114 |
-
'desc' => __( 'Repeat the "Add to cart" field at the end of the table', 'yith-woocommerce-compare' ),
|
115 |
-
'id' => 'yith_woocompare_add_to_cart_end',
|
116 |
-
'std' => 'no',
|
117 |
-
'default' => 'no',
|
118 |
-
'type' => 'checkbox'
|
119 |
-
),
|
120 |
-
|
121 |
-
array(
|
122 |
-
'name' => __( 'Image size', 'yith-woocommerce-compare' ),
|
123 |
-
'desc' => __( 'Set the size for the images', 'yith-woocommerce-compare' ),
|
124 |
-
'id' => 'yith_woocompare_image_size',
|
125 |
-
'type' => 'woocompare_image_width',
|
126 |
-
'default' => array(
|
127 |
-
'width' => 220,
|
128 |
-
'height' => 154,
|
129 |
-
'crop' => 1
|
130 |
-
),
|
131 |
-
'std' => array(
|
132 |
-
'width' => 220,
|
133 |
-
'height' => 154,
|
134 |
-
'crop' => 1
|
135 |
-
)
|
136 |
-
),
|
137 |
-
|
138 |
-
array(
|
139 |
-
'type' => 'sectionend',
|
140 |
-
'id' => 'yith_woocompare_table_end'
|
141 |
-
)
|
142 |
-
)
|
143 |
-
);
|
144 |
-
|
145 |
-
return apply_filters( 'yith_woocompare_general_settings', $options );
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main admin class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH Woocommerce Compare
|
7 |
+
* @version 1.1.1
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
+
|
14 |
+
$options = array(
|
15 |
+
'general' => array(
|
16 |
+
array(
|
17 |
+
'name' => __( 'General Settings', 'yith-woocommerce-compare' ),
|
18 |
+
'type' => 'title',
|
19 |
+
'desc' => '',
|
20 |
+
'id' => 'yith_woocompare_general'
|
21 |
+
),
|
22 |
+
|
23 |
+
array(
|
24 |
+
'name' => __( 'Link or Button', 'yith-woocommerce-compare' ),
|
25 |
+
'desc_tip' => __( 'Choose if you want to use a link or a button for the comepare actions.', 'yith-woocommerce-compare' ),
|
26 |
+
'id' => 'yith_woocompare_is_button',
|
27 |
+
'std' => 'button',
|
28 |
+
'default' => 'button',
|
29 |
+
'type' => 'select',
|
30 |
+
'class' => 'wc-enhanced-select',
|
31 |
+
'options' => array(
|
32 |
+
'link' => __( 'Link', 'yith-woocommerce-compare' ),
|
33 |
+
'button' => __( 'Button', 'yith-woocommerce-compare' )
|
34 |
+
)
|
35 |
+
),
|
36 |
+
|
37 |
+
array(
|
38 |
+
'name' => __( 'Link/Button text', 'yith-woocommerce-compare' ),
|
39 |
+
'desc' => __( 'Type the text to use for the button or the link of the compare.', 'yith-woocommerce-compare' ),
|
40 |
+
'id' => 'yith_woocompare_button_text',
|
41 |
+
'std' => __( 'Compare', 'yith-woocommerce-compare' ),
|
42 |
+
'default' => __( 'Compare', 'yith-woocommerce-compare' ),
|
43 |
+
'type' => 'text'
|
44 |
+
),
|
45 |
+
|
46 |
+
array(
|
47 |
+
'name' => __( 'Show button in single product page', 'yith-woocommerce-compare' ),
|
48 |
+
'desc' => __( 'Say if you want to show the button in the single product page.', 'yith-woocommerce-compare' ),
|
49 |
+
'id' => 'yith_woocompare_compare_button_in_product_page',
|
50 |
+
'std' => 'yes',
|
51 |
+
'default' => 'yes',
|
52 |
+
'type' => 'checkbox'
|
53 |
+
),
|
54 |
+
|
55 |
+
array(
|
56 |
+
'name' => __( 'Show button in products list', 'yith-woocommerce-compare' ),
|
57 |
+
'desc' => __( 'Say if you want to show the button in the products list.', 'yith-woocommerce-compare' ),
|
58 |
+
'id' => 'yith_woocompare_compare_button_in_products_list',
|
59 |
+
'std' => 'no',
|
60 |
+
'default' => 'no',
|
61 |
+
'type' => 'checkbox'
|
62 |
+
),
|
63 |
+
|
64 |
+
array(
|
65 |
+
'name' => __( 'Open automatically lightbox', 'yith-woocommerce-compare' ),
|
66 |
+
'desc' => __( 'Open link after click into "Compare" button".', 'yith-woocommerce-compare' ),
|
67 |
+
'id' => 'yith_woocompare_auto_open',
|
68 |
+
'std' => 'yes',
|
69 |
+
'default' => 'yes',
|
70 |
+
'type' => 'checkbox'
|
71 |
+
),
|
72 |
+
|
73 |
+
array(
|
74 |
+
'type' => 'sectionend',
|
75 |
+
'id' => 'yith_woocompare_general_end'
|
76 |
+
),
|
77 |
+
|
78 |
+
array(
|
79 |
+
'name' => __( 'Table Settings', 'yith-woocommerce-compare' ),
|
80 |
+
'type' => 'title',
|
81 |
+
'desc' => '',
|
82 |
+
'id' => 'yith_woocompare_table'
|
83 |
+
),
|
84 |
+
|
85 |
+
array(
|
86 |
+
'name' => __( 'Table title', 'yith-woocommerce-compare' ),
|
87 |
+
'desc' => __( 'Type the text to use for the table title.', 'yith-woocommerce-compare' ),
|
88 |
+
'id' => 'yith_woocompare_table_text',
|
89 |
+
'std' => __( 'Compare products', 'yith-woocommerce-compare' ),
|
90 |
+
'default' => __( 'Compare products', 'yith-woocommerce-compare' ),
|
91 |
+
'type' => 'text'
|
92 |
+
),
|
93 |
+
|
94 |
+
array(
|
95 |
+
'name' => __( 'Fields to show', 'yith-woocommerce-compare' ),
|
96 |
+
'desc' => __( 'Select the fields to show in the comparison table and order them by drag&drop (are included also the woocommerce attributes)', 'yith-woocommerce-compare' ),
|
97 |
+
'id' => 'yith_woocompare_fields_attrs',
|
98 |
+
'std' => 'all',
|
99 |
+
'default' => 'all',
|
100 |
+
'type' => 'woocompare_attributes'
|
101 |
+
),
|
102 |
+
|
103 |
+
array(
|
104 |
+
'name' => __( 'Repeat "Price" field', 'yith-woocommerce-compare' ),
|
105 |
+
'desc' => __( 'Repeat the "Price" field at the end of the table', 'yith-woocommerce-compare' ),
|
106 |
+
'id' => 'yith_woocompare_price_end',
|
107 |
+
'std' => 'yes',
|
108 |
+
'default' => 'yes',
|
109 |
+
'type' => 'checkbox'
|
110 |
+
),
|
111 |
+
|
112 |
+
array(
|
113 |
+
'name' => __( 'Repeat "Add to cart" field', 'yith-woocommerce-compare' ),
|
114 |
+
'desc' => __( 'Repeat the "Add to cart" field at the end of the table', 'yith-woocommerce-compare' ),
|
115 |
+
'id' => 'yith_woocompare_add_to_cart_end',
|
116 |
+
'std' => 'no',
|
117 |
+
'default' => 'no',
|
118 |
+
'type' => 'checkbox'
|
119 |
+
),
|
120 |
+
|
121 |
+
array(
|
122 |
+
'name' => __( 'Image size', 'yith-woocommerce-compare' ),
|
123 |
+
'desc' => __( 'Set the size for the images', 'yith-woocommerce-compare' ),
|
124 |
+
'id' => 'yith_woocompare_image_size',
|
125 |
+
'type' => 'woocompare_image_width',
|
126 |
+
'default' => array(
|
127 |
+
'width' => 220,
|
128 |
+
'height' => 154,
|
129 |
+
'crop' => 1
|
130 |
+
),
|
131 |
+
'std' => array(
|
132 |
+
'width' => 220,
|
133 |
+
'height' => 154,
|
134 |
+
'crop' => 1
|
135 |
+
)
|
136 |
+
),
|
137 |
+
|
138 |
+
array(
|
139 |
+
'type' => 'sectionend',
|
140 |
+
'id' => 'yith_woocompare_table_end'
|
141 |
+
)
|
142 |
+
)
|
143 |
+
);
|
144 |
+
|
145 |
+
return apply_filters( 'yith_woocompare_general_settings', $options );
|
plugin-options/premium-options.php
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main admin class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH Woocommerce Compare
|
7 |
-
* @version 1.1.1
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
11 |
-
exit;
|
12 |
-
} // Exit if accessed directly
|
13 |
-
|
14 |
-
$options = array(
|
15 |
-
'premium' => array(
|
16 |
-
'landing' => array(
|
17 |
-
'type' => 'custom_tab',
|
18 |
-
'action' => 'yith_woocompare_premium'
|
19 |
-
)
|
20 |
-
)
|
21 |
-
);
|
22 |
-
|
23 |
-
return $options;
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main admin class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH Woocommerce Compare
|
7 |
+
* @version 1.1.1
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
+
|
14 |
+
$options = array(
|
15 |
+
'premium' => array(
|
16 |
+
'landing' => array(
|
17 |
+
'type' => 'custom_tab',
|
18 |
+
'action' => 'yith_woocompare_premium'
|
19 |
+
)
|
20 |
+
)
|
21 |
+
);
|
22 |
+
|
23 |
+
return $options;
|
templates/admin/premium.php
CHANGED
@@ -1,455 +1,455 @@
|
|
1 |
-
<style>
|
2 |
-
.section{
|
3 |
-
margin-left: -20px;
|
4 |
-
margin-right: -20px;
|
5 |
-
font-family: "Raleway",san-serif;
|
6 |
-
}
|
7 |
-
.section h1{
|
8 |
-
text-align: center;
|
9 |
-
text-transform: uppercase;
|
10 |
-
color: #808a97;
|
11 |
-
font-size: 35px;
|
12 |
-
font-weight: 700;
|
13 |
-
line-height: normal;
|
14 |
-
display: inline-block;
|
15 |
-
width: 100%;
|
16 |
-
margin: 50px 0 0;
|
17 |
-
}
|
18 |
-
.section ul{
|
19 |
-
list-style-type: disc;
|
20 |
-
padding-left: 15px;
|
21 |
-
}
|
22 |
-
.section:nth-child(even){
|
23 |
-
background-color: #fff;
|
24 |
-
}
|
25 |
-
.section:nth-child(odd){
|
26 |
-
background-color: #f1f1f1;
|
27 |
-
}
|
28 |
-
.section .section-title img{
|
29 |
-
display: table-cell;
|
30 |
-
vertical-align: middle;
|
31 |
-
width: auto;
|
32 |
-
margin-right: 15px;
|
33 |
-
}
|
34 |
-
.section h2,
|
35 |
-
.section h3 {
|
36 |
-
display: inline-block;
|
37 |
-
vertical-align: middle;
|
38 |
-
padding: 0;
|
39 |
-
font-size: 24px;
|
40 |
-
font-weight: 700;
|
41 |
-
color: #808a97;
|
42 |
-
text-transform: uppercase;
|
43 |
-
}
|
44 |
-
|
45 |
-
.section .section-title h2{
|
46 |
-
display: table-cell;
|
47 |
-
vertical-align: middle;
|
48 |
-
line-height: 25px;
|
49 |
-
}
|
50 |
-
|
51 |
-
.section-title{
|
52 |
-
display: table;
|
53 |
-
}
|
54 |
-
|
55 |
-
.section h3 {
|
56 |
-
font-size: 14px;
|
57 |
-
line-height: 28px;
|
58 |
-
margin-bottom: 0;
|
59 |
-
display: block;
|
60 |
-
}
|
61 |
-
|
62 |
-
.section p{
|
63 |
-
font-size: 13px;
|
64 |
-
margin: 25px 0;
|
65 |
-
}
|
66 |
-
.section ul li{
|
67 |
-
margin-bottom: 4px;
|
68 |
-
}
|
69 |
-
.landing-container{
|
70 |
-
max-width: 750px;
|
71 |
-
margin-left: auto;
|
72 |
-
margin-right: auto;
|
73 |
-
padding: 50px 0 30px;
|
74 |
-
}
|
75 |
-
.landing-container:after{
|
76 |
-
display: block;
|
77 |
-
clear: both;
|
78 |
-
content: '';
|
79 |
-
}
|
80 |
-
.landing-container .col-1,
|
81 |
-
.landing-container .col-2{
|
82 |
-
float: left;
|
83 |
-
box-sizing: border-box;
|
84 |
-
padding: 0 15px;
|
85 |
-
}
|
86 |
-
.landing-container .col-1 img{
|
87 |
-
width: 100%;
|
88 |
-
}
|
89 |
-
.landing-container .col-1{
|
90 |
-
width: 55%;
|
91 |
-
}
|
92 |
-
.landing-container .col-2{
|
93 |
-
width: 45%;
|
94 |
-
}
|
95 |
-
.premium-cta{
|
96 |
-
background-color: #808a97;
|
97 |
-
color: #fff;
|
98 |
-
border-radius: 6px;
|
99 |
-
padding: 20px 15px;
|
100 |
-
}
|
101 |
-
.premium-cta:after{
|
102 |
-
content: '';
|
103 |
-
display: block;
|
104 |
-
clear: both;
|
105 |
-
}
|
106 |
-
.premium-cta p{
|
107 |
-
margin: 7px 0;
|
108 |
-
font-size: 14px;
|
109 |
-
font-weight: 500;
|
110 |
-
display: inline-block;
|
111 |
-
width: 60%;
|
112 |
-
}
|
113 |
-
.premium-cta a.button{
|
114 |
-
border-radius: 6px;
|
115 |
-
height: 60px;
|
116 |
-
float: right;
|
117 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL?>assets/images/upgrade.png) #ff643f no-repeat 13px 13px;
|
118 |
-
border-color: #ff643f;
|
119 |
-
box-shadow: none;
|
120 |
-
outline: none;
|
121 |
-
color: #fff;
|
122 |
-
position: relative;
|
123 |
-
padding: 9px 50px 9px 70px;
|
124 |
-
}
|
125 |
-
.premium-cta a.button:hover,
|
126 |
-
.premium-cta a.button:active,
|
127 |
-
.premium-cta a.button:focus{
|
128 |
-
color: #fff;
|
129 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL?>assets/images/upgrade.png) #971d00 no-repeat 13px 13px;
|
130 |
-
border-color: #971d00;
|
131 |
-
box-shadow: none;
|
132 |
-
outline: none;
|
133 |
-
}
|
134 |
-
.premium-cta a.button:focus{
|
135 |
-
top: 1px;
|
136 |
-
}
|
137 |
-
.premium-cta a.button span{
|
138 |
-
line-height: 13px;
|
139 |
-
}
|
140 |
-
.premium-cta a.button .highlight{
|
141 |
-
display: block;
|
142 |
-
font-size: 20px;
|
143 |
-
font-weight: 700;
|
144 |
-
line-height: 20px;
|
145 |
-
}
|
146 |
-
.premium-cta .highlight{
|
147 |
-
text-transform: uppercase;
|
148 |
-
background: none;
|
149 |
-
font-weight: 800;
|
150 |
-
color: #fff;
|
151 |
-
}
|
152 |
-
|
153 |
-
.section.one{
|
154 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01-bg.png) no-repeat #fff; background-position: 85% 75%
|
155 |
-
}
|
156 |
-
.section.two{
|
157 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
158 |
-
}
|
159 |
-
.section.three{
|
160 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03-bg.png) no-repeat #fff; background-position: 85% 75%
|
161 |
-
}
|
162 |
-
.section.four{
|
163 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
164 |
-
}
|
165 |
-
.section.five{
|
166 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/05-bg.png) no-repeat #fff; background-position: 85% 75%
|
167 |
-
}
|
168 |
-
.section.six{
|
169 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
170 |
-
}
|
171 |
-
.section.seven{
|
172 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/07-bg.png) no-repeat #fff; background-position: 85% 75%
|
173 |
-
}
|
174 |
-
.section.eight{
|
175 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
176 |
-
}
|
177 |
-
.section.nine{
|
178 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/09-bg.png) no-repeat #fff; background-position: 15% 75%
|
179 |
-
}
|
180 |
-
.section.ten{
|
181 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
182 |
-
}
|
183 |
-
.section.eleven{
|
184 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/11-bg.png) no-repeat #fff; background-position: 85% 75%
|
185 |
-
}
|
186 |
-
.section.twelve{
|
187 |
-
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/12-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
188 |
-
}
|
189 |
-
|
190 |
-
@media (max-width: 768px) {
|
191 |
-
.section{margin: 0}
|
192 |
-
.premium-cta p{
|
193 |
-
width: 100%;
|
194 |
-
}
|
195 |
-
.premium-cta{
|
196 |
-
text-align: center;
|
197 |
-
}
|
198 |
-
.premium-cta a.button{
|
199 |
-
float: none;
|
200 |
-
}
|
201 |
-
}
|
202 |
-
|
203 |
-
@media (max-width: 480px){
|
204 |
-
.wrap{
|
205 |
-
margin-right: 0;
|
206 |
-
}
|
207 |
-
.section{
|
208 |
-
margin: 0;
|
209 |
-
}
|
210 |
-
.landing-container .col-1,
|
211 |
-
.landing-container .col-2{
|
212 |
-
width: 100%;
|
213 |
-
padding: 0 15px;
|
214 |
-
}
|
215 |
-
.section-odd .col-1 {
|
216 |
-
float: left;
|
217 |
-
margin-right: -100%;
|
218 |
-
}
|
219 |
-
.section-odd .col-2 {
|
220 |
-
float: right;
|
221 |
-
margin-top: 65%;
|
222 |
-
}
|
223 |
-
}
|
224 |
-
|
225 |
-
@media (max-width: 320px){
|
226 |
-
.premium-cta a.button{
|
227 |
-
padding: 9px 20px 9px 70px;
|
228 |
-
}
|
229 |
-
|
230 |
-
.section .section-title img{
|
231 |
-
display: none;
|
232 |
-
}
|
233 |
-
}
|
234 |
-
</style>
|
235 |
-
<div class="landing">
|
236 |
-
<div class="section section-cta section-odd">
|
237 |
-
<div class="landing-container">
|
238 |
-
<div class="premium-cta">
|
239 |
-
<p>
|
240 |
-
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-woocommerce-compare' ),'<span class="highlight">','</span>' );?>
|
241 |
-
</p>
|
242 |
-
<a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
243 |
-
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-compare' ); ?></span>
|
244 |
-
<span><?php _e('to the premium version','yith-woocommerce-compare' ); ?></span>
|
245 |
-
</a>
|
246 |
-
</div>
|
247 |
-
</div>
|
248 |
-
</div>
|
249 |
-
<div class="one section section-even clear">
|
250 |
-
<h1><?php _e('Premium Features','yith-woocommerce-compare');?></h1>
|
251 |
-
<div class="landing-container">
|
252 |
-
<div class="col-1">
|
253 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01.png" alt="Dedicated Page" />
|
254 |
-
</div>
|
255 |
-
<div class="col-2">
|
256 |
-
<div class="section-title">
|
257 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01-icon.png" alt="icon 01"/>
|
258 |
-
<h2><?php _e('A DEDICATED PAGE','yith-woocommerce-compare' ); ?></h2>
|
259 |
-
</div>
|
260 |
-
<p>
|
261 |
-
<?php echo sprintf(__('Don\'t you want to compare your products in a modal window anymore?%3$sWith the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be created automatically in your site and, adding it among the menu entries, you will be able to give to your users the chance to access it easily whenever they want.', 'yith-woocommerce-compare'), '<b>', '</b>','<br>');?>
|
262 |
-
</p>
|
263 |
-
</div>
|
264 |
-
</div>
|
265 |
-
</div>
|
266 |
-
<div class="two section section-odd clear">
|
267 |
-
<div class="landing-container">
|
268 |
-
<div class="col-2">
|
269 |
-
<div class="section-title">
|
270 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02-icon.png" alt="icon 02" />
|
271 |
-
<h2><?php _e('CATEGORY COMPARATION','yith-woocommerce-compare');?></h2>
|
272 |
-
</div>
|
273 |
-
<p>
|
274 |
-
<?php echo sprintf( __( 'People are often confused by finding products of different categories in the comparison table, creating difficulties in comparing the products they are interested into.The %1$s"Compare by category"%2$s option exists for this need: you will be able to separate the products in the table by category affinity.', 'yith-woocommerce-compare'), '<b>', '</b>');?>
|
275 |
-
</p>
|
276 |
-
</div>
|
277 |
-
<div class="col-1">
|
278 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02.png" alt="CATEGORY COMPARATION" />
|
279 |
-
</div>
|
280 |
-
</div>
|
281 |
-
</div>
|
282 |
-
<div class="three section section-even clear">
|
283 |
-
<div class="landing-container">
|
284 |
-
<div class="col-1">
|
285 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03.png" alt="Category esclusion" />
|
286 |
-
</div>
|
287 |
-
<div class="col-2">
|
288 |
-
<div class="section-title">
|
289 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03-icon.png" alt="icon 03" />
|
290 |
-
<h2><?php _e( 'CATEGORY EXCLUSION ','yith-woocommerce-compare');?></h2>
|
291 |
-
</div>
|
292 |
-
<p>
|
293 |
-
<?php echo sprintf(__('In your shop there may be product categories you don\'t want to be affected by the plugin features, deleting the comparison button for them. The premium version of the plugin offers this too.%3$sAnd there\'s more! Activating the %1$s"Reverse exclusion list"%2$s option, you can also invert the behavior of the feature, allowing the comparison only to those products of the selected categories.', 'yith-woocommerce-compare' ), '<b>', '</b>','<br>');?>
|
294 |
-
</p>
|
295 |
-
</div>
|
296 |
-
</div>
|
297 |
-
</div>
|
298 |
-
<div class="four section section-odd clear">
|
299 |
-
<div class="landing-container">
|
300 |
-
<div class="col-2">
|
301 |
-
<div class="section-title">
|
302 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04-icon.png" alt="icon 04" />
|
303 |
-
<h2><?php _e('TABLE IMAGE','yith-woocommerce-compare');?></h2>
|
304 |
-
</div>
|
305 |
-
<p>
|
306 |
-
<?php echo sprintf(__('Give a personal touch to the %1$scomparison table%2$s your users will see. Select an image, upload it from the option panel and show it ahead of the table to your users. ', 'yith-woocommerce-compare'), '<b>', '</b>');?>
|
307 |
-
</p>
|
308 |
-
</div>
|
309 |
-
<div class="col-1">
|
310 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04.png" alt="Shortcode" />
|
311 |
-
</div>
|
312 |
-
</div>
|
313 |
-
</div>
|
314 |
-
<div class="five section section-even clear">
|
315 |
-
<div class="landing-container">
|
316 |
-
<div class="col-1">
|
317 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/05.png" alt="Dynamic fields" />
|
318 |
-
</div>
|
319 |
-
<div class="col-2">
|
320 |
-
<div class="section-title">
|
321 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/05-icon.png" alt="icon 05" />
|
322 |
-
<h2><?php _e('DYNAMIC FIELDS','yith-woocommerce-compare');?></h2>
|
323 |
-
</div>
|
324 |
-
<p>
|
325 |
-
<?php echo sprintf( __('With this precious feature, you will be able to show in the table only the fields that have information in at least one of the selected products.%3$sActivate the %1$s"Dynamic Attribute fields"%2$s option and there will be no more empty lines in your comparison table.','yith-woocommerce-compare'),'<b>','</b>','<br>'); ?>
|
326 |
-
</p>
|
327 |
-
</div>
|
328 |
-
</div>
|
329 |
-
</div>
|
330 |
-
<div class="six section section-odd clear">
|
331 |
-
<div class="landing-container">
|
332 |
-
<div class="col-2">
|
333 |
-
<div class="section-title">
|
334 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06-icon.png" alt="icon 06" />
|
335 |
-
<h2><?php _e('SOCIAL NETWORK SHARING','yith-woocommerce-compare');?></h2>
|
336 |
-
</div>
|
337 |
-
<p>
|
338 |
-
<?php echo sprintf( __( 'One of the most appealing features of the premium version of the plugin.Four social network sites for your users (Facebook, Twitter, Google + and Pinterest) and the email system %1$sto share%2$s the comparison table of the products they have selected.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
339 |
-
</p>
|
340 |
-
</div>
|
341 |
-
<div class="col-1">
|
342 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06.png" alt="Social networks" />
|
343 |
-
</div>
|
344 |
-
</div>
|
345 |
-
</div>
|
346 |
-
<div class="seven section section-even clear">
|
347 |
-
<div class="landing-container">
|
348 |
-
<div class="col-1">
|
349 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/07.png" alt="Related products" />
|
350 |
-
</div>
|
351 |
-
<div class="col-2">
|
352 |
-
<div class="section-title">
|
353 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/07-icon.png" alt="icon 05" />
|
354 |
-
<h2><?php _e('RELATED PRODUCTS','yith-woocommerce-compare');?></h2>
|
355 |
-
</div>
|
356 |
-
<p>
|
357 |
-
<?php echo sprintf( __('All the products that have common categories and/or tags with those in the comparison table will be showed in a slider, right under the comparison table.%3$sA completely %1$s"touch friendly"%2$s slider to encourage your users to discover the shop products of the shop related to those they are interested into.','yith-woocommerce-compare'),'<b>','</b>','<br>'); ?>
|
358 |
-
</p>
|
359 |
-
</div>
|
360 |
-
</div>
|
361 |
-
</div>
|
362 |
-
<div class="eight section section-odd clear">
|
363 |
-
<div class="landing-container">
|
364 |
-
<div class="col-2">
|
365 |
-
<div class="section-title">
|
366 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08-icon.png" alt="icon 06" />
|
367 |
-
<h2><?php _e('CUSTOMIZABLE STYLE','yith-woocommerce-compare');?></h2>
|
368 |
-
</div>
|
369 |
-
<p>
|
370 |
-
<?php echo sprintf( __( 'An advanced option panel that let you change all the colors of the plugin, so that you can adapt stylistically all its elements %1$sto the layout%2$s of your shop.We know it, looks also count... and we give you the right tools to get to the best result.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
371 |
-
</p>
|
372 |
-
</div>
|
373 |
-
<div class="col-1">
|
374 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08.png" alt="Social networks" />
|
375 |
-
</div>
|
376 |
-
</div>
|
377 |
-
</div>
|
378 |
-
<div class="nine section section-even clear">
|
379 |
-
<div class="landing-container">
|
380 |
-
<div class="col-1">
|
381 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/09.png" alt="Related products" />
|
382 |
-
</div>
|
383 |
-
<div class="col-2">
|
384 |
-
<div class="section-title">
|
385 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/09-icon.png" alt="icon 09" />
|
386 |
-
<h2><?php _e('CUSTOMIZED ATTRIBUTES','yith-woocommerce-compare');?></h2>
|
387 |
-
</div>
|
388 |
-
<p>
|
389 |
-
<?php echo sprintf( __('Let you users compare products following every feature, and considering also all those %1$sattributes%2$s that can be manually created in within the product detail page. Every single detail will be included.','yith-woocommerce-compare'),'<b>','</b>'); ?>
|
390 |
-
</p>
|
391 |
-
</div>
|
392 |
-
</div>
|
393 |
-
</div>
|
394 |
-
<div class="ten section section-odd clear">
|
395 |
-
<div class="landing-container">
|
396 |
-
<div class="col-2">
|
397 |
-
<div class="section-title">
|
398 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10-icon.png" alt="icon 10" />
|
399 |
-
<h2><?php _e('A TAILORED TABLE','yith-woocommerce-compare');?></h2>
|
400 |
-
</div>
|
401 |
-
<p>
|
402 |
-
<?php echo sprintf( __( 'Select the products you want to compare and the system will offer you the %1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
403 |
-
</p>
|
404 |
-
</div>
|
405 |
-
<div class="col-1">
|
406 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10.png" alt="Social networks" />
|
407 |
-
</div>
|
408 |
-
</div>
|
409 |
-
</div>
|
410 |
-
<div class="eleven section section-even clear">
|
411 |
-
<div class="landing-container">
|
412 |
-
<div class="col-1">
|
413 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/11.png" alt="Widget" />
|
414 |
-
</div>
|
415 |
-
<div class="col-2">
|
416 |
-
<div class="section-title">
|
417 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/11-icon.png" alt="icon 11" />
|
418 |
-
<h2><?php _e('Compare list - widget','yith-woocommerce-compare');?></h2>
|
419 |
-
</div>
|
420 |
-
<p>
|
421 |
-
<?php echo sprintf( __('Thanks to YITH WooCommerce Comapre Widget users could verify at any time the complete list of products added to the compare tab and avoid to open the popup to check its existence. ','yith-woocommerce-compare'),'<b>','</b>'); ?>
|
422 |
-
</p>
|
423 |
-
</div>
|
424 |
-
</div>
|
425 |
-
</div>
|
426 |
-
<div class="twelve section section-odd clear">
|
427 |
-
<div class="landing-container">
|
428 |
-
<div class="col-2">
|
429 |
-
<div class="section-title">
|
430 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/12-icon.png" alt="icon 12" />
|
431 |
-
<h2><?php _e('Compare counter - widget and shortcode','yith-woocommerce-compare');?></h2>
|
432 |
-
</div>
|
433 |
-
<p>
|
434 |
-
<?php echo sprintf( __( 'Moreover, if you want to give your users the chance to see in a glance how many products they have added to the Compare list, feel free to use the widget or the shortcode included. And their Compare list is always no more than one click away.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
435 |
-
</p>
|
436 |
-
</div>
|
437 |
-
<div class="col-1">
|
438 |
-
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/12.png" alt="Social networks" />
|
439 |
-
</div>
|
440 |
-
</div>
|
441 |
-
</div>
|
442 |
-
<div class="section section-cta section-odd">
|
443 |
-
<div class="landing-container">
|
444 |
-
<div class="premium-cta">
|
445 |
-
<p>
|
446 |
-
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-woocommerce-compare'),'<span class="highlight">','</span>' );?>
|
447 |
-
</p>
|
448 |
-
<a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
449 |
-
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-compare');?></span>
|
450 |
-
<span><?php _e('to the premium version','yith-woocommerce-compare');?></span>
|
451 |
-
</a>
|
452 |
-
</div>
|
453 |
-
</div>
|
454 |
-
</div>
|
455 |
</div>
|
1 |
+
<style>
|
2 |
+
.section{
|
3 |
+
margin-left: -20px;
|
4 |
+
margin-right: -20px;
|
5 |
+
font-family: "Raleway",san-serif;
|
6 |
+
}
|
7 |
+
.section h1{
|
8 |
+
text-align: center;
|
9 |
+
text-transform: uppercase;
|
10 |
+
color: #808a97;
|
11 |
+
font-size: 35px;
|
12 |
+
font-weight: 700;
|
13 |
+
line-height: normal;
|
14 |
+
display: inline-block;
|
15 |
+
width: 100%;
|
16 |
+
margin: 50px 0 0;
|
17 |
+
}
|
18 |
+
.section ul{
|
19 |
+
list-style-type: disc;
|
20 |
+
padding-left: 15px;
|
21 |
+
}
|
22 |
+
.section:nth-child(even){
|
23 |
+
background-color: #fff;
|
24 |
+
}
|
25 |
+
.section:nth-child(odd){
|
26 |
+
background-color: #f1f1f1;
|
27 |
+
}
|
28 |
+
.section .section-title img{
|
29 |
+
display: table-cell;
|
30 |
+
vertical-align: middle;
|
31 |
+
width: auto;
|
32 |
+
margin-right: 15px;
|
33 |
+
}
|
34 |
+
.section h2,
|
35 |
+
.section h3 {
|
36 |
+
display: inline-block;
|
37 |
+
vertical-align: middle;
|
38 |
+
padding: 0;
|
39 |
+
font-size: 24px;
|
40 |
+
font-weight: 700;
|
41 |
+
color: #808a97;
|
42 |
+
text-transform: uppercase;
|
43 |
+
}
|
44 |
+
|
45 |
+
.section .section-title h2{
|
46 |
+
display: table-cell;
|
47 |
+
vertical-align: middle;
|
48 |
+
line-height: 25px;
|
49 |
+
}
|
50 |
+
|
51 |
+
.section-title{
|
52 |
+
display: table;
|
53 |
+
}
|
54 |
+
|
55 |
+
.section h3 {
|
56 |
+
font-size: 14px;
|
57 |
+
line-height: 28px;
|
58 |
+
margin-bottom: 0;
|
59 |
+
display: block;
|
60 |
+
}
|
61 |
+
|
62 |
+
.section p{
|
63 |
+
font-size: 13px;
|
64 |
+
margin: 25px 0;
|
65 |
+
}
|
66 |
+
.section ul li{
|
67 |
+
margin-bottom: 4px;
|
68 |
+
}
|
69 |
+
.landing-container{
|
70 |
+
max-width: 750px;
|
71 |
+
margin-left: auto;
|
72 |
+
margin-right: auto;
|
73 |
+
padding: 50px 0 30px;
|
74 |
+
}
|
75 |
+
.landing-container:after{
|
76 |
+
display: block;
|
77 |
+
clear: both;
|
78 |
+
content: '';
|
79 |
+
}
|
80 |
+
.landing-container .col-1,
|
81 |
+
.landing-container .col-2{
|
82 |
+
float: left;
|
83 |
+
box-sizing: border-box;
|
84 |
+
padding: 0 15px;
|
85 |
+
}
|
86 |
+
.landing-container .col-1 img{
|
87 |
+
width: 100%;
|
88 |
+
}
|
89 |
+
.landing-container .col-1{
|
90 |
+
width: 55%;
|
91 |
+
}
|
92 |
+
.landing-container .col-2{
|
93 |
+
width: 45%;
|
94 |
+
}
|
95 |
+
.premium-cta{
|
96 |
+
background-color: #808a97;
|
97 |
+
color: #fff;
|
98 |
+
border-radius: 6px;
|
99 |
+
padding: 20px 15px;
|
100 |
+
}
|
101 |
+
.premium-cta:after{
|
102 |
+
content: '';
|
103 |
+
display: block;
|
104 |
+
clear: both;
|
105 |
+
}
|
106 |
+
.premium-cta p{
|
107 |
+
margin: 7px 0;
|
108 |
+
font-size: 14px;
|
109 |
+
font-weight: 500;
|
110 |
+
display: inline-block;
|
111 |
+
width: 60%;
|
112 |
+
}
|
113 |
+
.premium-cta a.button{
|
114 |
+
border-radius: 6px;
|
115 |
+
height: 60px;
|
116 |
+
float: right;
|
117 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL?>assets/images/upgrade.png) #ff643f no-repeat 13px 13px;
|
118 |
+
border-color: #ff643f;
|
119 |
+
box-shadow: none;
|
120 |
+
outline: none;
|
121 |
+
color: #fff;
|
122 |
+
position: relative;
|
123 |
+
padding: 9px 50px 9px 70px;
|
124 |
+
}
|
125 |
+
.premium-cta a.button:hover,
|
126 |
+
.premium-cta a.button:active,
|
127 |
+
.premium-cta a.button:focus{
|
128 |
+
color: #fff;
|
129 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL?>assets/images/upgrade.png) #971d00 no-repeat 13px 13px;
|
130 |
+
border-color: #971d00;
|
131 |
+
box-shadow: none;
|
132 |
+
outline: none;
|
133 |
+
}
|
134 |
+
.premium-cta a.button:focus{
|
135 |
+
top: 1px;
|
136 |
+
}
|
137 |
+
.premium-cta a.button span{
|
138 |
+
line-height: 13px;
|
139 |
+
}
|
140 |
+
.premium-cta a.button .highlight{
|
141 |
+
display: block;
|
142 |
+
font-size: 20px;
|
143 |
+
font-weight: 700;
|
144 |
+
line-height: 20px;
|
145 |
+
}
|
146 |
+
.premium-cta .highlight{
|
147 |
+
text-transform: uppercase;
|
148 |
+
background: none;
|
149 |
+
font-weight: 800;
|
150 |
+
color: #fff;
|
151 |
+
}
|
152 |
+
|
153 |
+
.section.one{
|
154 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01-bg.png) no-repeat #fff; background-position: 85% 75%
|
155 |
+
}
|
156 |
+
.section.two{
|
157 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
158 |
+
}
|
159 |
+
.section.three{
|
160 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03-bg.png) no-repeat #fff; background-position: 85% 75%
|
161 |
+
}
|
162 |
+
.section.four{
|
163 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
164 |
+
}
|
165 |
+
.section.five{
|
166 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/05-bg.png) no-repeat #fff; background-position: 85% 75%
|
167 |
+
}
|
168 |
+
.section.six{
|
169 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
170 |
+
}
|
171 |
+
.section.seven{
|
172 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/07-bg.png) no-repeat #fff; background-position: 85% 75%
|
173 |
+
}
|
174 |
+
.section.eight{
|
175 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
176 |
+
}
|
177 |
+
.section.nine{
|
178 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/09-bg.png) no-repeat #fff; background-position: 15% 75%
|
179 |
+
}
|
180 |
+
.section.ten{
|
181 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
182 |
+
}
|
183 |
+
.section.eleven{
|
184 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/11-bg.png) no-repeat #fff; background-position: 85% 75%
|
185 |
+
}
|
186 |
+
.section.twelve{
|
187 |
+
background: url(<?php echo YITH_WOOCOMPARE_URL ?>assets/images/12-bg.png) no-repeat #f1f1f1; background-position: 15% 75%
|
188 |
+
}
|
189 |
+
|
190 |
+
@media (max-width: 768px) {
|
191 |
+
.section{margin: 0}
|
192 |
+
.premium-cta p{
|
193 |
+
width: 100%;
|
194 |
+
}
|
195 |
+
.premium-cta{
|
196 |
+
text-align: center;
|
197 |
+
}
|
198 |
+
.premium-cta a.button{
|
199 |
+
float: none;
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
+
@media (max-width: 480px){
|
204 |
+
.wrap{
|
205 |
+
margin-right: 0;
|
206 |
+
}
|
207 |
+
.section{
|
208 |
+
margin: 0;
|
209 |
+
}
|
210 |
+
.landing-container .col-1,
|
211 |
+
.landing-container .col-2{
|
212 |
+
width: 100%;
|
213 |
+
padding: 0 15px;
|
214 |
+
}
|
215 |
+
.section-odd .col-1 {
|
216 |
+
float: left;
|
217 |
+
margin-right: -100%;
|
218 |
+
}
|
219 |
+
.section-odd .col-2 {
|
220 |
+
float: right;
|
221 |
+
margin-top: 65%;
|
222 |
+
}
|
223 |
+
}
|
224 |
+
|
225 |
+
@media (max-width: 320px){
|
226 |
+
.premium-cta a.button{
|
227 |
+
padding: 9px 20px 9px 70px;
|
228 |
+
}
|
229 |
+
|
230 |
+
.section .section-title img{
|
231 |
+
display: none;
|
232 |
+
}
|
233 |
+
}
|
234 |
+
</style>
|
235 |
+
<div class="landing">
|
236 |
+
<div class="section section-cta section-odd">
|
237 |
+
<div class="landing-container">
|
238 |
+
<div class="premium-cta">
|
239 |
+
<p>
|
240 |
+
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-woocommerce-compare' ),'<span class="highlight">','</span>' );?>
|
241 |
+
</p>
|
242 |
+
<a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
243 |
+
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-compare' ); ?></span>
|
244 |
+
<span><?php _e('to the premium version','yith-woocommerce-compare' ); ?></span>
|
245 |
+
</a>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
<div class="one section section-even clear">
|
250 |
+
<h1><?php _e('Premium Features','yith-woocommerce-compare');?></h1>
|
251 |
+
<div class="landing-container">
|
252 |
+
<div class="col-1">
|
253 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01.png" alt="Dedicated Page" />
|
254 |
+
</div>
|
255 |
+
<div class="col-2">
|
256 |
+
<div class="section-title">
|
257 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01-icon.png" alt="icon 01"/>
|
258 |
+
<h2><?php _e('A DEDICATED PAGE','yith-woocommerce-compare' ); ?></h2>
|
259 |
+
</div>
|
260 |
+
<p>
|
261 |
+
<?php echo sprintf(__('Don\'t you want to compare your products in a modal window anymore?%3$sWith the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be created automatically in your site and, adding it among the menu entries, you will be able to give to your users the chance to access it easily whenever they want.', 'yith-woocommerce-compare'), '<b>', '</b>','<br>');?>
|
262 |
+
</p>
|
263 |
+
</div>
|
264 |
+
</div>
|
265 |
+
</div>
|
266 |
+
<div class="two section section-odd clear">
|
267 |
+
<div class="landing-container">
|
268 |
+
<div class="col-2">
|
269 |
+
<div class="section-title">
|
270 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02-icon.png" alt="icon 02" />
|
271 |
+
<h2><?php _e('CATEGORY COMPARATION','yith-woocommerce-compare');?></h2>
|
272 |
+
</div>
|
273 |
+
<p>
|
274 |
+
<?php echo sprintf( __( 'People are often confused by finding products of different categories in the comparison table, creating difficulties in comparing the products they are interested into.The %1$s"Compare by category"%2$s option exists for this need: you will be able to separate the products in the table by category affinity.', 'yith-woocommerce-compare'), '<b>', '</b>');?>
|
275 |
+
</p>
|
276 |
+
</div>
|
277 |
+
<div class="col-1">
|
278 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02.png" alt="CATEGORY COMPARATION" />
|
279 |
+
</div>
|
280 |
+
</div>
|
281 |
+
</div>
|
282 |
+
<div class="three section section-even clear">
|
283 |
+
<div class="landing-container">
|
284 |
+
<div class="col-1">
|
285 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03.png" alt="Category esclusion" />
|
286 |
+
</div>
|
287 |
+
<div class="col-2">
|
288 |
+
<div class="section-title">
|
289 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03-icon.png" alt="icon 03" />
|
290 |
+
<h2><?php _e( 'CATEGORY EXCLUSION ','yith-woocommerce-compare');?></h2>
|
291 |
+
</div>
|
292 |
+
<p>
|
293 |
+
<?php echo sprintf(__('In your shop there may be product categories you don\'t want to be affected by the plugin features, deleting the comparison button for them. The premium version of the plugin offers this too.%3$sAnd there\'s more! Activating the %1$s"Reverse exclusion list"%2$s option, you can also invert the behavior of the feature, allowing the comparison only to those products of the selected categories.', 'yith-woocommerce-compare' ), '<b>', '</b>','<br>');?>
|
294 |
+
</p>
|
295 |
+
</div>
|
296 |
+
</div>
|
297 |
+
</div>
|
298 |
+
<div class="four section section-odd clear">
|
299 |
+
<div class="landing-container">
|
300 |
+
<div class="col-2">
|
301 |
+
<div class="section-title">
|
302 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04-icon.png" alt="icon 04" />
|
303 |
+
<h2><?php _e('TABLE IMAGE','yith-woocommerce-compare');?></h2>
|
304 |
+
</div>
|
305 |
+
<p>
|
306 |
+
<?php echo sprintf(__('Give a personal touch to the %1$scomparison table%2$s your users will see. Select an image, upload it from the option panel and show it ahead of the table to your users. ', 'yith-woocommerce-compare'), '<b>', '</b>');?>
|
307 |
+
</p>
|
308 |
+
</div>
|
309 |
+
<div class="col-1">
|
310 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04.png" alt="Shortcode" />
|
311 |
+
</div>
|
312 |
+
</div>
|
313 |
+
</div>
|
314 |
+
<div class="five section section-even clear">
|
315 |
+
<div class="landing-container">
|
316 |
+
<div class="col-1">
|
317 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/05.png" alt="Dynamic fields" />
|
318 |
+
</div>
|
319 |
+
<div class="col-2">
|
320 |
+
<div class="section-title">
|
321 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/05-icon.png" alt="icon 05" />
|
322 |
+
<h2><?php _e('DYNAMIC FIELDS','yith-woocommerce-compare');?></h2>
|
323 |
+
</div>
|
324 |
+
<p>
|
325 |
+
<?php echo sprintf( __('With this precious feature, you will be able to show in the table only the fields that have information in at least one of the selected products.%3$sActivate the %1$s"Dynamic Attribute fields"%2$s option and there will be no more empty lines in your comparison table.','yith-woocommerce-compare'),'<b>','</b>','<br>'); ?>
|
326 |
+
</p>
|
327 |
+
</div>
|
328 |
+
</div>
|
329 |
+
</div>
|
330 |
+
<div class="six section section-odd clear">
|
331 |
+
<div class="landing-container">
|
332 |
+
<div class="col-2">
|
333 |
+
<div class="section-title">
|
334 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06-icon.png" alt="icon 06" />
|
335 |
+
<h2><?php _e('SOCIAL NETWORK SHARING','yith-woocommerce-compare');?></h2>
|
336 |
+
</div>
|
337 |
+
<p>
|
338 |
+
<?php echo sprintf( __( 'One of the most appealing features of the premium version of the plugin.Four social network sites for your users (Facebook, Twitter, Google + and Pinterest) and the email system %1$sto share%2$s the comparison table of the products they have selected.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
339 |
+
</p>
|
340 |
+
</div>
|
341 |
+
<div class="col-1">
|
342 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06.png" alt="Social networks" />
|
343 |
+
</div>
|
344 |
+
</div>
|
345 |
+
</div>
|
346 |
+
<div class="seven section section-even clear">
|
347 |
+
<div class="landing-container">
|
348 |
+
<div class="col-1">
|
349 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/07.png" alt="Related products" />
|
350 |
+
</div>
|
351 |
+
<div class="col-2">
|
352 |
+
<div class="section-title">
|
353 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/07-icon.png" alt="icon 05" />
|
354 |
+
<h2><?php _e('RELATED PRODUCTS','yith-woocommerce-compare');?></h2>
|
355 |
+
</div>
|
356 |
+
<p>
|
357 |
+
<?php echo sprintf( __('All the products that have common categories and/or tags with those in the comparison table will be showed in a slider, right under the comparison table.%3$sA completely %1$s"touch friendly"%2$s slider to encourage your users to discover the shop products of the shop related to those they are interested into.','yith-woocommerce-compare'),'<b>','</b>','<br>'); ?>
|
358 |
+
</p>
|
359 |
+
</div>
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
<div class="eight section section-odd clear">
|
363 |
+
<div class="landing-container">
|
364 |
+
<div class="col-2">
|
365 |
+
<div class="section-title">
|
366 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08-icon.png" alt="icon 06" />
|
367 |
+
<h2><?php _e('CUSTOMIZABLE STYLE','yith-woocommerce-compare');?></h2>
|
368 |
+
</div>
|
369 |
+
<p>
|
370 |
+
<?php echo sprintf( __( 'An advanced option panel that let you change all the colors of the plugin, so that you can adapt stylistically all its elements %1$sto the layout%2$s of your shop.We know it, looks also count... and we give you the right tools to get to the best result.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
371 |
+
</p>
|
372 |
+
</div>
|
373 |
+
<div class="col-1">
|
374 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08.png" alt="Social networks" />
|
375 |
+
</div>
|
376 |
+
</div>
|
377 |
+
</div>
|
378 |
+
<div class="nine section section-even clear">
|
379 |
+
<div class="landing-container">
|
380 |
+
<div class="col-1">
|
381 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/09.png" alt="Related products" />
|
382 |
+
</div>
|
383 |
+
<div class="col-2">
|
384 |
+
<div class="section-title">
|
385 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/09-icon.png" alt="icon 09" />
|
386 |
+
<h2><?php _e('CUSTOMIZED ATTRIBUTES','yith-woocommerce-compare');?></h2>
|
387 |
+
</div>
|
388 |
+
<p>
|
389 |
+
<?php echo sprintf( __('Let you users compare products following every feature, and considering also all those %1$sattributes%2$s that can be manually created in within the product detail page. Every single detail will be included.','yith-woocommerce-compare'),'<b>','</b>'); ?>
|
390 |
+
</p>
|
391 |
+
</div>
|
392 |
+
</div>
|
393 |
+
</div>
|
394 |
+
<div class="ten section section-odd clear">
|
395 |
+
<div class="landing-container">
|
396 |
+
<div class="col-2">
|
397 |
+
<div class="section-title">
|
398 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10-icon.png" alt="icon 10" />
|
399 |
+
<h2><?php _e('A TAILORED TABLE','yith-woocommerce-compare');?></h2>
|
400 |
+
</div>
|
401 |
+
<p>
|
402 |
+
<?php echo sprintf( __( 'Select the products you want to compare and the system will offer you the %1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
403 |
+
</p>
|
404 |
+
</div>
|
405 |
+
<div class="col-1">
|
406 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10.png" alt="Social networks" />
|
407 |
+
</div>
|
408 |
+
</div>
|
409 |
+
</div>
|
410 |
+
<div class="eleven section section-even clear">
|
411 |
+
<div class="landing-container">
|
412 |
+
<div class="col-1">
|
413 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/11.png" alt="Widget" />
|
414 |
+
</div>
|
415 |
+
<div class="col-2">
|
416 |
+
<div class="section-title">
|
417 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/11-icon.png" alt="icon 11" />
|
418 |
+
<h2><?php _e('Compare list - widget','yith-woocommerce-compare');?></h2>
|
419 |
+
</div>
|
420 |
+
<p>
|
421 |
+
<?php echo sprintf( __('Thanks to YITH WooCommerce Comapre Widget users could verify at any time the complete list of products added to the compare tab and avoid to open the popup to check its existence. ','yith-woocommerce-compare'),'<b>','</b>'); ?>
|
422 |
+
</p>
|
423 |
+
</div>
|
424 |
+
</div>
|
425 |
+
</div>
|
426 |
+
<div class="twelve section section-odd clear">
|
427 |
+
<div class="landing-container">
|
428 |
+
<div class="col-2">
|
429 |
+
<div class="section-title">
|
430 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/12-icon.png" alt="icon 12" />
|
431 |
+
<h2><?php _e('Compare counter - widget and shortcode','yith-woocommerce-compare');?></h2>
|
432 |
+
</div>
|
433 |
+
<p>
|
434 |
+
<?php echo sprintf( __( 'Moreover, if you want to give your users the chance to see in a glance how many products they have added to the Compare list, feel free to use the widget or the shortcode included. And their Compare list is always no more than one click away.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
|
435 |
+
</p>
|
436 |
+
</div>
|
437 |
+
<div class="col-1">
|
438 |
+
<img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/12.png" alt="Social networks" />
|
439 |
+
</div>
|
440 |
+
</div>
|
441 |
+
</div>
|
442 |
+
<div class="section section-cta section-odd">
|
443 |
+
<div class="landing-container">
|
444 |
+
<div class="premium-cta">
|
445 |
+
<p>
|
446 |
+
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-woocommerce-compare'),'<span class="highlight">','</span>' );?>
|
447 |
+
</p>
|
448 |
+
<a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
449 |
+
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-compare');?></span>
|
450 |
+
<span><?php _e('to the premium version','yith-woocommerce-compare');?></span>
|
451 |
+
</a>
|
452 |
+
</div>
|
453 |
+
</div>
|
454 |
+
</div>
|
455 |
</div>
|
templates/compare.php
CHANGED
@@ -1,285 +1,285 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Woocommerce Compare page
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH Woocommerce Compare
|
7 |
-
* @version 2.3.2
|
8 |
-
*/
|
9 |
-
|
10 |
-
// remove the style of woocommerce
|
11 |
-
if( defined('WOOCOMMERCE_USE_CSS') && WOOCOMMERCE_USE_CSS ) wp_dequeue_style('woocommerce_frontend_styles');
|
12 |
-
|
13 |
-
$is_iframe = (bool)( isset( $_REQUEST['iframe'] ) && $_REQUEST['iframe'] );
|
14 |
-
|
15 |
-
wp_enqueue_script( 'jquery-imagesloaded', YITH_WOOCOMPARE_ASSETS_URL . '/js/imagesloaded.pkgd.min.js', array('jquery'), '3.1.8', true );
|
16 |
-
wp_enqueue_script( 'jquery-fixedheadertable', YITH_WOOCOMPARE_ASSETS_URL . '/js/jquery.dataTables.min.js', array('jquery'), '1.10.19', true );
|
17 |
-
wp_enqueue_script( 'jquery-fixedcolumns', YITH_WOOCOMPARE_ASSETS_URL . '/js/FixedColumns.min.js', array('jquery', 'jquery-fixedheadertable'), '3.2.6', true );
|
18 |
-
|
19 |
-
$widths = array();
|
20 |
-
foreach( $products as $product ) $widths[] = '{ "sWidth": "205px", resizeable:true }';
|
21 |
-
|
22 |
-
$table_text = get_option( 'yith_woocompare_table_text' );
|
23 |
-
do_action ( 'wpml_register_single_string', 'Plugins', 'plugin_yit_compare_table_text', $table_text );
|
24 |
-
$localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_text, 'Plugins', 'plugin_yit_compare_table_text' );
|
25 |
-
|
26 |
-
?><!DOCTYPE html>
|
27 |
-
<!--[if IE 6]>
|
28 |
-
<html id="ie6" class="ie"<?php language_attributes() ?>>
|
29 |
-
<![endif]-->
|
30 |
-
<!--[if IE 7]>
|
31 |
-
<html id="ie7" class="ie"<?php language_attributes() ?>>
|
32 |
-
<![endif]-->
|
33 |
-
<!--[if IE 8]>
|
34 |
-
<html id="ie8" class="ie"<?php language_attributes() ?>>
|
35 |
-
<![endif]-->
|
36 |
-
<!--[if IE 9]>
|
37 |
-
<html id="ie9" class="ie"<?php language_attributes() ?>>
|
38 |
-
<![endif]-->
|
39 |
-
<!--[if gt IE 9]>
|
40 |
-
<html class="ie"<?php language_attributes() ?>>
|
41 |
-
<![endif]-->
|
42 |
-
<!--[if !IE]>
|
43 |
-
<html <?php language_attributes() ?>>
|
44 |
-
<![endif]-->
|
45 |
-
|
46 |
-
<!-- START HEAD -->
|
47 |
-
<head>
|
48 |
-
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
49 |
-
<meta name="viewport" content="width=device-width" />
|
50 |
-
<title><?php _e( 'Product Comparison', 'yith-woocommerce-compare' ) ?></title>
|
51 |
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
52 |
-
|
53 |
-
<?php wp_head() ?>
|
54 |
-
|
55 |
-
<?php do_action( 'yith_woocompare_popup_head' ) ?>
|
56 |
-
|
57 |
-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" />
|
58 |
-
<link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/colorbox.css"/>
|
59 |
-
<link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/jquery.dataTables.css"/>
|
60 |
-
<link rel="stylesheet" href="<?php echo $this->stylesheet_url() ?>" type="text/css" />
|
61 |
-
|
62 |
-
<style type="text/css">
|
63 |
-
body.loading {
|
64 |
-
background: url("<?php echo YITH_WOOCOMPARE_URL ?>assets/images/colorbox/loading.gif") no-repeat scroll center center transparent;
|
65 |
-
}
|
66 |
-
</style>
|
67 |
-
</head>
|
68 |
-
<!-- END HEAD -->
|
69 |
-
|
70 |
-
<?php global $product; ?>
|
71 |
-
|
72 |
-
<!-- START BODY -->
|
73 |
-
<body <?php body_class('woocommerce') ?>>
|
74 |
-
|
75 |
-
<h1>
|
76 |
-
<?php echo $localized_table_text ?>
|
77 |
-
<?php if ( ! $is_iframe ) : ?><a class="close" href="#"><?php _e( 'Close window [X]', 'yith-woocommerce-compare' ) ?></a><?php endif; ?>
|
78 |
-
</h1>
|
79 |
-
|
80 |
-
<div id="yith-woocompare" class="woocommerce">
|
81 |
-
|
82 |
-
<?php do_action( 'yith_woocompare_before_main_table' ); ?>
|
83 |
-
|
84 |
-
<table class="compare-list" cellpadding="0" cellspacing="0"<?php if ( empty( $products ) ) echo ' style="width:100%"' ?>>
|
85 |
-
<thead>
|
86 |
-
<tr>
|
87 |
-
<th> </th>
|
88 |
-
<?php foreach( $products as $product_id => $product ) : ?>
|
89 |
-
<td></td>
|
90 |
-
<?php endforeach; ?>
|
91 |
-
</tr>
|
92 |
-
</thead>
|
93 |
-
<tfoot>
|
94 |
-
<tr>
|
95 |
-
<th> </th>
|
96 |
-
<?php foreach( $products as $product_id => $product ) : ?>
|
97 |
-
<td></td>
|
98 |
-
<?php endforeach; ?>
|
99 |
-
</tr>
|
100 |
-
</tfoot>
|
101 |
-
<tbody>
|
102 |
-
|
103 |
-
<?php if ( empty( $products ) ) : ?>
|
104 |
-
|
105 |
-
<tr class="no-products">
|
106 |
-
<td><?php _e( 'No products added in the compare table.', 'yith-woocommerce-compare' ) ?></td>
|
107 |
-
</tr>
|
108 |
-
|
109 |
-
<?php else : ?>
|
110 |
-
<tr class="remove">
|
111 |
-
<th> </th>
|
112 |
-
<?php
|
113 |
-
$index = 0;
|
114 |
-
foreach( $products as $product_id => $product ) :
|
115 |
-
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id ?>
|
116 |
-
<td class="<?php echo $product_class; ?>">
|
117 |
-
<a href="<?php echo add_query_arg( 'redirect', 'view', $this->remove_product_url( $product_id ) ) ?>" data-product_id="<?php echo $product_id; ?>"><?php _e( 'Remove', 'yith-woocommerce-compare' ) ?> <span class="remove">x</span></a>
|
118 |
-
</td>
|
119 |
-
<?php
|
120 |
-
++$index;
|
121 |
-
endforeach;
|
122 |
-
?>
|
123 |
-
</tr>
|
124 |
-
|
125 |
-
<?php foreach ( $fields as $field => $name ) : ?>
|
126 |
-
|
127 |
-
<tr class="<?php echo $field ?>">
|
128 |
-
|
129 |
-
<th>
|
130 |
-
<?php if ( $field != 'image' ) echo $name ?>
|
131 |
-
</th>
|
132 |
-
|
133 |
-
<?php
|
134 |
-
$index = 0;
|
135 |
-
foreach( $products as $product_id => $product ) :
|
136 |
-
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id; ?>
|
137 |
-
<td class="<?php echo $product_class; ?>"><?php
|
138 |
-
switch( $field ) {
|
139 |
-
|
140 |
-
case 'image':
|
141 |
-
echo '<div class="image-wrap">' . $product->get_image( 'yith-woocompare-image' ) . '</div>';
|
142 |
-
break;
|
143 |
-
|
144 |
-
case 'add-to-cart':
|
145 |
-
woocommerce_template_loop_add_to_cart();
|
146 |
-
break;
|
147 |
-
|
148 |
-
default:
|
149 |
-
echo empty( $product->fields[$field] ) ? ' ' : $product->fields[$field];
|
150 |
-
break;
|
151 |
-
}
|
152 |
-
?>
|
153 |
-
</td>
|
154 |
-
<?php
|
155 |
-
++$index;
|
156 |
-
endforeach; ?>
|
157 |
-
|
158 |
-
</tr>
|
159 |
-
|
160 |
-
<?php endforeach; ?>
|
161 |
-
|
162 |
-
<?php if ( $repeat_price == 'yes' && isset( $fields['price'] ) ) : ?>
|
163 |
-
<tr class="price repeated">
|
164 |
-
<th><?php echo $fields['price'] ?></th>
|
165 |
-
|
166 |
-
<?php
|
167 |
-
$index = 0;
|
168 |
-
foreach( $products as $product_id => $product ) :
|
169 |
-
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id ?>
|
170 |
-
<td class="<?php echo $product_class ?>"><?php echo $product->fields['price'] ?></td>
|
171 |
-
<?php
|
172 |
-
++$index;
|
173 |
-
endforeach; ?>
|
174 |
-
|
175 |
-
</tr>
|
176 |
-
<?php endif; ?>
|
177 |
-
|
178 |
-
<?php if ( $repeat_add_to_cart == 'yes' && isset( $fields['add-to-cart'] ) ) : ?>
|
179 |
-
<tr class="add-to-cart repeated">
|
180 |
-
<th><?php echo $fields['add-to-cart'] ?></th>
|
181 |
-
|
182 |
-
<?php
|
183 |
-
$index = 0;
|
184 |
-
foreach( $products as $product_id => $product ) :
|
185 |
-
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id ?>
|
186 |
-
<td class="<?php echo $product_class ?>">
|
187 |
-
<?php woocommerce_template_loop_add_to_cart(); ?>
|
188 |
-
</td>
|
189 |
-
<?php
|
190 |
-
++$index;
|
191 |
-
endforeach; ?>
|
192 |
-
|
193 |
-
</tr>
|
194 |
-
<?php endif; ?>
|
195 |
-
|
196 |
-
<?php endif; ?>
|
197 |
-
|
198 |
-
</tbody>
|
199 |
-
</table>
|
200 |
-
|
201 |
-
<?php do_action( 'yith_woocompare_after_main_table' ); ?>
|
202 |
-
|
203 |
-
</div>
|
204 |
-
|
205 |
-
<?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?><?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?>
|
206 |
-
<?php print_footer_scripts(); ?>
|
207 |
-
|
208 |
-
<script type="text/javascript">
|
209 |
-
|
210 |
-
jQuery(document).ready(function($){
|
211 |
-
$('a').attr('target', '_parent');
|
212 |
-
|
213 |
-
var oTable;
|
214 |
-
$('body').on( 'yith_woocompare_render_table', function(){
|
215 |
-
|
216 |
-
var t = $('table.compare-list');
|
217 |
-
|
218 |
-
if( typeof $.fn.DataTable != 'undefined' && typeof $.fn.imagesLoaded != 'undefined' && $(window).width() > 767 ) {
|
219 |
-
t.imagesLoaded( function(){
|
220 |
-
oTable = t.DataTable( {
|
221 |
-
'info': false,
|
222 |
-
'scrollX': true,
|
223 |
-
'scrollCollapse': true,
|
224 |
-
'paging': false,
|
225 |
-
'ordering': false,
|
226 |
-
'searching': false,
|
227 |
-
'autoWidth': false,
|
228 |
-
'destroy': true,
|
229 |
-
'fixedColumns': true
|
230 |
-
});
|
231 |
-
});
|
232 |
-
}
|
233 |
-
}).trigger('yith_woocompare_render_table');
|
234 |
-
|
235 |
-
// add to cart
|
236 |
-
var redirect_to_cart = false,
|
237 |
-
body = $('body');
|
238 |
-
|
239 |
-
// close colorbox if redirect to cart is active after add to cart
|
240 |
-
body.on( 'adding_to_cart', function ( $thisbutton, data ) {
|
241 |
-
if( wc_add_to_cart_params.cart_redirect_after_add == 'yes' ) {
|
242 |
-
wc_add_to_cart_params.cart_redirect_after_add = 'no';
|
243 |
-
redirect_to_cart = true;
|
244 |
-
}
|
245 |
-
});
|
246 |
-
|
247 |
-
body.on('wc_cart_button_updated', function( ev, button ){
|
248 |
-
$('a.added_to_cart').attr('target', '_parent');
|
249 |
-
});
|
250 |
-
|
251 |
-
// remove add to cart button after added
|
252 |
-
body.on('added_to_cart', function( ev, fragments, cart_hash, button ){
|
253 |
-
|
254 |
-
$('a').attr('target', '_parent');
|
255 |
-
|
256 |
-
if( redirect_to_cart == true ) {
|
257 |
-
// redirect
|
258 |
-
parent.window.location = wc_add_to_cart_params.cart_url;
|
259 |
-
return;
|
260 |
-
}
|
261 |
-
|
262 |
-
// Replace fragments
|
263 |
-
if ( fragments ) {
|
264 |
-
$.each(fragments, function(key, value) {
|
265 |
-
$(key, window.parent.document).replaceWith(value);
|
266 |
-
});
|
267 |
-
}
|
268 |
-
});
|
269 |
-
|
270 |
-
// close window
|
271 |
-
$(document).on( 'click', 'a.close', function(e){
|
272 |
-
e.preventDefault();
|
273 |
-
window.close();
|
274 |
-
});
|
275 |
-
|
276 |
-
$(window).on( 'resize yith_woocompare_product_removed', function(){
|
277 |
-
$('body').trigger('yith_woocompare_render_table');
|
278 |
-
});
|
279 |
-
|
280 |
-
});
|
281 |
-
|
282 |
-
</script>
|
283 |
-
|
284 |
-
</body>
|
285 |
</html>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Woocommerce Compare page
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH Woocommerce Compare
|
7 |
+
* @version 2.3.2
|
8 |
+
*/
|
9 |
+
|
10 |
+
// remove the style of woocommerce
|
11 |
+
if( defined('WOOCOMMERCE_USE_CSS') && WOOCOMMERCE_USE_CSS ) wp_dequeue_style('woocommerce_frontend_styles');
|
12 |
+
|
13 |
+
$is_iframe = (bool)( isset( $_REQUEST['iframe'] ) && $_REQUEST['iframe'] );
|
14 |
+
|
15 |
+
wp_enqueue_script( 'jquery-imagesloaded', YITH_WOOCOMPARE_ASSETS_URL . '/js/imagesloaded.pkgd.min.js', array('jquery'), '3.1.8', true );
|
16 |
+
wp_enqueue_script( 'jquery-fixedheadertable', YITH_WOOCOMPARE_ASSETS_URL . '/js/jquery.dataTables.min.js', array('jquery'), '1.10.19', true );
|
17 |
+
wp_enqueue_script( 'jquery-fixedcolumns', YITH_WOOCOMPARE_ASSETS_URL . '/js/FixedColumns.min.js', array('jquery', 'jquery-fixedheadertable'), '3.2.6', true );
|
18 |
+
|
19 |
+
$widths = array();
|
20 |
+
foreach( $products as $product ) $widths[] = '{ "sWidth": "205px", resizeable:true }';
|
21 |
+
|
22 |
+
$table_text = get_option( 'yith_woocompare_table_text' );
|
23 |
+
do_action ( 'wpml_register_single_string', 'Plugins', 'plugin_yit_compare_table_text', $table_text );
|
24 |
+
$localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_text, 'Plugins', 'plugin_yit_compare_table_text' );
|
25 |
+
|
26 |
+
?><!DOCTYPE html>
|
27 |
+
<!--[if IE 6]>
|
28 |
+
<html id="ie6" class="ie"<?php language_attributes() ?>>
|
29 |
+
<![endif]-->
|
30 |
+
<!--[if IE 7]>
|
31 |
+
<html id="ie7" class="ie"<?php language_attributes() ?>>
|
32 |
+
<![endif]-->
|
33 |
+
<!--[if IE 8]>
|
34 |
+
<html id="ie8" class="ie"<?php language_attributes() ?>>
|
35 |
+
<![endif]-->
|
36 |
+
<!--[if IE 9]>
|
37 |
+
<html id="ie9" class="ie"<?php language_attributes() ?>>
|
38 |
+
<![endif]-->
|
39 |
+
<!--[if gt IE 9]>
|
40 |
+
<html class="ie"<?php language_attributes() ?>>
|
41 |
+
<![endif]-->
|
42 |
+
<!--[if !IE]>
|
43 |
+
<html <?php language_attributes() ?>>
|
44 |
+
<![endif]-->
|
45 |
+
|
46 |
+
<!-- START HEAD -->
|
47 |
+
<head>
|
48 |
+
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
49 |
+
<meta name="viewport" content="width=device-width" />
|
50 |
+
<title><?php _e( 'Product Comparison', 'yith-woocommerce-compare' ) ?></title>
|
51 |
+
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
52 |
+
|
53 |
+
<?php wp_head() ?>
|
54 |
+
|
55 |
+
<?php do_action( 'yith_woocompare_popup_head' ) ?>
|
56 |
+
|
57 |
+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" />
|
58 |
+
<link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/colorbox.css"/>
|
59 |
+
<link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/jquery.dataTables.css"/>
|
60 |
+
<link rel="stylesheet" href="<?php echo $this->stylesheet_url() ?>" type="text/css" />
|
61 |
+
|
62 |
+
<style type="text/css">
|
63 |
+
body.loading {
|
64 |
+
background: url("<?php echo YITH_WOOCOMPARE_URL ?>assets/images/colorbox/loading.gif") no-repeat scroll center center transparent;
|
65 |
+
}
|
66 |
+
</style>
|
67 |
+
</head>
|
68 |
+
<!-- END HEAD -->
|
69 |
+
|
70 |
+
<?php global $product; ?>
|
71 |
+
|
72 |
+
<!-- START BODY -->
|
73 |
+
<body <?php body_class('woocommerce') ?>>
|
74 |
+
|
75 |
+
<h1>
|
76 |
+
<?php echo $localized_table_text ?>
|
77 |
+
<?php if ( ! $is_iframe ) : ?><a class="close" href="#"><?php _e( 'Close window [X]', 'yith-woocommerce-compare' ) ?></a><?php endif; ?>
|
78 |
+
</h1>
|
79 |
+
|
80 |
+
<div id="yith-woocompare" class="woocommerce">
|
81 |
+
|
82 |
+
<?php do_action( 'yith_woocompare_before_main_table' ); ?>
|
83 |
+
|
84 |
+
<table class="compare-list" cellpadding="0" cellspacing="0"<?php if ( empty( $products ) ) echo ' style="width:100%"' ?>>
|
85 |
+
<thead>
|
86 |
+
<tr>
|
87 |
+
<th> </th>
|
88 |
+
<?php foreach( $products as $product_id => $product ) : ?>
|
89 |
+
<td></td>
|
90 |
+
<?php endforeach; ?>
|
91 |
+
</tr>
|
92 |
+
</thead>
|
93 |
+
<tfoot>
|
94 |
+
<tr>
|
95 |
+
<th> </th>
|
96 |
+
<?php foreach( $products as $product_id => $product ) : ?>
|
97 |
+
<td></td>
|
98 |
+
<?php endforeach; ?>
|
99 |
+
</tr>
|
100 |
+
</tfoot>
|
101 |
+
<tbody>
|
102 |
+
|
103 |
+
<?php if ( empty( $products ) ) : ?>
|
104 |
+
|
105 |
+
<tr class="no-products">
|
106 |
+
<td><?php _e( 'No products added in the compare table.', 'yith-woocommerce-compare' ) ?></td>
|
107 |
+
</tr>
|
108 |
+
|
109 |
+
<?php else : ?>
|
110 |
+
<tr class="remove">
|
111 |
+
<th> </th>
|
112 |
+
<?php
|
113 |
+
$index = 0;
|
114 |
+
foreach( $products as $product_id => $product ) :
|
115 |
+
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id ?>
|
116 |
+
<td class="<?php echo $product_class; ?>">
|
117 |
+
<a href="<?php echo add_query_arg( 'redirect', 'view', $this->remove_product_url( $product_id ) ) ?>" data-product_id="<?php echo $product_id; ?>"><?php _e( 'Remove', 'yith-woocommerce-compare' ) ?> <span class="remove">x</span></a>
|
118 |
+
</td>
|
119 |
+
<?php
|
120 |
+
++$index;
|
121 |
+
endforeach;
|
122 |
+
?>
|
123 |
+
</tr>
|
124 |
+
|
125 |
+
<?php foreach ( $fields as $field => $name ) : ?>
|
126 |
+
|
127 |
+
<tr class="<?php echo $field ?>">
|
128 |
+
|
129 |
+
<th>
|
130 |
+
<?php if ( $field != 'image' ) echo $name ?>
|
131 |
+
</th>
|
132 |
+
|
133 |
+
<?php
|
134 |
+
$index = 0;
|
135 |
+
foreach( $products as $product_id => $product ) :
|
136 |
+
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id; ?>
|
137 |
+
<td class="<?php echo $product_class; ?>"><?php
|
138 |
+
switch( $field ) {
|
139 |
+
|
140 |
+
case 'image':
|
141 |
+
echo '<div class="image-wrap">' . $product->get_image( 'yith-woocompare-image' ) . '</div>';
|
142 |
+
break;
|
143 |
+
|
144 |
+
case 'add-to-cart':
|
145 |
+
woocommerce_template_loop_add_to_cart();
|
146 |
+
break;
|
147 |
+
|
148 |
+
default:
|
149 |
+
echo empty( $product->fields[$field] ) ? ' ' : $product->fields[$field];
|
150 |
+
break;
|
151 |
+
}
|
152 |
+
?>
|
153 |
+
</td>
|
154 |
+
<?php
|
155 |
+
++$index;
|
156 |
+
endforeach; ?>
|
157 |
+
|
158 |
+
</tr>
|
159 |
+
|
160 |
+
<?php endforeach; ?>
|
161 |
+
|
162 |
+
<?php if ( $repeat_price == 'yes' && isset( $fields['price'] ) ) : ?>
|
163 |
+
<tr class="price repeated">
|
164 |
+
<th><?php echo $fields['price'] ?></th>
|
165 |
+
|
166 |
+
<?php
|
167 |
+
$index = 0;
|
168 |
+
foreach( $products as $product_id => $product ) :
|
169 |
+
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id ?>
|
170 |
+
<td class="<?php echo $product_class ?>"><?php echo $product->fields['price'] ?></td>
|
171 |
+
<?php
|
172 |
+
++$index;
|
173 |
+
endforeach; ?>
|
174 |
+
|
175 |
+
</tr>
|
176 |
+
<?php endif; ?>
|
177 |
+
|
178 |
+
<?php if ( $repeat_add_to_cart == 'yes' && isset( $fields['add-to-cart'] ) ) : ?>
|
179 |
+
<tr class="add-to-cart repeated">
|
180 |
+
<th><?php echo $fields['add-to-cart'] ?></th>
|
181 |
+
|
182 |
+
<?php
|
183 |
+
$index = 0;
|
184 |
+
foreach( $products as $product_id => $product ) :
|
185 |
+
$product_class = ( $index % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product_id ?>
|
186 |
+
<td class="<?php echo $product_class ?>">
|
187 |
+
<?php woocommerce_template_loop_add_to_cart(); ?>
|
188 |
+
</td>
|
189 |
+
<?php
|
190 |
+
++$index;
|
191 |
+
endforeach; ?>
|
192 |
+
|
193 |
+
</tr>
|
194 |
+
<?php endif; ?>
|
195 |
+
|
196 |
+
<?php endif; ?>
|
197 |
+
|
198 |
+
</tbody>
|
199 |
+
</table>
|
200 |
+
|
201 |
+
<?php do_action( 'yith_woocompare_after_main_table' ); ?>
|
202 |
+
|
203 |
+
</div>
|
204 |
+
|
205 |
+
<?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?><?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?>
|
206 |
+
<?php print_footer_scripts(); ?>
|
207 |
+
|
208 |
+
<script type="text/javascript">
|
209 |
+
|
210 |
+
jQuery(document).ready(function($){
|
211 |
+
$('a').attr('target', '_parent');
|
212 |
+
|
213 |
+
var oTable;
|
214 |
+
$('body').on( 'yith_woocompare_render_table', function(){
|
215 |
+
|
216 |
+
var t = $('table.compare-list');
|
217 |
+
|
218 |
+
if( typeof $.fn.DataTable != 'undefined' && typeof $.fn.imagesLoaded != 'undefined' && $(window).width() > 767 ) {
|
219 |
+
t.imagesLoaded( function(){
|
220 |
+
oTable = t.DataTable( {
|
221 |
+
'info': false,
|
222 |
+
'scrollX': true,
|
223 |
+
'scrollCollapse': true,
|
224 |
+
'paging': false,
|
225 |
+
'ordering': false,
|
226 |
+
'searching': false,
|
227 |
+
'autoWidth': false,
|
228 |
+
'destroy': true,
|
229 |
+
'fixedColumns': true
|
230 |
+
});
|
231 |
+
});
|
232 |
+
}
|
233 |
+
}).trigger('yith_woocompare_render_table');
|
234 |
+
|
235 |
+
// add to cart
|
236 |
+
var redirect_to_cart = false,
|
237 |
+
body = $('body');
|
238 |
+
|
239 |
+
// close colorbox if redirect to cart is active after add to cart
|
240 |
+
body.on( 'adding_to_cart', function ( $thisbutton, data ) {
|
241 |
+
if( wc_add_to_cart_params.cart_redirect_after_add == 'yes' ) {
|
242 |
+
wc_add_to_cart_params.cart_redirect_after_add = 'no';
|
243 |
+
redirect_to_cart = true;
|
244 |
+
}
|
245 |
+
});
|
246 |
+
|
247 |
+
body.on('wc_cart_button_updated', function( ev, button ){
|
248 |
+
$('a.added_to_cart').attr('target', '_parent');
|
249 |
+
});
|
250 |
+
|
251 |
+
// remove add to cart button after added
|
252 |
+
body.on('added_to_cart', function( ev, fragments, cart_hash, button ){
|
253 |
+
|
254 |
+
$('a').attr('target', '_parent');
|
255 |
+
|
256 |
+
if( redirect_to_cart == true ) {
|
257 |
+
// redirect
|
258 |
+
parent.window.location = wc_add_to_cart_params.cart_url;
|
259 |
+
return;
|
260 |
+
}
|
261 |
+
|
262 |
+
// Replace fragments
|
263 |
+
if ( fragments ) {
|
264 |
+
$.each(fragments, function(key, value) {
|
265 |
+
$(key, window.parent.document).replaceWith(value);
|
266 |
+
});
|
267 |
+
}
|
268 |
+
});
|
269 |
+
|
270 |
+
// close window
|
271 |
+
$(document).on( 'click', 'a.close', function(e){
|
272 |
+
e.preventDefault();
|
273 |
+
window.close();
|
274 |
+
});
|
275 |
+
|
276 |
+
$(window).on( 'resize yith_woocompare_product_removed', function(){
|
277 |
+
$('body').trigger('yith_woocompare_render_table');
|
278 |
+
});
|
279 |
+
|
280 |
+
});
|
281 |
+
|
282 |
+
</script>
|
283 |
+
|
284 |
+
</body>
|
285 |
</html>
|
widgets/class.yith-woocompare-widget.php
CHANGED
@@ -1,84 +1,84 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main class
|
4 |
-
*
|
5 |
-
* @author YITH
|
6 |
-
* @package YITH WooCommerce Ajax Navigation
|
7 |
-
* @version 1.1.4
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
if( !class_exists( 'YITH_WOOCOMPARE' ) ) {
|
13 |
-
/**
|
14 |
-
* YITH WooCommerce Ajax Navigation Widget
|
15 |
-
*
|
16 |
-
* @since 1.0.0
|
17 |
-
*/
|
18 |
-
class YITH_Woocompare_Widget extends WP_Widget {
|
19 |
-
|
20 |
-
function __construct() {
|
21 |
-
$widget_ops = array (
|
22 |
-
'classname' => 'yith-woocompare-widget',
|
23 |
-
'description' => __( 'The widget shows the list of products added in the comparison table.', 'yith-woocommerce-compare'
|
24 |
-
)
|
25 |
-
);
|
26 |
-
|
27 |
-
parent::__construct( 'yith-woocompare-widget', __( 'YITH WooCommerce Compare Widget', 'yith-woocommerce-compare' ), $widget_ops );
|
28 |
-
}
|
29 |
-
|
30 |
-
|
31 |
-
function widget( $args, $instance ) {
|
32 |
-
global $yith_woocompare;
|
33 |
-
|
34 |
-
/**
|
35 |
-
* WPML Support
|
36 |
-
*/
|
37 |
-
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : false;
|
38 |
-
|
39 |
-
extract( $args );
|
40 |
-
|
41 |
-
do_action ( 'wpml_register_single_string', 'Widget', 'widget_yit_compare_title_text', $instance['title'] );
|
42 |
-
$localized_widget_title = apply_filters ( 'wpml_translate_single_string', $instance['title'], 'Widget', 'widget_yit_compare_title_text' );
|
43 |
-
|
44 |
-
echo $before_widget . $before_title . $localized_widget_title . $after_title; ?>
|
45 |
-
|
46 |
-
<ul class="products-list" data-lang="<?php echo $lang ?>">
|
47 |
-
<?php echo $yith_woocompare->obj->list_products_html(); ?>
|
48 |
-
</ul>
|
49 |
-
|
50 |
-
<a href="<?php echo $yith_woocompare->obj->remove_product_url('all') ?>" data-product_id="all" class="clear-all" rel="nofollow"><?php _e( 'Clear all', 'yith-woocommerce-compare' ) ?></a>
|
51 |
-
<a href="<?php echo $yith_woocompare->obj->view_table_url() ?>" class="compare added button" rel="nofollow"><?php _e( 'Compare', 'yith-woocommerce-compare' ) ?></a>
|
52 |
-
|
53 |
-
<?php echo $after_widget;
|
54 |
-
}
|
55 |
-
|
56 |
-
|
57 |
-
function form( $instance ) {
|
58 |
-
global $woocommerce;
|
59 |
-
|
60 |
-
$defaults = array(
|
61 |
-
'title' => '',
|
62 |
-
);
|
63 |
-
|
64 |
-
$instance = wp_parse_args( (array) $instance, $defaults ); ?>
|
65 |
-
|
66 |
-
<p>
|
67 |
-
<label>
|
68 |
-
<?php _e( 'Title', 'yith-woocommerce-compare' ) ?>:<br />
|
69 |
-
<input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" />
|
70 |
-
</label>
|
71 |
-
</p>
|
72 |
-
<?php
|
73 |
-
}
|
74 |
-
|
75 |
-
function update( $new_instance, $old_instance ) {
|
76 |
-
$instance = $old_instance;
|
77 |
-
|
78 |
-
$instance['title'] = strip_tags( $new_instance['title'] );
|
79 |
-
|
80 |
-
return $instance;
|
81 |
-
}
|
82 |
-
|
83 |
-
}
|
84 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main class
|
4 |
+
*
|
5 |
+
* @author YITH
|
6 |
+
* @package YITH WooCommerce Ajax Navigation
|
7 |
+
* @version 1.1.4
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
|
11 |
+
|
12 |
+
if( !class_exists( 'YITH_WOOCOMPARE' ) ) {
|
13 |
+
/**
|
14 |
+
* YITH WooCommerce Ajax Navigation Widget
|
15 |
+
*
|
16 |
+
* @since 1.0.0
|
17 |
+
*/
|
18 |
+
class YITH_Woocompare_Widget extends WP_Widget {
|
19 |
+
|
20 |
+
function __construct() {
|
21 |
+
$widget_ops = array (
|
22 |
+
'classname' => 'yith-woocompare-widget',
|
23 |
+
'description' => __( 'The widget shows the list of products added in the comparison table.', 'yith-woocommerce-compare'
|
24 |
+
)
|
25 |
+
);
|
26 |
+
|
27 |
+
parent::__construct( 'yith-woocompare-widget', __( 'YITH WooCommerce Compare Widget', 'yith-woocommerce-compare' ), $widget_ops );
|
28 |
+
}
|
29 |
+
|
30 |
+
|
31 |
+
function widget( $args, $instance ) {
|
32 |
+
global $yith_woocompare;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* WPML Support
|
36 |
+
*/
|
37 |
+
$lang = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : false;
|
38 |
+
|
39 |
+
extract( $args );
|
40 |
+
|
41 |
+
do_action ( 'wpml_register_single_string', 'Widget', 'widget_yit_compare_title_text', $instance['title'] );
|
42 |
+
$localized_widget_title = apply_filters ( 'wpml_translate_single_string', $instance['title'], 'Widget', 'widget_yit_compare_title_text' );
|
43 |
+
|
44 |
+
echo $before_widget . $before_title . $localized_widget_title . $after_title; ?>
|
45 |
+
|
46 |
+
<ul class="products-list" data-lang="<?php echo $lang ?>">
|
47 |
+
<?php echo $yith_woocompare->obj->list_products_html(); ?>
|
48 |
+
</ul>
|
49 |
+
|
50 |
+
<a href="<?php echo $yith_woocompare->obj->remove_product_url('all') ?>" data-product_id="all" class="clear-all" rel="nofollow"><?php _e( 'Clear all', 'yith-woocommerce-compare' ) ?></a>
|
51 |
+
<a href="<?php echo $yith_woocompare->obj->view_table_url() ?>" class="compare added button" rel="nofollow"><?php _e( 'Compare', 'yith-woocommerce-compare' ) ?></a>
|
52 |
+
|
53 |
+
<?php echo $after_widget;
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
function form( $instance ) {
|
58 |
+
global $woocommerce;
|
59 |
+
|
60 |
+
$defaults = array(
|
61 |
+
'title' => '',
|
62 |
+
);
|
63 |
+
|
64 |
+
$instance = wp_parse_args( (array) $instance, $defaults ); ?>
|
65 |
+
|
66 |
+
<p>
|
67 |
+
<label>
|
68 |
+
<?php _e( 'Title', 'yith-woocommerce-compare' ) ?>:<br />
|
69 |
+
<input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" />
|
70 |
+
</label>
|
71 |
+
</p>
|
72 |
+
<?php
|
73 |
+
}
|
74 |
+
|
75 |
+
function update( $new_instance, $old_instance ) {
|
76 |
+
$instance = $old_instance;
|
77 |
+
|
78 |
+
$instance['title'] = strip_tags( $new_instance['title'] );
|
79 |
+
|
80 |
+
return $instance;
|
81 |
+
}
|
82 |
+
|
83 |
+
}
|
84 |
}
|
wpml-config.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
<wpml-config>
|
2 |
-
<admin-texts>
|
3 |
-
<key name="yith_woocompare_button_text" />
|
4 |
-
<key name="yith_woocompare_table_text" />
|
5 |
-
</admin-texts>
|
6 |
</wpml-config>
|
1 |
+
<wpml-config>
|
2 |
+
<admin-texts>
|
3 |
+
<key name="yith_woocompare_button_text" />
|
4 |
+
<key name="yith_woocompare_table_text" />
|
5 |
+
</admin-texts>
|
6 |
</wpml-config>
|