YITH WooCommerce Compare - Version 2.0.4

Version Description

  • Fixed: JS error when loading compare window
  • Updated: Changed Text Domain from 'yith-wcmp' to 'yith-woocommerce-compare'
  • Updated: Plugin Core Framework
Download this release

Release Info

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

Code changes from version 2.0.3 to 2.0.4

Files changed (40) hide show
  1. README.txt +19 -4
  2. assets/images/loader.gif +0 -0
  3. assets/js/woocompare.js +5 -5
  4. includes/class.yith-woocompare-admin.php +11 -11
  5. includes/class.yith-woocompare-frontend.php +9 -8
  6. includes/class.yith-woocompare-helper.php +6 -6
  7. init.php +7 -7
  8. languages/yith-wcmp-it_IT.mo +0 -0
  9. languages/{yith-wcmp-bg_BG.mo → yith-woocommerce-compare-bg_BG.mo} +0 -0
  10. languages/{yith-wcmp-bg_BG.po → yith-woocommerce-compare-bg_BG.po} +15 -14
  11. languages/{yith-wcmp-es_ES.mo → yith-woocommerce-compare-es_ES.mo} +0 -0
  12. languages/{yith-wcmp-es_ES.po → yith-woocommerce-compare-es_ES.po} +13 -13
  13. languages/{yith-wcmp-fa_IR.mo → yith-woocommerce-compare-fa_IR.mo} +0 -0
  14. languages/{yith-wcmp-fa_IR.po → yith-woocommerce-compare-fa_IR.po} +13 -13
  15. languages/{yith-wcmp-fr_FR.mo → yith-woocommerce-compare-fr_FR.mo} +0 -0
  16. languages/{yith-wcmp-fr_FR.po → yith-woocommerce-compare-fr_FR.po} +15 -14
  17. languages/yith-woocommerce-compare-it_IT.mo +0 -0
  18. languages/{yith-wcmp-it_IT.po → yith-woocommerce-compare-it_IT.po} +446 -60
  19. languages/{yith-wcmp-nl_NL.mo → yith-woocommerce-compare-nl_NL.mo} +0 -0
  20. languages/{yith-wcmp-nl_NL.po → yith-woocommerce-compare-nl_NL.po} +15 -14
  21. languages/{yith-wcmp-pt_BR.mo → yith-woocommerce-compare-pt_BR.mo} +0 -0
  22. languages/{yith-wcmp-pt_BR.po → yith-woocommerce-compare-pt_BR.po} +15 -14
  23. languages/{yith-wcmp-tr_TR.mo → yith-woocommerce-compare-tr_TR.mo} +0 -0
  24. languages/{yith-wcmp-tr_TR.po → yith-woocommerce-compare-tr_TR.po} +13 -13
  25. languages/{yith-wcmp.pot → yith-woocommerce-compare.pot} +15 -14
  26. plugin-fw/assets/js/yit-cpt-unlimited.js +1 -1
  27. plugin-fw/assets/js/yit-cpt-unlimited.min.js +1 -1
  28. plugin-fw/lib/yit-cpt-unlimited.php +2 -2
  29. plugin-fw/lib/yit-metabox.php +135 -121
  30. plugin-fw/lib/yit-plugin-panel-wc.php +2 -1
  31. plugin-fw/lib/yit-plugin-panel.php +2 -1
  32. plugin-fw/lib/yit-upgrade.php +5 -4
  33. plugin-fw/lib/yit-video.php +12 -4
  34. plugin-fw/templates/metaboxes/types/categories.php +1 -1
  35. plugin-fw/templates/panel/woocommerce/woocommerce-form.php +1 -0
  36. plugin-fw/yit-functions.php +5 -0
  37. plugin-options/general-options.php +28 -26
  38. templates/admin/premium.php +23 -23
  39. templates/compare.php +4 -4
  40. widgets/class.yith-woocompare-widget.php +4 -4
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.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -56,6 +56,14 @@ Yes, you can choose what fields to show in the compare table. You can do it in Y
56
  = Can I order the fields in the compare table? =
57
  Yes, you can sort the fields in the compare table. You can do it in YIT Plugins -> Compare.
58
 
 
 
 
 
 
 
 
 
59
  == Screenshots ==
60
 
61
  1. The popup with compare table.
@@ -64,6 +72,12 @@ Yes, you can sort the fields in the compare table. You can do it in YIT Plugins
64
 
65
  == Changelog ==
66
 
 
 
 
 
 
 
67
  = 2.0.3 =
68
 
69
  * Added: Compatibility with WooPress 4.3
@@ -185,7 +199,8 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
185
 
186
  == Upgrade notice ==
187
 
188
- = 2.0.2 =
189
 
190
- * Added: Compatibility with WooCommerce 2.4
191
- * Updated: Core plugin
 
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
 
56
  = Can I order the fields in the compare table? =
57
  Yes, you can sort the fields in the compare table. You can do it in YIT Plugins -> Compare.
58
 
59
+ = What are the main changes in plugin translation? =
60
+ Recently YITH WooCommerce Compare has been selected to be included in the "translate.wordpress.org" translate programme.
61
+ In order to import correctly the plugin strings in the new system, we had to change the text domain form 'yit' to 'yith-woocommerce-compare'.
62
+ Once the plugin will be imported in the translate.wordpress.org system, the translations of other languages will be downloaded directly from WordPress, without using any .po and .mo files. Moreover, users will be able to participate in a more direct way to plugin translations, suggesting texts in their languages in the dedicated tab on translate.wordpress.org.
63
+ During this transition step, .po and .mo files will be used as always, but in order to be recognized by WordPress, they will need to have a new nomenclature, renaming them in:
64
+ yith-woocommerce-compare-<WORDPRESS LOCALE>.po
65
+ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
66
+
67
  == Screenshots ==
68
 
69
  1. The popup with compare table.
72
 
73
  == Changelog ==
74
 
75
+ = 2.0.4 =
76
+
77
+ * Fixed: JS error when loading compare window
78
+ * Updated: Changed Text Domain from 'yith-wcmp' to 'yith-woocommerce-compare'
79
+ * Updated: Plugin Core Framework
80
+
81
  = 2.0.3 =
82
 
