YITH WooCommerce Wishlist - Version 2.0.13

Version Description

  • Added check over adding_to_cart event data existance in js procedures
  • Added 'yith_wcwl_added_to_cart_message' filter, to customize added to cart message in wishlist page
  • Added nofollow to "Add to Wishlist" links, where missing
  • Added 'yith_wcwl_email_share_subject' filter to customize share by email subject
  • Added 'yith_wcwl_email_share_body' filter to customize share by email body
  • Added function "yith_wcwl_count_all_products"
  • Fixed plugin-fw loading
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 2.0.13
Comparing to
See all releases

Code changes from version 2.0.12 to 2.0.13

Files changed (71) hide show
  1. README.txt +361 -348
  2. assets/css/admin.css +62 -62
  3. assets/css/style.css +587 -587
  4. assets/js/admin/yith-wcwl.js +4 -4
  5. assets/js/jquery.yith-wcwl.js +19 -19
  6. assets/js/unminified/admin/yith-wcwl.js +72 -72
  7. assets/js/unminified/jquery.yith-wcwl.js +603 -603
  8. includes/class.yith-wcwl-admin-init.php +1494 -1511
  9. includes/class.yith-wcwl-init.php +498 -479
  10. includes/class.yith-wcwl-install.php +260 -260
  11. includes/class.yith-wcwl-shortcode.php +373 -373
  12. includes/class.yith-wcwl-ui.php +223 -223
  13. includes/class.yith-wcwl.php +1457 -1457
  14. includes/functions.yith-wcwl.php +12 -0
  15. init.php +148 -146
  16. languages/yith-woocommerce-wishlist-de_DE.mo +0 -0
  17. languages/yith-woocommerce-wishlist-de_DE.po +139 -131
  18. languages/yith-woocommerce-wishlist-es_AR.mo +0 -0
  19. languages/yith-woocommerce-wishlist-es_AR.po +139 -131
  20. languages/yith-woocommerce-wishlist-es_ES.mo +0 -0
  21. languages/yith-woocommerce-wishlist-es_ES.po +142 -134
  22. languages/yith-woocommerce-wishlist-es_MX.mo +0 -0
  23. languages/yith-woocommerce-wishlist-es_MX.po +139 -131
  24. languages/yith-woocommerce-wishlist-fa_IR.mo +0 -0
  25. languages/yith-woocommerce-wishlist-fa_IR.po +142 -134
  26. languages/yith-woocommerce-wishlist-fr_FR.mo +0 -0
  27. languages/yith-woocommerce-wishlist-fr_FR.po +139 -131
  28. languages/yith-woocommerce-wishlist-he_IL.mo +0 -0
  29. languages/yith-woocommerce-wishlist-he_IL.po +139 -131
  30. languages/yith-woocommerce-wishlist-it_IT.mo +0 -0
  31. languages/yith-woocommerce-wishlist-it_IT.po +142 -134
  32. languages/yith-woocommerce-wishlist-pl_PL.mo +0 -0
  33. languages/yith-woocommerce-wishlist-pl_PL.po +141 -133
  34. languages/yith-woocommerce-wishlist-pt_BR.mo +0 -0
  35. languages/yith-woocommerce-wishlist-pt_BR.po +139 -131
  36. languages/yith-woocommerce-wishlist-pt_PT.mo +0 -0
  37. languages/yith-woocommerce-wishlist-pt_PT.po +139 -131
  38. languages/yith-woocommerce-wishlist-ru_RU.mo +0 -0
  39. languages/yith-woocommerce-wishlist-ru_RU.po +139 -131
  40. languages/yith-woocommerce-wishlist-sv_SE.mo +0 -0
  41. languages/yith-woocommerce-wishlist-sv_SE.po +142 -134
  42. languages/yith-woocommerce-wishlist-tr_TR.mo +0 -0
  43. languages/yith-woocommerce-wishlist-tr_TR.po +139 -131
  44. languages/yith-woocommerce-wishlist-uk_UA.mo +0 -0
  45. languages/yith-woocommerce-wishlist-uk_UA.po +139 -131
  46. languages/yith-woocommerce-wishlist-zh_CN.mo +0 -0
  47. languages/yith-woocommerce-wishlist-zh_CN.po +139 -131
  48. languages/yith-woocommerce-wishlist-zh_TW.mo +0 -0
  49. languages/yith-woocommerce-wishlist-zh_TW.po +139 -131
  50. languages/yith-woocommerce-wishlist.pot +138 -130
  51. plugin-fw/assets/css/metaboxes.css +21 -0
  52. plugin-fw/assets/css/yit-plugin-panel.css +11 -0
  53. plugin-fw/assets/js/yit-plugin-panel.js +10 -0
  54. plugin-fw/assets/js/yit-plugin-panel.min.js +10 -1
  55. plugin-fw/init.php +13 -15
  56. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  57. plugin-fw/languages/yith-plugin-fw-it_IT.po +223 -133
  58. plugin-fw/languages/yith-plugin-fw.pot +148 -108
  59. plugin-fw/lib/yit-plugin-panel-wc.php +8 -3
  60. plugin-fw/lib/yit-plugin-panel.php +23 -14
  61. plugin-fw/lib/yit-plugin-subpanel.php +12 -9
  62. plugin-fw/lib/yit-upgrade.php +9 -25
  63. plugin-fw/licence/assets/css/yit-licence.css +112 -23
  64. plugin-fw/licence/assets/js/yit-licence.js +82 -25
  65. plugin-fw/licence/lib/yit-licence.php +201 -54
  66. plugin-fw/licence/lib/yit-plugin-licence.php +17 -15
  67. plugin-fw/licence/lib/yit-theme-licence.php +61 -24
  68. plugin-fw/licence/templates/panel/activation/activation-panel.php +127 -54
  69. plugin-fw/templates/metaboxes/types/number.php +14 -1
  70. plugin-fw/templates/panel/types/upload.php +2 -1
  71. plugin-fw/yit-functions.php +103 -111
README.txt CHANGED
@@ -1,348 +1,361 @@
1
- === YITH WooCommerce Wishlist ===
2
-
3
- Contributors: yithemes
4
- Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, woocommerce 2.3 ready, shop wishlist
5
- Requires at least: 4.0
6
- Tested up to: 4.3.1
7
- Stable tag: 2.0.12
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
12
- WooCommerce 2.4.x compatible.
13
-
14
-
15
- == Description ==
16
-
17
- What can really make the difference in conversions and amount of sales is without a doubt the freedom to share your own wishlist, even on social networks, increasing indirect sales: can you imagine the sales volume you can generate during holidays or birthdays, when relatives and friends will be looking for the wishlist of your clients to buy a gift?
18
-
19
- Offer to your visitors a chance to add the products of your woocommerce store to a wishlist page. With YITH WooCommerce Wishlist you can add a link in each product detail page,
20
- in order to add the products to the wishlist page. The plugin will create you the specific page and the products will be added in this page and
21
- afterwards add them to the cart or remove them.
22
-
23
- Working demo are available:
24
-
25
- **[LIVE DEMO 1](http://preview.yithemes.com/room09/product/africa-style/)** - **[LIVE DEMO 2](http://preview.yithemes.com/bazar/shop/ankle-shoes/)**
26
-
27
- Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-wishlist).
28
-
29
- This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_key=Qn1wDeBNTcZV)
30
-
31
- = Available Languages =
32
-
33
- **NOTE: The translation process of this plugin has been changed by WordPress. Please, read the correlated FAQ to be updated about the news changes.**
34
-
35
- * Chinese - CHINA
36
- * Chinese - TAIWAN
37
- * English - UNITED KINGDOM (Default)
38
- * French - FRANCE
39
- * German - GERMANY
40
- * Hebrew - ISRAEL
41
- * Italian - ITALY
42
- * Persian - IRAN, ISLAMIC REPUBLIC OF
43
- * Polish - POLAND
44
- * Portuguese - BRAZIL
45
- * Portuguese - PORTUGAL
46
- * Russian - RUSSIAN FEDERATION
47
- * Spanish - ARGENTINA
48
- * Spanish - SPAIN
49
- * Spanish - MEXICO
50
- * Swedish - SWEDEN
51
- * Turkish - TURKEY
52
- * Ukrainian - UKRAINE
53
-
54
- == Installation ==
55
-
56
- 1. Unzip the downloaded zip file.
57
- 2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
58
- 3. Activate `YITH WooCommerce Wishlist` from Plugins page
59
-
60
- YITH WooCommerce Wishlist will add a new submenu called "Wishlist" under "YIT Plugins" menu. Here you are able to configure all the plugin settings.
61
-
62
- == Frequently Asked Questions ==
63
-
64
- = Can I customize the wishlist page? =
65
- Yes, the page is a simple template and you can override it by putting the file template "wishlist.php" inside the "woocommerce" folder of the theme folder.
66
-
67
- = Can I move the position of "Add to wishlist" button? =
68
- Yes, you can move the button to another default position or you can also use the shortcode inside your theme code.
69
-
70
- = Can I change the style of "Add to wishlist" button? =
71
- Yes, you can change the colors of background, text and border or apply a custom css. You can also use a link or a button for the "Add to wishlist" feature.
72
-
73
- = Wishlist page returns a 404 error? =
74
- Try to regenerate permalinks from Settings -> Permalinks by simply saving them again.
75
-
76
- = Did icons of your theme disappear after update to Wishlist 2.0.x? =
77
- It might be a compatibility problem with the old version of font-awesome, which has been solved with version 2.0.2 of the plugin. Be sure that you are using a plugin version that is greater or equal to 2.0.2. If, after update, you cannot see icons in your theme yet, save again options of YITH WooCommerce Wishlist plugin (that you can find in YIT Plugin -> Wishlist).
78
-
79
- = Have you encountered anomalies after plugin update, that did not exist in the previous version? =
80
- This might depend on the fact that your theme overrides plugin templates. Check if the developer of your theme has released a compatibility update with version 2.0 or later of YITH WooCommerce Wishlist. As an alternative you can try the plugin in WordPress default theme to leave out any possible influences by the theme.
81
-
82
- = I am currently using Wishlist plugin with Catalog Mode enabled in my site. Prices for products should disappear, yet they still appear in the wishlist page. Can I remove them? =
83
- Yes, of course you can. To avoid Wishlist page to show product prices, you can hide price column from wishlist table. Go to YIT plugins -> wishlist -> settings and disable option "Show Unit price".
84
-
85
- = What are the main changes in plugin translation? =
86
- Recently YITH WooCommerce Wishlist has been selected to be included in the "translate.wordpress.org" translate programme.
87
- In order to import correctly the plugin strings in the new system, we had to change the text domain from 'yit' to 'yith-woocommerce-wishlist'.
88
- Once the plugin is imported into the translate.wordpress.org system, the translations of other languages will be downloadable 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.
89
- During this transition step, .po and .mo files will be used as usual, but in order to be recognized by WordPress, they must have a new nomenclature and be renamed as:
90
- yith-woocommerce-wishlist-<WORDPRESS LOCALE>.po
91
- yith-woocommerce-wishlist-<WORDPRESS LOCALE>.mo
92
- If your theme overrides plugin templates, it might happen that they are still using the old textdomain ('yit'), which is no longer used as reference for translation.
93
- If you are experiencing problems with translation of your YITH WooCommerce Wishlist and the theme you are using includes wishlist templates (such as add-to-wishlist.php,
94
- add-to-wishlist-button.php, wishlist-view,php), you could try to update them with the most recent version included in the plugin
95
- (never forget to make a copy of your project before you apply any change).
96
- If you want to keep customisations applied by the theme to wishlist templates (still using the old textdomain), then,
97
- you should ask theme developers to update custom templates and replace the old textdomain with the most recent one.
98
-
99
- == Screenshots ==
100
-
101
- 1. The page with "Add to wishlist" button
102
- 2. The wishlist page
103
- 3. The Wishlist settings page
104
- 4. The Wishlist settings page
105
-
106
- == Changelog ==
107
-
108
- = 2.0.12 =
109
-
110
- * Added: method to count all products in wishlist
111
- * Tweak: Added wishlist js handling on 'yith_wcwl_init' triggered on document
112
- * Tweak: Performance improved with new plugin core 2.0
113
- * Fixed: occasional fatal error for users with outdated version of plugin-fw on their theme
114
-
115
- = 2.0.11 =
116
-
117
- * Added: spanish translation (thanks to Arman S.)
118
- * Added: polish translation (thanks to Roan)
119
- * Added: swedish translation (thanks to Lallex)
120
- * Updated: changed text domain from yit to yith-woocommerce-wishlist
121
- * Updated: changed all language file for the new text domain
122
-
123
- = 2.0.10 =
124
-
125
- * Added: Compatibility with WC 2.4.2
126
- * Tweak: added nonce field to wishlist-view form
127
- * Tweak: added yith_wcwl_custom_add_to_cart_text and yith_wcwl_ask_an_estimate_text filters
128
- * Tweak: added check for presence of required function in wishlist script
129
- * Fixed: admin colorpicker field (for WC 2.4.x compatibility)
130
-
131
- = 2.0.9 =
132
-
133
- * Added: russian translation
134
- * Added: WooCommerce class to wishlist view form
135
- * Added: spinner to plugin assets
136
- * Added: check on "user_logged_in" for sub-templates in wishlist-view
137
- * Added: WordPress 4.2.3 compatibility
138
- * Added: WPML 3.2.2 compatibility (removed deprecated function)
139
- * Added: new check on is_product_in_wishlist (for unlogged users/default wishlist)
140
- * Tweak: escaped urls on share template
141
- * Tweak: removed new line between html attributes, to improve themes compatibility
142
- * Fixed: WPML 3.2.2 compatibility (fix suggested by Konrad)
143
- * Fixed: regex used to find class attr in "Add to Cart" button
144
- * Fixed: usage of product_id for add_to_wishlist shortcode, when global $product is not defined
145
- * Fixed: icon attribute for yith_wcwl_add_to_wishlist shortcode
146
-
147
- = 2.0.8 =
148
-
149
- * Added: support WP 4.2.2
150
- * Added: Persian translation
151
- * Added: check on cookie content
152
- * Added: Frequently Bought Together integration
153
- * Tweak: moved cookie update before first cookie usage
154
- * Updated: Italian translation
155
- * Removed: login_redirect_url variable
156
-
157
- = 2.0.7 =
158
-
159
- * Added: WP 4.2.1 support
160
- * Added: WC 2.3.8 support
161
- * Added: "Added to cart" message in wishlist page
162
- * Added: Portuguese translation
163
- * Updated: revision of all templates
164
- * Fixed: vulnerability for unserialize of cookie content (Warning: in this way all the old serialized plugins will be deleted and all the wishlists of the non-logged users will be lost)
165
- * Fixed: Escaped add_query_arg() and remove_query_arg()
166
- * Removed: use of pretty permalinks if WPML enabled
167
-
168
- = 2.0.6 =
169
-
170
- * Added: system to overwrite wishlist js
171
- * Added: trailingslashit() to wishlist permalink
172
- * Added: chinese translation
173
- * Added: "show_empty" filter to get_wishlists() method
174
- * Fixed: count wishlist items
175
- * Fixed: problem with price inclusive of tax
176
- * Fixed: remove from wishlist for not logged user
177
- * Fixed: twitter share summary
178
-
179
- = 2.0.5 =
180
-
181
- * Added: icl_object_id to wishlist page id, to translate pages
182
- * Tweak: updated rewrite rules, to include child pages as wishlist pages
183
- * Tweak: moved WC notices from wishlist template to yith_wcwl_before_wishlist_title hook
184
- * Tweak: added wishlist table id to .load(), to update only that part of template
185
- * Fixed: yith_wcwl_locate_template causing 500 Internal Server Error
186
-
187
- = 2.0.4 =
188
-
189
- * Added: Options for browse wishlist/already in wishlist/product added strings
190
- * Added: rel nofollow to add to wishlist button
191
- * Tweak: moved wishlist response popup handling to separate js file
192
- * Updated: WPML xml configuration
193
- * Updated: string revision
194
-
195
- = 2.0.3 =
196
-
197
- * Tweak: set correct protocol for admin-ajax requests
198
- * Tweak: used wc core function to set cookie
199
- * Tweak: let customization of add_to_wishlist shortcodes
200
- * Fixed: show add to cart column when stock status disabled
201
- * Fixed: product existing in wishlist
202
-
203
- = 2.0.2 =
204
-
205
- * Updated: font-awesome library
206
- * Fixed: option with old font-awesome classes
207
-
208
- = 2.0.1 =
209
-
210
- * Added: spinner image on loading
211
- * Added: flush rewrite rules on database upgrade
212
- * Fixed: wc_add_to_cart_params not defined issue
213
-
214
- = 2.0.0 =
215
-
216
- * Added: Support to woocommerce 2.3
217
- * Added: New color options
218
- * Tweak: Add to cart button from woocommerce template
219
- * Tweak: Share links on template
220
- * Tweak: Code revision
221
- * Tweak: Use wordpress API in ajax call instead of custom script
222
- * Updated: Plugin core framework
223
-
224
-
225
- = 1.1.7 =
226
-
227
- * Added: Support to WooCommerce Endpoints (@use yit_wcwl_add_to_cart_redirect_url filter)
228
- * Added: Filter to shortcode html
229
- * Added: Title to share
230
-
231
- = 1.1.6 =
232
-
233
- * Updated: Plugin Core Framework
234
- * Updated: Languages file
235
- * Tweek: WPML Support Improved
236
-
237
- = 1.1.5 =
238
-
239
- * Added: Share wishlist by email
240
-
241
- = 1.1.4 =
242
-
243
- * Fixed: wrong string for inline js on remove link
244
- * Fixed: wrong string for inline js on add to cart link
245
-
246
- = 1.1.3 =
247
-
248
- * Added: Options Tabs Filter
249
- * Fixed: Various Bugs
250
-
251
- = 1.1.2 =
252
-
253
- * Fixed: Warnings when Show Stock Status is disabled
254
- * Fixed: Restored page options on WooCommerce 2.1.x
255
-
256
- = 1.1.1 =
257
-
258
- * Fixed: Inability to unistall plugin
259
- * Fixed: Redirect to cart page from wishlist page
260
-
261
- = 1.1.0 =
262
-
263
- * Added: Support to WooCommerce 2.1.x
264
- * Added: Spanish (Mexico) translation by Gabriel Dzul
265
- * Added: French translation by Virginie Garcin
266
- * Fixed: Revision Italian Language po/mo files
267
-
268
- = 1.0.6 =
269
-
270
- * Added: Spanish (Argentina) partial translation by Sebastian Jeremias
271
- * Added: Portuguese (Brazil) translation by Lincoln Lemos
272
- * Fixed: Share buttons show also when not logged in
273
- * Fixed: Price shows including or excluding tax based on WooCommerce settings
274
- * Fixed: Better compatibility for WPML
275
- * Fixed: Price shows "Free!" if the product is without price
276
- * Fixed: DB Table creation on plugin activation
277
-
278
- = 1.0.5 =
279
-
280
- * Added: Shared wishlists can be seens also by not logged in users
281
- * Added: Support for WPML String translation
282
- * Updated: German translation by Stephanie Schlieske
283
- * Fixed: Add to cart button does not appear if the product is out of stock
284
-
285
- = 1.0.4 =
286
-
287
- * Added: partial Ukrainian translation
288
- * Added: complete German translation. Thanks to Stephanie Schliesk
289
- * Added: options to show/hide button add to cart, unit price and stock status in the wishlist page
290
- * Added: Hebrew language (thanks to Gery Grinvald)
291
-
292
- = 1.0.3 =
293
-
294
- * Fixed: Minor bugs fixes
295
-
296
- = 1.0.2 =
297
-
298
- * Fixed: Fatal error to yit_debug with yit themes
299
-
300
- = 1.0.1 =
301
-
302
- * Tweak: Optimized images
303
- * Updated: internal framework
304
-
305
- = 1.0.0 =
306
-
307
- * Initial release
308
-
309
- == Suggestions ==
310
-
311
- If you have suggestions about how to improve YITH WooCommerce Wishlist, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Wishlist.
312
-
313
- == Translators ==
314
-
315
- = Available Languages =
316
- * Chinese - CHINA
317
- * Chinese - TAIWAN
318
- * English - UNITED KINGDOM (Default)
319
- * German - GERMANY
320
- * Spanish - ARGENTINA
321
- * Spanish - SPAIN
322
- * Spanish - MEXICO
323
- * French - FRANCE
324
- * Hebrew - ISRAEL
325
- * Italian - ITALY
326
- * Persian - IRAN, ISLAMIC REPUBLIC OF
327
- * Portuguese - BRAZIL
328
- * Portuguese - PORTUGAL
329
- * Russian - RUSSIAN FEDERATION
330
- * Turkish - TURKEY
331
- * Ukrainian - UKRAINE
332
-
333
- Some of these translations are not complete.
334
- If you want to contribute to the translation of the plugin, please [go to WordPress official translator platform](https://translate.wordpress.org/ "Translating WordPress") and translate the strings in your own language. In this way, we will be able to increase the languages available for YITH WooCommerce Wishlist.
335
-
336
-
337
- == Documentation ==
338
-
339
- Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-wishlist).
340
-
341
- == Upgrade notice ==
342
-
343
- = 2.0.12 =
344
-
345
- * Added: method to count all products in wishlist
346
- * Tweak: Added wishlist js handling on 'yith_wcwl_init' triggered on document
347
- * Tweak: Performance improved with new plugin core 2.0
348
- * Fixed: occasional fatal error for users with outdated version of plugin-fw on their theme
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === YITH WooCommerce Wishlist ===
2
+
3
+ Contributors: yithemes
4
+ Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, woocommerce 2.3 ready, shop wishlist
5
+ Requires at least: 4.0
6
+ Tested up to: 4.4
7
+ Stable tag: 2.0.13
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
12
+ WooCommerce 2.4.x compatible.
13
+
14
+
15
+ == Description ==
16
+
17
+ What can really make the difference in conversions and amount of sales is without a doubt the freedom to share your own wishlist, even on social networks, increasing indirect sales: can you imagine the sales volume you can generate during holidays or birthdays, when relatives and friends will be looking for the wishlist of your clients to buy a gift?
18
+
19
+ Offer to your visitors a chance to add the products of your woocommerce store to a wishlist page. With YITH WooCommerce Wishlist you can add a link in each product detail page,
20
+ in order to add the products to the wishlist page. The plugin will create you the specific page and the products will be added in this page and
21
+ afterwards add them to the cart or remove them.
22
+
23
+ Working demo are available:
24
+
25
+ **[LIVE DEMO 1](http://preview.yithemes.com/room09/product/africa-style/)** - **[LIVE DEMO 2](http://preview.yithemes.com/bazar/shop/ankle-shoes/)**
26
+
27
+ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-wishlist).
28
+
29
+ This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_key=Qn1wDeBNTcZV)
30
+
31
+ = Available Languages =
32
+
33
+ **NOTE: The translation process of this plugin has been changed by WordPress. Please, read the correlated FAQ to be updated about the news changes.**
34
+
35
+ * Chinese - CHINA
36
+ * Chinese - TAIWAN
37
+ * English - UNITED KINGDOM (Default)
38
+ * French - FRANCE
39
+ * German - GERMANY
40
+ * Hebrew - ISRAEL
41
+ * Italian - ITALY
42
+ * Persian - IRAN, ISLAMIC REPUBLIC OF
43
+ * Polish - POLAND
44
+ * Portuguese - BRAZIL
45
+ * Portuguese - PORTUGAL
46
+ * Russian - RUSSIAN FEDERATION
47
+ * Spanish - ARGENTINA
48
+ * Spanish - SPAIN
49
+ * Spanish - MEXICO
50
+ * Swedish - SWEDEN
51
+ * Turkish - TURKEY
52
+ * Ukrainian - UKRAINE
53
+
54
+ == Installation ==
55
+
56
+ 1. Unzip the downloaded zip file.
57
+ 2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
58
+ 3. Activate `YITH WooCommerce Wishlist` from Plugins page
59
+
60
+ YITH WooCommerce Wishlist will add a new submenu called "Wishlist" under "YIT Plugins" menu. Here you are able to configure all the plugin settings.
61
+
62
+ == Frequently Asked Questions ==
63
+
64
+ = Can I customize the wishlist page? =
65
+ Yes, the page is a simple template and you can override it by putting the file template "wishlist.php" inside the "woocommerce" folder of the theme folder.
66
+
67
+ = Can I move the position of "Add to wishlist" button? =
68
+ Yes, you can move the button to another default position or you can also use the shortcode inside your theme code.
69
+
70
+ = Can I change the style of "Add to wishlist" button? =
71
+ Yes, you can change the colors of background, text and border or apply a custom css. You can also use a link or a button for the "Add to wishlist" feature.
72
+
73
+ = Wishlist page returns a 404 error? =
74
+ Try to regenerate permalinks from Settings -> Permalinks by simply saving them again.
75
+
76
+ = Did icons of your theme disappear after update to Wishlist 2.0.x? =
77
+ It might be a compatibility problem with the old version of font-awesome, which has been solved with version 2.0.2 of the plugin. Be sure that you are using a plugin version that is greater or equal to 2.0.2. If, after update, you cannot see icons in your theme yet, save again options of YITH WooCommerce Wishlist plugin (that you can find in YIT Plugin -> Wishlist).
78
+
79
+ = Have you encountered anomalies after plugin update, that did not exist in the previous version? =
80
+ This might depend on the fact that your theme overrides plugin templates. Check if the developer of your theme has released a compatibility update with version 2.0 or later of YITH WooCommerce Wishlist. As an alternative you can try the plugin in WordPress default theme to leave out any possible influences by the theme.
81
+
82
+ = I am currently using Wishlist plugin with Catalog Mode enabled in my site. Prices for products should disappear, yet they still appear in the wishlist page. Can I remove them? =
83
+ Yes, of course you can. To avoid Wishlist page to show product prices, you can hide price column from wishlist table. Go to YIT plugins -> wishlist -> settings and disable option "Show Unit price".
84
+
85
+ = What are the main changes in plugin translation? =
86
+ Recently YITH WooCommerce Wishlist has been selected to be included in the "translate.wordpress.org" translate programme.
87
+ In order to import correctly the plugin strings in the new system, we had to change the text domain from 'yit' to 'yith-woocommerce-wishlist'.
88
+ Once the plugin is imported into the translate.wordpress.org system, the translations of other languages will be downloadable 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.
89
+ During this transition step, .po and .mo files will be used as usual, but in order to be recognized by WordPress, they must have a new nomenclature and be renamed as:
90
+ yith-woocommerce-wishlist-<WORDPRESS LOCALE>.po
91
+ yith-woocommerce-wishlist-<WORDPRESS LOCALE>.mo
92
+ If your theme overrides plugin templates, it might happen that they are still using the old textdomain ('yit'), which is no longer used as reference for translation.
93
+ If you are experiencing problems with translation of your YITH WooCommerce Wishlist and the theme you are using includes wishlist templates (such as add-to-wishlist.php,
94
+ add-to-wishlist-button.php, wishlist-view,php), you could try to update them with the most recent version included in the plugin
95
+ (never forget to make a copy of your project before you apply any change).
96
+ If you want to keep customisations applied by the theme to wishlist templates (still using the old textdomain), then,
97
+ you should ask theme developers to update custom templates and replace the old textdomain with the most recent one.
98
+
99
+ == Screenshots ==
100
+
101
+ 1. The page with "Add to wishlist" button
102
+ 2. The wishlist page
103
+ 3. The Wishlist settings page
104
+ 4. The Wishlist settings page
105
+
106
+ == Changelog ==
107
+
108
+ = 2.0.13 =
109
+
110
+ * Added check over adding_to_cart event data existance in js procedures
111
+ * Added 'yith_wcwl_added_to_cart_message' filter, to customize added to cart message in wishlist page
112
+ * Added nofollow to "Add to Wishlist" links, where missing
113
+ * Added 'yith_wcwl_email_share_subject' filter to customize share by email subject
114
+ * Added 'yith_wcwl_email_share_body' filter to customize share by email body
115
+ * Added function "yith_wcwl_count_all_products"
116
+ * Fixed plugin-fw loading
117
+
118
+ = 2.0.12 =
119
+
120
+ * Added: method to count all products in wishlist
121
+ * Tweak: Added wishlist js handling on 'yith_wcwl_init' triggered on document
122
+ * Tweak: Performance improved with new plugin core 2.0
123
+ * Fixed: occasional fatal error for users with outdated version of plugin-fw on their theme
124
+
125
+ = 2.0.11 =
126
+
127
+ * Added: spanish translation (thanks to Arman S.)
128
+ * Added: polish translation (thanks to Roan)
129
+ * Added: swedish translation (thanks to Lallex)
130
+ * Updated: changed text domain from yit to yith-woocommerce-wishlist
131
+ * Updated: changed all language file for the new text domain
132
+
133
+ = 2.0.10 =
134
+
135
+ * Added: Compatibility with WC 2.4.2
136
+ * Tweak: added nonce field to wishlist-view form
137
+ * Tweak: added yith_wcwl_custom_add_to_cart_text and yith_wcwl_ask_an_estimate_text filters
138
+ * Tweak: added check for presence of required function in wishlist script
139
+ * Fixed: admin colorpicker field (for WC 2.4.x compatibility)
140
+
141
+ = 2.0.9 =
142
+
143
+ * Added: russian translation
144
+ * Added: WooCommerce class to wishlist view form
145
+ * Added: spinner to plugin assets
146
+ * Added: check on "user_logged_in" for sub-templates in wishlist-view
147
+ * Added: WordPress 4.2.3 compatibility
148
+ * Added: WPML 3.2.2 compatibility (removed deprecated function)
149
+ * Added: new check on is_product_in_wishlist (for unlogged users/default wishlist)
150
+ * Tweak: escaped urls on share template
151
+ * Tweak: removed new line between html attributes, to improve themes compatibility
152
+ * Fixed: WPML 3.2.2 compatibility (fix suggested by Konrad)
153
+ * Fixed: regex used to find class attr in "Add to Cart" button
154
+ * Fixed: usage of product_id for add_to_wishlist shortcode, when global $product is not defined
155
+ * Fixed: icon attribute for yith_wcwl_add_to_wishlist shortcode
156
+
157
+ = 2.0.8 =
158
+
159
+ * Added: support WP 4.2.2
160
+ * Added: Persian translation
161
+ * Added: check on cookie content
162
+ * Added: Frequently Bought Together integration
163
+ * Tweak: moved cookie update before first cookie usage
164
+ * Updated: Italian translation
165
+ * Removed: login_redirect_url variable
166
+
167
+ = 2.0.7 =
168
+
169
+ * Added: WP 4.2.1 support
170
+ * Added: WC 2.3.8 support
171
+ * Added: "Added to cart" message in wishlist page
172
+ * Added: Portuguese translation
173
+ * Updated: revision of all templates
174
+ * Fixed: vulnerability for unserialize of cookie content (Warning: in this way all the old serialized plugins will be deleted and all the wishlists of the non-logged users will be lost)
175
+ * Fixed: Escaped add_query_arg() and remove_query_arg()
176
+ * Removed: use of pretty permalinks if WPML enabled
177
+
178
+ = 2.0.6 =
179
+
180
+ * Added: system to overwrite wishlist js
181
+ * Added: trailingslashit() to wishlist permalink
182
+ * Added: chinese translation
183
+ * Added: "show_empty" filter to get_wishlists() method
184
+ * Fixed: count wishlist items
185
+ * Fixed: problem with price inclusive of tax
186
+ * Fixed: remove from wishlist for not logged user
187
+ * Fixed: twitter share summary
188
+
189
+ = 2.0.5 =
190
+
191
+ * Added: icl_object_id to wishlist page id, to translate pages
192
+ * Tweak: updated rewrite rules, to include child pages as wishlist pages
193
+ * Tweak: moved WC notices from wishlist template to yith_wcwl_before_wishlist_title hook
194
+ * Tweak: added wishlist table id to .load(), to update only that part of template
195
+ * Fixed: yith_wcwl_locate_template causing 500 Internal Server Error
196
+
197
+ = 2.0.4 =
198
+
199
+ * Added: Options for browse wishlist/already in wishlist/product added strings
200
+ * Added: rel nofollow to add to wishlist button
201
+ * Tweak: moved wishlist response popup handling to separate js file
202
+ * Updated: WPML xml configuration
203
+ * Updated: string revision
204
+
205
+ = 2.0.3 =
206
+
207
+ * Tweak: set correct protocol for admin-ajax requests
208
+ * Tweak: used wc core function to set cookie
209
+ * Tweak: let customization of add_to_wishlist shortcodes
210
+ * Fixed: show add to cart column when stock status disabled
211
+ * Fixed: product existing in wishlist
212
+
213
+ = 2.0.2 =
214
+
215
+ * Updated: font-awesome library
216
+ * Fixed: option with old font-awesome classes
217
+
218
+ = 2.0.1 =
219
+
220
+ * Added: spinner image on loading
221
+ * Added: flush rewrite rules on database upgrade
222
+ * Fixed: wc_add_to_cart_params not defined issue
223
+
224
+ = 2.0.0 =
225
+
226
+ * Added: Support to woocommerce 2.3
227
+ * Added: New color options
228
+ * Tweak: Add to cart button from woocommerce template
229
+ * Tweak: Share links on template
230
+ * Tweak: Code revision
231
+ * Tweak: Use wordpress API in ajax call instead of custom script
232
+ * Updated: Plugin core framework
233
+
234
+
235
+ = 1.1.7 =
236
+
237
+ * Added: Support to WooCommerce Endpoints (@use yit_wcwl_add_to_cart_redirect_url filter)
238
+ * Added: Filter to shortcode html
239
+ * Added: Title to share
240
+
241
+ = 1.1.6 =
242
+
243
+ * Updated: Plugin Core Framework
244
+ * Updated: Languages file
245
+ * Tweek: WPML Support Improved
246
+
247
+ = 1.1.5 =
248
+
249
+ * Added: Share wishlist by email
250
+
251
+ = 1.1.4 =
252
+
253
+ * Fixed: wrong string for inline js on remove link
254
+ * Fixed: wrong string for inline js on add to cart link
255
+
256
+ = 1.1.3 =
257
+
258
+ * Added: Options Tabs Filter
259
+ * Fixed: Various Bugs
260
+
261
+ = 1.1.2 =
262
+
263
+ * Fixed: Warnings when Show Stock Status is disabled
264
+ * Fixed: Restored page options on WooCommerce 2.1.x
265
+
266
+ = 1.1.1 =
267
+
268
+ * Fixed: Inability to unistall plugin
269
+ * Fixed: Redirect to cart page from wishlist page
270
+
271
+ = 1.1.0 =
272
+
273
+ * Added: Support to WooCommerce 2.1.x
274
+ * Added: Spanish (Mexico) translation by Gabriel Dzul
275
+ * Added: French translation by Virginie Garcin
276
+ * Fixed: Revision Italian Language po/mo files
277
+
278
+ = 1.0.6 =
279
+
280
+ * Added: Spanish (Argentina) partial translation by Sebastian Jeremias
281
+ * Added: Portuguese (Brazil) translation by Lincoln Lemos
282
+ * Fixed: Share buttons show also when not logged in
283
+ * Fixed: Price shows including or excluding tax based on WooCommerce settings
284
+ * Fixed: Better compatibility for WPML
285
+ * Fixed: Price shows "Free!" if the product is without price
286
+ * Fixed: DB Table creation on plugin activation
287
+
288
+ = 1.0.5 =
289
+
290
+ * Added: Shared wishlists can be seens also by not logged in users
291
+ * Added: Support for WPML String translation
292
+ * Updated: German translation by Stephanie Schlieske
293
+ * Fixed: Add to cart button does not appear if the product is out of stock
294
+
295
+ = 1.0.4 =
296
+
297
+ * Added: partial Ukrainian translation
298
+ * Added: complete German translation. Thanks to Stephanie Schliesk
299
+ * Added: options to show/hide button add to cart, unit price and stock status in the wishlist page
300
+ * Added: Hebrew language (thanks to Gery Grinvald)
301
+
302
+ = 1.0.3 =
303
+
304
+ * Fixed: Minor bugs fixes
305
+
306
+ = 1.0.2 =
307
+
308
+ * Fixed: Fatal error to yit_debug with yit themes
309
+
310
+ = 1.0.1 =
311
+
312
+ * Tweak: Optimized images
313
+ * Updated: internal framework
314
+
315
+ = 1.0.0 =
316
+
317
+ * Initial release
318
+
319
+ == Suggestions ==
320
+
321
+ If you have suggestions about how to improve YITH WooCommerce Wishlist, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Wishlist.
322
+
323
+ == Translators ==
324
+
325
+ = Available Languages =
326
+ * Chinese - CHINA
327
+ * Chinese - TAIWAN
328
+ * English - UNITED KINGDOM (Default)
329
+ * German - GERMANY
330
+ * Spanish - ARGENTINA
331
+ * Spanish - SPAIN
332
+ * Spanish - MEXICO
333
+ * French - FRANCE
334
+ * Hebrew - ISRAEL
335
+ * Italian - ITALY
336
+ * Persian - IRAN, ISLAMIC REPUBLIC OF
337
+ * Portuguese - BRAZIL
338
+ * Portuguese - PORTUGAL
339
+ * Russian - RUSSIAN FEDERATION
340
+ * Turkish - TURKEY
341
+ * Ukrainian - UKRAINE
342
+
343
+ Some of these translations are not complete.
344
+ If you want to contribute to the translation of the plugin, please [go to WordPress official translator platform](https://translate.wordpress.org/ "Translating WordPress") and translate the strings in your own language. In this way, we will be able to increase the languages available for YITH WooCommerce Wishlist.
345
+
346
+
347
+ == Documentation ==
348
+
349
+ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-wishlist).
350
+
351
+ == Upgrade notice ==
352
+
353
+ = 2.0.13 =
354
+
355
+ * Added check over adding_to_cart event data existance in js procedures
356
+ * Added 'yith_wcwl_added_to_cart_message' filter, to customize added to cart message in wishlist page
357
+ * Added nofollow to "Add to Wishlist" links, where missing
358
+ * Added 'yith_wcwl_email_share_subject' filter to customize share by email subject
359
+ * Added 'yith_wcwl_email_share_body' filter to customize share by email body
360
+ * Added function "yith_wcwl_count_all_products"
361
+ * Fixed plugin-fw loading
assets/css/admin.css CHANGED
@@ -1,63 +1,63 @@
1
- /**
2
- * Admin YITH WooCommerce Wishlist CSS
3
- *
4
- * @author Your Inspiration Themes
5
- * @package YITH WooCommerce Wishlist
6
- * @version 1.1.5
7
- */
8
-
9
- h2.nav-tab-wrapper{
10
- margin-bottom: 15px;
11
- }
12
-
13
- #yith_wcwl_panel_colors .color-panel{
14
- background: #ffffff;
15
- padding: 20px;
16
- }
17
-
18
- #yith_wcwl_panel_colors .color_box {
19
- border: 1px solid #CCC;
20
- box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
21
- -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
22
- -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
23
- -webkit-border-radius: 3px;
24
- -moz-border-radius: 3px;
25
- border-radius: 3px;
26
- padding: 4px 6px;
27
- float: left;
28
- width: 250px;
29
- margin: 0 10px 0 0;
30
- }
31
-
32
- #yith_wcwl_panel_colors .color_box strong {
33
- text-align: left;
34
- display: block;
35
- padding: 0 0 2px;
36
- font-size: .92em;
37
- }
38
-
39
- #yith_wcwl_panel_colors .color_box strong img {
40
- float: right;
41
- margin: 1px 0 0 0;
42
- }
43
-
44
- #yith_wcwl_panel_colors .color_box input {
45
- width: 100%;
46
- margin: 0;
47
- font-family: monospace;
48
- -webkit-box-sizing: border-box;
49
- -moz-box-sizing: border-box;
50
- box-sizing: border-box;
51
- }
52
-
53
- #yith_wcwl_panel_colors .color_box .colorpickdiv {
54
- z-index: 100;
55
- background: #EEE;
56
- border: 1px solid #CCC;
57
- position: absolute;
58
- display: none;
59
- }
60
-
61
- .woocommerce_page_wishlist #TB_window img#TB_Image{
62
- border: none;
63
  }
1
+ /**
2
+ * Admin YITH WooCommerce Wishlist CSS
3
+ *
4
+ * @author Your Inspiration Themes
5
+ * @package YITH WooCommerce Wishlist
6
+ * @version 1.1.5
7
+ */
8
+
9
+ h2.nav-tab-wrapper{
10
+ margin-bottom: 15px;
11
+ }
12
+
13
+ #yith_wcwl_panel_colors .color-panel{
14
+ background: #ffffff;
15
+ padding: 20px;
16
+ }
17
+
18
+ #yith_wcwl_panel_colors .color_box {
19
+ border: 1px solid #CCC;
20
+ box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
21
+ -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
22
+ -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
23
+ -webkit-border-radius: 3px;
24
+ -moz-border-radius: 3px;
25
+ border-radius: 3px;
26
+ padding: 4px 6px;
27
+ float: left;
28
+ width: 250px;
29
+ margin: 0 10px 0 0;
30
+ }
31
+
32
+ #yith_wcwl_panel_colors .color_box strong {
33
+ text-align: left;
34
+ display: block;
35
+ padding: 0 0 2px;
36
+ font-size: .92em;
37
+ }
38
+
39
+ #yith_wcwl_panel_colors .color_box strong img {
40
+ float: right;
41
+ margin: 1px 0 0 0;
42
+ }
43
+
44
+ #yith_wcwl_panel_colors .color_box input {
45
+ width: 100%;
46
+ margin: 0;
47
+ font-family: monospace;
48
+ -webkit-box-sizing: border-box;
49
+ -moz-box-sizing: border-box;
50
+ box-sizing: border-box;
51
+ }
52
+
53
+ #yith_wcwl_panel_colors .color_box .colorpickdiv {
54
+ z-index: 100;
55
+ background: #EEE;
56
+ border: 1px solid #CCC;
57
+ position: absolute;
58
+ display: none;
59
+ }
60
+
61
+ .woocommerce_page_wishlist #TB_window img#TB_Image{
62
+ border: none;
63
  }
assets/css/style.css CHANGED
@@ -1,588 +1,588 @@
1
- /**
2
- * Main YITH WooCommerce Wishlist CSS
3
- *
4
- * @author Your Inspiration Themes
5
- * @package YITH WooCommerce Wishlist
6
- * @version 1.1.5
7
- */
8
-
9
- .summary .product_meta { margin-top: 45px; }
10
-
11
- /* Selectbox style */
12
- .woocommerce a.selectBox{
13
- background: #ffffff;
14
- min-width: 100px;
15
- margin-right: 10px;
16
- color: inherit;
17
- }
18
-
19
- .woocommerce a.selectBox,
20
- .woocommerce a.selectBox:hover{
21
- border-bottom: 1px solid #bbb!important;
22
- }
23
-
24
- .woocommerce a.selectBox:hover{
25
- color: inherit;
26
- }
27
-
28
- .woocommerce a.selectBox:focus{
29
- border: 1px solid #ccc;
30
- }
31
-
32
- .selectBox-dropdown .selectBox-label{
33
- vertical-align: middle;
34
- padding: 3px 8px;
35
- }
36
-
37
- .selectBox-dropdown .selectBox-arrow{
38
- border: none;
39
- background: url(../images/jquery.selectBox-arrow.png) center right no-repeat;
40
- }
41
-
42
- .selectBox-dropdown.selectBox-menuShowing .selectBox-arrow{
43
- background: url(../images/jquery.selectBox-arrow.png) center left no-repeat;
44
- }
45
-
46
- .selectBox-dropdown-menu{
47
- border-bottom-left-radius: 3px;
48
- border-bottom-right-radius: 3px;
49
- padding: 5px;
50
- font-size: 80%;
51
- }
52
-
53
- .selectBox-label.public-visibility:before,
54
- .selectBox-dropdown-menu li.public-visibility a:before{
55
- font-family: FontAwesome;
56
- display: inline-block;
57
- content: "\f0ac";
58
- margin-right: 5px;
59
- }
60
-
61
- .selectBox-label.shared-visibility:before,
62
- .selectBox-dropdown-menu li.shared-visibility a:before{
63
- font-family: FontAwesome;
64
- display: inline-block;
65
- content: "\f0c1";
66
- margin-right: 5px;
67
- }
68
-
69
- .selectBox-label.private-visibility:before,
70
- .selectBox-dropdown-menu li.private-visibility a:before{
71
- font-family: FontAwesome;
72
- display: inline-block;
73
- content: "\f023";
74
- margin-right: 5px;
75
- }
76
-
77
- .selectBox-dropdown-menu li a{
78
- color: inherit;
79
- padding: 5px 8px;
80
- border-radius: 3px;
81
- }
82
-
83
- .selectBox-dropdown-menu a:hover{
84
- color: inherit;
85
- text-decoration: none;
86
- }
87
-
88
- /* Wishlist table */
89
- .woocommerce .wishlist_table td.product-add-to-cart a{
90
- display: block!important;
91
- margin: 0;
92
- margin-bottom: 5px;
93
- text-align: center;
94
- }
95
- .woocommerce .wishlist_table td.product-add-to-cart span.dateadded{
96
- display: block;
97
- }
98
-
99
- /* Popup add to wishlist */
100
- .yith-wcwl-add-button a.open-pretty-photo{
101
- display: none;
102
- }
103
- .yes-js .yith-wcwl-add-button a.open-pretty-photo{
104
- display: inline-block;
105
- }
106
- .yes-js .yith-wcwl-popup{
107
- display: none;
108
- text-align: center;
109
- }
110
- .yes-js .yith-wcwl-popup-content{
111
-
112
- }
113
- .yes-js .yith-wcwl-popup-content{
114
- display: table;
115
- width: 100%;
116
- }
117
- .yes-js .yith-wcwl-popup-content .yith-wcwl-first-row{
118
- display: table-header-group;
119
- }
120
- .yes-js .yith-wcwl-popup-content .yith-wcwl-second-row{
121
- display: none;
122
- }
123
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container,
124
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-thumb,
125
- .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new,
126
- .yes-js .yith-wcwl-popup-content .yith-wcwl-visibility{
127
- display: table-cell;
128
- vertical-align: bottom;
129
- }
130
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container{
131
- width: 80%;
132
- padding-bottom: 20px;
133
- }
134
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container select,
135
- .yes-js .yith-wcwl-popup-content .yith-wcwl-visibility select,
136
- .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new input{
137
- border: 1px solid #ccc;
138
- height: 35px;
139
- border-radius: 3px;
140
- }
141
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container select{
142
- width: 100%;
143
- font-weight: 700;
144
- padding-left: 10px;
145
- }
146
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-thumb{
147
- width: 20%;
148
- padding-bottom: 20px;
149
- }
150
- .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-thumb img{
151
- float: right;
152
- border: 1px solid #ccc;
153
- border-radius: 3px;
154
- }
155
- .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new{
156
- text-align: right;
157
- }
158
- .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new label{
159
- font-weight: 700;
160
- }
161
- .yes-js .yith-wcwl-popup-content .yith-wcwl-visibility select{
162
- float: right;
163
- min-width: 90px;
164
- }
165
- .yes-js .yith-wcwl-popup-footer{
166
- border-top: 1px solid #CCC;
167
- padding: 20px 20px 0 20px;
168
- margin: 20px -20px 0;
169
- text-align: right;
170
- }
171
-
172
- /* Popup message */
173
- #yith-wcwl-popup-message {
174
- background: white;
175
- border: 1px solid #CCC;
176
- border-radius: 5px;
177
- -webkit-border-radius: 5px;
178
- -moz-border-radius: 5px;
179
- line-height: 50px;
180
- padding: 15px;
181
- position: fixed;
182
- text-align: center;
183
- top: 50%;
184
- left: 50%;
185
- z-index: 10000; /* Thanks WP -.- */
186
- }
187
-
188
- /*Wishlist title form*/
189
- .wishlist-title{
190
- display: inline-block;
191
- }
192
- .wishlist-title h2{
193
- display: inline-block;
194
- padding: 5px;
195
- }
196
- .wishlist-title.wishlist-title-with-form h2:hover{
197
- background: #efefef;
198
- }
199
- .wishlist-title a.show-title-form{
200
- cursor: pointer;
201
- visibility: hidden;
202
- }
203
- .wishlist-title:hover a.show-title-form{
204
- visibility: visible;
205
- }
206
- .yes-js #yith-wcwl-form .hidden-title-form{
207
- display: none;
208
- margin: 25px 0 39px;
209
- }
210
-
211
- /* Wishlist table template */
212
-
213
- .woocommerce table.wishlist_table{
214
- font-size: 80%;
215
- }
216
-
217
- .woocommerce table.wishlist_table thead th{
218
- border-top: 1px solid;
219
- padding: 16px 12px;
220
- }
221
-
222
- .woocommerce table.wishlist_table tbody td{
223
- padding: 16px 12px;
224
- }
225
-
226
- .woocommerce table.wishlist_table thead th,
227
- .woocommerce table.wishlist_table tbody td{
228
- border-color: #e7e7e7;
229
- }
230
-
231
- .wishlist_table tr td, .wishlist_table tr th.wishlist-delete, .wishlist_table tr th.product-checkbox { text-align: center; }
232
- .wishlist_table tr th.product-checkbox { vertical-align: middle; width: 40px; }
233
- .wishlist_table tr th.product-remove { vertical-align: middle; width: 40px; }
234
- .wishlist_table tr th.product-thumbnail{ width: 80px; }
235
- .wishlist_table tr td.product-thumbnail, .wishlist_table tr td.product-name, .wishlist_table tr td.wishlist-name, .wishlist_table tr td.wishlist-privacy, .woocommerce table.wishlist_table tfoot td { text-align: left; }
236
- .woocommerce table.wishlist_table tr td.product-remove { padding: 16px 0 }
237
- .wishlist_table tr td.product-thumbnail a { display: block; border: none; max-width: 80px; }
238
- .wishlist_table tr td.product-thumbnail a img { width: 100%; }
239
- .wishlist_table tr td.product-stock-status span.wishlist-in-stock { color: #297E29; }
240
- .wishlist_table tr td.product-stock-status span.wishlist-out-of-stock { color: #F00; }
241
- .wishlist_table tr td a.button { white-space: normal; }
242
-
243
- /* Wishlist buttons */
244
- a.add_to_wishlist{
245
- cursor: pointer;
246
- }
247
-
248
- .summary .single_add_to_wishlist.button,
249
- div.product .woocommerce-price-and-add .single_add_to_wishlist.button {
250
- margin: 0px;
251
- }
252
-
253
- .wishlist_table .add_to_cart.button{
254
- padding: 7px 12px;
255
- line-height: normal;
256
- }
257
-
258
- .yith-wcwl-add-to-wishlist {
259
- margin-top: 10px;
260
- }
261
-
262
- .yith-wcwl-add-button > a i,
263
- .wishlist_table .add_to_cart.button i,
264
- .wishlist_table .ask-an-estimate-button i,
265
- .wishlist-title a.show-title-form i,
266
- .hidden-title-form a.hide-title-form i,
267
- .hidden-title-form button i,
268
- .yith-wcwl-wishlist-new button i,
269
- .wishlist_manage_table tfoot button.submit-wishlist-changes i,
270
- .wishlist_manage_table tfoot a.create-new-wishlist i,
271
- .yith-wcwl-wishlist-search-form button.wishlist-search-button i{
272
- margin-right: 10px;
273
- }
274
-
275
- .wishlist_table .add_to_cart.button,
276
- .yith-wcwl-add-button a.add_to_wishlist,
277
- .yith-wcwl-popup-button a.add_to_wishlist,
278
- .wishlist_table a.ask-an-estimate-button,
279
- .wishlist-title a.show-title-form,
280
- .hidden-title-form a.hide-title-form,
281
- .woocommerce .yith-wcwl-wishlist-new button,
282
- .wishlist_manage_table a.create-new-wishlist,
283
- .wishlist_manage_table button.submit-wishlist-changes,
284
- .yith-wcwl-wishlist-search-form button.wishlist-search-button{
285
- margin: 0px;
286
- box-shadow: none;
287
- text-shadow: none;
288
- border-radius: 3px;
289
- }
290
-
291
- /* Wishlist title */
292
- .woocommerce .wishlist-title h2{
293
- vertical-align: middle;
294
- }
295
-
296
- .woocommerce .wishlist-title a.show-title-form{
297
- vertical-align: middle;
298
- margin-left: 15px;
299
- }
300
-
301
- .woocommerce .hidden-title-form input[type="text"]{
302
- border: 1px solid #ccc;
303
- border-radius: 3px;
304
- height: 35px;
305
- min-width: 250px;
306
- vertical-align: middle;
307
- }
308
-
309
- .woocommerce .hidden-title-form button{
310
- padding: 7px 24px;
311
- vertical-align: middle;
312
- border: none;
313
- position: relative;
314
- }
315
-
316
- .woocommerce .hidden-title-form button:active{
317
- top: 1px;
318
- }
319
-
320
- .woocommerce .hidden-title-form a.hide-title-form{
321
- vertical-align: middle;
322
- line-height: normal;
323
- }
324
-
325
- /* Remove buttons */
326
- .woocommerce #content table.wishlist_table.cart a.remove{
327
- color: #c3c3c3;
328
- margin: 0 auto;
329
- }
330
-
331
- .woocommerce #content table.wishlist_table.cart a.remove:hover{
332
- background-color: #c3c3c3;
333
- color: #fff;
334
- }
335
-
336
- /* Share buttons */
337
- .yith-wcwl-share{
338
- margin-bottom: 35px;
339
- }
340
-
341
- .yith-wcwl-share h4.yith-wcwl-share-title{
342
- margin: 10px 0;
343
- }
344
-
345
- .yith-wcwl-share ul {
346
- margin: 5px 0;
347
- padding: 0;
348
- }
349
-
350
- .yith-wcwl-share ul, .yith-wcwl-share li { height: 21px; }
351
- .yith-wcwl-share li, .entry-content .yith-wcwl-share li { margin-left: 0px; margin-right: 0px; }
352
-
353
- .yith-wcwl-share li a {
354
- background-position: left top;
355
- display: inline-block;
356
- width: 21px;
357
- height: 21px;
358
- border: none;
359
- }
360
-
361
- .yith-wcwl-share li a:hover { background-position: left bottom; }
362
- .yith-wcwl-share li a.facebook { background-image: url(../images/facebook.png ); }
363
- .yith-wcwl-share li a.twitter { background-image: url(../images/twitter.png ); }
364
- .yith-wcwl-share li a.pinterest { background-image: url(../images/pinterest.jpg ); }
365
- .yith-wcwl-share li a.googleplus { background-image: url(../images/googleplus.jpg ); }
366
- .yith-wcwl-share li a.email { background-image: url(../images/email.jpg ); }
367
-
368
- /* Ask an estimate button */
369
- .woocommerce .wishlist_table.cart .ask-an-estimate-button,
370
- .woocommerce .wishlist_table.cart #custom_add_to_cart{
371
- margin: 10px 0;
372
- display: inline-block;
373
- }
374
-
375
- .woocommerce .wishlist_table.cart .ask-an-estimate-button{
376
- padding: 7px 12px;
377
- line-height: normal;
378
- }
379
-
380
- #ask_an_estimate_popup{
381
- display: none;
382
- }
383
-
384
- .ask-an-estimate-button-popup{
385
- margin-top: 30px!important;
386
- float: right;
387
- text-transform: none;
388
- }
389
-
390
- #additional_notes{
391
- min-height: 150px;
392
- }
393
-
394
- /* Create new wishlist*/
395
- .yith-wcwl-wishlist-new{
396
- padding: 20px 30px;
397
- border-bottom: 1px solid #e7e7e7;
398
- }
399
-
400
- .yith-wcwl-wishlist-new label{
401
- vertical-align: middle;
402
- margin-right: 20px;
403
- }
404
-
405
- .yith-wcwl-wishlist-new input{
406
- min-width: 190px;
407
- }
408
-
409
- .yith-wcwl-wishlist-new input[type="text"],
410
- .yith-wcwl-wishlist-new select{
411
- border: 1px solid #ccc;
412
- border-radius: 3px;
413
- height: 35px;
414
- vertical-align: middle;
415
- margin-right: 10px;
416
- }
417
-
418
- .woocommerce .yith-wcwl-wishlist-new button{
419
- padding: 7px 24px;
420
- vertical-align: middle;
421
- border: 1px solid;
422
- position: relative;
423
- }
424
-
425
- .woocommerce .yith-wcwl-wishlist-new button:active{
426
- top: 1px;
427
- }
428
-
429
- /* Manage wishlists */
430
- .woocommerce .wishlist_manage_table select{
431
- border: 1px solid #ccc;
432
- border-radius: 3px;
433
- height: 35px;
434
- vertical-align: middle;
435
- margin-right: 10px;
436
- }
437
-
438
- .woocommerce table.wishlist_manage_table tfoot td{
439
- text-align: right;
440
- padding: 24px 12px;
441
- }
442
-
443
- .woocommerce .wishlist_manage_table tfoot button.submit-wishlist-changes{
444
- padding: 7px 24px;
445
- vertical-align: middle;
446
- border: 1px solid;
447
- border-radius: 3px;
448
- position: relative;
449
- line-height: normal;
450
- }
451
-
452
- .woocommerce .wishlist_manage_table tfoot button.submit-wishlist-changes:active{
453
- top: 1px;
454
- }
455
-
456
- .woocommerce .wishlist_manage_table tfoot a.create-new-wishlist{
457
- vertical-align: middle;
458
- line-height: normal;
459
- padding: 7px 24px;
460
- }
461
-
462
- /* Search wishlist */
463
- .woocommerce .yith-wcwl-wishlist-search-form{
464
- padding: 20px 80px;
465
- border-bottom: 1px solid #e7e7e7;
466
- }
467
-
468
- .woocommerce .yith-wcwl-wishlist-search-form:after{
469
- content: '';
470
- display: block;
471
- clear: both;
472
- }
473
-
474
- .woocommerce .yith-wcwl-wishlist-search-form #wishlist_search{
475
- min-width: 300px;
476
- border: 1px solid #ccc;
477
- border-radius: 3px;
478
- height: 35px;
479
- vertical-align: middle;
480
- float: left;
481
- }
482
-
483
- .woocommerce .yith-wcwl-wishlist-search-form button.wishlist-search-button{
484
- padding: 7px 24px;
485
- vertical-align: middle;
486
- border: 1px solid;
487
- border-radius: 3px;
488
- position: relative;
489
- line-height: normal;
490
- float: right;
491
- }
492
-
493
- .woocommerce p.yith-wcwl-empty-search-result{
494
- padding: 50px 0;
495
- text-align: center;
496
- }
497
-
498
- .woocommerce .yith-wcwl-wishlist-search-form button.wishlist-search-button:active{
499
- top: 1px;
500
- }
501
-
502
- .woocommerce ul.yith-wcwl-search-results,
503
- .woocommerce ul.user-wishlists{
504
- list-style: none;
505
- margin: 0;
506
- padding: 0;
507
- }
508
-
509
- .woocommerce ul.yith-wcwl-search-results > li{
510
- padding: 50px 80px;
511
- border-bottom: 1px solid #e7e7e7;
512
- }
513
-
514
- .woocommerce ul.yith-wcwl-search-results > li:after{
515
- content: '';
516
- display: block;
517
- clear: both;
518
- }
519
-
520
- .woocommerce ul.yith-wcwl-search-results .thumb{
521
- float: left;
522
- margin-right: 15px;
523
- }
524
-
525
- .woocommerce ul.yith-wcwl-search-results .user-details{
526
- overflow: hidden;
527
- padding-top: 15px;
528
- }
529
-
530
- .woocommerce ul.yith-wcwl-search-results .user-details span{
531
- display: block;
532
- }
533
-
534
- .woocommerce ul.yith-wcwl-search-results .user-details span.name{
535
- font-weight: 700;
536
- }
537
-
538
- .woocommerce ul.yith-wcwl-search-results .reuslt-details{
539
- float: left;
540
- width: 50%;
541
- }
542
-
543
- .woocommerce ul.yith-wcwl-search-results .result-wishlists{
544
- float: right;
545
- max-width: 50%;
546
- padding-top: 15px;
547
- }
548
-
549
- .woocommerce .yith-wcwl-search-pagination{
550
- padding: 5px 0;
551
- text-align: center;
552
- }
553
-
554
- /* AJAX loading gif */
555
- .yith-wcwl-add-to-wishlist .ajax-loading {
556
- box-shadow: none !important;
557
- -moz-box-shadow: none !important;
558
- -webkit-box-shadow: none !important;
559
- display: inline !important;
560
- margin-left: 5px;
561
- vertical-align: middle;
562
- visibility: hidden;
563
- width: 16px !important;
564
- height: 16px !important;
565
- }
566
-
567
- /* Widget wishlist */
568
- .widget_yith-wcwl-lists ul.dropdown li{
569
- padding: 0;
570
- }
571
-
572
- .widget_yith-wcwl-lists ul.dropdown > li a,
573
- .widget_yith-wcwl-lists ul.dropdown ul.lists > li a{
574
- display: block;
575
- padding: 5px 15px;
576
- }
577
-
578
- .widget_yith-wcwl-lists ul.dropdown ul.lists > li a{
579
- padding: 5px 25px;
580
- }
581
-
582
- .widget_yith-wcwl-lists ul.dropdown > li.lists-section{
583
- border-bottom: 1px solid #e7e7e7;
584
- }
585
-
586
- .widget_yith-wcwl-lists ul.dropdown ul.lists{
587
- margin: 0;
588
  }
1
+ /**
2
+ * Main YITH WooCommerce Wishlist CSS
3
+ *
4
+ * @author Your Inspiration Themes
5
+ * @package YITH WooCommerce Wishlist
6
+ * @version 1.1.5
7
+ */
8
+
9
+ .summary .product_meta { margin-top: 45px; }
10
+
11
+ /* Selectbox style */
12
+ .woocommerce a.selectBox{
13
+ background: #ffffff;
14
+ min-width: 100px;
15
+ margin-right: 10px;
16
+ color: inherit;
17
+ }
18
+
19
+ .woocommerce a.selectBox,
20
+ .woocommerce a.selectBox:hover{
21
+ border-bottom: 1px solid #bbb!important;
22
+ }
23
+
24
+ .woocommerce a.selectBox:hover{
25
+ color: inherit;
26
+ }
27
+
28
+ .woocommerce a.selectBox:focus{
29
+ border: 1px solid #ccc;
30
+ }
31
+
32
+ .selectBox-dropdown .selectBox-label{
33
+ vertical-align: middle;
34
+ padding: 3px 8px;
35
+ }
36
+
37
+ .selectBox-dropdown .selectBox-arrow{
38
+ border: none;
39
+ background: url(../images/jquery.selectBox-arrow.png) center right no-repeat;
40
+ }
41
+
42
+ .selectBox-dropdown.selectBox-menuShowing .selectBox-arrow{
43
+ background: url(../images/jquery.selectBox-arrow.png) center left no-repeat;
44
+ }
45
+
46
+ .selectBox-dropdown-menu{
47
+ border-bottom-left-radius: 3px;
48
+ border-bottom-right-radius: 3px;
49
+ padding: 5px;
50
+ font-size: 80%;
51
+ }
52
+
53
+ .selectBox-label.public-visibility:before,
54
+ .selectBox-dropdown-menu li.public-visibility a:before{
55
+ font-family: FontAwesome;
56
+ display: inline-block;
57
+ content: "\f0ac";
58
+ margin-right: 5px;
59
+ }
60
+
61
+ .selectBox-label.shared-visibility:before,
62
+ .selectBox-dropdown-menu li.shared-visibility a:before{
63
+ font-family: FontAwesome;
64
+ display: inline-block;
65
+ content: "\f0c1";
66
+ margin-right: 5px;
67
+ }
68
+
69
+ .selectBox-label.private-visibility:before,
70
+ .selectBox-dropdown-menu li.private-visibility a:before{
71
+ font-family: FontAwesome;
72
+ display: inline-block;
73
+ content: "\f023";
74
+ margin-right: 5px;
75
+ }
76
+
77
+ .selectBox-dropdown-menu li a{
78
+ color: inherit;
79
+ padding: 5px 8px;
80
+ border-radius: 3px;
81
+ }
82
+
83
+ .selectBox-dropdown-menu a:hover{
84
+ color: inherit;
85
+ text-decoration: none;
86
+ }
87
+
88
+ /* Wishlist table */
89
+ .woocommerce .wishlist_table td.product-add-to-cart a{
90
+ display: block!important;
91
+ margin: 0;
92
+ margin-bottom: 5px;
93
+ text-align: center;
94
+ }
95
+ .woocommerce .wishlist_table td.product-add-to-cart span.dateadded{
96
+ display: block;
97
+ }
98
+
99
+ /* Popup add to wishlist */
100
+ .yith-wcwl-add-button a.open-pretty-photo{
101
+ display: none;
102
+ }
103
+ .yes-js .yith-wcwl-add-button a.open-pretty-photo{
104
+ display: inline-block;
105
+ }
106
+ .yes-js .yith-wcwl-popup{
107
+ display: none;
108
+ text-align: center;
109
+ }
110
+ .yes-js .yith-wcwl-popup-content{
111
+
112
+ }
113
+ .yes-js .yith-wcwl-popup-content{
114
+ display: table;
115
+ width: 100%;
116
+ }
117
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-first-row{
118
+ display: table-header-group;
119
+ }
120
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-second-row{
121
+ display: none;
122
+ }
123
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container,
124
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-thumb,
125
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new,
126
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-visibility{
127
+ display: table-cell;
128
+ vertical-align: bottom;
129
+ }
130
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container{
131
+ width: 80%;
132
+ padding-bottom: 20px;
133
+ }
134
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container select,
135
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-visibility select,
136
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new input{
137
+ border: 1px solid #ccc;
138
+ height: 35px;
139
+ border-radius: 3px;
140
+ }
141
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-select-container select{
142
+ width: 100%;
143
+ font-weight: 700;
144
+ padding-left: 10px;
145
+ }
146
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-thumb{
147
+ width: 20%;
148
+ padding-bottom: 20px;
149
+ }
150
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-wishlist-thumb img{
151
+ float: right;
152
+ border: 1px solid #ccc;
153
+ border-radius: 3px;
154
+ }
155
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new{
156
+ text-align: right;
157
+ }
158
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-popup-new label{
159
+ font-weight: 700;
160
+ }
161
+ .yes-js .yith-wcwl-popup-content .yith-wcwl-visibility select{
162
+ float: right;
163
+ min-width: 90px;
164
+ }
165
+ .yes-js .yith-wcwl-popup-footer{
166
+ border-top: 1px solid #CCC;
167
+ padding: 20px 20px 0 20px;
168
+ margin: 20px -20px 0;
169
+ text-align: right;
170
+ }
171
+
172
+ /* Popup message */
173
+ #yith-wcwl-popup-message {
174
+ background: white;
175
+ border: 1px solid #CCC;
176
+ border-radius: 5px;
177
+ -webkit-border-radius: 5px;
178
+ -moz-border-radius: 5px;
179
+ line-height: 50px;
180
+ padding: 15px;
181
+ position: fixed;
182
+ text-align: center;
183
+ top: 50%;
184
+ left: 50%;
185
+ z-index: 10000; /* Thanks WP -.- */
186
+ }
187
+
188
+ /*Wishlist title form*/
189
+ .wishlist-title{
190
+ display: inline-block;
191
+ }
192
+ .wishlist-title h2{
193
+ display: inline-block;
194
+ padding: 5px;
195
+ }
196
+ .wishlist-title.wishlist-title-with-form h2:hover{
197
+ background: #efefef;
198
+ }
199
+ .wishlist-title a.show-title-form{
200
+ cursor: pointer;
201
+ visibility: hidden;
202
+ }
203
+ .wishlist-title:hover a.show-title-form{
204
+ visibility: visible;
205
+ }
206
+ .yes-js #yith-wcwl-form .hidden-title-form{
207
+ display: none;
208
+ margin: 25px 0 39px;
209
+ }
210
+
211
+ /* Wishlist table template */
212
+
213
+ .woocommerce table.wishlist_table{
214
+ font-size: 80%;
215
+ }
216
+
217
+ .woocommerce table.wishlist_table thead th{
218
+ border-top: 1px solid;
219
+ padding: 16px 12px;
220
+ }
221
+
222
+ .woocommerce table.wishlist_table tbody td{
223
+ padding: 16px 12px;
224
+ }
225
+
226
+ .woocommerce table.wishlist_table thead th,
227
+ .woocommerce table.wishlist_table tbody td{
228
+ border-color: #e7e7e7;
229
+ }
230
+
231
+ .wishlist_table tr td, .wishlist_table tr th.wishlist-delete, .wishlist_table tr th.product-checkbox { text-align: center; }
232
+ .wishlist_table tr th.product-checkbox { vertical-align: middle; width: 40px; }
233
+ .wishlist_table tr th.product-remove { vertical-align: middle; width: 40px; }
234
+ .wishlist_table tr th.product-thumbnail{ width: 80px; }
235
+ .wishlist_table tr td.product-thumbnail, .wishlist_table tr td.product-name, .wishlist_table tr td.wishlist-name, .wishlist_table tr td.wishlist-privacy, .woocommerce table.wishlist_table tfoot td { text-align: left; }
236
+ .woocommerce table.wishlist_table tr td.product-remove { padding: 16px 0 }
237
+ .wishlist_table tr td.product-thumbnail a { display: block; border: none; max-width: 80px; }
238
+ .wishlist_table tr td.product-thumbnail a img { width: 100%; }
239
+ .wishlist_table tr td.product-stock-status span.wishlist-in-stock { color: #297E29; }
240
+ .wishlist_table tr td.product-stock-status span.wishlist-out-of-stock { color: #F00; }
241
+ .wishlist_table tr td a.button { white-space: normal; }
242
+
243
+ /* Wishlist buttons */
244
+ a.add_to_wishlist{
245
+ cursor: pointer;
246
+ }
247
+
248
+ .summary .single_add_to_wishlist.button,
249
+ div.product .woocommerce-price-and-add .single_add_to_wishlist.button {
250
+ margin: 0px;
251
+ }
252
+
253
+ .wishlist_table .add_to_cart.button{
254
+ padding: 7px 12px;
255
+ line-height: normal;
256
+ }
257
+
258
+ .yith-wcwl-add-to-wishlist {
259
+ margin-top: 10px;
260
+ }
261
+
262
+ .yith-wcwl-add-button > a i,
263
+ .wishlist_table .add_to_cart.button i,
264
+ .wishlist_table .ask-an-estimate-button i,
265
+ .wishlist-title a.show-title-form i,
266
+ .hidden-title-form a.hide-title-form i,
267
+ .hidden-title-form button i,
268
+ .yith-wcwl-wishlist-new button i,
269
+ .wishlist_manage_table tfoot button.submit-wishlist-changes i,
270
+ .wishlist_manage_table tfoot a.create-new-wishlist i,
271
+ .yith-wcwl-wishlist-search-form button.wishlist-search-button i{
272
+ margin-right: 10px;
273
+ }
274
+
275
+ .wishlist_table .add_to_cart.button,
276
+ .yith-wcwl-add-button a.add_to_wishlist,
277
+ .yith-wcwl-popup-button a.add_to_wishlist,
278
+ .wishlist_table a.ask-an-estimate-button,
279
+ .wishlist-title a.show-title-form,
280
+ .hidden-title-form a.hide-title-form,
281
+ .woocommerce .yith-wcwl-wishlist-new button,
282
+ .wishlist_manage_table a.create-new-wishlist,
283
+ .wishlist_manage_table button.submit-wishlist-changes,
284
+ .yith-wcwl-wishlist-search-form button.wishlist-search-button{
285
+ margin: 0px;
286
+ box-shadow: none;
287
+ text-shadow: none;
288
+ border-radius: 3px;
289
+ }
290
+
291
+ /* Wishlist title */
292
+ .woocommerce .wishlist-title h2{
293
+ vertical-align: middle;
294
+ }
295
+
296
+ .woocommerce .wishlist-title a.show-title-form{
297
+ vertical-align: middle;
298
+ margin-left: 15px;
299
+ }
300
+
301
+ .woocommerce .hidden-title-form input[type="text"]{
302
+ border: 1px solid #ccc;
303
+ border-radius: 3px;
304
+ height: 35px;
305
+ min-width: 250px;
306
+ vertical-align: middle;
307
+ }
308
+
309
+ .woocommerce .hidden-title-form button{
310
+ padding: 7px 24px;
311
+ vertical-align: middle;
312
+ border: none;
313
+ position: relative;
314
+ }
315
+
316
+ .woocommerce .hidden-title-form button:active{
317
+ top: 1px;
318
+ }
319
+
320
+ .woocommerce .hidden-title-form a.hide-title-form{
321
+ vertical-align: middle;
322
+ line-height: normal;
323
+ }
324
+
325
+ /* Remove buttons */
326
+ .woocommerce #content table.wishlist_table.cart a.remove{
327
+ color: #c3c3c3;
328
+ margin: 0 auto;
329
+ }
330
+
331
+ .woocommerce #content table.wishlist_table.cart a.remove:hover{
332
+ background-color: #c3c3c3;
333
+ color: #fff;
334
+ }
335
+
336
+ /* Share buttons */
337
+ .yith-wcwl-share{
338
+ margin-bottom: 35px;
339
+ }
340
+
341
+ .yith-wcwl-share h4.yith-wcwl-share-title{
342
+ margin: 10px 0;
343
+ }
344
+
345
+ .yith-wcwl-share ul {
346
+ margin: 5px 0;
347
+ padding: 0;
348
+ }
349
+
350
+ .yith-wcwl-share ul, .yith-wcwl-share li { height: 21px; }
351
+ .yith-wcwl-share li, .entry-content .yith-wcwl-share li { margin-left: 0px; margin-right: 0px; }
352
+
353
+ .yith-wcwl-share li a {
354
+ background-position: left top;
355
+ display: inline-block;
356
+ width: 21px;
357
+ height: 21px;
358
+ border: none;
359
+ }
360
+
361
+ .yith-wcwl-share li a:hover { background-position: left bottom; }
362
+ .yith-wcwl-share li a.facebook { background-image: url(../images/facebook.png ); }
363
+ .yith-wcwl-share li a.twitter { background-image: url(../images/twitter.png ); }
364
+ .yith-wcwl-share li a.pinterest { background-image: url(../images/pinterest.jpg ); }
365
+ .yith-wcwl-share li a.googleplus { background-image: url(../images/googleplus.jpg ); }
366
+ .yith-wcwl-share li a.email { background-image: url(../images/email.jpg ); }
367
+
368
+ /* Ask an estimate button */
369
+ .woocommerce .wishlist_table.cart .ask-an-estimate-button,
370
+ .woocommerce .wishlist_table.cart #custom_add_to_cart{
371
+ margin: 10px 0;
372
+ display: inline-block;
373
+ }
374
+
375
+ .woocommerce .wishlist_table.cart .ask-an-estimate-button{
376
+ padding: 7px 12px;
377
+ line-height: normal;
378
+ }
379
+
380
+ #ask_an_estimate_popup{
381
+ display: none;
382
+ }
383
+
384
+ .ask-an-estimate-button-popup{
385
+ margin-top: 30px!important;
386
+ float: right;
387
+ text-transform: none;
388
+ }
389
+
390
+ #additional_notes{
391
+ min-height: 150px;
392
+ }
393
+
394
+ /* Create new wishlist*/
395
+ .yith-wcwl-wishlist-new{
396
+ padding: 20px 30px;
397
+ border-bottom: 1px solid #e7e7e7;
398
+ }
399
+
400
+ .yith-wcwl-wishlist-new label{
401
+ vertical-align: middle;
402
+ margin-right: 20px;
403
+ }
404
+
405
+ .yith-wcwl-wishlist-new input{
406
+ min-width: 190px;
407
+ }
408
+
409
+ .yith-wcwl-wishlist-new input[type="text"],
410
+ .yith-wcwl-wishlist-new select{
411
+ border: 1px solid #ccc;
412
+ border-radius: 3px;
413
+ height: 35px;
414
+ vertical-align: middle;
415
+ margin-right: 10px;
416
+ }
417
+
418
+ .woocommerce .yith-wcwl-wishlist-new button{
419
+ padding: 7px 24px;
420
+ vertical-align: middle;
421
+ border: 1px solid;
422
+ position: relative;
423
+ }
424
+
425
+ .woocommerce .yith-wcwl-wishlist-new button:active{
426
+ top: 1px;
427
+ }
428
+
429
+ /* Manage wishlists */
430
+ .woocommerce .wishlist_manage_table select{
431
+ border: 1px solid #ccc;
432
+ border-radius: 3px;
433
+ height: 35px;
434
+ vertical-align: middle;
435
+ margin-right: 10px;
436
+ }
437
+
438
+ .woocommerce table.wishlist_manage_table tfoot td{
439
+ text-align: right;
440
+ padding: 24px 12px;
441
+ }
442
+
443
+ .woocommerce .wishlist_manage_table tfoot button.submit-wishlist-changes{
444
+ padding: 7px 24px;
445
+ vertical-align: middle;
446
+ border: 1px solid;
447
+ border-radius: 3px;
448
+ position: relative;
449
+ line-height: normal;
450
+ }
451
+
452
+ .woocommerce .wishlist_manage_table tfoot button.submit-wishlist-changes:active{
453
+ top: 1px;
454
+ }
455
+
456
+ .woocommerce .wishlist_manage_table tfoot a.create-new-wishlist{
457
+ vertical-align: middle;
458
+ line-height: normal;
459
+ padding: 7px 24px;
460
+ }
461
+
462
+ /* Search wishlist */
463
+ .woocommerce .yith-wcwl-wishlist-search-form{
464
+ padding: 20px 80px;
465
+ border-bottom: 1px solid #e7e7e7;
466
+ }
467
+
468
+ .woocommerce .yith-wcwl-wishlist-search-form:after{
469
+ content: '';
470
+ display: block;
471
+ clear: both;
472
+ }
473
+
474
+ .woocommerce .yith-wcwl-wishlist-search-form #wishlist_search{
475
+ min-width: 300px;
476
+ border: 1px solid #ccc;
477
+ border-radius: 3px;
478
+ height: 35px;
479
+ vertical-align: middle;
480
+ float: left;
481
+ }
482
+
483
+ .woocommerce .yith-wcwl-wishlist-search-form button.wishlist-search-button{
484
+ padding: 7px 24px;
485
+ vertical-align: middle;
486
+ border: 1px solid;
487
+ border-radius: 3px;
488
+ position: relative;
489
+ line-height: normal;
490
+ float: right;
491
+ }
492
+
493
+ .woocommerce p.yith-wcwl-empty-search-result{
494
+ padding: 50px 0;
495
+ text-align: center;
496
+ }
497
+
498
+ .woocommerce .yith-wcwl-wishlist-search-form button.wishlist-search-button:active{
499
+ top: 1px;
500
+ }
501
+
502
+ .woocommerce ul.yith-wcwl-search-results,
503
+ .woocommerce ul.user-wishlists{
504
+ list-style: none;
505
+ margin: 0;
506
+ padding: 0;
507
+ }
508
+
509
+ .woocommerce ul.yith-wcwl-search-results > li{
510
+ padding: 50px 80px;
511
+ border-bottom: 1px solid #e7e7e7;
512
+ }
513
+
514
+ .woocommerce ul.yith-wcwl-search-results > li:after{
515
+ content: '';
516
+ display: block;
517
+ clear: both;
518
+ }
519
+
520
+ .woocommerce ul.yith-wcwl-search-results .thumb{
521
+ float: left;
522
+ margin-right: 15px;
523
+ }
524
+
525
+ .woocommerce ul.yith-wcwl-search-results .user-details{
526
+ overflow: hidden;
527
+ padding-top: 15px;
528
+ }
529
+
530
+ .woocommerce ul.yith-wcwl-search-results .user-details span{
531
+ display: block;
532
+ }
533
+
534
+ .woocommerce ul.yith-wcwl-search-results .user-details span.name{
535
+ font-weight: 700;
536
+ }
537
+
538
+ .woocommerce ul.yith-wcwl-search-results .reuslt-details{
539
+ float: left;
540
+ width: 50%;
541
+ }
542
+
543
+ .woocommerce ul.yith-wcwl-search-results .result-wishlists{
544
+ float: right;
545
+ max-width: 50%;
546
+ padding-top: 15px;
547
+ }
548
+
549
+ .woocommerce .yith-wcwl-search-pagination{
550
+ padding: 5px 0;
551
+ text-align: center;
552
+ }
553
+
554
+ /* AJAX loading gif */
555
+ .yith-wcwl-add-to-wishlist .ajax-loading {
556
+ box-shadow: none !important;
557
+ -moz-box-shadow: none !important;
558
+ -webkit-box-shadow: none !important;
559
+ display: inline !important;
560
+ margin-left: 5px;
561
+ vertical-align: middle;
562
+ visibility: hidden;
563
+ width: 16px !important;
564
+ height: 16px !important;
565
+ }
566
+
567
+ /* Widget wishlist */
568
+ .widget_yith-wcwl-lists ul.dropdown li{
569
+ padding: 0;
570
+ }
571
+
572
+ .widget_yith-wcwl-lists ul.dropdown > li a,
573
+ .widget_yith-wcwl-lists ul.dropdown ul.lists > li a{
574
+ display: block;
575
+ padding: 5px 15px;
576
+ }
577
+
578
+ .widget_yith-wcwl-lists ul.dropdown ul.lists > li a{
579
+ padding: 5px 25px;
580
+ }
581
+
582
+ .widget_yith-wcwl-lists ul.dropdown > li.lists-section{
583
+ border-bottom: 1px solid #e7e7e7;
584
+ }
585
+
586
+ .widget_yith-wcwl-lists ul.dropdown ul.lists{
587
+ margin: 0;
588
  }
assets/js/admin/yith-wcwl.js CHANGED
@@ -1,5 +1,5 @@
1
- jQuery(document).ready(function(a){a("input#yith_wcwl_frontend_css").on("change",function(){a(this).is(":checked")?(a("#yith_wcwl_styles_colors").hide(),a("#yith_wcwl_rounded_corners").parents("tr").hide(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").hide(),a("#yith_wcwl_add_to_cart_icon").parents("tr").hide()):(a("#yith_wcwl_styles_colors").show(),a("#yith_wcwl_use_button").is(":checked")&&(a("#yith_wcwl_rounded_corners").parents("tr").show(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").show(),
2
- a("#yith_wcwl_add_to_cart_icon").parents("tr").show()))}).change();a("input#yith_wcwl_use_button").on("change",function(){a(this).is(":checked")&&!a("#yith_wcwl_frontend_css").is(":checked")?(a("#yith_wcwl_rounded_corners").parents("tr").show(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").show(),a("#yith_wcwl_add_to_cart_icon").parents("tr").show()):(a("#yith_wcwl_rounded_corners").parents("tr").hide(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").hide(),a("#yith_wcwl_add_to_cart_icon").parents("tr").hide())}).change();
3
- a("#yith_wcwl_multi_wishlist_enable").on("change",function(){a(this).is(":checked")?(a("#yith_wcwl_wishlist_create_title").parents("tr").show(),a("#yith_wcwl_wishlist_manage_title").parents("tr").show()):(a("#yith_wcwl_wishlist_create_title").parents("tr").hide(),a("#yith_wcwl_wishlist_manage_title").parents("tr").hide())}).change();a("input#yith_wcwl_disable_wishlist_for_unauthenticated_users").on("change",function(){a(this).is(":checked")?(a("#yith_wcwl_show_login_notice").parents("tr").hide(),
4
- a("#yith_wcwl_login_anchor_text").parents("tr").hide()):(a("#yith_wcwl_show_login_notice").parents("tr").show(),a("#yith_wcwl_login_anchor_text").parents("tr").show())}).change();a("input#yith_wcwl_show_estimate_button").on("change",function(){if(a(this).is(":checked")){var b=a("#yith_wcwl_show_additional_info_textarea");b.parents("tr").show();b.on("change",function(){a(this).is(":checked")?a("#yith_wcwl_additional_info_textarea_label").parents("tr").show():a("#yith_wcwl_additional_info_textarea_label").parents("tr").hide()}).change()}else a("#yith_wcwl_show_additional_info_textarea").parents("tr").hide(),
5
  a("#yith_wcwl_additional_info_textarea_label").parents("tr").hide()}).change()});
1
+ jQuery(document).ready(function(a){a("input#yith_wcwl_frontend_css").on("change",function(){a(this).is(":checked")?(a("#yith_wcwl_styles_colors").hide(),a("#yith_wcwl_rounded_corners").parents("tr").hide(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").hide(),a("#yith_wcwl_add_to_cart_icon").parents("tr").hide()):(a("#yith_wcwl_styles_colors").show(),a("#yith_wcwl_use_button").is(":checked")&&(a("#yith_wcwl_rounded_corners").parents("tr").show(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").show(),
2
+ a("#yith_wcwl_add_to_cart_icon").parents("tr").show()))}).change();a("input#yith_wcwl_use_button").on("change",function(){a(this).is(":checked")&&!a("#yith_wcwl_frontend_css").is(":checked")?(a("#yith_wcwl_rounded_corners").parents("tr").show(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").show(),a("#yith_wcwl_add_to_cart_icon").parents("tr").show()):(a("#yith_wcwl_rounded_corners").parents("tr").hide(),a("#yith_wcwl_add_to_wishlist_icon").parents("tr").hide(),a("#yith_wcwl_add_to_cart_icon").parents("tr").hide())}).change();
3
+ a("#yith_wcwl_multi_wishlist_enable").on("change",function(){a(this).is(":checked")?(a("#yith_wcwl_wishlist_create_title").parents("tr").show(),a("#yith_wcwl_wishlist_manage_title").parents("tr").show()):(a("#yith_wcwl_wishlist_create_title").parents("tr").hide(),a("#yith_wcwl_wishlist_manage_title").parents("tr").hide())}).change();a("input#yith_wcwl_disable_wishlist_for_unauthenticated_users").on("change",function(){a(this).is(":checked")?(a("#yith_wcwl_show_login_notice").parents("tr").hide(),
4
+ a("#yith_wcwl_login_anchor_text").parents("tr").hide()):(a("#yith_wcwl_show_login_notice").parents("tr").show(),a("#yith_wcwl_login_anchor_text").parents("tr").show())}).change();a("input#yith_wcwl_show_estimate_button").on("change",function(){if(a(this).is(":checked")){var b=a("#yith_wcwl_show_additional_info_textarea");b.parents("tr").show();b.on("change",function(){a(this).is(":checked")?a("#yith_wcwl_additional_info_textarea_label").parents("tr").show():a("#yith_wcwl_additional_info_textarea_label").parents("tr").hide()}).change()}else a("#yith_wcwl_show_additional_info_textarea").parents("tr").hide(),
5
  a("#yith_wcwl_additional_info_textarea_label").parents("tr").hide()}).change()});
assets/js/jquery.yith-wcwl.js CHANGED
@@ -1,19 +1,19 @@
1
- jQuery(document).ready(function(b){function l(){"undefined"!=typeof b.prettyPhoto&&b('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({hook:"data-rel",social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1});h.off("change");h=b('.wishlist_table tbody input[type="checkbox"]');"undefined"!=typeof b.fn.selectBox&&b("select.selectBox").selectBox();k()}function r(){var a=b(".woocommerce-message");0==a.length?b("#yith-wcwl-form").prepend(yith_wcwl_l10n.labels.added_to_cart_message):
2
- a.fadeOut(300,function(){b(this).replaceWith(yith_wcwl_l10n.labels.added_to_cart_message).fadeIn()})}function t(a){var c=a.data("product-id"),d=b(".add-to-wishlist-"+c),c={add_to_wishlist:c,product_type:a.data("product-type"),action:yith_wcwl_l10n.actions.add_to_wishlist_action};if(yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in){var e=a.parents(".yith-wcwl-popup-footer").prev(".yith-wcwl-popup-content"),f=e.find(".wishlist-select"),g=e.find(".wishlist-name"),e=e.find(".wishlist-visibility");
3
- c.wishlist_id=f.val();c.wishlist_name=g.val();c.wishlist_visibility=e.val()}p()?b.ajax({type:"POST",url:yith_wcwl_l10n.ajax_url,data:c,dataType:"json",beforeSend:function(){a.siblings(".ajax-loading").css("visibility","visible")},complete:function(){a.siblings(".ajax-loading").css("visibility","hidden")},success:function(a){var c=b("#yith-wcwl-popup-message"),e=a.result,f=a.message;if(yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in){var g=b("select.wishlist-select");"undefined"!=typeof b.prettyPhoto&&
4
- b.prettyPhoto.close();g.each(function(d){d=b(this);var c=d.find("option"),c=c.slice(1,c.length-1);c.remove();if("undefined"!=typeof a.user_wishlists)for(c in c=0,a.user_wishlists)"1"!=a.user_wishlists[c].is_default&&b("<option>").val(a.user_wishlists[c].ID).html(a.user_wishlists[c].wishlist_name).insertBefore(d.find("option:last-child"))})}b("#yith-wcwl-message").html(f);c.css("margin-left","-"+b(c).width()+"px").fadeIn();window.setTimeout(function(){c.fadeOut()},2E3);"true"==e?((!yith_wcwl_l10n.multi_wishlist||
5
- !yith_wcwl_l10n.is_user_logged_in||yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in&&yith_wcwl_l10n.hide_add_button)&&d.find(".yith-wcwl-add-button").hide().removeClass("show").addClass("hide"),d.find(".yith-wcwl-wishlistexistsbrowse").hide().removeClass("show").addClass("hide").find("a").attr("href",a.wishlist_url),d.find(".yith-wcwl-wishlistaddedbrowse").show().removeClass("hide").addClass("show").find("a").attr("href",a.wishlist_url)):"exists"==e?((!yith_wcwl_l10n.multi_wishlist||
6
- !yith_wcwl_l10n.is_user_logged_in||yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in&&yith_wcwl_l10n.hide_add_button)&&d.find(".yith-wcwl-add-button").hide().removeClass("show").addClass("hide"),d.find(".yith-wcwl-wishlistexistsbrowse").show().removeClass("hide").addClass("show").find("a").attr("href",a.wishlist_url),d.find(".yith-wcwl-wishlistaddedbrowse").hide().removeClass("show").addClass("hide").find("a").attr("href",a.wishlist_url)):(d.find(".yith-wcwl-add-button").show().removeClass("hide").addClass("show"),
7
- d.find(".yith-wcwl-wishlistexistsbrowse").hide().removeClass("show").addClass("hide"),d.find(".yith-wcwl-wishlistaddedbrowse").hide().removeClass("show").addClass("hide"));b("body").trigger("added_to_wishlist")}}):alert(yith_wcwl_l10n.labels.cookie_disabled)}function u(a){var c=a.parents(".cart.wishlist_table"),d=c.data("pagination"),e=c.data("per-page"),f=c.data("page");a=a.parents("tr");c.find(".pagination-row");a=a.data("row-id");var g=c.data("id"),m=c.data("token"),d={action:yith_wcwl_l10n.actions.remove_from_wishlist_action,
8
- remove_from_wishlist:a,pagination:d,per_page:e,current_page:f,wishlist_id:g,wishlist_token:m};b("#yith-wcwl-message").html("&nbsp;");"undefined"!=typeof b.fn.block&&c.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}});b("#yith-wcwl-form").load(yith_wcwl_l10n.ajax_url+" #yith-wcwl-form",d,function(){"undefined"!=typeof b.fn.unblock&&c.stop(!0).css("opacity","1").unblock();l();
9
- b("body").trigger("removed_from_wishlist")})}function v(a,c){var d=a.data("product-id"),e=b(document).find(".cart.wishlist_table"),f=e.data("pagination"),g=e.data("per-page"),m=e.data("id"),h=e.data("token"),d={action:yith_wcwl_l10n.actions.reload_wishlist_and_adding_elem_action,pagination:f,per_page:g,wishlist_id:m,wishlist_token:h,add_to_wishlist:d,product_type:a.data("product-type")};p()?b.ajax({type:"POST",url:yith_wcwl_l10n.ajax_url,data:d,dataType:"html",beforeSend:function(){"undefined"!=typeof b.fn.block&&
10
- e.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})},success:function(a){a=b(a).find("#yith-wcwl-form");c.replaceWith(a);l()}}):alert(yith_wcwl_l10n.labels.cookie_disabled)}function w(a){var c=a.parents(".cart.wishlist_table"),d=c.data("token"),e=c.data("id"),f=a.parents("tr").data("row-id");a=a.val();var g=c.data("pagination"),h=c.data("per-page"),k=c.data("page"),d={action:yith_wcwl_l10n.actions.move_to_another_wishlist_action,
11
- wishlist_token:d,wishlist_id:e,destination_wishlist_token:a,item_id:f,pagination:g,per_page:h,current_page:k};""!=a&&("undefined"!=typeof b.fn.block&&c.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),b("#yith-wcwl-form").load(yith_wcwl_l10n.ajax_url+" #yith-wcwl-form",d,function(){"undefined"!=typeof b.fn.unblock&&c.stop(!0).css("opacity","1").unblock();l();b("body").trigger("moved_to_another_wishlist")}))}
12
- function q(a){var c=b(this);a.preventDefault();c.parents(".wishlist-title").next().show();c.parents(".wishlist-title").hide()}function x(a){var c=b(this);a.preventDefault();c.parents(".hidden-title-form").hide();c.parents(".hidden-title-form").prev().show()}function p(){if(navigator.cookieEnabled)return!0;document.cookie="cookietest=1";var a=-1!=document.cookie.indexOf("cookietest=");document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";return a}function y(){if(0!=b(".yith-wcwl-add-to-wishlist").length&&
13
- 0==b("#yith-wcwl-popup-message").length){var a=b("<div>").attr("id","yith-wcwl-message"),a=b("<div>").attr("id","yith-wcwl-popup-message").html(a).hide();b("body").prepend(a)}}function k(){h.on("change",function(){var a="",c=b(this).parents(".cart.wishlist_table"),d=c.data("id"),c=c.data("token"),e=document.URL;h.filter(":checked").each(function(){var c=b(this);a+=0!=a.length?",":"";a+=c.parents("tr").data("row-id")});e=n(e,"wishlist_products_to_add_to_cart",a);e=n(e,"wishlist_token",c);e=n(e,"wishlist_id",
14
- d);b("#custom_add_to_cart").attr("href",e)})}function n(a,b,d){d=b+"="+d;a=a.replace(new RegExp("(&|\\?)"+b+"=[^&]*"),"$1"+d);-1<a.indexOf(b+"=")||(a=-1<a.indexOf("?")?a+("&"+d):a+("?"+d));return a}var z="undefined"!==typeof wc_add_to_cart_params?wc_add_to_cart_params.cart_redirect_after_add:"",h=b('.wishlist_table tbody input[type="checkbox"]:not(:disabled)');b(document).on("yith_wcwl_init",function(){var a=b(this),c=b('.wishlist_table tbody input[type="checkbox"]:not(:disabled)');a.on("click",".add_to_wishlist",
15
- function(a){var c=b(this);a.preventDefault();t(c);return!1});a.on("click",".remove_from_wishlist",function(a){var c=b(this);a.preventDefault();u(c);return!1});a.on("adding_to_cart","body",function(a,b,c){0!=b.closest(".wishlist_table").length&&(c.remove_from_wishlist_after_add_to_cart=b.closest("tr").data("row-id"),c.wishlist_id=b.closest("table").data("id"),wc_add_to_cart_params.cart_redirect_after_add=yith_wcwl_l10n.redirect_to_cart)});a.on("added_to_cart","body",function(a){wc_add_to_cart_params.cart_redirect_after_add=
16
- z;a=b(".wishlist_table");a.find(".added").removeClass("added");a.find(".added_to_cart").remove()});a.on("added_to_cart","body",r);a.on("cart_page_refreshed","body",l);a.on("click",".show-title-form",q);a.on("click",".wishlist-title-with-form h2",q);a.on("click",".hide-title-form",x);a.on("change",".change-wishlist",function(a){a=b(this);w(a);return!1});a.on("change",".yith-wcwl-popup-content .wishlist-select",function(a){a=b(this);"new"==a.val()?a.parents(".yith-wcwl-first-row").next(".yith-wcwl-second-row").css("display",
17
- "table-row"):a.parents(".yith-wcwl-first-row").next(".yith-wcwl-second-row").hide()});a.on("change","#bulk_add_to_cart",function(){b(this).is(":checked")?c.attr("checked","checked").change():c.removeAttr("checked").change()});a.on("click","#custom_add_to_cart",function(a){var e=b(this),f=e.parents(".cart.wishlist_table");yith_wcwl_l10n.ajax_add_to_cart_enabled&&(a.preventDefault(),"undefined"!=typeof b.fn.block&&f.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+
18
- ") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),b("#yith-wcwl-form").load(yith_wcwl_l10n.ajax_url+e.attr("href")+" #yith-wcwl-form",{action:yith_wcwl_l10n.actions.bulk_add_to_cart_action},function(){"undefined"!=typeof b.fn.unblock&&f.stop(!0).css("opacity","1").unblock();"undefined"!=typeof b.prettyPhoto&&b('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({hook:"data-rel",social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1});c.off("change");
19
- c=b('.wishlist_table tbody input[type="checkbox"]');"undefined"!=typeof b.fn.selectBox&&b("select.selectBox").selectBox();k()}))});a.on("click",".yith-wfbt-add-wishlist",function(a){a.preventDefault();a=b(this);var c=b("#yith-wcwl-form");b("html, body").animate({scrollTop:c.offset().top},500);v(a,c)});y();k()}).trigger("yith_wcwl_init");"undefined"!=typeof b.fn.selectBox&&b("select.selectBox").selectBox()});
1
+ jQuery(document).ready(function(b){function l(){"undefined"!=typeof b.prettyPhoto&&b('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({hook:"data-rel",social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1});h.off("change");h=b('.wishlist_table tbody input[type="checkbox"]');"undefined"!=typeof b.fn.selectBox&&b("select.selectBox").selectBox();k()}function r(){var a=b(".woocommerce-message");0==a.length?b("#yith-wcwl-form").prepend(yith_wcwl_l10n.labels.added_to_cart_message):
2
+ a.fadeOut(300,function(){b(this).replaceWith(yith_wcwl_l10n.labels.added_to_cart_message).fadeIn()})}function t(a){var c=a.data("product-id"),d=b(".add-to-wishlist-"+c),c={add_to_wishlist:c,product_type:a.data("product-type"),action:yith_wcwl_l10n.actions.add_to_wishlist_action};if(yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in){var e=a.parents(".yith-wcwl-popup-footer").prev(".yith-wcwl-popup-content"),f=e.find(".wishlist-select"),g=e.find(".wishlist-name"),e=e.find(".wishlist-visibility");
3
+ c.wishlist_id=f.val();c.wishlist_name=g.val();c.wishlist_visibility=e.val()}p()?b.ajax({type:"POST",url:yith_wcwl_l10n.ajax_url,data:c,dataType:"json",beforeSend:function(){a.siblings(".ajax-loading").css("visibility","visible")},complete:function(){a.siblings(".ajax-loading").css("visibility","hidden")},success:function(a){var c=b("#yith-wcwl-popup-message"),e=a.result,f=a.message;if(yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in){var g=b("select.wishlist-select");"undefined"!=typeof b.prettyPhoto&&
4
+ b.prettyPhoto.close();g.each(function(d){d=b(this);var c=d.find("option"),c=c.slice(1,c.length-1);c.remove();if("undefined"!=typeof a.user_wishlists)for(c in c=0,a.user_wishlists)"1"!=a.user_wishlists[c].is_default&&b("<option>").val(a.user_wishlists[c].ID).html(a.user_wishlists[c].wishlist_name).insertBefore(d.find("option:last-child"))})}b("#yith-wcwl-message").html(f);c.css("margin-left","-"+b(c).width()+"px").fadeIn();window.setTimeout(function(){c.fadeOut()},2E3);"true"==e?((!yith_wcwl_l10n.multi_wishlist||
5
+ !yith_wcwl_l10n.is_user_logged_in||yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in&&yith_wcwl_l10n.hide_add_button)&&d.find(".yith-wcwl-add-button").hide().removeClass("show").addClass("hide"),d.find(".yith-wcwl-wishlistexistsbrowse").hide().removeClass("show").addClass("hide").find("a").attr("href",a.wishlist_url),d.find(".yith-wcwl-wishlistaddedbrowse").show().removeClass("hide").addClass("show").find("a").attr("href",a.wishlist_url)):"exists"==e?((!yith_wcwl_l10n.multi_wishlist||
6
+ !yith_wcwl_l10n.is_user_logged_in||yith_wcwl_l10n.multi_wishlist&&yith_wcwl_l10n.is_user_logged_in&&yith_wcwl_l10n.hide_add_button)&&d.find(".yith-wcwl-add-button").hide().removeClass("show").addClass("hide"),d.find(".yith-wcwl-wishlistexistsbrowse").show().removeClass("hide").addClass("show").find("a").attr("href",a.wishlist_url),d.find(".yith-wcwl-wishlistaddedbrowse").hide().removeClass("show").addClass("hide").find("a").attr("href",a.wishlist_url)):(d.find(".yith-wcwl-add-button").show().removeClass("hide").addClass("show"),
7
+ d.find(".yith-wcwl-wishlistexistsbrowse").hide().removeClass("show").addClass("hide"),d.find(".yith-wcwl-wishlistaddedbrowse").hide().removeClass("show").addClass("hide"));b("body").trigger("added_to_wishlist")}}):alert(yith_wcwl_l10n.labels.cookie_disabled)}function u(a){var c=a.parents(".cart.wishlist_table"),d=c.data("pagination"),e=c.data("per-page"),f=c.data("page");a=a.parents("tr");c.find(".pagination-row");a=a.data("row-id");var g=c.data("id"),m=c.data("token"),d={action:yith_wcwl_l10n.actions.remove_from_wishlist_action,
8
+ remove_from_wishlist:a,pagination:d,per_page:e,current_page:f,wishlist_id:g,wishlist_token:m};b("#yith-wcwl-message").html("&nbsp;");"undefined"!=typeof b.fn.block&&c.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}});b("#yith-wcwl-form").load(yith_wcwl_l10n.ajax_url+" #yith-wcwl-form",d,function(){"undefined"!=typeof b.fn.unblock&&c.stop(!0).css("opacity","1").unblock();l();
9
+ b("body").trigger("removed_from_wishlist")})}function v(a,c){var d=a.data("product-id"),e=b(document).find(".cart.wishlist_table"),f=e.data("pagination"),g=e.data("per-page"),m=e.data("id"),h=e.data("token"),d={action:yith_wcwl_l10n.actions.reload_wishlist_and_adding_elem_action,pagination:f,per_page:g,wishlist_id:m,wishlist_token:h,add_to_wishlist:d,product_type:a.data("product-type")};p()?b.ajax({type:"POST",url:yith_wcwl_l10n.ajax_url,data:d,dataType:"html",beforeSend:function(){"undefined"!=typeof b.fn.block&&
10
+ e.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})},success:function(a){a=b(a).find("#yith-wcwl-form");c.replaceWith(a);l()}}):alert(yith_wcwl_l10n.labels.cookie_disabled)}function w(a){var c=a.parents(".cart.wishlist_table"),d=c.data("token"),e=c.data("id"),f=a.parents("tr").data("row-id");a=a.val();var g=c.data("pagination"),h=c.data("per-page"),k=c.data("page"),d={action:yith_wcwl_l10n.actions.move_to_another_wishlist_action,
11
+ wishlist_token:d,wishlist_id:e,destination_wishlist_token:a,item_id:f,pagination:g,per_page:h,current_page:k};""!=a&&("undefined"!=typeof b.fn.block&&c.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),b("#yith-wcwl-form").load(yith_wcwl_l10n.ajax_url+" #yith-wcwl-form",d,function(){"undefined"!=typeof b.fn.unblock&&c.stop(!0).css("opacity","1").unblock();l();b("body").trigger("moved_to_another_wishlist")}))}
12
+ function q(a){var c=b(this);a.preventDefault();c.parents(".wishlist-title").next().show();c.parents(".wishlist-title").hide()}function x(a){var c=b(this);a.preventDefault();c.parents(".hidden-title-form").hide();c.parents(".hidden-title-form").prev().show()}function p(){if(navigator.cookieEnabled)return!0;document.cookie="cookietest=1";var a=-1!=document.cookie.indexOf("cookietest=");document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";return a}function y(){if(0!=b(".yith-wcwl-add-to-wishlist").length&&
13
+ 0==b("#yith-wcwl-popup-message").length){var a=b("<div>").attr("id","yith-wcwl-message"),a=b("<div>").attr("id","yith-wcwl-popup-message").html(a).hide();b("body").prepend(a)}}function k(){h.on("change",function(){var a="",c=b(this).parents(".cart.wishlist_table"),d=c.data("id"),c=c.data("token"),e=document.URL;h.filter(":checked").each(function(){var c=b(this);a+=0!=a.length?",":"";a+=c.parents("tr").data("row-id")});e=n(e,"wishlist_products_to_add_to_cart",a);e=n(e,"wishlist_token",c);e=n(e,"wishlist_id",
14
+ d);b("#custom_add_to_cart").attr("href",e)})}function n(a,b,d){d=b+"="+d;a=a.replace(new RegExp("(&|\\?)"+b+"=[^&]*"),"$1"+d);-1<a.indexOf(b+"=")||(a=-1<a.indexOf("?")?a+("&"+d):a+("?"+d));return a}var z="undefined"!==typeof wc_add_to_cart_params?wc_add_to_cart_params.cart_redirect_after_add:"",h=b('.wishlist_table tbody input[type="checkbox"]:not(:disabled)');b(document).on("yith_wcwl_init",function(){var a=b(this),c=b('.wishlist_table tbody input[type="checkbox"]:not(:disabled)');a.on("click",".add_to_wishlist",
15
+ function(a){var c=b(this);a.preventDefault();t(c);return!1});a.on("click",".remove_from_wishlist",function(a){var c=b(this);a.preventDefault();u(c);return!1});a.on("adding_to_cart","body",function(a,b,c){"undefined"!=typeof b&&"undefined"!=typeof c&&0!=b.closest(".wishlist_table").length&&(c.remove_from_wishlist_after_add_to_cart=b.closest("tr").data("row-id"),c.wishlist_id=b.closest("table").data("id"),wc_add_to_cart_params.cart_redirect_after_add=yith_wcwl_l10n.redirect_to_cart)});a.on("added_to_cart",
16
+ "body",function(a){wc_add_to_cart_params.cart_redirect_after_add=z;a=b(".wishlist_table");a.find(".added").removeClass("added");a.find(".added_to_cart").remove()});a.on("added_to_cart","body",r);a.on("cart_page_refreshed","body",l);a.on("click",".show-title-form",q);a.on("click",".wishlist-title-with-form h2",q);a.on("click",".hide-title-form",x);a.on("change",".change-wishlist",function(a){a=b(this);w(a);return!1});a.on("change",".yith-wcwl-popup-content .wishlist-select",function(a){a=b(this);"new"==
17
+ a.val()?a.parents(".yith-wcwl-first-row").next(".yith-wcwl-second-row").css("display","table-row"):a.parents(".yith-wcwl-first-row").next(".yith-wcwl-second-row").hide()});a.on("change","#bulk_add_to_cart",function(){b(this).is(":checked")?c.attr("checked","checked").change():c.removeAttr("checked").change()});a.on("click","#custom_add_to_cart",function(a){var e=b(this),f=e.parents(".cart.wishlist_table");yith_wcwl_l10n.ajax_add_to_cart_enabled&&(a.preventDefault(),"undefined"!=typeof b.fn.block&&
18
+ f.fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+yith_wcwl_l10n.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),b("#yith-wcwl-form").load(yith_wcwl_l10n.ajax_url+e.attr("href")+" #yith-wcwl-form",{action:yith_wcwl_l10n.actions.bulk_add_to_cart_action},function(){"undefined"!=typeof b.fn.unblock&&f.stop(!0).css("opacity","1").unblock();"undefined"!=typeof b.prettyPhoto&&b('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({hook:"data-rel",
19
+ social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1});c.off("change");c=b('.wishlist_table tbody input[type="checkbox"]');"undefined"!=typeof b.fn.selectBox&&b("select.selectBox").selectBox();k()}))});a.on("click",".yith-wfbt-add-wishlist",function(a){a.preventDefault();a=b(this);var c=b("#yith-wcwl-form");b("html, body").animate({scrollTop:c.offset().top},500);v(a,c)});y();k()}).trigger("yith_wcwl_init");"undefined"!=typeof b.fn.selectBox&&b("select.selectBox").selectBox()});
assets/js/unminified/admin/yith-wcwl.js CHANGED
@@ -1,73 +1,73 @@
1
- jQuery( document ).ready( function( $ ){
2
- /* === COLORS TAB === */
3
- $('input#yith_wcwl_frontend_css').on('change',function () {
4
- if ($(this).is(':checked')) {
5
- $('#yith_wcwl_styles_colors').hide();
6
- $('#yith_wcwl_rounded_corners').parents('tr').hide();
7
- $('#yith_wcwl_add_to_wishlist_icon').parents('tr').hide();
8
- $('#yith_wcwl_add_to_cart_icon').parents('tr').hide();
9
- } else {
10
- $('#yith_wcwl_styles_colors').show();
11
- if ($('#yith_wcwl_use_button').is(':checked')) {
12
- $('#yith_wcwl_rounded_corners').parents('tr').show();
13
- $('#yith_wcwl_add_to_wishlist_icon').parents('tr').show();
14
- $('#yith_wcwl_add_to_cart_icon').parents('tr').show();
15
- }
16
- }
17
- }).change();
18
-
19
- $('input#yith_wcwl_use_button').on('change',function () {
20
- if ($(this).is(':checked') && !$('#yith_wcwl_frontend_css').is(':checked')) {
21
- $('#yith_wcwl_rounded_corners').parents('tr').show();
22
- $('#yith_wcwl_add_to_wishlist_icon').parents('tr').show();
23
- $('#yith_wcwl_add_to_cart_icon').parents('tr').show();
24
- } else {
25
- $('#yith_wcwl_rounded_corners').parents('tr').hide();
26
- $('#yith_wcwl_add_to_wishlist_icon').parents('tr').hide();
27
- $('#yith_wcwl_add_to_cart_icon').parents('tr').hide();
28
- }
29
- }).change();
30
-
31
- $('#yith_wcwl_multi_wishlist_enable').on('change', function () {
32
- if ($(this).is(':checked')) {
33
- $('#yith_wcwl_wishlist_create_title').parents('tr').show();
34
- $('#yith_wcwl_wishlist_manage_title').parents('tr').show();
35
- }
36
- else{
37
- $('#yith_wcwl_wishlist_create_title').parents('tr').hide();
38
- $('#yith_wcwl_wishlist_manage_title').parents('tr').hide();
39
- }
40
- }).change();
41
-
42
- /* === SETTINGS TAB === */
43
- $('input#yith_wcwl_disable_wishlist_for_unauthenticated_users').on('change',function () {
44
- if ($(this).is(':checked')) {
45
- $('#yith_wcwl_show_login_notice').parents('tr').hide();
46
- $('#yith_wcwl_login_anchor_text').parents('tr').hide();
47
- }
48
- else{
49
- $('#yith_wcwl_show_login_notice').parents('tr').show();
50
- $('#yith_wcwl_login_anchor_text').parents('tr').show();
51
- }
52
- }).change();
53
-
54
- $('input#yith_wcwl_show_estimate_button').on('change',function () {
55
- if ($(this).is(':checked')) {
56
- var additional_info = $('#yith_wcwl_show_additional_info_textarea');
57
-
58
- additional_info.parents('tr').show();
59
- additional_info.on( 'change', function(){
60
- if ($(this).is(':checked')) {
61
- $('#yith_wcwl_additional_info_textarea_label').parents('tr').show()
62
- }
63
- else{
64
- $('#yith_wcwl_additional_info_textarea_label').parents('tr').hide()
65
- }
66
- }).change();
67
- }
68
- else{
69
- $('#yith_wcwl_show_additional_info_textarea').parents('tr').hide();
70
- $('#yith_wcwl_additional_info_textarea_label').parents('tr').hide()
71
- }
72
- }).change();
73
  } );
1
+ jQuery( document ).ready( function( $ ){
2
+ /* === COLORS TAB === */
3
+ $('input#yith_wcwl_frontend_css').on('change',function () {
4
+ if ($(this).is(':checked')) {
5
+ $('#yith_wcwl_styles_colors').hide();
6
+ $('#yith_wcwl_rounded_corners').parents('tr').hide();
7
+ $('#yith_wcwl_add_to_wishlist_icon').parents('tr').hide();
8
+ $('#yith_wcwl_add_to_cart_icon').parents('tr').hide();
9
+ } else {
10
+ $('#yith_wcwl_styles_colors').show();
11
+ if ($('#yith_wcwl_use_button').is(':checked')) {
12
+ $('#yith_wcwl_rounded_corners').parents('tr').show();
13
+ $('#yith_wcwl_add_to_wishlist_icon').parents('tr').show();
14
+ $('#yith_wcwl_add_to_cart_icon').parents('tr').show();
15
+ }
16
+ }
17
+ }).change();
18
+
19
+ $('input#yith_wcwl_use_button').on('change',function () {
20
+ if ($(this).is(':checked') && !$('#yith_wcwl_frontend_css').is(':checked')) {
21
+ $('#yith_wcwl_rounded_corners').parents('tr').show();
22
+ $('#yith_wcwl_add_to_wishlist_icon').parents('tr').show();
23
+ $('#yith_wcwl_add_to_cart_icon').parents('tr').show();
24
+ } else {
25
+ $('#yith_wcwl_rounded_corners').parents('tr').hide();
26
+ $('#yith_wcwl_add_to_wishlist_icon').parents('tr').hide();
27
+ $('#yith_wcwl_add_to_cart_icon').parents('tr').hide();
28
+ }
29
+ }).change();
30
+
31
+ $('#yith_wcwl_multi_wishlist_enable').on('change', function () {
32
+ if ($(this).is(':checked')) {
33
+ $('#yith_wcwl_wishlist_create_title').parents('tr').show();
34
+ $('#yith_wcwl_wishlist_manage_title').parents('tr').show();
35
+ }
36
+ else{
37
+ $('#yith_wcwl_wishlist_create_title').parents('tr').hide();
38
+ $('#yith_wcwl_wishlist_manage_title').parents('tr').hide();
39
+ }
40
+ }).change();
41
+
42
+ /* === SETTINGS TAB === */
43
+ $('input#yith_wcwl_disable_wishlist_for_unauthenticated_users').on('change',function () {
44
+ if ($(this).is(':checked')) {
45
+ $('#yith_wcwl_show_login_notice').parents('tr').hide();
46
+ $('#yith_wcwl_login_anchor_text').parents('tr').hide();
47
+ }
48
+ else{
49
+ $('#yith_wcwl_show_login_notice').parents('tr').show();
50
+ $('#yith_wcwl_login_anchor_text').parents('tr').show();
51
+ }
52
+ }).change();
53
+
54
+ $('input#yith_wcwl_show_estimate_button').on('change',function () {
55
+ if ($(this).is(':checked')) {
56
+ var additional_info = $('#yith_wcwl_show_additional_info_textarea');
57
+
58
+ additional_info.parents('tr').show();
59
+ additional_info.on( 'change', function(){
60
+ if ($(this).is(':checked')) {
61
+ $('#yith_wcwl_additional_info_textarea_label').parents('tr').show()
62
+ }
63
+ else{
64
+ $('#yith_wcwl_additional_info_textarea_label').parents('tr').hide()
65
+ }
66
+ }).change();
67
+ }
68
+ else{
69
+ $('#yith_wcwl_show_additional_info_textarea').parents('tr').hide();
70
+ $('#yith_wcwl_additional_info_textarea_label').parents('tr').hide()
71
+ }
72
+ }).change();
73
  } );
assets/js/unminified/jquery.yith-wcwl.js CHANGED
@@ -1,604 +1,604 @@
1
- jQuery( document ).ready( function( $ ){
2
-
3
- var cart_redirect_after_add = typeof( wc_add_to_cart_params ) !== 'undefined' ? wc_add_to_cart_params.cart_redirect_after_add : '',
4
- this_page = window.location.toString(),
5
- checkboxes = $( '.wishlist_table tbody input[type="checkbox"]:not(:disabled)');
6
-
7
- $(document).on( 'yith_wcwl_init', function(){
8
- var t = $(this),
9
- checkboxes = $( '.wishlist_table tbody input[type="checkbox"]:not(:disabled)');
10
-
11
- t.on( 'click', '.add_to_wishlist', function( ev ) {
12
- var t = $( this);
13
-
14
- ev.preventDefault();
15
-
16
- call_ajax_add_to_wishlist( t );
17
-
18
- return false;
19
- } );
20
-
21
- t.on( 'click', '.remove_from_wishlist', function( ev ){
22
- var t = $( this );
23
-
24
- ev.preventDefault();
25
-
26
- remove_item_from_wishlist( t );
27
-
28
- return false;
29
- } );
30
-
31
- t.on( 'adding_to_cart', 'body', function( ev, button, data ){
32
- if( button.closest( '.wishlist_table' ).length != 0 ){
33
- data.remove_from_wishlist_after_add_to_cart = button.closest( 'tr' ).data( 'row-id' );
34
- data.wishlist_id = button.closest( 'table' ).data( 'id' );
35
- wc_add_to_cart_params.cart_redirect_after_add = yith_wcwl_l10n.redirect_to_cart;
36
- }
37
- } );
38
-
39
- t.on( 'added_to_cart', 'body', function( ev ){
40
- wc_add_to_cart_params.cart_redirect_after_add = cart_redirect_after_add;
41
-
42
- var wishlist = $( '.wishlist_table');
43
-
44
- wishlist.find( '.added' ).removeClass( 'added' );
45
- wishlist.find( '.added_to_cart' ).remove();
46
- } );
47
-
48
- t.on( 'added_to_cart', 'body', print_add_to_cart_notice );
49
-
50
- t.on( 'cart_page_refreshed', 'body', init_handling_after_ajax );
51
-
52
- t.on( 'click', '.show-title-form', show_title_form );
53
-
54
- t.on( 'click', '.wishlist-title-with-form h2', show_title_form );
55
-
56
- t.on( 'click', '.hide-title-form', hide_title_form );
57
-
58
- t.on( 'change', '.change-wishlist', function( ev ){
59
- var t = $(this);
60
-
61
- move_item_to_another_wishlist( t );
62
-
63
- return false;
64
- } );
65
-
66
- t.on( 'change', '.yith-wcwl-popup-content .wishlist-select', function( ev ){
67
- var t = $(this);
68
-
69
- if( t.val() == 'new' ){
70
- t.parents( '.yith-wcwl-first-row' ).next( '.yith-wcwl-second-row' ).css( 'display', 'table-row' );
71
- }
72
- else{
73
- t.parents( '.yith-wcwl-first-row' ).next( '.yith-wcwl-second-row' ).hide();
74
- }
75
- } );
76
-
77
- t.on( 'change', '#bulk_add_to_cart', function(){
78
- var t = $(this);
79
-
80
- if( t.is( ':checked' ) ){
81
- checkboxes.attr( 'checked','checked').change();
82
- }
83
- else{
84
- checkboxes.removeAttr( 'checked').change();
85
- }
86
- } );
87
-
88
- t.on( 'click', '#custom_add_to_cart', function(ev){
89
- var t = $(this),
90
- table = t.parents( '.cart.wishlist_table' );
91
-
92
- if( ! yith_wcwl_l10n.ajax_add_to_cart_enabled ){
93
- return;
94
- }
95
-
96
- ev.preventDefault();
97
-
98
- if( typeof $.fn.block != 'undefined' ) {
99
- table.fadeTo('400', '0.6').block({message: null,
100
- overlayCSS : {
101
- background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
102
- backgroundSize: '16px 16px',
103
- opacity : 0.6
104
- }
105
- });
106
- }
107
-
108
- $( '#yith-wcwl-form' ).load( yith_wcwl_l10n.ajax_url + t.attr( 'href' ) + ' #yith-wcwl-form', {action: yith_wcwl_l10n.actions.bulk_add_to_cart_action}, function(){
109
-
110
- if( typeof $.fn.unblock != 'undefined' ) {
111
- table.stop(true).css('opacity', '1').unblock();
112
- }
113
-
114
- if( typeof $.prettyPhoto != 'undefined' ) {
115
- $('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({
116
- hook : 'data-rel',
117
- social_tools : false,
118
- theme : 'pp_woocommerce',
119
- horizontal_padding: 20,
120
- opacity : 0.8,
121
- deeplinking : false
122
- });
123
- }
124
-
125
- checkboxes.off('change');
126
- checkboxes = $( '.wishlist_table tbody input[type="checkbox"]');
127
-
128
- if( typeof $.fn.selectBox != 'undefined' ) {
129
- $('select.selectBox').selectBox();
130
- }
131
-
132
- handle_wishlist_checkbox();
133
- } );
134
- } );
135
-
136
- t.on('click', '.yith-wfbt-add-wishlist', function(e){
137
- e.preventDefault();
138
- var t = $(this),
139
- form = $( '#yith-wcwl-form' );
140
-
141
- $('html, body').animate({
142
- scrollTop: ( form.offset().top)
143
- },500);
144
-
145
- // ajax call
146
- reload_wishlist_and_adding_elem( t, form );
147
- });
148
-
149
- add_wishlist_popup();
150
-
151
- handle_wishlist_checkbox();
152
-
153
- } ).trigger('yith_wcwl_init');
154
-
155
- /**
156
- * Adds selectbox where needed
157
- */
158
- if( typeof $.fn.selectBox != 'undefined' ) {
159
- $('select.selectBox').selectBox();
160
- }
161
-
162
- /**
163
- * Init js handling on wishlist table items after ajax update
164
- *
165
- * @return void
166
- * @since 2.0.7
167
- */
168
- function init_handling_after_ajax(){
169
- if( typeof $.prettyPhoto != 'undefined' ) {
170
- $('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({
171
- hook : 'data-rel',
172
- social_tools : false,
173
- theme : 'pp_woocommerce',
174
- horizontal_padding: 20,
175
- opacity : 0.8,
176
- deeplinking : false
177
- });
178
- }
179
-
180
- checkboxes.off('change');
181
- checkboxes = $( '.wishlist_table tbody input[type="checkbox"]');
182
-
183
- if( typeof $.fn.selectBox != 'undefined' ) {
184
- $('select.selectBox').selectBox();
185
- }
186
-
187
- handle_wishlist_checkbox();
188
- }
189
-
190
- /**
191
- * Print "Product added to cart" notice
192
- *
193
- * @return void
194
- * @since 2.0.11
195
- */
196
- function print_add_to_cart_notice(){
197
- var messages = $( '.woocommerce-message');
198
-
199
- if( messages.length == 0 ){
200
- $( '#yith-wcwl-form').prepend( yith_wcwl_l10n.labels.added_to_cart_message );
201
- }
202
- else{
203
- messages.fadeOut( 300, function(){
204
- $(this).replaceWith( yith_wcwl_l10n.labels.added_to_cart_message ).fadeIn();
205
- } );
206
- }
207
- }
208
-
209
- /**
210
- * Add a product in the wishlist.
211
- *
212
- * @param object el
213
- * @return void
214
- * @since 1.0.0
215
- */
216
- function call_ajax_add_to_wishlist( el ) {
217
- var product_id = el.data( 'product-id' ),
218
- el_wrap = $( '.add-to-wishlist-' + product_id ),
219
- data = {
220
- add_to_wishlist: product_id,
221
- product_type: el.data( 'product-type' ),
222
- action: yith_wcwl_l10n.actions.add_to_wishlist_action
223
- };
224
-
225
- if( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in ){
226
- var wishlist_popup_container = el.parents( '.yith-wcwl-popup-footer' ).prev( '.yith-wcwl-popup-content' ),
227
- wishlist_popup_select = wishlist_popup_container.find( '.wishlist-select' ),
228
- wishlist_popup_name = wishlist_popup_container.find( '.wishlist-name' ),
229
- wishlist_popup_visibility = wishlist_popup_container.find( '.wishlist-visibility' );
230
-
231
- data.wishlist_id = wishlist_popup_select.val();
232
- data.wishlist_name = wishlist_popup_name.val();
233
- data.wishlist_visibility = wishlist_popup_visibility.val();
234
- }
235
-
236
- if( ! is_cookie_enabled() ){
237
- alert( yith_wcwl_l10n.labels.cookie_disabled );
238
- return;
239
- }
240
-
241
- $.ajax({
242
- type: 'POST',
243
- url: yith_wcwl_l10n.ajax_url,
244
- data: data,
245
- dataType: 'json',
246
- beforeSend: function(){
247
- el.siblings( '.ajax-loading' ).css( 'visibility', 'visible' );
248
- },
249
- complete: function(){
250
- el.siblings( '.ajax-loading' ).css( 'visibility', 'hidden' );
251
- },
252
- success: function( response ) {
253
- var msg = $( '#yith-wcwl-popup-message' ),
254
- response_result = response.result,
255
- response_message = response.message;
256
-
257
- if( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in ) {
258
- var wishlist_select = $( 'select.wishlist-select' );
259
- if( typeof $.prettyPhoto != 'undefined' ) {
260
- $.prettyPhoto.close();
261
- }
262
-
263
- wishlist_select.each( function( index ){
264
- var t = $(this),
265
- wishlist_options = t.find( 'option' );
266
-
267
- wishlist_options = wishlist_options.slice( 1, wishlist_options.length - 1 );
268
- wishlist_options.remove();
269
-
270
- if( typeof( response.user_wishlists ) != 'undefined' ){
271
- var i = 0;
272
- for( i in response.user_wishlists ) {
273
- if ( response.user_wishlists[i].is_default != "1" ) {
274
- $('<option>')
275
- .val(response.user_wishlists[i].ID)
276
- .html(response.user_wishlists[i].wishlist_name)
277
- .insertBefore(t.find('option:last-child'))
278
- }
279
- }
280
- }
281
- } );
282
- }
283
-
284
- $( '#yith-wcwl-message' ).html( response_message );
285
- msg.css( 'margin-left', '-' + $( msg ).width() + 'px' ).fadeIn();
286
- window.setTimeout( function() {
287
- msg.fadeOut();
288
- }, 2000 );
289
-
290
- if( response_result == "true" ) {
291
- if( ! yith_wcwl_l10n.multi_wishlist || ! yith_wcwl_l10n.is_user_logged_in || ( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in && yith_wcwl_l10n.hide_add_button ) ) {
292
- el_wrap.find('.yith-wcwl-add-button').hide().removeClass('show').addClass('hide');
293
- }
294
-
295
- el_wrap.find( '.yith-wcwl-wishlistexistsbrowse').hide().removeClass('show').addClass('hide').find('a').attr('href', response.wishlist_url);
296
- el_wrap.find( '.yith-wcwl-wishlistaddedbrowse' ).show().removeClass('hide').addClass('show').find('a').attr('href', response.wishlist_url);
297
- } else if( response_result == "exists" ) {
298
- if( ! yith_wcwl_l10n.multi_wishlist || ! yith_wcwl_l10n.is_user_logged_in || ( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in && yith_wcwl_l10n.hide_add_button ) ) {
299
- el_wrap.find('.yith-wcwl-add-button').hide().removeClass('show').addClass('hide');
300
- }
301
-
302
- el_wrap.find( '.yith-wcwl-wishlistexistsbrowse' ).show().removeClass('hide').addClass('show').find('a').attr('href', response.wishlist_url);
303
- el_wrap.find( '.yith-wcwl-wishlistaddedbrowse' ).hide().removeClass('show').addClass('hide').find('a').attr('href', response.wishlist_url);
304
- } else {
305
- el_wrap.find( '.yith-wcwl-add-button' ).show().removeClass('hide').addClass('show');
306
- el_wrap.find( '.yith-wcwl-wishlistexistsbrowse' ).hide().removeClass('show').addClass('hide');
307
- el_wrap.find( '.yith-wcwl-wishlistaddedbrowse' ).hide().removeClass('show').addClass('hide');
308
- }
309
-
310
- $('body').trigger('added_to_wishlist');
311
- }
312
-
313
- });
314
- }
315
-
316
- /**
317
- * Remove a product from the wishlist.
318
- *
319
- * @param object el
320
- * @return void
321
- * @since 1.0.0
322
- */
323
- function remove_item_from_wishlist( el ) {
324
- var table = el.parents( '.cart.wishlist_table' ),
325
- pagination = table.data( 'pagination' ),
326
- per_page = table.data( 'per-page' ),
327
- current_page = table.data( 'page' ),
328
- row = el.parents( 'tr' ),
329
- pagination_row = table.find( '.pagination-row'),
330
- data_row_id = row.data( 'row-id'),
331
- wishlist_id = table.data( 'id' ),
332
- wishlist_token = table.data( 'token' ),
333
- data = {
334
- action: yith_wcwl_l10n.actions.remove_from_wishlist_action,
335
- remove_from_wishlist: data_row_id,
336
- pagination: pagination,
337
- per_page: per_page,
338
- current_page: current_page,
339
- wishlist_id: wishlist_id,
340
- wishlist_token: wishlist_token
341
- };
342
-
343
- $( '#yith-wcwl-message' ).html( '&nbsp;' );
344
-
345
- if( typeof $.fn.block != 'undefined' ) {
346
- table.fadeTo('400', '0.6').block({message: null,
347
- overlayCSS : {
348
- background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
349
- backgroundSize: '16px 16px',
350
- opacity : 0.6
351
- }
352
- });
353
- }
354
-
355
- $( '#yith-wcwl-form' ).load( yith_wcwl_l10n.ajax_url + ' #yith-wcwl-form', data, function(){
356
-
357
- if( typeof $.fn.unblock != 'undefined' ) {
358
- table.stop(true).css('opacity', '1').unblock();
359
- }
360
-
361
- init_handling_after_ajax();
362
-
363
- $('body').trigger('removed_from_wishlist');
364
- } );
365
- }
366
-
367
- /**
368
- * Remove a product from the wishlist.
369
- *
370
- * @param object el
371
- * @return void
372
- * @since 1.0.0
373
- */
374
- function reload_wishlist_and_adding_elem( el, form ) {
375
-
376
- var product_id = el.data( 'product-id' ),
377
- table = $(document).find( '.cart.wishlist_table' ),
378
- pagination = table.data( 'pagination' ),
379
- per_page = table.data( 'per-page' ),
380
- wishlist_id = table.data( 'id' ),
381
- wishlist_token = table.data( 'token' ),
382
- data = {
383
- action: yith_wcwl_l10n.actions.reload_wishlist_and_adding_elem_action,
384
- pagination: pagination,
385
- per_page: per_page,
386
- wishlist_id: wishlist_id,
387
- wishlist_token: wishlist_token,
388
- add_to_wishlist: product_id,
389
- product_type: el.data( 'product-type' )
390
- };
391
-
392
- if( ! is_cookie_enabled() ){
393
- alert( yith_wcwl_l10n.labels.cookie_disabled );
394
- return
395
- }
396
-
397
- $.ajax({
398
- type: 'POST',
399
- url: yith_wcwl_l10n.ajax_url,
400
- data: data,
401
- dataType : 'html',
402
- beforeSend: function(){
403
- if( typeof $.fn.block != 'undefined' ) {
404
- table.fadeTo('400', '0.6').block({message: null,
405
- overlayCSS : {
406
- background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
407
- backgroundSize: '16px 16px',
408
- opacity : 0.6
409
- }
410
- });
411
- }
412
- },
413
- success: function(res) {
414
- var obj = $(res),
415
- new_form = obj.find('#yith-wcwl-form'); // get new form
416
-
417
- form.replaceWith( new_form );
418
- init_handling_after_ajax();
419
- }
420
- });
421
- }
422
-
423
- /**
424
- * Move item to another wishlist
425
- *
426
- * @param object el
427
- * @return void
428
- * @since 2.0.7
429
- */
430
- function move_item_to_another_wishlist( el ){
431
- var table = el.parents( '.cart.wishlist_table'),
432
- wishlist_token = table.data( 'token'),
433
- wishlist_id = table.data( 'id' ),
434
- item = el.parents( 'tr'),
435
- item_id = item.data( 'row-id'),
436
- to_token = el.val(),
437
- pagination = table.data( 'pagination' ),
438
- per_page = table.data( 'per-page' ),
439
- current_page = table.data( 'page' ),
440
- data = {
441
- action: yith_wcwl_l10n.actions.move_to_another_wishlist_action,
442
- wishlist_token: wishlist_token,
443
- wishlist_id: wishlist_id,
444
- destination_wishlist_token: to_token,
445
- item_id: item_id,
446
- pagination: pagination,
447
- per_page: per_page,
448
- current_page: current_page
449
- };
450
-
451
- if( to_token == '' ){
452
- return;
453
- }
454
-
455
- if( typeof $.fn.block != 'undefined' ) {
456
- table.fadeTo('400', '0.6').block({message: null,
457
- overlayCSS : {
458
- background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
459
- backgroundSize: '16px 16px',
460
- opacity : 0.6
461
- }
462
- });
463
- }
464
-
465
- $( '#yith-wcwl-form' ).load( yith_wcwl_l10n.ajax_url + ' #yith-wcwl-form', data, function(){
466
-
467
- if( typeof $.fn.unblock != 'undefined' ) {
468
- table.stop(true).css('opacity', '1').unblock();
469
- }
470
-
471
- init_handling_after_ajax();
472
-
473
- $('body').trigger('moved_to_another_wishlist');
474
- } );
475
- }
476
-
477
- /**
478
- * Show form to edit wishlist title
479
- *
480
- * @param ev event
481
- * @return void
482
- * @since 2.0.0
483
- */
484
- function show_title_form( ev ){
485
- var t = $(this);
486
- ev.preventDefault();
487
-
488
- t.parents( '.wishlist-title' ).next().show();
489
- t.parents( '.wishlist-title' ).hide();
490
- }
491
-
492
- /**
493
- * Hide form to edit wishlist title
494
- *
495
- * @param ev event
496
- * @return void
497
- * @since 2.0.0
498
- */
499
- function hide_title_form( ev ) {
500
- var t = $(this);
501
- ev.preventDefault();
502
-
503
- t.parents( '.hidden-title-form').hide();
504
- t.parents( '.hidden-title-form').prev().show ();
505
- }
506
-
507
- /**
508
- * Check if cookies are enabled
509
- *
510
- * @return bool
511
- * @since 2.0.0
512
- */
513
- function is_cookie_enabled() {
514
- if (navigator.cookieEnabled) return true;
515
-
516
- // set and read cookie
517
- document.cookie = "cookietest=1";
518
- var ret = document.cookie.indexOf("cookietest=") != -1;
519
-
520
- // delete cookie
521
- document.cookie = "cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";
522
-
523
- return ret;
524
- }
525
-
526
- /**
527
- * Add wishlist popup message
528
- *
529
- * @return void
530
- * @since 2.0.0
531
- */
532
- function add_wishlist_popup() {
533
- if( $('.yith-wcwl-add-to-wishlist').length != 0 && $( '#yith-wcwl-popup-message' ).length == 0 ) {
534
- var message_div = $( '<div>' )
535
- .attr( 'id', 'yith-wcwl-message' ),
536
- popup_div = $( '<div>' )
537
- .attr( 'id', 'yith-wcwl-popup-message' )
538
- .html( message_div )
539
- .hide();
540
-
541
- $( 'body' ).prepend( popup_div );
542
- }
543
- }
544
-
545
- /**
546
- * Handle "Add to cart" checkboxes events
547
- *
548
- * @return void
549
- * @since 2.0.5
550
- */
551
- function handle_wishlist_checkbox() {
552
- checkboxes.on( 'change', function(){
553
- var ids = '',
554
- table = $(this).parents( '.cart.wishlist_table'),
555
- wishlist_id = table.data( 'id'),
556
- wishlist_token = table.data( 'token'),
557
- url = document.URL;
558
-
559
- checkboxes.filter(':checked').each( function(){
560
- var t = $(this);
561
- ids += ( ids.length != 0 ) ? ',' : '';
562
- ids += t.parents('tr').data( 'row-id' );
563
- } );
564
-
565
- url = add_query_arg( url, 'wishlist_products_to_add_to_cart', ids );
566
- url = add_query_arg( url, 'wishlist_token', wishlist_token );
567
- url = add_query_arg( url, 'wishlist_id', wishlist_id );
568
-
569
- $('#custom_add_to_cart').attr( 'href', url );
570
- } );
571
- }
572
-
573
- /**
574
- * Add a query arg to an url
575
- *
576
- * @param purl original url
577
- * @param key query argr key
578
- * @param value query arg value
579
- * @return string
580
- * @since 2.0.7
581
- */
582
- function add_query_arg(purl, key,value){
583
- var s = purl;
584
- var pair = key+"="+value;
585
-
586
- var r = new RegExp("(&|\\?)"+key+"=[^\&]*");
587
-
588
- s = s.replace(r,"$1"+pair);
589
-
590
- if(s.indexOf(key + '=')>-1){
591
-
592
-
593
- }
594
- else{
595
- if(s.indexOf('?')>-1){
596
- s+='&'+pair;
597
- }else{
598
- s+='?'+pair;
599
- }
600
- }
601
-
602
- return s;
603
- }
604
  });
1
+ jQuery( document ).ready( function( $ ){
2
+
3
+ var cart_redirect_after_add = typeof( wc_add_to_cart_params ) !== 'undefined' ? wc_add_to_cart_params.cart_redirect_after_add : '',
4
+ this_page = window.location.toString(),
5
+ checkboxes = $( '.wishlist_table tbody input[type="checkbox"]:not(:disabled)');
6
+
7
+ $(document).on( 'yith_wcwl_init', function(){
8
+ var t = $(this),
9
+ checkboxes = $( '.wishlist_table tbody input[type="checkbox"]:not(:disabled)');
10
+
11
+ t.on( 'click', '.add_to_wishlist', function( ev ) {
12
+ var t = $( this);
13
+
14
+ ev.preventDefault();
15
+
16
+ call_ajax_add_to_wishlist( t );
17
+
18
+ return false;
19
+ } );
20
+
21
+ t.on( 'click', '.remove_from_wishlist', function( ev ){
22
+ var t = $( this );
23
+
24
+ ev.preventDefault();
25
+
26
+ remove_item_from_wishlist( t );
27
+
28
+ return false;
29
+ } );
30
+
31
+ t.on( 'adding_to_cart', 'body', function( ev, button, data ){
32
+ if( typeof button != 'undefined' && typeof data != 'undefined' && button.closest( '.wishlist_table' ).length != 0 ){
33
+ data.remove_from_wishlist_after_add_to_cart = button.closest( 'tr' ).data( 'row-id' );
34
+ data.wishlist_id = button.closest( 'table' ).data( 'id' );
35
+ wc_add_to_cart_params.cart_redirect_after_add = yith_wcwl_l10n.redirect_to_cart;
36
+ }
37
+ } );
38
+
39
+ t.on( 'added_to_cart', 'body', function( ev ){
40
+ wc_add_to_cart_params.cart_redirect_after_add = cart_redirect_after_add;
41
+
42
+ var wishlist = $( '.wishlist_table');
43
+
44
+ wishlist.find( '.added' ).removeClass( 'added' );
45
+ wishlist.find( '.added_to_cart' ).remove();
46
+ } );
47
+
48
+ t.on( 'added_to_cart', 'body', print_add_to_cart_notice );
49
+
50
+ t.on( 'cart_page_refreshed', 'body', init_handling_after_ajax );
51
+
52
+ t.on( 'click', '.show-title-form', show_title_form );
53
+
54
+ t.on( 'click', '.wishlist-title-with-form h2', show_title_form );
55
+
56
+ t.on( 'click', '.hide-title-form', hide_title_form );
57
+
58
+ t.on( 'change', '.change-wishlist', function( ev ){
59
+ var t = $(this);
60
+
61
+ move_item_to_another_wishlist( t );
62
+
63
+ return false;
64
+ } );
65
+
66
+ t.on( 'change', '.yith-wcwl-popup-content .wishlist-select', function( ev ){
67
+ var t = $(this);
68
+
69
+ if( t.val() == 'new' ){
70
+ t.parents( '.yith-wcwl-first-row' ).next( '.yith-wcwl-second-row' ).css( 'display', 'table-row' );
71
+ }
72
+ else{
73
+ t.parents( '.yith-wcwl-first-row' ).next( '.yith-wcwl-second-row' ).hide();
74
+ }
75
+ } );
76
+
77
+ t.on( 'change', '#bulk_add_to_cart', function(){
78
+ var t = $(this);
79
+
80
+ if( t.is( ':checked' ) ){
81
+ checkboxes.attr( 'checked','checked').change();
82
+ }
83
+ else{
84
+ checkboxes.removeAttr( 'checked').change();
85
+ }
86
+ } );
87
+
88
+ t.on( 'click', '#custom_add_to_cart', function(ev){
89
+ var t = $(this),
90
+ table = t.parents( '.cart.wishlist_table' );
91
+
92
+ if( ! yith_wcwl_l10n.ajax_add_to_cart_enabled ){
93
+ return;
94
+ }
95
+
96
+ ev.preventDefault();
97
+
98
+ if( typeof $.fn.block != 'undefined' ) {
99
+ table.fadeTo('400', '0.6').block({message: null,
100
+ overlayCSS : {
101
+ background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
102
+ backgroundSize: '16px 16px',
103
+ opacity : 0.6
104
+ }
105
+ });
106
+ }
107
+
108
+ $( '#yith-wcwl-form' ).load( yith_wcwl_l10n.ajax_url + t.attr( 'href' ) + ' #yith-wcwl-form', {action: yith_wcwl_l10n.actions.bulk_add_to_cart_action}, function(){
109
+
110
+ if( typeof $.fn.unblock != 'undefined' ) {
111
+ table.stop(true).css('opacity', '1').unblock();
112
+ }
113
+
114
+ if( typeof $.prettyPhoto != 'undefined' ) {
115
+ $('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({
116
+ hook : 'data-rel',
117
+ social_tools : false,
118
+ theme : 'pp_woocommerce',
119
+ horizontal_padding: 20,
120
+ opacity : 0.8,
121
+ deeplinking : false
122
+ });
123
+ }
124
+
125
+ checkboxes.off('change');
126
+ checkboxes = $( '.wishlist_table tbody input[type="checkbox"]');
127
+
128
+ if( typeof $.fn.selectBox != 'undefined' ) {
129
+ $('select.selectBox').selectBox();
130
+ }
131
+
132
+ handle_wishlist_checkbox();
133
+ } );
134
+ } );
135
+
136
+ t.on('click', '.yith-wfbt-add-wishlist', function(e){
137
+ e.preventDefault();
138
+ var t = $(this),
139
+ form = $( '#yith-wcwl-form' );
140
+
141
+ $('html, body').animate({
142
+ scrollTop: ( form.offset().top)
143
+ },500);
144
+
145
+ // ajax call
146
+ reload_wishlist_and_adding_elem( t, form );
147
+ });
148
+
149
+ add_wishlist_popup();
150
+
151
+ handle_wishlist_checkbox();
152
+
153
+ } ).trigger('yith_wcwl_init');
154
+
155
+ /**
156
+ * Adds selectbox where needed
157
+ */
158
+ if( typeof $.fn.selectBox != 'undefined' ) {
159
+ $('select.selectBox').selectBox();
160
+ }
161
+
162
+ /**
163
+ * Init js handling on wishlist table items after ajax update
164
+ *
165
+ * @return void
166
+ * @since 2.0.7
167
+ */
168
+ function init_handling_after_ajax(){
169
+ if( typeof $.prettyPhoto != 'undefined' ) {
170
+ $('a[data-rel="prettyPhoto[ask_an_estimate]"]').prettyPhoto({
171
+ hook : 'data-rel',
172
+ social_tools : false,
173
+ theme : 'pp_woocommerce',
174
+ horizontal_padding: 20,
175
+ opacity : 0.8,
176
+ deeplinking : false
177
+ });
178
+ }
179
+
180
+ checkboxes.off('change');
181
+ checkboxes = $( '.wishlist_table tbody input[type="checkbox"]');
182
+
183
+ if( typeof $.fn.selectBox != 'undefined' ) {
184
+ $('select.selectBox').selectBox();
185
+ }
186
+
187
+ handle_wishlist_checkbox();
188
+ }
189
+
190
+ /**
191
+ * Print "Product added to cart" notice
192
+ *
193
+ * @return void
194
+ * @since 2.0.11
195
+ */
196
+ function print_add_to_cart_notice(){
197
+ var messages = $( '.woocommerce-message');
198
+
199
+ if( messages.length == 0 ){
200
+ $( '#yith-wcwl-form').prepend( yith_wcwl_l10n.labels.added_to_cart_message );
201
+ }
202
+ else{
203
+ messages.fadeOut( 300, function(){
204
+ $(this).replaceWith( yith_wcwl_l10n.labels.added_to_cart_message ).fadeIn();
205
+ } );
206
+ }
207
+ }
208
+
209
+ /**
210
+ * Add a product in the wishlist.
211
+ *
212
+ * @param object el
213
+ * @return void
214
+ * @since 1.0.0
215
+ */
216
+ function call_ajax_add_to_wishlist( el ) {
217
+ var product_id = el.data( 'product-id' ),
218
+ el_wrap = $( '.add-to-wishlist-' + product_id ),
219
+ data = {
220
+ add_to_wishlist: product_id,
221
+ product_type: el.data( 'product-type' ),
222
+ action: yith_wcwl_l10n.actions.add_to_wishlist_action
223
+ };
224
+
225
+ if( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in ){
226
+ var wishlist_popup_container = el.parents( '.yith-wcwl-popup-footer' ).prev( '.yith-wcwl-popup-content' ),
227
+ wishlist_popup_select = wishlist_popup_container.find( '.wishlist-select' ),
228
+ wishlist_popup_name = wishlist_popup_container.find( '.wishlist-name' ),
229
+ wishlist_popup_visibility = wishlist_popup_container.find( '.wishlist-visibility' );
230
+
231
+ data.wishlist_id = wishlist_popup_select.val();
232
+ data.wishlist_name = wishlist_popup_name.val();
233
+ data.wishlist_visibility = wishlist_popup_visibility.val();
234
+ }
235
+
236
+ if( ! is_cookie_enabled() ){
237
+ alert( yith_wcwl_l10n.labels.cookie_disabled );
238
+ return;
239
+ }
240
+
241
+ $.ajax({
242
+ type: 'POST',
243
+ url: yith_wcwl_l10n.ajax_url,
244
+ data: data,
245
+ dataType: 'json',
246
+ beforeSend: function(){
247
+ el.siblings( '.ajax-loading' ).css( 'visibility', 'visible' );
248
+ },
249
+ complete: function(){
250
+ el.siblings( '.ajax-loading' ).css( 'visibility', 'hidden' );
251
+ },
252
+ success: function( response ) {
253
+ var msg = $( '#yith-wcwl-popup-message' ),
254
+ response_result = response.result,
255
+ response_message = response.message;
256
+
257
+ if( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in ) {
258
+ var wishlist_select = $( 'select.wishlist-select' );
259
+ if( typeof $.prettyPhoto != 'undefined' ) {
260
+ $.prettyPhoto.close();
261
+ }
262
+
263
+ wishlist_select.each( function( index ){
264
+ var t = $(this),
265
+ wishlist_options = t.find( 'option' );
266
+
267
+ wishlist_options = wishlist_options.slice( 1, wishlist_options.length - 1 );
268
+ wishlist_options.remove();
269
+
270
+ if( typeof( response.user_wishlists ) != 'undefined' ){
271
+ var i = 0;
272
+ for( i in response.user_wishlists ) {
273
+ if ( response.user_wishlists[i].is_default != "1" ) {
274
+ $('<option>')
275
+ .val(response.user_wishlists[i].ID)
276
+ .html(response.user_wishlists[i].wishlist_name)
277
+ .insertBefore(t.find('option:last-child'))
278
+ }
279
+ }
280
+ }
281
+ } );
282
+ }
283
+
284
+ $( '#yith-wcwl-message' ).html( response_message );
285
+ msg.css( 'margin-left', '-' + $( msg ).width() + 'px' ).fadeIn();
286
+ window.setTimeout( function() {
287
+ msg.fadeOut();
288
+ }, 2000 );
289
+
290
+ if( response_result == "true" ) {
291
+ if( ! yith_wcwl_l10n.multi_wishlist || ! yith_wcwl_l10n.is_user_logged_in || ( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in && yith_wcwl_l10n.hide_add_button ) ) {
292
+ el_wrap.find('.yith-wcwl-add-button').hide().removeClass('show').addClass('hide');
293
+ }
294
+
295
+ el_wrap.find( '.yith-wcwl-wishlistexistsbrowse').hide().removeClass('show').addClass('hide').find('a').attr('href', response.wishlist_url);
296
+ el_wrap.find( '.yith-wcwl-wishlistaddedbrowse' ).show().removeClass('hide').addClass('show').find('a').attr('href', response.wishlist_url);
297
+ } else if( response_result == "exists" ) {
298
+ if( ! yith_wcwl_l10n.multi_wishlist || ! yith_wcwl_l10n.is_user_logged_in || ( yith_wcwl_l10n.multi_wishlist && yith_wcwl_l10n.is_user_logged_in && yith_wcwl_l10n.hide_add_button ) ) {
299
+ el_wrap.find('.yith-wcwl-add-button').hide().removeClass('show').addClass('hide');
300
+ }
301
+
302
+ el_wrap.find( '.yith-wcwl-wishlistexistsbrowse' ).show().removeClass('hide').addClass('show').find('a').attr('href', response.wishlist_url);
303
+ el_wrap.find( '.yith-wcwl-wishlistaddedbrowse' ).hide().removeClass('show').addClass('hide').find('a').attr('href', response.wishlist_url);
304
+ } else {
305
+ el_wrap.find( '.yith-wcwl-add-button' ).show().removeClass('hide').addClass('show');
306
+ el_wrap.find( '.yith-wcwl-wishlistexistsbrowse' ).hide().removeClass('show').addClass('hide');
307
+ el_wrap.find( '.yith-wcwl-wishlistaddedbrowse' ).hide().removeClass('show').addClass('hide');
308
+ }
309
+
310
+ $('body').trigger('added_to_wishlist');
311
+ }
312
+
313
+ });
314
+ }
315
+
316
+ /**
317
+ * Remove a product from the wishlist.
318
+ *
319
+ * @param object el
320
+ * @return void
321
+ * @since 1.0.0
322
+ */
323
+ function remove_item_from_wishlist( el ) {
324
+ var table = el.parents( '.cart.wishlist_table' ),
325
+ pagination = table.data( 'pagination' ),
326
+ per_page = table.data( 'per-page' ),
327
+ current_page = table.data( 'page' ),
328
+ row = el.parents( 'tr' ),
329
+ pagination_row = table.find( '.pagination-row'),
330
+ data_row_id = row.data( 'row-id'),
331
+ wishlist_id = table.data( 'id' ),
332
+ wishlist_token = table.data( 'token' ),
333
+ data = {
334
+ action: yith_wcwl_l10n.actions.remove_from_wishlist_action,
335
+ remove_from_wishlist: data_row_id,
336
+ pagination: pagination,
337
+ per_page: per_page,
338
+ current_page: current_page,
339
+ wishlist_id: wishlist_id,
340
+ wishlist_token: wishlist_token
341
+ };
342
+
343
+ $( '#yith-wcwl-message' ).html( '&nbsp;' );
344
+
345
+ if( typeof $.fn.block != 'undefined' ) {
346
+ table.fadeTo('400', '0.6').block({message: null,
347
+ overlayCSS : {
348
+ background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
349
+ backgroundSize: '16px 16px',
350
+ opacity : 0.6
351
+ }
352
+ });
353
+ }
354
+
355
+ $( '#yith-wcwl-form' ).load( yith_wcwl_l10n.ajax_url + ' #yith-wcwl-form', data, function(){
356
+
357
+ if( typeof $.fn.unblock != 'undefined' ) {
358
+ table.stop(true).css('opacity', '1').unblock();
359
+ }
360
+
361
+ init_handling_after_ajax();
362
+
363
+ $('body').trigger('removed_from_wishlist');
364
+ } );
365
+ }
366
+
367
+ /**
368
+ * Remove a product from the wishlist.
369
+ *
370
+ * @param object el
371
+ * @return void
372
+ * @since 1.0.0
373
+ */
374
+ function reload_wishlist_and_adding_elem( el, form ) {
375
+
376
+ var product_id = el.data( 'product-id' ),
377
+ table = $(document).find( '.cart.wishlist_table' ),
378
+ pagination = table.data( 'pagination' ),
379
+ per_page = table.data( 'per-page' ),
380
+ wishlist_id = table.data( 'id' ),
381
+ wishlist_token = table.data( 'token' ),
382
+ data = {
383
+ action: yith_wcwl_l10n.actions.reload_wishlist_and_adding_elem_action,
384
+ pagination: pagination,
385
+ per_page: per_page,
386
+ wishlist_id: wishlist_id,
387
+ wishlist_token: wishlist_token,
388
+ add_to_wishlist: product_id,
389
+ product_type: el.data( 'product-type' )
390
+ };
391
+
392
+ if( ! is_cookie_enabled() ){
393
+ alert( yith_wcwl_l10n.labels.cookie_disabled );
394
+ return
395
+ }
396
+
397
+ $.ajax({
398
+ type: 'POST',
399
+ url: yith_wcwl_l10n.ajax_url,
400
+ data: data,
401
+ dataType : 'html',
402
+ beforeSend: function(){
403
+ if( typeof $.fn.block != 'undefined' ) {
404
+ table.fadeTo('400', '0.6').block({message: null,
405
+ overlayCSS : {
406
+ background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
407
+ backgroundSize: '16px 16px',
408
+ opacity : 0.6
409
+ }
410
+ });
411
+ }
412
+ },
413
+ success: function(res) {
414
+ var obj = $(res),
415
+ new_form = obj.find('#yith-wcwl-form'); // get new form
416
+
417
+ form.replaceWith( new_form );
418
+ init_handling_after_ajax();
419
+ }
420
+ });
421
+ }
422
+
423
+ /**
424
+ * Move item to another wishlist
425
+ *
426
+ * @param object el
427
+ * @return void
428
+ * @since 2.0.7
429
+ */
430
+ function move_item_to_another_wishlist( el ){
431
+ var table = el.parents( '.cart.wishlist_table'),
432
+ wishlist_token = table.data( 'token'),
433
+ wishlist_id = table.data( 'id' ),
434
+ item = el.parents( 'tr'),
435
+ item_id = item.data( 'row-id'),
436
+ to_token = el.val(),
437
+ pagination = table.data( 'pagination' ),
438
+ per_page = table.data( 'per-page' ),
439
+ current_page = table.data( 'page' ),
440
+ data = {
441
+ action: yith_wcwl_l10n.actions.move_to_another_wishlist_action,
442
+ wishlist_token: wishlist_token,
443
+ wishlist_id: wishlist_id,
444
+ destination_wishlist_token: to_token,
445
+ item_id: item_id,
446
+ pagination: pagination,
447
+ per_page: per_page,
448
+ current_page: current_page
449
+ };
450
+
451
+ if( to_token == '' ){
452
+ return;
453
+ }
454
+
455
+ if( typeof $.fn.block != 'undefined' ) {
456
+ table.fadeTo('400', '0.6').block({message: null,
457
+ overlayCSS : {
458
+ background : 'transparent url(' + yith_wcwl_l10n.ajax_loader_url + ') no-repeat center',
459
+ backgroundSize: '16px 16px',
460
+ opacity : 0.6
461
+ }
462
+ });
463
+ }
464
+
465
+ $( '#yith-wcwl-form' ).load( yith_wcwl_l10n.ajax_url + ' #yith-wcwl-form', data, function(){
466
+
467
+ if( typeof $.fn.unblock != 'undefined' ) {
468
+ table.stop(true).css('opacity', '1').unblock();
469
+ }
470
+
471
+ init_handling_after_ajax();
472
+
473
+ $('body').trigger('moved_to_another_wishlist');
474
+ } );
475
+ }
476
+
477
+ /**
478
+ * Show form to edit wishlist title
479
+ *
480
+ * @param ev event
481
+ * @return void
482
+ * @since 2.0.0
483
+ */
484
+ function show_title_form( ev ){
485
+ var t = $(this);
486
+ ev.preventDefault();
487
+
488
+ t.parents( '.wishlist-title' ).next().show();
489
+ t.parents( '.wishlist-title' ).hide();
490
+ }
491
+
492
+ /**
493
+ * Hide form to edit wishlist title
494
+ *
495
+ * @param ev event
496
+ * @return void
497
+ * @since 2.0.0
498
+ */
499
+ function hide_title_form( ev ) {
500
+ var t = $(this);
501
+ ev.preventDefault();
502
+
503
+ t.parents( '.hidden-title-form').hide();
504
+ t.parents( '.hidden-title-form').prev().show ();
505
+ }
506
+
507
+ /**
508
+ * Check if cookies are enabled
509
+ *
510
+ * @return bool
511
+ * @since 2.0.0
512
+ */
513
+ function is_cookie_enabled() {
514
+ if (navigator.cookieEnabled) return true;
515
+
516
+ // set and read cookie
517
+ document.cookie = "cookietest=1";
518
+ var ret = document.cookie.indexOf("cookietest=") != -1;
519
+
520
+ // delete cookie
521
+ document.cookie = "cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT";
522
+
523
+ return ret;
524
+ }
525
+
526
+ /**
527
+ * Add wishlist popup message
528
+ *
529
+ * @return void
530
+ * @since 2.0.0
531
+ */
532
+ function add_wishlist_popup() {
533
+ if( $('.yith-wcwl-add-to-wishlist').length != 0 && $( '#yith-wcwl-popup-message' ).length == 0 ) {
534
+ var message_div = $( '<div>' )
535
+ .attr( 'id', 'yith-wcwl-message' ),
536
+ popup_div = $( '<div>' )
537
+ .attr( 'id', 'yith-wcwl-popup-message' )
538
+ .html( message_div )
539
+ .hide();
540
+
541
+ $( 'body' ).prepend( popup_div );
542
+ }
543
+ }
544
+
545
+ /**
546
+ * Handle "Add to cart" checkboxes events
547
+ *
548
+ * @return void
549
+ * @since 2.0.5
550
+ */
551
+ function handle_wishlist_checkbox() {
552
+ checkboxes.on( 'change', function(){
553
+ var ids = '',
554
+ table = $(this).parents( '.cart.wishlist_table'),
555
+ wishlist_id = table.data( 'id'),
556
+ wishlist_token = table.data( 'token'),
557
+ url = document.URL;
558
+
559
+ checkboxes.filter(':checked').each( function(){
560
+ var t = $(this);
561
+ ids += ( ids.length != 0 ) ? ',' : '';
562
+ ids += t.parents('tr').data( 'row-id' );
563
+ } );
564
+
565
+ url = add_query_arg( url, 'wishlist_products_to_add_to_cart', ids );
566
+ url = add_query_arg( url, 'wishlist_token', wishlist_token );
567
+ url = add_query_arg( url, 'wishlist_id', wishlist_id );
568
+
569
+ $('#custom_add_to_cart').attr( 'href', url );
570
+ } );
571
+ }
572
+
573
+ /**
574
+ * Add a query arg to an url
575
+ *
576
+ * @param purl original url
577
+ * @param key query argr key
578
+ * @param value query arg value
579
+ * @return string
580
+ * @since 2.0.7
581
+ */
582
+ function add_query_arg(purl, key,value){
583
+ var s = purl;
584
+ var pair = key+"="+value;
585
+
586
+ var r = new RegExp("(&|\\?)"+key+"=[^\&]*");
587
+
588
+ s = s.replace(r,"$1"+pair);
589
+
590
+ if(s.indexOf(key + '=')>-1){
591
+
592
+
593
+ }
594
+ else{
595
+ if(s.indexOf('?')>-1){
596
+ s+='&'+pair;
597
+ }else{
598
+ s+='?'+pair;
599
+ }
600
+ }
601
+
602
+ return s;
603
+ }
604
  });
includes/class.yith-wcwl-admin-init.php CHANGED
@@ -1,1512 +1,1495 @@
1
- <?php
2
- /**
3
- * Admin init class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 2.0.0
8
- */
9
-
10
- if ( ! defined( 'YITH_WCWL' ) ) {
11
- exit;
12
- } // Exit if accessed directly
13
-
14
- if ( ! class_exists( 'YITH_WCWL_Admin_Init' ) ) {
15
- /**
16
- * Initiator class. Create and populate admin views.
17
- *
18
- * @since 1.0.0
19
- */
20
- class YITH_WCWL_Admin_Init {
21
-
22
- /**
23
- * Single instance of the class
24
- *
25
- * @var \YITH_WCWL_Admin_Init
26
- * @since 2.0.0
27
- */
28
- protected static $instance;
29
-
30
- /**
31
- * Plugin version
32
- *
33
- * @var string
34
- * @since 1.0.0
35
- */
36
- public $version = '2.0.12';
37
-
38
- /**
39
- * Plugin database version
40
- *
41
- * @var string
42
- * @since 1.0.0
43
- */
44
- public $db_version = '2.0.0';
45
-
46
- /**
47
- * Wishlist panel
48
- *
49
- * @var string Panel hookname
50
- * @since 2.0.0
51
- */
52
- protected $_panel = null;
53
-
54
- /**
55
- * Tab name
56
- *
57
- * @var string
58
- * @since 1.0.0
59
- */
60
- public $tab;
61
-
62
- /**
63
- * Various links
64
- *
65
- * @var string
66
- * @access public
67
- * @since 1.0.0
68
- */
69
- public $banner_url = 'http://cdn.yithemes.com/plugins/yith_wishlist.php?url';
70
- public $banner_img = 'http://cdn.yithemes.com/plugins/yith_wishlist.php';
71
- public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-wishlist/';
72
- public $premium_landing_url = 'http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/';
73
-
74
- /**
75
- * Plugin options
76
- *
77
- * @var array
78
- * @since 1.0.0
79
- */
80
- public $options;
81
-
82
- /**
83
- * List of available tab for wishlist panel
84
- *
85
- * @var array
86
- * @access public
87
- * @since 2.0.0
88
- */
89
- public $available_tabs = array();
90
-
91
- /**
92
- * Default tab to show when no selected
93
- *
94
- * @var string
95
- * @access public
96
- * @since 2.0.0
97
- */
98
- public $default_tab = 'settings';
99
-
100
- /**
101
- * Returns single instance of the class
102
- *
103
- * @return \YITH_WCWL_Admin_Init
104
- * @since 2.0.0
105
- */
106
- public static function get_instance(){
107
- if( is_null( self::$instance ) ){
108
- self::$instance = new self();
109
- }
110
-
111
- return self::$instance;
112
- }
113
-
114
- /**
115
- * Constructor of the class
116
- *
117
- * @return \YITH_WCWL_Admin_Init
118
- * @since 2.0.0
119
- */
120
- public function __construct(){
121
- define( 'YITH_WCWL_VERSION', $this->version );
122
- define( 'YITH_WCWL_DB_VERSION', $this->db_version );
123
-
124
- // init premium features for admin panel
125
- if( function_exists( 'YITH_WCWL_Admin_Premium' ) ){
126
- YITH_WCWL_Admin_Premium();
127
- }
128
-
129
- /**
130
- * Support to WC 2.0.x
131
- */
132
- global $woocommerce;
133
- $is_woocommerce_2_0 = version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.1', '<' );
134
- $is_woocommerce_2_4 = version_compare( $woocommerce->version, '2.4.0', '>=' );
135
-
136
- $this->options = $this->_plugin_options();
137
-
138
- if ( ! defined( 'DOING_AJAX' ) ) {
139
- $this->install();
140
- }
141
-
142
- add_action( 'init', array( $this, 'init' ), 0 );
143
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ), 20 );
144
- add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCWL_DIR . 'init.php' ), array( $this, 'action_links' ) );
145
- add_filter( 'plugin_row_meta', array( $this, 'add_plugin_meta' ), 10, 2 );
146
-
147
- if( $is_woocommerce_2_0 ) {
148
- add_filter( 'woocommerce_page_settings', array( $this, 'add_page_setting_woocommerce' ) );
149
- }
150
-
151
- // saves panel options
152
- if( $is_woocommerce_2_4 ){
153
- add_filter( 'woocommerce_admin_settings_sanitize_option_yith_wcwl_color_panel', array( $this, 'update_color_options' ) );
154
- }
155
- else{
156
- add_action( 'woocommerce_update_option_yith_wcwl_color_panel', array( $this, 'update_color_options' ) );
157
- }
158
-
159
- // handles custom wc option type
160
- add_action( 'woocommerce_admin_field_yith_wcwl_color_panel', array( $this, 'print_color_panel' ) );
161
-
162
- // register wishlist panel
163
- add_action( 'admin_menu', array( $this, 'register_panel' ), 5 );
164
- add_action( 'yith_wcwl_premium_tab', array( $this, 'print_premium_tab' ) );
165
-
166
- // register pointer methods
167
- add_action( 'admin_init', array( $this, 'register_pointer' ) );
168
-
169
- //Apply filters
170
- $this->banner_url = apply_filters( 'yith_wcmg_banner_url', $this->banner_url );
171
- }
172
-
173
- /**
174
- * Get the premium landing uri
175
- *
176
- * @since 1.0.0
177
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
178
- * @return string The premium landing link
179
- */
180
- public function get_premium_landing_uri(){
181
- return defined( 'YITH_REFER_ID' ) ? $this->premium_landing_url . '?refer_id=' . YITH_REFER_ID : $this->premium_landing_url . '?refer_id=1030585';
182
- }
183
-
184
- /* === INITIALIZATION SECTION === */
185
-
186
- /**
187
- * Initiator method. Initiate properties.
188
- *
189
- * @return void
190
- * @access private
191
- * @since 1.0.0
192
- */
193
- public function init() {
194
- $this->tab = __( 'Wishlist', 'yith-woocommerce-wishlist' );
195
- $this->available_tabs = apply_filters( 'yith_wcwl_available_admin_tabs', array(
196
- 'settings' => __( 'Settings', 'yith-woocommerce-wishlist' ),
197
- 'colors' => __( 'Colors', 'yith-woocommerce-wishlist' ),
198
- 'premium' => __( 'Premium Version', 'yith-woocommerce-wishlist' )
199
- ) );
200
- $this->default_tab = apply_filters( 'yith_wcwl_default_admin_tab', $this->default_tab );
201
-
202
- wp_register_style( 'yith-wcwl-admin', YITH_WCWL_URL . 'assets/css/admin.css' );
203
- wp_register_script( 'yith-wcwl-admin', YITH_WCWL_URL . 'assets/js/admin/yith-wcwl.js' );
204
- }
205
-
206
- /**
207
- * Run the installation
208
- *
209
- * @return void
210
- * @since 1.0.0
211
- */
212
- public function install() {
213
- $stored_db_version = get_option( 'yith_wcwl_db_version' );
214
-
215
- if( $stored_db_version == '1.0.0' ){
216
- add_action( 'init', array( YITH_WCWL_Install(), 'update' ) );
217
- add_action( 'init', 'flush_rewrite_rules' );
218
- YITH_WCWL_Install()->default_options( $this->options );
219
-
220
- // Plugin installed
221
- do_action( 'yith_wcwl_installed' );
222
- do_action( 'yith_wcwl_updated' );
223
- }
224
- elseif ( $this->db_version != $stored_db_version || ! YITH_WCWL_Install()->is_installed() ) {
225
- add_action( 'init', array( YITH_WCWL_Install(), 'init' ) );
226
- YITH_WCWL_Install()->default_options( $this->options );
227
-
228
- // Plugin installed
229
- do_action( 'yith_wcwl_installed' );
230
- }
231
- }
232
-
233
- /**
234
- * Update plugin color options.
235
- *
236
- * @return void
237
- * @since 1.0.0
238
- */
239
- public function update_color_options( $value = false ) {
240
- global $pagenow;
241
-
242
- $colors_options = array();
243
-
244
- foreach ( YITH_WCWL_Init()->colors_options as $name => $option ) {
245
- foreach ( $option as $id => $color ) {
246
- $default_value = isset( $colors_options[$name][$id] ) ? $colors_options[$name][$id] : '';
247
- $colors_options[$name][$id] = isset( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) && ! empty( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) ? woocommerce_format_hex( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) : $default_value;
248
- }
249
- }
250
-
251
- update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $colors_options ) );
252
-
253
- return null;
254
- }
255
-
256
- /**
257
- * Print color panel.
258
- *
259
- * @return void
260
- * @since 1.0.0
261
- */
262
- public function print_color_panel() {
263
- ?>
264
- <div id="yith_wcwl_styles_colors">
265
- <h3><?php _e( 'Colors', 'yith-woocommerce-wishlist' ) ?></h3>
266
- <?php $this->_styles_options() ?>
267
- </div> <?php
268
- }
269
-
270
- /**
271
- * Add the select for the Wishlist page in WooCommerce > Settings > Pages
272
- *
273
- * @param array $settings
274
- *
275
- * @return array
276
- * @since 1.0.0
277
- */
278
- public function add_page_setting_woocommerce( $settings ) {
279
- unset( $settings[count( $settings ) - 1] );
280
-
281
- $setting[] = $this->get_wcwl_page_option();
282
-
283
- $settings[] = array( 'type' => 'sectionend', 'id' => 'page_options' );
284
-
285
- return $settings;
286
- }
287
-
288
- /**
289
- * action_links function.
290
- *
291
- * @access public
292
- *
293
- * @param mixed $links
294
- * @return array
295
- */
296
- public function action_links( $links ) {
297
- $plugin_links = array(
298
- '<a href="' . admin_url( 'admin.php?page=yith_wcwl_panel&tab=settings' ) . '">' . __( 'Settings', 'yith-woocommerce-wishlist' ) . '</a>'
299
- );
300
-
301
- if( ! function_exists( 'YITH_WCWL_Premium' ) ){
302
- $plugin_links[] = '<a target="_blank" href="' . $this->get_premium_landing_uri() . '">' . __( 'Premium Version', 'yith-woocommerce-wishlist' ) . '</a>';
303
- }
304
-
305
- return array_merge( $links, $plugin_links );
306
- }
307
-
308
- /**
309
- * Adds plugin row meta
310
- *
311
- * @param $plugin_meta array
312
- * @param $plugin_file string
313
- * @return array
314
- * @since 2.0.0
315
- */
316
- public function add_plugin_meta( $plugin_meta, $plugin_file ){
317
- global $woocommerce;
318
-
319
- if ( $plugin_file == plugin_basename( YITH_WCWL_DIR . 'init.php' ) ) {
320
-
321
- // outdated wc alert
322
-
323
- if( version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.2', '<' ) ){
324
- $woocommerce_file = $woocommerce->plugin_path;
325
- if ( ! is_multisite() && current_user_can( 'delete_plugins' ) ) {
326
- $plugin_meta['outdated_wc_alert'] = '<a class="outdated-wc-alert" style="color: red" href="' . wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $woocommerce_file, 'upgrade-plugin_' . $woocommerce_file ) . '">' . __( 'WARNING: This plugin requires at least WooCommerce 2.2! Please, use this link to update it.', 'yith-woocommerce-wishlist' ) . '</a>';
327
- }
328
- else{
329
- $plugin_meta['outdated_wc_alert'] = '<span class="outdated-wc-alert" style="color: red">' . __( 'WARNING: This plugin requires at least WooCommerce 2.2!', 'yith-woocommerce-wishlist' ) . '</span>';
330
- }
331
- }
332
-
333
- // documentation link
334
- $plugin_meta['documentation'] = '<a target="_blank" href="' . $this->doc_url . '">' . __( 'Plugin Documentation', 'yith-woocommerce-wishlist' ) . '</a>';
335
- }
336
-
337
- return $plugin_meta;
338
- }
339
-
340
- /**
341
- * Return the option to add the wishlist page
342
- *
343
- * @access public
344
- * @return mxied array
345
- * @since 1.1.3
346
- */
347
- public function get_wcwl_page_option(){
348
-
349
- return array(
350
- 'name' => __( 'Wishlist Page', 'yith-woocommerce-wishlist' ),
351
- 'desc' => __( 'Page contents: [yith_wcwl_wishlist]', 'yith-woocommerce-wishlist' ),
352
- 'id' => 'yith_wcwl_wishlist_page_id',
353
- 'type' => 'single_select_page',
354
- 'std' => '', // for woocommerce < 2.0
355
- 'default' => '', // for woocommerce >= 2.0
356
- 'class' => 'chosen_select_nostd',
357
- 'css' => 'min-width:300px;',
358
- 'desc_tip' => false,
359
- );
360
- }
361
-
362
- /**
363
- * Print the banner
364
- *
365
- * @access protected
366
- * @return void
367
- * @since 1.0.0
368
- */
369
- protected function _printBanner() {
370
- ?>
371
- <div class="yith_banner">
372
- <a href="<?php echo $this->banner_url ?>" target="_blank">
373
- <img src="<?php echo $this->banner_img ?>" alt="" />
374
- </a>
375
- </div>
376
- <?php
377
- }
378
-
379
- /**
380
- * Plugin options and tabs.
381
- *
382
- * @return array
383
- * @since 1.0.0
384
- */
385
- private function _plugin_options() {
386
- $icons = array(
387
- 'fa-glass' => 'Glass',
388
- 'fa-music' => 'Music',
389
- 'fa-search' => 'Search',
390
- 'fa-envelope-o' => 'Envelope O',
391
- 'fa-heart' => 'Heart',
392
- 'fa-star' => 'Star',
393
- 'fa-star-o' => 'Star O',
394
- 'fa-user' => 'User',
395
- 'fa-film' => 'Film',
396
- 'fa-th-large' => 'Th Large',
397
- 'fa-th' => 'Th',
398
- 'fa-th-list' => 'Th List',
399
- 'fa-check' => 'Check',
400
- 'fa-remove' => 'Remove',
401
- 'fa-search-plus' => 'Search Plus',
402
- 'fa-search-minus' => 'Search Minus',
403
- 'fa-power-off' => 'Power Off',
404
- 'fa-signal' => 'Signal',
405
- 'fa-cog' => 'Cog',
406
- 'fa-trash-o' => 'Trash O',
407
- 'fa-home' => 'Home',
408
- 'fa-file-o' => 'File O',
409
- 'fa-clock-o' => 'Clock O',
410
- 'fa-road' => 'Road',
411
- 'fa-download' => 'Download',
412
- 'fa-arrow-circle-o-down' => 'Arrow Circle O Down',
413
- 'fa-arrow-circle-o-up' => 'Arrow Circle O Up',
414
- 'fa-inbox' => 'Inbox',
415
- 'fa-play-circle-o' => 'Play Circle O',
416
- 'fa-repeat' => 'Repeat',
417
- 'fa-refresh' => 'Refresh',
418
- 'fa-list-alt' => 'List Alt',
419
- 'fa-lock' => 'Lock',
420
- 'fa-flag' => 'Flag',
421
- 'fa-headphones' => 'Headphones',
422
- 'fa-volume-off' => 'Volume Off',
423
- 'fa-volume-down' => 'Volume Down',
424
- 'fa-volume-up' => 'Volume Up',
425
- 'fa-qrcode' => 'Qrcode',
426
- 'fa-barcode' => 'Barcode',
427
- 'fa-tag' => 'Tag',
428
- 'fa-tags' => 'Tags',
429
- 'fa-book' => 'Book',
430
- 'fa-bookmark' => 'Bookmark',
431
- 'fa-print' => 'Print',
432
- 'fa-camera' => 'Camera',
433
- 'fa-font' => 'Font',
434
- 'fa-bold' => 'Bold',
435
- 'fa-italic' => 'Italic',
436
- 'fa-text-height' => 'Text Height',
437
- 'fa-text-width' => 'Text Width',
438
- 'fa-align-left' => 'Align Left',
439
- 'fa-align-center' => 'Align Center',
440
- 'fa-align-right' => 'Align Right',
441
- 'fa-align-justify' => 'Align Justify',
442
- 'fa-list' => 'List',
443
- 'fa-dedent' => 'Dedent',
444
- 'fa-indent' => 'Indent',
445
- 'fa-video-camera' => 'Video Camera',
446
- 'fa-picture-o' => 'Photo',
447
- 'fa-pencil' => 'Pencil',
448
- 'fa-map-marker' => 'Map Marker',
449
- 'fa-adjust' => 'Adjust',
450
- 'fa-tint' => 'Tint',
451
- 'fa-edit' => 'Edit',
452
- 'fa-share-square-o' => 'Share Square O',
453
- 'fa-check-square-o' => 'Check Square O',
454
- 'fa-arrows' => 'Arrows',
455
- 'fa-step-backward' => 'Step Backward',
456
- 'fa-fast-backward' => 'Fast Backward',
457
- 'fa-backward' => 'Backward',
458
- 'fa-play' => 'Play',
459
- 'fa-pause' => 'Pause',
460
- 'fa-stop' => 'Stop',
461
- 'fa-forward' => 'Forward',
462
- 'fa-fast-forward' => 'Fast Forward',
463
- 'fa-step-forward' => 'Step Forward',
464
- 'fa-eject' => 'Eject',
465
- 'fa-chevron-left' => 'Chevron Left',
466
- 'fa-chevron-right' => 'Chevron Right',
467
- 'fa-plus-circle' => 'Plus Circle',
468
- 'fa-minus-circle' => 'Minus Circle',
469
- 'fa-times-circle' => 'Times Circle',
470
- 'fa-check-circle' => 'Check Circle',
471
- 'fa-question-circle' => 'Question Circle',
472
- 'fa-info-circle' => 'Info Circle',
473
- 'fa-crosshairs' => 'Crosshairs',
474
- 'fa-times-circle-o' => 'Times Circle O',
475
- 'fa-check-circle-o' => 'Check Circle O',
476
- 'fa-ban' => 'Ban',
477
- 'fa-arrow-left' => 'Arrow Left',
478
- 'fa-arrow-right' => 'Arrow Right',
479
- 'fa-arrow-up' => 'Arrow Up',
480
- 'fa-arrow-down' => 'Arrow Down',
481
- 'fa-share' => 'Share',
482
- 'fa-expand' => 'Expand',
483
- 'fa-compress' => 'Compress',
484
- 'fa-plus' => 'Plus',
485
- 'fa-minus' => 'Minus',
486
- 'fa-asterisk' => 'Asterisk',
487
- 'fa-exclamation-circle' => 'Exclamation Circle',
488
- 'fa-gift' => 'Gift',
489
- 'fa-leaf' => 'Leaf',
490
- 'fa-fire' => 'Fire',
491
- 'fa-eye' => 'Eye',
492
- 'fa-eye-slash' => 'Eye Slash',
493
- 'fa-warning' => 'Warning',
494
- 'fa-plane' => 'Plane',
495
- 'fa-calendar' => 'Calendar',
496
- 'fa-random' => 'Random',
497
- 'fa-comment' => 'Comment',
498
- 'fa-magnet' => 'Magnet',
499
- 'fa-chevron-up' => 'Chevron Up',
500
- 'fa-chevron-down' => 'Chevron Down',
501
- 'fa-retweet' => 'Retweet',
502
- 'fa-shopping-cart' => 'Shopping Cart',
503
- 'fa-folder' => 'Folder',
504
- 'fa-folder-open' => 'Folder Open',
505
- 'fa-arrows-v' => 'Arrows V',
506
- 'fa-arrows-h' => 'Arrows H',
507
- 'fa-bar-chart' => 'Bar Chart',
508
- 'fa-twitter-square' => 'Twitter Square',
509
- 'fa-facebook-square' => 'Facebook Square',
510
- 'fa-camera-retro' => 'Camera Retro',
511
- 'fa-key' => 'Key',
512
- 'fa-cogs' => 'Cogs',
513
- 'fa-comments' => 'Comments',
514
- 'fa-thumbs-o-up' => 'Thumbs O Up',
515
- 'fa-thumbs-o-down' => 'Thumbs O Down',
516
- 'fa-star-half' => 'Star Half',
517
- 'fa-heart-o' => 'Heart O',
518
- 'fa-sign-out' => 'Sign Out',
519
- 'fa-linkedin-square' => 'Linkedin Square',
520
- 'fa-thumb-tack' => 'Thumb Tack',
521
- 'fa-external-link' => 'External Link',
522
- 'fa-sign-in' => 'Sign In',
523
- 'fa-trophy' => 'Trophy',
524
- 'fa-github-square' => 'Github Square',
525
- 'fa-upload' => 'Upload',
526
- 'fa-lemon-o' => 'Lemon O',
527
- 'fa-phone' => 'Phone',
528
- 'fa-square-o' => 'Square O',
529
- 'fa-bookmark-o' => 'Bookmark O',
530
- 'fa-phone-square' => 'Phone Square',
531
- 'fa-twitter' => 'Twitter',
532
- 'fa-facebook' => 'Facebook',
533
- 'fa-github' => 'Github',
534
- 'fa-unlock' => 'Unlock',
535
- 'fa-credit-card' => 'Credit Card',
536
- 'fa-rss' => 'Rss',
537
- 'fa-hdd-o' => 'Hdd O',
538
- 'fa-bullhorn' => 'Bullhorn',
539
- 'fa-bell' => 'Bell',
540
- 'fa-certificate' => 'Certificate',
541
- 'fa-hand-o-right' => 'Hand O Right',
542
- 'fa-hand-o-left' => 'Hand O Left',
543
- 'fa-hand-o-up' => 'Hand O Up',
544
- 'fa-hand-o-down' => 'Hand O Down',
545
- 'fa-arrow-circle-left' => 'Arrow Circle Left',
546
- 'fa-arrow-circle-right' => 'Arrow Circle Right',
547
- 'fa-arrow-circle-up' => 'Arrow Circle Up',
548
- 'fa-arrow-circle-down' => 'Arrow Circle Down',
549
- 'fa-globe' => 'Globe',
550
- 'fa-wrench' => 'Wrench',
551
- 'fa-tasks' => 'Tasks',
552
- 'fa-filter' => 'Filter',
553
- 'fa-briefcase' => 'Briefcase',
554
- 'fa-arrows-alt' => 'Arrows Alt',
555
- 'fa-group' => 'Group',
556
- 'fa-link' => 'Link',
557
- 'fa-cloud' => 'Cloud',
558
- 'fa-flask' => 'Flask',
559
- 'fa-cut' => 'Cut',
560
- 'fa-copy' => 'Copy',
561
- 'fa-paperclip' => 'Paperclip',
562
- 'fa-save' => 'Save',
563
- 'fa-square' => 'Square',
564
- 'fa-navicon' => 'Navicon',
565
- 'fa-list-ul' => 'List Ul',
566
- 'fa-list-ol' => 'List Ol',
567
- 'fa-strikethrough' => 'Strikethrough',
568
- 'fa-underline' => 'Underline',
569
- 'fa-table' => 'Table',
570
- 'fa-magic' => 'Magic',
571
- 'fa-truck' => 'Truck',
572
- 'fa-pinterest' => 'Pinterest',
573
- 'fa-pinterest-square' => 'Pinterest Square',
574
- 'fa-google-plus-square' => 'Google Plus Square',
575
- 'fa-google-plus' => 'Google Plus',
576
- 'fa-money' => 'Money',
577
- 'fa-caret-down' => 'Caret Down',
578
- 'fa-caret-up' => 'Caret Up',
579
- 'fa-caret-left' => 'Caret Left',
580
- 'fa-caret-right' => 'Caret Right',
581
- 'fa-columns' => 'Columns',
582
- 'fa-unsorted' => 'Unsorted',
583
- 'fa-sort-down' => 'Sort Down',
584
- 'fa-sort-up' => 'Sort Up',
585
- 'fa-envelope' => 'Envelope',
586
- 'fa-linkedin' => 'Linkedin',
587
- 'fa-undo' => 'Undo',
588
- 'fa-legal' => 'Legal',
589
- 'fa-dashboard' => 'Dashboard',
590
- 'fa-comment-o' => 'Comment O',
591
- 'fa-comments-o' => 'Comments O',
592
- 'fa-bolt' => 'Bolt',
593
- 'fa-sitemap' => 'Sitemap',
594
- 'fa-umbrella' => 'Umbrella',
595
- 'fa-paste' => 'Paste',
596
- 'fa-lightbulb-o' => 'Lightbulb O',
597
- 'fa-exchange' => 'Exchange',
598
- 'fa-cloud-download' => 'Cloud Download',
599
- 'fa-cloud-upload' => 'Cloud Upload',
600
- 'fa-user-md' => 'User Md',
601
- 'fa-stethoscope' => 'Stethoscope',
602
- 'fa-suitcase' => 'Suitcase',
603
- 'fa-bell-o' => 'Bell O',
604
- 'fa-coffee' => 'Coffee',
605
- 'fa-cutlery' => 'Cutlery',
606
- 'fa-file-text-o' => 'File Text O',
607
- 'fa-building-o' => 'Building O',
608
- 'fa-hospital-o' => 'Hospital O',
609
- 'fa-ambulance' => 'Ambulance',
610
- 'fa-medkit' => 'Medkit',
611
- 'fa-fighter-jet' => 'Fighter Jet',
612
- 'fa-beer' => 'Beer',
613
- 'fa-h-square' => 'H Square',
614
- 'fa-plus-square' => 'Plus Square',
615
- 'fa-angle-double-left' => 'Angle Double Left',
616
- 'fa-angle-double-right' => 'Angle Double Right',
617
- 'fa-angle-double-up' => 'Angle Double Up',
618
- 'fa-angle-double-down' => 'Angle Double Down',
619
- 'fa-angle-left' => 'Angle Left',
620
- 'fa-angle-right' => 'Angle Right',
621
- 'fa-angle-up' => 'Angle Up',
622
- 'fa-angle-down' => 'Angle Down',
623
- 'fa-desktop' => 'Desktop',
624
- 'fa-laptop' => 'Laptop',
625
- 'fa-tablet' => 'Tablet',
626
- 'fa-mobile' => 'Mobile',
627
- 'fa-circle-o' => 'Circle O',
628
- 'fa-quote-left' => 'Quote Left',
629
- 'fa-quote-right' => 'Quote Right',
630
- 'fa-spinner' => 'Spinner',
631
- 'fa-circle' => 'Circle',
632
- 'fa-reply' => 'Reply',
633
- 'fa-github-alt' => 'Github Alt',
634
- 'fa-folder-o' => 'Folder O',
635
- 'fa-folder-open-o' => 'Folder Open O',
636
- 'fa-smile-o' => 'Smile O',
637
- 'fa-frown-o' => 'Frown O',
638
- 'fa-meh-o' => 'Meh O',
639
- 'fa-gamepad' => 'Gamepad',
640
- 'fa-keyboard-o' => 'Keyboard O',
641
- 'fa-flag-o' => 'Flag O',
642
- 'fa-flag-checkered' => 'Flag Checkered',
643
- 'fa-terminal' => 'Terminal',
644
- 'fa-code' => 'Code',
645
- 'fa-reply-all' => 'Reply All',
646
- 'fa-star-half-o' => 'Star Half O',
647
- 'fa-location-arrow' => 'Location Arrow',
648
- 'fa-crop' => 'Crop',
649
- 'fa-code-fork' => 'Code Fork',
650
- 'fa-chain-broken' => 'Chain Broken',
651
- 'fa-question' => 'Question',
652
- 'fa-info' => 'Info',
653
- 'fa-exclamation' => 'Exclamation',
654
- 'fa-superscript' => 'Superscript',
655
- 'fa-subscript' => 'Subscript',
656
- 'fa-eraser' => 'Eraser',
657
- 'fa-puzzle-piece' => 'Puzzle Piece',
658
- 'fa-microphone' => 'Microphone',
659
- 'fa-microphone-slash' => 'Microphone Slash',
660
- 'fa-shield' => 'Shield',
661
- 'fa-calendar-o' => 'Calendar O',
662
- 'fa-fire-extinguisher' => 'Fire Extinguisher',
663
- 'fa-rocket' => 'Rocket',
664
- 'fa-maxcdn' => 'Maxcdn',
665
- 'fa-chevron-circle-left' => 'Chevron Circle Left',
666
- 'fa-chevron-circle-right' => 'Chevron Circle Right',
667
- 'fa-chevron-circle-up' => 'Chevron Circle Up',
668
- 'fa-chevron-circle-down' => 'Chevron Circle Down',
669
- 'fa-html5' => 'Html5',
670
- 'fa-css3' => 'Css3',
671
- 'fa-anchor' => 'Anchor',
672
- 'fa-unlock-alt' => 'Unlock Alt',
673
- 'fa-bullseye' => 'Bullseye',
674
- 'fa-ellipsis-h' => 'Ellipsis H',
675
- 'fa-ellipsis-v' => 'Ellipsis V',
676
- 'fa-rss-square' => 'Rss Square',
677
- 'fa-play-circle' => 'Play Circle',
678
- 'fa-ticket' => 'Ticket',
679
- 'fa-minus-square' => 'Minus Square',
680
- 'fa-minus-square-o' => 'Minus Square O',
681
- 'fa-level-up' => 'Level Up',
682
- 'fa-level-down' => 'Level Down',
683
- 'fa-check-square' => 'Check Square',
684
- 'fa-pencil-square' => 'Pencil Square',
685
- 'fa-external-link-square' => 'External Link Square',
686
- 'fa-share-square' => 'Share Square',
687
- 'fa-compass' => 'Compass',
688
- 'fa-caret-square-o-down' => 'Caret Square O Down',
689
- 'fa-caret-square-o-up' => 'Caret Square O Up',
690
- 'fa-caret-square-o-right' => 'Caret Square O Right',
691
- 'fa-eur' => 'Eur',
692
- 'fa-gbp' => 'Gbp',
693
- 'fa-usd' => 'Usd',
694
- 'fa-inr' => 'Inr',
695
- 'fa-jpy' => 'Jpy',
696
- 'fa-rub' => 'Rub',
697
- 'fa-krw' => 'Krw',
698
- 'fa-btc' => 'Btc',
699
- 'fa-file' => 'File',
700
- 'fa-file-text' => 'File Text',
701
- 'fa-sort-alpha-asc' => 'Sort Alpha Asc',
702
- 'fa-sort-alpha-desc' => 'Sort Alpha Desc',
703
- 'fa-sort-amount-asc' => 'Sort Amount Asc',
704
- 'fa-sort-amount-desc' => 'Sort Amount Desc',
705
- 'fa-sort-numeric-asc' => 'Sort Numeric Asc',
706
- 'fa-sort-numeric-desc' => 'Sort Numeric Desc',
707
- 'fa-thumbs-up' => 'Thumbs Up',
708
- 'fa-thumbs-down' => 'Thumbs Down',
709
- 'fa-youtube-square' => 'Youtube Square',
710
- 'fa-youtube' => 'Youtube',
711
- 'fa-xing' => 'Xing',
712
- 'fa-xing-square' => 'Xing Square',
713
- 'fa-youtube-play' => 'Youtube Play',
714
- 'fa-dropbox' => 'Dropbox',
715
- 'fa-stack-overflow' => 'Stack Overflow',
716
- 'fa-instagram' => 'Instagram',
717
- 'fa-flickr' => 'Flickr',
718
- 'fa-adn' => 'Adn',
719
- 'fa-bitbucket' => 'Bitbucket',
720
- 'fa-bitbucket-square' => 'Bitbucket Square',
721
- 'fa-tumblr' => 'Tumblr',
722
- 'fa-tumblr-square' => 'Tumblr Square',
723
- 'fa-long-arrow-down' => 'Long Arrow Down',
724
- 'fa-long-arrow-up' => 'Long Arrow Up',
725
- 'fa-long-arrow-left' => 'Long Arrow Left',
726
- 'fa-long-arrow-right' => 'Long Arrow Right',
727
- 'fa-apple' => 'Apple',
728
- 'fa-windows' => 'Windows',
729
- 'fa-android' => 'Android',
730
- 'fa-linux' => 'Linux',
731
- 'fa-dribbble' => 'Dribbble',
732
- 'fa-skype' => 'Skype',
733
- 'fa-foursquare' => 'Foursquare',
734
- 'fa-trello' => 'Trello',
735
- 'fa-female' => 'Female',
736
- 'fa-male' => 'Male',
737
- 'fa-gratipay' => 'Gratipay',
738
- 'fa-sun-o' => 'Sun O',
739
- 'fa-moon-o' => 'Moon O',
740
- 'fa-archive' => 'Archive',
741
- 'fa-bug' => 'Bug',
742
- 'fa-vk' => 'Vk',
743
- 'fa-weibo' => 'Weibo',
744
- 'fa-renren' => 'Renren',
745
- 'fa-pagelines' => 'Pagelines',
746
- 'fa-stack-exchange' => 'Stack Exchange',
747
- 'fa-arrow-circle-o-right' => 'Arrow Circle O Right',
748
- 'fa-arrow-circle-o-left' => 'Arrow Circle O Left',
749
- 'fa-caret-square-o-left' => 'Caret Square O Left',
750
- 'fa-dot-circle-o' => 'Dot Circle O',
751
- 'fa-wheelchair' => 'Wheelchair',
752
- 'fa-vimeo-square' => 'Vimeo Square',
753
- 'fa-try' => 'Try',
754
- 'fa-plus-square-o' => 'Plus Square O',
755
- 'fa-space-shuttle' => 'Space Shuttle',
756
- 'fa-slack' => 'Slack',
757
- 'fa-envelope-square' => 'Envelope Square',
758
- 'fa-wordpress' => 'Wordpress',
759
- 'fa-openid' => 'Openid',
760
- 'fa-university' => 'University',
761
- 'fa-graduation-cap' => 'Graduation Cap',
762
- 'fa-yahoo' => 'Yahoo',
763
- 'fa-google' => 'Google',
764
- 'fa-reddit' => 'Reddit',
765
- 'fa-reddit-square' => 'Reddit Square',
766
- 'fa-stumbleupon-circle' => 'Stumbleupon Circle',
767
- 'fa-stumbleupon' => 'Stumbleupon',
768
- 'fa-delicious' => 'Delicious',
769
- 'fa-digg' => 'Digg',
770
- 'fa-pied-piper' => 'Pied Piper',
771
- 'fa-pied-piper-alt' => 'Pied Piper Alt',
772
- 'fa-drupal' => 'Drupal',
773
- 'fa-joomla' => 'Joomla',
774
- 'fa-language' => 'Language',
775
- 'fa-fax' => 'Fax',
776
- 'fa-building' => 'Building',
777
- 'fa-child' => 'Child',
778
- 'fa-paw' => 'Paw',
779
- 'fa-spoon' => 'Spoon',
780
- 'fa-cube' => 'Cube',
781
- 'fa-cubes' => 'Cubes',
782
- 'fa-behance' => 'Behance',
783
- 'fa-behance-square' => 'Behance Square',
784
- 'fa-steam' => 'Steam',
785
- 'fa-steam-square' => 'Steam Square',
786
- 'fa-recycle' => 'Recycle',
787
- 'fa-car' => 'Car',
788
- 'fa-taxi' => 'Taxi',
789
- 'fa-tree' => 'Tree',
790
- 'fa-spotify' => 'Spotify',
791
- 'fa-deviantart' => 'Deviantart',
792
- 'fa-soundcloud' => 'Soundcloud',
793
- 'fa-database' => 'Database',
794
- 'fa-file-pdf-o' => 'File Pdf O',
795
- 'fa-file-word-o' => 'File Word O',
796
- 'fa-file-excel-o' => 'File Excel O',
797
- 'fa-file-powerpoint-o' => 'File Powerpoint O',
798
- 'fa-file-image-o' => 'File Image O',
799
- 'fa-file-archive-o' => 'File Archive O',
800
- 'fa-file-audio-o' => 'File Audio O',
801
- 'fa-file-video-o' => 'File Video O',
802
- 'fa-file-code-o' => 'File Code O',
803
- 'fa-vine' => 'Vine',
804
- 'fa-codepen' => 'Codepen',
805
- 'fa-jsfiddle' => 'Jsfiddle',
806
- 'fa-life-ring' => 'Life Ring',
807
- 'fa-circle-o-notch' => 'Circle O Notch',
808
- 'fa-rebel' => 'Rebel',
809
- 'fa-empire' => 'Empire',
810
- 'fa-git-square' => 'Git Square',
811
- 'fa-git' => 'Git',
812
- 'fa-hacker-news' => 'Hacker News',
813
- 'fa-tencent-weibo' => 'Tencent Weibo',
814
- 'fa-qq' => 'Qq',
815
- 'fa-weixin' => 'Weixin',
816
- 'fa-paper-plane' => 'Paper Plane',
817
- 'fa-paper-plane-o' => 'Paper Plane O',
818
- 'fa-history' => 'History',
819
- 'fa-circle-thin' => 'Circle Thin',
820
- 'fa-header' => 'Header',
821
- 'fa-paragraph' => 'Paragraph',
822
- 'fa-sliders' => 'Sliders',
823
- 'fa-share-alt' => 'Share Alt',
824
- 'fa-share-alt-square' => 'Share Alt Square',
825
- 'fa-bomb' => 'Bomb',
826
- 'fa-futbol-o' => 'Futbol O',
827
- 'fa-tty' => 'Tty',
828
- 'fa-binoculars' => 'Binoculars',
829
- 'fa-plug' => 'Plug',
830
- 'fa-slideshare' => 'Slideshare',
831
- 'fa-twitch' => 'Twitch',
832
- 'fa-yelp' => 'Yelp',
833
- 'fa-newspaper-o' => 'Newspaper O',
834
- 'fa-wifi' => 'Wifi',
835
- 'fa-calculator' => 'Calculator',
836
- 'fa-paypal' => 'Paypal',
837
- 'fa-google-wallet' => 'Google Wallet',
838
- 'fa-cc-visa' => 'Cc Visa',
839
- 'fa-cc-mastercard' => 'Cc Mastercard',
840
- 'fa-cc-discover' => 'Cc Discover',
841
- 'fa-cc-amex' => 'Cc Amex',
842
- 'fa-cc-paypal' => 'Cc Paypal',
843
- 'fa-cc-stripe' => 'Cc Stripe',
844
- 'fa-bell-slash' => 'Bell Slash',
845
- 'fa-bell-slash-o' => 'Bell Slash O',
846
- 'fa-trash' => 'Trash',
847
- 'fa-copyright' => 'Copyright',
848
- 'fa-at' => 'At',
849
- 'fa-eyedropper' => 'Eyedropper',
850
- 'fa-paint-brush' => 'Paint Brush',
851
- 'fa-birthday-cake' => 'Birthday Cake',
852
- 'fa-area-chart' => 'Area Chart',
853
- 'fa-pie-chart' => 'Pie Chart',
854
- 'fa-line-chart' => 'Line Chart',
855
- 'fa-lastfm' => 'Lastfm',
856
- 'fa-lastfm-square' => 'Lastfm Square',
857
- 'fa-toggle-off' => 'Toggle Off',
858
- 'fa-toggle-on' => 'Toggle On',
859
- 'fa-bicycle' => 'Bicycle',
860
- 'fa-bus' => 'Bus',
861
- 'fa-ioxhost' => 'Ioxhost',
862
- 'fa-angellist' => 'Angellist',
863
- 'fa-cc' => 'Cc',
864
- 'fa-ils' => 'Ils',
865
- 'fa-meanpath' => 'Meanpath',
866
- 'fa-buysellads' => 'Buysellads',
867
- 'fa-connectdevelop' => 'Connectdevelop',
868
- 'fa-dashcube' => 'Dashcube',
869
- 'fa-forumbee' => 'Forumbee',
870
- 'fa-leanpub' => 'Leanpub',
871
- 'fa-sellsy' => 'Sellsy',
872
- 'fa-shirtsinbulk' => 'Shirtsinbulk',
873
- 'fa-simplybuilt' => 'Simplybuilt',
874
- 'fa-skyatlas' => 'Skyatlas',
875
- 'fa-cart-plus' => 'Cart Plus',
876
- 'fa-cart-arrow-down' => 'Cart Arrow Down',
877
- 'fa-diamond' => 'Diamond',
878
- 'fa-ship' => 'Ship',
879
- 'fa-user-secret' => 'User Secret',
880
- 'fa-motorcycle' => 'Motorcycle',
881
- 'fa-street-view' => 'Street View',
882
- 'fa-heartbeat' => 'Heartbeat',
883
- 'fa-venus' => 'Venus',
884
- 'fa-mars' => 'Mars',
885
- 'fa-mercury' => 'Mercury',
886
- 'fa-transgender' => 'Transgender',
887
- 'fa-transgender-alt' => 'Transgender Alt',
888
- 'fa-venus-double' => 'Venus Double',
889
- 'fa-mars-double' => 'Mars Double',
890
- 'fa-venus-mars' => 'Venus Mars',
891
- 'fa-mars-stroke' => 'Mars Stroke',
892
- 'fa-mars-stroke-v' => 'Mars Stroke V',
893
- 'fa-mars-stroke-h' => 'Mars Stroke H',
894
- 'fa-neuter' => 'Neuter',
895
- 'fa-facebook-official' => 'Facebook Official',
896
- 'fa-pinterest-p' => 'Pinterest P',
897
- 'fa-whatsapp' => 'Whatsapp',
898
- 'fa-server' => 'Server',
899
- 'fa-user-plus' => 'User Plus',
900
- 'fa-user-times' => 'User Times',
901
- 'fa-bed' => 'Bed',
902
- 'fa-viacoin' => 'Viacoin',
903
- 'fa-train' => 'Train',
904
- 'fa-subway' => 'Subway',
905
- 'fa-medium' => 'Medium'
906
- );
907
-
908
- ksort( $icons );
909
-
910
- global $woocommerce;
911
-
912
- $is_woocommerce_2_0 =version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.1', '<' );
913
-
914
- $options['general_settings'] = array();
915
-
916
- if( $is_woocommerce_2_0 ){
917
- $settings_page = 'WooCommerce &gt; Settings &gt; Pages' ;
918
- }
919
- else{
920
- $settings_page = 'in this settings page';
921
- }
922
-
923
- $general_settings_start = array(
924
-
925
- 'section_general_settings_videobox' => array(
926
- 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-wishlist' ),
927
- 'type' => 'videobox',
928
- 'default' => array(
929
- 'plugin_name' => __( 'YITH WooCommerce Wishlist', 'yith-woocommerce-wishlist' ),
930
- 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-wishlist' ),
931
- 'description_first_column' => __( 'Upgrade to the PREMIUM VERSION
932
- of YITH WOOCOMMERCE WISHLIST to benefit from all features!', 'yith-woocommerce-wishlist' ),
933
- 'video' => array(
934
- 'video_id' => '118797844',
935
- 'video_image_url' => YITH_WCWL_URL . '/assets/images/video-thumb.jpg',
936
- 'video_description' => '',
937
- ),
938
- 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-wishlist' ),
939
- 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-wishlist' ),
940
- 'button' => array(
941
- 'href' => $this->get_premium_landing_uri(),
942
- 'title' => 'Get Support and Pro Features'
943
- )
944
- ),
945
- 'id' => 'yith_wcwl_general_videobox'
946
- ),
947
-
948
- 'general_section_start' => array(
949
- 'name' => __( 'General Settings', 'yith-woocommerce-wishlist' ),
950
- 'type' => 'title',
951
- 'desc' => '',
952
- 'id' => 'yith_wcwl_general_settings'
953
- ),
954
-
955
- 'wishlist_enable' => array(
956
- 'name' => __( 'Enable YITH Wishlist', 'yith-woocommerce-wishlist' ),
957
- 'desc' => sprintf( __( 'Enable all plugin features. <strong>Be sure to select at least one option in the Wishlist page menu in %s.</strong> Also, please read the plugin <a href="%s" target="_blank">documentation</a>.', 'yith-woocommerce-wishlist' ), $settings_page, esc_url( $this->doc_url ) ),
958
- 'id' => 'yith_wcwl_enabled',
959
- 'std' => 'yes', // for woocommerce < 2.0
960
- 'default' => 'yes', // for woocommerce >= 2.0
961
- 'type' => 'checkbox'
962
- ),
963
- 'default_wishlist_title' => array(
964
- 'name' => __( 'Default wishlist title', 'yith-woocommerce-wishlist' ),
965
- 'id' => 'yith_wcwl_wishlist_title',
966
- 'std' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce < 2.0
967
- 'default' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce >= 2.0
968
- 'type' => 'text',
969
- 'css' => 'min-width:300px;',
970
- )
971
- );
972
-
973
- $general_settings_end = array(
974
- 'add_to_wishlist_position' => array(
975
- 'name' => __( 'Position', 'yith-woocommerce-wishlist' ),
976
- 'desc' => __( 'You can add the button in variable products only after the "Add to Cart" button or using the shortcode [yith_wcwl_add_to_wishlist].', 'yith-woocommerce-wishlist' ),
977
- 'id' => 'yith_wcwl_button_position',
978
- 'type' => 'select',
979
- 'class' => 'chosen_select',
980
- 'css' => 'min-width:300px;',
981
- 'options' => array(
982
- 'add-to-cart' => __( 'After "Add to cart"', 'yith-woocommerce-wishlist' ),
983
- 'thumbnails' => __( 'After thumbnails', 'yith-woocommerce-wishlist' ),
984
- 'summary' => __( 'After summary', 'yith-woocommerce-wishlist' ),
985
- 'shortcode' => __( 'Use shortcode', 'yith-woocommerce-wishlist' )
986
- ),
987
- 'desc_tip' => true
988
- ),
989
- 'redirect_to_cart' => array(
990
- 'name' => __( 'Redirect to cart', 'yith-woocommerce-wishlist' ),
991
- 'desc' => __( 'Redirect to cart page if "Add to cart" button is clicked in the wishlist page.', 'yith-woocommerce-wishlist' ),
992
- 'id' => 'yith_wcwl_redirect_cart',
993
- 'std' => 'no', // for woocommerce < 2.0
994
- 'default' => 'no', // for woocommerce >= 2.0
995
- 'type' => 'checkbox'
996
- ),
997
- 'remove_after_add_to_cart' => array(
998
- 'name' => __( 'Remove if added to the cart', 'yith-woocommerce-wishlist' ),
999
- 'desc' => __( 'Remove the product from the wishlist if it has been added to the cart.', 'yith-woocommerce-wishlist' ),
1000
- 'id' => 'yith_wcwl_remove_after_add_to_cart',
1001
- 'std' => 'yes', // for woocommerce < 2.0
1002
- 'default' => 'yes', // for woocommerce >= 2.0
1003
- 'type' => 'checkbox'
1004
- ),
1005
- 'add_to_wishlist_text' => array(
1006
- 'name' => __( '"Add to Wishlist" text', 'yith-woocommerce-wishlist' ),
1007
- 'id' => 'yith_wcwl_add_to_wishlist_text',
1008
- 'std' => __( 'Add to Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1009
- 'default' => __( 'Add to Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1010
- 'type' => 'text',
1011
- 'css' => 'min-width:300px;',
1012
- ),
1013
- 'browse_wishlist_text' => array(
1014
- 'name' => __( '"Browse wishlist" text', 'yith-woocommerce-wishlist' ),
1015
- 'id' => 'yith_wcwl_browse_wishlist_text',
1016
- 'std' => __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1017
- 'default' => __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1018
- 'type' => 'text',
1019
- 'css' => 'min-width:300px;',
1020
- ),
1021
- 'already_in_wishlist_text' => array(
1022
- 'name' => __( '"Product already in wishlist" text', 'yith-woocommerce-wishlist' ),
1023
- 'id' => 'yith_wcwl_already_in_wishlist_text',
1024
- 'std' => __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1025
- 'default' => __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1026
- 'type' => 'text',
1027
- 'css' => 'min-width:300px;',
1028
- ),
1029
- 'product_added_text' => array(
1030
- 'name' => __( '"Product added" text', 'yith-woocommerce-wishlist' ),
1031
- 'id' => 'yith_wcwl_product_added_text',
1032
- 'std' => __( 'Product added!', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1033
- 'default' => __( 'Product added!', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1034
- 'type' => 'text',
1035
- 'css' => 'min-width:300px;',
1036
- ),
1037
- 'add_to_cart_text' => array(
1038
- 'name' => __( '"Add to Cart" text', 'yith-woocommerce-wishlist' ),
1039
- 'id' => 'yith_wcwl_add_to_cart_text',
1040
- 'std' => __( 'Add to Cart', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1041
- 'default' => __( 'Add to Cart', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1042
- 'type' => 'text',
1043
- 'css' => 'min-width:300px;',
1044
- ),
1045
- 'show_unit_price' => array(
1046
- 'name' => __( 'Show Unit price', 'yith-woocommerce-wishlist' ),
1047
- 'desc' => __( 'Show unit price for each product in wishlist', 'yith-woocommerce-wishlist' ),
1048
- 'id' => 'yith_wcwl_price_show',
1049
- 'std' => 'yes', // for woocommerce < 2.0
1050
- 'default' => 'yes', // for woocommerce >= 2.0
1051
- 'type' => 'checkbox',
1052
- 'css' => 'min-width:300px;',
1053
- ),
1054
- 'show_add_to_cart' => array(
1055
- 'name' => __( 'Show "Add to Cart" button', 'yith-woocommerce-wishlist' ),
1056
- 'desc' => __( 'Show "Add to Cart" button for each product in wishlist', 'yith-woocommerce-wishlist' ),
1057
- 'id' => 'yith_wcwl_add_to_cart_show',
1058
- 'std' => 'yes', // for woocommerce < 2.0
1059
- 'default' => 'yes', // for woocommerce >= 2.0
1060
- 'type' => 'checkbox',
1061
- 'css' => 'min-width:300px;',
1062
- ),
1063
- 'show_stock_status' => array(
1064
- 'name' => __( 'Show Stock status', 'yith-woocommerce-wishlist' ),
1065
- 'desc' => __( 'Show "In stock" or "Out of stock" label for each product in wishlist', 'yith-woocommerce-wishlist' ),
1066
- 'id' => 'yith_wcwl_stock_show',
1067
- 'std' => 'yes', // for woocommerce < 2.0
1068
- 'default' => 'yes', // for woocommerce >= 2.0
1069
- 'type' => 'checkbox',
1070
- 'css' => 'min-width:300px;',
1071
- ),
1072
- 'show_dateadded' => array(
1073
- 'name' => __( 'Show Date of addition', 'yith-woocommerce-wishlist' ),
1074
- 'desc' => __( 'Show the date when users have added a product to the wishlist', 'yith-woocommerce-wishlist' ),
1075
- 'id' => 'yith_wcwl_show_dateadded',
1076
- 'std' => 'no', // for woocommerce < 2.0
1077
- 'default' => 'no', // for woocommerce >= 2.0
1078
- 'type' => 'checkbox',
1079
- 'css' => 'min-width:300px;',
1080
- ),
1081
- 'repeat_remove_button' => array(
1082
- 'name' => __( 'Add second remove button', 'yith-woocommerce-wishlist' ),
1083
- 'desc' => __( 'Add a second remove button in the last column, with extended label', 'yith-woocommerce-wishlist' ),
1084
- 'id' => 'yith_wcwl_repeat_remove_button',
1085
- 'std' => 'no', // for woocommerce < 2.0
1086
- 'default' => 'no', // for woocommerce >= 2.0
1087
- 'type' => 'checkbox',
1088
- 'css' => 'min-width:300px;',
1089
- ),
1090
-
1091
- 'general_section_end' => array(
1092
- 'type' => 'sectionend',
1093
- 'id' => 'yith_wcwl_general_settings'
1094
- )
1095
- );
1096
-
1097
- if( $is_woocommerce_2_0 ) {
1098
- $options['general_settings'] = array_merge( $general_settings_start, $general_settings_end );
1099
- }
1100
- else{
1101
- $options['general_settings'] = array_merge( $general_settings_start, array( $this->get_wcwl_page_option() ), $general_settings_end );
1102
- }
1103
-
1104
- $options['styles'] = array(
1105
- 'styles_section_start' => array(
1106
- 'name' => __( 'Styles', 'yith-woocommerce-wishlist' ),
1107
- 'type' => 'title',
1108
- 'desc' => '',
1109
- 'id' => 'yith_wcwl_styles'
1110
- ),
1111
-
1112
- 'use_buttons' => array(
1113
- 'name' => __( 'Use buttons', 'yith-woocommerce-wishlist' ),
1114
- 'desc' => __( 'Use buttons instead of simple anchors.', 'yith-woocommerce-wishlist' ),
1115
- 'id' => 'yith_wcwl_use_button',
1116
- 'std' => 'no', // for woocommerce < 2.0
1117
- 'default' => 'no', // for woocommerce >= 2.0
1118
- 'type' => 'checkbox'
1119
- ),
1120
- 'custom_css' => array(
1121
- 'name' => __( 'Custom CSS', 'yith-woocommerce-wishlist' ),
1122
- 'id' => 'yith_wcwl_custom_css',
1123
- 'css' => 'width:100%; height: 75px;',
1124
- 'std' => '', // for woocommerce < 2.0
1125
- 'default' => '', // for woocommerce >= 2.0
1126
- 'type' => 'textarea'
1127
- ),
1128
- 'use_theme_style' => array(
1129
- 'name' => __( 'Use theme style', 'yith-woocommerce-wishlist' ),
1130
- 'desc' => __( 'Use the theme style.', 'yith-woocommerce-wishlist' ),
1131
- 'id' => 'yith_wcwl_frontend_css',
1132
- 'std' => 'yes', // for woocommerce < 2.0
1133
- 'default' => 'yes', // for woocommerce >= 2.0
1134
- 'type' => 'checkbox'
1135
- ),
1136
- 'rounded_buttons' => array(
1137
- 'name' => __( 'Rounded buttons', 'yith-woocommerce-wishlist' ),
1138
- 'desc' => __( 'Make button corners rounded', 'yith-woocommerce-wishlist' ),
1139
- 'id' => 'yith_wcwl_rounded_corners',
1140
- 'std' => 'yes', // for woocommerce < 2.0
1141
- 'default' => 'yes', // for woocommerce >= 2.0
1142
- 'type' => 'checkbox'
1143
- ),
1144
- 'add_to_wishlist_icon' => array(
1145
- 'name' => __( '"Add to Wishlist" icon', 'yith-woocommerce-wishlist' ),
1146
- 'desc' => __( 'Add an icon to the "Add to Wishlist" button', 'yith-woocommerce-wishlist' ),
1147
- 'id' => 'yith_wcwl_add_to_wishlist_icon',
1148
- 'css' => 'min-width:300px;width:300px;',
1149
- 'std' => apply_filters( 'yith_wcwl_add_to_wishlist_std_icon', 'none' ), // for woocommerce < 2.0
1150
- 'default' => apply_filters( 'yith_wcwl_add_to_wishlist_std_icon', 'none' ), // for woocommerce >= 2.0
1151
- 'type' => 'select',
1152
- 'class' => 'chosen_select',
1153
- 'desc_tip' => true,
1154
- 'options' => array( 'none' => 'None' ) + $icons
1155
- ),
1156
- 'add_to_cart_icon' => array(
1157
- 'name' => __( '"Add to Cart" icon', 'yith-woocommerce-wishlist' ),
1158
- 'desc' => __( 'Add an icon to the "Add to Cart" button', 'yith-woocommerce-wishlist' ),
1159
- 'id' => 'yith_wcwl_add_to_cart_icon',
1160
- 'css' => 'min-width:300px;width:300px;',
1161
- 'std' => apply_filters( 'yith_wcwl_add_to_cart_std_icon', 'fa-shopping-cart' ), // for woocommerce < 2.0
1162
- 'default' => apply_filters( 'yith_wcwl_add_to_cart_std_icon', 'fa-shopping-cart' ), // for woocommerce >= 2.0
1163
- 'type' => 'select',
1164
- 'class' => 'chosen_select',
1165
- 'desc_tip' => true,
1166
- 'options' => array( 'none' => 'None' ) + $icons
1167
- ),
1168
-
1169
- 'styles_section_end' => array(
1170
- 'type' => 'sectionend',
1171
- 'id' => 'yith_wcwl_styles'
1172
- )
1173
- );
1174
-
1175
- $options['socials_share'] = array(
1176
- 'socials_section_start' => array(
1177
- 'name' => __( 'Social Networks & Share', 'yith-woocommerce-wishlist' ),
1178
- 'type' => 'title',
1179
- 'desc' => '',
1180
- 'id' => 'yith_wcwl_socials_share'
1181
- ),
1182
-
1183
- 'share_on_facebook' => array(
1184
- 'name' => __( 'Share on Facebook', 'yith-woocommerce-wishlist' ),
1185
- 'desc' => __( 'Show "Share on Facebook" button', 'yith-woocommerce-wishlist' ),
1186
- 'id' => 'yith_wcwl_share_fb',
1187
- 'std' => 'yes', // for woocommerce < 2.0
1188
- 'default' => 'yes', // for woocommerce >= 2.0
1189
- 'type' => 'checkbox'
1190
- ),
1191
- 'share_on_twitter' => array(
1192
- 'name' => __( 'Tweet on Twitter', 'yith-woocommerce-wishlist' ),
1193
- 'desc' => __( 'Show "Tweet on Twitter" button', 'yith-woocommerce-wishlist' ),
1194
- 'id' => 'yith_wcwl_share_twitter',
1195
- 'std' => 'yes', // for woocommerce < 2.0
1196
- 'default' => 'yes', // for woocommerce >= 2.0
1197
- 'type' => 'checkbox'
1198
- ),
1199
- 'share_on_pinterest' => array(
1200
- 'name' => __( 'Pin on Pinterest', 'yith-woocommerce-wishlist' ),
1201
- 'desc' => __( 'Show "Pin on Pinterest" button', 'yith-woocommerce-wishlist' ),
1202
- 'id' => 'yith_wcwl_share_pinterest',
1203
- 'std' => 'yes', // for woocommerce < 2.0
1204
- 'default' => 'yes', // for woocommerce >= 2.0
1205
- 'type' => 'checkbox'
1206
- ),
1207
- 'share_on_googleplus' => array(
1208
- 'name' => __( 'Share on Google+', 'yith-woocommerce-wishlist' ),
1209
- 'desc' => __( 'Show "Share on Google+" button', 'yith-woocommerce-wishlist' ),
1210
- 'id' => 'yith_wcwl_share_googleplus',
1211
- 'std' => 'yes', // for woocommerce < 2.0
1212
- 'default' => 'yes', // for woocommerce >= 2.0
1213
- 'type' => 'checkbox'
1214
- ),
1215
- 'share_by_email' => array(
1216
- 'name' => __( 'Share by Email', 'yith-woocommerce-wishlist' ),
1217
- 'desc' => __( 'Show "Share by Email" button', 'yith-woocommerce-wishlist' ),
1218
- 'id' => 'yith_wcwl_share_email',
1219
- 'std' => 'yes', // for woocommerce < 2.0
1220
- 'default' => 'yes', // for woocommerce >= 2.0
1221
- 'type' => 'checkbox'
1222
- ),
1223
- 'socials_title' => array(
1224
- 'name' => __( 'Social title', 'yith-woocommerce-wishlist' ),
1225
- 'id' => 'yith_wcwl_socials_title',
1226
- 'std' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce < 2.0
1227
- 'default' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce >= 2.0
1228
- 'type' => 'text',
1229
- 'css' => 'min-width:300px;',
1230
- ),
1231
- 'socials_text' => array(
1232
- 'name' => __( 'Social text', 'yith-woocommerce-wishlist' ),
1233
- 'desc' => __( 'It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</strong> where you want to show the URL of your wishlist.', 'yith-woocommerce-wishlist' ),
1234
- 'id' => 'yith_wcwl_socials_text',
1235
- 'css' => 'width:100%; height: 75px;',
1236
- 'std' => '', // for woocommerce < 2.0
1237
- 'default' => '', // for woocommerce >= 2.0
1238
- 'type' => 'textarea'
1239
- ),
1240
- 'socials_image' => array(
1241
- 'name' => __( 'Social image URL', 'yith-woocommerce-wishlist' ),
1242
- 'id' => 'yith_wcwl_socials_image_url',
1243
- 'std' => '', // for woocommerce < 2.0
1244
- 'default' => '', // for woocommerce >= 2.0
1245
- 'type' => 'text',
1246
- 'css' => 'min-width:300px;',
1247
- ),
1248
-
1249
- 'socials_section_end' => array(
1250
- 'type' => 'sectionend',
1251
- 'id' => 'yith_wcwl_styles'
1252
- )
1253
- );
1254
-
1255
- $yith_wfbt_thickbox = YITH_WCWL_URL . 'assets/images/landing/yith-wfbt-slider.jpg';
1256
- $yith_wfbt_promo = sprintf( __( 'If you want to take advantage of this feature, you could consider to purchase the %s.', 'yith-woocommerce-wishlist' ), '<a href="https://yithemes.com/themes/plugins/yith-woocommerce-frequently-bought-together/">YITH WooCommerce Frequently Bought Together Plugin</a>' );
1257
-
1258
- $options['yith_wfbt_integration'] = array(
1259
-
1260
- 'yith_wfbt_start' => array(
1261
- 'name' => __( 'YITH WooCommerce Frequently Bought Together Integration', 'yith-woocommerce-wishlist' ),
1262
- 'type' => 'title',
1263
- 'desc' => '',
1264
- 'id' => 'yith_wcwl_yith_wfbt'
1265
- ),
1266
-
1267
- 'yith_wfbt_enable_integration' => array(
1268
- 'name' => __( 'Enable slider in wishlist', 'yith-woocommerce-wishlist' ),
1269
- 'desc' => sprintf( __( 'Choose to enable product slider in wishlist page with linked products (<a href="%s" class="thickbox">Example</a>). %s', 'yith-woocommerce-wishlist' ), $yith_wfbt_thickbox, ( ! ( defined( 'YITH_WFBT' ) && YITH_WFBT ) ) ? $yith_wfbt_promo : '' ),
1270
- 'id' => 'yith_wfbt_enable_integration',
1271
- 'std' => 'yes', // for woocommerce < 2.0
1272
- 'default' => 'yes', // for woocommerce >= 2.0
1273
- 'type' => 'checkbox',
1274
- 'custom_attributes' => ( ! ( defined( 'YITH_WFBT' ) && YITH_WFBT ) ) ? array( 'disabled' => 'disabled' ) : false
1275
- ),
1276
-
1277
- 'yith_wfbt_end' => array(
1278
- 'type' => 'sectionend',
1279
- 'id' => 'yith_wcwl_yith_wfbt'
1280
- )
1281
-
1282
- );
1283
-
1284
- return apply_filters( 'yith_wcwl_admin_options', $options );
1285
- }
1286
-
1287
- /**
1288
- * Add colors options to the panel.
1289
- *
1290
- * @return void
1291
- * @access private
1292
- * @since 1.0.0
1293
- */
1294
- private function _styles_options() {
1295
- $colors = maybe_unserialize( get_option( 'yith_wcwl_frontend_css_colors' ) );
1296
-
1297
- foreach ( YITH_WCWL_Init()->colors_options as $color => $attrs ) {
1298
- if ( ! isset( $colors[$color] ) ) {
1299
- $colors[$color] = $attrs;
1300
- }
1301
- }
1302
-
1303
- ?>
1304
- <div class="color-panel">
1305
- <div class="clear"></div>
1306
- <h4><?php _e( '"Add to wishlist" button', 'yith-woocommerce-wishlist' ) ?></h4>
1307
- <?php
1308
-
1309
- yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_background', $colors['add_to_wishlist']['background'] );
1310
- yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_color', $colors['add_to_wishlist']['color'] );
1311
- yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_border_color', $colors['add_to_wishlist']['border_color'] );
1312
-
1313
- ?>
1314
- <div class="clear" style="height:10px;"></div>
1315
- <?php
1316
-
1317
- // hover
1318
- yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_hover_background', $colors['add_to_wishlist_hover']['background'] );
1319
- yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_hover_color', $colors['add_to_wishlist_hover']['color'] );
1320
- yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_hover_border_color', $colors['add_to_wishlist_hover']['border_color'] );
1321
-
1322
- ?>
1323
- <div class="clear" style="height:30px;"></div>
1324
- <h4><?php _e( '"Add to Cart" button', 'yith-woocommerce-wishlist' ) ?></h4>
1325
- <?php
1326
-
1327
- yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_background', $colors['add_to_cart']['background'] );
1328
- yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_color', $colors['add_to_cart']['color'] );
1329
- yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_border_color', $colors['add_to_cart']['border_color'] );
1330
-
1331
- ?>
1332
- <div class="clear" style="height:10px;"></div>
1333
- <?php
1334
-
1335
- // hover
1336
- yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_hover_background', $colors['add_to_cart_hover']['background'] );
1337
- yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_hover_color', $colors['add_to_cart_hover']['color'] );
1338
- yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_hover_border_color', $colors['add_to_cart_hover']['border_color'] );
1339
-
1340
- ?>
1341
- <div class="clear" style="height:30px;"></div>
1342
- <h4><?php _e( '"Style 1" button', 'yith-woocommerce-wishlist' ) ?></h4>
1343
- <?php
1344
-
1345
- yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_background', $colors['button_style_1']['background'] );
1346
- yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_color', $colors['button_style_1']['color'] );
1347
- yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_border_color', $colors['button_style_1']['border_color'] );
1348
-
1349
- ?>
1350
- <div class="clear" style="height:10px;"></div>
1351
- <?php
1352
-
1353
- // hover
1354
- yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_hover_background', $colors['button_style_1_hover']['background'] );
1355
- yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_hover_color', $colors['button_style_1_hover']['color'] );
1356
- yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_hover_border_color', $colors['button_style_1_hover']['border_color'] );
1357
-
1358
- ?>
1359
- <div class="clear" style="height:30px;"></div>
1360
- <h4><?php _e( '"Style 2" button', 'yith-woocommerce-wishlist' ) ?></h4>
1361
- <?php
1362
-
1363
- yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_background', $colors['button_style_2']['background'] );
1364
- yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_color', $colors['button_style_2']['color'] );
1365
- yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_border_color', $colors['button_style_2']['border_color'] );
1366
-
1367
- ?>
1368
- <div class="clear" style="height:10px;"></div>
1369
- <?php
1370
-
1371
- // hover
1372
- yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_hover_background', $colors['button_style_2_hover']['background'] );
1373
- yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_hover_color', $colors['button_style_2_hover']['color'] );
1374
- yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_hover_border_color', $colors['button_style_2_hover']['border_color'] );
1375
-
1376
- ?>
1377
- <div class="clear" style="height:30px;"></div>
1378
- <h4><?php _e( 'Wishlist table', 'yith-woocommerce-wishlist' )?></h4>
1379
- <?php
1380
-
1381
- yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_wishlist_table_background', $colors['wishlist_table']['background'] );
1382
- yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_wishlist_table_color', $colors['wishlist_table']['color'] );
1383
- yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_wishlist_table_border_color', $colors['wishlist_table']['border_color'] );
1384
-
1385
- ?>
1386
- <div class="clear" style="height:30px;"></div>
1387
- <h4><?php _e( 'Headers', 'yith-woocommerce-wishlist' ) ?></h4>
1388
- <?php
1389
-
1390
- yith_frontend_css_color_picker( __( 'Background color', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_headers_background', $colors['headers']['background'] );
1391
-
1392
- do_action( 'yith_wcwl_admin_color_pickers' );
1393
-
1394
- ?>
1395
- <div class="clear"></div>
1396
- </div>
1397
- <div class="clear" style="height:30px;"></div>
1398
- <?php
1399
- }
1400
-
1401
- /* === WISHLIST SUBPANEL SECTION === */
1402
-
1403
- /**
1404
- * Register wishlist panel
1405
- *
1406
- * @return void
1407
- * @since 2.0.0
1408
- */
1409
- public function register_panel() {
1410
-
1411
- $args = array(
1412
- 'create_menu_page' => true,
1413
- 'parent_slug' => '',
1414
- 'page_title' => __( 'Wishlist', 'yith-woocommerce-wishlist' ),
1415
- 'menu_title' => __( 'Wishlist', 'yith-woocommerce-wishlist' ),
1416
- 'capability' => 'manage_options',
1417
- 'parent' => '',
1418
- 'parent_page' => 'yit_plugin_panel',
1419
- 'page' => 'yith_wcwl_panel',
1420
- 'admin-tabs' => $this->available_tabs,
1421
- 'options-path' => YITH_WCWL_DIR . 'plugin-options'
1422
- );
1423
-
1424
- /* === Fixed: not updated theme === */
1425
- if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
1426
- require_once( YITH_WCWL_DIR . 'plugin-fw/lib/yit-plugin-panel-wc.php' );
1427
- }
1428
-
1429
- $this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
1430
- }
1431
-
1432
- /**
1433
- * Load admin style.
1434
- *
1435
- * @return void
1436
- * @since 1.0.0
1437
- */
1438
- public function enqueue() {
1439
- global $woocommerce, $pagenow;
1440
-
1441
- if( $pagenow == 'admin.php' && isset( $_GET['page'] ) && $_GET['page'] == 'yith_wcwl_panel' ) {
1442
- wp_enqueue_style( 'yith-wcwl-admin' );
1443
- wp_enqueue_script( 'yith-wcwl-admin' );
1444
- }
1445
- }
1446
-
1447
- /**
1448
- * Prints tab premium of the plugin
1449
- *
1450
- * @return void
1451
- * @since 2.0.0
1452
- */
1453
- public function print_premium_tab() {
1454
- $premium_tab = YITH_WCWL_DIR . 'templates/admin/wishlist-panel-premium.php';
1455
-
1456
- if( file_exists( $premium_tab ) ){
1457
- include( $premium_tab );
1458
- }
1459
- }
1460
-
1461
- /* === POINTER SECTION === */
1462
-
1463
- /**
1464
- * Register pointers for notify plugin updates to user
1465
- *
1466
- * @return void
1467
- * @since 2.0.0
1468
- */
1469
- public function register_pointer(){
1470
-
1471
- if( ! class_exists( 'YIT_Pointers' ) ){
1472
- include_once( 'plugin-fw/lib/yit-pointers.php' );
1473
- }
1474
-
1475
- $args[] = array(
1476
- 'screen_id' => 'plugins',
1477
- 'pointer_id' => 'yith_wcwl_panel',
1478
- 'target' => '#toplevel_page_yit_plugin_panel',
1479
- 'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
1480
- __( 'Wishlist Activated', 'yith-woocommerce-wishlist' ),
1481
- apply_filters( 'yith_wcwl_activated_pointer_content', sprintf( __( 'In the YIT Plugin tab you can find the Wishlist options. With this menu, you can access to all the settings of our plugins that you have activated. Wishlist is available in an outstanding PREMIUM version with many new options, <a href="%s">discover it now</a>.', 'yith-woocommerce-wishlist' ), $this->get_premium_landing_uri() ) )
1482
- ),
1483
- 'position' => array( 'edge' => 'left', 'align' => 'center' ),
1484
- 'init' => YITH_WCWL_INIT
1485
- );
1486
-
1487
- $args[] = array(
1488
- 'screen_id' => 'update',
1489
- 'pointer_id' => 'yith_wcwl_panel',
1490
- 'target' => '#toplevel_page_yit_plugin_panel',
1491
- 'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
1492
- __( 'Wishlist Updated', 'yith-woocommerce-wishlist' ),
1493
- apply_filters( 'yith_wcwl_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of Wishlist under YIT Plugin -> Wishlist instead of WooCommerce -> Settings -> Wishlist, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. Wishlist has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yith-woocommerce-wishlist' ), $this->get_premium_landing_uri() ) )
1494
- ),
1495
- 'position' => array( 'edge' => 'left', 'align' => 'center' ),
1496
- 'init' => YITH_WCWL_INIT
1497
- );
1498
-
1499
- YIT_Pointers()->register( $args );
1500
- }
1501
- }
1502
- }
1503
-
1504
- /**
1505
- * Unique access to instance of YITH_WCWL_Admin_Init class
1506
- *
1507
- * @return \YITH_WCWL_Admin_Init
1508
- * @since 2.0.0
1509
- */
1510
- function YITH_WCWL_Admin_Init(){
1511
- return YITH_WCWL_Admin_Init::get_instance();
1512
  }
1
+ <?php
2
+ /**
3
+ * Admin init class
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.0
8
+ */
9
+
10
+ if ( ! defined( 'YITH_WCWL' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ if ( ! class_exists( 'YITH_WCWL_Admin_Init' ) ) {
15
+ /**
16
+ * Initiator class. Create and populate admin views.
17
+ *
18
+ * @since 1.0.0
19
+ */
20
+ class YITH_WCWL_Admin_Init {
21
+
22
+ /**
23
+ * Single instance of the class
24
+ *
25
+ * @var \YITH_WCWL_Admin_Init
26
+ * @since 2.0.0
27
+ */
28
+ protected static $instance;
29
+
30
+ /**
31
+ * Wishlist panel
32
+ *
33
+ * @var string Panel hookname
34
+ * @since 2.0.0
35
+ */
36
+ protected $_panel = null;
37
+
38
+ /**
39
+ * Tab name
40
+ *
41
+ * @var string
42
+ * @since 1.0.0
43
+ */
44
+ public $tab;
45
+
46
+ /**
47
+ * Various links
48
+ *
49
+ * @var string
50
+ * @access public
51
+ * @since 1.0.0
52
+ */
53
+ public $banner_url = 'http://cdn.yithemes.com/plugins/yith_wishlist.php?url';
54
+ public $banner_img = 'http://cdn.yithemes.com/plugins/yith_wishlist.php';
55
+ public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-wishlist/';
56
+ public $premium_landing_url = 'http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/';
57
+ public $live_demo_url = 'http://plugins.yithemes.com/yith-woocommerce-wishlist/';
58
+
59
+ /**
60
+ * Plugin options
61
+ *
62
+ * @var array
63
+ * @since 1.0.0
64
+ */
65
+ public $options;
66
+
67
+ /**
68
+ * List of available tab for wishlist panel
69
+ *
70
+ * @var array
71
+ * @access public
72
+ * @since 2.0.0
73
+ */
74
+ public $available_tabs = array();
75
+
76
+ /**
77
+ * Default tab to show when no selected
78
+ *
79
+ * @var string
80
+ * @access public
81
+ * @since 2.0.0
82
+ */
83
+ public $default_tab = 'settings';
84
+
85
+ /**
86
+ * Returns single instance of the class
87
+ *
88
+ * @return \YITH_WCWL_Admin_Init
89
+ * @since 2.0.0
90
+ */
91
+ public static function get_instance(){
92
+ if( is_null( self::$instance ) ){
93
+ self::$instance = new self();
94
+ }
95
+
96
+ return self::$instance;
97
+ }
98
+
99
+ /**
100
+ * Constructor of the class
101
+ *
102
+ * @return \YITH_WCWL_Admin_Init
103
+ * @since 2.0.0
104
+ */
105
+ public function __construct(){
106
+ // init premium features for admin panel
107
+ if( function_exists( 'YITH_WCWL_Admin_Premium' ) ){
108
+ YITH_WCWL_Admin_Premium();
109
+ }
110
+
111
+ /**
112
+ * Support to WC 2.0.x
113
+ */
114
+ global $woocommerce;
115
+ $is_woocommerce_2_0 = version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.1', '<' );
116
+ $is_woocommerce_2_4 = version_compare( $woocommerce->version, '2.4.0', '>=' );
117
+
118
+ $this->options = $this->_plugin_options();
119
+
120
+ if ( ! defined( 'DOING_AJAX' ) ) {
121
+ $this->install();
122
+ }
123
+
124
+ add_action( 'init', array( $this, 'init' ), 0 );
125
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ), 20 );
126
+ add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCWL_DIR . 'init.php' ), array( $this, 'action_links' ) );
127
+ add_filter( 'plugin_row_meta', array( $this, 'add_plugin_meta' ), 10, 2 );
128
+
129
+ if( $is_woocommerce_2_0 ) {
130
+ add_filter( 'woocommerce_page_settings', array( $this, 'add_page_setting_woocommerce' ) );
131
+ }
132
+
133
+ // saves panel options
134
+ if( $is_woocommerce_2_4 ){
135
+ add_filter( 'woocommerce_admin_settings_sanitize_option_yith_wcwl_color_panel', array( $this, 'update_color_options' ) );
136
+ }
137
+ else{
138
+ add_action( 'woocommerce_update_option_yith_wcwl_color_panel', array( $this, 'update_color_options' ) );
139
+ }
140
+
141
+ // handles custom wc option type
142
+ add_action( 'woocommerce_admin_field_yith_wcwl_color_panel', array( $this, 'print_color_panel' ) );
143
+
144
+ // register wishlist panel
145
+ add_action( 'admin_menu', array( $this, 'register_panel' ), 5 );
146
+ add_action( 'yith_wcwl_premium_tab', array( $this, 'print_premium_tab' ) );
147
+
148
+ // register pointer methods
149
+ add_action( 'admin_init', array( $this, 'register_pointer' ) );
150
+
151
+ //Apply filters
152
+ $this->banner_url = apply_filters( 'yith_wcmg_banner_url', $this->banner_url );
153
+ }
154
+
155
+ /**
156
+ * Get the premium landing uri
157
+ *
158
+ * @since 1.0.0
159
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
160
+ * @return string The premium landing link
161
+ */
162
+ public function get_premium_landing_uri(){
163
+ return defined( 'YITH_REFER_ID' ) ? $this->premium_landing_url . '?refer_id=' . YITH_REFER_ID : $this->premium_landing_url . '?refer_id=1030585';
164
+ }
165
+
166
+ /* === INITIALIZATION SECTION === */
167
+
168
+ /**
169
+ * Initiator method. Initiate properties.
170
+ *
171
+ * @return void
172
+ * @access private
173
+ * @since 1.0.0
174
+ */
175
+ public function init() {
176
+ $this->tab = __( 'Wishlist', 'yith-woocommerce-wishlist' );
177
+ $this->available_tabs = apply_filters( 'yith_wcwl_available_admin_tabs', array(
178
+ 'settings' => __( 'Settings', 'yith-woocommerce-wishlist' ),
179
+ 'colors' => __( 'Colors', 'yith-woocommerce-wishlist' ),
180
+ 'premium' => __( 'Premium Version', 'yith-woocommerce-wishlist' )
181
+ ) );
182
+ $this->default_tab = apply_filters( 'yith_wcwl_default_admin_tab', $this->default_tab );
183
+
184
+ wp_register_style( 'yith-wcwl-admin', YITH_WCWL_URL . 'assets/css/admin.css', array(), YITH_WCWL_Init()->version );
185
+ wp_register_script( 'yith-wcwl-admin', YITH_WCWL_URL . 'assets/js/admin/yith-wcwl.js', array(), YITH_WCWL_Init()->version );
186
+ }
187
+
188
+ /**
189
+ * Run the installation
190
+ *
191
+ * @return void
192
+ * @since 1.0.0
193
+ */
194
+ public function install() {
195
+ $stored_db_version = get_option( 'yith_wcwl_db_version' );
196
+
197
+ if( $stored_db_version == '1.0.0' ){
198
+ add_action( 'init', array( YITH_WCWL_Install(), 'update' ) );
199
+ add_action( 'init', 'flush_rewrite_rules' );
200
+ YITH_WCWL_Install()->default_options( $this->options );
201
+
202
+ // Plugin installed
203
+ do_action( 'yith_wcwl_installed' );
204
+ do_action( 'yith_wcwl_updated' );
205
+ }
206
+ elseif ( YITH_WCWL_Init()->db_version != $stored_db_version || ! YITH_WCWL_Install()->is_installed() ) {
207
+ add_action( 'init', array( YITH_WCWL_Install(), 'init' ) );
208
+ YITH_WCWL_Install()->default_options( $this->options );
209
+
210
+ // Plugin installed
211
+ do_action( 'yith_wcwl_installed' );
212
+ }
213
+ }
214
+
215
+ /**
216
+ * Update plugin color options.
217
+ *
218
+ * @return void
219
+ * @since 1.0.0
220
+ */
221
+ public function update_color_options( $value = false ) {
222
+ global $pagenow;
223
+
224
+ $colors_options = array();
225
+
226
+ foreach ( YITH_WCWL_Init()->colors_options as $name => $option ) {
227
+ foreach ( $option as $id => $color ) {
228
+ $default_value = isset( $colors_options[$name][$id] ) ? $colors_options[$name][$id] : '';
229
+ $colors_options[$name][$id] = isset( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) && ! empty( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) ? woocommerce_format_hex( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) : $default_value;
230
+ }
231
+ }
232
+
233
+ update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $colors_options ) );
234
+
235
+ return null;
236
+ }
237
+
238
+ /**
239
+ * Print color panel.
240
+ *
241
+ * @return void
242
+ * @since 1.0.0
243
+ */
244
+ public function print_color_panel() {
245
+ ?>
246
+ <div id="yith_wcwl_styles_colors">
247
+ <h3><?php _e( 'Colors', 'yith-woocommerce-wishlist' ) ?></h3>
248
+ <?php $this->_styles_options() ?>
249
+ </div> <?php
250
+ }
251
+
252
+ /**
253
+ * Add the select for the Wishlist page in WooCommerce > Settings > Pages
254
+ *
255
+ * @param array $settings
256
+ *
257
+ * @return array
258
+ * @since 1.0.0
259
+ */
260
+ public function add_page_setting_woocommerce( $settings ) {
261
+ unset( $settings[count( $settings ) - 1] );
262
+
263
+ $setting[] = $this->get_wcwl_page_option();
264
+
265
+ $settings[] = array( 'type' => 'sectionend', 'id' => 'page_options' );
266
+
267
+ return $settings;
268
+ }
269
+
270
+ /**
271
+ * action_links function.
272
+ *
273
+ * @access public
274
+ *
275
+ * @param mixed $links
276
+ * @return array
277
+ */
278
+ public function action_links( $links ) {
279
+ $plugin_links = array(
280
+ '<a href="' . admin_url( 'admin.php?page=yith_wcwl_panel&tab=settings' ) . '">' . __( 'Settings', 'yith-woocommerce-wishlist' ) . '</a>'
281
+ );
282
+
283
+ if( ! function_exists( 'YITH_WCWL_Premium' ) ){
284
+ $plugin_links[] = '<a target="_blank" href="' . $this->get_premium_landing_uri() . '">' . __( 'Premium Version', 'yith-woocommerce-wishlist' ) . '</a>';
285
+ $plugin_links[] = '<a target="_blank" href="' . $this->live_demo_url . '">' . __( 'Live Demo', 'yith-woocommerce-wishlist' ) . '</a>';
286
+ }
287
+
288
+ return array_merge( $links, $plugin_links );
289
+ }
290
+
291
+ /**
292
+ * Adds plugin row meta
293
+ *
294
+ * @param $plugin_meta array
295
+ * @param $plugin_file string
296
+ * @return array
297
+ * @since 2.0.0
298
+ */
299
+ public function add_plugin_meta( $plugin_meta, $plugin_file ){
300
+ global $woocommerce;
301
+
302
+ if ( $plugin_file == plugin_basename( YITH_WCWL_DIR . 'init.php' ) ) {
303
+
304
+ // outdated wc alert
305
+
306
+ if( version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.2', '<' ) ){
307
+ $woocommerce_file = $woocommerce->plugin_path;
308
+ if ( ! is_multisite() && current_user_can( 'delete_plugins' ) ) {
309
+ $plugin_meta['outdated_wc_alert'] = '<a class="outdated-wc-alert" style="color: red" href="' . wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $woocommerce_file, 'upgrade-plugin_' . $woocommerce_file ) . '">' . __( 'WARNING: This plugin requires at least WooCommerce 2.2! Please, use this link to update it.', 'yith-woocommerce-wishlist' ) . '</a>';
310
+ }
311
+ else{
312
+ $plugin_meta['outdated_wc_alert'] = '<span class="outdated-wc-alert" style="color: red">' . __( 'WARNING: This plugin requires at least WooCommerce 2.2!', 'yith-woocommerce-wishlist' ) . '</span>';
313
+ }
314
+ }
315
+
316
+ // documentation link
317
+ $plugin_meta['documentation'] = '<a target="_blank" href="' . $this->doc_url . '">' . __( 'Plugin Documentation', 'yith-woocommerce-wishlist' ) . '</a>';
318
+ }
319
+
320
+ return $plugin_meta;
321
+ }
322
+
323
+ /**
324
+ * Return the option to add the wishlist page
325
+ *
326
+ * @access public
327
+ * @return mxied array
328
+ * @since 1.1.3
329
+ */
330
+ public function get_wcwl_page_option(){
331
+
332
+ return array(
333
+ 'name' => __( 'Wishlist Page', 'yith-woocommerce-wishlist' ),
334
+ 'desc' => __( 'Page contents: [yith_wcwl_wishlist]', 'yith-woocommerce-wishlist' ),
335
+ 'id' => 'yith_wcwl_wishlist_page_id',
336
+ 'type' => 'single_select_page',
337
+ 'std' => '', // for woocommerce < 2.0
338
+ 'default' => '', // for woocommerce >= 2.0
339
+ 'class' => 'chosen_select_nostd',
340
+ 'css' => 'min-width:300px;',
341
+ 'desc_tip' => false,
342
+ );
343
+ }
344
+
345
+ /**
346
+ * Print the banner
347
+ *
348
+ * @access protected
349
+ * @return void
350
+ * @since 1.0.0
351
+ */
352
+ protected function _printBanner() {
353
+ ?>
354
+ <div class="yith_banner">
355
+ <a href="<?php echo $this->banner_url ?>" target="_blank">
356
+ <img src="<?php echo $this->banner_img ?>" alt="" />
357
+ </a>
358
+ </div>
359
+ <?php
360
+ }
361
+
362
+ /**
363
+ * Plugin options and tabs.
364
+ *
365
+ * @return array
366
+ * @since 1.0.0
367
+ */
368
+ private function _plugin_options() {
369
+ $icons = array(
370
+ 'fa-glass' => 'Glass',
371
+ 'fa-music' => 'Music',
372
+ 'fa-search' => 'Search',
373
+ 'fa-envelope-o' => 'Envelope O',
374
+ 'fa-heart' => 'Heart',
375
+ 'fa-star' => 'Star',
376
+ 'fa-star-o' => 'Star O',
377
+ 'fa-user' => 'User',
378
+ 'fa-film' => 'Film',
379
+ 'fa-th-large' => 'Th Large',
380
+ 'fa-th' => 'Th',
381
+ 'fa-th-list' => 'Th List',
382
+ 'fa-check' => 'Check',
383
+ 'fa-remove' => 'Remove',
384
+ 'fa-search-plus' => 'Search Plus',
385
+ 'fa-search-minus' => 'Search Minus',
386
+ 'fa-power-off' => 'Power Off',
387
+ 'fa-signal' => 'Signal',
388
+ 'fa-cog' => 'Cog',
389
+ 'fa-trash-o' => 'Trash O',
390
+ 'fa-home' => 'Home',
391
+ 'fa-file-o' => 'File O',
392
+ 'fa-clock-o' => 'Clock O',
393
+ 'fa-road' => 'Road',
394
+ 'fa-download' => 'Download',
395
+ 'fa-arrow-circle-o-down' => 'Arrow Circle O Down',
396
+ 'fa-arrow-circle-o-up' => 'Arrow Circle O Up',
397
+ 'fa-inbox' => 'Inbox',
398
+ 'fa-play-circle-o' => 'Play Circle O',
399
+ 'fa-repeat' => 'Repeat',
400
+ 'fa-refresh' => 'Refresh',
401
+ 'fa-list-alt' => 'List Alt',
402
+ 'fa-lock' => 'Lock',
403
+ 'fa-flag' => 'Flag',
404
+ 'fa-headphones' => 'Headphones',
405
+ 'fa-volume-off' => 'Volume Off',
406
+ 'fa-volume-down' => 'Volume Down',
407
+ 'fa-volume-up' => 'Volume Up',
408
+ 'fa-qrcode' => 'Qrcode',
409
+ 'fa-barcode' => 'Barcode',
410
+ 'fa-tag' => 'Tag',
411
+ 'fa-tags' => 'Tags',
412
+ 'fa-book' => 'Book',
413
+ 'fa-bookmark' => 'Bookmark',
414
+ 'fa-print' => 'Print',
415
+ 'fa-camera' => 'Camera',
416
+ 'fa-font' => 'Font',
417
+ 'fa-bold' => 'Bold',
418
+ 'fa-italic' => 'Italic',
419
+ 'fa-text-height' => 'Text Height',
420
+ 'fa-text-width' => 'Text Width',
421
+ 'fa-align-left' => 'Align Left',
422
+ 'fa-align-center' => 'Align Center',
423
+ 'fa-align-right' => 'Align Right',
424
+ 'fa-align-justify' => 'Align Justify',
425
+ 'fa-list' => 'List',
426
+ 'fa-dedent' => 'Dedent',
427
+ 'fa-indent' => 'Indent',
428
+ 'fa-video-camera' => 'Video Camera',
429
+ 'fa-picture-o' => 'Photo',
430
+ 'fa-pencil' => 'Pencil',
431
+ 'fa-map-marker' => 'Map Marker',
432
+ 'fa-adjust' => 'Adjust',
433
+ 'fa-tint' => 'Tint',
434
+ 'fa-edit' => 'Edit',
435
+ 'fa-share-square-o' => 'Share Square O',
436
+ 'fa-check-square-o' => 'Check Square O',
437
+ 'fa-arrows' => 'Arrows',
438
+ 'fa-step-backward' => 'Step Backward',
439
+ 'fa-fast-backward' => 'Fast Backward',
440
+ 'fa-backward' => 'Backward',
441
+ 'fa-play' => 'Play',
442
+ 'fa-pause' => 'Pause',
443
+ 'fa-stop' => 'Stop',
444
+ 'fa-forward' => 'Forward',
445
+ 'fa-fast-forward' => 'Fast Forward',
446
+ 'fa-step-forward' => 'Step Forward',
447
+ 'fa-eject' => 'Eject',
448
+ 'fa-chevron-left' => 'Chevron Left',
449
+ 'fa-chevron-right' => 'Chevron Right',
450
+ 'fa-plus-circle' => 'Plus Circle',
451
+ 'fa-minus-circle' => 'Minus Circle',
452
+ 'fa-times-circle' => 'Times Circle',
453
+ 'fa-check-circle' => 'Check Circle',
454
+ 'fa-question-circle' => 'Question Circle',
455
+ 'fa-info-circle' => 'Info Circle',
456
+ 'fa-crosshairs' => 'Crosshairs',
457
+ 'fa-times-circle-o' => 'Times Circle O',
458
+ 'fa-check-circle-o' => 'Check Circle O',
459
+ 'fa-ban' => 'Ban',
460
+ 'fa-arrow-left' => 'Arrow Left',
461
+ 'fa-arrow-right' => 'Arrow Right',
462
+ 'fa-arrow-up' => 'Arrow Up',
463
+ 'fa-arrow-down' => 'Arrow Down',
464
+ 'fa-share' => 'Share',
465
+ 'fa-expand' => 'Expand',
466
+ 'fa-compress' => 'Compress',
467
+ 'fa-plus' => 'Plus',
468
+ 'fa-minus' => 'Minus',
469
+ 'fa-asterisk' => 'Asterisk',
470
+ 'fa-exclamation-circle' => 'Exclamation Circle',
471
+ 'fa-gift' => 'Gift',
472
+ 'fa-leaf' => 'Leaf',
473
+ 'fa-fire' => 'Fire',
474
+ 'fa-eye' => 'Eye',
475
+ 'fa-eye-slash' => 'Eye Slash',
476
+ 'fa-warning' => 'Warning',
477
+ 'fa-plane' => 'Plane',
478
+ 'fa-calendar' => 'Calendar',
479
+ 'fa-random' => 'Random',
480
+ 'fa-comment' => 'Comment',
481
+ 'fa-magnet' => 'Magnet',
482
+ 'fa-chevron-up' => 'Chevron Up',
483
+ 'fa-chevron-down' => 'Chevron Down',
484
+ 'fa-retweet' => 'Retweet',
485
+ 'fa-shopping-cart' => 'Shopping Cart',
486
+ 'fa-folder' => 'Folder',
487
+ 'fa-folder-open' => 'Folder Open',
488
+ 'fa-arrows-v' => 'Arrows V',
489
+ 'fa-arrows-h' => 'Arrows H',
490
+ 'fa-bar-chart' => 'Bar Chart',
491
+ 'fa-twitter-square' => 'Twitter Square',
492
+ 'fa-facebook-square' => 'Facebook Square',
493
+ 'fa-camera-retro' => 'Camera Retro',
494
+ 'fa-key' => 'Key',
495
+ 'fa-cogs' => 'Cogs',
496
+ 'fa-comments' => 'Comments',
497
+ 'fa-thumbs-o-up' => 'Thumbs O Up',
498
+ 'fa-thumbs-o-down' => 'Thumbs O Down',
499
+ 'fa-star-half' => 'Star Half',
500
+ 'fa-heart-o' => 'Heart O',
501
+ 'fa-sign-out' => 'Sign Out',
502
+ 'fa-linkedin-square' => 'Linkedin Square',
503
+ 'fa-thumb-tack' => 'Thumb Tack',
504
+ 'fa-external-link' => 'External Link',
505
+ 'fa-sign-in' => 'Sign In',
506
+ 'fa-trophy' => 'Trophy',
507
+ 'fa-github-square' => 'Github Square',
508
+ 'fa-upload' => 'Upload',
509
+ 'fa-lemon-o' => 'Lemon O',
510
+ 'fa-phone' => 'Phone',
511
+ 'fa-square-o' => 'Square O',
512
+ 'fa-bookmark-o' => 'Bookmark O',
513
+ 'fa-phone-square' => 'Phone Square',
514
+ 'fa-twitter' => 'Twitter',
515
+ 'fa-facebook' => 'Facebook',
516
+ 'fa-github' => 'Github',
517
+ 'fa-unlock' => 'Unlock',
518
+ 'fa-credit-card' => 'Credit Card',
519
+ 'fa-rss' => 'Rss',
520
+ 'fa-hdd-o' => 'Hdd O',
521
+ 'fa-bullhorn' => 'Bullhorn',
522
+ 'fa-bell' => 'Bell',
523
+ 'fa-certificate' => 'Certificate',
524
+ 'fa-hand-o-right' => 'Hand O Right',
525
+ 'fa-hand-o-left' => 'Hand O Left',
526
+ 'fa-hand-o-up' => 'Hand O Up',
527
+ 'fa-hand-o-down' => 'Hand O Down',
528
+ 'fa-arrow-circle-left' => 'Arrow Circle Left',
529
+ 'fa-arrow-circle-right' => 'Arrow Circle Right',
530
+ 'fa-arrow-circle-up' => 'Arrow Circle Up',
531
+ 'fa-arrow-circle-down' => 'Arrow Circle Down',
532
+ 'fa-globe' => 'Globe',
533
+ 'fa-wrench' => 'Wrench',
534
+ 'fa-tasks' => 'Tasks',
535
+ 'fa-filter' => 'Filter',
536
+ 'fa-briefcase' => 'Briefcase',
537
+ 'fa-arrows-alt' => 'Arrows Alt',
538
+ 'fa-group' => 'Group',
539
+ 'fa-link' => 'Link',
540
+ 'fa-cloud' => 'Cloud',
541
+ 'fa-flask' => 'Flask',
542
+ 'fa-cut' => 'Cut',
543
+ 'fa-copy' => 'Copy',
544
+ 'fa-paperclip' => 'Paperclip',
545
+ 'fa-save' => 'Save',
546
+ 'fa-square' => 'Square',
547
+ 'fa-navicon' => 'Navicon',
548
+ 'fa-list-ul' => 'List Ul',
549
+ 'fa-list-ol' => 'List Ol',
550
+ 'fa-strikethrough' => 'Strikethrough',
551
+ 'fa-underline' => 'Underline',
552
+ 'fa-table' => 'Table',
553
+ 'fa-magic' => 'Magic',
554
+ 'fa-truck' => 'Truck',
555
+ 'fa-pinterest' => 'Pinterest',
556
+ 'fa-pinterest-square' => 'Pinterest Square',
557
+ 'fa-google-plus-square' => 'Google Plus Square',
558
+ 'fa-google-plus' => 'Google Plus',
559
+ 'fa-money' => 'Money',
560
+ 'fa-caret-down' => 'Caret Down',
561
+ 'fa-caret-up' => 'Caret Up',
562
+ 'fa-caret-left' => 'Caret Left',
563
+ 'fa-caret-right' => 'Caret Right',
564
+ 'fa-columns' => 'Columns',
565
+ 'fa-unsorted' => 'Unsorted',
566
+ 'fa-sort-down' => 'Sort Down',
567
+ 'fa-sort-up' => 'Sort Up',
568
+ 'fa-envelope' => 'Envelope',
569
+ 'fa-linkedin' => 'Linkedin',
570
+ 'fa-undo' => 'Undo',
571
+ 'fa-legal' => 'Legal',
572
+ 'fa-dashboard' => 'Dashboard',
573
+ 'fa-comment-o' => 'Comment O',
574
+ 'fa-comments-o' => 'Comments O',
575
+ 'fa-bolt' => 'Bolt',
576
+ 'fa-sitemap' => 'Sitemap',
577
+ 'fa-umbrella' => 'Umbrella',
578
+ 'fa-paste' => 'Paste',
579
+ 'fa-lightbulb-o' => 'Lightbulb O',
580
+ 'fa-exchange' => 'Exchange',
581
+ 'fa-cloud-download' => 'Cloud Download',
582
+ 'fa-cloud-upload' => 'Cloud Upload',
583
+ 'fa-user-md' => 'User Md',
584
+ 'fa-stethoscope' => 'Stethoscope',
585
+ 'fa-suitcase' => 'Suitcase',
586
+ 'fa-bell-o' => 'Bell O',
587
+ 'fa-coffee' => 'Coffee',
588
+ 'fa-cutlery' => 'Cutlery',
589
+ 'fa-file-text-o' => 'File Text O',
590
+ 'fa-building-o' => 'Building O',
591
+ 'fa-hospital-o' => 'Hospital O',
592
+ 'fa-ambulance' => 'Ambulance',
593
+ 'fa-medkit' => 'Medkit',
594
+ 'fa-fighter-jet' => 'Fighter Jet',
595
+ 'fa-beer' => 'Beer',
596
+ 'fa-h-square' => 'H Square',
597
+ 'fa-plus-square' => 'Plus Square',
598
+ 'fa-angle-double-left' => 'Angle Double Left',
599
+ 'fa-angle-double-right' => 'Angle Double Right',
600
+ 'fa-angle-double-up' => 'Angle Double Up',
601
+ 'fa-angle-double-down' => 'Angle Double Down',
602
+ 'fa-angle-left' => 'Angle Left',
603
+ 'fa-angle-right' => 'Angle Right',
604
+ 'fa-angle-up' => 'Angle Up',
605
+ 'fa-angle-down' => 'Angle Down',
606
+ 'fa-desktop' => 'Desktop',
607
+ 'fa-laptop' => 'Laptop',
608
+ 'fa-tablet' => 'Tablet',
609
+ 'fa-mobile' => 'Mobile',
610
+ 'fa-circle-o' => 'Circle O',
611
+ 'fa-quote-left' => 'Quote Left',
612
+ 'fa-quote-right' => 'Quote Right',
613
+ 'fa-spinner' => 'Spinner',
614
+ 'fa-circle' => 'Circle',
615
+ 'fa-reply' => 'Reply',
616
+ 'fa-github-alt' => 'Github Alt',
617
+ 'fa-folder-o' => 'Folder O',
618
+ 'fa-folder-open-o' => 'Folder Open O',
619
+ 'fa-smile-o' => 'Smile O',
620
+ 'fa-frown-o' => 'Frown O',
621
+ 'fa-meh-o' => 'Meh O',
622
+ 'fa-gamepad' => 'Gamepad',
623
+ 'fa-keyboard-o' => 'Keyboard O',
624
+ 'fa-flag-o' => 'Flag O',
625
+ 'fa-flag-checkered' => 'Flag Checkered',
626
+ 'fa-terminal' => 'Terminal',
627
+ 'fa-code' => 'Code',
628
+ 'fa-reply-all' => 'Reply All',
629
+ 'fa-star-half-o' => 'Star Half O',
630
+ 'fa-location-arrow' => 'Location Arrow',
631
+ 'fa-crop' => 'Crop',
632
+ 'fa-code-fork' => 'Code Fork',
633
+ 'fa-chain-broken' => 'Chain Broken',
634
+ 'fa-question' => 'Question',
635
+ 'fa-info' => 'Info',
636
+ 'fa-exclamation' => 'Exclamation',
637
+ 'fa-superscript' => 'Superscript',
638
+ 'fa-subscript' => 'Subscript',
639
+ 'fa-eraser' => 'Eraser',
640
+ 'fa-puzzle-piece' => 'Puzzle Piece',
641
+ 'fa-microphone' => 'Microphone',
642
+ 'fa-microphone-slash' => 'Microphone Slash',
643
+ 'fa-shield' => 'Shield',
644
+ 'fa-calendar-o' => 'Calendar O',
645
+ 'fa-fire-extinguisher' => 'Fire Extinguisher',
646
+ 'fa-rocket' => 'Rocket',
647
+ 'fa-maxcdn' => 'Maxcdn',
648
+ 'fa-chevron-circle-left' => 'Chevron Circle Left',
649
+ 'fa-chevron-circle-right' => 'Chevron Circle Right',
650
+ 'fa-chevron-circle-up' => 'Chevron Circle Up',
651
+ 'fa-chevron-circle-down' => 'Chevron Circle Down',
652
+ 'fa-html5' => 'Html5',
653
+ 'fa-css3' => 'Css3',
654
+ 'fa-anchor' => 'Anchor',
655
+ 'fa-unlock-alt' => 'Unlock Alt',
656
+ 'fa-bullseye' => 'Bullseye',
657
+ 'fa-ellipsis-h' => 'Ellipsis H',
658
+ 'fa-ellipsis-v' => 'Ellipsis V',
659
+ 'fa-rss-square' => 'Rss Square',
660
+ 'fa-play-circle' => 'Play Circle',
661
+ 'fa-ticket' => 'Ticket',
662
+ 'fa-minus-square' => 'Minus Square',
663
+ 'fa-minus-square-o' => 'Minus Square O',
664
+ 'fa-level-up' => 'Level Up',
665
+ 'fa-level-down' => 'Level Down',
666
+ 'fa-check-square' => 'Check Square',
667
+ 'fa-pencil-square' => 'Pencil Square',
668
+ 'fa-external-link-square' => 'External Link Square',
669
+ 'fa-share-square' => 'Share Square',
670
+ 'fa-compass' => 'Compass',
671
+ 'fa-caret-square-o-down' => 'Caret Square O Down',
672
+ 'fa-caret-square-o-up' => 'Caret Square O Up',
673
+ 'fa-caret-square-o-right' => 'Caret Square O Right',
674
+ 'fa-eur' => 'Eur',
675
+ 'fa-gbp' => 'Gbp',
676
+ 'fa-usd' => 'Usd',
677
+ 'fa-inr' => 'Inr',
678
+ 'fa-jpy' => 'Jpy',
679
+ 'fa-rub' => 'Rub',
680
+ 'fa-krw' => 'Krw',
681
+ 'fa-btc' => 'Btc',
682
+ 'fa-file' => 'File',
683
+ 'fa-file-text' => 'File Text',
684
+ 'fa-sort-alpha-asc' => 'Sort Alpha Asc',
685
+ 'fa-sort-alpha-desc' => 'Sort Alpha Desc',
686
+ 'fa-sort-amount-asc' => 'Sort Amount Asc',
687
+ 'fa-sort-amount-desc' => 'Sort Amount Desc',
688
+ 'fa-sort-numeric-asc' => 'Sort Numeric Asc',
689
+ 'fa-sort-numeric-desc' => 'Sort Numeric Desc',
690
+ 'fa-thumbs-up' => 'Thumbs Up',
691
+ 'fa-thumbs-down' => 'Thumbs Down',
692
+ 'fa-youtube-square' => 'Youtube Square',
693
+ 'fa-youtube' => 'Youtube',
694
+ 'fa-xing' => 'Xing',
695
+ 'fa-xing-square' => 'Xing Square',
696
+ 'fa-youtube-play' => 'Youtube Play',
697
+ 'fa-dropbox' => 'Dropbox',
698
+ 'fa-stack-overflow' => 'Stack Overflow',
699
+ 'fa-instagram' => 'Instagram',
700
+ 'fa-flickr' => 'Flickr',
701
+ 'fa-adn' => 'Adn',
702
+ 'fa-bitbucket' => 'Bitbucket',
703
+ 'fa-bitbucket-square' => 'Bitbucket Square',
704
+ 'fa-tumblr' => 'Tumblr',
705
+ 'fa-tumblr-square' => 'Tumblr Square',
706
+ 'fa-long-arrow-down' => 'Long Arrow Down',
707
+ 'fa-long-arrow-up' => 'Long Arrow Up',
708
+ 'fa-long-arrow-left' => 'Long Arrow Left',
709
+ 'fa-long-arrow-right' => 'Long Arrow Right',
710
+ 'fa-apple' => 'Apple',
711
+ 'fa-windows' => 'Windows',
712
+ 'fa-android' => 'Android',
713
+ 'fa-linux' => 'Linux',
714
+ 'fa-dribbble' => 'Dribbble',
715
+ 'fa-skype' => 'Skype',
716
+ 'fa-foursquare' => 'Foursquare',
717
+ 'fa-trello' => 'Trello',
718
+ 'fa-female' => 'Female',
719
+ 'fa-male' => 'Male',
720
+ 'fa-gratipay' => 'Gratipay',
721
+ 'fa-sun-o' => 'Sun O',
722
+ 'fa-moon-o' => 'Moon O',
723
+ 'fa-archive' => 'Archive',
724
+ 'fa-bug' => 'Bug',
725
+ 'fa-vk' => 'Vk',
726
+ 'fa-weibo' => 'Weibo',
727
+ 'fa-renren' => 'Renren',
728
+ 'fa-pagelines' => 'Pagelines',
729
+ 'fa-stack-exchange' => 'Stack Exchange',
730
+ 'fa-arrow-circle-o-right' => 'Arrow Circle O Right',
731
+ 'fa-arrow-circle-o-left' => 'Arrow Circle O Left',
732
+ 'fa-caret-square-o-left' => 'Caret Square O Left',
733
+ 'fa-dot-circle-o' => 'Dot Circle O',
734
+ 'fa-wheelchair' => 'Wheelchair',
735
+ 'fa-vimeo-square' => 'Vimeo Square',
736
+ 'fa-try' => 'Try',
737
+ 'fa-plus-square-o' => 'Plus Square O',
738
+ 'fa-space-shuttle' => 'Space Shuttle',
739
+ 'fa-slack' => 'Slack',
740
+ 'fa-envelope-square' => 'Envelope Square',
741
+ 'fa-wordpress' => 'Wordpress',
742
+ 'fa-openid' => 'Openid',
743
+ 'fa-university' => 'University',
744
+ 'fa-graduation-cap' => 'Graduation Cap',
745
+ 'fa-yahoo' => 'Yahoo',
746
+ 'fa-google' => 'Google',
747
+ 'fa-reddit' => 'Reddit',
748
+ 'fa-reddit-square' => 'Reddit Square',
749
+ 'fa-stumbleupon-circle' => 'Stumbleupon Circle',
750
+ 'fa-stumbleupon' => 'Stumbleupon',
751
+ 'fa-delicious' => 'Delicious',
752
+ 'fa-digg' => 'Digg',
753
+ 'fa-pied-piper' => 'Pied Piper',
754
+ 'fa-pied-piper-alt' => 'Pied Piper Alt',
755
+ 'fa-drupal' => 'Drupal',
756
+ 'fa-joomla' => 'Joomla',
757
+ 'fa-language' => 'Language',
758
+ 'fa-fax' => 'Fax',
759
+ 'fa-building' => 'Building',
760
+ 'fa-child' => 'Child',
761
+ 'fa-paw' => 'Paw',
762
+ 'fa-spoon' => 'Spoon',
763
+ 'fa-cube' => 'Cube',
764
+ 'fa-cubes' => 'Cubes',
765
+ 'fa-behance' => 'Behance',
766
+ 'fa-behance-square' => 'Behance Square',
767
+ 'fa-steam' => 'Steam',
768
+ 'fa-steam-square' => 'Steam Square',
769
+ 'fa-recycle' => 'Recycle',
770
+ 'fa-car' => 'Car',
771
+ 'fa-taxi' => 'Taxi',
772
+ 'fa-tree' => 'Tree',
773
+ 'fa-spotify' => 'Spotify',
774
+ 'fa-deviantart' => 'Deviantart',
775
+ 'fa-soundcloud' => 'Soundcloud',
776
+ 'fa-database' => 'Database',
777
+ 'fa-file-pdf-o' => 'File Pdf O',
778
+ 'fa-file-word-o' => 'File Word O',
779
+ 'fa-file-excel-o' => 'File Excel O',
780
+ 'fa-file-powerpoint-o' => 'File Powerpoint O',
781
+ 'fa-file-image-o' => 'File Image O',
782
+ 'fa-file-archive-o' => 'File Archive O',
783
+ 'fa-file-audio-o' => 'File Audio O',
784
+ 'fa-file-video-o' => 'File Video O',
785
+ 'fa-file-code-o' => 'File Code O',
786
+ 'fa-vine' => 'Vine',
787
+ 'fa-codepen' => 'Codepen',
788
+ 'fa-jsfiddle' => 'Jsfiddle',
789
+ 'fa-life-ring' => 'Life Ring',
790
+ 'fa-circle-o-notch' => 'Circle O Notch',
791
+ 'fa-rebel' => 'Rebel',
792
+ 'fa-empire' => 'Empire',
793
+ 'fa-git-square' => 'Git Square',
794
+ 'fa-git' => 'Git',
795
+ 'fa-hacker-news' => 'Hacker News',
796
+ 'fa-tencent-weibo' => 'Tencent Weibo',
797
+ 'fa-qq' => 'Qq',
798
+ 'fa-weixin' => 'Weixin',
799
+ 'fa-paper-plane' => 'Paper Plane',
800
+ 'fa-paper-plane-o' => 'Paper Plane O',
801
+ 'fa-history' => 'History',
802
+ 'fa-circle-thin' => 'Circle Thin',
803
+ 'fa-header' => 'Header',
804
+ 'fa-paragraph' => 'Paragraph',
805
+ 'fa-sliders' => 'Sliders',
806
+ 'fa-share-alt' => 'Share Alt',
807
+ 'fa-share-alt-square' => 'Share Alt Square',
808
+ 'fa-bomb' => 'Bomb',
809
+ 'fa-futbol-o' => 'Futbol O',
810
+ 'fa-tty' => 'Tty',
811
+ 'fa-binoculars' => 'Binoculars',
812
+ 'fa-plug' => 'Plug',
813
+ 'fa-slideshare' => 'Slideshare',
814
+ 'fa-twitch' => 'Twitch',
815
+ 'fa-yelp' => 'Yelp',
816
+ 'fa-newspaper-o' => 'Newspaper O',
817
+ 'fa-wifi' => 'Wifi',
818
+ 'fa-calculator' => 'Calculator',
819
+ 'fa-paypal' => 'Paypal',
820
+ 'fa-google-wallet' => 'Google Wallet',
821
+ 'fa-cc-visa' => 'Cc Visa',
822
+ 'fa-cc-mastercard' => 'Cc Mastercard',
823
+ 'fa-cc-discover' => 'Cc Discover',
824
+ 'fa-cc-amex' => 'Cc Amex',
825
+ 'fa-cc-paypal' => 'Cc Paypal',
826
+ 'fa-cc-stripe' => 'Cc Stripe',
827
+ 'fa-bell-slash' => 'Bell Slash',
828
+ 'fa-bell-slash-o' => 'Bell Slash O',
829
+ 'fa-trash' => 'Trash',
830
+ 'fa-copyright' => 'Copyright',
831
+ 'fa-at' => 'At',
832
+ 'fa-eyedropper' => 'Eyedropper',
833
+ 'fa-paint-brush' => 'Paint Brush',
834
+ 'fa-birthday-cake' => 'Birthday Cake',
835
+ 'fa-area-chart' => 'Area Chart',
836
+ 'fa-pie-chart' => 'Pie Chart',
837
+ 'fa-line-chart' => 'Line Chart',
838
+ 'fa-lastfm' => 'Lastfm',
839
+ 'fa-lastfm-square' => 'Lastfm Square',
840
+ 'fa-toggle-off' => 'Toggle Off',
841
+ 'fa-toggle-on' => 'Toggle On',
842
+ 'fa-bicycle' => 'Bicycle',
843
+ 'fa-bus' => 'Bus',
844
+ 'fa-ioxhost' => 'Ioxhost',
845
+ 'fa-angellist' => 'Angellist',
846
+ 'fa-cc' => 'Cc',
847
+ 'fa-ils' => 'Ils',
848
+ 'fa-meanpath' => 'Meanpath',
849
+ 'fa-buysellads' => 'Buysellads',
850
+ 'fa-connectdevelop' => 'Connectdevelop',
851
+ 'fa-dashcube' => 'Dashcube',
852
+ 'fa-forumbee' => 'Forumbee',
853
+ 'fa-leanpub' => 'Leanpub',
854
+ 'fa-sellsy' => 'Sellsy',
855
+ 'fa-shirtsinbulk' => 'Shirtsinbulk',
856
+ 'fa-simplybuilt' => 'Simplybuilt',
857
+ 'fa-skyatlas' => 'Skyatlas',
858
+ 'fa-cart-plus' => 'Cart Plus',
859
+ 'fa-cart-arrow-down' => 'Cart Arrow Down',
860
+ 'fa-diamond' => 'Diamond',
861
+ 'fa-ship' => 'Ship',
862
+ 'fa-user-secret' => 'User Secret',
863
+ 'fa-motorcycle' => 'Motorcycle',
864
+ 'fa-street-view' => 'Street View',
865
+ 'fa-heartbeat' => 'Heartbeat',
866
+ 'fa-venus' => 'Venus',
867
+ 'fa-mars' => 'Mars',
868
+ 'fa-mercury' => 'Mercury',
869
+ 'fa-transgender' => 'Transgender',
870
+ 'fa-transgender-alt' => 'Transgender Alt',
871
+ 'fa-venus-double' => 'Venus Double',
872
+ 'fa-mars-double' => 'Mars Double',
873
+ 'fa-venus-mars' => 'Venus Mars',
874
+ 'fa-mars-stroke' => 'Mars Stroke',
875
+ 'fa-mars-stroke-v' => 'Mars Stroke V',
876
+ 'fa-mars-stroke-h' => 'Mars Stroke H',
877
+ 'fa-neuter' => 'Neuter',
878
+ 'fa-facebook-official' => 'Facebook Official',
879
+ 'fa-pinterest-p' => 'Pinterest P',
880
+ 'fa-whatsapp' => 'Whatsapp',
881
+ 'fa-server' => 'Server',
882
+ 'fa-user-plus' => 'User Plus',
883
+ 'fa-user-times' => 'User Times',
884
+ 'fa-bed' => 'Bed',
885
+ 'fa-viacoin' => 'Viacoin',
886
+ 'fa-train' => 'Train',
887
+ 'fa-subway' => 'Subway',
888
+ 'fa-medium' => 'Medium'
889
+ );
890
+
891
+ ksort( $icons );
892
+
893
+ global $woocommerce;
894
+
895
+ $is_woocommerce_2_0 =version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.1', '<' );
896
+
897
+ $options['general_settings'] = array();
898
+
899
+ if( $is_woocommerce_2_0 ){
900
+ $settings_page = 'WooCommerce &gt; Settings &gt; Pages' ;
901
+ }
902
+ else{
903
+ $settings_page = 'in this settings page';
904
+ }
905
+
906
+ $general_settings_start = array(
907
+
908
+ 'section_general_settings_videobox' => array(
909
+ 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-wishlist' ),
910
+ 'type' => 'videobox',
911
+ 'default' => array(
912
+ 'plugin_name' => __( 'YITH WooCommerce Wishlist', 'yith-woocommerce-wishlist' ),
913
+ 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-wishlist' ),
914
+ 'description_first_column' => __( 'Upgrade to the PREMIUM VERSION
915
+ of YITH WOOCOMMERCE WISHLIST to benefit from all features!', 'yith-woocommerce-wishlist' ),
916
+ 'video' => array(
917
+ 'video_id' => '118797844',
918
+ 'video_image_url' => YITH_WCWL_URL . '/assets/images/video-thumb.jpg',
919
+ 'video_description' => '',
920
+ ),
921
+ 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-wishlist' ),
922
+ 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-wishlist' ),
923
+ 'button' => array(
924
+ 'href' => $this->get_premium_landing_uri(),
925
+ 'title' => 'Get Support and Pro Features'
926
+ )
927
+ ),
928
+ 'id' => 'yith_wcwl_general_videobox'
929
+ ),
930
+
931
+ 'general_section_start' => array(
932
+ 'name' => __( 'General Settings', 'yith-woocommerce-wishlist' ),
933
+ 'type' => 'title',
934
+ 'desc' => '',
935
+ 'id' => 'yith_wcwl_general_settings'
936
+ ),
937
+
938
+ 'wishlist_enable' => array(
939
+ 'name' => __( 'Enable YITH Wishlist', 'yith-woocommerce-wishlist' ),
940
+ 'desc' => sprintf( __( 'Enable all plugin features. <strong>Be sure to select at least one option in the Wishlist page menu in %s.</strong> Also, please read the plugin <a href="%s" target="_blank">documentation</a>.', 'yith-woocommerce-wishlist' ), $settings_page, esc_url( $this->doc_url ) ),
941
+ 'id' => 'yith_wcwl_enabled',
942
+ 'std' => 'yes', // for woocommerce < 2.0
943
+ 'default' => 'yes', // for woocommerce >= 2.0
944
+ 'type' => 'checkbox'
945
+ ),
946
+ 'default_wishlist_title' => array(
947
+ 'name' => __( 'Default wishlist title', 'yith-woocommerce-wishlist' ),
948
+ 'id' => 'yith_wcwl_wishlist_title',
949
+ 'std' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce < 2.0
950
+ 'default' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce >= 2.0
951
+ 'type' => 'text',
952
+ 'css' => 'min-width:300px;',
953
+ )
954
+ );
955
+
956
+ $general_settings_end = array(
957
+ 'add_to_wishlist_position' => array(
958
+ 'name' => __( 'Position', 'yith-woocommerce-wishlist' ),
959
+ 'desc' => __( 'You can add the button in variable products only after the "Add to Cart" button or using the shortcode [yith_wcwl_add_to_wishlist].', 'yith-woocommerce-wishlist' ),
960
+ 'id' => 'yith_wcwl_button_position',
961
+ 'type' => 'select',
962
+ 'class' => 'chosen_select',
963
+ 'css' => 'min-width:300px;',
964
+ 'options' => array(
965
+ 'add-to-cart' => __( 'After "Add to cart"', 'yith-woocommerce-wishlist' ),
966
+ 'thumbnails' => __( 'After thumbnails', 'yith-woocommerce-wishlist' ),
967
+ 'summary' => __( 'After summary', 'yith-woocommerce-wishlist' ),
968
+ 'shortcode' => __( 'Use shortcode', 'yith-woocommerce-wishlist' )
969
+ ),
970
+ 'desc_tip' => true
971
+ ),
972
+ 'redirect_to_cart' => array(
973
+ 'name' => __( 'Redirect to cart', 'yith-woocommerce-wishlist' ),
974
+ 'desc' => __( 'Redirect to cart page if "Add to cart" button is clicked in the wishlist page.', 'yith-woocommerce-wishlist' ),
975
+ 'id' => 'yith_wcwl_redirect_cart',
976
+ 'std' => 'no', // for woocommerce < 2.0
977
+ 'default' => 'no', // for woocommerce >= 2.0
978
+ 'type' => 'checkbox'
979
+ ),
980
+ 'remove_after_add_to_cart' => array(
981
+ 'name' => __( 'Remove if added to the cart', 'yith-woocommerce-wishlist' ),
982
+ 'desc' => __( 'Remove the product from the wishlist if it has been added to the cart.', 'yith-woocommerce-wishlist' ),
983
+ 'id' => 'yith_wcwl_remove_after_add_to_cart',
984
+ 'std' => 'yes', // for woocommerce < 2.0
985
+ 'default' => 'yes', // for woocommerce >= 2.0
986
+ 'type' => 'checkbox'
987
+ ),
988
+ 'add_to_wishlist_text' => array(
989
+ 'name' => __( '"Add to Wishlist" text', 'yith-woocommerce-wishlist' ),
990
+ 'id' => 'yith_wcwl_add_to_wishlist_text',
991
+ 'std' => __( 'Add to Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
992
+ 'default' => __( 'Add to Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
993
+ 'type' => 'text',
994
+ 'css' => 'min-width:300px;',
995
+ ),
996
+ 'browse_wishlist_text' => array(
997
+ 'name' => __( '"Browse wishlist" text', 'yith-woocommerce-wishlist' ),
998
+ 'id' => 'yith_wcwl_browse_wishlist_text',
999
+ 'std' => __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1000
+ 'default' => __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1001
+ 'type' => 'text',
1002
+ 'css' => 'min-width:300px;',
1003
+ ),
1004
+ 'already_in_wishlist_text' => array(
1005
+ 'name' => __( '"Product already in wishlist" text', 'yith-woocommerce-wishlist' ),
1006
+ 'id' => 'yith_wcwl_already_in_wishlist_text',
1007
+ 'std' => __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1008
+ 'default' => __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1009
+ 'type' => 'text',
1010
+ 'css' => 'min-width:300px;',
1011
+ ),
1012
+ 'product_added_text' => array(
1013
+ 'name' => __( '"Product added" text', 'yith-woocommerce-wishlist' ),
1014
+ 'id' => 'yith_wcwl_product_added_text',
1015
+ 'std' => __( 'Product added!', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1016
+ 'default' => __( 'Product added!', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1017
+ 'type' => 'text',
1018
+ 'css' => 'min-width:300px;',
1019
+ ),
1020
+ 'add_to_cart_text' => array(
1021
+ 'name' => __( '"Add to Cart" text', 'yith-woocommerce-wishlist' ),
1022
+ 'id' => 'yith_wcwl_add_to_cart_text',
1023
+ 'std' => __( 'Add to Cart', 'yith-woocommerce-wishlist' ), // for woocommerce < 2.0
1024
+ 'default' => __( 'Add to Cart', 'yith-woocommerce-wishlist' ), // for woocommerce >= 2.0
1025
+ 'type' => 'text',
1026
+ 'css' => 'min-width:300px;',
1027
+ ),
1028
+ 'show_unit_price' => array(
1029
+ 'name' => __( 'Show Unit price', 'yith-woocommerce-wishlist' ),
1030
+ 'desc' => __( 'Show unit price for each product in wishlist', 'yith-woocommerce-wishlist' ),
1031
+ 'id' => 'yith_wcwl_price_show',
1032
+ 'std' => 'yes', // for woocommerce < 2.0
1033
+ 'default' => 'yes', // for woocommerce >= 2.0
1034
+ 'type' => 'checkbox',
1035
+ 'css' => 'min-width:300px;',
1036
+ ),
1037
+ 'show_add_to_cart' => array(
1038
+ 'name' => __( 'Show "Add to Cart" button', 'yith-woocommerce-wishlist' ),
1039
+ 'desc' => __( 'Show "Add to Cart" button for each product in wishlist', 'yith-woocommerce-wishlist' ),
1040
+ 'id' => 'yith_wcwl_add_to_cart_show',
1041
+ 'std' => 'yes', // for woocommerce < 2.0
1042
+ 'default' => 'yes', // for woocommerce >= 2.0
1043
+ 'type' => 'checkbox',
1044
+ 'css' => 'min-width:300px;',
1045
+ ),
1046
+ 'show_stock_status' => array(
1047
+ 'name' => __( 'Show Stock status', 'yith-woocommerce-wishlist' ),
1048
+ 'desc' => __( 'Show "In stock" or "Out of stock" label for each product in wishlist', 'yith-woocommerce-wishlist' ),
1049
+ 'id' => 'yith_wcwl_stock_show',
1050
+ 'std' => 'yes', // for woocommerce < 2.0
1051
+ 'default' => 'yes', // for woocommerce >= 2.0
1052
+ 'type' => 'checkbox',
1053
+ 'css' => 'min-width:300px;',
1054
+ ),
1055
+ 'show_dateadded' => array(
1056
+ 'name' => __( 'Show Date of addition', 'yith-woocommerce-wishlist' ),
1057
+ 'desc' => __( 'Show the date when users have added a product to the wishlist', 'yith-woocommerce-wishlist' ),
1058
+ 'id' => 'yith_wcwl_show_dateadded',
1059
+ 'std' => 'no', // for woocommerce < 2.0
1060
+ 'default' => 'no', // for woocommerce >= 2.0
1061
+ 'type' => 'checkbox',
1062
+ 'css' => 'min-width:300px;',
1063
+ ),
1064
+ 'repeat_remove_button' => array(
1065
+ 'name' => __( 'Add second remove button', 'yith-woocommerce-wishlist' ),
1066
+ 'desc' => __( 'Add a second remove button in the last column, with extended label', 'yith-woocommerce-wishlist' ),
1067
+ 'id' => 'yith_wcwl_repeat_remove_button',
1068
+ 'std' => 'no', // for woocommerce < 2.0
1069
+ 'default' => 'no', // for woocommerce >= 2.0
1070
+ 'type' => 'checkbox',
1071
+ 'css' => 'min-width:300px;',
1072
+ ),
1073
+
1074
+ 'general_section_end' => array(
1075
+ 'type' => 'sectionend',
1076
+ 'id' => 'yith_wcwl_general_settings'
1077
+ )
1078
+ );
1079
+
1080
+ if( $is_woocommerce_2_0 ) {
1081
+ $options['general_settings'] = array_merge( $general_settings_start, $general_settings_end );
1082
+ }
1083
+ else{
1084
+ $options['general_settings'] = array_merge( $general_settings_start, array( $this->get_wcwl_page_option() ), $general_settings_end );
1085
+ }
1086
+
1087
+ $options['styles'] = array(
1088
+ 'styles_section_start' => array(
1089
+ 'name' => __( 'Styles', 'yith-woocommerce-wishlist' ),
1090
+ 'type' => 'title',
1091
+ 'desc' => '',
1092
+ 'id' => 'yith_wcwl_styles'
1093
+ ),
1094
+
1095
+ 'use_buttons' => array(
1096
+ 'name' => __( 'Use buttons', 'yith-woocommerce-wishlist' ),
1097
+ 'desc' => __( 'Use buttons instead of simple anchors.', 'yith-woocommerce-wishlist' ),
1098
+ 'id' => 'yith_wcwl_use_button',
1099
+ 'std' => 'no', // for woocommerce < 2.0
1100
+ 'default' => 'no', // for woocommerce >= 2.0
1101
+ 'type' => 'checkbox'
1102
+ ),
1103
+ 'custom_css' => array(
1104
+ 'name' => __( 'Custom CSS', 'yith-woocommerce-wishlist' ),
1105
+ 'id' => 'yith_wcwl_custom_css',
1106
+ 'css' => 'width:100%; height: 75px;',
1107
+ 'std' => '', // for woocommerce < 2.0
1108
+ 'default' => '', // for woocommerce >= 2.0
1109
+ 'type' => 'textarea'
1110
+ ),
1111
+ 'use_theme_style' => array(
1112
+ 'name' => __( 'Use theme style', 'yith-woocommerce-wishlist' ),
1113
+ 'desc' => __( 'Use the theme style.', 'yith-woocommerce-wishlist' ),
1114
+ 'id' => 'yith_wcwl_frontend_css',
1115
+ 'std' => 'yes', // for woocommerce < 2.0
1116
+ 'default' => 'yes', // for woocommerce >= 2.0
1117
+ 'type' => 'checkbox'
1118
+ ),
1119
+ 'rounded_buttons' => array(
1120
+ 'name' => __( 'Rounded buttons', 'yith-woocommerce-wishlist' ),
1121
+ 'desc' => __( 'Make button corners rounded', 'yith-woocommerce-wishlist' ),
1122
+ 'id' => 'yith_wcwl_rounded_corners',
1123
+ 'std' => 'yes', // for woocommerce < 2.0
1124
+ 'default' => 'yes', // for woocommerce >= 2.0
1125
+ 'type' => 'checkbox'
1126
+ ),
1127
+ 'add_to_wishlist_icon' => array(
1128
+ 'name' => __( '"Add to Wishlist" icon', 'yith-woocommerce-wishlist' ),
1129
+ 'desc' => __( 'Add an icon to the "Add to Wishlist" button', 'yith-woocommerce-wishlist' ),
1130
+ 'id' => 'yith_wcwl_add_to_wishlist_icon',
1131
+ 'css' => 'min-width:300px;width:300px;',
1132
+ 'std' => apply_filters( 'yith_wcwl_add_to_wishlist_std_icon', 'none' ), // for woocommerce < 2.0
1133
+ 'default' => apply_filters( 'yith_wcwl_add_to_wishlist_std_icon', 'none' ), // for woocommerce >= 2.0
1134
+ 'type' => 'select',
1135
+ 'class' => 'chosen_select',
1136
+ 'desc_tip' => true,
1137
+ 'options' => array( 'none' => 'None' ) + $icons
1138
+ ),
1139
+ 'add_to_cart_icon' => array(
1140
+ 'name' => __( '"Add to Cart" icon', 'yith-woocommerce-wishlist' ),
1141
+ 'desc' => __( 'Add an icon to the "Add to Cart" button', 'yith-woocommerce-wishlist' ),
1142
+ 'id' => 'yith_wcwl_add_to_cart_icon',
1143
+ 'css' => 'min-width:300px;width:300px;',
1144
+ 'std' => apply_filters( 'yith_wcwl_add_to_cart_std_icon', 'fa-shopping-cart' ), // for woocommerce < 2.0
1145
+ 'default' => apply_filters( 'yith_wcwl_add_to_cart_std_icon', 'fa-shopping-cart' ), // for woocommerce >= 2.0
1146
+ 'type' => 'select',
1147
+ 'class' => 'chosen_select',
1148
+ 'desc_tip' => true,
1149
+ 'options' => array( 'none' => 'None' ) + $icons
1150
+ ),
1151
+
1152
+ 'styles_section_end' => array(
1153
+ 'type' => 'sectionend',
1154
+ 'id' => 'yith_wcwl_styles'
1155
+ )
1156
+ );
1157
+
1158
+ $options['socials_share'] = array(
1159
+ 'socials_section_start' => array(
1160
+ 'name' => __( 'Social Networks & Share', 'yith-woocommerce-wishlist' ),
1161
+ 'type' => 'title',
1162
+ 'desc' => '',
1163
+ 'id' => 'yith_wcwl_socials_share'
1164
+ ),
1165
+
1166
+ 'share_on_facebook' => array(
1167
+ 'name' => __( 'Share on Facebook', 'yith-woocommerce-wishlist' ),
1168
+ 'desc' => __( 'Show "Share on Facebook" button', 'yith-woocommerce-wishlist' ),
1169
+ 'id' => 'yith_wcwl_share_fb',
1170
+ 'std' => 'yes', // for woocommerce < 2.0
1171
+ 'default' => 'yes', // for woocommerce >= 2.0
1172
+ 'type' => 'checkbox'
1173
+ ),
1174
+ 'share_on_twitter' => array(
1175
+ 'name' => __( 'Tweet on Twitter', 'yith-woocommerce-wishlist' ),
1176
+ 'desc' => __( 'Show "Tweet on Twitter" button', 'yith-woocommerce-wishlist' ),
1177
+ 'id' => 'yith_wcwl_share_twitter',
1178
+ 'std' => 'yes', // for woocommerce < 2.0
1179
+ 'default' => 'yes', // for woocommerce >= 2.0
1180
+ 'type' => 'checkbox'
1181
+ ),
1182
+ 'share_on_pinterest' => array(
1183
+ 'name' => __( 'Pin on Pinterest', 'yith-woocommerce-wishlist' ),
1184
+ 'desc' => __( 'Show "Pin on Pinterest" button', 'yith-woocommerce-wishlist' ),
1185
+ 'id' => 'yith_wcwl_share_pinterest',
1186
+ 'std' => 'yes', // for woocommerce < 2.0
1187
+ 'default' => 'yes', // for woocommerce >= 2.0
1188
+ 'type' => 'checkbox'
1189
+ ),
1190
+ 'share_on_googleplus' => array(
1191
+ 'name' => __( 'Share on Google+', 'yith-woocommerce-wishlist' ),
1192
+ 'desc' => __( 'Show "Share on Google+" button', 'yith-woocommerce-wishlist' ),
1193
+ 'id' => 'yith_wcwl_share_googleplus',
1194
+ 'std' => 'yes', // for woocommerce < 2.0
1195
+ 'default' => 'yes', // for woocommerce >= 2.0
1196
+ 'type' => 'checkbox'
1197
+ ),
1198
+ 'share_by_email' => array(
1199
+ 'name' => __( 'Share by Email', 'yith-woocommerce-wishlist' ),
1200
+ 'desc' => __( 'Show "Share by Email" button', 'yith-woocommerce-wishlist' ),
1201
+ 'id' => 'yith_wcwl_share_email',
1202
+ 'std' => 'yes', // for woocommerce < 2.0
1203
+ 'default' => 'yes', // for woocommerce >= 2.0
1204
+ 'type' => 'checkbox'
1205
+ ),
1206
+ 'socials_title' => array(
1207
+ 'name' => __( 'Social title', 'yith-woocommerce-wishlist' ),
1208
+ 'id' => 'yith_wcwl_socials_title',
1209
+ 'std' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce < 2.0
1210
+ 'default' => sprintf( __( 'My wishlist on %s', 'yith-woocommerce-wishlist' ), get_bloginfo( 'name' ) ), // for woocommerce >= 2.0
1211
+ 'type' => 'text',
1212
+ 'css' => 'min-width:300px;',
1213
+ ),
1214
+ 'socials_text' => array(
1215
+ 'name' => __( 'Social text', 'yith-woocommerce-wishlist' ),
1216
+ 'desc' => __( 'It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</strong> where you want to show the URL of your wishlist.', 'yith-woocommerce-wishlist' ),
1217
+ 'id' => 'yith_wcwl_socials_text',
1218
+ 'css' => 'width:100%; height: 75px;',
1219
+ 'std' => '', // for woocommerce < 2.0
1220
+ 'default' => '', // for woocommerce >= 2.0
1221
+ 'type' => 'textarea'
1222
+ ),
1223
+ 'socials_image' => array(
1224
+ 'name' => __( 'Social image URL', 'yith-woocommerce-wishlist' ),
1225
+ 'id' => 'yith_wcwl_socials_image_url',
1226
+ 'std' => '', // for woocommerce < 2.0
1227
+ 'default' => '', // for woocommerce >= 2.0
1228
+ 'type' => 'text',
1229
+ 'css' => 'min-width:300px;',
1230
+ ),
1231
+
1232
+ 'socials_section_end' => array(
1233
+ 'type' => 'sectionend',
1234
+ 'id' => 'yith_wcwl_styles'
1235
+ )
1236
+ );
1237
+
1238
+ $yith_wfbt_thickbox = YITH_WCWL_URL . 'assets/images/landing/yith-wfbt-slider.jpg';
1239
+ $yith_wfbt_promo = sprintf( __( 'If you want to take advantage of this feature, you could consider to purchase the %s.', 'yith-woocommerce-wishlist' ), '<a href="https://yithemes.com/themes/plugins/yith-woocommerce-frequently-bought-together/">YITH WooCommerce Frequently Bought Together Plugin</a>' );
1240
+
1241
+ $options['yith_wfbt_integration'] = array(
1242
+
1243
+ 'yith_wfbt_start' => array(
1244
+ 'name' => __( 'YITH WooCommerce Frequently Bought Together Integration', 'yith-woocommerce-wishlist' ),
1245
+ 'type' => 'title',
1246
+ 'desc' => '',
1247
+ 'id' => 'yith_wcwl_yith_wfbt'
1248
+ ),
1249
+
1250
+ 'yith_wfbt_enable_integration' => array(
1251
+ 'name' => __( 'Enable slider in wishlist', 'yith-woocommerce-wishlist' ),
1252
+ 'desc' => sprintf( __( 'Choose to enable product slider in wishlist page with linked products (<a href="%s" class="thickbox">Example</a>). %s', 'yith-woocommerce-wishlist' ), $yith_wfbt_thickbox, ( ! ( defined( 'YITH_WFBT' ) && YITH_WFBT ) ) ? $yith_wfbt_promo : '' ),
1253
+ 'id' => 'yith_wfbt_enable_integration',
1254
+ 'std' => 'yes', // for woocommerce < 2.0
1255
+ 'default' => 'yes', // for woocommerce >= 2.0
1256
+ 'type' => 'checkbox',
1257
+ 'custom_attributes' => ( ! ( defined( 'YITH_WFBT' ) && YITH_WFBT ) ) ? array( 'disabled' => 'disabled' ) : false
1258
+ ),
1259
+
1260
+ 'yith_wfbt_end' => array(
1261
+ 'type' => 'sectionend',
1262
+ 'id' => 'yith_wcwl_yith_wfbt'
1263
+ )
1264
+
1265
+ );
1266
+
1267
+ return apply_filters( 'yith_wcwl_admin_options', $options );
1268
+ }
1269
+
1270
+ /**
1271
+ * Add colors options to the panel.
1272
+ *
1273
+ * @return void
1274
+ * @access private
1275
+ * @since 1.0.0
1276
+ */
1277
+ private function _styles_options() {
1278
+ $colors = maybe_unserialize( get_option( 'yith_wcwl_frontend_css_colors' ) );
1279
+
1280
+ foreach ( YITH_WCWL_Init()->colors_options as $color => $attrs ) {
1281
+ if ( ! isset( $colors[$color] ) ) {
1282
+ $colors[$color] = $attrs;
1283
+ }
1284
+ }
1285
+
1286
+ ?>
1287
+ <div class="color-panel">
1288
+ <div class="clear"></div>
1289
+ <h4><?php _e( '"Add to wishlist" button', 'yith-woocommerce-wishlist' ) ?></h4>
1290
+ <?php
1291
+
1292
+ yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_background', $colors['add_to_wishlist']['background'] );
1293
+ yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_color', $colors['add_to_wishlist']['color'] );
1294
+ yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_border_color', $colors['add_to_wishlist']['border_color'] );
1295
+
1296
+ ?>
1297
+ <div class="clear" style="height:10px;"></div>
1298
+ <?php
1299
+
1300
+ // hover
1301
+ yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_hover_background', $colors['add_to_wishlist_hover']['background'] );
1302
+ yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_hover_color', $colors['add_to_wishlist_hover']['color'] );
1303
+ yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_wishlist_hover_border_color', $colors['add_to_wishlist_hover']['border_color'] );
1304
+
1305
+ ?>
1306
+ <div class="clear" style="height:30px;"></div>
1307
+ <h4><?php _e( '"Add to Cart" button', 'yith-woocommerce-wishlist' ) ?></h4>
1308
+ <?php
1309
+
1310
+ yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_background', $colors['add_to_cart']['background'] );
1311
+ yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_color', $colors['add_to_cart']['color'] );
1312
+ yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_border_color', $colors['add_to_cart']['border_color'] );
1313
+
1314
+ ?>
1315
+ <div class="clear" style="height:10px;"></div>
1316
+ <?php
1317
+
1318
+ // hover
1319
+ yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_hover_background', $colors['add_to_cart_hover']['background'] );
1320
+ yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_hover_color', $colors['add_to_cart_hover']['color'] );
1321
+ yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_add_to_cart_hover_border_color', $colors['add_to_cart_hover']['border_color'] );
1322
+
1323
+ ?>
1324
+ <div class="clear" style="height:30px;"></div>
1325
+ <h4><?php _e( '"Style 1" button', 'yith-woocommerce-wishlist' ) ?></h4>
1326
+ <?php
1327
+
1328
+ yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_background', $colors['button_style_1']['background'] );
1329
+ yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_color', $colors['button_style_1']['color'] );
1330
+ yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_border_color', $colors['button_style_1']['border_color'] );
1331
+
1332
+ ?>
1333
+ <div class="clear" style="height:10px;"></div>
1334
+ <?php
1335
+
1336
+ // hover
1337
+ yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_hover_background', $colors['button_style_1_hover']['background'] );
1338
+ yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_hover_color', $colors['button_style_1_hover']['color'] );
1339
+ yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_1_hover_border_color', $colors['button_style_1_hover']['border_color'] );
1340
+
1341
+ ?>
1342
+ <div class="clear" style="height:30px;"></div>
1343
+ <h4><?php _e( '"Style 2" button', 'yith-woocommerce-wishlist' ) ?></h4>
1344
+ <?php
1345
+
1346
+ yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_background', $colors['button_style_2']['background'] );
1347
+ yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_color', $colors['button_style_2']['color'] );
1348
+ yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_border_color', $colors['button_style_2']['border_color'] );
1349
+
1350
+ ?>
1351
+ <div class="clear" style="height:10px;"></div>
1352
+ <?php
1353
+
1354
+ // hover
1355
+ yith_frontend_css_color_picker( __( 'Background (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_hover_background', $colors['button_style_2_hover']['background'] );
1356
+ yith_frontend_css_color_picker( __( 'Text (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_hover_color', $colors['button_style_2_hover']['color'] );
1357
+ yith_frontend_css_color_picker( __( 'Border (hover)', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_button_style_2_hover_border_color', $colors['button_style_2_hover']['border_color'] );
1358
+
1359
+ ?>
1360
+ <div class="clear" style="height:30px;"></div>
1361
+ <h4><?php _e( 'Wishlist table', 'yith-woocommerce-wishlist' )?></h4>
1362
+ <?php
1363
+
1364
+ yith_frontend_css_color_picker( __( 'Background', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_wishlist_table_background', $colors['wishlist_table']['background'] );
1365
+ yith_frontend_css_color_picker( __( 'Text', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_wishlist_table_color', $colors['wishlist_table']['color'] );
1366
+ yith_frontend_css_color_picker( __( 'Border', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_wishlist_table_border_color', $colors['wishlist_table']['border_color'] );
1367
+
1368
+ ?>
1369
+ <div class="clear" style="height:30px;"></div>
1370
+ <h4><?php _e( 'Headers', 'yith-woocommerce-wishlist' ) ?></h4>
1371
+ <?php
1372
+
1373
+ yith_frontend_css_color_picker( __( 'Background color', 'yith-woocommerce-wishlist' ), 'yith_wcwl_color_headers_background', $colors['headers']['background'] );
1374
+
1375
+ do_action( 'yith_wcwl_admin_color_pickers' );
1376
+
1377
+ ?>
1378
+ <div class="clear"></div>
1379
+ </div>
1380
+ <div class="clear" style="height:30px;"></div>
1381
+ <?php
1382
+ }
1383
+
1384
+ /* === WISHLIST SUBPANEL SECTION === */
1385
+
1386
+ /**
1387
+ * Register wishlist panel
1388
+ *
1389
+ * @return void
1390
+ * @since 2.0.0
1391
+ */
1392
+ public function register_panel() {
1393
+
1394
+ $args = array(
1395
+ 'create_menu_page' => true,
1396
+ 'parent_slug' => '',
1397
+ 'page_title' => __( 'Wishlist', 'yith-woocommerce-wishlist' ),
1398
+ 'menu_title' => __( 'Wishlist', 'yith-woocommerce-wishlist' ),
1399
+ 'capability' => 'manage_options',
1400
+ 'parent' => '',
1401
+ 'parent_page' => 'yit_plugin_panel',
1402
+ 'page' => 'yith_wcwl_panel',
1403
+ 'admin-tabs' => $this->available_tabs,
1404
+ 'options-path' => YITH_WCWL_DIR . 'plugin-options'
1405
+ );
1406
+
1407
+ /* === Fixed: not updated theme === */
1408
+ if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
1409
+ require_once( YITH_WCWL_DIR . 'plugin-fw/lib/yit-plugin-panel-wc.php' );
1410
+ }
1411
+
1412
+ $this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
1413
+ }
1414
+
1415
+ /**
1416
+ * Load admin style.
1417
+ *
1418
+ * @return void
1419
+ * @since 1.0.0
1420
+ */
1421
+ public function enqueue() {
1422
+ global $woocommerce, $pagenow;
1423
+
1424
+ if( $pagenow == 'admin.php' && isset( $_GET['page'] ) && $_GET['page'] == 'yith_wcwl_panel' ) {
1425
+ wp_enqueue_style( 'yith-wcwl-admin' );
1426
+ wp_enqueue_script( 'yith-wcwl-admin' );
1427
+ }
1428
+ }
1429
+
1430
+ /**
1431
+ * Prints tab premium of the plugin
1432
+ *
1433
+ * @return void
1434
+ * @since 2.0.0
1435
+ */
1436
+ public function print_premium_tab() {
1437
+ $premium_tab = YITH_WCWL_DIR . 'templates/admin/wishlist-panel-premium.php';
1438
+
1439
+ if( file_exists( $premium_tab ) ){
1440
+ include( $premium_tab );
1441
+ }
1442
+ }
1443
+
1444
+ /* === POINTER SECTION === */
1445
+
1446
+ /**
1447
+ * Register pointers for notify plugin updates to user
1448
+ *
1449
+ * @return void
1450
+ * @since 2.0.0
1451
+ */
1452
+ public function register_pointer(){
1453
+
1454
+ if( ! class_exists( 'YIT_Pointers' ) ){
1455
+ include_once( 'plugin-fw/lib/yit-pointers.php' );
1456
+ }
1457
+
1458
+ $args[] = array(
1459
+ 'screen_id' => 'plugins',
1460
+ 'pointer_id' => 'yith_wcwl_panel',
1461
+ 'target' => '#toplevel_page_yit_plugin_panel',
1462
+ 'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
1463
+ __( 'Wishlist Activated', 'yith-woocommerce-wishlist' ),
1464
+ apply_filters( 'yith_wcwl_activated_pointer_content', sprintf( __( 'In the YIT Plugin tab you can find the Wishlist options. With this menu, you can access to all the settings of our plugins that you have activated. Wishlist is available in an outstanding PREMIUM version with many new options, <a href="%s">discover it now</a>.', 'yith-woocommerce-wishlist' ), $this->get_premium_landing_uri() ) )
1465
+ ),
1466
+ 'position' => array( 'edge' => 'left', 'align' => 'center' ),
1467
+ 'init' => YITH_WCWL_INIT
1468
+ );
1469
+
1470
+ $args[] = array(
1471
+ 'screen_id' => 'update',
1472
+ 'pointer_id' => 'yith_wcwl_panel',
1473
+ 'target' => '#toplevel_page_yit_plugin_panel',
1474
+ 'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
1475
+ __( 'Wishlist Updated', 'yith-woocommerce-wishlist' ),
1476
+ apply_filters( 'yith_wcwl_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of Wishlist under YIT Plugin -> Wishlist instead of WooCommerce -> Settings -> Wishlist, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. Wishlist has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yith-woocommerce-wishlist' ), $this->get_premium_landing_uri() ) )
1477
+ ),
1478
+ 'position' => array( 'edge' => 'left', 'align' => 'center' ),
1479
+ 'init' => YITH_WCWL_INIT
1480
+ );
1481
+
1482
+ YIT_Pointers()->register( $args );
1483
+ }
1484
+ }
1485
+ }
1486
+
1487
+ /**
1488
+ * Unique access to instance of YITH_WCWL_Admin_Init class
1489
+ *
1490
+ * @return \YITH_WCWL_Admin_Init
1491
+ * @since 2.0.0
1492
+ */
1493
+ function YITH_WCWL_Admin_Init(){
1494
+ return YITH_WCWL_Admin_Init::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1495
  }
includes/class.yith-wcwl-init.php CHANGED
@@ -1,480 +1,499 @@
1
- <?php
2
- /**
3
- * Init class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 2.0.9
8
- */
9
-
10
- if ( ! defined( 'YITH_WCWL' ) ) {
11
- exit;
12
- } // Exit if accessed directly
13
-
14
- if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
15
- /**
16
- * Initiator class. Install the plugin database and load all needed stuffs.
17
- *
18
- * @since 1.0.0
19
- */
20
- class YITH_WCWL_Init {
21
-
22
- /**
23
- * Single instance of the class
24
- *
25
- * @var \YITH_WCWL_Init
26
- * @since 2.0.0
27
- */
28
- protected static $instance;
29
-
30
- /**
31
- * CSS selectors used to style buttons.
32
- *
33
- * @var array
34
- * @since 1.0.0
35
- */
36
- public $rules;
37
-
38
- /**
39
- * Front end colors options.
40
- *
41
- * @var array
42
- * @since 1.0.0
43
- */
44
- public $colors_options;
45
-
46
- /**
47
- * Positions of the button "Add to Wishlist"
48
- *
49
- * @var array
50
- * @access private
51
- * @since 1.0.0
52
- */
53
- private $_positions;
54
-
55
- /**
56
- * Store class yith_WCWL_Install.
57
- *
58
- * @var object
59
- * @access private
60
- * @since 1.0.0
61
- */
62
- private $_yith_wcwl_install;
63
-
64
- /**
65
- * Returns single instance of the class
66
- *
67
- * @return \YITH_WCWL_Init
68
- * @since 2.0.0
69
- */
70
- public static function get_instance(){
71
- if( is_null( self::$instance ) ){
72
- self::$instance = new self();
73
- }
74
-
75
- return self::$instance;
76
- }
77
-
78
- /**
79
- * Constructor
80
- *
81
- * @since 1.0.0
82
- */
83
- public function __construct() {
84
- $this->_yith_wcwl_install = YITH_WCWL_Install();
85
- $this->_positions = apply_filters( 'yith_wcwl_positions', array(
86
- 'add-to-cart' => array( 'hook' => 'woocommerce_single_product_summary', 'priority' => 31 ),
87
- 'thumbnails' => array( 'hook' => 'woocommerce_product_thumbnails', 'priority' => 21 ),
88
- 'summary' => array( 'hook' => 'woocommerce_after_single_product_summary', 'priority' => 11 )
89
- ) );
90
- $this->rules = apply_filters( 'yith_wcwl_colors_rules', array(
91
- 'add_to_wishlist' => '.woocommerce a.add_to_wishlist.button.alt',
92
-
93
- 'add_to_wishlist_hover' => '.woocommerce a.add_to_wishlist.button.alt:hover',
94
-
95
- 'add_to_cart' => '.woocommerce .wishlist_table a.add_to_cart.button.alt',
96
-
97
- 'add_to_cart_hover' => '.woocommerce .wishlist_table a.add_to_cart.button.alt:hover',
98
-
99
- 'button_style_1' => '.woocommerce a.button.ask-an-estimate-button,
100
- .woocommerce .hidden-title-form button,
101
- .yith-wcwl-wishlist-new .create-wishlist-button,
102
- .wishlist_manage_table tfoot button.submit-wishlist-changes,
103
- .yith-wcwl-wishlist-search-form button.wishlist-search-button',
104
-
105
- 'button_style_1_hover' => '.woocommerce a.button.ask-an-estimate-button:hover,
106
- .woocommerce .hidden-title-form button:hover,
107
- .yith-wcwl-wishlist-new .create-wishlist-button:hover,
108
- .wishlist_manage_table tfoot button.submit-wishlist-changes:hover,
109
- .yith-wcwl-wishlist-search-form button.wishlist-search-button:hover',
110
-
111
- 'button_style_2' => '.woocommerce .wishlist-title a.show-title-form,
112
- .woocommerce .hidden-title-form a.hide-title-form,
113
- .wishlist_manage_table tfoot a.create-new-wishlist',
114
-
115
- 'button_style_2_hover' => '.woocommerce .wishlist-title a.show-title-form:hover,
116
- .woocommerce .hidden-title-form a.hide-title-form:hover,
117
- .wishlist_manage_table tfoot a.create-new-wishlist:hover',
118
-
119
- 'wishlist_table' => '.woocommerce table.shop_table.wishlist_table',
120
-
121
- 'headers' => '.wishlist_table thead,
122
- .wishlist_table tfoot,
123
- .yith-wcwl-wishlist-new,
124
- .yith-wcwl-wishlist-search-form,
125
- .widget_yith-wcwl-lists ul.dropdown li.current a,
126
- .widget_yith-wcwl-lists ul.dropdown li a:hover,
127
- .selectBox-dropdown-menu.selectBox-options li.selectBox-selected a,
128
- .selectBox-dropdown-menu.selectBox-options li.selectBox-hover a'
129
- ) );
130
-
131
- $db_colors = get_option( 'yith_wcwl_frontend_css_colors' );
132
-
133
- $this->colors_options = wp_parse_args(
134
- maybe_unserialize( $db_colors ),
135
- apply_filters(
136
- 'yith_wcwl_colors_options', array(
137
- 'add_to_wishlist' => array( 'background' => '#333333', 'color' => '#FFFFFF', 'border_color' => '#333333' ),
138
- 'add_to_wishlist_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
139
- 'add_to_cart' => array( 'background' => '#333333', 'color' => '#FFFFFF', 'border_color' => '#333333' ),
140
- 'add_to_cart_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
141
- 'button_style_1' => array( 'background' => '#333333', 'color' => '#FFFFFF', 'border_color' => '#333333' ),
142
- 'button_style_1_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
143
- 'button_style_2' => array( 'background' => '#FFFFFF', 'color' => '#858484', 'border_color' => '#c6c6c6' ),
144
- 'button_style_2_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
145
- 'wishlist_table' => array( 'background' => '#FFFFFF', 'color' => '#6d6c6c', 'border_color' => '#FFFFFF' ),
146
- 'headers' => array( 'background' => '#F4F4F4' )
147
- )
148
- )
149
- );
150
-
151
- if ( empty( $db_colors ) ) {
152
- update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $this->colors_options ) );
153
- }
154
-
155
- if ( get_option( 'yith_wcwl_enabled' ) == 'yes' ) {
156
- add_action( 'init', array( $this, 'init' ), 0 );
157
- add_action( 'wp_head', array( $this, 'detect_javascript' ), 0 );
158
- add_action( 'wp_head', array( $this, 'add_button' ) );
159
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_and_stuffs' ) );
160
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
161
- add_filter( 'body_class', array( $this, 'add_body_class' ) );
162
-
163
- // add YITH WooCommerce Frequently Bought Together Premium shortcode
164
- add_action( 'yith_wcwl_after_wishlist_form', array( $this, 'yith_wcfbt_shortcode' ), 10, 1 );
165
-
166
- // YITH WCWL Loaded
167
- do_action( 'yith_wcwl_loaded' );
168
- }
169
- }
170
-
171
- /**
172
- * Initiator method.
173
- *
174
- * @return void
175
- * @since 1.0.0
176
- */
177
- public function init() {
178
- // update cookie from old version to new one
179
- $this->_update_cookies();
180
- $this->_destroy_serialized_cookies();
181
-
182
- if ( is_user_logged_in() ) {
183
- YITH_WCWL()->details['user_id'] = get_current_user_id();
184
-
185
- //check whether any products are added to wishlist, then after login add to the wishlist if not added
186
- $cookie = yith_getcookie( 'yith_wcwl_products' );
187
- if( ! empty( $cookie ) && is_array( $cookie ) ) {
188
- foreach ( $cookie as $details ) {
189
- YITH_WCWL()->details['add_to_wishlist'] = $details['prod_id'];
190
- YITH_WCWL()->details['wishlist_id'] = $details['wishlist_id'];
191
- YITH_WCWL()->details['quantity'] = $details['quantity'];
192
- YITH_WCWL()->details['user_id'] = get_current_user_id();
193
-
194
- $ret_val = YITH_WCWL()->add();
195
- }
196
- }
197
-
198
- yith_destroycookie( 'yith_wcwl_products' );
199
- }
200
- }
201
-
202
- /**
203
- * Add the "Add to Wishlist" button. Needed to use in wp_head hook.
204
- *
205
- * @return void
206
- * @since 1.0.0
207
- */
208
- public function add_button() {
209
- global $post;
210
-
211
- $this->_positions = apply_filters( 'yith_wcwl_positions', $this->_positions );
212
-
213
- if ( ! isset( $post ) || ! is_object( $post ) ) {
214
- return;
215
- }
216
-
217
- // Add the link "Add to wishlist"
218
- $position = get_option( 'yith_wcwl_button_position' );
219
- $position = empty( $position ) ? 'add-to-cart' : $position;
220
-
221
- if ( $position != 'shortcode' ) {
222
- add_action( $this->_positions[$position]['hook'], create_function( '', 'echo do_shortcode( "[yith_wcwl_add_to_wishlist]" );' ), $this->_positions[$position]['priority'] );
223
- }
224
-
225
- // Free the memory. Like it needs a lot of memory... but this is rock!
226
- }
227
-
228
- /**
229
- * Add specific body class when the Wishlist page is opened
230
- *
231
- * @param array $classes
232
- *
233
- * @return array
234
- * @since 1.0.0
235
- */
236
- public function add_body_class( $classes ) {
237
- $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) );
238
-
239
- if ( is_page( $wishlist_page_id ) ) {
240
- $classes[] = 'woocommerce-wishlist';
241
- $classes[] = 'woocommerce';
242
- $classes[] = 'woocommerce-page';
243
- }
244
-
245
- return $classes;
246
- }
247
-
248
- /**
249
- * Enqueue styles, scripts and other stuffs needed in the <head>.
250
- *
251
- * @return void
252
- * @since 1.0.0
253
- */
254
- public function enqueue_styles_and_stuffs() {
255
- global $woocommerce;
256
-
257
- $assets_path = str_replace( array( 'http:', 'https:' ), '', $woocommerce->plugin_url() ) . '/assets/';
258
-
259
- if( function_exists( 'WC' ) ){
260
- $woocommerce_base = WC()->template_path();
261
- }
262
- else{
263
- $woocommerce_base = WC_TEMPLATE_PATH;
264
- }
265
-
266
- $located = locate_template( array(
267
- $woocommerce_base . 'wishlist.css',
268
- 'wishlist.css'
269
- ) );
270
-
271
- wp_register_style( 'woocommerce_prettyPhoto_css', $assets_path . 'css/prettyPhoto.css' );
272
- wp_register_style( 'jquery-selectBox', YITH_WCWL_URL . 'assets/css/jquery.selectBox.css' );
273
- wp_register_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css' );
274
- wp_register_style( 'yith-wcwl-user-main', str_replace( get_template_directory(), get_template_directory_uri(), $located ) );
275
- wp_register_style( 'yith-wcwl-font-awesome', YITH_WCWL_URL . 'assets/css/font-awesome.min.css' );
276
-
277
- wp_enqueue_style( 'woocommerce_prettyPhoto_css' );
278
- wp_enqueue_style( 'jquery-selectBox' );
279
-
280
- if ( ! $located ) {
281
- wp_enqueue_style( 'yith-wcwl-main' );
282
- }
283
- else {
284
- wp_enqueue_style( 'yith-wcwl-user-main' );
285
- }
286
-
287
- wp_enqueue_style( 'yith-wcwl-font-awesome' );
288
-
289
- // Add frontend CSS for buttons
290
- $colors_styles = array();
291
- $frontend_css = '';
292
- if ( get_option( 'yith_wcwl_frontend_css' ) == 'no' ) {
293
- foreach ( $this->colors_options as $name => $option ) {
294
- $colors_styles[$name] = '';
295
-
296
- foreach ( $option as $id => $value ) {
297
- $colors_styles[$name] .= str_replace( '_', '-', $id ) . ':' . $value . ';';
298
- }
299
- }
300
-
301
- foreach ( $this->rules as $id => $rule ) {
302
- $frontend_css .= $rule . '{' . $colors_styles[$id] . '}';
303
- }
304
- }
305
-
306
- ?>
307
- <style>
308
- <?php
309
- echo get_option( 'yith_wcwl_custom_css' ) . $frontend_css;
310
-
311
- if( get_option( 'yith_wcwl_rounded_corners' ) == 'yes' ) {
312
- echo '.wishlist_table .add_to_cart, a.add_to_wishlist.button.alt { border-radius: 16px; -moz-border-radius: 16px; -webkit-border-radius: 16px; }';
313
- }
314
- ?>
315
- </style>
316
- <script type="text/javascript">
317
- var yith_wcwl_plugin_ajax_web_url = '<?php echo admin_url('admin-ajax.php') ?>';
318
- </script>
319
- <?php
320
- }
321
-
322
- /**
323
- * Enqueue plugin scripts.
324
- *
325
- * @return void
326
- * @since 1.0.0
327
- */
328
- public function enqueue_scripts() {
329
- global $woocommerce;
330
-
331
- if( function_exists( 'WC' ) ){
332
- $woocommerce_base = WC()->template_path();
333
- }
334
- else{
335
- $woocommerce_base = WC_TEMPLATE_PATH;
336
- }
337
-
338
- $located = locate_template( array(
339
- $woocommerce_base . 'wishlist.js',
340
- 'wishlist.js'
341
- ) );
342
-
343
- $assets_path = str_replace( array( 'http:', 'https:' ), '', $woocommerce->plugin_url() ) . '/assets/';
344
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
345
-
346
- wp_enqueue_script( 'prettyPhoto', $assets_path . 'js/prettyPhoto/jquery.prettyPhoto' . $suffix . '.js', array( 'jquery' ), '3.1.5', true );
347
- wp_enqueue_script( 'prettyPhoto-init', $assets_path . 'js/prettyPhoto/jquery.prettyPhoto.init' . $suffix . '.js', array( 'jquery','prettyPhoto' ), defined( 'WC_VERSION' ) ? WC_VERSION : WOOCOMMERCE_VERSION, true );
348
- wp_enqueue_script( 'jquery-selectBox', YITH_WCWL_URL . 'assets/js/jquery.selectBox.min.js', array( 'jquery' ), false, true );
349
- wp_register_script( 'jquery-yith-wcwl', YITH_WCWL_URL . 'assets/js/jquery.yith-wcwl.js', array( 'jquery', 'jquery-selectBox' ), '2.0', true );
350
- wp_register_script( 'jquery-yith-wcwl-user', str_replace( get_template_directory(), get_template_directory_uri(), $located ), array( 'jquery', 'jquery-selectBox' ), '2.0', true );
351
-
352
- $yith_wcwl_l10n = array(
353
- 'ajax_url' => admin_url( 'admin-ajax.php', is_ssl() ? 'https' : 'http' ),
354
- 'redirect_to_cart' => get_option( 'yith_wcwl_redirect_cart' ),
355
- 'multi_wishlist' => get_option( 'yith_wcwl_multi_wishlist_enable' ) == 'yes' ? true : false,
356
- 'hide_add_button' => apply_filters( 'yith_wcwl_hide_add_button', true ),
357
- 'is_user_logged_in' => is_user_logged_in(),
358
- 'ajax_loader_url' => YITH_WCWL_URL . 'assets/images/ajax-loader.gif',
359
- 'remove_from_wishlist_after_add_to_cart' => get_option( 'yith_wcwl_remove_after_add_to_cart' ),
360
- 'labels' => array(
361
- 'cookie_disabled' => __( 'We are sorry, but this feature is available only if cookies are enabled on your browser.', 'yith-woocommerce-wishlist' ),
362
- 'added_to_cart_message' => sprintf( '<div class="woocommerce-message">%s</div>', __( 'Product correctly added to cart', 'yith-woocommerce-wishlist' ) )
363
- ),
364
- 'actions' => array(
365
- 'add_to_wishlist_action' => 'add_to_wishlist',
366
- 'remove_from_wishlist_action' => 'remove_from_wishlist',
367
- 'move_to_another_wishlist_action' => 'move_to_another_wishlsit',
368
- 'reload_wishlist_and_adding_elem_action' => 'reload_wishlist_and_adding_elem'
369
- )
370
- );
371
-
372
- if ( ! $located ) {
373
- wp_enqueue_script( 'jquery-yith-wcwl' );
374
- wp_localize_script( 'jquery-yith-wcwl', 'yith_wcwl_l10n', $yith_wcwl_l10n );
375
- }
376
- else {
377
- wp_enqueue_script( 'jquery-yith-wcwl-user' );
378
- wp_localize_script( 'jquery-yith-wcwl-user', 'yith_wcwl_l10n', $yith_wcwl_l10n );
379
- }
380
- }
381
-
382
- /**
383
- * Remove the class no-js when javascript is activated
384
- *
385
- * We add the action at the start of head, to do this operation immediatly, without gap of all libraries loading
386
- *
387
- * @return void
388
- * @since 1.0.0
389
- */
390
- public function detect_javascript() {
391
- if( ! defined( 'YIT' ) ):
392
- ?>
393
- <script type="text/javascript">document.documentElement.className = document.documentElement.className + ' yes-js js_active js'</script>
394
- <?php
395
- endif;
396
- }
397
-
398
- /**
399
- * Destroy serialize cookies, to prevent major vulnerability
400
- *
401
- * @return void
402
- * @since 2.0.7
403
- */
404
- private function _destroy_serialized_cookies(){
405
- $name = 'yith_wcwl_products';
406
-
407
- if ( isset( $_COOKIE[$name] ) && is_serialized( stripslashes( $_COOKIE[ $name ] ) ) ) {
408
- $_COOKIE[ $name ] = json_encode( array() );
409
- yith_destroycookie( $name );
410
- }
411
- }
412
-
413
- /**
414
- * Update old wishlist cookies
415
- *
416
- * @return void
417
- * @since 2.0.0
418
- */
419
- private function _update_cookies(){
420
- $cookie = yith_getcookie( 'yith_wcwl_products' );
421
- $new_cookie = array();
422
-
423
- if( ! empty( $cookie ) ) {
424
- foreach ( $cookie as $item ) {
425
- if ( ! isset( $item['add-to-wishlist'] ) ) {
426
- return;
427
- }
428
-
429
- $new_cookie[] = array(
430
- 'prod_id' => $item['add-to-wishlist'],
431
- 'quantity' => isset( $item['quantity'] ) ? $item['quantity'] : 1,
432
- 'wishlist_id' => false
433
- );
434
- }
435
-
436
- yith_setcookie( 'yith_wcwl_products', $new_cookie );
437
- }
438
- }
439
-
440
- /**
441
- * Add Frequently Bought Together shortcode to wishlist page
442
- *
443
- * @param mixed $meta
444
- * @author Francesco Licandro
445
- */
446
- public function yith_wcfbt_shortcode( $meta ){
447
-
448
- if( ! ( defined( 'YITH_WFBT' ) && YITH_WFBT ) || get_option( 'yith_wfbt_enable_integration' ) == 'no' ) {
449
- return;
450
- }
451
-
452
- $products = YITH_WCWL()->get_products(
453
- array(
454
- 'wishlist_id' => is_user_logged_in() ? $meta['ID'] : ''
455
- ));
456
-
457
- $ids = array();
458
- // take id of products in wishlist
459
- foreach( $products as $product ) {
460
- $ids[] = $product['prod_id'];
461
- }
462
-
463
- if( empty( $ids ) ) {
464
- return;
465
- }
466
-
467
- do_shortcode( '[yith_wfbt products="' . implode( ',', $ids ) . '"]' );
468
- }
469
- }
470
- }
471
-
472
- /**
473
- * Unique access to instance of YITH_WCWL_Init class
474
- *
475
- * @return \YITH_WCWL_Init
476
- * @since 2.0.0
477
- */
478
- function YITH_WCWL_Init(){
479
- return YITH_WCWL_Init::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
  }
1
+ <?php
2
+ /**
3
+ * Init class
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.9
8
+ */
9
+
10
+ if ( ! defined( 'YITH_WCWL' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
15
+ /**
16
+ * Initiator class. Install the plugin database and load all needed stuffs.
17
+ *
18
+ * @since 1.0.0
19
+ */
20
+ class YITH_WCWL_Init {
21
+
22
+ /**
23
+ * Single instance of the class
24
+ *
25
+ * @var \YITH_WCWL_Init
26
+ * @since 2.0.0
27
+ */
28
+ protected static $instance;
29
+
30
+ /**
31
+ * CSS selectors used to style buttons.
32
+ *
33
+ * @var array
34
+ * @since 1.0.0
35
+ */
36
+ public $rules;
37
+
38
+ /**
39
+ * Front end colors options.
40
+ *
41
+ * @var array
42
+ * @since 1.0.0
43
+ */
44
+ public $colors_options;
45
+
46
+ /**
47
+ * Plugin version
48
+ *
49
+ * @var string
50
+ * @since 1.0.0
51
+ */
52
+ public $version = '2.0.13';
53
+
54
+ /**
55
+ * Plugin database version
56
+ *
57
+ * @var string
58
+ * @since 1.0.0
59
+ */
60
+ public $db_version = '2.0.0';
61
+
62
+ /**
63
+ * Positions of the button "Add to Wishlist"
64
+ *
65
+ * @var array
66
+ * @access private
67
+ * @since 1.0.0
68
+ */
69
+ private $_positions;
70
+
71
+ /**
72
+ * Store class yith_WCWL_Install.
73
+ *
74
+ * @var object
75
+ * @access private
76
+ * @since 1.0.0
77
+ */
78
+ private $_yith_wcwl_install;
79
+
80
+ /**
81
+ * Returns single instance of the class
82
+ *
83
+ * @return \YITH_WCWL_Init
84
+ * @since 2.0.0
85
+ */
86
+ public static function get_instance(){
87
+ if( is_null( self::$instance ) ){
88
+ self::$instance = new self();
89
+ }
90
+
91
+ return self::$instance;
92
+ }
93
+
94
+ /**
95
+ * Constructor
96
+ *
97
+ * @since 1.0.0
98
+ */
99
+ public function __construct() {
100
+ define( 'YITH_WCWL_VERSION', $this->version );
101
+ define( 'YITH_WCWL_DB_VERSION', $this->db_version );
102
+
103
+ $this->_yith_wcwl_install = YITH_WCWL_Install();
104
+ $this->_positions = apply_filters( 'yith_wcwl_positions', array(
105
+ 'add-to-cart' => array( 'hook' => 'woocommerce_single_product_summary', 'priority' => 31 ),
106
+ 'thumbnails' => array( 'hook' => 'woocommerce_product_thumbnails', 'priority' => 21 ),
107
+ 'summary' => array( 'hook' => 'woocommerce_after_single_product_summary', 'priority' => 11 )
108
+ ) );
109
+ $this->rules = apply_filters( 'yith_wcwl_colors_rules', array(
110
+ 'add_to_wishlist' => '.woocommerce a.add_to_wishlist.button.alt',
111
+
112
+ 'add_to_wishlist_hover' => '.woocommerce a.add_to_wishlist.button.alt:hover',
113
+
114
+ 'add_to_cart' => '.woocommerce .wishlist_table a.add_to_cart.button.alt',
115
+
116
+ 'add_to_cart_hover' => '.woocommerce .wishlist_table a.add_to_cart.button.alt:hover',
117
+
118
+ 'button_style_1' => '.woocommerce a.button.ask-an-estimate-button,
119
+ .woocommerce .hidden-title-form button,
120
+ .yith-wcwl-wishlist-new .create-wishlist-button,
121
+ .wishlist_manage_table tfoot button.submit-wishlist-changes,
122
+ .yith-wcwl-wishlist-search-form button.wishlist-search-button',
123
+
124
+ 'button_style_1_hover' => '.woocommerce a.button.ask-an-estimate-button:hover,
125
+ .woocommerce .hidden-title-form button:hover,
126
+ .yith-wcwl-wishlist-new .create-wishlist-button:hover,
127
+ .wishlist_manage_table tfoot button.submit-wishlist-changes:hover,
128
+ .yith-wcwl-wishlist-search-form button.wishlist-search-button:hover',
129
+
130
+ 'button_style_2' => '.woocommerce .wishlist-title a.show-title-form,
131
+ .woocommerce .hidden-title-form a.hide-title-form,
132
+ .wishlist_manage_table tfoot a.create-new-wishlist',
133
+
134
+ 'button_style_2_hover' => '.woocommerce .wishlist-title a.show-title-form:hover,
135
+ .woocommerce .hidden-title-form a.hide-title-form:hover,
136
+ .wishlist_manage_table tfoot a.create-new-wishlist:hover',
137
+
138
+ 'wishlist_table' => '.woocommerce table.shop_table.wishlist_table',
139
+
140
+ 'headers' => '.wishlist_table thead,
141
+ .wishlist_table tfoot,
142
+ .yith-wcwl-wishlist-new,
143
+ .yith-wcwl-wishlist-search-form,
144
+ .widget_yith-wcwl-lists ul.dropdown li.current a,
145
+ .widget_yith-wcwl-lists ul.dropdown li a:hover,
146
+ .selectBox-dropdown-menu.selectBox-options li.selectBox-selected a,
147
+ .selectBox-dropdown-menu.selectBox-options li.selectBox-hover a'
148
+ ) );
149
+
150
+ $db_colors = get_option( 'yith_wcwl_frontend_css_colors' );
151
+
152
+ $this->colors_options = wp_parse_args(
153
+ maybe_unserialize( $db_colors ),
154
+ apply_filters(
155
+ 'yith_wcwl_colors_options', array(
156
+ 'add_to_wishlist' => array( 'background' => '#333333', 'color' => '#FFFFFF', 'border_color' => '#333333' ),
157
+ 'add_to_wishlist_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
158
+ 'add_to_cart' => array( 'background' => '#333333', 'color' => '#FFFFFF', 'border_color' => '#333333' ),
159
+ 'add_to_cart_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
160
+ 'button_style_1' => array( 'background' => '#333333', 'color' => '#FFFFFF', 'border_color' => '#333333' ),
161
+ 'button_style_1_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
162
+ 'button_style_2' => array( 'background' => '#FFFFFF', 'color' => '#858484', 'border_color' => '#c6c6c6' ),
163
+ 'button_style_2_hover' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
164
+ 'wishlist_table' => array( 'background' => '#FFFFFF', 'color' => '#6d6c6c', 'border_color' => '#FFFFFF' ),
165
+ 'headers' => array( 'background' => '#F4F4F4' )
166
+ )
167
+ )
168
+ );
169
+
170
+ if ( empty( $db_colors ) ) {
171
+ update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $this->colors_options ) );
172
+ }
173
+
174
+ if ( get_option( 'yith_wcwl_enabled' ) == 'yes' ) {
175
+ add_action( 'init', array( $this, 'init' ), 0 );
176
+ add_action( 'wp_head', array( $this, 'detect_javascript' ), 0 );
177
+ add_action( 'wp_head', array( $this, 'add_button' ) );
178
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_and_stuffs' ) );
179
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
180
+ add_filter( 'body_class', array( $this, 'add_body_class' ) );
181
+
182
+ // add YITH WooCommerce Frequently Bought Together Premium shortcode
183
+ add_action( 'yith_wcwl_after_wishlist_form', array( $this, 'yith_wcfbt_shortcode' ), 10, 1 );
184
+
185
+ // YITH WCWL Loaded
186
+ do_action( 'yith_wcwl_loaded' );
187
+ }
188
+ }
189
+
190
+ /**
191
+ * Initiator method.
192
+ *
193
+ * @return void
194
+ * @since 1.0.0
195
+ */
196
+ public function init() {
197
+ // update cookie from old version to new one
198
+ $this->_update_cookies();
199
+ $this->_destroy_serialized_cookies();
200
+
201
+ if ( is_user_logged_in() ) {
202
+ YITH_WCWL()->details['user_id'] = get_current_user_id();
203
+
204
+ //check whether any products are added to wishlist, then after login add to the wishlist if not added
205
+ $cookie = yith_getcookie( 'yith_wcwl_products' );
206
+ if( ! empty( $cookie ) && is_array( $cookie ) ) {
207
+ foreach ( $cookie as $details ) {
208
+ YITH_WCWL()->details['add_to_wishlist'] = $details['prod_id'];
209
+ YITH_WCWL()->details['wishlist_id'] = $details['wishlist_id'];
210
+ YITH_WCWL()->details['quantity'] = $details['quantity'];
211
+ YITH_WCWL()->details['user_id'] = get_current_user_id();
212
+
213
+ $ret_val = YITH_WCWL()->add();
214
+ }
215
+ }
216
+
217
+ yith_destroycookie( 'yith_wcwl_products' );
218
+ }
219
+ }
220
+
221
+ /**
222
+ * Add the "Add to Wishlist" button. Needed to use in wp_head hook.
223
+ *
224
+ * @return void
225
+ * @since 1.0.0
226
+ */
227
+ public function add_button() {
228
+ global $post;
229
+
230
+ $this->_positions = apply_filters( 'yith_wcwl_positions', $this->_positions );
231
+
232
+ if ( ! isset( $post ) || ! is_object( $post ) ) {
233
+ return;
234
+ }
235
+
236
+ // Add the link "Add to wishlist"
237
+ $position = get_option( 'yith_wcwl_button_position' );
238
+ $position = empty( $position ) ? 'add-to-cart' : $position;
239
+
240
+ if ( $position != 'shortcode' ) {
241
+ add_action( $this->_positions[$position]['hook'], create_function( '', 'echo do_shortcode( "[yith_wcwl_add_to_wishlist]" );' ), $this->_positions[$position]['priority'] );
242
+ }
243
+
244
+ // Free the memory. Like it needs a lot of memory... but this is rock!
245
+ }
246
+
247
+ /**
248
+ * Add specific body class when the Wishlist page is opened
249
+ *
250
+ * @param array $classes
251
+ *
252
+ * @return array
253
+ * @since 1.0.0
254
+ */
255
+ public function add_body_class( $classes ) {
256
+ $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) );
257
+
258
+ if ( is_page( $wishlist_page_id ) ) {
259
+ $classes[] = 'woocommerce-wishlist';
260
+ $classes[] = 'woocommerce';
261
+ $classes[] = 'woocommerce-page';
262
+ }
263
+
264
+ return $classes;
265
+ }
266
+
267
+ /**
268
+ * Enqueue styles, scripts and other stuffs needed in the <head>.
269
+ *
270
+ * @return void
271
+ * @since 1.0.0
272
+ */
273
+ public function enqueue_styles_and_stuffs() {
274
+ global $woocommerce;
275
+
276
+ $assets_path = str_replace( array( 'http:', 'https:' ), '', $woocommerce->plugin_url() ) . '/assets/';
277
+
278
+ if( function_exists( 'WC' ) ){
279
+ $woocommerce_base = WC()->template_path();
280
+ }
281
+ else{
282
+ $woocommerce_base = WC_TEMPLATE_PATH;
283
+ }
284
+
285
+ $located = locate_template( array(
286
+ $woocommerce_base . 'wishlist.css',
287
+ 'wishlist.css'
288
+ ) );
289
+
290
+ wp_register_style( 'woocommerce_prettyPhoto_css', $assets_path . 'css/prettyPhoto.css', array(), '3.1.6' );
291
+ wp_register_style( 'jquery-selectBox', YITH_WCWL_URL . 'assets/css/jquery.selectBox.css', array(), '1.2.0' );
292
+ wp_register_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css', array(), $this->version );
293
+ wp_register_style( 'yith-wcwl-user-main', str_replace( get_template_directory(), get_template_directory_uri(), $located ), array(), $this->version );
294
+ wp_register_style( 'yith-wcwl-font-awesome', YITH_WCWL_URL . 'assets/css/font-awesome.min.css', array(), '4.3.0' );
295
+
296
+ wp_enqueue_style( 'woocommerce_prettyPhoto_css' );
297
+ wp_enqueue_style( 'jquery-selectBox' );
298
+
299
+ if ( ! $located ) {
300
+ wp_enqueue_style( 'yith-wcwl-main' );
301
+ }
302
+ else {
303
+ wp_enqueue_style( 'yith-wcwl-user-main' );
304
+ }
305
+
306
+ wp_enqueue_style( 'yith-wcwl-font-awesome' );
307
+
308
+ // Add frontend CSS for buttons
309
+ $colors_styles = array();
310
+ $frontend_css = '';
311
+ if ( get_option( 'yith_wcwl_frontend_css' ) == 'no' ) {
312
+ foreach ( $this->colors_options as $name => $option ) {
313
+ $colors_styles[$name] = '';
314
+
315
+ foreach ( $option as $id => $value ) {
316
+ $colors_styles[$name] .= str_replace( '_', '-', $id ) . ':' . $value . ';';
317
+ }
318
+ }
319
+
320
+ foreach ( $this->rules as $id => $rule ) {
321
+ $frontend_css .= $rule . '{' . $colors_styles[$id] . '}';
322
+ }
323
+ }
324
+
325
+ ?>
326
+ <style>
327
+ <?php
328
+ echo get_option( 'yith_wcwl_custom_css' ) . $frontend_css;
329
+
330
+ if( get_option( 'yith_wcwl_rounded_corners' ) == 'yes' ) {
331
+ echo '.wishlist_table .add_to_cart, a.add_to_wishlist.button.alt { border-radius: 16px; -moz-border-radius: 16px; -webkit-border-radius: 16px; }';
332
+ }
333
+ ?>
334
+ </style>
335
+ <script type="text/javascript">
336
+ var yith_wcwl_plugin_ajax_web_url = '<?php echo admin_url('admin-ajax.php') ?>';
337
+ </script>
338
+ <?php
339
+ }
340
+
341
+ /**
342
+ * Enqueue plugin scripts.
343
+ *
344
+ * @return void
345
+ * @since 1.0.0
346
+ */
347
+ public function enqueue_scripts() {
348
+ global $woocommerce;
349
+
350
+ if( function_exists( 'WC' ) ){
351
+ $woocommerce_base = WC()->template_path();
352
+ }
353
+ else{
354
+ $woocommerce_base = WC_TEMPLATE_PATH;
355
+ }
356
+
357
+ $located = locate_template( array(
358
+ $woocommerce_base . 'wishlist.js',
359
+ 'wishlist.js'
360
+ ) );
361
+
362
+ $assets_path = str_replace( array( 'http:', 'https:' ), '', $woocommerce->plugin_url() ) . '/assets/';
363
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
364
+
365
+ wp_enqueue_script( 'prettyPhoto', $assets_path . 'js/prettyPhoto/jquery.prettyPhoto' . $suffix . '.js', array( 'jquery' ), '3.1.5', true );
366
+ wp_enqueue_script( 'prettyPhoto-init', $assets_path . 'js/prettyPhoto/jquery.prettyPhoto.init' . $suffix . '.js', array( 'jquery','prettyPhoto' ), defined( 'WC_VERSION' ) ? WC_VERSION : WOOCOMMERCE_VERSION, true );
367
+ wp_enqueue_script( 'jquery-selectBox', YITH_WCWL_URL . 'assets/js/jquery.selectBox.min.js', array( 'jquery' ), '1.2.0', true );
368
+ wp_register_script( 'jquery-yith-wcwl', YITH_WCWL_URL . 'assets/js/jquery.yith-wcwl.js', array( 'jquery', 'jquery-selectBox' ), $this->version, true );
369
+ wp_register_script( 'jquery-yith-wcwl-user', str_replace( get_template_directory(), get_template_directory_uri(), $located ), array( 'jquery', 'jquery-selectBox' ), $this->version, true );
370
+
371
+ $yith_wcwl_l10n = array(
372
+ 'ajax_url' => admin_url( 'admin-ajax.php', is_ssl() ? 'https' : 'http' ),
373
+ 'redirect_to_cart' => get_option( 'yith_wcwl_redirect_cart' ),
374
+ 'multi_wishlist' => get_option( 'yith_wcwl_multi_wishlist_enable' ) == 'yes' ? true : false,
375
+ 'hide_add_button' => apply_filters( 'yith_wcwl_hide_add_button', true ),
376
+ 'is_user_logged_in' => is_user_logged_in(),
377
+ 'ajax_loader_url' => YITH_WCWL_URL . 'assets/images/ajax-loader.gif',
378
+ 'remove_from_wishlist_after_add_to_cart' => get_option( 'yith_wcwl_remove_after_add_to_cart' ),
379
+ 'labels' => array(
380
+ 'cookie_disabled' => __( 'We are sorry, but this feature is available only if cookies are enabled on your browser.', 'yith-woocommerce-wishlist' ),
381
+ 'added_to_cart_message' => sprintf( '<div class="woocommerce-message">%s</div>', apply_filters( 'yith_wcwl_added_to_cart_message', __( 'Product correctly added to cart', 'yith-woocommerce-wishlist' ) ) )
382
+ ),
383
+ 'actions' => array(
384
+ 'add_to_wishlist_action' => 'add_to_wishlist',
385
+ 'remove_from_wishlist_action' => 'remove_from_wishlist',
386
+ 'move_to_another_wishlist_action' => 'move_to_another_wishlsit',
387
+ 'reload_wishlist_and_adding_elem_action' => 'reload_wishlist_and_adding_elem'
388
+ )
389
+ );
390
+
391
+ if ( ! $located ) {
392
+ wp_enqueue_script( 'jquery-yith-wcwl' );
393
+ wp_localize_script( 'jquery-yith-wcwl', 'yith_wcwl_l10n', $yith_wcwl_l10n );
394
+ }
395
+ else {
396
+ wp_enqueue_script( 'jquery-yith-wcwl-user' );
397
+ wp_localize_script( 'jquery-yith-wcwl-user', 'yith_wcwl_l10n', $yith_wcwl_l10n );
398
+ }
399
+ }
400
+
401
+ /**
402
+ * Remove the class no-js when javascript is activated
403
+ *
404
+ * We add the action at the start of head, to do this operation immediatly, without gap of all libraries loading
405
+ *
406
+ * @return void
407
+ * @since 1.0.0
408
+ */
409
+ public function detect_javascript() {
410
+ if( ! defined( 'YIT' ) ):
411
+ ?>
412
+ <script type="text/javascript">document.documentElement.className = document.documentElement.className + ' yes-js js_active js'</script>
413
+ <?php
414
+ endif;
415
+ }
416
+
417
+ /**
418
+ * Destroy serialize cookies, to prevent major vulnerability
419
+ *
420
+ * @return void
421
+ * @since 2.0.7
422
+ */
423
+ private function _destroy_serialized_cookies(){
424
+ $name = 'yith_wcwl_products';
425
+
426
+ if ( isset( $_COOKIE[$name] ) && is_serialized( stripslashes( $_COOKIE[ $name ] ) ) ) {
427
+ $_COOKIE[ $name ] = json_encode( array() );
428
+ yith_destroycookie( $name );
429
+ }
430
+ }
431
+
432
+ /**
433
+ * Update old wishlist cookies
434
+ *
435
+ * @return void
436
+ * @since 2.0.0
437
+ */
438
+ private function _update_cookies(){
439
+ $cookie = yith_getcookie( 'yith_wcwl_products' );
440
+ $new_cookie = array();
441
+
442
+ if( ! empty( $cookie ) ) {
443
+ foreach ( $cookie as $item ) {
444
+ if ( ! isset( $item['add-to-wishlist'] ) ) {
445
+ return;
446
+ }
447
+
448
+ $new_cookie[] = array(
449
+ 'prod_id' => $item['add-to-wishlist'],
450
+ 'quantity' => isset( $item['quantity'] ) ? $item['quantity'] : 1,
451
+ 'wishlist_id' => false
452
+ );
453
+ }
454
+
455
+ yith_setcookie( 'yith_wcwl_products', $new_cookie );
456
+ }
457
+ }
458
+
459
+ /**
460
+ * Add Frequently Bought Together shortcode to wishlist page
461
+ *
462
+ * @param mixed $meta
463
+ * @author Francesco Licandro
464
+ */
465
+ public function yith_wcfbt_shortcode( $meta ){
466
+
467
+ if( ! ( defined( 'YITH_WFBT' ) && YITH_WFBT ) || get_option( 'yith_wfbt_enable_integration' ) == 'no' ) {
468
+ return;
469
+ }
470
+
471
+ $products = YITH_WCWL()->get_products(
472
+ array(
473
+ 'wishlist_id' => is_user_logged_in() ? $meta['ID'] : ''
474
+ ));
475
+
476
+ $ids = array();
477
+ // take id of products in wishlist
478
+ foreach( $products as $product ) {
479
+ $ids[] = $product['prod_id'];
480
+ }
481
+
482
+ if( empty( $ids ) ) {
483
+ return;
484
+ }
485
+
486
+ do_shortcode( '[yith_wfbt products="' . implode( ',', $ids ) . '"]' );
487
+ }
488
+ }
489
+ }
490
+
491
+ /**
492
+ * Unique access to instance of YITH_WCWL_Init class
493
+ *
494
+ * @return \YITH_WCWL_Init
495
+ * @since 2.0.0
496
+ */
497
+ function YITH_WCWL_Init(){
498
+ return YITH_WCWL_Init::get_instance();
499
  }
includes/class.yith-wcwl-install.php CHANGED
@@ -1,261 +1,261 @@
1
- <?php
2
- /**
3
- * Install file
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
- */
9
-
10
- if ( !defined( 'YITH_WCWL' ) ) {
11
- exit;
12
- } // Exit if accessed directly
13
-
14
- if ( !class_exists( 'YITH_WCWL_Install' ) ) {
15
- /**
16
- * Install plugin table and create the wishlist page
17
- *
18
- * @since 1.0.0
19
- */
20
- class YITH_WCWL_Install {
21
-
22
- /**
23
- * Single instance of the class
24
- *
25
- * @var \YITH_WCWL_Install
26
- * @since 2.0.0
27
- */
28
- protected static $instance;
29
-
30
- /**
31
- * Items table name
32
- *
33
- * @var string
34
- * @access private
35
- * @since 1.0.0
36
- */
37
- private $_table_items;
38
-
39
- /**
40
- * Items table name
41
- *
42
- * @var string
43
- * @access private
44
- * @since 1.0.0
45
- */
46
- private $_table_wishlists;
47
-
48
- /**
49
- * Returns single instance of the class
50
- *
51
- * @return \YITH_WCWL_Install
52
- * @since 2.0.0
53
- */
54
- public static function get_instance(){
55
- if( is_null( self::$instance ) ){
56
- self::$instance = new self();
57
- }
58
-
59
- return self::$instance;
60
- }
61
-
62
- /**
63
- * Constructor.
64
- *
65
- * @since 1.0.0
66
- */
67
- public function __construct() {
68
- global $wpdb;
69
-
70
- // define local private attribute
71
- $this->_table_items = $wpdb->prefix . 'yith_wcwl';
72
- $this->_table_wishlists = $wpdb->prefix . 'yith_wcwl_lists';
73
-
74
- // add custom field to global $wpdb
75
- $wpdb->yith_wcwl_items = $this->_table_items;
76
- $wpdb->yith_wcwl_wishlists = $this->_table_wishlists;
77
-
78
- // define constant to use allover the application
79
- define( 'YITH_WCWL_ITEMS_TABLE', $this->_table_items );
80
- define( 'YITH_WCWL_WISHLISTS_TABLE', $this->_table_wishlists );
81
-
82
- /**
83
- * @deprecated
84
- */
85
- define( 'YITH_WCWL_TABLE', $this->_table_items );
86
- }
87
-
88
- /**
89
- * Initiator. Replace the constructor.
90
- *
91
- * @since 1.0.0
92
- */
93
- public function init() {
94
- $this->_add_tables();
95
- $this->_add_pages();
96
-
97
- update_option( 'yith_wcwl_version', YITH_WCWL_VERSION );
98
- update_option( 'yith_wcwl_db_version', YITH_WCWL_DB_VERSION );
99
- }
100
-
101
- /**
102
- * Update db from version 1.0 to 2.0
103
- *
104
- * @since 1.0.0
105
- */
106
- public function update() {
107
- $this->_add_tables();
108
-
109
- update_option( 'yith_wcwl_version', YITH_WCWL_VERSION );
110
- update_option( 'yith_wcwl_db_version', YITH_WCWL_DB_VERSION );
111
- }
112
-
113
- /**
114
- * Set options to their default value.
115
- *
116
- * @param array $options
117
- * @return bool
118
- * @since 1.0.0
119
- */
120
- public function default_options( $options ) {
121
- foreach( $options as $section ) {
122
- foreach( $section as $value ) {
123
- if ( isset( $value['std'] ) && isset( $value['id'] ) ) {
124
- add_option($value['id'], $value['std']);
125
- }
126
- }
127
- }
128
- }
129
-
130
- /**
131
- * Check if the table of the plugin already exists.
132
- *
133
- * @return bool
134
- * @since 1.0.0
135
- */
136
- public function is_installed() {
137
- global $wpdb;
138
- $number_of_tables = $wpdb->query("SHOW TABLES LIKE '{$this->_table_items}%'" );
139
-
140
- return (bool) ( $number_of_tables == 2 );
141
- }
142
-
143
- /**
144
- * Add tables for a fresh installation
145
- *
146
- * @return void
147
- * @access private
148
- * @since 1.0.0
149
- */
150
- private function _add_tables() {
151
- $this->_add_wishlists_table();
152
- $this->_add_items_table();
153
- }
154
-
155
- /**
156
- * Add the wishlists table to the database.
157
- *
158
- * @return void
159
- * @access private
160
- * @since 1.0.0
161
- */
162
- private function _add_wishlists_table() {
163
- global $wpdb;
164
-
165
- if( ! $this->is_installed() ){
166
- $sql = "CREATE TABLE {$this->_table_wishlists} (
167
- ID INT( 11 ) NOT NULL AUTO_INCREMENT,
168
- user_id INT( 11 ) NOT NULL,
169
- wishlist_slug VARCHAR( 200 ) NOT NULL,
170
- wishlist_name TEXT,
171
- wishlist_token VARCHAR( 64 ) NOT NULL UNIQUE,
172
- wishlist_privacy TINYINT( 1 ) NOT NULL DEFAULT 0,
173
- is_default TINYINT( 1 ) NOT NULL DEFAULT 0,
174
- PRIMARY KEY ( ID ),
175
- KEY ( wishlist_slug )
176
- ) DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
177
-
178
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
179
- dbDelta( $sql );
180
- }
181
-
182
- return;
183
- }
184
-
185
- /**
186
- * Add the items table to the database.
187
- *
188
- * @return void
189
- * @access private
190
- * @since 1.0.0
191
- */
192
- private function _add_items_table() {
193
- global $wpdb;
194
-
195
- if( ! $this->is_installed() || get_option( 'yith_wcwl_db_version' ) != '2.0.0' ) {
196
- $sql = "CREATE TABLE {$this->_table_items} (
197
- ID int( 11 ) NOT NULL AUTO_INCREMENT,
198
- prod_id int( 11 ) NOT NULL,
199
- quantity int( 11 ) NOT NULL,
200
- user_id int( 11 ) NOT NULL,
201
- wishlist_id int( 11 ) NULL,
202
- dateadded timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
203
- PRIMARY KEY ( ID ),
204
- KEY ( prod_id )
205
- ) DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
206
-
207
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
208
- dbDelta( $sql );
209
- }
210
-
211
- return;
212
- }
213
-
214
- /**
215
- * Add a page "Wishlist".
216
- *
217
- * @return void
218
- * @since 1.0.0
219
- */
220
- private function _add_pages() {
221
- global $wpdb;
222
-
223
- $option_value = get_option( 'yith-wcwl-page-id' );
224
-
225
- if ( $option_value > 0 && get_post( $option_value ) )
226
- return;
227
-
228
- $page_found = $wpdb->get_var( "SELECT `ID` FROM `{$wpdb->posts}` WHERE `post_name` = 'wishlist' LIMIT 1;" );
229
- if ( $page_found ) :
230
- if ( ! $option_value )
231
- update_option( 'yith-wcwl-page-id', $page_found );
232
- return;
233
- endif;
234
-
235
- $page_data = array(
236
- 'post_status' => 'publish',
237
- 'post_type' => 'page',
238
- 'post_author' => 1,
239
- 'post_name' => esc_sql( _x( 'wishlist', 'page_slug', 'yith-woocommerce-wishlist' ) ),
240
- 'post_title' => __( 'Wishlist', 'yith-woocommerce-wishlist' ),
241
- 'post_content' => '[yith_wcwl_wishlist]',
242
- 'post_parent' => 0,
243
- 'comment_status' => 'closed'
244
- );
245
- $page_id = wp_insert_post( $page_data );
246
-
247
- update_option( 'yith-wcwl-page-id', $page_id );
248
- update_option( 'yith_wcwl_wishlist_page_id', $page_id );
249
- }
250
- }
251
- }
252
-
253
- /**
254
- * Unique access to instance of YITH_WCWL_Install class
255
- *
256
- * @return \YITH_WCWL_Install
257
- * @since 2.0.0
258
- */
259
- function YITH_WCWL_Install(){
260
- return YITH_WCWL_Install::get_instance();
261
  }
1
+ <?php
2
+ /**
3
+ * Install file
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
+ */
9
+
10
+ if ( !defined( 'YITH_WCWL' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ if ( !class_exists( 'YITH_WCWL_Install' ) ) {
15
+ /**
16
+ * Install plugin table and create the wishlist page
17
+ *
18
+ * @since 1.0.0
19
+ */
20
+ class YITH_WCWL_Install {
21
+
22
+ /**
23
+ * Single instance of the class
24
+ *
25
+ * @var \YITH_WCWL_Install
26
+ * @since 2.0.0
27
+ */
28
+ protected static $instance;
29
+
30
+ /**
31
+ * Items table name
32
+ *
33
+ * @var string
34
+ * @access private
35
+ * @since 1.0.0
36
+ */
37
+ private $_table_items;
38
+
39
+ /**
40
+ * Items table name
41
+ *
42
+ * @var string
43
+ * @access private
44
+ * @since 1.0.0
45
+ */
46
+ private $_table_wishlists;
47
+
48
+ /**
49
+ * Returns single instance of the class
50
+ *
51
+ * @return \YITH_WCWL_Install
52
+ * @since 2.0.0
53
+ */
54
+ public static function get_instance(){
55
+ if( is_null( self::$instance ) ){
56
+ self::$instance = new self();
57
+ }
58
+
59
+ return self::$instance;
60
+ }
61
+
62
+ /**
63
+ * Constructor.
64
+ *
65
+ * @since 1.0.0
66
+ */
67
+ public function __construct() {
68
+ global $wpdb;
69
+
70
+ // define local private attribute
71
+ $this->_table_items = $wpdb->prefix . 'yith_wcwl';
72
+ $this->_table_wishlists = $wpdb->prefix . 'yith_wcwl_lists';
73
+
74
+ // add custom field to global $wpdb
75
+ $wpdb->yith_wcwl_items = $this->_table_items;
76
+ $wpdb->yith_wcwl_wishlists = $this->_table_wishlists;
77
+
78
+ // define constant to use allover the application
79
+ define( 'YITH_WCWL_ITEMS_TABLE', $this->_table_items );
80
+ define( 'YITH_WCWL_WISHLISTS_TABLE', $this->_table_wishlists );
81
+
82
+ /**
83
+ * @deprecated
84
+ */
85
+ define( 'YITH_WCWL_TABLE', $this->_table_items );
86
+ }
87
+
88
+ /**
89
+ * Initiator. Replace the constructor.
90
+ *
91
+ * @since 1.0.0
92
+ */
93
+ public function init() {
94
+ $this->_add_tables();
95
+ $this->_add_pages();
96
+
97
+ update_option( 'yith_wcwl_version', YITH_WCWL_VERSION );
98
+ update_option( 'yith_wcwl_db_version', YITH_WCWL_DB_VERSION );
99
+ }
100
+
101
+ /**
102
+ * Update db from version 1.0 to 2.0
103
+ *
104
+ * @since 1.0.0
105
+ */
106
+ public function update() {
107
+ $this->_add_tables();
108
+
109
+ update_option( 'yith_wcwl_version', YITH_WCWL_VERSION );
110
+ update_option( 'yith_wcwl_db_version', YITH_WCWL_DB_VERSION );
111
+ }
112
+
113
+ /**
114
+ * Set options to their default value.
115
+ *
116
+ * @param array $options
117
+ * @return bool
118
+ * @since 1.0.0
119
+ */
120
+ public function default_options( $options ) {
121
+ foreach( $options as $section ) {
122
+ foreach( $section as $value ) {
123
+ if ( isset( $value['std'] ) && isset( $value['id'] ) ) {
124
+ add_option($value['id'], $value['std']);
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ /**
131
+ * Check if the table of the plugin already exists.
132
+ *
133
+ * @return bool
134
+ * @since 1.0.0
135
+ */
136
+ public function is_installed() {
137
+ global $wpdb;
138
+ $number_of_tables = $wpdb->query("SHOW TABLES LIKE '{$this->_table_items}%'" );
139
+
140
+ return (bool) ( $number_of_tables == 2 );
141
+ }
142
+
143
+ /**
144
+ * Add tables for a fresh installation
145
+ *
146
+ * @return void
147
+ * @access private
148
+ * @since 1.0.0
149
+ */
150
+ private function _add_tables() {
151
+ $this->_add_wishlists_table();
152
+ $this->_add_items_table();
153
+ }
154
+
155
+ /**
156
+ * Add the wishlists table to the database.
157
+ *
158
+ * @return void
159
+ * @access private
160
+ * @since 1.0.0
161
+ */
162
+ private function _add_wishlists_table() {
163
+ global $wpdb;
164
+
165
+ if( ! $this->is_installed() ){
166
+ $sql = "CREATE TABLE {$this->_table_wishlists} (
167
+ ID INT( 11 ) NOT NULL AUTO_INCREMENT,
168
+ user_id INT( 11 ) NOT NULL,
169
+ wishlist_slug VARCHAR( 200 ) NOT NULL,
170
+ wishlist_name TEXT,
171
+ wishlist_token VARCHAR( 64 ) NOT NULL UNIQUE,
172
+ wishlist_privacy TINYINT( 1 ) NOT NULL DEFAULT 0,
173
+ is_default TINYINT( 1 ) NOT NULL DEFAULT 0,
174
+ PRIMARY KEY ( ID ),
175
+ KEY ( wishlist_slug )
176
+ ) DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
177
+
178
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
179
+ dbDelta( $sql );
180
+ }
181
+
182
+ return;
183
+ }
184
+
185
+ /**
186
+ * Add the items table to the database.
187
+ *
188
+ * @return void
189
+ * @access private
190
+ * @since 1.0.0
191
+ */
192
+ private function _add_items_table() {
193
+ global $wpdb;
194
+
195
+ if( ! $this->is_installed() || get_option( 'yith_wcwl_db_version' ) != '2.0.0' ) {
196
+ $sql = "CREATE TABLE {$this->_table_items} (
197
+ ID int( 11 ) NOT NULL AUTO_INCREMENT,
198
+ prod_id int( 11 ) NOT NULL,
199
+ quantity int( 11 ) NOT NULL,
200
+ user_id int( 11 ) NOT NULL,
201
+ wishlist_id int( 11 ) NULL,
202
+ dateadded timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
203
+ PRIMARY KEY ( ID ),
204
+ KEY ( prod_id )
205
+ ) DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;";
206
+
207
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
208
+ dbDelta( $sql );
209
+ }
210
+
211
+ return;
212
+ }
213
+
214
+ /**
215
+ * Add a page "Wishlist".
216
+ *
217
+ * @return void
218
+ * @since 1.0.0
219
+ */
220
+ private function _add_pages() {
221
+ global $wpdb;
222
+
223
+ $option_value = get_option( 'yith-wcwl-page-id' );
224
+
225
+ if ( $option_value > 0 && get_post( $option_value ) )
226
+ return;
227
+
228
+ $page_found = $wpdb->get_var( "SELECT `ID` FROM `{$wpdb->posts}` WHERE `post_name` = 'wishlist' LIMIT 1;" );
229
+ if ( $page_found ) :
230
+ if ( ! $option_value )
231
+ update_option( 'yith-wcwl-page-id', $page_found );
232
+ return;
233
+ endif;
234
+
235
+ $page_data = array(
236
+ 'post_status' => 'publish',
237
+ 'post_type' => 'page',
238
+ 'post_author' => 1,
239
+ 'post_name' => esc_sql( _x( 'wishlist', 'page_slug', 'yith-woocommerce-wishlist' ) ),
240
+ 'post_title' => __( 'Wishlist', 'yith-woocommerce-wishlist' ),
241
+ 'post_content' => '[yith_wcwl_wishlist]',
242
+ 'post_parent' => 0,
243
+ 'comment_status' => 'closed'
244
+ );
245
+ $page_id = wp_insert_post( $page_data );
246
+
247
+ update_option( 'yith-wcwl-page-id', $page_id );
248
+ update_option( 'yith_wcwl_wishlist_page_id', $page_id );
249
+ }
250
+ }
251
+ }
252
+
253
+ /**
254
+ * Unique access to instance of YITH_WCWL_Install class
255
+ *
256
+ * @return \YITH_WCWL_Install
257
+ * @since 2.0.0
258
+ */
259
+ function YITH_WCWL_Install(){
260
+ return YITH_WCWL_Install::get_instance();
261
  }
includes/class.yith-wcwl-shortcode.php CHANGED
@@ -1,374 +1,374 @@
1
- <?php
2
- /**
3
- * Shortcodes class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
- */
9
-
10
- if ( ! defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
11
-
12
- if( ! class_exists( 'YITH_WCWL_Shortcode' ) ) {
13
- /**
14
- * YITH WCWL Shortcodes
15
- *
16
- * @since 1.0.0
17
- */
18
- class YITH_WCWL_Shortcode {
19
- /**
20
- * Print the wishlist HTML.
21
- *
22
- * @since 1.0.0
23
- */
24
- public static function wishlist( $atts, $content = null ) {
25
- global $yith_wcwl_is_wishlist, $yith_wcwl_wishlist_token;
26
- $atts = shortcode_atts( array(
27
- 'per_page' => 5,
28
- 'pagination' => 'no',
29
- 'wishlist_id' => false
30
- ), $atts );
31
-
32
- $available_views = apply_filters( 'yith_wcwl_available_wishlist_views', array( 'view', 'user' ) );
33
-
34
- extract( $atts );
35
-
36
- // retrieve options from query string
37
- $action_params = get_query_var( 'wishlist-action', false );
38
- $action_params = explode( '/', $action_params );
39
- $action = ( isset( $action_params[0] ) ) ? $action_params[0] : 'view';
40
-
41
- $user_id = isset( $_GET['user_id'] ) ? $_GET['user_id'] : false;
42
-
43
- // init params needed to load correct tempalte
44
- $additional_params = array();
45
- $template_part = 'view';
46
-
47
- /* === WISHLIST TEMPLATE === */
48
- if(
49
- empty( $action ) ||
50
- ( ! empty( $action ) && ( $action == 'view' || $action == 'user' ) ) ||
51
- ( ! empty( $action ) && ( $action == 'manage' || $action == 'create' ) && get_option( 'yith_wcwl_multi_wishlist_enable', false ) != 'yes' ) ||
52
- ( ! empty( $action ) && ! in_array( $action, $available_views ) ) ||
53
- ! empty( $user_id )
54
- ){
55
- /*
56
- * someone is requesting a wishlist
57
- * -if user is not logged in..
58
- * -and no wishlist_id is passed, cookie wishlist is loaded
59
- * -and a wishlist_id is passed, checks if wishlist is public or shared, and shows it only in this case
60
- * -if user is logged in..
61
- * -and no wishlist_id is passed, default wishlist is loaded
62
- * -and a wishlist_id is passed, checks owner of the wishlist
63
- * -if wishlist is of the logged user, shows it
64
- * -if wishlist is of another user, checks if wishlist is public or shared, and shows it only in this case (if user is admin, can see all wishlists)
65
- */
66
-
67
- if( empty( $wishlist_id ) ) {
68
- if ( ! empty( $action ) && $action == 'user' ) {
69
- $user_id = isset( $action_params[1] ) ? $action_params[1] : false;
70
- $user_id = ( ! $user_id ) ? get_query_var( $user_id, false ) : $user_id;
71
- $user_id = ( ! $user_id ) ? get_current_user_id() : $user_id;
72
-
73
- $wishlists = YITH_WCWL()->get_wishlists( array( 'user_id' => $user_id, 'is_default' => 1 ) );
74
-
75
- if ( ! empty( $wishlists ) && isset( $wishlists[0] ) ) {
76
- $wishlist_id = $wishlists[0]['wishlist_token'];
77
- } else {
78
- $wishlist_id = false;
79
- }
80
- } else {
81
- $wishlist_id = isset( $action_params[1] ) ? $action_params[1] : false;
82
- $wishlist_id = ( ! $wishlist_id ) ? get_query_var( 'wishlist_id', false ) : $wishlist_id;
83
- }
84
- }
85
-
86
- $yith_wcwl_wishlist_token = $wishlist_id;
87
-
88
- $is_user_owner = false;
89
- $query_args = array();
90
-
91
- if( ! empty( $user_id ) ){
92
- $query_args[ 'user_id' ] = $user_id;
93
- $query_args[ 'is_default' ] = 1;
94
-
95
- if( get_current_user_id() == $user_id ){
96
- $is_user_owner = true;
97
- }
98
- }
99
- elseif( ! is_user_logged_in() ){
100
- if( empty( $wishlist_id ) ){
101
- $query_args[ 'wishlist_id' ] = false;
102
- $is_user_owner = true;
103
- }
104
- else{
105
- $is_user_owner = false;
106
-
107
- $query_args[ 'wishlist_token' ] = $wishlist_id;
108
- $query_args[ 'wishlist_visibility' ] = 'visible';
109
- }
110
- }
111
- else{
112
- if( empty( $wishlist_id ) ){
113
- $query_args[ 'user_id' ] = get_current_user_id();
114
- $query_args[ 'is_default' ] = 1;
115
- $is_user_owner = true;
116
- }
117
- else{
118
- $wishlist = YITH_WCWL()->get_wishlist_detail_by_token( $wishlist_id );
119
- $is_user_owner = $wishlist['user_id'] == get_current_user_id();
120
-
121
- $query_args[ 'wishlist_token' ] = $wishlist_id;
122
-
123
- if( ! empty( $wishlist ) && $wishlist['user_id'] != get_current_user_id() ){
124
- $query_args[ 'user_id' ] = false;
125
- if( ! current_user_can( 'manage_options' ) ){
126
- $query_args[ 'wishlist_visibility' ] = 'visible';
127
- }
128
- }
129
- }
130
- }
131
-
132
- // counts number of elements in wishlist for the user
133
- $count = YITH_WCWL()->count_products( $wishlist_id );
134
-
135
- // sets current page, number of pages and element offset
136
- $current_page = max( 1, get_query_var( 'paged' ) );
137
-
138
- // sets variables for pagination, if shortcode atts is set to yes
139
- if( $pagination == 'yes' && $count > 1 ){
140
- $pages = ceil( $count / $per_page );
141
-
142
- if( $current_page > $pages ){
143
- $current_page = $pages;
144
- }
145
-
146
- $offset = ( $current_page - 1 ) * $per_page;
147
-
148
- if( $pages > 1 ){
149
- $page_links = paginate_links( array(
150
- 'base' => esc_url( add_query_arg( array( 'paged' => '%#%' ), YITH_WCWL()->get_wishlist_url( 'view' . '/' . $wishlist_id ) ) ),
151
- 'format' => '?paged=%#%',
152
- 'current' => $current_page,
153
- 'total' => $pages,
154
- 'show_all' => true
155
- ) );
156
- }
157
-
158
- $query_args[ 'limit' ] = $per_page;
159
- $query_args[ 'offset' ] = $offset;
160
- }
161
-
162
- if( empty( $wishlist_id ) ){
163
- $wishlists = YITH_WCWL()->get_wishlists( array( 'user_id' => get_current_user_id(), 'is_default' => 1 ) );
164
- if( ! empty( $wishlists ) ){
165
- $wishlist_id = $wishlists[0]['wishlist_token'];
166
- }
167
- }
168
-
169
- // retrieve items to print
170
- $wishlist_items = YITH_WCWL()->get_products( $query_args );
171
-
172
- // retrieve wishlist information
173
- $wishlist_meta = YITH_WCWL()->get_wishlist_detail_by_token( $wishlist_id );
174
-
175
- // retireve wishlist title
176
- $default_wishlist_title = get_option( 'yith_wcwl_wishlist_title' );
177
-
178
- if( $wishlist_meta['is_default'] == 1 ) {
179
- $wishlist_title = $default_wishlist_title;
180
- }
181
- else{
182
- $wishlist_title = $wishlist_meta['wishlist_name'];
183
- }
184
-
185
- // retrieve estimate options
186
- $show_ask_estimate_button = get_option( 'yith_wcwl_show_estimate_button' ) == 'yes';
187
- $ask_estimate_url = false;
188
- if( $show_ask_estimate_button ){
189
- $ask_estimate_url = esc_url( wp_nonce_url(
190
- add_query_arg(
191
- 'ask_an_estimate',
192
- !empty( $wishlist_meta['wishlist_token'] ) ? $wishlist_meta['wishlist_token'] : 'false',
193
- YITH_WCWL()->get_wishlist_url( 'view' . ( $wishlist_meta['is_default'] != 1 ? '/' . $wishlist_meta['wishlist_token'] : '' ) )
194
- ),
195
- 'ask_an_estimate',
196
- 'estimate_nonce'
197
- ) );
198
- }
199
-
200
- // retrieve share options
201
- $share_facebook_enabled = get_option( 'yith_wcwl_share_fb' ) == 'yes';
202
- $share_twitter_enabled = get_option( 'yith_wcwl_share_twitter' ) == 'yes';
203
- $share_pinterest_enabled = get_option( 'yith_wcwl_share_pinterest' ) == 'yes';
204
- $share_googleplus_enabled = get_option( 'yith_wcwl_share_googleplus' ) == 'yes';
205
- $share_email_enabled = get_option( 'yith_wcwl_share_email' ) == 'yes';
206
-
207
- $show_date_added = get_option( 'yith_wcwl_show_dateadded' ) == 'yes';
208
- $show_add_to_cart = get_option( 'yith_wcwl_add_to_cart_show' ) == 'yes';
209
- $repeat_remove_button = get_option( 'yith_wcwl_repeat_remove_button' ) == 'yes';
210
-
211
- $share_enabled = $share_facebook_enabled || $share_twitter_enabled || $share_pinterest_enabled || $share_googleplus_enabled || $share_email_enabled;
212
-
213
- $additional_params = array(
214
- 'count' => $count,
215
- 'wishlist_items' => $wishlist_items,
216
- 'wishlist_meta' => $wishlist_meta,
217
- 'page_title' => $wishlist_title,
218
- 'default_wishlsit_title' => $default_wishlist_title,
219
- 'current_page' => $current_page,
220
- 'page_links' => isset( $page_links ) ? $page_links : false,
221
- 'is_user_logged_in' => is_user_logged_in(),
222
- 'is_user_owner' => $is_user_owner,
223
- 'show_price' => get_option( 'yith_wcwl_price_show' ) == 'yes',
224
- 'show_dateadded' => $show_date_added,
225
- 'show_ask_estimate_button' => $show_ask_estimate_button,
226
- 'ask_estimate_url' => $ask_estimate_url,
227
- 'show_stock_status' => get_option( 'yith_wcwl_stock_show' ) == 'yes',
228
- 'show_add_to_cart' => $show_add_to_cart,
229
- 'add_to_cart_text' => get_option( 'yith_wcwl_add_to_cart_text' ),
230
- 'price_excl_tax' => get_option( 'woocommerce_tax_display_cart' ) == 'excl',
231
- 'template_part' => $template_part,
232
- 'share_enabled' => $share_enabled,
233
- 'additional_info' => false,
234
- 'available_multi_wishlist' => false,
235
- 'show_cb' => false,
236
- 'repeat_remove_button' => $repeat_remove_button,
237
- 'show_last_column' => ( $show_date_added && is_user_logged_in() ) || $show_add_to_cart || $repeat_remove_button,
238
- 'users_wishlists' => array()
239
- );
240
-
241
- if( $share_enabled ){
242
- $share_title = apply_filters( 'yith_wcwl_socials_share_title', __( 'Share on:', 'yith-woocommerce-wishlist' ) );
243
- $share_link_url = ( ! empty( $wishlist_id ) ) ? YITH_WCWL()->get_wishlist_url( 'view' . '/' . $wishlist_id ) : YITH_WCWL()->get_wishlist_url( 'user' . '/' . get_current_user_id() );
244
- $share_links_title = apply_filters( 'plugin_text', urlencode( get_option( 'yith_wcwl_socials_title' ) ) );
245
- $share_twitter_summary = urlencode( str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) ) );
246
- $share_summary = urlencode( str_replace( '%wishlist_url%', $share_link_url, get_option( 'yith_wcwl_socials_text' ) ) );
247
- $share_image_url = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
248
-
249
- $share_atts = array(
250
- 'share_facebook_enabled' => $share_facebook_enabled,
251
- 'share_twitter_enabled' => $share_twitter_enabled,
252
- 'share_pinterest_enabled' => $share_pinterest_enabled,
253
- 'share_googleplus_enabled' => $share_googleplus_enabled,
254
- 'share_email_enabled' => $share_email_enabled,
255
- 'share_title' => $share_title,
256
- 'share_link_url' => $share_link_url,
257
- 'share_link_title' => $share_links_title,
258
- 'share_twitter_summary' => $share_twitter_summary,
259
- 'share_summary' => $share_summary,
260
- 'share_image_url' => $share_image_url
261
- );
262
-
263
- $additional_params['share_atts'] = $share_atts;
264
- }
265
- }
266
-
267
- $additional_params = apply_filters( 'yith_wcwl_wishlist_params', $additional_params, $action, $action_params, $pagination, $per_page );
268
- $additional_params['template_part'] = isset( $additional_params['template_part'] ) ? $additional_params['template_part'] : $template_part;
269
-
270
- $atts = array_merge(
271
- $atts,
272
- $additional_params
273
- );
274
-
275
- // adds attributes list to params to extract in template, so it can be passed through a new get_template()
276
- $atts['atts'] = $atts;
277
-
278
- // apply filters for add to cart buttons
279
- add_filter( 'woocommerce_loop_add_to_cart_link', array( 'YITH_WCWL_UI', 'alter_add_to_cart_button' ), 10, 2 );
280
-
281
- // sets that we're in the wishlist template
282
- $yith_wcwl_is_wishlist = true;
283
-
284
- $template = yith_wcwl_get_template( 'wishlist.php', $atts, true );
285
-
286
- // we're not in wishlist template anymore
287
- $yith_wcwl_is_wishlist = false;
288
- $yith_wcwl_wishlist_token = null;
289
-
290
- // remove filters for add to cart buttons
291
- remove_filter( 'woocommerce_loop_add_to_cart_link', array( 'YITH_WCWL_UI', 'alter_add_to_cart_button' ) );
292
-
293
- return apply_filters( 'yith_wcwl_wishlisth_html', $template, array(), true );
294
- }
295
-
296
- /**
297
- * Return "Add to Wishlist" button.
298
- *
299
- * @since 1.0.0
300
- */
301
- public static function add_to_wishlist( $atts, $content = null ) {
302
- global $product;
303
-
304
- if( ! isset( $product ) ){
305
- $product = ( isset( $atts['product_id'] ) ) ? wc_get_product( $atts['product_id'] ) : false;
306
- }
307
-
308
- $template_part = 'button';
309
-
310
- $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
311
- $icon_option = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? get_option( 'yith_wcwl_add_to_wishlist_icon' ) : '';
312
-
313
- $label = apply_filters( 'yith_wcwl_button_label', $label_option );
314
- $icon = apply_filters( 'yith_wcwl_button_icon', $icon_option );
315
-
316
- $browse_wishlist = get_option( 'yith_wcwl_browse_wishlist_text' );
317
-
318
- $already_in_wishlist = get_option( 'yith_wcwl_already_in_wishlist_text' );
319
-
320
- $product_added = get_option( 'yith_wcwl_product_added_text' );
321
-
322
- $classes = apply_filters( 'yith_wcwl_add_to_wishlist_button_classes', get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'add_to_wishlist single_add_to_wishlist button alt' : 'add_to_wishlist' );
323
-
324
- $default_wishlists = is_user_logged_in() ? YITH_WCWL()->get_wishlists( array( 'is_default' => true ) ) : false;
325
-
326
- if( ! empty( $default_wishlists ) ){
327
- $default_wishlist = $default_wishlists[0]['ID'];
328
- }
329
- else{
330
- $default_wishlist = false;
331
- }
332
-
333
- $exists = YITH_WCWL()->is_product_in_wishlist( $product->id, $default_wishlist );
334
-
335
- $wishlist_url = YITH_WCWL()->get_wishlist_url();
336
- $product_type = $product->product_type;
337
-
338
- $additional_params = array(
339
- 'wishlist_url' => $wishlist_url,
340
- 'exists' => $exists,
341
- 'product_id' => $product->id,
342
- 'product_type' => $product_type,
343
- 'label' => $label,
344
- 'browse_wishlist_text' => $browse_wishlist,
345
- 'already_in_wishslist_text' => $already_in_wishlist,
346
- 'product_added_text' => $product_added,
347
- 'icon' => $icon,
348
- 'link_classes' => $classes,
349
- 'available_multi_wishlist' => false,
350
- 'disable_wishlist' => false
351
- );
352
-
353
- $additional_params = apply_filters( 'yith_wcwl_add_to_wishlist_params', $additional_params );
354
- $additional_params['template_part'] = isset( $additional_params['template_part'] ) ? $additional_params['template_part'] : $template_part;
355
-
356
- $atts = shortcode_atts(
357
- $additional_params,
358
- $atts
359
- );
360
-
361
- $atts['icon'] = ! empty( $atts['icon'] ) ? '<i class="fa ' . $atts['icon'] . '"></i>' : '';
362
-
363
- // adds attributes list to params to extract in template, so it can be passed through a new get_template()
364
- $atts['atts'] = $atts;
365
-
366
- $template = yith_wcwl_get_template( 'add-to-wishlist.php', $atts, true );
367
-
368
- return apply_filters( 'yith_wcwl_add_to_wishlisth_button_html', $template, $wishlist_url, $product_type, $exists );
369
- }
370
- }
371
- }
372
-
373
- add_shortcode( 'yith_wcwl_wishlist', array( 'YITH_WCWL_Shortcode', 'wishlist' ) );
374
  add_shortcode( 'yith_wcwl_add_to_wishlist', array( 'YITH_WCWL_Shortcode', 'add_to_wishlist' ) );
1
+ <?php
2
+ /**
3
+ * Shortcodes class
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
+ */
9
+
10
+ if ( ! defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
11
+
12
+ if( ! class_exists( 'YITH_WCWL_Shortcode' ) ) {
13
+ /**
14
+ * YITH WCWL Shortcodes
15
+ *
16
+ * @since 1.0.0
17
+ */
18
+ class YITH_WCWL_Shortcode {
19
+ /**
20
+ * Print the wishlist HTML.
21
+ *
22
+ * @since 1.0.0
23
+ */
24
+ public static function wishlist( $atts, $content = null ) {
25
+ global $yith_wcwl_is_wishlist, $yith_wcwl_wishlist_token;
26
+ $atts = shortcode_atts( array(
27
+ 'per_page' => 5,
28
+ 'pagination' => 'no',
29
+ 'wishlist_id' => false
30
+ ), $atts );
31
+
32
+ $available_views = apply_filters( 'yith_wcwl_available_wishlist_views', array( 'view', 'user' ) );
33
+
34
+ extract( $atts );
35
+
36
+ // retrieve options from query string
37
+ $action_params = get_query_var( 'wishlist-action', false );
38
+ $action_params = explode( '/', $action_params );
39
+ $action = ( isset( $action_params[0] ) ) ? $action_params[0] : 'view';
40
+
41
+ $user_id = isset( $_GET['user_id'] ) ? $_GET['user_id'] : false;
42
+
43
+ // init params needed to load correct tempalte
44
+ $additional_params = array();
45
+ $template_part = 'view';
46
+
47
+ /* === WISHLIST TEMPLATE === */
48
+ if(
49
+ empty( $action ) ||
50
+ ( ! empty( $action ) && ( $action == 'view' || $action == 'user' ) ) ||
51
+ ( ! empty( $action ) && ( $action == 'manage' || $action == 'create' ) && get_option( 'yith_wcwl_multi_wishlist_enable', false ) != 'yes' ) ||
52
+ ( ! empty( $action ) && ! in_array( $action, $available_views ) ) ||
53
+ ! empty( $user_id )
54
+ ){
55
+ /*
56
+ * someone is requesting a wishlist
57
+ * -if user is not logged in..
58
+ * -and no wishlist_id is passed, cookie wishlist is loaded
59
+ * -and a wishlist_id is passed, checks if wishlist is public or shared, and shows it only in this case
60
+ * -if user is logged in..
61
+ * -and no wishlist_id is passed, default wishlist is loaded
62
+ * -and a wishlist_id is passed, checks owner of the wishlist
63
+ * -if wishlist is of the logged user, shows it
64
+ * -if wishlist is of another user, checks if wishlist is public or shared, and shows it only in this case (if user is admin, can see all wishlists)
65
+ */
66
+
67
+ if( empty( $wishlist_id ) ) {
68
+ if ( ! empty( $action ) && $action == 'user' ) {
69
+ $user_id = isset( $action_params[1] ) ? $action_params[1] : false;
70
+ $user_id = ( ! $user_id ) ? get_query_var( $user_id, false ) : $user_id;
71
+ $user_id = ( ! $user_id ) ? get_current_user_id() : $user_id;
72
+
73
+ $wishlists = YITH_WCWL()->get_wishlists( array( 'user_id' => $user_id, 'is_default' => 1 ) );
74
+
75
+ if ( ! empty( $wishlists ) && isset( $wishlists[0] ) ) {
76
+ $wishlist_id = $wishlists[0]['wishlist_token'];
77
+ } else {
78
+ $wishlist_id = false;
79
+ }
80
+ } else {
81
+ $wishlist_id = isset( $action_params[1] ) ? $action_params[1] : false;
82
+ $wishlist_id = ( ! $wishlist_id ) ? get_query_var( 'wishlist_id', false ) : $wishlist_id;
83
+ }
84
+ }
85
+
86
+ $yith_wcwl_wishlist_token = $wishlist_id;
87
+
88
+ $is_user_owner = false;
89
+ $query_args = array();
90
+
91
+ if( ! empty( $user_id ) ){
92
+ $query_args[ 'user_id' ] = $user_id;
93
+ $query_args[ 'is_default' ] = 1;
94
+
95
+ if( get_current_user_id() == $user_id ){
96
+ $is_user_owner = true;
97
+ }
98
+ }
99
+ elseif( ! is_user_logged_in() ){
100
+ if( empty( $wishlist_id ) ){
101
+ $query_args[ 'wishlist_id' ] = false;
102
+ $is_user_owner = true;
103
+ }
104
+ else{
105
+ $is_user_owner = false;
106
+
107
+ $query_args[ 'wishlist_token' ] = $wishlist_id;
108
+ $query_args[ 'wishlist_visibility' ] = 'visible';
109
+ }
110
+ }
111
+ else{
112
+ if( empty( $wishlist_id ) ){
113
+ $query_args[ 'user_id' ] = get_current_user_id();
114
+ $query_args[ 'is_default' ] = 1;
115
+ $is_user_owner = true;
116
+ }
117
+ else{
118
+ $wishlist = YITH_WCWL()->get_wishlist_detail_by_token( $wishlist_id );
119
+ $is_user_owner = $wishlist['user_id'] == get_current_user_id();
120
+
121
+ $query_args[ 'wishlist_token' ] = $wishlist_id;
122
+
123
+ if( ! empty( $wishlist ) && $wishlist['user_id'] != get_current_user_id() ){
124
+ $query_args[ 'user_id' ] = false;
125
+ if( ! current_user_can( 'manage_options' ) ){
126
+ $query_args[ 'wishlist_visibility' ] = 'visible';
127
+ }
128
+ }
129
+ }
130
+ }
131
+
132
+ // counts number of elements in wishlist for the user
133
+ $count = YITH_WCWL()->count_products( $wishlist_id );
134
+
135
+ // sets current page, number of pages and element offset
136
+ $current_page = max( 1, get_query_var( 'paged' ) );
137
+
138
+ // sets variables for pagination, if shortcode atts is set to yes
139
+ if( $pagination == 'yes' && $count > 1 ){
140
+ $pages = ceil( $count / $per_page );
141
+
142
+ if( $current_page > $pages ){
143
+ $current_page = $pages;
144
+ }
145
+
146
+ $offset = ( $current_page - 1 ) * $per_page;
147
+
148
+ if( $pages > 1 ){
149
+ $page_links = paginate_links( array(
150
+ 'base' => esc_url( add_query_arg( array( 'paged' => '%#%' ), YITH_WCWL()->get_wishlist_url( 'view' . '/' . $wishlist_id ) ) ),
151
+ 'format' => '?paged=%#%',
152
+ 'current' => $current_page,
153
+ 'total' => $pages,
154
+ 'show_all' => true
155
+ ) );
156
+ }
157
+
158
+ $query_args[ 'limit' ] = $per_page;
159
+ $query_args[ 'offset' ] = $offset;
160
+ }
161
+
162
+ if( empty( $wishlist_id ) ){
163
+ $wishlists = YITH_WCWL()->get_wishlists( array( 'user_id' => get_current_user_id(), 'is_default' => 1 ) );
164
+ if( ! empty( $wishlists ) ){
165
+ $wishlist_id = $wishlists[0]['wishlist_token'];
166
+ }
167
+ }
168
+
169
+ // retrieve items to print
170
+ $wishlist_items = YITH_WCWL()->get_products( $query_args );
171
+
172
+ // retrieve wishlist information
173
+ $wishlist_meta = YITH_WCWL()->get_wishlist_detail_by_token( $wishlist_id );
174
+
175
+ // retireve wishlist title
176
+ $default_wishlist_title = get_option( 'yith_wcwl_wishlist_title' );
177
+
178
+ if( $wishlist_meta['is_default'] == 1 ) {
179
+ $wishlist_title = $default_wishlist_title;
180
+ }
181
+ else{
182
+ $wishlist_title = $wishlist_meta['wishlist_name'];
183
+ }
184
+
185
+ // retrieve estimate options
186
+ $show_ask_estimate_button = get_option( 'yith_wcwl_show_estimate_button' ) == 'yes';
187
+ $ask_estimate_url = false;
188
+ if( $show_ask_estimate_button ){
189
+ $ask_estimate_url = esc_url( wp_nonce_url(
190
+ add_query_arg(
191
+ 'ask_an_estimate',
192
+ !empty( $wishlist_meta['wishlist_token'] ) ? $wishlist_meta['wishlist_token'] : 'false',
193
+ YITH_WCWL()->get_wishlist_url( 'view' . ( $wishlist_meta['is_default'] != 1 ? '/' . $wishlist_meta['wishlist_token'] : '' ) )
194
+ ),
195
+ 'ask_an_estimate',
196
+ 'estimate_nonce'
197
+ ) );
198
+ }
199
+
200
+ // retrieve share options
201
+ $share_facebook_enabled = get_option( 'yith_wcwl_share_fb' ) == 'yes';
202
+ $share_twitter_enabled = get_option( 'yith_wcwl_share_twitter' ) == 'yes';
203
+ $share_pinterest_enabled = get_option( 'yith_wcwl_share_pinterest' ) == 'yes';
204
+ $share_googleplus_enabled = get_option( 'yith_wcwl_share_googleplus' ) == 'yes';
205
+ $share_email_enabled = get_option( 'yith_wcwl_share_email' ) == 'yes';
206
+
207
+ $show_date_added = get_option( 'yith_wcwl_show_dateadded' ) == 'yes';
208
+ $show_add_to_cart = get_option( 'yith_wcwl_add_to_cart_show' ) == 'yes';
209
+ $repeat_remove_button = get_option( 'yith_wcwl_repeat_remove_button' ) == 'yes';
210
+
211
+ $share_enabled = $share_facebook_enabled || $share_twitter_enabled || $share_pinterest_enabled || $share_googleplus_enabled || $share_email_enabled;
212
+
213
+ $additional_params = array(
214
+ 'count' => $count,
215
+ 'wishlist_items' => $wishlist_items,
216
+ 'wishlist_meta' => $wishlist_meta,
217
+ 'page_title' => $wishlist_title,
218
+ 'default_wishlsit_title' => $default_wishlist_title,
219
+ 'current_page' => $current_page,
220
+ 'page_links' => isset( $page_links ) ? $page_links : false,
221
+ 'is_user_logged_in' => is_user_logged_in(),
222
+ 'is_user_owner' => $is_user_owner,
223
+ 'show_price' => get_option( 'yith_wcwl_price_show' ) == 'yes',
224
+ 'show_dateadded' => $show_date_added,
225
+ 'show_ask_estimate_button' => $show_ask_estimate_button,
226
+ 'ask_estimate_url' => $ask_estimate_url,
227
+ 'show_stock_status' => get_option( 'yith_wcwl_stock_show' ) == 'yes',
228
+ 'show_add_to_cart' => $show_add_to_cart,
229
+ 'add_to_cart_text' => get_option( 'yith_wcwl_add_to_cart_text' ),
230
+ 'price_excl_tax' => get_option( 'woocommerce_tax_display_cart' ) == 'excl',
231
+ 'template_part' => $template_part,
232
+ 'share_enabled' => $share_enabled,
233
+ 'additional_info' => false,
234
+ 'available_multi_wishlist' => false,
235
+ 'show_cb' => false,
236
+ 'repeat_remove_button' => $repeat_remove_button,
237
+ 'show_last_column' => ( $show_date_added && is_user_logged_in() ) || $show_add_to_cart || $repeat_remove_button,
238
+ 'users_wishlists' => array()
239
+ );
240
+
241
+ if( $share_enabled ){
242
+ $share_title = apply_filters( 'yith_wcwl_socials_share_title', __( 'Share on:', 'yith-woocommerce-wishlist' ) );
243
+ $share_link_url = ( ! empty( $wishlist_id ) ) ? YITH_WCWL()->get_wishlist_url( 'view' . '/' . $wishlist_id ) : YITH_WCWL()->get_wishlist_url( 'user' . '/' . get_current_user_id() );
244
+ $share_links_title = apply_filters( 'plugin_text', urlencode( get_option( 'yith_wcwl_socials_title' ) ) );
245
+ $share_twitter_summary = urlencode( str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) ) );
246
+ $share_summary = urlencode( str_replace( '%wishlist_url%', $share_link_url, get_option( 'yith_wcwl_socials_text' ) ) );
247
+ $share_image_url = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
248
+
249
+ $share_atts = array(
250
+ 'share_facebook_enabled' => $share_facebook_enabled,
251
+ 'share_twitter_enabled' => $share_twitter_enabled,
252
+ 'share_pinterest_enabled' => $share_pinterest_enabled,
253
+ 'share_googleplus_enabled' => $share_googleplus_enabled,
254
+ 'share_email_enabled' => $share_email_enabled,
255
+ 'share_title' => $share_title,
256
+ 'share_link_url' => $share_link_url,
257
+ 'share_link_title' => $share_links_title,
258
+ 'share_twitter_summary' => $share_twitter_summary,
259
+ 'share_summary' => $share_summary,
260
+ 'share_image_url' => $share_image_url
261
+ );
262
+
263
+ $additional_params['share_atts'] = $share_atts;
264
+ }
265
+ }
266
+
267
+ $additional_params = apply_filters( 'yith_wcwl_wishlist_params', $additional_params, $action, $action_params, $pagination, $per_page );
268
+ $additional_params['template_part'] = isset( $additional_params['template_part'] ) ? $additional_params['template_part'] : $template_part;
269
+
270
+ $atts = array_merge(
271
+ $atts,
272
+ $additional_params
273
+ );
274
+
275
+ // adds attributes list to params to extract in template, so it can be passed through a new get_template()
276
+ $atts['atts'] = $atts;
277
+
278
+ // apply filters for add to cart buttons
279
+ add_filter( 'woocommerce_loop_add_to_cart_link', array( 'YITH_WCWL_UI', 'alter_add_to_cart_button' ), 10, 2 );
280
+
281
+ // sets that we're in the wishlist template
282
+ $yith_wcwl_is_wishlist = true;
283
+
284
+ $template = yith_wcwl_get_template( 'wishlist.php', $atts, true );
285
+
286
+ // we're not in wishlist template anymore
287
+ $yith_wcwl_is_wishlist = false;
288
+ $yith_wcwl_wishlist_token = null;
289
+
290
+ // remove filters for add to cart buttons
291
+ remove_filter( 'woocommerce_loop_add_to_cart_link', array( 'YITH_WCWL_UI', 'alter_add_to_cart_button' ) );
292
+
293
+ return apply_filters( 'yith_wcwl_wishlisth_html', $template, array(), true );
294
+ }
295
+
296
+ /**
297
+ * Return "Add to Wishlist" button.
298
+ *
299
+ * @since 1.0.0
300
+ */
301
+ public static function add_to_wishlist( $atts, $content = null ) {
302
+ global $product;
303
+
304
+ if( ! isset( $product ) ){
305
+ $product = ( isset( $atts['product_id'] ) ) ? wc_get_product( $atts['product_id'] ) : false;
306
+ }
307
+
308
+ $template_part = 'button';
309
+
310
+ $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
311
+ $icon_option = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? get_option( 'yith_wcwl_add_to_wishlist_icon' ) : '';
312
+
313
+ $label = apply_filters( 'yith_wcwl_button_label', $label_option );
314
+ $icon = apply_filters( 'yith_wcwl_button_icon', $icon_option );
315
+
316
+ $browse_wishlist = get_option( 'yith_wcwl_browse_wishlist_text' );
317
+
318
+ $already_in_wishlist = get_option( 'yith_wcwl_already_in_wishlist_text' );
319
+
320
+ $product_added = get_option( 'yith_wcwl_product_added_text' );
321
+
322
+ $classes = apply_filters( 'yith_wcwl_add_to_wishlist_button_classes', get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'add_to_wishlist single_add_to_wishlist button alt' : 'add_to_wishlist' );
323
+
324
+ $default_wishlists = is_user_logged_in() ? YITH_WCWL()->get_wishlists( array( 'is_default' => true ) ) : false;
325
+
326
+ if( ! empty( $default_wishlists ) ){
327
+ $default_wishlist = $default_wishlists[0]['ID'];
328
+ }
329
+ else{
330
+ $default_wishlist = false;
331
+ }
332
+
333
+ $exists = YITH_WCWL()->is_product_in_wishlist( $product->id, $default_wishlist );
334
+
335
+ $wishlist_url = YITH_WCWL()->get_wishlist_url();
336
+ $product_type = $product->product_type;
337
+
338
+ $additional_params = array(
339
+ 'wishlist_url' => $wishlist_url,
340
+ 'exists' => $exists,
341
+ 'product_id' => $product->id,
342
+ 'product_type' => $product_type,
343
+ 'label' => $label,
344
+ 'browse_wishlist_text' => $browse_wishlist,
345
+ 'already_in_wishslist_text' => $already_in_wishlist,
346
+ 'product_added_text' => $product_added,
347
+ 'icon' => $icon,
348
+ 'link_classes' => $classes,
349
+ 'available_multi_wishlist' => false,
350
+ 'disable_wishlist' => false
351
+ );
352
+
353
+ $additional_params = apply_filters( 'yith_wcwl_add_to_wishlist_params', $additional_params );
354
+ $additional_params['template_part'] = isset( $additional_params['template_part'] ) ? $additional_params['template_part'] : $template_part;
355
+
356
+ $atts = shortcode_atts(
357
+ $additional_params,
358
+ $atts
359
+ );
360
+
361
+ $atts['icon'] = ! empty( $atts['icon'] ) ? '<i class="fa ' . $atts['icon'] . '"></i>' : '';
362
+
363
+ // adds attributes list to params to extract in template, so it can be passed through a new get_template()
364
+ $atts['atts'] = $atts;
365
+
366
+ $template = yith_wcwl_get_template( 'add-to-wishlist.php', $atts, true );
367
+
368
+ return apply_filters( 'yith_wcwl_add_to_wishlisth_button_html', $template, $wishlist_url, $product_type, $exists );
369
+ }
370
+ }
371
+ }
372
+
373
+ add_shortcode( 'yith_wcwl_wishlist', array( 'YITH_WCWL_Shortcode', 'wishlist' ) );
374
  add_shortcode( 'yith_wcwl_add_to_wishlist', array( 'YITH_WCWL_Shortcode', 'add_to_wishlist' ) );
includes/class.yith-wcwl-ui.php CHANGED
@@ -1,224 +1,224 @@
1
- <?php
2
- /**
3
- * Shortcodes class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
- */
9
-
10
- if ( ! defined( 'YITH_WCWL' ) ) {
11
- exit;
12
- } // Exit if accessed directly
13
-
14
- if( ! class_exists( 'YITH_WCWL_UI' ) ) {
15
-
16
- /**
17
- * YITH_WCWL_UI class, with methods used to print user interface
18
- *
19
- * @since 1.0.0
20
- */
21
- class YITH_WCWL_UI {
22
-
23
- /**
24
- * Build the popup message HTML/jQuery.
25
- *
26
- * @return string
27
- * @static
28
- * @since 1.0.0
29
- */
30
- public static function popup_message() {
31
- _deprecated_function( 'popup_message', '2.0.0', 'add-to-wishlist-button.php template' );
32
- ob_start() ?>
33
-
34
- <script type="text/javascript">
35
- if( !jQuery( '#yith-wcwl-popup-message' ).length ) {
36
- jQuery( 'body' ).prepend(
37
- '<div id="yith-wcwl-popup-message" style="display:none;">' +
38
- '<div id="yith-wcwl-message"></div>' +
39
- '</div>'
40
- );
41
- }
42
- </script>
43
-
44
- <?php
45
- return ob_get_clean();
46
- }
47
-
48
- /**
49
- * Build the "Add to Wishlist" HTML
50
- *
51
- * @deprecated
52
- * @param string $url
53
- * @param string $product_type
54
- * @param bool $exists
55
- * @return string
56
- * @static
57
- * @since 1.0.0
58
- */
59
- public static function add_to_wishlist_button( $url, $product_type, $exists ) {
60
- _deprecated_function( 'add_to_wishlist_button', '2.0.0', 'add-to-wishlist-button.php template' );
61
-
62
- global $yith_wcwl, $product;
63
-
64
- $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
65
- $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
66
-
67
- $label = apply_filters( 'yith_wcwl_button_label', $localize_label );
68
- $icon = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
69
-
70
- $classes = get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'class="add_to_wishlist single_add_to_wishlist button alt"' : 'class="add_to_wishlist"';
71
-
72
- $html = '<div class="yith-wcwl-add-to-wishlist">';
73
- $html .= '<div class="yith-wcwl-add-button'; // the class attribute is closed in the next row
74
-
75
- $html .= $exists ? ' hide" style="display:none;"' : ' show"';
76
-
77
- $html .= '><a href="' . esc_url( add_query_arg( 'add_to_wishlist', $product->id ) ) . '" data-product-id="' . $product->id . '" data-product-type="' . $product_type . '" ' . $classes . ' >' . $icon . $label . '</a>';
78
- $html .= '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />';
79
- $html .= '</div>';
80
-
81
- $html .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><span class="feedback">' . __( 'Product added!','yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
82
- $html .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><span class="feedback">' . __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
83
- $html .= '<div style="clear:both"></div><div class="yith-wcwl-wishlistaddresponse"></div>';
84
-
85
- $html .= '</div>';
86
- $html .= '<div class="clear"></div>';
87
-
88
- return $html;
89
- }
90
-
91
- /**
92
- * Build the "Add to cart" HTML.
93
- *
94
- * @param string $url
95
- * @param string $stock_status
96
- * @param string $type
97
- * @return string
98
- * @static
99
- * @since 1.0.0
100
- */
101
- public static function add_to_cart_button( $product_id, $stock_status ) {
102
- _deprecated_function( 'add_to_cart_button', '2.0.0', 'wc_get_template( "loop/add-to-cart.php" )' );
103
-
104
- global $yith_wcwl, $product;
105
-
106
- if ( function_exists( 'get_product' ) )
107
- $product = get_product( $product_id );
108
- else
109
- $product = new WC_Product( $product_id );
110
-
111
- $url = $product->product_type == 'external' ? $yith_wcwl->get_affiliate_product_url( $product_id ) : $yith_wcwl->get_addtocart_url( $product_id );
112
-
113
- $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
114
- $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
115
-
116
- $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $localize_label );
117
- $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
118
-
119
- $cartlink = '';
120
- $redirect_to_cart = get_option( 'yith_wcwl_redirect_cart' ) == 'yes' && $product->product_type != 'variable' ? 'true' : 'false';
121
- $style = ''; //indicates the style (background-color and font color)
122
-
123
- if( get_option( 'yith_wcwl_use_button' ) == 'yes' ) {
124
- if( $product->product_type == 'external' ) {
125
- $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
126
- } else {
127
- $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '"';
128
- }
129
-
130
- $cartlink .= $style . '>' . $icon . $label . '</a>';
131
- } else {
132
- if( $product->product_type == 'external' ) {
133
- $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
134
- } else {
135
- $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '">' . $icon . $label . '</a>';
136
- }
137
- }
138
-
139
- return $cartlink;
140
- }
141
-
142
- /**
143
- * Build share HTML.
144
- *
145
- * @param string $url
146
- * @return string $string
147
- * @static
148
- * @since 1.0.0
149
- */
150
- public static function get_share_links( $url ) {
151
- _deprecated_function( 'get_share_links', '2.0.0', 'share.php template' );
152
-
153
- $normal_url = $url;
154
- $url = urlencode( $url );
155
- $title = apply_filters( 'plugin_text', urlencode( get_option( 'yith_wcwl_socials_title' ) ) );
156
- $twitter_summary = str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) );
157
- $summary = urlencode( str_replace( '%wishlist_url%', $normal_url, get_option( 'yith_wcwl_socials_text' ) ) );
158
- $imageurl = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
159
-
160
- $html = '<div class="yith-wcwl-share">';
161
- $html .= apply_filters( 'yith_wcwl_socials_share_title', '<span>' . __( 'Share on:', 'yith-woocommerce-wishlist' ) . '</span>' );
162
- $html .= '<ul>';
163
-
164
- if( get_option( 'yith_wcwl_share_fb' ) == 'yes' )
165
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=' . $title . '&amp;p[url]=' . $url . '&amp;p[summary]=' . $summary . '&amp;p[images][0]=' . $imageurl . '" title="' . __( 'Facebook', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
166
-
167
- if( get_option( 'yith_wcwl_share_twitter' ) == 'yes' )
168
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="twitter" href="https://twitter.com/share?url=' . $url . '&amp;text=' . $twitter_summary . '" title="' . __( 'Twitter', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
169
-
170
- if( get_option( 'yith_wcwl_share_pinterest' ) == 'yes' )
171
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=' . $url . '&amp;description=' . $summary . '&media=' . $imageurl . '" onclick="window.open(this.href); return false;"></a></li>'; }
172
-
173
- if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
174
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title=' . $title . '" title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
175
-
176
- if( get_option( 'yith_wcwl_share_email' ) == 'yes' )
177
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a class="email" href="mailto:?subject=I wanted you to see this site&amp;body= ' . $url . '&amp;title=' . __('email', 'yith-woocommerce-wishlist') . '" title="' . $title . '" ></a></li>'; }
178
-
179
- $html .= '</ul>';
180
- $html .= '</div>';
181
-
182
- return $html;
183
- }
184
-
185
- /**
186
- * Adds classes to add-to-cart button
187
- *
188
- * @param $button_html string
189
- * @param $product \WC_Product
190
- * @return string
191
- * @static
192
- * @since 2.0.0
193
- */
194
- public static function alter_add_to_cart_button( $button_html, $product ){
195
-
196
- // retrieve options
197
- $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
198
-
199
- $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $label_option );
200
- if( get_option( 'yith_wcwl_frontend_css' ) != 'yes' ) {
201
- $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
202
- }
203
- else{
204
- $icon = '';
205
- }
206
-
207
- // customize
208
- $match = array();
209
- preg_match( '/<a.*class="([^"]*).*>.*<\/a>/', $button_html, $match );
210
-
211
- if( ! empty( $match ) && isset( $match[1] ) ){
212
- $button_html = str_replace( $match[1], $match[1] . ' add_to_cart button alt', $button_html );
213
- }
214
-
215
- preg_match( '/<a .*?>(.*)<\/a>/', $button_html, $match );
216
-
217
- if( ! empty( $match ) && isset( $match[1] ) ){
218
- $button_html = str_replace( $match[1], $icon . ' ' . $label, $button_html );
219
- }
220
-
221
- return $button_html;
222
- }
223
- }
224
  }
1
+ <?php
2
+ /**
3
+ * Shortcodes class
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
+ */
9
+
10
+ if ( ! defined( 'YITH_WCWL' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ if( ! class_exists( 'YITH_WCWL_UI' ) ) {
15
+
16
+ /**
17
+ * YITH_WCWL_UI class, with methods used to print user interface
18
+ *
19
+ * @since 1.0.0
20
+ */
21
+ class YITH_WCWL_UI {
22
+
23
+ /**
24
+ * Build the popup message HTML/jQuery.
25
+ *
26
+ * @return string
27
+ * @static
28
+ * @since 1.0.0
29
+ */
30
+ public static function popup_message() {
31
+ _deprecated_function( 'popup_message', '2.0.0', 'add-to-wishlist-button.php template' );
32
+ ob_start() ?>
33
+
34
+ <script type="text/javascript">
35
+ if( !jQuery( '#yith-wcwl-popup-message' ).length ) {
36
+ jQuery( 'body' ).prepend(
37
+ '<div id="yith-wcwl-popup-message" style="display:none;">' +
38
+ '<div id="yith-wcwl-message"></div>' +
39
+ '</div>'
40
+ );
41
+ }
42
+ </script>
43
+
44
+ <?php
45
+ return ob_get_clean();
46
+ }
47
+
48
+ /**
49
+ * Build the "Add to Wishlist" HTML
50
+ *
51
+ * @deprecated
52
+ * @param string $url
53
+ * @param string $product_type
54
+ * @param bool $exists
55
+ * @return string
56
+ * @static
57
+ * @since 1.0.0
58
+ */
59
+ public static function add_to_wishlist_button( $url, $product_type, $exists ) {
60
+ _deprecated_function( 'add_to_wishlist_button', '2.0.0', 'add-to-wishlist-button.php template' );
61
+
62
+ global $yith_wcwl, $product;
63
+
64
+ $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
65
+ $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
66
+
67
+ $label = apply_filters( 'yith_wcwl_button_label', $localize_label );
68
+ $icon = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
69
+
70
+ $classes = get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'class="add_to_wishlist single_add_to_wishlist button alt"' : 'class="add_to_wishlist"';
71
+
72
+ $html = '<div class="yith-wcwl-add-to-wishlist">';
73
+ $html .= '<div class="yith-wcwl-add-button'; // the class attribute is closed in the next row
74
+
75
+ $html .= $exists ? ' hide" style="display:none;"' : ' show"';
76
+
77
+ $html .= '><a href="' . esc_url( add_query_arg( 'add_to_wishlist', $product->id ) ) . '" data-product-id="' . $product->id . '" data-product-type="' . $product_type . '" ' . $classes . ' >' . $icon . $label . '</a>';
78
+ $html .= '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />';
79
+ $html .= '</div>';
80
+
81
+ $html .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><span class="feedback">' . __( 'Product added!','yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
82
+ $html .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><span class="feedback">' . __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
83
+ $html .= '<div style="clear:both"></div><div class="yith-wcwl-wishlistaddresponse"></div>';
84
+
85
+ $html .= '</div>';
86
+ $html .= '<div class="clear"></div>';
87
+
88
+ return $html;
89
+ }
90
+
91
+ /**
92
+ * Build the "Add to cart" HTML.
93
+ *
94
+ * @param string $url
95
+ * @param string $stock_status
96
+ * @param string $type
97
+ * @return string
98
+ * @static
99
+ * @since 1.0.0
100
+ */
101
+ public static function add_to_cart_button( $product_id, $stock_status ) {
102
+ _deprecated_function( 'add_to_cart_button', '2.0.0', 'wc_get_template( "loop/add-to-cart.php" )' );
103
+
104
+ global $yith_wcwl, $product;
105
+
106
+ if ( function_exists( 'get_product' ) )
107
+ $product = get_product( $product_id );
108
+ else
109
+ $product = new WC_Product( $product_id );
110
+
111
+ $url = $product->product_type == 'external' ? $yith_wcwl->get_affiliate_product_url( $product_id ) : $yith_wcwl->get_addtocart_url( $product_id );
112
+
113
+ $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
114
+ $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
115
+
116
+ $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $localize_label );
117
+ $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
118
+
119
+ $cartlink = '';
120
+ $redirect_to_cart = get_option( 'yith_wcwl_redirect_cart' ) == 'yes' && $product->product_type != 'variable' ? 'true' : 'false';
121
+ $style = ''; //indicates the style (background-color and font color)
122
+
123
+ if( get_option( 'yith_wcwl_use_button' ) == 'yes' ) {
124
+ if( $product->product_type == 'external' ) {
125
+ $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
126
+ } else {
127
+ $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '"';
128
+ }
129
+
130
+ $cartlink .= $style . '>' . $icon . $label . '</a>';
131
+ } else {
132
+ if( $product->product_type == 'external' ) {
133
+ $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
134
+ } else {
135
+ $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '">' . $icon . $label . '</a>';
136
+ }
137
+ }
138
+
139
+ return $cartlink;
140
+ }
141
+
142
+ /**
143
+ * Build share HTML.
144
+ *
145
+ * @param string $url
146
+ * @return string $string
147
+ * @static
148
+ * @since 1.0.0
149
+ */
150
+ public static function get_share_links( $url ) {
151
+ _deprecated_function( 'get_share_links', '2.0.0', 'share.php template' );
152
+
153
+ $normal_url = $url;
154
+ $url = urlencode( $url );
155
+ $title = apply_filters( 'plugin_text', urlencode( get_option( 'yith_wcwl_socials_title' ) ) );
156
+ $twitter_summary = str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) );
157
+ $summary = urlencode( str_replace( '%wishlist_url%', $normal_url, get_option( 'yith_wcwl_socials_text' ) ) );
158
+ $imageurl = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
159
+
160
+ $html = '<div class="yith-wcwl-share">';
161
+ $html .= apply_filters( 'yith_wcwl_socials_share_title', '<span>' . __( 'Share on:', 'yith-woocommerce-wishlist' ) . '</span>' );
162
+ $html .= '<ul>';
163
+
164
+ if( get_option( 'yith_wcwl_share_fb' ) == 'yes' )
165
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=' . $title . '&amp;p[url]=' . $url . '&amp;p[summary]=' . $summary . '&amp;p[images][0]=' . $imageurl . '" title="' . __( 'Facebook', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
166
+
167
+ if( get_option( 'yith_wcwl_share_twitter' ) == 'yes' )
168
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="twitter" href="https://twitter.com/share?url=' . $url . '&amp;text=' . $twitter_summary . '" title="' . __( 'Twitter', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
169
+
170
+ if( get_option( 'yith_wcwl_share_pinterest' ) == 'yes' )
171
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=' . $url . '&amp;description=' . $summary . '&media=' . $imageurl . '" onclick="window.open(this.href); return false;"></a></li>'; }
172
+
173
+ if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
174
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title=' . $title . '" title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
175
+
176
+ if( get_option( 'yith_wcwl_share_email' ) == 'yes' )
177
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a class="email" href="mailto:?subject=I wanted you to see this site&amp;body= ' . $url . '&amp;title=' . __('email', 'yith-woocommerce-wishlist') . '" title="' . $title . '" ></a></li>'; }
178
+
179
+ $html .= '</ul>';
180
+ $html .= '</div>';
181
+
182
+ return $html;
183
+ }
184
+
185
+ /**
186
+ * Adds classes to add-to-cart button
187
+ *
188
+ * @param $button_html string
189
+ * @param $product \WC_Product
190
+ * @return string
191
+ * @static
192
+ * @since 2.0.0
193
+ */
194
+ public static function alter_add_to_cart_button( $button_html, $product ){
195
+
196
+ // retrieve options
197
+ $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
198
+
199
+ $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $label_option );
200
+ if( get_option( 'yith_wcwl_frontend_css' ) != 'yes' ) {
201
+ $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
202
+ }
203
+ else{
204
+ $icon = '';
205
+ }
206
+
207
+ // customize
208
+ $match = array();
209
+ preg_match( '/<a.*class="([^"]*).*>.*<\/a>/', $button_html, $match );
210
+
211
+ if( ! empty( $match ) && isset( $match[1] ) ){
212
+ $button_html = str_replace( $match[1], $match[1] . ' add_to_cart button alt', $button_html );
213
+ }
214
+
215
+ preg_match( '/<a .*?>(.*)<\/a>/', $button_html, $match );
216
+
217
+ if( ! empty( $match ) && isset( $match[1] ) ){
218
+ $button_html = str_replace( $match[1], $icon . ' ' . $label, $button_html );
219
+ }
220
+
221
+ return $button_html;
222
+ }
223
+ }
224
  }
includes/class.yith-wcwl.php CHANGED
@@ -1,1458 +1,1458 @@
1
- <?php
2
- /**
3
- * Main class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 2.0.9
8
- */
9
-
10
- if ( ! defined( 'YITH_WCWL' ) ) {
11
- exit;
12
- } // Exit if accessed directly
13
-
14
- if ( ! class_exists( 'YITH_WCWL' ) ) {
15
- /**
16
- * WooCommerce Wishlist
17
- *
18
- * @since 1.0.0
19
- */
20
- class YITH_WCWL {
21
- /**
22
- * Single instance of the class
23
- *
24
- * @var \YITH_WCWL
25
- * @since 2.0.0
26
- */
27
- protected static $instance;
28
-
29
- /**
30
- * Errors array
31
- *
32
- * @var array
33
- * @since 1.0.0
34
- */
35
- public $errors;
36
-
37
- /**
38
- * Last operation token
39
- *
40
- * @var string
41
- * @since 2.0.0
42
- */
43
- public $last_operation_token;
44
-
45
- /**
46
- * Details array
47
- *
48
- * @var array
49
- * @since 1.0.0
50
- */
51
- public $details;
52
-
53
- /**
54
- * Messages array
55
- *
56
- * @var array
57
- * @since 1.0.0
58
- */
59
- public $messages;
60
-
61
- /**
62
- * Returns single instance of the class
63
- *
64
- * @return \YITH_WCWL
65
- * @since 2.0.0
66
- */
67
- public static function get_instance(){
68
- if( is_null( self::$instance ) ){
69
- self::$instance = new self( $_REQUEST );
70
- }
71
-
72
- return self::$instance;
73
- }
74
-
75
- /**
76
- * Constructor.
77
- *
78
- * @param array $details
79
- * @return \YITH_WCWL
80
- * @since 1.0.0
81
- */
82
- public function __construct( $details ) {
83
- $this->details = $details;
84
- $this->wcwl_init = YITH_WCWL_Init();
85
- if( is_admin() ){
86
- $this->wcwl_admin_init = YITH_WCWL_Admin_Init();
87
- }
88
-
89
- add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
90
-
91
- // add rewrite rule
92
- add_action( 'init', array( $this, 'add_rewrite_rules' ), 0 );
93
- add_filter( 'query_vars', array( $this, 'add_public_query_var' ) );
94
-
95
- add_action( 'init', array( $this, 'add_to_wishlist' ) );
96
- add_action( 'wp_ajax_add_to_wishlist', array( $this, 'add_to_wishlist_ajax' ) );
97
- add_action( 'wp_ajax_nopriv_add_to_wishlist', array( $this, 'add_to_wishlist_ajax' ) );
98
-
99
- add_action( 'init', array( $this, 'remove_from_wishlist' ) );
100
- add_action( 'wp_ajax_remove_from_wishlist', array( $this, 'remove_from_wishlist_ajax' ) );
101
- add_action( 'wp_ajax_nopriv_remove_from_wishlist', array( $this, 'remove_from_wishlist_ajax' ) );
102
-
103
- add_action( 'wp_ajax_reload_wishlist_and_adding_elem', array( $this, 'reload_wishlist_and_adding_elem_ajax' ) );
104
- add_action( 'wp_ajax_nopriv_reload_wishlist_and_adding_elem', array( $this, 'reload_wishlist_and_adding_elem_ajax' ) );
105
-
106
- add_action( 'woocommerce_add_to_cart', array( $this, 'remove_from_wishlist_after_add_to_cart' ) );
107
- add_filter( 'woocommerce_product_add_to_cart_url', array( $this, 'redirect_to_cart' ), 10, 2 );
108
-
109
- add_action( 'yith_wcwl_before_wishlist_title', array( $this, 'print_notices' ) );
110
-
111
- add_filter( 'woocommerce_add_to_cart_redirect', array( $this, 'yith_wfbt_redirect_after_add_to_cart' ), 10, 1 );
112
-
113
- // add filter for font-awesome compatibility
114
- add_filter( 'option_yith_wcwl_add_to_wishlist_icon', array( $this, 'update_font_awesome_classes' ) );
115
- add_filter( 'option_yith_wcwl_add_to_cart_icon', array( $this, 'update_font_awesome_classes' ) );
116
- }
117
-
118
- /* === PLUGIN FW LOADER === */
119
-
120
- /**
121
- * Loads plugin fw, if not yet created
122
- *
123
- * @return void
124
- * @since 2.0.0
125
- */
126
- public function plugin_fw_loader() {
127
- if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
128
- global $plugin_fw_data;
129
- if( ! empty( $plugin_fw_data ) ){
130
- $plugin_fw_file = array_shift( $plugin_fw_data );
131
- require_once( $plugin_fw_file );
132
- }
133
- }
134
- }
135
-
136
- /* === ITEMS METHODS === */
137
-
138
- /**
139
- * Check if the product exists in the wishlist.
140
- *
141
- * @param int $product_id
142
- * @return bool
143
- * @since 1.0.0
144
- */
145
- public function is_product_in_wishlist( $product_id, $wishlist_id = false ) {
146
- global $wpdb;
147
-
148
- $exists = false;
149
-
150
- if( is_user_logged_in() ) {
151
- $sql = "SELECT COUNT(*) as `cnt` FROM `{$wpdb->yith_wcwl_items}` WHERE `prod_id` = %d AND `user_id` = %d";
152
- $sql_args = array(
153
- $product_id,
154
- $this->details['user_id']
155
- );
156
-
157
- if( $wishlist_id != false ){
158
- $sql .= " AND `wishlist_id` = %d";
159
- $sql_args[] = $wishlist_id;
160
- }
161
- elseif( $default_wishlist = $this->get_wishlists( array( 'user_id' => get_current_user_id(), 'is_default' => 1 ) ) ){
162
- $default_wishlist_id = $default_wishlist[0]['ID'];
163
-
164
- $sql .= " AND `wishlist_id` = %d";
165
- $sql_args[] = $default_wishlist_id;
166
- }
167
- else{
168
- $sql .= " AND `wishlist_id` IS NULL";
169
- }
170
-
171
- $results = $wpdb->get_var( $wpdb->prepare( $sql, $sql_args ) );
172
- $exists = (bool) ( $results > 0 );
173
- }
174
- else {
175
- $wishlist = yith_getcookie( 'yith_wcwl_products' );
176
-
177
- foreach( $wishlist as $key => $item ){
178
- if( $item['wishlist_id'] == $wishlist_id && $item['prod_id'] == $product_id ){
179
- $exists = true;
180
- }
181
- }
182
- }
183
-
184
- return $exists;
185
- }
186
-
187
- /**
188
- * Add a product in the wishlist.
189
- *
190
- * @return string "error", "true" or "exists"
191
- * @since 1.0.0
192
- */
193
- public function add() {
194
- global $wpdb;
195
- $prod_id = ( isset( $this->details['add_to_wishlist'] ) && is_numeric( $this->details['add_to_wishlist'] ) ) ? $this->details['add_to_wishlist'] : false;
196
- $wishlist_id = ( isset( $this->details['wishlist_id'] ) && strcmp( $this->details['wishlist_id'], 0 ) != 0 ) ? $this->details['wishlist_id'] : false;
197
- $quantity = ( isset( $this->details['quantity'] ) ) ? ( int ) $this->details['quantity'] : 1;
198
- $user_id = ( ! empty( $this->details['user_id'] ) ) ? $this->details['user_id'] : false;
199
- $wishlist_name = ( ! empty( $this->details['wishlist_name'] ) ) ? $this->details['wishlist_name'] : '';
200
-
201
- do_action( 'yith_wcwl_adding_to_wishlist', $prod_id, $wishlist_id, $user_id );
202
-
203
- // filtering params
204
- $prod_id = apply_filters( 'yith_wcwl_adding_to_wishlist_prod_id', $prod_id );
205
- $wishlist_id = apply_filters( 'yith_wcwl_adding_to_wishlist_wishlist_id', $wishlist_id );
206
- $quantity = apply_filters( 'yith_wcwl_adding_to_wishlist_quantity', $quantity );
207
- $user_id = apply_filters( 'yith_wcwl_adding_to_wishlist_user_id', $user_id );
208
- $wishlist_name = apply_filters( 'yith_wcwl_adding_to_wishlist_wishlist_name', $wishlist_name );
209
-
210
- if ( $prod_id == false ) {
211
- $this->errors[] = __( 'An error occurred while adding products to the wishlist.', 'yith-woocommerce-wishlist' );
212
- return "error";
213
- }
214
-
215
- //check for existence, product ID, variation ID, variation data, and other cart item data
216
- if( strcmp( $wishlist_id, 'new' ) != 0 && $this->is_product_in_wishlist( $prod_id, $wishlist_id ) ) {
217
- if( $wishlist_id != false ){
218
- $wishlist = $this->get_wishlist_detail( $wishlist_id );
219
- $this->last_operation_token = $wishlist['wishlist_token'];
220
- }
221
- else{
222
- $this->last_operation_token = false;
223
- }
224
-
225
- return "exists";
226
- }
227
-
228
- if( $user_id != false ) {
229
-
230
- $insert_args = array(
231
- 'prod_id' => $prod_id,
232
- 'user_id' => $user_id,
233
- 'quantity' => $quantity,
234
- 'dateadded' => date( 'Y-m-d H:i:s' )
235
- );
236
-
237
- if( ! empty( $wishlist_id ) && strcmp( $wishlist_id, 'new' ) != 0 ){
238
- $insert_args[ 'wishlist_id' ] = $wishlist_id;
239
-
240
- $wishlist = $this->get_wishlist_detail( $insert_args[ 'wishlist_id' ] );
241
- $this->last_operation_token = $wishlist['wishlist_token'];
242
- }
243
- elseif( strcmp( $wishlist_id, 'new' ) == 0 ){
244
- if( function_exists( 'YITH_WCWL_Premium' ) ){
245
- $response = YITH_WCWL_Premium()->add_wishlist();
246
- }
247
- else{
248
- $response = $this->add_wishlist();
249
- }
250
-
251
- if( $response == "error" ){
252
- return "error";
253
- }
254
- else{
255
- $insert_args[ 'wishlist_id' ] = $response;
256
-
257
- $wishlist = $this->get_wishlist_detail( $insert_args[ 'wishlist_id' ] );
258
- $this->last_operation_token = $wishlist['wishlist_token'];
259
- }
260
- }
261
- elseif( empty( $wishlist_id ) ){
262
- $wishlist_id = $this->generate_default_wishlist( $user_id );
263
- $insert_args[ 'wishlist_id' ] = $wishlist_id;
264
-
265
- if( $this->is_product_in_wishlist( $prod_id, $wishlist_id ) ){
266
- return "exists";
267
- }
268
- }
269
-
270
- $result = $wpdb->insert( $wpdb->yith_wcwl_items, $insert_args );
271
- }
272
- else {
273
- $cookie = array(
274
- 'prod_id' => $prod_id,
275
- 'quantity' => $quantity,
276
- 'wishlist_id' => $wishlist_id
277
- );
278
-
279
- $wishlist = yith_getcookie( 'yith_wcwl_products' );
280
- $found = $this->is_product_in_wishlist( $prod_id, $wishlist_id );
281
-
282
- if( ! $found ){
283
- $wishlist[] = $cookie;
284
- }
285
-
286
- yith_setcookie( 'yith_wcwl_products', $wishlist );
287
-
288
- $result = true;
289
- }
290
-
291
- if( $result ) {
292
- do_action( 'yith_wcwl_added_to_wishlist', $prod_id, $wishlist_id, $user_id );
293
- return "true";
294
- }
295
- else {
296
- $this->errors[] = __( 'An error occurred while adding products to wishlist.', 'yith-woocommerce-wishlist' );
297
- return "error";
298
- }
299
- }
300
-
301
- /**
302
- * Remove an entry from the wishlist.
303
- *
304
- * @return bool
305
- * @since 1.0.0
306
- */
307
- public function remove( $id = false ) {
308
- global $wpdb;
309
-
310
- if( ! empty( $id ) ) {
311
- _deprecated_argument( 'YITH_WCWL->remove()', '2.0.0', __( 'The "Remove" option now does not require any parameter' ) );
312
- }
313
-
314
- $prod_id = ( isset( $this->details['remove_from_wishlist'] ) && is_numeric( $this->details['remove_from_wishlist'] ) ) ? $this->details['remove_from_wishlist'] : false;
315
- $wishlist_id = ( isset( $this->details['wishlist_id'] ) && is_numeric( $this->details['wishlist_id'] ) ) ? $this->details['wishlist_id'] : false;
316
- $user_id = ( ! empty( $this->details['user_id'] ) ) ? $this->details['user_id'] : false;
317
-
318
- if( $prod_id == false ){
319
- return false;
320
- }
321
-
322
- if ( is_user_logged_in() ) {
323
- $sql = "DELETE FROM {$wpdb->yith_wcwl_items} WHERE user_id = %d AND prod_id = %d";
324
- $sql_args = array(
325
- $user_id,
326
- $prod_id
327
- );
328
-
329
- if( empty( $wishlist_id ) ){
330
- $wishlist_id = $this->generate_default_wishlist( get_current_user_id() );
331
- }
332
-
333
- $wishlist = $this->get_wishlist_detail( $wishlist_id );
334
- $this->last_operation_token = $wishlist['wishlist_token'];
335
-
336
- $sql .= " AND wishlist_id = %d";
337
- $sql_args[] = $wishlist_id;
338
-
339
- $result = $wpdb->query( $wpdb->prepare( $sql, $sql_args ) );
340
-
341
- if ( $result ) {
342
- return true;
343
- }
344
- else {
345
- $this->errors[] = __( 'An error occurred while removing products from the wishlist', 'yith-woocommerce-wishlist' );
346
- return false;
347
- }
348
- }
349
- else {
350
- $wishlist = yith_getcookie( 'yith_wcwl_products' );
351
-
352
- foreach( $wishlist as $key => $item ){
353
- if( $item['wishlist_id'] == $wishlist_id && $item['prod_id'] == $prod_id ){
354
- unset( $wishlist[ $key ] );
355
- }
356
- }
357
-
358
- yith_setcookie( 'yith_wcwl_products', $wishlist );
359
-
360
- return true;
361
- }
362
- }
363
-
364
- /**
365
- * Retrieve the number of products in the wishlist.
366
- *
367
- * @return int
368
- * @since 1.0.0
369
- */
370
- public function count_products( $wishlist_token = false ) {
371
- global $wpdb;
372
-
373
- if( is_user_logged_in() || $wishlist_token != false ) {
374
- $sql = "SELECT COUNT(*) AS `cnt`
375
- FROM `{$wpdb->yith_wcwl_items}` AS i
376
- LEFT JOIN `{$wpdb->yith_wcwl_wishlists}` AS l ON l.ID = i.wishlist_id";
377
-
378
- if( ! empty( $wishlist_token ) ){
379
- $sql .= " WHERE l.`wishlist_token` = %s";
380
- $query = $wpdb->prepare( $sql, $wishlist_token );
381
- }
382
- else{
383
- $sql .= " WHERE l.`is_default` = %d AND l.`user_id` = %d";
384
- $query = $wpdb->prepare( $sql, array( 1, get_current_user_id() ) );
385
- }
386
-
387
- $results = $wpdb->get_var( $query );
388
- return $results;
389
- }
390
- else {
391
- $cookie = yith_getcookie( 'yith_wcwl_products' );
392
-
393
- return count( $cookie );
394
- }
395
- }
396
-
397
- /**
398
- * Count all user items in wishlists
399
- *
400
- * @return int Count of items added all over wishlist from current user
401
- * @since 2.0.12
402
- */
403
- public function count_all_products() {
404
- global $wpdb;
405
-
406
- if( is_user_logged_in() ) {
407
- $sql = "SELECT COUNT(*) AS `cnt`
408
- FROM `{$wpdb->yith_wcwl_items}` AS i
409
- WHERE i.`user_id` = %d";
410
-
411
- $query = $wpdb->prepare( $sql, get_current_user_id() );
412
-
413
- $results = $wpdb->get_var( $query );
414
- return $results;
415
- }
416
- else {
417
- $cookie = yith_getcookie( 'yith_wcwl_products' );
418
-
419
- return count( $cookie );
420
- }
421
- }
422
-
423
- /**
424
- * Retrieve elements of the wishlist for a specific user
425
- *
426
- * @return array
427
- * @since 2.0.0
428
- */
429
- public function get_products( $args = array() ) {
430
- global $wpdb;
431
-
432
- $default = array(
433
- 'user_id' => ( is_user_logged_in() ) ? get_current_user_id(): false,
434
- 'product_id' => false,
435
- 'wishlist_id' => false, //wishlist_id for a specific wishlist, false for default, or all for any wishlist
436
- 'wishlist_token' => false,
437
- 'wishlist_visibility' => 'all', // all, visible, public, shared, private
438
- 'is_default' => false,
439
- 'id' => false, // only for table select
440
- 'limit' => false,
441
- 'offset' => 0
442
- );
443
-
444
- $args = wp_parse_args( $args, $default );
445
- extract( $args );
446
-
447
- if( ! empty( $user_id ) || ! empty( $wishlist_token ) ) {
448
- $sql = "SELECT *
449
- FROM `{$wpdb->yith_wcwl_items}` AS i
450
- LEFT JOIN {$wpdb->yith_wcwl_wishlists} AS l ON l.`ID` = i.`wishlist_id` WHERE 1";
451
-
452
- if( ! empty( $user_id ) ){
453
- $sql .= " AND i.`user_id` = %d";
454
- $sql_args = array( $user_id );
455
- }
456
-
457
- if( ! empty( $product_id ) ){
458
- $sql .= " AND i.`prod_id` = %d";
459
- $sql_args[] = $product_id;
460
- }
461
-
462
- if( ! empty( $wishlist_id ) ){
463
- $sql .= " AND i.`wishlist_id` = %d";
464
- $sql_args[] = $wishlist_id;
465
- }
466
- elseif( empty( $wishlist_id ) && empty( $wishlist_token ) && $is_default != 1 ){
467
- $sql .= " AND i.`wishlist_id` IS NULL";
468
- }
469
-
470
- if( ! empty( $wishlist_token ) ){
471
- $sql .= " AND l.`wishlist_token` = %s";
472
- $sql_args[] = $wishlist_token;
473
- }
474
-
475
- if( ! empty( $wishlist_visibility ) && $wishlist_visibility != 'all' ){
476
- switch( $wishlist_visibility ){
477
- case 'visible':
478
- $sql .= " AND ( l.`wishlist_privacy` = %d OR l.`wishlist_privacy` = %d )";
479
- $sql_args[] = 0;
480
- $sql_args[] = 1;
481
- break;
482
- case 'public':
483
- $sql .= " AND l.`wishlist_privacy` = %d";
484
- $sql_args[] = 0;
485
- break;
486
- case 'shared':
487
- $sql .= " AND l.`wishlist_privacy` = %d";
488
- $sql_args[] = 1;
489
- break;
490
- case 'private':
491
- $sql .= " AND l.`wishlist_privacy` = %d";
492
- $sql_args[] = 2;
493
- break;
494
- default:
495
- $sql .= " AND l.`wishlist_privacy` = %d";
496
- $sql_args[] = 0;
497
- break;
498
- }
499
- }
500
-
501
- if( $is_default !== false ){
502
- if( ! empty( $user_id ) ){
503
- $this->generate_default_wishlist( $user_id );
504
- }
505
-
506
- $sql .= " AND l.`is_default` = %d";
507
- $sql_args[] = $is_default;
508
- }
509
-
510
- if( ! empty( $id ) ){
511
- $sql .= " AND `i.ID` = %d";
512
- $sql_args[] = $id;
513
- }
514
-
515
- if( ! empty( $limit ) ){
516
- $sql .= " LIMIT " . $offset . ", " . $limit;
517
- }
518
-
519
- $wishlist = $wpdb->get_results( $wpdb->prepare( $sql, $sql_args ), ARRAY_A );
520
- }
521
- else{
522
- $wishlist = yith_getcookie( 'yith_wcwl_products' );
523
-
524
- foreach( $wishlist as $key => $cookie ){
525
- if( ! empty( $product_id ) && $cookie['prod_id'] != $product_id ){
526
- unset( $wishlist[ $key ] );
527
- }
528
-
529
- if( ( ! empty( $wishlist_id ) && $wishlist_id != 'all' ) && $cookie['wishlist_id'] != $wishlist_id ){
530
- unset( $wishlist[ $key ] );
531
- }
532
- }
533
-
534
- if( ! empty( $limit ) ){
535
- $wishlist = array_slice( $wishlist, $offset, $limit );
536
- }
537
- }
538
-
539
- return $wishlist;
540
- }
541
-
542
- /**
543
- * Count product occurrencies in users wishlists
544
- *
545
- * @param $product_id int
546
- *
547
- * @return int
548
- * @since 2.0.0
549
- */
550
- public function count_product_occurrencies( $product_id ) {
551
- global $wpdb;
552
- $sql = "SELECT COUNT(*) FROM {$wpdb->yith_wcwl_items} WHERE `prod_id` = %d";
553
-
554
- return $wpdb->get_var( $wpdb->prepare( $sql, $product_id ) );
555
- }
556
-
557
- /**
558
- * Retrieve details of a product in the wishlist.
559
- *
560
- * @param int $id
561
- * @param string $request_from
562
- * @return array
563
- * @since 1.0.0
564
- */
565
- public function get_product_details( $product_id, $wishlist_id = false ) {
566
- global $wpdb;
567
-
568
- return $this->get_products(
569
- array(
570
- 'prod_id' => $product_id,
571
- 'wishlist_id' => $wishlist_id
572
- )
573
- );
574
- }
575
-
576
- /**
577
- * Returns an array of users that created and populated a public wishlist
578
- *
579
- * @param $search array Array of arguments for the search
580
- * @return array
581
- * @since 2.0.0
582
- */
583
- public function get_users_with_wishlist( $args = array() ){
584
- global $wpdb;
585
-
586
- $default = array(
587
- 'search' => false,
588
- 'limit' => false,
589
- 'offset' => 0
590
- );
591
-
592
- $args = wp_parse_args( $args, $default );
593
- extract( $args );
594
-
595
- $sql = "SELECT DISTINCT i.user_id
596
- FROM {$wpdb->yith_wcwl_items} AS i
597
- LEFT JOIN {$wpdb->yith_wcwl_wishlists} AS l ON i.wishlist_id = l.ID";
598
-
599
- if( ! empty( $search ) ){
600
- $sql .= " LEFT JOIN `{$wpdb->users}` AS u ON l.`user_id` = u.ID";
601
- $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS umn ON umn.`user_id` = u.`ID`";
602
- $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS ums ON ums.`user_id` = u.`ID`";
603
- }
604
-
605
- $sql .= " WHERE l.wishlist_privacy = %d";
606
- $sql_args = array( 0 );
607
-
608
- if( ! empty( $search ) ){
609
- $sql .= " AND ( umn.`meta_key` LIKE %s AND ums.`meta_key` LIKE %s AND ( u.`user_email` LIKE %s OR u.`user_login` LIKE %s OR umn.`meta_value` LIKE %s OR ums.`meta_value` LIKE %s ) )";
610
- $sql_args[] = 'first_name';
611
- $sql_args[] = 'last_name';
612
- $sql_args[] = "%" . $search . "%";
613
- $sql_args[] = "%" . $search . "%";
614
- $sql_args[] = "%" . $search . "%";
615
- $sql_args[] = "%" . $search . "%";
616
- }
617
-
618
- if( ! empty( $limit ) ){
619
- $sql .= " LIMIT " . $offset . ", " . $limit;
620
- }
621
-
622
- $res = $wpdb->get_col( $wpdb->prepare( $sql, $sql_args ) );
623
- return $res;
624
- }
625
-
626
- /**
627
- * Count users that have public wishlists
628
- *
629
- * @param $search string
630
- * @return int
631
- * @since 2.0.0
632
- */
633
- public function count_users_with_wishlists( $search ){
634
- return count( $this->get_users_with_wishlist( array( 'search' => $search ) ) );
635
- }
636
-
637
- /* === WISHLISTS METHODS === */
638
-
639
- /**
640
- * Add a new wishlist for the user.
641
- *
642
- * @return string "error", "exists" or id of the inserted wishlist
643
- * @since 2.0.0
644
- */
645
- public function add_wishlist() {
646
- $user_id = ( ! empty( $this->details['user_id'] ) ) ? $this->details['user_id'] : false;
647
-
648
- if( $user_id == false ){
649
- $this->errors[] = __( 'You need to log in before creating a new wishlist', 'yith-woocommerce-wishlist' );
650
- return "error";
651
- }
652
-
653
- return $this->generate_default_wishlist( $user_id );
654
- }
655
-
656
- /**
657
- * Update wishlist with arguments passed as second parameter
658
- *
659
- * @param $wishlist_id int
660
- * @param $args array Array of parameters to user in $wpdb->update
661
- * @return bool
662
- * @since 2.0.0
663
- */
664
- public function update_wishlist( $wishlist_id, $args = array() ) {
665
- return false;
666
- }
667
-
668
- /**
669
- * Delete indicated wishlist
670
- *
671
- * @param $wishlist_id int
672
- * @return bool
673
- * @since 2.0.0
674
- */
675
- public function remove_wishlist( $wishlist_id ) {
676
- return false;
677
- }
678
-
679
- /**
680
- * Checks if a wishlist with the given slug is already in the db
681
- *
682
- * @param string $wishlist_slug
683
- * @param int $user_id
684
- * @return bool
685
- * @since 2.0.0
686
- */
687
- public function wishlist_exists( $wishlist_slug, $user_id ) {
688
- global $wpdb;
689
- $sql = "SELECT COUNT(*) AS `cnt` FROM `{$wpdb->yith_wcwl_wishlists}` WHERE `wishlist_slug` = %s AND `user_id` = %d";
690
- $sql_args = array(
691
- $wishlist_slug,
692
- $user_id
693
- );
694
-
695
- $res = $wpdb->get_var( $wpdb->prepare( $sql, $sql_args ) );
696
-
697
- return (bool) ( $res > 0 );
698
- }
699
-
700
- /**
701
- * Retrieve all the wishlist matching speciefied arguments
702
- *
703
- * @return array
704
- * @since 2.0.0
705
- */
706
- public function get_wishlists( $args = array() ){
707
- global $wpdb;
708
-
709
- $default = array(
710
- 'id' => false,
711
- 'user_id' => ( is_user_logged_in() ) ? get_current_user_id(): false,
712
- 'wishlist_slug' => false,
713
- 'wishlist_name' => false,
714
- 'wishlist_token' => false,
715
- 'wishlist_visibility' => 'all', // all, visible, public, shared, private
716
- 'user_search' => false,
717
- 'is_default' => false,
718
- 'orderby' => 'ID',
719
- 'order' => 'DESC',
720
- 'limit' => false,
721
- 'offset' => 0,
722
- 'show_empty' => true
723
- );
724
-
725
- $args = wp_parse_args( $args, $default );
726
- extract( $args );
727
-
728
- $sql = "SELECT l.*";
729
-
730
- if( ! empty( $user_search ) ){
731
- $sql .= ", u.user_email, umn.meta_value AS first_name, ums.meta_value AS last_name";
732
- }
733
-
734
- $sql .= " FROM `{$wpdb->yith_wcwl_wishlists}` AS l";
735
-
736
- if( ! empty( $user_search ) || $orderby == 'user_login' ) {
737
- $sql .= " LEFT JOIN `{$wpdb->users}` AS u ON l.`user_id` = u.ID";
738
- }
739
-
740
- if( ! empty( $user_search ) ){
741
- $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS umn ON umn.`user_id` = u.`ID`";
742
- $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS ums ON ums.`user_id` = u.`ID`";
743
- }
744
-
745
- $sql .= " WHERE 1";
746
-
747
- if( ! empty( $user_id ) ){
748
- $sql .= " AND l.`user_id` = %d";
749
-
750
- $sql_args = array(
751
- $user_id
752
- );
753
- }
754
-
755
- if( ! empty( $user_search ) ){
756
- $sql .= " AND ( umn.`meta_key` LIKE %s AND ums.`meta_key` LIKE %s AND ( u.`user_email` LIKE %s OR umn.`meta_value` LIKE %s OR ums.`meta_value` LIKE %s ) )";
757
- $sql_args[] = 'first_name';
758
- $sql_args[] = 'last_name';
759
- $sql_args[] = "%" . $user_search . "%";
760
- $sql_args[] = "%" . $user_search . "%";
761
- $sql_args[] = "%" . $user_search . "%";
762
- }
763
-
764
- if( $is_default !== false ){
765
- $sql .= " AND l.`is_default` = %d";
766
- $sql_args[] = $is_default;
767
- }
768
-
769
- if( ! empty( $id ) ){
770
- $sql .= " AND l.`ID` = %d";
771
- $sql_args[] = $id;
772
- }
773
-
774
- if( $wishlist_slug !== false ){
775
- $sql .= " AND l.`wishlist_slug` = %s";
776
- $sql_args[] = sanitize_title_with_dashes( $wishlist_slug );
777
- }
778
-
779
- if( ! empty( $wishlist_token ) ){
780
- $sql .= " AND l.`wishlist_token` = %s";
781
- $sql_args[] = $wishlist_token;
782
- }
783
-
784
- if( ! empty( $wishlist_name ) ){
785
- $sql .= " AND l.`wishlist_name` LIKE %s";
786
- $sql_args[] = "%" . $wishlist_name . "%";
787
- }
788
-
789
- if( ! empty( $wishlist_visibility ) && $wishlist_visibility != 'all' ){
790
- switch( $wishlist_visibility ){
791
- case 'visible':
792
- $sql .= " AND ( l.`wishlist_privacy` = %d OR l.`is_public` = %d )";
793
- $sql_args[] = 0;
794
- $sql_args[] = 1;
795
- break;
796
- case 'public':
797
- $sql .= " AND l.`wishlist_privacy` = %d";
798
- $sql_args[] = 0;
799
- break;
800
- case 'shared':
801
- $sql .= " AND l.`wishlist_privacy` = %d";
802
- $sql_args[] = 1;
803
- break;
804
- case 'private':
805
- $sql .= " AND l.`wishlist_privacy` = %d";
806
- $sql_args[] = 2;
807
- break;
808
- default:
809
- $sql .= " AND l.`wishlist_privacy` = %d";
810
- $sql_args[] = 0;
811
- break;
812
- }
813
- }
814
-
815
- if( ! $show_empty ){
816
- $sql .= " AND l.`ID` IN ( SELECT wishlist_id FROM {$wpdb->yith_wcwl_items} )";
817
- }
818
-
819
- $sql .= " ORDER BY " . $orderby . " " . $order;
820
-
821
- if( ! empty( $limit ) ){
822
- $sql .= " LIMIT " . $offset . ", " . $limit;
823
- }
824
-
825
- if( ! empty( $sql_args ) ){
826
- $sql = $wpdb->prepare( $sql, $sql_args );
827
- }
828
-
829
- $lists = $wpdb->get_results( $sql, ARRAY_A );
830
-
831
- return $lists;
832
- }
833
-
834
- /**
835
- * Returns details of a wishlist, searching it by wishlist id
836
- *
837
- * @param $wishlist_id int
838
- * @return array
839
- * @since 2.0.0
840
- */
841
- public function get_wishlist_detail( $wishlist_id ) {
842
- global $wpdb;
843
-
844
- $sql = "SELECT * FROM {$wpdb->yith_wcwl_wishlists} WHERE `ID` = %d";
845
- return $wpdb->get_row( $wpdb->prepare( $sql, $wishlist_id ), ARRAY_A );
846
- }
847
-
848
- /**
849
- * Returns details of a wishlist, searching it by wishlist token
850
- *
851
- * @param $wishlist_id int
852
- * @return array
853
- * @since 2.0.0
854
- */
855
- public function get_wishlist_detail_by_token( $wishlist_token ) {
856
- global $wpdb;
857
-
858
- $sql = "SELECT * FROM {$wpdb->yith_wcwl_wishlists} WHERE `wishlist_token` = %s";
859
- return $wpdb->get_row( $wpdb->prepare( $sql, $wishlist_token ), ARRAY_A );
860
- }
861
-
862
- /**
863
- * Generate default wishlist for a specific user, adding all NULL items of the user to it
864
- *
865
- * @param $user_id int
866
- * @return int Default wishlist id
867
- * @since 2.0.0
868
- */
869
- public function generate_default_wishlist( $user_id ){
870
- global $wpdb;
871
-
872
- $wishlists = $this->get_wishlists( array(
873
- 'user_id' => $user_id,
874
- 'is_default' => 1
875
- ) );
876
-
877
- if( ! empty( $wishlists ) ){
878
- $default_user_wishlist = $wishlists[0]['ID'];
879
- $this->last_operation_token = $wishlists[0]['wishlist_token'];
880
- }
881
- else{
882
- $token = $this->generate_wishlist_token();
883
- $this->last_operation_token = $token;
884
-
885
- $wpdb->insert( $wpdb->yith_wcwl_wishlists, array(
886
- 'user_id' => $user_id,
887
- 'wishlist_slug' => '',
888
- 'wishlist_token' => $token,
889
- 'wishlist_name' => '',
890
- 'wishlist_privacy' => 0,
891
- 'is_default' => 1
892
- ) );
893
-
894
- $default_user_wishlist = $wpdb->insert_id;
895
- }
896
-
897
- $sql = "UPDATE {$wpdb->yith_wcwl_items} SET wishlist_id = %d WHERE user_id = %d AND wishlist_id IS NULL";
898
- $sql_args = array(
899
- $default_user_wishlist,
900
- $user_id
901
- );
902
-
903
- $wpdb->query( $wpdb->prepare( $sql, $sql_args ) );
904
-
905
- return $default_user_wishlist;
906
- }
907
-
908
- /**
909
- * Generate a token to visit wishlist
910
- *
911
- * @return string token
912
- * @since 2.0.0
913
- */
914
- public function generate_wishlist_token(){
915
- global $wpdb;
916
- $count = 0;
917
- $sql = "SELECT COUNT(*) FROM `{$wpdb->yith_wcwl_wishlists}` WHERE `wishlist_token` = %s";
918
-
919
- do {
920
- $dictionary = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
921
- $nchars = 12;
922
- $token = "";
923
-
924
- for( $i = 0; $i <= $nchars - 1; $i++ ){
925
- $token .= $dictionary[ mt_rand( 0, strlen( $dictionary ) - 1 ) ];
926
- }
927
-
928
- $count = $wpdb->get_var( $wpdb->prepare( $sql, $token ) );
929
- }
930
- while( $count != 0 );
931
-
932
- return $token;
933
- }
934
-
935
- /* === GENERAL METHODS === */
936
-
937
- /**
938
- * Add rewrite rules for wishlist
939
- *
940
- * @return void
941
- * @since 2.0.0
942
- */
943
- public function add_rewrite_rules() {
944
- global $wp_query;
945
- $wishlist_page_id = isset( $_POST['yith_wcwl_wishlist_page_id'] ) ? $_POST['yith_wcwl_wishlist_page_id'] : get_option( 'yith_wcwl_wishlist_page_id' );
946
- $wishlist_page_id = yith_wcwl_object_id( $wishlist_page_id );
947
-
948
- if( empty( $wishlist_page_id ) ){
949
- return;
950
- }
951
-
952
- $wishlist_page = get_post( $wishlist_page_id );
953
- $wishlist_page_slug = $wishlist_page->post_name;
954
-
955
- add_rewrite_rule( '(([^/]+/)*' . $wishlist_page_slug . ')(/(.*))?/page/([0-9]{1,})/?$', 'index.php?pagename=$matches[1]&wishlist-action=$matches[4]&paged=$matches[5]', 'top' );
956
- add_rewrite_rule( '(([^/]+/)*' . $wishlist_page_slug . ')(/(.*))?/?$', 'index.php?pagename=$matches[1]&wishlist-action=$matches[4]', 'top' );
957
- }
958
-
959
- /**
960
- * Adds public query var for wishlist
961
- *
962
- * @param $public_var array
963
- * @return array
964
- * @since 2.0.0
965
- */
966
- public function add_public_query_var( $public_var ) {
967
- $public_var[] = 'wishlist-action';
968
- $public_var[] = 'wishlist_id';
969
-
970
- return $public_var;
971
- }
972
-
973
- /**
974
- * Get all errors in HTML mode or simple string.
975
- *
976
- * @param bool $html
977
- * @return string
978
- * @since 1.0.0
979
- */
980
- public function get_errors( $html = true ) {
981
- return implode( ( $html ? '<br />' : ', ' ), $this->errors );
982
- }
983
-
984
- /**
985
- * Build wishlist page URL.
986
- *
987
- * @return string
988
- * @since 1.0.0
989
- */
990
- public function get_wishlist_url( $action = 'view' ) {
991
- global $sitepress;
992
- $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) );
993
-
994
- if( get_option( 'permalink_structure' ) && ! defined( 'ICL_PLUGIN_PATH' ) ) {
995
- $wishlist_permalink = trailingslashit( get_the_permalink( $wishlist_page_id ) );
996
- $base_url = trailingslashit( $wishlist_permalink . $action );
997
- }
998
- else{
999
- $base_url = get_the_permalink( $wishlist_page_id );
1000
- $action_params = explode( '/', $action );
1001
- $params = array();
1002
-
1003
- if( isset( $action_params[1] ) ){
1004
- $action = $action_params[0];
1005
- $params['wishlist-action'] = $action;
1006
-
1007
- if( $action == 'view' ){
1008
- $params['wishlist_id'] = $action_params[1];
1009
- }
1010
- elseif( $action == 'user' ){
1011
- $params['user_id'] = $action_params[1];
1012
- }
1013
- }
1014
- else{
1015
- $params['wishlist-action'] = $action;
1016
- }
1017
-
1018
- $base_url = add_query_arg( $params, $base_url );
1019
- }
1020
-
1021
- if( defined( 'ICL_PLUGIN_PATH' ) && $sitepress->get_current_language() != $sitepress->get_default_language() ){
1022
- $base_url = add_query_arg( 'lang', $sitepress->get_current_language(), $base_url );
1023
- }
1024
-
1025
- return apply_filters( 'yith_wcwl_wishlist_page_url', esc_url_raw( $base_url ) );
1026
- }
1027
-
1028
- /**
1029
- * Build the URL used to remove an item from the wishlist.
1030
- *
1031
- * @param int $item_id
1032
- * @return string
1033
- * @since 1.0.0
1034
- */
1035
- public function get_remove_url( $item_id ) {
1036
- return esc_url( add_query_arg( 'remove_from_wishlist', $item_id ) );
1037
- }
1038
-
1039
- /**
1040
- * Build the URL used to add an item in the wishlist.
1041
- *
1042
- * @return string
1043
- * @since 1.0.0
1044
- */
1045
- public function get_addtowishlist_url() {
1046
- global $product;
1047
-
1048
- return esc_url( add_query_arg( 'add_to_wishlist', $product->id ) );
1049
- }
1050
-
1051
- /**
1052
- * Build the URL used to add an item to the cart from the wishlist.
1053
- *
1054
- * @param int $id
1055
- * @param int $user_id
1056
- * @return string
1057
- * @since 1.0.0
1058
- */
1059
- public function get_addtocart_url( $id, $user_id = '' ) {
1060
- _deprecated_function( 'YITH_WCWL::get_addtocart_url', '2.0.0' );
1061
-
1062
- //$product = $yith_wcwl->get_product_details( $id );
1063
- if ( function_exists( 'get_product' ) )
1064
- $product = get_product( $id );
1065
- else
1066
- $product = new WC_Product( $id );
1067
-
1068
- if ( $product->product_type == 'variable' ) {
1069
- return get_permalink( $product->id );
1070
- }
1071
-
1072
- $url = YITH_WCWL_URL . 'add-to-cart.php?wishlist_item_id=' . rtrim( $id, '_' );
1073
-
1074
- if( $user_id != '' ) {
1075
- $url .= '&id=' . $user_id;
1076
- }
1077
-
1078
- return $url;
1079
- }
1080
-
1081
- /**
1082
- * Build the URL used for an external/affiliate product.
1083
- *
1084
- * @deprecated
1085
- * @param $id
1086
- * @return string
1087
- */
1088
- public function get_affiliate_product_url( $id ) {
1089
- _deprecated_function( 'YITH_WCWL::get_affiliate_product_url', '2.0.0' );
1090
- $product = get_product( $id );
1091
- return get_post_meta( $product->id, '_product_url', true );
1092
- }
1093
-
1094
- /**
1095
- * Build an URL with the nonce added.
1096
- *
1097
- * @param string $action
1098
- * @param string $url
1099
- * @return string
1100
- * @since 1.0.0
1101
- */
1102
- public function get_nonce_url( $action, $url = '' ) {
1103
- return esc_url( add_query_arg( '_n', wp_create_nonce( 'yith-wcwl-' . $action ), $url ) );
1104
- }
1105
-
1106
- /**
1107
- * Prints wc notice for wishlist pages
1108
- *
1109
- * @return void
1110
- * @since 2.0.5
1111
- */
1112
- public function print_notices() {
1113
- global $woocommerce;
1114
-
1115
- // Start wishlist page printing
1116
- if( function_exists( 'wc_print_notices' ) ) {
1117
- wc_print_notices();
1118
- }
1119
- elseif( method_exists( $woocommerce, 'show_message' ) ){
1120
- $woocommerce->show_messages();
1121
- }
1122
- }
1123
-
1124
- /* === FONTAWESOME FIX === */
1125
-
1126
- /**
1127
- * Modernize font-awesome class, for old wishlist users
1128
- *
1129
- * @param $class string Original font-awesome class
1130
- * @return string Filtered font-awesome class
1131
- * @since 2.0.2
1132
- */
1133
- public function update_font_awesome_classes( $class ) {
1134
- $exceptions = array(
1135
- 'icon-envelope' => 'fa-envelope-o',
1136
- 'icon-star-empty' => 'fa-star-o',
1137
- 'icon-ok' => 'fa-check',
1138
- 'icon-zoom-in' => 'fa-search-plus',
1139
- 'icon-zoom-out' => 'fa-search-minus',
1140
- 'icon-off' => 'fa-power-off',
1141
- 'icon-trash' => 'fa-trash-o',
1142
- 'icon-share' => 'fa-share-square-o',
1143
- 'icon-check' => 'fa-check-square-o',
1144
- 'icon-move' => 'fa-arrows',
1145
- 'icon-file' => 'fa-file-o',
1146
- 'icon-time' => 'fa-clock-o',
1147
- 'icon-download-alt' => 'fa-download',
1148
- 'icon-download' => 'fa-arrow-circle-o-down',
1149
- 'icon-upload' => 'fa-arrow-circle-o-up',
1150
- 'icon-play-circle' => 'fa-play-circle-o',
1151
- 'icon-indent-left' => 'fa-dedent',
1152
- 'icon-indent-right' => 'fa-indent',
1153
- 'icon-facetime-video' => 'fa-video-camera',
1154
- 'icon-picture' => 'fa-picture-o',
1155
- 'icon-plus-sign' => 'fa-plus-circle',
1156
- 'icon-minus-sign' => 'fa-minus-circle',
1157
- 'icon-remove-sign' => 'fa-times-circle',
1158
- 'icon-ok-sign' => 'fa-check-circle',
1159
- 'icon-question-sign' => 'fa-question-circle',
1160
- 'icon-info-sign' => 'fa-info-circle',
1161
- 'icon-screenshot' => 'fa-crosshairs',
1162
- 'icon-remove-circle' => 'fa-times-circle-o',
1163
- 'icon-ok-circle' => 'fa-check-circle-o',
1164
- 'icon-ban-circle' => 'fa-ban',
1165
- 'icon-share-alt' => 'fa-share',
1166
- 'icon-resize-full' => 'fa-expand',
1167
- 'icon-resize-small' => 'fa-compress',
1168
- 'icon-exclamation-sign' => 'fa-exclamation-circle',
1169
- 'icon-eye-open' => 'fa-eye',
1170
- 'icon-eye-close' => 'fa-eye-slash',
1171
- 'icon-warning-sign' => 'fa-warning',
1172
- 'icon-folder-close' => 'fa-folder',
1173
- 'icon-resize-vertical' => 'fa-arrows-v',
1174
- 'icon-resize-horizontal' => 'fa-arrows-h',
1175
- 'icon-twitter-sign' => 'fa-twitter-square',
1176
- 'icon-facebook-sign' => 'fa-facebook-square',
1177
- 'icon-thumbs-up' => 'fa-thumbs-o-up',
1178
- 'icon-thumbs-down' => 'fa-thumbs-o-down',
1179
- 'icon-heart-empty' => 'fa-heart-o',
1180
- 'icon-signout' => 'fa-sign-out',
1181
- 'icon-linkedin-sign' => 'fa-linkedin-square',
1182
- 'icon-pushpin' => 'fa-thumb-tack',
1183
- 'icon-signin' => 'fa-sign-in',
1184
- 'icon-github-sign' => 'fa-github-square',
1185
- 'icon-upload-alt' => 'fa-upload',
1186
- 'icon-lemon' => 'fa-lemon-o',
1187
- 'icon-check-empty' => 'fa-square-o',
1188
- 'icon-bookmark-empty' => 'fa-bookmark-o',
1189
- 'icon-phone-sign' => 'fa-phone-square',
1190
- 'icon-hdd' => 'fa-hdd-o',
1191
- 'icon-hand-right' => 'fa-hand-o-right',
1192
- 'icon-hand-left' => 'fa-hand-o-left',
1193
- 'icon-hand-up' => 'fa-hand-o-up',
1194
- 'icon-hand-down' => 'fa-hand-o-down',
1195
- 'icon-circle-arrow-left' => 'fa-arrow-circle-left',
1196
- 'icon-circle-arrow-right' => 'fa-arrow-circle-right',
1197
- 'icon-circle-arrow-up' => 'fa-arrow-circle-up',
1198
- 'icon-circle-arrow-down' => 'fa-arrow-circle-down',
1199
- 'icon-fullscreen' => 'fa-arrows-alt',
1200
- 'icon-beaker' => 'fa-flask',
1201
- 'icon-paper-clip' => 'fa-paperclip',
1202
- 'icon-sign-blank' => 'fa-square',
1203
- 'icon-pinterest-sign' => 'fa-pinterest-square',
1204
- 'icon-google-plus-sign' => 'fa-google-plus-square',
1205
- 'icon-envelope-alt' => 'fa-envelope',
1206
- 'icon-comment-alt' => 'fa-comment-o',
1207
- 'icon-comments-alt' => 'fa-comments-o'
1208
- );
1209
-
1210
- if( in_array( $class, array_keys( $exceptions ) ) ){
1211
- $class = $exceptions[ $class ];
1212
- }
1213
-
1214
- $class = str_replace( 'icon-', 'fa-', $class );
1215
-
1216
- return $class;
1217
- }
1218
-
1219
- /* === REQUEST HANDLING METHODS === */
1220
-
1221
- /**
1222
- * Adds an element to wishlist when default AJAX method cannot be used
1223
- *
1224
- * @return void
1225
- * @since 2.0.0
1226
- */
1227
- public function add_to_wishlist(){
1228
- // add item to wishlist when javascript is not enabled
1229
- if( isset( $_GET['add_to_wishlist'] ) ) {
1230
- $this->add();
1231
- }
1232
- }
1233
-
1234
- /**
1235
- * Removes an element from wishlist when default AJAX method cannot be used
1236
- *
1237
- * @return void
1238
- * @since 2.0.0
1239
- */
1240
- public function remove_from_wishlist(){
1241
- // remove item from wishlist when javascript is not enabled
1242
- if( isset( $_GET['remove_from_wishlist'] ) ){
1243
- $this->remove();
1244
- }
1245
- }
1246
-
1247
- /**
1248
- * Removes an element after add to cart, if option is enabled in panel
1249
- *
1250
- * @return void
1251
- * @since 2.0.0
1252
- */
1253
- public function remove_from_wishlist_after_add_to_cart() {
1254
- if( get_option( 'yith_wcwl_remove_after_add_to_cart' ) == 'yes' ){
1255
- if( isset( $_REQUEST['remove_from_wishlist_after_add_to_cart'] ) ) {
1256
-
1257
- $this->details['remove_from_wishlist'] = $_REQUEST['remove_from_wishlist_after_add_to_cart'];
1258
-
1259
- if ( isset( $_REQUEST['wishlist_id'] ) ) {
1260
- $this->details['wishlist_id'] = $_REQUEST['wishlist_id'];
1261
- }
1262
- }
1263
- elseif( yith_wcwl_is_wishlist() ){
1264
- $this->details['remove_from_wishlist'] = $_REQUEST['add-to-cart'];
1265
-
1266
- if ( isset( $_REQUEST['wishlist_id'] ) ) {
1267
- $this->details['wishlist_id'] = $_REQUEST['wishlist_id'];
1268
- }
1269
- }
1270
-
1271
- $this->remove();
1272
- }
1273
- }
1274
-
1275
- /**
1276
- * Redirect to cart after "Add to cart" button pressed on wishlist table
1277
- *
1278
- * @param $url string Original redirect url
1279
- * @return string Redirect url
1280
- * @since 2.0.0
1281
- */
1282
- public function redirect_to_cart( $url, $product ) {
1283
- global $yith_wcwl_wishlist_token;
1284
-
1285
- $wishlist = $this->get_wishlist_detail_by_token( $yith_wcwl_wishlist_token );
1286
- $wishlist_id = $wishlist['ID'];
1287
-
1288
- if( $product->is_type( 'simple' ) && get_option( 'yith_wcwl_redirect_cart' ) == 'yes' ){
1289
- if( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) && yith_wcwl_is_wishlist() ){
1290
- $url = add_query_arg( 'add-to-cart', $product->id, WC()->cart->get_cart_url() );
1291
- }
1292
- }
1293
-
1294
- if( get_option( 'yith_wcwl_remove_after_add_to_cart' ) == 'yes' ){
1295
- if( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) && yith_wcwl_is_wishlist() ) {
1296
- $url = add_query_arg(
1297
- array(
1298
- 'remove_from_wishlist_after_add_to_cart' => $product->id,
1299
- 'wishlist_id' => $wishlist_id,
1300
- 'wishlist_token' => $yith_wcwl_wishlist_token
1301
- ),
1302
- $url
1303
- );
1304
- }
1305
- }
1306
-
1307
- return apply_filters( 'yit_wcwl_add_to_cart_redirect_url', esc_url( $url ) );
1308
- }
1309
-
1310
- /**
1311
- * AJAX: add to wishlist action
1312
- *
1313
- * @return void
1314
- * @since 1.0.0
1315
- */
1316
- public function add_to_wishlist_ajax() {
1317
- $return = $this->add();
1318
- $message = '';
1319
- $user_id = isset( $this->details['user_id'] ) ? $this->details['user_id'] : false;
1320
- $wishlists = array();
1321
-
1322
- if( $return == 'true' ){
1323
- $message = apply_filters( 'yith_wcwl_product_added_to_wishlist_message', get_option( 'yith_wcwl_product_added_text' ) );
1324
- }
1325
- elseif( $return == 'exists' ){
1326
- $message = apply_filters( 'yith_wcwl_product_already_in_wishlist_message', get_option( 'yith_wcwl_already_in_wishlist_text' ) );
1327
- }
1328
- elseif( count( $this->errors ) > 0 ){
1329
- $message = apply_filters( 'yith_wcwl_error_adding_to_wishlist_message', $this->get_errors() );
1330
- }
1331
-
1332
- if( $user_id != false ){
1333
- $wishlists = $this->get_wishlists( array( 'user_id' => $user_id ) );
1334
- }
1335
-
1336
- wp_send_json(
1337
- array(
1338
- 'result' => $return,
1339
- 'message' => $message,
1340
- 'user_wishlists' => $wishlists,
1341
- 'wishlist_url' => $this->get_wishlist_url( 'view' . ( isset( $this->last_operation_token ) ? ( '/' . $this->last_operation_token ) : false ) ),
1342
- )
1343
- );
1344
- }
1345
-
1346
- /**
1347
- * AJAX: remove from wishlist action
1348
- *
1349
- * @return void
1350
- * @since 1.0.0
1351
- */
1352
- public function remove_from_wishlist_ajax() {
1353
- $wishlist_token = isset( $this->details['wishlist_token'] ) ? $this->details['wishlist_token'] : false;
1354
- $count = yith_wcwl_count_products( $wishlist_token );
1355
- $message = '';
1356
-
1357
- if( $count != 0 ) {
1358
- if ( $this->remove() ) {
1359
- $message = apply_filters( 'yith_wcwl_product_removed_text', __( 'Product successfully removed.', 'yith-woocommerce-wishlist' ) );
1360
- $count --;
1361
- }
1362
- else {
1363
- $message = apply_filters( 'yith_wcwl_unable_to_remove_product_message', __( 'Error. Unable to remove the product from the wishlist.', 'yith-woocommerce-wishlist' ) );
1364
- }
1365
- }
1366
- else{
1367
- $message = apply_filters( 'yith_wcwl_no_product_to_remove_message', __( 'No products were added to the wishlist', 'yith-woocommerce-wishlist' ) );
1368
- }
1369
-
1370
- wc_add_notice( $message );
1371
-
1372
- $atts = array( 'wishlist_id' => $wishlist_token );
1373
- if( isset( $this->details['pagination'] ) ){
1374
- $atts['pagination'] = $this->details['pagination'];
1375
- }
1376
-
1377
- if( isset( $this->details['per_page'] ) ){
1378
- $atts['per_page'] = $this->details['per_page'];
1379
- }
1380
-
1381
- echo YITH_WCWL_Shortcode::wishlist( $atts );
1382
- die();
1383
- }
1384
-
1385
- /*******************************************
1386
- * INTEGRATION WC Frequently Bought Together
1387
- *******************************************/
1388
-
1389
- /**
1390
- * AJAX: reload wishlist and adding elem action
1391
- *
1392
- * @return void
1393
- * @since 1.0.0
1394
- */
1395
- public function reload_wishlist_and_adding_elem_ajax() {
1396
-
1397
- $return = $this->add();
1398
- $message = '';
1399
- $type_msg = 'success';
1400
-
1401
- if( $return == 'true' ){
1402
- $message = apply_filters( 'yith_wcwl_product_added_to_wishlist_message', get_option( 'yith_wcwl_product_added_text' ) );
1403
- }
1404
- elseif( $return == 'exists' ){
1405
- $message = apply_filters( 'yith_wcwl_product_already_in_wishlist_message', get_option( 'yith_wcwl_already_in_wishlist_text' ) );
1406
- $type_msg = 'error';
1407
- }
1408
- else {
1409
- $message = apply_filters( 'yith_wcwl_product_removed_text', __( 'An error as occurred.', 'yith-woocommerce-wishlist' ) );
1410
- $type_msg = 'error';
1411
- }
1412
-
1413
- $wishlist_token = isset( $this->details['wishlist_token'] ) ? $this->details['wishlist_token'] : false;
1414
-
1415
- $atts = array( 'wishlist_id' => $wishlist_token );
1416
- if( isset( $this->details['pagination'] ) ){
1417
- $atts['pagination'] = $this->details['pagination'];
1418
- }
1419
-
1420
- if( isset( $this->details['per_page'] ) ){
1421
- $atts['per_page'] = $this->details['per_page'];
1422
- }
1423
-
1424
- ob_start();
1425
-
1426
- wc_add_notice( $message, $type_msg );
1427
-
1428
- echo '<div>'. YITH_WCWL_Shortcode::wishlist( $atts ) . '</div>';
1429
-
1430
- echo ob_get_clean();
1431
- die();
1432
-
1433
- }
1434
-
1435
- /**
1436
- * redirect after add to cart from YITH WooCommerce Frequently Bought Together Premium shortcode
1437
- *
1438
- * @since 1.0.0
1439
- */
1440
- public function yith_wfbt_redirect_after_add_to_cart( $url ){
1441
- if( ! isset( $_REQUEST['yith_wfbt_shortcode'] ) ) {
1442
- return $url;
1443
- }
1444
-
1445
- return get_option( 'yith_wcwl_redirect_cart' ) == 'yes' ? WC()->cart->get_cart_url() : $this->get_wishlist_url();
1446
- }
1447
- }
1448
- }
1449
-
1450
- /**
1451
- * Unique access to instance of YITH_WCWL class
1452
- *
1453
- * @return \YITH_WCWL
1454
- * @since 2.0.0
1455
- */
1456
- function YITH_WCWL(){
1457
- return YITH_WCWL::get_instance();
1458
  }
1
+ <?php
2
+ /**
3
+ * Main class
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.9
8
+ */
9
+
10
+ if ( ! defined( 'YITH_WCWL' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ if ( ! class_exists( 'YITH_WCWL' ) ) {
15
+ /**
16
+ * WooCommerce Wishlist
17
+ *
18
+ * @since 1.0.0
19
+ */
20
+ class YITH_WCWL {
21
+ /**
22
+ * Single instance of the class
23
+ *
24
+ * @var \YITH_WCWL
25
+ * @since 2.0.0
26
+ */
27
+ protected static $instance;
28
+
29
+ /**
30
+ * Errors array
31
+ *
32
+ * @var array
33
+ * @since 1.0.0
34
+ */
35
+ public $errors;
36
+
37
+ /**
38
+ * Last operation token
39
+ *
40
+ * @var string
41
+ * @since 2.0.0
42
+ */
43
+ public $last_operation_token;
44
+
45
+ /**
46
+ * Details array
47
+ *
48
+ * @var array
49
+ * @since 1.0.0
50
+ */
51
+ public $details;
52
+
53
+ /**
54
+ * Messages array
55
+ *
56
+ * @var array
57
+ * @since 1.0.0
58
+ */
59
+ public $messages;
60
+
61
+ /**
62
+ * Returns single instance of the class
63
+ *
64
+ * @return \YITH_WCWL
65
+ * @since 2.0.0
66
+ */
67
+ public static function get_instance(){
68
+ if( is_null( self::$instance ) ){
69
+ self::$instance = new self( $_REQUEST );
70
+ }
71
+
72
+ return self::$instance;
73
+ }
74
+
75
+ /**
76
+ * Constructor.
77
+ *
78
+ * @param array $details
79
+ * @return \YITH_WCWL
80
+ * @since 1.0.0
81
+ */
82
+ public function __construct( $details ) {
83
+ $this->details = $details;
84
+ $this->wcwl_init = YITH_WCWL_Init();
85
+ if( is_admin() ){
86
+ $this->wcwl_admin_init = YITH_WCWL_Admin_Init();
87
+ }
88
+
89
+ add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
90
+
91
+ // add rewrite rule
92
+ add_action( 'init', array( $this, 'add_rewrite_rules' ), 0 );
93
+ add_filter( 'query_vars', array( $this, 'add_public_query_var' ) );
94
+
95
+ add_action( 'init', array( $this, 'add_to_wishlist' ) );
96
+ add_action( 'wp_ajax_add_to_wishlist', array( $this, 'add_to_wishlist_ajax' ) );
97
+ add_action( 'wp_ajax_nopriv_add_to_wishlist', array( $this, 'add_to_wishlist_ajax' ) );
98
+
99
+ add_action( 'init', array( $this, 'remove_from_wishlist' ) );
100
+ add_action( 'wp_ajax_remove_from_wishlist', array( $this, 'remove_from_wishlist_ajax' ) );
101
+ add_action( 'wp_ajax_nopriv_remove_from_wishlist', array( $this, 'remove_from_wishlist_ajax' ) );
102
+
103
+ add_action( 'wp_ajax_reload_wishlist_and_adding_elem', array( $this, 'reload_wishlist_and_adding_elem_ajax' ) );
104
+ add_action( 'wp_ajax_nopriv_reload_wishlist_and_adding_elem', array( $this, 'reload_wishlist_and_adding_elem_ajax' ) );
105
+
106
+ add_action( 'woocommerce_add_to_cart', array( $this, 'remove_from_wishlist_after_add_to_cart' ) );
107
+ add_filter( 'woocommerce_product_add_to_cart_url', array( $this, 'redirect_to_cart' ), 10, 2 );
108
+
109
+ add_action( 'yith_wcwl_before_wishlist_title', array( $this, 'print_notices' ) );
110
+
111
+ add_filter( 'woocommerce_add_to_cart_redirect', array( $this, 'yith_wfbt_redirect_after_add_to_cart' ), 10, 1 );
112
+
113
+ // add filter for font-awesome compatibility
114
+ add_filter( 'option_yith_wcwl_add_to_wishlist_icon', array( $this, 'update_font_awesome_classes' ) );
115
+ add_filter( 'option_yith_wcwl_add_to_cart_icon', array( $this, 'update_font_awesome_classes' ) );
116
+ }
117
+
118
+ /* === PLUGIN FW LOADER === */
119
+
120
+ /**
121
+ * Loads plugin fw, if not yet created
122
+ *
123
+ * @return void
124
+ * @since 2.0.0
125
+ */
126
+ public function plugin_fw_loader() {
127
+ if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
128
+ global $plugin_fw_data;
129
+ if( ! empty( $plugin_fw_data ) ){
130
+ $plugin_fw_file = array_shift( $plugin_fw_data );
131
+ require_once( $plugin_fw_file );
132
+ }
133
+ }
134
+ }
135
+
136
+ /* === ITEMS METHODS === */
137
+
138
+ /**
139
+ * Check if the product exists in the wishlist.
140
+ *
141
+ * @param int $product_id
142
+ * @return bool
143
+ * @since 1.0.0
144
+ */
145
+ public function is_product_in_wishlist( $product_id, $wishlist_id = false ) {
146
+ global $wpdb;
147
+
148
+ $exists = false;
149
+
150
+ if( is_user_logged_in() ) {
151
+ $sql = "SELECT COUNT(*) as `cnt` FROM `{$wpdb->yith_wcwl_items}` WHERE `prod_id` = %d AND `user_id` = %d";
152
+ $sql_args = array(
153
+ $product_id,
154
+ $this->details['user_id']
155
+ );
156
+
157
+ if( $wishlist_id != false ){
158
+ $sql .= " AND `wishlist_id` = %d";
159
+ $sql_args[] = $wishlist_id;
160
+ }
161
+ elseif( $default_wishlist = $this->get_wishlists( array( 'user_id' => get_current_user_id(), 'is_default' => 1 ) ) ){
162
+ $default_wishlist_id = $default_wishlist[0]['ID'];
163
+
164
+ $sql .= " AND `wishlist_id` = %d";
165
+ $sql_args[] = $default_wishlist_id;
166
+ }
167
+ else{
168
+ $sql .= " AND `wishlist_id` IS NULL";
169
+ }
170
+
171
+ $results = $wpdb->get_var( $wpdb->prepare( $sql, $sql_args ) );
172
+ $exists = (bool) ( $results > 0 );
173
+ }
174
+ else {
175
+ $wishlist = yith_getcookie( 'yith_wcwl_products' );
176
+
177
+ foreach( $wishlist as $key => $item ){
178
+ if( $item['wishlist_id'] == $wishlist_id && $item['prod_id'] == $product_id ){
179
+ $exists = true;
180
+ }
181
+ }
182
+ }
183
+
184
+ return $exists;
185
+ }
186
+
187
+ /**
188
+ * Add a product in the wishlist.
189
+ *
190
+ * @return string "error", "true" or "exists"
191
+ * @since 1.0.0
192
+ */
193
+ public function add() {
194
+ global $wpdb;
195
+ $prod_id = ( isset( $this->details['add_to_wishlist'] ) && is_numeric( $this->details['add_to_wishlist'] ) ) ? $this->details['add_to_wishlist'] : false;
196
+ $wishlist_id = ( isset( $this->details['wishlist_id'] ) && strcmp( $this->details['wishlist_id'], 0 ) != 0 ) ? $this->details['wishlist_id'] : false;
197
+ $quantity = ( isset( $this->details['quantity'] ) ) ? ( int ) $this->details['quantity'] : 1;
198
+ $user_id = ( ! empty( $this->details['user_id'] ) ) ? $this->details['user_id'] : false;
199
+ $wishlist_name = ( ! empty( $this->details['wishlist_name'] ) ) ? $this->details['wishlist_name'] : '';
200
+
201
+ do_action( 'yith_wcwl_adding_to_wishlist', $prod_id, $wishlist_id, $user_id );
202
+
203
+ // filtering params
204
+ $prod_id = apply_filters( 'yith_wcwl_adding_to_wishlist_prod_id', $prod_id );
205
+ $wishlist_id = apply_filters( 'yith_wcwl_adding_to_wishlist_wishlist_id', $wishlist_id );
206
+ $quantity = apply_filters( 'yith_wcwl_adding_to_wishlist_quantity', $quantity );
207
+ $user_id = apply_filters( 'yith_wcwl_adding_to_wishlist_user_id', $user_id );
208
+ $wishlist_name = apply_filters( 'yith_wcwl_adding_to_wishlist_wishlist_name', $wishlist_name );
209
+
210
+ if ( $prod_id == false ) {
211
+ $this->errors[] = __( 'An error occurred while adding products to the wishlist.', 'yith-woocommerce-wishlist' );
212
+ return "error";
213
+ }
214
+
215
+ //check for existence, product ID, variation ID, variation data, and other cart item data
216
+ if( strcmp( $wishlist_id, 'new' ) != 0 && $this->is_product_in_wishlist( $prod_id, $wishlist_id ) ) {
217
+ if( $wishlist_id != false ){
218
+ $wishlist = $this->get_wishlist_detail( $wishlist_id );
219
+ $this->last_operation_token = $wishlist['wishlist_token'];
220
+ }
221
+ else{
222
+ $this->last_operation_token = false;
223
+ }
224
+
225
+ return "exists";
226
+ }
227
+
228
+ if( $user_id != false ) {
229
+
230
+ $insert_args = array(
231
+ 'prod_id' => $prod_id,
232
+ 'user_id' => $user_id,
233
+ 'quantity' => $quantity,
234
+ 'dateadded' => date( 'Y-m-d H:i:s' )
235
+ );
236
+
237
+ if( ! empty( $wishlist_id ) && strcmp( $wishlist_id, 'new' ) != 0 ){
238
+ $insert_args[ 'wishlist_id' ] = $wishlist_id;
239
+
240
+ $wishlist = $this->get_wishlist_detail( $insert_args[ 'wishlist_id' ] );
241
+ $this->last_operation_token = $wishlist['wishlist_token'];
242
+ }
243
+ elseif( strcmp( $wishlist_id, 'new' ) == 0 ){
244
+ if( function_exists( 'YITH_WCWL_Premium' ) ){
245
+ $response = YITH_WCWL_Premium()->add_wishlist();
246
+ }
247
+ else{
248
+ $response = $this->add_wishlist();
249
+ }
250
+
251
+ if( $response == "error" ){
252
+ return "error";
253
+ }
254
+ else{
255
+ $insert_args[ 'wishlist_id' ] = $response;
256
+
257
+ $wishlist = $this->get_wishlist_detail( $insert_args[ 'wishlist_id' ] );
258
+ $this->last_operation_token = $wishlist['wishlist_token'];
259
+ }
260
+ }
261
+ elseif( empty( $wishlist_id ) ){
262
+ $wishlist_id = $this->generate_default_wishlist( $user_id );
263
+ $insert_args[ 'wishlist_id' ] = $wishlist_id;
264
+
265
+ if( $this->is_product_in_wishlist( $prod_id, $wishlist_id ) ){
266
+ return "exists";
267
+ }
268
+ }
269
+
270
+ $result = $wpdb->insert( $wpdb->yith_wcwl_items, $insert_args );
271
+ }
272
+ else {
273
+ $cookie = array(
274
+ 'prod_id' => $prod_id,
275
+ 'quantity' => $quantity,
276
+ 'wishlist_id' => $wishlist_id
277
+ );
278
+
279
+ $wishlist = yith_getcookie( 'yith_wcwl_products' );
280
+ $found = $this->is_product_in_wishlist( $prod_id, $wishlist_id );
281
+
282
+ if( ! $found ){
283
+ $wishlist[] = $cookie;
284
+ }
285
+
286
+ yith_setcookie( 'yith_wcwl_products', $wishlist );
287
+
288
+ $result = true;
289
+ }
290
+
291
+ if( $result ) {
292
+ do_action( 'yith_wcwl_added_to_wishlist', $prod_id, $wishlist_id, $user_id );
293
+ return "true";
294
+ }
295
+ else {
296
+ $this->errors[] = __( 'An error occurred while adding products to wishlist.', 'yith-woocommerce-wishlist' );
297
+ return "error";
298
+ }
299
+ }
300
+
301
+ /**
302
+ * Remove an entry from the wishlist.
303
+ *
304
+ * @return bool
305
+ * @since 1.0.0
306
+ */
307
+ public function remove( $id = false ) {
308
+ global $wpdb;
309
+
310
+ if( ! empty( $id ) ) {
311
+ _deprecated_argument( 'YITH_WCWL->remove()', '2.0.0', __( 'The "Remove" option now does not require any parameter' ) );
312
+ }
313
+
314
+ $prod_id = ( isset( $this->details['remove_from_wishlist'] ) && is_numeric( $this->details['remove_from_wishlist'] ) ) ? $this->details['remove_from_wishlist'] : false;
315
+ $wishlist_id = ( isset( $this->details['wishlist_id'] ) && is_numeric( $this->details['wishlist_id'] ) ) ? $this->details['wishlist_id'] : false;
316
+ $user_id = ( ! empty( $this->details['user_id'] ) ) ? $this->details['user_id'] : false;
317
+
318
+ if( $prod_id == false ){
319
+ return false;
320
+ }
321
+
322
+ if ( is_user_logged_in() ) {
323
+ $sql = "DELETE FROM {$wpdb->yith_wcwl_items} WHERE user_id = %d AND prod_id = %d";
324
+ $sql_args = array(
325
+ $user_id,
326
+ $prod_id
327
+ );
328
+
329
+ if( empty( $wishlist_id ) ){
330
+ $wishlist_id = $this->generate_default_wishlist( get_current_user_id() );
331
+ }
332
+
333
+ $wishlist = $this->get_wishlist_detail( $wishlist_id );
334
+ $this->last_operation_token = $wishlist['wishlist_token'];
335
+
336
+ $sql .= " AND wishlist_id = %d";
337
+ $sql_args[] = $wishlist_id;
338
+
339
+ $result = $wpdb->query( $wpdb->prepare( $sql, $sql_args ) );
340
+
341
+ if ( $result ) {
342
+ return true;
343
+ }
344
+ else {
345
+ $this->errors[] = __( 'An error occurred while removing products from the wishlist', 'yith-woocommerce-wishlist' );
346
+ return false;
347
+ }
348
+ }
349
+ else {
350
+ $wishlist = yith_getcookie( 'yith_wcwl_products' );
351
+
352
+ foreach( $wishlist as $key => $item ){
353
+ if( $item['wishlist_id'] == $wishlist_id && $item['prod_id'] == $prod_id ){
354
+ unset( $wishlist[ $key ] );
355
+ }
356
+ }
357
+
358
+ yith_setcookie( 'yith_wcwl_products', $wishlist );
359
+
360
+ return true;
361
+ }
362
+ }
363
+
364
+ /**
365
+ * Retrieve the number of products in the wishlist.
366
+ *
367
+ * @return int
368
+ * @since 1.0.0
369
+ */
370
+ public function count_products( $wishlist_token = false ) {
371
+ global $wpdb;
372
+
373
+ if( is_user_logged_in() || $wishlist_token != false ) {
374
+ $sql = "SELECT COUNT(*) AS `cnt`
375
+ FROM `{$wpdb->yith_wcwl_items}` AS i
376
+ LEFT JOIN `{$wpdb->yith_wcwl_wishlists}` AS l ON l.ID = i.wishlist_id";
377
+
378
+ if( ! empty( $wishlist_token ) ){
379
+ $sql .= " WHERE l.`wishlist_token` = %s";
380
+ $query = $wpdb->prepare( $sql, $wishlist_token );
381
+ }
382
+ else{
383
+ $sql .= " WHERE l.`is_default` = %d AND l.`user_id` = %d";
384
+ $query = $wpdb->prepare( $sql, array( 1, get_current_user_id() ) );
385
+ }
386
+
387
+ $results = $wpdb->get_var( $query );
388
+ return $results;
389
+ }
390
+ else {
391
+ $cookie = yith_getcookie( 'yith_wcwl_products' );
392
+
393
+ return count( $cookie );
394
+ }
395
+ }
396
+
397
+ /**
398
+ * Count all user items in wishlists
399
+ *
400
+ * @return int Count of items added all over wishlist from current user
401
+ * @since 2.0.12
402
+ */
403
+ public function count_all_products() {
404
+ global $wpdb;
405
+
406
+ if( is_user_logged_in() ) {
407
+ $sql = "SELECT COUNT(*) AS `cnt`
408
+ FROM `{$wpdb->yith_wcwl_items}` AS i
409
+ WHERE i.`user_id` = %d";
410
+
411
+ $query = $wpdb->prepare( $sql, get_current_user_id() );
412
+
413
+ $results = $wpdb->get_var( $query );
414
+ return $results;
415
+ }
416
+ else {
417
+ $cookie = yith_getcookie( 'yith_wcwl_products' );
418
+
419
+ return count( $cookie );
420
+ }
421
+ }
422
+
423
+ /**
424
+ * Retrieve elements of the wishlist for a specific user
425
+ *
426
+ * @return array
427
+ * @since 2.0.0
428
+ */
429
+ public function get_products( $args = array() ) {
430
+ global $wpdb;
431
+
432
+ $default = array(
433
+ 'user_id' => ( is_user_logged_in() ) ? get_current_user_id(): false,
434
+ 'product_id' => false,
435
+ 'wishlist_id' => false, //wishlist_id for a specific wishlist, false for default, or all for any wishlist
436
+ 'wishlist_token' => false,
437
+ 'wishlist_visibility' => 'all', // all, visible, public, shared, private
438
+ 'is_default' => false,
439
+ 'id' => false, // only for table select
440
+ 'limit' => false,
441
+ 'offset' => 0
442
+ );
443
+
444
+ $args = wp_parse_args( $args, $default );
445
+ extract( $args );
446
+
447
+ if( ! empty( $user_id ) || ! empty( $wishlist_token ) ) {
448
+ $sql = "SELECT *
449
+ FROM `{$wpdb->yith_wcwl_items}` AS i
450
+ LEFT JOIN {$wpdb->yith_wcwl_wishlists} AS l ON l.`ID` = i.`wishlist_id` WHERE 1";
451
+
452
+ if( ! empty( $user_id ) ){
453
+ $sql .= " AND i.`user_id` = %d";
454
+ $sql_args = array( $user_id );
455
+ }
456
+
457
+ if( ! empty( $product_id ) ){
458
+ $sql .= " AND i.`prod_id` = %d";
459
+ $sql_args[] = $product_id;
460
+ }
461
+
462
+ if( ! empty( $wishlist_id ) ){
463
+ $sql .= " AND i.`wishlist_id` = %d";
464
+ $sql_args[] = $wishlist_id;
465
+ }
466
+ elseif( empty( $wishlist_id ) && empty( $wishlist_token ) && $is_default != 1 ){
467
+ $sql .= " AND i.`wishlist_id` IS NULL";
468
+ }
469
+
470
+ if( ! empty( $wishlist_token ) ){
471
+ $sql .= " AND l.`wishlist_token` = %s";
472
+ $sql_args[] = $wishlist_token;
473
+ }
474
+
475
+ if( ! empty( $wishlist_visibility ) && $wishlist_visibility != 'all' ){
476
+ switch( $wishlist_visibility ){
477
+ case 'visible':
478
+ $sql .= " AND ( l.`wishlist_privacy` = %d OR l.`wishlist_privacy` = %d )";
479
+ $sql_args[] = 0;
480
+ $sql_args[] = 1;
481
+ break;
482
+ case 'public':
483
+ $sql .= " AND l.`wishlist_privacy` = %d";
484
+ $sql_args[] = 0;
485
+ break;
486
+ case 'shared':
487
+ $sql .= " AND l.`wishlist_privacy` = %d";
488
+ $sql_args[] = 1;
489
+ break;
490
+ case 'private':
491
+ $sql .= " AND l.`wishlist_privacy` = %d";
492
+ $sql_args[] = 2;
493
+ break;
494
+ default:
495
+ $sql .= " AND l.`wishlist_privacy` = %d";
496
+ $sql_args[] = 0;
497
+ break;
498
+ }
499
+ }
500
+
501
+ if( $is_default !== false ){
502
+ if( ! empty( $user_id ) ){
503
+ $this->generate_default_wishlist( $user_id );
504
+ }
505
+
506
+ $sql .= " AND l.`is_default` = %d";
507
+ $sql_args[] = $is_default;
508
+ }
509
+
510
+ if( ! empty( $id ) ){
511
+ $sql .= " AND `i.ID` = %d";
512
+ $sql_args[] = $id;
513
+ }
514
+
515
+ if( ! empty( $limit ) ){
516
+ $sql .= " LIMIT " . $offset . ", " . $limit;
517
+ }
518
+
519
+ $wishlist = $wpdb->get_results( $wpdb->prepare( $sql, $sql_args ), ARRAY_A );
520
+ }
521
+ else{
522
+ $wishlist = yith_getcookie( 'yith_wcwl_products' );
523
+
524
+ foreach( $wishlist as $key => $cookie ){
525
+ if( ! empty( $product_id ) && $cookie['prod_id'] != $product_id ){
526
+ unset( $wishlist[ $key ] );
527
+ }
528
+
529
+ if( ( ! empty( $wishlist_id ) && $wishlist_id != 'all' ) && $cookie['wishlist_id'] != $wishlist_id ){
530
+ unset( $wishlist[ $key ] );
531
+ }
532
+ }
533
+
534
+ if( ! empty( $limit ) ){
535
+ $wishlist = array_slice( $wishlist, $offset, $limit );
536
+ }
537
+ }
538
+
539
+ return $wishlist;
540
+ }
541
+
542
+ /**
543
+ * Count product occurrencies in users wishlists
544
+ *
545
+ * @param $product_id int
546
+ *
547
+ * @return int
548
+ * @since 2.0.0
549
+ */
550
+ public function count_product_occurrencies( $product_id ) {
551
+ global $wpdb;
552
+ $sql = "SELECT COUNT(*) FROM {$wpdb->yith_wcwl_items} WHERE `prod_id` = %d";
553
+
554
+ return $wpdb->get_var( $wpdb->prepare( $sql, $product_id ) );
555
+ }
556
+
557
+ /**
558
+ * Retrieve details of a product in the wishlist.
559
+ *
560
+ * @param int $id
561
+ * @param string $request_from
562
+ * @return array
563
+ * @since 1.0.0
564
+ */
565
+ public function get_product_details( $product_id, $wishlist_id = false ) {
566
+ global $wpdb;
567
+
568
+ return $this->get_products(
569
+ array(
570
+ 'prod_id' => $product_id,
571
+ 'wishlist_id' => $wishlist_id
572
+ )
573
+ );
574
+ }
575
+
576
+ /**
577
+ * Returns an array of users that created and populated a public wishlist
578
+ *
579
+ * @param $search array Array of arguments for the search
580
+ * @return array
581
+ * @since 2.0.0
582
+ */
583
+ public function get_users_with_wishlist( $args = array() ){
584
+ global $wpdb;
585
+
586
+ $default = array(
587
+ 'search' => false,
588
+ 'limit' => false,
589
+ 'offset' => 0
590
+ );
591
+
592
+ $args = wp_parse_args( $args, $default );
593
+ extract( $args );
594
+
595
+ $sql = "SELECT DISTINCT i.user_id
596
+ FROM {$wpdb->yith_wcwl_items} AS i
597
+ LEFT JOIN {$wpdb->yith_wcwl_wishlists} AS l ON i.wishlist_id = l.ID";
598
+
599
+ if( ! empty( $search ) ){
600
+ $sql .= " LEFT JOIN `{$wpdb->users}` AS u ON l.`user_id` = u.ID";
601
+ $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS umn ON umn.`user_id` = u.`ID`";
602
+ $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS ums ON ums.`user_id` = u.`ID`";
603
+ }
604
+
605
+ $sql .= " WHERE l.wishlist_privacy = %d";
606
+ $sql_args = array( 0 );
607
+
608
+ if( ! empty( $search ) ){
609
+ $sql .= " AND ( umn.`meta_key` LIKE %s AND ums.`meta_key` LIKE %s AND ( u.`user_email` LIKE %s OR u.`user_login` LIKE %s OR umn.`meta_value` LIKE %s OR ums.`meta_value` LIKE %s ) )";
610
+ $sql_args[] = 'first_name';
611
+ $sql_args[] = 'last_name';
612
+ $sql_args[] = "%" . $search . "%";
613
+ $sql_args[] = "%" . $search . "%";
614
+ $sql_args[] = "%" . $search . "%";
615
+ $sql_args[] = "%" . $search . "%";
616
+ }
617
+
618
+ if( ! empty( $limit ) ){
619
+ $sql .= " LIMIT " . $offset . ", " . $limit;
620
+ }
621
+
622
+ $res = $wpdb->get_col( $wpdb->prepare( $sql, $sql_args ) );
623
+ return $res;
624
+ }
625
+
626
+ /**
627
+ * Count users that have public wishlists
628
+ *
629
+ * @param $search string
630
+ * @return int
631
+ * @since 2.0.0
632
+ */
633
+ public function count_users_with_wishlists( $search ){
634
+ return count( $this->get_users_with_wishlist( array( 'search' => $search ) ) );
635
+ }
636
+
637
+ /* === WISHLISTS METHODS === */
638
+
639
+ /**
640
+ * Add a new wishlist for the user.
641
+ *
642
+ * @return string "error", "exists" or id of the inserted wishlist
643
+ * @since 2.0.0
644
+ */
645
+ public function add_wishlist() {
646
+ $user_id = ( ! empty( $this->details['user_id'] ) ) ? $this->details['user_id'] : false;
647
+
648
+ if( $user_id == false ){
649
+ $this->errors[] = __( 'You need to log in before creating a new wishlist', 'yith-woocommerce-wishlist' );
650
+ return "error";
651
+ }
652
+
653
+ return $this->generate_default_wishlist( $user_id );
654
+ }
655
+
656
+ /**
657
+ * Update wishlist with arguments passed as second parameter
658
+ *
659
+ * @param $wishlist_id int
660
+ * @param $args array Array of parameters to user in $wpdb->update
661
+ * @return bool
662
+ * @since 2.0.0
663
+ */
664
+ public function update_wishlist( $wishlist_id, $args = array() ) {
665
+ return false;
666
+ }
667
+
668
+ /**
669
+ * Delete indicated wishlist
670
+ *
671
+ * @param $wishlist_id int
672
+ * @return bool
673
+ * @since 2.0.0
674
+ */
675
+ public function remove_wishlist( $wishlist_id ) {
676
+ return false;
677
+ }
678
+
679
+ /**
680
+ * Checks if a wishlist with the given slug is already in the db
681
+ *
682
+ * @param string $wishlist_slug
683
+ * @param int $user_id
684
+ * @return bool
685
+ * @since 2.0.0
686
+ */
687
+ public function wishlist_exists( $wishlist_slug, $user_id ) {
688
+ global $wpdb;
689
+ $sql = "SELECT COUNT(*) AS `cnt` FROM `{$wpdb->yith_wcwl_wishlists}` WHERE `wishlist_slug` = %s AND `user_id` = %d";
690
+ $sql_args = array(
691
+ $wishlist_slug,
692
+ $user_id
693
+ );
694
+
695
+ $res = $wpdb->get_var( $wpdb->prepare( $sql, $sql_args ) );
696
+
697
+ return (bool) ( $res > 0 );
698
+ }
699
+
700
+ /**
701
+ * Retrieve all the wishlist matching speciefied arguments
702
+ *
703
+ * @return array
704
+ * @since 2.0.0
705
+ */
706
+ public function get_wishlists( $args = array() ){
707
+ global $wpdb;
708
+
709
+ $default = array(
710
+ 'id' => false,
711
+ 'user_id' => ( is_user_logged_in() ) ? get_current_user_id(): false,
712
+ 'wishlist_slug' => false,
713
+ 'wishlist_name' => false,
714
+ 'wishlist_token' => false,
715
+ 'wishlist_visibility' => 'all', // all, visible, public, shared, private
716
+ 'user_search' => false,
717
+ 'is_default' => false,
718
+ 'orderby' => 'ID',
719
+ 'order' => 'DESC',
720
+ 'limit' => false,
721
+ 'offset' => 0,
722
+ 'show_empty' => true
723
+ );
724
+
725
+ $args = wp_parse_args( $args, $default );
726
+ extract( $args );
727
+
728
+ $sql = "SELECT l.*";
729
+
730
+ if( ! empty( $user_search ) ){
731
+ $sql .= ", u.user_email, umn.meta_value AS first_name, ums.meta_value AS last_name";
732
+ }
733
+
734
+ $sql .= " FROM `{$wpdb->yith_wcwl_wishlists}` AS l";
735
+
736
+ if( ! empty( $user_search ) || $orderby == 'user_login' ) {
737
+ $sql .= " LEFT JOIN `{$wpdb->users}` AS u ON l.`user_id` = u.ID";
738
+ }
739
+
740
+ if( ! empty( $user_search ) ){
741
+ $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS umn ON umn.`user_id` = u.`ID`";
742
+ $sql .= " LEFT JOIN `{$wpdb->usermeta}` AS ums ON ums.`user_id` = u.`ID`";
743
+ }
744
+
745
+ $sql .= " WHERE 1";
746
+
747
+ if( ! empty( $user_id ) ){
748
+ $sql .= " AND l.`user_id` = %d";
749
+
750
+ $sql_args = array(
751
+ $user_id
752
+ );
753
+ }
754
+
755
+ if( ! empty( $user_search ) ){
756
+ $sql .= " AND ( umn.`meta_key` LIKE %s AND ums.`meta_key` LIKE %s AND ( u.`user_email` LIKE %s OR umn.`meta_value` LIKE %s OR ums.`meta_value` LIKE %s ) )";
757
+ $sql_args[] = 'first_name';
758
+ $sql_args[] = 'last_name';
759
+ $sql_args[] = "%" . $user_search . "%";
760
+ $sql_args[] = "%" . $user_search . "%";
761
+ $sql_args[] = "%" . $user_search . "%";
762
+ }
763
+
764
+ if( $is_default !== false ){
765
+ $sql .= " AND l.`is_default` = %d";
766
+ $sql_args[] = $is_default;
767
+ }
768
+
769
+ if( ! empty( $id ) ){
770
+ $sql .= " AND l.`ID` = %d";
771
+ $sql_args[] = $id;
772
+ }
773
+
774
+ if( $wishlist_slug !== false ){
775
+ $sql .= " AND l.`wishlist_slug` = %s";
776
+ $sql_args[] = sanitize_title_with_dashes( $wishlist_slug );
777
+ }
778
+
779
+ if( ! empty( $wishlist_token ) ){
780
+ $sql .= " AND l.`wishlist_token` = %s";
781
+ $sql_args[] = $wishlist_token;
782
+ }
783
+
784
+ if( ! empty( $wishlist_name ) ){
785
+ $sql .= " AND l.`wishlist_name` LIKE %s";
786
+ $sql_args[] = "%" . $wishlist_name . "%";
787
+ }
788
+
789
+ if( ! empty( $wishlist_visibility ) && $wishlist_visibility != 'all' ){
790
+ switch( $wishlist_visibility ){
791
+ case 'visible':
792
+ $sql .= " AND ( l.`wishlist_privacy` = %d OR l.`is_public` = %d )";
793
+ $sql_args[] = 0;
794
+ $sql_args[] = 1;
795
+ break;
796
+ case 'public':
797
+ $sql .= " AND l.`wishlist_privacy` = %d";
798
+ $sql_args[] = 0;
799
+ break;
800
+ case 'shared':
801
+ $sql .= " AND l.`wishlist_privacy` = %d";
802
+ $sql_args[] = 1;
803
+ break;
804
+ case 'private':
805
+ $sql .= " AND l.`wishlist_privacy` = %d";
806
+ $sql_args[] = 2;
807
+ break;
808
+ default:
809
+ $sql .= " AND l.`wishlist_privacy` = %d";
810
+ $sql_args[] = 0;
811
+ break;
812
+ }
813
+ }
814
+
815
+ if( ! $show_empty ){
816
+ $sql .= " AND l.`ID` IN ( SELECT wishlist_id FROM {$wpdb->yith_wcwl_items} )";
817
+ }
818
+
819
+ $sql .= " ORDER BY " . $orderby . " " . $order;
820
+
821
+ if( ! empty( $limit ) ){
822
+ $sql .= " LIMIT " . $offset . ", " . $limit;
823
+ }
824
+
825
+ if( ! empty( $sql_args ) ){
826
+ $sql = $wpdb->prepare( $sql, $sql_args );
827
+ }
828
+
829
+ $lists = $wpdb->get_results( $sql, ARRAY_A );
830
+
831
+ return $lists;
832
+ }
833
+
834
+ /**
835
+ * Returns details of a wishlist, searching it by wishlist id
836
+ *
837
+ * @param $wishlist_id int
838
+ * @return array
839
+ * @since 2.0.0
840
+ */
841
+ public function get_wishlist_detail( $wishlist_id ) {
842
+ global $wpdb;
843
+
844
+ $sql = "SELECT * FROM {$wpdb->yith_wcwl_wishlists} WHERE `ID` = %d";
845
+ return $wpdb->get_row( $wpdb->prepare( $sql, $wishlist_id ), ARRAY_A );
846
+ }
847
+
848
+ /**
849
+ * Returns details of a wishlist, searching it by wishlist token
850
+ *
851
+ * @param $wishlist_id int
852
+ * @return array
853
+ * @since 2.0.0
854
+ */
855
+ public function get_wishlist_detail_by_token( $wishlist_token ) {
856
+ global $wpdb;
857
+
858
+ $sql = "SELECT * FROM {$wpdb->yith_wcwl_wishlists} WHERE `wishlist_token` = %s";
859
+ return $wpdb->get_row( $wpdb->prepare( $sql, $wishlist_token ), ARRAY_A );
860
+ }
861
+
862
+ /**
863
+ * Generate default wishlist for a specific user, adding all NULL items of the user to it
864
+ *
865
+ * @param $user_id int
866
+ * @return int Default wishlist id
867
+ * @since 2.0.0
868
+ */
869
+ public function generate_default_wishlist( $user_id ){
870
+ global $wpdb;
871
+
872
+ $wishlists = $this->get_wishlists( array(
873
+ 'user_id' => $user_id,
874
+ 'is_default' => 1
875
+ ) );
876
+
877
+ if( ! empty( $wishlists ) ){
878
+ $default_user_wishlist = $wishlists[0]['ID'];
879
+ $this->last_operation_token = $wishlists[0]['wishlist_token'];
880
+ }
881
+ else{
882
+ $token = $this->generate_wishlist_token();
883
+ $this->last_operation_token = $token;
884
+
885
+ $wpdb->insert( $wpdb->yith_wcwl_wishlists, array(
886
+ 'user_id' => $user_id,
887
+ 'wishlist_slug' => '',
888
+ 'wishlist_token' => $token,
889
+ 'wishlist_name' => '',
890
+ 'wishlist_privacy' => 0,
891
+ 'is_default' => 1
892
+ ) );
893
+
894
+ $default_user_wishlist = $wpdb->insert_id;
895
+ }
896
+
897
+ $sql = "UPDATE {$wpdb->yith_wcwl_items} SET wishlist_id = %d WHERE user_id = %d AND wishlist_id IS NULL";
898
+ $sql_args = array(
899
+ $default_user_wishlist,
900
+ $user_id
901
+ );
902
+
903
+ $wpdb->query( $wpdb->prepare( $sql, $sql_args ) );
904
+
905
+ return $default_user_wishlist;
906
+ }
907
+
908
+ /**
909
+ * Generate a token to visit wishlist
910
+ *
911
+ * @return string token
912
+ * @since 2.0.0
913
+ */
914
+ public function generate_wishlist_token(){
915
+ global $wpdb;
916
+ $count = 0;
917
+ $sql = "SELECT COUNT(*) FROM `{$wpdb->yith_wcwl_wishlists}` WHERE `wishlist_token` = %s";
918
+
919
+ do {
920
+ $dictionary = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
921
+ $nchars = 12;
922
+ $token = "";
923
+
924
+ for( $i = 0; $i <= $nchars - 1; $i++ ){
925
+ $token .= $dictionary[ mt_rand( 0, strlen( $dictionary ) - 1 ) ];
926
+ }
927
+
928
+ $count = $wpdb->get_var( $wpdb->prepare( $sql, $token ) );
929
+ }
930
+ while( $count != 0 );
931
+
932
+ return $token;
933
+ }
934
+
935
+ /* === GENERAL METHODS === */
936
+
937
+ /**
938
+ * Add rewrite rules for wishlist
939
+ *
940
+ * @return void
941
+ * @since 2.0.0
942
+ */
943
+ public function add_rewrite_rules() {
944
+ global $wp_query;
945
+ $wishlist_page_id = isset( $_POST['yith_wcwl_wishlist_page_id'] ) ? $_POST['yith_wcwl_wishlist_page_id'] : get_option( 'yith_wcwl_wishlist_page_id' );
946
+ $wishlist_page_id = yith_wcwl_object_id( $wishlist_page_id );
947
+
948
+ if( empty( $wishlist_page_id ) ){
949
+ return;
950
+ }
951
+
952
+ $wishlist_page = get_post( $wishlist_page_id );
953
+ $wishlist_page_slug = $wishlist_page->post_name;
954
+
955
+ add_rewrite_rule( '(([^/]+/)*' . $wishlist_page_slug . ')(/(.*))?/page/([0-9]{1,})/?$', 'index.php?pagename=$matches[1]&wishlist-action=$matches[4]&paged=$matches[5]', 'top' );
956
+ add_rewrite_rule( '(([^/]+/)*' . $wishlist_page_slug . ')(/(.*))?/?$', 'index.php?pagename=$matches[1]&wishlist-action=$matches[4]', 'top' );
957
+ }
958
+
959
+ /**
960
+ * Adds public query var for wishlist
961
+ *
962
+ * @param $public_var array
963
+ * @return array
964
+ * @since 2.0.0
965
+ */
966
+ public function add_public_query_var( $public_var ) {
967
+ $public_var[] = 'wishlist-action';
968
+ $public_var[] = 'wishlist_id';
969
+
970
+ return $public_var;
971
+ }
972
+
973
+ /**
974
+ * Get all errors in HTML mode or simple string.
975
+ *
976
+ * @param bool $html
977
+ * @return string
978
+ * @since 1.0.0
979
+ */
980
+ public function get_errors( $html = true ) {
981
+ return implode( ( $html ? '<br />' : ', ' ), $this->errors );
982
+ }
983
+
984
+ /**
985
+ * Build wishlist page URL.
986
+ *
987
+ * @return string
988
+ * @since 1.0.0
989
+ */
990
+ public function get_wishlist_url( $action = 'view' ) {
991
+ global $sitepress;
992
+ $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) );
993
+
994
+ if( get_option( 'permalink_structure' ) && ! defined( 'ICL_PLUGIN_PATH' ) ) {
995
+ $wishlist_permalink = trailingslashit( get_the_permalink( $wishlist_page_id ) );
996
+ $base_url = trailingslashit( $wishlist_permalink . $action );
997
+ }
998
+ else{
999
+ $base_url = get_the_permalink( $wishlist_page_id );
1000
+ $action_params = explode( '/', $action );
1001
+ $params = array();
1002
+
1003
+ if( isset( $action_params[1] ) ){
1004
+ $action = $action_params[0];
1005
+ $params['wishlist-action'] = $action;
1006
+
1007
+ if( $action == 'view' ){
1008
+ $params['wishlist_id'] = $action_params[1];
1009
+ }
1010
+ elseif( $action == 'user' ){
1011
+ $params['user_id'] = $action_params[1];
1012
+ }
1013
+ }
1014
+ else{
1015
+ $params['wishlist-action'] = $action;
1016
+ }
1017
+
1018
+ $base_url = add_query_arg( $params, $base_url );
1019
+ }
1020
+
1021
+ if( defined( 'ICL_PLUGIN_PATH' ) && $sitepress->get_current_language() != $sitepress->get_default_language() ){
1022
+ $base_url = add_query_arg( 'lang', $sitepress->get_current_language(), $base_url );
1023
+ }
1024
+
1025
+ return apply_filters( 'yith_wcwl_wishlist_page_url', esc_url_raw( $base_url ) );
1026
+ }
1027
+
1028
+ /**
1029
+ * Build the URL used to remove an item from the wishlist.
1030
+ *
1031
+ * @param int $item_id
1032
+ * @return string
1033
+ * @since 1.0.0
1034
+ */
1035
+ public function get_remove_url( $item_id ) {
1036
+ return esc_url( add_query_arg( 'remove_from_wishlist', $item_id ) );
1037
+ }
1038
+
1039
+ /**
1040
+ * Build the URL used to add an item in the wishlist.
1041
+ *
1042
+ * @return string
1043
+ * @since 1.0.0
1044
+ */
1045
+ public function get_addtowishlist_url() {
1046
+ global $product;
1047
+
1048
+ return esc_url( add_query_arg( 'add_to_wishlist', $product->id ) );
1049
+ }
1050
+
1051
+ /**
1052
+ * Build the URL used to add an item to the cart from the wishlist.
1053
+ *
1054
+ * @param int $id
1055
+ * @param int $user_id
1056
+ * @return string
1057
+ * @since 1.0.0
1058
+ */
1059
+ public function get_addtocart_url( $id, $user_id = '' ) {
1060
+ _deprecated_function( 'YITH_WCWL::get_addtocart_url', '2.0.0' );
1061
+
1062
+ //$product = $yith_wcwl->get_product_details( $id );
1063
+ if ( function_exists( 'get_product' ) )
1064
+ $product = get_product( $id );
1065
+ else
1066
+ $product = new WC_Product( $id );
1067
+
1068
+ if ( $product->product_type == 'variable' ) {
1069
+ return get_permalink( $product->id );
1070
+ }
1071
+
1072
+ $url = YITH_WCWL_URL . 'add-to-cart.php?wishlist_item_id=' . rtrim( $id, '_' );
1073
+
1074
+ if( $user_id != '' ) {
1075
+ $url .= '&id=' . $user_id;
1076
+ }
1077
+
1078
+ return $url;
1079
+ }
1080
+
1081
+ /**
1082
+ * Build the URL used for an external/affiliate product.
1083
+ *
1084
+ * @deprecated
1085
+ * @param $id
1086
+ * @return string
1087
+ */
1088
+ public function get_affiliate_product_url( $id ) {
1089
+ _deprecated_function( 'YITH_WCWL::get_affiliate_product_url', '2.0.0' );
1090
+ $product = get_product( $id );
1091
+ return get_post_meta( $product->id, '_product_url', true );
1092
+ }
1093
+
1094
+ /**
1095
+ * Build an URL with the nonce added.
1096
+ *
1097
+ * @param string $action
1098
+ * @param string $url
1099
+ * @return string
1100
+ * @since 1.0.0
1101
+ */
1102
+ public function get_nonce_url( $action, $url = '' ) {
1103
+ return esc_url( add_query_arg( '_n', wp_create_nonce( 'yith-wcwl-' . $action ), $url ) );
1104
+ }
1105
+
1106
+ /**
1107
+ * Prints wc notice for wishlist pages
1108
+ *
1109
+ * @return void
1110
+ * @since 2.0.5
1111
+ */
1112
+ public function print_notices() {
1113
+ global $woocommerce;
1114
+
1115
+ // Start wishlist page printing
1116
+ if( function_exists( 'wc_print_notices' ) ) {
1117
+ wc_print_notices();
1118
+ }
1119
+ elseif( method_exists( $woocommerce, 'show_message' ) ){
1120
+ $woocommerce->show_messages();
1121
+ }
1122
+ }
1123
+
1124
+ /* === FONTAWESOME FIX === */
1125
+
1126
+ /**
1127
+ * Modernize font-awesome class, for old wishlist users
1128
+ *
1129
+ * @param $class string Original font-awesome class
1130
+ * @return string Filtered font-awesome class
1131
+ * @since 2.0.2
1132
+ */
1133
+ public function update_font_awesome_classes( $class ) {
1134
+ $exceptions = array(
1135
+ 'icon-envelope' => 'fa-envelope-o',
1136
+ 'icon-star-empty' => 'fa-star-o',
1137
+ 'icon-ok' => 'fa-check',
1138
+ 'icon-zoom-in' => 'fa-search-plus',
1139
+ 'icon-zoom-out' => 'fa-search-minus',
1140
+ 'icon-off' => 'fa-power-off',
1141
+ 'icon-trash' => 'fa-trash-o',
1142
+ 'icon-share' => 'fa-share-square-o',
1143
+ 'icon-check' => 'fa-check-square-o',
1144
+ 'icon-move' => 'fa-arrows',
1145
+ 'icon-file' => 'fa-file-o',
1146
+ 'icon-time' => 'fa-clock-o',
1147
+ 'icon-download-alt' => 'fa-download',
1148
+ 'icon-download' => 'fa-arrow-circle-o-down',
1149
+ 'icon-upload' => 'fa-arrow-circle-o-up',
1150
+ 'icon-play-circle' => 'fa-play-circle-o',
1151
+ 'icon-indent-left' => 'fa-dedent',
1152
+ 'icon-indent-right' => 'fa-indent',
1153
+ 'icon-facetime-video' => 'fa-video-camera',
1154
+ 'icon-picture' => 'fa-picture-o',
1155
+ 'icon-plus-sign' => 'fa-plus-circle',
1156
+ 'icon-minus-sign' => 'fa-minus-circle',
1157
+ 'icon-remove-sign' => 'fa-times-circle',
1158
+ 'icon-ok-sign' => 'fa-check-circle',
1159
+ 'icon-question-sign' => 'fa-question-circle',
1160
+ 'icon-info-sign' => 'fa-info-circle',
1161
+ 'icon-screenshot' => 'fa-crosshairs',
1162
+ 'icon-remove-circle' => 'fa-times-circle-o',
1163
+ 'icon-ok-circle' => 'fa-check-circle-o',
1164
+ 'icon-ban-circle' => 'fa-ban',
1165
+ 'icon-share-alt' => 'fa-share',
1166
+ 'icon-resize-full' => 'fa-expand',
1167
+ 'icon-resize-small' => 'fa-compress',
1168
+ 'icon-exclamation-sign' => 'fa-exclamation-circle',
1169
+ 'icon-eye-open' => 'fa-eye',
1170
+ 'icon-eye-close' => 'fa-eye-slash',
1171
+ 'icon-warning-sign' => 'fa-warning',
1172
+ 'icon-folder-close' => 'fa-folder',
1173
+ 'icon-resize-vertical' => 'fa-arrows-v',
1174
+ 'icon-resize-horizontal' => 'fa-arrows-h',
1175
+ 'icon-twitter-sign' => 'fa-twitter-square',
1176
+ 'icon-facebook-sign' => 'fa-facebook-square',
1177
+ 'icon-thumbs-up' => 'fa-thumbs-o-up',
1178
+ 'icon-thumbs-down' => 'fa-thumbs-o-down',
1179
+ 'icon-heart-empty' => 'fa-heart-o',
1180
+ 'icon-signout' => 'fa-sign-out',
1181
+ 'icon-linkedin-sign' => 'fa-linkedin-square',
1182
+ 'icon-pushpin' => 'fa-thumb-tack',
1183
+ 'icon-signin' => 'fa-sign-in',
1184
+ 'icon-github-sign' => 'fa-github-square',
1185
+ 'icon-upload-alt' => 'fa-upload',
1186
+ 'icon-lemon' => 'fa-lemon-o',
1187
+ 'icon-check-empty' => 'fa-square-o',
1188
+ 'icon-bookmark-empty' => 'fa-bookmark-o',
1189
+ 'icon-phone-sign' => 'fa-phone-square',
1190
+ 'icon-hdd' => 'fa-hdd-o',
1191
+ 'icon-hand-right' => 'fa-hand-o-right',
1192
+ 'icon-hand-left' => 'fa-hand-o-left',
1193
+ 'icon-hand-up' => 'fa-hand-o-up',
1194
+ 'icon-hand-down' => 'fa-hand-o-down',
1195
+ 'icon-circle-arrow-left' => 'fa-arrow-circle-left',
1196
+ 'icon-circle-arrow-right' => 'fa-arrow-circle-right',
1197
+ 'icon-circle-arrow-up' => 'fa-arrow-circle-up',
1198
+ 'icon-circle-arrow-down' => 'fa-arrow-circle-down',
1199
+ 'icon-fullscreen' => 'fa-arrows-alt',
1200
+ 'icon-beaker' => 'fa-flask',
1201
+ 'icon-paper-clip' => 'fa-paperclip',
1202
+ 'icon-sign-blank' => 'fa-square',
1203
+ 'icon-pinterest-sign' => 'fa-pinterest-square',
1204
+ 'icon-google-plus-sign' => 'fa-google-plus-square',
1205
+ 'icon-envelope-alt' => 'fa-envelope',
1206
+ 'icon-comment-alt' => 'fa-comment-o',
1207
+ 'icon-comments-alt' => 'fa-comments-o'
1208
+ );
1209
+
1210
+ if( in_array( $class, array_keys( $exceptions ) ) ){
1211
+ $class = $exceptions[ $class ];
1212
+ }
1213
+
1214
+ $class = str_replace( 'icon-', 'fa-', $class );
1215
+
1216
+ return $class;
1217
+ }
1218
+
1219
+ /* === REQUEST HANDLING METHODS === */
1220
+
1221
+ /**
1222
+ * Adds an element to wishlist when default AJAX method cannot be used
1223
+ *
1224
+ * @return void
1225
+ * @since 2.0.0
1226
+ */
1227
+ public function add_to_wishlist(){
1228
+ // add item to wishlist when javascript is not enabled
1229
+ if( isset( $_GET['add_to_wishlist'] ) ) {
1230
+ $this->add();
1231
+ }
1232
+ }
1233
+
1234
+ /**
1235
+ * Removes an element from wishlist when default AJAX method cannot be used
1236
+ *
1237
+ * @return void
1238
+ * @since 2.0.0
1239
+ */
1240
+ public function remove_from_wishlist(){
1241
+ // remove item from wishlist when javascript is not enabled
1242
+ if( isset( $_GET['remove_from_wishlist'] ) ){
1243
+ $this->remove();
1244
+ }
1245
+ }
1246
+
1247
+ /**
1248
+ * Removes an element after add to cart, if option is enabled in panel
1249
+ *
1250
+ * @return void
1251
+ * @since 2.0.0
1252
+ */
1253
+ public function remove_from_wishlist_after_add_to_cart() {
1254
+ if( get_option( 'yith_wcwl_remove_after_add_to_cart' ) == 'yes' ){
1255
+ if( isset( $_REQUEST['remove_from_wishlist_after_add_to_cart'] ) ) {
1256
+
1257
+ $this->details['remove_from_wishlist'] = $_REQUEST['remove_from_wishlist_after_add_to_cart'];
1258
+
1259
+ if ( isset( $_REQUEST['wishlist_id'] ) ) {
1260
+ $this->details['wishlist_id'] = $_REQUEST['wishlist_id'];
1261
+ }
1262
+ }
1263
+ elseif( yith_wcwl_is_wishlist() ){
1264
+ $this->details['remove_from_wishlist'] = $_REQUEST['add-to-cart'];
1265
+
1266
+ if ( isset( $_REQUEST['wishlist_id'] ) ) {
1267
+ $this->details['wishlist_id'] = $_REQUEST['wishlist_id'];
1268
+ }
1269
+ }
1270
+
1271
+ $this->remove();
1272
+ }
1273
+ }
1274
+
1275
+ /**
1276
+ * Redirect to cart after "Add to cart" button pressed on wishlist table
1277
+ *
1278
+ * @param $url string Original redirect url
1279
+ * @return string Redirect url
1280
+ * @since 2.0.0
1281
+ */
1282
+ public function redirect_to_cart( $url, $product ) {
1283
+ global $yith_wcwl_wishlist_token;
1284
+
1285
+ $wishlist = $this->get_wishlist_detail_by_token( $yith_wcwl_wishlist_token );
1286
+ $wishlist_id = $wishlist['ID'];
1287
+
1288
+ if( $product->is_type( 'simple' ) && get_option( 'yith_wcwl_redirect_cart' ) == 'yes' ){
1289
+ if( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) && yith_wcwl_is_wishlist() ){
1290
+ $url = add_query_arg( 'add-to-cart', $product->id, WC()->cart->get_cart_url() );
1291
+ }
1292
+ }
1293
+
1294
+ if( get_option( 'yith_wcwl_remove_after_add_to_cart' ) == 'yes' ){
1295
+ if( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) && yith_wcwl_is_wishlist() ) {
1296
+ $url = add_query_arg(
1297
+ array(
1298
+ 'remove_from_wishlist_after_add_to_cart' => $product->id,
1299
+ 'wishlist_id' => $wishlist_id,
1300
+ 'wishlist_token' => $yith_wcwl_wishlist_token
1301
+ ),
1302
+ $url
1303
+ );
1304
+ }
1305
+ }
1306
+
1307
+ return apply_filters( 'yit_wcwl_add_to_cart_redirect_url', esc_url( $url ) );
1308
+ }
1309
+
1310
+ /**
1311
+ * AJAX: add to wishlist action
1312
+ *
1313
+ * @return void
1314
+ * @since 1.0.0
1315
+ */
1316
+ public function add_to_wishlist_ajax() {
1317
+ $return = $this->add();
1318
+ $message = '';
1319
+ $user_id = isset( $this->details['user_id'] ) ? $this->details['user_id'] : false;
1320
+ $wishlists = array();
1321
+
1322
+ if( $return == 'true' ){
1323
+ $message = apply_filters( 'yith_wcwl_product_added_to_wishlist_message', get_option( 'yith_wcwl_product_added_text' ) );
1324
+ }
1325
+ elseif( $return == 'exists' ){
1326
+ $message = apply_filters( 'yith_wcwl_product_already_in_wishlist_message', get_option( 'yith_wcwl_already_in_wishlist_text' ) );
1327
+ }
1328
+ elseif( count( $this->errors ) > 0 ){
1329
+ $message = apply_filters( 'yith_wcwl_error_adding_to_wishlist_message', $this->get_errors() );
1330
+ }
1331
+
1332
+ if( $user_id != false ){
1333
+ $wishlists = $this->get_wishlists( array( 'user_id' => $user_id ) );
1334
+ }
1335
+
1336
+ wp_send_json(
1337
+ array(
1338
+ 'result' => $return,
1339
+ 'message' => $message,
1340
+ 'user_wishlists' => $wishlists,
1341
+ 'wishlist_url' => $this->get_wishlist_url( 'view' . ( isset( $this->last_operation_token ) ? ( '/' . $this->last_operation_token ) : false ) ),
1342
+ )
1343
+ );
1344
+ }
1345
+
1346
+ /**
1347
+ * AJAX: remove from wishlist action
1348
+ *
1349
+ * @return void
1350
+ * @since 1.0.0
1351
+ */
1352
+ public function remove_from_wishlist_ajax() {
1353
+ $wishlist_token = isset( $this->details['wishlist_token'] ) ? $this->details['wishlist_token'] : false;
1354
+ $count = yith_wcwl_count_products( $wishlist_token );
1355
+ $message = '';
1356
+
1357
+ if( $count != 0 ) {
1358
+ if ( $this->remove() ) {
1359
+ $message = apply_filters( 'yith_wcwl_product_removed_text', __( 'Product successfully removed.', 'yith-woocommerce-wishlist' ) );
1360
+ $count --;
1361
+ }
1362
+ else {
1363
+ $message = apply_filters( 'yith_wcwl_unable_to_remove_product_message', __( 'Error. Unable to remove the product from the wishlist.', 'yith-woocommerce-wishlist' ) );
1364
+ }
1365
+ }
1366
+ else{
1367
+ $message = apply_filters( 'yith_wcwl_no_product_to_remove_message', __( 'No products were added to the wishlist', 'yith-woocommerce-wishlist' ) );
1368
+ }
1369
+
1370
+ wc_add_notice( $message );
1371
+
1372
+ $atts = array( 'wishlist_id' => $wishlist_token );
1373
+ if( isset( $this->details['pagination'] ) ){
1374
+ $atts['pagination'] = $this->details['pagination'];
1375
+ }
1376
+
1377
+ if( isset( $this->details['per_page'] ) ){
1378
+ $atts['per_page'] = $this->details['per_page'];
1379
+ }
1380
+
1381
+ echo YITH_WCWL_Shortcode::wishlist( $atts );
1382
+ die();
1383
+ }
1384
+
1385
+ /*******************************************
1386
+ * INTEGRATION WC Frequently Bought Together
1387
+ *******************************************/
1388
+
1389
+ /**
1390
+ * AJAX: reload wishlist and adding elem action
1391
+ *
1392
+ * @return void
1393
+ * @since 1.0.0
1394
+ */
1395
+ public function reload_wishlist_and_adding_elem_ajax() {
1396
+
1397
+ $return = $this->add();
1398
+ $message = '';
1399
+ $type_msg = 'success';
1400
+
1401
+ if( $return == 'true' ){
1402
+ $message = apply_filters( 'yith_wcwl_product_added_to_wishlist_message', get_option( 'yith_wcwl_product_added_text' ) );
1403
+ }
1404
+ elseif( $return == 'exists' ){
1405
+ $message = apply_filters( 'yith_wcwl_product_already_in_wishlist_message', get_option( 'yith_wcwl_already_in_wishlist_text' ) );
1406
+ $type_msg = 'error';
1407
+ }
1408
+ else {
1409
+ $message = apply_filters( 'yith_wcwl_product_removed_text', __( 'An error as occurred.', 'yith-woocommerce-wishlist' ) );
1410
+ $type_msg = 'error';
1411
+ }
1412
+
1413
+ $wishlist_token = isset( $this->details['wishlist_token'] ) ? $this->details['wishlist_token'] : false;
1414
+
1415
+ $atts = array( 'wishlist_id' => $wishlist_token );
1416
+ if( isset( $this->details['pagination'] ) ){
1417
+ $atts['pagination'] = $this->details['pagination'];
1418
+ }
1419
+
1420
+ if( isset( $this->details['per_page'] ) ){
1421
+ $atts['per_page'] = $this->details['per_page'];
1422
+ }
1423
+
1424
+ ob_start();
1425
+
1426
+ wc_add_notice( $message, $type_msg );
1427
+
1428
+ echo '<div>'. YITH_WCWL_Shortcode::wishlist( $atts ) . '</div>';
1429
+
1430
+ echo ob_get_clean();
1431
+ die();
1432
+
1433
+ }
1434
+
1435
+ /**
1436
+ * redirect after add to cart from YITH WooCommerce Frequently Bought Together Premium shortcode
1437
+ *
1438
+ * @since 1.0.0
1439
+ */
1440
+ public function yith_wfbt_redirect_after_add_to_cart( $url ){
1441
+ if( ! isset( $_REQUEST['yith_wfbt_shortcode'] ) ) {
1442
+ return $url;
1443
+ }
1444
+
1445
+ return get_option( 'yith_wcwl_redirect_cart' ) == 'yes' ? WC()->cart->get_cart_url() : $this->get_wishlist_url();
1446
+ }
1447
+ }
1448
+ }
1449
+
1450
+ /**
1451
+ * Unique access to instance of YITH_WCWL class
1452
+ *
1453
+ * @return \YITH_WCWL
1454
+ * @since 2.0.0
1455
+ */
1456
+ function YITH_WCWL(){
1457
+ return YITH_WCWL::get_instance();
1458
  }
includes/functions.yith-wcwl.php CHANGED
@@ -105,6 +105,18 @@ if( !function_exists( 'yith_wcwl_count_products' ) ) {
105
  }
106
  }
107
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  if( !function_exists( 'yith_frontend_css_color_picker' ) ) {
109
  /**
110
  * Output a colour picker input box.
105
  }
106
  }
107
 
108
+ if( !function_exists( 'yith_wcwl_count_all_products' ) ) {
109
+ /**
110
+ * Retrieve the number of products in all the wishlists.
111
+ *
112
+ * @return int
113
+ * @since 2.0.13
114
+ */
115
+ function yith_wcwl_count_all_products() {
116
+ return YITH_WCWL()->count_all_products();
117
+ }
118
+ }
119
+
120
  if( !function_exists( 'yith_frontend_css_color_picker' ) ) {
121
  /**
122
  * Output a colour picker input box.
init.php CHANGED
@@ -1,147 +1,149 @@
1
- <?php
2
- /**
3
- * Plugin Name: YITH WooCommerce Wishlist
4
- * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
- * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
- * Version: 2.0.12
7
- * Author: Yithemes
8
- * Author URI: http://yithemes.com/
9
- * Text Domain: yith-woocommerce-wishlist
10
- * Domain Path: /languages/
11
- *
12
- * @author Your Inspiration Themes
13
- * @package YITH WooCommerce Wishlist
14
- * @version 2.0.0
15
- */
16
-
17
- /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
18
-
19
- This program is free software; you can redistribute it and/or modify
20
- it under the terms of the GNU General Public License, version 2, as
21
- published by the Free Software Foundation.
22
-
23
- This program is distributed in the hope that it will be useful,
24
- but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
- GNU General Public License for more details.
27
-
28
- You should have received a copy of the GNU General Public License
29
- along with this program; if not, write to the Free Software
30
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31
- */
32
-
33
- if ( ! defined( 'ABSPATH' ) ) {
34
- exit;
35
- } // Exit if accessed directly
36
-
37
- /**
38
- * Required functions
39
- */
40
- if( ! defined( 'YITH_FUNCTIONS' ) ) {
41
- require_once( 'yit-common/yit-functions.php' );
42
- }
43
-
44
- if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
45
- require_once 'plugin-fw/yit-plugin-registration-hook.php';
46
- }
47
- register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
48
-
49
- if ( ! defined( 'YITH_WCWL' ) ) {
50
- define( 'YITH_WCWL', true );
51
- }
52
-
53
- if ( ! defined( 'YITH_WCWL_URL' ) ) {
54
- define( 'YITH_WCWL_URL', plugin_dir_url( __FILE__ ) );
55
- }
56
-
57
- if ( ! defined( 'YITH_WCWL_DIR' ) ) {
58
- define( 'YITH_WCWL_DIR', plugin_dir_path( __FILE__ ) );
59
- }
60
-
61
- if ( ! defined( 'YITH_WCWL_INC' ) ) {
62
- define( 'YITH_WCWL_INC', YITH_WCWL_DIR . 'includes/' );
63
- }
64
-
65
- if ( ! defined( 'YITH_WCWL_INIT' ) ) {
66
- define( 'YITH_WCWL_INIT', plugin_basename( __FILE__ ) );
67
- }
68
-
69
- if ( ! defined( 'YITH_WCWL_FREE_INIT' ) ) {
70
- define( 'YITH_WCWL_FREE_INIT', plugin_basename( __FILE__ ) );
71
- }
72
-
73
- /* Plugin Framework Version Check */
74
- ! function_exists( 'yit_maybe_plugin_fw_loader' ) && require_once( YITH_WCWL_DIR . 'plugin-fw/init.php' );
75
- yit_maybe_plugin_fw_loader( YITH_WCWL_DIR );
76
-
77
- if( ! function_exists( 'yith_wishlist_constructor' ) ) {
78
- function yith_wishlist_constructor() {
79
-
80
- load_plugin_textdomain( 'yith-woocommerce-wishlist', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
81
-
82
- // Load required classes and functions
83
- require_once( YITH_WCWL_INC . 'functions.yith-wcwl.php' );
84
- require_once( YITH_WCWL_INC . 'class.yith-wcwl.php' );
85
- require_once( YITH_WCWL_INC . 'class.yith-wcwl-init.php' );
86
- require_once( YITH_WCWL_INC . 'class.yith-wcwl-install.php' );
87
-
88
- if ( is_admin() ) {
89
- require_once( YITH_WCWL_INC . 'class.yith-wcwl-admin-init.php' );
90
- }
91
-
92
- if ( get_option( 'yith_wcwl_enabled' ) == 'yes' ) {
93
- require_once( YITH_WCWL_INC . 'class.yith-wcwl-ui.php' );
94
- require_once( YITH_WCWL_INC . 'class.yith-wcwl-shortcode.php' );
95
- }
96
-
97
- // Let's start the game!
98
-
99
- /**
100
- * @deprecated
101
- */
102
- global $yith_wcwl;
103
- $yith_wcwl = YITH_WCWL();
104
- }
105
- }
106
- add_action( 'yith_wcwl_init', 'yith_wishlist_constructor' );
107
-
108
- if( ! function_exists( 'yith_wishlist_install' ) ) {
109
- function yith_wishlist_install() {
110
-
111
- if ( ! function_exists( 'is_plugin_active' ) ) {
112
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
113
- }
114
-
115
- if ( ! function_exists( 'WC' ) ) {
116
- add_action( 'admin_notices', 'yith_wcwl_install_woocommerce_admin_notice' );
117
- }
118
- elseif( defined( 'YITH_WCWL_PREMIUM' ) ) {
119
- add_action( 'admin_notices', 'yith_wcwl_install_free_admin_notice' );
120
- deactivate_plugins( plugin_basename( __FILE__ ) );
121
- }
122
- else {
123
- do_action( 'yith_wcwl_init' );
124
- }
125
- }
126
- }
127
- add_action( 'plugins_loaded', 'yith_wishlist_install', 11 );
128
-
129
- if( ! function_exists( 'yith_wcwl_install_woocommerce_admin_notice' ) ) {
130
- function yith_wcwl_install_woocommerce_admin_notice() {
131
- ?>
132
- <div class="error">
133
- <p><?php _e( 'YITH WooCommerce Wishlist is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-wishlist' ); ?></p>
134
- </div>
135
- <?php
136
- }
137
- }
138
-
139
- if( ! function_exists( 'yith_wcwl_install_free_admin_notice' ) ){
140
- function yith_wcwl_install_free_admin_notice() {
141
- ?>
142
- <div class="error">
143
- <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Wishlist while you are using the premium one.', 'yith-woocommerce-wishlist' ); ?></p>
144
- </div>
145
- <?php
146
- }
 
 
147
  }
1
+ <?php
2
+ /**
3
+ * Plugin Name: YITH WooCommerce Wishlist
4
+ * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
+ * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
+ * Version: 2.0.13
7
+ * Author: Yithemes
8
+ * Author URI: http://yithemes.com/
9
+ * Text Domain: yith-woocommerce-wishlist
10
+ * Domain Path: /languages/
11
+ *
12
+ * @author Your Inspiration Themes
13
+ * @package YITH WooCommerce Wishlist
14
+ * @version 2.0.0
15
+ */
16
+
17
+ /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
18
+
19
+ This program is free software; you can redistribute it and/or modify
20
+ it under the terms of the GNU General Public License, version 2, as
21
+ published by the Free Software Foundation.
22
+
23
+ This program is distributed in the hope that it will be useful,
24
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
25
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
+ GNU General Public License for more details.
27
+
28
+ You should have received a copy of the GNU General Public License
29
+ along with this program; if not, write to the Free Software
30
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31
+ */
32
+
33
+ if ( ! defined( 'ABSPATH' ) ) {
34
+ exit;
35
+ } // Exit if accessed directly
36
+
37
+ /**
38
+ * Required functions
39
+ */
40
+ if( ! defined( 'YITH_FUNCTIONS' ) ) {
41
+ require_once( 'yit-common/yit-functions.php' );
42
+ }
43
+
44
+ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
45
+ require_once 'plugin-fw/yit-plugin-registration-hook.php';
46
+ }
47
+ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
48
+
49
+ if ( ! defined( 'YITH_WCWL' ) ) {
50
+ define( 'YITH_WCWL', true );
51
+ }
52
+
53
+ if ( ! defined( 'YITH_WCWL_URL' ) ) {
54
+ define( 'YITH_WCWL_URL', plugin_dir_url( __FILE__ ) );
55
+ }
56
+
57
+ if ( ! defined( 'YITH_WCWL_DIR' ) ) {
58
+ define( 'YITH_WCWL_DIR', plugin_dir_path( __FILE__ ) );
59
+ }
60
+
61
+ if ( ! defined( 'YITH_WCWL_INC' ) ) {
62
+ define( 'YITH_WCWL_INC', YITH_WCWL_DIR . 'includes/' );
63
+ }
64
+
65
+ if ( ! defined( 'YITH_WCWL_INIT' ) ) {
66
+ define( 'YITH_WCWL_INIT', plugin_basename( __FILE__ ) );
67
+ }
68
+
69
+ if ( ! defined( 'YITH_WCWL_FREE_INIT' ) ) {
70
+ define( 'YITH_WCWL_FREE_INIT', plugin_basename( __FILE__ ) );
71
+ }
72
+
73
+ /* Plugin Framework Version Check */
74
+ if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WCWL_DIR . 'plugin-fw/init.php' ) ) {
75
+ require_once( YITH_WCWL_DIR . 'plugin-fw/init.php' );
76
+ }
77
+ yit_maybe_plugin_fw_loader( YITH_WCWL_DIR );
78
+
79
+ if( ! function_exists( 'yith_wishlist_constructor' ) ) {
80
+ function yith_wishlist_constructor() {
81
+
82
+ load_plugin_textdomain( 'yith-woocommerce-wishlist', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
83
+
84
+ // Load required classes and functions
85
+ require_once( YITH_WCWL_INC . 'functions.yith-wcwl.php' );
86
+ require_once( YITH_WCWL_INC . 'class.yith-wcwl.php' );
87
+ require_once( YITH_WCWL_INC . 'class.yith-wcwl-init.php' );
88
+ require_once( YITH_WCWL_INC . 'class.yith-wcwl-install.php' );
89
+
90
+ if ( is_admin() ) {
91
+ require_once( YITH_WCWL_INC . 'class.yith-wcwl-admin-init.php' );
92
+ }
93
+
94
+ if ( get_option( 'yith_wcwl_enabled' ) == 'yes' ) {
95
+ require_once( YITH_WCWL_INC . 'class.yith-wcwl-ui.php' );
96
+ require_once( YITH_WCWL_INC . 'class.yith-wcwl-shortcode.php' );
97
+ }
98
+
99
+ // Let's start the game!
100
+
101
+ /**
102
+ * @deprecated
103
+ */
104
+ global $yith_wcwl;
105
+ $yith_wcwl = YITH_WCWL();
106
+ }
107
+ }
108
+ add_action( 'yith_wcwl_init', 'yith_wishlist_constructor' );
109
+
110
+ if( ! function_exists( 'yith_wishlist_install' ) ) {
111
+ function yith_wishlist_install() {
112
+
113
+ if ( ! function_exists( 'is_plugin_active' ) ) {
114
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
115
+ }
116
+
117
+ if ( ! function_exists( 'WC' ) ) {
118
+ add_action( 'admin_notices', 'yith_wcwl_install_woocommerce_admin_notice' );
119
+ }
120
+ elseif( defined( 'YITH_WCWL_PREMIUM' ) ) {
121
+ add_action( 'admin_notices', 'yith_wcwl_install_free_admin_notice' );
122
+ deactivate_plugins( plugin_basename( __FILE__ ) );
123
+ }
124
+ else {
125
+ do_action( 'yith_wcwl_init' );
126
+ }
127
+ }
128
+ }
129
+ add_action( 'plugins_loaded', 'yith_wishlist_install', 11 );
130
+
131
+ if( ! function_exists( 'yith_wcwl_install_woocommerce_admin_notice' ) ) {
132
+ function yith_wcwl_install_woocommerce_admin_notice() {
133
+ ?>
134
+ <div class="error">
135
+ <p><?php _e( 'YITH WooCommerce Wishlist is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-wishlist' ); ?></p>
136
+ </div>
137
+ <?php
138
+ }
139
+ }
140
+
141
+ if( ! function_exists( 'yith_wcwl_install_free_admin_notice' ) ){
142
+ function yith_wcwl_install_free_admin_notice() {
143
+ ?>
144
+ <div class="error">
145
+ <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Wishlist while you are using the premium one.', 'yith-woocommerce-wishlist' ); ?></p>
146
+ </div>
147
+ <?php
148
+ }
149
  }
languages/yith-woocommerce-wishlist-de_DE.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
6
- "PO-Revision-Date: 2015-10-23 16:43+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language: de_DE\n"
@@ -20,88 +20,92 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
- #: ../includes/class.yith-wcwl-admin-init.php:194
24
- #: ../includes/class.yith-wcwl-admin-init.php:1414
25
- #: ../includes/class.yith-wcwl-admin-init.php:1415
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr "Wunschliste"
29
 
30
- #: ../includes/class.yith-wcwl-admin-init.php:196
31
- #: ../includes/class.yith-wcwl-admin-init.php:298
32
  msgid "Settings"
33
  msgstr "Einstellungen"
34
 
35
- #: ../includes/class.yith-wcwl-admin-init.php:197
36
- #: ../includes/class.yith-wcwl-admin-init.php:265
37
  msgid "Colors"
38
  msgstr "Farben"
39
 
40
- #: ../includes/class.yith-wcwl-admin-init.php:198
41
- #: ../includes/class.yith-wcwl-admin-init.php:302
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
46
  msgid ""
47
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
48
  "link to update it."
49
  msgstr ""
50
 
51
- #: ../includes/class.yith-wcwl-admin-init.php:329
52
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
53
  msgstr ""
54
 
55
- #: ../includes/class.yith-wcwl-admin-init.php:334
56
  msgid "Plugin Documentation"
57
  msgstr ""
58
 
59
- #: ../includes/class.yith-wcwl-admin-init.php:350
60
  msgid "Wishlist Page"
61
  msgstr "Wunschlistenseite"
62
 
63
- #: ../includes/class.yith-wcwl-admin-init.php:351
64
  msgid "Page contents: [yith_wcwl_wishlist]"
65
  msgstr "Seiteninhalt: [yith_wcwl_wishlist]"
66
 
67
- #: ../includes/class.yith-wcwl-admin-init.php:926
68
  msgid "Upgrade to the PREMIUM VERSION"
69
  msgstr ""
70
 
71
- #: ../includes/class.yith-wcwl-admin-init.php:929
72
  msgid "YITH WooCommerce Wishlist"
73
  msgstr ""
74
 
75
- #: ../includes/class.yith-wcwl-admin-init.php:930
76
  msgid "Discover the Advanced Features"
77
  msgstr ""
78
 
79
- #: ../includes/class.yith-wcwl-admin-init.php:931
80
  msgid ""
81
  "Upgrade to the PREMIUM VERSION\n"
82
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
83
  msgstr ""
84
 
85
- #: ../includes/class.yith-wcwl-admin-init.php:938
86
  msgid "Get Support and Pro Features"
87
  msgstr ""
88
 
89
- #: ../includes/class.yith-wcwl-admin-init.php:939
90
  msgid ""
91
  "By purchasing the premium version of the plugin, you will take advantage of "
92
  "the advanced features of the product and you will get one year of free "
93
  "updates and support through our platform available 24h/24."
94
  msgstr ""
95
 
96
- #: ../includes/class.yith-wcwl-admin-init.php:949
97
  msgid "General Settings"
98
  msgstr "Allgemeine Einstellungen"
99
 
100
- #: ../includes/class.yith-wcwl-admin-init.php:956
101
  msgid "Enable YITH Wishlist"
102
  msgstr "Aktiviere YITH Wunschliste"
103
 
104
- #: ../includes/class.yith-wcwl-admin-init.php:957
105
  #, fuzzy, php-format
106
  msgid ""
107
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -113,24 +117,24 @@ msgstr ""
113
  "markiert ist.</strong> Bitte lesen Sie die Plugin- <a href=\"%s\" target="
114
  "\"_blank\">Hinweise</a>."
115
 
116
- #: ../includes/class.yith-wcwl-admin-init.php:964
117
  #, fuzzy
118
  msgid "Default wishlist title"
119
  msgstr "Wunschlistentitel"
120
 
121
- #: ../includes/class.yith-wcwl-admin-init.php:966
122
- #: ../includes/class.yith-wcwl-admin-init.php:967
123
- #: ../includes/class.yith-wcwl-admin-init.php:1226
124
- #: ../includes/class.yith-wcwl-admin-init.php:1227
125
  #, php-format
126
  msgid "My wishlist on %s"
127
  msgstr "Meine Wunschliste von %s"
128
 
129
- #: ../includes/class.yith-wcwl-admin-init.php:975
130
  msgid "Position"
131
  msgstr "Position"
132
 
133
- #: ../includes/class.yith-wcwl-admin-init.php:976
134
  #, fuzzy
135
  msgid ""
136
  "You can add the button in variable products only after the \"Add to Cart\" "
@@ -139,27 +143,27 @@ msgstr ""
139
  "Bei Variablen Produkten kann nur nach \"Add to Cart\" eingetragen werden "
140
  "oder der Shortcode[yith_wcwl_add_to_wishlist] verwendet werden."
141
 
142
- #: ../includes/class.yith-wcwl-admin-init.php:982
143
  msgid "After \"Add to cart\""
144
  msgstr "Nach \"Add to cart\""
145
 
146
- #: ../includes/class.yith-wcwl-admin-init.php:983
147
  msgid "After thumbnails"
148
  msgstr "Nach Thumbnails (Miniaturbilder)"
149
 
150
- #: ../includes/class.yith-wcwl-admin-init.php:984
151
  msgid "After summary"
152
  msgstr "Nach Zusammenfassung"
153
 
154
- #: ../includes/class.yith-wcwl-admin-init.php:985
155
  msgid "Use shortcode"
156
  msgstr "Shortcode verwenden"
157
 
158
- #: ../includes/class.yith-wcwl-admin-init.php:990
159
  msgid "Redirect to cart"
160
  msgstr "Weiterleiten zum Warenkorb"
161
 
162
- #: ../includes/class.yith-wcwl-admin-init.php:991
163
  msgid ""
164
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
165
  "page."
@@ -167,228 +171,228 @@ msgstr ""
167
  "Zum Warenkorb weiterleiten, wenn \"Add to cart\" Button auf der "
168
  "Wunschlistenseite angeklickt wurde"
169
 
170
- #: ../includes/class.yith-wcwl-admin-init.php:998
171
  msgid "Remove if added to the cart"
172
  msgstr "Entfernen, wenn Produkt zum Warenkorb hinzugefügt wurde"
173
 
174
- #: ../includes/class.yith-wcwl-admin-init.php:999
175
  #, fuzzy
176
  msgid "Remove the product from the wishlist if it has been added to the cart."
177
  msgstr ""
178
  "Produkt von der Wunschliste enfernen, wenn es zum Warenkorb hinzugefügt wurde"
179
 
180
- #: ../includes/class.yith-wcwl-admin-init.php:1006
181
  msgid "\"Add to Wishlist\" text"
182
  msgstr "\"Zu Wunschliste hinzufügen\" Text"
183
 
184
- #: ../includes/class.yith-wcwl-admin-init.php:1008
185
- #: ../includes/class.yith-wcwl-admin-init.php:1009
186
  msgid "Add to Wishlist"
187
  msgstr "Zu Wunschliste hinzufügen"
188
 
189
- #: ../includes/class.yith-wcwl-admin-init.php:1014
190
  #, fuzzy
191
  msgid "\"Browse wishlist\" text"
192
  msgstr "Wunschliste durchsuchen"
193
 
194
- #: ../includes/class.yith-wcwl-admin-init.php:1016
195
- #: ../includes/class.yith-wcwl-admin-init.php:1017
196
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
197
  msgid "Browse Wishlist"
198
  msgstr "Wunschliste durchsuchen"
199
 
200
- #: ../includes/class.yith-wcwl-admin-init.php:1022
201
  #, fuzzy
202
  msgid "\"Product already in wishlist\" text"
203
  msgstr "Produkt ist bereits auf der Wunschliste"
204
 
205
- #: ../includes/class.yith-wcwl-admin-init.php:1024
206
- #: ../includes/class.yith-wcwl-admin-init.php:1025
207
  #: ../includes/class.yith-wcwl-ui.php:82
208
  msgid "The product is already in the wishlist!"
209
  msgstr "Dieses Produkt ist bereits in der Wunschliste vorhanden."
210
 
211
- #: ../includes/class.yith-wcwl-admin-init.php:1030
212
  #, fuzzy
213
  msgid "\"Product added\" text"
214
  msgstr "Produkt hinzugefügt!"
215
 
216
- #: ../includes/class.yith-wcwl-admin-init.php:1032
217
- #: ../includes/class.yith-wcwl-admin-init.php:1033
218
  #: ../includes/class.yith-wcwl-ui.php:81
219
  msgid "Product added!"
220
  msgstr "Produkt hinzugefügt!"
221
 
222
- #: ../includes/class.yith-wcwl-admin-init.php:1038
223
  msgid "\"Add to Cart\" text"
224
  msgstr "\"Auf die Wunschliste setzen\" Text"
225
 
226
- #: ../includes/class.yith-wcwl-admin-init.php:1040
227
- #: ../includes/class.yith-wcwl-admin-init.php:1041
228
  msgid "Add to Cart"
229
  msgstr "Zum Warenkorb hinzufügen"
230
 
231
- #: ../includes/class.yith-wcwl-admin-init.php:1046
232
  #, fuzzy
233
  msgid "Show Unit price"
234
  msgstr "Preis"
235
 
236
- #: ../includes/class.yith-wcwl-admin-init.php:1047
237
  msgid "Show unit price for each product in wishlist"
238
  msgstr ""
239
 
240
- #: ../includes/class.yith-wcwl-admin-init.php:1055
241
  #, fuzzy
242
  msgid "Show \"Add to Cart\" button"
243
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
244
 
245
- #: ../includes/class.yith-wcwl-admin-init.php:1056
246
  #, fuzzy
247
  msgid "Show \"Add to Cart\" button for each product in wishlist"
248
  msgstr "\"Zu Warenkorb hinzufügen\" Button Hintergrund"
249
 
250
- #: ../includes/class.yith-wcwl-admin-init.php:1064
251
  #, fuzzy
252
  msgid "Show Stock status"
253
  msgstr "Lagerstatus"
254
 
255
- #: ../includes/class.yith-wcwl-admin-init.php:1065
256
  msgid ""
257
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
258
  msgstr ""
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1073
261
  msgid "Show Date of addition"
262
  msgstr ""
263
 
264
- #: ../includes/class.yith-wcwl-admin-init.php:1074
265
  #, fuzzy
266
  msgid "Show the date when users have added a product to the wishlist"
267
  msgstr ""
268
  "Es ist ein Fehler aufgetreten. Produkt konnte nicht auf die Wunschliste "
269
  "gesetzt werden."
270
 
271
- #: ../includes/class.yith-wcwl-admin-init.php:1082
272
  #, fuzzy
273
  msgid "Add second remove button"
274
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
275
 
276
- #: ../includes/class.yith-wcwl-admin-init.php:1083
277
  msgid "Add a second remove button in the last column, with extended label"
278
  msgstr ""
279
 
280
- #: ../includes/class.yith-wcwl-admin-init.php:1106
281
  msgid "Styles"
282
  msgstr "Style"
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1113
285
  msgid "Use buttons"
286
  msgstr "Buttons verwenden"
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1114
289
  #, fuzzy
290
  msgid "Use buttons instead of simple anchors."
291
  msgstr "Buttons anstatt von einfachen Anchors verwenden"
292
 
293
- #: ../includes/class.yith-wcwl-admin-init.php:1121
294
  msgid "Custom CSS"
295
  msgstr "Benutzerdefiniertes CSS"
296
 
297
- #: ../includes/class.yith-wcwl-admin-init.php:1129
298
  msgid "Use theme style"
299
  msgstr "Theme Design verwenden"
300
 
301
- #: ../includes/class.yith-wcwl-admin-init.php:1130
302
  msgid "Use the theme style."
303
  msgstr "Theme Design verwenden"
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1137
306
  #, fuzzy
307
  msgid "Rounded buttons"
308
  msgstr "Buttons verwenden"
309
 
310
- #: ../includes/class.yith-wcwl-admin-init.php:1138
311
  #, fuzzy
312
  msgid "Make button corners rounded"
313
  msgstr "Button mit abgerundeten Ecken nutzen"
314
 
315
- #: ../includes/class.yith-wcwl-admin-init.php:1145
316
  msgid "\"Add to Wishlist\" icon"
317
  msgstr "\"Zur Wunschliste hinzufügen\" Icon"
318
 
319
- #: ../includes/class.yith-wcwl-admin-init.php:1146
320
  msgid "Add an icon to the \"Add to Wishlist\" button"
321
  msgstr "Ein Icon zu \"Auf die Wunschliste setzen\" Button verwenden"
322
 
323
- #: ../includes/class.yith-wcwl-admin-init.php:1157
324
  msgid "\"Add to Cart\" icon"
325
  msgstr "\"In den Warenkoeb\" Icon"
326
 
327
- #: ../includes/class.yith-wcwl-admin-init.php:1158
328
  msgid "Add an icon to the \"Add to Cart\" button"
329
  msgstr "Ein \"In den Warenkorb\"- Icon hinzufügen"
330
 
331
- #: ../includes/class.yith-wcwl-admin-init.php:1177
332
  #, fuzzy
333
  msgid "Social Networks & Share"
334
  msgstr "Soziale Netzwerke; Teilen"
335
 
336
- #: ../includes/class.yith-wcwl-admin-init.php:1184
337
  msgid "Share on Facebook"
338
  msgstr "Auf Facebook teilen"
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1185
341
  #, fuzzy
342
  msgid "Show \"Share on Facebook\" button"
343
  msgstr "Auf Facebook teilen"
344
 
345
- #: ../includes/class.yith-wcwl-admin-init.php:1192
346
  msgid "Tweet on Twitter"
347
  msgstr "Auf Twitter tweeten"
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1193
350
  #, fuzzy
351
  msgid "Show \"Tweet on Twitter\" button"
352
  msgstr "Auf Twitter tweeten"
353
 
354
- #: ../includes/class.yith-wcwl-admin-init.php:1200
355
  msgid "Pin on Pinterest"
356
  msgstr "Auf Pinterest pinnen"
357
 
358
- #: ../includes/class.yith-wcwl-admin-init.php:1201
359
  #, fuzzy
360
  msgid "Show \"Pin on Pinterest\" button"
361
  msgstr "Auf Pinterest pinnen"
362
 
363
- #: ../includes/class.yith-wcwl-admin-init.php:1208
364
  msgid "Share on Google+"
365
  msgstr "Bei Google+ teilen"
366
 
367
- #: ../includes/class.yith-wcwl-admin-init.php:1209
368
  #, fuzzy
369
  msgid "Show \"Share on Google+\" button"
370
  msgstr "Auf Facebook teilen"
371
 
372
- #: ../includes/class.yith-wcwl-admin-init.php:1216
373
  msgid "Share by Email"
374
  msgstr ""
375
 
376
- #: ../includes/class.yith-wcwl-admin-init.php:1217
377
  #, fuzzy
378
  msgid "Show \"Share by Email\" button"
379
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1224
382
  #, fuzzy
383
  msgid "Social title"
384
  msgstr "Soziale Netzwerke-Titel"
385
 
386
- #: ../includes/class.yith-wcwl-admin-init.php:1232
387
  #, fuzzy
388
  msgid "Social text"
389
  msgstr "Soziale Netzwerke Text"
390
 
391
- #: ../includes/class.yith-wcwl-admin-init.php:1233
392
  #, fuzzy
393
  msgid ""
394
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -397,115 +401,115 @@ msgstr ""
397
  "Wird bei Facebook, Twitter und Pinterest genutzt. Benutzen Sie <strong>"
398
  "%wishlist_url%</strong> wenn die URL der Wunschliste angezeigt werden soll. "
399
 
400
- #: ../includes/class.yith-wcwl-admin-init.php:1241
401
  #, fuzzy
402
  msgid "Social image URL"
403
  msgstr "Soziale Netzwerke Bild URL"
404
 
405
- #: ../includes/class.yith-wcwl-admin-init.php:1256
406
  #, php-format
407
  msgid ""
408
  "If you want to take advantage of this feature, you could consider to "
409
  "purchase the %s."
410
  msgstr ""
411
 
412
- #: ../includes/class.yith-wcwl-admin-init.php:1261
413
  msgid "YITH WooCommerce Frequently Bought Together Integration"
414
  msgstr ""
415
 
416
- #: ../includes/class.yith-wcwl-admin-init.php:1268
417
  msgid "Enable slider in wishlist"
418
  msgstr ""
419
 
420
- #: ../includes/class.yith-wcwl-admin-init.php:1269
421
  #, php-format
422
  msgid ""
423
  "Choose to enable product slider in wishlist page with linked products (<a "
424
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
425
  msgstr ""
426
 
427
- #: ../includes/class.yith-wcwl-admin-init.php:1306
428
  #, fuzzy
429
  msgid "\"Add to wishlist\" button"
430
  msgstr "\"Zu Wunschliste hinzufügen\" Button Text"
431
 
432
- #: ../includes/class.yith-wcwl-admin-init.php:1309
433
- #: ../includes/class.yith-wcwl-admin-init.php:1327
434
- #: ../includes/class.yith-wcwl-admin-init.php:1345
435
- #: ../includes/class.yith-wcwl-admin-init.php:1363
436
- #: ../includes/class.yith-wcwl-admin-init.php:1381
437
- msgid "Background"
438
- msgstr ""
439
-
440
  #: ../includes/class.yith-wcwl-admin-init.php:1310
441
  #: ../includes/class.yith-wcwl-admin-init.php:1328
442
  #: ../includes/class.yith-wcwl-admin-init.php:1346
443
  #: ../includes/class.yith-wcwl-admin-init.php:1364
444
- #: ../includes/class.yith-wcwl-admin-init.php:1382
445
- msgid "Text"
446
  msgstr ""
447
 
 
448
  #: ../includes/class.yith-wcwl-admin-init.php:1311
449
  #: ../includes/class.yith-wcwl-admin-init.php:1329
450
  #: ../includes/class.yith-wcwl-admin-init.php:1347
451
  #: ../includes/class.yith-wcwl-admin-init.php:1365
452
- #: ../includes/class.yith-wcwl-admin-init.php:1383
453
- msgid "Border"
454
  msgstr ""
455
 
456
- #: ../includes/class.yith-wcwl-admin-init.php:1318
457
- #: ../includes/class.yith-wcwl-admin-init.php:1336
458
- #: ../includes/class.yith-wcwl-admin-init.php:1354
459
- #: ../includes/class.yith-wcwl-admin-init.php:1372
460
- msgid "Background (hover)"
 
461
  msgstr ""
462
 
 
463
  #: ../includes/class.yith-wcwl-admin-init.php:1319
464
  #: ../includes/class.yith-wcwl-admin-init.php:1337
465
  #: ../includes/class.yith-wcwl-admin-init.php:1355
466
- #: ../includes/class.yith-wcwl-admin-init.php:1373
467
- msgid "Text (hover)"
468
  msgstr ""
469
 
 
470
  #: ../includes/class.yith-wcwl-admin-init.php:1320
471
  #: ../includes/class.yith-wcwl-admin-init.php:1338
472
  #: ../includes/class.yith-wcwl-admin-init.php:1356
473
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
474
  msgid "Border (hover)"
475
  msgstr ""
476
 
477
- #: ../includes/class.yith-wcwl-admin-init.php:1324
478
  #, fuzzy
479
  msgid "\"Add to Cart\" button"
480
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
481
 
482
- #: ../includes/class.yith-wcwl-admin-init.php:1342
483
  msgid "\"Style 1\" button"
484
  msgstr ""
485
 
486
- #: ../includes/class.yith-wcwl-admin-init.php:1360
487
  msgid "\"Style 2\" button"
488
  msgstr ""
489
 
490
- #: ../includes/class.yith-wcwl-admin-init.php:1378
491
  #, fuzzy
492
  msgid "Wishlist table"
493
  msgstr "Wunschlistentitel"
494
 
495
- #: ../includes/class.yith-wcwl-admin-init.php:1387
496
  msgid "Headers"
497
  msgstr ""
498
 
499
- #: ../includes/class.yith-wcwl-admin-init.php:1390
500
  msgid "Background color"
501
  msgstr ""
502
 
503
- #: ../includes/class.yith-wcwl-admin-init.php:1480
504
  #, fuzzy
505
  msgid "Wishlist Activated"
506
  msgstr "Wunschlistentitel"
507
 
508
- #: ../includes/class.yith-wcwl-admin-init.php:1481
509
  #, php-format
510
  msgid ""
511
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -514,12 +518,12 @@ msgid ""
514
  "options, <a href=\"%s\">discover it now</a>."
515
  msgstr ""
516
 
517
- #: ../includes/class.yith-wcwl-admin-init.php:1492
518
  #, fuzzy
519
  msgid "Wishlist Updated"
520
  msgstr "Wunschlistenseite"
521
 
522
- #: ../includes/class.yith-wcwl-admin-init.php:1493
523
  #, php-format
524
  msgid ""
525
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -529,13 +533,13 @@ msgid ""
529
  "\">discover the PREMIUM version.</a>"
530
  msgstr ""
531
 
532
- #: ../includes/class.yith-wcwl-init.php:361
533
  msgid ""
534
  "We are sorry, but this feature is available only if cookies are enabled on "
535
  "your browser."
536
  msgstr ""
537
 
538
- #: ../includes/class.yith-wcwl-init.php:362
539
  #, fuzzy
540
  msgid "Product correctly added to cart"
541
  msgstr "Produkt erfolgreich im Warenkorb eingefügt "
@@ -614,13 +618,13 @@ msgstr "Es wurden keine Produkte auf die Wunschliste gesetzt"
614
  msgid "An error as occurred."
615
  msgstr ""
616
 
617
- #: ../init.php:133
618
  msgid ""
619
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
620
  "WooCommerce in order to work."
621
  msgstr ""
622
 
623
- #: ../init.php:143
624
  msgid ""
625
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
626
  "are using the premium one."
@@ -878,6 +882,10 @@ msgstr "Auf Pinterest pinnen"
878
  msgid "Google+"
879
  msgstr "Bei Google+ teilen"
880
 
 
 
 
 
881
  #: ../templates/share.php:40
882
  msgid "Email"
883
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
6
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language: de_DE\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
+ #: ../includes/class.yith-wcwl-admin-init.php:176
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
25
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr "Wunschliste"
29
 
30
+ #: ../includes/class.yith-wcwl-admin-init.php:178
31
+ #: ../includes/class.yith-wcwl-admin-init.php:280
32
  msgid "Settings"
33
  msgstr "Einstellungen"
34
 
35
+ #: ../includes/class.yith-wcwl-admin-init.php:179
36
+ #: ../includes/class.yith-wcwl-admin-init.php:247
37
  msgid "Colors"
38
  msgstr "Farben"
39
 
40
+ #: ../includes/class.yith-wcwl-admin-init.php:180
41
+ #: ../includes/class.yith-wcwl-admin-init.php:284
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
+ #: ../includes/class.yith-wcwl-admin-init.php:285
46
+ msgid "Live Demo"
47
+ msgstr ""
48
+
49
+ #: ../includes/class.yith-wcwl-admin-init.php:309
50
  msgid ""
51
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
52
  "link to update it."
53
  msgstr ""
54
 
55
+ #: ../includes/class.yith-wcwl-admin-init.php:312
56
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
57
  msgstr ""
58
 
59
+ #: ../includes/class.yith-wcwl-admin-init.php:317
60
  msgid "Plugin Documentation"
61
  msgstr ""
62
 
63
+ #: ../includes/class.yith-wcwl-admin-init.php:333
64
  msgid "Wishlist Page"
65
  msgstr "Wunschlistenseite"
66
 
67
+ #: ../includes/class.yith-wcwl-admin-init.php:334
68
  msgid "Page contents: [yith_wcwl_wishlist]"
69
  msgstr "Seiteninhalt: [yith_wcwl_wishlist]"
70
 
71
+ #: ../includes/class.yith-wcwl-admin-init.php:909
72
  msgid "Upgrade to the PREMIUM VERSION"
73
  msgstr ""
74
 
75
+ #: ../includes/class.yith-wcwl-admin-init.php:912
76
  msgid "YITH WooCommerce Wishlist"
77
  msgstr ""
78
 
79
+ #: ../includes/class.yith-wcwl-admin-init.php:913
80
  msgid "Discover the Advanced Features"
81
  msgstr ""
82
 
83
+ #: ../includes/class.yith-wcwl-admin-init.php:914
84
  msgid ""
85
  "Upgrade to the PREMIUM VERSION\n"
86
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
87
  msgstr ""
88
 
89
+ #: ../includes/class.yith-wcwl-admin-init.php:921
90
  msgid "Get Support and Pro Features"
91
  msgstr ""
92
 
93
+ #: ../includes/class.yith-wcwl-admin-init.php:922
94
  msgid ""
95
  "By purchasing the premium version of the plugin, you will take advantage of "
96
  "the advanced features of the product and you will get one year of free "
97
  "updates and support through our platform available 24h/24."
98
  msgstr ""
99
 
100
+ #: ../includes/class.yith-wcwl-admin-init.php:932
101
  msgid "General Settings"
102
  msgstr "Allgemeine Einstellungen"
103
 
104
+ #: ../includes/class.yith-wcwl-admin-init.php:939
105
  msgid "Enable YITH Wishlist"
106
  msgstr "Aktiviere YITH Wunschliste"
107
 
108
+ #: ../includes/class.yith-wcwl-admin-init.php:940
109
  #, fuzzy, php-format
110
  msgid ""
111
  "Enable all plugin features. <strong>Be sure to select at least one option in "
117
  "markiert ist.</strong> Bitte lesen Sie die Plugin- <a href=\"%s\" target="
118
  "\"_blank\">Hinweise</a>."
119
 
120
+ #: ../includes/class.yith-wcwl-admin-init.php:947
121
  #, fuzzy
122
  msgid "Default wishlist title"
123
  msgstr "Wunschlistentitel"
124
 
125
+ #: ../includes/class.yith-wcwl-admin-init.php:949
126
+ #: ../includes/class.yith-wcwl-admin-init.php:950
127
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
128
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
129
  #, php-format
130
  msgid "My wishlist on %s"
131
  msgstr "Meine Wunschliste von %s"
132
 
133
+ #: ../includes/class.yith-wcwl-admin-init.php:958
134
  msgid "Position"
135
  msgstr "Position"
136
 
137
+ #: ../includes/class.yith-wcwl-admin-init.php:959
138
  #, fuzzy
139
  msgid ""
140
  "You can add the button in variable products only after the \"Add to Cart\" "
143
  "Bei Variablen Produkten kann nur nach \"Add to Cart\" eingetragen werden "
144
  "oder der Shortcode[yith_wcwl_add_to_wishlist] verwendet werden."
145
 
146
+ #: ../includes/class.yith-wcwl-admin-init.php:965
147
  msgid "After \"Add to cart\""
148
  msgstr "Nach \"Add to cart\""
149
 
150
+ #: ../includes/class.yith-wcwl-admin-init.php:966
151
  msgid "After thumbnails"
152
  msgstr "Nach Thumbnails (Miniaturbilder)"
153
 
154
+ #: ../includes/class.yith-wcwl-admin-init.php:967
155
  msgid "After summary"
156
  msgstr "Nach Zusammenfassung"
157
 
158
+ #: ../includes/class.yith-wcwl-admin-init.php:968
159
  msgid "Use shortcode"
160
  msgstr "Shortcode verwenden"
161
 
162
+ #: ../includes/class.yith-wcwl-admin-init.php:973
163
  msgid "Redirect to cart"
164
  msgstr "Weiterleiten zum Warenkorb"
165
 
166
+ #: ../includes/class.yith-wcwl-admin-init.php:974
167
  msgid ""
168
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
169
  "page."
171
  "Zum Warenkorb weiterleiten, wenn \"Add to cart\" Button auf der "
172
  "Wunschlistenseite angeklickt wurde"
173
 
174
+ #: ../includes/class.yith-wcwl-admin-init.php:981
175
  msgid "Remove if added to the cart"
176
  msgstr "Entfernen, wenn Produkt zum Warenkorb hinzugefügt wurde"
177
 
178
+ #: ../includes/class.yith-wcwl-admin-init.php:982
179
  #, fuzzy
180
  msgid "Remove the product from the wishlist if it has been added to the cart."
181
  msgstr ""
182
  "Produkt von der Wunschliste enfernen, wenn es zum Warenkorb hinzugefügt wurde"
183
 
184
+ #: ../includes/class.yith-wcwl-admin-init.php:989
185
  msgid "\"Add to Wishlist\" text"
186
  msgstr "\"Zu Wunschliste hinzufügen\" Text"
187
 
188
+ #: ../includes/class.yith-wcwl-admin-init.php:991
189
+ #: ../includes/class.yith-wcwl-admin-init.php:992
190
  msgid "Add to Wishlist"
191
  msgstr "Zu Wunschliste hinzufügen"
192
 
193
+ #: ../includes/class.yith-wcwl-admin-init.php:997
194
  #, fuzzy
195
  msgid "\"Browse wishlist\" text"
196
  msgstr "Wunschliste durchsuchen"
197
 
198
+ #: ../includes/class.yith-wcwl-admin-init.php:999
199
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
200
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
201
  msgid "Browse Wishlist"
202
  msgstr "Wunschliste durchsuchen"
203
 
204
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
205
  #, fuzzy
206
  msgid "\"Product already in wishlist\" text"
207
  msgstr "Produkt ist bereits auf der Wunschliste"
208
 
209
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
210
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
211
  #: ../includes/class.yith-wcwl-ui.php:82
212
  msgid "The product is already in the wishlist!"
213
  msgstr "Dieses Produkt ist bereits in der Wunschliste vorhanden."
214
 
215
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
216
  #, fuzzy
217
  msgid "\"Product added\" text"
218
  msgstr "Produkt hinzugefügt!"
219
 
220
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
221
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
222
  #: ../includes/class.yith-wcwl-ui.php:81
223
  msgid "Product added!"
224
  msgstr "Produkt hinzugefügt!"
225
 
226
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
227
  msgid "\"Add to Cart\" text"
228
  msgstr "\"Auf die Wunschliste setzen\" Text"
229
 
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
231
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
232
  msgid "Add to Cart"
233
  msgstr "Zum Warenkorb hinzufügen"
234
 
235
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
236
  #, fuzzy
237
  msgid "Show Unit price"
238
  msgstr "Preis"
239
 
240
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
241
  msgid "Show unit price for each product in wishlist"
242
  msgstr ""
243
 
244
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
245
  #, fuzzy
246
  msgid "Show \"Add to Cart\" button"
247
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
248
 
249
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
250
  #, fuzzy
251
  msgid "Show \"Add to Cart\" button for each product in wishlist"
252
  msgstr "\"Zu Warenkorb hinzufügen\" Button Hintergrund"
253
 
254
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
255
  #, fuzzy
256
  msgid "Show Stock status"
257
  msgstr "Lagerstatus"
258
 
259
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
260
  msgid ""
261
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
262
  msgstr ""
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
265
  msgid "Show Date of addition"
266
  msgstr ""
267
 
268
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
269
  #, fuzzy
270
  msgid "Show the date when users have added a product to the wishlist"
271
  msgstr ""
272
  "Es ist ein Fehler aufgetreten. Produkt konnte nicht auf die Wunschliste "
273
  "gesetzt werden."
274
 
275
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
276
  #, fuzzy
277
  msgid "Add second remove button"
278
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
279
 
280
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
281
  msgid "Add a second remove button in the last column, with extended label"
282
  msgstr ""
283
 
284
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
285
  msgid "Styles"
286
  msgstr "Style"
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
289
  msgid "Use buttons"
290
  msgstr "Buttons verwenden"
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
293
  #, fuzzy
294
  msgid "Use buttons instead of simple anchors."
295
  msgstr "Buttons anstatt von einfachen Anchors verwenden"
296
 
297
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
298
  msgid "Custom CSS"
299
  msgstr "Benutzerdefiniertes CSS"
300
 
301
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
302
  msgid "Use theme style"
303
  msgstr "Theme Design verwenden"
304
 
305
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
306
  msgid "Use the theme style."
307
  msgstr "Theme Design verwenden"
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
310
  #, fuzzy
311
  msgid "Rounded buttons"
312
  msgstr "Buttons verwenden"
313
 
314
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
315
  #, fuzzy
316
  msgid "Make button corners rounded"
317
  msgstr "Button mit abgerundeten Ecken nutzen"
318
 
319
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
320
  msgid "\"Add to Wishlist\" icon"
321
  msgstr "\"Zur Wunschliste hinzufügen\" Icon"
322
 
323
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
324
  msgid "Add an icon to the \"Add to Wishlist\" button"
325
  msgstr "Ein Icon zu \"Auf die Wunschliste setzen\" Button verwenden"
326
 
327
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
328
  msgid "\"Add to Cart\" icon"
329
  msgstr "\"In den Warenkoeb\" Icon"
330
 
331
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
332
  msgid "Add an icon to the \"Add to Cart\" button"
333
  msgstr "Ein \"In den Warenkorb\"- Icon hinzufügen"
334
 
335
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
336
  #, fuzzy
337
  msgid "Social Networks & Share"
338
  msgstr "Soziale Netzwerke; Teilen"
339
 
340
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
341
  msgid "Share on Facebook"
342
  msgstr "Auf Facebook teilen"
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
345
  #, fuzzy
346
  msgid "Show \"Share on Facebook\" button"
347
  msgstr "Auf Facebook teilen"
348
 
349
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
350
  msgid "Tweet on Twitter"
351
  msgstr "Auf Twitter tweeten"
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
354
  #, fuzzy
355
  msgid "Show \"Tweet on Twitter\" button"
356
  msgstr "Auf Twitter tweeten"
357
 
358
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
359
  msgid "Pin on Pinterest"
360
  msgstr "Auf Pinterest pinnen"
361
 
362
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
363
  #, fuzzy
364
  msgid "Show \"Pin on Pinterest\" button"
365
  msgstr "Auf Pinterest pinnen"
366
 
367
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
368
  msgid "Share on Google+"
369
  msgstr "Bei Google+ teilen"
370
 
371
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
372
  #, fuzzy
373
  msgid "Show \"Share on Google+\" button"
374
  msgstr "Auf Facebook teilen"
375
 
376
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
377
  msgid "Share by Email"
378
  msgstr ""
379
 
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
381
  #, fuzzy
382
  msgid "Show \"Share by Email\" button"
383
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
386
  #, fuzzy
387
  msgid "Social title"
388
  msgstr "Soziale Netzwerke-Titel"
389
 
390
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
391
  #, fuzzy
392
  msgid "Social text"
393
  msgstr "Soziale Netzwerke Text"
394
 
395
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
396
  #, fuzzy
397
  msgid ""
398
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
401
  "Wird bei Facebook, Twitter und Pinterest genutzt. Benutzen Sie <strong>"
402
  "%wishlist_url%</strong> wenn die URL der Wunschliste angezeigt werden soll. "
403
 
404
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
405
  #, fuzzy
406
  msgid "Social image URL"
407
  msgstr "Soziale Netzwerke Bild URL"
408
 
409
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
410
  #, php-format
411
  msgid ""
412
  "If you want to take advantage of this feature, you could consider to "
413
  "purchase the %s."
414
  msgstr ""
415
 
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
417
  msgid "YITH WooCommerce Frequently Bought Together Integration"
418
  msgstr ""
419
 
420
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
421
  msgid "Enable slider in wishlist"
422
  msgstr ""
423
 
424
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
425
  #, php-format
426
  msgid ""
427
  "Choose to enable product slider in wishlist page with linked products (<a "
428
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
429
  msgstr ""
430
 
431
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
432
  #, fuzzy
433
  msgid "\"Add to wishlist\" button"
434
  msgstr "\"Zu Wunschliste hinzufügen\" Button Text"
435
 
436
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
437
  #: ../includes/class.yith-wcwl-admin-init.php:1310
438
  #: ../includes/class.yith-wcwl-admin-init.php:1328
439
  #: ../includes/class.yith-wcwl-admin-init.php:1346
440
  #: ../includes/class.yith-wcwl-admin-init.php:1364
441
+ msgid "Background"
 
442
  msgstr ""
443
 
444
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
445
  #: ../includes/class.yith-wcwl-admin-init.php:1311
446
  #: ../includes/class.yith-wcwl-admin-init.php:1329
447
  #: ../includes/class.yith-wcwl-admin-init.php:1347
448
  #: ../includes/class.yith-wcwl-admin-init.php:1365
449
+ msgid "Text"
 
450
  msgstr ""
451
 
452
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
453
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
454
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
455
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
456
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
457
+ msgid "Border"
458
  msgstr ""
459
 
460
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
461
  #: ../includes/class.yith-wcwl-admin-init.php:1319
462
  #: ../includes/class.yith-wcwl-admin-init.php:1337
463
  #: ../includes/class.yith-wcwl-admin-init.php:1355
464
+ msgid "Background (hover)"
 
465
  msgstr ""
466
 
467
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
468
  #: ../includes/class.yith-wcwl-admin-init.php:1320
469
  #: ../includes/class.yith-wcwl-admin-init.php:1338
470
  #: ../includes/class.yith-wcwl-admin-init.php:1356
471
+ msgid "Text (hover)"
472
+ msgstr ""
473
+
474
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
475
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
476
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
477
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
478
  msgid "Border (hover)"
479
  msgstr ""
480
 
481
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
482
  #, fuzzy
483
  msgid "\"Add to Cart\" button"
484
  msgstr "\"Zu Warenkorb hinzufügen\" Button Text"
485
 
486
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
487
  msgid "\"Style 1\" button"
488
  msgstr ""
489
 
490
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
491
  msgid "\"Style 2\" button"
492
  msgstr ""
493
 
494
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
495
  #, fuzzy
496
  msgid "Wishlist table"
497
  msgstr "Wunschlistentitel"
498
 
499
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
500
  msgid "Headers"
501
  msgstr ""
502
 
503
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
504
  msgid "Background color"
505
  msgstr ""
506
 
507
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
508
  #, fuzzy
509
  msgid "Wishlist Activated"
510
  msgstr "Wunschlistentitel"
511
 
512
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
513
  #, php-format
514
  msgid ""
515
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
518
  "options, <a href=\"%s\">discover it now</a>."
519
  msgstr ""
520
 
521
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
522
  #, fuzzy
523
  msgid "Wishlist Updated"
524
  msgstr "Wunschlistenseite"
525
 
526
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
527
  #, php-format
528
  msgid ""
529
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
533
  "\">discover the PREMIUM version.</a>"
534
  msgstr ""
535
 
536
+ #: ../includes/class.yith-wcwl-init.php:380
537
  msgid ""
538
  "We are sorry, but this feature is available only if cookies are enabled on "
539
  "your browser."
540
  msgstr ""
541
 
542
+ #: ../includes/class.yith-wcwl-init.php:381
543
  #, fuzzy
544
  msgid "Product correctly added to cart"
545
  msgstr "Produkt erfolgreich im Warenkorb eingefügt "
618
  msgid "An error as occurred."
619
  msgstr ""
620
 
621
+ #: ../init.php:135
622
  msgid ""
623
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
624
  "WooCommerce in order to work."
625
  msgstr ""
626
 
627
+ #: ../init.php:145
628
  msgid ""
629
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
630
  "are using the premium one."
882
  msgid "Google+"
883
  msgstr "Bei Google+ teilen"
884
 
885
+ #: ../templates/share.php:40
886
+ msgid "I wanted you to see this site"
887
+ msgstr ""
888
+
889
  #: ../templates/share.php:40
890
  msgid "Email"
891
  msgstr ""
languages/yith-woocommerce-wishlist-es_AR.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-es_AR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:43+0100\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: es_AR\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de deseos"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "Configuraciones"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "Colores"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr "Lista de deseos"
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr "Contenidos: [yith_wcwl_wishlist]"
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr "Configuraciones generales"
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr "Habilitar YITH Wishlist"
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, fuzzy, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -112,24 +116,24 @@ msgstr ""
112
  "Páginas.</strong> También, por favor lee la <a href=\"%s\" target=\"_blank"
113
  "\">documentación</a> del plugin."
114
 
115
- #: ../includes/class.yith-wcwl-admin-init.php:964
116
  #, fuzzy
117
  msgid "Default wishlist title"
118
  msgstr "Título de la Lista de deseos"
119
 
120
- #: ../includes/class.yith-wcwl-admin-init.php:966
121
- #: ../includes/class.yith-wcwl-admin-init.php:967
122
- #: ../includes/class.yith-wcwl-admin-init.php:1226
123
- #: ../includes/class.yith-wcwl-admin-init.php:1227
124
  #, php-format
125
  msgid "My wishlist on %s"
126
  msgstr "Mi lista de deseos en %s"
127
 
128
- #: ../includes/class.yith-wcwl-admin-init.php:975
129
  msgid "Position"
130
  msgstr "Posición"
131
 
132
- #: ../includes/class.yith-wcwl-admin-init.php:976
133
  #, fuzzy
134
  msgid ""
135
  "You can add the button in variable products only after the \"Add to Cart\" "
@@ -138,27 +142,27 @@ msgstr ""
138
  "En productos variables puedes agregarlo sólo Después de \"Agregar al carrito"
139
  "\" o usar el shortcode [yith_wcwl_add_to_wishlist]. "
140
 
141
- #: ../includes/class.yith-wcwl-admin-init.php:982
142
  msgid "After \"Add to cart\""
143
  msgstr "Después de \"Agregar al carrito\""
144
 
145
- #: ../includes/class.yith-wcwl-admin-init.php:983
146
  msgid "After thumbnails"
147
  msgstr "Después de las miniaturas"
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:984
150
  msgid "After summary"
151
  msgstr "Después del resúmen"
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:985
154
  msgid "Use shortcode"
155
  msgstr "Usar shortcode"
156
 
157
- #: ../includes/class.yith-wcwl-admin-init.php:990
158
  msgid "Redirect to cart"
159
  msgstr "Redireccionar al carrito"
160
 
161
- #: ../includes/class.yith-wcwl-admin-init.php:991
162
  msgid ""
163
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
164
  "page."
@@ -166,224 +170,224 @@ msgstr ""
166
  "Redireccionar a la página del carrito si se presiona el botón \"Agregar al "
167
  "carrito\" en la página de la lista de deseos."
168
 
169
- #: ../includes/class.yith-wcwl-admin-init.php:998
170
  msgid "Remove if added to the cart"
171
  msgstr "Eliminar después de agregar al carrito"
172
 
173
- #: ../includes/class.yith-wcwl-admin-init.php:999
174
  #, fuzzy
175
  msgid "Remove the product from the wishlist if it has been added to the cart."
176
  msgstr "Eliminar el producto de la lista de deseos si fue agregado al carrito."
177
 
178
- #: ../includes/class.yith-wcwl-admin-init.php:1006
179
  msgid "\"Add to Wishlist\" text"
180
  msgstr "Texto de \"Agregar a la Lista de deseos\""
181
 
182
- #: ../includes/class.yith-wcwl-admin-init.php:1008
183
- #: ../includes/class.yith-wcwl-admin-init.php:1009
184
  msgid "Add to Wishlist"
185
  msgstr "Agregar a la Lista de deseos"
186
 
187
- #: ../includes/class.yith-wcwl-admin-init.php:1014
188
  #, fuzzy
189
  msgid "\"Browse wishlist\" text"
190
  msgstr "Ir a la Lista de deseos"
191
 
192
- #: ../includes/class.yith-wcwl-admin-init.php:1016
193
- #: ../includes/class.yith-wcwl-admin-init.php:1017
194
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
195
  msgid "Browse Wishlist"
196
  msgstr "Ir a la Lista de deseos"
197
 
198
- #: ../includes/class.yith-wcwl-admin-init.php:1022
199
  #, fuzzy
200
  msgid "\"Product already in wishlist\" text"
201
  msgstr "Ya está en tu lista de deseos!"
202
 
203
- #: ../includes/class.yith-wcwl-admin-init.php:1024
204
- #: ../includes/class.yith-wcwl-admin-init.php:1025
205
  #: ../includes/class.yith-wcwl-ui.php:82
206
  msgid "The product is already in the wishlist!"
207
  msgstr "¡Este producto ya está en la lista de deseos!"
208
 
209
- #: ../includes/class.yith-wcwl-admin-init.php:1030
210
  #, fuzzy
211
  msgid "\"Product added\" text"
212
  msgstr "¡Agregado!"
213
 
214
- #: ../includes/class.yith-wcwl-admin-init.php:1032
215
- #: ../includes/class.yith-wcwl-admin-init.php:1033
216
  #: ../includes/class.yith-wcwl-ui.php:81
217
  msgid "Product added!"
218
  msgstr "¡Agregado!"
219
 
220
- #: ../includes/class.yith-wcwl-admin-init.php:1038
221
  msgid "\"Add to Cart\" text"
222
  msgstr "Texto de \"Agregar al carrito\""
223
 
224
- #: ../includes/class.yith-wcwl-admin-init.php:1040
225
- #: ../includes/class.yith-wcwl-admin-init.php:1041
226
  msgid "Add to Cart"
227
  msgstr "Agregar al carrito"
228
 
229
- #: ../includes/class.yith-wcwl-admin-init.php:1046
230
  msgid "Show Unit price"
231
  msgstr "Mostrar precio por unidad"
232
 
233
- #: ../includes/class.yith-wcwl-admin-init.php:1047
234
  msgid "Show unit price for each product in wishlist"
235
  msgstr ""
236
 
237
- #: ../includes/class.yith-wcwl-admin-init.php:1055
238
  msgid "Show \"Add to Cart\" button"
239
  msgstr "Mostrar el botón \"Agregar al carrito\""
240
 
241
- #: ../includes/class.yith-wcwl-admin-init.php:1056
242
  #, fuzzy
243
  msgid "Show \"Add to Cart\" button for each product in wishlist"
244
  msgstr "Fondo del botón \"Agregar al carrito\""
245
 
246
- #: ../includes/class.yith-wcwl-admin-init.php:1064
247
  msgid "Show Stock status"
248
  msgstr "Mostrar estado del stock"
249
 
250
- #: ../includes/class.yith-wcwl-admin-init.php:1065
251
  msgid ""
252
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
253
  msgstr ""
254
 
255
- #: ../includes/class.yith-wcwl-admin-init.php:1073
256
  msgid "Show Date of addition"
257
  msgstr ""
258
 
259
- #: ../includes/class.yith-wcwl-admin-init.php:1074
260
  #, fuzzy
261
  msgid "Show the date when users have added a product to the wishlist"
262
  msgstr ""
263
  "¡Ups! Ha ocurrido un error al agregar el producto a la lista de deseos. "
264
  "Intenta nuevamente, por favor."
265
 
266
- #: ../includes/class.yith-wcwl-admin-init.php:1082
267
  #, fuzzy
268
  msgid "Add second remove button"
269
  msgstr "Texto del botón \"Agregar al carrito\""
270
 
271
- #: ../includes/class.yith-wcwl-admin-init.php:1083
272
  msgid "Add a second remove button in the last column, with extended label"
273
  msgstr ""
274
 
275
- #: ../includes/class.yith-wcwl-admin-init.php:1106
276
  msgid "Styles"
277
  msgstr "Estilos"
278
 
279
- #: ../includes/class.yith-wcwl-admin-init.php:1113
280
  msgid "Use buttons"
281
  msgstr "Usar botones"
282
 
283
- #: ../includes/class.yith-wcwl-admin-init.php:1114
284
  #, fuzzy
285
  msgid "Use buttons instead of simple anchors."
286
  msgstr "Usar botones en lugar de anclas simples."
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1121
289
  msgid "Custom CSS"
290
  msgstr "CSS personalizado"
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1129
293
  msgid "Use theme style"
294
  msgstr "Usar el estilo del tema"
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1130
297
  msgid "Use the theme style."
298
  msgstr "Usar el estilo del tema."
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1137
301
  #, fuzzy
302
  msgid "Rounded buttons"
303
  msgstr "Usar botones"
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1138
306
  #, fuzzy
307
  msgid "Make button corners rounded"
308
  msgstr "Redondear los ángulos de los botones"
309
 
310
- #: ../includes/class.yith-wcwl-admin-init.php:1145
311
  msgid "\"Add to Wishlist\" icon"
312
  msgstr "Ícono de \"Agregar a la Lista de deseos\""
313
 
314
- #: ../includes/class.yith-wcwl-admin-init.php:1146
315
  msgid "Add an icon to the \"Add to Wishlist\" button"
316
  msgstr "Agregar un ícono al botón de \"Agregar a la Lista de deseos\""
317
 
318
- #: ../includes/class.yith-wcwl-admin-init.php:1157
319
  msgid "\"Add to Cart\" icon"
320
  msgstr "Ícono de \"Agregar al carrito\""
321
 
322
- #: ../includes/class.yith-wcwl-admin-init.php:1158
323
  msgid "Add an icon to the \"Add to Cart\" button"
324
  msgstr "Agregar un ícono para el botón de \"Agregar al carrito\""
325
 
326
- #: ../includes/class.yith-wcwl-admin-init.php:1177
327
  #, fuzzy
328
  msgid "Social Networks & Share"
329
  msgstr "Sociales &amp; Compartir"
330
 
331
- #: ../includes/class.yith-wcwl-admin-init.php:1184
332
  msgid "Share on Facebook"
333
  msgstr "Compartir en Facebook"
334
 
335
- #: ../includes/class.yith-wcwl-admin-init.php:1185
336
  #, fuzzy
337
  msgid "Show \"Share on Facebook\" button"
338
  msgstr "Compartir en Facebook"
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1192
341
  msgid "Tweet on Twitter"
342
  msgstr "Tuitear en Twitter"
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1193
345
  #, fuzzy
346
  msgid "Show \"Tweet on Twitter\" button"
347
  msgstr "Tuitear en Twitter"
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1200
350
  msgid "Pin on Pinterest"
351
  msgstr "Compartir en Pinterest"
352
 
353
- #: ../includes/class.yith-wcwl-admin-init.php:1201
354
  #, fuzzy
355
  msgid "Show \"Pin on Pinterest\" button"
356
  msgstr "Compartir en Pinterest"
357
 
358
- #: ../includes/class.yith-wcwl-admin-init.php:1208
359
  msgid "Share on Google+"
360
  msgstr "Compartir en Google+"
361
 
362
- #: ../includes/class.yith-wcwl-admin-init.php:1209
363
  #, fuzzy
364
  msgid "Show \"Share on Google+\" button"
365
  msgstr "Compartir en Facebook"
366
 
367
- #: ../includes/class.yith-wcwl-admin-init.php:1216
368
  msgid "Share by Email"
369
  msgstr ""
370
 
371
- #: ../includes/class.yith-wcwl-admin-init.php:1217
372
  #, fuzzy
373
  msgid "Show \"Share by Email\" button"
374
  msgstr "Mostrar el botón \"Agregar al carrito\""
375
 
376
- #: ../includes/class.yith-wcwl-admin-init.php:1224
377
  #, fuzzy
378
  msgid "Social title"
379
  msgstr "Título de sociales"
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1232
382
  #, fuzzy
383
  msgid "Social text"
384
  msgstr "Texto de sociales"
385
 
386
- #: ../includes/class.yith-wcwl-admin-init.php:1233
387
  #, fuzzy
388
  msgid ""
389
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -392,115 +396,115 @@ msgstr ""
392
  "Será usado por Facebook, Twitter y Pinterest. Usar <strong>%wishlist_url%</"
393
  "strong> donde quieras que aparezca la URL de tu lista de deseos."
394
 
395
- #: ../includes/class.yith-wcwl-admin-init.php:1241
396
  #, fuzzy
397
  msgid "Social image URL"
398
  msgstr "URL de las imágenes sociales"
399
 
400
- #: ../includes/class.yith-wcwl-admin-init.php:1256
401
  #, php-format
402
  msgid ""
403
  "If you want to take advantage of this feature, you could consider to "
404
  "purchase the %s."
405
  msgstr ""
406
 
407
- #: ../includes/class.yith-wcwl-admin-init.php:1261
408
  msgid "YITH WooCommerce Frequently Bought Together Integration"
409
  msgstr ""
410
 
411
- #: ../includes/class.yith-wcwl-admin-init.php:1268
412
  msgid "Enable slider in wishlist"
413
  msgstr ""
414
 
415
- #: ../includes/class.yith-wcwl-admin-init.php:1269
416
  #, php-format
417
  msgid ""
418
  "Choose to enable product slider in wishlist page with linked products (<a "
419
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
420
  msgstr ""
421
 
422
- #: ../includes/class.yith-wcwl-admin-init.php:1306
423
  #, fuzzy
424
  msgid "\"Add to wishlist\" button"
425
  msgstr "Texto del botón \"Agregar a la lista de deseos\""
426
 
427
- #: ../includes/class.yith-wcwl-admin-init.php:1309
428
- #: ../includes/class.yith-wcwl-admin-init.php:1327
429
- #: ../includes/class.yith-wcwl-admin-init.php:1345
430
- #: ../includes/class.yith-wcwl-admin-init.php:1363
431
- #: ../includes/class.yith-wcwl-admin-init.php:1381
432
- msgid "Background"
433
- msgstr ""
434
-
435
  #: ../includes/class.yith-wcwl-admin-init.php:1310
436
  #: ../includes/class.yith-wcwl-admin-init.php:1328
437
  #: ../includes/class.yith-wcwl-admin-init.php:1346
438
  #: ../includes/class.yith-wcwl-admin-init.php:1364
439
- #: ../includes/class.yith-wcwl-admin-init.php:1382
440
- msgid "Text"
441
  msgstr ""
442
 
 
443
  #: ../includes/class.yith-wcwl-admin-init.php:1311
444
  #: ../includes/class.yith-wcwl-admin-init.php:1329
445
  #: ../includes/class.yith-wcwl-admin-init.php:1347
446
  #: ../includes/class.yith-wcwl-admin-init.php:1365
447
- #: ../includes/class.yith-wcwl-admin-init.php:1383
448
- msgid "Border"
449
  msgstr ""
450
 
451
- #: ../includes/class.yith-wcwl-admin-init.php:1318
452
- #: ../includes/class.yith-wcwl-admin-init.php:1336
453
- #: ../includes/class.yith-wcwl-admin-init.php:1354
454
- #: ../includes/class.yith-wcwl-admin-init.php:1372
455
- msgid "Background (hover)"
 
456
  msgstr ""
457
 
 
458
  #: ../includes/class.yith-wcwl-admin-init.php:1319
459
  #: ../includes/class.yith-wcwl-admin-init.php:1337
460
  #: ../includes/class.yith-wcwl-admin-init.php:1355
461
- #: ../includes/class.yith-wcwl-admin-init.php:1373
462
- msgid "Text (hover)"
463
  msgstr ""
464
 
 
465
  #: ../includes/class.yith-wcwl-admin-init.php:1320
466
  #: ../includes/class.yith-wcwl-admin-init.php:1338
467
  #: ../includes/class.yith-wcwl-admin-init.php:1356
468
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
469
  msgid "Border (hover)"
470
  msgstr ""
471
 
472
- #: ../includes/class.yith-wcwl-admin-init.php:1324
473
  #, fuzzy
474
  msgid "\"Add to Cart\" button"
475
  msgstr "Texto del botón \"Agregar al carrito\""
476
 
477
- #: ../includes/class.yith-wcwl-admin-init.php:1342
478
  msgid "\"Style 1\" button"
479
  msgstr ""
480
 
481
- #: ../includes/class.yith-wcwl-admin-init.php:1360
482
  msgid "\"Style 2\" button"
483
  msgstr ""
484
 
485
- #: ../includes/class.yith-wcwl-admin-init.php:1378
486
  #, fuzzy
487
  msgid "Wishlist table"
488
  msgstr "Título de la Lista de deseos"
489
 
490
- #: ../includes/class.yith-wcwl-admin-init.php:1387
491
  msgid "Headers"
492
  msgstr ""
493
 
494
- #: ../includes/class.yith-wcwl-admin-init.php:1390
495
  msgid "Background color"
496
  msgstr ""
497
 
498
- #: ../includes/class.yith-wcwl-admin-init.php:1480
499
  #, fuzzy
500
  msgid "Wishlist Activated"
501
  msgstr "Título de la Lista de deseos"
502
 
503
- #: ../includes/class.yith-wcwl-admin-init.php:1481
504
  #, php-format
505
  msgid ""
506
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -509,12 +513,12 @@ msgid ""
509
  "options, <a href=\"%s\">discover it now</a>."
510
  msgstr ""
511
 
512
- #: ../includes/class.yith-wcwl-admin-init.php:1492
513
  #, fuzzy
514
  msgid "Wishlist Updated"
515
  msgstr "Lista de deseos"
516
 
517
- #: ../includes/class.yith-wcwl-admin-init.php:1493
518
  #, php-format
519
  msgid ""
520
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -524,13 +528,13 @@ msgid ""
524
  "\">discover the PREMIUM version.</a>"
525
  msgstr ""
526
 
527
- #: ../includes/class.yith-wcwl-init.php:361
528
  msgid ""
529
  "We are sorry, but this feature is available only if cookies are enabled on "
530
  "your browser."
531
  msgstr ""
532
 
533
- #: ../includes/class.yith-wcwl-init.php:362
534
  #, fuzzy
535
  msgid "Product correctly added to cart"
536
  msgstr "¡Agregado!"
@@ -609,13 +613,13 @@ msgstr "Tu lista de deseos está vacía por el momento..."
609
  msgid "An error as occurred."
610
  msgstr ""
611
 
612
- #: ../init.php:133
613
  msgid ""
614
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
615
  "WooCommerce in order to work."
616
  msgstr ""
617
 
618
- #: ../init.php:143
619
  msgid ""
620
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
621
  "are using the premium one."
@@ -873,6 +877,10 @@ msgstr "Compartir en Pinterest"
873
  msgid "Google+"
874
  msgstr "Compartir en Google+"
875
 
 
 
 
 
876
  #: ../templates/share.php:40
877
  msgid "Email"
878
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: es_AR\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de deseos"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "Configuraciones"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "Colores"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr "Lista de deseos"
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr "Contenidos: [yith_wcwl_wishlist]"
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr "Configuraciones generales"
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr "Habilitar YITH Wishlist"
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, fuzzy, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
116
  "Páginas.</strong> También, por favor lee la <a href=\"%s\" target=\"_blank"
117
  "\">documentación</a> del plugin."
118
 
119
+ #: ../includes/class.yith-wcwl-admin-init.php:947
120
  #, fuzzy
121
  msgid "Default wishlist title"
122
  msgstr "Título de la Lista de deseos"
123
 
124
+ #: ../includes/class.yith-wcwl-admin-init.php:949
125
+ #: ../includes/class.yith-wcwl-admin-init.php:950
126
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
127
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
128
  #, php-format
129
  msgid "My wishlist on %s"
130
  msgstr "Mi lista de deseos en %s"
131
 
132
+ #: ../includes/class.yith-wcwl-admin-init.php:958
133
  msgid "Position"
134
  msgstr "Posición"
135
 
136
+ #: ../includes/class.yith-wcwl-admin-init.php:959
137
  #, fuzzy
138
  msgid ""
139
  "You can add the button in variable products only after the \"Add to Cart\" "
142
  "En productos variables puedes agregarlo sólo Después de \"Agregar al carrito"
143
  "\" o usar el shortcode [yith_wcwl_add_to_wishlist]. "
144
 
145
+ #: ../includes/class.yith-wcwl-admin-init.php:965
146
  msgid "After \"Add to cart\""
147
  msgstr "Después de \"Agregar al carrito\""
148
 
149
+ #: ../includes/class.yith-wcwl-admin-init.php:966
150
  msgid "After thumbnails"
151
  msgstr "Después de las miniaturas"
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:967
154
  msgid "After summary"
155
  msgstr "Después del resúmen"
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:968
158
  msgid "Use shortcode"
159
  msgstr "Usar shortcode"
160
 
161
+ #: ../includes/class.yith-wcwl-admin-init.php:973
162
  msgid "Redirect to cart"
163
  msgstr "Redireccionar al carrito"
164
 
165
+ #: ../includes/class.yith-wcwl-admin-init.php:974
166
  msgid ""
167
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
168
  "page."
170
  "Redireccionar a la página del carrito si se presiona el botón \"Agregar al "
171
  "carrito\" en la página de la lista de deseos."
172
 
173
+ #: ../includes/class.yith-wcwl-admin-init.php:981
174
  msgid "Remove if added to the cart"
175
  msgstr "Eliminar después de agregar al carrito"
176
 
177
+ #: ../includes/class.yith-wcwl-admin-init.php:982
178
  #, fuzzy
179
  msgid "Remove the product from the wishlist if it has been added to the cart."
180
  msgstr "Eliminar el producto de la lista de deseos si fue agregado al carrito."
181
 
182
+ #: ../includes/class.yith-wcwl-admin-init.php:989
183
  msgid "\"Add to Wishlist\" text"
184
  msgstr "Texto de \"Agregar a la Lista de deseos\""
185
 
186
+ #: ../includes/class.yith-wcwl-admin-init.php:991
187
+ #: ../includes/class.yith-wcwl-admin-init.php:992
188
  msgid "Add to Wishlist"
189
  msgstr "Agregar a la Lista de deseos"
190
 
191
+ #: ../includes/class.yith-wcwl-admin-init.php:997
192
  #, fuzzy
193
  msgid "\"Browse wishlist\" text"
194
  msgstr "Ir a la Lista de deseos"
195
 
196
+ #: ../includes/class.yith-wcwl-admin-init.php:999
197
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
198
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
199
  msgid "Browse Wishlist"
200
  msgstr "Ir a la Lista de deseos"
201
 
202
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
203
  #, fuzzy
204
  msgid "\"Product already in wishlist\" text"
205
  msgstr "Ya está en tu lista de deseos!"
206
 
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
208
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
209
  #: ../includes/class.yith-wcwl-ui.php:82
210
  msgid "The product is already in the wishlist!"
211
  msgstr "¡Este producto ya está en la lista de deseos!"
212
 
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
214
  #, fuzzy
215
  msgid "\"Product added\" text"
216
  msgstr "¡Agregado!"
217
 
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
219
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
220
  #: ../includes/class.yith-wcwl-ui.php:81
221
  msgid "Product added!"
222
  msgstr "¡Agregado!"
223
 
224
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
225
  msgid "\"Add to Cart\" text"
226
  msgstr "Texto de \"Agregar al carrito\""
227
 
228
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
229
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
230
  msgid "Add to Cart"
231
  msgstr "Agregar al carrito"
232
 
233
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
234
  msgid "Show Unit price"
235
  msgstr "Mostrar precio por unidad"
236
 
237
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
238
  msgid "Show unit price for each product in wishlist"
239
  msgstr ""
240
 
241
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
242
  msgid "Show \"Add to Cart\" button"
243
  msgstr "Mostrar el botón \"Agregar al carrito\""
244
 
245
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
246
  #, fuzzy
247
  msgid "Show \"Add to Cart\" button for each product in wishlist"
248
  msgstr "Fondo del botón \"Agregar al carrito\""
249
 
250
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
251
  msgid "Show Stock status"
252
  msgstr "Mostrar estado del stock"
253
 
254
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
255
  msgid ""
256
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
257
  msgstr ""
258
 
259
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
260
  msgid "Show Date of addition"
261
  msgstr ""
262
 
263
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
264
  #, fuzzy
265
  msgid "Show the date when users have added a product to the wishlist"
266
  msgstr ""
267
  "¡Ups! Ha ocurrido un error al agregar el producto a la lista de deseos. "
268
  "Intenta nuevamente, por favor."
269
 
270
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
271
  #, fuzzy
272
  msgid "Add second remove button"
273
  msgstr "Texto del botón \"Agregar al carrito\""
274
 
275
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
276
  msgid "Add a second remove button in the last column, with extended label"
277
  msgstr ""
278
 
279
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
280
  msgid "Styles"
281
  msgstr "Estilos"
282
 
283
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
284
  msgid "Use buttons"
285
  msgstr "Usar botones"
286
 
287
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
288
  #, fuzzy
289
  msgid "Use buttons instead of simple anchors."
290
  msgstr "Usar botones en lugar de anclas simples."
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
293
  msgid "Custom CSS"
294
  msgstr "CSS personalizado"
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
297
  msgid "Use theme style"
298
  msgstr "Usar el estilo del tema"
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
301
  msgid "Use the theme style."
302
  msgstr "Usar el estilo del tema."
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
305
  #, fuzzy
306
  msgid "Rounded buttons"
307
  msgstr "Usar botones"
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
310
  #, fuzzy
311
  msgid "Make button corners rounded"
312
  msgstr "Redondear los ángulos de los botones"
313
 
314
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
315
  msgid "\"Add to Wishlist\" icon"
316
  msgstr "Ícono de \"Agregar a la Lista de deseos\""
317
 
318
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
319
  msgid "Add an icon to the \"Add to Wishlist\" button"
320
  msgstr "Agregar un ícono al botón de \"Agregar a la Lista de deseos\""
321
 
322
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
323
  msgid "\"Add to Cart\" icon"
324
  msgstr "Ícono de \"Agregar al carrito\""
325
 
326
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
327
  msgid "Add an icon to the \"Add to Cart\" button"
328
  msgstr "Agregar un ícono para el botón de \"Agregar al carrito\""
329
 
330
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
331
  #, fuzzy
332
  msgid "Social Networks & Share"
333
  msgstr "Sociales &amp; Compartir"
334
 
335
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
336
  msgid "Share on Facebook"
337
  msgstr "Compartir en Facebook"
338
 
339
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
340
  #, fuzzy
341
  msgid "Show \"Share on Facebook\" button"
342
  msgstr "Compartir en Facebook"
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
345
  msgid "Tweet on Twitter"
346
  msgstr "Tuitear en Twitter"
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
349
  #, fuzzy
350
  msgid "Show \"Tweet on Twitter\" button"
351
  msgstr "Tuitear en Twitter"
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
354
  msgid "Pin on Pinterest"
355
  msgstr "Compartir en Pinterest"
356
 
357
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
358
  #, fuzzy
359
  msgid "Show \"Pin on Pinterest\" button"
360
  msgstr "Compartir en Pinterest"
361
 
362
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
363
  msgid "Share on Google+"
364
  msgstr "Compartir en Google+"
365
 
366
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
367
  #, fuzzy
368
  msgid "Show \"Share on Google+\" button"
369
  msgstr "Compartir en Facebook"
370
 
371
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
372
  msgid "Share by Email"
373
  msgstr ""
374
 
375
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
376
  #, fuzzy
377
  msgid "Show \"Share by Email\" button"
378
  msgstr "Mostrar el botón \"Agregar al carrito\""
379
 
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
381
  #, fuzzy
382
  msgid "Social title"
383
  msgstr "Título de sociales"
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
386
  #, fuzzy
387
  msgid "Social text"
388
  msgstr "Texto de sociales"
389
 
390
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
391
  #, fuzzy
392
  msgid ""
393
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
396
  "Será usado por Facebook, Twitter y Pinterest. Usar <strong>%wishlist_url%</"
397
  "strong> donde quieras que aparezca la URL de tu lista de deseos."
398
 
399
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
400
  #, fuzzy
401
  msgid "Social image URL"
402
  msgstr "URL de las imágenes sociales"
403
 
404
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
405
  #, php-format
406
  msgid ""
407
  "If you want to take advantage of this feature, you could consider to "
408
  "purchase the %s."
409
  msgstr ""
410
 
411
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
412
  msgid "YITH WooCommerce Frequently Bought Together Integration"
413
  msgstr ""
414
 
415
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
416
  msgid "Enable slider in wishlist"
417
  msgstr ""
418
 
419
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
420
  #, php-format
421
  msgid ""
422
  "Choose to enable product slider in wishlist page with linked products (<a "
423
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
424
  msgstr ""
425
 
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
427
  #, fuzzy
428
  msgid "\"Add to wishlist\" button"
429
  msgstr "Texto del botón \"Agregar a la lista de deseos\""
430
 
431
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
432
  #: ../includes/class.yith-wcwl-admin-init.php:1310
433
  #: ../includes/class.yith-wcwl-admin-init.php:1328
434
  #: ../includes/class.yith-wcwl-admin-init.php:1346
435
  #: ../includes/class.yith-wcwl-admin-init.php:1364
436
+ msgid "Background"
 
437
  msgstr ""
438
 
439
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
440
  #: ../includes/class.yith-wcwl-admin-init.php:1311
441
  #: ../includes/class.yith-wcwl-admin-init.php:1329
442
  #: ../includes/class.yith-wcwl-admin-init.php:1347
443
  #: ../includes/class.yith-wcwl-admin-init.php:1365
444
+ msgid "Text"
 
445
  msgstr ""
446
 
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
451
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
452
+ msgid "Border"
453
  msgstr ""
454
 
455
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
456
  #: ../includes/class.yith-wcwl-admin-init.php:1319
457
  #: ../includes/class.yith-wcwl-admin-init.php:1337
458
  #: ../includes/class.yith-wcwl-admin-init.php:1355
459
+ msgid "Background (hover)"
 
460
  msgstr ""
461
 
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
463
  #: ../includes/class.yith-wcwl-admin-init.php:1320
464
  #: ../includes/class.yith-wcwl-admin-init.php:1338
465
  #: ../includes/class.yith-wcwl-admin-init.php:1356
466
+ msgid "Text (hover)"
467
+ msgstr ""
468
+
469
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
471
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
472
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
473
  msgid "Border (hover)"
474
  msgstr ""
475
 
476
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
477
  #, fuzzy
478
  msgid "\"Add to Cart\" button"
479
  msgstr "Texto del botón \"Agregar al carrito\""
480
 
481
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
482
  msgid "\"Style 1\" button"
483
  msgstr ""
484
 
485
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
486
  msgid "\"Style 2\" button"
487
  msgstr ""
488
 
489
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
490
  #, fuzzy
491
  msgid "Wishlist table"
492
  msgstr "Título de la Lista de deseos"
493
 
494
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
495
  msgid "Headers"
496
  msgstr ""
497
 
498
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
499
  msgid "Background color"
500
  msgstr ""
501
 
502
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
503
  #, fuzzy
504
  msgid "Wishlist Activated"
505
  msgstr "Título de la Lista de deseos"
506
 
507
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
508
  #, php-format
509
  msgid ""
510
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
513
  "options, <a href=\"%s\">discover it now</a>."
514
  msgstr ""
515
 
516
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
517
  #, fuzzy
518
  msgid "Wishlist Updated"
519
  msgstr "Lista de deseos"
520
 
521
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
522
  #, php-format
523
  msgid ""
524
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
528
  "\">discover the PREMIUM version.</a>"
529
  msgstr ""
530
 
531
+ #: ../includes/class.yith-wcwl-init.php:380
532
  msgid ""
533
  "We are sorry, but this feature is available only if cookies are enabled on "
534
  "your browser."
535
  msgstr ""
536
 
537
+ #: ../includes/class.yith-wcwl-init.php:381
538
  #, fuzzy
539
  msgid "Product correctly added to cart"
540
  msgstr "¡Agregado!"
613
  msgid "An error as occurred."
614
  msgstr ""
615
 
616
+ #: ../init.php:135
617
  msgid ""
618
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
619
  "WooCommerce in order to work."
620
  msgstr ""
621
 
622
+ #: ../init.php:145
623
  msgid ""
624
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
625
  "are using the premium one."
877
  msgid "Google+"
878
  msgstr "Compartir en Google+"
879
 
880
+ #: ../templates/share.php:40
881
+ msgid "I wanted you to see this site"
882
+ msgstr ""
883
+
884
  #: ../templates/share.php:40
885
  msgid "Email"
886
  msgstr ""
languages/yith-woocommerce-wishlist-es_ES.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-es_ES.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
6
- "PO-Revision-Date: 2015-10-23 16:43+0100\n"
7
  "Last-Translator: patrons_admin <arman.shahinyan@aticser.com>\n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language: es_ES\n"
@@ -23,29 +23,33 @@ msgstr ""
23
  "X-Poedit-SearchPath-0: ..\n"
24
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
25
 
26
- #: ../includes/class.yith-wcwl-admin-init.php:194
27
- #: ../includes/class.yith-wcwl-admin-init.php:1414
28
- #: ../includes/class.yith-wcwl-admin-init.php:1415
29
  #: ../includes/class.yith-wcwl-install.php:240
30
  msgid "Wishlist"
31
  msgstr "Lista de Deseos"
32
 
33
- #: ../includes/class.yith-wcwl-admin-init.php:196
34
- #: ../includes/class.yith-wcwl-admin-init.php:298
35
  msgid "Settings"
36
  msgstr "Ajustes"
37
 
38
- #: ../includes/class.yith-wcwl-admin-init.php:197
39
- #: ../includes/class.yith-wcwl-admin-init.php:265
40
  msgid "Colors"
41
  msgstr "Colores"
42
 
43
- #: ../includes/class.yith-wcwl-admin-init.php:198
44
- #: ../includes/class.yith-wcwl-admin-init.php:302
45
  msgid "Premium Version"
46
  msgstr "Versión Premium"
47
 
48
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
@@ -53,39 +57,39 @@ msgstr ""
53
  "ADVERTENCIA: Este plugin requiere al menos WooCommerce 2.2! Por favor, use "
54
  "este enlace para actualizarlo."
55
 
56
- #: ../includes/class.yith-wcwl-admin-init.php:329
57
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
58
  msgstr "ADVERTENCIA: Este plugin requiere al menos WooCommerce 2.2!"
59
 
60
- #: ../includes/class.yith-wcwl-admin-init.php:334
61
  msgid "Plugin Documentation"
62
  msgstr "Documentación Plugin"
63
 
64
- #: ../includes/class.yith-wcwl-admin-init.php:350
65
  msgid "Wishlist Page"
66
  msgstr ""
67
  "Página \n"
68
  "Lista de Deseos"
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:351
71
  msgid "Page contents: [yith_wcwl_wishlist]"
72
  msgstr ""
73
  "Contenido de la Página: \n"
74
  "[yith_wcwl_wishlist]"
75
 
76
- #: ../includes/class.yith-wcwl-admin-init.php:926
77
  msgid "Upgrade to the PREMIUM VERSION"
78
  msgstr "Actualiza a la versión Premium"
79
 
80
- #: ../includes/class.yith-wcwl-admin-init.php:929
81
  msgid "YITH WooCommerce Wishlist"
82
  msgstr "YITH WooCommerce Wishlist"
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:930
85
  msgid "Discover the Advanced Features"
86
  msgstr "Descubre las funciones avanzadas"
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:931
89
  msgid ""
90
  "Upgrade to the PREMIUM VERSION\n"
91
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
@@ -93,11 +97,11 @@ msgstr ""
93
  "Actualiza a la versión Premium\n"
94
  "de Yith WooCommerce WISHLIST para beneficiarse de todas las características!"
95
 
96
- #: ../includes/class.yith-wcwl-admin-init.php:938
97
  msgid "Get Support and Pro Features"
98
  msgstr "Obtén ayuda y Características Pro"
99
 
100
- #: ../includes/class.yith-wcwl-admin-init.php:939
101
  msgid ""
102
  "By purchasing the premium version of the plugin, you will take advantage of "
103
  "the advanced features of the product and you will get one year of free "
@@ -107,17 +111,17 @@ msgstr ""
107
  "características avanzadas del producto y obtendrá un año de actualizaciones "
108
  "gratuitas y apoyo a través de nuestra plataforma disponible 24h/24."
109
 
110
- #: ../includes/class.yith-wcwl-admin-init.php:949
111
  msgid "General Settings"
112
  msgstr "Configuración general"
113
 
114
- #: ../includes/class.yith-wcwl-admin-init.php:956
115
  msgid "Enable YITH Wishlist"
116
  msgstr ""
117
  "Habilitar Y\n"
118
  "ITH Wishlist"
119
 
120
- #: ../includes/class.yith-wcwl-admin-init.php:957
121
  #, php-format
122
  msgid ""
123
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -131,23 +135,23 @@ msgstr ""
131
  "documentación</a>\n"
132
  "."
133
 
134
- #: ../includes/class.yith-wcwl-admin-init.php:964
135
  msgid "Default wishlist title"
136
  msgstr "Título por defecto de la Lista de Deseos"
137
 
138
- #: ../includes/class.yith-wcwl-admin-init.php:966
139
- #: ../includes/class.yith-wcwl-admin-init.php:967
140
- #: ../includes/class.yith-wcwl-admin-init.php:1226
141
- #: ../includes/class.yith-wcwl-admin-init.php:1227
142
  #, php-format
143
  msgid "My wishlist on %s"
144
  msgstr "Mi lista de Deseos en %s"
145
 
146
- #: ../includes/class.yith-wcwl-admin-init.php:975
147
  msgid "Position"
148
  msgstr "Posición"
149
 
150
- #: ../includes/class.yith-wcwl-admin-init.php:976
151
  msgid ""
152
  "You can add the button in variable products only after the \"Add to Cart\" "
153
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
@@ -158,27 +162,27 @@ msgstr ""
158
  "yith_wcwl_add_to_wishlist\n"
159
  "]."
160
 
161
- #: ../includes/class.yith-wcwl-admin-init.php:982
162
  msgid "After \"Add to cart\""
163
  msgstr "Después de \"Añadir al carrito\""
164
 
165
- #: ../includes/class.yith-wcwl-admin-init.php:983
166
  msgid "After thumbnails"
167
  msgstr "Después de miniaturas"
168
 
169
- #: ../includes/class.yith-wcwl-admin-init.php:984
170
  msgid "After summary"
171
  msgstr "Después de sumario"
172
 
173
- #: ../includes/class.yith-wcwl-admin-init.php:985
174
  msgid "Use shortcode"
175
  msgstr "Usar shortcode"
176
 
177
- #: ../includes/class.yith-wcwl-admin-init.php:990
178
  msgid "Redirect to cart"
179
  msgstr "Redirigir a la cesta"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:991
182
  msgid ""
183
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
184
  "page."
@@ -186,215 +190,215 @@ msgstr ""
186
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
187
  "page."
188
 
189
- #: ../includes/class.yith-wcwl-admin-init.php:998
190
  msgid "Remove if added to the cart"
191
  msgstr "Eliminar si se añade a la cesta"
192
 
193
- #: ../includes/class.yith-wcwl-admin-init.php:999
194
  msgid "Remove the product from the wishlist if it has been added to the cart."
195
  msgstr "Eliminar el producto de la lista si se ha añadido a la cesta."
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1006
198
  msgid "\"Add to Wishlist\" text"
199
  msgstr "Texto \"Añadir a la Lista de Deseos\""
200
 
201
- #: ../includes/class.yith-wcwl-admin-init.php:1008
202
- #: ../includes/class.yith-wcwl-admin-init.php:1009
203
  msgid "Add to Wishlist"
204
  msgstr "Añadir a la lista de deseos"
205
 
206
- #: ../includes/class.yith-wcwl-admin-init.php:1014
207
  msgid "\"Browse wishlist\" text"
208
  msgstr "Texto de \"Navegar por la Lista de Deseos\""
209
 
210
- #: ../includes/class.yith-wcwl-admin-init.php:1016
211
- #: ../includes/class.yith-wcwl-admin-init.php:1017
212
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
213
  msgid "Browse Wishlist"
214
  msgstr "Navegar por Lista de Deseos"
215
 
216
- #: ../includes/class.yith-wcwl-admin-init.php:1022
217
  msgid "\"Product already in wishlist\" text"
218
  msgstr "Texto de \"El producto ya está en la lista de deseos\""
219
 
220
- #: ../includes/class.yith-wcwl-admin-init.php:1024
221
- #: ../includes/class.yith-wcwl-admin-init.php:1025
222
  #: ../includes/class.yith-wcwl-ui.php:82
223
  msgid "The product is already in the wishlist!"
224
  msgstr "El producto ya está en la lista de deseos!"
225
 
226
- #: ../includes/class.yith-wcwl-admin-init.php:1030
227
  msgid "\"Product added\" text"
228
  msgstr "Texto de \"Producto añadido\""
229
 
230
- #: ../includes/class.yith-wcwl-admin-init.php:1032
231
- #: ../includes/class.yith-wcwl-admin-init.php:1033
232
  #: ../includes/class.yith-wcwl-ui.php:81
233
  msgid "Product added!"
234
  msgstr "Producto añadido!"
235
 
236
- #: ../includes/class.yith-wcwl-admin-init.php:1038
237
  msgid "\"Add to Cart\" text"
238
  msgstr "Texto de \"Añadir a la Cesta\""
239
 
240
- #: ../includes/class.yith-wcwl-admin-init.php:1040
241
- #: ../includes/class.yith-wcwl-admin-init.php:1041
242
  msgid "Add to Cart"
243
  msgstr "Añadir a la cesta"
244
 
245
- #: ../includes/class.yith-wcwl-admin-init.php:1046
246
  msgid "Show Unit price"
247
  msgstr "Mostrar Precio unitario"
248
 
249
- #: ../includes/class.yith-wcwl-admin-init.php:1047
250
  msgid "Show unit price for each product in wishlist"
251
  msgstr "Mostrar el precio unitario de cada producto en la lista de deseos"
252
 
253
- #: ../includes/class.yith-wcwl-admin-init.php:1055
254
  msgid "Show \"Add to Cart\" button"
255
  msgstr "Mostrar botón de \"Añadir al carrito\""
256
 
257
- #: ../includes/class.yith-wcwl-admin-init.php:1056
258
  msgid "Show \"Add to Cart\" button for each product in wishlist"
259
  msgstr ""
260
  "Mostrar botón \"Añadir al carrito\" para cada producto en la lista de deseos"
261
 
262
- #: ../includes/class.yith-wcwl-admin-init.php:1064
263
  msgid "Show Stock status"
264
  msgstr "Mostrar el estado del Stock"
265
 
266
- #: ../includes/class.yith-wcwl-admin-init.php:1065
267
  msgid ""
268
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
269
  msgstr ""
270
  "Mostrar etiqueta \"En existencia\" o \"Agotado\" para cada producto en la "
271
  "lista de deseos"
272
 
273
- #: ../includes/class.yith-wcwl-admin-init.php:1073
274
  msgid "Show Date of addition"
275
  msgstr "Mostrar Fecha de adición"
276
 
277
- #: ../includes/class.yith-wcwl-admin-init.php:1074
278
  msgid "Show the date when users have added a product to the wishlist"
279
  msgstr ""
280
  "Mostrar la fecha en que los usuarios han añadido un producto a la lista de "
281
  "deseos"
282
 
283
- #: ../includes/class.yith-wcwl-admin-init.php:1082
284
  msgid "Add second remove button"
285
  msgstr "Añadir segundo botón de eliminación"
286
 
287
- #: ../includes/class.yith-wcwl-admin-init.php:1083
288
  msgid "Add a second remove button in the last column, with extended label"
289
  msgstr ""
290
  "Añadir un segundo botón de eliminación en la última columna, con la etiqueta "
291
  "ampliada"
292
 
293
- #: ../includes/class.yith-wcwl-admin-init.php:1106
294
  msgid "Styles"
295
  msgstr "Estilos"
296
 
297
- #: ../includes/class.yith-wcwl-admin-init.php:1113
298
  msgid "Use buttons"
299
  msgstr "Usar botones"
300
 
301
- #: ../includes/class.yith-wcwl-admin-init.php:1114
302
  msgid "Use buttons instead of simple anchors."
303
  msgstr "Utilizar los botones en lugar de anclajes simples."
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1121
306
  msgid "Custom CSS"
307
  msgstr "CSS personalizado"
308
 
309
- #: ../includes/class.yith-wcwl-admin-init.php:1129
310
  msgid "Use theme style"
311
  msgstr "Usar estilo del tema"
312
 
313
- #: ../includes/class.yith-wcwl-admin-init.php:1130
314
  msgid "Use the theme style."
315
  msgstr "Utilizar el estilo de tema."
316
 
317
- #: ../includes/class.yith-wcwl-admin-init.php:1137
318
  msgid "Rounded buttons"
319
  msgstr "Botones redondeados"
320
 
321
- #: ../includes/class.yith-wcwl-admin-init.php:1138
322
  msgid "Make button corners rounded"
323
  msgstr "Hacer que las esquinas del botón sean redondeadas"
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1145
326
  msgid "\"Add to Wishlist\" icon"
327
  msgstr ""
328
  "Icono de \n"
329
  "\"Añadir a la Lista de Deseos\""
330
 
331
- #: ../includes/class.yith-wcwl-admin-init.php:1146
332
  msgid "Add an icon to the \"Add to Wishlist\" button"
333
  msgstr "Añadir un icono para el botón \"Agregar a la lista de deseos\""
334
 
335
- #: ../includes/class.yith-wcwl-admin-init.php:1157
336
  msgid "\"Add to Cart\" icon"
337
  msgstr ""
338
  "Icono de \n"
339
  "\"Añadir al carrito\""
340
 
341
- #: ../includes/class.yith-wcwl-admin-init.php:1158
342
  msgid "Add an icon to the \"Add to Cart\" button"
343
  msgstr "Añadir un icono para el botón \"Añadir al carrito\""
344
 
345
- #: ../includes/class.yith-wcwl-admin-init.php:1177
346
  msgid "Social Networks & Share"
347
  msgstr "Redes Sociales y Compartir"
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1184
350
  msgid "Share on Facebook"
351
  msgstr "Compartir en Facebook"
352
 
353
- #: ../includes/class.yith-wcwl-admin-init.php:1185
354
  msgid "Show \"Share on Facebook\" button"
355
  msgstr "Mostrar el botón \"Compartir en Facebook\""
356
 
357
- #: ../includes/class.yith-wcwl-admin-init.php:1192
358
  msgid "Tweet on Twitter"
359
  msgstr "Twittear en Twitter"
360
 
361
- #: ../includes/class.yith-wcwl-admin-init.php:1193
362
  msgid "Show \"Tweet on Twitter\" button"
363
  msgstr "Mostrar botón \"Twittear en Twitter\""
364
 
365
- #: ../includes/class.yith-wcwl-admin-init.php:1200
366
  msgid "Pin on Pinterest"
367
  msgstr "Pin en Pinterest"
368
 
369
- #: ../includes/class.yith-wcwl-admin-init.php:1201
370
  msgid "Show \"Pin on Pinterest\" button"
371
  msgstr "Mostrar botón \"Pin on Pinterest\""
372
 
373
- #: ../includes/class.yith-wcwl-admin-init.php:1208
374
  msgid "Share on Google+"
375
  msgstr "Compartir en Google+"
376
 
377
- #: ../includes/class.yith-wcwl-admin-init.php:1209
378
  msgid "Show \"Share on Google+\" button"
379
  msgstr "Mostrar el botón \"Compartir en Google+\""
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1216
382
  msgid "Share by Email"
383
  msgstr "Compartir por correo electrónico"
384
 
385
- #: ../includes/class.yith-wcwl-admin-init.php:1217
386
  msgid "Show \"Share by Email\" button"
387
  msgstr "Mostrar el botón \"Compartir por correo electrónico\""
388
 
389
- #: ../includes/class.yith-wcwl-admin-init.php:1224
390
  msgid "Social title"
391
  msgstr "Título Social"
392
 
393
- #: ../includes/class.yith-wcwl-admin-init.php:1232
394
  msgid "Social text"
395
  msgstr "Texto Social"
396
 
397
- #: ../includes/class.yith-wcwl-admin-init.php:1233
398
  msgid ""
399
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
400
  "%</strong> where you want to show the URL of your wishlist."
@@ -402,11 +406,11 @@ msgstr ""
402
  "Será usado por Facebook, Twitter y Pinterest. Usar <strong>%wishlist_url%</ "
403
  "strong> en la que desea mostrar la URL de tu lista de deseos."
404
 
405
- #: ../includes/class.yith-wcwl-admin-init.php:1241
406
  msgid "Social image URL"
407
  msgstr "URL de la imagen Social"
408
 
409
- #: ../includes/class.yith-wcwl-admin-init.php:1256
410
  #, php-format
411
  msgid ""
412
  "If you want to take advantage of this feature, you could consider to "
@@ -415,15 +419,15 @@ msgstr ""
415
  "Si desea tomar ventaja de esta característica, usted podría considerar "
416
  "comprar el %s."
417
 
418
- #: ../includes/class.yith-wcwl-admin-init.php:1261
419
  msgid "YITH WooCommerce Frequently Bought Together Integration"
420
  msgstr "Yith WooCommerce Productos adquiridos juntos frecuentemente"
421
 
422
- #: ../includes/class.yith-wcwl-admin-init.php:1268
423
  msgid "Enable slider in wishlist"
424
  msgstr "Habilitar control deslizante en la lista de deseos"
425
 
426
- #: ../includes/class.yith-wcwl-admin-init.php:1269
427
  #, php-format
428
  msgid ""
429
  "Choose to enable product slider in wishlist page with linked products (<a "
@@ -433,84 +437,84 @@ msgstr ""
433
  "con productos vinculados \n"
434
  "(<a href=\"%s\" class=\"thickbox\">Ejemplo</a>). %s"
435
 
436
- #: ../includes/class.yith-wcwl-admin-init.php:1306
437
  msgid "\"Add to wishlist\" button"
438
  msgstr "Botón de \"Añadir a la lista de deseos\""
439
 
440
- #: ../includes/class.yith-wcwl-admin-init.php:1309
441
- #: ../includes/class.yith-wcwl-admin-init.php:1327
442
- #: ../includes/class.yith-wcwl-admin-init.php:1345
443
- #: ../includes/class.yith-wcwl-admin-init.php:1363
444
- #: ../includes/class.yith-wcwl-admin-init.php:1381
445
- msgid "Background"
446
- msgstr "Fondo"
447
-
448
  #: ../includes/class.yith-wcwl-admin-init.php:1310
449
  #: ../includes/class.yith-wcwl-admin-init.php:1328
450
  #: ../includes/class.yith-wcwl-admin-init.php:1346
451
  #: ../includes/class.yith-wcwl-admin-init.php:1364
452
- #: ../includes/class.yith-wcwl-admin-init.php:1382
453
- msgid "Text"
454
- msgstr "Texto"
455
 
 
456
  #: ../includes/class.yith-wcwl-admin-init.php:1311
457
  #: ../includes/class.yith-wcwl-admin-init.php:1329
458
  #: ../includes/class.yith-wcwl-admin-init.php:1347
459
  #: ../includes/class.yith-wcwl-admin-init.php:1365
460
- #: ../includes/class.yith-wcwl-admin-init.php:1383
 
 
 
 
 
 
 
461
  msgid "Border"
462
  msgstr "Borde"
463
 
464
- #: ../includes/class.yith-wcwl-admin-init.php:1318
465
- #: ../includes/class.yith-wcwl-admin-init.php:1336
466
- #: ../includes/class.yith-wcwl-admin-init.php:1354
467
- #: ../includes/class.yith-wcwl-admin-init.php:1372
468
- msgid "Background (hover)"
469
- msgstr "Fondo (hover)"
470
-
471
  #: ../includes/class.yith-wcwl-admin-init.php:1319
472
  #: ../includes/class.yith-wcwl-admin-init.php:1337
473
  #: ../includes/class.yith-wcwl-admin-init.php:1355
474
- #: ../includes/class.yith-wcwl-admin-init.php:1373
475
- msgid "Text (hover)"
476
- msgstr "Texto (hover)"
477
 
 
478
  #: ../includes/class.yith-wcwl-admin-init.php:1320
479
  #: ../includes/class.yith-wcwl-admin-init.php:1338
480
  #: ../includes/class.yith-wcwl-admin-init.php:1356
481
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
482
  msgid "Border (hover)"
483
  msgstr "Borde (hover)"
484
 
485
- #: ../includes/class.yith-wcwl-admin-init.php:1324
486
  msgid "\"Add to Cart\" button"
487
  msgstr "Botón \"Añadir a la cesta\""
488
 
489
- #: ../includes/class.yith-wcwl-admin-init.php:1342
490
  msgid "\"Style 1\" button"
491
  msgstr "Botón \"Estilo 1\""
492
 
493
- #: ../includes/class.yith-wcwl-admin-init.php:1360
494
  msgid "\"Style 2\" button"
495
  msgstr "Botón \"Estilo 2\""
496
 
497
- #: ../includes/class.yith-wcwl-admin-init.php:1378
498
  msgid "Wishlist table"
499
  msgstr "Tabla Lista de Deseos"
500
 
501
- #: ../includes/class.yith-wcwl-admin-init.php:1387
502
  msgid "Headers"
503
  msgstr "Cabeceras"
504
 
505
- #: ../includes/class.yith-wcwl-admin-init.php:1390
506
  msgid "Background color"
507
  msgstr "Color de fondo"
508
 
509
- #: ../includes/class.yith-wcwl-admin-init.php:1480
510
  msgid "Wishlist Activated"
511
  msgstr "Lista de Deseos Activado"
512
 
513
- #: ../includes/class.yith-wcwl-admin-init.php:1481
514
  #, php-format
515
  msgid ""
516
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -526,11 +530,11 @@ msgstr ""
526
  "descúbrelo ahora\n"
527
  "</a>."
528
 
529
- #: ../includes/class.yith-wcwl-admin-init.php:1492
530
  msgid "Wishlist Updated"
531
  msgstr "Lista de Deseos Actualizado"
532
 
533
- #: ../includes/class.yith-wcwl-admin-init.php:1493
534
  #, php-format
535
  msgid ""
536
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -546,7 +550,7 @@ msgstr ""
546
  "de Deseos se ha actualizado con nuevas opciones disponibles, <a href=\"%s"
547
  "\">descubra la versión PREMIUM.</a>"
548
 
549
- #: ../includes/class.yith-wcwl-init.php:361
550
  msgid ""
551
  "We are sorry, but this feature is available only if cookies are enabled on "
552
  "your browser."
@@ -554,7 +558,7 @@ msgstr ""
554
  "Lo sentimos, pero esta característica sólo está disponible si las cookies "
555
  "están habilitadas en su navegador."
556
 
557
- #: ../includes/class.yith-wcwl-init.php:362
558
  msgid "Product correctly added to cart"
559
  msgstr "Producto añadido correctamente a la cesta"
560
 
@@ -621,7 +625,7 @@ msgstr "No se han añadido productos a la lista de deseos"
621
  msgid "An error as occurred."
622
  msgstr "Se produjo un error."
623
 
624
- #: ../init.php:133
625
  msgid ""
626
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
627
  "WooCommerce in order to work."
@@ -629,7 +633,7 @@ msgstr ""
629
  "Yith WooCommerce Lista de Deseos está habilitado pero no funcionando. "
630
  "Requiere WooCommerce con el fin de trabajar."
631
 
632
- #: ../init.php:143
633
  msgid ""
634
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
635
  "are using the premium one."
@@ -887,6 +891,10 @@ msgstr "Pinterest"
887
  msgid "Google+"
888
  msgstr "Google+"
889
 
 
 
 
 
890
  #: ../templates/share.php:40
891
  msgid "Email"
892
  msgstr "Email"
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
6
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
7
  "Last-Translator: patrons_admin <arman.shahinyan@aticser.com>\n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language: es_ES\n"
23
  "X-Poedit-SearchPath-0: ..\n"
24
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
25
 
26
+ #: ../includes/class.yith-wcwl-admin-init.php:176
27
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
28
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
29
  #: ../includes/class.yith-wcwl-install.php:240
30
  msgid "Wishlist"
31
  msgstr "Lista de Deseos"
32
 
33
+ #: ../includes/class.yith-wcwl-admin-init.php:178
34
+ #: ../includes/class.yith-wcwl-admin-init.php:280
35
  msgid "Settings"
36
  msgstr "Ajustes"
37
 
38
+ #: ../includes/class.yith-wcwl-admin-init.php:179
39
+ #: ../includes/class.yith-wcwl-admin-init.php:247
40
  msgid "Colors"
41
  msgstr "Colores"
42
 
43
+ #: ../includes/class.yith-wcwl-admin-init.php:180
44
+ #: ../includes/class.yith-wcwl-admin-init.php:284
45
  msgid "Premium Version"
46
  msgstr "Versión Premium"
47
 
48
+ #: ../includes/class.yith-wcwl-admin-init.php:285
49
+ msgid "Live Demo"
50
+ msgstr ""
51
+
52
+ #: ../includes/class.yith-wcwl-admin-init.php:309
53
  msgid ""
54
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
55
  "link to update it."
57
  "ADVERTENCIA: Este plugin requiere al menos WooCommerce 2.2! Por favor, use "
58
  "este enlace para actualizarlo."
59
 
60
+ #: ../includes/class.yith-wcwl-admin-init.php:312
61
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
62
  msgstr "ADVERTENCIA: Este plugin requiere al menos WooCommerce 2.2!"
63
 
64
+ #: ../includes/class.yith-wcwl-admin-init.php:317
65
  msgid "Plugin Documentation"
66
  msgstr "Documentación Plugin"
67
 
68
+ #: ../includes/class.yith-wcwl-admin-init.php:333
69
  msgid "Wishlist Page"
70
  msgstr ""
71
  "Página \n"
72
  "Lista de Deseos"
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:334
75
  msgid "Page contents: [yith_wcwl_wishlist]"
76
  msgstr ""
77
  "Contenido de la Página: \n"
78
  "[yith_wcwl_wishlist]"
79
 
80
+ #: ../includes/class.yith-wcwl-admin-init.php:909
81
  msgid "Upgrade to the PREMIUM VERSION"
82
  msgstr "Actualiza a la versión Premium"
83
 
84
+ #: ../includes/class.yith-wcwl-admin-init.php:912
85
  msgid "YITH WooCommerce Wishlist"
86
  msgstr "YITH WooCommerce Wishlist"
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:913
89
  msgid "Discover the Advanced Features"
90
  msgstr "Descubre las funciones avanzadas"
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:914
93
  msgid ""
94
  "Upgrade to the PREMIUM VERSION\n"
95
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
97
  "Actualiza a la versión Premium\n"
98
  "de Yith WooCommerce WISHLIST para beneficiarse de todas las características!"
99
 
100
+ #: ../includes/class.yith-wcwl-admin-init.php:921
101
  msgid "Get Support and Pro Features"
102
  msgstr "Obtén ayuda y Características Pro"
103
 
104
+ #: ../includes/class.yith-wcwl-admin-init.php:922
105
  msgid ""
106
  "By purchasing the premium version of the plugin, you will take advantage of "
107
  "the advanced features of the product and you will get one year of free "
111
  "características avanzadas del producto y obtendrá un año de actualizaciones "
112
  "gratuitas y apoyo a través de nuestra plataforma disponible 24h/24."
113
 
114
+ #: ../includes/class.yith-wcwl-admin-init.php:932
115
  msgid "General Settings"
116
  msgstr "Configuración general"
117
 
118
+ #: ../includes/class.yith-wcwl-admin-init.php:939
119
  msgid "Enable YITH Wishlist"
120
  msgstr ""
121
  "Habilitar Y\n"
122
  "ITH Wishlist"
123
 
124
+ #: ../includes/class.yith-wcwl-admin-init.php:940
125
  #, php-format
126
  msgid ""
127
  "Enable all plugin features. <strong>Be sure to select at least one option in "
135
  "documentación</a>\n"
136
  "."
137
 
138
+ #: ../includes/class.yith-wcwl-admin-init.php:947
139
  msgid "Default wishlist title"
140
  msgstr "Título por defecto de la Lista de Deseos"
141
 
142
+ #: ../includes/class.yith-wcwl-admin-init.php:949
143
+ #: ../includes/class.yith-wcwl-admin-init.php:950
144
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
145
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
146
  #, php-format
147
  msgid "My wishlist on %s"
148
  msgstr "Mi lista de Deseos en %s"
149
 
150
+ #: ../includes/class.yith-wcwl-admin-init.php:958
151
  msgid "Position"
152
  msgstr "Posición"
153
 
154
+ #: ../includes/class.yith-wcwl-admin-init.php:959
155
  msgid ""
156
  "You can add the button in variable products only after the \"Add to Cart\" "
157
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
162
  "yith_wcwl_add_to_wishlist\n"
163
  "]."
164
 
165
+ #: ../includes/class.yith-wcwl-admin-init.php:965
166
  msgid "After \"Add to cart\""
167
  msgstr "Después de \"Añadir al carrito\""
168
 
169
+ #: ../includes/class.yith-wcwl-admin-init.php:966
170
  msgid "After thumbnails"
171
  msgstr "Después de miniaturas"
172
 
173
+ #: ../includes/class.yith-wcwl-admin-init.php:967
174
  msgid "After summary"
175
  msgstr "Después de sumario"
176
 
177
+ #: ../includes/class.yith-wcwl-admin-init.php:968
178
  msgid "Use shortcode"
179
  msgstr "Usar shortcode"
180
 
181
+ #: ../includes/class.yith-wcwl-admin-init.php:973
182
  msgid "Redirect to cart"
183
  msgstr "Redirigir a la cesta"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:974
186
  msgid ""
187
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
188
  "page."
190
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
191
  "page."
192
 
193
+ #: ../includes/class.yith-wcwl-admin-init.php:981
194
  msgid "Remove if added to the cart"
195
  msgstr "Eliminar si se añade a la cesta"
196
 
197
+ #: ../includes/class.yith-wcwl-admin-init.php:982
198
  msgid "Remove the product from the wishlist if it has been added to the cart."
199
  msgstr "Eliminar el producto de la lista si se ha añadido a la cesta."
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:989
202
  msgid "\"Add to Wishlist\" text"
203
  msgstr "Texto \"Añadir a la Lista de Deseos\""
204
 
205
+ #: ../includes/class.yith-wcwl-admin-init.php:991
206
+ #: ../includes/class.yith-wcwl-admin-init.php:992
207
  msgid "Add to Wishlist"
208
  msgstr "Añadir a la lista de deseos"
209
 
210
+ #: ../includes/class.yith-wcwl-admin-init.php:997
211
  msgid "\"Browse wishlist\" text"
212
  msgstr "Texto de \"Navegar por la Lista de Deseos\""
213
 
214
+ #: ../includes/class.yith-wcwl-admin-init.php:999
215
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
216
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
217
  msgid "Browse Wishlist"
218
  msgstr "Navegar por Lista de Deseos"
219
 
220
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
221
  msgid "\"Product already in wishlist\" text"
222
  msgstr "Texto de \"El producto ya está en la lista de deseos\""
223
 
224
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
225
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
226
  #: ../includes/class.yith-wcwl-ui.php:82
227
  msgid "The product is already in the wishlist!"
228
  msgstr "El producto ya está en la lista de deseos!"
229
 
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
231
  msgid "\"Product added\" text"
232
  msgstr "Texto de \"Producto añadido\""
233
 
234
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
235
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
236
  #: ../includes/class.yith-wcwl-ui.php:81
237
  msgid "Product added!"
238
  msgstr "Producto añadido!"
239
 
240
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
241
  msgid "\"Add to Cart\" text"
242
  msgstr "Texto de \"Añadir a la Cesta\""
243
 
244
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
245
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
246
  msgid "Add to Cart"
247
  msgstr "Añadir a la cesta"
248
 
249
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
250
  msgid "Show Unit price"
251
  msgstr "Mostrar Precio unitario"
252
 
253
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
254
  msgid "Show unit price for each product in wishlist"
255
  msgstr "Mostrar el precio unitario de cada producto en la lista de deseos"
256
 
257
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
258
  msgid "Show \"Add to Cart\" button"
259
  msgstr "Mostrar botón de \"Añadir al carrito\""
260
 
261
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
262
  msgid "Show \"Add to Cart\" button for each product in wishlist"
263
  msgstr ""
264
  "Mostrar botón \"Añadir al carrito\" para cada producto en la lista de deseos"
265
 
266
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
267
  msgid "Show Stock status"
268
  msgstr "Mostrar el estado del Stock"
269
 
270
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
271
  msgid ""
272
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
273
  msgstr ""
274
  "Mostrar etiqueta \"En existencia\" o \"Agotado\" para cada producto en la "
275
  "lista de deseos"
276
 
277
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
278
  msgid "Show Date of addition"
279
  msgstr "Mostrar Fecha de adición"
280
 
281
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
282
  msgid "Show the date when users have added a product to the wishlist"
283
  msgstr ""
284
  "Mostrar la fecha en que los usuarios han añadido un producto a la lista de "
285
  "deseos"
286
 
287
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
288
  msgid "Add second remove button"
289
  msgstr "Añadir segundo botón de eliminación"
290
 
291
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
292
  msgid "Add a second remove button in the last column, with extended label"
293
  msgstr ""
294
  "Añadir un segundo botón de eliminación en la última columna, con la etiqueta "
295
  "ampliada"
296
 
297
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
298
  msgid "Styles"
299
  msgstr "Estilos"
300
 
301
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
302
  msgid "Use buttons"
303
  msgstr "Usar botones"
304
 
305
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
306
  msgid "Use buttons instead of simple anchors."
307
  msgstr "Utilizar los botones en lugar de anclajes simples."
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
310
  msgid "Custom CSS"
311
  msgstr "CSS personalizado"
312
 
313
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
314
  msgid "Use theme style"
315
  msgstr "Usar estilo del tema"
316
 
317
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
318
  msgid "Use the theme style."
319
  msgstr "Utilizar el estilo de tema."
320
 
321
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
322
  msgid "Rounded buttons"
323
  msgstr "Botones redondeados"
324
 
325
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
326
  msgid "Make button corners rounded"
327
  msgstr "Hacer que las esquinas del botón sean redondeadas"
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
330
  msgid "\"Add to Wishlist\" icon"
331
  msgstr ""
332
  "Icono de \n"
333
  "\"Añadir a la Lista de Deseos\""
334
 
335
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
336
  msgid "Add an icon to the \"Add to Wishlist\" button"
337
  msgstr "Añadir un icono para el botón \"Agregar a la lista de deseos\""
338
 
339
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
340
  msgid "\"Add to Cart\" icon"
341
  msgstr ""
342
  "Icono de \n"
343
  "\"Añadir al carrito\""
344
 
345
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
346
  msgid "Add an icon to the \"Add to Cart\" button"
347
  msgstr "Añadir un icono para el botón \"Añadir al carrito\""
348
 
349
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
350
  msgid "Social Networks & Share"
351
  msgstr "Redes Sociales y Compartir"
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
354
  msgid "Share on Facebook"
355
  msgstr "Compartir en Facebook"
356
 
357
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
358
  msgid "Show \"Share on Facebook\" button"
359
  msgstr "Mostrar el botón \"Compartir en Facebook\""
360
 
361
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
362
  msgid "Tweet on Twitter"
363
  msgstr "Twittear en Twitter"
364
 
365
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
366
  msgid "Show \"Tweet on Twitter\" button"
367
  msgstr "Mostrar botón \"Twittear en Twitter\""
368
 
369
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
370
  msgid "Pin on Pinterest"
371
  msgstr "Pin en Pinterest"
372
 
373
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
374
  msgid "Show \"Pin on Pinterest\" button"
375
  msgstr "Mostrar botón \"Pin on Pinterest\""
376
 
377
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
378
  msgid "Share on Google+"
379
  msgstr "Compartir en Google+"
380
 
381
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
382
  msgid "Show \"Share on Google+\" button"
383
  msgstr "Mostrar el botón \"Compartir en Google+\""
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
386
  msgid "Share by Email"
387
  msgstr "Compartir por correo electrónico"
388
 
389
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
390
  msgid "Show \"Share by Email\" button"
391
  msgstr "Mostrar el botón \"Compartir por correo electrónico\""
392
 
393
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
394
  msgid "Social title"
395
  msgstr "Título Social"
396
 
397
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
398
  msgid "Social text"
399
  msgstr "Texto Social"
400
 
401
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
402
  msgid ""
403
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
404
  "%</strong> where you want to show the URL of your wishlist."
406
  "Será usado por Facebook, Twitter y Pinterest. Usar <strong>%wishlist_url%</ "
407
  "strong> en la que desea mostrar la URL de tu lista de deseos."
408
 
409
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
410
  msgid "Social image URL"
411
  msgstr "URL de la imagen Social"
412
 
413
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
414
  #, php-format
415
  msgid ""
416
  "If you want to take advantage of this feature, you could consider to "
419
  "Si desea tomar ventaja de esta característica, usted podría considerar "
420
  "comprar el %s."
421
 
422
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
423
  msgid "YITH WooCommerce Frequently Bought Together Integration"
424
  msgstr "Yith WooCommerce Productos adquiridos juntos frecuentemente"
425
 
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
427
  msgid "Enable slider in wishlist"
428
  msgstr "Habilitar control deslizante en la lista de deseos"
429
 
430
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
431
  #, php-format
432
  msgid ""
433
  "Choose to enable product slider in wishlist page with linked products (<a "
437
  "con productos vinculados \n"
438
  "(<a href=\"%s\" class=\"thickbox\">Ejemplo</a>). %s"
439
 
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
441
  msgid "\"Add to wishlist\" button"
442
  msgstr "Botón de \"Añadir a la lista de deseos\""
443
 
444
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
445
  #: ../includes/class.yith-wcwl-admin-init.php:1310
446
  #: ../includes/class.yith-wcwl-admin-init.php:1328
447
  #: ../includes/class.yith-wcwl-admin-init.php:1346
448
  #: ../includes/class.yith-wcwl-admin-init.php:1364
449
+ msgid "Background"
450
+ msgstr "Fondo"
 
451
 
452
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
453
  #: ../includes/class.yith-wcwl-admin-init.php:1311
454
  #: ../includes/class.yith-wcwl-admin-init.php:1329
455
  #: ../includes/class.yith-wcwl-admin-init.php:1347
456
  #: ../includes/class.yith-wcwl-admin-init.php:1365
457
+ msgid "Text"
458
+ msgstr "Texto"
459
+
460
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
461
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
463
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
464
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
465
  msgid "Border"
466
  msgstr "Borde"
467
 
468
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
 
 
 
 
 
 
469
  #: ../includes/class.yith-wcwl-admin-init.php:1319
470
  #: ../includes/class.yith-wcwl-admin-init.php:1337
471
  #: ../includes/class.yith-wcwl-admin-init.php:1355
472
+ msgid "Background (hover)"
473
+ msgstr "Fondo (hover)"
 
474
 
475
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
476
  #: ../includes/class.yith-wcwl-admin-init.php:1320
477
  #: ../includes/class.yith-wcwl-admin-init.php:1338
478
  #: ../includes/class.yith-wcwl-admin-init.php:1356
479
+ msgid "Text (hover)"
480
+ msgstr "Texto (hover)"
481
+
482
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
483
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
484
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
485
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
486
  msgid "Border (hover)"
487
  msgstr "Borde (hover)"
488
 
489
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
490
  msgid "\"Add to Cart\" button"
491
  msgstr "Botón \"Añadir a la cesta\""
492
 
493
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
494
  msgid "\"Style 1\" button"
495
  msgstr "Botón \"Estilo 1\""
496
 
497
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
498
  msgid "\"Style 2\" button"
499
  msgstr "Botón \"Estilo 2\""
500
 
501
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
502
  msgid "Wishlist table"
503
  msgstr "Tabla Lista de Deseos"
504
 
505
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
506
  msgid "Headers"
507
  msgstr "Cabeceras"
508
 
509
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
510
  msgid "Background color"
511
  msgstr "Color de fondo"
512
 
513
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
514
  msgid "Wishlist Activated"
515
  msgstr "Lista de Deseos Activado"
516
 
517
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
518
  #, php-format
519
  msgid ""
520
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
530
  "descúbrelo ahora\n"
531
  "</a>."
532
 
533
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
534
  msgid "Wishlist Updated"
535
  msgstr "Lista de Deseos Actualizado"
536
 
537
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
538
  #, php-format
539
  msgid ""
540
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
550
  "de Deseos se ha actualizado con nuevas opciones disponibles, <a href=\"%s"
551
  "\">descubra la versión PREMIUM.</a>"
552
 
553
+ #: ../includes/class.yith-wcwl-init.php:380
554
  msgid ""
555
  "We are sorry, but this feature is available only if cookies are enabled on "
556
  "your browser."
558
  "Lo sentimos, pero esta característica sólo está disponible si las cookies "
559
  "están habilitadas en su navegador."
560
 
561
+ #: ../includes/class.yith-wcwl-init.php:381
562
  msgid "Product correctly added to cart"
563
  msgstr "Producto añadido correctamente a la cesta"
564
 
625
  msgid "An error as occurred."
626
  msgstr "Se produjo un error."
627
 
628
+ #: ../init.php:135
629
  msgid ""
630
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
631
  "WooCommerce in order to work."
633
  "Yith WooCommerce Lista de Deseos está habilitado pero no funcionando. "
634
  "Requiere WooCommerce con el fin de trabajar."
635
 
636
+ #: ../init.php:145
637
  msgid ""
638
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
639
  "are using the premium one."
891
  msgid "Google+"
892
  msgstr "Google+"
893
 
894
+ #: ../templates/share.php:40
895
+ msgid "I wanted you to see this site"
896
+ msgstr ""
897
+
898
  #: ../templates/share.php:40
899
  msgid "Email"
900
  msgstr "Email"
languages/yith-woocommerce-wishlist-es_MX.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-es_MX.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:43+0100\n"
6
  "Last-Translator: Gabriel Azarias Dzul Cocom <gabrieldzul@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: es_MX\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de deseos"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "Ajustes"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "Colores"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr "Página de la Lista de Deseos"
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr ""
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr "Ajustes Generales"
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr "Activar la Lista de deseos de YITH"
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, fuzzy, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -112,24 +116,24 @@ msgstr ""
112
  "Páginas.</strong>Por favor lea la <a href=\"%s\" target=\"_blank"
113
  "\">documentación</a>. del plugin"
114
 
115
- #: ../includes/class.yith-wcwl-admin-init.php:964
116
  #, fuzzy
117
  msgid "Default wishlist title"
118
  msgstr "Título de la Lista de deseos"
119
 
120
- #: ../includes/class.yith-wcwl-admin-init.php:966
121
- #: ../includes/class.yith-wcwl-admin-init.php:967
122
- #: ../includes/class.yith-wcwl-admin-init.php:1226
123
- #: ../includes/class.yith-wcwl-admin-init.php:1227
124
  #, php-format
125
  msgid "My wishlist on %s"
126
  msgstr "My Lista de deseos en %s"
127
 
128
- #: ../includes/class.yith-wcwl-admin-init.php:975
129
  msgid "Position"
130
  msgstr "Posición"
131
 
132
- #: ../includes/class.yith-wcwl-admin-init.php:976
133
  #, fuzzy
134
  msgid ""
135
  "You can add the button in variable products only after the \"Add to Cart\" "
@@ -138,27 +142,27 @@ msgstr ""
138
  "En productos variables puedes agregarlos solo despues de \"Agregar al "
139
  "Carrito\" o usar el shortcode [yith_wcwl_add_to_wishlist]."
140
 
141
- #: ../includes/class.yith-wcwl-admin-init.php:982
142
  msgid "After \"Add to cart\""
143
  msgstr "Despued de \"Agregar al Carrito\""
144
 
145
- #: ../includes/class.yith-wcwl-admin-init.php:983
146
  msgid "After thumbnails"
147
  msgstr "Despues de las miniaturas"
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:984
150
  msgid "After summary"
151
  msgstr "Despues del Resumen"
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:985
154
  msgid "Use shortcode"
155
  msgstr "Usar shortcode"
156
 
157
- #: ../includes/class.yith-wcwl-admin-init.php:990
158
  msgid "Redirect to cart"
159
  msgstr "Redirreccionar al Carrito"
160
 
161
- #: ../includes/class.yith-wcwl-admin-init.php:991
162
  msgid ""
163
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
164
  "page."
@@ -166,223 +170,223 @@ msgstr ""
166
  "Redireccionar a la página del Carrito si el boton de \"Agregar al Carrito\" "
167
  "es presionado en la página de la Lista de deseos."
168
 
169
- #: ../includes/class.yith-wcwl-admin-init.php:998
170
  msgid "Remove if added to the cart"
171
  msgstr "Remover si es agregado al Carrito."
172
 
173
- #: ../includes/class.yith-wcwl-admin-init.php:999
174
  #, fuzzy
175
  msgid "Remove the product from the wishlist if it has been added to the cart."
176
  msgstr ""
177
  "Remover el producto de la Lista de deseos si ha sido agregado al Carrito."
178
 
179
- #: ../includes/class.yith-wcwl-admin-init.php:1006
180
  msgid "\"Add to Wishlist\" text"
181
  msgstr "Testo de \"Agregar al Carrito\""
182
 
183
- #: ../includes/class.yith-wcwl-admin-init.php:1008
184
- #: ../includes/class.yith-wcwl-admin-init.php:1009
185
  msgid "Add to Wishlist"
186
  msgstr "Agregar a la Lista de deseos"
187
 
188
- #: ../includes/class.yith-wcwl-admin-init.php:1014
189
  #, fuzzy
190
  msgid "\"Browse wishlist\" text"
191
  msgstr "Ir a la Lista de deseos"
192
 
193
- #: ../includes/class.yith-wcwl-admin-init.php:1016
194
- #: ../includes/class.yith-wcwl-admin-init.php:1017
195
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
196
  msgid "Browse Wishlist"
197
  msgstr "Ir a la Lista de deseos"
198
 
199
- #: ../includes/class.yith-wcwl-admin-init.php:1022
200
  #, fuzzy
201
  msgid "\"Product already in wishlist\" text"
202
  msgstr "El producto ya está en la Lista"
203
 
204
- #: ../includes/class.yith-wcwl-admin-init.php:1024
205
- #: ../includes/class.yith-wcwl-admin-init.php:1025
206
  #: ../includes/class.yith-wcwl-ui.php:82
207
  msgid "The product is already in the wishlist!"
208
  msgstr "El producto ya se encuentra en la Lista de deseos!"
209
 
210
- #: ../includes/class.yith-wcwl-admin-init.php:1030
211
  #, fuzzy
212
  msgid "\"Product added\" text"
213
  msgstr "¡Producto agregado!"
214
 
215
- #: ../includes/class.yith-wcwl-admin-init.php:1032
216
- #: ../includes/class.yith-wcwl-admin-init.php:1033
217
  #: ../includes/class.yith-wcwl-ui.php:81
218
  msgid "Product added!"
219
  msgstr "¡Producto agregado!"
220
 
221
- #: ../includes/class.yith-wcwl-admin-init.php:1038
222
  msgid "\"Add to Cart\" text"
223
  msgstr "Texto de \"Agregar del Carrito\""
224
 
225
- #: ../includes/class.yith-wcwl-admin-init.php:1040
226
- #: ../includes/class.yith-wcwl-admin-init.php:1041
227
  msgid "Add to Cart"
228
  msgstr "Agregar al Carrito"
229
 
230
- #: ../includes/class.yith-wcwl-admin-init.php:1046
231
  msgid "Show Unit price"
232
  msgstr "Mostrar Precio unitario"
233
 
234
- #: ../includes/class.yith-wcwl-admin-init.php:1047
235
  msgid "Show unit price for each product in wishlist"
236
  msgstr ""
237
 
238
- #: ../includes/class.yith-wcwl-admin-init.php:1055
239
  msgid "Show \"Add to Cart\" button"
240
  msgstr "Mostar el boton de \"Agregar al Carrito\" "
241
 
242
- #: ../includes/class.yith-wcwl-admin-init.php:1056
243
  #, fuzzy
244
  msgid "Show \"Add to Cart\" button for each product in wishlist"
245
  msgstr "\"Agregar al Carrito\" fondo del boton"
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1064
248
  msgid "Show Stock status"
249
  msgstr "Mostar el estado del inventario"
250
 
251
- #: ../includes/class.yith-wcwl-admin-init.php:1065
252
  msgid ""
253
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
254
  msgstr ""
255
 
256
- #: ../includes/class.yith-wcwl-admin-init.php:1073
257
  msgid "Show Date of addition"
258
  msgstr ""
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1074
261
  #, fuzzy
262
  msgid "Show the date when users have added a product to the wishlist"
263
  msgstr "Ocurrió un erro mientras se agregaba el producto a la Lista"
264
 
265
- #: ../includes/class.yith-wcwl-admin-init.php:1082
266
  #, fuzzy
267
  msgid "Add second remove button"
268
  msgstr "\"Agregar al Carrito\" texto del boton"
269
 
270
- #: ../includes/class.yith-wcwl-admin-init.php:1083
271
  msgid "Add a second remove button in the last column, with extended label"
272
  msgstr ""
273
 
274
- #: ../includes/class.yith-wcwl-admin-init.php:1106
275
  msgid "Styles"
276
  msgstr "Estilos"
277
 
278
- #: ../includes/class.yith-wcwl-admin-init.php:1113
279
  msgid "Use buttons"
280
  msgstr "Usar botones"
281
 
282
- #: ../includes/class.yith-wcwl-admin-init.php:1114
283
  #, fuzzy
284
  msgid "Use buttons instead of simple anchors."
285
  msgstr "Usar botones en lugar de un simple elnaces"
286
 
287
- #: ../includes/class.yith-wcwl-admin-init.php:1121
288
  msgid "Custom CSS"
289
  msgstr "Css personalizado"
290
 
291
- #: ../includes/class.yith-wcwl-admin-init.php:1129
292
  msgid "Use theme style"
293
  msgstr "Usar estilo del tema"
294
 
295
- #: ../includes/class.yith-wcwl-admin-init.php:1130
296
  msgid "Use the theme style."
297
  msgstr "Usar el estilo del tema"
298
 
299
- #: ../includes/class.yith-wcwl-admin-init.php:1137
300
  #, fuzzy
301
  msgid "Rounded buttons"
302
  msgstr "Usar botones"
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1138
305
  #, fuzzy
306
  msgid "Make button corners rounded"
307
  msgstr "Redondear los bordes de los botones"
308
 
309
- #: ../includes/class.yith-wcwl-admin-init.php:1145
310
  msgid "\"Add to Wishlist\" icon"
311
  msgstr "Icono de \"Agregar a la Lista de deseos\""
312
 
313
- #: ../includes/class.yith-wcwl-admin-init.php:1146
314
  msgid "Add an icon to the \"Add to Wishlist\" button"
315
  msgstr "Agregar un icono para el boton de \"Agregar a la Lista de deseos\""
316
 
317
- #: ../includes/class.yith-wcwl-admin-init.php:1157
318
  msgid "\"Add to Cart\" icon"
319
  msgstr "Icono de \"Agregar al carrito\""
320
 
321
- #: ../includes/class.yith-wcwl-admin-init.php:1158
322
  msgid "Add an icon to the \"Add to Cart\" button"
323
  msgstr "Agregar un icono para el boton de \"Agregar al Carrito\""
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1177
326
  #, fuzzy
327
  msgid "Social Networks & Share"
328
  msgstr "Compartir"
329
 
330
- #: ../includes/class.yith-wcwl-admin-init.php:1184
331
  msgid "Share on Facebook"
332
  msgstr "Compartir en Facebook"
333
 
334
- #: ../includes/class.yith-wcwl-admin-init.php:1185
335
  #, fuzzy
336
  msgid "Show \"Share on Facebook\" button"
337
  msgstr "Compartir en Facebook"
338
 
339
- #: ../includes/class.yith-wcwl-admin-init.php:1192
340
  msgid "Tweet on Twitter"
341
  msgstr "Tweet en Twitter"
342
 
343
- #: ../includes/class.yith-wcwl-admin-init.php:1193
344
  #, fuzzy
345
  msgid "Show \"Tweet on Twitter\" button"
346
  msgstr "Tweet en Twitter"
347
 
348
- #: ../includes/class.yith-wcwl-admin-init.php:1200
349
  msgid "Pin on Pinterest"
350
  msgstr "Pin en Pinterest"
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1201
353
  #, fuzzy
354
  msgid "Show \"Pin on Pinterest\" button"
355
  msgstr "Pin en Pinterest"
356
 
357
- #: ../includes/class.yith-wcwl-admin-init.php:1208
358
  msgid "Share on Google+"
359
  msgstr "Compartir en Google+"
360
 
361
- #: ../includes/class.yith-wcwl-admin-init.php:1209
362
  #, fuzzy
363
  msgid "Show \"Share on Google+\" button"
364
  msgstr "Compartir en Facebook"
365
 
366
- #: ../includes/class.yith-wcwl-admin-init.php:1216
367
  msgid "Share by Email"
368
  msgstr ""
369
 
370
- #: ../includes/class.yith-wcwl-admin-init.php:1217
371
  #, fuzzy
372
  msgid "Show \"Share by Email\" button"
373
  msgstr "Mostar el boton de \"Agregar al Carrito\" "
374
 
375
- #: ../includes/class.yith-wcwl-admin-init.php:1224
376
  #, fuzzy
377
  msgid "Social title"
378
  msgstr "Tiítulo de Redes sociales"
379
 
380
- #: ../includes/class.yith-wcwl-admin-init.php:1232
381
  #, fuzzy
382
  msgid "Social text"
383
  msgstr "Texto de redes sociales"
384
 
385
- #: ../includes/class.yith-wcwl-admin-init.php:1233
386
  #, fuzzy
387
  msgid ""
388
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -391,115 +395,115 @@ msgstr ""
391
  "Será usado por Facebook, Twitter y Pinterest. Usa <strong>%wishlist_url%</"
392
  "strong> donde quieras que la URL de tu Lista de deseos aparesca."
393
 
394
- #: ../includes/class.yith-wcwl-admin-init.php:1241
395
  #, fuzzy
396
  msgid "Social image URL"
397
  msgstr "URL de la imágen de las redes Sociales."
398
 
399
- #: ../includes/class.yith-wcwl-admin-init.php:1256
400
  #, php-format
401
  msgid ""
402
  "If you want to take advantage of this feature, you could consider to "
403
  "purchase the %s."
404
  msgstr ""
405
 
406
- #: ../includes/class.yith-wcwl-admin-init.php:1261
407
  msgid "YITH WooCommerce Frequently Bought Together Integration"
408
  msgstr ""
409
 
410
- #: ../includes/class.yith-wcwl-admin-init.php:1268
411
  msgid "Enable slider in wishlist"
412
  msgstr ""
413
 
414
- #: ../includes/class.yith-wcwl-admin-init.php:1269
415
  #, php-format
416
  msgid ""
417
  "Choose to enable product slider in wishlist page with linked products (<a "
418
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
419
  msgstr ""
420
 
421
- #: ../includes/class.yith-wcwl-admin-init.php:1306
422
  #, fuzzy
423
  msgid "\"Add to wishlist\" button"
424
  msgstr "\"Agregar a Lista de deseos\" texto del boton"
425
 
426
- #: ../includes/class.yith-wcwl-admin-init.php:1309
427
- #: ../includes/class.yith-wcwl-admin-init.php:1327
428
- #: ../includes/class.yith-wcwl-admin-init.php:1345
429
- #: ../includes/class.yith-wcwl-admin-init.php:1363
430
- #: ../includes/class.yith-wcwl-admin-init.php:1381
431
- msgid "Background"
432
- msgstr ""
433
-
434
  #: ../includes/class.yith-wcwl-admin-init.php:1310
435
  #: ../includes/class.yith-wcwl-admin-init.php:1328
436
  #: ../includes/class.yith-wcwl-admin-init.php:1346
437
  #: ../includes/class.yith-wcwl-admin-init.php:1364
438
- #: ../includes/class.yith-wcwl-admin-init.php:1382
439
- msgid "Text"
440
  msgstr ""
441
 
 
442
  #: ../includes/class.yith-wcwl-admin-init.php:1311
443
  #: ../includes/class.yith-wcwl-admin-init.php:1329
444
  #: ../includes/class.yith-wcwl-admin-init.php:1347
445
  #: ../includes/class.yith-wcwl-admin-init.php:1365
446
- #: ../includes/class.yith-wcwl-admin-init.php:1383
447
- msgid "Border"
448
  msgstr ""
449
 
450
- #: ../includes/class.yith-wcwl-admin-init.php:1318
451
- #: ../includes/class.yith-wcwl-admin-init.php:1336
452
- #: ../includes/class.yith-wcwl-admin-init.php:1354
453
- #: ../includes/class.yith-wcwl-admin-init.php:1372
454
- msgid "Background (hover)"
 
455
  msgstr ""
456
 
 
457
  #: ../includes/class.yith-wcwl-admin-init.php:1319
458
  #: ../includes/class.yith-wcwl-admin-init.php:1337
459
  #: ../includes/class.yith-wcwl-admin-init.php:1355
460
- #: ../includes/class.yith-wcwl-admin-init.php:1373
461
- msgid "Text (hover)"
462
  msgstr ""
463
 
 
464
  #: ../includes/class.yith-wcwl-admin-init.php:1320
465
  #: ../includes/class.yith-wcwl-admin-init.php:1338
466
  #: ../includes/class.yith-wcwl-admin-init.php:1356
467
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
468
  msgid "Border (hover)"
469
  msgstr ""
470
 
471
- #: ../includes/class.yith-wcwl-admin-init.php:1324
472
  #, fuzzy
473
  msgid "\"Add to Cart\" button"
474
  msgstr "\"Agregar al Carrito\" texto del boton"
475
 
476
- #: ../includes/class.yith-wcwl-admin-init.php:1342
477
  msgid "\"Style 1\" button"
478
  msgstr ""
479
 
480
- #: ../includes/class.yith-wcwl-admin-init.php:1360
481
  msgid "\"Style 2\" button"
482
  msgstr ""
483
 
484
- #: ../includes/class.yith-wcwl-admin-init.php:1378
485
  #, fuzzy
486
  msgid "Wishlist table"
487
  msgstr "Título de la Lista de deseos"
488
 
489
- #: ../includes/class.yith-wcwl-admin-init.php:1387
490
  msgid "Headers"
491
  msgstr ""
492
 
493
- #: ../includes/class.yith-wcwl-admin-init.php:1390
494
  msgid "Background color"
495
  msgstr ""
496
 
497
- #: ../includes/class.yith-wcwl-admin-init.php:1480
498
  #, fuzzy
499
  msgid "Wishlist Activated"
500
  msgstr "Título de la Lista de deseos"
501
 
502
- #: ../includes/class.yith-wcwl-admin-init.php:1481
503
  #, php-format
504
  msgid ""
505
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -508,12 +512,12 @@ msgid ""
508
  "options, <a href=\"%s\">discover it now</a>."
509
  msgstr ""
510
 
511
- #: ../includes/class.yith-wcwl-admin-init.php:1492
512
  #, fuzzy
513
  msgid "Wishlist Updated"
514
  msgstr "Página de la Lista de Deseos"
515
 
516
- #: ../includes/class.yith-wcwl-admin-init.php:1493
517
  #, php-format
518
  msgid ""
519
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -523,13 +527,13 @@ msgid ""
523
  "\">discover the PREMIUM version.</a>"
524
  msgstr ""
525
 
526
- #: ../includes/class.yith-wcwl-init.php:361
527
  msgid ""
528
  "We are sorry, but this feature is available only if cookies are enabled on "
529
  "your browser."
530
  msgstr ""
531
 
532
- #: ../includes/class.yith-wcwl-init.php:362
533
  #, fuzzy
534
  msgid "Product correctly added to cart"
535
  msgstr "¡Producto agregado!"
@@ -600,13 +604,13 @@ msgstr "Aun no has agregado nada."
600
  msgid "An error as occurred."
601
  msgstr ""
602
 
603
- #: ../init.php:133
604
  msgid ""
605
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
606
  "WooCommerce in order to work."
607
  msgstr ""
608
 
609
- #: ../init.php:143
610
  msgid ""
611
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
612
  "are using the premium one."
@@ -864,6 +868,10 @@ msgstr "Pin en Pinterest"
864
  msgid "Google+"
865
  msgstr "Compartir en Google+"
866
 
 
 
 
 
867
  #: ../templates/share.php:40
868
  msgid "Email"
869
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
6
  "Last-Translator: Gabriel Azarias Dzul Cocom <gabrieldzul@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: es_MX\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de deseos"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "Ajustes"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "Colores"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr "Página de la Lista de Deseos"
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr ""
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr "Ajustes Generales"
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr "Activar la Lista de deseos de YITH"
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, fuzzy, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
116
  "Páginas.</strong>Por favor lea la <a href=\"%s\" target=\"_blank"
117
  "\">documentación</a>. del plugin"
118
 
119
+ #: ../includes/class.yith-wcwl-admin-init.php:947
120
  #, fuzzy
121
  msgid "Default wishlist title"
122
  msgstr "Título de la Lista de deseos"
123
 
124
+ #: ../includes/class.yith-wcwl-admin-init.php:949
125
+ #: ../includes/class.yith-wcwl-admin-init.php:950
126
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
127
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
128
  #, php-format
129
  msgid "My wishlist on %s"
130
  msgstr "My Lista de deseos en %s"
131
 
132
+ #: ../includes/class.yith-wcwl-admin-init.php:958
133
  msgid "Position"
134
  msgstr "Posición"
135
 
136
+ #: ../includes/class.yith-wcwl-admin-init.php:959
137
  #, fuzzy
138
  msgid ""
139
  "You can add the button in variable products only after the \"Add to Cart\" "
142
  "En productos variables puedes agregarlos solo despues de \"Agregar al "
143
  "Carrito\" o usar el shortcode [yith_wcwl_add_to_wishlist]."
144
 
145
+ #: ../includes/class.yith-wcwl-admin-init.php:965
146
  msgid "After \"Add to cart\""
147
  msgstr "Despued de \"Agregar al Carrito\""
148
 
149
+ #: ../includes/class.yith-wcwl-admin-init.php:966
150
  msgid "After thumbnails"
151
  msgstr "Despues de las miniaturas"
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:967
154
  msgid "After summary"
155
  msgstr "Despues del Resumen"
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:968
158
  msgid "Use shortcode"
159
  msgstr "Usar shortcode"
160
 
161
+ #: ../includes/class.yith-wcwl-admin-init.php:973
162
  msgid "Redirect to cart"
163
  msgstr "Redirreccionar al Carrito"
164
 
165
+ #: ../includes/class.yith-wcwl-admin-init.php:974
166
  msgid ""
167
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
168
  "page."
170
  "Redireccionar a la página del Carrito si el boton de \"Agregar al Carrito\" "
171
  "es presionado en la página de la Lista de deseos."
172
 
173
+ #: ../includes/class.yith-wcwl-admin-init.php:981
174
  msgid "Remove if added to the cart"
175
  msgstr "Remover si es agregado al Carrito."
176
 
177
+ #: ../includes/class.yith-wcwl-admin-init.php:982
178
  #, fuzzy
179
  msgid "Remove the product from the wishlist if it has been added to the cart."
180
  msgstr ""
181
  "Remover el producto de la Lista de deseos si ha sido agregado al Carrito."
182
 
183
+ #: ../includes/class.yith-wcwl-admin-init.php:989
184
  msgid "\"Add to Wishlist\" text"
185
  msgstr "Testo de \"Agregar al Carrito\""
186
 
187
+ #: ../includes/class.yith-wcwl-admin-init.php:991
188
+ #: ../includes/class.yith-wcwl-admin-init.php:992
189
  msgid "Add to Wishlist"
190
  msgstr "Agregar a la Lista de deseos"
191
 
192
+ #: ../includes/class.yith-wcwl-admin-init.php:997
193
  #, fuzzy
194
  msgid "\"Browse wishlist\" text"
195
  msgstr "Ir a la Lista de deseos"
196
 
197
+ #: ../includes/class.yith-wcwl-admin-init.php:999
198
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
199
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
200
  msgid "Browse Wishlist"
201
  msgstr "Ir a la Lista de deseos"
202
 
203
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
204
  #, fuzzy
205
  msgid "\"Product already in wishlist\" text"
206
  msgstr "El producto ya está en la Lista"
207
 
208
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
209
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
210
  #: ../includes/class.yith-wcwl-ui.php:82
211
  msgid "The product is already in the wishlist!"
212
  msgstr "El producto ya se encuentra en la Lista de deseos!"
213
 
214
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
215
  #, fuzzy
216
  msgid "\"Product added\" text"
217
  msgstr "¡Producto agregado!"
218
 
219
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
220
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
221
  #: ../includes/class.yith-wcwl-ui.php:81
222
  msgid "Product added!"
223
  msgstr "¡Producto agregado!"
224
 
225
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
226
  msgid "\"Add to Cart\" text"
227
  msgstr "Texto de \"Agregar del Carrito\""
228
 
229
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
231
  msgid "Add to Cart"
232
  msgstr "Agregar al Carrito"
233
 
234
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
235
  msgid "Show Unit price"
236
  msgstr "Mostrar Precio unitario"
237
 
238
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
239
  msgid "Show unit price for each product in wishlist"
240
  msgstr ""
241
 
242
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
243
  msgid "Show \"Add to Cart\" button"
244
  msgstr "Mostar el boton de \"Agregar al Carrito\" "
245
 
246
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
247
  #, fuzzy
248
  msgid "Show \"Add to Cart\" button for each product in wishlist"
249
  msgstr "\"Agregar al Carrito\" fondo del boton"
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
252
  msgid "Show Stock status"
253
  msgstr "Mostar el estado del inventario"
254
 
255
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
256
  msgid ""
257
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
258
  msgstr ""
259
 
260
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
261
  msgid "Show Date of addition"
262
  msgstr ""
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
265
  #, fuzzy
266
  msgid "Show the date when users have added a product to the wishlist"
267
  msgstr "Ocurrió un erro mientras se agregaba el producto a la Lista"
268
 
269
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
270
  #, fuzzy
271
  msgid "Add second remove button"
272
  msgstr "\"Agregar al Carrito\" texto del boton"
273
 
274
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
275
  msgid "Add a second remove button in the last column, with extended label"
276
  msgstr ""
277
 
278
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
279
  msgid "Styles"
280
  msgstr "Estilos"
281
 
282
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
283
  msgid "Use buttons"
284
  msgstr "Usar botones"
285
 
286
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
287
  #, fuzzy
288
  msgid "Use buttons instead of simple anchors."
289
  msgstr "Usar botones en lugar de un simple elnaces"
290
 
291
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
292
  msgid "Custom CSS"
293
  msgstr "Css personalizado"
294
 
295
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
296
  msgid "Use theme style"
297
  msgstr "Usar estilo del tema"
298
 
299
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
300
  msgid "Use the theme style."
301
  msgstr "Usar el estilo del tema"
302
 
303
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
304
  #, fuzzy
305
  msgid "Rounded buttons"
306
  msgstr "Usar botones"
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
309
  #, fuzzy
310
  msgid "Make button corners rounded"
311
  msgstr "Redondear los bordes de los botones"
312
 
313
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
314
  msgid "\"Add to Wishlist\" icon"
315
  msgstr "Icono de \"Agregar a la Lista de deseos\""
316
 
317
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
318
  msgid "Add an icon to the \"Add to Wishlist\" button"
319
  msgstr "Agregar un icono para el boton de \"Agregar a la Lista de deseos\""
320
 
321
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
322
  msgid "\"Add to Cart\" icon"
323
  msgstr "Icono de \"Agregar al carrito\""
324
 
325
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
326
  msgid "Add an icon to the \"Add to Cart\" button"
327
  msgstr "Agregar un icono para el boton de \"Agregar al Carrito\""
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
330
  #, fuzzy
331
  msgid "Social Networks & Share"
332
  msgstr "Compartir"
333
 
334
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
335
  msgid "Share on Facebook"
336
  msgstr "Compartir en Facebook"
337
 
338
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
339
  #, fuzzy
340
  msgid "Show \"Share on Facebook\" button"
341
  msgstr "Compartir en Facebook"
342
 
343
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
344
  msgid "Tweet on Twitter"
345
  msgstr "Tweet en Twitter"
346
 
347
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
348
  #, fuzzy
349
  msgid "Show \"Tweet on Twitter\" button"
350
  msgstr "Tweet en Twitter"
351
 
352
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
353
  msgid "Pin on Pinterest"
354
  msgstr "Pin en Pinterest"
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
357
  #, fuzzy
358
  msgid "Show \"Pin on Pinterest\" button"
359
  msgstr "Pin en Pinterest"
360
 
361
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
362
  msgid "Share on Google+"
363
  msgstr "Compartir en Google+"
364
 
365
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
366
  #, fuzzy
367
  msgid "Show \"Share on Google+\" button"
368
  msgstr "Compartir en Facebook"
369
 
370
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
371
  msgid "Share by Email"
372
  msgstr ""
373
 
374
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
375
  #, fuzzy
376
  msgid "Show \"Share by Email\" button"
377
  msgstr "Mostar el boton de \"Agregar al Carrito\" "
378
 
379
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
380
  #, fuzzy
381
  msgid "Social title"
382
  msgstr "Tiítulo de Redes sociales"
383
 
384
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
385
  #, fuzzy
386
  msgid "Social text"
387
  msgstr "Texto de redes sociales"
388
 
389
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
390
  #, fuzzy
391
  msgid ""
392
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
395
  "Será usado por Facebook, Twitter y Pinterest. Usa <strong>%wishlist_url%</"
396
  "strong> donde quieras que la URL de tu Lista de deseos aparesca."
397
 
398
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
399
  #, fuzzy
400
  msgid "Social image URL"
401
  msgstr "URL de la imágen de las redes Sociales."
402
 
403
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
404
  #, php-format
405
  msgid ""
406
  "If you want to take advantage of this feature, you could consider to "
407
  "purchase the %s."
408
  msgstr ""
409
 
410
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
411
  msgid "YITH WooCommerce Frequently Bought Together Integration"
412
  msgstr ""
413
 
414
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
415
  msgid "Enable slider in wishlist"
416
  msgstr ""
417
 
418
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
419
  #, php-format
420
  msgid ""
421
  "Choose to enable product slider in wishlist page with linked products (<a "
422
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
423
  msgstr ""
424
 
425
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
426
  #, fuzzy
427
  msgid "\"Add to wishlist\" button"
428
  msgstr "\"Agregar a Lista de deseos\" texto del boton"
429
 
430
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
431
  #: ../includes/class.yith-wcwl-admin-init.php:1310
432
  #: ../includes/class.yith-wcwl-admin-init.php:1328
433
  #: ../includes/class.yith-wcwl-admin-init.php:1346
434
  #: ../includes/class.yith-wcwl-admin-init.php:1364
435
+ msgid "Background"
 
436
  msgstr ""
437
 
438
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
439
  #: ../includes/class.yith-wcwl-admin-init.php:1311
440
  #: ../includes/class.yith-wcwl-admin-init.php:1329
441
  #: ../includes/class.yith-wcwl-admin-init.php:1347
442
  #: ../includes/class.yith-wcwl-admin-init.php:1365
443
+ msgid "Text"
 
444
  msgstr ""
445
 
446
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
451
+ msgid "Border"
452
  msgstr ""
453
 
454
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
455
  #: ../includes/class.yith-wcwl-admin-init.php:1319
456
  #: ../includes/class.yith-wcwl-admin-init.php:1337
457
  #: ../includes/class.yith-wcwl-admin-init.php:1355
458
+ msgid "Background (hover)"
 
459
  msgstr ""
460
 
461
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
462
  #: ../includes/class.yith-wcwl-admin-init.php:1320
463
  #: ../includes/class.yith-wcwl-admin-init.php:1338
464
  #: ../includes/class.yith-wcwl-admin-init.php:1356
465
+ msgid "Text (hover)"
466
+ msgstr ""
467
+
468
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
469
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
471
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
472
  msgid "Border (hover)"
473
  msgstr ""
474
 
475
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
476
  #, fuzzy
477
  msgid "\"Add to Cart\" button"
478
  msgstr "\"Agregar al Carrito\" texto del boton"
479
 
480
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
481
  msgid "\"Style 1\" button"
482
  msgstr ""
483
 
484
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
485
  msgid "\"Style 2\" button"
486
  msgstr ""
487
 
488
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
489
  #, fuzzy
490
  msgid "Wishlist table"
491
  msgstr "Título de la Lista de deseos"
492
 
493
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
494
  msgid "Headers"
495
  msgstr ""
496
 
497
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
498
  msgid "Background color"
499
  msgstr ""
500
 
501
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
502
  #, fuzzy
503
  msgid "Wishlist Activated"
504
  msgstr "Título de la Lista de deseos"
505
 
506
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
507
  #, php-format
508
  msgid ""
509
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
512
  "options, <a href=\"%s\">discover it now</a>."
513
  msgstr ""
514
 
515
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
516
  #, fuzzy
517
  msgid "Wishlist Updated"
518
  msgstr "Página de la Lista de Deseos"
519
 
520
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
521
  #, php-format
522
  msgid ""
523
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
527
  "\">discover the PREMIUM version.</a>"
528
  msgstr ""
529
 
530
+ #: ../includes/class.yith-wcwl-init.php:380
531
  msgid ""
532
  "We are sorry, but this feature is available only if cookies are enabled on "
533
  "your browser."
534
  msgstr ""
535
 
536
+ #: ../includes/class.yith-wcwl-init.php:381
537
  #, fuzzy
538
  msgid "Product correctly added to cart"
539
  msgstr "¡Producto agregado!"
604
  msgid "An error as occurred."
605
  msgstr ""
606
 
607
+ #: ../init.php:135
608
  msgid ""
609
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
610
  "WooCommerce in order to work."
611
  msgstr ""
612
 
613
+ #: ../init.php:145
614
  msgid ""
615
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
616
  "are using the premium one."
868
  msgid "Google+"
869
  msgstr "Compartir en Google+"
870
 
871
+ #: ../templates/share.php:40
872
+ msgid "I wanted you to see this site"
873
+ msgstr ""
874
+
875
  #: ../templates/share.php:40
876
  msgid "Email"
877
  msgstr ""
languages/yith-woocommerce-wishlist-fa_IR.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-fa_IR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:43+0100\n"
6
  "Last-Translator: Am!n <amin.pe94@gmail.com>\n"
7
  "Language-Team: YITH - translated to persian by dornaweb <info@dornaweb.com>\n"
8
  "Language: fa\n"
@@ -19,29 +19,33 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "لیست علاقه مندی ها"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "تنظیمات"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "رنگ ها"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr "نسخه پولی"
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
@@ -49,35 +53,35 @@ msgstr ""
49
  "اخطار : برای نصب این افزونه حد اقل به نسخه 2.2 ووکامرس نیاز است، لطفا از "
50
  "این لینک برای آپدیت استفاده کنید"
51
 
52
- #: ../includes/class.yith-wcwl-admin-init.php:329
53
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
54
  msgstr "اخطار : این افزونه حد اقل به نسخه 2.2 ووکامرس نیاز دارد."
55
 
56
- #: ../includes/class.yith-wcwl-admin-init.php:334
57
  msgid "Plugin Documentation"
58
  msgstr "مستندات افزونه"
59
 
60
- #: ../includes/class.yith-wcwl-admin-init.php:350
61
  msgid "Wishlist Page"
62
  msgstr "صفحه لیست علاقه مندی ها"
63
 
64
- #: ../includes/class.yith-wcwl-admin-init.php:351
65
  msgid "Page contents: [yith_wcwl_wishlist]"
66
  msgstr "محتوای صفحه : [yith_wcwl_wishlist] باشد"
67
 
68
- #: ../includes/class.yith-wcwl-admin-init.php:926
69
  msgid "Upgrade to the PREMIUM VERSION"
70
  msgstr "ارتقا به نسخه پرمیوم"
71
 
72
- #: ../includes/class.yith-wcwl-admin-init.php:929
73
  msgid "YITH WooCommerce Wishlist"
74
  msgstr "YITH WooCommerce Wishlist"
75
 
76
- #: ../includes/class.yith-wcwl-admin-init.php:930
77
  msgid "Discover the Advanced Features"
78
  msgstr "امکانات پیشرفته را مشاهده کنید"
79
 
80
- #: ../includes/class.yith-wcwl-admin-init.php:931
81
  msgid ""
82
  "Upgrade to the PREMIUM VERSION\n"
83
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
@@ -85,11 +89,11 @@ msgstr ""
85
  "افزونه را به نسخه حرفه ای ارتقا دهید \n"
86
  "تا از تمام امکانات YITH WooCommerce Wishlist بهره ببرید"
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:938
89
  msgid "Get Support and Pro Features"
90
  msgstr "رفتن به پشتیبانی و امکانات پیشرفته"
91
 
92
- #: ../includes/class.yith-wcwl-admin-init.php:939
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
@@ -99,15 +103,15 @@ msgstr ""
99
  "ببرید، همچنین به مدت 1 سال آپدیت های این افزونه را بطور رایگان دریافت کنید و "
100
  "از پشتیبانی 24 ساعته ما استفاده کنید"
101
 
102
- #: ../includes/class.yith-wcwl-admin-init.php:949
103
  msgid "General Settings"
104
  msgstr "تنظیمات عمومی"
105
 
106
- #: ../includes/class.yith-wcwl-admin-init.php:956
107
  msgid "Enable YITH Wishlist"
108
  msgstr "فعال کردن YITH Wishlist"
109
 
110
- #: ../includes/class.yith-wcwl-admin-init.php:957
111
  #, php-format
112
  msgid ""
113
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -115,49 +119,49 @@ msgid ""
115
  "\"%s\" target=\"_blank\">documentation</a>."
116
  msgstr ""
117
 
118
- #: ../includes/class.yith-wcwl-admin-init.php:964
119
  msgid "Default wishlist title"
120
  msgstr "عنوان پیشفرض لیست علاقه مندی ها"
121
 
122
- #: ../includes/class.yith-wcwl-admin-init.php:966
123
- #: ../includes/class.yith-wcwl-admin-init.php:967
124
- #: ../includes/class.yith-wcwl-admin-init.php:1226
125
- #: ../includes/class.yith-wcwl-admin-init.php:1227
126
  #, php-format
127
  msgid "My wishlist on %s"
128
  msgstr "لیست علاقه مندی های من در %s"
129
 
130
- #: ../includes/class.yith-wcwl-admin-init.php:975
131
  msgid "Position"
132
  msgstr "موقعیت"
133
 
134
- #: ../includes/class.yith-wcwl-admin-init.php:976
135
  msgid ""
136
  "You can add the button in variable products only after the \"Add to Cart\" "
137
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
138
  msgstr ""
139
 
140
- #: ../includes/class.yith-wcwl-admin-init.php:982
141
  msgid "After \"Add to cart\""
142
  msgstr "بعد از \"افزودن به سبد\""
143
 
144
- #: ../includes/class.yith-wcwl-admin-init.php:983
145
  msgid "After thumbnails"
146
  msgstr "بعد از تصاویر محصول"
147
 
148
- #: ../includes/class.yith-wcwl-admin-init.php:984
149
  msgid "After summary"
150
  msgstr "بعد از خلاصه محصول"
151
 
152
- #: ../includes/class.yith-wcwl-admin-init.php:985
153
  msgid "Use shortcode"
154
  msgstr "استفاده از شورتکد"
155
 
156
- #: ../includes/class.yith-wcwl-admin-init.php:990
157
  msgid "Redirect to cart"
158
  msgstr "انتقال به سبد خرید"
159
 
160
- #: ../includes/class.yith-wcwl-admin-init.php:991
161
  msgid ""
162
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
163
  "page."
@@ -165,204 +169,204 @@ msgstr ""
165
  "اگر در صفحه علاقه مندی ها روی \"افزودن به سبد\" کلیک شد، کاربر را به صفحه "
166
  "سبد خرید منتقل کن"
167
 
168
- #: ../includes/class.yith-wcwl-admin-init.php:998
169
  msgid "Remove if added to the cart"
170
  msgstr "حذف محصول در صورت افزودن به سبد"
171
 
172
- #: ../includes/class.yith-wcwl-admin-init.php:999
173
  msgid "Remove the product from the wishlist if it has been added to the cart."
174
  msgstr "اگر محصول به سبد خرید اضافه شد آن را از لیست علاقه مندی ها حذف کن."
175
 
176
- #: ../includes/class.yith-wcwl-admin-init.php:1006
177
  msgid "\"Add to Wishlist\" text"
178
  msgstr "متن \"افزودن به علاقه مندی ها\""
179
 
180
- #: ../includes/class.yith-wcwl-admin-init.php:1008
181
- #: ../includes/class.yith-wcwl-admin-init.php:1009
182
  msgid "Add to Wishlist"
183
  msgstr "افزودن به علاقه مندی ها"
184
 
185
- #: ../includes/class.yith-wcwl-admin-init.php:1014
186
  msgid "\"Browse wishlist\" text"
187
  msgstr "متن \"مشاهده علاقه مندی ها\""
188
 
189
- #: ../includes/class.yith-wcwl-admin-init.php:1016
190
- #: ../includes/class.yith-wcwl-admin-init.php:1017
191
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
192
  msgid "Browse Wishlist"
193
  msgstr "مشاهده لیست علاقه مندی ها"
194
 
195
- #: ../includes/class.yith-wcwl-admin-init.php:1022
196
  msgid "\"Product already in wishlist\" text"
197
  msgstr "متن \"محصول از قبل اضافه شده\""
198
 
199
- #: ../includes/class.yith-wcwl-admin-init.php:1024
200
- #: ../includes/class.yith-wcwl-admin-init.php:1025
201
  #: ../includes/class.yith-wcwl-ui.php:82
202
  msgid "The product is already in the wishlist!"
203
  msgstr "محصول از قبل به علاقه مندی ها اضافه شده!"
204
 
205
- #: ../includes/class.yith-wcwl-admin-init.php:1030
206
  msgid "\"Product added\" text"
207
  msgstr "متن \"محصول اضافه شد\""
208
 
209
- #: ../includes/class.yith-wcwl-admin-init.php:1032
210
- #: ../includes/class.yith-wcwl-admin-init.php:1033
211
  #: ../includes/class.yith-wcwl-ui.php:81
212
  msgid "Product added!"
213
  msgstr "اضافه شد!"
214
 
215
- #: ../includes/class.yith-wcwl-admin-init.php:1038
216
  msgid "\"Add to Cart\" text"
217
  msgstr "متن \"افزودن به سبد خرید\""
218
 
219
- #: ../includes/class.yith-wcwl-admin-init.php:1040
220
- #: ../includes/class.yith-wcwl-admin-init.php:1041
221
  msgid "Add to Cart"
222
  msgstr "افزودن به سبد"
223
 
224
- #: ../includes/class.yith-wcwl-admin-init.php:1046
225
  msgid "Show Unit price"
226
  msgstr "مشاهده واحدهای پولی"
227
 
228
- #: ../includes/class.yith-wcwl-admin-init.php:1047
229
  msgid "Show unit price for each product in wishlist"
230
  msgstr "مشاهده واحدهای پولی برای محصولات اضافه شده به لیست علاقه مندی ها"
231
 
232
- #: ../includes/class.yith-wcwl-admin-init.php:1055
233
  msgid "Show \"Add to Cart\" button"
234
  msgstr "مشاهده دکمه \"افزودن به سبد\""
235
 
236
- #: ../includes/class.yith-wcwl-admin-init.php:1056
237
  msgid "Show \"Add to Cart\" button for each product in wishlist"
238
  msgstr ""
239
 
240
- #: ../includes/class.yith-wcwl-admin-init.php:1064
241
  msgid "Show Stock status"
242
  msgstr "مشاهده موجودی محصول"
243
 
244
- #: ../includes/class.yith-wcwl-admin-init.php:1065
245
  msgid ""
246
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
247
  msgstr "مشاهده \"موجودی\" یا \"ناموجودی\" محصولات موجود در لیست علاقه مندی ها"
248
 
249
- #: ../includes/class.yith-wcwl-admin-init.php:1073
250
  msgid "Show Date of addition"
251
  msgstr ""
252
 
253
- #: ../includes/class.yith-wcwl-admin-init.php:1074
254
  msgid "Show the date when users have added a product to the wishlist"
255
  msgstr ""
256
 
257
- #: ../includes/class.yith-wcwl-admin-init.php:1082
258
  msgid "Add second remove button"
259
  msgstr ""
260
 
261
- #: ../includes/class.yith-wcwl-admin-init.php:1083
262
  msgid "Add a second remove button in the last column, with extended label"
263
  msgstr ""
264
 
265
- #: ../includes/class.yith-wcwl-admin-init.php:1106
266
  msgid "Styles"
267
  msgstr "استایل ها"
268
 
269
- #: ../includes/class.yith-wcwl-admin-init.php:1113
270
  msgid "Use buttons"
271
  msgstr "استفاده از دکمه ها"
272
 
273
- #: ../includes/class.yith-wcwl-admin-init.php:1114
274
  msgid "Use buttons instead of simple anchors."
275
  msgstr "به جای لینک های ساده از دکمه ها استفاده کن"
276
 
277
- #: ../includes/class.yith-wcwl-admin-init.php:1121
278
  msgid "Custom CSS"
279
  msgstr "CSS دستی"
280
 
281
- #: ../includes/class.yith-wcwl-admin-init.php:1129
282
  msgid "Use theme style"
283
  msgstr "استفاده از استایل قالب"
284
 
285
- #: ../includes/class.yith-wcwl-admin-init.php:1130
286
  msgid "Use the theme style."
287
  msgstr "از استایل قالب استفاده کن"
288
 
289
- #: ../includes/class.yith-wcwl-admin-init.php:1137
290
  msgid "Rounded buttons"
291
  msgstr "دکمه های گرد"
292
 
293
- #: ../includes/class.yith-wcwl-admin-init.php:1138
294
  msgid "Make button corners rounded"
295
  msgstr "گوشه های دکمه را گرد کن"
296
 
297
- #: ../includes/class.yith-wcwl-admin-init.php:1145
298
  msgid "\"Add to Wishlist\" icon"
299
  msgstr "آیکون \"افزودن به علاقه مندی ها\""
300
 
301
- #: ../includes/class.yith-wcwl-admin-init.php:1146
302
  msgid "Add an icon to the \"Add to Wishlist\" button"
303
  msgstr "یک آیکون به دکمه \"افزودن به لیست علاقه مندی ها\" اضافه کن"
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1157
306
  msgid "\"Add to Cart\" icon"
307
  msgstr "آیکون \"افزودن به سبد\""
308
 
309
- #: ../includes/class.yith-wcwl-admin-init.php:1158
310
  msgid "Add an icon to the \"Add to Cart\" button"
311
  msgstr "یک آیکون به دکمه \"افزودن به سبد\" اضافه کن"
312
 
313
- #: ../includes/class.yith-wcwl-admin-init.php:1177
314
  msgid "Social Networks & Share"
315
  msgstr ""
316
 
317
- #: ../includes/class.yith-wcwl-admin-init.php:1184
318
  msgid "Share on Facebook"
319
  msgstr "اشتراک در فیس بوک"
320
 
321
- #: ../includes/class.yith-wcwl-admin-init.php:1185
322
  msgid "Show \"Share on Facebook\" button"
323
  msgstr "نمایش دکمه \"اشتراک در فیس بوک\""
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1192
326
  msgid "Tweet on Twitter"
327
  msgstr "توییت در توییتر"
328
 
329
- #: ../includes/class.yith-wcwl-admin-init.php:1193
330
  msgid "Show \"Tweet on Twitter\" button"
331
  msgstr "نمایش دکمه \"توییت در توییتر\""
332
 
333
- #: ../includes/class.yith-wcwl-admin-init.php:1200
334
  msgid "Pin on Pinterest"
335
  msgstr "پین به پینترست"
336
 
337
- #: ../includes/class.yith-wcwl-admin-init.php:1201
338
  msgid "Show \"Pin on Pinterest\" button"
339
  msgstr "نمایش دکمه \"پین درپینترست\""
340
 
341
- #: ../includes/class.yith-wcwl-admin-init.php:1208
342
  msgid "Share on Google+"
343
  msgstr "اشتراک گذاری در گوگل+"
344
 
345
- #: ../includes/class.yith-wcwl-admin-init.php:1209
346
  msgid "Show \"Share on Google+\" button"
347
  msgstr ""
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1216
350
  msgid "Share by Email"
351
  msgstr "اشتراک با ایمیل"
352
 
353
- #: ../includes/class.yith-wcwl-admin-init.php:1217
354
  msgid "Show \"Share by Email\" button"
355
  msgstr "نمایش دکمه \"اشتراک با ایمیل\""
356
 
357
- #: ../includes/class.yith-wcwl-admin-init.php:1224
358
  msgid "Social title"
359
  msgstr "عنوان اجتماعی"
360
 
361
- #: ../includes/class.yith-wcwl-admin-init.php:1232
362
  msgid "Social text"
363
  msgstr "متن اجتماعی"
364
 
365
- #: ../includes/class.yith-wcwl-admin-init.php:1233
366
  msgid ""
367
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
368
  "%</strong> where you want to show the URL of your wishlist."
@@ -371,110 +375,110 @@ msgstr ""
371
  "میخاهید url مربوط به لیست علاقه مندی هایتان را نشان دهید از <strong>"
372
  "%wishlist_url%</strong> استفاده کنید!"
373
 
374
- #: ../includes/class.yith-wcwl-admin-init.php:1241
375
  msgid "Social image URL"
376
  msgstr "آدرس تصویر اجتماعی"
377
 
378
- #: ../includes/class.yith-wcwl-admin-init.php:1256
379
  #, php-format
380
  msgid ""
381
  "If you want to take advantage of this feature, you could consider to "
382
  "purchase the %s."
383
  msgstr ""
384
 
385
- #: ../includes/class.yith-wcwl-admin-init.php:1261
386
  msgid "YITH WooCommerce Frequently Bought Together Integration"
387
  msgstr ""
388
 
389
- #: ../includes/class.yith-wcwl-admin-init.php:1268
390
  msgid "Enable slider in wishlist"
391
  msgstr ""
392
 
393
- #: ../includes/class.yith-wcwl-admin-init.php:1269
394
  #, php-format
395
  msgid ""
396
  "Choose to enable product slider in wishlist page with linked products (<a "
397
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
398
  msgstr ""
399
 
400
- #: ../includes/class.yith-wcwl-admin-init.php:1306
401
  msgid "\"Add to wishlist\" button"
402
  msgstr "دکمه \" افزودن به علاقه مندیها\""
403
 
404
- #: ../includes/class.yith-wcwl-admin-init.php:1309
405
- #: ../includes/class.yith-wcwl-admin-init.php:1327
406
- #: ../includes/class.yith-wcwl-admin-init.php:1345
407
- #: ../includes/class.yith-wcwl-admin-init.php:1363
408
- #: ../includes/class.yith-wcwl-admin-init.php:1381
409
- msgid "Background"
410
- msgstr "پس زمینه"
411
-
412
  #: ../includes/class.yith-wcwl-admin-init.php:1310
413
  #: ../includes/class.yith-wcwl-admin-init.php:1328
414
  #: ../includes/class.yith-wcwl-admin-init.php:1346
415
  #: ../includes/class.yith-wcwl-admin-init.php:1364
416
- #: ../includes/class.yith-wcwl-admin-init.php:1382
417
- msgid "Text"
418
- msgstr "متن"
419
 
 
420
  #: ../includes/class.yith-wcwl-admin-init.php:1311
421
  #: ../includes/class.yith-wcwl-admin-init.php:1329
422
  #: ../includes/class.yith-wcwl-admin-init.php:1347
423
  #: ../includes/class.yith-wcwl-admin-init.php:1365
424
- #: ../includes/class.yith-wcwl-admin-init.php:1383
 
 
 
 
 
 
 
425
  msgid "Border"
426
  msgstr "کادر"
427
 
428
- #: ../includes/class.yith-wcwl-admin-init.php:1318
429
- #: ../includes/class.yith-wcwl-admin-init.php:1336
430
- #: ../includes/class.yith-wcwl-admin-init.php:1354
431
- #: ../includes/class.yith-wcwl-admin-init.php:1372
432
- msgid "Background (hover)"
433
- msgstr "پس زمینه ( حالت هاور)"
434
-
435
  #: ../includes/class.yith-wcwl-admin-init.php:1319
436
  #: ../includes/class.yith-wcwl-admin-init.php:1337
437
  #: ../includes/class.yith-wcwl-admin-init.php:1355
438
- #: ../includes/class.yith-wcwl-admin-init.php:1373
439
- msgid "Text (hover)"
440
- msgstr "متن (حالت هاور)"
441
 
 
442
  #: ../includes/class.yith-wcwl-admin-init.php:1320
443
  #: ../includes/class.yith-wcwl-admin-init.php:1338
444
  #: ../includes/class.yith-wcwl-admin-init.php:1356
445
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
446
  msgid "Border (hover)"
447
  msgstr "کادر (حالت هاور)"
448
 
449
- #: ../includes/class.yith-wcwl-admin-init.php:1324
450
  msgid "\"Add to Cart\" button"
451
  msgstr "دکمه \"افزودن به سبد\""
452
 
453
- #: ../includes/class.yith-wcwl-admin-init.php:1342
454
  msgid "\"Style 1\" button"
455
  msgstr "دکمه \"استایل 1\""
456
 
457
- #: ../includes/class.yith-wcwl-admin-init.php:1360
458
  msgid "\"Style 2\" button"
459
  msgstr "دکمه \"استایل 2\""
460
 
461
- #: ../includes/class.yith-wcwl-admin-init.php:1378
462
  msgid "Wishlist table"
463
  msgstr "جدول علاقه مندی ها"
464
 
465
- #: ../includes/class.yith-wcwl-admin-init.php:1387
466
  msgid "Headers"
467
  msgstr "هدرها"
468
 
469
- #: ../includes/class.yith-wcwl-admin-init.php:1390
470
  msgid "Background color"
471
  msgstr "زنگ زمینه"
472
 
473
- #: ../includes/class.yith-wcwl-admin-init.php:1480
474
  msgid "Wishlist Activated"
475
  msgstr "لیست علاقه مندی ها فعال شد"
476
 
477
- #: ../includes/class.yith-wcwl-admin-init.php:1481
478
  #, php-format
479
  msgid ""
480
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -487,11 +491,11 @@ msgstr ""
487
  "همچنین افزونه لیست علاقه مندی ها در نسخه حرفه ای نیز موجود است که امکانات "
488
  "بسیار بیشتر و جدیدتری دارد , <a href=\"%s\">این امکانات را ببینید</a>."
489
 
490
- #: ../includes/class.yith-wcwl-admin-init.php:1492
491
  msgid "Wishlist Updated"
492
  msgstr "لیست علاقه مندی ها به روز شد"
493
 
494
- #: ../includes/class.yith-wcwl-admin-init.php:1493
495
  #, php-format
496
  msgid ""
497
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -507,7 +511,7 @@ msgstr ""
507
  "جدید اضافه خواهد شد، <a href=\"%s\">امکانات نسخه حرفه ای این افزونه را "
508
  "مشاهده کنید.</a>"
509
 
510
- #: ../includes/class.yith-wcwl-init.php:361
511
  msgid ""
512
  "We are sorry, but this feature is available only if cookies are enabled on "
513
  "your browser."
@@ -515,7 +519,7 @@ msgstr ""
515
  "متاسفیم! این امکان فقط در صورتی که کوکی های مرورگر شما فعال باشد در دسترس "
516
  "است."
517
 
518
- #: ../includes/class.yith-wcwl-init.php:362
519
  msgid "Product correctly added to cart"
520
  msgstr ""
521
 
@@ -582,13 +586,13 @@ msgstr "هیچ محصولی به لیست علاقه مندی ها افزوده
582
  msgid "An error as occurred."
583
  msgstr ""
584
 
585
- #: ../init.php:133
586
  msgid ""
587
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
588
  "WooCommerce in order to work."
589
  msgstr ""
590
 
591
- #: ../init.php:143
592
  msgid ""
593
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
594
  "are using the premium one."
@@ -846,6 +850,10 @@ msgstr "پینترست"
846
  msgid "Google+"
847
  msgstr ""
848
 
 
 
 
 
849
  #: ../templates/share.php:40
850
  msgid "Email"
851
  msgstr "ایمیل"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
6
  "Last-Translator: Am!n <amin.pe94@gmail.com>\n"
7
  "Language-Team: YITH - translated to persian by dornaweb <info@dornaweb.com>\n"
8
  "Language: fa\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "لیست علاقه مندی ها"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "تنظیمات"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "رنگ ها"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr "نسخه پولی"
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
53
  "اخطار : برای نصب این افزونه حد اقل به نسخه 2.2 ووکامرس نیاز است، لطفا از "
54
  "این لینک برای آپدیت استفاده کنید"
55
 
56
+ #: ../includes/class.yith-wcwl-admin-init.php:312
57
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
58
  msgstr "اخطار : این افزونه حد اقل به نسخه 2.2 ووکامرس نیاز دارد."
59
 
60
+ #: ../includes/class.yith-wcwl-admin-init.php:317
61
  msgid "Plugin Documentation"
62
  msgstr "مستندات افزونه"
63
 
64
+ #: ../includes/class.yith-wcwl-admin-init.php:333
65
  msgid "Wishlist Page"
66
  msgstr "صفحه لیست علاقه مندی ها"
67
 
68
+ #: ../includes/class.yith-wcwl-admin-init.php:334
69
  msgid "Page contents: [yith_wcwl_wishlist]"
70
  msgstr "محتوای صفحه : [yith_wcwl_wishlist] باشد"
71
 
72
+ #: ../includes/class.yith-wcwl-admin-init.php:909
73
  msgid "Upgrade to the PREMIUM VERSION"
74
  msgstr "ارتقا به نسخه پرمیوم"
75
 
76
+ #: ../includes/class.yith-wcwl-admin-init.php:912
77
  msgid "YITH WooCommerce Wishlist"
78
  msgstr "YITH WooCommerce Wishlist"
79
 
80
+ #: ../includes/class.yith-wcwl-admin-init.php:913
81
  msgid "Discover the Advanced Features"
82
  msgstr "امکانات پیشرفته را مشاهده کنید"
83
 
84
+ #: ../includes/class.yith-wcwl-admin-init.php:914
85
  msgid ""
86
  "Upgrade to the PREMIUM VERSION\n"
87
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
89
  "افزونه را به نسخه حرفه ای ارتقا دهید \n"
90
  "تا از تمام امکانات YITH WooCommerce Wishlist بهره ببرید"
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:921
93
  msgid "Get Support and Pro Features"
94
  msgstr "رفتن به پشتیبانی و امکانات پیشرفته"
95
 
96
+ #: ../includes/class.yith-wcwl-admin-init.php:922
97
  msgid ""
98
  "By purchasing the premium version of the plugin, you will take advantage of "
99
  "the advanced features of the product and you will get one year of free "
103
  "ببرید، همچنین به مدت 1 سال آپدیت های این افزونه را بطور رایگان دریافت کنید و "
104
  "از پشتیبانی 24 ساعته ما استفاده کنید"
105
 
106
+ #: ../includes/class.yith-wcwl-admin-init.php:932
107
  msgid "General Settings"
108
  msgstr "تنظیمات عمومی"
109
 
110
+ #: ../includes/class.yith-wcwl-admin-init.php:939
111
  msgid "Enable YITH Wishlist"
112
  msgstr "فعال کردن YITH Wishlist"
113
 
114
+ #: ../includes/class.yith-wcwl-admin-init.php:940
115
  #, php-format
116
  msgid ""
117
  "Enable all plugin features. <strong>Be sure to select at least one option in "
119
  "\"%s\" target=\"_blank\">documentation</a>."
120
  msgstr ""
121
 
122
+ #: ../includes/class.yith-wcwl-admin-init.php:947
123
  msgid "Default wishlist title"
124
  msgstr "عنوان پیشفرض لیست علاقه مندی ها"
125
 
126
+ #: ../includes/class.yith-wcwl-admin-init.php:949
127
+ #: ../includes/class.yith-wcwl-admin-init.php:950
128
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
129
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
130
  #, php-format
131
  msgid "My wishlist on %s"
132
  msgstr "لیست علاقه مندی های من در %s"
133
 
134
+ #: ../includes/class.yith-wcwl-admin-init.php:958
135
  msgid "Position"
136
  msgstr "موقعیت"
137
 
138
+ #: ../includes/class.yith-wcwl-admin-init.php:959
139
  msgid ""
140
  "You can add the button in variable products only after the \"Add to Cart\" "
141
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
142
  msgstr ""
143
 
144
+ #: ../includes/class.yith-wcwl-admin-init.php:965
145
  msgid "After \"Add to cart\""
146
  msgstr "بعد از \"افزودن به سبد\""
147
 
148
+ #: ../includes/class.yith-wcwl-admin-init.php:966
149
  msgid "After thumbnails"
150
  msgstr "بعد از تصاویر محصول"
151
 
152
+ #: ../includes/class.yith-wcwl-admin-init.php:967
153
  msgid "After summary"
154
  msgstr "بعد از خلاصه محصول"
155
 
156
+ #: ../includes/class.yith-wcwl-admin-init.php:968
157
  msgid "Use shortcode"
158
  msgstr "استفاده از شورتکد"
159
 
160
+ #: ../includes/class.yith-wcwl-admin-init.php:973
161
  msgid "Redirect to cart"
162
  msgstr "انتقال به سبد خرید"
163
 
164
+ #: ../includes/class.yith-wcwl-admin-init.php:974
165
  msgid ""
166
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
167
  "page."
169
  "اگر در صفحه علاقه مندی ها روی \"افزودن به سبد\" کلیک شد، کاربر را به صفحه "
170
  "سبد خرید منتقل کن"
171
 
172
+ #: ../includes/class.yith-wcwl-admin-init.php:981
173
  msgid "Remove if added to the cart"
174
  msgstr "حذف محصول در صورت افزودن به سبد"
175
 
176
+ #: ../includes/class.yith-wcwl-admin-init.php:982
177
  msgid "Remove the product from the wishlist if it has been added to the cart."
178
  msgstr "اگر محصول به سبد خرید اضافه شد آن را از لیست علاقه مندی ها حذف کن."
179
 
180
+ #: ../includes/class.yith-wcwl-admin-init.php:989
181
  msgid "\"Add to Wishlist\" text"
182
  msgstr "متن \"افزودن به علاقه مندی ها\""
183
 
184
+ #: ../includes/class.yith-wcwl-admin-init.php:991
185
+ #: ../includes/class.yith-wcwl-admin-init.php:992
186
  msgid "Add to Wishlist"
187
  msgstr "افزودن به علاقه مندی ها"
188
 
189
+ #: ../includes/class.yith-wcwl-admin-init.php:997
190
  msgid "\"Browse wishlist\" text"
191
  msgstr "متن \"مشاهده علاقه مندی ها\""
192
 
193
+ #: ../includes/class.yith-wcwl-admin-init.php:999
194
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
195
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
196
  msgid "Browse Wishlist"
197
  msgstr "مشاهده لیست علاقه مندی ها"
198
 
199
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
200
  msgid "\"Product already in wishlist\" text"
201
  msgstr "متن \"محصول از قبل اضافه شده\""
202
 
203
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
204
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
205
  #: ../includes/class.yith-wcwl-ui.php:82
206
  msgid "The product is already in the wishlist!"
207
  msgstr "محصول از قبل به علاقه مندی ها اضافه شده!"
208
 
209
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
210
  msgid "\"Product added\" text"
211
  msgstr "متن \"محصول اضافه شد\""
212
 
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
214
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
215
  #: ../includes/class.yith-wcwl-ui.php:81
216
  msgid "Product added!"
217
  msgstr "اضافه شد!"
218
 
219
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
220
  msgid "\"Add to Cart\" text"
221
  msgstr "متن \"افزودن به سبد خرید\""
222
 
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
224
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
225
  msgid "Add to Cart"
226
  msgstr "افزودن به سبد"
227
 
228
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
229
  msgid "Show Unit price"
230
  msgstr "مشاهده واحدهای پولی"
231
 
232
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
233
  msgid "Show unit price for each product in wishlist"
234
  msgstr "مشاهده واحدهای پولی برای محصولات اضافه شده به لیست علاقه مندی ها"
235
 
236
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
237
  msgid "Show \"Add to Cart\" button"
238
  msgstr "مشاهده دکمه \"افزودن به سبد\""
239
 
240
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
241
  msgid "Show \"Add to Cart\" button for each product in wishlist"
242
  msgstr ""
243
 
244
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
245
  msgid "Show Stock status"
246
  msgstr "مشاهده موجودی محصول"
247
 
248
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
249
  msgid ""
250
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
251
  msgstr "مشاهده \"موجودی\" یا \"ناموجودی\" محصولات موجود در لیست علاقه مندی ها"
252
 
253
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
254
  msgid "Show Date of addition"
255
  msgstr ""
256
 
257
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
258
  msgid "Show the date when users have added a product to the wishlist"
259
  msgstr ""
260
 
261
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
262
  msgid "Add second remove button"
263
  msgstr ""
264
 
265
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
266
  msgid "Add a second remove button in the last column, with extended label"
267
  msgstr ""
268
 
269
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
270
  msgid "Styles"
271
  msgstr "استایل ها"
272
 
273
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
274
  msgid "Use buttons"
275
  msgstr "استفاده از دکمه ها"
276
 
277
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
278
  msgid "Use buttons instead of simple anchors."
279
  msgstr "به جای لینک های ساده از دکمه ها استفاده کن"
280
 
281
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
282
  msgid "Custom CSS"
283
  msgstr "CSS دستی"
284
 
285
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
286
  msgid "Use theme style"
287
  msgstr "استفاده از استایل قالب"
288
 
289
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
290
  msgid "Use the theme style."
291
  msgstr "از استایل قالب استفاده کن"
292
 
293
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
294
  msgid "Rounded buttons"
295
  msgstr "دکمه های گرد"
296
 
297
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
298
  msgid "Make button corners rounded"
299
  msgstr "گوشه های دکمه را گرد کن"
300
 
301
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
302
  msgid "\"Add to Wishlist\" icon"
303
  msgstr "آیکون \"افزودن به علاقه مندی ها\""
304
 
305
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
306
  msgid "Add an icon to the \"Add to Wishlist\" button"
307
  msgstr "یک آیکون به دکمه \"افزودن به لیست علاقه مندی ها\" اضافه کن"
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
310
  msgid "\"Add to Cart\" icon"
311
  msgstr "آیکون \"افزودن به سبد\""
312
 
313
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
314
  msgid "Add an icon to the \"Add to Cart\" button"
315
  msgstr "یک آیکون به دکمه \"افزودن به سبد\" اضافه کن"
316
 
317
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
318
  msgid "Social Networks & Share"
319
  msgstr ""
320
 
321
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
322
  msgid "Share on Facebook"
323
  msgstr "اشتراک در فیس بوک"
324
 
325
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
326
  msgid "Show \"Share on Facebook\" button"
327
  msgstr "نمایش دکمه \"اشتراک در فیس بوک\""
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
330
  msgid "Tweet on Twitter"
331
  msgstr "توییت در توییتر"
332
 
333
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
334
  msgid "Show \"Tweet on Twitter\" button"
335
  msgstr "نمایش دکمه \"توییت در توییتر\""
336
 
337
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
338
  msgid "Pin on Pinterest"
339
  msgstr "پین به پینترست"
340
 
341
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
342
  msgid "Show \"Pin on Pinterest\" button"
343
  msgstr "نمایش دکمه \"پین درپینترست\""
344
 
345
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
346
  msgid "Share on Google+"
347
  msgstr "اشتراک گذاری در گوگل+"
348
 
349
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
350
  msgid "Show \"Share on Google+\" button"
351
  msgstr ""
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
354
  msgid "Share by Email"
355
  msgstr "اشتراک با ایمیل"
356
 
357
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
358
  msgid "Show \"Share by Email\" button"
359
  msgstr "نمایش دکمه \"اشتراک با ایمیل\""
360
 
361
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
362
  msgid "Social title"
363
  msgstr "عنوان اجتماعی"
364
 
365
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
366
  msgid "Social text"
367
  msgstr "متن اجتماعی"
368
 
369
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
370
  msgid ""
371
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
372
  "%</strong> where you want to show the URL of your wishlist."
375
  "میخاهید url مربوط به لیست علاقه مندی هایتان را نشان دهید از <strong>"
376
  "%wishlist_url%</strong> استفاده کنید!"
377
 
378
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
379
  msgid "Social image URL"
380
  msgstr "آدرس تصویر اجتماعی"
381
 
382
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
383
  #, php-format
384
  msgid ""
385
  "If you want to take advantage of this feature, you could consider to "
386
  "purchase the %s."
387
  msgstr ""
388
 
389
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
390
  msgid "YITH WooCommerce Frequently Bought Together Integration"
391
  msgstr ""
392
 
393
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
394
  msgid "Enable slider in wishlist"
395
  msgstr ""
396
 
397
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
398
  #, php-format
399
  msgid ""
400
  "Choose to enable product slider in wishlist page with linked products (<a "
401
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
402
  msgstr ""
403
 
404
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
405
  msgid "\"Add to wishlist\" button"
406
  msgstr "دکمه \" افزودن به علاقه مندیها\""
407
 
408
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
409
  #: ../includes/class.yith-wcwl-admin-init.php:1310
410
  #: ../includes/class.yith-wcwl-admin-init.php:1328
411
  #: ../includes/class.yith-wcwl-admin-init.php:1346
412
  #: ../includes/class.yith-wcwl-admin-init.php:1364
413
+ msgid "Background"
414
+ msgstr "پس زمینه"
 
415
 
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
417
  #: ../includes/class.yith-wcwl-admin-init.php:1311
418
  #: ../includes/class.yith-wcwl-admin-init.php:1329
419
  #: ../includes/class.yith-wcwl-admin-init.php:1347
420
  #: ../includes/class.yith-wcwl-admin-init.php:1365
421
+ msgid "Text"
422
+ msgstr "متن"
423
+
424
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
425
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
427
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
428
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
429
  msgid "Border"
430
  msgstr "کادر"
431
 
432
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
 
 
 
 
 
 
433
  #: ../includes/class.yith-wcwl-admin-init.php:1319
434
  #: ../includes/class.yith-wcwl-admin-init.php:1337
435
  #: ../includes/class.yith-wcwl-admin-init.php:1355
436
+ msgid "Background (hover)"
437
+ msgstr "پس زمینه ( حالت هاور)"
 
438
 
439
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
440
  #: ../includes/class.yith-wcwl-admin-init.php:1320
441
  #: ../includes/class.yith-wcwl-admin-init.php:1338
442
  #: ../includes/class.yith-wcwl-admin-init.php:1356
443
+ msgid "Text (hover)"
444
+ msgstr "متن (حالت هاور)"
445
+
446
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
450
  msgid "Border (hover)"
451
  msgstr "کادر (حالت هاور)"
452
 
453
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
454
  msgid "\"Add to Cart\" button"
455
  msgstr "دکمه \"افزودن به سبد\""
456
 
457
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
458
  msgid "\"Style 1\" button"
459
  msgstr "دکمه \"استایل 1\""
460
 
461
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
462
  msgid "\"Style 2\" button"
463
  msgstr "دکمه \"استایل 2\""
464
 
465
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
466
  msgid "Wishlist table"
467
  msgstr "جدول علاقه مندی ها"
468
 
469
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
470
  msgid "Headers"
471
  msgstr "هدرها"
472
 
473
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
474
  msgid "Background color"
475
  msgstr "زنگ زمینه"
476
 
477
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
478
  msgid "Wishlist Activated"
479
  msgstr "لیست علاقه مندی ها فعال شد"
480
 
481
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
482
  #, php-format
483
  msgid ""
484
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
491
  "همچنین افزونه لیست علاقه مندی ها در نسخه حرفه ای نیز موجود است که امکانات "
492
  "بسیار بیشتر و جدیدتری دارد , <a href=\"%s\">این امکانات را ببینید</a>."
493
 
494
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
495
  msgid "Wishlist Updated"
496
  msgstr "لیست علاقه مندی ها به روز شد"
497
 
498
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
499
  #, php-format
500
  msgid ""
501
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
511
  "جدید اضافه خواهد شد، <a href=\"%s\">امکانات نسخه حرفه ای این افزونه را "
512
  "مشاهده کنید.</a>"
513
 
514
+ #: ../includes/class.yith-wcwl-init.php:380
515
  msgid ""
516
  "We are sorry, but this feature is available only if cookies are enabled on "
517
  "your browser."
519
  "متاسفیم! این امکان فقط در صورتی که کوکی های مرورگر شما فعال باشد در دسترس "
520
  "است."
521
 
522
+ #: ../includes/class.yith-wcwl-init.php:381
523
  msgid "Product correctly added to cart"
524
  msgstr ""
525
 
586
  msgid "An error as occurred."
587
  msgstr ""
588
 
589
+ #: ../init.php:135
590
  msgid ""
591
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
592
  "WooCommerce in order to work."
593
  msgstr ""
594
 
595
+ #: ../init.php:145
596
  msgid ""
597
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
598
  "are using the premium one."
850
  msgid "Google+"
851
  msgstr ""
852
 
853
+ #: ../templates/share.php:40
854
+ msgid "I wanted you to see this site"
855
+ msgstr ""
856
+
857
  #: ../templates/share.php:40
858
  msgid "Email"
859
  msgstr "ایمیل"
languages/yith-woocommerce-wishlist-fr_FR.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
6
- "PO-Revision-Date: 2015-10-23 16:43+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language: fr_FR\n"
@@ -21,88 +21,92 @@ msgstr ""
21
  "X-Poedit-SearchPath-0: ..\n"
22
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
23
 
24
- #: ../includes/class.yith-wcwl-admin-init.php:194
25
- #: ../includes/class.yith-wcwl-admin-init.php:1414
26
- #: ../includes/class.yith-wcwl-admin-init.php:1415
27
  #: ../includes/class.yith-wcwl-install.php:240
28
  msgid "Wishlist"
29
  msgstr "Wishlist"
30
 
31
- #: ../includes/class.yith-wcwl-admin-init.php:196
32
- #: ../includes/class.yith-wcwl-admin-init.php:298
33
  msgid "Settings"
34
  msgstr "Paramètres"
35
 
36
- #: ../includes/class.yith-wcwl-admin-init.php:197
37
- #: ../includes/class.yith-wcwl-admin-init.php:265
38
  msgid "Colors"
39
  msgstr "Couleurs"
40
 
41
- #: ../includes/class.yith-wcwl-admin-init.php:198
42
- #: ../includes/class.yith-wcwl-admin-init.php:302
43
  msgid "Premium Version"
44
  msgstr ""
45
 
46
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
47
  msgid ""
48
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
49
  "link to update it."
50
  msgstr ""
51
 
52
- #: ../includes/class.yith-wcwl-admin-init.php:329
53
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
54
  msgstr ""
55
 
56
- #: ../includes/class.yith-wcwl-admin-init.php:334
57
  msgid "Plugin Documentation"
58
  msgstr ""
59
 
60
- #: ../includes/class.yith-wcwl-admin-init.php:350
61
  msgid "Wishlist Page"
62
  msgstr "Page Wishlist"
63
 
64
- #: ../includes/class.yith-wcwl-admin-init.php:351
65
  msgid "Page contents: [yith_wcwl_wishlist]"
66
  msgstr "Contenu de la page : [yith_wcwl_wishlist]"
67
 
68
- #: ../includes/class.yith-wcwl-admin-init.php:926
69
  msgid "Upgrade to the PREMIUM VERSION"
70
  msgstr ""
71
 
72
- #: ../includes/class.yith-wcwl-admin-init.php:929
73
  msgid "YITH WooCommerce Wishlist"
74
  msgstr ""
75
 
76
- #: ../includes/class.yith-wcwl-admin-init.php:930
77
  msgid "Discover the Advanced Features"
78
  msgstr ""
79
 
80
- #: ../includes/class.yith-wcwl-admin-init.php:931
81
  msgid ""
82
  "Upgrade to the PREMIUM VERSION\n"
83
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
84
  msgstr ""
85
 
86
- #: ../includes/class.yith-wcwl-admin-init.php:938
87
  msgid "Get Support and Pro Features"
88
  msgstr ""
89
 
90
- #: ../includes/class.yith-wcwl-admin-init.php:939
91
  msgid ""
92
  "By purchasing the premium version of the plugin, you will take advantage of "
93
  "the advanced features of the product and you will get one year of free "
94
  "updates and support through our platform available 24h/24."
95
  msgstr ""
96
 
97
- #: ../includes/class.yith-wcwl-admin-init.php:949
98
  msgid "General Settings"
99
  msgstr "Paramètres généraux"
100
 
101
- #: ../includes/class.yith-wcwl-admin-init.php:956
102
  msgid "Enable YITH Wishlist"
103
  msgstr "Activer YITH Wishlist"
104
 
105
- #: ../includes/class.yith-wcwl-admin-init.php:957
106
  #, fuzzy, php-format
107
  msgid ""
108
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -114,24 +118,24 @@ msgstr ""
114
  "strong> Egalement, prenez le temps de lire la <a href=\"%s\" target=\"_blank"
115
  "\">documentation</a>."
116
 
117
- #: ../includes/class.yith-wcwl-admin-init.php:964
118
  #, fuzzy
119
  msgid "Default wishlist title"
120
  msgstr "Titre de la Wishlist"
121
 
122
- #: ../includes/class.yith-wcwl-admin-init.php:966
123
- #: ../includes/class.yith-wcwl-admin-init.php:967
124
- #: ../includes/class.yith-wcwl-admin-init.php:1226
125
- #: ../includes/class.yith-wcwl-admin-init.php:1227
126
  #, php-format
127
  msgid "My wishlist on %s"
128
  msgstr "Ma wishlist sur %s"
129
 
130
- #: ../includes/class.yith-wcwl-admin-init.php:975
131
  msgid "Position"
132
  msgstr "Position"
133
 
134
- #: ../includes/class.yith-wcwl-admin-init.php:976
135
  #, fuzzy
136
  msgid ""
137
  "You can add the button in variable products only after the \"Add to Cart\" "
@@ -140,27 +144,27 @@ msgstr ""
140
  "Pour les produits variables, vous pouver seulement l'ajouter après \"Ajouter "
141
  "au panier\" ou en utilisant le shortcode [yith_wcwl_add_to_wishlist]."
142
 
143
- #: ../includes/class.yith-wcwl-admin-init.php:982
144
  msgid "After \"Add to cart\""
145
  msgstr "Après \"Ajouter au panier\""
146
 
147
- #: ../includes/class.yith-wcwl-admin-init.php:983
148
  msgid "After thumbnails"
149
  msgstr "Après les images"
150
 
151
- #: ../includes/class.yith-wcwl-admin-init.php:984
152
  msgid "After summary"
153
  msgstr "Après le résumé"
154
 
155
- #: ../includes/class.yith-wcwl-admin-init.php:985
156
  msgid "Use shortcode"
157
  msgstr "Utiliser le shortcode"
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:990
160
  msgid "Redirect to cart"
161
  msgstr "Rediriger vers le panier"
162
 
163
- #: ../includes/class.yith-wcwl-admin-init.php:991
164
  msgid ""
165
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
166
  "page."
@@ -168,222 +172,222 @@ msgstr ""
168
  "Rediriger vers le panier si on clique sur le bouton \"Ajouter au panier\" "
169
  "sur la page Wishlist."
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:998
172
  msgid "Remove if added to the cart"
173
  msgstr "Supprimer si ajouté au panier"
174
 
175
- #: ../includes/class.yith-wcwl-admin-init.php:999
176
  #, fuzzy
177
  msgid "Remove the product from the wishlist if it has been added to the cart."
178
  msgstr "Supprimer le produit de la wishlist s'il a été ajouté au panier."
179
 
180
- #: ../includes/class.yith-wcwl-admin-init.php:1006
181
  msgid "\"Add to Wishlist\" text"
182
  msgstr "Texte \"Ajouter à la wishlist\""
183
 
184
- #: ../includes/class.yith-wcwl-admin-init.php:1008
185
- #: ../includes/class.yith-wcwl-admin-init.php:1009
186
  msgid "Add to Wishlist"
187
  msgstr "Ajouter à la wishlist"
188
 
189
- #: ../includes/class.yith-wcwl-admin-init.php:1014
190
  #, fuzzy
191
  msgid "\"Browse wishlist\" text"
192
  msgstr "Parcourir la wishlist"
193
 
194
- #: ../includes/class.yith-wcwl-admin-init.php:1016
195
- #: ../includes/class.yith-wcwl-admin-init.php:1017
196
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
197
  msgid "Browse Wishlist"
198
  msgstr "Parcourir la wishlist"
199
 
200
- #: ../includes/class.yith-wcwl-admin-init.php:1022
201
  #, fuzzy
202
  msgid "\"Product already in wishlist\" text"
203
  msgstr "Ce produit est déjà dans votre wishlist"
204
 
205
- #: ../includes/class.yith-wcwl-admin-init.php:1024
206
- #: ../includes/class.yith-wcwl-admin-init.php:1025
207
  #: ../includes/class.yith-wcwl-ui.php:82
208
  msgid "The product is already in the wishlist!"
209
  msgstr "Ce produit est dans votre wishlist"
210
 
211
- #: ../includes/class.yith-wcwl-admin-init.php:1030
212
  #, fuzzy
213
  msgid "\"Product added\" text"
214
  msgstr "Produit ajouté !"
215
 
216
- #: ../includes/class.yith-wcwl-admin-init.php:1032
217
- #: ../includes/class.yith-wcwl-admin-init.php:1033
218
  #: ../includes/class.yith-wcwl-ui.php:81
219
  msgid "Product added!"
220
  msgstr "Produit ajouté !"
221
 
222
- #: ../includes/class.yith-wcwl-admin-init.php:1038
223
  msgid "\"Add to Cart\" text"
224
  msgstr "Texte \"Ajouter au panier\""
225
 
226
- #: ../includes/class.yith-wcwl-admin-init.php:1040
227
- #: ../includes/class.yith-wcwl-admin-init.php:1041
228
  msgid "Add to Cart"
229
  msgstr "Ajouter au panier"
230
 
231
- #: ../includes/class.yith-wcwl-admin-init.php:1046
232
  msgid "Show Unit price"
233
  msgstr "Voir le prix unitaire"
234
 
235
- #: ../includes/class.yith-wcwl-admin-init.php:1047
236
  msgid "Show unit price for each product in wishlist"
237
  msgstr ""
238
 
239
- #: ../includes/class.yith-wcwl-admin-init.php:1055
240
  msgid "Show \"Add to Cart\" button"
241
  msgstr "Voir le bouton \"Ajouter au panier\""
242
 
243
- #: ../includes/class.yith-wcwl-admin-init.php:1056
244
  #, fuzzy
245
  msgid "Show \"Add to Cart\" button for each product in wishlist"
246
  msgstr "Fond du bouton \"Ajouter au panier\""
247
 
248
- #: ../includes/class.yith-wcwl-admin-init.php:1064
249
  msgid "Show Stock status"
250
  msgstr "Voir le statut du stock"
251
 
252
- #: ../includes/class.yith-wcwl-admin-init.php:1065
253
  msgid ""
254
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
255
  msgstr ""
256
 
257
- #: ../includes/class.yith-wcwl-admin-init.php:1073
258
  msgid "Show Date of addition"
259
  msgstr ""
260
 
261
- #: ../includes/class.yith-wcwl-admin-init.php:1074
262
  #, fuzzy
263
  msgid "Show the date when users have added a product to the wishlist"
264
  msgstr "Une erreur est survenue lors de l'ajout du produit à la wishlist"
265
 
266
- #: ../includes/class.yith-wcwl-admin-init.php:1082
267
  #, fuzzy
268
  msgid "Add second remove button"
269
  msgstr "Texte du bouton \"Ajouter au panier\""
270
 
271
- #: ../includes/class.yith-wcwl-admin-init.php:1083
272
  msgid "Add a second remove button in the last column, with extended label"
273
  msgstr ""
274
 
275
- #: ../includes/class.yith-wcwl-admin-init.php:1106
276
  msgid "Styles"
277
  msgstr "Styles"
278
 
279
- #: ../includes/class.yith-wcwl-admin-init.php:1113
280
  msgid "Use buttons"
281
  msgstr "Utiliser des boutons"
282
 
283
- #: ../includes/class.yith-wcwl-admin-init.php:1114
284
  #, fuzzy
285
  msgid "Use buttons instead of simple anchors."
286
  msgstr "Utiliser des boutons à la place de simples liens"
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1121
289
  msgid "Custom CSS"
290
  msgstr "CSS personnalisée"
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1129
293
  msgid "Use theme style"
294
  msgstr "Utiliser le style du thème"
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1130
297
  msgid "Use the theme style."
298
  msgstr "Utiliser le style du thème?"
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1137
301
  #, fuzzy
302
  msgid "Rounded buttons"
303
  msgstr "Utiliser des boutons"
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1138
306
  #, fuzzy
307
  msgid "Make button corners rounded"
308
  msgstr "Arrondir les coins des boutons"
309
 
310
- #: ../includes/class.yith-wcwl-admin-init.php:1145
311
  msgid "\"Add to Wishlist\" icon"
312
  msgstr "Icône \"Ajouter à la wishlist\""
313
 
314
- #: ../includes/class.yith-wcwl-admin-init.php:1146
315
  msgid "Add an icon to the \"Add to Wishlist\" button"
316
  msgstr "Ajouter une icône au bouton \"Ajouter à la wishlist\""
317
 
318
- #: ../includes/class.yith-wcwl-admin-init.php:1157
319
  msgid "\"Add to Cart\" icon"
320
  msgstr "Icône \"Ajouter au panier\""
321
 
322
- #: ../includes/class.yith-wcwl-admin-init.php:1158
323
  msgid "Add an icon to the \"Add to Cart\" button"
324
  msgstr "Ajouter une icône au bouton \"Ajouter au panier\""
325
 
326
- #: ../includes/class.yith-wcwl-admin-init.php:1177
327
  #, fuzzy
328
  msgid "Social Networks & Share"
329
  msgstr "Partage"
330
 
331
- #: ../includes/class.yith-wcwl-admin-init.php:1184
332
  msgid "Share on Facebook"
333
  msgstr "Partager sur Facebook"
334
 
335
- #: ../includes/class.yith-wcwl-admin-init.php:1185
336
  #, fuzzy
337
  msgid "Show \"Share on Facebook\" button"
338
  msgstr "Partager sur Facebook"
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1192
341
  msgid "Tweet on Twitter"
342
  msgstr "Partager sur Twitter"
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1193
345
  #, fuzzy
346
  msgid "Show \"Tweet on Twitter\" button"
347
  msgstr "Partager sur Twitter"
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1200
350
  msgid "Pin on Pinterest"
351
  msgstr "Partager sur Pinterest"
352
 
353
- #: ../includes/class.yith-wcwl-admin-init.php:1201
354
  #, fuzzy
355
  msgid "Show \"Pin on Pinterest\" button"
356
  msgstr "Partager sur Pinterest"
357
 
358
- #: ../includes/class.yith-wcwl-admin-init.php:1208
359
  msgid "Share on Google+"
360
  msgstr "Partager sur Google+"
361
 
362
- #: ../includes/class.yith-wcwl-admin-init.php:1209
363
  #, fuzzy
364
  msgid "Show \"Share on Google+\" button"
365
  msgstr "Partager sur Facebook"
366
 
367
- #: ../includes/class.yith-wcwl-admin-init.php:1216
368
  msgid "Share by Email"
369
  msgstr ""
370
 
371
- #: ../includes/class.yith-wcwl-admin-init.php:1217
372
  #, fuzzy
373
  msgid "Show \"Share by Email\" button"
374
  msgstr "Voir le bouton \"Ajouter au panier\""
375
 
376
- #: ../includes/class.yith-wcwl-admin-init.php:1224
377
  #, fuzzy
378
  msgid "Social title"
379
  msgstr "Titre pour les réseaux sociaux"
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1232
382
  #, fuzzy
383
  msgid "Social text"
384
  msgstr "Texte pour les réseaux sociaux"
385
 
386
- #: ../includes/class.yith-wcwl-admin-init.php:1233
387
  #, fuzzy
388
  msgid ""
389
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -393,115 +397,115 @@ msgstr ""
393
  "%wishlist_url%</strong> à l'endroit où vous voulez faire apparaitre le lien "
394
  "vers votre wishlist."
395
 
396
- #: ../includes/class.yith-wcwl-admin-init.php:1241
397
  #, fuzzy
398
  msgid "Social image URL"
399
  msgstr "URL de l'image pour les réseaux sociaux"
400
 
401
- #: ../includes/class.yith-wcwl-admin-init.php:1256
402
  #, php-format
403
  msgid ""
404
  "If you want to take advantage of this feature, you could consider to "
405
  "purchase the %s."
406
  msgstr ""
407
 
408
- #: ../includes/class.yith-wcwl-admin-init.php:1261
409
  msgid "YITH WooCommerce Frequently Bought Together Integration"
410
  msgstr ""
411
 
412
- #: ../includes/class.yith-wcwl-admin-init.php:1268
413
  msgid "Enable slider in wishlist"
414
  msgstr ""
415
 
416
- #: ../includes/class.yith-wcwl-admin-init.php:1269
417
  #, php-format
418
  msgid ""
419
  "Choose to enable product slider in wishlist page with linked products (<a "
420
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
421
  msgstr ""
422
 
423
- #: ../includes/class.yith-wcwl-admin-init.php:1306
424
  #, fuzzy
425
  msgid "\"Add to wishlist\" button"
426
  msgstr "Texte du bouton \"Ajouter à la Wishlist\""
427
 
428
- #: ../includes/class.yith-wcwl-admin-init.php:1309
429
- #: ../includes/class.yith-wcwl-admin-init.php:1327
430
- #: ../includes/class.yith-wcwl-admin-init.php:1345
431
- #: ../includes/class.yith-wcwl-admin-init.php:1363
432
- #: ../includes/class.yith-wcwl-admin-init.php:1381
433
- msgid "Background"
434
- msgstr ""
435
-
436
  #: ../includes/class.yith-wcwl-admin-init.php:1310
437
  #: ../includes/class.yith-wcwl-admin-init.php:1328
438
  #: ../includes/class.yith-wcwl-admin-init.php:1346
439
  #: ../includes/class.yith-wcwl-admin-init.php:1364
440
- #: ../includes/class.yith-wcwl-admin-init.php:1382
441
- msgid "Text"
442
  msgstr ""
443
 
 
444
  #: ../includes/class.yith-wcwl-admin-init.php:1311
445
  #: ../includes/class.yith-wcwl-admin-init.php:1329
446
  #: ../includes/class.yith-wcwl-admin-init.php:1347
447
  #: ../includes/class.yith-wcwl-admin-init.php:1365
448
- #: ../includes/class.yith-wcwl-admin-init.php:1383
449
- msgid "Border"
450
  msgstr ""
451
 
452
- #: ../includes/class.yith-wcwl-admin-init.php:1318
453
- #: ../includes/class.yith-wcwl-admin-init.php:1336
454
- #: ../includes/class.yith-wcwl-admin-init.php:1354
455
- #: ../includes/class.yith-wcwl-admin-init.php:1372
456
- msgid "Background (hover)"
 
457
  msgstr ""
458
 
 
459
  #: ../includes/class.yith-wcwl-admin-init.php:1319
460
  #: ../includes/class.yith-wcwl-admin-init.php:1337
461
  #: ../includes/class.yith-wcwl-admin-init.php:1355
462
- #: ../includes/class.yith-wcwl-admin-init.php:1373
463
- msgid "Text (hover)"
464
  msgstr ""
465
 
 
466
  #: ../includes/class.yith-wcwl-admin-init.php:1320
467
  #: ../includes/class.yith-wcwl-admin-init.php:1338
468
  #: ../includes/class.yith-wcwl-admin-init.php:1356
469
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
470
  msgid "Border (hover)"
471
  msgstr ""
472
 
473
- #: ../includes/class.yith-wcwl-admin-init.php:1324
474
  #, fuzzy
475
  msgid "\"Add to Cart\" button"
476
  msgstr "Texte du bouton \"Ajouter au panier\""
477
 
478
- #: ../includes/class.yith-wcwl-admin-init.php:1342
479
  msgid "\"Style 1\" button"
480
  msgstr ""
481
 
482
- #: ../includes/class.yith-wcwl-admin-init.php:1360
483
  msgid "\"Style 2\" button"
484
  msgstr ""
485
 
486
- #: ../includes/class.yith-wcwl-admin-init.php:1378
487
  #, fuzzy
488
  msgid "Wishlist table"
489
  msgstr "Titre de la Wishlist"
490
 
491
- #: ../includes/class.yith-wcwl-admin-init.php:1387
492
  msgid "Headers"
493
  msgstr ""
494
 
495
- #: ../includes/class.yith-wcwl-admin-init.php:1390
496
  msgid "Background color"
497
  msgstr ""
498
 
499
- #: ../includes/class.yith-wcwl-admin-init.php:1480
500
  #, fuzzy
501
  msgid "Wishlist Activated"
502
  msgstr "Titre de la Wishlist"
503
 
504
- #: ../includes/class.yith-wcwl-admin-init.php:1481
505
  #, php-format
506
  msgid ""
507
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -510,12 +514,12 @@ msgid ""
510
  "options, <a href=\"%s\">discover it now</a>."
511
  msgstr ""
512
 
513
- #: ../includes/class.yith-wcwl-admin-init.php:1492
514
  #, fuzzy
515
  msgid "Wishlist Updated"
516
  msgstr "Page Wishlist"
517
 
518
- #: ../includes/class.yith-wcwl-admin-init.php:1493
519
  #, php-format
520
  msgid ""
521
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -525,13 +529,13 @@ msgid ""
525
  "\">discover the PREMIUM version.</a>"
526
  msgstr ""
527
 
528
- #: ../includes/class.yith-wcwl-init.php:361
529
  msgid ""
530
  "We are sorry, but this feature is available only if cookies are enabled on "
531
  "your browser."
532
  msgstr ""
533
 
534
- #: ../includes/class.yith-wcwl-init.php:362
535
  #, fuzzy
536
  msgid "Product correctly added to cart"
537
  msgstr "Produkt erfolgreich im Warenkorb eingefügt "
@@ -603,13 +607,13 @@ msgstr "Aucun produit dans votre wishlist"
603
  msgid "An error as occurred."
604
  msgstr ""
605
 
606
- #: ../init.php:133
607
  msgid ""
608
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
609
  "WooCommerce in order to work."
610
  msgstr ""
611
 
612
- #: ../init.php:143
613
  msgid ""
614
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
615
  "are using the premium one."
@@ -867,6 +871,10 @@ msgstr "Partager sur Pinterest"
867
  msgid "Google+"
868
  msgstr "Partager sur Google+"
869
 
 
 
 
 
870
  #: ../templates/share.php:40
871
  msgid "Email"
872
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
6
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language: fr_FR\n"
21
  "X-Poedit-SearchPath-0: ..\n"
22
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
23
 
24
+ #: ../includes/class.yith-wcwl-admin-init.php:176
25
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
26
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
27
  #: ../includes/class.yith-wcwl-install.php:240
28
  msgid "Wishlist"
29
  msgstr "Wishlist"
30
 
31
+ #: ../includes/class.yith-wcwl-admin-init.php:178
32
+ #: ../includes/class.yith-wcwl-admin-init.php:280
33
  msgid "Settings"
34
  msgstr "Paramètres"
35
 
36
+ #: ../includes/class.yith-wcwl-admin-init.php:179
37
+ #: ../includes/class.yith-wcwl-admin-init.php:247
38
  msgid "Colors"
39
  msgstr "Couleurs"
40
 
41
+ #: ../includes/class.yith-wcwl-admin-init.php:180
42
+ #: ../includes/class.yith-wcwl-admin-init.php:284
43
  msgid "Premium Version"
44
  msgstr ""
45
 
46
+ #: ../includes/class.yith-wcwl-admin-init.php:285
47
+ msgid "Live Demo"
48
+ msgstr ""
49
+
50
+ #: ../includes/class.yith-wcwl-admin-init.php:309
51
  msgid ""
52
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
53
  "link to update it."
54
  msgstr ""
55
 
56
+ #: ../includes/class.yith-wcwl-admin-init.php:312
57
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
58
  msgstr ""
59
 
60
+ #: ../includes/class.yith-wcwl-admin-init.php:317
61
  msgid "Plugin Documentation"
62
  msgstr ""
63
 
64
+ #: ../includes/class.yith-wcwl-admin-init.php:333
65
  msgid "Wishlist Page"
66
  msgstr "Page Wishlist"
67
 
68
+ #: ../includes/class.yith-wcwl-admin-init.php:334
69
  msgid "Page contents: [yith_wcwl_wishlist]"
70
  msgstr "Contenu de la page : [yith_wcwl_wishlist]"
71
 
72
+ #: ../includes/class.yith-wcwl-admin-init.php:909
73
  msgid "Upgrade to the PREMIUM VERSION"
74
  msgstr ""
75
 
76
+ #: ../includes/class.yith-wcwl-admin-init.php:912
77
  msgid "YITH WooCommerce Wishlist"
78
  msgstr ""
79
 
80
+ #: ../includes/class.yith-wcwl-admin-init.php:913
81
  msgid "Discover the Advanced Features"
82
  msgstr ""
83
 
84
+ #: ../includes/class.yith-wcwl-admin-init.php:914
85
  msgid ""
86
  "Upgrade to the PREMIUM VERSION\n"
87
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
88
  msgstr ""
89
 
90
+ #: ../includes/class.yith-wcwl-admin-init.php:921
91
  msgid "Get Support and Pro Features"
92
  msgstr ""
93
 
94
+ #: ../includes/class.yith-wcwl-admin-init.php:922
95
  msgid ""
96
  "By purchasing the premium version of the plugin, you will take advantage of "
97
  "the advanced features of the product and you will get one year of free "
98
  "updates and support through our platform available 24h/24."
99
  msgstr ""
100
 
101
+ #: ../includes/class.yith-wcwl-admin-init.php:932
102
  msgid "General Settings"
103
  msgstr "Paramètres généraux"
104
 
105
+ #: ../includes/class.yith-wcwl-admin-init.php:939
106
  msgid "Enable YITH Wishlist"
107
  msgstr "Activer YITH Wishlist"
108
 
109
+ #: ../includes/class.yith-wcwl-admin-init.php:940
110
  #, fuzzy, php-format
111
  msgid ""
112
  "Enable all plugin features. <strong>Be sure to select at least one option in "
118
  "strong> Egalement, prenez le temps de lire la <a href=\"%s\" target=\"_blank"
119
  "\">documentation</a>."
120
 
121
+ #: ../includes/class.yith-wcwl-admin-init.php:947
122
  #, fuzzy
123
  msgid "Default wishlist title"
124
  msgstr "Titre de la Wishlist"
125
 
126
+ #: ../includes/class.yith-wcwl-admin-init.php:949
127
+ #: ../includes/class.yith-wcwl-admin-init.php:950
128
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
129
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
130
  #, php-format
131
  msgid "My wishlist on %s"
132
  msgstr "Ma wishlist sur %s"
133
 
134
+ #: ../includes/class.yith-wcwl-admin-init.php:958
135
  msgid "Position"
136
  msgstr "Position"
137
 
138
+ #: ../includes/class.yith-wcwl-admin-init.php:959
139
  #, fuzzy
140
  msgid ""
141
  "You can add the button in variable products only after the \"Add to Cart\" "
144
  "Pour les produits variables, vous pouver seulement l'ajouter après \"Ajouter "
145
  "au panier\" ou en utilisant le shortcode [yith_wcwl_add_to_wishlist]."
146
 
147
+ #: ../includes/class.yith-wcwl-admin-init.php:965
148
  msgid "After \"Add to cart\""
149
  msgstr "Après \"Ajouter au panier\""
150
 
151
+ #: ../includes/class.yith-wcwl-admin-init.php:966
152
  msgid "After thumbnails"
153
  msgstr "Après les images"
154
 
155
+ #: ../includes/class.yith-wcwl-admin-init.php:967
156
  msgid "After summary"
157
  msgstr "Après le résumé"
158
 
159
+ #: ../includes/class.yith-wcwl-admin-init.php:968
160
  msgid "Use shortcode"
161
  msgstr "Utiliser le shortcode"
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:973
164
  msgid "Redirect to cart"
165
  msgstr "Rediriger vers le panier"
166
 
167
+ #: ../includes/class.yith-wcwl-admin-init.php:974
168
  msgid ""
169
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
170
  "page."
172
  "Rediriger vers le panier si on clique sur le bouton \"Ajouter au panier\" "
173
  "sur la page Wishlist."
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:981
176
  msgid "Remove if added to the cart"
177
  msgstr "Supprimer si ajouté au panier"
178
 
179
+ #: ../includes/class.yith-wcwl-admin-init.php:982
180
  #, fuzzy
181
  msgid "Remove the product from the wishlist if it has been added to the cart."
182
  msgstr "Supprimer le produit de la wishlist s'il a été ajouté au panier."
183
 
184
+ #: ../includes/class.yith-wcwl-admin-init.php:989
185
  msgid "\"Add to Wishlist\" text"
186
  msgstr "Texte \"Ajouter à la wishlist\""
187
 
188
+ #: ../includes/class.yith-wcwl-admin-init.php:991
189
+ #: ../includes/class.yith-wcwl-admin-init.php:992
190
  msgid "Add to Wishlist"
191
  msgstr "Ajouter à la wishlist"
192
 
193
+ #: ../includes/class.yith-wcwl-admin-init.php:997
194
  #, fuzzy
195
  msgid "\"Browse wishlist\" text"
196
  msgstr "Parcourir la wishlist"
197
 
198
+ #: ../includes/class.yith-wcwl-admin-init.php:999
199
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
200
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
201
  msgid "Browse Wishlist"
202
  msgstr "Parcourir la wishlist"
203
 
204
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
205
  #, fuzzy
206
  msgid "\"Product already in wishlist\" text"
207
  msgstr "Ce produit est déjà dans votre wishlist"
208
 
209
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
210
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
211
  #: ../includes/class.yith-wcwl-ui.php:82
212
  msgid "The product is already in the wishlist!"
213
  msgstr "Ce produit est dans votre wishlist"
214
 
215
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
216
  #, fuzzy
217
  msgid "\"Product added\" text"
218
  msgstr "Produit ajouté !"
219
 
220
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
221
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
222
  #: ../includes/class.yith-wcwl-ui.php:81
223
  msgid "Product added!"
224
  msgstr "Produit ajouté !"
225
 
226
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
227
  msgid "\"Add to Cart\" text"
228
  msgstr "Texte \"Ajouter au panier\""
229
 
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
231
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
232
  msgid "Add to Cart"
233
  msgstr "Ajouter au panier"
234
 
235
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
236
  msgid "Show Unit price"
237
  msgstr "Voir le prix unitaire"
238
 
239
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
240
  msgid "Show unit price for each product in wishlist"
241
  msgstr ""
242
 
243
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
244
  msgid "Show \"Add to Cart\" button"
245
  msgstr "Voir le bouton \"Ajouter au panier\""
246
 
247
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
248
  #, fuzzy
249
  msgid "Show \"Add to Cart\" button for each product in wishlist"
250
  msgstr "Fond du bouton \"Ajouter au panier\""
251
 
252
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
253
  msgid "Show Stock status"
254
  msgstr "Voir le statut du stock"
255
 
256
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
257
  msgid ""
258
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
259
  msgstr ""
260
 
261
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
262
  msgid "Show Date of addition"
263
  msgstr ""
264
 
265
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
266
  #, fuzzy
267
  msgid "Show the date when users have added a product to the wishlist"
268
  msgstr "Une erreur est survenue lors de l'ajout du produit à la wishlist"
269
 
270
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
271
  #, fuzzy
272
  msgid "Add second remove button"
273
  msgstr "Texte du bouton \"Ajouter au panier\""
274
 
275
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
276
  msgid "Add a second remove button in the last column, with extended label"
277
  msgstr ""
278
 
279
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
280
  msgid "Styles"
281
  msgstr "Styles"
282
 
283
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
284
  msgid "Use buttons"
285
  msgstr "Utiliser des boutons"
286
 
287
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
288
  #, fuzzy
289
  msgid "Use buttons instead of simple anchors."
290
  msgstr "Utiliser des boutons à la place de simples liens"
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
293
  msgid "Custom CSS"
294
  msgstr "CSS personnalisée"
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
297
  msgid "Use theme style"
298
  msgstr "Utiliser le style du thème"
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
301
  msgid "Use the theme style."
302
  msgstr "Utiliser le style du thème?"
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
305
  #, fuzzy
306
  msgid "Rounded buttons"
307
  msgstr "Utiliser des boutons"
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
310
  #, fuzzy
311
  msgid "Make button corners rounded"
312
  msgstr "Arrondir les coins des boutons"
313
 
314
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
315
  msgid "\"Add to Wishlist\" icon"
316
  msgstr "Icône \"Ajouter à la wishlist\""
317
 
318
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
319
  msgid "Add an icon to the \"Add to Wishlist\" button"
320
  msgstr "Ajouter une icône au bouton \"Ajouter à la wishlist\""
321
 
322
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
323
  msgid "\"Add to Cart\" icon"
324
  msgstr "Icône \"Ajouter au panier\""
325
 
326
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
327
  msgid "Add an icon to the \"Add to Cart\" button"
328
  msgstr "Ajouter une icône au bouton \"Ajouter au panier\""
329
 
330
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
331
  #, fuzzy
332
  msgid "Social Networks & Share"
333
  msgstr "Partage"
334
 
335
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
336
  msgid "Share on Facebook"
337
  msgstr "Partager sur Facebook"
338
 
339
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
340
  #, fuzzy
341
  msgid "Show \"Share on Facebook\" button"
342
  msgstr "Partager sur Facebook"
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
345
  msgid "Tweet on Twitter"
346
  msgstr "Partager sur Twitter"
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
349
  #, fuzzy
350
  msgid "Show \"Tweet on Twitter\" button"
351
  msgstr "Partager sur Twitter"
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
354
  msgid "Pin on Pinterest"
355
  msgstr "Partager sur Pinterest"
356
 
357
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
358
  #, fuzzy
359
  msgid "Show \"Pin on Pinterest\" button"
360
  msgstr "Partager sur Pinterest"
361
 
362
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
363
  msgid "Share on Google+"
364
  msgstr "Partager sur Google+"
365
 
366
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
367
  #, fuzzy
368
  msgid "Show \"Share on Google+\" button"
369
  msgstr "Partager sur Facebook"
370
 
371
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
372
  msgid "Share by Email"
373
  msgstr ""
374
 
375
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
376
  #, fuzzy
377
  msgid "Show \"Share by Email\" button"
378
  msgstr "Voir le bouton \"Ajouter au panier\""
379
 
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
381
  #, fuzzy
382
  msgid "Social title"
383
  msgstr "Titre pour les réseaux sociaux"
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
386
  #, fuzzy
387
  msgid "Social text"
388
  msgstr "Texte pour les réseaux sociaux"
389
 
390
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
391
  #, fuzzy
392
  msgid ""
393
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
397
  "%wishlist_url%</strong> à l'endroit où vous voulez faire apparaitre le lien "
398
  "vers votre wishlist."
399
 
400
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
401
  #, fuzzy
402
  msgid "Social image URL"
403
  msgstr "URL de l'image pour les réseaux sociaux"
404
 
405
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
406
  #, php-format
407
  msgid ""
408
  "If you want to take advantage of this feature, you could consider to "
409
  "purchase the %s."
410
  msgstr ""
411
 
412
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
413
  msgid "YITH WooCommerce Frequently Bought Together Integration"
414
  msgstr ""
415
 
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
417
  msgid "Enable slider in wishlist"
418
  msgstr ""
419
 
420
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
421
  #, php-format
422
  msgid ""
423
  "Choose to enable product slider in wishlist page with linked products (<a "
424
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
425
  msgstr ""
426
 
427
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
428
  #, fuzzy
429
  msgid "\"Add to wishlist\" button"
430
  msgstr "Texte du bouton \"Ajouter à la Wishlist\""
431
 
432
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
433
  #: ../includes/class.yith-wcwl-admin-init.php:1310
434
  #: ../includes/class.yith-wcwl-admin-init.php:1328
435
  #: ../includes/class.yith-wcwl-admin-init.php:1346
436
  #: ../includes/class.yith-wcwl-admin-init.php:1364
437
+ msgid "Background"
 
438
  msgstr ""
439
 
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
441
  #: ../includes/class.yith-wcwl-admin-init.php:1311
442
  #: ../includes/class.yith-wcwl-admin-init.php:1329
443
  #: ../includes/class.yith-wcwl-admin-init.php:1347
444
  #: ../includes/class.yith-wcwl-admin-init.php:1365
445
+ msgid "Text"
 
446
  msgstr ""
447
 
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
451
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
452
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
453
+ msgid "Border"
454
  msgstr ""
455
 
456
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
457
  #: ../includes/class.yith-wcwl-admin-init.php:1319
458
  #: ../includes/class.yith-wcwl-admin-init.php:1337
459
  #: ../includes/class.yith-wcwl-admin-init.php:1355
460
+ msgid "Background (hover)"
 
461
  msgstr ""
462
 
463
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
464
  #: ../includes/class.yith-wcwl-admin-init.php:1320
465
  #: ../includes/class.yith-wcwl-admin-init.php:1338
466
  #: ../includes/class.yith-wcwl-admin-init.php:1356
467
+ msgid "Text (hover)"
468
+ msgstr ""
469
+
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
471
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
472
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
473
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
474
  msgid "Border (hover)"
475
  msgstr ""
476
 
477
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
478
  #, fuzzy
479
  msgid "\"Add to Cart\" button"
480
  msgstr "Texte du bouton \"Ajouter au panier\""
481
 
482
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
483
  msgid "\"Style 1\" button"
484
  msgstr ""
485
 
486
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
487
  msgid "\"Style 2\" button"
488
  msgstr ""
489
 
490
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
491
  #, fuzzy
492
  msgid "Wishlist table"
493
  msgstr "Titre de la Wishlist"
494
 
495
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
496
  msgid "Headers"
497
  msgstr ""
498
 
499
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
500
  msgid "Background color"
501
  msgstr ""
502
 
503
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
504
  #, fuzzy
505
  msgid "Wishlist Activated"
506
  msgstr "Titre de la Wishlist"
507
 
508
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
509
  #, php-format
510
  msgid ""
511
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
514
  "options, <a href=\"%s\">discover it now</a>."
515
  msgstr ""
516
 
517
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
518
  #, fuzzy
519
  msgid "Wishlist Updated"
520
  msgstr "Page Wishlist"
521
 
522
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
523
  #, php-format
524
  msgid ""
525
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
529
  "\">discover the PREMIUM version.</a>"
530
  msgstr ""
531
 
532
+ #: ../includes/class.yith-wcwl-init.php:380
533
  msgid ""
534
  "We are sorry, but this feature is available only if cookies are enabled on "
535
  "your browser."
536
  msgstr ""
537
 
538
+ #: ../includes/class.yith-wcwl-init.php:381
539
  #, fuzzy
540
  msgid "Product correctly added to cart"
541
  msgstr "Produkt erfolgreich im Warenkorb eingefügt "
607
  msgid "An error as occurred."
608
  msgstr ""
609
 
610
+ #: ../init.php:135
611
  msgid ""
612
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
613
  "WooCommerce in order to work."
614
  msgstr ""
615
 
616
+ #: ../init.php:145
617
  msgid ""
618
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
619
  "are using the premium one."
871
  msgid "Google+"
872
  msgstr "Partager sur Google+"
873
 
874
+ #: ../templates/share.php:40
875
+ msgid "I wanted you to see this site"
876
+ msgstr ""
877
+
878
  #: ../templates/share.php:40
879
  msgid "Email"
880
  msgstr ""
languages/yith-woocommerce-wishlist-he_IL.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-he_IL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: he_IL\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "רשימת משאלות"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "הגדרות"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "צבעים"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr "עמוד רשימת המשאלות"
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr "תוכן העמוד: [yith_wcwl_wishlist]"
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr "הגדרות כלליות"
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr "אפשר שימוש ברשימת המשאלות של YITH"
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, fuzzy, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -111,272 +115,272 @@ msgstr ""
111
  "בהגדרות של WooCommerce &gt; Settings &gt; Pages.</strong> בנוסף, קרא את <a "
112
  "href=\"%s\" target=\"_blank\">הוראות השימוש</a> של התוסף."
113
 
114
- #: ../includes/class.yith-wcwl-admin-init.php:964
115
  #, fuzzy
116
  msgid "Default wishlist title"
117
  msgstr "כותרת רשימת משאלות"
118
 
119
- #: ../includes/class.yith-wcwl-admin-init.php:966
120
- #: ../includes/class.yith-wcwl-admin-init.php:967
121
- #: ../includes/class.yith-wcwl-admin-init.php:1226
122
- #: ../includes/class.yith-wcwl-admin-init.php:1227
123
  #, php-format
124
  msgid "My wishlist on %s"
125
  msgstr "רשימת המשאלות שלי ב-%s"
126
 
127
- #: ../includes/class.yith-wcwl-admin-init.php:975
128
  msgid "Position"
129
  msgstr "מיקום"
130
 
131
- #: ../includes/class.yith-wcwl-admin-init.php:976
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
134
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
135
  msgstr ""
136
 
137
- #: ../includes/class.yith-wcwl-admin-init.php:982
138
  msgid "After \"Add to cart\""
139
  msgstr "לאחר \"הוספה לסל\""
140
 
141
- #: ../includes/class.yith-wcwl-admin-init.php:983
142
  msgid "After thumbnails"
143
  msgstr "אחרי התמונות המוקטנות"
144
 
145
- #: ../includes/class.yith-wcwl-admin-init.php:984
146
  msgid "After summary"
147
  msgstr "אחרי תיאור מוצר"
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:985
150
  msgid "Use shortcode"
151
  msgstr "השתמש בקוד מקוצר"
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:990
154
  msgid "Redirect to cart"
155
  msgstr "הפנייה לסל הקניות"
156
 
157
- #: ../includes/class.yith-wcwl-admin-init.php:991
158
  msgid ""
159
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
160
  "page."
161
  msgstr ""
162
 
163
- #: ../includes/class.yith-wcwl-admin-init.php:998
164
  msgid "Remove if added to the cart"
165
  msgstr "הסר מהרשימה אם הוסף לסל"
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:999
168
  #, fuzzy
169
  msgid "Remove the product from the wishlist if it has been added to the cart."
170
  msgstr "הסר את המוצר מהרשימה אם הוא הוסף לסל."
171
 
172
- #: ../includes/class.yith-wcwl-admin-init.php:1006
173
  msgid "\"Add to Wishlist\" text"
174
  msgstr ""
175
 
176
- #: ../includes/class.yith-wcwl-admin-init.php:1008
177
- #: ../includes/class.yith-wcwl-admin-init.php:1009
178
  msgid "Add to Wishlist"
179
  msgstr "הוסף לרשימת המשאלות"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1014
182
  #, fuzzy
183
  msgid "\"Browse wishlist\" text"
184
  msgstr "צפה ברשימת השמורים שלך"
185
 
186
- #: ../includes/class.yith-wcwl-admin-init.php:1016
187
- #: ../includes/class.yith-wcwl-admin-init.php:1017
188
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
189
  msgid "Browse Wishlist"
190
  msgstr "צפה ברשימת השמורים שלך"
191
 
192
- #: ../includes/class.yith-wcwl-admin-init.php:1022
193
  #, fuzzy
194
  msgid "\"Product already in wishlist\" text"
195
  msgstr "המוצר עדיין נמצא ברשימת המשאלות שלך."
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1024
198
- #: ../includes/class.yith-wcwl-admin-init.php:1025
199
  #: ../includes/class.yith-wcwl-ui.php:82
200
  msgid "The product is already in the wishlist!"
201
  msgstr "המוצר נשמר."
202
 
203
- #: ../includes/class.yith-wcwl-admin-init.php:1030
204
  #, fuzzy
205
  msgid "\"Product added\" text"
206
  msgstr "המוצר נשמר!"
207
 
208
- #: ../includes/class.yith-wcwl-admin-init.php:1032
209
- #: ../includes/class.yith-wcwl-admin-init.php:1033
210
  #: ../includes/class.yith-wcwl-ui.php:81
211
  msgid "Product added!"
212
  msgstr "המוצר נשמר!"
213
 
214
- #: ../includes/class.yith-wcwl-admin-init.php:1038
215
  msgid "\"Add to Cart\" text"
216
  msgstr ""
217
 
218
- #: ../includes/class.yith-wcwl-admin-init.php:1040
219
- #: ../includes/class.yith-wcwl-admin-init.php:1041
220
  msgid "Add to Cart"
221
  msgstr "הוסף לסל"
222
 
223
- #: ../includes/class.yith-wcwl-admin-init.php:1046
224
  #, fuzzy
225
  msgid "Show Unit price"
226
  msgstr "מחיר ליחידה"
227
 
228
- #: ../includes/class.yith-wcwl-admin-init.php:1047
229
  msgid "Show unit price for each product in wishlist"
230
  msgstr ""
231
 
232
- #: ../includes/class.yith-wcwl-admin-init.php:1055
233
  #, fuzzy
234
  msgid "Show \"Add to Cart\" button"
235
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
236
 
237
- #: ../includes/class.yith-wcwl-admin-init.php:1056
238
  #, fuzzy
239
  msgid "Show \"Add to Cart\" button for each product in wishlist"
240
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
241
 
242
- #: ../includes/class.yith-wcwl-admin-init.php:1064
243
  #, fuzzy
244
  msgid "Show Stock status"
245
  msgstr "מצב מלאי"
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1065
248
  msgid ""
249
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
250
  msgstr ""
251
 
252
- #: ../includes/class.yith-wcwl-admin-init.php:1073
253
  msgid "Show Date of addition"
254
  msgstr ""
255
 
256
- #: ../includes/class.yith-wcwl-admin-init.php:1074
257
  #, fuzzy
258
  msgid "Show the date when users have added a product to the wishlist"
259
  msgstr "ארעה שגיאה בזמן הוספת המוצר לרשימה."
260
 
261
- #: ../includes/class.yith-wcwl-admin-init.php:1082
262
  #, fuzzy
263
  msgid "Add second remove button"
264
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
265
 
266
- #: ../includes/class.yith-wcwl-admin-init.php:1083
267
  msgid "Add a second remove button in the last column, with extended label"
268
  msgstr ""
269
 
270
- #: ../includes/class.yith-wcwl-admin-init.php:1106
271
  msgid "Styles"
272
  msgstr "סגנונות עיצוב"
273
 
274
- #: ../includes/class.yith-wcwl-admin-init.php:1113
275
  msgid "Use buttons"
276
  msgstr "השתמש בכפתורים"
277
 
278
- #: ../includes/class.yith-wcwl-admin-init.php:1114
279
  #, fuzzy
280
  msgid "Use buttons instead of simple anchors."
281
  msgstr "השתמש בכפתורים במקום קישורים רגילים."
282
 
283
- #: ../includes/class.yith-wcwl-admin-init.php:1121
284
  msgid "Custom CSS"
285
  msgstr "הכנס שורות CSS משלך"
286
 
287
- #: ../includes/class.yith-wcwl-admin-init.php:1129
288
  msgid "Use theme style"
289
  msgstr "השתמש בעיצוב של התבנית שלך"
290
 
291
- #: ../includes/class.yith-wcwl-admin-init.php:1130
292
  msgid "Use the theme style."
293
  msgstr "השתמש בעיצוב של תבנית האתר."
294
 
295
- #: ../includes/class.yith-wcwl-admin-init.php:1137
296
  #, fuzzy
297
  msgid "Rounded buttons"
298
  msgstr "השתמש בכפתורים"
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1138
301
  #, fuzzy
302
  msgid "Make button corners rounded"
303
  msgstr "הצג את הכפתורים עם פינות מעוגלות"
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1145
306
  msgid "\"Add to Wishlist\" icon"
307
  msgstr ""
308
 
309
- #: ../includes/class.yith-wcwl-admin-init.php:1146
310
  msgid "Add an icon to the \"Add to Wishlist\" button"
311
  msgstr ""
312
 
313
- #: ../includes/class.yith-wcwl-admin-init.php:1157
314
  msgid "\"Add to Cart\" icon"
315
  msgstr ""
316
 
317
- #: ../includes/class.yith-wcwl-admin-init.php:1158
318
  msgid "Add an icon to the \"Add to Cart\" button"
319
  msgstr ""
320
 
321
- #: ../includes/class.yith-wcwl-admin-init.php:1177
322
  msgid "Social Networks & Share"
323
  msgstr ""
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1184
326
  msgid "Share on Facebook"
327
  msgstr "שתף בפייסבוק"
328
 
329
- #: ../includes/class.yith-wcwl-admin-init.php:1185
330
  #, fuzzy
331
  msgid "Show \"Share on Facebook\" button"
332
  msgstr "שתף בפייסבוק"
333
 
334
- #: ../includes/class.yith-wcwl-admin-init.php:1192
335
  msgid "Tweet on Twitter"
336
  msgstr ""
337
 
338
- #: ../includes/class.yith-wcwl-admin-init.php:1193
339
  #, fuzzy
340
  msgid "Show \"Tweet on Twitter\" button"
341
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
342
 
343
- #: ../includes/class.yith-wcwl-admin-init.php:1200
344
  msgid "Pin on Pinterest"
345
  msgstr ""
346
 
347
- #: ../includes/class.yith-wcwl-admin-init.php:1201
348
  #, fuzzy
349
  msgid "Show \"Pin on Pinterest\" button"
350
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1208
353
  msgid "Share on Google+"
354
  msgstr "שתף בגוגל+"
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1209
357
  #, fuzzy
358
  msgid "Show \"Share on Google+\" button"
359
  msgstr "שתף בפייסבוק"
360
 
361
- #: ../includes/class.yith-wcwl-admin-init.php:1216
362
  msgid "Share by Email"
363
  msgstr ""
364
 
365
- #: ../includes/class.yith-wcwl-admin-init.php:1217
366
  #, fuzzy
367
  msgid "Show \"Share by Email\" button"
368
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
369
 
370
- #: ../includes/class.yith-wcwl-admin-init.php:1224
371
  #, fuzzy
372
  msgid "Social title"
373
  msgstr "כותרת רשימת משאלות"
374
 
375
- #: ../includes/class.yith-wcwl-admin-init.php:1232
376
  msgid "Social text"
377
  msgstr ""
378
 
379
- #: ../includes/class.yith-wcwl-admin-init.php:1233
380
  #, fuzzy
381
  msgid ""
382
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -385,114 +389,114 @@ msgstr ""
385
  "יעשה שימוש על ידי Facebook, Twitter וגם Pinterest. השתמש ב-<strong>"
386
  "%wishlist_url%</strong> היכן שתרצה את ה-URL של רשימת המשאלות שלך שיופיע."
387
 
388
- #: ../includes/class.yith-wcwl-admin-init.php:1241
389
  msgid "Social image URL"
390
  msgstr ""
391
 
392
- #: ../includes/class.yith-wcwl-admin-init.php:1256
393
  #, php-format
394
  msgid ""
395
  "If you want to take advantage of this feature, you could consider to "
396
  "purchase the %s."
397
  msgstr ""
398
 
399
- #: ../includes/class.yith-wcwl-admin-init.php:1261
400
  msgid "YITH WooCommerce Frequently Bought Together Integration"
401
  msgstr ""
402
 
403
- #: ../includes/class.yith-wcwl-admin-init.php:1268
404
  msgid "Enable slider in wishlist"
405
  msgstr ""
406
 
407
- #: ../includes/class.yith-wcwl-admin-init.php:1269
408
  #, php-format
409
  msgid ""
410
  "Choose to enable product slider in wishlist page with linked products (<a "
411
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
412
  msgstr ""
413
 
414
- #: ../includes/class.yith-wcwl-admin-init.php:1306
415
  #, fuzzy
416
  msgid "\"Add to wishlist\" button"
417
  msgstr "הוסף לרשימת המשאלות"
418
 
419
- #: ../includes/class.yith-wcwl-admin-init.php:1309
420
- #: ../includes/class.yith-wcwl-admin-init.php:1327
421
- #: ../includes/class.yith-wcwl-admin-init.php:1345
422
- #: ../includes/class.yith-wcwl-admin-init.php:1363
423
- #: ../includes/class.yith-wcwl-admin-init.php:1381
424
- msgid "Background"
425
- msgstr ""
426
-
427
  #: ../includes/class.yith-wcwl-admin-init.php:1310
428
  #: ../includes/class.yith-wcwl-admin-init.php:1328
429
  #: ../includes/class.yith-wcwl-admin-init.php:1346
430
  #: ../includes/class.yith-wcwl-admin-init.php:1364
431
- #: ../includes/class.yith-wcwl-admin-init.php:1382
432
- msgid "Text"
433
  msgstr ""
434
 
 
435
  #: ../includes/class.yith-wcwl-admin-init.php:1311
436
  #: ../includes/class.yith-wcwl-admin-init.php:1329
437
  #: ../includes/class.yith-wcwl-admin-init.php:1347
438
  #: ../includes/class.yith-wcwl-admin-init.php:1365
439
- #: ../includes/class.yith-wcwl-admin-init.php:1383
440
- msgid "Border"
441
  msgstr ""
442
 
443
- #: ../includes/class.yith-wcwl-admin-init.php:1318
444
- #: ../includes/class.yith-wcwl-admin-init.php:1336
445
- #: ../includes/class.yith-wcwl-admin-init.php:1354
446
- #: ../includes/class.yith-wcwl-admin-init.php:1372
447
- msgid "Background (hover)"
 
448
  msgstr ""
449
 
 
450
  #: ../includes/class.yith-wcwl-admin-init.php:1319
451
  #: ../includes/class.yith-wcwl-admin-init.php:1337
452
  #: ../includes/class.yith-wcwl-admin-init.php:1355
453
- #: ../includes/class.yith-wcwl-admin-init.php:1373
454
- msgid "Text (hover)"
455
  msgstr ""
456
 
 
457
  #: ../includes/class.yith-wcwl-admin-init.php:1320
458
  #: ../includes/class.yith-wcwl-admin-init.php:1338
459
  #: ../includes/class.yith-wcwl-admin-init.php:1356
460
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
461
  msgid "Border (hover)"
462
  msgstr ""
463
 
464
- #: ../includes/class.yith-wcwl-admin-init.php:1324
465
  #, fuzzy
466
  msgid "\"Add to Cart\" button"
467
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
468
 
469
- #: ../includes/class.yith-wcwl-admin-init.php:1342
470
  msgid "\"Style 1\" button"
471
  msgstr ""
472
 
473
- #: ../includes/class.yith-wcwl-admin-init.php:1360
474
  msgid "\"Style 2\" button"
475
  msgstr ""
476
 
477
- #: ../includes/class.yith-wcwl-admin-init.php:1378
478
  #, fuzzy
479
  msgid "Wishlist table"
480
  msgstr "כותרת רשימת משאלות"
481
 
482
- #: ../includes/class.yith-wcwl-admin-init.php:1387
483
  msgid "Headers"
484
  msgstr ""
485
 
486
- #: ../includes/class.yith-wcwl-admin-init.php:1390
487
  msgid "Background color"
488
  msgstr ""
489
 
490
- #: ../includes/class.yith-wcwl-admin-init.php:1480
491
  #, fuzzy
492
  msgid "Wishlist Activated"
493
  msgstr "כותרת רשימת משאלות"
494
 
495
- #: ../includes/class.yith-wcwl-admin-init.php:1481
496
  #, php-format
497
  msgid ""
498
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -501,12 +505,12 @@ msgid ""
501
  "options, <a href=\"%s\">discover it now</a>."
502
  msgstr ""
503
 
504
- #: ../includes/class.yith-wcwl-admin-init.php:1492
505
  #, fuzzy
506
  msgid "Wishlist Updated"
507
  msgstr "עמוד רשימת המשאלות"
508
 
509
- #: ../includes/class.yith-wcwl-admin-init.php:1493
510
  #, php-format
511
  msgid ""
512
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -516,13 +520,13 @@ msgid ""
516
  "\">discover the PREMIUM version.</a>"
517
  msgstr ""
518
 
519
- #: ../includes/class.yith-wcwl-init.php:361
520
  msgid ""
521
  "We are sorry, but this feature is available only if cookies are enabled on "
522
  "your browser."
523
  msgstr ""
524
 
525
- #: ../includes/class.yith-wcwl-init.php:362
526
  #, fuzzy
527
  msgid "Product correctly added to cart"
528
  msgstr ".המוצר הוסף לרשימה בהצלחה"
@@ -593,13 +597,13 @@ msgstr "אין מוצרים ברשימת המשאלות שלך."
593
  msgid "An error as occurred."
594
  msgstr ""
595
 
596
- #: ../init.php:133
597
  msgid ""
598
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
599
  "WooCommerce in order to work."
600
  msgstr ""
601
 
602
- #: ../init.php:143
603
  msgid ""
604
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
605
  "are using the premium one."
@@ -856,6 +860,10 @@ msgstr ""
856
  msgid "Google+"
857
  msgstr "שתף בגוגל+"
858
 
 
 
 
 
859
  #: ../templates/share.php:40
860
  msgid "Email"
861
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:28+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: he_IL\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "רשימת משאלות"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "הגדרות"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "צבעים"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr "עמוד רשימת המשאלות"
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr "תוכן העמוד: [yith_wcwl_wishlist]"
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr "הגדרות כלליות"
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr "אפשר שימוש ברשימת המשאלות של YITH"
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, fuzzy, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
115
  "בהגדרות של WooCommerce &gt; Settings &gt; Pages.</strong> בנוסף, קרא את <a "
116
  "href=\"%s\" target=\"_blank\">הוראות השימוש</a> של התוסף."
117
 
118
+ #: ../includes/class.yith-wcwl-admin-init.php:947
119
  #, fuzzy
120
  msgid "Default wishlist title"
121
  msgstr "כותרת רשימת משאלות"
122
 
123
+ #: ../includes/class.yith-wcwl-admin-init.php:949
124
+ #: ../includes/class.yith-wcwl-admin-init.php:950
125
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
126
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
127
  #, php-format
128
  msgid "My wishlist on %s"
129
  msgstr "רשימת המשאלות שלי ב-%s"
130
 
131
+ #: ../includes/class.yith-wcwl-admin-init.php:958
132
  msgid "Position"
133
  msgstr "מיקום"
134
 
135
+ #: ../includes/class.yith-wcwl-admin-init.php:959
136
  msgid ""
137
  "You can add the button in variable products only after the \"Add to Cart\" "
138
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
139
  msgstr ""
140
 
141
+ #: ../includes/class.yith-wcwl-admin-init.php:965
142
  msgid "After \"Add to cart\""
143
  msgstr "לאחר \"הוספה לסל\""
144
 
145
+ #: ../includes/class.yith-wcwl-admin-init.php:966
146
  msgid "After thumbnails"
147
  msgstr "אחרי התמונות המוקטנות"
148
 
149
+ #: ../includes/class.yith-wcwl-admin-init.php:967
150
  msgid "After summary"
151
  msgstr "אחרי תיאור מוצר"
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:968
154
  msgid "Use shortcode"
155
  msgstr "השתמש בקוד מקוצר"
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:973
158
  msgid "Redirect to cart"
159
  msgstr "הפנייה לסל הקניות"
160
 
161
+ #: ../includes/class.yith-wcwl-admin-init.php:974
162
  msgid ""
163
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
164
  "page."
165
  msgstr ""
166
 
167
+ #: ../includes/class.yith-wcwl-admin-init.php:981
168
  msgid "Remove if added to the cart"
169
  msgstr "הסר מהרשימה אם הוסף לסל"
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:982
172
  #, fuzzy
173
  msgid "Remove the product from the wishlist if it has been added to the cart."
174
  msgstr "הסר את המוצר מהרשימה אם הוא הוסף לסל."
175
 
176
+ #: ../includes/class.yith-wcwl-admin-init.php:989
177
  msgid "\"Add to Wishlist\" text"
178
  msgstr ""
179
 
180
+ #: ../includes/class.yith-wcwl-admin-init.php:991
181
+ #: ../includes/class.yith-wcwl-admin-init.php:992
182
  msgid "Add to Wishlist"
183
  msgstr "הוסף לרשימת המשאלות"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:997
186
  #, fuzzy
187
  msgid "\"Browse wishlist\" text"
188
  msgstr "צפה ברשימת השמורים שלך"
189
 
190
+ #: ../includes/class.yith-wcwl-admin-init.php:999
191
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
192
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
193
  msgid "Browse Wishlist"
194
  msgstr "צפה ברשימת השמורים שלך"
195
 
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
197
  #, fuzzy
198
  msgid "\"Product already in wishlist\" text"
199
  msgstr "המוצר עדיין נמצא ברשימת המשאלות שלך."
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
202
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
203
  #: ../includes/class.yith-wcwl-ui.php:82
204
  msgid "The product is already in the wishlist!"
205
  msgstr "המוצר נשמר."
206
 
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
208
  #, fuzzy
209
  msgid "\"Product added\" text"
210
  msgstr "המוצר נשמר!"
211
 
212
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
214
  #: ../includes/class.yith-wcwl-ui.php:81
215
  msgid "Product added!"
216
  msgstr "המוצר נשמר!"
217
 
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
219
  msgid "\"Add to Cart\" text"
220
  msgstr ""
221
 
222
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
224
  msgid "Add to Cart"
225
  msgstr "הוסף לסל"
226
 
227
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
228
  #, fuzzy
229
  msgid "Show Unit price"
230
  msgstr "מחיר ליחידה"
231
 
232
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
233
  msgid "Show unit price for each product in wishlist"
234
  msgstr ""
235
 
236
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
237
  #, fuzzy
238
  msgid "Show \"Add to Cart\" button"
239
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
240
 
241
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
242
  #, fuzzy
243
  msgid "Show \"Add to Cart\" button for each product in wishlist"
244
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
245
 
246
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
247
  #, fuzzy
248
  msgid "Show Stock status"
249
  msgstr "מצב מלאי"
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
252
  msgid ""
253
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
254
  msgstr ""
255
 
256
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
257
  msgid "Show Date of addition"
258
  msgstr ""
259
 
260
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
261
  #, fuzzy
262
  msgid "Show the date when users have added a product to the wishlist"
263
  msgstr "ארעה שגיאה בזמן הוספת המוצר לרשימה."
264
 
265
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
266
  #, fuzzy
267
  msgid "Add second remove button"
268
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
269
 
270
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
271
  msgid "Add a second remove button in the last column, with extended label"
272
  msgstr ""
273
 
274
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
275
  msgid "Styles"
276
  msgstr "סגנונות עיצוב"
277
 
278
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
279
  msgid "Use buttons"
280
  msgstr "השתמש בכפתורים"
281
 
282
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
283
  #, fuzzy
284
  msgid "Use buttons instead of simple anchors."
285
  msgstr "השתמש בכפתורים במקום קישורים רגילים."
286
 
287
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
288
  msgid "Custom CSS"
289
  msgstr "הכנס שורות CSS משלך"
290
 
291
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
292
  msgid "Use theme style"
293
  msgstr "השתמש בעיצוב של התבנית שלך"
294
 
295
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
296
  msgid "Use the theme style."
297
  msgstr "השתמש בעיצוב של תבנית האתר."
298
 
299
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
300
  #, fuzzy
301
  msgid "Rounded buttons"
302
  msgstr "השתמש בכפתורים"
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
305
  #, fuzzy
306
  msgid "Make button corners rounded"
307
  msgstr "הצג את הכפתורים עם פינות מעוגלות"
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
310
  msgid "\"Add to Wishlist\" icon"
311
  msgstr ""
312
 
313
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
314
  msgid "Add an icon to the \"Add to Wishlist\" button"
315
  msgstr ""
316
 
317
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
318
  msgid "\"Add to Cart\" icon"
319
  msgstr ""
320
 
321
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
322
  msgid "Add an icon to the \"Add to Cart\" button"
323
  msgstr ""
324
 
325
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
326
  msgid "Social Networks & Share"
327
  msgstr ""
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
330
  msgid "Share on Facebook"
331
  msgstr "שתף בפייסבוק"
332
 
333
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
334
  #, fuzzy
335
  msgid "Show \"Share on Facebook\" button"
336
  msgstr "שתף בפייסבוק"
337
 
338
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
339
  msgid "Tweet on Twitter"
340
  msgstr ""
341
 
342
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
343
  #, fuzzy
344
  msgid "Show \"Tweet on Twitter\" button"
345
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
346
 
347
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
348
  msgid "Pin on Pinterest"
349
  msgstr ""
350
 
351
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
352
  #, fuzzy
353
  msgid "Show \"Pin on Pinterest\" button"
354
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
357
  msgid "Share on Google+"
358
  msgstr "שתף בגוגל+"
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
361
  #, fuzzy
362
  msgid "Show \"Share on Google+\" button"
363
  msgstr "שתף בפייסבוק"
364
 
365
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
366
  msgid "Share by Email"
367
  msgstr ""
368
 
369
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
370
  #, fuzzy
371
  msgid "Show \"Share by Email\" button"
372
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
373
 
374
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
375
  #, fuzzy
376
  msgid "Social title"
377
  msgstr "כותרת רשימת משאלות"
378
 
379
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
380
  msgid "Social text"
381
  msgstr ""
382
 
383
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
384
  #, fuzzy
385
  msgid ""
386
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
389
  "יעשה שימוש על ידי Facebook, Twitter וגם Pinterest. השתמש ב-<strong>"
390
  "%wishlist_url%</strong> היכן שתרצה את ה-URL של רשימת המשאלות שלך שיופיע."
391
 
392
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
393
  msgid "Social image URL"
394
  msgstr ""
395
 
396
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
397
  #, php-format
398
  msgid ""
399
  "If you want to take advantage of this feature, you could consider to "
400
  "purchase the %s."
401
  msgstr ""
402
 
403
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
404
  msgid "YITH WooCommerce Frequently Bought Together Integration"
405
  msgstr ""
406
 
407
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
408
  msgid "Enable slider in wishlist"
409
  msgstr ""
410
 
411
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
412
  #, php-format
413
  msgid ""
414
  "Choose to enable product slider in wishlist page with linked products (<a "
415
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
416
  msgstr ""
417
 
418
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
419
  #, fuzzy
420
  msgid "\"Add to wishlist\" button"
421
  msgstr "הוסף לרשימת המשאלות"
422
 
423
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
424
  #: ../includes/class.yith-wcwl-admin-init.php:1310
425
  #: ../includes/class.yith-wcwl-admin-init.php:1328
426
  #: ../includes/class.yith-wcwl-admin-init.php:1346
427
  #: ../includes/class.yith-wcwl-admin-init.php:1364
428
+ msgid "Background"
 
429
  msgstr ""
430
 
431
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
432
  #: ../includes/class.yith-wcwl-admin-init.php:1311
433
  #: ../includes/class.yith-wcwl-admin-init.php:1329
434
  #: ../includes/class.yith-wcwl-admin-init.php:1347
435
  #: ../includes/class.yith-wcwl-admin-init.php:1365
436
+ msgid "Text"
 
437
  msgstr ""
438
 
439
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
441
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
442
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
443
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
444
+ msgid "Border"
445
  msgstr ""
446
 
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
448
  #: ../includes/class.yith-wcwl-admin-init.php:1319
449
  #: ../includes/class.yith-wcwl-admin-init.php:1337
450
  #: ../includes/class.yith-wcwl-admin-init.php:1355
451
+ msgid "Background (hover)"
 
452
  msgstr ""
453
 
454
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
455
  #: ../includes/class.yith-wcwl-admin-init.php:1320
456
  #: ../includes/class.yith-wcwl-admin-init.php:1338
457
  #: ../includes/class.yith-wcwl-admin-init.php:1356
458
+ msgid "Text (hover)"
459
+ msgstr ""
460
+
461
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
463
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
464
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
465
  msgid "Border (hover)"
466
  msgstr ""
467
 
468
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
469
  #, fuzzy
470
  msgid "\"Add to Cart\" button"
471
  msgstr "\"הוסף לסל\" כפתור טקסט (hover)"
472
 
473
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
474
  msgid "\"Style 1\" button"
475
  msgstr ""
476
 
477
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
478
  msgid "\"Style 2\" button"
479
  msgstr ""
480
 
481
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
482
  #, fuzzy
483
  msgid "Wishlist table"
484
  msgstr "כותרת רשימת משאלות"
485
 
486
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
487
  msgid "Headers"
488
  msgstr ""
489
 
490
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
491
  msgid "Background color"
492
  msgstr ""
493
 
494
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
495
  #, fuzzy
496
  msgid "Wishlist Activated"
497
  msgstr "כותרת רשימת משאלות"
498
 
499
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
500
  #, php-format
501
  msgid ""
502
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
505
  "options, <a href=\"%s\">discover it now</a>."
506
  msgstr ""
507
 
508
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
509
  #, fuzzy
510
  msgid "Wishlist Updated"
511
  msgstr "עמוד רשימת המשאלות"
512
 
513
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
514
  #, php-format
515
  msgid ""
516
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
520
  "\">discover the PREMIUM version.</a>"
521
  msgstr ""
522
 
523
+ #: ../includes/class.yith-wcwl-init.php:380
524
  msgid ""
525
  "We are sorry, but this feature is available only if cookies are enabled on "
526
  "your browser."
527
  msgstr ""
528
 
529
+ #: ../includes/class.yith-wcwl-init.php:381
530
  #, fuzzy
531
  msgid "Product correctly added to cart"
532
  msgstr ".המוצר הוסף לרשימה בהצלחה"
597
  msgid "An error as occurred."
598
  msgstr ""
599
 
600
+ #: ../init.php:135
601
  msgid ""
602
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
603
  "WooCommerce in order to work."
604
  msgstr ""
605
 
606
+ #: ../init.php:145
607
  msgid ""
608
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
609
  "are using the premium one."
860
  msgid "Google+"
861
  msgstr "שתף בגוגל+"
862
 
863
+ #: ../templates/share.php:40
864
+ msgid "I wanted you to see this site"
865
+ msgstr ""
866
+
867
  #: ../templates/share.php:40
868
  msgid "Email"
869
  msgstr ""
languages/yith-woocommerce-wishlist-it_IT.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: it_IT\n"
@@ -19,29 +19,33 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Wishlist"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "Impostazioni"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "Colori"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr "Versione premium"
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
@@ -49,36 +53,36 @@ msgstr ""
49
  "ATTENZIONE: Questo plugin richiede almeno la versione 2.2 di WooCommerce! "
50
  "Aggiornalo da qui."
51
 
52
- #: ../includes/class.yith-wcwl-admin-init.php:329
53
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
54
  msgstr ""
55
  "ATTENZIONE: Questo plugin richiede almeno la versione 2.2 di WooCommerce!"
56
 
57
- #: ../includes/class.yith-wcwl-admin-init.php:334
58
  msgid "Plugin Documentation"
59
  msgstr "Documentazione plugin"
60
 
61
- #: ../includes/class.yith-wcwl-admin-init.php:350
62
  msgid "Wishlist Page"
63
  msgstr "Pagina Wishlist"
64
 
65
- #: ../includes/class.yith-wcwl-admin-init.php:351
66
  msgid "Page contents: [yith_wcwl_wishlist]"
67
  msgstr "Contenuti pagina: [yith_wcwl_wishlist]"
68
 
69
- #: ../includes/class.yith-wcwl-admin-init.php:926
70
  msgid "Upgrade to the PREMIUM VERSION"
71
  msgstr "Aggiorna alla VERSIONE PREMIUM"
72
 
73
- #: ../includes/class.yith-wcwl-admin-init.php:929
74
  msgid "YITH WooCommerce Wishlist"
75
  msgstr "YITH WooCommerce Wishlist"
76
 
77
- #: ../includes/class.yith-wcwl-admin-init.php:930
78
  msgid "Discover the Advanced Features"
79
  msgstr "Scopri le funzionalità avanzate"
80
 
81
- #: ../includes/class.yith-wcwl-admin-init.php:931
82
  msgid ""
83
  "Upgrade to the PREMIUM VERSION\n"
84
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
@@ -86,11 +90,11 @@ msgstr ""
86
  "Aggiorna alla VERSIONE PREMIUM\n"
87
  "di YITH WOOCOMMERCE WISHLIST per usufruire di tutte le funzionalità!"
88
 
89
- #: ../includes/class.yith-wcwl-admin-init.php:938
90
  msgid "Get Support and Pro Features"
91
  msgstr "Ottieni supporto e funzionalità premium"
92
 
93
- #: ../includes/class.yith-wcwl-admin-init.php:939
94
  msgid ""
95
  "By purchasing the premium version of the plugin, you will take advantage of "
96
  "the advanced features of the product and you will get one year of free "
@@ -101,15 +105,15 @@ msgstr ""
101
  "aggiornamenti gratuiti e di supporto tramite la nostra piattaforma "
102
  "disponibile 24h/24."
103
 
104
- #: ../includes/class.yith-wcwl-admin-init.php:949
105
  msgid "General Settings"
106
  msgstr "Impostazioni generali"
107
 
108
- #: ../includes/class.yith-wcwl-admin-init.php:956
109
  msgid "Enable YITH Wishlist"
110
  msgstr "Abilita YITH Wishlist"
111
 
112
- #: ../includes/class.yith-wcwl-admin-init.php:957
113
  #, php-format
114
  msgid ""
115
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -121,23 +125,23 @@ msgstr ""
121
  "Inoltre, non dimenticare di leggere la <a href=\"%s\" target=\"_blank"
122
  "\">documentazione</a> del plugin."
123
 
124
- #: ../includes/class.yith-wcwl-admin-init.php:964
125
  msgid "Default wishlist title"
126
  msgstr "Titolo di default della lista dei desideri"
127
 
128
- #: ../includes/class.yith-wcwl-admin-init.php:966
129
- #: ../includes/class.yith-wcwl-admin-init.php:967
130
- #: ../includes/class.yith-wcwl-admin-init.php:1226
131
- #: ../includes/class.yith-wcwl-admin-init.php:1227
132
  #, php-format
133
  msgid "My wishlist on %s"
134
  msgstr "La mia lista dei desideri su %s"
135
 
136
- #: ../includes/class.yith-wcwl-admin-init.php:975
137
  msgid "Position"
138
  msgstr "Posizione"
139
 
140
- #: ../includes/class.yith-wcwl-admin-init.php:976
141
  msgid ""
142
  "You can add the button in variable products only after the \"Add to Cart\" "
143
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
@@ -146,27 +150,27 @@ msgstr ""
146
  "\"Aggiungi al carrello\" oppure utilizza lo shortcode "
147
  "[yith_wcwl_add_to_wishlist]."
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:982
150
  msgid "After \"Add to cart\""
151
  msgstr "Dopo \"Aggiungi al carrello\""
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:983
154
  msgid "After thumbnails"
155
  msgstr "Dopo thumbnail"
156
 
157
- #: ../includes/class.yith-wcwl-admin-init.php:984
158
  msgid "After summary"
159
  msgstr "Dopo sommario"
160
 
161
- #: ../includes/class.yith-wcwl-admin-init.php:985
162
  msgid "Use shortcode"
163
  msgstr "Utilizza lo shortcode"
164
 
165
- #: ../includes/class.yith-wcwl-admin-init.php:990
166
  msgid "Redirect to cart"
167
  msgstr "Riporta al carrello"
168
 
169
- #: ../includes/class.yith-wcwl-admin-init.php:991
170
  msgid ""
171
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
172
  "page."
@@ -174,214 +178,214 @@ msgstr ""
174
  "Porta al carrello se viene cliccato il pulsante \"Aggiungi al carrello\" "
175
  "nella pagina Lista dei desideri. "
176
 
177
- #: ../includes/class.yith-wcwl-admin-init.php:998
178
  msgid "Remove if added to the cart"
179
  msgstr "Rimuovi se aggiunto al carrello"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:999
182
  msgid "Remove the product from the wishlist if it has been added to the cart."
183
  msgstr ""
184
  "Rimuovi il prodotto dalla lista dei desideri se è stato aggiunto al carrello."
185
 
186
- #: ../includes/class.yith-wcwl-admin-init.php:1006
187
  msgid "\"Add to Wishlist\" text"
188
  msgstr "Testo per \"Aggiungi alla lista dei desideri\""
189
 
190
- #: ../includes/class.yith-wcwl-admin-init.php:1008
191
- #: ../includes/class.yith-wcwl-admin-init.php:1009
192
  msgid "Add to Wishlist"
193
  msgstr "Aggiungi alla lista dei desideri"
194
 
195
- #: ../includes/class.yith-wcwl-admin-init.php:1014
196
  msgid "\"Browse wishlist\" text"
197
  msgstr "Testo per \"Sfoglia la lista dei desideri\""
198
 
199
- #: ../includes/class.yith-wcwl-admin-init.php:1016
200
- #: ../includes/class.yith-wcwl-admin-init.php:1017
201
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
202
  msgid "Browse Wishlist"
203
  msgstr "Sfoglia la lista dei desideri"
204
 
205
- #: ../includes/class.yith-wcwl-admin-init.php:1022
206
  msgid "\"Product already in wishlist\" text"
207
  msgstr "Testo per \"Articolo già presente nella lista dei desideri\""
208
 
209
- #: ../includes/class.yith-wcwl-admin-init.php:1024
210
- #: ../includes/class.yith-wcwl-admin-init.php:1025
211
  #: ../includes/class.yith-wcwl-ui.php:82
212
  msgid "The product is already in the wishlist!"
213
  msgstr "L'articolo selezionato è già presente nella tua lista dei desideri!"
214
 
215
- #: ../includes/class.yith-wcwl-admin-init.php:1030
216
  msgid "\"Product added\" text"
217
  msgstr "Testo per \"Articolo aggiunto\""
218
 
219
- #: ../includes/class.yith-wcwl-admin-init.php:1032
220
- #: ../includes/class.yith-wcwl-admin-init.php:1033
221
  #: ../includes/class.yith-wcwl-ui.php:81
222
  msgid "Product added!"
223
  msgstr "Articolo aggiunto!"
224
 
225
- #: ../includes/class.yith-wcwl-admin-init.php:1038
226
  msgid "\"Add to Cart\" text"
227
  msgstr "Testo per \"Aggiungi al carrello\""
228
 
229
- #: ../includes/class.yith-wcwl-admin-init.php:1040
230
- #: ../includes/class.yith-wcwl-admin-init.php:1041
231
  msgid "Add to Cart"
232
  msgstr "Aggiungi al carrello"
233
 
234
- #: ../includes/class.yith-wcwl-admin-init.php:1046
235
  msgid "Show Unit price"
236
  msgstr "Mostra prezzo unitario"
237
 
238
- #: ../includes/class.yith-wcwl-admin-init.php:1047
239
  msgid "Show unit price for each product in wishlist"
240
  msgstr ""
241
  "Mostra prezzo unitario per ogni prodotto aggiunto alla lista dei desideri"
242
 
243
- #: ../includes/class.yith-wcwl-admin-init.php:1055
244
  msgid "Show \"Add to Cart\" button"
245
  msgstr "Mostra pulsante \"Aggiungi al carrello\""
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1056
248
  msgid "Show \"Add to Cart\" button for each product in wishlist"
249
  msgstr ""
250
  "Mostra pulsante \"Aggiungi al carrello\" per ogni prodotto presente nella "
251
  "lista dei desideri"
252
 
253
- #: ../includes/class.yith-wcwl-admin-init.php:1064
254
  msgid "Show Stock status"
255
  msgstr "Mostra stato del prodotto"
256
 
257
- #: ../includes/class.yith-wcwl-admin-init.php:1065
258
  msgid ""
259
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
260
  msgstr ""
261
  "Mostra stato (\"Disponibile\" o \"Esaurito\") per ciascun prodotto nella "
262
  "lista dei desideri"
263
 
264
- #: ../includes/class.yith-wcwl-admin-init.php:1073
265
  msgid "Show Date of addition"
266
  msgstr "Mostra data di aggiunta"
267
 
268
- #: ../includes/class.yith-wcwl-admin-init.php:1074
269
  msgid "Show the date when users have added a product to the wishlist"
270
  msgstr ""
271
  "Mostra la data in cui gli utenti hanno aggiunto l'articolo alla lista dei "
272
  "desideri"
273
 
274
- #: ../includes/class.yith-wcwl-admin-init.php:1082
275
  msgid "Add second remove button"
276
  msgstr "Aggiungi secondo pulsante \"Rimuovi\""
277
 
278
- #: ../includes/class.yith-wcwl-admin-init.php:1083
279
  msgid "Add a second remove button in the last column, with extended label"
280
  msgstr ""
281
  "Aggiungi un secondo pulsante \"Rimuovi\" con etichetta estesa nell'ultima "
282
  "colonna"
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1106
285
  msgid "Styles"
286
  msgstr "Stili"
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1113
289
  msgid "Use buttons"
290
  msgstr "Utilizza pulsanti"
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1114
293
  msgid "Use buttons instead of simple anchors."
294
  msgstr "Utilizza pulsanti invece che link"
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1121
297
  msgid "Custom CSS"
298
  msgstr "Personalizza CSS"
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1129
301
  msgid "Use theme style"
302
  msgstr "Utilizza lo stile del tema"
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1130
305
  msgid "Use the theme style."
306
  msgstr "Utilizza lo stile del tema"
307
 
308
- #: ../includes/class.yith-wcwl-admin-init.php:1137
309
  msgid "Rounded buttons"
310
  msgstr "Pulsanti arrotondati"
311
 
312
- #: ../includes/class.yith-wcwl-admin-init.php:1138
313
  msgid "Make button corners rounded"
314
  msgstr "Arrotonda gli angoli dei pulsanti"
315
 
316
- #: ../includes/class.yith-wcwl-admin-init.php:1145
317
  msgid "\"Add to Wishlist\" icon"
318
  msgstr "Icona per \"Aggiungi alla lista dei desideri\""
319
 
320
- #: ../includes/class.yith-wcwl-admin-init.php:1146
321
  msgid "Add an icon to the \"Add to Wishlist\" button"
322
  msgstr "Aggiungi un'icon al pulsante \"Aggiungi alla lista dei desideri\""
323
 
324
- #: ../includes/class.yith-wcwl-admin-init.php:1157
325
  msgid "\"Add to Cart\" icon"
326
  msgstr "Icona per \"Aggiungi al carrello\""
327
 
328
- #: ../includes/class.yith-wcwl-admin-init.php:1158
329
  msgid "Add an icon to the \"Add to Cart\" button"
330
  msgstr "Aggiungi un'icona al pulsante \"Aggiungi al carrello\""
331
 
332
- #: ../includes/class.yith-wcwl-admin-init.php:1177
333
  msgid "Social Networks & Share"
334
  msgstr "Social network e condivisione"
335
 
336
- #: ../includes/class.yith-wcwl-admin-init.php:1184
337
  msgid "Share on Facebook"
338
  msgstr "Condividi su Facebook"
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1185
341
  msgid "Show \"Share on Facebook\" button"
342
  msgstr "Mostra pulsante \"Condividi su Facebook\""
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1192
345
  msgid "Tweet on Twitter"
346
  msgstr "Condividi su Twitter"
347
 
348
- #: ../includes/class.yith-wcwl-admin-init.php:1193
349
  msgid "Show \"Tweet on Twitter\" button"
350
  msgstr "Mostra pulsante \"Condividi su Twitter\""
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1200
353
  msgid "Pin on Pinterest"
354
  msgstr "Condividi su Pinterest"
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1201
357
  msgid "Show \"Pin on Pinterest\" button"
358
  msgstr "Mostra pulsante\"Condividi su Pinterest\""
359
 
360
- #: ../includes/class.yith-wcwl-admin-init.php:1208
361
  msgid "Share on Google+"
362
  msgstr "Condividi su Google+"
363
 
364
- #: ../includes/class.yith-wcwl-admin-init.php:1209
365
  msgid "Show \"Share on Google+\" button"
366
  msgstr "Mostra pulsante \"Condividi su Google+\""
367
 
368
- #: ../includes/class.yith-wcwl-admin-init.php:1216
369
  msgid "Share by Email"
370
  msgstr "Condividi per email"
371
 
372
- #: ../includes/class.yith-wcwl-admin-init.php:1217
373
  msgid "Show \"Share by Email\" button"
374
  msgstr "Mostra pulsante \"Condividi per email\""
375
 
376
- #: ../includes/class.yith-wcwl-admin-init.php:1224
377
  msgid "Social title"
378
  msgstr "Nome per i social"
379
 
380
- #: ../includes/class.yith-wcwl-admin-init.php:1232
381
  msgid "Social text"
382
  msgstr "Testo per i social"
383
 
384
- #: ../includes/class.yith-wcwl-admin-init.php:1233
385
  msgid ""
386
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
387
  "%</strong> where you want to show the URL of your wishlist."
@@ -390,26 +394,26 @@ msgstr ""
390
  "%wishlist_url%</strong> per mostrare dove vuoi l'URL della tua lista dei "
391
  "desideri."
392
 
393
- #: ../includes/class.yith-wcwl-admin-init.php:1241
394
  msgid "Social image URL"
395
  msgstr "URL per immagine social"
396
 
397
- #: ../includes/class.yith-wcwl-admin-init.php:1256
398
  #, php-format
399
  msgid ""
400
  "If you want to take advantage of this feature, you could consider to "
401
  "purchase the %s."
402
  msgstr "Se vuoi usufruire di questa funzionalità puoi acquistare l'%s."
403
 
404
- #: ../includes/class.yith-wcwl-admin-init.php:1261
405
  msgid "YITH WooCommerce Frequently Bought Together Integration"
406
  msgstr "Integrazione con YITH WooCommerce Frequently Bought Together"
407
 
408
- #: ../includes/class.yith-wcwl-admin-init.php:1268
409
  msgid "Enable slider in wishlist"
410
  msgstr "Abilita lo slider nella lista dei desideri"
411
 
412
- #: ../includes/class.yith-wcwl-admin-init.php:1269
413
  #, php-format
414
  msgid ""
415
  "Choose to enable product slider in wishlist page with linked products (<a "
@@ -418,84 +422,84 @@ msgstr ""
418
  "Scegli se abilitare lo slider prodotti nella pagina lista dei desideri con "
419
  "prodotti collegati (<a href=\"%s\" class=\"thickbox\">Esempio</a>). %s"
420
 
421
- #: ../includes/class.yith-wcwl-admin-init.php:1306
422
  msgid "\"Add to wishlist\" button"
423
  msgstr "Pulsante \"Aggiungi alla lista dei desideri\""
424
 
425
- #: ../includes/class.yith-wcwl-admin-init.php:1309
426
- #: ../includes/class.yith-wcwl-admin-init.php:1327
427
- #: ../includes/class.yith-wcwl-admin-init.php:1345
428
- #: ../includes/class.yith-wcwl-admin-init.php:1363
429
- #: ../includes/class.yith-wcwl-admin-init.php:1381
430
- msgid "Background"
431
- msgstr "Sfondo"
432
-
433
  #: ../includes/class.yith-wcwl-admin-init.php:1310
434
  #: ../includes/class.yith-wcwl-admin-init.php:1328
435
  #: ../includes/class.yith-wcwl-admin-init.php:1346
436
  #: ../includes/class.yith-wcwl-admin-init.php:1364
437
- #: ../includes/class.yith-wcwl-admin-init.php:1382
438
- msgid "Text"
439
- msgstr "Testo"
440
 
 
441
  #: ../includes/class.yith-wcwl-admin-init.php:1311
442
  #: ../includes/class.yith-wcwl-admin-init.php:1329
443
  #: ../includes/class.yith-wcwl-admin-init.php:1347
444
  #: ../includes/class.yith-wcwl-admin-init.php:1365
445
- #: ../includes/class.yith-wcwl-admin-init.php:1383
 
 
 
 
 
 
 
446
  msgid "Border"
447
  msgstr "Bordo"
448
 
449
- #: ../includes/class.yith-wcwl-admin-init.php:1318
450
- #: ../includes/class.yith-wcwl-admin-init.php:1336
451
- #: ../includes/class.yith-wcwl-admin-init.php:1354
452
- #: ../includes/class.yith-wcwl-admin-init.php:1372
453
- msgid "Background (hover)"
454
- msgstr "Sfondo (hover)"
455
-
456
  #: ../includes/class.yith-wcwl-admin-init.php:1319
457
  #: ../includes/class.yith-wcwl-admin-init.php:1337
458
  #: ../includes/class.yith-wcwl-admin-init.php:1355
459
- #: ../includes/class.yith-wcwl-admin-init.php:1373
460
- msgid "Text (hover)"
461
- msgstr "Testo (hover)"
462
 
 
463
  #: ../includes/class.yith-wcwl-admin-init.php:1320
464
  #: ../includes/class.yith-wcwl-admin-init.php:1338
465
  #: ../includes/class.yith-wcwl-admin-init.php:1356
466
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
467
  msgid "Border (hover)"
468
  msgstr "Bordo (hover)"
469
 
470
- #: ../includes/class.yith-wcwl-admin-init.php:1324
471
  msgid "\"Add to Cart\" button"
472
  msgstr "Pulsante \"Aggiungi al carrello\""
473
 
474
- #: ../includes/class.yith-wcwl-admin-init.php:1342
475
  msgid "\"Style 1\" button"
476
  msgstr "Pulsante \"Stile 1\""
477
 
478
- #: ../includes/class.yith-wcwl-admin-init.php:1360
479
  msgid "\"Style 2\" button"
480
  msgstr "Pulsante \"Stile 2\""
481
 
482
- #: ../includes/class.yith-wcwl-admin-init.php:1378
483
  msgid "Wishlist table"
484
  msgstr "Tabella lista dei desideri"
485
 
486
- #: ../includes/class.yith-wcwl-admin-init.php:1387
487
  msgid "Headers"
488
  msgstr "Intestazioni tabella"
489
 
490
- #: ../includes/class.yith-wcwl-admin-init.php:1390
491
  msgid "Background color"
492
  msgstr "Colore sfondo"
493
 
494
- #: ../includes/class.yith-wcwl-admin-init.php:1480
495
  msgid "Wishlist Activated"
496
  msgstr "Wishlist attivata"
497
 
498
- #: ../includes/class.yith-wcwl-admin-init.php:1481
499
  #, php-format
500
  msgid ""
501
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -508,11 +512,11 @@ msgstr ""
508
  "disponibile in una eccezionale versione PREMIUM con molte nuove opzioni, <a "
509
  "href=\"%s\">scopri di più adesso</a>."
510
 
511
- #: ../includes/class.yith-wcwl-admin-init.php:1492
512
  msgid "Wishlist Updated"
513
  msgstr "Lista dei desideri aggiornata"
514
 
515
- #: ../includes/class.yith-wcwl-admin-init.php:1493
516
  #, php-format
517
  msgid ""
518
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -528,7 +532,7 @@ msgstr ""
528
  "state aggiunte molte nuove opzioni, <a href=\"%s\">scopri la versione "
529
  "PREMIUM.</a>"
530
 
531
- #: ../includes/class.yith-wcwl-init.php:361
532
  msgid ""
533
  "We are sorry, but this feature is available only if cookies are enabled on "
534
  "your browser."
@@ -536,7 +540,7 @@ msgstr ""
536
  "Ci dispiace, questa funzionalità è disponibile solo se i cookie sono "
537
  "abilitati nel tuo browser."
538
 
539
- #: ../includes/class.yith-wcwl-init.php:362
540
  msgid "Product correctly added to cart"
541
  msgstr "Prodotto aggiunto correttamente al carrello"
542
 
@@ -609,7 +613,7 @@ msgstr "Non è stato aggiunto alcun prodotto alla lista dei desideri."
609
  msgid "An error as occurred."
610
  msgstr "Si è verificato un errore."
611
 
612
- #: ../init.php:133
613
  msgid ""
614
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
615
  "WooCommerce in order to work."
@@ -617,7 +621,7 @@ msgstr ""
617
  "YITH WooCommerce Wishlist è attivo ma non funzionante. È necessario "
618
  "installare WooCommerce perché il plugin funzioni correttamente."
619
 
620
- #: ../init.php:143
621
  msgid ""
622
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
623
  "are using the premium one."
@@ -943,6 +947,10 @@ msgstr "Pinterest"
943
  msgid "Google+"
944
  msgstr "Google+"
945
 
 
 
 
 
946
  #: ../templates/share.php:40
947
  msgid "Email"
948
  msgstr "Email"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: it_IT\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Wishlist"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "Impostazioni"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "Colori"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr "Versione premium"
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
53
  "ATTENZIONE: Questo plugin richiede almeno la versione 2.2 di WooCommerce! "
54
  "Aggiornalo da qui."
55
 
56
+ #: ../includes/class.yith-wcwl-admin-init.php:312
57
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
58
  msgstr ""
59
  "ATTENZIONE: Questo plugin richiede almeno la versione 2.2 di WooCommerce!"
60
 
61
+ #: ../includes/class.yith-wcwl-admin-init.php:317
62
  msgid "Plugin Documentation"
63
  msgstr "Documentazione plugin"
64
 
65
+ #: ../includes/class.yith-wcwl-admin-init.php:333
66
  msgid "Wishlist Page"
67
  msgstr "Pagina Wishlist"
68
 
69
+ #: ../includes/class.yith-wcwl-admin-init.php:334
70
  msgid "Page contents: [yith_wcwl_wishlist]"
71
  msgstr "Contenuti pagina: [yith_wcwl_wishlist]"
72
 
73
+ #: ../includes/class.yith-wcwl-admin-init.php:909
74
  msgid "Upgrade to the PREMIUM VERSION"
75
  msgstr "Aggiorna alla VERSIONE PREMIUM"
76
 
77
+ #: ../includes/class.yith-wcwl-admin-init.php:912
78
  msgid "YITH WooCommerce Wishlist"
79
  msgstr "YITH WooCommerce Wishlist"
80
 
81
+ #: ../includes/class.yith-wcwl-admin-init.php:913
82
  msgid "Discover the Advanced Features"
83
  msgstr "Scopri le funzionalità avanzate"
84
 
85
+ #: ../includes/class.yith-wcwl-admin-init.php:914
86
  msgid ""
87
  "Upgrade to the PREMIUM VERSION\n"
88
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
90
  "Aggiorna alla VERSIONE PREMIUM\n"
91
  "di YITH WOOCOMMERCE WISHLIST per usufruire di tutte le funzionalità!"
92
 
93
+ #: ../includes/class.yith-wcwl-admin-init.php:921
94
  msgid "Get Support and Pro Features"
95
  msgstr "Ottieni supporto e funzionalità premium"
96
 
97
+ #: ../includes/class.yith-wcwl-admin-init.php:922
98
  msgid ""
99
  "By purchasing the premium version of the plugin, you will take advantage of "
100
  "the advanced features of the product and you will get one year of free "
105
  "aggiornamenti gratuiti e di supporto tramite la nostra piattaforma "
106
  "disponibile 24h/24."
107
 
108
+ #: ../includes/class.yith-wcwl-admin-init.php:932
109
  msgid "General Settings"
110
  msgstr "Impostazioni generali"
111
 
112
+ #: ../includes/class.yith-wcwl-admin-init.php:939
113
  msgid "Enable YITH Wishlist"
114
  msgstr "Abilita YITH Wishlist"
115
 
116
+ #: ../includes/class.yith-wcwl-admin-init.php:940
117
  #, php-format
118
  msgid ""
119
  "Enable all plugin features. <strong>Be sure to select at least one option in "
125
  "Inoltre, non dimenticare di leggere la <a href=\"%s\" target=\"_blank"
126
  "\">documentazione</a> del plugin."
127
 
128
+ #: ../includes/class.yith-wcwl-admin-init.php:947
129
  msgid "Default wishlist title"
130
  msgstr "Titolo di default della lista dei desideri"
131
 
132
+ #: ../includes/class.yith-wcwl-admin-init.php:949
133
+ #: ../includes/class.yith-wcwl-admin-init.php:950
134
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
135
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
136
  #, php-format
137
  msgid "My wishlist on %s"
138
  msgstr "La mia lista dei desideri su %s"
139
 
140
+ #: ../includes/class.yith-wcwl-admin-init.php:958
141
  msgid "Position"
142
  msgstr "Posizione"
143
 
144
+ #: ../includes/class.yith-wcwl-admin-init.php:959
145
  msgid ""
146
  "You can add the button in variable products only after the \"Add to Cart\" "
147
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
150
  "\"Aggiungi al carrello\" oppure utilizza lo shortcode "
151
  "[yith_wcwl_add_to_wishlist]."
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:965
154
  msgid "After \"Add to cart\""
155
  msgstr "Dopo \"Aggiungi al carrello\""
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:966
158
  msgid "After thumbnails"
159
  msgstr "Dopo thumbnail"
160
 
161
+ #: ../includes/class.yith-wcwl-admin-init.php:967
162
  msgid "After summary"
163
  msgstr "Dopo sommario"
164
 
165
+ #: ../includes/class.yith-wcwl-admin-init.php:968
166
  msgid "Use shortcode"
167
  msgstr "Utilizza lo shortcode"
168
 
169
+ #: ../includes/class.yith-wcwl-admin-init.php:973
170
  msgid "Redirect to cart"
171
  msgstr "Riporta al carrello"
172
 
173
+ #: ../includes/class.yith-wcwl-admin-init.php:974
174
  msgid ""
175
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
176
  "page."
178
  "Porta al carrello se viene cliccato il pulsante \"Aggiungi al carrello\" "
179
  "nella pagina Lista dei desideri. "
180
 
181
+ #: ../includes/class.yith-wcwl-admin-init.php:981
182
  msgid "Remove if added to the cart"
183
  msgstr "Rimuovi se aggiunto al carrello"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:982
186
  msgid "Remove the product from the wishlist if it has been added to the cart."
187
  msgstr ""
188
  "Rimuovi il prodotto dalla lista dei desideri se è stato aggiunto al carrello."
189
 
190
+ #: ../includes/class.yith-wcwl-admin-init.php:989
191
  msgid "\"Add to Wishlist\" text"
192
  msgstr "Testo per \"Aggiungi alla lista dei desideri\""
193
 
194
+ #: ../includes/class.yith-wcwl-admin-init.php:991
195
+ #: ../includes/class.yith-wcwl-admin-init.php:992
196
  msgid "Add to Wishlist"
197
  msgstr "Aggiungi alla lista dei desideri"
198
 
199
+ #: ../includes/class.yith-wcwl-admin-init.php:997
200
  msgid "\"Browse wishlist\" text"
201
  msgstr "Testo per \"Sfoglia la lista dei desideri\""
202
 
203
+ #: ../includes/class.yith-wcwl-admin-init.php:999
204
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
205
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
206
  msgid "Browse Wishlist"
207
  msgstr "Sfoglia la lista dei desideri"
208
 
209
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
210
  msgid "\"Product already in wishlist\" text"
211
  msgstr "Testo per \"Articolo già presente nella lista dei desideri\""
212
 
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
214
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
215
  #: ../includes/class.yith-wcwl-ui.php:82
216
  msgid "The product is already in the wishlist!"
217
  msgstr "L'articolo selezionato è già presente nella tua lista dei desideri!"
218
 
219
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
220
  msgid "\"Product added\" text"
221
  msgstr "Testo per \"Articolo aggiunto\""
222
 
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
224
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
225
  #: ../includes/class.yith-wcwl-ui.php:81
226
  msgid "Product added!"
227
  msgstr "Articolo aggiunto!"
228
 
229
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
230
  msgid "\"Add to Cart\" text"
231
  msgstr "Testo per \"Aggiungi al carrello\""
232
 
233
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
234
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
235
  msgid "Add to Cart"
236
  msgstr "Aggiungi al carrello"
237
 
238
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
239
  msgid "Show Unit price"
240
  msgstr "Mostra prezzo unitario"
241
 
242
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
243
  msgid "Show unit price for each product in wishlist"
244
  msgstr ""
245
  "Mostra prezzo unitario per ogni prodotto aggiunto alla lista dei desideri"
246
 
247
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
248
  msgid "Show \"Add to Cart\" button"
249
  msgstr "Mostra pulsante \"Aggiungi al carrello\""
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
252
  msgid "Show \"Add to Cart\" button for each product in wishlist"
253
  msgstr ""
254
  "Mostra pulsante \"Aggiungi al carrello\" per ogni prodotto presente nella "
255
  "lista dei desideri"
256
 
257
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
258
  msgid "Show Stock status"
259
  msgstr "Mostra stato del prodotto"
260
 
261
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
262
  msgid ""
263
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
264
  msgstr ""
265
  "Mostra stato (\"Disponibile\" o \"Esaurito\") per ciascun prodotto nella "
266
  "lista dei desideri"
267
 
268
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
269
  msgid "Show Date of addition"
270
  msgstr "Mostra data di aggiunta"
271
 
272
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
273
  msgid "Show the date when users have added a product to the wishlist"
274
  msgstr ""
275
  "Mostra la data in cui gli utenti hanno aggiunto l'articolo alla lista dei "
276
  "desideri"
277
 
278
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
279
  msgid "Add second remove button"
280
  msgstr "Aggiungi secondo pulsante \"Rimuovi\""
281
 
282
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
283
  msgid "Add a second remove button in the last column, with extended label"
284
  msgstr ""
285
  "Aggiungi un secondo pulsante \"Rimuovi\" con etichetta estesa nell'ultima "
286
  "colonna"
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
289
  msgid "Styles"
290
  msgstr "Stili"
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
293
  msgid "Use buttons"
294
  msgstr "Utilizza pulsanti"
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
297
  msgid "Use buttons instead of simple anchors."
298
  msgstr "Utilizza pulsanti invece che link"
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
301
  msgid "Custom CSS"
302
  msgstr "Personalizza CSS"
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
305
  msgid "Use theme style"
306
  msgstr "Utilizza lo stile del tema"
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
309
  msgid "Use the theme style."
310
  msgstr "Utilizza lo stile del tema"
311
 
312
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
313
  msgid "Rounded buttons"
314
  msgstr "Pulsanti arrotondati"
315
 
316
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
317
  msgid "Make button corners rounded"
318
  msgstr "Arrotonda gli angoli dei pulsanti"
319
 
320
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
321
  msgid "\"Add to Wishlist\" icon"
322
  msgstr "Icona per \"Aggiungi alla lista dei desideri\""
323
 
324
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
325
  msgid "Add an icon to the \"Add to Wishlist\" button"
326
  msgstr "Aggiungi un'icon al pulsante \"Aggiungi alla lista dei desideri\""
327
 
328
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
329
  msgid "\"Add to Cart\" icon"
330
  msgstr "Icona per \"Aggiungi al carrello\""
331
 
332
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
333
  msgid "Add an icon to the \"Add to Cart\" button"
334
  msgstr "Aggiungi un'icona al pulsante \"Aggiungi al carrello\""
335
 
336
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
337
  msgid "Social Networks & Share"
338
  msgstr "Social network e condivisione"
339
 
340
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
341
  msgid "Share on Facebook"
342
  msgstr "Condividi su Facebook"
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
345
  msgid "Show \"Share on Facebook\" button"
346
  msgstr "Mostra pulsante \"Condividi su Facebook\""
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
349
  msgid "Tweet on Twitter"
350
  msgstr "Condividi su Twitter"
351
 
352
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
353
  msgid "Show \"Tweet on Twitter\" button"
354
  msgstr "Mostra pulsante \"Condividi su Twitter\""
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
357
  msgid "Pin on Pinterest"
358
  msgstr "Condividi su Pinterest"
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
361
  msgid "Show \"Pin on Pinterest\" button"
362
  msgstr "Mostra pulsante\"Condividi su Pinterest\""
363
 
364
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
365
  msgid "Share on Google+"
366
  msgstr "Condividi su Google+"
367
 
368
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
369
  msgid "Show \"Share on Google+\" button"
370
  msgstr "Mostra pulsante \"Condividi su Google+\""
371
 
372
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
373
  msgid "Share by Email"
374
  msgstr "Condividi per email"
375
 
376
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
377
  msgid "Show \"Share by Email\" button"
378
  msgstr "Mostra pulsante \"Condividi per email\""
379
 
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
381
  msgid "Social title"
382
  msgstr "Nome per i social"
383
 
384
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
385
  msgid "Social text"
386
  msgstr "Testo per i social"
387
 
388
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
389
  msgid ""
390
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
391
  "%</strong> where you want to show the URL of your wishlist."
394
  "%wishlist_url%</strong> per mostrare dove vuoi l'URL della tua lista dei "
395
  "desideri."
396
 
397
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
398
  msgid "Social image URL"
399
  msgstr "URL per immagine social"
400
 
401
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
402
  #, php-format
403
  msgid ""
404
  "If you want to take advantage of this feature, you could consider to "
405
  "purchase the %s."
406
  msgstr "Se vuoi usufruire di questa funzionalità puoi acquistare l'%s."
407
 
408
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
409
  msgid "YITH WooCommerce Frequently Bought Together Integration"
410
  msgstr "Integrazione con YITH WooCommerce Frequently Bought Together"
411
 
412
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
413
  msgid "Enable slider in wishlist"
414
  msgstr "Abilita lo slider nella lista dei desideri"
415
 
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
417
  #, php-format
418
  msgid ""
419
  "Choose to enable product slider in wishlist page with linked products (<a "
422
  "Scegli se abilitare lo slider prodotti nella pagina lista dei desideri con "
423
  "prodotti collegati (<a href=\"%s\" class=\"thickbox\">Esempio</a>). %s"
424
 
425
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
426
  msgid "\"Add to wishlist\" button"
427
  msgstr "Pulsante \"Aggiungi alla lista dei desideri\""
428
 
429
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
430
  #: ../includes/class.yith-wcwl-admin-init.php:1310
431
  #: ../includes/class.yith-wcwl-admin-init.php:1328
432
  #: ../includes/class.yith-wcwl-admin-init.php:1346
433
  #: ../includes/class.yith-wcwl-admin-init.php:1364
434
+ msgid "Background"
435
+ msgstr "Sfondo"
 
436
 
437
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
438
  #: ../includes/class.yith-wcwl-admin-init.php:1311
439
  #: ../includes/class.yith-wcwl-admin-init.php:1329
440
  #: ../includes/class.yith-wcwl-admin-init.php:1347
441
  #: ../includes/class.yith-wcwl-admin-init.php:1365
442
+ msgid "Text"
443
+ msgstr "Testo"
444
+
445
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
446
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
450
  msgid "Border"
451
  msgstr "Bordo"
452
 
453
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
 
 
 
 
 
 
454
  #: ../includes/class.yith-wcwl-admin-init.php:1319
455
  #: ../includes/class.yith-wcwl-admin-init.php:1337
456
  #: ../includes/class.yith-wcwl-admin-init.php:1355
457
+ msgid "Background (hover)"
458
+ msgstr "Sfondo (hover)"
 
459
 
460
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
461
  #: ../includes/class.yith-wcwl-admin-init.php:1320
462
  #: ../includes/class.yith-wcwl-admin-init.php:1338
463
  #: ../includes/class.yith-wcwl-admin-init.php:1356
464
+ msgid "Text (hover)"
465
+ msgstr "Testo (hover)"
466
+
467
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
468
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
469
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
471
  msgid "Border (hover)"
472
  msgstr "Bordo (hover)"
473
 
474
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
475
  msgid "\"Add to Cart\" button"
476
  msgstr "Pulsante \"Aggiungi al carrello\""
477
 
478
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
479
  msgid "\"Style 1\" button"
480
  msgstr "Pulsante \"Stile 1\""
481
 
482
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
483
  msgid "\"Style 2\" button"
484
  msgstr "Pulsante \"Stile 2\""
485
 
486
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
487
  msgid "Wishlist table"
488
  msgstr "Tabella lista dei desideri"
489
 
490
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
491
  msgid "Headers"
492
  msgstr "Intestazioni tabella"
493
 
494
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
495
  msgid "Background color"
496
  msgstr "Colore sfondo"
497
 
498
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
499
  msgid "Wishlist Activated"
500
  msgstr "Wishlist attivata"
501
 
502
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
503
  #, php-format
504
  msgid ""
505
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
512
  "disponibile in una eccezionale versione PREMIUM con molte nuove opzioni, <a "
513
  "href=\"%s\">scopri di più adesso</a>."
514
 
515
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
516
  msgid "Wishlist Updated"
517
  msgstr "Lista dei desideri aggiornata"
518
 
519
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
520
  #, php-format
521
  msgid ""
522
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
532
  "state aggiunte molte nuove opzioni, <a href=\"%s\">scopri la versione "
533
  "PREMIUM.</a>"
534
 
535
+ #: ../includes/class.yith-wcwl-init.php:380
536
  msgid ""
537
  "We are sorry, but this feature is available only if cookies are enabled on "
538
  "your browser."
540
  "Ci dispiace, questa funzionalità è disponibile solo se i cookie sono "
541
  "abilitati nel tuo browser."
542
 
543
+ #: ../includes/class.yith-wcwl-init.php:381
544
  msgid "Product correctly added to cart"
545
  msgstr "Prodotto aggiunto correttamente al carrello"
546
 
613
  msgid "An error as occurred."
614
  msgstr "Si è verificato un errore."
615
 
616
+ #: ../init.php:135
617
  msgid ""
618
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
619
  "WooCommerce in order to work."
621
  "YITH WooCommerce Wishlist è attivo ma non funzionante. È necessario "
622
  "installare WooCommerce perché il plugin funzioni correttamente."
623
 
624
+ #: ../init.php:145
625
  msgid ""
626
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
627
  "are using the premium one."
947
  msgid "Google+"
948
  msgstr "Google+"
949
 
950
+ #: ../templates/share.php:40
951
+ msgid "I wanted you to see this site"
952
+ msgstr ""
953
+
954
  #: ../templates/share.php:40
955
  msgid "Email"
956
  msgstr "Email"
languages/yith-woocommerce-wishlist-pl_PL.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-pl_PL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: pl_PL\n"
@@ -20,88 +20,92 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
- #: ../includes/class.yith-wcwl-admin-init.php:194
24
- #: ../includes/class.yith-wcwl-admin-init.php:1414
25
- #: ../includes/class.yith-wcwl-admin-init.php:1415
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr "Obserwowane"
29
 
30
- #: ../includes/class.yith-wcwl-admin-init.php:196
31
- #: ../includes/class.yith-wcwl-admin-init.php:298
32
  msgid "Settings"
33
  msgstr "Ustawienia"
34
 
35
- #: ../includes/class.yith-wcwl-admin-init.php:197
36
- #: ../includes/class.yith-wcwl-admin-init.php:265
37
  msgid "Colors"
38
  msgstr "Kolor"
39
 
40
- #: ../includes/class.yith-wcwl-admin-init.php:198
41
- #: ../includes/class.yith-wcwl-admin-init.php:302
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
46
  msgid ""
47
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
48
  "link to update it."
49
  msgstr ""
50
 
51
- #: ../includes/class.yith-wcwl-admin-init.php:329
52
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
53
  msgstr ""
54
 
55
- #: ../includes/class.yith-wcwl-admin-init.php:334
56
  msgid "Plugin Documentation"
57
  msgstr "Dokumentacja wtyczki"
58
 
59
- #: ../includes/class.yith-wcwl-admin-init.php:350
60
  msgid "Wishlist Page"
61
  msgstr "Obserwowane"
62
 
63
- #: ../includes/class.yith-wcwl-admin-init.php:351
64
  msgid "Page contents: [yith_wcwl_wishlist]"
65
  msgstr ""
66
 
67
- #: ../includes/class.yith-wcwl-admin-init.php:926
68
  msgid "Upgrade to the PREMIUM VERSION"
69
  msgstr ""
70
 
71
- #: ../includes/class.yith-wcwl-admin-init.php:929
72
  msgid "YITH WooCommerce Wishlist"
73
  msgstr ""
74
 
75
- #: ../includes/class.yith-wcwl-admin-init.php:930
76
  msgid "Discover the Advanced Features"
77
  msgstr ""
78
 
79
- #: ../includes/class.yith-wcwl-admin-init.php:931
80
  msgid ""
81
  "Upgrade to the PREMIUM VERSION\n"
82
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
83
  msgstr ""
84
 
85
- #: ../includes/class.yith-wcwl-admin-init.php:938
86
  msgid "Get Support and Pro Features"
87
  msgstr "Uzyskaj wsparcie i funkcje Pro"
88
 
89
- #: ../includes/class.yith-wcwl-admin-init.php:939
90
  msgid ""
91
  "By purchasing the premium version of the plugin, you will take advantage of "
92
  "the advanced features of the product and you will get one year of free "
93
  "updates and support through our platform available 24h/24."
94
  msgstr ""
95
 
96
- #: ../includes/class.yith-wcwl-admin-init.php:949
97
  msgid "General Settings"
98
  msgstr "Ustawienia ogólne"
99
 
100
- #: ../includes/class.yith-wcwl-admin-init.php:956
101
  msgid "Enable YITH Wishlist"
102
  msgstr "Włącz YITH Listy życzeń"
103
 
104
- #: ../includes/class.yith-wcwl-admin-init.php:957
105
  #, php-format
106
  msgid ""
107
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -112,23 +116,23 @@ msgstr ""
112
  "na stronie Listy Życzeń %s. </ strong> Ponadto, należy zapoznać się z "
113
  "dokumentacją wtyczki <a href=\"%s\" target=\"_blank\">dokumentacją </a >."
114
 
115
- #: ../includes/class.yith-wcwl-admin-init.php:964
116
  msgid "Default wishlist title"
117
  msgstr "Tytuł domyślny"
118
 
119
- #: ../includes/class.yith-wcwl-admin-init.php:966
120
- #: ../includes/class.yith-wcwl-admin-init.php:967
121
- #: ../includes/class.yith-wcwl-admin-init.php:1226
122
- #: ../includes/class.yith-wcwl-admin-init.php:1227
123
  #, php-format
124
  msgid "My wishlist on %s"
125
  msgstr "Moja lista życzeń: %s"
126
 
127
- #: ../includes/class.yith-wcwl-admin-init.php:975
128
  msgid "Position"
129
  msgstr "Pozycja meczowa"
130
 
131
- #: ../includes/class.yith-wcwl-admin-init.php:976
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
134
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
@@ -136,27 +140,27 @@ msgstr ""
136
  "Na produktach zmiennych można dodać to tylko po \"Dodaj do koszyka\" lub "
137
  "użyj shortcode [yith_wcwl_add_to_wishlist]."
138
 
139
- #: ../includes/class.yith-wcwl-admin-init.php:982
140
  msgid "After \"Add to cart\""
141
  msgstr ""
142
 
143
- #: ../includes/class.yith-wcwl-admin-init.php:983
144
  msgid "After thumbnails"
145
  msgstr "Za miniaturami"
146
 
147
- #: ../includes/class.yith-wcwl-admin-init.php:984
148
  msgid "After summary"
149
  msgstr "Po podsumowaniu"
150
 
151
- #: ../includes/class.yith-wcwl-admin-init.php:985
152
  msgid "Use shortcode"
153
  msgstr "Użyj shortcode"
154
 
155
- #: ../includes/class.yith-wcwl-admin-init.php:990
156
  msgid "Redirect to cart"
157
  msgstr "Przekieruj do koszyka"
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:991
160
  msgid ""
161
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
162
  "page."
@@ -164,204 +168,204 @@ msgstr ""
164
  "Przekierowanie do koszyka,po przycisku \"Dodaj do koszyka\" na stronie listy "
165
  "życzeń."
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:998
168
  msgid "Remove if added to the cart"
169
  msgstr "Usuń jeśli dodane do koszyka"
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:999
172
  msgid "Remove the product from the wishlist if it has been added to the cart."
173
  msgstr ""
174
 
175
- #: ../includes/class.yith-wcwl-admin-init.php:1006
176
  msgid "\"Add to Wishlist\" text"
177
  msgstr ""
178
 
179
- #: ../includes/class.yith-wcwl-admin-init.php:1008
180
- #: ../includes/class.yith-wcwl-admin-init.php:1009
181
  msgid "Add to Wishlist"
182
  msgstr ""
183
 
184
- #: ../includes/class.yith-wcwl-admin-init.php:1014
185
  msgid "\"Browse wishlist\" text"
186
  msgstr ""
187
 
188
- #: ../includes/class.yith-wcwl-admin-init.php:1016
189
- #: ../includes/class.yith-wcwl-admin-init.php:1017
190
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
191
  msgid "Browse Wishlist"
192
  msgstr "Przeglądaj listę życzeń"
193
 
194
- #: ../includes/class.yith-wcwl-admin-init.php:1022
195
  msgid "\"Product already in wishlist\" text"
196
  msgstr ""
197
 
198
- #: ../includes/class.yith-wcwl-admin-init.php:1024
199
- #: ../includes/class.yith-wcwl-admin-init.php:1025
200
  #: ../includes/class.yith-wcwl-ui.php:82
201
  msgid "The product is already in the wishlist!"
202
  msgstr "Produkt jest już na liście życzeń!"
203
 
204
- #: ../includes/class.yith-wcwl-admin-init.php:1030
205
  msgid "\"Product added\" text"
206
  msgstr ""
207
 
208
- #: ../includes/class.yith-wcwl-admin-init.php:1032
209
- #: ../includes/class.yith-wcwl-admin-init.php:1033
210
  #: ../includes/class.yith-wcwl-ui.php:81
211
  msgid "Product added!"
212
  msgstr ""
213
 
214
- #: ../includes/class.yith-wcwl-admin-init.php:1038
215
  msgid "\"Add to Cart\" text"
216
  msgstr ""
217
 
218
- #: ../includes/class.yith-wcwl-admin-init.php:1040
219
- #: ../includes/class.yith-wcwl-admin-init.php:1041
220
  msgid "Add to Cart"
221
  msgstr "Dodaj do koszyka"
222
 
223
- #: ../includes/class.yith-wcwl-admin-init.php:1046
224
  msgid "Show Unit price"
225
  msgstr "Pokaż cenę jednostkową"
226
 
227
- #: ../includes/class.yith-wcwl-admin-init.php:1047
228
  msgid "Show unit price for each product in wishlist"
229
  msgstr ""
230
 
231
- #: ../includes/class.yith-wcwl-admin-init.php:1055
232
  msgid "Show \"Add to Cart\" button"
233
  msgstr ""
234
 
235
- #: ../includes/class.yith-wcwl-admin-init.php:1056
236
  msgid "Show \"Add to Cart\" button for each product in wishlist"
237
  msgstr ""
238
 
239
- #: ../includes/class.yith-wcwl-admin-init.php:1064
240
  msgid "Show Stock status"
241
  msgstr ""
242
 
243
- #: ../includes/class.yith-wcwl-admin-init.php:1065
244
  msgid ""
245
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
246
  msgstr ""
247
 
248
- #: ../includes/class.yith-wcwl-admin-init.php:1073
249
  msgid "Show Date of addition"
250
  msgstr ""
251
 
252
- #: ../includes/class.yith-wcwl-admin-init.php:1074
253
  msgid "Show the date when users have added a product to the wishlist"
254
  msgstr ""
255
 
256
- #: ../includes/class.yith-wcwl-admin-init.php:1082
257
  msgid "Add second remove button"
258
  msgstr ""
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1083
261
  msgid "Add a second remove button in the last column, with extended label"
262
  msgstr ""
263
 
264
- #: ../includes/class.yith-wcwl-admin-init.php:1106
265
  msgid "Styles"
266
  msgstr "Style CSS"
267
 
268
- #: ../includes/class.yith-wcwl-admin-init.php:1113
269
  msgid "Use buttons"
270
  msgstr "Użyj przyciski"
271
 
272
- #: ../includes/class.yith-wcwl-admin-init.php:1114
273
  msgid "Use buttons instead of simple anchors."
274
  msgstr ""
275
 
276
- #: ../includes/class.yith-wcwl-admin-init.php:1121
277
  msgid "Custom CSS"
278
  msgstr "Własny CSS"
279
 
280
- #: ../includes/class.yith-wcwl-admin-init.php:1129
281
  msgid "Use theme style"
282
  msgstr "Użyj styl szablonu"
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1130
285
  msgid "Use the theme style."
286
  msgstr ""
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1137
289
  msgid "Rounded buttons"
290
  msgstr ""
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1138
293
  msgid "Make button corners rounded"
294
  msgstr ""
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1145
297
  msgid "\"Add to Wishlist\" icon"
298
  msgstr "Ikon \"Dodaj do listy życzeń\""
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1146
301
  msgid "Add an icon to the \"Add to Wishlist\" button"
302
  msgstr "Dodaj ikona do przycisku \"Dodaj do listy życzeń\""
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1157
305
  msgid "\"Add to Cart\" icon"
306
  msgstr "Ikon \"Dodaj do koszyka\""
307
 
308
- #: ../includes/class.yith-wcwl-admin-init.php:1158
309
  msgid "Add an icon to the \"Add to Cart\" button"
310
  msgstr "Dodaj ikona do przycisku \"Dodaj do koszyka\""
311
 
312
- #: ../includes/class.yith-wcwl-admin-init.php:1177
313
  msgid "Social Networks & Share"
314
  msgstr ""
315
 
316
- #: ../includes/class.yith-wcwl-admin-init.php:1184
317
  msgid "Share on Facebook"
318
  msgstr "Udostępnij na Facebooku"
319
 
320
- #: ../includes/class.yith-wcwl-admin-init.php:1185
321
  msgid "Show \"Share on Facebook\" button"
322
  msgstr ""
323
 
324
- #: ../includes/class.yith-wcwl-admin-init.php:1192
325
  msgid "Tweet on Twitter"
326
  msgstr "Poleć na Twitterze"
327
 
328
- #: ../includes/class.yith-wcwl-admin-init.php:1193
329
  msgid "Show \"Tweet on Twitter\" button"
330
  msgstr "Wyświetlaj oficjalny widżet Twitter Embedded Timeline"
331
 
332
- #: ../includes/class.yith-wcwl-admin-init.php:1200
333
  msgid "Pin on Pinterest"
334
  msgstr "Poleć na Pintereście"
335
 
336
- #: ../includes/class.yith-wcwl-admin-init.php:1201
337
  msgid "Show \"Pin on Pinterest\" button"
338
  msgstr ""
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1208
341
  msgid "Share on Google+"
342
  msgstr "Udostępnij na Googl+"
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1209
345
  msgid "Show \"Share on Google+\" button"
346
  msgstr ""
347
 
348
- #: ../includes/class.yith-wcwl-admin-init.php:1216
349
  msgid "Share by Email"
350
  msgstr ""
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1217
353
  msgid "Show \"Share by Email\" button"
354
  msgstr ""
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1224
357
  msgid "Social title"
358
  msgstr ""
359
 
360
- #: ../includes/class.yith-wcwl-admin-init.php:1232
361
  msgid "Social text"
362
  msgstr ""
363
 
364
- #: ../includes/class.yith-wcwl-admin-init.php:1233
365
  msgid ""
366
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
367
  "%</strong> where you want to show the URL of your wishlist."
@@ -369,110 +373,110 @@ msgstr ""
369
  "Będą wykorzystywane przez Facebook, Twitter i Pinterest. Użyj <strong>% "
370
  "wishlist_url %</strong> , gdzie chcesz adres URL swojej listy życzeń ."
371
 
372
- #: ../includes/class.yith-wcwl-admin-init.php:1241
373
  msgid "Social image URL"
374
  msgstr ""
375
 
376
- #: ../includes/class.yith-wcwl-admin-init.php:1256
377
  #, php-format
378
  msgid ""
379
  "If you want to take advantage of this feature, you could consider to "
380
  "purchase the %s."
381
  msgstr ""
382
 
383
- #: ../includes/class.yith-wcwl-admin-init.php:1261
384
  msgid "YITH WooCommerce Frequently Bought Together Integration"
385
  msgstr ""
386
 
387
- #: ../includes/class.yith-wcwl-admin-init.php:1268
388
  msgid "Enable slider in wishlist"
389
  msgstr ""
390
 
391
- #: ../includes/class.yith-wcwl-admin-init.php:1269
392
  #, php-format
393
  msgid ""
394
  "Choose to enable product slider in wishlist page with linked products (<a "
395
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
396
  msgstr ""
397
 
398
- #: ../includes/class.yith-wcwl-admin-init.php:1306
399
  msgid "\"Add to wishlist\" button"
400
  msgstr ""
401
 
402
- #: ../includes/class.yith-wcwl-admin-init.php:1309
403
- #: ../includes/class.yith-wcwl-admin-init.php:1327
404
- #: ../includes/class.yith-wcwl-admin-init.php:1345
405
- #: ../includes/class.yith-wcwl-admin-init.php:1363
406
- #: ../includes/class.yith-wcwl-admin-init.php:1381
407
- msgid "Background"
408
- msgstr "Tło"
409
-
410
  #: ../includes/class.yith-wcwl-admin-init.php:1310
411
  #: ../includes/class.yith-wcwl-admin-init.php:1328
412
  #: ../includes/class.yith-wcwl-admin-init.php:1346
413
  #: ../includes/class.yith-wcwl-admin-init.php:1364
414
- #: ../includes/class.yith-wcwl-admin-init.php:1382
415
- msgid "Text"
416
- msgstr "Tekst"
417
 
 
418
  #: ../includes/class.yith-wcwl-admin-init.php:1311
419
  #: ../includes/class.yith-wcwl-admin-init.php:1329
420
  #: ../includes/class.yith-wcwl-admin-init.php:1347
421
  #: ../includes/class.yith-wcwl-admin-init.php:1365
422
- #: ../includes/class.yith-wcwl-admin-init.php:1383
 
 
 
 
 
 
 
423
  msgid "Border"
424
  msgstr "Ramka"
425
 
426
- #: ../includes/class.yith-wcwl-admin-init.php:1318
427
- #: ../includes/class.yith-wcwl-admin-init.php:1336
428
- #: ../includes/class.yith-wcwl-admin-init.php:1354
429
- #: ../includes/class.yith-wcwl-admin-init.php:1372
430
- msgid "Background (hover)"
431
- msgstr ""
432
-
433
  #: ../includes/class.yith-wcwl-admin-init.php:1319
434
  #: ../includes/class.yith-wcwl-admin-init.php:1337
435
  #: ../includes/class.yith-wcwl-admin-init.php:1355
436
- #: ../includes/class.yith-wcwl-admin-init.php:1373
437
- msgid "Text (hover)"
438
  msgstr ""
439
 
 
440
  #: ../includes/class.yith-wcwl-admin-init.php:1320
441
  #: ../includes/class.yith-wcwl-admin-init.php:1338
442
  #: ../includes/class.yith-wcwl-admin-init.php:1356
443
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
444
  msgid "Border (hover)"
445
  msgstr ""
446
 
447
- #: ../includes/class.yith-wcwl-admin-init.php:1324
448
  msgid "\"Add to Cart\" button"
449
  msgstr ""
450
 
451
- #: ../includes/class.yith-wcwl-admin-init.php:1342
452
  msgid "\"Style 1\" button"
453
  msgstr ""
454
 
455
- #: ../includes/class.yith-wcwl-admin-init.php:1360
456
  msgid "\"Style 2\" button"
457
  msgstr ""
458
 
459
- #: ../includes/class.yith-wcwl-admin-init.php:1378
460
  msgid "Wishlist table"
461
  msgstr ""
462
 
463
- #: ../includes/class.yith-wcwl-admin-init.php:1387
464
  msgid "Headers"
465
  msgstr "Nagłówki"
466
 
467
- #: ../includes/class.yith-wcwl-admin-init.php:1390
468
  msgid "Background color"
469
  msgstr "Kolor tła"
470
 
471
- #: ../includes/class.yith-wcwl-admin-init.php:1480
472
  msgid "Wishlist Activated"
473
  msgstr ""
474
 
475
- #: ../includes/class.yith-wcwl-admin-init.php:1481
476
  #, php-format
477
  msgid ""
478
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -481,11 +485,11 @@ msgid ""
481
  "options, <a href=\"%s\">discover it now</a>."
482
  msgstr ""
483
 
484
- #: ../includes/class.yith-wcwl-admin-init.php:1492
485
  msgid "Wishlist Updated"
486
  msgstr ""
487
 
488
- #: ../includes/class.yith-wcwl-admin-init.php:1493
489
  #, php-format
490
  msgid ""
491
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -495,13 +499,13 @@ msgid ""
495
  "\">discover the PREMIUM version.</a>"
496
  msgstr ""
497
 
498
- #: ../includes/class.yith-wcwl-init.php:361
499
  msgid ""
500
  "We are sorry, but this feature is available only if cookies are enabled on "
501
  "your browser."
502
  msgstr ""
503
 
504
- #: ../includes/class.yith-wcwl-init.php:362
505
  msgid "Product correctly added to cart"
506
  msgstr "Produkt dodany do koszyka"
507
 
@@ -568,13 +572,13 @@ msgstr "Nie dodano żadnych produktów do listy życzeń"
568
  msgid "An error as occurred."
569
  msgstr ""
570
 
571
- #: ../init.php:133
572
  msgid ""
573
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
574
  "WooCommerce in order to work."
575
  msgstr ""
576
 
577
- #: ../init.php:143
578
  msgid ""
579
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
580
  "are using the premium one."
@@ -830,6 +834,10 @@ msgstr "Pinterest"
830
  msgid "Google+"
831
  msgstr "Google+"
832
 
 
 
 
 
833
  #: ../templates/share.php:40
834
  msgid "Email"
835
  msgstr "Adres mailowy"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: pl_PL\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
+ #: ../includes/class.yith-wcwl-admin-init.php:176
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
25
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr "Obserwowane"
29
 
30
+ #: ../includes/class.yith-wcwl-admin-init.php:178
31
+ #: ../includes/class.yith-wcwl-admin-init.php:280
32
  msgid "Settings"
33
  msgstr "Ustawienia"
34
 
35
+ #: ../includes/class.yith-wcwl-admin-init.php:179
36
+ #: ../includes/class.yith-wcwl-admin-init.php:247
37
  msgid "Colors"
38
  msgstr "Kolor"
39
 
40
+ #: ../includes/class.yith-wcwl-admin-init.php:180
41
+ #: ../includes/class.yith-wcwl-admin-init.php:284
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
+ #: ../includes/class.yith-wcwl-admin-init.php:285
46
+ msgid "Live Demo"
47
+ msgstr ""
48
+
49
+ #: ../includes/class.yith-wcwl-admin-init.php:309
50
  msgid ""
51
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
52
  "link to update it."
53
  msgstr ""
54
 
55
+ #: ../includes/class.yith-wcwl-admin-init.php:312
56
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
57
  msgstr ""
58
 
59
+ #: ../includes/class.yith-wcwl-admin-init.php:317
60
  msgid "Plugin Documentation"
61
  msgstr "Dokumentacja wtyczki"
62
 
63
+ #: ../includes/class.yith-wcwl-admin-init.php:333
64
  msgid "Wishlist Page"
65
  msgstr "Obserwowane"
66
 
67
+ #: ../includes/class.yith-wcwl-admin-init.php:334
68
  msgid "Page contents: [yith_wcwl_wishlist]"
69
  msgstr ""
70
 
71
+ #: ../includes/class.yith-wcwl-admin-init.php:909
72
  msgid "Upgrade to the PREMIUM VERSION"
73
  msgstr ""
74
 
75
+ #: ../includes/class.yith-wcwl-admin-init.php:912
76
  msgid "YITH WooCommerce Wishlist"
77
  msgstr ""
78
 
79
+ #: ../includes/class.yith-wcwl-admin-init.php:913
80
  msgid "Discover the Advanced Features"
81
  msgstr ""
82
 
83
+ #: ../includes/class.yith-wcwl-admin-init.php:914
84
  msgid ""
85
  "Upgrade to the PREMIUM VERSION\n"
86
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
87
  msgstr ""
88
 
89
+ #: ../includes/class.yith-wcwl-admin-init.php:921
90
  msgid "Get Support and Pro Features"
91
  msgstr "Uzyskaj wsparcie i funkcje Pro"
92
 
93
+ #: ../includes/class.yith-wcwl-admin-init.php:922
94
  msgid ""
95
  "By purchasing the premium version of the plugin, you will take advantage of "
96
  "the advanced features of the product and you will get one year of free "
97
  "updates and support through our platform available 24h/24."
98
  msgstr ""
99
 
100
+ #: ../includes/class.yith-wcwl-admin-init.php:932
101
  msgid "General Settings"
102
  msgstr "Ustawienia ogólne"
103
 
104
+ #: ../includes/class.yith-wcwl-admin-init.php:939
105
  msgid "Enable YITH Wishlist"
106
  msgstr "Włącz YITH Listy życzeń"
107
 
108
+ #: ../includes/class.yith-wcwl-admin-init.php:940
109
  #, php-format
110
  msgid ""
111
  "Enable all plugin features. <strong>Be sure to select at least one option in "
116
  "na stronie Listy Życzeń %s. </ strong> Ponadto, należy zapoznać się z "
117
  "dokumentacją wtyczki <a href=\"%s\" target=\"_blank\">dokumentacją </a >."
118
 
119
+ #: ../includes/class.yith-wcwl-admin-init.php:947
120
  msgid "Default wishlist title"
121
  msgstr "Tytuł domyślny"
122
 
123
+ #: ../includes/class.yith-wcwl-admin-init.php:949
124
+ #: ../includes/class.yith-wcwl-admin-init.php:950
125
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
126
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
127
  #, php-format
128
  msgid "My wishlist on %s"
129
  msgstr "Moja lista życzeń: %s"
130
 
131
+ #: ../includes/class.yith-wcwl-admin-init.php:958
132
  msgid "Position"
133
  msgstr "Pozycja meczowa"
134
 
135
+ #: ../includes/class.yith-wcwl-admin-init.php:959
136
  msgid ""
137
  "You can add the button in variable products only after the \"Add to Cart\" "
138
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
140
  "Na produktach zmiennych można dodać to tylko po \"Dodaj do koszyka\" lub "
141
  "użyj shortcode [yith_wcwl_add_to_wishlist]."
142
 
143
+ #: ../includes/class.yith-wcwl-admin-init.php:965
144
  msgid "After \"Add to cart\""
145
  msgstr ""
146
 
147
+ #: ../includes/class.yith-wcwl-admin-init.php:966
148
  msgid "After thumbnails"
149
  msgstr "Za miniaturami"
150
 
151
+ #: ../includes/class.yith-wcwl-admin-init.php:967
152
  msgid "After summary"
153
  msgstr "Po podsumowaniu"
154
 
155
+ #: ../includes/class.yith-wcwl-admin-init.php:968
156
  msgid "Use shortcode"
157
  msgstr "Użyj shortcode"
158
 
159
+ #: ../includes/class.yith-wcwl-admin-init.php:973
160
  msgid "Redirect to cart"
161
  msgstr "Przekieruj do koszyka"
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:974
164
  msgid ""
165
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
166
  "page."
168
  "Przekierowanie do koszyka,po przycisku \"Dodaj do koszyka\" na stronie listy "
169
  "życzeń."
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:981
172
  msgid "Remove if added to the cart"
173
  msgstr "Usuń jeśli dodane do koszyka"
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:982
176
  msgid "Remove the product from the wishlist if it has been added to the cart."
177
  msgstr ""
178
 
179
+ #: ../includes/class.yith-wcwl-admin-init.php:989
180
  msgid "\"Add to Wishlist\" text"
181
  msgstr ""
182
 
183
+ #: ../includes/class.yith-wcwl-admin-init.php:991
184
+ #: ../includes/class.yith-wcwl-admin-init.php:992
185
  msgid "Add to Wishlist"
186
  msgstr ""
187
 
188
+ #: ../includes/class.yith-wcwl-admin-init.php:997
189
  msgid "\"Browse wishlist\" text"
190
  msgstr ""
191
 
192
+ #: ../includes/class.yith-wcwl-admin-init.php:999
193
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
194
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
195
  msgid "Browse Wishlist"
196
  msgstr "Przeglądaj listę życzeń"
197
 
198
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
199
  msgid "\"Product already in wishlist\" text"
200
  msgstr ""
201
 
202
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
203
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
204
  #: ../includes/class.yith-wcwl-ui.php:82
205
  msgid "The product is already in the wishlist!"
206
  msgstr "Produkt jest już na liście życzeń!"
207
 
208
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
209
  msgid "\"Product added\" text"
210
  msgstr ""
211
 
212
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
214
  #: ../includes/class.yith-wcwl-ui.php:81
215
  msgid "Product added!"
216
  msgstr ""
217
 
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
219
  msgid "\"Add to Cart\" text"
220
  msgstr ""
221
 
222
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
224
  msgid "Add to Cart"
225
  msgstr "Dodaj do koszyka"
226
 
227
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
228
  msgid "Show Unit price"
229
  msgstr "Pokaż cenę jednostkową"
230
 
231
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
232
  msgid "Show unit price for each product in wishlist"
233
  msgstr ""
234
 
235
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
236
  msgid "Show \"Add to Cart\" button"
237
  msgstr ""
238
 
239
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
240
  msgid "Show \"Add to Cart\" button for each product in wishlist"
241
  msgstr ""
242
 
243
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
244
  msgid "Show Stock status"
245
  msgstr ""
246
 
247
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
248
  msgid ""
249
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
250
  msgstr ""
251
 
252
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
253
  msgid "Show Date of addition"
254
  msgstr ""
255
 
256
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
257
  msgid "Show the date when users have added a product to the wishlist"
258
  msgstr ""
259
 
260
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
261
  msgid "Add second remove button"
262
  msgstr ""
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
265
  msgid "Add a second remove button in the last column, with extended label"
266
  msgstr ""
267
 
268
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
269
  msgid "Styles"
270
  msgstr "Style CSS"
271
 
272
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
273
  msgid "Use buttons"
274
  msgstr "Użyj przyciski"
275
 
276
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
277
  msgid "Use buttons instead of simple anchors."
278
  msgstr ""
279
 
280
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
281
  msgid "Custom CSS"
282
  msgstr "Własny CSS"
283
 
284
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
285
  msgid "Use theme style"
286
  msgstr "Użyj styl szablonu"
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
289
  msgid "Use the theme style."
290
  msgstr ""
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
293
  msgid "Rounded buttons"
294
  msgstr ""
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
297
  msgid "Make button corners rounded"
298
  msgstr ""
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
301
  msgid "\"Add to Wishlist\" icon"
302
  msgstr "Ikon \"Dodaj do listy życzeń\""
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
305
  msgid "Add an icon to the \"Add to Wishlist\" button"
306
  msgstr "Dodaj ikona do przycisku \"Dodaj do listy życzeń\""
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
309
  msgid "\"Add to Cart\" icon"
310
  msgstr "Ikon \"Dodaj do koszyka\""
311
 
312
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
313
  msgid "Add an icon to the \"Add to Cart\" button"
314
  msgstr "Dodaj ikona do przycisku \"Dodaj do koszyka\""
315
 
316
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
317
  msgid "Social Networks & Share"
318
  msgstr ""
319
 
320
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
321
  msgid "Share on Facebook"
322
  msgstr "Udostępnij na Facebooku"
323
 
324
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
325
  msgid "Show \"Share on Facebook\" button"
326
  msgstr ""
327
 
328
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
329
  msgid "Tweet on Twitter"
330
  msgstr "Poleć na Twitterze"
331
 
332
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
333
  msgid "Show \"Tweet on Twitter\" button"
334
  msgstr "Wyświetlaj oficjalny widżet Twitter Embedded Timeline"
335
 
336
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
337
  msgid "Pin on Pinterest"
338
  msgstr "Poleć na Pintereście"
339
 
340
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
341
  msgid "Show \"Pin on Pinterest\" button"
342
  msgstr ""
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
345
  msgid "Share on Google+"
346
  msgstr "Udostępnij na Googl+"
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
349
  msgid "Show \"Share on Google+\" button"
350
  msgstr ""
351
 
352
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
353
  msgid "Share by Email"
354
  msgstr ""
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
357
  msgid "Show \"Share by Email\" button"
358
  msgstr ""
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
361
  msgid "Social title"
362
  msgstr ""
363
 
364
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
365
  msgid "Social text"
366
  msgstr ""
367
 
368
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
369
  msgid ""
370
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
371
  "%</strong> where you want to show the URL of your wishlist."
373
  "Będą wykorzystywane przez Facebook, Twitter i Pinterest. Użyj <strong>% "
374
  "wishlist_url %</strong> , gdzie chcesz adres URL swojej listy życzeń ."
375
 
376
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
377
  msgid "Social image URL"
378
  msgstr ""
379
 
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
381
  #, php-format
382
  msgid ""
383
  "If you want to take advantage of this feature, you could consider to "
384
  "purchase the %s."
385
  msgstr ""
386
 
387
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
388
  msgid "YITH WooCommerce Frequently Bought Together Integration"
389
  msgstr ""
390
 
391
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
392
  msgid "Enable slider in wishlist"
393
  msgstr ""
394
 
395
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
396
  #, php-format
397
  msgid ""
398
  "Choose to enable product slider in wishlist page with linked products (<a "
399
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
400
  msgstr ""
401
 
402
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
403
  msgid "\"Add to wishlist\" button"
404
  msgstr ""
405
 
406
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
407
  #: ../includes/class.yith-wcwl-admin-init.php:1310
408
  #: ../includes/class.yith-wcwl-admin-init.php:1328
409
  #: ../includes/class.yith-wcwl-admin-init.php:1346
410
  #: ../includes/class.yith-wcwl-admin-init.php:1364
411
+ msgid "Background"
412
+ msgstr "Tło"
 
413
 
414
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
415
  #: ../includes/class.yith-wcwl-admin-init.php:1311
416
  #: ../includes/class.yith-wcwl-admin-init.php:1329
417
  #: ../includes/class.yith-wcwl-admin-init.php:1347
418
  #: ../includes/class.yith-wcwl-admin-init.php:1365
419
+ msgid "Text"
420
+ msgstr "Tekst"
421
+
422
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
423
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
424
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
425
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
427
  msgid "Border"
428
  msgstr "Ramka"
429
 
430
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
 
 
 
 
 
 
431
  #: ../includes/class.yith-wcwl-admin-init.php:1319
432
  #: ../includes/class.yith-wcwl-admin-init.php:1337
433
  #: ../includes/class.yith-wcwl-admin-init.php:1355
434
+ msgid "Background (hover)"
 
435
  msgstr ""
436
 
437
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
438
  #: ../includes/class.yith-wcwl-admin-init.php:1320
439
  #: ../includes/class.yith-wcwl-admin-init.php:1338
440
  #: ../includes/class.yith-wcwl-admin-init.php:1356
441
+ msgid "Text (hover)"
442
+ msgstr ""
443
+
444
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
445
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
446
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
448
  msgid "Border (hover)"
449
  msgstr ""
450
 
451
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
452
  msgid "\"Add to Cart\" button"
453
  msgstr ""
454
 
455
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
456
  msgid "\"Style 1\" button"
457
  msgstr ""
458
 
459
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
460
  msgid "\"Style 2\" button"
461
  msgstr ""
462
 
463
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
464
  msgid "Wishlist table"
465
  msgstr ""
466
 
467
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
468
  msgid "Headers"
469
  msgstr "Nagłówki"
470
 
471
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
472
  msgid "Background color"
473
  msgstr "Kolor tła"
474
 
475
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
476
  msgid "Wishlist Activated"
477
  msgstr ""
478
 
479
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
480
  #, php-format
481
  msgid ""
482
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
485
  "options, <a href=\"%s\">discover it now</a>."
486
  msgstr ""
487
 
488
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
489
  msgid "Wishlist Updated"
490
  msgstr ""
491
 
492
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
493
  #, php-format
494
  msgid ""
495
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
499
  "\">discover the PREMIUM version.</a>"
500
  msgstr ""
501
 
502
+ #: ../includes/class.yith-wcwl-init.php:380
503
  msgid ""
504
  "We are sorry, but this feature is available only if cookies are enabled on "
505
  "your browser."
506
  msgstr ""
507
 
508
+ #: ../includes/class.yith-wcwl-init.php:381
509
  msgid "Product correctly added to cart"
510
  msgstr "Produkt dodany do koszyka"
511
 
572
  msgid "An error as occurred."
573
  msgstr ""
574
 
575
+ #: ../init.php:135
576
  msgid ""
577
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
578
  "WooCommerce in order to work."
579
  msgstr ""
580
 
581
+ #: ../init.php:145
582
  msgid ""
583
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
584
  "are using the premium one."
834
  msgid "Google+"
835
  msgstr "Google+"
836
 
837
+ #: ../templates/share.php:40
838
+ msgid "I wanted you to see this site"
839
+ msgstr ""
840
+
841
  #: ../templates/share.php:40
842
  msgid "Email"
843
  msgstr "Adres mailowy"
languages/yith-woocommerce-wishlist-pt_BR.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-pt_BR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: pt_BR\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de Desejos"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "Configurações"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "Cores"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr "Meus desejos"
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr "Conteúdo da página: [yith_wcwl_wishlist]"
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr "Opções gerais"
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr "Ativar Lista de Desejos"
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, fuzzy, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -110,24 +114,24 @@ msgstr ""
110
  "Ativar todas opções. <strong> Saiba que a página de desejos é selecionada na "
111
  "seção Páginas. </strong>. <a href=\"%s\" target=\"_blank\">Documentação</a>."
112
 
113
- #: ../includes/class.yith-wcwl-admin-init.php:964
114
  #, fuzzy
115
  msgid "Default wishlist title"
116
  msgstr "Titulo da lista de desejos"
117
 
118
- #: ../includes/class.yith-wcwl-admin-init.php:966
119
- #: ../includes/class.yith-wcwl-admin-init.php:967
120
- #: ../includes/class.yith-wcwl-admin-init.php:1226
121
- #: ../includes/class.yith-wcwl-admin-init.php:1227
122
  #, php-format
123
  msgid "My wishlist on %s"
124
  msgstr "Minha lista de desejos em %s"
125
 
126
- #: ../includes/class.yith-wcwl-admin-init.php:975
127
  msgid "Position"
128
  msgstr "Posição"
129
 
130
- #: ../includes/class.yith-wcwl-admin-init.php:976
131
  #, fuzzy
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
@@ -136,27 +140,27 @@ msgstr ""
136
  "Em produtos variáveis você pode adicionar isto somenteapós \"Adcionar ao "
137
  "Carrinho\" ou usar o shortcode [yith_wcwl_add_to_wishlist]."
138
 
139
- #: ../includes/class.yith-wcwl-admin-init.php:982
140
  msgid "After \"Add to cart\""
141
  msgstr "Após \" Adicionar ao carrinho \""
142
 
143
- #: ../includes/class.yith-wcwl-admin-init.php:983
144
  msgid "After thumbnails"
145
  msgstr "Após miniaturas"
146
 
147
- #: ../includes/class.yith-wcwl-admin-init.php:984
148
  msgid "After summary"
149
  msgstr "Após sumário"
150
 
151
- #: ../includes/class.yith-wcwl-admin-init.php:985
152
  msgid "Use shortcode"
153
  msgstr "Usar shortcode"
154
 
155
- #: ../includes/class.yith-wcwl-admin-init.php:990
156
  msgid "Redirect to cart"
157
  msgstr "Redirecionar para o carrinho"
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:991
160
  msgid ""
161
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
162
  "page."
@@ -164,226 +168,226 @@ msgstr ""
164
  "Redirecionar para a página de carrinho se o botão \" Adcionar ao carrinho \" "
165
  "estiver clicado na página de lista de desejos."
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:998
168
  msgid "Remove if added to the cart"
169
  msgstr "Remover se adcionado ao carrinho"
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:999
172
  #, fuzzy
173
  msgid "Remove the product from the wishlist if it has been added to the cart."
174
  msgstr ""
175
  "Remover o produto da lista, se a mesma tiver sido adicionada ao carrinho."
176
 
177
- #: ../includes/class.yith-wcwl-admin-init.php:1006
178
  msgid "\"Add to Wishlist\" text"
179
  msgstr "Texto \" Adcionar a Lista de Desejos\""
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1008
182
- #: ../includes/class.yith-wcwl-admin-init.php:1009
183
  msgid "Add to Wishlist"
184
  msgstr "Adicionar aos meus desejos"
185
 
186
- #: ../includes/class.yith-wcwl-admin-init.php:1014
187
  #, fuzzy
188
  msgid "\"Browse wishlist\" text"
189
  msgstr "Veja sua lista de desejos!"
190
 
191
- #: ../includes/class.yith-wcwl-admin-init.php:1016
192
- #: ../includes/class.yith-wcwl-admin-init.php:1017
193
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
194
  msgid "Browse Wishlist"
195
  msgstr "Veja sua lista de desejos!"
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1022
198
  #, fuzzy
199
  msgid "\"Product already in wishlist\" text"
200
  msgstr "Produto já na lista de desejos."
201
 
202
- #: ../includes/class.yith-wcwl-admin-init.php:1024
203
- #: ../includes/class.yith-wcwl-admin-init.php:1025
204
  #: ../includes/class.yith-wcwl-ui.php:82
205
  msgid "The product is already in the wishlist!"
206
  msgstr "Esse produto já se encontra na sua lista de desejos!"
207
 
208
- #: ../includes/class.yith-wcwl-admin-init.php:1030
209
  #, fuzzy
210
  msgid "\"Product added\" text"
211
  msgstr "Produto adicionado!"
212
 
213
- #: ../includes/class.yith-wcwl-admin-init.php:1032
214
- #: ../includes/class.yith-wcwl-admin-init.php:1033
215
  #: ../includes/class.yith-wcwl-ui.php:81
216
  msgid "Product added!"
217
  msgstr "Produto adicionado!"
218
 
219
- #: ../includes/class.yith-wcwl-admin-init.php:1038
220
  msgid "\"Add to Cart\" text"
221
  msgstr "Texto \" Adicionar ao Carrinho\""
222
 
223
- #: ../includes/class.yith-wcwl-admin-init.php:1040
224
- #: ../includes/class.yith-wcwl-admin-init.php:1041
225
  msgid "Add to Cart"
226
  msgstr "Adcionar ao Carrinho"
227
 
228
- #: ../includes/class.yith-wcwl-admin-init.php:1046
229
  #, fuzzy
230
  msgid "Show Unit price"
231
  msgstr "Preço unitário"
232
 
233
- #: ../includes/class.yith-wcwl-admin-init.php:1047
234
  msgid "Show unit price for each product in wishlist"
235
  msgstr ""
236
 
237
- #: ../includes/class.yith-wcwl-admin-init.php:1055
238
  #, fuzzy
239
  msgid "Show \"Add to Cart\" button"
240
  msgstr "Texto do botão \"Adicionar ao carrinho \""
241
 
242
- #: ../includes/class.yith-wcwl-admin-init.php:1056
243
  #, fuzzy
244
  msgid "Show \"Add to Cart\" button for each product in wishlist"
245
  msgstr "Fundo do do botão \"Adicionar ao carrinho \""
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1064
248
  #, fuzzy
249
  msgid "Show Stock status"
250
  msgstr "Status do estoque"
251
 
252
- #: ../includes/class.yith-wcwl-admin-init.php:1065
253
  msgid ""
254
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
255
  msgstr ""
256
 
257
- #: ../includes/class.yith-wcwl-admin-init.php:1073
258
  msgid "Show Date of addition"
259
  msgstr ""
260
 
261
- #: ../includes/class.yith-wcwl-admin-init.php:1074
262
  #, fuzzy
263
  msgid "Show the date when users have added a product to the wishlist"
264
  msgstr "Oops! Ocorreu um erro ao adicionar o produto à lista de desejos."
265
 
266
- #: ../includes/class.yith-wcwl-admin-init.php:1082
267
  #, fuzzy
268
  msgid "Add second remove button"
269
  msgstr "Texto do botão \"Adicionar ao carrinho \""
270
 
271
- #: ../includes/class.yith-wcwl-admin-init.php:1083
272
  msgid "Add a second remove button in the last column, with extended label"
273
  msgstr ""
274
 
275
- #: ../includes/class.yith-wcwl-admin-init.php:1106
276
  msgid "Styles"
277
  msgstr "Estilos"
278
 
279
- #: ../includes/class.yith-wcwl-admin-init.php:1113
280
  msgid "Use buttons"
281
  msgstr "Usar botões"
282
 
283
- #: ../includes/class.yith-wcwl-admin-init.php:1114
284
  #, fuzzy
285
  msgid "Use buttons instead of simple anchors."
286
  msgstr "Usar botões ao invés de simples âncoras."
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1121
289
  msgid "Custom CSS"
290
  msgstr "CSS Customizado"
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1129
293
  msgid "Use theme style"
294
  msgstr "Usar estilo do tema"
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1130
297
  msgid "Use the theme style."
298
  msgstr "Usar o estilo do tema."
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1137
301
  #, fuzzy
302
  msgid "Rounded buttons"
303
  msgstr "Usar botões"
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1138
306
  #, fuzzy
307
  msgid "Make button corners rounded"
308
  msgstr "Faça botões do canto arredondado"
309
 
310
- #: ../includes/class.yith-wcwl-admin-init.php:1145
311
  msgid "\"Add to Wishlist\" icon"
312
  msgstr "Ícone \"Adcionar aos meus desejos\" "
313
 
314
- #: ../includes/class.yith-wcwl-admin-init.php:1146
315
  msgid "Add an icon to the \"Add to Wishlist\" button"
316
  msgstr "Adicionar um ícone ao botão \"Adcionar aos meus desejos\""
317
 
318
- #: ../includes/class.yith-wcwl-admin-init.php:1157
319
  msgid "\"Add to Cart\" icon"
320
  msgstr "Ícone \"Adicionar ao Carrinho\""
321
 
322
- #: ../includes/class.yith-wcwl-admin-init.php:1158
323
  msgid "Add an icon to the \"Add to Cart\" button"
324
  msgstr "Adicionar um ícone ao botão \"Adcionar ao carrinho\""
325
 
326
- #: ../includes/class.yith-wcwl-admin-init.php:1177
327
  #, fuzzy
328
  msgid "Social Networks & Share"
329
  msgstr "Social &amp; Compartilhamento"
330
 
331
- #: ../includes/class.yith-wcwl-admin-init.php:1184
332
  msgid "Share on Facebook"
333
  msgstr "Compartilhar no Facebook"
334
 
335
- #: ../includes/class.yith-wcwl-admin-init.php:1185
336
  #, fuzzy
337
  msgid "Show \"Share on Facebook\" button"
338
  msgstr "Compartilhar no Facebook"
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1192
341
  msgid "Tweet on Twitter"
342
  msgstr "Tweetar no Twitter"
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1193
345
  #, fuzzy
346
  msgid "Show \"Tweet on Twitter\" button"
347
  msgstr "Tweetar no Twitter"
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1200
350
  msgid "Pin on Pinterest"
351
  msgstr ""
352
 
353
- #: ../includes/class.yith-wcwl-admin-init.php:1201
354
  #, fuzzy
355
  msgid "Show \"Pin on Pinterest\" button"
356
  msgstr "Texto do botão \"Adicionar ao carrinho \""
357
 
358
- #: ../includes/class.yith-wcwl-admin-init.php:1208
359
  msgid "Share on Google+"
360
  msgstr "Comparilhar no Google+"
361
 
362
- #: ../includes/class.yith-wcwl-admin-init.php:1209
363
  #, fuzzy
364
  msgid "Show \"Share on Google+\" button"
365
  msgstr "Compartilhar no Facebook"
366
 
367
- #: ../includes/class.yith-wcwl-admin-init.php:1216
368
  msgid "Share by Email"
369
  msgstr ""
370
 
371
- #: ../includes/class.yith-wcwl-admin-init.php:1217
372
  #, fuzzy
373
  msgid "Show \"Share by Email\" button"
374
  msgstr "Texto do botão \"Adicionar ao carrinho \""
375
 
376
- #: ../includes/class.yith-wcwl-admin-init.php:1224
377
  #, fuzzy
378
  msgid "Social title"
379
  msgstr "Título Mídias Sociais"
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1232
382
  #, fuzzy
383
  msgid "Social text"
384
  msgstr "Texto Mídias Sociais"
385
 
386
- #: ../includes/class.yith-wcwl-admin-init.php:1233
387
  #, fuzzy
388
  msgid ""
389
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -392,115 +396,115 @@ msgstr ""
392
  "Vai ser usado por Facebook, Twitter e Pinterest. Use <strong>%wishlist_url%</"
393
  "strong> "
394
 
395
- #: ../includes/class.yith-wcwl-admin-init.php:1241
396
  #, fuzzy
397
  msgid "Social image URL"
398
  msgstr "Url para compartilhamento"
399
 
400
- #: ../includes/class.yith-wcwl-admin-init.php:1256
401
  #, php-format
402
  msgid ""
403
  "If you want to take advantage of this feature, you could consider to "
404
  "purchase the %s."
405
  msgstr ""
406
 
407
- #: ../includes/class.yith-wcwl-admin-init.php:1261
408
  msgid "YITH WooCommerce Frequently Bought Together Integration"
409
  msgstr ""
410
 
411
- #: ../includes/class.yith-wcwl-admin-init.php:1268
412
  msgid "Enable slider in wishlist"
413
  msgstr ""
414
 
415
- #: ../includes/class.yith-wcwl-admin-init.php:1269
416
  #, php-format
417
  msgid ""
418
  "Choose to enable product slider in wishlist page with linked products (<a "
419
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
420
  msgstr ""
421
 
422
- #: ../includes/class.yith-wcwl-admin-init.php:1306
423
  #, fuzzy
424
  msgid "\"Add to wishlist\" button"
425
  msgstr "Texto do botão \"Adicionar aos meus desejos\""
426
 
427
- #: ../includes/class.yith-wcwl-admin-init.php:1309
428
- #: ../includes/class.yith-wcwl-admin-init.php:1327
429
- #: ../includes/class.yith-wcwl-admin-init.php:1345
430
- #: ../includes/class.yith-wcwl-admin-init.php:1363
431
- #: ../includes/class.yith-wcwl-admin-init.php:1381
432
- msgid "Background"
433
- msgstr ""
434
-
435
  #: ../includes/class.yith-wcwl-admin-init.php:1310
436
  #: ../includes/class.yith-wcwl-admin-init.php:1328
437
  #: ../includes/class.yith-wcwl-admin-init.php:1346
438
  #: ../includes/class.yith-wcwl-admin-init.php:1364
439
- #: ../includes/class.yith-wcwl-admin-init.php:1382
440
- msgid "Text"
441
  msgstr ""
442
 
 
443
  #: ../includes/class.yith-wcwl-admin-init.php:1311
444
  #: ../includes/class.yith-wcwl-admin-init.php:1329
445
  #: ../includes/class.yith-wcwl-admin-init.php:1347
446
  #: ../includes/class.yith-wcwl-admin-init.php:1365
447
- #: ../includes/class.yith-wcwl-admin-init.php:1383
448
- msgid "Border"
449
  msgstr ""
450
 
451
- #: ../includes/class.yith-wcwl-admin-init.php:1318
452
- #: ../includes/class.yith-wcwl-admin-init.php:1336
453
- #: ../includes/class.yith-wcwl-admin-init.php:1354
454
- #: ../includes/class.yith-wcwl-admin-init.php:1372
455
- msgid "Background (hover)"
 
456
  msgstr ""
457
 
 
458
  #: ../includes/class.yith-wcwl-admin-init.php:1319
459
  #: ../includes/class.yith-wcwl-admin-init.php:1337
460
  #: ../includes/class.yith-wcwl-admin-init.php:1355
461
- #: ../includes/class.yith-wcwl-admin-init.php:1373
462
- msgid "Text (hover)"
463
  msgstr ""
464
 
 
465
  #: ../includes/class.yith-wcwl-admin-init.php:1320
466
  #: ../includes/class.yith-wcwl-admin-init.php:1338
467
  #: ../includes/class.yith-wcwl-admin-init.php:1356
468
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
469
  msgid "Border (hover)"
470
  msgstr ""
471
 
472
- #: ../includes/class.yith-wcwl-admin-init.php:1324
473
  #, fuzzy
474
  msgid "\"Add to Cart\" button"
475
  msgstr "Texto do botão \"Adicionar ao carrinho \""
476
 
477
- #: ../includes/class.yith-wcwl-admin-init.php:1342
478
  msgid "\"Style 1\" button"
479
  msgstr ""
480
 
481
- #: ../includes/class.yith-wcwl-admin-init.php:1360
482
  msgid "\"Style 2\" button"
483
  msgstr ""
484
 
485
- #: ../includes/class.yith-wcwl-admin-init.php:1378
486
  #, fuzzy
487
  msgid "Wishlist table"
488
  msgstr "Titulo da lista de desejos"
489
 
490
- #: ../includes/class.yith-wcwl-admin-init.php:1387
491
  msgid "Headers"
492
  msgstr ""
493
 
494
- #: ../includes/class.yith-wcwl-admin-init.php:1390
495
  msgid "Background color"
496
  msgstr ""
497
 
498
- #: ../includes/class.yith-wcwl-admin-init.php:1480
499
  #, fuzzy
500
  msgid "Wishlist Activated"
501
  msgstr "Titulo da lista de desejos"
502
 
503
- #: ../includes/class.yith-wcwl-admin-init.php:1481
504
  #, php-format
505
  msgid ""
506
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -509,12 +513,12 @@ msgid ""
509
  "options, <a href=\"%s\">discover it now</a>."
510
  msgstr ""
511
 
512
- #: ../includes/class.yith-wcwl-admin-init.php:1492
513
  #, fuzzy
514
  msgid "Wishlist Updated"
515
  msgstr "Meus desejos"
516
 
517
- #: ../includes/class.yith-wcwl-admin-init.php:1493
518
  #, php-format
519
  msgid ""
520
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -524,13 +528,13 @@ msgid ""
524
  "\">discover the PREMIUM version.</a>"
525
  msgstr ""
526
 
527
- #: ../includes/class.yith-wcwl-init.php:361
528
  msgid ""
529
  "We are sorry, but this feature is available only if cookies are enabled on "
530
  "your browser."
531
  msgstr ""
532
 
533
- #: ../includes/class.yith-wcwl-init.php:362
534
  #, fuzzy
535
  msgid "Product correctly added to cart"
536
  msgstr "Produto adicionado ao carrinho."
@@ -601,13 +605,13 @@ msgstr "Nenhum produto foi adicionado à lista de desejos"
601
  msgid "An error as occurred."
602
  msgstr ""
603
 
604
- #: ../init.php:133
605
  msgid ""
606
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
607
  "WooCommerce in order to work."
608
  msgstr ""
609
 
610
- #: ../init.php:143
611
  msgid ""
612
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
613
  "are using the premium one."
@@ -864,6 +868,10 @@ msgstr ""
864
  msgid "Google+"
865
  msgstr "Comparilhar no Google+"
866
 
 
 
 
 
867
  #: ../templates/share.php:40
868
  msgid "Email"
869
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: pt_BR\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de Desejos"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "Configurações"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "Cores"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr "Meus desejos"
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr "Conteúdo da página: [yith_wcwl_wishlist]"
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr "Opções gerais"
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr "Ativar Lista de Desejos"
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, fuzzy, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
114
  "Ativar todas opções. <strong> Saiba que a página de desejos é selecionada na "
115
  "seção Páginas. </strong>. <a href=\"%s\" target=\"_blank\">Documentação</a>."
116
 
117
+ #: ../includes/class.yith-wcwl-admin-init.php:947
118
  #, fuzzy
119
  msgid "Default wishlist title"
120
  msgstr "Titulo da lista de desejos"
121
 
122
+ #: ../includes/class.yith-wcwl-admin-init.php:949
123
+ #: ../includes/class.yith-wcwl-admin-init.php:950
124
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
125
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
126
  #, php-format
127
  msgid "My wishlist on %s"
128
  msgstr "Minha lista de desejos em %s"
129
 
130
+ #: ../includes/class.yith-wcwl-admin-init.php:958
131
  msgid "Position"
132
  msgstr "Posição"
133
 
134
+ #: ../includes/class.yith-wcwl-admin-init.php:959
135
  #, fuzzy
136
  msgid ""
137
  "You can add the button in variable products only after the \"Add to Cart\" "
140
  "Em produtos variáveis você pode adicionar isto somenteapós \"Adcionar ao "
141
  "Carrinho\" ou usar o shortcode [yith_wcwl_add_to_wishlist]."
142
 
143
+ #: ../includes/class.yith-wcwl-admin-init.php:965
144
  msgid "After \"Add to cart\""
145
  msgstr "Após \" Adicionar ao carrinho \""
146
 
147
+ #: ../includes/class.yith-wcwl-admin-init.php:966
148
  msgid "After thumbnails"
149
  msgstr "Após miniaturas"
150
 
151
+ #: ../includes/class.yith-wcwl-admin-init.php:967
152
  msgid "After summary"
153
  msgstr "Após sumário"
154
 
155
+ #: ../includes/class.yith-wcwl-admin-init.php:968
156
  msgid "Use shortcode"
157
  msgstr "Usar shortcode"
158
 
159
+ #: ../includes/class.yith-wcwl-admin-init.php:973
160
  msgid "Redirect to cart"
161
  msgstr "Redirecionar para o carrinho"
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:974
164
  msgid ""
165
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
166
  "page."
168
  "Redirecionar para a página de carrinho se o botão \" Adcionar ao carrinho \" "
169
  "estiver clicado na página de lista de desejos."
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:981
172
  msgid "Remove if added to the cart"
173
  msgstr "Remover se adcionado ao carrinho"
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:982
176
  #, fuzzy
177
  msgid "Remove the product from the wishlist if it has been added to the cart."
178
  msgstr ""
179
  "Remover o produto da lista, se a mesma tiver sido adicionada ao carrinho."
180
 
181
+ #: ../includes/class.yith-wcwl-admin-init.php:989
182
  msgid "\"Add to Wishlist\" text"
183
  msgstr "Texto \" Adcionar a Lista de Desejos\""
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:991
186
+ #: ../includes/class.yith-wcwl-admin-init.php:992
187
  msgid "Add to Wishlist"
188
  msgstr "Adicionar aos meus desejos"
189
 
190
+ #: ../includes/class.yith-wcwl-admin-init.php:997
191
  #, fuzzy
192
  msgid "\"Browse wishlist\" text"
193
  msgstr "Veja sua lista de desejos!"
194
 
195
+ #: ../includes/class.yith-wcwl-admin-init.php:999
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
197
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
198
  msgid "Browse Wishlist"
199
  msgstr "Veja sua lista de desejos!"
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
202
  #, fuzzy
203
  msgid "\"Product already in wishlist\" text"
204
  msgstr "Produto já na lista de desejos."
205
 
206
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
208
  #: ../includes/class.yith-wcwl-ui.php:82
209
  msgid "The product is already in the wishlist!"
210
  msgstr "Esse produto já se encontra na sua lista de desejos!"
211
 
212
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
213
  #, fuzzy
214
  msgid "\"Product added\" text"
215
  msgstr "Produto adicionado!"
216
 
217
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
219
  #: ../includes/class.yith-wcwl-ui.php:81
220
  msgid "Product added!"
221
  msgstr "Produto adicionado!"
222
 
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
224
  msgid "\"Add to Cart\" text"
225
  msgstr "Texto \" Adicionar ao Carrinho\""
226
 
227
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
228
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
229
  msgid "Add to Cart"
230
  msgstr "Adcionar ao Carrinho"
231
 
232
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
233
  #, fuzzy
234
  msgid "Show Unit price"
235
  msgstr "Preço unitário"
236
 
237
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
238
  msgid "Show unit price for each product in wishlist"
239
  msgstr ""
240
 
241
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
242
  #, fuzzy
243
  msgid "Show \"Add to Cart\" button"
244
  msgstr "Texto do botão \"Adicionar ao carrinho \""
245
 
246
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
247
  #, fuzzy
248
  msgid "Show \"Add to Cart\" button for each product in wishlist"
249
  msgstr "Fundo do do botão \"Adicionar ao carrinho \""
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
252
  #, fuzzy
253
  msgid "Show Stock status"
254
  msgstr "Status do estoque"
255
 
256
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
257
  msgid ""
258
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
259
  msgstr ""
260
 
261
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
262
  msgid "Show Date of addition"
263
  msgstr ""
264
 
265
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
266
  #, fuzzy
267
  msgid "Show the date when users have added a product to the wishlist"
268
  msgstr "Oops! Ocorreu um erro ao adicionar o produto à lista de desejos."
269
 
270
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
271
  #, fuzzy
272
  msgid "Add second remove button"
273
  msgstr "Texto do botão \"Adicionar ao carrinho \""
274
 
275
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
276
  msgid "Add a second remove button in the last column, with extended label"
277
  msgstr ""
278
 
279
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
280
  msgid "Styles"
281
  msgstr "Estilos"
282
 
283
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
284
  msgid "Use buttons"
285
  msgstr "Usar botões"
286
 
287
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
288
  #, fuzzy
289
  msgid "Use buttons instead of simple anchors."
290
  msgstr "Usar botões ao invés de simples âncoras."
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
293
  msgid "Custom CSS"
294
  msgstr "CSS Customizado"
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
297
  msgid "Use theme style"
298
  msgstr "Usar estilo do tema"
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
301
  msgid "Use the theme style."
302
  msgstr "Usar o estilo do tema."
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
305
  #, fuzzy
306
  msgid "Rounded buttons"
307
  msgstr "Usar botões"
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
310
  #, fuzzy
311
  msgid "Make button corners rounded"
312
  msgstr "Faça botões do canto arredondado"
313
 
314
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
315
  msgid "\"Add to Wishlist\" icon"
316
  msgstr "Ícone \"Adcionar aos meus desejos\" "
317
 
318
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
319
  msgid "Add an icon to the \"Add to Wishlist\" button"
320
  msgstr "Adicionar um ícone ao botão \"Adcionar aos meus desejos\""
321
 
322
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
323
  msgid "\"Add to Cart\" icon"
324
  msgstr "Ícone \"Adicionar ao Carrinho\""
325
 
326
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
327
  msgid "Add an icon to the \"Add to Cart\" button"
328
  msgstr "Adicionar um ícone ao botão \"Adcionar ao carrinho\""
329
 
330
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
331
  #, fuzzy
332
  msgid "Social Networks & Share"
333
  msgstr "Social &amp; Compartilhamento"
334
 
335
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
336
  msgid "Share on Facebook"
337
  msgstr "Compartilhar no Facebook"
338
 
339
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
340
  #, fuzzy
341
  msgid "Show \"Share on Facebook\" button"
342
  msgstr "Compartilhar no Facebook"
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
345
  msgid "Tweet on Twitter"
346
  msgstr "Tweetar no Twitter"
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
349
  #, fuzzy
350
  msgid "Show \"Tweet on Twitter\" button"
351
  msgstr "Tweetar no Twitter"
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
354
  msgid "Pin on Pinterest"
355
  msgstr ""
356
 
357
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
358
  #, fuzzy
359
  msgid "Show \"Pin on Pinterest\" button"
360
  msgstr "Texto do botão \"Adicionar ao carrinho \""
361
 
362
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
363
  msgid "Share on Google+"
364
  msgstr "Comparilhar no Google+"
365
 
366
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
367
  #, fuzzy
368
  msgid "Show \"Share on Google+\" button"
369
  msgstr "Compartilhar no Facebook"
370
 
371
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
372
  msgid "Share by Email"
373
  msgstr ""
374
 
375
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
376
  #, fuzzy
377
  msgid "Show \"Share by Email\" button"
378
  msgstr "Texto do botão \"Adicionar ao carrinho \""
379
 
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
381
  #, fuzzy
382
  msgid "Social title"
383
  msgstr "Título Mídias Sociais"
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
386
  #, fuzzy
387
  msgid "Social text"
388
  msgstr "Texto Mídias Sociais"
389
 
390
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
391
  #, fuzzy
392
  msgid ""
393
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
396
  "Vai ser usado por Facebook, Twitter e Pinterest. Use <strong>%wishlist_url%</"
397
  "strong> "
398
 
399
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
400
  #, fuzzy
401
  msgid "Social image URL"
402
  msgstr "Url para compartilhamento"
403
 
404
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
405
  #, php-format
406
  msgid ""
407
  "If you want to take advantage of this feature, you could consider to "
408
  "purchase the %s."
409
  msgstr ""
410
 
411
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
412
  msgid "YITH WooCommerce Frequently Bought Together Integration"
413
  msgstr ""
414
 
415
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
416
  msgid "Enable slider in wishlist"
417
  msgstr ""
418
 
419
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
420
  #, php-format
421
  msgid ""
422
  "Choose to enable product slider in wishlist page with linked products (<a "
423
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
424
  msgstr ""
425
 
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
427
  #, fuzzy
428
  msgid "\"Add to wishlist\" button"
429
  msgstr "Texto do botão \"Adicionar aos meus desejos\""
430
 
431
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
432
  #: ../includes/class.yith-wcwl-admin-init.php:1310
433
  #: ../includes/class.yith-wcwl-admin-init.php:1328
434
  #: ../includes/class.yith-wcwl-admin-init.php:1346
435
  #: ../includes/class.yith-wcwl-admin-init.php:1364
436
+ msgid "Background"
 
437
  msgstr ""
438
 
439
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
440
  #: ../includes/class.yith-wcwl-admin-init.php:1311
441
  #: ../includes/class.yith-wcwl-admin-init.php:1329
442
  #: ../includes/class.yith-wcwl-admin-init.php:1347
443
  #: ../includes/class.yith-wcwl-admin-init.php:1365
444
+ msgid "Text"
 
445
  msgstr ""
446
 
447
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
451
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
452
+ msgid "Border"
453
  msgstr ""
454
 
455
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
456
  #: ../includes/class.yith-wcwl-admin-init.php:1319
457
  #: ../includes/class.yith-wcwl-admin-init.php:1337
458
  #: ../includes/class.yith-wcwl-admin-init.php:1355
459
+ msgid "Background (hover)"
 
460
  msgstr ""
461
 
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
463
  #: ../includes/class.yith-wcwl-admin-init.php:1320
464
  #: ../includes/class.yith-wcwl-admin-init.php:1338
465
  #: ../includes/class.yith-wcwl-admin-init.php:1356
466
+ msgid "Text (hover)"
467
+ msgstr ""
468
+
469
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
471
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
472
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
473
  msgid "Border (hover)"
474
  msgstr ""
475
 
476
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
477
  #, fuzzy
478
  msgid "\"Add to Cart\" button"
479
  msgstr "Texto do botão \"Adicionar ao carrinho \""
480
 
481
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
482
  msgid "\"Style 1\" button"
483
  msgstr ""
484
 
485
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
486
  msgid "\"Style 2\" button"
487
  msgstr ""
488
 
489
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
490
  #, fuzzy
491
  msgid "Wishlist table"
492
  msgstr "Titulo da lista de desejos"
493
 
494
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
495
  msgid "Headers"
496
  msgstr ""
497
 
498
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
499
  msgid "Background color"
500
  msgstr ""
501
 
502
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
503
  #, fuzzy
504
  msgid "Wishlist Activated"
505
  msgstr "Titulo da lista de desejos"
506
 
507
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
508
  #, php-format
509
  msgid ""
510
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
513
  "options, <a href=\"%s\">discover it now</a>."
514
  msgstr ""
515
 
516
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
517
  #, fuzzy
518
  msgid "Wishlist Updated"
519
  msgstr "Meus desejos"
520
 
521
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
522
  #, php-format
523
  msgid ""
524
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
528
  "\">discover the PREMIUM version.</a>"
529
  msgstr ""
530
 
531
+ #: ../includes/class.yith-wcwl-init.php:380
532
  msgid ""
533
  "We are sorry, but this feature is available only if cookies are enabled on "
534
  "your browser."
535
  msgstr ""
536
 
537
+ #: ../includes/class.yith-wcwl-init.php:381
538
  #, fuzzy
539
  msgid "Product correctly added to cart"
540
  msgstr "Produto adicionado ao carrinho."
605
  msgid "An error as occurred."
606
  msgstr ""
607
 
608
+ #: ../init.php:135
609
  msgid ""
610
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
611
  "WooCommerce in order to work."
612
  msgstr ""
613
 
614
+ #: ../init.php:145
615
  msgid ""
616
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
617
  "are using the premium one."
868
  msgid "Google+"
869
  msgstr "Comparilhar no Google+"
870
 
871
+ #: ../templates/share.php:40
872
+ msgid "I wanted you to see this site"
873
+ msgstr ""
874
+
875
  #: ../templates/share.php:40
876
  msgid "Email"
877
  msgstr ""
languages/yith-woocommerce-wishlist-pt_PT.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-pt_PT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: pt_PT\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de Desejos"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr "Configurações"
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr "Cores"
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr "Meus desejos"
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr "Conteúdo da página: [yith_wcwl_wishlist]"
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr "Opções gerais"
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr "Ativar Lista de Desejos"
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, fuzzy, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -110,24 +114,24 @@ msgstr ""
110
  "Ativar todas opções. <strong> Saiba que a página de desejos é selecionada na "
111
  "seção Páginas. </strong>. <a href=\"%s\" target=\"_blank\">Documentação</a>."
112
 
113
- #: ../includes/class.yith-wcwl-admin-init.php:964
114
  #, fuzzy
115
  msgid "Default wishlist title"
116
  msgstr "Titulo da lista de desejos"
117
 
118
- #: ../includes/class.yith-wcwl-admin-init.php:966
119
- #: ../includes/class.yith-wcwl-admin-init.php:967
120
- #: ../includes/class.yith-wcwl-admin-init.php:1226
121
- #: ../includes/class.yith-wcwl-admin-init.php:1227
122
  #, php-format
123
  msgid "My wishlist on %s"
124
  msgstr "Minha lista de desejos em %s"
125
 
126
- #: ../includes/class.yith-wcwl-admin-init.php:975
127
  msgid "Position"
128
  msgstr "Posição"
129
 
130
- #: ../includes/class.yith-wcwl-admin-init.php:976
131
  #, fuzzy
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
@@ -136,27 +140,27 @@ msgstr ""
136
  "Em produtos variáveis você pode adicionar isto somenteapós \"Adcionar ao "
137
  "Carrinho\" ou usar o shortcode [yith_wcwl_add_to_wishlist]."
138
 
139
- #: ../includes/class.yith-wcwl-admin-init.php:982
140
  msgid "After \"Add to cart\""
141
  msgstr "Após \" Adicionar ao carrinho \""
142
 
143
- #: ../includes/class.yith-wcwl-admin-init.php:983
144
  msgid "After thumbnails"
145
  msgstr "Após miniaturas"
146
 
147
- #: ../includes/class.yith-wcwl-admin-init.php:984
148
  msgid "After summary"
149
  msgstr "Após sumário"
150
 
151
- #: ../includes/class.yith-wcwl-admin-init.php:985
152
  msgid "Use shortcode"
153
  msgstr "Usar shortcode"
154
 
155
- #: ../includes/class.yith-wcwl-admin-init.php:990
156
  msgid "Redirect to cart"
157
  msgstr "Redirecionar para o carrinho"
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:991
160
  msgid ""
161
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
162
  "page."
@@ -164,222 +168,222 @@ msgstr ""
164
  "Redirecionar para a página de carrinho se o botão \" Adcionar ao carrinho \" "
165
  "estiver clicado na página de lista de desejos."
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:998
168
  msgid "Remove if added to the cart"
169
  msgstr "Remover se adcionado ao carrinho"
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:999
172
  #, fuzzy
173
  msgid "Remove the product from the wishlist if it has been added to the cart."
174
  msgstr ""
175
  "Remover o produto da lista, se a mesma tiver sido adicionada ao carrinho."
176
 
177
- #: ../includes/class.yith-wcwl-admin-init.php:1006
178
  msgid "\"Add to Wishlist\" text"
179
  msgstr "Texto \" Adcionar a Lista de Desejos\""
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1008
182
- #: ../includes/class.yith-wcwl-admin-init.php:1009
183
  msgid "Add to Wishlist"
184
  msgstr "Adicionar aos meus desejos"
185
 
186
- #: ../includes/class.yith-wcwl-admin-init.php:1014
187
  #, fuzzy
188
  msgid "\"Browse wishlist\" text"
189
  msgstr "Veja sua lista de desejos!"
190
 
191
- #: ../includes/class.yith-wcwl-admin-init.php:1016
192
- #: ../includes/class.yith-wcwl-admin-init.php:1017
193
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
194
  msgid "Browse Wishlist"
195
  msgstr "Veja sua lista de desejos!"
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1022
198
  #, fuzzy
199
  msgid "\"Product already in wishlist\" text"
200
  msgstr "Produto já na lista de desejos."
201
 
202
- #: ../includes/class.yith-wcwl-admin-init.php:1024
203
- #: ../includes/class.yith-wcwl-admin-init.php:1025
204
  #: ../includes/class.yith-wcwl-ui.php:82
205
  msgid "The product is already in the wishlist!"
206
  msgstr "Esse produto já se encontra na sua lista de desejos!"
207
 
208
- #: ../includes/class.yith-wcwl-admin-init.php:1030
209
  #, fuzzy
210
  msgid "\"Product added\" text"
211
  msgstr "Produto adicionado!"
212
 
213
- #: ../includes/class.yith-wcwl-admin-init.php:1032
214
- #: ../includes/class.yith-wcwl-admin-init.php:1033
215
  #: ../includes/class.yith-wcwl-ui.php:81
216
  msgid "Product added!"
217
  msgstr "Produto adicionado!"
218
 
219
- #: ../includes/class.yith-wcwl-admin-init.php:1038
220
  msgid "\"Add to Cart\" text"
221
  msgstr "Texto \" Adicionar ao Carrinho\""
222
 
223
- #: ../includes/class.yith-wcwl-admin-init.php:1040
224
- #: ../includes/class.yith-wcwl-admin-init.php:1041
225
  msgid "Add to Cart"
226
  msgstr "Adcionar ao Carrinho"
227
 
228
- #: ../includes/class.yith-wcwl-admin-init.php:1046
229
  #, fuzzy
230
  msgid "Show Unit price"
231
  msgstr "Preço unitário"
232
 
233
- #: ../includes/class.yith-wcwl-admin-init.php:1047
234
  msgid "Show unit price for each product in wishlist"
235
  msgstr ""
236
 
237
- #: ../includes/class.yith-wcwl-admin-init.php:1055
238
  #, fuzzy
239
  msgid "Show \"Add to Cart\" button"
240
  msgstr "Texto do botão \"Adicionar ao carrinho \""
241
 
242
- #: ../includes/class.yith-wcwl-admin-init.php:1056
243
  #, fuzzy
244
  msgid "Show \"Add to Cart\" button for each product in wishlist"
245
  msgstr "Fundo do do botão \"Adicionar ao carrinho \""
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1064
248
  msgid "Show Stock status"
249
  msgstr "Status do stock"
250
 
251
- #: ../includes/class.yith-wcwl-admin-init.php:1065
252
  msgid ""
253
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
254
  msgstr ""
255
 
256
- #: ../includes/class.yith-wcwl-admin-init.php:1073
257
  msgid "Show Date of addition"
258
  msgstr ""
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1074
261
  #, fuzzy
262
  msgid "Show the date when users have added a product to the wishlist"
263
  msgstr "Oops! Ocorreu um erro ao adicionar o produto à lista de desejos."
264
 
265
- #: ../includes/class.yith-wcwl-admin-init.php:1082
266
  #, fuzzy
267
  msgid "Add second remove button"
268
  msgstr "Texto do botão \"Adicionar ao carrinho \""
269
 
270
- #: ../includes/class.yith-wcwl-admin-init.php:1083
271
  msgid "Add a second remove button in the last column, with extended label"
272
  msgstr ""
273
 
274
- #: ../includes/class.yith-wcwl-admin-init.php:1106
275
  msgid "Styles"
276
  msgstr "Estilos"
277
 
278
- #: ../includes/class.yith-wcwl-admin-init.php:1113
279
  msgid "Use buttons"
280
  msgstr "Usar botões"
281
 
282
- #: ../includes/class.yith-wcwl-admin-init.php:1114
283
  #, fuzzy
284
  msgid "Use buttons instead of simple anchors."
285
  msgstr "Usar botões ao invés de simples âncoras."
286
 
287
- #: ../includes/class.yith-wcwl-admin-init.php:1121
288
  msgid "Custom CSS"
289
  msgstr "CSS Customizado"
290
 
291
- #: ../includes/class.yith-wcwl-admin-init.php:1129
292
  msgid "Use theme style"
293
  msgstr "Usar estilo do tema"
294
 
295
- #: ../includes/class.yith-wcwl-admin-init.php:1130
296
  msgid "Use the theme style."
297
  msgstr "Usar o estilo do tema."
298
 
299
- #: ../includes/class.yith-wcwl-admin-init.php:1137
300
  #, fuzzy
301
  msgid "Rounded buttons"
302
  msgstr "Usar botões"
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1138
305
  #, fuzzy
306
  msgid "Make button corners rounded"
307
  msgstr "Faça botões do canto arredondado"
308
 
309
- #: ../includes/class.yith-wcwl-admin-init.php:1145
310
  msgid "\"Add to Wishlist\" icon"
311
  msgstr "Ícone \"Adcionar aos meus desejos\" "
312
 
313
- #: ../includes/class.yith-wcwl-admin-init.php:1146
314
  msgid "Add an icon to the \"Add to Wishlist\" button"
315
  msgstr "Adicionar um ícone ao botão \"Adcionar aos meus desejos\""
316
 
317
- #: ../includes/class.yith-wcwl-admin-init.php:1157
318
  msgid "\"Add to Cart\" icon"
319
  msgstr "Ícone \"Adicionar ao Carrinho\""
320
 
321
- #: ../includes/class.yith-wcwl-admin-init.php:1158
322
  msgid "Add an icon to the \"Add to Cart\" button"
323
  msgstr "Adicionar um ícone ao botão \"Adcionar ao carrinho\""
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1177
326
  #, fuzzy
327
  msgid "Social Networks & Share"
328
  msgstr "Social &amp; Compartilhamento"
329
 
330
- #: ../includes/class.yith-wcwl-admin-init.php:1184
331
  msgid "Share on Facebook"
332
  msgstr "Partilhar no Facebook"
333
 
334
- #: ../includes/class.yith-wcwl-admin-init.php:1185
335
  msgid "Show \"Share on Facebook\" button"
336
  msgstr "Partilhar no Facebook"
337
 
338
- #: ../includes/class.yith-wcwl-admin-init.php:1192
339
  msgid "Tweet on Twitter"
340
  msgstr "Tweetar no Twitter"
341
 
342
- #: ../includes/class.yith-wcwl-admin-init.php:1193
343
  #, fuzzy
344
  msgid "Show \"Tweet on Twitter\" button"
345
  msgstr "Tweetar no Twitter"
346
 
347
- #: ../includes/class.yith-wcwl-admin-init.php:1200
348
  msgid "Pin on Pinterest"
349
  msgstr ""
350
 
351
- #: ../includes/class.yith-wcwl-admin-init.php:1201
352
  #, fuzzy
353
  msgid "Show \"Pin on Pinterest\" button"
354
  msgstr "Texto do botão \"Adicionar ao carrinho \""
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1208
357
  msgid "Share on Google+"
358
  msgstr "Partilhar no Google+"
359
 
360
- #: ../includes/class.yith-wcwl-admin-init.php:1209
361
  #, fuzzy
362
  msgid "Show \"Share on Google+\" button"
363
  msgstr "Partilhar no Facebook"
364
 
365
- #: ../includes/class.yith-wcwl-admin-init.php:1216
366
  msgid "Share by Email"
367
  msgstr ""
368
 
369
- #: ../includes/class.yith-wcwl-admin-init.php:1217
370
  #, fuzzy
371
  msgid "Show \"Share by Email\" button"
372
  msgstr "Texto do botão \"Adicionar ao carrinho \""
373
 
374
- #: ../includes/class.yith-wcwl-admin-init.php:1224
375
  msgid "Social title"
376
  msgstr "Título Redes Sociais"
377
 
378
- #: ../includes/class.yith-wcwl-admin-init.php:1232
379
  msgid "Social text"
380
  msgstr "Texto Redes Sociais"
381
 
382
- #: ../includes/class.yith-wcwl-admin-init.php:1233
383
  #, fuzzy
384
  msgid ""
385
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -388,114 +392,114 @@ msgstr ""
388
  "Vai ser usado por Facebook, Twitter e Pinterest. Use <strong>%wishlist_url%</"
389
  "strong> "
390
 
391
- #: ../includes/class.yith-wcwl-admin-init.php:1241
392
  msgid "Social image URL"
393
  msgstr "Url para partilhar"
394
 
395
- #: ../includes/class.yith-wcwl-admin-init.php:1256
396
  #, php-format
397
  msgid ""
398
  "If you want to take advantage of this feature, you could consider to "
399
  "purchase the %s."
400
  msgstr ""
401
 
402
- #: ../includes/class.yith-wcwl-admin-init.php:1261
403
  msgid "YITH WooCommerce Frequently Bought Together Integration"
404
  msgstr ""
405
 
406
- #: ../includes/class.yith-wcwl-admin-init.php:1268
407
  msgid "Enable slider in wishlist"
408
  msgstr ""
409
 
410
- #: ../includes/class.yith-wcwl-admin-init.php:1269
411
  #, php-format
412
  msgid ""
413
  "Choose to enable product slider in wishlist page with linked products (<a "
414
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
415
  msgstr ""
416
 
417
- #: ../includes/class.yith-wcwl-admin-init.php:1306
418
  #, fuzzy
419
  msgid "\"Add to wishlist\" button"
420
  msgstr "Texto do botão \"Adicionar aos meus desejos\""
421
 
422
- #: ../includes/class.yith-wcwl-admin-init.php:1309
423
- #: ../includes/class.yith-wcwl-admin-init.php:1327
424
- #: ../includes/class.yith-wcwl-admin-init.php:1345
425
- #: ../includes/class.yith-wcwl-admin-init.php:1363
426
- #: ../includes/class.yith-wcwl-admin-init.php:1381
427
- msgid "Background"
428
- msgstr ""
429
-
430
  #: ../includes/class.yith-wcwl-admin-init.php:1310
431
  #: ../includes/class.yith-wcwl-admin-init.php:1328
432
  #: ../includes/class.yith-wcwl-admin-init.php:1346
433
  #: ../includes/class.yith-wcwl-admin-init.php:1364
434
- #: ../includes/class.yith-wcwl-admin-init.php:1382
435
- msgid "Text"
436
  msgstr ""
437
 
 
438
  #: ../includes/class.yith-wcwl-admin-init.php:1311
439
  #: ../includes/class.yith-wcwl-admin-init.php:1329
440
  #: ../includes/class.yith-wcwl-admin-init.php:1347
441
  #: ../includes/class.yith-wcwl-admin-init.php:1365
442
- #: ../includes/class.yith-wcwl-admin-init.php:1383
443
- msgid "Border"
444
  msgstr ""
445
 
446
- #: ../includes/class.yith-wcwl-admin-init.php:1318
447
- #: ../includes/class.yith-wcwl-admin-init.php:1336
448
- #: ../includes/class.yith-wcwl-admin-init.php:1354
449
- #: ../includes/class.yith-wcwl-admin-init.php:1372
450
- msgid "Background (hover)"
 
451
  msgstr ""
452
 
 
453
  #: ../includes/class.yith-wcwl-admin-init.php:1319
454
  #: ../includes/class.yith-wcwl-admin-init.php:1337
455
  #: ../includes/class.yith-wcwl-admin-init.php:1355
456
- #: ../includes/class.yith-wcwl-admin-init.php:1373
457
- msgid "Text (hover)"
458
  msgstr ""
459
 
 
460
  #: ../includes/class.yith-wcwl-admin-init.php:1320
461
  #: ../includes/class.yith-wcwl-admin-init.php:1338
462
  #: ../includes/class.yith-wcwl-admin-init.php:1356
463
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
464
  msgid "Border (hover)"
465
  msgstr ""
466
 
467
- #: ../includes/class.yith-wcwl-admin-init.php:1324
468
  #, fuzzy
469
  msgid "\"Add to Cart\" button"
470
  msgstr "Texto do botão \"Adicionar ao carrinho \""
471
 
472
- #: ../includes/class.yith-wcwl-admin-init.php:1342
473
  msgid "\"Style 1\" button"
474
  msgstr ""
475
 
476
- #: ../includes/class.yith-wcwl-admin-init.php:1360
477
  msgid "\"Style 2\" button"
478
  msgstr ""
479
 
480
- #: ../includes/class.yith-wcwl-admin-init.php:1378
481
  #, fuzzy
482
  msgid "Wishlist table"
483
  msgstr "Titulo da lista de desejos"
484
 
485
- #: ../includes/class.yith-wcwl-admin-init.php:1387
486
  msgid "Headers"
487
  msgstr ""
488
 
489
- #: ../includes/class.yith-wcwl-admin-init.php:1390
490
  msgid "Background color"
491
  msgstr ""
492
 
493
- #: ../includes/class.yith-wcwl-admin-init.php:1480
494
  #, fuzzy
495
  msgid "Wishlist Activated"
496
  msgstr "Titulo da lista de desejos"
497
 
498
- #: ../includes/class.yith-wcwl-admin-init.php:1481
499
  #, php-format
500
  msgid ""
501
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -504,12 +508,12 @@ msgid ""
504
  "options, <a href=\"%s\">discover it now</a>."
505
  msgstr ""
506
 
507
- #: ../includes/class.yith-wcwl-admin-init.php:1492
508
  #, fuzzy
509
  msgid "Wishlist Updated"
510
  msgstr "Meus desejos"
511
 
512
- #: ../includes/class.yith-wcwl-admin-init.php:1493
513
  #, php-format
514
  msgid ""
515
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -519,13 +523,13 @@ msgid ""
519
  "\">discover the PREMIUM version.</a>"
520
  msgstr ""
521
 
522
- #: ../includes/class.yith-wcwl-init.php:361
523
  msgid ""
524
  "We are sorry, but this feature is available only if cookies are enabled on "
525
  "your browser."
526
  msgstr ""
527
 
528
- #: ../includes/class.yith-wcwl-init.php:362
529
  #, fuzzy
530
  msgid "Product correctly added to cart"
531
  msgstr "Produto adicionado ao carrinho."
@@ -596,13 +600,13 @@ msgstr "Nenhum produto foi adicionado à lista de desejos"
596
  msgid "An error as occurred."
597
  msgstr ""
598
 
599
- #: ../init.php:133
600
  msgid ""
601
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
602
  "WooCommerce in order to work."
603
  msgstr ""
604
 
605
- #: ../init.php:143
606
  msgid ""
607
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
608
  "are using the premium one."
@@ -859,6 +863,10 @@ msgstr ""
859
  msgid "Google+"
860
  msgstr "Partilhar no Google+"
861
 
 
 
 
 
862
  #: ../templates/share.php:40
863
  msgid "Email"
864
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: pt_PT\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "Lista de Desejos"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr "Configurações"
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr "Cores"
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr "Meus desejos"
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr "Conteúdo da página: [yith_wcwl_wishlist]"
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr "Opções gerais"
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr "Ativar Lista de Desejos"
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, fuzzy, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
114
  "Ativar todas opções. <strong> Saiba que a página de desejos é selecionada na "
115
  "seção Páginas. </strong>. <a href=\"%s\" target=\"_blank\">Documentação</a>."
116
 
117
+ #: ../includes/class.yith-wcwl-admin-init.php:947
118
  #, fuzzy
119
  msgid "Default wishlist title"
120
  msgstr "Titulo da lista de desejos"
121
 
122
+ #: ../includes/class.yith-wcwl-admin-init.php:949
123
+ #: ../includes/class.yith-wcwl-admin-init.php:950
124
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
125
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
126
  #, php-format
127
  msgid "My wishlist on %s"
128
  msgstr "Minha lista de desejos em %s"
129
 
130
+ #: ../includes/class.yith-wcwl-admin-init.php:958
131
  msgid "Position"
132
  msgstr "Posição"
133
 
134
+ #: ../includes/class.yith-wcwl-admin-init.php:959
135
  #, fuzzy
136
  msgid ""
137
  "You can add the button in variable products only after the \"Add to Cart\" "
140
  "Em produtos variáveis você pode adicionar isto somenteapós \"Adcionar ao "
141
  "Carrinho\" ou usar o shortcode [yith_wcwl_add_to_wishlist]."
142
 
143
+ #: ../includes/class.yith-wcwl-admin-init.php:965
144
  msgid "After \"Add to cart\""
145
  msgstr "Após \" Adicionar ao carrinho \""
146
 
147
+ #: ../includes/class.yith-wcwl-admin-init.php:966
148
  msgid "After thumbnails"
149
  msgstr "Após miniaturas"
150
 
151
+ #: ../includes/class.yith-wcwl-admin-init.php:967
152
  msgid "After summary"
153
  msgstr "Após sumário"
154
 
155
+ #: ../includes/class.yith-wcwl-admin-init.php:968
156
  msgid "Use shortcode"
157
  msgstr "Usar shortcode"
158
 
159
+ #: ../includes/class.yith-wcwl-admin-init.php:973
160
  msgid "Redirect to cart"
161
  msgstr "Redirecionar para o carrinho"
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:974
164
  msgid ""
165
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
166
  "page."
168
  "Redirecionar para a página de carrinho se o botão \" Adcionar ao carrinho \" "
169
  "estiver clicado na página de lista de desejos."
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:981
172
  msgid "Remove if added to the cart"
173
  msgstr "Remover se adcionado ao carrinho"
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:982
176
  #, fuzzy
177
  msgid "Remove the product from the wishlist if it has been added to the cart."
178
  msgstr ""
179
  "Remover o produto da lista, se a mesma tiver sido adicionada ao carrinho."
180
 
181
+ #: ../includes/class.yith-wcwl-admin-init.php:989
182
  msgid "\"Add to Wishlist\" text"
183
  msgstr "Texto \" Adcionar a Lista de Desejos\""
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:991
186
+ #: ../includes/class.yith-wcwl-admin-init.php:992
187
  msgid "Add to Wishlist"
188
  msgstr "Adicionar aos meus desejos"
189
 
190
+ #: ../includes/class.yith-wcwl-admin-init.php:997
191
  #, fuzzy
192
  msgid "\"Browse wishlist\" text"
193
  msgstr "Veja sua lista de desejos!"
194
 
195
+ #: ../includes/class.yith-wcwl-admin-init.php:999
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
197
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
198
  msgid "Browse Wishlist"
199
  msgstr "Veja sua lista de desejos!"
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
202
  #, fuzzy
203
  msgid "\"Product already in wishlist\" text"
204
  msgstr "Produto já na lista de desejos."
205
 
206
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
208
  #: ../includes/class.yith-wcwl-ui.php:82
209
  msgid "The product is already in the wishlist!"
210
  msgstr "Esse produto já se encontra na sua lista de desejos!"
211
 
212
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
213
  #, fuzzy
214
  msgid "\"Product added\" text"
215
  msgstr "Produto adicionado!"
216
 
217
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
219
  #: ../includes/class.yith-wcwl-ui.php:81
220
  msgid "Product added!"
221
  msgstr "Produto adicionado!"
222
 
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
224
  msgid "\"Add to Cart\" text"
225
  msgstr "Texto \" Adicionar ao Carrinho\""
226
 
227
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
228
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
229
  msgid "Add to Cart"
230
  msgstr "Adcionar ao Carrinho"
231
 
232
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
233
  #, fuzzy
234
  msgid "Show Unit price"
235
  msgstr "Preço unitário"
236
 
237
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
238
  msgid "Show unit price for each product in wishlist"
239
  msgstr ""
240
 
241
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
242
  #, fuzzy
243
  msgid "Show \"Add to Cart\" button"
244
  msgstr "Texto do botão \"Adicionar ao carrinho \""
245
 
246
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
247
  #, fuzzy
248
  msgid "Show \"Add to Cart\" button for each product in wishlist"
249
  msgstr "Fundo do do botão \"Adicionar ao carrinho \""
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
252
  msgid "Show Stock status"
253
  msgstr "Status do stock"
254
 
255
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
256
  msgid ""
257
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
258
  msgstr ""
259
 
260
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
261
  msgid "Show Date of addition"
262
  msgstr ""
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
265
  #, fuzzy
266
  msgid "Show the date when users have added a product to the wishlist"
267
  msgstr "Oops! Ocorreu um erro ao adicionar o produto à lista de desejos."
268
 
269
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
270
  #, fuzzy
271
  msgid "Add second remove button"
272
  msgstr "Texto do botão \"Adicionar ao carrinho \""
273
 
274
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
275
  msgid "Add a second remove button in the last column, with extended label"
276
  msgstr ""
277
 
278
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
279
  msgid "Styles"
280
  msgstr "Estilos"
281
 
282
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
283
  msgid "Use buttons"
284
  msgstr "Usar botões"
285
 
286
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
287
  #, fuzzy
288
  msgid "Use buttons instead of simple anchors."
289
  msgstr "Usar botões ao invés de simples âncoras."
290
 
291
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
292
  msgid "Custom CSS"
293
  msgstr "CSS Customizado"
294
 
295
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
296
  msgid "Use theme style"
297
  msgstr "Usar estilo do tema"
298
 
299
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
300
  msgid "Use the theme style."
301
  msgstr "Usar o estilo do tema."
302
 
303
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
304
  #, fuzzy
305
  msgid "Rounded buttons"
306
  msgstr "Usar botões"
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
309
  #, fuzzy
310
  msgid "Make button corners rounded"
311
  msgstr "Faça botões do canto arredondado"
312
 
313
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
314
  msgid "\"Add to Wishlist\" icon"
315
  msgstr "Ícone \"Adcionar aos meus desejos\" "
316
 
317
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
318
  msgid "Add an icon to the \"Add to Wishlist\" button"
319
  msgstr "Adicionar um ícone ao botão \"Adcionar aos meus desejos\""
320
 
321
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
322
  msgid "\"Add to Cart\" icon"
323
  msgstr "Ícone \"Adicionar ao Carrinho\""
324
 
325
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
326
  msgid "Add an icon to the \"Add to Cart\" button"
327
  msgstr "Adicionar um ícone ao botão \"Adcionar ao carrinho\""
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
330
  #, fuzzy
331
  msgid "Social Networks & Share"
332
  msgstr "Social &amp; Compartilhamento"
333
 
334
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
335
  msgid "Share on Facebook"
336
  msgstr "Partilhar no Facebook"
337
 
338
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
339
  msgid "Show \"Share on Facebook\" button"
340
  msgstr "Partilhar no Facebook"
341
 
342
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
343
  msgid "Tweet on Twitter"
344
  msgstr "Tweetar no Twitter"
345
 
346
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
347
  #, fuzzy
348
  msgid "Show \"Tweet on Twitter\" button"
349
  msgstr "Tweetar no Twitter"
350
 
351
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
352
  msgid "Pin on Pinterest"
353
  msgstr ""
354
 
355
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
356
  #, fuzzy
357
  msgid "Show \"Pin on Pinterest\" button"
358
  msgstr "Texto do botão \"Adicionar ao carrinho \""
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
361
  msgid "Share on Google+"
362
  msgstr "Partilhar no Google+"
363
 
364
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
365
  #, fuzzy
366
  msgid "Show \"Share on Google+\" button"
367
  msgstr "Partilhar no Facebook"
368
 
369
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
370
  msgid "Share by Email"
371
  msgstr ""
372
 
373
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
374
  #, fuzzy
375
  msgid "Show \"Share by Email\" button"
376
  msgstr "Texto do botão \"Adicionar ao carrinho \""
377
 
378
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
379
  msgid "Social title"
380
  msgstr "Título Redes Sociais"
381
 
382
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
383
  msgid "Social text"
384
  msgstr "Texto Redes Sociais"
385
 
386
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
387
  #, fuzzy
388
  msgid ""
389
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
392
  "Vai ser usado por Facebook, Twitter e Pinterest. Use <strong>%wishlist_url%</"
393
  "strong> "
394
 
395
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
396
  msgid "Social image URL"
397
  msgstr "Url para partilhar"
398
 
399
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
400
  #, php-format
401
  msgid ""
402
  "If you want to take advantage of this feature, you could consider to "
403
  "purchase the %s."
404
  msgstr ""
405
 
406
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
407
  msgid "YITH WooCommerce Frequently Bought Together Integration"
408
  msgstr ""
409
 
410
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
411
  msgid "Enable slider in wishlist"
412
  msgstr ""
413
 
414
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
415
  #, php-format
416
  msgid ""
417
  "Choose to enable product slider in wishlist page with linked products (<a "
418
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
419
  msgstr ""
420
 
421
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
422
  #, fuzzy
423
  msgid "\"Add to wishlist\" button"
424
  msgstr "Texto do botão \"Adicionar aos meus desejos\""
425
 
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
427
  #: ../includes/class.yith-wcwl-admin-init.php:1310
428
  #: ../includes/class.yith-wcwl-admin-init.php:1328
429
  #: ../includes/class.yith-wcwl-admin-init.php:1346
430
  #: ../includes/class.yith-wcwl-admin-init.php:1364
431
+ msgid "Background"
 
432
  msgstr ""
433
 
434
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
435
  #: ../includes/class.yith-wcwl-admin-init.php:1311
436
  #: ../includes/class.yith-wcwl-admin-init.php:1329
437
  #: ../includes/class.yith-wcwl-admin-init.php:1347
438
  #: ../includes/class.yith-wcwl-admin-init.php:1365
439
+ msgid "Text"
 
440
  msgstr ""
441
 
442
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
443
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
444
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
445
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
446
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
447
+ msgid "Border"
448
  msgstr ""
449
 
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
451
  #: ../includes/class.yith-wcwl-admin-init.php:1319
452
  #: ../includes/class.yith-wcwl-admin-init.php:1337
453
  #: ../includes/class.yith-wcwl-admin-init.php:1355
454
+ msgid "Background (hover)"
 
455
  msgstr ""
456
 
457
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
458
  #: ../includes/class.yith-wcwl-admin-init.php:1320
459
  #: ../includes/class.yith-wcwl-admin-init.php:1338
460
  #: ../includes/class.yith-wcwl-admin-init.php:1356
461
+ msgid "Text (hover)"
462
+ msgstr ""
463
+
464
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
465
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
466
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
467
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
468
  msgid "Border (hover)"
469
  msgstr ""
470
 
471
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
472
  #, fuzzy
473
  msgid "\"Add to Cart\" button"
474
  msgstr "Texto do botão \"Adicionar ao carrinho \""
475
 
476
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
477
  msgid "\"Style 1\" button"
478
  msgstr ""
479
 
480
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
481
  msgid "\"Style 2\" button"
482
  msgstr ""
483
 
484
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
485
  #, fuzzy
486
  msgid "Wishlist table"
487
  msgstr "Titulo da lista de desejos"
488
 
489
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
490
  msgid "Headers"
491
  msgstr ""
492
 
493
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
494
  msgid "Background color"
495
  msgstr ""
496
 
497
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
498
  #, fuzzy
499
  msgid "Wishlist Activated"
500
  msgstr "Titulo da lista de desejos"
501
 
502
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
503
  #, php-format
504
  msgid ""
505
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
508
  "options, <a href=\"%s\">discover it now</a>."
509
  msgstr ""
510
 
511
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
512
  #, fuzzy
513
  msgid "Wishlist Updated"
514
  msgstr "Meus desejos"
515
 
516
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
517
  #, php-format
518
  msgid ""
519
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
523
  "\">discover the PREMIUM version.</a>"
524
  msgstr ""
525
 
526
+ #: ../includes/class.yith-wcwl-init.php:380
527
  msgid ""
528
  "We are sorry, but this feature is available only if cookies are enabled on "
529
  "your browser."
530
  msgstr ""
531
 
532
+ #: ../includes/class.yith-wcwl-init.php:381
533
  #, fuzzy
534
  msgid "Product correctly added to cart"
535
  msgstr "Produto adicionado ao carrinho."
600
  msgid "An error as occurred."
601
  msgstr ""
602
 
603
+ #: ../init.php:135
604
  msgid ""
605
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
606
  "WooCommerce in order to work."
607
  msgstr ""
608
 
609
+ #: ../init.php:145
610
  msgid ""
611
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
612
  "are using the premium one."
863
  msgid "Google+"
864
  msgstr "Partilhar no Google+"
865
 
866
+ #: ../templates/share.php:40
867
+ msgid "I wanted you to see this site"
868
+ msgstr ""
869
+
870
  #: ../templates/share.php:40
871
  msgid "Email"
872
  msgstr ""
languages/yith-woocommerce-wishlist-ru_RU.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WCWL\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: Valentyn Zubenko <valentyn.zubenko@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: ru\n"
@@ -17,88 +17,92 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
 
20
- #: includes/class.yith-wcwl-admin-init.php:194
21
- #: includes/class.yith-wcwl-admin-init.php:1414
22
- #: includes/class.yith-wcwl-admin-init.php:1415
23
  #: includes/class.yith-wcwl-install.php:240
24
  msgid "Wishlist"
25
  msgstr ""
26
 
27
- #: includes/class.yith-wcwl-admin-init.php:196
28
- #: includes/class.yith-wcwl-admin-init.php:298
29
  msgid "Settings"
30
  msgstr ""
31
 
32
- #: includes/class.yith-wcwl-admin-init.php:197
33
- #: includes/class.yith-wcwl-admin-init.php:265
34
  msgid "Colors"
35
  msgstr ""
36
 
37
- #: includes/class.yith-wcwl-admin-init.php:198
38
- #: includes/class.yith-wcwl-admin-init.php:302
39
  msgid "Premium Version"
40
  msgstr ""
41
 
42
- #: includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
43
  msgid ""
44
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
45
  "link to update it."
46
  msgstr ""
47
 
48
- #: includes/class.yith-wcwl-admin-init.php:329
49
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
50
  msgstr ""
51
 
52
- #: includes/class.yith-wcwl-admin-init.php:334
53
  msgid "Plugin Documentation"
54
  msgstr ""
55
 
56
- #: includes/class.yith-wcwl-admin-init.php:350
57
  msgid "Wishlist Page"
58
  msgstr ""
59
 
60
- #: includes/class.yith-wcwl-admin-init.php:351
61
  msgid "Page contents: [yith_wcwl_wishlist]"
62
  msgstr ""
63
 
64
- #: includes/class.yith-wcwl-admin-init.php:926
65
  msgid "Upgrade to the PREMIUM VERSION"
66
  msgstr ""
67
 
68
- #: includes/class.yith-wcwl-admin-init.php:929
69
  msgid "YITH WooCommerce Wishlist"
70
  msgstr ""
71
 
72
- #: includes/class.yith-wcwl-admin-init.php:930
73
  msgid "Discover the Advanced Features"
74
  msgstr ""
75
 
76
- #: includes/class.yith-wcwl-admin-init.php:931
77
  msgid ""
78
  "Upgrade to the PREMIUM VERSION\n"
79
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
80
  msgstr ""
81
 
82
- #: includes/class.yith-wcwl-admin-init.php:938
83
  msgid "Get Support and Pro Features"
84
  msgstr ""
85
 
86
- #: includes/class.yith-wcwl-admin-init.php:939
87
  msgid ""
88
  "By purchasing the premium version of the plugin, you will take advantage of "
89
  "the advanced features of the product and you will get one year of free "
90
  "updates and support through our platform available 24h/24."
91
  msgstr ""
92
 
93
- #: includes/class.yith-wcwl-admin-init.php:949
94
  msgid "General Settings"
95
  msgstr ""
96
 
97
- #: includes/class.yith-wcwl-admin-init.php:956
98
  msgid "Enable YITH Wishlist"
99
  msgstr ""
100
 
101
- #: includes/class.yith-wcwl-admin-init.php:957
102
  #, php-format
103
  msgid ""
104
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -106,376 +110,376 @@ msgid ""
106
  "\"%s\" target=\"_blank\">documentation</a>."
107
  msgstr ""
108
 
109
- #: includes/class.yith-wcwl-admin-init.php:964
110
  msgid "Default wishlist title"
111
  msgstr ""
112
 
113
- #: includes/class.yith-wcwl-admin-init.php:966
114
- #: includes/class.yith-wcwl-admin-init.php:967
115
- #: includes/class.yith-wcwl-admin-init.php:1226
116
- #: includes/class.yith-wcwl-admin-init.php:1227
117
  #, php-format
118
  msgid "My wishlist on %s"
119
  msgstr "Мои закладки на %s"
120
 
121
- #: includes/class.yith-wcwl-admin-init.php:975
122
  msgid "Position"
123
  msgstr ""
124
 
125
- #: includes/class.yith-wcwl-admin-init.php:976
126
  msgid ""
127
  "You can add the button in variable products only after the \"Add to Cart\" "
128
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
129
  msgstr ""
130
 
131
- #: includes/class.yith-wcwl-admin-init.php:982
132
  msgid "After \"Add to cart\""
133
  msgstr "After \"Добавить в корзину\""
134
 
135
- #: includes/class.yith-wcwl-admin-init.php:983
136
  msgid "After thumbnails"
137
  msgstr ""
138
 
139
- #: includes/class.yith-wcwl-admin-init.php:984
140
  msgid "After summary"
141
  msgstr ""
142
 
143
- #: includes/class.yith-wcwl-admin-init.php:985
144
  msgid "Use shortcode"
145
  msgstr ""
146
 
147
- #: includes/class.yith-wcwl-admin-init.php:990
148
  msgid "Redirect to cart"
149
  msgstr ""
150
 
151
- #: includes/class.yith-wcwl-admin-init.php:991
152
  msgid ""
153
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
154
  "page."
155
  msgstr ""
156
 
157
- #: includes/class.yith-wcwl-admin-init.php:998
158
  msgid "Remove if added to the cart"
159
  msgstr ""
160
 
161
- #: includes/class.yith-wcwl-admin-init.php:999
162
  msgid "Remove the product from the wishlist if it has been added to the cart."
163
  msgstr ""
164
 
165
- #: includes/class.yith-wcwl-admin-init.php:1006
166
  msgid "\"Add to Wishlist\" text"
167
  msgstr ""
168
 
169
- #: includes/class.yith-wcwl-admin-init.php:1008
170
- #: includes/class.yith-wcwl-admin-init.php:1009
171
  msgid "Add to Wishlist"
172
  msgstr ""
173
 
174
- #: includes/class.yith-wcwl-admin-init.php:1014
175
  #, fuzzy
176
  msgid "\"Browse wishlist\" text"
177
  msgstr "\"Добавить в корзину\" button text"
178
 
179
- #: includes/class.yith-wcwl-admin-init.php:1016
180
- #: includes/class.yith-wcwl-admin-init.php:1017
181
  #: includes/class.yith-wcwl-ui.php:81 includes/class.yith-wcwl-ui.php:82
182
  msgid "Browse Wishlist"
183
  msgstr ""
184
 
185
- #: includes/class.yith-wcwl-admin-init.php:1022
186
  msgid "\"Product already in wishlist\" text"
187
  msgstr ""
188
 
189
- #: includes/class.yith-wcwl-admin-init.php:1024
190
- #: includes/class.yith-wcwl-admin-init.php:1025
191
  #: includes/class.yith-wcwl-ui.php:82
192
  msgid "The product is already in the wishlist!"
193
  msgstr ""
194
 
195
- #: includes/class.yith-wcwl-admin-init.php:1030
196
  #, fuzzy
197
  msgid "\"Product added\" text"
198
  msgstr "Продукт успешно добавлен в корзину"
199
 
200
- #: includes/class.yith-wcwl-admin-init.php:1032
201
- #: includes/class.yith-wcwl-admin-init.php:1033
202
  #: includes/class.yith-wcwl-ui.php:81
203
  msgid "Product added!"
204
  msgstr ""
205
 
206
- #: includes/class.yith-wcwl-admin-init.php:1038
207
  msgid "\"Add to Cart\" text"
208
  msgstr "\"Добавить в корзину\" text"
209
 
210
- #: includes/class.yith-wcwl-admin-init.php:1040
211
- #: includes/class.yith-wcwl-admin-init.php:1041
212
  msgid "Add to Cart"
213
  msgstr "Добавить в корзину"
214
 
215
- #: includes/class.yith-wcwl-admin-init.php:1046
216
  #, fuzzy
217
  msgid "Show Unit price"
218
  msgstr "Цена"
219
 
220
- #: includes/class.yith-wcwl-admin-init.php:1047
221
  msgid "Show unit price for each product in wishlist"
222
  msgstr ""
223
 
224
- #: includes/class.yith-wcwl-admin-init.php:1055
225
  #, fuzzy
226
  msgid "Show \"Add to Cart\" button"
227
  msgstr "\"Добавить в корзину\" button text"
228
 
229
- #: includes/class.yith-wcwl-admin-init.php:1056
230
  #, fuzzy
231
  msgid "Show \"Add to Cart\" button for each product in wishlist"
232
  msgstr "\"Добавить в корзину\" button background"
233
 
234
- #: includes/class.yith-wcwl-admin-init.php:1064
235
  #, fuzzy
236
  msgid "Show Stock status"
237
  msgstr "Показывать статус склада"
238
 
239
- #: includes/class.yith-wcwl-admin-init.php:1065
240
  msgid ""
241
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
242
  msgstr ""
243
 
244
- #: includes/class.yith-wcwl-admin-init.php:1073
245
  msgid "Show Date of addition"
246
  msgstr ""
247
 
248
- #: includes/class.yith-wcwl-admin-init.php:1074
249
  #, fuzzy
250
  msgid "Show the date when users have added a product to the wishlist"
251
  msgstr "Показывать дату добавления в избранное"
252
 
253
- #: includes/class.yith-wcwl-admin-init.php:1082
254
  #, fuzzy
255
  msgid "Add second remove button"
256
  msgstr "Добавить вторую кнопку удаления"
257
 
258
- #: includes/class.yith-wcwl-admin-init.php:1083
259
  msgid "Add a second remove button in the last column, with extended label"
260
  msgstr ""
261
 
262
- #: includes/class.yith-wcwl-admin-init.php:1106
263
  msgid "Styles"
264
  msgstr ""
265
 
266
- #: includes/class.yith-wcwl-admin-init.php:1113
267
  msgid "Use buttons"
268
  msgstr ""
269
 
270
- #: includes/class.yith-wcwl-admin-init.php:1114
271
  msgid "Use buttons instead of simple anchors."
272
  msgstr ""
273
 
274
- #: includes/class.yith-wcwl-admin-init.php:1121
275
  msgid "Custom CSS"
276
  msgstr ""
277
 
278
- #: includes/class.yith-wcwl-admin-init.php:1129
279
  msgid "Use theme style"
280
  msgstr ""
281
 
282
- #: includes/class.yith-wcwl-admin-init.php:1130
283
  msgid "Use the theme style."
284
  msgstr ""
285
 
286
- #: includes/class.yith-wcwl-admin-init.php:1137
287
  msgid "Rounded buttons"
288
  msgstr ""
289
 
290
- #: includes/class.yith-wcwl-admin-init.php:1138
291
  msgid "Make button corners rounded"
292
  msgstr ""
293
 
294
- #: includes/class.yith-wcwl-admin-init.php:1145
295
  msgid "\"Add to Wishlist\" icon"
296
  msgstr ""
297
 
298
- #: includes/class.yith-wcwl-admin-init.php:1146
299
  msgid "Add an icon to the \"Add to Wishlist\" button"
300
  msgstr ""
301
 
302
- #: includes/class.yith-wcwl-admin-init.php:1157
303
  msgid "\"Add to Cart\" icon"
304
  msgstr "\"Добавить в корзину\" icon"
305
 
306
- #: includes/class.yith-wcwl-admin-init.php:1158
307
  msgid "Add an icon to the \"Add to Cart\" button"
308
  msgstr "Add an icon to the \"Добавить в корзину\" button"
309
 
310
- #: includes/class.yith-wcwl-admin-init.php:1177
311
  msgid "Social Networks & Share"
312
  msgstr ""
313
 
314
- #: includes/class.yith-wcwl-admin-init.php:1184
315
  msgid "Share on Facebook"
316
  msgstr "Поделиться на Facebook"
317
 
318
- #: includes/class.yith-wcwl-admin-init.php:1185
319
  #, fuzzy
320
  msgid "Show \"Share on Facebook\" button"
321
  msgstr "Показать кнопку \"Поделиться в Facebook\""
322
 
323
- #: includes/class.yith-wcwl-admin-init.php:1192
324
  msgid "Tweet on Twitter"
325
  msgstr "Поделиться в Twitter"
326
 
327
- #: includes/class.yith-wcwl-admin-init.php:1193
328
  #, fuzzy
329
  msgid "Show \"Tweet on Twitter\" button"
330
  msgstr "Показать кнопку \"Поделиться в Twitter\""
331
 
332
- #: includes/class.yith-wcwl-admin-init.php:1200
333
  msgid "Pin on Pinterest"
334
  msgstr "Поделиться в Pinterest"
335
 
336
- #: includes/class.yith-wcwl-admin-init.php:1201
337
  #, fuzzy
338
  msgid "Show \"Pin on Pinterest\" button"
339
  msgstr "Показать кнопку \"Поделиться в Pinterest\""
340
 
341
- #: includes/class.yith-wcwl-admin-init.php:1208
342
  msgid "Share on Google+"
343
  msgstr "Поделиться в Google+"
344
 
345
- #: includes/class.yith-wcwl-admin-init.php:1209
346
  #, fuzzy
347
  msgid "Show \"Share on Google+\" button"
348
  msgstr "Показать кнопку \"Поделиться в Google+\""
349
 
350
- #: includes/class.yith-wcwl-admin-init.php:1216
351
  msgid "Share by Email"
352
  msgstr "Поделиться через Email"
353
 
354
- #: includes/class.yith-wcwl-admin-init.php:1217
355
  #, fuzzy
356
  msgid "Show \"Share by Email\" button"
357
  msgstr "Показать кнопку \"Поделиться через Email\""
358
 
359
- #: includes/class.yith-wcwl-admin-init.php:1224
360
  msgid "Social title"
361
  msgstr ""
362
 
363
- #: includes/class.yith-wcwl-admin-init.php:1232
364
  msgid "Social text"
365
  msgstr ""
366
 
367
- #: includes/class.yith-wcwl-admin-init.php:1233
368
  msgid ""
369
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
370
  "%</strong> where you want to show the URL of your wishlist."
371
  msgstr ""
372
 
373
- #: includes/class.yith-wcwl-admin-init.php:1241
374
  msgid "Social image URL"
375
  msgstr ""
376
 
377
- #: includes/class.yith-wcwl-admin-init.php:1256
378
  #, php-format
379
  msgid ""
380
  "If you want to take advantage of this feature, you could consider to "
381
  "purchase the %s."
382
  msgstr ""
383
 
384
- #: includes/class.yith-wcwl-admin-init.php:1261
385
  msgid "YITH WooCommerce Frequently Bought Together Integration"
386
  msgstr ""
387
 
388
- #: includes/class.yith-wcwl-admin-init.php:1268
389
  msgid "Enable slider in wishlist"
390
  msgstr ""
391
 
392
- #: includes/class.yith-wcwl-admin-init.php:1269
393
  #, php-format
394
  msgid ""
395
  "Choose to enable product slider in wishlist page with linked products (<a "
396
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
397
  msgstr ""
398
 
399
- #: includes/class.yith-wcwl-admin-init.php:1306
400
  #, fuzzy
401
  msgid "\"Add to wishlist\" button"
402
  msgstr "\"Добавить в корзину\" button text"
403
 
404
- #: includes/class.yith-wcwl-admin-init.php:1309
405
- #: includes/class.yith-wcwl-admin-init.php:1327
406
- #: includes/class.yith-wcwl-admin-init.php:1345
407
- #: includes/class.yith-wcwl-admin-init.php:1363
408
- #: includes/class.yith-wcwl-admin-init.php:1381
409
- msgid "Background"
410
- msgstr ""
411
-
412
  #: includes/class.yith-wcwl-admin-init.php:1310
413
  #: includes/class.yith-wcwl-admin-init.php:1328
414
  #: includes/class.yith-wcwl-admin-init.php:1346
415
  #: includes/class.yith-wcwl-admin-init.php:1364
416
- #: includes/class.yith-wcwl-admin-init.php:1382
417
- msgid "Text"
418
  msgstr ""
419
 
 
420
  #: includes/class.yith-wcwl-admin-init.php:1311
421
  #: includes/class.yith-wcwl-admin-init.php:1329
422
  #: includes/class.yith-wcwl-admin-init.php:1347
423
  #: includes/class.yith-wcwl-admin-init.php:1365
424
- #: includes/class.yith-wcwl-admin-init.php:1383
425
- msgid "Border"
426
  msgstr ""
427
 
428
- #: includes/class.yith-wcwl-admin-init.php:1318
429
- #: includes/class.yith-wcwl-admin-init.php:1336
430
- #: includes/class.yith-wcwl-admin-init.php:1354
431
- #: includes/class.yith-wcwl-admin-init.php:1372
432
- msgid "Background (hover)"
 
433
  msgstr ""
434
 
 
435
  #: includes/class.yith-wcwl-admin-init.php:1319
436
  #: includes/class.yith-wcwl-admin-init.php:1337
437
  #: includes/class.yith-wcwl-admin-init.php:1355
438
- #: includes/class.yith-wcwl-admin-init.php:1373
439
- msgid "Text (hover)"
440
  msgstr ""
441
 
 
442
  #: includes/class.yith-wcwl-admin-init.php:1320
443
  #: includes/class.yith-wcwl-admin-init.php:1338
444
  #: includes/class.yith-wcwl-admin-init.php:1356
445
- #: includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
446
  msgid "Border (hover)"
447
  msgstr ""
448
 
449
- #: includes/class.yith-wcwl-admin-init.php:1324
450
  #, fuzzy
451
  msgid "\"Add to Cart\" button"
452
  msgstr "\"Добавить в корзину\" button text"
453
 
454
- #: includes/class.yith-wcwl-admin-init.php:1342
455
  msgid "\"Style 1\" button"
456
  msgstr ""
457
 
458
- #: includes/class.yith-wcwl-admin-init.php:1360
459
  msgid "\"Style 2\" button"
460
  msgstr ""
461
 
462
- #: includes/class.yith-wcwl-admin-init.php:1378
463
  msgid "Wishlist table"
464
  msgstr ""
465
 
466
- #: includes/class.yith-wcwl-admin-init.php:1387
467
  msgid "Headers"
468
  msgstr ""
469
 
470
- #: includes/class.yith-wcwl-admin-init.php:1390
471
  msgid "Background color"
472
  msgstr ""
473
 
474
- #: includes/class.yith-wcwl-admin-init.php:1480
475
  msgid "Wishlist Activated"
476
  msgstr ""
477
 
478
- #: includes/class.yith-wcwl-admin-init.php:1481
479
  #, php-format
480
  msgid ""
481
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -484,11 +488,11 @@ msgid ""
484
  "options, <a href=\"%s\">discover it now</a>."
485
  msgstr ""
486
 
487
- #: includes/class.yith-wcwl-admin-init.php:1492
488
  msgid "Wishlist Updated"
489
  msgstr ""
490
 
491
- #: includes/class.yith-wcwl-admin-init.php:1493
492
  #, php-format
493
  msgid ""
494
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -498,13 +502,13 @@ msgid ""
498
  "\">discover the PREMIUM version.</a>"
499
  msgstr ""
500
 
501
- #: includes/class.yith-wcwl-init.php:361
502
  msgid ""
503
  "We are sorry, but this feature is available only if cookies are enabled on "
504
  "your browser."
505
  msgstr ""
506
 
507
- #: includes/class.yith-wcwl-init.php:362
508
  #, fuzzy
509
  msgid "Product correctly added to cart"
510
  msgstr "Продукт успешно добавлен в корзину"
@@ -573,13 +577,13 @@ msgstr "Нет продуктов добавленных в избранное."
573
  msgid "An error as occurred."
574
  msgstr ""
575
 
576
- #: init.php:133
577
  msgid ""
578
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
579
  "WooCommerce in order to work."
580
  msgstr ""
581
 
582
- #: init.php:143
583
  msgid ""
584
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
585
  "are using the premium one."
@@ -835,6 +839,10 @@ msgstr ""
835
  msgid "Google+"
836
  msgstr ""
837
 
 
 
 
 
838
  #: templates/share.php:40
839
  msgid "Email"
840
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WCWL\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: Valentyn Zubenko <valentyn.zubenko@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: ru\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
 
20
+ #: includes/class.yith-wcwl-admin-init.php:176
21
+ #: includes/class.yith-wcwl-admin-init.php:1397
22
+ #: includes/class.yith-wcwl-admin-init.php:1398
23
  #: includes/class.yith-wcwl-install.php:240
24
  msgid "Wishlist"
25
  msgstr ""
26
 
27
+ #: includes/class.yith-wcwl-admin-init.php:178
28
+ #: includes/class.yith-wcwl-admin-init.php:280
29
  msgid "Settings"
30
  msgstr ""
31
 
32
+ #: includes/class.yith-wcwl-admin-init.php:179
33
+ #: includes/class.yith-wcwl-admin-init.php:247
34
  msgid "Colors"
35
  msgstr ""
36
 
37
+ #: includes/class.yith-wcwl-admin-init.php:180
38
+ #: includes/class.yith-wcwl-admin-init.php:284
39
  msgid "Premium Version"
40
  msgstr ""
41
 
42
+ #: includes/class.yith-wcwl-admin-init.php:285
43
+ msgid "Live Demo"
44
+ msgstr ""
45
+
46
+ #: includes/class.yith-wcwl-admin-init.php:309
47
  msgid ""
48
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
49
  "link to update it."
50
  msgstr ""
51
 
52
+ #: includes/class.yith-wcwl-admin-init.php:312
53
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
54
  msgstr ""
55
 
56
+ #: includes/class.yith-wcwl-admin-init.php:317
57
  msgid "Plugin Documentation"
58
  msgstr ""
59
 
60
+ #: includes/class.yith-wcwl-admin-init.php:333
61
  msgid "Wishlist Page"
62
  msgstr ""
63
 
64
+ #: includes/class.yith-wcwl-admin-init.php:334
65
  msgid "Page contents: [yith_wcwl_wishlist]"
66
  msgstr ""
67
 
68
+ #: includes/class.yith-wcwl-admin-init.php:909
69
  msgid "Upgrade to the PREMIUM VERSION"
70
  msgstr ""
71
 
72
+ #: includes/class.yith-wcwl-admin-init.php:912
73
  msgid "YITH WooCommerce Wishlist"
74
  msgstr ""
75
 
76
+ #: includes/class.yith-wcwl-admin-init.php:913
77
  msgid "Discover the Advanced Features"
78
  msgstr ""
79
 
80
+ #: includes/class.yith-wcwl-admin-init.php:914
81
  msgid ""
82
  "Upgrade to the PREMIUM VERSION\n"
83
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
84
  msgstr ""
85
 
86
+ #: includes/class.yith-wcwl-admin-init.php:921
87
  msgid "Get Support and Pro Features"
88
  msgstr ""
89
 
90
+ #: includes/class.yith-wcwl-admin-init.php:922
91
  msgid ""
92
  "By purchasing the premium version of the plugin, you will take advantage of "
93
  "the advanced features of the product and you will get one year of free "
94
  "updates and support through our platform available 24h/24."
95
  msgstr ""
96
 
97
+ #: includes/class.yith-wcwl-admin-init.php:932
98
  msgid "General Settings"
99
  msgstr ""
100
 
101
+ #: includes/class.yith-wcwl-admin-init.php:939
102
  msgid "Enable YITH Wishlist"
103
  msgstr ""
104
 
105
+ #: includes/class.yith-wcwl-admin-init.php:940
106
  #, php-format
107
  msgid ""
108
  "Enable all plugin features. <strong>Be sure to select at least one option in "
110
  "\"%s\" target=\"_blank\">documentation</a>."
111
  msgstr ""
112
 
113
+ #: includes/class.yith-wcwl-admin-init.php:947
114
  msgid "Default wishlist title"
115
  msgstr ""
116
 
117
+ #: includes/class.yith-wcwl-admin-init.php:949
118
+ #: includes/class.yith-wcwl-admin-init.php:950
119
+ #: includes/class.yith-wcwl-admin-init.php:1209
120
+ #: includes/class.yith-wcwl-admin-init.php:1210
121
  #, php-format
122
  msgid "My wishlist on %s"
123
  msgstr "Мои закладки на %s"
124
 
125
+ #: includes/class.yith-wcwl-admin-init.php:958
126
  msgid "Position"
127
  msgstr ""
128
 
129
+ #: includes/class.yith-wcwl-admin-init.php:959
130
  msgid ""
131
  "You can add the button in variable products only after the \"Add to Cart\" "
132
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
133
  msgstr ""
134
 
135
+ #: includes/class.yith-wcwl-admin-init.php:965
136
  msgid "After \"Add to cart\""
137
  msgstr "After \"Добавить в корзину\""
138
 
139
+ #: includes/class.yith-wcwl-admin-init.php:966
140
  msgid "After thumbnails"
141
  msgstr ""
142
 
143
+ #: includes/class.yith-wcwl-admin-init.php:967
144
  msgid "After summary"
145
  msgstr ""
146
 
147
+ #: includes/class.yith-wcwl-admin-init.php:968
148
  msgid "Use shortcode"
149
  msgstr ""
150
 
151
+ #: includes/class.yith-wcwl-admin-init.php:973
152
  msgid "Redirect to cart"
153
  msgstr ""
154
 
155
+ #: includes/class.yith-wcwl-admin-init.php:974
156
  msgid ""
157
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
158
  "page."
159
  msgstr ""
160
 
161
+ #: includes/class.yith-wcwl-admin-init.php:981
162
  msgid "Remove if added to the cart"
163
  msgstr ""
164
 
165
+ #: includes/class.yith-wcwl-admin-init.php:982
166
  msgid "Remove the product from the wishlist if it has been added to the cart."
167
  msgstr ""
168
 
169
+ #: includes/class.yith-wcwl-admin-init.php:989
170
  msgid "\"Add to Wishlist\" text"
171
  msgstr ""
172
 
173
+ #: includes/class.yith-wcwl-admin-init.php:991
174
+ #: includes/class.yith-wcwl-admin-init.php:992
175
  msgid "Add to Wishlist"
176
  msgstr ""
177
 
178
+ #: includes/class.yith-wcwl-admin-init.php:997
179
  #, fuzzy
180
  msgid "\"Browse wishlist\" text"
181
  msgstr "\"Добавить в корзину\" button text"
182
 
183
+ #: includes/class.yith-wcwl-admin-init.php:999
184
+ #: includes/class.yith-wcwl-admin-init.php:1000
185
  #: includes/class.yith-wcwl-ui.php:81 includes/class.yith-wcwl-ui.php:82
186
  msgid "Browse Wishlist"
187
  msgstr ""
188
 
189
+ #: includes/class.yith-wcwl-admin-init.php:1005
190
  msgid "\"Product already in wishlist\" text"
191
  msgstr ""
192
 
193
+ #: includes/class.yith-wcwl-admin-init.php:1007
194
+ #: includes/class.yith-wcwl-admin-init.php:1008
195
  #: includes/class.yith-wcwl-ui.php:82
196
  msgid "The product is already in the wishlist!"
197
  msgstr ""
198
 
199
+ #: includes/class.yith-wcwl-admin-init.php:1013
200
  #, fuzzy
201
  msgid "\"Product added\" text"
202
  msgstr "Продукт успешно добавлен в корзину"
203
 
204
+ #: includes/class.yith-wcwl-admin-init.php:1015
205
+ #: includes/class.yith-wcwl-admin-init.php:1016
206
  #: includes/class.yith-wcwl-ui.php:81
207
  msgid "Product added!"
208
  msgstr ""
209
 
210
+ #: includes/class.yith-wcwl-admin-init.php:1021
211
  msgid "\"Add to Cart\" text"
212
  msgstr "\"Добавить в корзину\" text"
213
 
214
+ #: includes/class.yith-wcwl-admin-init.php:1023
215
+ #: includes/class.yith-wcwl-admin-init.php:1024
216
  msgid "Add to Cart"
217
  msgstr "Добавить в корзину"
218
 
219
+ #: includes/class.yith-wcwl-admin-init.php:1029
220
  #, fuzzy
221
  msgid "Show Unit price"
222
  msgstr "Цена"
223
 
224
+ #: includes/class.yith-wcwl-admin-init.php:1030
225
  msgid "Show unit price for each product in wishlist"
226
  msgstr ""
227
 
228
+ #: includes/class.yith-wcwl-admin-init.php:1038
229
  #, fuzzy
230
  msgid "Show \"Add to Cart\" button"
231
  msgstr "\"Добавить в корзину\" button text"
232
 
233
+ #: includes/class.yith-wcwl-admin-init.php:1039
234
  #, fuzzy
235
  msgid "Show \"Add to Cart\" button for each product in wishlist"
236
  msgstr "\"Добавить в корзину\" button background"
237
 
238
+ #: includes/class.yith-wcwl-admin-init.php:1047
239
  #, fuzzy
240
  msgid "Show Stock status"
241
  msgstr "Показывать статус склада"
242
 
243
+ #: includes/class.yith-wcwl-admin-init.php:1048
244
  msgid ""
245
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
246
  msgstr ""
247
 
248
+ #: includes/class.yith-wcwl-admin-init.php:1056
249
  msgid "Show Date of addition"
250
  msgstr ""
251
 
252
+ #: includes/class.yith-wcwl-admin-init.php:1057
253
  #, fuzzy
254
  msgid "Show the date when users have added a product to the wishlist"
255
  msgstr "Показывать дату добавления в избранное"
256
 
257
+ #: includes/class.yith-wcwl-admin-init.php:1065
258
  #, fuzzy
259
  msgid "Add second remove button"
260
  msgstr "Добавить вторую кнопку удаления"
261
 
262
+ #: includes/class.yith-wcwl-admin-init.php:1066
263
  msgid "Add a second remove button in the last column, with extended label"
264
  msgstr ""
265
 
266
+ #: includes/class.yith-wcwl-admin-init.php:1089
267
  msgid "Styles"
268
  msgstr ""
269
 
270
+ #: includes/class.yith-wcwl-admin-init.php:1096
271
  msgid "Use buttons"
272
  msgstr ""
273
 
274
+ #: includes/class.yith-wcwl-admin-init.php:1097
275
  msgid "Use buttons instead of simple anchors."
276
  msgstr ""
277
 
278
+ #: includes/class.yith-wcwl-admin-init.php:1104
279
  msgid "Custom CSS"
280
  msgstr ""
281
 
282
+ #: includes/class.yith-wcwl-admin-init.php:1112
283
  msgid "Use theme style"
284
  msgstr ""
285
 
286
+ #: includes/class.yith-wcwl-admin-init.php:1113
287
  msgid "Use the theme style."
288
  msgstr ""
289
 
290
+ #: includes/class.yith-wcwl-admin-init.php:1120
291
  msgid "Rounded buttons"
292
  msgstr ""
293
 
294
+ #: includes/class.yith-wcwl-admin-init.php:1121
295
  msgid "Make button corners rounded"
296
  msgstr ""
297
 
298
+ #: includes/class.yith-wcwl-admin-init.php:1128
299
  msgid "\"Add to Wishlist\" icon"
300
  msgstr ""
301
 
302
+ #: includes/class.yith-wcwl-admin-init.php:1129
303
  msgid "Add an icon to the \"Add to Wishlist\" button"
304
  msgstr ""
305
 
306
+ #: includes/class.yith-wcwl-admin-init.php:1140
307
  msgid "\"Add to Cart\" icon"
308
  msgstr "\"Добавить в корзину\" icon"
309
 
310
+ #: includes/class.yith-wcwl-admin-init.php:1141
311
  msgid "Add an icon to the \"Add to Cart\" button"
312
  msgstr "Add an icon to the \"Добавить в корзину\" button"
313
 
314
+ #: includes/class.yith-wcwl-admin-init.php:1160
315
  msgid "Social Networks & Share"
316
  msgstr ""
317
 
318
+ #: includes/class.yith-wcwl-admin-init.php:1167
319
  msgid "Share on Facebook"
320
  msgstr "Поделиться на Facebook"
321
 
322
+ #: includes/class.yith-wcwl-admin-init.php:1168
323
  #, fuzzy
324
  msgid "Show \"Share on Facebook\" button"
325
  msgstr "Показать кнопку \"Поделиться в Facebook\""
326
 
327
+ #: includes/class.yith-wcwl-admin-init.php:1175
328
  msgid "Tweet on Twitter"
329
  msgstr "Поделиться в Twitter"
330
 
331
+ #: includes/class.yith-wcwl-admin-init.php:1176
332
  #, fuzzy
333
  msgid "Show \"Tweet on Twitter\" button"
334
  msgstr "Показать кнопку \"Поделиться в Twitter\""
335
 
336
+ #: includes/class.yith-wcwl-admin-init.php:1183
337
  msgid "Pin on Pinterest"
338
  msgstr "Поделиться в Pinterest"
339
 
340
+ #: includes/class.yith-wcwl-admin-init.php:1184
341
  #, fuzzy
342
  msgid "Show \"Pin on Pinterest\" button"
343
  msgstr "Показать кнопку \"Поделиться в Pinterest\""
344
 
345
+ #: includes/class.yith-wcwl-admin-init.php:1191
346
  msgid "Share on Google+"
347
  msgstr "Поделиться в Google+"
348
 
349
+ #: includes/class.yith-wcwl-admin-init.php:1192
350
  #, fuzzy
351
  msgid "Show \"Share on Google+\" button"
352
  msgstr "Показать кнопку \"Поделиться в Google+\""
353
 
354
+ #: includes/class.yith-wcwl-admin-init.php:1199
355
  msgid "Share by Email"
356
  msgstr "Поделиться через Email"
357
 
358
+ #: includes/class.yith-wcwl-admin-init.php:1200
359
  #, fuzzy
360
  msgid "Show \"Share by Email\" button"
361
  msgstr "Показать кнопку \"Поделиться через Email\""
362
 
363
+ #: includes/class.yith-wcwl-admin-init.php:1207
364
  msgid "Social title"
365
  msgstr ""
366
 
367
+ #: includes/class.yith-wcwl-admin-init.php:1215
368
  msgid "Social text"
369
  msgstr ""
370
 
371
+ #: includes/class.yith-wcwl-admin-init.php:1216
372
  msgid ""
373
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
374
  "%</strong> where you want to show the URL of your wishlist."
375
  msgstr ""
376
 
377
+ #: includes/class.yith-wcwl-admin-init.php:1224
378
  msgid "Social image URL"
379
  msgstr ""
380
 
381
+ #: includes/class.yith-wcwl-admin-init.php:1239
382
  #, php-format
383
  msgid ""
384
  "If you want to take advantage of this feature, you could consider to "
385
  "purchase the %s."
386
  msgstr ""
387
 
388
+ #: includes/class.yith-wcwl-admin-init.php:1244
389
  msgid "YITH WooCommerce Frequently Bought Together Integration"
390
  msgstr ""
391
 
392
+ #: includes/class.yith-wcwl-admin-init.php:1251
393
  msgid "Enable slider in wishlist"
394
  msgstr ""
395
 
396
+ #: includes/class.yith-wcwl-admin-init.php:1252
397
  #, php-format
398
  msgid ""
399
  "Choose to enable product slider in wishlist page with linked products (<a "
400
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
401
  msgstr ""
402
 
403
+ #: includes/class.yith-wcwl-admin-init.php:1289
404
  #, fuzzy
405
  msgid "\"Add to wishlist\" button"
406
  msgstr "\"Добавить в корзину\" button text"
407
 
408
+ #: includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
409
  #: includes/class.yith-wcwl-admin-init.php:1310
410
  #: includes/class.yith-wcwl-admin-init.php:1328
411
  #: includes/class.yith-wcwl-admin-init.php:1346
412
  #: includes/class.yith-wcwl-admin-init.php:1364
413
+ msgid "Background"
 
414
  msgstr ""
415
 
416
+ #: includes/class.yith-wcwl-admin-init.php:1293
417
  #: includes/class.yith-wcwl-admin-init.php:1311
418
  #: includes/class.yith-wcwl-admin-init.php:1329
419
  #: includes/class.yith-wcwl-admin-init.php:1347
420
  #: includes/class.yith-wcwl-admin-init.php:1365
421
+ msgid "Text"
 
422
  msgstr ""
423
 
424
+ #: includes/class.yith-wcwl-admin-init.php:1294
425
+ #: includes/class.yith-wcwl-admin-init.php:1312
426
+ #: includes/class.yith-wcwl-admin-init.php:1330
427
+ #: includes/class.yith-wcwl-admin-init.php:1348
428
+ #: includes/class.yith-wcwl-admin-init.php:1366
429
+ msgid "Border"
430
  msgstr ""
431
 
432
+ #: includes/class.yith-wcwl-admin-init.php:1301
433
  #: includes/class.yith-wcwl-admin-init.php:1319
434
  #: includes/class.yith-wcwl-admin-init.php:1337
435
  #: includes/class.yith-wcwl-admin-init.php:1355
436
+ msgid "Background (hover)"
 
437
  msgstr ""
438
 
439
+ #: includes/class.yith-wcwl-admin-init.php:1302
440
  #: includes/class.yith-wcwl-admin-init.php:1320
441
  #: includes/class.yith-wcwl-admin-init.php:1338
442
  #: includes/class.yith-wcwl-admin-init.php:1356
443
+ msgid "Text (hover)"
444
+ msgstr ""
445
+
446
+ #: includes/class.yith-wcwl-admin-init.php:1303
447
+ #: includes/class.yith-wcwl-admin-init.php:1321
448
+ #: includes/class.yith-wcwl-admin-init.php:1339
449
+ #: includes/class.yith-wcwl-admin-init.php:1357
450
  msgid "Border (hover)"
451
  msgstr ""
452
 
453
+ #: includes/class.yith-wcwl-admin-init.php:1307
454
  #, fuzzy
455
  msgid "\"Add to Cart\" button"
456
  msgstr "\"Добавить в корзину\" button text"
457
 
458
+ #: includes/class.yith-wcwl-admin-init.php:1325
459
  msgid "\"Style 1\" button"
460
  msgstr ""
461
 
462
+ #: includes/class.yith-wcwl-admin-init.php:1343
463
  msgid "\"Style 2\" button"
464
  msgstr ""
465
 
466
+ #: includes/class.yith-wcwl-admin-init.php:1361
467
  msgid "Wishlist table"
468
  msgstr ""
469
 
470
+ #: includes/class.yith-wcwl-admin-init.php:1370
471
  msgid "Headers"
472
  msgstr ""
473
 
474
+ #: includes/class.yith-wcwl-admin-init.php:1373
475
  msgid "Background color"
476
  msgstr ""
477
 
478
+ #: includes/class.yith-wcwl-admin-init.php:1463
479
  msgid "Wishlist Activated"
480
  msgstr ""
481
 
482
+ #: includes/class.yith-wcwl-admin-init.php:1464
483
  #, php-format
484
  msgid ""
485
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
488
  "options, <a href=\"%s\">discover it now</a>."
489
  msgstr ""
490
 
491
+ #: includes/class.yith-wcwl-admin-init.php:1475
492
  msgid "Wishlist Updated"
493
  msgstr ""
494
 
495
+ #: includes/class.yith-wcwl-admin-init.php:1476
496
  #, php-format
497
  msgid ""
498
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
502
  "\">discover the PREMIUM version.</a>"
503
  msgstr ""
504
 
505
+ #: includes/class.yith-wcwl-init.php:380
506
  msgid ""
507
  "We are sorry, but this feature is available only if cookies are enabled on "
508
  "your browser."
509
  msgstr ""
510
 
511
+ #: includes/class.yith-wcwl-init.php:381
512
  #, fuzzy
513
  msgid "Product correctly added to cart"
514
  msgstr "Продукт успешно добавлен в корзину"
577
  msgid "An error as occurred."
578
  msgstr ""
579
 
580
+ #: init.php:135
581
  msgid ""
582
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
583
  "WooCommerce in order to work."
584
  msgstr ""
585
 
586
+ #: init.php:145
587
  msgid ""
588
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
589
  "are using the premium one."
839
  msgid "Google+"
840
  msgstr ""
841
 
842
+ #: templates/share.php:40
843
+ msgid "I wanted you to see this site"
844
+ msgstr ""
845
+
846
  #: templates/share.php:40
847
  msgid "Email"
848
  msgstr ""
languages/yith-woocommerce-wishlist-sv_SE.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-sv_SE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WCWL\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: sv\n"
@@ -16,29 +16,33 @@ msgstr ""
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
- #: includes/class.yith-wcwl-admin-init.php:194
20
- #: includes/class.yith-wcwl-admin-init.php:1414
21
- #: includes/class.yith-wcwl-admin-init.php:1415
22
  #: includes/class.yith-wcwl-install.php:240
23
  msgid "Wishlist"
24
  msgstr "Önskelista"
25
 
26
- #: includes/class.yith-wcwl-admin-init.php:196
27
- #: includes/class.yith-wcwl-admin-init.php:298
28
  msgid "Settings"
29
  msgstr "Inställningar"
30
 
31
- #: includes/class.yith-wcwl-admin-init.php:197
32
- #: includes/class.yith-wcwl-admin-init.php:265
33
  msgid "Colors"
34
  msgstr "Färger"
35
 
36
- #: includes/class.yith-wcwl-admin-init.php:198
37
- #: includes/class.yith-wcwl-admin-init.php:302
38
  msgid "Premium Version"
39
  msgstr "Premiumversion"
40
 
41
- #: includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
42
  msgid ""
43
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
44
  "link to update it."
@@ -46,35 +50,35 @@ msgstr ""
46
  "VARNING: Detta plugin kräver mins WooCommerce 2.2! Vänligen använd denna "
47
  "länk för att uppdatera."
48
 
49
- #: includes/class.yith-wcwl-admin-init.php:329
50
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
51
  msgstr "VARNING: Detta plugin kräver minst WooCommerce 2.2!"
52
 
53
- #: includes/class.yith-wcwl-admin-init.php:334
54
  msgid "Plugin Documentation"
55
  msgstr "Tilläggets dokumentation"
56
 
57
- #: includes/class.yith-wcwl-admin-init.php:350
58
  msgid "Wishlist Page"
59
  msgstr "Önskelistans sida"
60
 
61
- #: includes/class.yith-wcwl-admin-init.php:351
62
  msgid "Page contents: [yith_wcwl_wishlist]"
63
  msgstr "Sidans innehåll: [yith_wcwl_wishlist]"
64
 
65
- #: includes/class.yith-wcwl-admin-init.php:926
66
  msgid "Upgrade to the PREMIUM VERSION"
67
  msgstr "Uppgradera till Premiumversion"
68
 
69
- #: includes/class.yith-wcwl-admin-init.php:929
70
  msgid "YITH WooCommerce Wishlist"
71
  msgstr "YITH WooCommerce Wishlist"
72
 
73
- #: includes/class.yith-wcwl-admin-init.php:930
74
  msgid "Discover the Advanced Features"
75
  msgstr "Upptäck de avancerade funktionerna"
76
 
77
- #: includes/class.yith-wcwl-admin-init.php:931
78
  msgid ""
79
  "Upgrade to the PREMIUM VERSION\n"
80
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
@@ -82,11 +86,11 @@ msgstr ""
82
  "Uppgradera till Premiumverionen\n"
83
  "av YITH WOOCOMMERCE WISHLIST för att ta del av alla funktioner!"
84
 
85
- #: includes/class.yith-wcwl-admin-init.php:938
86
  msgid "Get Support and Pro Features"
87
  msgstr "Få support och professionella funktioner"
88
 
89
- #: includes/class.yith-wcwl-admin-init.php:939
90
  msgid ""
91
  "By purchasing the premium version of the plugin, you will take advantage of "
92
  "the advanced features of the product and you will get one year of free "
@@ -96,15 +100,15 @@ msgstr ""
96
  "avancerade funktionerna ifrån produkten, samt få ett års gratis "
97
  "uppdateringar och support genom hela plattformen 24/7."
98
 
99
- #: includes/class.yith-wcwl-admin-init.php:949
100
  msgid "General Settings"
101
  msgstr "Generella inställningar"
102
 
103
- #: includes/class.yith-wcwl-admin-init.php:956
104
  msgid "Enable YITH Wishlist"
105
  msgstr "Aktivera YITH Wishlist"
106
 
107
- #: includes/class.yith-wcwl-admin-init.php:957
108
  #, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -115,23 +119,23 @@ msgstr ""
115
  "alternativ i önskelistans sidmeny i %s.</strong> Samt, vänligen läs "
116
  "tilläggets <a href=“%s” target=“_blank”>dokumentation</a>."
117
 
118
- #: includes/class.yith-wcwl-admin-init.php:964
119
  msgid "Default wishlist title"
120
  msgstr "Titel på önskelistan"
121
 
122
- #: includes/class.yith-wcwl-admin-init.php:966
123
- #: includes/class.yith-wcwl-admin-init.php:967
124
- #: includes/class.yith-wcwl-admin-init.php:1226
125
- #: includes/class.yith-wcwl-admin-init.php:1227
126
  #, php-format
127
  msgid "My wishlist on %s"
128
  msgstr "Min önskelista på %s"
129
 
130
- #: includes/class.yith-wcwl-admin-init.php:975
131
  msgid "Position"
132
  msgstr "Position"
133
 
134
- #: includes/class.yith-wcwl-admin-init.php:976
135
  msgid ""
136
  "You can add the button in variable products only after the \"Add to Cart\" "
137
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
@@ -140,27 +144,27 @@ msgstr ""
140
  "kundvagn”-knappen eller genom att använda kortkoden "
141
  "[yith_wcwl_add_to_wishlist]."
142
 
143
- #: includes/class.yith-wcwl-admin-init.php:982
144
  msgid "After \"Add to cart\""
145
  msgstr "Efter “Lägg till i varukorgen”"
146
 
147
- #: includes/class.yith-wcwl-admin-init.php:983
148
  msgid "After thumbnails"
149
  msgstr "Efter miniatyrbilder"
150
 
151
- #: includes/class.yith-wcwl-admin-init.php:984
152
  msgid "After summary"
153
  msgstr "Efter sammanfattning"
154
 
155
- #: includes/class.yith-wcwl-admin-init.php:985
156
  msgid "Use shortcode"
157
  msgstr "Använd kortkod"
158
 
159
- #: includes/class.yith-wcwl-admin-init.php:990
160
  msgid "Redirect to cart"
161
  msgstr "Omdirigera till kundvagnen"
162
 
163
- #: includes/class.yith-wcwl-admin-init.php:991
164
  msgid ""
165
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
166
  "page."
@@ -168,205 +172,205 @@ msgstr ""
168
  "Omdirigera till kundvagnen om “Lägg till i kundvagnen” blir klickad i "
169
  "önskelistan."
170
 
171
- #: includes/class.yith-wcwl-admin-init.php:998
172
  msgid "Remove if added to the cart"
173
  msgstr "Ta bort om tillagd i kundvagnen"
174
 
175
- #: includes/class.yith-wcwl-admin-init.php:999
176
  msgid "Remove the product from the wishlist if it has been added to the cart."
177
  msgstr ""
178
  "Ta bort produkten ifrån önskelistan om den har blivit tillagd i kundvagnen."
179
 
180
- #: includes/class.yith-wcwl-admin-init.php:1006
181
  msgid "\"Add to Wishlist\" text"
182
  msgstr "“Lägg till i önskelistan”s text"
183
 
184
- #: includes/class.yith-wcwl-admin-init.php:1008
185
- #: includes/class.yith-wcwl-admin-init.php:1009
186
  msgid "Add to Wishlist"
187
  msgstr "Lägg till i önskelistan"
188
 
189
- #: includes/class.yith-wcwl-admin-init.php:1014
190
  msgid "\"Browse wishlist\" text"
191
  msgstr "“Bläddra i önskelistan”s text"
192
 
193
- #: includes/class.yith-wcwl-admin-init.php:1016
194
- #: includes/class.yith-wcwl-admin-init.php:1017
195
  #: includes/class.yith-wcwl-ui.php:81 includes/class.yith-wcwl-ui.php:82
196
  msgid "Browse Wishlist"
197
  msgstr "Bläddra i önskelistan"
198
 
199
- #: includes/class.yith-wcwl-admin-init.php:1022
200
  msgid "\"Product already in wishlist\" text"
201
  msgstr "“Produkten redan i önskelistan”s text"
202
 
203
- #: includes/class.yith-wcwl-admin-init.php:1024
204
- #: includes/class.yith-wcwl-admin-init.php:1025
205
  #: includes/class.yith-wcwl-ui.php:82
206
  msgid "The product is already in the wishlist!"
207
  msgstr "Produkten är redan i önskelistan!"
208
 
209
- #: includes/class.yith-wcwl-admin-init.php:1030
210
  msgid "\"Product added\" text"
211
  msgstr "“Produkt tillagd”s text"
212
 
213
- #: includes/class.yith-wcwl-admin-init.php:1032
214
- #: includes/class.yith-wcwl-admin-init.php:1033
215
  #: includes/class.yith-wcwl-ui.php:81
216
  msgid "Product added!"
217
  msgstr "Produkt tillagd!"
218
 
219
- #: includes/class.yith-wcwl-admin-init.php:1038
220
  msgid "\"Add to Cart\" text"
221
  msgstr "“Lägg till i kundvagn”s text"
222
 
223
- #: includes/class.yith-wcwl-admin-init.php:1040
224
- #: includes/class.yith-wcwl-admin-init.php:1041
225
  msgid "Add to Cart"
226
  msgstr "Lägg till i kundvagn"
227
 
228
- #: includes/class.yith-wcwl-admin-init.php:1046
229
  msgid "Show Unit price"
230
  msgstr "Visa produktens pris"
231
 
232
- #: includes/class.yith-wcwl-admin-init.php:1047
233
  msgid "Show unit price for each product in wishlist"
234
  msgstr "Visa produktens pris för varje objekt i önskelistan"
235
 
236
- #: includes/class.yith-wcwl-admin-init.php:1055
237
  msgid "Show \"Add to Cart\" button"
238
  msgstr "Visa “Lägg till i kundvagn”-knapp"
239
 
240
- #: includes/class.yith-wcwl-admin-init.php:1056
241
  msgid "Show \"Add to Cart\" button for each product in wishlist"
242
  msgstr "Visa “Lägg till i kundvagn”-knapp för varje produkt i önskelistan"
243
 
244
- #: includes/class.yith-wcwl-admin-init.php:1064
245
  msgid "Show Stock status"
246
  msgstr "Visa lagersaldo"
247
 
248
- #: includes/class.yith-wcwl-admin-init.php:1065
249
  msgid ""
250
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
251
  msgstr "Visa “I lager” eller “Slut i lager” för varje produkt i önskelistan"
252
 
253
- #: includes/class.yith-wcwl-admin-init.php:1073
254
  msgid "Show Date of addition"
255
  msgstr "Visa tilläggsdatum"
256
 
257
- #: includes/class.yith-wcwl-admin-init.php:1074
258
  msgid "Show the date when users have added a product to the wishlist"
259
  msgstr "Visa datumet som användaren lade till produkten i önskelistan"
260
 
261
- #: includes/class.yith-wcwl-admin-init.php:1082
262
  msgid "Add second remove button"
263
  msgstr "Lägg till en andre “Ta bort”-knapp"
264
 
265
- #: includes/class.yith-wcwl-admin-init.php:1083
266
  msgid "Add a second remove button in the last column, with extended label"
267
  msgstr "Lägg till en andre “Ta bort”-knapp i sista kolumnen med utökad text"
268
 
269
- #: includes/class.yith-wcwl-admin-init.php:1106
270
  msgid "Styles"
271
  msgstr "Stilregler"
272
 
273
- #: includes/class.yith-wcwl-admin-init.php:1113
274
  msgid "Use buttons"
275
  msgstr "Använd knappar"
276
 
277
- #: includes/class.yith-wcwl-admin-init.php:1114
278
  msgid "Use buttons instead of simple anchors."
279
  msgstr "Använd knappar istället för enkla länkar"
280
 
281
- #: includes/class.yith-wcwl-admin-init.php:1121
282
  msgid "Custom CSS"
283
  msgstr "Egen CSS"
284
 
285
- #: includes/class.yith-wcwl-admin-init.php:1129
286
  msgid "Use theme style"
287
  msgstr "Använd temastil"
288
 
289
- #: includes/class.yith-wcwl-admin-init.php:1130
290
  msgid "Use the theme style."
291
  msgstr "Använd temats stil"
292
 
293
- #: includes/class.yith-wcwl-admin-init.php:1137
294
  msgid "Rounded buttons"
295
  msgstr "Rundade knappar"
296
 
297
- #: includes/class.yith-wcwl-admin-init.php:1138
298
  msgid "Make button corners rounded"
299
  msgstr "Gör knappars hörs rundade"
300
 
301
- #: includes/class.yith-wcwl-admin-init.php:1145
302
  msgid "\"Add to Wishlist\" icon"
303
  msgstr "“Lägg till i önskelista”s ikon"
304
 
305
- #: includes/class.yith-wcwl-admin-init.php:1146
306
  msgid "Add an icon to the \"Add to Wishlist\" button"
307
  msgstr "Lägg till en ikon till “Lägg till i önskelista”s knapp"
308
 
309
- #: includes/class.yith-wcwl-admin-init.php:1157
310
  msgid "\"Add to Cart\" icon"
311
  msgstr "“Lägg till i kundvagn”s ikon"
312
 
313
- #: includes/class.yith-wcwl-admin-init.php:1158
314
  msgid "Add an icon to the \"Add to Cart\" button"
315
  msgstr "Lägg till en ikon till “Lägg till i kundvagn”s knapp"
316
 
317
- #: includes/class.yith-wcwl-admin-init.php:1177
318
  msgid "Social Networks & Share"
319
  msgstr "Sociala nätverk & dela"
320
 
321
- #: includes/class.yith-wcwl-admin-init.php:1184
322
  msgid "Share on Facebook"
323
  msgstr "Dela på Facebook"
324
 
325
- #: includes/class.yith-wcwl-admin-init.php:1185
326
  msgid "Show \"Share on Facebook\" button"
327
  msgstr "Visa “Dela på Facebook”-knapp"
328
 
329
- #: includes/class.yith-wcwl-admin-init.php:1192
330
  msgid "Tweet on Twitter"
331
  msgstr "Twittra på Twitter"
332
 
333
- #: includes/class.yith-wcwl-admin-init.php:1193
334
  msgid "Show \"Tweet on Twitter\" button"
335
  msgstr "Visa “Twittra på Twitter”-knapp"
336
 
337
- #: includes/class.yith-wcwl-admin-init.php:1200
338
  msgid "Pin on Pinterest"
339
  msgstr "Pinna på Pintrest"
340
 
341
- #: includes/class.yith-wcwl-admin-init.php:1201
342
  msgid "Show \"Pin on Pinterest\" button"
343
  msgstr "Visa “Pinna på Pintrest”-knapp"
344
 
345
- #: includes/class.yith-wcwl-admin-init.php:1208
346
  msgid "Share on Google+"
347
  msgstr "Dela på Google+"
348
 
349
- #: includes/class.yith-wcwl-admin-init.php:1209
350
  msgid "Show \"Share on Google+\" button"
351
  msgstr "Visa “Dela på Google+”-knapp"
352
 
353
- #: includes/class.yith-wcwl-admin-init.php:1216
354
  msgid "Share by Email"
355
  msgstr "Dela via Email"
356
 
357
- #: includes/class.yith-wcwl-admin-init.php:1217
358
  msgid "Show \"Share by Email\" button"
359
  msgstr "Visa “Dela via Email”-knapp"
360
 
361
- #: includes/class.yith-wcwl-admin-init.php:1224
362
  msgid "Social title"
363
  msgstr "Titel på sociala medier"
364
 
365
- #: includes/class.yith-wcwl-admin-init.php:1232
366
  msgid "Social text"
367
  msgstr "Text på sociala medier"
368
 
369
- #: includes/class.yith-wcwl-admin-init.php:1233
370
  msgid ""
371
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
372
  "%</strong> where you want to show the URL of your wishlist."
@@ -374,26 +378,26 @@ msgstr ""
374
  "Detta kommer att användas av Facebook, Twitter och Pintrest. Använd <strong>"
375
  "%whishlist_url%</strong> där du vill visa länken till din önskelista."
376
 
377
- #: includes/class.yith-wcwl-admin-init.php:1241
378
  msgid "Social image URL"
379
  msgstr "Bild för sociala medier (URL)"
380
 
381
- #: includes/class.yith-wcwl-admin-init.php:1256
382
  #, php-format
383
  msgid ""
384
  "If you want to take advantage of this feature, you could consider to "
385
  "purchase the %s."
386
  msgstr "Om du vill ta del av denna funktionen bör du överväga att köpa %s."
387
 
388
- #: includes/class.yith-wcwl-admin-init.php:1261
389
  msgid "YITH WooCommerce Frequently Bought Together Integration"
390
  msgstr "YITH WooCommerce Vanliga köpte tillsammans integritet"
391
 
392
- #: includes/class.yith-wcwl-admin-init.php:1268
393
  msgid "Enable slider in wishlist"
394
  msgstr "Aktivera slider i önskelistan"
395
 
396
- #: includes/class.yith-wcwl-admin-init.php:1269
397
  #, php-format
398
  msgid ""
399
  "Choose to enable product slider in wishlist page with linked products (<a "
@@ -402,84 +406,84 @@ msgstr ""
402
  "Välj en produktslider på önskelistans sida med länkade produkter (<a "
403
  "href=“%s” class=“thickbox”>Exempel</a>.%s"
404
 
405
- #: includes/class.yith-wcwl-admin-init.php:1306
406
  msgid "\"Add to wishlist\" button"
407
  msgstr "“Lägg till i önskelista”-knapp"
408
 
409
- #: includes/class.yith-wcwl-admin-init.php:1309
410
- #: includes/class.yith-wcwl-admin-init.php:1327
411
- #: includes/class.yith-wcwl-admin-init.php:1345
412
- #: includes/class.yith-wcwl-admin-init.php:1363
413
- #: includes/class.yith-wcwl-admin-init.php:1381
414
- msgid "Background"
415
- msgstr "Bakgrund"
416
-
417
  #: includes/class.yith-wcwl-admin-init.php:1310
418
  #: includes/class.yith-wcwl-admin-init.php:1328
419
  #: includes/class.yith-wcwl-admin-init.php:1346
420
  #: includes/class.yith-wcwl-admin-init.php:1364
421
- #: includes/class.yith-wcwl-admin-init.php:1382
422
- msgid "Text"
423
- msgstr "Text"
424
 
 
425
  #: includes/class.yith-wcwl-admin-init.php:1311
426
  #: includes/class.yith-wcwl-admin-init.php:1329
427
  #: includes/class.yith-wcwl-admin-init.php:1347
428
  #: includes/class.yith-wcwl-admin-init.php:1365
429
- #: includes/class.yith-wcwl-admin-init.php:1383
 
 
 
 
 
 
 
430
  msgid "Border"
431
  msgstr "Ram"
432
 
433
- #: includes/class.yith-wcwl-admin-init.php:1318
434
- #: includes/class.yith-wcwl-admin-init.php:1336
435
- #: includes/class.yith-wcwl-admin-init.php:1354
436
- #: includes/class.yith-wcwl-admin-init.php:1372
437
- msgid "Background (hover)"
438
- msgstr "Bakgrund (när muspekare är över)"
439
-
440
  #: includes/class.yith-wcwl-admin-init.php:1319
441
  #: includes/class.yith-wcwl-admin-init.php:1337
442
  #: includes/class.yith-wcwl-admin-init.php:1355
443
- #: includes/class.yith-wcwl-admin-init.php:1373
444
- msgid "Text (hover)"
445
- msgstr "Text (när muspekare är över)"
446
 
 
447
  #: includes/class.yith-wcwl-admin-init.php:1320
448
  #: includes/class.yith-wcwl-admin-init.php:1338
449
  #: includes/class.yith-wcwl-admin-init.php:1356
450
- #: includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
451
  msgid "Border (hover)"
452
  msgstr "Ram (när muspekare är över)"
453
 
454
- #: includes/class.yith-wcwl-admin-init.php:1324
455
  msgid "\"Add to Cart\" button"
456
  msgstr "“Lägg till i kundvagn”-knapp"
457
 
458
- #: includes/class.yith-wcwl-admin-init.php:1342
459
  msgid "\"Style 1\" button"
460
  msgstr "“Stil 1”-knapp"
461
 
462
- #: includes/class.yith-wcwl-admin-init.php:1360
463
  msgid "\"Style 2\" button"
464
  msgstr "“Stil 2”-knapp"
465
 
466
- #: includes/class.yith-wcwl-admin-init.php:1378
467
  msgid "Wishlist table"
468
  msgstr "Önskelistatabell"
469
 
470
- #: includes/class.yith-wcwl-admin-init.php:1387
471
  msgid "Headers"
472
  msgstr "Headers"
473
 
474
- #: includes/class.yith-wcwl-admin-init.php:1390
475
  msgid "Background color"
476
  msgstr "Bakgrundsfärg"
477
 
478
- #: includes/class.yith-wcwl-admin-init.php:1480
479
  msgid "Wishlist Activated"
480
  msgstr "Önskelista aktiverad"
481
 
482
- #: includes/class.yith-wcwl-admin-init.php:1481
483
  #, php-format
484
  msgid ""
485
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -492,11 +496,11 @@ msgstr ""
492
  "finns tillgänglig i en utmärkt premiumversion med många nya inställningar, "
493
  "<a href=“%s”>upptäck dem nu</a>"
494
 
495
- #: includes/class.yith-wcwl-admin-init.php:1492
496
  msgid "Wishlist Updated"
497
  msgstr "Önskelistan uppdaterad"
498
 
499
- #: includes/class.yith-wcwl-admin-init.php:1493
500
  #, php-format
501
  msgid ""
502
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -511,7 +515,7 @@ msgstr ""
511
  "nytt menyalternativ bli tillagt i denna meny. Wishlist har blivit uppdaterat "
512
  "med nya alternativ tillgängliga, <a href=“%s”>upptäck premiumversionen</a>"
513
 
514
- #: includes/class.yith-wcwl-init.php:361
515
  msgid ""
516
  "We are sorry, but this feature is available only if cookies are enabled on "
517
  "your browser."
@@ -519,7 +523,7 @@ msgstr ""
519
  "Vi är ledsna men denna funktionen är enbart tillgänglig när kakor (cookies) "
520
  "är påslaget i din webbläsare."
521
 
522
- #: includes/class.yith-wcwl-init.php:362
523
  msgid "Product correctly added to cart"
524
  msgstr "Produkt korrekt tillagd i varukorgen"
525
 
@@ -584,7 +588,7 @@ msgstr "Ingen produkt har blivit tillagd i önskelistan"
584
  msgid "An error as occurred."
585
  msgstr "Ett fel uppstod"
586
 
587
- #: init.php:133
588
  msgid ""
589
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
590
  "WooCommerce in order to work."
@@ -592,7 +596,7 @@ msgstr ""
592
  "YITH WooCommerce Wishlist är på men inte effektivt då det kräver tilläget "
593
  "WooComerce för att fungera."
594
 
595
- #: init.php:143
596
  msgid ""
597
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
598
  "are using the premium one."
@@ -850,6 +854,10 @@ msgstr "Pintrest"
850
  msgid "Google+"
851
  msgstr "Google+"
852
 
 
 
 
 
853
  #: templates/share.php:40
854
  msgid "Email"
855
  msgstr "Epost"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WCWL\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: sv\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
+ #: includes/class.yith-wcwl-admin-init.php:176
20
+ #: includes/class.yith-wcwl-admin-init.php:1397
21
+ #: includes/class.yith-wcwl-admin-init.php:1398
22
  #: includes/class.yith-wcwl-install.php:240
23
  msgid "Wishlist"
24
  msgstr "Önskelista"
25
 
26
+ #: includes/class.yith-wcwl-admin-init.php:178
27
+ #: includes/class.yith-wcwl-admin-init.php:280
28
  msgid "Settings"
29
  msgstr "Inställningar"
30
 
31
+ #: includes/class.yith-wcwl-admin-init.php:179
32
+ #: includes/class.yith-wcwl-admin-init.php:247
33
  msgid "Colors"
34
  msgstr "Färger"
35
 
36
+ #: includes/class.yith-wcwl-admin-init.php:180
37
+ #: includes/class.yith-wcwl-admin-init.php:284
38
  msgid "Premium Version"
39
  msgstr "Premiumversion"
40
 
41
+ #: includes/class.yith-wcwl-admin-init.php:285
42
+ msgid "Live Demo"
43
+ msgstr ""
44
+
45
+ #: includes/class.yith-wcwl-admin-init.php:309
46
  msgid ""
47
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
48
  "link to update it."
50
  "VARNING: Detta plugin kräver mins WooCommerce 2.2! Vänligen använd denna "
51
  "länk för att uppdatera."
52
 
53
+ #: includes/class.yith-wcwl-admin-init.php:312
54
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
55
  msgstr "VARNING: Detta plugin kräver minst WooCommerce 2.2!"
56
 
57
+ #: includes/class.yith-wcwl-admin-init.php:317
58
  msgid "Plugin Documentation"
59
  msgstr "Tilläggets dokumentation"
60
 
61
+ #: includes/class.yith-wcwl-admin-init.php:333
62
  msgid "Wishlist Page"
63
  msgstr "Önskelistans sida"
64
 
65
+ #: includes/class.yith-wcwl-admin-init.php:334
66
  msgid "Page contents: [yith_wcwl_wishlist]"
67
  msgstr "Sidans innehåll: [yith_wcwl_wishlist]"
68
 
69
+ #: includes/class.yith-wcwl-admin-init.php:909
70
  msgid "Upgrade to the PREMIUM VERSION"
71
  msgstr "Uppgradera till Premiumversion"
72
 
73
+ #: includes/class.yith-wcwl-admin-init.php:912
74
  msgid "YITH WooCommerce Wishlist"
75
  msgstr "YITH WooCommerce Wishlist"
76
 
77
+ #: includes/class.yith-wcwl-admin-init.php:913
78
  msgid "Discover the Advanced Features"
79
  msgstr "Upptäck de avancerade funktionerna"
80
 
81
+ #: includes/class.yith-wcwl-admin-init.php:914
82
  msgid ""
83
  "Upgrade to the PREMIUM VERSION\n"
84
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  "Uppgradera till Premiumverionen\n"
87
  "av YITH WOOCOMMERCE WISHLIST för att ta del av alla funktioner!"
88
 
89
+ #: includes/class.yith-wcwl-admin-init.php:921
90
  msgid "Get Support and Pro Features"
91
  msgstr "Få support och professionella funktioner"
92
 
93
+ #: includes/class.yith-wcwl-admin-init.php:922
94
  msgid ""
95
  "By purchasing the premium version of the plugin, you will take advantage of "
96
  "the advanced features of the product and you will get one year of free "
100
  "avancerade funktionerna ifrån produkten, samt få ett års gratis "
101
  "uppdateringar och support genom hela plattformen 24/7."
102
 
103
+ #: includes/class.yith-wcwl-admin-init.php:932
104
  msgid "General Settings"
105
  msgstr "Generella inställningar"
106
 
107
+ #: includes/class.yith-wcwl-admin-init.php:939
108
  msgid "Enable YITH Wishlist"
109
  msgstr "Aktivera YITH Wishlist"
110
 
111
+ #: includes/class.yith-wcwl-admin-init.php:940
112
  #, php-format
113
  msgid ""
114
  "Enable all plugin features. <strong>Be sure to select at least one option in "
119
  "alternativ i önskelistans sidmeny i %s.</strong> Samt, vänligen läs "
120
  "tilläggets <a href=“%s” target=“_blank”>dokumentation</a>."
121
 
122
+ #: includes/class.yith-wcwl-admin-init.php:947
123
  msgid "Default wishlist title"
124
  msgstr "Titel på önskelistan"
125
 
126
+ #: includes/class.yith-wcwl-admin-init.php:949
127
+ #: includes/class.yith-wcwl-admin-init.php:950
128
+ #: includes/class.yith-wcwl-admin-init.php:1209
129
+ #: includes/class.yith-wcwl-admin-init.php:1210
130
  #, php-format
131
  msgid "My wishlist on %s"
132
  msgstr "Min önskelista på %s"
133
 
134
+ #: includes/class.yith-wcwl-admin-init.php:958
135
  msgid "Position"
136
  msgstr "Position"
137
 
138
+ #: includes/class.yith-wcwl-admin-init.php:959
139
  msgid ""
140
  "You can add the button in variable products only after the \"Add to Cart\" "
141
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
144
  "kundvagn”-knappen eller genom att använda kortkoden "
145
  "[yith_wcwl_add_to_wishlist]."
146
 
147
+ #: includes/class.yith-wcwl-admin-init.php:965
148
  msgid "After \"Add to cart\""
149
  msgstr "Efter “Lägg till i varukorgen”"
150
 
151
+ #: includes/class.yith-wcwl-admin-init.php:966
152
  msgid "After thumbnails"
153
  msgstr "Efter miniatyrbilder"
154
 
155
+ #: includes/class.yith-wcwl-admin-init.php:967
156
  msgid "After summary"
157
  msgstr "Efter sammanfattning"
158
 
159
+ #: includes/class.yith-wcwl-admin-init.php:968
160
  msgid "Use shortcode"
161
  msgstr "Använd kortkod"
162
 
163
+ #: includes/class.yith-wcwl-admin-init.php:973
164
  msgid "Redirect to cart"
165
  msgstr "Omdirigera till kundvagnen"
166
 
167
+ #: includes/class.yith-wcwl-admin-init.php:974
168
  msgid ""
169
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
170
  "page."
172
  "Omdirigera till kundvagnen om “Lägg till i kundvagnen” blir klickad i "
173
  "önskelistan."
174
 
175
+ #: includes/class.yith-wcwl-admin-init.php:981
176
  msgid "Remove if added to the cart"
177
  msgstr "Ta bort om tillagd i kundvagnen"
178
 
179
+ #: includes/class.yith-wcwl-admin-init.php:982
180
  msgid "Remove the product from the wishlist if it has been added to the cart."
181
  msgstr ""
182
  "Ta bort produkten ifrån önskelistan om den har blivit tillagd i kundvagnen."
183
 
184
+ #: includes/class.yith-wcwl-admin-init.php:989
185
  msgid "\"Add to Wishlist\" text"
186
  msgstr "“Lägg till i önskelistan”s text"
187
 
188
+ #: includes/class.yith-wcwl-admin-init.php:991
189
+ #: includes/class.yith-wcwl-admin-init.php:992
190
  msgid "Add to Wishlist"
191
  msgstr "Lägg till i önskelistan"
192
 
193
+ #: includes/class.yith-wcwl-admin-init.php:997
194
  msgid "\"Browse wishlist\" text"
195
  msgstr "“Bläddra i önskelistan”s text"
196
 
197
+ #: includes/class.yith-wcwl-admin-init.php:999
198
+ #: includes/class.yith-wcwl-admin-init.php:1000
199
  #: includes/class.yith-wcwl-ui.php:81 includes/class.yith-wcwl-ui.php:82
200
  msgid "Browse Wishlist"
201
  msgstr "Bläddra i önskelistan"
202
 
203
+ #: includes/class.yith-wcwl-admin-init.php:1005
204
  msgid "\"Product already in wishlist\" text"
205
  msgstr "“Produkten redan i önskelistan”s text"
206
 
207
+ #: includes/class.yith-wcwl-admin-init.php:1007
208
+ #: includes/class.yith-wcwl-admin-init.php:1008
209
  #: includes/class.yith-wcwl-ui.php:82
210
  msgid "The product is already in the wishlist!"
211
  msgstr "Produkten är redan i önskelistan!"
212
 
213
+ #: includes/class.yith-wcwl-admin-init.php:1013
214
  msgid "\"Product added\" text"
215
  msgstr "“Produkt tillagd”s text"
216
 
217
+ #: includes/class.yith-wcwl-admin-init.php:1015
218
+ #: includes/class.yith-wcwl-admin-init.php:1016
219
  #: includes/class.yith-wcwl-ui.php:81
220
  msgid "Product added!"
221
  msgstr "Produkt tillagd!"
222
 
223
+ #: includes/class.yith-wcwl-admin-init.php:1021
224
  msgid "\"Add to Cart\" text"
225
  msgstr "“Lägg till i kundvagn”s text"
226
 
227
+ #: includes/class.yith-wcwl-admin-init.php:1023
228
+ #: includes/class.yith-wcwl-admin-init.php:1024
229
  msgid "Add to Cart"
230
  msgstr "Lägg till i kundvagn"
231
 
232
+ #: includes/class.yith-wcwl-admin-init.php:1029
233
  msgid "Show Unit price"
234
  msgstr "Visa produktens pris"
235
 
236
+ #: includes/class.yith-wcwl-admin-init.php:1030
237
  msgid "Show unit price for each product in wishlist"
238
  msgstr "Visa produktens pris för varje objekt i önskelistan"
239
 
240
+ #: includes/class.yith-wcwl-admin-init.php:1038
241
  msgid "Show \"Add to Cart\" button"
242
  msgstr "Visa “Lägg till i kundvagn”-knapp"
243
 
244
+ #: includes/class.yith-wcwl-admin-init.php:1039
245
  msgid "Show \"Add to Cart\" button for each product in wishlist"
246
  msgstr "Visa “Lägg till i kundvagn”-knapp för varje produkt i önskelistan"
247
 
248
+ #: includes/class.yith-wcwl-admin-init.php:1047
249
  msgid "Show Stock status"
250
  msgstr "Visa lagersaldo"
251
 
252
+ #: includes/class.yith-wcwl-admin-init.php:1048
253
  msgid ""
254
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
255
  msgstr "Visa “I lager” eller “Slut i lager” för varje produkt i önskelistan"
256
 
257
+ #: includes/class.yith-wcwl-admin-init.php:1056
258
  msgid "Show Date of addition"
259
  msgstr "Visa tilläggsdatum"
260
 
261
+ #: includes/class.yith-wcwl-admin-init.php:1057
262
  msgid "Show the date when users have added a product to the wishlist"
263
  msgstr "Visa datumet som användaren lade till produkten i önskelistan"
264
 
265
+ #: includes/class.yith-wcwl-admin-init.php:1065
266
  msgid "Add second remove button"
267
  msgstr "Lägg till en andre “Ta bort”-knapp"
268
 
269
+ #: includes/class.yith-wcwl-admin-init.php:1066
270
  msgid "Add a second remove button in the last column, with extended label"
271
  msgstr "Lägg till en andre “Ta bort”-knapp i sista kolumnen med utökad text"
272
 
273
+ #: includes/class.yith-wcwl-admin-init.php:1089
274
  msgid "Styles"
275
  msgstr "Stilregler"
276
 
277
+ #: includes/class.yith-wcwl-admin-init.php:1096
278
  msgid "Use buttons"
279
  msgstr "Använd knappar"
280
 
281
+ #: includes/class.yith-wcwl-admin-init.php:1097
282
  msgid "Use buttons instead of simple anchors."
283
  msgstr "Använd knappar istället för enkla länkar"
284
 
285
+ #: includes/class.yith-wcwl-admin-init.php:1104
286
  msgid "Custom CSS"
287
  msgstr "Egen CSS"
288
 
289
+ #: includes/class.yith-wcwl-admin-init.php:1112
290
  msgid "Use theme style"
291
  msgstr "Använd temastil"
292
 
293
+ #: includes/class.yith-wcwl-admin-init.php:1113
294
  msgid "Use the theme style."
295
  msgstr "Använd temats stil"
296
 
297
+ #: includes/class.yith-wcwl-admin-init.php:1120
298
  msgid "Rounded buttons"
299
  msgstr "Rundade knappar"
300
 
301
+ #: includes/class.yith-wcwl-admin-init.php:1121
302
  msgid "Make button corners rounded"
303
  msgstr "Gör knappars hörs rundade"
304
 
305
+ #: includes/class.yith-wcwl-admin-init.php:1128
306
  msgid "\"Add to Wishlist\" icon"
307
  msgstr "“Lägg till i önskelista”s ikon"
308
 
309
+ #: includes/class.yith-wcwl-admin-init.php:1129
310
  msgid "Add an icon to the \"Add to Wishlist\" button"
311
  msgstr "Lägg till en ikon till “Lägg till i önskelista”s knapp"
312
 
313
+ #: includes/class.yith-wcwl-admin-init.php:1140
314
  msgid "\"Add to Cart\" icon"
315
  msgstr "“Lägg till i kundvagn”s ikon"
316
 
317
+ #: includes/class.yith-wcwl-admin-init.php:1141
318
  msgid "Add an icon to the \"Add to Cart\" button"
319
  msgstr "Lägg till en ikon till “Lägg till i kundvagn”s knapp"
320
 
321
+ #: includes/class.yith-wcwl-admin-init.php:1160
322
  msgid "Social Networks & Share"
323
  msgstr "Sociala nätverk & dela"
324
 
325
+ #: includes/class.yith-wcwl-admin-init.php:1167
326
  msgid "Share on Facebook"
327
  msgstr "Dela på Facebook"
328
 
329
+ #: includes/class.yith-wcwl-admin-init.php:1168
330
  msgid "Show \"Share on Facebook\" button"
331
  msgstr "Visa “Dela på Facebook”-knapp"
332
 
333
+ #: includes/class.yith-wcwl-admin-init.php:1175
334
  msgid "Tweet on Twitter"
335
  msgstr "Twittra på Twitter"
336
 
337
+ #: includes/class.yith-wcwl-admin-init.php:1176
338
  msgid "Show \"Tweet on Twitter\" button"
339
  msgstr "Visa “Twittra på Twitter”-knapp"
340
 
341
+ #: includes/class.yith-wcwl-admin-init.php:1183
342
  msgid "Pin on Pinterest"
343
  msgstr "Pinna på Pintrest"
344
 
345
+ #: includes/class.yith-wcwl-admin-init.php:1184
346
  msgid "Show \"Pin on Pinterest\" button"
347
  msgstr "Visa “Pinna på Pintrest”-knapp"
348
 
349
+ #: includes/class.yith-wcwl-admin-init.php:1191
350
  msgid "Share on Google+"
351
  msgstr "Dela på Google+"
352
 
353
+ #: includes/class.yith-wcwl-admin-init.php:1192
354
  msgid "Show \"Share on Google+\" button"
355
  msgstr "Visa “Dela på Google+”-knapp"
356
 
357
+ #: includes/class.yith-wcwl-admin-init.php:1199
358
  msgid "Share by Email"
359
  msgstr "Dela via Email"
360
 
361
+ #: includes/class.yith-wcwl-admin-init.php:1200
362
  msgid "Show \"Share by Email\" button"
363
  msgstr "Visa “Dela via Email”-knapp"
364
 
365
+ #: includes/class.yith-wcwl-admin-init.php:1207
366
  msgid "Social title"
367
  msgstr "Titel på sociala medier"
368
 
369
+ #: includes/class.yith-wcwl-admin-init.php:1215
370
  msgid "Social text"
371
  msgstr "Text på sociala medier"
372
 
373
+ #: includes/class.yith-wcwl-admin-init.php:1216
374
  msgid ""
375
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
376
  "%</strong> where you want to show the URL of your wishlist."
378
  "Detta kommer att användas av Facebook, Twitter och Pintrest. Använd <strong>"
379
  "%whishlist_url%</strong> där du vill visa länken till din önskelista."
380
 
381
+ #: includes/class.yith-wcwl-admin-init.php:1224
382
  msgid "Social image URL"
383
  msgstr "Bild för sociala medier (URL)"
384
 
385
+ #: includes/class.yith-wcwl-admin-init.php:1239
386
  #, php-format
387
  msgid ""
388
  "If you want to take advantage of this feature, you could consider to "
389
  "purchase the %s."
390
  msgstr "Om du vill ta del av denna funktionen bör du överväga att köpa %s."
391
 
392
+ #: includes/class.yith-wcwl-admin-init.php:1244
393
  msgid "YITH WooCommerce Frequently Bought Together Integration"
394
  msgstr "YITH WooCommerce Vanliga köpte tillsammans integritet"
395
 
396
+ #: includes/class.yith-wcwl-admin-init.php:1251
397
  msgid "Enable slider in wishlist"
398
  msgstr "Aktivera slider i önskelistan"
399
 
400
+ #: includes/class.yith-wcwl-admin-init.php:1252
401
  #, php-format
402
  msgid ""
403
  "Choose to enable product slider in wishlist page with linked products (<a "
406
  "Välj en produktslider på önskelistans sida med länkade produkter (<a "
407
  "href=“%s” class=“thickbox”>Exempel</a>.%s"
408
 
409
+ #: includes/class.yith-wcwl-admin-init.php:1289
410
  msgid "\"Add to wishlist\" button"
411
  msgstr "“Lägg till i önskelista”-knapp"
412
 
413
+ #: includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
414
  #: includes/class.yith-wcwl-admin-init.php:1310
415
  #: includes/class.yith-wcwl-admin-init.php:1328
416
  #: includes/class.yith-wcwl-admin-init.php:1346
417
  #: includes/class.yith-wcwl-admin-init.php:1364
418
+ msgid "Background"
419
+ msgstr "Bakgrund"
 
420
 
421
+ #: includes/class.yith-wcwl-admin-init.php:1293
422
  #: includes/class.yith-wcwl-admin-init.php:1311
423
  #: includes/class.yith-wcwl-admin-init.php:1329
424
  #: includes/class.yith-wcwl-admin-init.php:1347
425
  #: includes/class.yith-wcwl-admin-init.php:1365
426
+ msgid "Text"
427
+ msgstr "Text"
428
+
429
+ #: includes/class.yith-wcwl-admin-init.php:1294
430
+ #: includes/class.yith-wcwl-admin-init.php:1312
431
+ #: includes/class.yith-wcwl-admin-init.php:1330
432
+ #: includes/class.yith-wcwl-admin-init.php:1348
433
+ #: includes/class.yith-wcwl-admin-init.php:1366
434
  msgid "Border"
435
  msgstr "Ram"
436
 
437
+ #: includes/class.yith-wcwl-admin-init.php:1301
 
 
 
 
 
 
438
  #: includes/class.yith-wcwl-admin-init.php:1319
439
  #: includes/class.yith-wcwl-admin-init.php:1337
440
  #: includes/class.yith-wcwl-admin-init.php:1355
441
+ msgid "Background (hover)"
442
+ msgstr "Bakgrund (när muspekare är över)"
 
443
 
444
+ #: includes/class.yith-wcwl-admin-init.php:1302
445
  #: includes/class.yith-wcwl-admin-init.php:1320
446
  #: includes/class.yith-wcwl-admin-init.php:1338
447
  #: includes/class.yith-wcwl-admin-init.php:1356
448
+ msgid "Text (hover)"
449
+ msgstr "Text (när muspekare är över)"
450
+
451
+ #: includes/class.yith-wcwl-admin-init.php:1303
452
+ #: includes/class.yith-wcwl-admin-init.php:1321
453
+ #: includes/class.yith-wcwl-admin-init.php:1339
454
+ #: includes/class.yith-wcwl-admin-init.php:1357
455
  msgid "Border (hover)"
456
  msgstr "Ram (när muspekare är över)"
457
 
458
+ #: includes/class.yith-wcwl-admin-init.php:1307
459
  msgid "\"Add to Cart\" button"
460
  msgstr "“Lägg till i kundvagn”-knapp"
461
 
462
+ #: includes/class.yith-wcwl-admin-init.php:1325
463
  msgid "\"Style 1\" button"
464
  msgstr "“Stil 1”-knapp"
465
 
466
+ #: includes/class.yith-wcwl-admin-init.php:1343
467
  msgid "\"Style 2\" button"
468
  msgstr "“Stil 2”-knapp"
469
 
470
+ #: includes/class.yith-wcwl-admin-init.php:1361
471
  msgid "Wishlist table"
472
  msgstr "Önskelistatabell"
473
 
474
+ #: includes/class.yith-wcwl-admin-init.php:1370
475
  msgid "Headers"
476
  msgstr "Headers"
477
 
478
+ #: includes/class.yith-wcwl-admin-init.php:1373
479
  msgid "Background color"
480
  msgstr "Bakgrundsfärg"
481
 
482
+ #: includes/class.yith-wcwl-admin-init.php:1463
483
  msgid "Wishlist Activated"
484
  msgstr "Önskelista aktiverad"
485
 
486
+ #: includes/class.yith-wcwl-admin-init.php:1464
487
  #, php-format
488
  msgid ""
489
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
496
  "finns tillgänglig i en utmärkt premiumversion med många nya inställningar, "
497
  "<a href=“%s”>upptäck dem nu</a>"
498
 
499
+ #: includes/class.yith-wcwl-admin-init.php:1475
500
  msgid "Wishlist Updated"
501
  msgstr "Önskelistan uppdaterad"
502
 
503
+ #: includes/class.yith-wcwl-admin-init.php:1476
504
  #, php-format
505
  msgid ""
506
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
515
  "nytt menyalternativ bli tillagt i denna meny. Wishlist har blivit uppdaterat "
516
  "med nya alternativ tillgängliga, <a href=“%s”>upptäck premiumversionen</a>"
517
 
518
+ #: includes/class.yith-wcwl-init.php:380
519
  msgid ""
520
  "We are sorry, but this feature is available only if cookies are enabled on "
521
  "your browser."
523
  "Vi är ledsna men denna funktionen är enbart tillgänglig när kakor (cookies) "
524
  "är påslaget i din webbläsare."
525
 
526
+ #: includes/class.yith-wcwl-init.php:381
527
  msgid "Product correctly added to cart"
528
  msgstr "Produkt korrekt tillagd i varukorgen"
529
 
588
  msgid "An error as occurred."
589
  msgstr "Ett fel uppstod"
590
 
591
+ #: init.php:135
592
  msgid ""
593
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
594
  "WooCommerce in order to work."
596
  "YITH WooCommerce Wishlist är på men inte effektivt då det kräver tilläget "
597
  "WooComerce för att fungera."
598
 
599
+ #: init.php:145
600
  msgid ""
601
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
602
  "are using the premium one."
854
  msgid "Google+"
855
  msgstr "Google+"
856
 
857
+ #: templates/share.php:40
858
+ msgid "I wanted you to see this site"
859
+ msgstr ""
860
+
861
  #: templates/share.php:40
862
  msgid "Email"
863
  msgstr "Epost"
languages/yith-woocommerce-wishlist-tr_TR.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-tr_TR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
6
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel (@egonomik) <caneroncel@gmail.com>\n"
9
  "Language: tr_TR\n"
@@ -20,88 +20,92 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
- #: ../includes/class.yith-wcwl-admin-init.php:194
24
- #: ../includes/class.yith-wcwl-admin-init.php:1414
25
- #: ../includes/class.yith-wcwl-admin-init.php:1415
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr "İstek Listesi"
29
 
30
- #: ../includes/class.yith-wcwl-admin-init.php:196
31
- #: ../includes/class.yith-wcwl-admin-init.php:298
32
  msgid "Settings"
33
  msgstr "Ayarlar"
34
 
35
- #: ../includes/class.yith-wcwl-admin-init.php:197
36
- #: ../includes/class.yith-wcwl-admin-init.php:265
37
  msgid "Colors"
38
  msgstr "Renkler"
39
 
40
- #: ../includes/class.yith-wcwl-admin-init.php:198
41
- #: ../includes/class.yith-wcwl-admin-init.php:302
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
46
  msgid ""
47
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
48
  "link to update it."
49
  msgstr ""
50
 
51
- #: ../includes/class.yith-wcwl-admin-init.php:329
52
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
53
  msgstr ""
54
 
55
- #: ../includes/class.yith-wcwl-admin-init.php:334
56
  msgid "Plugin Documentation"
57
  msgstr ""
58
 
59
- #: ../includes/class.yith-wcwl-admin-init.php:350
60
  msgid "Wishlist Page"
61
  msgstr "İstek Listesi Sayfası"
62
 
63
- #: ../includes/class.yith-wcwl-admin-init.php:351
64
  msgid "Page contents: [yith_wcwl_wishlist]"
65
  msgstr "Sayfa içeriği: [yith_wcwl_wishlist]"
66
 
67
- #: ../includes/class.yith-wcwl-admin-init.php:926
68
  msgid "Upgrade to the PREMIUM VERSION"
69
  msgstr ""
70
 
71
- #: ../includes/class.yith-wcwl-admin-init.php:929
72
  msgid "YITH WooCommerce Wishlist"
73
  msgstr ""
74
 
75
- #: ../includes/class.yith-wcwl-admin-init.php:930
76
  msgid "Discover the Advanced Features"
77
  msgstr ""
78
 
79
- #: ../includes/class.yith-wcwl-admin-init.php:931
80
  msgid ""
81
  "Upgrade to the PREMIUM VERSION\n"
82
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
83
  msgstr ""
84
 
85
- #: ../includes/class.yith-wcwl-admin-init.php:938
86
  msgid "Get Support and Pro Features"
87
  msgstr ""
88
 
89
- #: ../includes/class.yith-wcwl-admin-init.php:939
90
  msgid ""
91
  "By purchasing the premium version of the plugin, you will take advantage of "
92
  "the advanced features of the product and you will get one year of free "
93
  "updates and support through our platform available 24h/24."
94
  msgstr ""
95
 
96
- #: ../includes/class.yith-wcwl-admin-init.php:949
97
  msgid "General Settings"
98
  msgstr "Genel Ayarlar"
99
 
100
- #: ../includes/class.yith-wcwl-admin-init.php:956
101
  msgid "Enable YITH Wishlist"
102
  msgstr "YITH İstek Listesi Etkin"
103
 
104
- #: ../includes/class.yith-wcwl-admin-init.php:957
105
  #, php-format
106
  msgid ""
107
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -109,50 +113,50 @@ msgid ""
109
  "\"%s\" target=\"_blank\">documentation</a>."
110
  msgstr ""
111
 
112
- #: ../includes/class.yith-wcwl-admin-init.php:964
113
  #, fuzzy
114
  msgid "Default wishlist title"
115
  msgstr "İstek listesi başlığı"
116
 
117
- #: ../includes/class.yith-wcwl-admin-init.php:966
118
- #: ../includes/class.yith-wcwl-admin-init.php:967
119
- #: ../includes/class.yith-wcwl-admin-init.php:1226
120
- #: ../includes/class.yith-wcwl-admin-init.php:1227
121
  #, php-format
122
  msgid "My wishlist on %s"
123
  msgstr "%s üzerinde istek listem"
124
 
125
- #: ../includes/class.yith-wcwl-admin-init.php:975
126
  msgid "Position"
127
  msgstr "Pozisyon"
128
 
129
- #: ../includes/class.yith-wcwl-admin-init.php:976
130
  msgid ""
131
  "You can add the button in variable products only after the \"Add to Cart\" "
132
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
133
  msgstr ""
134
 
135
- #: ../includes/class.yith-wcwl-admin-init.php:982
136
  msgid "After \"Add to cart\""
137
  msgstr "\"Sepete Ekle\"den sonra"
138
 
139
- #: ../includes/class.yith-wcwl-admin-init.php:983
140
  msgid "After thumbnails"
141
  msgstr "Küçük resimlerden sonra"
142
 
143
- #: ../includes/class.yith-wcwl-admin-init.php:984
144
  msgid "After summary"
145
  msgstr "Özet bilgisinden sonra"
146
 
147
- #: ../includes/class.yith-wcwl-admin-init.php:985
148
  msgid "Use shortcode"
149
  msgstr "Kısa kod kullan"
150
 
151
- #: ../includes/class.yith-wcwl-admin-init.php:990
152
  msgid "Redirect to cart"
153
  msgstr "Sepete yönlendir"
154
 
155
- #: ../includes/class.yith-wcwl-admin-init.php:991
156
  msgid ""
157
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
158
  "page."
@@ -160,222 +164,222 @@ msgstr ""
160
  "Eğer istek listesindeki bir ürün için \"Sepete Ekle\" butonuna tıklanırsa "
161
  "sepet sayfasına git."
162
 
163
- #: ../includes/class.yith-wcwl-admin-init.php:998
164
  msgid "Remove if added to the cart"
165
  msgstr "Sepete eklenmişse kaldır"
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:999
168
  #, fuzzy
169
  msgid "Remove the product from the wishlist if it has been added to the cart."
170
  msgstr "Eğer ürün sepete eklenirse istek listesinden kaldır."
171
 
172
- #: ../includes/class.yith-wcwl-admin-init.php:1006
173
  msgid "\"Add to Wishlist\" text"
174
  msgstr "\"İstek Listeme Ekle\" metni"
175
 
176
- #: ../includes/class.yith-wcwl-admin-init.php:1008
177
- #: ../includes/class.yith-wcwl-admin-init.php:1009
178
  msgid "Add to Wishlist"
179
  msgstr "İstek Listeme Ekle"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1014
182
  #, fuzzy
183
  msgid "\"Browse wishlist\" text"
184
  msgstr "İstek Listesini Görüntüle"
185
 
186
- #: ../includes/class.yith-wcwl-admin-init.php:1016
187
- #: ../includes/class.yith-wcwl-admin-init.php:1017
188
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
189
  msgid "Browse Wishlist"
190
  msgstr "İstek Listesini Görüntüle"
191
 
192
- #: ../includes/class.yith-wcwl-admin-init.php:1022
193
  #, fuzzy
194
  msgid "\"Product already in wishlist\" text"
195
  msgstr "Ürün zaten istek listenizde."
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1024
198
- #: ../includes/class.yith-wcwl-admin-init.php:1025
199
  #: ../includes/class.yith-wcwl-ui.php:82
200
  msgid "The product is already in the wishlist!"
201
  msgstr "Ürün zaten istek listenizde bulunuyor!"
202
 
203
- #: ../includes/class.yith-wcwl-admin-init.php:1030
204
  #, fuzzy
205
  msgid "\"Product added\" text"
206
  msgstr "Ürün eklendi!"
207
 
208
- #: ../includes/class.yith-wcwl-admin-init.php:1032
209
- #: ../includes/class.yith-wcwl-admin-init.php:1033
210
  #: ../includes/class.yith-wcwl-ui.php:81
211
  msgid "Product added!"
212
  msgstr "Ürün eklendi!"
213
 
214
- #: ../includes/class.yith-wcwl-admin-init.php:1038
215
  msgid "\"Add to Cart\" text"
216
  msgstr "\"Sepete Ekle\" metni"
217
 
218
- #: ../includes/class.yith-wcwl-admin-init.php:1040
219
- #: ../includes/class.yith-wcwl-admin-init.php:1041
220
  msgid "Add to Cart"
221
  msgstr "Sepete Ekle"
222
 
223
- #: ../includes/class.yith-wcwl-admin-init.php:1046
224
  msgid "Show Unit price"
225
  msgstr "Birim Fiyatını Göster"
226
 
227
- #: ../includes/class.yith-wcwl-admin-init.php:1047
228
  msgid "Show unit price for each product in wishlist"
229
  msgstr ""
230
 
231
- #: ../includes/class.yith-wcwl-admin-init.php:1055
232
  msgid "Show \"Add to Cart\" button"
233
  msgstr "\"Sepete Ekle\" butonunu göster"
234
 
235
- #: ../includes/class.yith-wcwl-admin-init.php:1056
236
  #, fuzzy
237
  msgid "Show \"Add to Cart\" button for each product in wishlist"
238
  msgstr "\"Sepete Ekle\" buton arkaplanı"
239
 
240
- #: ../includes/class.yith-wcwl-admin-init.php:1064
241
  msgid "Show Stock status"
242
  msgstr "Stok durumunu göster"
243
 
244
- #: ../includes/class.yith-wcwl-admin-init.php:1065
245
  msgid ""
246
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
247
  msgstr ""
248
 
249
- #: ../includes/class.yith-wcwl-admin-init.php:1073
250
  msgid "Show Date of addition"
251
  msgstr ""
252
 
253
- #: ../includes/class.yith-wcwl-admin-init.php:1074
254
  #, fuzzy
255
  msgid "Show the date when users have added a product to the wishlist"
256
  msgstr "Ürün istek listenize eklenirken bir hata meydana geldi."
257
 
258
- #: ../includes/class.yith-wcwl-admin-init.php:1082
259
  #, fuzzy
260
  msgid "Add second remove button"
261
  msgstr "\"Sepete Ekle\" buton metni"
262
 
263
- #: ../includes/class.yith-wcwl-admin-init.php:1083
264
  msgid "Add a second remove button in the last column, with extended label"
265
  msgstr ""
266
 
267
- #: ../includes/class.yith-wcwl-admin-init.php:1106
268
  msgid "Styles"
269
  msgstr "Stiller"
270
 
271
- #: ../includes/class.yith-wcwl-admin-init.php:1113
272
  msgid "Use buttons"
273
  msgstr "Butonları kullan"
274
 
275
- #: ../includes/class.yith-wcwl-admin-init.php:1114
276
  #, fuzzy
277
  msgid "Use buttons instead of simple anchors."
278
  msgstr "Basit bağlantılar yerine buton kullanın."
279
 
280
- #: ../includes/class.yith-wcwl-admin-init.php:1121
281
  msgid "Custom CSS"
282
  msgstr "Özel CSS"
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1129
285
  msgid "Use theme style"
286
  msgstr "Tema stilini kullan"
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1130
289
  msgid "Use the theme style."
290
  msgstr "Tema stilini kullan."
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1137
293
  #, fuzzy
294
  msgid "Rounded buttons"
295
  msgstr "Butonları kullan"
296
 
297
- #: ../includes/class.yith-wcwl-admin-init.php:1138
298
  #, fuzzy
299
  msgid "Make button corners rounded"
300
  msgstr "Butonların köşelerini yuvarlaklaştır"
301
 
302
- #: ../includes/class.yith-wcwl-admin-init.php:1145
303
  msgid "\"Add to Wishlist\" icon"
304
  msgstr "\"İstek Listeme Ekle\" simgesi"
305
 
306
- #: ../includes/class.yith-wcwl-admin-init.php:1146
307
  msgid "Add an icon to the \"Add to Wishlist\" button"
308
  msgstr "\"İstek Listeme Ekle\" butonuna bir simge ekleyin"
309
 
310
- #: ../includes/class.yith-wcwl-admin-init.php:1157
311
  msgid "\"Add to Cart\" icon"
312
  msgstr "\"Sepete Ekle\" simgesi"
313
 
314
- #: ../includes/class.yith-wcwl-admin-init.php:1158
315
  msgid "Add an icon to the \"Add to Cart\" button"
316
  msgstr "\"Sepete Ekle\" butonuna bir simge ekleyin"
317
 
318
- #: ../includes/class.yith-wcwl-admin-init.php:1177
319
  #, fuzzy
320
  msgid "Social Networks & Share"
321
  msgstr "Sosyal &amp; Paylaşım"
322
 
323
- #: ../includes/class.yith-wcwl-admin-init.php:1184
324
  msgid "Share on Facebook"
325
  msgstr "Facebook'ta Paylaş"
326
 
327
- #: ../includes/class.yith-wcwl-admin-init.php:1185
328
  #, fuzzy
329
  msgid "Show \"Share on Facebook\" button"
330
  msgstr "Facebook'ta Paylaş"
331
 
332
- #: ../includes/class.yith-wcwl-admin-init.php:1192
333
  msgid "Tweet on Twitter"
334
  msgstr "Twitter'da Tweetle"
335
 
336
- #: ../includes/class.yith-wcwl-admin-init.php:1193
337
  #, fuzzy
338
  msgid "Show \"Tweet on Twitter\" button"
339
  msgstr "Twitter'da Tweetle"
340
 
341
- #: ../includes/class.yith-wcwl-admin-init.php:1200
342
  msgid "Pin on Pinterest"
343
  msgstr "Pinterest'te Pinle"
344
 
345
- #: ../includes/class.yith-wcwl-admin-init.php:1201
346
  #, fuzzy
347
  msgid "Show \"Pin on Pinterest\" button"
348
  msgstr "Pinterest'te Pinle"
349
 
350
- #: ../includes/class.yith-wcwl-admin-init.php:1208
351
  msgid "Share on Google+"
352
  msgstr "Google+'da Paylaş"
353
 
354
- #: ../includes/class.yith-wcwl-admin-init.php:1209
355
  #, fuzzy
356
  msgid "Show \"Share on Google+\" button"
357
  msgstr "Facebook'ta Paylaş"
358
 
359
- #: ../includes/class.yith-wcwl-admin-init.php:1216
360
  msgid "Share by Email"
361
  msgstr ""
362
 
363
- #: ../includes/class.yith-wcwl-admin-init.php:1217
364
  #, fuzzy
365
  msgid "Show \"Share by Email\" button"
366
  msgstr "\"Sepete Ekle\" butonunu göster"
367
 
368
- #: ../includes/class.yith-wcwl-admin-init.php:1224
369
  #, fuzzy
370
  msgid "Social title"
371
  msgstr "Sosyal medya başlığı"
372
 
373
- #: ../includes/class.yith-wcwl-admin-init.php:1232
374
  #, fuzzy
375
  msgid "Social text"
376
  msgstr "Sosyal medya metni"
377
 
378
- #: ../includes/class.yith-wcwl-admin-init.php:1233
379
  #, fuzzy
380
  msgid ""
381
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
@@ -385,115 +389,115 @@ msgstr ""
385
  "görünmesini istediğiniz yer için <strong>%wishlist_url%</strong> URL'ini "
386
  "kullanın."
387
 
388
- #: ../includes/class.yith-wcwl-admin-init.php:1241
389
  #, fuzzy
390
  msgid "Social image URL"
391
  msgstr "Sosyal medya resim URL'i"
392
 
393
- #: ../includes/class.yith-wcwl-admin-init.php:1256
394
  #, php-format
395
  msgid ""
396
  "If you want to take advantage of this feature, you could consider to "
397
  "purchase the %s."
398
  msgstr ""
399
 
400
- #: ../includes/class.yith-wcwl-admin-init.php:1261
401
  msgid "YITH WooCommerce Frequently Bought Together Integration"
402
  msgstr ""
403
 
404
- #: ../includes/class.yith-wcwl-admin-init.php:1268
405
  msgid "Enable slider in wishlist"
406
  msgstr ""
407
 
408
- #: ../includes/class.yith-wcwl-admin-init.php:1269
409
  #, php-format
410
  msgid ""
411
  "Choose to enable product slider in wishlist page with linked products (<a "
412
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
413
  msgstr ""
414
 
415
- #: ../includes/class.yith-wcwl-admin-init.php:1306
416
  #, fuzzy
417
  msgid "\"Add to wishlist\" button"
418
  msgstr "\"İstek Listeme Ekle\" buton metni"
419
 
420
- #: ../includes/class.yith-wcwl-admin-init.php:1309
421
- #: ../includes/class.yith-wcwl-admin-init.php:1327
422
- #: ../includes/class.yith-wcwl-admin-init.php:1345
423
- #: ../includes/class.yith-wcwl-admin-init.php:1363
424
- #: ../includes/class.yith-wcwl-admin-init.php:1381
425
- msgid "Background"
426
- msgstr ""
427
-
428
  #: ../includes/class.yith-wcwl-admin-init.php:1310
429
  #: ../includes/class.yith-wcwl-admin-init.php:1328
430
  #: ../includes/class.yith-wcwl-admin-init.php:1346
431
  #: ../includes/class.yith-wcwl-admin-init.php:1364
432
- #: ../includes/class.yith-wcwl-admin-init.php:1382
433
- msgid "Text"
434
  msgstr ""
435
 
 
436
  #: ../includes/class.yith-wcwl-admin-init.php:1311
437
  #: ../includes/class.yith-wcwl-admin-init.php:1329
438
  #: ../includes/class.yith-wcwl-admin-init.php:1347
439
  #: ../includes/class.yith-wcwl-admin-init.php:1365
440
- #: ../includes/class.yith-wcwl-admin-init.php:1383
441
- msgid "Border"
442
  msgstr ""
443
 
444
- #: ../includes/class.yith-wcwl-admin-init.php:1318
445
- #: ../includes/class.yith-wcwl-admin-init.php:1336
446
- #: ../includes/class.yith-wcwl-admin-init.php:1354
447
- #: ../includes/class.yith-wcwl-admin-init.php:1372
448
- msgid "Background (hover)"
 
449
  msgstr ""
450
 
 
451
  #: ../includes/class.yith-wcwl-admin-init.php:1319
452
  #: ../includes/class.yith-wcwl-admin-init.php:1337
453
  #: ../includes/class.yith-wcwl-admin-init.php:1355
454
- #: ../includes/class.yith-wcwl-admin-init.php:1373
455
- msgid "Text (hover)"
456
  msgstr ""
457
 
 
458
  #: ../includes/class.yith-wcwl-admin-init.php:1320
459
  #: ../includes/class.yith-wcwl-admin-init.php:1338
460
  #: ../includes/class.yith-wcwl-admin-init.php:1356
461
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
462
  msgid "Border (hover)"
463
  msgstr ""
464
 
465
- #: ../includes/class.yith-wcwl-admin-init.php:1324
466
  #, fuzzy
467
  msgid "\"Add to Cart\" button"
468
  msgstr "\"Sepete Ekle\" buton metni"
469
 
470
- #: ../includes/class.yith-wcwl-admin-init.php:1342
471
  msgid "\"Style 1\" button"
472
  msgstr ""
473
 
474
- #: ../includes/class.yith-wcwl-admin-init.php:1360
475
  msgid "\"Style 2\" button"
476
  msgstr ""
477
 
478
- #: ../includes/class.yith-wcwl-admin-init.php:1378
479
  #, fuzzy
480
  msgid "Wishlist table"
481
  msgstr "İstek listesi başlığı"
482
 
483
- #: ../includes/class.yith-wcwl-admin-init.php:1387
484
  msgid "Headers"
485
  msgstr ""
486
 
487
- #: ../includes/class.yith-wcwl-admin-init.php:1390
488
  msgid "Background color"
489
  msgstr ""
490
 
491
- #: ../includes/class.yith-wcwl-admin-init.php:1480
492
  #, fuzzy
493
  msgid "Wishlist Activated"
494
  msgstr "İstek listesi başlığı"
495
 
496
- #: ../includes/class.yith-wcwl-admin-init.php:1481
497
  #, php-format
498
  msgid ""
499
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -502,12 +506,12 @@ msgid ""
502
  "options, <a href=\"%s\">discover it now</a>."
503
  msgstr ""
504
 
505
- #: ../includes/class.yith-wcwl-admin-init.php:1492
506
  #, fuzzy
507
  msgid "Wishlist Updated"
508
  msgstr "İstek Listesi Sayfası"
509
 
510
- #: ../includes/class.yith-wcwl-admin-init.php:1493
511
  #, php-format
512
  msgid ""
513
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -517,13 +521,13 @@ msgid ""
517
  "\">discover the PREMIUM version.</a>"
518
  msgstr ""
519
 
520
- #: ../includes/class.yith-wcwl-init.php:361
521
  msgid ""
522
  "We are sorry, but this feature is available only if cookies are enabled on "
523
  "your browser."
524
  msgstr ""
525
 
526
- #: ../includes/class.yith-wcwl-init.php:362
527
  #, fuzzy
528
  msgid "Product correctly added to cart"
529
  msgstr "Produkt erfolgreich im Warenkorb eingefügt "
@@ -594,13 +598,13 @@ msgstr "İstek listesinde herhangi bir ürün bulunmuyor"
594
  msgid "An error as occurred."
595
  msgstr ""
596
 
597
- #: ../init.php:133
598
  msgid ""
599
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
600
  "WooCommerce in order to work."
601
  msgstr ""
602
 
603
- #: ../init.php:143
604
  msgid ""
605
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
606
  "are using the premium one."
@@ -858,6 +862,10 @@ msgstr "Pinterest'te Pinle"
858
  msgid "Google+"
859
  msgstr "Google+'da Paylaş"
860
 
 
 
 
 
861
  #: ../templates/share.php:40
862
  msgid "Email"
863
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
6
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel (@egonomik) <caneroncel@gmail.com>\n"
9
  "Language: tr_TR\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
+ #: ../includes/class.yith-wcwl-admin-init.php:176
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
25
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr "İstek Listesi"
29
 
30
+ #: ../includes/class.yith-wcwl-admin-init.php:178
31
+ #: ../includes/class.yith-wcwl-admin-init.php:280
32
  msgid "Settings"
33
  msgstr "Ayarlar"
34
 
35
+ #: ../includes/class.yith-wcwl-admin-init.php:179
36
+ #: ../includes/class.yith-wcwl-admin-init.php:247
37
  msgid "Colors"
38
  msgstr "Renkler"
39
 
40
+ #: ../includes/class.yith-wcwl-admin-init.php:180
41
+ #: ../includes/class.yith-wcwl-admin-init.php:284
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
+ #: ../includes/class.yith-wcwl-admin-init.php:285
46
+ msgid "Live Demo"
47
+ msgstr ""
48
+
49
+ #: ../includes/class.yith-wcwl-admin-init.php:309
50
  msgid ""
51
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
52
  "link to update it."
53
  msgstr ""
54
 
55
+ #: ../includes/class.yith-wcwl-admin-init.php:312
56
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
57
  msgstr ""
58
 
59
+ #: ../includes/class.yith-wcwl-admin-init.php:317
60
  msgid "Plugin Documentation"
61
  msgstr ""
62
 
63
+ #: ../includes/class.yith-wcwl-admin-init.php:333
64
  msgid "Wishlist Page"
65
  msgstr "İstek Listesi Sayfası"
66
 
67
+ #: ../includes/class.yith-wcwl-admin-init.php:334
68
  msgid "Page contents: [yith_wcwl_wishlist]"
69
  msgstr "Sayfa içeriği: [yith_wcwl_wishlist]"
70
 
71
+ #: ../includes/class.yith-wcwl-admin-init.php:909
72
  msgid "Upgrade to the PREMIUM VERSION"
73
  msgstr ""
74
 
75
+ #: ../includes/class.yith-wcwl-admin-init.php:912
76
  msgid "YITH WooCommerce Wishlist"
77
  msgstr ""
78
 
79
+ #: ../includes/class.yith-wcwl-admin-init.php:913
80
  msgid "Discover the Advanced Features"
81
  msgstr ""
82
 
83
+ #: ../includes/class.yith-wcwl-admin-init.php:914
84
  msgid ""
85
  "Upgrade to the PREMIUM VERSION\n"
86
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
87
  msgstr ""
88
 
89
+ #: ../includes/class.yith-wcwl-admin-init.php:921
90
  msgid "Get Support and Pro Features"
91
  msgstr ""
92
 
93
+ #: ../includes/class.yith-wcwl-admin-init.php:922
94
  msgid ""
95
  "By purchasing the premium version of the plugin, you will take advantage of "
96
  "the advanced features of the product and you will get one year of free "
97
  "updates and support through our platform available 24h/24."
98
  msgstr ""
99
 
100
+ #: ../includes/class.yith-wcwl-admin-init.php:932
101
  msgid "General Settings"
102
  msgstr "Genel Ayarlar"
103
 
104
+ #: ../includes/class.yith-wcwl-admin-init.php:939
105
  msgid "Enable YITH Wishlist"
106
  msgstr "YITH İstek Listesi Etkin"
107
 
108
+ #: ../includes/class.yith-wcwl-admin-init.php:940
109
  #, php-format
110
  msgid ""
111
  "Enable all plugin features. <strong>Be sure to select at least one option in "
113
  "\"%s\" target=\"_blank\">documentation</a>."
114
  msgstr ""
115
 
116
+ #: ../includes/class.yith-wcwl-admin-init.php:947
117
  #, fuzzy
118
  msgid "Default wishlist title"
119
  msgstr "İstek listesi başlığı"
120
 
121
+ #: ../includes/class.yith-wcwl-admin-init.php:949
122
+ #: ../includes/class.yith-wcwl-admin-init.php:950
123
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
124
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
125
  #, php-format
126
  msgid "My wishlist on %s"
127
  msgstr "%s üzerinde istek listem"
128
 
129
+ #: ../includes/class.yith-wcwl-admin-init.php:958
130
  msgid "Position"
131
  msgstr "Pozisyon"
132
 
133
+ #: ../includes/class.yith-wcwl-admin-init.php:959
134
  msgid ""
135
  "You can add the button in variable products only after the \"Add to Cart\" "
136
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
137
  msgstr ""
138
 
139
+ #: ../includes/class.yith-wcwl-admin-init.php:965
140
  msgid "After \"Add to cart\""
141
  msgstr "\"Sepete Ekle\"den sonra"
142
 
143
+ #: ../includes/class.yith-wcwl-admin-init.php:966
144
  msgid "After thumbnails"
145
  msgstr "Küçük resimlerden sonra"
146
 
147
+ #: ../includes/class.yith-wcwl-admin-init.php:967
148
  msgid "After summary"
149
  msgstr "Özet bilgisinden sonra"
150
 
151
+ #: ../includes/class.yith-wcwl-admin-init.php:968
152
  msgid "Use shortcode"
153
  msgstr "Kısa kod kullan"
154
 
155
+ #: ../includes/class.yith-wcwl-admin-init.php:973
156
  msgid "Redirect to cart"
157
  msgstr "Sepete yönlendir"
158
 
159
+ #: ../includes/class.yith-wcwl-admin-init.php:974
160
  msgid ""
161
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
162
  "page."
164
  "Eğer istek listesindeki bir ürün için \"Sepete Ekle\" butonuna tıklanırsa "
165
  "sepet sayfasına git."
166
 
167
+ #: ../includes/class.yith-wcwl-admin-init.php:981
168
  msgid "Remove if added to the cart"
169
  msgstr "Sepete eklenmişse kaldır"
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:982
172
  #, fuzzy
173
  msgid "Remove the product from the wishlist if it has been added to the cart."
174
  msgstr "Eğer ürün sepete eklenirse istek listesinden kaldır."
175
 
176
+ #: ../includes/class.yith-wcwl-admin-init.php:989
177
  msgid "\"Add to Wishlist\" text"
178
  msgstr "\"İstek Listeme Ekle\" metni"
179
 
180
+ #: ../includes/class.yith-wcwl-admin-init.php:991
181
+ #: ../includes/class.yith-wcwl-admin-init.php:992
182
  msgid "Add to Wishlist"
183
  msgstr "İstek Listeme Ekle"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:997
186
  #, fuzzy
187
  msgid "\"Browse wishlist\" text"
188
  msgstr "İstek Listesini Görüntüle"
189
 
190
+ #: ../includes/class.yith-wcwl-admin-init.php:999
191
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
192
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
193
  msgid "Browse Wishlist"
194
  msgstr "İstek Listesini Görüntüle"
195
 
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
197
  #, fuzzy
198
  msgid "\"Product already in wishlist\" text"
199
  msgstr "Ürün zaten istek listenizde."
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
202
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
203
  #: ../includes/class.yith-wcwl-ui.php:82
204
  msgid "The product is already in the wishlist!"
205
  msgstr "Ürün zaten istek listenizde bulunuyor!"
206
 
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
208
  #, fuzzy
209
  msgid "\"Product added\" text"
210
  msgstr "Ürün eklendi!"
211
 
212
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
214
  #: ../includes/class.yith-wcwl-ui.php:81
215
  msgid "Product added!"
216
  msgstr "Ürün eklendi!"
217
 
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
219
  msgid "\"Add to Cart\" text"
220
  msgstr "\"Sepete Ekle\" metni"
221
 
222
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
223
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
224
  msgid "Add to Cart"
225
  msgstr "Sepete Ekle"
226
 
227
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
228
  msgid "Show Unit price"
229
  msgstr "Birim Fiyatını Göster"
230
 
231
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
232
  msgid "Show unit price for each product in wishlist"
233
  msgstr ""
234
 
235
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
236
  msgid "Show \"Add to Cart\" button"
237
  msgstr "\"Sepete Ekle\" butonunu göster"
238
 
239
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
240
  #, fuzzy
241
  msgid "Show \"Add to Cart\" button for each product in wishlist"
242
  msgstr "\"Sepete Ekle\" buton arkaplanı"
243
 
244
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
245
  msgid "Show Stock status"
246
  msgstr "Stok durumunu göster"
247
 
248
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
249
  msgid ""
250
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
251
  msgstr ""
252
 
253
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
254
  msgid "Show Date of addition"
255
  msgstr ""
256
 
257
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
258
  #, fuzzy
259
  msgid "Show the date when users have added a product to the wishlist"
260
  msgstr "Ürün istek listenize eklenirken bir hata meydana geldi."
261
 
262
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
263
  #, fuzzy
264
  msgid "Add second remove button"
265
  msgstr "\"Sepete Ekle\" buton metni"
266
 
267
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
268
  msgid "Add a second remove button in the last column, with extended label"
269
  msgstr ""
270
 
271
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
272
  msgid "Styles"
273
  msgstr "Stiller"
274
 
275
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
276
  msgid "Use buttons"
277
  msgstr "Butonları kullan"
278
 
279
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
280
  #, fuzzy
281
  msgid "Use buttons instead of simple anchors."
282
  msgstr "Basit bağlantılar yerine buton kullanın."
283
 
284
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
285
  msgid "Custom CSS"
286
  msgstr "Özel CSS"
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
289
  msgid "Use theme style"
290
  msgstr "Tema stilini kullan"
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
293
  msgid "Use the theme style."
294
  msgstr "Tema stilini kullan."
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
297
  #, fuzzy
298
  msgid "Rounded buttons"
299
  msgstr "Butonları kullan"
300
 
301
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
302
  #, fuzzy
303
  msgid "Make button corners rounded"
304
  msgstr "Butonların köşelerini yuvarlaklaştır"
305
 
306
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
307
  msgid "\"Add to Wishlist\" icon"
308
  msgstr "\"İstek Listeme Ekle\" simgesi"
309
 
310
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
311
  msgid "Add an icon to the \"Add to Wishlist\" button"
312
  msgstr "\"İstek Listeme Ekle\" butonuna bir simge ekleyin"
313
 
314
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
315
  msgid "\"Add to Cart\" icon"
316
  msgstr "\"Sepete Ekle\" simgesi"
317
 
318
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
319
  msgid "Add an icon to the \"Add to Cart\" button"
320
  msgstr "\"Sepete Ekle\" butonuna bir simge ekleyin"
321
 
322
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
323
  #, fuzzy
324
  msgid "Social Networks & Share"
325
  msgstr "Sosyal &amp; Paylaşım"
326
 
327
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
328
  msgid "Share on Facebook"
329
  msgstr "Facebook'ta Paylaş"
330
 
331
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
332
  #, fuzzy
333
  msgid "Show \"Share on Facebook\" button"
334
  msgstr "Facebook'ta Paylaş"
335
 
336
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
337
  msgid "Tweet on Twitter"
338
  msgstr "Twitter'da Tweetle"
339
 
340
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
341
  #, fuzzy
342
  msgid "Show \"Tweet on Twitter\" button"
343
  msgstr "Twitter'da Tweetle"
344
 
345
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
346
  msgid "Pin on Pinterest"
347
  msgstr "Pinterest'te Pinle"
348
 
349
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
350
  #, fuzzy
351
  msgid "Show \"Pin on Pinterest\" button"
352
  msgstr "Pinterest'te Pinle"
353
 
354
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
355
  msgid "Share on Google+"
356
  msgstr "Google+'da Paylaş"
357
 
358
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
359
  #, fuzzy
360
  msgid "Show \"Share on Google+\" button"
361
  msgstr "Facebook'ta Paylaş"
362
 
363
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
364
  msgid "Share by Email"
365
  msgstr ""
366
 
367
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
368
  #, fuzzy
369
  msgid "Show \"Share by Email\" button"
370
  msgstr "\"Sepete Ekle\" butonunu göster"
371
 
372
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
373
  #, fuzzy
374
  msgid "Social title"
375
  msgstr "Sosyal medya başlığı"
376
 
377
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
378
  #, fuzzy
379
  msgid "Social text"
380
  msgstr "Sosyal medya metni"
381
 
382
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
383
  #, fuzzy
384
  msgid ""
385
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
389
  "görünmesini istediğiniz yer için <strong>%wishlist_url%</strong> URL'ini "
390
  "kullanın."
391
 
392
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
393
  #, fuzzy
394
  msgid "Social image URL"
395
  msgstr "Sosyal medya resim URL'i"
396
 
397
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
398
  #, php-format
399
  msgid ""
400
  "If you want to take advantage of this feature, you could consider to "
401
  "purchase the %s."
402
  msgstr ""
403
 
404
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
405
  msgid "YITH WooCommerce Frequently Bought Together Integration"
406
  msgstr ""
407
 
408
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
409
  msgid "Enable slider in wishlist"
410
  msgstr ""
411
 
412
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
413
  #, php-format
414
  msgid ""
415
  "Choose to enable product slider in wishlist page with linked products (<a "
416
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
417
  msgstr ""
418
 
419
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
420
  #, fuzzy
421
  msgid "\"Add to wishlist\" button"
422
  msgstr "\"İstek Listeme Ekle\" buton metni"
423
 
424
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
425
  #: ../includes/class.yith-wcwl-admin-init.php:1310
426
  #: ../includes/class.yith-wcwl-admin-init.php:1328
427
  #: ../includes/class.yith-wcwl-admin-init.php:1346
428
  #: ../includes/class.yith-wcwl-admin-init.php:1364
429
+ msgid "Background"
 
430
  msgstr ""
431
 
432
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
433
  #: ../includes/class.yith-wcwl-admin-init.php:1311
434
  #: ../includes/class.yith-wcwl-admin-init.php:1329
435
  #: ../includes/class.yith-wcwl-admin-init.php:1347
436
  #: ../includes/class.yith-wcwl-admin-init.php:1365
437
+ msgid "Text"
 
438
  msgstr ""
439
 
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
441
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
442
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
443
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
444
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
445
+ msgid "Border"
446
  msgstr ""
447
 
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
449
  #: ../includes/class.yith-wcwl-admin-init.php:1319
450
  #: ../includes/class.yith-wcwl-admin-init.php:1337
451
  #: ../includes/class.yith-wcwl-admin-init.php:1355
452
+ msgid "Background (hover)"
 
453
  msgstr ""
454
 
455
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
456
  #: ../includes/class.yith-wcwl-admin-init.php:1320
457
  #: ../includes/class.yith-wcwl-admin-init.php:1338
458
  #: ../includes/class.yith-wcwl-admin-init.php:1356
459
+ msgid "Text (hover)"
460
+ msgstr ""
461
+
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
463
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
464
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
465
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
466
  msgid "Border (hover)"
467
  msgstr ""
468
 
469
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
470
  #, fuzzy
471
  msgid "\"Add to Cart\" button"
472
  msgstr "\"Sepete Ekle\" buton metni"
473
 
474
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
475
  msgid "\"Style 1\" button"
476
  msgstr ""
477
 
478
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
479
  msgid "\"Style 2\" button"
480
  msgstr ""
481
 
482
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
483
  #, fuzzy
484
  msgid "Wishlist table"
485
  msgstr "İstek listesi başlığı"
486
 
487
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
488
  msgid "Headers"
489
  msgstr ""
490
 
491
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
492
  msgid "Background color"
493
  msgstr ""
494
 
495
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
496
  #, fuzzy
497
  msgid "Wishlist Activated"
498
  msgstr "İstek listesi başlığı"
499
 
500
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
501
  #, php-format
502
  msgid ""
503
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
506
  "options, <a href=\"%s\">discover it now</a>."
507
  msgstr ""
508
 
509
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
510
  #, fuzzy
511
  msgid "Wishlist Updated"
512
  msgstr "İstek Listesi Sayfası"
513
 
514
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
515
  #, php-format
516
  msgid ""
517
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
521
  "\">discover the PREMIUM version.</a>"
522
  msgstr ""
523
 
524
+ #: ../includes/class.yith-wcwl-init.php:380
525
  msgid ""
526
  "We are sorry, but this feature is available only if cookies are enabled on "
527
  "your browser."
528
  msgstr ""
529
 
530
+ #: ../includes/class.yith-wcwl-init.php:381
531
  #, fuzzy
532
  msgid "Product correctly added to cart"
533
  msgstr "Produkt erfolgreich im Warenkorb eingefügt "
598
  msgid "An error as occurred."
599
  msgstr ""
600
 
601
+ #: ../init.php:135
602
  msgid ""
603
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
604
  "WooCommerce in order to work."
605
  msgstr ""
606
 
607
+ #: ../init.php:145
608
  msgid ""
609
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
610
  "are using the premium one."
862
  msgid "Google+"
863
  msgstr "Google+'da Paylaş"
864
 
865
+ #: ../templates/share.php:40
866
+ msgid "I wanted you to see this site"
867
+ msgstr ""
868
+
869
  #: ../templates/share.php:40
870
  msgid "Email"
871
  msgstr ""
languages/yith-woocommerce-wishlist-uk_UA.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-uk_UA.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:44+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:44+0100\n"
6
  "Last-Translator: Valentyn Zubenko <valentyn.zubenko@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: uk_UA\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr ""
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr ""
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr ""
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr ""
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr ""
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr ""
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr ""
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -108,376 +112,376 @@ msgid ""
108
  "\"%s\" target=\"_blank\">documentation</a>."
109
  msgstr ""
110
 
111
- #: ../includes/class.yith-wcwl-admin-init.php:964
112
  msgid "Default wishlist title"
113
  msgstr ""
114
 
115
- #: ../includes/class.yith-wcwl-admin-init.php:966
116
- #: ../includes/class.yith-wcwl-admin-init.php:967
117
- #: ../includes/class.yith-wcwl-admin-init.php:1226
118
- #: ../includes/class.yith-wcwl-admin-init.php:1227
119
  #, php-format
120
  msgid "My wishlist on %s"
121
  msgstr "Мій обраний список в %s"
122
 
123
- #: ../includes/class.yith-wcwl-admin-init.php:975
124
  msgid "Position"
125
  msgstr ""
126
 
127
- #: ../includes/class.yith-wcwl-admin-init.php:976
128
  msgid ""
129
  "You can add the button in variable products only after the \"Add to Cart\" "
130
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
131
  msgstr ""
132
 
133
- #: ../includes/class.yith-wcwl-admin-init.php:982
134
  msgid "After \"Add to cart\""
135
  msgstr "After \"Додати в кошик\""
136
 
137
- #: ../includes/class.yith-wcwl-admin-init.php:983
138
  msgid "After thumbnails"
139
  msgstr ""
140
 
141
- #: ../includes/class.yith-wcwl-admin-init.php:984
142
  msgid "After summary"
143
  msgstr ""
144
 
145
- #: ../includes/class.yith-wcwl-admin-init.php:985
146
  msgid "Use shortcode"
147
  msgstr ""
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:990
150
  msgid "Redirect to cart"
151
  msgstr ""
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:991
154
  msgid ""
155
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
156
  "page."
157
  msgstr ""
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:998
160
  msgid "Remove if added to the cart"
161
  msgstr ""
162
 
163
- #: ../includes/class.yith-wcwl-admin-init.php:999
164
  msgid "Remove the product from the wishlist if it has been added to the cart."
165
  msgstr ""
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:1006
168
  msgid "\"Add to Wishlist\" text"
169
  msgstr ""
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:1008
172
- #: ../includes/class.yith-wcwl-admin-init.php:1009
173
  msgid "Add to Wishlist"
174
  msgstr ""
175
 
176
- #: ../includes/class.yith-wcwl-admin-init.php:1014
177
  #, fuzzy
178
  msgid "\"Browse wishlist\" text"
179
  msgstr "\"Додати в кошик\" button text"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1016
182
- #: ../includes/class.yith-wcwl-admin-init.php:1017
183
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
184
  msgid "Browse Wishlist"
185
  msgstr ""
186
 
187
- #: ../includes/class.yith-wcwl-admin-init.php:1022
188
  msgid "\"Product already in wishlist\" text"
189
  msgstr ""
190
 
191
- #: ../includes/class.yith-wcwl-admin-init.php:1024
192
- #: ../includes/class.yith-wcwl-admin-init.php:1025
193
  #: ../includes/class.yith-wcwl-ui.php:82
194
  msgid "The product is already in the wishlist!"
195
  msgstr ""
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1030
198
  #, fuzzy
199
  msgid "\"Product added\" text"
200
  msgstr "Назва продукту"
201
 
202
- #: ../includes/class.yith-wcwl-admin-init.php:1032
203
- #: ../includes/class.yith-wcwl-admin-init.php:1033
204
  #: ../includes/class.yith-wcwl-ui.php:81
205
  msgid "Product added!"
206
  msgstr ""
207
 
208
- #: ../includes/class.yith-wcwl-admin-init.php:1038
209
  msgid "\"Add to Cart\" text"
210
  msgstr "\"Додати в кошик\" text"
211
 
212
- #: ../includes/class.yith-wcwl-admin-init.php:1040
213
- #: ../includes/class.yith-wcwl-admin-init.php:1041
214
  msgid "Add to Cart"
215
  msgstr "Додати в кошик"
216
 
217
- #: ../includes/class.yith-wcwl-admin-init.php:1046
218
  #, fuzzy
219
  msgid "Show Unit price"
220
  msgstr "Ціна"
221
 
222
- #: ../includes/class.yith-wcwl-admin-init.php:1047
223
  msgid "Show unit price for each product in wishlist"
224
  msgstr ""
225
 
226
- #: ../includes/class.yith-wcwl-admin-init.php:1055
227
  #, fuzzy
228
  msgid "Show \"Add to Cart\" button"
229
  msgstr "\"Додати в кошик\" button text"
230
 
231
- #: ../includes/class.yith-wcwl-admin-init.php:1056
232
  #, fuzzy
233
  msgid "Show \"Add to Cart\" button for each product in wishlist"
234
  msgstr "\"Додати в кошик\" button background"
235
 
236
- #: ../includes/class.yith-wcwl-admin-init.php:1064
237
  #, fuzzy
238
  msgid "Show Stock status"
239
  msgstr "Наявність на складі"
240
 
241
- #: ../includes/class.yith-wcwl-admin-init.php:1065
242
  msgid ""
243
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
244
  msgstr ""
245
 
246
- #: ../includes/class.yith-wcwl-admin-init.php:1073
247
  msgid "Show Date of addition"
248
  msgstr ""
249
 
250
- #: ../includes/class.yith-wcwl-admin-init.php:1074
251
  #, fuzzy
252
  msgid "Show the date when users have added a product to the wishlist"
253
  msgstr "Немає доданих продуктів до вибраного"
254
 
255
- #: ../includes/class.yith-wcwl-admin-init.php:1082
256
  #, fuzzy
257
  msgid "Add second remove button"
258
  msgstr "\"Додати в кошик\" button text"
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1083
261
  msgid "Add a second remove button in the last column, with extended label"
262
  msgstr ""
263
 
264
- #: ../includes/class.yith-wcwl-admin-init.php:1106
265
  msgid "Styles"
266
  msgstr ""
267
 
268
- #: ../includes/class.yith-wcwl-admin-init.php:1113
269
  msgid "Use buttons"
270
  msgstr ""
271
 
272
- #: ../includes/class.yith-wcwl-admin-init.php:1114
273
  msgid "Use buttons instead of simple anchors."
274
  msgstr ""
275
 
276
- #: ../includes/class.yith-wcwl-admin-init.php:1121
277
  msgid "Custom CSS"
278
  msgstr ""
279
 
280
- #: ../includes/class.yith-wcwl-admin-init.php:1129
281
  msgid "Use theme style"
282
  msgstr ""
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1130
285
  msgid "Use the theme style."
286
  msgstr ""
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1137
289
  msgid "Rounded buttons"
290
  msgstr ""
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1138
293
  msgid "Make button corners rounded"
294
  msgstr ""
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1145
297
  msgid "\"Add to Wishlist\" icon"
298
  msgstr ""
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1146
301
  msgid "Add an icon to the \"Add to Wishlist\" button"
302
  msgstr ""
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1157
305
  msgid "\"Add to Cart\" icon"
306
  msgstr "\"Додати в кошик\" icon"
307
 
308
- #: ../includes/class.yith-wcwl-admin-init.php:1158
309
  msgid "Add an icon to the \"Add to Cart\" button"
310
  msgstr "Add an icon to the \"Додати в кошик\" button"
311
 
312
- #: ../includes/class.yith-wcwl-admin-init.php:1177
313
  msgid "Social Networks & Share"
314
  msgstr ""
315
 
316
- #: ../includes/class.yith-wcwl-admin-init.php:1184
317
  msgid "Share on Facebook"
318
  msgstr ""
319
 
320
- #: ../includes/class.yith-wcwl-admin-init.php:1185
321
  #, fuzzy
322
  msgid "Show \"Share on Facebook\" button"
323
  msgstr "\"Додати в кошик\" button text"
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1192
326
  msgid "Tweet on Twitter"
327
  msgstr ""
328
 
329
- #: ../includes/class.yith-wcwl-admin-init.php:1193
330
  #, fuzzy
331
  msgid "Show \"Tweet on Twitter\" button"
332
  msgstr "\"Додати в кошик\" button text"
333
 
334
- #: ../includes/class.yith-wcwl-admin-init.php:1200
335
  msgid "Pin on Pinterest"
336
  msgstr ""
337
 
338
- #: ../includes/class.yith-wcwl-admin-init.php:1201
339
  #, fuzzy
340
  msgid "Show \"Pin on Pinterest\" button"
341
  msgstr "\"Додати в кошик\" button text"
342
 
343
- #: ../includes/class.yith-wcwl-admin-init.php:1208
344
  msgid "Share on Google+"
345
  msgstr ""
346
 
347
- #: ../includes/class.yith-wcwl-admin-init.php:1209
348
  #, fuzzy
349
  msgid "Show \"Share on Google+\" button"
350
  msgstr "\"Додати в кошик\" button text"
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1216
353
  msgid "Share by Email"
354
  msgstr ""
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1217
357
  #, fuzzy
358
  msgid "Show \"Share by Email\" button"
359
  msgstr "\"Додати в кошик\" button text"
360
 
361
- #: ../includes/class.yith-wcwl-admin-init.php:1224
362
  msgid "Social title"
363
  msgstr ""
364
 
365
- #: ../includes/class.yith-wcwl-admin-init.php:1232
366
  msgid "Social text"
367
  msgstr ""
368
 
369
- #: ../includes/class.yith-wcwl-admin-init.php:1233
370
  msgid ""
371
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
372
  "%</strong> where you want to show the URL of your wishlist."
373
  msgstr ""
374
 
375
- #: ../includes/class.yith-wcwl-admin-init.php:1241
376
  msgid "Social image URL"
377
  msgstr ""
378
 
379
- #: ../includes/class.yith-wcwl-admin-init.php:1256
380
  #, php-format
381
  msgid ""
382
  "If you want to take advantage of this feature, you could consider to "
383
  "purchase the %s."
384
  msgstr ""
385
 
386
- #: ../includes/class.yith-wcwl-admin-init.php:1261
387
  msgid "YITH WooCommerce Frequently Bought Together Integration"
388
  msgstr ""
389
 
390
- #: ../includes/class.yith-wcwl-admin-init.php:1268
391
  msgid "Enable slider in wishlist"
392
  msgstr ""
393
 
394
- #: ../includes/class.yith-wcwl-admin-init.php:1269
395
  #, php-format
396
  msgid ""
397
  "Choose to enable product slider in wishlist page with linked products (<a "
398
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
399
  msgstr ""
400
 
401
- #: ../includes/class.yith-wcwl-admin-init.php:1306
402
  #, fuzzy
403
  msgid "\"Add to wishlist\" button"
404
  msgstr "\"Додати в кошик\" button text"
405
 
406
- #: ../includes/class.yith-wcwl-admin-init.php:1309
407
- #: ../includes/class.yith-wcwl-admin-init.php:1327
408
- #: ../includes/class.yith-wcwl-admin-init.php:1345
409
- #: ../includes/class.yith-wcwl-admin-init.php:1363
410
- #: ../includes/class.yith-wcwl-admin-init.php:1381
411
- msgid "Background"
412
- msgstr ""
413
-
414
  #: ../includes/class.yith-wcwl-admin-init.php:1310
415
  #: ../includes/class.yith-wcwl-admin-init.php:1328
416
  #: ../includes/class.yith-wcwl-admin-init.php:1346
417
  #: ../includes/class.yith-wcwl-admin-init.php:1364
418
- #: ../includes/class.yith-wcwl-admin-init.php:1382
419
- msgid "Text"
420
  msgstr ""
421
 
 
422
  #: ../includes/class.yith-wcwl-admin-init.php:1311
423
  #: ../includes/class.yith-wcwl-admin-init.php:1329
424
  #: ../includes/class.yith-wcwl-admin-init.php:1347
425
  #: ../includes/class.yith-wcwl-admin-init.php:1365
426
- #: ../includes/class.yith-wcwl-admin-init.php:1383
427
- msgid "Border"
428
  msgstr ""
429
 
430
- #: ../includes/class.yith-wcwl-admin-init.php:1318
431
- #: ../includes/class.yith-wcwl-admin-init.php:1336
432
- #: ../includes/class.yith-wcwl-admin-init.php:1354
433
- #: ../includes/class.yith-wcwl-admin-init.php:1372
434
- msgid "Background (hover)"
 
435
  msgstr ""
436
 
 
437
  #: ../includes/class.yith-wcwl-admin-init.php:1319
438
  #: ../includes/class.yith-wcwl-admin-init.php:1337
439
  #: ../includes/class.yith-wcwl-admin-init.php:1355
440
- #: ../includes/class.yith-wcwl-admin-init.php:1373
441
- msgid "Text (hover)"
442
  msgstr ""
443
 
 
444
  #: ../includes/class.yith-wcwl-admin-init.php:1320
445
  #: ../includes/class.yith-wcwl-admin-init.php:1338
446
  #: ../includes/class.yith-wcwl-admin-init.php:1356
447
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
448
  msgid "Border (hover)"
449
  msgstr ""
450
 
451
- #: ../includes/class.yith-wcwl-admin-init.php:1324
452
  #, fuzzy
453
  msgid "\"Add to Cart\" button"
454
  msgstr "\"Додати в кошик\" button text"
455
 
456
- #: ../includes/class.yith-wcwl-admin-init.php:1342
457
  msgid "\"Style 1\" button"
458
  msgstr ""
459
 
460
- #: ../includes/class.yith-wcwl-admin-init.php:1360
461
  msgid "\"Style 2\" button"
462
  msgstr ""
463
 
464
- #: ../includes/class.yith-wcwl-admin-init.php:1378
465
  msgid "Wishlist table"
466
  msgstr ""
467
 
468
- #: ../includes/class.yith-wcwl-admin-init.php:1387
469
  msgid "Headers"
470
  msgstr ""
471
 
472
- #: ../includes/class.yith-wcwl-admin-init.php:1390
473
  msgid "Background color"
474
  msgstr ""
475
 
476
- #: ../includes/class.yith-wcwl-admin-init.php:1480
477
  msgid "Wishlist Activated"
478
  msgstr ""
479
 
480
- #: ../includes/class.yith-wcwl-admin-init.php:1481
481
  #, php-format
482
  msgid ""
483
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -486,11 +490,11 @@ msgid ""
486
  "options, <a href=\"%s\">discover it now</a>."
487
  msgstr ""
488
 
489
- #: ../includes/class.yith-wcwl-admin-init.php:1492
490
  msgid "Wishlist Updated"
491
  msgstr ""
492
 
493
- #: ../includes/class.yith-wcwl-admin-init.php:1493
494
  #, php-format
495
  msgid ""
496
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -500,13 +504,13 @@ msgid ""
500
  "\">discover the PREMIUM version.</a>"
501
  msgstr ""
502
 
503
- #: ../includes/class.yith-wcwl-init.php:361
504
  msgid ""
505
  "We are sorry, but this feature is available only if cookies are enabled on "
506
  "your browser."
507
  msgstr ""
508
 
509
- #: ../includes/class.yith-wcwl-init.php:362
510
  #, fuzzy
511
  msgid "Product correctly added to cart"
512
  msgstr "Назва продукту"
@@ -577,13 +581,13 @@ msgstr "Немає доданих продуктів до вибраного"
577
  msgid "An error as occurred."
578
  msgstr ""
579
 
580
- #: ../init.php:133
581
  msgid ""
582
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
583
  "WooCommerce in order to work."
584
  msgstr ""
585
 
586
- #: ../init.php:143
587
  msgid ""
588
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
589
  "are using the premium one."
@@ -839,6 +843,10 @@ msgstr ""
839
  msgid "Google+"
840
  msgstr ""
841
 
 
 
 
 
842
  #: ../templates/share.php:40
843
  msgid "Email"
844
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: Valentyn Zubenko <valentyn.zubenko@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: uk_UA\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr ""
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr ""
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr ""
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr ""
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr ""
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr ""
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr ""
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
112
  "\"%s\" target=\"_blank\">documentation</a>."
113
  msgstr ""
114
 
115
+ #: ../includes/class.yith-wcwl-admin-init.php:947
116
  msgid "Default wishlist title"
117
  msgstr ""
118
 
119
+ #: ../includes/class.yith-wcwl-admin-init.php:949
120
+ #: ../includes/class.yith-wcwl-admin-init.php:950
121
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
122
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
123
  #, php-format
124
  msgid "My wishlist on %s"
125
  msgstr "Мій обраний список в %s"
126
 
127
+ #: ../includes/class.yith-wcwl-admin-init.php:958
128
  msgid "Position"
129
  msgstr ""
130
 
131
+ #: ../includes/class.yith-wcwl-admin-init.php:959
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
134
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
135
  msgstr ""
136
 
137
+ #: ../includes/class.yith-wcwl-admin-init.php:965
138
  msgid "After \"Add to cart\""
139
  msgstr "After \"Додати в кошик\""
140
 
141
+ #: ../includes/class.yith-wcwl-admin-init.php:966
142
  msgid "After thumbnails"
143
  msgstr ""
144
 
145
+ #: ../includes/class.yith-wcwl-admin-init.php:967
146
  msgid "After summary"
147
  msgstr ""
148
 
149
+ #: ../includes/class.yith-wcwl-admin-init.php:968
150
  msgid "Use shortcode"
151
  msgstr ""
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:973
154
  msgid "Redirect to cart"
155
  msgstr ""
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:974
158
  msgid ""
159
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
160
  "page."
161
  msgstr ""
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:981
164
  msgid "Remove if added to the cart"
165
  msgstr ""
166
 
167
+ #: ../includes/class.yith-wcwl-admin-init.php:982
168
  msgid "Remove the product from the wishlist if it has been added to the cart."
169
  msgstr ""
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:989
172
  msgid "\"Add to Wishlist\" text"
173
  msgstr ""
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:991
176
+ #: ../includes/class.yith-wcwl-admin-init.php:992
177
  msgid "Add to Wishlist"
178
  msgstr ""
179
 
180
+ #: ../includes/class.yith-wcwl-admin-init.php:997
181
  #, fuzzy
182
  msgid "\"Browse wishlist\" text"
183
  msgstr "\"Додати в кошик\" button text"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:999
186
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
187
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
188
  msgid "Browse Wishlist"
189
  msgstr ""
190
 
191
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
192
  msgid "\"Product already in wishlist\" text"
193
  msgstr ""
194
 
195
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
197
  #: ../includes/class.yith-wcwl-ui.php:82
198
  msgid "The product is already in the wishlist!"
199
  msgstr ""
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
202
  #, fuzzy
203
  msgid "\"Product added\" text"
204
  msgstr "Назва продукту"
205
 
206
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
208
  #: ../includes/class.yith-wcwl-ui.php:81
209
  msgid "Product added!"
210
  msgstr ""
211
 
212
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
213
  msgid "\"Add to Cart\" text"
214
  msgstr "\"Додати в кошик\" text"
215
 
216
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
217
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
218
  msgid "Add to Cart"
219
  msgstr "Додати в кошик"
220
 
221
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
222
  #, fuzzy
223
  msgid "Show Unit price"
224
  msgstr "Ціна"
225
 
226
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
227
  msgid "Show unit price for each product in wishlist"
228
  msgstr ""
229
 
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
231
  #, fuzzy
232
  msgid "Show \"Add to Cart\" button"
233
  msgstr "\"Додати в кошик\" button text"
234
 
235
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
236
  #, fuzzy
237
  msgid "Show \"Add to Cart\" button for each product in wishlist"
238
  msgstr "\"Додати в кошик\" button background"
239
 
240
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
241
  #, fuzzy
242
  msgid "Show Stock status"
243
  msgstr "Наявність на складі"
244
 
245
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
246
  msgid ""
247
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
248
  msgstr ""
249
 
250
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
251
  msgid "Show Date of addition"
252
  msgstr ""
253
 
254
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
255
  #, fuzzy
256
  msgid "Show the date when users have added a product to the wishlist"
257
  msgstr "Немає доданих продуктів до вибраного"
258
 
259
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
260
  #, fuzzy
261
  msgid "Add second remove button"
262
  msgstr "\"Додати в кошик\" button text"
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
265
  msgid "Add a second remove button in the last column, with extended label"
266
  msgstr ""
267
 
268
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
269
  msgid "Styles"
270
  msgstr ""
271
 
272
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
273
  msgid "Use buttons"
274
  msgstr ""
275
 
276
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
277
  msgid "Use buttons instead of simple anchors."
278
  msgstr ""
279
 
280
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
281
  msgid "Custom CSS"
282
  msgstr ""
283
 
284
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
285
  msgid "Use theme style"
286
  msgstr ""
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
289
  msgid "Use the theme style."
290
  msgstr ""
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
293
  msgid "Rounded buttons"
294
  msgstr ""
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
297
  msgid "Make button corners rounded"
298
  msgstr ""
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
301
  msgid "\"Add to Wishlist\" icon"
302
  msgstr ""
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
305
  msgid "Add an icon to the \"Add to Wishlist\" button"
306
  msgstr ""
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
309
  msgid "\"Add to Cart\" icon"
310
  msgstr "\"Додати в кошик\" icon"
311
 
312
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
313
  msgid "Add an icon to the \"Add to Cart\" button"
314
  msgstr "Add an icon to the \"Додати в кошик\" button"
315
 
316
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
317
  msgid "Social Networks & Share"
318
  msgstr ""
319
 
320
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
321
  msgid "Share on Facebook"
322
  msgstr ""
323
 
324
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
325
  #, fuzzy
326
  msgid "Show \"Share on Facebook\" button"
327
  msgstr "\"Додати в кошик\" button text"
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
330
  msgid "Tweet on Twitter"
331
  msgstr ""
332
 
333
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
334
  #, fuzzy
335
  msgid "Show \"Tweet on Twitter\" button"
336
  msgstr "\"Додати в кошик\" button text"
337
 
338
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
339
  msgid "Pin on Pinterest"
340
  msgstr ""
341
 
342
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
343
  #, fuzzy
344
  msgid "Show \"Pin on Pinterest\" button"
345
  msgstr "\"Додати в кошик\" button text"
346
 
347
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
348
  msgid "Share on Google+"
349
  msgstr ""
350
 
351
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
352
  #, fuzzy
353
  msgid "Show \"Share on Google+\" button"
354
  msgstr "\"Додати в кошик\" button text"
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
357
  msgid "Share by Email"
358
  msgstr ""
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
361
  #, fuzzy
362
  msgid "Show \"Share by Email\" button"
363
  msgstr "\"Додати в кошик\" button text"
364
 
365
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
366
  msgid "Social title"
367
  msgstr ""
368
 
369
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
370
  msgid "Social text"
371
  msgstr ""
372
 
373
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
374
  msgid ""
375
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
376
  "%</strong> where you want to show the URL of your wishlist."
377
  msgstr ""
378
 
379
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
380
  msgid "Social image URL"
381
  msgstr ""
382
 
383
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
384
  #, php-format
385
  msgid ""
386
  "If you want to take advantage of this feature, you could consider to "
387
  "purchase the %s."
388
  msgstr ""
389
 
390
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
391
  msgid "YITH WooCommerce Frequently Bought Together Integration"
392
  msgstr ""
393
 
394
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
395
  msgid "Enable slider in wishlist"
396
  msgstr ""
397
 
398
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
399
  #, php-format
400
  msgid ""
401
  "Choose to enable product slider in wishlist page with linked products (<a "
402
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
403
  msgstr ""
404
 
405
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
406
  #, fuzzy
407
  msgid "\"Add to wishlist\" button"
408
  msgstr "\"Додати в кошик\" button text"
409
 
410
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
411
  #: ../includes/class.yith-wcwl-admin-init.php:1310
412
  #: ../includes/class.yith-wcwl-admin-init.php:1328
413
  #: ../includes/class.yith-wcwl-admin-init.php:1346
414
  #: ../includes/class.yith-wcwl-admin-init.php:1364
415
+ msgid "Background"
 
416
  msgstr ""
417
 
418
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
419
  #: ../includes/class.yith-wcwl-admin-init.php:1311
420
  #: ../includes/class.yith-wcwl-admin-init.php:1329
421
  #: ../includes/class.yith-wcwl-admin-init.php:1347
422
  #: ../includes/class.yith-wcwl-admin-init.php:1365
423
+ msgid "Text"
 
424
  msgstr ""
425
 
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
427
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
428
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
429
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
430
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
431
+ msgid "Border"
432
  msgstr ""
433
 
434
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
435
  #: ../includes/class.yith-wcwl-admin-init.php:1319
436
  #: ../includes/class.yith-wcwl-admin-init.php:1337
437
  #: ../includes/class.yith-wcwl-admin-init.php:1355
438
+ msgid "Background (hover)"
 
439
  msgstr ""
440
 
441
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
442
  #: ../includes/class.yith-wcwl-admin-init.php:1320
443
  #: ../includes/class.yith-wcwl-admin-init.php:1338
444
  #: ../includes/class.yith-wcwl-admin-init.php:1356
445
+ msgid "Text (hover)"
446
+ msgstr ""
447
+
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
451
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
452
  msgid "Border (hover)"
453
  msgstr ""
454
 
455
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
456
  #, fuzzy
457
  msgid "\"Add to Cart\" button"
458
  msgstr "\"Додати в кошик\" button text"
459
 
460
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
461
  msgid "\"Style 1\" button"
462
  msgstr ""
463
 
464
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
465
  msgid "\"Style 2\" button"
466
  msgstr ""
467
 
468
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
469
  msgid "Wishlist table"
470
  msgstr ""
471
 
472
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
473
  msgid "Headers"
474
  msgstr ""
475
 
476
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
477
  msgid "Background color"
478
  msgstr ""
479
 
480
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
481
  msgid "Wishlist Activated"
482
  msgstr ""
483
 
484
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
485
  #, php-format
486
  msgid ""
487
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
490
  "options, <a href=\"%s\">discover it now</a>."
491
  msgstr ""
492
 
493
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
494
  msgid "Wishlist Updated"
495
  msgstr ""
496
 
497
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
498
  #, php-format
499
  msgid ""
500
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
504
  "\">discover the PREMIUM version.</a>"
505
  msgstr ""
506
 
507
+ #: ../includes/class.yith-wcwl-init.php:380
508
  msgid ""
509
  "We are sorry, but this feature is available only if cookies are enabled on "
510
  "your browser."
511
  msgstr ""
512
 
513
+ #: ../includes/class.yith-wcwl-init.php:381
514
  #, fuzzy
515
  msgid "Product correctly added to cart"
516
  msgstr "Назва продукту"
581
  msgid "An error as occurred."
582
  msgstr ""
583
 
584
+ #: ../init.php:135
585
  msgid ""
586
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
587
  "WooCommerce in order to work."
588
  msgstr ""
589
 
590
+ #: ../init.php:145
591
  msgid ""
592
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
593
  "are using the premium one."
843
  msgid "Google+"
844
  msgstr ""
845
 
846
+ #: ../templates/share.php:40
847
+ msgid "I wanted you to see this site"
848
+ msgstr ""
849
+
850
  #: ../templates/share.php:40
851
  msgid "Email"
852
  msgstr ""
languages/yith-woocommerce-wishlist-zh_CN.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-zh_CN.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:45+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:45+0100\n"
6
  "Last-Translator: 李明軒 <eggeggxuan@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: zh_CN\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "愿望清单"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr ""
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr ""
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr ""
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr ""
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr ""
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr ""
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -108,367 +112,367 @@ msgid ""
108
  "\"%s\" target=\"_blank\">documentation</a>."
109
  msgstr ""
110
 
111
- #: ../includes/class.yith-wcwl-admin-init.php:964
112
  msgid "Default wishlist title"
113
  msgstr ""
114
 
115
- #: ../includes/class.yith-wcwl-admin-init.php:966
116
- #: ../includes/class.yith-wcwl-admin-init.php:967
117
- #: ../includes/class.yith-wcwl-admin-init.php:1226
118
- #: ../includes/class.yith-wcwl-admin-init.php:1227
119
  #, php-format
120
  msgid "My wishlist on %s"
121
  msgstr ""
122
 
123
- #: ../includes/class.yith-wcwl-admin-init.php:975
124
  msgid "Position"
125
  msgstr ""
126
 
127
- #: ../includes/class.yith-wcwl-admin-init.php:976
128
  msgid ""
129
  "You can add the button in variable products only after the \"Add to Cart\" "
130
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
131
  msgstr ""
132
 
133
- #: ../includes/class.yith-wcwl-admin-init.php:982
134
  msgid "After \"Add to cart\""
135
  msgstr ""
136
 
137
- #: ../includes/class.yith-wcwl-admin-init.php:983
138
  msgid "After thumbnails"
139
  msgstr ""
140
 
141
- #: ../includes/class.yith-wcwl-admin-init.php:984
142
  msgid "After summary"
143
  msgstr ""
144
 
145
- #: ../includes/class.yith-wcwl-admin-init.php:985
146
  msgid "Use shortcode"
147
  msgstr ""
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:990
150
  msgid "Redirect to cart"
151
  msgstr ""
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:991
154
  msgid ""
155
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
156
  "page."
157
  msgstr ""
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:998
160
  msgid "Remove if added to the cart"
161
  msgstr ""
162
 
163
- #: ../includes/class.yith-wcwl-admin-init.php:999
164
  msgid "Remove the product from the wishlist if it has been added to the cart."
165
  msgstr ""
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:1006
168
  msgid "\"Add to Wishlist\" text"
169
  msgstr ""
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:1008
172
- #: ../includes/class.yith-wcwl-admin-init.php:1009
173
  msgid "Add to Wishlist"
174
  msgstr ""
175
 
176
- #: ../includes/class.yith-wcwl-admin-init.php:1014
177
  #, fuzzy
178
  msgid "\"Browse wishlist\" text"
179
  msgstr "浏览「愿望清单」"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1016
182
- #: ../includes/class.yith-wcwl-admin-init.php:1017
183
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
184
  msgid "Browse Wishlist"
185
  msgstr "浏览「愿望清单」"
186
 
187
- #: ../includes/class.yith-wcwl-admin-init.php:1022
188
  #, fuzzy
189
  msgid "\"Product already in wishlist\" text"
190
  msgstr "商品已经加入收藏在「愿望清单」裡面。"
191
 
192
- #: ../includes/class.yith-wcwl-admin-init.php:1024
193
- #: ../includes/class.yith-wcwl-admin-init.php:1025
194
  #: ../includes/class.yith-wcwl-ui.php:82
195
  msgid "The product is already in the wishlist!"
196
  msgstr "这个商品已经加入收藏在「愿望清单」裡面!"
197
 
198
- #: ../includes/class.yith-wcwl-admin-init.php:1030
199
  #, fuzzy
200
  msgid "\"Product added\" text"
201
  msgstr "加入收藏!"
202
 
203
- #: ../includes/class.yith-wcwl-admin-init.php:1032
204
- #: ../includes/class.yith-wcwl-admin-init.php:1033
205
  #: ../includes/class.yith-wcwl-ui.php:81
206
  msgid "Product added!"
207
  msgstr "加入收藏!"
208
 
209
- #: ../includes/class.yith-wcwl-admin-init.php:1038
210
  msgid "\"Add to Cart\" text"
211
  msgstr ""
212
 
213
- #: ../includes/class.yith-wcwl-admin-init.php:1040
214
- #: ../includes/class.yith-wcwl-admin-init.php:1041
215
  msgid "Add to Cart"
216
  msgstr ""
217
 
218
- #: ../includes/class.yith-wcwl-admin-init.php:1046
219
  msgid "Show Unit price"
220
  msgstr ""
221
 
222
- #: ../includes/class.yith-wcwl-admin-init.php:1047
223
  msgid "Show unit price for each product in wishlist"
224
  msgstr ""
225
 
226
- #: ../includes/class.yith-wcwl-admin-init.php:1055
227
  msgid "Show \"Add to Cart\" button"
228
  msgstr ""
229
 
230
- #: ../includes/class.yith-wcwl-admin-init.php:1056
231
  msgid "Show \"Add to Cart\" button for each product in wishlist"
232
  msgstr ""
233
 
234
- #: ../includes/class.yith-wcwl-admin-init.php:1064
235
  msgid "Show Stock status"
236
  msgstr ""
237
 
238
- #: ../includes/class.yith-wcwl-admin-init.php:1065
239
  msgid ""
240
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
241
  msgstr ""
242
 
243
- #: ../includes/class.yith-wcwl-admin-init.php:1073
244
  msgid "Show Date of addition"
245
  msgstr ""
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1074
248
  #, fuzzy
249
  msgid "Show the date when users have added a product to the wishlist"
250
  msgstr "商品加入收藏到「愿望清单」时,发生了错误。"
251
 
252
- #: ../includes/class.yith-wcwl-admin-init.php:1082
253
  msgid "Add second remove button"
254
  msgstr ""
255
 
256
- #: ../includes/class.yith-wcwl-admin-init.php:1083
257
  msgid "Add a second remove button in the last column, with extended label"
258
  msgstr ""
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1106
261
  msgid "Styles"
262
  msgstr ""
263
 
264
- #: ../includes/class.yith-wcwl-admin-init.php:1113
265
  msgid "Use buttons"
266
  msgstr ""
267
 
268
- #: ../includes/class.yith-wcwl-admin-init.php:1114
269
  msgid "Use buttons instead of simple anchors."
270
  msgstr ""
271
 
272
- #: ../includes/class.yith-wcwl-admin-init.php:1121
273
  msgid "Custom CSS"
274
  msgstr ""
275
 
276
- #: ../includes/class.yith-wcwl-admin-init.php:1129
277
  msgid "Use theme style"
278
  msgstr ""
279
 
280
- #: ../includes/class.yith-wcwl-admin-init.php:1130
281
  msgid "Use the theme style."
282
  msgstr ""
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1137
285
  msgid "Rounded buttons"
286
  msgstr ""
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1138
289
  msgid "Make button corners rounded"
290
  msgstr ""
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1145
293
  msgid "\"Add to Wishlist\" icon"
294
  msgstr ""
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1146
297
  msgid "Add an icon to the \"Add to Wishlist\" button"
298
  msgstr ""
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1157
301
  msgid "\"Add to Cart\" icon"
302
  msgstr ""
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1158
305
  msgid "Add an icon to the \"Add to Cart\" button"
306
  msgstr ""
307
 
308
- #: ../includes/class.yith-wcwl-admin-init.php:1177
309
  msgid "Social Networks & Share"
310
  msgstr ""
311
 
312
- #: ../includes/class.yith-wcwl-admin-init.php:1184
313
  msgid "Share on Facebook"
314
  msgstr ""
315
 
316
- #: ../includes/class.yith-wcwl-admin-init.php:1185
317
  msgid "Show \"Share on Facebook\" button"
318
  msgstr ""
319
 
320
- #: ../includes/class.yith-wcwl-admin-init.php:1192
321
  msgid "Tweet on Twitter"
322
  msgstr ""
323
 
324
- #: ../includes/class.yith-wcwl-admin-init.php:1193
325
  msgid "Show \"Tweet on Twitter\" button"
326
  msgstr ""
327
 
328
- #: ../includes/class.yith-wcwl-admin-init.php:1200
329
  msgid "Pin on Pinterest"
330
  msgstr ""
331
 
332
- #: ../includes/class.yith-wcwl-admin-init.php:1201
333
  msgid "Show \"Pin on Pinterest\" button"
334
  msgstr ""
335
 
336
- #: ../includes/class.yith-wcwl-admin-init.php:1208
337
  msgid "Share on Google+"
338
  msgstr ""
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1209
341
  msgid "Show \"Share on Google+\" button"
342
  msgstr ""
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1216
345
  msgid "Share by Email"
346
  msgstr ""
347
 
348
- #: ../includes/class.yith-wcwl-admin-init.php:1217
349
  msgid "Show \"Share by Email\" button"
350
  msgstr ""
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1224
353
  msgid "Social title"
354
  msgstr ""
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1232
357
  msgid "Social text"
358
  msgstr ""
359
 
360
- #: ../includes/class.yith-wcwl-admin-init.php:1233
361
  msgid ""
362
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
363
  "%</strong> where you want to show the URL of your wishlist."
364
  msgstr ""
365
 
366
- #: ../includes/class.yith-wcwl-admin-init.php:1241
367
  msgid "Social image URL"
368
  msgstr ""
369
 
370
- #: ../includes/class.yith-wcwl-admin-init.php:1256
371
  #, php-format
372
  msgid ""
373
  "If you want to take advantage of this feature, you could consider to "
374
  "purchase the %s."
375
  msgstr ""
376
 
377
- #: ../includes/class.yith-wcwl-admin-init.php:1261
378
  msgid "YITH WooCommerce Frequently Bought Together Integration"
379
  msgstr ""
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1268
382
  msgid "Enable slider in wishlist"
383
  msgstr ""
384
 
385
- #: ../includes/class.yith-wcwl-admin-init.php:1269
386
  #, php-format
387
  msgid ""
388
  "Choose to enable product slider in wishlist page with linked products (<a "
389
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
390
  msgstr ""
391
 
392
- #: ../includes/class.yith-wcwl-admin-init.php:1306
393
  msgid "\"Add to wishlist\" button"
394
  msgstr ""
395
 
396
- #: ../includes/class.yith-wcwl-admin-init.php:1309
397
- #: ../includes/class.yith-wcwl-admin-init.php:1327
398
- #: ../includes/class.yith-wcwl-admin-init.php:1345
399
- #: ../includes/class.yith-wcwl-admin-init.php:1363
400
- #: ../includes/class.yith-wcwl-admin-init.php:1381
401
- msgid "Background"
402
- msgstr ""
403
-
404
  #: ../includes/class.yith-wcwl-admin-init.php:1310
405
  #: ../includes/class.yith-wcwl-admin-init.php:1328
406
  #: ../includes/class.yith-wcwl-admin-init.php:1346
407
  #: ../includes/class.yith-wcwl-admin-init.php:1364
408
- #: ../includes/class.yith-wcwl-admin-init.php:1382
409
- msgid "Text"
410
  msgstr ""
411
 
 
412
  #: ../includes/class.yith-wcwl-admin-init.php:1311
413
  #: ../includes/class.yith-wcwl-admin-init.php:1329
414
  #: ../includes/class.yith-wcwl-admin-init.php:1347
415
  #: ../includes/class.yith-wcwl-admin-init.php:1365
416
- #: ../includes/class.yith-wcwl-admin-init.php:1383
417
- msgid "Border"
418
  msgstr ""
419
 
420
- #: ../includes/class.yith-wcwl-admin-init.php:1318
421
- #: ../includes/class.yith-wcwl-admin-init.php:1336
422
- #: ../includes/class.yith-wcwl-admin-init.php:1354
423
- #: ../includes/class.yith-wcwl-admin-init.php:1372
424
- msgid "Background (hover)"
 
425
  msgstr ""
426
 
 
427
  #: ../includes/class.yith-wcwl-admin-init.php:1319
428
  #: ../includes/class.yith-wcwl-admin-init.php:1337
429
  #: ../includes/class.yith-wcwl-admin-init.php:1355
430
- #: ../includes/class.yith-wcwl-admin-init.php:1373
431
- msgid "Text (hover)"
432
  msgstr ""
433
 
 
434
  #: ../includes/class.yith-wcwl-admin-init.php:1320
435
  #: ../includes/class.yith-wcwl-admin-init.php:1338
436
  #: ../includes/class.yith-wcwl-admin-init.php:1356
437
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
438
  msgid "Border (hover)"
439
  msgstr ""
440
 
441
- #: ../includes/class.yith-wcwl-admin-init.php:1324
442
  msgid "\"Add to Cart\" button"
443
  msgstr ""
444
 
445
- #: ../includes/class.yith-wcwl-admin-init.php:1342
446
  msgid "\"Style 1\" button"
447
  msgstr ""
448
 
449
- #: ../includes/class.yith-wcwl-admin-init.php:1360
450
  msgid "\"Style 2\" button"
451
  msgstr ""
452
 
453
- #: ../includes/class.yith-wcwl-admin-init.php:1378
454
  #, fuzzy
455
  msgid "Wishlist table"
456
  msgstr "愿望清单"
457
 
458
- #: ../includes/class.yith-wcwl-admin-init.php:1387
459
  msgid "Headers"
460
  msgstr ""
461
 
462
- #: ../includes/class.yith-wcwl-admin-init.php:1390
463
  msgid "Background color"
464
  msgstr ""
465
 
466
- #: ../includes/class.yith-wcwl-admin-init.php:1480
467
  #, fuzzy
468
  msgid "Wishlist Activated"
469
  msgstr "愿望清单"
470
 
471
- #: ../includes/class.yith-wcwl-admin-init.php:1481
472
  #, php-format
473
  msgid ""
474
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -477,12 +481,12 @@ msgid ""
477
  "options, <a href=\"%s\">discover it now</a>."
478
  msgstr ""
479
 
480
- #: ../includes/class.yith-wcwl-admin-init.php:1492
481
  #, fuzzy
482
  msgid "Wishlist Updated"
483
  msgstr "愿望清单"
484
 
485
- #: ../includes/class.yith-wcwl-admin-init.php:1493
486
  #, php-format
487
  msgid ""
488
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -492,13 +496,13 @@ msgid ""
492
  "\">discover the PREMIUM version.</a>"
493
  msgstr ""
494
 
495
- #: ../includes/class.yith-wcwl-init.php:361
496
  msgid ""
497
  "We are sorry, but this feature is available only if cookies are enabled on "
498
  "your browser."
499
  msgstr ""
500
 
501
- #: ../includes/class.yith-wcwl-init.php:362
502
  #, fuzzy
503
  msgid "Product correctly added to cart"
504
  msgstr "加入收藏!"
@@ -569,13 +573,13 @@ msgstr "你目前没有加入收藏任何商品到「愿望清单」裡面"
569
  msgid "An error as occurred."
570
  msgstr ""
571
 
572
- #: ../init.php:133
573
  msgid ""
574
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
575
  "WooCommerce in order to work."
576
  msgstr ""
577
 
578
- #: ../init.php:143
579
  msgid ""
580
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
581
  "are using the premium one."
@@ -831,6 +835,10 @@ msgstr ""
831
  msgid "Google+"
832
  msgstr ""
833
 
 
 
 
 
834
  #: ../templates/share.php:40
835
  msgid "Email"
836
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: 李明軒 <eggeggxuan@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: zh_CN\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "愿望清单"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr ""
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr ""
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr ""
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr ""
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr ""
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr ""
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
112
  "\"%s\" target=\"_blank\">documentation</a>."
113
  msgstr ""
114
 
115
+ #: ../includes/class.yith-wcwl-admin-init.php:947
116
  msgid "Default wishlist title"
117
  msgstr ""
118
 
119
+ #: ../includes/class.yith-wcwl-admin-init.php:949
120
+ #: ../includes/class.yith-wcwl-admin-init.php:950
121
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
122
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
123
  #, php-format
124
  msgid "My wishlist on %s"
125
  msgstr ""
126
 
127
+ #: ../includes/class.yith-wcwl-admin-init.php:958
128
  msgid "Position"
129
  msgstr ""
130
 
131
+ #: ../includes/class.yith-wcwl-admin-init.php:959
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
134
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
135
  msgstr ""
136
 
137
+ #: ../includes/class.yith-wcwl-admin-init.php:965
138
  msgid "After \"Add to cart\""
139
  msgstr ""
140
 
141
+ #: ../includes/class.yith-wcwl-admin-init.php:966
142
  msgid "After thumbnails"
143
  msgstr ""
144
 
145
+ #: ../includes/class.yith-wcwl-admin-init.php:967
146
  msgid "After summary"
147
  msgstr ""
148
 
149
+ #: ../includes/class.yith-wcwl-admin-init.php:968
150
  msgid "Use shortcode"
151
  msgstr ""
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:973
154
  msgid "Redirect to cart"
155
  msgstr ""
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:974
158
  msgid ""
159
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
160
  "page."
161
  msgstr ""
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:981
164
  msgid "Remove if added to the cart"
165
  msgstr ""
166
 
167
+ #: ../includes/class.yith-wcwl-admin-init.php:982
168
  msgid "Remove the product from the wishlist if it has been added to the cart."
169
  msgstr ""
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:989
172
  msgid "\"Add to Wishlist\" text"
173
  msgstr ""
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:991
176
+ #: ../includes/class.yith-wcwl-admin-init.php:992
177
  msgid "Add to Wishlist"
178
  msgstr ""
179
 
180
+ #: ../includes/class.yith-wcwl-admin-init.php:997
181
  #, fuzzy
182
  msgid "\"Browse wishlist\" text"
183
  msgstr "浏览「愿望清单」"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:999
186
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
187
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
188
  msgid "Browse Wishlist"
189
  msgstr "浏览「愿望清单」"
190
 
191
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
192
  #, fuzzy
193
  msgid "\"Product already in wishlist\" text"
194
  msgstr "商品已经加入收藏在「愿望清单」裡面。"
195
 
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
197
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
198
  #: ../includes/class.yith-wcwl-ui.php:82
199
  msgid "The product is already in the wishlist!"
200
  msgstr "这个商品已经加入收藏在「愿望清单」裡面!"
201
 
202
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
203
  #, fuzzy
204
  msgid "\"Product added\" text"
205
  msgstr "加入收藏!"
206
 
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
208
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
209
  #: ../includes/class.yith-wcwl-ui.php:81
210
  msgid "Product added!"
211
  msgstr "加入收藏!"
212
 
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
214
  msgid "\"Add to Cart\" text"
215
  msgstr ""
216
 
217
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
219
  msgid "Add to Cart"
220
  msgstr ""
221
 
222
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
223
  msgid "Show Unit price"
224
  msgstr ""
225
 
226
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
227
  msgid "Show unit price for each product in wishlist"
228
  msgstr ""
229
 
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
231
  msgid "Show \"Add to Cart\" button"
232
  msgstr ""
233
 
234
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
235
  msgid "Show \"Add to Cart\" button for each product in wishlist"
236
  msgstr ""
237
 
238
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
239
  msgid "Show Stock status"
240
  msgstr ""
241
 
242
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
243
  msgid ""
244
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
245
  msgstr ""
246
 
247
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
248
  msgid "Show Date of addition"
249
  msgstr ""
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
252
  #, fuzzy
253
  msgid "Show the date when users have added a product to the wishlist"
254
  msgstr "商品加入收藏到「愿望清单」时,发生了错误。"
255
 
256
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
257
  msgid "Add second remove button"
258
  msgstr ""
259
 
260
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
261
  msgid "Add a second remove button in the last column, with extended label"
262
  msgstr ""
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
265
  msgid "Styles"
266
  msgstr ""
267
 
268
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
269
  msgid "Use buttons"
270
  msgstr ""
271
 
272
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
273
  msgid "Use buttons instead of simple anchors."
274
  msgstr ""
275
 
276
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
277
  msgid "Custom CSS"
278
  msgstr ""
279
 
280
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
281
  msgid "Use theme style"
282
  msgstr ""
283
 
284
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
285
  msgid "Use the theme style."
286
  msgstr ""
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
289
  msgid "Rounded buttons"
290
  msgstr ""
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
293
  msgid "Make button corners rounded"
294
  msgstr ""
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
297
  msgid "\"Add to Wishlist\" icon"
298
  msgstr ""
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
301
  msgid "Add an icon to the \"Add to Wishlist\" button"
302
  msgstr ""
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
305
  msgid "\"Add to Cart\" icon"
306
  msgstr ""
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
309
  msgid "Add an icon to the \"Add to Cart\" button"
310
  msgstr ""
311
 
312
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
313
  msgid "Social Networks & Share"
314
  msgstr ""
315
 
316
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
317
  msgid "Share on Facebook"
318
  msgstr ""
319
 
320
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
321
  msgid "Show \"Share on Facebook\" button"
322
  msgstr ""
323
 
324
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
325
  msgid "Tweet on Twitter"
326
  msgstr ""
327
 
328
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
329
  msgid "Show \"Tweet on Twitter\" button"
330
  msgstr ""
331
 
332
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
333
  msgid "Pin on Pinterest"
334
  msgstr ""
335
 
336
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
337
  msgid "Show \"Pin on Pinterest\" button"
338
  msgstr ""
339
 
340
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
341
  msgid "Share on Google+"
342
  msgstr ""
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
345
  msgid "Show \"Share on Google+\" button"
346
  msgstr ""
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
349
  msgid "Share by Email"
350
  msgstr ""
351
 
352
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
353
  msgid "Show \"Share by Email\" button"
354
  msgstr ""
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
357
  msgid "Social title"
358
  msgstr ""
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
361
  msgid "Social text"
362
  msgstr ""
363
 
364
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
365
  msgid ""
366
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
367
  "%</strong> where you want to show the URL of your wishlist."
368
  msgstr ""
369
 
370
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
371
  msgid "Social image URL"
372
  msgstr ""
373
 
374
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
375
  #, php-format
376
  msgid ""
377
  "If you want to take advantage of this feature, you could consider to "
378
  "purchase the %s."
379
  msgstr ""
380
 
381
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
382
  msgid "YITH WooCommerce Frequently Bought Together Integration"
383
  msgstr ""
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
386
  msgid "Enable slider in wishlist"
387
  msgstr ""
388
 
389
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
390
  #, php-format
391
  msgid ""
392
  "Choose to enable product slider in wishlist page with linked products (<a "
393
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
394
  msgstr ""
395
 
396
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
397
  msgid "\"Add to wishlist\" button"
398
  msgstr ""
399
 
400
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
401
  #: ../includes/class.yith-wcwl-admin-init.php:1310
402
  #: ../includes/class.yith-wcwl-admin-init.php:1328
403
  #: ../includes/class.yith-wcwl-admin-init.php:1346
404
  #: ../includes/class.yith-wcwl-admin-init.php:1364
405
+ msgid "Background"
 
406
  msgstr ""
407
 
408
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
409
  #: ../includes/class.yith-wcwl-admin-init.php:1311
410
  #: ../includes/class.yith-wcwl-admin-init.php:1329
411
  #: ../includes/class.yith-wcwl-admin-init.php:1347
412
  #: ../includes/class.yith-wcwl-admin-init.php:1365
413
+ msgid "Text"
 
414
  msgstr ""
415
 
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
417
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
418
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
419
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
420
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
421
+ msgid "Border"
422
  msgstr ""
423
 
424
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
425
  #: ../includes/class.yith-wcwl-admin-init.php:1319
426
  #: ../includes/class.yith-wcwl-admin-init.php:1337
427
  #: ../includes/class.yith-wcwl-admin-init.php:1355
428
+ msgid "Background (hover)"
 
429
  msgstr ""
430
 
431
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
432
  #: ../includes/class.yith-wcwl-admin-init.php:1320
433
  #: ../includes/class.yith-wcwl-admin-init.php:1338
434
  #: ../includes/class.yith-wcwl-admin-init.php:1356
435
+ msgid "Text (hover)"
436
+ msgstr ""
437
+
438
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
439
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
441
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
442
  msgid "Border (hover)"
443
  msgstr ""
444
 
445
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
446
  msgid "\"Add to Cart\" button"
447
  msgstr ""
448
 
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
450
  msgid "\"Style 1\" button"
451
  msgstr ""
452
 
453
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
454
  msgid "\"Style 2\" button"
455
  msgstr ""
456
 
457
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
458
  #, fuzzy
459
  msgid "Wishlist table"
460
  msgstr "愿望清单"
461
 
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
463
  msgid "Headers"
464
  msgstr ""
465
 
466
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
467
  msgid "Background color"
468
  msgstr ""
469
 
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
471
  #, fuzzy
472
  msgid "Wishlist Activated"
473
  msgstr "愿望清单"
474
 
475
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
476
  #, php-format
477
  msgid ""
478
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
481
  "options, <a href=\"%s\">discover it now</a>."
482
  msgstr ""
483
 
484
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
485
  #, fuzzy
486
  msgid "Wishlist Updated"
487
  msgstr "愿望清单"
488
 
489
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
490
  #, php-format
491
  msgid ""
492
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
496
  "\">discover the PREMIUM version.</a>"
497
  msgstr ""
498
 
499
+ #: ../includes/class.yith-wcwl-init.php:380
500
  msgid ""
501
  "We are sorry, but this feature is available only if cookies are enabled on "
502
  "your browser."
503
  msgstr ""
504
 
505
+ #: ../includes/class.yith-wcwl-init.php:381
506
  #, fuzzy
507
  msgid "Product correctly added to cart"
508
  msgstr "加入收藏!"
573
  msgid "An error as occurred."
574
  msgstr ""
575
 
576
+ #: ../init.php:135
577
  msgid ""
578
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
579
  "WooCommerce in order to work."
580
  msgstr ""
581
 
582
+ #: ../init.php:145
583
  msgid ""
584
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
585
  "are using the premium one."
835
  msgid "Google+"
836
  msgstr ""
837
 
838
+ #: ../templates/share.php:40
839
+ msgid "I wanted you to see this site"
840
+ msgstr ""
841
+
842
  #: ../templates/share.php:40
843
  msgid "Email"
844
  msgstr ""
languages/yith-woocommerce-wishlist-zh_TW.mo CHANGED
Binary file
languages/yith-woocommerce-wishlist-zh_TW.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
- "POT-Creation-Date: 2015-10-23 16:45+0100\n"
5
- "PO-Revision-Date: 2015-10-23 16:45+0100\n"
6
  "Last-Translator: 李明軒 <eggeggxuan@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: zh_TW\n"
@@ -19,88 +19,92 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
- #: ../includes/class.yith-wcwl-admin-init.php:194
23
- #: ../includes/class.yith-wcwl-admin-init.php:1414
24
- #: ../includes/class.yith-wcwl-admin-init.php:1415
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "願望清單"
28
 
29
- #: ../includes/class.yith-wcwl-admin-init.php:196
30
- #: ../includes/class.yith-wcwl-admin-init.php:298
31
  msgid "Settings"
32
  msgstr ""
33
 
34
- #: ../includes/class.yith-wcwl-admin-init.php:197
35
- #: ../includes/class.yith-wcwl-admin-init.php:265
36
  msgid "Colors"
37
  msgstr ""
38
 
39
- #: ../includes/class.yith-wcwl-admin-init.php:198
40
- #: ../includes/class.yith-wcwl-admin-init.php:302
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
45
  msgid ""
46
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
47
  "link to update it."
48
  msgstr ""
49
 
50
- #: ../includes/class.yith-wcwl-admin-init.php:329
51
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-wcwl-admin-init.php:334
55
  msgid "Plugin Documentation"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-wcwl-admin-init.php:350
59
  msgid "Wishlist Page"
60
  msgstr ""
61
 
62
- #: ../includes/class.yith-wcwl-admin-init.php:351
63
  msgid "Page contents: [yith_wcwl_wishlist]"
64
  msgstr ""
65
 
66
- #: ../includes/class.yith-wcwl-admin-init.php:926
67
  msgid "Upgrade to the PREMIUM VERSION"
68
  msgstr ""
69
 
70
- #: ../includes/class.yith-wcwl-admin-init.php:929
71
  msgid "YITH WooCommerce Wishlist"
72
  msgstr ""
73
 
74
- #: ../includes/class.yith-wcwl-admin-init.php:930
75
  msgid "Discover the Advanced Features"
76
  msgstr ""
77
 
78
- #: ../includes/class.yith-wcwl-admin-init.php:931
79
  msgid ""
80
  "Upgrade to the PREMIUM VERSION\n"
81
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
82
  msgstr ""
83
 
84
- #: ../includes/class.yith-wcwl-admin-init.php:938
85
  msgid "Get Support and Pro Features"
86
  msgstr ""
87
 
88
- #: ../includes/class.yith-wcwl-admin-init.php:939
89
  msgid ""
90
  "By purchasing the premium version of the plugin, you will take advantage of "
91
  "the advanced features of the product and you will get one year of free "
92
  "updates and support through our platform available 24h/24."
93
  msgstr ""
94
 
95
- #: ../includes/class.yith-wcwl-admin-init.php:949
96
  msgid "General Settings"
97
  msgstr ""
98
 
99
- #: ../includes/class.yith-wcwl-admin-init.php:956
100
  msgid "Enable YITH Wishlist"
101
  msgstr ""
102
 
103
- #: ../includes/class.yith-wcwl-admin-init.php:957
104
  #, php-format
105
  msgid ""
106
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -108,367 +112,367 @@ msgid ""
108
  "\"%s\" target=\"_blank\">documentation</a>."
109
  msgstr ""
110
 
111
- #: ../includes/class.yith-wcwl-admin-init.php:964
112
  msgid "Default wishlist title"
113
  msgstr ""
114
 
115
- #: ../includes/class.yith-wcwl-admin-init.php:966
116
- #: ../includes/class.yith-wcwl-admin-init.php:967
117
- #: ../includes/class.yith-wcwl-admin-init.php:1226
118
- #: ../includes/class.yith-wcwl-admin-init.php:1227
119
  #, php-format
120
  msgid "My wishlist on %s"
121
  msgstr ""
122
 
123
- #: ../includes/class.yith-wcwl-admin-init.php:975
124
  msgid "Position"
125
  msgstr ""
126
 
127
- #: ../includes/class.yith-wcwl-admin-init.php:976
128
  msgid ""
129
  "You can add the button in variable products only after the \"Add to Cart\" "
130
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
131
  msgstr ""
132
 
133
- #: ../includes/class.yith-wcwl-admin-init.php:982
134
  msgid "After \"Add to cart\""
135
  msgstr ""
136
 
137
- #: ../includes/class.yith-wcwl-admin-init.php:983
138
  msgid "After thumbnails"
139
  msgstr ""
140
 
141
- #: ../includes/class.yith-wcwl-admin-init.php:984
142
  msgid "After summary"
143
  msgstr ""
144
 
145
- #: ../includes/class.yith-wcwl-admin-init.php:985
146
  msgid "Use shortcode"
147
  msgstr ""
148
 
149
- #: ../includes/class.yith-wcwl-admin-init.php:990
150
  msgid "Redirect to cart"
151
  msgstr ""
152
 
153
- #: ../includes/class.yith-wcwl-admin-init.php:991
154
  msgid ""
155
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
156
  "page."
157
  msgstr ""
158
 
159
- #: ../includes/class.yith-wcwl-admin-init.php:998
160
  msgid "Remove if added to the cart"
161
  msgstr ""
162
 
163
- #: ../includes/class.yith-wcwl-admin-init.php:999
164
  msgid "Remove the product from the wishlist if it has been added to the cart."
165
  msgstr ""
166
 
167
- #: ../includes/class.yith-wcwl-admin-init.php:1006
168
  msgid "\"Add to Wishlist\" text"
169
  msgstr ""
170
 
171
- #: ../includes/class.yith-wcwl-admin-init.php:1008
172
- #: ../includes/class.yith-wcwl-admin-init.php:1009
173
  msgid "Add to Wishlist"
174
  msgstr ""
175
 
176
- #: ../includes/class.yith-wcwl-admin-init.php:1014
177
  #, fuzzy
178
  msgid "\"Browse wishlist\" text"
179
  msgstr "瀏覽「願望清單」"
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1016
182
- #: ../includes/class.yith-wcwl-admin-init.php:1017
183
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
184
  msgid "Browse Wishlist"
185
  msgstr "瀏覽「願望清單」"
186
 
187
- #: ../includes/class.yith-wcwl-admin-init.php:1022
188
  #, fuzzy
189
  msgid "\"Product already in wishlist\" text"
190
  msgstr "商品已經加入收藏在「願望清單」裡面。"
191
 
192
- #: ../includes/class.yith-wcwl-admin-init.php:1024
193
- #: ../includes/class.yith-wcwl-admin-init.php:1025
194
  #: ../includes/class.yith-wcwl-ui.php:82
195
  msgid "The product is already in the wishlist!"
196
  msgstr "這個商品已經加入收藏在「願望清單」裡面!"
197
 
198
- #: ../includes/class.yith-wcwl-admin-init.php:1030
199
  #, fuzzy
200
  msgid "\"Product added\" text"
201
  msgstr "加入收藏!"
202
 
203
- #: ../includes/class.yith-wcwl-admin-init.php:1032
204
- #: ../includes/class.yith-wcwl-admin-init.php:1033
205
  #: ../includes/class.yith-wcwl-ui.php:81
206
  msgid "Product added!"
207
  msgstr "加入收藏!"
208
 
209
- #: ../includes/class.yith-wcwl-admin-init.php:1038
210
  msgid "\"Add to Cart\" text"
211
  msgstr ""
212
 
213
- #: ../includes/class.yith-wcwl-admin-init.php:1040
214
- #: ../includes/class.yith-wcwl-admin-init.php:1041
215
  msgid "Add to Cart"
216
  msgstr ""
217
 
218
- #: ../includes/class.yith-wcwl-admin-init.php:1046
219
  msgid "Show Unit price"
220
  msgstr ""
221
 
222
- #: ../includes/class.yith-wcwl-admin-init.php:1047
223
  msgid "Show unit price for each product in wishlist"
224
  msgstr ""
225
 
226
- #: ../includes/class.yith-wcwl-admin-init.php:1055
227
  msgid "Show \"Add to Cart\" button"
228
  msgstr ""
229
 
230
- #: ../includes/class.yith-wcwl-admin-init.php:1056
231
  msgid "Show \"Add to Cart\" button for each product in wishlist"
232
  msgstr ""
233
 
234
- #: ../includes/class.yith-wcwl-admin-init.php:1064
235
  msgid "Show Stock status"
236
  msgstr ""
237
 
238
- #: ../includes/class.yith-wcwl-admin-init.php:1065
239
  msgid ""
240
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
241
  msgstr ""
242
 
243
- #: ../includes/class.yith-wcwl-admin-init.php:1073
244
  msgid "Show Date of addition"
245
  msgstr ""
246
 
247
- #: ../includes/class.yith-wcwl-admin-init.php:1074
248
  #, fuzzy
249
  msgid "Show the date when users have added a product to the wishlist"
250
  msgstr "商品加入收藏到「願望清單」時,發生了錯誤。"
251
 
252
- #: ../includes/class.yith-wcwl-admin-init.php:1082
253
  msgid "Add second remove button"
254
  msgstr ""
255
 
256
- #: ../includes/class.yith-wcwl-admin-init.php:1083
257
  msgid "Add a second remove button in the last column, with extended label"
258
  msgstr ""
259
 
260
- #: ../includes/class.yith-wcwl-admin-init.php:1106
261
  msgid "Styles"
262
  msgstr ""
263
 
264
- #: ../includes/class.yith-wcwl-admin-init.php:1113
265
  msgid "Use buttons"
266
  msgstr ""
267
 
268
- #: ../includes/class.yith-wcwl-admin-init.php:1114
269
  msgid "Use buttons instead of simple anchors."
270
  msgstr ""
271
 
272
- #: ../includes/class.yith-wcwl-admin-init.php:1121
273
  msgid "Custom CSS"
274
  msgstr ""
275
 
276
- #: ../includes/class.yith-wcwl-admin-init.php:1129
277
  msgid "Use theme style"
278
  msgstr ""
279
 
280
- #: ../includes/class.yith-wcwl-admin-init.php:1130
281
  msgid "Use the theme style."
282
  msgstr ""
283
 
284
- #: ../includes/class.yith-wcwl-admin-init.php:1137
285
  msgid "Rounded buttons"
286
  msgstr ""
287
 
288
- #: ../includes/class.yith-wcwl-admin-init.php:1138
289
  msgid "Make button corners rounded"
290
  msgstr ""
291
 
292
- #: ../includes/class.yith-wcwl-admin-init.php:1145
293
  msgid "\"Add to Wishlist\" icon"
294
  msgstr ""
295
 
296
- #: ../includes/class.yith-wcwl-admin-init.php:1146
297
  msgid "Add an icon to the \"Add to Wishlist\" button"
298
  msgstr ""
299
 
300
- #: ../includes/class.yith-wcwl-admin-init.php:1157
301
  msgid "\"Add to Cart\" icon"
302
  msgstr ""
303
 
304
- #: ../includes/class.yith-wcwl-admin-init.php:1158
305
  msgid "Add an icon to the \"Add to Cart\" button"
306
  msgstr ""
307
 
308
- #: ../includes/class.yith-wcwl-admin-init.php:1177
309
  msgid "Social Networks & Share"
310
  msgstr ""
311
 
312
- #: ../includes/class.yith-wcwl-admin-init.php:1184
313
  msgid "Share on Facebook"
314
  msgstr ""
315
 
316
- #: ../includes/class.yith-wcwl-admin-init.php:1185
317
  msgid "Show \"Share on Facebook\" button"
318
  msgstr ""
319
 
320
- #: ../includes/class.yith-wcwl-admin-init.php:1192
321
  msgid "Tweet on Twitter"
322
  msgstr ""
323
 
324
- #: ../includes/class.yith-wcwl-admin-init.php:1193
325
  msgid "Show \"Tweet on Twitter\" button"
326
  msgstr ""
327
 
328
- #: ../includes/class.yith-wcwl-admin-init.php:1200
329
  msgid "Pin on Pinterest"
330
  msgstr ""
331
 
332
- #: ../includes/class.yith-wcwl-admin-init.php:1201
333
  msgid "Show \"Pin on Pinterest\" button"
334
  msgstr ""
335
 
336
- #: ../includes/class.yith-wcwl-admin-init.php:1208
337
  msgid "Share on Google+"
338
  msgstr ""
339
 
340
- #: ../includes/class.yith-wcwl-admin-init.php:1209
341
  msgid "Show \"Share on Google+\" button"
342
  msgstr ""
343
 
344
- #: ../includes/class.yith-wcwl-admin-init.php:1216
345
  msgid "Share by Email"
346
  msgstr ""
347
 
348
- #: ../includes/class.yith-wcwl-admin-init.php:1217
349
  msgid "Show \"Share by Email\" button"
350
  msgstr ""
351
 
352
- #: ../includes/class.yith-wcwl-admin-init.php:1224
353
  msgid "Social title"
354
  msgstr ""
355
 
356
- #: ../includes/class.yith-wcwl-admin-init.php:1232
357
  msgid "Social text"
358
  msgstr ""
359
 
360
- #: ../includes/class.yith-wcwl-admin-init.php:1233
361
  msgid ""
362
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
363
  "%</strong> where you want to show the URL of your wishlist."
364
  msgstr ""
365
 
366
- #: ../includes/class.yith-wcwl-admin-init.php:1241
367
  msgid "Social image URL"
368
  msgstr ""
369
 
370
- #: ../includes/class.yith-wcwl-admin-init.php:1256
371
  #, php-format
372
  msgid ""
373
  "If you want to take advantage of this feature, you could consider to "
374
  "purchase the %s."
375
  msgstr ""
376
 
377
- #: ../includes/class.yith-wcwl-admin-init.php:1261
378
  msgid "YITH WooCommerce Frequently Bought Together Integration"
379
  msgstr ""
380
 
381
- #: ../includes/class.yith-wcwl-admin-init.php:1268
382
  msgid "Enable slider in wishlist"
383
  msgstr ""
384
 
385
- #: ../includes/class.yith-wcwl-admin-init.php:1269
386
  #, php-format
387
  msgid ""
388
  "Choose to enable product slider in wishlist page with linked products (<a "
389
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
390
  msgstr ""
391
 
392
- #: ../includes/class.yith-wcwl-admin-init.php:1306
393
  msgid "\"Add to wishlist\" button"
394
  msgstr ""
395
 
396
- #: ../includes/class.yith-wcwl-admin-init.php:1309
397
- #: ../includes/class.yith-wcwl-admin-init.php:1327
398
- #: ../includes/class.yith-wcwl-admin-init.php:1345
399
- #: ../includes/class.yith-wcwl-admin-init.php:1363
400
- #: ../includes/class.yith-wcwl-admin-init.php:1381
401
- msgid "Background"
402
- msgstr ""
403
-
404
  #: ../includes/class.yith-wcwl-admin-init.php:1310
405
  #: ../includes/class.yith-wcwl-admin-init.php:1328
406
  #: ../includes/class.yith-wcwl-admin-init.php:1346
407
  #: ../includes/class.yith-wcwl-admin-init.php:1364
408
- #: ../includes/class.yith-wcwl-admin-init.php:1382
409
- msgid "Text"
410
  msgstr ""
411
 
 
412
  #: ../includes/class.yith-wcwl-admin-init.php:1311
413
  #: ../includes/class.yith-wcwl-admin-init.php:1329
414
  #: ../includes/class.yith-wcwl-admin-init.php:1347
415
  #: ../includes/class.yith-wcwl-admin-init.php:1365
416
- #: ../includes/class.yith-wcwl-admin-init.php:1383
417
- msgid "Border"
418
  msgstr ""
419
 
420
- #: ../includes/class.yith-wcwl-admin-init.php:1318
421
- #: ../includes/class.yith-wcwl-admin-init.php:1336
422
- #: ../includes/class.yith-wcwl-admin-init.php:1354
423
- #: ../includes/class.yith-wcwl-admin-init.php:1372
424
- msgid "Background (hover)"
 
425
  msgstr ""
426
 
 
427
  #: ../includes/class.yith-wcwl-admin-init.php:1319
428
  #: ../includes/class.yith-wcwl-admin-init.php:1337
429
  #: ../includes/class.yith-wcwl-admin-init.php:1355
430
- #: ../includes/class.yith-wcwl-admin-init.php:1373
431
- msgid "Text (hover)"
432
  msgstr ""
433
 
 
434
  #: ../includes/class.yith-wcwl-admin-init.php:1320
435
  #: ../includes/class.yith-wcwl-admin-init.php:1338
436
  #: ../includes/class.yith-wcwl-admin-init.php:1356
437
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
438
  msgid "Border (hover)"
439
  msgstr ""
440
 
441
- #: ../includes/class.yith-wcwl-admin-init.php:1324
442
  msgid "\"Add to Cart\" button"
443
  msgstr ""
444
 
445
- #: ../includes/class.yith-wcwl-admin-init.php:1342
446
  msgid "\"Style 1\" button"
447
  msgstr ""
448
 
449
- #: ../includes/class.yith-wcwl-admin-init.php:1360
450
  msgid "\"Style 2\" button"
451
  msgstr ""
452
 
453
- #: ../includes/class.yith-wcwl-admin-init.php:1378
454
  #, fuzzy
455
  msgid "Wishlist table"
456
  msgstr "願望清單"
457
 
458
- #: ../includes/class.yith-wcwl-admin-init.php:1387
459
  msgid "Headers"
460
  msgstr ""
461
 
462
- #: ../includes/class.yith-wcwl-admin-init.php:1390
463
  msgid "Background color"
464
  msgstr ""
465
 
466
- #: ../includes/class.yith-wcwl-admin-init.php:1480
467
  #, fuzzy
468
  msgid "Wishlist Activated"
469
  msgstr "願望清單"
470
 
471
- #: ../includes/class.yith-wcwl-admin-init.php:1481
472
  #, php-format
473
  msgid ""
474
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -477,12 +481,12 @@ msgid ""
477
  "options, <a href=\"%s\">discover it now</a>."
478
  msgstr ""
479
 
480
- #: ../includes/class.yith-wcwl-admin-init.php:1492
481
  #, fuzzy
482
  msgid "Wishlist Updated"
483
  msgstr "願望清單"
484
 
485
- #: ../includes/class.yith-wcwl-admin-init.php:1493
486
  #, php-format
487
  msgid ""
488
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -492,13 +496,13 @@ msgid ""
492
  "\">discover the PREMIUM version.</a>"
493
  msgstr ""
494
 
495
- #: ../includes/class.yith-wcwl-init.php:361
496
  msgid ""
497
  "We are sorry, but this feature is available only if cookies are enabled on "
498
  "your browser."
499
  msgstr ""
500
 
501
- #: ../includes/class.yith-wcwl-init.php:362
502
  #, fuzzy
503
  msgid "Product correctly added to cart"
504
  msgstr "加入收藏!"
@@ -569,13 +573,13 @@ msgstr "你目前沒有加入收藏任何商品到「願望清單」裡面"
569
  msgid "An error as occurred."
570
  msgstr ""
571
 
572
- #: ../init.php:133
573
  msgid ""
574
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
575
  "WooCommerce in order to work."
576
  msgstr ""
577
 
578
- #: ../init.php:143
579
  msgid ""
580
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
581
  "are using the premium one."
@@ -831,6 +835,10 @@ msgstr ""
831
  msgid "Google+"
832
  msgstr ""
833
 
 
 
 
 
834
  #: ../templates/share.php:40
835
  msgid "Email"
836
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
4
+ "POT-Creation-Date: 2015-12-16 18:29+0100\n"
5
+ "PO-Revision-Date: 2015-12-16 18:29+0100\n"
6
  "Last-Translator: 李明軒 <eggeggxuan@gmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: zh_TW\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
 
22
+ #: ../includes/class.yith-wcwl-admin-init.php:176
23
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
25
  #: ../includes/class.yith-wcwl-install.php:240
26
  msgid "Wishlist"
27
  msgstr "願望清單"
28
 
29
+ #: ../includes/class.yith-wcwl-admin-init.php:178
30
+ #: ../includes/class.yith-wcwl-admin-init.php:280
31
  msgid "Settings"
32
  msgstr ""
33
 
34
+ #: ../includes/class.yith-wcwl-admin-init.php:179
35
+ #: ../includes/class.yith-wcwl-admin-init.php:247
36
  msgid "Colors"
37
  msgstr ""
38
 
39
+ #: ../includes/class.yith-wcwl-admin-init.php:180
40
+ #: ../includes/class.yith-wcwl-admin-init.php:284
41
  msgid "Premium Version"
42
  msgstr ""
43
 
44
+ #: ../includes/class.yith-wcwl-admin-init.php:285
45
+ msgid "Live Demo"
46
+ msgstr ""
47
+
48
+ #: ../includes/class.yith-wcwl-admin-init.php:309
49
  msgid ""
50
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
51
  "link to update it."
52
  msgstr ""
53
 
54
+ #: ../includes/class.yith-wcwl-admin-init.php:312
55
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
56
  msgstr ""
57
 
58
+ #: ../includes/class.yith-wcwl-admin-init.php:317
59
  msgid "Plugin Documentation"
60
  msgstr ""
61
 
62
+ #: ../includes/class.yith-wcwl-admin-init.php:333
63
  msgid "Wishlist Page"
64
  msgstr ""
65
 
66
+ #: ../includes/class.yith-wcwl-admin-init.php:334
67
  msgid "Page contents: [yith_wcwl_wishlist]"
68
  msgstr ""
69
 
70
+ #: ../includes/class.yith-wcwl-admin-init.php:909
71
  msgid "Upgrade to the PREMIUM VERSION"
72
  msgstr ""
73
 
74
+ #: ../includes/class.yith-wcwl-admin-init.php:912
75
  msgid "YITH WooCommerce Wishlist"
76
  msgstr ""
77
 
78
+ #: ../includes/class.yith-wcwl-admin-init.php:913
79
  msgid "Discover the Advanced Features"
80
  msgstr ""
81
 
82
+ #: ../includes/class.yith-wcwl-admin-init.php:914
83
  msgid ""
84
  "Upgrade to the PREMIUM VERSION\n"
85
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
86
  msgstr ""
87
 
88
+ #: ../includes/class.yith-wcwl-admin-init.php:921
89
  msgid "Get Support and Pro Features"
90
  msgstr ""
91
 
92
+ #: ../includes/class.yith-wcwl-admin-init.php:922
93
  msgid ""
94
  "By purchasing the premium version of the plugin, you will take advantage of "
95
  "the advanced features of the product and you will get one year of free "
96
  "updates and support through our platform available 24h/24."
97
  msgstr ""
98
 
99
+ #: ../includes/class.yith-wcwl-admin-init.php:932
100
  msgid "General Settings"
101
  msgstr ""
102
 
103
+ #: ../includes/class.yith-wcwl-admin-init.php:939
104
  msgid "Enable YITH Wishlist"
105
  msgstr ""
106
 
107
+ #: ../includes/class.yith-wcwl-admin-init.php:940
108
  #, php-format
109
  msgid ""
110
  "Enable all plugin features. <strong>Be sure to select at least one option in "
112
  "\"%s\" target=\"_blank\">documentation</a>."
113
  msgstr ""
114
 
115
+ #: ../includes/class.yith-wcwl-admin-init.php:947
116
  msgid "Default wishlist title"
117
  msgstr ""
118
 
119
+ #: ../includes/class.yith-wcwl-admin-init.php:949
120
+ #: ../includes/class.yith-wcwl-admin-init.php:950
121
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
122
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
123
  #, php-format
124
  msgid "My wishlist on %s"
125
  msgstr ""
126
 
127
+ #: ../includes/class.yith-wcwl-admin-init.php:958
128
  msgid "Position"
129
  msgstr ""
130
 
131
+ #: ../includes/class.yith-wcwl-admin-init.php:959
132
  msgid ""
133
  "You can add the button in variable products only after the \"Add to Cart\" "
134
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
135
  msgstr ""
136
 
137
+ #: ../includes/class.yith-wcwl-admin-init.php:965
138
  msgid "After \"Add to cart\""
139
  msgstr ""
140
 
141
+ #: ../includes/class.yith-wcwl-admin-init.php:966
142
  msgid "After thumbnails"
143
  msgstr ""
144
 
145
+ #: ../includes/class.yith-wcwl-admin-init.php:967
146
  msgid "After summary"
147
  msgstr ""
148
 
149
+ #: ../includes/class.yith-wcwl-admin-init.php:968
150
  msgid "Use shortcode"
151
  msgstr ""
152
 
153
+ #: ../includes/class.yith-wcwl-admin-init.php:973
154
  msgid "Redirect to cart"
155
  msgstr ""
156
 
157
+ #: ../includes/class.yith-wcwl-admin-init.php:974
158
  msgid ""
159
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
160
  "page."
161
  msgstr ""
162
 
163
+ #: ../includes/class.yith-wcwl-admin-init.php:981
164
  msgid "Remove if added to the cart"
165
  msgstr ""
166
 
167
+ #: ../includes/class.yith-wcwl-admin-init.php:982
168
  msgid "Remove the product from the wishlist if it has been added to the cart."
169
  msgstr ""
170
 
171
+ #: ../includes/class.yith-wcwl-admin-init.php:989
172
  msgid "\"Add to Wishlist\" text"
173
  msgstr ""
174
 
175
+ #: ../includes/class.yith-wcwl-admin-init.php:991
176
+ #: ../includes/class.yith-wcwl-admin-init.php:992
177
  msgid "Add to Wishlist"
178
  msgstr ""
179
 
180
+ #: ../includes/class.yith-wcwl-admin-init.php:997
181
  #, fuzzy
182
  msgid "\"Browse wishlist\" text"
183
  msgstr "瀏覽「願望清單」"
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:999
186
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
187
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
188
  msgid "Browse Wishlist"
189
  msgstr "瀏覽「願望清單」"
190
 
191
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
192
  #, fuzzy
193
  msgid "\"Product already in wishlist\" text"
194
  msgstr "商品已經加入收藏在「願望清單」裡面。"
195
 
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
197
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
198
  #: ../includes/class.yith-wcwl-ui.php:82
199
  msgid "The product is already in the wishlist!"
200
  msgstr "這個商品已經加入收藏在「願望清單」裡面!"
201
 
202
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
203
  #, fuzzy
204
  msgid "\"Product added\" text"
205
  msgstr "加入收藏!"
206
 
207
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
208
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
209
  #: ../includes/class.yith-wcwl-ui.php:81
210
  msgid "Product added!"
211
  msgstr "加入收藏!"
212
 
213
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
214
  msgid "\"Add to Cart\" text"
215
  msgstr ""
216
 
217
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
219
  msgid "Add to Cart"
220
  msgstr ""
221
 
222
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
223
  msgid "Show Unit price"
224
  msgstr ""
225
 
226
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
227
  msgid "Show unit price for each product in wishlist"
228
  msgstr ""
229
 
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
231
  msgid "Show \"Add to Cart\" button"
232
  msgstr ""
233
 
234
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
235
  msgid "Show \"Add to Cart\" button for each product in wishlist"
236
  msgstr ""
237
 
238
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
239
  msgid "Show Stock status"
240
  msgstr ""
241
 
242
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
243
  msgid ""
244
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
245
  msgstr ""
246
 
247
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
248
  msgid "Show Date of addition"
249
  msgstr ""
250
 
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
252
  #, fuzzy
253
  msgid "Show the date when users have added a product to the wishlist"
254
  msgstr "商品加入收藏到「願望清單」時,發生了錯誤。"
255
 
256
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
257
  msgid "Add second remove button"
258
  msgstr ""
259
 
260
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
261
  msgid "Add a second remove button in the last column, with extended label"
262
  msgstr ""
263
 
264
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
265
  msgid "Styles"
266
  msgstr ""
267
 
268
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
269
  msgid "Use buttons"
270
  msgstr ""
271
 
272
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
273
  msgid "Use buttons instead of simple anchors."
274
  msgstr ""
275
 
276
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
277
  msgid "Custom CSS"
278
  msgstr ""
279
 
280
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
281
  msgid "Use theme style"
282
  msgstr ""
283
 
284
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
285
  msgid "Use the theme style."
286
  msgstr ""
287
 
288
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
289
  msgid "Rounded buttons"
290
  msgstr ""
291
 
292
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
293
  msgid "Make button corners rounded"
294
  msgstr ""
295
 
296
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
297
  msgid "\"Add to Wishlist\" icon"
298
  msgstr ""
299
 
300
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
301
  msgid "Add an icon to the \"Add to Wishlist\" button"
302
  msgstr ""
303
 
304
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
305
  msgid "\"Add to Cart\" icon"
306
  msgstr ""
307
 
308
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
309
  msgid "Add an icon to the \"Add to Cart\" button"
310
  msgstr ""
311
 
312
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
313
  msgid "Social Networks & Share"
314
  msgstr ""
315
 
316
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
317
  msgid "Share on Facebook"
318
  msgstr ""
319
 
320
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
321
  msgid "Show \"Share on Facebook\" button"
322
  msgstr ""
323
 
324
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
325
  msgid "Tweet on Twitter"
326
  msgstr ""
327
 
328
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
329
  msgid "Show \"Tweet on Twitter\" button"
330
  msgstr ""
331
 
332
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
333
  msgid "Pin on Pinterest"
334
  msgstr ""
335
 
336
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
337
  msgid "Show \"Pin on Pinterest\" button"
338
  msgstr ""
339
 
340
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
341
  msgid "Share on Google+"
342
  msgstr ""
343
 
344
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
345
  msgid "Show \"Share on Google+\" button"
346
  msgstr ""
347
 
348
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
349
  msgid "Share by Email"
350
  msgstr ""
351
 
352
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
353
  msgid "Show \"Share by Email\" button"
354
  msgstr ""
355
 
356
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
357
  msgid "Social title"
358
  msgstr ""
359
 
360
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
361
  msgid "Social text"
362
  msgstr ""
363
 
364
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
365
  msgid ""
366
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
367
  "%</strong> where you want to show the URL of your wishlist."
368
  msgstr ""
369
 
370
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
371
  msgid "Social image URL"
372
  msgstr ""
373
 
374
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
375
  #, php-format
376
  msgid ""
377
  "If you want to take advantage of this feature, you could consider to "
378
  "purchase the %s."
379
  msgstr ""
380
 
381
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
382
  msgid "YITH WooCommerce Frequently Bought Together Integration"
383
  msgstr ""
384
 
385
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
386
  msgid "Enable slider in wishlist"
387
  msgstr ""
388
 
389
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
390
  #, php-format
391
  msgid ""
392
  "Choose to enable product slider in wishlist page with linked products (<a "
393
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
394
  msgstr ""
395
 
396
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
397
  msgid "\"Add to wishlist\" button"
398
  msgstr ""
399
 
400
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
401
  #: ../includes/class.yith-wcwl-admin-init.php:1310
402
  #: ../includes/class.yith-wcwl-admin-init.php:1328
403
  #: ../includes/class.yith-wcwl-admin-init.php:1346
404
  #: ../includes/class.yith-wcwl-admin-init.php:1364
405
+ msgid "Background"
 
406
  msgstr ""
407
 
408
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
409
  #: ../includes/class.yith-wcwl-admin-init.php:1311
410
  #: ../includes/class.yith-wcwl-admin-init.php:1329
411
  #: ../includes/class.yith-wcwl-admin-init.php:1347
412
  #: ../includes/class.yith-wcwl-admin-init.php:1365
413
+ msgid "Text"
 
414
  msgstr ""
415
 
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
417
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
418
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
419
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
420
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
421
+ msgid "Border"
422
  msgstr ""
423
 
424
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
425
  #: ../includes/class.yith-wcwl-admin-init.php:1319
426
  #: ../includes/class.yith-wcwl-admin-init.php:1337
427
  #: ../includes/class.yith-wcwl-admin-init.php:1355
428
+ msgid "Background (hover)"
 
429
  msgstr ""
430
 
431
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
432
  #: ../includes/class.yith-wcwl-admin-init.php:1320
433
  #: ../includes/class.yith-wcwl-admin-init.php:1338
434
  #: ../includes/class.yith-wcwl-admin-init.php:1356
435
+ msgid "Text (hover)"
436
+ msgstr ""
437
+
438
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
439
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
441
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
442
  msgid "Border (hover)"
443
  msgstr ""
444
 
445
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
446
  msgid "\"Add to Cart\" button"
447
  msgstr ""
448
 
449
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
450
  msgid "\"Style 1\" button"
451
  msgstr ""
452
 
453
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
454
  msgid "\"Style 2\" button"
455
  msgstr ""
456
 
457
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
458
  #, fuzzy
459
  msgid "Wishlist table"
460
  msgstr "願望清單"
461
 
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
463
  msgid "Headers"
464
  msgstr ""
465
 
466
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
467
  msgid "Background color"
468
  msgstr ""
469
 
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
471
  #, fuzzy
472
  msgid "Wishlist Activated"
473
  msgstr "願望清單"
474
 
475
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
476
  #, php-format
477
  msgid ""
478
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
481
  "options, <a href=\"%s\">discover it now</a>."
482
  msgstr ""
483
 
484
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
485
  #, fuzzy
486
  msgid "Wishlist Updated"
487
  msgstr "願望清單"
488
 
489
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
490
  #, php-format
491
  msgid ""
492
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
496
  "\">discover the PREMIUM version.</a>"
497
  msgstr ""
498
 
499
+ #: ../includes/class.yith-wcwl-init.php:380
500
  msgid ""
501
  "We are sorry, but this feature is available only if cookies are enabled on "
502
  "your browser."
503
  msgstr ""
504
 
505
+ #: ../includes/class.yith-wcwl-init.php:381
506
  #, fuzzy
507
  msgid "Product correctly added to cart"
508
  msgstr "加入收藏!"
573
  msgid "An error as occurred."
574
  msgstr ""
575
 
576
+ #: ../init.php:135
577
  msgid ""
578
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
579
  "WooCommerce in order to work."
580
  msgstr ""
581
 
582
+ #: ../init.php:145
583
  msgid ""
584
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
585
  "are using the premium one."
835
  msgid "Google+"
836
  msgstr ""
837
 
838
+ #: ../templates/share.php:40
839
+ msgid "I wanted you to see this site"
840
+ msgstr ""
841
+
842
  #: ../templates/share.php:40
843
  msgid "Email"
844
  msgstr ""
languages/yith-woocommerce-wishlist.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
5
- "POT-Creation-Date: 2015-10-23 16:43+0100\n"
6
  "PO-Revision-Date: 2015-04-30 17:08+0100\n"
7
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
@@ -20,88 +20,92 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
- #: ../includes/class.yith-wcwl-admin-init.php:194
24
- #: ../includes/class.yith-wcwl-admin-init.php:1414
25
- #: ../includes/class.yith-wcwl-admin-init.php:1415
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr ""
29
 
30
- #: ../includes/class.yith-wcwl-admin-init.php:196
31
- #: ../includes/class.yith-wcwl-admin-init.php:298
32
  msgid "Settings"
33
  msgstr ""
34
 
35
- #: ../includes/class.yith-wcwl-admin-init.php:197
36
- #: ../includes/class.yith-wcwl-admin-init.php:265
37
  msgid "Colors"
38
  msgstr ""
39
 
40
- #: ../includes/class.yith-wcwl-admin-init.php:198
41
- #: ../includes/class.yith-wcwl-admin-init.php:302
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
- #: ../includes/class.yith-wcwl-admin-init.php:326
 
 
 
 
46
  msgid ""
47
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
48
  "link to update it."
49
  msgstr ""
50
 
51
- #: ../includes/class.yith-wcwl-admin-init.php:329
52
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
53
  msgstr ""
54
 
55
- #: ../includes/class.yith-wcwl-admin-init.php:334
56
  msgid "Plugin Documentation"
57
  msgstr ""
58
 
59
- #: ../includes/class.yith-wcwl-admin-init.php:350
60
  msgid "Wishlist Page"
61
  msgstr ""
62
 
63
- #: ../includes/class.yith-wcwl-admin-init.php:351
64
  msgid "Page contents: [yith_wcwl_wishlist]"
65
  msgstr ""
66
 
67
- #: ../includes/class.yith-wcwl-admin-init.php:926
68
  msgid "Upgrade to the PREMIUM VERSION"
69
  msgstr ""
70
 
71
- #: ../includes/class.yith-wcwl-admin-init.php:929
72
  msgid "YITH WooCommerce Wishlist"
73
  msgstr ""
74
 
75
- #: ../includes/class.yith-wcwl-admin-init.php:930
76
  msgid "Discover the Advanced Features"
77
  msgstr ""
78
 
79
- #: ../includes/class.yith-wcwl-admin-init.php:931
80
  msgid ""
81
  "Upgrade to the PREMIUM VERSION\n"
82
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
83
  msgstr ""
84
 
85
- #: ../includes/class.yith-wcwl-admin-init.php:938
86
  msgid "Get Support and Pro Features"
87
  msgstr ""
88
 
89
- #: ../includes/class.yith-wcwl-admin-init.php:939
90
  msgid ""
91
  "By purchasing the premium version of the plugin, you will take advantage of "
92
  "the advanced features of the product and you will get one year of free "
93
  "updates and support through our platform available 24h/24."
94
  msgstr ""
95
 
96
- #: ../includes/class.yith-wcwl-admin-init.php:949
97
  msgid "General Settings"
98
  msgstr ""
99
 
100
- #: ../includes/class.yith-wcwl-admin-init.php:956
101
  msgid "Enable YITH Wishlist"
102
  msgstr ""
103
 
104
- #: ../includes/class.yith-wcwl-admin-init.php:957
105
  #, php-format
106
  msgid ""
107
  "Enable all plugin features. <strong>Be sure to select at least one option in "
@@ -109,361 +113,361 @@ msgid ""
109
  "\"%s\" target=\"_blank\">documentation</a>."
110
  msgstr ""
111
 
112
- #: ../includes/class.yith-wcwl-admin-init.php:964
113
  msgid "Default wishlist title"
114
  msgstr ""
115
 
116
- #: ../includes/class.yith-wcwl-admin-init.php:966
117
- #: ../includes/class.yith-wcwl-admin-init.php:967
118
- #: ../includes/class.yith-wcwl-admin-init.php:1226
119
- #: ../includes/class.yith-wcwl-admin-init.php:1227
120
  #, php-format
121
  msgid "My wishlist on %s"
122
  msgstr ""
123
 
124
- #: ../includes/class.yith-wcwl-admin-init.php:975
125
  msgid "Position"
126
  msgstr ""
127
 
128
- #: ../includes/class.yith-wcwl-admin-init.php:976
129
  msgid ""
130
  "You can add the button in variable products only after the \"Add to Cart\" "
131
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
132
  msgstr ""
133
 
134
- #: ../includes/class.yith-wcwl-admin-init.php:982
135
  msgid "After \"Add to cart\""
136
  msgstr ""
137
 
138
- #: ../includes/class.yith-wcwl-admin-init.php:983
139
  msgid "After thumbnails"
140
  msgstr ""
141
 
142
- #: ../includes/class.yith-wcwl-admin-init.php:984
143
  msgid "After summary"
144
  msgstr ""
145
 
146
- #: ../includes/class.yith-wcwl-admin-init.php:985
147
  msgid "Use shortcode"
148
  msgstr ""
149
 
150
- #: ../includes/class.yith-wcwl-admin-init.php:990
151
  msgid "Redirect to cart"
152
  msgstr ""
153
 
154
- #: ../includes/class.yith-wcwl-admin-init.php:991
155
  msgid ""
156
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
157
  "page."
158
  msgstr ""
159
 
160
- #: ../includes/class.yith-wcwl-admin-init.php:998
161
  msgid "Remove if added to the cart"
162
  msgstr ""
163
 
164
- #: ../includes/class.yith-wcwl-admin-init.php:999
165
  msgid "Remove the product from the wishlist if it has been added to the cart."
166
  msgstr ""
167
 
168
- #: ../includes/class.yith-wcwl-admin-init.php:1006
169
  msgid "\"Add to Wishlist\" text"
170
  msgstr ""
171
 
172
- #: ../includes/class.yith-wcwl-admin-init.php:1008
173
- #: ../includes/class.yith-wcwl-admin-init.php:1009
174
  msgid "Add to Wishlist"
175
  msgstr ""
176
 
177
- #: ../includes/class.yith-wcwl-admin-init.php:1014
178
  msgid "\"Browse wishlist\" text"
179
  msgstr ""
180
 
181
- #: ../includes/class.yith-wcwl-admin-init.php:1016
182
- #: ../includes/class.yith-wcwl-admin-init.php:1017
183
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
184
  msgid "Browse Wishlist"
185
  msgstr ""
186
 
187
- #: ../includes/class.yith-wcwl-admin-init.php:1022
188
  msgid "\"Product already in wishlist\" text"
189
  msgstr ""
190
 
191
- #: ../includes/class.yith-wcwl-admin-init.php:1024
192
- #: ../includes/class.yith-wcwl-admin-init.php:1025
193
  #: ../includes/class.yith-wcwl-ui.php:82
194
  msgid "The product is already in the wishlist!"
195
  msgstr ""
196
 
197
- #: ../includes/class.yith-wcwl-admin-init.php:1030
198
  msgid "\"Product added\" text"
199
  msgstr ""
200
 
201
- #: ../includes/class.yith-wcwl-admin-init.php:1032
202
- #: ../includes/class.yith-wcwl-admin-init.php:1033
203
  #: ../includes/class.yith-wcwl-ui.php:81
204
  msgid "Product added!"
205
  msgstr ""
206
 
207
- #: ../includes/class.yith-wcwl-admin-init.php:1038
208
  msgid "\"Add to Cart\" text"
209
  msgstr ""
210
 
211
- #: ../includes/class.yith-wcwl-admin-init.php:1040
212
- #: ../includes/class.yith-wcwl-admin-init.php:1041
213
  msgid "Add to Cart"
214
  msgstr ""
215
 
216
- #: ../includes/class.yith-wcwl-admin-init.php:1046
217
  msgid "Show Unit price"
218
  msgstr ""
219
 
220
- #: ../includes/class.yith-wcwl-admin-init.php:1047
221
  msgid "Show unit price for each product in wishlist"
222
  msgstr ""
223
 
224
- #: ../includes/class.yith-wcwl-admin-init.php:1055
225
  msgid "Show \"Add to Cart\" button"
226
  msgstr ""
227
 
228
- #: ../includes/class.yith-wcwl-admin-init.php:1056
229
  msgid "Show \"Add to Cart\" button for each product in wishlist"
230
  msgstr ""
231
 
232
- #: ../includes/class.yith-wcwl-admin-init.php:1064
233
  msgid "Show Stock status"
234
  msgstr ""
235
 
236
- #: ../includes/class.yith-wcwl-admin-init.php:1065
237
  msgid ""
238
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
239
  msgstr ""
240
 
241
- #: ../includes/class.yith-wcwl-admin-init.php:1073
242
  msgid "Show Date of addition"
243
  msgstr ""
244
 
245
- #: ../includes/class.yith-wcwl-admin-init.php:1074
246
  msgid "Show the date when users have added a product to the wishlist"
247
  msgstr ""
248
 
249
- #: ../includes/class.yith-wcwl-admin-init.php:1082
250
  msgid "Add second remove button"
251
  msgstr ""
252
 
253
- #: ../includes/class.yith-wcwl-admin-init.php:1083
254
  msgid "Add a second remove button in the last column, with extended label"
255
  msgstr ""
256
 
257
- #: ../includes/class.yith-wcwl-admin-init.php:1106
258
  msgid "Styles"
259
  msgstr ""
260
 
261
- #: ../includes/class.yith-wcwl-admin-init.php:1113
262
  msgid "Use buttons"
263
  msgstr ""
264
 
265
- #: ../includes/class.yith-wcwl-admin-init.php:1114
266
  msgid "Use buttons instead of simple anchors."
267
  msgstr ""
268
 
269
- #: ../includes/class.yith-wcwl-admin-init.php:1121
270
  msgid "Custom CSS"
271
  msgstr ""
272
 
273
- #: ../includes/class.yith-wcwl-admin-init.php:1129
274
  msgid "Use theme style"
275
  msgstr ""
276
 
277
- #: ../includes/class.yith-wcwl-admin-init.php:1130
278
  msgid "Use the theme style."
279
  msgstr ""
280
 
281
- #: ../includes/class.yith-wcwl-admin-init.php:1137
282
  msgid "Rounded buttons"
283
  msgstr ""
284
 
285
- #: ../includes/class.yith-wcwl-admin-init.php:1138
286
  msgid "Make button corners rounded"
287
  msgstr ""
288
 
289
- #: ../includes/class.yith-wcwl-admin-init.php:1145
290
  msgid "\"Add to Wishlist\" icon"
291
  msgstr ""
292
 
293
- #: ../includes/class.yith-wcwl-admin-init.php:1146
294
  msgid "Add an icon to the \"Add to Wishlist\" button"
295
  msgstr ""
296
 
297
- #: ../includes/class.yith-wcwl-admin-init.php:1157
298
  msgid "\"Add to Cart\" icon"
299
  msgstr ""
300
 
301
- #: ../includes/class.yith-wcwl-admin-init.php:1158
302
  msgid "Add an icon to the \"Add to Cart\" button"
303
  msgstr ""
304
 
305
- #: ../includes/class.yith-wcwl-admin-init.php:1177
306
  msgid "Social Networks & Share"
307
  msgstr ""
308
 
309
- #: ../includes/class.yith-wcwl-admin-init.php:1184
310
  msgid "Share on Facebook"
311
  msgstr ""
312
 
313
- #: ../includes/class.yith-wcwl-admin-init.php:1185
314
  msgid "Show \"Share on Facebook\" button"
315
  msgstr ""
316
 
317
- #: ../includes/class.yith-wcwl-admin-init.php:1192
318
  msgid "Tweet on Twitter"
319
  msgstr ""
320
 
321
- #: ../includes/class.yith-wcwl-admin-init.php:1193
322
  msgid "Show \"Tweet on Twitter\" button"
323
  msgstr ""
324
 
325
- #: ../includes/class.yith-wcwl-admin-init.php:1200
326
  msgid "Pin on Pinterest"
327
  msgstr ""
328
 
329
- #: ../includes/class.yith-wcwl-admin-init.php:1201
330
  msgid "Show \"Pin on Pinterest\" button"
331
  msgstr ""
332
 
333
- #: ../includes/class.yith-wcwl-admin-init.php:1208
334
  msgid "Share on Google+"
335
  msgstr ""
336
 
337
- #: ../includes/class.yith-wcwl-admin-init.php:1209
338
  msgid "Show \"Share on Google+\" button"
339
  msgstr ""
340
 
341
- #: ../includes/class.yith-wcwl-admin-init.php:1216
342
  msgid "Share by Email"
343
  msgstr ""
344
 
345
- #: ../includes/class.yith-wcwl-admin-init.php:1217
346
  msgid "Show \"Share by Email\" button"
347
  msgstr ""
348
 
349
- #: ../includes/class.yith-wcwl-admin-init.php:1224
350
  msgid "Social title"
351
  msgstr ""
352
 
353
- #: ../includes/class.yith-wcwl-admin-init.php:1232
354
  msgid "Social text"
355
  msgstr ""
356
 
357
- #: ../includes/class.yith-wcwl-admin-init.php:1233
358
  msgid ""
359
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
360
  "%</strong> where you want to show the URL of your wishlist."
361
  msgstr ""
362
 
363
- #: ../includes/class.yith-wcwl-admin-init.php:1241
364
  msgid "Social image URL"
365
  msgstr ""
366
 
367
- #: ../includes/class.yith-wcwl-admin-init.php:1256
368
  #, php-format
369
  msgid ""
370
  "If you want to take advantage of this feature, you could consider to "
371
  "purchase the %s."
372
  msgstr ""
373
 
374
- #: ../includes/class.yith-wcwl-admin-init.php:1261
375
  msgid "YITH WooCommerce Frequently Bought Together Integration"
376
  msgstr ""
377
 
378
- #: ../includes/class.yith-wcwl-admin-init.php:1268
379
  msgid "Enable slider in wishlist"
380
  msgstr ""
381
 
382
- #: ../includes/class.yith-wcwl-admin-init.php:1269
383
  #, php-format
384
  msgid ""
385
  "Choose to enable product slider in wishlist page with linked products (<a "
386
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
387
  msgstr ""
388
 
389
- #: ../includes/class.yith-wcwl-admin-init.php:1306
390
  msgid "\"Add to wishlist\" button"
391
  msgstr ""
392
 
393
- #: ../includes/class.yith-wcwl-admin-init.php:1309
394
- #: ../includes/class.yith-wcwl-admin-init.php:1327
395
- #: ../includes/class.yith-wcwl-admin-init.php:1345
396
- #: ../includes/class.yith-wcwl-admin-init.php:1363
397
- #: ../includes/class.yith-wcwl-admin-init.php:1381
398
- msgid "Background"
399
- msgstr ""
400
-
401
  #: ../includes/class.yith-wcwl-admin-init.php:1310
402
  #: ../includes/class.yith-wcwl-admin-init.php:1328
403
  #: ../includes/class.yith-wcwl-admin-init.php:1346
404
  #: ../includes/class.yith-wcwl-admin-init.php:1364
405
- #: ../includes/class.yith-wcwl-admin-init.php:1382
406
- msgid "Text"
407
  msgstr ""
408
 
 
409
  #: ../includes/class.yith-wcwl-admin-init.php:1311
410
  #: ../includes/class.yith-wcwl-admin-init.php:1329
411
  #: ../includes/class.yith-wcwl-admin-init.php:1347
412
  #: ../includes/class.yith-wcwl-admin-init.php:1365
413
- #: ../includes/class.yith-wcwl-admin-init.php:1383
414
- msgid "Border"
415
  msgstr ""
416
 
417
- #: ../includes/class.yith-wcwl-admin-init.php:1318
418
- #: ../includes/class.yith-wcwl-admin-init.php:1336
419
- #: ../includes/class.yith-wcwl-admin-init.php:1354
420
- #: ../includes/class.yith-wcwl-admin-init.php:1372
421
- msgid "Background (hover)"
 
422
  msgstr ""
423
 
 
424
  #: ../includes/class.yith-wcwl-admin-init.php:1319
425
  #: ../includes/class.yith-wcwl-admin-init.php:1337
426
  #: ../includes/class.yith-wcwl-admin-init.php:1355
427
- #: ../includes/class.yith-wcwl-admin-init.php:1373
428
- msgid "Text (hover)"
429
  msgstr ""
430
 
 
431
  #: ../includes/class.yith-wcwl-admin-init.php:1320
432
  #: ../includes/class.yith-wcwl-admin-init.php:1338
433
  #: ../includes/class.yith-wcwl-admin-init.php:1356
434
- #: ../includes/class.yith-wcwl-admin-init.php:1374
 
 
 
 
 
 
435
  msgid "Border (hover)"
436
  msgstr ""
437
 
438
- #: ../includes/class.yith-wcwl-admin-init.php:1324
439
  msgid "\"Add to Cart\" button"
440
  msgstr ""
441
 
442
- #: ../includes/class.yith-wcwl-admin-init.php:1342
443
  msgid "\"Style 1\" button"
444
  msgstr ""
445
 
446
- #: ../includes/class.yith-wcwl-admin-init.php:1360
447
  msgid "\"Style 2\" button"
448
  msgstr ""
449
 
450
- #: ../includes/class.yith-wcwl-admin-init.php:1378
451
  msgid "Wishlist table"
452
  msgstr ""
453
 
454
- #: ../includes/class.yith-wcwl-admin-init.php:1387
455
  msgid "Headers"
456
  msgstr ""
457
 
458
- #: ../includes/class.yith-wcwl-admin-init.php:1390
459
  msgid "Background color"
460
  msgstr ""
461
 
462
- #: ../includes/class.yith-wcwl-admin-init.php:1480
463
  msgid "Wishlist Activated"
464
  msgstr ""
465
 
466
- #: ../includes/class.yith-wcwl-admin-init.php:1481
467
  #, php-format
468
  msgid ""
469
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
@@ -472,11 +476,11 @@ msgid ""
472
  "options, <a href=\"%s\">discover it now</a>."
473
  msgstr ""
474
 
475
- #: ../includes/class.yith-wcwl-admin-init.php:1492
476
  msgid "Wishlist Updated"
477
  msgstr ""
478
 
479
- #: ../includes/class.yith-wcwl-admin-init.php:1493
480
  #, php-format
481
  msgid ""
482
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
@@ -486,13 +490,13 @@ msgid ""
486
  "\">discover the PREMIUM version.</a>"
487
  msgstr ""
488
 
489
- #: ../includes/class.yith-wcwl-init.php:361
490
  msgid ""
491
  "We are sorry, but this feature is available only if cookies are enabled on "
492
  "your browser."
493
  msgstr ""
494
 
495
- #: ../includes/class.yith-wcwl-init.php:362
496
  msgid "Product correctly added to cart"
497
  msgstr ""
498
 
@@ -559,13 +563,13 @@ msgstr ""
559
  msgid "An error as occurred."
560
  msgstr ""
561
 
562
- #: ../init.php:133
563
  msgid ""
564
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
565
  "WooCommerce in order to work."
566
  msgstr ""
567
 
568
- #: ../init.php:143
569
  msgid ""
570
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
571
  "are using the premium one."
@@ -821,6 +825,10 @@ msgstr ""
821
  msgid "Google+"
822
  msgstr ""
823
 
 
 
 
 
824
  #: ../templates/share.php:40
825
  msgid "Email"
826
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Wishlist\n"
5
+ "POT-Creation-Date: 2015-12-16 18:28+0100\n"
6
  "PO-Revision-Date: 2015-04-30 17:08+0100\n"
7
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
8
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
+ #: ../includes/class.yith-wcwl-admin-init.php:176
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1397
25
+ #: ../includes/class.yith-wcwl-admin-init.php:1398
26
  #: ../includes/class.yith-wcwl-install.php:240
27
  msgid "Wishlist"
28
  msgstr ""
29
 
30
+ #: ../includes/class.yith-wcwl-admin-init.php:178
31
+ #: ../includes/class.yith-wcwl-admin-init.php:280
32
  msgid "Settings"
33
  msgstr ""
34
 
35
+ #: ../includes/class.yith-wcwl-admin-init.php:179
36
+ #: ../includes/class.yith-wcwl-admin-init.php:247
37
  msgid "Colors"
38
  msgstr ""
39
 
40
+ #: ../includes/class.yith-wcwl-admin-init.php:180
41
+ #: ../includes/class.yith-wcwl-admin-init.php:284
42
  msgid "Premium Version"
43
  msgstr ""
44
 
45
+ #: ../includes/class.yith-wcwl-admin-init.php:285
46
+ msgid "Live Demo"
47
+ msgstr ""
48
+
49
+ #: ../includes/class.yith-wcwl-admin-init.php:309
50
  msgid ""
51
  "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
52
  "link to update it."
53
  msgstr ""
54
 
55
+ #: ../includes/class.yith-wcwl-admin-init.php:312
56
  msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
57
  msgstr ""
58
 
59
+ #: ../includes/class.yith-wcwl-admin-init.php:317
60
  msgid "Plugin Documentation"
61
  msgstr ""
62
 
63
+ #: ../includes/class.yith-wcwl-admin-init.php:333
64
  msgid "Wishlist Page"
65
  msgstr ""
66
 
67
+ #: ../includes/class.yith-wcwl-admin-init.php:334
68
  msgid "Page contents: [yith_wcwl_wishlist]"
69
  msgstr ""
70
 
71
+ #: ../includes/class.yith-wcwl-admin-init.php:909
72
  msgid "Upgrade to the PREMIUM VERSION"
73
  msgstr ""
74
 
75
+ #: ../includes/class.yith-wcwl-admin-init.php:912
76
  msgid "YITH WooCommerce Wishlist"
77
  msgstr ""
78
 
79
+ #: ../includes/class.yith-wcwl-admin-init.php:913
80
  msgid "Discover the Advanced Features"
81
  msgstr ""
82
 
83
+ #: ../includes/class.yith-wcwl-admin-init.php:914
84
  msgid ""
85
  "Upgrade to the PREMIUM VERSION\n"
86
  "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
87
  msgstr ""
88
 
89
+ #: ../includes/class.yith-wcwl-admin-init.php:921
90
  msgid "Get Support and Pro Features"
91
  msgstr ""
92
 
93
+ #: ../includes/class.yith-wcwl-admin-init.php:922
94
  msgid ""
95
  "By purchasing the premium version of the plugin, you will take advantage of "
96
  "the advanced features of the product and you will get one year of free "
97
  "updates and support through our platform available 24h/24."
98
  msgstr ""
99
 
100
+ #: ../includes/class.yith-wcwl-admin-init.php:932
101
  msgid "General Settings"
102
  msgstr ""
103
 
104
+ #: ../includes/class.yith-wcwl-admin-init.php:939
105
  msgid "Enable YITH Wishlist"
106
  msgstr ""
107
 
108
+ #: ../includes/class.yith-wcwl-admin-init.php:940
109
  #, php-format
110
  msgid ""
111
  "Enable all plugin features. <strong>Be sure to select at least one option in "
113
  "\"%s\" target=\"_blank\">documentation</a>."
114
  msgstr ""
115
 
116
+ #: ../includes/class.yith-wcwl-admin-init.php:947
117
  msgid "Default wishlist title"
118
  msgstr ""
119
 
120
+ #: ../includes/class.yith-wcwl-admin-init.php:949
121
+ #: ../includes/class.yith-wcwl-admin-init.php:950
122
+ #: ../includes/class.yith-wcwl-admin-init.php:1209
123
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
124
  #, php-format
125
  msgid "My wishlist on %s"
126
  msgstr ""
127
 
128
+ #: ../includes/class.yith-wcwl-admin-init.php:958
129
  msgid "Position"
130
  msgstr ""
131
 
132
+ #: ../includes/class.yith-wcwl-admin-init.php:959
133
  msgid ""
134
  "You can add the button in variable products only after the \"Add to Cart\" "
135
  "button or using the shortcode [yith_wcwl_add_to_wishlist]."
136
  msgstr ""
137
 
138
+ #: ../includes/class.yith-wcwl-admin-init.php:965
139
  msgid "After \"Add to cart\""
140
  msgstr ""
141
 
142
+ #: ../includes/class.yith-wcwl-admin-init.php:966
143
  msgid "After thumbnails"
144
  msgstr ""
145
 
146
+ #: ../includes/class.yith-wcwl-admin-init.php:967
147
  msgid "After summary"
148
  msgstr ""
149
 
150
+ #: ../includes/class.yith-wcwl-admin-init.php:968
151
  msgid "Use shortcode"
152
  msgstr ""
153
 
154
+ #: ../includes/class.yith-wcwl-admin-init.php:973
155
  msgid "Redirect to cart"
156
  msgstr ""
157
 
158
+ #: ../includes/class.yith-wcwl-admin-init.php:974
159
  msgid ""
160
  "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
161
  "page."
162
  msgstr ""
163
 
164
+ #: ../includes/class.yith-wcwl-admin-init.php:981
165
  msgid "Remove if added to the cart"
166
  msgstr ""
167
 
168
+ #: ../includes/class.yith-wcwl-admin-init.php:982
169
  msgid "Remove the product from the wishlist if it has been added to the cart."
170
  msgstr ""
171
 
172
+ #: ../includes/class.yith-wcwl-admin-init.php:989
173
  msgid "\"Add to Wishlist\" text"
174
  msgstr ""
175
 
176
+ #: ../includes/class.yith-wcwl-admin-init.php:991
177
+ #: ../includes/class.yith-wcwl-admin-init.php:992
178
  msgid "Add to Wishlist"
179
  msgstr ""
180
 
181
+ #: ../includes/class.yith-wcwl-admin-init.php:997
182
  msgid "\"Browse wishlist\" text"
183
  msgstr ""
184
 
185
+ #: ../includes/class.yith-wcwl-admin-init.php:999
186
+ #: ../includes/class.yith-wcwl-admin-init.php:1000
187
  #: ../includes/class.yith-wcwl-ui.php:81 ../includes/class.yith-wcwl-ui.php:82
188
  msgid "Browse Wishlist"
189
  msgstr ""
190
 
191
+ #: ../includes/class.yith-wcwl-admin-init.php:1005
192
  msgid "\"Product already in wishlist\" text"
193
  msgstr ""
194
 
195
+ #: ../includes/class.yith-wcwl-admin-init.php:1007
196
+ #: ../includes/class.yith-wcwl-admin-init.php:1008
197
  #: ../includes/class.yith-wcwl-ui.php:82
198
  msgid "The product is already in the wishlist!"
199
  msgstr ""
200
 
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1013
202
  msgid "\"Product added\" text"
203
  msgstr ""
204
 
205
+ #: ../includes/class.yith-wcwl-admin-init.php:1015
206
+ #: ../includes/class.yith-wcwl-admin-init.php:1016
207
  #: ../includes/class.yith-wcwl-ui.php:81
208
  msgid "Product added!"
209
  msgstr ""
210
 
211
+ #: ../includes/class.yith-wcwl-admin-init.php:1021
212
  msgid "\"Add to Cart\" text"
213
  msgstr ""
214
 
215
+ #: ../includes/class.yith-wcwl-admin-init.php:1023
216
+ #: ../includes/class.yith-wcwl-admin-init.php:1024
217
  msgid "Add to Cart"
218
  msgstr ""
219
 
220
+ #: ../includes/class.yith-wcwl-admin-init.php:1029
221
  msgid "Show Unit price"
222
  msgstr ""
223
 
224
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
225
  msgid "Show unit price for each product in wishlist"
226
  msgstr ""
227
 
228
+ #: ../includes/class.yith-wcwl-admin-init.php:1038
229
  msgid "Show \"Add to Cart\" button"
230
  msgstr ""
231
 
232
+ #: ../includes/class.yith-wcwl-admin-init.php:1039
233
  msgid "Show \"Add to Cart\" button for each product in wishlist"
234
  msgstr ""
235
 
236
+ #: ../includes/class.yith-wcwl-admin-init.php:1047
237
  msgid "Show Stock status"
238
  msgstr ""
239
 
240
+ #: ../includes/class.yith-wcwl-admin-init.php:1048
241
  msgid ""
242
  "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
243
  msgstr ""
244
 
245
+ #: ../includes/class.yith-wcwl-admin-init.php:1056
246
  msgid "Show Date of addition"
247
  msgstr ""
248
 
249
+ #: ../includes/class.yith-wcwl-admin-init.php:1057
250
  msgid "Show the date when users have added a product to the wishlist"
251
  msgstr ""
252
 
253
+ #: ../includes/class.yith-wcwl-admin-init.php:1065
254
  msgid "Add second remove button"
255
  msgstr ""
256
 
257
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
258
  msgid "Add a second remove button in the last column, with extended label"
259
  msgstr ""
260
 
261
+ #: ../includes/class.yith-wcwl-admin-init.php:1089
262
  msgid "Styles"
263
  msgstr ""
264
 
265
+ #: ../includes/class.yith-wcwl-admin-init.php:1096
266
  msgid "Use buttons"
267
  msgstr ""
268
 
269
+ #: ../includes/class.yith-wcwl-admin-init.php:1097
270
  msgid "Use buttons instead of simple anchors."
271
  msgstr ""
272
 
273
+ #: ../includes/class.yith-wcwl-admin-init.php:1104
274
  msgid "Custom CSS"
275
  msgstr ""
276
 
277
+ #: ../includes/class.yith-wcwl-admin-init.php:1112
278
  msgid "Use theme style"
279
  msgstr ""
280
 
281
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
282
  msgid "Use the theme style."
283
  msgstr ""
284
 
285
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
286
  msgid "Rounded buttons"
287
  msgstr ""
288
 
289
+ #: ../includes/class.yith-wcwl-admin-init.php:1121
290
  msgid "Make button corners rounded"
291
  msgstr ""
292
 
293
+ #: ../includes/class.yith-wcwl-admin-init.php:1128
294
  msgid "\"Add to Wishlist\" icon"
295
  msgstr ""
296
 
297
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
298
  msgid "Add an icon to the \"Add to Wishlist\" button"
299
  msgstr ""
300
 
301
+ #: ../includes/class.yith-wcwl-admin-init.php:1140
302
  msgid "\"Add to Cart\" icon"
303
  msgstr ""
304
 
305
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
306
  msgid "Add an icon to the \"Add to Cart\" button"
307
  msgstr ""
308
 
309
+ #: ../includes/class.yith-wcwl-admin-init.php:1160
310
  msgid "Social Networks & Share"
311
  msgstr ""
312
 
313
+ #: ../includes/class.yith-wcwl-admin-init.php:1167
314
  msgid "Share on Facebook"
315
  msgstr ""
316
 
317
+ #: ../includes/class.yith-wcwl-admin-init.php:1168
318
  msgid "Show \"Share on Facebook\" button"
319
  msgstr ""
320
 
321
+ #: ../includes/class.yith-wcwl-admin-init.php:1175
322
  msgid "Tweet on Twitter"
323
  msgstr ""
324
 
325
+ #: ../includes/class.yith-wcwl-admin-init.php:1176
326
  msgid "Show \"Tweet on Twitter\" button"
327
  msgstr ""
328
 
329
+ #: ../includes/class.yith-wcwl-admin-init.php:1183
330
  msgid "Pin on Pinterest"
331
  msgstr ""
332
 
333
+ #: ../includes/class.yith-wcwl-admin-init.php:1184
334
  msgid "Show \"Pin on Pinterest\" button"
335
  msgstr ""
336
 
337
+ #: ../includes/class.yith-wcwl-admin-init.php:1191
338
  msgid "Share on Google+"
339
  msgstr ""
340
 
341
+ #: ../includes/class.yith-wcwl-admin-init.php:1192
342
  msgid "Show \"Share on Google+\" button"
343
  msgstr ""
344
 
345
+ #: ../includes/class.yith-wcwl-admin-init.php:1199
346
  msgid "Share by Email"
347
  msgstr ""
348
 
349
+ #: ../includes/class.yith-wcwl-admin-init.php:1200
350
  msgid "Show \"Share by Email\" button"
351
  msgstr ""
352
 
353
+ #: ../includes/class.yith-wcwl-admin-init.php:1207
354
  msgid "Social title"
355
  msgstr ""
356
 
357
+ #: ../includes/class.yith-wcwl-admin-init.php:1215
358
  msgid "Social text"
359
  msgstr ""
360
 
361
+ #: ../includes/class.yith-wcwl-admin-init.php:1216
362
  msgid ""
363
  "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
364
  "%</strong> where you want to show the URL of your wishlist."
365
  msgstr ""
366
 
367
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
368
  msgid "Social image URL"
369
  msgstr ""
370
 
371
+ #: ../includes/class.yith-wcwl-admin-init.php:1239
372
  #, php-format
373
  msgid ""
374
  "If you want to take advantage of this feature, you could consider to "
375
  "purchase the %s."
376
  msgstr ""
377
 
378
+ #: ../includes/class.yith-wcwl-admin-init.php:1244
379
  msgid "YITH WooCommerce Frequently Bought Together Integration"
380
  msgstr ""
381
 
382
+ #: ../includes/class.yith-wcwl-admin-init.php:1251
383
  msgid "Enable slider in wishlist"
384
  msgstr ""
385
 
386
+ #: ../includes/class.yith-wcwl-admin-init.php:1252
387
  #, php-format
388
  msgid ""
389
  "Choose to enable product slider in wishlist page with linked products (<a "
390
  "href=\"%s\" class=\"thickbox\">Example</a>). %s"
391
  msgstr ""
392
 
393
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
394
  msgid "\"Add to wishlist\" button"
395
  msgstr ""
396
 
397
+ #: ../includes/class.yith-wcwl-admin-init.php:1292
 
 
 
 
 
 
 
398
  #: ../includes/class.yith-wcwl-admin-init.php:1310
399
  #: ../includes/class.yith-wcwl-admin-init.php:1328
400
  #: ../includes/class.yith-wcwl-admin-init.php:1346
401
  #: ../includes/class.yith-wcwl-admin-init.php:1364
402
+ msgid "Background"
 
403
  msgstr ""
404
 
405
+ #: ../includes/class.yith-wcwl-admin-init.php:1293
406
  #: ../includes/class.yith-wcwl-admin-init.php:1311
407
  #: ../includes/class.yith-wcwl-admin-init.php:1329
408
  #: ../includes/class.yith-wcwl-admin-init.php:1347
409
  #: ../includes/class.yith-wcwl-admin-init.php:1365
410
+ msgid "Text"
 
411
  msgstr ""
412
 
413
+ #: ../includes/class.yith-wcwl-admin-init.php:1294
414
+ #: ../includes/class.yith-wcwl-admin-init.php:1312
415
+ #: ../includes/class.yith-wcwl-admin-init.php:1330
416
+ #: ../includes/class.yith-wcwl-admin-init.php:1348
417
+ #: ../includes/class.yith-wcwl-admin-init.php:1366
418
+ msgid "Border"
419
  msgstr ""
420
 
421
+ #: ../includes/class.yith-wcwl-admin-init.php:1301
422
  #: ../includes/class.yith-wcwl-admin-init.php:1319
423
  #: ../includes/class.yith-wcwl-admin-init.php:1337
424
  #: ../includes/class.yith-wcwl-admin-init.php:1355
425
+ msgid "Background (hover)"
 
426
  msgstr ""
427
 
428
+ #: ../includes/class.yith-wcwl-admin-init.php:1302
429
  #: ../includes/class.yith-wcwl-admin-init.php:1320
430
  #: ../includes/class.yith-wcwl-admin-init.php:1338
431
  #: ../includes/class.yith-wcwl-admin-init.php:1356
432
+ msgid "Text (hover)"
433
+ msgstr ""
434
+
435
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
436
+ #: ../includes/class.yith-wcwl-admin-init.php:1321
437
+ #: ../includes/class.yith-wcwl-admin-init.php:1339
438
+ #: ../includes/class.yith-wcwl-admin-init.php:1357
439
  msgid "Border (hover)"
440
  msgstr ""
441
 
442
+ #: ../includes/class.yith-wcwl-admin-init.php:1307
443
  msgid "\"Add to Cart\" button"
444
  msgstr ""
445
 
446
+ #: ../includes/class.yith-wcwl-admin-init.php:1325
447
  msgid "\"Style 1\" button"
448
  msgstr ""
449
 
450
+ #: ../includes/class.yith-wcwl-admin-init.php:1343
451
  msgid "\"Style 2\" button"
452
  msgstr ""
453
 
454
+ #: ../includes/class.yith-wcwl-admin-init.php:1361
455
  msgid "Wishlist table"
456
  msgstr ""
457
 
458
+ #: ../includes/class.yith-wcwl-admin-init.php:1370
459
  msgid "Headers"
460
  msgstr ""
461
 
462
+ #: ../includes/class.yith-wcwl-admin-init.php:1373
463
  msgid "Background color"
464
  msgstr ""
465
 
466
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
467
  msgid "Wishlist Activated"
468
  msgstr ""
469
 
470
+ #: ../includes/class.yith-wcwl-admin-init.php:1464
471
  #, php-format
472
  msgid ""
473
  "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
476
  "options, <a href=\"%s\">discover it now</a>."
477
  msgstr ""
478
 
479
+ #: ../includes/class.yith-wcwl-admin-init.php:1475
480
  msgid "Wishlist Updated"
481
  msgstr ""
482
 
483
+ #: ../includes/class.yith-wcwl-admin-init.php:1476
484
  #, php-format
485
  msgid ""
486
  "From now on, you can find all the options of Wishlist under YIT Plugin -> "
490
  "\">discover the PREMIUM version.</a>"
491
  msgstr ""
492
 
493
+ #: ../includes/class.yith-wcwl-init.php:380
494
  msgid ""
495
  "We are sorry, but this feature is available only if cookies are enabled on "
496
  "your browser."
497
  msgstr ""
498
 
499
+ #: ../includes/class.yith-wcwl-init.php:381
500
  msgid "Product correctly added to cart"
501
  msgstr ""
502
 
563
  msgid "An error as occurred."
564
  msgstr ""
565
 
566
+ #: ../init.php:135
567
  msgid ""
568
  "YITH WooCommerce Wishlist is enabled but not effective. It requires "
569
  "WooCommerce in order to work."
570
  msgstr ""
571
 
572
+ #: ../init.php:145
573
  msgid ""
574
  "You can't activate the free version of YITH WooCommerce Wishlist while you "
575
  "are using the premium one."
825
  msgid "Google+"
826
  msgstr ""
827
 
828
+ #: ../templates/share.php:40
829
+ msgid "I wanted you to see this site"
830
+ msgstr ""
831
+
832
  #: ../templates/share.php:40
833
  msgid "Email"
834
  msgstr ""
plugin-fw/assets/css/metaboxes.css CHANGED
@@ -237,6 +237,27 @@
237
  .chosen .select_wrapper .chosen-container .chosen-drop .chosen-search input{
238
  width: 100%!important;
239
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
 
241
  /* typography */
242
  .the-metabox.typography .select_wrapper.font-family { width:200px; }
237
  .chosen .select_wrapper .chosen-container .chosen-drop .chosen-search input{
238
  width: 100%!important;
239
  }
240
+ .select_wrapper span {
241
+ height: 26px;
242
+ line-height: 26px;
243
+ padding-left: 6px;
244
+ position: absolute;
245
+ z-index: 2;
246
+ overflow: hidden;
247
+ }
248
+
249
+ .the-metabox .select_wrapper select {
250
+ cursor: pointer;
251
+ height: 28px;
252
+ margin: 0;
253
+ opacity: 0;
254
+ padding: 0;
255
+ position: relative;
256
+ width: inherit;
257
+ z-index: 4;
258
+ background-color: #FAFAFA;
259
+ }
260
+
261
 
262
  /* typography */
263
  .the-metabox.typography .select_wrapper.font-family { width:200px; }
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -631,6 +631,17 @@
631
  width: 6em;
632
  }
633
 
 
 
 
 
 
 
 
 
 
 
 
634
  /* === Responsive === */
635
 
636
  @media (max-width: 767px) {}
631
  width: 6em;
632
  }
633
 
634
+ #wpwrap h2.nav-tab-wrapper {
635
+ border-bottom: 1px solid #ccc;
636
+ }
637
+
638
+ /* === YIT FRAMEWORK === */
639
+ .plugin-card .plugin-icon img {
640
+ max-width: 100%;
641
+ width: auto;
642
+ height: auto;
643
+ }
644
+
645
  /* === Responsive === */
646
 
647
  @media (max-width: 767px) {}
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -177,6 +177,16 @@
177
  //Open the uploader dialog
178
  custom_uploader.open();
179
  });
 
 
 
 
 
 
 
 
 
 
180
  }
181
 
182
  $('.plugin-option .add_media').on('click', function () {
177
  //Open the uploader dialog
178
  custom_uploader.open();
179
  });
180
+
181
+ $( document).on( 'click', '.plugin-option .upload_button_reset', function(e){
182
+ var t = $(this),
183
+ id = t.attr('id'),
184
+ input_id = t.attr('id').replace(/-button_reset$/, ''),
185
+ default_value = $('#' + id).data('default');
186
+
187
+ $("#" + input_id).val( default_value );
188
+ $('.plugin-option .upload_img_url').trigger('change');
189
+ } );
190
  }
191
 
192
  $('.plugin-option .add_media').on('click', function () {
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1,10 @@
1
- !function(e){function t(t,i,n){var a=!0;if("string"==typeof i){":radio"==i.substr(0,6)&&(i+=":checked");for(var n=n.split(","),o=0;o<n.length;o++){if(e(i).val()==n[o]){a=!0;break}a=!1}}a?e(t+"-container").closest("tr").show():e(t+"-container").closest("tr").hide()}var i=function(){var t="";e(this).attr("multiple")?(e(this).children("option:selected").each(function(i,n){0!=i&&(t+=", "),t+=e(n).text()}),""==t&&e(this).children().children("option:selected").each(function(i,n){0!=i&&(t+=", "),t+=e(n).text()})):(t=e(this).children("option:selected").text(),""==t&&(t=e(this).children().children("option:selected").text())),e(this).parent().find("span").length<=0&&e(this).before("<span></span>"),e(this).parent().children("span").replaceWith("<span>"+t+"</span>")};if(e(".plugin-option .select_wrapper select").not(".chosen").each(i).change(i),e(".plugin-option .select_wrapper").click(function(t){t.stopPropagation(),e(this).find("select[multiple]").not(".chosen").toggle()}),e(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(e){e.stopPropagation()}),e(window).click(function(){e(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()}),e(".plugin-option .chosen .select_wrapper select").chosen(),e(".plugin-option .on_off_container span").on("click",function(){var t=e(this).prev("input"),i=t.prop("checked");i?t.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):t.prop("checked",!0).attr("value","yes").addClass("onoffchecked"),t.change()}),e(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),o=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,slide:function(t,i){e(this).find("input").val(i.value),e(this).siblings(".feedback").find("strong").text(i.value+o)}})}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media){{var n=!0;wp.media.editor.send.attachment}e(".plugin-option .upload_img_url").change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico)"),n=e(this).parents().siblings(".upload_img_preview");n.html(i.test(t)?'<img src="'+t+'" style="max-width:600px; max-height:300px;" />':"")}).trigger("change"),e(document).on("click",".plugin-option .upload_button",function(t){t.preventDefault();var i,n=e(this),a=n.attr("id").replace(/-button$/,"");if(i)return void i.open();var o=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:o}),i.on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),e(".plugin-option .upload_img_url").trigger("change")}),i.open()})}e(".plugin-option .add_media").on("click",function(){n=!1}),e("[data-field]").each(function(){var i=e(this),n="#"+i.data("field"),a="#"+i.data("dep"),o=i.data("value");e(a).on("change",function(){t(n,a,o.toString())}).change()}),e(".rm_connectedlist").each(function(){{var t=e(this).find("ul"),i=e(this).find(":hidden");t.sortable({connectWith:t,update:function(){var n={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),n[e(this).data("list")]=t}),i.val(JSON.stringify(n).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}}),e(document).ready(function(){e(".yith-video-link").click(function(t){t.preventDefault();var i=e(this).data("video-id");e("."+i).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(){e(this).css("maxWidth","853px")},open:function(){e(".ui-widget-overlay").bind("click",function(){e(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}}),e(".ui-dialog :button").blur()})}),e(document).ready(function(){e(".codemirror").each(function(t,i){var n=CodeMirror.fromTextArea(i,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});e(i).data("codemirrorInstance",n)})}),e(document).ready(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),i=e("#"+e(this).data("input")).val(),n=e(this).data("basename"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+i+"', '"+n+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})})}(jQuery);
 
 
 
 
 
 
 
 
 
1
+ (function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
+ "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .on_off_container span").on("click",
3
+ function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
+ a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parents().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).trigger("change"),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
+ var c,d=a(this).attr("id").replace(/-button$/,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url);a("#"+d+"-yith-attachment-id")&&a("#"+d+"-yith-attachment-id").val(b.id);a(".plugin-option .upload_img_url").trigger("change")}));
6
+ c.open()}),a(document).on("click",".plugin-option .upload_button_reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button_reset$/,"");b=a("#"+b).data("default");a("#"+c).val(b);a(".plugin-option .upload_img_url").trigger("change")}));a(".plugin-option .add_media").on("click",function(){});a("[data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");a(d).on("change",function(){var b=d,g=e.toString(),h=!0;if("string"==typeof b){":radio"==
7
+ b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,
8
+ "\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});
9
+ a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";
10
+ e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.1
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
@@ -20,20 +20,20 @@
20
  */
21
 
22
 
23
- if ( ! defined( 'ABSPATH' ) ) {
24
  exit;
25
  } // Exit if accessed directly
26
 
27
- if ( ! function_exists( 'yit_maybe_plugin_fw_loader' ) ) {
28
  /**
29
  * YITH WooCommerce Ajax Navigation
30
  *
31
  * @since 1.0.0
32
  */
33
- function yit_maybe_plugin_fw_loader( $plugin_path ) {
34
  global $plugin_fw_data;
35
 
36
- $default_headers = array(
37
  'Name' => 'Framework Name',
38
  'Version' => 'Version',
39
  'Author' => 'Author',
@@ -41,19 +41,17 @@ if ( ! function_exists( 'yit_maybe_plugin_fw_loader' ) ) {
41
  'DomainPath' => 'Domain Path',
42
  );
43
 
44
- $framework_data = get_file_data( trailingslashit( $plugin_path ) .'plugin-fw/init.php', $default_headers );
45
- $plugin_fw_main_file = trailingslashit( $plugin_path ) . 'plugin-fw/yit-plugin.php';
46
 
47
- if( ! empty( $plugin_fw_data ) ){
48
- foreach( $plugin_fw_data as $version => $path ){
49
- if( version_compare( $version, $framework_data['Version'], '<' ) ){
50
- $plugin_fw_data = array( $framework_data['Version'] => $plugin_fw_main_file );
51
  }
52
  }
53
- }
54
-
55
- else {
56
- $plugin_fw_data = array( $framework_data['Version'] => $plugin_fw_main_file );
57
  }
58
  }
59
  }
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.5
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
20
  */
21
 
22
 
23
+ if ( ! defined ( 'ABSPATH' ) ) {
24
  exit;
25
  } // Exit if accessed directly
26
 
27
+ if ( ! function_exists ( 'yit_maybe_plugin_fw_loader' ) ) {
28
  /**
29
  * YITH WooCommerce Ajax Navigation
30
  *
31
  * @since 1.0.0
32
  */
33
+ function yit_maybe_plugin_fw_loader ( $plugin_path ) {
34
  global $plugin_fw_data;
35
 
36
+ $default_headers = array (
37
  'Name' => 'Framework Name',
38
  'Version' => 'Version',
39
  'Author' => 'Author',
41
  'DomainPath' => 'Domain Path',
42
  );
43
 
44
+ $framework_data = get_file_data ( trailingslashit ( $plugin_path ) . 'plugin-fw/init.php', $default_headers );
45
+ $plugin_fw_main_file = trailingslashit ( $plugin_path ) . 'plugin-fw/yit-plugin.php';
46
 
47
+ if ( ! empty( $plugin_fw_data ) ) {
48
+ foreach ( $plugin_fw_data as $version => $path ) {
49
+ if ( version_compare ( $version, $framework_data[ 'Version' ], '<' ) ) {
50
+ $plugin_fw_data = array ( $framework_data[ 'Version' ] => $plugin_fw_main_file );
51
  }
52
  }
53
+ } else {
54
+ $plugin_fw_data = array ( $framework_data[ 'Version' ] => $plugin_fw_main_file );
 
 
55
  }
56
  }
57
  }
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: 2015-05-11 17:13+0100\n"
8
- "PO-Revision-Date: 2015-07-24 16:13+0100\n"
9
  "Last-Translator: \n"
10
- "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
- "Language: en\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 1.8\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"
@@ -136,8 +136,9 @@ msgid "Type"
136
  msgstr "Tipologia"
137
 
138
  #: lib/yit-cpt-unlimited.php:1052
139
- msgid "Layout for this "
140
- msgstr "Layout per questo"
 
141
 
142
  #: lib/yit-cpt-unlimited.php:1058
143
  msgid "Rewrite"
@@ -220,10 +221,10 @@ msgid "Add %s from images"
220
  msgstr "Aggiungi %s dalla immagini"
221
 
222
  #: lib/yit-cpt-unlimited.php:1633
223
- msgid "Add with multiupload"
224
- msgstr "Aggiungi con caricamento multiplo"
225
 
226
- #: lib/yit-plugin-panel-wc.php:295
227
  msgid "The changes you have made will be lost if you leave this page."
228
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
229
 
@@ -231,71 +232,71 @@ msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
231
  msgid "Plugin Settings"
232
  msgstr "Impostazioni plugin"
233
 
234
- #: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
235
  msgid "YIT Plugins"
236
  msgstr "YIT Plugins"
237
 
238
- #: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
239
  #: templates/panel/woocommerce/woocommerce-form.php:5
240
  msgid "Save Changes"
241
  msgstr "Salva modifiche"
242
 
243
- #: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
244
  msgid "If you continue with this action, you will reset all options in this page."
245
  msgstr ""
246
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
247
  "reimpostate."
248
 
249
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
250
- msgid "Reset to Default"
251
- msgstr "Ripristina impostazioni iniziali"
252
 
253
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
254
- #: templates/panel/woocommerce/woocommerce-form.php:10
255
  msgid "Are you sure?"
256
  msgstr "Sei sicuro?"
257
 
258
- #: lib/yit-plugin-panel.php:431
259
  msgid "The element you have entered already exists. Please, enter another name."
260
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
261
 
262
- #: lib/yit-plugin-panel.php:432
263
  msgid "Settings saved"
264
  msgstr "Impostazioni salvate"
265
 
266
- #: lib/yit-plugin-panel.php:433
267
  msgid "Settings reset"
268
  msgstr "Impostazioni azzerate"
269
 
270
- #: lib/yit-plugin-panel.php:434
271
  msgid "Element deleted correctly."
272
  msgstr "Elemento rimosso correttamente."
273
 
274
- #: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
275
  msgid "Element updated correctly."
276
  msgstr "Elemento aggiornato correttamente."
277
 
278
- #: lib/yit-plugin-panel.php:437
279
  msgid "Database imported correctly."
280
  msgstr "Database importato correttamente."
281
 
282
- #: lib/yit-plugin-panel.php:438
283
  msgid "An error has occurred during import. Please try again."
284
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
285
 
286
- #: lib/yit-plugin-panel.php:439
287
  msgid "The added file is not valid."
288
  msgstr "Il file aggiunto non è valido."
289
 
290
- #: lib/yit-plugin-panel.php:440
291
  msgid "Sorry, import is disabled."
292
  msgstr "Ci dispiace, l'importazione è disabilitata."
293
 
294
- #: lib/yit-plugin-panel.php:441
295
  msgid "Sorting successful."
296
  msgstr "Ordinamento effettuato con successo."
297
 
298
- #: lib/yit-plugin-subpanel.php:145
299
  msgid ""
300
  "If you continue with this action, you will reset all the options in this page."
301
  msgstr ""
@@ -367,19 +368,19 @@ msgstr ""
367
  msgid "Update now."
368
  msgstr "Aggiorna adesso."
369
 
370
- #: lib/yit-upgrade.php:230
371
  msgid "Yithemes Repository"
372
  msgstr "Repository YIThemes"
373
 
374
- #: lib/yit-upgrade.php:264
375
  msgid "Invalid URL Provided."
376
  msgstr "L'URL inserito non è valido."
377
 
378
- #: lib/yit-upgrade.php:277
379
  msgid "Could not create Temporary file."
380
  msgstr "Non è stato possibile creare il file temporaneo."
381
 
382
- #: lib/yit-upgrade.php:419
383
  #, php-format
384
  msgid ""
385
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -388,7 +389,7 @@ msgstr ""
388
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
389
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
390
 
391
- #: lib/yit-upgrade.php:421
392
  #, php-format
393
  msgid ""
394
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -401,21 +402,16 @@ msgstr ""
401
  "<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
402
  "plugin su un solo sito.</em>"
403
 
404
- #: lib/yit-upgrade.php:423
405
  #, php-format
406
  msgid ""
407
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
408
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
409
- "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
410
  "activation\">activate</a> your copy of %6s.</em>"
411
  msgstr ""
412
- "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
413
- "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>. "
414
- "<em>Gli aggiornamenti automatici non sono disponibili per questo plugi, per "
415
- "favore, <a href=\"%5$s\" title=\"Licence activation\">attiva</a> la tua copia di "
416
- "%6s.</em>"
417
 
418
- #: lib/yit-upgrade.php:425
419
  #, php-format
420
  msgid ""
421
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -426,83 +422,111 @@ msgstr ""
426
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
427
  "oppure <a href=\"%5$s\">aggiorna adesso</a>."
428
 
429
- #: lib/yit-upgrade.php:498
430
  msgid "You can't update the plugins for this site."
431
  msgstr "Non è possibile aggiornare i plugin per questo sito."
432
 
433
- #: lib/yit-upgrade.php:502
434
  msgid "You do not have sufficient permissions to update the plugins for this site."
435
  msgstr ""
436
  "Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
437
  "questo sito."
438
 
439
- #: lib/yit-upgrade.php:509
440
  msgid "Update Plugin"
441
  msgstr "Aggiorna plugin"
442
 
443
- #: licence/lib/yit-licence.php:161
444
  #, php-format
445
  msgctxt "%s = field name"
446
  msgid "%s field cannot be empty"
447
  msgstr "Il campo %s non può essere vuoto"
448
 
449
- #: licence/lib/yit-licence.php:162
450
  #, php-format
451
  msgid "%s and %s fields cannot be empty"
452
  msgstr "I campi %s e %s non possono essere vuoti"
453
 
454
- #: licence/lib/yit-licence.php:163
455
  msgid "Unable to contact the remote server, please try again later. Thanks!"
456
  msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
457
 
458
- #: licence/lib/yit-licence.php:548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
  msgid "Invalid Request"
460
  msgstr "Richiesta non valida"
461
 
462
- #: licence/lib/yit-licence.php:549
463
- msgid "Invalid licence key"
464
- msgstr "Chiave di licenza non valida"
465
 
466
- #: licence/lib/yit-licence.php:550
467
  msgid "Software has been deactivated"
468
  msgstr "Il software è stato disattivato"
469
 
470
- #: licence/lib/yit-licence.php:551
471
  msgid "Maximum number of activations exceeded"
472
  msgstr "Hai raggiunto il numero massimo di attivazioni"
473
 
474
- #: licence/lib/yit-licence.php:552
475
  msgid "Invalid instance ID"
476
  msgstr "Istanza ID non valida"
477
 
478
- #: licence/lib/yit-licence.php:553
479
  msgid "Invalid security key"
480
  msgstr "Chiave di sicurezza non valida"
481
 
482
- #: licence/lib/yit-licence.php:554
483
- msgid "Licence key has expired"
484
- msgstr "Questa chiave di licenza è scaduta"
 
 
 
 
 
 
 
 
 
 
 
 
485
 
486
- #: licence/lib/yit-licence.php:555
487
- msgid "Licence key has been banned"
488
- msgstr "Questa chiave di licenza è stata bloccata"
489
 
490
- #: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
491
- #: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
492
- #: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
493
- msgid "Licence Activation"
494
- msgstr "Attivazione licenza"
495
 
496
- #: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
497
  #, php-format
498
  msgid "%s"
499
  msgstr "%s"
500
 
501
- #: licence/templates/panel/activation/activation-panel.php:19
502
- msgid "Yithemes Licence Activation"
503
- msgstr "Attivazione licenza YIThemes"
504
-
505
- #: licence/templates/panel/activation/activation-panel.php:23
506
  msgid ""
507
  "I cannot find the license key for activating the theme I have bought some time "
508
  "ago. Where can I find it?"
@@ -510,30 +534,25 @@ msgstr ""
510
  "Non riesco a trovare la chiave di licenza per l'attivazione del tema che ho "
511
  "acquistato diverso tempo fa. Dove posso trovarla?"
512
 
513
- #: licence/templates/panel/activation/activation-panel.php:26
514
  msgid ""
515
  "If you have purchased one of our products before 27 January 2015, you can benefit "
516
  "from support and updates (the services offered with the license)\n"
517
- " until 27 January 2016 and you do not have to purchase it again to get "
518
- "a new license key, because, before this date, your license used to be activated "
519
- "automatically by our system.\n"
520
- " After 27 January 2016, instead, if you want to benefit from support "
521
- "and updates you have to buy a new license and activate it through the license key "
522
- "you will be\n"
523
- " provided with and that you can find in your YIThemes account, in "
524
- "section \"My licenses\"."
525
- msgstr ""
526
- "Se hai acquistato un nostro prodotto prima del 27 gennaio 2015 potrai accedere al "
527
- "supporto e scaricare gli aggiornamenti fino al 27 gennaio 2016 e non avrai bisogno "
528
- "di una chiave di licenza,\n"
529
- "in quanto la tua licenza prima di questa data veniva attivata in modo automatico "
530
- "dal nostro sistema.\n"
531
- "Dopo il 27 gennaio 2016, invece, per poter usufruire del servizio di supporto e "
532
- "degli aggiornamenti dovrai riacquistare il prodotto e\n"
533
- "attivarlo con la chiave di licenza che ti sarà fornita e che puoi trovare sul tuo "
534
- "account YIThemes, alla voce \"Le mie licenze\"."
535
-
536
- #: licence/templates/panel/activation/activation-panel.php:37
537
  msgid ""
538
  "Have you updated your licenses? Have you asked for an extension? Update "
539
  "information concerning your products."
@@ -541,71 +560,75 @@ msgstr ""
541
  "Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
542
  "informazioni dei tuoi prodotti."
543
 
544
- #: licence/templates/panel/activation/activation-panel.php:39
545
- msgid "Update licence information"
546
- msgstr "Aggiorna le informazioni di licenza"
547
 
548
- #: licence/templates/panel/activation/activation-panel.php:49
549
- msgid "Products to be activated"
550
- msgstr "Prodotti da attivare"
 
 
551
 
552
- #: licence/templates/panel/activation/activation-panel.php:68
553
  msgid "Activate"
554
  msgstr "Attiva"
555
 
556
- #: licence/templates/panel/activation/activation-panel.php:87
557
  msgid "Activated"
558
  msgstr "Attivato"
559
 
560
- #: licence/templates/panel/activation/activation-panel.php:91
561
- #: licence/templates/panel/activation/activation-panel.php:123
562
- #: licence/templates/panel/activation/activation-panel.php:147
563
  msgid "Product Name"
564
  msgstr "Nome prodotto"
565
 
566
- #: licence/templates/panel/activation/activation-panel.php:92
567
- #: licence/templates/panel/activation/activation-panel.php:124
568
- #: licence/templates/panel/activation/activation-panel.php:148
569
- #: templates/metaboxes/types/contactform.php:148
570
- #: templates/metaboxes/types/contactform.php:340
571
- msgid "Email"
572
- msgstr "Email"
573
-
574
  #: licence/templates/panel/activation/activation-panel.php:93
575
- #: licence/templates/panel/activation/activation-panel.php:125
576
- #: licence/templates/panel/activation/activation-panel.php:149
577
- msgid "Licence Key"
578
- msgstr "Chiave di licenza"
579
-
580
- #: licence/templates/panel/activation/activation-panel.php:94
581
- #: licence/templates/panel/activation/activation-panel.php:150
582
  msgid "Expires"
583
  msgstr "Scadenza"
584
 
585
- #: licence/templates/panel/activation/activation-panel.php:95
586
  msgid "Remaining"
587
  msgstr "Tempo rimanente"
588
 
589
- #: licence/templates/panel/activation/activation-panel.php:96
590
- #: licence/templates/panel/activation/activation-panel.php:109
591
- #: licence/templates/panel/activation/activation-panel.php:151
592
- #: licence/templates/panel/activation/activation-panel.php:161
593
- msgid "Renew"
594
- msgstr "Rinnova"
595
 
596
- #: licence/templates/panel/activation/activation-panel.php:107
 
 
 
 
597
  #, php-format
598
  msgid "%1s out of %2s"
599
  msgstr "%1s di %2s"
600
 
601
- #: licence/templates/panel/activation/activation-panel.php:119
 
 
 
 
 
 
 
 
 
 
602
  msgid "Banned"
603
  msgstr "Bloccato"
604
 
605
- #: licence/templates/panel/activation/activation-panel.php:143
606
  msgid "Expired"
607
  msgstr "Non più valido"
608
 
 
 
 
 
609
  #: templates/metaboxes/types/ajax-products.php:23
610
  msgid "Search for a product"
611
  msgstr "Cerca un prodotto"
@@ -802,7 +825,7 @@ msgstr "Icona"
802
  #: templates/metaboxes/types/icon-list.php:69
803
  #: templates/metaboxes/types/select-icon.php:33
804
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
805
- #: templates/panel/woocommerce/woocommerce-upload.php:35
806
  msgid "Upload"
807
  msgstr "Carica"
808
 
@@ -970,10 +993,77 @@ msgstr "Corsivo"
970
  msgid "Italic bold"
971
  msgstr "Grassetto corsivo"
972
 
973
- #: templates/panel/woocommerce/woocommerce-form.php:10
974
  msgid "Reset Defaults"
975
  msgstr "Ripristina impostazioni iniziali"
976
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
977
  #~ msgid "%field_1% and %field_2% fields cannot be empty"
978
  #~ msgstr "I campi %field_1% e %field_2% non possono essere vuoti"
979
 
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: 2015-11-16 12:23+0100\n"
8
+ "PO-Revision-Date: 2015-11-16 12:24+0100\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 1.8.1\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"
136
  msgstr "Tipologia"
137
 
138
  #: lib/yit-cpt-unlimited.php:1052
139
+ #, php-format
140
+ msgid "Layout for this %s"
141
+ msgstr ""
142
 
143
  #: lib/yit-cpt-unlimited.php:1058
144
  msgid "Rewrite"
221
  msgstr "Aggiungi %s dalla immagini"
222
 
223
  #: lib/yit-cpt-unlimited.php:1633
224
+ msgid "Upload multiple files"
225
+ msgstr ""
226
 
227
+ #: lib/yit-plugin-panel-wc.php:336
228
  msgid "The changes you have made will be lost if you leave this page."
229
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
230
 
232
  msgid "Plugin Settings"
233
  msgstr "Impostazioni plugin"
234
 
235
+ #: lib/yit-plugin-panel.php:96 lib/yit-plugin-subpanel.php:101
236
  msgid "YIT Plugins"
237
  msgstr "YIT Plugins"
238
 
239
+ #: lib/yit-plugin-panel.php:288 lib/yit-plugin-subpanel.php:143
240
  #: templates/panel/woocommerce/woocommerce-form.php:5
241
  msgid "Save Changes"
242
  msgstr "Salva modifiche"
243
 
244
+ #: lib/yit-plugin-panel.php:291 templates/panel/woocommerce/woocommerce-form.php:8
245
  msgid "If you continue with this action, you will reset all options in this page."
246
  msgstr ""
247
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
248
  "reimpostate."
249
 
250
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
251
+ msgid "Reset to default"
252
+ msgstr ""
253
 
254
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
255
+ #: templates/panel/woocommerce/woocommerce-form.php:11
256
  msgid "Are you sure?"
257
  msgstr "Sei sicuro?"
258
 
259
+ #: lib/yit-plugin-panel.php:427
260
  msgid "The element you have entered already exists. Please, enter another name."
261
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
262
 
263
+ #: lib/yit-plugin-panel.php:428
264
  msgid "Settings saved"
265
  msgstr "Impostazioni salvate"
266
 
267
+ #: lib/yit-plugin-panel.php:429
268
  msgid "Settings reset"
269
  msgstr "Impostazioni azzerate"
270
 
271
+ #: lib/yit-plugin-panel.php:430
272
  msgid "Element deleted correctly."
273
  msgstr "Elemento rimosso correttamente."
274
 
275
+ #: lib/yit-plugin-panel.php:431 lib/yit-plugin-panel.php:432
276
  msgid "Element updated correctly."
277
  msgstr "Elemento aggiornato correttamente."
278
 
279
+ #: lib/yit-plugin-panel.php:433
280
  msgid "Database imported correctly."
281
  msgstr "Database importato correttamente."
282
 
283
+ #: lib/yit-plugin-panel.php:434
284
  msgid "An error has occurred during import. Please try again."
285
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
286
 
287
+ #: lib/yit-plugin-panel.php:435
288
  msgid "The added file is not valid."
289
  msgstr "Il file aggiunto non è valido."
290
 
291
+ #: lib/yit-plugin-panel.php:436
292
  msgid "Sorry, import is disabled."
293
  msgstr "Ci dispiace, l'importazione è disabilitata."
294
 
295
+ #: lib/yit-plugin-panel.php:437
296
  msgid "Sorting successful."
297
  msgstr "Ordinamento effettuato con successo."
298
 
299
+ #: lib/yit-plugin-subpanel.php:146
300
  msgid ""
301
  "If you continue with this action, you will reset all the options in this page."
302
  msgstr ""
368
  msgid "Update now."
369
  msgstr "Aggiorna adesso."
370
 
371
+ #: lib/yit-upgrade.php:250
372
  msgid "Yithemes Repository"
373
  msgstr "Repository YIThemes"
374
 
375
+ #: lib/yit-upgrade.php:284
376
  msgid "Invalid URL Provided."
377
  msgstr "L'URL inserito non è valido."
378
 
379
+ #: lib/yit-upgrade.php:297
380
  msgid "Could not create Temporary file."
381
  msgstr "Non è stato possibile creare il file temporaneo."
382
 
383
+ #: lib/yit-upgrade.php:439
384
  #, php-format
385
  msgid ""
386
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
389
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
390
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
391
 
392
+ #: lib/yit-upgrade.php:441
393
  #, php-format
394
  msgid ""
395
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
402
  "<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
403
  "plugin su un solo sito.</em>"
404
 
405
+ #: lib/yit-upgrade.php:443
406
  #, php-format
407
  msgid ""
408
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
409
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
410
+ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"License "
411
  "activation\">activate</a> your copy of %6s.</em>"
412
  msgstr ""
 
 
 
 
 
413
 
414
+ #: lib/yit-upgrade.php:445
415
  #, php-format
416
  msgid ""
417
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
422
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
423
  "oppure <a href=\"%5$s\">aggiorna adesso</a>."
424
 
425
+ #: lib/yit-upgrade.php:518
426
  msgid "You can't update the plugins for this site."
427
  msgstr "Non è possibile aggiornare i plugin per questo sito."
428
 
429
+ #: lib/yit-upgrade.php:522
430
  msgid "You do not have sufficient permissions to update the plugins for this site."
431
  msgstr ""
432
  "Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
433
  "questo sito."
434
 
435
+ #: lib/yit-upgrade.php:529
436
  msgid "Update Plugin"
437
  msgstr "Aggiorna plugin"
438
 
439
+ #: licence/lib/yit-licence.php:170
440
  #, php-format
441
  msgctxt "%s = field name"
442
  msgid "%s field cannot be empty"
443
  msgstr "Il campo %s non può essere vuoto"
444
 
445
+ #: licence/lib/yit-licence.php:171
446
  #, php-format
447
  msgid "%s and %s fields cannot be empty"
448
  msgstr "I campi %s e %s non possono essere vuoti"
449
 
450
+ #: licence/lib/yit-licence.php:172
451
  msgid "Unable to contact the remote server, please try again later. Thanks!"
452
  msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
453
 
454
+ #: licence/lib/yit-licence.php:173
455
+ #: licence/templates/panel/activation/activation-panel.php:89
456
+ #: licence/templates/panel/activation/activation-panel.php:164
457
+ #: licence/templates/panel/activation/activation-panel.php:195
458
+ #: templates/metaboxes/types/contactform.php:148
459
+ #: templates/metaboxes/types/contactform.php:340
460
+ msgid "Email"
461
+ msgstr "Email"
462
+
463
+ #: licence/lib/yit-licence.php:174
464
+ #: licence/templates/panel/activation/activation-panel.php:90
465
+ #: licence/templates/panel/activation/activation-panel.php:165
466
+ #: licence/templates/panel/activation/activation-panel.php:196
467
+ msgid "License Key"
468
+ msgstr ""
469
+
470
+ #: licence/lib/yit-licence.php:175
471
+ msgid "Are you sure you want to deactivate the license for current site?"
472
+ msgstr ""
473
+
474
+ #: licence/lib/yit-licence.php:638
475
  msgid "Invalid Request"
476
  msgstr "Richiesta non valida"
477
 
478
+ #: licence/lib/yit-licence.php:639
479
+ msgid "Invalid license key"
480
+ msgstr ""
481
 
482
+ #: licence/lib/yit-licence.php:640
483
  msgid "Software has been deactivated"
484
  msgstr "Il software è stato disattivato"
485
 
486
+ #: licence/lib/yit-licence.php:641
487
  msgid "Maximum number of activations exceeded"
488
  msgstr "Hai raggiunto il numero massimo di attivazioni"
489
 
490
+ #: licence/lib/yit-licence.php:642
491
  msgid "Invalid instance ID"
492
  msgstr "Istanza ID non valida"
493
 
494
+ #: licence/lib/yit-licence.php:643
495
  msgid "Invalid security key"
496
  msgstr "Chiave di sicurezza non valida"
497
 
498
+ #: licence/lib/yit-licence.php:644
499
+ msgid "License key has expired"
500
+ msgstr ""
501
+
502
+ #: licence/lib/yit-licence.php:645
503
+ msgid "License key has been banned"
504
+ msgstr ""
505
+
506
+ #: licence/lib/yit-licence.php:646
507
+ msgid "Great"
508
+ msgstr ""
509
+
510
+ #: licence/lib/yit-licence.php:646
511
+ msgid "License successfully activated"
512
+ msgstr ""
513
 
514
+ #: licence/lib/yit-licence.php:647
515
+ msgid "License key deactivated for website"
516
+ msgstr ""
517
 
518
+ #: licence/lib/yit-plugin-licence.php:68 licence/lib/yit-plugin-licence.php:69
519
+ #: licence/lib/yit-theme-licence.php:70 licence/lib/yit-theme-licence.php:71
520
+ #: licence/lib/yit-theme-licence.php:110 licence/lib/yit-theme-licence.php:111
521
+ msgid "License Activation"
522
+ msgstr ""
523
 
524
+ #: licence/lib/yit-theme-licence.php:118 licence/lib/yit-theme-licence.php:119
525
  #, php-format
526
  msgid "%s"
527
  msgstr "%s"
528
 
529
+ #: licence/lib/yit-theme-licence.php:160
 
 
 
 
530
  msgid ""
531
  "I cannot find the license key for activating the theme I have bought some time "
532
  "ago. Where can I find it?"
534
  "Non riesco a trovare la chiave di licenza per l'attivazione del tema che ho "
535
  "acquistato diverso tempo fa. Dove posso trovarla?"
536
 
537
+ #: licence/lib/yit-theme-licence.php:163
538
  msgid ""
539
  "If you have purchased one of our products before 27 January 2015, you can benefit "
540
  "from support and updates (the services offered with the license)\n"
541
+ " until 27 January 2016 and you do not have to purchase it again "
542
+ "to get a new license key, because, before this date, your license used to be "
543
+ "activated automatically by our system.\n"
544
+ " After 27 January 2016, instead, if you want to benefit from "
545
+ "support and updates you have to buy a new license and activate it through the "
546
+ "license key you will be\n"
547
+ " provided with and that you can find in your YIThemes account, "
548
+ "in section \"My licenses\"."
549
+ msgstr ""
550
+
551
+ #: licence/templates/panel/activation/activation-panel.php:22
552
+ msgid "Yithemes License Activation"
553
+ msgstr ""
554
+
555
+ #: licence/templates/panel/activation/activation-panel.php:28
 
 
 
 
 
556
  msgid ""
557
  "Have you updated your licenses? Have you asked for an extension? Update "
558
  "information concerning your products."
560
  "Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
561
  "informazioni dei tuoi prodotti."
562
 
563
+ #: licence/templates/panel/activation/activation-panel.php:30
564
+ msgid "Update license information"
565
+ msgstr ""
566
 
567
+ #: licence/templates/panel/activation/activation-panel.php:43
568
+ msgid "Product to activate"
569
+ msgid_plural "Products to activate"
570
+ msgstr[0] ""
571
+ msgstr[1] ""
572
 
573
+ #: licence/templates/panel/activation/activation-panel.php:62
574
  msgid "Activate"
575
  msgstr "Attiva"
576
 
577
+ #: licence/templates/panel/activation/activation-panel.php:81
578
  msgid "Activated"
579
  msgstr "Attivato"
580
 
581
+ #: licence/templates/panel/activation/activation-panel.php:87
582
+ #: licence/templates/panel/activation/activation-panel.php:162
583
+ #: licence/templates/panel/activation/activation-panel.php:192
584
  msgid "Product Name"
585
  msgstr "Nome prodotto"
586
 
 
 
 
 
 
 
 
 
587
  #: licence/templates/panel/activation/activation-panel.php:93
588
+ #: licence/templates/panel/activation/activation-panel.php:199
 
 
 
 
 
 
589
  msgid "Expires"
590
  msgstr "Scadenza"
591
 
592
+ #: licence/templates/panel/activation/activation-panel.php:96
593
  msgid "Remaining"
594
  msgstr "Tempo rimanente"
595
 
596
+ #: licence/templates/panel/activation/activation-panel.php:97
597
+ #: licence/templates/panel/activation/activation-panel.php:223
598
+ msgid "Membership"
599
+ msgstr ""
 
 
600
 
601
+ #: licence/templates/panel/activation/activation-panel.php:100
602
+ msgid "License Actions"
603
+ msgstr ""
604
+
605
+ #: licence/templates/panel/activation/activation-panel.php:125
606
  #, php-format
607
  msgid "%1s out of %2s"
608
  msgstr "%1s di %2s"
609
 
610
+ #: licence/templates/panel/activation/activation-panel.php:140
611
+ msgid "Deactivate"
612
+ msgstr ""
613
+
614
+ #: licence/templates/panel/activation/activation-panel.php:145
615
+ #: licence/templates/panel/activation/activation-panel.php:202
616
+ #: licence/templates/panel/activation/activation-panel.php:223
617
+ msgid "Renew"
618
+ msgstr "Rinnova"
619
+
620
+ #: licence/templates/panel/activation/activation-panel.php:158
621
  msgid "Banned"
622
  msgstr "Bloccato"
623
 
624
+ #: licence/templates/panel/activation/activation-panel.php:188
625
  msgid "Expired"
626
  msgstr "Non più valido"
627
 
628
+ #: licence/templates/panel/activation/activation-panel.php:223
629
+ msgid "License"
630
+ msgstr ""
631
+
632
  #: templates/metaboxes/types/ajax-products.php:23
633
  msgid "Search for a product"
634
  msgstr "Cerca un prodotto"
825
  #: templates/metaboxes/types/icon-list.php:69
826
  #: templates/metaboxes/types/select-icon.php:33
827
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
828
+ #: templates/panel/woocommerce/woocommerce-upload.php:40
829
  msgid "Upload"
830
  msgstr "Carica"
831
 
993
  msgid "Italic bold"
994
  msgstr "Grassetto corsivo"
995
 
996
+ #: templates/panel/woocommerce/woocommerce-form.php:11
997
  msgid "Reset Defaults"
998
  msgstr "Ripristina impostazioni iniziali"
999
 
1000
+ #~ msgid "Layout for this "
1001
+ #~ msgstr "Layout per questo"
1002
+
1003
+ #~ msgid "Add with multiupload"
1004
+ #~ msgstr "Aggiungi con caricamento multiplo"
1005
+
1006
+ #~ msgid "Reset to Default"
1007
+ #~ msgstr "Ripristina impostazioni iniziali"
1008
+
1009
+ #~ msgid ""
1010
+ #~ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
1011
+ #~ "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
1012
+ #~ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
1013
+ #~ "activation\">activate</a> your copy of %6s.</em>"
1014
+ #~ msgstr ""
1015
+ #~ "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
1016
+ #~ "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</"
1017
+ #~ "a>. <em>Gli aggiornamenti automatici non sono disponibili per questo plugi, per "
1018
+ #~ "favore, <a href=\"%5$s\" title=\"Licence activation\">attiva</a> la tua copia "
1019
+ #~ "di %6s.</em>"
1020
+
1021
+ #~ msgid "Invalid licence key"
1022
+ #~ msgstr "Chiave di licenza non valida"
1023
+
1024
+ #~ msgid "Licence key has expired"
1025
+ #~ msgstr "Questa chiave di licenza è scaduta"
1026
+
1027
+ #~ msgid "Licence key has been banned"
1028
+ #~ msgstr "Questa chiave di licenza è stata bloccata"
1029
+
1030
+ #~ msgid "Licence Activation"
1031
+ #~ msgstr "Attivazione licenza"
1032
+
1033
+ #~ msgid "Yithemes Licence Activation"
1034
+ #~ msgstr "Attivazione licenza YIThemes"
1035
+
1036
+ #~ msgid ""
1037
+ #~ "If you have purchased one of our products before 27 January 2015, you can "
1038
+ #~ "benefit from support and updates (the services offered with the license)\n"
1039
+ #~ " until 27 January 2016 and you do not have to purchase it again to "
1040
+ #~ "get a new license key, because, before this date, your license used to be "
1041
+ #~ "activated automatically by our system.\n"
1042
+ #~ " After 27 January 2016, instead, if you want to benefit from support "
1043
+ #~ "and updates you have to buy a new license and activate it through the license "
1044
+ #~ "key you will be\n"
1045
+ #~ " provided with and that you can find in your YIThemes account, in "
1046
+ #~ "section \"My licenses\"."
1047
+ #~ msgstr ""
1048
+ #~ "Se hai acquistato un nostro prodotto prima del 27 gennaio 2015 potrai accedere "
1049
+ #~ "al supporto e scaricare gli aggiornamenti fino al 27 gennaio 2016 e non avrai "
1050
+ #~ "bisogno di una chiave di licenza,\n"
1051
+ #~ "in quanto la tua licenza prima di questa data veniva attivata in modo "
1052
+ #~ "automatico dal nostro sistema.\n"
1053
+ #~ "Dopo il 27 gennaio 2016, invece, per poter usufruire del servizio di supporto e "
1054
+ #~ "degli aggiornamenti dovrai riacquistare il prodotto e\n"
1055
+ #~ "attivarlo con la chiave di licenza che ti sarà fornita e che puoi trovare sul "
1056
+ #~ "tuo account YIThemes, alla voce \"Le mie licenze\"."
1057
+
1058
+ #~ msgid "Update licence information"
1059
+ #~ msgstr "Aggiorna le informazioni di licenza"
1060
+
1061
+ #~ msgid "Products to be activated"
1062
+ #~ msgstr "Prodotti da attivare"
1063
+
1064
+ #~ msgid "Licence Key"
1065
+ #~ msgstr "Chiave di licenza"
1066
+
1067
  #~ msgid "%field_1% and %field_2% fields cannot be empty"
1068
  #~ msgstr "I campi %field_1% e %field_2% non possono essere vuoti"
1069
 
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -1,10 +1,11 @@
1
  # Copyright (C) 2015 YIThemes
2
  # This file is distributed under the same license as the YITH Plugin Starter package.
 
3
  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: 2015-05-05 10:38+0100\n"
8
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
@@ -12,7 +13,7 @@ msgstr ""
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 1.7.6\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"
@@ -136,7 +137,8 @@ msgid "Type"
136
  msgstr ""
137
 
138
  #: lib/yit-cpt-unlimited.php:1052
139
- msgid "Layout for this "
 
140
  msgstr ""
141
 
142
  #: lib/yit-cpt-unlimited.php:1058
@@ -215,10 +217,10 @@ msgid "Add %s from images"
215
  msgstr ""
216
 
217
  #: lib/yit-cpt-unlimited.php:1633
218
- msgid "Add with multiupload"
219
  msgstr ""
220
 
221
- #: lib/yit-plugin-panel-wc.php:295
222
  msgid "The changes you have made will be lost if you leave this page."
223
  msgstr ""
224
 
@@ -226,69 +228,69 @@ msgstr ""
226
  msgid "Plugin Settings"
227
  msgstr ""
228
 
229
- #: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
230
  msgid "YIT Plugins"
231
  msgstr ""
232
 
233
- #: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
234
  #: templates/panel/woocommerce/woocommerce-form.php:5
235
  msgid "Save Changes"
236
  msgstr ""
237
 
238
- #: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
239
  msgid "If you continue with this action, you will reset all options in this page."
240
  msgstr ""
241
 
242
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
243
- msgid "Reset to Default"
244
  msgstr ""
245
 
246
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
247
- #: templates/panel/woocommerce/woocommerce-form.php:10
248
  msgid "Are you sure?"
249
  msgstr ""
250
 
251
- #: lib/yit-plugin-panel.php:431
252
  msgid "The element you have entered already exists. Please, enter another name."
253
  msgstr ""
254
 
255
- #: lib/yit-plugin-panel.php:432
256
  msgid "Settings saved"
257
  msgstr ""
258
 
259
- #: lib/yit-plugin-panel.php:433
260
  msgid "Settings reset"
261
  msgstr ""
262
 
263
- #: lib/yit-plugin-panel.php:434
264
  msgid "Element deleted correctly."
265
  msgstr ""
266
 
267
- #: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
268
  msgid "Element updated correctly."
269
  msgstr ""
270
 
271
- #: lib/yit-plugin-panel.php:437
272
  msgid "Database imported correctly."
273
  msgstr ""
274
 
275
- #: lib/yit-plugin-panel.php:438
276
  msgid "An error has occurred during import. Please try again."
277
  msgstr ""
278
 
279
- #: lib/yit-plugin-panel.php:439
280
  msgid "The added file is not valid."
281
  msgstr ""
282
 
283
- #: lib/yit-plugin-panel.php:440
284
  msgid "Sorry, import is disabled."
285
  msgstr ""
286
 
287
- #: lib/yit-plugin-panel.php:441
288
  msgid "Sorting successful."
289
  msgstr ""
290
 
291
- #: lib/yit-plugin-subpanel.php:145
292
  msgid ""
293
  "If you continue with this action, you will reset all the options in this page."
294
  msgstr ""
@@ -347,26 +349,26 @@ msgstr ""
347
  msgid "Update now."
348
  msgstr ""
349
 
350
- #: lib/yit-upgrade.php:230
351
  msgid "Yithemes Repository"
352
  msgstr ""
353
 
354
- #: lib/yit-upgrade.php:264
355
  msgid "Invalid URL Provided."
356
  msgstr ""
357
 
358
- #: lib/yit-upgrade.php:277
359
  msgid "Could not create Temporary file."
360
  msgstr ""
361
 
362
- #: lib/yit-upgrade.php:419
363
  #, php-format
364
  msgid ""
365
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
366
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>."
367
  msgstr ""
368
 
369
- #: lib/yit-upgrade.php:421
370
  #, php-format
371
  msgid ""
372
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -375,16 +377,16 @@ msgid ""
375
  "updates.</em>"
376
  msgstr ""
377
 
378
- #: lib/yit-upgrade.php:423
379
  #, php-format
380
  msgid ""
381
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
382
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
383
- "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
384
  "activation\">activate</a> your copy of %6s.</em>"
385
  msgstr ""
386
 
387
- #: lib/yit-upgrade.php:425
388
  #, php-format
389
  msgid ""
390
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -392,169 +394,207 @@ msgid ""
392
  "\">update now</a>."
393
  msgstr ""
394
 
395
- #: lib/yit-upgrade.php:498
396
  msgid "You can't update the plugins for this site."
397
  msgstr ""
398
 
399
- #: lib/yit-upgrade.php:502
400
  msgid "You do not have sufficient permissions to update the plugins for this site."
401
  msgstr ""
402
 
403
- #: lib/yit-upgrade.php:509
404
  msgid "Update Plugin"
405
  msgstr ""
406
 
407
- #: licence/lib/yit-licence.php:161
408
  #, php-format
409
- msgid "%field% field cannot be empty"
 
410
  msgstr ""
411
 
412
- #: licence/lib/yit-licence.php:162
413
- msgid "%field_1% and %field_2% fields cannot be empty"
 
414
  msgstr ""
415
 
416
- #: licence/lib/yit-licence.php:163
417
  msgid "Unable to contact the remote server, please try again later. Thanks!"
418
  msgstr ""
419
 
420
- #: licence/lib/yit-licence.php:548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
  msgid "Invalid Request"
422
  msgstr ""
423
 
424
- #: licence/lib/yit-licence.php:549
425
- msgid "Invalid licence key"
426
  msgstr ""
427
 
428
- #: licence/lib/yit-licence.php:550
429
  msgid "Software has been deactivated"
430
  msgstr ""
431
 
432
- #: licence/lib/yit-licence.php:551
433
  msgid "Maximum number of activations exceeded"
434
  msgstr ""
435
 
436
- #: licence/lib/yit-licence.php:552
437
  msgid "Invalid instance ID"
438
  msgstr ""
439
 
440
- #: licence/lib/yit-licence.php:553
441
  msgid "Invalid security key"
442
  msgstr ""
443
 
444
- #: licence/lib/yit-licence.php:554
445
- msgid "Licence key has expired"
446
  msgstr ""
447
 
448
- #: licence/lib/yit-licence.php:555
449
- msgid "Licence key has been banned"
450
  msgstr ""
451
 
452
- #: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
453
- #: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
454
- #: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
455
- msgid "Licence Activation"
456
  msgstr ""
457
 
458
- #: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
459
- #, php-format
460
- msgid "%s"
461
  msgstr ""
462
 
463
- #: licence/templates/panel/activation/activation-panel.php:19
464
- msgid "Yithemes Licence Activation"
465
  msgstr ""
466
 
467
- #: licence/templates/panel/activation/activation-panel.php:23
 
 
 
 
 
 
 
 
 
 
 
468
  msgid ""
469
  "I cannot find the license key for activating the theme I have bought some time "
470
  "ago. Where can I find it?"
471
  msgstr ""
472
 
473
- #: licence/templates/panel/activation/activation-panel.php:26
474
  msgid ""
475
  "If you have purchased one of our products before 27 January 2015, you can benefit "
476
  "from support and updates (the services offered with the license)\n"
477
- " until 27 January 2016 and you do not have to purchase it again to get "
478
- "a new license key, because, before this date, your license used to be activated "
479
- "automatically by our system.\n"
480
- " After 27 January 2016, instead, if you want to benefit from support "
481
- "and updates you have to buy a new license and activate it through the license key "
482
- "you will be\n"
483
- " provided with and that you can find in your YIThemes account, in "
484
- "section \"My licenses\"."
485
  msgstr ""
486
 
487
- #: licence/templates/panel/activation/activation-panel.php:37
 
 
 
 
488
  msgid ""
489
  "Have you updated your licenses? Have you asked for an extension? Update "
490
  "information concerning your products."
491
  msgstr ""
492
 
493
- #: licence/templates/panel/activation/activation-panel.php:39
494
- msgid "Update licence information"
495
  msgstr ""
496
 
497
- #: licence/templates/panel/activation/activation-panel.php:49
498
- msgid "Products to be activated"
499
- msgstr ""
 
 
500
 
501
- #: licence/templates/panel/activation/activation-panel.php:68
502
  msgid "Activate"
503
  msgstr ""
504
 
505
- #: licence/templates/panel/activation/activation-panel.php:87
506
  msgid "Activated"
507
  msgstr ""
508
 
509
- #: licence/templates/panel/activation/activation-panel.php:91
510
- #: licence/templates/panel/activation/activation-panel.php:123
511
- #: licence/templates/panel/activation/activation-panel.php:147
512
  msgid "Product Name"
513
  msgstr ""
514
 
515
- #: licence/templates/panel/activation/activation-panel.php:92
516
- #: licence/templates/panel/activation/activation-panel.php:124
517
- #: licence/templates/panel/activation/activation-panel.php:148
518
- #: templates/metaboxes/types/contactform.php:148
519
- #: templates/metaboxes/types/contactform.php:340
520
- msgid "Email"
521
- msgstr ""
522
-
523
  #: licence/templates/panel/activation/activation-panel.php:93
524
- #: licence/templates/panel/activation/activation-panel.php:125
525
- #: licence/templates/panel/activation/activation-panel.php:149
526
- msgid "Licence Key"
527
- msgstr ""
528
-
529
- #: licence/templates/panel/activation/activation-panel.php:94
530
- #: licence/templates/panel/activation/activation-panel.php:150
531
  msgid "Expires"
532
  msgstr ""
533
 
534
- #: licence/templates/panel/activation/activation-panel.php:95
535
  msgid "Remaining"
536
  msgstr ""
537
 
538
- #: licence/templates/panel/activation/activation-panel.php:96
539
- #: licence/templates/panel/activation/activation-panel.php:109
540
- #: licence/templates/panel/activation/activation-panel.php:151
541
- #: licence/templates/panel/activation/activation-panel.php:161
542
- msgid "Renew"
 
 
543
  msgstr ""
544
 
545
- #: licence/templates/panel/activation/activation-panel.php:107
546
  #, php-format
547
  msgid "%1s out of %2s"
548
  msgstr ""
549
 
550
- #: licence/templates/panel/activation/activation-panel.php:119
 
 
 
 
 
 
 
 
 
 
551
  msgid "Banned"
552
  msgstr ""
553
 
554
- #: licence/templates/panel/activation/activation-panel.php:143
555
  msgid "Expired"
556
  msgstr ""
557
 
 
 
 
 
558
  #: templates/metaboxes/types/ajax-products.php:23
559
  msgid "Search for a product"
560
  msgstr ""
@@ -630,7 +670,7 @@ msgstr ""
630
 
631
  #: templates/metaboxes/types/contactform.php:77
632
  #: templates/metaboxes/types/contactform.php:269
633
- msgid "Title Field"
634
  msgstr ""
635
 
636
  #: templates/metaboxes/types/contactform.php:81
@@ -652,7 +692,7 @@ msgstr ""
652
 
653
  #: templates/metaboxes/types/contactform.php:95
654
  #: templates/metaboxes/types/contactform.php:287
655
- msgid "Type field"
656
  msgstr ""
657
 
658
  #: templates/metaboxes/types/contactform.php:103
@@ -747,7 +787,7 @@ msgstr ""
747
  #: templates/metaboxes/types/icon-list.php:69
748
  #: templates/metaboxes/types/select-icon.php:33
749
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
750
- #: templates/panel/woocommerce/woocommerce-upload.php:35
751
  msgid "Upload"
752
  msgstr ""
753
 
@@ -915,6 +955,6 @@ msgstr ""
915
  msgid "Italic bold"
916
  msgstr ""
917
 
918
- #: templates/panel/woocommerce/woocommerce-form.php:10
919
  msgid "Reset Defaults"
920
  msgstr ""
1
  # Copyright (C) 2015 YIThemes
2
  # This file is distributed under the same license as the YITH Plugin Starter package.
3
+ #, fuzzy
4
  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: 2015-11-16 12:23+0100\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 1.8.1\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\n"
137
  msgstr ""
138
 
139
  #: lib/yit-cpt-unlimited.php:1052
140
+ #, php-format
141
+ msgid "Layout for this %s"
142
  msgstr ""
143
 
144
  #: lib/yit-cpt-unlimited.php:1058
217
  msgstr ""
218
 
219
  #: lib/yit-cpt-unlimited.php:1633
220
+ msgid "Upload multiple files"
221
  msgstr ""
222
 
223
+ #: lib/yit-plugin-panel-wc.php:336
224
  msgid "The changes you have made will be lost if you leave this page."
225
  msgstr ""
226
 
228
  msgid "Plugin Settings"
229
  msgstr ""
230
 
231
+ #: lib/yit-plugin-panel.php:96 lib/yit-plugin-subpanel.php:101
232
  msgid "YIT Plugins"
233
  msgstr ""
234
 
235
+ #: lib/yit-plugin-panel.php:288 lib/yit-plugin-subpanel.php:143
236
  #: templates/panel/woocommerce/woocommerce-form.php:5
237
  msgid "Save Changes"
238
  msgstr ""
239
 
240
+ #: lib/yit-plugin-panel.php:291 templates/panel/woocommerce/woocommerce-form.php:8
241
  msgid "If you continue with this action, you will reset all options in this page."
242
  msgstr ""
243
 
244
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
245
+ msgid "Reset to default"
246
  msgstr ""
247
 
248
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
249
+ #: templates/panel/woocommerce/woocommerce-form.php:11
250
  msgid "Are you sure?"
251
  msgstr ""
252
 
253
+ #: lib/yit-plugin-panel.php:427
254
  msgid "The element you have entered already exists. Please, enter another name."
255
  msgstr ""
256
 
257
+ #: lib/yit-plugin-panel.php:428
258
  msgid "Settings saved"
259
  msgstr ""
260
 
261
+ #: lib/yit-plugin-panel.php:429
262
  msgid "Settings reset"
263
  msgstr ""
264
 
265
+ #: lib/yit-plugin-panel.php:430
266
  msgid "Element deleted correctly."
267
  msgstr ""
268
 
269
+ #: lib/yit-plugin-panel.php:431 lib/yit-plugin-panel.php:432
270
  msgid "Element updated correctly."
271
  msgstr ""
272
 
273
+ #: lib/yit-plugin-panel.php:433
274
  msgid "Database imported correctly."
275
  msgstr ""
276
 
277
+ #: lib/yit-plugin-panel.php:434
278
  msgid "An error has occurred during import. Please try again."
279
  msgstr ""
280
 
281
+ #: lib/yit-plugin-panel.php:435
282
  msgid "The added file is not valid."
283
  msgstr ""
284
 
285
+ #: lib/yit-plugin-panel.php:436
286
  msgid "Sorry, import is disabled."
287
  msgstr ""
288
 
289
+ #: lib/yit-plugin-panel.php:437
290
  msgid "Sorting successful."
291
  msgstr ""
292
 
293
+ #: lib/yit-plugin-subpanel.php:146
294
  msgid ""
295
  "If you continue with this action, you will reset all the options in this page."
296
  msgstr ""
349
  msgid "Update now."
350
  msgstr ""
351
 
352
+ #: lib/yit-upgrade.php:250
353
  msgid "Yithemes Repository"
354
  msgstr ""
355
 
356
+ #: lib/yit-upgrade.php:284
357
  msgid "Invalid URL Provided."
358
  msgstr ""
359
 
360
+ #: lib/yit-upgrade.php:297
361
  msgid "Could not create Temporary file."
362
  msgstr ""
363
 
364
+ #: lib/yit-upgrade.php:439
365
  #, php-format
366
  msgid ""
367
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
368
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>."
369
  msgstr ""
370
 
371
+ #: lib/yit-upgrade.php:441
372
  #, php-format
373
  msgid ""
374
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
377
  "updates.</em>"
378
  msgstr ""
379
 
380
+ #: lib/yit-upgrade.php:443
381
  #, php-format
382
  msgid ""
383
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
384
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
385
+ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"License "
386
  "activation\">activate</a> your copy of %6s.</em>"
387
  msgstr ""
388
 
389
+ #: lib/yit-upgrade.php:445
390
  #, php-format
391
  msgid ""
392
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
394
  "\">update now</a>."
395
  msgstr ""
396
 
397
+ #: lib/yit-upgrade.php:518
398
  msgid "You can't update the plugins for this site."
399
  msgstr ""
400
 
401
+ #: lib/yit-upgrade.php:522
402
  msgid "You do not have sufficient permissions to update the plugins for this site."
403
  msgstr ""
404
 
405
+ #: lib/yit-upgrade.php:529
406
  msgid "Update Plugin"
407
  msgstr ""
408
 
409
+ #: licence/lib/yit-licence.php:170
410
  #, php-format
411
+ msgctxt "%s = field name"
412
+ msgid "%s field cannot be empty"
413
  msgstr ""
414
 
415
+ #: licence/lib/yit-licence.php:171
416
+ #, php-format
417
+ msgid "%s and %s fields cannot be empty"
418
  msgstr ""
419
 
420
+ #: licence/lib/yit-licence.php:172
421
  msgid "Unable to contact the remote server, please try again later. Thanks!"
422
  msgstr ""
423
 
424
+ #: licence/lib/yit-licence.php:173
425
+ #: licence/templates/panel/activation/activation-panel.php:89
426
+ #: licence/templates/panel/activation/activation-panel.php:164
427
+ #: licence/templates/panel/activation/activation-panel.php:195
428
+ #: templates/metaboxes/types/contactform.php:148
429
+ #: templates/metaboxes/types/contactform.php:340
430
+ msgid "Email"
431
+ msgstr ""
432
+
433
+ #: licence/lib/yit-licence.php:174
434
+ #: licence/templates/panel/activation/activation-panel.php:90
435
+ #: licence/templates/panel/activation/activation-panel.php:165
436
+ #: licence/templates/panel/activation/activation-panel.php:196
437
+ msgid "License Key"
438
+ msgstr ""
439
+
440
+ #: licence/lib/yit-licence.php:175
441
+ msgid "Are you sure you want to deactivate the license for current site?"
442
+ msgstr ""
443
+
444
+ #: licence/lib/yit-licence.php:638
445
  msgid "Invalid Request"
446
  msgstr ""
447
 
448
+ #: licence/lib/yit-licence.php:639
449
+ msgid "Invalid license key"
450
  msgstr ""
451
 
452
+ #: licence/lib/yit-licence.php:640
453
  msgid "Software has been deactivated"
454
  msgstr ""
455
 
456
+ #: licence/lib/yit-licence.php:641
457
  msgid "Maximum number of activations exceeded"
458
  msgstr ""
459
 
460
+ #: licence/lib/yit-licence.php:642
461
  msgid "Invalid instance ID"
462
  msgstr ""
463
 
464
+ #: licence/lib/yit-licence.php:643
465
  msgid "Invalid security key"
466
  msgstr ""
467
 
468
+ #: licence/lib/yit-licence.php:644
469
+ msgid "License key has expired"
470
  msgstr ""
471
 
472
+ #: licence/lib/yit-licence.php:645
473
+ msgid "License key has been banned"
474
  msgstr ""
475
 
476
+ #: licence/lib/yit-licence.php:646
477
+ msgid "Great"
 
 
478
  msgstr ""
479
 
480
+ #: licence/lib/yit-licence.php:646
481
+ msgid "License successfully activated"
 
482
  msgstr ""
483
 
484
+ #: licence/lib/yit-licence.php:647
485
+ msgid "License key deactivated for website"
486
  msgstr ""
487
 
488
+ #: licence/lib/yit-plugin-licence.php:68 licence/lib/yit-plugin-licence.php:69
489
+ #: licence/lib/yit-theme-licence.php:70 licence/lib/yit-theme-licence.php:71
490
+ #: licence/lib/yit-theme-licence.php:110 licence/lib/yit-theme-licence.php:111
491
+ msgid "License Activation"
492
+ msgstr ""
493
+
494
+ #: licence/lib/yit-theme-licence.php:118 licence/lib/yit-theme-licence.php:119
495
+ #, php-format
496
+ msgid "%s"
497
+ msgstr ""
498
+
499
+ #: licence/lib/yit-theme-licence.php:160
500
  msgid ""
501
  "I cannot find the license key for activating the theme I have bought some time "
502
  "ago. Where can I find it?"
503
  msgstr ""
504
 
505
+ #: licence/lib/yit-theme-licence.php:163
506
  msgid ""
507
  "If you have purchased one of our products before 27 January 2015, you can benefit "
508
  "from support and updates (the services offered with the license)\n"
509
+ " until 27 January 2016 and you do not have to purchase it again "
510
+ "to get a new license key, because, before this date, your license used to be "
511
+ "activated automatically by our system.\n"
512
+ " After 27 January 2016, instead, if you want to benefit from "
513
+ "support and updates you have to buy a new license and activate it through the "
514
+ "license key you will be\n"
515
+ " provided with and that you can find in your YIThemes account, "
516
+ "in section \"My licenses\"."
517
  msgstr ""
518
 
519
+ #: licence/templates/panel/activation/activation-panel.php:22
520
+ msgid "Yithemes License Activation"
521
+ msgstr ""
522
+
523
+ #: licence/templates/panel/activation/activation-panel.php:28
524
  msgid ""
525
  "Have you updated your licenses? Have you asked for an extension? Update "
526
  "information concerning your products."
527
  msgstr ""
528
 
529
+ #: licence/templates/panel/activation/activation-panel.php:30
530
+ msgid "Update license information"
531
  msgstr ""
532
 
533
+ #: licence/templates/panel/activation/activation-panel.php:43
534
+ msgid "Product to activate"
535
+ msgid_plural "Products to activate"
536
+ msgstr[0] ""
537
+ msgstr[1] ""
538
 
539
+ #: licence/templates/panel/activation/activation-panel.php:62
540
  msgid "Activate"
541
  msgstr ""
542
 
543
+ #: licence/templates/panel/activation/activation-panel.php:81
544
  msgid "Activated"
545
  msgstr ""
546
 
547
+ #: licence/templates/panel/activation/activation-panel.php:87
548
+ #: licence/templates/panel/activation/activation-panel.php:162
549
+ #: licence/templates/panel/activation/activation-panel.php:192
550
  msgid "Product Name"
551
  msgstr ""
552
 
 
 
 
 
 
 
 
 
553
  #: licence/templates/panel/activation/activation-panel.php:93
554
+ #: licence/templates/panel/activation/activation-panel.php:199
 
 
 
 
 
 
555
  msgid "Expires"
556
  msgstr ""
557
 
558
+ #: licence/templates/panel/activation/activation-panel.php:96
559
  msgid "Remaining"
560
  msgstr ""
561
 
562
+ #: licence/templates/panel/activation/activation-panel.php:97
563
+ #: licence/templates/panel/activation/activation-panel.php:223
564
+ msgid "Membership"
565
+ msgstr ""
566
+
567
+ #: licence/templates/panel/activation/activation-panel.php:100
568
+ msgid "License Actions"
569
  msgstr ""
570
 
571
+ #: licence/templates/panel/activation/activation-panel.php:125
572
  #, php-format
573
  msgid "%1s out of %2s"
574
  msgstr ""
575
 
576
+ #: licence/templates/panel/activation/activation-panel.php:140
577
+ msgid "Deactivate"
578
+ msgstr ""
579
+
580
+ #: licence/templates/panel/activation/activation-panel.php:145
581
+ #: licence/templates/panel/activation/activation-panel.php:202
582
+ #: licence/templates/panel/activation/activation-panel.php:223
583
+ msgid "Renew"
584
+ msgstr ""
585
+
586
+ #: licence/templates/panel/activation/activation-panel.php:158
587
  msgid "Banned"
588
  msgstr ""
589
 
590
+ #: licence/templates/panel/activation/activation-panel.php:188
591
  msgid "Expired"
592
  msgstr ""
593
 
594
+ #: licence/templates/panel/activation/activation-panel.php:223
595
+ msgid "License"
596
+ msgstr ""
597
+
598
  #: templates/metaboxes/types/ajax-products.php:23
599
  msgid "Search for a product"
600
  msgstr ""
670
 
671
  #: templates/metaboxes/types/contactform.php:77
672
  #: templates/metaboxes/types/contactform.php:269
673
+ msgid "Field Title"
674
  msgstr ""
675
 
676
  #: templates/metaboxes/types/contactform.php:81
692
 
693
  #: templates/metaboxes/types/contactform.php:95
694
  #: templates/metaboxes/types/contactform.php:287
695
+ msgid "Field Type"
696
  msgstr ""
697
 
698
  #: templates/metaboxes/types/contactform.php:103
787
  #: templates/metaboxes/types/icon-list.php:69
788
  #: templates/metaboxes/types/select-icon.php:33
789
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
790
+ #: templates/panel/woocommerce/woocommerce-upload.php:40
791
  msgid "Upload"
792
  msgstr ""
793
 
955
  msgid "Italic bold"
956
  msgstr ""
957
 
958
+ #: templates/panel/woocommerce/woocommerce-form.php:11
959
  msgid "Reset Defaults"
960
  msgstr ""
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -319,22 +319,27 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
319
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
320
  */
321
  public function admin_enqueue_scripts() {
322
- global $woocommerce;
323
 
324
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
325
 
326
  wp_enqueue_media();
327
  wp_enqueue_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce->version );
328
- wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce->version );
329
  wp_enqueue_style ( 'wp-jquery-ui-dialog' );
330
 
331
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
332
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
333
  wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', array( 'jquery', 'jquery-ui-datepicker','jquery-ui-dialog', 'jquery-ui-sortable', 'iris', 'chosen' ), $woocommerce->version, true );
334
- wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
335
  wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
336
  'i18n_nav_warning' => __( 'The changes you have made will be lost if you leave this page.', 'yith-plugin-fw' )
337
  ) );
 
 
 
 
 
338
  }
339
 
340
  /**
319
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
320
  */
321
  public function admin_enqueue_scripts() {
322
+ global $woocommerce, $pagenow;
323
 
324
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
325
 
326
  wp_enqueue_media();
327
  wp_enqueue_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce->version );
328
+ wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce->version );
329
  wp_enqueue_style ( 'wp-jquery-ui-dialog' );
330
 
331
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
332
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
333
  wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', array( 'jquery', 'jquery-ui-datepicker','jquery-ui-dialog', 'jquery-ui-sortable', 'iris', 'chosen' ), $woocommerce->version, true );
334
+ wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
335
  wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
336
  'i18n_nav_warning' => __( 'The changes you have made will be lost if you leave this page.', 'yith-plugin-fw' )
337
  ) );
338
+
339
+ if( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yit-plugins_page' ) !== false ){
340
+ wp_enqueue_style( 'yit-plugin-style' );
341
+ wp_enqueue_script( 'yit-plugin-panel' );
342
+ }
343
  }
344
 
345
  /**
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -92,8 +92,12 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
92
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
93
  */
94
  public function add_menu_page() {
95
- $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
96
- add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
 
 
 
 
97
  }
98
 
99
  /**
@@ -121,27 +125,32 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
121
  */
122
  public function admin_enqueue_scripts() {
123
 
124
- global $wp_scripts, $pagenow;
125
 
126
  //scripts
127
- wp_enqueue_media();
128
- wp_enqueue_script( 'jquery-ui' );
129
- wp_enqueue_script( 'jquery-ui-core' );
130
- wp_enqueue_script( 'jquery-ui-slider' );
131
- wp_enqueue_script( 'jquery-ui-dialog' );
132
- wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
133
- wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
134
- wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
135
- wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
136
 
137
  //styles
138
- $jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
139
  wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
140
  wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
141
- wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
142
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
143
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
144
  wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
 
 
 
 
 
145
  }
146
 
147
  /**
92
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
93
  */
94
  public function add_menu_page() {
95
+ global $admin_page_hooks;
96
+
97
+ if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
98
+ $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
99
+ add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
100
+ }
101
  }
102
 
103
  /**
125
  */
126
  public function admin_enqueue_scripts() {
127
 
128
+ global $wp_scripts, $pagenow;
129
 
130
  //scripts
131
+ wp_enqueue_media();
132
+ wp_enqueue_script( 'jquery-ui' );
133
+ wp_enqueue_script( 'jquery-ui-core' );
134
+ wp_enqueue_script( 'jquery-ui-slider' );
135
+ wp_enqueue_script( 'jquery-ui-dialog' );
136
+ wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
137
+ wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
138
+ wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
139
+ wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
140
 
141
  //styles
142
+ $jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
143
  wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
144
  wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
145
+ wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
146
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
147
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
148
  wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
149
+
150
+ if( 'admin.php' == $pagenow && strpos('yit-plugins_page',get_current_screen()->id ) !== false ){
151
+ wp_enqueue_style( 'yit-plugin-style' );
152
+ wp_enqueue_script( 'yit-plugin-panel' );
153
+ }
154
  }
155
 
156
  /**
plugin-fw/lib/yit-plugin-subpanel.php CHANGED
@@ -88,22 +88,25 @@ if ( ! class_exists( 'YIT_Plugin_SubPanel' ) ) {
88
  * @since 1.0
89
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
90
  */
91
- public function add_setting_page() {
 
 
92
 
93
- $logo = YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png';
94
 
95
- $admin_logo = function_exists( 'yit_get_option' ) ? yit_get_option( 'admin-logo-menu' ) : '';
 
 
96
 
97
- if ( isset( $admin_logo ) && ! empty( $admin_logo ) && $admin_logo != '' && $admin_logo) {
98
- $logo = $admin_logo;
99
- }
100
  $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
101
  add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, $position );
 
102
 
103
- add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
104
- remove_submenu_page( 'yit_plugin_panel', 'yit_plugin_panel' );
105
 
106
- }
107
 
108
  /**
109
  * Show a tabbed panel to setting page
88
  * @since 1.0
89
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
90
  */
91
+ public function add_setting_page() {
92
+ global $admin_page_hooks;
93
+ $logo = YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png';
94
 
95
+ $admin_logo = function_exists( 'yit_get_option' ) ? yit_get_option( 'admin-logo-menu' ) : '';
96
 
97
+ if ( isset( $admin_logo ) && !empty( $admin_logo ) && $admin_logo != '' && $admin_logo ) {
98
+ $logo = $admin_logo;
99
+ }
100
 
101
+ if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ) {
 
 
102
  $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
103
  add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, $position );
104
+ }
105
 
106
+ add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
107
+ remove_submenu_page( 'yit_plugin_panel', 'yit_plugin_panel' );
108
 
109
+ }
110
 
111
  /**
112
  * Show a tabbed panel to setting page
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -60,8 +60,10 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
60
  add_action( 'admin_enqueue_scripts', array( $this, 'network_admin_enqueue_scripts' ) );
61
  }
62
 
63
- if( defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG ){
64
- $this->_package_url = 'http://dev.yithemes.com';
 
 
65
  }
66
  }
67
 
@@ -129,7 +131,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
129
  );
130
 
131
  foreach( $this->_plugins as $init => $info ){
132
- YIT_Plugin_Licence()->check( $init );
133
 
134
  $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
135
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
@@ -157,24 +159,6 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
157
  yit_enqueue_style( 'yit-upgrader', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrader.css' );
158
  }
159
 
160
- /**
161
- * Call the protected method _upgrader_pre_download to retrive the zip package file
162
- *
163
- * @param bool $reply Whether to bail without returning the package. Default false.
164
- * @param string $package The package file name.
165
- * @param \WP_Upgrader $upgrader WP_Upgrader instance.
166
- *
167
- * @return string | The download file
168
- *
169
- * @since 1.0
170
- * @see wp-admin/includes/class-wp-upgrader.php
171
- * @access public
172
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
173
- */
174
- public function upgrader_pre_download( $reply, $package, $upgrader ){
175
- return $this->_upgrader_pre_download( $reply, $package, $upgrader );
176
- }
177
-
178
  /**
179
  * Retrive the zip package file
180
  *
@@ -186,10 +170,10 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
186
  *
187
  * @since 1.0
188
  * @see wp-admin/includes/class-wp-upgrader.php
189
- * @access protected
190
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
191
  */
192
- protected function _upgrader_pre_download( $reply, $package, $upgrader ) {
193
  $plugin = false;
194
  $is_bulk = $upgrader->skin instanceof Bulk_Plugin_Upgrader_Skin;
195
 
@@ -247,7 +231,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
247
  return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
248
  }
249
 
250
- $upgrader->skin->feedback( 'downloading_package', __( 'Yithemes Repository', 'yith-plugin-fw' ) );
251
 
252
  $download_file = $this->_download_url( $package, $args );
253
 
@@ -440,7 +424,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
440
  }elseif( is_plugin_active_for_network( $init ) ){
441
  printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
442
  }elseif ( empty( $r->package ) ) {
443
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="Licence activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
444
  } else {
445
  printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url($details_url), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $init, 'upgrade-plugin_' . $init ) );
446
  }
60
  add_action( 'admin_enqueue_scripts', array( $this, 'network_admin_enqueue_scripts' ) );
61
  }
62
 
63
+ $is_debug_enabled = defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG;
64
+ if ( $is_debug_enabled ) {
65
+ $this->_package_url = defined( 'YIT_LICENCE_DEBUG_LOCALHOST' ) ? YIT_LICENCE_DEBUG_LOCALHOST : 'http://dev.yithemes.com';
66
+ add_filter( 'block_local_requests', '__return_false' );
67
  }
68
  }
69
 
131
  );
132
 
133
  foreach( $this->_plugins as $init => $info ){
134
+ YIT_Plugin_Licence()->check( $init, false );
135
 
136
  $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
137
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
159
  yit_enqueue_style( 'yit-upgrader', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrader.css' );
160
  }
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  /**
163
  * Retrive the zip package file
164
  *
170
  *
171
  * @since 1.0
172
  * @see wp-admin/includes/class-wp-upgrader.php
173
+ * @access public
174
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
175
  */
176
+ public function upgrader_pre_download( $reply, $package, $upgrader ) {
177
  $plugin = false;
178
  $is_bulk = $upgrader->skin instanceof Bulk_Plugin_Upgrader_Skin;
179
 
231
  return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
232
  }
233
 
234
+ $upgrader->skin->feedback( 'downloading_package', __( 'YIThemes Repository', 'yith-plugin-fw' ) );
235
 
236
  $download_file = $this->_download_url( $package, $args );
237
 
424
  }elseif( is_plugin_active_for_network( $init ) ){
425
  printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
426
  }elseif ( empty( $r->package ) ) {
427
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="License activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
428
  } else {
429
  printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url($details_url), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $init, 'upgrade-plugin_' . $init ) );
430
  }
plugin-fw/licence/assets/css/yit-licence.css CHANGED
@@ -23,6 +23,7 @@
23
 
24
  .yit-container.product-licence-activation .to-active-wrapper {
25
  margin-bottom: 60px;
 
26
  }
27
 
28
  .yit-container.product-licence-activation .to-active-wrapper form.to-active-form {
@@ -121,17 +122,13 @@
121
  vertical-align: top;
122
  }
123
 
124
- .yit-container.product-licence-activation .spinner.show{
125
- display: inline-block;
126
- vertical-align: middle;
127
  float: none;
128
  }
129
 
130
- .yit-container.product-licence-activation h3.to-active > .spinner.show {
131
- display: inline-block;
132
- float: none;
133
- top: -3px;
134
- position: relative;
135
  }
136
 
137
  .yit-container.product-licence-activation .licence-check-section{
@@ -176,18 +173,24 @@
176
  padding: 12px 19px;
177
  }
178
 
 
179
  .yit-container.product-licence-activation .button-licence.licence-renew {
180
  text-decoration: none;
181
  padding: 7px 12px;
182
  font-size: 9px;
183
  }
184
 
 
 
 
 
 
185
  .yit-container.product-licence-activation .button-licence.licence-renew:focus {
186
  box-shadow: none;
187
  }
188
 
189
  .yit-container.product-licence-activation table:not(.to-active-table) {
190
- width: 100%;
191
  border: 1px solid #dcdcdc;
192
  border-spacing: 0;
193
  border-radius: 5px;
@@ -197,12 +200,18 @@
197
 
198
  .yit-container.product-licence-activation table:not(.to-active-table) th {
199
  border-bottom: 1px solid #dcdcdc;
 
 
 
 
 
200
  }
201
 
202
  .yit-container.product-licence-activation table:not(.to-active-table) td,
203
  .yit-container.product-licence-activation table:not(.to-active-table) th {
204
  border-right: 1px solid #dcdcdc;
205
  }
 
206
  .yit-container.product-licence-activation table td:last-child,
207
  .yit-container.product-licence-activation table th:last-child {
208
  border-right: 0;
@@ -216,8 +225,12 @@
216
  background-color: #ffffff;
217
  }
218
 
 
 
 
 
219
  .yit-container.product-licence-activation table thead tr th {
220
- font-size: 13px;
221
  color: #313131;
222
  text-transform: uppercase;
223
  font-weight: bold;
@@ -228,6 +241,14 @@
228
  line-height: 60px;
229
  }
230
 
 
 
 
 
 
 
 
 
231
  .yit-container.product-licence-activation table tbody tr td{
232
  text-align: center;
233
  line-height: 20px;
@@ -260,15 +281,17 @@
260
  width: 33%;
261
  }
262
 
263
-
264
- .yit-container.product-licence-activation .to-active-table td.product-name {
265
  color: #808a97;
266
  font-size: 12px;
267
  text-transform: uppercase;
268
  font-weight: bold;
269
  line-height: 20px;
 
 
 
 
270
  width: 20%;
271
- padding-left: 20px;
272
  }
273
 
274
  .yit-container.product-licence-activation .to-active-table td.activate-button {
@@ -302,15 +325,12 @@
302
  box-shadow: 0 0 1px rgba(30,140,190,.8);
303
  }
304
 
305
- .yit-container.product-licence-activation input[type=text]{
 
306
  text-transform: uppercase;
307
  text-align: center;
308
  }
309
 
310
- .yit-container.product-licence-activation input[type=email] {
311
- text-align: left;
312
- }
313
-
314
  .yit-container.product-licence-activation input[type=submit]:focus{
315
  outline: 0;
316
  }
@@ -328,19 +348,88 @@
328
  color: #808a97;
329
  }
330
 
 
 
 
 
 
 
 
 
 
 
331
  /* === Responsive === */
332
 
333
- @media (max-width: 767px) {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
 
335
- @media (max-width: 480px) {}
 
 
336
 
337
- @media (min-width: 768px) and (max-width: 992px) {}
 
 
338
 
339
- @media (min-width: 980px) and (max-width: 1199px) {}
 
 
 
340
 
341
  @media (min-width: 1200px) {
342
  .yit-container.product-licence-activation{
343
- width: 900px;
 
 
 
 
344
  }
345
  }
346
 
23
 
24
  .yit-container.product-licence-activation .to-active-wrapper {
25
  margin-bottom: 60px;
26
+ max-width: 900px;
27
  }
28
 
29
  .yit-container.product-licence-activation .to-active-wrapper form.to-active-form {
122
  vertical-align: top;
123
  }
124
 
125
+ .yit-container.product-licence-activation .spinner{
126
+ vertical-align: -5px;
 
127
  float: none;
128
  }
129
 
130
+ .yit-container.product-licence-activation .spinner.show{
131
+ visibility: visible;
 
 
 
132
  }
133
 
134
  .yit-container.product-licence-activation .licence-check-section{
173
  padding: 12px 19px;
174
  }
175
 
176
+ .yit-container.product-licence-activation .button-licence.licence-deactive,
177
  .yit-container.product-licence-activation .button-licence.licence-renew {
178
  text-decoration: none;
179
  padding: 7px 12px;
180
  font-size: 9px;
181
  }
182
 
183
+ .yit-container.product-licence-activation table:not(.expired-table) .button-licence.licence-renew {
184
+ margin-left: 10px;
185
+ }
186
+
187
+ .yit-container.product-licence-activation .button-licence.licence-deactive:focus,
188
  .yit-container.product-licence-activation .button-licence.licence-renew:focus {
189
  box-shadow: none;
190
  }
191
 
192
  .yit-container.product-licence-activation table:not(.to-active-table) {
193
+ width: auto;
194
  border: 1px solid #dcdcdc;
195
  border-spacing: 0;
196
  border-radius: 5px;
200
 
201
  .yit-container.product-licence-activation table:not(.to-active-table) th {
202
  border-bottom: 1px solid #dcdcdc;
203
+ padding: 0 10px;
204
+ }
205
+
206
+ .yit-container.product-licence-activation table tbody tr td.product-licence-key {
207
+ text-transform: lowercase;
208
  }
209
 
210
  .yit-container.product-licence-activation table:not(.to-active-table) td,
211
  .yit-container.product-licence-activation table:not(.to-active-table) th {
212
  border-right: 1px solid #dcdcdc;
213
  }
214
+
215
  .yit-container.product-licence-activation table td:last-child,
216
  .yit-container.product-licence-activation table th:last-child {
217
  border-right: 0;
225
  background-color: #ffffff;
226
  }
227
 
228
+ .yit-container.product-licence-activation table tbody tr:nth-child(2n) {
229
+ background-color: #f4f4f4;
230
+ }
231
+
232
  .yit-container.product-licence-activation table thead tr th {
233
+ font-size: 11px;
234
  color: #313131;
235
  text-transform: uppercase;
236
  font-weight: bold;
241
  line-height: 60px;
242
  }
243
 
244
+ .yit-container.product-licence-activation table tbody tr td.product-licence-membership .dashicons-no-alt {
245
+ color: #b20015;
246
+ }
247
+
248
+ .yit-container.product-licence-activation table tbody tr td.product-licence-membership .dashicons-yes {
249
+ color: #1ca800;
250
+ }
251
+
252
  .yit-container.product-licence-activation table tbody tr td{
253
  text-align: center;
254
  line-height: 20px;
281
  width: 33%;
282
  }
283
 
284
+ .yit-container.product-licence-activation td.product-name {
 
285
  color: #808a97;
286
  font-size: 12px;
287
  text-transform: uppercase;
288
  font-weight: bold;
289
  line-height: 20px;
290
+ padding: 10px 20px;
291
+ }
292
+
293
+ .yit-container.product-licence-activation .to-active-table td.product-name {
294
  width: 20%;
 
295
  }
296
 
297
  .yit-container.product-licence-activation .to-active-table td.activate-button {
325
  box-shadow: 0 0 1px rgba(30,140,190,.8);
326
  }
327
 
328
+ .yit-container.product-licence-activation input[type=text],
329
+ .yit-container.product-licence-activation input[type=email]{
330
  text-transform: uppercase;
331
  text-align: center;
332
  }
333
 
 
 
 
 
334
  .yit-container.product-licence-activation input[type=submit]:focus{
335
  outline: 0;
336
  }
348
  color: #808a97;
349
  }
350
 
351
+ #yith-licence-notice {
352
+ margin-left: 0;
353
+ visibility: hidden;
354
+ min-height: 38px;
355
+ }
356
+
357
+ #yith-licence-notice.visible {
358
+ visibility: visible;
359
+ }
360
+
361
  /* === Responsive === */
362
 
363
+ @media (max-width: 767px) {
364
+ .yit-container.product-licence-activation .activation-faq {
365
+ margin-right: 5px;
366
+ }
367
+ }
368
+
369
+ @media (max-width: 480px) {
370
+ .yit-container.product-licence-activation .activation-faq {
371
+ margin-right: 5px;
372
+ }
373
+ }
374
+
375
+ @media (min-width: 768px) and (max-width: 992px) {
376
+ .yit-container.product-licence-activation .button-licence.licence-deactive,
377
+ .yit-container.product-licence-activation .button-licence.licence-renew {
378
+ margin-bottom: 10px;
379
+ display: block;
380
+ margin-left: 0;
381
+ padding: 5px 7px;
382
+ }
383
+
384
+ .yit-container.product-licence-activation .button-licence.licence-deactive {
385
+ margin-bottom: 10px;
386
+ }
387
+
388
+ .yit-container.product-licence-activation table:not(.to-active-table) th {
389
+ line-height: 20px;
390
+ }
391
+
392
+ .yit-container.product-licence-activation table tbody tr td {
393
+ padding: 5px;
394
+ }
395
+
396
+ .yit-container.product-licence-activation .activation-faq {
397
+ margin-right: 20px;
398
+ }
399
+ }
400
+
401
+ @media (min-width: 980px) and (max-width: 1199px) {
402
+ .yit-container.product-licence-activation .button-licence.licence-deactive,
403
+ .yit-container.product-licence-activation .button-licence.licence-renew {
404
+ display: block;
405
+ margin-left: 0;
406
+ padding: 5px 7px;
407
+ }
408
+
409
+ .yit-container.product-licence-activation .button-licence.licence-renew {
410
+ margin-top: 10px;
411
+ }
412
 
413
+ .yit-container.product-licence-activation table:not(.to-active-table) th {
414
+ line-height: 20px;
415
+ }
416
 
417
+ .yit-container.product-licence-activation table tbody tr td {
418
+ padding: 5px;
419
+ }
420
 
421
+ .yit-container.product-licence-activation .activation-faq {
422
+ width: 75%;
423
+ }
424
+ }
425
 
426
  @media (min-width: 1200px) {
427
  .yit-container.product-licence-activation{
428
+ width: auto;
429
+ }
430
+
431
+ .yit-container.product-licence-activation .activation-faq {
432
+ width: 50%;
433
  }
434
  }
435
 
plugin-fw/licence/assets/js/yit-licence.js CHANGED
@@ -16,20 +16,21 @@
16
  button.on('click', function (e, button) {
17
  e.preventDefault();
18
 
19
- var t = $(this),
20
- form_id = t.data('formid'),
21
- form = $('#' + form_id),
22
- data = form.serialize(),
23
- message = $(form).find('.message'),
24
- message_wrapper = $(form).find('.message-wrapper'),
25
- email = form.find('.user-email'),
26
- licence_key = form.find('.licence-key'),
27
- email_val = form.find('.user-email').val(),
28
- licence_key_val = form.find('.licence-key').val(),
29
- error = false,
30
- error_fields = new Array(),
31
- product_row = form.find('.product-row'),
32
- spinner = $('h3.to-active').find('.spinner');
 
33
 
34
  /* Init Input Fields */
35
  message.empty();
@@ -38,17 +39,17 @@
38
  licence_key.removeClass('require');
39
  product_row.removeClass('error');
40
  spinner.addClass('show');
41
- t.prop("disabled", true).addClass('clicked');
42
 
43
  if ('' == email_val) {
44
  error = true;
45
- error_fields[ error_fields.length ] = 'Email';
46
  email.addClass('require');
47
  }
48
 
49
  if ('' == licence_key_val) {
50
  error = true;
51
- error_fields[ error_fields.length ] = 'Licence Key';
52
  licence_key.addClass('require');
53
  }
54
 
@@ -60,7 +61,7 @@
60
  success: function (response) {
61
 
62
  spinner.removeClass('show');
63
- t.prop("disabled", false).removeClass('clicked');
64
 
65
  if (true == response.activated) {
66
  $('.product-licence-activation').empty().replaceWith(response.template);
@@ -93,10 +94,10 @@
93
  }
94
 
95
  spinner.removeClass('show');
96
- t.prop("disabled", false).removeClass('clicked');
97
  }
98
  });
99
- }
100
 
101
  var licence_update = function (button) {
102
  button.on('click', function (e) {
@@ -119,21 +120,77 @@
119
  }
120
  });
121
  });
122
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
124
  var licence_api = function () {
125
- var button = $('.licence-activation'),
126
- check = $('.licence-check');
 
127
 
128
  licence_activation(button);
129
  licence_update(check);
130
- }
 
131
 
132
  licence_api();
133
 
134
  $('body').on('click', '.yit-changelog-button', function (e) {
135
  $('#TB_window').remove();
136
-
137
  });
138
 
139
  })(jQuery);
16
  button.on('click', function (e, button) {
17
  e.preventDefault();
18
 
19
+ var t = $(this),
20
+ form_id = t.data('formid'),
21
+ form = $('#' + form_id),
22
+ data = form.serialize(),
23
+ message = $(form).find('.message'),
24
+ message_wrapper = $(form).find('.message-wrapper'),
25
+ email = form.find('.user-email'),
26
+ licence_key = form.find('.licence-key'),
27
+ email_val = form.find('.user-email').val(),
28
+ licence_key_val = form.find('.licence-key').val(),
29
+ error = false,
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();
39
  licence_key.removeClass('require');
40
  product_row.removeClass('error');
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) {
51
  error = true;
52
+ error_fields[ error_fields.length ] = licence_message.license_key;
53
  licence_key.addClass('require');
54
  }
55
 
61
  success: function (response) {
62
 
63
  spinner.removeClass('show');
64
+ t.add(licence_activation).prop("disabled", false).removeClass('clicked');
65
 
66
  if (true == response.activated) {
67
  $('.product-licence-activation').empty().replaceWith(response.template);
94
  }
95
 
96
  spinner.removeClass('show');
97
+ t.add(licence_activation).prop("disabled", false).removeClass('clicked');
98
  }
99
  });
100
+ };
101
 
102
  var licence_update = function (button) {
103
  button.on('click', function (e) {
120
  }
121
  });
122
  });
123
+ };
124
+
125
+ var licence_deactivate = function (button) {
126
+ button.on('click', function (e) {
127
+ e.preventDefault();
128
+
129
+ var check = script_info.is_debug == true ? true : confirm( licence_message.are_you_sure );
130
+
131
+ if( check == true ){
132
+ var t = $(this),
133
+ licence_key = t.data('licence-key'),
134
+ licence_email = t.data('licence-email'),
135
+ product_init = t.data('product-init'),
136
+ action = t.data('action'),
137
+ renew = $('.licence-renew'),
138
+ deactive = $('.licence-deactive'),
139
+ message = $('#yith-licence-notice'),
140
+ activated_table = $('.activated-table');
141
+
142
+ t.add(renew).add(deactive).prop("disabled", true).addClass('clicked');
143
+ $('#activated-products').find('.spinner').addClass('show');
144
+
145
+ jQuery.ajax({
146
+ type : 'POST',
147
+ url : ajaxurl,
148
+ data : {
149
+ action: action,
150
+ licence_key: licence_key,
151
+ email: licence_email,
152
+ product_init: product_init
153
+ },
154
+ success: function (response) {
155
+ message.css( 'maxWidth', activated_table.width() );
156
+ if (false == response.activated && typeof response.error == 'undefined') {
157
+ $('.product-licence-activation').empty().replaceWith(response.template);
158
+ licence_api();
159
+ }
160
+
161
+ if (false == response.activated && typeof response.error != 'undefined') {
162
+ message.find('p.yith-licence-notice-message').html(response.error);
163
+ message.removeClass('notice-success').addClass('notice-error visible');
164
+ t.add(renew).add(deactive).add(renew).prop("disabled", false).removeClass('clicked');
165
+ $('#activated-products').find('.spinner').removeClass('show');
166
+ }
167
+
168
+ else if (false == response) {
169
+ message.find('p.yith-licence-notice-message').html(licence_message.server);
170
+ message.removeClass('notice-success').addClass('notice-error visible');
171
+ t.add(renew).add(deactive).add(renew).prop("disabled", false).removeClass('clicked');
172
+ $('#activated-products').find('.spinner').removeClass('show');
173
+ }
174
+ }
175
+ });
176
+ }
177
+ });
178
+ };
179
 
180
  var licence_api = function () {
181
+ var button = $('.licence-activation'),
182
+ check = $('.licence-check'),
183
+ deactivated = $('.licence-deactive');
184
 
185
  licence_activation(button);
186
  licence_update(check);
187
+ licence_deactivate(deactivated);
188
+ };
189
 
190
  licence_api();
191
 
192
  $('body').on('click', '.yit-changelog-button', function (e) {
193
  $('#TB_window').remove();
 
194
  });
195
 
196
  })(jQuery);
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -56,17 +56,48 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
56
  */
57
  protected $_api_uri_query_args = '?wc-api=software-api&request=%request%';
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  /**
60
  * Constructor
61
  *
62
  * @since 1.0
63
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
64
  */
65
- public function __construct(){
66
-
67
- if( defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG ){
68
- $this->_api_uri = 'http://dev.yithemes.com';
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  }
 
 
 
 
 
70
  }
71
 
72
  /**
@@ -114,7 +145,6 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
114
  return $home_url;
115
  }
116
 
117
-
118
  /**
119
  * Check if the request is ajax
120
  *
@@ -146,21 +176,20 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
146
 
147
  wp_enqueue_script( 'yit-licence', $script_path . '/licence/assets/js/' . $filename, array( 'jquery' ), '1.0.0', true );
148
  wp_enqueue_style( 'yit-theme-licence', $style_path . '/licence/assets/css/yit-licence.css' );
149
- }
150
 
151
- /**
152
- * Localize Scripts
153
- *
154
- * @return void
155
- *
156
- * @since 1.0
157
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
158
- */
159
- public function localize_script() {
160
  wp_localize_script( 'yit-licence', 'licence_message', array(
161
- 'error' => sprintf( _x( '%s field cannot be empty', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
162
- 'errors' => sprintf( __( '%s and %s fields cannot be empty', 'yith-plugin-fw' ), '%field_1%', '%field_2' ),
163
- 'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' )
 
 
 
 
 
 
 
 
164
  )
165
  );
166
  }
@@ -177,7 +206,6 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
177
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
178
  */
179
  public function activate() {
180
-
181
  $product_init = $_REQUEST['product_init'];
182
  $product = $this->get_product( $product_init );
183
 
@@ -190,7 +218,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
190
  );
191
 
192
  $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'activation' ) ) );
193
- $response = wp_remote_get( $api_uri );
194
 
195
  if ( is_wp_error( $response ) ) {
196
  $body = false;
@@ -203,13 +231,14 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
203
  if ( $body && is_array( $body ) && isset( $body['activated'] ) && $body['activated'] ) {
204
 
205
  $option[$product['product_id']] = array(
206
- 'email' => urldecode( $args['email'] ),
207
- 'licence_key' => $args['licence_key'],
208
- 'licence_expires' => $body['licence_expires'],
209
- 'message' => $body['message'],
210
- 'activated' => true,
211
- 'activation_limit' => $body['activation_limit'],
212
- 'activation_remaining' => $body['activation_remaining'],
 
213
  );
214
 
215
  /* === Check for other plugins activation === */
@@ -222,7 +251,74 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
222
  YIT_Upgrade()->force_regenerate_update_transient();
223
 
224
  /* === Licence Activation Template === */
225
- $body['template'] = $this->show_activation_panel();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
227
 
228
  wp_send_json( $body );
@@ -240,7 +336,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
240
  * @since 1.0
241
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
242
  */
243
- public function check( $product_init ) {
244
 
245
  $status = false;
246
  $body = false;
@@ -261,7 +357,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
261
  );
262
 
263
  $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'check' ) ) );
264
- $response = wp_remote_get( $api_uri );
265
 
266
  if ( ! is_wp_error( $response ) ) {
267
  $body = json_decode( $response['body'] );
@@ -279,6 +375,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
279
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
280
  $licence[ $product_id ]['activation_remaining'] = $body['activation_remaining'];
281
  $licence[ $product_id ]['activation_limit'] = $body['activation_limit'];
 
282
  $status = (bool) $body['activated'];
283
  }
284
  elseif ( isset( $body['code'] ) ) {
@@ -297,7 +394,8 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
297
  * 106 -> Licence key has expired
298
  * 107 -> Licence key has be banned
299
  *
300
- * Only code 101, 106 and 107 have effect on DB
 
301
  *
302
  */
303
 
@@ -308,15 +406,17 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
308
 
309
  case '106':
310
  $licence[ $product_id ]['activated'] = false;
311
- $licence[ $product_id ]['message'] = $body['additional_info'];
312
  $licence[ $product_id ]['status_code'] = $body['code'];
313
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
 
314
  break;
315
 
316
  case '107':
317
- $licence[ $product_id ]['activated'] = false;
318
- $licence[ $product_id ]['message'] = $body['additional_info'];
319
- $licence[ $product_id ]['status_code'] = $body['code'];
 
320
  break;
321
  }
322
  }
@@ -325,11 +425,28 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
325
  update_option( $this->_licence_option, $licence );
326
 
327
  /* === Update Plugin Licence Information === */
328
- YIT_Upgrade()->force_regenerate_update_transient();
 
 
329
  }
330
  return $status;
331
  }
332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  /**
334
  * Update Plugins Information
335
  *
@@ -342,17 +459,18 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
342
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
343
  */
344
  public function update_licence_information() {
345
- foreach ( $this->_products as $init => $info ) {
346
- $this->check( $init );
347
- }
348
 
349
  /* === Regenerate Update Plugins Transient === */
350
  YIT_Upgrade()->force_regenerate_update_transient();
351
 
352
  do_action( 'yit_licence_after_check' );
353
 
354
- $response['template'] = $this->show_activation_panel();
355
- wp_send_json( $response );
 
 
356
  }
357
 
358
  /**
@@ -363,7 +481,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
363
  * @since 1.0
364
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
365
  */
366
- public function show_activation_panel() {
367
 
368
  $path = defined( 'YIT_CORE_PLUGIN_PATH' ) ? YIT_CORE_PLUGIN_PATH : get_template_directory() . '/core/plugin-fw/';
369
 
@@ -542,20 +660,49 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
542
  * @since 1.0
543
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
544
  */
545
- public function get_error_code_message( $code ) {
546
-
547
- $error_strings = array(
548
- '100' => __( 'Invalid Request', 'yith-plugin-fw' ),
549
- '101' => __( 'Invalid licence key', 'yith-plugin-fw' ),
550
- '102' => __( 'Software has been deactivated', 'yith-plugin-fw' ),
551
- '103' => __( 'Maximum number of activations exceeded', 'yith-plugin-fw' ),
552
- '104' => __( 'Invalid instance ID', 'yith-plugin-fw' ),
553
- '105' => __( 'Invalid security key', 'yith-plugin-fw' ),
554
- '106' => __( 'Licence key has expired', 'yith-plugin-fw' ),
555
- '107' => __( 'Licence key has been banned', 'yith-plugin-fw' )
 
 
 
 
556
  );
557
 
558
- return isset( $error_strings[$code] ) ? $error_strings[$code] : false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  }
560
 
561
  }
56
  */
57
  protected $_api_uri_query_args = '?wc-api=software-api&request=%request%';
58
 
59
+
60
+ /**
61
+ * @var string check for show extra info
62
+ * @since 1.0
63
+ */
64
+ public $show_extra_info = false;
65
+
66
+ /**
67
+ * @var string check for show extra info
68
+ * @since 1.0
69
+ */
70
+ public $show_renew_button = true;
71
+
72
  /**
73
  * Constructor
74
  *
75
  * @since 1.0
76
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
77
  */
78
+ public function __construct() {
79
+ $is_debug_enabled = defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG;
80
+ if ( $is_debug_enabled ) {
81
+ $this->_api_uri = defined( 'YIT_LICENCE_DEBUG_LOCALHOST' ) ? YIT_LICENCE_DEBUG_LOCALHOST : 'http://dev.yithemes.com';
82
+ add_filter( 'block_local_requests', '__return_false' );
83
+ }
84
+
85
+ /* Style adn Script */
86
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
87
+ if( $is_debug_enabled ) {
88
+ //show extra info and renew button in debug mode
89
+ $this->show_extra_info = $this->show_renew_button = true;
90
+ }
91
+
92
+ else {
93
+ $this->show_extra_info = defined( 'YIT_SHOW_EXTRA_LICENCE_INFO' ) && YIT_SHOW_EXTRA_LICENCE_INFO;
94
+ $this->show_renew_button = ! ( defined( 'YIT_HIDE_LICENCE_RENEW_BUTTON' ) && YIT_HIDE_LICENCE_RENEW_BUTTON );
95
  }
96
+
97
+ /* Update Licence Information */
98
+ add_action( 'core_upgrade_preamble', array( $this, 'check_all' ) );
99
+ add_action( 'wp_maybe_auto_update', array( $this, 'check_all' ) );
100
+
101
  }
102
 
103
  /**
145
  return $home_url;
146
  }
147
 
 
148
  /**
149
  * Check if the request is ajax
150
  *
176
 
177
  wp_enqueue_script( 'yit-licence', $script_path . '/licence/assets/js/' . $filename, array( 'jquery' ), '1.0.0', true );
178
  wp_enqueue_style( 'yit-theme-licence', $style_path . '/licence/assets/css/yit-licence.css' );
 
179
 
180
+ /* Localize Scripts */
 
 
 
 
 
 
 
 
181
  wp_localize_script( 'yit-licence', 'licence_message', array(
182
+ 'error' => sprintf( _x( '%s field cannot be empty', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
183
+ 'errors' => sprintf( __( '%s and %s fields cannot be empty', 'yith-plugin-fw' ), '%field_1%', '%field_2%' ),
184
+ 'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' ),
185
+ 'email' => __( 'Email', 'yith-plugin-fw' ),
186
+ 'license_key' => __( 'License Key', 'yith-plugin-fw' ),
187
+ 'are_you_sure' => __( 'Are you sure you want to deactivate the license for current site?', 'yith-plugin-fw' )
188
+ )
189
+ );
190
+
191
+ wp_localize_script( 'yit-licence', 'script_info', array(
192
+ 'is_debug' => defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG
193
  )
194
  );
195
  }
206
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
207
  */
208
  public function activate() {
 
209
  $product_init = $_REQUEST['product_init'];
210
  $product = $this->get_product( $product_init );
211
 
218
  );
219
 
220
  $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'activation' ) ) );
221
+ $response = wp_remote_get( $api_uri, array( 'timeout' => 30 ) );
222
 
223
  if ( is_wp_error( $response ) ) {
224
  $body = false;
231
  if ( $body && is_array( $body ) && isset( $body['activated'] ) && $body['activated'] ) {
232
 
233
  $option[$product['product_id']] = array(
234
+ 'email' => urldecode( $args['email'] ),
235
+ 'licence_key' => $args['licence_key'],
236
+ 'licence_expires' => $body['licence_expires'],
237
+ 'message' => $body['message'],
238
+ 'activated' => true,
239
+ 'activation_limit' => $body['activation_limit'],
240
+ 'activation_remaining' => $body['activation_remaining'],
241
+ 'is_membership' => isset( $body['is_membership'] ) ? $body['is_membership'] : false,
242
  );
243
 
244
  /* === Check for other plugins activation === */
251
  YIT_Upgrade()->force_regenerate_update_transient();
252
 
253
  /* === Licence Activation Template === */
254
+ $body['template'] = $this->show_activation_panel( $this->get_response_code_message( 200 ) );
255
+ }
256
+
257
+ wp_send_json( $body );
258
+ }
259
+
260
+ /**
261
+ * Deactivate Plugins
262
+ *
263
+ * Send a request to API server to activate plugins
264
+ *
265
+ * @return void
266
+ * @use wp_send_json
267
+ *
268
+ * @since 1.0
269
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
270
+ */
271
+ public function deactivate() {
272
+ $product_init = $_REQUEST['product_init'];
273
+ $product = $this->get_product( $product_init );
274
+
275
+ $args = array(
276
+ 'email' => urlencode( sanitize_email( $_REQUEST['email'] ) ),
277
+ 'licence_key' => sanitize_text_field( $_REQUEST['licence_key'] ),
278
+ 'product_id' => sanitize_text_field( $product['product_id'] ),
279
+ 'secret_key' => sanitize_text_field( $product['secret_key'] ),
280
+ 'instance' => $this->get_home_url()
281
+ );
282
+
283
+ $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'deactivation' ) ) );
284
+ $response = wp_remote_get( $api_uri, array( 'timeout' => 30 ) );
285
+
286
+ if ( is_wp_error( $response ) ) {
287
+ $body = false;
288
+ }
289
+ else {
290
+ $body = json_decode( $response['body'] );
291
+ $body = is_object( $body ) ? get_object_vars( $body ) : false;
292
+ }
293
+
294
+ if ( $body && is_array( $body ) && isset( $body['activated'] ) && ! $body['activated'] && ! isset( $body['error'] ) ) {
295
+
296
+ $option[$product['product_id']] = array(
297
+ 'activated' => false,
298
+ 'email' => urldecode( $args['email'] ),
299
+ 'licence_key' => $args['licence_key'],
300
+ 'licence_expires' => $body['licence_expires'],
301
+ 'message' => $body['message'],
302
+ 'activation_limit' => $body['activation_limit'],
303
+ 'activation_remaining' => $body['activation_remaining'],
304
+ 'is_membership' => isset( $body['is_membership'] ) ? $body['is_membership'] : false,
305
+ );
306
+
307
+ /* === Check for other plugins activation === */
308
+ $options = $this->get_licence();
309
+ $options[$product['product_id']] = $option[$product['product_id']];
310
+
311
+ update_option( $this->_licence_option, $options );
312
+
313
+ /* === Update Plugin Licence Information === */
314
+ YIT_Upgrade()->force_regenerate_update_transient();
315
+
316
+ /* === Licence Activation Template === */
317
+ $body['template'] = $this->show_activation_panel( $this->get_response_code_message( 'deactivated', array( 'instance' => $body['instance'] ) ) );
318
+ }
319
+
320
+ else {
321
+ $body['error'] = $this->get_response_code_message( $body['code'] );
322
  }
323
 
324
  wp_send_json( $body );
336
  * @since 1.0
337
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
338
  */
339
+ public function check( $product_init, $regenerate_transient = true ) {
340
 
341
  $status = false;
342
  $body = false;
357
  );
358
 
359
  $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'check' ) ) );
360
+ $response = wp_remote_get( $api_uri, array( 'timeout' => 30 ) );
361
 
362
  if ( ! is_wp_error( $response ) ) {
363
  $body = json_decode( $response['body'] );
375
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
376
  $licence[ $product_id ]['activation_remaining'] = $body['activation_remaining'];
377
  $licence[ $product_id ]['activation_limit'] = $body['activation_limit'];
378
+ $licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
379
  $status = (bool) $body['activated'];
380
  }
381
  elseif ( isset( $body['code'] ) ) {
394
  * 106 -> Licence key has expired
395
  * 107 -> Licence key has be banned
396
  *
397
+ * Only code 101, 106 and 107 have effect on DB during activation
398
+ * All error code have effect on DB during deactivation
399
  *
400
  */
401
 
406
 
407
  case '106':
408
  $licence[ $product_id ]['activated'] = false;
409
+ $licence[ $product_id ]['message'] = $body['error'];
410
  $licence[ $product_id ]['status_code'] = $body['code'];
411
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
412
+ //$licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
413
  break;
414
 
415
  case '107':
416
+ $licence[ $product_id ]['activated'] = false;
417
+ $licence[ $product_id ]['message'] = $body['error'];
418
+ $licence[ $product_id ]['status_code'] = $body['code'];
419
+ //$licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
420
  break;
421
  }
422
  }
425
  update_option( $this->_licence_option, $licence );
426
 
427
  /* === Update Plugin Licence Information === */
428
+ if( $regenerate_transient ) {
429
+ YIT_Upgrade()->force_regenerate_update_transient();
430
+ }
431
  }
432
  return $status;
433
  }
434
 
435
+ /**
436
+ * Check for licence update
437
+ *
438
+ * @return void
439
+ * @since 2.5
440
+ *
441
+ * @use YIT_Theme_Licence->check()
442
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
443
+ */
444
+ public function check_all(){
445
+ foreach ( $this->_products as $init => $info ) {
446
+ $this->check( $init );
447
+ }
448
+ }
449
+
450
  /**
451
  * Update Plugins Information
452
  *
459
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
460
  */
461
  public function update_licence_information() {
462
+ /* Check licence information for alla products */
463
+ $this->check_all();
 
464
 
465
  /* === Regenerate Update Plugins Transient === */
466
  YIT_Upgrade()->force_regenerate_update_transient();
467
 
468
  do_action( 'yit_licence_after_check' );
469
 
470
+ if( $this->is_ajax() ) {
471
+ $response['template'] = $this->show_activation_panel();
472
+ wp_send_json( $response );
473
+ }
474
  }
475
 
476
  /**
481
  * @since 1.0
482
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
483
  */
484
+ public function show_activation_panel( $notice = '' ) {
485
 
486
  $path = defined( 'YIT_CORE_PLUGIN_PATH' ) ? YIT_CORE_PLUGIN_PATH : get_template_directory() . '/core/plugin-fw/';
487
 
660
  * @since 1.0
661
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
662
  */
663
+ public function get_response_code_message( $code, $args = array() ) {
664
+ extract( $args );
665
+
666
+ $messages = array(
667
+ '100' => __( 'Invalid Request', 'yith-plugin-fw' ),
668
+ '101' => __( 'Invalid license key', 'yith-plugin-fw' ),
669
+ '102' => __( 'Software has been deactivated', 'yith-plugin-fw' ),
670
+ '103' => __( 'Maximum number of activations exceeded', 'yith-plugin-fw' ),
671
+ '104' => __( 'Invalid instance ID', 'yith-plugin-fw' ),
672
+ '105' => __( 'Invalid security key', 'yith-plugin-fw' ),
673
+ '106' => __( 'License key has expired', 'yith-plugin-fw' ),
674
+ '107' => __( 'License key has been banned', 'yith-plugin-fw' ),
675
+ '108' => __( 'Current product is not included with your membership key', 'woocommerce-software-add-on' ),
676
+ '200' => sprintf( '<strong>%s</strong>! %s',__( 'Great', 'yith-plugin-fw' ), __( 'License successfully activated', 'yith-plugin-fw' ) ),
677
+ 'deactivated' => sprintf( '%s <strong>%s</strong>', __( 'License key deactivated for website', 'woocommerce-software-add-on' ), isset( $instance ) ? $instance : '' )
678
  );
679
 
680
+ return isset( $messages[$code] ) ? $messages[$code] : false;
681
+ }
682
+
683
+ /**
684
+ * Get the product name to display
685
+ *
686
+ * @param $product_name
687
+ *
688
+ * @return string the product name
689
+ *
690
+ * @since 2.2
691
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
692
+ */
693
+ public function display_product_name( $product_name ){
694
+ return str_replace( array( 'YITH', 'WooCommerce', 'Premium', 'Theme' ), '', $product_name );
695
+ }
696
+
697
+ public function get_number_of_membership_products(){
698
+ $activated_products = $this->get_activated_products();
699
+ $num_members_products_activate = 0;
700
+ foreach( $activated_products as $activated_product ){
701
+ if( isset( $activated_product['licence']['is_membership'] ) && $activated_product['licence']['is_membership'] ){
702
+ $num_members_products_activate++;
703
+ }
704
+ }
705
+ return $num_members_products_activate;
706
  }
707
 
708
  }
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -8,11 +8,11 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
- if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
- if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
16
  /**
17
  * YIT Plugin Licence Panel
18
  *
@@ -23,7 +23,6 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
26
-
27
  class YIT_Plugin_Licence extends YIT_Licence {
28
 
29
  /**
@@ -59,27 +58,26 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
59
  public function __construct() {
60
  parent::__construct();
61
 
62
- if ( ! is_admin() ) {
63
- return;
64
- }
65
 
66
  $this->_settings = array(
67
  'parent_page' => 'yit_plugin_panel',
68
- 'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
69
- 'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
70
  'capability' => 'manage_options',
71
  'page' => 'yith_plugins_activation',
72
  );
73
 
74
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
75
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
76
- add_action( 'admin_enqueue_scripts', array( $this, 'localize_script' ), 15 );
77
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
 
78
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
79
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
80
  }
81
 
82
-
83
  public function licence_after_check() {
84
  /* === Regenerate Update Plugins Transient === */
85
  YIT_Upgrade()->force_regenerate_update_transient();
@@ -133,16 +131,20 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
133
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
134
  */
135
  public function register( $plugin_init, $secret_key, $product_id ) {
136
- if ( ! function_exists( 'get_plugins' ) ) {
137
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
138
  }
139
 
140
  $plugins = get_plugins();
141
  $plugins[$plugin_init]['secret_key'] = $secret_key;
142
  $plugins[$plugin_init]['product_id'] = $product_id;
143
- $this->_products[$plugin_init] = $plugins[$plugin_init];
144
  }
145
- }
 
 
 
 
146
  }
147
 
148
  /**
@@ -152,7 +154,7 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
152
  * @since 1.0
153
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
154
  */
155
- if( ! function_exists( 'YIT_Plugin_Licence' ) ){
156
  function YIT_Plugin_Licence() {
157
  return YIT_Plugin_Licence::instance();
158
  }
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
+ if ( !defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
+ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
16
  /**
17
  * YIT Plugin Licence Panel
18
  *
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
 
26
  class YIT_Plugin_Licence extends YIT_Licence {
27
 
28
  /**
58
  public function __construct() {
59
  parent::__construct();
60
 
61
+ if ( !is_admin() ) {
62
+ return;
63
+ }
64
 
65
  $this->_settings = array(
66
  'parent_page' => 'yit_plugin_panel',
67
+ 'page_title' => __( 'License Activation', 'yith-plugin-fw' ),
68
+ 'menu_title' => __( 'License Activation', 'yith-plugin-fw' ),
69
  'capability' => 'manage_options',
70
  'page' => 'yith_plugins_activation',
71
  );
72
 
73
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
 
 
74
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
75
+ add_action( "wp_ajax_deactivate-{$this->_product_type}", array( $this, 'deactivate' ) );
76
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
77
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
78
  }
79
 
80
+
81
  public function licence_after_check() {
82
  /* === Regenerate Update Plugins Transient === */
83
  YIT_Upgrade()->force_regenerate_update_transient();
131
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
132
  */
133
  public function register( $plugin_init, $secret_key, $product_id ) {
134
+ if ( !function_exists( 'get_plugins' ) ) {
135
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
136
  }
137
 
138
  $plugins = get_plugins();
139
  $plugins[$plugin_init]['secret_key'] = $secret_key;
140
  $plugins[$plugin_init]['product_id'] = $product_id;
141
+ $this->_products[$plugin_init] = $plugins[$plugin_init];
142
  }
143
+
144
+ public function get_product_type() {
145
+ return $this->_product_type;
146
+ }
147
+ }
148
  }
149
 
150
  /**
154
  * @since 1.0
155
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
156
  */
157
+ if ( !function_exists( 'YIT_Plugin_Licence' ) ) {
158
  function YIT_Plugin_Licence() {
159
  return YIT_Plugin_Licence::instance();
160
  }
plugin-fw/licence/lib/yit-theme-licence.php CHANGED
@@ -8,11 +8,11 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
- if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
- if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
16
  /**
17
  * YIT Plugin Licence Panel
18
  *
@@ -23,7 +23,6 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
26
-
27
  class YIT_Theme_Licence extends YIT_Licence {
28
 
29
  /**
@@ -50,6 +49,12 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
50
  */
51
  protected $_product_type = 'theme';
52
 
 
 
 
 
 
 
53
  /**
54
  * Constructor
55
  *
@@ -61,16 +66,15 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
61
 
62
  $this->_settings = array(
63
  'parent_page' => 'yit_product_panel',
64
- 'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
65
- 'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
66
  'capability' => 'manage_options',
67
  'page' => 'yith_plugins_activation',
68
  );
69
 
70
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
71
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
72
- add_action( 'admin_enqueue_scripts', array( $this, 'localize_script' ), 15 );
73
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
 
74
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
75
  }
76
 
@@ -101,15 +105,15 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
101
  public function add_submenu_page() {
102
 
103
  $admin_tree = array(
104
- 'parent_slug' => apply_filters( 'yit_licence_parent_slug', 'yit_panel'),
105
- 'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
106
- 'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
107
- 'capability' => 'manage_options',
108
- 'menu_slug' => 'yit_panel_licence',
109
- 'function' => 'show_activation_panel'
110
- );
111
-
112
- add_submenu_page( $admin_tree['parent_slug'],
113
  sprintf( __( '%s', 'yith-plugin-fw' ), $admin_tree['page_title'] ),
114
  sprintf( __( '%s', 'yith-plugin-fw' ), $admin_tree['menu_title'] ),
115
  $admin_tree['capability'],
@@ -122,8 +126,8 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
122
  * Premium product registration
123
  *
124
  * @param $product_init | string | The product init file
125
- * @param $secret_key | string | The product secret key
126
- * @param $product_id | string | The product slug (product_id)
127
  *
128
  * @return void
129
  *
@@ -131,11 +135,44 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
131
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
132
  */
133
  public function register( $product_init, $secret_key, $product_id ) {
134
- $theme = wp_get_theme();
135
- $products[$product_init]['Name'] = $theme->Name;
136
- $products[$product_init]['secret_key'] = $secret_key;
137
- $products[$product_init]['product_id'] = $product_id;
138
- $this->_products[$product_init] = $products[$product_init];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  }
140
  }
141
  }
@@ -147,7 +184,7 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
147
  * @since 1.0
148
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
149
  */
150
- if( ! function_exists( 'YIT_Theme_Licence' ) ){
151
  function YIT_Theme_Licence() {
152
  return YIT_Theme_Licence::instance();
153
  }
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
+ if ( !defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
+ if ( !class_exists( 'YIT_Theme_Licence' ) ) {
16
  /**
17
  * YIT Plugin Licence Panel
18
  *
23
  * @since 1.0
24
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
25
  */
 
26
  class YIT_Theme_Licence extends YIT_Licence {
27
 
28
  /**
49
  */
50
  protected $_product_type = 'theme';
51
 
52
+ /**
53
+ * @var string Old theme licence works until 28 January 2016
54
+ * @since 1.0
55
+ */
56
+ protected $_old_licence_expires = 1453939200; //28 January 2016
57
+
58
  /**
59
  * Constructor
60
  *
66
 
67
  $this->_settings = array(
68
  'parent_page' => 'yit_product_panel',
69
+ 'page_title' => __( 'License Activation', 'yith-plugin-fw' ),
70
+ 'menu_title' => __( 'License Activation', 'yith-plugin-fw' ),
71
  'capability' => 'manage_options',
72
  'page' => 'yith_plugins_activation',
73
  );
74
 
75
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
 
 
76
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
77
+ add_action( "wp_ajax_deactivate-{$this->_product_type}", array( $this, 'deactivate' ) );
78
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
79
  }
80
 
105
  public function add_submenu_page() {
106
 
107
  $admin_tree = array(
108
+ 'parent_slug' => apply_filters( 'yit_licence_parent_slug', 'yit_panel' ),
109
+ 'page_title' => __( 'License Activation', 'yith-plugin-fw' ),
110
+ 'menu_title' => __( 'License Activation', 'yith-plugin-fw' ),
111
+ 'capability' => 'manage_options',
112
+ 'menu_slug' => 'yit_panel_license',
113
+ 'function' => 'show_activation_panel'
114
+ );
115
+
116
+ add_submenu_page( $admin_tree['parent_slug'],
117
  sprintf( __( '%s', 'yith-plugin-fw' ), $admin_tree['page_title'] ),
118
  sprintf( __( '%s', 'yith-plugin-fw' ), $admin_tree['menu_title'] ),
119
  $admin_tree['capability'],
126
  * Premium product registration
127
  *
128
  * @param $product_init | string | The product init file
129
+ * @param $secret_key | string | The product secret key
130
+ * @param $product_id | string | The product slug (product_id)
131
  *
132
  * @return void
133
  *
135
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
136
  */
137
  public function register( $product_init, $secret_key, $product_id ) {
138
+ $theme = wp_get_theme();
139
+ $products[$product_init]['Name'] = $theme->Name;
140
+ $products[$product_init]['secret_key'] = $secret_key;
141
+ $products[$product_init]['product_id'] = $product_id;
142
+ $this->_products[$product_init] = $products[$product_init];
143
+ }
144
+
145
+ /**
146
+ * Check for old licence
147
+ *
148
+ * @return bool True for old licence period, false otherwise
149
+ * @since 2.2
150
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
151
+ */
152
+ public function show_old_licence_message() {
153
+ return time() < $this->_old_licence_expires;
154
+ }
155
+
156
+ public function get_old_licence_message() {
157
+ ob_start(); ?>
158
+ <div class="activation-faq">
159
+ <h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yith-plugin-fw' ) ?></h3>
160
+
161
+ <p>
162
+ <?php
163
+ _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
164
+ until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
165
+ After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
166
+ provided with and that you can find in your YIThemes account, in section "My licenses".', 'yith-plugin-fw' )
167
+ ?>
168
+ </p>
169
+ </div>
170
+ <?php
171
+ echo ob_get_clean();
172
+ }
173
+
174
+ public function get_product_type() {
175
+ return $this->_product_type;
176
  }
177
  }
178
  }
184
  * @since 1.0
185
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
186
  */
187
+ if ( !function_exists( 'YIT_Theme_Licence' ) ) {
188
  function YIT_Theme_Licence() {
189
  return YIT_Theme_Licence::instance();
190
  }
plugin-fw/licence/templates/panel/activation/activation-panel.php CHANGED
@@ -8,45 +8,40 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
- $to_active_products = $this->get_to_active_products();
12
- $activated_products = $this->get_activated_products();
13
- $no_active_products = $this->get_no_active_licence_key();
14
- $expired_products = isset( $no_active_products[ '106' ] ) ? $no_active_products[ '106' ] : array();
15
- $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_products[ '107' ] : array();
 
 
 
 
16
  ?>
17
 
18
  <div class="yit-container product-licence-activation">
19
- <h2><?php _e( 'Yithemes Licence Activation', 'yith-plugin-fw' ) ?></h2>
20
-
21
- <?php if( is_a( $this, 'YIT_Theme_Licence' ) ) : ?>
22
- <div class="activation-faq">
23
- <h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yith-plugin-fw' ) ?></h3>
24
- <p>
25
- <?php
26
- _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
27
- until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
28
- After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
29
- provided with and that you can find in your YIThemes account, in section "My licenses".', 'yith-plugin-fw' )
30
- ?>
31
- </p>
32
- </div>
33
- <?php endif; ?>
34
 
35
  <div class="licence-check-section">
36
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
37
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yith-plugin-fw' ); ?></span>
38
- <input type="hidden" name="action" value="update_licence_information-<?php echo $this->_product_type ?>" />
39
- <input type="submit" name="submit" value="<?php _e( 'Update licence information', 'yith-plugin-fw' ) ?>" class="button-licence licence-check" />
40
  <div class="spinner"></div>
41
  </form>
42
  </div>
43
 
44
- <!-- To Active Products -->
 
 
45
 
 
46
 
47
  <?php if( ! empty( $to_active_products ) ) : ?>
48
- <h3 class="to-active">
49
- <?php _e( 'Products to be activated', 'yith-plugin-fw' ) ?>
50
  <span class="spinner"></span>
51
  </h3>
52
  <div class="to-active-wrapper">
@@ -56,23 +51,22 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
56
  <tbody>
57
  <tr class="product-row">
58
  <td class="product-name">
59
- <?php echo $info['Name'] ?>
60
  </td>
61
  <td>
62
  <input type="email" name="email" placeholder="Your email on Yithemes.com" value="" class="user-email" />
63
  </td>
64
  <td>
65
- <input type="text" name="licence_key" placeholder="Licence Key" value="" class="licence-key" />
66
  </td>
67
  <td class="activate-button">
68
  <input type="submit" name="submit" value="<?php _e( 'Activate', 'yith-plugin-fw' )?>" class="button-licence licence-activation" data-formid="<?php echo $info['product_id'] ?>"/>
69
  </td>
70
  </tr>
71
- <input type="hidden" name="action" value="activate-<?php echo $this->_product_type ?>" />
72
  <input type="hidden" name="product_init" value="<?php echo $init ?>" />
73
  </tbody>
74
  </table>
75
- <div class="spinner"></div>
76
  <div class="message-wrapper">
77
  <span class="message arrow-left"></span>
78
  </div>
@@ -84,29 +78,78 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
84
  <!-- Activated Products -->
85
 
86
  <?php if( ! empty( $activated_products ) ) : ?>
87
- <h3><?php _e( 'Activated', 'yith-plugin-fw' ) ?></h3>
88
- <table class="expired-table">
 
 
 
89
  <thead>
90
  <tr>
91
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
92
- <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
93
- <th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
 
 
 
94
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
95
- <th><?php _e( 'Remaining', 'yith-plugin-fw' ) ?></th>
96
- <th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
 
 
 
 
 
 
 
97
  </tr>
98
  </thead>
99
  <tbody>
100
  <?php foreach( $activated_products as $init => $info ) : ?>
101
  <tr>
102
- <td class="product-name"><?php echo $info['Name'] ?></td>
103
- <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
104
- <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
105
- <td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
106
- <td class="product-licence-remaining">
107
- <?php printf( __( '%1s out of %2s', 'yith-plugin-fw' ), $info['licence']['activation_remaining'], $info['licence']['activation_limit'] ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  </td>
109
- <td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', 'yith-plugin-fw' ) ?></a></td>
110
  </tr>
111
  <?php endforeach; ?>
112
  </tbody>
@@ -121,16 +164,22 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
121
  <thead>
122
  <tr>
123
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
124
- <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
125
- <th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
 
 
126
  </tr>
127
  </thead>
128
  <tbody>
129
  <?php foreach( $banned_products as $init => $info ) : ?>
130
  <tr>
131
- <td class="product-name"><?php echo $info['Name'] ?></td>
132
- <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
133
- <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
 
 
 
 
134
  </tr>
135
  <?php endforeach; ?>
136
  </tbody>
@@ -145,20 +194,44 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
145
  <thead>
146
  <tr>
147
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
148
- <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
149
- <th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
 
 
 
 
150
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
151
- <th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
 
 
 
152
  </tr>
153
  </thead>
154
  <tbody>
155
  <?php foreach( $expired_products as $init => $info ) : ?>
156
  <tr>
157
- <td class="product-name"><?php echo $info['Name'] ?></td>
158
- <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
159
- <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
 
 
 
 
 
 
160
  <td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
161
- <td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', 'yith-plugin-fw' ) ?></a></td>
 
 
 
 
 
 
 
 
 
 
 
162
  </tr>
163
  <?php endforeach; ?>
164
  </tbody>
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
+ $to_active_products = $this->get_to_active_products();
12
+ $activated_products = $this->get_activated_products();
13
+ $no_active_products = $this->get_no_active_licence_key();
14
+ $expired_products = isset( $no_active_products[ '106' ] ) ? $no_active_products[ '106' ] : array();
15
+ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_products[ '107' ] : array();
16
+ $notice = isset( $notice ) ? $notice : '';
17
+ $notice_class = ! empty( $notice ) ? 'notice notice-success visible' : 'notice notice-success';
18
+ $to_activate_check = $this instanceof YIT_Theme_Licence ? 1 : 2;
19
+ $num_members_products_activate = $this->get_number_of_membership_products();
20
  ?>
21
 
22
  <div class="yit-container product-licence-activation">
23
+ <h2><?php _e( 'Yithemes License Activation', 'yith-plugin-fw' ) ?></h2>
24
+
25
+ <?php $this instanceof YIT_Theme_Licence && $this->show_old_licence_message() && $this->get_old_licence_message(); ?>
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  <div class="licence-check-section">
28
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
29
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yith-plugin-fw' ); ?></span>
30
+ <input type="hidden" name="action" value="update_licence_information-<?php echo $this->get_product_type(); ?>" />
31
+ <input type="submit" name="submit" value="<?php _e( 'Update license information', 'yith-plugin-fw' ) ?>" class="button-licence licence-check" />
32
  <div class="spinner"></div>
33
  </form>
34
  </div>
35
 
36
+ <div id="yith-licence-notice" class="<?php echo $notice_class ?>">
37
+ <p class="yith-licence-notice-message"><?php echo $notice ?></p>
38
+ </div>
39
 
40
+ <!-- To Active Products -->
41
 
42
  <?php if( ! empty( $to_active_products ) ) : ?>
43
+ <h3 id="products-to-active" class="to-active">
44
+ <?php echo _n( 'Product to activate', 'Products to activate', $to_activate_check, 'yith-plugin-fw' ) ?>
45
  <span class="spinner"></span>
46
  </h3>
47
  <div class="to-active-wrapper">
51
  <tbody>
52
  <tr class="product-row">
53
  <td class="product-name">
54
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
55
  </td>
56
  <td>
57
  <input type="email" name="email" placeholder="Your email on Yithemes.com" value="" class="user-email" />
58
  </td>
59
  <td>
60
+ <input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key" />
61
  </td>
62
  <td class="activate-button">
63
  <input type="submit" name="submit" value="<?php _e( 'Activate', 'yith-plugin-fw' )?>" class="button-licence licence-activation" data-formid="<?php echo $info['product_id'] ?>"/>
64
  </td>
65
  </tr>
66
+ <input type="hidden" name="action" value="activate-<?php echo $this->get_product_type(); ?>" />
67
  <input type="hidden" name="product_init" value="<?php echo $init ?>" />
68
  </tbody>
69
  </table>
 
70
  <div class="message-wrapper">
71
  <span class="message arrow-left"></span>
72
  </div>
78
  <!-- Activated Products -->
79
 
80
  <?php if( ! empty( $activated_products ) ) : ?>
81
+ <h3 id="activated-products">
82
+ <?php _e( 'Activated', 'yith-plugin-fw' ) ?>
83
+ <span class="spinner"></span>
84
+ </h3>
85
+ <table class="activated-table">
86
  <thead>
87
  <tr>
88
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
89
+ <?php if( $this->show_extra_info ) : ?>
90
+ <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
91
+ <th><?php _e( 'License Key', 'yith-plugin-fw' ) ?></th>
92
+ <?php endif; ?>
93
+
94
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
95
+
96
+ <?php if( $this->show_extra_info ) : ?>
97
+ <th><?php _e( 'Remaining', 'yith-plugin-fw' ) ?></th>
98
+ <?php if( $num_members_products_activate ) : ?>
99
+ <th><?php _e( 'Membership', 'yith-plugin-fw' ) ?></th>
100
+ <?php endif; ?>
101
+ <?php endif; ?>
102
+
103
+ <th><?php _e( 'License Actions', 'yith-plugin-fw' ) ?></th>
104
  </tr>
105
  </thead>
106
  <tbody>
107
  <?php foreach( $activated_products as $init => $info ) : ?>
108
  <tr>
109
+ <td class="product-name">
110
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
111
+ </td>
112
+
113
+ <?php if( $this->show_extra_info ) : ?>
114
+ <td class="product-licence-email">
115
+ <?php echo $info['licence']['email'] ?>
116
+ </td>
117
+ <td class="product-licence-key">
118
+ <?php echo $info['licence']['licence_key'] ?>
119
+ </td>
120
+ <?php endif; ?>
121
+
122
+ <td class="product-licence-expires">
123
+ <?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?>
124
+ </td>
125
+
126
+ <?php if( $this->show_extra_info ) : ?>
127
+ <td class="product-licence-remaining">
128
+ <?php printf( __( '%1s out of %2s', 'yith-plugin-fw' ), $info['licence']['activation_remaining'], $info['licence']['activation_limit'] ); ?>
129
+ </td>
130
+ <?php if( $num_members_products_activate ) : ?>
131
+ <td class="product-licence-membership">
132
+ <span class="dashicons dashicons-<?php echo $info['licence']['is_membership'] ? 'yes' : 'no-alt' ?>"></span>
133
+ </td>
134
+ <?php endif; ?>
135
+ <?php endif; ?>
136
+
137
+ <td>
138
+ <a class="button-licence licence-deactive"
139
+ href="#"
140
+ data-licence-email="<?php echo $info['licence']['email'] ?>"
141
+ data-licence-key="<?php echo $info['licence']['licence_key'] ?>"
142
+ data-product-init="<?php echo $init ?>"
143
+ data-action="deactivate-<?php echo $this->get_product_type(); ?>">
144
+ <?php _e( 'Deactivate', 'yith-plugin-fw' ) ?>
145
+ </a>
146
+
147
+ <?php if( ! $info['licence']['is_membership'] && $this->show_renew_button ) : ?>
148
+ <a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank">
149
+ <?php _e( 'Renew', 'yith-plugin-fw' ) ?>
150
+ </a>
151
+ <?php endif; ?>
152
  </td>
 
153
  </tr>
154
  <?php endforeach; ?>
155
  </tbody>
164
  <thead>
165
  <tr>
166
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
167
+ <?php if( $this->show_extra_info ) : ?>
168
+ <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
169
+ <th><?php _e( 'License Key', 'yith-plugin-fw' ) ?></th>
170
+ <?php endif; ?>
171
  </tr>
172
  </thead>
173
  <tbody>
174
  <?php foreach( $banned_products as $init => $info ) : ?>
175
  <tr>
176
+ <td class="product-name">
177
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
178
+ </td>
179
+ <?php if( $this->show_extra_info ) : ?>
180
+ <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
181
+ <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
182
+ <?php endif; ?>
183
  </tr>
184
  <?php endforeach; ?>
185
  </tbody>
194
  <thead>
195
  <tr>
196
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
197
+
198
+ <?php if( $this->show_extra_info ) : ?>
199
+ <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
200
+ <th><?php _e( 'License Key', 'yith-plugin-fw' ) ?></th>
201
+ <?php endif; ?>
202
+
203
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
204
+
205
+ <?php if( $this->show_renew_button ) : ?>
206
+ <th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
207
+ <?php endif; ?>
208
  </tr>
209
  </thead>
210
  <tbody>
211
  <?php foreach( $expired_products as $init => $info ) : ?>
212
  <tr>
213
+ <td class="product-name">
214
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
215
+ </td>
216
+
217
+ <?php if( $this->show_extra_info ) : ?>
218
+ <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
219
+ <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
220
+ <?php endif; ?>
221
+
222
  <td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
223
+
224
+ <?php if( $this->show_renew_button ) : ?>
225
+ <td>
226
+ <a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank">
227
+ <?php if( $info['licence']['is_membership'] ) : ?>
228
+ <?php _e( 'Order again', 'yith-plugin-fw' ) ?>
229
+ <?php else : ?>
230
+ <?php __( 'Renew license', 'yith-plugin-fw' ) ?>
231
+ <?php endif; ?>
232
+ </a>
233
+ </td>
234
+ <?php endif; ?>
235
  </tr>
236
  <?php endforeach; ?>
237
  </tbody>
plugin-fw/templates/metaboxes/types/number.php CHANGED
@@ -14,12 +14,25 @@ if ( ! defined( 'ABSPATH' ) ) {
14
 
15
  extract( $args );
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ?>
18
  <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
19
  <div class="rm_number">
20
  <label for="<?php echo $id ?>"><?php echo $label ?></label>
21
  <span class="field">
22
- <input class="number" type="text" id="<?php echo $id ?>" name="<?php echo $name ?>" <?php echo $min.' '.$max ?> value="<?php echo esc_attr( $value ) ?>" <?php if( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>" />
23
  <?php yit_string( '<span class="description">', $desc, '</span>' ); ?>
24
  </span>
25
  </div>
14
 
15
  extract( $args );
16
 
17
+ $min_max_attr = $step_attr = '';
18
+
19
+ if( isset( $min ) ){
20
+ $min_max_attr .= " min='{$min}'";
21
+ }
22
+
23
+ if( isset( $max ) ){
24
+ $min_max_attr .= " max='{$max}'";
25
+ }
26
+
27
+ if( isset( $step ) ){
28
+ $step_attr .= "step='{$step}'";
29
+ }
30
  ?>
31
  <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
32
  <div class="rm_number">
33
  <label for="<?php echo $id ?>"><?php echo $label ?></label>
34
  <span class="field">
35
+ <input class="number" type="text" id="<?php echo $id ?>" name="<?php echo $name ?>" <?php echo $step_attr ?> <?php echo $min_max_attr ?> value="<?php echo esc_attr( $value ) ?>" <?php if( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>" />
36
  <?php yit_string( '<span class="description">', $desc, '</span>' ); ?>
37
  </span>
38
  </div>
plugin-fw/templates/panel/types/upload.php CHANGED
@@ -26,9 +26,10 @@ $name = $this->get_name_field( $option['id'] );
26
  ?>
27
  <div id="<?php echo $id ?>-container" >
28
  <div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
29
- <div class="option">
30
  <input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo $db_value == '1' ? '' : esc_attr( $db_value ) ?>" class="upload_img_url" />
31
  <input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
 
32
  </div>
33
  <div class="clear"></div>
34
  <span class="description"><?php echo $option['desc'] ?></span>
26
  ?>
27
  <div id="<?php echo $id ?>-container" >
28
  <div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
29
+ <div class="option yit-upload">
30
  <input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo $db_value == '1' ? '' : esc_attr( $db_value ) ?>" class="upload_img_url" />
31
  <input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
32
+ <input type="button" value="<?php _e( 'Reset', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button_reset" class="upload_button_reset button" data-default="<?php echo $option['std'] ?>"/>
33
  </div>
34
  <div class="clear"></div>
35
  <span class="description"><?php echo $option['desc'] ?></span>
plugin-fw/yit-functions.php CHANGED
@@ -8,11 +8,11 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
- if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
- if ( ! function_exists( 'yit_plugin_locate_template' ) ) {
16
  /**
17
  * Locate the templates and return the path of the file found
18
  *
@@ -23,12 +23,12 @@ if ( ! function_exists( 'yit_plugin_locate_template' ) ) {
23
  * @return string
24
  * @since 2.0.0
25
  */
26
- function yit_plugin_locate_template( $plugin_basename, $path, $var = NULL ) {
27
 
28
  $template_path = '/theme/templates/' . $path;
29
 
30
- $located = locate_template( array(
31
- $template_path
32
  ) );
33
 
34
  if ( ! $located ) {
@@ -40,7 +40,7 @@ if ( ! function_exists( 'yit_plugin_locate_template' ) ) {
40
 
41
  }
42
 
43
- if ( ! function_exists( 'yit_plugin_get_template' ) ) {
44
  /**
45
  * Retrieve a template file.
46
  *
@@ -52,30 +52,30 @@ if ( ! function_exists( 'yit_plugin_get_template' ) ) {
52
  * @return string
53
  * @since 2.0.0
54
  */
55
- function yit_plugin_get_template( $plugin_basename, $path, $var = null, $return = false ) {
56
 
57
- $located = yit_plugin_locate_template( $plugin_basename, $path, $var );
58
 
59
- if ( $var && is_array( $var ) ) {
60
- extract( $var );
61
  }
62
 
63
  if ( $return ) {
64
- ob_start();
65
  }
66
 
67
  // include file located
68
- if( file_exists( $located ) ){
69
- include( $located );
70
  }
71
 
72
  if ( $return ) {
73
- return ob_get_clean();
74
  }
75
  }
76
  }
77
 
78
- if ( ! function_exists( 'yit_plugin_content' ) ) {
79
  /**
80
  * Return post content with read more link (if needed)
81
  *
@@ -88,85 +88,79 @@ if ( ! function_exists( 'yit_plugin_content' ) ) {
88
  * @return string
89
  * @since 2.0.0
90
  */
91
- function yit_plugin_content( $what = 'content', $limit = 25, $more_text = '', $split = '[...]', $in_paragraph = 'true' ) {
92
  if ( $what == 'content' ) {
93
- $content = get_the_content( $more_text );
94
- }
95
- else {
96
  if ( $what == 'excerpt' ) {
97
- $content = get_the_excerpt();
98
- }
99
- else {
100
  $content = $what;
101
  }
102
  }
103
 
104
  if ( $limit == 0 ) {
105
  if ( $what == 'excerpt' ) {
106
- $content = apply_filters( 'the_excerpt', $content );
107
- }
108
- else {
109
- $content = preg_replace( '/<img[^>]+./', '', $content ); //remove images
110
- $content = apply_filters( 'the_content', $content );
111
- $content = str_replace( ']]>', ']]&gt;', $content );
112
  }
113
 
114
  return $content;
115
  }
116
 
117
  // remove the tag more from the content
118
- if ( preg_match( "/<(a)[^>]*class\s*=\s*(['\"])more-link\\2[^>]*>(.*?)<\/\\1>/", $content, $matches ) ) {
119
 
120
- if ( strpos( $matches[0], '[button' ) ) {
121
- $more_link = str_replace( 'href="#"', 'href="' . get_permalink() . '"', do_shortcode( $matches[3] ) );
122
- }
123
- else {
124
- $more_link = $matches[0];
125
  }
126
 
127
- $content = str_replace( $more_link, '', $content );
128
  $split = '';
129
  }
130
 
131
  if ( empty( $content ) ) {
132
  return;
133
  }
134
- $content = explode( ' ', $content );
135
 
136
  if ( ! empty( $more_text ) && ! isset( $more_link ) ) {
137
  //array_pop( $content );
138
- $more_link = strpos( $more_text, '<a class="btn"' ) ? $more_text : '<a class="read-more' . apply_filters( 'yit_simple_read_more_classes', ' ' ) . '" href="' . get_permalink() . '">' . $more_text . '</a>';
139
  $split = '';
140
- }
141
- elseif ( ! isset( $more_link ) ) {
142
  $more_link = '';
143
  }
144
 
145
  // split
146
- if ( count( $content ) >= $limit ) {
147
  $split_content = '';
148
  for ( $i = 0; $i < $limit; $i ++ ) {
149
- $split_content .= $content[$i] . ' ';
150
  }
151
 
152
  $content = $split_content . $split;
153
- }
154
- else {
155
- $content = implode( " ", $content );
156
  }
157
 
158
  // TAGS UNCLOSED
159
- $tags = array();
160
  // get all tags opened
161
- preg_match_all( "/(<([\w]+)[^>]*>)/", $content, $tags_opened, PREG_SET_ORDER );
162
  foreach ( $tags_opened as $tag ) {
163
- $tags[] = $tag[2];
164
  }
165
 
166
  // get all tags closed and remove it from the tags opened.. the rest will be closed at the end of the content
167
- preg_match_all( "/(<\/([\w]+)[^>]*>)/", $content, $tags_closed, PREG_SET_ORDER );
168
  foreach ( $tags_closed as $tag ) {
169
- unset( $tags[array_search( $tag[2], $tags )] );
170
  }
171
 
172
  // close the tags
@@ -178,16 +172,16 @@ if ( ! function_exists( 'yit_plugin_content' ) ) {
178
 
179
  //$content = preg_replace( '/\[.+\]/', '', $content );
180
  if ( $in_paragraph == true ): $content .= $more_link; endif;
181
- $content = preg_replace( '/<img[^>]+./', '', $content ); //remove images
182
- $content = apply_filters( 'the_content', $content );
183
- $content = str_replace( ']]>', ']]&gt;', $content ); // echo str_replace( array( '<', '>' ), array( '&lt;', '&gt;' ), $content );
184
  if ( $in_paragraph == false ): $content .= $more_link; endif;
185
 
186
  return $content;
187
  }
188
  }
189
 
190
- if ( ! function_exists( 'yit_plugin_string' ) ) {
191
  /**
192
  * Simple echo a string, with a before and after string, only if the main string is not empty.
193
  *
@@ -199,10 +193,10 @@ if ( ! function_exists( 'yit_plugin_string' ) ) {
199
  * @return string The complete string, if the main string is not empty or null
200
  * @since 2.0.0
201
  */
202
- function yit_plugin_string( $before = '', $string = '', $after = '', $echo = true ) {
203
  $html = '';
204
 
205
- if ( $string != '' AND ! is_null( $string ) ) {
206
  $html = $before . $string . $after;
207
  }
208
 
@@ -214,7 +208,7 @@ if ( ! function_exists( 'yit_plugin_string' ) ) {
214
  }
215
  }
216
 
217
- if ( ! function_exists( 'yit_plugin_decode_title' ) ) {
218
  /**
219
  * Change some special characters to put easily html into a string
220
  *
@@ -228,14 +222,14 @@ if ( ! function_exists( 'yit_plugin_decode_title' ) ) {
228
  *
229
  * @since 1.0
230
  */
231
- function yit_plugin_decode_title( $title ) {
232
- $replaces = apply_filters( 'yit_title_special_characters', array() );
233
 
234
- return preg_replace( array_keys( $replaces ), array_values( $replaces ), $title );
235
  }
236
  }
237
 
238
- if ( ! function_exists( 'yit_plugin_get_attachment_id' ) ) {
239
 
240
  /**
241
  * Return the ID of an attachment.
@@ -247,49 +241,49 @@ if ( ! function_exists( 'yit_plugin_get_attachment_id' ) ) {
247
  * @since 2.0.0
248
  */
249
 
250
- function yit_plugin_get_attachment_id( $url ) {
251
 
252
- $upload_dir = wp_upload_dir();
253
- $dir = trailingslashit( $upload_dir['baseurl'] );
254
 
255
- if ( false === strpos( $url, $dir ) ) {
256
  return false;
257
  }
258
 
259
- $file = basename( $url );
260
 
261
- $query = array(
262
  'post_type' => 'attachment',
263
  'fields' => 'ids',
264
- 'meta_query' => array(
265
- array(
266
  'value' => $file,
267
  'compare' => 'LIKE',
268
- )
269
- )
270
  );
271
 
272
- $query['meta_query'][0]['key'] = '_wp_attached_file';
273
- $ids = get_posts( $query );
274
 
275
  foreach ( $ids as $id ) {
276
- $attachment_image = wp_get_attachment_image_src( $id, 'full' );
277
- if ( $url == array_shift( $attachment_image ) || $url == str_replace( 'https://', 'http://', array_shift( $attachment_image ) ) ) {
278
  return $id;
279
  }
280
  }
281
- $query['meta_query'][0]['key'] = '_wp_attachment_metadata';
282
- $ids = get_posts( $query );
283
 
284
  foreach ( $ids as $id ) {
285
 
286
- $meta = wp_get_attachment_metadata( $id );
287
- if ( ! isset( $meta['sizes'] ) ) {
288
  continue;
289
  }
290
 
291
- foreach ( (array) $meta['sizes'] as $size => $values ) {
292
- if ( $values['file'] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
293
 
294
  return $id;
295
  }
@@ -300,7 +294,7 @@ if ( ! function_exists( 'yit_plugin_get_attachment_id' ) ) {
300
  }
301
  }
302
 
303
- if ( ! function_exists( 'yit_enqueue_script' ) ) {
304
  /**
305
  * Enqueues script.
306
  *
@@ -310,19 +304,18 @@ if ( ! function_exists( 'yit_enqueue_script' ) ) {
310
  * @author Simone D'Amico <simone.damico@yithemes.com>
311
  * @see yit_register_script() For parameter information.
312
  */
313
- function yit_enqueue_script( $handle, $src, $deps = array(), $ver = false, $in_footer = true ) {
314
 
315
- if ( function_exists( 'YIT_Asset' ) && ! is_admin() ) {
316
  $enqueue = true;
317
- YIT_Asset()->set( 'script', $handle, compact( 'src', 'deps', 'ver', 'in_footer', 'enqueue' ) );
318
- }
319
- else {
320
- wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer );
321
  }
322
  }
323
  }
324
 
325
- if ( ! function_exists( 'yit_enqueue_style' ) ) {
326
  /**
327
  * Enqueues style.
328
  *
@@ -332,54 +325,53 @@ if ( ! function_exists( 'yit_enqueue_style' ) ) {
332
  * @author Simone D'Amico <simone.damico@yithemes.com>
333
  * @see yit_register_style() For parameter information.
334
  */
335
- function yit_enqueue_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
336
 
337
- if ( function_exists( 'YIT_Asset' ) ) {
338
  $enqueue = true;
339
- $who = YIT_Asset()->get_stylesheet_handle( get_stylesheet_uri(), 'style' );
340
  $where = 'before';
341
 
342
- if( false == $who ){
343
  $who = '';
344
  }
345
 
346
- YIT_Asset()->set( 'style', $handle, compact( 'src', 'deps', 'ver', 'media', 'enqueue' ), $where, $who );
347
- }
348
- else {
349
- wp_enqueue_style( $handle, $src, $deps, $ver, $media );
350
  }
351
  }
352
  }
353
 
354
- if ( ! function_exists( 'yit_get_post_meta' ) ) {
355
  /**
356
  * Retrieve the value of a metabox.
357
  *
358
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
359
  *
360
- * @param int $id Post ID.
361
- * @param string $meta The meta key to retrieve.
362
  *
363
  * @return mixed Single value or array
364
  * @since 2.0.0
365
  */
366
- function yit_get_post_meta( $id, $meta ) {
367
- if ( ! strpos( $meta, '[' ) ) {
368
- return get_post_meta( $id, $meta, true );
369
  }
370
 
371
- $sub_meta = explode( '[', $meta );
372
 
373
- $meta = get_post_meta( $id, $meta, true );
374
- for ( $i = 0; $i < count( $sub_meta ); $i ++ ) {
375
- $meta = $meta[rtrim( $sub_meta[$i], ']' )];
376
  }
377
 
378
  return $meta;
379
  }
380
  }
381
 
382
- if ( ! function_exists( 'yit_string' ) ) {
383
  /**
384
  * Simple echo a string, with a before and after string, only if the main string is not empty.
385
  *
@@ -391,10 +383,10 @@ if ( ! function_exists( 'yit_string' ) ) {
391
  * @return string The complete string, if the main string is not empty or null
392
  * @since 2.0.0
393
  */
394
- function yit_string( $before = '', $string = '', $after = '', $echo = true ) {
395
  $html = '';
396
 
397
- if ( $string != '' AND ! is_null( $string ) ) {
398
  $html = $before . $string . $after;
399
  }
400
 
@@ -407,7 +399,7 @@ if ( ! function_exists( 'yit_string' ) ) {
407
  }
408
 
409
 
410
- if ( ! function_exists( 'yit_pagination' ) ) {
411
  /**
412
  * Print pagination
413
  *
@@ -417,12 +409,12 @@ if ( ! function_exists( 'yit_pagination' ) ) {
417
  * @return string
418
  * @since 2.0.0
419
  */
420
- function yit_pagination( $pages = '', $range = 10 ) {
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
+ if ( ! defined ( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
+ if ( ! function_exists ( 'yit_plugin_locate_template' ) ) {
16
  /**
17
  * Locate the templates and return the path of the file found
18
  *
23
  * @return string
24
  * @since 2.0.0
25
  */
26
+ function yit_plugin_locate_template ( $plugin_basename, $path, $var = NULL ) {
27
 
28
  $template_path = '/theme/templates/' . $path;
29
 
30
+ $located = locate_template ( array (
31
+ $template_path,
32
  ) );
33
 
34
  if ( ! $located ) {
40
 
41
  }
42
 
43
+ if ( ! function_exists ( 'yit_plugin_get_template' ) ) {
44
  /**
45
  * Retrieve a template file.
46
  *
52
  * @return string
53
  * @since 2.0.0
54
  */
55
+ function yit_plugin_get_template ( $plugin_basename, $path, $var = null, $return = false ) {
56
 
57
+ $located = yit_plugin_locate_template ( $plugin_basename, $path, $var );
58
 
59
+ if ( $var && is_array ( $var ) ) {
60
+ extract ( $var );
61
  }
62
 
63
  if ( $return ) {
64
+ ob_start ();
65
  }
66
 
67
  // include file located
68
+ if ( file_exists ( $located ) ) {
69
+ include ( $located );
70
  }
71
 
72
  if ( $return ) {
73
+ return ob_get_clean ();
74
  }
75
  }
76
  }
77
 
78
+ if ( ! function_exists ( 'yit_plugin_content' ) ) {
79
  /**
80
  * Return post content with read more link (if needed)
81
  *
88
  * @return string
89
  * @since 2.0.0
90
  */
91
+ function yit_plugin_content ( $what = 'content', $limit = 25, $more_text = '', $split = '[...]', $in_paragraph = 'true' ) {
92
  if ( $what == 'content' ) {
93
+ $content = get_the_content ( $more_text );
94
+ } else {
 
95
  if ( $what == 'excerpt' ) {
96
+ $content = get_the_excerpt ();
97
+ } else {
 
98
  $content = $what;
99
  }
100
  }
101
 
102
  if ( $limit == 0 ) {
103
  if ( $what == 'excerpt' ) {
104
+ $content = apply_filters ( 'the_excerpt', $content );
105
+ } else {
106
+ $content = preg_replace ( '/<img[^>]+./', '', $content ); //remove images
107
+ $content = apply_filters ( 'the_content', $content );
108
+ $content = str_replace ( ']]>', ']]&gt;', $content );
 
109
  }
110
 
111
  return $content;
112
  }
113
 
114
  // remove the tag more from the content
115
+ if ( preg_match ( "/<(a)[^>]*class\s*=\s*(['\"])more-link\\2[^>]*>(.*?)<\/\\1>/", $content, $matches ) ) {
116
 
117
+ if ( strpos ( $matches[ 0 ], '[button' ) ) {
118
+ $more_link = str_replace ( 'href="#"', 'href="' . get_permalink () . '"', do_shortcode ( $matches[ 3 ] ) );
119
+ } else {
120
+ $more_link = $matches[ 0 ];
 
121
  }
122
 
123
+ $content = str_replace ( $more_link, '', $content );
124
  $split = '';
125
  }
126
 
127
  if ( empty( $content ) ) {
128
  return;
129
  }
130
+ $content = explode ( ' ', $content );
131
 
132
  if ( ! empty( $more_text ) && ! isset( $more_link ) ) {
133
  //array_pop( $content );
134
+ $more_link = strpos ( $more_text, '<a class="btn"' ) ? $more_text : '<a class="read-more' . apply_filters ( 'yit_simple_read_more_classes', ' ' ) . '" href="' . get_permalink () . '">' . $more_text . '</a>';
135
  $split = '';
136
+ } elseif ( ! isset( $more_link ) ) {
 
137
  $more_link = '';
138
  }
139
 
140
  // split
141
+ if ( count ( $content ) >= $limit ) {
142
  $split_content = '';
143
  for ( $i = 0; $i < $limit; $i ++ ) {
144
+ $split_content .= $content[ $i ] . ' ';
145
  }
146
 
147
  $content = $split_content . $split;
148
+ } else {
149
+ $content = implode ( " ", $content );
 
150
  }
151
 
152
  // TAGS UNCLOSED
153
+ $tags = array ();
154
  // get all tags opened
155
+ preg_match_all ( "/(<([\w]+)[^>]*>)/", $content, $tags_opened, PREG_SET_ORDER );
156
  foreach ( $tags_opened as $tag ) {
157
+ $tags[] = $tag[ 2 ];
158
  }
159
 
160
  // get all tags closed and remove it from the tags opened.. the rest will be closed at the end of the content
161
+ preg_match_all ( "/(<\/([\w]+)[^>]*>)/", $content, $tags_closed, PREG_SET_ORDER );
162
  foreach ( $tags_closed as $tag ) {
163
+ unset( $tags[ array_search ( $tag[ 2 ], $tags ) ] );
164
  }
165
 
166
  // close the tags
172
 
173
  //$content = preg_replace( '/\[.+\]/', '', $content );
174
  if ( $in_paragraph == true ): $content .= $more_link; endif;
175
+ $content = preg_replace ( '/<img[^>]+./', '', $content ); //remove images
176
+ $content = apply_filters ( 'the_content', $content );
177
+ $content = str_replace ( ']]>', ']]&gt;', $content ); // echo str_replace( array( '<', '>' ), array( '&lt;', '&gt;' ), $content );
178
  if ( $in_paragraph == false ): $content .= $more_link; endif;
179
 
180
  return $content;
181
  }
182
  }
183
 
184
+ if ( ! function_exists ( 'yit_plugin_string' ) ) {
185
  /**
186
  * Simple echo a string, with a before and after string, only if the main string is not empty.
187
  *
193
  * @return string The complete string, if the main string is not empty or null
194
  * @since 2.0.0
195
  */
196
+ function yit_plugin_string ( $before = '', $string = '', $after = '', $echo = true ) {
197
  $html = '';
198
 
199
+ if ( $string != '' AND ! is_null ( $string ) ) {
200
  $html = $before . $string . $after;
201
  }
202
 
208
  }
209
  }
210
 
211
+ if ( ! function_exists ( 'yit_plugin_decode_title' ) ) {
212
  /**
213
  * Change some special characters to put easily html into a string
214
  *
222
  *
223
  * @since 1.0
224
  */
225
+ function yit_plugin_decode_title ( $title ) {
226
+ $replaces = apply_filters ( 'yit_title_special_characters', array () );
227
 
228
+ return preg_replace ( array_keys ( $replaces ), array_values ( $replaces ), $title );
229
  }
230
  }
231
 
232
+ if ( ! function_exists ( 'yit_plugin_get_attachment_id' ) ) {
233
 
234
  /**
235
  * Return the ID of an attachment.
241
  * @since 2.0.0
242
  */
243
 
244
+ function yit_plugin_get_attachment_id ( $url ) {
245
 
246
+ $upload_dir = wp_upload_dir ();
247
+ $dir = trailingslashit ( $upload_dir[ 'baseurl' ] );
248
 
249
+ if ( false === strpos ( $url, $dir ) ) {
250
  return false;
251
  }
252
 
253
+ $file = basename ( $url );
254
 
255
+ $query = array (
256
  'post_type' => 'attachment',
257
  'fields' => 'ids',
258
+ 'meta_query' => array (
259
+ array (
260
  'value' => $file,
261
  'compare' => 'LIKE',
262
+ ),
263
+ ),
264
  );
265
 
266
+ $query[ 'meta_query' ][ 0 ][ 'key' ] = '_wp_attached_file';
267
+ $ids = get_posts ( $query );
268
 
269
  foreach ( $ids as $id ) {
270
+ $attachment_image = wp_get_attachment_image_src ( $id, 'full' );
271
+ if ( $url == array_shift ( $attachment_image ) || $url == str_replace ( 'https://', 'http://', array_shift ( $attachment_image ) ) ) {
272
  return $id;
273
  }
274
  }
275
+ $query[ 'meta_query' ][ 0 ][ 'key' ] = '_wp_attachment_metadata';
276
+ $ids = get_posts ( $query );
277
 
278
  foreach ( $ids as $id ) {
279
 
280
+ $meta = wp_get_attachment_metadata ( $id );
281
+ if ( ! isset( $meta[ 'sizes' ] ) ) {
282
  continue;
283
  }
284
 
285
+ foreach ( (array)$meta[ 'sizes' ] as $size => $values ) {
286
+ if ( $values[ 'file' ] == $file && $url == str_replace ( 'https://', 'http://', array_shift ( wp_get_attachment_image_src ( $id, $size ) ) ) ) {
287
 
288
  return $id;
289
  }
294
  }
295
  }
296
 
297
+ if ( ! function_exists ( 'yit_enqueue_script' ) ) {
298
  /**
299
  * Enqueues script.
300
  *
304
  * @author Simone D'Amico <simone.damico@yithemes.com>
305
  * @see yit_register_script() For parameter information.
306
  */
307
+ function yit_enqueue_script ( $handle, $src, $deps = array (), $ver = false, $in_footer = true ) {
308
 
309
+ if ( function_exists ( 'YIT_Asset' ) && ! is_admin () ) {
310
  $enqueue = true;
311
+ YIT_Asset ()->set ( 'script', $handle, compact ( 'src', 'deps', 'ver', 'in_footer', 'enqueue' ) );
312
+ } else {
313
+ wp_enqueue_script ( $handle, $src, $deps, $ver, $in_footer );
 
314
  }
315
  }
316
  }
317
 
318
+ if ( ! function_exists ( 'yit_enqueue_style' ) ) {
319
  /**
320
  * Enqueues style.
321
  *
325
  * @author Simone D'Amico <simone.damico@yithemes.com>
326
  * @see yit_register_style() For parameter information.
327
  */
328
+ function yit_enqueue_style ( $handle, $src, $deps = array (), $ver = false, $media = 'all' ) {
329
 
330
+ if ( function_exists ( 'YIT_Asset' ) ) {
331
  $enqueue = true;
332
+ $who = YIT_Asset ()->get_stylesheet_handle ( get_stylesheet_uri (), 'style' );
333
  $where = 'before';
334
 
335
+ if ( false == $who ) {
336
  $who = '';
337
  }
338
 
339
+ YIT_Asset ()->set ( 'style', $handle, compact ( 'src', 'deps', 'ver', 'media', 'enqueue' ), $where, $who );
340
+ } else {
341
+ wp_enqueue_style ( $handle, $src, $deps, $ver, $media );
 
342
  }
343
  }
344
  }
345
 
346
+ if ( ! function_exists ( 'yit_get_post_meta' ) ) {
347
  /**
348
  * Retrieve the value of a metabox.
349
  *
350
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
351
  *
352
+ * @param int $id Post ID.
353
+ * @param string $meta The meta key to retrieve.
354
  *
355
  * @return mixed Single value or array
356
  * @since 2.0.0
357
  */
358
+ function yit_get_post_meta ( $id, $meta ) {
359
+ if ( ! strpos ( $meta, '[' ) ) {
360
+ return get_post_meta ( $id, $meta, true );
361
  }
362
 
363
+ $sub_meta = explode ( '[', $meta );
364
 
365
+ $meta = get_post_meta ( $id, $meta, true );
366
+ for ( $i = 0; $i < count ( $sub_meta ); $i ++ ) {
367
+ $meta = $meta[ rtrim ( $sub_meta[ $i ], ']' ) ];
368
  }
369
 
370
  return $meta;
371
  }
372
  }
373
 
374
+ if ( ! function_exists ( 'yit_string' ) ) {
375
  /**
376
  * Simple echo a string, with a before and after string, only if the main string is not empty.
377
  *
383
  * @return string The complete string, if the main string is not empty or null
384
  * @since 2.0.0
385
  */
386
+ function yit_string ( $before = '', $string = '', $after = '', $echo = true ) {
387
  $html = '';
388
 
389
+ if ( $string != '' AND ! is_null ( $string ) ) {
390
  $html = $before . $string . $after;
391
  }
392
 
399
  }
400
 
401
 
402
+ if ( ! function_exists ( 'yit_pagination' ) ) {
403
  /**
404
  * Print pagination
405
  *
409
  * @return string
410
  * @since 2.0.0
411
  */
412
+ function yit_pagination ( $pages