YITH Essential Kit for WooCommerce #1 - Version 1.1.8

Version Description

  • Updated: All YITH plugins to latest version
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH Essential Kit for WooCommerce #1
Version 1.1.8
Comparing to
See all releases

Code changes from version 1.1.7 to 1.1.8

Files changed (81) hide show
  1. README.txt +7 -2
  2. init.php +1 -1
  3. modules.php +1 -4
  4. modules/yith-infinite-scrolling/init.php +0 -1
  5. modules/yith-live-chat/init.php +0 -1
  6. modules/yith-woocommerce-advanced-reviews/assets/images/15-bg.png +0 -0
  7. modules/yith-woocommerce-advanced-reviews/assets/images/15-icon.png +0 -0
  8. modules/yith-woocommerce-advanced-reviews/assets/images/15.png +0 -0
  9. modules/yith-woocommerce-advanced-reviews/assets/images/16-bg.png +0 -0
  10. modules/yith-woocommerce-advanced-reviews/assets/images/16-icon.png +0 -0
  11. modules/yith-woocommerce-advanced-reviews/assets/images/16.png +0 -0
  12. modules/yith-woocommerce-advanced-reviews/class.yith-woocommerce-advanced-reviews.php +1 -1
  13. modules/yith-woocommerce-advanced-reviews/init.php +3 -2
  14. modules/yith-woocommerce-advanced-reviews/lib/class.yith-advanced-reviews-list-table.php +0 -1
  15. modules/yith-woocommerce-advanced-reviews/templates/admin/premium.php +28 -0
  16. modules/yith-woocommerce-ajax-navigation/init.php +1 -0
  17. modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet.php +3 -7
  18. modules/yith-woocommerce-badges-management/assets/css/frontend.css +19 -16
  19. modules/yith-woocommerce-badges-management/assets/images/09-bg.png +0 -0
  20. modules/yith-woocommerce-badges-management/assets/images/09-icon.png +0 -0
  21. modules/yith-woocommerce-badges-management/assets/images/09.png +0 -0
  22. modules/yith-woocommerce-badges-management/class.yith-wcbm-admin.php +396 -396
  23. modules/yith-woocommerce-badges-management/class.yith-wcbm-frontend.php +242 -214
  24. modules/yith-woocommerce-badges-management/class.yith-wcbm.php +111 -111
  25. modules/yith-woocommerce-badges-management/init.php +3 -3
  26. modules/yith-woocommerce-badges-management/plugin-options/premium-options.php +12 -12
  27. modules/yith-woocommerce-badges-management/plugin-options/settings-options.php +28 -28
  28. modules/yith-woocommerce-badges-management/templates/premium.php +379 -363
  29. modules/yith-woocommerce-cart-messages/yith-cart-messages.php +0 -1
  30. modules/yith-woocommerce-catalog-mode/class.yith-woocommerce-catalog-mode.php +8 -9
  31. modules/yith-woocommerce-catalog-mode/init.php +2 -2
  32. modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.mo +0 -0
  33. modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.po +294 -0
  34. modules/yith-woocommerce-catalog-mode/plugin-options/settings-options.php +52 -77
  35. modules/yith-woocommerce-eu-vat/init.php +3 -3
  36. modules/yith-woocommerce-eu-vat/lib/class.yith-ywev-plugin-fw-loader.php +1 -1
  37. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors.php +1 -0
  38. modules/yith-woocommerce-product-vendors/includes/functions.yith-vendors.php +39 -0
  39. modules/yith-woocommerce-product-vendors/init.php +2 -2
  40. modules/yith-woocommerce-product-vendors/languages/yith_wc_product_vendors-it_IT.mo +0 -0
  41. modules/yith-woocommerce-product-vendors/languages/yith_wc_product_vendors-it_IT.po +17 -17
  42. modules/yith-woocommerce-product-vendors/languages/yith_wc_product_vendors.pot +16 -16
  43. modules/yith-woocommerce-request-a-quote/includes/class.yith-request-quote-admin.php +9 -9
  44. modules/yith-woocommerce-request-a-quote/includes/class.yith-request-quote-frontend.php +2 -2
  45. modules/yith-woocommerce-request-a-quote/includes/class.yith-request-quote.php +9 -9
  46. modules/yith-woocommerce-request-a-quote/includes/emails/class.yith-ywraq-send-email-request-quote.php +16 -16
  47. modules/yith-woocommerce-request-a-quote/includes/functions.yith-request-quote.php +13 -13
  48. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-es_ES.mo +0 -0
  49. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-es_ES.po +1591 -0
  50. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-it_IT.mo +0 -0
  51. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-it_IT.po +1374 -0
  52. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-pt_BR.mo +0 -0
  53. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-pt_BR.po +1760 -0
  54. modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote.pot +569 -0
  55. modules/yith-woocommerce-request-a-quote/plugin-options/settings-options.php +15 -15
  56. modules/yith-woocommerce-request-a-quote/templates/add-to-quote.php +1 -1
  57. modules/yith-woocommerce-request-a-quote/templates/admin/premium.php +33 -33
  58. modules/yith-woocommerce-request-a-quote/templates/emails/plain/request-quote.php +5 -5
  59. modules/yith-woocommerce-request-a-quote/templates/emails/request-quote.php +9 -9
  60. modules/yith-woocommerce-request-a-quote/templates/request-quote-form.php +6 -6
  61. modules/yith-woocommerce-request-a-quote/templates/request-quote-view.php +6 -6
  62. modules/yith-woocommerce-request-a-quote/yith-woocommerce-request-a-quote.php +136 -136
  63. modules/yith-woocommerce-stripe/includes/class-yith-stripe.php +4 -8
  64. plugin-fw/assets/js/yit-plugin-panel.js +10 -0
  65. plugin-fw/assets/js/yit-plugin-panel.min.js +10 -1
  66. plugin-fw/init.php +13 -15
  67. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  68. plugin-fw/languages/yith-plugin-fw-it_IT.po +223 -133
  69. plugin-fw/languages/yith-plugin-fw.pot +148 -108
  70. plugin-fw/lib/yit-upgrade.php +2 -2
  71. plugin-fw/licence/assets/css/yit-licence.css +112 -23
  72. plugin-fw/licence/assets/js/yit-licence.js +82 -25
  73. plugin-fw/licence/lib/yit-licence.php +195 -50
  74. plugin-fw/licence/lib/yit-plugin-licence.php +3 -4
  75. plugin-fw/licence/lib/yit-theme-licence.php +40 -7
  76. plugin-fw/licence/templates/panel/activation/activation-panel.php +121 -52
  77. plugin-fw/templates/metaboxes/types/number.php +14 -1
  78. plugin-fw/templates/panel/types/upload.php +2 -1
  79. plugin-fw/yit-functions.php +261 -236
  80. templates/yith-list-plugins.php +1 -0
  81. yith-jetpack.php +5 -0
README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce,jetpack,woocommerce jetpack, essential, kit, plugins, plugin, product, e-commerce, ecommerce, commerce, shop, yith, yit, yithemes,yith woocommerce colors and labels variations, colors and labels variations,colors and labels variations jetpack,yith woocommerce zoom magnifier,zoom magnifier,zoom magnifier jetpack,yith woocommerce wishlist,wishlist,wishlist jetpack,yith woocommerce compare,compare,compare jetpack,yith woocommerce ajax product filter,ajax product filter,ajax product filter jetpack,yith woocommerce ajax search,ajax search,ajax search jetpack,yith woocommerce catalog mode,catalog mode,catalog mode jetpack,yith woocommerce order tracking,order tracking,order tracking jetpack, yith woocommerce advanced reviews,advanced reviews,advanced reviews jetpack,yith woocommerce badges management,badges management,badges management jetpack,yith woocommerce cart messages,cart messages,cart messages jetpack,yith woocommerce review reminder,review reminder,review reminder jetpack,yith woocommerce quick view,quick view,quick view jetpack,yith live chat,live chat,live chat jetpack,yith woocommerce eu vat,eu vat,eu vat jetpack,yith woocommerce mailchimp,mailchimp,mailchimp jetpack,yith woocommerce stripe,stripe, stripe jetpack,yith infinite scrolling,infinite scrolling,infinite scrolling jetpack,yith woocommerce request a quote,request a quote,request a quote jetpack,yith woocommerce waiting list,waiting list,waiting list jetpack,yith woocommerce tab manager,tab manager,tab manager jetpack,yith woocommerce multi vendor,multi vendor,multi vendor jetpack,product vendor,products vendor,products vendor jetpack, booster for woocommerce
5
  Requires at least: 3.5.1
6
  Tested up to: 4.2.4
7
- Stable tag: 1.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,7 @@ Multi store and live chat<br />
103
  * [YITH WooCommerce Cart Messages](https://wordpress.org/plugins/yith-woocommerce-cart-messages)
104
  <br />A plugin for WooCommerce let you add custom messages in the cart page and/or in the checkout page.
105
 
 
106
  == Screenshots ==
107
  1. Admin: plugins list
108
  2. YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work. WooCommerce 2.3.x compatible.
@@ -150,6 +151,10 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
150
 
151
  == Changelog ==
152
 
 
 
 
 
153
  = 1.1.7 =
154
 
155
  * Fixed: Prevent warning
@@ -232,4 +237,4 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
232
 
233
  == Upgrade Notice ==
234
 
235
- Last Stable Tag 1.1.7
4
  Tags: woocommerce,jetpack,woocommerce jetpack, essential, kit, plugins, plugin, product, e-commerce, ecommerce, commerce, shop, yith, yit, yithemes,yith woocommerce colors and labels variations, colors and labels variations,colors and labels variations jetpack,yith woocommerce zoom magnifier,zoom magnifier,zoom magnifier jetpack,yith woocommerce wishlist,wishlist,wishlist jetpack,yith woocommerce compare,compare,compare jetpack,yith woocommerce ajax product filter,ajax product filter,ajax product filter jetpack,yith woocommerce ajax search,ajax search,ajax search jetpack,yith woocommerce catalog mode,catalog mode,catalog mode jetpack,yith woocommerce order tracking,order tracking,order tracking jetpack, yith woocommerce advanced reviews,advanced reviews,advanced reviews jetpack,yith woocommerce badges management,badges management,badges management jetpack,yith woocommerce cart messages,cart messages,cart messages jetpack,yith woocommerce review reminder,review reminder,review reminder jetpack,yith woocommerce quick view,quick view,quick view jetpack,yith live chat,live chat,live chat jetpack,yith woocommerce eu vat,eu vat,eu vat jetpack,yith woocommerce mailchimp,mailchimp,mailchimp jetpack,yith woocommerce stripe,stripe, stripe jetpack,yith infinite scrolling,infinite scrolling,infinite scrolling jetpack,yith woocommerce request a quote,request a quote,request a quote jetpack,yith woocommerce waiting list,waiting list,waiting list jetpack,yith woocommerce tab manager,tab manager,tab manager jetpack,yith woocommerce multi vendor,multi vendor,multi vendor jetpack,product vendor,products vendor,products vendor jetpack, booster for woocommerce
5
  Requires at least: 3.5.1
6
  Tested up to: 4.2.4
7
+ Stable tag: 1.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
  * [YITH WooCommerce Cart Messages](https://wordpress.org/plugins/yith-woocommerce-cart-messages)
104
  <br />A plugin for WooCommerce let you add custom messages in the cart page and/or in the checkout page.
105
 
106
+
107
  == Screenshots ==
108
  1. Admin: plugins list
109
  2. YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work. WooCommerce 2.3.x compatible.
151
 
152
  == Changelog ==
153
 
154
+ = 1.1.8 =
155
+
156
+ * Updated: All YITH plugins to latest version
157
+
158
  = 1.1.7 =
159
 
160
  * Fixed: Prevent warning
237
 
238
  == Upgrade Notice ==
239
 
240
+ Last Stable Tag 1.1.8
init.php CHANGED
@@ -7,7 +7,7 @@ Text Domain: yith-essential-kit-for-woocommerce-1
7
  Domain Path: /languages/
8
  Author: YIThemes
9
  Author URI: http://yithemes.com/
10
- Version: 1.1.7
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
7
  Domain Path: /languages/
8
  Author: YIThemes
9
  Author URI: http://yithemes.com/
10
+ Version: 1.1.8
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
modules.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
 
3
- return apply_filters( 'yith_jetpack_modules1',
4
- array(
5
 
6
  'yith-woocommerce-wishlist' => array(
7
  'name' => 'YITH WooCommerce Wishlist',
@@ -152,6 +151,4 @@ return apply_filters( 'yith_jetpack_modules1',
152
  'last_updated' => '2015-08-12',
153
  'repository' => 'yith'
154
  ),
155
-
156
- )
157
  );
1
  <?php
2
 
3
+ return array(
 
4
 
5
  'yith-woocommerce-wishlist' => array(
6
  'name' => 'YITH WooCommerce Wishlist',
151
  'last_updated' => '2015-08-12',
152
  'repository' => 'yith'
153
  ),
 
 
154
  );
modules/yith-infinite-scrolling/init.php CHANGED
@@ -82,7 +82,6 @@ if ( ! defined( 'YITH_INFS_ASSETS_URL' ) ) {
82
  define( 'YITH_INFS_ASSETS_URL', YITH_INFS_URL . 'assets' );
83
  }
84
 
85
-
86
  function yith_infs_init() {
87
 
88
  load_plugin_textdomain( 'yith-infinite-scrolling', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
82
  define( 'YITH_INFS_ASSETS_URL', YITH_INFS_URL . 'assets' );
83
  }
84
 
 
85
  function yith_infs_init() {
86
 
87
  load_plugin_textdomain( 'yith-infinite-scrolling', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
modules/yith-live-chat/init.php CHANGED
@@ -53,7 +53,6 @@ if ( !defined( 'YLC_TEMPLATE_PATH' ) ) {
53
  define( 'YLC_TEMPLATE_PATH', YLC_DIR . 'templates' );
54
  }
55
 
56
-
57
  function ylc_free_init() {
58
 
59
  /* Load text domain */
53
  define( 'YLC_TEMPLATE_PATH', YLC_DIR . 'templates' );
54
  }
55
 
 
56
  function ylc_free_init() {
57
 
58
  /* Load text domain */
modules/yith-woocommerce-advanced-reviews/assets/images/15-bg.png ADDED
Binary file
modules/yith-woocommerce-advanced-reviews/assets/images/15-icon.png ADDED
Binary file
modules/yith-woocommerce-advanced-reviews/assets/images/15.png ADDED
Binary file
modules/yith-woocommerce-advanced-reviews/assets/images/16-bg.png ADDED
Binary file
modules/yith-woocommerce-advanced-reviews/assets/images/16-icon.png ADDED
Binary file
modules/yith-woocommerce-advanced-reviews/assets/images/16.png ADDED
Binary file
modules/yith-woocommerce-advanced-reviews/class.yith-woocommerce-advanced-reviews.php CHANGED
@@ -190,7 +190,7 @@ if (!class_exists('YITH_WooCommerce_Advanced_Reviews')) {
190
  //region ******* YIT Plugin Framework *********
191
 
192
  // Load Plugin Framework
193
- add_action('after_setup_theme', array($this, 'plugin_fw_loader'), 1);
194
 
195
 
196
  // Add row meta
190
  //region ******* YIT Plugin Framework *********
191
 
192
  // Load Plugin Framework
193
+ add_action('plugins_loaded', array($this, 'plugin_fw_loader'), 15);
194
 
195
 
196
  // Add row meta
modules/yith-woocommerce-advanced-reviews/init.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-advanced-reviews
5
  Description: Extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-commerce sites.
6
  Author: Yithemes
7
  Text Domain: yith-woocommerce-advanced-reviews
8
- Version: 1.1.8
9
  Author URI: http://yithemes.com/
10
  */
11
 
@@ -38,9 +38,10 @@ if ( ! function_exists ( 'yith_plugin_registration_hook' ) ) {
38
  }
39
  register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
40
 
 
41
  require_once ( plugin_dir_path ( __FILE__ ) . 'functions.php' );
42
  yith_define ( 'YITH_YWAR_FREE_INIT', plugin_basename ( __FILE__ ) );
43
- yith_define ( 'YITH_YWAR_VERSION', '1.1.8' );
44
  yith_define ( 'YITH_YWAR_FILE', __FILE__ );
45
  yith_define ( 'YITH_YWAR_DIR', plugin_dir_path ( __FILE__ ) );
46
  yith_define ( 'YITH_YWAR_URL', plugins_url ( '/', __FILE__ ) );
5
  Description: Extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-commerce sites.
6
  Author: Yithemes
7
  Text Domain: yith-woocommerce-advanced-reviews
8
+ Version: 1.1.9
9
  Author URI: http://yithemes.com/
10
  */
11
 
38
  }
39
  register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
40
 
41
+
42
  require_once ( plugin_dir_path ( __FILE__ ) . 'functions.php' );
43
  yith_define ( 'YITH_YWAR_FREE_INIT', plugin_basename ( __FILE__ ) );
44
+ yith_define ( 'YITH_YWAR_VERSION', '1.1.9' );
45
  yith_define ( 'YITH_YWAR_FILE', __FILE__ );
46
  yith_define ( 'YITH_YWAR_DIR', plugin_dir_path ( __FILE__ ) );
47
  yith_define ( 'YITH_YWAR_URL', plugins_url ( '/', __FILE__ ) );
modules/yith-woocommerce-advanced-reviews/lib/class.yith-advanced-reviews-list-table.php CHANGED
@@ -499,7 +499,6 @@ if (!class_exists('YITH_Advanced_Reviews_List_Table')) {
499
  $author_name = $user ? $user->display_name : __('Anonymous', 'yith-woocommerce-advanced-reviews');
500
  } else {
501
  $user = yit_get_post_meta($review->ID, $this->ywar->meta_key_review_author);
502
- error_log(print_r($user, true));
503
 
504
  if ($user) {
505
  $author_name = $user ? $user : __('Anonymous', 'yith-woocommerce-advanced-reviews');
499
  $author_name = $user ? $user->display_name : __('Anonymous', 'yith-woocommerce-advanced-reviews');
500
  } else {
501
  $user = yit_get_post_meta($review->ID, $this->ywar->meta_key_review_author);
 
502
 
503
  if ($user) {
504
  $author_name = $user ? $user : __('Anonymous', 'yith-woocommerce-advanced-reviews');
modules/yith-woocommerce-advanced-reviews/templates/admin/premium.php CHANGED
@@ -432,6 +432,34 @@ global $YWAR_AdvancedReview;
432
  </div>
433
  </div>
434
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  <div class="section section-cta section-odd">
436
  <div class="landing-container">
437
  <div class="premium-cta">
432
  </div>
433
  </div>
434
  </div>
435
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_YWAR_ASSETS_IMAGES_URL ?>15-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
436
+ <div class="landing-container">
437
+ <div class="col-2">
438
+ <div class="section-title">
439
+ <img src="<?php echo YITH_YWAR_ASSETS_IMAGES_URL?>15-icon.png" alt="icon-15" />
440
+ <h2><?php _e('SINGLE REVIEW');?></h2>
441
+ </div>
442
+ <p><?php echo sprintf (__('Allow your users to write one %1$ssingle review for the product they bought%2$s. In this way, you will block any unhappy user to flood your site with negative comments.','yith-woocommerce-advanced-reviews'),'<b>','</b>');?></p>
443
+ </div>
444
+ <div class="col-1">
445
+ <img src="<?php echo YITH_YWAR_ASSETS_IMAGES_URL ?>15.png" alt="<?php _e('Single review');?>" />
446
+ </div>
447
+ </div>
448
+ </div>
449
+ <div class="section section-even clear" style="background: url(<?php echo YITH_YWAR_ASSETS_IMAGES_URL ?>16-bg.png) no-repeat #fff; background-position: 85% 100%">
450
+ <div class="landing-container">
451
+ <div class="col-1">
452
+ <img src="<?php echo YITH_YWAR_ASSETS_IMAGES_URL ?>16.png" alt="<?php _e('EDIT REVIEWS');?>" />
453
+ </div>
454
+ <div class="col-2">
455
+ <div class="section-title">
456
+ <img src="<?php echo YITH_YWAR_ASSETS_IMAGES_URL?>16-icon.png" alt="icon-16" />
457
+ <h2><?php _e('EDIT REVIEWS');?></h2>
458
+ </div>
459
+ <p><?php echo sprintf (__('Let users edit their reviews. Who purchased something from your shop will be free to %1$schange a negative comment in a positive one%2$s after resolving any problem or misunderstanding.','yith-woocommerce-advanced-reviews'),'<b>','</b>');?></p>
460
+ </div>
461
+ </div>
462
+ </div>
463
  <div class="section section-cta section-odd">
464
  <div class="landing-container">
465
  <div class="premium-cta">
modules/yith-woocommerce-ajax-navigation/init.php CHANGED
@@ -69,6 +69,7 @@ if ( defined( 'YITH_WCAN_VERSION' ) ) {
69
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
70
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
71
 
 
72
  /**
73
  * Init default plugin settings
74
  */
69
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
70
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
71
 
72
+
73
  /**
74
  * Init default plugin settings
75
  */
modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet.php CHANGED
@@ -64,7 +64,7 @@ if( ! class_exists( 'YITH_WCAUTHNET' ) ){
64
  * @since 1.0.0
65
  */
66
  public function __construct() {
67
- add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
68
 
69
  // enqueue assets
70
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue' ) );
@@ -120,12 +120,8 @@ if( ! class_exists( 'YITH_WCAUTHNET' ) ){
120
  * @since 1.0.0
121
  */
122
  public function plugin_fw_loader() {
123
- if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
124
- global $plugin_fw_data;
125
- if( ! empty( $plugin_fw_data ) ){
126
- $plugin_fw_file = array_shift( $plugin_fw_data );
127
- require_once( $plugin_fw_file );
128
- }
129
  }
130
  }
131
  }
64
  * @since 1.0.0
65
  */
66
  public function __construct() {
67
+ add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
68
 
69
  // enqueue assets
70
  add_action( 'wp_enqueue_scripts', array( $this, 'enqueue' ) );
120
  * @since 1.0.0
121
  */
122
  public function plugin_fw_loader() {
123
+ if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) {
124
+ require_once( YITH_WCAUTHNET_DIR . '/plugin-fw/yit-plugin.php' );
 
 
 
 
125
  }
126
  }
127
  }
modules/yith-woocommerce-badges-management/assets/css/frontend.css CHANGED
@@ -6,29 +6,32 @@
6
  */
7
 
8
  .yith-wcbm-badge {
9
- position: absolute;
10
- box-sizing: border-box;
11
- text-align: center;
12
- z-index:10;
13
  }
14
- .yith-wcbm-badge img{
15
- max-width: 200px;
16
- max-height: 200px;
 
17
  }
 
18
  p.yith-wcbm-badge-txt {
19
- margin: 0;
20
- padding: 0;
21
  }
22
 
23
- .container-image-and-badge{
24
- position:relative;
25
- display:block;
 
26
  }
27
 
28
- .yith-wcbm-badge img{
29
- margin: 0 !important;
30
  }
31
 
32
- span.onsale{
33
- z-index:10;
34
  }
6
  */
7
 
8
  .yith-wcbm-badge {
9
+ position : absolute;
10
+ box-sizing : border-box;
11
+ text-align : center;
12
+ z-index : 10;
13
  }
14
+
15
+ .yith-wcbm-badge img {
16
+ max-width : 200px;
17
+ max-height : 200px;
18
  }
19
+
20
  p.yith-wcbm-badge-txt {
21
+ margin : 0;
22
+ padding : 0;
23
  }
24
 
25
+ .container-image-and-badge {
26
+ position : relative;
27
+ display : block;
28
+ text-indent : 0;
29
  }
30
 
31
+ .yith-wcbm-badge img {
32
+ margin : 0 !important;
33
  }
34
 
35
+ span.onsale {
36
+ z-index : 10;
37
  }
modules/yith-woocommerce-badges-management/assets/images/09-bg.png ADDED
Binary file
modules/yith-woocommerce-badges-management/assets/images/09-icon.png ADDED
Binary file
modules/yith-woocommerce-badges-management/assets/images/09.png ADDED
Binary file
modules/yith-woocommerce-badges-management/class.yith-wcbm-admin.php CHANGED
@@ -1,396 +1,396 @@
1
- <?php
2
- /**
3
- * Admin class
4
- *
5
- * @author Yithemes
6
- * @package YITH WooCommerce Badge Management
7
- * @version 1.0.0
8
- */
9
-
10
- if ( !defined( 'YITH_WCBM' ) ) { exit; } // Exit if accessed directly
11
-
12
- require_once('functions.yith-wcbm.php');
13
-
14
- if( !class_exists( 'YITH_WCBM_Admin' ) ) {
15
- /**
16
- * Admin class.
17
- * The class manage all the admin behaviors.
18
- *
19
- * @since 1.0.0
20
- */
21
- class YITH_WCBM_Admin {
22
-
23
- /**
24
- * Single instance of the class
25
- *
26
- * @var \YITH_WCQV_Admin
27
- * @since 1.0.0
28
- */
29
- protected static $instance;
30
-
31
- /**
32
- * Plugin options
33
- *
34
- * @var array
35
- * @access public
36
- * @since 1.0.0
37
- */
38
- public $options = array();
39
-
40
- /**
41
- * Plugin version
42
- *
43
- * @var string
44
- * @since 1.0.0
45
- */
46
- public $version = YITH_WCBM_VERSION;
47
-
48
- /**
49
- * @var $_panel Panel Object
50
- */
51
- protected $_panel;
52
-
53
- /**
54
- * @var string Premium version landing link
55
- */
56
- protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/';
57
-
58
- /**
59
- * @var string Quick View panel page
60
- */
61
- protected $_panel_page = 'yith_wcbm_panel';
62
-
63
- /**
64
- * Various links
65
- *
66
- * @var string
67
- * @access public
68
- * @since 1.0.0
69
- */
70
- public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-badges-management/';
71
-
72
- /**
73
- * Returns single instance of the class
74
- *
75
- * @return \YITH_WCBM
76
- * @since 1.0.0
77
- */
78
- public static function get_instance(){
79
- if( is_null( self::$instance ) ){
80
- self::$instance = new self();
81
- }
82
-
83
- return self::$instance;
84
- }
85
-
86
- /**
87
- * Constructor
88
- *
89
- * @access public
90
- * @since 1.0.0
91
- */
92
- public function __construct() {
93
-
94
- add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
95
-
96
- //Add action links
97
- add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCBM_DIR . '/' . basename( YITH_WCBM_FILE ) ), array( $this, 'action_links') );
98
- add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
99
-
100
- /* Registro il custom post_id type */
101
- add_action('init', array( $this, 'post_type_register'));
102
-
103
- // Action per le metabox
104
- add_action('save_post', array( $this, 'metabox_save'));
105
- add_action('save_post', array($this, 'badge_settings_save'));
106
-
107
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
108
-
109
- //add_action( 'woocommerce_product_options_general_product_data', array( $this, 'badge_settings_tabs' ) );
110
-
111
- add_action('add_meta_boxes', array($this, 'badge_settings_metabox'));
112
-
113
- // Premium Tabs
114
- add_action( 'yith_wcbm_premium_tab', array( $this, 'show_premium_tab' ) );
115
- }
116
-
117
- /**
118
- * Action Links
119
- *
120
- * add the action links to plugin admin page
121
- *
122
- * @param $links | links plugin array
123
- *
124
- * @return mixed Array
125
- * @since 1.0
126
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
127
- * @return mixed
128
- * @use plugin_action_links_{$plugin_file_name}
129
- */
130
- public function action_links( $links ) {
131
-
132
- $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcbm' ) . '</a>';
133
- if ( defined( 'YITH_WCBM_FREE_INIT' ) ) {
134
- $links[] = '<a href="' . $this->_premium_landing . '" target="_blank">' . __( 'Premium Version', 'ywcm' ) . '</a>';
135
- }
136
-
137
- return $links;
138
- }
139
-
140
- /**
141
- * plugin_row_meta
142
- *
143
- * add the action links to plugin admin page
144
- *
145
- * @param $plugin_meta
146
- * @param $plugin_file
147
- * @param $plugin_data
148
- * @param $status
149
- *
150
- * @return Array
151
- * @since 1.0
152
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
153
- * @use plugin_row_meta
154
- */
155
- public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
156
-
157
- if ( ( defined( 'YITH_WCBM_FREE_INIT' ) && YITH_WCBM_FREE_INIT == $plugin_file ) || ( defined( 'YITH_WCBM_INIT' ) && YITH_WCBM_INIT == $plugin_file ) ) {
158
- $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-wcbm' ) . '</a>';
159
- }
160
- return $plugin_meta;
161
- }
162
-
163
- /**
164
- * Add a panel under YITH Plugins tab
165
- *
166
- * @return void
167
- * @since 1.0
168
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
169
- * @use /Yit_Plugin_Panel class
170
- * @see plugin-fw/lib/yit-plugin-panel.php
171
- */
172
- public function register_panel() {
173
-
174
- if ( ! empty( $this->_panel ) ) {
175
- return;
176
- }
177
-
178
- $admin_tabs_free = array(
179
- 'settings' => __( 'Settings', 'yith-wcbm' ),
180
- 'premium' => __( 'Premium Version', 'yith-wcbm' )
181
- );
182
-
183
- $admin_tabs = apply_filters('yith_wcbm_settings_admin_tabs', $admin_tabs_free);
184
-
185
- $args = array(
186
- 'create_menu_page' => true,
187
- 'parent_slug' => '',
188
- 'page_title' => __( 'Badge Management', 'yith-wcbm' ),
189
- 'menu_title' => __( 'Badge Management', 'yith-wcbm' ),
190
- 'capability' => 'manage_options',
191
- 'parent' => '',
192
- 'parent_page' => 'yit_plugin_panel',
193
- 'page' => $this->_panel_page,
194
- 'admin-tabs' => $admin_tabs,
195
- 'options-path' => YITH_WCBM_DIR . '/plugin-options'
196
- );
197
-
198
-
199
- /* === Fixed: not updated theme === */
200
- if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
201
- require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
202
- }
203
-
204
- $this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
205
- }
206
-
207
- public function admin_enqueue_scripts() {
208
- wp_enqueue_style( 'yith_wcbm_admin_style', YITH_WCBM_ASSETS_URL . '/css/admin.css');
209
- wp_enqueue_style('wp-color-picker');
210
- wp_enqueue_script('wp-color-picker');
211
- wp_enqueue_script('jquery-ui-tabs');
212
- wp_enqueue_style('jquery-ui-style-css', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css');
213
- wp_enqueue_style('googleFontsOpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300');
214
-
215
- $screen = get_current_screen();
216
- $metabox_js = defined( 'YITH_WCBM_PREMIUM' ) ? 'metabox_options_premium.js' : 'metabox_options.js';
217
-
218
- if( 'yith-wcbm-badge' == $screen->id ) {
219
- wp_enqueue_script( 'yith_wcbm_metabox_options', YITH_WCBM_ASSETS_URL .'/js/' . $metabox_js, array('jquery', 'wp-color-picker'), '1.0.0', true );
220
- wp_localize_script( 'yith_wcbm_metabox_options', 'ajax_object', array( 'assets_url' => YITH_WCBM_ASSETS_URL , 'wp_ajax_url' => admin_url( 'admin-ajax.php' )) );
221
- }
222
- }
223
-
224
- /**
225
- * Register Badge custom post type with options metabox
226
- *
227
- * @return void
228
- * @since 1.0
229
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
230
- */
231
- public function post_type_register() {
232
- $labels = array(
233
- 'name' => __('Badges', 'yith-wcbm'),
234
- 'singular_name' => __('Badge', 'yith-wcbm'),
235
- 'add_new' => __('Add Badge', 'yith-wcbm'),
236
- 'add_new_item' => __('Add new Badge', 'yith-wcbm'),
237
- 'edit_item' => __('Edit Badge', 'yith-wcbm'),
238
- 'view_item' => __('View Badge', 'yith-wcbm'),
239
- 'not_found' => __('Badge not found', 'yith-wcbm'),
240
- 'not_found_in_trash'=> __('Badge not found in trash', 'yith-wcbm')
241
- );
242
-
243
- $args = array(
244
- 'labels' => $labels,
245
- 'public' => true,
246
- 'show_ui' => true,
247
- 'menu_position' => 10,
248
- 'exclude_from_search' => true,
249
- 'capability_type' => 'post',
250
- 'map_meta_cap' => true,
251
- 'rewrite' => true,
252
- 'has_archive' => true,
253
- 'hierarchical' => false,
254
- 'show_in_nav_menus' => false,
255
- 'menu_icon' => 'dashicons-visibility',
256
- 'supports' => array('title'),
257
- 'register_meta_box_cb' => array($this, 'register_metabox')
258
- );
259
-
260
- register_post_type('yith-wcbm-badge', $args);
261
- }
262
-
263
- public function register_metabox(){
264
- add_meta_box('yith-wcbm-metabox', __('Badge Options', 'yith-wcbm'), array( $this, 'metabox_render'), 'yith-wcbm-badge', 'normal', 'high');
265
- }
266
-
267
- public function metabox_render( $post ){
268
- $bm_meta = get_post_meta( $post->ID, '_badge_meta', true);
269
-
270
- $default = array(
271
- 'type' => 'text',
272
- 'text' => '',
273
- 'txt_color_default' => '#000000',
274
- 'txt_color' => '#000000',
275
- 'bg_color_default' => '#2470FF',
276
- 'bg_color' => '#2470FF',
277
- 'width' => '100',
278
- 'height' => '50',
279
- 'position' => 'top-left',
280
- 'image_url' => ''
281
- );
282
-
283
- $args = wp_parse_args( $bm_meta , $default );
284
-
285
- $args = apply_filters('yith_wcbm_metabox_options_content_args' , $args);
286
-
287
- yith_wcbm_metabox_options_content($args);
288
- }
289
-
290
- public function metabox_save( $post_id ) {
291
- if ( !empty( $_POST[ '_badge_meta' ] ) ){
292
- $badge_meta['type'] = ( !empty( $_POST[ '_badge_meta' ]['type'] ) ) ? $_POST[ '_badge_meta' ]['type'] : '';
293
- $badge_meta['text'] = ( !empty( $_POST[ '_badge_meta' ]['text'] ) ) ? $_POST[ '_badge_meta' ]['text'] : '';
294
- $badge_meta['txt_color'] = ( !empty( $_POST[ '_badge_meta' ]['txt_color'] ) ) ? $_POST[ '_badge_meta' ]['txt_color'] : '';
295
- $badge_meta['bg_color'] = ( !empty( $_POST[ '_badge_meta' ]['bg_color'] ) ) ? esc_url($_POST[ '_badge_meta' ]['bg_color']) : '';
296
- $badge_meta['width'] = ( !empty( $_POST[ '_badge_meta' ]['width'] ) ) ? $_POST[ '_badge_meta' ]['width'] : '';
297
- $badge_meta['height'] = ( !empty( $_POST[ '_badge_meta' ]['height'] ) ) ? $_POST[ '_badge_meta' ]['height'] : '';
298
- $badge_meta['position'] = ( !empty( $_POST[ '_badge_meta' ]['position'] ) ) ? $_POST[ '_badge_meta' ]['position'] : 'top-left';
299
- $badge_meta['image_url'] = ( !empty( $_POST[ '_badge_meta' ]['image_url'] ) ) ? $_POST[ '_badge_meta' ]['image_url'] : '';
300
-
301
- //--wpml-------------
302
- yith_wcbm_wpml_register_string( 'yith-wcbm' , sanitize_title( $badge_meta['text'] ) , $badge_meta['text'] );
303
- //-------------------
304
-
305
- update_post_meta( $post_id, '_badge_meta', $badge_meta );
306
- }
307
- }
308
-
309
-
310
- function badge_settings_metabox() {
311
- add_meta_box('yith-wcbm-badge_metabox',__('Product Badge', 'yith-wcbm'), array($this, 'badge_settings_tabs'), 'product', 'side', 'core');
312
- }
313
- /**
314
- * Add badge select in metabox
315
- *
316
- * @return void
317
- * @since 1.0
318
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
319
- */
320
-
321
- function badge_settings_tabs(){
322
- global $post;
323
- $bm_meta = get_post_meta( $post->ID, '_yith_wcbm_product_meta', true);
324
- $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
325
- ?>
326
-
327
- <div class="options_group">
328
- <p class="form-field">
329
- <label><?php echo __('Select Badge', 'yith-wcbm') ?></label>
330
- <select name= "_yith_wcbm_product_meta[id_badge]" class="select short">
331
- <option value="" selected="selected"><?php echo __('none', 'yith-wcbm') ?></option>
332
- <?php
333
-
334
- $args = ( array('posts_per_page' => -1,
335
- 'post_type' => 'yith-wcbm-badge',
336
- 'orderby' => 'title',
337
- 'order' => 'ASC',
338
- 'post_status'=> 'publish')
339
- );
340
- $badges = get_posts( $args );
341
-
342
- foreach ($badges as $badge) {
343
- ?><option value="<?php echo $badge->ID ?>" <?php selected($id_badge, $badge->ID ) ?>><?php echo get_the_title($badge->ID) ?></option><?php
344
- }
345
-
346
- ?>
347
- </select>
348
- </p><!-- form-field -->
349
- </div><!-- options_group -->
350
-
351
- <?php
352
- }
353
-
354
-
355
- public function badge_settings_save( $post_id ){
356
- if ( !empty( $_POST[ '_yith_wcbm_product_meta' ] ) ){
357
- $product_meta['id_badge'] = ( !empty( $_POST[ '_yith_wcbm_product_meta' ]['id_badge'] ) ) ? $_POST[ '_yith_wcbm_product_meta' ]['id_badge'] : '';
358
- update_post_meta( $post_id, '_yith_wcbm_product_meta', $product_meta );
359
- }
360
- }
361
-
362
- /**
363
- * Show premium landing tab
364
- *
365
- * @return void
366
- * @since 1.0
367
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
368
- */
369
- public function show_premium_tab(){
370
- $landing = YITH_WCBM_TEMPLATE_PATH . '/premium.php';
371
- file_exists( $landing ) && require( $landing );
372
- }
373
-
374
- /**
375
- * Get the premium landing uri
376
- *
377
- * @since 1.0.0
378
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
379
- * @return string The premium landing link
380
- */
381
- public function get_premium_landing_uri() {
382
- return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing . '?refer_id=1030585';
383
- }
384
- }
385
- }
386
-
387
- /**
388
- * Unique access to instance of YITH_WCBM_Admin class
389
- *
390
- * @return \YITH_WCBM_Admin
391
- * @since 1.0.0
392
- */
393
- function YITH_WCBM_Admin(){
394
- return YITH_WCBM_Admin::get_instance();
395
- }
396
- ?>
1
+ <?php
2
+ /**
3
+ * Admin class
4
+ *
5
+ * @author Yithemes
6
+ * @package YITH WooCommerce Badge Management
7
+ * @version 1.0.0
8
+ */
9
+
10
+ if ( !defined( 'YITH_WCBM' ) ) { exit; } // Exit if accessed directly
11
+
12
+ require_once('functions.yith-wcbm.php');
13
+
14
+ if( !class_exists( 'YITH_WCBM_Admin' ) ) {
15
+ /**
16
+ * Admin class.
17
+ * The class manage all the admin behaviors.
18
+ *
19
+ * @since 1.0.0
20
+ */
21
+ class YITH_WCBM_Admin {
22
+
23
+ /**
24
+ * Single instance of the class
25
+ *
26
+ * @var \YITH_WCQV_Admin
27
+ * @since 1.0.0
28
+ */
29
+ protected static $instance;
30
+
31
+ /**
32
+ * Plugin options
33
+ *
34
+ * @var array
35
+ * @access public
36
+ * @since 1.0.0
37
+ */
38
+ public $options = array();
39
+
40
+ /**
41
+ * Plugin version
42
+ *
43
+ * @var string
44
+ * @since 1.0.0
45
+ */
46
+ public $version = YITH_WCBM_VERSION;
47
+
48
+ /**
49
+ * @var $_panel Panel Object
50
+ */
51
+ protected $_panel;
52
+
53
+ /**
54
+ * @var string Premium version landing link
55
+ */
56
+ protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/';
57
+
58
+ /**
59
+ * @var string Quick View panel page
60
+ */
61
+ protected $_panel_page = 'yith_wcbm_panel';
62
+
63
+ /**
64
+ * Various links
65
+ *
66
+ * @var string
67
+ * @access public
68
+ * @since 1.0.0
69
+ */
70
+ public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-badges-management/';
71
+
72
+ /**
73
+ * Returns single instance of the class
74
+ *
75
+ * @return \YITH_WCBM
76
+ * @since 1.0.0
77
+ */
78
+ public static function get_instance(){
79
+ if( is_null( self::$instance ) ){
80
+ self::$instance = new self();
81
+ }
82
+
83
+ return self::$instance;
84
+ }
85
+
86
+ /**
87
+ * Constructor
88
+ *
89
+ * @access public
90
+ * @since 1.0.0
91
+ */
92
+ public function __construct() {
93
+
94
+ add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
95
+
96
+ //Add action links
97
+ add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCBM_DIR . '/' . basename( YITH_WCBM_FILE ) ), array( $this, 'action_links') );
98
+ add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
99
+
100
+ /* Registro il custom post_id type */
101
+ add_action('init', array( $this, 'post_type_register'));
102
+
103
+ // Action per le metabox
104
+ add_action('save_post', array( $this, 'metabox_save'));
105
+ add_action('save_post', array($this, 'badge_settings_save'));
106
+
107
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
108
+
109
+ //add_action( 'woocommerce_product_options_general_product_data', array( $this, 'badge_settings_tabs' ) );
110
+
111
+ add_action('add_meta_boxes', array($this, 'badge_settings_metabox'));
112
+
113
+ // Premium Tabs
114
+ add_action( 'yith_wcbm_premium_tab', array( $this, 'show_premium_tab' ) );
115
+ }
116
+
117
+ /**
118
+ * Action Links
119
+ *
120
+ * add the action links to plugin admin page
121
+ *
122
+ * @param $links | links plugin array
123
+ *
124
+ * @return mixed Array
125
+ * @since 1.0
126
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
127
+ * @return mixed
128
+ * @use plugin_action_links_{$plugin_file_name}
129
+ */
130
+ public function action_links( $links ) {
131
+
132
+ $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcbm' ) . '</a>';
133
+ if ( defined( 'YITH_WCBM_FREE_INIT' ) ) {
134
+ $links[] = '<a href="' . $this->_premium_landing . '" target="_blank">' . __( 'Premium Version', 'ywcm' ) . '</a>';
135
+ }
136
+
137
+ return $links;
138
+ }
139
+
140
+ /**
141
+ * plugin_row_meta
142
+ *
143
+ * add the action links to plugin admin page
144
+ *
145
+ * @param $plugin_meta
146
+ * @param $plugin_file
147
+ * @param $plugin_data
148
+ * @param $status
149
+ *
150
+ * @return Array
151
+ * @since 1.0
152
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
153
+ * @use plugin_row_meta
154
+ */
155
+ public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
156
+
157
+ if ( ( defined( 'YITH_WCBM_FREE_INIT' ) && YITH_WCBM_FREE_INIT == $plugin_file ) || ( defined( 'YITH_WCBM_INIT' ) && YITH_WCBM_INIT == $plugin_file ) ) {
158
+ $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-wcbm' ) . '</a>';
159
+ }
160
+ return $plugin_meta;
161
+ }
162
+
163
+ /**
164
+ * Add a panel under YITH Plugins tab
165
+ *
166
+ * @return void
167
+ * @since 1.0
168
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
169
+ * @use /Yit_Plugin_Panel class
170
+ * @see plugin-fw/lib/yit-plugin-panel.php
171
+ */
172
+ public function register_panel() {
173
+
174
+ if ( ! empty( $this->_panel ) ) {
175
+ return;
176
+ }
177
+
178
+ $admin_tabs_free = array(
179
+ 'settings' => __( 'Settings', 'yith-wcbm' ),
180
+ 'premium' => __( 'Premium Version', 'yith-wcbm' )
181
+ );
182
+
183
+ $admin_tabs = apply_filters('yith_wcbm_settings_admin_tabs', $admin_tabs_free);
184
+
185
+ $args = array(
186
+ 'create_menu_page' => true,
187
+ 'parent_slug' => '',
188
+ 'page_title' => __( 'Badge Management', 'yith-wcbm' ),
189
+ 'menu_title' => __( 'Badge Management', 'yith-wcbm' ),
190
+ 'capability' => 'manage_options',
191
+ 'parent' => '',
192
+ 'parent_page' => 'yit_plugin_panel',
193
+ 'page' => $this->_panel_page,
194
+ 'admin-tabs' => $admin_tabs,
195
+ 'options-path' => YITH_WCBM_DIR . '/plugin-options'
196
+ );
197
+
198
+
199
+ /* === Fixed: not updated theme === */
200
+ if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
201
+ require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
202
+ }
203
+
204
+ $this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
205
+ }
206
+
207
+ public function admin_enqueue_scripts() {
208
+ wp_enqueue_style( 'yith_wcbm_admin_style', YITH_WCBM_ASSETS_URL . '/css/admin.css');
209
+ wp_enqueue_style('wp-color-picker');
210
+ wp_enqueue_script('wp-color-picker');
211
+ wp_enqueue_script('jquery-ui-tabs');
212
+ wp_enqueue_style('jquery-ui-style-css', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css');
213
+ wp_enqueue_style('googleFontsOpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300');
214
+
215
+ $screen = get_current_screen();
216
+ $metabox_js = defined( 'YITH_WCBM_PREMIUM' ) ? 'metabox_options_premium.js' : 'metabox_options.js';
217
+
218
+ if( 'yith-wcbm-badge' == $screen->id ) {
219
+ wp_enqueue_script( 'yith_wcbm_metabox_options', YITH_WCBM_ASSETS_URL .'/js/' . $metabox_js, array('jquery', 'wp-color-picker'), '1.0.0', true );
220
+ wp_localize_script( 'yith_wcbm_metabox_options', 'ajax_object', array( 'assets_url' => YITH_WCBM_ASSETS_URL , 'wp_ajax_url' => admin_url( 'admin-ajax.php' )) );
221
+ }
222
+ }
223
+
224
+ /**
225
+ * Register Badge custom post type with options metabox
226
+ *
227
+ * @return void
228
+ * @since 1.0
229
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
230
+ */
231
+ public function post_type_register() {
232
+ $labels = array(
233
+ 'name' => __('Badges', 'yith-wcbm'),
234
+ 'singular_name' => __('Badge', 'yith-wcbm'),
235
+ 'add_new' => __('Add Badge', 'yith-wcbm'),
236
+ 'add_new_item' => __('Add new Badge', 'yith-wcbm'),
237
+ 'edit_item' => __('Edit Badge', 'yith-wcbm'),
238
+ 'view_item' => __('View Badge', 'yith-wcbm'),
239
+ 'not_found' => __('Badge not found', 'yith-wcbm'),
240
+ 'not_found_in_trash'=> __('Badge not found in trash', 'yith-wcbm')
241
+ );
242
+
243
+ $args = array(
244
+ 'labels' => $labels,
245
+ 'public' => true,
246
+ 'show_ui' => true,
247
+ 'menu_position' => 10,
248
+ 'exclude_from_search' => true,
249
+ 'capability_type' => 'post',
250
+ 'map_meta_cap' => true,
251
+ 'rewrite' => true,
252
+ 'has_archive' => true,
253
+ 'hierarchical' => false,
254
+ 'show_in_nav_menus' => false,
255
+ 'menu_icon' => 'dashicons-visibility',
256
+ 'supports' => array('title'),
257
+ 'register_meta_box_cb' => array($this, 'register_metabox')
258
+ );
259
+
260
+ register_post_type('yith-wcbm-badge', $args);
261
+ }
262
+
263
+ public function register_metabox(){
264
+ add_meta_box('yith-wcbm-metabox', __('Badge Options', 'yith-wcbm'), array( $this, 'metabox_render'), 'yith-wcbm-badge', 'normal', 'high');
265
+ }
266
+
267
+ public function metabox_render( $post ){
268
+ $bm_meta = get_post_meta( $post->ID, '_badge_meta', true);
269
+
270
+ $default = array(
271
+ 'type' => 'text',
272
+ 'text' => '',
273
+ 'txt_color_default' => '#000000',
274
+ 'txt_color' => '#000000',
275
+ 'bg_color_default' => '#2470FF',
276
+ 'bg_color' => '#2470FF',
277
+ 'width' => '100',
278
+ 'height' => '50',
279
+ 'position' => 'top-left',
280
+ 'image_url' => ''
281
+ );
282
+
283
+ $args = wp_parse_args( $bm_meta , $default );
284
+
285
+ $args = apply_filters('yith_wcbm_metabox_options_content_args' , $args);
286
+
287
+ yith_wcbm_metabox_options_content($args);
288
+ }
289
+
290
+ public function metabox_save( $post_id ) {
291
+ if ( !empty( $_POST[ '_badge_meta' ] ) ){
292
+ $badge_meta['type'] = ( !empty( $_POST[ '_badge_meta' ]['type'] ) ) ? $_POST[ '_badge_meta' ]['type'] : '';
293
+ $badge_meta['text'] = ( !empty( $_POST[ '_badge_meta' ]['text'] ) ) ? $_POST[ '_badge_meta' ]['text'] : '';
294
+ $badge_meta['txt_color'] = ( !empty( $_POST[ '_badge_meta' ]['txt_color'] ) ) ? $_POST[ '_badge_meta' ]['txt_color'] : '';
295
+ $badge_meta['bg_color'] = ( !empty( $_POST[ '_badge_meta' ]['bg_color'] ) ) ? esc_url($_POST[ '_badge_meta' ]['bg_color']) : '';
296
+ $badge_meta['width'] = ( !empty( $_POST[ '_badge_meta' ]['width'] ) ) ? $_POST[ '_badge_meta' ]['width'] : '';
297
+ $badge_meta['height'] = ( !empty( $_POST[ '_badge_meta' ]['height'] ) ) ? $_POST[ '_badge_meta' ]['height'] : '';
298
+ $badge_meta['position'] = ( !empty( $_POST[ '_badge_meta' ]['position'] ) ) ? $_POST[ '_badge_meta' ]['position'] : 'top-left';
299
+ $badge_meta['image_url'] = ( !empty( $_POST[ '_badge_meta' ]['image_url'] ) ) ? $_POST[ '_badge_meta' ]['image_url'] : '';
300
+
301
+ //--wpml-------------
302
+ yith_wcbm_wpml_register_string( 'yith-wcbm' , sanitize_title( $badge_meta['text'] ) , $badge_meta['text'] );
303
+ //-------------------
304
+
305
+ update_post_meta( $post_id, '_badge_meta', $badge_meta );
306
+ }
307
+ }
308
+
309
+
310
+ function badge_settings_metabox() {
311
+ add_meta_box('yith-wcbm-badge_metabox',__('Product Badge', 'yith-wcbm'), array($this, 'badge_settings_tabs'), 'product', 'side', 'core');
312
+ }
313
+ /**
314
+ * Add badge select in metabox
315
+ *
316
+ * @return void
317
+ * @since 1.0
318
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
319
+ */
320
+
321
+ function badge_settings_tabs(){
322
+ global $post;
323
+ $bm_meta = get_post_meta( $post->ID, '_yith_wcbm_product_meta', true);
324
+ $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
325
+ ?>
326
+
327
+ <div class="options_group">
328
+ <p class="form-field">
329
+ <label><?php echo __('Select Badge', 'yith-wcbm') ?></label>
330
+ <select name= "_yith_wcbm_product_meta[id_badge]" class="select short">
331
+ <option value="" selected="selected"><?php echo __('none', 'yith-wcbm') ?></option>
332
+ <?php
333
+
334
+ $args = ( array('posts_per_page' => -1,
335
+ 'post_type' => 'yith-wcbm-badge',
336
+ 'orderby' => 'title',
337
+ 'order' => 'ASC',
338
+ 'post_status'=> 'publish')
339
+ );
340
+ $badges = get_posts( $args );
341
+
342
+ foreach ($badges as $badge) {
343
+ ?><option value="<?php echo $badge->ID ?>" <?php selected($id_badge, $badge->ID ) ?>><?php echo get_the_title($badge->ID) ?></option><?php
344
+ }
345
+
346
+ ?>
347
+ </select>
348
+ </p><!-- form-field -->
349
+ </div><!-- options_group -->
350
+
351
+ <?php
352
+ }
353
+
354
+
355
+ public function badge_settings_save( $post_id ){
356
+ if ( !empty( $_POST[ '_yith_wcbm_product_meta' ] ) ){
357
+ $product_meta['id_badge'] = ( !empty( $_POST[ '_yith_wcbm_product_meta' ]['id_badge'] ) ) ? $_POST[ '_yith_wcbm_product_meta' ]['id_badge'] : '';
358
+ update_post_meta( $post_id, '_yith_wcbm_product_meta', $product_meta );
359
+ }
360
+ }
361
+
362
+ /**
363
+ * Show premium landing tab
364
+ *
365
+ * @return void
366
+ * @since 1.0
367
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
368
+ */
369
+ public function show_premium_tab(){
370
+ $landing = YITH_WCBM_TEMPLATE_PATH . '/premium.php';
371
+ file_exists( $landing ) && require( $landing );
372
+ }
373
+
374
+ /**
375
+ * Get the premium landing uri
376
+ *
377
+ * @since 1.0.0
378
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
379
+ * @return string The premium landing link
380
+ */
381
+ public function get_premium_landing_uri() {
382
+ return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing . '?refer_id=1030585';
383
+ }
384
+ }
385
+ }
386
+
387
+ /**
388
+ * Unique access to instance of YITH_WCBM_Admin class
389
+ *
390
+ * @return \YITH_WCBM_Admin
391
+ * @since 1.0.0
392
+ */
393
+ function YITH_WCBM_Admin(){
394
+ return YITH_WCBM_Admin::get_instance();
395
+ }
396
+ ?>
modules/yith-woocommerce-badges-management/class.yith-wcbm-frontend.php CHANGED
@@ -1,214 +1,242 @@
1
- <?php
2
- /**
3
- * Frontend class
4
- *
5
- * @author Yithemes
6
- * @package YITH WooCommerce Badge Management
7
- * @version 1.1.1
8
- */
9
-
10
- if ( ! defined( 'YITH_WCBM' ) ) { exit; } // Exit if accessed directly
11
-
12
- require_once('functions.yith-wcbm.php');
13
-
14
- if( ! class_exists( 'YITH_WCBM_Frontend' ) ) {
15
- /**
16
- * Frontend class.
17
- * The class manage all the Frontend behaviors.
18
- *
19
- * @since 1.0.0
20
- */
21
- class YITH_WCBM_Frontend {
22
-
23
- /**
24
- * Single instance of the class
25
- *
26
- * @var \YITH_WCQV_Frontend
27
- * @since 1.0.0
28
- */
29
- protected static $instance;
30
-
31
- /**
32
- * Plugin version
33
- *
34
- * @var string
35
- * @since 1.0.0
36
- */
37
- public $version = YITH_WCBM_VERSION;
38
-
39
-
40
- private $is_in_sidebar = false;
41
-
42
- /**
43
- * Returns single instance of the class
44
- *
45
- * @return \YITH_WCQV_Frontend
46
- * @since 1.0.0
47
- */
48
- public static function get_instance(){
49
- if( is_null( self::$instance ) ){
50
- self::$instance = new self();
51
- }
52
-
53
- return self::$instance;
54
- }
55
-
56
- /**
57
- * Constructor
58
- *
59
- * @access public
60
- * @since 1.0.0
61
- */
62
- public function __construct() {
63
-
64
- // Action to add custom badge in single product page
65
- add_filter('woocommerce_single_product_image_html',array( $this, 'show_badge_on_product' ) , 10 , 2);
66
-
67
- // add frontend css
68
- add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts'));
69
-
70
- // edit sale flash badge
71
- add_filter('woocommerce_sale_flash', array($this, 'sale_flash') , 10 , 2 );
72
-
73
- // POST Thumbnail [to add custom badge in shop page]
74
- add_filter('post_thumbnail_html', array($this, 'add_box_thumb') , 10 , 2);
75
-
76
- // action to set this->is_in_sidebar
77
- add_action('dynamic_sidebar_before', array($this, 'set_is_in_sidebar') );
78
- add_action('dynamic_sidebar_after', array($this, 'unset_is_in_sidebar') );
79
- }
80
-
81
- public function add_box_thumb( $thumb , $post_id ){
82
- if( ! $this->is_in_sidebar() && !is_cart() && !is_checkout() ){
83
- return self::show_badge_on_product($thumb , $post_id);
84
- }else{
85
- return $thumb;
86
- }
87
- }
88
-
89
- /**
90
- * Set this->is in sidebar to true
91
- *
92
- * @access public
93
- * @since 1.1.4
94
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
95
- */
96
- public function set_is_in_sidebar(){
97
- $this->is_in_sidebar = true;
98
- }
99
-
100
- /**
101
- * Set this->is in sidebar to false
102
- *
103
- * @access public
104
- * @since 1.1.4
105
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
106
- */
107
- public function unset_is_in_sidebar(){
108
- $this->is_in_sidebar = false;
109
- }
110
-
111
- /**
112
- * Return true if is in sidebar
113
- *
114
- * @access public
115
- * @return bool
116
- * @since 1.1.4
117
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
118
- */
119
- public function is_in_sidebar(){
120
- return $this->is_in_sidebar;
121
- }
122
-
123
- /**
124
- * Hide or show default sale flash badge
125
- *
126
- * @access public
127
- * @return string
128
- * @param $val string value of filter woocommerce_sale_flash
129
- * @since 1.0.0
130
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
131
- */
132
- public function sale_flash( $val , $post ){
133
- $hide_on_sale_default = get_option( 'yith-wcbm-hide-on-sale-default' ) == 'yes' ? true : false;
134
-
135
- $product_id = $post->ID;
136
-
137
- $product_id = $this->get_wpml_parent_id( $product_id );
138
-
139
- $bm_meta = get_post_meta( $product_id, '_yith_wcbm_product_meta', true);
140
- $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
141
-
142
- if( $hide_on_sale_default || $id_badge != ''){
143
- return '';
144
- }
145
- return $val;
146
- }
147
-
148
- /**
149
- * Edit image in products
150
- *
151
- * @access public
152
- * @return string
153
- * @param $val string product image
154
- * @since 1.0.0
155
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
156
- */
157
- public function show_badge_on_product ( $val , $product_id ) {
158
- // prevent multiple badge copies
159
- if( strpos($val, 'container-image-and-badge') > 0)
160
- return $val;
161
-
162
- $badge_container = "<div class='container-image-and-badge'>". $val;
163
-
164
- $product_id = $this->get_wpml_parent_id( $product_id );
165
-
166
- $bm_meta = get_post_meta( $product_id , '_yith_wcbm_product_meta', true);
167
- $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
168
- if( ! defined( 'YITH_WCBM_PREMIUM' )){
169
- $badge_container .= yith_wcbm_get_badge($id_badge, $product_id);
170
- }else{
171
- $badge_container .= yith_wcbm_get_badges_premium($id_badge, $product_id);
172
- }
173
-
174
- $badge_container .= "</div><!--container-image-and-badge-->";
175
- return $badge_container;
176
-
177
- }
178
- public function enqueue_scripts(){
179
- wp_enqueue_style( 'yith_wcbm_badge_style', YITH_WCBM_ASSETS_URL . '/css/frontend.css');
180
- wp_enqueue_style('googleFontsOpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300');
181
- }
182
-
183
- public function get_wpml_parent_id( $product_id ) {
184
-
185
- global $sitepress;
186
- if ( isset( $sitepress ) ) {
187
-
188
- $default_language = $sitepress->get_default_language();
189
-
190
- if ( function_exists( 'icl_object_id' ) ) {
191
- $product_id = icl_object_id( $product_id, 'product', true, $default_language );
192
- }
193
- else {
194
- if ( function_exists( 'wpml_object_id_filter' ) ) {
195
- $product_id = wpml_object_id_filter( $product_id, 'product', true, $default_language );
196
- }
197
- }
198
-
199
- }
200
-
201
- return $product_id;
202
- }
203
- }
204
- }
205
- /**
206
- * Unique access to instance of YITH_WCBM_Frontend class
207
- *
208
- * @return \YITH_WCBM_Frontend
209
- * @since 1.0.0
210
- */
211
- function YITH_WCBM_Frontend(){
212
- return YITH_WCBM_Frontend::get_instance();
213
- }
214
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Frontend class
4
+ *
5
+ * @author Yithemes
6
+ * @package YITH WooCommerce Badge Management
7
+ * @version 1.1.1
8
+ */
9
+
10
+ if ( !defined( 'YITH_WCBM' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ require_once( 'functions.yith-wcbm.php' );
15
+
16
+ if ( !class_exists( 'YITH_WCBM_Frontend' ) ) {
17
+ /**
18
+ * Frontend class.
19
+ * The class manage all the Frontend behaviors.
20
+ *
21
+ * @since 1.0.0
22
+ */
23
+ class YITH_WCBM_Frontend {
24
+
25
+ /**
26
+ * Single instance of the class
27
+ *
28
+ * @var \YITH_WCQV_Frontend
29
+ * @since 1.0.0
30
+ */
31
+ protected static $instance;
32
+
33
+ /**
34
+ * Plugin version
35
+ *
36
+ * @var string
37
+ * @since 1.0.0
38
+ */
39
+ public $version = YITH_WCBM_VERSION;
40
+
41
+
42
+ private $is_in_sidebar = false;
43
+
44
+ /**
45
+ * Returns single instance of the class
46
+ *
47
+ * @return \YITH_WCQV_Frontend
48
+ * @since 1.0.0
49
+ */
50
+ public static function get_instance() {
51
+ if ( is_null( self::$instance ) ) {
52
+ self::$instance = new self();
53
+ }
54
+
55
+ return self::$instance;
56
+ }
57
+
58
+ /**
59
+ * Constructor
60
+ *
61
+ * @access public
62
+ * @since 1.0.0
63
+ */
64
+ public function __construct() {
65
+
66
+ // Action to add custom badge in single product page
67
+ add_filter( 'woocommerce_single_product_image_html', array( $this, 'show_badge_on_product' ), 10, 2 );
68
+
69
+ // add frontend css
70
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
71
+
72
+ // edit sale flash badge
73
+ add_filter( 'woocommerce_sale_flash', array( $this, 'sale_flash' ), 10, 2 );
74
+
75
+ // POST Thumbnail [to add custom badge in shop page]
76
+ add_filter( 'post_thumbnail_html', array( $this, 'add_box_thumb' ), 10, 2 );
77
+
78
+ // action to set this->is_in_sidebar
79
+ add_action( 'dynamic_sidebar_before', array( $this, 'set_is_in_sidebar' ) );
80
+ add_action( 'dynamic_sidebar_after', array( $this, 'unset_is_in_sidebar' ) );
81
+ }
82
+
83
+ public function add_box_thumb( $thumb, $post_id ) {
84
+ if ( !$this->is_in_sidebar() && !is_cart() && !is_checkout() ) {
85
+ return self::show_badge_on_product( $thumb, $post_id );
86
+ } else {
87
+ return $thumb;
88
+ }
89
+ }
90
+
91
+ /**
92
+ * Set this->is in sidebar to true
93
+ *
94
+ * @access public
95
+ * @since 1.1.4
96
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
97
+ */
98
+ public function set_is_in_sidebar() {
99
+ $this->is_in_sidebar = true;
100
+ }
101
+
102
+ /**
103
+ * Set this->is in sidebar to false
104
+ *
105
+ * @access public
106
+ * @since 1.1.4
107
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
108
+ */
109
+ public function unset_is_in_sidebar() {
110
+ $this->is_in_sidebar = false;
111
+ }
112
+
113
+ /**
114
+ * Return true if is in sidebar
115
+ *
116
+ * @access public
117
+ * @return bool
118
+ * @since 1.1.4
119
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
120
+ */
121
+ public function is_in_sidebar() {
122
+ return $this->is_in_sidebar;
123
+ }
124
+
125
+ /**
126
+ * Hide or show default sale flash badge
127
+ *
128
+ * @access public
129
+ * @return string
130
+ *
131
+ * @param $val string value of filter woocommerce_sale_flash
132
+ *
133
+ * @since 1.0.0
134
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
135
+ */
136
+ public function sale_flash( $val, $post ) {
137
+ $hide_on_sale_default = get_option( 'yith-wcbm-hide-on-sale-default' ) == 'yes' ? true : false;
138
+
139
+ $product_id = $post->ID;
140
+
141
+ $product_id = $this->get_wpml_parent_id( $product_id );
142
+
143
+ $bm_meta = get_post_meta( $product_id, '_yith_wcbm_product_meta', true );
144
+ $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
145
+
146
+ if ( $hide_on_sale_default || $id_badge != '' ) {
147
+ return '';
148
+ }
149
+
150
+ return $val;
151
+ }
152
+
153
+
154
+ /**
155
+ * Get the badge Id based on current language
156
+ *
157
+ * @access public
158
+ * @return int
159
+ *
160
+ * @param $id_badge string id of badge
161
+ *
162
+ * @since 1.0.0
163
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
164
+ */
165
+ public function get_wmpl_badge_id( $id_badge ) {
166
+ return $id_badge;
167
+ }
168
+
169
+ /**
170
+ * Edit image in products
171
+ *
172
+ * @access public
173
+ * @return string
174
+ *
175
+ * @param $val string product image
176
+ *
177
+ * @since 1.0.0
178
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
179
+ */
180
+ public function show_badge_on_product( $val, $product_id ) {
181
+ // prevent multiple badge copies
182
+ if ( strpos( $val, 'container-image-and-badge' ) > 0 )
183
+ return $val;
184
+
185
+ $product_id = $this->get_wpml_parent_id( $product_id );
186
+ $bm_meta = get_post_meta( $product_id, '_yith_wcbm_product_meta', true );
187
+ $id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
188
+
189
+ if ( empty( $id_badge ) )
190
+ return $val;
191
+
192
+ $badge_container = "<div class='container-image-and-badge'>" . $val;
193
+
194
+ if ( !defined( 'YITH_WCBM_PREMIUM' ) ) {
195
+ $badge_container .= yith_wcbm_get_badge( $id_badge, $product_id );
196
+ } else {
197
+ $badge_container .= yith_wcbm_get_badges_premium( $id_badge, $product_id );
198
+ }
199
+
200
+ $badge_container .= "</div><!--container-image-and-badge-->";
201
+
202
+ return $badge_container;
203
+
204
+ }
205
+
206
+ public function enqueue_scripts() {
207
+ wp_enqueue_style( 'yith_wcbm_badge_style', YITH_WCBM_ASSETS_URL . '/css/frontend.css' );
208
+ wp_enqueue_style( 'googleFontsOpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300' );
209
+ }
210
+
211
+ public function get_wpml_parent_id( $id, $post_type = 'product' ) {
212
+
213
+ global $sitepress;
214
+ if ( isset( $sitepress ) ) {
215
+
216
+ $default_language = $sitepress->get_default_language();
217
+
218
+ if ( function_exists( 'icl_object_id' ) ) {
219
+ $id = icl_object_id( $id, $post_type, true, $default_language );
220
+ } else {
221
+ if ( function_exists( 'wpml_object_id_filter' ) ) {
222
+ $id = wpml_object_id_filter( $id, $post_type, true, $default_language );
223
+ }
224
+ }
225
+
226
+ }
227
+
228
+ return $id;
229
+ }
230
+ }
231
+ }
232
+ /**
233
+ * Unique access to instance of YITH_WCBM_Frontend class
234
+ *
235
+ * @return \YITH_WCBM_Frontend
236
+ * @since 1.0.0
237
+ */
238
+ function YITH_WCBM_Frontend() {
239
+ return YITH_WCBM_Frontend::get_instance();
240
+ }
241
+
242
+ ?>
modules/yith-woocommerce-badges-management/class.yith-wcbm.php CHANGED
@@ -1,112 +1,112 @@
1
- <?php
2
- /**
3
- * Main class
4
- *
5
- * @author Yithemes
6
- * @package YITH WooCommerce Badge Management
7
- * @version 1.0.0
8
- */
9
-
10
-
11
- if ( !defined( 'YITH_WCBM' ) ) {
12
- exit;
13
- } // Exit if accessed directly
14
-
15
- if ( !class_exists( 'YITH_WCBM' ) ) {
16
- /**
17
- * YITH WooCommerce Badge Management
18
- *
19
- * @since 1.0.0
20
- */
21
- class YITH_WCBM {
22
-
23
- /**
24
- * Single instance of the class
25
- *
26
- * @var \YITH_WCBM
27
- * @since 1.0.0
28
- */
29
- protected static $instance;
30
-
31
- /**
32
- * Plugin version
33
- *
34
- * @var string
35
- * @since 1.0.0
36
- */
37
- public $version = YITH_WCBM_VERSION;
38
-
39
- /**
40
- * Plugin object
41
- *
42
- * @var string
43
- * @since 1.0.0
44
- */
45
- public $obj = null;
46
-
47
- /**
48
- * Returns single instance of the class
49
- *
50
- * @return \YITH_WCBM
51
- * @since 1.0.0
52
- */
53
- public static function get_instance() {
54
- if ( is_null( self::$instance ) ) {
55
- self::$instance = new self();
56
- }
57
-
58
- return self::$instance;
59
- }
60
-
61
- /**
62
- * Constructor
63
- *
64
- * @return mixed| YITH_WCBM_Admin | YITH_WCBM_Frontend
65
- * @since 1.0.0
66
- */
67
- public function __construct() {
68
-
69
- // Load Plugin Framework
70
- add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
71
-
72
- // Class admin
73
- if ( is_admin() ) {
74
- YITH_WCBM_Admin();
75
- } // Class frontend
76
- else {
77
- YITH_WCBM_Frontend();
78
- }
79
- }
80
-
81
-
82
- /**
83
- * Load Plugin Framework
84
- *
85
- * @since 1.0
86
- * @access public
87
- * @return void
88
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
89
- */
90
- public function plugin_fw_loader() {
91
- if ( !defined( 'YIT_CORE_PLUGIN' ) ) {
92
- global $plugin_fw_data;
93
- if ( !empty( $plugin_fw_data ) ) {
94
- $plugin_fw_file = array_shift( $plugin_fw_data );
95
- require_once( $plugin_fw_file );
96
- }
97
- }
98
- }
99
- }
100
- }
101
-
102
- /**
103
- * Unique access to instance of YITH_WCBM class
104
- *
105
- * @return \YITH_WCBM
106
- * @since 1.0.0
107
- */
108
- function YITH_WCBM() {
109
- return YITH_WCBM::get_instance();
110
- }
111
-
112
  ?>
1
+ <?php
2
+ /**
3
+ * Main class
4
+ *
5
+ * @author Yithemes
6
+ * @package YITH WooCommerce Badge Management
7
+ * @version 1.0.0
8
+ */
9
+
10
+
11
+ if ( !defined( 'YITH_WCBM' ) ) {
12
+ exit;
13
+ } // Exit if accessed directly
14
+
15
+ if ( !class_exists( 'YITH_WCBM' ) ) {
16
+ /**
17
+ * YITH WooCommerce Badge Management
18
+ *
19
+ * @since 1.0.0
20
+ */
21
+ class YITH_WCBM {
22
+
23
+ /**
24
+ * Single instance of the class
25
+ *
26
+ * @var \YITH_WCBM
27
+ * @since 1.0.0
28
+ */
29
+ protected static $instance;
30
+
31
+ /**
32
+ * Plugin version
33
+ *
34
+ * @var string
35
+ * @since 1.0.0
36
+ */
37
+ public $version = YITH_WCBM_VERSION;
38
+
39
+ /**
40
+ * Plugin object
41
+ *
42
+ * @var string
43
+ * @since 1.0.0
44
+ */
45
+ public $obj = null;
46
+
47
+ /**
48
+ * Returns single instance of the class
49
+ *
50
+ * @return \YITH_WCBM
51
+ * @since 1.0.0
52
+ */
53
+ public static function get_instance() {
54
+ if ( is_null( self::$instance ) ) {
55
+ self::$instance = new self();
56
+ }
57
+
58
+ return self::$instance;
59
+ }
60
+
61
+ /**
62
+ * Constructor
63
+ *
64
+ * @return mixed| YITH_WCBM_Admin | YITH_WCBM_Frontend
65
+ * @since 1.0.0
66
+ */
67
+ public function __construct() {
68
+
69
+ // Load Plugin Framework
70
+ add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
71
+
72
+ // Class admin
73
+ if ( is_admin() && ( ! isset( $_REQUEST['action'] ) || ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] != 'yith_load_product_quick_view' ) ) ) {
74
+ YITH_WCBM_Admin();
75
+ } // Class frontend
76
+ else {
77
+ YITH_WCBM_Frontend();
78
+ }
79
+ }
80
+
81
+
82
+ /**
83
+ * Load Plugin Framework
84
+ *
85
+ * @since 1.0
86
+ * @access public
87
+ * @return void
88
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
89
+ */
90
+ public function plugin_fw_loader() {
91
+ if ( !defined( 'YIT_CORE_PLUGIN' ) ) {
92
+ global $plugin_fw_data;
93
+ if ( !empty( $plugin_fw_data ) ) {
94
+ $plugin_fw_file = array_shift( $plugin_fw_data );
95
+ require_once( $plugin_fw_file );
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Unique access to instance of YITH_WCBM class
104
+ *
105
+ * @return \YITH_WCBM
106
+ * @since 1.0.0
107
+ */
108
+ function YITH_WCBM() {
109
+ return YITH_WCBM::get_instance();
110
+ }
111
+
112
  ?>
modules/yith-woocommerce-badges-management/init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Badge Management
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/
5
  * Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
6
- * Version: 1.2.1
7
  * Author: YIThemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcbm
@@ -11,7 +11,7 @@
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Badge Management
14
- * @version 1.2.1
15
  */
16
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -61,7 +61,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
61
 
62
 
63
  if ( ! defined( 'YITH_WCBM_VERSION' ) ){
64
- define( 'YITH_WCBM_VERSION', '1.2.1' );
65
  }
66
 
67
  if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Badge Management
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/
5
  * Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
6
+ * Version: 1.2.3
7
  * Author: YIThemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcbm
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Badge Management
14
+ * @version 1.2.3
15
  */
16
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
61
 
62
 
63
  if ( ! defined( 'YITH_WCBM_VERSION' ) ){
64
+ define( 'YITH_WCBM_VERSION', '1.2.3' );
65
  }
66
 
67
  if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
modules/yith-woocommerce-badges-management/plugin-options/premium-options.php CHANGED
@@ -1,13 +1,13 @@
1
- <?php
2
-
3
- // Exit if accessed directly
4
- ! defined( 'YITH_WCBM' ) && exit();
5
-
6
- return array(
7
- 'premium' => array(
8
- 'landing' => array(
9
- 'type' => 'custom_tab',
10
- 'action' => 'yith_wcbm_premium_tab'
11
- )
12
- )
13
  );
1
+ <?php
2
+
3
+ // Exit if accessed directly
4
+ ! defined( 'YITH_WCBM' ) && exit();
5
+
6
+ return array(
7
+ 'premium' => array(
8
+ 'landing' => array(
9
+ 'type' => 'custom_tab',
10
+ 'action' => 'yith_wcbm_premium_tab'
11
+ )
12
+ )
13
  );
modules/yith-woocommerce-badges-management/plugin-options/settings-options.php CHANGED
@@ -1,29 +1,29 @@
1
- <?php
2
-
3
- $settings = array(
4
-
5
- 'settings' => array(
6
-
7
- 'general-options' => array(
8
- 'title' => __( 'General Options', 'yith-wcbm' ),
9
- 'type' => 'title',
10
- 'desc' => '',
11
- 'id' => 'yith-wcbm-general-options'
12
- ),
13
-
14
- 'hide-on-sale-default-badge' => array(
15
- 'id' => 'yith-wcbm-hide-on-sale-default',
16
- 'name' => __( 'Hide "On sale" badge', 'yith-wcbm' ),
17
- 'type' => 'checkbox',
18
- 'desc' => __( 'Select to hide the default Woocommerce "On sale" badge.', 'yith-wcbm' ),
19
- 'default' => 'no'
20
- ),
21
-
22
- 'general-options-end' => array(
23
- 'type' => 'sectionend',
24
- 'id' => 'yith-wcqv-general-options'
25
- )
26
- )
27
- );
28
-
29
  return apply_filters( 'yith_wcbm_panel_settings_options', $settings );
1
+ <?php
2
+
3
+ $settings = array(
4
+
5
+ 'settings' => array(
6
+
7
+ 'general-options' => array(
8
+ 'title' => __( 'General Options', 'yith-wcbm' ),
9
+ 'type' => 'title',
10
+ 'desc' => '',
11
+ 'id' => 'yith-wcbm-general-options'
12
+ ),
13
+
14
+ 'hide-on-sale-default-badge' => array(
15
+ 'id' => 'yith-wcbm-hide-on-sale-default',
16
+ 'name' => __( 'Hide "On sale" badge', 'yith-wcbm' ),
17
+ 'type' => 'checkbox',
18
+ 'desc' => __( 'Select to hide the default Woocommerce "On sale" badge.', 'yith-wcbm' ),
19
+ 'default' => 'no'
20
+ ),
21
+
22
+ 'general-options-end' => array(
23
+ 'type' => 'sectionend',
24
+ 'id' => 'yith-wcqv-general-options'
25
+ )
26
+ )
27
+ );
28
+
29
  return apply_filters( 'yith_wcbm_panel_settings_options', $settings );
modules/yith-woocommerce-badges-management/templates/premium.php CHANGED
@@ -1,364 +1,380 @@
1
- <style>
2
- .section{
3
- margin-left: -20px;
4
- margin-right: -20px;
5
- font-family: "Raleway",san-serif;
6
- }
7
- .section h1{
8
- text-align: center;
9
- text-transform: uppercase;
10
- color: #808a97;
11
- font-size: 35px;
12
- font-weight: 700;
13
- line-height: normal;
14
- display: inline-block;
15
- width: 100%;
16
- margin: 50px 0 0;
17
- }
18
- .section:nth-child(even){
19
- background-color: #fff;
20
- }
21
- .section:nth-child(odd){
22
- background-color: #f1f1f1;
23
- }
24
- .section .section-title img{
25
- display: table-cell;
26
- vertical-align: middle;
27
- width: auto;
28
- margin-right: 15px;
29
- }
30
- .section h2,
31
- .section h3 {
32
- display: inline-block;
33
- vertical-align: middle;
34
- padding: 0;
35
- font-size: 24px;
36
- font-weight: 700;
37
- color: #808a97;
38
- text-transform: uppercase;
39
- }
40
-
41
- .section .section-title h2{
42
- display: table-cell;
43
- vertical-align: middle;
44
- }
45
-
46
- .section-title{
47
- display: table;
48
- }
49
-
50
- .section h3 {
51
- font-size: 14px;
52
- line-height: 28px;
53
- margin-bottom: 0;
54
- display: block;
55
- }
56
-
57
- .section p{
58
- font-size: 13px;
59
- margin: 25px 0;
60
- }
61
- .section ul li{
62
- margin-bottom: 4px;
63
- }
64
- .landing-container{
65
- max-width: 750px;
66
- margin-left: auto;
67
- margin-right: auto;
68
- padding: 50px 0 30px;
69
- }
70
- .landing-container:after{
71
- display: block;
72
- clear: both;
73
- content: '';
74
- }
75
- .landing-container .col-1,
76
- .landing-container .col-2{
77
- float: left;
78
- box-sizing: border-box;
79
- padding: 0 15px;
80
- }
81
- .landing-container .col-1 img{
82
- width: 100%;
83
- }
84
- .landing-container .col-1{
85
- width: 55%;
86
- }
87
- .landing-container .col-2{
88
- width: 45%;
89
- }
90
- .premium-cta{
91
- background-color: #808a97;
92
- color: #fff;
93
- border-radius: 6px;
94
- padding: 20px 15px;
95
- }
96
- .premium-cta:after{
97
- content: '';
98
- display: block;
99
- clear: both;
100
- }
101
- .premium-cta p{
102
- margin: 7px 0;
103
- font-size: 14px;
104
- font-weight: 500;
105
- display: inline-block;
106
- width: 60%;
107
- }
108
- .premium-cta a.button{
109
- border-radius: 6px;
110
- height: 60px;
111
- float: right;
112
- background: url(<?php echo YITH_WCBM_ASSETS_URL?>/images/upgrade.png) #ff643f no-repeat 13px 13px;
113
- border-color: #ff643f;
114
- box-shadow: none;
115
- outline: none;
116
- color: #fff;
117
- position: relative;
118
- padding: 9px 50px 9px 70px;
119
- }
120
- .premium-cta a.button:hover,
121
- .premium-cta a.button:active,
122
- .premium-cta a.button:focus{
123
- color: #fff;
124
- background: url(<?php echo YITH_WCBM_ASSETS_URL?>/images/upgrade.png) #971d00 no-repeat 13px 13px;
125
- border-color: #971d00;
126
- box-shadow: none;
127
- outline: none;
128
- }
129
- .premium-cta a.button:focus{
130
- top: 1px;
131
- }
132
- .premium-cta a.button span{
133
- line-height: 13px;
134
- }
135
- .premium-cta a.button .highlight{
136
- display: block;
137
- font-size: 20px;
138
- font-weight: 700;
139
- line-height: 20px;
140
- }
141
- .premium-cta .highlight{
142
- text-transform: uppercase;
143
- background: none;
144
- font-weight: 800;
145
- color: #fff;
146
- }
147
-
148
- @media (max-width: 768px) {
149
- .section{margin: 0}
150
- .premium-cta p{
151
- width: 100%;
152
- }
153
- .premium-cta{
154
- text-align: center;
155
- }
156
- .premium-cta a.button{
157
- float: none;
158
- }
159
- }
160
-
161
- @media (max-width: 480px){
162
- .wrap{
163
- margin-right: 0;
164
- }
165
- .section{
166
- margin: 0;
167
- }
168
- .landing-container .col-1,
169
- .landing-container .col-2{
170
- width: 100%;
171
- padding: 0 15px;
172
- }
173
- .section-odd .col-1 {
174
- float: left;
175
- margin-right: -100%;
176
- }
177
- .section-odd .col-2 {
178
- float: right;
179
- margin-top: 65%;
180
- }
181
- }
182
-
183
- @media (max-width: 320px){
184
- .premium-cta a.button{
185
- padding: 9px 20px 9px 70px;
186
- }
187
-
188
- .section .section-title img{
189
- display: none;
190
- }
191
- }
192
- </style>
193
- <div class="landing">
194
- <div class="section section-cta section-odd">
195
- <div class="landing-container">
196
- <div class="premium-cta">
197
- <p>
198
- Upgrade to the <span class="highlight">premium version</span>
199
- of <span class="highlight">YITH WooCommerce Badge Management</span> to benefit from all features!
200
- </p>
201
- <a href="<?php echo $this->get_premium_landing_uri(); ?>" target="_blank" class="premium-cta-button button btn">
202
- <span class="highlight">UPGRADE</span>
203
- <span>to the premium version</span>
204
- </a>
205
- </div>
206
- </div>
207
- </div>
208
- <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/01-bg.png) no-repeat #fff; background-position: 85% 75%">
209
- <h1>Premium Features</h1>
210
- <div class="landing-container">
211
- <div class="col-1">
212
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/01.png" alt="Automatic Badges" />
213
- </div>
214
- <div class="col-2">
215
- <div class="section-title">
216
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/01-icon.png" alt="icon"/>
217
- <h2>Assign badges automatically</h2>
218
- </div>
219
- <p>
220
- A badge for <b>recent product</b>, another one for on <b>sale products</b> and another one for <b>featured</b> ones. Go
221
- to plugin panel and enjoy automatic attribution feature of badges: as soon as the product is set as
222
- belonging to one the categories above mentioned, it will be automatically associated to the relevant
223
- badge, without you having to do that manually.
224
- </p>
225
- </div>
226
- </div>
227
- </div>
228
- <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/02-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
229
- <div class="landing-container">
230
- <div class="col-2">
231
- <div class="section-title">
232
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/02-icon.png" alt="icon 02" />
233
- <h2>Category badges</h2>
234
- </div>
235
- <p>
236
- A badge for each product category. You might feel the need to create a badge for each product category: <b>you can with the premium version of the plugin</b>.<br>
237
- A very effective strategy if you want to highlight specific products or if you want to give a nice touch to your store.
238
- </p>
239
- </div>
240
- <div class="col-1">
241
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/02.png" alt="category badges" />
242
- </div>
243
- </div>
244
- </div>
245
- <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/03-bg.png) no-repeat #fff; background-position: 85% 100%">
246
- <div class="landing-container">
247
- <div class="col-1">
248
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/03.png" alt="Advanced badges" />
249
- </div>
250
- <div class="col-2">
251
- <div class="section-title">
252
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/03-icon.png" alt="icon 03" />
253
- <h2>Advanced badges</h2>
254
- </div>
255
- <p>
256
- The plugin gives you the possibility to create countless badges entirely conceived for you, but (and
257
- this is wonderful news), it allows you to use a series of <b>advanced badges</b>, ready for you, and easy
258
- to adapt to the style of your shop.
259
- </p>
260
- </div>
261
- </div>
262
- </div>
263
- <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/04-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
264
- <div class="landing-container">
265
- <div class="col-2">
266
- <div class="section-title">
267
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/04-icon.png" alt="icon 04" />
268
- <h2>CSS BADGE</h2>
269
- </div>
270
- <p>
271
- Discover the new section <b>“CSS Badge”</b>, where you can find a selection of badges entirely design as
272
- CSS and that you can customise in text and color. They are perfect to give a <b>special touch to your
273
- products</b> and to create ad hoc badges for your store.
274
- </p>
275
- </div>
276
- <div class="col-1">
277
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/04.png" alt="css badge" />
278
- </div>
279
- </div>
280
- </div>
281
- <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/05-bg.png) no-repeat #fff; background-position: 85% 100%">
282
- <div class="landing-container">
283
- <div class="col-1">
284
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/05.png" alt="Style options" />
285
- </div>
286
- <div class="col-2">
287
- <div class="section-title">
288
- <img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/05-icon.png" alt="icon 05" />
289
- <h2>Additional style options</h2>
290
- </div>
291
- <p>
292
- Attention to detail is important and if you want to create the perfect badge for you, you can
293
- exploit additional style options in the option panel, where <b>you can set font size, values for
294
- padding and border radius and opacity of your badge</b>.
295
- </p>
296
- </div>
297
- </div>
298
- </div>
299
- <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/07-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
300
- <div class="landing-container">
301
- <div class="col-2">
302
- <div class="section-title">
303
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/07-icon.png" alt="icon 07" />
304
- <h2>Even more badges</h2>
305
- </div>
306
- <p>
307
- A collection of <b>ready badges</b>, which enlarges more and more and which is entirely at your disposal. A series of badges carefully designed and using the best colours for an e-commerce store.
308
- But, do not stop here! If you have a badge that meets your needs better, upload it through the dedicated button and apply it to the product it has been conceived for.
309
- </p>
310
- </div>
311
- <div class="col-1">
312
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/07.png" alt="Image badges" />
313
- </div>
314
- </div>
315
- </div>
316
- <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/06-bg.png) no-repeat #fff; background-position: 85% 100%">
317
- <div class="landing-container">
318
- <div class="col-1">
319
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/06.png" alt="positioning system" />
320
- </div>
321
- <div class="col-2">
322
- <div class="section-title">
323
- <img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/06-icon.png" alt="icon 06" />
324
- <h2>Positioning system</h2>
325
- </div>
326
- <p>
327
- Move your badge with "Drag & Drop" method and see where it appears, by using it in the preview box.
328
- Set the <b>anchor point</b> for your badge, in the context of the product image, and specify position
329
- values for the four borders of the box (top, right, bottom, left).
330
- </p>
331
- </div>
332
- </div>
333
- </div>
334
- <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/08-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
335
- <div class="landing-container">
336
- <div class="col-2">
337
- <div class="section-title">
338
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/08-icon.png" alt="icon 08" />
339
- <h2>Hide the badge on the single product</h2>
340
- </div>
341
- <p>
342
- A specific option that allows you to <b>hide the badge in product detail page</b>, while its behaviour will not be changed in other pages in the shop.
343
- </p>
344
- </div>
345
- <div class="col-1">
346
- <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/08.png" alt="hide badge" />
347
- </div>
348
- </div>
349
- </div>
350
- <div class="section section-cta section-odd">
351
- <div class="landing-container">
352
- <div class="premium-cta">
353
- <p>
354
- Upgrade to the <span class="highlight">premium version</span>
355
- of <span class="highlight">YITH WooCommerce Badge Management</span> to benefit from all features!
356
- </p>
357
- <a href="<?php echo $this->get_premium_landing_uri(); ?>" target="_blank" class="premium-cta-button button btn">
358
- <span class="highlight">UPGRADE</span>
359
- <span>to the premium version</span>
360
- </a>
361
- </div>
362
- </div>
363
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  </div>
1
+ <style>
2
+ .section{
3
+ margin-left: -20px;
4
+ margin-right: -20px;
5
+ font-family: "Raleway",san-serif;
6
+ }
7
+ .section h1{
8
+ text-align: center;
9
+ text-transform: uppercase;
10
+ color: #808a97;
11
+ font-size: 35px;
12
+ font-weight: 700;
13
+ line-height: normal;
14
+ display: inline-block;
15
+ width: 100%;
16
+ margin: 50px 0 0;
17
+ }
18
+ .section:nth-child(even){
19
+ background-color: #fff;
20
+ }
21
+ .section:nth-child(odd){
22
+ background-color: #f1f1f1;
23
+ }
24
+ .section .section-title img{
25
+ display: table-cell;
26
+ vertical-align: middle;
27
+ width: auto;
28
+ margin-right: 15px;
29
+ }
30
+ .section h2,
31
+ .section h3 {
32
+ display: inline-block;
33
+ vertical-align: middle;
34
+ padding: 0;
35
+ font-size: 24px;
36
+ font-weight: 700;
37
+ color: #808a97;
38
+ text-transform: uppercase;
39
+ }
40
+
41
+ .section .section-title h2{
42
+ display: table-cell;
43
+ vertical-align: middle;
44
+ }
45
+
46
+ .section-title{
47
+ display: table;
48
+ }
49
+
50
+ .section h3 {
51
+ font-size: 14px;
52
+ line-height: 28px;
53
+ margin-bottom: 0;
54
+ display: block;
55
+ }
56
+
57
+ .section p{
58
+ font-size: 13px;
59
+ margin: 25px 0;
60
+ }
61
+ .section ul li{
62
+ margin-bottom: 4px;
63
+ }
64
+ .landing-container{
65
+ max-width: 750px;
66
+ margin-left: auto;
67
+ margin-right: auto;
68
+ padding: 50px 0 30px;
69
+ }
70
+ .landing-container:after{
71
+ display: block;
72
+ clear: both;
73
+ content: '';
74
+ }
75
+ .landing-container .col-1,
76
+ .landing-container .col-2{
77
+ float: left;
78
+ box-sizing: border-box;
79
+ padding: 0 15px;
80
+ }
81
+ .landing-container .col-1 img{
82
+ width: 100%;
83
+ }
84
+ .landing-container .col-1{
85
+ width: 55%;
86
+ }
87
+ .landing-container .col-2{
88
+ width: 45%;
89
+ }
90
+ .premium-cta{
91
+ background-color: #808a97;
92
+ color: #fff;
93
+ border-radius: 6px;
94
+ padding: 20px 15px;
95
+ }
96
+ .premium-cta:after{
97
+ content: '';
98
+ display: block;
99
+ clear: both;
100
+ }
101
+ .premium-cta p{
102
+ margin: 7px 0;
103
+ font-size: 14px;
104
+ font-weight: 500;
105
+ display: inline-block;
106
+ width: 60%;
107
+ }
108
+ .premium-cta a.button{
109
+ border-radius: 6px;
110
+ height: 60px;
111
+ float: right;
112
+ background: url(<?php echo YITH_WCBM_ASSETS_URL?>/images/upgrade.png) #ff643f no-repeat 13px 13px;
113
+ border-color: #ff643f;
114
+ box-shadow: none;
115
+ outline: none;
116
+ color: #fff;
117
+ position: relative;
118
+ padding: 9px 50px 9px 70px;
119
+ }
120
+ .premium-cta a.button:hover,
121
+ .premium-cta a.button:active,
122
+ .premium-cta a.button:focus{
123
+ color: #fff;
124
+ background: url(<?php echo YITH_WCBM_ASSETS_URL?>/images/upgrade.png) #971d00 no-repeat 13px 13px;
125
+ border-color: #971d00;
126
+ box-shadow: none;
127
+ outline: none;
128
+ }
129
+ .premium-cta a.button:focus{
130
+ top: 1px;
131
+ }
132
+ .premium-cta a.button span{
133
+ line-height: 13px;
134
+ }
135
+ .premium-cta a.button .highlight{
136
+ display: block;
137
+ font-size: 20px;
138
+ font-weight: 700;
139
+ line-height: 20px;
140
+ }
141
+ .premium-cta .highlight{
142
+ text-transform: uppercase;
143
+ background: none;
144
+ font-weight: 800;
145
+ color: #fff;
146
+ }
147
+
148
+ @media (max-width: 768px) {
149
+ .section{margin: 0}
150
+ .premium-cta p{
151
+ width: 100%;
152
+ }
153
+ .premium-cta{
154
+ text-align: center;
155
+ }
156
+ .premium-cta a.button{
157
+ float: none;
158
+ }
159
+ }
160
+
161
+ @media (max-width: 480px){
162
+ .wrap{
163
+ margin-right: 0;
164
+ }
165
+ .section{
166
+ margin: 0;
167
+ }
168
+ .landing-container .col-1,
169
+ .landing-container .col-2{
170
+ width: 100%;
171
+ padding: 0 15px;
172
+ }
173
+ .section-odd .col-1 {
174
+ float: left;
175
+ margin-right: -100%;
176
+ }
177
+ .section-odd .col-2 {
178
+ float: right;
179
+ margin-top: 65%;
180
+ }
181
+ }
182
+
183
+ @media (max-width: 320px){
184
+ .premium-cta a.button{
185
+ padding: 9px 20px 9px 70px;
186
+ }
187
+
188
+ .section .section-title img{
189
+ display: none;
190
+ }
191
+ }
192
+ </style>
193
+ <div class="landing">
194
+ <div class="section section-cta section-odd">
195
+ <div class="landing-container">
196
+ <div class="premium-cta">
197
+ <p>
198
+ Upgrade to the <span class="highlight">premium version</span>
199
+ of <span class="highlight">YITH WooCommerce Badge Management</span> to benefit from all features!
200
+ </p>
201
+ <a href="<?php echo $this->get_premium_landing_uri(); ?>" target="_blank" class="premium-cta-button button btn">
202
+ <span class="highlight">UPGRADE</span>
203
+ <span>to the premium version</span>
204
+ </a>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/01-bg.png) no-repeat #fff; background-position: 85% 75%">
209
+ <h1>Premium Features</h1>
210
+ <div class="landing-container">
211
+ <div class="col-1">
212
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/01.png" alt="Automatic Badges" />
213
+ </div>
214
+ <div class="col-2">
215
+ <div class="section-title">
216
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/01-icon.png" alt="icon"/>
217
+ <h2>Assign badges automatically</h2>
218
+ </div>
219
+ <p>
220
+ A badge for <b>recent product</b>, another one for on <b>sale products</b> and another one for <b>featured</b> ones. Go
221
+ to plugin panel and enjoy automatic attribution feature of badges: as soon as the product is set as
222
+ belonging to one the categories above mentioned, it will be automatically associated to the relevant
223
+ badge, without you having to do that manually.
224
+ </p>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/02-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
229
+ <div class="landing-container">
230
+ <div class="col-2">
231
+ <div class="section-title">
232
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/02-icon.png" alt="icon 02" />
233
+ <h2>Category badges</h2>
234
+ </div>
235
+ <p>
236
+ A badge for each product category. You might feel the need to create a badge for each product category: <b>you can with the premium version of the plugin</b>.<br>
237
+ A very effective strategy if you want to highlight specific products or if you want to give a nice touch to your store.
238
+ </p>
239
+ </div>
240
+ <div class="col-1">
241
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/02.png" alt="category badges" />
242
+ </div>
243
+ </div>
244
+ </div>
245
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/03-bg.png) no-repeat #fff; background-position: 85% 100%">
246
+ <div class="landing-container">
247
+ <div class="col-1">
248
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/03.png" alt="Advanced badges" />
249
+ </div>
250
+ <div class="col-2">
251
+ <div class="section-title">
252
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/03-icon.png" alt="icon 03" />
253
+ <h2>Advanced badges</h2>
254
+ </div>
255
+ <p>
256
+ The plugin gives you the possibility to create countless badges entirely conceived for you, but (and
257
+ this is wonderful news), it allows you to use a series of <b>advanced badges</b>, ready for you, and easy
258
+ to adapt to the style of your shop.
259
+ </p>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/04-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
264
+ <div class="landing-container">
265
+ <div class="col-2">
266
+ <div class="section-title">
267
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/04-icon.png" alt="icon 04" />
268
+ <h2>CSS BADGE</h2>
269
+ </div>
270
+ <p>
271
+ Discover the new section <b>“CSS Badge”</b>, where you can find a selection of badges entirely design as
272
+ CSS and that you can customise in text and color. They are perfect to give a <b>special touch to your
273
+ products</b> and to create ad hoc badges for your store.
274
+ </p>
275
+ </div>
276
+ <div class="col-1">
277
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/04.png" alt="css badge" />
278
+ </div>
279
+ </div>
280
+ </div>
281
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/05-bg.png) no-repeat #fff; background-position: 85% 100%">
282
+ <div class="landing-container">
283
+ <div class="col-1">
284
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/05.png" alt="Style options" />
285
+ </div>
286
+ <div class="col-2">
287
+ <div class="section-title">
288
+ <img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/05-icon.png" alt="icon 05" />
289
+ <h2>Additional style options</h2>
290
+ </div>
291
+ <p>
292
+ Attention to detail is important and if you want to create the perfect badge for you, you can
293
+ exploit additional style options in the option panel, where <b>you can set font size, values for
294
+ padding and border radius and opacity of your badge</b>.
295
+ </p>
296
+ </div>
297
+ </div>
298
+ </div>
299
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/07-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
300
+ <div class="landing-container">
301
+ <div class="col-2">
302
+ <div class="section-title">
303
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/07-icon.png" alt="icon 07" />
304
+ <h2>Even more badges</h2>
305
+ </div>
306
+ <p>
307
+ A collection of <b>ready badges</b>, which enlarges more and more and which is entirely at your disposal. A series of badges carefully designed and using the best colours for an e-commerce store.
308
+ But, do not stop here! If you have a badge that meets your needs better, upload it through the dedicated button and apply it to the product it has been conceived for.
309
+ </p>
310
+ </div>
311
+ <div class="col-1">
312
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/07.png" alt="Image badges" />
313
+ </div>
314
+ </div>
315
+ </div>
316
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/06-bg.png) no-repeat #fff; background-position: 85% 100%">
317
+ <div class="landing-container">
318
+ <div class="col-1">
319
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/06.png" alt="positioning system" />
320
+ </div>
321
+ <div class="col-2">
322
+ <div class="section-title">
323
+ <img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/06-icon.png" alt="icon 06" />
324
+ <h2>Positioning system</h2>
325
+ </div>
326
+ <p>
327
+ Move your badge with "Drag & Drop" method and see where it appears, by using it in the preview box.
328
+ Set the <b>anchor point</b> for your badge, in the context of the product image, and specify position
329
+ values for the four borders of the box (top, right, bottom, left).
330
+ </p>
331
+ </div>
332
+ </div>
333
+ </div>
334
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/08-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
335
+ <div class="landing-container">
336
+ <div class="col-2">
337
+ <div class="section-title">
338
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/08-icon.png" alt="icon 08" />
339
+ <h2>Hide the badge on the single product</h2>
340
+ </div>
341
+ <p>
342
+ A specific option that allows you to <b>hide the badge in product detail page</b>, while its behaviour will not be changed in other pages in the shop.
343
+ </p>
344
+ </div>
345
+ <div class="col-1">
346
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/08.png" alt="hide badge" />
347
+ </div>
348
+ </div>
349
+ </div>
350
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/09-bg.png) no-repeat #fff; background-position: 85% 100%">
351
+ <div class="landing-container">
352
+ <div class="col-1">
353
+ <img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/09.png" alt="schedule badge" />
354
+ </div>
355
+ <div class="col-2">
356
+ <div class="section-title">
357
+ <img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/09-icon.png" alt="icon 09" />
358
+ <h2>Schedule your badge</h2>
359
+ </div>
360
+ <p>
361
+ Show your badges automatically setting the <b>starting date</b> and the <b>ending date</b> in which you want to display them in the featured images of your products. In this way, you won't have to edit always your product settings.
362
+ </p>
363
+ </div>
364
+ </div>
365
+ </div>
366
+ <div class="section section-cta section-odd">
367
+ <div class="landing-container">
368
+ <div class="premium-cta">
369
+ <p>
370
+ Upgrade to the <span class="highlight">premium version</span>
371
+ of <span class="highlight">YITH WooCommerce Badge Management</span> to benefit from all features!
372
+ </p>
373
+ <a href="<?php echo $this->get_premium_landing_uri(); ?>" target="_blank" class="premium-cta-button button btn">
374
+ <span class="highlight">UPGRADE</span>
375
+ <span>to the premium version</span>
376
+ </a>
377
+ </div>
378
+ </div>
379
+ </div>
380
  </div>
modules/yith-woocommerce-cart-messages/yith-cart-messages.php CHANGED
@@ -23,7 +23,6 @@ if ( ! defined( 'YITH_YWCM_DIR' ) ) {
23
  define( 'YITH_YWCM_DIR', plugin_dir_path( __FILE__ ) );
24
  }
25
 
26
-
27
  if ( defined( 'YITH_YWCM_PREMIUM' ) ) {
28
  function yith_ywcm_install_free_admin_notice() {
29
  ?>
23
  define( 'YITH_YWCM_DIR', plugin_dir_path( __FILE__ ) );
24
  }
25
 
 
26
  if ( defined( 'YITH_YWCM_PREMIUM' ) ) {
27
  function yith_ywcm_install_free_admin_notice() {
28
  ?>
modules/yith-woocommerce-catalog-mode/class.yith-woocommerce-catalog-mode.php CHANGED
@@ -115,16 +115,15 @@ class YITH_WC_Catalog_Mode {
115
  return;
116
  }
117
 
118
- $admin_tabs = array(
119
- 'settings' => __( 'Settings', 'yith-woocommerce-catalog-mode' ),
120
- );
121
 
122
  if ( defined( 'YWCTM_PREMIUM' ) ) {
123
- $admin_tabs['premium'] = __( 'Premium Settings', 'yith-woocommerce-catalog-mode' );
124
- $admin_tabs['exclusions'] = __( 'Exclusion List', 'yith-woocommerce-catalog-mode' );
125
- $admin_tabs['custom-url'] = __( 'Custom Button Url List', 'yith-woocommerce-catalog-mode' );
126
  }
127
  else {
 
128
  $admin_tabs['premium-landing'] = __( 'Premium Version', 'yith-woocommerce-catalog-mode' );
129
  }
130
 
@@ -213,7 +212,7 @@ class YITH_WC_Catalog_Mode {
213
  ob_start();
214
  ?>
215
  <style>
216
- form.cart button.single_add_to_cart_button <?php if ($hide_variations=='yes'): ?>,
217
  .single_variation_wrap .variations_button <?php endif; ?> {
218
  display: none !important;
219
  }
@@ -648,9 +647,9 @@ class YITH_WC_Catalog_Mode {
648
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
649
  */
650
  public function plugin_fw_loader() {
651
- if ( !defined( 'YIT_CORE_PLUGIN' ) ) {
652
  global $plugin_fw_data;
653
- if ( !empty( $plugin_fw_data ) ) {
654
  $plugin_fw_file = array_shift( $plugin_fw_data );
655
  require_once( $plugin_fw_file );
656
  }
115
  return;
116
  }
117
 
118
+ $admin_tabs = array();
 
 
119
 
120
  if ( defined( 'YWCTM_PREMIUM' ) ) {
121
+ $admin_tabs['premium-settings'] = __( 'Settings', 'yith-woocommerce-catalog-mode' );
122
+ $admin_tabs['exclusions'] = __( 'Exclusion List', 'yith-woocommerce-catalog-mode' );
123
+ $admin_tabs['custom-url'] = __( 'Custom Button Url List', 'yith-woocommerce-catalog-mode' );
124
  }
125
  else {
126
+ $admin_tabs['settings'] = __( 'Settings', 'yith-woocommerce-catalog-mode' );
127
  $admin_tabs['premium-landing'] = __( 'Premium Version', 'yith-woocommerce-catalog-mode' );
128
  }
129
 
212
  ob_start();
213
  ?>
214
  <style>
215
+ form.cart button.single_add_to_cart_button <?php if ( $hide_variations == 'yes' ): ?>,
216
  .single_variation_wrap .variations_button <?php endif; ?> {
217
  display: none !important;
218
  }
647
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
648
  */
649
  public function plugin_fw_loader() {
650
+ if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
651
  global $plugin_fw_data;
652
+ if( ! empty( $plugin_fw_data ) ){
653
  $plugin_fw_file = array_shift( $plugin_fw_data );
654
  require_once( $plugin_fw_file );
655
  }
modules/yith-woocommerce-catalog-mode/init.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/
5
  Description: YITH Woocommerce Catalog Mode allows you to disable shop functions.
6
  Author: Yithemes
7
  Text Domain: yith-woocommerce-catalog-mode
8
- Version: 1.1.5
9
  Author URI: http://yithemes.com/
10
  */
11
 
@@ -34,7 +34,7 @@ function ywctm_install_free_admin_notice() {
34
  }
35
 
36
  if ( !defined( 'YWCTM_VERSION' ) ) {
37
- define( 'YWCTM_VERSION', '1.1.5' );
38
  }
39
 
40
  if ( !defined( 'YWCTM_FREE_INIT' ) ) {
5
  Description: YITH Woocommerce Catalog Mode allows you to disable shop functions.
6
  Author: Yithemes
7
  Text Domain: yith-woocommerce-catalog-mode
8
+ Version: 1.2.0
9
  Author URI: http://yithemes.com/
10
  */
11
 
34
  }
35
 
36
  if ( !defined( 'YWCTM_VERSION' ) ) {
37
+ define( 'YWCTM_VERSION', '1.2.0' );
38
  }
39
 
40
  if ( !defined( 'YWCTM_FREE_INIT' ) ) {
modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.mo ADDED
Binary file
modules/yith-woocommerce-catalog-mode/languages/yith-woocommerce-catalog-mode-nl_NL.po ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Catalog Mode\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-10-02 09:48+0100\n"
6
+ "PO-Revision-Date: Sun Oct 18 2015 12:56:28 GMT+0200 (West-Europa "
7
+ "(zomertijd))\n"
8
+ "Last-Translator: admin <admin@localhost.local>\n"
9
+ "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
10
+ "Language: Dutch\n"
11
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Loco - https://localise.biz/\n"
17
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Poedit-Basepath: .\n"
23
+ "X-Poedit-SearchPath-0: ..\n"
24
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
25
+ "X-Loco-Target-Locale: nl_NL"
26
+
27
+ #: ../class.yith-woocommerce-catalog-mode.php:602
28
+ #: ../class.yith-woocommerce-catalog-mode.php:671
29
+ msgid "Settings"
30
+ msgstr "Instellingen"
31
+
32
+ #: ../class.yith-woocommerce-catalog-mode.php:606
33
+ msgid "Premium Settings"
34
+ msgstr "Geavanceerde Instellingen"
35
+
36
+ #: ../class.yith-woocommerce-catalog-mode.php:607
37
+ msgid "Exclusion List"
38
+ msgstr "UItsluitingslijst"
39
+
40
+ #: ../class.yith-woocommerce-catalog-mode.php:610
41
+ #: ../class.yith-woocommerce-catalog-mode.php:674
42
+ msgid "Premium Version"
43
+ msgstr "Premium Versie"
44
+
45
+ #: ../class.yith-woocommerce-catalog-mode.php:616
46
+ #: ../class.yith-woocommerce-catalog-mode.php:617
47
+ msgid "Catalog Mode"
48
+ msgstr "Cataloog mode"
49
+
50
+ #: ../class.yith-woocommerce-catalog-mode.php:700
51
+ msgid "Plugin Documentation"
52
+ msgstr "Plugin Documentatie"
53
+
54
+ #: ../init.php:23
55
+ msgid ""
56
+ "YITH WooCommerce Catalog Mode is enabled but not effective. It requires "
57
+ "WooCommerce in order to work."
58
+ msgstr ""
59
+ "YITH WooCommerce Catalog Mode is ingeschakeld maar niet werkzaam. "
60
+ "WooCommerce is nodig om te werken."
61
+
62
+ #: ../init.php:31
63
+ msgid ""
64
+ "You can't activate the free version of YITH WooCommerce Catalog Mode while "
65
+ "you are using the premium one."
66
+ msgstr ""
67
+ "U kunt het gratis versie vanYITH WooCommerce Catalog Mode niet activeren als "
68
+ "u het premium versie gebruikt."
69
+
70
+ #: ../plugin-options/settings-options.php:18
71
+ msgid "Upgrade to the PREMIUM VERSION"
72
+ msgstr "Upgrade naar het PREMIUM VERSIE"
73
+
74
+ #: ../plugin-options/settings-options.php:21
75
+ #: ../plugin-options/settings-options.php:27
76
+ msgid "YITH WooCommerce Catalog Mode"
77
+ msgstr "YITH WooCommerce Catalog Mode"
78
+
79
+ #: ../plugin-options/settings-options.php:22
80
+ msgid "Discover the Advanced Features"
81
+ msgstr "Ontdek de Speciale Eigenschappen"
82
+
83
+ #: ../plugin-options/settings-options.php:23
84
+ msgid ""
85
+ "Upgrade to the PREMIUM VERSION of YITH WooCommerce Catalog Mode to benefit "
86
+ "from all features!"
87
+ msgstr ""
88
+ "Upgrade naar het PREMIUM VERSIE van YITH WooCommerce Catalog Mode om van "
89
+ "alle functies te profiteren."
90
+
91
+ #: ../plugin-options/settings-options.php:29
92
+ msgid "Get Support and Pro Features"
93
+ msgstr "Krijg Support en Pro functies"
94
+
95
+ #: ../plugin-options/settings-options.php:30
96
+ msgid ""
97
+ "By purchasing the premium version of the plugin, you will take advantage of "
98
+ "the advanced features of the product and you will get one year of free "
99
+ "updates and support through our platform available 24h/24."
100
+ msgstr ""
101
+ "Door de aankoop van de premium-versie van de plugin, zult u profiteren van "
102
+ "de geavanceerde functies van het product en u zult een jaar gratis updates "
103
+ "ontvangen en de ondersteuning door middel van ons beschikbaar platform 24u / "
104
+ "24."
105
+
106
+ #: ../plugin-options/settings-options.php:40
107
+ #: ../plugin-options/settings-options.php:49
108
+ #: ../plugin-options/settings-options.php:99
109
+ #: ../plugin-options/settings-options.php:107
110
+ msgid "\"Add to cart\" button"
111
+ msgstr "\"Toevoegen aan winkelwagen\" button"
112
+
113
+ #: ../plugin-options/settings-options.php:42
114
+ msgid "Exclude selected products (See \"Exclusions\" tab)"
115
+ msgstr "Uitsluiten geselecteerde producten ( zie \"Uitsluitings\" tab)"
116
+
117
+ #: ../plugin-options/settings-options.php:51
118
+ msgid "Reverse Exclusion List (Restrict Catalog Mode to selected items only)"
119
+ msgstr ""
120
+ "Omgekeerde Uitsluitingslijst ( Alleen Restrict Catalog Mode geselecteerde "
121
+ "items)"
122
+
123
+ #: ../plugin-options/settings-options.php:58
124
+ msgid "Variable products"
125
+ msgstr "Variabele producten"
126
+
127
+ #: ../plugin-options/settings-options.php:60
128
+ msgid "Hide product variations"
129
+ msgstr "Verberg product variaties"
130
+
131
+ #: ../plugin-options/settings-options.php:71
132
+ msgid "General Settings"
133
+ msgstr "Algemene instellingen"
134
+
135
+ #: ../plugin-options/settings-options.php:76
136
+ msgid "Enable YITH Woocommerce Catalog Mode"
137
+ msgstr "YITH Woocommerce Catalog Mode inschakelen"
138
+
139
+ #: ../plugin-options/settings-options.php:83
140
+ msgid "Admin View"
141
+ msgstr "Admin weergave"
142
+
143
+ #: ../plugin-options/settings-options.php:85
144
+ msgid "Enable Catalog Mode also for administrators"
145
+ msgstr "Catalog Mode ook voor beheerders inschakelen"
146
+
147
+ #: ../plugin-options/settings-options.php:94
148
+ msgid "Catalog Mode Settings"
149
+ msgstr "Catalog Mode instellingen"
150
+
151
+ #: ../plugin-options/settings-options.php:101
152
+ msgid "Hide in product details page"
153
+ msgstr "Verberg in productdetail pagina"
154
+
155
+ #: ../plugin-options/settings-options.php:109
156
+ msgid "Hide in other pages"
157
+ msgstr "Verberg in andere pagina's"
158
+
159
+ #: ../plugin-options/settings-options.php:118
160
+ msgid "\"Cart\" and \"Checkout\" pages"
161
+ msgstr "\"Winkelwagen\" en \"afrekenen\" pagina's"
162
+
163
+ #: ../plugin-options/settings-options.php:120
164
+ msgid "Hide and disable all shop features"
165
+ msgstr "Verberg en schakel alle winkel functies uit"
166
+
167
+ #: ../templates/admin/premium.php:226 ../templates/admin/premium.php:352
168
+ #, php-format
169
+ msgid ""
170
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Catalog Mode%2$s "
171
+ "to benefit from all features!"
172
+ msgstr ""
173
+ "Upgrade naar %1$spremium version%2$s of %1$sYITH WooCommerce Catalog "
174
+ "Mode%2$s om te profiteren van alle functies!"
175
+
176
+ #: ../templates/admin/premium.php:229 ../templates/admin/premium.php:355
177
+ msgid "UPGRADE"
178
+ msgstr "UPGRADE"
179
+
180
+ #: ../templates/admin/premium.php:230 ../templates/admin/premium.php:356
181
+ msgid "to the premium version"
182
+ msgstr "naar het premium versie"
183
+
184
+ #: ../templates/admin/premium.php:236
185
+ msgid "Premium Features"
186
+ msgstr "Premium Functies"
187
+
188
+ #: ../templates/admin/premium.php:244
189
+ msgid "Hide price"
190
+ msgstr "Verberg prijs"
191
+
192
+ #: ../templates/admin/premium.php:247
193
+ #, php-format
194
+ msgid ""
195
+ "Hide the price of products in your shop and replace it with a text. Decide "
196
+ "if some of the products have to be excluded and if %1$shiding price%2$s has "
197
+ "to be applied to all or restricted only to unlogged users."
198
+ msgstr ""
199
+ "Verberg de prijs van de producten in uw winkel en vervang deze door een "
200
+ "tekst. Beslis of sommige van de producten worden uitgesloten en indien "
201
+ "%1$shiding price%2$s moet worden toegepast op alle of beperkt tot niet "
202
+ "ingelogde gebruikers."
203
+
204
+ #: ../templates/admin/premium.php:257
205
+ msgid "Inquiry form"
206
+ msgstr "Aanvraagformulier"
207
+
208
+ #: ../templates/admin/premium.php:260
209
+ #, php-format
210
+ msgid ""
211
+ "Improve single product page by adding a tab with an %1$sinquiry form%2$s "
212
+ "explicitly thought to let them send messages to site administrator."
213
+ msgstr ""
214
+ "Verbeter de enkel product pagina door het toevoegen van een tab met "
215
+ "%1$sinquiry form%2$s expliciet bedacht om hun berichten te laten sturen naar "
216
+ "de websitebeheerder."
217
+
218
+ #: ../templates/admin/premium.php:276
219
+ msgid "Custom button"
220
+ msgstr "Aangepaste button"
221
+
222
+ #: ../templates/admin/premium.php:279
223
+ #, php-format
224
+ msgid ""
225
+ "Add a button in single product page to call users to a specific "
226
+ "%1$saction%2$s, depending on the specified %1$slink%2$s (email sending, "
227
+ "skype call, telephone call)."
228
+ msgstr ""
229
+ "Voeg een button toe in de enkel product pagina om gebruikers te laten bellen "
230
+ "voor een specifieke %1$saction%2$s, afhankelijk van de opgegeven "
231
+ "%1$slink%2$s (email sending, skype call, telephone call)."
232
+
233
+ #: ../templates/admin/premium.php:289
234
+ msgid "Product reviews"
235
+ msgstr "Product beoordeling"
236
+
237
+ #: ../templates/admin/premium.php:292
238
+ #, php-format
239
+ msgid ""
240
+ "You can disable product %1$sreviewing system%2$s of your shop and decide if "
241
+ "applying it to all users or just to unlogged ones."
242
+ msgstr ""
243
+ "U kunt uw product %1$sreviewing system%2$s uitschakelen in uw winkel en "
244
+ "beslissen of dit voor alle gebruikers is of alleen voor niet ingelogde "
245
+ "gebruikers."
246
+
247
+ #: ../templates/admin/premium.php:308
248
+ msgid "Exclusion list"
249
+ msgstr "Uitgesloten lijst"
250
+
251
+ #: ../templates/admin/premium.php:311
252
+ #, php-format
253
+ msgid ""
254
+ "Set plugin options, but if you want that options concerning price visibility "
255
+ "and ‘Add to cart’ do not apply to specific products, add them to "
256
+ "%1$sexclusion list%2$s and, voilà, problem solved."
257
+ msgstr ""
258
+ "Stel plugin opties in, maar als je wilt dat de opties met betrekking tot "
259
+ "prijs zichtbaarheid en 'Bestellen' niet van toepassing zijn op specifieke "
260
+ "producten, voeg ze toe aan %1$sexclusion list%2$s en, voilà probleem "
261
+ "opgelost."
262
+
263
+ #: ../templates/admin/premium.php:321
264
+ msgid "REVERSE EXCLUSION LIST"
265
+ msgstr "OMGEKEERDE UITSLUITINGSLIJST"
266
+
267
+ #: ../templates/admin/premium.php:324
268
+ #, php-format
269
+ msgid ""
270
+ "Apply Catalog Mode to some items only: add them to the \"Exclusion List\" and "
271
+ "%1$smake it work in the opposite way as usual%2$s. All items in the shop "
272
+ "show price and “Add to Cart” button, while items in the list don’t."
273
+ msgstr ""
274
+ "Catalog Mode toepassing voor slechts enkele items: voeg ze toe aan de "
275
+ "\"Uitsluitingslijst\" en %1$smake it work in the opposite way as usual%2$s. "
276
+ "Van alle items in de winkel de prijs tonen en de \"Toevoegen aan winkelwagen\" "
277
+ "button, terwijl items niet in de lijst staan."
278
+
279
+ #: ../templates/admin/premium.php:340
280
+ msgid "Source page of the request"
281
+ msgstr "Bronpagina van de aanvraag"
282
+
283
+ #: ../templates/admin/premium.php:343
284
+ #, php-format
285
+ msgid ""
286
+ "Thanks to the %1$s\"Product Permalink\"%2$s option you will be able to know "
287
+ "from which page your users have generated the request.%3$sThe email "
288
+ "generated from the request form will include the address of the page: "
289
+ "another important information that can be really useful for you."
290
+ msgstr ""
291
+ "Met dank aan de %1$s\"Product Permalink\"%2$s optie is het mogelijk om te "
292
+ "weten welke pagina je gebruiker heeft gemaakt de aanvraag %3$s De e-mail "
293
+ "gegenereerd op basis van het aanvraagformulier zal het adres van de pagina: "
294
+ "en andere belangrijke informatie die kan nuttig zijn voor jou."
modules/yith-woocommerce-catalog-mode/plugin-options/settings-options.php CHANGED
@@ -14,114 +14,89 @@ if ( !defined( 'ABSPATH' ) ) {
14
 
15
  global $YITH_WC_Catalog_Mode;
16
 
17
- $videobox = defined( 'YWCTM_PREMIUM' ) ? '' : array(
18
- 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-catalog-mode' ),
19
- 'type' => 'videobox',
20
- 'default' => array(
21
- 'plugin_name' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
22
- 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-catalog-mode' ),
23
- 'description_first_column' => __( 'Upgrade to the PREMIUM VERSION of YITH WooCommerce Catalog Mode to benefit from all features!', 'yith-woocommerce-catalog-mode' ),
24
- 'video' => array(
25
- 'video_id' => '120697979',
26
- 'video_image_url' => YWCTM_ASSETS_URL . '/images/yith-woocommerce-catalog-mode.jpg',
27
- 'video_description' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
28
- ),
29
- 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-catalog-mode' ),
30
- 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-catalog-mode' ),
31
- 'button' => array(
32
- 'href' => $YITH_WC_Catalog_Mode->get_premium_landing_uri(),
33
- 'title' => 'Get Support and Pro Features'
34
- )
35
- ),
36
- 'id' => 'ywctm_general_videobox'
37
- );
38
-
39
- $exclusion = !defined( 'YWCTM_PREMIUM' ) ? '' : array(
40
- 'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
41
- 'type' => 'checkbox',
42
- 'desc' => __( 'Exclude selected products (See "Exclusions" tab)', 'yith-woocommerce-catalog-mode' ),
43
- 'id' => 'ywctm_exclude_hide_add_to_cart',
44
- 'default' => 'no',
45
- 'checkboxgroup' => ''
46
- );
47
-
48
- $reverse_exclusion = !defined( 'YWCTM_PREMIUM' ) ? '' : array(
49
- 'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
50
- 'type' => 'checkbox',
51
- 'desc' => __( 'Reverse Exclusion List (Restrict Catalog Mode to selected items only)', 'yith-woocommerce-catalog-mode' ),
52
- 'id' => 'ywctm_exclude_hide_add_to_cart_reverse',
53
- 'default' => 'no',
54
- 'checkboxgroup' => ''
55
- );
56
-
57
- $product_variations = !defined( 'YWCTM_PREMIUM' ) ? '' : array(
58
- 'name' => __( 'Variable products', 'yith-woocommerce-catalog-mode' ),
59
- 'type' => 'checkbox',
60
- 'desc' => __( 'Hide product variations', 'yith-woocommerce-catalog-mode' ),
61
- 'id' => 'ywctm_hide_variations',
62
- 'default' => 'no',
63
- 'checkboxgroup' => 'end'
64
- );
65
-
66
  return array(
67
  'settings' => array(
68
- 'section_general_settings_videobox' => $videobox,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
- 'catalog_mode_general_title' => array(
71
  'name' => __( 'General Settings', 'yith-woocommerce-catalog-mode' ),
72
  'type' => 'title',
73
- 'desc' => '',
74
  ),
75
- 'catalog_mode_general_enable_plugin' => array(
76
- 'name' => __( 'Enable YITH Woocommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
77
  'type' => 'checkbox',
78
  'desc' => '',
79
  'id' => 'ywctm_enable_plugin',
80
  'default' => 'yes',
81
  ),
82
- 'catalog_mode_general_admin_view' => array(
83
- 'name' => __( 'Admin View', 'yith-woocommerce-catalog-mode' ),
84
- 'type' => 'checkbox',
85
- 'desc' => __( 'Enable Catalog Mode also for administrators', 'yith-woocommerce-catalog-mode' ),
86
- 'id' => 'ywctm_admin_view',
87
- 'default' => 'yes',
88
- ),
89
- 'catalog_mode_general_end' => array(
90
  'type' => 'sectionend',
91
  ),
92
 
93
- 'catalog_mode_section_title' => array(
94
  'name' => __( 'Catalog Mode Settings', 'yith-woocommerce-catalog-mode' ),
95
  'type' => 'title',
96
- 'desc' => '',
97
  ),
98
- 'catalog_mode_settings_disable_add_to_cart_single' => array(
99
  'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
100
  'type' => 'checkbox',
101
- 'desc' => __( 'Hide in product details page', 'yith-woocommerce-catalog-mode' ),
102
  'id' => 'ywctm_hide_add_to_cart_single',
103
  'default' => 'no',
104
  'checkboxgroup' => 'start'
105
  ),
106
- 'catalog_mode_settings_disable_add_to_cart_loop' => array(
107
- 'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
108
  'type' => 'checkbox',
109
- 'desc' => __( 'Hide in other pages', 'yith-woocommerce-catalog-mode' ),
110
  'id' => 'ywctm_hide_add_to_cart_loop',
111
  'default' => 'no',
112
- 'checkboxgroup' => !defined( 'YWCTM_PREMIUM' ) ? 'end' : ''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  ),
114
- 'catalog_mode_settings_exclude_products' => $exclusion,
115
- 'catalog_mode_settings_exclude_products_reverse' => $reverse_exclusion,
116
- 'catalog_mode_settings_variable_products' => $product_variations,
117
- 'catalog_mode_settings_disable_cart_in_header' => array(
118
- 'name' => __( '"Cart" and "Checkout" pages', 'yith-woocommerce-catalog-mode' ),
119
  'type' => 'checkbox',
120
- 'desc' => __( 'Hide and disable all shop features', 'yith-woocommerce-catalog-mode' ),
121
  'id' => 'ywctm_hide_cart_header',
122
  'default' => 'no',
123
  ),
124
- 'catalog_mode_section_end' => array(
125
  'type' => 'sectionend',
126
  )
127
  )
14
 
15
  global $YITH_WC_Catalog_Mode;
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  return array(
18
  'settings' => array(
19
+ 'ywctm_videobox' => array(
20
+ 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-catalog-mode' ),
21
+ 'type' => 'videobox',
22
+ 'default' => array(
23
+ 'plugin_name' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
24
+ 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-catalog-mode' ),
25
+ 'description_first_column' => __( 'Upgrade to the PREMIUM VERSION of YITH WooCommerce Catalog Mode to benefit from all features!', 'yith-woocommerce-catalog-mode' ),
26
+ 'video' => array(
27
+ 'video_id' => '120697979',
28
+ 'video_image_url' => YWCTM_ASSETS_URL . 'images/yith-woocommerce-catalog-mode.jpg',
29
+ 'video_description' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
30
+ ),
31
+ 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-catalog-mode' ),
32
+ 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-catalog-mode' ),
33
+ 'button' => array(
34
+ 'href' => $YITH_WC_Catalog_Mode->get_premium_landing_uri(),
35
+ 'title' => 'Get Support and Pro Features'
36
+ )
37
+ ),
38
+ 'id' => 'ywctm_general_videobox'
39
+ ),
40
 
41
+ 'ywctm_general_title' => array(
42
  'name' => __( 'General Settings', 'yith-woocommerce-catalog-mode' ),
43
  'type' => 'title',
 
44
  ),
45
+ 'ywctm_enable_plugin' => array(
46
+ 'name' => __( 'Enable YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
47
  'type' => 'checkbox',
48
  'desc' => '',
49
  'id' => 'ywctm_enable_plugin',
50
  'default' => 'yes',
51
  ),
52
+ 'ywctm_general_end' => array(
 
 
 
 
 
 
 
53
  'type' => 'sectionend',
54
  ),
55
 
56
+ 'ywctm_catalog_mode_title' => array(
57
  'name' => __( 'Catalog Mode Settings', 'yith-woocommerce-catalog-mode' ),
58
  'type' => 'title',
 
59
  ),
60
+ 'ywctm_catalog_mode_disable_add_to_cart_single' => array(
61
  'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
62
  'type' => 'checkbox',
63
+ 'desc' => __( 'Hide in product detail page', 'yith-woocommerce-catalog-mode' ),
64
  'id' => 'ywctm_hide_add_to_cart_single',
65
  'default' => 'no',
66
  'checkboxgroup' => 'start'
67
  ),
68
+ 'ywctm_catalog_mode_disable_add_to_cart_loop' => array(
 
69
  'type' => 'checkbox',
70
+ 'desc' => __( 'Hide in other shop pages', 'yith-woocommerce-catalog-mode' ),
71
  'id' => 'ywctm_hide_add_to_cart_loop',
72
  'default' => 'no',
73
+ 'checkboxgroup' => ''
74
+
75
+ ),
76
+ 'ywctm_catalog_mode_admin_view' => array(
77
+ 'name' => __( 'Admin View', 'yith-woocommerce-catalog-mode' ),
78
+ 'type' => 'checkbox',
79
+ 'desc' => __( 'Enable Catalog Mode also for administrators', 'yith-woocommerce-catalog-mode' ),
80
+ 'id' => 'ywctm_admin_view',
81
+ 'default' => 'yes',
82
+ ),
83
+ 'ywctm_catalog_mode_section_end' => array(
84
+ 'type' => 'sectionend',
85
+ ),
86
+
87
+ 'ywctm_other_section_title' => array(
88
+ 'name' => __( 'Other Settings', 'yith-woocommerce-catalog-mode' ),
89
+ 'type' => 'title',
90
+ 'desc' => '',
91
  ),
92
+ 'ywctm_other_disable_cart_in_header' => array(
93
+ 'name' => __( 'Disable shop', 'yith-woocommerce-catalog-mode' ),
 
 
 
94
  'type' => 'checkbox',
95
+ 'desc' => __( 'Hide and disable "Cart" page, "Checkout" page and all "Add to Cart" buttons', 'yith-woocommerce-catalog-mode' ),
96
  'id' => 'ywctm_hide_cart_header',
97
  'default' => 'no',
98
  ),
99
+ 'ywctm_other_section_end' => array(
100
  'type' => 'sectionend',
101
  )
102
  )
modules/yith-woocommerce-eu-vat/init.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-eu-vat/
5
  * Description: YITH WooCommerce EU VAT allows you to be fully compliance with EU VAT laws, storing chceckout data and
6
  * filling the EU VAT MOSS report for digital goods.
7
- * Version: 1.2.3
8
  * Author: Yithemes
9
  * Author URI: http://yithemes.com/
10
  * Text Domain: ywev
@@ -12,7 +12,7 @@
12
  *
13
  * @author Your Inspiration Themes
14
  * @package YITH WooCommerce EU VAT
15
- * @version 1.2.3
16
  */
17
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
18
 
@@ -68,7 +68,7 @@ if ( ! defined ( 'YITH_YWEV_FREE_INIT' ) ) {
68
  }
69
 
70
  if ( ! defined ( 'YITH_YWEV_VERSION' ) ) {
71
- define ( 'YITH_YWEV_VERSION', '1.2.3' );
72
  }
73
 
74
  if ( ! defined ( 'YITH_YWEV_FILE' ) ) {
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-eu-vat/
5
  * Description: YITH WooCommerce EU VAT allows you to be fully compliance with EU VAT laws, storing chceckout data and
6
  * filling the EU VAT MOSS report for digital goods.
7
+ * Version: 1.2.4
8
  * Author: Yithemes
9
  * Author URI: http://yithemes.com/
10
  * Text Domain: ywev
12
  *
13
  * @author Your Inspiration Themes
14
  * @package YITH WooCommerce EU VAT
15
+ * @version 1.2.4
16
  */
17
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
18
 
68
  }
69
 
70
  if ( ! defined ( 'YITH_YWEV_VERSION' ) ) {
71
+ define ( 'YITH_YWEV_VERSION', '1.2.4' );
72
  }
73
 
74
  if ( ! defined ( 'YITH_YWEV_FILE' ) ) {
modules/yith-woocommerce-eu-vat/lib/class.yith-ywev-plugin-fw-loader.php CHANGED
@@ -68,7 +68,7 @@ if ( ! class_exists( 'YITH_YWEV_Plugin_FW_Loader' ) ) {
68
  */
69
  add_action( 'admin_init', array( $this, 'register_pointer' ) );
70
 
71
- add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
72
 
73
  //Add action links
74
  add_filter( 'plugin_action_links_' . plugin_basename( YITH_YWEV_DIR . '/' . basename( YITH_YWEV_FILE ) ), array(
68
  */
69
  add_action( 'admin_init', array( $this, 'register_pointer' ) );
70
 
71
+ add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
72
 
73
  //Add action links
74
  add_filter( 'plugin_action_links_' . plugin_basename( YITH_YWEV_DIR . '/' . basename( YITH_YWEV_FILE ) ), array(
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors.php CHANGED
@@ -257,6 +257,7 @@ if ( ! class_exists( 'YITH_Vendors' ) ) {
257
  'show_admin_column' => true,
258
  'labels' => $this->get_vendors_taxonomy_label(),
259
  'rewrite' => array( 'slug' => 'vendor' ),
 
260
  );
261
 
262
  register_taxonomy( $this->_taxonomy_name, apply_filters( 'yith_wcmv_register_taxonomy_object_type', array( 'product' ) ), $args );
257
  'show_admin_column' => true,
258
  'labels' => $this->get_vendors_taxonomy_label(),
259
  'rewrite' => array( 'slug' => 'vendor' ),
260
+ "meta_box_cb" => array( YITH_Vendors()->admin, 'single_taxonomy_meta_box' )
261
  );
262
 
263
  register_taxonomy( $this->_taxonomy_name, apply_filters( 'yith_wcmv_register_taxonomy_object_type', array( 'product' ) ), $args );
modules/yith-woocommerce-product-vendors/includes/functions.yith-vendors.php CHANGED
@@ -83,4 +83,43 @@ if ( !function_exists( 'yith_has_membership_plugin' ) ) {
83
  function yith_has_membership_plugin() {
84
  return defined( 'YITH_WCMBS_PREMIUM' ) && YITH_WCMBS_PREMIUM;
85
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  }
83
  function yith_has_membership_plugin() {
84
  return defined( 'YITH_WCMBS_PREMIUM' ) && YITH_WCMBS_PREMIUM;
85
  }
86
+ }
87
+
88
+ if ( !function_exists( 'yith_has_size_charts_plugin' ) ) {
89
+ /**
90
+ * Check if user has YITH Product Size Charts for WooCommerce plugin
91
+ *
92
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
93
+ * @since 1.0
94
+ * @return bool
95
+ */
96
+ function yith_has_size_charts_plugin() {
97
+ return defined( 'YITH_WCPSC_PREMIUM' ) && YITH_WCPSC_PREMIUM && version_compare( YITH_WCPSC_VERSION, apply_filters( 'yith_wcmv_size_charts_min_version', '1.0.4' ), '>=' ) ;
98
+ }
99
+ }
100
+
101
+ if ( !function_exists( 'yith_has_name_your_price_plugin' ) ) {
102
+ /**
103
+ * Check if user has YITH Product Size Charts for WooCommerce plugin
104
+ *
105
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
106
+ * @since 1.0
107
+ * @return bool
108
+ */
109
+ function yith_has_name_your_price_plugin() {
110
+ return defined( 'YWCNP_PREMIUM' ) && YWCNP_PREMIUM && version_compare( YWCNP_VERSION, apply_filters( 'yith_wcmv_name_your_price_min_version', '1.0.0' ), '>=' ) ;
111
+ }
112
+ }
113
+
114
+ if ( !function_exists( 'yith_has_subscription_plugin' ) ) {
115
+ /**
116
+ * Check if user has YITH WooCommerce Subscription plugin
117
+ *
118
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
119
+ * @since 1.0
120
+ * @return bool
121
+ */
122
+ function yith_has_subscription_plugin() {
123
+ return defined( 'YITH_YWSBS_PREMIUM' ) && YITH_YWSBS_PREMIUM && version_compare( YITH_YWSBS_VERSION, apply_filters( 'yith_wcmv_subscription_min_version', '1.0.0' ), '>=' ) ;
124
+ }
125
  }
modules/yith-woocommerce-product-vendors/init.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-product-vendors/
5
  Description: YITH WooCommerce Multi Vendor is a plugin explicitly developed to switch your website into a platform hosting more than one shop.
6
  Author: yithemes
7
  Text Domain: yith_wc_product_vendors
8
- Version: 1.7.0
9
  Author URI: http://yithemes.com/
10
  */
11
 
@@ -46,7 +46,7 @@ if ( ! function_exists( 'WC' ) ) {
46
  if ( defined( 'YITH_WPV_VERSION' ) ) {
47
  return;
48
  } else {
49
- define( 'YITH_WPV_VERSION', '1.7.0' );
50
  }
51
 
52
  if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
5
  Description: YITH WooCommerce Multi Vendor is a plugin explicitly developed to switch your website into a platform hosting more than one shop.
6
  Author: yithemes
7
  Text Domain: yith_wc_product_vendors
8
+ Version: 1.7.1
9
  Author URI: http://yithemes.com/
10
  */
11
 
46
  if ( defined( 'YITH_WPV_VERSION' ) ) {
47
  return;
48
  } else {
49
+ define( 'YITH_WPV_VERSION', '1.7.1' );
50
  }
51
 
52
  if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
modules/yith-woocommerce-product-vendors/languages/yith_wc_product_vendors-it_IT.mo CHANGED
Binary file
modules/yith-woocommerce-product-vendors/languages/yith_wc_product_vendors-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
4
- "POT-Creation-Date: 2015-11-02 14:38+0100\n"
5
- "PO-Revision-Date: 2015-11-02 14:38+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: it_IT\n"
@@ -163,7 +163,7 @@ msgid "Return to main order"
163
  msgstr "Torna all'ordine principale"
164
 
165
  #: includes/class.yith-vendors-admin.php:164
166
- #: includes/class.yith-vendors.php:286
167
  msgid "Vendors"
168
  msgstr "Venditori"
169
 
@@ -225,60 +225,60 @@ msgstr "Documentazione plugin"
225
  msgid "Visit Store"
226
  msgstr "Visita lo store"
227
 
228
- #: includes/class.yith-vendors.php:284 includes/class.yith-vendors.php:285
229
  #: templates/admin/commission-view.php:193
230
  msgid "Vendor"
231
  msgstr "Venditore"
232
 
233
- #: includes/class.yith-vendors.php:287
234
  msgid "Search Vendors"
235
  msgstr "Cerca venditori"
236
 
237
- #: includes/class.yith-vendors.php:288
238
  msgid "All Vendors"
239
  msgstr "Tutti i venditori"
240
 
241
- #: includes/class.yith-vendors.php:289
242
  msgid "Parent Vendor"
243
  msgstr "Venditore padre"
244
 
245
- #: includes/class.yith-vendors.php:290
246
  msgid "Parent Vendor:"
247
  msgstr "Venditore padre:"
248
 
249
- #: includes/class.yith-vendors.php:291
250
  msgid "View Vendor"
251
  msgstr "Visualizza venditore"
252
 
253
- #: includes/class.yith-vendors.php:292
254
  msgid "Edit Vendor"
255
  msgstr "Modifica venditore"
256
 
257
- #: includes/class.yith-vendors.php:293
258
  msgid "Update Vendor"
259
  msgstr "Aggiorna venditore"
260
 
261
- #: includes/class.yith-vendors.php:294
262
  msgid "Add New Vendor"
263
  msgstr "Aggiungi nuovo venditore"
264
 
265
- #: includes/class.yith-vendors.php:295
266
  msgid "New Vendor's Name"
267
  msgstr "Nome nuovo venditore"
268
 
269
- #: includes/class.yith-vendors.php:297
270
  msgid "Separate vendors with commas"
271
  msgstr "Utilizza la virgola per separare i venditori"
272
 
273
- #: includes/class.yith-vendors.php:298
274
  msgid "Add or remove vendors"
275
  msgstr "Aggiungi o rimuovi venditori"
276
 
277
- #: includes/class.yith-vendors.php:299
278
  msgid "Choose from most used vendors"
279
  msgstr "Scegli tra gli shop venditori più utilizzati"
280
 
281
- #: includes/class.yith-vendors.php:300
282
  msgid "No vendors found"
283
  msgstr "Nessun venditore trovato"
284
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
4
+ "POT-Creation-Date: 2015-11-19 16:30+0100\n"
5
+ "PO-Revision-Date: 2015-11-19 16:30+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: it_IT\n"
163
  msgstr "Torna all'ordine principale"
164
 
165
  #: includes/class.yith-vendors-admin.php:164
166
+ #: includes/class.yith-vendors.php:287
167
  msgid "Vendors"
168
  msgstr "Venditori"
169
 
225
  msgid "Visit Store"
226
  msgstr "Visita lo store"
227
 
228
+ #: includes/class.yith-vendors.php:285 includes/class.yith-vendors.php:286
229
  #: templates/admin/commission-view.php:193
230
  msgid "Vendor"
231
  msgstr "Venditore"
232
 
233
+ #: includes/class.yith-vendors.php:288
234
  msgid "Search Vendors"
235
  msgstr "Cerca venditori"
236
 
237
+ #: includes/class.yith-vendors.php:289
238
  msgid "All Vendors"
239
  msgstr "Tutti i venditori"
240
 
241
+ #: includes/class.yith-vendors.php:290
242
  msgid "Parent Vendor"
243
  msgstr "Venditore padre"
244
 
245
+ #: includes/class.yith-vendors.php:291
246
  msgid "Parent Vendor:"
247
  msgstr "Venditore padre:"
248
 
249
+ #: includes/class.yith-vendors.php:292
250
  msgid "View Vendor"
251
  msgstr "Visualizza venditore"
252
 
253
+ #: includes/class.yith-vendors.php:293
254
  msgid "Edit Vendor"
255
  msgstr "Modifica venditore"
256
 
257
+ #: includes/class.yith-vendors.php:294
258
  msgid "Update Vendor"
259
  msgstr "Aggiorna venditore"
260
 
261
+ #: includes/class.yith-vendors.php:295
262
  msgid "Add New Vendor"
263
  msgstr "Aggiungi nuovo venditore"
264
 
265
+ #: includes/class.yith-vendors.php:296
266
  msgid "New Vendor's Name"
267
  msgstr "Nome nuovo venditore"
268
 
269
+ #: includes/class.yith-vendors.php:298
270
  msgid "Separate vendors with commas"
271
  msgstr "Utilizza la virgola per separare i venditori"
272
 
273
+ #: includes/class.yith-vendors.php:299
274
  msgid "Add or remove vendors"
275
  msgstr "Aggiungi o rimuovi venditori"
276
 
277
+ #: includes/class.yith-vendors.php:300
278
  msgid "Choose from most used vendors"
279
  msgstr "Scegli tra gli shop venditori più utilizzati"
280
 
281
+ #: includes/class.yith-vendors.php:301
282
  msgid "No vendors found"
283
  msgstr "Nessun venditore trovato"
284
 
modules/yith-woocommerce-product-vendors/languages/yith_wc_product_vendors.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
5
- "POT-Creation-Date: 2015-11-02 14:38+0100\n"
6
  "PO-Revision-Date: 2015-07-23 14:59+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
@@ -159,7 +159,7 @@ msgid "Return to main order"
159
  msgstr ""
160
 
161
  #: includes/class.yith-vendors-admin.php:164
162
- #: includes/class.yith-vendors.php:286
163
  msgid "Vendors"
164
  msgstr ""
165
 
@@ -219,60 +219,60 @@ msgstr ""
219
  msgid "Visit Store"
220
  msgstr ""
221
 
222
- #: includes/class.yith-vendors.php:284 includes/class.yith-vendors.php:285
223
  #: templates/admin/commission-view.php:193
224
  msgid "Vendor"
225
  msgstr ""
226
 
227
- #: includes/class.yith-vendors.php:287
228
  msgid "Search Vendors"
229
  msgstr ""
230
 
231
- #: includes/class.yith-vendors.php:288
232
  msgid "All Vendors"
233
  msgstr ""
234
 
235
- #: includes/class.yith-vendors.php:289
236
  msgid "Parent Vendor"
237
  msgstr ""
238
 
239
- #: includes/class.yith-vendors.php:290
240
  msgid "Parent Vendor:"
241
  msgstr ""
242
 
243
- #: includes/class.yith-vendors.php:291
244
  msgid "View Vendor"
245
  msgstr ""
246
 
247
- #: includes/class.yith-vendors.php:292
248
  msgid "Edit Vendor"
249
  msgstr ""
250
 
251
- #: includes/class.yith-vendors.php:293
252
  msgid "Update Vendor"
253
  msgstr ""
254
 
255
- #: includes/class.yith-vendors.php:294
256
  msgid "Add New Vendor"
257
  msgstr ""
258
 
259
- #: includes/class.yith-vendors.php:295
260
  msgid "New Vendor's Name"
261
  msgstr ""
262
 
263
- #: includes/class.yith-vendors.php:297
264
  msgid "Separate vendors with commas"
265
  msgstr ""
266
 
267
- #: includes/class.yith-vendors.php:298
268
  msgid "Add or remove vendors"
269
  msgstr ""
270
 
271
- #: includes/class.yith-vendors.php:299
272
  msgid "Choose from most used vendors"
273
  msgstr ""
274
 
275
- #: includes/class.yith-vendors.php:300
276
  msgid "No vendors found"
277
  msgstr ""
278
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
5
+ "POT-Creation-Date: 2015-11-19 16:30+0100\n"
6
  "PO-Revision-Date: 2015-07-23 14:59+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
159
  msgstr ""
160
 
161
  #: includes/class.yith-vendors-admin.php:164
162
+ #: includes/class.yith-vendors.php:287
163
  msgid "Vendors"
164
  msgstr ""
165
 
219
  msgid "Visit Store"
220
  msgstr ""
221
 
222
+ #: includes/class.yith-vendors.php:285 includes/class.yith-vendors.php:286
223
  #: templates/admin/commission-view.php:193
224
  msgid "Vendor"
225
  msgstr ""
226
 
227
+ #: includes/class.yith-vendors.php:288
228
  msgid "Search Vendors"
229
  msgstr ""
230
 
231
+ #: includes/class.yith-vendors.php:289
232
  msgid "All Vendors"
233
  msgstr ""
234
 
235
+ #: includes/class.yith-vendors.php:290
236
  msgid "Parent Vendor"
237
  msgstr ""
238
 
239
+ #: includes/class.yith-vendors.php:291
240
  msgid "Parent Vendor:"
241
  msgstr ""
242
 
243
+ #: includes/class.yith-vendors.php:292
244
  msgid "View Vendor"
245
  msgstr ""
246
 
247
+ #: includes/class.yith-vendors.php:293
248
  msgid "Edit Vendor"
249
  msgstr ""
250
 
251
+ #: includes/class.yith-vendors.php:294
252
  msgid "Update Vendor"
253
  msgstr ""
254
 
255
+ #: includes/class.yith-vendors.php:295
256
  msgid "Add New Vendor"
257
  msgstr ""
258
 
259
+ #: includes/class.yith-vendors.php:296
260
  msgid "New Vendor's Name"
261
  msgstr ""
262
 
263
+ #: includes/class.yith-vendors.php:298
264
  msgid "Separate vendors with commas"
265
  msgstr ""
266
 
267
+ #: includes/class.yith-vendors.php:299
268
  msgid "Add or remove vendors"
269
  msgstr ""
270
 
271
+ #: includes/class.yith-vendors.php:300
272
  msgid "Choose from most used vendors"
273
  msgstr ""
274
 
275
+ #: includes/class.yith-vendors.php:301
276
  msgid "No vendors found"
277
  msgstr ""
278
 
modules/yith-woocommerce-request-a-quote/includes/class.yith-request-quote-admin.php CHANGED
@@ -148,22 +148,22 @@ if ( !class_exists( 'YITH_YWRAQ_Admin' ) ) {
148
  }
149
 
150
  $admin_tabs = array(
151
- 'settings' => __( 'Settings', 'ywraq' )
152
  );
153
 
154
  if ( defined( 'YITH_YWRAQ_FREE_INIT' ) ) {
155
- $admin_tabs['premium'] = __( 'Premium Version', 'ywraq' );
156
  }
157
  else {
158
- $admin_tabs['layout'] = __( 'Layout', 'ywraq' );
159
- $admin_tabs['exclusions'] = __( 'Exclusion List', 'ywraq' );
160
  }
161
 
162
  $args = array(
163
  'create_menu_page' => true,
164
  'parent_slug' => '',
165
- 'page_title' => __( 'Request a Quote', 'ywraq' ),
166
- 'menu_title' => __( 'Request a Quote', 'ywraq' ),
167
  'capability' => 'manage_options',
168
  'parent' => '',
169
  'parent_page' => 'yit_plugin_panel',
@@ -255,9 +255,9 @@ if ( !class_exists( 'YITH_YWRAQ_Admin' ) ) {
255
 
256
  public function action_links( $links ) {
257
 
258
- $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'ywraq' ) . '</a>';
259
  if ( defined( 'YITH_YWRAQ_FREE_INIT' ) ) {
260
- $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'ywraq' ) . '</a>';
261
  }
262
 
263
  return $links;
@@ -283,7 +283,7 @@ if ( !class_exists( 'YITH_YWRAQ_Admin' ) ) {
283
  public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
284
 
285
  if ( defined( 'YITH_YWRAQ_INIT' ) && YITH_YWRAQ_INIT == $plugin_file ) {
286
- $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'ywraq' ) . '</a>';
287
  }
288
  return $plugin_meta;
289
  }
148
  }
149
 
150
  $admin_tabs = array(
151
+ 'settings' => __( 'Settings', 'yith-woocommerce-request-a-quote' )
152
  );
153
 
154
  if ( defined( 'YITH_YWRAQ_FREE_INIT' ) ) {
155
+ $admin_tabs['premium'] = __( 'Premium Version', 'yith-woocommerce-request-a-quote' );
156
  }
157
  else {
158
+ $admin_tabs['layout'] = __( 'Layout', 'yith-woocommerce-request-a-quote' );
159
+ $admin_tabs['exclusions'] = __( 'Exclusion List', 'yith-woocommerce-request-a-quote' );
160
  }
161
 
162
  $args = array(
163
  'create_menu_page' => true,
164
  'parent_slug' => '',
165
+ 'page_title' => __( 'Request a Quote', 'yith-woocommerce-request-a-quote' ),
166
+ 'menu_title' => __( 'Request a Quote', 'yith-woocommerce-request-a-quote' ),
167
  'capability' => 'manage_options',
168
  'parent' => '',
169
  'parent_page' => 'yit_plugin_panel',
255
 
256
  public function action_links( $links ) {
257
 
258
+ $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-request-a-quote' ) . '</a>';
259
  if ( defined( 'YITH_YWRAQ_FREE_INIT' ) ) {
260
+ $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-woocommerce-request-a-quote' ) . '</a>';
261
  }
262
 
263
  return $links;
283
  public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
284
 
285
  if ( defined( 'YITH_YWRAQ_INIT' ) && YITH_YWRAQ_INIT == $plugin_file ) {
286
+ $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-woocommerce-request-a-quote' ) . '</a>';
287
  }
288
  return $plugin_meta;
289
  }
modules/yith-woocommerce-request-a-quote/includes/class.yith-request-quote-frontend.php CHANGED
@@ -127,7 +127,7 @@ if ( !class_exists( 'YITH_YWRAQ_Frontend' ) ) {
127
 
128
  $localize_script_args = array(
129
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
130
- 'no_product_in_list' => __( 'Your list is empty', 'ywraq' )
131
  );
132
  wp_localize_script( 'yith_ywraq_frontend', 'ywraq_frontend', $localize_script_args );
133
 
@@ -176,7 +176,7 @@ if ( !class_exists( 'YITH_YWRAQ_Frontend' ) ) {
176
  'wpnonce' => wp_create_nonce( 'add-request-quote-' . $product->id ),
177
  'product_id' => $product->id,
178
  'label' => apply_filters( 'ywraq_product_add_to_quote' , get_option('ywraq_show_btn_link_text') ),
179
- 'label_browse' => apply_filters( 'ywraq_product_added_view_browse_list' , __( 'Browse the list', 'ywraq' ) ),
180
  'template_part' => 'button',
181
  'rqa_url' => YITH_Request_Quote()->get_raq_page_url(),
182
  'exists' => ( $product->product_type == 'variable' ) ? false : YITH_Request_Quote()->exists( $product->id )
127
 
128
  $localize_script_args = array(
129
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
130
+ 'no_product_in_list' => __( 'Your list is empty', 'yith-woocommerce-request-a-quote' )
131
  );
132
  wp_localize_script( 'yith_ywraq_frontend', 'ywraq_frontend', $localize_script_args );
133
 
176
  'wpnonce' => wp_create_nonce( 'add-request-quote-' . $product->id ),
177
  'product_id' => $product->id,
178
  'label' => apply_filters( 'ywraq_product_add_to_quote' , get_option('ywraq_show_btn_link_text') ),
179
+ 'label_browse' => apply_filters( 'ywraq_product_added_view_browse_list' , __( 'Browse the list', 'yith-woocommerce-request-a-quote' ) ),
180
  'template_part' => 'button',
181
  'rqa_url' => YITH_Request_Quote()->get_raq_page_url(),
182
  'exists' => ( $product->product_type == 'variable' ) ? false : YITH_Request_Quote()->exists( $product->id )
modules/yith-woocommerce-request-a-quote/includes/class.yith-request-quote.php CHANGED
@@ -278,7 +278,7 @@ if ( !class_exists( 'YITH_Request_Quote' ) ) {
278
 
279
 
280
  if ( array_key_exists( $key_to_find, $this->raq_content ) ) {
281
- $this->errors[] = __( 'Product already in the list.', 'ywraq' );
282
  return true;
283
  }
284
 
@@ -428,17 +428,17 @@ if ( !class_exists( 'YITH_Request_Quote' ) ) {
428
  $is_valid = isset( $_POST['wp_nonce'] ) && $product_id && wp_verify_nonce( $_POST['wp_nonce'], 'add-request-quote-' . $product_id ) && $is_valid_variation;
429
 
430
  if ( !$is_valid ) {
431
- $errors[] = __( 'Error occurred while adding product to Request a Quote list.', 'ywraq' );
432
  }
433
  else {
434
  $return = $this->add_item( $_POST );
435
  }
436
 
437
  if ( $return == 'true' ) {
438
- $message = apply_filters( 'yith_ywraq_product_added_to_list_message', __( 'Product added!', 'ywraq' ) );
439
  }
440
  elseif ( $return == 'exists' ) {
441
- $message = apply_filters( 'yith_ywraq_product_already_in_list_message', __( 'Product already in the list.', 'ywraq' ) );
442
  }
443
  elseif ( count( $errors ) > 0 ) {
444
  $message = apply_filters( 'yith_ywraq_error_adding_to_list_message', $this->get_errors($errors) );
@@ -484,7 +484,7 @@ if ( !class_exists( 'YITH_Request_Quote' ) ) {
484
  $message = '';
485
  $return = $this->exists( $_POST['product_id'], $_POST['variation_id'] );
486
  if ( $return == 'true' ) {
487
- $message = apply_filters( 'yith_ywraq_product_already_in_list_message', __( 'Product already in the list.', 'ywraq' ) );
488
  }
489
 
490
  wp_send_json(
@@ -549,15 +549,15 @@ if ( !class_exists( 'YITH_Request_Quote' ) ) {
549
  $regex = '/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/';
550
 
551
  if ( empty( $_POST['rqa_name'] ) ) {
552
- $errors[] = '<p>' . __( 'Please enter a name', 'ywraq' ) . '</p>';
553
  }
554
 
555
  if ( !isset( $_POST['rqa_email'] ) || empty( $_POST['rqa_email'] ) || !preg_match( $regex, $_POST['rqa_email'] ) ) {
556
- $errors[] = '<p>' . __( 'Please enter a valid email', 'ywraq' ) . '</p>';
557
  }
558
 
559
  if ( YITH_Request_Quote()->is_empty() ) {
560
- $errors[] = '<p>' . __( 'Your list is empty, add products to the list to send a request', 'ywraq' ) . '</p>';
561
  }
562
 
563
  if ( empty( $errors ) ) {
@@ -576,7 +576,7 @@ if ( !class_exists( 'YITH_Request_Quote' ) ) {
576
  }
577
  }
578
  else {
579
- $errors[] = '<p>' . __( 'There was a problem in sending your request. Please try again.', 'ywraq' ) . '</p>';
580
  }
581
 
582
  yith_ywraq_add_notice( $this->get_errors($errors), 'error' );
278
 
279
 
280
  if ( array_key_exists( $key_to_find, $this->raq_content ) ) {
281
+ $this->errors[] = __( 'Product already in the list.', 'yith-woocommerce-request-a-quote' );
282
  return true;
283
  }
284
 
428
  $is_valid = isset( $_POST['wp_nonce'] ) && $product_id && wp_verify_nonce( $_POST['wp_nonce'], 'add-request-quote-' . $product_id ) && $is_valid_variation;
429
 
430
  if ( !$is_valid ) {
431
+ $errors[] = __( 'Error occurred while adding product to Request a Quote list.', 'yith-woocommerce-request-a-quote' );
432
  }
433
  else {
434
  $return = $this->add_item( $_POST );
435
  }
436
 
437
  if ( $return == 'true' ) {
438
+ $message = apply_filters( 'yith_ywraq_product_added_to_list_message', __( 'Product added!', 'yith-woocommerce-request-a-quote' ) );
439
  }
440
  elseif ( $return == 'exists' ) {
441
+ $message = apply_filters( 'yith_ywraq_product_already_in_list_message', __( 'Product already in the list.', 'yith-woocommerce-request-a-quote' ) );
442
  }
443
  elseif ( count( $errors ) > 0 ) {
444
  $message = apply_filters( 'yith_ywraq_error_adding_to_list_message', $this->get_errors($errors) );
484
  $message = '';
485
  $return = $this->exists( $_POST['product_id'], $_POST['variation_id'] );
486
  if ( $return == 'true' ) {
487
+ $message = apply_filters( 'yith_ywraq_product_already_in_list_message', __( 'Product already in the list.', 'yith-woocommerce-request-a-quote' ) );
488
  }
489
 
490
  wp_send_json(
549
  $regex = '/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/';
550
 
551
  if ( empty( $_POST['rqa_name'] ) ) {
552
+ $errors[] = '<p>' . __( 'Please enter a name', 'yith-woocommerce-request-a-quote' ) . '</p>';
553
  }
554
 
555
  if ( !isset( $_POST['rqa_email'] ) || empty( $_POST['rqa_email'] ) || !preg_match( $regex, $_POST['rqa_email'] ) ) {
556
+ $errors[] = '<p>' . __( 'Please enter a valid email', 'yith-woocommerce-request-a-quote' ) . '</p>';
557
  }
558
 
559
  if ( YITH_Request_Quote()->is_empty() ) {
560
+ $errors[] = '<p>' . __( 'Your list is empty, add products to the list to send a request', 'yith-woocommerce-request-a-quote' ) . '</p>';
561
  }
562
 
563
  if ( empty( $errors ) ) {
576
  }
577
  }
578
  else {
579
+ $errors[] = '<p>' . __( 'There was a problem in sending your request. Please try again.', 'yith-woocommerce-request-a-quote' ) . '</p>';
580
  }
581
 
582
  yith_ywraq_add_notice( $this->get_errors($errors), 'error' );
modules/yith-woocommerce-request-a-quote/includes/emails/class.yith-ywraq-send-email-request-quote.php CHANGED
@@ -28,11 +28,11 @@ if ( !class_exists( 'YITH_YWRAQ_Send_Email_Request_Quote' ) ) {
28
  */
29
  public function __construct() {
30
  $this->id = 'ywraq_email';
31
- $this->title = __( 'Email to request a quote', 'ywraq' );
32
- $this->description = __( 'This email is sent when a user clicks on "Request a quote" button', 'ywraq' );
33
 
34
- $this->heading = __( 'Request a quote', 'ywraq' );
35
- $this->subject = __( '[Request a quote]', 'ywraq' );
36
 
37
  $this->template_html = 'emails/request-quote.php';
38
  $this->template_plain = 'emails/plain/request-quote.php';
@@ -71,9 +71,9 @@ if ( !class_exists( 'YITH_YWRAQ_Send_Email_Request_Quote' ) ) {
71
 
72
  if ( $return ) {
73
  YITH_Request_Quote()->clear_raq_list();
74
- yith_ywraq_add_notice( __('Your request has been sent successfully','ywraq'), 'success' );
75
  }else {
76
- yith_ywraq_add_notice( __( 'There was a problem in sending your request. Please try again.', 'ywraq' ), 'error' );
77
  }
78
  }
79
 
@@ -137,7 +137,7 @@ if ( !class_exists( 'YITH_YWRAQ_Send_Email_Request_Quote' ) ) {
137
  * @return string
138
  */
139
  public function get_from_name() {
140
- $email_from_name = ( $this->email_from_name != '' ) ? $this->email_from_name : get_option( 'woocommerce_email_from_name' );
141
  return wp_specialchars_decode( esc_html( $email_from_name ), ENT_QUOTES );
142
  }
143
 
@@ -147,7 +147,7 @@ if ( !class_exists( 'YITH_YWRAQ_Send_Email_Request_Quote' ) ) {
147
  * @return string
148
  */
149
  public function get_from_address() {
150
- $email_from_email = ( $this->email_from_email != '' ) ? $this->email_from_email : get_option( 'woocommerce_email_from_address' );
151
  return sanitize_email( $email_from_email );
152
  }
153
 
@@ -161,14 +161,14 @@ if ( !class_exists( 'YITH_YWRAQ_Send_Email_Request_Quote' ) ) {
161
  public function init_form_fields() {
162
  $this->form_fields = array(
163
  'email_from_name' => array(
164
- 'title' => __( '"From" Name', 'ywraq' ),
165
  'type' => 'text',
166
  'description' => '',
167
  'placeholder' => '',
168
  'default' => get_option( 'woocommerce_email_from_name' )
169
  ),
170
  'email_from_email' => array(
171
- 'title' => __( '"From" Email Address', 'ywraq' ),
172
  'type' => 'text',
173
  'description' => '',
174
  'placeholder' => '',
@@ -177,27 +177,27 @@ if ( !class_exists( 'YITH_YWRAQ_Send_Email_Request_Quote' ) ) {
177
  'subject' => array(
178
  'title' => __( 'Subject', 'woocommerce' ),
179
  'type' => 'text',
180
- 'description' => sprintf( __( 'This field lets you modify the email subject line. Leave it blank to use default subject: <code>%s</code>.', 'ywraq' ), $this->subject ),
181
  'placeholder' => '',
182
  'default' => ''
183
  ),
184
  'recipient' => array(
185
- 'title' => __( 'Recipient(s)', 'ywraq' ),
186
  'type' => 'text',
187
- 'description' => sprintf( __( 'Enter recipients (comma separated) for this email. Defaults to <code>%s</code>', 'ywraq' ), esc_attr( get_option( 'admin_email' ) ) ),
188
  'placeholder' => '',
189
  'default' => ''
190
  ),
191
  'enable_cc' => array(
192
- 'title' => __( 'Send CC copy', 'ywraq' ),
193
  'type' => 'checkbox',
194
- 'description' => __( 'Send a carbon copy to the user', 'ywraq' ),
195
  'default' => 'no'
196
  ),
197
  'heading' => array(
198
  'title' => __( 'Email Heading', 'woocommerce' ),
199
  'type' => 'text',
200
- 'description' => sprintf( __( 'This field lets you modify the main heading contained within the email notification. Leave blank to use the default heading: <code>%s</code>.', 'ywraq' ), $this->heading ),
201
  'placeholder' => '',
202
  'default' => ''
203
  ),
28
  */
29
  public function __construct() {
30
  $this->id = 'ywraq_email';
31
+ $this->title = __( 'Email to request a quote', 'yith-woocommerce-request-a-quote' );
32
+ $this->description = __( 'This email is sent when a user clicks on "Request a quote" button', 'yith-woocommerce-request-a-quote' );
33
 
34
+ $this->heading = __( 'Request a quote', 'yith-woocommerce-request-a-quote' );
35
+ $this->subject = __( '[Request a quote]', 'yith-woocommerce-request-a-quote' );
36
 
37
  $this->template_html = 'emails/request-quote.php';
38
  $this->template_plain = 'emails/plain/request-quote.php';
71
 
72
  if ( $return ) {
73
  YITH_Request_Quote()->clear_raq_list();
74
+ yith_ywraq_add_notice( __('Your request has been sent successfully','yith-woocommerce-request-a-quote'), 'success' );
75
  }else {
76
+ yith_ywraq_add_notice( __( 'There was a problem in sending your request. Please try again.', 'yith-woocommerce-request-a-quote' ), 'error' );
77
  }
78
  }
79
 
137
  * @return string
138
  */
139
  public function get_from_name() {
140
+ $email_from_name = ( isset($this->settings['email_from_name']) && $this->settings['email_from_name'] != '' ) ? $this->settings['email_from_name'] : '';
141
  return wp_specialchars_decode( esc_html( $email_from_name ), ENT_QUOTES );
142
  }
143
 
147
  * @return string
148
  */
149
  public function get_from_address() {
150
+ $email_from_email = ( isset($this->settings['email_from_email']) && $this->settings['email_from_email'] != '' ) ? $this->settings['email_from_email'] : '';
151
  return sanitize_email( $email_from_email );
152
  }
153
 
161
  public function init_form_fields() {
162
  $this->form_fields = array(
163
  'email_from_name' => array(
164
+ 'title' => __( '"From" Name', 'yith-woocommerce-request-a-quote' ),
165
  'type' => 'text',
166
  'description' => '',
167
  'placeholder' => '',
168
  'default' => get_option( 'woocommerce_email_from_name' )
169
  ),
170
  'email_from_email' => array(
171
+ 'title' => __( '"From" Email Address', 'yith-woocommerce-request-a-quote' ),
172
  'type' => 'text',
173
  'description' => '',
174
  'placeholder' => '',
177
  'subject' => array(
178
  'title' => __( 'Subject', 'woocommerce' ),
179
  'type' => 'text',
180
+ 'description' => sprintf( __( 'This field lets you modify the email subject line. Leave it blank to use default subject: <code>%s</code>.', 'yith-woocommerce-request-a-quote' ), $this->subject ),
181
  'placeholder' => '',
182
  'default' => ''
183
  ),
184
  'recipient' => array(
185
+ 'title' => __( 'Recipient(s)', 'yith-woocommerce-request-a-quote' ),
186
  'type' => 'text',
187
+ 'description' => sprintf( __( 'Enter recipients (comma separated) for this email. Defaults to <code>%s</code>', 'yith-woocommerce-request-a-quote' ), esc_attr( get_option( 'admin_email' ) ) ),
188
  'placeholder' => '',
189
  'default' => ''
190
  ),
191
  'enable_cc' => array(
192
+ 'title' => __( 'Send CC copy', 'yith-woocommerce-request-a-quote' ),
193
  'type' => 'checkbox',
194
+ 'description' => __( 'Send a carbon copy to the user', 'yith-woocommerce-request-a-quote' ),
195
  'default' => 'no'
196
  ),
197
  'heading' => array(
198
  'title' => __( 'Email Heading', 'woocommerce' ),
199
  'type' => 'text',
200
+ 'description' => sprintf( __( 'This field lets you modify the main heading contained within the email notification. Leave blank to use the default heading: <code>%s</code>.', 'yith-woocommerce-request-a-quote' ), $this->heading ),
201
  'placeholder' => '',
202
  'default' => ''
203
  ),
modules/yith-woocommerce-request-a-quote/includes/functions.yith-request-quote.php CHANGED
@@ -274,25 +274,25 @@ function yith_ywraq_clear_notices() {
274
  function ywraq_get_order_status_tag( $status ){
275
  switch( $status ){
276
  case 'ywraq-new':
277
- echo '<span class="raq_status new">'.__('new','ywraq').'</span>';
278
  break;
279
  case 'ywraq-pending':
280
- echo '<span class="raq_status pending">'.__('pending','ywraq').'</span>';
281
  break;
282
  case 'ywraq-expired':
283
- echo '<span class="raq_status expired">'.__('expired','ywraq').'</span>';
284
  break;
285
  case 'ywraq-new':
286
- echo '<span class="raq_status new">'.__('new','ywraq').'</span>';
287
  break;
288
  case 'ywraq-rejected':
289
- echo '<span class="raq_status rejected">'.__('rejected','ywraq').'</span>';
290
  break;
291
  case 'pending':
292
- echo '<span class="raq_status accepted">'.__('accepted','ywraq').'</span>';
293
  break;
294
  default:
295
- echo '<span class="raq_status accepted">'.__('accepted','ywraq').'</span>';
296
  }
297
  }
298
  /****** HOOKS *****/
@@ -330,7 +330,7 @@ function yith_ywraq_show_button_in_other_pages( $setting_option ){
330
  */
331
  function yith_ywraq_get_contact_forms(){
332
  if( ! function_exists( 'YIT_Contact_Form' ) ){
333
- return array( '' => __( 'Plugin not activated or not installed', 'ywraq' ) );
334
  }
335
 
336
  $posts = get_posts( array(
@@ -356,7 +356,7 @@ function yith_ywraq_get_contact_forms(){
356
  */
357
  function yith_ywraq_wpcf7_get_contact_forms(){
358
  if( ! function_exists( 'wpcf7_contact_form' ) ){
359
- return array( '' => __( 'Plugin not activated or not installed', 'ywraq' ) );
360
  }
361
 
362
  $posts = WPCF7_ContactForm::find();
@@ -365,7 +365,7 @@ function yith_ywraq_wpcf7_get_contact_forms(){
365
  $array[ $post->id() ] = $post->title();
366
  }
367
 
368
- if( $array == array() ) return array( '' => __( 'No contact form found', 'ywraq' ) );
369
 
370
  return $array;
371
  }
@@ -402,11 +402,11 @@ add_filter('yit_contact_form_shortcodes', 'yith_ywraq_quote_list_shortcode' );
402
 
403
 
404
  function ywraq_get_token( $action, $order_id, $email){
405
- return wp_hash( $action.'|'. $order_id .'|'. $email, 'ywraq' );
406
  }
407
 
408
  function ywraq_verify_token( $token, $action, $order_id, $email){
409
- $expected = wp_hash( $action.'|'. $order_id .'|'. $email, 'ywraq' );
410
  if ( hash_equals( $expected, $token ) ) {
411
  return 1;
412
  }
@@ -414,5 +414,5 @@ function ywraq_verify_token( $token, $action, $order_id, $email){
414
  }
415
 
416
  function ywraq_get_browse_list_message(){
417
- return apply_filters( 'ywraq_product_added_view_browse_list' , __( 'Browse the list', 'ywraq' ) );
418
  }
274
  function ywraq_get_order_status_tag( $status ){
275
  switch( $status ){
276
  case 'ywraq-new':
277
+ echo '<span class="raq_status new">'.__('new','yith-woocommerce-request-a-quote').'</span>';
278
  break;
279
  case 'ywraq-pending':
280
+ echo '<span class="raq_status pending">'.__('pending','yith-woocommerce-request-a-quote').'</span>';
281
  break;
282
  case 'ywraq-expired':
283
+ echo '<span class="raq_status expired">'.__('expired','yith-woocommerce-request-a-quote').'</span>';
284
  break;
285
  case 'ywraq-new':
286
+ echo '<span class="raq_status new">'.__('new','yith-woocommerce-request-a-quote').'</span>';
287
  break;
288
  case 'ywraq-rejected':
289
+ echo '<span class="raq_status rejected">'.__('rejected','yith-woocommerce-request-a-quote').'</span>';
290
  break;
291
  case 'pending':
292
+ echo '<span class="raq_status accepted">'.__('accepted','yith-woocommerce-request-a-quote').'</span>';
293
  break;
294
  default:
295
+ echo '<span class="raq_status accepted">'.__('accepted','yith-woocommerce-request-a-quote').'</span>';
296
  }
297
  }
298
  /****** HOOKS *****/
330
  */
331
  function yith_ywraq_get_contact_forms(){
332
  if( ! function_exists( 'YIT_Contact_Form' ) ){
333
+ return array( '' => __( 'Plugin not activated or not installed', 'yith-woocommerce-request-a-quote' ) );
334
  }
335
 
336
  $posts = get_posts( array(
356
  */
357
  function yith_ywraq_wpcf7_get_contact_forms(){
358
  if( ! function_exists( 'wpcf7_contact_form' ) ){
359
+ return array( '' => __( 'Plugin not activated or not installed', 'yith-woocommerce-request-a-quote' ) );
360
  }
361
 
362
  $posts = WPCF7_ContactForm::find();
365
  $array[ $post->id() ] = $post->title();
366
  }
367
 
368
+ if( $array == array() ) return array( '' => __( 'No contact form found', 'yith-woocommerce-request-a-quote' ) );
369
 
370
  return $array;
371
  }
402
 
403
 
404
  function ywraq_get_token( $action, $order_id, $email){
405
+ return wp_hash( $action.'|'. $order_id .'|'. $email, 'yith-woocommerce-request-a-quote' );
406
  }
407
 
408
  function ywraq_verify_token( $token, $action, $order_id, $email){
409
+ $expected = wp_hash( $action.'|'. $order_id .'|'. $email, 'yith-woocommerce-request-a-quote' );
410
  if ( hash_equals( $expected, $token ) ) {
411
  return 1;
412
  }
414
  }
415
 
416
  function ywraq_get_browse_list_message(){
417
+ return apply_filters( 'ywraq_product_added_view_browse_list' , __( 'Browse the list', 'yith-woocommerce-request-a-quote' ) );
418
  }
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-es_ES.mo ADDED
Binary file
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-es_ES.po ADDED
@@ -0,0 +1,1591 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH Woocommerce Request A Quote v1.0.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-06 10:04+0100\n"
6
+ "PO-Revision-Date: 2015-11-06 10:04+0100\n"
7
+ "Last-Translator: Marcelo Pedra <marcelo@marcelopedra.com.ar>\n"
8
+ "Language-Team: \n"
9
+ "Language: pt_BR\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.8.6\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
+
22
+ # @ ywraq
23
+ # @ yit
24
+ #: includes/class.yith-request-quote-admin.php:151
25
+ #: includes/class.yith-request-quote-admin.php:258
26
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1048
27
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1196
28
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1202
29
+ #: plugin-fw/lib/yit-plugin-panel.php:64
30
+ msgid "Settings"
31
+ msgstr "Configuraciones"
32
+
33
+ # @ ywraq
34
+ #: includes/class.yith-request-quote-admin.php:155
35
+ #: includes/class.yith-request-quote-admin.php:260
36
+ msgid "Premium Version"
37
+ msgstr "Premium Version"
38
+
39
+ #: includes/class.yith-request-quote-admin.php:158
40
+ msgid "Layout"
41
+ msgstr ""
42
+
43
+ #: includes/class.yith-request-quote-admin.php:159
44
+ msgid "Exclusion List"
45
+ msgstr ""
46
+
47
+ # @ yit
48
+ #: includes/class.yith-request-quote-admin.php:165
49
+ #: includes/class.yith-request-quote-admin.php:166
50
+ #: includes/class.yith-request-quote-admin.php:214
51
+ msgid "Request a Quote"
52
+ msgstr "Solicitar Presupuesto"
53
+
54
+ # @ yit
55
+ #: includes/class.yith-request-quote-admin.php:213
56
+ msgctxt "page_slug"
57
+ msgid "request-quote"
58
+ msgstr ""
59
+
60
+ # @ ywraq
61
+ #: includes/class.yith-request-quote-admin.php:286
62
+ msgid "Plugin Documentation"
63
+ msgstr "Documentación del Plugin"
64
+
65
+ # @ ywraq
66
+ #: includes/class.yith-request-quote-frontend.php:130
67
+ msgid "Your list is empty"
68
+ msgstr "La lista está vacía"
69
+
70
+ # @ ywraq
71
+ #: includes/class.yith-request-quote-frontend.php:179
72
+ #: includes/functions.yith-request-quote.php:417
73
+ msgid "Browse the list"
74
+ msgstr "Revisar la lista"
75
+
76
+ # @ ywraq
77
+ #: includes/class.yith-request-quote.php:281
78
+ #: includes/class.yith-request-quote.php:441
79
+ #: includes/class.yith-request-quote.php:487
80
+ msgid "Product already in the list."
81
+ msgstr "El produto ya está en la lista."
82
+
83
+ # @ ywraq
84
+ #: includes/class.yith-request-quote.php:431
85
+ msgid "Error occurred while adding product to Request a Quote list."
86
+ msgstr "Ocurrió un error al añadir el producto a la lista."
87
+
88
+ # @ ywraq
89
+ #: includes/class.yith-request-quote.php:438
90
+ msgid "Product added!"
91
+ msgstr "Producto añadido!"
92
+
93
+ # @ ywraq
94
+ #: includes/class.yith-request-quote.php:552
95
+ msgid "Please enter a name"
96
+ msgstr "Por favor, ingrese su nombre"
97
+
98
+ # @ ywraq
99
+ #: includes/class.yith-request-quote.php:556
100
+ msgid "Please enter a valid email"
101
+ msgstr "Por favor, ingrese un email válido"
102
+
103
+ # @ ywraq
104
+ #: includes/class.yith-request-quote.php:560
105
+ msgid "Your list is empty, add products to the list to send a request"
106
+ msgstr "La lista está vacía, añada productos para enviar un pedido"
107
+
108
+ # @ ywraq
109
+ #: includes/class.yith-request-quote.php:579
110
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:76
111
+ msgid "There was a problem in sending your request. Please try again."
112
+ msgstr ""
113
+ "Hubo un problema al enviar su solicitud. Por favor, intente nuevamente."
114
+
115
+ # @ ywraq
116
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:31
117
+ msgid "Email to request a quote"
118
+ msgstr "Email para solicitar presupuestos"
119
+
120
+ # @ ywraq
121
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:32
122
+ msgid "This email is sent when a user clicks on \"Request a quote\" button"
123
+ msgstr ""
124
+ "Este email se envía cuando un usuario hace click en \"Solicitar Presupuesto\""
125
+
126
+ # @ ywraq
127
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:34
128
+ msgid "Request a quote"
129
+ msgstr "Solicitar Presupuesto"
130
+
131
+ # @ ywraq
132
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:35
133
+ msgid "[Request a quote]"
134
+ msgstr "[Solicitud de presupuesto]"
135
+
136
+ # @ ywraq
137
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:74
138
+ msgid "Your request has been sent successfully"
139
+ msgstr "Su pedido fue enviado correctamente!"
140
+
141
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:164
142
+ msgid "\"From\" Name"
143
+ msgstr ""
144
+
145
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:171
146
+ msgid "\"From\" Email Address"
147
+ msgstr ""
148
+
149
+ # @ woocommerce
150
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:178
151
+ msgid "Subject"
152
+ msgstr ""
153
+
154
+ # @ ywraq
155
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:180
156
+ #, php-format
157
+ msgid ""
158
+ "This field lets you modify the email subject line. Leave it blank to use "
159
+ "default subject: <code>%s</code>."
160
+ msgstr ""
161
+ "Este campo le permite modificar el asunto del email. Dejarlo en blanco para "
162
+ "usar un asunto predeterminado: <code>%s</ code>."
163
+
164
+ # @ ywraq
165
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:185
166
+ msgid "Recipient(s)"
167
+ msgstr "Destinatario(s)"
168
+
169
+ # @ ywraq
170
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:187
171
+ #, php-format
172
+ msgid ""
173
+ "Enter recipients (comma separated) for this email. Defaults to <code>%s</"
174
+ "code>"
175
+ msgstr ""
176
+ "Ingrese los emails de los destinatarios (separados por comas). Por defecto "
177
+ "es <code>%s</code>"
178
+
179
+ # @ ywraq
180
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:192
181
+ msgid "Send CC copy"
182
+ msgstr "Enviar copia CC"
183
+
184
+ # @ ywraq
185
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:194
186
+ msgid "Send a carbon copy to the user"
187
+ msgstr "Enviar una copia al usuario"
188
+
189
+ # @ woocommerce
190
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:198
191
+ msgid "Email Heading"
192
+ msgstr ""
193
+
194
+ # @ ywraq
195
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:200
196
+ #, php-format
197
+ msgid ""
198
+ "This field lets you modify the main heading contained within the email "
199
+ "notification. Leave blank to use the default heading: <code>%s</code>."
200
+ msgstr ""
201
+ "Este campo le permite modificar el encabezado del email. Dejarlo en blanco "
202
+ "para usar un texto predeterminado: <code>%s</code>."
203
+
204
+ # @ woocommerce
205
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:205
206
+ msgid "Email type"
207
+ msgstr ""
208
+
209
+ # @ woocommerce
210
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:207
211
+ msgid "Choose format for the email to be sent."
212
+ msgstr ""
213
+
214
+ # @ woocommerce
215
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:211
216
+ msgid "Plain text"
217
+ msgstr ""
218
+
219
+ # @ woocommerce
220
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:212
221
+ msgid "HTML"
222
+ msgstr ""
223
+
224
+ # @ woocommerce
225
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:213
226
+ msgid "Multipart"
227
+ msgstr ""
228
+
229
+ #: includes/functions.yith-request-quote.php:277
230
+ #: includes/functions.yith-request-quote.php:286
231
+ msgid "new"
232
+ msgstr ""
233
+
234
+ #: includes/functions.yith-request-quote.php:280
235
+ msgid "pending"
236
+ msgstr ""
237
+
238
+ #: includes/functions.yith-request-quote.php:283
239
+ msgid "expired"
240
+ msgstr ""
241
+
242
+ #: includes/functions.yith-request-quote.php:289
243
+ msgid "rejected"
244
+ msgstr ""
245
+
246
+ #: includes/functions.yith-request-quote.php:292
247
+ #: includes/functions.yith-request-quote.php:295
248
+ msgid "accepted"
249
+ msgstr ""
250
+
251
+ #: includes/functions.yith-request-quote.php:333
252
+ #: includes/functions.yith-request-quote.php:359
253
+ msgid "Plugin not activated or not installed"
254
+ msgstr ""
255
+
256
+ #: includes/functions.yith-request-quote.php:344
257
+ #: includes/functions.yith-request-quote.php:368
258
+ msgid "No contact form found"
259
+ msgstr ""
260
+
261
+ # @ yit
262
+ #: plugin-fw/lib/yit-cpt-unlimited.php:460
263
+ #: plugin-fw/lib/yit-cpt-unlimited.php:574
264
+ #: plugin-fw/lib/yit-cpt-unlimited.php:719
265
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1632
266
+ #, php-format
267
+ msgid "Add %s"
268
+ msgstr "Adicionar %s"
269
+
270
+ # @ yit
271
+ #: plugin-fw/lib/yit-cpt-unlimited.php:461
272
+ #: plugin-fw/lib/yit-cpt-unlimited.php:575
273
+ #, php-format
274
+ msgid "Add New %s"
275
+ msgstr "Adicionar Novo %s"
276
+
277
+ # @ yit
278
+ #: plugin-fw/lib/yit-cpt-unlimited.php:462
279
+ #: plugin-fw/lib/yit-cpt-unlimited.php:576
280
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1267
281
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1304
282
+ #, php-format
283
+ msgid "Edit %s"
284
+ msgstr "Editar %s"
285
+
286
+ # @ yit
287
+ #: plugin-fw/lib/yit-cpt-unlimited.php:463
288
+ #: plugin-fw/lib/yit-cpt-unlimited.php:577
289
+ #, php-format
290
+ msgid "New %s"
291
+ msgstr "Novo %s"
292
+
293
+ # @ yit
294
+ #: plugin-fw/lib/yit-cpt-unlimited.php:464
295
+ #: plugin-fw/lib/yit-cpt-unlimited.php:578
296
+ #, php-format
297
+ msgid "All %s"
298
+ msgstr "Todos %s"
299
+
300
+ # @ yit
301
+ #: plugin-fw/lib/yit-cpt-unlimited.php:465
302
+ #: plugin-fw/lib/yit-cpt-unlimited.php:579
303
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1251
304
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1305
305
+ #, php-format
306
+ msgid "View %s"
307
+ msgstr "Visualizar %s"
308
+
309
+ # @ yit
310
+ #: plugin-fw/lib/yit-cpt-unlimited.php:466
311
+ #: plugin-fw/lib/yit-cpt-unlimited.php:580
312
+ #, php-format
313
+ msgid "Search %s"
314
+ msgstr "Procurar %s"
315
+
316
+ # @ yit
317
+ #: plugin-fw/lib/yit-cpt-unlimited.php:467
318
+ #: plugin-fw/lib/yit-cpt-unlimited.php:581
319
+ #, php-format
320
+ msgid "No %s found"
321
+ msgstr "Nenhum %s encontrado"
322
+
323
+ # @ yit
324
+ #: plugin-fw/lib/yit-cpt-unlimited.php:468
325
+ #: plugin-fw/lib/yit-cpt-unlimited.php:582
326
+ #, php-format
327
+ msgid "No %s found in Trash"
328
+ msgstr "Nenhum %s encontrado no Lixo"
329
+
330
+ # @ yit
331
+ #: plugin-fw/lib/yit-cpt-unlimited.php:625
332
+ #, php-format
333
+ msgctxt "taxonomy general name"
334
+ msgid "%s Categories"
335
+ msgstr "%s Categorias"
336
+
337
+ # @ yit
338
+ #: plugin-fw/lib/yit-cpt-unlimited.php:626
339
+ msgctxt "taxonomy singular name"
340
+ msgid "Category"
341
+ msgstr "Categoria"
342
+
343
+ # @ yit
344
+ #: plugin-fw/lib/yit-cpt-unlimited.php:627
345
+ msgid "Search Categories"
346
+ msgstr "Procurar Categorias"
347
+
348
+ # @ yit
349
+ #: plugin-fw/lib/yit-cpt-unlimited.php:628
350
+ msgid "All Categories"
351
+ msgstr "Todas as Categorias"
352
+
353
+ # @ yit
354
+ #: plugin-fw/lib/yit-cpt-unlimited.php:629
355
+ msgid "Parent Category"
356
+ msgstr "Categoria Parente"
357
+
358
+ # @ yit
359
+ #: plugin-fw/lib/yit-cpt-unlimited.php:630
360
+ msgid "Parent Category:"
361
+ msgstr "Categoria Parente:"
362
+
363
+ # @ yit
364
+ #: plugin-fw/lib/yit-cpt-unlimited.php:631
365
+ msgid "Edit Category"
366
+ msgstr "Editar Categoria"
367
+
368
+ # @ yit
369
+ #: plugin-fw/lib/yit-cpt-unlimited.php:632
370
+ msgid "Update Category"
371
+ msgstr "Atualizar Categoria"
372
+
373
+ # @ yit
374
+ #: plugin-fw/lib/yit-cpt-unlimited.php:633
375
+ msgid "Add New Category"
376
+ msgstr "Adicionar Nova Categoria"
377
+
378
+ # @ yit
379
+ #: plugin-fw/lib/yit-cpt-unlimited.php:634
380
+ msgid "New Category Name"
381
+ msgstr "Novo Nome da Categoria"
382
+
383
+ # @ yit
384
+ #: plugin-fw/lib/yit-cpt-unlimited.php:635
385
+ msgid "Category"
386
+ msgstr "Categoria"
387
+
388
+ # @ yit
389
+ #: plugin-fw/lib/yit-cpt-unlimited.php:724
390
+ msgid "Categories"
391
+ msgstr "Categorias"
392
+
393
+ # @ yit
394
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1042
395
+ #, php-format
396
+ msgid "%s Settings"
397
+ msgstr "%s Configurações"
398
+
399
+ # @ yit
400
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1051
401
+ msgid "Type"
402
+ msgstr "Tipo"
403
+
404
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1052
405
+ #, php-format
406
+ msgid "Layout for this %s"
407
+ msgstr ""
408
+
409
+ # @ yit
410
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1058
411
+ msgid "Rewrite"
412
+ msgstr "Reescrever"
413
+
414
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1059
415
+ msgid ""
416
+ "Univocal identification name in the URL for each product (slug from post if "
417
+ "empty)"
418
+ msgstr ""
419
+
420
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1064
421
+ msgid "Label in Singular"
422
+ msgstr ""
423
+
424
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1065
425
+ msgid "Set a label in singular (title of portfolio if empty)"
426
+ msgstr ""
427
+
428
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1070
429
+ msgid "Label in Plural"
430
+ msgstr ""
431
+
432
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1071
433
+ msgid "Set a label in plural (title of portfolio if empty)"
434
+ msgstr ""
435
+
436
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1076
437
+ msgid "Taxonomy"
438
+ msgstr ""
439
+
440
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1077
441
+ msgid ""
442
+ "If you want to use categories in the portfolio, set a name for taxonomy. "
443
+ "Name should be a slug (must not contain capital letters nor spaces) and must "
444
+ "not be more than 32 characters long (database structure restriction)."
445
+ msgstr ""
446
+
447
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1082
448
+ msgid "Taxonomy Rewrite"
449
+ msgstr ""
450
+
451
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1083
452
+ msgid "Set univocal name for each category page URL."
453
+ msgstr ""
454
+
455
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1088
456
+ msgid "Single layout"
457
+ msgstr ""
458
+
459
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1089
460
+ msgid "Layout for single page of this portfolio"
461
+ msgstr ""
462
+
463
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1130
464
+ msgid "layout settings"
465
+ msgstr ""
466
+
467
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1222
468
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1235
469
+ msgid "Quick links"
470
+ msgstr ""
471
+
472
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1475
473
+ #, php-format
474
+ msgid "Show frontend of the %s"
475
+ msgstr ""
476
+
477
+ # @ yit
478
+ # @ ywraq
479
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1482
480
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:46
481
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:90
482
+ #: templates/request-quote-form.php:24
483
+ msgid "Name"
484
+ msgstr "Nombre"
485
+
486
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1631
487
+ #, php-format
488
+ msgid "Add %s from images"
489
+ msgstr ""
490
+
491
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1633
492
+ msgid "Upload multiple files"
493
+ msgstr ""
494
+
495
+ #: plugin-fw/lib/yit-plugin-panel-wc.php:336
496
+ msgid "The changes you have made will be lost if you leave this page."
497
+ msgstr ""
498
+
499
+ #: plugin-fw/lib/yit-plugin-panel.php:63
500
+ msgid "Plugin Settings"
501
+ msgstr ""
502
+
503
+ #: plugin-fw/lib/yit-plugin-panel.php:96
504
+ #: plugin-fw/lib/yit-plugin-subpanel.php:101
505
+ msgid "YIT Plugins"
506
+ msgstr ""
507
+
508
+ #: plugin-fw/lib/yit-plugin-panel.php:288
509
+ #: plugin-fw/lib/yit-plugin-subpanel.php:143
510
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
511
+ msgid "Save Changes"
512
+ msgstr ""
513
+
514
+ #: plugin-fw/lib/yit-plugin-panel.php:291
515
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
516
+ msgid ""
517
+ "If you continue with this action, you will reset all options in this page."
518
+ msgstr ""
519
+
520
+ #: plugin-fw/lib/yit-plugin-panel.php:293
521
+ #: plugin-fw/lib/yit-plugin-subpanel.php:148
522
+ msgid "Reset to default"
523
+ msgstr ""
524
+
525
+ #: plugin-fw/lib/yit-plugin-panel.php:293
526
+ #: plugin-fw/lib/yit-plugin-subpanel.php:148
527
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
528
+ msgid "Are you sure?"
529
+ msgstr ""
530
+
531
+ #: plugin-fw/lib/yit-plugin-panel.php:427
532
+ msgid ""
533
+ "The element you have entered already exists. Please, enter another name."
534
+ msgstr ""
535
+
536
+ #: plugin-fw/lib/yit-plugin-panel.php:428
537
+ msgid "Settings saved"
538
+ msgstr ""
539
+
540
+ #: plugin-fw/lib/yit-plugin-panel.php:429
541
+ msgid "Settings reset"
542
+ msgstr ""
543
+
544
+ #: plugin-fw/lib/yit-plugin-panel.php:430
545
+ msgid "Element deleted correctly."
546
+ msgstr ""
547
+
548
+ #: plugin-fw/lib/yit-plugin-panel.php:431
549
+ #: plugin-fw/lib/yit-plugin-panel.php:432
550
+ msgid "Element updated correctly."
551
+ msgstr ""
552
+
553
+ #: plugin-fw/lib/yit-plugin-panel.php:433
554
+ msgid "Database imported correctly."
555
+ msgstr ""
556
+
557
+ #: plugin-fw/lib/yit-plugin-panel.php:434
558
+ msgid "An error has occurred during import. Please try again."
559
+ msgstr ""
560
+
561
+ #: plugin-fw/lib/yit-plugin-panel.php:435
562
+ msgid "The added file is not valid."
563
+ msgstr ""
564
+
565
+ #: plugin-fw/lib/yit-plugin-panel.php:436
566
+ msgid "Sorry, import is disabled."
567
+ msgstr ""
568
+
569
+ #: plugin-fw/lib/yit-plugin-panel.php:437
570
+ msgid "Sorting successful."
571
+ msgstr ""
572
+
573
+ #: plugin-fw/lib/yit-plugin-subpanel.php:146
574
+ msgid ""
575
+ "If you continue with this action, you will reset all the options in this "
576
+ "page."
577
+ msgstr ""
578
+
579
+ #: plugin-fw/lib/yit-pointers.php:70
580
+ msgid "Plugins Activated"
581
+ msgstr ""
582
+
583
+ #: plugin-fw/lib/yit-pointers.php:71
584
+ msgid ""
585
+ "From now on, you can find all plugin options in YIT Plugin menu.\n"
586
+ " For each plugin installed, "
587
+ "customization settings will be available as a new entry in YIT Plugin menu."
588
+ msgstr ""
589
+
590
+ #: plugin-fw/lib/yit-pointers.php:73 plugin-fw/lib/yit-pointers.php:89
591
+ msgid "Discover all our plugins available on:"
592
+ msgstr ""
593
+
594
+ #: plugin-fw/lib/yit-pointers.php:74 plugin-fw/lib/yit-pointers.php:90
595
+ msgid "and"
596
+ msgstr ""
597
+
598
+ #: plugin-fw/lib/yit-pointers.php:84
599
+ msgid "Plugins Upgraded"
600
+ msgstr ""
601
+
602
+ #: plugin-fw/lib/yit-pointers.php:85
603
+ msgid ""
604
+ "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
605
+ " Any time one of our plugins is updated, "
606
+ "a new entry will be added to this menu.\n"
607
+ " For example, after the update, plugin "
608
+ "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
609
+ "Search, etc.)\n"
610
+ " will be moved from previous location to "
611
+ "YIT Plugin tab."
612
+ msgstr ""
613
+
614
+ #: plugin-fw/lib/yit-upgrade.php:123
615
+ msgid "There is a new version of %plugin_name% available."
616
+ msgstr ""
617
+
618
+ #: plugin-fw/lib/yit-upgrade.php:124
619
+ msgid "View version %latest% details."
620
+ msgstr ""
621
+
622
+ #: plugin-fw/lib/yit-upgrade.php:125
623
+ msgid "Automatic update is unavailable for this plugin,"
624
+ msgstr ""
625
+
626
+ #: plugin-fw/lib/yit-upgrade.php:126
627
+ msgid ""
628
+ "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
629
+ msgstr ""
630
+
631
+ #: plugin-fw/lib/yit-upgrade.php:127
632
+ msgid "Update now."
633
+ msgstr ""
634
+
635
+ #: plugin-fw/lib/yit-upgrade.php:250
636
+ msgid "Yithemes Repository"
637
+ msgstr ""
638
+
639
+ #: plugin-fw/lib/yit-upgrade.php:284
640
+ msgid "Invalid URL Provided."
641
+ msgstr ""
642
+
643
+ #: plugin-fw/lib/yit-upgrade.php:297
644
+ msgid "Could not create Temporary file."
645
+ msgstr ""
646
+
647
+ #: plugin-fw/lib/yit-upgrade.php:439
648
+ #, php-format
649
+ msgid ""
650
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
651
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>."
652
+ msgstr ""
653
+
654
+ #: plugin-fw/lib/yit-upgrade.php:441
655
+ #, php-format
656
+ msgid ""
657
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
658
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
659
+ "have to activate the plugin on a single site of the network to benefit from "
660
+ "automatic updates.</em>"
661
+ msgstr ""
662
+
663
+ #: plugin-fw/lib/yit-upgrade.php:443
664
+ #, php-format
665
+ msgid ""
666
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
667
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
668
+ "<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
669
+ "title=\"Licence activation\">activate</a> your copy of %6s.</em>"
670
+ msgstr ""
671
+
672
+ #: plugin-fw/lib/yit-upgrade.php:445
673
+ #, php-format
674
+ msgid ""
675
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
676
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
677
+ "href=\"%5$s\">update now</a>."
678
+ msgstr ""
679
+
680
+ #: plugin-fw/lib/yit-upgrade.php:518
681
+ msgid "You can't update the plugins for this site."
682
+ msgstr ""
683
+
684
+ #: plugin-fw/lib/yit-upgrade.php:522
685
+ msgid ""
686
+ "You do not have sufficient permissions to update the plugins for this site."
687
+ msgstr ""
688
+
689
+ #: plugin-fw/lib/yit-upgrade.php:529
690
+ msgid "Update Plugin"
691
+ msgstr ""
692
+
693
+ #: plugin-fw/licence/lib/yit-licence.php:161
694
+ #, php-format
695
+ msgctxt "%s = field name"
696
+ msgid "%s field cannot be empty"
697
+ msgstr ""
698
+
699
+ #: plugin-fw/licence/lib/yit-licence.php:162
700
+ #, php-format
701
+ msgid "%s and %s fields cannot be empty"
702
+ msgstr ""
703
+
704
+ #: plugin-fw/licence/lib/yit-licence.php:163
705
+ msgid "Unable to contact the remote server, please try again later. Thanks!"
706
+ msgstr ""
707
+
708
+ #: plugin-fw/licence/lib/yit-licence.php:548
709
+ msgid "Invalid Request"
710
+ msgstr ""
711
+
712
+ #: plugin-fw/licence/lib/yit-licence.php:549
713
+ msgid "Invalid licence key"
714
+ msgstr ""
715
+
716
+ #: plugin-fw/licence/lib/yit-licence.php:550
717
+ msgid "Software has been deactivated"
718
+ msgstr ""
719
+
720
+ #: plugin-fw/licence/lib/yit-licence.php:551
721
+ msgid "Maximum number of activations exceeded"
722
+ msgstr ""
723
+
724
+ #: plugin-fw/licence/lib/yit-licence.php:552
725
+ msgid "Invalid instance ID"
726
+ msgstr ""
727
+
728
+ #: plugin-fw/licence/lib/yit-licence.php:553
729
+ msgid "Invalid security key"
730
+ msgstr ""
731
+
732
+ #: plugin-fw/licence/lib/yit-licence.php:554
733
+ msgid "Licence key has expired"
734
+ msgstr ""
735
+
736
+ #: plugin-fw/licence/lib/yit-licence.php:555
737
+ msgid "Licence key has been banned"
738
+ msgstr ""
739
+
740
+ #: plugin-fw/licence/lib/yit-plugin-licence.php:68
741
+ #: plugin-fw/licence/lib/yit-plugin-licence.php:69
742
+ #: plugin-fw/licence/lib/yit-theme-licence.php:64
743
+ #: plugin-fw/licence/lib/yit-theme-licence.php:65
744
+ #: plugin-fw/licence/lib/yit-theme-licence.php:105
745
+ #: plugin-fw/licence/lib/yit-theme-licence.php:106
746
+ msgid "Licence Activation"
747
+ msgstr ""
748
+
749
+ #: plugin-fw/licence/lib/yit-theme-licence.php:113
750
+ #: plugin-fw/licence/lib/yit-theme-licence.php:114
751
+ #, php-format
752
+ msgid "%s"
753
+ msgstr ""
754
+
755
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:19
756
+ msgid "Yithemes Licence Activation"
757
+ msgstr ""
758
+
759
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:23
760
+ msgid ""
761
+ "I cannot find the license key for activating the theme I have bought some "
762
+ "time ago. Where can I find it?"
763
+ msgstr ""
764
+
765
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:26
766
+ msgid ""
767
+ "If you have purchased one of our products before 27 January 2015, you can "
768
+ "benefit from support and updates (the services offered with the license)\n"
769
+ " until 27 January 2016 and you do not have to purchase it again "
770
+ "to get a new license key, because, before this date, your license used to be "
771
+ "activated automatically by our system.\n"
772
+ " After 27 January 2016, instead, if you want to benefit from "
773
+ "support and updates you have to buy a new license and activate it through "
774
+ "the license key you will be\n"
775
+ " provided with and that you can find in your YIThemes account, in "
776
+ "section \"My licenses\"."
777
+ msgstr ""
778
+
779
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:37
780
+ msgid ""
781
+ "Have you updated your licenses? Have you asked for an extension? Update "
782
+ "information concerning your products."
783
+ msgstr ""
784
+
785
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:39
786
+ msgid "Update licence information"
787
+ msgstr ""
788
+
789
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:49
790
+ msgid "Products to be activated"
791
+ msgstr ""
792
+
793
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:68
794
+ msgid "Activate"
795
+ msgstr ""
796
+
797
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:87
798
+ msgid "Activated"
799
+ msgstr ""
800
+
801
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:91
802
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:123
803
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:147
804
+ msgid "Product Name"
805
+ msgstr ""
806
+
807
+ # @ yit
808
+ # @ ywraq
809
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:92
810
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:124
811
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:148
812
+ #: plugin-fw/templates/metaboxes/types/contactform.php:148
813
+ #: plugin-fw/templates/metaboxes/types/contactform.php:340
814
+ #: templates/request-quote-form.php:30
815
+ msgid "Email"
816
+ msgstr "Email"
817
+
818
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:93
819
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:125
820
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:149
821
+ msgid "Licence Key"
822
+ msgstr ""
823
+
824
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:94
825
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:150
826
+ msgid "Expires"
827
+ msgstr ""
828
+
829
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:95
830
+ msgid "Remaining"
831
+ msgstr ""
832
+
833
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:96
834
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:109
835
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:151
836
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:161
837
+ msgid "Renew"
838
+ msgstr ""
839
+
840
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:107
841
+ #, php-format
842
+ msgid "%1s out of %2s"
843
+ msgstr ""
844
+
845
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:119
846
+ msgid "Banned"
847
+ msgstr ""
848
+
849
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:143
850
+ msgid "Expired"
851
+ msgstr ""
852
+
853
+ #: plugin-fw/templates/metaboxes/types/ajax-products.php:23
854
+ msgid "Search for a product"
855
+ msgstr ""
856
+
857
+ #: plugin-fw/templates/metaboxes/types/categories.php:36
858
+ msgid "No categories."
859
+ msgstr ""
860
+
861
+ #: plugin-fw/templates/metaboxes/types/categories.php:42
862
+ msgid "+ Add New Category"
863
+ msgstr ""
864
+
865
+ #: plugin-fw/templates/metaboxes/types/contactform.php:7
866
+ msgid "Text Input"
867
+ msgstr ""
868
+
869
+ #: plugin-fw/templates/metaboxes/types/contactform.php:8
870
+ msgid "Checkbox"
871
+ msgstr ""
872
+
873
+ #: plugin-fw/templates/metaboxes/types/contactform.php:9
874
+ msgid "Select"
875
+ msgstr ""
876
+
877
+ #: plugin-fw/templates/metaboxes/types/contactform.php:10
878
+ msgid "Textarea"
879
+ msgstr ""
880
+
881
+ #: plugin-fw/templates/metaboxes/types/contactform.php:11
882
+ msgid "Radio Input"
883
+ msgstr ""
884
+
885
+ #: plugin-fw/templates/metaboxes/types/contactform.php:12
886
+ msgid "Password Field"
887
+ msgstr ""
888
+
889
+ #: plugin-fw/templates/metaboxes/types/contactform.php:13
890
+ msgid "File Upload"
891
+ msgstr ""
892
+
893
+ #: plugin-fw/templates/metaboxes/types/contactform.php:47
894
+ msgid "Theme Icon"
895
+ msgstr ""
896
+
897
+ #: plugin-fw/templates/metaboxes/types/contactform.php:48
898
+ msgid "Custom Icon"
899
+ msgstr ""
900
+
901
+ #: plugin-fw/templates/metaboxes/types/contactform.php:49
902
+ #: plugin-fw/templates/metaboxes/types/responsivesliders.php:24
903
+ msgid "None"
904
+ msgstr ""
905
+
906
+ #: plugin-fw/templates/metaboxes/types/contactform.php:60
907
+ msgid "Add field"
908
+ msgstr ""
909
+
910
+ #: plugin-fw/templates/metaboxes/types/contactform.php:69
911
+ #: plugin-fw/templates/metaboxes/types/contactform.php:261
912
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:37
913
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:82
914
+ msgid "Remove"
915
+ msgstr ""
916
+
917
+ #: plugin-fw/templates/metaboxes/types/contactform.php:70
918
+ #: plugin-fw/templates/metaboxes/types/contactform.php:262
919
+ msgid "Click to toggle"
920
+ msgstr ""
921
+
922
+ #: plugin-fw/templates/metaboxes/types/contactform.php:77
923
+ #: plugin-fw/templates/metaboxes/types/contactform.php:269
924
+ msgid "Field Title"
925
+ msgstr ""
926
+
927
+ #: plugin-fw/templates/metaboxes/types/contactform.php:81
928
+ #: plugin-fw/templates/metaboxes/types/contactform.php:273
929
+ msgid "Insert the title for the field."
930
+ msgstr ""
931
+
932
+ #: plugin-fw/templates/metaboxes/types/contactform.php:86
933
+ #: plugin-fw/templates/metaboxes/types/contactform.php:278
934
+ msgid "Data Name"
935
+ msgstr ""
936
+
937
+ #: plugin-fw/templates/metaboxes/types/contactform.php:90
938
+ #: plugin-fw/templates/metaboxes/types/contactform.php:282
939
+ msgid ""
940
+ "REQUIRED: Field identification name to be entered into email body. "
941
+ "<strong>Note:</strong>Use only lowercase characters and underscores."
942
+ msgstr ""
943
+
944
+ #: plugin-fw/templates/metaboxes/types/contactform.php:95
945
+ #: plugin-fw/templates/metaboxes/types/contactform.php:287
946
+ msgid "Field Type"
947
+ msgstr ""
948
+
949
+ #: plugin-fw/templates/metaboxes/types/contactform.php:103
950
+ #: plugin-fw/templates/metaboxes/types/contactform.php:295
951
+ msgid "Select the type for this field."
952
+ msgstr ""
953
+
954
+ #: plugin-fw/templates/metaboxes/types/contactform.php:108
955
+ #: plugin-fw/templates/metaboxes/types/contactform.php:300
956
+ msgid "Checked"
957
+ msgstr ""
958
+
959
+ #: plugin-fw/templates/metaboxes/types/contactform.php:112
960
+ #: plugin-fw/templates/metaboxes/types/contactform.php:304
961
+ msgid "Select this option if you want this field appears as already checked."
962
+ msgstr ""
963
+
964
+ #: plugin-fw/templates/metaboxes/types/contactform.php:117
965
+ #: plugin-fw/templates/metaboxes/types/contactform.php:309
966
+ msgid "Add options "
967
+ msgstr ""
968
+
969
+ #: plugin-fw/templates/metaboxes/types/contactform.php:118
970
+ #: plugin-fw/templates/metaboxes/types/contactform.php:310
971
+ msgid "Add option"
972
+ msgstr ""
973
+
974
+ #: plugin-fw/templates/metaboxes/types/contactform.php:121
975
+ #: plugin-fw/templates/metaboxes/types/contactform.php:313
976
+ #: plugin-fw/templates/metaboxes/types/contactform.php:436
977
+ msgid "Selected"
978
+ msgstr ""
979
+
980
+ #: plugin-fw/templates/metaboxes/types/contactform.php:124
981
+ #: plugin-fw/templates/metaboxes/types/contactform.php:316
982
+ #: plugin-fw/templates/metaboxes/types/contactform.php:436
983
+ msgid "Delete option"
984
+ msgstr ""
985
+
986
+ #: plugin-fw/templates/metaboxes/types/contactform.php:130
987
+ #: plugin-fw/templates/metaboxes/types/contactform.php:322
988
+ msgid "Error Message"
989
+ msgstr ""
990
+
991
+ #: plugin-fw/templates/metaboxes/types/contactform.php:134
992
+ #: plugin-fw/templates/metaboxes/types/contactform.php:326
993
+ msgid "Insert the error message for validation."
994
+ msgstr ""
995
+
996
+ #: plugin-fw/templates/metaboxes/types/contactform.php:139
997
+ #: plugin-fw/templates/metaboxes/types/contactform.php:331
998
+ msgid "Required"
999
+ msgstr ""
1000
+
1001
+ #: plugin-fw/templates/metaboxes/types/contactform.php:143
1002
+ #: plugin-fw/templates/metaboxes/types/contactform.php:335
1003
+ msgid "Select this option if it must be required."
1004
+ msgstr ""
1005
+
1006
+ #: plugin-fw/templates/metaboxes/types/contactform.php:152
1007
+ #: plugin-fw/templates/metaboxes/types/contactform.php:344
1008
+ msgid "Select this option if the email must be valid."
1009
+ msgstr ""
1010
+
1011
+ #: plugin-fw/templates/metaboxes/types/contactform.php:157
1012
+ #: plugin-fw/templates/metaboxes/types/contactform.php:349
1013
+ msgid "Reply To"
1014
+ msgstr ""
1015
+
1016
+ #: plugin-fw/templates/metaboxes/types/contactform.php:161
1017
+ #: plugin-fw/templates/metaboxes/types/contactform.php:353
1018
+ msgid "Select this if it is the email you can reply to."
1019
+ msgstr ""
1020
+
1021
+ #: plugin-fw/templates/metaboxes/types/contactform.php:166
1022
+ #: plugin-fw/templates/metaboxes/types/contactform.php:358
1023
+ msgid "Class"
1024
+ msgstr ""
1025
+
1026
+ #: plugin-fw/templates/metaboxes/types/contactform.php:170
1027
+ #: plugin-fw/templates/metaboxes/types/contactform.php:362
1028
+ msgid ""
1029
+ "Insert additional class(es) (separated by commas) for more personalization."
1030
+ msgstr ""
1031
+
1032
+ #: plugin-fw/templates/metaboxes/types/contactform.php:175
1033
+ #: plugin-fw/templates/metaboxes/types/contactform.php:367
1034
+ msgid "Icon"
1035
+ msgstr ""
1036
+
1037
+ #: plugin-fw/templates/metaboxes/types/contactform.php:203
1038
+ #: plugin-fw/templates/metaboxes/types/contactform.php:391
1039
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:69
1040
+ #: plugin-fw/templates/metaboxes/types/select-icon.php:33
1041
+ #: plugin-fw/templates/metaboxes/types/upload.php:21
1042
+ #: plugin-fw/templates/panel/types/upload.php:31
1043
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:40
1044
+ msgid "Upload"
1045
+ msgstr ""
1046
+
1047
+ #: plugin-fw/templates/metaboxes/types/contactform.php:209
1048
+ #: plugin-fw/templates/metaboxes/types/contactform.php:397
1049
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:75
1050
+ #: plugin-fw/templates/metaboxes/types/select-icon.php:39
1051
+ msgid "Image preview"
1052
+ msgstr ""
1053
+
1054
+ #: plugin-fw/templates/metaboxes/types/contactform.php:217
1055
+ #: plugin-fw/templates/metaboxes/types/contactform.php:405
1056
+ msgid "Insert an icon for more personalization."
1057
+ msgstr ""
1058
+
1059
+ #: plugin-fw/templates/metaboxes/types/contactform.php:222
1060
+ #: plugin-fw/templates/metaboxes/types/contactform.php:409
1061
+ msgid "Width"
1062
+ msgstr ""
1063
+
1064
+ #: plugin-fw/templates/metaboxes/types/contactform.php:247
1065
+ #: plugin-fw/templates/metaboxes/types/contactform.php:421
1066
+ msgid "Set field length."
1067
+ msgstr ""
1068
+
1069
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:28
1070
+ msgid "Close all"
1071
+ msgstr ""
1072
+
1073
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:28
1074
+ msgid "Expand all"
1075
+ msgstr ""
1076
+
1077
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:52
1078
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:95
1079
+ msgid "Value"
1080
+ msgstr ""
1081
+
1082
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:53
1083
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:96
1084
+ msgid "Content of the tab. (HTML is supported)"
1085
+ msgstr ""
1086
+
1087
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:65
1088
+ msgid "Add custom product tab"
1089
+ msgstr ""
1090
+
1091
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:107
1092
+ msgid "Do you want to remove the custom tab?"
1093
+ msgstr ""
1094
+
1095
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:89
1096
+ #, php-format
1097
+ msgid "(Default: %s <img src=\"%s\"/>)"
1098
+ msgstr ""
1099
+
1100
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:91
1101
+ #, php-format
1102
+ msgid "(Default: <i %s></i> )"
1103
+ msgstr ""
1104
+
1105
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:40
1106
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1107
+ #: plugin-fw/templates/metaboxes/types/images.php:38
1108
+ #: plugin-fw/templates/metaboxes/types/images.php:64
1109
+ msgid "Delete image"
1110
+ msgstr ""
1111
+
1112
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1113
+ msgid "Add Images to Gallery"
1114
+ msgstr ""
1115
+
1116
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1117
+ msgid "Add to gallery"
1118
+ msgstr ""
1119
+
1120
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1121
+ msgid "Add images"
1122
+ msgstr ""
1123
+
1124
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1125
+ msgid "Delete"
1126
+ msgstr ""
1127
+
1128
+ #: plugin-fw/templates/metaboxes/types/images.php:42
1129
+ msgid "Upload new images"
1130
+ msgstr ""
1131
+
1132
+ #: plugin-fw/templates/metaboxes/types/images.php:75
1133
+ msgid "Are you sure you want to remove this image?"
1134
+ msgstr ""
1135
+
1136
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
1137
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:36
1138
+ msgid "Left sidebar"
1139
+ msgstr ""
1140
+
1141
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
1142
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:42
1143
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:45
1144
+ msgid "No sidebar"
1145
+ msgstr ""
1146
+
1147
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
1148
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:39
1149
+ msgid "Right sidebar"
1150
+ msgstr ""
1151
+
1152
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
1153
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:53
1154
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:64
1155
+ msgid "Choose a sidebar"
1156
+ msgstr ""
1157
+
1158
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:51
1159
+ msgid "Left Sidebar"
1160
+ msgstr ""
1161
+
1162
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:62
1163
+ msgid "Right Sidebar"
1164
+ msgstr ""
1165
+
1166
+ #: plugin-fw/templates/metaboxes/types/typography.php:42
1167
+ msgid "px"
1168
+ msgstr ""
1169
+
1170
+ #: plugin-fw/templates/metaboxes/types/typography.php:43
1171
+ msgid "em"
1172
+ msgstr ""
1173
+
1174
+ #: plugin-fw/templates/metaboxes/types/typography.php:44
1175
+ msgid "pt"
1176
+ msgstr ""
1177
+
1178
+ #: plugin-fw/templates/metaboxes/types/typography.php:45
1179
+ msgid "rem"
1180
+ msgstr ""
1181
+
1182
+ #: plugin-fw/templates/metaboxes/types/typography.php:59
1183
+ #: plugin-fw/templates/metaboxes/types/typography.php:153
1184
+ #: plugin-fw/templates/metaboxes/types/typography.php:217
1185
+ msgid "Web fonts"
1186
+ msgstr ""
1187
+
1188
+ #: plugin-fw/templates/metaboxes/types/typography.php:71
1189
+ msgid "Google fonts"
1190
+ msgstr ""
1191
+
1192
+ #: plugin-fw/templates/metaboxes/types/typography.php:96
1193
+ msgid "Regular"
1194
+ msgstr ""
1195
+
1196
+ #: plugin-fw/templates/metaboxes/types/typography.php:97
1197
+ msgid "Bold"
1198
+ msgstr ""
1199
+
1200
+ #: plugin-fw/templates/metaboxes/types/typography.php:98
1201
+ msgid "Extra bold"
1202
+ msgstr ""
1203
+
1204
+ #: plugin-fw/templates/metaboxes/types/typography.php:99
1205
+ msgid "Italic"
1206
+ msgstr ""
1207
+
1208
+ #: plugin-fw/templates/metaboxes/types/typography.php:100
1209
+ msgid "Italic bold"
1210
+ msgstr ""
1211
+
1212
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
1213
+ msgid "Reset Defaults"
1214
+ msgstr ""
1215
+
1216
+ #: plugin-options/settings-options.php:21
1217
+ msgid "Upgrade to the PREMIUM VERSION"
1218
+ msgstr ""
1219
+
1220
+ # @ ywraq
1221
+ #: plugin-options/settings-options.php:24
1222
+ msgid "YITH Woocommerce Request A Quote"
1223
+ msgstr ""
1224
+
1225
+ #: plugin-options/settings-options.php:25
1226
+ msgid "Discover the Advanced Features"
1227
+ msgstr ""
1228
+
1229
+ #: plugin-options/settings-options.php:26
1230
+ msgid ""
1231
+ "Upgrade to the PREMIUM VERSION of YITH Woocommerce Request A Quote to "
1232
+ "benefit from all features!"
1233
+ msgstr ""
1234
+
1235
+ # @ ywraq
1236
+ #: plugin-options/settings-options.php:30
1237
+ msgid "YITH WooCommerce Request A Quote"
1238
+ msgstr ""
1239
+
1240
+ #: plugin-options/settings-options.php:32
1241
+ msgid "Get Support and Pro Features"
1242
+ msgstr ""
1243
+
1244
+ #: plugin-options/settings-options.php:33
1245
+ msgid ""
1246
+ "By purchasing the premium version of the plugin, you will benefit from the "
1247
+ "advanced features of the product and you will get one year of free update "
1248
+ "and support through our platform available 24h/24."
1249
+ msgstr ""
1250
+
1251
+ # @ ywraq
1252
+ #: plugin-options/settings-options.php:43
1253
+ msgid "Request a Quote - General settings"
1254
+ msgstr "Solicitar Presupuesto - Configuraciones Generales"
1255
+
1256
+ # @ yit
1257
+ #: plugin-options/settings-options.php:49
1258
+ msgid "Request Quote Page"
1259
+ msgstr ""
1260
+
1261
+ # @ ywraq
1262
+ #: plugin-options/settings-options.php:50
1263
+ msgid "Page contents: [yith_ywraq_request_quote]"
1264
+ msgstr "Contenido de la página: [yith_ywraq_request_quote]"
1265
+
1266
+ # @ ywraq
1267
+ #: plugin-options/settings-options.php:59
1268
+ msgid "Button type"
1269
+ msgstr "Tipo do botón"
1270
+
1271
+ # @ ywraq
1272
+ #: plugin-options/settings-options.php:64
1273
+ msgid "Link"
1274
+ msgstr "Link"
1275
+
1276
+ # @ ywraq
1277
+ #: plugin-options/settings-options.php:65
1278
+ msgid "Button"
1279
+ msgstr "Botón"
1280
+
1281
+ # @ ywraq
1282
+ #: plugin-options/settings-options.php:71
1283
+ msgid "Button/Link text"
1284
+ msgstr "Texto del Botón/Link"
1285
+
1286
+ # @ ywraq
1287
+ #: plugin-options/settings-options.php:75
1288
+ msgid "Add to quote"
1289
+ msgstr "Añadir al presupuesto"
1290
+
1291
+ # @ ywraq
1292
+ #: plugin-options/settings-options.php:79
1293
+ msgid "Hide \"Add to cart\" button"
1294
+ msgstr "Ocultar botón \"Añadir al carrito\""
1295
+
1296
+ # @ ywraq
1297
+ #: templates/add-to-quote.php:16
1298
+ msgid "The product is already in quote request list!"
1299
+ msgstr "El producto ya se encontraba en la lista a cotizar."
1300
+
1301
+ #: templates/admin/premium.php:198 templates/admin/premium.php:413
1302
+ #, php-format
1303
+ msgid ""
1304
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote"
1305
+ "%2$s to benefit from all features!"
1306
+ msgstr ""
1307
+
1308
+ #: templates/admin/premium.php:201 templates/admin/premium.php:416
1309
+ msgid "UPGRADE"
1310
+ msgstr ""
1311
+
1312
+ # @ ywraq
1313
+ #: templates/admin/premium.php:202 templates/admin/premium.php:417
1314
+ msgid "to the premium version"
1315
+ msgstr "Versión Premium"
1316
+
1317
+ #: templates/admin/premium.php:208
1318
+ msgid "Premium Features"
1319
+ msgstr ""
1320
+
1321
+ #: templates/admin/premium.php:216
1322
+ msgid "CUSTOMISED BUTTON"
1323
+ msgstr ""
1324
+
1325
+ #: templates/admin/premium.php:219
1326
+ #, php-format
1327
+ msgid ""
1328
+ "Choose the style you prefer for your %s\"Add to Quote\"%s button! In the "
1329
+ "plugin option panel users will be able to find a section to set colours and "
1330
+ "text for the button"
1331
+ msgstr ""
1332
+
1333
+ #: templates/admin/premium.php:229
1334
+ msgid "NOT JUST IN PRODUCT PAGE"
1335
+ msgstr ""
1336
+
1337
+ #: templates/admin/premium.php:232
1338
+ #, php-format
1339
+ msgid ""
1340
+ "Give users the opportunity to add one or more products to their list for a "
1341
+ "quote request from many different pages in your shop, and %snot just from "
1342
+ "product detail page%s. Enable this option and the button will be shown also "
1343
+ "in other pages of your store."
1344
+ msgstr ""
1345
+
1346
+ #: templates/admin/premium.php:247
1347
+ msgid "HIDE PRODUCT PRICE"
1348
+ msgstr ""
1349
+
1350
+ #: templates/admin/premium.php:249
1351
+ msgid ""
1352
+ "Suppose that you do not want to show price for products in your shop. Just a "
1353
+ "click and your wish comes true. Enable the option \"Hide Price\" and it's "
1354
+ "done!"
1355
+ msgstr ""
1356
+
1357
+ #: templates/admin/premium.php:258
1358
+ msgid "EXCLUSION TABLE"
1359
+ msgstr ""
1360
+
1361
+ #: templates/admin/premium.php:261
1362
+ #, php-format
1363
+ msgid ""
1364
+ "A dedicated list where you can add those products that have to be excluded "
1365
+ "from quote requests. Enable the specific option and \"Add to Quote\" button "
1366
+ "will %snot be displayed%s for products in this table. "
1367
+ msgstr ""
1368
+
1369
+ #: templates/admin/premium.php:276
1370
+ msgid "USER FILTERS"
1371
+ msgstr ""
1372
+
1373
+ #: templates/admin/premium.php:279
1374
+ #, php-format
1375
+ msgid ""
1376
+ "A specific option allows you to filter users to which applying plugin "
1377
+ "features. You can choose among %1$sregistered%2$s users, %1$sunregistered"
1378
+ "%2$s ones or let the plugin work for all of them without making any "
1379
+ "distinction. "
1380
+ msgstr ""
1381
+
1382
+ #: templates/admin/premium.php:288
1383
+ msgid "REQUEST FORM"
1384
+ msgstr ""
1385
+
1386
+ #: templates/admin/premium.php:291
1387
+ #, php-format
1388
+ msgid ""
1389
+ "The plugin includes a default form for %ssending emails%s, but if you feel "
1390
+ "you're not satisfied by the form you find there, you can enjoy creating your "
1391
+ "contact form using \"Contact Form 7\" and \"YITH Contact Form\". Two "
1392
+ "external plugins that, once correctly set, work perfectly to improve your "
1393
+ "plugin features."
1394
+ msgstr ""
1395
+
1396
+ #: templates/admin/premium.php:306
1397
+ msgid "REQUEST MANAGEMENT"
1398
+ msgstr ""
1399
+
1400
+ #: templates/admin/premium.php:309
1401
+ #, php-format
1402
+ msgid ""
1403
+ "Every request you get is treated like an order! Yes, that's it. As soon as a "
1404
+ "user sends a quote request, you will see it in WooCommerce \"Orders\" "
1405
+ "section. %sMany details for each request%s, from current status to the "
1406
+ "username that generated it. A rich page specifically created to have "
1407
+ "everything there and at a hand's grasp."
1408
+ msgstr ""
1409
+
1410
+ #: templates/admin/premium.php:319
1411
+ msgid "SEND THE QUOTE"
1412
+ msgstr ""
1413
+
1414
+ #: templates/admin/premium.php:322
1415
+ #, php-format
1416
+ msgid ""
1417
+ "The best of interaction with your users. They send their request and you can "
1418
+ "answer so simply, just need to access your admin panel. A few steps to send "
1419
+ "the right proposal that %spersuades%s your customer to purchase."
1420
+ msgstr ""
1421
+
1422
+ #: templates/admin/premium.php:337
1423
+ msgid "ACCEPT OR REJECT?"
1424
+ msgstr ""
1425
+
1426
+ #: templates/admin/premium.php:340
1427
+ #, php-format
1428
+ msgid ""
1429
+ "Users can decide whether to %1$saccept%2$s or %1$sreject%2$s your quote "
1430
+ "proposal directly from the email they've got. Two simple choice options, "
1431
+ "that show professionalism and that your users will certainly appreciate. In "
1432
+ "case they accept, they will be redirected to the order checkout."
1433
+ msgstr ""
1434
+
1435
+ #: templates/admin/premium.php:351
1436
+ msgid "A QUOTE WITH EXPIRATION"
1437
+ msgstr ""
1438
+
1439
+ #: templates/admin/premium.php:354
1440
+ #, php-format
1441
+ msgid ""
1442
+ "You made a good offer, one that cannot be rejected, and you want to urge "
1443
+ "your customer to purchase by %ssetting an expiration date for the proposal "
1444
+ "you are offering?%s Add the expiration date directly from the request page "
1445
+ "while you are writing your undeniable proposal."
1446
+ msgstr ""
1447
+
1448
+ #: templates/admin/premium.php:370
1449
+ msgid "Send PDF attachment"
1450
+ msgstr ""
1451
+
1452
+ #: templates/admin/premium.php:373
1453
+ msgid ""
1454
+ "Choose the best form to send your quote offer: send the quote and the list "
1455
+ "of selected products either in the email body, or as PDF attachment or both "
1456
+ "of them. Everyone with their own style and needs."
1457
+ msgstr ""
1458
+
1459
+ #: templates/admin/premium.php:383
1460
+ msgid "Widget"
1461
+ msgstr ""
1462
+
1463
+ #: templates/admin/premium.php:385
1464
+ #, php-format
1465
+ msgid ""
1466
+ "Add a wigdet in the sidebar of your shop and put it at your customers' "
1467
+ "disposal. There they will see a %slist%s with all products they have "
1468
+ "selected and added to the quote request so far."
1469
+ msgstr ""
1470
+
1471
+ #: templates/admin/premium.php:401
1472
+ msgid "Recent requests in \"My Account\""
1473
+ msgstr ""
1474
+
1475
+ #: templates/admin/premium.php:404
1476
+ #, php-format
1477
+ msgid ""
1478
+ "All users registered in your store can see all quote requests they have sent "
1479
+ "from %s\"My Account\"%s page and check details, included the current status "
1480
+ "for them."
1481
+ msgstr ""
1482
+
1483
+ # @ ywraq
1484
+ #: templates/emails/plain/request-quote.php:15
1485
+ #, php-format
1486
+ msgid ""
1487
+ "You have received a quote request from %s. The request is the following:"
1488
+ msgstr "Se ha recibido una solicitud de presupuesto de %s:"
1489
+
1490
+ # @ ywraq
1491
+ #: templates/emails/plain/request-quote.php:45
1492
+ #: templates/emails/request-quote.php:52
1493
+ msgid "Customer message"
1494
+ msgstr "Mensaje del cliente"
1495
+
1496
+ # @ ywraq
1497
+ #: templates/emails/plain/request-quote.php:50
1498
+ #: templates/emails/request-quote.php:55
1499
+ msgid "Customer details"
1500
+ msgstr "Detalles del cliente"
1501
+
1502
+ # @ ywraq
1503
+ #: templates/emails/plain/request-quote.php:52
1504
+ #: templates/emails/request-quote.php:57
1505
+ msgid "Name:"
1506
+ msgstr "Nombre:"
1507
+
1508
+ # @ ywraq
1509
+ #: templates/emails/plain/request-quote.php:53
1510
+ #: templates/emails/request-quote.php:58
1511
+ msgid "Email:"
1512
+ msgstr "Email:"
1513
+
1514
+ # @ ywraq
1515
+ #: templates/emails/request-quote.php:13
1516
+ #, php-format
1517
+ msgid "You received a quote request from %s. The request is the following:"
1518
+ msgstr "Se ha recibido una solicitud de presupuesto de %s:"
1519
+
1520
+ # @ ywraq
1521
+ #: templates/emails/request-quote.php:17
1522
+ msgid "Request Quote"
1523
+ msgstr "Solicitar Presupuesto"
1524
+
1525
+ # @ ywraq
1526
+ #: templates/emails/request-quote.php:22 templates/request-quote-view.php:21
1527
+ msgid "Product"
1528
+ msgstr "Producto"
1529
+
1530
+ # @ ywraq
1531
+ #: templates/emails/request-quote.php:23 templates/request-quote-view.php:22
1532
+ msgid "Quantity"
1533
+ msgstr "Cantidad"
1534
+
1535
+ # @ ywraq
1536
+ #: templates/emails/request-quote.php:24
1537
+ msgid "Subtotal"
1538
+ msgstr "Subtotal"
1539
+
1540
+ # @ ywraq
1541
+ #: templates/request-quote-form.php:19
1542
+ msgid "Send the request"
1543
+ msgstr "Enviar pedido"
1544
+
1545
+ # @ ywraq
1546
+ #: templates/request-quote-form.php:36
1547
+ msgid "Message"
1548
+ msgstr "Mensaje"
1549
+
1550
+ # @ ywraq
1551
+ #: templates/request-quote-form.php:37
1552
+ msgid "Notes on your request..."
1553
+ msgstr "Notas sobre su pedido..."
1554
+
1555
+ # @ ywraq
1556
+ #: templates/request-quote-form.php:42
1557
+ msgid "Send Your Request"
1558
+ msgstr "Envíe su pedido"
1559
+
1560
+ # @ ywraq
1561
+ #: templates/request-quote-view.php:13
1562
+ msgid "No products in list"
1563
+ msgstr "No hay productos en la lista"
1564
+
1565
+ # @ ywraq
1566
+ #: templates/request-quote-view.php:23
1567
+ msgid "Total"
1568
+ msgstr "Total"
1569
+
1570
+ # @ ywraq
1571
+ #: templates/request-quote-view.php:36
1572
+ msgid "Remove this item"
1573
+ msgstr "Eliminar item"
1574
+
1575
+ # @ ywraq
1576
+ #: templates/request-quote-view.php:133
1577
+ msgid "Update List"
1578
+ msgstr "Actualizar Lista"
1579
+
1580
+ # @ ywraq
1581
+ #: yith-woocommerce-request-a-quote.php:45
1582
+ msgid ""
1583
+ "You can't activate the free version of YITH Woocommerce Request A Quote "
1584
+ "while you are using the premium one."
1585
+ msgstr ""
1586
+
1587
+ #: yith-woocommerce-request-a-quote.php:112
1588
+ msgid ""
1589
+ "YITH Woocommerce Request A Quote is enabled but not effective. It requires "
1590
+ "WooCommerce in order to work."
1591
+ msgstr ""
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-it_IT.mo ADDED
Binary file
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-it_IT.po ADDED
@@ -0,0 +1,1374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YIT WooCommerce Request a Quote\n"
4
+ "POT-Creation-Date: 2015-11-06 10:04+0100\n"
5
+ "PO-Revision-Date: 2015-11-06 10:04+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Yithemes <plugins@yithemes.com>\n"
8
+ "Language: it\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;__ngettext:1,2;"
14
+ "__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
15
+ "_nx_noop:4c,1,2\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
20
+
21
+ #: ../includes/class.yith-request-quote-admin.php:151
22
+ #: ../includes/class.yith-request-quote-admin.php:258
23
+ msgid "Settings"
24
+ msgstr "Impostazioni"
25
+
26
+ #: ../includes/class.yith-request-quote-admin.php:155
27
+ #: ../includes/class.yith-request-quote-admin.php:260
28
+ msgid "Premium Version"
29
+ msgstr "Versione Premium"
30
+
31
+ #: ../includes/class.yith-request-quote-admin.php:158
32
+ msgid "Layout"
33
+ msgstr "Layout"
34
+
35
+ #: ../includes/class.yith-request-quote-admin.php:159
36
+ msgid "Exclusion List"
37
+ msgstr "Elenco Esclusioni"
38
+
39
+ #: ../includes/class.yith-request-quote-admin.php:165
40
+ #: ../includes/class.yith-request-quote-admin.php:166
41
+ #: ../includes/class.yith-request-quote-admin.php:214
42
+ msgid "Request a Quote"
43
+ msgstr "Richiedi un Preventivo"
44
+
45
+ #: ../includes/class.yith-request-quote-admin.php:213
46
+ msgctxt "page_slug"
47
+ msgid "request-quote"
48
+ msgstr "richiedi-preventivo"
49
+
50
+ #: ../includes/class.yith-request-quote-admin.php:286
51
+ msgid "Plugin Documentation"
52
+ msgstr "Documentazione Plugin"
53
+
54
+ #: ../includes/class.yith-request-quote-frontend.php:130
55
+ msgid "Your list is empty"
56
+ msgstr "Il tuo elenco è vuoto"
57
+
58
+ #: ../includes/class.yith-request-quote-frontend.php:179
59
+ #: ../includes/functions.yith-request-quote.php:417
60
+ msgid "Browse the list"
61
+ msgstr "Scorri l'elenco"
62
+
63
+ #: ../includes/class.yith-request-quote.php:281
64
+ #: ../includes/class.yith-request-quote.php:441
65
+ #: ../includes/class.yith-request-quote.php:487
66
+ msgid "Product already in the list."
67
+ msgstr "Il prodotto è già in elenco."
68
+
69
+ #: ../includes/class.yith-request-quote.php:431
70
+ msgid "Error occurred while adding product to Request a Quote list."
71
+ msgstr ""
72
+ "Si è verificato un errore mentre il prodotto veniva aggiunto all'elenco per "
73
+ "richiedere un preventivo."
74
+
75
+ #: ../includes/class.yith-request-quote.php:438
76
+ msgid "Product added!"
77
+ msgstr "Prodotto aggiunto!"
78
+
79
+ #: ../includes/class.yith-request-quote.php:552
80
+ msgid "Please enter a name"
81
+ msgstr "Inserisci un nome"
82
+
83
+ #: ../includes/class.yith-request-quote.php:556
84
+ msgid "Please enter a valid email"
85
+ msgstr "Inserisci un indirizzo email valido"
86
+
87
+ #: ../includes/class.yith-request-quote.php:560
88
+ msgid "Your list is empty, add products to the list to send a request"
89
+ msgstr ""
90
+ "Il tuo elenco è vuoto, aggiungi dei prodotti per inviare la tua richiesta"
91
+
92
+ #: ../includes/class.yith-request-quote.php:579
93
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:76
94
+ msgid "There was a problem in sending your request. Please try again."
95
+ msgstr ""
96
+ "Si è verificato un errore durante l'invio della tua richiesta. Riprova."
97
+
98
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:31
99
+ msgid "Email to request a quote"
100
+ msgstr "Email per richiedere un preventivo"
101
+
102
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:32
103
+ msgid "This email is sent when a user clicks on \"Request a quote\" button"
104
+ msgstr ""
105
+ "Questa email è inviata dopo che un utente ha fatto clic sul pulsante "
106
+ "\"Richiedi un preventivo\""
107
+
108
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:34
109
+ msgid "Request a quote"
110
+ msgstr "Richiedi un preventivo"
111
+
112
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:35
113
+ msgid "[Request a quote]"
114
+ msgstr "[Richiedi un preventivo]"
115
+
116
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:74
117
+ msgid "Your request has been sent successfully"
118
+ msgstr "La tua richiesta è stata inviata correttamente"
119
+
120
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:164
121
+ msgid "\"From\" Name"
122
+ msgstr "\"Da\" Nome"
123
+
124
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:171
125
+ msgid "\"From\" Email Address"
126
+ msgstr "\"Da\" Indirizzo Email"
127
+
128
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:178
129
+ msgid "Subject"
130
+ msgstr "Oggetto"
131
+
132
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:180
133
+ #, php-format
134
+ msgid ""
135
+ "This field lets you modify the email subject line. Leave it blank to use "
136
+ "default subject: <code>%s</code>."
137
+ msgstr ""
138
+ "Questo campo consente di modificare l'oggetto dell'email. Lasciare vuoto per "
139
+ "utilizzare le impostazioni predefinite: <code>%s</code> ."
140
+
141
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:185
142
+ msgid "Recipient(s)"
143
+ msgstr "Destinatario/i"
144
+
145
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:187
146
+ #, php-format
147
+ msgid ""
148
+ "Enter recipients (comma separated) for this email. Defaults to <code>%s</"
149
+ "code>"
150
+ msgstr ""
151
+ "Inserisci i destinatari (separandoli con virgola) di questa email. Invia di "
152
+ "default a <code>%s</code>"
153
+
154
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:192
155
+ msgid "Send CC copy"
156
+ msgstr "Invia copia in CC"
157
+
158
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:194
159
+ msgid "Send a carbon copy to the user"
160
+ msgstr "Invia una copia carbone all'utente"
161
+
162
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:198
163
+ msgid "Email Heading"
164
+ msgstr "Intestazione Email"
165
+
166
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:200
167
+ #, php-format
168
+ msgid ""
169
+ "This field lets you modify the main heading contained within the email "
170
+ "notification. Leave blank to use the default heading: <code>%s</code>."
171
+ msgstr ""
172
+ "Questo campo ti permette di modificare l'intestazione principale dell'email. "
173
+ "Lascialo vuoto per utilizzare l'intestazione di default: <code>%s</code>."
174
+
175
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:205
176
+ msgid "Email type"
177
+ msgstr "Tipo di email"
178
+
179
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:207
180
+ msgid "Choose format for the email to be sent."
181
+ msgstr "Scegli il formato per l'email da inviare."
182
+
183
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:211
184
+ msgid "Plain text"
185
+ msgstr "Testo"
186
+
187
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:212
188
+ msgid "HTML"
189
+ msgstr "HTML"
190
+
191
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:213
192
+ msgid "Multipart"
193
+ msgstr "Multipart"
194
+
195
+ #: ../includes/functions.yith-request-quote.php:277
196
+ #: ../includes/functions.yith-request-quote.php:286
197
+ msgid "new"
198
+ msgstr "nuovo"
199
+
200
+ #: ../includes/functions.yith-request-quote.php:280
201
+ msgid "pending"
202
+ msgstr "in attesa"
203
+
204
+ #: ../includes/functions.yith-request-quote.php:283
205
+ msgid "expired"
206
+ msgstr "scaduto"
207
+
208
+ #: ../includes/functions.yith-request-quote.php:289
209
+ msgid "rejected"
210
+ msgstr "respinto"
211
+
212
+ #: ../includes/functions.yith-request-quote.php:292
213
+ #: ../includes/functions.yith-request-quote.php:295
214
+ msgid "accepted"
215
+ msgstr "accettao"
216
+
217
+ #: ../includes/functions.yith-request-quote.php:333
218
+ #: ../includes/functions.yith-request-quote.php:359
219
+ msgid "Plugin not activated or not installed"
220
+ msgstr "Il plugin non è attivo o non è stato installato"
221
+
222
+ #: ../includes/functions.yith-request-quote.php:344
223
+ #: ../includes/functions.yith-request-quote.php:368
224
+ msgid "No contact form found"
225
+ msgstr "Nessun modulo di contatto trovato"
226
+
227
+ #: ../plugin-options/settings-options.php:21
228
+ msgid "Upgrade to the PREMIUM VERSION"
229
+ msgstr "Aggiorna alla VERSIONE PREMIUM"
230
+
231
+ #: ../plugin-options/settings-options.php:24
232
+ msgid "YITH Woocommerce Request A Quote"
233
+ msgstr "YITH WooCommerce Request A Quote"
234
+
235
+ #: ../plugin-options/settings-options.php:25
236
+ msgid "Discover the Advanced Features"
237
+ msgstr "Scopri le caratteristiche avanzate"
238
+
239
+ #: ../plugin-options/settings-options.php:26
240
+ msgid ""
241
+ "Upgrade to the PREMIUM VERSION of YITH Woocommerce Request A Quote to "
242
+ "benefit from all features!"
243
+ msgstr ""
244
+ "Passa alla VERSIONE PREMIUM di YITH Woocommerce Request A Quote per "
245
+ "usufruire di tutte le funzionalità!"
246
+
247
+ #: ../plugin-options/settings-options.php:30
248
+ msgid "YITH WooCommerce Request A Quote"
249
+ msgstr "YITH WooCommerce Request A Quote"
250
+
251
+ #: ../plugin-options/settings-options.php:32
252
+ msgid "Get Support and Pro Features"
253
+ msgstr "Ottieni il supporto e le caratteristiche premium"
254
+
255
+ #: ../plugin-options/settings-options.php:33
256
+ msgid ""
257
+ "By purchasing the premium version of the plugin, you will benefit from the "
258
+ "advanced features of the product and you will get one year of free update "
259
+ "and support through our platform available 24h/24."
260
+ msgstr ""
261
+ "Acquistando la versione premium del plugin potrai usufruire delle "
262
+ "caratteristiche avanzate del prodotto, oltre a ottenere un anno di "
263
+ "aggiornamenti gratuiti e di supporto attraverso la nostra piattaforma "
264
+ "disponibile 24h/24."
265
+
266
+ #: ../plugin-options/settings-options.php:43
267
+ msgid "Request a Quote - General settings"
268
+ msgstr "Request a Quote - Impostazioni generali"
269
+
270
+ #: ../plugin-options/settings-options.php:49
271
+ msgid "Request Quote Page"
272
+ msgstr "Pagina Richiesta Preventivo"
273
+
274
+ #: ../plugin-options/settings-options.php:50
275
+ msgid "Page contents: [yith_ywraq_request_quote]"
276
+ msgstr "Contenuti pagina: [yith_ywraq_request_quote]"
277
+
278
+ #: ../plugin-options/settings-options.php:59
279
+ msgid "Button type"
280
+ msgstr "Tipo di pulsante"
281
+
282
+ #: ../plugin-options/settings-options.php:64
283
+ msgid "Link"
284
+ msgstr "Collegamento"
285
+
286
+ #: ../plugin-options/settings-options.php:65
287
+ msgid "Button"
288
+ msgstr "Pulsante"
289
+
290
+ #: ../plugin-options/settings-options.php:71
291
+ msgid "Button/Link text"
292
+ msgstr "Testo del pulsante/collegamento"
293
+
294
+ #: ../plugin-options/settings-options.php:75
295
+ msgid "Add to quote"
296
+ msgstr "Aggiungi al preventivo"
297
+
298
+ #: ../plugin-options/settings-options.php:79
299
+ msgid "Hide \"Add to cart\" button"
300
+ msgstr "Nascondi pulsante \"Aggiungi al carrello\""
301
+
302
+ #: ../templates/add-to-quote.php:16
303
+ msgid "The product is already in quote request list!"
304
+ msgstr "Il prodotto si trova già nell'elenco di richiesta preventivo!"
305
+
306
+ #: ../templates/admin/premium.php:198 ../templates/admin/premium.php:413
307
+ #, php-format
308
+ msgid ""
309
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote"
310
+ "%2$s to benefit from all features!"
311
+ msgstr ""
312
+ "Aggiorna alla %1$sversione premium%2$s di %1$sYITH WooCommerce Request a "
313
+ "Quote%2$s per beneficiare di tutte le caratteristiche!"
314
+
315
+ #: ../templates/admin/premium.php:201 ../templates/admin/premium.php:416
316
+ msgid "UPGRADE"
317
+ msgstr "AGGIORNA"
318
+
319
+ #: ../templates/admin/premium.php:202 ../templates/admin/premium.php:417
320
+ msgid "to the premium version"
321
+ msgstr "alla versione premium"
322
+
323
+ #: ../templates/admin/premium.php:208
324
+ msgid "Premium Features"
325
+ msgstr "Funzionalità premium"
326
+
327
+ #: ../templates/admin/premium.php:216
328
+ msgid "CUSTOMISED BUTTON"
329
+ msgstr "PULSANTE PERSONALIZZATO"
330
+
331
+ #: ../templates/admin/premium.php:219
332
+ #, php-format
333
+ msgid ""
334
+ "Choose the style you prefer for your %s\"Add to Quote\"%s button! In the "
335
+ "plugin option panel users will be able to find a section to set colours and "
336
+ "text for the button"
337
+ msgstr ""
338
+ "Scegli lo stile che preferisci per il tuo pulsante %s\"Aggiungi al Preventivo"
339
+ "\"%s! Nel pannello opzioni del plugin gli utenti troveranno una sezione per "
340
+ "impostare i colori e il testo per il pulsante"
341
+
342
+ #: ../templates/admin/premium.php:229
343
+ msgid "NOT JUST IN PRODUCT PAGE"
344
+ msgstr "NON SOLO NELLA PAGINA PRODOTTO"
345
+
346
+ #: ../templates/admin/premium.php:232
347
+ #, php-format
348
+ msgid ""
349
+ "Give users the opportunity to add one or more products to their list for a "
350
+ "quote request from many different pages in your shop, and %snot just from "
351
+ "product detail page%s. Enable this option and the button will be shown also "
352
+ "in other pages of your store."
353
+ msgstr ""
354
+ "Dai la possibilità ai tuoi utenti di aggiungere uno o più prodotti alla loro "
355
+ "lista di richiesta preventivo anche in %spagine diverse da quella del "
356
+ "dettaglio prodotto%s. Abilita l'opzione ed il pulsante sarà disponibile "
357
+ "insieme al prodotto anche nelle altre pagine del tuo store."
358
+
359
+ #: ../templates/admin/premium.php:247
360
+ msgid "HIDE PRODUCT PRICE"
361
+ msgstr "NASCONDI IL PREZZO DEI PRODOTTI"
362
+
363
+ #: ../templates/admin/premium.php:249
364
+ msgid ""
365
+ "Suppose that you do not want to show price for products in your shop. Just a "
366
+ "click and your wish comes true. Enable the option \"Hide Price\" and it's "
367
+ "done!"
368
+ msgstr ""
369
+ "Si supponga che non si desidera visualizzare il prezzo per i prodotti nel "
370
+ "tuo negozio. Basta un click e il tuo desiderio si avvera. Attivare l'opzione "
371
+ "\"Nascondi prezzo\" ed è fatta!"
372
+
373
+ #: ../templates/admin/premium.php:258
374
+ msgid "EXCLUSION TABLE"
375
+ msgstr "TABELLA DELLE ESCLUSIONI"
376
+
377
+ #: ../templates/admin/premium.php:261
378
+ #, php-format
379
+ msgid ""
380
+ "A dedicated list where you can add those products that have to be excluded "
381
+ "from quote requests. Enable the specific option and \"Add to Quote\" button "
382
+ "will %snot be displayed%s for products in this table. "
383
+ msgstr ""
384
+ "Una lista dedicata in cui aggiungere i prodotti che vuoi escludere dalle "
385
+ "richieste di preventivo. Abilitando l’opzione apposita i prodotti in "
386
+ "questione %snon saranno accompagnati%s dal pulsante 'Aggiungi al preventivo' "
387
+ "solitamente previsto dal plugin."
388
+
389
+ #: ../templates/admin/premium.php:276
390
+ msgid "USER FILTERS"
391
+ msgstr "TIPOLOGIA UTENTI"
392
+
393
+ #: ../templates/admin/premium.php:279
394
+ #, php-format
395
+ msgid ""
396
+ "A specific option allows you to filter users to which applying plugin "
397
+ "features. You can choose among %1$sregistered%2$s users, %1$sunregistered"
398
+ "%2$s ones or let the plugin work for all of them without making any "
399
+ "distinction. "
400
+ msgstr ""
401
+ "Un'opzione apposita ti permette di filtrare gli utenti cui mettere a "
402
+ "disposizione le funzionalità del plugin. Puoi scegliere tra utenti "
403
+ "%1$sregistrati%2$s, tra quelli non registrati, o decidere di non fare "
404
+ "distinzione alcuna."
405
+
406
+ #: ../templates/admin/premium.php:288
407
+ msgid "REQUEST FORM"
408
+ msgstr "MODULO DI RICHIESTA"
409
+
410
+ #: ../templates/admin/premium.php:291
411
+ #, php-format
412
+ msgid ""
413
+ "The plugin includes a default form for %ssending emails%s, but if you feel "
414
+ "you're not satisfied by the form you find there, you can enjoy creating your "
415
+ "contact form using \"Contact Form 7\" and \"YITH Contact Form\". Two "
416
+ "external plugins that, once correctly set, work perfectly to improve your "
417
+ "plugin features."
418
+ msgstr ""
419
+ "Il plugin integra un form di default per %sl'invio delle email%s che vengono "
420
+ "generate, ma se non ti senti soddisfatto, divertiti a creare i tuoi moduli "
421
+ "di contatto con \"Contact Form 7\" e \"YIT Contact Form\". Due plugin "
422
+ "esterni che, correttamente configurati, sono perfettamente compatibili con "
423
+ "le funzionalità del plugin."
424
+
425
+ #: ../templates/admin/premium.php:306
426
+ msgid "REQUEST MANAGEMENT"
427
+ msgstr "GESTIONE DELLA RICHIESTA"
428
+
429
+ #: ../templates/admin/premium.php:309
430
+ #, php-format
431
+ msgid ""
432
+ "Every request you get is treated like an order! Yes, that's it. As soon as a "
433
+ "user sends a quote request, you will see it in WooCommerce \"Orders\" "
434
+ "section. %sMany details for each request%s, from current status to the "
435
+ "username that generated it. A rich page specifically created to have "
436
+ "everything there and at a hand's grasp."
437
+ msgstr ""
438
+ "Ogni richiesta viene vista come un ordine! Proprio così. Quando una di esse "
439
+ "viene inviata dagli utenti, risulta subito disponibile tra la sezione "
440
+ "'Ordini' di WooCommerce. %sTanti dettagli per ogni richiesta%s, dallo stato "
441
+ "attuale sino al nome dell’utente che l’ha generato. Una ricca pagina "
442
+ "dedicata per avere tutto a disposizione."
443
+
444
+ #: ../templates/admin/premium.php:319
445
+ msgid "SEND THE QUOTE"
446
+ msgstr "Invia Preventivo"
447
+
448
+ #: ../templates/admin/premium.php:322
449
+ #, php-format
450
+ msgid ""
451
+ "The best of interaction with your users. They send their request and you can "
452
+ "answer so simply, just need to access your admin panel. A few steps to send "
453
+ "the right proposal that %spersuades%s your customer to purchase."
454
+ msgstr ""
455
+ "Massima interazione con i tuoi utenti. Loro inviano la loro richiesta e tu "
456
+ "puoi rispondere comodamente inserendo i dati dal tuo pannello di "
457
+ "amministrazione. Pochi passi per inviare la proposta giusta che %sconvinca%s "
458
+ "il tuo utente ad acquistare."
459
+
460
+ #: ../templates/admin/premium.php:337
461
+ msgid "ACCEPT OR REJECT?"
462
+ msgstr "Accetti o rifiuti?"
463
+
464
+ #: ../templates/admin/premium.php:340
465
+ #, php-format
466
+ msgid ""
467
+ "Users can decide whether to %1$saccept%2$s or %1$sreject%2$s your quote "
468
+ "proposal directly from the email they've got. Two simple choice options, "
469
+ "that show professionalism and that your users will certainly appreciate. In "
470
+ "case they accept, they will be redirected to the order checkout."
471
+ msgstr ""
472
+ "L’utente può decidere di %1$saccettare%2$s o %1$srifiutare%2$s la tua "
473
+ "proposta direttamente dall'email che tu invii. Due possibilità comode e "
474
+ "professionali che il tuo utente certamente gradirà. In caso accettasse, sarà "
475
+ "rimandato direttamente al checkout dell’ordine."
476
+
477
+ #: ../templates/admin/premium.php:351
478
+ msgid "A QUOTE WITH EXPIRATION"
479
+ msgstr "UN PREVENTIVO A SCADENZA"
480
+
481
+ #: ../templates/admin/premium.php:354
482
+ #, php-format
483
+ msgid ""
484
+ "You made a good offer, one that cannot be rejected, and you want to urge "
485
+ "your customer to purchase by %ssetting an expiration date for the proposal "
486
+ "you are offering?%s Add the expiration date directly from the request page "
487
+ "while you are writing your undeniable proposal."
488
+ msgstr ""
489
+ "Hai fatto una buona offerta, quasi irrinunciabile, e vuoi mettere fretta al "
490
+ "tuo utente, %scomunicargli una data limite oltre la quale la proposta non "
491
+ "avrà più validità?%s Inserisci la data di scadenza direttamente dalla pagina "
492
+ "dettaglio della richiesta in fase di compilazione della proposta che vuoi "
493
+ "inoltrare."
494
+
495
+ #: ../templates/admin/premium.php:370
496
+ msgid "Send PDF attachment"
497
+ msgstr "INVIA ALLEGATO PDF"
498
+
499
+ #: ../templates/admin/premium.php:373
500
+ msgid ""
501
+ "Choose the best form to send your quote offer: send the quote and the list "
502
+ "of selected products either in the email body, or as PDF attachment or both "
503
+ "of them. Everyone with their own style and needs."
504
+ msgstr ""
505
+ "Scegli se inviare il preventivo con la tabella dei prodotti selezionati "
506
+ "direttamente nell’email, come allegato PDF, oppure in entrambi. Scegli la "
507
+ "forma che meglio si addice alle tue esigenze e alle tue preferenze. Ognuno "
508
+ "con il proprio stile!"
509
+
510
+ #: ../templates/admin/premium.php:383
511
+ msgid "Widget"
512
+ msgstr "WIDGET"
513
+
514
+ #: ../templates/admin/premium.php:385
515
+ #, php-format
516
+ msgid ""
517
+ "Add a wigdet in the sidebar of your shop and put it at your customers' "
518
+ "disposal. There they will see a %slist%s with all products they have "
519
+ "selected and added to the quote request so far."
520
+ msgstr ""
521
+ "Un widget da inserire nelle sidebar del tuo shop e mettere a disposizione "
522
+ "dell'utente. Verrà prodotto un %selenco%s con la lista dei prodotti "
523
+ "selezionati ed inseriti sino a quel momento."
524
+
525
+ #: ../templates/admin/premium.php:401
526
+ msgid "Recent requests in \"My Account\""
527
+ msgstr "LE ULTIME RICHIESTE SU “IL MIO ACCOUNT”"
528
+
529
+ #: ../templates/admin/premium.php:404
530
+ #, php-format
531
+ msgid ""
532
+ "All users registered in your store can see all quote requests they have sent "
533
+ "from %s\"My Account\"%s page and check details, included the current status "
534
+ "for them."
535
+ msgstr ""
536
+ "Tutti gli utenti registrati al tuo store possono verificare l’elenco delle "
537
+ "loro richieste di preventivo ed il loro stato direttamente dalla pagina "
538
+ "%s'Il Mio Account'%s."
539
+
540
+ #: ../templates/emails/plain/request-quote.php:15
541
+ #, php-format
542
+ msgid ""
543
+ "You have received a quote request from %s. The request is the following:"
544
+ msgstr ""
545
+ "Hai ricevuto una richiesta di preventivo da %s. La richiesta è la seguente:"
546
+
547
+ #: ../templates/emails/plain/request-quote.php:45
548
+ #: ../templates/emails/request-quote.php:52
549
+ msgid "Customer message"
550
+ msgstr "Messaggio del cliente"
551
+
552
+ #: ../templates/emails/plain/request-quote.php:50
553
+ #: ../templates/emails/request-quote.php:55
554
+ msgid "Customer details"
555
+ msgstr "Dettagli cliente"
556
+
557
+ #: ../templates/emails/plain/request-quote.php:52
558
+ #: ../templates/emails/request-quote.php:57
559
+ msgid "Name:"
560
+ msgstr "Nome:"
561
+
562
+ #: ../templates/emails/plain/request-quote.php:53
563
+ #: ../templates/emails/request-quote.php:58
564
+ msgid "Email:"
565
+ msgstr "Email:"
566
+
567
+ #: ../templates/emails/request-quote.php:13
568
+ #, php-format
569
+ msgid "You received a quote request from %s. The request is the following:"
570
+ msgstr ""
571
+ "Hai ricevuto una richiesta di preventivo da %s. La richiesta è la seguente:"
572
+
573
+ #: ../templates/emails/request-quote.php:17
574
+ msgid "Request Quote"
575
+ msgstr "Richiedi Preventivo"
576
+
577
+ #: ../templates/emails/request-quote.php:22
578
+ #: ../templates/request-quote-view.php:21
579
+ msgid "Product"
580
+ msgstr "Prodotto"
581
+
582
+ #: ../templates/emails/request-quote.php:23
583
+ #: ../templates/request-quote-view.php:22
584
+ msgid "Quantity"
585
+ msgstr "Quantità"
586
+
587
+ #: ../templates/emails/request-quote.php:24
588
+ msgid "Subtotal"
589
+ msgstr "Subtotale"
590
+
591
+ #: ../templates/request-quote-form.php:19
592
+ msgid "Send the request"
593
+ msgstr "Invia la richiesta"
594
+
595
+ #: ../templates/request-quote-form.php:24
596
+ msgid "Name"
597
+ msgstr "Nome"
598
+
599
+ #: ../templates/request-quote-form.php:30
600
+ msgid "Email"
601
+ msgstr "Email"
602
+
603
+ #: ../templates/request-quote-form.php:36
604
+ msgid "Message"
605
+ msgstr "Messaggio"
606
+
607
+ #: ../templates/request-quote-form.php:37
608
+ msgid "Notes on your request..."
609
+ msgstr "Note nella tua richiesta..."
610
+
611
+ #: ../templates/request-quote-form.php:42
612
+ msgid "Send Your Request"
613
+ msgstr "Invia la tua richiesta"
614
+
615
+ #: ../templates/request-quote-view.php:13
616
+ msgid "No products in list"
617
+ msgstr "Nessun prodotto in elenco"
618
+
619
+ #: ../templates/request-quote-view.php:23
620
+ msgid "Total"
621
+ msgstr "Totale"
622
+
623
+ #: ../templates/request-quote-view.php:36
624
+ msgid "Remove this item"
625
+ msgstr "Rimuovi questo elemento"
626
+
627
+ #: ../templates/request-quote-view.php:133
628
+ msgid "Update List"
629
+ msgstr "Aggiorna Elenco"
630
+
631
+ #: ../yith-woocommerce-request-a-quote.php:45
632
+ msgid ""
633
+ "You can't activate the free version of YITH Woocommerce Request A Quote "
634
+ "while you are using the premium one."
635
+ msgstr ""
636
+ "Non puoi attivare la versione gratuita di YITH WooCommerce Request A Quote "
637
+ "mentre stai usando quella premium."
638
+
639
+ #: ../yith-woocommerce-request-a-quote.php:112
640
+ msgid ""
641
+ "YITH Woocommerce Request A Quote is enabled but not effective. It requires "
642
+ "WooCommerce in order to work."
643
+ msgstr ""
644
+ "YITH WooCommerce Request A Quote è attivo ma non funzionante. Il plugin "
645
+ "richiede WooCommerce per funzionare correttamente."
646
+
647
+ #~ msgid ""
648
+ #~ "Upgrade to the PREMIUM VERSION\n"
649
+ #~ "of YITH Woocommerce Request A Quote to benefit from all features!"
650
+ #~ msgstr ""
651
+ #~ "Aggiorna alla VERSIONE PREMIUM \n"
652
+ #~ "di YITH WooCommerce Request A Quote per beneficiare di tutte le "
653
+ #~ "caratteristiche!"
654
+
655
+ #~ msgid "You must be logged in to access this page"
656
+ #~ msgstr "Devi aver effettuato l'accesso per visualizzare questa pagina"
657
+
658
+ #~ msgid ""
659
+ #~ "An account is already registered with your email address. Please login."
660
+ #~ msgstr ""
661
+ #~ "Questo indirizzo email è associato a un account già registrato. Prova ad "
662
+ #~ "accedere."
663
+
664
+ #~ msgid "Please enter a value for %s"
665
+ #~ msgstr "Inserisci un valore per %s"
666
+
667
+ #~ msgid "There was a problem sending your request. Please try again."
668
+ #~ msgstr ""
669
+ #~ "Si è verificato un errore durante l'invio della tua richiesta. Prova di "
670
+ #~ "nuova."
671
+
672
+ #~ msgid "YITH WooCommerce Request a Quote - Email to request a quote"
673
+ #~ msgstr ""
674
+ #~ "YITH WooCommerce Request a Quote - Email per richiedere un preventivo"
675
+
676
+ #~ msgid "YITH WooCommerce Request a Quote - Email with Quote"
677
+ #~ msgstr "YITH WooCommerce Request a Quote - Email con il preventivo"
678
+
679
+ #~ msgid "YITH WooCommerce Request a Quote - Accepted/rejected Quote"
680
+ #~ msgstr "YITH WooCommerce Request a Quote - Preventivo accettato/rifiutato"
681
+
682
+ #~ msgid "Quote #%s"
683
+ #~ msgstr "Preventivo #%s"
684
+
685
+ #~ msgid "New Quote Request"
686
+ #~ msgstr "Nuova Richiesta Preventivo"
687
+
688
+ #~ msgid "New Quote Request <span class=\"count\">(%s)</span>"
689
+ #~ msgid_plural "New Quote Requests <span class=\"count\">(%s)</span>"
690
+ #~ msgstr[0] "Nuova Richiesta Preventivo <span class=\"count\">(%s)</span>"
691
+ #~ msgstr[1] "Nuove Richieste Preventivi <span class=\"count\">(%s)</span>"
692
+
693
+ #~ msgid "Pending Quote"
694
+ #~ msgstr "Preventivo In Attesa"
695
+
696
+ #~ msgid "Pending Quote <span class=\"count\">(%s)</span>"
697
+ #~ msgid_plural "Pending Quote <span class=\"count\">(%s)</span>"
698
+ #~ msgstr[0] "Preventivo In Attesa<span class=\"count\">(%s)</span>"
699
+ #~ msgstr[1] "Preventivi In Attesa<span class=\"count\">(%s)</span>"
700
+
701
+ #~ msgid "Expired Quote"
702
+ #~ msgstr "Preventivo Scaduto"
703
+
704
+ #~ msgid "Expired Quote <span class=\"count\">(%s)</span>"
705
+ #~ msgid_plural "Expired Quotes <span class=\"count\">(%s)</span>"
706
+ #~ msgstr[0] "Preventivo Scaduto <span class=\"count\">(%s)</span>"
707
+ #~ msgstr[1] "Preventivi Scaduti <span class=\"count\">(%s)</span>"
708
+
709
+ #~ msgid "Rejected Quote"
710
+ #~ msgstr "Preventivo Respinto"
711
+
712
+ #~ msgid "Rejected Quote <span class=\"count\">(%s)</span>"
713
+ #~ msgid_plural "Rejected Quote <span class=\"count\">(%s)</span>"
714
+ #~ msgstr[0] "Preventivo Respinto <span class=\"count\">(%s)</span>"
715
+ #~ msgstr[1] "Preventivi Respinti <span class=\"count\">(%s)</span>"
716
+
717
+ #~ msgid "Error %d: unable to create the order. Please try again."
718
+ #~ msgstr "Errore %d: impossibile creare l'ordine. Prova di nuovo."
719
+
720
+ #~ msgid "Send the Quote"
721
+ #~ msgstr "Invia il Preventivo"
722
+
723
+ #~ msgid "An error occurred. Please, contact site administrator"
724
+ #~ msgstr "Si è verificato un errore. Contattare l'amministratore del sito"
725
+
726
+ #~ msgid "Discount:"
727
+ #~ msgstr "Sconto:"
728
+
729
+ #~ msgid "You do not have permission to read the quote"
730
+ #~ msgstr "Non possiedi i permessi necessari per leggere il preventivo"
731
+
732
+ #~ msgid "Quote n. %d has been rejected and is not available"
733
+ #~ msgstr "Il preventivo n. %d è stato rifiutato e non è più disponibile"
734
+
735
+ #~ msgid "Quote n. %d has expired and is not available"
736
+ #~ msgstr "Il preventivo n. %d è scaduto e non è più disponibile"
737
+
738
+ #~ msgid "Quote n. %d can't be accepted because its status is: %s"
739
+ #~ msgstr ""
740
+ #~ "Il preventivo n. %d non può essere accettato perché il suo stato è: %s"
741
+
742
+ #~ msgid "Quote n. %d has been rejected"
743
+ #~ msgstr "Il preventivo n. %d è stato rifiutato"
744
+
745
+ #~ msgid "Quote n. %d can't be rejected because its status is: %s"
746
+ #~ msgstr ""
747
+ #~ "Il preventivo n. %d non può essere rifiutato perché il suo stato è: %s"
748
+
749
+ #~ msgid "The quote n. %d has been rejected"
750
+ #~ msgstr "Il preventivo n. %d è stato rifiutato"
751
+
752
+ #~ msgid ""
753
+ #~ "Sorry, you have changed content of your cart. Discount has now been "
754
+ #~ "removed from your order"
755
+ #~ msgstr ""
756
+ #~ "Hai modificato il contenuto del tuo carrello. Lo sconto è stato rimosso "
757
+ #~ "dal tuo ordine"
758
+
759
+ #~ msgid "Discount applied successfully."
760
+ #~ msgstr "Sconto applicato con successo."
761
+
762
+ #~ msgid "Discount removed successfully."
763
+ #~ msgstr "Sconto rimosso con successo."
764
+
765
+ #~ msgid "An error has occurred. Please, contact site administrator."
766
+ #~ msgstr "Si è verificato un errore. Contattare l'amministratore del sito."
767
+
768
+ #~ msgid "Accepted/rejected Quote"
769
+ #~ msgstr "Preventivo accettato/rifiutato"
770
+
771
+ #~ msgid ""
772
+ #~ "This email is sent when a user clicks on \"Accept/Reject\" button in a "
773
+ #~ "Proposal"
774
+ #~ msgstr ""
775
+ #~ "Questa email è inviata dopo che l'utente ha fatto clic sul pulsante "
776
+ #~ "\"Accetta/Rifiuta\" di una proposta"
777
+
778
+ #~ msgid "[Answer to quote request]"
779
+ #~ msgstr "[Risposta alla richiesta di preventivo]"
780
+
781
+ #~ msgid ""
782
+ #~ "This field lets you edit email subject line. Leave it blank to use "
783
+ #~ "default subject text: <code>%s</code>."
784
+ #~ msgstr ""
785
+ #~ "Questo campo ti permette di modificare l'oggetto dell'email. Lascia vuoto "
786
+ #~ "per utilizzare il testo di default: <code>%s</code>."
787
+
788
+ #~ msgid ""
789
+ #~ "Enter recipients (separated by commas) for this email. Defaults to <code>"
790
+ #~ "%s</code>"
791
+ #~ msgstr ""
792
+ #~ "Inserisci i destinatari (separandoli con virgola) di questa email. Invia "
793
+ #~ "di default a <code>%s</code>"
794
+
795
+ #~ msgid ""
796
+ #~ "This field lets you change the main heading in email notification. Leave "
797
+ #~ "it blank to use default heading type: <code>%s</code>."
798
+ #~ msgstr ""
799
+ #~ "Questo campo ti permette di modificare l'intestazione principale della "
800
+ #~ "notifica email. Lascialo vuoto per utilizzare l'intestazione di base: "
801
+ #~ "<code>%s</code>."
802
+
803
+ #~ msgid "Email Description"
804
+ #~ msgstr "Descrizione Email"
805
+
806
+ #~ msgid ""
807
+ #~ "You have received a request for a quote. The request is the following:"
808
+ #~ msgstr ""
809
+ #~ "Hai ricevuto una richiesta di preventivo. La richiesta è la seguente:"
810
+
811
+ #~ msgid "Choose format for the email that has to be sent."
812
+ #~ msgstr "Scegli il formato per l'email da inviare."
813
+
814
+ #~ msgid ""
815
+ #~ "Your request has been sent successfully. You can see details here: <a "
816
+ #~ "href=\"%s\">#%s</a>"
817
+ #~ msgstr ""
818
+ #~ "La tua richiesta è stata inviata correttamente. Puoi leggerne i dettagli "
819
+ #~ "qui: <a href=\"%s\">#%s</a>"
820
+
821
+ #~ msgid "Your request has been sent successfully."
822
+ #~ msgstr "La tua richiesta è stata inviata correttamente."
823
+
824
+ #~ msgid "Email with Quote"
825
+ #~ msgstr "Email con il preventivo"
826
+
827
+ #~ msgid ""
828
+ #~ "This email is sent when an administrator performs the action \"Send the "
829
+ #~ "quote\" from Order Editor"
830
+ #~ msgstr ""
831
+ #~ "Questa email è inviata dopo che l'amministratore ha compiuto l'azione "
832
+ #~ "\"Invia il preventivo\" dalla pagina di dettaglio dell'ordine in "
833
+ #~ "amministrazione"
834
+
835
+ #~ msgid "Our Proposal"
836
+ #~ msgstr "La nostra proposta"
837
+
838
+ #~ msgid "[Quote]"
839
+ #~ msgstr "[Preventivo]"
840
+
841
+ #~ msgid ""
842
+ #~ "This field lets you modify the email subject line. Leave it blank to use "
843
+ #~ "the default subject text: <code>%s</code>."
844
+ #~ msgstr ""
845
+ #~ "Questo campo consente di modificare l'oggetto dell'email. Lasciare vuoto "
846
+ #~ "per utilizzare le impostazioni predefinite: <code>%s</code> ."
847
+
848
+ #~ msgid ""
849
+ #~ "Enter recipients (separated by commas) for this email. By default email "
850
+ #~ "to <code>%s</code>"
851
+ #~ msgstr ""
852
+ #~ "Inserisci destinatari (separati da virgole) per questa email. Invia di "
853
+ #~ "default a <code>%s</code>"
854
+
855
+ #~ msgid "Email Title"
856
+ #~ msgstr "Titolo email"
857
+
858
+ #~ msgid "Proposal"
859
+ #~ msgstr "Proposta"
860
+
861
+ #~ msgid ""
862
+ #~ "You have received this email because you sent a quote request to our "
863
+ #~ "shop. The response to your request is the following:"
864
+ #~ msgstr ""
865
+ #~ "Hai ricevuto questa email perché hai inviato una richiesta di preventivo "
866
+ #~ "al nostro negozio. La risposta alla tua richiesta è la seguente:"
867
+
868
+ #~ msgid "Billing Address"
869
+ #~ msgstr "Indirizzo di fatturazione"
870
+
871
+ #~ msgid "Billing Phone"
872
+ #~ msgstr "Telefono di fatturazione"
873
+
874
+ #~ msgid "Billing Vat"
875
+ #~ msgstr "Tasse di Fatturazione"
876
+
877
+ #~ msgid "Attachment"
878
+ #~ msgstr "Allegato"
879
+
880
+ #~ msgid "Request a Quote Order Settings"
881
+ #~ msgstr "Impostazioni Singola Richiesta"
882
+
883
+ #~ msgid "Current Status: <span>%s</span>"
884
+ #~ msgstr "Stato Attuale: <span>%s</span>"
885
+
886
+ #~ msgid "Customer's request"
887
+ #~ msgstr "Richiesta del cliente"
888
+
889
+ #~ msgid "Customer's message"
890
+ #~ msgstr "Messaggio del cliente"
891
+
892
+ #~ msgid "Additional email content"
893
+ #~ msgstr "Contenuto Email Aggiuntivo"
894
+
895
+ #~ msgid "Customer's additional field"
896
+ #~ msgstr "Campi aggiuntivi del cliente"
897
+
898
+ #~ msgid "Customer's attachment"
899
+ #~ msgstr "Allegato del cliente"
900
+
901
+ #~ msgid "Attach message to the quote (optional)"
902
+ #~ msgstr "Allega messaggio al preventivo (opzionale)"
903
+
904
+ #~ msgid "Write a message that will be attached to the quote"
905
+ #~ msgstr "Scrivi un messaggio da allegare al preventivo"
906
+
907
+ #~ msgid "Expire date (optional)"
908
+ #~ msgstr "Data di scadenza (opzionale)"
909
+
910
+ #~ msgid "Set an expiration date for this quote"
911
+ #~ msgstr "Imposta una data di scadenza per questo preventivo"
912
+
913
+ #~ msgid "Send Quote"
914
+ #~ msgstr "Invia Preventivo"
915
+
916
+ #~ msgid "Single Product Settings for quote requests"
917
+ #~ msgstr "Impostazioni Singola Richiesta per richieste di preventivo"
918
+
919
+ #~ msgid "\"Add to quote\" button"
920
+ #~ msgstr "Pulsante \"Aggiungi al preventivo\""
921
+
922
+ #~ msgid "Exclude this product from showing \"Add to quote\" button"
923
+ #~ msgstr ""
924
+ #~ "Non mostrare il pulsante \"Aggiungi al preventivo\" in questo prodotto"
925
+
926
+ #~ msgid "Default"
927
+ #~ msgstr "Predefinito"
928
+
929
+ #~ msgid "YIT Contact Form"
930
+ #~ msgstr "YIT Contact Form"
931
+
932
+ #~ msgid "Contact Form 7"
933
+ #~ msgstr "Contact Form 7"
934
+
935
+ #~ msgid "Request form"
936
+ #~ msgstr "Modulo di richiesta"
937
+
938
+ #~ msgid ""
939
+ #~ "Choose one. You can also add forms from YIT Contact Form or Contact Form "
940
+ #~ "7 that must be installed and activated."
941
+ #~ msgstr ""
942
+ #~ "Scegline uno. Puoi aggiungere i moduli anche da YIT Contact Form o "
943
+ #~ "Contact Form 7 una volta installati e attivati."
944
+
945
+ #~ msgid "Choose the form to display"
946
+ #~ msgstr "Scegli il modulo da mostrare"
947
+
948
+ #~ msgid ""
949
+ #~ "To use this feature, YIT Contact Form or Contact Form 7 must be installed "
950
+ #~ "and activated."
951
+ #~ msgstr ""
952
+ #~ "Per utilizzare questa caratteristica, YIT Contact Form o Contact Form 7 "
953
+ #~ "devono essere installati e attivi."
954
+
955
+ #~ msgid "General settings"
956
+ #~ msgstr "Impostazioni generali"
957
+
958
+ #~ msgid "Button Action after click"
959
+ #~ msgstr "Azione del pulsante dopo il clic"
960
+
961
+ #~ msgid "After click the button \"Request a Quote\" go to the list page"
962
+ #~ msgstr ""
963
+ #~ "Dopo aver fatto clic sul pulsante \"Richiedi un Preventivo\" vai alla "
964
+ #~ "pagina dell'elenco"
965
+
966
+ #~ msgid "Show button in single product page"
967
+ #~ msgstr "Mostra pulsante nella pagina singolo prodotto"
968
+
969
+ #~ msgid "Show button in other pages"
970
+ #~ msgstr "Mostra il pulsante nelle altre pagine"
971
+
972
+ #~ msgid "Hide button for selected products"
973
+ #~ msgstr "Nascondi il pulsante nei prodotti selezionati"
974
+
975
+ #~ msgid "Exclude selected products (See tab \"Exclusions\")"
976
+ #~ msgstr "Escludi i prodotti selezionati (guarda la scheda \"Esclusioni\")"
977
+
978
+ #~ msgid "Reverse exclusion list (Show button for selected products)"
979
+ #~ msgstr ""
980
+ #~ "Inverti Elenco Esclusioni (mostra il pulsante per i prodotti selezionati)"
981
+
982
+ #~ msgid "Product settings"
983
+ #~ msgstr "Impostazioni prodotto"
984
+
985
+ #~ msgid "Hide price"
986
+ #~ msgstr "Nascondi prezzo"
987
+
988
+ #~ msgid "User settings"
989
+ #~ msgstr "Impostazioni utente"
990
+
991
+ #~ msgid "Show to"
992
+ #~ msgstr "Mostra a"
993
+
994
+ #~ msgid "Guests and Customers"
995
+ #~ msgstr "Ospiti e Clienti"
996
+
997
+ #~ msgid "Guests"
998
+ #~ msgstr "Ospiti"
999
+
1000
+ #~ msgid "Customers"
1001
+ #~ msgstr "Clienti"
1002
+
1003
+ #~ msgid "Request Form"
1004
+ #~ msgstr "Modulo di richiesta"
1005
+
1006
+ #~ msgid "Additional text field for default form"
1007
+ #~ msgstr "Campo di testo addizionale per il modulo predefinito"
1008
+
1009
+ #~ msgid "Additional text field label for default form"
1010
+ #~ msgstr "Etichetta del campo di testo addizionale per il modulo predefinito"
1011
+
1012
+ #~ msgid "Phone"
1013
+ #~ msgstr "Telefono"
1014
+
1015
+ #~ msgid "Enable registration on the \"Request a Quote\" page"
1016
+ #~ msgstr "Attiva registrazione sulla pagina di \"Richiedi un Preventivo\""
1017
+
1018
+ #~ msgid "Additional upload file field for default form"
1019
+ #~ msgstr "Campo addizionale di caricamento per il modulo predefinito"
1020
+
1021
+ #~ msgid "Additional upload field label for default form"
1022
+ #~ msgstr ""
1023
+ #~ "Etichetta del campo addizionale di caricamento per il modulo predefinito"
1024
+
1025
+ #~ msgid "Upload a file"
1026
+ #~ msgstr "Carica un file"
1027
+
1028
+ #~ msgid "Email Settings"
1029
+ #~ msgstr "Impostazioni email"
1030
+
1031
+ #~ msgid "Link to quote request details to show in \"Request a Quote\" email"
1032
+ #~ msgstr ""
1033
+ #~ "Link dettaglio richiesta di preventivo da mostrare nell'email \"Request a "
1034
+ #~ "Quote\""
1035
+
1036
+ #~ msgid "Quote request details"
1037
+ #~ msgstr "Dettaglio della richiesta di preventivo"
1038
+
1039
+ #~ msgid "Quote creation page (admin)"
1040
+ #~ msgstr "Pagina creazione preventivo (amministrazione)"
1041
+
1042
+ #~ msgid "Layout settings"
1043
+ #~ msgstr "Impostazioni layout"
1044
+
1045
+ #~ msgid "Button background color"
1046
+ #~ msgstr "Colore di sfondo del pulsante"
1047
+
1048
+ #~ msgid "Button background color on hover "
1049
+ #~ msgstr "Colore di sfondo del pulsante al passaggio del mouse"
1050
+
1051
+ #~ msgid "Button/Link text color"
1052
+ #~ msgstr "Colore del testo del pulsante/collegamento"
1053
+
1054
+ #~ msgid "Button/Link text color hover"
1055
+ #~ msgstr "Colore del testo del pulsante/collegamento al passaggio del mouse"
1056
+
1057
+ #~ msgid "Data Settings"
1058
+ #~ msgstr "Impostazione dati"
1059
+
1060
+ #~ msgid "Show SKU on list table"
1061
+ #~ msgstr "Mostra SKU nella tabella elenco"
1062
+
1063
+ #~ msgid ""
1064
+ #~ "If checked, the sku will be added near the title of product in the "
1065
+ #~ "request list"
1066
+ #~ msgstr ""
1067
+ #~ "Se selezionato, lo SKU sarà aggiunto vicino al titolo del prodotto "
1068
+ #~ "nell'elenco della richiesto"
1069
+
1070
+ #~ msgid "Show preview thumbnail on email list table"
1071
+ #~ msgstr "Mostra miniatura d'anteprima nella tabella elenco dell'email"
1072
+
1073
+ #~ msgid ""
1074
+ #~ "If checked, the thumbnail will be added in the table of request and in "
1075
+ #~ "the proposal email"
1076
+ #~ msgstr ""
1077
+ #~ "Se selezionato, la miniatura sarà aggiunta nella tabella di richiesta e "
1078
+ #~ "nell'email della proposta"
1079
+
1080
+ #~ msgid "PDF Quote settings"
1081
+ #~ msgstr "Impostazioni Preventivo in PDF"
1082
+
1083
+ #~ msgid "Logo"
1084
+ #~ msgstr "Logo"
1085
+
1086
+ #~ msgid "Upload the logo you want to show in the PDF document"
1087
+ #~ msgstr "Carica il logo che vuoi mostrare nel documento PDF"
1088
+
1089
+ #~ msgid "Sender Info in PDF file"
1090
+ #~ msgstr "Informazioni del mittente nel file PDF"
1091
+
1092
+ #~ msgid "Add sender information that have to be shown in the PDF document"
1093
+ #~ msgstr "Aggiungi le informazioni del mittente da mostrare nel documento PDF"
1094
+
1095
+ #~ msgid "Attach PDF quote to the email"
1096
+ #~ msgstr "Allega il preventivo in PDF all'email"
1097
+
1098
+ #~ msgid "If checked, the quote will be sent as PDF attachment"
1099
+ #~ msgstr ""
1100
+ #~ "Se selezionato, il preventivo sarà inviato attraverso un file PDF allegato"
1101
+
1102
+ #~ msgid "Remove the list with products from the email"
1103
+ #~ msgstr "Rimuovi l'elenco dei prodotti dall'email"
1104
+
1105
+ #~ msgid "Hide quote in the email if it has been sent as PDF attachment"
1106
+ #~ msgstr ""
1107
+ #~ "Nascondi il preventivo nell'email se è stato inviato come file PDF "
1108
+ #~ "allegato"
1109
+
1110
+ #~ msgid "product"
1111
+ #~ msgstr "prodotto"
1112
+
1113
+ #~ msgid "products"
1114
+ #~ msgstr "prodotti"
1115
+
1116
+ #~ msgid "Hide \"Add to quote\""
1117
+ #~ msgstr "Nascondi \"Aggiungi a preventivo!"
1118
+
1119
+ #~ msgid "Remove from exclusions"
1120
+ #~ msgstr "Rimuovi dalle esclusioni"
1121
+
1122
+ #~ msgid "Edit product"
1123
+ #~ msgstr "Modifica prodotto"
1124
+
1125
+ #~ msgid "Yes"
1126
+ #~ msgstr "Sì"
1127
+
1128
+ #~ msgid "No"
1129
+ #~ msgstr "No"
1130
+
1131
+ #~ msgid "Remove from list"
1132
+ #~ msgstr "Rimuovi dall'elenco"
1133
+
1134
+ #~ msgid "%s product removed successfully"
1135
+ #~ msgid_plural "%s products removed successfully"
1136
+ #~ msgstr[0] "%s prodotto rimosso correttamente"
1137
+ #~ msgstr[1] "%s prodotti rimossi correttamente"
1138
+
1139
+ #~ msgid "%s product added successfully"
1140
+ #~ msgid_plural "%s products added successfully"
1141
+ #~ msgstr[0] "%s prodotto aggiunto correttamente"
1142
+ #~ msgstr[1] "%s prodotti aggiunti correttamente"
1143
+
1144
+ #~ msgid "Product updated successfully"
1145
+ #~ msgstr "Prodotto aggiornato correttamente"
1146
+
1147
+ #~ msgid "Exclusion list"
1148
+ #~ msgstr "Elenco esclusioni"
1149
+
1150
+ #~ msgid "Add Products"
1151
+ #~ msgstr "Aggiungi Prodotto"
1152
+
1153
+ #~ msgid "Products to exclude"
1154
+ #~ msgstr "Prodotti da escludere"
1155
+
1156
+ #~ msgid "Hide \"Add to quote\" button"
1157
+ #~ msgstr "Nascondi pulsante \"Aggiungi al preventivo\""
1158
+
1159
+ #~ msgid "Add product to exclusions"
1160
+ #~ msgstr "Aggiungi prodotto alle esclusioni"
1161
+
1162
+ #~ msgid "Update product exclusion"
1163
+ #~ msgstr "Aggiorna esclusione prodotto"
1164
+
1165
+ #~ msgid "Return to exclusion list"
1166
+ #~ msgstr "Torna all'elenco esclusioni"
1167
+
1168
+ #~ msgid "Select one product at least"
1169
+ #~ msgstr "Seleziona almeno un prodotto"
1170
+
1171
+ #~ msgid "Select the option"
1172
+ #~ msgstr "Seleziona l'opzione"
1173
+
1174
+ #~ msgid "The Proposal #%d has been accepted"
1175
+ #~ msgstr "La proposta #%d è stata accettata"
1176
+
1177
+ #~ msgid "The Proposal #%d has been rejected"
1178
+ #~ msgstr "La proposta #%d è stata rifiutata"
1179
+
1180
+ #~ msgid "You can see details here: <a href=\"%s\">#%s</a>"
1181
+ #~ msgstr "Puoi vedere i dettagli qui: <a href=\"%s\">#%s</a>"
1182
+
1183
+ #~ msgid " SKU:"
1184
+ #~ msgstr "SKU:"
1185
+
1186
+ #~ msgid "Discount: "
1187
+ #~ msgstr "Sconto:"
1188
+
1189
+ #~ msgid "VAT: "
1190
+ #~ msgstr "IVA:"
1191
+
1192
+ #~ msgid "%s n. %d"
1193
+ #~ msgstr "%s n. %d"
1194
+
1195
+ #~ msgid "Request date: %s"
1196
+ #~ msgstr "Data di richiesta: %s"
1197
+
1198
+ #~ msgid "Expiration date: %s"
1199
+ #~ msgstr "Data di scadenza: %s"
1200
+
1201
+ #~ msgid "Accept"
1202
+ #~ msgstr "Accetta"
1203
+
1204
+ #~ msgid "Reject"
1205
+ #~ msgstr "Rifiuta"
1206
+
1207
+ #~ msgid "Additional information"
1208
+ #~ msgstr "Informazioni aggiuntive"
1209
+
1210
+ #~ msgid "Billing Address:"
1211
+ #~ msgstr "Indirizzo di Fatturazione"
1212
+
1213
+ #~ msgid "Billing Phone:"
1214
+ #~ msgstr "Telefono di Fatturazione"
1215
+
1216
+ #~ msgid "Billing VAT:"
1217
+ #~ msgstr "Tasse di Fatturazione"
1218
+
1219
+ #~ msgid "Customer's details"
1220
+ #~ msgstr "Dettagli cliente"
1221
+
1222
+ #~ msgid "Customer's additional field:"
1223
+ #~ msgstr "Campi aggiuntivi del cliente:"
1224
+
1225
+ #~ msgid "Preview"
1226
+ #~ msgstr "Anteprima"
1227
+
1228
+ #~ msgid "Discount"
1229
+ #~ msgstr "Sconto"
1230
+
1231
+ #~ msgid "VAT"
1232
+ #~ msgstr "IVA"
1233
+
1234
+ #~ msgid "Request date"
1235
+ #~ msgstr "Data di richiesta"
1236
+
1237
+ #~ msgid "Expiration date"
1238
+ #~ msgstr "Data di scadenza"
1239
+
1240
+ #~ msgid "Additional information:"
1241
+ #~ msgstr "Informazioni aggiuntive:"
1242
+
1243
+ #~ msgid "Request a Quote #%s"
1244
+ #~ msgstr "Richiedi un Preventivo #%s"
1245
+
1246
+ #~ msgid "Recent Quotes"
1247
+ #~ msgstr "Preventivi Recenti"
1248
+
1249
+ #~ msgid "Status"
1250
+ #~ msgstr "Stato"
1251
+
1252
+ #~ msgid "Quote"
1253
+ #~ msgstr "Preventivo"
1254
+
1255
+ #~ msgid "Date"
1256
+ #~ msgstr "Data"
1257
+
1258
+ #~ msgid "Order Number"
1259
+ #~ msgstr "Numero Ordine"
1260
+
1261
+ #~ msgid "Checkout"
1262
+ #~ msgstr "Pagamento"
1263
+
1264
+ #~ msgid "View"
1265
+ #~ msgstr "Visualizza"
1266
+
1267
+ #~ msgid "Yes, I want to reject the quote"
1268
+ #~ msgstr "Sì, voglio rifiutare il preventivo"
1269
+
1270
+ #~ msgid "Close"
1271
+ #~ msgstr "Chiudi"
1272
+
1273
+ #~ msgid "This Quote was deleted by administrator "
1274
+ #~ msgstr "Questo preventivo è stato eliminato dall'amministratore"
1275
+
1276
+ #~ msgid "Order Status:"
1277
+ #~ msgstr "Stato Ordine:"
1278
+
1279
+ #~ msgid "Quote Details"
1280
+ #~ msgstr "Dettagli Preventivo"
1281
+
1282
+ #~ msgid "Download file%s"
1283
+ #~ msgstr "Scarica file%s"
1284
+
1285
+ #~ msgid "(Includes %s)"
1286
+ #~ msgstr "(Include %s)"
1287
+
1288
+ #~ msgid "Refunded:"
1289
+ #~ msgstr "Rimborsato:"
1290
+
1291
+ #~ msgid "Telephone:"
1292
+ #~ msgstr "Telefono:"
1293
+
1294
+ #~ msgid "Telephone"
1295
+ #~ msgstr "Telefono"
1296
+
1297
+ #~ msgid "Additional Information"
1298
+ #~ msgstr "Informazioni aggiuntive"
1299
+
1300
+ #~ msgid "Customer's Message:"
1301
+ #~ msgstr "Messaggio del cliente:"
1302
+
1303
+ #~ msgid "Administrator's Message:"
1304
+ #~ msgstr "Messaggio dell'amministratore:"
1305
+
1306
+ #~ msgid "From"
1307
+ #~ msgstr "Da"
1308
+
1309
+ #~ msgid "Customer"
1310
+ #~ msgstr "Cliente"
1311
+
1312
+ #~ msgid "Quote #%d - %s"
1313
+ #~ msgstr "Preventivo #%d - %s"
1314
+
1315
+ #~ msgid "Create an account?"
1316
+ #~ msgstr "Vuoi creare un account?"
1317
+
1318
+ #~ msgid "Are you sure you want to reject quote No. %d?"
1319
+ #~ msgstr "Sei sicuro di voler rifiutare il preventivo numero %d?"
1320
+
1321
+ #~ msgid "Go to the Shop"
1322
+ #~ msgstr "Vai al negozio"
1323
+
1324
+ #~ msgid "You do not have access to this page"
1325
+ #~ msgstr "Non puoi accedere a questa pagina"
1326
+
1327
+ #~ msgid "No products in the list"
1328
+ #~ msgstr "Nessun prodotto nell'elenco"
1329
+
1330
+ #~ msgid "View list"
1331
+ #~ msgstr "Guarda elenco"
1332
+
1333
+ #~ msgid "Show products added to your list"
1334
+ #~ msgstr "Mostra i prodotti aggiunti al tuo elenco"
1335
+
1336
+ #~ msgid "YITH WooCommerce Request a Quote List"
1337
+ #~ msgstr "YITH Elenco per richiedere un preventivo"
1338
+
1339
+ #~ msgid "Quote List"
1340
+ #~ msgstr "Elenco Preventivo"
1341
+
1342
+ #~ msgid "Title:"
1343
+ #~ msgstr "Titolo:"
1344
+
1345
+ #~ msgid "Show Thumbnail"
1346
+ #~ msgstr "Mostra Miniatura"
1347
+
1348
+ #~ msgid "Show Price"
1349
+ #~ msgstr "Mostra Prezzo"
1350
+
1351
+ #~ msgid "Show Quantity"
1352
+ #~ msgstr "Mostra Quantità"
1353
+
1354
+ #~ msgid "Show Variations"
1355
+ #~ msgstr "Mostra Variazioni"
1356
+
1357
+ #~ msgid "YITH WooCommerce Request a Quote - Email the Quote"
1358
+ #~ msgstr "YITH WooCommerce Request a Quote - Invia il preventivo"
1359
+
1360
+ #~ msgid "Email the Quote"
1361
+ #~ msgstr "Invia il preventivo"
1362
+
1363
+ #~ msgid "Request data"
1364
+ #~ msgstr "Data di richiesta"
1365
+
1366
+ #~ msgid ""
1367
+ #~ "You have received this email because you sent a request quote to our "
1368
+ #~ "shop. The response to your request is the following:"
1369
+ #~ msgstr ""
1370
+ #~ "Hai ricevuto questa email perché hai inviato una richiesta di preventivo "
1371
+ #~ "al nostro negozio. La risposta alla tua richiesta è la seguente:"
1372
+
1373
+ #~ msgid "Error %d: Unable to create order. Please try again."
1374
+ #~ msgstr "Errore %d: impossibile creare l'ordine. Prova di nuovo."
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-pt_BR.mo ADDED
Binary file
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote-pt_BR.po ADDED
@@ -0,0 +1,1760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH Woocommerce Request A Quote v1.0.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-11-06 10:04+0100\n"
6
+ "PO-Revision-Date: 2015-11-06 10:04+0100\n"
7
+ "Last-Translator: gelcoffee <chrdesigner@chrdesigner.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: pt_BR\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.8.6\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
+
22
+ # @ ywraq
23
+ # @ yit
24
+ #: includes/class.yith-request-quote-admin.php:151
25
+ #: includes/class.yith-request-quote-admin.php:258
26
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1048
27
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1196
28
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1202
29
+ #: plugin-fw/lib/yit-plugin-panel.php:64
30
+ msgid "Settings"
31
+ msgstr "Configurações"
32
+
33
+ # @ ywraq
34
+ #: includes/class.yith-request-quote-admin.php:155
35
+ #: includes/class.yith-request-quote-admin.php:260
36
+ msgid "Premium Version"
37
+ msgstr "Versão Premium"
38
+
39
+ #: includes/class.yith-request-quote-admin.php:158
40
+ msgid "Layout"
41
+ msgstr ""
42
+
43
+ #: includes/class.yith-request-quote-admin.php:159
44
+ msgid "Exclusion List"
45
+ msgstr ""
46
+
47
+ # @ yit
48
+ #: includes/class.yith-request-quote-admin.php:165
49
+ #: includes/class.yith-request-quote-admin.php:166
50
+ #: includes/class.yith-request-quote-admin.php:214
51
+ msgid "Request a Quote"
52
+ msgstr "Pedir um orçamento"
53
+
54
+ # @ yit
55
+ #: includes/class.yith-request-quote-admin.php:213
56
+ msgctxt "page_slug"
57
+ msgid "request-quote"
58
+ msgstr ""
59
+
60
+ # @ ywraq
61
+ #: includes/class.yith-request-quote-admin.php:286
62
+ msgid "Plugin Documentation"
63
+ msgstr "Documentação do Plugin"
64
+
65
+ # @ ywraq
66
+ #: includes/class.yith-request-quote-frontend.php:130
67
+ msgid "Your list is empty"
68
+ msgstr "Sua lista esta vazia"
69
+
70
+ # @ ywraq
71
+ #: includes/class.yith-request-quote-frontend.php:179
72
+ #: includes/functions.yith-request-quote.php:417
73
+ msgid "Browse the list"
74
+ msgstr "Visualizar na lista"
75
+
76
+ # @ ywraq
77
+ #: includes/class.yith-request-quote.php:281
78
+ #: includes/class.yith-request-quote.php:441
79
+ #: includes/class.yith-request-quote.php:487
80
+ msgid "Product already in the list."
81
+ msgstr "Produto já esta na lista."
82
+
83
+ # @ ywraq
84
+ #: includes/class.yith-request-quote.php:431
85
+ #, fuzzy
86
+ msgid "Error occurred while adding product to Request a Quote list."
87
+ msgstr ""
88
+ "Ocorreu um erro ao adicionar o produto para solicitar uma lista de orçamento."
89
+
90
+ # @ ywraq
91
+ #: includes/class.yith-request-quote.php:438
92
+ msgid "Product added!"
93
+ msgstr "Produto adicionado!"
94
+
95
+ # @ ywraq
96
+ #: includes/class.yith-request-quote.php:552
97
+ msgid "Please enter a name"
98
+ msgstr "Por favor, digite um nome"
99
+
100
+ # @ ywraq
101
+ #: includes/class.yith-request-quote.php:556
102
+ msgid "Please enter a valid email"
103
+ msgstr "Por favor, entre um e-mail válido"
104
+
105
+ # @ ywraq
106
+ #: includes/class.yith-request-quote.php:560
107
+ msgid "Your list is empty, add products to the list to send a request"
108
+ msgstr "Sua lista está vazia, adicione produtos à lista de enviar um pedido"
109
+
110
+ # @ ywraq
111
+ #: includes/class.yith-request-quote.php:579
112
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:76
113
+ msgid "There was a problem in sending your request. Please try again."
114
+ msgstr ""
115
+ "Houve um problema no envio do seu orçamento. Por favor, tente novamente."
116
+
117
+ # @ ywraq
118
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:31
119
+ msgid "Email to request a quote"
120
+ msgstr "E-mail para solicitar um orçamento"
121
+
122
+ # @ ywraq
123
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:32
124
+ msgid "This email is sent when a user clicks on \"Request a quote\" button"
125
+ msgstr ""
126
+ "Este e-mail é enviado quando um usuário clica em \"Solicitar orçamento\" "
127
+ "botão"
128
+
129
+ # @ ywraq
130
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:34
131
+ msgid "Request a quote"
132
+ msgstr "Solicitação de orçamento"
133
+
134
+ # @ ywraq
135
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:35
136
+ msgid "[Request a quote]"
137
+ msgstr "[Solicitação de orçamento]"
138
+
139
+ # @ ywraq
140
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:74
141
+ msgid "Your request has been sent successfully"
142
+ msgstr "Sua solicitação foi enviada com sucesso!"
143
+
144
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:164
145
+ msgid "\"From\" Name"
146
+ msgstr ""
147
+
148
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:171
149
+ msgid "\"From\" Email Address"
150
+ msgstr ""
151
+
152
+ # @ woocommerce
153
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:178
154
+ msgid "Subject"
155
+ msgstr ""
156
+
157
+ # @ ywraq
158
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:180
159
+ #, php-format
160
+ msgid ""
161
+ "This field lets you modify the email subject line. Leave it blank to use "
162
+ "default subject: <code>%s</code>."
163
+ msgstr ""
164
+ "Este campo permite que você modifique a linha de assunto do email. Deixe em "
165
+ "branco para usar assunto padrão: <code>%s</ code>."
166
+
167
+ # @ ywraq
168
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:185
169
+ msgid "Recipient(s)"
170
+ msgstr "Destinatário(s)"
171
+
172
+ # @ ywraq
173
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:187
174
+ #, php-format
175
+ msgid ""
176
+ "Enter recipients (comma separated) for this email. Defaults to <code>%s</"
177
+ "code>"
178
+ msgstr ""
179
+ "Digite destinatários (separados por vírgula) para este e-mail. O padrão é "
180
+ "<code>%s</code>"
181
+
182
+ # @ ywraq
183
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:192
184
+ msgid "Send CC copy"
185
+ msgstr "Enviar cópia CC"
186
+
187
+ # @ ywraq
188
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:194
189
+ msgid "Send a carbon copy to the user"
190
+ msgstr "Envie uma cópia para o usuário"
191
+
192
+ # @ woocommerce
193
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:198
194
+ msgid "Email Heading"
195
+ msgstr ""
196
+
197
+ # @ ywraq
198
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:200
199
+ #, php-format
200
+ msgid ""
201
+ "This field lets you modify the main heading contained within the email "
202
+ "notification. Leave blank to use the default heading: <code>%s</code>."
203
+ msgstr ""
204
+ "Este campo permite que você modifique a principal rubrica contida dentro da "
205
+ "notificação de e-mail. Deixe em branco para usar o título padrão: <code>%s</"
206
+ "code>."
207
+
208
+ # @ woocommerce
209
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:205
210
+ msgid "Email type"
211
+ msgstr ""
212
+
213
+ # @ woocommerce
214
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:207
215
+ msgid "Choose format for the email to be sent."
216
+ msgstr ""
217
+
218
+ # @ woocommerce
219
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:211
220
+ msgid "Plain text"
221
+ msgstr ""
222
+
223
+ # @ woocommerce
224
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:212
225
+ msgid "HTML"
226
+ msgstr ""
227
+
228
+ # @ woocommerce
229
+ #: includes/emails/class.yith-ywraq-send-email-request-quote.php:213
230
+ msgid "Multipart"
231
+ msgstr ""
232
+
233
+ #: includes/functions.yith-request-quote.php:277
234
+ #: includes/functions.yith-request-quote.php:286
235
+ msgid "new"
236
+ msgstr ""
237
+
238
+ #: includes/functions.yith-request-quote.php:280
239
+ msgid "pending"
240
+ msgstr ""
241
+
242
+ #: includes/functions.yith-request-quote.php:283
243
+ msgid "expired"
244
+ msgstr ""
245
+
246
+ #: includes/functions.yith-request-quote.php:289
247
+ msgid "rejected"
248
+ msgstr ""
249
+
250
+ #: includes/functions.yith-request-quote.php:292
251
+ #: includes/functions.yith-request-quote.php:295
252
+ msgid "accepted"
253
+ msgstr ""
254
+
255
+ #: includes/functions.yith-request-quote.php:333
256
+ #: includes/functions.yith-request-quote.php:359
257
+ msgid "Plugin not activated or not installed"
258
+ msgstr ""
259
+
260
+ #: includes/functions.yith-request-quote.php:344
261
+ #: includes/functions.yith-request-quote.php:368
262
+ msgid "No contact form found"
263
+ msgstr ""
264
+
265
+ # @ yit
266
+ #: plugin-fw/lib/yit-cpt-unlimited.php:460
267
+ #: plugin-fw/lib/yit-cpt-unlimited.php:574
268
+ #: plugin-fw/lib/yit-cpt-unlimited.php:719
269
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1632
270
+ #, php-format
271
+ msgid "Add %s"
272
+ msgstr "Adicionar %s"
273
+
274
+ # @ yit
275
+ #: plugin-fw/lib/yit-cpt-unlimited.php:461
276
+ #: plugin-fw/lib/yit-cpt-unlimited.php:575
277
+ #, php-format
278
+ msgid "Add New %s"
279
+ msgstr "Adicionar Novo %s"
280
+
281
+ # @ yit
282
+ #: plugin-fw/lib/yit-cpt-unlimited.php:462
283
+ #: plugin-fw/lib/yit-cpt-unlimited.php:576
284
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1267
285
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1304
286
+ #, php-format
287
+ msgid "Edit %s"
288
+ msgstr "Editar %s"
289
+
290
+ # @ yit
291
+ #: plugin-fw/lib/yit-cpt-unlimited.php:463
292
+ #: plugin-fw/lib/yit-cpt-unlimited.php:577
293
+ #, php-format
294
+ msgid "New %s"
295
+ msgstr "Novo %s"
296
+
297
+ # @ yit
298
+ #: plugin-fw/lib/yit-cpt-unlimited.php:464
299
+ #: plugin-fw/lib/yit-cpt-unlimited.php:578
300
+ #, php-format
301
+ msgid "All %s"
302
+ msgstr "Todos %s"
303
+
304
+ # @ yit
305
+ #: plugin-fw/lib/yit-cpt-unlimited.php:465
306
+ #: plugin-fw/lib/yit-cpt-unlimited.php:579
307
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1251
308
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1305
309
+ #, php-format
310
+ msgid "View %s"
311
+ msgstr "Visualizar %s"
312
+
313
+ # @ yit
314
+ #: plugin-fw/lib/yit-cpt-unlimited.php:466
315
+ #: plugin-fw/lib/yit-cpt-unlimited.php:580
316
+ #, php-format
317
+ msgid "Search %s"
318
+ msgstr "Procurar %s"
319
+
320
+ # @ yit
321
+ #: plugin-fw/lib/yit-cpt-unlimited.php:467
322
+ #: plugin-fw/lib/yit-cpt-unlimited.php:581
323
+ #, php-format
324
+ msgid "No %s found"
325
+ msgstr "Nenhum %s encontrado"
326
+
327
+ # @ yit
328
+ #: plugin-fw/lib/yit-cpt-unlimited.php:468
329
+ #: plugin-fw/lib/yit-cpt-unlimited.php:582
330
+ #, php-format
331
+ msgid "No %s found in Trash"
332
+ msgstr "Nenhum %s encontrado no Lixo"
333
+
334
+ # @ yit
335
+ #: plugin-fw/lib/yit-cpt-unlimited.php:625
336
+ #, php-format
337
+ msgctxt "taxonomy general name"
338
+ msgid "%s Categories"
339
+ msgstr "%s Categorias"
340
+
341
+ # @ yit
342
+ #: plugin-fw/lib/yit-cpt-unlimited.php:626
343
+ msgctxt "taxonomy singular name"
344
+ msgid "Category"
345
+ msgstr "Categoria"
346
+
347
+ # @ yit
348
+ #: plugin-fw/lib/yit-cpt-unlimited.php:627
349
+ msgid "Search Categories"
350
+ msgstr "Procurar Categorias"
351
+
352
+ # @ yit
353
+ #: plugin-fw/lib/yit-cpt-unlimited.php:628
354
+ msgid "All Categories"
355
+ msgstr "Todas as Categorias"
356
+
357
+ # @ yit
358
+ #: plugin-fw/lib/yit-cpt-unlimited.php:629
359
+ msgid "Parent Category"
360
+ msgstr "Categoria Parente"
361
+
362
+ # @ yit
363
+ #: plugin-fw/lib/yit-cpt-unlimited.php:630
364
+ msgid "Parent Category:"
365
+ msgstr "Categoria Parente:"
366
+
367
+ # @ yit
368
+ #: plugin-fw/lib/yit-cpt-unlimited.php:631
369
+ msgid "Edit Category"
370
+ msgstr "Editar Categoria"
371
+
372
+ # @ yit
373
+ #: plugin-fw/lib/yit-cpt-unlimited.php:632
374
+ msgid "Update Category"
375
+ msgstr "Atualizar Categoria"
376
+
377
+ # @ yit
378
+ #: plugin-fw/lib/yit-cpt-unlimited.php:633
379
+ msgid "Add New Category"
380
+ msgstr "Adicionar Nova Categoria"
381
+
382
+ # @ yit
383
+ #: plugin-fw/lib/yit-cpt-unlimited.php:634
384
+ msgid "New Category Name"
385
+ msgstr "Novo Nome da Categoria"
386
+
387
+ # @ yit
388
+ #: plugin-fw/lib/yit-cpt-unlimited.php:635
389
+ msgid "Category"
390
+ msgstr "Categoria"
391
+
392
+ # @ yit
393
+ #: plugin-fw/lib/yit-cpt-unlimited.php:724
394
+ msgid "Categories"
395
+ msgstr "Categorias"
396
+
397
+ # @ yit
398
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1042
399
+ #, php-format
400
+ msgid "%s Settings"
401
+ msgstr "%s Configurações"
402
+
403
+ # @ yit
404
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1051
405
+ msgid "Type"
406
+ msgstr "Tipo"
407
+
408
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1052
409
+ #, php-format
410
+ msgid "Layout for this %s"
411
+ msgstr ""
412
+
413
+ # @ yit
414
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1058
415
+ msgid "Rewrite"
416
+ msgstr "Reescrever"
417
+
418
+ # @ yit
419
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1059
420
+ msgid ""
421
+ "Univocal identification name in the URL for each product (slug from post if "
422
+ "empty)"
423
+ msgstr ""
424
+
425
+ # @ yit
426
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1064
427
+ msgid "Label in Singular"
428
+ msgstr ""
429
+
430
+ # @ yit
431
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1065
432
+ msgid "Set a label in singular (title of portfolio if empty)"
433
+ msgstr ""
434
+
435
+ # @ yit
436
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1070
437
+ msgid "Label in Plural"
438
+ msgstr ""
439
+
440
+ # @ yit
441
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1071
442
+ msgid "Set a label in plural (title of portfolio if empty)"
443
+ msgstr ""
444
+
445
+ # @ yit
446
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1076
447
+ msgid "Taxonomy"
448
+ msgstr ""
449
+
450
+ # @ yit
451
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1077
452
+ msgid ""
453
+ "If you want to use categories in the portfolio, set a name for taxonomy. "
454
+ "Name should be a slug (must not contain capital letters nor spaces) and must "
455
+ "not be more than 32 characters long (database structure restriction)."
456
+ msgstr ""
457
+
458
+ # @ yit
459
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1082
460
+ msgid "Taxonomy Rewrite"
461
+ msgstr ""
462
+
463
+ # @ yit
464
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1083
465
+ msgid "Set univocal name for each category page URL."
466
+ msgstr ""
467
+
468
+ # @ yit
469
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1088
470
+ msgid "Single layout"
471
+ msgstr ""
472
+
473
+ # @ yit
474
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1089
475
+ msgid "Layout for single page of this portfolio"
476
+ msgstr ""
477
+
478
+ # @ yit
479
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1130
480
+ msgid "layout settings"
481
+ msgstr ""
482
+
483
+ # @ yit
484
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1222
485
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1235
486
+ msgid "Quick links"
487
+ msgstr ""
488
+
489
+ # @ yit
490
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1475
491
+ #, php-format
492
+ msgid "Show frontend of the %s"
493
+ msgstr ""
494
+
495
+ # @ yit
496
+ # @ ywraq
497
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1482
498
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:46
499
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:90
500
+ #: templates/request-quote-form.php:24
501
+ msgid "Name"
502
+ msgstr "Nome"
503
+
504
+ # @ yit
505
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1631
506
+ #, php-format
507
+ msgid "Add %s from images"
508
+ msgstr ""
509
+
510
+ #: plugin-fw/lib/yit-cpt-unlimited.php:1633
511
+ msgid "Upload multiple files"
512
+ msgstr ""
513
+
514
+ # @ yit
515
+ #: plugin-fw/lib/yit-plugin-panel-wc.php:336
516
+ msgid "The changes you have made will be lost if you leave this page."
517
+ msgstr ""
518
+
519
+ # @ yit
520
+ #: plugin-fw/lib/yit-plugin-panel.php:63
521
+ msgid "Plugin Settings"
522
+ msgstr ""
523
+
524
+ # @ yit
525
+ #: plugin-fw/lib/yit-plugin-panel.php:96
526
+ #: plugin-fw/lib/yit-plugin-subpanel.php:101
527
+ msgid "YIT Plugins"
528
+ msgstr ""
529
+
530
+ # @ yit
531
+ #: plugin-fw/lib/yit-plugin-panel.php:288
532
+ #: plugin-fw/lib/yit-plugin-subpanel.php:143
533
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
534
+ msgid "Save Changes"
535
+ msgstr ""
536
+
537
+ # @ yit
538
+ #: plugin-fw/lib/yit-plugin-panel.php:291
539
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
540
+ msgid ""
541
+ "If you continue with this action, you will reset all options in this page."
542
+ msgstr ""
543
+
544
+ #: plugin-fw/lib/yit-plugin-panel.php:293
545
+ #: plugin-fw/lib/yit-plugin-subpanel.php:148
546
+ msgid "Reset to default"
547
+ msgstr ""
548
+
549
+ # @ yit
550
+ #: plugin-fw/lib/yit-plugin-panel.php:293
551
+ #: plugin-fw/lib/yit-plugin-subpanel.php:148
552
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
553
+ msgid "Are you sure?"
554
+ msgstr ""
555
+
556
+ # @ yit
557
+ #: plugin-fw/lib/yit-plugin-panel.php:427
558
+ msgid ""
559
+ "The element you have entered already exists. Please, enter another name."
560
+ msgstr ""
561
+
562
+ # @ yit
563
+ #: plugin-fw/lib/yit-plugin-panel.php:428
564
+ msgid "Settings saved"
565
+ msgstr ""
566
+
567
+ # @ yit
568
+ #: plugin-fw/lib/yit-plugin-panel.php:429
569
+ msgid "Settings reset"
570
+ msgstr ""
571
+
572
+ # @ yit
573
+ #: plugin-fw/lib/yit-plugin-panel.php:430
574
+ msgid "Element deleted correctly."
575
+ msgstr ""
576
+
577
+ # @ yit
578
+ #: plugin-fw/lib/yit-plugin-panel.php:431
579
+ #: plugin-fw/lib/yit-plugin-panel.php:432
580
+ msgid "Element updated correctly."
581
+ msgstr ""
582
+
583
+ # @ yit
584
+ #: plugin-fw/lib/yit-plugin-panel.php:433
585
+ msgid "Database imported correctly."
586
+ msgstr ""
587
+
588
+ # @ yit
589
+ #: plugin-fw/lib/yit-plugin-panel.php:434
590
+ msgid "An error has occurred during import. Please try again."
591
+ msgstr ""
592
+
593
+ # @ yit
594
+ #: plugin-fw/lib/yit-plugin-panel.php:435
595
+ msgid "The added file is not valid."
596
+ msgstr ""
597
+
598
+ # @ yit
599
+ #: plugin-fw/lib/yit-plugin-panel.php:436
600
+ msgid "Sorry, import is disabled."
601
+ msgstr ""
602
+
603
+ # @ yit
604
+ #: plugin-fw/lib/yit-plugin-panel.php:437
605
+ msgid "Sorting successful."
606
+ msgstr ""
607
+
608
+ # @ yit
609
+ #: plugin-fw/lib/yit-plugin-subpanel.php:146
610
+ msgid ""
611
+ "If you continue with this action, you will reset all the options in this "
612
+ "page."
613
+ msgstr ""
614
+
615
+ # @ yit
616
+ #: plugin-fw/lib/yit-pointers.php:70
617
+ msgid "Plugins Activated"
618
+ msgstr ""
619
+
620
+ # @ yit
621
+ #: plugin-fw/lib/yit-pointers.php:71
622
+ msgid ""
623
+ "From now on, you can find all plugin options in YIT Plugin menu.\n"
624
+ " For each plugin installed, "
625
+ "customization settings will be available as a new entry in YIT Plugin menu."
626
+ msgstr ""
627
+
628
+ # @ yit
629
+ #: plugin-fw/lib/yit-pointers.php:73 plugin-fw/lib/yit-pointers.php:89
630
+ msgid "Discover all our plugins available on:"
631
+ msgstr ""
632
+
633
+ # @ yit
634
+ #: plugin-fw/lib/yit-pointers.php:74 plugin-fw/lib/yit-pointers.php:90
635
+ msgid "and"
636
+ msgstr ""
637
+
638
+ # @ yit
639
+ #: plugin-fw/lib/yit-pointers.php:84
640
+ msgid "Plugins Upgraded"
641
+ msgstr ""
642
+
643
+ # @ yit
644
+ #: plugin-fw/lib/yit-pointers.php:85
645
+ msgid ""
646
+ "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
647
+ " Any time one of our plugins is updated, "
648
+ "a new entry will be added to this menu.\n"
649
+ " For example, after the update, plugin "
650
+ "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
651
+ "Search, etc.)\n"
652
+ " will be moved from previous location to "
653
+ "YIT Plugin tab."
654
+ msgstr ""
655
+
656
+ # @ yit
657
+ #: plugin-fw/lib/yit-upgrade.php:123
658
+ msgid "There is a new version of %plugin_name% available."
659
+ msgstr ""
660
+
661
+ # @ yit
662
+ #: plugin-fw/lib/yit-upgrade.php:124
663
+ msgid "View version %latest% details."
664
+ msgstr ""
665
+
666
+ # @ yit
667
+ #: plugin-fw/lib/yit-upgrade.php:125
668
+ msgid "Automatic update is unavailable for this plugin,"
669
+ msgstr ""
670
+
671
+ # @ yit
672
+ #: plugin-fw/lib/yit-upgrade.php:126
673
+ msgid ""
674
+ "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
675
+ msgstr ""
676
+
677
+ # @ yit
678
+ #: plugin-fw/lib/yit-upgrade.php:127
679
+ msgid "Update now."
680
+ msgstr ""
681
+
682
+ # @ yit
683
+ #: plugin-fw/lib/yit-upgrade.php:250
684
+ msgid "Yithemes Repository"
685
+ msgstr ""
686
+
687
+ # @ default
688
+ #: plugin-fw/lib/yit-upgrade.php:284
689
+ msgid "Invalid URL Provided."
690
+ msgstr ""
691
+
692
+ # @ default
693
+ #: plugin-fw/lib/yit-upgrade.php:297
694
+ msgid "Could not create Temporary file."
695
+ msgstr ""
696
+
697
+ # @ yit
698
+ #: plugin-fw/lib/yit-upgrade.php:439
699
+ #, php-format
700
+ msgid ""
701
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
702
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>."
703
+ msgstr ""
704
+
705
+ # @ yit
706
+ #: plugin-fw/lib/yit-upgrade.php:441
707
+ #, php-format
708
+ msgid ""
709
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
710
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
711
+ "have to activate the plugin on a single site of the network to benefit from "
712
+ "automatic updates.</em>"
713
+ msgstr ""
714
+
715
+ # @ yit
716
+ #: plugin-fw/lib/yit-upgrade.php:443
717
+ #, php-format
718
+ msgid ""
719
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
720
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
721
+ "<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
722
+ "title=\"Licence activation\">activate</a> your copy of %6s.</em>"
723
+ msgstr ""
724
+
725
+ # @ yit
726
+ #: plugin-fw/lib/yit-upgrade.php:445
727
+ #, php-format
728
+ msgid ""
729
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
730
+ "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
731
+ "href=\"%5$s\">update now</a>."
732
+ msgstr ""
733
+
734
+ # @ yit
735
+ #: plugin-fw/lib/yit-upgrade.php:518
736
+ msgid "You can't update the plugins for this site."
737
+ msgstr ""
738
+
739
+ # @ yit
740
+ #: plugin-fw/lib/yit-upgrade.php:522
741
+ msgid ""
742
+ "You do not have sufficient permissions to update the plugins for this site."
743
+ msgstr ""
744
+
745
+ # @ default
746
+ #: plugin-fw/lib/yit-upgrade.php:529
747
+ msgid "Update Plugin"
748
+ msgstr ""
749
+
750
+ #: plugin-fw/licence/lib/yit-licence.php:161
751
+ #, php-format
752
+ msgctxt "%s = field name"
753
+ msgid "%s field cannot be empty"
754
+ msgstr ""
755
+
756
+ #: plugin-fw/licence/lib/yit-licence.php:162
757
+ #, php-format
758
+ msgid "%s and %s fields cannot be empty"
759
+ msgstr ""
760
+
761
+ # @ yit
762
+ #: plugin-fw/licence/lib/yit-licence.php:163
763
+ msgid "Unable to contact the remote server, please try again later. Thanks!"
764
+ msgstr ""
765
+
766
+ # @ yit
767
+ #: plugin-fw/licence/lib/yit-licence.php:548
768
+ msgid "Invalid Request"
769
+ msgstr ""
770
+
771
+ # @ yit
772
+ #: plugin-fw/licence/lib/yit-licence.php:549
773
+ msgid "Invalid licence key"
774
+ msgstr ""
775
+
776
+ # @ yit
777
+ #: plugin-fw/licence/lib/yit-licence.php:550
778
+ msgid "Software has been deactivated"
779
+ msgstr ""
780
+
781
+ # @ yit
782
+ #: plugin-fw/licence/lib/yit-licence.php:551
783
+ msgid "Maximum number of activations exceeded"
784
+ msgstr ""
785
+
786
+ # @ yit
787
+ #: plugin-fw/licence/lib/yit-licence.php:552
788
+ msgid "Invalid instance ID"
789
+ msgstr ""
790
+
791
+ # @ yit
792
+ #: plugin-fw/licence/lib/yit-licence.php:553
793
+ msgid "Invalid security key"
794
+ msgstr ""
795
+
796
+ # @ yit
797
+ #: plugin-fw/licence/lib/yit-licence.php:554
798
+ msgid "Licence key has expired"
799
+ msgstr ""
800
+
801
+ # @ yit
802
+ #: plugin-fw/licence/lib/yit-licence.php:555
803
+ msgid "Licence key has been banned"
804
+ msgstr ""
805
+
806
+ # @ yit
807
+ #: plugin-fw/licence/lib/yit-plugin-licence.php:68
808
+ #: plugin-fw/licence/lib/yit-plugin-licence.php:69
809
+ #: plugin-fw/licence/lib/yit-theme-licence.php:64
810
+ #: plugin-fw/licence/lib/yit-theme-licence.php:65
811
+ #: plugin-fw/licence/lib/yit-theme-licence.php:105
812
+ #: plugin-fw/licence/lib/yit-theme-licence.php:106
813
+ msgid "Licence Activation"
814
+ msgstr ""
815
+
816
+ # @ yit
817
+ #: plugin-fw/licence/lib/yit-theme-licence.php:113
818
+ #: plugin-fw/licence/lib/yit-theme-licence.php:114
819
+ #, php-format
820
+ msgid "%s"
821
+ msgstr ""
822
+
823
+ # @ yit
824
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:19
825
+ msgid "Yithemes Licence Activation"
826
+ msgstr ""
827
+
828
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:23
829
+ msgid ""
830
+ "I cannot find the license key for activating the theme I have bought some "
831
+ "time ago. Where can I find it?"
832
+ msgstr ""
833
+
834
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:26
835
+ msgid ""
836
+ "If you have purchased one of our products before 27 January 2015, you can "
837
+ "benefit from support and updates (the services offered with the license)\n"
838
+ " until 27 January 2016 and you do not have to purchase it again "
839
+ "to get a new license key, because, before this date, your license used to be "
840
+ "activated automatically by our system.\n"
841
+ " After 27 January 2016, instead, if you want to benefit from "
842
+ "support and updates you have to buy a new license and activate it through "
843
+ "the license key you will be\n"
844
+ " provided with and that you can find in your YIThemes account, in "
845
+ "section \"My licenses\"."
846
+ msgstr ""
847
+
848
+ # @ yit
849
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:37
850
+ msgid ""
851
+ "Have you updated your licenses? Have you asked for an extension? Update "
852
+ "information concerning your products."
853
+ msgstr ""
854
+
855
+ # @ yit
856
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:39
857
+ msgid "Update licence information"
858
+ msgstr ""
859
+
860
+ # @ yit
861
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:49
862
+ msgid "Products to be activated"
863
+ msgstr ""
864
+
865
+ # @ yit
866
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:68
867
+ msgid "Activate"
868
+ msgstr ""
869
+
870
+ # @ yit
871
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:87
872
+ msgid "Activated"
873
+ msgstr ""
874
+
875
+ # @ yit
876
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:91
877
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:123
878
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:147
879
+ msgid "Product Name"
880
+ msgstr ""
881
+
882
+ # @ yit
883
+ # @ ywraq
884
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:92
885
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:124
886
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:148
887
+ #: plugin-fw/templates/metaboxes/types/contactform.php:148
888
+ #: plugin-fw/templates/metaboxes/types/contactform.php:340
889
+ #: templates/request-quote-form.php:30
890
+ msgid "Email"
891
+ msgstr "E-mail"
892
+
893
+ # @ yit
894
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:93
895
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:125
896
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:149
897
+ msgid "Licence Key"
898
+ msgstr ""
899
+
900
+ # @ yit
901
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:94
902
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:150
903
+ msgid "Expires"
904
+ msgstr ""
905
+
906
+ # @ yit
907
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:95
908
+ msgid "Remaining"
909
+ msgstr ""
910
+
911
+ # @ yit
912
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:96
913
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:109
914
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:151
915
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:161
916
+ msgid "Renew"
917
+ msgstr ""
918
+
919
+ # @ yit
920
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:107
921
+ #, php-format
922
+ msgid "%1s out of %2s"
923
+ msgstr ""
924
+
925
+ # @ yit
926
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:119
927
+ msgid "Banned"
928
+ msgstr ""
929
+
930
+ # @ yit
931
+ #: plugin-fw/licence/templates/panel/activation/activation-panel.php:143
932
+ msgid "Expired"
933
+ msgstr ""
934
+
935
+ # @ yit
936
+ #: plugin-fw/templates/metaboxes/types/ajax-products.php:23
937
+ msgid "Search for a product"
938
+ msgstr ""
939
+
940
+ # @ yit
941
+ #: plugin-fw/templates/metaboxes/types/categories.php:36
942
+ msgid "No categories."
943
+ msgstr ""
944
+
945
+ # @ yit
946
+ #: plugin-fw/templates/metaboxes/types/categories.php:42
947
+ msgid "+ Add New Category"
948
+ msgstr ""
949
+
950
+ # @ yit
951
+ #: plugin-fw/templates/metaboxes/types/contactform.php:7
952
+ msgid "Text Input"
953
+ msgstr ""
954
+
955
+ # @ yit
956
+ #: plugin-fw/templates/metaboxes/types/contactform.php:8
957
+ msgid "Checkbox"
958
+ msgstr ""
959
+
960
+ # @ yit
961
+ #: plugin-fw/templates/metaboxes/types/contactform.php:9
962
+ msgid "Select"
963
+ msgstr ""
964
+
965
+ # @ yit
966
+ #: plugin-fw/templates/metaboxes/types/contactform.php:10
967
+ msgid "Textarea"
968
+ msgstr ""
969
+
970
+ # @ yit
971
+ #: plugin-fw/templates/metaboxes/types/contactform.php:11
972
+ msgid "Radio Input"
973
+ msgstr ""
974
+
975
+ # @ yit
976
+ #: plugin-fw/templates/metaboxes/types/contactform.php:12
977
+ msgid "Password Field"
978
+ msgstr ""
979
+
980
+ # @ yit
981
+ #: plugin-fw/templates/metaboxes/types/contactform.php:13
982
+ msgid "File Upload"
983
+ msgstr ""
984
+
985
+ # @ yit
986
+ #: plugin-fw/templates/metaboxes/types/contactform.php:47
987
+ msgid "Theme Icon"
988
+ msgstr ""
989
+
990
+ # @ yit
991
+ #: plugin-fw/templates/metaboxes/types/contactform.php:48
992
+ msgid "Custom Icon"
993
+ msgstr ""
994
+
995
+ # @ yit
996
+ #: plugin-fw/templates/metaboxes/types/contactform.php:49
997
+ #: plugin-fw/templates/metaboxes/types/responsivesliders.php:24
998
+ msgid "None"
999
+ msgstr ""
1000
+
1001
+ # @ yit
1002
+ #: plugin-fw/templates/metaboxes/types/contactform.php:60
1003
+ msgid "Add field"
1004
+ msgstr ""
1005
+
1006
+ # @ yit
1007
+ #: plugin-fw/templates/metaboxes/types/contactform.php:69
1008
+ #: plugin-fw/templates/metaboxes/types/contactform.php:261
1009
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:37
1010
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:82
1011
+ msgid "Remove"
1012
+ msgstr ""
1013
+
1014
+ # @ yit
1015
+ #: plugin-fw/templates/metaboxes/types/contactform.php:70
1016
+ #: plugin-fw/templates/metaboxes/types/contactform.php:262
1017
+ msgid "Click to toggle"
1018
+ msgstr ""
1019
+
1020
+ #: plugin-fw/templates/metaboxes/types/contactform.php:77
1021
+ #: plugin-fw/templates/metaboxes/types/contactform.php:269
1022
+ msgid "Field Title"
1023
+ msgstr ""
1024
+
1025
+ # @ yit
1026
+ #: plugin-fw/templates/metaboxes/types/contactform.php:81
1027
+ #: plugin-fw/templates/metaboxes/types/contactform.php:273
1028
+ msgid "Insert the title for the field."
1029
+ msgstr ""
1030
+
1031
+ # @ yit
1032
+ #: plugin-fw/templates/metaboxes/types/contactform.php:86
1033
+ #: plugin-fw/templates/metaboxes/types/contactform.php:278
1034
+ msgid "Data Name"
1035
+ msgstr ""
1036
+
1037
+ # @ yit
1038
+ #: plugin-fw/templates/metaboxes/types/contactform.php:90
1039
+ #: plugin-fw/templates/metaboxes/types/contactform.php:282
1040
+ msgid ""
1041
+ "REQUIRED: Field identification name to be entered into email body. "
1042
+ "<strong>Note:</strong>Use only lowercase characters and underscores."
1043
+ msgstr ""
1044
+
1045
+ #: plugin-fw/templates/metaboxes/types/contactform.php:95
1046
+ #: plugin-fw/templates/metaboxes/types/contactform.php:287
1047
+ msgid "Field Type"
1048
+ msgstr ""
1049
+
1050
+ # @ yit
1051
+ #: plugin-fw/templates/metaboxes/types/contactform.php:103
1052
+ #: plugin-fw/templates/metaboxes/types/contactform.php:295
1053
+ msgid "Select the type for this field."
1054
+ msgstr ""
1055
+
1056
+ # @ yit
1057
+ #: plugin-fw/templates/metaboxes/types/contactform.php:108
1058
+ #: plugin-fw/templates/metaboxes/types/contactform.php:300
1059
+ msgid "Checked"
1060
+ msgstr ""
1061
+
1062
+ # @ yit
1063
+ #: plugin-fw/templates/metaboxes/types/contactform.php:112
1064
+ #: plugin-fw/templates/metaboxes/types/contactform.php:304
1065
+ msgid "Select this option if you want this field appears as already checked."
1066
+ msgstr ""
1067
+
1068
+ # @ yit
1069
+ #: plugin-fw/templates/metaboxes/types/contactform.php:117
1070
+ #: plugin-fw/templates/metaboxes/types/contactform.php:309
1071
+ msgid "Add options "
1072
+ msgstr ""
1073
+
1074
+ # @ yit
1075
+ #: plugin-fw/templates/metaboxes/types/contactform.php:118
1076
+ #: plugin-fw/templates/metaboxes/types/contactform.php:310
1077
+ msgid "Add option"
1078
+ msgstr ""
1079
+
1080
+ # @ yit
1081
+ #: plugin-fw/templates/metaboxes/types/contactform.php:121
1082
+ #: plugin-fw/templates/metaboxes/types/contactform.php:313
1083
+ #: plugin-fw/templates/metaboxes/types/contactform.php:436
1084
+ msgid "Selected"
1085
+ msgstr ""
1086
+
1087
+ # @ yit
1088
+ #: plugin-fw/templates/metaboxes/types/contactform.php:124
1089
+ #: plugin-fw/templates/metaboxes/types/contactform.php:316
1090
+ #: plugin-fw/templates/metaboxes/types/contactform.php:436
1091
+ msgid "Delete option"
1092
+ msgstr ""
1093
+
1094
+ # @ yit
1095
+ #: plugin-fw/templates/metaboxes/types/contactform.php:130
1096
+ #: plugin-fw/templates/metaboxes/types/contactform.php:322
1097
+ msgid "Error Message"
1098
+ msgstr ""
1099
+
1100
+ # @ yit
1101
+ #: plugin-fw/templates/metaboxes/types/contactform.php:134
1102
+ #: plugin-fw/templates/metaboxes/types/contactform.php:326
1103
+ msgid "Insert the error message for validation."
1104
+ msgstr ""
1105
+
1106
+ # @ yit
1107
+ #: plugin-fw/templates/metaboxes/types/contactform.php:139
1108
+ #: plugin-fw/templates/metaboxes/types/contactform.php:331
1109
+ msgid "Required"
1110
+ msgstr ""
1111
+
1112
+ # @ yit
1113
+ #: plugin-fw/templates/metaboxes/types/contactform.php:143
1114
+ #: plugin-fw/templates/metaboxes/types/contactform.php:335
1115
+ msgid "Select this option if it must be required."
1116
+ msgstr ""
1117
+
1118
+ # @ yit
1119
+ #: plugin-fw/templates/metaboxes/types/contactform.php:152
1120
+ #: plugin-fw/templates/metaboxes/types/contactform.php:344
1121
+ msgid "Select this option if the email must be valid."
1122
+ msgstr ""
1123
+
1124
+ # @ yit
1125
+ #: plugin-fw/templates/metaboxes/types/contactform.php:157
1126
+ #: plugin-fw/templates/metaboxes/types/contactform.php:349
1127
+ msgid "Reply To"
1128
+ msgstr ""
1129
+
1130
+ # @ yit
1131
+ #: plugin-fw/templates/metaboxes/types/contactform.php:161
1132
+ #: plugin-fw/templates/metaboxes/types/contactform.php:353
1133
+ msgid "Select this if it is the email you can reply to."
1134
+ msgstr ""
1135
+
1136
+ # @ yit
1137
+ #: plugin-fw/templates/metaboxes/types/contactform.php:166
1138
+ #: plugin-fw/templates/metaboxes/types/contactform.php:358
1139
+ msgid "Class"
1140
+ msgstr ""
1141
+
1142
+ # @ yit
1143
+ #: plugin-fw/templates/metaboxes/types/contactform.php:170
1144
+ #: plugin-fw/templates/metaboxes/types/contactform.php:362
1145
+ msgid ""
1146
+ "Insert additional class(es) (separated by commas) for more personalization."
1147
+ msgstr ""
1148
+
1149
+ # @ yit
1150
+ #: plugin-fw/templates/metaboxes/types/contactform.php:175
1151
+ #: plugin-fw/templates/metaboxes/types/contactform.php:367
1152
+ msgid "Icon"
1153
+ msgstr ""
1154
+
1155
+ # @ yit
1156
+ #: plugin-fw/templates/metaboxes/types/contactform.php:203
1157
+ #: plugin-fw/templates/metaboxes/types/contactform.php:391
1158
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:69
1159
+ #: plugin-fw/templates/metaboxes/types/select-icon.php:33
1160
+ #: plugin-fw/templates/metaboxes/types/upload.php:21
1161
+ #: plugin-fw/templates/panel/types/upload.php:31
1162
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:40
1163
+ msgid "Upload"
1164
+ msgstr ""
1165
+
1166
+ # @ yit
1167
+ #: plugin-fw/templates/metaboxes/types/contactform.php:209
1168
+ #: plugin-fw/templates/metaboxes/types/contactform.php:397
1169
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:75
1170
+ #: plugin-fw/templates/metaboxes/types/select-icon.php:39
1171
+ msgid "Image preview"
1172
+ msgstr ""
1173
+
1174
+ # @ yit
1175
+ #: plugin-fw/templates/metaboxes/types/contactform.php:217
1176
+ #: plugin-fw/templates/metaboxes/types/contactform.php:405
1177
+ msgid "Insert an icon for more personalization."
1178
+ msgstr ""
1179
+
1180
+ # @ yit
1181
+ #: plugin-fw/templates/metaboxes/types/contactform.php:222
1182
+ #: plugin-fw/templates/metaboxes/types/contactform.php:409
1183
+ msgid "Width"
1184
+ msgstr ""
1185
+
1186
+ # @ yit
1187
+ #: plugin-fw/templates/metaboxes/types/contactform.php:247
1188
+ #: plugin-fw/templates/metaboxes/types/contactform.php:421
1189
+ msgid "Set field length."
1190
+ msgstr ""
1191
+
1192
+ # @ yit
1193
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:28
1194
+ msgid "Close all"
1195
+ msgstr ""
1196
+
1197
+ # @ yit
1198
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:28
1199
+ msgid "Expand all"
1200
+ msgstr ""
1201
+
1202
+ # @ yit
1203
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:52
1204
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:95
1205
+ msgid "Value"
1206
+ msgstr ""
1207
+
1208
+ # @ yit
1209
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:53
1210
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:96
1211
+ msgid "Content of the tab. (HTML is supported)"
1212
+ msgstr ""
1213
+
1214
+ # @ yit
1215
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:65
1216
+ msgid "Add custom product tab"
1217
+ msgstr ""
1218
+
1219
+ # @ yit
1220
+ #: plugin-fw/templates/metaboxes/types/customtabs.php:107
1221
+ msgid "Do you want to remove the custom tab?"
1222
+ msgstr ""
1223
+
1224
+ # @ yit
1225
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:89
1226
+ #, php-format
1227
+ msgid "(Default: %s <img src=\"%s\"/>)"
1228
+ msgstr ""
1229
+
1230
+ # @ yit
1231
+ #: plugin-fw/templates/metaboxes/types/icon-list.php:91
1232
+ #, php-format
1233
+ msgid "(Default: <i %s></i> )"
1234
+ msgstr ""
1235
+
1236
+ # @ yit
1237
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:40
1238
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1239
+ #: plugin-fw/templates/metaboxes/types/images.php:38
1240
+ #: plugin-fw/templates/metaboxes/types/images.php:64
1241
+ msgid "Delete image"
1242
+ msgstr ""
1243
+
1244
+ # @ yit
1245
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1246
+ msgid "Add Images to Gallery"
1247
+ msgstr ""
1248
+
1249
+ # @ yit
1250
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1251
+ msgid "Add to gallery"
1252
+ msgstr ""
1253
+
1254
+ # @ yit
1255
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1256
+ msgid "Add images"
1257
+ msgstr ""
1258
+
1259
+ # @ yit
1260
+ #: plugin-fw/templates/metaboxes/types/image-gallery.php:45
1261
+ msgid "Delete"
1262
+ msgstr ""
1263
+
1264
+ # @ yit
1265
+ #: plugin-fw/templates/metaboxes/types/images.php:42
1266
+ msgid "Upload new images"
1267
+ msgstr ""
1268
+
1269
+ # @ yit
1270
+ #: plugin-fw/templates/metaboxes/types/images.php:75
1271
+ msgid "Are you sure you want to remove this image?"
1272
+ msgstr ""
1273
+
1274
+ # @ yit
1275
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
1276
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:36
1277
+ msgid "Left sidebar"
1278
+ msgstr ""
1279
+
1280
+ # @ yit
1281
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
1282
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:42
1283
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:45
1284
+ msgid "No sidebar"
1285
+ msgstr ""
1286
+
1287
+ # @ yit
1288
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
1289
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:39
1290
+ msgid "Right sidebar"
1291
+ msgstr ""
1292
+
1293
+ # @ yit
1294
+ #: plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
1295
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:53
1296
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:64
1297
+ msgid "Choose a sidebar"
1298
+ msgstr ""
1299
+
1300
+ # @ yit
1301
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:51
1302
+ msgid "Left Sidebar"
1303
+ msgstr ""
1304
+
1305
+ # @ yit
1306
+ #: plugin-fw/templates/metaboxes/types/sidebars.php:62
1307
+ msgid "Right Sidebar"
1308
+ msgstr ""
1309
+
1310
+ # @ yit
1311
+ #: plugin-fw/templates/metaboxes/types/typography.php:42
1312
+ msgid "px"
1313
+ msgstr ""
1314
+
1315
+ # @ yit
1316
+ #: plugin-fw/templates/metaboxes/types/typography.php:43
1317
+ msgid "em"
1318
+ msgstr ""
1319
+
1320
+ # @ yit
1321
+ #: plugin-fw/templates/metaboxes/types/typography.php:44
1322
+ msgid "pt"
1323
+ msgstr ""
1324
+
1325
+ # @ yit
1326
+ #: plugin-fw/templates/metaboxes/types/typography.php:45
1327
+ msgid "rem"
1328
+ msgstr ""
1329
+
1330
+ # @ yit
1331
+ #: plugin-fw/templates/metaboxes/types/typography.php:59
1332
+ #: plugin-fw/templates/metaboxes/types/typography.php:153
1333
+ #: plugin-fw/templates/metaboxes/types/typography.php:217
1334
+ msgid "Web fonts"
1335
+ msgstr ""
1336
+
1337
+ # @ yit
1338
+ #: plugin-fw/templates/metaboxes/types/typography.php:71
1339
+ msgid "Google fonts"
1340
+ msgstr ""
1341
+
1342
+ # @ yit
1343
+ #: plugin-fw/templates/metaboxes/types/typography.php:96
1344
+ msgid "Regular"
1345
+ msgstr ""
1346
+
1347
+ # @ yit
1348
+ #: plugin-fw/templates/metaboxes/types/typography.php:97
1349
+ msgid "Bold"
1350
+ msgstr ""
1351
+
1352
+ # @ yit
1353
+ #: plugin-fw/templates/metaboxes/types/typography.php:98
1354
+ msgid "Extra bold"
1355
+ msgstr ""
1356
+
1357
+ # @ yit
1358
+ #: plugin-fw/templates/metaboxes/types/typography.php:99
1359
+ msgid "Italic"
1360
+ msgstr ""
1361
+
1362
+ # @ yit
1363
+ #: plugin-fw/templates/metaboxes/types/typography.php:100
1364
+ msgid "Italic bold"
1365
+ msgstr ""
1366
+
1367
+ # @ yit
1368
+ #: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
1369
+ msgid "Reset Defaults"
1370
+ msgstr ""
1371
+
1372
+ #: plugin-options/settings-options.php:21
1373
+ msgid "Upgrade to the PREMIUM VERSION"
1374
+ msgstr ""
1375
+
1376
+ # @ ywraq
1377
+ #: plugin-options/settings-options.php:24
1378
+ #, fuzzy
1379
+ msgid "YITH Woocommerce Request A Quote"
1380
+ msgstr "Pedir um orçamento"
1381
+
1382
+ #: plugin-options/settings-options.php:25
1383
+ msgid "Discover the Advanced Features"
1384
+ msgstr ""
1385
+
1386
+ #: plugin-options/settings-options.php:26
1387
+ msgid ""
1388
+ "Upgrade to the PREMIUM VERSION of YITH Woocommerce Request A Quote to "
1389
+ "benefit from all features!"
1390
+ msgstr ""
1391
+
1392
+ # @ ywraq
1393
+ #: plugin-options/settings-options.php:30
1394
+ #, fuzzy
1395
+ msgid "YITH WooCommerce Request A Quote"
1396
+ msgstr "Pedir um orçamento"
1397
+
1398
+ #: plugin-options/settings-options.php:32
1399
+ msgid "Get Support and Pro Features"
1400
+ msgstr ""
1401
+
1402
+ #: plugin-options/settings-options.php:33
1403
+ msgid ""
1404
+ "By purchasing the premium version of the plugin, you will benefit from the "
1405
+ "advanced features of the product and you will get one year of free update "
1406
+ "and support through our platform available 24h/24."
1407
+ msgstr ""
1408
+
1409
+ # @ ywraq
1410
+ #: plugin-options/settings-options.php:43
1411
+ msgid "Request a Quote - General settings"
1412
+ msgstr "Pedir um orçamento - Configurações Gerais"
1413
+
1414
+ # @ yit
1415
+ #: plugin-options/settings-options.php:49
1416
+ msgid "Request Quote Page"
1417
+ msgstr ""
1418
+
1419
+ # @ ywraq
1420
+ #: plugin-options/settings-options.php:50
1421
+ msgid "Page contents: [yith_ywraq_request_quote]"
1422
+ msgstr "Conteúdo da página: [yith_ywraq_request_quote]"
1423
+
1424
+ # @ ywraq
1425
+ #: plugin-options/settings-options.php:59
1426
+ msgid "Button type"
1427
+ msgstr "Tipo do botão"
1428
+
1429
+ # @ ywraq
1430
+ #: plugin-options/settings-options.php:64
1431
+ msgid "Link"
1432
+ msgstr "Link"
1433
+
1434
+ # @ ywraq
1435
+ #: plugin-options/settings-options.php:65
1436
+ msgid "Button"
1437
+ msgstr "Botão"
1438
+
1439
+ # @ ywraq
1440
+ #: plugin-options/settings-options.php:71
1441
+ msgid "Button/Link text"
1442
+ msgstr "Botão/Link texto"
1443
+
1444
+ # @ ywraq
1445
+ #: plugin-options/settings-options.php:75
1446
+ msgid "Add to quote"
1447
+ msgstr "Adicionar o orçamento"
1448
+
1449
+ # @ ywraq
1450
+ #: plugin-options/settings-options.php:79
1451
+ msgid "Hide \"Add to cart\" button"
1452
+ msgstr "Ocultar botão \"Adicionar ao carrinho\""
1453
+
1454
+ # @ ywraq
1455
+ #: templates/add-to-quote.php:16
1456
+ msgid "The product is already in quote request list!"
1457
+ msgstr "O produto já está na lista de pedidos de orçamento!"
1458
+
1459
+ #: templates/admin/premium.php:198 templates/admin/premium.php:413
1460
+ #, php-format
1461
+ msgid ""
1462
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote"
1463
+ "%2$s to benefit from all features!"
1464
+ msgstr ""
1465
+
1466
+ #: templates/admin/premium.php:201 templates/admin/premium.php:416
1467
+ msgid "UPGRADE"
1468
+ msgstr ""
1469
+
1470
+ #: templates/admin/premium.php:202 templates/admin/premium.php:417
1471
+ msgid "to the premium version"
1472
+ msgstr ""
1473
+
1474
+ #: templates/admin/premium.php:208
1475
+ msgid "Premium Features"
1476
+ msgstr ""
1477
+
1478
+ #: templates/admin/premium.php:216
1479
+ msgid "CUSTOMISED BUTTON"
1480
+ msgstr ""
1481
+
1482
+ #: templates/admin/premium.php:219
1483
+ #, php-format
1484
+ msgid ""
1485
+ "Choose the style you prefer for your %s\"Add to Quote\"%s button! In the "
1486
+ "plugin option panel users will be able to find a section to set colours and "
1487
+ "text for the button"
1488
+ msgstr ""
1489
+
1490
+ #: templates/admin/premium.php:229
1491
+ msgid "NOT JUST IN PRODUCT PAGE"
1492
+ msgstr ""
1493
+
1494
+ #: templates/admin/premium.php:232
1495
+ #, php-format
1496
+ msgid ""
1497
+ "Give users the opportunity to add one or more products to their list for a "
1498
+ "quote request from many different pages in your shop, and %snot just from "
1499
+ "product detail page%s. Enable this option and the button will be shown also "
1500
+ "in other pages of your store."
1501
+ msgstr ""
1502
+
1503
+ #: templates/admin/premium.php:247
1504
+ msgid "HIDE PRODUCT PRICE"
1505
+ msgstr ""
1506
+
1507
+ #: templates/admin/premium.php:249
1508
+ msgid ""
1509
+ "Suppose that you do not want to show price for products in your shop. Just a "
1510
+ "click and your wish comes true. Enable the option \"Hide Price\" and it's "
1511
+ "done!"
1512
+ msgstr ""
1513
+
1514
+ #: templates/admin/premium.php:258
1515
+ msgid "EXCLUSION TABLE"
1516
+ msgstr ""
1517
+
1518
+ #: templates/admin/premium.php:261
1519
+ #, php-format
1520
+ msgid ""
1521
+ "A dedicated list where you can add those products that have to be excluded "
1522
+ "from quote requests. Enable the specific option and \"Add to Quote\" button "
1523
+ "will %snot be displayed%s for products in this table. "
1524
+ msgstr ""
1525
+
1526
+ #: templates/admin/premium.php:276
1527
+ msgid "USER FILTERS"
1528
+ msgstr ""
1529
+
1530
+ #: templates/admin/premium.php:279
1531
+ #, php-format
1532
+ msgid ""
1533
+ "A specific option allows you to filter users to which applying plugin "
1534
+ "features. You can choose among %1$sregistered%2$s users, %1$sunregistered"
1535
+ "%2$s ones or let the plugin work for all of them without making any "
1536
+ "distinction. "
1537
+ msgstr ""
1538
+
1539
+ #: templates/admin/premium.php:288
1540
+ msgid "REQUEST FORM"
1541
+ msgstr ""
1542
+
1543
+ #: templates/admin/premium.php:291
1544
+ #, php-format
1545
+ msgid ""
1546
+ "The plugin includes a default form for %ssending emails%s, but if you feel "
1547
+ "you're not satisfied by the form you find there, you can enjoy creating your "
1548
+ "contact form using \"Contact Form 7\" and \"YITH Contact Form\". Two "
1549
+ "external plugins that, once correctly set, work perfectly to improve your "
1550
+ "plugin features."
1551
+ msgstr ""
1552
+
1553
+ #: templates/admin/premium.php:306
1554
+ msgid "REQUEST MANAGEMENT"
1555
+ msgstr ""
1556
+
1557
+ #: templates/admin/premium.php:309
1558
+ #, php-format
1559
+ msgid ""
1560
+ "Every request you get is treated like an order! Yes, that's it. As soon as a "
1561
+ "user sends a quote request, you will see it in WooCommerce \"Orders\" "
1562
+ "section. %sMany details for each request%s, from current status to the "
1563
+ "username that generated it. A rich page specifically created to have "
1564
+ "everything there and at a hand's grasp."
1565
+ msgstr ""
1566
+
1567
+ #: templates/admin/premium.php:319
1568
+ msgid "SEND THE QUOTE"
1569
+ msgstr ""
1570
+
1571
+ #: templates/admin/premium.php:322
1572
+ #, php-format
1573
+ msgid ""
1574
+ "The best of interaction with your users. They send their request and you can "
1575
+ "answer so simply, just need to access your admin panel. A few steps to send "
1576
+ "the right proposal that %spersuades%s your customer to purchase."
1577
+ msgstr ""
1578
+
1579
+ #: templates/admin/premium.php:337
1580
+ msgid "ACCEPT OR REJECT?"
1581
+ msgstr ""
1582
+
1583
+ #: templates/admin/premium.php:340
1584
+ #, php-format
1585
+ msgid ""
1586
+ "Users can decide whether to %1$saccept%2$s or %1$sreject%2$s your quote "
1587
+ "proposal directly from the email they've got. Two simple choice options, "
1588
+ "that show professionalism and that your users will certainly appreciate. In "
1589
+ "case they accept, they will be redirected to the order checkout."
1590
+ msgstr ""
1591
+
1592
+ #: templates/admin/premium.php:351
1593
+ msgid "A QUOTE WITH EXPIRATION"
1594
+ msgstr ""
1595
+
1596
+ #: templates/admin/premium.php:354
1597
+ #, php-format
1598
+ msgid ""
1599
+ "You made a good offer, one that cannot be rejected, and you want to urge "
1600
+ "your customer to purchase by %ssetting an expiration date for the proposal "
1601
+ "you are offering?%s Add the expiration date directly from the request page "
1602
+ "while you are writing your undeniable proposal."
1603
+ msgstr ""
1604
+
1605
+ #: templates/admin/premium.php:370
1606
+ msgid "Send PDF attachment"
1607
+ msgstr ""
1608
+
1609
+ #: templates/admin/premium.php:373
1610
+ msgid ""
1611
+ "Choose the best form to send your quote offer: send the quote and the list "
1612
+ "of selected products either in the email body, or as PDF attachment or both "
1613
+ "of them. Everyone with their own style and needs."
1614
+ msgstr ""
1615
+
1616
+ #: templates/admin/premium.php:383
1617
+ msgid "Widget"
1618
+ msgstr ""
1619
+
1620
+ #: templates/admin/premium.php:385
1621
+ #, php-format
1622
+ msgid ""
1623
+ "Add a wigdet in the sidebar of your shop and put it at your customers' "
1624
+ "disposal. There they will see a %slist%s with all products they have "
1625
+ "selected and added to the quote request so far."
1626
+ msgstr ""
1627
+
1628
+ #: templates/admin/premium.php:401
1629
+ msgid "Recent requests in \"My Account\""
1630
+ msgstr ""
1631
+
1632
+ #: templates/admin/premium.php:404
1633
+ #, php-format
1634
+ msgid ""
1635
+ "All users registered in your store can see all quote requests they have sent "
1636
+ "from %s\"My Account\"%s page and check details, included the current status "
1637
+ "for them."
1638
+ msgstr ""
1639
+
1640
+ # @ ywraq
1641
+ #: templates/emails/plain/request-quote.php:15
1642
+ #, php-format
1643
+ msgid ""
1644
+ "You have received a quote request from %s. The request is the following:"
1645
+ msgstr ""
1646
+ "Você recebeu uma solicitação de orçamento de %s. O pedido é o seguinte:"
1647
+
1648
+ # @ ywraq
1649
+ #: templates/emails/plain/request-quote.php:45
1650
+ #: templates/emails/request-quote.php:52
1651
+ msgid "Customer message"
1652
+ msgstr "Mensagem do cliente"
1653
+
1654
+ # @ ywraq
1655
+ #: templates/emails/plain/request-quote.php:50
1656
+ #: templates/emails/request-quote.php:55
1657
+ msgid "Customer details"
1658
+ msgstr "Detalhes do cliente"
1659
+
1660
+ # @ ywraq
1661
+ #: templates/emails/plain/request-quote.php:52
1662
+ #: templates/emails/request-quote.php:57
1663
+ msgid "Name:"
1664
+ msgstr "Nome:"
1665
+
1666
+ # @ ywraq
1667
+ #: templates/emails/plain/request-quote.php:53
1668
+ #: templates/emails/request-quote.php:58
1669
+ msgid "Email:"
1670
+ msgstr "E-mail:"
1671
+
1672
+ # @ ywraq
1673
+ #: templates/emails/request-quote.php:13
1674
+ #, php-format
1675
+ msgid "You received a quote request from %s. The request is the following:"
1676
+ msgstr ""
1677
+ "Você recebeu uma solicitação de orçamento de %s. O pedido é o seguinte:"
1678
+
1679
+ # @ ywraq
1680
+ #: templates/emails/request-quote.php:17
1681
+ msgid "Request Quote"
1682
+ msgstr "Pedido de Orçamento"
1683
+
1684
+ # @ ywraq
1685
+ #: templates/emails/request-quote.php:22 templates/request-quote-view.php:21
1686
+ msgid "Product"
1687
+ msgstr "Produto"
1688
+
1689
+ # @ ywraq
1690
+ #: templates/emails/request-quote.php:23 templates/request-quote-view.php:22
1691
+ msgid "Quantity"
1692
+ msgstr "Quantidade"
1693
+
1694
+ # @ ywraq
1695
+ #: templates/emails/request-quote.php:24
1696
+ msgid "Subtotal"
1697
+ msgstr "Subtotal"
1698
+
1699
+ # @ ywraq
1700
+ #: templates/request-quote-form.php:19
1701
+ msgid "Send the request"
1702
+ msgstr "Enviar o pedido"
1703
+
1704
+ # @ ywraq
1705
+ #: templates/request-quote-form.php:36
1706
+ msgid "Message"
1707
+ msgstr "Mensagem"
1708
+
1709
+ # @ ywraq
1710
+ #: templates/request-quote-form.php:37
1711
+ msgid "Notes on your request..."
1712
+ msgstr "Notas sobre o seu pedido..."
1713
+
1714
+ # @ ywraq
1715
+ #: templates/request-quote-form.php:42
1716
+ msgid "Send Your Request"
1717
+ msgstr "Envie o seu pedido"
1718
+
1719
+ # @ ywraq
1720
+ #: templates/request-quote-view.php:13
1721
+ msgid "No products in list"
1722
+ msgstr "Não há produtos em lista"
1723
+
1724
+ # @ ywraq
1725
+ #: templates/request-quote-view.php:23
1726
+ msgid "Total"
1727
+ msgstr "Total"
1728
+
1729
+ # @ ywraq
1730
+ #: templates/request-quote-view.php:36
1731
+ msgid "Remove this item"
1732
+ msgstr "Remove esse item"
1733
+
1734
+ # @ ywraq
1735
+ #: templates/request-quote-view.php:133
1736
+ msgid "Update List"
1737
+ msgstr "Atualizar Lista"
1738
+
1739
+ # @ ywraq
1740
+ #: yith-woocommerce-request-a-quote.php:45
1741
+ msgid ""
1742
+ "You can't activate the free version of YITH Woocommerce Request A Quote "
1743
+ "while you are using the premium one."
1744
+ msgstr ""
1745
+ "Você não pode ativar a versão gratuita do YITH Woocommerce Request A Quote "
1746
+ "enquanto você estiver usando um premium."
1747
+
1748
+ #: yith-woocommerce-request-a-quote.php:112
1749
+ msgid ""
1750
+ "YITH Woocommerce Request A Quote is enabled but not effective. It requires "
1751
+ "WooCommerce in order to work."
1752
+ msgstr ""
1753
+
1754
+ # @ ywraq
1755
+ #~ msgid ""
1756
+ #~ "YITH Woocommerce Request A Quote is enabled but not effective. It "
1757
+ #~ "requires Woocommerce in order to work."
1758
+ #~ msgstr ""
1759
+ #~ "YITH Woocommerce Request A Quote é habilitado, mas não é eficaz. Ela "
1760
+ #~ "exige Woocommerce para trabalhar."
modules/yith-woocommerce-request-a-quote/languages/yith-woocommerce-request-a-quote.pot ADDED
@@ -0,0 +1,569 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: YIT WooCommerce Request a Quote\n"
5
+ "POT-Creation-Date: 2015-11-06 10:04+0100\n"
6
+ "PO-Revision-Date: 2015-07-31 10:14+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Yithemes <plugins@yithemes.com>\n"
9
+ "Language: en\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.6\n"
14
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;__ngettext:1,2;"
15
+ "__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
16
+ "_nx_noop:4c,1,2\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
19
+ "X-Poedit-SearchPath-0: ..\n"
20
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
21
+
22
+ #: ../includes/class.yith-request-quote-admin.php:151
23
+ #: ../includes/class.yith-request-quote-admin.php:258
24
+ msgid "Settings"
25
+ msgstr ""
26
+
27
+ #: ../includes/class.yith-request-quote-admin.php:155
28
+ #: ../includes/class.yith-request-quote-admin.php:260
29
+ msgid "Premium Version"
30
+ msgstr ""
31
+
32
+ #: ../includes/class.yith-request-quote-admin.php:158
33
+ msgid "Layout"
34
+ msgstr ""
35
+
36
+ #: ../includes/class.yith-request-quote-admin.php:159
37
+ msgid "Exclusion List"
38
+ msgstr ""
39
+
40
+ #: ../includes/class.yith-request-quote-admin.php:165
41
+ #: ../includes/class.yith-request-quote-admin.php:166
42
+ #: ../includes/class.yith-request-quote-admin.php:214
43
+ msgid "Request a Quote"
44
+ msgstr ""
45
+
46
+ #: ../includes/class.yith-request-quote-admin.php:213
47
+ msgctxt "page_slug"
48
+ msgid "request-quote"
49
+ msgstr ""
50
+
51
+ #: ../includes/class.yith-request-quote-admin.php:286
52
+ msgid "Plugin Documentation"
53
+ msgstr ""
54
+
55
+ #: ../includes/class.yith-request-quote-frontend.php:130
56
+ msgid "Your list is empty"
57
+ msgstr ""
58
+
59
+ #: ../includes/class.yith-request-quote-frontend.php:179
60
+ #: ../includes/functions.yith-request-quote.php:417
61
+ msgid "Browse the list"
62
+ msgstr ""
63
+
64
+ #: ../includes/class.yith-request-quote.php:281
65
+ #: ../includes/class.yith-request-quote.php:441
66
+ #: ../includes/class.yith-request-quote.php:487
67
+ msgid "Product already in the list."
68
+ msgstr ""
69
+
70
+ #: ../includes/class.yith-request-quote.php:431
71
+ msgid "Error occurred while adding product to Request a Quote list."
72
+ msgstr ""
73
+
74
+ #: ../includes/class.yith-request-quote.php:438
75
+ msgid "Product added!"
76
+ msgstr ""
77
+
78
+ #: ../includes/class.yith-request-quote.php:552
79
+ msgid "Please enter a name"
80
+ msgstr ""
81
+
82
+ #: ../includes/class.yith-request-quote.php:556
83
+ msgid "Please enter a valid email"
84
+ msgstr ""
85
+
86
+ #: ../includes/class.yith-request-quote.php:560
87
+ msgid "Your list is empty, add products to the list to send a request"
88
+ msgstr ""
89
+
90
+ #: ../includes/class.yith-request-quote.php:579
91
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:76
92
+ msgid "There was a problem in sending your request. Please try again."
93
+ msgstr ""
94
+
95
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:31
96
+ msgid "Email to request a quote"
97
+ msgstr ""
98
+
99
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:32
100
+ msgid "This email is sent when a user clicks on \"Request a quote\" button"
101
+ msgstr ""
102
+
103
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:34
104
+ msgid "Request a quote"
105
+ msgstr ""
106
+
107
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:35
108
+ msgid "[Request a quote]"
109
+ msgstr ""
110
+
111
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:74
112
+ msgid "Your request has been sent successfully"
113
+ msgstr ""
114
+
115
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:164
116
+ msgid "\"From\" Name"
117
+ msgstr ""
118
+
119
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:171
120
+ msgid "\"From\" Email Address"
121
+ msgstr ""
122
+
123
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:178
124
+ msgid "Subject"
125
+ msgstr ""
126
+
127
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:180
128
+ #, php-format
129
+ msgid ""
130
+ "This field lets you modify the email subject line. Leave it blank to use "
131
+ "default subject: <code>%s</code>."
132
+ msgstr ""
133
+
134
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:185
135
+ msgid "Recipient(s)"
136
+ msgstr ""
137
+
138
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:187
139
+ #, php-format
140
+ msgid ""
141
+ "Enter recipients (comma separated) for this email. Defaults to <code>%s</"
142
+ "code>"
143
+ msgstr ""
144
+
145
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:192
146
+ msgid "Send CC copy"
147
+ msgstr ""
148
+
149
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:194
150
+ msgid "Send a carbon copy to the user"
151
+ msgstr ""
152
+
153
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:198
154
+ msgid "Email Heading"
155
+ msgstr ""
156
+
157
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:200
158
+ #, php-format
159
+ msgid ""
160
+ "This field lets you modify the main heading contained within the email "
161
+ "notification. Leave blank to use the default heading: <code>%s</code>."
162
+ msgstr ""
163
+
164
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:205
165
+ msgid "Email type"
166
+ msgstr ""
167
+
168
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:207
169
+ msgid "Choose format for the email to be sent."
170
+ msgstr ""
171
+
172
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:211
173
+ msgid "Plain text"
174
+ msgstr ""
175
+
176
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:212
177
+ msgid "HTML"
178
+ msgstr ""
179
+
180
+ #: ../includes/emails/class.yith-ywraq-send-email-request-quote.php:213
181
+ msgid "Multipart"
182
+ msgstr ""
183
+
184
+ #: ../includes/functions.yith-request-quote.php:277
185
+ #: ../includes/functions.yith-request-quote.php:286
186
+ msgid "new"
187
+ msgstr ""
188
+
189
+ #: ../includes/functions.yith-request-quote.php:280
190
+ msgid "pending"
191
+ msgstr ""
192
+
193
+ #: ../includes/functions.yith-request-quote.php:283
194
+ msgid "expired"
195
+ msgstr ""
196
+
197
+ #: ../includes/functions.yith-request-quote.php:289
198
+ msgid "rejected"
199
+ msgstr ""
200
+
201
+ #: ../includes/functions.yith-request-quote.php:292
202
+ #: ../includes/functions.yith-request-quote.php:295
203
+ msgid "accepted"
204
+ msgstr ""
205
+
206
+ #: ../includes/functions.yith-request-quote.php:333
207
+ #: ../includes/functions.yith-request-quote.php:359
208
+ msgid "Plugin not activated or not installed"
209
+ msgstr ""
210
+
211
+ #: ../includes/functions.yith-request-quote.php:344
212
+ #: ../includes/functions.yith-request-quote.php:368
213
+ msgid "No contact form found"
214
+ msgstr ""
215
+
216
+ #: ../plugin-options/settings-options.php:21
217
+ msgid "Upgrade to the PREMIUM VERSION"
218
+ msgstr ""
219
+
220
+ #: ../plugin-options/settings-options.php:24
221
+ msgid "YITH Woocommerce Request A Quote"
222
+ msgstr ""
223
+
224
+ #: ../plugin-options/settings-options.php:25
225
+ msgid "Discover the Advanced Features"
226
+ msgstr ""
227
+
228
+ #: ../plugin-options/settings-options.php:26
229
+ msgid ""
230
+ "Upgrade to the PREMIUM VERSION of YITH Woocommerce Request A Quote to "
231
+ "benefit from all features!"
232
+ msgstr ""
233
+
234
+ #: ../plugin-options/settings-options.php:30
235
+ msgid "YITH WooCommerce Request A Quote"
236
+ msgstr ""
237
+
238
+ #: ../plugin-options/settings-options.php:32
239
+ msgid "Get Support and Pro Features"
240
+ msgstr ""
241
+
242
+ #: ../plugin-options/settings-options.php:33
243
+ msgid ""
244
+ "By purchasing the premium version of the plugin, you will benefit from the "
245
+ "advanced features of the product and you will get one year of free update "
246
+ "and support through our platform available 24h/24."
247
+ msgstr ""
248
+
249
+ #: ../plugin-options/settings-options.php:43
250
+ msgid "Request a Quote - General settings"
251
+ msgstr ""
252
+
253
+ #: ../plugin-options/settings-options.php:49
254
+ msgid "Request Quote Page"
255
+ msgstr ""
256
+
257
+ #: ../plugin-options/settings-options.php:50
258
+ msgid "Page contents: [yith_ywraq_request_quote]"
259
+ msgstr ""
260
+
261
+ #: ../plugin-options/settings-options.php:59
262
+ msgid "Button type"
263
+ msgstr ""
264
+
265
+ #: ../plugin-options/settings-options.php:64
266
+ msgid "Link"
267
+ msgstr ""
268
+
269
+ #: ../plugin-options/settings-options.php:65
270
+ msgid "Button"
271
+ msgstr ""
272
+
273
+ #: ../plugin-options/settings-options.php:71
274
+ msgid "Button/Link text"
275
+ msgstr ""
276
+
277
+ #: ../plugin-options/settings-options.php:75
278
+ msgid "Add to quote"
279
+ msgstr ""
280
+
281
+ #: ../plugin-options/settings-options.php:79
282
+ msgid "Hide \"Add to cart\" button"
283
+ msgstr ""
284
+
285
+ #: ../templates/add-to-quote.php:16
286
+ msgid "The product is already in quote request list!"
287
+ msgstr ""
288
+
289
+ #: ../templates/admin/premium.php:198 ../templates/admin/premium.php:413
290
+ #, php-format
291
+ msgid ""
292
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote"
293
+ "%2$s to benefit from all features!"
294
+ msgstr ""
295
+
296
+ #: ../templates/admin/premium.php:201 ../templates/admin/premium.php:416
297
+ msgid "UPGRADE"
298
+ msgstr ""
299
+
300
+ #: ../templates/admin/premium.php:202 ../templates/admin/premium.php:417
301
+ msgid "to the premium version"
302
+ msgstr ""
303
+
304
+ #: ../templates/admin/premium.php:208
305
+ msgid "Premium Features"
306
+ msgstr ""
307
+
308
+ #: ../templates/admin/premium.php:216
309
+ msgid "CUSTOMISED BUTTON"
310
+ msgstr ""
311
+
312
+ #: ../templates/admin/premium.php:219
313
+ #, php-format
314
+ msgid ""
315
+ "Choose the style you prefer for your %s\"Add to Quote\"%s button! In the "
316
+ "plugin option panel users will be able to find a section to set colours and "
317
+ "text for the button"
318
+ msgstr ""
319
+
320
+ #: ../templates/admin/premium.php:229
321
+ msgid "NOT JUST IN PRODUCT PAGE"
322
+ msgstr ""
323
+
324
+ #: ../templates/admin/premium.php:232
325
+ #, php-format
326
+ msgid ""
327
+ "Give users the opportunity to add one or more products to their list for a "
328
+ "quote request from many different pages in your shop, and %snot just from "
329
+ "product detail page%s. Enable this option and the button will be shown also "
330
+ "in other pages of your store."
331
+ msgstr ""
332
+
333
+ #: ../templates/admin/premium.php:247
334
+ msgid "HIDE PRODUCT PRICE"
335
+ msgstr ""
336
+
337
+ #: ../templates/admin/premium.php:249
338
+ msgid ""
339
+ "Suppose that you do not want to show price for products in your shop. Just a "
340
+ "click and your wish comes true. Enable the option \"Hide Price\" and it's "
341
+ "done!"
342
+ msgstr ""
343
+
344
+ #: ../templates/admin/premium.php:258
345
+ msgid "EXCLUSION TABLE"
346
+ msgstr ""
347
+
348
+ #: ../templates/admin/premium.php:261
349
+ #, php-format
350
+ msgid ""
351
+ "A dedicated list where you can add those products that have to be excluded "
352
+ "from quote requests. Enable the specific option and \"Add to Quote\" button "
353
+ "will %snot be displayed%s for products in this table. "
354
+ msgstr ""
355
+
356
+ #: ../templates/admin/premium.php:276
357
+ msgid "USER FILTERS"
358
+ msgstr ""
359
+
360
+ #: ../templates/admin/premium.php:279
361
+ #, php-format
362
+ msgid ""
363
+ "A specific option allows you to filter users to which applying plugin "
364
+ "features. You can choose among %1$sregistered%2$s users, %1$sunregistered"
365
+ "%2$s ones or let the plugin work for all of them without making any "
366
+ "distinction. "
367
+ msgstr ""
368
+
369
+ #: ../templates/admin/premium.php:288
370
+ msgid "REQUEST FORM"
371
+ msgstr ""
372
+
373
+ #: ../templates/admin/premium.php:291
374
+ #, php-format
375
+ msgid ""
376
+ "The plugin includes a default form for %ssending emails%s, but if you feel "
377
+ "you're not satisfied by the form you find there, you can enjoy creating your "
378
+ "contact form using \"Contact Form 7\" and \"YITH Contact Form\". Two "
379
+ "external plugins that, once correctly set, work perfectly to improve your "
380
+ "plugin features."
381
+ msgstr ""
382
+
383
+ #: ../templates/admin/premium.php:306
384
+ msgid "REQUEST MANAGEMENT"
385
+ msgstr ""
386
+
387
+ #: ../templates/admin/premium.php:309
388
+ #, php-format
389
+ msgid ""
390
+ "Every request you get is treated like an order! Yes, that's it. As soon as a "
391
+ "user sends a quote request, you will see it in WooCommerce \"Orders\" "
392
+ "section. %sMany details for each request%s, from current status to the "
393
+ "username that generated it. A rich page specifically created to have "
394
+ "everything there and at a hand's grasp."
395
+ msgstr ""
396
+
397
+ #: ../templates/admin/premium.php:319
398
+ msgid "SEND THE QUOTE"
399
+ msgstr ""
400
+
401
+ #: ../templates/admin/premium.php:322
402
+ #, php-format
403
+ msgid ""
404
+ "The best of interaction with your users. They send their request and you can "
405
+ "answer so simply, just need to access your admin panel. A few steps to send "
406
+ "the right proposal that %spersuades%s your customer to purchase."
407
+ msgstr ""
408
+
409
+ #: ../templates/admin/premium.php:337
410
+ msgid "ACCEPT OR REJECT?"
411
+ msgstr ""
412
+
413
+ #: ../templates/admin/premium.php:340
414
+ #, php-format
415
+ msgid ""
416
+ "Users can decide whether to %1$saccept%2$s or %1$sreject%2$s your quote "
417
+ "proposal directly from the email they've got. Two simple choice options, "
418
+ "that show professionalism and that your users will certainly appreciate. In "
419
+ "case they accept, they will be redirected to the order checkout."
420
+ msgstr ""
421
+
422
+ #: ../templates/admin/premium.php:351
423
+ msgid "A QUOTE WITH EXPIRATION"
424
+ msgstr ""
425
+
426
+ #: ../templates/admin/premium.php:354
427
+ #, php-format
428
+ msgid ""
429
+ "You made a good offer, one that cannot be rejected, and you want to urge "
430
+ "your customer to purchase by %ssetting an expiration date for the proposal "
431
+ "you are offering?%s Add the expiration date directly from the request page "
432
+ "while you are writing your undeniable proposal."
433
+ msgstr ""
434
+
435
+ #: ../templates/admin/premium.php:370
436
+ msgid "Send PDF attachment"
437
+ msgstr ""
438
+
439
+ #: ../templates/admin/premium.php:373
440
+ msgid ""
441
+ "Choose the best form to send your quote offer: send the quote and the list "
442
+ "of selected products either in the email body, or as PDF attachment or both "
443
+ "of them. Everyone with their own style and needs."
444
+ msgstr ""
445
+
446
+ #: ../templates/admin/premium.php:383
447
+ msgid "Widget"
448
+ msgstr ""
449
+
450
+ #: ../templates/admin/premium.php:385
451
+ #, php-format
452
+ msgid ""
453
+ "Add a wigdet in the sidebar of your shop and put it at your customers' "
454
+ "disposal. There they will see a %slist%s with all products they have "
455
+ "selected and added to the quote request so far."
456
+ msgstr ""
457
+
458
+ #: ../templates/admin/premium.php:401
459
+ msgid "Recent requests in \"My Account\""
460
+ msgstr ""
461
+
462
+ #: ../templates/admin/premium.php:404
463
+ #, php-format
464
+ msgid ""
465
+ "All users registered in your store can see all quote requests they have sent "
466
+ "from %s\"My Account\"%s page and check details, included the current status "
467
+ "for them."
468
+ msgstr ""
469
+
470
+ #: ../templates/emails/plain/request-quote.php:15
471
+ #, php-format
472
+ msgid ""
473
+ "You have received a quote request from %s. The request is the following:"
474
+ msgstr ""
475
+
476
+ #: ../templates/emails/plain/request-quote.php:45
477
+ #: ../templates/emails/request-quote.php:52
478
+ msgid "Customer message"
479
+ msgstr ""
480
+
481
+ #: ../templates/emails/plain/request-quote.php:50
482
+ #: ../templates/emails/request-quote.php:55
483
+ msgid "Customer details"
484
+ msgstr ""
485
+
486
+ #: ../templates/emails/plain/request-quote.php:52
487
+ #: ../templates/emails/request-quote.php:57
488
+ msgid "Name:"
489
+ msgstr ""
490
+
491
+ #: ../templates/emails/plain/request-quote.php:53
492
+ #: ../templates/emails/request-quote.php:58
493
+ msgid "Email:"
494
+ msgstr ""
495
+
496
+ #: ../templates/emails/request-quote.php:13
497
+ #, php-format
498
+ msgid "You received a quote request from %s. The request is the following:"
499
+ msgstr ""
500
+
501
+ #: ../templates/emails/request-quote.php:17
502
+ msgid "Request Quote"
503
+ msgstr ""
504
+
505
+ #: ../templates/emails/request-quote.php:22
506
+ #: ../templates/request-quote-view.php:21
507
+ msgid "Product"
508
+ msgstr ""
509
+
510
+ #: ../templates/emails/request-quote.php:23
511
+ #: ../templates/request-quote-view.php:22
512
+ msgid "Quantity"
513
+ msgstr ""
514
+
515
+ #: ../templates/emails/request-quote.php:24
516
+ msgid "Subtotal"
517
+ msgstr ""
518
+
519
+ #: ../templates/request-quote-form.php:19
520
+ msgid "Send the request"
521
+ msgstr ""
522
+
523
+ #: ../templates/request-quote-form.php:24
524
+ msgid "Name"
525
+ msgstr ""
526
+
527
+ #: ../templates/request-quote-form.php:30
528
+ msgid "Email"
529
+ msgstr ""
530
+
531
+ #: ../templates/request-quote-form.php:36
532
+ msgid "Message"
533
+ msgstr ""
534
+
535
+ #: ../templates/request-quote-form.php:37
536
+ msgid "Notes on your request..."
537
+ msgstr ""
538
+
539
+ #: ../templates/request-quote-form.php:42
540
+ msgid "Send Your Request"
541
+ msgstr ""
542
+
543
+ #: ../templates/request-quote-view.php:13
544
+ msgid "No products in list"
545
+ msgstr ""
546
+
547
+ #: ../templates/request-quote-view.php:23
548
+ msgid "Total"
549
+ msgstr ""
550
+
551
+ #: ../templates/request-quote-view.php:36
552
+ msgid "Remove this item"
553
+ msgstr ""
554
+
555
+ #: ../templates/request-quote-view.php:133
556
+ msgid "Update List"
557
+ msgstr ""
558
+
559
+ #: ../yith-woocommerce-request-a-quote.php:45
560
+ msgid ""
561
+ "You can't activate the free version of YITH Woocommerce Request A Quote "
562
+ "while you are using the premium one."
563
+ msgstr ""
564
+
565
+ #: ../yith-woocommerce-request-a-quote.php:112
566
+ msgid ""
567
+ "YITH Woocommerce Request A Quote is enabled but not effective. It requires "
568
+ "WooCommerce in order to work."
569
+ msgstr ""
modules/yith-woocommerce-request-a-quote/plugin-options/settings-options.php CHANGED
@@ -18,19 +18,19 @@ return array(
18
  'settings' => array(
19
 
20
  'section_general_settings_videobox' => array(
21
- 'name' => __( 'Upgrade to the PREMIUM VERSION', 'ywraq' ),
22
  'type' => 'videobox',
23
  'default' => array(
24
- 'plugin_name' => __( 'YITH Woocommerce Request A Quote', 'ywraq' ),
25
- 'title_first_column' => __( 'Discover the Advanced Features', 'ywraq' ),
26
- 'description_first_column' => __('Upgrade to the PREMIUM VERSION of YITH Woocommerce Request A Quote to benefit from all features!', 'ywraq'),
27
  'video' => array(
28
  'video_id' => '123722478',
29
  'video_image_url' => YITH_YWRAQ_ASSETS_URL.'/images/request-a-quote.jpg',
30
  'video_description' => __( 'YITH WooCommerce Request A Quote', 'yit' ),
31
  ),
32
- 'title_second_column' => __( 'Get Support and Pro Features', 'ywraq' ),
33
- 'description_second_column' => __('By purchasing the premium version of the plugin, you will benefit from the advanced features of the product and you will get one year of free update and support through our platform available 24h/24.', 'ywraq'),
34
  'button' => array(
35
  'href' => YITH_YWRAQ_Admin()->get_premium_landing_uri(),
36
  'title' => 'Get Support and Pro Features'
@@ -40,14 +40,14 @@ return array(
40
  ),
41
 
42
  'section_general_settings' => array(
43
- 'name' => __( 'Request a Quote - General settings', 'ywraq' ),
44
  'type' => 'title',
45
  'id' => 'ywraq_section_general'
46
  ),
47
 
48
  'page_id' => array(
49
- 'name' => __( 'Request Quote Page', 'ywraq' ),
50
- 'desc' => __( 'Page contents: [yith_ywraq_request_quote]', 'ywraq' ),
51
  'id' => 'ywraq_page_id',
52
  'type' => 'single_select_page',
53
  'class' => 'yith-ywraq-chosen',
@@ -56,27 +56,27 @@ return array(
56
  ),
57
 
58
  'show_btn_link' => array(
59
- 'name' => __( 'Button type', 'ywraq' ),
60
  'desc' => '',
61
  'id' => 'ywraq_show_btn_link',
62
  'type' => 'select',
63
  'options' => array(
64
- 'link' => __( 'Link', 'ywraq' ),
65
- 'button' => __( 'Button', 'ywraq' ),
66
  ),
67
  'default' => 'button',
68
  ),
69
 
70
  'show_btn_link_text' => array(
71
- 'name' => __( 'Button/Link text', 'ywraq' ),
72
  'desc' => '',
73
  'id' => 'ywraq_show_btn_link_text',
74
  'type' => 'text',
75
- 'default' => __('Add to quote', 'ywraq'),
76
  ),
77
 
78
  'hide_add_to_cart' => array(
79
- 'name' => __( 'Hide "Add to cart" button', 'ywraq' ),
80
  'desc' => '',
81
  'id' => 'ywraq_hide_add_to_cart',
82
  'type' => 'checkbox',
18
  'settings' => array(
19
 
20
  'section_general_settings_videobox' => array(
21
+ 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-request-a-quote' ),
22
  'type' => 'videobox',
23
  'default' => array(
24
+ 'plugin_name' => __( 'YITH Woocommerce Request A Quote', 'yith-woocommerce-request-a-quote' ),
25
+ 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-request-a-quote' ),
26
+ 'description_first_column' => __('Upgrade to the PREMIUM VERSION of YITH Woocommerce Request A Quote to benefit from all features!', 'yith-woocommerce-request-a-quote'),
27
  'video' => array(
28
  'video_id' => '123722478',
29
  'video_image_url' => YITH_YWRAQ_ASSETS_URL.'/images/request-a-quote.jpg',
30
  'video_description' => __( 'YITH WooCommerce Request A Quote', 'yit' ),
31
  ),
32
+ 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-request-a-quote' ),
33
+ 'description_second_column' => __('By purchasing the premium version of the plugin, you will benefit from the advanced features of the product and you will get one year of free update and support through our platform available 24h/24.', 'yith-woocommerce-request-a-quote'),
34
  'button' => array(
35
  'href' => YITH_YWRAQ_Admin()->get_premium_landing_uri(),
36
  'title' => 'Get Support and Pro Features'
40
  ),
41
 
42
  'section_general_settings' => array(
43
+ 'name' => __( 'Request a Quote - General settings', 'yith-woocommerce-request-a-quote' ),
44
  'type' => 'title',
45
  'id' => 'ywraq_section_general'
46
  ),
47
 
48
  'page_id' => array(
49
+ 'name' => __( 'Request Quote Page', 'yith-woocommerce-request-a-quote' ),
50
+ 'desc' => __( 'Page contents: [yith_ywraq_request_quote]', 'yith-woocommerce-request-a-quote' ),
51
  'id' => 'ywraq_page_id',
52
  'type' => 'single_select_page',
53
  'class' => 'yith-ywraq-chosen',
56
  ),
57
 
58
  'show_btn_link' => array(
59
+ 'name' => __( 'Button type', 'yith-woocommerce-request-a-quote' ),
60
  'desc' => '',
61
  'id' => 'ywraq_show_btn_link',
62
  'type' => 'select',
63
  'options' => array(
64
+ 'link' => __( 'Link', 'yith-woocommerce-request-a-quote' ),
65
+ 'button' => __( 'Button', 'yith-woocommerce-request-a-quote' ),
66
  ),
67
  'default' => 'button',
68
  ),
69
 
70
  'show_btn_link_text' => array(
71
+ 'name' => __( 'Button/Link text', 'yith-woocommerce-request-a-quote' ),
72
  'desc' => '',
73
  'id' => 'ywraq_show_btn_link_text',
74
  'type' => 'text',
75
+ 'default' => __('Add to quote', 'yith-woocommerce-request-a-quote'),
76
  ),
77
 
78
  'hide_add_to_cart' => array(
79
+ 'name' => __( 'Hide "Add to cart" button', 'yith-woocommerce-request-a-quote' ),
80
  'desc' => '',
81
  'id' => 'ywraq_hide_add_to_cart',
82
  'type' => 'checkbox',
modules/yith-woocommerce-request-a-quote/templates/add-to-quote.php CHANGED
@@ -13,7 +13,7 @@
13
  <?php wc_get_template( 'add-to-quote-' . $template_part . '.php', $args, YITH_YWRAQ_DIR, YITH_YWRAQ_DIR ); ?>
14
  </div>
15
  <?php if( $exists ): ?>
16
- <div class="yith_ywraq_add_item_response-<?php echo $product_id ?> yith_ywraq_add_item_response_message"><?php echo apply_filters( 'ywraq_product_in_list', __('The product is already in quote request list!', 'ywraq') )?></div>
17
  <div class="yith_ywraq_add_item_browse-list-<?php echo $product_id ?> yith_ywraq_add_item_browse_message"><a href="<?php echo $rqa_url ?>"><?php echo $label_browse ?></a></div>
18
  <?php endif ?>
19
  </div>
13
  <?php wc_get_template( 'add-to-quote-' . $template_part . '.php', $args, YITH_YWRAQ_DIR, YITH_YWRAQ_DIR ); ?>
14
  </div>
15
  <?php if( $exists ): ?>
16
+ <div class="yith_ywraq_add_item_response-<?php echo $product_id ?> yith_ywraq_add_item_response_message"><?php echo apply_filters( 'ywraq_product_in_list', __('The product is already in quote request list!', 'yith-woocommerce-request-a-quote') )?></div>
17
  <div class="yith_ywraq_add_item_browse-list-<?php echo $product_id ?> yith_ywraq_add_item_browse_message"><a href="<?php echo $rqa_url ?>"><?php echo $label_browse ?></a></div>
18
  <?php endif ?>
19
  </div>
modules/yith-woocommerce-request-a-quote/templates/admin/premium.php CHANGED
@@ -195,17 +195,17 @@
195
  <div class="landing-container">
196
  <div class="premium-cta">
197
  <p>
198
- <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote%2$s to benefit from all features!','ywraq'),'<span class="highlight">','</span>' );?>
199
  </p>
200
  <a href="<?php echo YITH_YWRAQ_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
201
- <span class="highlight"><?php _e('UPGRADE','ywraq');?></span>
202
- <span><?php _e('to the premium version','ywraq');?></span>
203
  </a>
204
  </div>
205
  </div>
206
  </div>
207
  <div class="section section-even clear" style="background: url(<?php echo YITH_YWRAQ_URL ?>assets/images/01-bg.png) no-repeat #fff; background-position: 85% 75%">
208
- <h1><?PHP _e('Premium Features','ywraq');?></h1>
209
  <div class="landing-container">
210
  <div class="col-1">
211
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/01.png" alt="CUSTOMISED BUTTON" />
@@ -213,10 +213,10 @@
213
  <div class="col-2">
214
  <div class="section-title">
215
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/01-icon.png" alt="icon CUSTOMISED BUTTON"/>
216
- <h2><?PHP _e('CUSTOMISED BUTTON','ywraq');?></h2>
217
  </div>
218
  <p>
219
- <?php echo sprintf(__('Choose the style you prefer for your %s"Add to Quote"%s button! In the plugin option panel users will be able to find a section to set colours and text for the button','ywraq'),'<b>','</b>');?>
220
  </p>
221
  </div>
222
  </div>
@@ -226,10 +226,10 @@
226
  <div class="col-2">
227
  <div class="section-title">
228
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/02-icon.png" alt="icon 02" />
229
- <h2><?php _e('NOT JUST IN PRODUCT PAGE','ywraq');?></h2>
230
  </div>
231
  <p>
232
- <?php echo sprintf( __( 'Give users the opportunity to add one or more products to their list for a quote request from many different pages in your shop, and %snot just from product detail page%s. Enable this option and the button will be shown also in other pages of your store.','ywraq' ),'<b>','</b>' );?></p>
233
  </div>
234
  <div class="col-1">
235
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/02.png" alt="show button in different pages" />
@@ -244,9 +244,9 @@
244
  <div class="col-2">
245
  <div class="section-title">
246
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/03-icon.png" alt="icon 03" />
247
- <h2><?php _e( 'HIDE PRODUCT PRICE','ywraq');?></h2>
248
  </div>
249
- <p><?php _e('Suppose that you do not want to show price for products in your shop. Just a click and your wish comes true. Enable the option "Hide Price" and it\'s done!','ywraq');?></p>
250
  </div>
251
  </div>
252
  </div>
@@ -255,10 +255,10 @@
255
  <div class="col-2">
256
  <div class="section-title">
257
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/04-icon.png" alt="icon 04" />
258
- <h2><?php _e('EXCLUSION TABLE','ywraq');?></h2>
259
  </div>
260
  <p>
261
- <?php echo sprintf( __( 'A dedicated list where you can add those products that have to be excluded from quote requests. Enable the specific option and "Add to Quote" button will %snot be displayed%s for products in this table. ','ywraq' ),'<b>','</b>' );?></p>
262
  </div>
263
  <div class="col-1">
264
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/04.png" alt="exclusion table" />
@@ -273,10 +273,10 @@
273
  <div class="col-2">
274
  <div class="section-title">
275
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/05-icon.png" alt="icon 05" />
276
- <h2><?php _e('USER FILTERS','ywraq');?></h2>
277
  </div>
278
  <p>
279
- <?php echo sprintf( __('A specific option allows you to filter users to which applying plugin features. You can choose among %1$sregistered%2$s users, %1$sunregistered%2$s ones or let the plugin work for all of them without making any distinction. ','ywraq'),'<b>','</b>' );?></p>
280
  </div>
281
  </div>
282
  </div>
@@ -285,10 +285,10 @@
285
  <div class="col-2">
286
  <div class="section-title">
287
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/06-icon.png" alt="icon 06" />
288
- <h2><?php _e('REQUEST FORM','ywraq');?></h2>
289
  </div>
290
  <p>
291
- <?php echo sprintf( __('The plugin includes a default form for %ssending emails%s, but if you feel you\'re not satisfied by the form you find there, you can enjoy creating your contact form using "Contact Form 7" and "YITH Contact Form". Two external plugins that, once correctly set, work perfectly to improve your plugin features.','ywraq'),'<b>','</b>' );?></p>
292
  </div>
293
  <div class="col-1">
294
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/06.png" alt="request form" />
@@ -303,10 +303,10 @@
303
  <div class="col-2">
304
  <div class="section-title">
305
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/07-icon.png" alt="Icon 07" />
306
- <h2><?php _e('REQUEST MANAGEMENT','ywraq');?></h2>
307
  </div>
308
  <p>
309
- <?php echo sprintf( __('Every request you get is treated like an order! Yes, that\'s it. As soon as a user sends a quote request, you will see it in WooCommerce "Orders" section. %sMany details for each request%s, from current status to the username that generated it. A rich page specifically created to have everything there and at a hand\'s grasp.','ywraq'),'<b>','</b>' );?>
310
  </p>
311
  </div>
312
  </div>
@@ -316,10 +316,10 @@
316
  <div class="col-2">
317
  <div class="section-title">
318
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/08-icon.png" alt="icon 08" />
319
- <h2><?php _e('SEND THE QUOTE','ywraq');?></h2>
320
  </div>
321
  <p>
322
- <?php echo sprintf( __( 'The best of interaction with your users. They send their request and you can answer so simply, just need to access your admin panel. A few steps to send the right proposal that %spersuades%s your customer to purchase.','ywraq'),'<b>','</b>' );?></p>
323
  </div>
324
  <div class="col-1">
325
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/08.png" alt="send the quote" />
@@ -334,10 +334,10 @@
334
  <div class="col-2">
335
  <div class="section-title">
336
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/09-icon.png" alt="icon 09" />
337
- <h2><?php _e('ACCEPT OR REJECT?','ywraq');?></h2>
338
  </div>
339
  <p>
340
- <?php echo sprintf( __( 'Users can decide whether to %1$saccept%2$s or %1$sreject%2$s your quote proposal directly from the email they\'ve got. Two simple choice options, that show professionalism and that your users will certainly appreciate. In case they accept, they will be redirected to the order checkout.','ywraq' ),'<b>','</b>' );?>
341
  </p>
342
  </div>
343
  </div>
@@ -348,10 +348,10 @@
348
  <div class="col-2">
349
  <div class="section-title">
350
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/10-icon.png" alt="icon 10" />
351
- <h2><?php _e('A QUOTE WITH EXPIRATION','ywraq');?> </h2>
352
  </div>
353
  <p>
354
- <?php echo sprintf( __('You made a good offer, one that cannot be rejected, and you want to urge your customer to purchase by %ssetting an expiration date for the proposal you are offering?%s Add the expiration date directly from the request page while you are writing your undeniable proposal.','ywraq'),'<b>','</b>' );?>
355
  </p>
356
  </div>
357
  <div class="col-1">
@@ -367,10 +367,10 @@
367
  <div class="col-2">
368
  <div class="section-title">
369
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/13-icon.png" alt="icon 13" />
370
- <h2><?php _e('Send PDF attachment','ywraq');?></h2>
371
  </div>
372
  <p>
373
- <?php _e('Choose the best form to send your quote offer: send the quote and the list of selected products either in the email body, or as PDF attachment or both of them. Everyone with their own style and needs.','ywraq');?>
374
  </p>
375
  </div>
376
  </div>
@@ -380,9 +380,9 @@
380
  <div class="col-2">
381
  <div class="section-title">
382
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/12-icon.png" alt="icon 14" />
383
- <h2><?php _e('Widget','ywraq');?></h2>
384
  </div>
385
- <p><?php echo sprintf( __( 'Add a wigdet in the sidebar of your shop and put it at your customers\' disposal. There they will see a %slist%s with all products they have selected and added to the quote request so far.','ywraq' ),'<b>','</b>' );?>
386
  </p>
387
  </div>
388
  <div class="col-1">
@@ -398,10 +398,10 @@
398
  <div class="col-2">
399
  <div class="section-title">
400
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/11-icon.png" alt="icon 13" />
401
- <h2><?php _e('Recent requests in "My Account"','ywraq');?></h2>
402
  </div>
403
  <p>
404
- <?php echo sprintf( __('All users registered in your store can see all quote requests they have sent from %s"My Account"%s page and check details, included the current status for them.','ywraq'),'<b>','</b>' );?>
405
  </p>
406
  </div>
407
  </div>
@@ -410,11 +410,11 @@
410
  <div class="landing-container">
411
  <div class="premium-cta">
412
  <p>
413
- <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote%2$s to benefit from all features!','ywraq'),'<span class="highlight">','</span>' );?>
414
  </p>
415
  <a href="<?php echo YITH_YWRAQ_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
416
- <span class="highlight"><?php _e('UPGRADE','ywraq');?></span>
417
- <span><?php _e('to the premium version','ywraq');?></span>
418
  </a>
419
  </div>
420
  </div>
195
  <div class="landing-container">
196
  <div class="premium-cta">
197
  <p>
198
+ <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote%2$s to benefit from all features!','yith-woocommerce-request-a-quote'),'<span class="highlight">','</span>' );?>
199
  </p>
200
  <a href="<?php echo YITH_YWRAQ_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
201
+ <span class="highlight"><?php _e('UPGRADE','yith-woocommerce-request-a-quote');?></span>
202
+ <span><?php _e('to the premium version','yith-woocommerce-request-a-quote');?></span>
203
  </a>
204
  </div>
205
  </div>
206
  </div>
207
  <div class="section section-even clear" style="background: url(<?php echo YITH_YWRAQ_URL ?>assets/images/01-bg.png) no-repeat #fff; background-position: 85% 75%">
208
+ <h1><?PHP _e('Premium Features','yith-woocommerce-request-a-quote');?></h1>
209
  <div class="landing-container">
210
  <div class="col-1">
211
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/01.png" alt="CUSTOMISED BUTTON" />
213
  <div class="col-2">
214
  <div class="section-title">
215
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/01-icon.png" alt="icon CUSTOMISED BUTTON"/>
216
+ <h2><?PHP _e('CUSTOMISED BUTTON','yith-woocommerce-request-a-quote');?></h2>
217
  </div>
218
  <p>
219
+ <?php echo sprintf(__('Choose the style you prefer for your %s"Add to Quote"%s button! In the plugin option panel users will be able to find a section to set colours and text for the button','yith-woocommerce-request-a-quote'),'<b>','</b>');?>
220
  </p>
221
  </div>
222
  </div>
226
  <div class="col-2">
227
  <div class="section-title">
228
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/02-icon.png" alt="icon 02" />
229
+ <h2><?php _e('NOT JUST IN PRODUCT PAGE','yith-woocommerce-request-a-quote');?></h2>
230
  </div>
231
  <p>
232
+ <?php echo sprintf( __( 'Give users the opportunity to add one or more products to their list for a quote request from many different pages in your shop, and %snot just from product detail page%s. Enable this option and the button will be shown also in other pages of your store.','yith-woocommerce-request-a-quote' ),'<b>','</b>' );?></p>
233
  </div>
234
  <div class="col-1">
235
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/02.png" alt="show button in different pages" />
244
  <div class="col-2">
245
  <div class="section-title">
246
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/03-icon.png" alt="icon 03" />
247
+ <h2><?php _e( 'HIDE PRODUCT PRICE','yith-woocommerce-request-a-quote');?></h2>
248
  </div>
249
+ <p><?php _e('Suppose that you do not want to show price for products in your shop. Just a click and your wish comes true. Enable the option "Hide Price" and it\'s done!','yith-woocommerce-request-a-quote');?></p>
250
  </div>
251
  </div>
252
  </div>
255
  <div class="col-2">
256
  <div class="section-title">
257
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/04-icon.png" alt="icon 04" />
258
+ <h2><?php _e('EXCLUSION TABLE','yith-woocommerce-request-a-quote');?></h2>
259
  </div>
260
  <p>
261
+ <?php echo sprintf( __( 'A dedicated list where you can add those products that have to be excluded from quote requests. Enable the specific option and "Add to Quote" button will %snot be displayed%s for products in this table. ','yith-woocommerce-request-a-quote' ),'<b>','</b>' );?></p>
262
  </div>
263
  <div class="col-1">
264
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/04.png" alt="exclusion table" />
273
  <div class="col-2">
274
  <div class="section-title">
275
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/05-icon.png" alt="icon 05" />
276
+ <h2><?php _e('USER FILTERS','yith-woocommerce-request-a-quote');?></h2>
277
  </div>
278
  <p>
279
+ <?php echo sprintf( __('A specific option allows you to filter users to which applying plugin features. You can choose among %1$sregistered%2$s users, %1$sunregistered%2$s ones or let the plugin work for all of them without making any distinction. ','yith-woocommerce-request-a-quote'),'<b>','</b>' );?></p>
280
  </div>
281
  </div>
282
  </div>
285
  <div class="col-2">
286
  <div class="section-title">
287
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/06-icon.png" alt="icon 06" />
288
+ <h2><?php _e('REQUEST FORM','yith-woocommerce-request-a-quote');?></h2>
289
  </div>
290
  <p>
291
+ <?php echo sprintf( __('The plugin includes a default form for %ssending emails%s, but if you feel you\'re not satisfied by the form you find there, you can enjoy creating your contact form using "Contact Form 7" and "YITH Contact Form". Two external plugins that, once correctly set, work perfectly to improve your plugin features.','yith-woocommerce-request-a-quote'),'<b>','</b>' );?></p>
292
  </div>
293
  <div class="col-1">
294
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/06.png" alt="request form" />
303
  <div class="col-2">
304
  <div class="section-title">
305
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/07-icon.png" alt="Icon 07" />
306
+ <h2><?php _e('REQUEST MANAGEMENT','yith-woocommerce-request-a-quote');?></h2>
307
  </div>
308
  <p>
309
+ <?php echo sprintf( __('Every request you get is treated like an order! Yes, that\'s it. As soon as a user sends a quote request, you will see it in WooCommerce "Orders" section. %sMany details for each request%s, from current status to the username that generated it. A rich page specifically created to have everything there and at a hand\'s grasp.','yith-woocommerce-request-a-quote'),'<b>','</b>' );?>
310
  </p>
311
  </div>
312
  </div>
316
  <div class="col-2">
317
  <div class="section-title">
318
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/08-icon.png" alt="icon 08" />
319
+ <h2><?php _e('SEND THE QUOTE','yith-woocommerce-request-a-quote');?></h2>
320
  </div>
321
  <p>
322
+ <?php echo sprintf( __( 'The best of interaction with your users. They send their request and you can answer so simply, just need to access your admin panel. A few steps to send the right proposal that %spersuades%s your customer to purchase.','yith-woocommerce-request-a-quote'),'<b>','</b>' );?></p>
323
  </div>
324
  <div class="col-1">
325
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/08.png" alt="send the quote" />
334
  <div class="col-2">
335
  <div class="section-title">
336
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/09-icon.png" alt="icon 09" />
337
+ <h2><?php _e('ACCEPT OR REJECT?','yith-woocommerce-request-a-quote');?></h2>
338
  </div>
339
  <p>
340
+ <?php echo sprintf( __( 'Users can decide whether to %1$saccept%2$s or %1$sreject%2$s your quote proposal directly from the email they\'ve got. Two simple choice options, that show professionalism and that your users will certainly appreciate. In case they accept, they will be redirected to the order checkout.','yith-woocommerce-request-a-quote' ),'<b>','</b>' );?>
341
  </p>
342
  </div>
343
  </div>
348
  <div class="col-2">
349
  <div class="section-title">
350
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/10-icon.png" alt="icon 10" />
351
+ <h2><?php _e('A QUOTE WITH EXPIRATION','yith-woocommerce-request-a-quote');?> </h2>
352
  </div>
353
  <p>
354
+ <?php echo sprintf( __('You made a good offer, one that cannot be rejected, and you want to urge your customer to purchase by %ssetting an expiration date for the proposal you are offering?%s Add the expiration date directly from the request page while you are writing your undeniable proposal.','yith-woocommerce-request-a-quote'),'<b>','</b>' );?>
355
  </p>
356
  </div>
357
  <div class="col-1">
367
  <div class="col-2">
368
  <div class="section-title">
369
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/13-icon.png" alt="icon 13" />
370
+ <h2><?php _e('Send PDF attachment','yith-woocommerce-request-a-quote');?></h2>
371
  </div>
372
  <p>
373
+ <?php _e('Choose the best form to send your quote offer: send the quote and the list of selected products either in the email body, or as PDF attachment or both of them. Everyone with their own style and needs.','yith-woocommerce-request-a-quote');?>
374
  </p>
375
  </div>
376
  </div>
380
  <div class="col-2">
381
  <div class="section-title">
382
  <img src="<?php echo YITH_YWRAQ_URL ?>assets/images/12-icon.png" alt="icon 14" />
383
+ <h2><?php _e('Widget','yith-woocommerce-request-a-quote');?></h2>
384
  </div>
385
+ <p><?php echo sprintf( __( 'Add a wigdet in the sidebar of your shop and put it at your customers\' disposal. There they will see a %slist%s with all products they have selected and added to the quote request so far.','yith-woocommerce-request-a-quote' ),'<b>','</b>' );?>
386
  </p>
387
  </div>
388
  <div class="col-1">
398
  <div class="col-2">
399
  <div class="section-title">
400
  <img src="<?php echo YITH_YWRAQ_URL?>assets/images/11-icon.png" alt="icon 13" />
401
+ <h2><?php _e('Recent requests in "My Account"','yith-woocommerce-request-a-quote');?></h2>
402
  </div>
403
  <p>
404
+ <?php echo sprintf( __('All users registered in your store can see all quote requests they have sent from %s"My Account"%s page and check details, included the current status for them.','yith-woocommerce-request-a-quote'),'<b>','</b>' );?>
405
  </p>
406
  </div>
407
  </div>
410
  <div class="landing-container">
411
  <div class="premium-cta">
412
  <p>
413
+ <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Request a Quote%2$s to benefit from all features!','yith-woocommerce-request-a-quote'),'<span class="highlight">','</span>' );?>
414
  </p>
415
  <a href="<?php echo YITH_YWRAQ_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
416
+ <span class="highlight"><?php _e('UPGRADE','yith-woocommerce-request-a-quote');?></span>
417
+ <span><?php _e('to the premium version','yith-woocommerce-request-a-quote');?></span>
418
  </a>
419
  </div>
420
  </div>
modules/yith-woocommerce-request-a-quote/templates/emails/plain/request-quote.php CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
12
 
13
  echo $email_heading . "\n\n";
14
 
15
- echo sprintf( __( 'You have received a quote request from %s. The request is the following:', 'ywraq' ), $raq_data['user_name'] ) . "\n\n";
16
 
17
  echo "****************************************************\n\n";
18
 
@@ -42,15 +42,15 @@ do_action( 'yith_ywraq_email_after_raq_table', $raq_data );
42
 
43
  if( ! empty( $raq_data['user_message']) ){
44
 
45
- echo __( 'Customer message', 'ywraq' ) . "\n";
46
 
47
  echo $raq_data['user_message']. "\n\n";
48
  }
49
 
50
- echo __( 'Customer details', 'ywraq' ) . "\n";
51
 
52
- echo __( 'Name:', 'ywraq' ); echo $raq_data['user_name'] . "\n";
53
- echo __( 'Email:', 'ywraq' ); echo $raq_data['user_email'] . "\n";
54
 
55
  echo "\n****************************************************\n\n";
56
 
12
 
13
  echo $email_heading . "\n\n";
14
 
15
+ echo sprintf( __( 'You have received a quote request from %s. The request is the following:', 'yith-woocommerce-request-a-quote' ), $raq_data['user_name'] ) . "\n\n";
16
 
17
  echo "****************************************************\n\n";
18
 
42
 
43
  if( ! empty( $raq_data['user_message']) ){
44
 
45
+ echo __( 'Customer message', 'yith-woocommerce-request-a-quote' ) . "\n";
46
 
47
  echo $raq_data['user_message']. "\n\n";
48
  }
49
 
50
+ echo __( 'Customer details', 'yith-woocommerce-request-a-quote' ) . "\n";
51
 
52
+ echo __( 'Name:', 'yith-woocommerce-request-a-quote' ); echo $raq_data['user_name'] . "\n";
53
+ echo __( 'Email:', 'yith-woocommerce-request-a-quote' ); echo $raq_data['user_email'] . "\n";
54
 
55
  echo "\n****************************************************\n\n";
56
 
modules/yith-woocommerce-request-a-quote/templates/emails/request-quote.php CHANGED
@@ -10,18 +10,18 @@
10
 
11
  <?php do_action( 'woocommerce_email_header', $email_heading ); ?>
12
 
13
- <p><?php printf( __( 'You received a quote request from %s. The request is the following:', 'ywraq' ), $raq_data['user_name'] ); ?></p>
14
 
15
  <?php do_action( 'yith_ywraq_email_before_raq_table', $raq_data ); ?>
16
 
17
- <h2><?php _e('Request Quote', 'ywraq') ?></h2>
18
 
19
  <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee">
20
  <thead>
21
  <tr>
22
- <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Product', 'ywraq' ); ?></th>
23
- <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Quantity', 'ywraq' ); ?></th>
24
- <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Subtotal', 'ywraq' ); ?></th>
25
  </tr>
26
  </thead>
27
  <tbody>
@@ -49,12 +49,12 @@
49
 
50
  <?php do_action( 'yith_ywraq_email_after_raq_table', $raq_data ); ?>
51
  <?php if( ! empty( $raq_data['user_message']) ): ?>
52
- <h2><?php _e( 'Customer message', 'ywraq' ); ?></h2>
53
  <p><?php echo $raq_data['user_message'] ?></p>
54
  <?php endif ?>
55
- <h2><?php _e( 'Customer details', 'ywraq' ); ?></h2>
56
 
57
- <p><strong><?php _e( 'Name:', 'ywraq' ); ?></strong> <?php echo $raq_data['user_name'] ?></p>
58
- <p><strong><?php _e( 'Email:', 'ywraq' ); ?></strong> <a href="mailto:<?php echo $raq_data['user_email']; ?>"><?php echo $raq_data['user_email']; ?></a></p>
59
 
60
  <?php do_action( 'woocommerce_email_footer' ); ?>
10
 
11
  <?php do_action( 'woocommerce_email_header', $email_heading ); ?>
12
 
13
+ <p><?php printf( __( 'You received a quote request from %s. The request is the following:', 'yith-woocommerce-request-a-quote' ), $raq_data['user_name'] ); ?></p>
14
 
15
  <?php do_action( 'yith_ywraq_email_before_raq_table', $raq_data ); ?>
16
 
17
+ <h2><?php _e('Request Quote', 'yith-woocommerce-request-a-quote') ?></h2>
18
 
19
  <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee">
20
  <thead>
21
  <tr>
22
+ <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Product', 'yith-woocommerce-request-a-quote' ); ?></th>
23
+ <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Quantity', 'yith-woocommerce-request-a-quote' ); ?></th>
24
+ <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Subtotal', 'yith-woocommerce-request-a-quote' ); ?></th>
25
  </tr>
26
  </thead>
27
  <tbody>
49
 
50
  <?php do_action( 'yith_ywraq_email_after_raq_table', $raq_data ); ?>
51
  <?php if( ! empty( $raq_data['user_message']) ): ?>
52
+ <h2><?php _e( 'Customer message', 'yith-woocommerce-request-a-quote' ); ?></h2>
53
  <p><?php echo $raq_data['user_message'] ?></p>
54
  <?php endif ?>
55
+ <h2><?php _e( 'Customer details', 'yith-woocommerce-request-a-quote' ); ?></h2>
56
 
57
+ <p><strong><?php _e( 'Name:', 'yith-woocommerce-request-a-quote' ); ?></strong> <?php echo $raq_data['user_name'] ?></p>
58
+ <p><strong><?php _e( 'Email:', 'yith-woocommerce-request-a-quote' ); ?></strong> <a href="mailto:<?php echo $raq_data['user_email']; ?>"><?php echo $raq_data['user_email']; ?></a></p>
59
 
60
  <?php do_action( 'woocommerce_email_footer' ); ?>
modules/yith-woocommerce-request-a-quote/templates/request-quote-form.php CHANGED
@@ -16,30 +16,30 @@ $user_name = ( ! empty( $current_user ) ) ? $current_user->display_name : '';
16
  $user_email = ( ! empty( $current_user ) ) ? $current_user->user_email : '';
17
  ?>
18
  <div class="yith-ywraq-mail-form-wrapper">
19
- <h3><?php _e( 'Send the request', 'ywraq' ) ?></h3>
20
 
21
  <form id="yith-ywraq-mail-form" name="yith-ywraq-mail-form" action="<?php echo esc_url( YITH_Request_Quote()->get_raq_page_url() ) ?>" method="post">
22
 
23
  <p class="form-row form-row-wide validate-required" id="rqa_name_row">
24
- <label for="rqa-name" class=""><?php _e( 'Name', 'ywraq' ) ?>
25
  <abbr class="required" title="required">*</abbr></label>
26
  <input type="text" class="input-text " name="rqa_name" id="rqa-name" placeholder="" value="<?php echo $user_name ?>" required>
27
  </p>
28
 
29
  <p class="form-row form-row-wide validate-required" id="rqa_email_row">
30
- <label for="rqa-email" class=""><?php _e( 'Email', 'ywraq' ) ?>
31
  <abbr class="required" title="required">*</abbr></label>
32
  <input type="email" class="input-text " name="rqa_email" id="rqa-email" placeholder="" value="<?php echo $user_email ?>" required>
33
  </p>
34
 
35
  <p class="form-row" id="rqa_message_row">
36
- <label for="rqa-message" class=""><?php _e( 'Message', 'ywraq' ) ?></label>
37
- <textarea name="rqa_message" class="input-text " id="rqa-message" placeholder="<?php _e( 'Notes on your request...', 'ywraq' ) ?>" rows="5" cols="5"></textarea>
38
  </p>
39
 
40
  <p class="form-row">
41
  <input type="hidden" id="raq-mail-wpnonce" name="raq_mail_wpnonce" value="<?php echo wp_create_nonce( 'send-request-quote' ) ?>">
42
- <input class="button raq-send-request" type="submit" value="<?php _e( 'Send Your Request', 'ywraq' ) ?>">
43
  </p>
44
 
45
  </form>
16
  $user_email = ( ! empty( $current_user ) ) ? $current_user->user_email : '';
17
  ?>
18
  <div class="yith-ywraq-mail-form-wrapper">
19
+ <h3><?php _e( 'Send the request', 'yith-woocommerce-request-a-quote' ) ?></h3>
20
 
21
  <form id="yith-ywraq-mail-form" name="yith-ywraq-mail-form" action="<?php echo esc_url( YITH_Request_Quote()->get_raq_page_url() ) ?>" method="post">
22
 
23
  <p class="form-row form-row-wide validate-required" id="rqa_name_row">
24
+ <label for="rqa-name" class=""><?php _e( 'Name', 'yith-woocommerce-request-a-quote' ) ?>
25
  <abbr class="required" title="required">*</abbr></label>
26
  <input type="text" class="input-text " name="rqa_name" id="rqa-name" placeholder="" value="<?php echo $user_name ?>" required>
27
  </p>
28
 
29
  <p class="form-row form-row-wide validate-required" id="rqa_email_row">
30
+ <label for="rqa-email" class=""><?php _e( 'Email', 'yith-woocommerce-request-a-quote' ) ?>
31
  <abbr class="required" title="required">*</abbr></label>
32
  <input type="email" class="input-text " name="rqa_email" id="rqa-email" placeholder="" value="<?php echo $user_email ?>" required>
33
  </p>
34
 
35
  <p class="form-row" id="rqa_message_row">
36
+ <label for="rqa-message" class=""><?php _e( 'Message', 'yith-woocommerce-request-a-quote' ) ?></label>
37
+ <textarea name="rqa_message" class="input-text " id="rqa-message" placeholder="<?php _e( 'Notes on your request...', 'yith-woocommerce-request-a-quote' ) ?>" rows="5" cols="5"></textarea>
38
  </p>
39
 
40
  <p class="form-row">
41
  <input type="hidden" id="raq-mail-wpnonce" name="raq_mail_wpnonce" value="<?php echo wp_create_nonce( 'send-request-quote' ) ?>">
42
+ <input class="button raq-send-request" type="submit" value="<?php _e( 'Send Your Request', 'yith-woocommerce-request-a-quote' ) ?>">
43
  </p>
44
 
45
  </form>
modules/yith-woocommerce-request-a-quote/templates/request-quote-view.php CHANGED
@@ -10,7 +10,7 @@
10
 
11
  if( count($raq_content) == 0):
12
  ?>
13
- <p><?php _e('No products in list', 'ywraq') ?></p>
14
  <?php else: ?>
15
  <form id="yith-ywraq-form" name="yith-ywraq-form" action="<?php echo esc_url( YITH_Request_Quote()->get_raq_page_url( 'update' ) ) ?>" method="post">
16
  <table class="shop_table cart" id="yith-ywrq-table-list" cellspacing="0">
@@ -18,9 +18,9 @@ if( count($raq_content) == 0):
18
  <tr>
19
  <th class="product-remove">&nbsp;</th>
20
  <th class="product-thumbnail">&nbsp;</th>
21
- <th class="product-name"><?php _e( 'Product', 'ywraq' ) ?></th>
22
- <th class="product-quantity"><?php _e( 'Quantity', 'ywraq' ) ?></th>
23
- <th class="product-subtotal"><?php _e( 'Total', 'ywraq' ); ?></th>
24
  </tr>
25
  </thead>
26
  <tbody>
@@ -33,7 +33,7 @@ if( count($raq_content) == 0):
33
 
34
  <td class="product-remove">
35
  <?php
36
- echo apply_filters( 'yith_ywraq_item_remove_link', sprintf( '<a href="#" data-remove-item="%s" data-wp_nonce="%s" data-product_id="%d" class="yith-ywraq-item-remove remove" title="%s">&times;</a>', $key, wp_create_nonce( 'remove-request-quote-' . $_product->id ), $_product->id, __( 'Remove this item', 'ywraq' ) ), $key );
37
  ?>
38
  <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ) ?>" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />
39
  </td>
@@ -130,7 +130,7 @@ if( count($raq_content) == 0):
130
 
131
  <tr>
132
  <td colspan="5" class="actions">
133
- <input type="submit" class="button" name="update_raq" value="<?php _e('Update List', 'ywraq') ?>">
134
  <input type="hidden" id="update_raq_wpnonce" name="update_raq_wpnonce" value="<?php echo wp_create_nonce( 'update-request-quote-quantity' ) ?>">
135
  </td>
136
  </tr>
10
 
11
  if( count($raq_content) == 0):
12
  ?>
13
+ <p><?php _e('No products in list', 'yith-woocommerce-request-a-quote') ?></p>
14
  <?php else: ?>
15
  <form id="yith-ywraq-form" name="yith-ywraq-form" action="<?php echo esc_url( YITH_Request_Quote()->get_raq_page_url( 'update' ) ) ?>" method="post">
16
  <table class="shop_table cart" id="yith-ywrq-table-list" cellspacing="0">
18
  <tr>
19
  <th class="product-remove">&nbsp;</th>
20
  <th class="product-thumbnail">&nbsp;</th>
21
+ <th class="product-name"><?php _e( 'Product', 'yith-woocommerce-request-a-quote' ) ?></th>
22
+ <th class="product-quantity"><?php _e( 'Quantity', 'yith-woocommerce-request-a-quote' ) ?></th>
23
+ <th class="product-subtotal"><?php _e( 'Total', 'yith-woocommerce-request-a-quote' ); ?></th>
24
  </tr>
25
  </thead>
26
  <tbody>
33
 
34
  <td class="product-remove">
35
  <?php
36
+ echo apply_filters( 'yith_ywraq_item_remove_link', sprintf( '<a href="#" data-remove-item="%s" data-wp_nonce="%s" data-product_id="%d" class="yith-ywraq-item-remove remove" title="%s">&times;</a>', $key, wp_create_nonce( 'remove-request-quote-' . $_product->id ), $_product->id, __( 'Remove this item', 'yith-woocommerce-request-a-quote' ) ), $key );
37
  ?>
38
  <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ) ?>" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />
39
  </td>
130
 
131
  <tr>
132
  <td colspan="5" class="actions">
133
+ <input type="submit" class="button" name="update_raq" value="<?php _e('Update List', 'yith-woocommerce-request-a-quote') ?>">
134
  <input type="hidden" id="update_raq_wpnonce" name="update_raq_wpnonce" value="<?php echo wp_create_nonce( 'update-request-quote-quantity' ) ?>">
135
  </td>
136
  </tr>
modules/yith-woocommerce-request-a-quote/yith-woocommerce-request-a-quote.php CHANGED
@@ -1,137 +1,137 @@
1
- <?php
2
- /*
3
- Plugin Name: YITH Woocommerce Request A Quote
4
- Description: The YITH Woocommerce Request A Quote plugin lets your customers ask for an estimate of a list of products they are interested into.
5
- Version: 1.1.9
6
- Author: Yithemes
7
- Author URI: http://yithemes.com/
8
- Text Domain: ywraq
9
- License: GPLv2 or later
10
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
- */
12
-
13
- /*
14
- * @package YITH Woocommerce Request A Quote
15
- * @since 1.0.3
16
- * @author Yithemes
17
- */
18
-
19
- if ( ! defined( 'ABSPATH' ) ) {
20
- exit;
21
- } // Exit if accessed directly
22
-
23
- if ( ! function_exists( 'is_plugin_active' ) ) {
24
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
25
- }
26
-
27
- if ( ! defined( 'YITH_YWRAQ_DIR' ) ) {
28
- define( 'YITH_YWRAQ_DIR', plugin_dir_path( __FILE__ ) );
29
- }
30
-
31
- // This version can't be activate if premium version is active ________________________________________
32
- if ( defined( 'YITH_YWRAQ_PREMIUM' ) ) {
33
- function yith_ywraq_install_free_admin_notice() {
34
- ?>
35
- <div class="error">
36
- <p><?php _e( 'You can\'t activate the free version of YITH Woocommerce Request A Quote while you are using the premium one.', 'ywraq' ); ?></p>
37
- </div>
38
- <?php
39
- }
40
-
41
- add_action( 'admin_notices', 'yith_ywraq_install_free_admin_notice' );
42
-
43
- deactivate_plugins( plugin_basename( __FILE__ ) );
44
- return;
45
- }
46
-
47
- // Registration hook ________________________________________
48
- if ( !function_exists( 'yith_plugin_registration_hook' ) ) {
49
- require_once 'plugin-fw/yit-plugin-registration-hook.php';
50
- }
51
- register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
52
-
53
-
54
- // Define constants ________________________________________
55
- if ( defined( 'YITH_YWRAQ_VERSION' ) ) {
56
- return;
57
- }else{
58
- define( 'YITH_YWRAQ_VERSION', '1.1.9' );
59
- }
60
-
61
- if ( ! defined( 'YITH_YWRAQ_FREE_INIT' ) ) {
62
- define( 'YITH_YWRAQ_FREE_INIT', plugin_basename( __FILE__ ) );
63
- }
64
-
65
- if ( ! defined( 'YITH_YWRAQ_INIT' ) ) {
66
- define( 'YITH_YWRAQ_INIT', plugin_basename( __FILE__ ) );
67
- }
68
-
69
- if ( ! defined( 'YITH_YWRAQ_FILE' ) ) {
70
- define( 'YITH_YWRAQ_FILE', __FILE__ );
71
- }
72
-
73
- if ( ! defined( 'YITH_YWRAQ_DIR' ) ) {
74
- define( 'YITH_YWRAQ_DIR', plugin_dir_path( __FILE__ ) );
75
- }
76
-
77
- if ( ! defined( 'YITH_YWRAQ_URL' ) ) {
78
- define( 'YITH_YWRAQ_URL', plugins_url( '/', __FILE__ ) );
79
- }
80
-
81
- if ( ! defined( 'YITH_YWRAQ_ASSETS_URL' ) ) {
82
- define( 'YITH_YWRAQ_ASSETS_URL', YITH_YWRAQ_URL . 'assets' );
83
- }
84
-
85
- if ( ! defined( 'YITH_YWRAQ_TEMPLATE_PATH' ) ) {
86
- define( 'YITH_YWRAQ_TEMPLATE_PATH', YITH_YWRAQ_DIR . 'templates' );
87
- }
88
-
89
- if ( ! defined( 'YITH_YWRAQ_INC' ) ) {
90
- define( 'YITH_YWRAQ_INC', YITH_YWRAQ_DIR . '/includes/' );
91
- }
92
-
93
-
94
- function yith_ywraq_constructor() {
95
-
96
- // Woocommerce installation check _________________________
97
- if ( !function_exists( 'WC' ) ) {
98
-
99
-
100
- function yith_ywraq_install_woocommerce_admin_notice() {
101
- ?>
102
- <div class="error">
103
- <p><?php _e( 'YITH Woocommerce Request A Quote is enabled but not effective. It requires WooCommerce in order to work.', 'ywraq' ); ?></p>
104
- </div>
105
- <?php
106
- }
107
-
108
- add_action( 'admin_notices', 'yith_ywraq_install_woocommerce_admin_notice' );
109
- return;
110
- }
111
-
112
- // Load YWCM text domain ___________________________________
113
- load_plugin_textdomain( 'ywraq', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
114
-
115
- // Load required classes and functions
116
-
117
- if( ! class_exists('WC_Session') ){
118
- include_once( WC()->plugin_path().'/includes/abstracts/abstract-wc-session.php');
119
- }
120
-
121
- require_once( YITH_YWRAQ_INC . 'functions.yith-request-quote.php' );
122
- require_once( YITH_YWRAQ_INC . 'class.yith-ywraq-session.php' );
123
- require_once( YITH_YWRAQ_INC . 'class.yith-ywraq-shortcodes.php' );
124
-
125
- require_once( YITH_YWRAQ_INC . 'class.yith-request-quote.php' );
126
- if ( is_admin() ) {
127
- require_once( YITH_YWRAQ_INC . 'class.yith-request-quote-admin.php' );
128
- }
129
- else {
130
- require_once( YITH_YWRAQ_INC . 'class.yith-request-quote-frontend.php' );
131
- YITH_YWRAQ_Frontend();
132
- }
133
-
134
- YITH_Request_Quote();
135
-
136
- }
137
  add_action( 'plugins_loaded', 'yith_ywraq_constructor' );
1
+ <?php
2
+ /*
3
+ Plugin Name: YITH Woocommerce Request A Quote
4
+ Description: The YITH Woocommerce Request A Quote plugin lets your customers ask for an estimate of a list of products they are interested into.
5
+ Version: 1.2.0
6
+ Author: Yithemes
7
+ Author URI: http://yithemes.com/
8
+ Text Domain: yith-woocommerce-request-a-quote
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+ */
12
+
13
+ /*
14
+ * @package YITH Woocommerce Request A Quote
15
+ * @since 1.0.3
16
+ * @author Yithemes
17
+ */
18
+
19
+ if ( ! defined( 'ABSPATH' ) ) {
20
+ exit;
21
+ } // Exit if accessed directly
22
+
23
+ if ( ! function_exists( 'is_plugin_active' ) ) {
24
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
25
+ }
26
+
27
+ if ( ! defined( 'YITH_YWRAQ_DIR' ) ) {
28
+ define( 'YITH_YWRAQ_DIR', plugin_dir_path( __FILE__ ) );
29
+ }
30
+
31
+ // This version can't be activate if premium version is active ________________________________________
32
+ if ( defined( 'YITH_YWRAQ_PREMIUM' ) ) {
33
+ function yith_ywraq_install_free_admin_notice() {
34
+ ?>
35
+ <div class="error">
36
+ <p><?php _e( 'You can\'t activate the free version of YITH Woocommerce Request A Quote while you are using the premium one.', 'yith-woocommerce-request-a-quote' ); ?></p>
37
+ </div>
38
+ <?php
39
+ }
40
+
41
+ add_action( 'admin_notices', 'yith_ywraq_install_free_admin_notice' );
42
+
43
+ deactivate_plugins( plugin_basename( __FILE__ ) );
44
+ return;
45
+ }
46
+
47
+ // Registration hook ________________________________________
48
+ if ( !function_exists( 'yith_plugin_registration_hook' ) ) {
49
+ require_once 'plugin-fw/yit-plugin-registration-hook.php';
50
+ }
51
+ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
52
+
53
+
54
+ // Define constants ________________________________________
55
+ if ( defined( 'YITH_YWRAQ_VERSION' ) ) {
56
+ return;
57
+ }else{
58
+ define( 'YITH_YWRAQ_VERSION', '1.2.0' );
59
+ }
60
+
61
+ if ( ! defined( 'YITH_YWRAQ_FREE_INIT' ) ) {
62
+ define( 'YITH_YWRAQ_FREE_INIT', plugin_basename( __FILE__ ) );
63
+ }
64
+
65
+ if ( ! defined( 'YITH_YWRAQ_INIT' ) ) {
66
+ define( 'YITH_YWRAQ_INIT', plugin_basename( __FILE__ ) );
67
+ }
68
+
69
+ if ( ! defined( 'YITH_YWRAQ_FILE' ) ) {
70
+ define( 'YITH_YWRAQ_FILE', __FILE__ );
71
+ }
72
+
73
+ if ( ! defined( 'YITH_YWRAQ_DIR' ) ) {
74
+ define( 'YITH_YWRAQ_DIR', plugin_dir_path( __FILE__ ) );
75
+ }
76
+
77
+ if ( ! defined( 'YITH_YWRAQ_URL' ) ) {
78
+ define( 'YITH_YWRAQ_URL', plugins_url( '/', __FILE__ ) );
79
+ }
80
+
81
+ if ( ! defined( 'YITH_YWRAQ_ASSETS_URL' ) ) {
82
+ define( 'YITH_YWRAQ_ASSETS_URL', YITH_YWRAQ_URL . 'assets' );
83
+ }
84
+
85
+ if ( ! defined( 'YITH_YWRAQ_TEMPLATE_PATH' ) ) {
86
+ define( 'YITH_YWRAQ_TEMPLATE_PATH', YITH_YWRAQ_DIR . 'templates' );
87
+ }
88
+
89
+ if ( ! defined( 'YITH_YWRAQ_INC' ) ) {
90
+ define( 'YITH_YWRAQ_INC', YITH_YWRAQ_DIR . '/includes/' );
91
+ }
92
+
93
+
94
+ function yith_ywraq_constructor() {
95
+
96
+ // Woocommerce installation check _________________________
97
+ if ( !function_exists( 'WC' ) ) {
98
+
99
+
100
+ function yith_ywraq_install_woocommerce_admin_notice() {
101
+ ?>
102
+ <div class="error">
103
+ <p><?php _e( 'YITH Woocommerce Request A Quote is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-request-a-quote' ); ?></p>
104
+ </div>
105
+ <?php
106
+ }
107
+
108
+ add_action( 'admin_notices', 'yith_ywraq_install_woocommerce_admin_notice' );
109
+ return;
110
+ }
111
+
112
+ // Load YWCM text domain ___________________________________
113
+ load_plugin_textdomain( 'yith-woocommerce-request-a-quote', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
114
+
115
+ // Load required classes and functions
116
+
117
+ if( ! class_exists('WC_Session') ){
118
+ include_once( WC()->plugin_path().'/includes/abstracts/abstract-wc-session.php');
119
+ }
120
+
121
+ require_once( YITH_YWRAQ_INC . 'functions.yith-request-quote.php' );
122
+ require_once( YITH_YWRAQ_INC . 'class.yith-ywraq-session.php' );
123
+ require_once( YITH_YWRAQ_INC . 'class.yith-ywraq-shortcodes.php' );
124
+
125
+ require_once( YITH_YWRAQ_INC . 'class.yith-request-quote.php' );
126
+ if ( is_admin() ) {
127
+ require_once( YITH_YWRAQ_INC . 'class.yith-request-quote-admin.php' );
128
+ }
129
+ else {
130
+ require_once( YITH_YWRAQ_INC . 'class.yith-request-quote-frontend.php' );
131
+ YITH_YWRAQ_Frontend();
132
+ }
133
+
134
+ YITH_Request_Quote();
135
+
136
+ }
137
  add_action( 'plugins_loaded', 'yith_ywraq_constructor' );
modules/yith-woocommerce-stripe/includes/class-yith-stripe.php CHANGED
@@ -72,13 +72,9 @@ if( ! class_exists( 'YITH_WCStripe' ) ){
72
  * @since 1.0.0
73
  */
74
  public function plugin_fw_loader() {
75
- if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
76
- global $plugin_fw_data;
77
- if( ! empty( $plugin_fw_data ) ){
78
- $plugin_fw_file = array_shift( $plugin_fw_data );
79
- require_once( $plugin_fw_file );
80
- }
81
- }
82
  }
83
 
84
  /**
@@ -88,7 +84,7 @@ if( ! class_exists( 'YITH_WCStripe' ) ){
88
  * @since 1.0.0
89
  */
90
  public function __construct() {
91
- add_action( 'plugins_loaded', array( $this, 'plugin_fw_loader' ), 15 );
92
 
93
  // includes
94
  include_once( 'class-yith-stripe-gateway.php' );
72
  * @since 1.0.0
73
  */
74
  public function plugin_fw_loader() {
75
+ if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) {
76
+ require_once( YITH_WCSTRIPE_DIR . '/plugin-fw/yit-plugin.php' );
77
+ }
 
 
 
 
78
  }
79
 
80
  /**
84
  * @since 1.0.0
85
  */
86
  public function __construct() {
87
+ add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
88
 
89
  // includes
90
  include_once( 'class-yith-stripe-gateway.php' );
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -177,6 +177,16 @@
177
  //Open the uploader dialog
178
  custom_uploader.open();
179
  });
 
 
 
 
 
 
 
 
 
 
180
  }
181
 
182
  $('.plugin-option .add_media').on('click', function () {
177
  //Open the uploader dialog
178
  custom_uploader.open();
179
  });
180
+
181
+ $( document).on( 'click', '.plugin-option .upload_button_reset', function(e){
182
+ var t = $(this),
183
+ id = t.attr('id'),
184
+ input_id = t.attr('id').replace(/-button_reset$/, ''),
185
+ default_value = $('#' + id).data('default');
186
+
187
+ $("#" + input_id).val( default_value );
188
+ $('.plugin-option .upload_img_url').trigger('change');
189
+ } );
190
  }
191
 
192
  $('.plugin-option .add_media').on('click', function () {
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1,10 @@
1
- !function(e){function t(t,i,n){var a=!0;if("string"==typeof i){":radio"==i.substr(0,6)&&(i+=":checked");for(var n=n.split(","),o=0;o<n.length;o++){if(e(i).val()==n[o]){a=!0;break}a=!1}}a?e(t+"-container").closest("tr").show():e(t+"-container").closest("tr").hide()}var i=function(){var t="";e(this).attr("multiple")?(e(this).children("option:selected").each(function(i,n){0!=i&&(t+=", "),t+=e(n).text()}),""==t&&e(this).children().children("option:selected").each(function(i,n){0!=i&&(t+=", "),t+=e(n).text()})):(t=e(this).children("option:selected").text(),""==t&&(t=e(this).children().children("option:selected").text())),e(this).parent().find("span").length<=0&&e(this).before("<span></span>"),e(this).parent().children("span").replaceWith("<span>"+t+"</span>")};if(e(".plugin-option .select_wrapper select").not(".chosen").each(i).change(i),e(".plugin-option .select_wrapper").click(function(t){t.stopPropagation(),e(this).find("select[multiple]").not(".chosen").toggle()}),e(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(e){e.stopPropagation()}),e(window).click(function(){e(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()}),e(".plugin-option .chosen .select_wrapper select").chosen(),e(".plugin-option .on_off_container span").on("click",function(){var t=e(this).prev("input"),i=t.prop("checked");i?t.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):t.prop("checked",!0).attr("value","yes").addClass("onoffchecked"),t.change()}),e(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),o=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,slide:function(t,i){e(this).find("input").val(i.value),e(this).siblings(".feedback").find("strong").text(i.value+o)}})}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media){{var n=!0;wp.media.editor.send.attachment}e(".plugin-option .upload_img_url").change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico)"),n=e(this).parents().siblings(".upload_img_preview");n.html(i.test(t)?'<img src="'+t+'" style="max-width:600px; max-height:300px;" />':"")}).trigger("change"),e(document).on("click",".plugin-option .upload_button",function(t){t.preventDefault();var i,n=e(this),a=n.attr("id").replace(/-button$/,"");if(i)return void i.open();var o=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:o}),i.on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),e(".plugin-option .upload_img_url").trigger("change")}),i.open()})}e(".plugin-option .add_media").on("click",function(){n=!1}),e("[data-field]").each(function(){var i=e(this),n="#"+i.data("field"),a="#"+i.data("dep"),o=i.data("value");e(a).on("change",function(){t(n,a,o.toString())}).change()}),e(".rm_connectedlist").each(function(){{var t=e(this).find("ul"),i=e(this).find(":hidden");t.sortable({connectWith:t,update:function(){var n={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),n[e(this).data("list")]=t}),i.val(JSON.stringify(n).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}}),e(document).ready(function(){e(".yith-video-link").click(function(t){t.preventDefault();var i=e(this).data("video-id");e("."+i).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(){e(this).css("maxWidth","853px")},open:function(){e(".ui-widget-overlay").bind("click",function(){e(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}}),e(".ui-dialog :button").blur()})}),e(document).ready(function(){e(".codemirror").each(function(t,i){var n=CodeMirror.fromTextArea(i,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});e(i).data("codemirrorInstance",n)})}),e(document).ready(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),i=e("#"+e(this).data("input")).val(),n=e(this).data("basename"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+i+"', '"+n+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})})}(jQuery);
 
 
 
 
 
 
 
 
 
1
+ (function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
+ "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .on_off_container span").on("click",
3
+ function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
+ a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parents().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).trigger("change"),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
+ var c,d=a(this).attr("id").replace(/-button$/,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url);a("#"+d+"-yith-attachment-id")&&a("#"+d+"-yith-attachment-id").val(b.id);a(".plugin-option .upload_img_url").trigger("change")}));
6
+ c.open()}),a(document).on("click",".plugin-option .upload_button_reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button_reset$/,"");b=a("#"+b).data("default");a("#"+c).val(b);a(".plugin-option .upload_img_url").trigger("change")}));a(".plugin-option .add_media").on("click",function(){});a("[data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");a(d).on("change",function(){var b=d,g=e.toString(),h=!0;if("string"==typeof b){":radio"==
7
+ b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,
8
+ "\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});
9
+ a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";
10
+ e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.1
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
@@ -20,20 +20,20 @@
20
  */
21
 
22
 
23
- if ( ! defined( 'ABSPATH' ) ) {
24
  exit;
25
  } // Exit if accessed directly
26
 
27
- if ( ! function_exists( 'yit_maybe_plugin_fw_loader' ) ) {
28
  /**
29
  * YITH WooCommerce Ajax Navigation
30
  *
31
  * @since 1.0.0
32
  */
33
- function yit_maybe_plugin_fw_loader( $plugin_path ) {
34
  global $plugin_fw_data;
35
 
36
- $default_headers = array(
37
  'Name' => 'Framework Name',
38
  'Version' => 'Version',
39
  'Author' => 'Author',
@@ -41,19 +41,17 @@ if ( ! function_exists( 'yit_maybe_plugin_fw_loader' ) ) {
41
  'DomainPath' => 'Domain Path',
42
  );
43
 
44
- $framework_data = get_file_data( trailingslashit( $plugin_path ) .'plugin-fw/init.php', $default_headers );
45
- $plugin_fw_main_file = trailingslashit( $plugin_path ) . 'plugin-fw/yit-plugin.php';
46
 
47
- if( ! empty( $plugin_fw_data ) ){
48
- foreach( $plugin_fw_data as $version => $path ){
49
- if( version_compare( $version, $framework_data['Version'], '<' ) ){
50
- $plugin_fw_data = array( $framework_data['Version'] => $plugin_fw_main_file );
51
  }
52
  }
53
- }
54
-
55
- else {
56
- $plugin_fw_data = array( $framework_data['Version'] => $plugin_fw_main_file );
57
  }
58
  }
59
  }
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.6
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
20
  */
21
 
22
 
23
+ if ( ! defined ( 'ABSPATH' ) ) {
24
  exit;
25
  } // Exit if accessed directly
26
 
27
+ if ( ! function_exists ( 'yit_maybe_plugin_fw_loader' ) ) {
28
  /**
29
  * YITH WooCommerce Ajax Navigation
30
  *
31
  * @since 1.0.0
32
  */
33
+ function yit_maybe_plugin_fw_loader ( $plugin_path ) {
34
  global $plugin_fw_data;
35
 
36
+ $default_headers = array (
37
  'Name' => 'Framework Name',
38
  'Version' => 'Version',
39
  'Author' => 'Author',
41
  'DomainPath' => 'Domain Path',
42
  );
43
 
44
+ $framework_data = get_file_data ( trailingslashit ( $plugin_path ) . 'plugin-fw/init.php', $default_headers );
45
+ $plugin_fw_main_file = trailingslashit ( $plugin_path ) . 'plugin-fw/yit-plugin.php';
46
 
47
+ if ( ! empty( $plugin_fw_data ) ) {
48
+ foreach ( $plugin_fw_data as $version => $path ) {
49
+ if ( version_compare ( $version, $framework_data[ 'Version' ], '<' ) ) {
50
+ $plugin_fw_data = array ( $framework_data[ 'Version' ] => $plugin_fw_main_file );
51
  }
52
  }
53
+ } else {
54
+ $plugin_fw_data = array ( $framework_data[ 'Version' ] => $plugin_fw_main_file );
 
 
55
  }
56
  }
57
  }
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,15 +4,15 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2015-05-11 17:13+0100\n"
8
- "PO-Revision-Date: 2015-07-24 16:13+0100\n"
9
  "Last-Translator: \n"
10
- "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
- "Language: en\n"
12
  "MIME-Version: 1.0\n"
13
- "Content-Type: text/plain; charset=utf-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -136,8 +136,9 @@ msgid "Type"
136
  msgstr "Tipologia"
137
 
138
  #: lib/yit-cpt-unlimited.php:1052
139
- msgid "Layout for this "
140
- msgstr "Layout per questo"
 
141
 
142
  #: lib/yit-cpt-unlimited.php:1058
143
  msgid "Rewrite"
@@ -220,10 +221,10 @@ msgid "Add %s from images"
220
  msgstr "Aggiungi %s dalla immagini"
221
 
222
  #: lib/yit-cpt-unlimited.php:1633
223
- msgid "Add with multiupload"
224
- msgstr "Aggiungi con caricamento multiplo"
225
 
226
- #: lib/yit-plugin-panel-wc.php:295
227
  msgid "The changes you have made will be lost if you leave this page."
228
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
229
 
@@ -231,71 +232,71 @@ msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
231
  msgid "Plugin Settings"
232
  msgstr "Impostazioni plugin"
233
 
234
- #: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
235
  msgid "YIT Plugins"
236
  msgstr "YIT Plugins"
237
 
238
- #: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
239
  #: templates/panel/woocommerce/woocommerce-form.php:5
240
  msgid "Save Changes"
241
  msgstr "Salva modifiche"
242
 
243
- #: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
244
  msgid "If you continue with this action, you will reset all options in this page."
245
  msgstr ""
246
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
247
  "reimpostate."
248
 
249
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
250
- msgid "Reset to Default"
251
- msgstr "Ripristina impostazioni iniziali"
252
 
253
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
254
- #: templates/panel/woocommerce/woocommerce-form.php:10
255
  msgid "Are you sure?"
256
  msgstr "Sei sicuro?"
257
 
258
- #: lib/yit-plugin-panel.php:431
259
  msgid "The element you have entered already exists. Please, enter another name."
260
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
261
 
262
- #: lib/yit-plugin-panel.php:432
263
  msgid "Settings saved"
264
  msgstr "Impostazioni salvate"
265
 
266
- #: lib/yit-plugin-panel.php:433
267
  msgid "Settings reset"
268
  msgstr "Impostazioni azzerate"
269
 
270
- #: lib/yit-plugin-panel.php:434
271
  msgid "Element deleted correctly."
272
  msgstr "Elemento rimosso correttamente."
273
 
274
- #: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
275
  msgid "Element updated correctly."
276
  msgstr "Elemento aggiornato correttamente."
277
 
278
- #: lib/yit-plugin-panel.php:437
279
  msgid "Database imported correctly."
280
  msgstr "Database importato correttamente."
281
 
282
- #: lib/yit-plugin-panel.php:438
283
  msgid "An error has occurred during import. Please try again."
284
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
285
 
286
- #: lib/yit-plugin-panel.php:439
287
  msgid "The added file is not valid."
288
  msgstr "Il file aggiunto non è valido."
289
 
290
- #: lib/yit-plugin-panel.php:440
291
  msgid "Sorry, import is disabled."
292
  msgstr "Ci dispiace, l'importazione è disabilitata."
293
 
294
- #: lib/yit-plugin-panel.php:441
295
  msgid "Sorting successful."
296
  msgstr "Ordinamento effettuato con successo."
297
 
298
- #: lib/yit-plugin-subpanel.php:145
299
  msgid ""
300
  "If you continue with this action, you will reset all the options in this page."
301
  msgstr ""
@@ -367,19 +368,19 @@ msgstr ""
367
  msgid "Update now."
368
  msgstr "Aggiorna adesso."
369
 
370
- #: lib/yit-upgrade.php:230
371
  msgid "Yithemes Repository"
372
  msgstr "Repository YIThemes"
373
 
374
- #: lib/yit-upgrade.php:264
375
  msgid "Invalid URL Provided."
376
  msgstr "L'URL inserito non è valido."
377
 
378
- #: lib/yit-upgrade.php:277
379
  msgid "Could not create Temporary file."
380
  msgstr "Non è stato possibile creare il file temporaneo."
381
 
382
- #: lib/yit-upgrade.php:419
383
  #, php-format
384
  msgid ""
385
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -388,7 +389,7 @@ msgstr ""
388
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
389
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
390
 
391
- #: lib/yit-upgrade.php:421
392
  #, php-format
393
  msgid ""
394
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -401,21 +402,16 @@ msgstr ""
401
  "<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
402
  "plugin su un solo sito.</em>"
403
 
404
- #: lib/yit-upgrade.php:423
405
  #, php-format
406
  msgid ""
407
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
408
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
409
- "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
410
  "activation\">activate</a> your copy of %6s.</em>"
411
  msgstr ""
412
- "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
413
- "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>. "
414
- "<em>Gli aggiornamenti automatici non sono disponibili per questo plugi, per "
415
- "favore, <a href=\"%5$s\" title=\"Licence activation\">attiva</a> la tua copia di "
416
- "%6s.</em>"
417
 
418
- #: lib/yit-upgrade.php:425
419
  #, php-format
420
  msgid ""
421
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -426,83 +422,111 @@ msgstr ""
426
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
427
  "oppure <a href=\"%5$s\">aggiorna adesso</a>."
428
 
429
- #: lib/yit-upgrade.php:498
430
  msgid "You can't update the plugins for this site."
431
  msgstr "Non è possibile aggiornare i plugin per questo sito."
432
 
433
- #: lib/yit-upgrade.php:502
434
  msgid "You do not have sufficient permissions to update the plugins for this site."
435
  msgstr ""
436
  "Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
437
  "questo sito."
438
 
439
- #: lib/yit-upgrade.php:509
440
  msgid "Update Plugin"
441
  msgstr "Aggiorna plugin"
442
 
443
- #: licence/lib/yit-licence.php:161
444
  #, php-format
445
  msgctxt "%s = field name"
446
  msgid "%s field cannot be empty"
447
  msgstr "Il campo %s non può essere vuoto"
448
 
449
- #: licence/lib/yit-licence.php:162
450
  #, php-format
451
  msgid "%s and %s fields cannot be empty"
452
  msgstr "I campi %s e %s non possono essere vuoti"
453
 
454
- #: licence/lib/yit-licence.php:163
455
  msgid "Unable to contact the remote server, please try again later. Thanks!"
456
  msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
457
 
458
- #: licence/lib/yit-licence.php:548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
  msgid "Invalid Request"
460
  msgstr "Richiesta non valida"
461
 
462
- #: licence/lib/yit-licence.php:549
463
- msgid "Invalid licence key"
464
- msgstr "Chiave di licenza non valida"
465
 
466
- #: licence/lib/yit-licence.php:550
467
  msgid "Software has been deactivated"
468
  msgstr "Il software è stato disattivato"
469
 
470
- #: licence/lib/yit-licence.php:551
471
  msgid "Maximum number of activations exceeded"
472
  msgstr "Hai raggiunto il numero massimo di attivazioni"
473
 
474
- #: licence/lib/yit-licence.php:552
475
  msgid "Invalid instance ID"
476
  msgstr "Istanza ID non valida"
477
 
478
- #: licence/lib/yit-licence.php:553
479
  msgid "Invalid security key"
480
  msgstr "Chiave di sicurezza non valida"
481
 
482
- #: licence/lib/yit-licence.php:554
483
- msgid "Licence key has expired"
484
- msgstr "Questa chiave di licenza è scaduta"
 
 
 
 
 
 
 
 
 
 
 
 
485
 
486
- #: licence/lib/yit-licence.php:555
487
- msgid "Licence key has been banned"
488
- msgstr "Questa chiave di licenza è stata bloccata"
489
 
490
- #: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
491
- #: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
492
- #: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
493
- msgid "Licence Activation"
494
- msgstr "Attivazione licenza"
495
 
496
- #: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
497
  #, php-format
498
  msgid "%s"
499
  msgstr "%s"
500
 
501
- #: licence/templates/panel/activation/activation-panel.php:19
502
- msgid "Yithemes Licence Activation"
503
- msgstr "Attivazione licenza YIThemes"
504
-
505
- #: licence/templates/panel/activation/activation-panel.php:23
506
  msgid ""
507
  "I cannot find the license key for activating the theme I have bought some time "
508
  "ago. Where can I find it?"
@@ -510,30 +534,25 @@ msgstr ""
510
  "Non riesco a trovare la chiave di licenza per l'attivazione del tema che ho "
511
  "acquistato diverso tempo fa. Dove posso trovarla?"
512
 
513
- #: licence/templates/panel/activation/activation-panel.php:26
514
  msgid ""
515
  "If you have purchased one of our products before 27 January 2015, you can benefit "
516
  "from support and updates (the services offered with the license)\n"
517
- " until 27 January 2016 and you do not have to purchase it again to get "
518
- "a new license key, because, before this date, your license used to be activated "
519
- "automatically by our system.\n"
520
- " After 27 January 2016, instead, if you want to benefit from support "
521
- "and updates you have to buy a new license and activate it through the license key "
522
- "you will be\n"
523
- " provided with and that you can find in your YIThemes account, in "
524
- "section \"My licenses\"."
525
- msgstr ""
526
- "Se hai acquistato un nostro prodotto prima del 27 gennaio 2015 potrai accedere al "
527
- "supporto e scaricare gli aggiornamenti fino al 27 gennaio 2016 e non avrai bisogno "
528
- "di una chiave di licenza,\n"
529
- "in quanto la tua licenza prima di questa data veniva attivata in modo automatico "
530
- "dal nostro sistema.\n"
531
- "Dopo il 27 gennaio 2016, invece, per poter usufruire del servizio di supporto e "
532
- "degli aggiornamenti dovrai riacquistare il prodotto e\n"
533
- "attivarlo con la chiave di licenza che ti sarà fornita e che puoi trovare sul tuo "
534
- "account YIThemes, alla voce \"Le mie licenze\"."
535
-
536
- #: licence/templates/panel/activation/activation-panel.php:37
537
  msgid ""
538
  "Have you updated your licenses? Have you asked for an extension? Update "
539
  "information concerning your products."
@@ -541,71 +560,75 @@ msgstr ""
541
  "Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
542
  "informazioni dei tuoi prodotti."
543
 
544
- #: licence/templates/panel/activation/activation-panel.php:39
545
- msgid "Update licence information"
546
- msgstr "Aggiorna le informazioni di licenza"
547
 
548
- #: licence/templates/panel/activation/activation-panel.php:49
549
- msgid "Products to be activated"
550
- msgstr "Prodotti da attivare"
 
 
551
 
552
- #: licence/templates/panel/activation/activation-panel.php:68
553
  msgid "Activate"
554
  msgstr "Attiva"
555
 
556
- #: licence/templates/panel/activation/activation-panel.php:87
557
  msgid "Activated"
558
  msgstr "Attivato"
559
 
560
- #: licence/templates/panel/activation/activation-panel.php:91
561
- #: licence/templates/panel/activation/activation-panel.php:123
562
- #: licence/templates/panel/activation/activation-panel.php:147
563
  msgid "Product Name"
564
  msgstr "Nome prodotto"
565
 
566
- #: licence/templates/panel/activation/activation-panel.php:92
567
- #: licence/templates/panel/activation/activation-panel.php:124
568
- #: licence/templates/panel/activation/activation-panel.php:148
569
- #: templates/metaboxes/types/contactform.php:148
570
- #: templates/metaboxes/types/contactform.php:340
571
- msgid "Email"
572
- msgstr "Email"
573
-
574
  #: licence/templates/panel/activation/activation-panel.php:93
575
- #: licence/templates/panel/activation/activation-panel.php:125
576
- #: licence/templates/panel/activation/activation-panel.php:149
577
- msgid "Licence Key"
578
- msgstr "Chiave di licenza"
579
-
580
- #: licence/templates/panel/activation/activation-panel.php:94
581
- #: licence/templates/panel/activation/activation-panel.php:150
582
  msgid "Expires"
583
  msgstr "Scadenza"
584
 
585
- #: licence/templates/panel/activation/activation-panel.php:95
586
  msgid "Remaining"
587
  msgstr "Tempo rimanente"
588
 
589
- #: licence/templates/panel/activation/activation-panel.php:96
590
- #: licence/templates/panel/activation/activation-panel.php:109
591
- #: licence/templates/panel/activation/activation-panel.php:151
592
- #: licence/templates/panel/activation/activation-panel.php:161
593
- msgid "Renew"
594
- msgstr "Rinnova"
595
 
596
- #: licence/templates/panel/activation/activation-panel.php:107
 
 
 
 
597
  #, php-format
598
  msgid "%1s out of %2s"
599
  msgstr "%1s di %2s"
600
 
601
- #: licence/templates/panel/activation/activation-panel.php:119
 
 
 
 
 
 
 
 
 
 
602
  msgid "Banned"
603
  msgstr "Bloccato"
604
 
605
- #: licence/templates/panel/activation/activation-panel.php:143
606
  msgid "Expired"
607
  msgstr "Non più valido"
608
 
 
 
 
 
609
  #: templates/metaboxes/types/ajax-products.php:23
610
  msgid "Search for a product"
611
  msgstr "Cerca un prodotto"
@@ -802,7 +825,7 @@ msgstr "Icona"
802
  #: templates/metaboxes/types/icon-list.php:69
803
  #: templates/metaboxes/types/select-icon.php:33
804
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
805
- #: templates/panel/woocommerce/woocommerce-upload.php:35
806
  msgid "Upload"
807
  msgstr "Carica"
808
 
@@ -970,10 +993,77 @@ msgstr "Corsivo"
970
  msgid "Italic bold"
971
  msgstr "Grassetto corsivo"
972
 
973
- #: templates/panel/woocommerce/woocommerce-form.php:10
974
  msgid "Reset Defaults"
975
  msgstr "Ripristina impostazioni iniziali"
976
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
977
  #~ msgid "%field_1% and %field_2% fields cannot be empty"
978
  #~ msgstr "I campi %field_1% e %field_2% non possono essere vuoti"
979
 
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2015-11-16 12:23+0100\n"
8
+ "PO-Revision-Date: 2015-11-16 12:24+0100\n"
9
  "Last-Translator: \n"
10
+ "Language-Team: YIThemes <plugins@yithemes.com>\n"
11
+ "Language: it_IT\n"
12
  "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.8.1\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
136
  msgstr "Tipologia"
137
 
138
  #: lib/yit-cpt-unlimited.php:1052
139
+ #, php-format
140
+ msgid "Layout for this %s"
141
+ msgstr ""
142
 
143
  #: lib/yit-cpt-unlimited.php:1058
144
  msgid "Rewrite"
221
  msgstr "Aggiungi %s dalla immagini"
222
 
223
  #: lib/yit-cpt-unlimited.php:1633
224
+ msgid "Upload multiple files"
225
+ msgstr ""
226
 
227
+ #: lib/yit-plugin-panel-wc.php:336
228
  msgid "The changes you have made will be lost if you leave this page."
229
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
230
 
232
  msgid "Plugin Settings"
233
  msgstr "Impostazioni plugin"
234
 
235
+ #: lib/yit-plugin-panel.php:96 lib/yit-plugin-subpanel.php:101
236
  msgid "YIT Plugins"
237
  msgstr "YIT Plugins"
238
 
239
+ #: lib/yit-plugin-panel.php:288 lib/yit-plugin-subpanel.php:143
240
  #: templates/panel/woocommerce/woocommerce-form.php:5
241
  msgid "Save Changes"
242
  msgstr "Salva modifiche"
243
 
244
+ #: lib/yit-plugin-panel.php:291 templates/panel/woocommerce/woocommerce-form.php:8
245
  msgid "If you continue with this action, you will reset all options in this page."
246
  msgstr ""
247
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
248
  "reimpostate."
249
 
250
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
251
+ msgid "Reset to default"
252
+ msgstr ""
253
 
254
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
255
+ #: templates/panel/woocommerce/woocommerce-form.php:11
256
  msgid "Are you sure?"
257
  msgstr "Sei sicuro?"
258
 
259
+ #: lib/yit-plugin-panel.php:427
260
  msgid "The element you have entered already exists. Please, enter another name."
261
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
262
 
263
+ #: lib/yit-plugin-panel.php:428
264
  msgid "Settings saved"
265
  msgstr "Impostazioni salvate"
266
 
267
+ #: lib/yit-plugin-panel.php:429
268
  msgid "Settings reset"
269
  msgstr "Impostazioni azzerate"
270
 
271
+ #: lib/yit-plugin-panel.php:430
272
  msgid "Element deleted correctly."
273
  msgstr "Elemento rimosso correttamente."
274
 
275
+ #: lib/yit-plugin-panel.php:431 lib/yit-plugin-panel.php:432
276
  msgid "Element updated correctly."
277
  msgstr "Elemento aggiornato correttamente."
278
 
279
+ #: lib/yit-plugin-panel.php:433
280
  msgid "Database imported correctly."
281
  msgstr "Database importato correttamente."
282
 
283
+ #: lib/yit-plugin-panel.php:434
284
  msgid "An error has occurred during import. Please try again."
285
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
286
 
287
+ #: lib/yit-plugin-panel.php:435
288
  msgid "The added file is not valid."
289
  msgstr "Il file aggiunto non è valido."
290
 
291
+ #: lib/yit-plugin-panel.php:436
292
  msgid "Sorry, import is disabled."
293
  msgstr "Ci dispiace, l'importazione è disabilitata."
294
 
295
+ #: lib/yit-plugin-panel.php:437
296
  msgid "Sorting successful."
297
  msgstr "Ordinamento effettuato con successo."
298
 
299
+ #: lib/yit-plugin-subpanel.php:146
300
  msgid ""
301
  "If you continue with this action, you will reset all the options in this page."
302
  msgstr ""
368
  msgid "Update now."
369
  msgstr "Aggiorna adesso."
370
 
371
+ #: lib/yit-upgrade.php:250
372
  msgid "Yithemes Repository"
373
  msgstr "Repository YIThemes"
374
 
375
+ #: lib/yit-upgrade.php:284
376
  msgid "Invalid URL Provided."
377
  msgstr "L'URL inserito non è valido."
378
 
379
+ #: lib/yit-upgrade.php:297
380
  msgid "Could not create Temporary file."
381
  msgstr "Non è stato possibile creare il file temporaneo."
382
 
383
+ #: lib/yit-upgrade.php:439
384
  #, php-format
385
  msgid ""
386
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
389
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
390
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
391
 
392
+ #: lib/yit-upgrade.php:441
393
  #, php-format
394
  msgid ""
395
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
402
  "<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
403
  "plugin su un solo sito.</em>"
404
 
405
+ #: lib/yit-upgrade.php:443
406
  #, php-format
407
  msgid ""
408
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
409
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
410
+ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"License "
411
  "activation\">activate</a> your copy of %6s.</em>"
412
  msgstr ""
 
 
 
 
 
413
 
414
+ #: lib/yit-upgrade.php:445
415
  #, php-format
416
  msgid ""
417
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
422
  "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
423
  "oppure <a href=\"%5$s\">aggiorna adesso</a>."
424
 
425
+ #: lib/yit-upgrade.php:518
426
  msgid "You can't update the plugins for this site."
427
  msgstr "Non è possibile aggiornare i plugin per questo sito."
428
 
429
+ #: lib/yit-upgrade.php:522
430
  msgid "You do not have sufficient permissions to update the plugins for this site."
431
  msgstr ""
432
  "Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
433
  "questo sito."
434
 
435
+ #: lib/yit-upgrade.php:529
436
  msgid "Update Plugin"
437
  msgstr "Aggiorna plugin"
438
 
439
+ #: licence/lib/yit-licence.php:170
440
  #, php-format
441
  msgctxt "%s = field name"
442
  msgid "%s field cannot be empty"
443
  msgstr "Il campo %s non può essere vuoto"
444
 
445
+ #: licence/lib/yit-licence.php:171
446
  #, php-format
447
  msgid "%s and %s fields cannot be empty"
448
  msgstr "I campi %s e %s non possono essere vuoti"
449
 
450
+ #: licence/lib/yit-licence.php:172
451
  msgid "Unable to contact the remote server, please try again later. Thanks!"
452
  msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
453
 
454
+ #: licence/lib/yit-licence.php:173
455
+ #: licence/templates/panel/activation/activation-panel.php:89
456
+ #: licence/templates/panel/activation/activation-panel.php:164
457
+ #: licence/templates/panel/activation/activation-panel.php:195
458
+ #: templates/metaboxes/types/contactform.php:148
459
+ #: templates/metaboxes/types/contactform.php:340
460
+ msgid "Email"
461
+ msgstr "Email"
462
+
463
+ #: licence/lib/yit-licence.php:174
464
+ #: licence/templates/panel/activation/activation-panel.php:90
465
+ #: licence/templates/panel/activation/activation-panel.php:165
466
+ #: licence/templates/panel/activation/activation-panel.php:196
467
+ msgid "License Key"
468
+ msgstr ""
469
+
470
+ #: licence/lib/yit-licence.php:175
471
+ msgid "Are you sure you want to deactivate the license for current site?"
472
+ msgstr ""
473
+
474
+ #: licence/lib/yit-licence.php:638
475
  msgid "Invalid Request"
476
  msgstr "Richiesta non valida"
477
 
478
+ #: licence/lib/yit-licence.php:639
479
+ msgid "Invalid license key"
480
+ msgstr ""
481
 
482
+ #: licence/lib/yit-licence.php:640
483
  msgid "Software has been deactivated"
484
  msgstr "Il software è stato disattivato"
485
 
486
+ #: licence/lib/yit-licence.php:641
487
  msgid "Maximum number of activations exceeded"
488
  msgstr "Hai raggiunto il numero massimo di attivazioni"
489
 
490
+ #: licence/lib/yit-licence.php:642
491
  msgid "Invalid instance ID"
492
  msgstr "Istanza ID non valida"
493
 
494
+ #: licence/lib/yit-licence.php:643
495
  msgid "Invalid security key"
496
  msgstr "Chiave di sicurezza non valida"
497
 
498
+ #: licence/lib/yit-licence.php:644
499
+ msgid "License key has expired"
500
+ msgstr ""
501
+
502
+ #: licence/lib/yit-licence.php:645
503
+ msgid "License key has been banned"
504
+ msgstr ""
505
+
506
+ #: licence/lib/yit-licence.php:646
507
+ msgid "Great"
508
+ msgstr ""
509
+
510
+ #: licence/lib/yit-licence.php:646
511
+ msgid "License successfully activated"
512
+ msgstr ""
513
 
514
+ #: licence/lib/yit-licence.php:647
515
+ msgid "License key deactivated for website"
516
+ msgstr ""
517
 
518
+ #: licence/lib/yit-plugin-licence.php:68 licence/lib/yit-plugin-licence.php:69
519
+ #: licence/lib/yit-theme-licence.php:70 licence/lib/yit-theme-licence.php:71
520
+ #: licence/lib/yit-theme-licence.php:110 licence/lib/yit-theme-licence.php:111
521
+ msgid "License Activation"
522
+ msgstr ""
523
 
524
+ #: licence/lib/yit-theme-licence.php:118 licence/lib/yit-theme-licence.php:119
525
  #, php-format
526
  msgid "%s"
527
  msgstr "%s"
528
 
529
+ #: licence/lib/yit-theme-licence.php:160
 
 
 
 
530
  msgid ""
531
  "I cannot find the license key for activating the theme I have bought some time "
532
  "ago. Where can I find it?"
534
  "Non riesco a trovare la chiave di licenza per l'attivazione del tema che ho "
535
  "acquistato diverso tempo fa. Dove posso trovarla?"
536
 
537
+ #: licence/lib/yit-theme-licence.php:163
538
  msgid ""
539
  "If you have purchased one of our products before 27 January 2015, you can benefit "
540
  "from support and updates (the services offered with the license)\n"
541
+ " until 27 January 2016 and you do not have to purchase it again "
542
+ "to get a new license key, because, before this date, your license used to be "
543
+ "activated automatically by our system.\n"
544
+ " After 27 January 2016, instead, if you want to benefit from "
545
+ "support and updates you have to buy a new license and activate it through the "
546
+ "license key you will be\n"
547
+ " provided with and that you can find in your YIThemes account, "
548
+ "in section \"My licenses\"."
549
+ msgstr ""
550
+
551
+ #: licence/templates/panel/activation/activation-panel.php:22
552
+ msgid "Yithemes License Activation"
553
+ msgstr ""
554
+
555
+ #: licence/templates/panel/activation/activation-panel.php:28
 
 
 
 
 
556
  msgid ""
557
  "Have you updated your licenses? Have you asked for an extension? Update "
558
  "information concerning your products."
560
  "Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
561
  "informazioni dei tuoi prodotti."
562
 
563
+ #: licence/templates/panel/activation/activation-panel.php:30
564
+ msgid "Update license information"
565
+ msgstr ""
566
 
567
+ #: licence/templates/panel/activation/activation-panel.php:43
568
+ msgid "Product to activate"
569
+ msgid_plural "Products to activate"
570
+ msgstr[0] ""
571
+ msgstr[1] ""
572
 
573
+ #: licence/templates/panel/activation/activation-panel.php:62
574
  msgid "Activate"
575
  msgstr "Attiva"
576
 
577
+ #: licence/templates/panel/activation/activation-panel.php:81
578
  msgid "Activated"
579
  msgstr "Attivato"
580
 
581
+ #: licence/templates/panel/activation/activation-panel.php:87
582
+ #: licence/templates/panel/activation/activation-panel.php:162
583
+ #: licence/templates/panel/activation/activation-panel.php:192
584
  msgid "Product Name"
585
  msgstr "Nome prodotto"
586
 
 
 
 
 
 
 
 
 
587
  #: licence/templates/panel/activation/activation-panel.php:93
588
+ #: licence/templates/panel/activation/activation-panel.php:199
 
 
 
 
 
 
589
  msgid "Expires"
590
  msgstr "Scadenza"
591
 
592
+ #: licence/templates/panel/activation/activation-panel.php:96
593
  msgid "Remaining"
594
  msgstr "Tempo rimanente"
595
 
596
+ #: licence/templates/panel/activation/activation-panel.php:97
597
+ #: licence/templates/panel/activation/activation-panel.php:223
598
+ msgid "Membership"
599
+ msgstr ""
 
 
600
 
601
+ #: licence/templates/panel/activation/activation-panel.php:100
602
+ msgid "License Actions"
603
+ msgstr ""
604
+
605
+ #: licence/templates/panel/activation/activation-panel.php:125
606
  #, php-format
607
  msgid "%1s out of %2s"
608
  msgstr "%1s di %2s"
609
 
610
+ #: licence/templates/panel/activation/activation-panel.php:140
611
+ msgid "Deactivate"
612
+ msgstr ""
613
+
614
+ #: licence/templates/panel/activation/activation-panel.php:145
615
+ #: licence/templates/panel/activation/activation-panel.php:202
616
+ #: licence/templates/panel/activation/activation-panel.php:223
617
+ msgid "Renew"
618
+ msgstr "Rinnova"
619
+
620
+ #: licence/templates/panel/activation/activation-panel.php:158
621
  msgid "Banned"
622
  msgstr "Bloccato"
623
 
624
+ #: licence/templates/panel/activation/activation-panel.php:188
625
  msgid "Expired"
626
  msgstr "Non più valido"
627
 
628
+ #: licence/templates/panel/activation/activation-panel.php:223
629
+ msgid "License"
630
+ msgstr ""
631
+
632
  #: templates/metaboxes/types/ajax-products.php:23
633
  msgid "Search for a product"
634
  msgstr "Cerca un prodotto"
825
  #: templates/metaboxes/types/icon-list.php:69
826
  #: templates/metaboxes/types/select-icon.php:33
827
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
828
+ #: templates/panel/woocommerce/woocommerce-upload.php:40
829
  msgid "Upload"
830
  msgstr "Carica"
831
 
993
  msgid "Italic bold"
994
  msgstr "Grassetto corsivo"
995
 
996
+ #: templates/panel/woocommerce/woocommerce-form.php:11
997
  msgid "Reset Defaults"
998
  msgstr "Ripristina impostazioni iniziali"
999
 
1000
+ #~ msgid "Layout for this "
1001
+ #~ msgstr "Layout per questo"
1002
+
1003
+ #~ msgid "Add with multiupload"
1004
+ #~ msgstr "Aggiungi con caricamento multiplo"
1005
+
1006
+ #~ msgid "Reset to Default"
1007
+ #~ msgstr "Ripristina impostazioni iniziali"
1008
+
1009
+ #~ msgid ""
1010
+ #~ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
1011
+ #~ "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
1012
+ #~ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
1013
+ #~ "activation\">activate</a> your copy of %6s.</em>"
1014
+ #~ msgstr ""
1015
+ #~ "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
1016
+ #~ "changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</"
1017
+ #~ "a>. <em>Gli aggiornamenti automatici non sono disponibili per questo plugi, per "
1018
+ #~ "favore, <a href=\"%5$s\" title=\"Licence activation\">attiva</a> la tua copia "
1019
+ #~ "di %6s.</em>"
1020
+
1021
+ #~ msgid "Invalid licence key"
1022
+ #~ msgstr "Chiave di licenza non valida"
1023
+
1024
+ #~ msgid "Licence key has expired"
1025
+ #~ msgstr "Questa chiave di licenza è scaduta"
1026
+
1027
+ #~ msgid "Licence key has been banned"
1028
+ #~ msgstr "Questa chiave di licenza è stata bloccata"
1029
+
1030
+ #~ msgid "Licence Activation"
1031
+ #~ msgstr "Attivazione licenza"
1032
+
1033
+ #~ msgid "Yithemes Licence Activation"
1034
+ #~ msgstr "Attivazione licenza YIThemes"
1035
+
1036
+ #~ msgid ""
1037
+ #~ "If you have purchased one of our products before 27 January 2015, you can "
1038
+ #~ "benefit from support and updates (the services offered with the license)\n"
1039
+ #~ " until 27 January 2016 and you do not have to purchase it again to "
1040
+ #~ "get a new license key, because, before this date, your license used to be "
1041
+ #~ "activated automatically by our system.\n"
1042
+ #~ " After 27 January 2016, instead, if you want to benefit from support "
1043
+ #~ "and updates you have to buy a new license and activate it through the license "
1044
+ #~ "key you will be\n"
1045
+ #~ " provided with and that you can find in your YIThemes account, in "
1046
+ #~ "section \"My licenses\"."
1047
+ #~ msgstr ""
1048
+ #~ "Se hai acquistato un nostro prodotto prima del 27 gennaio 2015 potrai accedere "
1049
+ #~ "al supporto e scaricare gli aggiornamenti fino al 27 gennaio 2016 e non avrai "
1050
+ #~ "bisogno di una chiave di licenza,\n"
1051
+ #~ "in quanto la tua licenza prima di questa data veniva attivata in modo "
1052
+ #~ "automatico dal nostro sistema.\n"
1053
+ #~ "Dopo il 27 gennaio 2016, invece, per poter usufruire del servizio di supporto e "
1054
+ #~ "degli aggiornamenti dovrai riacquistare il prodotto e\n"
1055
+ #~ "attivarlo con la chiave di licenza che ti sarà fornita e che puoi trovare sul "
1056
+ #~ "tuo account YIThemes, alla voce \"Le mie licenze\"."
1057
+
1058
+ #~ msgid "Update licence information"
1059
+ #~ msgstr "Aggiorna le informazioni di licenza"
1060
+
1061
+ #~ msgid "Products to be activated"
1062
+ #~ msgstr "Prodotti da attivare"
1063
+
1064
+ #~ msgid "Licence Key"
1065
+ #~ msgstr "Chiave di licenza"
1066
+
1067
  #~ msgid "%field_1% and %field_2% fields cannot be empty"
1068
  #~ msgstr "I campi %field_1% e %field_2% non possono essere vuoti"
1069
 
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -1,10 +1,11 @@
1
  # Copyright (C) 2015 YIThemes
2
  # This file is distributed under the same license as the YITH Plugin Starter package.
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2015-05-05 10:38+0100\n"
8
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
@@ -12,7 +13,7 @@ msgstr ""
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=utf-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.7.6\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -136,7 +137,8 @@ msgid "Type"
136
  msgstr ""
137
 
138
  #: lib/yit-cpt-unlimited.php:1052
139
- msgid "Layout for this "
 
140
  msgstr ""
141
 
142
  #: lib/yit-cpt-unlimited.php:1058
@@ -215,10 +217,10 @@ msgid "Add %s from images"
215
  msgstr ""
216
 
217
  #: lib/yit-cpt-unlimited.php:1633
218
- msgid "Add with multiupload"
219
  msgstr ""
220
 
221
- #: lib/yit-plugin-panel-wc.php:295
222
  msgid "The changes you have made will be lost if you leave this page."
223
  msgstr ""
224
 
@@ -226,69 +228,69 @@ msgstr ""
226
  msgid "Plugin Settings"
227
  msgstr ""
228
 
229
- #: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
230
  msgid "YIT Plugins"
231
  msgstr ""
232
 
233
- #: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
234
  #: templates/panel/woocommerce/woocommerce-form.php:5
235
  msgid "Save Changes"
236
  msgstr ""
237
 
238
- #: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
239
  msgid "If you continue with this action, you will reset all options in this page."
240
  msgstr ""
241
 
242
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
243
- msgid "Reset to Default"
244
  msgstr ""
245
 
246
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
247
- #: templates/panel/woocommerce/woocommerce-form.php:10
248
  msgid "Are you sure?"
249
  msgstr ""
250
 
251
- #: lib/yit-plugin-panel.php:431
252
  msgid "The element you have entered already exists. Please, enter another name."
253
  msgstr ""
254
 
255
- #: lib/yit-plugin-panel.php:432
256
  msgid "Settings saved"
257
  msgstr ""
258
 
259
- #: lib/yit-plugin-panel.php:433
260
  msgid "Settings reset"
261
  msgstr ""
262
 
263
- #: lib/yit-plugin-panel.php:434
264
  msgid "Element deleted correctly."
265
  msgstr ""
266
 
267
- #: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
268
  msgid "Element updated correctly."
269
  msgstr ""
270
 
271
- #: lib/yit-plugin-panel.php:437
272
  msgid "Database imported correctly."
273
  msgstr ""
274
 
275
- #: lib/yit-plugin-panel.php:438
276
  msgid "An error has occurred during import. Please try again."
277
  msgstr ""
278
 
279
- #: lib/yit-plugin-panel.php:439
280
  msgid "The added file is not valid."
281
  msgstr ""
282
 
283
- #: lib/yit-plugin-panel.php:440
284
  msgid "Sorry, import is disabled."
285
  msgstr ""
286
 
287
- #: lib/yit-plugin-panel.php:441
288
  msgid "Sorting successful."
289
  msgstr ""
290
 
291
- #: lib/yit-plugin-subpanel.php:145
292
  msgid ""
293
  "If you continue with this action, you will reset all the options in this page."
294
  msgstr ""
@@ -347,26 +349,26 @@ msgstr ""
347
  msgid "Update now."
348
  msgstr ""
349
 
350
- #: lib/yit-upgrade.php:230
351
  msgid "Yithemes Repository"
352
  msgstr ""
353
 
354
- #: lib/yit-upgrade.php:264
355
  msgid "Invalid URL Provided."
356
  msgstr ""
357
 
358
- #: lib/yit-upgrade.php:277
359
  msgid "Could not create Temporary file."
360
  msgstr ""
361
 
362
- #: lib/yit-upgrade.php:419
363
  #, php-format
364
  msgid ""
365
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
366
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>."
367
  msgstr ""
368
 
369
- #: lib/yit-upgrade.php:421
370
  #, php-format
371
  msgid ""
372
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -375,16 +377,16 @@ msgid ""
375
  "updates.</em>"
376
  msgstr ""
377
 
378
- #: lib/yit-upgrade.php:423
379
  #, php-format
380
  msgid ""
381
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
382
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
383
- "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
384
  "activation\">activate</a> your copy of %6s.</em>"
385
  msgstr ""
386
 
387
- #: lib/yit-upgrade.php:425
388
  #, php-format
389
  msgid ""
390
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -392,169 +394,207 @@ msgid ""
392
  "\">update now</a>."
393
  msgstr ""
394
 
395
- #: lib/yit-upgrade.php:498
396
  msgid "You can't update the plugins for this site."
397
  msgstr ""
398
 
399
- #: lib/yit-upgrade.php:502
400
  msgid "You do not have sufficient permissions to update the plugins for this site."
401
  msgstr ""
402
 
403
- #: lib/yit-upgrade.php:509
404
  msgid "Update Plugin"
405
  msgstr ""
406
 
407
- #: licence/lib/yit-licence.php:161
408
  #, php-format
409
- msgid "%field% field cannot be empty"
 
410
  msgstr ""
411
 
412
- #: licence/lib/yit-licence.php:162
413
- msgid "%field_1% and %field_2% fields cannot be empty"
 
414
  msgstr ""
415
 
416
- #: licence/lib/yit-licence.php:163
417
  msgid "Unable to contact the remote server, please try again later. Thanks!"
418
  msgstr ""
419
 
420
- #: licence/lib/yit-licence.php:548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
  msgid "Invalid Request"
422
  msgstr ""
423
 
424
- #: licence/lib/yit-licence.php:549
425
- msgid "Invalid licence key"
426
  msgstr ""
427
 
428
- #: licence/lib/yit-licence.php:550
429
  msgid "Software has been deactivated"
430
  msgstr ""
431
 
432
- #: licence/lib/yit-licence.php:551
433
  msgid "Maximum number of activations exceeded"
434
  msgstr ""
435
 
436
- #: licence/lib/yit-licence.php:552
437
  msgid "Invalid instance ID"
438
  msgstr ""
439
 
440
- #: licence/lib/yit-licence.php:553
441
  msgid "Invalid security key"
442
  msgstr ""
443
 
444
- #: licence/lib/yit-licence.php:554
445
- msgid "Licence key has expired"
446
  msgstr ""
447
 
448
- #: licence/lib/yit-licence.php:555
449
- msgid "Licence key has been banned"
450
  msgstr ""
451
 
452
- #: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
453
- #: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
454
- #: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
455
- msgid "Licence Activation"
456
  msgstr ""
457
 
458
- #: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
459
- #, php-format
460
- msgid "%s"
461
  msgstr ""
462
 
463
- #: licence/templates/panel/activation/activation-panel.php:19
464
- msgid "Yithemes Licence Activation"
465
  msgstr ""
466
 
467
- #: licence/templates/panel/activation/activation-panel.php:23
 
 
 
 
 
 
 
 
 
 
 
468
  msgid ""
469
  "I cannot find the license key for activating the theme I have bought some time "
470
  "ago. Where can I find it?"
471
  msgstr ""
472
 
473
- #: licence/templates/panel/activation/activation-panel.php:26
474
  msgid ""
475
  "If you have purchased one of our products before 27 January 2015, you can benefit "
476
  "from support and updates (the services offered with the license)\n"
477
- " until 27 January 2016 and you do not have to purchase it again to get "
478
- "a new license key, because, before this date, your license used to be activated "
479
- "automatically by our system.\n"
480
- " After 27 January 2016, instead, if you want to benefit from support "
481
- "and updates you have to buy a new license and activate it through the license key "
482
- "you will be\n"
483
- " provided with and that you can find in your YIThemes account, in "
484
- "section \"My licenses\"."
485
  msgstr ""
486
 
487
- #: licence/templates/panel/activation/activation-panel.php:37
 
 
 
 
488
  msgid ""
489
  "Have you updated your licenses? Have you asked for an extension? Update "
490
  "information concerning your products."
491
  msgstr ""
492
 
493
- #: licence/templates/panel/activation/activation-panel.php:39
494
- msgid "Update licence information"
495
  msgstr ""
496
 
497
- #: licence/templates/panel/activation/activation-panel.php:49
498
- msgid "Products to be activated"
499
- msgstr ""
 
 
500
 
501
- #: licence/templates/panel/activation/activation-panel.php:68
502
  msgid "Activate"
503
  msgstr ""
504
 
505
- #: licence/templates/panel/activation/activation-panel.php:87
506
  msgid "Activated"
507
  msgstr ""
508
 
509
- #: licence/templates/panel/activation/activation-panel.php:91
510
- #: licence/templates/panel/activation/activation-panel.php:123
511
- #: licence/templates/panel/activation/activation-panel.php:147
512
  msgid "Product Name"
513
  msgstr ""
514
 
515
- #: licence/templates/panel/activation/activation-panel.php:92
516
- #: licence/templates/panel/activation/activation-panel.php:124
517
- #: licence/templates/panel/activation/activation-panel.php:148
518
- #: templates/metaboxes/types/contactform.php:148
519
- #: templates/metaboxes/types/contactform.php:340
520
- msgid "Email"
521
- msgstr ""
522
-
523
  #: licence/templates/panel/activation/activation-panel.php:93
524
- #: licence/templates/panel/activation/activation-panel.php:125
525
- #: licence/templates/panel/activation/activation-panel.php:149
526
- msgid "Licence Key"
527
- msgstr ""
528
-
529
- #: licence/templates/panel/activation/activation-panel.php:94
530
- #: licence/templates/panel/activation/activation-panel.php:150
531
  msgid "Expires"
532
  msgstr ""
533
 
534
- #: licence/templates/panel/activation/activation-panel.php:95
535
  msgid "Remaining"
536
  msgstr ""
537
 
538
- #: licence/templates/panel/activation/activation-panel.php:96
539
- #: licence/templates/panel/activation/activation-panel.php:109
540
- #: licence/templates/panel/activation/activation-panel.php:151
541
- #: licence/templates/panel/activation/activation-panel.php:161
542
- msgid "Renew"
 
 
543
  msgstr ""
544
 
545
- #: licence/templates/panel/activation/activation-panel.php:107
546
  #, php-format
547
  msgid "%1s out of %2s"
548
  msgstr ""
549
 
550
- #: licence/templates/panel/activation/activation-panel.php:119
 
 
 
 
 
 
 
 
 
 
551
  msgid "Banned"
552
  msgstr ""
553
 
554
- #: licence/templates/panel/activation/activation-panel.php:143
555
  msgid "Expired"
556
  msgstr ""
557
 
 
 
 
 
558
  #: templates/metaboxes/types/ajax-products.php:23
559
  msgid "Search for a product"
560
  msgstr ""
@@ -630,7 +670,7 @@ msgstr ""
630
 
631
  #: templates/metaboxes/types/contactform.php:77
632
  #: templates/metaboxes/types/contactform.php:269
633
- msgid "Title Field"
634
  msgstr ""
635
 
636
  #: templates/metaboxes/types/contactform.php:81
@@ -652,7 +692,7 @@ msgstr ""
652
 
653
  #: templates/metaboxes/types/contactform.php:95
654
  #: templates/metaboxes/types/contactform.php:287
655
- msgid "Type field"
656
  msgstr ""
657
 
658
  #: templates/metaboxes/types/contactform.php:103
@@ -747,7 +787,7 @@ msgstr ""
747
  #: templates/metaboxes/types/icon-list.php:69
748
  #: templates/metaboxes/types/select-icon.php:33
749
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
750
- #: templates/panel/woocommerce/woocommerce-upload.php:35
751
  msgid "Upload"
752
  msgstr ""
753
 
@@ -915,6 +955,6 @@ msgstr ""
915
  msgid "Italic bold"
916
  msgstr ""
917
 
918
- #: templates/panel/woocommerce/woocommerce-form.php:10
919
  msgid "Reset Defaults"
920
  msgstr ""
1
  # Copyright (C) 2015 YIThemes
2
  # This file is distributed under the same license as the YITH Plugin Starter package.
3
+ #, fuzzy
4
  msgid ""
5
  msgstr ""
6
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "POT-Creation-Date: 2015-11-16 12:23+0100\n"
9
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=utf-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Generator: Poedit 1.8.1\n"
17
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
18
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
19
  "esc_html_x:1,2c\n"
137
  msgstr ""
138
 
139
  #: lib/yit-cpt-unlimited.php:1052
140
+ #, php-format
141
+ msgid "Layout for this %s"
142
  msgstr ""
143
 
144
  #: lib/yit-cpt-unlimited.php:1058
217
  msgstr ""
218
 
219
  #: lib/yit-cpt-unlimited.php:1633
220
+ msgid "Upload multiple files"
221
  msgstr ""
222
 
223
+ #: lib/yit-plugin-panel-wc.php:336
224
  msgid "The changes you have made will be lost if you leave this page."
225
  msgstr ""
226
 
228
  msgid "Plugin Settings"
229
  msgstr ""
230
 
231
+ #: lib/yit-plugin-panel.php:96 lib/yit-plugin-subpanel.php:101
232
  msgid "YIT Plugins"
233
  msgstr ""
234
 
235
+ #: lib/yit-plugin-panel.php:288 lib/yit-plugin-subpanel.php:143
236
  #: templates/panel/woocommerce/woocommerce-form.php:5
237
  msgid "Save Changes"
238
  msgstr ""
239
 
240
+ #: lib/yit-plugin-panel.php:291 templates/panel/woocommerce/woocommerce-form.php:8
241
  msgid "If you continue with this action, you will reset all options in this page."
242
  msgstr ""
243
 
244
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
245
+ msgid "Reset to default"
246
  msgstr ""
247
 
248
+ #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
249
+ #: templates/panel/woocommerce/woocommerce-form.php:11
250
  msgid "Are you sure?"
251
  msgstr ""
252
 
253
+ #: lib/yit-plugin-panel.php:427
254
  msgid "The element you have entered already exists. Please, enter another name."
255
  msgstr ""
256
 
257
+ #: lib/yit-plugin-panel.php:428
258
  msgid "Settings saved"
259
  msgstr ""
260
 
261
+ #: lib/yit-plugin-panel.php:429
262
  msgid "Settings reset"
263
  msgstr ""
264
 
265
+ #: lib/yit-plugin-panel.php:430
266
  msgid "Element deleted correctly."
267
  msgstr ""
268
 
269
+ #: lib/yit-plugin-panel.php:431 lib/yit-plugin-panel.php:432
270
  msgid "Element updated correctly."
271
  msgstr ""
272
 
273
+ #: lib/yit-plugin-panel.php:433
274
  msgid "Database imported correctly."
275
  msgstr ""
276
 
277
+ #: lib/yit-plugin-panel.php:434
278
  msgid "An error has occurred during import. Please try again."
279
  msgstr ""
280
 
281
+ #: lib/yit-plugin-panel.php:435
282
  msgid "The added file is not valid."
283
  msgstr ""
284
 
285
+ #: lib/yit-plugin-panel.php:436
286
  msgid "Sorry, import is disabled."
287
  msgstr ""
288
 
289
+ #: lib/yit-plugin-panel.php:437
290
  msgid "Sorting successful."
291
  msgstr ""
292
 
293
+ #: lib/yit-plugin-subpanel.php:146
294
  msgid ""
295
  "If you continue with this action, you will reset all the options in this page."
296
  msgstr ""
349
  msgid "Update now."
350
  msgstr ""
351
 
352
+ #: lib/yit-upgrade.php:250
353
  msgid "Yithemes Repository"
354
  msgstr ""
355
 
356
+ #: lib/yit-upgrade.php:284
357
  msgid "Invalid URL Provided."
358
  msgstr ""
359
 
360
+ #: lib/yit-upgrade.php:297
361
  msgid "Could not create Temporary file."
362
  msgstr ""
363
 
364
+ #: lib/yit-upgrade.php:439
365
  #, php-format
366
  msgid ""
367
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
368
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>."
369
  msgstr ""
370
 
371
+ #: lib/yit-upgrade.php:441
372
  #, php-format
373
  msgid ""
374
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
377
  "updates.</em>"
378
  msgstr ""
379
 
380
+ #: lib/yit-upgrade.php:443
381
  #, php-format
382
  msgid ""
383
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
384
  "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
385
+ "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"License "
386
  "activation\">activate</a> your copy of %6s.</em>"
387
  msgstr ""
388
 
389
+ #: lib/yit-upgrade.php:445
390
  #, php-format
391
  msgid ""
392
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
394
  "\">update now</a>."
395
  msgstr ""
396
 
397
+ #: lib/yit-upgrade.php:518
398
  msgid "You can't update the plugins for this site."
399
  msgstr ""
400
 
401
+ #: lib/yit-upgrade.php:522
402
  msgid "You do not have sufficient permissions to update the plugins for this site."
403
  msgstr ""
404
 
405
+ #: lib/yit-upgrade.php:529
406
  msgid "Update Plugin"
407
  msgstr ""
408
 
409
+ #: licence/lib/yit-licence.php:170
410
  #, php-format
411
+ msgctxt "%s = field name"
412
+ msgid "%s field cannot be empty"
413
  msgstr ""
414
 
415
+ #: licence/lib/yit-licence.php:171
416
+ #, php-format
417
+ msgid "%s and %s fields cannot be empty"
418
  msgstr ""
419
 
420
+ #: licence/lib/yit-licence.php:172
421
  msgid "Unable to contact the remote server, please try again later. Thanks!"
422
  msgstr ""
423
 
424
+ #: licence/lib/yit-licence.php:173
425
+ #: licence/templates/panel/activation/activation-panel.php:89
426
+ #: licence/templates/panel/activation/activation-panel.php:164
427
+ #: licence/templates/panel/activation/activation-panel.php:195
428
+ #: templates/metaboxes/types/contactform.php:148
429
+ #: templates/metaboxes/types/contactform.php:340
430
+ msgid "Email"
431
+ msgstr ""
432
+
433
+ #: licence/lib/yit-licence.php:174
434
+ #: licence/templates/panel/activation/activation-panel.php:90
435
+ #: licence/templates/panel/activation/activation-panel.php:165
436
+ #: licence/templates/panel/activation/activation-panel.php:196
437
+ msgid "License Key"
438
+ msgstr ""
439
+
440
+ #: licence/lib/yit-licence.php:175
441
+ msgid "Are you sure you want to deactivate the license for current site?"
442
+ msgstr ""
443
+
444
+ #: licence/lib/yit-licence.php:638
445
  msgid "Invalid Request"
446
  msgstr ""
447
 
448
+ #: licence/lib/yit-licence.php:639
449
+ msgid "Invalid license key"
450
  msgstr ""
451
 
452
+ #: licence/lib/yit-licence.php:640
453
  msgid "Software has been deactivated"
454
  msgstr ""
455
 
456
+ #: licence/lib/yit-licence.php:641
457
  msgid "Maximum number of activations exceeded"
458
  msgstr ""
459
 
460
+ #: licence/lib/yit-licence.php:642
461
  msgid "Invalid instance ID"
462
  msgstr ""
463
 
464
+ #: licence/lib/yit-licence.php:643
465
  msgid "Invalid security key"
466
  msgstr ""
467
 
468
+ #: licence/lib/yit-licence.php:644
469
+ msgid "License key has expired"
470
  msgstr ""
471
 
472
+ #: licence/lib/yit-licence.php:645
473
+ msgid "License key has been banned"
474
  msgstr ""
475
 
476
+ #: licence/lib/yit-licence.php:646
477
+ msgid "Great"
 
 
478
  msgstr ""
479
 
480
+ #: licence/lib/yit-licence.php:646
481
+ msgid "License successfully activated"
 
482
  msgstr ""
483
 
484
+ #: licence/lib/yit-licence.php:647
485
+ msgid "License key deactivated for website"
486
  msgstr ""
487
 
488
+ #: licence/lib/yit-plugin-licence.php:68 licence/lib/yit-plugin-licence.php:69
489
+ #: licence/lib/yit-theme-licence.php:70 licence/lib/yit-theme-licence.php:71
490
+ #: licence/lib/yit-theme-licence.php:110 licence/lib/yit-theme-licence.php:111
491
+ msgid "License Activation"
492
+ msgstr ""
493
+
494
+ #: licence/lib/yit-theme-licence.php:118 licence/lib/yit-theme-licence.php:119
495
+ #, php-format
496
+ msgid "%s"
497
+ msgstr ""
498
+
499
+ #: licence/lib/yit-theme-licence.php:160
500
  msgid ""
501
  "I cannot find the license key for activating the theme I have bought some time "
502
  "ago. Where can I find it?"
503
  msgstr ""
504
 
505
+ #: licence/lib/yit-theme-licence.php:163
506
  msgid ""
507
  "If you have purchased one of our products before 27 January 2015, you can benefit "
508
  "from support and updates (the services offered with the license)\n"
509
+ " until 27 January 2016 and you do not have to purchase it again "
510
+ "to get a new license key, because, before this date, your license used to be "
511
+ "activated automatically by our system.\n"
512
+ " After 27 January 2016, instead, if you want to benefit from "
513
+ "support and updates you have to buy a new license and activate it through the "
514
+ "license key you will be\n"
515
+ " provided with and that you can find in your YIThemes account, "
516
+ "in section \"My licenses\"."
517
  msgstr ""
518
 
519
+ #: licence/templates/panel/activation/activation-panel.php:22
520
+ msgid "Yithemes License Activation"
521
+ msgstr ""
522
+
523
+ #: licence/templates/panel/activation/activation-panel.php:28
524
  msgid ""
525
  "Have you updated your licenses? Have you asked for an extension? Update "
526
  "information concerning your products."
527
  msgstr ""
528
 
529
+ #: licence/templates/panel/activation/activation-panel.php:30
530
+ msgid "Update license information"
531
  msgstr ""
532
 
533
+ #: licence/templates/panel/activation/activation-panel.php:43
534
+ msgid "Product to activate"
535
+ msgid_plural "Products to activate"
536
+ msgstr[0] ""
537
+ msgstr[1] ""
538
 
539
+ #: licence/templates/panel/activation/activation-panel.php:62
540
  msgid "Activate"
541
  msgstr ""
542
 
543
+ #: licence/templates/panel/activation/activation-panel.php:81
544
  msgid "Activated"
545
  msgstr ""
546
 
547
+ #: licence/templates/panel/activation/activation-panel.php:87
548
+ #: licence/templates/panel/activation/activation-panel.php:162
549
+ #: licence/templates/panel/activation/activation-panel.php:192
550
  msgid "Product Name"
551
  msgstr ""
552
 
 
 
 
 
 
 
 
 
553
  #: licence/templates/panel/activation/activation-panel.php:93
554
+ #: licence/templates/panel/activation/activation-panel.php:199
 
 
 
 
 
 
555
  msgid "Expires"
556
  msgstr ""
557
 
558
+ #: licence/templates/panel/activation/activation-panel.php:96
559
  msgid "Remaining"
560
  msgstr ""
561
 
562
+ #: licence/templates/panel/activation/activation-panel.php:97
563
+ #: licence/templates/panel/activation/activation-panel.php:223
564
+ msgid "Membership"
565
+ msgstr ""
566
+
567
+ #: licence/templates/panel/activation/activation-panel.php:100
568
+ msgid "License Actions"
569
  msgstr ""
570
 
571
+ #: licence/templates/panel/activation/activation-panel.php:125
572
  #, php-format
573
  msgid "%1s out of %2s"
574
  msgstr ""
575
 
576
+ #: licence/templates/panel/activation/activation-panel.php:140
577
+ msgid "Deactivate"
578
+ msgstr ""
579
+
580
+ #: licence/templates/panel/activation/activation-panel.php:145
581
+ #: licence/templates/panel/activation/activation-panel.php:202
582
+ #: licence/templates/panel/activation/activation-panel.php:223
583
+ msgid "Renew"
584
+ msgstr ""
585
+
586
+ #: licence/templates/panel/activation/activation-panel.php:158
587
  msgid "Banned"
588
  msgstr ""
589
 
590
+ #: licence/templates/panel/activation/activation-panel.php:188
591
  msgid "Expired"
592
  msgstr ""
593
 
594
+ #: licence/templates/panel/activation/activation-panel.php:223
595
+ msgid "License"
596
+ msgstr ""
597
+
598
  #: templates/metaboxes/types/ajax-products.php:23
599
  msgid "Search for a product"
600
  msgstr ""
670
 
671
  #: templates/metaboxes/types/contactform.php:77
672
  #: templates/metaboxes/types/contactform.php:269
673
+ msgid "Field Title"
674
  msgstr ""
675
 
676
  #: templates/metaboxes/types/contactform.php:81
692
 
693
  #: templates/metaboxes/types/contactform.php:95
694
  #: templates/metaboxes/types/contactform.php:287
695
+ msgid "Field Type"
696
  msgstr ""
697
 
698
  #: templates/metaboxes/types/contactform.php:103
787
  #: templates/metaboxes/types/icon-list.php:69
788
  #: templates/metaboxes/types/select-icon.php:33
789
  #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
790
+ #: templates/panel/woocommerce/woocommerce-upload.php:40
791
  msgid "Upload"
792
  msgstr ""
793
 
955
  msgid "Italic bold"
956
  msgstr ""
957
 
958
+ #: templates/panel/woocommerce/woocommerce-form.php:11
959
  msgid "Reset Defaults"
960
  msgstr ""
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -247,7 +247,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
247
  return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
248
  }
249
 
250
- $upgrader->skin->feedback( 'downloading_package', __( 'Yithemes Repository', 'yith-plugin-fw' ) );
251
 
252
  $download_file = $this->_download_url( $package, $args );
253
 
@@ -440,7 +440,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
440
  }elseif( is_plugin_active_for_network( $init ) ){
441
  printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
442
  }elseif ( empty( $r->package ) ) {
443
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="Licence activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
444
  } else {
445
  printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url($details_url), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $init, 'upgrade-plugin_' . $init ) );
446
  }
247
  return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
248
  }
249
 
250
+ $upgrader->skin->feedback( 'downloading_package', __( 'YIThemes Repository', 'yith-plugin-fw' ) );
251
 
252
  $download_file = $this->_download_url( $package, $args );
253
 
440
  }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
  }
plugin-fw/licence/assets/css/yit-licence.css CHANGED
@@ -23,6 +23,7 @@
23
 
24
  .yit-container.product-licence-activation .to-active-wrapper {
25
  margin-bottom: 60px;
 
26
  }
27
 
28
  .yit-container.product-licence-activation .to-active-wrapper form.to-active-form {
@@ -121,17 +122,13 @@
121
  vertical-align: top;
122
  }
123
 
124
- .yit-container.product-licence-activation .spinner.show{
125
- display: inline-block;
126
- vertical-align: middle;
127
  float: none;
128
  }
129
 
130
- .yit-container.product-licence-activation h3.to-active > .spinner.show {
131
- display: inline-block;
132
- float: none;
133
- top: -3px;
134
- position: relative;
135
  }
136
 
137
  .yit-container.product-licence-activation .licence-check-section{
@@ -176,18 +173,24 @@
176
  padding: 12px 19px;
177
  }
178
 
 
179
  .yit-container.product-licence-activation .button-licence.licence-renew {
180
  text-decoration: none;
181
  padding: 7px 12px;
182
  font-size: 9px;
183
  }
184
 
 
 
 
 
 
185
  .yit-container.product-licence-activation .button-licence.licence-renew:focus {
186
  box-shadow: none;
187
  }
188
 
189
  .yit-container.product-licence-activation table:not(.to-active-table) {
190
- width: 100%;
191
  border: 1px solid #dcdcdc;
192
  border-spacing: 0;
193
  border-radius: 5px;
@@ -197,12 +200,18 @@
197
 
198
  .yit-container.product-licence-activation table:not(.to-active-table) th {
199
  border-bottom: 1px solid #dcdcdc;
 
 
 
 
 
200
  }
201
 
202
  .yit-container.product-licence-activation table:not(.to-active-table) td,
203
  .yit-container.product-licence-activation table:not(.to-active-table) th {
204
  border-right: 1px solid #dcdcdc;
205
  }
 
206
  .yit-container.product-licence-activation table td:last-child,
207
  .yit-container.product-licence-activation table th:last-child {
208
  border-right: 0;
@@ -216,8 +225,12 @@
216
  background-color: #ffffff;
217
  }
218
 
 
 
 
 
219
  .yit-container.product-licence-activation table thead tr th {
220
- font-size: 13px;
221
  color: #313131;
222
  text-transform: uppercase;
223
  font-weight: bold;
@@ -228,6 +241,14 @@
228
  line-height: 60px;
229
  }
230
 
 
 
 
 
 
 
 
 
231
  .yit-container.product-licence-activation table tbody tr td{
232
  text-align: center;
233
  line-height: 20px;
@@ -260,15 +281,17 @@
260
  width: 33%;
261
  }
262
 
263
-
264
- .yit-container.product-licence-activation .to-active-table td.product-name {
265
  color: #808a97;
266
  font-size: 12px;
267
  text-transform: uppercase;
268
  font-weight: bold;
269
  line-height: 20px;
 
 
 
 
270
  width: 20%;
271
- padding-left: 20px;
272
  }
273
 
274
  .yit-container.product-licence-activation .to-active-table td.activate-button {
@@ -302,15 +325,12 @@
302
  box-shadow: 0 0 1px rgba(30,140,190,.8);
303
  }
304
 
305
- .yit-container.product-licence-activation input[type=text]{
 
306
  text-transform: uppercase;
307
  text-align: center;
308
  }
309
 
310
- .yit-container.product-licence-activation input[type=email] {
311
- text-align: left;
312
- }
313
-
314
  .yit-container.product-licence-activation input[type=submit]:focus{
315
  outline: 0;
316
  }
@@ -328,19 +348,88 @@
328
  color: #808a97;
329
  }
330
 
 
 
 
 
 
 
 
 
 
 
331
  /* === Responsive === */
332
 
333
- @media (max-width: 767px) {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
 
335
- @media (max-width: 480px) {}
 
 
336
 
337
- @media (min-width: 768px) and (max-width: 992px) {}
 
 
338
 
339
- @media (min-width: 980px) and (max-width: 1199px) {}
 
 
 
340
 
341
  @media (min-width: 1200px) {
342
  .yit-container.product-licence-activation{
343
- width: 900px;
 
 
 
 
344
  }
345
  }
346
 
23
 
24
  .yit-container.product-licence-activation .to-active-wrapper {
25
  margin-bottom: 60px;
26
+ max-width: 900px;
27
  }
28
 
29
  .yit-container.product-licence-activation .to-active-wrapper form.to-active-form {
122
  vertical-align: top;
123
  }
124
 
125
+ .yit-container.product-licence-activation .spinner{
126
+ vertical-align: -5px;
 
127
  float: none;
128
  }
129
 
130
+ .yit-container.product-licence-activation .spinner.show{
131
+ visibility: visible;
 
 
 
132
  }
133
 
134
  .yit-container.product-licence-activation .licence-check-section{
173
  padding: 12px 19px;
174
  }
175
 
176
+ .yit-container.product-licence-activation .button-licence.licence-deactive,
177
  .yit-container.product-licence-activation .button-licence.licence-renew {
178
  text-decoration: none;
179
  padding: 7px 12px;
180
  font-size: 9px;
181
  }
182
 
183
+ .yit-container.product-licence-activation table:not(.expired-table) .button-licence.licence-renew {
184
+ margin-left: 10px;
185
+ }
186
+
187
+ .yit-container.product-licence-activation .button-licence.licence-deactive:focus,
188
  .yit-container.product-licence-activation .button-licence.licence-renew:focus {
189
  box-shadow: none;
190
  }
191
 
192
  .yit-container.product-licence-activation table:not(.to-active-table) {
193
+ width: auto;
194
  border: 1px solid #dcdcdc;
195
  border-spacing: 0;
196
  border-radius: 5px;
200
 
201
  .yit-container.product-licence-activation table:not(.to-active-table) th {
202
  border-bottom: 1px solid #dcdcdc;
203
+ padding: 0 10px;
204
+ }
205
+
206
+ .yit-container.product-licence-activation table tbody tr td.product-licence-key {
207
+ text-transform: lowercase;
208
  }
209
 
210
  .yit-container.product-licence-activation table:not(.to-active-table) td,
211
  .yit-container.product-licence-activation table:not(.to-active-table) th {
212
  border-right: 1px solid #dcdcdc;
213
  }
214
+
215
  .yit-container.product-licence-activation table td:last-child,
216
  .yit-container.product-licence-activation table th:last-child {
217
  border-right: 0;
225
  background-color: #ffffff;
226
  }
227
 
228
+ .yit-container.product-licence-activation table tbody tr:nth-child(2n) {
229
+ background-color: #f4f4f4;
230
+ }
231
+
232
  .yit-container.product-licence-activation table thead tr th {
233
+ font-size: 11px;
234
  color: #313131;
235
  text-transform: uppercase;
236
  font-weight: bold;
241
  line-height: 60px;
242
  }
243
 
244
+ .yit-container.product-licence-activation table tbody tr td.product-licence-membership .dashicons-no-alt {
245
+ color: #b20015;
246
+ }
247
+
248
+ .yit-container.product-licence-activation table tbody tr td.product-licence-membership .dashicons-yes {
249
+ color: #1ca800;
250
+ }
251
+
252
  .yit-container.product-licence-activation table tbody tr td{
253
  text-align: center;
254
  line-height: 20px;
281
  width: 33%;
282
  }
283
 
284
+ .yit-container.product-licence-activation td.product-name {
 
285
  color: #808a97;
286
  font-size: 12px;
287
  text-transform: uppercase;
288
  font-weight: bold;
289
  line-height: 20px;
290
+ padding: 10px 20px;
291
+ }
292
+
293
+ .yit-container.product-licence-activation .to-active-table td.product-name {
294
  width: 20%;
 
295
  }
296
 
297
  .yit-container.product-licence-activation .to-active-table td.activate-button {
325
  box-shadow: 0 0 1px rgba(30,140,190,.8);
326
  }
327
 
328
+ .yit-container.product-licence-activation input[type=text],
329
+ .yit-container.product-licence-activation input[type=email]{
330
  text-transform: uppercase;
331
  text-align: center;
332
  }
333
 
 
 
 
 
334
  .yit-container.product-licence-activation input[type=submit]:focus{
335
  outline: 0;
336
  }
348
  color: #808a97;
349
  }
350
 
351
+ #yith-licence-notice {
352
+ margin-left: 0;
353
+ visibility: hidden;
354
+ min-height: 38px;
355
+ }
356
+
357
+ #yith-licence-notice.visible {
358
+ visibility: visible;
359
+ }
360
+
361
  /* === Responsive === */
362
 
363
+ @media (max-width: 767px) {
364
+ .yit-container.product-licence-activation .activation-faq {
365
+ margin-right: 5px;
366
+ }
367
+ }
368
+
369
+ @media (max-width: 480px) {
370
+ .yit-container.product-licence-activation .activation-faq {
371
+ margin-right: 5px;
372
+ }
373
+ }
374
+
375
+ @media (min-width: 768px) and (max-width: 992px) {
376
+ .yit-container.product-licence-activation .button-licence.licence-deactive,
377
+ .yit-container.product-licence-activation .button-licence.licence-renew {
378
+ margin-bottom: 10px;
379
+ display: block;
380
+ margin-left: 0;
381
+ padding: 5px 7px;
382
+ }
383
+
384
+ .yit-container.product-licence-activation .button-licence.licence-deactive {
385
+ margin-bottom: 10px;
386
+ }
387
+
388
+ .yit-container.product-licence-activation table:not(.to-active-table) th {
389
+ line-height: 20px;
390
+ }
391
+
392
+ .yit-container.product-licence-activation table tbody tr td {
393
+ padding: 5px;
394
+ }
395
+
396
+ .yit-container.product-licence-activation .activation-faq {
397
+ margin-right: 20px;
398
+ }
399
+ }
400
+
401
+ @media (min-width: 980px) and (max-width: 1199px) {
402
+ .yit-container.product-licence-activation .button-licence.licence-deactive,
403
+ .yit-container.product-licence-activation .button-licence.licence-renew {
404
+ display: block;
405
+ margin-left: 0;
406
+ padding: 5px 7px;
407
+ }
408
+
409
+ .yit-container.product-licence-activation .button-licence.licence-renew {
410
+ margin-top: 10px;
411
+ }
412
 
413
+ .yit-container.product-licence-activation table:not(.to-active-table) th {
414
+ line-height: 20px;
415
+ }
416
 
417
+ .yit-container.product-licence-activation table tbody tr td {
418
+ padding: 5px;
419
+ }
420
 
421
+ .yit-container.product-licence-activation .activation-faq {
422
+ width: 75%;
423
+ }
424
+ }
425
 
426
  @media (min-width: 1200px) {
427
  .yit-container.product-licence-activation{
428
+ width: auto;
429
+ }
430
+
431
+ .yit-container.product-licence-activation .activation-faq {
432
+ width: 50%;
433
  }
434
  }
435
 
plugin-fw/licence/assets/js/yit-licence.js CHANGED
@@ -16,20 +16,21 @@
16
  button.on('click', function (e, button) {
17
  e.preventDefault();
18
 
19
- var t = $(this),
20
- form_id = t.data('formid'),
21
- form = $('#' + form_id),
22
- data = form.serialize(),
23
- message = $(form).find('.message'),
24
- message_wrapper = $(form).find('.message-wrapper'),
25
- email = form.find('.user-email'),
26
- licence_key = form.find('.licence-key'),
27
- email_val = form.find('.user-email').val(),
28
- licence_key_val = form.find('.licence-key').val(),
29
- error = false,
30
- error_fields = new Array(),
31
- product_row = form.find('.product-row'),
32
- spinner = $('h3.to-active').find('.spinner');
 
33
 
34
  /* Init Input Fields */
35
  message.empty();
@@ -38,17 +39,17 @@
38
  licence_key.removeClass('require');
39
  product_row.removeClass('error');
40
  spinner.addClass('show');
41
- t.prop("disabled", true).addClass('clicked');
42
 
43
  if ('' == email_val) {
44
  error = true;
45
- error_fields[ error_fields.length ] = 'Email';
46
  email.addClass('require');
47
  }
48
 
49
  if ('' == licence_key_val) {
50
  error = true;
51
- error_fields[ error_fields.length ] = 'Licence Key';
52
  licence_key.addClass('require');
53
  }
54
 
@@ -60,7 +61,7 @@
60
  success: function (response) {
61
 
62
  spinner.removeClass('show');
63
- t.prop("disabled", false).removeClass('clicked');
64
 
65
  if (true == response.activated) {
66
  $('.product-licence-activation').empty().replaceWith(response.template);
@@ -93,10 +94,10 @@
93
  }
94
 
95
  spinner.removeClass('show');
96
- t.prop("disabled", false).removeClass('clicked');
97
  }
98
  });
99
- }
100
 
101
  var licence_update = function (button) {
102
  button.on('click', function (e) {
@@ -119,21 +120,77 @@
119
  }
120
  });
121
  });
122
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
124
  var licence_api = function () {
125
- var button = $('.licence-activation'),
126
- check = $('.licence-check');
 
127
 
128
  licence_activation(button);
129
  licence_update(check);
130
- }
 
131
 
132
  licence_api();
133
 
134
  $('body').on('click', '.yit-changelog-button', function (e) {
135
  $('#TB_window').remove();
136
-
137
  });
138
 
139
  })(jQuery);
16
  button.on('click', function (e, button) {
17
  e.preventDefault();
18
 
19
+ var t = $(this),
20
+ form_id = t.data('formid'),
21
+ form = $('#' + form_id),
22
+ data = form.serialize(),
23
+ message = $(form).find('.message'),
24
+ message_wrapper = $(form).find('.message-wrapper'),
25
+ email = form.find('.user-email'),
26
+ licence_key = form.find('.licence-key'),
27
+ email_val = form.find('.user-email').val(),
28
+ licence_key_val = form.find('.licence-key').val(),
29
+ error = false,
30
+ error_fields = new Array(),
31
+ product_row = form.find('.product-row'),
32
+ licence_activation = $('.licence-activation'),
33
+ spinner = $('#products-to-active').find('.spinner');
34
 
35
  /* Init Input Fields */
36
  message.empty();
39
  licence_key.removeClass('require');
40
  product_row.removeClass('error');
41
  spinner.addClass('show');
42
+ t.add(licence_activation).prop("disabled", true).addClass('clicked');
43
 
44
  if ('' == email_val) {
45
  error = true;
46
+ error_fields[ error_fields.length ] = licence_message.email;
47
  email.addClass('require');
48
  }
49
 
50
  if ('' == licence_key_val) {
51
  error = true;
52
+ error_fields[ error_fields.length ] = licence_message.license_key;
53
  licence_key.addClass('require');
54
  }
55
 
61
  success: function (response) {
62
 
63
  spinner.removeClass('show');
64
+ t.add(licence_activation).prop("disabled", false).removeClass('clicked');
65
 
66
  if (true == response.activated) {
67
  $('.product-licence-activation').empty().replaceWith(response.template);
94
  }
95
 
96
  spinner.removeClass('show');
97
+ t.add(licence_activation).prop("disabled", false).removeClass('clicked');
98
  }
99
  });
100
+ };
101
 
102
  var licence_update = function (button) {
103
  button.on('click', function (e) {
120
  }
121
  });
122
  });
123
+ };
124
+
125
+ var licence_deactivate = function (button) {
126
+ button.on('click', function (e) {
127
+ e.preventDefault();
128
+
129
+ var check = script_info.is_debug == true ? true : confirm( licence_message.are_you_sure );
130
+
131
+ if( check == true ){
132
+ var t = $(this),
133
+ licence_key = t.data('licence-key'),
134
+ licence_email = t.data('licence-email'),
135
+ product_init = t.data('product-init'),
136
+ action = t.data('action'),
137
+ renew = $('.licence-renew'),
138
+ deactive = $('.licence-deactive'),
139
+ message = $('#yith-licence-notice'),
140
+ activated_table = $('.activated-table');
141
+
142
+ t.add(renew).add(deactive).prop("disabled", true).addClass('clicked');
143
+ $('#activated-products').find('.spinner').addClass('show');
144
+
145
+ jQuery.ajax({
146
+ type : 'POST',
147
+ url : ajaxurl,
148
+ data : {
149
+ action: action,
150
+ licence_key: licence_key,
151
+ email: licence_email,
152
+ product_init: product_init
153
+ },
154
+ success: function (response) {
155
+ message.css( 'maxWidth', activated_table.width() );
156
+ if (false == response.activated && typeof response.error == 'undefined') {
157
+ $('.product-licence-activation').empty().replaceWith(response.template);
158
+ licence_api();
159
+ }
160
+
161
+ if (false == response.activated && typeof response.error != 'undefined') {
162
+ message.find('p.yith-licence-notice-message').html(response.error);
163
+ message.removeClass('notice-success').addClass('notice-error visible');
164
+ t.add(renew).add(deactive).add(renew).prop("disabled", false).removeClass('clicked');
165
+ $('#activated-products').find('.spinner').removeClass('show');
166
+ }
167
+
168
+ else if (false == response) {
169
+ message.find('p.yith-licence-notice-message').html(licence_message.server);
170
+ message.removeClass('notice-success').addClass('notice-error visible');
171
+ t.add(renew).add(deactive).add(renew).prop("disabled", false).removeClass('clicked');
172
+ $('#activated-products').find('.spinner').removeClass('show');
173
+ }
174
+ }
175
+ });
176
+ }
177
+ });
178
+ };
179
 
180
  var licence_api = function () {
181
+ var button = $('.licence-activation'),
182
+ check = $('.licence-check'),
183
+ deactivated = $('.licence-deactive');
184
 
185
  licence_activation(button);
186
  licence_update(check);
187
+ licence_deactivate(deactivated);
188
+ };
189
 
190
  licence_api();
191
 
192
  $('body').on('click', '.yit-changelog-button', function (e) {
193
  $('#TB_window').remove();
 
194
  });
195
 
196
  })(jQuery);
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -56,17 +56,48 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
56
  */
57
  protected $_api_uri_query_args = '?wc-api=software-api&request=%request%';
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  /**
60
  * Constructor
61
  *
62
  * @since 1.0
63
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
64
  */
65
- public function __construct(){
66
-
67
- if( defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG ){
68
- $this->_api_uri = 'http://dev.yithemes.com';
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  }
 
 
 
 
 
70
  }
71
 
72
  /**
@@ -114,7 +145,6 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
114
  return $home_url;
115
  }
116
 
117
-
118
  /**
119
  * Check if the request is ajax
120
  *
@@ -146,21 +176,20 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
146
 
147
  wp_enqueue_script( 'yit-licence', $script_path . '/licence/assets/js/' . $filename, array( 'jquery' ), '1.0.0', true );
148
  wp_enqueue_style( 'yit-theme-licence', $style_path . '/licence/assets/css/yit-licence.css' );
149
- }
150
 
151
- /**
152
- * Localize Scripts
153
- *
154
- * @return void
155
- *
156
- * @since 1.0
157
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
158
- */
159
- public function localize_script() {
160
  wp_localize_script( 'yit-licence', 'licence_message', array(
161
- 'error' => sprintf( _x( '%s field cannot be empty', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
162
- 'errors' => sprintf( __( '%s and %s fields cannot be empty', 'yith-plugin-fw' ), '%field_1%', '%field_2%' ),
163
- 'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' )
 
 
 
 
 
 
 
 
164
  )
165
  );
166
  }
@@ -177,7 +206,6 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
177
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
178
  */
179
  public function activate() {
180
-
181
  $product_init = $_REQUEST['product_init'];
182
  $product = $this->get_product( $product_init );
183
 
@@ -203,13 +231,14 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
203
  if ( $body && is_array( $body ) && isset( $body['activated'] ) && $body['activated'] ) {
204
 
205
  $option[$product['product_id']] = array(
206
- 'email' => urldecode( $args['email'] ),
207
- 'licence_key' => $args['licence_key'],
208
- 'licence_expires' => $body['licence_expires'],
209
- 'message' => $body['message'],
210
- 'activated' => true,
211
- 'activation_limit' => $body['activation_limit'],
212
- 'activation_remaining' => $body['activation_remaining'],
 
213
  );
214
 
215
  /* === Check for other plugins activation === */
@@ -222,7 +251,74 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
222
  YIT_Upgrade()->force_regenerate_update_transient();
223
 
224
  /* === Licence Activation Template === */
225
- $body['template'] = $this->show_activation_panel();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
227
 
228
  wp_send_json( $body );
@@ -279,6 +375,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
279
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
280
  $licence[ $product_id ]['activation_remaining'] = $body['activation_remaining'];
281
  $licence[ $product_id ]['activation_limit'] = $body['activation_limit'];
 
282
  $status = (bool) $body['activated'];
283
  }
284
  elseif ( isset( $body['code'] ) ) {
@@ -297,7 +394,8 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
297
  * 106 -> Licence key has expired
298
  * 107 -> Licence key has be banned
299
  *
300
- * Only code 101, 106 and 107 have effect on DB
 
301
  *
302
  */
303
 
@@ -308,15 +406,17 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
308
 
309
  case '106':
310
  $licence[ $product_id ]['activated'] = false;
311
- $licence[ $product_id ]['message'] = $body['additional_info'];
312
  $licence[ $product_id ]['status_code'] = $body['code'];
313
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
 
314
  break;
315
 
316
  case '107':
317
- $licence[ $product_id ]['activated'] = false;
318
- $licence[ $product_id ]['message'] = $body['additional_info'];
319
- $licence[ $product_id ]['status_code'] = $body['code'];
 
320
  break;
321
  }
322
  }
@@ -330,6 +430,21 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
330
  return $status;
331
  }
332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  /**
334
  * Update Plugins Information
335
  *
@@ -342,17 +457,18 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
342
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
343
  */
344
  public function update_licence_information() {
345
- foreach ( $this->_products as $init => $info ) {
346
- $this->check( $init );
347
- }
348
 
349
  /* === Regenerate Update Plugins Transient === */
350
  YIT_Upgrade()->force_regenerate_update_transient();
351
 
352
  do_action( 'yit_licence_after_check' );
353
 
354
- $response['template'] = $this->show_activation_panel();
355
- wp_send_json( $response );
 
 
356
  }
357
 
358
  /**
@@ -363,7 +479,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
363
  * @since 1.0
364
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
365
  */
366
- public function show_activation_panel() {
367
 
368
  $path = defined( 'YIT_CORE_PLUGIN_PATH' ) ? YIT_CORE_PLUGIN_PATH : get_template_directory() . '/core/plugin-fw/';
369
 
@@ -542,20 +658,49 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
542
  * @since 1.0
543
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
544
  */
545
- public function get_error_code_message( $code ) {
546
-
547
- $error_strings = array(
548
- '100' => __( 'Invalid Request', 'yith-plugin-fw' ),
549
- '101' => __( 'Invalid licence key', 'yith-plugin-fw' ),
550
- '102' => __( 'Software has been deactivated', 'yith-plugin-fw' ),
551
- '103' => __( 'Maximum number of activations exceeded', 'yith-plugin-fw' ),
552
- '104' => __( 'Invalid instance ID', 'yith-plugin-fw' ),
553
- '105' => __( 'Invalid security key', 'yith-plugin-fw' ),
554
- '106' => __( 'Licence key has expired', 'yith-plugin-fw' ),
555
- '107' => __( 'Licence key has been banned', 'yith-plugin-fw' )
 
 
 
 
556
  );
557
 
558
- return isset( $error_strings[$code] ) ? $error_strings[$code] : false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  }
560
 
561
  }
56
  */
57
  protected $_api_uri_query_args = '?wc-api=software-api&request=%request%';
58
 
59
+
60
+ /**
61
+ * @var string check for show extra info
62
+ * @since 1.0
63
+ */
64
+ public $show_extra_info = false;
65
+
66
+ /**
67
+ * @var string check for show extra info
68
+ * @since 1.0
69
+ */
70
+ public $show_renew_button = true;
71
+
72
  /**
73
  * Constructor
74
  *
75
  * @since 1.0
76
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
77
  */
78
+ public function __construct() {
79
+ $is_debug_enabled = defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG;
80
+ if ( $is_debug_enabled ) {
81
+ $this->_api_uri = defined( 'YIT_LICENCE_DEBUG_LOCALHOST' ) ? YIT_LICENCE_DEBUG_LOCALHOST : 'http://dev.yithemes.com';
82
+ add_filter( 'block_local_requests', '__return_false' );
83
+ }
84
+
85
+ /* Style adn Script */
86
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
87
+ if( $is_debug_enabled ) {
88
+ //show extra info and renew button in debug mode
89
+ $this->show_extra_info = $this->show_renew_button = true;
90
+ }
91
+
92
+ else {
93
+ $this->show_extra_info = defined( 'YIT_SHOW_EXTRA_LICENCE_INFO' ) && YIT_SHOW_EXTRA_LICENCE_INFO;
94
+ $this->show_renew_button = ! ( defined( 'YIT_HIDE_LICENCE_RENEW_BUTTON' ) && YIT_HIDE_LICENCE_RENEW_BUTTON );
95
  }
96
+
97
+ /* Update Licence Information */
98
+ add_action( 'core_upgrade_preamble', array( $this, 'check_all' ) );
99
+ add_action( 'wp_maybe_auto_update', array( $this, 'check_all' ) );
100
+
101
  }
102
 
103
  /**
145
  return $home_url;
146
  }
147
 
 
148
  /**
149
  * Check if the request is ajax
150
  *
176
 
177
  wp_enqueue_script( 'yit-licence', $script_path . '/licence/assets/js/' . $filename, array( 'jquery' ), '1.0.0', true );
178
  wp_enqueue_style( 'yit-theme-licence', $style_path . '/licence/assets/css/yit-licence.css' );
 
179
 
180
+ /* Localize Scripts */
 
 
 
 
 
 
 
 
181
  wp_localize_script( 'yit-licence', 'licence_message', array(
182
+ 'error' => sprintf( _x( '%s field cannot be empty', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
183
+ 'errors' => sprintf( __( '%s and %s fields cannot be empty', 'yith-plugin-fw' ), '%field_1%', '%field_2%' ),
184
+ 'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' ),
185
+ 'email' => __( 'Email', 'yith-plugin-fw' ),
186
+ 'license_key' => __( 'License Key', 'yith-plugin-fw' ),
187
+ 'are_you_sure' => __( 'Are you sure you want to deactivate the license for current site?', 'yith-plugin-fw' )
188
+ )
189
+ );
190
+
191
+ wp_localize_script( 'yit-licence', 'script_info', array(
192
+ 'is_debug' => defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG
193
  )
194
  );
195
  }
206
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
207
  */
208
  public function activate() {
 
209
  $product_init = $_REQUEST['product_init'];
210
  $product = $this->get_product( $product_init );
211
 
231
  if ( $body && is_array( $body ) && isset( $body['activated'] ) && $body['activated'] ) {
232
 
233
  $option[$product['product_id']] = array(
234
+ 'email' => urldecode( $args['email'] ),
235
+ 'licence_key' => $args['licence_key'],
236
+ 'licence_expires' => $body['licence_expires'],
237
+ 'message' => $body['message'],
238
+ 'activated' => true,
239
+ 'activation_limit' => $body['activation_limit'],
240
+ 'activation_remaining' => $body['activation_remaining'],
241
+ 'is_membership' => isset( $body['is_membership'] ) ? $body['is_membership'] : false,
242
  );
243
 
244
  /* === Check for other plugins activation === */
251
  YIT_Upgrade()->force_regenerate_update_transient();
252
 
253
  /* === Licence Activation Template === */
254
+ $body['template'] = $this->show_activation_panel( $this->get_response_code_message( 200 ) );
255
+ }
256
+
257
+ wp_send_json( $body );
258
+ }
259
+
260
+ /**
261
+ * Deactivate Plugins
262
+ *
263
+ * Send a request to API server to activate plugins
264
+ *
265
+ * @return void
266
+ * @use wp_send_json
267
+ *
268
+ * @since 1.0
269
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
270
+ */
271
+ public function deactivate() {
272
+ $product_init = $_REQUEST['product_init'];
273
+ $product = $this->get_product( $product_init );
274
+
275
+ $args = array(
276
+ 'email' => urlencode( sanitize_email( $_REQUEST['email'] ) ),
277
+ 'licence_key' => sanitize_text_field( $_REQUEST['licence_key'] ),
278
+ 'product_id' => sanitize_text_field( $product['product_id'] ),
279
+ 'secret_key' => sanitize_text_field( $product['secret_key'] ),
280
+ 'instance' => $this->get_home_url()
281
+ );
282
+
283
+ $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'deactivation' ) ) );
284
+ $response = wp_remote_get( $api_uri );
285
+
286
+ if ( is_wp_error( $response ) ) {
287
+ $body = false;
288
+ }
289
+ else {
290
+ $body = json_decode( $response['body'] );
291
+ $body = is_object( $body ) ? get_object_vars( $body ) : false;
292
+ }
293
+
294
+ if ( $body && is_array( $body ) && isset( $body['activated'] ) && ! $body['activated'] && ! isset( $body['error'] ) ) {
295
+
296
+ $option[$product['product_id']] = array(
297
+ 'activated' => false,
298
+ 'email' => urldecode( $args['email'] ),
299
+ 'licence_key' => $args['licence_key'],
300
+ 'licence_expires' => $body['licence_expires'],
301
+ 'message' => $body['message'],
302
+ 'activation_limit' => $body['activation_limit'],
303
+ 'activation_remaining' => $body['activation_remaining'],
304
+ 'is_membership' => isset( $body['is_membership'] ) ? $body['is_membership'] : false,
305
+ );
306
+
307
+ /* === Check for other plugins activation === */
308
+ $options = $this->get_licence();
309
+ $options[$product['product_id']] = $option[$product['product_id']];
310
+
311
+ update_option( $this->_licence_option, $options );
312
+
313
+ /* === Update Plugin Licence Information === */
314
+ YIT_Upgrade()->force_regenerate_update_transient();
315
+
316
+ /* === Licence Activation Template === */
317
+ $body['template'] = $this->show_activation_panel( $this->get_response_code_message( 'deactivated', array( 'instance' => $body['instance'] ) ) );
318
+ }
319
+
320
+ else {
321
+ $body['error'] = $this->get_response_code_message( $body['code'] );
322
  }
323
 
324
  wp_send_json( $body );
375
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
376
  $licence[ $product_id ]['activation_remaining'] = $body['activation_remaining'];
377
  $licence[ $product_id ]['activation_limit'] = $body['activation_limit'];
378
+ $licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
379
  $status = (bool) $body['activated'];
380
  }
381
  elseif ( isset( $body['code'] ) ) {
394
  * 106 -> Licence key has expired
395
  * 107 -> Licence key has be banned
396
  *
397
+ * Only code 101, 106 and 107 have effect on DB during activation
398
+ * All error code have effect on DB during deactivation
399
  *
400
  */
401
 
406
 
407
  case '106':
408
  $licence[ $product_id ]['activated'] = false;
409
+ $licence[ $product_id ]['message'] = $body['error'];
410
  $licence[ $product_id ]['status_code'] = $body['code'];
411
  $licence[ $product_id ]['licence_expires'] = $body['licence_expires'];
412
+ //$licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
413
  break;
414
 
415
  case '107':
416
+ $licence[ $product_id ]['activated'] = false;
417
+ $licence[ $product_id ]['message'] = $body['error'];
418
+ $licence[ $product_id ]['status_code'] = $body['code'];
419
+ //$licence[ $product_id ]['is_membership'] = isset( $body['is_membership'] ) ? $body['is_membership'] : false;
420
  break;
421
  }
422
  }
430
  return $status;
431
  }
432
 
433
+ /**
434
+ * Check for licence update
435
+ *
436
+ * @return void
437
+ * @since 2.5
438
+ *
439
+ * @use YIT_Theme_Licence->check()
440
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
441
+ */
442
+ public function check_all(){
443
+ foreach ( $this->_products as $init => $info ) {
444
+ $this->check( $init );
445
+ }
446
+ }
447
+
448
  /**
449
  * Update Plugins Information
450
  *
457
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
458
  */
459
  public function update_licence_information() {
460
+ /* Check licence information for alla products */
461
+ $this->check_all();
 
462
 
463
  /* === Regenerate Update Plugins Transient === */
464
  YIT_Upgrade()->force_regenerate_update_transient();
465
 
466
  do_action( 'yit_licence_after_check' );
467
 
468
+ if( $this->is_ajax() ) {
469
+ $response['template'] = $this->show_activation_panel();
470
+ wp_send_json( $response );
471
+ }
472
  }
473
 
474
  /**
479
  * @since 1.0
480
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
481
  */
482
+ public function show_activation_panel( $notice = '' ) {
483
 
484
  $path = defined( 'YIT_CORE_PLUGIN_PATH' ) ? YIT_CORE_PLUGIN_PATH : get_template_directory() . '/core/plugin-fw/';
485
 
658
  * @since 1.0
659
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
660
  */
661
+ public function get_response_code_message( $code, $args = array() ) {
662
+ extract( $args );
663
+
664
+ $messages = array(
665
+ '100' => __( 'Invalid Request', 'yith-plugin-fw' ),
666
+ '101' => __( 'Invalid license key', 'yith-plugin-fw' ),
667
+ '102' => __( 'Software has been deactivated', 'yith-plugin-fw' ),
668
+ '103' => __( 'Maximum number of activations exceeded', 'yith-plugin-fw' ),
669
+ '104' => __( 'Invalid instance ID', 'yith-plugin-fw' ),
670
+ '105' => __( 'Invalid security key', 'yith-plugin-fw' ),
671
+ '106' => __( 'License key has expired', 'yith-plugin-fw' ),
672
+ '107' => __( 'License key has been banned', 'yith-plugin-fw' ),
673
+ '108' => __( 'Current product is not included with your membership key', 'woocommerce-software-add-on' ),
674
+ '200' => sprintf( '<strong>%s</strong>! %s',__( 'Great', 'yith-plugin-fw' ), __( 'License successfully activated', 'yith-plugin-fw' ) ),
675
+ 'deactivated' => sprintf( '%s <strong>%s</strong>', __( 'License key deactivated for website', 'woocommerce-software-add-on' ), isset( $instance ) ? $instance : '' )
676
  );
677
 
678
+ return isset( $messages[$code] ) ? $messages[$code] : false;
679
+ }
680
+
681
+ /**
682
+ * Get the product name to display
683
+ *
684
+ * @param $product_name
685
+ *
686
+ * @return string the product name
687
+ *
688
+ * @since 2.2
689
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
690
+ */
691
+ public function display_product_name( $product_name ){
692
+ return str_replace( array( 'YITH', 'WooCommerce', 'Premium', 'Theme' ), '', $product_name );
693
+ }
694
+
695
+ public function get_number_of_membership_products(){
696
+ $activated_products = $this->get_activated_products();
697
+ $num_members_products_activate = 0;
698
+ foreach( $activated_products as $activated_product ){
699
+ if( isset( $activated_product['licence']['is_membership'] ) && $activated_product['licence']['is_membership'] ){
700
+ $num_members_products_activate++;
701
+ }
702
+ }
703
+ return $num_members_products_activate;
704
  }
705
 
706
  }
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -65,16 +65,15 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
65
 
66
  $this->_settings = array(
67
  'parent_page' => 'yit_plugin_panel',
68
- 'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
69
- 'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
70
  'capability' => 'manage_options',
71
  'page' => 'yith_plugins_activation',
72
  );
73
 
74
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
75
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
76
- add_action( 'admin_enqueue_scripts', array( $this, 'localize_script' ), 15 );
77
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
 
78
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
79
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
80
  }
65
 
66
  $this->_settings = array(
67
  'parent_page' => 'yit_plugin_panel',
68
+ 'page_title' => __( 'License Activation', 'yith-plugin-fw' ),
69
+ 'menu_title' => __( 'License Activation', 'yith-plugin-fw' ),
70
  'capability' => 'manage_options',
71
  'page' => 'yith_plugins_activation',
72
  );
73
 
74
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
 
 
75
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
76
+ add_action( "wp_ajax_deactivate-{$this->_product_type}", array( $this, 'deactivate' ) );
77
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
78
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
79
  }
plugin-fw/licence/lib/yit-theme-licence.php CHANGED
@@ -50,6 +50,12 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
50
  */
51
  protected $_product_type = 'theme';
52
 
 
 
 
 
 
 
53
  /**
54
  * Constructor
55
  *
@@ -61,16 +67,15 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
61
 
62
  $this->_settings = array(
63
  'parent_page' => 'yit_product_panel',
64
- 'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
65
- 'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
66
  'capability' => 'manage_options',
67
  'page' => 'yith_plugins_activation',
68
  );
69
 
70
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
71
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
72
- add_action( 'admin_enqueue_scripts', array( $this, 'localize_script' ), 15 );
73
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
 
74
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
75
  }
76
 
@@ -102,10 +107,10 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
102
 
103
  $admin_tree = array(
104
  'parent_slug' => apply_filters( 'yit_licence_parent_slug', 'yit_panel'),
105
- 'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
106
- 'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
107
  'capability' => 'manage_options',
108
- 'menu_slug' => 'yit_panel_licence',
109
  'function' => 'show_activation_panel'
110
  );
111
 
@@ -137,6 +142,34 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
137
  $products[$product_init]['product_id'] = $product_id;
138
  $this->_products[$product_init] = $products[$product_init];
139
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  }
141
  }
142
 
50
  */
51
  protected $_product_type = 'theme';
52
 
53
+ /**
54
+ * @var string Old theme licence works until 28 January 2016
55
+ * @since 1.0
56
+ */
57
+ protected $_old_licence_expires = 1453939200; //28 January 2016
58
+
59
  /**
60
  * Constructor
61
  *
67
 
68
  $this->_settings = array(
69
  'parent_page' => 'yit_product_panel',
70
+ 'page_title' => __( 'License Activation', 'yith-plugin-fw' ),
71
+ 'menu_title' => __( 'License Activation', 'yith-plugin-fw' ),
72
  'capability' => 'manage_options',
73
  'page' => 'yith_plugins_activation',
74
  );
75
 
76
  add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
 
 
77
  add_action( "wp_ajax_activate-{$this->_product_type}", array( $this, 'activate' ) );
78
+ add_action( "wp_ajax_deactivate-{$this->_product_type}", array( $this, 'deactivate' ) );
79
  add_action( "wp_ajax_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
80
  }
81
 
107
 
108
  $admin_tree = array(
109
  'parent_slug' => apply_filters( 'yit_licence_parent_slug', 'yit_panel'),
110
+ 'page_title' => __( 'License Activation', 'yith-plugin-fw' ),
111
+ 'menu_title' => __( 'License Activation', 'yith-plugin-fw' ),
112
  'capability' => 'manage_options',
113
+ 'menu_slug' => 'yit_panel_license',
114
  'function' => 'show_activation_panel'
115
  );
116
 
142
  $products[$product_init]['product_id'] = $product_id;
143
  $this->_products[$product_init] = $products[$product_init];
144
  }
145
+
146
+ /**
147
+ * Check for old licence
148
+ *
149
+ * @return bool True for old licence period, false otherwise
150
+ * @since 2.2
151
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
152
+ */
153
+ public function show_old_licence_message(){
154
+ return time() < $this->_old_licence_expires;
155
+ }
156
+
157
+ public function get_old_licence_message(){
158
+ ob_start(); ?>
159
+ <div class="activation-faq">
160
+ <h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yith-plugin-fw' ) ?></h3>
161
+ <p>
162
+ <?php
163
+ _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
164
+ until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
165
+ After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
166
+ provided with and that you can find in your YIThemes account, in section "My licenses".', 'yith-plugin-fw' )
167
+ ?>
168
+ </p>
169
+ </div>
170
+ <?php
171
+ echo ob_get_clean();
172
+ }
173
  }
174
  }
175
 
plugin-fw/licence/templates/panel/activation/activation-panel.php CHANGED
@@ -8,45 +8,40 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
- $to_active_products = $this->get_to_active_products();
12
- $activated_products = $this->get_activated_products();
13
- $no_active_products = $this->get_no_active_licence_key();
14
- $expired_products = isset( $no_active_products[ '106' ] ) ? $no_active_products[ '106' ] : array();
15
- $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_products[ '107' ] : array();
 
 
 
 
16
  ?>
17
 
18
  <div class="yit-container product-licence-activation">
19
- <h2><?php _e( 'Yithemes Licence Activation', 'yith-plugin-fw' ) ?></h2>
20
-
21
- <?php if( is_a( $this, 'YIT_Theme_Licence' ) ) : ?>
22
- <div class="activation-faq">
23
- <h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yith-plugin-fw' ) ?></h3>
24
- <p>
25
- <?php
26
- _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
27
- until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
28
- After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
29
- provided with and that you can find in your YIThemes account, in section "My licenses".', 'yith-plugin-fw' )
30
- ?>
31
- </p>
32
- </div>
33
- <?php endif; ?>
34
 
35
  <div class="licence-check-section">
36
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
37
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yith-plugin-fw' ); ?></span>
38
  <input type="hidden" name="action" value="update_licence_information-<?php echo $this->_product_type ?>" />
39
- <input type="submit" name="submit" value="<?php _e( 'Update licence information', 'yith-plugin-fw' ) ?>" class="button-licence licence-check" />
40
  <div class="spinner"></div>
41
  </form>
42
  </div>
43
 
44
- <!-- To Active Products -->
 
 
45
 
 
46
 
47
  <?php if( ! empty( $to_active_products ) ) : ?>
48
- <h3 class="to-active">
49
- <?php _e( 'Products to be activated', 'yith-plugin-fw' ) ?>
50
  <span class="spinner"></span>
51
  </h3>
52
  <div class="to-active-wrapper">
@@ -56,13 +51,13 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
56
  <tbody>
57
  <tr class="product-row">
58
  <td class="product-name">
59
- <?php echo $info['Name'] ?>
60
  </td>
61
  <td>
62
  <input type="email" name="email" placeholder="Your email on Yithemes.com" value="" class="user-email" />
63
  </td>
64
  <td>
65
- <input type="text" name="licence_key" placeholder="Licence Key" value="" class="licence-key" />
66
  </td>
67
  <td class="activate-button">
68
  <input type="submit" name="submit" value="<?php _e( 'Activate', 'yith-plugin-fw' )?>" class="button-licence licence-activation" data-formid="<?php echo $info['product_id'] ?>"/>
@@ -72,7 +67,6 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
72
  <input type="hidden" name="product_init" value="<?php echo $init ?>" />
73
  </tbody>
74
  </table>
75
- <div class="spinner"></div>
76
  <div class="message-wrapper">
77
  <span class="message arrow-left"></span>
78
  </div>
@@ -84,29 +78,78 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
84
  <!-- Activated Products -->
85
 
86
  <?php if( ! empty( $activated_products ) ) : ?>
87
- <h3><?php _e( 'Activated', 'yith-plugin-fw' ) ?></h3>
88
- <table class="expired-table">
 
 
 
89
  <thead>
90
  <tr>
91
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
92
- <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
93
- <th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
 
 
 
94
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
95
- <th><?php _e( 'Remaining', 'yith-plugin-fw' ) ?></th>
96
- <th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
 
 
 
 
 
 
 
97
  </tr>
98
  </thead>
99
  <tbody>
100
  <?php foreach( $activated_products as $init => $info ) : ?>
101
  <tr>
102
- <td class="product-name"><?php echo $info['Name'] ?></td>
103
- <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
104
- <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
105
- <td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
106
- <td class="product-licence-remaining">
107
- <?php printf( __( '%1s out of %2s', 'yith-plugin-fw' ), $info['licence']['activation_remaining'], $info['licence']['activation_limit'] ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  </td>
109
- <td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', 'yith-plugin-fw' ) ?></a></td>
110
  </tr>
111
  <?php endforeach; ?>
112
  </tbody>
@@ -121,16 +164,22 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
121
  <thead>
122
  <tr>
123
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
124
- <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
125
- <th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
 
 
126
  </tr>
127
  </thead>
128
  <tbody>
129
  <?php foreach( $banned_products as $init => $info ) : ?>
130
  <tr>
131
- <td class="product-name"><?php echo $info['Name'] ?></td>
132
- <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
133
- <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
 
 
 
 
134
  </tr>
135
  <?php endforeach; ?>
136
  </tbody>
@@ -145,20 +194,40 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
145
  <thead>
146
  <tr>
147
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
148
- <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
149
- <th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
 
 
 
 
150
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
151
- <th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
 
 
 
152
  </tr>
153
  </thead>
154
  <tbody>
155
  <?php foreach( $expired_products as $init => $info ) : ?>
156
  <tr>
157
- <td class="product-name"><?php echo $info['Name'] ?></td>
158
- <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
159
- <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
 
 
 
 
 
 
160
  <td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
161
- <td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', 'yith-plugin-fw' ) ?></a></td>
 
 
 
 
 
 
 
162
  </tr>
163
  <?php endforeach; ?>
164
  </tbody>
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
+ $to_active_products = $this->get_to_active_products();
12
+ $activated_products = $this->get_activated_products();
13
+ $no_active_products = $this->get_no_active_licence_key();
14
+ $expired_products = isset( $no_active_products[ '106' ] ) ? $no_active_products[ '106' ] : array();
15
+ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_products[ '107' ] : array();
16
+ $notice = isset( $notice ) ? $notice : '';
17
+ $notice_class = ! empty( $notice ) ? 'notice notice-success visible' : 'notice notice-success';
18
+ $to_activate_check = $this instanceof YIT_Theme_Licence ? 1 : 2;
19
+ $num_members_products_activate = $this->get_number_of_membership_products();
20
  ?>
21
 
22
  <div class="yit-container product-licence-activation">
23
+ <h2><?php _e( 'Yithemes License Activation', 'yith-plugin-fw' ) ?></h2>
24
+
25
+ <?php $this instanceof YIT_Theme_Licence && $this->show_old_licence_message() && $this->get_old_licence_message(); ?>
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  <div class="licence-check-section">
28
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
29
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yith-plugin-fw' ); ?></span>
30
  <input type="hidden" name="action" value="update_licence_information-<?php echo $this->_product_type ?>" />
31
+ <input type="submit" name="submit" value="<?php _e( 'Update license information', 'yith-plugin-fw' ) ?>" class="button-licence licence-check" />
32
  <div class="spinner"></div>
33
  </form>
34
  </div>
35
 
36
+ <div id="yith-licence-notice" class="<?php echo $notice_class ?>">
37
+ <p class="yith-licence-notice-message"><?php echo $notice ?></p>
38
+ </div>
39
 
40
+ <!-- To Active Products -->
41
 
42
  <?php if( ! empty( $to_active_products ) ) : ?>
43
+ <h3 id="products-to-active" class="to-active">
44
+ <?php echo _n( 'Product to activate', 'Products to activate', $to_activate_check, 'yith-plugin-fw' ) ?>
45
  <span class="spinner"></span>
46
  </h3>
47
  <div class="to-active-wrapper">
51
  <tbody>
52
  <tr class="product-row">
53
  <td class="product-name">
54
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
55
  </td>
56
  <td>
57
  <input type="email" name="email" placeholder="Your email on Yithemes.com" value="" class="user-email" />
58
  </td>
59
  <td>
60
+ <input type="text" name="licence_key" placeholder="License Key" value="" class="licence-key" />
61
  </td>
62
  <td class="activate-button">
63
  <input type="submit" name="submit" value="<?php _e( 'Activate', 'yith-plugin-fw' )?>" class="button-licence licence-activation" data-formid="<?php echo $info['product_id'] ?>"/>
67
  <input type="hidden" name="product_init" value="<?php echo $init ?>" />
68
  </tbody>
69
  </table>
 
70
  <div class="message-wrapper">
71
  <span class="message arrow-left"></span>
72
  </div>
78
  <!-- Activated Products -->
79
 
80
  <?php if( ! empty( $activated_products ) ) : ?>
81
+ <h3 id="activated-products">
82
+ <?php _e( 'Activated', 'yith-plugin-fw' ) ?>
83
+ <span class="spinner"></span>
84
+ </h3>
85
+ <table class="activated-table">
86
  <thead>
87
  <tr>
88
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
89
+ <?php if( $this->show_extra_info ) : ?>
90
+ <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
91
+ <th><?php _e( 'License Key', 'yith-plugin-fw' ) ?></th>
92
+ <?php endif; ?>
93
+
94
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
95
+
96
+ <?php if( $this->show_extra_info ) : ?>
97
+ <th><?php _e( 'Remaining', 'yith-plugin-fw' ) ?></th>
98
+ <?php if( $num_members_products_activate ) : ?>
99
+ <th><?php _e( 'Membership', 'yith-plugin-fw' ) ?></th>
100
+ <?php endif; ?>
101
+ <?php endif; ?>
102
+
103
+ <th><?php _e( 'License Actions', 'yith-plugin-fw' ) ?></th>
104
  </tr>
105
  </thead>
106
  <tbody>
107
  <?php foreach( $activated_products as $init => $info ) : ?>
108
  <tr>
109
+ <td class="product-name">
110
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
111
+ </td>
112
+
113
+ <?php if( $this->show_extra_info ) : ?>
114
+ <td class="product-licence-email">
115
+ <?php echo $info['licence']['email'] ?>
116
+ </td>
117
+ <td class="product-licence-key">
118
+ <?php echo $info['licence']['licence_key'] ?>
119
+ </td>
120
+ <?php endif; ?>
121
+
122
+ <td class="product-licence-expires">
123
+ <?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?>
124
+ </td>
125
+
126
+ <?php if( $this->show_extra_info ) : ?>
127
+ <td class="product-licence-remaining">
128
+ <?php printf( __( '%1s out of %2s', 'yith-plugin-fw' ), $info['licence']['activation_remaining'], $info['licence']['activation_limit'] ); ?>
129
+ </td>
130
+ <?php if( $num_members_products_activate ) : ?>
131
+ <td class="product-licence-membership">
132
+ <span class="dashicons dashicons-<?php echo $info['licence']['is_membership'] ? 'yes' : 'no-alt' ?>"></span>
133
+ </td>
134
+ <?php endif; ?>
135
+ <?php endif; ?>
136
+
137
+ <td>
138
+ <a class="button-licence licence-deactive"
139
+ href="#"
140
+ data-licence-email="<?php echo $info['licence']['email'] ?>"
141
+ data-licence-key="<?php echo $info['licence']['licence_key'] ?>"
142
+ data-product-init="<?php echo $init ?>"
143
+ data-action="deactivate-<?php echo $this->_product_type ?>">
144
+ <?php _e( 'Deactivate', 'yith-plugin-fw' ) ?>
145
+ </a>
146
+
147
+ <?php if( ! $info['licence']['is_membership'] && $this->show_renew_button ) : ?>
148
+ <a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank">
149
+ <?php _e( 'Renew', 'yith-plugin-fw' ) ?>
150
+ </a>
151
+ <?php endif; ?>
152
  </td>
 
153
  </tr>
154
  <?php endforeach; ?>
155
  </tbody>
164
  <thead>
165
  <tr>
166
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
167
+ <?php if( $this->show_extra_info ) : ?>
168
+ <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
169
+ <th><?php _e( 'License Key', 'yith-plugin-fw' ) ?></th>
170
+ <?php endif; ?>
171
  </tr>
172
  </thead>
173
  <tbody>
174
  <?php foreach( $banned_products as $init => $info ) : ?>
175
  <tr>
176
+ <td class="product-name">
177
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
178
+ </td>
179
+ <?php if( $this->show_extra_info ) : ?>
180
+ <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
181
+ <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
182
+ <?php endif; ?>
183
  </tr>
184
  <?php endforeach; ?>
185
  </tbody>
194
  <thead>
195
  <tr>
196
  <th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
197
+
198
+ <?php if( $this->show_extra_info ) : ?>
199
+ <th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
200
+ <th><?php _e( 'License Key', 'yith-plugin-fw' ) ?></th>
201
+ <?php endif; ?>
202
+
203
  <th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
204
+
205
+ <?php if( $this->show_renew_button ) : ?>
206
+ <th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
207
+ <?php endif; ?>
208
  </tr>
209
  </thead>
210
  <tbody>
211
  <?php foreach( $expired_products as $init => $info ) : ?>
212
  <tr>
213
+ <td class="product-name">
214
+ <?php echo $this->display_product_name( $info['Name'] ) ?>
215
+ </td>
216
+
217
+ <?php if( $this->show_extra_info ) : ?>
218
+ <td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
219
+ <td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
220
+ <?php endif; ?>
221
+
222
  <td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
223
+
224
+ <?php if( $this->show_renew_button ) : ?>
225
+ <td>
226
+ <a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank">
227
+ <?php printf( '%s %s', __( 'Renew', 'yith-plugin-fw' ), $info['licence']['is_membership'] ? __( 'Membership', 'yith-plugin-fw' ) : __( 'License', 'yith-plugin-fw' ) ) ?>
228
+ </a>
229
+ </td>
230
+ <?php endif; ?>
231
  </tr>
232
  <?php endforeach; ?>
233
  </tbody>
plugin-fw/templates/metaboxes/types/number.php CHANGED
@@ -14,12 +14,25 @@ if ( ! defined( 'ABSPATH' ) ) {
14
 
15
  extract( $args );
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ?>
18
  <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
19
  <div class="rm_number">
20
  <label for="<?php echo $id ?>"><?php echo $label ?></label>
21
  <span class="field">
22
- <input class="number" type="text" id="<?php echo $id ?>" name="<?php echo $name ?>" <?php echo $min.' '.$max ?> value="<?php echo esc_attr( $value ) ?>" <?php if( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>" />
23
  <?php yit_string( '<span class="description">', $desc, '</span>' ); ?>
24
  </span>
25
  </div>
14
 
15
  extract( $args );
16
 
17
+ $min_max_attr = $step_attr = '';
18
+
19
+ if( isset( $min ) ){
20
+ $min_max_attr .= " min='{$min}'";
21
+ }
22
+
23
+ if( isset( $max ) ){
24
+ $min_max_attr .= " max='{$max}'";
25
+ }
26
+
27
+ if( isset( $step ) ){
28
+ $step_attr .= "step='{$step}'";
29
+ }
30
  ?>
31
  <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
32
  <div class="rm_number">
33
  <label for="<?php echo $id ?>"><?php echo $label ?></label>
34
  <span class="field">
35
+ <input class="number" type="text" id="<?php echo $id ?>" name="<?php echo $name ?>" <?php echo $step_attr ?> <?php echo $min_max_attr ?> value="<?php echo esc_attr( $value ) ?>" <?php if( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>" />
36
  <?php yit_string( '<span class="description">', $desc, '</span>' ); ?>
37
  </span>
38
  </div>
plugin-fw/templates/panel/types/upload.php CHANGED
@@ -26,9 +26,10 @@ $name = $this->get_name_field( $option['id'] );
26
  ?>
27
  <div id="<?php echo $id ?>-container" >
28
  <div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
29
- <div class="option">
30
  <input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo $db_value == '1' ? '' : esc_attr( $db_value ) ?>" class="upload_img_url" />
31
  <input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
 
32
  </div>
33
  <div class="clear"></div>
34
  <span class="description"><?php echo $option['desc'] ?></span>
26
  ?>
27
  <div id="<?php echo $id ?>-container" >
28
  <div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
29
+ <div class="option yit-upload">
30
  <input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo $db_value == '1' ? '' : esc_attr( $db_value ) ?>" class="upload_img_url" />
31
  <input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
32
+ <input type="button" value="<?php _e( 'Reset', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button_reset" class="upload_button_reset button" data-default="<?php echo $option['std'] ?>"/>
33
  </div>
34
  <div class="clear"></div>
35
  <span class="description"><?php echo $option['desc'] ?></span>
plugin-fw/yit-functions.php CHANGED
@@ -8,11 +8,11 @@
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
- if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
- if ( ! function_exists( 'yit_plugin_locate_template' ) ) {
16
  /**
17
  * Locate the templates and return the path of the file found
18
  *
@@ -23,12 +23,12 @@ if ( ! function_exists( 'yit_plugin_locate_template' ) ) {
23
  * @return string
24
  * @since 2.0.0
25
  */
26
- function yit_plugin_locate_template( $plugin_basename, $path, $var = NULL ) {
27
 
28
  $template_path = '/theme/templates/' . $path;
29
 
30
- $located = locate_template( array(
31
- $template_path
32
  ) );
33
 
34
  if ( ! $located ) {
@@ -40,7 +40,7 @@ if ( ! function_exists( 'yit_plugin_locate_template' ) ) {
40
 
41
  }
42
 
43
- if ( ! function_exists( 'yit_plugin_get_template' ) ) {
44
  /**
45
  * Retrieve a template file.
46
  *
@@ -52,30 +52,30 @@ if ( ! function_exists( 'yit_plugin_get_template' ) ) {
52
  * @return string
53
  * @since 2.0.0
54
  */
55
- function yit_plugin_get_template( $plugin_basename, $path, $var = null, $return = false ) {
56
 
57
- $located = yit_plugin_locate_template( $plugin_basename, $path, $var );
58
 
59
- if ( $var && is_array( $var ) ) {
60
- extract( $var );
61
  }
62
 
63
  if ( $return ) {
64
- ob_start();
65
  }
66
 
67
  // include file located
68
- if( file_exists( $located ) ){
69
- include( $located );
70
  }
71
 
72
  if ( $return ) {
73
- return ob_get_clean();
74
  }
75
  }
76
  }
77
 
78
- if ( ! function_exists( 'yit_plugin_content' ) ) {
79
  /**
80
  * Return post content with read more link (if needed)
81
  *
@@ -88,85 +88,79 @@ if ( ! function_exists( 'yit_plugin_content' ) ) {
88
  * @return string
89
  * @since 2.0.0
90
  */
91
- function yit_plugin_content( $what = 'content', $limit = 25, $more_text = '', $split = '[...]', $in_paragraph = 'true' ) {
92
  if ( $what == 'content' ) {
93
- $content = get_the_content( $more_text );
94
- }
95
- else {
96
  if ( $what == 'excerpt' ) {
97
- $content = get_the_excerpt();
98
- }
99
- else {
100
  $content = $what;
101
  }
102
  }
103
 
104
  if ( $limit == 0 ) {
105
  if ( $what == 'excerpt' ) {
106
- $content = apply_filters( 'the_excerpt', $content );
107
- }
108
- else {
109
- $content = preg_replace( '/<img[^>]+./', '', $content ); //remove images
110
- $content = apply_filters( 'the_content', $content );
111
- $content = str_replace( ']]>', ']]&gt;', $content );
112
  }
113
 
114
  return $content;
115
  }
116
 
117
  // remove the tag more from the content
118
- if ( preg_match( "/<(a)[^>]*class\s*=\s*(['\"])more-link\\2[^>]*>(.*?)<\/\\1>/", $content, $matches ) ) {
119
 
120
- if ( strpos( $matches[0], '[button' ) ) {
121
- $more_link = str_replace( 'href="#"', 'href="' . get_permalink() . '"', do_shortcode( $matches[3] ) );
122
- }
123
- else {
124
- $more_link = $matches[0];
125
  }
126
 
127
- $content = str_replace( $more_link, '', $content );
128
  $split = '';
129
  }
130
 
131
  if ( empty( $content ) ) {
132
  return;
133
  }
134
- $content = explode( ' ', $content );
135
 
136
  if ( ! empty( $more_text ) && ! isset( $more_link ) ) {
137
  //array_pop( $content );
138
- $more_link = strpos( $more_text, '<a class="btn"' ) ? $more_text : '<a class="read-more' . apply_filters( 'yit_simple_read_more_classes', ' ' ) . '" href="' . get_permalink() . '">' . $more_text . '</a>';
139
  $split = '';
140
- }
141
- elseif ( ! isset( $more_link ) ) {
142
  $more_link = '';
143
  }
144
 
145
  // split
146
- if ( count( $content ) >= $limit ) {
147
  $split_content = '';
148
  for ( $i = 0; $i < $limit; $i ++ ) {
149
- $split_content .= $content[$i] . ' ';
150
  }
151
 
152
  $content = $split_content . $split;
153
- }
154
- else {
155
- $content = implode( " ", $content );
156
  }
157
 
158
  // TAGS UNCLOSED
159
- $tags = array();
160
  // get all tags opened
161
- preg_match_all( "/(<([\w]+)[^>]*>)/", $content, $tags_opened, PREG_SET_ORDER );
162
  foreach ( $tags_opened as $tag ) {
163
- $tags[] = $tag[2];
164
  }
165
 
166
  // get all tags closed and remove it from the tags opened.. the rest will be closed at the end of the content
167
- preg_match_all( "/(<\/([\w]+)[^>]*>)/", $content, $tags_closed, PREG_SET_ORDER );
168
  foreach ( $tags_closed as $tag ) {
169
- unset( $tags[array_search( $tag[2], $tags )] );
170
  }
171
 
172
  // close the tags
@@ -178,16 +172,16 @@ if ( ! function_exists( 'yit_plugin_content' ) ) {
178
 
179
  //$content = preg_replace( '/\[.+\]/', '', $content );
180
  if ( $in_paragraph == true ): $content .= $more_link; endif;
181
- $content = preg_replace( '/<img[^>]+./', '', $content ); //remove images
182
- $content = apply_filters( 'the_content', $content );
183
- $content = str_replace( ']]>', ']]&gt;', $content ); // echo str_replace( array( '<', '>' ), array( '&lt;', '&gt;' ), $content );
184
  if ( $in_paragraph == false ): $content .= $more_link; endif;
185
 
186
  return $content;
187
  }
188
  }
189
 
190
- if ( ! function_exists( 'yit_plugin_string' ) ) {
191
  /**
192
  * Simple echo a string, with a before and after string, only if the main string is not empty.
193
  *
@@ -199,10 +193,10 @@ if ( ! function_exists( 'yit_plugin_string' ) ) {
199
  * @return string The complete string, if the main string is not empty or null
200
  * @since 2.0.0
201
  */
202
- function yit_plugin_string( $before = '', $string = '', $after = '', $echo = true ) {
203
  $html = '';
204
 
205
- if ( $string != '' AND ! is_null( $string ) ) {
206
  $html = $before . $string . $after;
207
  }
208
 
@@ -214,7 +208,7 @@ if ( ! function_exists( 'yit_plugin_string' ) ) {
214
  }
215
  }
216
 
217
- if ( ! function_exists( 'yit_plugin_decode_title' ) ) {
218
  /**
219
  * Change some special characters to put easily html into a string
220
  *
@@ -228,14 +222,14 @@ if ( ! function_exists( 'yit_plugin_decode_title' ) ) {
228
  *
229
  * @since 1.0
230
  */
231
- function yit_plugin_decode_title( $title ) {
232
- $replaces = apply_filters( 'yit_title_special_characters', array() );
233
 
234
- return preg_replace( array_keys( $replaces ), array_values( $replaces ), $title );
235
  }
236
  }
237
 
238
- if ( ! function_exists( 'yit_plugin_get_attachment_id' ) ) {
239
 
240
  /**
241
  * Return the ID of an attachment.
@@ -247,49 +241,49 @@ if ( ! function_exists( 'yit_plugin_get_attachment_id' ) ) {
247
  * @since 2.0.0
248
  */
249
 
250
- function yit_plugin_get_attachment_id( $url ) {
251
 
252
- $upload_dir = wp_upload_dir();
253
- $dir = trailingslashit( $upload_dir['baseurl'] );
254
 
255
- if ( false === strpos( $url, $dir ) ) {
256
  return false;
257
  }
258
 
259
- $file = basename( $url );
260
 
261
- $query = array(
262
  'post_type' => 'attachment',
263
  'fields' => 'ids',
264
- 'meta_query' => array(
265
- array(
266
  'value' => $file,
267
  'compare' => 'LIKE',
268
- )
269
- )
270
  );
271
 
272
- $query['meta_query'][0]['key'] = '_wp_attached_file';
273
- $ids = get_posts( $query );
274
 
275
  foreach ( $ids as $id ) {
276
- $attachment_image = wp_get_attachment_image_src( $id, 'full' );
277
- if ( $url == array_shift( $attachment_image ) || $url == str_replace( 'https://', 'http://', array_shift( $attachment_image ) ) ) {
278
  return $id;
279
  }
280
  }
281
- $query['meta_query'][0]['key'] = '_wp_attachment_metadata';
282
- $ids = get_posts( $query );
283
 
284
  foreach ( $ids as $id ) {
285
 
286
- $meta = wp_get_attachment_metadata( $id );
287
- if ( ! isset( $meta['sizes'] ) ) {
288
  continue;
289
  }
290
 
291
- foreach ( (array) $meta['sizes'] as $size => $values ) {
292
- if ( $values['file'] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
293
 
294
  return $id;
295
  }
@@ -300,7 +294,7 @@ if ( ! function_exists( 'yit_plugin_get_attachment_id' ) ) {
300
  }
301
  }
302
 
303
- if ( ! function_exists( 'yit_enqueue_script' ) ) {
304
  /**
305
  * Enqueues script.
306
  *
@@ -310,19 +304,18 @@ if ( ! function_exists( 'yit_enqueue_script' ) ) {
310
  * @author Simone D'Amico <simone.damico@yithemes.com>
311
  * @see yit_register_script() For parameter information.
312
  */
313
- function yit_enqueue_script( $handle, $src, $deps = array(), $ver = false, $in_footer = true ) {
314
 
315
- if ( function_exists( 'YIT_Asset' ) && ! is_admin() ) {
316
  $enqueue = true;
317
- YIT_Asset()->set( 'script', $handle, compact( 'src', 'deps', 'ver', 'in_footer', 'enqueue' ) );
318
- }
319
- else {
320
- wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer );
321
  }
322
  }
323
  }
324
 
325
- if ( ! function_exists( 'yit_enqueue_style' ) ) {
326
  /**
327
  * Enqueues style.
328
  *
@@ -332,54 +325,53 @@ if ( ! function_exists( 'yit_enqueue_style' ) ) {
332
  * @author Simone D'Amico <simone.damico@yithemes.com>
333
  * @see yit_register_style() For parameter information.
334
  */
335
- function yit_enqueue_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
336
 
337
- if ( function_exists( 'YIT_Asset' ) ) {
338
  $enqueue = true;
339
- $who = YIT_Asset()->get_stylesheet_handle( get_stylesheet_uri(), 'style' );
340
  $where = 'before';
341
 
342
- if( false == $who ){
343
  $who = '';
344
  }
345
 
346
- YIT_Asset()->set( 'style', $handle, compact( 'src', 'deps', 'ver', 'media', 'enqueue' ), $where, $who );
347
- }
348
- else {
349
- wp_enqueue_style( $handle, $src, $deps, $ver, $media );
350
  }
351
  }
352
  }
353
 
354
- if ( ! function_exists( 'yit_get_post_meta' ) ) {
355
  /**
356
  * Retrieve the value of a metabox.
357
  *
358
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
359
  *
360
- * @param int $id Post ID.
361
- * @param string $meta The meta key to retrieve.
362
  *
363
  * @return mixed Single value or array
364
  * @since 2.0.0
365
  */
366
- function yit_get_post_meta( $id, $meta ) {
367
- if ( ! strpos( $meta, '[' ) ) {
368
- return get_post_meta( $id, $meta, true );
369
  }
370
 
371
- $sub_meta = explode( '[', $meta );
372
 
373
- $meta = get_post_meta( $id, $meta, true );
374
- for ( $i = 0; $i < count( $sub_meta ); $i ++ ) {
375
- $meta = $meta[rtrim( $sub_meta[$i], ']' )];
376
  }
377
 
378
  return $meta;
379
  }
380
  }
381
 
382
- if ( ! function_exists( 'yit_string' ) ) {
383
  /**
384
  * Simple echo a string, with a before and after string, only if the main string is not empty.
385
  *
@@ -391,10 +383,10 @@ if ( ! function_exists( 'yit_string' ) ) {
391
  * @return string The complete string, if the main string is not empty or null
392
  * @since 2.0.0
393
  */
394
- function yit_string( $before = '', $string = '', $after = '', $echo = true ) {
395
  $html = '';
396
 
397
- if ( $string != '' AND ! is_null( $string ) ) {
398
  $html = $before . $string . $after;
399
  }
400
 
@@ -407,7 +399,7 @@ if ( ! function_exists( 'yit_string' ) ) {
407
  }
408
 
409
 
410
- if ( ! function_exists( 'yit_pagination' ) ) {
411
  /**
412
  * Print pagination
413
  *
@@ -417,12 +409,12 @@ if ( ! function_exists( 'yit_pagination' ) ) {
417
  * @return string
418
  * @since 2.0.0
419
  */
420
- function yit_pagination( $pages = '', $range = 10 ) {
421
  $showitems = ( $range * 2 ) + 1;
422
 
423
- $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : false;
424
  if ( $paged === false ) {
425
- $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : false;
426
  }
427
  if ( $paged === false ) {
428
  $paged = 1;
@@ -446,60 +438,60 @@ if ( ! function_exists( 'yit_pagination' ) ) {
446
  if ( 1 != $pages ) {
447
  $html .= "<div class='general-pagination clearfix'>";
448
  if ( $paged > 2 ) {
449
- $html .= sprintf( '<a class="%s" href="%s">&laquo;</a>', 'yit_pagination_first', get_pagenum_link( 1 ) );
450
  }
451
  if ( $paged > 1 ) {
452
- $html .= sprintf( '<a class="%s" href="%s">&lsaquo;</a>', 'yit_pagination_previous', get_pagenum_link( $paged - 1 ) );
453
  }
454
 
455
  for ( $i = 1; $i <= $pages; $i ++ ) {
456
  if ( 1 != $pages && ( ! ( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
457
  $class = ( $paged == $i ) ? " class='selected'" : '';
458
- $html .= "<a href='" . get_pagenum_link( $i ) . "'$class >$i</a>";
459
  }
460
  }
461
 
462
  if ( $paged < $pages ) {
463
- $html .= sprintf( '<a class="%s" href="%s">&rsaquo;</a>', 'yit_pagination_next', get_pagenum_link( $paged + 1 ) );
464
  }
465
  if ( $paged < $pages - 1 ) {
466
- $html .= sprintf( '<a class="%s" href="%s">&raquo;</a>', 'yit_pagination_last', get_pagenum_link( $pages ) );
467
  }
468
 
469
  $html .= "</div>\n";
470
  }
471
 
472
- echo apply_filters( 'yit_pagination_html', $html );
473
  }
474
  }
475
 
476
- if ( ! function_exists( 'yit_registered_sidebars' ) ) {
477
  /**
478
  * Retrieve all registered sidebars
479
  *
480
  * @return array
481
  * @since 2.0.0
482
  */
483
- function yit_registered_sidebars() {
484
  global $wp_registered_sidebars;
485
 
486
- $return = array();
487
 
488
  if ( empty( $wp_registered_sidebars ) ) {
489
- $return = array( '' => '' );
490
  }
491
 
492
- foreach ( ( array ) $wp_registered_sidebars as $the_ ) {
493
- $return[$the_['name']] = $the_['name'];
494
  }
495
 
496
- ksort( $return );
497
 
498
  return $return;
499
  }
500
  }
501
 
502
- if ( ! function_exists( 'yit_layout_option' ) ) {
503
  /**
504
  * Retrieve a layout option
505
  *
@@ -511,20 +503,18 @@ if ( ! function_exists( 'yit_layout_option' ) ) {
511
  * @return array
512
  * @since 2.0.0
513
  */
514
- function yit_layout_option( $key, $id = false, $type = "post", $model = "post_type" ) {
515
 
516
  $option = '';
517
 
518
- if ( defined( 'YIT' ) ) {
519
- $option = YIT_Layout_Panel()->get_option( $key, $id, $type, $model );
520
- }
521
- else {
522
- if ( ! $id && ( is_single() || is_page() ) ) {
523
  global $post;
524
  $id = $post->ID;
525
- }
526
- elseif ( $id != 'all' ) {
527
- $option = get_post_meta( $id, $key );
528
  }
529
  }
530
 
@@ -532,32 +522,31 @@ if ( ! function_exists( 'yit_layout_option' ) ) {
532
  }
533
  }
534
 
535
- if ( ! function_exists( 'yit_curPageURL' ) ) {
536
  /**
537
  * Retrieve the current complete url
538
  *
539
  * @since 1.0
540
  */
541
- function yit_curPageURL() {
542
  $pageURL = 'http';
543
- if ( isset( $_SERVER["HTTPS"] ) AND $_SERVER["HTTPS"] == "on" ) {
544
  $pageURL .= "s";
545
  }
546
 
547
  $pageURL .= "://";
548
 
549
- if ( isset( $_SERVER["SERVER_PORT"] ) AND $_SERVER["SERVER_PORT"] != "80" ) {
550
- $pageURL .= $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
551
- }
552
- else {
553
- $pageURL .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
554
  }
555
 
556
  return $pageURL;
557
  }
558
  }
559
 
560
- if ( ! function_exists( 'yit_get_excluded_categories' ) ) {
561
  /**
562
  *
563
  * Retrieve the escluded categories, set on Theme Options
@@ -569,7 +558,7 @@ if ( ! function_exists( 'yit_get_excluded_categories' ) ) {
569
  * @since 2.0.0
570
  */
571
 
572
- function yit_get_excluded_categories( $k = 1 ) {
573
 
574
  global $post;
575
 
@@ -577,20 +566,20 @@ if ( ! function_exists( 'yit_get_excluded_categories' ) ) {
577
  return;
578
  }
579
 
580
- $cf_cats = get_post_meta( $post->ID, 'blog-cats', true);
581
 
582
- if ( ! empty( $cf_cats ) ){
583
  return $cf_cats;
584
  }
585
 
586
- $cats = function_exists( 'yit_get_option' ) ? yit_get_option( 'blog-excluded-cats' ) : '';
587
 
588
 
589
- if ( ! is_array( $cats ) || empty( $cats ) || ! isset( $cats[$k] ) ) {
590
  return;
591
  }
592
 
593
- $cats = array_map( 'trim', $cats[$k] );
594
 
595
  $i = 0;
596
  $query = '';
@@ -600,15 +589,15 @@ if ( ! function_exists( 'yit_get_excluded_categories' ) ) {
600
  $i ++;
601
  }
602
 
603
- ltrim( ',', $query );
604
 
605
  return $query;
606
  }
607
  }
608
 
609
 
610
- if ( ! function_exists( 'yit_add_extra_theme_headers' ) ) {
611
- add_filter( 'extra_theme_headers', 'yit_add_extra_theme_headers' );
612
 
613
  /**
614
  * Check the framework core version
@@ -619,13 +608,14 @@ if ( ! function_exists( 'yit_add_extra_theme_headers' ) ) {
619
  * @since 2.0.0
620
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
621
  */
622
- function yit_add_extra_theme_headers( $headers ) {
623
  $headers[] = 'Core Framework Version';
 
624
  return $headers;
625
  }
626
  }
627
 
628
- if ( ! function_exists( 'yit_check_plugin_support' ) ) {
629
  /**
630
  * Check the framework core version
631
  *
@@ -633,75 +623,76 @@ if ( ! function_exists( 'yit_check_plugin_support' ) ) {
633
  * @since 2.0.0
634
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
635
  */
636
- function yit_check_plugin_support() {
637
 
638
- $headers['core'] = wp_get_theme()->get( 'Core Framework Version' );
639
- $headers['author'] = wp_get_theme()->get( 'Author' );
640
 
641
- if( ! $headers['core'] && defined( 'YIT_CORE_VERSION' ) ) {
642
- $headers['core'] = YIT_CORE_VERSION;
643
  }
644
 
645
- if ( ( ! empty( $headers['core'] ) && version_compare( $headers['core'], '2.0.0', '<=' ) ) || $headers['author'] != 'Your Inspiration Themes' ) {
646
  return true;
647
- }
648
- else {
649
  return false;
650
  }
651
  }
652
  }
653
 
654
- if( !function_exists( 'yit_ie_version' ) ) {
655
  /**
656
  * Retrieve IE version.
657
  *
658
  * @return int|float
659
- * @since 1.0.0
660
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
661
  */
662
- function yit_ie_version() {
663
- preg_match('/MSIE ([0-9]\.[0-9])/',$_SERVER['HTTP_USER_AGENT'],$reg);
664
- if ( ! isset( $reg[1] ) )
665
- { return -1; }
666
- else
667
- { return floatval( $reg[1] ); }
 
668
  }
669
  }
670
 
671
- if( ! function_exists( 'yit_avoid_duplicate' ) ) {
672
  /**
673
  * Check if something exists. If yes, add a -N to the value where N is a number.
674
  *
675
- * @param mixed $value
676
- * @param array $array
677
  * @param string $check
 
678
  * @return mixed
679
- * @since 2.0.0
680
  * @author Antonino Scarf� <antonino.scarfi@yithemes.com>
681
  */
682
- function yit_avoid_duplicate( $value, $array, $check = 'value' ) {
683
- $match = array();
684
 
685
- if( !is_array( $array ) ) {
686
  return $value;
687
  }
688
 
689
- if ( ( $check == 'value' && ! in_array( $value, $array ) ) || ( $check == 'key' && ! isset( $array[$value] ) ) ) {
690
  return $value;
691
  } else {
692
- if ( ! preg_match( '/([a-z]+)-([0-9]+)/', $value, $match ) ) {
693
  $i = 2;
694
  } else {
695
- $i = intval( $match[2] ) + 1;
696
- $value = $match[1];
697
  }
698
 
699
- return yit_avoid_duplicate( $value . '-' . $i, $array, $check );
700
  }
701
  }
702
  }
703
 
704
- if( !function_exists( 'yit_title_special_characters' ) ) {
705
  /**
706
  * The chars used in yit_decode_title() and yit_encode_title()
707
  *
@@ -709,22 +700,23 @@ if( !function_exists( 'yit_title_special_characters' ) ) {
709
  * string: This is [my title] with | a new line
710
  * return: This is <span class="highlight">my title</span> with <br /> a new line
711
  *
712
- * @param string $title The string to convert
 
713
  * @return string The html
714
  *
715
  * @since 1.0
716
  */
717
- function yit_title_special_characters( $chars )
718
- {
719
- return array_merge( $chars, array(
720
  '/[=\[](.*?)[=\]]/' => '<span class="title-highlight">$1</span>',
721
- '/\|/' => '<br />',
722
  ) );
723
  }
724
- add_filter( 'yit_title_special_characters', 'yit_title_special_characters' );
 
725
  }
726
 
727
- if( !function_exists( 'yit_decode_title' ) ) {
728
  /**
729
  * Change some special characters to put easily html into a string
730
  *
@@ -732,20 +724,20 @@ if( !function_exists( 'yit_decode_title' ) ) {
732
  * string: This is [my title] with | a new line
733
  * return: This is <span class="title-highlight">my title</span> with <br /> a new line
734
  *
735
- * @param string $title The string to convert
 
736
  * @return string The html
737
  *
738
  * @since 1.0
739
  */
740
- function yit_decode_title( $title )
741
- {
742
- $replaces = apply_filters( 'yit_title_special_characters', array() );
743
 
744
- return preg_replace( array_keys( $replaces ), array_values( $replaces ), $title );
745
  }
746
  }
747
 
748
- if( !function_exists( 'yit_encode_title' ) ) {
749
  /**
750
  * Change some special characters to put easily html into a string
751
  *
@@ -753,20 +745,20 @@ if( !function_exists( 'yit_encode_title' ) ) {
753
  * string: This is [my title] with | a new line
754
  * return: This is <span class="title-highlight">my title</span> with <br /> a new line
755
  *
756
- * @param string $title The string to convert
 
757
  * @return string The html
758
  *
759
  * @since 1.0
760
  */
761
- function yit_encode_title( $title )
762
- {
763
- $replaces = apply_filters( 'yit_title_special_characters', array() );
764
 
765
- return preg_replace( array_values( $replaces ), array_keys( $replaces ), $title );
766
  }
767
  }
768
 
769
- if( !function_exists( 'yit_remove_chars_title' ) ) {
770
  /**
771
  * Change some special characters to put easily html into a string
772
  *
@@ -774,30 +766,30 @@ if( !function_exists( 'yit_remove_chars_title' ) ) {
774
  * string: This is [my title] with | a new line
775
  * return: This is <span class="title-highlight">my title</span> with <br /> a new line
776
  *
777
- * @param string $title The string to convert
 
778
  * @return string The html
779
  *
780
  * @since 1.0
781
  */
782
- function yit_remove_chars_title( $title )
783
- {
784
- $replaces = apply_filters( 'yit_title_special_characters', array() );
785
 
786
- return preg_replace( array_keys( $replaces ), '$1', $title );
787
  }
788
  }
789
 
790
- if( ! function_exists( 'is_shop_installed' ) ) {
791
  /**
792
  * Detect if there is a shop plugin installed
793
  *
794
  * @return bool
795
- * @since 2.0.0
796
  * @author Francesco Grasso <francesco.grasso@yithemes.com
797
  */
798
- function is_shop_installed() {
799
  global $woocommerce;
800
- if( isset( $woocommerce ) || defined( 'JIGOSHOP_VERSION' ) ) {
801
  return true;
802
  } else {
803
  return false;
@@ -805,7 +797,7 @@ if( ! function_exists( 'is_shop_installed' ) ) {
805
  }
806
  }
807
 
808
- if ( ! function_exists( 'yit_load_js_file' ) ) {
809
  /**
810
  * Load .min.js file if WP_Debug is not defined
811
  *
@@ -815,52 +807,52 @@ if ( ! function_exists( 'yit_load_js_file' ) ) {
815
  * @since 2.0.0
816
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
817
  */
818
- function yit_load_js_file( $filename ) {
819
 
820
- if ( ! ( ( defined( 'WP_DEBUG' ) && WP_DEBUG ) || ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ) ) {
821
- $filename = str_replace( '.js', '.min.js', $filename );
822
  }
823
 
824
  return $filename;
825
  }
826
  }
827
 
828
- if ( ! function_exists( 'yit_wpml_register_string' ) ) {
829
  /**
830
  * Register a string in wpml trnslation
831
  *
832
  * @param $contenxt context name
833
- * @param $name string name
834
- * @param $value value to translate
835
  *
836
  * @since 2.0.0
837
  * @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
838
  */
839
- function yit_wpml_register_string( $contenxt , $name , $value ) {
840
  // wpml string translation
841
- do_action( 'wpml_register_single_string', $contenxt, $name, $value );
842
  }
843
  }
844
 
845
- if ( ! function_exists( 'yit_wpml_string_translate' ) ) {
846
  /**
847
  * Get a string translation
848
  *
849
- * @param $contenxt context name
850
- * @param $name string name
851
  * @param $default_value value to translate
852
  *
853
  * @return string the string translated
854
  * @since 2.0.0
855
  * @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
856
  */
857
- function yit_wpml_string_translate( $contenxt, $name, $default_value ) {
858
- return apply_filters( 'wpml_translate_single_string', $default_value, $contenxt, $name );
859
  }
860
 
861
  }
862
 
863
- if ( ! function_exists( 'yit_wpml_object_id' ) ) {
864
  /**
865
  * Get id of post translation in current language
866
  *
@@ -873,16 +865,49 @@ if ( ! function_exists( 'yit_wpml_object_id' ) ) {
873
  * @since 2.0.0
874
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
875
  */
876
- function yit_wpml_object_id( $element_id, $element_type = 'post', $return_original_if_missing = false, $ulanguage_code = null ) {
877
- if( function_exists( 'wpml_object_id' ) ){
878
- return wpml_object_id( $element_id, $element_type, $return_original_if_missing, $ulanguage_code );
879
- }
880
- elseif( function_exists( 'icl_object_id' ) ){
881
- return icl_object_id( $element_id, $element_type, $return_original_if_missing, $ulanguage_code );
882
- }
883
- else{
884
  return $element_id;
885
  }
886
  }
887
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
888
  }
8
  * http://www.gnu.org/licenses/gpl-3.0.txt
9
  */
10
 
11
+ if ( ! defined ( 'ABSPATH' ) ) {
12
  exit;
13
  } // Exit if accessed directly
14
 
15
+ if ( ! function_exists ( 'yit_plugin_locate_template' ) ) {
16
  /**
17
  * Locate the templates and return the path of the file found
18
  *
23
  * @return string
24
  * @since 2.0.0
25
  */
26
+ function yit_plugin_locate_template ( $plugin_basename, $path, $var = NULL ) {
27
 
28
  $template_path = '/theme/templates/' . $path;
29
 
30
+ $located = locate_template ( array (
31
+ $template_path,
32
  ) );
33
 
34
  if ( ! $located ) {
40
 
41
  }
42
 
43
+ if ( ! function_exists ( 'yit_plugin_get_template' ) ) {
44
  /**
45
  * Retrieve a template file.
46
  *
52
  * @return string
53
  * @since 2.0.0
54
  */
55
+ function yit_plugin_get_template ( $plugin_basename, $path, $var = null, $return = false ) {
56
 
57
+ $located = yit_plugin_locate_template ( $plugin_basename, $path, $var );
58
 
59
+ if ( $var && is_array ( $var ) ) {
60
+ extract ( $var );
61
  }
62
 
63
  if ( $return ) {
64
+ ob_start ();
65
  }
66
 
67
  // include file located
68
+ if ( file_exists ( $located ) ) {
69
+ include ( $located );
70
  }
71
 
72
  if ( $return ) {
73
+ return ob_get_clean ();
74
  }
75
  }
76
  }
77
 
78
+ if ( ! function_exists ( 'yit_plugin_content' ) ) {
79
  /**
80
  * Return post content with read more link (if needed)
81
  *
88
  * @return string
89
  * @since 2.0.0
90
  */
91
+ function yit_plugin_content ( $what = 'content', $limit = 25, $more_text = '', $split = '[...]', $in_paragraph = 'true' ) {
92
  if ( $what == 'content' ) {
93
+ $content = get_the_content ( $more_text );
94
+ } else {
 
95
  if ( $what == 'excerpt' ) {
96
+ $content = get_the_excerpt ();
97
+ } else {
 
98
  $content = $what;
99
  }
100
  }
101
 
102
  if ( $limit == 0 ) {
103
  if ( $what == 'excerpt' ) {
104
+ $content = apply_filters ( 'the_excerpt', $content );
105
+ } else {
106
+ $content = preg_replace ( '/<img[^>]+./', '', $content ); //remove images
107
+ $content = apply_filters ( 'the_content', $content );
108
+ $content = str_replace ( ']]>', ']]&gt;', $content );
 
109
  }
110
 
111
  return $content;
112
  }
113
 
114
  // remove the tag more from the content
115
+ if ( preg_match ( "/<(a)[^>]*class\s*=\s*(['\"])more-link\\2[^>]*>(.*?)<\/\\1>/", $content, $matches ) ) {
116
 
117
+ if ( strpos ( $matches[ 0 ], '[button' ) ) {
118
+ $more_link = str_replace ( 'href="#"', 'href="' . get_permalink () . '"', do_shortcode ( $matches[ 3 ] ) );
119
+ } else {
120
+ $more_link = $matches[ 0 ];
 
121
  }
122
 
123
+ $content = str_replace ( $more_link, '', $content );
124
  $split = '';
125
  }
126
 
127
  if ( empty( $content ) ) {
128
  return;
129
  }
130
+ $content = explode ( ' ', $content );
131
 
132
  if ( ! empty( $more_text ) && ! isset( $more_link ) ) {
133
  //array_pop( $content );
134
+ $more_link = strpos ( $more_text, '<a class="btn"' ) ? $more_text : '<a class="read-more' . apply_filters ( 'yit_simple_read_more_classes', ' ' ) . '" href="' . get_permalink () . '">' . $more_text . '</a>';
135
  $split = '';
136
+ } elseif ( ! isset( $more_link ) ) {
 
137
  $more_link = '';
138
  }
139
 
140
  // split
141
+ if ( count ( $content ) >= $limit ) {
142
  $split_content = '';
143
  for ( $i = 0; $i < $limit; $i ++ ) {
144
+ $split_content .= $content[ $i ] . ' ';
145
  }
146
 
147
  $content = $split_content . $split;
148
+ } else {
149
+ $content = implode ( " ", $content );
 
150
  }
151
 
152
  // TAGS UNCLOSED
153
+ $tags = array ();
154
  // get all tags opened
155
+ preg_match_all ( "/(<([\w]+)[^>]*>)/", $content, $tags_opened, PREG_SET_ORDER );
156
  foreach ( $tags_opened as $tag ) {
157
+ $tags[] = $tag[ 2 ];
158
  }
159
 
160
  // get all tags closed and remove it from the tags opened.. the rest will be closed at the end of the content
161
+ preg_match_all ( "/(<\/([\w]+)[^>]*>)/", $content, $tags_closed, PREG_SET_ORDER );
162
  foreach ( $tags_closed as $tag ) {
163
+ unset( $tags[ array_search ( $tag[ 2 ], $tags ) ] );
164
  }
165
 
166
  // close the tags
172
 
173
  //$content = preg_replace( '/\[.+\]/', '', $content );
174
  if ( $in_paragraph == true ): $content .= $more_link; endif;
175
+ $content = preg_replace ( '/<img[^>]+./', '', $content ); //remove images
176
+ $content = apply_filters ( 'the_content', $content );
177
+ $content = str_replace ( ']]>', ']]&gt;', $content ); // echo str_replace( array( '<', '>' ), array( '&lt;', '&gt;' ), $content );
178
  if ( $in_paragraph == false ): $content .= $more_link; endif;
179
 
180
  return $content;
181
  }
182
  }
183
 
184
+ if ( ! function_exists ( 'yit_plugin_string' ) ) {
185
  /**
186
  * Simple echo a string, with a before and after string, only if the main string is not empty.
187
  *
193
  * @return string The complete string, if the main string is not empty or null
194
  * @since 2.0.0
195
  */
196
+ function yit_plugin_string ( $before = '', $string = '', $after = '', $echo = true ) {
197
  $html = '';
198
 
199
+ if ( $string != '' AND ! is_null ( $string ) ) {
200
  $html = $before . $string . $after;
201
  }
202
 
208
  }
209
  }
210
 
211
+ if ( ! function_exists ( 'yit_plugin_decode_title' ) ) {
212
  /**
213
  * Change some special characters to put easily html into a string
214
  *
222
  *
223
  * @since 1.0
224
  */
225
+ function yit_plugin_decode_title ( $title ) {
226
+ $replaces = apply_filters ( 'yit_title_special_characters', array () );
227
 
228
+ return preg_replace ( array_keys ( $replaces ), array_values ( $replaces ), $title );
229
  }
230
  }
231
 
232
+ if ( ! function_exists ( 'yit_plugin_get_attachment_id' ) ) {
233
 
234
  /**
235
  * Return the ID of an attachment.
241
  * @since 2.0.0
242
  */
243
 
244
+ function yit_plugin_get_attachment_id ( $url ) {
245
 
246
+ $upload_dir = wp_upload_dir ();
247
+ $dir = trailingslashit ( $upload_dir[ 'baseurl' ] );
248
 
249
+ if ( false === strpos ( $url, $dir ) ) {
250
  return false;
251
  }
252
 
253
+ $file = basename ( $url );
254
 
255
+ $query = array (
256
  'post_type' => 'attachment',
257
  'fields' => 'ids',
258
+ 'meta_query' => array (
259
+ array (
260
  'value' => $file,
261
  'compare' => 'LIKE',
262
+ ),
263
+ ),
264
  );
265
 
266
+ $query[ 'meta_query' ][ 0 ][ 'key' ] = '_wp_attached_file';
267
+ $ids = get_posts ( $query );
268
 
269
  foreach ( $ids as $id ) {
270
+ $attachment_image = wp_get_attachment_image_src ( $id, 'full' );
271
+ if ( $url == array_shift ( $attachment_image ) || $url == str_replace ( 'https://', 'http://', array_shift ( $attachment_image ) ) ) {
272
  return $id;
273
  }
274
  }
275
+ $query[ 'meta_query' ][ 0 ][ 'key' ] = '_wp_attachment_metadata';
276
+ $ids = get_posts ( $query );
277
 
278
  foreach ( $ids as $id ) {
279
 
280
+ $meta = wp_get_attachment_metadata ( $id );
281
+ if ( ! isset( $meta[ 'sizes' ] ) ) {
282
  continue;
283
  }
284
 
285
+ foreach ( (array)$meta[ 'sizes' ] as $size => $values ) {
286
+ if ( $values[ 'file' ] == $file && $url == str_replace ( 'https://', 'http://', array_shift ( wp_get_attachment_image_src ( $id, $size ) ) ) ) {
287
 
288
  return $id;
289
  }
294
  }
295
  }
296
 
297
+ if ( ! function_exists ( 'yit_enqueue_script' ) ) {
298
  /**
299
  * Enqueues script.
300
  *
304
  * @author Simone D'Amico <simone.damico@yithemes.com>
305
  * @see yit_register_script() For parameter information.
306
  */
307
+ function yit_enqueue_script ( $handle, $src, $deps = array (), $ver = false, $in_footer = true ) {
308
 
309
+ if ( function_exists ( 'YIT_Asset' ) && ! is_admin () ) {
310
  $enqueue = true;
311
+ YIT_Asset ()->set ( 'script', $handle, compact ( 'src', 'deps', 'ver', 'in_footer', 'enqueue' ) );
312
+ } else {
313
+ wp_enqueue_script ( $handle, $src, $deps, $ver, $in_footer );
 
314
  }
315
  }
316
  }
317
 
318
+ if ( ! function_exists ( 'yit_enqueue_style' ) ) {
319
  /**
320
  * Enqueues style.
321
  *
325
  * @author Simone D'Amico <simone.damico@yithemes.com>
326
  * @see yit_register_style() For parameter information.
327
  */
328
+ function yit_enqueue_style ( $handle, $src, $deps = array (), $ver = false, $media = 'all' ) {
329
 
330
+ if ( function_exists ( 'YIT_Asset' ) ) {
331
  $enqueue = true;
332
+ $who = YIT_Asset ()->get_stylesheet_handle ( get_stylesheet_uri (), 'style' );
333
  $where = 'before';
334
 
335
+ if ( false == $who ) {
336
  $who = '';
337
  }
338
 
339
+ YIT_Asset ()->set ( 'style', $handle, compact ( 'src', 'deps', 'ver', 'media', 'enqueue' ), $where, $who );
340
+ } else {
341
+ wp_enqueue_style ( $handle, $src, $deps, $ver, $media );
 
342
  }
343
  }
344
  }
345
 
346
+ if ( ! function_exists ( 'yit_get_post_meta' ) ) {
347
  /**
348
  * Retrieve the value of a metabox.
349
  *
350
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
351
  *
352
+ * @param int $id Post ID.
353
+ * @param string $meta The meta key to retrieve.
354
  *
355
  * @return mixed Single value or array
356
  * @since 2.0.0
357
  */
358
+ function yit_get_post_meta ( $id, $meta ) {
359
+ if ( ! strpos ( $meta, '[' ) ) {
360
+ return get_post_meta ( $id, $meta, true );
361
  }
362
 
363
+ $sub_meta = explode ( '[', $meta );
364
 
365
+ $meta = get_post_meta ( $id, $meta, true );
366
+ for ( $i = 0; $i < count ( $sub_meta ); $i ++ ) {
367
+ $meta = $meta[ rtrim ( $sub_meta[ $i ], ']' ) ];
368
  }
369
 
370
  return $meta;
371
  }
372
  }
373
 
374
+ if ( ! function_exists ( 'yit_string' ) ) {
375
  /**
376
  * Simple echo a string, with a before and after string, only if the main string is not empty.
377
  *
383
  * @return string The complete string, if the main string is not empty or null
384
  * @since 2.0.0
385
  */
386
+ function yit_string ( $before = '', $string = '', $after = '', $echo = true ) {
387
  $html = '';
388
 
389
+ if ( $string != '' AND ! is_null ( $string ) ) {
390
  $html = $before . $string . $after;
391
  }
392
 
399
  }
400
 
401
 
402
+ if ( ! function_exists ( 'yit_pagination' ) ) {
403
  /**
404
  * Print pagination
405
  *
409
  * @return string
410
  * @since 2.0.0
411
  */
412
+ function yit_pagination ( $pages = '', $range = 10 ) {
413
  $showitems = ( $range * 2 ) + 1;
414
 
415
+ $paged = ( get_query_var ( 'paged' ) ) ? get_query_var ( 'paged' ) : false;
416
  if ( $paged === false ) {
417
+ $paged = ( get_query_var ( 'page' ) ) ? get_query_var ( 'page' ) : false;
418
  }
419
  if ( $paged === false ) {
420
  $paged = 1;
438
  if ( 1 != $pages ) {
439
  $html .= "<div class='general-pagination clearfix'>";
440
  if ( $paged > 2 ) {
441
+ $html .= sprintf ( '<a class="%s" href="%s">&laquo;</a>', 'yit_pagination_first', get_pagenum_link ( 1 ) );
442
  }
443
  if ( $paged > 1 ) {
444
+ $html .= sprintf ( '<a class="%s" href="%s">&lsaquo;</a>', 'yit_pagination_previous', get_pagenum_link ( $paged - 1 ) );
445
  }
446
 
447
  for ( $i = 1; $i <= $pages; $i ++ ) {
448
  if ( 1 != $pages && ( ! ( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
449
  $class = ( $paged == $i ) ? " class='selected'" : '';
450
+ $html .= "<a href='" . get_pagenum_link ( $i ) . "'$class >$i</a>";
451
  }
452
  }
453
 
454
  if ( $paged < $pages ) {
455
+ $html .= sprintf ( '<a class="%s" href="%s">&rsaquo;</a>', 'yit_pagination_next', get_pagenum_link ( $paged + 1 ) );
456
  }
457
  if ( $paged < $pages - 1 ) {
458
+ $html .= sprintf ( '<a class="%s" href="%s">&raquo;</a>', 'yit_pagination_last', get_pagenum_link ( $pages ) );
459
  }
460
 
461
  $html .= "</div>\n";
462
  }
463
 
464
+ echo apply_filters ( 'yit_pagination_html', $html );
465
  }
466
  }
467
 
468
+ if ( ! function_exists ( 'yit_registered_sidebars' ) ) {
469
  /**
470
  * Retrieve all registered sidebars
471
  *
472
  * @return array
473
  * @since 2.0.0
474
  */
475
+ function yit_registered_sidebars () {
476
  global $wp_registered_sidebars;
477
 
478
+ $return = array ();
479
 
480
  if ( empty( $wp_registered_sidebars ) ) {
481
+ $return = array ( '' => '' );
482
  }
483
 
484
+ foreach ( ( array )$wp_registered_sidebars as $the_ ) {
485
+ $return[ $the_[ 'name' ] ] = $the_[ 'name' ];
486
  }
487
 
488
+ ksort ( $return );
489
 
490
  return $return;
491
  }
492
  }
493
 
494
+ if ( ! function_exists ( 'yit_layout_option' ) ) {
495
  /**
496
  * Retrieve a layout option
497
  *
503
  * @return array
504
  * @since 2.0.0
505
  */
506
+ function yit_layout_option ( $key, $id = false, $type = "post", $model = "post_type" ) {
507
 
508
  $option = '';
509
 
510
+ if ( defined ( 'YIT' ) ) {
511
+ $option = YIT_Layout_Panel ()->get_option ( $key, $id, $type, $model );
512
+ } else {
513
+ if ( ! $id && ( is_single () || is_page () ) ) {
 
514
  global $post;
515
  $id = $post->ID;
516
+ } elseif ( $id != 'all' ) {
517
+ $option = get_post_meta ( $id, $key );
 
518
  }
519
  }
520
 
522
  }
523
  }
524
 
525
+ if ( ! function_exists ( 'yit_curPageURL' ) ) {
526
  /**
527
  * Retrieve the current complete url
528
  *
529
  * @since 1.0
530
  */
531
+ function yit_curPageURL () {
532
  $pageURL = 'http';
533
+ if ( isset( $_SERVER[ "HTTPS" ] ) AND $_SERVER[ "HTTPS" ] == "on" ) {
534
  $pageURL .= "s";
535
  }
536
 
537
  $pageURL .= "://";
538
 
539
+ if ( isset( $_SERVER[ "SERVER_PORT" ] ) AND $_SERVER[ "SERVER_PORT" ] != "80" ) {
540
+ $pageURL .= $_SERVER[ "SERVER_NAME" ] . ":" . $_SERVER[ "SERVER_PORT" ] . $_SERVER[ "REQUEST_URI" ];
541
+ } else {
542
+ $pageURL .= $_SERVER[ "SERVER_NAME" ] . $_SERVER[ "REQUEST_URI" ];
 
543
  }
544
 
545
  return $pageURL;
546
  }
547
  }
548
 
549
+ if ( ! function_exists ( 'yit_get_excluded_categories' ) ) {
550
  /**
551
  *
552
  * Retrieve the escluded categories, set on Theme Options
558
  * @since 2.0.0
559
  */
560
 
561
+ function yit_get_excluded_categories ( $k = 1 ) {
562
 
563
  global $post;
564
 
566
  return;
567
  }
568
 
569
+ $cf_cats = get_post_meta ( $post->ID, 'blog-cats', true );
570
 
571
+ if ( ! empty( $cf_cats ) ) {
572
  return $cf_cats;
573
  }
574
 
575
+ $cats = function_exists ( 'yit_get_option' ) ? yit_get_option ( 'blog-excluded-cats' ) : '';
576
 
577
 
578
+ if ( ! is_array ( $cats ) || empty( $cats ) || ! isset( $cats[ $k ] ) ) {
579
  return;
580
  }
581
 
582
+ $cats = array_map ( 'trim', $cats[ $k ] );
583
 
584
  $i = 0;
585
  $query = '';
589
  $i ++;
590
  }
591
 
592
+ ltrim ( ',', $query );
593
 
594
  return $query;
595
  }
596
  }
597
 
598
 
599
+ if ( ! function_exists ( 'yit_add_extra_theme_headers' ) ) {
600
+ add_filter ( 'extra_theme_headers', 'yit_add_extra_theme_headers' );
601
 
602
  /**
603
  * Check the framework core version
608
  * @since 2.0.0
609
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
610
  */
611
+ function yit_add_extra_theme_headers ( $headers ) {
612
  $headers[] = 'Core Framework Version';
613
+
614
  return $headers;
615
  }
616
  }
617
 
618
+ if ( ! function_exists ( 'yit_check_plugin_support' ) ) {
619
  /**
620
  * Check the framework core version
621
  *
623
  * @since 2.0.0
624
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
625
  */
626
+ function yit_check_plugin_support () {
627
 
628
+ $headers[ 'core' ] = wp_get_theme ()->get ( 'Core Framework Version' );
629
+ $headers[ 'author' ] = wp_get_theme ()->get ( 'Author' );
630
 
631
+ if ( ! $headers[ 'core' ] && defined ( 'YIT_CORE_VERSION' ) ) {
632
+ $headers[ 'core' ] = YIT_CORE_VERSION;
633
  }
634
 
635
+ if ( ( ! empty( $headers[ 'core' ] ) && version_compare ( $headers[ 'core' ], '2.0.0', '<=' ) ) || $headers[ 'author' ] != 'Your Inspiration Themes' ) {
636
  return true;
637
+ } else {
 
638
  return false;
639
  }
640
  }
641
  }
642
 
643
+ if ( ! function_exists ( 'yit_ie_version' ) ) {
644
  /**
645
  * Retrieve 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
  }
660
 
661
+ if ( ! function_exists ( 'yit_avoid_duplicate' ) ) {
662
  /**
663
  * Check if something exists. If yes, add a -N to the value where N is a number.
664
  *
665
+ * @param mixed $value
666
+ * @param array $array
667
  * @param string $check
668
+ *
669
  * @return mixed
670
+ * @since 2.0.0
671
  * @author Antonino Scarf� <antonino.scarfi@yithemes.com>
672
  */
673
+ function yit_avoid_duplicate ( $value, $array, $check = 'value' ) {
674
+ $match = array ();
675
 
676
+ if ( ! is_array ( $array ) ) {
677
  return $value;
678
  }
679
 
680
+ if ( ( $check == 'value' && ! in_array ( $value, $array ) ) || ( $check == 'key' && ! isset( $array[ $value ] ) ) ) {
681
  return $value;
682
  } else {
683
+ if ( ! preg_match ( '/([a-z]+)-([0-9]+)/', $value, $match ) ) {
684
  $i = 2;
685
  } else {
686
+ $i = intval ( $match[ 2 ] ) + 1;
687
+ $value = $match[ 1 ];
688
  }
689
 
690
+ return yit_avoid_duplicate ( $value . '-' . $i, $array, $check );
691
  }
692
  }
693
  }
694
 
695
+ if ( ! function_exists ( 'yit_title_special_characters' ) ) {
696
  /**
697
  * The chars used in yit_decode_title() and yit_encode_title()
698
  *
700
  * string: This is [my title] with | a new line
701
  * return: This is <span class="highlight">my title</span> with <br /> a new line
702
  *
703
+ * @param string $title The string to convert
704
+ *
705
  * @return string The html
706
  *
707
  * @since 1.0
708
  */
709
+ function yit_title_special_characters ( $chars ) {
710
+ return array_merge ( $chars, array (
 
711
  '/[=\[](.*?)[=\]]/' => '<span class="title-highlight">$1</span>',
712
+ '/\|/' => '<br />',
713
  ) );
714
  }
715
+
716
+ add_filter ( 'yit_title_special_characters', 'yit_title_special_characters' );
717
  }
718
 
719
+ if ( ! function_exists ( 'yit_decode_title' ) ) {
720
  /**
721
  * Change some special characters to put easily html into a string
722
  *
724
  * string: This is [my title] with | a new line
725
  * return: This is <span class="title-highlight">my title</span> with <br /> a new line
726
  *
727
+ * @param string $title The string to convert
728
+ *
729
  * @return string The html
730
  *
731
  * @since 1.0
732
  */
733
+ function yit_decode_title ( $title ) {
734
+ $replaces = apply_filters ( 'yit_title_special_characters', array () );
 
735
 
736
+ return preg_replace ( array_keys ( $replaces ), array_values ( $replaces ), $title );
737
  }
738
  }
739
 
740
+ if ( ! function_exists ( 'yit_encode_title' ) ) {
741
  /**
742
  * Change some special characters to put easily html into a string
743
  *
745
  * string: This is [my title] with | a new line
746
  * return: This is <span class="title-highlight">my title</span> with <br /> a new line
747
  *
748
+ * @param string $title The string to convert
749
+ *
750
  * @return string The html
751
  *
752
  * @since 1.0
753
  */
754
+ function yit_encode_title ( $title ) {
755
+ $replaces = apply_filters ( 'yit_title_special_characters', array () );
 
756
 
757
+ return preg_replace ( array_values ( $replaces ), array_keys ( $replaces ), $title );
758
  }
759
  }
760
 
761
+ if ( ! function_exists ( 'yit_remove_chars_title' ) ) {
762
  /**
763
  * Change some special characters to put easily html into a string
764
  *
766
  * string: This is [my title] with | a new line
767
  * return: This is <span class="title-highlight">my title</span> with <br /> a new line
768
  *
769
+ * @param string $title The string to convert
770
+ *
771
  * @return string The html
772
  *
773
  * @since 1.0
774
  */
775
+ function yit_remove_chars_title ( $title ) {
776
+ $replaces = apply_filters ( 'yit_title_special_characters', array () );
 
777
 
778
+ return preg_replace ( array_keys ( $replaces ), '$1', $title );
779
  }
780
  }
781
 
782
+ if ( ! function_exists ( 'is_shop_installed' ) ) {
783
  /**
784
  * Detect if there is a shop plugin installed
785
  *
786
  * @return bool
787
+ * @since 2.0.0
788
  * @author Francesco Grasso <francesco.grasso@yithemes.com
789
  */
790
+ function is_shop_installed () {
791
  global $woocommerce;
792
+ if ( isset( $woocommerce ) || defined ( 'JIGOSHOP_VERSION' ) ) {
793
  return true;
794
  } else {
795
  return false;
797
  }
798
  }
799
 
800
+ if ( ! function_exists ( 'yit_load_js_file' ) ) {
801
  /**
802
  * Load .min.js file if WP_Debug is not defined
803
  *
807
  * @since 2.0.0
808
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
809
  */
810
+ function yit_load_js_file ( $filename ) {
811
 
812
+ if ( ! ( ( defined ( 'WP_DEBUG' ) && WP_DEBUG ) || ( defined ( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ) ) {
813
+ $filename = str_replace ( '.js', '.min.js', $filename );
814
  }
815
 
816
  return $filename;
817
  }
818
  }
819
 
820
+ if ( ! function_exists ( 'yit_wpml_register_string' ) ) {
821
  /**
822
  * Register a string in wpml trnslation
823
  *
824
  * @param $contenxt context name
825
+ * @param $name string name
826
+ * @param $value value to translate
827
  *
828
  * @since 2.0.0
829
  * @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
830
  */
831
+ function yit_wpml_register_string ( $contenxt, $name, $value ) {
832
  // wpml string translation
833
+ do_action ( 'wpml_register_single_string', $contenxt, $name, $value );
834
  }
835
  }
836
 
837
+ if ( ! function_exists ( 'yit_wpml_string_translate' ) ) {
838
  /**
839
  * Get a string translation
840
  *
841
+ * @param $contenxt context name
842
+ * @param $name string name
843
  * @param $default_value value to translate
844
  *
845
  * @return string the string translated
846
  * @since 2.0.0
847
  * @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
848
  */
849
+ function yit_wpml_string_translate ( $contenxt, $name, $default_value ) {
850
+ return apply_filters ( 'wpml_translate_single_string', $default_value, $contenxt, $name );
851
  }
852
 
853
  }
854
 
855
+ if ( ! function_exists ( 'yit_wpml_object_id' ) ) {
856
  /**
857
  * Get id of post translation in current language
858
  *
865
  * @since 2.0.0
866
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
867
  */
868
+ function yit_wpml_object_id ( $element_id, $element_type = 'post', $return_original_if_missing = false, $ulanguage_code = null ) {
869
+ if ( function_exists ( 'wpml_object_id' ) ) {
870
+ return wpml_object_id ( $element_id, $element_type, $return_original_if_missing, $ulanguage_code );
871
+ } elseif ( function_exists ( 'icl_object_id' ) ) {
872
+ return icl_object_id ( $element_id, $element_type, $return_original_if_missing, $ulanguage_code );
873
+ } else {
 
 
874
  return $element_id;
875
  }
876
  }
877
 
878
+ }
879
+
880
+
881
+ if ( ! function_exists ( 'yith_get_formatted_price' ) ) {
882
+ /**
883
+ * Format the price with a currency symbol.
884
+ *
885
+ * @param float $price
886
+ * @param array $args (default: array())
887
+ *
888
+ * @return string
889
+ */
890
+ function yith_get_formatted_price ( $price, $args = array () ) {
891
+ extract ( apply_filters ( 'wc_price_args', wp_parse_args ( $args, array (
892
+ 'ex_tax_label' => false,
893
+ 'currency' => '',
894
+ 'decimal_separator' => wc_get_price_decimal_separator (),
895
+ 'thousand_separator' => wc_get_price_thousand_separator (),
896
+ 'decimals' => wc_get_price_decimals (),
897
+ 'price_format' => get_woocommerce_price_format (),
898
+ ) ) ) );
899
+
900
+ $negative = $price < 0;
901
+ $price = apply_filters ( 'raw_woocommerce_price', floatval ( $negative ? $price * - 1 : $price ) );
902
+ $price = apply_filters ( 'formatted_woocommerce_price', number_format ( $price, $decimals, $decimal_separator, $thousand_separator ), $price, $decimals, $decimal_separator, $thousand_separator );
903
+
904
+ if ( apply_filters ( 'woocommerce_price_trim_zeros', false ) && $decimals > 0 ) {
905
+ $price = wc_trim_zeros ( $price );
906
+ }
907
+
908
+ $formatted_price = ( $negative ? '-' : '' ) . sprintf ( $price_format, get_woocommerce_currency_symbol ( $currency ), $price );
909
+ $return = $formatted_price;
910
+
911
+ return apply_filters ( 'wc_price', $return, $price, $args );
912
+ }
913
  }
templates/yith-list-plugins.php CHANGED
@@ -23,6 +23,7 @@ if ( ! current_user_can( 'activate_plugins' ) ) {
23
  //--- read module list -----------------------------
24
 
25
  $modules = $this->get_admin_modules_list();
 
26
  $active_modules = $this->active_modules();
27
  $module_inserted_list = array();
28
  $module_inserted_old_list = get_option( YITH_JetPack::MODULE_LIST_OPTION_NAME , array() );
23
  //--- read module list -----------------------------
24
 
25
  $modules = $this->get_admin_modules_list();
26
+ $modules = apply_filters( $this->_plugin_list_filter_module_name , $modules ) ;
27
  $active_modules = $this->active_modules();
28
  $module_inserted_list = array();
29
  $module_inserted_old_list = get_option( YITH_JetPack::MODULE_LIST_OPTION_NAME , array() );
yith-jetpack.php CHANGED
@@ -10,6 +10,8 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
10
  */
11
  class YITH_JetPack {
12
 
 
 
13
  const ACTIVATED_MODULES_OPTION_BASE_NAME = 'yith_jetpack_active_modules';
14
 
15
  const DEACTIVATED_PLUGIN_OPTION_NAME = 'yith_jetpack_deactivated_plugin';
@@ -27,6 +29,8 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
27
 
28
  protected $_package_title = '';
29
 
 
 
30
  protected $_activate_module_option_name = null;
31
 
32
  protected $_deactivated_plugin_option_name = null;
@@ -53,6 +57,7 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
53
  $this->$index = $index;
54
  $this->_plugin_path = $path;
55
  $this->_menu_title = $title;
 
56
  $this->_activate_module_option_name = self::ACTIVATED_MODULES_OPTION_BASE_NAME.$this->$index;
57
  $this->_deactivated_plugin_option_name = self::DEACTIVATED_PLUGIN_OPTION_NAME.$this->$index;
58
  $this->_module_list_option_name = self::MODULE_LIST_OPTION_NAME.$this->$index;
10
  */
11
  class YITH_JetPack {
12
 
13
+ const PLUGIN_LIST_FILTER_MODULE_NAME = 'yith_jetpack_modules';
14
+
15
  const ACTIVATED_MODULES_OPTION_BASE_NAME = 'yith_jetpack_active_modules';
16
 
17
  const DEACTIVATED_PLUGIN_OPTION_NAME = 'yith_jetpack_deactivated_plugin';
29
 
30
  protected $_package_title = '';
31
 
32
+ public $_plugin_list_filter_module_name = null;
33
+
34
  protected $_activate_module_option_name = null;
35
 
36
  protected $_deactivated_plugin_option_name = null;
57
  $this->$index = $index;
58
  $this->_plugin_path = $path;
59
  $this->_menu_title = $title;
60
+ $this->_plugin_list_filter_module_name = self::PLUGIN_LIST_FILTER_MODULE_NAME.$this->$index;
61
  $this->_activate_module_option_name = self::ACTIVATED_MODULES_OPTION_BASE_NAME.$this->$index;
62
  $this->_deactivated_plugin_option_name = self::DEACTIVATED_PLUGIN_OPTION_NAME.$this->$index;
63
  $this->_module_list_option_name = self::MODULE_LIST_OPTION_NAME.$this->$index;