83
  * Added: Compatibility with WooPress 4.3
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
assets/images/loader.gif ADDED
Binary file
assets/js/woocompare.js CHANGED
@@ -15,8 +15,8 @@ jQuery(document).ready(function($) {
15
 
16
  // add ajax loader
17
  if( typeof woocommerce_params != 'undefined' ) {
18
- button.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
19
- widget_list.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
20
  }
21
 
22
  $.ajax({
@@ -76,7 +76,7 @@ jQuery(document).ready(function($) {
76
  };
77
 
78
  if( typeof woocommerce_params != 'undefined' ) {
79
- widget_list.block({message: null, overlayCSS: {background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center', backgroundSize: '16px 16px', opacity: 0.6}});
80
  }
81
 
82
  $.ajax({
@@ -137,7 +137,7 @@ jQuery(document).ready(function($) {
137
  button.block({
138
  message: null,
139
  overlayCSS: {
140
- background: '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center',
141
  backgroundSize: '16px 16px',
142
  opacity: 0.6
143
  }
@@ -205,7 +205,7 @@ jQuery(document).ready(function($) {
205
  if( typeof woocommerce_params != 'undefined' ) {
206
  product_list.block({message: null,
207
  overlayCSS : {
208
- background : '#fff url(' + woocommerce_params.ajax_loader_url + ') no-repeat center',
209
  backgroundSize: '16px 16px',
210
  opacity : 0.6
211
  }
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
  }
21
 
22
  $.ajax({
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
 
82
  $.ajax({
137
  button.block({
138
  message: null,
139
  overlayCSS: {
140
+ background: '#fff url(' + yith_woocompare.loader + ') no-repeat center',
141
  backgroundSize: '16px 16px',
142
  opacity: 0.6
143
  }
205
  if( typeof woocommerce_params != 'undefined' ) {
206
  product_list.block({message: null,
207
  overlayCSS : {
208
+ background : '#fff url(' + yith_woocompare.loader + ') no-repeat center',
209
  backgroundSize: '16px 16px',
210
  opacity : 0.6
211
  }
includes/class.yith-woocompare-admin.php CHANGED
@@ -89,7 +89,7 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
89
  // add image size
90
  YITH_Woocompare_Helper::set_image_size();
91
 
92
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
93
 
94
  add_action( 'woocommerce_admin_field_woocompare_image_width', array( $this, 'admin_fields_woocompare_image_width' ) );
95
  add_action( 'woocommerce_admin_field_woocompare_attributes', array( $this, 'admin_fields_attributes' ), 10, 1 );
@@ -114,9 +114,9 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
114
  */
115
  public function action_links( $links ) {
116
 
117
- $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcmp' ) . '</a>';
118
  if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
119
- $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-wcmp' ) . '</a>';
120
  }
121
 
122
  return $links;
@@ -138,18 +138,18 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
138
  }
139
 
140
  $admin_tabs = array(
141
- 'general' => __( 'Settings', 'yith-wcmp' ),
142
  );
143
 
144
  if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
145
- $admin_tabs['premium'] = __( 'Premium Version', 'yith-wcmp' );
146
  }
147
 
148
  $args = array(
149
  'create_menu_page' => true,
150
  'parent_slug' => '',
151
- 'page_title' => __( 'Compare', 'yith-wcmp' ),
152
- 'menu_title' => __( 'Compare', 'yith-wcmp' ),
153
  'capability' => 'manage_options',
154
  'parent' => '',
155
  'parent_page' => 'yit_plugin_panel',
@@ -212,7 +212,7 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
212
  public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
213
 
214
  if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
215
- $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-wcmp' ) . '</a>';
216
  }
217
 
218
  return $plugin_meta;
@@ -232,7 +232,7 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
232
  'pointer_id' => 'yith_woocompare_panel',
233
  'target' => '#toplevel_page_yit_plugin_panel',
234
  'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
235
- __( 'YITH WooCommerce Compare Activated', 'yith-wcmp' ),
236
  apply_filters( 'yith_woocompare_activated_pointer_content', sprintf( __( 'In the YIT Plugin tab you can find the YITH WooCommerce Compare options. With this menu, you can access to all the settings of our plugins that you have activated. YITH WooCommerce Compare is available in an outstanding PREMIUM version with many new options, <a href="%s">discover it now</a>.', 'yit' ), $this->get_premium_landing_uri() ) )
237
  ),
238
  'position' => array( 'edge' => 'left', 'align' => 'center' ),
@@ -244,7 +244,7 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
244
  'pointer_id' => 'yith_woocompare_panel',
245
  'target' => '#toplevel_page_yit_plugin_panel',
246
  'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
247
- __( 'YITH WooCommerce Compare Updated', 'yith-wcmp' ),
248
  apply_filters( 'yith_woocompare_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of YITH WooCommerce Compare under YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. YITH WooCommerce Compare has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yit' ), $this->get_premium_landing_uri() ) )
249
  ),
250
  'position' => array( 'edge' => 'left', 'align' => 'center' ),
@@ -390,7 +390,7 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
390
  <input name="<?php echo esc_attr( $value['id'] ); ?>[width]" id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" size="3" value="<?php echo $width; ?>" /> &times;
391
  <input name="<?php echo esc_attr( $value['id'] ); ?>[height]" id="<?php echo esc_attr( $value['id'] ); ?>-height" type="text" size="3" value="<?php echo $height; ?>" />px
392
 
393
- <label><input name="<?php echo esc_attr( $value['id'] ); ?>[crop]" id="<?php echo esc_attr( $value['id'] ); ?>-crop" type="checkbox" <?php echo $crop; ?> /> <?php _e( 'Do you want to hard crop the image?', 'yith-wcmp' ); ?>
394
  </label>
395
  <p class="description"><?php echo $value['desc'] ?></p>
396
 
89
  // add image size
90
  YITH_Woocompare_Helper::set_image_size();
91
 
92
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ), 20 );
93
 
94
  add_action( 'woocommerce_admin_field_woocompare_image_width', array( $this, 'admin_fields_woocompare_image_width' ) );
95
  add_action( 'woocommerce_admin_field_woocompare_attributes', array( $this, 'admin_fields_attributes' ), 10, 1 );
114
  */
115
  public function action_links( $links ) {
116
 
117
+ $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-compare' ) . '</a>';
118
  if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
119
+ $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-woocommerce-compare' ) . '</a>';
120
  }
121
 
122
  return $links;
138
  }
139
 
140
  $admin_tabs = array(
141
+ 'general' => __( 'Settings', 'yith-woocommerce-compare' ),
142
  );
143
 
144
  if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
145
+ $admin_tabs['premium'] = __( 'Premium Version', 'yith-woocommerce-compare' );
146
  }
147
 
148
  $args = array(
149
  'create_menu_page' => true,
150
  'parent_slug' => '',
151
+ 'page_title' => __( 'Compare', 'yith-woocommerce-compare' ),
152
+ 'menu_title' => __( 'Compare', 'yith-woocommerce-compare' ),
153
  'capability' => 'manage_options',
154
  'parent' => '',
155
  'parent_page' => 'yit_plugin_panel',
212
  public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
213
 
214
  if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
215
+ $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-woocommerce-compare' ) . '</a>';
216
  }
217
 
218
  return $plugin_meta;
232
  'pointer_id' => 'yith_woocompare_panel',
233
  'target' => '#toplevel_page_yit_plugin_panel',
234
  'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
235
+ __( 'YITH WooCommerce Compare Activated', 'yith-woocommerce-compare' ),
236
  apply_filters( 'yith_woocompare_activated_pointer_content', sprintf( __( 'In the YIT Plugin tab you can find the YITH WooCommerce Compare options. With this menu, you can access to all the settings of our plugins that you have activated. YITH WooCommerce Compare is available in an outstanding PREMIUM version with many new options, <a href="%s">discover it now</a>.', 'yit' ), $this->get_premium_landing_uri() ) )
237
  ),
238
  'position' => array( 'edge' => 'left', 'align' => 'center' ),
244
  'pointer_id' => 'yith_woocompare_panel',
245
  'target' => '#toplevel_page_yit_plugin_panel',
246
  'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
247
+ __( 'YITH WooCommerce Compare Updated', 'yith-woocommerce-compare' ),
248
  apply_filters( 'yith_woocompare_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of YITH WooCommerce Compare under YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. YITH WooCommerce Compare has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yit' ), $this->get_premium_landing_uri() ) )
249
  ),
250
  'position' => array( 'edge' => 'left', 'align' => 'center' ),
390
  <input name="<?php echo esc_attr( $value['id'] ); ?>[width]" id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" size="3" value="<?php echo $width; ?>" /> &times;
391
  <input name="<?php echo esc_attr( $value['id'] ); ?>[height]" id="<?php echo esc_attr( $value['id'] ); ?>-height" type="text" size="3" value="<?php echo $height; ?>" />px
392
 
393
+ <label><input name="<?php echo esc_attr( $value['id'] ); ?>[crop]" id="<?php echo esc_attr( $value['id'] ); ?>-crop" type="checkbox" <?php echo $crop; ?> /> <?php _e( 'Do you want to hard crop the image?', 'yith-woocommerce-compare' ); ?>
394
  </label>
395
  <p class="description"><?php echo $value['desc'] ?></p>
396
 
includes/class.yith-woocompare-frontend.php CHANGED
@@ -139,9 +139,10 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
139
  'actionadd' => $this->action_add,
140
  'actionremove' => $this->action_remove,
141
  'actionview' => $this->action_view,
142
- 'added_label' => __( 'Added', 'yith-wcmp' ),
143
- 'table_title' => __( 'Product Comparison', 'yith-wcmp' ),
144
- 'auto_open' => get_option( 'yith_woocompare_auto_open', 'yes' )
 
145
  ));
146
 
147
  // colorbox
@@ -207,7 +208,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
207
  if ( defined('WC_TEMPLATE_PATH') ) {
208
 
209
  $template_path = get_template_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
210
- $child_path = get_stylesheet_directory() . '/' .WC_TEMPLATE_PATH . $this->template_file;
211
  }
212
  else {
213
  $template_path = get_template_directory() . '/' . $woocommerce->template_url . $this->template_file;
@@ -262,7 +263,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
262
  case 'stock':
263
  $availability = $product->get_availability();
264
  if ( empty( $availability['availability'] ) ) {
265
- $availability['availability'] = __( 'In stock', 'yith-wcmp' );
266
  }
267
  $product->fields[$field] = sprintf( '<span class="%s">%s</span>', esc_attr( $availability['class'] ), esc_html( $availability['availability'] ) );
268
  break;
@@ -350,7 +351,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
350
  $is_button = ! isset( $button_or_link ) || ! $button_or_link ? get_option( 'yith_woocompare_is_button' ) : $button_or_link;
351
 
352
  if ( ! isset( $button_text ) || $button_text == 'default' ) {
353
- $button_text = get_option( 'yith_woocompare_button_text', __( 'Compare', 'yith-wcmp' ) );
354
  $button_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_compare_button_text', $button_text ) : $button_text;
355
  }
356
 
@@ -545,7 +546,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
545
  }
546
 
547
  if ( empty( $this->products_list ) ) {
548
- echo '<li>' . __( 'No products to compare', 'yith-wcmp' ) . '</li>';
549
  return ob_get_clean();
550
  }
551
 
@@ -556,7 +557,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
556
  ?>
557
  <li>
558
  <a class="title" href="<?php echo get_permalink( $product_id ) ?>"><?php echo $product->get_title() ?></a>
559
- <a href="<?php echo $this->remove_product_url( $product_id ) ?>" data-product_id="<?php echo $product_id; ?>" class="remove" title="<?php _e( 'Remove', 'yith-wcmp' ) ?>">x</a>
560
  </li>
561
  <?php
562
  }
139
  'actionadd' => $this->action_add,
140
  'actionremove' => $this->action_remove,
141
  'actionview' => $this->action_view,
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
208
  if ( defined('WC_TEMPLATE_PATH') ) {
209
 
210
  $template_path = get_template_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
211
+ $child_path = get_stylesheet_directory() . '/' . WC_TEMPLATE_PATH . $this->template_file;
212
  }
213
  else {
214
  $template_path = get_template_directory() . '/' . $woocommerce->template_url . $this->template_file;
263
  case 'stock':
264
  $availability = $product->get_availability();
265
  if ( empty( $availability['availability'] ) ) {
266
+ $availability['availability'] = __( 'In stock', 'yith-woocommerce-compare' );
267
  }
268
  $product->fields[$field] = sprintf( '<span class="%s">%s</span>', esc_attr( $availability['class'] ), esc_html( $availability['availability'] ) );
269
  break;
351
  $is_button = ! isset( $button_or_link ) || ! $button_or_link ? get_option( 'yith_woocompare_is_button' ) : $button_or_link;
352
 
353
  if ( ! isset( $button_text ) || $button_text == 'default' ) {
354
+ $button_text = get_option( 'yith_woocompare_button_text', __( 'Compare', 'yith-woocommerce-compare' ) );
355
  $button_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_compare_button_text', $button_text ) : $button_text;
356
  }
357
 
546
  }
547
 
548
  if ( empty( $this->products_list ) ) {
549
+ echo '<li>' . __( 'No products to compare', 'yith-woocommerce-compare' ) . '</li>';
550
  return ob_get_clean();
551
  }
552
 
557
  ?>
558
  <li>
559
  <a class="title" href="<?php echo get_permalink( $product_id ) ?>"><?php echo $product->get_title() ?></a>
560
+ <a href="<?php echo $this->remove_product_url( $product_id ) ?>" data-product_id="<?php echo $product_id; ?>" class="remove" title="<?php _e( 'Remove', 'yith-woocommerce-compare' ) ?>">x</a>
561
  </li>
562
  <?php
563
  }
includes/class.yith-woocompare-helper.php CHANGED
@@ -42,12 +42,12 @@ if( !class_exists( 'YITH_Woocompare_Helper' ) ) {
42
  public static function standard_fields( $with_attr = true ) {
43
 
44
  $fields = array(
45
- 'image' => __( 'Image', 'yith-wcmp' ),
46
- 'title' => __( 'Title', 'yith-wcmp' ),
47
- 'price' => __( 'Price', 'yith-wcmp' ),
48
- 'add-to-cart' => __( 'Add to cart', 'yith-wcmp' ),
49
- 'description' => __( 'Description', 'yith-wcmp' ),
50
- 'stock' => __( 'Availability', 'yith-wcmp' )
51
  );
52
 
53
  if( $with_attr )
42
  public static function standard_fields( $with_attr = true ) {
43
 
44
  $fields = array(
45
+ 'image' => __( 'Image', 'yith-woocommerce-compare' ),
46
+ 'title' => __( 'Title', 'yith-woocommerce-compare' ),
47
+ 'price' => __( 'Price', 'yith-woocommerce-compare' ),
48
+ 'add-to-cart' => __( 'Add to cart', 'yith-woocommerce-compare' ),
49
+ 'description' => __( 'Description', 'yith-woocommerce-compare' ),
50
+ 'stock' => __( 'Availability', 'yith-woocommerce-compare' )
51
  );
52
 
53
  if( $with_attr )
init.php CHANGED
@@ -3,15 +3,15 @@
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.3
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
- * Text Domain: yith-wcmp
10
  * Domain Path: /languages/
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Compare
14
- * @version 2.0.3
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -37,7 +37,7 @@ if ( ! function_exists( 'is_plugin_active' ) ) {
37
  function yith_woocompare_install_woocommerce_admin_notice() {
38
  ?>
39
  <div class="error">
40
- <p><?php _e( 'YITH WooCommerce Compare is enabled but not effective. It requires WooCommerce in order to work.', 'yith-wcmp' ); ?></p>
41
  </div>
42
  <?php
43
  }
@@ -45,7 +45,7 @@ function yith_woocompare_install_woocommerce_admin_notice() {
45
  function yith_woocompare_install_free_admin_notice() {
46
  ?>
47
  <div class="error">
48
- <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Compare while you are using the premium one.', 'yith-wcmp' ); ?></p>
49
  </div>
50
  <?php
51
  }
@@ -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.3' );
60
  }
61
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
62
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
@@ -98,7 +98,7 @@ function yith_woocompare_constructor() {
98
  return;
99
  }
100
 
101
- load_plugin_textdomain( 'yith-wcmp', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
102
 
103
  // Load required classes and functions
104
  require_once('includes/class.yith-woocompare-helper.php');
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
10
  * Domain Path: /languages/
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
 
37
  function yith_woocompare_install_woocommerce_admin_notice() {
38
  ?>
39
  <div class="error">
40
+ <p><?php _e( 'YITH WooCommerce Compare is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-compare' ); ?></p>
41
  </div>
42
  <?php
43
  }
45
  function yith_woocompare_install_free_admin_notice() {
46
  ?>
47
  <div class="error">
48
+ <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Compare while you are using the premium one.', 'yith-woocommerce-compare' ); ?></p>
49
  </div>
50
  <?php
51
  }
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__ ) );
98
  return;
99
  }
100
 
101
+ load_plugin_textdomain( 'yith-woocommerce-compare', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
102
 
103
  // Load required classes and functions
104
  require_once('includes/class.yith-woocompare-helper.php');
languages/yith-wcmp-it_IT.mo DELETED
Binary file
languages/{yith-wcmp-bg_BG.mo → yith-woocommerce-compare-bg_BG.mo} RENAMED
Binary file
languages/{yith-wcmp-bg_BG.po → yith-woocommerce-compare-bg_BG.po} RENAMED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:30+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:31+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,36 +13,37 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_x\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
- #: includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: includes/class.yith-woocompare-admin.php:118
25
- #: includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
- #: includes/class.yith-woocompare-admin.php:149
30
- #: includes/class.yith-woocompare-admin.php:150
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr "Сравни"
36
 
37
- #: includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
- #: includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
- #: includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -51,11 +52,11 @@ msgid ""
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
- #: includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
- #: includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -65,7 +66,7 @@ msgid ""
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
- #: includes/class.yith-woocompare-admin.php:390
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:45+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:45+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
+ "Language: bg_BG\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
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 "Сравни"
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. "
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 "
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
 
languages/{yith-wcmp-es_ES.mo → yith-woocommerce-compare-es_ES.mo} RENAMED
Binary file
languages/{yith-wcmp-es_ES.po → yith-woocommerce-compare-es_ES.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:32+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:32+0200\n"
6
  "Last-Translator: Radi Angelov <fullmetalradi@hotmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: es_ES\n"
@@ -18,32 +18,32 @@ msgstr ""
18
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
 
20
  #: includes/class.yith-woocompare-admin.php:117
21
- #: includes/class.yith-woocompare-admin.php:139
22
  msgid "Settings"
23
  msgstr ""
24
 
25
- #: includes/class.yith-woocompare-admin.php:118
26
- #: includes/class.yith-woocompare-admin.php:143
27
  msgid "Premium Version"
28
  msgstr ""
29
 
30
- #: includes/class.yith-woocompare-admin.php:149
31
- #: includes/class.yith-woocompare-admin.php:150
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 "Comparar"
37
 
38
- #: includes/class.yith-woocompare-admin.php:213
39
  msgid "Plugin Documentation"
40
  msgstr ""
41
 
42
- #: includes/class.yith-woocompare-admin.php:232
43
  msgid "YITH WooCommerce Compare Activated"
44
  msgstr ""
45
 
46
- #: includes/class.yith-woocompare-admin.php:233
47
  #, php-format
48
  msgid ""
49
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -52,11 +52,11 @@ msgid ""
52
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
53
  msgstr ""
54
 
55
- #: includes/class.yith-woocompare-admin.php:244
56
  msgid "YITH WooCommerce Compare Updated"
57
  msgstr ""
58
 
59
- #: includes/class.yith-woocompare-admin.php:245
60
  #, php-format
61
  msgid ""
62
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -66,7 +66,7 @@ msgid ""
66
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
67
  msgstr ""
68
 
69
- #: includes/class.yith-woocompare-admin.php:390
70
  msgid "Do you want to hard crop the image?"
71
  msgstr ""
72
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:44+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:44+0200\n"
6
  "Last-Translator: Radi Angelov <fullmetalradi@hotmail.com>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
  "Language: es_ES\n"
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 "Comparar"
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. "
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 "
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
 
languages/{yith-wcmp-fa_IR.mo → yith-woocommerce-compare-fa_IR.mo} RENAMED
Binary file
languages/{yith-wcmp-fa_IR.po → yith-woocommerce-compare-fa_IR.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:33+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:33+0200\n"
6
  "Last-Translator: Khalil Delavaran <khalil.delavaran@gmail.com>\n"
7
  "Language-Team: Qooqnos <khalil.delavaran@gmail.com>\n"
8
  "Language: fa\n"
@@ -17,32 +17,32 @@ msgstr ""
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
- #: includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: includes/class.yith-woocompare-admin.php:118
25
- #: includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
- #: includes/class.yith-woocompare-admin.php:149
30
- #: includes/class.yith-woocompare-admin.php:150
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr "سنجش"
36
 
37
- #: includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
- #: includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
- #: includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -51,11 +51,11 @@ msgid ""
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
- #: includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
- #: includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -65,7 +65,7 @@ msgid ""
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
- #: includes/class.yith-woocompare-admin.php:390
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:43+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:43+0200\n"
6
  "Last-Translator: Khalil Delavaran <khalil.delavaran@gmail.com>\n"
7
  "Language-Team: Qooqnos <khalil.delavaran@gmail.com>\n"
8
  "Language: fa\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
+ #: includes/class.yith-woocompare-admin.php:141
21
  msgid "Settings"
22
  msgstr ""
23
 
24
+ #: includes/class.yith-woocompare-admin.php:119
25
+ #: includes/class.yith-woocompare-admin.php:145
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
+ #: includes/class.yith-woocompare-admin.php:151
30
+ #: includes/class.yith-woocompare-admin.php:152
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr "سنجش"
36
 
37
+ #: includes/class.yith-woocompare-admin.php:215
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
+ #: includes/class.yith-woocompare-admin.php:235
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
+ #: includes/class.yith-woocompare-admin.php:236
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
+ #: includes/class.yith-woocompare-admin.php:247
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
+ #: includes/class.yith-woocompare-admin.php:248
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
+ #: includes/class.yith-woocompare-admin.php:393
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
languages/{yith-wcmp-fr_FR.mo → yith-woocommerce-compare-fr_FR.mo} RENAMED
Binary file
languages/{yith-wcmp-fr_FR.po → yith-woocommerce-compare-fr_FR.po} RENAMED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:46+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:46+0200\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,36 +13,37 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_x\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
- #: includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: includes/class.yith-woocompare-admin.php:118
25
- #: includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
- #: includes/class.yith-woocompare-admin.php:149
30
- #: includes/class.yith-woocompare-admin.php:150
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr "Comparer"
36
 
37
- #: includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
- #: includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
- #: includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -51,11 +52,11 @@ msgid ""
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
- #: includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
- #: includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -65,7 +66,7 @@ msgid ""
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
- #: includes/class.yith-woocompare-admin.php:390
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:42+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:42+0200\n"
6
  "Last-Translator: YIThemes <support@yithemes.com>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
+ "Language: fr\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
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 "Comparer"
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. "
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 "
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
 
languages/yith-woocommerce-compare-it_IT.mo ADDED
Binary file
languages/{yith-wcmp-it_IT.po → yith-woocommerce-compare-it_IT.po} RENAMED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:47+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:47+0200\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,36 +13,37 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_x\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
- #: includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr "Impostazioni"
23
 
24
- #: includes/class.yith-woocompare-admin.php:118
25
- #: includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
- msgstr ""
28
 
29
- #: includes/class.yith-woocompare-admin.php:149
30
- #: includes/class.yith-woocompare-admin.php:150
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
- msgstr "Compara"
36
 
37
- #: includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
- msgstr ""
40
 
41
- #: includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
- msgstr ""
44
 
45
- #: includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -50,12 +51,17 @@ msgid ""
50
  "have activated. YITH WooCommerce Compare is available in an outstanding "
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
 
 
 
 
 
53
 
54
- #: includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
- msgstr ""
57
 
58
- #: includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -64,10 +70,16 @@ msgid ""
64
  "be added to this menu. YITH WooCommerce Compare has been updated with new "
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
-
68
- #: includes/class.yith-woocompare-admin.php:390
 
 
 
 
 
 
69
  msgid "Do you want to hard crop the image?"
70
- msgstr ""
71
 
72
  #: includes/class.yith-woocompare-frontend.php:142
73
  msgid "Added"
@@ -119,12 +131,16 @@ msgid ""
119
  "YITH WooCommerce Compare is enabled but not effective. It requires "
120
  "WooCommerce in order to work."
121
  msgstr ""
 
 
122
 
123
  #: init.php:48
124
  msgid ""
125
  "You can't activate the free version of YITH WooCommerce Compare while you "
126
  "are using the premium one."
127
  msgstr ""
 
 
128
 
129
  #: plugin-options/general-options.php:17
130
  msgid "General Settings"
@@ -132,13 +148,13 @@ msgstr "Impostazioni Generali"
132
 
133
  #: plugin-options/general-options.php:24
134
  msgid "Link or Button"
135
- msgstr "Collegamento o Pulsante"
136
 
137
  #: plugin-options/general-options.php:25
138
  msgid "Choose if you want to use a link or a button for the action button."
139
  msgstr ""
140
  "Scegli se vuoi usare un collegamento o un pulsante per l'azione di "
141
- "\"Comparazione\""
142
 
143
  #: plugin-options/general-options.php:31
144
  msgid "Link"
@@ -150,15 +166,17 @@ msgstr "Pulsante"
150
 
151
  #: plugin-options/general-options.php:37
152
  msgid "Link/Button text"
153
- msgstr "Testo Link/Pulsante"
154
 
155
  #: plugin-options/general-options.php:38
156
  msgid "Type the text to use for the button or the link of the compare."
157
  msgstr ""
 
 
158
 
159
  #: plugin-options/general-options.php:45
160
  msgid "Show button in single product page"
161
- msgstr "Mostra pulsante nella pagina del dettaglio prodotto"
162
 
163
  #: plugin-options/general-options.php:46
164
  msgid "Say if you want to show the button in the single product page."
@@ -175,11 +193,11 @@ msgstr "Imposta se vuoi mostrare il pulsante nella lista prodotti."
175
 
176
  #: plugin-options/general-options.php:63
177
  msgid "Open automatically lightbox"
178
- msgstr "Apri la lightbox automaticamente"
179
 
180
  #: plugin-options/general-options.php:64
181
  msgid "Open link after click into \"Compare\" button\"."
182
- msgstr "Apri pagina dopo aver cliccato sul pulsante \"Compare\"."
183
 
184
  #: plugin-options/general-options.php:77
185
  msgid "Table Settings"
@@ -187,15 +205,15 @@ msgstr "Impostazioni tabella."
187
 
188
  #: plugin-options/general-options.php:84
189
  msgid "Table title"
190
- msgstr "Titolo Tabella"
191
 
192
  #: plugin-options/general-options.php:85
193
  msgid "Type the text to use for the table title."
194
- msgstr ""
195
 
196
  #: plugin-options/general-options.php:87
197
  msgid "Compare products"
198
- msgstr "Compara prodotti"
199
 
200
  #: plugin-options/general-options.php:92
201
  msgid "Fields to show"
@@ -211,19 +229,19 @@ msgstr ""
211
 
212
  #: plugin-options/general-options.php:101
213
  msgid "Repeat \"Price\" field"
214
- msgstr ""
215
 
216
  #: plugin-options/general-options.php:102
217
  msgid "Repeat the \"Price\" field at the end of the table"
218
- msgstr ""
219
 
220
  #: plugin-options/general-options.php:110
221
  msgid "Repeat \"Add to cart\" field"
222
- msgstr ""
223
 
224
  #: plugin-options/general-options.php:111
225
  msgid "Repeat the \"Add to cart\" field at the end of the table"
226
- msgstr ""
227
 
228
  #: plugin-options/general-options.php:119
229
  msgid "Image size"
@@ -239,22 +257,24 @@ msgid ""
239
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
240
  "benefit from all features!"
241
  msgstr ""
 
 
242
 
243
  #: templates/admin/premium.php:231 templates/admin/premium.php:373
244
  msgid "UPGRADE"
245
- msgstr ""
246
 
247
  #: templates/admin/premium.php:232 templates/admin/premium.php:374
248
  msgid "to the premium version"
249
- msgstr ""
250
 
251
  #: templates/admin/premium.php:238
252
  msgid "Premium Features"
253
- msgstr ""
254
 
255
  #: templates/admin/premium.php:246
256
  msgid "A DEDICATED PAGE"
257
- msgstr ""
258
 
259
  #: templates/admin/premium.php:249
260
  #, php-format
@@ -265,10 +285,15 @@ msgid ""
265
  "you will be able to give to your users the chance to access it easily "
266
  "whenever they want."
267
  msgstr ""
 
 
 
 
 
268
 
269
  #: templates/admin/premium.php:259
270
  msgid "CATEGORY COMPARATION"
271
- msgstr ""
272
 
273
  #: templates/admin/premium.php:262
274
  #, php-format
@@ -279,10 +304,16 @@ msgid ""
279
  "need: you will be able to separate the products in the table by category "
280
  "affinity."
281
  msgstr ""
 
 
 
 
 
 
282
 
283
  #: templates/admin/premium.php:278
284
  msgid "CATEGORY EXCLUSION "
285
- msgstr ""
286
 
287
  #: templates/admin/premium.php:281
288
  #, php-format
@@ -294,10 +325,17 @@ msgid ""
294
  "of the feature, allowing the comparison only to those products of the "
295
  "selected categories."
296
  msgstr ""
 
 
 
 
 
 
 
297
 
298
  #: templates/admin/premium.php:291
299
  msgid "TABLE IMAGE"
300
- msgstr ""
301
 
302
  #: templates/admin/premium.php:294
303
  #, php-format
@@ -306,10 +344,13 @@ msgid ""
306
  "Select an image, upload it from the option panel and show it ahead of the "
307
  "table to your users. "
308
  msgstr ""
 
 
 
309
 
310
  #: templates/admin/premium.php:310
311
  msgid "DYNAMIC FIELDS"
312
- msgstr ""
313
 
314
  #: templates/admin/premium.php:313
315
  #, php-format
@@ -319,10 +360,15 @@ msgid ""
319
  "%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
320
  "be no more empty lines in your comparison table."
321
  msgstr ""
 
 
 
 
 
322
 
323
  #: templates/admin/premium.php:323
324
  msgid "SOCIAL NETWORK SHARING"
325
- msgstr ""
326
 
327
  #: templates/admin/premium.php:326
328
  #, php-format
@@ -332,10 +378,14 @@ msgid ""
332
  "Pinterest) and the email system %1$sto share%2$s the comparison table of the "
333
  "products they have selected."
334
  msgstr ""
 
 
 
 
335
 
336
  #: templates/admin/premium.php:342
337
  msgid "RELATED PRODUCTS"
338
- msgstr ""
339
 
340
  #: templates/admin/premium.php:345
341
  #, php-format
@@ -346,10 +396,15 @@ msgid ""
346
  "users to discover the shop products of the shop related to those they are "
347
  "interested into."
348
  msgstr ""
 
 
 
 
 
349
 
350
  #: templates/admin/premium.php:355
351
  msgid "CUSTOMIZABLE STYLE"
352
- msgstr ""
353
 
354
  #: templates/admin/premium.php:358
355
  #, php-format
@@ -359,6 +414,11 @@ msgid ""
359
  "of your shop.We know it, looks also count... and we give you the right tools "
360
  "to get to the best result."
361
  msgstr ""
 
 
 
 
 
362
 
363
  #: templates/compare.php:76
364
  msgid "Close window [X]"
@@ -382,6 +442,347 @@ msgstr "YITH Woocommerce Compare Widget"
382
  msgid "Clear all"
383
  msgstr "Cancella tutti"
384
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  #~ msgid "Products Compare"
386
  #~ msgstr "Compara Prodotti"
387
 
@@ -732,21 +1133,12 @@ msgstr "Cancella tutti"
732
  #~ "Qui puoi settare gli url dei tuoi account social (puoi lasciare vuoto se "
733
  #~ "non vuoi mostrare la rispettiva icona social)"
734
 
735
- #~ msgid "Facebook"
736
- #~ msgstr "Facebook"
737
-
738
  #~ msgid "Set the URL of your facebook profile"
739
  #~ msgstr "Imposta l'URL del tuo profilo facebok"
740
 
741
- #~ msgid "Twitter"
742
- #~ msgstr "Twitter"
743
-
744
  #~ msgid "Set the URL of your twitter profile"
745
  #~ msgstr "Imposta l'URL del tuo profilo twitter"
746
 
747
- #~ msgid "Google+"
748
- #~ msgstr "Google+"
749
-
750
  #~ msgid "Set the URL of your Google+ profile"
751
  #~ msgstr "Imposta l'url del tuo profilo Google+"
752
 
@@ -768,9 +1160,6 @@ msgstr "Cancella tutti"
768
  #~ msgid "Set the username of your skype account"
769
  #~ msgstr "Imposta l'username del tuo account skype"
770
 
771
- #~ msgid "Email"
772
- #~ msgstr "Email"
773
-
774
  #~ msgid "Write here your email address"
775
  #~ msgstr "Scrivi qui il tuo indirizzo email"
776
 
@@ -798,9 +1187,6 @@ msgstr "Cancella tutti"
798
  #~ msgid "Set the URL of your instagram profile"
799
  #~ msgstr "Imposta l'URL del tuo profilo Instagram"
800
 
801
- #~ msgid "Pinterest"
802
- #~ msgstr "Pinterest"
803
-
804
  #~ msgid "Set the URL of your Pinterest profile"
805
  #~ msgstr "Imposta l'URL del tuo profilo Pinterest"
806
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:42+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:42+0200\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
+ "Language: it\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
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 "Impostazioni"
24
 
25
+ #: includes/class.yith-woocompare-admin.php:119
26
+ #: includes/class.yith-woocompare-admin.php:145
27
  msgid "Premium Version"
28
+ msgstr "Versione premium"
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 "Confronta"
37
 
38
+ #: includes/class.yith-woocompare-admin.php:215
39
  msgid "Plugin Documentation"
40
+ msgstr "Documentazione plugin"
41
 
42
+ #: includes/class.yith-woocompare-admin.php:235
43
  msgid "YITH WooCommerce Compare Activated"
44
+ msgstr "YITH WooCommerce Compare attivato"
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. "
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
+ "Nella scheda YIT Plugins puoi trovare tutte le opzioni di YITH WooCommerce "
55
+ "Compare. Da questo menù potrai accedere a tutte le impostazioni dei plugin "
56
+ "YITH installati. È disponibile un'eccezionale versione PREMIUM di YITH "
57
+ "WooCommerce Compare con molte nuove opzioni, <a href=\"%s\">scoprila subito</"
58
+ "a>."
59
 
60
+ #: includes/class.yith-woocompare-admin.php:247
61
  msgid "YITH WooCommerce Compare Updated"
62
+ msgstr "YITH WooCommerce Compare aggiornato"
63
 
64
+ #: includes/class.yith-woocompare-admin.php:248
65
  #, php-format
66
  msgid ""
67
  "From now on, you can find all the options of YITH WooCommerce Compare under "
70
  "be added to this menu. YITH WooCommerce Compare has been updated with new "
71
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
72
  msgstr ""
73
+ "Da questo momento, puoi trovare tutte le opzioni di YITH WooCommerce Compare "
74
+ "in YIT Plugins > Compare invece che come era nella versione precedente in "
75
+ "WooCommerce > Impostazioni > Compare. Quando uno dei nostri plugin viene "
76
+ "aggiornato, sarà aggiunta una nuova voce di a questo menù. YITH WooCommerce "
77
+ "Compare è stato aggiornato includendo nuove opzioni, <a href=\"%s\">scopri "
78
+ "la versione PREMIUM</a>."
79
+
80
+ #: includes/class.yith-woocompare-admin.php:393
81
  msgid "Do you want to hard crop the image?"
82
+ msgstr "Vuoi ritagliare questa immagine?"
83
 
84
  #: includes/class.yith-woocompare-frontend.php:142
85
  msgid "Added"
131
  "YITH WooCommerce Compare is enabled but not effective. It requires "
132
  "WooCommerce in order to work."
133
  msgstr ""
134
+ "YITH WooCommerce Compare è abilitato ma non in funzione. Devi aver "
135
+ "installato WooCommerce perché questo possa funzionare correttamente."
136
 
137
  #: init.php:48
138
  msgid ""
139
  "You can't activate the free version of YITH WooCommerce Compare while you "
140
  "are using the premium one."
141
  msgstr ""
142
+ "Non è possibile attrivare la versione free di YITH WooCommerce Compare se "
143
+ "stai già utilizzando la premium."
144
 
145
  #: plugin-options/general-options.php:17
146
  msgid "General Settings"
148
 
149
  #: plugin-options/general-options.php:24
150
  msgid "Link or Button"
151
+ msgstr "Collegamento o pulsante"
152
 
153
  #: plugin-options/general-options.php:25
154
  msgid "Choose if you want to use a link or a button for the action button."
155
  msgstr ""
156
  "Scegli se vuoi usare un collegamento o un pulsante per l'azione di "
157
+ "\"Confronto\""
158
 
159
  #: plugin-options/general-options.php:31
160
  msgid "Link"
166
 
167
  #: plugin-options/general-options.php:37
168
  msgid "Link/Button text"
169
+ msgstr "Testo collegamento/pulsante"
170
 
171
  #: plugin-options/general-options.php:38
172
  msgid "Type the text to use for the button or the link of the compare."
173
  msgstr ""
174
+ "Inserisci il testo da utilizzare per il pulsante o il collegamento che ti "
175
+ "permetterà di confrontare i prodotti."
176
 
177
  #: plugin-options/general-options.php:45
178
  msgid "Show button in single product page"
179
+ msgstr "Mostra pulsante nella pagina dettaglio prodotto"
180
 
181
  #: plugin-options/general-options.php:46
182
  msgid "Say if you want to show the button in the single product page."
193
 
194
  #: plugin-options/general-options.php:63
195
  msgid "Open automatically lightbox"
196
+ msgstr "Apri lightbox automaticamente"
197
 
198
  #: plugin-options/general-options.php:64
199
  msgid "Open link after click into \"Compare\" button\"."
200
+ msgstr "Apri pagina dopo aver cliccato sul pulsante \"Confronta\"."
201
 
202
  #: plugin-options/general-options.php:77
203
  msgid "Table Settings"
205
 
206
  #: plugin-options/general-options.php:84
207
  msgid "Table title"
208
+ msgstr "Titolo tabella"
209
 
210
  #: plugin-options/general-options.php:85
211
  msgid "Type the text to use for the table title."
212
+ msgstr "Inserisci il testo da utilizzare come titolo della tabella."
213
 
214
  #: plugin-options/general-options.php:87
215
  msgid "Compare products"
216
+ msgstr "Confronta prodotti"
217
 
218
  #: plugin-options/general-options.php:92
219
  msgid "Fields to show"
229
 
230
  #: plugin-options/general-options.php:101
231
  msgid "Repeat \"Price\" field"
232
+ msgstr "Ripeti campo \"Prezzo\""
233
 
234
  #: plugin-options/general-options.php:102
235
  msgid "Repeat the \"Price\" field at the end of the table"
236
+ msgstr "Ripeti il campo \"Prezzo\" alla fine di ogni tabella"
237
 
238
  #: plugin-options/general-options.php:110
239
  msgid "Repeat \"Add to cart\" field"
240
+ msgstr "Ripeti campo \"Aggiungi al carrello\""
241
 
242
  #: plugin-options/general-options.php:111
243
  msgid "Repeat the \"Add to cart\" field at the end of the table"
244
+ msgstr "Ripeti il campo \"Aggiungi al carrello\" alla fine di ogni tabella"
245
 
246
  #: plugin-options/general-options.php:119
247
  msgid "Image size"
257
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
258
  "benefit from all features!"
259
  msgstr ""
260
+ "Aggiorna alla %1$sversione premium%2$s di %1$sYITH WooCommerce Compare%2$s "
261
+ "per usufruire di tutte le sue funzionalità!"
262
 
263
  #: templates/admin/premium.php:231 templates/admin/premium.php:373
264
  msgid "UPGRADE"
265
+ msgstr "AGGIORNA"
266
 
267
  #: templates/admin/premium.php:232 templates/admin/premium.php:374
268
  msgid "to the premium version"
269
+ msgstr "alla versione premium"
270
 
271
  #: templates/admin/premium.php:238
272
  msgid "Premium Features"
273
+ msgstr "Funzionalità premium"
274
 
275
  #: templates/admin/premium.php:246
276
  msgid "A DEDICATED PAGE"
277
+ msgstr "UNA PAGINA DEDICATA"
278
 
279
  #: templates/admin/premium.php:249
280
  #, php-format
285
  "you will be able to give to your users the chance to access it easily "
286
  "whenever they want."
287
  msgstr ""
288
+ "Sei stufo di dover mostrare i prodotti messi a confronto all’interno di una "
289
+ "finestra modale? %3$sCon %1$sYITH WooCommerce Compare premium%2$s verrà "
290
+ "creata automaticamente una nuova pagina all’interno del tuo sito e, "
291
+ "aggiungendola tra le voci di menu, potrai dare ai tuoi utenti la possibilità "
292
+ "di accedervi in qualsiasi momento e in maniera agevole."
293
 
294
  #: templates/admin/premium.php:259
295
  msgid "CATEGORY COMPARATION"
296
+ msgstr "CONFRONTO PER CATEGORIA"
297
 
298
  #: templates/admin/premium.php:262
299
  #, php-format
304
  "need: you will be able to separate the products in the table by category "
305
  "affinity."
306
  msgstr ""
307
+ "Trovare all’interno della tabella comparativa prodotti di tipologia diversa "
308
+ "spesso confonde gli utenti, generando difficoltà nel confrontare due "
309
+ "prodotti a cui sono interessati. L’opzione %1$s“Compare by category”%2$s "
310
+ "nasce proprio per venire incontro a questa esigenza, in modo tale da poter "
311
+ "suddividere i prodotti presenti nella tabella a seconda della categoria di "
312
+ "appartenenza."
313
 
314
  #: templates/admin/premium.php:278
315
  msgid "CATEGORY EXCLUSION "
316
+ msgstr "ESCLUSIONE CATEGORIE"
317
 
318
  #: templates/admin/premium.php:281
319
  #, php-format
325
  "of the feature, allowing the comparison only to those products of the "
326
  "selected categories."
327
  msgstr ""
328
+ "Nel tuo shop potrebbero esistere categorie di prodotto per cui non vuoi "
329
+ "abilitare le funzionalità del plugin e dalle quali, quindi, vorresti "
330
+ "rimuovere il pulsante di comparazion. La versione premium del plugin ha "
331
+ "pensato anche a questo.%3$sMa non finisce qui. Attivando l’opzione "
332
+ "%1$s“Reverse exclusion list”%2$s, puoi invertire la logica di questo "
333
+ "comportamento, consentendo il confronto solo sui prodotti associati con le "
334
+ "categorie selezionate."
335
 
336
  #: templates/admin/premium.php:291
337
  msgid "TABLE IMAGE"
338
+ msgstr "IMMAGINE TABELLA"
339
 
340
  #: templates/admin/premium.php:294
341
  #, php-format
344
  "Select an image, upload it from the option panel and show it ahead of the "
345
  "table to your users. "
346
  msgstr ""
347
+ "Da’ un tocco in più alla %1$stabella di comparazione%2$s che viene "
348
+ "visualizzata dagli utenti. Seleziona un’immagine, effettua l’upload dal "
349
+ "pannello opzioni e mostrala agli utenti in testa alla tabella."
350
 
351
  #: templates/admin/premium.php:310
352
  msgid "DYNAMIC FIELDS"
353
+ msgstr "CAMPI DINAMICI"
354
 
355
  #: templates/admin/premium.php:313
356
  #, php-format
360
  "%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
361
  "be no more empty lines in your comparison table."
362
  msgstr ""
363
+ "Grazie a questa preziosa funzionalità avrai la possibilità di mostrare nella "
364
+ "tabella solo quei campi che sono stati impostati in almeno uno dei prodotti "
365
+ "presenti.%3$sAttiva l’opzione %1$s“Dynamic Attribute fields”%2$s e non "
366
+ "esisteranno più righe della tabella comparativa senza alcun valore di "
367
+ "confronto."
368
 
369
  #: templates/admin/premium.php:323
370
  msgid "SOCIAL NETWORK SHARING"
371
+ msgstr "CONDIVISIONE SUI SOCIAL NETWORK"
372
 
373
  #: templates/admin/premium.php:326
374
  #, php-format
378
  "Pinterest) and the email system %1$sto share%2$s the comparison table of the "
379
  "products they have selected."
380
  msgstr ""
381
+ "Una delle novità più suggestive della versione premium del plugin: quattro "
382
+ "social network da mettere a disposizione dei tuoi utenti (Facebook, Twitter, "
383
+ "Google+ e Pinterest) e il servizio email per permettere loro di %1$sconvidere"
384
+ "%2$s in rete la tabella comparativa dei prodotti che hanno selezionato."
385
 
386
  #: templates/admin/premium.php:342
387
  msgid "RELATED PRODUCTS"
388
+ msgstr "PRODOTTI CORRELATI"
389
 
390
  #: templates/admin/premium.php:345
391
  #, php-format
396
  "users to discover the shop products of the shop related to those they are "
397
  "interested into."
398
  msgstr ""
399
+ "Tutti i prodotti che hanno categorie e/o tag in comune con quelli presenti "
400
+ "nella tabella comparativa saranno mostrati all’utente all’interno di uno "
401
+ "slider, appena sotto la tabella comparativa.%3$sUno slider completamente "
402
+ "%1$s“touch-friendly”%2$s per invitare i tuoi utenti a scoprire i prodotti "
403
+ "del tuo shop affini a quelli che hanno attirato il loro interesse."
404
 
405
  #: templates/admin/premium.php:355
406
  msgid "CUSTOMIZABLE STYLE"
407
+ msgstr "STILE PERSONALIZZABILE"
408
 
409
  #: templates/admin/premium.php:358
410
  #, php-format
414
  "of your shop.We know it, looks also count... and we give you the right tools "
415
  "to get to the best result."
416
  msgstr ""
417
+ "Un pannello opzioni avanzato che ti permette di modificare tutti i colori "
418
+ "del plugin, così da adattare stilisticamente tutti i suoi componenti al "
419
+ "%1$slayout%2$s del tuo shop.\n"
420
+ "In fondo, anche l’occhio vuole la sua parte... e noi ti diamo gli strumenti "
421
+ "adatti per arrivare al migliore risultato."
422
 
423
  #: templates/compare.php:76
424
  msgid "Close window [X]"
442
  msgid "Clear all"
443
  msgstr "Cancella tutti"
444
 
445
+ #~ msgid "Comparison Table"
446
+ #~ msgstr "Tabella confronto"
447
+
448
+ #~ msgid "Social Network Sites Sharing"
449
+ #~ msgstr "Condivisione social network"
450
+
451
+ #~ msgid "Related Products"
452
+ #~ msgstr "Prodotti correlati"
453
+
454
+ #~ msgid "Style"
455
+ #~ msgstr "Stile"
456
+
457
+ #~ msgid "View Page"
458
+ #~ msgstr "Visualizza pagina"
459
+
460
+ #~ msgid "Share on:"
461
+ #~ msgstr "Condividi su:"
462
+
463
+ #~ msgid "Category Filter"
464
+ #~ msgstr "Filtro categoria"
465
+
466
+ #~ msgid "Product Info"
467
+ #~ msgstr "Informazioni prodotto"
468
+
469
+ #~ msgid "Rating"
470
+ #~ msgstr "Valutazione"
471
+
472
+ #~ msgid "yith-compare"
473
+ #~ msgstr "yith-compare"
474
+
475
+ #~ msgid ""
476
+ #~ "YITH WooCommerce Compare Premium is enabled but not effective. It "
477
+ #~ "requires WooCommerce in order to work."
478
+ #~ msgstr ""
479
+ #~ "YITH WooCommerce Compare Premium è abilitato ma non in funzione. Devi "
480
+ #~ "aver installato WooCommerce perché questo possa funzionare correttamente."
481
+
482
+ #~ msgid ""
483
+ #~ "Choose if you want to use a link or a button for the comepare actions."
484
+ #~ msgstr ""
485
+ #~ "Scegli se utilizzare un linko un pulsante per confrontare i tuoi prodotti."
486
+
487
+ #~ msgid "Page or Popup"
488
+ #~ msgstr "Pagina o popup"
489
+
490
+ #~ msgid ""
491
+ #~ "Choose if you want to use a page or a popup for the standard comparison "
492
+ #~ "table."
493
+ #~ msgstr ""
494
+ #~ "Scegli se vuoi utilizzare una pagina o una popup per la tabella "
495
+ #~ "comparativa standard."
496
+
497
+ #~ msgid "Page"
498
+ #~ msgstr "Pagina"
499
+
500
+ #~ msgid "Popup"
501
+ #~ msgstr "Popup"
502
+
503
+ #~ msgid "Type the text you want to use for the compare button/link."
504
+ #~ msgstr ""
505
+ #~ "Inserisci il testo che vuoi utilizzare per il pulsante o il link di "
506
+ #~ "confronto."
507
+
508
+ #~ msgid "Set this option to show the button in the single product page."
509
+ #~ msgstr ""
510
+ #~ "Seleziona questa opzione per mostrare il pulsante nella pagina singolo "
511
+ #~ "prodotto."
512
+
513
+ #~ msgid "Set this option to show the button in the products list."
514
+ #~ msgstr ""
515
+ #~ "Seleziona questa opzione per mostrare il pulsante nella lista prodotti."
516
+
517
+ #~ msgid "Open lightbox automatically"
518
+ #~ msgstr "Apri la lightbox automaticamente"
519
+
520
+ #~ msgid "Open the link after clicking on the \"Compare\" button."
521
+ #~ msgstr "Apri il link dopo aver fatto clic sul pulsante \"Confronta\"."
522
+
523
+ #~ msgid "Open lightbox when adding a second item"
524
+ #~ msgstr "Apri la lightbox quando viene aggiunto un secondo elemento"
525
+
526
+ #~ msgid "Open the comparison lightbox after adding a second item to compare."
527
+ #~ msgstr ""
528
+ #~ "Apri la lighbox di confronto dopo che è stato aggiunto un secondo "
529
+ #~ "articolo alla tabella comparativa."
530
+
531
+ #~ msgid "Compare by category"
532
+ #~ msgstr "Effettua il confronto per categoria"
533
+
534
+ #~ msgid "Compare products by category."
535
+ #~ msgstr "Confronta i prodotti per categoria."
536
+
537
+ #~ msgid "Exclude category"
538
+ #~ msgstr "Escludi categoria"
539
+
540
+ #~ msgid "Choose category to exclude from the comparison."
541
+ #~ msgstr "Scegli la categoria da escludere durante il confronto."
542
+
543
+ #~ msgid "Reverse exclusion list"
544
+ #~ msgstr "Inverti lista esclusioni"
545
+
546
+ #~ msgid "Only categories in the exclusion list will have the compare feature"
547
+ #~ msgstr ""
548
+ #~ "Solo le categorie inserite nella lista esclusioni avranno la funzionalità "
549
+ #~ "di confronto"
550
+
551
+ #~ msgid "Related Options"
552
+ #~ msgstr "Opzioni correlate"
553
+
554
+ #~ msgid "Choose if you want to enable related products in the comparison"
555
+ #~ msgstr "Scegli se abilitare i prodotti correlati per il confronto"
556
+
557
+ #~ msgid "Show related products in"
558
+ #~ msgstr "Mostra prodotti correlati in"
559
+
560
+ #~ msgid "Visible Number"
561
+ #~ msgstr "Numero visibili"
562
+
563
+ #~ msgid "Choose number of related products you want to see on the screen."
564
+ #~ msgstr ""
565
+ #~ "Scegli il numero di prodotti correlati da visualizzare nello schermo."
566
+
567
+ #~ msgid "Autoplay"
568
+ #~ msgstr "Avvio automatico"
569
+
570
+ #~ msgid "Enable slider autoplay"
571
+ #~ msgstr "Abilita l'avvio automatico dello slider"
572
+
573
+ #~ msgid "Slider Navigation"
574
+ #~ msgstr "Navigazione slider"
575
+
576
+ #~ msgid "Show prev/next navigation in the slider"
577
+ #~ msgstr ""
578
+ #~ "Mostra pulsanti di navigazione indietro/avanti all'interno dello slider"
579
+
580
+ #~ msgid "Share Options"
581
+ #~ msgstr "Opzioni di condivisione"
582
+
583
+ #~ msgid "Enable Sharing"
584
+ #~ msgstr "Abilita condivisione"
585
+
586
+ #~ msgid "Check this option if you want to show the link to share the compare"
587
+ #~ msgstr ""
588
+ #~ "Spunta questa opzione se vuoi mostrare il link per condividere il "
589
+ #~ "confronto prodotti"
590
+
591
+ #~ msgid "Show sharing in"
592
+ #~ msgstr "Mostra condivisione nella"
593
+
594
+ #~ msgid "Select Social Network Sites"
595
+ #~ msgstr "Seleziona social network"
596
+
597
+ #~ msgid "Facebook"
598
+ #~ msgstr "Facebook"
599
+
600
+ #~ msgid "Twitter"
601
+ #~ msgstr "Twitter"
602
+
603
+ #~ msgid "Google+"
604
+ #~ msgstr "Google+"
605
+
606
+ #~ msgid "Pinterest"
607
+ #~ msgstr "Pinterest"
608
+
609
+ #~ msgid "eMail"
610
+ #~ msgstr "email"
611
+
612
+ #~ msgid "Title for Social Network Sharing"
613
+ #~ msgstr "Titolo per condivisione social"
614
+
615
+ #~ msgid "My Compare"
616
+ #~ msgstr "Ho confrontato questi prodotti"
617
+
618
+ #~ msgid "Text for Social Network Sharing"
619
+ #~ msgstr "Testo per condivisione social"
620
+
621
+ #~ msgid ""
622
+ #~ "It will be used on Facebook, Twitter and Pinterest. Use %compare_url% "
623
+ #~ "where you want to show the URL of your compare."
624
+ #~ msgstr ""
625
+ #~ "Sarà utilizzato su Facebook, Twitter e Pinterest. Utilizza %compare_url% "
626
+ #~ "dove vuoi per mostrare l'URL dei prodotti confrontati da te."
627
+
628
+ #~ msgid "Category Filter Options"
629
+ #~ msgstr "Opzioni filtro categoria"
630
+
631
+ #~ msgid "Filter title"
632
+ #~ msgstr "Nome filtro"
633
+
634
+ #~ msgid "The title for the category filter section"
635
+ #~ msgstr "Inserisci qui il titolo per la sezione filtro per categoria"
636
+
637
+ #~ msgid "Filter title color"
638
+ #~ msgstr "Colore nome del filtro"
639
+
640
+ #~ msgid "The color for the title of the category filter section"
641
+ #~ msgstr "Colore del titolo della sezione filtro categoria "
642
+
643
+ #~ msgid "Filter link color"
644
+ #~ msgstr "Colore link filtro"
645
+
646
+ #~ msgid "The color for the link of the category filter"
647
+ #~ msgstr "Colore del link per il filtro categoria"
648
+
649
+ #~ msgid "Filter link hover color"
650
+ #~ msgstr "Colore link filtro hover"
651
+
652
+ #~ msgid "The color for the link of the category filter on mouse hover"
653
+ #~ msgstr "Colore per il link del filtro categoria al passaggio del mouse"
654
+
655
+ #~ msgid "Table options"
656
+ #~ msgstr "Opzioni tabella"
657
+
658
+ #~ msgid "Remove color"
659
+ #~ msgstr "Colore \"Rimuovi\""
660
+
661
+ #~ msgid "The color for the \"Remove Product\" link"
662
+ #~ msgstr "Colore del link \"Rimuovi prodotto\""
663
+
664
+ #~ msgid "Remove hover color"
665
+ #~ msgstr "Colore \"Rimuovi\" hover"
666
+
667
+ #~ msgid "The color for the \"Remove Product\" link on mouse hover"
668
+ #~ msgstr "Colore del link \"Rimuovi prodotto\" al passaggio del mouse"
669
+
670
+ #~ msgid "Button text color"
671
+ #~ msgstr "Colore testo pulsante"
672
+
673
+ #~ msgid "The color for the text of the button"
674
+ #~ msgstr "Colore per il testo mostrato nel pulsante"
675
+
676
+ #~ msgid "Button text hover color"
677
+ #~ msgstr "Colore testo pulsante hover"
678
+
679
+ #~ msgid "The color for the text of the button on mouse hover"
680
+ #~ msgstr "Colore per il testo mostrato nel pulsante al passaggio del mouse"
681
+
682
+ #~ msgid "Button color"
683
+ #~ msgstr "Colore pulsante"
684
+
685
+ #~ msgid "The color for the button background"
686
+ #~ msgstr "Colore del pulsante"
687
+
688
+ #~ msgid "Button hover color"
689
+ #~ msgstr "Colore pulsante hover"
690
+
691
+ #~ msgid "The color for the button background on mouse hover"
692
+ #~ msgstr "Colore del pulsante al passaggio del mouse"
693
+
694
+ #~ msgid "Star color"
695
+ #~ msgstr "Colore stellina"
696
+
697
+ #~ msgid "The color of the star"
698
+ #~ msgstr "Colore della stellina"
699
+
700
+ #~ msgid "Share Title"
701
+ #~ msgstr "Titolo di condivisione"
702
+
703
+ #~ msgid "The title for the share section"
704
+ #~ msgstr "Titolo per la sezione di condivisione"
705
+
706
+ #~ msgid "Share on"
707
+ #~ msgstr "Condividi su"
708
+
709
+ #~ msgid "Share Title Color"
710
+ #~ msgstr "Colore del titolo di condivisione"
711
+
712
+ #~ msgid "The color for the title of the share section"
713
+ #~ msgstr "Colore del titolo della sezione per la condivisione"
714
+
715
+ #~ msgid "Related Title"
716
+ #~ msgstr "Titolo correlati"
717
+
718
+ #~ msgid "The title for the related section"
719
+ #~ msgstr "Titolo per la sezione prodotti correlati"
720
+
721
+ #~ msgid "Related Title Color"
722
+ #~ msgstr "Colore titolo correlati"
723
+
724
+ #~ msgid "The color for the title of the related section"
725
+ #~ msgstr "Colore del titolo della sezione prodotti correlati"
726
+
727
+ #~ msgid "Comparison Table Settings"
728
+ #~ msgstr "Impostazioni tabella confronto"
729
+
730
+ #~ msgid "Type the text for the table title."
731
+ #~ msgstr "Inserisci qui il testo da usare come titolo della tabella."
732
+
733
+ #~ msgid "Table image"
734
+ #~ msgstr "Immagine tabella"
735
+
736
+ #~ msgid "Choose an image/logo for the comparison table"
737
+ #~ msgstr "Scegli un'immagine/logo per la tabella confronto"
738
+
739
+ #~ msgid "Show table image in"
740
+ #~ msgstr "Mostra immagine tabella in"
741
+
742
+ #~ msgid "Dynamic Attribute fields"
743
+ #~ msgstr "Campi attributo dinamici"
744
+
745
+ #~ msgid "Choose to get dynamic attribute fields based on products"
746
+ #~ msgstr "Scegli di rendere dinamici i campi attributo a seconda del prodotto"
747
+
748
+ #~ msgid ""
749
+ #~ "Select the fields to show in the comparison table and order them by "
750
+ #~ "drag&drop (WooCommerce attributes are also included)"
751
+ #~ msgstr ""
752
+ #~ "Seleziona i campi da mostrare nella tabella confronto e ordinali grazie "
753
+ #~ "allo strumento drag&drop (sono inclusi anche gli attributi di WooCommerce)"
754
+
755
+ #~ msgid "Product Info Fields"
756
+ #~ msgstr "Campi info prodotti"
757
+
758
+ #~ msgid "Add to Cart"
759
+ #~ msgstr "Aggiungi al carrello"
760
+
761
+ #~ msgid ""
762
+ #~ "Set image size (in px). After changing these settings you may need to %s."
763
+ #~ msgstr ""
764
+ #~ "Imposta la dimensione dell'immagine (in px). Dopo aver cambiato queste "
765
+ #~ "impostazioni potrai aver bisogno di %s."
766
+
767
+ #~ msgid "regenerate your thumbnails"
768
+ #~ msgstr "rigenerare le thumbnail"
769
+
770
+ #~ msgid "Search for a category&hellip;"
771
+ #~ msgstr "Cerca una categoria&hellip;"
772
+
773
+ #~ msgid "Email"
774
+ #~ msgstr "Email"
775
+
776
+ #~ msgid "No products added in the comparison table."
777
+ #~ msgstr "Non è stato aggiunto alcun prodotto alla tabella comparativa."
778
+
779
+ #~ msgid "The widget shows the list of products added in the comparison table."
780
+ #~ msgstr ""
781
+ #~ "Il widget mostra l'elenco dei prodotti aggiunti alla tabella comparativa."
782
+
783
+ #~ msgid "YITH WooCommerce Compare Widget"
784
+ #~ msgstr "YITH WooCommerce Compare Widget"
785
+
786
  #~ msgid "Products Compare"
787
  #~ msgstr "Compara Prodotti"
788
 
1133
  #~ "Qui puoi settare gli url dei tuoi account social (puoi lasciare vuoto se "
1134
  #~ "non vuoi mostrare la rispettiva icona social)"
1135
 
 
 
 
1136
  #~ msgid "Set the URL of your facebook profile"
1137
  #~ msgstr "Imposta l'URL del tuo profilo facebok"
1138
 
 
 
 
1139
  #~ msgid "Set the URL of your twitter profile"
1140
  #~ msgstr "Imposta l'URL del tuo profilo twitter"
1141
 
 
 
 
1142
  #~ msgid "Set the URL of your Google+ profile"
1143
  #~ msgstr "Imposta l'url del tuo profilo Google+"
1144
 
1160
  #~ msgid "Set the username of your skype account"
1161
  #~ msgstr "Imposta l'username del tuo account skype"
1162
 
 
 
 
1163
  #~ msgid "Write here your email address"
1164
  #~ msgstr "Scrivi qui il tuo indirizzo email"
1165
 
1187
  #~ msgid "Set the URL of your instagram profile"
1188
  #~ msgstr "Imposta l'URL del tuo profilo Instagram"
1189
 
 
 
 
1190
  #~ msgid "Set the URL of your Pinterest profile"
1191
  #~ msgstr "Imposta l'URL del tuo profilo Pinterest"
1192
 
languages/{yith-wcmp-nl_NL.mo → yith-woocommerce-compare-nl_NL.mo} RENAMED
Binary file
languages/{yith-wcmp-nl_NL.po → yith-woocommerce-compare-nl_NL.po} RENAMED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:47+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:47+0200\n"
6
  "Last-Translator: Frans Pronk <beheer@ifra.nl>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,36 +13,37 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_x\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
- #: includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: includes/class.yith-woocompare-admin.php:118
25
- #: includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
- #: includes/class.yith-woocompare-admin.php:149
30
- #: includes/class.yith-woocompare-admin.php:150
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr "Vergelijk"
36
 
37
- #: includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
- #: includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
- #: includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -51,11 +52,11 @@ msgid ""
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
- #: includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
- #: includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -65,7 +66,7 @@ msgid ""
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
- #: includes/class.yith-woocompare-admin.php:390
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
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"
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
48
  msgid ""
49
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
52
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
53
  msgstr ""
54
 
55
+ #: includes/class.yith-woocompare-admin.php: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 "
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
 
languages/{yith-wcmp-pt_BR.mo → yith-woocommerce-compare-pt_BR.mo} RENAMED
Binary file
languages/{yith-wcmp-pt_BR.po → yith-woocommerce-compare-pt_BR.po} RENAMED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:48+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:48+0200\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,36 +13,37 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_x\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
18
 
19
  #: includes/class.yith-woocompare-admin.php:117
20
- #: includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: includes/class.yith-woocompare-admin.php:118
25
- #: includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
- #: includes/class.yith-woocompare-admin.php:149
30
- #: includes/class.yith-woocompare-admin.php:150
31
  #: includes/class.yith-woocompare-frontend.php:353
32
  #: plugin-options/general-options.php:40
33
  #: widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr "Comparar"
36
 
37
- #: includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
- #: includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
- #: includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -51,11 +52,11 @@ msgid ""
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
- #: includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
- #: includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -65,7 +66,7 @@ msgid ""
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
- #: includes/class.yith-woocompare-admin.php:390
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:40+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:40+0200\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
+ "Language: pt_BR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
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 "Comparar"
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. "
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 "
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
 
languages/{yith-wcmp-tr_TR.mo → yith-woocommerce-compare-tr_TR.mo} RENAMED
Binary file
languages/{yith-wcmp-tr_TR.po → yith-woocommerce-compare-tr_TR.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:48+0200\n"
5
- "PO-Revision-Date: 2015-07-14 15:48+0200\n"
6
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
7
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language: tr\n"
@@ -18,32 +18,32 @@ msgstr ""
18
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
 
20
  #: includes/class.yith-woocompare-admin.php:117
21
- #: includes/class.yith-woocompare-admin.php:139
22
  msgid "Settings"
23
  msgstr ""
24
 
25
- #: includes/class.yith-woocompare-admin.php:118
26
- #: includes/class.yith-woocompare-admin.php:143
27
  msgid "Premium Version"
28
  msgstr ""
29
 
30
- #: includes/class.yith-woocompare-admin.php:149
31
- #: includes/class.yith-woocompare-admin.php:150
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 "Karşılaştır"
37
 
38
- #: includes/class.yith-woocompare-admin.php:213
39
  msgid "Plugin Documentation"
40
  msgstr ""
41
 
42
- #: includes/class.yith-woocompare-admin.php:232
43
  msgid "YITH WooCommerce Compare Activated"
44
  msgstr ""
45
 
46
- #: includes/class.yith-woocompare-admin.php:233
47
  #, php-format
48
  msgid ""
49
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -52,11 +52,11 @@ msgid ""
52
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
53
  msgstr ""
54
 
55
- #: includes/class.yith-woocompare-admin.php:244
56
  msgid "YITH WooCommerce Compare Updated"
57
  msgstr ""
58
 
59
- #: includes/class.yith-woocompare-admin.php:245
60
  #, php-format
61
  msgid ""
62
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -66,7 +66,7 @@ msgid ""
66
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
67
  msgstr ""
68
 
69
- #: includes/class.yith-woocompare-admin.php:390
70
  msgid "Do you want to hard crop the image?"
71
  msgstr ""
72
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
+ "POT-Creation-Date: 2015-09-22 09:39+0200\n"
5
+ "PO-Revision-Date: 2015-09-22 09:39+0200\n"
6
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
7
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language: tr\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 "Karşılaştır"
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. "
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 "
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
 
languages/{yith-wcmp.pot → yith-woocommerce-compare.pot} RENAMED
@@ -1,7 +1,8 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Compare\n"
4
- "POT-Creation-Date: 2015-07-14 15:10+0100\n"
5
  "PO-Revision-Date: 2015-07-14 15:10+0100\n"
6
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
7
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
@@ -9,40 +10,40 @@ msgstr ""
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.7.6\n"
13
  "X-Poedit-KeywordsList: __;_e;_x\n"
14
- "X-Poedit-Basepath: ./\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
  "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
18
 
19
  #: ../includes/class.yith-woocompare-admin.php:117
20
- #: ../includes/class.yith-woocompare-admin.php:139
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: ../includes/class.yith-woocompare-admin.php:118
25
- #: ../includes/class.yith-woocompare-admin.php:143
26
  msgid "Premium Version"
27
  msgstr ""
28
 
29
- #: ../includes/class.yith-woocompare-admin.php:149
30
- #: ../includes/class.yith-woocompare-admin.php:150
31
  #: ../includes/class.yith-woocompare-frontend.php:353
32
  #: ../plugin-options/general-options.php:40
33
  #: ../widgets/class.yith-woocompare-widget.php:50
34
  msgid "Compare"
35
  msgstr ""
36
 
37
- #: ../includes/class.yith-woocompare-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
- #: ../includes/class.yith-woocompare-admin.php:232
42
  msgid "YITH WooCommerce Compare Activated"
43
  msgstr ""
44
 
45
- #: ../includes/class.yith-woocompare-admin.php:233
46
  #, php-format
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
@@ -51,11 +52,11 @@ msgid ""
51
  "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
52
  msgstr ""
53
 
54
- #: ../includes/class.yith-woocompare-admin.php:244
55
  msgid "YITH WooCommerce Compare Updated"
56
  msgstr ""
57
 
58
- #: ../includes/class.yith-woocompare-admin.php:245
59
  #, php-format
60
  msgid ""
61
  "From now on, you can find all the options of YITH WooCommerce Compare under "
@@ -65,7 +66,7 @@ msgid ""
65
  "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
66
  msgstr ""
67
 
68
- #: ../includes/class.yith-woocompare-admin.php:390
69
  msgid "Do you want to hard crop the image?"
70
  msgstr ""
71
 
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH Woocommerce Compare\n"
5
+ "POT-Creation-Date: 2015-09-22 09:38+0200\n"
6
  "PO-Revision-Date: 2015-07-14 15:10+0100\n"
7
  "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
8
  "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.2\n"
14
  "X-Poedit-KeywordsList: __;_e;_x\n"
15
+ "X-Poedit-Basepath: .\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:353
33
  #: ../plugin-options/general-options.php:40
34
  #: ../widgets/class.yith-woocompare-widget.php:50
35
  msgid "Compare"
36
  msgstr ""
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. "
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 "
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
 
plugin-fw/assets/js/yit-cpt-unlimited.js CHANGED
@@ -12,7 +12,7 @@
12
  // Author code here
13
 
14
  // open media box
15
- $('.wrap h2').on( 'click', 'a.multi-uploader', function(event){
16
  event.preventDefault();
17
 
18
  var file_frame,
12
  // Author code here
13
 
14
  // open media box
15
+ $('.wrap h1, .wrap h2').on( 'click', 'a.multi-uploader', function(event){
16
  event.preventDefault();
17
 
18
  var file_frame,
plugin-fw/assets/js/yit-cpt-unlimited.min.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(c){c(".wrap h2").on("click","a.multi-uploader",function(f){f.preventDefault();var a,b=c(this),d=!1;b.next("span.spinner").css("display","inline-block");a||(a=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0}),a.on("select",function(){var e=[];a.state().get("selection").map(function(a){a=a.toJSON();e.push({id:a.id,url:a.url,title:a.title})});c.post(ajaxurl,{images:e,post_type:typenow,action:"yit_cptu_multiuploader"},
2
  function(a){location.reload()});b.next("span.spinner").css("display","inline-block");d=!0}),a.on("close",function(){d||b.next("span.spinner").hide()}));a.open()})})(jQuery);
1
+ (function(c){c(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(f){f.preventDefault();var a,b=c(this),d=!1;b.next("span.spinner").css("display","inline-block");a||(a=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0}),a.on("select",function(){var e=[];a.state().get("selection").map(function(a){a=a.toJSON();e.push({id:a.id,url:a.url,title:a.title})});c.post(ajaxurl,{images:e,post_type:typenow,action:"yit_cptu_multiuploader"},
2
  function(a){location.reload()});b.next("span.spinner").css("display","inline-block");d=!0}),a.on("close",function(){d||b.next("span.spinner").hide()}));a.open()})})(jQuery);
plugin-fw/lib/yit-cpt-unlimited.php CHANGED
@@ -1049,7 +1049,7 @@ class YIT_CPT_Unlimited {
1049
  'fields' => apply_filters( 'yit_cptu_fields', array(
1050
  'type' => array(
1051
  'label' => __( 'Type', 'yith-plugin-fw' ),
1052
- 'desc' => __( 'Layout for this '.strtolower( $this->_labels['singular'] ) , 'yith-plugin-fw' ),
1053
  'type' => 'select',
1054
  'options' => isset( $layouts ) ? $layouts : array(),
1055
  'std' => '' ),
@@ -1637,7 +1637,7 @@ class YIT_CPT_Unlimited {
1637
  style: 'float: none;'
1638
  });
1639
 
1640
- button.appendTo('.wrap h2').after(spinner);
1641
 
1642
  })(jQuery);
1643
  </script>
1049
  'fields' => apply_filters( 'yit_cptu_fields', array(
1050
  'type' => array(
1051
  'label' => __( 'Type', 'yith-plugin-fw' ),
1052
+ 'desc' => sprintf( __( 'Layout for this %s' , 'yith-plugin-fw' ), strtolower( $this->_labels['singular'] ) ),
1053
  'type' => 'select',
1054
  'options' => isset( $layouts ) ? $layouts : array(),
1055
  'std' => '' ),
1637
  style: 'float: none;'
1638
  });
1639
 
1640
+ button.appendTo('.wrap h2, .wrap h1').after(spinner);
1641
 
1642
  })(jQuery);
1643
  </script>
plugin-fw/lib/yit-metabox.php CHANGED
@@ -9,11 +9,11 @@
9
  */
10
 
11
 
12
- if ( ! defined( 'ABSPATH' ) ) {
13
  exit;
14
  } // Exit if accessed directly
15
 
16
- if ( ! class_exists( 'YIT_Metabox' ) ) {
17
  /**
18
  * YIT Metabox
19
  *
@@ -48,8 +48,8 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
48
  * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
49
  *
50
  */
51
-
52
- class YIT_Metabox {
53
 
54
  /**
55
  * @var string the id of metabox
@@ -91,9 +91,10 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
91
  * @since 1.0
92
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
93
  */
94
- public static function instance( $id ) {
95
- if ( ! isset( self::$_instance[$id] ) ) {
96
- self::$_instance[$id] = new self( $id );
 
97
  }
98
  return self::$_instance[$id];
99
  }
@@ -107,7 +108,8 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
107
  * @since 1.0
108
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
109
  */
110
- function __construct( $id = '' ) {
 
111
  $this->id = $id;
112
 
113
  }
@@ -124,15 +126,16 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
124
  * @since 1.0
125
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
126
  */
127
- public function init( $options = array() ) {
 
128
 
129
- $this->set_options( $options );
130
  $this->set_tabs();
131
 
132
 
133
- add_action( 'add_meta_boxes', array( $this, 'register_metabox' ) );
134
- add_action( 'save_post', array( $this, 'save_postdata' ) );
135
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ), 15 );
136
 
137
  }
138
 
@@ -145,18 +148,19 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
145
  * @since 1.0
146
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
147
  */
148
- public function enqueue() {
 
149
 
150
  wp_enqueue_media();
151
- wp_enqueue_style( 'wp-color-picker' );
152
- wp_enqueue_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
153
- wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
154
- wp_enqueue_script( 'jquery-ui-datepicker' );
155
- wp_enqueue_script( 'yit-spinner', YIT_CORE_PLUGIN_URL . '/assets/js/panel.spinner.js', array( 'jquery' ), '0.0.1', true );
156
- wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
157
- 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 );
158
- wp_enqueue_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array( 'jquery', 'wp-color-picker' ), '1.0.0', true );
159
- 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' );
160
 
161
 
162
  }
@@ -172,7 +176,8 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
172
  * @since 1.0
173
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
174
  */
175
- public function set_options( $options = array() ) {
 
176
  $this->options = $options;
177
 
178
  }
@@ -188,13 +193,14 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
188
  * @since 1.0
189
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
190
  */
191
- public function set_tabs() {
192
- if ( ! isset( $this->options['tabs'] ) ) {
 
193
  return;
194
  }
195
- $this->tabs = $this->options['tabs'] ;
196
- if( isset($this->tabs['settings']['fields']) ){
197
- $this->tabs['settings']['fields'] = array_filter( $this->tabs['settings']['fields'] );
198
  }
199
  }
200
 
@@ -206,32 +212,31 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
206
  *
207
  * @internal param array $tabs
208
  *
209
- * @param array $tab the new tab to add to the metabox
210
- * @param string $where tell where insert the tab if after or before a $refer
211
- * @param null $refer an existent tab inside metabox
212
  *
213
  * @return void
214
  * @since 1.0
215
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
216
  */
217
- public function add_tab( $tab, $where = 'after', $refer = null ) {
218
- if ( ! is_null( $refer ) ) {
219
- $ref_pos = array_search( $refer, array_keys( $this->tabs ) );
220
- if ( $ref_pos !== false ) {
221
- if ( $where == 'after' ) {
222
- $this->tabs = array_slice( $this->tabs, 0, $ref_pos + 1, true ) +
 
223
  $tab +
224
- array_slice( $this->tabs, $ref_pos + 1, count( $this->tabs ) - 1, true );
225
- }
226
- else {
227
- $this->tabs = array_slice( $this->tabs, 0, $ref_pos, true ) +
228
  $tab +
229
- array_slice( $this->tabs, $ref_pos, count( $this->tabs ), true );
230
  }
231
  }
232
- }
233
- else {
234
- $this->tabs = array_merge( $tab, $this->tabs );
235
  }
236
 
237
  }
@@ -249,9 +254,10 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
249
  * @since 1.0
250
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
251
  */
252
- public function remove_tab( $id_tab ) {
253
- if ( isset( $this->tabs[$id_tab] ) ) {
254
- unset ( $this->tabs[$id_tab] );
 
255
  }
256
  }
257
 
@@ -264,40 +270,40 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
264
  * @internal param array $tabs
265
  *
266
  * @param string $tab_id the id of the tabs where add the field
267
- * @param array $args the field to add
268
- * @param string $where tell where insert the field if after or before a $refer
269
- * @param null $refer an existent field inside tab
270
  *
271
  * @return void
272
  * @since 1.0
273
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
274
  */
275
- public function add_field( $tab_id, $args, $where = 'after', $refer = null ) {
276
- if ( isset( $this->tabs[$tab_id] ) ) {
 
277
 
278
  $cf = $this->tabs[$tab_id]['fields'];
279
- if ( ! is_null( $refer ) ) {
280
- $ref_pos = array_search( $refer, array_keys( $cf ) );
281
- if ( $ref_pos !== false ) {
282
- if ( $where == 'after' ) {
283
- $this->tabs[$tab_id]['fields'] = array_slice( $cf, 0, $ref_pos + 1, true ) +
284
  $args +
285
- array_slice( $cf, $ref_pos, count( $cf ) - 1, true );
286
 
287
- } elseif ( $where == 'before' ) {
288
- $this->tabs[$tab_id]['fields'] = array_slice( $cf, 0, $ref_pos, true ) +
289
  $args +
290
- array_slice( $cf, $ref_pos, count( $cf ), true );
291
 
292
  }
293
  }
294
- }
295
- else {
296
- if ( $where == 'first' ) {
297
  $this->tabs[$tab_id]['fields'] = $args + $cf;
298
 
299
  } else {
300
- $this->tabs[$tab_id]['fields'] = array_merge( $this->tabs[$tab_id]['fields'], $args );
301
  }
302
  }
303
 
@@ -317,10 +323,11 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
317
  * @since 1.0
318
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
319
  */
320
- public function remove_field( $id_field ) {
321
- foreach ( $this->tabs as $tab_name => $tab ) {
322
- if ( isset( $tab['fields'][$id_field] ) ) {
323
- unset ( $this->tabs[$tab_name]['fields'][$id_field] );
 
324
  }
325
  }
326
  }
@@ -336,12 +343,13 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
336
  * @since 1.0
337
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
338
  */
339
- public function reorder_tabs() {
340
- foreach ( $this->tabs as $tab_name => $tab ) {
341
- foreach ( $tab['fields'] as $id_field => $field ) {
342
- $this->tabs[$tab_name]['fields'][$id_field]['private'] = ( isset( $field['private'] ) ) ? $field['private'] : true;
343
- $this->tabs[$tab_name]['fields'][$id_field]['id'] = $this->get_option_metabox_id( $id_field, $this->tabs[$tab_name]['fields'][$id_field]['private'] );
344
- $this->tabs[$tab_name]['fields'][$id_field]['name'] = $this->get_option_metabox_name( $this->tabs[$tab_name]['fields'][$id_field]['id'] );
 
345
  }
346
  }
347
 
@@ -360,11 +368,11 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
360
  * @since 1.0
361
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
362
  */
363
- public function get_option_metabox_id( $id_field, $private = true ) {
364
- if ( $private ) {
 
365
  return '_' . $id_field;
366
- }
367
- else {
368
  return $id_field;
369
  }
370
  }
@@ -381,16 +389,17 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
381
  * @since 1.0
382
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
383
  */
384
- public function get_option_metabox_name( $id_field, $private = true ) {
385
- $db_name = apply_filters( 'yit_metaboxes_option_main_name', 'yit_metaboxes' );
386
- $return = $db_name . '[';
 
387
 
388
- if ( ! strpos( $id_field, '[' ) ) {
389
  return $return . $id_field . ']';
390
  }
391
- $return .= substr( $id_field, 0, strpos( $id_field, '[' ) );
392
  $return .= ']';
393
- $return .= substr( $id_field, strpos( $id_field, '[' ) );
394
 
395
  return $return;
396
  }
@@ -405,9 +414,10 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
405
  * @since 1.0
406
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
407
  */
408
- public function register_metabox( $post_type ) {
409
- if( in_array( $post_type, (array) $this->options['pages'] ) ){
410
- add_meta_box( $this->id, $this->options['label'], array( $this, 'show' ), $post_type, $this->options['context'], $this->options['priority'] );
 
411
  }
412
  }
413
 
@@ -421,10 +431,11 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
421
  * @since 1.0
422
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
423
  */
424
- public function show() {
 
425
  $this->reorder_tabs();
426
 
427
- yit_plugin_get_template( YIT_CORE_PLUGIN_PATH, 'metaboxes/tab.php', array( 'tabs' => $this->tabs ) );
428
  }
429
 
430
  /**
@@ -438,61 +449,62 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
438
  * @since 1.0
439
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
440
  */
441
- public function save_postdata( $post_id ) {
 
442
 
443
 
444
-
445
- if ( ! isset( $_POST['yit_metaboxes_nonce'] ) || ! wp_verify_nonce( $_POST['yit_metaboxes_nonce'], 'metaboxes-fields-nonce' ) ) {
446
  return $post_id;
447
  }
448
 
449
 
450
- if ( ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
451
  return $post_id;
452
  }
453
 
454
- if ( isset( $_POST['post_type'] ) ) {
455
  $post_type = $_POST['post_type'];
456
- }
457
- else {
458
  return $post_id;
459
  }
460
 
461
- if ( 'page' == $post_type ) {
462
- if ( ! current_user_can( 'edit_page', $post_id ) ) {
463
  return $post_id;
464
  }
465
- }
466
- else {
467
- if ( ! current_user_can( 'edit_post', $post_id ) ) {
468
  return $post_id;
469
  }
470
  }
471
 
 
 
 
 
472
  $this->reorder_tabs();
473
 
474
 
475
- foreach ( $this->tabs as $tab ) {
476
 
477
- foreach ( $tab['fields'] as $field ) {
478
 
479
- if ( in_array( $field['type'], array( 'title' ) ) ) {
480
  continue;
481
  }
482
 
483
- if ( isset( $_POST['yit_metaboxes'][$field['id']] ) ) {
484
 
485
- add_post_meta( $post_id, $field['id'], $_POST['yit_metaboxes'][$field['id']], true ) || update_post_meta( $post_id, $field['id'], $_POST['yit_metaboxes'][$field['id']] );
486
- }
487
- elseif ( in_array( $field['type'], array( 'onoff', 'checkbox' ) ) ) {
488
- add_post_meta( $post_id, $field['id'], '0', true ) || update_post_meta( $post_id, $field['id'], '0' );
489
- }
490
- else {
491
- delete_post_meta( $post_id, $field['id'] );
492
  }
493
  }
494
  }
495
 
 
496
  }
497
 
498
  /**
@@ -506,15 +518,16 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
506
  * @since 2.0.0
507
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
508
  */
509
- public function remove_fields( $id_fields ) {
510
- foreach ( $id_fields as $k => $field ) {
511
- $this->remove_field( $field );
 
512
  }
513
  }
514
  }
515
  }
516
 
517
- if ( ! function_exists( 'YIT_Metabox' ) ) {
518
 
519
  /**
520
  * Main instance of plugin
@@ -527,8 +540,9 @@ if ( ! function_exists( 'YIT_Metabox' ) ) {
527
  */
528
 
529
 
530
- function YIT_Metabox( $id ) {
531
- return YIT_Metabox::instance( $id );
 
532
  }
533
  }
534
 
9
  */
10
 
11
 
12
+ if (!defined('ABSPATH')) {
13
  exit;
14
  } // Exit if accessed directly
15
 
16
+ if (!class_exists('YIT_Metabox')) {
17
  /**
18
  * YIT Metabox
19
  *
48
  * @author Emanuela Castorina <emanuela.castorina@yithemes.com>
49
  *
50
  */
51
+ class YIT_Metabox
52
+ {
53
 
54
  /**
55
  * @var string the id of metabox
91
  * @since 1.0
92
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
93
  */
94
+ public static function instance($id)
95
+ {
96
+ if (!isset(self::$_instance[$id])) {
97
+ self::$_instance[$id] = new self($id);
98
  }
99
  return self::$_instance[$id];
100
  }
108
  * @since 1.0
109
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
110
  */
111
+ function __construct($id = '')
112
+ {
113
  $this->id = $id;
114
 
115
  }
126
  * @since 1.0
127
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
128
  */
129
+ public function init($options = array())
130
+ {
131
 
132
+ $this->set_options($options);
133
  $this->set_tabs();
134
 
135
 
136
+ add_action('add_meta_boxes', array($this, 'register_metabox'));
137
+ add_action('save_post', array($this, 'save_postdata'));
138
+ add_action('admin_enqueue_scripts', array($this, 'enqueue'), 15);
139
 
140
  }
141
 
148
  * @since 1.0
149
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
150
  */
151
+ public function enqueue()
152
+ {
153
 
154
  wp_enqueue_media();
155
+ wp_enqueue_style('wp-color-picker');
156
+ wp_enqueue_style('yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css');
157
+ wp_enqueue_style('jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css');
158
+ wp_enqueue_script('jquery-ui-datepicker');
159
+ wp_enqueue_script('yit-spinner', YIT_CORE_PLUGIN_URL . '/assets/js/panel.spinner.js', array('jquery'), '0.0.1', true);
160
+ wp_enqueue_script('jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array('jquery'), '1.1.0', true);
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
  }
176
  * @since 1.0
177
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
178
  */
179
+ public function set_options($options = array())
180
+ {
181
  $this->options = $options;
182
 
183
  }
193
  * @since 1.0
194
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
195
  */
196
+ public function set_tabs()
197
+ {
198
+ if (!isset($this->options['tabs'])) {
199
  return;
200
  }
201
+ $this->tabs = $this->options['tabs'];
202
+ if (isset($this->tabs['settings']['fields'])) {
203
+ $this->tabs['settings']['fields'] = array_filter($this->tabs['settings']['fields']);
204
  }
205
  }
206
 
212
  *
213
  * @internal param array $tabs
214
  *
215
+ * @param array $tab the new tab to add to the metabox
216
+ * @param string $where tell where insert the tab if after or before a $refer
217
+ * @param null $refer an existent tab inside metabox
218
  *
219
  * @return void
220
  * @since 1.0
221
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
222
  */
223
+ public function add_tab($tab, $where = 'after', $refer = null)
224
+ {
225
+ if (!is_null($refer)) {
226
+ $ref_pos = array_search($refer, array_keys($this->tabs));
227
+ if ($ref_pos !== false) {
228
+ if ($where == 'after') {
229
+ $this->tabs = array_slice($this->tabs, 0, $ref_pos + 1, true) +
230
  $tab +
231
+ array_slice($this->tabs, $ref_pos + 1, count($this->tabs) - 1, true);
232
+ } else {
233
+ $this->tabs = array_slice($this->tabs, 0, $ref_pos, true) +
 
234
  $tab +
235
+ array_slice($this->tabs, $ref_pos, count($this->tabs), true);
236
  }
237
  }
238
+ } else {
239
+ $this->tabs = array_merge($tab, $this->tabs);
 
240
  }
241
 
242
  }
254
  * @since 1.0
255
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
256
  */
257
+ public function remove_tab($id_tab)
258
+ {
259
+ if (isset($this->tabs[$id_tab])) {
260
+ unset ($this->tabs[$id_tab]);
261
  }
262
  }
263
 
270
  * @internal param array $tabs
271
  *
272
  * @param string $tab_id the id of the tabs where add the field
273
+ * @param array $args the field to add
274
+ * @param string $where tell where insert the field if after or before a $refer
275
+ * @param null $refer an existent field inside tab
276
  *
277
  * @return void
278
  * @since 1.0
279
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
280
  */
281
+ public function add_field($tab_id, $args, $where = 'after', $refer = null)
282
+ {
283
+ if (isset($this->tabs[$tab_id])) {
284
 
285
  $cf = $this->tabs[$tab_id]['fields'];
286
+ if (!is_null($refer)) {
287
+ $ref_pos = array_search($refer, array_keys($cf));
288
+ if ($ref_pos !== false) {
289
+ if ($where == 'after') {
290
+ $this->tabs[$tab_id]['fields'] = array_slice($cf, 0, $ref_pos + 1, true) +
291
  $args +
292
+ array_slice($cf, $ref_pos, count($cf) - 1, true);
293
 
294
+ } elseif ($where == 'before') {
295
+ $this->tabs[$tab_id]['fields'] = array_slice($cf, 0, $ref_pos, true) +
296
  $args +
297
+ array_slice($cf, $ref_pos, count($cf), true);
298
 
299
  }
300
  }
301
+ } else {
302
+ if ($where == 'first') {
 
303
  $this->tabs[$tab_id]['fields'] = $args + $cf;
304
 
305
  } else {
306
+ $this->tabs[$tab_id]['fields'] = array_merge($this->tabs[$tab_id]['fields'], $args);
307
  }
308
  }
309
 
323
  * @since 1.0
324
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
325
  */
326
+ public function remove_field($id_field)
327
+ {
328
+ foreach ($this->tabs as $tab_name => $tab) {
329
+ if (isset($tab['fields'][$id_field])) {
330
+ unset ($this->tabs[$tab_name]['fields'][$id_field]);
331
  }
332
  }
333
  }
343
  * @since 1.0
344
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
345
  */
346
+ public function reorder_tabs()
347
+ {
348
+ foreach ($this->tabs as $tab_name => $tab) {
349
+ foreach ($tab['fields'] as $id_field => $field) {
350
+ $this->tabs[$tab_name]['fields'][$id_field]['private'] = (isset($field['private'])) ? $field['private'] : true;
351
+ $this->tabs[$tab_name]['fields'][$id_field]['id'] = $this->get_option_metabox_id($id_field, $this->tabs[$tab_name]['fields'][$id_field]['private']);
352
+ $this->tabs[$tab_name]['fields'][$id_field]['name'] = $this->get_option_metabox_name($this->tabs[$tab_name]['fields'][$id_field]['id']);
353
  }
354
  }
355
 
368
  * @since 1.0
369
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
370
  */
371
+ public function get_option_metabox_id($id_field, $private = true)
372
+ {
373
+ if ($private) {
374
  return '_' . $id_field;
375
+ } else {
 
376
  return $id_field;
377
  }
378
  }
389
  * @since 1.0
390
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
391
  */
392
+ public function get_option_metabox_name($id_field, $private = true)
393
+ {
394
+ $db_name = apply_filters('yit_metaboxes_option_main_name', 'yit_metaboxes');
395
+ $return = $db_name . '[';
396
 
397
+ if (!strpos($id_field, '[')) {
398
  return $return . $id_field . ']';
399
  }
400
+ $return .= substr($id_field, 0, strpos($id_field, '['));
401
  $return .= ']';
402
+ $return .= substr($id_field, strpos($id_field, '['));
403
 
404
  return $return;
405
  }
414
  * @since 1.0
415
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
416
  */
417
+ public function register_metabox($post_type)
418
+ {
419
+ if (in_array($post_type, (array)$this->options['pages'])) {
420
+ add_meta_box($this->id, $this->options['label'], array($this, 'show'), $post_type, $this->options['context'], $this->options['priority']);
421
  }
422
  }
423
 
431
  * @since 1.0
432
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
433
  */
434
+ public function show()
435
+ {
436
  $this->reorder_tabs();
437
 
438
+ yit_plugin_get_template(YIT_CORE_PLUGIN_PATH, 'metaboxes/tab.php', array('tabs' => $this->tabs));
439
  }
440
 
441
  /**
449
  * @since 1.0
450
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
451
  */
452
+ public function save_postdata($post_id)
453
+ {
454
 
455
 
456
+ if (!isset($_POST['yit_metaboxes_nonce']) || !wp_verify_nonce($_POST['yit_metaboxes_nonce'], 'metaboxes-fields-nonce')) {
 
457
  return $post_id;
458
  }
459
 
460
 
461
+ if ((defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) || (defined('DOING_AJAX') && DOING_AJAX)) {
462
  return $post_id;
463
  }
464
 
465
+ if (isset($_POST['post_type'])) {
466
  $post_type = $_POST['post_type'];
467
+ } else {
 
468
  return $post_id;
469
  }
470
 
471
+ if ('page' == $post_type) {
472
+ if (!current_user_can('edit_page', $post_id)) {
473
  return $post_id;
474
  }
475
+ } else {
476
+ if (!current_user_can('edit_post', $post_id)) {
 
477
  return $post_id;
478
  }
479
  }
480
 
481
+ if (!in_array($post_type, (array)$this->options['pages'])) {
482
+ return $post_id;
483
+ }
484
+
485
  $this->reorder_tabs();
486
 
487
 
488
+ foreach ($this->tabs as $tab) {
489
 
490
+ foreach ($tab['fields'] as $field) {
491
 
492
+ if (in_array($field['type'], array('title'))) {
493
  continue;
494
  }
495
 
496
+ if (isset($_POST['yit_metaboxes'][$field['id']])) {
497
 
498
+ add_post_meta($post_id, $field['id'], $_POST['yit_metaboxes'][$field['id']], true) || update_post_meta($post_id, $field['id'], $_POST['yit_metaboxes'][$field['id']]);
499
+ } elseif (in_array($field['type'], array('onoff', 'checkbox'))) {
500
+ update_post_meta($post_id, $field['id'], '0');
501
+ } else {
502
+ delete_post_meta($post_id, $field['id']);
 
 
503
  }
504
  }
505
  }
506
 
507
+
508
  }
509
 
510
  /**
518
  * @since 2.0.0
519
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
520
  */
521
+ public function remove_fields($id_fields)
522
+ {
523
+ foreach ($id_fields as $k => $field) {
524
+ $this->remove_field($field);
525
  }
526
  }
527
  }
528
  }
529
 
530
+ if (!function_exists('YIT_Metabox')) {
531
 
532
  /**
533
  * Main instance of plugin
540
  */
541
 
542
 
543
+ function YIT_Metabox($id)
544
+ {
545
+ return YIT_Metabox::instance($id);
546
  }
547
  }
548
 
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -282,7 +282,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
282
 
283
  do_action( 'yit_panel_wc_after_update' );
284
 
285
- } elseif( isset( $_REQUEST['yit-action'] ) && $_REQUEST['yit-action'] == 'wc-options-reset' ){
 
286
 
287
  $yit_options = $this->get_main_array_options();
288
  $current_tab = $this->get_current_tab();
282
 
283
  do_action( 'yit_panel_wc_after_update' );
284
 
285
+ } elseif( isset( $_REQUEST['yit-action'] ) && $_REQUEST['yit-action'] == 'wc-options-reset'
286
+ && isset( $_POST['yith_wc_reset_options_nonce'] ) && wp_verify_nonce( $_POST['yith_wc_reset_options_nonce'], 'yith_wc_reset_options_'.$this->settings['page'] )){
287
 
288
  $yit_options = $this->get_main_array_options();
289
  $current_tab = $this->get_current_tab();
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -708,8 +708,9 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
708
  }
709
 
710
  $custom_attributes = implode( ' ', $custom_attributes );
 
 
711
 
712
- $db_value = ( isset( $db_options[$option['id']] ) ) ? $db_options[$option['id']] : '';
713
  if ( isset( $option['deps'] ) ) {
714
  $deps = $option['deps'];
715
  }
708
  }
709
 
710
  $custom_attributes = implode( ' ', $custom_attributes );
711
+ $std = isset( $option['std'] ) ? $option['std'] : '';
712
+ $db_value = ( isset( $db_options[$option['id']] ) ) ? $db_options[$option['id']] : $std;
713
 
 
714
  if ( isset( $option['deps'] ) ) {
715
  $deps = $option['deps'];
716
  }
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -134,7 +134,8 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
134
  $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
135
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
136
  $details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
137
- $changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $this->_plugins[ $init ]['info']['changelog'], $changelog_id, false );
 
138
  }
139
 
140
  $localize_script_args = array(
@@ -261,7 +262,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
261
 
262
  //WARNING: The file is not automatically deleted, The script must unlink() the file.
263
  if ( ! $url ) {
264
- return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.' ) );
265
  }
266
 
267
  $tmpfname = wp_tempnam( $url );
@@ -274,7 +275,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
274
  );
275
 
276
  if ( ! $tmpfname ) {
277
- return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.' ) );
278
  }
279
 
280
  $response = wp_safe_remote_post( $url, $args );
@@ -506,7 +507,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
506
 
507
  check_admin_referer( 'upgrade-plugin-multisite_' . $plugin );
508
 
509
- $title = __( 'Update Plugin' );
510
  $parent_file = 'plugins.php';
511
  $submenu_file = 'plugins.php';
512
 
134
  $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
135
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
136
  $details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
137
+ $plugin_changelog = isset( $this->_plugins[ $init ]['info']['changelog'] ) ? $this->_plugins[ $init ]['info']['changelog'] : '';
138
+ $changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $plugin_changelog, $changelog_id, false );
139
  }
140
 
141
  $localize_script_args = array(
262
 
263
  //WARNING: The file is not automatically deleted, The script must unlink() the file.
264
  if ( ! $url ) {
265
+ return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.', 'yit' ) );
266
  }
267
 
268
  $tmpfname = wp_tempnam( $url );
275
  );
276
 
277
  if ( ! $tmpfname ) {
278
+ return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.', 'yit' ) );
279
  }
280
 
281
  $response = wp_safe_remote_post( $url, $args );
507
 
508
  check_admin_referer( 'upgrade-plugin-multisite_' . $plugin );
509
 
510
+ $title = __( 'Update Plugin', 'yith-plugin-fw' );
511
  $parent_file = 'plugins.php';
512
  $submenu_file = 'plugins.php';
513
 
plugin-fw/lib/yit-video.php CHANGED
@@ -57,7 +57,7 @@ if ( ! class_exists( 'YIT_Video' ) ) {
57
  return;
58
  }
59
 
60
- if( ! $echo ) ob_start();
61
 
62
  $id = preg_replace( '/[&|&amp;]feature=([\w\-]*)/', '', $id );
63
  $id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
@@ -67,7 +67,11 @@ if ( ! class_exists( 'YIT_Video' ) ) {
67
  </div>
68
 
69
  <?php
70
- if( ! $echo ) return ob_get_clean();
 
 
 
 
71
  }
72
 
73
  /**
@@ -97,7 +101,7 @@ if ( ! class_exists( 'YIT_Video' ) ) {
97
  $id = self::video_id_by_url( $url );
98
  }
99
 
100
- if( ! $echo ) ob_start();
101
 
102
  $id = preg_replace( '/[&|&amp;]feature=([\w\-]*)/', '', $id );
103
  $id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
@@ -107,7 +111,11 @@ if ( ! class_exists( 'YIT_Video' ) ) {
107
  </div>
108
 
109
  <?php
110
- if( ! $echo ) return ob_get_clean();
 
 
 
 
111
  }
112
 
113
  /**
57
  return;
58
  }
59
 
60
+ ob_start();
61
 
62
  $id = preg_replace( '/[&|&amp;]feature=([\w\-]*)/', '', $id );
63
  $id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
67
  </div>
68
 
69
  <?php
70
+ $html = apply_filters( 'yit_video_youtube', ob_get_clean() );
71
+
72
+ if( $echo ) echo $html;
73
+
74
+ return $html;
75
  }
76
 
77
  /**
101
  $id = self::video_id_by_url( $url );
102
  }
103
 
104
+ ob_start();
105
 
106
  $id = preg_replace( '/[&|&amp;]feature=([\w\-]*)/', '', $id );
107
  $id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
111
  </div>
112
 
113
  <?php
114
+ $html = apply_filters( 'yit_video_vimeo', ob_get_clean() );
115
+
116
+ if( $echo ) echo $html;
117
+
118
+ return $html;
119
  }
120
 
121
  /**
plugin-fw/templates/metaboxes/types/categories.php CHANGED
@@ -43,7 +43,7 @@ $categories = yit_get_model('cpt_unlimited')->get_setting( 'categories', $post->
43
  </h4>
44
  <p class="category-add-field" id="<?php echo $id ?>-category-field">
45
  <input type="text" class="newcategory" name="newcategory" style="width:100%;" id="<?php echo $id ?>-new-category" />
46
- <input type="button" value="<?php esc_attr_e( 'Add' ); ?>" class="add:categorychecklist:category-add button category-add-submit" id="<?php echo $id ?>-category-add-submit" />
47
  </p>
48
  </div>
49
  </div>
43
  </h4>
44
  <p class="category-add-field" id="<?php echo $id ?>-category-field">
45
  <input type="text" class="newcategory" name="newcategory" style="width:100%;" id="<?php echo $id ?>-new-category" />
46
+ <input type="button" value="<?php esc_attr_e( 'Add', 'yit' ); ?>" class="add:categorychecklist:category-add button category-add-submit" id="<?php echo $id ?>-category-add-submit" />
47
  </p>
48
  </div>
49
  </div>
plugin-fw/templates/panel/woocommerce/woocommerce-form.php CHANGED
@@ -7,6 +7,7 @@
7
  <form id="plugin-fw-wc-reset" method="post">
8
  <?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yith-plugin-fw' ) ?>
9
  <input type="hidden" name="yit-action" value="wc-options-reset" />
 
10
  <input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset Defaults', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
11
  </form>
12
  </div>
7
  <form id="plugin-fw-wc-reset" method="post">
8
  <?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yith-plugin-fw' ) ?>
9
  <input type="hidden" name="yit-action" value="wc-options-reset" />
10
+ <?php wp_nonce_field( 'yith_wc_reset_options_'.$this->settings['page'], 'yith_wc_reset_options_nonce' ); ?>
11
  <input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset Defaults', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
12
  </form>
13
  </div>
plugin-fw/yit-functions.php CHANGED
@@ -634,9 +634,14 @@ if ( ! function_exists( 'yit_check_plugin_support' ) ) {
634
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
635
  */
636
  function yit_check_plugin_support() {
 
637
  $headers['core'] = wp_get_theme()->get( 'Core Framework Version' );
638
  $headers['author'] = wp_get_theme()->get( 'Author' );
639
 
 
 
 
 
640
  if ( ( ! empty( $headers['core'] ) && version_compare( $headers['core'], '2.0.0', '<=' ) ) || $headers['author'] != 'Your Inspiration Themes' ) {
641
  return true;
642
  }
634
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
635
  */
636
  function yit_check_plugin_support() {
637
+
638
  $headers['core'] = wp_get_theme()->get( 'Core Framework Version' );
639
  $headers['author'] = wp_get_theme()->get( 'Author' );
640
 
641
+ if( ! $headers['core'] && defined( 'YIT_CORE_VERSION' ) ) {
642
+ $headers['core'] = YIT_CORE_VERSION;
643
+ }
644
+
645
  if ( ( ! empty( $headers['core'] ) && version_compare( $headers['core'], '2.0.0', '<=' ) ) || $headers['author'] != 'Your Inspiration Themes' ) {
646
  return true;
647
  }
plugin-options/general-options.php CHANGED
@@ -14,36 +14,37 @@ if ( ! defined( 'YITH_WOOCOMPARE' ) ) {
14
  $options = array(
15
  'general' => array(
16
  array(
17
- 'name' => __( 'General Settings', 'yith-wcmp' ),
18
  'type' => 'title',
19
  'desc' => '',
20
  'id' => 'yith_woocompare_general'
21
  ),
22
 
23
  array(
24
- 'name' => __( 'Link or Button', 'yith-wcmp' ),
25
- 'desc' => __( 'Choose if you want to use a link or a button for the action button.', 'yith-wcmp' ),
26
  'id' => 'yith_woocompare_is_button',
27
  'std' => 'button',
28
  'default' => 'button',
29
  'type' => 'select',
30
  'options' => array(
31
- 'link' => __( 'Link', 'yith-wcmp' ),
32
- 'button' => __( 'Button', 'yith-wcmp' )
33
  )
34
  ),
35
 
36
  array(
37
- 'name' => __( 'Link/Button text', 'yith-wcmp' ),
38
- 'desc' => __( 'Type the text to use for the button or the link of the compare.', 'yith-wcmp' ),
39
  'id' => 'yith_woocompare_button_text',
40
- 'std' => __( 'Compare', 'yith-wcmp' ),
 
41
  'type' => 'text'
42
  ),
43
 
44
  array(
45
- 'name' => __( 'Show button in single product page', 'yith-wcmp' ),
46
- 'desc' => __( 'Say if you want to show the button in the single product page.', 'yith-wcmp' ),
47
  'id' => 'yith_woocompare_compare_button_in_product_page',
48
  'std' => 'yes',
49
  'default' => 'yes',
@@ -51,8 +52,8 @@ $options = array(
51
  ),
52
 
53
  array(
54
- 'name' => __( 'Show button in products list', 'yith-wcmp' ),
55
- 'desc' => __( 'Say if you want to show the button in the products list.', 'yith-wcmp' ),
56
  'id' => 'yith_woocompare_compare_button_in_products_list',
57
  'std' => 'no',
58
  'default' => 'no',
@@ -60,8 +61,8 @@ $options = array(
60
  ),
61
 
62
  array(
63
- 'name' => __( 'Open automatically lightbox', 'yith-wcmp' ),
64
- 'desc' => __( 'Open link after click into "Compare" button".', 'yith-wcmp' ),
65
  'id' => 'yith_woocompare_auto_open',
66
  'std' => 'yes',
67
  'default' => 'yes',
@@ -74,23 +75,24 @@ $options = array(
74
  ),
75
 
76
  array(
77
- 'name' => __( 'Table Settings', 'yith-wcmp' ),
78
  'type' => 'title',
79
  'desc' => '',
80
  'id' => 'yith_woocompare_table'
81
  ),
82
 
83
  array(
84
- 'name' => __( 'Table title', 'yith-wcmp' ),
85
- 'desc' => __( 'Type the text to use for the table title.', 'yith-wcmp' ),
86
  'id' => 'yith_woocompare_table_text',
87
- 'std' => __( 'Compare products', 'yith-wcmp' ),
 
88
  'type' => 'text'
89
  ),
90
 
91
  array(
92
- 'name' => __( 'Fields to show', 'yith-wcmp' ),
93
- 'desc' => __( 'Select the fields to show in the comparison table and order them by drag&drop (are included also the woocommerce attributes)', 'yith-wcmp' ),
94
  'id' => 'yith_woocompare_fields_attrs',
95
  'std' => 'all',
96
  'default' => 'all',
@@ -98,8 +100,8 @@ $options = array(
98
  ),
99
 
100
  array(
101
- 'name' => __( 'Repeat "Price" field', 'yith-wcmp' ),
102
- 'desc' => __( 'Repeat the "Price" field at the end of the table', 'yith-wcmp' ),
103
  'id' => 'yith_woocompare_price_end',
104
  'std' => 'yes',
105
  'default' => 'yes',
@@ -107,8 +109,8 @@ $options = array(
107
  ),
108
 
109
  array(
110
- 'name' => __( 'Repeat "Add to cart" field', 'yith-wcmp' ),
111
- 'desc' => __( 'Repeat the "Add to cart" field at the end of the table', 'yith-wcmp' ),
112
  'id' => 'yith_woocompare_add_to_cart_end',
113
  'std' => 'no',
114
  'default' => 'no',
@@ -116,8 +118,8 @@ $options = array(
116
  ),
117
 
118
  array(
119
- 'name' => __( 'Image size', 'yith-wcmp' ),
120
- 'desc' => __( 'Set the size for the images', 'yith-wcmp' ),
121
  'id' => 'yith_woocompare_image_size',
122
  'type' => 'woocompare_image_width',
123
  'default' => array(
14
  $options = array(
15
  'general' => array(
16
  array(
17
+ 'name' => __( 'General Settings', 'yith-woocommerce-compare' ),
18
  'type' => 'title',
19
  'desc' => '',
20
  'id' => 'yith_woocompare_general'
21
  ),
22
 
23
  array(
24
+ 'name' => __( 'Link or Button', 'yith-woocommerce-compare' ),
25
+ 'desc' => __( 'Choose if you want to use a link or a button for the action button.', 'yith-woocommerce-compare' ),
26
  'id' => 'yith_woocompare_is_button',
27
  'std' => 'button',
28
  'default' => 'button',
29
  'type' => 'select',
30
  'options' => array(
31
+ 'link' => __( 'Link', 'yith-woocommerce-compare' ),
32
+ 'button' => __( 'Button', 'yith-woocommerce-compare' )
33
  )
34
  ),
35
 
36
  array(
37
+ 'name' => __( 'Link/Button text', 'yith-woocommerce-compare' ),
38
+ 'desc' => __( 'Type the text to use for the button or the link of the compare.', 'yith-woocommerce-compare' ),
39
  'id' => 'yith_woocompare_button_text',
40
+ 'std' => __( 'Compare', 'yith-woocommerce-compare' ),
41
+ 'default' => __( 'Compare', 'yith-woocommerce-compare' ),
42
  'type' => 'text'
43
  ),
44
 
45
  array(
46
+ 'name' => __( 'Show button in single product page', 'yith-woocommerce-compare' ),
47
+ 'desc' => __( 'Say if you want to show the button in the single product page.', 'yith-woocommerce-compare' ),
48
  'id' => 'yith_woocompare_compare_button_in_product_page',
49
  'std' => 'yes',
50
  'default' => 'yes',
52
  ),
53
 
54
  array(
55
+ 'name' => __( 'Show button in products list', 'yith-woocommerce-compare' ),
56
+ 'desc' => __( 'Say if you want to show the button in the products list.', 'yith-woocommerce-compare' ),
57
  'id' => 'yith_woocompare_compare_button_in_products_list',
58
  'std' => 'no',
59
  'default' => 'no',
61
  ),
62
 
63
  array(
64
+ 'name' => __( 'Open automatically lightbox', 'yith-woocommerce-compare' ),
65
+ 'desc' => __( 'Open link after click into "Compare" button".', 'yith-woocommerce-compare' ),
66
  'id' => 'yith_woocompare_auto_open',
67
  'std' => 'yes',
68
  'default' => 'yes',
75
  ),
76
 
77
  array(
78
+ 'name' => __( 'Table Settings', 'yith-woocommerce-compare' ),
79
  'type' => 'title',
80
  'desc' => '',
81
  'id' => 'yith_woocompare_table'
82
  ),
83
 
84
  array(
85
+ 'name' => __( 'Table title', 'yith-woocommerce-compare' ),
86
+ 'desc' => __( 'Type the text to use for the table title.', 'yith-woocommerce-compare' ),
87
  'id' => 'yith_woocompare_table_text',
88
+ 'std' => __( 'Compare products', 'yith-woocommerce-compare' ),
89
+ 'default' => __( 'Compare products', 'yith-woocommerce-compare' ),
90
  'type' => 'text'
91
  ),
92
 
93
  array(
94
+ 'name' => __( 'Fields to show', 'yith-woocommerce-compare' ),
95
+ 'desc' => __( 'Select the fields to show in the comparison table and order them by drag&drop (are included also the woocommerce attributes)', 'yith-woocommerce-compare' ),
96
  'id' => 'yith_woocompare_fields_attrs',
97
  'std' => 'all',
98
  'default' => 'all',
100
  ),
101
 
102
  array(
103
+ 'name' => __( 'Repeat "Price" field', 'yith-woocommerce-compare' ),
104
+ 'desc' => __( 'Repeat the "Price" field at the end of the table', 'yith-woocommerce-compare' ),
105
  'id' => 'yith_woocompare_price_end',
106
  'std' => 'yes',
107
  'default' => 'yes',
109
  ),
110
 
111
  array(
112
+ 'name' => __( 'Repeat "Add to cart" field', 'yith-woocommerce-compare' ),
113
+ 'desc' => __( 'Repeat the "Add to cart" field at the end of the table', 'yith-woocommerce-compare' ),
114
  'id' => 'yith_woocompare_add_to_cart_end',
115
  'std' => 'no',
116
  'default' => 'no',
118
  ),
119
 
120
  array(
121
+ 'name' => __( 'Image size', 'yith-woocommerce-compare' ),
122
+ 'desc' => __( 'Set the size for the images', 'yith-woocommerce-compare' ),
123
  'id' => 'yith_woocompare_image_size',
124
  'type' => 'woocompare_image_width',
125
  'default' => array(
templates/admin/premium.php CHANGED
@@ -225,17 +225,17 @@
225
  <div class="landing-container">
226
  <div class="premium-cta">
227
  <p>
228
- <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-wcmp'),'<span class="highlight">','</span>' );?>
229
  </p>
230
  <a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
231
- <span class="highlight"><?php _e('UPGRADE','yith-wcmp');?></span>
232
- <span><?php _e('to the premium version','yith-wcmp');?></span>
233
  </a>
234
  </div>
235
  </div>
236
  </div>
237
  <div class="one section section-even clear">
238
- <h1><?php _e('Premium Features','yith-wcmp');?></h1>
239
  <div class="landing-container">
240
  <div class="col-1">
241
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01.png" alt="Dedicated Page" />
@@ -243,10 +243,10 @@
243
  <div class="col-2">
244
  <div class="section-title">
245
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01-icon.png" alt="icon 01"/>
246
- <h2><?php _e('A DEDICATED PAGE','yith-wcmp');?></h2>
247
  </div>
248
  <p>
249
- <?php echo sprintf(__('Don\'t you want to compare your products in a modal window anymore?%3$sWith the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be created automatically in your site and, adding it among the menu entries, you will be able to give to your users the chance to access it easily whenever they want.', 'yith-wcmp'), '<b>', '</b>','<br>');?>
250
  </p>
251
  </div>
252
  </div>
@@ -256,10 +256,10 @@
256
  <div class="col-2">
257
  <div class="section-title">
258
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02-icon.png" alt="icon 02" />
259
- <h2><?php _e('CATEGORY COMPARATION','yith-wcmp');?></h2>
260
  </div>
261
  <p>
262
- <?php echo sprintf( __( 'People are often confused by finding products of different categories in the comparison table, creating difficulties in comparing the products they are interested into.The %1$s"Compare by category"%2$s option exists for this need: you will be able to separate the products in the table by category affinity.', 'yith-wcmp'), '<b>', '</b>');?>
263
  </p>
264
  </div>
265
  <div class="col-1">
@@ -275,10 +275,10 @@
275
  <div class="col-2">
276
  <div class="section-title">
277
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03-icon.png" alt="icon 03" />
278
- <h2><?php _e( 'CATEGORY EXCLUSION ','yith-wcmp');?></h2>
279
  </div>
280
  <p>
281
- <?php echo sprintf(__('In your shop there may be product categories you don\'t want to be affected by the plugin features, deleting the comparison button for them. The premium version of the plugin offers this too.%3$sAnd there\'s more! Activating the %1$s"Reverse exclusion list"%2$s option, you can also invert the behavior of the feature, allowing the comparison only to those products of the selected categories.', 'yith-wcmp'), '<b>', '</b>','<br>');?>
282
  </p>
283
  </div>
284
  </div>
@@ -288,10 +288,10 @@
288
  <div class="col-2">
289
  <div class="section-title">
290
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04-icon.png" alt="icon 04" />
291
- <h2><?php _e('TABLE IMAGE','yith-wcmp');?></h2>
292
  </div>
293
  <p>
294
- <?php echo sprintf(__('Give a personal touch to the %1$scomparison table%2$s your users will see. Select an image, upload it from the option panel and show it ahead of the table to your users. ', 'yith-wcmp'), '<b>', '</b>');?>
295
  </p>
296
  </div>
297
  <div class="col-1">
@@ -307,10 +307,10 @@
307
  <div class="col-2">
308
  <div class="section-title">
309
  <img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/05-icon.png" alt="icon 05" />
310
- <h2><?php _e('DYNAMIC FIELDS','yith-wcmp');?></h2>
311
  </div>
312
  <p>
313
- <?php echo sprintf( __('With this precious feature, you will be able to show in the table only the fields that have information in at least one of the selected products.%3$sActivate the %1$s"Dynamic Attribute fields"%2$s option and there will be no more empty lines in your comparison table.','yith-wcmp'),'<b>','</b>','<br>'); ?>
314
  </p>
315
  </div>
316
  </div>
@@ -320,10 +320,10 @@
320
  <div class="col-2">
321
  <div class="section-title">
322
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06-icon.png" alt="icon 06" />
323
- <h2><?php _e('SOCIAL NETWORK SHARING','yith-wcmp');?></h2>
324
  </div>
325
  <p>
326
- <?php echo sprintf( __( 'One of the most appealing features of the premium version of the plugin.Four social network sites for your users (Facebook, Twitter, Google + and Pinterest) and the email system %1$sto share%2$s the comparison table of the products they have selected.','yith-wcmp' ),'<b>','</b>' ) ?>
327
  </p>
328
  </div>
329
  <div class="col-1">
@@ -339,10 +339,10 @@
339
  <div class="col-2">
340
  <div class="section-title">
341
  <img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/07-icon.png" alt="icon 05" />
342
- <h2><?php _e('RELATED PRODUCTS','yith-wcmp');?></h2>
343
  </div>
344
  <p>
345
- <?php echo sprintf( __('All the products that have common categories and/or tags with those in the comparison table will be showed in a slider, right under the comparison table.%3$sA completely %1$s"touch friendly"%2$s slider to encourage your users to discover the shop products of the shop related to those they are interested into.','yith-wcmp'),'<b>','</b>','<br>'); ?>
346
  </p>
347
  </div>
348
  </div>
@@ -352,10 +352,10 @@
352
  <div class="col-2">
353
  <div class="section-title">
354
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08-icon.png" alt="icon 06" />
355
- <h2><?php _e('CUSTOMIZABLE STYLE','yith-wcmp');?></h2>
356
  </div>
357
  <p>
358
- <?php echo sprintf( __( 'An advanced option panel that let you change all the colors of the plugin, so that you can adapt stylistically all its elements to the %1$slayout%2$s of your shop.We know it, looks also count... and we give you the right tools to get to the best result.','yith-wcmp' ),'<b>','</b>' ) ?>
359
  </p>
360
  </div>
361
  <div class="col-1">
@@ -367,11 +367,11 @@
367
  <div class="landing-container">
368
  <div class="premium-cta">
369
  <p>
370
- <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-wcmp'),'<span class="highlight">','</span>' );?>
371
  </p>
372
  <a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
373
- <span class="highlight"><?php _e('UPGRADE','yith-wcmp');?></span>
374
- <span><?php _e('to the premium version','yith-wcmp');?></span>
375
  </a>
376
  </div>
377
  </div>
225
  <div class="landing-container">
226
  <div class="premium-cta">
227
  <p>
228
+ <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-woocommerce-compare' ),'<span class="highlight">','</span>' );?>
229
  </p>
230
  <a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
231
+ <span class="highlight"><?php _e('UPGRADE','yith-woocommerce-compare' ); ?></span>
232
+ <span><?php _e('to the premium version','yith-woocommerce-compare' ); ?></span>
233
  </a>
234
  </div>
235
  </div>
236
  </div>
237
  <div class="one section section-even clear">
238
+ <h1><?php _e('Premium Features','yith-woocommerce-compare');?></h1>
239
  <div class="landing-container">
240
  <div class="col-1">
241
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01.png" alt="Dedicated Page" />
243
  <div class="col-2">
244
  <div class="section-title">
245
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/01-icon.png" alt="icon 01"/>
246
+ <h2><?php _e('A DEDICATED PAGE','yith-woocommerce-compare' ); ?></h2>
247
  </div>
248
  <p>
249
+ <?php echo sprintf(__('Don\'t you want to compare your products in a modal window anymore?%3$sWith the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be created automatically in your site and, adding it among the menu entries, you will be able to give to your users the chance to access it easily whenever they want.', 'yith-woocommerce-compare'), '<b>', '</b>','<br>');?>
250
  </p>
251
  </div>
252
  </div>
256
  <div class="col-2">
257
  <div class="section-title">
258
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/02-icon.png" alt="icon 02" />
259
+ <h2><?php _e('CATEGORY COMPARATION','yith-woocommerce-compare');?></h2>
260
  </div>
261
  <p>
262
+ <?php echo sprintf( __( 'People are often confused by finding products of different categories in the comparison table, creating difficulties in comparing the products they are interested into.The %1$s"Compare by category"%2$s option exists for this need: you will be able to separate the products in the table by category affinity.', 'yith-woocommerce-compare'), '<b>', '</b>');?>
263
  </p>
264
  </div>
265
  <div class="col-1">
275
  <div class="col-2">
276
  <div class="section-title">
277
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/03-icon.png" alt="icon 03" />
278
+ <h2><?php _e( 'CATEGORY EXCLUSION ','yith-woocommerce-compare');?></h2>
279
  </div>
280
  <p>
281
+ <?php echo sprintf(__('In your shop there may be product categories you don\'t want to be affected by the plugin features, deleting the comparison button for them. The premium version of the plugin offers this too.%3$sAnd there\'s more! Activating the %1$s"Reverse exclusion list"%2$s option, you can also invert the behavior of the feature, allowing the comparison only to those products of the selected categories.', 'yith-woocommerce-compare' ), '<b>', '</b>','<br>');?>
282
  </p>
283
  </div>
284
  </div>
288
  <div class="col-2">
289
  <div class="section-title">
290
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/04-icon.png" alt="icon 04" />
291
+ <h2><?php _e('TABLE IMAGE','yith-woocommerce-compare');?></h2>
292
  </div>
293
  <p>
294
+ <?php echo sprintf(__('Give a personal touch to the %1$scomparison table%2$s your users will see. Select an image, upload it from the option panel and show it ahead of the table to your users. ', 'yith-woocommerce-compare'), '<b>', '</b>');?>
295
  </p>
296
  </div>
297
  <div class="col-1">
307
  <div class="col-2">
308
  <div class="section-title">
309
  <img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/05-icon.png" alt="icon 05" />
310
+ <h2><?php _e('DYNAMIC FIELDS','yith-woocommerce-compare');?></h2>
311
  </div>
312
  <p>
313
+ <?php echo sprintf( __('With this precious feature, you will be able to show in the table only the fields that have information in at least one of the selected products.%3$sActivate the %1$s"Dynamic Attribute fields"%2$s option and there will be no more empty lines in your comparison table.','yith-woocommerce-compare'),'<b>','</b>','<br>'); ?>
314
  </p>
315
  </div>
316
  </div>
320
  <div class="col-2">
321
  <div class="section-title">
322
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/06-icon.png" alt="icon 06" />
323
+ <h2><?php _e('SOCIAL NETWORK SHARING','yith-woocommerce-compare');?></h2>
324
  </div>
325
  <p>
326
+ <?php echo sprintf( __( 'One of the most appealing features of the premium version of the plugin.Four social network sites for your users (Facebook, Twitter, Google + and Pinterest) and the email system %1$sto share%2$s the comparison table of the products they have selected.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
327
  </p>
328
  </div>
329
  <div class="col-1">
339
  <div class="col-2">
340
  <div class="section-title">
341
  <img src="<?php echo YITH_WOOCOMPARE_URL?>assets/images/07-icon.png" alt="icon 05" />
342
+ <h2><?php _e('RELATED PRODUCTS','yith-woocommerce-compare');?></h2>
343
  </div>
344
  <p>
345
+ <?php echo sprintf( __('All the products that have common categories and/or tags with those in the comparison table will be showed in a slider, right under the comparison table.%3$sA completely %1$s"touch friendly"%2$s slider to encourage your users to discover the shop products of the shop related to those they are interested into.','yith-woocommerce-compare'),'<b>','</b>','<br>'); ?>
346
  </p>
347
  </div>
348
  </div>
352
  <div class="col-2">
353
  <div class="section-title">
354
  <img src="<?php echo YITH_WOOCOMPARE_URL ?>assets/images/08-icon.png" alt="icon 06" />
355
+ <h2><?php _e('CUSTOMIZABLE STYLE','yith-woocommerce-compare');?></h2>
356
  </div>
357
  <p>
358
+ <?php echo sprintf( __( 'An advanced option panel that let you change all the colors of the plugin, so that you can adapt stylistically all its elements %1$sto the layout%2$s of your shop.We know it, looks also count... and we give you the right tools to get to the best result.','yith-woocommerce-compare' ),'<b>','</b>' ) ?>
359
  </p>
360
  </div>
361
  <div class="col-1">
367
  <div class="landing-container">
368
  <div class="premium-cta">
369
  <p>
370
+ <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to benefit from all features!','yith-woocommerce-compare'),'<span class="highlight">','</span>' );?>
371
  </p>
372
  <a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
373
+ <span class="highlight"><?php _e('UPGRADE','yith-woocommerce-compare');?></span>
374
+ <span><?php _e('to the premium version','yith-woocommerce-compare');?></span>
375
  </a>
376
  </div>
377
  </div>
templates/compare.php CHANGED
@@ -48,7 +48,7 @@ $localized_table_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plu
48
  <head>
49
  <meta charset="<?php bloginfo( 'charset' ); ?>" />
50
  <meta name="viewport" content="width=device-width" />
51
- <title><?php _e( 'Product Comparison', 'yith-wcmp' ) ?></title>
52
  <link rel="profile" href="http://gmpg.org/xfn/11" />
53
 
54
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" />
@@ -73,7 +73,7 @@ $localized_table_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plu
73
 
74
  <h1>
75
  <?php echo $localized_table_text ?>
76
- <?php if ( ! $is_iframe ) : ?><a class="close" href="#"><?php _e( 'Close window [X]', 'yith-wcmp' ) ?></a><?php endif; ?>
77
  </h1>
78
 
79
  <?php do_action( 'yith_woocompare_before_main_table' ); ?>
@@ -100,7 +100,7 @@ $localized_table_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plu
100
  <?php if ( empty( $products ) ) : ?>
101
 
102
  <tr class="no-products">
103
- <td><?php _e( 'No products added in the compare table.', 'yith-wcmp' ) ?></td>
104
  </tr>
105
 
106
  <?php else : ?>
@@ -108,7 +108,7 @@ $localized_table_text = function_exists( 'icl_translate' ) ? icl_translate( 'Plu
108
  <th>&nbsp;</th>
109
  <?php foreach( $products as $i => $product ) : $product_class = ( $i % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product->id ?>
110
  <td class="<?php echo $product_class; ?>">
111
- <a href="<?php echo add_query_arg( 'redirect', 'view', $this->remove_product_url( $product->id ) ) ?>" data-product_id="<?php echo $product->id; ?>"><?php _e( 'Remove', 'yit' ) ?> <span class="remove">x</span></a>
112
  </td>
113
  <?php endforeach ?>
114
  </tr>
48
  <head>
49
  <meta charset="<?php bloginfo( 'charset' ); ?>" />
50
  <meta name="viewport" content="width=device-width" />
51
+ <title><?php _e( 'Product Comparison', 'yith-woocommerce-compare' ) ?></title>
52
  <link rel="profile" href="http://gmpg.org/xfn/11" />
53
 
54
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" />
73
 
74
  <h1>
75
  <?php echo $localized_table_text ?>
76
+ <?php if ( ! $is_iframe ) : ?><a class="close" href="#"><?php _e( 'Close window [X]', 'yith-woocommerce-compare' ) ?></a><?php endif; ?>
77
  </h1>
78
 
79
  <?php do_action( 'yith_woocompare_before_main_table' ); ?>
100
  <?php if ( empty( $products ) ) : ?>
101
 
102
  <tr class="no-products">
103
+ <td><?php _e( 'No products added in the compare table.', 'yith-woocommerce-compare' ) ?></td>
104
  </tr>
105
 
106
  <?php else : ?>
108
  <th>&nbsp;</th>
109
  <?php foreach( $products as $i => $product ) : $product_class = ( $i % 2 == 0 ? 'odd' : 'even' ) . ' product_' . $product->id ?>
110
  <td class="<?php echo $product_class; ?>">
111
+ <a href="<?php echo add_query_arg( 'redirect', 'view', $this->remove_product_url( $product->id ) ) ?>" data-product_id="<?php echo $product->id; ?>"><?php _e( 'Remove', 'yith-woocommerce-compare' ) ?> <span class="remove">x</span></a>
112
  </td>
113
  <?php endforeach ?>
114
  </tr>
widgets/class.yith-woocompare-widget.php CHANGED
@@ -20,11 +20,11 @@ if( !class_exists( 'YITH_WOOCOMPARE' ) ) {
20
  function __construct() {
21
  $widget_ops = array (
22
  'classname' => 'yith-woocompare-widget',
23
- 'description' => __( 'The widget show the list of products added in the compare table.', 'yith-wcmp'
24
  )
25
  );
26
 
27
- parent::__construct( 'yith-woocompare-widget', __( 'YITH Woocommerce Compare Widget', 'yith-wcmp' ), $widget_ops );
28
  }
29
 
30
 
@@ -46,8 +46,8 @@ if( !class_exists( 'YITH_WOOCOMPARE' ) ) {
46
  <?php echo $yith_woocompare->obj->list_products_html(); ?>
47
  </ul>
48
 
49
- <a href="<?php echo $yith_woocompare->obj->remove_product_url('all') ?>" data-product_id="all" class="clear-all"><?php _e( 'Clear all', 'yith-wcmp' ) ?></a>
50
- <a href="<?php echo add_query_arg( array( 'iframe' => 'true' ), $yith_woocompare->obj->view_table_url() ) ?>" class="compare button"><?php _e( 'Compare', 'yith-wcmp' ) ?></a>
51
 
52
  <?php echo $after_widget;
53
  }
20
  function __construct() {
21
  $widget_ops = array (
22
  'classname' => 'yith-woocompare-widget',
23
+ 'description' => __( 'The widget show the list of products added in the compare table.', 'yith-woocommerce-compare'
24
  )
25
  );
26
 
27
+ parent::__construct( 'yith-woocompare-widget', __( 'YITH Woocommerce Compare Widget', 'yith-woocommerce-compare' ), $widget_ops );
28
  }
29
 
30
 
46
  <?php echo $yith_woocompare->obj->list_products_html(); ?>
47
  </ul>
48
 
49
+ <a href="<?php echo $yith_woocompare->obj->remove_product_url('all') ?>" data-product_id="all" class="clear-all"><?php _e( 'Clear all', 'yith-woocommerce-compare' ) ?></a>
50
+ <a href="<?php echo add_query_arg( array( 'iframe' => 'true' ), $yith_woocompare->obj->view_table_url() ) ?>" class="compare button"><?php _e( 'Compare', 'yith-woocommerce-compare' ) ?></a>
51
 
52
  <?php echo $after_widget;
53
  }