YITH WooCommerce Compare - Version 2.0.5

Version Description

  • Fixed: After you remove product from compare, you can re-add it without reload page
  • Updated: Plugin Core
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Compare
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: wc, shop, woocommerce, compare, compare products, product compare, widget, comparison, product comparison, compare table
5
  Requires at least: 3.5.1
6
  Tested up to: 4.3
7
- Stable tag: 2.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -72,6 +72,11 @@ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
75
  = 2.0.4 =
76
 
77
  * Fixed: JS error when loading compare window
@@ -199,8 +204,7 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
199
 
200
  == Upgrade notice ==
201
 
202
- = 2.0.4 =
203
 
204
- * Fixed: JS error when loading compare window
205
- * Updated: Changed Text Domain from 'yith-wcmp' to 'yith-woocommerce-compare'
206
- * Updated: Plugin Core Framework
4
  Tags: wc, shop, woocommerce, compare, compare products, product compare, widget, comparison, product comparison, compare table
5
  Requires at least: 3.5.1
6
  Tested up to: 4.3
7
+ Stable tag: 2.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
72
 
73
  == Changelog ==
74
 
75
+ = 2.0.5 =
76
+
77
+ * Fixed: After you remove product from compare, you can re-add it without reload page
78
+ * Updated: Plugin Core
79
+
80
  = 2.0.4 =
81
 
82
  * Fixed: JS error when loading compare window
204
 
205
  == Upgrade notice ==
206
 
207
+ = 2.0.5 =
208
 
209
+ * Fixed: After you remove product from compare, you can re-add it without reload page
210
+ * Updated: Plugin Core
 
