YITH WooCommerce Ajax Product Filter - Version 3.0.0

Version Description

  • Released: Jun 13, 2016 =

  • Added: Support to WooCommece 2.6

  • Tweak: Layered navigation management

  • Tweak: English Typo

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.9.2 to 3.0.0

Files changed (47) hide show
  1. README.txt +7 -1
  2. assets/images/11-bg.png +0 -0
  3. assets/images/11-icon.png +0 -0
  4. assets/images/11.png +0 -0
  5. assets/images/12-bg.png +0 -0
  6. assets/images/12-icon.png +0 -0
  7. assets/images/12.png +0 -0
  8. assets/images/13-bg.png +0 -0
  9. assets/images/13-icon.png +0 -0
  10. assets/images/13.png +0 -0
  11. includes/class.yith-wcan-admin.php +2 -20
  12. includes/class.yith-wcan-frontend.php +196 -8
  13. includes/class.yith-wcan-helper.php +4 -4
  14. includes/class.yith-wcan.php +48 -0
  15. includes/functions.yith-wcan.php +18 -7
  16. init.php +2 -2
  17. languages/yith-woocommerce-ajax-navigation-it_IT.mo +0 -0
  18. languages/yith-woocommerce-ajax-navigation-it_IT.po +394 -166
  19. languages/yith-woocommerce-ajax-navigation-tr_TR.mo +0 -0
  20. languages/yith-woocommerce-ajax-navigation-tr_TR.po +126 -1127
  21. languages/yith-woocommerce-ajax-navigation.pot +86 -1131
  22. plugin-fw/assets/images/upgrade-page/01.jpg +0 -0
  23. plugin-fw/assets/images/upgrade-page/02.jpg +0 -0
  24. plugin-fw/assets/images/upgrade-page/03.jpg +0 -0
  25. plugin-fw/assets/images/upgrade-page/04.jpg +0 -0
  26. plugin-fw/assets/images/upgrade-page/05.jpg +0 -0
  27. plugin-fw/assets/images/upgrade-page/06.jpg +0 -0
  28. plugin-fw/assets/images/upgrade-page/07.jpg +0 -0
  29. plugin-fw/assets/images/upgrade-page/08.jpg +0 -0
  30. plugin-fw/assets/images/upgrade-page/09.jpg +0 -0
  31. plugin-fw/assets/js/how-to.js +6 -0
  32. plugin-fw/assets/js/multisite-updater.js +1 -1
  33. plugin-fw/assets/js/multisite-updater.min.js +1 -4
  34. plugin-fw/init.php +18 -1
  35. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  36. plugin-fw/languages/yith-plugin-fw-es_ES.po +1170 -0
  37. plugin-fw/lib/yit-plugin-panel-sidebar.php +1 -1
  38. plugin-fw/lib/yit-plugin-panel-wc.php +22 -7
  39. plugin-fw/lib/yit-plugin-panel.php +13 -17
  40. plugin-fw/lib/yit-upgrade.php +534 -528
  41. plugin-fw/lib/yit-video.php +6 -2
  42. plugin-fw/templates/upgrade/upgrade-to-pro-version.php +0 -75
  43. plugin-fw/yit-functions.php +19 -6
  44. settings/custom-style-options.php +1 -1
  45. settings/frontend-options.php +7 -7
  46. widgets/class.yith-wcan-navigation-widget.php +105 -107
  47. widgets/class.yith-wcan-reset-navigation-widget.php +1 -3
README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
  Tested up to: 4.5.2
7
- Stable tag: 2.9.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,6 +159,12 @@ If you want to see a demonstration version of the premium plugin, you can see it
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
 
162
  = 2.9.2 - Released: May 16, 2016 =
163
 
164
  * Fixed: Wrong reset button link in product category page
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
  Tested up to: 4.5.2
7
+ Stable tag: 3.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 3.0.0 - Released: Jun 13, 2016 =
163
+
164
+ * Added: Support to WooCommece 2.6
165
+ * Tweak: Layered navigation management
166
+ * Tweak: English Typo
167
+
168
  = 2.9.2 - Released: May 16, 2016 =
169
 
170
  * Fixed: Wrong reset button link in product category page
assets/images/11-bg.png ADDED
Binary file
assets/images/11-icon.png ADDED
Binary file
assets/images/11.png ADDED
Binary file
assets/images/12-bg.png ADDED
Binary file
assets/images/12-icon.png ADDED
Binary file
assets/images/12.png ADDED
Binary file
assets/images/13-bg.png ADDED
Binary file
assets/images/13-icon.png ADDED
Binary file
assets/images/13.png ADDED
Binary file
includes/class.yith-wcan-admin.php CHANGED
@@ -65,7 +65,6 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
65
  $this->version = $version;
66
 
67
  //Actions
68
- add_action( 'init', array( $this, 'init' ) );
69
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
70
 
71
  /* Plugin Option Panel */
@@ -81,19 +80,7 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
81
  // YITH WCAN Loaded
82
  do_action( 'yith_wcan_loaded' );
83
  }
84
-
85
-
86
- /**
87
- * Init method:
88
- * - default options
89
- *
90
- * @access public
91
- * @since 1.0.0
92
- */
93
- public function init() {
94
- }
95
-
96
-
97
  /**
98
  * Enqueue admin styles and scripts
99
  *
@@ -154,12 +141,7 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
154
  'options-path' => YITH_WCAN_DIR . '/settings',
155
  'plugin-url' => YITH_WCAN_URL
156
  );
157
-
158
- /* === Fixed: not updated theme === */
159
- if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
160
- require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
161
- }
162
-
163
  $this->_panel = new YIT_Plugin_Panel( $args );
164
  $this->_main_panel_option = "yit_{$args['parent']}_options";
165
 
65
  $this->version = $version;
66
 
67
  //Actions
 
68
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
69
 
70
  /* Plugin Option Panel */
80
  // YITH WCAN Loaded
81
  do_action( 'yith_wcan_loaded' );
82
  }
83
+
 
 
 
 
 
 
 
 
 
 
 
 
84
  /**
85
  * Enqueue admin styles and scripts
86
  *
141
  'options-path' => YITH_WCAN_DIR . '/settings',
142
  'plugin-url' => YITH_WCAN_URL
143
  );
144
+
 
 
 
 
 
145
  $this->_panel = new YIT_Plugin_Panel( $args );
146
  $this->_main_panel_option = "yit_{$args['parent']}_options";
147
 
includes/class.yith-wcan-frontend.php CHANGED
@@ -27,6 +27,16 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
27
  */
28
  public $version;
29
 
 
 
 
 
 
 
 
 
 
 
30
  /**
31
  * Constructor
32
  *
@@ -35,18 +45,105 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
35
  */
36
  public function __construct( $version ) {
37
  $this->version = $version;
38
-
39
  //Actions
40
  add_action( 'init', array( $this, 'woocommerce_layered_nav_init' ), 99 );
41
 
42
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
43
 
44
  add_action( 'body_class', array( $this, 'body_class' ) );
 
 
 
 
45
 
46
  // YITH WCAN Loaded
47
  do_action( 'yith_wcan_loaded' );
48
  }
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  /**
51
  * Enqueue frontend styles and scripts
52
  *
@@ -96,12 +193,10 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
96
 
97
  if ( is_active_widget( false, false, 'yith-woo-ajax-navigation', true ) && ! is_admin() ) {
98
 
99
- global $_chosen_attributes, $woocommerce;
100
-
101
- $_chosen_attributes = array();
102
 
103
  /* FIX TO WOOCOMMERCE 2.1 */
104
- $attibute_taxonomies = function_exists( 'wc_get_attribute_taxonomies' ) ? $attribute_taxonomies = wc_get_attribute_taxonomies() : $attribute_taxonomies = $woocommerce->get_attribute_taxonomies();
105
 
106
  if ( $attribute_taxonomies ) {
107
  foreach ( $attribute_taxonomies as $tax ) {
@@ -113,7 +208,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
113
  $taxonomy = wc_attribute_taxonomy_name( $attribute );
114
  }
115
  else {
116
- $taxonomy = $woocommerce->attribute_taxonomy_name( $attribute );
117
  }
118
 
119
  $name = 'filter_' . $attribute;
@@ -132,17 +227,110 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
132
  }
133
  }
134
 
135
- if ( version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.1', '<' ) ) {
136
  add_filter( 'loop_shop_post_in', 'woocommerce_layered_nav_query' );
137
  }
138
- else {
 
139
  add_filter( 'loop_shop_post_in', array( WC()->query, 'layered_nav_query' ) );
140
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
 
 
 
142
 
 
 
 
 
 
 
 
 
 
143
  }
 
144
  }
145
 
 
146
  /**
147
  * Add a body class(es)
148
  *
27
  */
28
  public $version;
29
 
30
+ /**
31
+ * @var array deprecated array from WC_QUERY
32
+ * @since version 3.0
33
+ */
34
+ public $filtered_product_ids_for_taxonomy = array();
35
+ public $layered_nav_product_ids = array();
36
+ public $unfiltered_product_ids = array();
37
+ public $filtered_product_ids = array();
38
+ public $layered_nav_post__in = array();
39
+
40
  /**
41
  * Constructor
42
  *
45
  */
46
  public function __construct( $version ) {
47
  $this->version = $version;
48
+
49
  //Actions
50
  add_action( 'init', array( $this, 'woocommerce_layered_nav_init' ), 99 );
51
 
52
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
53
 
54
  add_action( 'body_class', array( $this, 'body_class' ) );
55
+ //TODO: Array ex WC_QUERY()
56
+ add_filter( 'the_posts', array( $this, 'the_posts' ), 15, 2 );
57
+
58
+ add_filter( 'woocommerce_layered_nav_link', 'yit_plus_character_hack', 99 );
59
 
60
  // YITH WCAN Loaded
61
  do_action( 'yith_wcan_loaded' );
62
  }
63
 
64
+ public function layered_navigation_array_for_wc_older_26(){
65
+ if( YITH_WCAN()->is_wc_older_2_6 ){
66
+ $this->filtered_product_ids_for_taxonomy = WC()->query->filtered_product_ids_for_taxonomy;
67
+ $this->layered_nav_product_ids = WC()->query->layered_nav_product_ids;
68
+ $this->unfiltered_product_ids = WC()->query->unfiltered_product_ids;
69
+ $this->filtered_product_ids = WC()->query->filtered_product_ids;
70
+ $this->layered_nav_post__in = WC()->query->layered_nav_post__in;
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Hook into the_posts to do the main product query if needed - relevanssi compatibility.
76
+ *
77
+ * @access public
78
+ * @param array $posts
79
+ * @param WP_Query|bool $query (default: false)
80
+ * @return array
81
+ */
82
+ public function the_posts( $posts, $query = false ) {
83
+
84
+ if( YITH_WCAN()->is_wc_older_2_6 ){
85
+ add_action( 'wp', array( $this, 'layered_navigation_array_for_wc_older_26' ) );
86
+ }
87
+
88
+ else{
89
+
90
+ $filtered_posts = array();
91
+ $queried_post_ids = array();
92
+ $query_filtered_posts = $this->layered_nav_query();
93
+
94
+ foreach ( $posts as $post ) {
95
+
96
+ if ( in_array( $post->ID, $query_filtered_posts ) ) {
97
+ $filtered_posts[] = $post;
98
+ $queried_post_ids[] = $post->ID;
99
+ }
100
+ }
101
+
102
+ $query->posts = $filtered_posts;
103
+ $query->post_count = count( $filtered_posts );
104
+
105
+ // Get main query
106
+ $current_wp_query = $query->query;
107
+
108
+ // Get WP Query for current page (without 'paged')
109
+ unset( $current_wp_query['paged'] );
110
+
111
+ // Ensure filters are set
112
+ $unfiltered_args = array_merge(
113
+ $current_wp_query,
114
+ array(
115
+ 'post_type' => 'product',
116
+ 'numberposts' => -1,
117
+ 'post_status' => 'publish',
118
+ 'meta_query' => $query->meta_query,
119
+ 'fields' => 'ids',
120
+ 'no_found_rows' => true,
121
+ 'update_post_meta_cache' => false,
122
+ 'update_post_term_cache' => false,
123
+ 'pagename' => '',
124
+ 'wc_query' => 'get_products_in_view'
125
+ )
126
+ );
127
+ $this->unfiltered_product_ids = get_posts( $unfiltered_args );
128
+ $this->filtered_product_ids = $queried_post_ids;
129
+
130
+ // Also store filtered posts ids...
131
+ if ( sizeof( $queried_post_ids ) > 0 ) {
132
+ $this->filtered_product_ids = array_intersect( $this->unfiltered_product_ids, $queried_post_ids );
133
+ } else {
134
+ $this->filtered_product_ids = $this->unfiltered_product_ids;
135
+ }
136
+
137
+ if ( sizeof( $this->layered_nav_post__in ) > 0 ) {
138
+ $this->layered_nav_product_ids = array_intersect( $this->unfiltered_product_ids, $this->layered_nav_post__in );
139
+ } else {
140
+ $this->layered_nav_product_ids = $this->unfiltered_product_ids;
141
+ }
142
+ }
143
+
144
+ return $posts;
145
+ }
146
+
147
  /**
148
  * Enqueue frontend styles and scripts
149
  *
193
 
194
  if ( is_active_widget( false, false, 'yith-woo-ajax-navigation', true ) && ! is_admin() ) {
195
 
196
+ $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
 
 
197
 
198
  /* FIX TO WOOCOMMERCE 2.1 */
199
+ $attibute_taxonomies = function_exists( 'wc_get_attribute_taxonomies' ) ? $attribute_taxonomies = wc_get_attribute_taxonomies() : $attribute_taxonomies = WC()->get_attribute_taxonomies();
200
 
201
  if ( $attribute_taxonomies ) {
202
  foreach ( $attribute_taxonomies as $tax ) {
208
  $taxonomy = wc_attribute_taxonomy_name( $attribute );
209
  }
210
  else {
211
+ $taxonomy = WC()->attribute_taxonomy_name( $attribute );
212
  }
213
 
214
  $name = 'filter_' . $attribute;
227
  }
228
  }
229
 
230
+ if ( YITH_WCAN()->is_wc_older_2_1 ) {
231
  add_filter( 'loop_shop_post_in', 'woocommerce_layered_nav_query' );
232
  }
233
+
234
+ elseif ( YITH_WCAN()->is_wc_older_2_6 ) {
235
  add_filter( 'loop_shop_post_in', array( WC()->query, 'layered_nav_query' ) );
236
  }
237
+ //Nothing to do for WooCommerce 2.6
238
+ }
239
+ }
240
+ /**
241
+ * Layered Nav post filter.
242
+ *
243
+ * @param array $filtered_posts
244
+ * @return array
245
+ */
246
+ public function layered_nav_query( $filtered_posts = array()) {
247
+ $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
248
+
249
+ if ( sizeof( $_chosen_attributes ) > 0 ) {
250
+
251
+ $matched_products = array(
252
+ 'and' => array(),
253
+ 'or' => array()
254
+ );
255
+ $filtered_attribute = array(
256
+ 'and' => false,
257
+ 'or' => false
258
+ );
259
+
260
+ foreach ( $_chosen_attributes as $attribute => $data ) {
261
+ $matched_products_from_attribute = array();
262
+ $filtered = false;
263
+
264
+ if ( sizeof( $data['terms'] ) > 0 ) {
265
+ foreach ( $data['terms'] as $value ) {
266
+
267
+ $args = array(
268
+ 'post_type' => 'product',
269
+ 'numberposts' => -1,
270
+ 'post_status' => 'publish',
271
+ 'fields' => 'ids',
272
+ 'no_found_rows' => true,
273
+ 'tax_query' => array(
274
+ array(
275
+ 'taxonomy' => $attribute,
276
+ 'terms' => $value,
277
+ 'field' => YITH_WCAN()->filter_term_field
278
+ )
279
+ )
280
+ );
281
+
282
+ //TODO: Increase performance for get_posts()
283
+ $post_ids = apply_filters( 'woocommerce_layered_nav_query_post_ids', get_posts( $args ), $args, $attribute, $value );
284
+
285
+ if ( ! is_wp_error( $post_ids ) ) {
286
+
287
+ if ( sizeof( $matched_products_from_attribute ) > 0 || $filtered ) {
288
+ $matched_products_from_attribute = $data['query_type'] == 'or' ? array_merge( $post_ids, $matched_products_from_attribute ) : array_intersect( $post_ids, $matched_products_from_attribute );
289
+ } else {
290
+ $matched_products_from_attribute = $post_ids;
291
+ }
292
+
293
+ $filtered = true;
294
+ }
295
+ }
296
+ }
297
+
298
+ if ( sizeof( $matched_products[ $data['query_type'] ] ) > 0 || $filtered_attribute[ $data['query_type'] ] === true ) {
299
+ $matched_products[ $data['query_type'] ] = ( $data['query_type'] == 'or' ) ? array_merge( $matched_products_from_attribute, $matched_products[ $data['query_type'] ] ) : array_intersect( $matched_products_from_attribute, $matched_products[ $data['query_type'] ] );
300
+ } else {
301
+ $matched_products[ $data['query_type'] ] = $matched_products_from_attribute;
302
+ }
303
+
304
+ $filtered_attribute[ $data['query_type'] ] = true;
305
+
306
+ $this->filtered_product_ids_for_taxonomy[ $attribute ] = $matched_products_from_attribute;
307
+ }
308
+
309
+ // Combine our AND and OR result sets
310
+ if ( $filtered_attribute['and'] && $filtered_attribute['or'] )
311
+ $results = array_intersect( $matched_products[ 'and' ], $matched_products[ 'or' ] );
312
+ else
313
+ $results = array_merge( $matched_products[ 'and' ], $matched_products[ 'or' ] );
314
+
315
+ if ( $filtered ) {
316
 
317
+ $this->layered_nav_post__in = $results;
318
+ $this->layered_nav_post__in[] = 0;
319
 
320
+ if ( sizeof( $filtered_posts ) == 0 ) {
321
+ $filtered_posts = $results;
322
+ $filtered_posts[] = 0;
323
+ } else {
324
+ $filtered_posts = array_intersect( $filtered_posts, $results );
325
+ $filtered_posts[] = 0;
326
+ }
327
+
328
+ }
329
  }
330
+ return (array) $filtered_posts;
331
  }
332
 
333
+
334
  /**
335
  * Add a body class(es)
336
  *
includes/class.yith-wcan-helper.php CHANGED
@@ -26,9 +26,9 @@ if ( ! class_exists( 'YITH_WCAN_Helper' ) ) {
26
  * @access public
27
  */
28
  public static function attribute_taxonomies() {
29
- global $woocommerce;
30
 
31
- if ( ! isset( $woocommerce ) ) {
32
  return array();
33
  }
34
 
@@ -37,7 +37,7 @@ if ( ! class_exists( 'YITH_WCAN_Helper' ) ) {
37
  $attribute_taxonomies = wc_get_attribute_taxonomies();
38
  }
39
  else {
40
- $attribute_taxonomies = $woocommerce->get_attribute_taxonomies();
41
  }
42
 
43
  if ( empty( $attribute_taxonomies ) ) {
@@ -50,7 +50,7 @@ if ( ! class_exists( 'YITH_WCAN_Helper' ) ) {
50
  $taxonomy = wc_attribute_taxonomy_name( $attribute->attribute_name );
51
  }
52
  else {
53
- $taxonomy = $woocommerce->attribute_taxonomy_name( $attribute->attribute_name );
54
  }
55
 
56
 
26
  * @access public
27
  */
28
  public static function attribute_taxonomies() {
29
+ $_woocommerce = WC();
30
 
31
+ if ( ! isset( $_woocommerce ) ) {
32
  return array();
33
  }
34
 
37
  $attribute_taxonomies = wc_get_attribute_taxonomies();
38
  }
39
  else {
40
+ $attribute_taxonomies = WC()->get_attribute_taxonomies();
41
  }
42
 
43
  if ( empty( $attribute_taxonomies ) ) {
50
  $taxonomy = wc_attribute_taxonomy_name( $attribute->attribute_name );
51
  }
52
  else {
53
+ $taxonomy = WC()->attribute_taxonomy_name( $attribute->attribute_name );
54
  }
55
 
56
 
includes/class.yith-wcan.php CHANGED
@@ -52,6 +52,22 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
52
  */
53
  protected static $_instance = null;
54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  /**
56
  * Constructor
57
  *
@@ -61,6 +77,18 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
61
  public function __construct() {
62
 
63
  $this->version = YITH_WCAN_VERSION;
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  /* Load Plugin Framework */
66
  add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
@@ -170,5 +198,25 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
170
  }
171
  }
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  }
174
  }
52
  */
53
  protected static $_instance = null;
54
 
55
+ /**
56
+ * @var bool Check for old WooCommerce Version
57
+ * @since 3.0
58
+ */
59
+ public $current_wc_version = false;
60
+ public $is_wc_older_2_1 = false;
61
+ public $is_wc_older_2_6 = false;
62
+
63
+ /**
64
+ * @var string filtered term fields
65
+ * Before WooCommerce 2.6 product attribute use term_id for filter.
66
+ * From WooCommerce 2.6 use slug instead.
67
+ * @since 3.0.0
68
+ */
69
+ public $filter_term_field = 'slug';
70
+
71
  /**
72
  * Constructor
73
  *
77
  public function __construct() {
78
 
79
  $this->version = YITH_WCAN_VERSION;
80
+
81
+ /**
82
+ * WooCommerce Version Check
83
+ */
84
+ $this->current_wc_version = WC()->version;
85
+ $this->is_wc_older_2_1 = version_compare( $this->current_wc_version, '2.1', '<' );
86
+ $this->is_wc_older_2_6 = version_compare( $this->current_wc_version, '2.6', '<' );
87
+
88
+ if( $this->is_wc_older_2_6 ){
89
+ $this->filter_term_field = 'term_id';
90
+ }
91
+
92
 
93
  /* Load Plugin Framework */
94
  add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
198
  }
199
  }
200
 
201
+ /**
202
+ * Get choosen attribute args
203
+ *
204
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
205
+ * @since 2.9.3
206
+ * @return array
207
+ */
208
+ public function get_layered_nav_chosen_attributes(){
209
+ $chosen_attributes = array();
210
+ if( $this->is_wc_older_2_6 ){
211
+ global $_chosen_attributes;
212
+ $chosen_attributes = $_chosen_attributes;
213
+ }
214
+
215
+ else {
216
+ $chosen_attributes = WC_Query::get_layered_nav_chosen_attributes();
217
+ }
218
+ return $chosen_attributes;
219
+ }
220
+
221
  }
222
  }
includes/functions.yith-wcan.php CHANGED
@@ -116,13 +116,12 @@ function yith_wcan_attributes_table( $type, $attribute, $id, $name, $values = ar
116
  * @return bool
117
  */
118
  function yith_wcan_can_be_displayed() {
119
- global $woocommerce, $_attributes_array;
120
-
121
  if (
122
- is_active_widget( false, false, 'yith-woo-ajax-navigation', true ) ||
123
  is_active_widget( false, false, 'yith-woo-ajax-navigation-sort-by', true ) ||
124
  is_active_widget( false, false, 'yith-woo-ajax-navigation-stock-on-sale', true ) ||
125
- is_active_widget( false, false, 'yith-woo-ajax-navigation-list-price-filter', true )
 
126
  ) {
127
  return true;
128
  }
@@ -336,14 +335,13 @@ if ( ! function_exists( 'yit_term_has_child' ) ) {
336
  * @since 1.3.1
337
  */
338
  function yit_term_has_child( $term, $taxonomy ) {
339
- global $woocommerce;
340
  $count = 0;
341
  $child_terms = get_terms( $taxonomy, array( 'child_of' => $term->term_id ) );
342
 
343
  if( ! is_wp_error( $child_terms ) ){
344
  foreach ( $child_terms as $child_term ) {
345
  $_products_in_term = get_objects_in_term( $child_term->term_id, $taxonomy );
346
- $count += sizeof( array_intersect( $_products_in_term, $woocommerce->query->filtered_product_ids ) );
347
  }
348
  }
349
 
@@ -653,7 +651,7 @@ if( ! function_exists( 'yit_is_filtered_uri' ) ){
653
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
654
  */
655
  function yit_is_filtered_uri(){
656
- global $_chosen_attributes;
657
  $brands = yit_get_brands_taxonomy();
658
  $show_all_categories_link_enabled = 'yes' == yith_wcan_get_option( 'yith_wcan_enable_see_all_categories_link', 'no' );
659
  //check if current page is filtered
@@ -661,5 +659,18 @@ if( ! function_exists( 'yit_is_filtered_uri' ) ){
661
 
662
  return apply_filters( 'yit_wcan_is_filtered_uri', $is_filtered_uri );
663
  }
 
664
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  }
116
  * @return bool
117
  */
118
  function yith_wcan_can_be_displayed() {
 
 
119
  if (
120
+ ( is_active_widget( false, false, 'yith-woo-ajax-navigation', true ) ||
121
  is_active_widget( false, false, 'yith-woo-ajax-navigation-sort-by', true ) ||
122
  is_active_widget( false, false, 'yith-woo-ajax-navigation-stock-on-sale', true ) ||
123
+ is_active_widget( false, false, 'yith-woo-ajax-navigation-list-price-filter', true ) ) &&
124
+ ( is_shop() || defined( 'SHOP_IS_ON_FRONT' ) || is_product_taxonomy() || is_product_category() )
125
  ) {
126
  return true;
127
  }
335
  * @since 1.3.1
336
  */
337
  function yit_term_has_child( $term, $taxonomy ) {
 
338
  $count = 0;
339
  $child_terms = get_terms( $taxonomy, array( 'child_of' => $term->term_id ) );
340
 
341
  if( ! is_wp_error( $child_terms ) ){
342
  foreach ( $child_terms as $child_term ) {
343
  $_products_in_term = get_objects_in_term( $child_term->term_id, $taxonomy );
344
+ $count += sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->filtered_product_ids ) );
345
  }
346
  }
347
 
651
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
652
  */
653
  function yit_is_filtered_uri(){
654
+ $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
655
  $brands = yit_get_brands_taxonomy();
656
  $show_all_categories_link_enabled = 'yes' == yith_wcan_get_option( 'yith_wcan_enable_see_all_categories_link', 'no' );
657
  //check if current page is filtered
659
 
660
  return apply_filters( 'yit_wcan_is_filtered_uri', $is_filtered_uri );
661
  }
662
+ }
663
 
664
+ if( ! function_exists( 'yit_plus_character_hack' ) ) {
665
+ /**
666
+ * Hack for plus character
667
+ *
668
+ * @return string the filtered link
669
+ *
670
+ * @since 2.8.6
671
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
672
+ */
673
+ function yit_plus_character_hack($link) {
674
+ return $link = str_replace('+', '%2B', $link);
675
+ }
676
  }
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
- * Version: 2.9.2
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
@@ -64,7 +64,7 @@ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plug
64
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
65
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
66
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
67
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.9.2' );
68
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
70
 
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
+ * Version: 3.0.0
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
64
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
65
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
66
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
67
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.0.0' );
68
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
70
 
languages/yith-woocommerce-ajax-navigation-it_IT.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-03-10 17:25+0100\n"
6
- "PO-Revision-Date: 2016-03-10 17:25+0100\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
@@ -11,7 +11,7 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Generator: Poedit 1.8.1\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
@@ -20,33 +20,33 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
 
23
- #: includes/class.yith-wcan-admin.php:139
24
  msgid "Front end"
25
  msgstr "Front end"
26
 
27
- #: includes/class.yith-wcan-admin.php:140 settings/custom-style-options.php:12
28
  msgid "Custom Style"
29
- msgstr "Modifica stile"
30
 
31
- #: includes/class.yith-wcan-admin.php:141
32
- #: includes/class.yith-wcan-admin.php:213
33
  msgid "Premium Version"
34
  msgstr "Versione Premium"
35
 
36
- #: includes/class.yith-wcan-admin.php:147
37
- #: includes/class.yith-wcan-admin.php:148
38
  msgid "Ajax Product Filter"
39
  msgstr "Ajax Product Filter"
40
 
41
- #: includes/class.yith-wcan-admin.php:209
42
  msgid "Premium live demo"
43
  msgstr "Anteprima versione premium"
44
 
45
- #: includes/class.yith-wcan-admin.php:209
46
  msgid "Live demo"
47
  msgstr "Anteprima"
48
 
49
- #: includes/class.yith-wcan-admin.php:237
50
  msgid "Plugin Documentation"
51
  msgstr "Documentazione Plugin"
52
 
@@ -58,7 +58,7 @@ msgstr "Proprietà"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
- #: widgets/class.yith-wcan-navigation-widget.php:864
62
  msgid "Color"
63
  msgstr "Colore"
64
 
@@ -92,12 +92,12 @@ msgid ""
92
  msgstr ""
93
 
94
  #: settings/custom-style-options.php:24
95
- msgid "Put here your custom CSS rules:"
96
- msgstr "Metti qui le tue modifiche delle regole del CSS"
97
 
98
  #: settings/frontend-options.php:12
99
- msgid "General Settings"
100
- msgstr "Impostazioni Generali"
101
 
102
  #: settings/frontend-options.php:25
103
  msgctxt "Admin panel: option description"
@@ -107,80 +107,74 @@ msgstr "Descrizione"
107
  #: settings/frontend-options.php:27
108
  msgctxt "Admin: Panel section description"
109
  msgid ""
110
- "If your theme use the WooCommerce standard templates, you don't need to "
111
  "change the following values.\n"
112
  " Otherwise, add the classes used in the "
113
- "template of your theme.\n"
114
- " If you don't know them, please contact the "
115
- "developer of your theme to receive the correct classes."
116
  msgstr ""
117
- "Se il tuo tema utilizza i template standard diWooCommerce, non devi "
118
  "modificare i seguenti valori.\n"
119
- " In caso contrario, aggiungi le classe "
120
- "utilizzate nel template del tuo tema.\n"
121
- " Se non le conosci, contatta lo sviluppatore "
122
- "del tuo tema per ottenere le classi corrette."
123
 
124
  #: settings/frontend-options.php:33
125
  msgid "Product Container"
126
  msgstr "Contenitore Prodotti"
127
 
128
  #: settings/frontend-options.php:34
129
- msgid "Put here the CSS class or id for the product container"
130
- msgstr "Inserisci qui la classe CSS o l'ID per il contenitore del prodotto"
131
 
132
  #: settings/frontend-options.php:41
133
  msgid "Shop Pagination Container"
134
  msgstr "Contenitore Paginazione"
135
 
136
  #: settings/frontend-options.php:42
137
- msgid "Put here the CSS class or id for the shop pagination container"
138
  msgstr ""
139
- "Inserisci qui la classe CSS o l'ID per il contenitore della paginazione del "
140
- "negozio"
141
 
142
  #: settings/frontend-options.php:49
143
  msgid "Result Count Container"
144
  msgstr "Contenitore Conteggio Prodotti"
145
 
146
  #: settings/frontend-options.php:50
147
- msgid "Put here the CSS class or id for the result count container"
148
- msgstr ""
149
- "Inserisci qui la classe CSS o l'ID per il contenitore del conteggio dei "
150
- "prodotti"
151
 
152
  #: settings/frontend-options.php:57
153
  msgid "Scroll top anchor"
154
- msgstr ""
155
 
156
  #: settings/frontend-options.php:58
157
- msgid "Put here the HTML tag for the scroll top in mobile"
158
- msgstr ""
159
 
160
- #: templates/admin/premium.php:203 templates/admin/premium.php:377
161
  #, php-format
162
  msgid ""
163
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
164
  "Filter%2$s to benefit from all features!"
165
  msgstr ""
166
- "Aggiorna alla %1$sversione premium%2$s di %1$sYITH WooCommerce Ajax Product "
167
- "Filter%2$s per beneficiare di tutte le funzionalità!"
168
 
169
- #: templates/admin/premium.php:206 templates/admin/premium.php:380
170
  msgid "UPGRADE"
171
- msgstr "AGGIORNA"
172
 
173
- #: templates/admin/premium.php:207 templates/admin/premium.php:381
174
  msgid "to the premium version"
175
- msgstr "alla versione premium"
176
 
177
  #: templates/admin/premium.php:213
178
  msgid "Premium Features"
179
- msgstr "Caratteristiche Premium"
180
 
181
  #: templates/admin/premium.php:221
182
  msgid "Two more layouts"
183
- msgstr "Due layout aggiuntivi"
184
 
185
  #: templates/admin/premium.php:224
186
  #, php-format
@@ -194,19 +188,10 @@ msgid ""
194
  "On%2$s plugin, you will be able to offer the freedom to filter your shop "
195
  "products by brands thanks to the ajax technology."
196
  msgstr ""
197
- "Il widget YITH WooCommerce Ajax Product Filter si arricchisce ulteriormente "
198
- "di 2 nuove tipologie di layout per il filtro dei prodotti del tuo shop. "
199
- "%1$sBicolor%2$s, perfetto per quegli attributi (di tipo colore) che fanno "
200
- "riferimento a due colori contemporaneamente (bianco/nero), per un impatto "
201
- "visivo agevole per l’utente finale. Scegli la tipologia %1$sTag%2$s se "
202
- "invece vuoi che i tuoi prodotti possano essere filtrati per tag di prodotto. "
203
- "Se stai usando contemporaneamente anche %1$sYITH WooCommerce Brand Add-On"
204
- "%2$s, potrai offrire la possibilità di filtrare per brand i prodotti del tuo "
205
- "shop grazie alla tecnologia ajax."
206
 
207
  #: templates/admin/premium.php:234
208
  msgid "Price range"
209
- msgstr "Fascia di prezzo"
210
 
211
  #: templates/admin/premium.php:237
212
  #, php-format
@@ -216,16 +201,10 @@ msgid ""
216
  "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
217
  "able to filter products selecting on the ranges you have set."
218
  msgstr ""
219
- "Uno dei filtri maggiormente richiesti dagli utenti all’interno di un e-"
220
- "commerce interessa la possibilità di fare una selezione di prodotti sulla "
221
- "base del prezzo. Grazie a YITH WooCommerce Ajax List Price Filter %1$spotrai "
222
- "definire infiniti range di prezzo%2$s, così da permettere ai tuoi utenti di "
223
- "filtrare i prodotti selezionando uno degli intervalli di prezzo da te "
224
- "definiti."
225
 
226
  #: templates/admin/premium.php:253
227
  msgid "Ajax Stock/On Sale Filters"
228
- msgstr "Filtri Ajax Disponibili/In Saldo"
229
 
230
  #: templates/admin/premium.php:256
231
  #, php-format
@@ -235,14 +214,10 @@ msgid ""
235
  "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
236
  "that is worthy!%2$s"
237
  msgstr ""
238
- "Ancora un widget novità per la versione premium del plugin. Con esso "
239
- "chiunque si trovi a navigare tra le pagine del tuo shop potrà visualizzare "
240
- "solo i prodotti in saldo e/o i prodotti al momento disponibili.%3$s %1$sUna "
241
- "caratteristica aggiuntiva per un e-commerce che vale!%2$s"
242
 
243
  #: templates/admin/premium.php:266
244
  msgid "Product sorting"
245
- msgstr "Ordinamento prodotti"
246
 
247
  #: templates/admin/premium.php:269
248
  #, php-format
@@ -252,27 +227,20 @@ msgid ""
252
  "need to reload the page. Products can be sorted by rate, sales, price or "
253
  "publication date."
254
  msgstr ""
255
- "Con il nuovo widget %1$sYITH WooCommerce Disposizione Ajax%2$s dai ai tuoi "
256
- "utenti la possibilità di ordinare in ajax i prodotti, senza la necessità di "
257
- "dover attendere che la pagina ricarichi. L’ordinamento può essere fatto in "
258
- "base al rating, numero di vendite, prezzo o data di pubblicazione."
259
 
260
  #: templates/admin/premium.php:285
261
  msgid "Customized loader"
262
- msgstr "Loader personalizzato"
263
 
264
  #: templates/admin/premium.php:288
265
  msgid ""
266
  "From the plugin option panel, you can choose to upload a new icon for your "
267
  "loader: in this way, it will better meet your needs."
268
  msgstr ""
269
- "Direttamente dal pannello opzioni del plugin potrai scegliere di effettuare "
270
- "l’upload di una nuova icona per il loader, nel caso quello di default non "
271
- "faccia al caso tuo."
272
 
273
  #: templates/admin/premium.php:298
274
  msgid "WooCommerce Price Filter"
275
- msgstr "WooCommerce Price Filter"
276
 
277
  #: templates/admin/premium.php:301
278
  #, php-format
@@ -285,7 +253,7 @@ msgstr ""
285
 
286
  #: templates/admin/premium.php:317
287
  msgid "SEO"
288
- msgstr ""
289
 
290
  #: templates/admin/premium.php:320
291
  msgid ""
@@ -319,7 +287,7 @@ msgstr ""
319
 
320
  #: templates/admin/premium.php:362
321
  msgid "Filter style"
322
- msgstr ""
323
 
324
  #: templates/admin/premium.php:365
325
  msgid ""
@@ -328,80 +296,120 @@ msgid ""
328
  "Users will experience a new look of your pages while filtering products."
329
  msgstr ""
330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  #: widgets/class.yith-wcan-navigation-widget.php:36
332
- msgid "Filter the product list without reloading the page"
333
- msgstr "Filtra l'elenco prodotti senza ricaricare la pagina"
334
 
335
  #: widgets/class.yith-wcan-navigation-widget.php:39
336
  msgctxt "Admin: Widget Title"
337
  msgid "YITH WooCommerce Ajax Product Filter"
338
  msgstr "YITH WooCommerce Filtro Prodotti Ajax"
339
 
340
- #: widgets/class.yith-wcan-navigation-widget.php:300
341
  msgid "Filters:"
342
  msgstr "Filtri:"
343
 
344
  # @ yit
345
- #: widgets/class.yith-wcan-navigation-widget.php:863
346
  msgid "List"
347
  msgstr "Lista"
348
 
349
  # @ yit
350
- #: widgets/class.yith-wcan-navigation-widget.php:865
351
  msgid "Label"
352
  msgstr "Etichetta"
353
 
354
- #: widgets/class.yith-wcan-navigation-widget.php:866
355
  msgid "Dropdown"
356
  msgstr "Menu a tendina"
357
 
358
  # @ yit
359
- #: widgets/class.yith-wcan-navigation-widget.php:873
360
- #: widgets/class.yith-wcan-reset-navigation-widget.php:100
361
  msgid "Title"
362
  msgstr "Titolo"
363
 
364
  # @ yit
365
- #: widgets/class.yith-wcan-navigation-widget.php:879
366
  msgid "Type:"
367
  msgstr "Tipo:"
368
 
369
  # @ yit
370
- #: widgets/class.yith-wcan-navigation-widget.php:890
371
  msgid "Query Type:"
372
  msgstr "Tipo Query:"
373
 
374
  # @ yit
375
- #: widgets/class.yith-wcan-navigation-widget.php:892
376
  msgid "AND"
377
  msgstr "E"
378
 
379
  # @ yit
380
- #: widgets/class.yith-wcan-navigation-widget.php:893
381
  msgid "OR"
382
  msgstr "O"
383
 
384
  # @ yit
385
- #: widgets/class.yith-wcan-navigation-widget.php:899
386
  msgid "Attribute:"
387
  msgstr "Attributo:"
388
 
389
- #: widgets/class.yith-wcan-navigation-widget.php:906
390
  msgid "Display (default All):"
391
  msgstr "Visualizza (default Tutti)"
392
 
393
- #: widgets/class.yith-wcan-navigation-widget.php:908
394
  msgid "All (no hierarchical)"
395
  msgstr "Tutti (non gerarchico)"
396
 
397
- #: widgets/class.yith-wcan-navigation-widget.php:909
398
  msgid "All (hierarchical)"
399
  msgstr "Tutti (gerarchico)"
400
 
401
- #: widgets/class.yith-wcan-navigation-widget.php:910
402
  msgid "Only Parent"
403
  msgstr "Solo Principali"
404
 
 
 
 
 
405
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
406
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
407
  msgstr ""
@@ -411,90 +419,139 @@ msgstr ""
411
  msgid "YITH WooCommerce Ajax Reset Filter"
412
  msgstr "YITH WooCommerce Filtro Ajax Reset"
413
 
414
- #: widgets/class.yith-wcan-reset-navigation-widget.php:93
415
  msgid "Reset All Filters"
416
  msgstr "Resetta tutti i filtri"
417
 
418
- #: widgets/class.yith-wcan-reset-navigation-widget.php:106
419
  msgid "Button Label"
420
  msgstr "Etichetta Pulsante"
421
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
422
  #~ msgid ""
423
- #~ "With the premium version of the plugin, you will also be able to "
424
- #~ "customize WooCommerce Price Filter widget, changing the settings you can "
425
- #~ "find in the plugin option panel."
426
  #~ msgstr ""
427
- #~ "Con la versione premium del plugin avrai anche la possibilità di "
428
- #~ "personalizzare il widget WooCommerce Price Filter, modificando le "
429
- #~ "apposite impostazioni che sono state inserite nel pannello opzioni del "
430
- #~ "plugin."
431
 
432
- #~ msgid ""
433
- #~ "Dear users,\n"
434
- #~ " we would like to inform you that the YITH "
435
- #~ "WooCommerce Ajax Navigation plugin will change its name in YITH "
436
- #~ "WooCommerce Ajax Product Filter from the next update. Also, the plugin "
437
- #~ "textdomain will change too from \"yit\" to \"yith_wc_ajxnav\".\n"
438
- #~ " This modification solves the issues about "
439
- #~ "textdomain conflicts generated by some translation/multilanguage plugins "
440
- #~ "you have identified in the past weeks.\n"
441
- #~ " If updating the plugin some language files "
442
- #~ "are no more recognized by WordPress, you will just have to rename the "
443
- #~ "language files in the correct format. After renaming the files, you can "
444
- #~ "update/translate the .po file following the classic procedure for "
445
- #~ "translations."
446
  #~ msgstr ""
447
- #~ "Cari utenti,\n"
448
- #~ " comunichiamo che il plugin YITH WooCommerce "
449
- #~ "Ajax Navigation cambierà il proprio nome in YITH WooCommerce Ajax Product "
450
- #~ "Filter dal prossimo aggiornamento. Per di più, anche il textdomain del "
451
- #~ "plugin cambierà da \"yit\" a \"yith_wc_ajxnav\".\n"
452
- #~ " Questa modifica risolve i problemi "
453
- #~ "riguardanti i conflitti di textdomain generati da alcuni plugin di "
454
- #~ "traduzione/multilingua che avete identificato nelle settimane "
455
- #~ "precedenti.\n"
456
- #~ " Se alcuni file di lingua non fossero più "
457
- #~ "riconosciuti da WordPress una volta effettuato l'aggiornamento, basterà "
458
- #~ "rinominare i file di lingua nel formato corretto. Dopo averli rinominati, "
459
- #~ "è possibile aggiornare/tradurre il file .po seguendo la procedura "
460
- #~ "classica di traduzione."
461
 
462
- #~ msgctxt "Admin(Pointers): Plugin Title"
463
- #~ msgid "YITH WooCommerce Ajax Product Filter"
464
- #~ msgstr "YITH WooCommerce Ajax Product Filter"
465
 
466
- #~ msgid ""
467
- #~ "YITH WooCommerce Product Filter has been updated with new available "
468
- #~ "options"
469
  #~ msgstr ""
470
- #~ "YITH WooCommerce Product Filter è stato aggiornato con delle nuove opzioni"
471
 
472
- #~ msgid "discover the PREMIUM version"
473
- #~ msgstr "scopri la versione PREMIUM"
474
 
475
- #~ msgid "Settings"
476
- #~ msgstr "Impostazioni"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
477
 
478
  #~ msgid "Ajax Loader"
479
  #~ msgstr "Loader Ajax"
480
 
481
- #~ msgid "Customize the ajax loader"
482
- #~ msgstr "Personalizza il loader ajax"
483
 
484
  #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
485
  #~ msgid "Ajax WooCommerce Price Filter"
486
  #~ msgstr "Price Filter di WooCommerce in ajax"
487
 
488
- #~ msgid "Use WooCommerce price filter in ajax"
489
- #~ msgstr "Utilizza il Price Filter di WooCommerce in ajax"
490
 
491
  #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
492
- #~ msgid "WooCommerce Price Filter Slider"
493
- #~ msgstr "Price Filter di WooCommerce con slider"
494
 
495
  #~ msgid "Use WooCommerce price filter with slider"
496
  #~ msgstr "Utilizza il Price Filter di WooCommerce con slider"
497
 
 
 
 
 
 
 
 
 
 
498
  #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
499
  #~ msgid "Dropdown for WooCommerce Price Filter"
500
  #~ msgstr "Menu a tendina per Price Filter di WooCommerce"
@@ -508,8 +565,12 @@ msgstr "Etichetta Pulsante"
508
  #~ msgid "Open/Close for WooCommerce Price Filter"
509
  #~ msgstr "Apri/Chiudi il menu di Price Filter di WooCommerce"
510
 
511
- #~ msgid "Select if you want to show the dropdown opened or closed"
512
- #~ msgstr "Scegli se mostrare il menu a tendina aperto o chiuso"
 
 
 
 
513
 
514
  #~ msgid "Opened"
515
  #~ msgstr "Aperto"
@@ -517,6 +578,28 @@ msgstr "Etichetta Pulsante"
517
  #~ msgid "Closed"
518
  #~ msgstr "Chiuso"
519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  #~ msgctxt "Price filter option: price starts from"
521
  #~ msgid "From"
522
  #~ msgstr "Da"
@@ -543,7 +626,7 @@ msgstr "Etichetta Pulsante"
543
  #~ msgid "Show widget dropdown"
544
  #~ msgstr "Mostra il menu a tendina del widget"
545
 
546
- #~ msgctxt "Select if you want to show the widget open or closed"
547
  #~ msgid "Dropdown style:"
548
  #~ msgstr "Stile menu a tendina:"
549
 
@@ -553,6 +636,21 @@ msgstr "Etichetta Pulsante"
553
  #~ msgid "Add new range"
554
  #~ msgstr "Aggiungi nuovo intervallo"
555
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
  #~ msgid "No tags found."
557
  #~ msgstr "Nessun tag trovato."
558
 
@@ -574,10 +672,9 @@ msgstr "Etichetta Pulsante"
574
 
575
  #~ msgctxt "Admin: user note"
576
  #~ msgid ""
577
- #~ "Note: tags with no assigned products will not be showed in the front end"
578
  #~ msgstr ""
579
- #~ "N.B.: i tag che non sono assegnati ad alcun prodotto non saranno mostrati "
580
- #~ "nel front end "
581
 
582
  #~ msgid "Tag name"
583
  #~ msgstr "Nome tag"
@@ -598,6 +695,12 @@ msgstr "Etichetta Pulsante"
598
  #~ msgid "Hide product count"
599
  #~ msgstr "Nascondi numero prodotti"
600
 
 
 
 
 
 
 
601
  #~ msgid "BiColor"
602
  #~ msgstr "BiColor"
603
 
@@ -613,23 +716,23 @@ msgstr "Etichetta Pulsante"
613
  #~ msgid "Background color"
614
  #~ msgstr "Colore di sfondo"
615
 
616
- #~ msgid "Background color in hover"
617
- #~ msgstr "Colore di sfondo al passaggio del mouse"
618
 
619
  #~ msgid "Text color"
620
  #~ msgstr "Colore del testo"
621
 
622
- #~ msgid "Text color in hover"
623
- #~ msgstr "Colore del testo al passaggio del mouse"
624
 
625
  #~ msgid "Border color"
626
  #~ msgstr "Colore dei bordi"
627
 
628
- #~ msgid "Border color in hover"
629
- #~ msgstr "Colore dei bordi al passaggio del mouse"
630
 
631
- #~ msgid "Display the sorting of the WooCommerce products"
632
- #~ msgstr "Mostra l'ordinamento dei prodotti WooCommerce"
633
 
634
  #~ msgid "YITH WooCommerce Ajax Sort By"
635
  #~ msgstr "YITH WooCommerce Disposizione Ajax"
@@ -660,6 +763,131 @@ msgstr "Etichetta Pulsante"
660
  #~ msgid "Show \"In Stock\" filter"
661
  #~ msgstr "Mostra filtro \"Disponibili\""
662
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
663
  #~ msgctxt "Admin: user tooltip"
664
  #~ msgid ""
665
  #~ "Activating the filter type \"Tag \" you can choose which tags show in"
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-06-13 16:11+0200\n"
6
+ "PO-Revision-Date: 2016-06-13 16:11+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.8.4\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
 
23
+ #: includes/class.yith-wcan-admin.php:126
24
  msgid "Front end"
25
  msgstr "Front end"
26
 
27
+ #: includes/class.yith-wcan-admin.php:127 settings/custom-style-options.php:12
28
  msgid "Custom Style"
29
+ msgstr "Stile personalizzato"
30
 
31
+ #: includes/class.yith-wcan-admin.php:128
32
+ #: includes/class.yith-wcan-admin.php:195
33
  msgid "Premium Version"
34
  msgstr "Versione Premium"
35
 
36
+ #: includes/class.yith-wcan-admin.php:134
37
+ #: includes/class.yith-wcan-admin.php:135
38
  msgid "Ajax Product Filter"
39
  msgstr "Ajax Product Filter"
40
 
41
+ #: includes/class.yith-wcan-admin.php:191
42
  msgid "Premium live demo"
43
  msgstr "Anteprima versione premium"
44
 
45
+ #: includes/class.yith-wcan-admin.php:191
46
  msgid "Live demo"
47
  msgstr "Anteprima"
48
 
49
+ #: includes/class.yith-wcan-admin.php:219
50
  msgid "Plugin Documentation"
51
  msgstr "Documentazione Plugin"
52
 
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
+ #: widgets/class.yith-wcan-navigation-widget.php:706
62
  msgid "Color"
63
  msgstr "Colore"
64
 
92
  msgstr ""
93
 
94
  #: settings/custom-style-options.php:24
95
+ msgid "Enter here your custom CSS rules:"
96
+ msgstr "Inserisci qui le tue regole CSS:"
97
 
98
  #: settings/frontend-options.php:12
99
+ msgid "Frontend Settings"
100
+ msgstr "Impostazioni frontend"
101
 
102
  #: settings/frontend-options.php:25
103
  msgctxt "Admin panel: option description"
107
  #: settings/frontend-options.php:27
108
  msgctxt "Admin: Panel section description"
109
  msgid ""
110
+ "If your theme is using WooCommerce standard templates, you don't need to "
111
  "change the following values.\n"
112
  " Otherwise, add the classes used in the "
113
+ "templates of your theme.\n"
114
+ " If you don't know how to do, please contact "
115
+ "the developer of your theme to be correctly instructed."
116
  msgstr ""
117
+ "Se il tuo tema utilizza i template standard di WooCommerce, non servirà "
118
  "modificare i seguenti valori.\n"
119
+ "In caso contrario, aggiungi le classi utilizzate nei template del tuo tema.\n"
120
+ "Se non sai come fare, contatta lo sviluppatore del tuo tema per ricevere "
121
+ "informazione adeguate."
 
122
 
123
  #: settings/frontend-options.php:33
124
  msgid "Product Container"
125
  msgstr "Contenitore Prodotti"
126
 
127
  #: settings/frontend-options.php:34
128
+ msgid "Enter here the CSS class or id for the product container"
129
+ msgstr "Inserisci qui la classe CSS or l'ID del contenitore prodotto"
130
 
131
  #: settings/frontend-options.php:41
132
  msgid "Shop Pagination Container"
133
  msgstr "Contenitore Paginazione"
134
 
135
  #: settings/frontend-options.php:42
136
+ msgid "Enter here the CSS class or id for the shop pagination container"
137
  msgstr ""
138
+ "Inserisci qui la classe CSS o l'ID del contenitore della paginazione shop"
 
139
 
140
  #: settings/frontend-options.php:49
141
  msgid "Result Count Container"
142
  msgstr "Contenitore Conteggio Prodotti"
143
 
144
  #: settings/frontend-options.php:50
145
+ msgid "Enter here the CSS class or id for the results count container"
146
+ msgstr "Inserisci qui la classe CSS o l'ID dei risultati del conteggio"
 
 
147
 
148
  #: settings/frontend-options.php:57
149
  msgid "Scroll top anchor"
150
+ msgstr "Ancora torna su"
151
 
152
  #: settings/frontend-options.php:58
153
+ msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
154
+ msgstr "Inserisci qui il tag HTML per la funzionalità \"Torna su\" su mobile"
155
 
156
+ #: templates/admin/premium.php:203 templates/admin/premium.php:425
157
  #, php-format
158
  msgid ""
159
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
160
  "Filter%2$s to benefit from all features!"
161
  msgstr ""
 
 
162
 
163
+ #: templates/admin/premium.php:206 templates/admin/premium.php:428
164
  msgid "UPGRADE"
165
+ msgstr ""
166
 
167
+ #: templates/admin/premium.php:207 templates/admin/premium.php:429
168
  msgid "to the premium version"
169
+ msgstr ""
170
 
171
  #: templates/admin/premium.php:213
172
  msgid "Premium Features"
173
+ msgstr ""
174
 
175
  #: templates/admin/premium.php:221
176
  msgid "Two more layouts"
177
+ msgstr ""
178
 
179
  #: templates/admin/premium.php:224
180
  #, php-format
188
  "On%2$s plugin, you will be able to offer the freedom to filter your shop "
189
  "products by brands thanks to the ajax technology."
190
  msgstr ""
 
 
 
 
 
 
 
 
 
191
 
192
  #: templates/admin/premium.php:234
193
  msgid "Price range"
194
+ msgstr ""
195
 
196
  #: templates/admin/premium.php:237
197
  #, php-format
201
  "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
202
  "able to filter products selecting on the ranges you have set."
203
  msgstr ""
 
 
 
 
 
 
204
 
205
  #: templates/admin/premium.php:253
206
  msgid "Ajax Stock/On Sale Filters"
207
+ msgstr ""
208
 
209
  #: templates/admin/premium.php:256
210
  #, php-format
214
  "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
215
  "that is worthy!%2$s"
216
  msgstr ""
 
 
 
 
217
 
218
  #: templates/admin/premium.php:266
219
  msgid "Product sorting"
220
+ msgstr ""
221
 
222
  #: templates/admin/premium.php:269
223
  #, php-format
227
  "need to reload the page. Products can be sorted by rate, sales, price or "
228
  "publication date."
229
  msgstr ""
 
 
 
 
230
 
231
  #: templates/admin/premium.php:285
232
  msgid "Customized loader"
233
+ msgstr ""
234
 
235
  #: templates/admin/premium.php:288
236
  msgid ""
237
  "From the plugin option panel, you can choose to upload a new icon for your "
238
  "loader: in this way, it will better meet your needs."
239
  msgstr ""
 
 
 
240
 
241
  #: templates/admin/premium.php:298
242
  msgid "WooCommerce Price Filter"
243
+ msgstr ""
244
 
245
  #: templates/admin/premium.php:301
246
  #, php-format
253
 
254
  #: templates/admin/premium.php:317
255
  msgid "SEO"
256
+ msgstr "SEO"
257
 
258
  #: templates/admin/premium.php:320
259
  msgid ""
287
 
288
  #: templates/admin/premium.php:362
289
  msgid "Filter style"
290
+ msgstr "Stile filtro"
291
 
292
  #: templates/admin/premium.php:365
293
  msgid ""
296
  "Users will experience a new look of your pages while filtering products."
297
  msgstr ""
298
 
299
+ #: templates/admin/premium.php:381
300
+ msgid "Page url"
301
+ msgstr ""
302
+
303
+ #: templates/admin/premium.php:384
304
+ msgid ""
305
+ "Each applied filter generates a new url for the page. You can decide to keep "
306
+ "the same url or let it get automatically updated every time user applies a "
307
+ "filter to the products list of your shop."
308
+ msgstr ""
309
+
310
+ #: templates/admin/premium.php:394
311
+ msgid "Filter by tag"
312
+ msgstr ""
313
+
314
+ #: templates/admin/premium.php:397
315
+ msgid ""
316
+ "If you use tags as a powerful tool to classify your products, you can "
317
+ "configure an ad-hoc filter to be used on your products also by tag. In "
318
+ "addition, you could organize your tags in a hierarchy and have appropriate "
319
+ "tools for a better management of your products."
320
+ msgstr ""
321
+
322
+ #: templates/admin/premium.php:413
323
+ msgid "Reset"
324
+ msgstr ""
325
+
326
+ #: templates/admin/premium.php:416
327
+ msgid ""
328
+ "User experience on the site requires handiness and insight. This is why it "
329
+ "is unreasonable to deselect filters one by one to go back to the main view "
330
+ "when multiple filters have been applied to the product list. The plugin also "
331
+ "manages this action by a specific button which reset filters and by other "
332
+ "two which refresh the main view of categories and/or tags."
333
+ msgstr ""
334
+
335
  #: widgets/class.yith-wcan-navigation-widget.php:36
336
+ msgid "Filter the list of products without reloading the page"
337
+ msgstr "Filtra la lista dei prodotti senza dover ricaricare la pagina"
338
 
339
  #: widgets/class.yith-wcan-navigation-widget.php:39
340
  msgctxt "Admin: Widget Title"
341
  msgid "YITH WooCommerce Ajax Product Filter"
342
  msgstr "YITH WooCommerce Filtro Prodotti Ajax"
343
 
344
+ #: widgets/class.yith-wcan-navigation-widget.php:139
345
  msgid "Filters:"
346
  msgstr "Filtri:"
347
 
348
  # @ yit
349
+ #: widgets/class.yith-wcan-navigation-widget.php:705
350
  msgid "List"
351
  msgstr "Lista"
352
 
353
  # @ yit
354
+ #: widgets/class.yith-wcan-navigation-widget.php:707
355
  msgid "Label"
356
  msgstr "Etichetta"
357
 
358
+ #: widgets/class.yith-wcan-navigation-widget.php:708
359
  msgid "Dropdown"
360
  msgstr "Menu a tendina"
361
 
362
  # @ yit
363
+ #: widgets/class.yith-wcan-navigation-widget.php:715
364
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:99
365
  msgid "Title"
366
  msgstr "Titolo"
367
 
368
  # @ yit
369
+ #: widgets/class.yith-wcan-navigation-widget.php:721
370
  msgid "Type:"
371
  msgstr "Tipo:"
372
 
373
  # @ yit
374
+ #: widgets/class.yith-wcan-navigation-widget.php:732
375
  msgid "Query Type:"
376
  msgstr "Tipo Query:"
377
 
378
  # @ yit
379
+ #: widgets/class.yith-wcan-navigation-widget.php:734
380
  msgid "AND"
381
  msgstr "E"
382
 
383
  # @ yit
384
+ #: widgets/class.yith-wcan-navigation-widget.php:735
385
  msgid "OR"
386
  msgstr "O"
387
 
388
  # @ yit
389
+ #: widgets/class.yith-wcan-navigation-widget.php:741
390
  msgid "Attribute:"
391
  msgstr "Attributo:"
392
 
393
+ #: widgets/class.yith-wcan-navigation-widget.php:748
394
  msgid "Display (default All):"
395
  msgstr "Visualizza (default Tutti)"
396
 
397
+ #: widgets/class.yith-wcan-navigation-widget.php:750
398
  msgid "All (no hierarchical)"
399
  msgstr "Tutti (non gerarchico)"
400
 
401
+ #: widgets/class.yith-wcan-navigation-widget.php:751
402
  msgid "All (hierarchical)"
403
  msgstr "Tutti (gerarchico)"
404
 
405
+ #: widgets/class.yith-wcan-navigation-widget.php:752
406
  msgid "Only Parent"
407
  msgstr "Solo Principali"
408
 
409
+ #: widgets/class.yith-wcan-navigation-widget.php:759
410
+ msgid "CSS custom class"
411
+ msgstr "Classe CSS custom"
412
+
413
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
414
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
415
  msgstr ""
419
  msgid "YITH WooCommerce Ajax Reset Filter"
420
  msgstr "YITH WooCommerce Filtro Ajax Reset"
421
 
422
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:92
423
  msgid "Reset All Filters"
424
  msgstr "Resetta tutti i filtri"
425
 
426
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:105
427
  msgid "Button Label"
428
  msgstr "Etichetta Pulsante"
429
 
430
+ #~ msgid "Settings"
431
+ #~ msgstr "Impostazioni"
432
+
433
+ #~ msgid "Widget Title Tag"
434
+ #~ msgstr "Tag titolo del widget"
435
+
436
+ #~ msgid "Enter here the HTML tag for the widget title"
437
+ #~ msgstr "Inserisci qui il tag HTML per il titolo del widget"
438
+
439
+ #~ msgid "Order by"
440
+ #~ msgstr "Ordina per"
441
+
442
+ #~ msgid "Sort by number of products contained or alphabetically"
443
+ #~ msgstr "Ordina per numero di prodotti contenuti or in ordine alfabetico"
444
+
445
+ #~ msgid "Number of products"
446
+ #~ msgstr "Numero di prodotti"
447
+
448
+ #~ msgid "Alphabetically"
449
+ #~ msgstr "In ordine alfabetico"
450
+
451
+ #~ msgid "Select the filter style"
452
+ #~ msgstr "Seleziona lo stile del filtro"
453
+
454
+ #~ msgid "\"x\" icon before activated filter"
455
+ #~ msgstr "\"x\" davanti al filtro attivato"
456
+
457
+ #~ msgid "Checkboxes"
458
+ #~ msgstr "Checkbox"
459
+
460
+ #~ msgid "Enable ajax shop pagination"
461
+ #~ msgstr "Abilita paginazione shop AJAX"
462
+
463
+ #~ msgid "Enable AJAX WooCommerce pagination"
464
+ #~ msgstr "Abilita paginazione WooCommerce AJAX"
465
+
466
+ #~ msgid "Shop Pagination Container Anchor"
467
+ #~ msgstr "Ancora contenitore paginazione shop"
468
+
469
+ #~ msgid "Enter here the HTML tag for the shop pagination anchor"
470
+ #~ msgstr "Inserisci qui il tag HTML per l'ancora della paginazione shop"
471
+
472
+ #~ msgid "Show current categories"
473
+ #~ msgstr "Mostra categorie attive"
474
+
475
  #~ msgid ""
476
+ #~ "This option allows whether to show or hide the current category when you "
477
+ #~ "are on it. For example, if I am on “Jeans” category page, the \"Jeans\" "
478
+ #~ "filter is automatically hidden."
479
  #~ msgstr ""
480
+ #~ "Questa opzione permette di mostrare o nascondere la categoria in cui ci "
481
+ #~ "si trova. Per esempio, se sei nella pagina della categoria \"Jeans\", il "
482
+ #~ "filtro \"Jeans\" sarà automaticamente nascosto."
 
483
 
484
+ #~ msgid "Show \"All Categories\" link"
485
+ #~ msgstr "Mostra link a \"Tutte le categorie\""
486
+
487
+ #~ msgid "Add a link \"See all categories\" after a filter is applied"
 
 
 
 
 
 
 
 
 
 
488
  #~ msgstr ""
489
+ #~ "Aggiungi un link \"Visualizza tutte le categorie\" dopo aver applicato un "
490
+ #~ "filtro"
 
 
 
 
 
 
 
 
 
 
 
 
491
 
492
+ #~ msgid "\"All Categories\" link text"
493
+ #~ msgstr "Testo link \"Tutte le categorie\""
 
494
 
495
+ #~ msgid "Enter here the text for the link \"See all categories\""
 
 
496
  #~ msgstr ""
497
+ #~ "Inserisci qui il testo per il link \"Visualizza tutte le categorie\""
498
 
499
+ #~ msgid "See all categories"
500
+ #~ msgstr "Visualizza tutte le categorie"
501
 
502
+ #~ msgid "Show \"All Tags\" link"
503
+ #~ msgstr "Mostra link \"Tutti i tag\""
504
+
505
+ #~ msgid "Add a link \"See all tags\" after a filter is applied"
506
+ #~ msgstr "Aggiungi un link \"Tutti i tag\" dopo aver applicato un filtro"
507
+
508
+ #~ msgid "\"All Tags\" link text"
509
+ #~ msgstr "Testo link \"Tutti i tag\""
510
+
511
+ #~ msgid "Text for \"See all tags\" link"
512
+ #~ msgstr "Testo per il link \"Tutti i tag\""
513
+
514
+ #~ msgid "See all tags"
515
+ #~ msgstr "Tutti i tag"
516
+
517
+ #~ msgid "Enable Hierarchical Management for Product Tags"
518
+ #~ msgstr "Abilita la gestione gerarchica dei tag prodotto"
519
+
520
+ #~ msgid "Hack the standard WooCommerce non-hierarchical product tags"
521
+ #~ msgstr "Rendi i tag standard di WooCommerce gerarchici"
522
+
523
+ #~ msgid "General Settings"
524
+ #~ msgstr "Impostazioni Generali"
525
 
526
  #~ msgid "Ajax Loader"
527
  #~ msgstr "Loader Ajax"
528
 
529
+ #~ msgid "Customize the AJAX loader icon"
530
+ #~ msgstr "Personalizza l'icona di caricamento AJAX"
531
 
532
  #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
533
  #~ msgid "Ajax WooCommerce Price Filter"
534
  #~ msgstr "Price Filter di WooCommerce in ajax"
535
 
536
+ #~ msgid "Use AJAX WooCommerce price filter"
537
+ #~ msgstr "Utilizza il filtro prezzo di WooCommerce in AJAX"
538
 
539
  #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
540
+ #~ msgid "WooCommerce Price Filter slider"
541
+ #~ msgstr "Slider filtro prezzi WooCommerce"
542
 
543
  #~ msgid "Use WooCommerce price filter with slider"
544
  #~ msgstr "Utilizza il Price Filter di WooCommerce con slider"
545
 
546
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
547
+ #~ msgid "Instant WooCommerce Price Filter slider"
548
+ #~ msgstr "Slider filtro prezzi WooCommerce istantaneo"
549
+
550
+ #~ msgid ""
551
+ #~ "Use WooCommerce price filter with ajax slider without \"Filter\" button"
552
+ #~ msgstr ""
553
+ #~ "Usa il filtro prezzi di WooCommerce in Ajax senza il pulsante \"Filtra\""
554
+
555
  #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
556
  #~ msgid "Dropdown for WooCommerce Price Filter"
557
  #~ msgstr "Menu a tendina per Price Filter di WooCommerce"
565
  #~ msgid "Open/Close for WooCommerce Price Filter"
566
  #~ msgstr "Apri/Chiudi il menu di Price Filter di WooCommerce"
567
 
568
+ #~ msgid ""
569
+ #~ "Select this option if you want to show the dropdown as opened or closed "
570
+ #~ "when the page is loaded"
571
+ #~ msgstr ""
572
+ #~ "Seleziona questa opzione se vuoi mostrare il menu a tendina come aperto o "
573
+ #~ "chiuso al caricamento della pagina"
574
 
575
  #~ msgid "Opened"
576
  #~ msgstr "Aperto"
578
  #~ msgid "Closed"
579
  #~ msgstr "Chiuso"
580
 
581
+ #~ msgid "Enable SEO option"
582
+ #~ msgstr "Abilita SEO"
583
+
584
+ #~ msgid ""
585
+ #~ "Add \"robots\" meta tag in head tag of HTML page if filters have been "
586
+ #~ "activated."
587
+ #~ msgstr ""
588
+ #~ "Aggiungi il meta tag \"robot\" nel tag head della pagina HTML se sono "
589
+ #~ "stati attivati i filtri."
590
+
591
+ #~ msgid "Meta tag options"
592
+ #~ msgstr "Opzione meta tag"
593
+
594
+ #~ msgid "Change browser URL"
595
+ #~ msgstr "Cambia l'URL del browser"
596
+
597
+ #~ msgid ""
598
+ #~ "Enable this option if you want to update the URL after applying a filter."
599
+ #~ msgstr ""
600
+ #~ "Abilita questa opzione se vuoi aggiornare l'URL dopo aver applicato un "
601
+ #~ "filtro."
602
+
603
  #~ msgctxt "Price filter option: price starts from"
604
  #~ msgid "From"
605
  #~ msgstr "Da"
626
  #~ msgid "Show widget dropdown"
627
  #~ msgstr "Mostra il menu a tendina del widget"
628
 
629
+ #~ msgctxt "Select this if you want to show the widget as open or closed"
630
  #~ msgid "Dropdown style:"
631
  #~ msgstr "Stile menu a tendina:"
632
 
636
  #~ msgid "Add new range"
637
  #~ msgstr "Aggiungi nuovo intervallo"
638
 
639
+ #~ msgid "\"See all categories/tags\" link text"
640
+ #~ msgstr "Testo del link \"Mostra tutte le categorie/tag\""
641
+
642
+ #~ msgid "Leave it empty to use the default text available"
643
+ #~ msgstr "Lascia il campo vuoto per utilizzare il testo predefinito"
644
+
645
+ #~ msgid "here"
646
+ #~ msgstr "qui"
647
+
648
+ #~ msgid "current categories text"
649
+ #~ msgstr "testo categorie attive"
650
+
651
+ #~ msgid "current tags text"
652
+ #~ msgstr "testo tag attivi"
653
+
654
  #~ msgid "No tags found."
655
  #~ msgstr "Nessun tag trovato."
656
 
672
 
673
  #~ msgctxt "Admin: user note"
674
  #~ msgid ""
675
+ #~ "Note: tags with no products assigned will not be showed in the front end"
676
  #~ msgstr ""
677
+ #~ "Nota bene: i tag che non contengono prodotti non appariranno nel frontend"
 
678
 
679
  #~ msgid "Tag name"
680
  #~ msgstr "Nome tag"
695
  #~ msgid "Hide product count"
696
  #~ msgstr "Nascondi numero prodotti"
697
 
698
+ #~ msgid "See all"
699
+ #~ msgstr "Vedi tutti"
700
+
701
+ #~ msgid "Categories"
702
+ #~ msgstr "Categorie"
703
+
704
  #~ msgid "BiColor"
705
  #~ msgstr "BiColor"
706
 
716
  #~ msgid "Background color"
717
  #~ msgstr "Colore di sfondo"
718
 
719
+ #~ msgid "Background color on hover"
720
+ #~ msgstr "Colore sfondo al passaggio del mouse"
721
 
722
  #~ msgid "Text color"
723
  #~ msgstr "Colore del testo"
724
 
725
+ #~ msgid "Text color on hover"
726
+ #~ msgstr "Colore testo al passaggio del mouse"
727
 
728
  #~ msgid "Border color"
729
  #~ msgstr "Colore dei bordi"
730
 
731
+ #~ msgid "Border color on hover"
732
+ #~ msgstr "Colore bordo al passaggio del mouse"
733
 
734
+ #~ msgid "Choose how to sort WooCommerce products"
735
+ #~ msgstr "Scegli l'ordinamento dei prodotti WooCommerce"
736
 
737
  #~ msgid "YITH WooCommerce Ajax Sort By"
738
  #~ msgstr "YITH WooCommerce Disposizione Ajax"
763
  #~ msgid "Show \"In Stock\" filter"
764
  #~ msgstr "Mostra filtro \"Disponibili\""
765
 
766
+ #~ msgid "Put here the HTML tag for the widget title"
767
+ #~ msgstr "Inserisci qui il tag HTML per il titolo del widget"
768
+
769
+ #~ msgid "Put here your custom CSS rules:"
770
+ #~ msgstr "Inserisci qui le tue regole CSS personalizzate:"
771
+
772
+ #~ msgctxt "Admin: Panel section description"
773
+ #~ msgid ""
774
+ #~ "If your theme use the WooCommerce standard templates, you don't need to "
775
+ #~ "change the following values.\n"
776
+ #~ " Otherwise, add the classes used in the "
777
+ #~ "template of your theme.\n"
778
+ #~ " If you don't know them, please contact "
779
+ #~ "the developer of your theme to receive the correct classes."
780
+ #~ msgstr ""
781
+ #~ "Se il tuo tema utilizza i template standard diWooCommerce, non devi "
782
+ #~ "modificare i seguenti valori.\n"
783
+ #~ " In caso contrario, aggiungi le classe "
784
+ #~ "utilizzate nel template del tuo tema.\n"
785
+ #~ " Se non le conosci, contatta lo "
786
+ #~ "sviluppatore del tuo tema per ottenere le classi corrette."
787
+
788
+ #~ msgid "Put here the CSS class or id for the product container"
789
+ #~ msgstr "Inserisci qui la classe CSS o l'ID per il contenitore del prodotto"
790
+
791
+ #~ msgid "Put here the CSS class or id for the shop pagination container"
792
+ #~ msgstr ""
793
+ #~ "Inserisci qui la classe CSS o l'ID per il contenitore della paginazione "
794
+ #~ "del negozio"
795
+
796
+ #~ msgid "Put here the CSS class or id for the result count container"
797
+ #~ msgstr ""
798
+ #~ "Inserisci qui la classe CSS o l'ID per il contenitore del conteggio dei "
799
+ #~ "prodotti"
800
+
801
+ #~ msgid "Customize the ajax loader"
802
+ #~ msgstr "Personalizza il loader ajax"
803
+
804
+ #~ msgid "Use WooCommerce price filter in ajax"
805
+ #~ msgstr "Utilizza il Price Filter di WooCommerce in ajax"
806
+
807
+ #~ msgid "Select if you want to show the dropdown opened or closed"
808
+ #~ msgstr "Scegli se mostrare il menu a tendina aperto o chiuso"
809
+
810
+ #~ msgctxt "Select if you want to show the widget open or closed"
811
+ #~ msgid "Dropdown style:"
812
+ #~ msgstr "Stile menu a tendina:"
813
+
814
+ #~ msgctxt "Admin: user note"
815
+ #~ msgid ""
816
+ #~ "Note: tags with no assigned products will not be showed in the front end"
817
+ #~ msgstr ""
818
+ #~ "N.B.: i tag che non sono assegnati ad alcun prodotto non saranno mostrati "
819
+ #~ "nel front end "
820
+
821
+ #~ msgid "Filter the product list without reloading the page"
822
+ #~ msgstr "Filtra l'elenco prodotti senza ricaricare la pagina"
823
+
824
+ #~ msgid "Background color in hover"
825
+ #~ msgstr "Colore di sfondo al passaggio del mouse"
826
+
827
+ #~ msgid "Text color in hover"
828
+ #~ msgstr "Colore del testo al passaggio del mouse"
829
+
830
+ #~ msgid "Border color in hover"
831
+ #~ msgstr "Colore dei bordi al passaggio del mouse"
832
+
833
+ #~ msgid "Display the sorting of the WooCommerce products"
834
+ #~ msgstr "Mostra l'ordinamento dei prodotti WooCommerce"
835
+
836
+ #~ msgid "Index and Follow option"
837
+ #~ msgstr "Opzione index e follow"
838
+
839
+ #~ msgid ""
840
+ #~ "Add the \"robots\" meta tag in the head of the page if filters have been "
841
+ #~ "activeted."
842
+ #~ msgstr "Aggiungi"
843
+
844
+ #~ msgctxt "Referer to original WooCommerce Price Filter Widget"
845
+ #~ msgid "WooCommerce Price Filter Slider"
846
+ #~ msgstr "Price Filter di WooCommerce con slider"
847
+
848
+ #~ msgid ""
849
+ #~ "Dear users,\n"
850
+ #~ " we would like to inform you that the YITH "
851
+ #~ "WooCommerce Ajax Navigation plugin will change its name in YITH "
852
+ #~ "WooCommerce Ajax Product Filter from the next update. Also, the plugin "
853
+ #~ "textdomain will change too from \"yit\" to \"yith_wc_ajxnav\".\n"
854
+ #~ " This modification solves the issues about "
855
+ #~ "textdomain conflicts generated by some translation/multilanguage plugins "
856
+ #~ "you have identified in the past weeks.\n"
857
+ #~ " If updating the plugin some language files "
858
+ #~ "are no more recognized by WordPress, you will just have to rename the "
859
+ #~ "language files in the correct format. After renaming the files, you can "
860
+ #~ "update/translate the .po file following the classic procedure for "
861
+ #~ "translations."
862
+ #~ msgstr ""
863
+ #~ "Cari utenti,\n"
864
+ #~ " comunichiamo che il plugin YITH WooCommerce "
865
+ #~ "Ajax Navigation cambierà il proprio nome in YITH WooCommerce Ajax Product "
866
+ #~ "Filter dal prossimo aggiornamento. Per di più, anche il textdomain del "
867
+ #~ "plugin cambierà da \"yit\" a \"yith_wc_ajxnav\".\n"
868
+ #~ " Questa modifica risolve i problemi "
869
+ #~ "riguardanti i conflitti di textdomain generati da alcuni plugin di "
870
+ #~ "traduzione/multilingua che avete identificato nelle settimane "
871
+ #~ "precedenti.\n"
872
+ #~ " Se alcuni file di lingua non fossero più "
873
+ #~ "riconosciuti da WordPress una volta effettuato l'aggiornamento, basterà "
874
+ #~ "rinominare i file di lingua nel formato corretto. Dopo averli rinominati, "
875
+ #~ "è possibile aggiornare/tradurre il file .po seguendo la procedura "
876
+ #~ "classica di traduzione."
877
+
878
+ #~ msgctxt "Admin(Pointers): Plugin Title"
879
+ #~ msgid "YITH WooCommerce Ajax Product Filter"
880
+ #~ msgstr "YITH WooCommerce Ajax Product Filter"
881
+
882
+ #~ msgid ""
883
+ #~ "YITH WooCommerce Product Filter has been updated with new available "
884
+ #~ "options"
885
+ #~ msgstr ""
886
+ #~ "YITH WooCommerce Product Filter è stato aggiornato con delle nuove opzioni"
887
+
888
+ #~ msgid "discover the PREMIUM version"
889
+ #~ msgstr "scopri la versione PREMIUM"
890
+
891
  #~ msgctxt "Admin: user tooltip"
892
  #~ msgid ""
893
  #~ "Activating the filter type \"Tag \" you can choose which tags show in"
languages/yith-woocommerce-ajax-navigation-tr_TR.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-tr_TR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-03-10 17:25+0100\n"
6
- "PO-Revision-Date: 2016-03-10 17:25+0100\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
9
  "Language: tr\n"
@@ -11,42 +11,42 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Generator: Poedit 1.8.1\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
- "X-Poedit-Basepath: ../\n"
19
  "X-Textdomain-Support: yes\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
- "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
 
23
- #: includes/class.yith-wcan-admin.php:139
24
  msgid "Front end"
25
  msgstr ""
26
 
27
- #: includes/class.yith-wcan-admin.php:140 settings/custom-style-options.php:12
28
  msgid "Custom Style"
29
  msgstr ""
30
 
31
- #: includes/class.yith-wcan-admin.php:141
32
- #: includes/class.yith-wcan-admin.php:213
33
  msgid "Premium Version"
34
  msgstr ""
35
 
36
- #: includes/class.yith-wcan-admin.php:147
37
- #: includes/class.yith-wcan-admin.php:148
38
  msgid "Ajax Product Filter"
39
  msgstr ""
40
 
41
- #: includes/class.yith-wcan-admin.php:209
42
  msgid "Premium live demo"
43
  msgstr ""
44
 
45
- #: includes/class.yith-wcan-admin.php:209
46
  msgid "Live demo"
47
  msgstr ""
48
 
49
- #: includes/class.yith-wcan-admin.php:237
50
  msgid "Plugin Documentation"
51
  msgstr ""
52
 
@@ -58,7 +58,7 @@ msgstr "Terim"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
- #: widgets/class.yith-wcan-navigation-widget.php:864
62
  msgid "Color"
63
  msgstr "Renk"
64
 
@@ -89,1093 +89,12 @@ msgid ""
89
  "while you are using the premium one."
90
  msgstr ""
91
 
92
- #: plugin-fw/lib/yit-cpt-unlimited.php:460
93
- #: plugin-fw/lib/yit-cpt-unlimited.php:574
94
- #: plugin-fw/lib/yit-cpt-unlimited.php:719
95
- #: plugin-fw/lib/yit-cpt-unlimited.php:1632
96
- #, php-format
97
- msgid "Add %s"
98
- msgstr ""
99
-
100
- #: plugin-fw/lib/yit-cpt-unlimited.php:461
101
- #: plugin-fw/lib/yit-cpt-unlimited.php:575
102
- #, php-format
103
- msgid "Add New %s"
104
- msgstr ""
105
-
106
- #: plugin-fw/lib/yit-cpt-unlimited.php:462
107
- #: plugin-fw/lib/yit-cpt-unlimited.php:576
108
- #: plugin-fw/lib/yit-cpt-unlimited.php:1267
109
- #: plugin-fw/lib/yit-cpt-unlimited.php:1304
110
- #, php-format
111
- msgid "Edit %s"
112
- msgstr ""
113
-
114
- #: plugin-fw/lib/yit-cpt-unlimited.php:463
115
- #: plugin-fw/lib/yit-cpt-unlimited.php:577
116
- #, php-format
117
- msgid "New %s"
118
- msgstr ""
119
-
120
- #: plugin-fw/lib/yit-cpt-unlimited.php:464
121
- #: plugin-fw/lib/yit-cpt-unlimited.php:578
122
- #, php-format
123
- msgid "All %s"
124
- msgstr ""
125
-
126
- #: plugin-fw/lib/yit-cpt-unlimited.php:465
127
- #: plugin-fw/lib/yit-cpt-unlimited.php:579
128
- #: plugin-fw/lib/yit-cpt-unlimited.php:1251
129
- #: plugin-fw/lib/yit-cpt-unlimited.php:1305
130
- #, php-format
131
- msgid "View %s"
132
- msgstr ""
133
-
134
- #: plugin-fw/lib/yit-cpt-unlimited.php:466
135
- #: plugin-fw/lib/yit-cpt-unlimited.php:580
136
- #, php-format
137
- msgid "Search %s"
138
- msgstr ""
139
-
140
- #: plugin-fw/lib/yit-cpt-unlimited.php:467
141
- #: plugin-fw/lib/yit-cpt-unlimited.php:581
142
- #, php-format
143
- msgid "No %s found"
144
- msgstr ""
145
-
146
- #: plugin-fw/lib/yit-cpt-unlimited.php:468
147
- #: plugin-fw/lib/yit-cpt-unlimited.php:582
148
- #, php-format
149
- msgid "No %s found in Trash"
150
- msgstr ""
151
-
152
- #: plugin-fw/lib/yit-cpt-unlimited.php:625
153
- #, php-format
154
- msgctxt "taxonomy general name"
155
- msgid "%s Categories"
156
- msgstr ""
157
-
158
- #: plugin-fw/lib/yit-cpt-unlimited.php:626
159
- msgctxt "taxonomy singular name"
160
- msgid "Category"
161
- msgstr ""
162
-
163
- #: plugin-fw/lib/yit-cpt-unlimited.php:627
164
- msgid "Search Categories"
165
- msgstr ""
166
-
167
- #: plugin-fw/lib/yit-cpt-unlimited.php:628
168
- msgid "All Categories"
169
- msgstr ""
170
-
171
- #: plugin-fw/lib/yit-cpt-unlimited.php:629
172
- msgid "Parent Category"
173
- msgstr ""
174
-
175
- #: plugin-fw/lib/yit-cpt-unlimited.php:630
176
- msgid "Parent Category:"
177
- msgstr ""
178
-
179
- #: plugin-fw/lib/yit-cpt-unlimited.php:631
180
- msgid "Edit Category"
181
- msgstr ""
182
-
183
- #: plugin-fw/lib/yit-cpt-unlimited.php:632
184
- msgid "Update Category"
185
- msgstr ""
186
-
187
- #: plugin-fw/lib/yit-cpt-unlimited.php:633
188
- msgid "Add New Category"
189
- msgstr ""
190
-
191
- #: plugin-fw/lib/yit-cpt-unlimited.php:634
192
- msgid "New Category Name"
193
- msgstr ""
194
-
195
- #: plugin-fw/lib/yit-cpt-unlimited.php:635
196
- msgid "Category"
197
- msgstr ""
198
-
199
- #: plugin-fw/lib/yit-cpt-unlimited.php:724
200
- msgid "Categories"
201
- msgstr ""
202
-
203
- #: plugin-fw/lib/yit-cpt-unlimited.php:1042
204
- #, php-format
205
- msgid "%s Settings"
206
- msgstr ""
207
-
208
- #: plugin-fw/lib/yit-cpt-unlimited.php:1048
209
- #: plugin-fw/lib/yit-cpt-unlimited.php:1196
210
- #: plugin-fw/lib/yit-cpt-unlimited.php:1202
211
- #: plugin-fw/lib/yit-plugin-panel.php:64
212
- msgid "Settings"
213
- msgstr ""
214
-
215
- #: plugin-fw/lib/yit-cpt-unlimited.php:1051
216
- msgid "Type"
217
- msgstr ""
218
-
219
- #: plugin-fw/lib/yit-cpt-unlimited.php:1052
220
- #, php-format
221
- msgid "Layout for this %s"
222
- msgstr ""
223
-
224
- #: plugin-fw/lib/yit-cpt-unlimited.php:1058
225
- msgid "Rewrite"
226
- msgstr ""
227
-
228
- #: plugin-fw/lib/yit-cpt-unlimited.php:1059
229
- msgid ""
230
- "Univocal identification name in the URL for each product (slug from post if "
231
- "empty)"
232
- msgstr ""
233
-
234
- #: plugin-fw/lib/yit-cpt-unlimited.php:1064
235
- msgid "Label in Singular"
236
- msgstr ""
237
-
238
- #: plugin-fw/lib/yit-cpt-unlimited.php:1065
239
- msgid "Set a label in singular (title of portfolio if empty)"
240
- msgstr ""
241
-
242
- #: plugin-fw/lib/yit-cpt-unlimited.php:1070
243
- msgid "Label in Plural"
244
- msgstr ""
245
-
246
- #: plugin-fw/lib/yit-cpt-unlimited.php:1071
247
- msgid "Set a label in plural (title of portfolio if empty)"
248
- msgstr ""
249
-
250
- #: plugin-fw/lib/yit-cpt-unlimited.php:1076
251
- msgid "Taxonomy"
252
- msgstr ""
253
-
254
- #: plugin-fw/lib/yit-cpt-unlimited.php:1077
255
- msgid ""
256
- "If you want to use categories in the portfolio, set a name for taxonomy. "
257
- "Name should be a slug (must not contain capital letters nor spaces) and must "
258
- "not be more than 32 characters long (database structure restriction)."
259
- msgstr ""
260
-
261
- #: plugin-fw/lib/yit-cpt-unlimited.php:1082
262
- msgid "Taxonomy Rewrite"
263
- msgstr ""
264
-
265
- #: plugin-fw/lib/yit-cpt-unlimited.php:1083
266
- msgid "Set univocal name for each category page URL."
267
- msgstr ""
268
-
269
- #: plugin-fw/lib/yit-cpt-unlimited.php:1088
270
- msgid "Single layout"
271
- msgstr ""
272
-
273
- #: plugin-fw/lib/yit-cpt-unlimited.php:1089
274
- msgid "Layout for single page of this portfolio"
275
- msgstr ""
276
-
277
- #: plugin-fw/lib/yit-cpt-unlimited.php:1130
278
- msgid "layout settings"
279
- msgstr ""
280
-
281
- #: plugin-fw/lib/yit-cpt-unlimited.php:1222
282
- #: plugin-fw/lib/yit-cpt-unlimited.php:1235
283
- msgid "Quick links"
284
- msgstr ""
285
-
286
- #: plugin-fw/lib/yit-cpt-unlimited.php:1475
287
- #, php-format
288
- msgid "Show frontend of the %s"
289
- msgstr ""
290
-
291
- #: plugin-fw/lib/yit-cpt-unlimited.php:1482
292
- #: plugin-fw/templates/metaboxes/types/customtabs.php:46
293
- #: plugin-fw/templates/metaboxes/types/customtabs.php:90
294
- msgid "Name"
295
- msgstr ""
296
-
297
- #: plugin-fw/lib/yit-cpt-unlimited.php:1631
298
- #, php-format
299
- msgid "Add %s from images"
300
- msgstr ""
301
-
302
- #: plugin-fw/lib/yit-cpt-unlimited.php:1633
303
- msgid "Upload multiple files"
304
- msgstr ""
305
-
306
- #: plugin-fw/lib/yit-plugin-panel-wc.php:341
307
- msgid "The changes you have made will be lost if you leave this page."
308
- msgstr ""
309
-
310
- #: plugin-fw/lib/yit-plugin-panel.php:63
311
- msgid "Plugin Settings"
312
- msgstr ""
313
-
314
- #: plugin-fw/lib/yit-plugin-panel.php:101
315
- #: plugin-fw/lib/yit-plugin-subpanel.php:103
316
- msgid "YITH Plugins"
317
- msgstr ""
318
-
319
- #: plugin-fw/lib/yit-plugin-panel.php:270
320
- msgid "Premium version upgrade"
321
- msgstr ""
322
-
323
- #: plugin-fw/lib/yit-plugin-panel.php:316
324
- #: plugin-fw/lib/yit-plugin-subpanel.php:146
325
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
326
- msgid "Save Changes"
327
- msgstr ""
328
-
329
- #: plugin-fw/lib/yit-plugin-panel.php:319
330
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
331
- msgid ""
332
- "If you continue with this action, you will reset all options in this page."
333
- msgstr ""
334
-
335
- #: plugin-fw/lib/yit-plugin-panel.php:321
336
- #: plugin-fw/lib/yit-plugin-subpanel.php:151
337
- msgid "Reset to default"
338
- msgstr ""
339
-
340
- #: plugin-fw/lib/yit-plugin-panel.php:321
341
- #: plugin-fw/lib/yit-plugin-subpanel.php:151
342
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
343
- msgid "Are you sure?"
344
- msgstr ""
345
-
346
- #: plugin-fw/lib/yit-plugin-panel.php:455
347
- msgid ""
348
- "The element you have entered already exists. Please, enter another name."
349
- msgstr ""
350
-
351
- #: plugin-fw/lib/yit-plugin-panel.php:456
352
- msgid "Settings saved"
353
- msgstr ""
354
-
355
- #: plugin-fw/lib/yit-plugin-panel.php:457
356
- msgid "Settings reset"
357
- msgstr ""
358
-
359
- #: plugin-fw/lib/yit-plugin-panel.php:458
360
- msgid "Element deleted correctly."
361
- msgstr ""
362
-
363
- #: plugin-fw/lib/yit-plugin-panel.php:459
364
- #: plugin-fw/lib/yit-plugin-panel.php:460
365
- msgid "Element updated correctly."
366
- msgstr ""
367
-
368
- #: plugin-fw/lib/yit-plugin-panel.php:461
369
- msgid "Database imported correctly."
370
- msgstr ""
371
-
372
- #: plugin-fw/lib/yit-plugin-panel.php:462
373
- msgid "An error has occurred during import. Please try again."
374
- msgstr ""
375
-
376
- #: plugin-fw/lib/yit-plugin-panel.php:463
377
- msgid "The added file is not valid."
378
- msgstr ""
379
-
380
- #: plugin-fw/lib/yit-plugin-panel.php:464
381
- msgid "Sorry, import is disabled."
382
- msgstr ""
383
-
384
- #: plugin-fw/lib/yit-plugin-panel.php:465
385
- msgid "Sorting successful."
386
- msgstr ""
387
-
388
- #: plugin-fw/lib/yit-plugin-subpanel.php:149
389
- msgid ""
390
- "If you continue with this action, you will reset all the options in this "
391
- "page."
392
- msgstr ""
393
-
394
- #: plugin-fw/lib/yit-pointers.php:70
395
- msgid "Plugins Activated"
396
- msgstr ""
397
-
398
- #: plugin-fw/lib/yit-pointers.php:71
399
- msgid ""
400
- "From now on, you can find all plugin options in YIT Plugin menu.\n"
401
- " For each plugin installed, "
402
- "customization settings will be available as a new entry in YIT Plugin menu."
403
- msgstr ""
404
-
405
- #: plugin-fw/lib/yit-pointers.php:73 plugin-fw/lib/yit-pointers.php:89
406
- msgid "Discover all our plugins available on:"
407
- msgstr ""
408
-
409
- #: plugin-fw/lib/yit-pointers.php:74 plugin-fw/lib/yit-pointers.php:90
410
- msgid "and"
411
- msgstr ""
412
-
413
- #: plugin-fw/lib/yit-pointers.php:84
414
- msgid "Plugins Upgraded"
415
- msgstr ""
416
-
417
- #: plugin-fw/lib/yit-pointers.php:85
418
- msgid ""
419
- "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
420
- " Any time one of our plugins is updated, "
421
- "a new entry will be added to this menu.\n"
422
- " For example, after the update, plugin "
423
- "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
424
- "Search, etc.)\n"
425
- " will be moved from previous location to "
426
- "YIT Plugin tab."
427
- msgstr ""
428
-
429
- #: plugin-fw/lib/yit-upgrade.php:136
430
- msgid "There is a new version of %plugin_name% available."
431
- msgstr ""
432
-
433
- #: plugin-fw/lib/yit-upgrade.php:137
434
- msgid "View version %latest% details."
435
- msgstr ""
436
-
437
- #: plugin-fw/lib/yit-upgrade.php:138
438
- msgid "Automatic update is unavailable for this plugin,"
439
- msgstr ""
440
-
441
- #: plugin-fw/lib/yit-upgrade.php:139
442
- msgid ""
443
- "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
444
- msgstr ""
445
-
446
- #: plugin-fw/lib/yit-upgrade.php:140
447
- msgid "Update now."
448
- msgstr ""
449
-
450
- #: plugin-fw/lib/yit-upgrade.php:243
451
- msgid "YIThemes Repository"
452
- msgstr ""
453
-
454
- #: plugin-fw/lib/yit-upgrade.php:277
455
- msgid "Invalid URL Provided."
456
- msgstr ""
457
-
458
- #: plugin-fw/lib/yit-upgrade.php:290
459
- msgid "Could not create Temporary file."
460
- msgstr ""
461
-
462
- #: plugin-fw/lib/yit-upgrade.php:432
463
- #, php-format
464
- msgid ""
465
- "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
466
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>."
467
- msgstr ""
468
-
469
- #: plugin-fw/lib/yit-upgrade.php:434
470
- #, php-format
471
- msgid ""
472
- "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
473
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
474
- "have to activate the plugin on a single site of the network to benefit from "
475
- "automatic updates.</em>"
476
- msgstr ""
477
-
478
- #: plugin-fw/lib/yit-upgrade.php:436
479
- #, php-format
480
- msgid ""
481
- "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
482
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
483
- "<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
484
- "title=\"License activation\">activate</a> your copy of %6s.</em>"
485
- msgstr ""
486
-
487
- #: plugin-fw/lib/yit-upgrade.php:438
488
- #, php-format
489
- msgid ""
490
- "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
491
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
492
- "href=\"%5$s\">update now</a>."
493
- msgstr ""
494
-
495
- #: plugin-fw/lib/yit-upgrade.php:511
496
- msgid "You can't update the plugins for this site."
497
- msgstr ""
498
-
499
- #: plugin-fw/lib/yit-upgrade.php:515
500
- msgid ""
501
- "You do not have sufficient permissions to update the plugins for this site."
502
- msgstr ""
503
-
504
- #: plugin-fw/lib/yit-upgrade.php:522
505
- msgid "Update Plugin"
506
- msgstr ""
507
-
508
- #: plugin-fw/licence/lib/yit-licence.php:182
509
- #, php-format
510
- msgctxt "%s = field name"
511
- msgid "%s field cannot be empty"
512
- msgstr ""
513
-
514
- #: plugin-fw/licence/lib/yit-licence.php:183
515
- #, php-format
516
- msgid "%s and %s fields cannot be empty"
517
- msgstr ""
518
-
519
- #: plugin-fw/licence/lib/yit-licence.php:184
520
- msgid "Unable to contact the remote server, please try again later. Thanks!"
521
- msgstr ""
522
-
523
- #: plugin-fw/licence/lib/yit-licence.php:185
524
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:88
525
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:166
526
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:197
527
- #: plugin-fw/templates/metaboxes/types/contactform.php:148
528
- #: plugin-fw/templates/metaboxes/types/contactform.php:340
529
- msgid "Email"
530
- msgstr ""
531
-
532
- #: plugin-fw/licence/lib/yit-licence.php:186
533
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:89
534
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:167
535
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:198
536
- msgid "License Key"
537
- msgstr ""
538
-
539
- #: plugin-fw/licence/lib/yit-licence.php:187
540
- msgid "Are you sure you want to deactivate the license for current site?"
541
- msgstr ""
542
-
543
- #: plugin-fw/licence/lib/yit-licence.php:667
544
- msgid "Invalid Request"
545
- msgstr ""
546
-
547
- #: plugin-fw/licence/lib/yit-licence.php:668
548
- msgid "Invalid license key"
549
- msgstr ""
550
-
551
- #: plugin-fw/licence/lib/yit-licence.php:669
552
- msgid "Software has been deactivated"
553
- msgstr ""
554
-
555
- #: plugin-fw/licence/lib/yit-licence.php:670
556
- msgid "Maximum number of activations exceeded"
557
- msgstr ""
558
-
559
- #: plugin-fw/licence/lib/yit-licence.php:671
560
- msgid "Invalid instance ID"
561
- msgstr ""
562
-
563
- #: plugin-fw/licence/lib/yit-licence.php:672
564
- msgid "Invalid security key"
565
- msgstr ""
566
-
567
- #: plugin-fw/licence/lib/yit-licence.php:673
568
- msgid "License key has expired"
569
- msgstr ""
570
-
571
- #: plugin-fw/licence/lib/yit-licence.php:674
572
- msgid "License key has been banned"
573
- msgstr ""
574
-
575
- #: plugin-fw/licence/lib/yit-licence.php:675
576
- msgid "Current product is not included with your membership key"
577
- msgstr ""
578
-
579
- #: plugin-fw/licence/lib/yit-licence.php:676
580
- msgid "Great"
581
- msgstr ""
582
-
583
- #: plugin-fw/licence/lib/yit-licence.php:676
584
- msgid "License successfully activated"
585
- msgstr ""
586
-
587
- #: plugin-fw/licence/lib/yit-licence.php:677
588
- msgid "License key deactivated for website"
589
- msgstr ""
590
-
591
- #: plugin-fw/licence/lib/yit-plugin-licence.php:67
592
- #: plugin-fw/licence/lib/yit-plugin-licence.php:68
593
- #: plugin-fw/licence/lib/yit-theme-licence.php:69
594
- #: plugin-fw/licence/lib/yit-theme-licence.php:70
595
- #: plugin-fw/licence/lib/yit-theme-licence.php:109
596
- #: plugin-fw/licence/lib/yit-theme-licence.php:110
597
- msgid "License Activation"
598
- msgstr ""
599
-
600
- #: plugin-fw/licence/lib/yit-theme-licence.php:117
601
- #: plugin-fw/licence/lib/yit-theme-licence.php:118
602
- #, php-format
603
- msgid "%s"
604
- msgstr ""
605
-
606
- #: plugin-fw/licence/lib/yit-theme-licence.php:159
607
- msgid ""
608
- "I cannot find the license key for activating the theme I have bought some "
609
- "time ago. Where can I find it?"
610
- msgstr ""
611
-
612
- #: plugin-fw/licence/lib/yit-theme-licence.php:163
613
- msgid ""
614
- "If you have purchased one of our products before 27 January 2015, you can "
615
- "benefit from support and updates (the services offered with the license)\n"
616
- " until 27 January 2016 and you do not have to purchase it "
617
- "again to get a new license key, because, before this date, your license used "
618
- "to be activated automatically by our system.\n"
619
- " After 27 January 2016, instead, if you want to benefit "
620
- "from support and updates you have to buy a new license and activate it "
621
- "through the license key you will be\n"
622
- " provided with and that you can find in your YIThemes "
623
- "account, in section \"My licenses\"."
624
- msgstr ""
625
-
626
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:23
627
- msgid "Yithemes License Activation"
628
- msgstr ""
629
-
630
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:27
631
- msgid ""
632
- "Have you updated your licenses? Have you asked for an extension? Update "
633
- "information concerning your products."
634
- msgstr ""
635
-
636
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:29
637
- msgid "Update license information"
638
- msgstr ""
639
-
640
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:42
641
- msgid "Product to activate"
642
- msgid_plural "Products to activate"
643
- msgstr[0] ""
644
- msgstr[1] ""
645
-
646
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:61
647
- msgid "Activate"
648
- msgstr ""
649
-
650
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:80
651
- msgid "Activated"
652
- msgstr ""
653
-
654
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:86
655
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:164
656
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:194
657
- msgid "Product Name"
658
- msgstr ""
659
-
660
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:92
661
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:201
662
- msgid "Expires"
663
- msgstr ""
664
-
665
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:95
666
- msgid "Remaining"
667
- msgstr ""
668
-
669
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:97
670
- msgid "Membership"
671
- msgstr ""
672
-
673
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:101
674
- msgid "License Actions"
675
- msgstr ""
676
-
677
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:126
678
- #, php-format
679
- msgid "%1s out of %2s"
680
- msgstr ""
681
-
682
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:142
683
- msgid "Deactivate"
684
- msgstr ""
685
-
686
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:147
687
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:204
688
- msgid "Renew"
689
- msgstr ""
690
-
691
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:160
692
- msgid "Banned"
693
- msgstr ""
694
-
695
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:190
696
- msgid "Expired"
697
- msgstr ""
698
-
699
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:226
700
- msgid "Order again"
701
- msgstr ""
702
-
703
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:228
704
- msgid "Renew license"
705
- msgstr ""
706
-
707
- #: plugin-fw/templates/metaboxes/types/ajax-products.php:23
708
- msgid "Search for a product"
709
- msgstr ""
710
-
711
- #: plugin-fw/templates/metaboxes/types/categories.php:36
712
- msgid "No categories."
713
- msgstr ""
714
-
715
- #: plugin-fw/templates/metaboxes/types/categories.php:42
716
- msgid "+ Add New Category"
717
- msgstr ""
718
-
719
- #: plugin-fw/templates/metaboxes/types/contactform.php:7
720
- msgid "Text Input"
721
- msgstr ""
722
-
723
- #: plugin-fw/templates/metaboxes/types/contactform.php:8
724
- msgid "Checkbox"
725
- msgstr ""
726
-
727
- #: plugin-fw/templates/metaboxes/types/contactform.php:9
728
- msgid "Select"
729
- msgstr ""
730
-
731
- #: plugin-fw/templates/metaboxes/types/contactform.php:10
732
- msgid "Textarea"
733
- msgstr ""
734
-
735
- #: plugin-fw/templates/metaboxes/types/contactform.php:11
736
- msgid "Radio Input"
737
- msgstr ""
738
-
739
- #: plugin-fw/templates/metaboxes/types/contactform.php:12
740
- msgid "Password Field"
741
- msgstr ""
742
-
743
- #: plugin-fw/templates/metaboxes/types/contactform.php:13
744
- msgid "File Upload"
745
- msgstr ""
746
-
747
- #: plugin-fw/templates/metaboxes/types/contactform.php:47
748
- msgid "Theme Icon"
749
- msgstr ""
750
-
751
- #: plugin-fw/templates/metaboxes/types/contactform.php:48
752
- msgid "Custom Icon"
753
- msgstr ""
754
-
755
- #: plugin-fw/templates/metaboxes/types/contactform.php:49
756
- #: plugin-fw/templates/metaboxes/types/responsivesliders.php:24
757
- msgid "None"
758
- msgstr ""
759
-
760
- #: plugin-fw/templates/metaboxes/types/contactform.php:60
761
- msgid "Add field"
762
- msgstr ""
763
-
764
- #: plugin-fw/templates/metaboxes/types/contactform.php:69
765
- #: plugin-fw/templates/metaboxes/types/contactform.php:261
766
- #: plugin-fw/templates/metaboxes/types/customtabs.php:37
767
- #: plugin-fw/templates/metaboxes/types/customtabs.php:82
768
- msgid "Remove"
769
- msgstr ""
770
-
771
- #: plugin-fw/templates/metaboxes/types/contactform.php:70
772
- #: plugin-fw/templates/metaboxes/types/contactform.php:262
773
- msgid "Click to toggle"
774
- msgstr ""
775
-
776
- #: plugin-fw/templates/metaboxes/types/contactform.php:77
777
- #: plugin-fw/templates/metaboxes/types/contactform.php:269
778
- msgid "Field Title"
779
- msgstr ""
780
-
781
- #: plugin-fw/templates/metaboxes/types/contactform.php:81
782
- #: plugin-fw/templates/metaboxes/types/contactform.php:273
783
- msgid "Insert the title for the field."
784
- msgstr ""
785
-
786
- #: plugin-fw/templates/metaboxes/types/contactform.php:86
787
- #: plugin-fw/templates/metaboxes/types/contactform.php:278
788
- msgid "Data Name"
789
- msgstr ""
790
-
791
- #: plugin-fw/templates/metaboxes/types/contactform.php:90
792
- #: plugin-fw/templates/metaboxes/types/contactform.php:282
793
- msgid ""
794
- "REQUIRED: Field identification name to be entered into email body. "
795
- "<strong>Note:</strong>Use only lowercase characters and underscores."
796
- msgstr ""
797
-
798
- #: plugin-fw/templates/metaboxes/types/contactform.php:95
799
- #: plugin-fw/templates/metaboxes/types/contactform.php:287
800
- msgid "Field Type"
801
- msgstr ""
802
-
803
- #: plugin-fw/templates/metaboxes/types/contactform.php:103
804
- #: plugin-fw/templates/metaboxes/types/contactform.php:295
805
- msgid "Select the type for this field."
806
- msgstr ""
807
-
808
- #: plugin-fw/templates/metaboxes/types/contactform.php:108
809
- #: plugin-fw/templates/metaboxes/types/contactform.php:300
810
- msgid "Checked"
811
- msgstr ""
812
-
813
- #: plugin-fw/templates/metaboxes/types/contactform.php:112
814
- #: plugin-fw/templates/metaboxes/types/contactform.php:304
815
- msgid "Select this option if you want this field appears as already checked."
816
- msgstr ""
817
-
818
- #: plugin-fw/templates/metaboxes/types/contactform.php:117
819
- #: plugin-fw/templates/metaboxes/types/contactform.php:309
820
- msgid "Add options "
821
- msgstr ""
822
-
823
- #: plugin-fw/templates/metaboxes/types/contactform.php:118
824
- #: plugin-fw/templates/metaboxes/types/contactform.php:310
825
- msgid "Add option"
826
- msgstr ""
827
-
828
- #: plugin-fw/templates/metaboxes/types/contactform.php:121
829
- #: plugin-fw/templates/metaboxes/types/contactform.php:313
830
- #: plugin-fw/templates/metaboxes/types/contactform.php:436
831
- msgid "Selected"
832
- msgstr ""
833
-
834
- #: plugin-fw/templates/metaboxes/types/contactform.php:124
835
- #: plugin-fw/templates/metaboxes/types/contactform.php:316
836
- #: plugin-fw/templates/metaboxes/types/contactform.php:436
837
- msgid "Delete option"
838
- msgstr ""
839
-
840
- #: plugin-fw/templates/metaboxes/types/contactform.php:130
841
- #: plugin-fw/templates/metaboxes/types/contactform.php:322
842
- msgid "Error Message"
843
- msgstr ""
844
-
845
- #: plugin-fw/templates/metaboxes/types/contactform.php:134
846
- #: plugin-fw/templates/metaboxes/types/contactform.php:326
847
- msgid "Insert the error message for validation."
848
- msgstr ""
849
-
850
- #: plugin-fw/templates/metaboxes/types/contactform.php:139
851
- #: plugin-fw/templates/metaboxes/types/contactform.php:331
852
- msgid "Required"
853
- msgstr ""
854
-
855
- #: plugin-fw/templates/metaboxes/types/contactform.php:143
856
- #: plugin-fw/templates/metaboxes/types/contactform.php:335
857
- msgid "Select this option if it must be required."
858
- msgstr ""
859
-
860
- #: plugin-fw/templates/metaboxes/types/contactform.php:152
861
- #: plugin-fw/templates/metaboxes/types/contactform.php:344
862
- msgid "Select this option if the email must be valid."
863
- msgstr ""
864
-
865
- #: plugin-fw/templates/metaboxes/types/contactform.php:157
866
- #: plugin-fw/templates/metaboxes/types/contactform.php:349
867
- msgid "Reply To"
868
- msgstr ""
869
-
870
- #: plugin-fw/templates/metaboxes/types/contactform.php:161
871
- #: plugin-fw/templates/metaboxes/types/contactform.php:353
872
- msgid "Select this if it is the email you can reply to."
873
- msgstr ""
874
-
875
- #: plugin-fw/templates/metaboxes/types/contactform.php:166
876
- #: plugin-fw/templates/metaboxes/types/contactform.php:358
877
- msgid "Class"
878
- msgstr ""
879
-
880
- #: plugin-fw/templates/metaboxes/types/contactform.php:170
881
- #: plugin-fw/templates/metaboxes/types/contactform.php:362
882
- msgid ""
883
- "Insert additional class(es) (separated by commas) for more personalization."
884
- msgstr ""
885
-
886
- #: plugin-fw/templates/metaboxes/types/contactform.php:175
887
- #: plugin-fw/templates/metaboxes/types/contactform.php:367
888
- msgid "Icon"
889
- msgstr ""
890
-
891
- # @ yit
892
- #: plugin-fw/templates/metaboxes/types/contactform.php:203
893
- #: plugin-fw/templates/metaboxes/types/contactform.php:391
894
- #: plugin-fw/templates/metaboxes/types/icon-list.php:69
895
- #: plugin-fw/templates/metaboxes/types/select-icon.php:33
896
- #: plugin-fw/templates/metaboxes/types/upload.php:21
897
- #: plugin-fw/templates/panel/types/upload.php:31
898
- #: plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:40
899
- msgid "Upload"
900
- msgstr "Yükle"
901
-
902
- #: plugin-fw/templates/metaboxes/types/contactform.php:209
903
- #: plugin-fw/templates/metaboxes/types/contactform.php:397
904
- #: plugin-fw/templates/metaboxes/types/icon-list.php:75
905
- #: plugin-fw/templates/metaboxes/types/select-icon.php:39
906
- msgid "Image preview"
907
- msgstr ""
908
-
909
- #: plugin-fw/templates/metaboxes/types/contactform.php:217
910
- #: plugin-fw/templates/metaboxes/types/contactform.php:405
911
- msgid "Insert an icon for more personalization."
912
- msgstr ""
913
-
914
- #: plugin-fw/templates/metaboxes/types/contactform.php:222
915
- #: plugin-fw/templates/metaboxes/types/contactform.php:409
916
- msgid "Width"
917
- msgstr ""
918
-
919
- #: plugin-fw/templates/metaboxes/types/contactform.php:247
920
- #: plugin-fw/templates/metaboxes/types/contactform.php:421
921
- msgid "Set field length."
922
- msgstr ""
923
-
924
- #: plugin-fw/templates/metaboxes/types/customtabs.php:28
925
- msgid "Close all"
926
- msgstr ""
927
-
928
- #: plugin-fw/templates/metaboxes/types/customtabs.php:28
929
- msgid "Expand all"
930
- msgstr ""
931
-
932
- #: plugin-fw/templates/metaboxes/types/customtabs.php:52
933
- #: plugin-fw/templates/metaboxes/types/customtabs.php:95
934
- msgid "Value"
935
- msgstr ""
936
-
937
- #: plugin-fw/templates/metaboxes/types/customtabs.php:53
938
- #: plugin-fw/templates/metaboxes/types/customtabs.php:96
939
- msgid "Content of the tab. (HTML is supported)"
940
- msgstr ""
941
-
942
- #: plugin-fw/templates/metaboxes/types/customtabs.php:65
943
- msgid "Add custom product tab"
944
- msgstr ""
945
-
946
- #: plugin-fw/templates/metaboxes/types/customtabs.php:107
947
- msgid "Do you want to remove the custom tab?"
948
- msgstr ""
949
-
950
- #: plugin-fw/templates/metaboxes/types/icon-list.php:89
951
- #, php-format
952
- msgid "(Default: %s <img src=\"%s\"/>)"
953
- msgstr ""
954
-
955
- #: plugin-fw/templates/metaboxes/types/icon-list.php:91
956
- #, php-format
957
- msgid "(Default: <i %s></i> )"
958
- msgstr ""
959
-
960
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:40
961
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
962
- #: plugin-fw/templates/metaboxes/types/images.php:38
963
- #: plugin-fw/templates/metaboxes/types/images.php:64
964
- msgid "Delete image"
965
- msgstr ""
966
-
967
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
968
- msgid "Add Images to Gallery"
969
- msgstr ""
970
-
971
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
972
- msgid "Add to gallery"
973
- msgstr ""
974
-
975
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
976
- msgid "Add images"
977
- msgstr ""
978
-
979
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
980
- msgid "Delete"
981
- msgstr ""
982
-
983
- #: plugin-fw/templates/metaboxes/types/images.php:42
984
- msgid "Upload new images"
985
- msgstr ""
986
-
987
- #: plugin-fw/templates/metaboxes/types/images.php:75
988
- msgid "Are you sure you want to remove this image?"
989
- msgstr ""
990
-
991
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
992
- #: plugin-fw/templates/metaboxes/types/sidebars.php:36
993
- msgid "Left sidebar"
994
- msgstr ""
995
-
996
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
997
- #: plugin-fw/templates/metaboxes/types/sidebars.php:42
998
- #: plugin-fw/templates/metaboxes/types/sidebars.php:45
999
- msgid "No sidebar"
1000
- msgstr ""
1001
-
1002
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
1003
- #: plugin-fw/templates/metaboxes/types/sidebars.php:39
1004
- msgid "Right sidebar"
1005
- msgstr ""
1006
-
1007
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
1008
- #: plugin-fw/templates/metaboxes/types/sidebars.php:53
1009
- #: plugin-fw/templates/metaboxes/types/sidebars.php:64
1010
- msgid "Choose a sidebar"
1011
- msgstr ""
1012
-
1013
- #: plugin-fw/templates/metaboxes/types/sidebars.php:51
1014
- msgid "Left Sidebar"
1015
- msgstr ""
1016
-
1017
- #: plugin-fw/templates/metaboxes/types/sidebars.php:62
1018
- msgid "Right Sidebar"
1019
- msgstr ""
1020
-
1021
- # @ yit
1022
- #: plugin-fw/templates/metaboxes/types/typography.php:42
1023
- msgid "px"
1024
- msgstr "px"
1025
-
1026
- # @ yit
1027
- #: plugin-fw/templates/metaboxes/types/typography.php:43
1028
- msgid "em"
1029
- msgstr "em"
1030
-
1031
- # @ yit
1032
- #: plugin-fw/templates/metaboxes/types/typography.php:44
1033
- msgid "pt"
1034
- msgstr "pt"
1035
-
1036
- # @ yit
1037
- #: plugin-fw/templates/metaboxes/types/typography.php:45
1038
- msgid "rem"
1039
- msgstr "rem"
1040
-
1041
- #: plugin-fw/templates/metaboxes/types/typography.php:59
1042
- #: plugin-fw/templates/metaboxes/types/typography.php:153
1043
- #: plugin-fw/templates/metaboxes/types/typography.php:217
1044
- msgid "Web fonts"
1045
- msgstr ""
1046
-
1047
- #: plugin-fw/templates/metaboxes/types/typography.php:71
1048
- msgid "Google fonts"
1049
- msgstr ""
1050
-
1051
- # @ yit
1052
- #: plugin-fw/templates/metaboxes/types/typography.php:96
1053
- msgid "Regular"
1054
- msgstr "Normal"
1055
-
1056
- # @ yit
1057
- #: plugin-fw/templates/metaboxes/types/typography.php:97
1058
- msgid "Bold"
1059
- msgstr "Kalın"
1060
-
1061
- # @ yit
1062
- #: plugin-fw/templates/metaboxes/types/typography.php:98
1063
- msgid "Extra bold"
1064
- msgstr "Ekstra kalın"
1065
-
1066
- # @ yit
1067
- #: plugin-fw/templates/metaboxes/types/typography.php:99
1068
- msgid "Italic"
1069
- msgstr "İtalik"
1070
-
1071
- # @ yit
1072
- #: plugin-fw/templates/metaboxes/types/typography.php:100
1073
- msgid "Italic bold"
1074
- msgstr "İtalik kalın"
1075
-
1076
- #: plugin-fw/templates/panel/types/upload.php:32
1077
- msgid "Reset"
1078
- msgstr ""
1079
-
1080
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
1081
- msgid "Reset Defaults"
1082
- msgstr ""
1083
-
1084
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:5
1085
- msgid "Upgrade to Premium Version"
1086
- msgstr ""
1087
-
1088
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:6
1089
- msgid ""
1090
- "Hai comprato la versione premium di un plugin ? Dopo l'acquisto non trovi "
1091
- "dove attivare la licenza del tuo plugin premium ?"
1092
- msgstr ""
1093
-
1094
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:8
1095
- msgid ""
1096
- "Per passare da un plugin FREE ad uno PREMIUM non basta semplicemnete "
1097
- "inserire la chiave di licenza che ti è stata fornita dopo aver completato "
1098
- "l'acquisto.\n"
1099
- " Questo perchè fisicamente si tratta di due prodotti diversi, con "
1100
- "differenze sostanziali sia nelle opzioni disponibili sia sul numero di file "
1101
- "presenti all'interno del pacchetto del plugin stesso.\n"
1102
- " Per iniziare ad usare il plugin PREMIUM che hai appena acquistato "
1103
- "devi semplicemente scaricare il pacchetto PREMIUM ed installarlo sul tuo "
1104
- "sito."
1105
- msgstr ""
1106
-
1107
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:12
1108
- msgid ""
1109
- "Non sai come fare ? Non è un problema, segui i passi elencati qui sotto ed "
1110
- "in pochi minuti avrai il plugin acquistato correttamente installato sul tuo "
1111
- "sito."
1112
- msgstr ""
1113
-
1114
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:15
1115
- msgid "Vai su yithemes.com ed effettua il login alla sezione My Account "
1116
- msgstr ""
1117
-
1118
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:18
1119
- msgid ""
1120
- "Dal menù di sinistra clicca su \"My Downloads\" e cerca tra i download "
1121
- "disponibili il plugin che vuoi installare, e clicca su \"Download\""
1122
- msgstr ""
1123
-
1124
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:21
1125
- msgid ""
1126
- "Non appena il download del pacchetto sarà completato recati sul tuo sito web "
1127
- "ed effettua il login all'area amministrazione di WordPress."
1128
- msgstr ""
1129
-
1130
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:24
1131
- msgid ""
1132
- "Dal menù di sinistra clicca sulla voce Plugins. Verrai indirizzato su una "
1133
- "pagina con la lista dei plugin disponibili sul tuo sito. Clicca sul pulsante "
1134
- "\"Add New\" che trovi in alto a sinistra vicino al titolo della pagina."
1135
- msgstr ""
1136
-
1137
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:27
1138
- msgid ""
1139
- "Verrai indirizzato su una nuova pagina dove trovi, in alto a sinistra vicino "
1140
- "al titolo della pagina, il pulsante \"Upload Plugin\"."
1141
- msgstr ""
1142
-
1143
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:30
1144
- msgid ""
1145
- "Cliccando su \"Upload Plugins\", ti troverai in una pagina dove poter "
1146
- "effettuare l'upload del pacchetto del plugin PREMIUM da te precedentemente "
1147
- "scaricato. Clicca quindi su \"Scegli File\", cerca la cartella di download "
1148
- "dove hai scaricato il plugin ed effettua il caricamneto del pacchetto. A "
1149
- "questo punto ti basta attendere qualche minuto che il pacchetto venga "
1150
- "caricato ed installato sul tuo sito."
1151
- msgstr ""
1152
-
1153
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:33
1154
- msgid "Al termine della procedura di installazione clicca su \"Attiva\""
1155
- msgstr ""
1156
-
1157
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:36
1158
- msgid ""
1159
- "Se tutto è andato per il meglio il tuo plugin è correttamente installato sul "
1160
- "tuo sito web. Enjoy it :-)"
1161
- msgstr ""
1162
-
1163
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:39
1164
- msgid ""
1165
- "Ultimo step è attivare il plugin con la chiave di licenza che hai ricevuto "
1166
- "dopo l'acquisto. Clicca quindi sul link \"License Activation\" che trovi "
1167
- "sotto \"YITH Plugins\" ed inserisci la license key in tuo possesso ed email "
1168
- "utilizzata in fase di acquisto. Se non trovi l'email che ti abbiamo inviato "
1169
- "contenete la license key puoi facilmente recuperarla dalla sezione \"My "
1170
- "Licenses\" all'interno della sezione My Account del nostro sito yithemes.com."
1171
- msgstr ""
1172
-
1173
  #: settings/custom-style-options.php:24
1174
- msgid "Put here your custom CSS rules:"
1175
  msgstr ""
1176
 
1177
  #: settings/frontend-options.php:12
1178
- msgid "General Settings"
1179
  msgstr ""
1180
 
1181
  #: settings/frontend-options.php:25
@@ -1186,12 +105,12 @@ msgstr ""
1186
  #: settings/frontend-options.php:27
1187
  msgctxt "Admin: Panel section description"
1188
  msgid ""
1189
- "If your theme use the WooCommerce standard templates, you don't need to "
1190
  "change the following values.\n"
1191
  " Otherwise, add the classes used in the "
1192
- "template of your theme.\n"
1193
- " If you don't know them, please contact the "
1194
- "developer of your theme to receive the correct classes."
1195
  msgstr ""
1196
 
1197
  #: settings/frontend-options.php:33
@@ -1199,7 +118,7 @@ msgid "Product Container"
1199
  msgstr ""
1200
 
1201
  #: settings/frontend-options.php:34
1202
- msgid "Put here the CSS class or id for the product container"
1203
  msgstr ""
1204
 
1205
  #: settings/frontend-options.php:41
@@ -1207,7 +126,7 @@ msgid "Shop Pagination Container"
1207
  msgstr ""
1208
 
1209
  #: settings/frontend-options.php:42
1210
- msgid "Put here the CSS class or id for the shop pagination container"
1211
  msgstr ""
1212
 
1213
  #: settings/frontend-options.php:49
@@ -1215,7 +134,7 @@ msgid "Result Count Container"
1215
  msgstr ""
1216
 
1217
  #: settings/frontend-options.php:50
1218
- msgid "Put here the CSS class or id for the result count container"
1219
  msgstr ""
1220
 
1221
  #: settings/frontend-options.php:57
@@ -1223,21 +142,21 @@ msgid "Scroll top anchor"
1223
  msgstr ""
1224
 
1225
  #: settings/frontend-options.php:58
1226
- msgid "Put here the HTML tag for the scroll top in mobile"
1227
  msgstr ""
1228
 
1229
- #: templates/admin/premium.php:203 templates/admin/premium.php:377
1230
  #, php-format
1231
  msgid ""
1232
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
1233
  "Filter%2$s to benefit from all features!"
1234
  msgstr ""
1235
 
1236
- #: templates/admin/premium.php:206 templates/admin/premium.php:380
1237
  msgid "UPGRADE"
1238
  msgstr ""
1239
 
1240
- #: templates/admin/premium.php:207 templates/admin/premium.php:381
1241
  msgid "to the premium version"
1242
  msgstr ""
1243
 
@@ -1369,8 +288,44 @@ msgid ""
1369
  "Users will experience a new look of your pages while filtering products."
1370
  msgstr ""
1371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1372
  #: widgets/class.yith-wcan-navigation-widget.php:36
1373
- msgid "Filter the product list without reloading the page"
1374
  msgstr ""
1375
 
1376
  #: widgets/class.yith-wcan-navigation-widget.php:39
@@ -1378,71 +333,75 @@ msgctxt "Admin: Widget Title"
1378
  msgid "YITH WooCommerce Ajax Product Filter"
1379
  msgstr ""
1380
 
1381
- #: widgets/class.yith-wcan-navigation-widget.php:300
1382
  msgid "Filters:"
1383
  msgstr ""
1384
 
1385
  # @ yit
1386
- #: widgets/class.yith-wcan-navigation-widget.php:863
1387
  msgid "List"
1388
  msgstr "Liste"
1389
 
1390
  # @ yit
1391
- #: widgets/class.yith-wcan-navigation-widget.php:865
1392
  msgid "Label"
1393
  msgstr "Etiket"
1394
 
1395
- #: widgets/class.yith-wcan-navigation-widget.php:866
1396
  msgid "Dropdown"
1397
  msgstr "Açılır Menü"
1398
 
1399
  # @ yit
1400
- #: widgets/class.yith-wcan-navigation-widget.php:873
1401
- #: widgets/class.yith-wcan-reset-navigation-widget.php:100
1402
  msgid "Title"
1403
  msgstr "Başlık"
1404
 
1405
  # @ yit
1406
- #: widgets/class.yith-wcan-navigation-widget.php:879
1407
  msgid "Type:"
1408
  msgstr "Tür:"
1409
 
1410
  # @ yit
1411
- #: widgets/class.yith-wcan-navigation-widget.php:890
1412
  msgid "Query Type:"
1413
  msgstr "Sorgu Tipi:"
1414
 
1415
  # @ yit
1416
- #: widgets/class.yith-wcan-navigation-widget.php:892
1417
  msgid "AND"
1418
  msgstr "VE"
1419
 
1420
  # @ yit
1421
- #: widgets/class.yith-wcan-navigation-widget.php:893
1422
  msgid "OR"
1423
  msgstr "VEYA"
1424
 
1425
  # @ yit
1426
- #: widgets/class.yith-wcan-navigation-widget.php:899
1427
  msgid "Attribute:"
1428
  msgstr "Özellikler:"
1429
 
1430
- #: widgets/class.yith-wcan-navigation-widget.php:906
1431
  msgid "Display (default All):"
1432
  msgstr "Görüntüleme (Varsayılan tümü):"
1433
 
1434
- #: widgets/class.yith-wcan-navigation-widget.php:908
1435
  msgid "All (no hierarchical)"
1436
  msgstr "Tümü"
1437
 
1438
- #: widgets/class.yith-wcan-navigation-widget.php:909
1439
  msgid "All (hierarchical)"
1440
  msgstr ""
1441
 
1442
- #: widgets/class.yith-wcan-navigation-widget.php:910
1443
  msgid "Only Parent"
1444
  msgstr "Sadece Ebeveyn"
1445
 
 
 
 
 
1446
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
1447
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
1448
  msgstr ""
@@ -1451,11 +410,11 @@ msgstr ""
1451
  msgid "YITH WooCommerce Ajax Reset Filter"
1452
  msgstr ""
1453
 
1454
- #: widgets/class.yith-wcan-reset-navigation-widget.php:93
1455
  msgid "Reset All Filters"
1456
  msgstr "Tüm Filtreleri Sıfırla"
1457
 
1458
- #: widgets/class.yith-wcan-reset-navigation-widget.php:106
1459
  msgid "Button Label"
1460
  msgstr "Buton Metni"
1461
 
@@ -1494,10 +453,50 @@ msgstr "Buton Metni"
1494
  #~ msgid "Minutes"
1495
  #~ msgstr "Dakika"
1496
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
  # @ yit
1498
  #~ msgid "Select a font family"
1499
  #~ msgstr "Bir font ailesi seçin"
1500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1501
  # @ yit
1502
  #~ msgid "Click to preview"
1503
  #~ msgstr "Önizleme için tıklayın"
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-06-13 16:11+0200\n"
6
+ "PO-Revision-Date: 2016-06-13 16:11+0200\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
9
  "Language: tr\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.8.4\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
  "X-Textdomain-Support: yes\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
 
23
+ #: includes/class.yith-wcan-admin.php:126
24
  msgid "Front end"
25
  msgstr ""
26
 
27
+ #: includes/class.yith-wcan-admin.php:127 settings/custom-style-options.php:12
28
  msgid "Custom Style"
29
  msgstr ""
30
 
31
+ #: includes/class.yith-wcan-admin.php:128
32
+ #: includes/class.yith-wcan-admin.php:195
33
  msgid "Premium Version"
34
  msgstr ""
35
 
36
+ #: includes/class.yith-wcan-admin.php:134
37
+ #: includes/class.yith-wcan-admin.php:135
38
  msgid "Ajax Product Filter"
39
  msgstr ""
40
 
41
+ #: includes/class.yith-wcan-admin.php:191
42
  msgid "Premium live demo"
43
  msgstr ""
44
 
45
+ #: includes/class.yith-wcan-admin.php:191
46
  msgid "Live demo"
47
  msgstr ""
48
 
49
+ #: includes/class.yith-wcan-admin.php:219
50
  msgid "Plugin Documentation"
51
  msgstr ""
52
 
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
61
+ #: widgets/class.yith-wcan-navigation-widget.php:706
62
  msgid "Color"
63
  msgstr "Renk"
64
 
89
  "while you are using the premium one."
90
  msgstr ""
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  #: settings/custom-style-options.php:24
93
+ msgid "Enter here your custom CSS rules:"
94
  msgstr ""
95
 
96
  #: settings/frontend-options.php:12
97
+ msgid "Frontend Settings"
98
  msgstr ""
99
 
100
  #: settings/frontend-options.php:25
105
  #: settings/frontend-options.php:27
106
  msgctxt "Admin: Panel section description"
107
  msgid ""
108
+ "If your theme is using WooCommerce standard templates, you don't need to "
109
  "change the following values.\n"
110
  " Otherwise, add the classes used in the "
111
+ "templates of your theme.\n"
112
+ " If you don't know how to do, please contact "
113
+ "the developer of your theme to be correctly instructed."
114
  msgstr ""
115
 
116
  #: settings/frontend-options.php:33
118
  msgstr ""
119
 
120
  #: settings/frontend-options.php:34
121
+ msgid "Enter here the CSS class or id for the product container"
122
  msgstr ""
123
 
124
  #: settings/frontend-options.php:41
126
  msgstr ""
127
 
128
  #: settings/frontend-options.php:42
129
+ msgid "Enter here the CSS class or id for the shop pagination container"
130
  msgstr ""
131
 
132
  #: settings/frontend-options.php:49
134
  msgstr ""
135
 
136
  #: settings/frontend-options.php:50
137
+ msgid "Enter here the CSS class or id for the results count container"
138
  msgstr ""
139
 
140
  #: settings/frontend-options.php:57
142
  msgstr ""
143
 
144
  #: settings/frontend-options.php:58
145
+ msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
146
  msgstr ""
147
 
148
+ #: templates/admin/premium.php:203 templates/admin/premium.php:425
149
  #, php-format
150
  msgid ""
151
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
152
  "Filter%2$s to benefit from all features!"
153
  msgstr ""
154
 
155
+ #: templates/admin/premium.php:206 templates/admin/premium.php:428
156
  msgid "UPGRADE"
157
  msgstr ""
158
 
159
+ #: templates/admin/premium.php:207 templates/admin/premium.php:429
160
  msgid "to the premium version"
161
  msgstr ""
162
 
288
  "Users will experience a new look of your pages while filtering products."
289
  msgstr ""
290
 
291
+ #: templates/admin/premium.php:381
292
+ msgid "Page url"
293
+ msgstr ""
294
+
295
+ #: templates/admin/premium.php:384
296
+ msgid ""
297
+ "Each applied filter generates a new url for the page. You can decide to keep "
298
+ "the same url or let it get automatically updated every time user applies a "
299
+ "filter to the products list of your shop."
300
+ msgstr ""
301
+
302
+ #: templates/admin/premium.php:394
303
+ msgid "Filter by tag"
304
+ msgstr ""
305
+
306
+ #: templates/admin/premium.php:397
307
+ msgid ""
308
+ "If you use tags as a powerful tool to classify your products, you can "
309
+ "configure an ad-hoc filter to be used on your products also by tag. In "
310
+ "addition, you could organize your tags in a hierarchy and have appropriate "
311
+ "tools for a better management of your products."
312
+ msgstr ""
313
+
314
+ #: templates/admin/premium.php:413
315
+ msgid "Reset"
316
+ msgstr ""
317
+
318
+ #: templates/admin/premium.php:416
319
+ msgid ""
320
+ "User experience on the site requires handiness and insight. This is why it "
321
+ "is unreasonable to deselect filters one by one to go back to the main view "
322
+ "when multiple filters have been applied to the product list. The plugin also "
323
+ "manages this action by a specific button which reset filters and by other "
324
+ "two which refresh the main view of categories and/or tags."
325
+ msgstr ""
326
+
327
  #: widgets/class.yith-wcan-navigation-widget.php:36
328
+ msgid "Filter the list of products without reloading the page"
329
  msgstr ""
330
 
331
  #: widgets/class.yith-wcan-navigation-widget.php:39
333
  msgid "YITH WooCommerce Ajax Product Filter"
334
  msgstr ""
335
 
336
+ #: widgets/class.yith-wcan-navigation-widget.php:139
337
  msgid "Filters:"
338
  msgstr ""
339
 
340
  # @ yit
341
+ #: widgets/class.yith-wcan-navigation-widget.php:705
342
  msgid "List"
343
  msgstr "Liste"
344
 
345
  # @ yit
346
+ #: widgets/class.yith-wcan-navigation-widget.php:707
347
  msgid "Label"
348
  msgstr "Etiket"
349
 
350
+ #: widgets/class.yith-wcan-navigation-widget.php:708
351
  msgid "Dropdown"
352
  msgstr "Açılır Menü"
353
 
354
  # @ yit
355
+ #: widgets/class.yith-wcan-navigation-widget.php:715
356
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:99
357
  msgid "Title"
358
  msgstr "Başlık"
359
 
360
  # @ yit
361
+ #: widgets/class.yith-wcan-navigation-widget.php:721
362
  msgid "Type:"
363
  msgstr "Tür:"
364
 
365
  # @ yit
366
+ #: widgets/class.yith-wcan-navigation-widget.php:732
367
  msgid "Query Type:"
368
  msgstr "Sorgu Tipi:"
369
 
370
  # @ yit
371
+ #: widgets/class.yith-wcan-navigation-widget.php:734
372
  msgid "AND"
373
  msgstr "VE"
374
 
375
  # @ yit
376
+ #: widgets/class.yith-wcan-navigation-widget.php:735
377
  msgid "OR"
378
  msgstr "VEYA"
379
 
380
  # @ yit
381
+ #: widgets/class.yith-wcan-navigation-widget.php:741
382
  msgid "Attribute:"
383
  msgstr "Özellikler:"
384
 
385
+ #: widgets/class.yith-wcan-navigation-widget.php:748
386
  msgid "Display (default All):"
387
  msgstr "Görüntüleme (Varsayılan tümü):"
388
 
389
+ #: widgets/class.yith-wcan-navigation-widget.php:750
390
  msgid "All (no hierarchical)"
391
  msgstr "Tümü"
392
 
393
+ #: widgets/class.yith-wcan-navigation-widget.php:751
394
  msgid "All (hierarchical)"
395
  msgstr ""
396
 
397
+ #: widgets/class.yith-wcan-navigation-widget.php:752
398
  msgid "Only Parent"
399
  msgstr "Sadece Ebeveyn"
400
 
401
+ #: widgets/class.yith-wcan-navigation-widget.php:759
402
+ msgid "CSS custom class"
403
+ msgstr ""
404
+
405
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
406
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
407
  msgstr ""
410
  msgid "YITH WooCommerce Ajax Reset Filter"
411
  msgstr ""
412
 
413
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:92
414
  msgid "Reset All Filters"
415
  msgstr "Tüm Filtreleri Sıfırla"
416
 
417
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:105
418
  msgid "Button Label"
419
  msgstr "Buton Metni"
420
 
453
  #~ msgid "Minutes"
454
  #~ msgstr "Dakika"
455
 
456
+ # @ yit
457
+ #~ msgid "Upload"
458
+ #~ msgstr "Yükle"
459
+
460
+ # @ yit
461
+ #~ msgid "px"
462
+ #~ msgstr "px"
463
+
464
+ # @ yit
465
+ #~ msgid "em"
466
+ #~ msgstr "em"
467
+
468
+ # @ yit
469
+ #~ msgid "pt"
470
+ #~ msgstr "pt"
471
+
472
+ # @ yit
473
+ #~ msgid "rem"
474
+ #~ msgstr "rem"
475
+
476
  # @ yit
477
  #~ msgid "Select a font family"
478
  #~ msgstr "Bir font ailesi seçin"
479
 
480
+ # @ yit
481
+ #~ msgid "Regular"
482
+ #~ msgstr "Normal"
483
+
484
+ # @ yit
485
+ #~ msgid "Bold"
486
+ #~ msgstr "Kalın"
487
+
488
+ # @ yit
489
+ #~ msgid "Extra bold"
490
+ #~ msgstr "Ekstra kalın"
491
+
492
+ # @ yit
493
+ #~ msgid "Italic"
494
+ #~ msgstr "İtalik"
495
+
496
+ # @ yit
497
+ #~ msgid "Italic bold"
498
+ #~ msgstr "İtalik kalın"
499
+
500
  # @ yit
501
  #~ msgid "Click to preview"
502
  #~ msgstr "Önizleme için tıklayın"
languages/yith-woocommerce-ajax-navigation.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2016-03-10 17:24+0100\n"
7
  "PO-Revision-Date: 2015-06-19 13:59+0100\n"
8
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language-Team: \n"
@@ -12,43 +12,43 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
- "X-Generator: Poedit 1.8.1\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
- "X-Poedit-Basepath: ../\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
- "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
23
 
24
- #: includes/class.yith-wcan-admin.php:139
25
  msgid "Front end"
26
  msgstr ""
27
 
28
- #: includes/class.yith-wcan-admin.php:140
29
  #: settings/custom-style-options.php:12
30
  msgid "Custom Style"
31
  msgstr ""
32
 
33
- #: includes/class.yith-wcan-admin.php:141
34
- #: includes/class.yith-wcan-admin.php:213
35
  msgid "Premium Version"
36
  msgstr ""
37
 
38
- #: includes/class.yith-wcan-admin.php:147
39
- #: includes/class.yith-wcan-admin.php:148
40
  msgid "Ajax Product Filter"
41
  msgstr ""
42
 
43
- #: includes/class.yith-wcan-admin.php:209
44
  msgid "Premium live demo"
45
  msgstr ""
46
 
47
- #: includes/class.yith-wcan-admin.php:209
48
  msgid "Live demo"
49
  msgstr ""
50
 
51
- #: includes/class.yith-wcan-admin.php:237
52
  msgid "Plugin Documentation"
53
  msgstr ""
54
 
@@ -59,7 +59,7 @@ msgid "Term"
59
  msgstr ""
60
 
61
  #: includes/functions.yith-wcan.php:57
62
- #: widgets/class.yith-wcan-navigation-widget.php:864
63
  msgid "Color"
64
  msgstr ""
65
 
@@ -89,1098 +89,12 @@ msgid ""
89
  "Filter while you are using the premium one."
90
  msgstr ""
91
 
92
- #: plugin-fw/lib/yit-cpt-unlimited.php:460
93
- #: plugin-fw/lib/yit-cpt-unlimited.php:574
94
- #: plugin-fw/lib/yit-cpt-unlimited.php:719
95
- #: plugin-fw/lib/yit-cpt-unlimited.php:1632
96
- #, php-format
97
- msgid "Add %s"
98
- msgstr ""
99
-
100
- #: plugin-fw/lib/yit-cpt-unlimited.php:461
101
- #: plugin-fw/lib/yit-cpt-unlimited.php:575
102
- #, php-format
103
- msgid "Add New %s"
104
- msgstr ""
105
-
106
- #: plugin-fw/lib/yit-cpt-unlimited.php:462
107
- #: plugin-fw/lib/yit-cpt-unlimited.php:576
108
- #: plugin-fw/lib/yit-cpt-unlimited.php:1267
109
- #: plugin-fw/lib/yit-cpt-unlimited.php:1304
110
- #, php-format
111
- msgid "Edit %s"
112
- msgstr ""
113
-
114
- #: plugin-fw/lib/yit-cpt-unlimited.php:463
115
- #: plugin-fw/lib/yit-cpt-unlimited.php:577
116
- #, php-format
117
- msgid "New %s"
118
- msgstr ""
119
-
120
- #: plugin-fw/lib/yit-cpt-unlimited.php:464
121
- #: plugin-fw/lib/yit-cpt-unlimited.php:578
122
- #, php-format
123
- msgid "All %s"
124
- msgstr ""
125
-
126
- #: plugin-fw/lib/yit-cpt-unlimited.php:465
127
- #: plugin-fw/lib/yit-cpt-unlimited.php:579
128
- #: plugin-fw/lib/yit-cpt-unlimited.php:1251
129
- #: plugin-fw/lib/yit-cpt-unlimited.php:1305
130
- #, php-format
131
- msgid "View %s"
132
- msgstr ""
133
-
134
- #: plugin-fw/lib/yit-cpt-unlimited.php:466
135
- #: plugin-fw/lib/yit-cpt-unlimited.php:580
136
- #, php-format
137
- msgid "Search %s"
138
- msgstr ""
139
-
140
- #: plugin-fw/lib/yit-cpt-unlimited.php:467
141
- #: plugin-fw/lib/yit-cpt-unlimited.php:581
142
- #, php-format
143
- msgid "No %s found"
144
- msgstr ""
145
-
146
- #: plugin-fw/lib/yit-cpt-unlimited.php:468
147
- #: plugin-fw/lib/yit-cpt-unlimited.php:582
148
- #, php-format
149
- msgid "No %s found in Trash"
150
- msgstr ""
151
-
152
- #: plugin-fw/lib/yit-cpt-unlimited.php:625
153
- #, php-format
154
- msgctxt "taxonomy general name"
155
- msgid "%s Categories"
156
- msgstr ""
157
-
158
- #: plugin-fw/lib/yit-cpt-unlimited.php:626
159
- msgctxt "taxonomy singular name"
160
- msgid "Category"
161
- msgstr ""
162
-
163
- #: plugin-fw/lib/yit-cpt-unlimited.php:627
164
- msgid "Search Categories"
165
- msgstr ""
166
-
167
- #: plugin-fw/lib/yit-cpt-unlimited.php:628
168
- msgid "All Categories"
169
- msgstr ""
170
-
171
- #: plugin-fw/lib/yit-cpt-unlimited.php:629
172
- msgid "Parent Category"
173
- msgstr ""
174
-
175
- #: plugin-fw/lib/yit-cpt-unlimited.php:630
176
- msgid "Parent Category:"
177
- msgstr ""
178
-
179
- #: plugin-fw/lib/yit-cpt-unlimited.php:631
180
- msgid "Edit Category"
181
- msgstr ""
182
-
183
- #: plugin-fw/lib/yit-cpt-unlimited.php:632
184
- msgid "Update Category"
185
- msgstr ""
186
-
187
- #: plugin-fw/lib/yit-cpt-unlimited.php:633
188
- msgid "Add New Category"
189
- msgstr ""
190
-
191
- #: plugin-fw/lib/yit-cpt-unlimited.php:634
192
- msgid "New Category Name"
193
- msgstr ""
194
-
195
- #: plugin-fw/lib/yit-cpt-unlimited.php:635
196
- msgid "Category"
197
- msgstr ""
198
-
199
- #: plugin-fw/lib/yit-cpt-unlimited.php:724
200
- msgid "Categories"
201
- msgstr ""
202
-
203
- #: plugin-fw/lib/yit-cpt-unlimited.php:1042
204
- #, php-format
205
- msgid "%s Settings"
206
- msgstr ""
207
-
208
- #: plugin-fw/lib/yit-cpt-unlimited.php:1048
209
- #: plugin-fw/lib/yit-cpt-unlimited.php:1196
210
- #: plugin-fw/lib/yit-cpt-unlimited.php:1202
211
- #: plugin-fw/lib/yit-plugin-panel.php:64
212
- msgid "Settings"
213
- msgstr ""
214
-
215
- #: plugin-fw/lib/yit-cpt-unlimited.php:1051
216
- msgid "Type"
217
- msgstr ""
218
-
219
- #: plugin-fw/lib/yit-cpt-unlimited.php:1052
220
- #, php-format
221
- msgid "Layout for this %s"
222
- msgstr ""
223
-
224
- #: plugin-fw/lib/yit-cpt-unlimited.php:1058
225
- msgid "Rewrite"
226
- msgstr ""
227
-
228
- #: plugin-fw/lib/yit-cpt-unlimited.php:1059
229
- msgid ""
230
- "Univocal identification name in the URL for each product (slug from "
231
- "post if empty)"
232
- msgstr ""
233
-
234
- #: plugin-fw/lib/yit-cpt-unlimited.php:1064
235
- msgid "Label in Singular"
236
- msgstr ""
237
-
238
- #: plugin-fw/lib/yit-cpt-unlimited.php:1065
239
- msgid "Set a label in singular (title of portfolio if empty)"
240
- msgstr ""
241
-
242
- #: plugin-fw/lib/yit-cpt-unlimited.php:1070
243
- msgid "Label in Plural"
244
- msgstr ""
245
-
246
- #: plugin-fw/lib/yit-cpt-unlimited.php:1071
247
- msgid "Set a label in plural (title of portfolio if empty)"
248
- msgstr ""
249
-
250
- #: plugin-fw/lib/yit-cpt-unlimited.php:1076
251
- msgid "Taxonomy"
252
- msgstr ""
253
-
254
- #: plugin-fw/lib/yit-cpt-unlimited.php:1077
255
- msgid ""
256
- "If you want to use categories in the portfolio, set a name for "
257
- "taxonomy. Name should be a slug (must not contain capital letters nor "
258
- "spaces) and must not be more than 32 characters long (database "
259
- "structure restriction)."
260
- msgstr ""
261
-
262
- #: plugin-fw/lib/yit-cpt-unlimited.php:1082
263
- msgid "Taxonomy Rewrite"
264
- msgstr ""
265
-
266
- #: plugin-fw/lib/yit-cpt-unlimited.php:1083
267
- msgid "Set univocal name for each category page URL."
268
- msgstr ""
269
-
270
- #: plugin-fw/lib/yit-cpt-unlimited.php:1088
271
- msgid "Single layout"
272
- msgstr ""
273
-
274
- #: plugin-fw/lib/yit-cpt-unlimited.php:1089
275
- msgid "Layout for single page of this portfolio"
276
- msgstr ""
277
-
278
- #: plugin-fw/lib/yit-cpt-unlimited.php:1130
279
- msgid "layout settings"
280
- msgstr ""
281
-
282
- #: plugin-fw/lib/yit-cpt-unlimited.php:1222
283
- #: plugin-fw/lib/yit-cpt-unlimited.php:1235
284
- msgid "Quick links"
285
- msgstr ""
286
-
287
- #: plugin-fw/lib/yit-cpt-unlimited.php:1475
288
- #, php-format
289
- msgid "Show frontend of the %s"
290
- msgstr ""
291
-
292
- #: plugin-fw/lib/yit-cpt-unlimited.php:1482
293
- #: plugin-fw/templates/metaboxes/types/customtabs.php:46
294
- #: plugin-fw/templates/metaboxes/types/customtabs.php:90
295
- msgid "Name"
296
- msgstr ""
297
-
298
- #: plugin-fw/lib/yit-cpt-unlimited.php:1631
299
- #, php-format
300
- msgid "Add %s from images"
301
- msgstr ""
302
-
303
- #: plugin-fw/lib/yit-cpt-unlimited.php:1633
304
- msgid "Upload multiple files"
305
- msgstr ""
306
-
307
- #: plugin-fw/lib/yit-plugin-panel-wc.php:341
308
- msgid "The changes you have made will be lost if you leave this page."
309
- msgstr ""
310
-
311
- #: plugin-fw/lib/yit-plugin-panel.php:63
312
- msgid "Plugin Settings"
313
- msgstr ""
314
-
315
- #: plugin-fw/lib/yit-plugin-panel.php:101
316
- #: plugin-fw/lib/yit-plugin-subpanel.php:103
317
- msgid "YITH Plugins"
318
- msgstr ""
319
-
320
- #: plugin-fw/lib/yit-plugin-panel.php:270
321
- msgid "Premium version upgrade"
322
- msgstr ""
323
-
324
- #: plugin-fw/lib/yit-plugin-panel.php:316
325
- #: plugin-fw/lib/yit-plugin-subpanel.php:146
326
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
327
- msgid "Save Changes"
328
- msgstr ""
329
-
330
- #: plugin-fw/lib/yit-plugin-panel.php:319
331
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
332
- msgid ""
333
- "If you continue with this action, you will reset all options in this "
334
- "page."
335
- msgstr ""
336
-
337
- #: plugin-fw/lib/yit-plugin-panel.php:321
338
- #: plugin-fw/lib/yit-plugin-subpanel.php:151
339
- msgid "Reset to default"
340
- msgstr ""
341
-
342
- #: plugin-fw/lib/yit-plugin-panel.php:321
343
- #: plugin-fw/lib/yit-plugin-subpanel.php:151
344
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
345
- msgid "Are you sure?"
346
- msgstr ""
347
-
348
- #: plugin-fw/lib/yit-plugin-panel.php:455
349
- msgid ""
350
- "The element you have entered already exists. Please, enter another "
351
- "name."
352
- msgstr ""
353
-
354
- #: plugin-fw/lib/yit-plugin-panel.php:456
355
- msgid "Settings saved"
356
- msgstr ""
357
-
358
- #: plugin-fw/lib/yit-plugin-panel.php:457
359
- msgid "Settings reset"
360
- msgstr ""
361
-
362
- #: plugin-fw/lib/yit-plugin-panel.php:458
363
- msgid "Element deleted correctly."
364
- msgstr ""
365
-
366
- #: plugin-fw/lib/yit-plugin-panel.php:459
367
- #: plugin-fw/lib/yit-plugin-panel.php:460
368
- msgid "Element updated correctly."
369
- msgstr ""
370
-
371
- #: plugin-fw/lib/yit-plugin-panel.php:461
372
- msgid "Database imported correctly."
373
- msgstr ""
374
-
375
- #: plugin-fw/lib/yit-plugin-panel.php:462
376
- msgid "An error has occurred during import. Please try again."
377
- msgstr ""
378
-
379
- #: plugin-fw/lib/yit-plugin-panel.php:463
380
- msgid "The added file is not valid."
381
- msgstr ""
382
-
383
- #: plugin-fw/lib/yit-plugin-panel.php:464
384
- msgid "Sorry, import is disabled."
385
- msgstr ""
386
-
387
- #: plugin-fw/lib/yit-plugin-panel.php:465
388
- msgid "Sorting successful."
389
- msgstr ""
390
-
391
- #: plugin-fw/lib/yit-plugin-subpanel.php:149
392
- msgid ""
393
- "If you continue with this action, you will reset all the options in "
394
- "this page."
395
- msgstr ""
396
-
397
- #: plugin-fw/lib/yit-pointers.php:70
398
- msgid "Plugins Activated"
399
- msgstr ""
400
-
401
- #: plugin-fw/lib/yit-pointers.php:71
402
- msgid ""
403
- "From now on, you can find all plugin options in YIT Plugin menu.\n"
404
- " For each plugin installed, "
405
- "customization settings will be available as a new entry in YIT Plugin "
406
- "menu."
407
- msgstr ""
408
-
409
- #: plugin-fw/lib/yit-pointers.php:73 plugin-fw/lib/yit-pointers.php:89
410
- msgid "Discover all our plugins available on:"
411
- msgstr ""
412
-
413
- #: plugin-fw/lib/yit-pointers.php:74 plugin-fw/lib/yit-pointers.php:90
414
- msgid "and"
415
- msgstr ""
416
-
417
- #: plugin-fw/lib/yit-pointers.php:84
418
- msgid "Plugins Upgraded"
419
- msgstr ""
420
-
421
- #: plugin-fw/lib/yit-pointers.php:85
422
- msgid ""
423
- "From now on, you can find all options of your plugins in YIT Plugin "
424
- "menu.\n"
425
- " Any time one of our plugins is "
426
- "updated, a new entry will be added to this menu.\n"
427
- " For example, after the update, "
428
- "plugin options (such as for YITH WooCommerce Wishlist, YITH "
429
- "WooCommerce Ajax Search, etc.)\n"
430
- " will be moved from previous "
431
- "location to YIT Plugin tab."
432
- msgstr ""
433
-
434
- #: plugin-fw/lib/yit-upgrade.php:136
435
- msgid "There is a new version of %plugin_name% available."
436
- msgstr ""
437
-
438
- #: plugin-fw/lib/yit-upgrade.php:137
439
- msgid "View version %latest% details."
440
- msgstr ""
441
-
442
- #: plugin-fw/lib/yit-upgrade.php:138
443
- msgid "Automatic update is unavailable for this plugin,"
444
- msgstr ""
445
-
446
- #: plugin-fw/lib/yit-upgrade.php:139
447
- msgid ""
448
- "please <a href=\"%activate_link%\">activate</a> your copy of "
449
- "%plugin_name%."
450
- msgstr ""
451
-
452
- #: plugin-fw/lib/yit-upgrade.php:140
453
- msgid "Update now."
454
- msgstr ""
455
-
456
- #: plugin-fw/lib/yit-upgrade.php:243
457
- msgid "YIThemes Repository"
458
- msgstr ""
459
-
460
- #: plugin-fw/lib/yit-upgrade.php:277
461
- msgid "Invalid URL Provided."
462
- msgstr ""
463
-
464
- #: plugin-fw/lib/yit-upgrade.php:290
465
- msgid "Could not create Temporary file."
466
- msgstr ""
467
-
468
- #: plugin-fw/lib/yit-upgrade.php:432
469
- #, php-format
470
- msgid ""
471
- "There is a new version of %1$s available. <a href=\"%2$s\" class="
472
- "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
473
- "details</a>."
474
- msgstr ""
475
-
476
- #: plugin-fw/lib/yit-upgrade.php:434
477
- #, php-format
478
- msgid ""
479
- "There is a new version of %1$s available. <a href=\"%2$s\" class="
480
- "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
481
- "details</a>. <em>You have to activate the plugin on a single site of "
482
- "the network to benefit from automatic updates.</em>"
483
- msgstr ""
484
-
485
- #: plugin-fw/lib/yit-upgrade.php:436
486
- #, php-format
487
- msgid ""
488
- "There is a new version of %1$s available. <a href=\"%2$s\" class="
489
- "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
490
- "details</a>. <em>Automatic update is unavailable for this plugin, "
491
- "please <a href=\"%5$s\" title=\"License activation\">activate</a> your "
492
- "copy of %6s.</em>"
493
- msgstr ""
494
-
495
- #: plugin-fw/lib/yit-upgrade.php:438
496
- #, php-format
497
- msgid ""
498
- "There is a new version of %1$s available. <a href=\"%2$s\" class="
499
- "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
500
- "details</a> or <a href=\"%5$s\">update now</a>."
501
- msgstr ""
502
-
503
- #: plugin-fw/lib/yit-upgrade.php:511
504
- msgid "You can't update the plugins for this site."
505
- msgstr ""
506
-
507
- #: plugin-fw/lib/yit-upgrade.php:515
508
- msgid ""
509
- "You do not have sufficient permissions to update the plugins for this "
510
- "site."
511
- msgstr ""
512
-
513
- #: plugin-fw/lib/yit-upgrade.php:522
514
- msgid "Update Plugin"
515
- msgstr ""
516
-
517
- #: plugin-fw/licence/lib/yit-licence.php:182
518
- #, php-format
519
- msgctxt "%s = field name"
520
- msgid "%s field cannot be empty"
521
- msgstr ""
522
-
523
- #: plugin-fw/licence/lib/yit-licence.php:183
524
- #, php-format
525
- msgid "%s and %s fields cannot be empty"
526
- msgstr ""
527
-
528
- #: plugin-fw/licence/lib/yit-licence.php:184
529
- msgid ""
530
- "Unable to contact the remote server, please try again later. Thanks!"
531
- msgstr ""
532
-
533
- #: plugin-fw/licence/lib/yit-licence.php:185
534
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:88
535
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:166
536
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:197
537
- #: plugin-fw/templates/metaboxes/types/contactform.php:148
538
- #: plugin-fw/templates/metaboxes/types/contactform.php:340
539
- msgid "Email"
540
- msgstr ""
541
-
542
- #: plugin-fw/licence/lib/yit-licence.php:186
543
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:89
544
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:167
545
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:198
546
- msgid "License Key"
547
- msgstr ""
548
-
549
- #: plugin-fw/licence/lib/yit-licence.php:187
550
- msgid "Are you sure you want to deactivate the license for current site?"
551
- msgstr ""
552
-
553
- #: plugin-fw/licence/lib/yit-licence.php:667
554
- msgid "Invalid Request"
555
- msgstr ""
556
-
557
- #: plugin-fw/licence/lib/yit-licence.php:668
558
- msgid "Invalid license key"
559
- msgstr ""
560
-
561
- #: plugin-fw/licence/lib/yit-licence.php:669
562
- msgid "Software has been deactivated"
563
- msgstr ""
564
-
565
- #: plugin-fw/licence/lib/yit-licence.php:670
566
- msgid "Maximum number of activations exceeded"
567
- msgstr ""
568
-
569
- #: plugin-fw/licence/lib/yit-licence.php:671
570
- msgid "Invalid instance ID"
571
- msgstr ""
572
-
573
- #: plugin-fw/licence/lib/yit-licence.php:672
574
- msgid "Invalid security key"
575
- msgstr ""
576
-
577
- #: plugin-fw/licence/lib/yit-licence.php:673
578
- msgid "License key has expired"
579
- msgstr ""
580
-
581
- #: plugin-fw/licence/lib/yit-licence.php:674
582
- msgid "License key has been banned"
583
- msgstr ""
584
-
585
- #: plugin-fw/licence/lib/yit-licence.php:675
586
- msgid "Current product is not included with your membership key"
587
- msgstr ""
588
-
589
- #: plugin-fw/licence/lib/yit-licence.php:676
590
- msgid "Great"
591
- msgstr ""
592
-
593
- #: plugin-fw/licence/lib/yit-licence.php:676
594
- msgid "License successfully activated"
595
- msgstr ""
596
-
597
- #: plugin-fw/licence/lib/yit-licence.php:677
598
- msgid "License key deactivated for website"
599
- msgstr ""
600
-
601
- #: plugin-fw/licence/lib/yit-plugin-licence.php:67
602
- #: plugin-fw/licence/lib/yit-plugin-licence.php:68
603
- #: plugin-fw/licence/lib/yit-theme-licence.php:69
604
- #: plugin-fw/licence/lib/yit-theme-licence.php:70
605
- #: plugin-fw/licence/lib/yit-theme-licence.php:109
606
- #: plugin-fw/licence/lib/yit-theme-licence.php:110
607
- msgid "License Activation"
608
- msgstr ""
609
-
610
- #: plugin-fw/licence/lib/yit-theme-licence.php:117
611
- #: plugin-fw/licence/lib/yit-theme-licence.php:118
612
- #, php-format
613
- msgid "%s"
614
- msgstr ""
615
-
616
- #: plugin-fw/licence/lib/yit-theme-licence.php:159
617
- msgid ""
618
- "I cannot find the license key for activating the theme I have bought "
619
- "some time ago. Where can I find it?"
620
- msgstr ""
621
-
622
- #: plugin-fw/licence/lib/yit-theme-licence.php:163
623
- msgid ""
624
- "If you have purchased one of our products before 27 January 2015, you "
625
- "can benefit from support and updates (the services offered with the "
626
- "license)\n"
627
- " until 27 January 2016 and you do not have to "
628
- "purchase it again to get a new license key, because, before this date, "
629
- "your license used to be activated automatically by our system.\n"
630
- " After 27 January 2016, instead, if you want to "
631
- "benefit from support and updates you have to buy a new license and "
632
- "activate it through the license key you will be\n"
633
- " provided with and that you can find in your "
634
- "YIThemes account, in section \"My licenses\"."
635
- msgstr ""
636
-
637
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:23
638
- msgid "Yithemes License Activation"
639
- msgstr ""
640
-
641
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:27
642
- msgid ""
643
- "Have you updated your licenses? Have you asked for an extension? "
644
- "Update information concerning your products."
645
- msgstr ""
646
-
647
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:29
648
- msgid "Update license information"
649
- msgstr ""
650
-
651
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:42
652
- msgid "Product to activate"
653
- msgid_plural "Products to activate"
654
- msgstr[0] ""
655
- msgstr[1] ""
656
-
657
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:61
658
- msgid "Activate"
659
- msgstr ""
660
-
661
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:80
662
- msgid "Activated"
663
- msgstr ""
664
-
665
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:86
666
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:164
667
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:194
668
- msgid "Product Name"
669
- msgstr ""
670
-
671
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:92
672
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:201
673
- msgid "Expires"
674
- msgstr ""
675
-
676
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:95
677
- msgid "Remaining"
678
- msgstr ""
679
-
680
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:97
681
- msgid "Membership"
682
- msgstr ""
683
-
684
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:101
685
- msgid "License Actions"
686
- msgstr ""
687
-
688
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:126
689
- #, php-format
690
- msgid "%1s out of %2s"
691
- msgstr ""
692
-
693
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:142
694
- msgid "Deactivate"
695
- msgstr ""
696
-
697
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:147
698
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:204
699
- msgid "Renew"
700
- msgstr ""
701
-
702
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:160
703
- msgid "Banned"
704
- msgstr ""
705
-
706
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:190
707
- msgid "Expired"
708
- msgstr ""
709
-
710
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:226
711
- msgid "Order again"
712
- msgstr ""
713
-
714
- #: plugin-fw/licence/templates/panel/activation/activation-panel.php:228
715
- msgid "Renew license"
716
- msgstr ""
717
-
718
- #: plugin-fw/templates/metaboxes/types/ajax-products.php:23
719
- msgid "Search for a product"
720
- msgstr ""
721
-
722
- #: plugin-fw/templates/metaboxes/types/categories.php:36
723
- msgid "No categories."
724
- msgstr ""
725
-
726
- #: plugin-fw/templates/metaboxes/types/categories.php:42
727
- msgid "+ Add New Category"
728
- msgstr ""
729
-
730
- #: plugin-fw/templates/metaboxes/types/contactform.php:7
731
- msgid "Text Input"
732
- msgstr ""
733
-
734
- #: plugin-fw/templates/metaboxes/types/contactform.php:8
735
- msgid "Checkbox"
736
- msgstr ""
737
-
738
- #: plugin-fw/templates/metaboxes/types/contactform.php:9
739
- msgid "Select"
740
- msgstr ""
741
-
742
- #: plugin-fw/templates/metaboxes/types/contactform.php:10
743
- msgid "Textarea"
744
- msgstr ""
745
-
746
- #: plugin-fw/templates/metaboxes/types/contactform.php:11
747
- msgid "Radio Input"
748
- msgstr ""
749
-
750
- #: plugin-fw/templates/metaboxes/types/contactform.php:12
751
- msgid "Password Field"
752
- msgstr ""
753
-
754
- #: plugin-fw/templates/metaboxes/types/contactform.php:13
755
- msgid "File Upload"
756
- msgstr ""
757
-
758
- #: plugin-fw/templates/metaboxes/types/contactform.php:47
759
- msgid "Theme Icon"
760
- msgstr ""
761
-
762
- #: plugin-fw/templates/metaboxes/types/contactform.php:48
763
- msgid "Custom Icon"
764
- msgstr ""
765
-
766
- #: plugin-fw/templates/metaboxes/types/contactform.php:49
767
- #: plugin-fw/templates/metaboxes/types/responsivesliders.php:24
768
- msgid "None"
769
- msgstr ""
770
-
771
- #: plugin-fw/templates/metaboxes/types/contactform.php:60
772
- msgid "Add field"
773
- msgstr ""
774
-
775
- #: plugin-fw/templates/metaboxes/types/contactform.php:69
776
- #: plugin-fw/templates/metaboxes/types/contactform.php:261
777
- #: plugin-fw/templates/metaboxes/types/customtabs.php:37
778
- #: plugin-fw/templates/metaboxes/types/customtabs.php:82
779
- msgid "Remove"
780
- msgstr ""
781
-
782
- #: plugin-fw/templates/metaboxes/types/contactform.php:70
783
- #: plugin-fw/templates/metaboxes/types/contactform.php:262
784
- msgid "Click to toggle"
785
- msgstr ""
786
-
787
- #: plugin-fw/templates/metaboxes/types/contactform.php:77
788
- #: plugin-fw/templates/metaboxes/types/contactform.php:269
789
- msgid "Field Title"
790
- msgstr ""
791
-
792
- #: plugin-fw/templates/metaboxes/types/contactform.php:81
793
- #: plugin-fw/templates/metaboxes/types/contactform.php:273
794
- msgid "Insert the title for the field."
795
- msgstr ""
796
-
797
- #: plugin-fw/templates/metaboxes/types/contactform.php:86
798
- #: plugin-fw/templates/metaboxes/types/contactform.php:278
799
- msgid "Data Name"
800
- msgstr ""
801
-
802
- #: plugin-fw/templates/metaboxes/types/contactform.php:90
803
- #: plugin-fw/templates/metaboxes/types/contactform.php:282
804
- msgid ""
805
- "REQUIRED: Field identification name to be entered into email body. "
806
- "<strong>Note:</strong>Use only lowercase characters and underscores."
807
- msgstr ""
808
-
809
- #: plugin-fw/templates/metaboxes/types/contactform.php:95
810
- #: plugin-fw/templates/metaboxes/types/contactform.php:287
811
- msgid "Field Type"
812
- msgstr ""
813
-
814
- #: plugin-fw/templates/metaboxes/types/contactform.php:103
815
- #: plugin-fw/templates/metaboxes/types/contactform.php:295
816
- msgid "Select the type for this field."
817
- msgstr ""
818
-
819
- #: plugin-fw/templates/metaboxes/types/contactform.php:108
820
- #: plugin-fw/templates/metaboxes/types/contactform.php:300
821
- msgid "Checked"
822
- msgstr ""
823
-
824
- #: plugin-fw/templates/metaboxes/types/contactform.php:112
825
- #: plugin-fw/templates/metaboxes/types/contactform.php:304
826
- msgid ""
827
- "Select this option if you want this field appears as already checked."
828
- msgstr ""
829
-
830
- #: plugin-fw/templates/metaboxes/types/contactform.php:117
831
- #: plugin-fw/templates/metaboxes/types/contactform.php:309
832
- msgid "Add options "
833
- msgstr ""
834
-
835
- #: plugin-fw/templates/metaboxes/types/contactform.php:118
836
- #: plugin-fw/templates/metaboxes/types/contactform.php:310
837
- msgid "Add option"
838
- msgstr ""
839
-
840
- #: plugin-fw/templates/metaboxes/types/contactform.php:121
841
- #: plugin-fw/templates/metaboxes/types/contactform.php:313
842
- #: plugin-fw/templates/metaboxes/types/contactform.php:436
843
- msgid "Selected"
844
- msgstr ""
845
-
846
- #: plugin-fw/templates/metaboxes/types/contactform.php:124
847
- #: plugin-fw/templates/metaboxes/types/contactform.php:316
848
- #: plugin-fw/templates/metaboxes/types/contactform.php:436
849
- msgid "Delete option"
850
- msgstr ""
851
-
852
- #: plugin-fw/templates/metaboxes/types/contactform.php:130
853
- #: plugin-fw/templates/metaboxes/types/contactform.php:322
854
- msgid "Error Message"
855
- msgstr ""
856
-
857
- #: plugin-fw/templates/metaboxes/types/contactform.php:134
858
- #: plugin-fw/templates/metaboxes/types/contactform.php:326
859
- msgid "Insert the error message for validation."
860
- msgstr ""
861
-
862
- #: plugin-fw/templates/metaboxes/types/contactform.php:139
863
- #: plugin-fw/templates/metaboxes/types/contactform.php:331
864
- msgid "Required"
865
- msgstr ""
866
-
867
- #: plugin-fw/templates/metaboxes/types/contactform.php:143
868
- #: plugin-fw/templates/metaboxes/types/contactform.php:335
869
- msgid "Select this option if it must be required."
870
- msgstr ""
871
-
872
- #: plugin-fw/templates/metaboxes/types/contactform.php:152
873
- #: plugin-fw/templates/metaboxes/types/contactform.php:344
874
- msgid "Select this option if the email must be valid."
875
- msgstr ""
876
-
877
- #: plugin-fw/templates/metaboxes/types/contactform.php:157
878
- #: plugin-fw/templates/metaboxes/types/contactform.php:349
879
- msgid "Reply To"
880
- msgstr ""
881
-
882
- #: plugin-fw/templates/metaboxes/types/contactform.php:161
883
- #: plugin-fw/templates/metaboxes/types/contactform.php:353
884
- msgid "Select this if it is the email you can reply to."
885
- msgstr ""
886
-
887
- #: plugin-fw/templates/metaboxes/types/contactform.php:166
888
- #: plugin-fw/templates/metaboxes/types/contactform.php:358
889
- msgid "Class"
890
- msgstr ""
891
-
892
- #: plugin-fw/templates/metaboxes/types/contactform.php:170
893
- #: plugin-fw/templates/metaboxes/types/contactform.php:362
894
- msgid ""
895
- "Insert additional class(es) (separated by commas) for more "
896
- "personalization."
897
- msgstr ""
898
-
899
- #: plugin-fw/templates/metaboxes/types/contactform.php:175
900
- #: plugin-fw/templates/metaboxes/types/contactform.php:367
901
- msgid "Icon"
902
- msgstr ""
903
-
904
- #: plugin-fw/templates/metaboxes/types/contactform.php:203
905
- #: plugin-fw/templates/metaboxes/types/contactform.php:391
906
- #: plugin-fw/templates/metaboxes/types/icon-list.php:69
907
- #: plugin-fw/templates/metaboxes/types/select-icon.php:33
908
- #: plugin-fw/templates/metaboxes/types/upload.php:21
909
- #: plugin-fw/templates/panel/types/upload.php:31
910
- #: plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:40
911
- msgid "Upload"
912
- msgstr ""
913
-
914
- #: plugin-fw/templates/metaboxes/types/contactform.php:209
915
- #: plugin-fw/templates/metaboxes/types/contactform.php:397
916
- #: plugin-fw/templates/metaboxes/types/icon-list.php:75
917
- #: plugin-fw/templates/metaboxes/types/select-icon.php:39
918
- msgid "Image preview"
919
- msgstr ""
920
-
921
- #: plugin-fw/templates/metaboxes/types/contactform.php:217
922
- #: plugin-fw/templates/metaboxes/types/contactform.php:405
923
- msgid "Insert an icon for more personalization."
924
- msgstr ""
925
-
926
- #: plugin-fw/templates/metaboxes/types/contactform.php:222
927
- #: plugin-fw/templates/metaboxes/types/contactform.php:409
928
- msgid "Width"
929
- msgstr ""
930
-
931
- #: plugin-fw/templates/metaboxes/types/contactform.php:247
932
- #: plugin-fw/templates/metaboxes/types/contactform.php:421
933
- msgid "Set field length."
934
- msgstr ""
935
-
936
- #: plugin-fw/templates/metaboxes/types/customtabs.php:28
937
- msgid "Close all"
938
- msgstr ""
939
-
940
- #: plugin-fw/templates/metaboxes/types/customtabs.php:28
941
- msgid "Expand all"
942
- msgstr ""
943
-
944
- #: plugin-fw/templates/metaboxes/types/customtabs.php:52
945
- #: plugin-fw/templates/metaboxes/types/customtabs.php:95
946
- msgid "Value"
947
- msgstr ""
948
-
949
- #: plugin-fw/templates/metaboxes/types/customtabs.php:53
950
- #: plugin-fw/templates/metaboxes/types/customtabs.php:96
951
- msgid "Content of the tab. (HTML is supported)"
952
- msgstr ""
953
-
954
- #: plugin-fw/templates/metaboxes/types/customtabs.php:65
955
- msgid "Add custom product tab"
956
- msgstr ""
957
-
958
- #: plugin-fw/templates/metaboxes/types/customtabs.php:107
959
- msgid "Do you want to remove the custom tab?"
960
- msgstr ""
961
-
962
- #: plugin-fw/templates/metaboxes/types/icon-list.php:89
963
- #, php-format
964
- msgid "(Default: %s <img src=\"%s\"/>)"
965
- msgstr ""
966
-
967
- #: plugin-fw/templates/metaboxes/types/icon-list.php:91
968
- #, php-format
969
- msgid "(Default: <i %s></i> )"
970
- msgstr ""
971
-
972
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:40
973
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
974
- #: plugin-fw/templates/metaboxes/types/images.php:38
975
- #: plugin-fw/templates/metaboxes/types/images.php:64
976
- msgid "Delete image"
977
- msgstr ""
978
-
979
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
980
- msgid "Add Images to Gallery"
981
- msgstr ""
982
-
983
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
984
- msgid "Add to gallery"
985
- msgstr ""
986
-
987
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
988
- msgid "Add images"
989
- msgstr ""
990
-
991
- #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
992
- msgid "Delete"
993
- msgstr ""
994
-
995
- #: plugin-fw/templates/metaboxes/types/images.php:42
996
- msgid "Upload new images"
997
- msgstr ""
998
-
999
- #: plugin-fw/templates/metaboxes/types/images.php:75
1000
- msgid "Are you sure you want to remove this image?"
1001
- msgstr ""
1002
-
1003
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
1004
- #: plugin-fw/templates/metaboxes/types/sidebars.php:36
1005
- msgid "Left sidebar"
1006
- msgstr ""
1007
-
1008
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
1009
- #: plugin-fw/templates/metaboxes/types/sidebars.php:42
1010
- #: plugin-fw/templates/metaboxes/types/sidebars.php:45
1011
- msgid "No sidebar"
1012
- msgstr ""
1013
-
1014
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
1015
- #: plugin-fw/templates/metaboxes/types/sidebars.php:39
1016
- msgid "Right sidebar"
1017
- msgstr ""
1018
-
1019
- #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
1020
- #: plugin-fw/templates/metaboxes/types/sidebars.php:53
1021
- #: plugin-fw/templates/metaboxes/types/sidebars.php:64
1022
- msgid "Choose a sidebar"
1023
- msgstr ""
1024
-
1025
- #: plugin-fw/templates/metaboxes/types/sidebars.php:51
1026
- msgid "Left Sidebar"
1027
- msgstr ""
1028
-
1029
- #: plugin-fw/templates/metaboxes/types/sidebars.php:62
1030
- msgid "Right Sidebar"
1031
- msgstr ""
1032
-
1033
- #: plugin-fw/templates/metaboxes/types/typography.php:42
1034
- msgid "px"
1035
- msgstr ""
1036
-
1037
- #: plugin-fw/templates/metaboxes/types/typography.php:43
1038
- msgid "em"
1039
- msgstr ""
1040
-
1041
- #: plugin-fw/templates/metaboxes/types/typography.php:44
1042
- msgid "pt"
1043
- msgstr ""
1044
-
1045
- #: plugin-fw/templates/metaboxes/types/typography.php:45
1046
- msgid "rem"
1047
- msgstr ""
1048
-
1049
- #: plugin-fw/templates/metaboxes/types/typography.php:59
1050
- #: plugin-fw/templates/metaboxes/types/typography.php:153
1051
- #: plugin-fw/templates/metaboxes/types/typography.php:217
1052
- msgid "Web fonts"
1053
- msgstr ""
1054
-
1055
- #: plugin-fw/templates/metaboxes/types/typography.php:71
1056
- msgid "Google fonts"
1057
- msgstr ""
1058
-
1059
- #: plugin-fw/templates/metaboxes/types/typography.php:96
1060
- msgid "Regular"
1061
- msgstr ""
1062
-
1063
- #: plugin-fw/templates/metaboxes/types/typography.php:97
1064
- msgid "Bold"
1065
- msgstr ""
1066
-
1067
- #: plugin-fw/templates/metaboxes/types/typography.php:98
1068
- msgid "Extra bold"
1069
- msgstr ""
1070
-
1071
- #: plugin-fw/templates/metaboxes/types/typography.php:99
1072
- msgid "Italic"
1073
- msgstr ""
1074
-
1075
- #: plugin-fw/templates/metaboxes/types/typography.php:100
1076
- msgid "Italic bold"
1077
- msgstr ""
1078
-
1079
- #: plugin-fw/templates/panel/types/upload.php:32
1080
- msgid "Reset"
1081
- msgstr ""
1082
-
1083
- #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
1084
- msgid "Reset Defaults"
1085
- msgstr ""
1086
-
1087
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:5
1088
- msgid "Upgrade to Premium Version"
1089
- msgstr ""
1090
-
1091
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:6
1092
- msgid ""
1093
- "Hai comprato la versione premium di un plugin ? Dopo l'acquisto non "
1094
- "trovi dove attivare la licenza del tuo plugin premium ?"
1095
- msgstr ""
1096
-
1097
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:8
1098
- msgid ""
1099
- "Per passare da un plugin FREE ad uno PREMIUM non basta semplicemnete "
1100
- "inserire la chiave di licenza che ti è stata fornita dopo aver "
1101
- "completato l'acquisto.\n"
1102
- " Questo perchè fisicamente si tratta di due prodotti diversi, "
1103
- "con differenze sostanziali sia nelle opzioni disponibili sia sul "
1104
- "numero di file presenti all'interno del pacchetto del plugin stesso.\n"
1105
- " Per iniziare ad usare il plugin PREMIUM che hai appena "
1106
- "acquistato devi semplicemente scaricare il pacchetto PREMIUM ed "
1107
- "installarlo sul tuo sito."
1108
- msgstr ""
1109
-
1110
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:12
1111
- msgid ""
1112
- "Non sai come fare ? Non è un problema, segui i passi elencati qui "
1113
- "sotto ed in pochi minuti avrai il plugin acquistato correttamente "
1114
- "installato sul tuo sito."
1115
- msgstr ""
1116
-
1117
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:15
1118
- msgid "Vai su yithemes.com ed effettua il login alla sezione My Account "
1119
- msgstr ""
1120
-
1121
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:18
1122
- msgid ""
1123
- "Dal menù di sinistra clicca su \"My Downloads\" e cerca tra i download "
1124
- "disponibili il plugin che vuoi installare, e clicca su \"Download\""
1125
- msgstr ""
1126
-
1127
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:21
1128
- msgid ""
1129
- "Non appena il download del pacchetto sarà completato recati sul tuo "
1130
- "sito web ed effettua il login all'area amministrazione di WordPress."
1131
- msgstr ""
1132
-
1133
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:24
1134
- msgid ""
1135
- "Dal menù di sinistra clicca sulla voce Plugins. Verrai indirizzato su "
1136
- "una pagina con la lista dei plugin disponibili sul tuo sito. Clicca "
1137
- "sul pulsante \"Add New\" che trovi in alto a sinistra vicino al titolo "
1138
- "della pagina."
1139
- msgstr ""
1140
-
1141
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:27
1142
- msgid ""
1143
- "Verrai indirizzato su una nuova pagina dove trovi, in alto a sinistra "
1144
- "vicino al titolo della pagina, il pulsante \"Upload Plugin\"."
1145
- msgstr ""
1146
-
1147
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:30
1148
- msgid ""
1149
- "Cliccando su \"Upload Plugins\", ti troverai in una pagina dove poter "
1150
- "effettuare l'upload del pacchetto del plugin PREMIUM da te "
1151
- "precedentemente scaricato. Clicca quindi su \"Scegli File\", cerca la "
1152
- "cartella di download dove hai scaricato il plugin ed effettua il "
1153
- "caricamneto del pacchetto. A questo punto ti basta attendere qualche "
1154
- "minuto che il pacchetto venga caricato ed installato sul tuo sito."
1155
- msgstr ""
1156
-
1157
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:33
1158
- msgid "Al termine della procedura di installazione clicca su \"Attiva\""
1159
- msgstr ""
1160
-
1161
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:36
1162
- msgid ""
1163
- "Se tutto è andato per il meglio il tuo plugin è correttamente "
1164
- "installato sul tuo sito web. Enjoy it :-)"
1165
- msgstr ""
1166
-
1167
- #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:39
1168
- msgid ""
1169
- "Ultimo step è attivare il plugin con la chiave di licenza che hai "
1170
- "ricevuto dopo l'acquisto. Clicca quindi sul link \"License Activation"
1171
- "\" che trovi sotto \"YITH Plugins\" ed inserisci la license key in tuo "
1172
- "possesso ed email utilizzata in fase di acquisto. Se non trovi l'email "
1173
- "che ti abbiamo inviato contenete la license key puoi facilmente "
1174
- "recuperarla dalla sezione \"My Licenses\" all'interno della sezione My "
1175
- "Account del nostro sito yithemes.com."
1176
- msgstr ""
1177
-
1178
  #: settings/custom-style-options.php:24
1179
- msgid "Put here your custom CSS rules:"
1180
  msgstr ""
1181
 
1182
  #: settings/frontend-options.php:12
1183
- msgid "General Settings"
1184
  msgstr ""
1185
 
1186
  #: settings/frontend-options.php:25
@@ -1191,12 +105,12 @@ msgstr ""
1191
  #: settings/frontend-options.php:27
1192
  msgctxt "Admin: Panel section description"
1193
  msgid ""
1194
- "If your theme use the WooCommerce standard templates, you don't need "
1195
  "to change the following values.\n"
1196
  " Otherwise, add the classes used in the "
1197
- "template of your theme.\n"
1198
- " If you don't know them, please contact "
1199
- "the developer of your theme to receive the correct classes."
1200
  msgstr ""
1201
 
1202
  #: settings/frontend-options.php:33
@@ -1204,7 +118,7 @@ msgid "Product Container"
1204
  msgstr ""
1205
 
1206
  #: settings/frontend-options.php:34
1207
- msgid "Put here the CSS class or id for the product container"
1208
  msgstr ""
1209
 
1210
  #: settings/frontend-options.php:41
@@ -1212,7 +126,7 @@ msgid "Shop Pagination Container"
1212
  msgstr ""
1213
 
1214
  #: settings/frontend-options.php:42
1215
- msgid "Put here the CSS class or id for the shop pagination container"
1216
  msgstr ""
1217
 
1218
  #: settings/frontend-options.php:49
@@ -1220,7 +134,7 @@ msgid "Result Count Container"
1220
  msgstr ""
1221
 
1222
  #: settings/frontend-options.php:50
1223
- msgid "Put here the CSS class or id for the result count container"
1224
  msgstr ""
1225
 
1226
  #: settings/frontend-options.php:57
@@ -1228,21 +142,21 @@ msgid "Scroll top anchor"
1228
  msgstr ""
1229
 
1230
  #: settings/frontend-options.php:58
1231
- msgid "Put here the HTML tag for the scroll top in mobile"
1232
  msgstr ""
1233
 
1234
- #: templates/admin/premium.php:203 templates/admin/premium.php:377
1235
  #, php-format
1236
  msgid ""
1237
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax "
1238
  "Product Filter%2$s to benefit from all features!"
1239
  msgstr ""
1240
 
1241
- #: templates/admin/premium.php:206 templates/admin/premium.php:380
1242
  msgid "UPGRADE"
1243
  msgstr ""
1244
 
1245
- #: templates/admin/premium.php:207 templates/admin/premium.php:381
1246
  msgid "to the premium version"
1247
  msgstr ""
1248
 
@@ -1378,8 +292,45 @@ msgid ""
1378
  "products."
1379
  msgstr ""
1380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1381
  #: widgets/class.yith-wcan-navigation-widget.php:36
1382
- msgid "Filter the product list without reloading the page"
1383
  msgstr ""
1384
 
1385
  #: widgets/class.yith-wcan-navigation-widget.php:39
@@ -1387,63 +338,67 @@ msgctxt "Admin: Widget Title"
1387
  msgid "YITH WooCommerce Ajax Product Filter"
1388
  msgstr ""
1389
 
1390
- #: widgets/class.yith-wcan-navigation-widget.php:300
1391
  msgid "Filters:"
1392
  msgstr ""
1393
 
1394
- #: widgets/class.yith-wcan-navigation-widget.php:863
1395
  msgid "List"
1396
  msgstr ""
1397
 
1398
- #: widgets/class.yith-wcan-navigation-widget.php:865
1399
  msgid "Label"
1400
  msgstr ""
1401
 
1402
- #: widgets/class.yith-wcan-navigation-widget.php:866
1403
  msgid "Dropdown"
1404
  msgstr ""
1405
 
1406
- #: widgets/class.yith-wcan-navigation-widget.php:873
1407
- #: widgets/class.yith-wcan-reset-navigation-widget.php:100
1408
  msgid "Title"
1409
  msgstr ""
1410
 
1411
- #: widgets/class.yith-wcan-navigation-widget.php:879
1412
  msgid "Type:"
1413
  msgstr ""
1414
 
1415
- #: widgets/class.yith-wcan-navigation-widget.php:890
1416
  msgid "Query Type:"
1417
  msgstr ""
1418
 
1419
- #: widgets/class.yith-wcan-navigation-widget.php:892
1420
  msgid "AND"
1421
  msgstr ""
1422
 
1423
- #: widgets/class.yith-wcan-navigation-widget.php:893
1424
  msgid "OR"
1425
  msgstr ""
1426
 
1427
- #: widgets/class.yith-wcan-navigation-widget.php:899
1428
  msgid "Attribute:"
1429
  msgstr ""
1430
 
1431
- #: widgets/class.yith-wcan-navigation-widget.php:906
1432
  msgid "Display (default All):"
1433
  msgstr ""
1434
 
1435
- #: widgets/class.yith-wcan-navigation-widget.php:908
1436
  msgid "All (no hierarchical)"
1437
  msgstr ""
1438
 
1439
- #: widgets/class.yith-wcan-navigation-widget.php:909
1440
  msgid "All (hierarchical)"
1441
  msgstr ""
1442
 
1443
- #: widgets/class.yith-wcan-navigation-widget.php:910
1444
  msgid "Only Parent"
1445
  msgstr ""
1446
 
 
 
 
 
1447
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
1448
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
1449
  msgstr ""
@@ -1452,10 +407,10 @@ msgstr ""
1452
  msgid "YITH WooCommerce Ajax Reset Filter"
1453
  msgstr ""
1454
 
1455
- #: widgets/class.yith-wcan-reset-navigation-widget.php:93
1456
  msgid "Reset All Filters"
1457
  msgstr ""
1458
 
1459
- #: widgets/class.yith-wcan-reset-navigation-widget.php:106
1460
  msgid "Button Label"
1461
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2016-06-13 16:11+0200\n"
7
  "PO-Revision-Date: 2015-06-19 13:59+0100\n"
8
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
9
  "Language-Team: \n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Generator: Poedit 1.8.4\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
+ "X-Poedit-Basepath: ..\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
23
 
24
+ #: includes/class.yith-wcan-admin.php:126
25
  msgid "Front end"
26
  msgstr ""
27
 
28
+ #: includes/class.yith-wcan-admin.php:127
29
  #: settings/custom-style-options.php:12
30
  msgid "Custom Style"
31
  msgstr ""
32
 
33
+ #: includes/class.yith-wcan-admin.php:128
34
+ #: includes/class.yith-wcan-admin.php:195
35
  msgid "Premium Version"
36
  msgstr ""
37
 
38
+ #: includes/class.yith-wcan-admin.php:134
39
+ #: includes/class.yith-wcan-admin.php:135
40
  msgid "Ajax Product Filter"
41
  msgstr ""
42
 
43
+ #: includes/class.yith-wcan-admin.php:191
44
  msgid "Premium live demo"
45
  msgstr ""
46
 
47
+ #: includes/class.yith-wcan-admin.php:191
48
  msgid "Live demo"
49
  msgstr ""
50
 
51
+ #: includes/class.yith-wcan-admin.php:219
52
  msgid "Plugin Documentation"
53
  msgstr ""
54
 
59
  msgstr ""
60
 
61
  #: includes/functions.yith-wcan.php:57
62
+ #: widgets/class.yith-wcan-navigation-widget.php:706
63
  msgid "Color"
64
  msgstr ""
65
 
89
  "Filter while you are using the premium one."
90
  msgstr ""
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  #: settings/custom-style-options.php:24
93
+ msgid "Enter here your custom CSS rules:"
94
  msgstr ""
95
 
96
  #: settings/frontend-options.php:12
97
+ msgid "Frontend Settings"
98
  msgstr ""
99
 
100
  #: settings/frontend-options.php:25
105
  #: settings/frontend-options.php:27
106
  msgctxt "Admin: Panel section description"
107
  msgid ""
108
+ "If your theme is using WooCommerce standard templates, you don't need "
109
  "to change the following values.\n"
110
  " Otherwise, add the classes used in the "
111
+ "templates of your theme.\n"
112
+ " If you don't know how to do, please "
113
+ "contact the developer of your theme to be correctly instructed."
114
  msgstr ""
115
 
116
  #: settings/frontend-options.php:33
118
  msgstr ""
119
 
120
  #: settings/frontend-options.php:34
121
+ msgid "Enter here the CSS class or id for the product container"
122
  msgstr ""
123
 
124
  #: settings/frontend-options.php:41
126
  msgstr ""
127
 
128
  #: settings/frontend-options.php:42
129
+ msgid "Enter here the CSS class or id for the shop pagination container"
130
  msgstr ""
131
 
132
  #: settings/frontend-options.php:49
134
  msgstr ""
135
 
136
  #: settings/frontend-options.php:50
137
+ msgid "Enter here the CSS class or id for the results count container"
138
  msgstr ""
139
 
140
  #: settings/frontend-options.php:57
142
  msgstr ""
143
 
144
  #: settings/frontend-options.php:58
145
+ msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
146
  msgstr ""
147
 
148
+ #: templates/admin/premium.php:203 templates/admin/premium.php:425
149
  #, php-format
150
  msgid ""
151
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax "
152
  "Product Filter%2$s to benefit from all features!"
153
  msgstr ""
154
 
155
+ #: templates/admin/premium.php:206 templates/admin/premium.php:428
156
  msgid "UPGRADE"
157
  msgstr ""
158
 
159
+ #: templates/admin/premium.php:207 templates/admin/premium.php:429
160
  msgid "to the premium version"
161
  msgstr ""
162
 
292
  "products."
293
  msgstr ""
294
 
295
+ #: templates/admin/premium.php:381
296
+ msgid "Page url"
297
+ msgstr ""
298
+
299
+ #: templates/admin/premium.php:384
300
+ msgid ""
301
+ "Each applied filter generates a new url for the page. You can decide "
302
+ "to keep the same url or let it get automatically updated every time "
303
+ "user applies a filter to the products list of your shop."
304
+ msgstr ""
305
+
306
+ #: templates/admin/premium.php:394
307
+ msgid "Filter by tag"
308
+ msgstr ""
309
+
310
+ #: templates/admin/premium.php:397
311
+ msgid ""
312
+ "If you use tags as a powerful tool to classify your products, you can "
313
+ "configure an ad-hoc filter to be used on your products also by tag. In "
314
+ "addition, you could organize your tags in a hierarchy and have "
315
+ "appropriate tools for a better management of your products."
316
+ msgstr ""
317
+
318
+ #: templates/admin/premium.php:413
319
+ msgid "Reset"
320
+ msgstr ""
321
+
322
+ #: templates/admin/premium.php:416
323
+ msgid ""
324
+ "User experience on the site requires handiness and insight. This is "
325
+ "why it is unreasonable to deselect filters one by one to go back to "
326
+ "the main view when multiple filters have been applied to the product "
327
+ "list. The plugin also manages this action by a specific button which "
328
+ "reset filters and by other two which refresh the main view of "
329
+ "categories and/or tags."
330
+ msgstr ""
331
+
332
  #: widgets/class.yith-wcan-navigation-widget.php:36
333
+ msgid "Filter the list of products without reloading the page"
334
  msgstr ""
335
 
336
  #: widgets/class.yith-wcan-navigation-widget.php:39
338
  msgid "YITH WooCommerce Ajax Product Filter"
339
  msgstr ""
340
 
341
+ #: widgets/class.yith-wcan-navigation-widget.php:139
342
  msgid "Filters:"
343
  msgstr ""
344
 
345
+ #: widgets/class.yith-wcan-navigation-widget.php:705
346
  msgid "List"
347
  msgstr ""
348
 
349
+ #: widgets/class.yith-wcan-navigation-widget.php:707
350
  msgid "Label"
351
  msgstr ""
352
 
353
+ #: widgets/class.yith-wcan-navigation-widget.php:708
354
  msgid "Dropdown"
355
  msgstr ""
356
 
357
+ #: widgets/class.yith-wcan-navigation-widget.php:715
358
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:99
359
  msgid "Title"
360
  msgstr ""
361
 
362
+ #: widgets/class.yith-wcan-navigation-widget.php:721
363
  msgid "Type:"
364
  msgstr ""
365
 
366
+ #: widgets/class.yith-wcan-navigation-widget.php:732
367
  msgid "Query Type:"
368
  msgstr ""
369
 
370
+ #: widgets/class.yith-wcan-navigation-widget.php:734
371
  msgid "AND"
372
  msgstr ""
373
 
374
+ #: widgets/class.yith-wcan-navigation-widget.php:735
375
  msgid "OR"
376
  msgstr ""
377
 
378
+ #: widgets/class.yith-wcan-navigation-widget.php:741
379
  msgid "Attribute:"
380
  msgstr ""
381
 
382
+ #: widgets/class.yith-wcan-navigation-widget.php:748
383
  msgid "Display (default All):"
384
  msgstr ""
385
 
386
+ #: widgets/class.yith-wcan-navigation-widget.php:750
387
  msgid "All (no hierarchical)"
388
  msgstr ""
389
 
390
+ #: widgets/class.yith-wcan-navigation-widget.php:751
391
  msgid "All (hierarchical)"
392
  msgstr ""
393
 
394
+ #: widgets/class.yith-wcan-navigation-widget.php:752
395
  msgid "Only Parent"
396
  msgstr ""
397
 
398
+ #: widgets/class.yith-wcan-navigation-widget.php:759
399
+ msgid "CSS custom class"
400
+ msgstr ""
401
+
402
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
403
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
404
  msgstr ""
407
  msgid "YITH WooCommerce Ajax Reset Filter"
408
  msgstr ""
409
 
410
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:92
411
  msgid "Reset All Filters"
412
  msgstr ""
413
 
414
+ #: widgets/class.yith-wcan-reset-navigation-widget.php:105
415
  msgid "Button Label"
416
  msgstr ""
plugin-fw/assets/images/upgrade-page/01.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/02.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/03.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/04.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/05.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/06.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/07.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/08.jpg DELETED
Binary file
plugin-fw/assets/images/upgrade-page/09.jpg DELETED
Binary file
plugin-fw/assets/js/how-to.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ (function($){
2
+ var how_to_link = $('#yith-how-to-premium').parent();
3
+ if( typeof how_to_link != 'undefined' ){
4
+ how_to_link.prop( 'target', '_blank' );
5
+ }
6
+ })(jQuery);
plugin-fw/assets/js/multisite-updater.js CHANGED
@@ -54,7 +54,7 @@
54
  info = plugin[headers],
55
  name = '' + info.Name,
56
  id = name.replace(regex, '-').trim(),
57
- row = '#' + id.toLowerCase();
58
 
59
  $(row).addClass("update");
60
 
54
  info = plugin[headers],
55
  name = '' + info.Name,
56
  id = name.replace(regex, '-').trim(),
57
+ row = '*[data-slug="' + id.toLowerCase() +'"]';
58
 
59
  $(row).addClass("update");
60
 
plugin-fw/assets/js/multisite-updater.min.js CHANGED
@@ -1,4 +1 @@
1
- (function(m){function n(c,d,k){this.php_js=this.php_js||{};this.php_js.ENV=this.php_js.ENV||{};var a=0,e=0,b=0,f={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},a=function(a){a=(""+a).replace(/[_\-+]/g,".");a=a.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".");return a.length?a.split("."):[-8]};numVersion=function(a){return a?isNaN(a)?f[a]||-7:parseInt(a,10):0};c=a(c);d=a(d);e=Math.max(c.length,d.length);for(a=0;a<e;a++)if(c[a]!=d[a])if(c[a]=numVersion(c[a]),d[a]=numVersion(d[a]),
2
- c[a]<d[a]){b=-1;break}else if(c[a]>d[a]){b=1;break}if(!k)return b;switch(k){case ">":case "gt":return 0<b;case ">=":case "ge":return 0<=b;case "<=":case "le":return 0>=b;case "==":case "=":case "eq":return 0===b;case "<>":case "!=":case "ne":return 0!==b;case "":case "<":case "lt":return 0>b;default:return null}}var l=m("#menu-plugins"),g=l.find(".update-plugins").find(".update-count").text(),p=plugins.registered,q=plugins.activated;if(0==g||""==g)g=0,l.find(".wp-menu-name").append('<span class="update-plugins"><span class="plugin-count"></span></span>');
3
- (function(c,d,k,a){for(var e in c){var b=c[e],f;for(f in b)if("slug"!=f&&!n(b[f].Version,b[f].Latest,">=")){k=parseInt(k)+1;m(".plugin-count").empty().html(k);var g=""+b[f].Name,l="#"+g.replace(RegExp(" ","g"),"-").trim().toLowerCase();m(l).addClass("update");var h='<tr class="plugin-update-tr"><td colspan="3" class="plugin-update colspanchange"><div class="update-message">'+a.strings.new_version.replace("%plugin_name%",g)+'<a class="thickbox" href="'+a.details_url[e]+'">'+a.strings.latest.replace("%latest%",
4
- b[f].Latest)+"</a>",h="undefined"==typeof d[e]?h+" <em>"+a.strings.unavailable+"</em>"+a.strings.activate.replace("%activate_link%",a.licence_activation_url).replace("%plugin_name%",g):h+'. <a href="'+a.update_url[e]+'">'+a.strings.update_now+"</a>";"undefined"!=typeof a.changelogs[e]&&(h+=a.changelogs[e]);h+="</div></td></tr>";m(h).insertAfter(l)}}})(p,q,g,plugins)})(jQuery);
1
+ !function(e){function a(a,s,t,r){for(var i in a){var p=a[i];for(var l in p)if("slug"!=l&&!n(p[l].Version,p[l].Latest,">=")){t=parseInt(t)+1,e(".plugin-count").empty().html(t);var u=new RegExp(" ","g"),c=p[l],g=""+c.Name,d=g.replace(u,"-").trim(),o='*[data-slug="'+d.toLowerCase()+'"]';e(o).addClass("update");var f='<tr class="plugin-update-tr"><td colspan="3" class="plugin-update colspanchange"><div class="update-message">'+r.strings.new_version.replace("%plugin_name%",g)+'<a class="thickbox" href="'+r.details_url[i]+'">'+r.strings.latest.replace("%latest%",p[l].Latest)+"</a>";f="undefined"==typeof s[i]?f+" <em>"+r.strings.unavailable+"</em>"+r.strings.activate.replace("%activate_link%",r.licence_activation_url).replace("%plugin_name%",g):f+'. <a href="'+r.update_url[i]+'">'+r.strings.update_now+"</a>","undefined"!=typeof r.changelogs[i]&&(f+=r.changelogs[i]),f+="</div></td></tr>",e(f).insertAfter(o)}}}function n(e,a,n){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var s=0,t=0,r=0,i={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},p=function(e){return e=(""+e).replace(/[_\-+]/g,"."),e=e.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,"."),e.length?e.split("."):[-8]};for(numVersion=function(e){return e?isNaN(e)?i[e]||-7:parseInt(e,10):0},e=p(e),a=p(a),t=Math.max(e.length,a.length),s=0;t>s;s++)if(e[s]!=a[s]){if(e[s]=numVersion(e[s]),a[s]=numVersion(a[s]),e[s]<a[s]){r=-1;break}if(e[s]>a[s]){r=1;break}}if(!n)return r;switch(n){case">":case"gt":return r>0;case">=":case"ge":return r>=0;case"<=":case"le":return 0>=r;case"==":case"=":case"eq":return 0===r;case"<>":case"!=":case"ne":return 0!==r;case"":case"<":case"lt":return 0>r;default:return null}}var s=e("#menu-plugins"),t=s.find(".update-plugins"),r=t.find(".update-count").text(),i=plugins.registered,p=plugins.activated;if(0==r||""==r){var l='<span class="update-plugins"><span class="plugin-count"></span></span>';r=0,s.find(".wp-menu-name").append(l)}a(i,p,r,plugins)}(jQuery);
 
 
 
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.9.25
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
@@ -55,3 +55,20 @@ if ( ! function_exists ( 'yit_maybe_plugin_fw_loader' ) ) {
55
  }
56
  }
57
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.33
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
55
  }
56
  }
57
  }
58
+
59
+ if( is_admin() && function_exists( 'WC' ) && version_compare( WC()->version, '2.6', '<' ) ){
60
+ add_action( 'admin_notices', 'yit_before_woocommerce_2_6_update' );
61
+ }
62
+
63
+ if( ! function_exists( 'yit_before_woocommerce_2_6_update' ) ){
64
+ function yit_before_woocommerce_2_6_update(){ ?>
65
+ <div id="message" class="error notice is-dismissible">
66
+ <p>
67
+ <strong>Attention!</strong> In the following days the new version 2.6 will be released for WooCommerce. <strong>Update all YITH plugins before updating WooCommerce</strong> to version 2.6 in order to avoid any possible unexpected errors occur.
68
+ </p>
69
+ <button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>
70
+ </div>
71
+ <?php
72
+ }
73
+ }
74
+
plugin-fw/languages/yith-plugin-fw-es_ES.mo ADDED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po ADDED
@@ -0,0 +1,1170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 YIThemes
2
+ # This file is distributed under the same license as the YITH Plugin Starter package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
+ "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2016-05-16 16:37+0200\n"
8
+ "PO-Revision-Date: 2016-05-24 15:45+0100\n"
9
+ "Last-Translator: \n"
10
+ "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
+ "Language: es_ES\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.8.7\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
+ "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
+ "esc_html_x:1,2c\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+ "X-Poedit-SourceCharset: UTF-8\n"
21
+ "X-Poedit-Basepath: ..\n"
22
+ "X-Textdomain-Support: yes\n"
23
+ "X-Poedit-SearchPath-0: .\n"
24
+
25
+ #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
26
+ #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
27
+ #, php-format
28
+ msgid "Add %s"
29
+ msgstr "Añadir %s"
30
+
31
+ #: lib/yit-cpt-unlimited.php:461 lib/yit-cpt-unlimited.php:575
32
+ #, php-format
33
+ msgid "Add New %s"
34
+ msgstr "Añadir nuevo/a %s"
35
+
36
+ #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
37
+ #: lib/yit-cpt-unlimited.php:1267 lib/yit-cpt-unlimited.php:1304
38
+ #, php-format
39
+ msgid "Edit %s"
40
+ msgstr "Editar %s"
41
+
42
+ #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
43
+ #, php-format
44
+ msgid "New %s"
45
+ msgstr "Nuevo/a %s"
46
+
47
+ #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
48
+ #, php-format
49
+ msgid "All %s"
50
+ msgstr "Todo %s"
51
+
52
+ #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
53
+ #: lib/yit-cpt-unlimited.php:1251 lib/yit-cpt-unlimited.php:1305
54
+ #, php-format
55
+ msgid "View %s"
56
+ msgstr "Ver %s"
57
+
58
+ #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
59
+ #, php-format
60
+ msgid "Search %s"
61
+ msgstr "Buscar %s"
62
+
63
+ #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
64
+ #, php-format
65
+ msgid "No %s found"
66
+ msgstr "No se encontraron %s"
67
+
68
+ #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
69
+ #, php-format
70
+ msgid "No %s found in Trash"
71
+ msgstr "No se encontraron %s en la Papelera"
72
+
73
+ #: lib/yit-cpt-unlimited.php:625
74
+ #, php-format
75
+ msgctxt "taxonomy general name"
76
+ msgid "%s Categories"
77
+ msgstr "%s Categorías"
78
+
79
+ #: lib/yit-cpt-unlimited.php:626
80
+ msgctxt "taxonomy singular name"
81
+ msgid "Category"
82
+ msgstr "Categoría"
83
+
84
+ #: lib/yit-cpt-unlimited.php:627
85
+ msgid "Search Categories"
86
+ msgstr "Buscar Categorías"
87
+
88
+ #: lib/yit-cpt-unlimited.php:628
89
+ msgid "All Categories"
90
+ msgstr "Todas las categorías"
91
+
92
+ #: lib/yit-cpt-unlimited.php:629
93
+ msgid "Parent Category"
94
+ msgstr "Categoría Madre"
95
+
96
+ #: lib/yit-cpt-unlimited.php:630
97
+ msgid "Parent Category:"
98
+ msgstr "Categoría Madre:"
99
+
100
+ #: lib/yit-cpt-unlimited.php:631
101
+ msgid "Edit Category"
102
+ msgstr "Editar Categoría:"
103
+
104
+ #: lib/yit-cpt-unlimited.php:632
105
+ msgid "Update Category"
106
+ msgstr "Actualizar Categoría:"
107
+
108
+ #: lib/yit-cpt-unlimited.php:633
109
+ msgid "Add New Category"
110
+ msgstr "Añadir nueva categoría"
111
+
112
+ #: lib/yit-cpt-unlimited.php:634
113
+ msgid "New Category Name"
114
+ msgstr "Nuevo nombre de categoría"
115
+
116
+ #: lib/yit-cpt-unlimited.php:635
117
+ msgid "Category"
118
+ msgstr "Categoría"
119
+
120
+ #: lib/yit-cpt-unlimited.php:724
121
+ msgid "Categories"
122
+ msgstr "Categorías"
123
+
124
+ #: lib/yit-cpt-unlimited.php:1042
125
+ #, php-format
126
+ msgid "%s Settings"
127
+ msgstr "%s Ajustes"
128
+
129
+ #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
130
+ #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:74
131
+ msgid "Settings"
132
+ msgstr "Ajustes"
133
+
134
+ #: lib/yit-cpt-unlimited.php:1051
135
+ msgid "Type"
136
+ msgstr "Tipos"
137
+
138
+ #: lib/yit-cpt-unlimited.php:1052
139
+ #, php-format
140
+ msgid "Layout for this %s"
141
+ msgstr "Diseño para este %s"
142
+
143
+ #: lib/yit-cpt-unlimited.php:1058
144
+ msgid "Rewrite"
145
+ msgstr "Reescribir"
146
+
147
+ #: lib/yit-cpt-unlimited.php:1059
148
+ msgid ""
149
+ "Univocal identification name in the URL for each product (slug from post if empty)"
150
+ msgstr ""
151
+ "Nombre de identificación único en la URL para cada producto (slug desde la entrada "
152
+ "si está vacío)"
153
+
154
+ #: lib/yit-cpt-unlimited.php:1064
155
+ msgid "Label in Singular"
156
+ msgstr "Etiqueta en singular"
157
+
158
+ #: lib/yit-cpt-unlimited.php:1065
159
+ msgid "Set a label in singular (title of portfolio if empty)"
160
+ msgstr "Establecer una etiqueta en singular (título del portafolio si está vacío)"
161
+
162
+ #: lib/yit-cpt-unlimited.php:1070
163
+ msgid "Label in Plural"
164
+ msgstr "Etiqueta en Plural"
165
+
166
+ #: lib/yit-cpt-unlimited.php:1071
167
+ msgid "Set a label in plural (title of portfolio if empty)"
168
+ msgstr "Establecer una etiqueta en plural (título del portafolio si está vacío)"
169
+
170
+ #: lib/yit-cpt-unlimited.php:1076
171
+ msgid "Taxonomy"
172
+ msgstr "Taxonomía"
173
+
174
+ #: lib/yit-cpt-unlimited.php:1077
175
+ msgid ""
176
+ "If you want to use categories in the portfolio, set a name for taxonomy. Name "
177
+ "should be a slug (must not contain capital letters nor spaces) and must not be "
178
+ "more than 32 characters long (database structure restriction)."
179
+ msgstr ""
180
+ "Si quieres usar categorías en el portafolio, establece un nombre para la "
181
+ "taxonomía. El nombre debería ser un slug (no debe contener mayúsculas ni espacios) "
182
+ "y no debe ser más largo de 32 caracteres (restricción de estructura de base de "
183
+ "datos)."
184
+
185
+ #: lib/yit-cpt-unlimited.php:1082
186
+ msgid "Taxonomy Rewrite"
187
+ msgstr "Taxonomía de reescritura"
188
+
189
+ #: lib/yit-cpt-unlimited.php:1083
190
+ msgid "Set univocal name for each category page URL."
191
+ msgstr "Establecer nombre único para cada página URL de categoría."
192
+
193
+ #: lib/yit-cpt-unlimited.php:1088
194
+ msgid "Single layout"
195
+ msgstr "Diseño Simple"
196
+
197
+ #: lib/yit-cpt-unlimited.php:1089
198
+ msgid "Layout for single page of this portfolio"
199
+ msgstr "Diseño para cada página de este portafolio"
200
+
201
+ #: lib/yit-cpt-unlimited.php:1130
202
+ msgid "layout settings"
203
+ msgstr "Ajustes de diseño"
204
+
205
+ #: lib/yit-cpt-unlimited.php:1222 lib/yit-cpt-unlimited.php:1235
206
+ msgid "Quick links"
207
+ msgstr "Enlaces rápidos"
208
+
209
+ #: lib/yit-cpt-unlimited.php:1475
210
+ #, php-format
211
+ msgid "Show frontend of the %s"
212
+ msgstr "Mostrar parte delantera de %s"
213
+
214
+ #: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
215
+ #: templates/metaboxes/types/customtabs.php:90
216
+ msgid "Name"
217
+ msgstr "Nombre"
218
+
219
+ #: lib/yit-cpt-unlimited.php:1631
220
+ #, php-format
221
+ msgid "Add %s from images"
222
+ msgstr "Añadir %s desde imágenes"
223
+
224
+ #: lib/yit-cpt-unlimited.php:1633
225
+ msgid "Upload multiple files"
226
+ msgstr "Cargar archivos múltiples"
227
+
228
+ #: lib/yit-plugin-panel-sidebar.php:421 templates/panel/sidebar/sidebar.php:3
229
+ msgid "Hide sidebar"
230
+ msgstr "Ocultar barra lateral"
231
+
232
+ #: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
233
+ msgid "Show sidebar"
234
+ msgstr "Mostrar barra lateral"
235
+
236
+ #: lib/yit-plugin-panel-wc.php:359
237
+ msgid "The changes you have made will be lost if you leave this page."
238
+ msgstr "Los cambios que has hecho se perderán si sales de esta página."
239
+
240
+ #: lib/yit-plugin-panel.php:73
241
+ msgid "Plugin Settings"
242
+ msgstr "Ajustes del plugin"
243
+
244
+ #: lib/yit-plugin-panel.php:293
245
+ msgid "Premium version upgrade"
246
+ msgstr "Actualiza a la versión premium"
247
+
248
+ #: lib/yit-plugin-panel.php:344 lib/yit-plugin-subpanel.php:146
249
+ #: templates/panel/woocommerce/woocommerce-form.php:11
250
+ msgid "Save Changes"
251
+ msgstr "Guardar cambios"
252
+
253
+ #: lib/yit-plugin-panel.php:347 templates/panel/woocommerce/woocommerce-form.php:14
254
+ msgid "If you continue with this action, you will reset all options in this page."
255
+ msgstr "Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
256
+
257
+ #: lib/yit-plugin-panel.php:349 lib/yit-plugin-subpanel.php:151
258
+ msgid "Reset to default"
259
+ msgstr "Reiniciar a predeterminado"
260
+
261
+ #: lib/yit-plugin-panel.php:349 lib/yit-plugin-subpanel.php:151
262
+ #: templates/panel/woocommerce/woocommerce-form.php:18
263
+ msgid "Are you sure?"
264
+ msgstr "¿Estás seguro/a?"
265
+
266
+ #: lib/yit-plugin-panel.php:545
267
+ msgid "The element you have entered already exists. Please, enter another name."
268
+ msgstr "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
269
+
270
+ #: lib/yit-plugin-panel.php:546
271
+ msgid "Settings saved"
272
+ msgstr "Ajustes guardados"
273
+
274
+ #: lib/yit-plugin-panel.php:547
275
+ msgid "Settings reset"
276
+ msgstr "Ajustes reiniciados"
277
+
278
+ #: lib/yit-plugin-panel.php:548
279
+ msgid "Element deleted correctly."
280
+ msgstr "Elemento borrado correctamente."
281
+
282
+ #: lib/yit-plugin-panel.php:549 lib/yit-plugin-panel.php:550
283
+ msgid "Element updated correctly."
284
+ msgstr "Elemento actualizado correctamente."
285
+
286
+ #: lib/yit-plugin-panel.php:551
287
+ msgid "Database imported correctly."
288
+ msgstr "Base de datos importada correctamente."
289
+
290
+ #: lib/yit-plugin-panel.php:552
291
+ msgid "An error has occurred during import. Please try again."
292
+ msgstr "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
293
+
294
+ #: lib/yit-plugin-panel.php:553
295
+ msgid "The added file is not valid."
296
+ msgstr "El archivo añadido no es válido."
297
+
298
+ #: lib/yit-plugin-panel.php:554
299
+ msgid "Sorry, import is disabled."
300
+ msgstr "Lo sentimos, la importación está deshabilitada."
301
+
302
+ #: lib/yit-plugin-panel.php:555
303
+ msgid "Sorting successful."
304
+ msgstr "Clasificación fue realizada con éxito."
305
+
306
+ #: lib/yit-plugin-subpanel.php:149
307
+ msgid ""
308
+ "If you continue with this action, you will reset all the options in this page."
309
+ msgstr "Si continúas con esta acción, reiniciarás todas las opciones de esta página."
310
+
311
+ #: lib/yit-pointers.php:70
312
+ msgid "Plugins Activated"
313
+ msgstr "Plugins Activados"
314
+
315
+ #: lib/yit-pointers.php:71
316
+ msgid ""
317
+ "From now on, you can find all plugin options in YIT Plugin menu.\n"
318
+ " For each plugin installed, customization "
319
+ "settings will be available as a new entry in YIT Plugin menu."
320
+ msgstr ""
321
+ "De ahora en adelante, puedes encontrar todas las opciones del plugin en el menú "
322
+ "YIT Plugin.\n"
323
+ " Para cada plugin instalado, los ajustes de "
324
+ "personalización estarán disponibles como una nueva entrada en el menú YIT Plugin."
325
+
326
+ #: lib/yit-pointers.php:73 lib/yit-pointers.php:89
327
+ msgid "Discover all our plugins available on:"
328
+ msgstr "Descubre todos nuestros plugins disponibles en:"
329
+
330
+ #: lib/yit-pointers.php:74 lib/yit-pointers.php:90
331
+ msgid "and"
332
+ msgstr "y"
333
+
334
+ #: lib/yit-pointers.php:84
335
+ msgid "Plugins Upgraded"
336
+ msgstr "Plugins Actualizados"
337
+
338
+ #: lib/yit-pointers.php:85
339
+ msgid ""
340
+ "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
341
+ " Any time one of our plugins is updated, a new "
342
+ "entry will be added to this menu.\n"
343
+ " For example, after the update, plugin options "
344
+ "(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
345
+ " will be moved from previous location to YIT "
346
+ "Plugin tab."
347
+ msgstr ""
348
+ "De ahora en adelante, puedes encontrar todas las opciones de tus plugins en el "
349
+ "menú YIT Plugin.\n"
350
+ " Cada vez que uno de nuestros plugins sea "
351
+ "actualizado, se añadirá una nueva entrada a este menú.\n"
352
+ " Por ejemplo, después de actualizar, las "
353
+ "opciones del plugin (como las de YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
354
+ "Search, etc.)\n"
355
+ " se moverán de su posición anterior a la "
356
+ "pestaña YIT Plugin."
357
+
358
+ #: lib/yit-upgrade.php:136
359
+ msgid "There is a new version of %plugin_name% available."
360
+ msgstr "Hay una nueva versión de %plugin_name% disponible."
361
+
362
+ #: lib/yit-upgrade.php:137
363
+ msgid "View version %latest% details."
364
+ msgstr "Ver detalles de la %latest% versión"
365
+
366
+ #: lib/yit-upgrade.php:138
367
+ msgid "Automatic update is unavailable for this plugin,"
368
+ msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
369
+
370
+ #: lib/yit-upgrade.php:139
371
+ msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
372
+ msgstr "por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
373
+
374
+ #: lib/yit-upgrade.php:140
375
+ msgid "Update now."
376
+ msgstr "Actualiza ahora."
377
+
378
+ #: lib/yit-upgrade.php:243
379
+ msgid "YIThemes Repository"
380
+ msgstr "Repositorio YIThemes"
381
+
382
+ #: lib/yit-upgrade.php:277
383
+ msgid "Invalid URL Provided."
384
+ msgstr "La URL proporcionada no es válida."
385
+
386
+ #: lib/yit-upgrade.php:290
387
+ msgid "Could not create Temporary file."
388
+ msgstr "No se pudo crear un archivo temporal."
389
+
390
+ #: lib/yit-upgrade.php:432
391
+ #, php-format
392
+ msgid ""
393
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
394
+ "changelog-button\" title=\"%3$s\">View version %4$s details</a>."
395
+ msgstr ""
396
+ "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox yit-"
397
+ "changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
398
+
399
+ #: lib/yit-upgrade.php:434
400
+ #, php-format
401
+ msgid ""
402
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
403
+ "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You have to "
404
+ "activate the plugin on a single site of the network to benefit from automatic "
405
+ "updates.</em>"
406
+ msgstr ""
407
+ "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox yit-"
408
+ "changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. <em>Tienes "
409
+ "que activar el plugin en un único sitio web desdela red para beneficiarte de las "
410
+ "actualizaciones automáticas.</em>"
411
+
412
+ #: lib/yit-upgrade.php:436
413
+ #, php-format
414
+ msgid ""
415
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
416
+ "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
417
+ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"License "
418
+ "activation\">activate</a> your copy of %6s.</em>"
419
+ msgstr ""
420
+ "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox yit-"
421
+ "changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. <em>Las "
422
+ "actualizaciones automáticas no están disponibles para este plugin, por favor <a "
423
+ "href=\"%5$s\" title=\"License activation\">activa</a> tu copia de %6s.</em>"
424
+
425
+ #: lib/yit-upgrade.php:438
426
+ #, php-format
427
+ msgid ""
428
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
429
+ "changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s"
430
+ "\">update now</a>."
431
+ msgstr ""
432
+ "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox yit-"
433
+ "changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o <a href="
434
+ "\"%5$s\">actualizar ahora</a>."
435
+
436
+ #: lib/yit-upgrade.php:511
437
+ msgid "You can't update the plugins for this site."
438
+ msgstr "No puedes actualizar los plugins para este sitio web."
439
+
440
+ #: lib/yit-upgrade.php:515
441
+ msgid "You do not have sufficient permissions to update the plugins for this site."
442
+ msgstr ""
443
+ "No tienes suficientes permisos para actualizar los plugins para este sitio web."
444
+
445
+ #: lib/yit-upgrade.php:522
446
+ msgid "Update Plugin"
447
+ msgstr "Actualizar Plugin"
448
+
449
+ #: licence/lib/yit-licence.php:182
450
+ #, php-format
451
+ msgctxt "%s = field name"
452
+ msgid "%s field cannot be empty"
453
+ msgstr "%s el campo no puede estar vacío"
454
+
455
+ #: licence/lib/yit-licence.php:183
456
+ #, php-format
457
+ msgid "%s and %s fields cannot be empty"
458
+ msgstr "Los campos %s y %s no pueden estar vacíos"
459
+
460
+ #: licence/lib/yit-licence.php:184
461
+ msgid "Unable to contact the remote server, please try again later. Thanks!"
462
+ msgstr ""
463
+ "No fue posible contactar con el servidor remoto, por favor, inténtalo de nuevo más "
464
+ "tarde. ¡Gracias!"
465
+
466
+ #: licence/lib/yit-licence.php:185
467
+ #: licence/templates/panel/activation/activation-panel.php:88
468
+ #: licence/templates/panel/activation/activation-panel.php:166
469
+ #: licence/templates/panel/activation/activation-panel.php:197
470
+ #: templates/metaboxes/types/contactform.php:148
471
+ #: templates/metaboxes/types/contactform.php:340
472
+ msgid "Email"
473
+ msgstr "Email"
474
+
475
+ #: licence/lib/yit-licence.php:186
476
+ #: licence/templates/panel/activation/activation-panel.php:89
477
+ #: licence/templates/panel/activation/activation-panel.php:167
478
+ #: licence/templates/panel/activation/activation-panel.php:198
479
+ msgid "License Key"
480
+ msgstr "Clave de Licencia"
481
+
482
+ #: licence/lib/yit-licence.php:187
483
+ msgid "Are you sure you want to deactivate the license for current site?"
484
+ msgstr ""
485
+ "¿Estás seguro/a de que quieres desactivar la licencia para el sitio web actual?"
486
+
487
+ #: licence/lib/yit-licence.php:667
488
+ msgid "Invalid Request"
489
+ msgstr "Solicitud inválida"
490
+
491
+ #: licence/lib/yit-licence.php:668
492
+ msgid "Invalid license key"
493
+ msgstr "Clave de solicitud inválida"
494
+
495
+ #: licence/lib/yit-licence.php:669
496
+ msgid "Software has been deactivated"
497
+ msgstr "El software ha sido desactivado"
498
+
499
+ #: licence/lib/yit-licence.php:670
500
+ msgid "Maximum number of activations exceeded"
501
+ msgstr "Se ha excedido el número máximo de solicitudes"
502
+
503
+ #: licence/lib/yit-licence.php:671
504
+ msgid "Invalid instance ID"
505
+ msgstr "Instancia ID inválida"
506
+
507
+ #: licence/lib/yit-licence.php:672
508
+ msgid "Invalid security key"
509
+ msgstr "Clave de seguridad inválida"
510
+
511
+ #: licence/lib/yit-licence.php:673
512
+ msgid "License key has expired"
513
+ msgstr "La clave de licencia ha caducado"
514
+
515
+ #: licence/lib/yit-licence.php:674
516
+ msgid "License key has been banned"
517
+ msgstr "La clave de licencia ha sido bloqueada"
518
+
519
+ #: licence/lib/yit-licence.php:675
520
+ msgid "Current product is not included with your membership key"
521
+ msgstr "El producto actual no está incluido en tu clave de suscripción"
522
+
523
+ #: licence/lib/yit-licence.php:676
524
+ msgid "Great"
525
+ msgstr "Excelente"
526
+
527
+ #: licence/lib/yit-licence.php:676
528
+ msgid "License successfully activated"
529
+ msgstr "Licencia activada con éxito"
530
+
531
+ #: licence/lib/yit-licence.php:677
532
+ msgid "License key deactivated for website"
533
+ msgstr "Clave de licencia desactivada para nuestro sitio web"
534
+
535
+ #: licence/lib/yit-plugin-licence.php:67 licence/lib/yit-plugin-licence.php:68
536
+ #: licence/lib/yit-theme-licence.php:69 licence/lib/yit-theme-licence.php:70
537
+ #: licence/lib/yit-theme-licence.php:109 licence/lib/yit-theme-licence.php:110
538
+ msgid "License Activation"
539
+ msgstr "Activación de la Licencia"
540
+
541
+ #: licence/lib/yit-theme-licence.php:117 licence/lib/yit-theme-licence.php:118
542
+ #, php-format
543
+ msgid "%s"
544
+ msgstr "%s"
545
+
546
+ #: licence/lib/yit-theme-licence.php:159
547
+ msgid ""
548
+ "I cannot find the license key for activating the theme I have bought some time "
549
+ "ago. Where can I find it?"
550
+ msgstr ""
551
+ "No puedo encontrar la clave de licencia para activar el tema que compré hace "
552
+ "tiempo. ¿Dónde la puedo encontrar?"
553
+
554
+ #: licence/lib/yit-theme-licence.php:163
555
+ msgid ""
556
+ "If you have purchased one of our products before 27 January 2015, you can benefit "
557
+ "from support and updates (the services offered with the license)\n"
558
+ " until 27 January 2016 and you do not have to purchase it again "
559
+ "to get a new license key, because, before this date, your license used to be "
560
+ "activated automatically by our system.\n"
561
+ " After 27 January 2016, instead, if you want to benefit from "
562
+ "support and updates you have to buy a new license and activate it through the "
563
+ "license key you will be\n"
564
+ " provided with and that you can find in your YIThemes account, "
565
+ "in section \"My licenses\"."
566
+ msgstr ""
567
+ "Si has comprado uno de nuestros productos antes del 27 de enero de 2015, puedes "
568
+ "beneficiarte del soporte y actualizaciones (los servicios incluidos con la "
569
+ "licencia)\n"
570
+ " hasta el 27 de enero de 2016 y no tendrás que comprarla otra "
571
+ "vez para conseguir una nueva clave de licencia, porque, antes de esta fecha, tu "
572
+ "licencia se activaba automáticamente por nuestro sistema.\n"
573
+ " Después del 27 de enero de 2016, sin embargo, si quieres "
574
+ "beneficiarte de nuestro soporte y actualizaciones, tienes que comprar una nueva "
575
+ "licencia y activarla a través de la clave de licencia que \n"
576
+ " se te proporcionará y que podrás encontrar en tu cuenta "
577
+ "YIThemes, en la sección \"My licenses\"."
578
+
579
+ #: licence/templates/panel/activation/activation-panel.php:23
580
+ msgid "Yithemes License Activation"
581
+ msgstr "Licencia de Activación Yithemes"
582
+
583
+ #: licence/templates/panel/activation/activation-panel.php:27
584
+ msgid ""
585
+ "Have you updated your licenses? Have you asked for an extension? Update "
586
+ "information concerning your products."
587
+ msgstr "¿Has actualizado tus licencias? ¿Has pedido una extensión? Actualiza"
588
+
589
+ #: licence/templates/panel/activation/activation-panel.php:29
590
+ msgid "Update license information"
591
+ msgstr "Actualizar la información de la licencia"
592
+
593
+ #: licence/templates/panel/activation/activation-panel.php:42
594
+ msgid "Product to activate"
595
+ msgid_plural "Products to activate"
596
+ msgstr[0] "Producto que activar"
597
+ msgstr[1] "Productos que activar"
598
+
599
+ #: licence/templates/panel/activation/activation-panel.php:61
600
+ msgid "Activate"
601
+ msgstr "Activar"
602
+
603
+ #: licence/templates/panel/activation/activation-panel.php:80
604
+ msgid "Activated"
605
+ msgstr "Activado/a"
606
+
607
+ #: licence/templates/panel/activation/activation-panel.php:86
608
+ #: licence/templates/panel/activation/activation-panel.php:164
609
+ #: licence/templates/panel/activation/activation-panel.php:194
610
+ msgid "Product Name"
611
+ msgstr "Nombre de Producto"
612
+
613
+ #: licence/templates/panel/activation/activation-panel.php:92
614
+ #: licence/templates/panel/activation/activation-panel.php:201
615
+ msgid "Expires"
616
+ msgstr "Caduca"
617
+
618
+ #: licence/templates/panel/activation/activation-panel.php:95
619
+ msgid "Remaining"
620
+ msgstr "Queda"
621
+
622
+ #: licence/templates/panel/activation/activation-panel.php:97
623
+ msgid "Membership"
624
+ msgstr "Suscripción"
625
+
626
+ #: licence/templates/panel/activation/activation-panel.php:101
627
+ msgid "License Actions"
628
+ msgstr "Acciones de Licencia"
629
+
630
+ #: licence/templates/panel/activation/activation-panel.php:126
631
+ #, php-format
632
+ msgid "%1s out of %2s"
633
+ msgstr "%1s de %2s"
634
+
635
+ #: licence/templates/panel/activation/activation-panel.php:142
636
+ msgid "Deactivate"
637
+ msgstr "Desactivar"
638
+
639
+ #: licence/templates/panel/activation/activation-panel.php:147
640
+ #: licence/templates/panel/activation/activation-panel.php:204
641
+ msgid "Renew"
642
+ msgstr "Renovado"
643
+
644
+ #: licence/templates/panel/activation/activation-panel.php:160
645
+ msgid "Banned"
646
+ msgstr "Bloqueado"
647
+
648
+ #: licence/templates/panel/activation/activation-panel.php:190
649
+ msgid "Expired"
650
+ msgstr "Caducado"
651
+
652
+ #: licence/templates/panel/activation/activation-panel.php:226
653
+ msgid "Order again"
654
+ msgstr "Comprar de nuevo"
655
+
656
+ #: licence/templates/panel/activation/activation-panel.php:228
657
+ msgid "Renew license"
658
+ msgstr "Renovar licencia"
659
+
660
+ #: templates/metaboxes/types/ajax-products.php:23
661
+ msgid "Search for a product"
662
+ msgstr "Buscar un producto"
663
+
664
+ #: templates/metaboxes/types/categories.php:36
665
+ msgid "No categories."
666
+ msgstr "Ninguna categoría."
667
+
668
+ #: templates/metaboxes/types/categories.php:42
669
+ msgid "+ Add New Category"
670
+ msgstr "+ Añadir Nueva Categoría"
671
+
672
+ #: templates/metaboxes/types/categories.php:46
673
+ msgid "Add"
674
+ msgstr "Añadir"
675
+
676
+ #: templates/metaboxes/types/contactform.php:7
677
+ msgid "Text Input"
678
+ msgstr "Text Input"
679
+
680
+ #: templates/metaboxes/types/contactform.php:8
681
+ msgid "Checkbox"
682
+ msgstr "Casilla"
683
+
684
+ #: templates/metaboxes/types/contactform.php:9
685
+ msgid "Select"
686
+ msgstr "Seleciona"
687
+
688
+ #: templates/metaboxes/types/contactform.php:10
689
+ msgid "Textarea"
690
+ msgstr "Área de texto"
691
+
692
+ #: templates/metaboxes/types/contactform.php:11
693
+ msgid "Radio Input"
694
+ msgstr "Radio Input"
695
+
696
+ #: templates/metaboxes/types/contactform.php:12
697
+ msgid "Password Field"
698
+ msgstr "Campo de contraseña"
699
+
700
+ #: templates/metaboxes/types/contactform.php:13
701
+ msgid "File Upload"
702
+ msgstr "Carga de archivo"
703
+
704
+ #: templates/metaboxes/types/contactform.php:47
705
+ msgid "Theme Icon"
706
+ msgstr "Icono del tema"
707
+
708
+ #: templates/metaboxes/types/contactform.php:48
709
+ msgid "Custom Icon"
710
+ msgstr "Icono Personalizado"
711
+
712
+ #: templates/metaboxes/types/contactform.php:49
713
+ #: templates/metaboxes/types/responsivesliders.php:24
714
+ msgid "None"
715
+ msgstr "Ninguno"
716
+
717
+ #: templates/metaboxes/types/contactform.php:60
718
+ msgid "Add field"
719
+ msgstr "Añadir campo"
720
+
721
+ #: templates/metaboxes/types/contactform.php:69
722
+ #: templates/metaboxes/types/contactform.php:261
723
+ #: templates/metaboxes/types/customtabs.php:37
724
+ #: templates/metaboxes/types/customtabs.php:82
725
+ msgid "Remove"
726
+ msgstr "Borrar"
727
+
728
+ #: templates/metaboxes/types/contactform.php:70
729
+ #: templates/metaboxes/types/contactform.php:262
730
+ msgid "Click to toggle"
731
+ msgstr "Haz click para alternar"
732
+
733
+ #: templates/metaboxes/types/contactform.php:77
734
+ #: templates/metaboxes/types/contactform.php:269
735
+ msgid "Field Title"
736
+ msgstr "Campo de título"
737
+
738
+ #: templates/metaboxes/types/contactform.php:81
739
+ #: templates/metaboxes/types/contactform.php:273
740
+ msgid "Insert the title for the field."
741
+ msgstr "Inserta el título del campo."
742
+
743
+ #: templates/metaboxes/types/contactform.php:86
744
+ #: templates/metaboxes/types/contactform.php:278
745
+ msgid "Data Name"
746
+ msgstr "Nombre del dato."
747
+
748
+ #: templates/metaboxes/types/contactform.php:90
749
+ #: templates/metaboxes/types/contactform.php:282
750
+ msgid ""
751
+ "REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
752
+ "strong>Use only lowercase characters and underscores."
753
+ msgstr ""
754
+ "OBLIGATORIO: El nombre del campo de identificación debe introducirse en el cuerpo "
755
+ "del email. <strong> Nota: </strong> Usa sólo minúsculas y guiones bajos."
756
+
757
+ #: templates/metaboxes/types/contactform.php:95
758
+ #: templates/metaboxes/types/contactform.php:287
759
+ msgid "Field Type"
760
+ msgstr "Tipo de campo"
761
+
762
+ #: templates/metaboxes/types/contactform.php:103
763
+ #: templates/metaboxes/types/contactform.php:295
764
+ msgid "Select the type for this field."
765
+ msgstr "Selecciona el tipo para este campo."
766
+
767
+ #: templates/metaboxes/types/contactform.php:108
768
+ #: templates/metaboxes/types/contactform.php:300
769
+ msgid "Checked"
770
+ msgstr "Campo seleccionado"
771
+
772
+ #: templates/metaboxes/types/contactform.php:112
773
+ #: templates/metaboxes/types/contactform.php:304
774
+ msgid "Select this option if you want this field appears as already checked."
775
+ msgstr "Selecciona esta opción si quieres que este campo aparezca como ya marcado."
776
+
777
+ #: templates/metaboxes/types/contactform.php:117
778
+ #: templates/metaboxes/types/contactform.php:309
779
+ msgid "Add options "
780
+ msgstr "Añadir opciones"
781
+
782
+ #: templates/metaboxes/types/contactform.php:118
783
+ #: templates/metaboxes/types/contactform.php:310
784
+ msgid "Add option"
785
+ msgstr "Añadir opción"
786
+
787
+ #: templates/metaboxes/types/contactform.php:121
788
+ #: templates/metaboxes/types/contactform.php:313
789
+ #: templates/metaboxes/types/contactform.php:436
790
+ msgid "Selected"
791
+ msgstr "Selecionado"
792
+
793
+ #: templates/metaboxes/types/contactform.php:124
794
+ #: templates/metaboxes/types/contactform.php:316
795
+ #: templates/metaboxes/types/contactform.php:436
796
+ msgid "Delete option"
797
+ msgstr "Borrar opción"
798
+
799
+ #: templates/metaboxes/types/contactform.php:130
800
+ #: templates/metaboxes/types/contactform.php:322
801
+ msgid "Error Message"
802
+ msgstr "Mensaje de error"
803
+
804
+ #: templates/metaboxes/types/contactform.php:134
805
+ #: templates/metaboxes/types/contactform.php:326
806
+ msgid "Insert the error message for validation."
807
+ msgstr "Inserta el mensaje de error para la validación."
808
+
809
+ #: templates/metaboxes/types/contactform.php:139
810
+ #: templates/metaboxes/types/contactform.php:331
811
+ msgid "Required"
812
+ msgstr "Campo obligatorio"
813
+
814
+ #: templates/metaboxes/types/contactform.php:143
815
+ #: templates/metaboxes/types/contactform.php:335
816
+ msgid "Select this option if it must be required."
817
+ msgstr "Selecciona esta opción si este campo debe ser obligatorio."
818
+
819
+ #: templates/metaboxes/types/contactform.php:152
820
+ #: templates/metaboxes/types/contactform.php:344
821
+ msgid "Select this option if the email must be valid."
822
+ msgstr "Selecciona esta opción si el email debe ser válido."
823
+
824
+ #: templates/metaboxes/types/contactform.php:157
825
+ #: templates/metaboxes/types/contactform.php:349
826
+ msgid "Reply To"
827
+ msgstr "Responder a"
828
+
829
+ #: templates/metaboxes/types/contactform.php:161
830
+ #: templates/metaboxes/types/contactform.php:353
831
+ msgid "Select this if it is the email you can reply to."
832
+ msgstr "Selecciona si este es el email al que puedes responder."
833
+
834
+ #: templates/metaboxes/types/contactform.php:166
835
+ #: templates/metaboxes/types/contactform.php:358
836
+ msgid "Class"
837
+ msgstr "Clase"
838
+
839
+ #: templates/metaboxes/types/contactform.php:170
840
+ #: templates/metaboxes/types/contactform.php:362
841
+ msgid "Insert additional class(es) (separated by commas) for more personalization."
842
+ msgstr "Inserta clase(s) adicionales (separados por comas) para más personalización."
843
+
844
+ #: templates/metaboxes/types/contactform.php:175
845
+ #: templates/metaboxes/types/contactform.php:367
846
+ msgid "Icon"
847
+ msgstr "Icono"
848
+
849
+ #: templates/metaboxes/types/contactform.php:203
850
+ #: templates/metaboxes/types/contactform.php:391
851
+ #: templates/metaboxes/types/icon-list.php:69
852
+ #: templates/metaboxes/types/select-icon.php:33
853
+ #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
854
+ #: templates/panel/woocommerce/woocommerce-upload.php:40
855
+ msgid "Upload"
856
+ msgstr "Actualiza"
857
+
858
+ #: templates/metaboxes/types/contactform.php:209
859
+ #: templates/metaboxes/types/contactform.php:397
860
+ #: templates/metaboxes/types/icon-list.php:75
861
+ #: templates/metaboxes/types/select-icon.php:39
862
+ msgid "Image preview"
863
+ msgstr "Previsualización de imagen"
864
+
865
+ #: templates/metaboxes/types/contactform.php:217
866
+ #: templates/metaboxes/types/contactform.php:405
867
+ msgid "Insert an icon for more personalization."
868
+ msgstr "Inserta un icono para más personalización"
869
+
870
+ #: templates/metaboxes/types/contactform.php:222
871
+ #: templates/metaboxes/types/contactform.php:409
872
+ msgid "Width"
873
+ msgstr "Ancho"
874
+
875
+ #: templates/metaboxes/types/contactform.php:247
876
+ #: templates/metaboxes/types/contactform.php:421
877
+ msgid "Set field length."
878
+ msgstr "Establecer el ancho de campo"
879
+
880
+ #: templates/metaboxes/types/customtabs.php:28
881
+ msgid "Close all"
882
+ msgstr "Cerrar todos"
883
+
884
+ #: templates/metaboxes/types/customtabs.php:28
885
+ msgid "Expand all"
886
+ msgstr "Expandir todos"
887
+
888
+ #: templates/metaboxes/types/customtabs.php:52
889
+ #: templates/metaboxes/types/customtabs.php:95
890
+ msgid "Value"
891
+ msgstr "Valor"
892
+
893
+ #: templates/metaboxes/types/customtabs.php:53
894
+ #: templates/metaboxes/types/customtabs.php:96
895
+ msgid "Content of the tab. (HTML is supported)"
896
+ msgstr "Contenido de la pestaña. (HTML se soporta)"
897
+
898
+ #: templates/metaboxes/types/customtabs.php:65
899
+ msgid "Add custom product tab"
900
+ msgstr "Añadir etiqueta de producto personalizado"
901
+
902
+ #: templates/metaboxes/types/customtabs.php:107
903
+ msgid "Do you want to remove the custom tab?"
904
+ msgstr "¿Quieres borrar la etiqueta personalizada?"
905
+
906
+ #: templates/metaboxes/types/icon-list.php:89
907
+ #, php-format
908
+ msgid "(Default: %s <img src=\"%s\"/>)"
909
+ msgstr "(Por defecto: %s <img src=\"%s\"/>)"
910
+
911
+ #: templates/metaboxes/types/icon-list.php:91
912
+ #, php-format
913
+ msgid "(Default: <i %s></i> )"
914
+ msgstr "(Por defecto: <i %s></i> )"
915
+
916
+ #: templates/metaboxes/types/image-gallery.php:40
917
+ #: templates/metaboxes/types/image-gallery.php:45
918
+ #: templates/metaboxes/types/images.php:38 templates/metaboxes/types/images.php:64
919
+ msgid "Delete image"
920
+ msgstr "Borrar imagen"
921
+
922
+ #: templates/metaboxes/types/image-gallery.php:45
923
+ msgid "Add Images to Gallery"
924
+ msgstr "Añadir imágenes a la Galería"
925
+
926
+ #: templates/metaboxes/types/image-gallery.php:45
927
+ msgid "Add to gallery"
928
+ msgstr "Añadir a la galería"
929
+
930
+ #: templates/metaboxes/types/image-gallery.php:45
931
+ msgid "Add images"
932
+ msgstr "Añadir imágenes"
933
+
934
+ #: templates/metaboxes/types/image-gallery.php:45
935
+ msgid "Delete"
936
+ msgstr "Borrar"
937
+
938
+ #: templates/metaboxes/types/images.php:42
939
+ msgid "Upload new images"
940
+ msgstr "Cargar nuevas imágenes"
941
+
942
+ #: templates/metaboxes/types/images.php:75
943
+ msgid "Are you sure you want to remove this image?"
944
+ msgstr "¿Estás seguro/a de que quieres borrar esta imagen?"
945
+
946
+ #: templates/metaboxes/types/sidebar-layout.php:25
947
+ #: templates/metaboxes/types/sidebars.php:36
948
+ msgid "Left sidebar"
949
+ msgstr "Barra lateral izquierda"
950
+
951
+ #: templates/metaboxes/types/sidebar-layout.php:28
952
+ #: templates/metaboxes/types/sidebars.php:42
953
+ #: templates/metaboxes/types/sidebars.php:45
954
+ msgid "No sidebar"
955
+ msgstr "Sin barra lateral"
956
+
957
+ #: templates/metaboxes/types/sidebar-layout.php:31
958
+ #: templates/metaboxes/types/sidebars.php:39
959
+ msgid "Right sidebar"
960
+ msgstr "Barra lateral derecha"
961
+
962
+ #: templates/metaboxes/types/sidebar-layout.php:34
963
+ #: templates/metaboxes/types/sidebars.php:53
964
+ #: templates/metaboxes/types/sidebars.php:64
965
+ msgid "Choose a sidebar"
966
+ msgstr "Elige una barra lateral"
967
+
968
+ #: templates/metaboxes/types/sidebars.php:51
969
+ msgid "Left Sidebar"
970
+ msgstr "Barra lateral izquierda"
971
+
972
+ #: templates/metaboxes/types/sidebars.php:62
973
+ msgid "Right Sidebar"
974
+ msgstr "Barra lateral derecha"
975
+
976
+ #: templates/metaboxes/types/typography.php:42
977
+ msgid "px"
978
+ msgstr "px"
979
+
980
+ #: templates/metaboxes/types/typography.php:43
981
+ msgid "em"
982
+ msgstr "em"
983
+
984
+ #: templates/metaboxes/types/typography.php:44
985
+ msgid "pt"
986
+ msgstr "pt"
987
+
988
+ #: templates/metaboxes/types/typography.php:45
989
+ msgid "rem"
990
+ msgstr "rem"
991
+
992
+ #: templates/metaboxes/types/typography.php:59
993
+ #: templates/metaboxes/types/typography.php:153
994
+ #: templates/metaboxes/types/typography.php:217
995
+ msgid "Web fonts"
996
+ msgstr "Fuentes web"
997
+
998
+ #: templates/metaboxes/types/typography.php:71
999
+ msgid "Google fonts"
1000
+ msgstr "Fuentes Google"
1001
+
1002
+ #: templates/metaboxes/types/typography.php:96
1003
+ msgid "Regular"
1004
+ msgstr "Normal"
1005
+
1006
+ #: templates/metaboxes/types/typography.php:97
1007
+ msgid "Bold"
1008
+ msgstr "Negrita"
1009
+
1010
+ #: templates/metaboxes/types/typography.php:98
1011
+ msgid "Extra bold"
1012
+ msgstr "Extra negrita"
1013
+
1014
+ #: templates/metaboxes/types/typography.php:99
1015
+ msgid "Italic"
1016
+ msgstr "Cursiva"
1017
+
1018
+ #: templates/metaboxes/types/typography.php:100
1019
+ msgid "Italic bold"
1020
+ msgstr "Cursiva negrita"
1021
+
1022
+ #: templates/panel/sidebar/widgets/widgets.php:17
1023
+ msgid "Join the club"
1024
+ msgstr "Únete al club"
1025
+
1026
+ #: templates/panel/sidebar/widgets/widgets.php:24
1027
+ msgid "Despacho Theme - 100% FREE"
1028
+ msgstr "Despacho Theme - 100% GRATIS"
1029
+
1030
+ #: templates/panel/sidebar/widgets/widgets.php:28
1031
+ msgid "FREE!"
1032
+ msgstr "¡GRATIS!"
1033
+
1034
+ #: templates/panel/sidebar/widgets/widgets.php:34
1035
+ msgid "Important Links"
1036
+ msgstr "Enlaces importantes"
1037
+
1038
+ #: templates/panel/types/upload.php:32
1039
+ msgid "Reset"
1040
+ msgstr "Reinicia"
1041
+
1042
+ #: templates/panel/woocommerce/woocommerce-form.php:17
1043
+ msgid "Reset Defaults"
1044
+ msgstr "Ajustes predeterminados"
1045
+
1046
+ #: templates/upgrade/upgrade-to-pro-version.php:2
1047
+ msgid "Upgrade to Premium Version"
1048
+ msgstr "Actualizar a la Versión Premium"
1049
+
1050
+ #: templates/upgrade/upgrade-to-pro-version.php:3
1051
+ msgid ""
1052
+ "Have you purchased the premium version of a plugin? Don't you know how to activate "
1053
+ "the license after the purchase?"
1054
+ msgstr ""
1055
+ "¿Has comprado la versión premium de un plugin? ¿No sabes cómo activar la licencia "
1056
+ "después de la compra?"
1057
+
1058
+ #: templates/upgrade/upgrade-to-pro-version.php:5
1059
+ msgid ""
1060
+ "To upgrade from a FREE to a PREMIUM plugin is not suffice to insert the license "
1061
+ "key provided after the purchase.\n"
1062
+ " The reason is that they are two distinct products, with significant "
1063
+ "differences both for available options and for number of files included in the "
1064
+ "plugin package.\n"
1065
+ " To start to use the PREMIUM version of the plugin, you simply need to "
1066
+ "download the PREMIUM packet and install it on your site."
1067
+ msgstr ""
1068
+ "Para actualizar a del plugin FREE al PREMIUMT no es suficiente con insertar la "
1069
+ "clave de licencia proporcionada después de la compra.\n"
1070
+ " La razón es que son dos productos diferentes, con diferencias "
1071
+ "significativas en las opciones disponibles para el número de archivos incluidos en "
1072
+ "el paquete del plugin.\n"
1073
+ " Para empezar a usar la versión PREMIUM del plugin, simplemente necesitas "
1074
+ "descargar el paquete PREMIUM e instalarlo en tu sitio web."
1075
+
1076
+ #: templates/upgrade/upgrade-to-pro-version.php:9
1077
+ #, php-format
1078
+ msgid ""
1079
+ "%1$sDo you need to know how to do it?%2$s Easy! %1$sFollow this list of steps%2$s "
1080
+ "and in a few minutes the plugin you purchased will be installed on your site"
1081
+ msgstr ""
1082
+ "%1$s¿Necesitas saber cómo hacerlo?%2$s ¡Fácil! %1$sSigue estos pasos%2$s y en unos "
1083
+ "minutos el plugin que has comprado estará instalado en tu sitio web"
1084
+
1085
+ #: templates/upgrade/upgrade-to-pro-version.php:12
1086
+ msgid "Go to yithemes.com and login to \"My Account\" page"
1087
+ msgstr "Ve a yithemes.com e inicia sesión en la página \"Mi cuenta\""
1088
+
1089
+ #: templates/upgrade/upgrade-to-pro-version.php:18
1090
+ msgid ""
1091
+ "From the menu on the left, click on \"My Downloads\", look for the plugin you want "
1092
+ "to install among the available downloads and click on \"Download\" button"
1093
+ msgstr ""
1094
+ "Desde el menú de la izquierda, haz click en \"Mis Descargas\", busca el plugin que "
1095
+ "te quieres descargar entre las descargas disponibles y haz click en el botón "
1096
+ "\"Descargar\""
1097
+
1098
+ #: templates/upgrade/upgrade-to-pro-version.php:24
1099
+ msgid ""
1100
+ "After downloading the packet, go to your website and login to WordPress "
1101
+ "administration area."
1102
+ msgstr ""
1103
+ "Después de descargar el paquete, ve a tu sitio web y regístrate en el área de "
1104
+ "administración de WordPress."
1105
+
1106
+ #: templates/upgrade/upgrade-to-pro-version.php:30
1107
+ msgid ""
1108
+ "From the menu on the left, click on \"Plugins\". You will be redirected to the "
1109
+ "page where you will find the complete list of all the plugins available on your "
1110
+ "site. Click on \"Add New\" button that you find above on the left to add a new "
1111
+ "plugin"
1112
+ msgstr ""
1113
+ "Desde el menú de la izquierda, haz click en \"Plugins\". Serás redirigido/a a la "
1114
+ "página donde podrás encontrar la lista completa de plugins disponible en tu sitio "
1115
+ "web. Haz click en el botón \"Añadir Nuevo\" que encontrarás arriba a la izquierda "
1116
+ "para añadir un nuevo plugin"
1117
+
1118
+ #: templates/upgrade/upgrade-to-pro-version.php:36
1119
+ msgid ""
1120
+ "You will be redirected to a new page where you will find, above on the left next "
1121
+ "to the page title, the \"Upload Plugin\" button."
1122
+ msgstr ""
1123
+ "Serás redirigido/a a una nueva página donde encontrarás, en la parte superior "
1124
+ "izquierda, junto al título de la página, el botón \"Actualizar Plugin\""
1125
+
1126
+ #: templates/upgrade/upgrade-to-pro-version.php:42
1127
+ msgid ""
1128
+ "Click on \"Upload Plugins\" button to start the upload of the PREMIUM version of "
1129
+ "the plugin previously downloaded. Click on \"Select File\", search for the "
1130
+ "download folder related to the plugin and upload the package. Now you only need to "
1131
+ "wait a few minutes for the upload and the installation on your site. (We used YITH "
1132
+ "Live Chat plugin by way of example)"
1133
+ msgstr ""
1134
+ "Haz click en el botón \"Actualizar Plugins\" para actualizar la versión premium "
1135
+ "del plugin anteriormente descargada. Haz click en \"Seleccionar Archivo\", busca "
1136
+ "la carpeta relacionada al plugin y actualiza el paquete. Ahora sólo necesitas "
1137
+ "esperar unos minutos para actualizarlo e instalarlo en tu sitio web. (Usamos YITH "
1138
+ "Live Chat a modo de ejemplo)"
1139
+
1140
+ #: templates/upgrade/upgrade-to-pro-version.php:48
1141
+ msgid "After completing the installation, click on \"Activate plugin\""
1142
+ msgstr "Después de completar la instalación, haz click en \"Activar plugin\""
1143
+
1144
+ #: templates/upgrade/upgrade-to-pro-version.php:52
1145
+ msgid ""
1146
+ "If everything worked allright, your plugin is now correctly installed on your "
1147
+ "website. Enjoy it :-)"
1148
+ msgstr ""
1149
+ "Si todo funcionó bien, tu plugin está ahora correctamente instalado en tu sitio "
1150
+ "web. Disfrútalo :-)"
1151
+
1152
+ #: templates/upgrade/upgrade-to-pro-version.php:55
1153
+ msgid ""
1154
+ "The last step is the activation of the plugin through its license key you received "
1155
+ "after the purchase. Click on \"License Activation\" that you find in \"YITH Plugins"
1156
+ "\" and insert the license key and the email address you used during the purchase."
1157
+ msgstr ""
1158
+ "El último paso es la activación del plugin a través de la clave de licencia, que "
1159
+ "recibiste después de la compra. Haz click en \"Activación de la licencia\", que "
1160
+ "encontrarás en \"YITH Plugins\" e introduce la dirección de email que usaste "
1161
+ "durante la compra."
1162
+
1163
+ #: templates/upgrade/upgrade-to-pro-version.php:61
1164
+ msgid ""
1165
+ "In case you had difficulty to recover the license key we sent you by email, you "
1166
+ "can easily find it in \"My Licenses\" section of your account on yithemes.com"
1167
+ msgstr ""
1168
+ "En caso de que hayas tenido dificultad para recuperar la clave de licencia que te "
1169
+ "enviamos por email, puedes encontrarla fácilmente en la sección \"Mis Licencias\" "
1170
+ "de tu cuenta en yithemes.com"
plugin-fw/lib/yit-plugin-panel-sidebar.php CHANGED
@@ -180,7 +180,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_Sidebar' ) ) {
180
  $updated_expiration = DAY_IN_SECONDS; // update frequency
181
 
182
  $remote_xml = wp_remote_get( $this->_remote_widget_xml );
183
- if ( !is_wp_error( $remote_xml ) && isset( $remote_xml[ 'response' ][ 'code' ] ) && '200' == $remote_xml[ 'response' ][ 'code' ] ) {
184
  try {
185
  // suppress all XML errors when loading the document
186
  libxml_use_internal_errors( true );
180
  $updated_expiration = DAY_IN_SECONDS; // update frequency
181
 
182
  $remote_xml = wp_remote_get( $this->_remote_widget_xml );
183
+ if ( !is_wp_error( $remote_xml ) && isset( $remote_xml[ 'response' ][ 'code' ] ) && '200' == $remote_xml[ 'response' ][ 'code' ] && class_exists( 'SimpleXmlElement' ) ) {
184
  try {
185
  // suppress all XML errors when loading the document
186
  libxml_use_internal_errors( true );
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -335,24 +335,39 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
335
  */
336
  public function admin_enqueue_scripts() {
337
  global $woocommerce, $pagenow;
 
 
338
 
339
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
340
 
341
  wp_enqueue_media();
342
- wp_enqueue_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce->version );
343
- wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce->version );
344
- wp_register_style( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/css/colorbox.css', array(), $woocommerce->version );
345
- wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $woocommerce->version );
346
 
347
  if ( 'customize.php' != $pagenow ){
348
-
349
  wp_enqueue_style ( 'wp-jquery-ui-dialog' );
350
-
351
  }
352
 
353
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
354
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
355
- wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', array( 'jquery', 'jquery-ui-datepicker','jquery-ui-dialog', 'jquery-ui-sortable', 'iris', 'chosen' ), $woocommerce->version, true );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
356
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
357
  wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
358
  wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
335
  */
336
  public function admin_enqueue_scripts() {
337
  global $woocommerce, $pagenow;
338
+
339
+ $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
340
 
341
  wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
342
 
343
  wp_enqueue_media();
344
+ wp_enqueue_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
345
+ wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce_version );
346
+ wp_register_style( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/css/colorbox.css', array(), $woocommerce_version );
347
+ wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $woocommerce_version );
348
 
349
  if ( 'customize.php' != $pagenow ){
 
350
  wp_enqueue_style ( 'wp-jquery-ui-dialog' );
 
351
  }
352
 
353
  wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
354
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
355
+
356
+ $woocommerce_settings_deps = array( 'jquery', 'jquery-ui-datepicker', 'jquery-ui-sortable', 'iris' );
357
+
358
+ if( version_compare( '2.5', $woocommerce_version, '<=' ) ){
359
+ // WooCommerce > 2.6
360
+ $woocommerce_settings_deps[] = 'select2';
361
+ }
362
+
363
+ else {
364
+ // WooCommerce < 2.6
365
+ $woocommerce_settings_deps[] = 'jquery-ui-dialog';
366
+ $woocommerce_settings_deps[] = 'chosen';
367
+ }
368
+
369
+ wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', $woocommerce_settings_deps, $woocommerce_version, true );
370
+
371
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
372
  wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
373
  wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -113,7 +113,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
113
 
114
  if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
115
  $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
116
- add_menu_page( 'yit_plugin_panel', 'YITH Plugins', 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
117
  }
118
  }
119
 
@@ -155,6 +155,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
155
  wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
156
  wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
157
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
 
158
 
159
  //styles
160
  $jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
@@ -175,7 +176,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
175
  if( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yith_upgrade_premium_version' ) !== false ){
176
  wp_enqueue_style( 'yit-upgrade-to-pro' );
177
  wp_enqueue_script( 'colorbox' );
178
- }
 
179
  }
180
 
181
  /**
@@ -287,10 +289,15 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
287
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
288
  */
289
  public function add_premium_version_upgrade_to_menu(){
290
- global $_parent_pages;
291
-
292
- if( apply_filters( 'yit_show_upgrade_to_premium_version', ! isset( $_parent_pages['yith_upgrade_premium_version'] ) ) ){
293
- add_submenu_page( 'yit_plugin_panel', __( 'Premium version upgrade', 'yith-plugin-fw' ), __( 'Premium version upgrade', 'yith-plugin-fw' ), 'install_plugins', 'yith_upgrade_premium_version', array( $this, 'show_premium_version_upgrade' ) );
 
 
 
 
 
294
  }
295
  }
296
 
@@ -906,16 +913,5 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
906
 
907
  $this->add_videobox( $args );
908
  }
909
-
910
- /**
911
- * Show the upgrade to pro version page
912
- *
913
- * @return void
914
- * @since 2.9.13
915
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
916
- */
917
- public function show_premium_version_upgrade() {
918
- yit_plugin_get_template ( YIT_CORE_PLUGIN_PATH, 'upgrade/upgrade-to-pro-version.php', array( 'core_plugin_url' => YIT_CORE_PLUGIN_URL ) ) ;
919
- }
920
  }
921
  }
113
 
114
  if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
115
  $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
116
+ add_menu_page( 'yit_plugin_panel', __( 'YITH Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
117
  }
118
  }
119
 
155
  wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
156
  wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
157
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
158
+ wp_enqueue_script( 'yith_how_to', YIT_CORE_PLUGIN_URL . '/assets/js/how-to.js', array('jquery'), $this->version, true );
159
 
160
  //styles
161
  $jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
176
  if( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yith_upgrade_premium_version' ) !== false ){
177
  wp_enqueue_style( 'yit-upgrade-to-pro' );
178
  wp_enqueue_script( 'colorbox' );
179
+ }
180
+
181
  }
182
 
183
  /**
289
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
290
  */
291
  public function add_premium_version_upgrade_to_menu(){
292
+ global $submenu;
293
+
294
+ if( apply_filters( 'yit_show_upgrade_to_premium_version', ! isset( $submenu['yit_plugin_panel']['how_to'] ) ) ){
295
+ $submenu['yit_plugin_panel']['how_to'] = array(
296
+ sprintf( '%s%s%s', '<span id="yith-how-to-premium">', __( 'How to install premium version', 'yith-plugin-fw' ), '</span>' ),
297
+ 'install_plugins',
298
+ '//support.yithemes.com/hc/en-us/articles/217840988',
299
+ __( 'How to install premium version', 'yith-plugin-fw' ),
300
+ );
301
  }
302
  }
303
 
913
 
914
  $this->add_videobox( $args );
915
  }
 
 
 
 
 
 
 
 
 
 
 
916
  }
917
  }
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -8,546 +8,552 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
  if ( ! defined( 'ABSPATH' ) ) {
11
- exit;
12
  } // Exit if accessed directly
13
 
14
  if ( ! class_exists( 'YIT_Upgrade' ) ) {
15
- /**
16
- * YIT Upgrade
17
- *
18
- * Notify and Update plugin
19
- *
20
- * @class YIT_Upgrade
21
- * @package Yithemes
22
- * @since 1.0
23
- * @author Your Inspiration Themes
24
- * @see WP_Updater Class
25
- */
26
-
27
- class YIT_Upgrade {
28
-
29
- /**
30
- * @var string XML notifier update
31
- */
32
- protected $_xml = 'http://update.yithemes.com/plugins/%plugin_slug%.xml';
33
-
34
- /**
35
- * @var string api server url
36
- */
37
- protected $_package_url = 'http://www.yithemes.com';
38
-
39
- /**
40
- * @var array The registered plugins
41
- */
42
- protected $_plugins = array();
43
-
44
- /**
45
- * @var YIT_Upgrade The main instance
46
- */
47
- protected static $_instance;
48
-
49
- /**
50
- * Construct
51
- *
52
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
53
- * @since 1.0
54
- */
55
- public function __construct() {
56
- add_filter( 'upgrader_pre_download', array( $this, 'upgrader_pre_download') , 10, 3 );
57
- add_action( 'update-custom_upgrade-plugin-multisite', array( $this, 'upgrade_plugin_multisite' ) );
58
-
59
- if( is_network_admin() ){
60
- add_action( 'admin_enqueue_scripts', array( $this, 'network_admin_enqueue_scripts' ) );
61
- }
62
-
63
- $is_debug_enabled = defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG;
64
- if ( $is_debug_enabled ) {
65
- $this->_package_url = defined( 'YIT_LICENCE_DEBUG_LOCALHOST' ) ? YIT_LICENCE_DEBUG_LOCALHOST : 'http://dev.yithemes.com';
66
- add_filter( 'block_local_requests', '__return_false' );
67
- }
68
- }
69
-
70
- /**
71
- * Main plugin Instance
72
- *
73
- * @param $plugin_slug | string The plugin slug
74
- * @param $plugin_init | string The plugin init file
75
- *
76
- * @return void
77
- *
78
- * @since 1.0
79
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
80
- */
81
- public function register( $plugin_slug, $plugin_init ) {
82
-
83
- if( ! function_exists( 'get_plugins' ) ){
84
- include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
85
- }
86
-
87
- $plugins = get_plugins();
88
- $plugin_info = $plugins[ $plugin_init ];
89
-
90
- $this->_plugins[ $plugin_init ] = array(
91
- 'info' => $plugin_info,
92
- 'slug' => $plugin_slug,
93
- );
94
-
95
- /* === HOOKS === */
96
- if( ! is_multisite() || is_plugin_active_for_network( $plugin_init ) ){
97
- add_action( 'admin_init', array( $this, 'remove_wp_plugin_update_row' ), 15 );
98
- add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
99
- } else if( is_multisite() && current_user_can( 'update_plugins' ) ) {
100
- $transient = 'yith_register_' . md5( $plugin_slug );
101
- if( apply_filters( 'yith_register_delete_transient', false ) ){
102
- delete_transient( $transient );
103
- }
104
- $info = get_transient( $transient );
105
- if( false === $info || apply_filters( 'yith_register_delete_transient', false ) ){
106
- $xml = str_replace( '%plugin_slug%', $plugin_slug, $this->_xml );
107
- $remote_xml = wp_remote_get( $xml );
108
-
109
- if( ! is_wp_error( $remote_xml ) && isset( $remote_xml['response']['code'] ) && '200' == $remote_xml['response']['code'] ) {
110
- $plugin_remote_info = new SimpleXmlElement( $remote_xml['body'] );
111
- $info['Latest'] = (string) $plugin_remote_info->latest;
112
- $info['changelog'] = (string) $plugin_remote_info->changelog;
113
- YIT_Plugin_Licence()->check( $plugin_slug, false );
114
- set_transient( $transient, $info, DAY_IN_SECONDS );
115
- }
116
- }
117
-
118
- $this->_plugins[ $plugin_init ]['info']['Latest'] = $info['Latest'];
119
- $this->_plugins[ $plugin_init ]['info']['changelog'] = $info['changelog'];
120
- add_action( 'admin_enqueue_scripts', array( $this, 'multisite_updater_script' ) );
121
- }
122
- }
123
-
124
- /**
125
- * Add the multisite updater scripts
126
- *
127
- * @return void
128
- *
129
- * @since 1.0
130
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
131
- */
132
- public function multisite_updater_script(){
133
-
134
- $update_url = $changelogs = $details_url = array();
135
- $strings = array(
136
- 'new_version' => __( 'There is a new version of %plugin_name% available.', 'yith-plugin-fw' ),
137
- 'latest' => __( 'View version %latest% details.', 'yith-plugin-fw' ),
138
- 'unavailable' => __( 'Automatic update is unavailable for this plugin,', 'yith-plugin-fw' ),
139
- 'activate' => __( 'please <a href="%activate_link%">activate</a> your copy of %plugin_name%.', 'yith-plugin-fw' ),
140
- 'update_now' => __( 'Update now.', 'yith-plugin-fw' )
141
-
142
- );
143
-
144
- foreach( $this->_plugins as $init => $info ){
145
- $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
146
- $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
147
- $details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
148
- $plugin_changelog = isset( $this->_plugins[ $init ]['info']['changelog'] ) ? $this->_plugins[ $init ]['info']['changelog'] : '';
149
- $changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $plugin_changelog, $changelog_id, false );
150
- }
151
-
152
- $localize_script_args = array(
153
- 'registered' => $this->_plugins,
154
- 'activated' => YIT_Plugin_Licence()->get_activated_products(),
155
- 'licence_activation_url' => YIT_Plugin_Licence()->get_licence_activation_page_url(),
156
- 'update_url' => $update_url,
157
- 'details_url' => $details_url,
158
- 'strings' => $strings,
159
- 'changelogs' => $changelogs
160
- );
161
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
162
- yit_enqueue_script( 'yit-multisite-updater', YIT_CORE_PLUGIN_URL . '/assets/js/multisite-updater' . $suffix . '.js', array( 'jquery' ), false, true );
163
-
164
- wp_localize_script( 'yit-multisite-updater', 'plugins', $localize_script_args );
165
- }
166
-
167
- public function network_admin_enqueue_scripts(){
168
- yit_enqueue_style( 'yit-upgrader', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrader.css' );
169
- }
170
-
171
- /**
172
- * Retrive the zip package file
173
- *
174
- * @param bool $reply Whether to bail without returning the package. Default false.
175
- * @param string $package The package file name.
176
- * @param \WP_Upgrader $upgrader WP_Upgrader instance.
177
- *
178
- * @return string | The download file
179
- *
180
- * @since 1.0
181
- * @see wp-admin/includes/class-wp-upgrader.php
182
- * @access public
183
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
184
- */
185
- public function upgrader_pre_download( $reply, $package, $upgrader ) {
186
- $plugin = false;
187
- $is_bulk = $upgrader->skin instanceof Bulk_Plugin_Upgrader_Skin;
188
-
189
- if( ! $is_bulk ){
190
- $plugin = isset( $upgrader->skin->plugin ) ? $upgrader->skin->plugin : false;
191
- }
192
-
193
- else {
194
- //Bulk action upgrade
195
- $action_url = parse_url( $upgrader->skin->options['url'] );
196
- parse_str( rawurldecode( htmlspecialchars_decode( $action_url['query'] ) ) );
197
- $plugins = explode( ',', $plugins );
198
- foreach( $plugins as $plugin_init ){
199
- $to_upgrade = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin_init );
200
- if( $to_upgrade['Name'] == $upgrader->skin->plugin_info['Name'] ){
201
- $plugin = $plugin_init;
202
- }
203
- }
204
- }
205
-
206
- /**
207
- * It isn't YITH Premium plugins, please wordpress update it for me!
208
- */
209
- if( ! $plugin ) {
210
- return $reply;
211
- }
212
-
213
- $plugin_info = YIT_Plugin_Licence()->get_product( $plugin );
214
-
215
- /**
216
- * False ? It isn't YITH Premium plugins, please wordpress update it for me!
217
- */
218
- if( false === $plugin_info ) {
219
- return $reply;
220
- }
221
-
222
- $licence = YIT_Plugin_Licence()->get_licence();
223
- $product_id = $plugin_info['product_id'];
224
- $args = array(
225
- 'email' => $licence[ $product_id ]['email'],
226
- 'licence_key' => $licence[$product_id]['licence_key'],
227
- 'product_id' => $plugin_info['product_id'],
228
- 'secret_key' => $plugin_info['secret_key'],
229
- 'instance' => YIT_Plugin_Licence()->get_home_url(),
230
- 'wc-api' => 'download-api',
231
- 'request' => 'download'
232
- );
233
-
234
- if ( ! preg_match( '!^(http|https|ftp)://!i', $package ) && file_exists( $package ) ) {
235
- //Local file or remote?
236
- return $package;
237
- }
238
-
239
- if ( empty( $package ) ) {
240
- return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
241
- }
242
-
243
- $upgrader->skin->feedback( 'downloading_package', __( 'YIThemes Repository', 'yith-plugin-fw' ) );
244
-
245
- $download_file = $this->_download_url( $package, $args );
246
-
247
- /**
248
- * Regenerate update_plugins transient
249
- */
250
- $this->force_regenerate_update_transient();
251
-
252
- if ( is_wp_error( $download_file ) ) {
253
- return new WP_Error( 'download_failed', $upgrader->strings['download_failed'], $download_file->get_error_message() );
254
- }
255
-
256
- return $download_file;
257
- }
258
-
259
- /**
260
- * Retrive the temp filename
261
- *
262
- * @param string $url The package url
263
- * @param string $body The post data fields
264
- * @param int $timeout Execution timeout (default: 300)
265
- *
266
- * @return string | The temp filename
267
- *
268
- * @since 1.0
269
- * @see wp-admin/includes/class-wp-upgrader.php
270
- * @access protected
271
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
272
- */
273
- protected function _download_url( $url, $body, $timeout = 300 ) {
274
-
275
- //WARNING: The file is not automatically deleted, The script must unlink() the file.
276
- if ( ! $url ) {
277
- return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.', 'yit' ) );
278
- }
279
-
280
- $tmpfname = wp_tempnam( $url );
281
-
282
- $args = array(
283
- 'timeout' => $timeout,
284
- 'stream' => true,
285
- 'filename' => $tmpfname,
286
- 'body' => $body
287
- );
288
-
289
- if ( ! $tmpfname ) {
290
- return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.', 'yit' ) );
291
- }
292
-
293
- $response = wp_safe_remote_post( $url, $args );
294
-
295
- if ( is_wp_error( $response ) ) {
296
- unlink( $tmpfname );
297
- return $response;
298
- }
299
-
300
- if ( 200 != wp_remote_retrieve_response_code( $response ) ) {
301
- unlink( $tmpfname );
302
- return new WP_Error( 'http_404', trim( wp_remote_retrieve_response_message( $response ) ) );
303
- }
304
-
305
- $content_md5 = wp_remote_retrieve_header( $response, 'content-md5' );
306
-
307
- if ( $content_md5 ) {
308
- $md5_check = verify_file_md5( $tmpfname, $content_md5 );
309
- if ( is_wp_error( $md5_check ) ) {
310
- unlink( $tmpfname );
311
- return $md5_check;
312
- }
313
- }
314
-
315
- return $tmpfname;
316
- }
317
-
318
- /**
319
- * Main plugin Instance
320
- *
321
- * @static
322
- * @return object Main instance
323
- *
324
- * @since 1.0
325
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
326
- */
327
- public static function instance() {
328
- if ( is_null( self::$_instance ) ) {
329
- self::$_instance = new self();
330
- }
331
-
332
- return self::$_instance;
333
- }
334
-
335
- /**
336
- * Delete the update plugins transient
337
- *
338
- * @return void
339
- *
340
- * @since 1.0
341
- * @see update_plugins transient and pre_set_site_transient_update_plugins hooks
342
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
343
- */
344
- public function force_regenerate_update_transient(){
345
- delete_site_transient( 'update_plugins' );
346
- }
347
-
348
- /**
349
- * Check for plugins update
350
- *
351
- * If a new plugin version is available set it in the pre_set_site_transient_update_plugins hooks
352
- *
353
- * @param mixed $transient | update_plugins transient value
354
- * @param bool $save | Default: false. Set true to regenerate the update_transient plugins
355
- *
356
- * @return mixed $transient | The new update_plugins transient value
357
- *
358
- * @since 1.0
359
- * @see update_plugins transient and pre_set_site_transient_update_plugins hooks
360
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
361
- */
362
- public function check_update( $transient, $save = false ) {
363
-
364
- foreach ($this->_plugins as $init => $plugin) {
365
- $xml = str_replace('%plugin_slug%', $this->_plugins[$init]['slug'], $this->_xml);
366
- $remote_xml = wp_remote_get($xml);
367
-
368
- if (!is_wp_error($remote_xml) && isset($remote_xml['response']['code']) && '200' == $remote_xml['response']['code']) {
369
-
370
-
371
- $plugin_remote_info = new SimpleXmlElement($remote_xml['body']);
372
-
373
- if (version_compare($plugin_remote_info->latest, $plugin['info']['Version'], '>') && !isset($transient->response[$init])) {
374
-
375
- $package = YIT_Plugin_Licence()->check($init) ? $this->_package_url : null;
376
-
377
- $obj = new stdClass();
378
- $obj->slug = (string)$init;
379
- $obj->new_version = (string)$plugin_remote_info->latest;
380
- $obj->changelog = (string)$plugin_remote_info->changelog;
381
- $obj->package = $package;
382
- $obj->plugin = $init;
383
- $transient->response[$init] = $obj;
384
- }
385
-
386
- }
387
- }
388
-
389
- if( $save ) {
390
- set_site_transient( 'update_plugins', $transient );
391
- }
392
-
393
- return $transient;
394
- }
395
-
396
- /**
397
- * Add the plugin update row in plugin page
398
- *
399
- * @return void
400
- * @fire "in_theme_update_message-{$init}" action
401
- *
402
- * @since 1.0
403
- * @see after_plugin_row_{$init} action
404
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
405
- */
406
- public function plugin_update_row() {
407
-
408
- $current = get_site_transient( 'update_plugins' );
409
- $init = str_replace( 'after_plugin_row_', '', current_filter() );
410
-
411
- if ( ! isset( $current->response[ $init ] ) ) {
412
- return false;
413
- }
414
-
415
- /**
416
- * stdClass Object
417
- */
418
- $r = $current->response[ $init ];
419
-
420
- $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
421
- $details_url = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
422
-
423
- /**
424
- * @see wp_plugin_update_rows() in wp-single\wp-admin\includes\update.php
425
- */
426
- $wp_list_table = _get_list_table( 'WP_MS_Themes_List_Table' );
427
-
428
- if( is_network_admin() || ! is_multisite() || true ) {
429
- echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
430
-
431
- if( ! current_user_can( 'update_plugins' ) ){
432
- printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
433
- }elseif( is_plugin_active_for_network( $init ) ){
434
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
435
- }elseif ( empty( $r->package ) ) {
436
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="License activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
437
- } else {
438
- printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url($details_url), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $init, 'upgrade-plugin_' . $init ) );
439
- }
440
-
441
- /**
442
- * Fires at the end of the update message container in each
443
- * row of the themes list table.
444
- *
445
- * The dynamic portion of the hook name, `$theme_key`, refers to
446
- * the theme slug as found in the WordPress.org themes repository.
447
- *
448
- * @since Wordpress 3.1.0
449
- * }
450
- */
451
- do_action( "in_theme_update_message-{$init}", $this->_plugins[ $init ], $r->changelog, $changelog_id );
452
-
453
- echo '</div></td></tr>';
454
- }
455
- }
456
-
457
- /**
458
- * Remove the standard plugin_update_row
459
- *
460
- * Remove the standard plugin_update_row and Add a custom plugin update row in plugin page.
461
- *
462
- * @return void
463
- * @fire "in_theme_update_message-{$init}" action
464
- *
465
- * @since 1.0
466
- * @see after_plugin_row_{$init} action
467
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
468
- */
469
- public function remove_wp_plugin_update_row() {
470
- foreach( $this->_plugins as $init => $plugin ){
471
- remove_action( "after_plugin_row_{$init}", 'wp_plugin_update_row', 10, 2 );
472
- add_action( "after_plugin_row_{$init}", array( $this, 'plugin_update_row' ) );
473
- add_action( "in_theme_update_message-{$init}", array( $this, 'in_theme_update_message' ), 10, 3 );
474
- }
475
- }
476
-
477
- public function in_theme_update_message( $plugin, $changelog, $changelog_id, $echo = true ){
478
-
479
- $res = "<div id='{$changelog_id}' class='yit-plugin-changelog-wrapper'>
 
 
 
 
 
 
 
480
  <div class='yit-plugin-changelog'>
481
  <h2 class='yit-plugin-changelog-title'>{$plugin['info']['Name']} - Changelog</h2>
482
  <p>{$changelog}</p>
483
  </div>
484
  </div>";
485
 
486
- if( $echo ){
487
- echo $res;
488
- }
489
- else{
490
- return $res;
491
- }
492
- }
493
-
494
- /**
495
- * Auto-Update Plugin in multisite
496
- *
497
- * Manage the non standard upgrade-plugin-multisite action
498
- *
499
- * @return void
500
- *
501
- * @since 1.0
502
- * @see upgrade-plugin action
503
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
504
- */
505
- public function upgrade_plugin_multisite(){
506
-
507
- $plugin = isset($_REQUEST['plugin']) ? trim($_REQUEST['plugin']) : '';
508
- $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : '';
509
-
510
- if( 'upgrade-plugin-multisite' != $action ){
511
- wp_die( __( 'You can\'t update the plugins for this site.', 'yith-plugin-fw' ) );
512
- }
513
-
514
- if ( ! current_user_can( 'update_plugins' ) ) {
515
- wp_die( __( 'You do not have sufficient permissions to update the plugins for this site.', 'yith-plugin-fw' ) );
516
- }
517
-
518
- $this->check_update( get_site_transient( 'update_plugins') , true );
519
-
520
- check_admin_referer( 'upgrade-plugin-multisite_' . $plugin );
521
-
522
- $title = __( 'Update Plugin', 'yith-plugin-fw' );
523
- $parent_file = 'plugins.php';
524
- $submenu_file = 'plugins.php';
525
-
526
- wp_enqueue_script( 'updates' );
527
- require_once( ABSPATH . 'wp-admin/admin-header.php' );
528
-
529
- $nonce = 'upgrade-plugin-multisite_' . $plugin;
530
- $url = 'update.php?action=upgrade-plugin-multisite&plugin=' . urlencode( $plugin );
531
-
532
- $upgrader = new Plugin_Upgrader( new Plugin_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'plugin' ) ) );
533
- $upgrader->upgrade( $plugin );
534
-
535
- include( ABSPATH . 'wp-admin/admin-footer.php' );
536
- }
537
- }
538
  }
539
 
540
  if ( ! function_exists( 'YIT_Upgrade' ) ) {
541
- /**
542
- * Main instance of plugin
543
- *
544
- * @return YIT_Upgrade
545
- * @since 1.0
546
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
547
- */
548
- function YIT_Upgrade() {
549
- return YIT_Upgrade::instance();
550
- }
551
  }
552
 
553
  /**
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
  if ( ! defined( 'ABSPATH' ) ) {
11
+ exit;
12
  } // Exit if accessed directly
13
 
14
  if ( ! class_exists( 'YIT_Upgrade' ) ) {
15
+ /**
16
+ * YIT Upgrade
17
+ *
18
+ * Notify and Update plugin
19
+ *
20
+ * @class YIT_Upgrade
21
+ * @package Yithemes
22
+ * @since 1.0
23
+ * @author Your Inspiration Themes
24
+ * @see WP_Updater Class
25
+ */
26
+ class YIT_Upgrade {
27
+
28
+ /**
29
+ * @var string XML notifier update
30
+ */
31
+ protected $_xml = 'http://update.yithemes.com/plugins/%plugin_slug%.xml';
32
+
33
+ /**
34
+ * @var string api server url
35
+ */
36
+ protected $_package_url = 'http://www.yithemes.com';
37
+
38
+ /**
39
+ * @var array The registered plugins
40
+ */
41
+ protected $_plugins = array();
42
+
43
+ /**
44
+ * @var YIT_Upgrade The main instance
45
+ */
46
+ protected static $_instance;
47
+
48
+ /**
49
+ * Construct
50
+ *
51
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
52
+ * @since 1.0
53
+ */
54
+ public function __construct() {
55
+ add_filter( 'upgrader_pre_download', array( $this, 'upgrader_pre_download' ), 10, 3 );
56
+ add_action( 'update-custom_upgrade-plugin-multisite', array( $this, 'upgrade_plugin_multisite' ) );
57
+
58
+ if ( is_network_admin() ) {
59
+ add_action( 'admin_enqueue_scripts', array( $this, 'network_admin_enqueue_scripts' ) );
60
+ }
61
+
62
+ $is_debug_enabled = defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG;
63
+ if ( $is_debug_enabled ) {
64
+ $this->_package_url = defined( 'YIT_LICENCE_DEBUG_LOCALHOST' ) ? YIT_LICENCE_DEBUG_LOCALHOST : 'http://dev.yithemes.com';
65
+ add_filter( 'block_local_requests', '__return_false' );
66
+ }
67
+ }
68
+
69
+ /**
70
+ * Main plugin Instance
71
+ *
72
+ * @param $plugin_slug | string The plugin slug
73
+ * @param $plugin_init | string The plugin init file
74
+ *
75
+ * @return void
76
+ *
77
+ * @since 1.0
78
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
79
+ */
80
+ public function register( $plugin_slug, $plugin_init ) {
81
+
82
+ if ( ! function_exists( 'get_plugins' ) ) {
83
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
84
+ }
85
+
86
+ $plugins = get_plugins();
87
+ $plugin_info = $plugins[ $plugin_init ];
88
+
89
+ $this->_plugins[ $plugin_init ] = array(
90
+ 'info' => $plugin_info,
91
+ 'slug' => $plugin_slug,
92
+ );
93
+
94
+ /* === HOOKS === */
95
+ if ( ! is_multisite() || is_plugin_active_for_network( $plugin_init ) ) {
96
+ add_action( 'admin_init', array( $this, 'remove_wp_plugin_update_row' ), 15 );
97
+ add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
98
+ } else if ( is_multisite() && current_user_can( 'update_plugins' ) ) {
99
+ $transient = 'yith_register_' . md5( $plugin_slug );
100
+ if ( apply_filters( 'yith_register_delete_transient', false ) ) {
101
+ delete_transient( $transient );
102
+ }
103
+ $info = get_transient( $transient );
104
+ if ( false === $info || apply_filters( 'yith_register_delete_transient', false ) ) {
105
+ $xml = str_replace( '%plugin_slug%', $plugin_slug, $this->_xml );
106
+ $remote_xml = wp_remote_get( $xml );
107
+
108
+ if ( ! is_wp_error( $remote_xml ) && isset( $remote_xml['response']['code'] ) && '200' == $remote_xml['response']['code'] ) {
109
+ $plugin_remote_info = new SimpleXmlElement( $remote_xml['body'] );
110
+ $info['Latest'] = (string) $plugin_remote_info->latest;
111
+ $info['changelog'] = (string) $plugin_remote_info->changelog;
112
+ YIT_Plugin_Licence()->check( $plugin_slug, false );
113
+ set_transient( $transient, $info, DAY_IN_SECONDS );
114
+ }
115
+ }
116
+
117
+ $this->_plugins[ $plugin_init ]['info']['Latest'] = $info['Latest'];
118
+ $this->_plugins[ $plugin_init ]['info']['changelog'] = $info['changelog'];
119
+ add_action( 'admin_enqueue_scripts', array( $this, 'multisite_updater_script' ) );
120
+ }
121
+ }
122
+
123
+ /**
124
+ * Add the multisite updater scripts
125
+ *
126
+ * @return void
127
+ *
128
+ * @since 1.0
129
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
130
+ */
131
+ public function multisite_updater_script() {
132
+
133
+ $update_url = $changelogs = $details_url = array();
134
+ $strings = array(
135
+ 'new_version' => __( 'There is a new version of %plugin_name% available.', 'yith-plugin-fw' ),
136
+ 'latest' => __( 'View version %latest% details.', 'yith-plugin-fw' ),
137
+ 'unavailable' => __( 'Automatic update is unavailable for this plugin,', 'yith-plugin-fw' ),
138
+ 'activate' => __( 'please <a href="%activate_link%">activate</a> your copy of %plugin_name%.', 'yith-plugin-fw' ),
139
+ 'update_now' => __( 'Update now.', 'yith-plugin-fw' )
140
+
141
+ );
142
+
143
+ foreach ( $this->_plugins as $init => $info ) {
144
+ $update_url[ $init ] = wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin-multisite&plugin=' ) . $init, 'upgrade-plugin-multisite_' . $init );
145
+ $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
146
+ $details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ), '' ) );
147
+ $plugin_changelog = isset( $this->_plugins[ $init ]['info']['changelog'] ) ? $this->_plugins[ $init ]['info']['changelog'] : '';
148
+ $changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $plugin_changelog, $changelog_id, false );
149
+ }
150
+
151
+ $localize_script_args = array(
152
+ 'registered' => $this->_plugins,
153
+ 'activated' => YIT_Plugin_Licence()->get_activated_products(),
154
+ 'licence_activation_url' => YIT_Plugin_Licence()->get_licence_activation_page_url(),
155
+ 'update_url' => $update_url,
156
+ 'details_url' => $details_url,
157
+ 'strings' => $strings,
158
+ 'changelogs' => $changelogs
159
+ );
160
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
161
+ yit_enqueue_script( 'yit-multisite-updater', YIT_CORE_PLUGIN_URL . '/assets/js/multisite-updater' . $suffix . '.js', array( 'jquery' ), false, true );
162
+
163
+ wp_localize_script( 'yit-multisite-updater', 'plugins', $localize_script_args );
164
+ }
165
+
166
+ public function network_admin_enqueue_scripts() {
167
+ yit_enqueue_style( 'yit-upgrader', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrader.css' );
168
+ }
169
+
170
+ /**
171
+ * Retrive the zip package file
172
+ *
173
+ * @param bool $reply Whether to bail without returning the package. Default false.
174
+ * @param string $package The package file name.
175
+ * @param \WP_Upgrader $upgrader WP_Upgrader instance.
176
+ *
177
+ * @return string | The download file
178
+ *
179
+ * @since 1.0
180
+ * @see wp-admin/includes/class-wp-upgrader.php
181
+ * @access public
182
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
183
+ */
184
+ public function upgrader_pre_download( $reply, $package, $upgrader ) {
185
+ $plugin = false;
186
+ $is_bulk = $upgrader->skin instanceof Bulk_Plugin_Upgrader_Skin;
187
+
188
+ if ( ! $is_bulk ) {
189
+ $plugin = isset( $upgrader->skin->plugin ) ? $upgrader->skin->plugin : false;
190
+ } else {
191
+ //Bulk action upgrade
192
+ $action_url = parse_url( $upgrader->skin->options['url'] );
193
+ parse_str( rawurldecode( htmlspecialchars_decode( $action_url['query'] ) ) );
194
+ $plugins = explode( ',', $plugins );
195
+ foreach ( $plugins as $plugin_init ) {
196
+ $to_upgrade = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin_init );
197
+ if ( $to_upgrade['Name'] == $upgrader->skin->plugin_info['Name'] ) {
198
+ $plugin = $plugin_init;
199
+ }
200
+ }
201
+ }
202
+
203
+ /**
204
+ * It isn't YITH Premium plugins, please wordpress update it for me!
205
+ */
206
+ if ( ! $plugin ) {
207
+ return $reply;
208
+ }
209
+
210
+ $plugin_info = YIT_Plugin_Licence()->get_product( $plugin );
211
+
212
+ /**
213
+ * False ? It isn't YITH Premium plugins, please wordpress update it for me!
214
+ */
215
+ if ( false === $plugin_info ) {
216
+ return $reply;
217
+ }
218
+
219
+ $licence = YIT_Plugin_Licence()->get_licence();
220
+ $product_id = $plugin_info['product_id'];
221
+ $args = array(
222
+ 'email' => $licence[ $product_id ]['email'],
223
+ 'licence_key' => $licence[ $product_id ]['licence_key'],
224
+ 'product_id' => $plugin_info['product_id'],
225
+ 'secret_key' => $plugin_info['secret_key'],
226
+ 'instance' => YIT_Plugin_Licence()->get_home_url(),
227
+ 'wc-api' => 'download-api',
228
+ 'request' => 'download'
229
+ );
230
+
231
+ if ( ! preg_match( '!^(http|https|ftp)://!i', $package ) && file_exists( $package ) ) {
232
+ //Local file or remote?
233
+ return $package;
234
+ }
235
+
236
+ if ( empty( $package ) ) {
237
+ return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
238
+ }
239
+
240
+ $upgrader->skin->feedback( 'downloading_package', __( 'YIThemes Repository', 'yith-plugin-fw' ) );
241
+
242
+ $download_file = $this->_download_url( $package, $args );
243
+
244
+ /**
245
+ * Regenerate update_plugins transient
246
+ */
247
+ $this->force_regenerate_update_transient();
248
+
249
+ if ( is_wp_error( $download_file ) ) {
250
+ return new WP_Error( 'download_failed', $upgrader->strings['download_failed'], $download_file->get_error_message() );
251
+ }
252
+
253
+ return $download_file;
254
+ }
255
+
256
+ /**
257
+ * Retrive the temp filename
258
+ *
259
+ * @param string $url The package url
260
+ * @param string $body The post data fields
261
+ * @param int $timeout Execution timeout (default: 300)
262
+ *
263
+ * @return string | The temp filename
264
+ *
265
+ * @since 1.0
266
+ * @see wp-admin/includes/class-wp-upgrader.php
267
+ * @access protected
268
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
269
+ */
270
+ protected function _download_url( $url, $body, $timeout = 300 ) {
271
+
272
+ //WARNING: The file is not automatically deleted, The script must unlink() the file.
273
+ if ( ! $url ) {
274
+ return new WP_Error( 'http_no_url', __( 'Invalid URL Provided.', 'yit' ) );
275
+ }
276
+
277
+ $tmpfname = wp_tempnam( $url );
278
+
279
+ $args = array(
280
+ 'timeout' => $timeout,
281
+ 'stream' => true,
282
+ 'filename' => $tmpfname,
283
+ 'body' => $body
284
+ );
285
+
286
+ if ( ! $tmpfname ) {
287
+ return new WP_Error( 'http_no_file', __( 'Could not create Temporary file.', 'yit' ) );
288
+ }
289
+
290
+ $response = wp_safe_remote_post( $url, $args );
291
+
292
+ if ( is_wp_error( $response ) ) {
293
+ unlink( $tmpfname );
294
+
295
+ return $response;
296
+ }
297
+
298
+ if ( 200 != wp_remote_retrieve_response_code( $response ) ) {
299
+ unlink( $tmpfname );
300
+
301
+ return new WP_Error( 'http_404', trim( wp_remote_retrieve_response_message( $response ) ) );
302
+ }
303
+
304
+ $content_md5 = wp_remote_retrieve_header( $response, 'content-md5' );
305
+
306
+ if ( $content_md5 ) {
307
+ $md5_check = verify_file_md5( $tmpfname, $content_md5 );
308
+ if ( is_wp_error( $md5_check ) ) {
309
+ unlink( $tmpfname );
310
+
311
+ return $md5_check;
312
+ }
313
+ }
314
+
315
+ return $tmpfname;
316
+ }
317
+
318
+ /**
319
+ * Main plugin Instance
320
+ *
321
+ * @static
322
+ * @return object Main instance
323
+ *
324
+ * @since 1.0
325
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
326
+ */
327
+ public static function instance() {
328
+ if ( is_null( self::$_instance ) ) {
329
+ self::$_instance = new self();
330
+ }
331
+
332
+ return self::$_instance;
333
+ }
334
+
335
+ /**
336
+ * Delete the update plugins transient
337
+ *
338
+ * @return void
339
+ *
340
+ * @since 1.0
341
+ * @see update_plugins transient and pre_set_site_transient_update_plugins hooks
342
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
343
+ */
344
+ public function force_regenerate_update_transient() {
345
+ delete_site_transient( 'update_plugins' );
346
+ }
347
+
348
+ /**
349
+ * Check for plugins update
350
+ *
351
+ * If a new plugin version is available set it in the pre_set_site_transient_update_plugins hooks
352
+ *
353
+ * @param mixed $transient | update_plugins transient value
354
+ * @param bool $save | Default: false. Set true to regenerate the update_transient plugins
355
+ *
356
+ * @return mixed $transient | The new update_plugins transient value
357
+ *
358
+ * @since 1.0
359
+ * @see update_plugins transient and pre_set_site_transient_update_plugins hooks
360
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
361
+ */
362
+ public function check_update( $transient, $save = false ) {
363
+
364
+ foreach ( $this->_plugins as $init => $plugin ) {
365
+ $xml = str_replace( '%plugin_slug%', $this->_plugins[ $init ]['slug'], $this->_xml );
366
+ $remote_xml = wp_remote_get( $xml );
367
+
368
+ if ( ! is_wp_error( $remote_xml ) && isset( $remote_xml['response']['code'] ) && '200' == $remote_xml['response']['code'] ) {
369
+
370
+ try {
371
+
372
+ $plugin_remote_info = new SimpleXmlElement( $remote_xml['body'] );
373
+
374
+ if ( version_compare( $plugin_remote_info->latest, $plugin['info']['Version'], '>' ) && ! isset( $transient->response[ $init ] ) ) {
375
+
376
+ $package = YIT_Plugin_Licence()->check( $init ) ? $this->_package_url : null;
377
+
378
+ $obj = new stdClass();
379
+ $obj->slug = (string) $init;
380
+ $obj->new_version = (string) $plugin_remote_info->latest;
381
+ $obj->changelog = (string) $plugin_remote_info->changelog;
382
+ $obj->package = $package;
383
+ $obj->plugin = $init;
384
+ $transient->response[ $init ] = $obj;
385
+ }
386
+
387
+ } catch ( Exception $e ) {
388
+
389
+ return $transient;
390
+
391
+ }
392
+
393
+ }
394
+ }
395
+
396
+ if ( $save ) {
397
+ set_site_transient( 'update_plugins', $transient );
398
+ }
399
+
400
+ return $transient;
401
+ }
402
+
403
+ /**
404
+ * Add the plugin update row in plugin page
405
+ *
406
+ * @return void
407
+ * @fire "in_theme_update_message-{$init}" action
408
+ *
409
+ * @since 1.0
410
+ * @see after_plugin_row_{$init} action
411
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
412
+ */
413
+ public function plugin_update_row() {
414
+
415
+ $current = get_site_transient( 'update_plugins' );
416
+ $init = str_replace( 'after_plugin_row_', '', current_filter() );
417
+
418
+ if ( ! isset( $current->response[ $init ] ) ) {
419
+ return false;
420
+ }
421
+
422
+ /**
423
+ * stdClass Object
424
+ */
425
+ $r = $current->response[ $init ];
426
+
427
+ $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
428
+ $details_url = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ), '' ) );
429
+
430
+ /**
431
+ * @see wp_plugin_update_rows() in wp-single\wp-admin\includes\update.php
432
+ */
433
+ $wp_list_table = _get_list_table( 'WP_MS_Themes_List_Table' );
434
+
435
+ if ( is_network_admin() || ! is_multisite() || true ) {
436
+ echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
437
+
438
+ if ( ! current_user_can( 'update_plugins' ) ) {
439
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>.', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
440
+ } elseif ( is_plugin_active_for_network( $init ) ) {
441
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
442
+ } elseif ( empty( $r->package ) ) {
443
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="License activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
444
+ } else {
445
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $init, 'upgrade-plugin_' . $init ) );
446
+ }
447
+
448
+ /**
449
+ * Fires at the end of the update message container in each
450
+ * row of the themes list table.
451
+ *
452
+ * The dynamic portion of the hook name, `$theme_key`, refers to
453
+ * the theme slug as found in the WordPress.org themes repository.
454
+ *
455
+ * @since Wordpress 3.1.0
456
+ * }
457
+ */
458
+ do_action( "in_theme_update_message-{$init}", $this->_plugins[ $init ], $r->changelog, $changelog_id );
459
+
460
+ echo '</div></td></tr>';
461
+ }
462
+ }
463
+
464
+ /**
465
+ * Remove the standard plugin_update_row
466
+ *
467
+ * Remove the standard plugin_update_row and Add a custom plugin update row in plugin page.
468
+ *
469
+ * @return void
470
+ * @fire "in_theme_update_message-{$init}" action
471
+ *
472
+ * @since 1.0
473
+ * @see after_plugin_row_{$init} action
474
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
475
+ */
476
+ public function remove_wp_plugin_update_row() {
477
+ foreach ( $this->_plugins as $init => $plugin ) {
478
+ remove_action( "after_plugin_row_{$init}", 'wp_plugin_update_row', 10, 2 );
479
+ add_action( "after_plugin_row_{$init}", array( $this, 'plugin_update_row' ) );
480
+ add_action( "in_theme_update_message-{$init}", array( $this, 'in_theme_update_message' ), 10, 3 );
481
+ }
482
+ }
483
+
484
+ public function in_theme_update_message( $plugin, $changelog, $changelog_id, $echo = true ) {
485
+
486
+ $res = "<div id='{$changelog_id}' class='yit-plugin-changelog-wrapper'>
487
  <div class='yit-plugin-changelog'>
488
  <h2 class='yit-plugin-changelog-title'>{$plugin['info']['Name']} - Changelog</h2>
489
  <p>{$changelog}</p>
490
  </div>
491
  </div>";
492
 
493
+ if ( $echo ) {
494
+ echo $res;
495
+ } else {
496
+ return $res;
497
+ }
498
+ }
499
+
500
+ /**
501
+ * Auto-Update Plugin in multisite
502
+ *
503
+ * Manage the non standard upgrade-plugin-multisite action
504
+ *
505
+ * @return void
506
+ *
507
+ * @since 1.0
508
+ * @see upgrade-plugin action
509
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
510
+ */
511
+ public function upgrade_plugin_multisite() {
512
+
513
+ $plugin = isset( $_REQUEST['plugin'] ) ? trim( $_REQUEST['plugin'] ) : '';
514
+ $action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';
515
+
516
+ if ( 'upgrade-plugin-multisite' != $action ) {
517
+ wp_die( __( 'You can\'t update the plugins for this site.', 'yith-plugin-fw' ) );
518
+ }
519
+
520
+ if ( ! current_user_can( 'update_plugins' ) ) {
521
+ wp_die( __( 'You do not have sufficient permissions to update the plugins for this site.', 'yith-plugin-fw' ) );
522
+ }
523
+
524
+ $this->check_update( get_site_transient( 'update_plugins' ), true );
525
+
526
+ check_admin_referer( 'upgrade-plugin-multisite_' . $plugin );
527
+
528
+ $title = __( 'Update Plugin', 'yith-plugin-fw' );
529
+ $parent_file = 'plugins.php';
530
+ $submenu_file = 'plugins.php';
531
+
532
+ wp_enqueue_script( 'updates' );
533
+ require_once( ABSPATH . 'wp-admin/admin-header.php' );
534
+
535
+ $nonce = 'upgrade-plugin-multisite_' . $plugin;
536
+ $url = 'update.php?action=upgrade-plugin-multisite&plugin=' . urlencode( $plugin );
537
+
538
+ $upgrader = new Plugin_Upgrader( new Plugin_Upgrader_Skin( compact( 'title', 'nonce', 'url', 'plugin' ) ) );
539
+ $upgrader->upgrade( $plugin );
540
+
541
+ include( ABSPATH . 'wp-admin/admin-footer.php' );
542
+ }
543
+ }
 
544
  }
545
 
546
  if ( ! function_exists( 'YIT_Upgrade' ) ) {
547
+ /**
548
+ * Main instance of plugin
549
+ *
550
+ * @return YIT_Upgrade
551
+ * @since 1.0
552
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
553
+ */
554
+ function YIT_Upgrade() {
555
+ return YIT_Upgrade::instance();
556
+ }
557
  }
558
 
559
  /**
plugin-fw/lib/yit-video.php CHANGED
@@ -104,10 +104,13 @@ if ( ! class_exists( 'YIT_Video' ) ) {
104
  ob_start();
105
 
106
  $id = preg_replace( '/[&|&amp;]feature=([\w\-]*)/', '', $id );
107
- $id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
 
 
 
108
 
109
  <div class="post_video vimeo">
110
- <iframe wmode="transparent" src="http://player.vimeo.com/video/<?php echo $id; ?>?title=0&amp;byline=0&amp;portrait=0" width="<?php echo $width; ?>" height="<?php echo $height; ?>" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
111
  </div>
112
 
113
  <?php
@@ -131,6 +134,7 @@ if ( ! class_exists( 'YIT_Video' ) ) {
131
  */
132
  public static function video_id_by_url( $url ) {
133
  $parsed = parse_url( esc_url( $url ) );
 
134
  if ( ! isset( $parsed['host'] ) ) {
135
  return false;
136
  }
104
  ob_start();
105
 
106
  $id = preg_replace( '/[&|&amp;]feature=([\w\-]*)/', '', $id );
107
+ $id = preg_replace( '/(youtube|vimeo):/', '', $id );
108
+ $http = is_ssl()? 'https' : 'http';
109
+ ?>
110
+
111
 
112
  <div class="post_video vimeo">
113
+ <iframe wmode="transparent" src="<?php echo $http;?>://player.vimeo.com/video/<?php echo $id; ?>?title=0&amp;byline=0&amp;portrait=0" width="<?php echo $width; ?>" height="<?php echo $height; ?>" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
114
  </div>
115
 
116
  <?php
134
  */
135
  public static function video_id_by_url( $url ) {
136
  $parsed = parse_url( esc_url( $url ) );
137
+
138
  if ( ! isset( $parsed['host'] ) ) {
139
  return false;
140
  }
plugin-fw/templates/upgrade/upgrade-to-pro-version.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="upgrade-to-premium">
2
- <h1><?php _e( 'Upgrade to Premium Version', 'yith-plugin-fw' ) ?></h1>
3
- <h3><?php _e( "Have you purchased the premium version of a plugin? Don't you know how to activate the license after the purchase?", 'yith-plugin-fw' ) ?></h3>
4
- <p class="upgrade-how-to">
5
- <?php echo _e( "To upgrade from a FREE to a PREMIUM plugin is not suffice to insert the license key provided after the purchase.
6
- The reason is that they are two distinct products, with significant differences both for available options and for number of files included in the plugin package.
7
- To start to use the PREMIUM version of the plugin, you simply need to download the PREMIUM packet and install it on your site.", 'yith-plugin-fw' ); ?>
8
- </p>
9
- <p class="highlighted"><?php echo sprintf( __( '%1$sDo you need to know how to do it?%2$s Easy! %1$sFollow this list of steps%2$s and in a few minutes the plugin you purchased will be installed on your site', 'yith-plugin-fw' ),'<b>','</b>' ); ?></p>
10
- <ol class="upgrade-steps">
11
- <li class="step">
12
- <?php _e( 'Go to yithemes.com and login to "My Account" page', 'yith-plugin-fw' ); ?>
13
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/01.jpg" title="YIThemes - Login">
14
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/01.jpg" alt="YIThemes - Login">
15
- </a>
16
- </li>
17
- <li class="step">
18
- <?php _e( 'From the menu on the left, click on "My Downloads", look for the plugin you want to install among the available downloads and click on "Download" button' , 'yith-plugin-fw' ); ?>
19
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/02.jpg" title="My Account -> My Downloads">
20
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/02.jpg" alt="My Account -> My Downloads">
21
- </a>
22
- </li>
23
- <li class="step">
24
- <?php _e( "After downloading the packet, go to your website and login to WordPress administration area.", 'yith-plugin-fw' ); ?>
25
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/03.jpg" title="Login to WordPress">
26
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/03.jpg" alt="Login to WordPress">
27
- </a>
28
- </li>
29
- <li class="step">
30
- <?php _e( 'From the menu on the left, click on "Plugins". You will be redirected to the page where you will find the complete list of all the plugins available on your site. Click on "Add New" button that you find above on the left to add a new plugin', 'yith-plugin-fw' ); ?>
31
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/04.jpg" title="Add new plugin">
32
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/04.jpg" alt="Add new plugin">
33
- </a>
34
- </li>
35
- <li class="step">
36
- <?php _e( 'You will be redirected to a new page where you will find, above on the left next to the page title, the "Upload Plugin" button.', 'yith-plugin-fw' ); ?>
37
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/05.jpg" title="Upload plugin">
38
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/05.jpg" alt="Upload plugin">
39
- </a>
40
- </li>
41
- <li class="step">
42
- <?php _e( 'Click on "Upload Plugins" button to start the upload of the PREMIUM version of the plugin previously downloaded. Click on "Select File", search for the download folder related to the plugin and upload the package. Now you only need to wait a few minutes for the upload and the installation on your site. (We used YITH Live Chat plugin by way of example)', 'yith-plugin-fw' ); ?>
43
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/06.jpg" title="Select plugin package">
44
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/06.jpg" alt="Select plugin package">
45
- </a>
46
- </li>
47
- <li class="step">
48
- <?php _e( 'After completing the installation, click on "Activate plugin"', 'yith-plugin-fw' ); ?>
49
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/07.jpg" title="Activate plugin">
50
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/07.jpg" alt="Activate plugin">
51
- </a>
52
- <?php _e( 'If everything worked allright, your plugin is now correctly installed on your website. Enjoy it :-)', 'yith-plugin-fw' ); ?>
53
- </li>
54
- <li class="step">
55
- <?php _e( 'The last step is the activation of the plugin through its license key you received after the purchase. Click on "License Activation" that you find in "YITH Plugins" and insert the license key and the email address you used during the purchase.', 'yith-plugin-fw' ); ?>
56
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/08.jpg" title="Activate license">
57
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/08.jpg" alt="Activate license">
58
- </a>
59
- </li>
60
- <li class="step">
61
- <?php _e( 'In case you had difficulty to recover the license key we sent you by email, you can easily find it in "My Licenses" section of your account on yithemes.com', 'yith-plugin-fw' ); ?>
62
- <a class="image-lightbox" href="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/09.jpg" title="Section My License">
63
- <img class="img-responsive" src="<?php echo $core_plugin_url; ?>/assets/images/upgrade-page/09.jpg" alt="Section My License">
64
- </a>
65
- </li>
66
- </ol>
67
- </div>
68
-
69
- <script>
70
- // Lightbox image
71
- jQuery('document').ready(function($){
72
- $(".image-lightbox").colorbox({rel:'image-lightbox'});
73
- });
74
-
75
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/yit-functions.php CHANGED
@@ -646,14 +646,27 @@ if ( ! function_exists ( 'yit_ie_version' ) ) {
646
  *
647
  * @return int|float
648
  * @since 1.0.0
649
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
650
  */
651
- function yit_ie_version () {
652
- preg_match ( '/MSIE ([0-9]\.[0-9])/', $_SERVER[ 'HTTP_USER_AGENT' ], $reg );
653
- if ( ! isset( $reg[ 1 ] ) ) {
654
  return - 1;
655
- } else {
656
- return floatval ( $reg[ 1 ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
657
  }
658
  }
659
  }
646
  *
647
  * @return int|float
648
  * @since 1.0.0
649
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>, Andrea Frascaspata<andrea.frascaspata@yithemes.com>
650
  */
651
+ function yit_ie_version() {
652
+
653
+ if ( ! isset( $_SERVER['HTTP_USER_AGENT'] ) ) {
654
  return - 1;
655
+ }
656
+ preg_match( '/MSIE ([0-9]+\.[0-9])/', $_SERVER['HTTP_USER_AGENT'], $reg );
657
+
658
+ if ( ! isset( $reg[1] ) ) // IE 11 FIX
659
+ {
660
+ preg_match( '/rv:([0-9]+\.[0-9])/', $_SERVER['HTTP_USER_AGENT'], $reg );
661
+ if ( ! isset( $reg[1] ) ) {
662
+ return - 1;
663
+ }
664
+ else {
665
+ return floatval( $reg[1] );
666
+ }
667
+ }
668
+ else {
669
+ return floatval( $reg[1] );
670
  }
671
  }
672
  }
settings/custom-style-options.php CHANGED
@@ -21,7 +21,7 @@ $custom_style = array(
21
  array( 'type' => 'open' ),
22
 
23
  array(
24
- 'name' => __( 'Put here your custom CSS rules:', 'yith-woocommerce-ajax-navigation' ),
25
  'desc' => '',
26
  'id' => 'yith_wcan_custom_style',
27
  'type' => 'textarea',
21
  array( 'type' => 'open' ),
22
 
23
  array(
24
+ 'name' => __( 'Enter here your custom CSS rules:', 'yith-woocommerce-ajax-navigation' ),
25
  'desc' => '',
26
  'id' => 'yith_wcan_custom_style',
27
  'type' => 'textarea',
settings/frontend-options.php CHANGED
@@ -24,14 +24,14 @@ $frontend = array(
24
  'id' => 'yith_wcan_frontend_description',
25
  'name' => _x( 'How To:', 'Admin panel: option description', 'yith-woocommerce-ajax-navigation' ),
26
  'type' => 'wcan_description',
27
- 'desc' => _x( "If your theme use the WooCommerce standard templates, you don't need to change the following values.
28
- Otherwise, add the classes used in the template of your theme.
29
- If you don't know them, please contact the developer of your theme to receive the correct classes.", 'Admin: Panel section description', 'yith-woocommerce-ajax-navigation' ),
30
  ),
31
 
32
  array(
33
  'name' => __( 'Product Container', 'yith-woocommerce-ajax-navigation' ),
34
- 'desc' => __( 'Put here the CSS class or id for the product container', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.products</strong>)',
35
  'id' => 'yith_wcan_ajax_shop_container',
36
  'type' => 'text',
37
  'std' => '.products'
@@ -39,7 +39,7 @@ $frontend = array(
39
 
40
  array(
41
  'name' => __( 'Shop Pagination Container', 'yith-woocommerce-ajax-navigation' ),
42
- 'desc' => __( 'Put here the CSS class or id for the shop pagination container', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>nav.woocommerce-pagination</strong>)',
43
  'id' => 'yith_wcan_ajax_shop_pagination',
44
  'type' => 'text',
45
  'std' => 'nav.woocommerce-pagination'
@@ -47,7 +47,7 @@ $frontend = array(
47
 
48
  array(
49
  'name' => __( 'Result Count Container', 'yith-woocommerce-ajax-navigation' ),
50
- 'desc' => __( 'Put here the CSS class or id for the result count container', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.woocommerce-result-count</strong>)',
51
  'id' => 'yith_wcan_ajax_shop_result_container',
52
  'type' => 'text',
53
  'std' => '.woocommerce-result-count'
@@ -55,7 +55,7 @@ $frontend = array(
55
 
56
  array(
57
  'name' => __( 'Scroll top anchor', 'yith-woocommerce-ajax-navigation' ),
58
- 'desc' => __( 'Put here the HTML tag for the scroll top in mobile', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.yit-wcan-container</strong>)',
59
  'id' => 'yith_wcan_ajax_scroll_top_class',
60
  'type' => 'text',
61
  'std' => '.yit-wcan-container'
24
  'id' => 'yith_wcan_frontend_description',
25
  'name' => _x( 'How To:', 'Admin panel: option description', 'yith-woocommerce-ajax-navigation' ),
26
  'type' => 'wcan_description',
27
+ 'desc' => _x( "If your theme is using WooCommerce standard templates, you don't need to change the following values.
28
+ Otherwise, add the classes used in the templates of your theme.
29
+ If you don't know how to do, please contact the developer of your theme to be correctly instructed.", 'Admin: Panel section description', 'yith-woocommerce-ajax-navigation' ),
30
  ),
31
 
32
  array(
33
  'name' => __( 'Product Container', 'yith-woocommerce-ajax-navigation' ),
34
+ 'desc' => __( 'Enter here the CSS class or id for the product container', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.products</strong>)',
35
  'id' => 'yith_wcan_ajax_shop_container',
36
  'type' => 'text',
37
  'std' => '.products'
39
 
40
  array(
41
  'name' => __( 'Shop Pagination Container', 'yith-woocommerce-ajax-navigation' ),
42
+ 'desc' => __( 'Enter here the CSS class or id for the shop pagination container', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>nav.woocommerce-pagination</strong>)',
43
  'id' => 'yith_wcan_ajax_shop_pagination',
44
  'type' => 'text',
45
  'std' => 'nav.woocommerce-pagination'
47
 
48
  array(
49
  'name' => __( 'Result Count Container', 'yith-woocommerce-ajax-navigation' ),
50
+ 'desc' => __( 'Enter here the CSS class or id for the results count container', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.woocommerce-result-count</strong>)',
51
  'id' => 'yith_wcan_ajax_shop_result_container',
52
  'type' => 'text',
53
  'std' => '.woocommerce-result-count'
55
 
56
  array(
57
  'name' => __( 'Scroll top anchor', 'yith-woocommerce-ajax-navigation' ),
58
+ 'desc' => __( 'Enter here the HTML tag for the scroll to top feature on mobiles', 'yith-woocommerce-ajax-navigation' ) . ' (Default: <strong>.yit-wcan-container</strong>)',
59
  'id' => 'yith_wcan_ajax_scroll_top_class',
60
  'type' => 'text',
61
  'std' => '.yit-wcan-container'
widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -33,7 +33,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
33
  function __construct() {
34
  $classname = 'yith-woocommerce-ajax-product-filter yith-woo-ajax-navigation woocommerce widget_layered_nav';
35
  $classname .= 'checkboxes' == yith_wcan_get_option( 'yith_wcan_ajax_shop_filter_style', 'standard' ) ? ' with-checkbox' : '';
36
- $widget_ops = array( 'classname' => $classname, 'description' => __( 'Filter the product list without reloading the page', 'yith-woocommerce-ajax-navigation' ) );
37
  $control_ops = array( 'width' => 400, 'height' => 350 );
38
  add_action('wp_ajax_yith_wcan_select_type', array( $this, 'ajax_print_terms') );
39
  parent::__construct( 'yith-woo-ajax-navigation', _x( 'YITH WooCommerce Ajax Product Filter', 'Admin: Widget Title', 'yith-woocommerce-ajax-navigation' ), $widget_ops, $control_ops );
@@ -41,7 +41,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
41
 
42
 
43
  function widget( $args, $instance ) {
44
- global $_chosen_attributes, $woocommerce;
45
 
46
  extract( $args );
47
  $_attributes_array = yit_wcan_get_product_taxonomy();
@@ -58,27 +58,25 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
58
  $this->brand_taxonomy = YITH_WCBR::$brands_taxonomy;
59
  }
60
 
61
- $current_term = $_attributes_array && is_tax( $_attributes_array ) ? get_queried_object()->term_id : '';
62
- $current_tax = $_attributes_array && is_tax( $_attributes_array ) ? get_queried_object()->taxonomy : '';
63
- $title = apply_filters( 'yith_widget_title_ajax_navigation', ( isset( $instance['title'] ) ? $instance['title'] : '' ), $instance, $this->id_base );
64
- $query_type = isset( $instance['query_type'] ) ? $instance['query_type'] : 'and';
65
- $display_type = isset( $instance['type'] ) ? $instance['type'] : 'list';
66
- $is_child_class = 'yit-wcan-child-terms';
67
- $is_parent_class = 'yit-wcan-parent-terms';
68
- $is_chosen_class = 'chosen';
69
- //TODO: Filtrare da premium
70
- //$terms_type_list = ( isset( $instance['display'] ) && ( $display_type == 'list' || $display_type == 'select' ) ) ? $instance['display'] : 'all';
71
- $terms_type_list = ( isset( $instance['display'] ) ) ? $instance['display'] : 'all';
72
-
73
- $instance['attribute'] = empty( $instance['attribute'] ) ? '' : $instance['attribute'];
74
- $instance['extra_class'] = empty( $instance['extra_class'] ) ? '' : $instance['extra_class'];
75
 
76
  /* FIX TO WOOCOMMERCE 2.1 */
77
  if ( function_exists( 'wc_attribute_taxonomy_name' ) ) {
78
  $taxonomy = wc_attribute_taxonomy_name( $instance['attribute'] );
79
  }
80
  else {
81
- $taxonomy = $woocommerce->attribute_taxonomy_name( $instance['attribute'] );
82
  }
83
 
84
  $taxonomy = apply_filters( 'yith_wcan_get_terms_params', $taxonomy, $instance, 'taxonomy_name' );
@@ -133,7 +131,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
133
  // List display
134
  echo "<ul class='yith-wcan-list yith-wcan {$instance['extra_class']}'>";
135
 
136
- $this->get_list_html( $tree, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class );
137
 
138
  echo "</ul>";
139
  }
@@ -161,19 +159,19 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
161
  set_transient( $transient_name, $_products_in_term );
162
  //}
163
 
164
- $option_is_set = ( isset( $_chosen_attributes[$taxonomy] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) );
165
 
166
  // If this is an AND query, only show options with count > 0
167
  if ( $query_type == 'and' ) {
168
 
169
- $count = sizeof( array_intersect( $_products_in_term, $woocommerce->query->filtered_product_ids ) );
170
 
171
  // skip the term for the current archive
172
- if ( $current_term == $term->term_id ) {
173
  continue;
174
  }
175
 
176
- if ( $count > 0 && $current_term !== $term->term_id ) {
177
  $this->found = true;
178
  }
179
 
@@ -186,11 +184,11 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
186
  else {
187
 
188
  // skip the term for the current archive
189
- if ( $current_term == $term->term_id ) {
190
  continue;
191
  }
192
 
193
- $count = sizeof( array_intersect( $_products_in_term, $woocommerce->query->unfiltered_product_ids ) );
194
 
195
  if ( $count > 0 ) {
196
  $this->found = true;
@@ -208,8 +206,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
208
 
209
  $current_filter = array_map( 'esc_attr', $current_filter );
210
 
211
- if ( ! in_array( $term->term_id, $current_filter ) ) {
212
- $current_filter[] = $term->term_id;
213
  }
214
 
215
  $link = yit_get_woocommerce_layered_nav_link();
@@ -254,7 +252,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
254
 
255
  if ( isset( $_GET[ $this->brand_taxonomy ] ) ) {
256
  $brands = get_term_by( 'name', $_GET[ $this->brand_taxonomy ], $this->brand_taxonomy );
257
- if( $brands->term_id != $term->term_id ){
258
  $link = add_query_arg( $this->brand_taxonomy, urlencode( $brands->slug ), $link );
259
  }
260
  }
@@ -270,13 +268,13 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
270
  }
271
 
272
  // Current Filter = this widget
273
- if ( isset( $_chosen_attributes[$taxonomy] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) ) {
274
 
275
  $class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
276
 
277
  // Remove this term is $current_filter has more than 1 term filtered
278
  if ( sizeof( $current_filter ) > 1 ) {
279
- $current_filter_without_this = array_diff( $current_filter, array( $term->term_id ) );
280
  $link = add_query_arg( $arg, implode( ',', $current_filter_without_this ), $link );
281
  }
282
 
@@ -299,13 +297,15 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
299
  }
300
 
301
  // Query type Arg
302
- if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
303
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
304
  }
305
 
 
 
306
  echo '<li ' . $class . '>';
307
 
308
- echo ( $count > 0 || $option_is_set ) ? '<a data-type="select" href="' . esc_url( apply_filters( 'woocommerce_layered_nav_link', $link ) ) . '">' : '<span>';
309
 
310
  echo $term->name;
311
 
@@ -335,19 +335,19 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
335
  set_transient( $transient_name, $_products_in_term );
336
  //}
337
 
338
- $option_is_set = ( isset( $_chosen_attributes[$taxonomy] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) );
339
 
340
  // If this is an AND query, only show options with count > 0
341
  if ( $query_type == 'and' ) {
342
 
343
- $count = sizeof( array_intersect( $_products_in_term, $woocommerce->query->filtered_product_ids ) );
344
 
345
  // skip the term for the current archive
346
- if ( $current_term == $term->term_id ) {
347
  continue;
348
  }
349
 
350
- if ( $count > 0 && $current_term !== $term->term_id ) {
351
  $this->found = true;
352
  }
353
 
@@ -360,11 +360,11 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
360
  else {
361
 
362
  // skip the term for the current archive
363
- if ( $current_term == $term->term_id ) {
364
  continue;
365
  }
366
 
367
- $count = sizeof( array_intersect( $_products_in_term, $woocommerce->query->unfiltered_product_ids ) );
368
 
369
  if ( $count > 0 ) {
370
  $this->found = true;
@@ -382,8 +382,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
382
 
383
  $current_filter = array_map( 'esc_attr', $current_filter );
384
 
385
- if ( ! in_array( $term->term_id, $current_filter ) ) {
386
- $current_filter[] = $term->term_id;
387
  }
388
 
389
  $link = yit_get_woocommerce_layered_nav_link();
@@ -428,7 +428,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
428
 
429
  if ( isset( $_GET[ $this->brand_taxonomy ] ) ) {
430
  $brands = get_term_by( 'name', $_GET[ $this->brand_taxonomy ], $this->brand_taxonomy );
431
- if( $brands->term_id != $term->term_id ){
432
  $link = add_query_arg( $this->brand_taxonomy, urlencode( $brands->slug ), $link );
433
  }
434
  }
@@ -444,13 +444,13 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
444
  }
445
 
446
  // Current Filter = this widget
447
- if ( isset( $_chosen_attributes[$taxonomy] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) ) {
448
 
449
  $class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
450
 
451
  // Remove this term is $current_filter has more than 1 term filtered
452
  if ( sizeof( $current_filter ) > 1 ) {
453
- $current_filter_without_this = array_diff( $current_filter, array( $term->term_id ) );
454
  $link = add_query_arg( $arg, implode( ',', $current_filter_without_this ), $link );
455
  }
456
  }
@@ -470,10 +470,11 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
470
  }
471
 
472
  // Query type Arg
473
- if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
474
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
475
  }
476
 
 
477
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
478
 
479
  if ( ! empty( $instance['colors'][$term_id] ) ) {
@@ -481,7 +482,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
481
 
482
  echo '<li ' . $class . '>';
483
 
484
- echo ( $count > 0 || $option_is_set ) ? '<a style="' . $li_style . '" href="' . esc_url( apply_filters( 'woocommerce_layered_nav_link', $link ) ) . '" title="' . $term->name . '" >' : '<span style="background-color:' . $instance['colors'][$term_id] . ';" >';
485
 
486
  echo $term->name;
487
 
@@ -508,19 +509,19 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
508
  set_transient( $transient_name, $_products_in_term );
509
  //}
510
 
511
- $option_is_set = ( isset( $_chosen_attributes[$taxonomy] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) );
512
 
513
  // If this is an AND query, only show options with count > 0
514
  if ( $query_type == 'and' ) {
515
 
516
- $count = sizeof( array_intersect( $_products_in_term, $woocommerce->query->filtered_product_ids ) );
517
 
518
  // skip the term for the current archive
519
- if ( $current_term == $term->term_id ) {
520
  continue;
521
  }
522
 
523
- if ( $count > 0 && $current_term !== $term->term_id ) {
524
  $this->found = true;
525
  }
526
 
@@ -533,11 +534,11 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
533
  else {
534
 
535
  // skip the term for the current archive
536
- if ( $current_term == $term->term_id ) {
537
  continue;
538
  }
539
 
540
- $count = sizeof( array_intersect( $_products_in_term, $woocommerce->query->unfiltered_product_ids ) );
541
 
542
  if ( $count > 0 ) {
543
  $this->found = true;
@@ -555,8 +556,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
555
 
556
  $current_filter = array_map( 'esc_attr', $current_filter );
557
 
558
- if ( ! in_array( $term->term_id, $current_filter ) ) {
559
- $current_filter[] = $term->term_id;
560
  }
561
 
562
  $link = yit_get_woocommerce_layered_nav_link();
@@ -601,7 +602,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
601
 
602
  if ( isset( $_GET[ $this->brand_taxonomy ] ) ) {
603
  $brands = get_term_by( 'name', $_GET[ $this->brand_taxonomy ], $this->brand_taxonomy );
604
- if( $brands->term_id != $term->term_id ){
605
  $link = add_query_arg( $this->brand_taxonomy, urlencode( $brands->slug ), $link );
606
  }
607
  }
@@ -617,13 +618,13 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
617
  }
618
 
619
  // Current Filter = this widget
620
- if ( isset( $_chosen_attributes[$taxonomy] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) ) {
621
 
622
  $class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
623
 
624
  // Remove this term is $current_filter has more than 1 term filtered
625
  if ( sizeof( $current_filter ) > 1 ) {
626
- $current_filter_without_this = array_diff( $current_filter, array( $term->term_id ) );
627
  $link = add_query_arg( $arg, implode( ',', $current_filter_without_this ), $link );
628
  }
629
 
@@ -646,17 +647,19 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
646
  }
647
 
648
  // Query type Arg
649
- if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->term_id, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
650
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
651
  }
652
 
 
 
653
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
654
 
655
  if ( ! empty( $instance['labels'][$term_id] ) ) {
656
 
657
  echo '<li ' . $class . '>';
658
 
659
- echo ( $count > 0 || $option_is_set ) ? '<a title="' . $term->name . '" href="' . esc_url( apply_filters( 'woocommerce_layered_nav_link', $link ) ) . '">' : '<span>';
660
 
661
  echo $instance['labels'][$term_id];
662
 
@@ -667,7 +670,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
667
 
668
  }
669
  else {
670
- do_action( "yith_wcan_widget_display_{$display_type}", $args, $instance, $display_type, $terms, $taxonomy );
671
  }
672
  // End display type conditional
673
 
@@ -684,8 +687,6 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
684
  }
685
 
686
  function form( $instance ) {
687
- global $woocommerce;
688
-
689
  $defaults = array(
690
  'title' => '',
691
  'attribute' => '',
@@ -797,8 +798,6 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
797
  }
798
 
799
  function update( $new_instance, $old_instance ) {
800
- global $woocommerce;
801
-
802
  $instance = $old_instance;
803
  $instance['title'] = strip_tags( $new_instance['title'] );
804
  $instance['attribute'] = stripslashes( $new_instance['attribute'] );
@@ -858,22 +857,23 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
858
  die();
859
  }
860
 
861
- public function get_list_html( $terms, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, $level = 0 ){
862
- global $woocommerce, $_chosen_attributes;
863
  foreach ( $terms as $parent_id => $term_ids ) {
864
  $term = get_term_by( 'id', $parent_id, $taxonomy );
865
 
866
  $exclude = apply_filters( 'yith_wcan_exclude_terms', array(), $instance );
867
  $include = apply_filters( 'yith_wcan_include_terms', array(), $instance );
868
  $echo = false;
869
-
870
  if( 'tags' == $instance['type'] ) {
 
871
  if ( 'exclude' == $instance['tags_list_query'] ){
872
- $echo = ! in_array( $term->term_id, $exclude );
873
  }
874
 
875
  elseif ( 'include' == $instance['tags_list_query'] ){
876
- $echo = in_array( $term->term_id, $include );
877
  }
878
  }
879
 
@@ -897,45 +897,30 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
897
 
898
  $option_is_set = (isset($_chosen_attributes[$taxonomy]) && in_array($term->term_id, $_chosen_attributes[$taxonomy]['terms']));
899
 
900
- $term_param = apply_filters('yith_wcan_term_param_uri', $term->term_id, $display_type, $term);
901
 
902
  // If this is an AND query, only show options with count > 0
903
  if ($query_type == 'and') {
904
 
905
- $count = sizeof(array_intersect($_products_in_term, $woocommerce->query->filtered_product_ids));
906
-
907
- // skip the term for the current archive
908
- if ($current_term == $term_param) {
909
- continue;
910
- }
911
 
912
  if ($count > 0 && $current_term !== $term_param) {
913
  $this->found = true;
914
  }
915
 
916
- if ( ! $filter_by_tags_hierarchical && ( ( $terms_type_list == 'hierarchical' ) || ! yit_term_has_child( $term, $taxonomy) ) && $count == 0 && ! $option_is_set ) {
917
- continue;
918
- }
919
 
920
- // If this is an OR query, show all options so search can be expanded
921
  } else {
922
-
923
- // skip the term for the current archive
924
- if ($current_term == $term_param) {
925
- continue;
926
- }
927
-
928
- $count = sizeof(array_intersect($_products_in_term, $woocommerce->query->unfiltered_product_ids));
929
 
930
  if ($count > 0) {
931
  $this->found = true;
932
  }
933
-
934
  }
935
-
936
  $arg = apply_filters('yith_wcan_list_type_query_arg', 'filter_' . sanitize_title($instance['attribute']), $display_type, $term);
937
 
938
- $current_filter = (isset($_GET[$arg])) ? explode(apply_filters('yith_wcan_list_filter_operator', ',', $display_type), apply_filters("yith_wcan_list_filter_query_{$arg}", $_GET[$arg])) : array();
939
 
940
  if (!is_array($current_filter)) {
941
  $current_filter = array();
@@ -954,8 +939,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
954
  foreach ($_chosen_attributes as $name => $data) {
955
  if ($name !== $taxonomy) {
956
 
957
- // Exclude query arg for current term archive term
958
- while (in_array($current_term, $data['terms'])) {
959
  $key = array_search($current_term, $data);
960
  unset($data['terms'][$key]);
961
  }
@@ -987,13 +972,14 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
987
  $link = add_query_arg('product_tag', urlencode($_GET['product_tag']), $link);
988
  }
989
 
990
- if (isset($_GET[$this->brand_taxonomy])) {
991
- $brands = get_term_by('slug', $_GET[$this->brand_taxonomy], $this->brand_taxonomy);
992
- if ($brands->term_id != $term->term_id) {
993
- $link = add_query_arg($this->brand_taxonomy, urlencode($brands->slug), $link);
994
- }
995
  }
996
 
 
997
  if (isset($_GET['product_cat'])) {
998
  $categories_filter_operator = 'and' == $query_type ? '+' : ',';
999
  $_chosen_categories = explode($categories_filter_operator, urlencode($_GET['product_cat']));
@@ -1004,36 +990,43 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1004
  );
1005
  }
1006
 
1007
- $check_for_current_widget = isset($_chosen_attributes[$taxonomy]) && is_array($_chosen_attributes[$taxonomy]['terms']) && in_array($term->term_id, $_chosen_attributes[$taxonomy]['terms']);
1008
  $class = '';
1009
 
1010
  // Current Filter = this widget
1011
- if (apply_filters('yith_wcan_list_type_current_widget_check', $check_for_current_widget, $current_filter, $display_type, $term_param)) {
1012
  if (($terms_type_list == 'hierarchical' || ($terms_type_list == 'tags' && $instance['display'] == 'hierarchical'))) {
1013
  $level_class = 'level-' . $level;
1014
  if (yit_term_is_child($term)) {
1015
  $class = "class='{$is_chosen_class} {$is_child_class} {$level_class}'";
1016
- } elseif (yit_term_is_parent($term)) {
 
 
1017
  $class = "class='{$is_chosen_class} {$is_parent_class} {$level_class}'";
1018
  }
1019
- } else {
1020
- $class = "class='{$is_chosen_class}'";
1021
  }
1022
 
 
 
 
1023
 
1024
  // Remove this term is $current_filter has more than 1 term filtered
1025
  if (sizeof($current_filter) > 1) {
1026
  $current_filter_without_this = array_diff($current_filter, array($term_param));
1027
  $link = add_query_arg($arg, implode(apply_filters('yith_wcan_list_filter_operator', ',', $display_type), $current_filter_without_this), $link);
1028
  }
1029
- } else {
 
 
1030
 
1031
  if (($terms_type_list == 'hierarchical' || $terms_type_list == 'tags')) {
1032
  $level_class = 'level-' . $level;
1033
  if (yit_term_is_child($term)) {
1034
 
1035
  $class = "class='{$is_child_class} {$level_class}'";
1036
- } elseif (yit_term_is_parent($term)) {
 
 
1037
  $class = "class='{$is_parent_class} {$level_class}'";
1038
  }
1039
  }
@@ -1053,30 +1046,35 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1053
  $is_attribute = apply_filters('yith_wcan_is_attribute_check', true);
1054
 
1055
  // Query type Arg
1056
- if ($is_attribute && $query_type == 'or' && !(sizeof($current_filter) == 1 && isset($_chosen_attributes[$taxonomy]['terms']) && is_array($_chosen_attributes[$taxonomy]['terms']) && in_array($term->term_id, $_chosen_attributes[$taxonomy]['terms']))) {
1057
  $link = add_query_arg('query_type_' . sanitize_title($instance['attribute']), 'or', $link);
1058
  }
1059
 
 
 
1060
  echo '<li ' . $class . '>';
1061
 
1062
  if( $count > 0 || $option_is_set ) {
1063
- printf( '<a href="%s">%s</a>' , esc_url( apply_filters( 'woocommerce_layered_nav_link', $link ) ), $term->name );
 
1064
  }
1065
 
1066
  else {
1067
- ! $filter_by_tags_hierarchical && printf( '<span>%s</span>', $term->name );
1068
  }
1069
 
1070
  if ( $count != 0 && apply_filters( "{$args['widget_id']}-show_product_count", true, $instance ) ) {
1071
- echo ' <small class="count">' . $count . '</small><div class="clear"></div></li>';
1072
  }
1073
 
 
 
1074
  }
1075
 
1076
  if( ! empty( $term_ids ) && is_array( $term_ids ) ){
1077
  $temp_level = $level;
1078
  $temp_level++;
1079
- $this->get_list_html( $term_ids, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, $temp_level );
1080
  }
1081
  }
1082
  }
33
  function __construct() {
34
  $classname = 'yith-woocommerce-ajax-product-filter yith-woo-ajax-navigation woocommerce widget_layered_nav';
35
  $classname .= 'checkboxes' == yith_wcan_get_option( 'yith_wcan_ajax_shop_filter_style', 'standard' ) ? ' with-checkbox' : '';
36
+ $widget_ops = array( 'classname' => $classname, 'description' => __( 'Filter the list of products without reloading the page', 'yith-woocommerce-ajax-navigation' ) );
37
  $control_ops = array( 'width' => 400, 'height' => 350 );
38
  add_action('wp_ajax_yith_wcan_select_type', array( $this, 'ajax_print_terms') );
39
  parent::__construct( 'yith-woo-ajax-navigation', _x( 'YITH WooCommerce Ajax Product Filter', 'Admin: Widget Title', 'yith-woocommerce-ajax-navigation' ), $widget_ops, $control_ops );
41
 
42
 
43
  function widget( $args, $instance ) {
44
+ $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
45
 
46
  extract( $args );
47
  $_attributes_array = yit_wcan_get_product_taxonomy();
58
  $this->brand_taxonomy = YITH_WCBR::$brands_taxonomy;
59
  }
60
 
61
+ $filter_term_field = YITH_WCAN()->filter_term_field;
62
+ $current_term = $_attributes_array && is_tax( $_attributes_array ) ? get_queried_object()->$filter_term_field : '';
63
+ $title = apply_filters( 'yith_widget_title_ajax_navigation', ( isset( $instance['title'] ) ? $instance['title'] : '' ), $instance, $this->id_base );
64
+ $query_type = isset( $instance['query_type'] ) ? $instance['query_type'] : 'and';
65
+ $display_type = isset( $instance['type'] ) ? $instance['type'] : 'list';
66
+ $is_child_class = 'yit-wcan-child-terms';
67
+ $is_parent_class = 'yit-wcan-parent-terms';
68
+ $is_chosen_class = 'chosen';
69
+ $terms_type_list = ( isset( $instance['display'] ) ) ? $instance['display'] : 'all';
70
+
71
+ $instance['attribute'] = empty( $instance['attribute'] ) ? '' : $instance['attribute'];
72
+ $instance['extra_class'] = empty( $instance['extra_class'] ) ? '' : $instance['extra_class'];
 
 
73
 
74
  /* FIX TO WOOCOMMERCE 2.1 */
75
  if ( function_exists( 'wc_attribute_taxonomy_name' ) ) {
76
  $taxonomy = wc_attribute_taxonomy_name( $instance['attribute'] );
77
  }
78
  else {
79
+ $taxonomy = WC()->attribute_taxonomy_name( $instance['attribute'] );
80
  }
81
 
82
  $taxonomy = apply_filters( 'yith_wcan_get_terms_params', $taxonomy, $instance, 'taxonomy_name' );
131
  // List display
132
  echo "<ul class='yith-wcan-list yith-wcan {$instance['extra_class']}'>";
133
 
134
+ $this->get_list_html( $tree, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, 0, $filter_term_field );
135
 
136
  echo "</ul>";
137
  }
159
  set_transient( $transient_name, $_products_in_term );
160
  //}
161
 
162
+ $option_is_set = ( isset( $_chosen_attributes[$taxonomy] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) );
163
 
164
  // If this is an AND query, only show options with count > 0
165
  if ( $query_type == 'and' ) {
166
 
167
+ $count = sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->filtered_product_ids ) );
168
 
169
  // skip the term for the current archive
170
+ if ( $current_term == $term->$filter_term_field ) {
171
  continue;
172
  }
173
 
174
+ if ( $count > 0 && $current_term !== $term->$filter_term_field ) {
175
  $this->found = true;
176
  }
177
 
184
  else {
185
 
186
  // skip the term for the current archive
187
+ if ( $current_term == $term->$filter_term_field ) {
188
  continue;
189
  }
190
 
191
+ $count = sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->unfiltered_product_ids ) );
192
 
193
  if ( $count > 0 ) {
194
  $this->found = true;
206
 
207
  $current_filter = array_map( 'esc_attr', $current_filter );
208
 
209
+ if ( ! in_array( $term->$filter_term_field, $current_filter ) ) {
210
+ $current_filter[] = $term->$filter_term_field;
211
  }
212
 
213
  $link = yit_get_woocommerce_layered_nav_link();
252
 
253
  if ( isset( $_GET[ $this->brand_taxonomy ] ) ) {
254
  $brands = get_term_by( 'name', $_GET[ $this->brand_taxonomy ], $this->brand_taxonomy );
255
+ if( $brands instanceof WP_Term && $brands->term_id != $term->term_id ){
256
  $link = add_query_arg( $this->brand_taxonomy, urlencode( $brands->slug ), $link );
257
  }
258
  }
268
  }
269
 
270
  // Current Filter = this widget
271
+ if ( isset( $_chosen_attributes[$taxonomy] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) {
272
 
273
  $class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
274
 
275
  // Remove this term is $current_filter has more than 1 term filtered
276
  if ( sizeof( $current_filter ) > 1 ) {
277
+ $current_filter_without_this = array_diff( $current_filter, array( $term->$filter_term_field ) );
278
  $link = add_query_arg( $arg, implode( ',', $current_filter_without_this ), $link );
279
  }
280
 
297
  }
298
 
299
  // Query type Arg
300
+ if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
301
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
302
  }
303
 
304
+ $link = esc_url( urldecode( apply_filters( 'woocommerce_layered_nav_link', $link ) ) );
305
+
306
  echo '<li ' . $class . '>';
307
 
308
+ echo ( $count > 0 || $option_is_set ) ? '<a data-type="select" href="' . $link . '">' : '<span>';
309
 
310
  echo $term->name;
311
 
335
  set_transient( $transient_name, $_products_in_term );
336
  //}
337
 
338
+ $option_is_set = ( isset( $_chosen_attributes[$taxonomy] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) );
339
 
340
  // If this is an AND query, only show options with count > 0
341
  if ( $query_type == 'and' ) {
342
 
343
+ $count = sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->filtered_product_ids ) );
344
 
345
  // skip the term for the current archive
346
+ if ( $current_term == $term->$filter_term_field ) {
347
  continue;
348
  }
349
 
350
+ if ( $count > 0 && $current_term !== $term->$filter_term_field ) {
351
  $this->found = true;
352
  }
353
 
360
  else {
361
 
362
  // skip the term for the current archive
363
+ if ( $current_term == $term->$filter_term_field ) {
364
  continue;
365
  }
366
 
367
+ $count = sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->unfiltered_product_ids ) );
368
 
369
  if ( $count > 0 ) {
370
  $this->found = true;
382
 
383
  $current_filter = array_map( 'esc_attr', $current_filter );
384
 
385
+ if ( ! in_array( $term->$filter_term_field, $current_filter ) ) {
386
+ $current_filter[] = $term->$filter_term_field;
387
  }
388
 
389
  $link = yit_get_woocommerce_layered_nav_link();
428
 
429
  if ( isset( $_GET[ $this->brand_taxonomy ] ) ) {
430
  $brands = get_term_by( 'name', $_GET[ $this->brand_taxonomy ], $this->brand_taxonomy );
431
+ if( $brands instanceof WP_Term && $brands->term_id != $term->term_id ){
432
  $link = add_query_arg( $this->brand_taxonomy, urlencode( $brands->slug ), $link );
433
  }
434
  }
444
  }
445
 
446
  // Current Filter = this widget
447
+ if ( isset( $_chosen_attributes[$taxonomy] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) {
448
 
449
  $class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
450
 
451
  // Remove this term is $current_filter has more than 1 term filtered
452
  if ( sizeof( $current_filter ) > 1 ) {
453
+ $current_filter_without_this = array_diff( $current_filter, array( $term->$filter_term_field ) );
454
  $link = add_query_arg( $arg, implode( ',', $current_filter_without_this ), $link );
455
  }
456
  }
470
  }
471
 
472
  // Query type Arg
473
+ if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
474
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
475
  }
476
 
477
+ $link = esc_url( urldecode( apply_filters( 'woocommerce_layered_nav_link', $link ) ) );
478
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
479
 
480
  if ( ! empty( $instance['colors'][$term_id] ) ) {
482
 
483
  echo '<li ' . $class . '>';
484
 
485
+ echo ( $count > 0 || $option_is_set ) ? '<a style="' . $li_style . '" href="' . $link . '" title="' . $term->name . '" >' : '<span style="background-color:' . $instance['colors'][$term_id] . ';" >';
486
 
487
  echo $term->name;
488
 
509
  set_transient( $transient_name, $_products_in_term );
510
  //}
511
 
512
+ $option_is_set = ( isset( $_chosen_attributes[$taxonomy] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) );
513
 
514
  // If this is an AND query, only show options with count > 0
515
  if ( $query_type == 'and' ) {
516
 
517
+ $count = sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->filtered_product_ids ) );
518
 
519
  // skip the term for the current archive
520
+ if ( $current_term == $term->$filter_term_field ) {
521
  continue;
522
  }
523
 
524
+ if ( $count > 0 && $current_term !== $term->$filter_term_field ) {
525
  $this->found = true;
526
  }
527
 
534
  else {
535
 
536
  // skip the term for the current archive
537
+ if ( $current_term == $term->$filter_term_field ) {
538
  continue;
539
  }
540
 
541
+ $count = sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->unfiltered_product_ids ) );
542
 
543
  if ( $count > 0 ) {
544
  $this->found = true;
556
 
557
  $current_filter = array_map( 'esc_attr', $current_filter );
558
 
559
+ if ( ! in_array( $term->$filter_term_field, $current_filter ) ) {
560
+ $current_filter[] = $term->$filter_term_field;
561
  }
562
 
563
  $link = yit_get_woocommerce_layered_nav_link();
602
 
603
  if ( isset( $_GET[ $this->brand_taxonomy ] ) ) {
604
  $brands = get_term_by( 'name', $_GET[ $this->brand_taxonomy ], $this->brand_taxonomy );
605
+ if( $brands instanceof WP_Term && $brands->term_id != $term->term_id ){
606
  $link = add_query_arg( $this->brand_taxonomy, urlencode( $brands->slug ), $link );
607
  }
608
  }
618
  }
619
 
620
  // Current Filter = this widget
621
+ if ( isset( $_chosen_attributes[$taxonomy] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) {
622
 
623
  $class = ( $terms_type_list == 'hierarchical' && yit_term_is_child( $term ) ) ? "class='{$is_chosen_class} {$is_child_class}'" : "class='{$is_chosen_class}'";
624
 
625
  // Remove this term is $current_filter has more than 1 term filtered
626
  if ( sizeof( $current_filter ) > 1 ) {
627
+ $current_filter_without_this = array_diff( $current_filter, array( $term->$filter_term_field ) );
628
  $link = add_query_arg( $arg, implode( ',', $current_filter_without_this ), $link );
629
  }
630
 
647
  }
648
 
649
  // Query type Arg
650
+ if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && in_array( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
651
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
652
  }
653
 
654
+ $link = esc_url( urldecode( apply_filters( 'woocommerce_layered_nav_link', $link ) ) );
655
+
656
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
657
 
658
  if ( ! empty( $instance['labels'][$term_id] ) ) {
659
 
660
  echo '<li ' . $class . '>';
661
 
662
+ echo ( $count > 0 || $option_is_set ) ? '<a title="' . $term->name . '" href="' . $link . '">' : '<span>';
663
 
664
  echo $instance['labels'][$term_id];
665
 
670
 
671
  }
672
  else {
673
+ do_action( "yith_wcan_widget_display_{$display_type}", $args, $instance, $display_type, $terms, $taxonomy, $filter_term_field );
674
  }
675
  // End display type conditional
676
 
687
  }
688
 
689
  function form( $instance ) {
 
 
690
  $defaults = array(
691
  'title' => '',
692
  'attribute' => '',
798
  }
799
 
800
  function update( $new_instance, $old_instance ) {
 
 
801
  $instance = $old_instance;
802
  $instance['title'] = strip_tags( $new_instance['title'] );
803
  $instance['attribute'] = stripslashes( $new_instance['attribute'] );
857
  die();
858
  }
859
 
860
+ public function get_list_html( $terms, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, $level = 0, $filter_term_field = 'slug' ){
861
+ $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
862
  foreach ( $terms as $parent_id => $term_ids ) {
863
  $term = get_term_by( 'id', $parent_id, $taxonomy );
864
 
865
  $exclude = apply_filters( 'yith_wcan_exclude_terms', array(), $instance );
866
  $include = apply_filters( 'yith_wcan_include_terms', array(), $instance );
867
  $echo = false;
868
+
869
  if( 'tags' == $instance['type'] ) {
870
+ $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
871
  if ( 'exclude' == $instance['tags_list_query'] ){
872
+ $echo = ! in_array( $term_id, $exclude );
873
  }
874
 
875
  elseif ( 'include' == $instance['tags_list_query'] ){
876
+ $echo = in_array( $term_id, $include );
877
  }
878
  }
879
 
897
 
898
  $option_is_set = (isset($_chosen_attributes[$taxonomy]) && in_array($term->term_id, $_chosen_attributes[$taxonomy]['terms']));
899
 
900
+ $term_param = apply_filters('yith_wcan_term_param_uri', $term->$filter_term_field, $display_type, $term);
901
 
902
  // If this is an AND query, only show options with count > 0
903
  if ($query_type == 'and') {
904
 
905
+ $count = sizeof(array_intersect($_products_in_term, YITH_WCAN()->frontend->filtered_product_ids ) );
 
 
 
 
 
906
 
907
  if ($count > 0 && $current_term !== $term_param) {
908
  $this->found = true;
909
  }
910
 
 
 
 
911
 
 
912
  } else {
913
+ // If this is an OR query, show all options so search can be expanded
914
+ $count = sizeof(array_intersect($_products_in_term, YITH_WCAN()->frontend->unfiltered_product_ids));
 
 
 
 
 
915
 
916
  if ($count > 0) {
917
  $this->found = true;
918
  }
 
919
  }
920
+
921
  $arg = apply_filters('yith_wcan_list_type_query_arg', 'filter_' . sanitize_title($instance['attribute']), $display_type, $term);
922
 
923
+ $current_filter = (isset($_GET[$arg])) ? explode(apply_filters('yith_wcan_list_filter_operator', ',', $display_type), apply_filters("yith_wcan_list_filter_query_{$arg}", $_GET[$arg] ) ) : array();
924
 
925
  if (!is_array($current_filter)) {
926
  $current_filter = array();
939
  foreach ($_chosen_attributes as $name => $data) {
940
  if ($name !== $taxonomy) {
941
 
942
+ // Exclude query arg for current term archive
943
+ while (in_array($term->slug, $data['terms'])) {
944
  $key = array_search($current_term, $data);
945
  unset($data['terms'][$key]);
946
  }
972
  $link = add_query_arg('product_tag', urlencode($_GET['product_tag']), $link);
973
  }
974
 
975
+ if (isset($_GET[$this->brand_taxonomy])) {
976
+ $brands = is_array( $_GET[$this->brand_taxonomy] ) ? array() : get_term_by('slug', $_GET[$this->brand_taxonomy], $this->brand_taxonomy);
977
+ if ( $brands instanceof WP_Term && $brands->term_id != $term->term_id) {
978
+ $link = add_query_arg($this->brand_taxonomy, urlencode($brands->slug), $link);
979
+ }
980
  }
981
 
982
+
983
  if (isset($_GET['product_cat'])) {
984
  $categories_filter_operator = 'and' == $query_type ? '+' : ',';
985
  $_chosen_categories = explode($categories_filter_operator, urlencode($_GET['product_cat']));
990
  );
991
  }
992
 
993
+ $check_for_current_widget = isset($_chosen_attributes[$taxonomy]) && is_array($_chosen_attributes[$taxonomy]['terms']) && in_array($term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms']);
994
  $class = '';
995
 
996
  // Current Filter = this widget
997
+ if ( apply_filters('yith_wcan_list_type_current_widget_check', $check_for_current_widget, $current_filter, $display_type, $term_param ) ) {
998
  if (($terms_type_list == 'hierarchical' || ($terms_type_list == 'tags' && $instance['display'] == 'hierarchical'))) {
999
  $level_class = 'level-' . $level;
1000
  if (yit_term_is_child($term)) {
1001
  $class = "class='{$is_chosen_class} {$is_child_class} {$level_class}'";
1002
+ }
1003
+
1004
+ elseif (yit_term_is_parent($term)) {
1005
  $class = "class='{$is_chosen_class} {$is_parent_class} {$level_class}'";
1006
  }
 
 
1007
  }
1008
 
1009
+ else {
1010
+ $class = "class='{$is_chosen_class}'";
1011
+ }
1012
 
1013
  // Remove this term is $current_filter has more than 1 term filtered
1014
  if (sizeof($current_filter) > 1) {
1015
  $current_filter_without_this = array_diff($current_filter, array($term_param));
1016
  $link = add_query_arg($arg, implode(apply_filters('yith_wcan_list_filter_operator', ',', $display_type), $current_filter_without_this), $link);
1017
  }
1018
+ }
1019
+
1020
+ else {
1021
 
1022
  if (($terms_type_list == 'hierarchical' || $terms_type_list == 'tags')) {
1023
  $level_class = 'level-' . $level;
1024
  if (yit_term_is_child($term)) {
1025
 
1026
  $class = "class='{$is_child_class} {$level_class}'";
1027
+ }
1028
+
1029
+ elseif (yit_term_is_parent($term)) {
1030
  $class = "class='{$is_parent_class} {$level_class}'";
1031
  }
1032
  }
1046
  $is_attribute = apply_filters('yith_wcan_is_attribute_check', true);
1047
 
1048
  // Query type Arg
1049
+ if ($is_attribute && $query_type == 'or' && !(sizeof($current_filter) == 1 && isset($_chosen_attributes[$taxonomy]['terms']) && is_array($_chosen_attributes[$taxonomy]['terms']) && in_array($term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms']))) {
1050
  $link = add_query_arg('query_type_' . sanitize_title($instance['attribute']), 'or', $link);
1051
  }
1052
 
1053
+ $link = esc_url( urldecode( apply_filters( 'woocommerce_layered_nav_link', $link ) ) );
1054
+
1055
  echo '<li ' . $class . '>';
1056
 
1057
  if( $count > 0 || $option_is_set ) {
1058
+
1059
+ printf( '<a href="%s">%s</a>' , $link, $term->name );
1060
  }
1061
 
1062
  else {
1063
+ ! $filter_by_tags_hierarchical && $query_type != 'and' && printf( '<span>%s</span>', $term->name );
1064
  }
1065
 
1066
  if ( $count != 0 && apply_filters( "{$args['widget_id']}-show_product_count", true, $instance ) ) {
1067
+ echo ' <small class="count">' . $count . '</small><div class="clear"></div>';
1068
  }
1069
 
1070
+ echo '</li>';
1071
+
1072
  }
1073
 
1074
  if( ! empty( $term_ids ) && is_array( $term_ids ) ){
1075
  $temp_level = $level;
1076
  $temp_level++;
1077
+ $this->get_list_html( $term_ids, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, $temp_level, $filter_term_field );
1078
  }
1079
  }
1080
  }
widgets/class.yith-wcan-reset-navigation-widget.php CHANGED
@@ -27,7 +27,7 @@ if ( ! class_exists( 'YITH_WCAN_Reset_Navigation_Widget' ) ) {
27
 
28
 
29
  function widget( $args, $instance ) {
30
- global $_chosen_attributes, $woocommerce;
31
 
32
  extract( $args );
33
 
@@ -87,8 +87,6 @@ if ( ! class_exists( 'YITH_WCAN_Reset_Navigation_Widget' ) ) {
87
 
88
 
89
  function form( $instance ) {
90
- global $woocommerce;
91
-
92
  $defaults = array(
93
  'title' => '',
94
  'label' => __( 'Reset All Filters', 'yith-woocommerce-ajax-navigation' )
27
 
28
 
29
  function widget( $args, $instance ) {
30
+ $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
31
 
32
  extract( $args );
33
 
87
 
88
 
89
  function form( $instance ) {
 
 
90
  $defaults = array(
91
  'title' => '',
92
  'label' => __( 'Reset All Filters', 'yith-woocommerce-ajax-navigation' )