WooCommerce Variation Swatches - Version 2.0.9

Version Description

  • 28-08-2022 =

  • Update: Translation String

  • Update: Settings Script and RTL

Download this release

Release Info

Developer EmranAhmed
Plugin Icon 128x128 WooCommerce Variation Swatches
Version 2.0.9
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.9

README.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 5.5
6
  Tested up to: 6.0
7
  WC requires at least: 5.5
8
  WC tested up to: 6.8
9
- Stable tag: trunk
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
@@ -616,6 +616,15 @@ And your are ready to go.
616
 
617
  == Changelog ==
618
 
 
 
 
 
 
 
 
 
 
619
  = 2.0.7 - 11-08-2022 =
620
 
621
  * Update: Woocommerce 6.8 support
6
  Tested up to: 6.0
7
  WC requires at least: 5.5
8
  WC tested up to: 6.8
9
+ Stable tag: 2.0.9
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
616
 
617
  == Changelog ==
618
 
619
+ = 2.0.9 - 28-08-2022 =
620
+
621
+ * Update: Translation String
622
+ * Update: Settings Script and RTL
623
+
624
+ = 2.0.8 - 17-08-2022 =
625
+
626
+ * Fix: Caching header issue
627
+
628
  = 2.0.7 - 11-08-2022 =
629
 
630
  * Update: Woocommerce 6.8 support
assets/css/admin.css CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 8/14/2022, 5:27:03 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 8/28/2022, 4:17:31 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
assets/css/frontend.css CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 8/14/2022, 5:27:03 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip] {
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 8/28/2022, 4:17:31 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip] {
assets/js/admin.js CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 8/14/2022, 5:27:03 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 8/28/2022, 4:17:31 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
assets/js/frontend.js CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 8/14/2022, 5:27:03 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 8/28/2022, 4:17:31 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
assets/js/wp-color-picker-alpha.js CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 8/14/2022, 5:27:03 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 8/28/2022, 4:17:31 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
includes/class-woo-variation-swatches-deactivate-feedback.php CHANGED
@@ -52,17 +52,17 @@
52
  'dont_know_about' => array(
53
  'title' => esc_html__( 'I couldn\'t understand how to make it work.', 'woo-variation-swatches' ),
54
  'input_placeholder' => '',
55
- 'alert' => __( 'It converts single variation image to multiple variation image gallery. <br><a target="_blank" href="https://demo.getwooplugins.com/woocommerce-variation-swatches/">Please check live demo</a>.', 'woo-variation-swatches' ),
56
  ),
57
 
58
  'no_longer_needed' => array(
59
- 'title' => esc_html__( 'I no longer need the plugin', 'woo-variation-swatches' ),
60
  'input_placeholder' => '',
61
  ),
62
 
63
  'found_a_better_plugin' => array(
64
- 'title' => esc_html__( 'I found a better plugin', 'woo-variation-swatches' ),
65
- 'input_placeholder' => esc_html__( 'Please share which plugin', 'woo-variation-swatches' ),
66
  ),
67
 
68
  'broke_site_layout' => array(
52
  'dont_know_about' => array(
53
  'title' => esc_html__( 'I couldn\'t understand how to make it work.', 'woo-variation-swatches' ),
54
  'input_placeholder' => '',
55
+ 'alert' => __( 'It converts variation select box to beautiful swatches.<br><a target="_blank" href="https://demo.getwooplugins.com/woocommerce-variation-swatches/">Please check live demo</a>.', 'woo-variation-swatches' ),
56
  ),
57
 
58
  'no_longer_needed' => array(
59
+ 'title' => esc_html__( 'I no longer need the plugin.', 'woo-variation-swatches' ),
60
  'input_placeholder' => '',
61
  ),
62
 
63
  'found_a_better_plugin' => array(
64
+ 'title' => esc_html__( 'I found a better plugin.', 'woo-variation-swatches' ),
65
+ 'input_placeholder' => esc_html__( 'Please share which plugin.', 'woo-variation-swatches' ),
66
  ),
67
 
68
  'broke_site_layout' => array(
includes/class-woo-variation-swatches-product-page.php CHANGED
@@ -50,6 +50,14 @@
50
 
51
  public function cache_ajax_response( $headers ) {
52
  global $wp_query;
 
 
 
 
 
 
 
 
53
  $action = $wp_query->get( 'wc-ajax' ) ? sanitize_text_field( $wp_query->get( 'wc-ajax' ) ) : false;
54
  $requests = array( 'woo_get_variations', 'woo_get_all_variations' );
55
  if ( $action && in_array( $action, $requests ) ) {
@@ -62,7 +70,6 @@
62
  $headers[ 'Expires' ] = $expires;
63
  $headers[ 'Cache-Control' ] = $cache_control;
64
  $headers[ 'X-Variation-Swatches-Ajax-Header-Modified' ] = true;
65
-
66
  }
67
 
68
  return $headers;
50
 
51
  public function cache_ajax_response( $headers ) {
52
  global $wp_query;
53
+ if ( ! is_ajax() ) {
54
+ return $headers;
55
+ }
56
+
57
+ if ( ! is_object( $wp_query ) ) {
58
+ return $headers;
59
+ }
60
+
61
  $action = $wp_query->get( 'wc-ajax' ) ? sanitize_text_field( $wp_query->get( 'wc-ajax' ) ) : false;
62
  $requests = array( 'woo_get_variations', 'woo_get_all_variations' );
63
  if ( $action && in_array( $action, $requests ) ) {
70
  $headers[ 'Expires' ] = $expires;
71
  $headers[ 'Cache-Control' ] = $cache_control;
72
  $headers[ 'X-Variation-Swatches-Ajax-Header-Modified' ] = true;
 
73
  }
74
 
75
  return $headers;
includes/class-woo-variation-swatches-settings.php CHANGED
@@ -144,7 +144,7 @@
144
  public function template_show_variation_stock_info() {
145
 
146
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-07.webm' ) ) );
147
- $this->modal_dialog( 'show_variation_stock_info', esc_html__( 'Swatches Show variation stock info', 'woo-variation-swatches' ), $body, $this->modal_buy_links() );
148
  }
149
 
150
  public function template_display_limit() {
@@ -328,7 +328,7 @@
328
  'id' => 'enable_stylesheet',
329
  'type' => 'checkbox',
330
  'title' => esc_html__( 'Enable Stylesheet', 'woo-variation-swatches' ),
331
- 'desc' => esc_html__( 'Enable default stylesheet', 'woo-variation-swatches' ),
332
  'default' => 'yes'
333
  ),
334
 
@@ -400,7 +400,7 @@
400
  'id' => 'clear_on_reselect',
401
  'type' => 'checkbox',
402
  'title' => esc_html__( 'Clear on Reselect', 'woo-variation-swatches' ),
403
- 'desc' => esc_html__( 'Clear selected attribute on select again', 'woo-variation-swatches' ),
404
  'default' => 'no',
405
  'help_preview' => true,
406
  ),
@@ -409,7 +409,7 @@
409
  'id' => 'hide_out_of_stock_variation',
410
  'type' => 'checkbox',
411
  'title' => esc_html__( 'Disable Out of Stock', 'woo-variation-swatches' ),
412
- 'desc' => esc_html__( 'Disable Out Of Stock item', 'woo-variation-swatches' ),
413
  'default' => 'yes',
414
  // 'help_preview' => true,
415
  'is_pro' => true,
@@ -419,7 +419,7 @@
419
  'id' => 'clickable_out_of_stock_variation',
420
  'type' => 'checkbox',
421
  'title' => esc_html__( 'Clickable Out Of Stock', 'woo-variation-swatches' ),
422
- 'desc' => esc_html__( 'Clickable Out Of Stock item', 'woo-variation-swatches' ),
423
  'default' => 'no',
424
  //'require' => $this->normalize_required_attribute( array( 'hide_out_of_stock_variation' => array( 'type' => 'empty' ) ) ),
425
  'is_pro' => true,
@@ -444,7 +444,7 @@
444
  'id' => 'attribute_image_size',
445
  'type' => 'select',
446
  'title' => esc_html__( 'Attribute image size', 'woo-variation-swatches' ),
447
- 'desc' => has_filter( 'woo_variation_swatches_global_product_attribute_image_size' ) ? __( '<span style="color: red">Attribute image size can be changed by <code>woo_variation_swatches_global_product_attribute_image_size</code> filter hook. So this option will not apply any effect.</span>', 'woo-variation-swatches' ) : sprintf( __( 'Choose attribute image size. <a target="_blank" href="%s">Media Settings</a> or use <strong>Regenerate Thumbnails</strong> plugin', 'woo-variation-swatches' ), esc_url( admin_url( 'options-media.php' ) ) ),
448
  'options' => self::get_all_image_sizes(),
449
  'default' => 'variation_swatches_image_size'
450
  ),
@@ -575,7 +575,7 @@
575
  'id' => 'show_variation_label',
576
  'type' => 'checkbox',
577
  'title' => esc_html__( 'Show selected attribute', 'woo-variation-swatches' ),
578
- 'desc' => esc_html__( 'Show selected attribute variation name beside the title', 'woo-variation-swatches' ),
579
  'default' => 'yes',
580
  // 'is_new' => true,
581
  ),
@@ -596,7 +596,7 @@
596
  'id' => 'enable_single_preloader',
597
  'type' => 'checkbox',
598
  'title' => esc_html__( 'Enable Preloader', 'woo-variation-swatches' ),
599
- 'desc' => esc_html__( 'Enable single product page swatches preloader', 'woo-variation-swatches' ),
600
  'default' => 'yes',
601
  'is_pro' => true,
602
  ),
@@ -614,7 +614,7 @@
614
  'id' => 'show_variation_stock_info',
615
  'type' => 'checkbox',
616
  'title' => esc_html__( 'Variation stock info', 'woo-variation-swatches' ),
617
- 'desc' => esc_html__( 'Show variation product stock info', 'woo-variation-swatches' ),
618
  'default' => 'no',
619
  'is_pro' => true,
620
  ),
