Version Description
- Fixed: Added functions for themes compatibility
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Catalog Mode |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
- class.yith-woocommerce-catalog-mode.php +27 -6
- init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +988 -0
- plugin-fw/lib/yit-metabox.php +4 -2
- plugin-fw/lib/yit-plugin-panel.php +3 -3
- plugin-fw/licence/lib/yit-licence.php +2 -2
- plugin-fw/licence/lib/yit-plugin-licence.php +4 -0
- plugin-fw/templates/metaboxes/types/contactform.php +4 -4
- readme.txt +7 -3
class.yith-woocommerce-catalog-mode.php
CHANGED
@@ -220,7 +220,7 @@ class YITH_WC_Catalog_Mode {
|
|
220 |
* @param $product_id
|
221 |
* @return bool
|
222 |
*/
|
223 |
-
public function check_add_to_cart_single( $priority = true
|
224 |
|
225 |
$hide = false;
|
226 |
|
@@ -288,6 +288,15 @@ class YITH_WC_Catalog_Mode {
|
|
288 |
return $hide;
|
289 |
}
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
public function avoid_add_to_cart( $passed, $product_id ) {
|
292 |
|
293 |
if ( get_option( 'ywctm_enable_plugin' ) == 'yes' && $this->check_user_admin_enable() ) {
|
@@ -348,13 +357,13 @@ class YITH_WC_Catalog_Mode {
|
|
348 |
}
|
349 |
|
350 |
/**
|
351 |
-
*
|
352 |
*
|
353 |
-
* @since 1.0.
|
354 |
* @author Alberto Ruggiero
|
355 |
-
* @return
|
356 |
*/
|
357 |
-
public function
|
358 |
|
359 |
$remove = false;
|
360 |
|
@@ -422,7 +431,19 @@ class YITH_WC_Catalog_Mode {
|
|
422 |
|
423 |
}
|
424 |
|
425 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
|
427 |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
|
428 |
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_empty_string', 10 );
|
220 |
* @param $product_id
|
221 |
* @return bool
|
222 |
*/
|
223 |
+
public function check_add_to_cart_single( $priority = true, $product_id = false ) {
|
224 |
|
225 |
$hide = false;
|
226 |
|
288 |
return $hide;
|
289 |
}
|
290 |
|
291 |
+
/**
|
292 |
+
* Checks if "Add to cart" needs to be avoided
|
293 |
+
*
|
294 |
+
* @since 1.0.5
|
295 |
+
* @author Alberto Ruggiero
|
296 |
+
* @param $passed
|
297 |
+
* @param $product_id
|
298 |
+
* @return bool
|
299 |
+
*/
|
300 |
public function avoid_add_to_cart( $passed, $product_id ) {
|
301 |
|
302 |
if ( get_option( 'ywctm_enable_plugin' ) == 'yes' && $this->check_user_admin_enable() ) {
|
357 |
}
|
358 |
|
359 |
/**
|
360 |
+
* Checks if "Add to cart" needs to be hidden from loop page
|
361 |
*
|
362 |
+
* @since 1.0.6
|
363 |
* @author Alberto Ruggiero
|
364 |
+
* @return bool
|
365 |
*/
|
366 |
+
public function check_hide_add_cart_loop() {
|
367 |
|
368 |
$remove = false;
|
369 |
|
431 |
|
432 |
}
|
433 |
|
434 |
+
return $remove;
|
435 |
+
}
|
436 |
+
|
437 |
+
/**
|
438 |
+
* Hides "Add to cart" button, if not excluded, from loop page
|
439 |
+
*
|
440 |
+
* @since 1.0.0
|
441 |
+
* @author Alberto Ruggiero
|
442 |
+
* @return void
|
443 |
+
*/
|
444 |
+
public function hide_add_to_cart_loop() {
|
445 |
+
|
446 |
+
if ( $this->check_hide_add_cart_loop() ){
|
447 |
|
448 |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
|
449 |
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_empty_string', 10 );
|
init.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/
|
|
5 |
Description: YITH Woocommerce Catalog Mode allows you to disable shop functions.
|
6 |
Author: Yithemes
|
7 |
Text Domain: ywctm
|
8 |
-
Version: 1.0.
|
9 |
Author URI: http://yithemes.com/
|
10 |
*/
|
11 |
|
@@ -34,7 +34,7 @@ function ywctm_install_free_admin_notice() {
|
|
34 |
}
|
35 |
|
36 |
if ( ! defined( 'YWCTM_VERSION' ) ) {
|
37 |
-
define( 'YWCTM_VERSION', '1.0.
|
38 |
}
|
39 |
|
40 |
if ( ! defined( 'YWCTM_FREE_INIT' ) ) {
|
5 |
Description: YITH Woocommerce Catalog Mode allows you to disable shop functions.
|
6 |
Author: Yithemes
|
7 |
Text Domain: ywctm
|
8 |
+
Version: 1.0.6
|
9 |
Author URI: http://yithemes.com/
|
10 |
*/
|
11 |
|
34 |
}
|
35 |
|
36 |
if ( ! defined( 'YWCTM_VERSION' ) ) {
|
37 |
+
define( 'YWCTM_VERSION', '1.0.6' );
|
38 |
}
|
39 |
|
40 |
if ( ! defined( 'YWCTM_FREE_INIT' ) ) {
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
ADDED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
ADDED
@@ -0,0 +1,988 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 YIThemes
|
2 |
+
# This file is distributed under the same license as the YITH Plugin Starter package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
+
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2015-05-11 17:13+0100\n"
|
8 |
+
"PO-Revision-Date: 2015-05-11 17:15+0100\n"
|
9 |
+
"Last-Translator: \n"
|
10 |
+
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
+
"Language: en\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.7.3\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
+
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
+
"esc_html_x:1,2c\n"
|
19 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
21 |
+
"X-Poedit-Basepath: ../\n"
|
22 |
+
"X-Textdomain-Support: yes\n"
|
23 |
+
"X-Poedit-SearchPath-0: .\n"
|
24 |
+
|
25 |
+
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
26 |
+
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
27 |
+
#, php-format
|
28 |
+
msgid "Add %s"
|
29 |
+
msgstr "Aggiungi %s"
|
30 |
+
|
31 |
+
#: lib/yit-cpt-unlimited.php:461 lib/yit-cpt-unlimited.php:575
|
32 |
+
#, php-format
|
33 |
+
msgid "Add New %s"
|
34 |
+
msgstr "Aggiungi nuovo %s"
|
35 |
+
|
36 |
+
#: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
|
37 |
+
#: lib/yit-cpt-unlimited.php:1267 lib/yit-cpt-unlimited.php:1304
|
38 |
+
#, php-format
|
39 |
+
msgid "Edit %s"
|
40 |
+
msgstr "Modifica %s"
|
41 |
+
|
42 |
+
#: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
|
43 |
+
#, php-format
|
44 |
+
msgid "New %s"
|
45 |
+
msgstr "Nuovo %s"
|
46 |
+
|
47 |
+
#: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
|
48 |
+
#, php-format
|
49 |
+
msgid "All %s"
|
50 |
+
msgstr "Tutti %s"
|
51 |
+
|
52 |
+
#: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
|
53 |
+
#: lib/yit-cpt-unlimited.php:1251 lib/yit-cpt-unlimited.php:1305
|
54 |
+
#, php-format
|
55 |
+
msgid "View %s"
|
56 |
+
msgstr "Visualizza %s"
|
57 |
+
|
58 |
+
#: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
|
59 |
+
#, php-format
|
60 |
+
msgid "Search %s"
|
61 |
+
msgstr "Cerca %s"
|
62 |
+
|
63 |
+
#: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
|
64 |
+
#, php-format
|
65 |
+
msgid "No %s found"
|
66 |
+
msgstr "Nessun %s trovato"
|
67 |
+
|
68 |
+
#: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
|
69 |
+
#, php-format
|
70 |
+
msgid "No %s found in Trash"
|
71 |
+
msgstr "Nessun %s trovato nel cestino"
|
72 |
+
|
73 |
+
#: lib/yit-cpt-unlimited.php:625
|
74 |
+
#, php-format
|
75 |
+
msgctxt "taxonomy general name"
|
76 |
+
msgid "%s Categories"
|
77 |
+
msgstr "%s Categorie"
|
78 |
+
|
79 |
+
#: lib/yit-cpt-unlimited.php:626
|
80 |
+
msgctxt "taxonomy singular name"
|
81 |
+
msgid "Category"
|
82 |
+
msgstr "Categoria"
|
83 |
+
|
84 |
+
#: lib/yit-cpt-unlimited.php:627
|
85 |
+
msgid "Search Categories"
|
86 |
+
msgstr "Cerca categorie"
|
87 |
+
|
88 |
+
#: lib/yit-cpt-unlimited.php:628
|
89 |
+
msgid "All Categories"
|
90 |
+
msgstr "Tutte le categorie"
|
91 |
+
|
92 |
+
#: lib/yit-cpt-unlimited.php:629
|
93 |
+
msgid "Parent Category"
|
94 |
+
msgstr "Categoria genitore"
|
95 |
+
|
96 |
+
#: lib/yit-cpt-unlimited.php:630
|
97 |
+
msgid "Parent Category:"
|
98 |
+
msgstr "Categoria genitore:"
|
99 |
+
|
100 |
+
#: lib/yit-cpt-unlimited.php:631
|
101 |
+
msgid "Edit Category"
|
102 |
+
msgstr "Modifica categoria"
|
103 |
+
|
104 |
+
#: lib/yit-cpt-unlimited.php:632
|
105 |
+
msgid "Update Category"
|
106 |
+
msgstr "Aggiorna categoria"
|
107 |
+
|
108 |
+
#: lib/yit-cpt-unlimited.php:633
|
109 |
+
msgid "Add New Category"
|
110 |
+
msgstr "Aggiungi nuova categoria"
|
111 |
+
|
112 |
+
#: lib/yit-cpt-unlimited.php:634
|
113 |
+
msgid "New Category Name"
|
114 |
+
msgstr "Nuovo nome categoria"
|
115 |
+
|
116 |
+
#: lib/yit-cpt-unlimited.php:635
|
117 |
+
msgid "Category"
|
118 |
+
msgstr "Categoria"
|
119 |
+
|
120 |
+
#: lib/yit-cpt-unlimited.php:724
|
121 |
+
msgid "Categories"
|
122 |
+
msgstr "Categorie"
|
123 |
+
|
124 |
+
#: lib/yit-cpt-unlimited.php:1042
|
125 |
+
#, php-format
|
126 |
+
msgid "%s Settings"
|
127 |
+
msgstr "Impostazioni %s"
|
128 |
+
|
129 |
+
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
130 |
+
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:64
|
131 |
+
msgid "Settings"
|
132 |
+
msgstr "Impostazioni"
|
133 |
+
|
134 |
+
#: lib/yit-cpt-unlimited.php:1051
|
135 |
+
msgid "Type"
|
136 |
+
msgstr "Tipologia"
|
137 |
+
|
138 |
+
#: lib/yit-cpt-unlimited.php:1052
|
139 |
+
msgid "Layout for this "
|
140 |
+
msgstr "Layout per questo"
|
141 |
+
|
142 |
+
#: lib/yit-cpt-unlimited.php:1058
|
143 |
+
msgid "Rewrite"
|
144 |
+
msgstr "Riscrivi"
|
145 |
+
|
146 |
+
#: lib/yit-cpt-unlimited.php:1059
|
147 |
+
msgid ""
|
148 |
+
"Univocal identification name in the URL for each product (slug from post if empty)"
|
149 |
+
msgstr ""
|
150 |
+
"Nome identificativo univoco nell'URL per singolo prodotto (usa slug dal post se "
|
151 |
+
"vuoto)"
|
152 |
+
|
153 |
+
#: lib/yit-cpt-unlimited.php:1064
|
154 |
+
msgid "Label in Singular"
|
155 |
+
msgstr "Etichetta singolare"
|
156 |
+
|
157 |
+
#: lib/yit-cpt-unlimited.php:1065
|
158 |
+
msgid "Set a label in singular (title of portfolio if empty)"
|
159 |
+
msgstr "Imposta un'etichetta singolare (titolo del portfolio se vuoto)"
|
160 |
+
|
161 |
+
#: lib/yit-cpt-unlimited.php:1070
|
162 |
+
msgid "Label in Plural"
|
163 |
+
msgstr "Etichetta plurale"
|
164 |
+
|
165 |
+
#: lib/yit-cpt-unlimited.php:1071
|
166 |
+
msgid "Set a label in plural (title of portfolio if empty)"
|
167 |
+
msgstr "Imposta un'etichetta plurale (titolo del portfolio se vuoto)"
|
168 |
+
|
169 |
+
#: lib/yit-cpt-unlimited.php:1076
|
170 |
+
msgid "Taxonomy"
|
171 |
+
msgstr "Tassonomia"
|
172 |
+
|
173 |
+
#: lib/yit-cpt-unlimited.php:1077
|
174 |
+
msgid ""
|
175 |
+
"If you want to use categories in the portfolio, set a name for taxonomy. Name "
|
176 |
+
"should be a slug (must not contain capital letters nor spaces) and must not be "
|
177 |
+
"more than 32 characters long (database structure restriction)."
|
178 |
+
msgstr ""
|
179 |
+
"Se vuoi aggiungere delle categorie nel portfolio, imposta un nome per la "
|
180 |
+
"tassonomia. Il nome dovrà essere in forma di slug (non deve contenere caratteri "
|
181 |
+
"maiuscoli né spazi) e non più lungo di 32 caratteri (restrizione di database)."
|
182 |
+
|
183 |
+
#: lib/yit-cpt-unlimited.php:1082
|
184 |
+
msgid "Taxonomy Rewrite"
|
185 |
+
msgstr "Riscrivi tassonomia"
|
186 |
+
|
187 |
+
#: lib/yit-cpt-unlimited.php:1083
|
188 |
+
msgid "Set univocal name for each category page URL."
|
189 |
+
msgstr "Imposta un nome univoco per l'URL della pagina di ciascuna categoria."
|
190 |
+
|
191 |
+
#: lib/yit-cpt-unlimited.php:1088
|
192 |
+
msgid "Single layout"
|
193 |
+
msgstr "Layout singolo"
|
194 |
+
|
195 |
+
#: lib/yit-cpt-unlimited.php:1089
|
196 |
+
msgid "Layout for single page of this portfolio"
|
197 |
+
msgstr "Layout per pagina singola per questo portfolio"
|
198 |
+
|
199 |
+
#: lib/yit-cpt-unlimited.php:1130
|
200 |
+
msgid "layout settings"
|
201 |
+
msgstr "impostazioni di layout"
|
202 |
+
|
203 |
+
#: lib/yit-cpt-unlimited.php:1222 lib/yit-cpt-unlimited.php:1235
|
204 |
+
msgid "Quick links"
|
205 |
+
msgstr "Link rapidi"
|
206 |
+
|
207 |
+
#: lib/yit-cpt-unlimited.php:1475
|
208 |
+
#, php-format
|
209 |
+
msgid "Show frontend of the %s"
|
210 |
+
msgstr "Mostra front end di %s"
|
211 |
+
|
212 |
+
#: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
|
213 |
+
#: templates/metaboxes/types/customtabs.php:90
|
214 |
+
msgid "Name"
|
215 |
+
msgstr "Nome"
|
216 |
+
|
217 |
+
#: lib/yit-cpt-unlimited.php:1631
|
218 |
+
#, php-format
|
219 |
+
msgid "Add %s from images"
|
220 |
+
msgstr "Aggiungi %s dalla immagini"
|
221 |
+
|
222 |
+
#: lib/yit-cpt-unlimited.php:1633
|
223 |
+
msgid "Add with multiupload"
|
224 |
+
msgstr "Aggiungi con caricamento multiplo"
|
225 |
+
|
226 |
+
#: lib/yit-plugin-panel-wc.php:295
|
227 |
+
msgid "The changes you have made will be lost if you leave this page."
|
228 |
+
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
229 |
+
|
230 |
+
#: lib/yit-plugin-panel.php:63
|
231 |
+
msgid "Plugin Settings"
|
232 |
+
msgstr "Impostazioni plugin"
|
233 |
+
|
234 |
+
#: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
|
235 |
+
msgid "YIT Plugins"
|
236 |
+
msgstr "Plugin YIT"
|
237 |
+
|
238 |
+
#: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
|
239 |
+
#: templates/panel/woocommerce/woocommerce-form.php:5
|
240 |
+
msgid "Save Changes"
|
241 |
+
msgstr "Salva modifiche"
|
242 |
+
|
243 |
+
#: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
|
244 |
+
msgid "If you continue with this action, you will reset all options in this page."
|
245 |
+
msgstr ""
|
246 |
+
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
247 |
+
"reimpostate."
|
248 |
+
|
249 |
+
#: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
|
250 |
+
msgid "Reset to Default"
|
251 |
+
msgstr "Ripristina impostazioni iniziali"
|
252 |
+
|
253 |
+
#: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
|
254 |
+
#: templates/panel/woocommerce/woocommerce-form.php:10
|
255 |
+
msgid "Are you sure?"
|
256 |
+
msgstr "Sei sicuro?"
|
257 |
+
|
258 |
+
#: lib/yit-plugin-panel.php:431
|
259 |
+
msgid "The element you have entered already exists. Please, enter another name."
|
260 |
+
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
261 |
+
|
262 |
+
#: lib/yit-plugin-panel.php:432
|
263 |
+
msgid "Settings saved"
|
264 |
+
msgstr "Impostazioni salvate"
|
265 |
+
|
266 |
+
#: lib/yit-plugin-panel.php:433
|
267 |
+
msgid "Settings reset"
|
268 |
+
msgstr "Impostazioni azzerate"
|
269 |
+
|
270 |
+
#: lib/yit-plugin-panel.php:434
|
271 |
+
msgid "Element deleted correctly."
|
272 |
+
msgstr "Elemento rimosso correttamente."
|
273 |
+
|
274 |
+
#: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
|
275 |
+
msgid "Element updated correctly."
|
276 |
+
msgstr "Elemento aggiornato correttamente."
|
277 |
+
|
278 |
+
#: lib/yit-plugin-panel.php:437
|
279 |
+
msgid "Database imported correctly."
|
280 |
+
msgstr "Database importato correttamente."
|
281 |
+
|
282 |
+
#: lib/yit-plugin-panel.php:438
|
283 |
+
msgid "An error has occurred during import. Please try again."
|
284 |
+
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
285 |
+
|
286 |
+
#: lib/yit-plugin-panel.php:439
|
287 |
+
msgid "The added file is not valid."
|
288 |
+
msgstr "Il file aggiunto non è valido."
|
289 |
+
|
290 |
+
#: lib/yit-plugin-panel.php:440
|
291 |
+
msgid "Sorry, import is disabled."
|
292 |
+
msgstr "Ci dispiace, l'importazione è disabilitata."
|
293 |
+
|
294 |
+
#: lib/yit-plugin-panel.php:441
|
295 |
+
msgid "Sorting successful."
|
296 |
+
msgstr "Ordinamento effettuato con successo."
|
297 |
+
|
298 |
+
#: lib/yit-plugin-subpanel.php:145
|
299 |
+
msgid ""
|
300 |
+
"If you continue with this action, you will reset all the options in this page."
|
301 |
+
msgstr ""
|
302 |
+
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
303 |
+
"reimpostate."
|
304 |
+
|
305 |
+
#: lib/yit-pointers.php:70
|
306 |
+
msgid "Plugins Activated"
|
307 |
+
msgstr "Plugin attivati"
|
308 |
+
|
309 |
+
#: lib/yit-pointers.php:71
|
310 |
+
msgid ""
|
311 |
+
"From now on, you can find all plugin options in YIT Plugin menu.\n"
|
312 |
+
" For each plugin installed, customization "
|
313 |
+
"settings will be available as a new entry in YIT Plugin menu."
|
314 |
+
msgstr ""
|
315 |
+
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu Plugin YIT.\n"
|
316 |
+
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu Plugin "
|
317 |
+
"YIT."
|
318 |
+
|
319 |
+
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
320 |
+
msgid "Discover all our plugins available on:"
|
321 |
+
msgstr "Scopri tutti i plugin disponibili su:"
|
322 |
+
|
323 |
+
#: lib/yit-pointers.php:74 lib/yit-pointers.php:90
|
324 |
+
msgid "and"
|
325 |
+
msgstr "e"
|
326 |
+
|
327 |
+
#: lib/yit-pointers.php:84
|
328 |
+
msgid "Plugins Upgraded"
|
329 |
+
msgstr "Plugin aggiornati"
|
330 |
+
|
331 |
+
# Any time you install one of our plugins, a new entry will be added to this menu.\n
|
332 |
+
#: lib/yit-pointers.php:85
|
333 |
+
msgid ""
|
334 |
+
"From now on, you can find all options of your plugins in YIT Plugin menu.\n"
|
335 |
+
" Any time one of our plugins is updated, a new "
|
336 |
+
"entry will be added to this menu.\n"
|
337 |
+
" For example, after the update, plugin options "
|
338 |
+
"(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
|
339 |
+
" will be moved from previous location to YIT "
|
340 |
+
"Plugin tab."
|
341 |
+
msgstr ""
|
342 |
+
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu Plugin YIT.\n"
|
343 |
+
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in questo "
|
344 |
+
"menu.\n"
|
345 |
+
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio quelle "
|
346 |
+
"di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
347 |
+
"saranno trasferite nella scheda Plugin YIT."
|
348 |
+
|
349 |
+
#: lib/yit-upgrade.php:123
|
350 |
+
msgid "There is a new version of %plugin_name% available."
|
351 |
+
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
352 |
+
|
353 |
+
#: lib/yit-upgrade.php:124
|
354 |
+
msgid "View version %latest% details."
|
355 |
+
msgstr "Visualizza i dettagli della versione %latest%."
|
356 |
+
|
357 |
+
#: lib/yit-upgrade.php:125
|
358 |
+
msgid "Automatic update is unavailable for this plugin,"
|
359 |
+
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
360 |
+
|
361 |
+
#: lib/yit-upgrade.php:126
|
362 |
+
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
363 |
+
msgstr ""
|
364 |
+
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di %plugin_name%."
|
365 |
+
|
366 |
+
#: lib/yit-upgrade.php:127
|
367 |
+
msgid "Update now."
|
368 |
+
msgstr "Aggiorna adesso."
|
369 |
+
|
370 |
+
#: lib/yit-upgrade.php:230
|
371 |
+
msgid "Yithemes Repository"
|
372 |
+
msgstr "Repository YIThemes"
|
373 |
+
|
374 |
+
#: lib/yit-upgrade.php:264
|
375 |
+
msgid "Invalid URL Provided."
|
376 |
+
msgstr "L'URL inserito non è valido."
|
377 |
+
|
378 |
+
#: lib/yit-upgrade.php:277
|
379 |
+
msgid "Could not create Temporary file."
|
380 |
+
msgstr "Non è stato possibile creare il file temporaneo."
|
381 |
+
|
382 |
+
#: lib/yit-upgrade.php:419
|
383 |
+
#, php-format
|
384 |
+
msgid ""
|
385 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
386 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>."
|
387 |
+
msgstr ""
|
388 |
+
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
389 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
|
390 |
+
|
391 |
+
#: lib/yit-upgrade.php:421
|
392 |
+
#, php-format
|
393 |
+
msgid ""
|
394 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
395 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You have to "
|
396 |
+
"activate the plugin on a single site of the network to benefit from automatic "
|
397 |
+
"updates.</em>"
|
398 |
+
msgstr ""
|
399 |
+
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
400 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>. "
|
401 |
+
"<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
|
402 |
+
"plugin su un solo sito.</em>"
|
403 |
+
|
404 |
+
#: lib/yit-upgrade.php:423
|
405 |
+
#, php-format
|
406 |
+
msgid ""
|
407 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
408 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
|
409 |
+
"update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
|
410 |
+
"activation\">activate</a> your copy of %6s.</em>"
|
411 |
+
msgstr ""
|
412 |
+
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
413 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>. "
|
414 |
+
"<em>Gli aggiornamenti automatici non sono disponibili per questo plugi, per "
|
415 |
+
"favore, <a href=\"%5$s\" title=\"Licence activation\">attiva</a> la tua copia di "
|
416 |
+
"%6s.</em>"
|
417 |
+
|
418 |
+
#: lib/yit-upgrade.php:425
|
419 |
+
#, php-format
|
420 |
+
msgid ""
|
421 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
422 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s"
|
423 |
+
"\">update now</a>."
|
424 |
+
msgstr ""
|
425 |
+
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
426 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
|
427 |
+
"oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
428 |
+
|
429 |
+
#: lib/yit-upgrade.php:498
|
430 |
+
msgid "You can't update the plugins for this site."
|
431 |
+
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
432 |
+
|
433 |
+
#: lib/yit-upgrade.php:502
|
434 |
+
msgid "You do not have sufficient permissions to update the plugins for this site."
|
435 |
+
msgstr ""
|
436 |
+
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
|
437 |
+
"questo sito."
|
438 |
+
|
439 |
+
#: lib/yit-upgrade.php:509
|
440 |
+
msgid "Update Plugin"
|
441 |
+
msgstr "Aggiorna plugin"
|
442 |
+
|
443 |
+
#: licence/lib/yit-licence.php:161
|
444 |
+
#, php-format
|
445 |
+
msgctxt "%s = field name"
|
446 |
+
msgid "%s field cannot be empty"
|
447 |
+
msgstr "Il campo %s non può essere vuoto"
|
448 |
+
|
449 |
+
#: licence/lib/yit-licence.php:162
|
450 |
+
#, php-format
|
451 |
+
msgid "%s and %s fields cannot be empty"
|
452 |
+
msgstr "I campi %s e %s non possono essere vuoti"
|
453 |
+
|
454 |
+
#: licence/lib/yit-licence.php:163
|
455 |
+
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
456 |
+
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
457 |
+
|
458 |
+
#: licence/lib/yit-licence.php:548
|
459 |
+
msgid "Invalid Request"
|
460 |
+
msgstr "Richiesta non valida"
|
461 |
+
|
462 |
+
#: licence/lib/yit-licence.php:549
|
463 |
+
msgid "Invalid licence key"
|
464 |
+
msgstr "Chiave di licenza non valida"
|
465 |
+
|
466 |
+
#: licence/lib/yit-licence.php:550
|
467 |
+
msgid "Software has been deactivated"
|
468 |
+
msgstr "Il software è stato disattivato"
|
469 |
+
|
470 |
+
#: licence/lib/yit-licence.php:551
|
471 |
+
msgid "Maximum number of activations exceeded"
|
472 |
+
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
473 |
+
|
474 |
+
#: licence/lib/yit-licence.php:552
|
475 |
+
msgid "Invalid instance ID"
|
476 |
+
msgstr "Istanza ID non valida"
|
477 |
+
|
478 |
+
#: licence/lib/yit-licence.php:553
|
479 |
+
msgid "Invalid security key"
|
480 |
+
msgstr "Chiave di sicurezza non valida"
|
481 |
+
|
482 |
+
#: licence/lib/yit-licence.php:554
|
483 |
+
msgid "Licence key has expired"
|
484 |
+
msgstr "Questa chiave di licenza è scaduta"
|
485 |
+
|
486 |
+
#: licence/lib/yit-licence.php:555
|
487 |
+
msgid "Licence key has been banned"
|
488 |
+
msgstr "Questa chiave di licenza è stata bloccata"
|
489 |
+
|
490 |
+
#: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
|
491 |
+
#: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
|
492 |
+
#: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
|
493 |
+
msgid "Licence Activation"
|
494 |
+
msgstr "Attivazione licenza"
|
495 |
+
|
496 |
+
#: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
|
497 |
+
#, php-format
|
498 |
+
msgid "%s"
|
499 |
+
msgstr "%s"
|
500 |
+
|
501 |
+
#: licence/templates/panel/activation/activation-panel.php:19
|
502 |
+
msgid "Yithemes Licence Activation"
|
503 |
+
msgstr "Attivazione licenza YIThemes"
|
504 |
+
|
505 |
+
#: licence/templates/panel/activation/activation-panel.php:23
|
506 |
+
msgid ""
|
507 |
+
"I cannot find the license key for activating the theme I have bought some time "
|
508 |
+
"ago. Where can I find it?"
|
509 |
+
msgstr ""
|
510 |
+
"Non riesco a trovare la chiave di licenza per l'attivazione del tema che ho "
|
511 |
+
"acquistato diverso tempo fa. Dove posso trovarla?"
|
512 |
+
|
513 |
+
#: licence/templates/panel/activation/activation-panel.php:26
|
514 |
+
msgid ""
|
515 |
+
"If you have purchased one of our products before 27 January 2015, you can benefit "
|
516 |
+
"from support and updates (the services offered with the license)\n"
|
517 |
+
" until 27 January 2016 and you do not have to purchase it again to get "
|
518 |
+
"a new license key, because, before this date, your license used to be activated "
|
519 |
+
"automatically by our system.\n"
|
520 |
+
" After 27 January 2016, instead, if you want to benefit from support "
|
521 |
+
"and updates you have to buy a new license and activate it through the license key "
|
522 |
+
"you will be\n"
|
523 |
+
" provided with and that you can find in your YIThemes account, in "
|
524 |
+
"section \"My licenses\"."
|
525 |
+
msgstr ""
|
526 |
+
"Se hai acquistato un nostro prodotto prima del 27 gennaio 2015 potrai accedere al "
|
527 |
+
"supporto e scaricare gli aggiornamenti fino al 27 gennaio 2016 e non avrai bisogno "
|
528 |
+
"di una chiave di licenza,\n"
|
529 |
+
"in quanto la tua licenza prima di questa data veniva attivata in modo automatico "
|
530 |
+
"dal nostro sistema.\n"
|
531 |
+
"Dopo il 27 gennaio 2016, invece, per poter usufruire del servizio di supporto e "
|
532 |
+
"degli aggiornamenti dovrai riacquistare il prodotto e\n"
|
533 |
+
"attivarlo con la chiave di licenza che ti sarà fornita e che puoi trovare sul tuo "
|
534 |
+
"account YIThemes, alla voce \"Le mie licenze\"."
|
535 |
+
|
536 |
+
#: licence/templates/panel/activation/activation-panel.php:37
|
537 |
+
msgid ""
|
538 |
+
"Have you updated your licenses? Have you asked for an extension? Update "
|
539 |
+
"information concerning your products."
|
540 |
+
msgstr ""
|
541 |
+
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
|
542 |
+
"informazioni dei tuoi prodotti."
|
543 |
+
|
544 |
+
#: licence/templates/panel/activation/activation-panel.php:39
|
545 |
+
msgid "Update licence information"
|
546 |
+
msgstr "Aggiorna le informazioni di licenza"
|
547 |
+
|
548 |
+
#: licence/templates/panel/activation/activation-panel.php:49
|
549 |
+
msgid "Products to be activated"
|
550 |
+
msgstr "Prodotti da attivare"
|
551 |
+
|
552 |
+
#: licence/templates/panel/activation/activation-panel.php:68
|
553 |
+
msgid "Activate"
|
554 |
+
msgstr "Attiva"
|
555 |
+
|
556 |
+
#: licence/templates/panel/activation/activation-panel.php:87
|
557 |
+
msgid "Activated"
|
558 |
+
msgstr "Attivato"
|
559 |
+
|
560 |
+
#: licence/templates/panel/activation/activation-panel.php:91
|
561 |
+
#: licence/templates/panel/activation/activation-panel.php:123
|
562 |
+
#: licence/templates/panel/activation/activation-panel.php:147
|
563 |
+
msgid "Product Name"
|
564 |
+
msgstr "Nome prodotto"
|
565 |
+
|
566 |
+
#: licence/templates/panel/activation/activation-panel.php:92
|
567 |
+
#: licence/templates/panel/activation/activation-panel.php:124
|
568 |
+
#: licence/templates/panel/activation/activation-panel.php:148
|
569 |
+
#: templates/metaboxes/types/contactform.php:148
|
570 |
+
#: templates/metaboxes/types/contactform.php:340
|
571 |
+
msgid "Email"
|
572 |
+
msgstr "Email"
|
573 |
+
|
574 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
575 |
+
#: licence/templates/panel/activation/activation-panel.php:125
|
576 |
+
#: licence/templates/panel/activation/activation-panel.php:149
|
577 |
+
msgid "Licence Key"
|
578 |
+
msgstr "Chiave di licenza"
|
579 |
+
|
580 |
+
#: licence/templates/panel/activation/activation-panel.php:94
|
581 |
+
#: licence/templates/panel/activation/activation-panel.php:150
|
582 |
+
msgid "Expires"
|
583 |
+
msgstr "Scadenza"
|
584 |
+
|
585 |
+
#: licence/templates/panel/activation/activation-panel.php:95
|
586 |
+
msgid "Remaining"
|
587 |
+
msgstr "Tempo rimanente"
|
588 |
+
|
589 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
590 |
+
#: licence/templates/panel/activation/activation-panel.php:109
|
591 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
592 |
+
#: licence/templates/panel/activation/activation-panel.php:161
|
593 |
+
msgid "Renew"
|
594 |
+
msgstr "Rinnova"
|
595 |
+
|
596 |
+
#: licence/templates/panel/activation/activation-panel.php:107
|
597 |
+
#, php-format
|
598 |
+
msgid "%1s out of %2s"
|
599 |
+
msgstr "%1s di %2s"
|
600 |
+
|
601 |
+
#: licence/templates/panel/activation/activation-panel.php:119
|
602 |
+
msgid "Banned"
|
603 |
+
msgstr "Bloccato"
|
604 |
+
|
605 |
+
#: licence/templates/panel/activation/activation-panel.php:143
|
606 |
+
msgid "Expired"
|
607 |
+
msgstr "Non più valido"
|
608 |
+
|
609 |
+
#: templates/metaboxes/types/ajax-products.php:23
|
610 |
+
msgid "Search for a product"
|
611 |
+
msgstr "Cerca un prodotto"
|
612 |
+
|
613 |
+
#: templates/metaboxes/types/categories.php:36
|
614 |
+
msgid "No categories."
|
615 |
+
msgstr "Nessuna categoria"
|
616 |
+
|
617 |
+
#: templates/metaboxes/types/categories.php:42
|
618 |
+
msgid "+ Add New Category"
|
619 |
+
msgstr "+ Aggiungi nuova categoria"
|
620 |
+
|
621 |
+
#: templates/metaboxes/types/categories.php:46
|
622 |
+
msgid "Add"
|
623 |
+
msgstr "Aggiungi"
|
624 |
+
|
625 |
+
#: templates/metaboxes/types/contactform.php:7
|
626 |
+
msgid "Text Input"
|
627 |
+
msgstr "Text input"
|
628 |
+
|
629 |
+
#: templates/metaboxes/types/contactform.php:8
|
630 |
+
msgid "Checkbox"
|
631 |
+
msgstr "Checkbox"
|
632 |
+
|
633 |
+
#: templates/metaboxes/types/contactform.php:9
|
634 |
+
msgid "Select"
|
635 |
+
msgstr "Select"
|
636 |
+
|
637 |
+
#: templates/metaboxes/types/contactform.php:10
|
638 |
+
msgid "Textarea"
|
639 |
+
msgstr "Textarea"
|
640 |
+
|
641 |
+
#: templates/metaboxes/types/contactform.php:11
|
642 |
+
msgid "Radio Input"
|
643 |
+
msgstr "Radio input"
|
644 |
+
|
645 |
+
#: templates/metaboxes/types/contactform.php:12
|
646 |
+
msgid "Password Field"
|
647 |
+
msgstr "Campo password"
|
648 |
+
|
649 |
+
#: templates/metaboxes/types/contactform.php:13
|
650 |
+
msgid "File Upload"
|
651 |
+
msgstr "Carica file"
|
652 |
+
|
653 |
+
#: templates/metaboxes/types/contactform.php:47
|
654 |
+
msgid "Theme Icon"
|
655 |
+
msgstr "Icona tema"
|
656 |
+
|
657 |
+
#: templates/metaboxes/types/contactform.php:48
|
658 |
+
msgid "Custom Icon"
|
659 |
+
msgstr "Icona personalizzata"
|
660 |
+
|
661 |
+
#: templates/metaboxes/types/contactform.php:49
|
662 |
+
#: templates/metaboxes/types/responsivesliders.php:24
|
663 |
+
msgid "None"
|
664 |
+
msgstr "Nessuno"
|
665 |
+
|
666 |
+
#: templates/metaboxes/types/contactform.php:60
|
667 |
+
msgid "Add field"
|
668 |
+
msgstr "Aggiungi campo"
|
669 |
+
|
670 |
+
#: templates/metaboxes/types/contactform.php:69
|
671 |
+
#: templates/metaboxes/types/contactform.php:261
|
672 |
+
#: templates/metaboxes/types/customtabs.php:37
|
673 |
+
#: templates/metaboxes/types/customtabs.php:82
|
674 |
+
msgid "Remove"
|
675 |
+
msgstr "Rimuovi"
|
676 |
+
|
677 |
+
#: templates/metaboxes/types/contactform.php:70
|
678 |
+
#: templates/metaboxes/types/contactform.php:262
|
679 |
+
msgid "Click to toggle"
|
680 |
+
msgstr "Fai clic per aprire/chiudere"
|
681 |
+
|
682 |
+
#: templates/metaboxes/types/contactform.php:77
|
683 |
+
#: templates/metaboxes/types/contactform.php:269
|
684 |
+
msgid "Field Title"
|
685 |
+
msgstr "Titolo campo"
|
686 |
+
|
687 |
+
#: templates/metaboxes/types/contactform.php:81
|
688 |
+
#: templates/metaboxes/types/contactform.php:273
|
689 |
+
msgid "Insert the title for the field."
|
690 |
+
msgstr "Inserisci il titolo per il campo"
|
691 |
+
|
692 |
+
#: templates/metaboxes/types/contactform.php:86
|
693 |
+
#: templates/metaboxes/types/contactform.php:278
|
694 |
+
msgid "Data Name"
|
695 |
+
msgstr "Nome dati"
|
696 |
+
|
697 |
+
#: templates/metaboxes/types/contactform.php:90
|
698 |
+
#: templates/metaboxes/types/contactform.php:282
|
699 |
+
msgid ""
|
700 |
+
"REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
|
701 |
+
"strong>Use only lowercase characters and underscores."
|
702 |
+
msgstr ""
|
703 |
+
"RICHIESTO: Nome identificativo del campo da inserire nel corpo dell'email. "
|
704 |
+
"<strong>Nota:</strong>Puoi utilizzare solamente caratteri minuscoli e underscore."
|
705 |
+
|
706 |
+
#: templates/metaboxes/types/contactform.php:95
|
707 |
+
#: templates/metaboxes/types/contactform.php:287
|
708 |
+
msgid "Field Type"
|
709 |
+
msgstr "Tipologia campo"
|
710 |
+
|
711 |
+
#: templates/metaboxes/types/contactform.php:103
|
712 |
+
#: templates/metaboxes/types/contactform.php:295
|
713 |
+
msgid "Select the type for this field."
|
714 |
+
msgstr "Seleziona il tipo di campo."
|
715 |
+
|
716 |
+
#: templates/metaboxes/types/contactform.php:108
|
717 |
+
#: templates/metaboxes/types/contactform.php:300
|
718 |
+
msgid "Checked"
|
719 |
+
msgstr "Selezionato"
|
720 |
+
|
721 |
+
#: templates/metaboxes/types/contactform.php:112
|
722 |
+
#: templates/metaboxes/types/contactform.php:304
|
723 |
+
msgid "Select this option if you want this field appears as already checked."
|
724 |
+
msgstr "Seleziona questa opzione se vuoi che il campo appaia già selezionato."
|
725 |
+
|
726 |
+
#: templates/metaboxes/types/contactform.php:117
|
727 |
+
#: templates/metaboxes/types/contactform.php:309
|
728 |
+
msgid "Add options "
|
729 |
+
msgstr "Aggiungi opzioni"
|
730 |
+
|
731 |
+
#: templates/metaboxes/types/contactform.php:118
|
732 |
+
#: templates/metaboxes/types/contactform.php:310
|
733 |
+
msgid "Add option"
|
734 |
+
msgstr "Aggiungi opzione"
|
735 |
+
|
736 |
+
#: templates/metaboxes/types/contactform.php:121
|
737 |
+
#: templates/metaboxes/types/contactform.php:313
|
738 |
+
#: templates/metaboxes/types/contactform.php:436
|
739 |
+
msgid "Selected"
|
740 |
+
msgstr "Selezionato"
|
741 |
+
|
742 |
+
#: templates/metaboxes/types/contactform.php:124
|
743 |
+
#: templates/metaboxes/types/contactform.php:316
|
744 |
+
#: templates/metaboxes/types/contactform.php:436
|
745 |
+
msgid "Delete option"
|
746 |
+
msgstr "Cancella opzione"
|
747 |
+
|
748 |
+
#: templates/metaboxes/types/contactform.php:130
|
749 |
+
#: templates/metaboxes/types/contactform.php:322
|
750 |
+
msgid "Error Message"
|
751 |
+
msgstr "Messaggio di errore"
|
752 |
+
|
753 |
+
#: templates/metaboxes/types/contactform.php:134
|
754 |
+
#: templates/metaboxes/types/contactform.php:326
|
755 |
+
msgid "Insert the error message for validation."
|
756 |
+
msgstr "Inserisci il messaggio di errore per la validazione"
|
757 |
+
|
758 |
+
#: templates/metaboxes/types/contactform.php:139
|
759 |
+
#: templates/metaboxes/types/contactform.php:331
|
760 |
+
msgid "Required"
|
761 |
+
msgstr "Obbligatorio"
|
762 |
+
|
763 |
+
#: templates/metaboxes/types/contactform.php:143
|
764 |
+
#: templates/metaboxes/types/contactform.php:335
|
765 |
+
msgid "Select this option if it must be required."
|
766 |
+
msgstr "Seleziona questa opzione se deve essere obbligatoria."
|
767 |
+
|
768 |
+
#: templates/metaboxes/types/contactform.php:152
|
769 |
+
#: templates/metaboxes/types/contactform.php:344
|
770 |
+
msgid "Select this option if the email must be valid."
|
771 |
+
msgstr "Seleziona questa opzione se l'email inserita deve essere esistente."
|
772 |
+
|
773 |
+
#: templates/metaboxes/types/contactform.php:157
|
774 |
+
#: templates/metaboxes/types/contactform.php:349
|
775 |
+
msgid "Reply To"
|
776 |
+
msgstr "Rispondi a"
|
777 |
+
|
778 |
+
#: templates/metaboxes/types/contactform.php:161
|
779 |
+
#: templates/metaboxes/types/contactform.php:353
|
780 |
+
msgid "Select this if it is the email you can reply to."
|
781 |
+
msgstr "Seleziona questo se è l'email a cui poter rispondere. "
|
782 |
+
|
783 |
+
#: templates/metaboxes/types/contactform.php:166
|
784 |
+
#: templates/metaboxes/types/contactform.php:358
|
785 |
+
msgid "Class"
|
786 |
+
msgstr "Classe"
|
787 |
+
|
788 |
+
#: templates/metaboxes/types/contactform.php:170
|
789 |
+
#: templates/metaboxes/types/contactform.php:362
|
790 |
+
msgid "Insert additional class(es) (separated by commas) for more personalization."
|
791 |
+
msgstr ""
|
792 |
+
"Inserisci una o più classi (separate da virgole) per una ulteriore "
|
793 |
+
"personalizzazione."
|
794 |
+
|
795 |
+
#: templates/metaboxes/types/contactform.php:175
|
796 |
+
#: templates/metaboxes/types/contactform.php:367
|
797 |
+
msgid "Icon"
|
798 |
+
msgstr "Icona"
|
799 |
+
|
800 |
+
#: templates/metaboxes/types/contactform.php:203
|
801 |
+
#: templates/metaboxes/types/contactform.php:391
|
802 |
+
#: templates/metaboxes/types/icon-list.php:69
|
803 |
+
#: templates/metaboxes/types/select-icon.php:33
|
804 |
+
#: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
|
805 |
+
#: templates/panel/woocommerce/woocommerce-upload.php:35
|
806 |
+
msgid "Upload"
|
807 |
+
msgstr "Carica"
|
808 |
+
|
809 |
+
#: templates/metaboxes/types/contactform.php:209
|
810 |
+
#: templates/metaboxes/types/contactform.php:397
|
811 |
+
#: templates/metaboxes/types/icon-list.php:75
|
812 |
+
#: templates/metaboxes/types/select-icon.php:39
|
813 |
+
msgid "Image preview"
|
814 |
+
msgstr "Anteprima immagine"
|
815 |
+
|
816 |
+
#: templates/metaboxes/types/contactform.php:217
|
817 |
+
#: templates/metaboxes/types/contactform.php:405
|
818 |
+
msgid "Insert an icon for more personalization."
|
819 |
+
msgstr "Inserisci un'icona per ulteriore personalizzazione."
|
820 |
+
|
821 |
+
#: templates/metaboxes/types/contactform.php:222
|
822 |
+
#: templates/metaboxes/types/contactform.php:409
|
823 |
+
msgid "Width"
|
824 |
+
msgstr "Larghezza"
|
825 |
+
|
826 |
+
#: templates/metaboxes/types/contactform.php:247
|
827 |
+
#: templates/metaboxes/types/contactform.php:421
|
828 |
+
msgid "Set field length."
|
829 |
+
msgstr "Seleziona lunghezza campo."
|
830 |
+
|
831 |
+
#: templates/metaboxes/types/customtabs.php:28
|
832 |
+
msgid "Close all"
|
833 |
+
msgstr "Chiudi tutti"
|
834 |
+
|
835 |
+
#: templates/metaboxes/types/customtabs.php:28
|
836 |
+
msgid "Expand all"
|
837 |
+
msgstr "Espandi tutti"
|
838 |
+
|
839 |
+
#: templates/metaboxes/types/customtabs.php:52
|
840 |
+
#: templates/metaboxes/types/customtabs.php:95
|
841 |
+
msgid "Value"
|
842 |
+
msgstr "Valore"
|
843 |
+
|
844 |
+
#: templates/metaboxes/types/customtabs.php:53
|
845 |
+
#: templates/metaboxes/types/customtabs.php:96
|
846 |
+
msgid "Content of the tab. (HTML is supported)"
|
847 |
+
msgstr "Contenuto della scheda (codice HTML supportato)."
|
848 |
+
|
849 |
+
#: templates/metaboxes/types/customtabs.php:65
|
850 |
+
msgid "Add custom product tab"
|
851 |
+
msgstr "Aggiungi scheda prodotto personalizzata"
|
852 |
+
|
853 |
+
#: templates/metaboxes/types/customtabs.php:107
|
854 |
+
msgid "Do you want to remove the custom tab?"
|
855 |
+
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
856 |
+
|
857 |
+
#: templates/metaboxes/types/icon-list.php:89
|
858 |
+
#, php-format
|
859 |
+
msgid "(Default: %s <img src=\"%s\"/>)"
|
860 |
+
msgstr "(Default: %s <img src=\"%s\"/>)"
|
861 |
+
|
862 |
+
#: templates/metaboxes/types/icon-list.php:91
|
863 |
+
#, php-format
|
864 |
+
msgid "(Default: <i %s></i> )"
|
865 |
+
msgstr "(Default: <i %s></i> )"
|
866 |
+
|
867 |
+
#: templates/metaboxes/types/image-gallery.php:40
|
868 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
869 |
+
#: templates/metaboxes/types/images.php:38 templates/metaboxes/types/images.php:64
|
870 |
+
msgid "Delete image"
|
871 |
+
msgstr "Rimuovi immagine"
|
872 |
+
|
873 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
874 |
+
msgid "Add Images to Gallery"
|
875 |
+
msgstr "Aggiungi immagini alla galleria"
|
876 |
+
|
877 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
878 |
+
msgid "Add to gallery"
|
879 |
+
msgstr "Aggiungi alla galleria"
|
880 |
+
|
881 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
882 |
+
msgid "Add images"
|
883 |
+
msgstr "Aggiungi immagini"
|
884 |
+
|
885 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
886 |
+
msgid "Delete"
|
887 |
+
msgstr "Rimuovi"
|
888 |
+
|
889 |
+
#: templates/metaboxes/types/images.php:42
|
890 |
+
msgid "Upload new images"
|
891 |
+
msgstr "Carica nuove immagini"
|
892 |
+
|
893 |
+
#: templates/metaboxes/types/images.php:75
|
894 |
+
msgid "Are you sure you want to remove this image?"
|
895 |
+
msgstr "Confermi di voler rimuovere questa immagine?"
|
896 |
+
|
897 |
+
#: templates/metaboxes/types/sidebar-layout.php:25
|
898 |
+
#: templates/metaboxes/types/sidebars.php:36
|
899 |
+
msgid "Left sidebar"
|
900 |
+
msgstr "Barra laterale sinistra"
|
901 |
+
|
902 |
+
#: templates/metaboxes/types/sidebar-layout.php:28
|
903 |
+
#: templates/metaboxes/types/sidebars.php:42
|
904 |
+
#: templates/metaboxes/types/sidebars.php:45
|
905 |
+
msgid "No sidebar"
|
906 |
+
msgstr "Nessuna barra laterale"
|
907 |
+
|
908 |
+
#: templates/metaboxes/types/sidebar-layout.php:31
|
909 |
+
#: templates/metaboxes/types/sidebars.php:39
|
910 |
+
msgid "Right sidebar"
|
911 |
+
msgstr "Barra laterale destra"
|
912 |
+
|
913 |
+
#: templates/metaboxes/types/sidebar-layout.php:34
|
914 |
+
#: templates/metaboxes/types/sidebars.php:53
|
915 |
+
#: templates/metaboxes/types/sidebars.php:64
|
916 |
+
msgid "Choose a sidebar"
|
917 |
+
msgstr "Scegli una barra laterale"
|
918 |
+
|
919 |
+
#: templates/metaboxes/types/sidebars.php:51
|
920 |
+
msgid "Left Sidebar"
|
921 |
+
msgstr "Barra laterale sinistra"
|
922 |
+
|
923 |
+
#: templates/metaboxes/types/sidebars.php:62
|
924 |
+
msgid "Right Sidebar"
|
925 |
+
msgstr "Barra laterale destra"
|
926 |
+
|
927 |
+
#: templates/metaboxes/types/typography.php:42
|
928 |
+
msgid "px"
|
929 |
+
msgstr "px"
|
930 |
+
|
931 |
+
#: templates/metaboxes/types/typography.php:43
|
932 |
+
msgid "em"
|
933 |
+
msgstr "em"
|
934 |
+
|
935 |
+
#: templates/metaboxes/types/typography.php:44
|
936 |
+
msgid "pt"
|
937 |
+
msgstr "pt"
|
938 |
+
|
939 |
+
#: templates/metaboxes/types/typography.php:45
|
940 |
+
msgid "rem"
|
941 |
+
msgstr "rem"
|
942 |
+
|
943 |
+
#: templates/metaboxes/types/typography.php:59
|
944 |
+
#: templates/metaboxes/types/typography.php:153
|
945 |
+
#: templates/metaboxes/types/typography.php:217
|
946 |
+
msgid "Web fonts"
|
947 |
+
msgstr "Web fonts"
|
948 |
+
|
949 |
+
#: templates/metaboxes/types/typography.php:71
|
950 |
+
msgid "Google fonts"
|
951 |
+
msgstr "Google fonts"
|
952 |
+
|
953 |
+
#: templates/metaboxes/types/typography.php:96
|
954 |
+
msgid "Regular"
|
955 |
+
msgstr "Normale"
|
956 |
+
|
957 |
+
#: templates/metaboxes/types/typography.php:97
|
958 |
+
msgid "Bold"
|
959 |
+
msgstr "Grassetto"
|
960 |
+
|
961 |
+
#: templates/metaboxes/types/typography.php:98
|
962 |
+
msgid "Extra bold"
|
963 |
+
msgstr "Extra bold"
|
964 |
+
|
965 |
+
#: templates/metaboxes/types/typography.php:99
|
966 |
+
msgid "Italic"
|
967 |
+
msgstr "Corsivo"
|
968 |
+
|
969 |
+
#: templates/metaboxes/types/typography.php:100
|
970 |
+
msgid "Italic bold"
|
971 |
+
msgstr "Grassetto corsivo"
|
972 |
+
|
973 |
+
#: templates/panel/woocommerce/woocommerce-form.php:10
|
974 |
+
msgid "Reset Defaults"
|
975 |
+
msgstr "Ripristina impostazioni iniziali"
|
976 |
+
|
977 |
+
#~ msgid "%field_1% and %field_2% fields cannot be empty"
|
978 |
+
#~ msgstr "I campi %field_1% e %field_2% non possono essere vuoti"
|
979 |
+
|
980 |
+
#~ msgctxt "%field% = field name"
|
981 |
+
#~ msgid "%field% field cannot be empty"
|
982 |
+
#~ msgstr "Il campo %field% non può essere vuoto"
|
983 |
+
|
984 |
+
#~ msgid "%field% testo cannot be empty"
|
985 |
+
#~ msgstr "Il campo %field% non può essere vuoto"
|
986 |
+
|
987 |
+
#~ msgid "%field% field cannot be empty"
|
988 |
+
#~ msgstr "Il campo %field% non può essere vuoto"
|
plugin-fw/lib/yit-metabox.php
CHANGED
@@ -405,8 +405,10 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
|
|
405 |
* @since 1.0
|
406 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
407 |
*/
|
408 |
-
public function register_metabox() {
|
409 |
-
|
|
|
|
|
410 |
}
|
411 |
|
412 |
/**
|
405 |
* @since 1.0
|
406 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
407 |
*/
|
408 |
+
public function register_metabox( $post_type ) {
|
409 |
+
if( in_array( $post_type, (array) $this->options['pages'] ) ){
|
410 |
+
add_meta_box( $this->id, $this->options['label'], array( $this, 'show' ), $post_type, $this->options['context'], $this->options['priority'] );
|
411 |
+
}
|
412 |
}
|
413 |
|
414 |
/**
|
plugin-fw/lib/yit-plugin-panel.php
CHANGED
@@ -285,7 +285,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
285 |
<h2><?php echo $this->get_tab_title() ?></h2>
|
286 |
<?php if ( $this->is_show_form() ) : ?>
|
287 |
<form method="post" action="options.php">
|
288 |
-
<?php do_settings_sections( '
|
289 |
<p> </p>
|
290 |
<?php settings_fields( 'yit_' . $this->settings['parent'] . '_options' ); ?>
|
291 |
<input type="hidden" name="<?php echo $this->get_name_field( 'current_tab' ) ?>" value="<?php echo esc_attr( $current_tab ) ?>" />
|
@@ -344,10 +344,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
344 |
return;
|
345 |
}
|
346 |
foreach ( $yit_options[$current_tab] as $section => $data ) {
|
347 |
-
add_settings_section( "yit_settings_{$current_tab}_{$section}", $this->get_section_title( $section ), $this->get_section_description( $section ), '
|
348 |
foreach ( $data as $option ) {
|
349 |
if ( isset( $option['id'] ) && isset( $option['type'] ) && isset( $option['name'] ) ) {
|
350 |
-
add_settings_field( "yit_setting_" . $option['id'], $option['name'], array( $this, 'render_field' ), '
|
351 |
}
|
352 |
}
|
353 |
}
|
285 |
<h2><?php echo $this->get_tab_title() ?></h2>
|
286 |
<?php if ( $this->is_show_form() ) : ?>
|
287 |
<form method="post" action="options.php">
|
288 |
+
<?php do_settings_sections( 'yit' ); ?>
|
289 |
<p> </p>
|
290 |
<?php settings_fields( 'yit_' . $this->settings['parent'] . '_options' ); ?>
|
291 |
<input type="hidden" name="<?php echo $this->get_name_field( 'current_tab' ) ?>" value="<?php echo esc_attr( $current_tab ) ?>" />
|
344 |
return;
|
345 |
}
|
346 |
foreach ( $yit_options[$current_tab] as $section => $data ) {
|
347 |
+
add_settings_section( "yit_settings_{$current_tab}_{$section}", $this->get_section_title( $section ), $this->get_section_description( $section ), 'yit' );
|
348 |
foreach ( $data as $option ) {
|
349 |
if ( isset( $option['id'] ) && isset( $option['type'] ) && isset( $option['name'] ) ) {
|
350 |
+
add_settings_field( "yit_setting_" . $option['id'], $option['name'], array( $this, 'render_field' ), 'yit', "yit_settings_{$current_tab}_{$section}", array( 'option' => $option, 'label_for' => $this->get_id_field( $option['id'] ) ) );
|
351 |
}
|
352 |
}
|
353 |
}
|
plugin-fw/licence/lib/yit-licence.php
CHANGED
@@ -158,8 +158,8 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
158 |
*/
|
159 |
public function localize_script() {
|
160 |
wp_localize_script( 'yit-licence', 'licence_message', array(
|
161 |
-
'error' =>
|
162 |
-
'errors' => __( '%
|
163 |
'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' )
|
164 |
)
|
165 |
);
|
158 |
*/
|
159 |
public function localize_script() {
|
160 |
wp_localize_script( 'yit-licence', 'licence_message', array(
|
161 |
+
'error' => sprintf( _x( '%s field cannot be empty', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
|
162 |
+
'errors' => sprintf( __( '%s and %s fields cannot be empty', 'yith-plugin-fw' ), '%field_1%', '%field_2' ),
|
163 |
'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' )
|
164 |
)
|
165 |
);
|
plugin-fw/licence/lib/yit-plugin-licence.php
CHANGED
@@ -59,6 +59,10 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
59 |
public function __construct() {
|
60 |
parent::__construct();
|
61 |
|
|
|
|
|
|
|
|
|
62 |
$this->_settings = array(
|
63 |
'parent_page' => 'yit_plugin_panel',
|
64 |
'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
59 |
public function __construct() {
|
60 |
parent::__construct();
|
61 |
|
62 |
+
if ( ! is_admin() ) {
|
63 |
+
return;
|
64 |
+
}
|
65 |
+
|
66 |
$this->_settings = array(
|
67 |
'parent_page' => 'yit_plugin_panel',
|
68 |
'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
plugin-fw/templates/metaboxes/types/contactform.php
CHANGED
@@ -74,7 +74,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
74 |
<div class="inside">
|
75 |
|
76 |
<div class="the-metabox text clearfix">
|
77 |
-
<label for="<?php echo $id ?>_title_<?php echo $index ?>"><?php _e( 'Title
|
78 |
|
79 |
<p>
|
80 |
<input type="text" value="<?php echo esc_attr( $value[$index]['title'] ) ?>" id="<?php echo $id ?>_title_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][title]" />
|
@@ -92,7 +92,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
92 |
</div>
|
93 |
|
94 |
<div class="the-metabox select clearfix text-field-type">
|
95 |
-
<label for="<?php echo $id ?>_type_<?php echo $index ?>"><?php _e( 'Type
|
96 |
|
97 |
<p>
|
98 |
<select id="<?php echo $id ?>_type_<?php echo $index ?>" name="<?php echo $name . '[' . $index . ']' ?>[type]">
|
@@ -266,7 +266,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
266 |
<div class="inside">
|
267 |
|
268 |
<div class="the-metabox text clearfix">
|
269 |
-
<label for="<?php echo $id ?>_title"><?php _e( 'Title
|
270 |
|
271 |
<p>
|
272 |
<input disabled type="text" value="" id="<?php echo $id ?>_title" name="<?php echo $name ?>[][title]" />
|
@@ -284,7 +284,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
284 |
</div>
|
285 |
|
286 |
<div class="the-metabox select clearfix text-field-type">
|
287 |
-
<label for="<?php echo $id ?>_type"><?php _e( 'Type
|
288 |
|
289 |
<p>
|
290 |
<select disabled id="<?php echo $id ?>_type" name="<?php echo $name ?>[][type]">
|
74 |
<div class="inside">
|
75 |
|
76 |
<div class="the-metabox text clearfix">
|
77 |
+
<label for="<?php echo $id ?>_title_<?php echo $index ?>"><?php _e( 'Field Title', 'yith-plugin-fw' ) ?></label>
|
78 |
|
79 |
<p>
|
80 |
<input type="text" value="<?php echo esc_attr( $value[$index]['title'] ) ?>" id="<?php echo $id ?>_title_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][title]" />
|
92 |
</div>
|
93 |
|
94 |
<div class="the-metabox select clearfix text-field-type">
|
95 |
+
<label for="<?php echo $id ?>_type_<?php echo $index ?>"><?php _e( 'Field Type', 'yith-plugin-fw' ) ?></label>
|
96 |
|
97 |
<p>
|
98 |
<select id="<?php echo $id ?>_type_<?php echo $index ?>" name="<?php echo $name . '[' . $index . ']' ?>[type]">
|
266 |
<div class="inside">
|
267 |
|
268 |
<div class="the-metabox text clearfix">
|
269 |
+
<label for="<?php echo $id ?>_title"><?php _e( 'Field Title', 'yith-plugin-fw' ) ?></label>
|
270 |
|
271 |
<p>
|
272 |
<input disabled type="text" value="" id="<?php echo $id ?>_title" name="<?php echo $name ?>[][title]" />
|
284 |
</div>
|
285 |
|
286 |
<div class="the-metabox select clearfix text-field-type">
|
287 |
+
<label for="<?php echo $id ?>_type"><?php _e( 'Field Type', 'yith-plugin-fw' ) ?></label>
|
288 |
|
289 |
<p>
|
290 |
<select disabled id="<?php echo $id ?>_type" name="<?php echo $name ?>[][type]">
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Contributors: yithemes
|
4 |
Tags: woocommerce, products, themes, yit, yith, 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: 4.0
|
6 |
-
Tested up to: 4.2.
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -46,7 +46,11 @@ YITH WooCommerce Catalog Mode will add a new tab called "Catalog Mode" inside th
|
|
46 |
|
47 |
3. This image shows product detail page as it appears when "Add to Cart" button is hidden and Cart and Checkout page are deactivated.
|
48 |
|
49 |
-
== Changelog ==
|
|
|
|
|
|
|
|
|
50 |
|
51 |
= 1.0.5 =
|
52 |
|
3 |
Contributors: yithemes
|
4 |
Tags: woocommerce, products, themes, yit, yith, 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: 4.0
|
6 |
+
Tested up to: 4.2.2
|
7 |
+
Stable tag: 1.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
46 |
|
47 |
3. This image shows product detail page as it appears when "Add to Cart" button is hidden and Cart and Checkout page are deactivated.
|
48 |
|
49 |
+
== Changelog ==
|
50 |
+
|
51 |
+
= 1.0.6 =
|
52 |
+
|
53 |
+
* Fixed: Added functions for themes compatibility
|
54 |
|
55 |
= 1.0.5 =
|
56 |
|