Version Description
Last Stable Tag 2.5.0
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Catalog Mode |
Version | 2.5.0 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.5.0
- assets/images/get-premium-catalog-mode.jpg +0 -0
- assets/images/premium-01.jpg +0 -0
- assets/images/premium-02.jpg +0 -0
- assets/images/premium-03.jpg +0 -0
- assets/images/premium-04.jpg +0 -0
- assets/images/premium-05.jpg +0 -0
- assets/images/premium-06.jpg +0 -0
- assets/images/premium-07.jpg +0 -0
- class-yith-woocommerce-catalog-mode.php +23 -28
- init.php +3 -3
- languages/yith-woocommerce-catalog-mode.pot +54 -140
- plugin-fw/assets/css/yit-plugin-panel.css +189 -0
- plugin-fw/assets/images/arrow.svg +11 -0
- plugin-fw/dist/gutenberg/index.asset.php +1 -1
- plugin-fw/dist/gutenberg/index.js +1 -1
- plugin-fw/includes/class-yit-plugin-panel-woocommerce.php +7 -3
- plugin-fw/includes/class-yit-plugin-panel.php +74 -8
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.po +62 -26
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +63 -27
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +63 -27
- plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +63 -27
- plugin-fw/languages/yith-plugin-fw.pot +62 -26
- plugin-fw/phpcs.xml +3 -0
- plugin-fw/templates/fields/list-table.php +2 -2
- plugin-fw/templates/panel/premium-tab.php +63 -0
- readme.txt +7 -2
- templates/admin/premium.php +0 -346
assets/images/get-premium-catalog-mode.jpg
ADDED
Binary file
|
assets/images/premium-01.jpg
DELETED
Binary file
|
assets/images/premium-02.jpg
DELETED
Binary file
|
assets/images/premium-03.jpg
DELETED
Binary file
|
assets/images/premium-04.jpg
DELETED
Binary file
|
assets/images/premium-05.jpg
DELETED
Binary file
|
assets/images/premium-06.jpg
DELETED
Binary file
|
assets/images/premium-07.jpg
DELETED
Binary file
|
class-yith-woocommerce-catalog-mode.php
CHANGED
@@ -30,13 +30,6 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
30 |
*/
|
31 |
protected $panel;
|
32 |
|
33 |
-
/**
|
34 |
-
* Premium tab template file name
|
35 |
-
*
|
36 |
-
* @var string
|
37 |
-
*/
|
38 |
-
protected $premium = 'premium.php';
|
39 |
-
|
40 |
/**
|
41 |
* Premium version landing link
|
42 |
*
|
@@ -98,9 +91,8 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
98 |
|
99 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts_admin' ) );
|
100 |
add_action( 'admin_menu', array( $this, 'add_menu_page' ), 5 );
|
101 |
-
add_action( 'yith_catalog_mode_premium', array( $this, 'premium_tab' ) );
|
102 |
|
103 |
-
if ( ! is_admin() || $this->is_quick_view() || (
|
104 |
|
105 |
add_action( 'init', array( $this, 'check_disable_shop' ), 11 );
|
106 |
add_action( 'woocommerce_before_shop_loop_item_title', array( $this, 'hide_add_to_cart_loop' ), 5 );
|
@@ -199,7 +191,6 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
199 |
} else {
|
200 |
$admin_tabs = array(
|
201 |
'settings' => esc_html__( 'Settings', 'yith-woocommerce-catalog-mode' ),
|
202 |
-
'premium' => esc_html__( 'Premium Version', 'yith-woocommerce-catalog-mode' ),
|
203 |
);
|
204 |
$help_tab = array();
|
205 |
}
|
@@ -208,7 +199,7 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
208 |
'create_menu_page' => true,
|
209 |
'plugin_slug' => YWCTM_SLUG,
|
210 |
'parent_slug' => '',
|
211 |
-
'page_title' => 'Catalog Mode',
|
212 |
'menu_title' => 'Catalog Mode',
|
213 |
'capability' => 'manage_options',
|
214 |
'parent' => '',
|
@@ -220,6 +211,26 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
220 |
'help_tab' => $help_tab,
|
221 |
);
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
$this->panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
224 |
|
225 |
}
|
@@ -761,7 +772,7 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
761 |
|
762 |
$actions = apply_filters( 'ywctm_quick_view_actions', array( 'yith_load_product_quick_view', 'yit_load_product_quick_view' ) );
|
763 |
|
764 |
-
return
|
765 |
}
|
766 |
|
767 |
/**
|
@@ -857,22 +868,6 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
|
|
857 |
}
|
858 |
}
|
859 |
|
860 |
-
/**
|
861 |
-
* Premium Tab Template
|
862 |
-
*
|
863 |
-
* Load the premium tab template on admin page
|
864 |
-
*
|
865 |
-
* @return void
|
866 |
-
* @since 1.0.0
|
867 |
-
* @author Alberto Ruggiero <alberto.ruggiero@yithemes.com>
|
868 |
-
*/
|
869 |
-
public function premium_tab() {
|
870 |
-
$premium_tab_template = YWCTM_TEMPLATE_PATH . '/admin/' . $this->premium;
|
871 |
-
if ( file_exists( $premium_tab_template ) ) {
|
872 |
-
include_once $premium_tab_template;
|
873 |
-
}
|
874 |
-
}
|
875 |
-
|
876 |
/**
|
877 |
* Get the premium landing uri
|
878 |
*
|
30 |
*/
|
31 |
protected $panel;
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
/**
|
34 |
* Premium version landing link
|
35 |
*
|
91 |
|
92 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts_admin' ) );
|
93 |
add_action( 'admin_menu', array( $this, 'add_menu_page' ), 5 );
|
|
|
94 |
|
95 |
+
if ( ! is_admin() || $this->is_quick_view() || wp_doing_ajax() ) {
|
96 |
|
97 |
add_action( 'init', array( $this, 'check_disable_shop' ), 11 );
|
98 |
add_action( 'woocommerce_before_shop_loop_item_title', array( $this, 'hide_add_to_cart_loop' ), 5 );
|
191 |
} else {
|
192 |
$admin_tabs = array(
|
193 |
'settings' => esc_html__( 'Settings', 'yith-woocommerce-catalog-mode' ),
|
|
|
194 |
);
|
195 |
$help_tab = array();
|
196 |
}
|
199 |
'create_menu_page' => true,
|
200 |
'plugin_slug' => YWCTM_SLUG,
|
201 |
'parent_slug' => '',
|
202 |
+
'page_title' => 'YITH WooCommerce Catalog Mode',
|
203 |
'menu_title' => 'Catalog Mode',
|
204 |
'capability' => 'manage_options',
|
205 |
'parent' => '',
|
211 |
'help_tab' => $help_tab,
|
212 |
);
|
213 |
|
214 |
+
if ( ! defined( 'YWCTM_PREMIUM' ) ) {
|
215 |
+
$args['premium_tab'] = array(
|
216 |
+
'premium_features' => array(
|
217 |
+
/* translators: %1$s opening B tag, %2$s closing B tag */
|
218 |
+
sprintf( esc_html__( 'Enable the catalog mode rules %1$s only for guest %2$s or for %1$s users from specific countries %2$s (Example: hide prices or add to cart buttons only to users from USA)', 'yith-woocommerce-catalog-mode' ), '<b>', '</b>' ),
|
219 |
+
/* translators: %1$s opening B tag, %2$s closing B tag */
|
220 |
+
sprintf( esc_html__( 'Enable the catalog mode on %1$s specific time ranges and/or dates only %2$s (Example: prevent new orders on Sunday or in December during Christmas holidays)', 'yith-woocommerce-catalog-mode' ), '<b>', '</b>' ),
|
221 |
+
/* translators: %1$s opening B tag, %2$s closing B tag */
|
222 |
+
sprintf( esc_html__( 'Use the %1$s Exclusion List %2$s to enable or disable the catalog mode %1$s only on specific products, categories or tag of your shop %2$s', 'yith-woocommerce-catalog-mode' ), '<b>', '</b>' ),
|
223 |
+
esc_html__( 'Hide the Add to Cart button only on specific products and the product prices to all users or to guest users only', 'yith-woocommerce-catalog-mode' ),
|
224 |
+
/* translators: %1$s opening B tag, %2$s closing B tag */
|
225 |
+
sprintf( esc_html__( 'Use the Advanced Builder to %1$s create and design custom buttons or labels %2$s to replace add to cart and price in shop page and product page', 'yith-woocommerce-catalog-mode' ), '<b>', '</b>' ),
|
226 |
+
/* translators: %1$s opening B tag, %2$s closing B tag */
|
227 |
+
sprintf( esc_html__( '%1$s Add a custom inquiry form on the product page %2$s using the default form or choosing a plugin between Contact Form 7, Gravity Form, Ninja Forms, Formidable Forms or WP Forms', 'yith-woocommerce-catalog-mode' ), '<b>', '</b>' ),
|
228 |
+
'<b>' . esc_html__( 'Regular updates, Translations and Premium Support', 'yith-woocommerce-catalog-mode' ) . '</b>',
|
229 |
+
),
|
230 |
+
'main_image_url' => YWCTM_ASSETS_URL . 'images/get-premium-catalog-mode.jpg',
|
231 |
+
);
|
232 |
+
}
|
233 |
+
|
234 |
$this->panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
235 |
|
236 |
}
|
772 |
|
773 |
$actions = apply_filters( 'ywctm_quick_view_actions', array( 'yith_load_product_quick_view', 'yit_load_product_quick_view' ) );
|
774 |
|
775 |
+
return wp_doing_ajax() && isset( $_REQUEST['action'] ) && in_array( sanitize_text_field( wp_unslash( $_REQUEST['action'] ) ), $actions, true ); //phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
776 |
}
|
777 |
|
778 |
/**
|
868 |
}
|
869 |
}
|
870 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
871 |
/**
|
872 |
* Get the premium landing uri
|
873 |
*
|
init.php
CHANGED
@@ -5,10 +5,10 @@
|
|
5 |
* Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
|
6 |
* Author: YITH
|
7 |
* Text Domain: yith-woocommerce-catalog-mode
|
8 |
-
* Version: 2.
|
9 |
* Author URI: https://yithemes.com/
|
10 |
* WC requires at least: 5.8.0
|
11 |
-
* WC tested up to: 6.
|
12 |
*
|
13 |
* @package YITH WooCommerce Catalog Mode
|
14 |
*/
|
@@ -61,7 +61,7 @@ function ywctm_install_free_admin_notice() {
|
|
61 |
<?php
|
62 |
}
|
63 |
|
64 |
-
! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.
|
65 |
! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
|
66 |
! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
|
67 |
! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
|
5 |
* Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
|
6 |
* Author: YITH
|
7 |
* Text Domain: yith-woocommerce-catalog-mode
|
8 |
+
* Version: 2.5.0
|
9 |
* Author URI: https://yithemes.com/
|
10 |
* WC requires at least: 5.8.0
|
11 |
+
* WC tested up to: 6.1.x
|
12 |
*
|
13 |
* @package YITH WooCommerce Catalog Mode
|
14 |
*/
|
61 |
<?php
|
62 |
}
|
63 |
|
64 |
+
! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.5.0' );
|
65 |
! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
|
66 |
! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
|
67 |
! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
|
languages/yith-woocommerce-catalog-mode.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: YITH WooCommerce Catalog Mode 2.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
|
8 |
-
"POT-Creation-Date: 2021-12-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -14,13 +14,57 @@ msgstr ""
|
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
16 |
|
17 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
18 |
#: plugin-options/settings-options.php:15
|
19 |
msgid "Settings"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgstr ""
|
25 |
|
26 |
#: init.php:37
|
@@ -81,136 +125,6 @@ msgstr ""
|
|
81 |
msgid "Use this option to hide product variations where \"Add to cart\" is hidden."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: templates/admin/premium.php:210 templates/admin/premium.php:337
|
85 |
-
#. translators: %1$s opening span, %2$s closing span, %3$s BR tag
|
86 |
-
msgid ""
|
87 |
-
"Upgrade to %1$spremium version%2$s%3$s of %1$sYITH WooCommerce Catalog "
|
88 |
-
"Mode%2$s to benefit from all features!"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: templates/admin/premium.php:214 templates/admin/premium.php:341
|
92 |
-
msgid "Upgrade"
|
93 |
-
msgstr ""
|
94 |
-
|
95 |
-
#: templates/admin/premium.php:220
|
96 |
-
msgid "Premium Features"
|
97 |
-
msgstr ""
|
98 |
-
|
99 |
-
#: templates/admin/premium.php:227
|
100 |
-
msgid ""
|
101 |
-
"Build up a catalogue of products and online services and encourage your "
|
102 |
-
"customers to contact you to get a dedicated price estimate or additional "
|
103 |
-
"information."
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: templates/admin/premium.php:230
|
107 |
-
msgid ""
|
108 |
-
"Are you starting an e-commerce website, but still it is not ready for "
|
109 |
-
"automatic sales? Your store might be temporarily closed due to holidays or "
|
110 |
-
"prepare for a sales period and you need to temporarily suspend sales. YITH "
|
111 |
-
"WooCommerce Catalog Mode is a plugin designed for those who need to turn "
|
112 |
-
"their shop into an online catalog."
|
113 |
-
msgstr ""
|
114 |
-
|
115 |
-
#: templates/admin/premium.php:233
|
116 |
-
msgid ""
|
117 |
-
"Are you interested in displaying a catalogue with products without making "
|
118 |
-
"them immediately available for sale? Or do you want to filter buyers and "
|
119 |
-
"let only registered users see all the details? Are you taking inventory but "
|
120 |
-
"would like to leave products online?"
|
121 |
-
msgstr ""
|
122 |
-
|
123 |
-
#: templates/admin/premium.php:236
|
124 |
-
msgid ""
|
125 |
-
"YITH WooCommerce Catalog Mode allows you to turn your online shop into a "
|
126 |
-
"catalogue, by removing Add to Cart buttons and any access to checkout "
|
127 |
-
"pages, by hiding product prices and replacing it with customizable buttons, "
|
128 |
-
"text labels and inquiry forms."
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: templates/admin/premium.php:245
|
132 |
-
msgid ""
|
133 |
-
"Enable ‘Massive catalog mode’ with one click and disable the Cart, the "
|
134 |
-
"Checkout and all add to cart buttons of your shop in a few quick moves."
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: templates/admin/premium.php:248
|
138 |
-
msgid ""
|
139 |
-
"If you have a catalogue with many products and you want to quickly hide the "
|
140 |
-
"Cart button and the Cart page, you will be able to do that with one click. "
|
141 |
-
"Whenever you’re ready to sell, just one more click and your catalogue can "
|
142 |
-
"be immediately converted into an e-commerce shop in full swing."
|
143 |
-
msgstr ""
|
144 |
-
|
145 |
-
#: templates/admin/premium.php:263
|
146 |
-
msgid ""
|
147 |
-
"Hide prices and Cart buttons from all products or only from selected "
|
148 |
-
"products, tags or categories."
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: templates/admin/premium.php:266
|
152 |
-
msgid ""
|
153 |
-
"Do you want to make only some products purchasable and set up the catalog "
|
154 |
-
"mode for others that cannot be purchased straight away? You’ll be able to "
|
155 |
-
"create an unlimited number of rules and apply them to products of your "
|
156 |
-
"choice."
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: templates/admin/premium.php:275
|
160 |
-
msgid ""
|
161 |
-
"Enable the catalog mode for unregistered users or only for users from "
|
162 |
-
"specific countries."
|
163 |
-
msgstr ""
|
164 |
-
|
165 |
-
#: templates/admin/premium.php:278
|
166 |
-
msgid ""
|
167 |
-
"Do you want to show your product prices only to users who have registered "
|
168 |
-
"an account? Or maybe restrict purchases only to users from a specific "
|
169 |
-
"geographical area? These are just some of the many scenarios that YITH "
|
170 |
-
"Catalog Mode can help you deal with."
|
171 |
-
msgstr ""
|
172 |
-
|
173 |
-
#: templates/admin/premium.php:293
|
174 |
-
msgid ""
|
175 |
-
"Create custom calls to action and labels to replace the price and Cart "
|
176 |
-
"buttons."
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: templates/admin/premium.php:296
|
180 |
-
msgid ""
|
181 |
-
"If your products cannot be purchased straight away, you probably need to "
|
182 |
-
"push users to contact you and ask for a dedicated price estimate or simply "
|
183 |
-
"for more details. Or you might want them to register an account in your "
|
184 |
-
"shop or log in. With our button & label builder, you can create countless "
|
185 |
-
"persuasive texts and calls to action for your products."
|
186 |
-
msgstr ""
|
187 |
-
|
188 |
-
#: templates/admin/premium.php:305
|
189 |
-
msgid ""
|
190 |
-
"Enable an inquiry form on your product pages to help your customers contact "
|
191 |
-
"you easily."
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
#: templates/admin/premium.php:308
|
195 |
-
msgid ""
|
196 |
-
"Choose whether you want to enable a contact form on your product pages to "
|
197 |
-
"make it easier for your users to get in touch with you. The enquiry form is "
|
198 |
-
"compatible with several email management plugins: Contact Form 7, "
|
199 |
-
"Formidable Forms, Gravity Forms and Ninja Forms. In the email message that "
|
200 |
-
"you receive, you can also see a reference to the page from where the "
|
201 |
-
"request has been submitted."
|
202 |
-
msgstr ""
|
203 |
-
|
204 |
-
#: templates/admin/premium.php:323
|
205 |
-
msgid "Integrate the catalog mode with YITH WooCommerce Multi-vendor"
|
206 |
-
msgstr ""
|
207 |
-
|
208 |
-
#: templates/admin/premium.php:326
|
209 |
-
msgid ""
|
210 |
-
"If you use YITH Multi Vendor, you can let every vendor set up and control "
|
211 |
-
"the catalog mode for their own shop."
|
212 |
-
msgstr ""
|
213 |
-
|
214 |
#. Description of the plugin/theme
|
215 |
msgid ""
|
216 |
"<code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding "
|
@@ -221,27 +135,27 @@ msgid ""
|
|
221 |
"e-commerce shop on <strong>YITH</strong></a>"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
225 |
msgctxt "general settings tab name"
|
226 |
msgid "Settings"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
230 |
msgctxt "exclusion settings tab name"
|
231 |
msgid "Exclusion List"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
235 |
msgctxt "inquiry form settings tab name"
|
236 |
msgid "Inquiry Form"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
240 |
msgctxt "buttons & labels settings tab name"
|
241 |
msgid "Buttons & Labels"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: class-yith-woocommerce-catalog-mode.php:
|
245 |
#. translators: %1$s opening B tag - %2$s closing B tag
|
246 |
msgctxt "[HELP TAB] Video title"
|
247 |
msgid ""
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: YITH WooCommerce Catalog Mode 2.5.0\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
|
8 |
+
"POT-Creation-Date: 2021-12-30 16:11:28+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
16 |
|
17 |
+
#: class-yith-woocommerce-catalog-mode.php:193
|
18 |
#: plugin-options/settings-options.php:15
|
19 |
msgid "Settings"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: class-yith-woocommerce-catalog-mode.php:218
|
23 |
+
#. translators: %1$s opening B tag, %2$s closing B tag
|
24 |
+
msgid ""
|
25 |
+
"Enable the catalog mode rules %1$s only for guest %2$s or for %1$s users "
|
26 |
+
"from specific countries %2$s (Example: hide prices or add to cart buttons "
|
27 |
+
"only to users from USA)"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: class-yith-woocommerce-catalog-mode.php:220
|
31 |
+
#. translators: %1$s opening B tag, %2$s closing B tag
|
32 |
+
msgid ""
|
33 |
+
"Enable the catalog mode on %1$s specific time ranges and/or dates only %2$s "
|
34 |
+
"(Example: prevent new orders on Sunday or in December during Christmas "
|
35 |
+
"holidays)"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: class-yith-woocommerce-catalog-mode.php:222
|
39 |
+
#. translators: %1$s opening B tag, %2$s closing B tag
|
40 |
+
msgid ""
|
41 |
+
"Use the %1$s Exclusion List %2$s to enable or disable the catalog mode %1$s "
|
42 |
+
"only on specific products, categories or tag of your shop %2$s"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: class-yith-woocommerce-catalog-mode.php:223
|
46 |
+
msgid ""
|
47 |
+
"Hide the Add to Cart button only on specific products and the product "
|
48 |
+
"prices to all users or to guest users only"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: class-yith-woocommerce-catalog-mode.php:225
|
52 |
+
#. translators: %1$s opening B tag, %2$s closing B tag
|
53 |
+
msgid ""
|
54 |
+
"Use the Advanced Builder to %1$s create and design custom buttons or labels "
|
55 |
+
"%2$s to replace add to cart and price in shop page and product page"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: class-yith-woocommerce-catalog-mode.php:227
|
59 |
+
#. translators: %1$s opening B tag, %2$s closing B tag
|
60 |
+
msgid ""
|
61 |
+
"%1$s Add a custom inquiry form on the product page %2$s using the default "
|
62 |
+
"form or choosing a plugin between Contact Form 7, Gravity Form, Ninja "
|
63 |
+
"Forms, Formidable Forms or WP Forms"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: class-yith-woocommerce-catalog-mode.php:228
|
67 |
+
msgid "Regular updates, Translations and Premium Support"
|
68 |
msgstr ""
|
69 |
|
70 |
#: init.php:37
|
125 |
msgid "Use this option to hide product variations where \"Add to cart\" is hidden."
|
126 |
msgstr ""
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
#. Description of the plugin/theme
|
129 |
msgid ""
|
130 |
"<code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding "
|
135 |
"e-commerce shop on <strong>YITH</strong></a>"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: class-yith-woocommerce-catalog-mode.php:169
|
139 |
msgctxt "general settings tab name"
|
140 |
msgid "Settings"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: class-yith-woocommerce-catalog-mode.php:170
|
144 |
msgctxt "exclusion settings tab name"
|
145 |
msgid "Exclusion List"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: class-yith-woocommerce-catalog-mode.php:171
|
149 |
msgctxt "inquiry form settings tab name"
|
150 |
msgid "Inquiry Form"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: class-yith-woocommerce-catalog-mode.php:172
|
154 |
msgctxt "buttons & labels settings tab name"
|
155 |
msgid "Buttons & Labels"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: class-yith-woocommerce-catalog-mode.php:177
|
159 |
#. translators: %1$s opening B tag - %2$s closing B tag
|
160 |
msgctxt "[HELP TAB] Video title"
|
161 |
msgid ""
|
plugin-fw/assets/css/yit-plugin-panel.css
CHANGED
@@ -315,6 +315,152 @@
|
|
315 |
text-align : center;
|
316 |
}
|
317 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
/**
|
319 |
Post type Edit
|
320 |
*/
|
@@ -1046,12 +1192,55 @@ button#yith-plugin-fw-float-save-button.green {
|
|
1046 |
|
1047 |
/* === Responsive === */
|
1048 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1049 |
@media (max-width : 767px) {
|
1050 |
|
1051 |
}
|
1052 |
|
1053 |
@media (max-width : 480px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1054 |
|
|
|
|
|
|
|
1055 |
}
|
1056 |
|
1057 |
@media (max-width : 992px) {
|
315 |
text-align : center;
|
316 |
}
|
317 |
|
318 |
+
/**
|
319 |
+
Premium Tab
|
320 |
+
*/
|
321 |
+
|
322 |
+
#yith_plugin_fw_panel_premium_tab {
|
323 |
+
background-color : white;
|
324 |
+
padding : 40px;
|
325 |
+
margin-right : 15px;
|
326 |
+
border : 1px solid #d8d8d8;
|
327 |
+
border-top : none;
|
328 |
+
}
|
329 |
+
|
330 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab {
|
331 |
+
background-color : #f9f9f9;
|
332 |
+
padding : 40px;
|
333 |
+
border : 1px solid #dbdbdb;
|
334 |
+
border-radius : 5px;
|
335 |
+
max-width : 1400px;
|
336 |
+
margin : auto;
|
337 |
+
}
|
338 |
+
|
339 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header {
|
340 |
+
display : flex;
|
341 |
+
align-items : center;
|
342 |
+
gap : 35px 20px;
|
343 |
+
}
|
344 |
+
|
345 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header-title {
|
346 |
+
color : #C28D31;
|
347 |
+
text-transform : uppercase;
|
348 |
+
font-weight : 600;
|
349 |
+
font-size : 18px;
|
350 |
+
width : 100%;
|
351 |
+
}
|
352 |
+
|
353 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header-cta:before {
|
354 |
+
content : '\f11b';
|
355 |
+
font-family : 'yith-icon';
|
356 |
+
font-size : 18px;
|
357 |
+
line-height : 1em;
|
358 |
+
font-weight : 400;
|
359 |
+
}
|
360 |
+
|
361 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header-cta:hover:before {
|
362 |
+
transform-origin : center center;
|
363 |
+
animation : .3s yith-plugin-fw-jiggle linear;
|
364 |
+
animation-iteration-count : 3;
|
365 |
+
}
|
366 |
+
|
367 |
+
@keyframes yith-plugin-fw-jiggle {
|
368 |
+
25% {
|
369 |
+
transform : rotate(-20deg);
|
370 |
+
}
|
371 |
+
75% {
|
372 |
+
transform : rotate(20deg);
|
373 |
+
}
|
374 |
+
}
|
375 |
+
|
376 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header-cta {
|
377 |
+
color : white;
|
378 |
+
background-color : #e58f00;
|
379 |
+
display : flex;
|
380 |
+
align-items : center;
|
381 |
+
justify-content : space-between;
|
382 |
+
padding : 12px 24px;
|
383 |
+
column-gap : 12px;
|
384 |
+
font-size : 14px;
|
385 |
+
font-weight : 600;
|
386 |
+
}
|
387 |
+
|
388 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header-cta-arrow {
|
389 |
+
background : url("../images/arrow.svg") no-repeat center;
|
390 |
+
background-size : contain;
|
391 |
+
width : 100px;
|
392 |
+
height : 30px;
|
393 |
+
}
|
394 |
+
|
395 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__content {
|
396 |
+
display : flex;
|
397 |
+
column-gap : 20px;
|
398 |
+
padding-top : 30px;
|
399 |
+
}
|
400 |
+
|
401 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__main-image {
|
402 |
+
max-width : 50%;
|
403 |
+
object-fit : contain;
|
404 |
+
object-position : top;
|
405 |
+
flex : 1;
|
406 |
+
}
|
407 |
+
|
408 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__features {
|
409 |
+
display : flex;
|
410 |
+
flex-direction : column;
|
411 |
+
row-gap : 45px;
|
412 |
+
font-size : 18px;
|
413 |
+
line-height : 24px;
|
414 |
+
padding-top : 30px;
|
415 |
+
flex : 1;
|
416 |
+
max-width : 100%;
|
417 |
+
}
|
418 |
+
|
419 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__feature {
|
420 |
+
display : flex;
|
421 |
+
align-items : center;
|
422 |
+
column-gap : 25px;
|
423 |
+
}
|
424 |
+
|
425 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__feature:before {
|
426 |
+
content : '';
|
427 |
+
display : block;
|
428 |
+
width : 12px;
|
429 |
+
height : 20px;
|
430 |
+
border : 8px solid #96ca20;
|
431 |
+
border-left : 0;
|
432 |
+
border-top : 0;
|
433 |
+
transform : rotate(45deg) translate(30%, -15%);
|
434 |
+
margin-right : 10px;
|
435 |
+
margin-bottom : 6px;
|
436 |
+
}
|
437 |
+
|
438 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__feature-content {
|
439 |
+
width : calc(100% - 55px);
|
440 |
+
}
|
441 |
+
|
442 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__cta-button {
|
443 |
+
background-color : #e58f00;
|
444 |
+
color : white;
|
445 |
+
text-transform : uppercase;
|
446 |
+
text-decoration : none;
|
447 |
+
border-radius : 5px;
|
448 |
+
white-space : nowrap;
|
449 |
+
transition : .3s;
|
450 |
+
}
|
451 |
+
|
452 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__cta-button:hover {
|
453 |
+
background-color : #c67c00;
|
454 |
+
}
|
455 |
+
|
456 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__content-cta {
|
457 |
+
padding : 20px;
|
458 |
+
font-size : 20px;
|
459 |
+
font-weight : 600;
|
460 |
+
text-align : center;
|
461 |
+
line-height : normal;
|
462 |
+
}
|
463 |
+
|
464 |
/**
|
465 |
Post type Edit
|
466 |
*/
|
1192 |
|
1193 |
/* === Responsive === */
|
1194 |
|
1195 |
+
@media (max-width : 1210px) {
|
1196 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__main-image,
|
1197 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header-cta-arrow {
|
1198 |
+
display : none;
|
1199 |
+
}
|
1200 |
+
|
1201 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__header {
|
1202 |
+
flex-wrap : wrap;
|
1203 |
+
}
|
1204 |
+
|
1205 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__features {
|
1206 |
+
padding-top : 15px;
|
1207 |
+
}
|
1208 |
+
}
|
1209 |
+
|
1210 |
+
@media (max-width : 600px) {
|
1211 |
+
#yith_plugin_fw_panel_premium_tab {
|
1212 |
+
padding : 20px;
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab {
|
1216 |
+
padding : 30px;
|
1217 |
+
}
|
1218 |
+
}
|
1219 |
+
|
1220 |
@media (max-width : 767px) {
|
1221 |
|
1222 |
}
|
1223 |
|
1224 |
@media (max-width : 480px) {
|
1225 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__feature:before {
|
1226 |
+
width : 8px;
|
1227 |
+
height : 15px;
|
1228 |
+
border-width : 5px;
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__feature {
|
1232 |
+
flex-direction : column;
|
1233 |
+
align-items : flex-start;
|
1234 |
+
row-gap : 13px;
|
1235 |
+
}
|
1236 |
+
|
1237 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__feature-content {
|
1238 |
+
width : 100%;
|
1239 |
+
}
|
1240 |
|
1241 |
+
#yith_plugin_fw_panel_premium_tab .yith-plugin-fw-panel-premium-tab__cta-button {
|
1242 |
+
white-space : unset;
|
1243 |
+
}
|
1244 |
}
|
1245 |
|
1246 |
@media (max-width : 992px) {
|
plugin-fw/assets/images/arrow.svg
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<svg width="86px" height="26px" viewBox="0 0 86 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3 |
+
<title>arrow2</title>
|
4 |
+
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
5 |
+
<g id="Create-badge---image-Copy" transform="translate(-795.000000, -218.000000)" fill="#336374">
|
6 |
+
<g id="arrow2" transform="translate(795.000000, 218.000000)">
|
7 |
+
<path d="M85.2527743,11.0287846 C85.0291804,10.8409658 84.5580864,10.4653284 83.9069923,9.99202513 C81.7582412,8.39556583 77.6702704,5.45995889 74.5990189,3.18547392 C73.0029243,2.00033766 71.6866736,1.0236802 71.0833921,0.482762228 C71.0032358,0.409512919 70.9019857,0.351289109 70.8513607,0.294943486 L70.8513607,0.306212611 L70.8513607,0.293065299 L70.8330794,0.272405237 C70.8246419,0.261136113 70.8204232,0.25550155 70.8218294,0.238597864 L70.8218294,0.238597864 C70.7216008,0.0191459435 70.5127354,-0.0622623017 70.3398646,0.0507452248 C70.1669939,0.163752751 70.086996,0.433994045 70.1552666,0.674337345 C70.2269854,0.978603707 71.7626112,2.67272876 73.859331,4.71995305 C75.783082,6.59814047 78.1540207,8.82567074 80.1143342,10.6512689 C75.6298006,10.6756854 69.8008914,10.6249743 63.3321381,10.6137052 C59.113386,10.6043142 54.6358837,10.5986797 50.0768189,10.641878 C47.4386925,10.6681726 44.7752537,10.7282746 42.1244711,10.7902548 C38.0730628,10.8860423 34.052592,11.0043682 30.1966525,11.1208158 C14.2807069,11.6072663 1.19835652,12.0279803 0.512106166,11.684272 C0.389268144,11.6171708 0.248958141,11.642693 0.144029579,11.7512246 C0.0391010166,11.8597562 -0.0145049592,12.0348087 0.00340450444,12.2104414 C0.0213139681,12.3860742 0.108017998,12.5356045 0.230856023,12.6027056 C0.848200087,12.9558049 11.476643,13.5925104 25.2283687,14.0338845 C30.4314964,14.2010431 36.088843,14.3512981 41.8108772,14.4226693 C44.5727536,14.4583548 47.351505,14.4715021 50.1077564,14.4508421 C52.9202578,14.4320602 55.6933842,14.3738364 58.3976044,14.3043434 C62.8062004,14.1916522 67.016515,14.0338845 70.8344857,13.8648476 C74.942144,13.6770288 78.5885521,13.46855 81.5388661,13.2694622 C81.0438659,13.678907 80.4940219,14.1334284 79.9104278,14.6255135 C79.0905836,15.3148083 78.2074582,16.0717178 77.3130827,16.8511656 C74.0660498,19.6853504 70.6558918,22.7392831 69.5674538,23.650204 C69.1305592,24.0067591 68.9841166,24.7618416 69.2364633,25.3568463 C69.4888101,25.951851 70.0490011,26.1723396 70.5026105,25.8551961 C71.5544861,25.1414849 74.7058939,22.9815693 77.824958,20.6357132 C79.5391776,19.3472767 81.2393347,18.0062509 82.5865229,16.8793384 C83.5022712,16.1209452 84.3879897,15.299703 85.240118,14.4189129 C85.8926184,13.708958 85.9952747,12.9708304 86,12.7754989 C85.9966809,12.7022496 86.0669934,11.6899066 85.2527743,11.0287846 Z" id="Path"></path>
|
8 |
+
</g>
|
9 |
+
</g>
|
10 |
+
</g>
|
11 |
+
</svg>
|
plugin-fw/dist/gutenberg/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => '0d1e043f27fa4c9d1318a4501208941a');
|
plugin-fw/dist/gutenberg/index.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var e,t={783:function(e,t,o){"use strict";var r=window.wp.element,n=window.React,a=o(568),l=o.n(a),s=window.wp.blocks,c=window.wp.url;function i(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const h=(0,r.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var d=window.lodash,p=o.n(d);const f=(e,t,o)=>{let r=!0;if(t&&t.id&&"value"in t){let n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=p().isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=(e,t)=>{const{controlType:o}=e;let r=!0;if(e.deps)if(p().isArray(e.deps))for(let n in e.deps){const a=e.deps[n];if(r=f(t,a,o),!r)break}else r=f(t,e.deps,o);return r},b=(e,t)=>{let o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{const r=e.attributes?Object.entries(e.attributes).map((([e,o])=>{const r=g(o,t),n=t[e];if(r&&void 0!==n)return e+"="+(o.remove_quotes?n:`"${n}"`)})):[],n=r.length?" "+r.join(" "):"";o=`[${e.shortcode_name}${n}]`}return o};var m=window.wp.components,y=window.wp.blockEditor,_=window.wp.hooks;class v extends n.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,o){const{shortcode:r,shortcodeHash:n,ajaxSuccess:a,ajaxResponse:l,ajaxUpdated:s}=this.state;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(a&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",r,n,l),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",r,n,l),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const o=b(t,e),r=l()(o);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,r),this.ajaxTimeout=setTimeout((()=>{((e,t=yithGutenberg.ajaxurl)=>(t=(0,c.addQueryArgs)(t,e),fetch(t).then(i).then(u)))({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:o,shortcodeHash:r,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:r})}render(){const{html:e,loading:t,firstLoading:o,shortcode:n,shortcodeHash:a}=this.state,{blockArgs:l}=this.props,{do_shortcode:s,title:c,empty_message:i}=l,u="block-editor-yith-plugin-fw-shortcode-block";let d=[u],p=s?"html":"shortcode",f=e,g="";o&&t?p="first-loading":s&&!e&&(p="empty-html",f=n,!t&&i&&(g=i));const b=["first-loading","empty-html","shortcode"].includes(p),y=!["first-loading","empty-html"].includes(p),_=!!g;return d.push(`${u}--${p}`),d.push(_?`${u}--has-message`:`${u}--no-message`),d.push(`yith_block_${a}`),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:d.join(" ")},t?(0,r.createElement)("div",{className:`${u}__spinner-wrap`},(0,r.createElement)(m.Spinner,null)):"",b&&(0,r.createElement)("div",{className:`${u}__title components-placeholder__label`},h,c),_&&(0,r.createElement)(r.RawHTML,{className:`${u}__message`},g),y&&(0,r.createElement)(r.RawHTML,{className:`${u}__content`},f)))}}var C=window.wp.compose;function w({className:e,label:t,onChange:o,value:n,help:a,disableAlpha:l}){const s=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(w)}`;return(0,r.createElement)(m.BaseControl,{id:s,label:t,className:`block-editor-yith-color-control ${e}`,help:a},(0,r.createElement)(m.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:o}))}function k({label:e,colorValue:t}){return(0,r.createElement)(r.Fragment,null,e,!!t&&(0,r.createElement)(m.ColorIndicator,{colorValue:t}))}function x({className:e,label:t,onChange:o,value:n,help:a,palette:l,clearable:s}){l=l||(0,y.useSetting)("color.palette");const c=`inspector-yith-color-palette-control-${(0,C.useInstanceId)(x)}`;return(0,r.createElement)(m.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${e}`,help:a},(0,r.createElement)("fieldset",null,(0,r.createElement)("legend",null,(0,r.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,r.createElement)(m.BaseControl.VisualLabel,null,(0,r.createElement)(k,{colorValue:n,label:t})))),(0,r.createElement)(m.ColorPalette,{value:n,onChange:o,colors:l,clearable:s})))}const j=(e,t)=>function({attributes:o,className:n,setAttributes:a}){const l=(e,t,o)=>{["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());let r={};r[t]=e,a(r)};return(0,r.createElement)(r.Fragment,null,!!t.attributes&&(0,r.createElement)(y.InspectorControls,null,(0,r.createElement)(m.PanelBody,null,Object.entries(t.attributes).map((([t,n])=>{const a=((t,n)=>{const{controlType:a}=n,s=o[t],c=((e,t)=>{let o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o})(n,s);let i=`${e}__${t}-field-wrapper`;const u=g(n,o);n.wrapper_class&&(i+=" "+n.wrapper_class);let h=!1;if(u)switch(a){case"select":h=(0,r.createElement)(m.SelectControl,{className:i,key:t,value:s,label:n.label,options:n.options,help:c,multiple:!!n.multiple,onChange:e=>{l(e,t,a)}});break;case"text":h=(0,r.createElement)(m.TextControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"textarea":h=(0,r.createElement)(m.TextareaControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"toggle":h=(0,r.createElement)(m.ToggleControl,{className:i,key:t,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"checkbox":h=(0,r.createElement)(m.CheckboxControl,{className:i,key:t,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"number":case"range":h=(0,r.createElement)(m.RangeControl,{className:i,key:t,value:s,label:n.label,help:c,min:n.min,max:n.max,onChange:e=>{l(e,t,a)}});break;case"color":case"colorpicker":h=(0,r.createElement)(w,{className:i,key:t,label:n.label,help:c,value:s,disableAlpha:n.disableAlpha,onChange:e=>{l(e,t,a)}});break;case"color-palette":h=(0,r.createElement)(x,{className:i,key:t,label:n.label,help:c,value:s,clearable:n.clearable||!1,onChange:e=>{l(e,t,a)}});break;case"radio":h=(0,r.createElement)(m.RadioControl,{key:t,label:n.label,options:n.options,selected:s,help:c,onChange:e=>{l(e,t,a)}});break;default:h=!1}return h})(t,n);if(a)return a})))),(0,r.createElement)(v,{attributes:o,blockArgs:t}))},E=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of E)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",((...t)=>{"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(t))}),e.delay):jQuery(document).trigger(e.key,Object.values(t)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:h,keywords:t.keywords,edit:j(e,t),save:({attributes:e})=>b(t,e),deprecated:[{attributes:t.attributes,save:({attributes:e})=>{const o=b(t,e),n='<span class="yith_block_'+l()(o)+'">'+o+"</span>";return(0,r.createElement)(r.RawHTML,null,n)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t},12:function(e){var t,o;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&o.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return o}},e.exports=o},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,o){var r,n,a,l,s;r=o(12),n=o(487).utf8,a=o(738),l=o(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?l.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),c=8*e.length,i=1732584193,u=-271733879,h=-1732584194,d=271733878,p=0;p<o.length;p++)o[p]=16711935&(o[p]<<8|o[p]>>>24)|4278255360&(o[p]<<24|o[p]>>>8);o[c>>>5]|=128<<c%32,o[14+(c+64>>>9<<4)]=c;var f=s._ff,g=s._gg,b=s._hh,m=s._ii;for(p=0;p<o.length;p+=16){var y=i,_=u,v=h,C=d;i=f(i,u,h,d,o[p+0],7,-680876936),d=f(d,i,u,h,o[p+1],12,-389564586),h=f(h,d,i,u,o[p+2],17,606105819),u=f(u,h,d,i,o[p+3],22,-1044525330),i=f(i,u,h,d,o[p+4],7,-176418897),d=f(d,i,u,h,o[p+5],12,1200080426),h=f(h,d,i,u,o[p+6],17,-1473231341),u=f(u,h,d,i,o[p+7],22,-45705983),i=f(i,u,h,d,o[p+8],7,1770035416),d=f(d,i,u,h,o[p+9],12,-1958414417),h=f(h,d,i,u,o[p+10],17,-42063),u=f(u,h,d,i,o[p+11],22,-1990404162),i=f(i,u,h,d,o[p+12],7,1804603682),d=f(d,i,u,h,o[p+13],12,-40341101),h=f(h,d,i,u,o[p+14],17,-1502002290),i=g(i,u=f(u,h,d,i,o[p+15],22,1236535329),h,d,o[p+1],5,-165796510),d=g(d,i,u,h,o[p+6],9,-1069501632),h=g(h,d,i,u,o[p+11],14,643717713),u=g(u,h,d,i,o[p+0],20,-373897302),i=g(i,u,h,d,o[p+5],5,-701558691),d=g(d,i,u,h,o[p+10],9,38016083),h=g(h,d,i,u,o[p+15],14,-660478335),u=g(u,h,d,i,o[p+4],20,-405537848),i=g(i,u,h,d,o[p+9],5,568446438),d=g(d,i,u,h,o[p+14],9,-1019803690),h=g(h,d,i,u,o[p+3],14,-187363961),u=g(u,h,d,i,o[p+8],20,1163531501),i=g(i,u,h,d,o[p+13],5,-1444681467),d=g(d,i,u,h,o[p+2],9,-51403784),h=g(h,d,i,u,o[p+7],14,1735328473),i=b(i,u=g(u,h,d,i,o[p+12],20,-1926607734),h,d,o[p+5],4,-378558),d=b(d,i,u,h,o[p+8],11,-2022574463),h=b(h,d,i,u,o[p+11],16,1839030562),u=b(u,h,d,i,o[p+14],23,-35309556),i=b(i,u,h,d,o[p+1],4,-1530992060),d=b(d,i,u,h,o[p+4],11,1272893353),h=b(h,d,i,u,o[p+7],16,-155497632),u=b(u,h,d,i,o[p+10],23,-1094730640),i=b(i,u,h,d,o[p+13],4,681279174),d=b(d,i,u,h,o[p+0],11,-358537222),h=b(h,d,i,u,o[p+3],16,-722521979),u=b(u,h,d,i,o[p+6],23,76029189),i=b(i,u,h,d,o[p+9],4,-640364487),d=b(d,i,u,h,o[p+12],11,-421815835),h=b(h,d,i,u,o[p+15],16,530742520),i=m(i,u=b(u,h,d,i,o[p+2],23,-995338651),h,d,o[p+0],6,-198630844),d=m(d,i,u,h,o[p+7],10,1126891415),h=m(h,d,i,u,o[p+14],15,-1416354905),u=m(u,h,d,i,o[p+5],21,-57434055),i=m(i,u,h,d,o[p+12],6,1700485571),d=m(d,i,u,h,o[p+3],10,-1894986606),h=m(h,d,i,u,o[p+10],15,-1051523),u=m(u,h,d,i,o[p+1],21,-2054922799),i=m(i,u,h,d,o[p+8],6,1873313359),d=m(d,i,u,h,o[p+15],10,-30611744),h=m(h,d,i,u,o[p+6],15,-1560198380),u=m(u,h,d,i,o[p+13],21,1309151649),i=m(i,u,h,d,o[p+4],6,-145523070),d=m(d,i,u,h,o[p+11],10,-1120210379),h=m(h,d,i,u,o[p+2],15,718787259),u=m(u,h,d,i,o[p+9],21,-343485551),i=i+y>>>0,u=u+_>>>0,h=h+v>>>0,d=d+C>>>0}return r.endian([i,u,h,d])})._ff=function(e,t,o,r,n,a,l){var s=e+(t&o|~t&r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,o,r,n,a,l){var s=e+(t&r|o&~r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,o,r,n,a,l){var s=e+(t^o^r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,o,r,n,a,l){var s=e+(o^(t|~r))+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(s(e,t));return t&&t.asBytes?o:t&&t.asString?l.bytesToString(o):r.bytesToHex(o)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,o,n,a){if(!o){var l=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],a=e[u][2];for(var s=!0,c=0;c<o.length;c++)(!1&a||l>=a)&&Object.keys(r.O).every((function(e){return r.O[e](o[c])}))?o.splice(c--,1):(s=!1,a<l&&(l=a));if(s){e.splice(u--,1);var i=n();void 0!==i&&(t=i)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,n,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};r.O.j=function(t){return 0===e[t]};var t=function(t,o){var n,a,l=o[0],s=o[1],c=o[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(c)var u=c(r)}for(t&&t(o);i<l.length;i++)a=l[i],r.o(e,a)&&e[a]&&e[a][0](),e[l[i]]=0;return r.O(u)},o=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var n=r.O(void 0,[46],(function(){return r(783)}));n=r.O(n)}();
|
1 |
+
!function(){var e,t={783:function(e,t,o){"use strict";var r=window.wp.element,n=window.React,a=o(568),l=o.n(a),s=window.wp.blocks,c=window.wp.url;function i(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const h=(0,r.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var d=window.lodash,p=o.n(d);const f=(e,t,o)=>{let r=!0;if(t&&t.id&&"value"in t){let n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=p().isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=(e,t)=>{const{controlType:o}=e;let r=!0;if(e.deps)if(p().isArray(e.deps))for(let n in e.deps){const a=e.deps[n];if(r=f(t,a,o),!r)break}else r=f(t,e.deps,o);return r},b=(e,t)=>{let o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{const r=e.attributes?Object.entries(e.attributes).map((e=>{let[o,r]=e;const n=g(r,t),a=t[o];if(n&&void 0!==a)return o+"="+(r.remove_quotes?a:`"${a}"`)})):[],n=r.length?" "+r.join(" "):"";o=`[${e.shortcode_name}${n}]`}return o};var m=window.wp.components,y=window.wp.blockEditor,_=window.wp.hooks;class v extends n.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,o){const{shortcode:r,shortcodeHash:n,ajaxSuccess:a,ajaxResponse:l,ajaxUpdated:s}=this.state;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(a&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",r,n,l),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",r,n,l),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const o=b(t,e),r=l()(o);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,r),this.ajaxTimeout=setTimeout((()=>{(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=(0,c.addQueryArgs)(t,e),fetch(t).then(i).then(u)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:o,shortcodeHash:r,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:r})}render(){const{html:e,loading:t,firstLoading:o,shortcode:n,shortcodeHash:a}=this.state,{blockArgs:l}=this.props,{do_shortcode:s,title:c,empty_message:i}=l,u="block-editor-yith-plugin-fw-shortcode-block";let d=[u],p=s?"html":"shortcode",f=e,g="";o&&t?p="first-loading":s&&!e&&(p="empty-html",f=n,!t&&i&&(g=i));const b=["first-loading","empty-html","shortcode"].includes(p),y=!["first-loading","empty-html"].includes(p),_=!!g;return d.push(`${u}--${p}`),d.push(_?`${u}--has-message`:`${u}--no-message`),d.push(`yith_block_${a}`),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:d.join(" ")},t?(0,r.createElement)("div",{className:`${u}__spinner-wrap`},(0,r.createElement)(m.Spinner,null)):"",b&&(0,r.createElement)("div",{className:`${u}__title components-placeholder__label`},h,c),_&&(0,r.createElement)(r.RawHTML,{className:`${u}__message`},g),y&&(0,r.createElement)(r.RawHTML,{className:`${u}__content`},f)))}}var C=window.wp.compose;function w(e){let{className:t,label:o,onChange:n,value:a,help:l,disableAlpha:s}=e;const c=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(w)}`;return(0,r.createElement)(m.BaseControl,{id:c,label:o,className:`block-editor-yith-color-control ${t}`,help:l},(0,r.createElement)(m.ColorPicker,{color:a,disableAlpha:s,onChangeComplete:n}))}function k(e){let{label:t,colorValue:o}=e;return(0,r.createElement)(r.Fragment,null,t,!!o&&(0,r.createElement)(m.ColorIndicator,{colorValue:o}))}function x(e){let{className:t,label:o,onChange:n,value:a,help:l,palette:s,clearable:c}=e;s=s||(0,y.useSetting)("color.palette");const i=`inspector-yith-color-palette-control-${(0,C.useInstanceId)(x)}`;return(0,r.createElement)(m.BaseControl,{id:i,className:`block-editor-yith-color-palette-control ${t}`,help:l},(0,r.createElement)("fieldset",null,(0,r.createElement)("legend",null,(0,r.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,r.createElement)(m.BaseControl.VisualLabel,null,(0,r.createElement)(k,{colorValue:a,label:o})))),(0,r.createElement)(m.ColorPalette,{value:a,onChange:n,colors:s,clearable:c})))}const j=(e,t)=>function(o){let{attributes:n,className:a,setAttributes:l}=o;const s=(e,t,o)=>{["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());let r={};r[t]=e,l(r)};return(0,r.createElement)(r.Fragment,null,!!t.attributes&&(0,r.createElement)(y.InspectorControls,null,(0,r.createElement)(m.PanelBody,null,Object.entries(t.attributes).map((t=>{let[o,a]=t;const l=((t,o)=>{const{controlType:a}=o,l=n[t],c=((e,t)=>{let o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o})(o,l);let i=`${e}__${t}-field-wrapper`;const u=g(o,n);o.wrapper_class&&(i+=" "+o.wrapper_class);let h=!1;if(u)switch(a){case"select":h=(0,r.createElement)(m.SelectControl,{className:i,key:t,value:l,label:o.label,options:o.options,help:c,multiple:!!o.multiple,onChange:e=>{s(e,t,a)}});break;case"text":h=(0,r.createElement)(m.TextControl,{className:i,key:t,value:l,label:o.label,help:c,onChange:e=>{s(e,t,a)}});break;case"textarea":h=(0,r.createElement)(m.TextareaControl,{className:i,key:t,value:l,label:o.label,help:c,onChange:e=>{s(e,t,a)}});break;case"toggle":h=(0,r.createElement)(m.ToggleControl,{className:i,key:t,label:o.label,help:c,checked:l,onChange:e=>{s(e,t,a)}});break;case"checkbox":h=(0,r.createElement)(m.CheckboxControl,{className:i,key:t,label:o.label,help:c,checked:l,onChange:e=>{s(e,t,a)}});break;case"number":case"range":h=(0,r.createElement)(m.RangeControl,{className:i,key:t,value:l,label:o.label,help:c,min:o.min,max:o.max,onChange:e=>{s(e,t,a)}});break;case"color":case"colorpicker":h=(0,r.createElement)(w,{className:i,key:t,label:o.label,help:c,value:l,disableAlpha:o.disableAlpha,onChange:e=>{s(e,t,a)}});break;case"color-palette":h=(0,r.createElement)(x,{className:i,key:t,label:o.label,help:c,value:l,clearable:o.clearable||!1,onChange:e=>{s(e,t,a)}});break;case"radio":h=(0,r.createElement)(m.RadioControl,{key:t,label:o.label,options:o.options,selected:l,help:c,onChange:e=>{s(e,t,a)}});break;default:h=!1}return h})(o,a);if(l)return l})))),(0,r.createElement)(v,{attributes:n,blockArgs:t}))},E=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of E)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(o))}),e.delay):jQuery(document).trigger(e.key,Object.values(o)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:h,keywords:t.keywords,edit:j(e,t),save:e=>{let{attributes:o}=e;return b(t,o)},deprecated:[{attributes:t.attributes,save:e=>{let{attributes:o}=e;const n=b(t,o),a='<span class="yith_block_'+l()(n)+'">'+n+"</span>";return(0,r.createElement)(r.RawHTML,null,a)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t},12:function(e){var t,o;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&o.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return o}},e.exports=o},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,o){var r,n,a,l,s;r=o(12),n=o(487).utf8,a=o(738),l=o(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?l.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),c=8*e.length,i=1732584193,u=-271733879,h=-1732584194,d=271733878,p=0;p<o.length;p++)o[p]=16711935&(o[p]<<8|o[p]>>>24)|4278255360&(o[p]<<24|o[p]>>>8);o[c>>>5]|=128<<c%32,o[14+(c+64>>>9<<4)]=c;var f=s._ff,g=s._gg,b=s._hh,m=s._ii;for(p=0;p<o.length;p+=16){var y=i,_=u,v=h,C=d;i=f(i,u,h,d,o[p+0],7,-680876936),d=f(d,i,u,h,o[p+1],12,-389564586),h=f(h,d,i,u,o[p+2],17,606105819),u=f(u,h,d,i,o[p+3],22,-1044525330),i=f(i,u,h,d,o[p+4],7,-176418897),d=f(d,i,u,h,o[p+5],12,1200080426),h=f(h,d,i,u,o[p+6],17,-1473231341),u=f(u,h,d,i,o[p+7],22,-45705983),i=f(i,u,h,d,o[p+8],7,1770035416),d=f(d,i,u,h,o[p+9],12,-1958414417),h=f(h,d,i,u,o[p+10],17,-42063),u=f(u,h,d,i,o[p+11],22,-1990404162),i=f(i,u,h,d,o[p+12],7,1804603682),d=f(d,i,u,h,o[p+13],12,-40341101),h=f(h,d,i,u,o[p+14],17,-1502002290),i=g(i,u=f(u,h,d,i,o[p+15],22,1236535329),h,d,o[p+1],5,-165796510),d=g(d,i,u,h,o[p+6],9,-1069501632),h=g(h,d,i,u,o[p+11],14,643717713),u=g(u,h,d,i,o[p+0],20,-373897302),i=g(i,u,h,d,o[p+5],5,-701558691),d=g(d,i,u,h,o[p+10],9,38016083),h=g(h,d,i,u,o[p+15],14,-660478335),u=g(u,h,d,i,o[p+4],20,-405537848),i=g(i,u,h,d,o[p+9],5,568446438),d=g(d,i,u,h,o[p+14],9,-1019803690),h=g(h,d,i,u,o[p+3],14,-187363961),u=g(u,h,d,i,o[p+8],20,1163531501),i=g(i,u,h,d,o[p+13],5,-1444681467),d=g(d,i,u,h,o[p+2],9,-51403784),h=g(h,d,i,u,o[p+7],14,1735328473),i=b(i,u=g(u,h,d,i,o[p+12],20,-1926607734),h,d,o[p+5],4,-378558),d=b(d,i,u,h,o[p+8],11,-2022574463),h=b(h,d,i,u,o[p+11],16,1839030562),u=b(u,h,d,i,o[p+14],23,-35309556),i=b(i,u,h,d,o[p+1],4,-1530992060),d=b(d,i,u,h,o[p+4],11,1272893353),h=b(h,d,i,u,o[p+7],16,-155497632),u=b(u,h,d,i,o[p+10],23,-1094730640),i=b(i,u,h,d,o[p+13],4,681279174),d=b(d,i,u,h,o[p+0],11,-358537222),h=b(h,d,i,u,o[p+3],16,-722521979),u=b(u,h,d,i,o[p+6],23,76029189),i=b(i,u,h,d,o[p+9],4,-640364487),d=b(d,i,u,h,o[p+12],11,-421815835),h=b(h,d,i,u,o[p+15],16,530742520),i=m(i,u=b(u,h,d,i,o[p+2],23,-995338651),h,d,o[p+0],6,-198630844),d=m(d,i,u,h,o[p+7],10,1126891415),h=m(h,d,i,u,o[p+14],15,-1416354905),u=m(u,h,d,i,o[p+5],21,-57434055),i=m(i,u,h,d,o[p+12],6,1700485571),d=m(d,i,u,h,o[p+3],10,-1894986606),h=m(h,d,i,u,o[p+10],15,-1051523),u=m(u,h,d,i,o[p+1],21,-2054922799),i=m(i,u,h,d,o[p+8],6,1873313359),d=m(d,i,u,h,o[p+15],10,-30611744),h=m(h,d,i,u,o[p+6],15,-1560198380),u=m(u,h,d,i,o[p+13],21,1309151649),i=m(i,u,h,d,o[p+4],6,-145523070),d=m(d,i,u,h,o[p+11],10,-1120210379),h=m(h,d,i,u,o[p+2],15,718787259),u=m(u,h,d,i,o[p+9],21,-343485551),i=i+y>>>0,u=u+_>>>0,h=h+v>>>0,d=d+C>>>0}return r.endian([i,u,h,d])})._ff=function(e,t,o,r,n,a,l){var s=e+(t&o|~t&r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,o,r,n,a,l){var s=e+(t&r|o&~r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,o,r,n,a,l){var s=e+(t^o^r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,o,r,n,a,l){var s=e+(o^(t|~r))+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(s(e,t));return t&&t.asBytes?o:t&&t.asString?l.bytesToString(o):r.bytesToHex(o)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,o,n,a){if(!o){var l=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],a=e[u][2];for(var s=!0,c=0;c<o.length;c++)(!1&a||l>=a)&&Object.keys(r.O).every((function(e){return r.O[e](o[c])}))?o.splice(c--,1):(s=!1,a<l&&(l=a));if(s){e.splice(u--,1);var i=n();void 0!==i&&(t=i)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,n,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};r.O.j=function(t){return 0===e[t]};var t=function(t,o){var n,a,l=o[0],s=o[1],c=o[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(c)var u=c(r)}for(t&&t(o);i<l.length;i++)a=l[i],r.o(e,a)&&e[a]&&e[a][0](),e[l[i]]=0;return r.O(u)},o=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var n=r.O(void 0,[46],(function(){return r(783)}));n=r.O(n)}();
|
plugin-fw/includes/class-yit-plugin-panel-woocommerce.php
CHANGED
@@ -82,6 +82,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
82 |
$this->links = $this->settings['links'];
|
83 |
}
|
84 |
|
|
|
|
|
85 |
add_action( 'admin_init', array( $this, 'set_default_options' ) );
|
86 |
add_action( 'admin_menu', array( $this, 'add_setting_page' ) );
|
87 |
add_action( 'admin_menu', array( $this, 'add_premium_version_upgrade_to_menu' ), 100 );
|
@@ -280,7 +282,9 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
280 |
|
281 |
$this->print_tabs_nav();
|
282 |
|
283 |
-
if ( $
|
|
|
|
|
284 |
$this->print_custom_tab( $custom_tab_options );
|
285 |
} elseif ( $this->is_help_tab() ) {
|
286 |
$this->print_help_tab();
|
@@ -658,7 +662,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
658 |
check_ajax_referer( 'save-toggle-element', 'security' );
|
659 |
|
660 |
if ( ! current_user_can( $this->settings['capability'] ) ) {
|
661 |
-
wp_die( -
|
662 |
}
|
663 |
|
664 |
$posted = $_POST;
|
@@ -687,7 +691,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
687 |
$i = 0;
|
688 |
$new_value = array();
|
689 |
foreach ( $order_elements as $key ) {
|
690 |
-
$index = apply_filters( 'yith_toggle_elements_index', $i
|
691 |
$new_value[ $index ] = $value[ $key ];
|
692 |
}
|
693 |
|
82 |
$this->links = $this->settings['links'];
|
83 |
}
|
84 |
|
85 |
+
$this->maybe_init_premium_tab();
|
86 |
+
|
87 |
add_action( 'admin_init', array( $this, 'set_default_options' ) );
|
88 |
add_action( 'admin_menu', array( $this, 'add_setting_page' ) );
|
89 |
add_action( 'admin_menu', array( $this, 'add_premium_version_upgrade_to_menu' ), 100 );
|
282 |
|
283 |
$this->print_tabs_nav();
|
284 |
|
285 |
+
if ( $this->is_premium_tab() && $this->has_premium_tab() ) {
|
286 |
+
$this->print_premium_tab();
|
287 |
+
} elseif ( $custom_tab_options ) {
|
288 |
$this->print_custom_tab( $custom_tab_options );
|
289 |
} elseif ( $this->is_help_tab() ) {
|
290 |
$this->print_help_tab();
|
662 |
check_ajax_referer( 'save-toggle-element', 'security' );
|
663 |
|
664 |
if ( ! current_user_can( $this->settings['capability'] ) ) {
|
665 |
+
wp_die( -1 );
|
666 |
}
|
667 |
|
668 |
$posted = $_POST;
|
691 |
$i = 0;
|
692 |
$new_value = array();
|
693 |
foreach ( $order_elements as $key ) {
|
694 |
+
$index = apply_filters( 'yith_toggle_elements_index', $i++, $key );
|
695 |
$new_value[ $index ] = $value[ $key ];
|
696 |
}
|
697 |
|
plugin-fw/includes/class-yit-plugin-panel.php
CHANGED
@@ -103,6 +103,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
103 |
$this->links = $this->settings['links'];
|
104 |
}
|
105 |
|
|
|
|
|
106 |
add_action( 'admin_init', array( $this, 'register_settings' ) );
|
107 |
add_action( 'admin_menu', array( $this, 'add_setting_page' ), 20 );
|
108 |
add_action( 'admin_menu', array( $this, 'add_premium_version_upgrade_to_menu' ), 100 );
|
@@ -113,7 +115,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
113 |
add_action( 'admin_init', array( $this, 'maybe_redirect_to_proper_wp_page' ) );
|
114 |
|
115 |
/* Add UTM tracking code on premium tab */
|
116 |
-
|
117 |
// Init actions once to prevent multiple initialization.
|
118 |
static::init_actions();
|
119 |
}
|
@@ -626,8 +628,11 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
626 |
do_action( 'yith_plugin_fw_before_yith_panel', $this->settings['page'] );
|
627 |
|
628 |
$this->print_tabs_nav();
|
|
|
|
|
629 |
|
630 |
-
|
|
|
631 |
$this->print_custom_tab( $custom_tab_options );
|
632 |
|
633 |
return;
|
@@ -802,7 +807,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
802 |
'main_video' => false,
|
803 |
'playlists' => array(),
|
804 |
'hc_url' => 'https://support.yithemes.com/hc/',
|
805 |
-
'doc_url' => $this->settings['plugin_slug'] ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] . '/' : '',
|
806 |
'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
|
807 |
'show_hc_articles' => true,
|
808 |
'show_submit_ticket' => true,
|
@@ -810,7 +815,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
810 |
);
|
811 |
|
812 |
// add campaign parameters to url.
|
813 |
-
if ( $this->settings['plugin_slug'] ) {
|
814 |
$utm_medium = $this->settings['plugin_slug'];
|
815 |
$utm_source = 'wp-premium-dashboard';
|
816 |
$utm_campaign = 'help-tab';
|
@@ -832,11 +837,72 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
832 |
// set template variables.
|
833 |
$current_tab = $this->get_current_tab();
|
834 |
$current_sub_tab = $this->get_current_sub_tab();
|
835 |
-
$latest_articles = $this->settings['plugin_slug'] ? YIT_Help_Desk::get_latest_articles( $this->settings['plugin_slug'] ) : array();
|
836 |
|
837 |
include YIT_CORE_PLUGIN_TEMPLATE_PATH . '/panel/help-tab.php';
|
838 |
}
|
839 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
840 |
/**
|
841 |
* Add sections and fields to setting panel.
|
842 |
* Read all options and show sections and fields.
|
@@ -1381,7 +1447,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
1381 |
|
1382 |
usort(
|
1383 |
$sorted_plugins,
|
1384 |
-
function
|
1385 |
return strcmp( current( $a ), current( $b ) );
|
1386 |
}
|
1387 |
);
|
@@ -1704,8 +1770,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
1704 |
/**
|
1705 |
* Add UTM data in premium tab
|
1706 |
*
|
1707 |
-
* @param string $url
|
1708 |
-
* @param string $slug
|
1709 |
*
|
1710 |
* @since 3.8.4
|
1711 |
*/
|
103 |
$this->links = $this->settings['links'];
|
104 |
}
|
105 |
|
106 |
+
$this->maybe_init_premium_tab();
|
107 |
+
|
108 |
add_action( 'admin_init', array( $this, 'register_settings' ) );
|
109 |
add_action( 'admin_menu', array( $this, 'add_setting_page' ), 20 );
|
110 |
add_action( 'admin_menu', array( $this, 'add_premium_version_upgrade_to_menu' ), 100 );
|
115 |
add_action( 'admin_init', array( $this, 'maybe_redirect_to_proper_wp_page' ) );
|
116 |
|
117 |
/* Add UTM tracking code on premium tab */
|
118 |
+
add_filter( 'yith_plugin_fw_premium_landing_uri', array( $this, 'add_utm_data_on_premium_tab' ), 10, 2 );
|
119 |
// Init actions once to prevent multiple initialization.
|
120 |
static::init_actions();
|
121 |
}
|
628 |
do_action( 'yith_plugin_fw_before_yith_panel', $this->settings['page'] );
|
629 |
|
630 |
$this->print_tabs_nav();
|
631 |
+
if ( $this->is_premium_tab() && $this->has_premium_tab() ) {
|
632 |
+
$this->print_premium_tab();
|
633 |
|
634 |
+
return;
|
635 |
+
} elseif ( $custom_tab_options ) {
|
636 |
$this->print_custom_tab( $custom_tab_options );
|
637 |
|
638 |
return;
|
807 |
'main_video' => false,
|
808 |
'playlists' => array(),
|
809 |
'hc_url' => 'https://support.yithemes.com/hc/',
|
810 |
+
'doc_url' => isset( $this->settings['plugin_slug'] ) ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] . '/' : '',
|
811 |
'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
|
812 |
'show_hc_articles' => true,
|
813 |
'show_submit_ticket' => true,
|
815 |
);
|
816 |
|
817 |
// add campaign parameters to url.
|
818 |
+
if ( isset( $this->settings['plugin_slug'] ) ) {
|
819 |
$utm_medium = $this->settings['plugin_slug'];
|
820 |
$utm_source = 'wp-premium-dashboard';
|
821 |
$utm_campaign = 'help-tab';
|
837 |
// set template variables.
|
838 |
$current_tab = $this->get_current_tab();
|
839 |
$current_sub_tab = $this->get_current_sub_tab();
|
840 |
+
$latest_articles = isset( $this->settings['plugin_slug'] ) ? YIT_Help_Desk::get_latest_articles( $this->settings['plugin_slug'] ) : array();
|
841 |
|
842 |
include YIT_CORE_PLUGIN_TEMPLATE_PATH . '/panel/help-tab.php';
|
843 |
}
|
844 |
|
845 |
+
/**
|
846 |
+
* Add premium tab in admin-tabs if is set.
|
847 |
+
*
|
848 |
+
* @author Giuseppe Arcifa <giuseppe.arcifa@yithemes.com>
|
849 |
+
* @since 3.9.0
|
850 |
+
*/
|
851 |
+
protected function maybe_init_premium_tab() {
|
852 |
+
if ( isset( $this->settings['premium_tab'] ) ) {
|
853 |
+
$this->settings['admin-tabs']['premium'] = _x( 'Get premium', 'Premium tab name', 'yith-plugin-fw' );
|
854 |
+
}
|
855 |
+
}
|
856 |
+
|
857 |
+
/**
|
858 |
+
* Checks whether current tab is Premium Tab
|
859 |
+
*
|
860 |
+
* @return bool
|
861 |
+
* @author Giuseppe Arcifa <giuseppe.arcifa@yithemes.com>
|
862 |
+
* @since 3.9.0
|
863 |
+
*/
|
864 |
+
protected function is_premium_tab() {
|
865 |
+
return 'premium' === $this->get_current_tab();
|
866 |
+
}
|
867 |
+
|
868 |
+
/**
|
869 |
+
* Check if panel has premium tab
|
870 |
+
* (Check for premium Tab through the premium_tab param fully handled by plugin-fw)
|
871 |
+
*
|
872 |
+
* @return bool
|
873 |
+
* @author Giuseppe Arcifa <giuseppe.arcifa@yithemes.com>
|
874 |
+
* @since 3.9.0
|
875 |
+
*/
|
876 |
+
protected function has_premium_tab() {
|
877 |
+
return $this->is_free() && ! empty( $this->settings['premium_tab'] );
|
878 |
+
}
|
879 |
+
|
880 |
+
/**
|
881 |
+
* Prints Premium Tab
|
882 |
+
*
|
883 |
+
* @return void
|
884 |
+
* @author Giuseppe Arcifa <giuseppe.arcifa@yithemes.com>
|
885 |
+
* @since 3.9.0
|
886 |
+
*/
|
887 |
+
protected function print_premium_tab() {
|
888 |
+
$options = $this->settings['premium_tab'] ?? array();
|
889 |
+
|
890 |
+
$defaults = array(
|
891 |
+
'premium_features' => array(),
|
892 |
+
'main_image_url' => '',
|
893 |
+
'show_free_vs_premium_link' => true,
|
894 |
+
);
|
895 |
+
$options = wp_parse_args( $options, $defaults );
|
896 |
+
|
897 |
+
$plugin_slug = ! empty( $this->settings['plugin_slug'] ) ? $this->settings['plugin_slug'] : '';
|
898 |
+
$premium_url = '';
|
899 |
+
if ( $plugin_slug ) {
|
900 |
+
$premium_url = ! empty( $options['landing_page_url'] ) ? $options['landing_page_url'] : 'https://yithemes.com/themes/plugins/' . $plugin_slug;
|
901 |
+
}
|
902 |
+
|
903 |
+
include YIT_CORE_PLUGIN_TEMPLATE_PATH . '/panel/premium-tab.php';
|
904 |
+
}
|
905 |
+
|
906 |
/**
|
907 |
* Add sections and fields to setting panel.
|
908 |
* Read all options and show sections and fields.
|
1447 |
|
1448 |
usort(
|
1449 |
$sorted_plugins,
|
1450 |
+
function( $a, $b ) {
|
1451 |
return strcmp( current( $a ), current( $b ) );
|
1452 |
}
|
1453 |
);
|
1770 |
/**
|
1771 |
* Add UTM data in premium tab
|
1772 |
*
|
1773 |
+
* @param string $url The url that want to track.
|
1774 |
+
* @param string $slug Plugin slug.
|
1775 |
*
|
1776 |
* @since 3.8.4
|
1777 |
*/
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
-
* @version 3.
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.9.0
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
+
* @version 3.9.0
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
plugin-fw/languages/yith-plugin-fw-el.po
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-12-
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -70,7 +70,7 @@ msgstr "Αξία χρώματος"
|
|
70 |
msgid "There was an error with your request; please try again later."
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: includes/class-yit-plugin-panel-woocommerce.php:
|
74 |
msgid "The changes you have made will be lost if you leave this page."
|
75 |
msgstr ""
|
76 |
"Οι αλλαγές που έχετε δημιουργήσει θα χαθούν αν αφήσετε αυτήν την σελίδα."
|
@@ -83,17 +83,17 @@ msgstr "Ρυθμίσεις Προσθέτου"
|
|
83 |
msgid "Settings"
|
84 |
msgstr "Ρυθμίσεις"
|
85 |
|
86 |
-
#: includes/class-yit-plugin-panel.php:
|
87 |
-
#: includes/class-yit-plugin-panel.php:
|
88 |
msgid "How to install premium version"
|
89 |
msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
|
90 |
|
91 |
-
#: includes/class-yit-plugin-panel.php:
|
92 |
#: includes/class-yit-plugin-subpanel.php:132
|
93 |
msgid "Save Changes"
|
94 |
msgstr "Αποθήκευση Αλλαγών"
|
95 |
|
96 |
-
#: includes/class-yit-plugin-panel.php:
|
97 |
#: includes/class-yit-plugin-subpanel.php:136
|
98 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
99 |
msgid ""
|
@@ -102,73 +102,73 @@ msgstr ""
|
|
102 |
"Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
|
103 |
"σελίδα."
|
104 |
|
105 |
-
#: includes/class-yit-plugin-panel.php:
|
106 |
#: includes/class-yit-plugin-subpanel.php:136
|
107 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
108 |
msgid "Are you sure?"
|
109 |
msgstr "Είστε σίγουρος;"
|
110 |
|
111 |
-
#: includes/class-yit-plugin-panel.php:
|
112 |
#: includes/class-yit-plugin-subpanel.php:139
|
113 |
msgid "Reset to default"
|
114 |
msgstr "Επαναφορά σε προεπιλεγμένο"
|
115 |
|
116 |
-
#: includes/class-yit-plugin-panel.php:
|
117 |
msgid ""
|
118 |
"The element you have entered already exists. Please, enter another name."
|
119 |
msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
|
120 |
|
121 |
-
#: includes/class-yit-plugin-panel.php:
|
122 |
msgid "Settings saved"
|
123 |
msgstr "Ρυθμίσεις αποθηκεύτηκαν"
|
124 |
|
125 |
-
#: includes/class-yit-plugin-panel.php:
|
126 |
msgid "Settings reset"
|
127 |
msgstr "Επαναφορά ρυθμίσεων"
|
128 |
|
129 |
-
#: includes/class-yit-plugin-panel.php:
|
130 |
msgid "Element deleted correctly."
|
131 |
msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
|
132 |
|
133 |
-
#: includes/class-yit-plugin-panel.php:
|
134 |
-
#: includes/class-yit-plugin-panel.php:
|
135 |
msgid "Element updated correctly."
|
136 |
msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
|
137 |
|
138 |
-
#: includes/class-yit-plugin-panel.php:
|
139 |
msgid "Database imported correctly."
|
140 |
msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
|
141 |
|
142 |
-
#: includes/class-yit-plugin-panel.php:
|
143 |
msgid "An error has occurred during import. Please try again."
|
144 |
msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
|
145 |
|
146 |
-
#: includes/class-yit-plugin-panel.php:
|
147 |
msgid "The added file is not valid."
|
148 |
msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
|
149 |
|
150 |
-
#: includes/class-yit-plugin-panel.php:
|
151 |
msgid "Sorry, import is disabled."
|
152 |
msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
|
153 |
|
154 |
-
#: includes/class-yit-plugin-panel.php:
|
155 |
msgid "Sorting successful."
|
156 |
msgstr "Διαλογή επιτυχής."
|
157 |
|
158 |
-
#: includes/class-yit-plugin-panel.php:
|
159 |
msgid "We need your support"
|
160 |
msgstr "Χρειαζόμαστε την υποστήριξή σας"
|
161 |
|
162 |
-
#: includes/class-yit-plugin-panel.php:
|
163 |
msgid "to keep updating and improving the plugin. Please,"
|
164 |
msgstr ""
|
165 |
"για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
|
166 |
|
167 |
-
#: includes/class-yit-plugin-panel.php:
|
168 |
msgid "help us by leaving a good review"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: includes/class-yit-plugin-panel.php:
|
172 |
msgid ":) Thanks!"
|
173 |
msgstr ":) Ευχαριστώ!"
|
174 |
|
@@ -718,23 +718,28 @@ msgctxt "Delete confirmation action"
|
|
718 |
msgid "Yes, delete"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: includes/class-yit-plugin-panel.php:
|
722 |
msgctxt "Help tab name"
|
723 |
msgid "Help"
|
724 |
msgstr ""
|
725 |
|
726 |
#. translators: 1. Plugin name.
|
727 |
-
#: includes/class-yit-plugin-panel.php:
|
728 |
msgctxt "Help tab default title"
|
729 |
msgid "Thank you for purchasing %s!"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: includes/class-yit-plugin-panel.php:
|
733 |
msgctxt "Help tab default description"
|
734 |
msgid ""
|
735 |
"We want to help you to enjoy a wonderful experience with all our products."
|
736 |
msgstr ""
|
737 |
|
|
|
|
|
|
|
|
|
|
|
738 |
#: includes/class-yith-dashboard.php:96
|
739 |
msgctxt "Plugin FW"
|
740 |
msgid "View Changelog"
|
@@ -919,6 +924,37 @@ msgctxt "Help tab submit ticket button"
|
|
919 |
msgid "Submit a ticket"
|
920 |
msgstr ""
|
921 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
922 |
#: yit-functions.php:1925
|
923 |
msgctxt "Post action"
|
924 |
msgid "Preview"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-12-13 14:46:02+00:00\n"
|
8 |
"PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
|
9 |
"Language: el_GR\n"
|
10 |
"MIME-Version: 1.0\n"
|
70 |
msgid "There was an error with your request; please try again later."
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: includes/class-yit-plugin-panel-woocommerce.php:430
|
74 |
msgid "The changes you have made will be lost if you leave this page."
|
75 |
msgstr ""
|
76 |
"Οι αλλαγές που έχετε δημιουργήσει θα χαθούν αν αφήσετε αυτήν την σελίδα."
|
83 |
msgid "Settings"
|
84 |
msgstr "Ρυθμίσεις"
|
85 |
|
86 |
+
#: includes/class-yit-plugin-panel.php:455
|
87 |
+
#: includes/class-yit-plugin-panel.php:458
|
88 |
msgid "How to install premium version"
|
89 |
msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
|
90 |
|
91 |
+
#: includes/class-yit-plugin-panel.php:659
|
92 |
#: includes/class-yit-plugin-subpanel.php:132
|
93 |
msgid "Save Changes"
|
94 |
msgstr "Αποθήκευση Αλλαγών"
|
95 |
|
96 |
+
#: includes/class-yit-plugin-panel.php:664
|
97 |
#: includes/class-yit-plugin-subpanel.php:136
|
98 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
99 |
msgid ""
|
102 |
"Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
|
103 |
"σελίδα."
|
104 |
|
105 |
+
#: includes/class-yit-plugin-panel.php:664
|
106 |
#: includes/class-yit-plugin-subpanel.php:136
|
107 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
108 |
msgid "Are you sure?"
|
109 |
msgstr "Είστε σίγουρος;"
|
110 |
|
111 |
+
#: includes/class-yit-plugin-panel.php:668
|
112 |
#: includes/class-yit-plugin-subpanel.php:139
|
113 |
msgid "Reset to default"
|
114 |
msgstr "Επαναφορά σε προεπιλεγμένο"
|
115 |
|
116 |
+
#: includes/class-yit-plugin-panel.php:1047
|
117 |
msgid ""
|
118 |
"The element you have entered already exists. Please, enter another name."
|
119 |
msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
|
120 |
|
121 |
+
#: includes/class-yit-plugin-panel.php:1048
|
122 |
msgid "Settings saved"
|
123 |
msgstr "Ρυθμίσεις αποθηκεύτηκαν"
|
124 |
|
125 |
+
#: includes/class-yit-plugin-panel.php:1049
|
126 |
msgid "Settings reset"
|
127 |
msgstr "Επαναφορά ρυθμίσεων"
|
128 |
|
129 |
+
#: includes/class-yit-plugin-panel.php:1050
|
130 |
msgid "Element deleted correctly."
|
131 |
msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
|
132 |
|
133 |
+
#: includes/class-yit-plugin-panel.php:1051
|
134 |
+
#: includes/class-yit-plugin-panel.php:1052
|
135 |
msgid "Element updated correctly."
|
136 |
msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
|
137 |
|
138 |
+
#: includes/class-yit-plugin-panel.php:1053
|
139 |
msgid "Database imported correctly."
|
140 |
msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
|
141 |
|
142 |
+
#: includes/class-yit-plugin-panel.php:1054
|
143 |
msgid "An error has occurred during import. Please try again."
|
144 |
msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
|
145 |
|
146 |
+
#: includes/class-yit-plugin-panel.php:1055
|
147 |
msgid "The added file is not valid."
|
148 |
msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
|
149 |
|
150 |
+
#: includes/class-yit-plugin-panel.php:1056
|
151 |
msgid "Sorry, import is disabled."
|
152 |
msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
|
153 |
|
154 |
+
#: includes/class-yit-plugin-panel.php:1057
|
155 |
msgid "Sorting successful."
|
156 |
msgstr "Διαλογή επιτυχής."
|
157 |
|
158 |
+
#: includes/class-yit-plugin-panel.php:1525
|
159 |
msgid "We need your support"
|
160 |
msgstr "Χρειαζόμαστε την υποστήριξή σας"
|
161 |
|
162 |
+
#: includes/class-yit-plugin-panel.php:1526
|
163 |
msgid "to keep updating and improving the plugin. Please,"
|
164 |
msgstr ""
|
165 |
"για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
|
166 |
|
167 |
+
#: includes/class-yit-plugin-panel.php:1528
|
168 |
msgid "help us by leaving a good review"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/class-yit-plugin-panel.php:1529
|
172 |
msgid ":) Thanks!"
|
173 |
msgstr ":) Ευχαριστώ!"
|
174 |
|
718 |
msgid "Yes, delete"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: includes/class-yit-plugin-panel.php:492
|
722 |
msgctxt "Help tab name"
|
723 |
msgid "Help"
|
724 |
msgstr ""
|
725 |
|
726 |
#. translators: 1. Plugin name.
|
727 |
+
#: includes/class-yit-plugin-panel.php:805
|
728 |
msgctxt "Help tab default title"
|
729 |
msgid "Thank you for purchasing %s!"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: includes/class-yit-plugin-panel.php:806
|
733 |
msgctxt "Help tab default description"
|
734 |
msgid ""
|
735 |
"We want to help you to enjoy a wonderful experience with all our products."
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: includes/class-yit-plugin-panel.php:853
|
739 |
+
msgctxt "Premium tab name"
|
740 |
+
msgid "Get premium"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
#: includes/class-yith-dashboard.php:96
|
744 |
msgctxt "Plugin FW"
|
745 |
msgid "View Changelog"
|
924 |
msgid "Submit a ticket"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: templates/panel/premium-tab.php:30
|
928 |
+
msgctxt "Premium Tab"
|
929 |
+
msgid "Get the premium version to unlock advanced features"
|
930 |
+
msgstr ""
|
931 |
+
|
932 |
+
#: templates/panel/premium-tab.php:34
|
933 |
+
msgctxt "Premium Tab"
|
934 |
+
msgid "Get premium"
|
935 |
+
msgstr ""
|
936 |
+
|
937 |
+
#: templates/panel/premium-tab.php:39
|
938 |
+
msgctxt "Premium Tab"
|
939 |
+
msgid "Plugin premium features images"
|
940 |
+
msgstr ""
|
941 |
+
|
942 |
+
#. translators: alt attribute of main image tag.
|
943 |
+
#: templates/panel/premium-tab.php:51
|
944 |
+
msgctxt "Premium Tab"
|
945 |
+
msgid "And so much more!"
|
946 |
+
msgstr ""
|
947 |
+
|
948 |
+
#: templates/panel/premium-tab.php:53
|
949 |
+
msgctxt "Premium Tab"
|
950 |
+
msgid "Check the free vs premium features >"
|
951 |
+
msgstr ""
|
952 |
+
|
953 |
+
#: templates/panel/premium-tab.php:58
|
954 |
+
msgctxt "Premium Tab"
|
955 |
+
msgid "Get the premium version"
|
956 |
+
msgstr ""
|
957 |
+
|
958 |
#: yit-functions.php:1925
|
959 |
msgctxt "Post action"
|
960 |
msgid "Preview"
|
plugin-fw/languages/yith-plugin-fw-es_ES.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-12-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -72,7 +72,7 @@ msgid "There was an error with your request; please try again later."
|
|
72 |
msgstr ""
|
73 |
"Se ha producido un error en tu solicitud; inténtalo de nuevo más tarde."
|
74 |
|
75 |
-
#: includes/class-yit-plugin-panel-woocommerce.php:
|
76 |
msgid "The changes you have made will be lost if you leave this page."
|
77 |
msgstr "Los cambios que has hecho se perderán si abandonas esta página."
|
78 |
|
@@ -84,17 +84,17 @@ msgstr "Ajustes del plugin"
|
|
84 |
msgid "Settings"
|
85 |
msgstr "Ajustes"
|
86 |
|
87 |
-
#: includes/class-yit-plugin-panel.php:
|
88 |
-
#: includes/class-yit-plugin-panel.php:
|
89 |
msgid "How to install premium version"
|
90 |
msgstr "Cómo instalar la versión premium"
|
91 |
|
92 |
-
#: includes/class-yit-plugin-panel.php:
|
93 |
#: includes/class-yit-plugin-subpanel.php:132
|
94 |
msgid "Save Changes"
|
95 |
msgstr "Guardar cambios"
|
96 |
|
97 |
-
#: includes/class-yit-plugin-panel.php:
|
98 |
#: includes/class-yit-plugin-subpanel.php:136
|
99 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
100 |
msgid ""
|
@@ -103,74 +103,74 @@ msgstr ""
|
|
103 |
"Si continúas con esta acción, restablecerás todas las opciones en esta "
|
104 |
"página."
|
105 |
|
106 |
-
#: includes/class-yit-plugin-panel.php:
|
107 |
#: includes/class-yit-plugin-subpanel.php:136
|
108 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
109 |
msgid "Are you sure?"
|
110 |
msgstr "¿Estás seguro?"
|
111 |
|
112 |
-
#: includes/class-yit-plugin-panel.php:
|
113 |
#: includes/class-yit-plugin-subpanel.php:139
|
114 |
msgid "Reset to default"
|
115 |
msgstr "Restablecer valores predeterminados"
|
116 |
|
117 |
-
#: includes/class-yit-plugin-panel.php:
|
118 |
msgid ""
|
119 |
"The element you have entered already exists. Please, enter another name."
|
120 |
msgstr ""
|
121 |
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
|
122 |
|
123 |
-
#: includes/class-yit-plugin-panel.php:
|
124 |
msgid "Settings saved"
|
125 |
msgstr "Ajustes guardados"
|
126 |
|
127 |
-
#: includes/class-yit-plugin-panel.php:
|
128 |
msgid "Settings reset"
|
129 |
msgstr "Restablecer ajustes"
|
130 |
|
131 |
-
#: includes/class-yit-plugin-panel.php:
|
132 |
msgid "Element deleted correctly."
|
133 |
msgstr "Elemento eliminado correctamente."
|
134 |
|
135 |
-
#: includes/class-yit-plugin-panel.php:
|
136 |
-
#: includes/class-yit-plugin-panel.php:
|
137 |
msgid "Element updated correctly."
|
138 |
msgstr "Elemento actualizado correctamente."
|
139 |
|
140 |
-
#: includes/class-yit-plugin-panel.php:
|
141 |
msgid "Database imported correctly."
|
142 |
msgstr "Base de datos importada correctamente."
|
143 |
|
144 |
-
#: includes/class-yit-plugin-panel.php:
|
145 |
msgid "An error has occurred during import. Please try again."
|
146 |
msgstr ""
|
147 |
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
|
148 |
|
149 |
-
#: includes/class-yit-plugin-panel.php:
|
150 |
msgid "The added file is not valid."
|
151 |
msgstr "El archivo añadido no es válido."
|
152 |
|
153 |
-
#: includes/class-yit-plugin-panel.php:
|
154 |
msgid "Sorry, import is disabled."
|
155 |
msgstr "Lo siento, la importación está desactivada."
|
156 |
|
157 |
-
#: includes/class-yit-plugin-panel.php:
|
158 |
msgid "Sorting successful."
|
159 |
msgstr "Clasificación realizada con éxito"
|
160 |
|
161 |
-
#: includes/class-yit-plugin-panel.php:
|
162 |
msgid "We need your support"
|
163 |
msgstr "Necesitamos tu apoyo"
|
164 |
|
165 |
-
#: includes/class-yit-plugin-panel.php:
|
166 |
msgid "to keep updating and improving the plugin. Please,"
|
167 |
msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
|
168 |
|
169 |
-
#: includes/class-yit-plugin-panel.php:
|
170 |
msgid "help us by leaving a good review"
|
171 |
msgstr "ayúdanos dejando una buena valoración"
|
172 |
|
173 |
-
#: includes/class-yit-plugin-panel.php:
|
174 |
msgid ":) Thanks!"
|
175 |
msgstr ":) ¡Gracias!"
|
176 |
|
@@ -726,18 +726,18 @@ msgctxt "Delete confirmation action"
|
|
726 |
msgid "Yes, delete"
|
727 |
msgstr "Si, borrar"
|
728 |
|
729 |
-
#: includes/class-yit-plugin-panel.php:
|
730 |
msgctxt "Help tab name"
|
731 |
msgid "Help"
|
732 |
msgstr "Ayuda"
|
733 |
|
734 |
#. translators: 1. Plugin name.
|
735 |
-
#: includes/class-yit-plugin-panel.php:
|
736 |
msgctxt "Help tab default title"
|
737 |
msgid "Thank you for purchasing %s!"
|
738 |
msgstr "¡Gracias por comprar %s!"
|
739 |
|
740 |
-
#: includes/class-yit-plugin-panel.php:
|
741 |
msgctxt "Help tab default description"
|
742 |
msgid ""
|
743 |
"We want to help you to enjoy a wonderful experience with all our products."
|
@@ -745,6 +745,11 @@ msgstr ""
|
|
745 |
"Queremos ayudarte a disfrutar de una experiencia maravillosa con todos "
|
746 |
"nuestros productos."
|
747 |
|
|
|
|
|
|
|
|
|
|
|
748 |
#: includes/class-yith-dashboard.php:96
|
749 |
msgctxt "Plugin FW"
|
750 |
msgid "View Changelog"
|
@@ -931,6 +936,37 @@ msgctxt "Help tab submit ticket button"
|
|
931 |
msgid "Submit a ticket"
|
932 |
msgstr "Enviar ticket"
|
933 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
934 |
#: yit-functions.php:1925
|
935 |
msgctxt "Post action"
|
936 |
msgid "Preview"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-12-13 14:46:02+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-12-13 13:19:03+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
72 |
msgstr ""
|
73 |
"Se ha producido un error en tu solicitud; inténtalo de nuevo más tarde."
|
74 |
|
75 |
+
#: includes/class-yit-plugin-panel-woocommerce.php:430
|
76 |
msgid "The changes you have made will be lost if you leave this page."
|
77 |
msgstr "Los cambios que has hecho se perderán si abandonas esta página."
|
78 |
|
84 |
msgid "Settings"
|
85 |
msgstr "Ajustes"
|
86 |
|
87 |
+
#: includes/class-yit-plugin-panel.php:455
|
88 |
+
#: includes/class-yit-plugin-panel.php:458
|
89 |
msgid "How to install premium version"
|
90 |
msgstr "Cómo instalar la versión premium"
|
91 |
|
92 |
+
#: includes/class-yit-plugin-panel.php:659
|
93 |
#: includes/class-yit-plugin-subpanel.php:132
|
94 |
msgid "Save Changes"
|
95 |
msgstr "Guardar cambios"
|
96 |
|
97 |
+
#: includes/class-yit-plugin-panel.php:664
|
98 |
#: includes/class-yit-plugin-subpanel.php:136
|
99 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
100 |
msgid ""
|
103 |
"Si continúas con esta acción, restablecerás todas las opciones en esta "
|
104 |
"página."
|
105 |
|
106 |
+
#: includes/class-yit-plugin-panel.php:664
|
107 |
#: includes/class-yit-plugin-subpanel.php:136
|
108 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
109 |
msgid "Are you sure?"
|
110 |
msgstr "¿Estás seguro?"
|
111 |
|
112 |
+
#: includes/class-yit-plugin-panel.php:668
|
113 |
#: includes/class-yit-plugin-subpanel.php:139
|
114 |
msgid "Reset to default"
|
115 |
msgstr "Restablecer valores predeterminados"
|
116 |
|
117 |
+
#: includes/class-yit-plugin-panel.php:1047
|
118 |
msgid ""
|
119 |
"The element you have entered already exists. Please, enter another name."
|
120 |
msgstr ""
|
121 |
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
|
122 |
|
123 |
+
#: includes/class-yit-plugin-panel.php:1048
|
124 |
msgid "Settings saved"
|
125 |
msgstr "Ajustes guardados"
|
126 |
|
127 |
+
#: includes/class-yit-plugin-panel.php:1049
|
128 |
msgid "Settings reset"
|
129 |
msgstr "Restablecer ajustes"
|
130 |
|
131 |
+
#: includes/class-yit-plugin-panel.php:1050
|
132 |
msgid "Element deleted correctly."
|
133 |
msgstr "Elemento eliminado correctamente."
|
134 |
|
135 |
+
#: includes/class-yit-plugin-panel.php:1051
|
136 |
+
#: includes/class-yit-plugin-panel.php:1052
|
137 |
msgid "Element updated correctly."
|
138 |
msgstr "Elemento actualizado correctamente."
|
139 |
|
140 |
+
#: includes/class-yit-plugin-panel.php:1053
|
141 |
msgid "Database imported correctly."
|
142 |
msgstr "Base de datos importada correctamente."
|
143 |
|
144 |
+
#: includes/class-yit-plugin-panel.php:1054
|
145 |
msgid "An error has occurred during import. Please try again."
|
146 |
msgstr ""
|
147 |
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
|
148 |
|
149 |
+
#: includes/class-yit-plugin-panel.php:1055
|
150 |
msgid "The added file is not valid."
|
151 |
msgstr "El archivo añadido no es válido."
|
152 |
|
153 |
+
#: includes/class-yit-plugin-panel.php:1056
|
154 |
msgid "Sorry, import is disabled."
|
155 |
msgstr "Lo siento, la importación está desactivada."
|
156 |
|
157 |
+
#: includes/class-yit-plugin-panel.php:1057
|
158 |
msgid "Sorting successful."
|
159 |
msgstr "Clasificación realizada con éxito"
|
160 |
|
161 |
+
#: includes/class-yit-plugin-panel.php:1525
|
162 |
msgid "We need your support"
|
163 |
msgstr "Necesitamos tu apoyo"
|
164 |
|
165 |
+
#: includes/class-yit-plugin-panel.php:1526
|
166 |
msgid "to keep updating and improving the plugin. Please,"
|
167 |
msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
|
168 |
|
169 |
+
#: includes/class-yit-plugin-panel.php:1528
|
170 |
msgid "help us by leaving a good review"
|
171 |
msgstr "ayúdanos dejando una buena valoración"
|
172 |
|
173 |
+
#: includes/class-yit-plugin-panel.php:1529
|
174 |
msgid ":) Thanks!"
|
175 |
msgstr ":) ¡Gracias!"
|
176 |
|
726 |
msgid "Yes, delete"
|
727 |
msgstr "Si, borrar"
|
728 |
|
729 |
+
#: includes/class-yit-plugin-panel.php:492
|
730 |
msgctxt "Help tab name"
|
731 |
msgid "Help"
|
732 |
msgstr "Ayuda"
|
733 |
|
734 |
#. translators: 1. Plugin name.
|
735 |
+
#: includes/class-yit-plugin-panel.php:805
|
736 |
msgctxt "Help tab default title"
|
737 |
msgid "Thank you for purchasing %s!"
|
738 |
msgstr "¡Gracias por comprar %s!"
|
739 |
|
740 |
+
#: includes/class-yit-plugin-panel.php:806
|
741 |
msgctxt "Help tab default description"
|
742 |
msgid ""
|
743 |
"We want to help you to enjoy a wonderful experience with all our products."
|
745 |
"Queremos ayudarte a disfrutar de una experiencia maravillosa con todos "
|
746 |
"nuestros productos."
|
747 |
|
748 |
+
#: includes/class-yit-plugin-panel.php:853
|
749 |
+
msgctxt "Premium tab name"
|
750 |
+
msgid "Get premium"
|
751 |
+
msgstr "Obtén premium"
|
752 |
+
|
753 |
#: includes/class-yith-dashboard.php:96
|
754 |
msgctxt "Plugin FW"
|
755 |
msgid "View Changelog"
|
936 |
msgid "Submit a ticket"
|
937 |
msgstr "Enviar ticket"
|
938 |
|
939 |
+
#: templates/panel/premium-tab.php:30
|
940 |
+
msgctxt "Premium Tab"
|
941 |
+
msgid "Get the premium version to unlock advanced features"
|
942 |
+
msgstr "Obtén la versión premium para desbloquear características avanzadas"
|
943 |
+
|
944 |
+
#: templates/panel/premium-tab.php:34
|
945 |
+
msgctxt "Premium Tab"
|
946 |
+
msgid "Get premium"
|
947 |
+
msgstr "Obtén la versión Premium"
|
948 |
+
|
949 |
+
#: templates/panel/premium-tab.php:39
|
950 |
+
msgctxt "Premium Tab"
|
951 |
+
msgid "Plugin premium features images"
|
952 |
+
msgstr "Imágenes de la versión premium"
|
953 |
+
|
954 |
+
#. translators: alt attribute of main image tag.
|
955 |
+
#: templates/panel/premium-tab.php:51
|
956 |
+
msgctxt "Premium Tab"
|
957 |
+
msgid "And so much more!"
|
958 |
+
msgstr "¡Y mucho más!"
|
959 |
+
|
960 |
+
#: templates/panel/premium-tab.php:53
|
961 |
+
msgctxt "Premium Tab"
|
962 |
+
msgid "Check the free vs premium features >"
|
963 |
+
msgstr "Comprueba las características gratuitas frente a las premium >"
|
964 |
+
|
965 |
+
#: templates/panel/premium-tab.php:58
|
966 |
+
msgctxt "Premium Tab"
|
967 |
+
msgid "Get the premium version"
|
968 |
+
msgstr "Obtén la versión Premium"
|
969 |
+
|
970 |
#: yit-functions.php:1925
|
971 |
msgctxt "Post action"
|
972 |
msgid "Preview"
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-12-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -72,7 +72,7 @@ msgstr "Valore del colore"
|
|
72 |
msgid "There was an error with your request; please try again later."
|
73 |
msgstr "Si è verificato un errore con la tua richiesta. Riprova più tardi."
|
74 |
|
75 |
-
#: includes/class-yit-plugin-panel-woocommerce.php:
|
76 |
msgid "The changes you have made will be lost if you leave this page."
|
77 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
78 |
|
@@ -84,17 +84,17 @@ msgstr "Impostazioni plugin"
|
|
84 |
msgid "Settings"
|
85 |
msgstr "Impostazioni"
|
86 |
|
87 |
-
#: includes/class-yit-plugin-panel.php:
|
88 |
-
#: includes/class-yit-plugin-panel.php:
|
89 |
msgid "How to install premium version"
|
90 |
msgstr "Come installare la versione premium"
|
91 |
|
92 |
-
#: includes/class-yit-plugin-panel.php:
|
93 |
#: includes/class-yit-plugin-subpanel.php:132
|
94 |
msgid "Save Changes"
|
95 |
msgstr "Salva modifiche"
|
96 |
|
97 |
-
#: includes/class-yit-plugin-panel.php:
|
98 |
#: includes/class-yit-plugin-subpanel.php:136
|
99 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
100 |
msgid ""
|
@@ -103,72 +103,72 @@ msgstr ""
|
|
103 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
104 |
"reimpostate."
|
105 |
|
106 |
-
#: includes/class-yit-plugin-panel.php:
|
107 |
#: includes/class-yit-plugin-subpanel.php:136
|
108 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
109 |
msgid "Are you sure?"
|
110 |
msgstr "Sei sicuro?"
|
111 |
|
112 |
-
#: includes/class-yit-plugin-panel.php:
|
113 |
#: includes/class-yit-plugin-subpanel.php:139
|
114 |
msgid "Reset to default"
|
115 |
msgstr "Ripristina configurazione predefinita"
|
116 |
|
117 |
-
#: includes/class-yit-plugin-panel.php:
|
118 |
msgid ""
|
119 |
"The element you have entered already exists. Please, enter another name."
|
120 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
121 |
|
122 |
-
#: includes/class-yit-plugin-panel.php:
|
123 |
msgid "Settings saved"
|
124 |
msgstr "Impostazioni salvate"
|
125 |
|
126 |
-
#: includes/class-yit-plugin-panel.php:
|
127 |
msgid "Settings reset"
|
128 |
msgstr "Impostazioni azzerate"
|
129 |
|
130 |
-
#: includes/class-yit-plugin-panel.php:
|
131 |
msgid "Element deleted correctly."
|
132 |
msgstr "Elemento rimosso correttamente."
|
133 |
|
134 |
-
#: includes/class-yit-plugin-panel.php:
|
135 |
-
#: includes/class-yit-plugin-panel.php:
|
136 |
msgid "Element updated correctly."
|
137 |
msgstr "Elemento aggiornato correttamente."
|
138 |
|
139 |
-
#: includes/class-yit-plugin-panel.php:
|
140 |
msgid "Database imported correctly."
|
141 |
msgstr "Database importato correttamente."
|
142 |
|
143 |
-
#: includes/class-yit-plugin-panel.php:
|
144 |
msgid "An error has occurred during import. Please try again."
|
145 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
146 |
|
147 |
-
#: includes/class-yit-plugin-panel.php:
|
148 |
msgid "The added file is not valid."
|
149 |
msgstr "Il file aggiunto non è valido."
|
150 |
|
151 |
-
#: includes/class-yit-plugin-panel.php:
|
152 |
msgid "Sorry, import is disabled."
|
153 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
154 |
|
155 |
-
#: includes/class-yit-plugin-panel.php:
|
156 |
msgid "Sorting successful."
|
157 |
msgstr "Ordinamento effettuato con successo."
|
158 |
|
159 |
-
#: includes/class-yit-plugin-panel.php:
|
160 |
msgid "We need your support"
|
161 |
msgstr "Abbiamo bisogno del tuo sostegno"
|
162 |
|
163 |
-
#: includes/class-yit-plugin-panel.php:
|
164 |
msgid "to keep updating and improving the plugin. Please,"
|
165 |
msgstr "per poter continuare ad aggiornare e migliorare il plugin."
|
166 |
|
167 |
-
#: includes/class-yit-plugin-panel.php:
|
168 |
msgid "help us by leaving a good review"
|
169 |
msgstr "Puoi darci una mano lasciando una recensione positiva"
|
170 |
|
171 |
-
#: includes/class-yit-plugin-panel.php:
|
172 |
msgid ":) Thanks!"
|
173 |
msgstr ":) Grazie!"
|
174 |
|
@@ -726,18 +726,18 @@ msgctxt "Delete confirmation action"
|
|
726 |
msgid "Yes, delete"
|
727 |
msgstr "Sì, elimina"
|
728 |
|
729 |
-
#: includes/class-yit-plugin-panel.php:
|
730 |
msgctxt "Help tab name"
|
731 |
msgid "Help"
|
732 |
msgstr "Help"
|
733 |
|
734 |
#. translators: 1. Plugin name.
|
735 |
-
#: includes/class-yit-plugin-panel.php:
|
736 |
msgctxt "Help tab default title"
|
737 |
msgid "Thank you for purchasing %s!"
|
738 |
msgstr "Grazie per aver acquistato %s!"
|
739 |
|
740 |
-
#: includes/class-yit-plugin-panel.php:
|
741 |
msgctxt "Help tab default description"
|
742 |
msgid ""
|
743 |
"We want to help you to enjoy a wonderful experience with all our products."
|
@@ -745,6 +745,11 @@ msgstr ""
|
|
745 |
"Vogliamo aiutarti ad avere un'esperienza fantastica con tutti i nostri "
|
746 |
"prodotti."
|
747 |
|
|
|
|
|
|
|
|
|
|
|
748 |
#: includes/class-yith-dashboard.php:96
|
749 |
msgctxt "Plugin FW"
|
750 |
msgid "View Changelog"
|
@@ -933,6 +938,37 @@ msgctxt "Help tab submit ticket button"
|
|
933 |
msgid "Submit a ticket"
|
934 |
msgstr "Invia un ticket"
|
935 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
936 |
#: yit-functions.php:1925
|
937 |
msgctxt "Post action"
|
938 |
msgid "Preview"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-12-13 14:46:02+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-12-13 12:05:30+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
72 |
msgid "There was an error with your request; please try again later."
|
73 |
msgstr "Si è verificato un errore con la tua richiesta. Riprova più tardi."
|
74 |
|
75 |
+
#: includes/class-yit-plugin-panel-woocommerce.php:430
|
76 |
msgid "The changes you have made will be lost if you leave this page."
|
77 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
78 |
|
84 |
msgid "Settings"
|
85 |
msgstr "Impostazioni"
|
86 |
|
87 |
+
#: includes/class-yit-plugin-panel.php:455
|
88 |
+
#: includes/class-yit-plugin-panel.php:458
|
89 |
msgid "How to install premium version"
|
90 |
msgstr "Come installare la versione premium"
|
91 |
|
92 |
+
#: includes/class-yit-plugin-panel.php:659
|
93 |
#: includes/class-yit-plugin-subpanel.php:132
|
94 |
msgid "Save Changes"
|
95 |
msgstr "Salva modifiche"
|
96 |
|
97 |
+
#: includes/class-yit-plugin-panel.php:664
|
98 |
#: includes/class-yit-plugin-subpanel.php:136
|
99 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
100 |
msgid ""
|
103 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
104 |
"reimpostate."
|
105 |
|
106 |
+
#: includes/class-yit-plugin-panel.php:664
|
107 |
#: includes/class-yit-plugin-subpanel.php:136
|
108 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
109 |
msgid "Are you sure?"
|
110 |
msgstr "Sei sicuro?"
|
111 |
|
112 |
+
#: includes/class-yit-plugin-panel.php:668
|
113 |
#: includes/class-yit-plugin-subpanel.php:139
|
114 |
msgid "Reset to default"
|
115 |
msgstr "Ripristina configurazione predefinita"
|
116 |
|
117 |
+
#: includes/class-yit-plugin-panel.php:1047
|
118 |
msgid ""
|
119 |
"The element you have entered already exists. Please, enter another name."
|
120 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
121 |
|
122 |
+
#: includes/class-yit-plugin-panel.php:1048
|
123 |
msgid "Settings saved"
|
124 |
msgstr "Impostazioni salvate"
|
125 |
|
126 |
+
#: includes/class-yit-plugin-panel.php:1049
|
127 |
msgid "Settings reset"
|
128 |
msgstr "Impostazioni azzerate"
|
129 |
|
130 |
+
#: includes/class-yit-plugin-panel.php:1050
|
131 |
msgid "Element deleted correctly."
|
132 |
msgstr "Elemento rimosso correttamente."
|
133 |
|
134 |
+
#: includes/class-yit-plugin-panel.php:1051
|
135 |
+
#: includes/class-yit-plugin-panel.php:1052
|
136 |
msgid "Element updated correctly."
|
137 |
msgstr "Elemento aggiornato correttamente."
|
138 |
|
139 |
+
#: includes/class-yit-plugin-panel.php:1053
|
140 |
msgid "Database imported correctly."
|
141 |
msgstr "Database importato correttamente."
|
142 |
|
143 |
+
#: includes/class-yit-plugin-panel.php:1054
|
144 |
msgid "An error has occurred during import. Please try again."
|
145 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
146 |
|
147 |
+
#: includes/class-yit-plugin-panel.php:1055
|
148 |
msgid "The added file is not valid."
|
149 |
msgstr "Il file aggiunto non è valido."
|
150 |
|
151 |
+
#: includes/class-yit-plugin-panel.php:1056
|
152 |
msgid "Sorry, import is disabled."
|
153 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
154 |
|
155 |
+
#: includes/class-yit-plugin-panel.php:1057
|
156 |
msgid "Sorting successful."
|
157 |
msgstr "Ordinamento effettuato con successo."
|
158 |
|
159 |
+
#: includes/class-yit-plugin-panel.php:1525
|
160 |
msgid "We need your support"
|
161 |
msgstr "Abbiamo bisogno del tuo sostegno"
|
162 |
|
163 |
+
#: includes/class-yit-plugin-panel.php:1526
|
164 |
msgid "to keep updating and improving the plugin. Please,"
|
165 |
msgstr "per poter continuare ad aggiornare e migliorare il plugin."
|
166 |
|
167 |
+
#: includes/class-yit-plugin-panel.php:1528
|
168 |
msgid "help us by leaving a good review"
|
169 |
msgstr "Puoi darci una mano lasciando una recensione positiva"
|
170 |
|
171 |
+
#: includes/class-yit-plugin-panel.php:1529
|
172 |
msgid ":) Thanks!"
|
173 |
msgstr ":) Grazie!"
|
174 |
|
726 |
msgid "Yes, delete"
|
727 |
msgstr "Sì, elimina"
|
728 |
|
729 |
+
#: includes/class-yit-plugin-panel.php:492
|
730 |
msgctxt "Help tab name"
|
731 |
msgid "Help"
|
732 |
msgstr "Help"
|
733 |
|
734 |
#. translators: 1. Plugin name.
|
735 |
+
#: includes/class-yit-plugin-panel.php:805
|
736 |
msgctxt "Help tab default title"
|
737 |
msgid "Thank you for purchasing %s!"
|
738 |
msgstr "Grazie per aver acquistato %s!"
|
739 |
|
740 |
+
#: includes/class-yit-plugin-panel.php:806
|
741 |
msgctxt "Help tab default description"
|
742 |
msgid ""
|
743 |
"We want to help you to enjoy a wonderful experience with all our products."
|
745 |
"Vogliamo aiutarti ad avere un'esperienza fantastica con tutti i nostri "
|
746 |
"prodotti."
|
747 |
|
748 |
+
#: includes/class-yit-plugin-panel.php:853
|
749 |
+
msgctxt "Premium tab name"
|
750 |
+
msgid "Get premium"
|
751 |
+
msgstr "Diventa premium"
|
752 |
+
|
753 |
#: includes/class-yith-dashboard.php:96
|
754 |
msgctxt "Plugin FW"
|
755 |
msgid "View Changelog"
|
938 |
msgid "Submit a ticket"
|
939 |
msgstr "Invia un ticket"
|
940 |
|
941 |
+
#: templates/panel/premium-tab.php:30
|
942 |
+
msgctxt "Premium Tab"
|
943 |
+
msgid "Get the premium version to unlock advanced features"
|
944 |
+
msgstr "Ottieni la versione premium per sbloccare le funzionalità avanzate"
|
945 |
+
|
946 |
+
#: templates/panel/premium-tab.php:34
|
947 |
+
msgctxt "Premium Tab"
|
948 |
+
msgid "Get premium"
|
949 |
+
msgstr "Diventa premium"
|
950 |
+
|
951 |
+
#: templates/panel/premium-tab.php:39
|
952 |
+
msgctxt "Premium Tab"
|
953 |
+
msgid "Plugin premium features images"
|
954 |
+
msgstr "Immagini funzionalità premium"
|
955 |
+
|
956 |
+
#. translators: alt attribute of main image tag.
|
957 |
+
#: templates/panel/premium-tab.php:51
|
958 |
+
msgctxt "Premium Tab"
|
959 |
+
msgid "And so much more!"
|
960 |
+
msgstr "E molto altro!"
|
961 |
+
|
962 |
+
#: templates/panel/premium-tab.php:53
|
963 |
+
msgctxt "Premium Tab"
|
964 |
+
msgid "Check the free vs premium features >"
|
965 |
+
msgstr "Confronta le funzionalità gratuite e premium >"
|
966 |
+
|
967 |
+
#: templates/panel/premium-tab.php:58
|
968 |
+
msgctxt "Premium Tab"
|
969 |
+
msgid "Get the premium version"
|
970 |
+
msgstr "Ottieni la versione premium"
|
971 |
+
|
972 |
#: yit-functions.php:1925
|
973 |
msgctxt "Post action"
|
974 |
msgid "Preview"
|
plugin-fw/languages/yith-plugin-fw-nl_NL.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-nl_NL.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-12-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -75,7 +75,7 @@ msgid "There was an error with your request; please try again later."
|
|
75 |
msgstr ""
|
76 |
"Er is een fout opgetreden met je verzoek, probeer het later opnieuw a.u.b."
|
77 |
|
78 |
-
#: includes/class-yit-plugin-panel-woocommerce.php:
|
79 |
msgid "The changes you have made will be lost if you leave this page."
|
80 |
msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
|
81 |
|
@@ -87,17 +87,17 @@ msgstr "Plugin instellingen"
|
|
87 |
msgid "Settings"
|
88 |
msgstr "Instellingen"
|
89 |
|
90 |
-
#: includes/class-yit-plugin-panel.php:
|
91 |
-
#: includes/class-yit-plugin-panel.php:
|
92 |
msgid "How to install premium version"
|
93 |
msgstr "Hoe installeer ik de premium versie"
|
94 |
|
95 |
-
#: includes/class-yit-plugin-panel.php:
|
96 |
#: includes/class-yit-plugin-subpanel.php:132
|
97 |
msgid "Save Changes"
|
98 |
msgstr "Wijzigingen opslaan"
|
99 |
|
100 |
-
#: includes/class-yit-plugin-panel.php:
|
101 |
#: includes/class-yit-plugin-subpanel.php:136
|
102 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
103 |
msgid ""
|
@@ -105,72 +105,72 @@ msgid ""
|
|
105 |
msgstr ""
|
106 |
"Als je doorgaat met deze actie, zal je alle opties op deze pagina resetten."
|
107 |
|
108 |
-
#: includes/class-yit-plugin-panel.php:
|
109 |
#: includes/class-yit-plugin-subpanel.php:136
|
110 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
111 |
msgid "Are you sure?"
|
112 |
msgstr "Weet je het zeker?"
|
113 |
|
114 |
-
#: includes/class-yit-plugin-panel.php:
|
115 |
#: includes/class-yit-plugin-subpanel.php:139
|
116 |
msgid "Reset to default"
|
117 |
msgstr "Resetten naar standaard"
|
118 |
|
119 |
-
#: includes/class-yit-plugin-panel.php:
|
120 |
msgid ""
|
121 |
"The element you have entered already exists. Please, enter another name."
|
122 |
msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
|
123 |
|
124 |
-
#: includes/class-yit-plugin-panel.php:
|
125 |
msgid "Settings saved"
|
126 |
msgstr "Instellingen opgeslagen"
|
127 |
|
128 |
-
#: includes/class-yit-plugin-panel.php:
|
129 |
msgid "Settings reset"
|
130 |
msgstr "Instellingen resetten"
|
131 |
|
132 |
-
#: includes/class-yit-plugin-panel.php:
|
133 |
msgid "Element deleted correctly."
|
134 |
msgstr "Element juist verwijderd."
|
135 |
|
136 |
-
#: includes/class-yit-plugin-panel.php:
|
137 |
-
#: includes/class-yit-plugin-panel.php:
|
138 |
msgid "Element updated correctly."
|
139 |
msgstr "Element juist geüpdatet."
|
140 |
|
141 |
-
#: includes/class-yit-plugin-panel.php:
|
142 |
msgid "Database imported correctly."
|
143 |
msgstr "Database juist geïmporteerd."
|
144 |
|
145 |
-
#: includes/class-yit-plugin-panel.php:
|
146 |
msgid "An error has occurred during import. Please try again."
|
147 |
msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
|
148 |
|
149 |
-
#: includes/class-yit-plugin-panel.php:
|
150 |
msgid "The added file is not valid."
|
151 |
msgstr "Het toegevoegde bestand is niet geldig."
|
152 |
|
153 |
-
#: includes/class-yit-plugin-panel.php:
|
154 |
msgid "Sorry, import is disabled."
|
155 |
msgstr "Sorry, importeren is uitgeschakeld."
|
156 |
|
157 |
-
#: includes/class-yit-plugin-panel.php:
|
158 |
msgid "Sorting successful."
|
159 |
msgstr "Succesvol gesorteerd."
|
160 |
|
161 |
-
#: includes/class-yit-plugin-panel.php:
|
162 |
msgid "We need your support"
|
163 |
msgstr "We hebben je hulp nodig"
|
164 |
|
165 |
-
#: includes/class-yit-plugin-panel.php:
|
166 |
msgid "to keep updating and improving the plugin. Please,"
|
167 |
msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
|
168 |
|
169 |
-
#: includes/class-yit-plugin-panel.php:
|
170 |
msgid "help us by leaving a good review"
|
171 |
msgstr "help ons door een goede beoordeling achter te laten"
|
172 |
|
173 |
-
#: includes/class-yit-plugin-panel.php:
|
174 |
msgid ":) Thanks!"
|
175 |
msgstr ":) Bedankt!"
|
176 |
|
@@ -726,18 +726,18 @@ msgctxt "Delete confirmation action"
|
|
726 |
msgid "Yes, delete"
|
727 |
msgstr "Ja, verwijderen"
|
728 |
|
729 |
-
#: includes/class-yit-plugin-panel.php:
|
730 |
msgctxt "Help tab name"
|
731 |
msgid "Help"
|
732 |
msgstr "Help"
|
733 |
|
734 |
#. translators: 1. Plugin name.
|
735 |
-
#: includes/class-yit-plugin-panel.php:
|
736 |
msgctxt "Help tab default title"
|
737 |
msgid "Thank you for purchasing %s!"
|
738 |
msgstr "Bedankt voor het kopen van %s!"
|
739 |
|
740 |
-
#: includes/class-yit-plugin-panel.php:
|
741 |
msgctxt "Help tab default description"
|
742 |
msgid ""
|
743 |
"We want to help you to enjoy a wonderful experience with all our products."
|
@@ -745,6 +745,11 @@ msgstr ""
|
|
745 |
"We willen je helpen om te genieten van de geweldige ervaringen met al onze "
|
746 |
"producten."
|
747 |
|
|
|
|
|
|
|
|
|
|
|
748 |
#: includes/class-yith-dashboard.php:96
|
749 |
msgctxt "Plugin FW"
|
750 |
msgid "View Changelog"
|
@@ -932,6 +937,37 @@ msgctxt "Help tab submit ticket button"
|
|
932 |
msgid "Submit a ticket"
|
933 |
msgstr "Verstuur een ticket"
|
934 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
935 |
#: yit-functions.php:1925
|
936 |
msgctxt "Post action"
|
937 |
msgid "Preview"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-12-13 14:46:02+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
75 |
msgstr ""
|
76 |
"Er is een fout opgetreden met je verzoek, probeer het later opnieuw a.u.b."
|
77 |
|
78 |
+
#: includes/class-yit-plugin-panel-woocommerce.php:430
|
79 |
msgid "The changes you have made will be lost if you leave this page."
|
80 |
msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
|
81 |
|
87 |
msgid "Settings"
|
88 |
msgstr "Instellingen"
|
89 |
|
90 |
+
#: includes/class-yit-plugin-panel.php:455
|
91 |
+
#: includes/class-yit-plugin-panel.php:458
|
92 |
msgid "How to install premium version"
|
93 |
msgstr "Hoe installeer ik de premium versie"
|
94 |
|
95 |
+
#: includes/class-yit-plugin-panel.php:659
|
96 |
#: includes/class-yit-plugin-subpanel.php:132
|
97 |
msgid "Save Changes"
|
98 |
msgstr "Wijzigingen opslaan"
|
99 |
|
100 |
+
#: includes/class-yit-plugin-panel.php:664
|
101 |
#: includes/class-yit-plugin-subpanel.php:136
|
102 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
103 |
msgid ""
|
105 |
msgstr ""
|
106 |
"Als je doorgaat met deze actie, zal je alle opties op deze pagina resetten."
|
107 |
|
108 |
+
#: includes/class-yit-plugin-panel.php:664
|
109 |
#: includes/class-yit-plugin-subpanel.php:136
|
110 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
111 |
msgid "Are you sure?"
|
112 |
msgstr "Weet je het zeker?"
|
113 |
|
114 |
+
#: includes/class-yit-plugin-panel.php:668
|
115 |
#: includes/class-yit-plugin-subpanel.php:139
|
116 |
msgid "Reset to default"
|
117 |
msgstr "Resetten naar standaard"
|
118 |
|
119 |
+
#: includes/class-yit-plugin-panel.php:1047
|
120 |
msgid ""
|
121 |
"The element you have entered already exists. Please, enter another name."
|
122 |
msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
|
123 |
|
124 |
+
#: includes/class-yit-plugin-panel.php:1048
|
125 |
msgid "Settings saved"
|
126 |
msgstr "Instellingen opgeslagen"
|
127 |
|
128 |
+
#: includes/class-yit-plugin-panel.php:1049
|
129 |
msgid "Settings reset"
|
130 |
msgstr "Instellingen resetten"
|
131 |
|
132 |
+
#: includes/class-yit-plugin-panel.php:1050
|
133 |
msgid "Element deleted correctly."
|
134 |
msgstr "Element juist verwijderd."
|
135 |
|
136 |
+
#: includes/class-yit-plugin-panel.php:1051
|
137 |
+
#: includes/class-yit-plugin-panel.php:1052
|
138 |
msgid "Element updated correctly."
|
139 |
msgstr "Element juist geüpdatet."
|
140 |
|
141 |
+
#: includes/class-yit-plugin-panel.php:1053
|
142 |
msgid "Database imported correctly."
|
143 |
msgstr "Database juist geïmporteerd."
|
144 |
|
145 |
+
#: includes/class-yit-plugin-panel.php:1054
|
146 |
msgid "An error has occurred during import. Please try again."
|
147 |
msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
|
148 |
|
149 |
+
#: includes/class-yit-plugin-panel.php:1055
|
150 |
msgid "The added file is not valid."
|
151 |
msgstr "Het toegevoegde bestand is niet geldig."
|
152 |
|
153 |
+
#: includes/class-yit-plugin-panel.php:1056
|
154 |
msgid "Sorry, import is disabled."
|
155 |
msgstr "Sorry, importeren is uitgeschakeld."
|
156 |
|
157 |
+
#: includes/class-yit-plugin-panel.php:1057
|
158 |
msgid "Sorting successful."
|
159 |
msgstr "Succesvol gesorteerd."
|
160 |
|
161 |
+
#: includes/class-yit-plugin-panel.php:1525
|
162 |
msgid "We need your support"
|
163 |
msgstr "We hebben je hulp nodig"
|
164 |
|
165 |
+
#: includes/class-yit-plugin-panel.php:1526
|
166 |
msgid "to keep updating and improving the plugin. Please,"
|
167 |
msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
|
168 |
|
169 |
+
#: includes/class-yit-plugin-panel.php:1528
|
170 |
msgid "help us by leaving a good review"
|
171 |
msgstr "help ons door een goede beoordeling achter te laten"
|
172 |
|
173 |
+
#: includes/class-yit-plugin-panel.php:1529
|
174 |
msgid ":) Thanks!"
|
175 |
msgstr ":) Bedankt!"
|
176 |
|
726 |
msgid "Yes, delete"
|
727 |
msgstr "Ja, verwijderen"
|
728 |
|
729 |
+
#: includes/class-yit-plugin-panel.php:492
|
730 |
msgctxt "Help tab name"
|
731 |
msgid "Help"
|
732 |
msgstr "Help"
|
733 |
|
734 |
#. translators: 1. Plugin name.
|
735 |
+
#: includes/class-yit-plugin-panel.php:805
|
736 |
msgctxt "Help tab default title"
|
737 |
msgid "Thank you for purchasing %s!"
|
738 |
msgstr "Bedankt voor het kopen van %s!"
|
739 |
|
740 |
+
#: includes/class-yit-plugin-panel.php:806
|
741 |
msgctxt "Help tab default description"
|
742 |
msgid ""
|
743 |
"We want to help you to enjoy a wonderful experience with all our products."
|
745 |
"We willen je helpen om te genieten van de geweldige ervaringen met al onze "
|
746 |
"producten."
|
747 |
|
748 |
+
#: includes/class-yit-plugin-panel.php:853
|
749 |
+
msgctxt "Premium tab name"
|
750 |
+
msgid "Get premium"
|
751 |
+
msgstr "Neem premium"
|
752 |
+
|
753 |
#: includes/class-yith-dashboard.php:96
|
754 |
msgctxt "Plugin FW"
|
755 |
msgid "View Changelog"
|
937 |
msgid "Submit a ticket"
|
938 |
msgstr "Verstuur een ticket"
|
939 |
|
940 |
+
#: templates/panel/premium-tab.php:30
|
941 |
+
msgctxt "Premium Tab"
|
942 |
+
msgid "Get the premium version to unlock advanced features"
|
943 |
+
msgstr "Neem de premium versie om geavanceerde opties te deblokkeren"
|
944 |
+
|
945 |
+
#: templates/panel/premium-tab.php:34
|
946 |
+
msgctxt "Premium Tab"
|
947 |
+
msgid "Get premium"
|
948 |
+
msgstr "Neem premium"
|
949 |
+
|
950 |
+
#: templates/panel/premium-tab.php:39
|
951 |
+
msgctxt "Premium Tab"
|
952 |
+
msgid "Plugin premium features images"
|
953 |
+
msgstr "Plugin premium opties afbeeldingen"
|
954 |
+
|
955 |
+
#. translators: alt attribute of main image tag.
|
956 |
+
#: templates/panel/premium-tab.php:51
|
957 |
+
msgctxt "Premium Tab"
|
958 |
+
msgid "And so much more!"
|
959 |
+
msgstr "En zo veel meer!"
|
960 |
+
|
961 |
+
#: templates/panel/premium-tab.php:53
|
962 |
+
msgctxt "Premium Tab"
|
963 |
+
msgid "Check the free vs premium features >"
|
964 |
+
msgstr "Bekijk de gratis vs premium opties >"
|
965 |
+
|
966 |
+
#: templates/panel/premium-tab.php:58
|
967 |
+
msgctxt "Premium Tab"
|
968 |
+
msgid "Get the premium version"
|
969 |
+
msgstr "Krijg de premium versie"
|
970 |
+
|
971 |
#: yit-functions.php:1925
|
972 |
msgctxt "Post action"
|
973 |
msgid "Preview"
|
plugin-fw/languages/yith-plugin-fw.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-12-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -80,7 +80,7 @@ msgstr ""
|
|
80 |
msgid "There was an error with your request; please try again later."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: includes/class-yit-plugin-panel-woocommerce.php:
|
84 |
msgid "The changes you have made will be lost if you leave this page."
|
85 |
msgstr ""
|
86 |
|
@@ -92,87 +92,87 @@ msgstr ""
|
|
92 |
msgid "Settings"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: includes/class-yit-plugin-panel.php:
|
96 |
-
#: includes/class-yit-plugin-panel.php:
|
97 |
msgid "How to install premium version"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: includes/class-yit-plugin-panel.php:
|
101 |
#: includes/class-yit-plugin-subpanel.php:132
|
102 |
msgid "Save Changes"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: includes/class-yit-plugin-panel.php:
|
106 |
#: includes/class-yit-plugin-subpanel.php:136
|
107 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
108 |
msgid "If you continue with this action, you will reset all options in this page."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: includes/class-yit-plugin-panel.php:
|
112 |
#: includes/class-yit-plugin-subpanel.php:136
|
113 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
114 |
msgid "Are you sure?"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: includes/class-yit-plugin-panel.php:
|
118 |
#: includes/class-yit-plugin-subpanel.php:139
|
119 |
msgid "Reset to default"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/class-yit-plugin-panel.php:
|
123 |
msgid "The element you have entered already exists. Please, enter another name."
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: includes/class-yit-plugin-panel.php:
|
127 |
msgid "Settings saved"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: includes/class-yit-plugin-panel.php:
|
131 |
msgid "Settings reset"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: includes/class-yit-plugin-panel.php:
|
135 |
msgid "Element deleted correctly."
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: includes/class-yit-plugin-panel.php:
|
139 |
-
#: includes/class-yit-plugin-panel.php:
|
140 |
msgid "Element updated correctly."
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: includes/class-yit-plugin-panel.php:
|
144 |
msgid "Database imported correctly."
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: includes/class-yit-plugin-panel.php:
|
148 |
msgid "An error has occurred during import. Please try again."
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: includes/class-yit-plugin-panel.php:
|
152 |
msgid "The added file is not valid."
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: includes/class-yit-plugin-panel.php:
|
156 |
msgid "Sorry, import is disabled."
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: includes/class-yit-plugin-panel.php:
|
160 |
msgid "Sorting successful."
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: includes/class-yit-plugin-panel.php:
|
164 |
msgid "We need your support"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: includes/class-yit-plugin-panel.php:
|
168 |
msgid "to keep updating and improving the plugin. Please,"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: includes/class-yit-plugin-panel.php:
|
172 |
msgid "help us by leaving a good review"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: includes/class-yit-plugin-panel.php:
|
176 |
msgid ":) Thanks!"
|
177 |
msgstr ""
|
178 |
|
@@ -703,22 +703,27 @@ msgctxt "Delete confirmation action"
|
|
703 |
msgid "Yes, delete"
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: includes/class-yit-plugin-panel.php:
|
707 |
msgctxt "Help tab name"
|
708 |
msgid "Help"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: includes/class-yit-plugin-panel.php:
|
712 |
#. translators: 1. Plugin name.
|
713 |
msgctxt "Help tab default title"
|
714 |
msgid "Thank you for purchasing %s!"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: includes/class-yit-plugin-panel.php:
|
718 |
msgctxt "Help tab default description"
|
719 |
msgid "We want to help you to enjoy a wonderful experience with all our products."
|
720 |
msgstr ""
|
721 |
|
|
|
|
|
|
|
|
|
|
|
722 |
#: includes/class-yith-dashboard.php:96
|
723 |
msgctxt "Plugin FW"
|
724 |
msgid "View Changelog"
|
@@ -896,6 +901,37 @@ msgctxt "Help tab submit ticket button"
|
|
896 |
msgid "Submit a ticket"
|
897 |
msgstr ""
|
898 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
899 |
#: yit-functions.php:1925
|
900 |
msgctxt "Post action"
|
901 |
msgid "Preview"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-12-13 14:46:02+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
80 |
msgid "There was an error with your request; please try again later."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/class-yit-plugin-panel-woocommerce.php:430
|
84 |
msgid "The changes you have made will be lost if you leave this page."
|
85 |
msgstr ""
|
86 |
|
92 |
msgid "Settings"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: includes/class-yit-plugin-panel.php:455
|
96 |
+
#: includes/class-yit-plugin-panel.php:458
|
97 |
msgid "How to install premium version"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/class-yit-plugin-panel.php:659
|
101 |
#: includes/class-yit-plugin-subpanel.php:132
|
102 |
msgid "Save Changes"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: includes/class-yit-plugin-panel.php:664
|
106 |
#: includes/class-yit-plugin-subpanel.php:136
|
107 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
108 |
msgid "If you continue with this action, you will reset all options in this page."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/class-yit-plugin-panel.php:664
|
112 |
#: includes/class-yit-plugin-subpanel.php:136
|
113 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
114 |
msgid "Are you sure?"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/class-yit-plugin-panel.php:668
|
118 |
#: includes/class-yit-plugin-subpanel.php:139
|
119 |
msgid "Reset to default"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: includes/class-yit-plugin-panel.php:1047
|
123 |
msgid "The element you have entered already exists. Please, enter another name."
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: includes/class-yit-plugin-panel.php:1048
|
127 |
msgid "Settings saved"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: includes/class-yit-plugin-panel.php:1049
|
131 |
msgid "Settings reset"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: includes/class-yit-plugin-panel.php:1050
|
135 |
msgid "Element deleted correctly."
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: includes/class-yit-plugin-panel.php:1051
|
139 |
+
#: includes/class-yit-plugin-panel.php:1052
|
140 |
msgid "Element updated correctly."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: includes/class-yit-plugin-panel.php:1053
|
144 |
msgid "Database imported correctly."
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: includes/class-yit-plugin-panel.php:1054
|
148 |
msgid "An error has occurred during import. Please try again."
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: includes/class-yit-plugin-panel.php:1055
|
152 |
msgid "The added file is not valid."
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: includes/class-yit-plugin-panel.php:1056
|
156 |
msgid "Sorry, import is disabled."
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: includes/class-yit-plugin-panel.php:1057
|
160 |
msgid "Sorting successful."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: includes/class-yit-plugin-panel.php:1525
|
164 |
msgid "We need your support"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: includes/class-yit-plugin-panel.php:1526
|
168 |
msgid "to keep updating and improving the plugin. Please,"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/class-yit-plugin-panel.php:1528
|
172 |
msgid "help us by leaving a good review"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/class-yit-plugin-panel.php:1529
|
176 |
msgid ":) Thanks!"
|
177 |
msgstr ""
|
178 |
|
703 |
msgid "Yes, delete"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: includes/class-yit-plugin-panel.php:492
|
707 |
msgctxt "Help tab name"
|
708 |
msgid "Help"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/class-yit-plugin-panel.php:805
|
712 |
#. translators: 1. Plugin name.
|
713 |
msgctxt "Help tab default title"
|
714 |
msgid "Thank you for purchasing %s!"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: includes/class-yit-plugin-panel.php:806
|
718 |
msgctxt "Help tab default description"
|
719 |
msgid "We want to help you to enjoy a wonderful experience with all our products."
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: includes/class-yit-plugin-panel.php:853
|
723 |
+
msgctxt "Premium tab name"
|
724 |
+
msgid "Get premium"
|
725 |
+
msgstr ""
|
726 |
+
|
727 |
#: includes/class-yith-dashboard.php:96
|
728 |
msgctxt "Plugin FW"
|
729 |
msgid "View Changelog"
|
901 |
msgid "Submit a ticket"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: templates/panel/premium-tab.php:30
|
905 |
+
msgctxt "Premium Tab"
|
906 |
+
msgid "Get the premium version to unlock advanced features"
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#: templates/panel/premium-tab.php:34
|
910 |
+
msgctxt "Premium Tab"
|
911 |
+
msgid "Get premium"
|
912 |
+
msgstr ""
|
913 |
+
|
914 |
+
#: templates/panel/premium-tab.php:39
|
915 |
+
msgctxt "Premium Tab"
|
916 |
+
msgid "Plugin premium features images"
|
917 |
+
msgstr ""
|
918 |
+
|
919 |
+
#: templates/panel/premium-tab.php:51
|
920 |
+
#. translators: alt attribute of main image tag.
|
921 |
+
msgctxt "Premium Tab"
|
922 |
+
msgid "And so much more!"
|
923 |
+
msgstr ""
|
924 |
+
|
925 |
+
#: templates/panel/premium-tab.php:53
|
926 |
+
msgctxt "Premium Tab"
|
927 |
+
msgid "Check the free vs premium features >"
|
928 |
+
msgstr ""
|
929 |
+
|
930 |
+
#: templates/panel/premium-tab.php:58
|
931 |
+
msgctxt "Premium Tab"
|
932 |
+
msgid "Get the premium version"
|
933 |
+
msgstr ""
|
934 |
+
|
935 |
#: yit-functions.php:1925
|
936 |
msgctxt "Post action"
|
937 |
msgid "Preview"
|
plugin-fw/phpcs.xml
CHANGED
@@ -24,6 +24,9 @@
|
|
24 |
<!-- Check up to 8 files simultaneously. -->
|
25 |
<arg name="parallel" value="8"/>
|
26 |
|
|
|
|
|
|
|
27 |
<!-- Configs -->
|
28 |
<config name="minimum_supported_wp_version" value="5.2"/>
|
29 |
<!-- Check for cross-version support for PHP 5.6 and higher. -->
|
24 |
<!-- Check up to 8 files simultaneously. -->
|
25 |
<arg name="parallel" value="8"/>
|
26 |
|
27 |
+
<!-- Only scan PHP files. -->
|
28 |
+
<arg name="extensions" value="php"/>
|
29 |
+
|
30 |
<!-- Configs -->
|
31 |
<config name="minimum_supported_wp_version" value="5.2"/>
|
32 |
<!-- Check for cross-version support for PHP 5.6 and higher. -->
|
plugin-fw/templates/fields/list-table.php
CHANGED
@@ -11,11 +11,11 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
|
11 |
list ( $field_id, $class, $the_title, $the_post_type, $args, $add_new_button, $add_new_url, $list_table_class, $list_table_class_dir, $search_form, $desc ) = yith_plugin_fw_extract( $field, 'id', 'class', 'title', 'post_type', 'args', 'add_new_button', 'add_new_url', 'list_table_class', 'list_table_class_dir', 'search_form', 'desc' );
|
12 |
|
13 |
$show_button = false;
|
14 |
-
if ( isset( $add_new_button ) && isset( $the_post_type ) ) {
|
15 |
$show_button = true;
|
16 |
$admin_url = admin_url( 'post-new.php' );
|
17 |
$params['post_type'] = $the_post_type;
|
18 |
-
$add_new_url = apply_filters( 'yith_plugin_fw_add_new_post_url', esc_url( add_query_arg( $params, $admin_url ) ), $params, isset( $args ) ? $args : false );
|
19 |
}
|
20 |
|
21 |
if ( isset( $list_table_class, $list_table_class_dir ) && ! class_exists( $list_table_class ) && file_exists( $list_table_class_dir ) ) {
|
11 |
list ( $field_id, $class, $the_title, $the_post_type, $args, $add_new_button, $add_new_url, $list_table_class, $list_table_class_dir, $search_form, $desc ) = yith_plugin_fw_extract( $field, 'id', 'class', 'title', 'post_type', 'args', 'add_new_button', 'add_new_url', 'list_table_class', 'list_table_class_dir', 'search_form', 'desc' );
|
12 |
|
13 |
$show_button = false;
|
14 |
+
if ( isset( $add_new_button ) && ( isset( $the_post_type ) || ( isset( $add_new_url ) ) ) ) {
|
15 |
$show_button = true;
|
16 |
$admin_url = admin_url( 'post-new.php' );
|
17 |
$params['post_type'] = $the_post_type;
|
18 |
+
$add_new_url = $add_new_url ? $add_new_url : apply_filters( 'yith_plugin_fw_add_new_post_url', esc_url( add_query_arg( $params, $admin_url ) ), $params, isset( $args ) ? $args : false );
|
19 |
}
|
20 |
|
21 |
if ( isset( $list_table_class, $list_table_class_dir ) && ! class_exists( $list_table_class ) && file_exists( $list_table_class_dir ) ) {
|
plugin-fw/templates/panel/premium-tab.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Template for displaying the Premium tab.
|
4 |
+
*
|
5 |
+
* @var array $options The premium tab options array.
|
6 |
+
* @var string $premium_url The premium landing page URL.
|
7 |
+
* @var string $plugin_slug The plugin slug.
|
8 |
+
*
|
9 |
+
* @package YITH\PluginFramework\Templates
|
10 |
+
* @author Giuseppe Arcifa <giuseppe.arcifa@yithemes.com>
|
11 |
+
* @since 3.9.0
|
12 |
+
*/
|
13 |
+
|
14 |
+
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
15 |
+
|
16 |
+
list( $premium_features, $main_image_url, $show_free_vs_premium ) = yith_plugin_fw_extract( $options, 'premium_features', 'main_image_url', 'show_free_vs_premium_link' );
|
17 |
+
|
18 |
+
$get_premium_url = yith_plugin_fw_add_utm_data( $premium_url, $plugin_slug, 'button-upgrade', 'wp-free-dashboard' );
|
19 |
+
|
20 |
+
if ( $show_free_vs_premium ) {
|
21 |
+
$free_vs_premium_url = yith_plugin_fw_add_utm_data( $premium_url, $plugin_slug, 'button-compare', 'wp-free-dashboard' );
|
22 |
+
}
|
23 |
+
|
24 |
+
?>
|
25 |
+
|
26 |
+
<div id="yith_plugin_fw_panel_premium_tab" class="yith-plugin-fw-panel-premium-tab-container">
|
27 |
+
<div class="yith-plugin-fw-panel-premium-tab">
|
28 |
+
<div class="yith-plugin-fw-panel-premium-tab__header">
|
29 |
+
<span class="yith-plugin-fw-panel-premium-tab__header-title">
|
30 |
+
<?php echo esc_html_x( 'Get the premium version to unlock advanced features', 'Premium Tab', 'yith-plugin-fw' ); ?>
|
31 |
+
</span>
|
32 |
+
<span class="yith-plugin-fw-panel-premium-tab__header-cta-arrow"></span>
|
33 |
+
<a href="<?php echo esc_url( $get_premium_url ); ?>" target="_blank" class="yith-plugin-fw-panel-premium-tab__header-cta yith-plugin-fw-panel-premium-tab__cta-button">
|
34 |
+
<?php echo esc_html_x( 'Get premium', 'Premium Tab', 'yith-plugin-fw' ); ?>
|
35 |
+
</a>
|
36 |
+
</div>
|
37 |
+
<div class="yith-plugin-fw-panel-premium-tab__content">
|
38 |
+
<?php if ( $main_image_url ) : ?>
|
39 |
+
<img class="yith-plugin-fw-panel-premium-tab__main-image" src="<?php echo esc_attr( $main_image_url ); ?>" alt="<?php esc_html_x( 'Plugin premium features images', 'Premium Tab', 'yith-plugin-fw' ); // translators: alt attribute of main image tag. ?>">
|
40 |
+
<?php endif; ?>
|
41 |
+
<div class="yith-plugin-fw-panel-premium-tab__features">
|
42 |
+
<?php foreach ( $premium_features as $premium_feature ) : ?>
|
43 |
+
<div class="yith-plugin-fw-panel-premium-tab__feature">
|
44 |
+
<span class="yith-plugin-fw-panel-premium-tab__feature-content">
|
45 |
+
<?php echo wp_kses_post( $premium_feature ); ?>
|
46 |
+
</span>
|
47 |
+
</div>
|
48 |
+
<?php endforeach; ?>
|
49 |
+
<?php if ( $show_free_vs_premium ) : ?>
|
50 |
+
<span class="yith-plugin-fw-panel-premium-tab__free-vs-premium">
|
51 |
+
<?php echo esc_html_x( 'And so much more!', 'Premium Tab', 'yith-plugin-fw' ); ?>
|
52 |
+
<a href="<?php echo esc_url( $free_vs_premium_url . '#tab-free_vs_premium_tab' ); ?>" target="_blank">
|
53 |
+
<?php echo esc_html_x( 'Check the free vs premium features >', 'Premium Tab', 'yith-plugin-fw' ); ?>
|
54 |
+
</a>
|
55 |
+
</span>
|
56 |
+
<?php endif; ?>
|
57 |
+
<a href="<?php echo esc_url( $get_premium_url ); ?>" target="_blank" class="yith-plugin-fw-panel-premium-tab__content-cta yith-plugin-fw-panel-premium-tab__cta-button">
|
58 |
+
<?php echo esc_html_x( 'Get the premium version', 'Premium Tab', 'yith-plugin-fw' ); ?>
|
59 |
+
</a>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
</div>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
|
5 |
Requires at least: 5.6
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -131,6 +131,11 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
|
|
131 |
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
|
|
|
|
134 |
= Version 2.4.0 - Released: 03 December 2021 =
|
135 |
|
136 |
* New: support for WooCommerce 6.0
|
@@ -460,7 +465,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
|
|
460 |
|
461 |
== Upgrade Notice ==
|
462 |
|
463 |
-
Last Stable Tag 2.
|
464 |
|
465 |
== Suggestions ==
|
466 |
|
4 |
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
|
5 |
Requires at least: 5.6
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 2.5.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= Version 2.5.0 - Released: 30 December 2021 =
|
135 |
+
|
136 |
+
* New: support for WooCommerce 6.1
|
137 |
+
* Update: YITH plugin framework
|
138 |
+
|
139 |
= Version 2.4.0 - Released: 03 December 2021 =
|
140 |
|
141 |
* New: support for WooCommerce 6.0
|
465 |
|
466 |
== Upgrade Notice ==
|
467 |
|
468 |
+
Last Stable Tag 2.5.0
|
469 |
|
470 |
== Suggestions ==
|
471 |
|
templates/admin/premium.php
DELETED
@@ -1,346 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* This file belongs to the YITH Plugin Framework.
|
4 |
-
*
|
5 |
-
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
-
* that is bundled with this package in the file LICENSE.txt.
|
7 |
-
* It is also available through the world-wide-web at this URL:
|
8 |
-
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
-
*
|
10 |
-
* @package YITH WooCommerce Catalog Mode
|
11 |
-
*/
|
12 |
-
|
13 |
-
?>
|
14 |
-
<style type="text/css">
|
15 |
-
|
16 |
-
img {
|
17 |
-
width: 90%;
|
18 |
-
}
|
19 |
-
|
20 |
-
.landing {
|
21 |
-
margin-right: 15px;
|
22 |
-
border: 1px solid #d8d8d8;
|
23 |
-
border-top: 0;
|
24 |
-
}
|
25 |
-
|
26 |
-
.section {
|
27 |
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
28 |
-
background: #fafafa;
|
29 |
-
}
|
30 |
-
|
31 |
-
.section h1 {
|
32 |
-
text-align: center;
|
33 |
-
text-transform: uppercase;
|
34 |
-
color: #445674;
|
35 |
-
font-size: 35px;
|
36 |
-
font-weight: 700;
|
37 |
-
line-height: normal;
|
38 |
-
display: inline-block;
|
39 |
-
width: 100%;
|
40 |
-
margin: 50px 0 0;
|
41 |
-
}
|
42 |
-
|
43 |
-
.section .section-title h2 {
|
44 |
-
vertical-align: middle;
|
45 |
-
padding: 0;
|
46 |
-
line-height: 1.3;
|
47 |
-
font-size: 20px;
|
48 |
-
font-weight: 700;
|
49 |
-
color: #445674;
|
50 |
-
text-transform: none;
|
51 |
-
background: none;
|
52 |
-
border: none;
|
53 |
-
text-align: left;
|
54 |
-
}
|
55 |
-
|
56 |
-
.section p {
|
57 |
-
margin: 15px 0;
|
58 |
-
font-size: 17px;
|
59 |
-
line-height: 32px;
|
60 |
-
font-weight: 300;
|
61 |
-
text-align: left;
|
62 |
-
}
|
63 |
-
|
64 |
-
.section ul li {
|
65 |
-
margin-bottom: 4px;
|
66 |
-
}
|
67 |
-
|
68 |
-
.section.section-cta {
|
69 |
-
background: #fff;
|
70 |
-
}
|
71 |
-
|
72 |
-
.cta-container,
|
73 |
-
.landing-container {
|
74 |
-
display: flex;
|
75 |
-
max-width: 1200px;
|
76 |
-
margin-left: auto;
|
77 |
-
margin-right: auto;
|
78 |
-
padding: 30px 0;
|
79 |
-
align-items: center;
|
80 |
-
}
|
81 |
-
|
82 |
-
.landing-container-wide {
|
83 |
-
flex-direction: column;
|
84 |
-
}
|
85 |
-
|
86 |
-
.cta-container {
|
87 |
-
display: block;
|
88 |
-
max-width: 860px;
|
89 |
-
}
|
90 |
-
|
91 |
-
.landing-container:after {
|
92 |
-
display: block;
|
93 |
-
clear: both;
|
94 |
-
content: '';
|
95 |
-
}
|
96 |
-
|
97 |
-
.landing-container .col-1,
|
98 |
-
.landing-container .col-2 {
|
99 |
-
float: left;
|
100 |
-
box-sizing: border-box;
|
101 |
-
padding: 0 15px;
|
102 |
-
}
|
103 |
-
|
104 |
-
.landing-container .col-1 {
|
105 |
-
width: 58.33333333%;
|
106 |
-
}
|
107 |
-
|
108 |
-
.landing-container .col-2 {
|
109 |
-
width: 41.66666667%;
|
110 |
-
}
|
111 |
-
|
112 |
-
.landing-container .col-1 img,
|
113 |
-
.landing-container .col-2 img,
|
114 |
-
.landing-container .col-wide img {
|
115 |
-
max-width: 100%;
|
116 |
-
}
|
117 |
-
|
118 |
-
.premium-cta {
|
119 |
-
color: #4b4b4b;
|
120 |
-
border-radius: 10px;
|
121 |
-
padding: 30px 25px;
|
122 |
-
display: flex;
|
123 |
-
align-items: center;
|
124 |
-
justify-content: space-between;
|
125 |
-
width: 100%;
|
126 |
-
box-sizing: border-box;
|
127 |
-
}
|
128 |
-
|
129 |
-
.premium-cta:after {
|
130 |
-
content: '';
|
131 |
-
display: block;
|
132 |
-
clear: both;
|
133 |
-
}
|
134 |
-
|
135 |
-
.premium-cta p {
|
136 |
-
margin: 10px 0;
|
137 |
-
line-height: 1.5em;
|
138 |
-
display: inline-block;
|
139 |
-
text-align: left;
|
140 |
-
}
|
141 |
-
|
142 |
-
.premium-cta a.button {
|
143 |
-
border-radius: 25px;
|
144 |
-
float: right;
|
145 |
-
background: #e09004;
|
146 |
-
box-shadow: none;
|
147 |
-
outline: none;
|
148 |
-
color: #fff;
|
149 |
-
position: relative;
|
150 |
-
padding: 10px 50px 8px;
|
151 |
-
text-align: center;
|
152 |
-
text-transform: uppercase;
|
153 |
-
font-weight: 600;
|
154 |
-
font-size: 20px;
|
155 |
-
line-height: normal;
|
156 |
-
border: none;
|
157 |
-
}
|
158 |
-
|
159 |
-
.premium-cta a.button:hover,
|
160 |
-
.premium-cta a.button:active,
|
161 |
-
.wp-core-ui .yith-plugin-ui .premium-cta a.button:focus {
|
162 |
-
color: #fff;
|
163 |
-
background: #d28704;
|
164 |
-
box-shadow: none;
|
165 |
-
outline: none;
|
166 |
-
}
|
167 |
-
|
168 |
-
.premium-cta .highlight {
|
169 |
-
text-transform: uppercase;
|
170 |
-
background: none;
|
171 |
-
font-weight: 500;
|
172 |
-
}
|
173 |
-
|
174 |
-
@media (max-width: 991px) {
|
175 |
-
.landing-container {
|
176 |
-
display: block;
|
177 |
-
padding: 50px 0 30px;
|
178 |
-
}
|
179 |
-
|
180 |
-
.landing-container .col-1,
|
181 |
-
.landing-container .col-2 {
|
182 |
-
float: none;
|
183 |
-
width: 100%;
|
184 |
-
}
|
185 |
-
|
186 |
-
.premium-cta {
|
187 |
-
display: block;
|
188 |
-
text-align: center;
|
189 |
-
}
|
190 |
-
|
191 |
-
.premium-cta p {
|
192 |
-
text-align: center;
|
193 |
-
display: block;
|
194 |
-
margin-bottom: 30px;
|
195 |
-
}
|
196 |
-
|
197 |
-
.premium-cta a.button {
|
198 |
-
float: none;
|
199 |
-
display: inline-block;
|
200 |
-
}
|
201 |
-
}
|
202 |
-
</style>
|
203 |
-
<div class="landing">
|
204 |
-
<div class="section section-cta section-odd">
|
205 |
-
<div class="cta-container">
|
206 |
-
<div class="premium-cta">
|
207 |
-
<p>
|
208 |
-
<?php
|
209 |
-
/* translators: %1$s opening span, %2$s closing span, %3$s BR tag */
|
210 |
-
echo sprintf( esc_html__( 'Upgrade to %1$spremium version%2$s%3$s of %1$sYITH WooCommerce Catalog Mode%2$s to benefit from all features!', 'yith-woocommerce-catalog-mode' ), '<span class="highlight">', '</span>', '<br />' );
|
211 |
-
?>
|
212 |
-
</p>
|
213 |
-
<a href="<?php echo esc_url( $this->get_premium_landing_uri() ); ?>" target="_blank" class="premium-cta-button button btn">
|
214 |
-
<?php esc_html_e( 'Upgrade', 'yith-woocommerce-catalog-mode' ); ?>
|
215 |
-
</a>
|
216 |
-
</div>
|
217 |
-
</div>
|
218 |
-
</div>
|
219 |
-
<div class="one section section-even clear">
|
220 |
-
<h1><?php esc_html_e( 'Premium Features', 'yith-woocommerce-catalog-mode' ); ?></h1>
|
221 |
-
<div class="landing-container">
|
222 |
-
<div class="col-1">
|
223 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-01.jpg" alt="" />
|
224 |
-
</div>
|
225 |
-
<div class="col-2">
|
226 |
-
<div class="section-title">
|
227 |
-
<h2><?php esc_html_e( 'Build up a catalogue of products and online services and encourage your customers to contact you to get a dedicated price estimate or additional information.', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
228 |
-
</div>
|
229 |
-
<p>
|
230 |
-
<?php esc_html_e( 'Are you starting an e-commerce website, but still it is not ready for automatic sales? Your store might be temporarily closed due to holidays or prepare for a sales period and you need to temporarily suspend sales. YITH WooCommerce Catalog Mode is a plugin designed for those who need to turn their shop into an online catalog.', 'yith-woocommerce-catalog-mode' ); ?>
|
231 |
-
</p>
|
232 |
-
<p>
|
233 |
-
<?php esc_html_e( 'Are you interested in displaying a catalogue with products without making them immediately available for sale? Or do you want to filter buyers and let only registered users see all the details? Are you taking inventory but would like to leave products online?', 'yith-woocommerce-catalog-mode' ); ?>
|
234 |
-
</p>
|
235 |
-
<p>
|
236 |
-
<?php esc_html_e( 'YITH WooCommerce Catalog Mode allows you to turn your online shop into a catalogue, by removing Add to Cart buttons and any access to checkout pages, by hiding product prices and replacing it with customizable buttons, text labels and inquiry forms.', 'yith-woocommerce-catalog-mode' ); ?>
|
237 |
-
</p>
|
238 |
-
</div>
|
239 |
-
</div>
|
240 |
-
</div>
|
241 |
-
<div class="two section section-odd clear">
|
242 |
-
<div class="landing-container">
|
243 |
-
<div class="col-2">
|
244 |
-
<div class="section-title">
|
245 |
-
<h2><?php esc_html_e( 'Enable ‘Massive catalog mode’ with one click and disable the Cart, the Checkout and all add to cart buttons of your shop in a few quick moves.', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
246 |
-
</div>
|
247 |
-
<p>
|
248 |
-
<?php esc_html_e( 'If you have a catalogue with many products and you want to quickly hide the Cart button and the Cart page, you will be able to do that with one click. Whenever you’re ready to sell, just one more click and your catalogue can be immediately converted into an e-commerce shop in full swing.', 'yith-woocommerce-catalog-mode' ); ?>
|
249 |
-
</p>
|
250 |
-
</div>
|
251 |
-
<div class="col-1">
|
252 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-02.jpg" alt="" />
|
253 |
-
</div>
|
254 |
-
</div>
|
255 |
-
</div>
|
256 |
-
<div class="three section section-even clear">
|
257 |
-
<div class="landing-container">
|
258 |
-
<div class="col-1">
|
259 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-03.jpg" alt="" />
|
260 |
-
</div>
|
261 |
-
<div class="col-2">
|
262 |
-
<div class="section-title">
|
263 |
-
<h2><?php esc_html_e( 'Hide prices and Cart buttons from all products or only from selected products, tags or categories.', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
264 |
-
</div>
|
265 |
-
<p>
|
266 |
-
<?php esc_html_e( 'Do you want to make only some products purchasable and set up the catalog mode for others that cannot be purchased straight away? You’ll be able to create an unlimited number of rules and apply them to products of your choice.', 'yith-woocommerce-catalog-mode' ); ?>
|
267 |
-
</p>
|
268 |
-
</div>
|
269 |
-
</div>
|
270 |
-
</div>
|
271 |
-
<div class="four section section-odd clear">
|
272 |
-
<div class="landing-container">
|
273 |
-
<div class="col-2">
|
274 |
-
<div class="section-title">
|
275 |
-
<h2><?php esc_html_e( 'Enable the catalog mode for unregistered users or only for users from specific countries.', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
276 |
-
</div>
|
277 |
-
<p>
|
278 |
-
<?php esc_html_e( 'Do you want to show your product prices only to users who have registered an account? Or maybe restrict purchases only to users from a specific geographical area? These are just some of the many scenarios that YITH Catalog Mode can help you deal with.', 'yith-woocommerce-catalog-mode' ); ?>
|
279 |
-
</p>
|
280 |
-
</div>
|
281 |
-
<div class="col-1">
|
282 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-04.jpg" alt="" />
|
283 |
-
</div>
|
284 |
-
</div>
|
285 |
-
</div>
|
286 |
-
<div class="five section section-even clear">
|
287 |
-
<div class="landing-container">
|
288 |
-
<div class="col-1">
|
289 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-05.jpg" alt="" />
|
290 |
-
</div>
|
291 |
-
<div class="col-2">
|
292 |
-
<div class="section-title">
|
293 |
-
<h2><?php esc_html_e( 'Create custom calls to action and labels to replace the price and Cart buttons.', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
294 |
-
</div>
|
295 |
-
<p>
|
296 |
-
<?php esc_html_e( 'If your products cannot be purchased straight away, you probably need to push users to contact you and ask for a dedicated price estimate or simply for more details. Or you might want them to register an account in your shop or log in. With our button & label builder, you can create countless persuasive texts and calls to action for your products.', 'yith-woocommerce-catalog-mode' ); ?>
|
297 |
-
</p>
|
298 |
-
</div>
|
299 |
-
</div>
|
300 |
-
</div>
|
301 |
-
<div class="six section section-odd clear">
|
302 |
-
<div class="landing-container">
|
303 |
-
<div class="col-2">
|
304 |
-
<div class="section-title">
|
305 |
-
<h2><?php esc_html_e( 'Enable an inquiry form on your product pages to help your customers contact you easily.', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
306 |
-
</div>
|
307 |
-
<p>
|
308 |
-
<?php esc_html_e( 'Choose whether you want to enable a contact form on your product pages to make it easier for your users to get in touch with you. The enquiry form is compatible with several email management plugins: Contact Form 7, Formidable Forms, Gravity Forms and Ninja Forms. In the email message that you receive, you can also see a reference to the page from where the request has been submitted.', 'yith-woocommerce-catalog-mode' ); ?>
|
309 |
-
</p>
|
310 |
-
</div>
|
311 |
-
<div class="col-1">
|
312 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-06.jpg" alt="" />
|
313 |
-
</div>
|
314 |
-
</div>
|
315 |
-
</div>
|
316 |
-
<div class="seven section section-even clear">
|
317 |
-
<div class="landing-container">
|
318 |
-
<div class="col-1">
|
319 |
-
<img src="<?php echo esc_url( YWCTM_ASSETS_URL ); ?>/images/premium-07.jpg" alt="" />
|
320 |
-
</div>
|
321 |
-
<div class="col-2">
|
322 |
-
<div class="section-title">
|
323 |
-
<h2><?php esc_html_e( 'Integrate the catalog mode with YITH WooCommerce Multi-vendor', 'yith-woocommerce-catalog-mode' ); ?></h2>
|
324 |
-
</div>
|
325 |
-
<p>
|
326 |
-
<?php esc_html_e( 'If you use YITH Multi Vendor, you can let every vendor set up and control the catalog mode for their own shop.', 'yith-woocommerce-catalog-mode' ); ?>
|
327 |
-
</p>
|
328 |
-
</div>
|
329 |
-
</div>
|
330 |
-
</div>
|
331 |
-
<div class="section section-cta section-odd">
|
332 |
-
<div class="cta-container">
|
333 |
-
<div class="premium-cta">
|
334 |
-
<p>
|
335 |
-
<?php
|
336 |
-
/* translators: %1$s opening span, %2$s closing span, %3$s BR tag*/
|
337 |
-
echo sprintf( esc_html__( 'Upgrade to %1$spremium version%2$s%3$s of %1$sYITH WooCommerce Catalog Mode%2$s to benefit from all features!', 'yith-woocommerce-catalog-mode' ), '<span class="highlight">', '</span>', '<br />' );
|
338 |
-
?>
|
339 |
-
</p>
|
340 |
-
<a href="<?php echo esc_url( $this->get_premium_landing_uri() ); ?>" target="_blank" class="premium-cta-button button btn">
|
341 |
-
<?php esc_html_e( 'Upgrade', 'yith-woocommerce-catalog-mode' ); ?>
|
342 |
-
</a>
|
343 |
-
</div>
|
344 |
-
</div>
|
345 |
-
</div>
|
346 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|