@@ -664,7 +664,7 @@
664
  'id' => 'enable_archive_preloader',
665
  'type' => 'checkbox',
666
  'title' => esc_html__( 'Enable Preloader', 'woo-variation-swatches' ),
667
- 'desc' => esc_html__( 'Enable archive page swatches preloader', 'woo-variation-swatches' ),
668
  'default' => 'yes',
669
  'is_pro' => true,
670
  ),
@@ -673,7 +673,7 @@
673
  'id' => 'archive_show_availability',
674
  'type' => 'checkbox',
675
  'title' => esc_html__( 'Show Product Availability', 'woo-variation-swatches' ),
676
- 'desc' => esc_html__( 'Show Product availability stock info', 'woo-variation-swatches' ),
677
  'default' => 'no',
678
  'is_pro' => true,
679
  ),
@@ -755,7 +755,7 @@
755
  'id' => 'enable_catalog_mode',
756
  'type' => 'checkbox',
757
  'title' => esc_html__( 'Show Single Attribute', 'woo-variation-swatches' ),
758
- 'desc' => esc_html__( 'Show Single Attribute taxonomies on archive page', 'woo-variation-swatches' ),
759
  'default' => 'no',
760
  'is_pro' => true,
761
  ),
@@ -798,7 +798,7 @@
798
  'id' => 'enable_large_size',
799
  'type' => 'checkbox',
800
  'title' => esc_html__( 'Show First Attribute In Large Size', 'woo-variation-swatches' ),
801
- 'desc' => esc_html__( 'Show Attribute taxonomies in large size', 'woo-variation-swatches' ),
802
  'default' => 'no',
803
  'is_pro' => true,
804
  ),
144
  public function template_show_variation_stock_info() {
145
 
146
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-07.webm' ) ) );
147
+ $this->modal_dialog( 'show_variation_stock_info', esc_html__( 'Swatches Show variation stock info.', 'woo-variation-swatches' ), $body, $this->modal_buy_links() );
148
  }
149
 