assets/images/09-bg.png ADDED
Binary file
assets/images/09-icon.png ADDED
Binary file
assets/images/09.png ADDED
Binary file
assets/images/10-bg.png ADDED
Binary file
assets/images/10-icon.png ADDED
Binary file
assets/images/10.png ADDED
Binary file
assets/js/unminified/woocompare.js DELETED
@@ -1,195 +0,0 @@
1
- jQuery(document).ready(function($) {
2
-
3
- // add into table
4
- $(document).on( 'click', '.product a.compare', function(e){
5
- e.preventDefault();
6
-
7
- var button = $(this),
8
- data = {
9
- _yitnonce_ajax: yith_woocompare.nonceadd,
10
- action: yith_woocompare.actionadd,
11
- id: button.data('product_id'),
12
- context: 'frontend'
13
- },
14
- widget_list = $('.yith-woocompare-widget ul.products-list');
15
-
16
- // add ajax loader
17
- button.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
18
- widget_list.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
19
-
20
- $.ajax({
21
- type: 'post',
22
- url: yith_woocompare.ajaxurl,
23
- data: data,
24
- dataType: 'json',
25
- success: function(response){
26
- button.unblock().addClass('added').text( yith_woocompare.added_label );
27
-
28
- // add the product in the widget
29
- widget_list.unblock().html( response.widget_table );
30
-
31
- if ( yith_woocompare.auto_open == 'yes') $('body').trigger( 'yith_woocompare_open_popup', { response: response.table_url, button: button } );
32
- }
33
- });
34
- });
35
-
36
- // open popup
37
- $('body').on( 'yith_woocompare_open_popup', function( e, data ) {
38
- var response = data.response;
39
-
40
- if ( $(window).width() >= 768 ) {
41
- $.colorbox({
42
- href: response,
43
- iframe: true,
44
- width: '90%',
45
- height: '90%',
46
- onClosed: function(){
47
- var widget_list = $('.yith-woocompare-widget ul.products-list'),
48
- data = {
49
- action: yith_woocompare.actionview,
50
- context: 'frontend'
51
- };
52
-
53
- widget_list.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
54
-
55
- $.ajax({
56
- type: 'post',
57
- url: yith_woocompare.ajaxurl,
58
- data: data,
59
- success: function(response){
60
- // add the product in the widget
61
- widget_list.unblock().html( response );
62
- }
63
- });
64
- }
65
- });
66
-
67
- $(window).resize(function () {
68
- $.colorbox.resize({
69
- width: '90%',
70
- height: '90%'
71
- });
72
- });
73
-
74
- } else {
75
- var urlparts = response.split('?');
76
- var parameter = 'iframe';
77
- if (urlparts.length >= 2) {
78
- var prefix = encodeURIComponent(parameter) + '=';
79
- var pars = urlparts[1].split(/[&;]/g);
80
- for (var i = pars.length; i-- > 0;) {
81
- if (pars[i].lastIndexOf(prefix, 0) !== -1) {
82
- pars.splice(i, 1);
83
- }
84
- }
85
- response = urlparts[0] + '?' + pars.join('&');
86
- }
87
-
88
- window.open( response, yith_woocompare.table_title);
89
- }
90
- });
91
-
92
- // remove from table
93
- $(document).on( 'click', '.remove a', function(e){
94
- e.preventDefault();
95
-
96
- var button = $(this),
97
- data = {
98
- _yitnonce_ajax: yith_woocompare.nonceremove,
99
- action: yith_woocompare.actionremove,
100
- id: button.data('product_id'),
101
- context: 'frontend'
102
- },
103
- product_cell = $( 'td.product_' + data.id + ', th.product_' + data.id );
104
-
105
- // add ajax loader
106
- button.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
107
-
108
- $.ajax({
109
- type: 'post',
110
- url: yith_woocompare.ajaxurl,
111
- data: data,
112
- dataType:'html',
113
- success: function(response){
114
- button.unblock();
115
-
116
- // in compare table
117
- var table = $(response).filter('table.compare-list');
118
- $('body > table.compare-list').replaceWith( table );
119
-
120
- // removed trigger
121
- $(window).trigger('yith_woocompare_product_removed');
122
- }
123
- });
124
- });
125
-
126
-
127
- // General link to open the compare table
128
- $('.yith-woocompare-open a, a.yith-woocompare-open').on('click', function(e){
129
- e.preventDefault();
130
- $('body').trigger('yith_woocompare_open_popup', { response: yith_add_query_arg('action', yith_woocompare.actionview) + '&iframe=true' });
131
- });
132
-
133
-
134
-
135
- // ##### WIDGET ######
136
-
137
- $('.yith-woocompare-widget')
138
-
139
- // view table (click on compare
140
- .on('click', 'a.compare', function (e) {
141
- e.preventDefault();
142
- $('body').trigger('yith_woocompare_open_popup', { response: $(this).attr('href') });
143
- })
144
-
145
- // remove product & clear all
146
- .on('click', 'li a.remove, a.clear-all', function (e) {
147
- e.preventDefault();
148
-
149
- var lang = $( '.yith-woocompare-widget .products-list').data('lang');
150
-
151
- var button = $(this),
152
- data = {
153
- _yitnonce_ajax: yith_woocompare.nonceremove,
154
- action: yith_woocompare.actionremove,
155
- id: button.data('product_id'),
156
- context: 'frontend',
157
- responseType: 'product_list',
158
- lang: lang
159
- },
160
- product_list = button.parents('.yith-woocompare-widget').find('ul.products-list');
161
-
162
- // add ajax loader
163
- product_list.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
164
-
165
- $.ajax({
166
- type: 'post',
167
- url: yith_woocompare.ajaxurl,
168
- data: data,
169
- dataType: 'html',
170
- success: function (response) {
171
- product_list.html(response);
172
- product_list.unblock();
173
- }
174
- });
175
- });
176
-
177
-
178
- function yith_add_query_arg(key, value)
179
- {
180
- key = escape(key); value = escape(value);
181
-
182
- var s = document.location.search;
183
- var kvp = key+"="+value;
184
-
185
- var r = new RegExp("(&|\\?)"+key+"=[^\&]*");
186
-
187
- s = s.replace(r,"$1"+kvp);
188
-
189
- if(!RegExp.$1) {s += (s.length>0 ? '&' : '?') + kvp;};
190
-
191
- //again, do what you will here
192
- return s;
193
- }
194
-
195
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/woocompare.js CHANGED
@@ -14,7 +14,7 @@ jQuery(document).ready(function($) {
14
  widget_list = $('.yith-woocompare-widget ul.products-list');
15
 
16
  // add ajax loader
17
- if( typeof woocommerce_params != 'undefined' ) {
18
  button.block({message: null, overlayCSS: { background: '#fff url(' + yith_woocompare.loader + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
19
  widget_list.block({message: null, overlayCSS: { background: '#fff url(' + yith_woocompare.loader + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
20
  }
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
26
  dataType: 'json',
27
  success: function(response){
28
 
29
- if( typeof woocommerce_params != 'undefined' ) {
30
  button.unblock();
31
  widget_list.unblock()
32
  }
@@ -75,7 +75,7 @@ jQuery(document).ready(function($) {
75
  context: 'frontend'
76
  };
77
 
78
- if( typeof woocommerce_params != 'undefined' ) {
79
  widget_list.block({message: null, overlayCSS: {background: '#fff url(' + yith_woocompare.loader + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
80
  }
81
 
@@ -85,7 +85,7 @@ jQuery(document).ready(function($) {
85
  data: data,
86
  success: function(response){
87
  // add the product in the widget
88
- if( typeof woocommerce_params != 'undefined' ) {
89
  widget_list.unblock().html(response);
90
  }
91
  widget_list.html(response);
@@ -133,7 +133,7 @@ jQuery(document).ready(function($) {
133
  product_cell = $( 'td.product_' + data.id + ', th.product_' + data.id );
134
 
135
  // add ajax loader
136
- if( typeof woocommerce_params != 'undefined' ) {
137
  button.block({
138
  message: null,
139
  overlayCSS: {
@@ -151,14 +151,12 @@ jQuery(document).ready(function($) {
151
  dataType:'html',
152
  success: function(response){
153
 
154
- if( typeof woocommerce_params != 'undefined' ) {
155
- button.unblock();
156
- }
157
-
158
  // in compare table
159
  var table = $(response).filter('table.compare-list');
160
  $('body > table.compare-list').replaceWith( table );
161
 
 
 
162
  // removed trigger
163
  $(window).trigger('yith_woocompare_product_removed');
164
  }
@@ -166,7 +164,8 @@ jQuery(document).ready(function($) {
166
  });
167
 
168
 
169
- // General link to open the compare table
 
170
  $('.yith-woocompare-open a, a.yith-woocompare-open').on('click', function(e){
171
  e.preventDefault();
172
  $('body').trigger('yith_woocompare_open_popup', { response: yith_add_query_arg('action', yith_woocompare.actionview) + '&iframe=true' });
@@ -202,7 +201,7 @@ jQuery(document).ready(function($) {
202
  product_list = button.parents('.yith-woocompare-widget').find('ul.products-list');
203
 
204
  // add ajax loader
205
- if( typeof woocommerce_params != 'undefined' ) {
206
  product_list.block({message: null,
207
  overlayCSS : {
208
  background : '#fff url(' + yith_woocompare.loader + ') no-repeat center',
@@ -219,7 +218,7 @@ jQuery(document).ready(function($) {
219
  dataType: 'html',
220
  success: function (response) {
221
  product_list.html(response);
222
- if( typeof woocommerce_params != 'undefined' ) {
223
  product_list.unblock();
224
  }
225
  }
14
  widget_list = $('.yith-woocompare-widget ul.products-list');
15
 
16
  // add ajax loader
17
+ if( typeof $.fn.block != 'undefined' ) {
18
  button.block({message: null, overlayCSS: { background: '#fff url(' + yith_woocompare.loader + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
19
  widget_list.block({message: null, overlayCSS: { background: '#fff url(' + yith_woocompare.loader + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
20
  }
26
  dataType: 'json',
27
  success: function(response){
28
 
29
+ if( typeof $.fn.block != 'undefined' ) {
30
  button.unblock();
31
  widget_list.unblock()
32
  }
75
  context: 'frontend'
76
  };
77
 
78
+ if( typeof $.fn.block != 'undefined' ) {
79
  widget_list.block({message: null, overlayCSS: {background: '#fff url(' + yith_woocompare.loader + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
80
  }
81
 
85
  data: data,
86
  success: function(response){
87
  // add the product in the widget
88
+ if( typeof $.fn.block != 'undefined' ) {
89
  widget_list.unblock().html(response);
90
  }
91
  widget_list.html(response);
133
  product_cell = $( 'td.product_' + data.id + ', th.product_' + data.id );
134
 
135
  // add ajax loader
136
+ if( typeof $.fn.block != 'undefined' ) {
137
  button.block({
138
  message: null,
139
  overlayCSS: {
151
  dataType:'html',
152
  success: function(response){
153
 
 
 
 
 
154
  // in compare table
155
  var table = $(response).filter('table.compare-list');
156
  $('body > table.compare-list').replaceWith( table );
157
 
158
+ $('.compare[data-product_id="' + button.data('product_id') + '"]', window.parent.document).removeClass('added').html( yith_woocompare.button_text );
159
+
160
  // removed trigger
161
  $(window).trigger('yith_woocompare_product_removed');
162
  }
164
  });
165
 
166
 
167
+ // ##### LINK OPEN COMPARE POPUP #####
168
+
169
  $('.yith-woocompare-open a, a.yith-woocompare-open').on('click', function(e){
170
  e.preventDefault();
171
  $('body').trigger('yith_woocompare_open_popup', { response: yith_add_query_arg('action', yith_woocompare.actionview) + '&iframe=true' });
201
  product_list = button.parents('.yith-woocompare-widget').find('ul.products-list');
202
 
203
  // add ajax loader
204
+ if( typeof $.fn.block != 'undefined' ) {
205
  product_list.block({message: null,
206
  overlayCSS : {
207
  background : '#fff url(' + yith_woocompare.loader + ') no-repeat center',
218
  dataType: 'html',
219
  success: function (response) {
220
  product_list.html(response);
221
+ if( typeof $.fn.block != 'undefined' ) {
222
  product_list.unblock();
223
  }
224
  }
includes/class.yith-woocompare-frontend.php CHANGED
@@ -142,7 +142,8 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
142
  'added_label' => __( 'Added', 'yith-woocommerce-compare' ),
143
  'table_title' => __( 'Product Comparison', 'yith-woocommerce-compare' ),
144
  'auto_open' => get_option( 'yith_woocompare_auto_open', 'yes' ),
145
- 'loader' => YITH_WOOCOMPARE_ASSETS_URL . '/images/loader.gif'
 
146
  ));
147
 
148
  // colorbox
@@ -355,7 +356,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
355
  $button_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_compare_button_text', $button_text ) : $button_text;
356
  }
357
 
358
- printf( '<a href="%s" class="%s" data-product_id="%d">%s</a>', $this->add_product_url( $product_id ), 'compare' . ( $is_button == 'button' ? ' button' : '' ), $product_id, $button_text );
359
  }
360
 
361
  /**
142
  'added_label' => __( 'Added', 'yith-woocommerce-compare' ),
143
  'table_title' => __( 'Product Comparison', 'yith-woocommerce-compare' ),
144
  'auto_open' => get_option( 'yith_woocompare_auto_open', 'yes' ),
145
+ 'loader' => YITH_WOOCOMPARE_ASSETS_URL . '/images/loader.gif',
146
+ 'button_text' => get_option('yith_woocompare_button_text')
147
  ));
148
 
149
  // colorbox
356
  $button_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_compare_button_text', $button_text ) : $button_text;
357
  }
358
 
359
+ printf( '<a href="%s" class="%s" data-product_id="%d" rel="nofollow">%s</a>', $this->add_product_url( $product_id ), 'compare' . ( $is_button == 'button' ? ' button' : '' ), $product_id, $button_text );
360
  }
361
 
362
  /**
includes/class.yith-woocompare.php CHANGED
@@ -43,7 +43,7 @@ if( !class_exists( 'YITH_Woocompare' ) ) {
43
  add_action( 'widgets_init', array( $this, 'registerWidgets' ) );
44
 
45
  // Load Plugin Framework
46
- add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
47
 
48
  if( $this->is_frontend() ) {
49
  $this->obj = new YITH_Woocompare_Frontend();
@@ -81,12 +81,14 @@ if( !class_exists( 'YITH_Woocompare' ) ) {
81
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
82
  */
83
  public function plugin_fw_loader() {
84
-
85
- if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) {
86
- require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/yit-plugin.php' );
87
- }
88
-
89
- }
 
 
90
 
91
  /**
92
  * Load and register widgets
43
  add_action( 'widgets_init', array( $this, 'registerWidgets' ) );
44
 
45
  // Load Plugin Framework
46
+ add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
47
 
48
  if( $this->is_frontend() ) {
49
  $this->obj = new YITH_Woocompare_Frontend();
81
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
82
  */
83
  public function plugin_fw_loader() {
84
+ if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
85
+ global $plugin_fw_data;
86
+ if ( ! empty( $plugin_fw_data ) ) {
87
+ $plugin_fw_file = array_shift( $plugin_fw_data );
88
+ require_once( $plugin_fw_file );
89
+ }
90
+ }
91
+ }
92
 
93
  /**
94
  * Load and register widgets
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Compare
4
  * Plugin URI: https://yithemes.com/
5
  * Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
6
- * Version: 2.0.4
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
@@ -11,7 +11,7 @@
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Compare
14
- * @version 2.0.4
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -56,7 +56,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
56
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
57
 
58
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
59
- define( 'YITH_WOOCOMPARE_VERSION', '2.0.4' );
60
  }
61
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
62
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
@@ -83,6 +83,11 @@ if ( ! defined( 'YITH_WOOCOMPARE_ASSETS_URL' ) ) {
83
  define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets' );
84
  }
85
 
 
 
 
 
 
86
 
87
  function yith_woocompare_constructor() {
88
 
3
  * Plugin Name: YITH WooCommerce Compare
4
  * Plugin URI: https://yithemes.com/
5
  * Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
6
+ * Version: 2.0.5
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Compare
14
+ * @version 2.0.5
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
56
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
57
 
58
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
59
+ define( 'YITH_WOOCOMPARE_VERSION', '2.0.5' );
60
  }
61
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
62
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
83
  define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets' );
84
  }
85
 
86
+ /* Plugin Framework Version Check */
87
+ if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' ) ) {
88
+ require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' );
89
+ }
90
+ yit_maybe_plugin_fw_loader( YITH_WOOCOMPARE_DIR );
91
 
92
  function yith_woocompare_constructor() {
93
 
languages/yith-woocommerce-compare-nl_NL.mo CHANGED
Binary file
languages/yith-woocommerce-compare-nl_NL.po CHANGED
@@ -1,47 +1,53 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-09-22 09:41+0200\n"
5
- "PO-Revision-Date: 2015-09-22 09:41+0200\n"
6
- "Last-Translator: Frans Pronk <beheer@ifra.nl>\n"
 
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
 
12
  "X-Generator: Poedit 1.8.2\n"
13
- "X-Poedit-KeywordsList: __;_e;_x\n"
 
 
 
 
14
  "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
 
20
  #: includes/class.yith-woocompare-admin.php:117
21
  #: includes/class.yith-woocompare-admin.php:141
22
  msgid "Settings"
23
- msgstr ""
24
 
25
  #: includes/class.yith-woocompare-admin.php:119
26
  #: includes/class.yith-woocompare-admin.php:145
27
  msgid "Premium Version"
28
- msgstr ""
29
 
30
  #: includes/class.yith-woocompare-admin.php:151
31
  #: includes/class.yith-woocompare-admin.php:152
32
- #: includes/class.yith-woocompare-frontend.php:353
33
- #: plugin-options/general-options.php:40
34
  #: widgets/class.yith-woocompare-widget.php:50
35
  msgid "Compare"
36
  msgstr "Vergelijk"
37
 
38
  #: includes/class.yith-woocompare-admin.php:215
39
  msgid "Plugin Documentation"
40
- msgstr ""
41
 
42
  #: includes/class.yith-woocompare-admin.php:235
43
  msgid "YITH WooCommerce Compare Activated"
44
- msgstr ""
45
 
46
  #: includes/class.yith-woocompare-admin.php:236
47
  #, php-format
@@ -51,10 +57,15 @@ msgid ""
51
  "have activated. YITH WooCommerce Compare is available in an outstanding "
52
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
53
  msgstr ""
 
 
 
 
 
54
 
55
  #: includes/class.yith-woocompare-admin.php:247
56
  msgid "YITH WooCommerce Compare Updated"
57
- msgstr ""
58
 
59
  #: includes/class.yith-woocompare-admin.php:248
60
  #, php-format
@@ -65,10 +76,16 @@ msgid ""
65
  "be added to this menu. YITH WooCommerce Compare has been updated with new "
66
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
67
  msgstr ""
 
 
 
 
 
 
68
 
69
  #: includes/class.yith-woocompare-admin.php:393
70
  msgid "Do you want to hard crop the image?"
71
- msgstr ""
72
 
73
  #: includes/class.yith-woocompare-frontend.php:142
74
  msgid "Added"
@@ -78,15 +95,15 @@ msgstr "Toegevoegd"
78
  msgid "Product Comparison"
79
  msgstr "Product vergelijk"
80
 
81
- #: includes/class.yith-woocompare-frontend.php:265
82
  msgid "In stock"
83
  msgstr "Op voorraad"
84
 
85
- #: includes/class.yith-woocompare-frontend.php:548
86
  msgid "No products to compare"
87
  msgstr "Geen producten om te vergelijken"
88
 
89
- #: includes/class.yith-woocompare-frontend.php:559 templates/compare.php:111
90
  msgid "Remove"
91
  msgstr "Verwijder"
92
 
@@ -120,12 +137,16 @@ msgid ""
120
  "YITH WooCommerce Compare is enabled but not effective. It requires "
121
  "WooCommerce in order to work."
122
  msgstr ""
 
 
123
 
124
  #: init.php:48
125
  msgid ""
126
  "You can't activate the free version of YITH WooCommerce Compare while you "
127
  "are using the premium one."
128
  msgstr ""
 
 
129
 
130
  #: plugin-options/general-options.php:17
131
  msgid "General Settings"
@@ -149,58 +170,60 @@ msgstr "Button"
149
 
150
  #: plugin-options/general-options.php:37
151
  msgid "Link/Button text"
152
- msgstr ""
153
 
154
  #: plugin-options/general-options.php:38
155
  msgid "Type the text to use for the button or the link of the compare."
156
  msgstr ""
 
 
157
 
158
- #: plugin-options/general-options.php:45
159
  msgid "Show button in single product page"
160
  msgstr "Toon button op product pagina"
161
 
162
- #: plugin-options/general-options.php:46
163
  msgid "Say if you want to show the button in the single product page."
164
  msgstr "Selecteer wanneer je een button op de product pagina wilt tonen."
165
 
166
- #: plugin-options/general-options.php:54
167
  msgid "Show button in products list"
168
  msgstr "Toon button op producten overzicht"
169
 
170
- #: plugin-options/general-options.php:55
171
  msgid "Say if you want to show the button in the products list."
172
  msgstr ""
173
  "Selecteer wanneer een button op de productenoverzichts pagina wilt tonen."
174
 
175
- #: plugin-options/general-options.php:63
176
  msgid "Open automatically lightbox"
177
  msgstr "Open automatisch in lightbox"
178
 
179
- #: plugin-options/general-options.php:64
180
  msgid "Open link after click into \"Compare\" button\"."
181
  msgstr "Open de link direct na aanklikken van \"Vergelijk\" button\"."
182
 
183
- #: plugin-options/general-options.php:77
184
  msgid "Table Settings"
185
  msgstr "Tabel instellingen"
186
 
187
- #: plugin-options/general-options.php:84
188
  msgid "Table title"
189
- msgstr ""
190
 
191
- #: plugin-options/general-options.php:85
192
  msgid "Type the text to use for the table title."
193
- msgstr ""
194
 
195
- #: plugin-options/general-options.php:87
196
  msgid "Compare products"
197
  msgstr "Vergelijk producten"
198
 
199
- #: plugin-options/general-options.php:92
200
  msgid "Fields to show"
201
  msgstr "Velden tonen"
202
 
203
- #: plugin-options/general-options.php:93
204
  msgid ""
205
  "Select the fields to show in the comparison table and order them by "
206
  "drag&drop (are included also the woocommerce attributes)"
@@ -208,52 +231,54 @@ msgstr ""
208
  "Selecteer de velden die je in de vergelijkings tabel wilt tonen. Sleep ze "
209
  "met je muis in de gewenste volgorde."
210
 
211
- #: plugin-options/general-options.php:101
212
  msgid "Repeat \"Price\" field"
213
- msgstr ""
214
 
215
- #: plugin-options/general-options.php:102
216
  msgid "Repeat the \"Price\" field at the end of the table"
217
- msgstr ""
218
 
219
- #: plugin-options/general-options.php:110
220
  msgid "Repeat \"Add to cart\" field"
221
- msgstr ""
222
 
223
- #: plugin-options/general-options.php:111
224
  msgid "Repeat the \"Add to cart\" field at the end of the table"
225
- msgstr ""
226
 
227
- #: plugin-options/general-options.php:119
228
  msgid "Image size"
229
  msgstr "Afbeelding formaat"
230
 
231
- #: plugin-options/general-options.php:120
232
  msgid "Set the size for the images"
233
  msgstr "Stel afbeeldings formaat in "
234
 
235
- #: templates/admin/premium.php:228 templates/admin/premium.php:370
236
  #, php-format
237
  msgid ""
238
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
239
  "benefit from all features!"
240
  msgstr ""
 
 
241
 
242
- #: templates/admin/premium.php:231 templates/admin/premium.php:373
243
  msgid "UPGRADE"
244
- msgstr ""
245
 
246
- #: templates/admin/premium.php:232 templates/admin/premium.php:374
247
  msgid "to the premium version"
248
- msgstr ""
249
 
250
  #: templates/admin/premium.php:238
251
  msgid "Premium Features"
252
- msgstr ""
253
 
254
  #: templates/admin/premium.php:246
255
  msgid "A DEDICATED PAGE"
256
- msgstr ""
257
 
258
  #: templates/admin/premium.php:249
259
  #, php-format
@@ -264,10 +289,15 @@ msgid ""
264
  "you will be able to give to your users the chance to access it easily "
265
  "whenever they want."
266
  msgstr ""
 
 
 
 
 
267
 
268
  #: templates/admin/premium.php:259
269
  msgid "CATEGORY COMPARATION"
270
- msgstr ""
271
 
272
  #: templates/admin/premium.php:262
273
  #, php-format
@@ -278,10 +308,15 @@ msgid ""
278
  "need: you will be able to separate the products in the table by category "
279
  "affinity."
280
  msgstr ""
 
 
 
 
 
281
 
282
  #: templates/admin/premium.php:278
283
  msgid "CATEGORY EXCLUSION "
284
- msgstr ""
285
 
286
  #: templates/admin/premium.php:281
287
  #, php-format
@@ -293,10 +328,16 @@ msgid ""
293
  "of the feature, allowing the comparison only to those products of the "
294
  "selected categories."
295
  msgstr ""
 
 
 
 
 
 
296
 
297
  #: templates/admin/premium.php:291
298
  msgid "TABLE IMAGE"
299
- msgstr ""
300
 
301
  #: templates/admin/premium.php:294
302
  #, php-format
@@ -305,10 +346,13 @@ msgid ""
305
  "Select an image, upload it from the option panel and show it ahead of the "
306
  "table to your users. "
307
  msgstr ""
 
 
 
308
 
309
  #: templates/admin/premium.php:310
310
  msgid "DYNAMIC FIELDS"
311
- msgstr ""
312
 
313
  #: templates/admin/premium.php:313
314
  #, php-format
@@ -318,10 +362,14 @@ msgid ""
318
  "%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
319
  "be no more empty lines in your comparison table."
320
  msgstr ""
 
 
 
 
321
 
322
  #: templates/admin/premium.php:323
323
  msgid "SOCIAL NETWORK SHARING"
324
- msgstr ""
325
 
326
  #: templates/admin/premium.php:326
327
  #, php-format
@@ -331,10 +379,14 @@ msgid ""
331
  "Pinterest) and the email system %1$sto share%2$s the comparison table of the "
332
  "products they have selected."
333
  msgstr ""
 
 
 
 
334
 
335
  #: templates/admin/premium.php:342
336
  msgid "RELATED PRODUCTS"
337
- msgstr ""
338
 
339
  #: templates/admin/premium.php:345
340
  #, php-format
@@ -345,20 +397,48 @@ msgid ""
345
  "users to discover the shop products of the shop related to those they are "
346
  "interested into."
347
  msgstr ""
 
 
 
 
 
348
 
349
  #: templates/admin/premium.php:355
350
  msgid "CUSTOMIZABLE STYLE"
351
- msgstr ""
352
 
353
  #: templates/admin/premium.php:358
354
  #, php-format
355
  msgid ""
356
  "An advanced option panel that let you change all the colors of the plugin, "
357
- "so that you can adapt stylistically all its elements to the %1$slayout%2$s "
358
  "of your shop.We know it, looks also count... and we give you the right tools "
359
  "to get to the best result."
360
  msgstr ""
361
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
  #: templates/compare.php:76
363
  msgid "Close window [X]"
364
  msgstr "Sluit venster [X]"
@@ -379,56 +459,29 @@ msgstr "Een YITH Woocommerce Vergelijk Widget"
379
  msgid "Clear all"
380
  msgstr "Wis alles"
381
 
382
- #~ msgid "Products Compare"
383
- #~ msgstr "Product vergelijk"
384
-
385
- #~ msgid "Repeat \"Price\" field at the end of the table"
386
- #~ msgstr "Toon \"Prijs\" veld aan het einde van de tabel"
387
-
388
- #~ msgid "Repeat \"Add to cart\" field at the end of the table"
389
- #~ msgstr "Toon \"Bestel\" veld aan het einde van de tabel"
390
-
391
- #~ msgid "Select a date"
392
- #~ msgstr "Selecteer een datum"
393
-
394
- #~ msgid "Hours"
395
- #~ msgstr "Uren"
396
-
397
- #~ msgid "Minutes"
398
- #~ msgstr "Minuten"
399
-
400
- #~ msgid "Upload"
401
- #~ msgstr "Upload"
402
-
403
- #~ msgid "px"
404
- #~ msgstr "px"
405
-
406
- #~ msgid "em"
407
- #~ msgstr "em"
408
-
409
- #~ msgid "pt"
410
- #~ msgstr "pt"
411
-
412
- #~ msgid "rem"
413
- #~ msgstr "rem"
414
-
415
- #~ msgid "Select a font family"
416
- #~ msgstr "Kies een font type"
417
-
418
- #~ msgid "Regular"
419
- #~ msgstr "Normaal"
420
-
421
- #~ msgid "Bold"
422
- #~ msgstr "Vet"
423
 
424
- #~ msgid "Extra bold"
425
- #~ msgstr "Extra vet"
 
426
 
427
- #~ msgid "Italic"
428
- #~ msgstr "Cursief"
 
429
 
430
- #~ msgid "Italic bold"
431
- #~ msgstr "Cursief vet"
 
432
 
433
- #~ msgid "Click to preview"
434
- #~ msgstr "Klik voor voorvertoning"
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-10-26 10:23+0100\n"
6
+ "PO-Revision-Date: 2015-10-26 10:23+0100\n"
7
+ "Last-Translator: admin <admin@localhost.local>\n"
8
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Generator: Poedit 1.8.2\n"
16
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
17
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
18
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
19
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
20
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
21
  "X-Poedit-Basepath: ..\n"
22
+ "X-Loco-Target-Locale: nl_NL\n"
 
23
  "X-Poedit-SearchPath-0: .\n"
24
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
25
 
26
  #: includes/class.yith-woocompare-admin.php:117
27
  #: includes/class.yith-woocompare-admin.php:141
28
  msgid "Settings"
29
+ msgstr "Instellingen"
30
 
31
  #: includes/class.yith-woocompare-admin.php:119
32
  #: includes/class.yith-woocompare-admin.php:145
33
  msgid "Premium Version"
34
+ msgstr "Premium Versie"
35
 
36
  #: includes/class.yith-woocompare-admin.php:151
37
  #: includes/class.yith-woocompare-admin.php:152
38
+ #: includes/class.yith-woocompare-frontend.php:354
39
+ #: plugin-options/general-options.php:40 plugin-options/general-options.php:41
40
  #: widgets/class.yith-woocompare-widget.php:50
41
  msgid "Compare"
42
  msgstr "Vergelijk"
43
 
44
  #: includes/class.yith-woocompare-admin.php:215
45
  msgid "Plugin Documentation"
46
+ msgstr "Plugin Documentatie"
47
 
48
  #: includes/class.yith-woocompare-admin.php:235
49
  msgid "YITH WooCommerce Compare Activated"
50
+ msgstr "YITH WooCommerce Compare Geactiveerd"
51
 
52
  #: includes/class.yith-woocompare-admin.php:236
53
  #, php-format
57
  "have activated. YITH WooCommerce Compare is available in an outstanding "
58
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
59
  msgstr ""
60
+ "In het tabblad YIT Plugin kunt u de YITH WooCommerce Compare opties vinden. "
61
+ "Met dit menu kunt u toegang tot alle instellingen van onze plugins die je "
62
+ "hebt geactiveerd. YITH WooCommerce Compare is beschikbaar in een uitstekende "
63
+ "PREMIUM versie met veel nieuwe mogelijkheden, <a href=\"%s\">Ontdek het nu</"
64
+ "a>."
65
 
66
  #: includes/class.yith-woocompare-admin.php:247
67
  msgid "YITH WooCommerce Compare Updated"
68
+ msgstr "YITH WooCommerce Compare geüpdatet"
69
 
70
  #: includes/class.yith-woocompare-admin.php:248
71
  #, php-format
76
  "be added to this menu. YITH WooCommerce Compare has been updated with new "
77
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
78
  msgstr ""
79
+ "Vanaf nu vind je alle opties van YITH WooCommerce Compare onder YIT Plugin -"
80
+ "> Compare in plaats van WooCommerce -> Instellingen -> Compare, net als in "
81
+ "de vorige versie. Wanneer een van onze plugins wordt bijgewerkt, zal een "
82
+ "nieuwe link worden toegevoegd aan dit menu. YITH WooCommerce Compare is "
83
+ "bijgewerkt met nieuwe beschikbare opties, <a href=\"%s\"> ontdek het PREMIUM "
84
+ "versie. </a>"
85
 
86
  #: includes/class.yith-woocompare-admin.php:393
87
  msgid "Do you want to hard crop the image?"
88
+ msgstr "Wilt u een harde crop van de afbeelding?"
89
 
90
  #: includes/class.yith-woocompare-frontend.php:142
91
  msgid "Added"
95
  msgid "Product Comparison"
96
  msgstr "Product vergelijk"
97
 
98
+ #: includes/class.yith-woocompare-frontend.php:266
99
  msgid "In stock"
100
  msgstr "Op voorraad"
101
 
102
+ #: includes/class.yith-woocompare-frontend.php:549
103
  msgid "No products to compare"
104
  msgstr "Geen producten om te vergelijken"
105
 
106
+ #: includes/class.yith-woocompare-frontend.php:560 templates/compare.php:111
107
  msgid "Remove"
108
  msgstr "Verwijder"
109
 
137
  "YITH WooCommerce Compare is enabled but not effective. It requires "
138
  "WooCommerce in order to work."
139
  msgstr ""
140
+ "YITH WooCommerce Compare is ingeschalkeld maar nog niet werkzaam. "
141
+ "WooCommerce is nodig om dit te laten werken."
142
 
143
  #: init.php:48
144
  msgid ""
145
  "You can't activate the free version of YITH WooCommerce Compare while you "
146
  "are using the premium one."
147
  msgstr ""
148
+ "U kunt niet het gratis versie van YITH WooCommerce Compare gebruiken als u "
149
+ "het premium versie gebruikt."
150
 
151
  #: plugin-options/general-options.php:17
152
  msgid "General Settings"
170
 
171
  #: plugin-options/general-options.php:37
172
  msgid "Link/Button text"
173
+ msgstr "Link/Button tekst"
174
 
175
  #: plugin-options/general-options.php:38
176
  msgid "Type the text to use for the button or the link of the compare."
177
  msgstr ""
178
+ "Typ hier de tekst om te gebruiken voor de button of link van de "
179
+ "vergelijking"
180
 
181
+ #: plugin-options/general-options.php:46
182
  msgid "Show button in single product page"
183
  msgstr "Toon button op product pagina"
184
 
185
+ #: plugin-options/general-options.php:47
186
  msgid "Say if you want to show the button in the single product page."
187
  msgstr "Selecteer wanneer je een button op de product pagina wilt tonen."
188
 
189
+ #: plugin-options/general-options.php:55
190
  msgid "Show button in products list"
191
  msgstr "Toon button op producten overzicht"
192
 
193
+ #: plugin-options/general-options.php:56
194
  msgid "Say if you want to show the button in the products list."
195
  msgstr ""
196
  "Selecteer wanneer een button op de productenoverzichts pagina wilt tonen."
197
 
198
+ #: plugin-options/general-options.php:64
199
  msgid "Open automatically lightbox"
200
  msgstr "Open automatisch in lightbox"
201
 
202
+ #: plugin-options/general-options.php:65
203
  msgid "Open link after click into \"Compare\" button\"."
204
  msgstr "Open de link direct na aanklikken van \"Vergelijk\" button\"."
205
 
206
+ #: plugin-options/general-options.php:78
207
  msgid "Table Settings"
208
  msgstr "Tabel instellingen"
209
 
210
+ #: plugin-options/general-options.php:85
211
  msgid "Table title"
212
+ msgstr "Tabel titel"
213
 
214
+ #: plugin-options/general-options.php:86
215
  msgid "Type the text to use for the table title."
216
+ msgstr "Typ de tekst om te gebruiken voor de tabel titel"
217
 
218
+ #: plugin-options/general-options.php:88 plugin-options/general-options.php:89
219
  msgid "Compare products"
220
  msgstr "Vergelijk producten"
221
 
222
+ #: plugin-options/general-options.php:94
223
  msgid "Fields to show"
224
  msgstr "Velden tonen"
225
 
226
+ #: plugin-options/general-options.php:95
227
  msgid ""
228
  "Select the fields to show in the comparison table and order them by "
229
  "drag&drop (are included also the woocommerce attributes)"
231
  "Selecteer de velden die je in de vergelijkings tabel wilt tonen. Sleep ze "
232
  "met je muis in de gewenste volgorde."
233
 
234
+ #: plugin-options/general-options.php:103
235
  msgid "Repeat \"Price\" field"
236
+ msgstr "Herhaal \"Prijs\" veld"
237
 
238
+ #: plugin-options/general-options.php:104
239
  msgid "Repeat the \"Price\" field at the end of the table"
240
+ msgstr "Herhaal het \"Prijs\" veld aan het einde van de tabel"
241
 
242
+ #: plugin-options/general-options.php:112
243
  msgid "Repeat \"Add to cart\" field"
244
+ msgstr "Herhaal \"Toevoegen aan mandje\" veld"
245
 
246
+ #: plugin-options/general-options.php:113
247
  msgid "Repeat the \"Add to cart\" field at the end of the table"
248
+ msgstr "Herhaal \"Toevoegen aan mandje\" veld aan het einde van de tabel"
249
 
250
+ #: plugin-options/general-options.php:121
251
  msgid "Image size"
252
  msgstr "Afbeelding formaat"
253
 
254
+ #: plugin-options/general-options.php:122
255
  msgid "Set the size for the images"
256
  msgstr "Stel afbeeldings formaat in "
257
 
258
+ #: templates/admin/premium.php:228 templates/admin/premium.php:402
259
  #, php-format
260
  msgid ""
261
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
262
  "benefit from all features!"
263
  msgstr ""
264
+ "Upgrade naar %1$spremium version%2$s van %1$sYITH WooCommerce Compare%2$s om "
265
+ "te profiteren van alle functies!"
266
 
267
+ #: templates/admin/premium.php:231 templates/admin/premium.php:405
268
  msgid "UPGRADE"
269
+ msgstr "UPGRADE"
270
 
271
+ #: templates/admin/premium.php:232 templates/admin/premium.php:406
272
  msgid "to the premium version"
273
+ msgstr "naar het premium versie"
274
 
275
  #: templates/admin/premium.php:238
276
  msgid "Premium Features"
277
+ msgstr "Premium Functies"
278
 
279
  #: templates/admin/premium.php:246
280
  msgid "A DEDICATED PAGE"
281
+ msgstr "EEN SPECIALE PAGINA"
282
 
283
  #: templates/admin/premium.php:249
284
  #, php-format
289
  "you will be able to give to your users the chance to access it easily "
290
  "whenever they want."
291
  msgstr ""
292
+ "Wilt dat uw producten niet meer te vergelijken in een gewoon venster?"
293
+ "%3$sWith the premium version of %1$sYITH WooCommerce Compare%2$s, een nieuwe "
294
+ "pagina zal automatisch worden aangemaakt op uw website en met de toevoeging "
295
+ "tussen de menu-items, is het mogelijk om je gebruikers de kans te geven om "
296
+ "makkelijk toegang te geven wanneer ze maar willen. "
297
 
298
  #: templates/admin/premium.php:259
299
  msgid "CATEGORY COMPARATION"
300
+ msgstr "CATEGORIE VERGELIJKING"
301
 
302
  #: templates/admin/premium.php:262
303
  #, php-format
308
  "need: you will be able to separate the products in the table by category "
309
  "affinity."
310
  msgstr ""
311
+ "Mensen worden vaak verward bij het vinden van producten in verschillende "
312
+ "categorieën in de vergelijkingstabel.het creëren van moeilijkheden bij het "
313
+ "vergelijken van de producten waarin ze zijn geïnteresseerd. De %1$s\"Compare "
314
+ "by category\"%2$s optie bestaat voor de behoefte: U hebt de mogelijkheid om "
315
+ "de producten te scheiden in de tabel bij de categorie affiniteit."
316
 
317
  #: templates/admin/premium.php:278
318
  msgid "CATEGORY EXCLUSION "
319
+ msgstr "CATEGORIE UITSLUITEN"
320
 
321
  #: templates/admin/premium.php:281
322
  #, php-format
328
  "of the feature, allowing the comparison only to those products of the "
329
  "selected categories."
330
  msgstr ""
331
+ "In uw winkel kunnen er productcategorieën zijn die u niet wilt veranderen "
332
+ "door de plug-in functies, het schrappen van de vergelijking knop voor hen. "
333
+ "De premium-versie van de plugin biedt dit ook.%3$sAnd there's more! "
334
+ "Activating the %1$s\"Reverse exclusion list\"%2$s optie, u kunt ook het "
335
+ "gedrag van de functie omkeren, waardoor de vergelijking alleen kan op de "
336
+ "producten van de geselecteerde categorieën."
337
 
338
  #: templates/admin/premium.php:291
339
  msgid "TABLE IMAGE"
340
+ msgstr "TABEL AFBEELDING"
341
 
342
  #: templates/admin/premium.php:294
343
  #, php-format
346
  "Select an image, upload it from the option panel and show it ahead of the "
347
  "table to your users. "
348
  msgstr ""
349
+ "Geef een persoonlijke touch aan de %1$scomparison table%2$s die u gebruikers "
350
+ "zien. Selecteer een afbeelding, upload het van het optie paneel en het wordt "
351
+ "direct getoond in de tabel van uw gebruikers."
352
 
353
  #: templates/admin/premium.php:310
354
  msgid "DYNAMIC FIELDS"
355
+ msgstr "DYNAMISCHE VELDEN"
356
 
357
  #: templates/admin/premium.php:313
358
  #, php-format
362
  "%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
363
  "be no more empty lines in your comparison table."
364
  msgstr ""
365
+ "Met deze speciale functie is het voor u mogelijk om in de tabel alleen de "
366
+ "velden te tonen die informatie bevat in tenminste een van de geselecteerde "
367
+ "producten.%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s optie en er "
368
+ "zullen geen legen regels zijn in uw vergelijkingstabel."
369
 
370
  #: templates/admin/premium.php:323
371
  msgid "SOCIAL NETWORK SHARING"
372
+ msgstr "SOCIAAL NETWERK DELEN"
373
 
374
  #: templates/admin/premium.php:326
375
  #, php-format
379
  "Pinterest) and the email system %1$sto share%2$s the comparison table of the "
380
  "products they have selected."
381
  msgstr ""
382
+ "Een van de meest aantrekkelijke kenmerken van de premium versie van de "
383
+ "plugin. voor sociale netwerk sites voor uw gebruikers (Facebook, Twitter, "
384
+ "Google + en Pinterest) en het e-mailsysteem %1$sto share%2$s de "
385
+ "vergelijkstabel van de producten die zij hebben geselecteerd."
386
 
387
  #: templates/admin/premium.php:342
388
  msgid "RELATED PRODUCTS"
389
+ msgstr "GERELATEERDE PRODUCTEN"
390
 
391
  #: templates/admin/premium.php:345
392
  #, php-format
397
  "users to discover the shop products of the shop related to those they are "
398
  "interested into."
399
  msgstr ""
400
+ "Alle producten die gemeenschappelijk categorieën en / of labels hebben in de "
401
+ "vergelijkende tabel worden getoond in een slider, recht onder de "
402
+ "vergelijkingstabel.%3$sA completely %1$s\"touch friendly\"%2$s slider om uw "
403
+ "gebruikers aan te moedigen de winkel producten van de winkel waar in ze "
404
+ "geïnteresseerd zijn in te ontdekken."
405
 
406
  #: templates/admin/premium.php:355
407
  msgid "CUSTOMIZABLE STYLE"
408
+ msgstr "AANPASBARE STIJLEN"
409
 
410
  #: templates/admin/premium.php:358
411
  #, php-format
412
  msgid ""
413
  "An advanced option panel that let you change all the colors of the plugin, "
414
+ "so that you can adapt stylistically all its elements %1$sto the layout%2$s "
415
  "of your shop.We know it, looks also count... and we give you the right tools "
416
  "to get to the best result."
417
  msgstr ""
418
 
419
+ #: templates/admin/premium.php:374
420
+ msgid "CUSTOMIZED ATTRIBUTES"
421
+ msgstr ""
422
+
423
+ #: templates/admin/premium.php:377
424
+ #, php-format
425
+ msgid ""
426
+ "Let you users compare products following every feature, and considering also "
427
+ "all those %1$sattributes%2$s that can be manually created in within the "
428
+ "product detail page. Every single detail will be included."
429
+ msgstr ""
430
+
431
+ #: templates/admin/premium.php:387
432
+ msgid "A TAILORED TABLE"
433
+ msgstr ""
434
+
435
+ #: templates/admin/premium.php:390
436
+ #, php-format
437
+ msgid ""
438
+ "Select the products you want to compare and the system will offer you the "
439
+ "%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
440
+ msgstr ""
441
+
442
  #: templates/compare.php:76
443
  msgid "Close window [X]"
444
  msgstr "Sluit venster [X]"
459
  msgid "Clear all"
460
  msgstr "Wis alles"
461
 
462
+ #: assets/js/jquery.colorbox-min.js:7
463
+ msgid "."
464
+ msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
465
 
466
+ #: assets/js/jquery.colorbox-min.js:7
467
+ msgid "<button type=\"button\"/>"
468
+ msgstr ""
469
 
470
+ #: assets/js/jquery.colorbox-min.js:7
471
+ msgid "<div>"
472
+ msgstr ""
473
 
474
+ #: assets/js/jquery.colorbox-min.js:7
475
+ msgid "<a/>"
476
+ msgstr ""
477
 
478
+ #~ msgid ""
479
+ #~ "An advanced option panel that let you change all the colors of the "
480
+ #~ "plugin, so that you can adapt stylistically all its elements to the "
481
+ #~ "%1$slayout%2$s of your shop.We know it, looks also count... and we give "
482
+ #~ "you the right tools to get to the best result."
483
+ #~ msgstr ""
484
+ #~ "Een geavanceerde optie paneel dat je alle kleuren laat veranderen van je "
485
+ #~ "plugin, zo dat je alle stijlen kan aanpassen naar de %1$slayout%2$s van u "
486
+ #~ "winkel. We weten het dat uiterlijk ook telt... en wij geven u de juiste "
487
+ #~ "tools om het beste resultaat te krijgen."
languages/yith-woocommerce-compare-sk_SK.mo ADDED
Binary file
languages/yith-woocommerce-compare-sk_SK.po ADDED
@@ -0,0 +1,456 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-10-28 10:14+0100\n"
5
+ "PO-Revision-Date: 2015-10-28 10:14+0100\n"
6
+ "Last-Translator: Jakub Novák <jakub.novak@hellephant.sk>\n"
7
+ "Language-Team: Hellephant <jakub.novak@hellephant.sk>\n"
8
+ "Language: sk\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.2\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
+
20
+ #: includes/class.yith-woocompare-admin.php:117
21
+ #: includes/class.yith-woocompare-admin.php:141
22
+ msgid "Settings"
23
+ msgstr ""
24
+
25
+ #: includes/class.yith-woocompare-admin.php:119
26
+ #: includes/class.yith-woocompare-admin.php:145
27
+ msgid "Premium Version"
28
+ msgstr ""
29
+
30
+ #: includes/class.yith-woocompare-admin.php:151
31
+ #: includes/class.yith-woocompare-admin.php:152
32
+ #: includes/class.yith-woocompare-frontend.php:354
33
+ #: plugin-options/general-options.php:40 plugin-options/general-options.php:41
34
+ #: widgets/class.yith-woocompare-widget.php:50
35
+ msgid "Compare"
36
+ msgstr "Porovnať"
37
+
38
+ #: includes/class.yith-woocompare-admin.php:215
39
+ msgid "Plugin Documentation"
40
+ msgstr ""
41
+
42
+ #: includes/class.yith-woocompare-admin.php:235
43
+ msgid "YITH WooCommerce Compare Activated"
44
+ msgstr ""
45
+
46
+ #: includes/class.yith-woocompare-admin.php:236
47
+ #, php-format
48
+ msgid ""
49
+ "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
50
+ "With this menu, you can access to all the settings of our plugins that you "
51
+ "have activated. YITH WooCommerce Compare is available in an outstanding "
52
+ "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
53
+ msgstr ""
54
+
55
+ #: includes/class.yith-woocompare-admin.php:247
56
+ msgid "YITH WooCommerce Compare Updated"
57
+ msgstr ""
58
+
59
+ #: includes/class.yith-woocompare-admin.php:248
60
+ #, php-format
61
+ msgid ""
62
+ "From now on, you can find all the options of YITH WooCommerce Compare under "
63
+ "YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in "
64
+ "the previous version. When one of our plugins is updated, a new voice will "
65
+ "be added to this menu. YITH WooCommerce Compare has been updated with new "
66
+ "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
67
+ msgstr ""
68
+
69
+ #: includes/class.yith-woocompare-admin.php:393
70
+ msgid "Do you want to hard crop the image?"
71
+ msgstr ""
72
+
73
+ #: includes/class.yith-woocompare-frontend.php:142
74
+ msgid "Added"
75
+ msgstr "Pridané"
76
+
77
+ #: includes/class.yith-woocompare-frontend.php:143 templates/compare.php:51
78
+ msgid "Product Comparison"
79
+ msgstr "Porovnanie produktov"
80
+
81
+ #: includes/class.yith-woocompare-frontend.php:266
82
+ msgid "In stock"
83
+ msgstr "Na sklade"
84
+
85
+ #: includes/class.yith-woocompare-frontend.php:549
86
+ msgid "No products to compare"
87
+ msgstr "Nie sú produkty na porovnanie"
88
+
89
+ #: includes/class.yith-woocompare-frontend.php:560 templates/compare.php:111
90
+ msgid "Remove"
91
+ msgstr "Odobrať"
92
+
93
+ #: includes/class.yith-woocompare-helper.php:45
94
+ msgid "Image"
95
+ msgstr "Obrázok"
96
+
97
+ #: includes/class.yith-woocompare-helper.php:46
98
+ #: widgets/class.yith-woocompare-widget.php:67
99
+ msgid "Title"
100
+ msgstr "Titulok"
101
+
102
+ #: includes/class.yith-woocompare-helper.php:47
103
+ msgid "Price"
104
+ msgstr "Cena"
105
+
106
+ #: includes/class.yith-woocompare-helper.php:48
107
+ msgid "Add to cart"
108
+ msgstr "Pridať do košíka"
109
+
110
+ #: includes/class.yith-woocompare-helper.php:49
111
+ msgid "Description"
112
+ msgstr "Popis"
113
+
114
+ #: includes/class.yith-woocompare-helper.php:50
115
+ msgid "Availability"
116
+ msgstr "Dostupnosť"
117
+
118
+ #: init.php:40
119
+ msgid ""
120
+ "YITH WooCommerce Compare is enabled but not effective. It requires "
121
+ "WooCommerce in order to work."
122
+ msgstr ""
123
+
124
+ #: init.php:48
125
+ msgid ""
126
+ "You can't activate the free version of YITH WooCommerce Compare while you "
127
+ "are using the premium one."
128
+ msgstr ""
129
+
130
+ #: plugin-options/general-options.php:17
131
+ msgid "General Settings"
132
+ msgstr "Všeobecné nastavenia"
133
+
134
+ #: plugin-options/general-options.php:24
135
+ msgid "Link or Button"
136
+ msgstr "Odkaz alebo tlačidlo"
137
+
138
+ #: plugin-options/general-options.php:25
139
+ msgid "Choose if you want to use a link or a button for the action button."
140
+ msgstr "Vyberte si či chcete ku vyvolaniu akcie používať odkaz alebo tlačidlo."
141
+
142
+ #: plugin-options/general-options.php:31
143
+ msgid "Link"
144
+ msgstr "Odkaz"
145
+
146
+ #: plugin-options/general-options.php:32
147
+ msgid "Button"
148
+ msgstr "Tlačidlo"
149
+
150
+ #: plugin-options/general-options.php:37
151
+ msgid "Link/Button text"
152
+ msgstr "Odkaz/Text tlačidla"
153
+
154
+ #: plugin-options/general-options.php:38
155
+ msgid "Type the text to use for the button or the link of the compare."
156
+ msgstr "Zadajte text tlačidla alebo odkazu na porovnanie."
157
+
158
+ #: plugin-options/general-options.php:46
159
+ msgid "Show button in single product page"
160
+ msgstr "Zobraziť tlačidlo na produktovej stránke."
161
+
162
+ #: plugin-options/general-options.php:47
163
+ msgid "Say if you want to show the button in the single product page."
164
+ msgstr "Rozhodnite sa či chcete zobrazovať tlačidlo na produktovej stránke."
165
+
166
+ #: plugin-options/general-options.php:55
167
+ msgid "Show button in products list"
168
+ msgstr "Zobraziť tlačidlo v zozname produktov."
169
+
170
+ #: plugin-options/general-options.php:56
171
+ msgid "Say if you want to show the button in the products list."
172
+ msgstr "Rozhodnite sa či chcete zobrazovať tlačidlo v zozname produktov"
173
+
174
+ #: plugin-options/general-options.php:64
175
+ msgid "Open automatically lightbox"
176
+ msgstr "Otvoriť lightbox autmaticky."
177
+
178
+ #: plugin-options/general-options.php:65
179
+ msgid "Open link after click into \"Compare\" button\"."
180
+ msgstr "Otvoriť odkaz po kliknuťí na \"Porovnať\" tlačidlo\"."
181
+
182
+ #: plugin-options/general-options.php:78
183
+ msgid "Table Settings"
184
+ msgstr "Nastavenie tabuľky"
185
+
186
+ #: plugin-options/general-options.php:85
187
+ msgid "Table title"
188
+ msgstr "Titulok tabuľky"
189
+
190
+ #: plugin-options/general-options.php:86
191
+ msgid "Type the text to use for the table title."
192
+ msgstr "Napíšte text pre titulok tabuľky"
193
+
194
+ #: plugin-options/general-options.php:88 plugin-options/general-options.php:89
195
+ msgid "Compare products"
196
+ msgstr "Porovnať produkty"
197
+
198
+ #: plugin-options/general-options.php:94
199
+ msgid "Fields to show"
200
+ msgstr "Zobraziť polia"
201
+
202
+ #: plugin-options/general-options.php:95
203
+ msgid ""
204
+ "Select the fields to show in the comparison table and order them by "
205
+ "drag&drop (are included also the woocommerce attributes)"
206
+ msgstr ""
207
+ "Vyberte polia na zobrazenie v porovnávacej tabuľke a zoraďte ich pomocou "
208
+ "drag&drop (zahrnuté vo woocommerce atribútoch)"
209
+
210
+ #: plugin-options/general-options.php:103
211
+ msgid "Repeat \"Price\" field"
212
+ msgstr ""
213
+
214
+ #: plugin-options/general-options.php:104
215
+ msgid "Repeat the \"Price\" field at the end of the table"
216
+ msgstr ""
217
+
218
+ #: plugin-options/general-options.php:112
219
+ msgid "Repeat \"Add to cart\" field"
220
+ msgstr ""
221
+
222
+ #: plugin-options/general-options.php:113
223
+ msgid "Repeat the \"Add to cart\" field at the end of the table"
224
+ msgstr ""
225
+
226
+ #: plugin-options/general-options.php:121
227
+ msgid "Image size"
228
+ msgstr "Rozmer obrázka"
229
+
230
+ #: plugin-options/general-options.php:122
231
+ msgid "Set the size for the images"
232
+ msgstr "Nastaviť rozmer pre obrázky"
233
+
234
+ #: templates/admin/premium.php:228 templates/admin/premium.php:402
235
+ #, php-format
236
+ msgid ""
237
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
238
+ "benefit from all features!"
239
+ msgstr ""
240
+
241
+ #: templates/admin/premium.php:231 templates/admin/premium.php:405
242
+ msgid "UPGRADE"
243
+ msgstr ""
244
+
245
+ #: templates/admin/premium.php:232 templates/admin/premium.php:406
246
+ msgid "to the premium version"
247
+ msgstr ""
248
+
249
+ #: templates/admin/premium.php:238
250
+ msgid "Premium Features"
251
+ msgstr ""
252
+
253
+ #: templates/admin/premium.php:246
254
+ msgid "A DEDICATED PAGE"
255
+ msgstr ""
256
+
257
+ #: templates/admin/premium.php:249
258
+ #, php-format
259
+ msgid ""
260
+ "Don't you want to compare your products in a modal window anymore?%3$sWith "
261
+ "the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be "
262
+ "created automatically in your site and, adding it among the menu entries, "
263
+ "you will be able to give to your users the chance to access it easily "
264
+ "whenever they want."
265
+ msgstr ""
266
+
267
+ #: templates/admin/premium.php:259
268
+ msgid "CATEGORY COMPARATION"
269
+ msgstr ""
270
+
271
+ #: templates/admin/premium.php:262
272
+ #, php-format
273
+ msgid ""
274
+ "People are often confused by finding products of different categories in the "
275
+ "comparison table, creating difficulties in comparing the products they are "
276
+ "interested into.The %1$s\"Compare by category\"%2$s option exists for this "
277
+ "need: you will be able to separate the products in the table by category "
278
+ "affinity."
279
+ msgstr ""
280
+
281
+ #: templates/admin/premium.php:278
282
+ msgid "CATEGORY EXCLUSION "
283
+ msgstr ""
284
+
285
+ #: templates/admin/premium.php:281
286
+ #, php-format
287
+ msgid ""
288
+ "In your shop there may be product categories you don't want to be affected "
289
+ "by the plugin features, deleting the comparison button for them. The premium "
290
+ "version of the plugin offers this too.%3$sAnd there's more! Activating the "
291
+ "%1$s\"Reverse exclusion list\"%2$s option, you can also invert the behavior "
292
+ "of the feature, allowing the comparison only to those products of the "
293
+ "selected categories."
294
+ msgstr ""
295
+
296
+ #: templates/admin/premium.php:291
297
+ msgid "TABLE IMAGE"
298
+ msgstr ""
299
+
300
+ #: templates/admin/premium.php:294
301
+ #, php-format
302
+ msgid ""
303
+ "Give a personal touch to the %1$scomparison table%2$s your users will see. "
304
+ "Select an image, upload it from the option panel and show it ahead of the "
305
+ "table to your users. "
306
+ msgstr ""
307
+
308
+ #: templates/admin/premium.php:310
309
+ msgid "DYNAMIC FIELDS"
310
+ msgstr ""
311
+
312
+ #: templates/admin/premium.php:313
313
+ #, php-format
314
+ msgid ""
315
+ "With this precious feature, you will be able to show in the table only the "
316
+ "fields that have information in at least one of the selected products."
317
+ "%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
318
+ "be no more empty lines in your comparison table."
319
+ msgstr ""
320
+
321
+ #: templates/admin/premium.php:323
322
+ msgid "SOCIAL NETWORK SHARING"
323
+ msgstr ""
324
+
325
+ #: templates/admin/premium.php:326
326
+ #, php-format
327
+ msgid ""
328
+ "One of the most appealing features of the premium version of the plugin.Four "
329
+ "social network sites for your users (Facebook, Twitter, Google + and "
330
+ "Pinterest) and the email system %1$sto share%2$s the comparison table of the "
331
+ "products they have selected."
332
+ msgstr ""
333
+
334
+ #: templates/admin/premium.php:342
335
+ msgid "RELATED PRODUCTS"
336
+ msgstr ""
337
+
338
+ #: templates/admin/premium.php:345
339
+ #, php-format
340
+ msgid ""
341
+ "All the products that have common categories and/or tags with those in the "
342
+ "comparison table will be showed in a slider, right under the comparison "
343
+ "table.%3$sA completely %1$s\"touch friendly\"%2$s slider to encourage your "
344
+ "users to discover the shop products of the shop related to those they are "
345
+ "interested into."
346
+ msgstr ""
347
+
348
+ #: templates/admin/premium.php:355
349
+ msgid "CUSTOMIZABLE STYLE"
350
+ msgstr ""
351
+
352
+ #: templates/admin/premium.php:358
353
+ #, php-format
354
+ msgid ""
355
+ "An advanced option panel that let you change all the colors of the plugin, "
356
+ "so that you can adapt stylistically all its elements %1$sto the layout%2$s "
357
+ "of your shop.We know it, looks also count... and we give you the right tools "
358
+ "to get to the best result."
359
+ msgstr ""
360
+
361
+ #: templates/admin/premium.php:374
362
+ msgid "CUSTOMIZED ATTRIBUTES"
363
+ msgstr ""
364
+
365
+ #: templates/admin/premium.php:377
366
+ #, php-format
367
+ msgid ""
368
+ "Let you users compare products following every feature, and considering also "
369
+ "all those %1$sattributes%2$s that can be manually created in within the "
370
+ "product detail page. Every single detail will be included."
371
+ msgstr ""
372
+
373
+ #: templates/admin/premium.php:387
374
+ msgid "A TAILORED TABLE"
375
+ msgstr ""
376
+
377
+ #: templates/admin/premium.php:390
378
+ #, php-format
379
+ msgid ""
380
+ "Select the products you want to compare and the system will offer you the "
381
+ "%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
382
+ msgstr ""
383
+
384
+ #: templates/compare.php:76
385
+ msgid "Close window [X]"
386
+ msgstr "Zavrieť okno [X]"
387
+
388
+ #: templates/compare.php:103
389
+ msgid "No products added in the compare table."
390
+ msgstr "Neboli vybrané produkty do porovnávacej tabuľky."
391
+
392
+ #: widgets/class.yith-woocompare-widget.php:23
393
+ msgid "The widget show the list of products added in the compare table."
394
+ msgstr "Wiget ukazuje zoznam produktov pridaných do porovnávacej tabuľky."
395
+
396
+ #: widgets/class.yith-woocompare-widget.php:27
397
+ msgid "YITH Woocommerce Compare Widget"
398
+ msgstr "YITH Woocommerce Compare Widget"
399
+
400
+ #: widgets/class.yith-woocompare-widget.php:49
401
+ msgid "Clear all"
402
+ msgstr "Vyprázdniť všetko"
403
+
404
+ #~ msgid "Upload"
405
+ #~ msgstr "Upload"
406
+
407
+ #~ msgid "px"
408
+ #~ msgstr "px"
409
+
410
+ #~ msgid "em"
411
+ #~ msgstr "em"
412
+
413
+ #~ msgid "pt"
414
+ #~ msgstr "pt"
415
+
416
+ #~ msgid "rem"
417
+ #~ msgstr "rem"
418
+
419
+ #~ msgid "Regular"
420
+ #~ msgstr "Regular"
421
+
422
+ #~ msgid "Bold"
423
+ #~ msgstr "Bold"
424
+
425
+ #~ msgid "Extra bold"
426
+ #~ msgstr "Extra bold"
427
+
428
+ #~ msgid "Italic"
429
+ #~ msgstr "Italic"
430
+
431
+ #~ msgid "Italic bold"
432
+ #~ msgstr "Italic bold"
433
+
434
+ #~ msgid "Products Compare"
435
+ #~ msgstr "Porovnanie produktov"
436
+
437
+ #~ msgid "Repeat \"Price\" field at the end of the table"
438
+ #~ msgstr "Opakovať pole \"Cena\" na konci tabuľky"
439
+
440
+ #~ msgid "Repeat \"Add to cart\" field at the end of the table"
441
+ #~ msgstr "Opakovať pole \"Vložiť do košíka\" na konci tabuľky"
442
+
443
+ #~ msgid "Select a date"
444
+ #~ msgstr "Vybrať data"
445
+
446
+ #~ msgid "Hours"
447
+ #~ msgstr "Hodiny"
448
+
449
+ #~ msgid "Minutes"
450
+ #~ msgstr "Minúty"
451
+
452
+ #~ msgid "Select a font family"
453
+ #~ msgstr "Vybrať font"
454
+
455
+ #~ msgid "Click to preview"
456
+ #~ msgstr "Kliknite pre náhľad"
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -631,6 +631,13 @@
631
  width: 6em;
632
  }
633
 
 
 
 
 
 
 
 
634
  /* === Responsive === */
635
 
636
  @media (max-width: 767px) {}
631
  width: 6em;
632
  }
633
 
634
+ /* === YIT FRAMEWORK === */
635
+ .plugin-card .plugin-icon img {
636
+ max-width: 100%;
637
+ width: auto;
638
+ height: auto;
639
+ }
640
+
641
  /* === Responsive === */
642
 
643
  @media (max-width: 767px) {}
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -165,6 +165,12 @@
165
  var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
166
 
167
  $("#" + id).val( attachment.url );
 
 
 
 
 
 
168
  $('.plugin-option .upload_img_url').trigger('change');
169
  });
170
 
165
  var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
166
 
167
  $("#" + id).val( attachment.url );
168
+ // Save the id of the selected element to an element which name is the same with
169
+ // a suffix "-yith-attachment-id"
170
+ if ($("#" + id + "-yith-attachment-id")) {
171
+ $("#" + id + "-yith-attachment-id").val(attachment.id);
172
+ }
173
+
174
  $('.plugin-option .upload_img_url').trigger('change');
175
  });
176
 
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1,10 +1 @@
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(".plugin-option .upload_img_url").trigger("change")}));c.open()}));a(".plugin-option .add_media").on("click",
6
- 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"==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");
7
- 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,"\\$&").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",
8
- 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")})}});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=
9
- 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";e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";
10
- b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
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);
 
 
 
 
 
 
 
 
 
plugin-fw/init.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/
8
+ *
9
+ * @author Your Inspiration Themes
10
+ * @package YITH WooCommerce Ajax Navigation
11
+ * @version 2.0
12
+ */
13
+ /**
14
+ * This file belongs to the YIT Plugin Framework.
15
+ *
16
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
17
+ * that is bundled with this package in the file LICENSE.txt.
18
+ * It is also available through the world-wide-web at this URL:
19
+ * http://www.gnu.org/licenses/gpl-3.0.txt
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',
40
+ 'TextDomain' => 'Text Domain',
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
+ }
plugin-fw/lib/yit-metabox.php CHANGED
@@ -161,8 +161,6 @@ if (!class_exists('YIT_Metabox')) {
161
  wp_enqueue_script('ajax-chosen', yit_load_js_file(YIT_CORE_PLUGIN_URL . '/assets/js/chosen/ajax-chosen.jquery.js'), array('jquery'), '1.1.0', true);
162
  wp_enqueue_script('yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array('jquery', 'wp-color-picker'), '1.0.0', true);
163
  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');
164
-
165
-
166
  }
167
 
168
  /**
161
  wp_enqueue_script('ajax-chosen', yit_load_js_file(YIT_CORE_PLUGIN_URL . '/assets/js/chosen/ajax-chosen.jquery.js'), array('jquery'), '1.1.0', true);
162
  wp_enqueue_script('yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array('jquery', 'wp-color-picker'), '1.0.0', true);
163
  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');
 
 
164
  }
165
 
166
  /**
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -278,6 +278,20 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
278
  }
279
  }
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  woocommerce_update_options( $yit_options[ $current_tab ] );
282
 
283
  do_action( 'yit_panel_wc_after_update' );
@@ -314,7 +328,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
314
  wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce->version );
315
  wp_enqueue_style ( 'wp-jquery-ui-dialog' );
316
 
317
-
318
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
319
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
320
  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 );
@@ -365,8 +378,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
365
  * @return array Filtered body classes
366
  */
367
  public function admin_body_class( $admin_body_classes ){
368
- $admin_body_classes .= ' woocommerce ';
369
- return $admin_body_classes;
370
  }
371
 
372
  /**
278
  }
279
  }
280
 
281
+ foreach($_POST as $name => $value) {
282
+
283
+ // Check if current POST var which name ends with a specific needle
284
+ $attachment_id_needle = "-yith-attachment-id";
285
+ $is_hidden_input = (($temp = strlen($name) - strlen($attachment_id_needle)) >= 0 && strpos($name, $attachment_id_needle, $temp) !== FALSE);
286
+ if ($is_hidden_input){
287
+ // Is an input element of type "hidden" coupled with an input element for selecting an element from the media gallery
288
+ $yit_options[ $current_tab ][$name] = array(
289
+ "type" => "text",
290
+ "id" => $name
291
+ );
292
+ }
293
+ }
294
+
295
  woocommerce_update_options( $yit_options[ $current_tab ] );
296
 
297
  do_action( 'yit_panel_wc_after_update' );
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 );
378
  * @return array Filtered body classes
379
  */
380
  public function admin_body_class( $admin_body_classes ){
381
+ global $pagenow;
382
+ return 'admin.php' == $pagenow && substr_count( $admin_body_classes, 'woocommerce' ) == 0 ? $admin_body_classes .= ' woocommerce ' : $admin_body_classes;
383
  }
384
 
385
  /**
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -121,32 +121,27 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
121
  */
122
  public function admin_enqueue_scripts() {
123
 
124
- global $wp_scripts;
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_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
133
- wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
134
- wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
135
- wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
136
- wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
137
-
138
-
139
- wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
140
 
141
  //styles
142
-
143
  $jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
144
-
145
  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' );
146
  wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
147
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
148
-
149
- wp_enqueue_style( 'jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
150
  }
151
 
152
  /**
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
  /**
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -190,15 +190,34 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
190
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
191
  */
192
  protected function _upgrader_pre_download( $reply, $package, $upgrader ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
 
194
  /**
195
  * It isn't YITH Premium plugins, please wordpress update it for me!
196
  */
197
- if( ! isset( $upgrader->skin->plugin ) ) {
198
  return $reply;
199
  }
200
 
201
- $plugin_info = YIT_Plugin_Licence()->get_product( $upgrader->skin->plugin );
202
 
203
  /**
204
  * False ? It isn't YITH Premium plugins, please wordpress update it for me!
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
+
196
+ if( ! $is_bulk ){
197
+ $plugin = isset( $upgrader->skin->plugin ) ? $upgrader->skin->plugin : false;
198
+ }
199
+
200
+ else {
201
+ //Bulk action upgrade
202
+ $action_url = parse_url( $upgrader->skin->options['url'] );
203
+ parse_str( rawurldecode( htmlspecialchars_decode( $action_url['query'] ) ) );
204
+ $plugins = explode( ',', $plugins );
205
+ foreach( $plugins as $plugin_init ){
206
+ $to_upgrade = get_plugin_data( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin_init );
207
+ if( $to_upgrade['Name'] == $upgrader->skin->plugin_info['Name'] ){
208
+ $plugin = $plugin_init;
209
+ }
210
+ }
211
+ }
212
 
213
  /**
214
  * It isn't YITH Premium plugins, please wordpress update it for me!
215
  */
216
+ if( ! $plugin ) {
217
  return $reply;
218
  }
219
 
220
+ $plugin_info = YIT_Plugin_Licence()->get_product( $plugin );
221
 
222
  /**
223
  * False ? It isn't YITH Premium plugins, please wordpress update it for me!
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -48,7 +48,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
48
  * @var string The yithemes api uri
49
  * @since 1.0
50
  */
51
- protected $_api_uri = 'http://www.yithemes.com';
52
 
53
  /**
54
  * @var string The yithemes api uri query args
@@ -159,7 +159,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
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
  );
48
  * @var string The yithemes api uri
49
  * @since 1.0
50
  */
51
+ protected $_api_uri = 'http://yithemes.com';
52
 
53
  /**
54
  * @var string The yithemes api uri query args
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
  );
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -75,9 +75,7 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
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_nopriv_activate-{$this->_product_type}", array( $this, 'activate' ) );
79
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
80
- add_action( "wp_ajax_nopriv_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
81
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
82
  }
83
 
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
 
plugin-fw/licence/lib/yit-theme-licence.php CHANGED
@@ -71,9 +71,7 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
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_nopriv_activate-{$this->_product_type}", array( $this, 'activate' ) );
75
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
76
- add_action( "wp_ajax_nopriv_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
77
  }
78
 
79
  /**
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
 
77
  /**
plugin-fw/templates/panel/woocommerce/woocommerce-upload.php CHANGED
@@ -16,10 +16,10 @@
16
  * @since 1.0.0
17
  */
18
 
19
- if ( ! defined( 'ABSPATH' ) ) {
20
  exit;
21
  } // Exit if accessed directly
22
-
23
 
24
  ?>
25
 
@@ -29,18 +29,25 @@ if ( ! defined( 'ABSPATH' ) ) {
29
  </th>
30
  <td class="forminp forminp-color plugin-option">
31
 
32
- <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 ?>>
 
 
 
33
  <div class="option">
34
- <input type="text" name="<?php echo $id ?>" id="<?php echo $id ?>" value="<?php echo $value == '1' ? '' : esc_attr( $value ) ?>" class="upload_img_url" />
35
- <input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
 
 
 
36
  </div>
37
  <div class="clear"></div>
38
  <span class="description"><?php echo $desc ?></span>
 
39
  <div class="upload_img_preview" style="margin-top:10px;">
40
  <?php
41
  $file = $value;
42
- if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
43
- echo "<img src=\"" . YIT_CORE_PLUGIN_URL. "/assets/images/sleep.png\" data-src=\"$file\" />";
44
  }
45
  ?>
46
  </div>
16
  * @since 1.0.0
17
  */
18
 
19
+ if (!defined('ABSPATH')) {
20
  exit;
21
  } // Exit if accessed directly
22
+ $hidden_val = get_option($id . "-yith-attachment-id", 0);
23
 
24
  ?>
25
 
29
  </th>
30
  <td class="forminp forminp-color plugin-option">
31
 
32
+ <div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload"
33
+ <?php if (isset($option['deps'])): ?>data-field="<?php echo $id ?>"
34
+ data-dep="<?php echo $this->get_id_field($option['deps']['ids']) ?>"
35
+ data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
36
  <div class="option">
37
+ <input type="text" name="<?php echo $id ?>" id="<?php echo $id ?>"
38
+ value="<?php echo $value == '1' ? '' : esc_attr($value) ?>" class="upload_img_url"/>
39
+ <input type="hidden" name="<?php echo $id ?>-yith-attachment-id" id="<?php echo $id ?>-yith-attachment-id" value="<?php echo $hidden_val; ?>" />
40
+ <input type="button" value="<?php _e('Upload', 'yith-plugin-fw') ?>" id="<?php echo $id ?>-button"
41
+ class="upload_button button"/>
42
  </div>
43
  <div class="clear"></div>
44
  <span class="description"><?php echo $desc ?></span>
45
+
46
  <div class="upload_img_preview" style="margin-top:10px;">
47
  <?php
48
  $file = $value;
49
+ if (preg_match('/(jpg|jpeg|png|gif|ico)$/', $file)) {
50
+ echo "<img src=\"" . YIT_CORE_PLUGIN_URL . "/assets/images/sleep.png\" data-src=\"$file\" />";
51
  }
52
  ?>
53
  </div>
plugin-fw/yit-plugin.php CHANGED
@@ -13,22 +13,10 @@ if ( ! defined( 'ABSPATH' ) ) {
13
  } // Exit if accessed directly
14
 
15
 
16
- if( !defined('YIT_CORE_PLUGIN')) {
17
- define( 'YIT_CORE_PLUGIN', true);
18
- }
19
-
20
- if( !defined('YIT_CORE_PLUGIN_PATH')) {
21
- define( 'YIT_CORE_PLUGIN_PATH', dirname(__FILE__));
22
- }
23
-
24
- if( !defined('YIT_CORE_PLUGIN_URL')) {
25
- define( 'YIT_CORE_PLUGIN_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ));
26
- }
27
-
28
- if( ! defined( 'YIT_CORE_PLUGIN_TEMPLATE_PATH' ) ){
29
- define ( 'YIT_CORE_PLUGIN_TEMPLATE_PATH', YIT_CORE_PLUGIN_PATH . '/templates' );
30
- }
31
-
32
 
33
  include_once( 'yit-functions.php' );
34
  include_once( 'yit-plugin-registration-hook.php' );
13
  } // Exit if accessed directly
14
 
15
 
16
+ ! defined( 'YIT_CORE_PLUGIN' ) && define( 'YIT_CORE_PLUGIN', true);
17
+ ! defined( 'YIT_CORE_PLUGIN_PATH' ) && define( 'YIT_CORE_PLUGIN_PATH', dirname(__FILE__) );
18
+ ! defined( 'YIT_CORE_PLUGIN_URL' ) && define( 'YIT_CORE_PLUGIN_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
19
+ ! defined( 'YIT_CORE_PLUGIN_TEMPLATE_PATH' ) && define( 'YIT_CORE_PLUGIN_TEMPLATE_PATH', YIT_CORE_PLUGIN_PATH . '/templates' );
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  include_once( 'yit-functions.php' );
22
  include_once( 'yit-plugin-registration-hook.php' );
templates/admin/premium.php CHANGED
@@ -363,6 +363,38 @@
363
  </div>
364
  </div>
365
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
366
  <div class="section section-cta section-odd">
367
  <div class="landing-container">
368
  <div class="premium-cta">
363
  </div>
364
  </div>
365
  </div>
366
+ <div class="seven section section-even clear">
367
+ <div class="landing-container">
368
+ <div class="col-1">
369
+ <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/09.png" alt="Related products" />
370
+ </div>
371
+ <div class="col-2">
372
+ <div class="section-title">
373
+ <img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/09-icon.png" alt="icon 09" />
374
+ <h2><?php _e('CUSTOMIZED ATTRIBUTES','yith-woocommerce-compare');?></h2>
375
+ </div>
376
+ <p>
377
+ <?php echo sprintf( __('Let you users compare products following every feature, and considering also all those %1$sattributes%2$s that can be manually created in within the product detail page. Every single detail will be included.','yith-woocommerce-compare'),'<b>','</b>'); ?>
378
+ </p>
379
+ </div>
380
+ </div>
381
+ </div>
382
+ <div class="six section section-odd clear">
383
+ <div class="landing-container">
384
+ <div class="col-2">
385
+ <div class="section-title">
386
+ <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10-icon.png" alt="icon 10" />
387
+ <h2><?php _e('A TAILORED TABLE','yith-woocommerce-compare');?></h2>
388
+ </div>
389
+ <p>
390
+ <?php echo sprintf( __( 'Select the products you want to compare and the system will offer you the %1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
391
+ </p>
392
+ </div>
393
+ <div class="col-1">
394
+ <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/10.png" alt="Social networks" />
395
+ </div>
396
+ </div>
397
+ </div>
398
  <div class="section section-cta section-odd">
399
  <div class="landing-container">
400
  <div class="premium-cta">