150
  public function template_display_limit() {
328
  'id' => 'enable_stylesheet',
329
  'type' => 'checkbox',
330
  'title' => esc_html__( 'Enable Stylesheet', 'woo-variation-swatches' ),
331
+ 'desc' => esc_html__( 'Enable default stylesheet.', 'woo-variation-swatches' ),
332
  'default' => 'yes'
333
  ),
334
 
400
  'id' => 'clear_on_reselect',
401
  'type' => 'checkbox',
402
  'title' => esc_html__( 'Clear on Reselect', 'woo-variation-swatches' ),
403
+ 'desc' => esc_html__( 'Clear selected attribute on select again.', 'woo-variation-swatches' ),
404
  'default' => 'no',
405
  'help_preview' => true,
406
  ),
409
  'id' => 'hide_out_of_stock_variation',
410
  'type' => 'checkbox',
411
  'title' => esc_html__( 'Disable Out of Stock', 'woo-variation-swatches' ),
412
+ 'desc' => esc_html__( 'Disable Out Of Stock item.', 'woo-variation-swatches' ),
413
  'default' => 'yes',
414
  // 'help_preview' => true,
415
  'is_pro' => true,
419
  'id' => 'clickable_out_of_stock_variation',
420
  'type' => 'checkbox',
421
  'title' => esc_html__( 'Clickable Out Of Stock', 'woo-variation-swatches' ),
422
+ 'desc' => esc_html__( 'Clickable Out Of Stock item.', 'woo-variation-swatches' ),
423
  'default' => 'no',
424
  //'require' => $this->normalize_required_attribute( array( 'hide_out_of_stock_variation' => array( 'type' => 'empty' ) ) ),
425
  'is_pro' => true,
444
  'id' => 'attribute_image_size',
445
  'type' => 'select',
446
  'title' => esc_html__( 'Attribute image size', 'woo-variation-swatches' ),
447
+ 'desc' => has_filter( 'woo_variation_swatches_global_product_attribute_image_size' ) ? __( '<span style="color: red">Attribute image size can be changed by <code>woo_variation_swatches_global_product_attribute_image_size</code> filter hook. So this option will not apply any effect.</span>', 'woo-variation-swatches' ) : sprintf( __( 'Choose attribute image size. <a target="_blank" href="%s">Media Settings</a> or use <strong>Regenerate Thumbnails</strong> plugin.', 'woo-variation-swatches' ), esc_url( admin_url( 'options-media.php' ) ) ),
448
  'options' => self::get_all_image_sizes(),
449
  'default' => 'variation_swatches_image_size'
450
  ),
575
  'id' => 'show_variation_label',
576
  'type' => 'checkbox',
577
  'title' => esc_html__( 'Show selected attribute', 'woo-variation-swatches' ),
578
+ 'desc' => esc_html__( 'Show selected attribute variation name beside the title.', 'woo-variation-swatches' ),
579
  'default' => 'yes',
580
  // 'is_new' => true,
581
  ),
596
  'id' => 'enable_single_preloader',
597
  'type' => 'checkbox',
598
  'title' => esc_html__( 'Enable Preloader', 'woo-variation-swatches' ),
599
+ 'desc' => esc_html__( 'Enable single product page swatches preloader.', 'woo-variation-swatches' ),
600
  'default' => 'yes',
601
  'is_pro' => true,
602
  ),
614
  'id' => 'show_variation_stock_info',
615
  'type' => 'checkbox',
616
  'title' => esc_html__( 'Variation stock info', 'woo-variation-swatches' ),
617
+ 'desc' => esc_html__( 'Show variation product stock info.', 'woo-variation-swatches' ),
618
  'default' => 'no',
619
  'is_pro' => true,
620
  ),
664
  'id' => 'enable_archive_preloader',
665
  'type' => 'checkbox',
666
  'title' => esc_html__( 'Enable Preloader', 'woo-variation-swatches' ),
667
+ 'desc' => esc_html__( 'Enable archive page swatches preloader.', 'woo-variation-swatches' ),
668
  'default' => 'yes',
669
  'is_pro' => true,
670
  ),
673
  'id' => 'archive_show_availability',
674
  'type' => 'checkbox',
675
  'title' => esc_html__( 'Show Product Availability', 'woo-variation-swatches' ),
676
+ 'desc' => esc_html__( 'Show Product availability stock info.', 'woo-variation-swatches' ),
677
  'default' => 'no',
678
  'is_pro' => true,
679
  ),
755
  'id' => 'enable_catalog_mode',
756
  'type' => 'checkbox',
757
  'title' => esc_html__( 'Show Single Attribute', 'woo-variation-swatches' ),
758
+ 'desc' => esc_html__( 'Show Single Attribute taxonomies on archive page.', 'woo-variation-swatches' ),
759
  'default' => 'no',
760
  'is_pro' => true,
761
  ),
798
  'id' => 'enable_large_size',
799
  'type' => 'checkbox',
800
  'title' => esc_html__( 'Show First Attribute In Large Size', 'woo-variation-swatches' ),
801
+ 'desc' => esc_html__( 'Show Attribute taxonomies in large size.', 'woo-variation-swatches' ),
802
  'default' => 'no',
803
  'is_pro' => true,
804
  ),
includes/getwooplugins/class-getwooplugins-admin-menus.php CHANGED
@@ -110,7 +110,7 @@
110
  wp_enqueue_script( 'wp-color-picker-alpha', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/js/wp-color-picker-alpha.js', array(
111
  'jquery',
112
  'wp-color-picker'
113
- ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/wp-color-picker-alpha.js' ), true );
114
 
115
 
116
  $dep = array(
110
  wp_enqueue_script( 'wp-color-picker-alpha', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/js/wp-color-picker-alpha.js', array(
111
  'jquery',
112
  'wp-color-picker'
113
+ ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/wp-color-picker-alpha.js' ), true );
114
 
115
 
116
  $dep = array(
includes/getwooplugins/class-getwooplugins-admin-settings.php CHANGED
@@ -402,7 +402,7 @@ if ( ! class_exists( 'GetWooPlugins_Admin_Settings', false ) ) :
402
  <?php echo esc_html( $value['suffix'] ); ?>
403
  </span>
404
  </div>
405
- <?php echo $description; // WPCS: XSS ok. ?>
406
  </td>
407
  </tr>
408
  <?php
@@ -427,7 +427,7 @@ if ( ! class_exists( 'GetWooPlugins_Admin_Settings', false ) ) :
427
  value="<?php echo esc_attr( $option_value ); ?>"
428
  class="color-picker-alpha <?php echo esc_attr( $value['class'] ); ?>"
429
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
430
- <?php echo implode( ' ', $custom_attributes ); // WPCS: XSS ok. ?>/>&lrm; <?php echo $description; // WPCS: XSS ok. ?></td></tr>
431
  <?php
432
  break;
433
 
@@ -453,7 +453,7 @@ if ( ! class_exists( 'GetWooPlugins_Admin_Settings', false ) ) :
453
  <?php echo implode( ' ', $custom_attributes ); // WPCS: XSS ok. ?>
454
  ><?php echo esc_textarea( $option_value ); // WPCS: XSS ok. ?></textarea>
455
 
456
- <?php echo $description; // WPCS: XSS ok. ?>
457
  </td>
458
  </tr>
459
  <?php
@@ -490,7 +490,7 @@ if ( ! class_exists( 'GetWooPlugins_Admin_Settings', false ) ) :
490
  ?>
491
  ><?php echo esc_html( $val ); ?></option>
492
  <?php } ?>
493
- </select> <?php echo $description; // WPCS: XSS ok. ?>
494
  </td>
495
  </tr>
496
  <?php
@@ -528,7 +528,7 @@ if ( ! class_exists( 'GetWooPlugins_Admin_Settings', false ) ) :
528
  ?>
529
  </ul>
530
 
531
- <?php echo $description; // WPCS: XSS ok. ?>
532
  </fieldset>
533
  </td>
534
  </tr>
402
  <?php echo esc_html( $value['suffix'] ); ?>
403
  </span>
404
  </div>
405
+ <?php echo wp_kses_post( $description); ?>
406
  </td>
407
  </tr>
408
  <?php
427
  value="<?php echo esc_attr( $option_value ); ?>"
428
  class="color-picker-alpha <?php echo esc_attr( $value['class'] ); ?>"
429
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
430
+ <?php echo implode( ' ', $custom_attributes ); // WPCS: XSS ok. ?>/>&lrm; <?php echo wp_kses_post( $description); ?></td></tr>
431
  <?php
432
  break;
433
 
453
  <?php echo implode( ' ', $custom_attributes ); // WPCS: XSS ok. ?>
454
  ><?php echo esc_textarea( $option_value ); // WPCS: XSS ok. ?></textarea>
455
 
456
+ <?php echo wp_kses_post($description); ?>
457
  </td>
458
  </tr>
459
  <?php
490
  ?>
491
  ><?php echo esc_html( $val ); ?></option>
492
  <?php } ?>
493
+ </select> <?php echo wp_kses_post( $description); // WPCS: XSS ok. ?>
494
  </td>
495
  </tr>
496
  <?php
528
  ?>
529
  </ul>
530
 
531
+ <?php echo wp_kses_post($description); ?>
532
  </fieldset>
533
  </td>
534
  </tr>
includes/getwooplugins/class-getwooplugins-plugin-deactivate-feedback.php CHANGED
@@ -28,19 +28,33 @@
28
  $screen_id = $screen ? $screen->id : ''; // plugins
29
  if ( 'plugins' === $screen_id ) {
30
 
31
- wp_enqueue_style( 'getwooplugins_settings', trailingslashit( plugin_dir_url( __FILE__ ) ) . 'css/getwooplugins-settings.css', array('dashicons'), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'css/getwooplugins-settings.css' ) );
32
-
 
 
33
  wp_enqueue_script( 'jquery-tiptip', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/js/jquery.tipTip.js', array( 'jquery' ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/jquery.tipTip.js' ), true );
34
 
35
- wp_enqueue_script( 'getwooplugins_settings', trailingslashit( plugin_dir_url( __FILE__ ) ) . 'js/getwooplugins-settings.js', array(
 
 
 
 
 
 
 
36
  'jquery',
37
  'underscore',
38
  'backbone',
39
  'wp-util',
40
  'jquery-tiptip',
41
- 'iris',
42
- 'wc-enhanced-select'
43
- ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/getwooplugins-settings.js' ), true );
 
 
 
 
 
44
 
45
  wp_localize_script( 'getwooplugins_settings', 'getwooplugins_settings_params', array(
46
  'i18n_nav_warning' => esc_html__( 'The changes you made will be lost if you navigate away from this page.', 'woo-variation-swatches' ),
28
  $screen_id = $screen ? $screen->id : ''; // plugins
29
  if ( 'plugins' === $screen_id ) {
30
 
31
+ wp_enqueue_style( 'wp-color-picker' );
32
+
33
+ wp_enqueue_style( 'getwooplugins_settings', trailingslashit( plugin_dir_url( __FILE__ ) ) . 'css/getwooplugins-settings.css', array( 'dashicons' ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'css/getwooplugins-settings.css' ) );
34
+
35
  wp_enqueue_script( 'jquery-tiptip', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/js/jquery.tipTip.js', array( 'jquery' ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/jquery.tipTip.js' ), true );
36
 
37
+ wp_enqueue_script( 'gwp-form-field-dependency', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/js/getwooplugins-form-field-dependency.js', array( 'jquery' ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/getwooplugins-form-field-dependency.js' ), true );
38
+
39
+ wp_enqueue_script( 'wp-color-picker-alpha', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/js/wp-color-picker-alpha.js', array(
40
+ 'jquery',
41
+ 'wp-color-picker'
42
+ ), filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/wp-color-picker-alpha.js' ), true );
43
+
44
+ $dep = array(
45
  'jquery',
46
  'underscore',
47
  'backbone',
48
  'wp-util',
49
  'jquery-tiptip',
50
+ 'iris'
51
+ );
52
+
53
+ if ( class_exists( 'WooCommerce' ) ) {
54
+ $dep[] = 'wc-enhanced-select';
55
+ }
56
+
57
+ wp_enqueue_script( 'getwooplugins_settings', trailingslashit( plugin_dir_url( __FILE__ ) ) . 'js/getwooplugins-settings.js', $dep, filemtime( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'js/getwooplugins-settings.js' ), true );
58
 
59
  wp_localize_script( 'getwooplugins_settings', 'getwooplugins_settings_params', array(
60
  'i18n_nav_warning' => esc_html__( 'The changes you made will be lost if you navigate away from this page.', 'woo-variation-swatches' ),
includes/getwooplugins/css/getwooplugins-settings.css CHANGED
@@ -145,9 +145,9 @@
145
 
146
  .getwooplugins-admin-form-table .getwooplugins-help-tip {
147
  padding : 0;
148
- margin : -3px 0 0 5px !important;
149
  vertical-align : middle;
150
- cursor : help;
151
  line-height : 1
152
  }
153
 
@@ -443,12 +443,12 @@ h2 .getwooplugins-help-tip {
443
 
444
  .getwooplugins-admin-form-table .is-pro th .pro-modal::after {
445
  content : "\f160";
446
- cursor: pointer;
447
  }
448
 
449
  .getwooplugins-admin-form-table .help-preview th .help-modal::after {
450
  content : "\f223";
451
- cursor: pointer;
452
  /*content : "\f504";*/
453
  }
454
 
@@ -604,8 +604,9 @@ h2 .getwooplugins-help-tip {
604
  }
605
 
606
  .rtl .gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link {
607
- right : auto;
608
- left : 0
 
609
  }
610
 
611
  .gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link::before {
@@ -712,6 +713,10 @@ h2 .getwooplugins-help-tip {
712
  line-height : 23px;
713
  }
714
 
 
 
 
 
715
  .gwp-backbone-modal-main footer .inner .button {
716
  margin-bottom : 0;
717
  }
@@ -721,6 +726,10 @@ h2 .getwooplugins-help-tip {
721
  float : left;
722
  }
723
 
 
 
 
 
724
  .gwp-backbone-modal-main footer .inner .button.button-large {
725
  margin-left : 10px;
726
  padding : 0 10px !important;
@@ -729,8 +738,11 @@ h2 .getwooplugins-help-tip {
729
  display : inline-block;
730
  }
731
 
732
- /** FEEDBACK */
 
 
733
 
 
734
  .gwp-backbone-modal.gwp-deactive-feedback-dialog article {
735
  padding : 1.5em;
736
  overflow : auto;
@@ -755,6 +767,11 @@ h2 .getwooplugins-help-tip {
755
  box-shadow : none;
756
  }
757
 
 
 
 
 
 
758
  .gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text {
759
  margin : 10px 0 0 25px;
760
  padding : 5px;
@@ -765,6 +782,10 @@ h2 .getwooplugins-help-tip {
765
  display : none;
766
  }
767
 
 
 
 
 
768
  .gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-alert {
769
  color : #0273A9;
770
  background-color : #FFFFFF;
@@ -797,6 +818,10 @@ h2 .getwooplugins-help-tip {
797
  float : left;
798
  }
799
 
 
 
 
 
800
  .gwp-backbone-modal footer .feedback-dialog-form-button-send:hover {
801
  background : #389DB1;
802
  }
@@ -818,6 +843,10 @@ h2 .getwooplugins-help-tip {
818
  text-decoration : none;
819
  }
820
 
 
 
 
 
821
  .gwp-backbone-modal footer .feedback-dialog-form-button-skip:focus {
822
  box-shadow : none;
823
  }
145
 
146
  .getwooplugins-admin-form-table .getwooplugins-help-tip {
147
  padding : 0;
148
+ margin : 0 0 0 5px !important;
149
  vertical-align : middle;
150
+ cursor : help;
151
  line-height : 1
152
  }
153
 
443
 
444
  .getwooplugins-admin-form-table .is-pro th .pro-modal::after {
445
  content : "\f160";
446
+ cursor : pointer;
447
  }
448
 
449
  .getwooplugins-admin-form-table .help-preview th .help-modal::after {
450
  content : "\f223";
451
+ cursor : pointer;
452
  /*content : "\f504";*/
453
  }
454
 
604
  }
605
 
606
  .rtl .gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link {
607
+ right : auto;
608
+ left : 0;
609
+ border-right : 1px solid #DDDDDD;
610
  }
611
 
612
  .gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link::before {
713
  line-height : 23px;
714
  }
715
 
716
+ .rtl .gwp-backbone-modal-main footer .inner {
717
+ text-align : left;
718
+ }
719
+
720
  .gwp-backbone-modal-main footer .inner .button {
721
  margin-bottom : 0;
722
  }
726
  float : left;
727
  }
728
 
729
+ .rtl .gwp-backbone-modal-main footer .inner .gwp-action-button-group {
730
+ float : right;
731
+ }
732
+
733
  .gwp-backbone-modal-main footer .inner .button.button-large {
734
  margin-left : 10px;
735
  padding : 0 10px !important;
738
  display : inline-block;
739
  }
740
 
741
+ .rtl .gwp-backbone-modal-main footer .inner .button.button-large {
742
+ margin-right : 10px;
743
+ }
744
 
745
+ /** FEEDBACK */
746
  .gwp-backbone-modal.gwp-deactive-feedback-dialog article {
747
  padding : 1.5em;
748
  overflow : auto;
767
  box-shadow : none;
768
  }
769
 
770
+ .rtl .gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input {
771
+ float : right;
772
+ margin : 0 0 0 10px;
773
+ }
774
+
775
  .gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text {
776
  margin : 10px 0 0 25px;
777
  padding : 5px;
782
  display : none;
783
  }
784
 
785
+ .rtl .gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text {
786
+ margin : 10px 25px 0 0;
787
+ }
788
+
789
  .gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-alert {
790
  color : #0273A9;
791
  background-color : #FFFFFF;
818
  float : left;
819
  }
820
 
821
+ .rtl .gwp-backbone-modal footer .feedback-dialog-form-button-send {
822
+ float : right;
823
+ }
824
+
825
  .gwp-backbone-modal footer .feedback-dialog-form-button-send:hover {
826
  background : #389DB1;
827
  }
843
  text-decoration : none;
844
  }
845
 
846
+ .rtl .gwp-backbone-modal footer .feedback-dialog-form-button-skip {
847
+ float : left;
848
+ }
849
+
850
  .gwp-backbone-modal footer .feedback-dialog-form-button-skip:focus {
851
  box-shadow : none;
852
  }
includes/getwooplugins/js/getwooplugins-settings.js CHANGED
@@ -187,7 +187,7 @@
187
  }(jQuery, Backbone, _))
188
 
189
  const GWPAdminHelper = (($) => {
190
- class GWPAdminHelper {
191
 
192
  static ResetPopupData(pluginslug) {
193
  let id = `#gwp-plugin-deactivate-feedback-dialog-wrapper-${pluginslug}`
@@ -241,21 +241,21 @@ const GWPAdminHelper = (($) => {
241
  }
242
 
243
  }
244
-
245
- return GWPAdminHelper
246
  })(jQuery);
247
 
248
  (function ($, params, wp) {
249
  $(function () {
250
 
251
  // Color picker with alpha support
252
- $('.color-picker-alpha').wpColorPicker({
253
- change : function (event, ui) {
254
- window.onbeforeunload = function () {
255
- return params.i18n_nav_warning
256
- }
257
- },
258
- })
 
 
259
 
260
  // Edit prompt
261
  $(function () {
@@ -277,6 +277,10 @@ const GWPAdminHelper = (($) => {
277
 
278
  $(document.body).on('init_tooltips', function () {
279
 
 
 
 
 
280
  $('.tips, .help_tip, .woocommerce-help-tip, .getwooplugins-help-tip').tipTip({
281
  'attribute' : 'data-tip',
282
  'fadeIn' : 50,
@@ -311,7 +315,8 @@ const GWPAdminHelper = (($) => {
311
  $('[data-gwp_dependency]').GWPFormFieldDependency()
312
  }).trigger('init_form_field_dependency')
313
 
314
- } catch (err) {
 
315
  // If failed (conflict?) log the error but don't stop other scripts breaking.
316
  window.console.log(err);
317
  }
187
  }(jQuery, Backbone, _))
188
 
189
  const GWPAdminHelper = (($) => {
190
+ return class GWPAdminHelper {
191
 
192
  static ResetPopupData(pluginslug) {
193
  let id = `#gwp-plugin-deactivate-feedback-dialog-wrapper-${pluginslug}`
241
  }
242
 
243
  }
 
 
244
  })(jQuery);
245
 
246
  (function ($, params, wp) {
247
  $(function () {
248
 
249
  // Color picker with alpha support
250
+ if ($().wpColorPicker) {
251
+ $('.color-picker-alpha').wpColorPicker({
252
+ change : function (event, ui) {
253
+ window.onbeforeunload = function () {
254
+ return params.i18n_nav_warning
255
+ }
256
+ },
257
+ })
258
+ }
259
 
260
  // Edit prompt
261
  $(function () {
277
 
278
  $(document.body).on('init_tooltips', function () {
279
 
280
+ if (!jQuery().tipTip) {
281
+ return false;
282
+ }
283
+
284
  $('.tips, .help_tip, .woocommerce-help-tip, .getwooplugins-help-tip').tipTip({
285
  'attribute' : 'data-tip',
286
  'fadeIn' : 50,
315
  $('[data-gwp_dependency]').GWPFormFieldDependency()
316
  }).trigger('init_form_field_dependency')
317
 
318
+ }
319
+ catch (err) {
320
  // If failed (conflict?) log the error but don't stop other scripts breaking.
321
  window.console.log(err);
322
  }
includes/html-settings-sidebar.php CHANGED
@@ -12,7 +12,7 @@
12
  </div>
13
  <div>
14
  <h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Facing issue?', 'woo-variation-swatches' ); ?></h3>
15
- <p><?php esc_html_e( 'Stuck with something?', 'woo-variation-swatches' ); ?> <a target="_blank" href="https://getwooplugins.com/tickets/"><?php esc_html_e( 'Please open a ticket.', 'woo-variation-swatches' ); ?></a>. <?php esc_html_e( 'For emergency case join our live chat.', 'woo-variation-swatches' ); ?></p>
16
  </div>
17
  <div>
18
  <h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e( 'Love Our Plugin?', 'woo-variation-swatches' ); ?></h3>
12
  </div>
13
  <div>
14
  <h3><span class="dashicons dashicons-editor-help"></span> <?php esc_html_e( 'Facing issue?', 'woo-variation-swatches' ); ?></h3>
15
+ <p><?php esc_html_e( 'Stuck with something?', 'woo-variation-swatches' ); ?> <a target="_blank" href="https://getwooplugins.com/tickets/"><?php esc_html_e( 'Please open a ticket', 'woo-variation-swatches' ); ?></a>. <?php esc_html_e( 'For emergency case join our live chat.', 'woo-variation-swatches' ); ?></p>
16
  </div>
17
  <div>
18
  <h3><span class="dashicons dashicons-star-filled"></span> <?php esc_html_e( 'Love Our Plugin?', 'woo-variation-swatches' ); ?></h3>
languages/woo-variation-swatches.pot CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Language-Team: Emran Ahmed <emran.bd.08@gmail.com>\n"
10
- "POT-Creation-Date: 2022-08-14 11:27+0000\n"
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
13
  "X-Poedit-SearchPath-0: .\n"
@@ -128,19 +128,19 @@ msgid "I couldn't understand how to make it work."
128
  msgstr ""
129
 
130
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:55
131
- msgid "It converts single variation image to multiple variation image gallery. <br><a target=\"_blank\" href=\"https://demo.getwooplugins.com/woocommerce-variation-swatches/\">Please check live demo</a>."
132
  msgstr ""
133
 
134
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:59
135
- msgid "I no longer need the plugin"
136
  msgstr ""
137
 
138
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:64
139
- msgid "I found a better plugin"
140
  msgstr ""
141
 
142
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:65
143
- msgid "Please share which plugin"
144
  msgstr ""
145
 
146
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:69
@@ -197,11 +197,11 @@ msgstr ""
197
  msgid "Unable to use image \"%s\"."
198
  msgstr ""
199
 
200
- #: ../includes/class-woo-variation-swatches-product-page.php:82
201
  msgid "%s left"
202
  msgstr ""
203
 
204
- #: ../includes/class-woo-variation-swatches-product-page.php:659, ../includes/class-woo-variation-swatches-product-page.php:685
205
  msgid "Choose an option"
206
  msgstr ""
207
 
@@ -254,7 +254,7 @@ msgid "Swatches Clickable Out Of Stock"
254
  msgstr ""
255
 
256
  #: ../includes/class-woo-variation-swatches-settings.php:147
257
- msgid "Swatches Show variation stock info"
258
  msgstr ""
259
 
260
  #: ../includes/class-woo-variation-swatches-settings.php:153
@@ -358,7 +358,7 @@ msgid "Enable Stylesheet"
358
  msgstr ""
359
 
360
  #: ../includes/class-woo-variation-swatches-settings.php:331
361
- msgid "Enable default stylesheet"
362
  msgstr ""
363
 
364
  #: ../includes/class-woo-variation-swatches-settings.php:338
@@ -410,7 +410,7 @@ msgid "Clear on Reselect"
410
  msgstr ""
411
 
412
  #: ../includes/class-woo-variation-swatches-settings.php:403
413
- msgid "Clear selected attribute on select again"
414
  msgstr ""
415
 
416
  #: ../includes/class-woo-variation-swatches-settings.php:411
@@ -418,7 +418,7 @@ msgid "Disable Out of Stock"
418
  msgstr ""
419
 
420
  #: ../includes/class-woo-variation-swatches-settings.php:412
421
- msgid "Disable Out Of Stock item"
422
  msgstr ""
423
 
424
  #: ../includes/class-woo-variation-swatches-settings.php:421
@@ -426,7 +426,7 @@ msgid "Clickable Out Of Stock"
426
  msgstr ""
427
 
428
  #: ../includes/class-woo-variation-swatches-settings.php:422
429
- msgid "Clickable Out Of Stock item"
430
  msgstr ""
431
 
432
  #: ../includes/class-woo-variation-swatches-settings.php:431
@@ -458,7 +458,7 @@ msgid "<span style=\"color: red\">Attribute image size can be changed by <code>w
458
  msgstr ""
459
 
460
  #: ../includes/class-woo-variation-swatches-settings.php:447
461
- msgid "Choose attribute image size. <a target=\"_blank\" href=\"%s\">Media Settings</a> or use <strong>Regenerate Thumbnails</strong> plugin"
462
  msgstr ""
463
 
464
  #: ../includes/class-woo-variation-swatches-settings.php:469
@@ -530,7 +530,7 @@ msgid "Show selected attribute"
530
  msgstr ""
531
 
532
  #: ../includes/class-woo-variation-swatches-settings.php:578
533
- msgid "Show selected attribute variation name beside the title"
534
  msgstr ""
535
 
536
  #: ../includes/class-woo-variation-swatches-settings.php:586
@@ -546,7 +546,7 @@ msgid "Enable Preloader"
546
  msgstr ""
547
 
548
  #: ../includes/class-woo-variation-swatches-settings.php:599
549
- msgid "Enable single product page swatches preloader"
550
  msgstr ""
551
 
552
  #: ../includes/class-woo-variation-swatches-settings.php:607
@@ -562,7 +562,7 @@ msgid "Variation stock info"
562
  msgstr ""
563
 
564
  #: ../includes/class-woo-variation-swatches-settings.php:617
565
- msgid "Show variation product stock info"
566
  msgstr ""
567
 
568
  #: ../includes/class-woo-variation-swatches-settings.php:626
@@ -590,7 +590,7 @@ msgid "Show swatches on archive / shop page."
590
  msgstr ""
591
 
592
  #: ../includes/class-woo-variation-swatches-settings.php:667
593
- msgid "Enable archive page swatches preloader"
594
  msgstr ""
595
 
596
  #: ../includes/class-woo-variation-swatches-settings.php:675
@@ -598,7 +598,7 @@ msgid "Show Product Availability"
598
  msgstr ""
599
 
600
  #: ../includes/class-woo-variation-swatches-settings.php:676
601
- msgid "Show Product availability stock info"
602
  msgstr ""
603
 
604
  #: ../includes/class-woo-variation-swatches-settings.php:687
@@ -666,7 +666,7 @@ msgid "Show Single Attribute"
666
  msgstr ""
667
 
668
  #: ../includes/class-woo-variation-swatches-settings.php:758
669
- msgid "Show Single Attribute taxonomies on archive page"
670
  msgstr ""
671
 
672
  #: ../includes/class-woo-variation-swatches-settings.php:771
@@ -698,7 +698,7 @@ msgid "Show First Attribute In Large Size"
698
  msgstr ""
699
 
700
  #: ../includes/class-woo-variation-swatches-settings.php:801
701
- msgid "Show Attribute taxonomies in large size"
702
  msgstr ""
703
 
704
  #: ../includes/class-woo-variation-swatches-term-meta.php:315
@@ -866,7 +866,7 @@ msgid "Stuck with something?"
866
  msgstr ""
867
 
868
  #: ../includes/html-settings-sidebar.php:15
869
- msgid "Please open a ticket."
870
  msgstr ""
871
 
872
  #: ../includes/html-settings-sidebar.php:15
@@ -905,7 +905,7 @@ msgstr ""
905
  msgid "PRO"
906
  msgstr ""
907
 
908
- #: ../includes/getwooplugins/class-getwooplugins-admin-menus.php:132, ../includes/getwooplugins/class-getwooplugins-plugin-deactivate-feedback.php:46
909
  msgid "The changes you made will be lost if you navigate away from this page."
910
  msgstr ""
911
 
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Language-Team: Emran Ahmed <emran.bd.08@gmail.com>\n"
10
+ "POT-Creation-Date: 2022-08-28 10:17+0000\n"
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
13
  "X-Poedit-SearchPath-0: .\n"
128
  msgstr ""
129
 
130
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:55
131
+ msgid "It converts variation select box to beautiful swatches.<br><a target=\"_blank\" href=\"https://demo.getwooplugins.com/woocommerce-variation-swatches/\">Please check live demo</a>."
132
  msgstr ""
133
 
134
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:59
135
+ msgid "I no longer need the plugin."
136
  msgstr ""
137
 
138
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:64
139
+ msgid "I found a better plugin."
140
  msgstr ""
141
 
142
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:65
143
+ msgid "Please share which plugin."
144
  msgstr ""
145
 
146
  #: ../includes/class-woo-variation-swatches-deactivate-feedback.php:69
197
  msgid "Unable to use image \"%s\"."
198
  msgstr ""
199
 
200
+ #: ../includes/class-woo-variation-swatches-product-page.php:89
201
  msgid "%s left"
202
  msgstr ""
203
 
204
+ #: ../includes/class-woo-variation-swatches-product-page.php:666, ../includes/class-woo-variation-swatches-product-page.php:692
205
  msgid "Choose an option"
206
  msgstr ""
207
 
254
  msgstr ""
255
 
256
  #: ../includes/class-woo-variation-swatches-settings.php:147
257
+ msgid "Swatches Show variation stock info."
258
  msgstr ""
259
 
260
  #: ../includes/class-woo-variation-swatches-settings.php:153
358
  msgstr ""
359
 
360
  #: ../includes/class-woo-variation-swatches-settings.php:331
361
+ msgid "Enable default stylesheet."
362
  msgstr ""
363
 
364
  #: ../includes/class-woo-variation-swatches-settings.php:338
410
  msgstr ""
411
 
412
  #: ../includes/class-woo-variation-swatches-settings.php:403
413
+ msgid "Clear selected attribute on select again."
414
  msgstr ""
415
 
416
  #: ../includes/class-woo-variation-swatches-settings.php:411
418
  msgstr ""
419
 
420
  #: ../includes/class-woo-variation-swatches-settings.php:412
421
+ msgid "Disable Out Of Stock item."
422
  msgstr ""
423
 
424
  #: ../includes/class-woo-variation-swatches-settings.php:421
426
  msgstr ""
427
 
428
  #: ../includes/class-woo-variation-swatches-settings.php:422
429
+ msgid "Clickable Out Of Stock item."
430
  msgstr ""
431
 
432
  #: ../includes/class-woo-variation-swatches-settings.php:431
458
  msgstr ""
459
 
460
  #: ../includes/class-woo-variation-swatches-settings.php:447
461
+ msgid "Choose attribute image size. <a target=\"_blank\" href=\"%s\">Media Settings</a> or use <strong>Regenerate Thumbnails</strong> plugin."
462
  msgstr ""
463
 
464
  #: ../includes/class-woo-variation-swatches-settings.php:469
530
  msgstr ""
531
 
532
  #: ../includes/class-woo-variation-swatches-settings.php:578
533
+ msgid "Show selected attribute variation name beside the title."
534
  msgstr ""
535
 
536
  #: ../includes/class-woo-variation-swatches-settings.php:586
546
  msgstr ""
547
 
548
  #: ../includes/class-woo-variation-swatches-settings.php:599
549
+ msgid "Enable single product page swatches preloader."
550
  msgstr ""
551
 
552
  #: ../includes/class-woo-variation-swatches-settings.php:607
562
  msgstr ""
563
 
564
  #: ../includes/class-woo-variation-swatches-settings.php:617
565
+ msgid "Show variation product stock info."
566
  msgstr ""
567
 
568
  #: ../includes/class-woo-variation-swatches-settings.php:626
590
  msgstr ""
591
 
592
  #: ../includes/class-woo-variation-swatches-settings.php:667
593
+ msgid "Enable archive page swatches preloader."
594
  msgstr ""
595
 
596
  #: ../includes/class-woo-variation-swatches-settings.php:675
598
  msgstr ""
599
 
600
  #: ../includes/class-woo-variation-swatches-settings.php:676
601
+ msgid "Show Product availability stock info."
602
  msgstr ""
603
 
604
  #: ../includes/class-woo-variation-swatches-settings.php:687
666
  msgstr ""
667
 
668
  #: ../includes/class-woo-variation-swatches-settings.php:758
669
+ msgid "Show Single Attribute taxonomies on archive page."
670
  msgstr ""
671
 
672
  #: ../includes/class-woo-variation-swatches-settings.php:771
698
  msgstr ""
699
 
700
  #: ../includes/class-woo-variation-swatches-settings.php:801
701
+ msgid "Show Attribute taxonomies in large size."
702
  msgstr ""
703
 
704
  #: ../includes/class-woo-variation-swatches-term-meta.php:315
866
  msgstr ""
867
 
868
  #: ../includes/html-settings-sidebar.php:15
869
+ msgid "Please open a ticket"
870
  msgstr ""
871
 
872
  #: ../includes/html-settings-sidebar.php:15
905
  msgid "PRO"
906
  msgstr ""
907
 
908
+ #: ../includes/getwooplugins/class-getwooplugins-admin-menus.php:132, ../includes/getwooplugins/class-getwooplugins-plugin-deactivate-feedback.php:60
909
  msgid "The changes you made will be lost if you navigate away from this page."
910
  msgstr ""
911
 
woo-variation-swatches.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
5
  * Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 5.6+
6
  * Author: Emran Ahmed
7
- * Version: 2.0.7
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
@@ -18,7 +18,7 @@
18
  defined( 'ABSPATH' ) or die( 'Keep Silent' );
19
 
20
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION' ) ) {
21
- define( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION', '2.0.7' );
22
  }
23
 
24
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_FILE' ) ) {
4
  * Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
5
  * Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 5.6+
6
  * Author: Emran Ahmed
7
+ * Version: 2.0.9
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
18
  defined( 'ABSPATH' ) or die( 'Keep Silent' );
19
 
20
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION' ) ) {
21
+ define( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION', '2.0.9' );
22
  }
23
 
24
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_FILE' ) ) {