Version Description
- Added: Support to WooCommerce 2.1.x
- Added: Spanish (Mexico) translation by Gabriel Dzul
- Added: French translation by Virginie Garcin
- Fixed: Revision Italian Language po/mo files
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Wishlist |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.1.0
- README.txt +11 -3
- add-to-cart.php +13 -5
- assets/css/admin.css +1 -1
- assets/css/style.css +1 -1
- class.yith-wcwl-init.php +611 -579
- class.yith-wcwl-install.php +1 -1
- class.yith-wcwl-shortcode.php +1 -1
- class.yith-wcwl-ui.php +1 -1
- class.yith-wcwl.php +1 -1
- functions.yith-wcwl.php +1 -1
- init.php +2 -2
- languages/yit-es_MX.mo +0 -0
- languages/yit-es_MX.po +460 -0
- languages/yit-fr_FR.mo +0 -0
- languages/yit-fr_FR.po +453 -0
- languages/yit-it_IT.mo +0 -0
- languages/yit-it_IT.po +33 -35
- languages/yit-pt_BR.mo +0 -0
- languages/yit-pt_BR.po +388 -0
- templates/share.php +1 -1
- templates/wishlist.php +11 -4
- uninstall.php +1 -1
- yith-wcwl-ajax.php +1 -1
README.txt
CHANGED
@@ -3,12 +3,13 @@
|
|
3 |
Contributors: yithemes
|
4 |
Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
|
5 |
Requires at least: 3.5.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
|
|
|
12 |
|
13 |
|
14 |
== Description ==
|
@@ -74,6 +75,13 @@ Yes, you can change the colors of background, text and border or apply a custom
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.0.6 =
|
78 |
|
79 |
* Added: Spanish (Argentina) partial translation by Sebastian Jeremias
|
@@ -81,7 +89,7 @@ Yes, you can change the colors of background, text and border or apply a custom
|
|
81 |
* Fixed: Share buttons show also when not logged in
|
82 |
* Fixed: Price shows including or excluding tax based on WooCommerce settings
|
83 |
* Fixed: Better compatibility for WPML
|
84 |
-
* Fixed: Price shows "Free!" if the product
|
85 |
* Fixed: DB Table creation on plugin activation
|
86 |
|
87 |
= 1.0.5 =
|
3 |
Contributors: yithemes
|
4 |
Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
|
5 |
Requires at least: 3.5.1
|
6 |
+
Tested up to: 3.8.1
|
7 |
+
Stable tag: 1.1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
|
12 |
+
WooCommerce 2.1.x compatible.
|
13 |
|
14 |
|
15 |
== Description ==
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.1.0 =
|
79 |
+
|
80 |
+
* Added: Support to WooCommerce 2.1.x
|
81 |
+
* Added: Spanish (Mexico) translation by Gabriel Dzul
|
82 |
+
* Added: French translation by Virginie Garcin
|
83 |
+
* Fixed: Revision Italian Language po/mo files
|
84 |
+
|
85 |
= 1.0.6 =
|
86 |
|
87 |
* Added: Spanish (Argentina) partial translation by Sebastian Jeremias
|
89 |
* Fixed: Share buttons show also when not logged in
|
90 |
* Fixed: Price shows including or excluding tax based on WooCommerce settings
|
91 |
* Fixed: Better compatibility for WPML
|
92 |
+
* Fixed: Price shows "Free!" if the product is without price
|
93 |
* Fixed: DB Table creation on plugin activation
|
94 |
|
95 |
= 1.0.5 =
|
add-to-cart.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
// Handles all ajax requests pertaining to this plugin
|
@@ -19,7 +19,7 @@ $error_link_url = $yith_wcwl->get_wishlist_url();
|
|
19 |
//determine to success link redirect url
|
20 |
//handle redirect option chosen by admin
|
21 |
if( isset( $_GET['redirect_to_cart'] ) && $_GET['redirect_to_cart'] == 'true' )
|
22 |
-
{ $redirect_url = get_permalink( icl_object_id( woocommerce_get_page_id( 'cart' ) ), 'page', true ); }
|
23 |
else
|
24 |
{ $redirect_url = $yith_wcwl->get_wishlist_url(); }
|
25 |
|
@@ -30,8 +30,12 @@ $details = $yith_wcwl->get_product_details( $_GET['wishlist_item_id'] );
|
|
30 |
if( $woocommerce->cart->add_to_cart( $details[0]['prod_id'], 1 ) ) {
|
31 |
//$_SESSION['messages'] = sprintf( '<a href="%s" class="button">%s</a> %s', get_permalink( woocommerce_get_page_id( 'cart' ) ), __( 'View Cart →', 'yit' ), __( 'Product successfully added to the cart.', 'yit' ) );
|
32 |
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
|
36 |
if( get_option( 'yith_wcwl_remove_after_add_to_cart' ) == 'yes' )
|
37 |
{ $yith_wcwl->remove( $details[0]['ID'] ); }
|
@@ -39,6 +43,10 @@ if( $woocommerce->cart->add_to_cart( $details[0]['prod_id'], 1 ) ) {
|
|
39 |
header( "Location: $redirect_url" );
|
40 |
|
41 |
} else { //if failed, redirect to wishlist page with errors
|
42 |
-
|
|
|
|
|
|
|
|
|
43 |
header( "Location: $error_link_url" );
|
44 |
}
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
// Handles all ajax requests pertaining to this plugin
|
19 |
//determine to success link redirect url
|
20 |
//handle redirect option chosen by admin
|
21 |
if( isset( $_GET['redirect_to_cart'] ) && $_GET['redirect_to_cart'] == 'true' )
|
22 |
+
{ $redirect_url = get_permalink( icl_object_id( function_exists( 'wc_get_page_id' ) ? wc_get_page_id('cart') : woocommerce_get_page_id( 'cart' ) ), 'page', true ); }
|
23 |
else
|
24 |
{ $redirect_url = $yith_wcwl->get_wishlist_url(); }
|
25 |
|
30 |
if( $woocommerce->cart->add_to_cart( $details[0]['prod_id'], 1 ) ) {
|
31 |
//$_SESSION['messages'] = sprintf( '<a href="%s" class="button">%s</a> %s', get_permalink( woocommerce_get_page_id( 'cart' ) ), __( 'View Cart →', 'yit' ), __( 'Product successfully added to the cart.', 'yit' ) );
|
32 |
|
33 |
+
if ( function_exists('wc_add_to_cart_message') ) {
|
34 |
+
wc_add_to_cart_message( $details[0]['prod_id'] );
|
35 |
+
} else {
|
36 |
+
woocommerce_add_to_cart_message( $details[0]['prod_id'] );
|
37 |
+
}
|
38 |
+
//$woocommerce->set_messages();
|
39 |
|
40 |
if( get_option( 'yith_wcwl_remove_after_add_to_cart' ) == 'yes' )
|
41 |
{ $yith_wcwl->remove( $details[0]['ID'] ); }
|
43 |
header( "Location: $redirect_url" );
|
44 |
|
45 |
} else { //if failed, redirect to wishlist page with errors
|
46 |
+
if ( function_exists('wc_get_notices') ) {
|
47 |
+
$_SESSION['errors'] = wc_get_notices( "error" );
|
48 |
+
} else {
|
49 |
+
$_SESSION['errors'] = $woocommerce->get_errors();
|
50 |
+
}
|
51 |
header( "Location: $error_link_url" );
|
52 |
}
|
assets/css/admin.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
-
* @version 1.0
|
7 |
*/
|
8 |
|
9 |
#yith_wcwl_styles .color_box {
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
+
* @version 1.1.0
|
7 |
*/
|
8 |
|
9 |
#yith_wcwl_styles .color_box {
|
assets/css/style.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
-
* @version 1.0
|
7 |
*/
|
8 |
|
9 |
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
+
* @version 1.1.0
|
7 |
*/
|
8 |
|
9 |
|
class.yith-wcwl-init.php
CHANGED
@@ -2,14 +2,16 @@
|
|
2 |
/**
|
3 |
* Init class
|
4 |
*
|
5 |
-
* @author
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
-
if ( !defined( 'YITH_WCWL' ) ) {
|
|
|
|
|
11 |
|
12 |
-
if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
13 |
/**
|
14 |
* Initiator class. Install the plugin database and load all needed stuffs.
|
15 |
*
|
@@ -22,8 +24,8 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
22 |
* @var string
|
23 |
* @since 1.0.0
|
24 |
*/
|
25 |
-
public $version = '1.
|
26 |
-
|
27 |
/**
|
28 |
* Plugin database version
|
29 |
*
|
@@ -31,34 +33,34 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
31 |
* @since 1.0.0
|
32 |
*/
|
33 |
public $db_version = '1.0.0';
|
34 |
-
|
35 |
/**
|
36 |
* Tab name
|
37 |
-
*
|
38 |
* @var string
|
39 |
* @since 1.0.0
|
40 |
-
*/
|
41 |
-
public $tab;
|
42 |
-
|
43 |
/**
|
44 |
* Plugin options
|
45 |
-
*
|
46 |
* @var array
|
47 |
* @since 1.0.0
|
48 |
*/
|
49 |
public $options;
|
50 |
-
|
51 |
/**
|
52 |
* Front end colors options.
|
53 |
-
*
|
54 |
* @var array
|
55 |
* @since 1.0.0
|
56 |
*/
|
57 |
public $colors_options;
|
58 |
-
|
59 |
/**
|
60 |
* CSS selectors used to style buttons.
|
61 |
-
*
|
62 |
* @var array
|
63 |
* @since 1.0.0
|
64 |
*/
|
@@ -73,196 +75,204 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
73 |
*/
|
74 |
public $banner_url = 'http://cdn.yithemes.com/plugins/yith_wishlist.php?url';
|
75 |
public $banner_img = 'http://cdn.yithemes.com/plugins/yith_wishlist.php';
|
76 |
-
public $doc_url
|
77 |
|
78 |
/**
|
79 |
* Positions of the button "Add to Wishlist"
|
80 |
-
*
|
81 |
* @var array
|
82 |
* @access private
|
83 |
* @since 1.0.0
|
84 |
*/
|
85 |
private $_positions;
|
86 |
-
|
87 |
/**
|
88 |
* Store class yith_WCWL_Install.
|
89 |
-
*
|
90 |
* @var object
|
91 |
* @access private
|
92 |
* @since 1.0.0
|
93 |
*/
|
94 |
private $_yith_wcwl_install;
|
95 |
-
|
96 |
/**
|
97 |
* Constructor
|
98 |
-
*
|
99 |
* @since 1.0.0
|
100 |
*/
|
101 |
-
public function __construct() {
|
102 |
define( 'YITH_WCWL_VERSION', $this->version );
|
103 |
define( 'YITH_WCWL_DB_VERSION', $this->db_version );
|
104 |
-
|
105 |
-
$this->tab
|
106 |
$this->options = $this->_plugin_options();
|
107 |
-
|
108 |
-
$this->_positions
|
109 |
'add-to-cart' => array( 'hook' => 'woocommerce_single_product_summary', 'priority' => 31 ),
|
110 |
-
'thumbnails'
|
111 |
-
'summary'
|
112 |
) );
|
113 |
$this->_yith_wcwl_install = new YITH_WCWL_Install();
|
114 |
-
|
115 |
-
if ( is_admin() && ! defined( 'DOING_AJAX' ) )
|
116 |
-
|
|
|
|
|
117 |
add_action( 'init', array( $this, 'init' ), 0 );
|
118 |
add_action( 'admin_init', array( $this, 'load_admin_style' ) );
|
119 |
|
120 |
-
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_tab_woocommerce' ) );
|
121 |
add_filter( 'woocommerce_page_settings', array( $this, 'add_page_setting_woocommerce' ) );
|
122 |
add_action( 'woocommerce_update_options_yith_wcwl', array( $this, 'update_options' ) );
|
123 |
add_action( 'woocommerce_settings_tabs_yith_wcwl', array( $this, 'print_plugin_options' ) );
|
124 |
-
add_filter( 'plugin_action_links_' . plugin_basename( plugin_basename( dirname(__FILE__) . '/init.php' ) ), array( $this, 'action_links' ) );
|
125 |
-
|
126 |
-
if( get_option( 'yith_wcwl_enabled' ) == 'yes' ) {
|
127 |
add_action( 'wp_head', array( $this, 'add_button' ) );
|
128 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_and_stuffs' ) );
|
129 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
130 |
-
add_filter( 'body_class', array( $this, 'add_body_class') );
|
131 |
|
132 |
// YITH WCWL Loaded
|
133 |
do_action( 'yith_wcwl_loaded' );
|
134 |
}
|
135 |
|
136 |
//Apply filters
|
137 |
-
$this->banner_url = apply_filters('yith_wcmg_banner_url', $this->banner_url);
|
138 |
}
|
139 |
-
|
140 |
/**
|
141 |
* Initiator method. Initiate properties.
|
142 |
-
*
|
143 |
* @return void
|
144 |
* @access private
|
145 |
* @since 1.0.0
|
146 |
*/
|
147 |
public function init() {
|
148 |
global $yith_wcwl;
|
149 |
-
|
150 |
$db_colors = get_option( 'yith_wcwl_frontend_css_colors' );
|
151 |
-
|
152 |
-
$this->colors_options = !empty( $db_colors ) ? maybe_unserialize( $db_colors ) : apply_filters( 'yith_wcwl_colors_options', array(
|
153 |
-
'add_to_wishlist'
|
154 |
'add_to_wishlist_hover' => array( 'background' => '#2F2F2F', 'color' => '#FFFFFF', 'border_color' => '#2F2F2F' ),
|
155 |
-
'add_to_cart'
|
156 |
-
'add_to_cart_hover'
|
157 |
-
'wishlist_table'
|
158 |
) );
|
159 |
-
|
160 |
-
if( empty( $db_colors ) )
|
161 |
-
|
162 |
-
|
|
|
163 |
$this->rules = apply_filters( 'yith_wcwl_colors_rules', array(
|
164 |
-
'add_to_wishlist'
|
165 |
'add_to_wishlist_hover' => '.woocommerce .yith-wcwl-add-button > a.button.alt:hover',
|
166 |
-
'add_to_cart'
|
167 |
-
'add_to_cart_hover'
|
168 |
-
'wishlist_table'
|
169 |
) );
|
170 |
-
|
171 |
-
if( is_user_logged_in() ) {
|
172 |
$yith_wcwl->details['user_id'] = get_current_user_id();
|
173 |
-
|
174 |
//check whether any products are added to wishlist, then after login add to the wishlist if not added
|
175 |
-
if( yith_usecookies() ) {
|
176 |
$cookie = yith_getcookie( 'yith_wcwl_products' );
|
177 |
-
foreach( $cookie as $details ) {
|
178 |
-
$yith_wcwl->details
|
179 |
$yith_wcwl->details['user_id'] = get_current_user_id();
|
180 |
|
181 |
$ret_val = $yith_wcwl->add();
|
182 |
}
|
183 |
-
|
184 |
yith_destroycookie( 'yith_wcwl_products' );
|
185 |
-
}
|
186 |
-
|
187 |
-
|
188 |
-
|
|
|
189 |
$yith_wcwl->details['user_id'] = get_current_user_id();
|
190 |
-
|
191 |
$ret_val = $yith_wcwl->add();
|
192 |
}
|
193 |
-
|
194 |
unset( $_SESSION['yith_wcwl_products'] );
|
195 |
}
|
196 |
}
|
197 |
}
|
198 |
-
|
199 |
wp_register_style( 'yith-wcwl-admin', YITH_WCWL_URL . 'assets/css/admin.css' );
|
200 |
}
|
201 |
-
|
202 |
/**
|
203 |
* Load admin style.
|
204 |
-
*
|
205 |
* @return void
|
206 |
* @since 1.0.0
|
207 |
*/
|
208 |
public function load_admin_style() {
|
209 |
wp_enqueue_style( 'yith-wcwl-admin' );
|
210 |
}
|
211 |
-
|
212 |
/**
|
213 |
* Run the installation
|
214 |
-
*
|
215 |
* @return void
|
216 |
* @since 1.0.0
|
217 |
*/
|
218 |
public function install() {
|
219 |
-
if( $this->db_version != get_option( 'yith_wcwl_db_version' ) ||
|
220 |
-
|
221 |
//$this->_yith_wcwl_install->init();
|
222 |
$this->_yith_wcwl_install->default_options( $this->options );
|
223 |
-
|
224 |
// Plugin installed
|
225 |
do_action( 'yith_wcwl_installed' );
|
226 |
}
|
227 |
}
|
228 |
-
|
229 |
/**
|
230 |
* Add the "Add to Wishlist" button. Needed to use in wp_head hook.
|
231 |
-
*
|
232 |
* @return void
|
233 |
* @since 1.0.0
|
234 |
*/
|
235 |
public function add_button() {
|
236 |
global $post;
|
237 |
-
|
238 |
-
if( !isset( $post ) || !is_object( $post ) )
|
239 |
-
|
240 |
-
|
|
|
241 |
// Add the link "Add to wishlist"
|
242 |
$position = get_option( 'yith_wcwl_button_position' );
|
243 |
$position = empty( $position ) ? 'add-to-cart' : $position;
|
244 |
-
|
245 |
-
if( $position != 'shortcode' )
|
246 |
-
|
247 |
-
|
|
|
248 |
// Free the memory. Like it needs a lot of memory... but this is rock!
|
249 |
-
}
|
250 |
|
251 |
|
252 |
/**
|
253 |
* Add specific body class when the Wishlist page is opened
|
254 |
*
|
255 |
* @param array $classes
|
|
|
256 |
* @return array
|
257 |
* @since 1.0.0
|
258 |
*/
|
259 |
public function add_body_class( $classes ) {
|
260 |
-
$wishlist_page_id = get_option('yith_wcwl_wishlist_page_id');
|
261 |
|
262 |
-
if( is_page( $wishlist_page_id ) ||
|
263 |
|
264 |
//WPML Compatibility
|
265 |
-
defined( 'ICL_PLUGIN_PATH' ) && is_page( icl_object_id( $wishlist_page_id, 'page', false ) )
|
|
|
266 |
$classes[] = 'woocommerce-wishlist';
|
267 |
$classes[] = 'woocommerce';
|
268 |
$classes[] = 'woocommerce-page';
|
@@ -270,9 +280,10 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
270 |
|
271 |
return $classes;
|
272 |
}
|
|
|
273 |
/**
|
274 |
* Enqueue styles, scripts and other stuffs needed in the <head>.
|
275 |
-
*
|
276 |
* @return void
|
277 |
* @since 1.0.0
|
278 |
*/
|
@@ -281,34 +292,36 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
281 |
'woocommerce/wishlist.css',
|
282 |
'wishlist.css'
|
283 |
) );
|
284 |
-
|
285 |
-
if(
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
|
|
|
|
291 |
wp_enqueue_style( 'yith-wcwl-font-awesome', YITH_WCWL_URL . 'assets/css/font-awesome.css' );
|
292 |
wp_enqueue_style( 'yith-wcwl-font-awesome-ie7', YITH_WCWL_URL . 'assets/css/font-awesome-ie7.css' );
|
293 |
}
|
294 |
-
|
295 |
// Add frontend CSS for buttons
|
296 |
$colors_styles = array();
|
297 |
-
$frontend_css
|
298 |
-
if( get_option( 'yith_wcwl_frontend_css' ) == 'no' ) {
|
299 |
-
foreach( $this->colors_options as $name => $option
|
300 |
$colors_styles[$name] = '';
|
301 |
-
|
302 |
-
foreach( $option as $id => $value ) {
|
303 |
$colors_styles[$name] .= str_replace( '_', '-', $id ) . ':' . $value . ';';
|
304 |
}
|
305 |
}
|
306 |
-
|
307 |
-
foreach( $this->rules as $id => $rule ) {
|
308 |
$frontend_css .= $rule . '{' . $colors_styles[$id] . '}';
|
309 |
}
|
310 |
}
|
311 |
-
|
312 |
?>
|
313 |
<style>
|
314 |
<?php
|
@@ -320,91 +333,93 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
320 |
?>
|
321 |
</style>
|
322 |
<script type="text/javascript">
|
323 |
-
|
324 |
-
|
325 |
</script>
|
326 |
-
|
327 |
}
|
328 |
-
|
329 |
/**
|
330 |
* Enqueue plugin scripts.
|
331 |
-
*
|
332 |
* @return void
|
333 |
* @since 1.0.0
|
334 |
*/
|
335 |
public function enqueue_scripts() {
|
336 |
wp_register_script( 'jquery-yith-wcwl', YITH_WCWL_URL . 'assets/js/jquery.yith-wcwl.js', array( 'jquery' ), '1.0', true );
|
337 |
wp_enqueue_script( 'jquery-yith-wcwl' );
|
338 |
-
|
339 |
$yith_wcwl_l10n = array(
|
340 |
'out_of_stock' => __( 'Cannot add to the cart as product is Out of Stock!', 'yit' ),
|
341 |
);
|
342 |
wp_localize_script( 'jquery-yith-wcwl', 'yith_wcwl_l10n', $yith_wcwl_l10n );
|
343 |
}
|
344 |
-
|
345 |
/**
|
346 |
* Add the tab of the plugin to the WooCommerce theme options
|
347 |
-
*
|
348 |
* @param array $tabs
|
|
|
349 |
* @return array
|
350 |
* @since 1.0.0
|
351 |
*/
|
352 |
public function add_tab_woocommerce( $tabs ) {
|
353 |
$tabs['yith_wcwl'] = $this->tab;
|
354 |
-
|
355 |
return $tabs;
|
356 |
}
|
357 |
-
|
358 |
/**
|
359 |
* Add the select for the Wishlist page in WooCommerce > Settings > Pages
|
360 |
-
*
|
361 |
* @param array $settings
|
|
|
362 |
* @return array
|
363 |
* @since 1.0.0
|
364 |
*/
|
365 |
public function add_page_setting_woocommerce( $settings ) {
|
366 |
unset( $settings[count( $settings ) - 1] );
|
367 |
-
|
368 |
$settings[] = array(
|
369 |
-
'name'
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
);
|
379 |
-
|
380 |
-
$settings[] = array( 'type' => 'sectionend', 'id' => 'page_options');
|
381 |
-
|
382 |
return $settings;
|
383 |
}
|
384 |
-
|
385 |
/**
|
386 |
* Update plugin options.
|
387 |
-
*
|
388 |
* @return void
|
389 |
* @since 1.0.0
|
390 |
*/
|
391 |
public function update_options() {
|
392 |
-
foreach( $this->options as $option ) {
|
393 |
-
woocommerce_update_options( $option );
|
394 |
}
|
395 |
-
|
396 |
-
foreach( $this->colors_options as $name => $option ) {
|
397 |
-
foreach( $option as $id => $color ) {
|
398 |
-
$this->colors_options[$name][$id] = isset( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) && !empty( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) ? woocommerce_format_hex( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) : '';
|
399 |
}
|
400 |
}
|
401 |
-
|
402 |
update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $this->colors_options ) );
|
403 |
}
|
404 |
-
|
405 |
/**
|
406 |
* Print all plugin options.
|
407 |
-
*
|
408 |
* @return void
|
409 |
* @since 1.0.0
|
410 |
*/
|
@@ -416,7 +431,7 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
416 |
) );
|
417 |
|
418 |
$this->_printBanner();
|
419 |
-
|
420 |
?>
|
421 |
<div class="subsubsub_section">
|
422 |
<!--<ul class="subsubsub">
|
@@ -425,27 +440,27 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
425 |
</li>
|
426 |
</ul>-->
|
427 |
<br class="clear" />
|
428 |
-
<?php foreach( $this->options as $id => $tab ) : ?>
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
<?php endforeach ?>
|
442 |
</div>
|
443 |
-
|
444 |
}
|
445 |
-
|
446 |
/**
|
447 |
* Add colors options to the panel.
|
448 |
-
*
|
449 |
* @return void
|
450 |
* @access private
|
451 |
* @since 1.0.0
|
@@ -454,76 +469,83 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
454 |
$colors = maybe_unserialize( get_option( 'yith_wcwl_frontend_css_colors' ) );
|
455 |
|
456 |
foreach ( $this->colors_options as $color => $attrs ) {
|
457 |
-
if ( ! isset( $colors[$color] ) )
|
|
|
|
|
458 |
}
|
459 |
-
|
460 |
-
|
|
|
461 |
|
462 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button background', 'yit' ), 'yith_wcwl_color_add_to_wishlist_background', $colors['add_to_wishlist']['background'] );
|
463 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button text', 'yit' ), 'yith_wcwl_color_add_to_wishlist_color', $colors['add_to_wishlist']['color'] );
|
464 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button border', 'yit' ), 'yith_wcwl_color_add_to_wishlist_border_color', $colors['add_to_wishlist']['border_color'] );
|
465 |
|
466 |
-
|
|
|
467 |
|
468 |
// hover
|
469 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button background (hover)', 'yit' ), 'yith_wcwl_color_add_to_wishlist_hover_background', $colors['add_to_wishlist_hover']['background'] );
|
470 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button text (hover)', 'yit' ), 'yith_wcwl_color_add_to_wishlist_hover_color', $colors['add_to_wishlist_hover']['color'] );
|
471 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button border (hover)', 'yit' ), 'yith_wcwl_color_add_to_wishlist_hover_border_color', $colors['add_to_wishlist_hover']['border_color'] );
|
472 |
|
473 |
-
|
|
|
474 |
|
475 |
yith_frontend_css_color_picker( __( '"Add to Cart" button background', 'yit' ), 'yith_wcwl_color_add_to_cart_background', $colors['add_to_cart']['background'] );
|
476 |
yith_frontend_css_color_picker( __( '"Add to Cart" button text', 'yit' ), 'yith_wcwl_color_add_to_cart_color', $colors['add_to_cart']['color'] );
|
477 |
yith_frontend_css_color_picker( __( '"Add to Cart" button border', 'yit' ), 'yith_wcwl_color_add_to_cart_border_color', $colors['add_to_cart']['border_color'] );
|
478 |
|
479 |
-
|
|
|
480 |
|
481 |
// hover
|
482 |
yith_frontend_css_color_picker( __( '"Add to Cart" button background (hover)', 'yit' ), 'yith_wcwl_color_add_to_cart_hover_background', $colors['add_to_cart_hover']['background'] );
|
483 |
yith_frontend_css_color_picker( __( '"Add to Cart" button text (hover)', 'yit' ), 'yith_wcwl_color_add_to_cart_hover_color', $colors['add_to_cart_hover']['color'] );
|
484 |
yith_frontend_css_color_picker( __( '"Add to Cart" button border (hover)', 'yit' ), 'yith_wcwl_color_add_to_cart_hover_border_color', $colors['add_to_cart_hover']['border_color'] );
|
485 |
-
|
486 |
-
|
487 |
-
|
|
|
488 |
yith_frontend_css_color_picker( __( 'Wishlist table background', 'yit' ), 'yith_wcwl_color_wishlist_table_background', $colors['wishlist_table']['background'] );
|
489 |
yith_frontend_css_color_picker( __( 'Wishlist table text', 'yit' ), 'yith_wcwl_color_wishlist_table_color', $colors['wishlist_table']['color'] );
|
490 |
yith_frontend_css_color_picker( __( 'Wishlist table border', 'yit' ), 'yith_wcwl_color_wishlist_table_border_color', $colors['wishlist_table']['border_color'] );
|
491 |
-
|
492 |
do_action( 'yith_wcwl_admin_color_pickers' );
|
493 |
-
|
494 |
?>
|
495 |
<div class="clear"></div>
|
496 |
-
|
497 |
<script type="text/javascript">
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
jQuery(
|
502 |
-
jQuery(
|
503 |
-
jQuery(
|
504 |
-
|
505 |
-
|
506 |
-
if(
|
507 |
-
jQuery(
|
508 |
-
jQuery(
|
509 |
-
jQuery(
|
510 |
}
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
jQuery(
|
515 |
-
if(
|
516 |
-
jQuery(
|
517 |
-
jQuery(
|
518 |
-
jQuery(
|
519 |
} else {
|
520 |
-
jQuery(
|
521 |
-
jQuery(
|
522 |
-
jQuery(
|
523 |
}
|
524 |
}).change();
|
525 |
-
|
526 |
-
|
527 |
}
|
528 |
|
529 |
|
@@ -531,15 +553,25 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
531 |
* action_links function.
|
532 |
*
|
533 |
* @access public
|
|
|
534 |
* @param mixed $links
|
|
|
535 |
* @return void
|
536 |
*/
|
537 |
public function action_links( $links ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
|
539 |
$plugin_links = array(
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
|
544 |
return array_merge( $plugin_links, $links );
|
545 |
}
|
@@ -561,454 +593,454 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
|
|
561 |
</div>
|
562 |
<?php
|
563 |
}
|
564 |
-
|
565 |
/**
|
566 |
* Plugin options and tabs.
|
567 |
-
*
|
568 |
* @return array
|
569 |
* @since 1.0.0
|
570 |
*/
|
571 |
private function _plugin_options() {
|
572 |
$icons = array(
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
ksort( $icons );
|
786 |
-
|
787 |
$options['general_settings'] = array(
|
788 |
array( 'name' => __( 'General Settings', 'yit' ), 'type' => 'title', 'desc' => '', 'id' => 'yith_wcwl_general_settings' ),
|
789 |
-
|
790 |
array(
|
791 |
-
'name'
|
792 |
-
'desc'
|
793 |
-
'id'
|
794 |
-
|
795 |
-
|
796 |
-
'type'
|
797 |
),
|
798 |
array(
|
799 |
-
'name'
|
800 |
-
'desc'
|
801 |
-
'id'
|
802 |
-
|
803 |
-
|
804 |
-
'type'
|
805 |
),
|
806 |
array(
|
807 |
-
'name'
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
),
|
814 |
array(
|
815 |
-
'name'
|
816 |
-
'desc'
|
817 |
-
'id'
|
818 |
-
'type'
|
819 |
-
'class'
|
820 |
-
'css'
|
821 |
-
'options'
|
822 |
'add-to-cart' => __( 'After "Add to cart"', 'yit' ),
|
823 |
-
'thumbnails'
|
824 |
-
'summary'
|
825 |
-
'shortcode'
|
826 |
),
|
827 |
-
'desc_tip'
|
828 |
),
|
829 |
array(
|
830 |
-
'name'
|
831 |
-
'desc'
|
832 |
-
'id'
|
833 |
-
|
834 |
-
|
835 |
-
'type'
|
836 |
),
|
837 |
array(
|
838 |
-
'name'
|
839 |
-
'desc'
|
840 |
-
'id'
|
841 |
-
|
842 |
-
|
843 |
-
'type'
|
844 |
),
|
845 |
array(
|
846 |
-
'name'
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
),
|
853 |
array(
|
854 |
-
'name'
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
),
|
861 |
array(
|
862 |
-
'name'
|
863 |
-
'id'
|
864 |
-
'std'
|
865 |
-
'default'
|
866 |
-
'type'
|
867 |
-
'css'
|
868 |
),
|
869 |
array(
|
870 |
-
'name'
|
871 |
-
'id'
|
872 |
-
'std'
|
873 |
-
'default'
|
874 |
-
'type'
|
875 |
-
'css'
|
876 |
),
|
877 |
array(
|
878 |
-
'name'
|
879 |
-
'id'
|
880 |
-
'std'
|
881 |
-
'default'
|
882 |
-
'type'
|
883 |
-
'css'
|
884 |
),
|
885 |
-
|
886 |
array( 'type' => 'sectionend', 'id' => 'yith_wcwl_general_settings' )
|
887 |
);
|
888 |
-
|
889 |
$options['styles'] = array(
|
890 |
array( 'name' => __( 'Styles', 'yit' ), 'type' => 'title', 'desc' => '', 'id' => 'yith_wcwl_styles' ),
|
891 |
-
|
892 |
array(
|
893 |
-
'name'
|
894 |
-
'desc'
|
895 |
-
'id'
|
896 |
-
|
897 |
-
|
898 |
-
'type'
|
899 |
),
|
900 |
array(
|
901 |
-
'name'
|
902 |
-
'id'
|
903 |
-
'css'
|
904 |
-
|
905 |
-
|
906 |
-
'type'
|
907 |
),
|
908 |
array(
|
909 |
-
'name'
|
910 |
-
'desc'
|
911 |
-
'id'
|
912 |
-
|
913 |
-
|
914 |
-
'type'
|
915 |
),
|
916 |
array(
|
917 |
-
'name'
|
918 |
-
'desc'
|
919 |
-
'id'
|
920 |
-
|
921 |
-
|
922 |
-
'type'
|
923 |
),
|
924 |
-
array(
|
925 |
-
'name'
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
'options'
|
935 |
),
|
936 |
-
array(
|
937 |
-
'name'
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
'options'
|
947 |
),
|
948 |
-
|
949 |
array( 'type' => 'sectionend', 'id' => 'yith_wcwl_styles' )
|
950 |
);
|
951 |
-
|
952 |
$options['socials_share'] = array(
|
953 |
array( 'name' => __( 'Socials & Share', 'yit' ), 'type' => 'title', 'desc' => '', 'id' => 'yith_wcwl_socials_share' ),
|
954 |
-
|
955 |
array(
|
956 |
-
'name'
|
957 |
-
'id'
|
958 |
-
|
959 |
-
|
960 |
-
'type'
|
961 |
),
|
962 |
array(
|
963 |
-
'name'
|
964 |
-
'id'
|
965 |
-
|
966 |
-
|
967 |
-
'type'
|
968 |
),
|
969 |
array(
|
970 |
-
'name'
|
971 |
-
'id'
|
972 |
-
|
973 |
-
|
974 |
-
'type'
|
975 |
),
|
976 |
array(
|
977 |
-
'name'
|
978 |
-
'id'
|
979 |
-
'std'
|
980 |
-
'default'
|
981 |
-
'type'
|
982 |
),
|
983 |
array(
|
984 |
-
'name'
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
),
|
991 |
array(
|
992 |
-
'name'
|
993 |
-
'desc'
|
994 |
-
'id'
|
995 |
-
'css'
|
996 |
-
|
997 |
-
|
998 |
-
'type'
|
999 |
),
|
1000 |
array(
|
1001 |
-
'name'
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
),
|
1008 |
-
|
1009 |
array( 'type' => 'sectionend', 'id' => 'yith_wcwl_styles' )
|
1010 |
);
|
1011 |
-
|
1012 |
return apply_filters( 'yith_wcwl_tab_options', $options );
|
1013 |
}
|
1014 |
}
|
2 |
/**
|
3 |
* Init class
|
4 |
*
|
5 |
+
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
+
if ( ! defined( 'YITH_WCWL' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
|
14 |
+
if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
|
15 |
/**
|
16 |
* Initiator class. Install the plugin database and load all needed stuffs.
|
17 |
*
|
24 |
* @var string
|
25 |
* @since 1.0.0
|
26 |
*/
|
27 |
+
public $version = '1.1.0';
|
28 |
+
|
29 |
/**
|
30 |
* Plugin database version
|
31 |
*
|
33 |
* @since 1.0.0
|
34 |
*/
|
35 |
public $db_version = '1.0.0';
|
36 |
+
|
37 |
/**
|
38 |
* Tab name
|
39 |
+
*
|
40 |
* @var string
|
41 |
* @since 1.0.0
|
42 |
+
*/
|
43 |
+
public $tab;
|
44 |
+
|
45 |
/**
|
46 |
* Plugin options
|
47 |
+
*
|
48 |
* @var array
|
49 |
* @since 1.0.0
|
50 |
*/
|
51 |
public $options;
|
52 |
+
|
53 |
/**
|
54 |
* Front end colors options.
|
55 |
+
*
|
56 |
* @var array
|
57 |
* @since 1.0.0
|
58 |
*/
|
59 |
public $colors_options;
|
60 |
+
|
61 |
/**
|
62 |
* CSS selectors used to style buttons.
|
63 |
+
*
|
64 |
* @var array
|
65 |
* @since 1.0.0
|
66 |
*/
|
75 |
*/
|
76 |
public $banner_url = 'http://cdn.yithemes.com/plugins/yith_wishlist.php?url';
|
77 |
public $banner_img = 'http://cdn.yithemes.com/plugins/yith_wishlist.php';
|
78 |
+
public $doc_url = 'http://yithemes.com/docs-plugins/yith_wishlist/';
|
79 |
|
80 |
/**
|
81 |
* Positions of the button "Add to Wishlist"
|
82 |
+
*
|
83 |
* @var array
|
84 |
* @access private
|
85 |
* @since 1.0.0
|
86 |
*/
|
87 |
private $_positions;
|
88 |
+
|
89 |
/**
|
90 |
* Store class yith_WCWL_Install.
|
91 |
+
*
|
92 |
* @var object
|
93 |
* @access private
|
94 |
* @since 1.0.0
|
95 |
*/
|
96 |
private $_yith_wcwl_install;
|
97 |
+
|
98 |
/**
|
99 |
* Constructor
|
100 |
+
*
|
101 |
* @since 1.0.0
|
102 |
*/
|
103 |
+
public function __construct() {
|
104 |
define( 'YITH_WCWL_VERSION', $this->version );
|
105 |
define( 'YITH_WCWL_DB_VERSION', $this->db_version );
|
106 |
+
|
107 |
+
$this->tab = __( 'Wishlist', 'yit' );
|
108 |
$this->options = $this->_plugin_options();
|
109 |
+
|
110 |
+
$this->_positions = apply_filters( 'yith_wcwl_positions', array(
|
111 |
'add-to-cart' => array( 'hook' => 'woocommerce_single_product_summary', 'priority' => 31 ),
|
112 |
+
'thumbnails' => array( 'hook' => 'woocommerce_product_thumbnails', 'priority' => 21 ),
|
113 |
+
'summary' => array( 'hook' => 'woocommerce_after_single_product_summary', 'priority' => 11 )
|
114 |
) );
|
115 |
$this->_yith_wcwl_install = new YITH_WCWL_Install();
|
116 |
+
|
117 |
+
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
|
118 |
+
$this->install();
|
119 |
+
}
|
120 |
+
|
121 |
add_action( 'init', array( $this, 'init' ), 0 );
|
122 |
add_action( 'admin_init', array( $this, 'load_admin_style' ) );
|
123 |
|
124 |
+
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_tab_woocommerce' ), 30 );
|
125 |
add_filter( 'woocommerce_page_settings', array( $this, 'add_page_setting_woocommerce' ) );
|
126 |
add_action( 'woocommerce_update_options_yith_wcwl', array( $this, 'update_options' ) );
|
127 |
add_action( 'woocommerce_settings_tabs_yith_wcwl', array( $this, 'print_plugin_options' ) );
|
128 |
+
add_filter( 'plugin_action_links_' . plugin_basename( plugin_basename( dirname( __FILE__ ) . '/init.php' ) ), array( $this, 'action_links' ) );
|
129 |
+
|
130 |
+
if ( get_option( 'yith_wcwl_enabled' ) == 'yes' ) {
|
131 |
add_action( 'wp_head', array( $this, 'add_button' ) );
|
132 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_and_stuffs' ) );
|
133 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
134 |
+
add_filter( 'body_class', array( $this, 'add_body_class' ) );
|
135 |
|
136 |
// YITH WCWL Loaded
|
137 |
do_action( 'yith_wcwl_loaded' );
|
138 |
}
|
139 |
|
140 |
//Apply filters
|
141 |
+
$this->banner_url = apply_filters( 'yith_wcmg_banner_url', $this->banner_url );
|
142 |
}
|
143 |
+
|
144 |
/**
|
145 |
* Initiator method. Initiate properties.
|
146 |
+
*
|
147 |
* @return void
|
148 |
* @access private
|
149 |
* @since 1.0.0
|
150 |
*/
|
151 |
public function init() {
|
152 |
global $yith_wcwl;
|
153 |
+
|
154 |
$db_colors = get_option( 'yith_wcwl_frontend_css_colors' );
|
155 |
+
|
156 |
+
$this->colors_options = ! empty( $db_colors ) ? maybe_unserialize( $db_colors ) : apply_filters( 'yith_wcwl_colors_options', array(
|
157 |
+
'add_to_wishlist' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
|
158 |
'add_to_wishlist_hover' => array( 'background' => '#2F2F2F', 'color' => '#FFFFFF', 'border_color' => '#2F2F2F' ),
|
159 |
+
'add_to_cart' => array( 'background' => '#4F4F4F', 'color' => '#FFFFFF', 'border_color' => '#4F4F4F' ),
|
160 |
+
'add_to_cart_hover' => array( 'background' => '#2F2F2F', 'color' => '#FFFFFF', 'border_color' => '#2F2F2F' ),
|
161 |
+
'wishlist_table' => array( 'background' => '#FFFFFF', 'color' => '#676868', 'border_color' => '#676868' )
|
162 |
) );
|
163 |
+
|
164 |
+
if ( empty( $db_colors ) ) {
|
165 |
+
update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $this->colors_options ) );
|
166 |
+
}
|
167 |
+
|
168 |
$this->rules = apply_filters( 'yith_wcwl_colors_rules', array(
|
169 |
+
'add_to_wishlist' => '.woocommerce .yith-wcwl-add-button > a.button.alt',
|
170 |
'add_to_wishlist_hover' => '.woocommerce .yith-wcwl-add-button > a.button.alt:hover',
|
171 |
+
'add_to_cart' => '.woocommerce .wishlist_table a.add_to_cart.button.alt',
|
172 |
+
'add_to_cart_hover' => '.woocommerce .wishlist_table a.add_to_cart.button.alt:hover',
|
173 |
+
'wishlist_table' => '.wishlist_table'
|
174 |
) );
|
175 |
+
|
176 |
+
if ( is_user_logged_in() ) {
|
177 |
$yith_wcwl->details['user_id'] = get_current_user_id();
|
178 |
+
|
179 |
//check whether any products are added to wishlist, then after login add to the wishlist if not added
|
180 |
+
if ( yith_usecookies() ) {
|
181 |
$cookie = yith_getcookie( 'yith_wcwl_products' );
|
182 |
+
foreach ( $cookie as $details ) {
|
183 |
+
$yith_wcwl->details = $details;
|
184 |
$yith_wcwl->details['user_id'] = get_current_user_id();
|
185 |
|
186 |
$ret_val = $yith_wcwl->add();
|
187 |
}
|
188 |
+
|
189 |
yith_destroycookie( 'yith_wcwl_products' );
|
190 |
+
}
|
191 |
+
else {
|
192 |
+
if ( isset( $_SESSION['yith_wcwl_products'] ) ) {
|
193 |
+
foreach ( $_SESSION['yith_wcwl_products'] as $details ) {
|
194 |
+
$yith_wcwl->details = $details;
|
195 |
$yith_wcwl->details['user_id'] = get_current_user_id();
|
196 |
+
|
197 |
$ret_val = $yith_wcwl->add();
|
198 |
}
|
199 |
+
|
200 |
unset( $_SESSION['yith_wcwl_products'] );
|
201 |
}
|
202 |
}
|
203 |
}
|
204 |
+
|
205 |
wp_register_style( 'yith-wcwl-admin', YITH_WCWL_URL . 'assets/css/admin.css' );
|
206 |
}
|
207 |
+
|
208 |
/**
|
209 |
* Load admin style.
|
210 |
+
*
|
211 |
* @return void
|
212 |
* @since 1.0.0
|
213 |
*/
|
214 |
public function load_admin_style() {
|
215 |
wp_enqueue_style( 'yith-wcwl-admin' );
|
216 |
}
|
217 |
+
|
218 |
/**
|
219 |
* Run the installation
|
220 |
+
*
|
221 |
* @return void
|
222 |
* @since 1.0.0
|
223 |
*/
|
224 |
public function install() {
|
225 |
+
if ( $this->db_version != get_option( 'yith_wcwl_db_version' ) || ! $this->_yith_wcwl_install->is_installed() ) {
|
226 |
+
add_action( 'init', array( $this->_yith_wcwl_install, 'init' ) );
|
227 |
//$this->_yith_wcwl_install->init();
|
228 |
$this->_yith_wcwl_install->default_options( $this->options );
|
229 |
+
|
230 |
// Plugin installed
|
231 |
do_action( 'yith_wcwl_installed' );
|
232 |
}
|
233 |
}
|
234 |
+
|
235 |
/**
|
236 |
* Add the "Add to Wishlist" button. Needed to use in wp_head hook.
|
237 |
+
*
|
238 |
* @return void
|
239 |
* @since 1.0.0
|
240 |
*/
|
241 |
public function add_button() {
|
242 |
global $post;
|
243 |
+
|
244 |
+
if ( ! isset( $post ) || ! is_object( $post ) ) {
|
245 |
+
return;
|
246 |
+
}
|
247 |
+
|
248 |
// Add the link "Add to wishlist"
|
249 |
$position = get_option( 'yith_wcwl_button_position' );
|
250 |
$position = empty( $position ) ? 'add-to-cart' : $position;
|
251 |
+
|
252 |
+
if ( $position != 'shortcode' ) {
|
253 |
+
add_action( $this->_positions[$position]['hook'], create_function( '', 'echo do_shortcode( "[yith_wcwl_add_to_wishlist]" );' ), $this->_positions[$position]['priority'] );
|
254 |
+
}
|
255 |
+
|
256 |
// Free the memory. Like it needs a lot of memory... but this is rock!
|
257 |
+
}
|
258 |
|
259 |
|
260 |
/**
|
261 |
* Add specific body class when the Wishlist page is opened
|
262 |
*
|
263 |
* @param array $classes
|
264 |
+
*
|
265 |
* @return array
|
266 |
* @since 1.0.0
|
267 |
*/
|
268 |
public function add_body_class( $classes ) {
|
269 |
+
$wishlist_page_id = get_option( 'yith_wcwl_wishlist_page_id' );
|
270 |
|
271 |
+
if ( is_page( $wishlist_page_id ) ||
|
272 |
|
273 |
//WPML Compatibility
|
274 |
+
defined( 'ICL_PLUGIN_PATH' ) && is_page( icl_object_id( $wishlist_page_id, 'page', false ) )
|
275 |
+
) {
|
276 |
$classes[] = 'woocommerce-wishlist';
|
277 |
$classes[] = 'woocommerce';
|
278 |
$classes[] = 'woocommerce-page';
|
280 |
|
281 |
return $classes;
|
282 |
}
|
283 |
+
|
284 |
/**
|
285 |
* Enqueue styles, scripts and other stuffs needed in the <head>.
|
286 |
+
*
|
287 |
* @return void
|
288 |
* @since 1.0.0
|
289 |
*/
|
292 |
'woocommerce/wishlist.css',
|
293 |
'wishlist.css'
|
294 |
) );
|
295 |
+
|
296 |
+
if ( ! $located ) {
|
297 |
+
wp_enqueue_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css' );
|
298 |
+
}
|
299 |
+
else {
|
300 |
+
wp_enqueue_style( 'yith-wcwl-user-main', str_replace( get_template_directory(), get_template_directory_uri(), $located ) );
|
301 |
+
}
|
302 |
+
|
303 |
+
if ( get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ) {
|
304 |
wp_enqueue_style( 'yith-wcwl-font-awesome', YITH_WCWL_URL . 'assets/css/font-awesome.css' );
|
305 |
wp_enqueue_style( 'yith-wcwl-font-awesome-ie7', YITH_WCWL_URL . 'assets/css/font-awesome-ie7.css' );
|
306 |
}
|
307 |
+
|
308 |
// Add frontend CSS for buttons
|
309 |
$colors_styles = array();
|
310 |
+
$frontend_css = '';
|
311 |
+
if ( get_option( 'yith_wcwl_frontend_css' ) == 'no' ) {
|
312 |
+
foreach ( $this->colors_options as $name => $option ) {
|
313 |
$colors_styles[$name] = '';
|
314 |
+
|
315 |
+
foreach ( $option as $id => $value ) {
|
316 |
$colors_styles[$name] .= str_replace( '_', '-', $id ) . ':' . $value . ';';
|
317 |
}
|
318 |
}
|
319 |
+
|
320 |
+
foreach ( $this->rules as $id => $rule ) {
|
321 |
$frontend_css .= $rule . '{' . $colors_styles[$id] . '}';
|
322 |
}
|
323 |
}
|
324 |
+
|
325 |
?>
|
326 |
<style>
|
327 |
<?php
|
333 |
?>
|
334 |
</style>
|
335 |
<script type="text/javascript">
|
336 |
+
var yith_wcwl_plugin_ajax_web_url = '<?php echo admin_url('admin-ajax.php') ?>';
|
337 |
+
var login_redirect_url = '<?php echo wp_login_url() . '?redirect_to=' . urlencode( $_SERVER['REQUEST_URI'] ) ?>';
|
338 |
</script>
|
339 |
+
<?php
|
340 |
}
|
341 |
+
|
342 |
/**
|
343 |
* Enqueue plugin scripts.
|
344 |
+
*
|
345 |
* @return void
|
346 |
* @since 1.0.0
|
347 |
*/
|
348 |
public function enqueue_scripts() {
|
349 |
wp_register_script( 'jquery-yith-wcwl', YITH_WCWL_URL . 'assets/js/jquery.yith-wcwl.js', array( 'jquery' ), '1.0', true );
|
350 |
wp_enqueue_script( 'jquery-yith-wcwl' );
|
351 |
+
|
352 |
$yith_wcwl_l10n = array(
|
353 |
'out_of_stock' => __( 'Cannot add to the cart as product is Out of Stock!', 'yit' ),
|
354 |
);
|
355 |
wp_localize_script( 'jquery-yith-wcwl', 'yith_wcwl_l10n', $yith_wcwl_l10n );
|
356 |
}
|
357 |
+
|
358 |
/**
|
359 |
* Add the tab of the plugin to the WooCommerce theme options
|
360 |
+
*
|
361 |
* @param array $tabs
|
362 |
+
*
|
363 |
* @return array
|
364 |
* @since 1.0.0
|
365 |
*/
|
366 |
public function add_tab_woocommerce( $tabs ) {
|
367 |
$tabs['yith_wcwl'] = $this->tab;
|
368 |
+
|
369 |
return $tabs;
|
370 |
}
|
371 |
+
|
372 |
/**
|
373 |
* Add the select for the Wishlist page in WooCommerce > Settings > Pages
|
374 |
+
*
|
375 |
* @param array $settings
|
376 |
+
*
|
377 |
* @return array
|
378 |
* @since 1.0.0
|
379 |
*/
|
380 |
public function add_page_setting_woocommerce( $settings ) {
|
381 |
unset( $settings[count( $settings ) - 1] );
|
382 |
+
|
383 |
$settings[] = array(
|
384 |
+
'name' => __( 'Wishlist Page', 'yit' ),
|
385 |
+
'desc' => __( 'Page contents: [yith_wcwl_wishlist]', 'yit' ),
|
386 |
+
'id' => 'yith_wcwl_wishlist_page_id',
|
387 |
+
'type' => 'single_select_page',
|
388 |
+
'std' => '', // for woocommerce < 2.0
|
389 |
+
'default' => '', // for woocommerce >= 2.0
|
390 |
+
'class' => 'chosen_select_nostd',
|
391 |
+
'css' => 'min-width:300px;',
|
392 |
+
'desc_tip' => false,
|
393 |
);
|
394 |
+
|
395 |
+
$settings[] = array( 'type' => 'sectionend', 'id' => 'page_options' );
|
396 |
+
|
397 |
return $settings;
|
398 |
}
|
399 |
+
|
400 |
/**
|
401 |
* Update plugin options.
|
402 |
+
*
|
403 |
* @return void
|
404 |
* @since 1.0.0
|
405 |
*/
|
406 |
public function update_options() {
|
407 |
+
foreach ( $this->options as $option ) {
|
408 |
+
woocommerce_update_options( $option );
|
409 |
}
|
410 |
+
|
411 |
+
foreach ( $this->colors_options as $name => $option ) {
|
412 |
+
foreach ( $option as $id => $color ) {
|
413 |
+
$this->colors_options[$name][$id] = isset( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) && ! empty( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) ? woocommerce_format_hex( $_POST['yith_wcwl_color_' . $name . '_' . $id] ) : '';
|
414 |
}
|
415 |
}
|
416 |
+
|
417 |
update_option( 'yith_wcwl_frontend_css_colors', maybe_serialize( $this->colors_options ) );
|
418 |
}
|
419 |
+
|
420 |
/**
|
421 |
* Print all plugin options.
|
422 |
+
*
|
423 |
* @return void
|
424 |
* @since 1.0.0
|
425 |
*/
|
431 |
) );
|
432 |
|
433 |
$this->_printBanner();
|
434 |
+
|
435 |
?>
|
436 |
<div class="subsubsub_section">
|
437 |
<!--<ul class="subsubsub">
|
440 |
</li>
|
441 |
</ul>-->
|
442 |
<br class="clear" />
|
443 |
+
<?php foreach ( $this->options as $id => $tab ) : ?>
|
444 |
+
<!-- tab #<?php echo $id ?> -->
|
445 |
+
<div class="section" id="yith_wcwl_<?php echo $id ?>">
|
446 |
+
<?php woocommerce_admin_fields( $this->options[$id] ) ?>
|
447 |
+
|
448 |
+
<?php if ( $id == 'styles' ) : ?>
|
449 |
+
<div id="yith_wcwl_styles_colors">
|
450 |
+
<h3><?php _e( 'Colors', 'yit' ) ?></h3>
|
451 |
+
<?php $this->_styles_options() ?>
|
452 |
+
</div>
|
453 |
+
<?php endif ?>
|
454 |
+
|
455 |
+
</div>
|
456 |
<?php endforeach ?>
|
457 |
</div>
|
458 |
+
<?php
|
459 |
}
|
460 |
+
|
461 |
/**
|
462 |
* Add colors options to the panel.
|
463 |
+
*
|
464 |
* @return void
|
465 |
* @access private
|
466 |
* @since 1.0.0
|
469 |
$colors = maybe_unserialize( get_option( 'yith_wcwl_frontend_css_colors' ) );
|
470 |
|
471 |
foreach ( $this->colors_options as $color => $attrs ) {
|
472 |
+
if ( ! isset( $colors[$color] ) ) {
|
473 |
+
$colors[$color] = $attrs;
|
474 |
+
}
|
475 |
}
|
476 |
+
|
477 |
+
?>
|
478 |
+
<div class="clear"></div><?php
|
479 |
|
480 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button background', 'yit' ), 'yith_wcwl_color_add_to_wishlist_background', $colors['add_to_wishlist']['background'] );
|
481 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button text', 'yit' ), 'yith_wcwl_color_add_to_wishlist_color', $colors['add_to_wishlist']['color'] );
|
482 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button border', 'yit' ), 'yith_wcwl_color_add_to_wishlist_border_color', $colors['add_to_wishlist']['border_color'] );
|
483 |
|
484 |
+
?>
|
485 |
+
<div class="clear" style="height:10px;"></div><?php
|
486 |
|
487 |
// hover
|
488 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button background (hover)', 'yit' ), 'yith_wcwl_color_add_to_wishlist_hover_background', $colors['add_to_wishlist_hover']['background'] );
|
489 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button text (hover)', 'yit' ), 'yith_wcwl_color_add_to_wishlist_hover_color', $colors['add_to_wishlist_hover']['color'] );
|
490 |
yith_frontend_css_color_picker( __( '"Add to Wishlist" button border (hover)', 'yit' ), 'yith_wcwl_color_add_to_wishlist_hover_border_color', $colors['add_to_wishlist_hover']['border_color'] );
|
491 |
|
492 |
+
?>
|
493 |
+
<div class="clear" style="height:30px;"></div><?php
|
494 |
|
495 |
yith_frontend_css_color_picker( __( '"Add to Cart" button background', 'yit' ), 'yith_wcwl_color_add_to_cart_background', $colors['add_to_cart']['background'] );
|
496 |
yith_frontend_css_color_picker( __( '"Add to Cart" button text', 'yit' ), 'yith_wcwl_color_add_to_cart_color', $colors['add_to_cart']['color'] );
|
497 |
yith_frontend_css_color_picker( __( '"Add to Cart" button border', 'yit' ), 'yith_wcwl_color_add_to_cart_border_color', $colors['add_to_cart']['border_color'] );
|
498 |
|
499 |
+
?>
|
500 |
+
<div class="clear" style="height:10px;"></div><?php
|
501 |
|
502 |
// hover
|
503 |
yith_frontend_css_color_picker( __( '"Add to Cart" button background (hover)', 'yit' ), 'yith_wcwl_color_add_to_cart_hover_background', $colors['add_to_cart_hover']['background'] );
|
504 |
yith_frontend_css_color_picker( __( '"Add to Cart" button text (hover)', 'yit' ), 'yith_wcwl_color_add_to_cart_hover_color', $colors['add_to_cart_hover']['color'] );
|
505 |
yith_frontend_css_color_picker( __( '"Add to Cart" button border (hover)', 'yit' ), 'yith_wcwl_color_add_to_cart_hover_border_color', $colors['add_to_cart_hover']['border_color'] );
|
506 |
+
|
507 |
+
?>
|
508 |
+
<div class="clear" style="height:30px;"></div><?php
|
509 |
+
|
510 |
yith_frontend_css_color_picker( __( 'Wishlist table background', 'yit' ), 'yith_wcwl_color_wishlist_table_background', $colors['wishlist_table']['background'] );
|
511 |
yith_frontend_css_color_picker( __( 'Wishlist table text', 'yit' ), 'yith_wcwl_color_wishlist_table_color', $colors['wishlist_table']['color'] );
|
512 |
yith_frontend_css_color_picker( __( 'Wishlist table border', 'yit' ), 'yith_wcwl_color_wishlist_table_border_color', $colors['wishlist_table']['border_color'] );
|
513 |
+
|
514 |
do_action( 'yith_wcwl_admin_color_pickers' );
|
515 |
+
|
516 |
?>
|
517 |
<div class="clear"></div>
|
518 |
+
|
519 |
<script type="text/javascript">
|
520 |
+
jQuery('input#yith_wcwl_frontend_css').on('change',function () {
|
521 |
+
if (jQuery(this).is(':checked')) {
|
522 |
+
jQuery('#yith_wcwl_styles_colors').hide();
|
523 |
+
jQuery('#yith_wcwl_rounded_corners').parents('tr').hide();
|
524 |
+
jQuery('#yith_wcwl_add_to_wishlist_icon').parents('tr').hide();
|
525 |
+
jQuery('#yith_wcwl_add_to_cart_icon').parents('tr').hide();
|
526 |
+
} else {
|
527 |
+
jQuery('#yith_wcwl_styles_colors').show();
|
528 |
+
if (jQuery('#yith_wcwl_use_button').is(':checked')) {
|
529 |
+
jQuery('#yith_wcwl_rounded_corners').parents('tr').show();
|
530 |
+
jQuery('#yith_wcwl_add_to_wishlist_icon').parents('tr').show();
|
531 |
+
jQuery('#yith_wcwl_add_to_cart_icon').parents('tr').show();
|
532 |
}
|
533 |
+
}
|
534 |
+
}).change();
|
535 |
+
|
536 |
+
jQuery('input#yith_wcwl_use_button').on('change',function () {
|
537 |
+
if (jQuery(this).is(':checked') && !jQuery('#yith_wcwl_frontend_css').is(':checked')) {
|
538 |
+
jQuery('#yith_wcwl_rounded_corners').parents('tr').show();
|
539 |
+
jQuery('#yith_wcwl_add_to_wishlist_icon').parents('tr').show();
|
540 |
+
jQuery('#yith_wcwl_add_to_cart_icon').parents('tr').show();
|
541 |
} else {
|
542 |
+
jQuery('#yith_wcwl_rounded_corners').parents('tr').hide();
|
543 |
+
jQuery('#yith_wcwl_add_to_wishlist_icon').parents('tr').hide();
|
544 |
+
jQuery('#yith_wcwl_add_to_cart_icon').parents('tr').hide();
|
545 |
}
|
546 |
}).change();
|
547 |
+
</script>
|
548 |
+
<?php
|
549 |
}
|
550 |
|
551 |
|
553 |
* action_links function.
|
554 |
*
|
555 |
* @access public
|
556 |
+
*
|
557 |
* @param mixed $links
|
558 |
+
*
|
559 |
* @return void
|
560 |
*/
|
561 |
public function action_links( $links ) {
|
562 |
+
global $woocommerce;
|
563 |
+
|
564 |
+
if ( version_compare( preg_replace( '/-beta-([0-9]+)/', '', $woocommerce->version ), '2.1', '<' ) ) {
|
565 |
+
$wc_settings_page = "woocommerce_settings";
|
566 |
+
}
|
567 |
+
else {
|
568 |
+
$wc_settings_page = "wc-settings";
|
569 |
+
}
|
570 |
|
571 |
$plugin_links = array(
|
572 |
+
'<a href="' . admin_url( 'admin.php?page=' . $wc_settings_page . '&tab=yith_wcwl' ) . '">' . __( 'Settings', 'yit' ) . '</a>',
|
573 |
+
'<a href="' . $this->doc_url . '">' . __( 'Docs', 'yit' ) . '</a>',
|
574 |
+
);
|
575 |
|
576 |
return array_merge( $plugin_links, $links );
|
577 |
}
|
593 |
</div>
|
594 |
<?php
|
595 |
}
|
596 |
+
|
597 |
/**
|
598 |
* Plugin options and tabs.
|
599 |
+
*
|
600 |
* @return array
|
601 |
* @since 1.0.0
|
602 |
*/
|
603 |
private function _plugin_options() {
|
604 |
$icons = array(
|
605 |
+
'icon-glass' => 'Glass',
|
606 |
+
'icon-music' => 'Music',
|
607 |
+
'icon-search' => 'Search',
|
608 |
+
'icon-envelope' => 'Envelope',
|
609 |
+
'icon-heart' => 'Heart',
|
610 |
+
'icon-star' => 'Star',
|
611 |
+
'icon-star-empty' => 'Star empty',
|
612 |
+
'icon-user' => 'User',
|
613 |
+
'icon-film' => 'Film',
|
614 |
+
'icon-th-large' => 'Th large',
|
615 |
+
'icon-th' => 'Th',
|
616 |
+
'icon-th-list' => 'Th list',
|
617 |
+
'icon-ok' => 'Ok',
|
618 |
+
'icon-remove' => 'Remove',
|
619 |
+
'icon-zoom-in' => 'Zoom In',
|
620 |
+
'icon-zoom-out' => 'Zoom Out',
|
621 |
+
'icon-off' => 'Off',
|
622 |
+
'icon-signal' => 'Signal',
|
623 |
+
'icon-cog' => 'Cog',
|
624 |
+
'icon-trash' => 'Trash',
|
625 |
+
'icon-home' => 'Home',
|
626 |
+
'icon-file' => 'File',
|
627 |
+
'icon-time' => 'Time',
|
628 |
+
'icon-road' => 'Road',
|
629 |
+
'icon-download-alt' => 'Download alt',
|
630 |
+
'icon-download' => 'Download',
|
631 |
+
'icon-upload' => 'Upload',
|
632 |
+
'icon-inbox' => 'Inbox',
|
633 |
+
'icon-play-circle' => 'Play circle',
|
634 |
+
'icon-repeat' => 'Repeat',
|
635 |
+
'icon-refresh' => 'Refresh',
|
636 |
+
'icon-list-alt' => 'List alt',
|
637 |
+
'icon-lock' => 'Lock',
|
638 |
+
'icon-flag' => 'Flag',
|
639 |
+
'icon-headphones' => 'Headphones',
|
640 |
+
'icon-volume-off' => 'Volume Off',
|
641 |
+
'icon-volume-down' => 'Volume Down',
|
642 |
+
'icon-volume-up' => 'Volume Up',
|
643 |
+
'icon-qrcode' => 'QR code',
|
644 |
+
'icon-barcode' => 'Barcode',
|
645 |
+
'icon-tag' => 'Tag',
|
646 |
+
'icon-tags' => 'Tags',
|
647 |
+
'icon-book' => 'Book',
|
648 |
+
'icon-bookmark' => 'Bookmark',
|
649 |
+
'icon-print' => 'Print',
|
650 |
+
'icon-camera' => 'Camera',
|
651 |
+
'icon-font' => 'Font',
|
652 |
+
'icon-bold' => 'Bold',
|
653 |
+
'icon-italic' => 'Italic',
|
654 |
+
'icon-text-height' => 'Text height',
|
655 |
+
'icon-text-width' => 'Text width',
|
656 |
+
'icon-align-left' => 'Align left',
|
657 |
+
'icon-align-center' => 'Align center',
|
658 |
+
'icon-align-right' => 'Align right',
|
659 |
+
'icon-align-justify' => 'Align justify',
|
660 |
+
'icon-list' => 'List',
|
661 |
+
'icon-indent-left' => 'Indent left',
|
662 |
+
'icon-indent-right' => 'Indent right',
|
663 |
+
'icon-facetime-video' => 'Facetime video',
|
664 |
+
'icon-picture' => 'Picture',
|
665 |
+
'icon-pencil' => 'Pencil',
|
666 |
+
'icon-map-marker' => 'Map marker',
|
667 |
+
'icon-adjust' => 'Adjust',
|
668 |
+
'icon-tint' => 'Tint',
|
669 |
+
'icon-edit' => 'Edit',
|
670 |
+
'icon-share' => 'Share',
|
671 |
+
'icon-check' => 'Check',
|
672 |
+
'icon-move' => 'Move',
|
673 |
+
'icon-step-backward' => 'Step backward',
|
674 |
+
'icon-fast-backward' => 'Fast backward',
|
675 |
+
'icon-backward' => 'Backward',
|
676 |
+
'icon-play' => 'Play',
|
677 |
+
'icon-pause' => 'Pause',
|
678 |
+
'icon-stop' => 'Stop',
|
679 |
+
'icon-forward' => 'Forward',
|
680 |
+
'icon-fast-forward' => 'Fast forward',
|
681 |
+
'icon-step-forward' => 'Step forward',
|
682 |
+
'icon-eject' => 'Eject',
|
683 |
+
'icon-chevron-left' => 'Chevron left',
|
684 |
+
'icon-chevron-right' => 'Chevron right',
|
685 |
+
'icon-plus-sign' => 'Plus sign',
|
686 |
+
'icon-minus-sign' => 'Minus sign',
|
687 |
+
'icon-remove-sign' => 'Remove sign',
|
688 |
+
'icon-ok-sign' => 'Ok sign',
|
689 |
+
'icon-question-sign' => 'Question sign',
|
690 |
+
'icon-info-sign' => 'Info sign',
|
691 |
+
'icon-screenshot' => 'Screenshot',
|
692 |
+
'icon-remove-circle' => 'Remove circle',
|
693 |
+
'icon-ok-circle' => 'Ok circle',
|
694 |
+
'icon-ban-circle' => 'Ban circle',
|
695 |
+
'icon-arrow-left' => 'Arrow left',
|
696 |
+
'icon-arrow-right' => 'Arrow right',
|
697 |
+
'icon-arrow-up' => 'Arrow up',
|
698 |
+
'icon-arrow-down' => 'Arrow down',
|
699 |
+
'icon-share-alt' => 'Share alt',
|
700 |
+
'icon-resize-full' => 'Resize full',
|
701 |
+
'icon-resize-small' => 'Resize small',
|
702 |
+
'icon-plus' => 'Plus',
|
703 |
+
'icon-minus' => 'Minus',
|
704 |
+
'icon-asterisk' => 'Asterisk',
|
705 |
+
'icon-exclamation-sign' => 'Exclamation sign',
|
706 |
+
'icon-gift' => 'Gift',
|
707 |
+
'icon-leaf' => 'Leaf',
|
708 |
+
'icon-fire' => 'Fire',
|
709 |
+
'icon-eye-open' => 'Eye open',
|
710 |
+
'icon-eye-close' => 'Eye close',
|
711 |
+
'icon-warning-sign' => 'Warning sign',
|
712 |
+
'icon-plane' => 'Plane',
|
713 |
+
'icon-calendar' => 'Calendar',
|
714 |
+
'icon-random' => 'Random',
|
715 |
+
'icon-comment' => 'Comment',
|
716 |
+
'icon-magnet' => 'Magnet',
|
717 |
+
'icon-chevron-up' => 'Chevron up',
|
718 |
+
'icon-chevron-down' => 'Chevron down',
|
719 |
+
'icon-retweet' => 'Retweet',
|
720 |
+
'icon-shopping-cart' => 'Shopping cart',
|
721 |
+
'icon-folder-close' => 'Folder close',
|
722 |
+
'icon-folder-open' => 'Folder open',
|
723 |
+
'icon-resize-vertical' => 'Resize vertical',
|
724 |
+
'icon-resize-horizontal' => 'Resize horizontal',
|
725 |
+
'icon-bar-chart' => 'Bar chart',
|
726 |
+
'icon-twitter-sign' => 'Twitter sign',
|
727 |
+
'icon-facebook-sign' => 'Facebook sign',
|
728 |
+
'icon-camera-retro' => 'Camera retro',
|
729 |
+
'icon-key' => 'Key',
|
730 |
+
'icon-cogs' => 'Cogs',
|
731 |
+
'icon-comments' => 'Comments',
|
732 |
+
'icon-thumbs-up' => 'Thumbs up',
|
733 |
+
'icon-thumbs-down' => 'Thumbs down',
|
734 |
+
'icon-star-half' => 'Star half',
|
735 |
+
'icon-heart-empty' => 'Heart empty',
|
736 |
+
'icon-signout' => 'Signout',
|
737 |
+
'icon-linkedin-sign' => 'LinkedIn sign',
|
738 |
+
'icon-pushpin' => 'Push pin',
|
739 |
+
'icon-external-link' => 'External link',
|
740 |
+
'icon-signin' => 'Sign in',
|
741 |
+
'icon-trophy' => 'Trophy',
|
742 |
+
'icon-github-sign' => 'Github sign',
|
743 |
+
'icon-upload-alt' => 'Upload alt',
|
744 |
+
'icon-lemon' => 'Lemon',
|
745 |
+
'icon-phone' => 'Phone',
|
746 |
+
'icon-check-empty' => 'Check empty',
|
747 |
+
'icon-bookmark-empty' => 'Bookmark empty',
|
748 |
+
'icon-phone-sign' => 'Phone sign',
|
749 |
+
'icon-twitter' => 'Twitter',
|
750 |
+
'icon-facebook' => 'Facebook',
|
751 |
+
'icon-github' => 'Github',
|
752 |
+
'icon-unlock' => 'Unlock',
|
753 |
+
'icon-credit-card' => 'Credit card',
|
754 |
+
'icon-rss' => 'RSS',
|
755 |
+
'icon-hdd' => 'HDD',
|
756 |
+
'icon-bullhorn' => 'Bullhorn',
|
757 |
+
'icon-bell' => 'Bell',
|
758 |
+
'icon-certificate' => 'Certificate',
|
759 |
+
'icon-hand-right' => 'Hand right',
|
760 |
+
'icon-hand-left' => 'Hand left',
|
761 |
+
'icon-hand-up' => 'Hand up',
|
762 |
+
'icon-hand-down' => 'Hand down',
|
763 |
+
'icon-circle-arrow-left' => 'Circle arrow left',
|
764 |
+
'icon-circle-arrow-right' => 'Circle arrow right',
|
765 |
+
'icon-circle-arrow-up' => 'Circle arrow up',
|
766 |
+
'icon-circle-arrow-down' => 'Circle arrow down',
|
767 |
+
'icon-globe' => 'Globe',
|
768 |
+
'icon-wrench' => 'Wrench',
|
769 |
+
'icon-tasks' => 'Tasks',
|
770 |
+
'icon-filter' => 'Filter',
|
771 |
+
'icon-briefcase' => 'Briefcase',
|
772 |
+
'icon-fullscreen' => 'Fullscreen',
|
773 |
+
'icon-group' => 'Group',
|
774 |
+
'icon-link' => 'Link',
|
775 |
+
'icon-cloud' => 'Cloud',
|
776 |
+
'icon-beaker' => 'Beaker',
|
777 |
+
'icon-cut' => 'Cut',
|
778 |
+
'icon-copy' => 'Copy',
|
779 |
+
'icon-paper-clip' => 'Paper clip',
|
780 |
+
'icon-save' => 'Save',
|
781 |
+
'icon-sign-blank' => 'Sign blank',
|
782 |
+
'icon-reorder' => 'Reorder',
|
783 |
+
'icon-list-ul' => 'List ul',
|
784 |
+
'icon-list-ol' => 'List ol',
|
785 |
+
'icon-strikethrough' => 'Strike through',
|
786 |
+
'icon-underline' => 'Underline',
|
787 |
+
'icon-table' => 'Table',
|
788 |
+
'icon-magic' => 'Magic',
|
789 |
+
'icon-truck' => 'Truck',
|
790 |
+
'icon-pinterest' => 'Pinterest',
|
791 |
+
'icon-pinterest-sign' => 'Pinterest sign',
|
792 |
+
'icon-google-plus-sign' => 'Google Plus sign',
|
793 |
+
'icon-google-plus' => 'Google Plus',
|
794 |
+
'icon-money' => 'Money',
|
795 |
+
'icon-caret-down' => 'Caret down',
|
796 |
+
'icon-caret-up' => 'Caret up',
|
797 |
+
'icon-caret-left' => 'Caret left',
|
798 |
+
'icon-caret-right' => 'Caret right',
|
799 |
+
'icon-columns' => 'Columns',
|
800 |
+
'icon-sort' => 'Sort',
|
801 |
+
'icon-sort-down' => 'Sort down',
|
802 |
+
'icon-sort-up' => 'Sort up',
|
803 |
+
'icon-envelope-alt' => 'Envelope alt',
|
804 |
+
'icon-linkedin' => 'LinkedIn',
|
805 |
+
'icon-undo' => 'Undo',
|
806 |
+
'icon-legal' => 'Legal',
|
807 |
+
'icon-dashboard' => 'Dashboard',
|
808 |
+
'icon-comment-alt' => 'Comment alt',
|
809 |
+
'icon-comments-alt' => 'Comments alt',
|
810 |
+
'icon-bolt' => 'Bolt',
|
811 |
+
'icon-sitemap' => 'Sitemap',
|
812 |
+
'icon-umbrella' => 'Umbrella',
|
813 |
+
'icon-paste' => 'Paste',
|
814 |
+
'icon-user-md' => 'User medical'
|
815 |
+
);
|
816 |
+
|
817 |
ksort( $icons );
|
818 |
+
|
819 |
$options['general_settings'] = array(
|
820 |
array( 'name' => __( 'General Settings', 'yit' ), 'type' => 'title', 'desc' => '', 'id' => 'yith_wcwl_general_settings' ),
|
821 |
+
|
822 |
array(
|
823 |
+
'name' => __( 'Enable YITH Wishlist', 'yit' ),
|
824 |
+
'desc' => sprintf( __( 'Enable all plugin features. <strong>Be sure that the wishlist page is selected in WooCommerce > Settings > Pages.</strong> Also, please read the plugin <a href="%s" target="_blank">documentation</a>.', 'yit' ), esc_url( $this->doc_url ) ),
|
825 |
+
'id' => 'yith_wcwl_enabled',
|
826 |
+
'std' => 'yes', // for woocommerce < 2.0
|
827 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
828 |
+
'type' => 'checkbox'
|
829 |
),
|
830 |
array(
|
831 |
+
'name' => __( 'Use cookies', 'yit' ),
|
832 |
+
'desc' => __( 'Use cookies instead of sessions. With this feature, the wishlist will be available for each not logged user for 30 days. Use the filter yith_wcwl_cookie_expiration_time to change the expiration time ( needs timestamp ).', 'yit' ),
|
833 |
+
'id' => 'yith_wcwl_use_cookie',
|
834 |
+
'std' => 'yes', // for woocommerce < 2.0
|
835 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
836 |
+
'type' => 'checkbox'
|
837 |
),
|
838 |
array(
|
839 |
+
'name' => __( 'Wishlist title', 'yit' ),
|
840 |
+
'id' => 'yith_wcwl_wishlist_title',
|
841 |
+
'std' => sprintf( __( 'My wishlist on %s', 'yit' ), get_bloginfo( 'name' ) ), // for woocommerce < 2.0
|
842 |
+
'default' => sprintf( __( 'My wishlist on %s', 'yit' ), get_bloginfo( 'name' ) ), // for woocommerce >= 2.0
|
843 |
+
'type' => 'text',
|
844 |
+
'css' => 'min-width:300px;',
|
845 |
),
|
846 |
array(
|
847 |
+
'name' => __( 'Position', 'yit' ),
|
848 |
+
'desc' => __( 'On variable products you can add it only After "Add to Cart" or use the shortcode [yith_wcwl_add_to_wishlist].', 'yit' ),
|
849 |
+
'id' => 'yith_wcwl_button_position',
|
850 |
+
'type' => 'select',
|
851 |
+
'class' => 'chosen_select',
|
852 |
+
'css' => 'min-width:300px;',
|
853 |
+
'options' => array(
|
854 |
'add-to-cart' => __( 'After "Add to cart"', 'yit' ),
|
855 |
+
'thumbnails' => __( 'After thumbnails', 'yit' ),
|
856 |
+
'summary' => __( 'After summary', 'yit' ),
|
857 |
+
'shortcode' => __( 'Use shortcode', 'yit' )
|
858 |
),
|
859 |
+
'desc_tip' => true
|
860 |
),
|
861 |
array(
|
862 |
+
'name' => __( 'Redirect to cart', 'yit' ),
|
863 |
+
'desc' => __( 'Redirect to cart page if "Add to cart" button is clicked in the wishlist page.', 'yit' ),
|
864 |
+
'id' => 'yith_wcwl_redirect_cart',
|
865 |
+
'std' => 'no', // for woocommerce < 2.0
|
866 |
+
'default' => 'no', // for woocommerce >= 2.0
|
867 |
+
'type' => 'checkbox'
|
868 |
),
|
869 |
array(
|
870 |
+
'name' => __( 'Remove if added to the cart', 'yit' ),
|
871 |
+
'desc' => __( 'Remove the product from the wishlist if is been added to the cart.', 'yit' ),
|
872 |
+
'id' => 'yith_wcwl_remove_after_add_to_cart',
|
873 |
+
'std' => 'yes', // for woocommerce < 2.0
|
874 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
875 |
+
'type' => 'checkbox'
|
876 |
),
|
877 |
array(
|
878 |
+
'name' => __( '"Add to Wishlist" text', 'yit' ),
|
879 |
+
'id' => 'yith_wcwl_add_to_wishlist_text',
|
880 |
+
'std' => __( 'Add to Wishlist', 'yit' ), // for woocommerce < 2.0
|
881 |
+
'default' => __( 'Add to Wishlist', 'yit' ), // for woocommerce >= 2.0
|
882 |
+
'type' => 'text',
|
883 |
+
'css' => 'min-width:300px;',
|
884 |
),
|
885 |
array(
|
886 |
+
'name' => __( '"Add to Cart" text', 'yit' ),
|
887 |
+
'id' => 'yith_wcwl_add_to_cart_text',
|
888 |
+
'std' => __( 'Add to Cart', 'yit' ), // for woocommerce < 2.0
|
889 |
+
'default' => __( 'Add to Cart', 'yit' ), // for woocommerce >= 2.0
|
890 |
+
'type' => 'text',
|
891 |
+
'css' => 'min-width:300px;',
|
892 |
),
|
893 |
array(
|
894 |
+
'name' => __( 'Show Unit price', 'yit' ),
|
895 |
+
'id' => 'yith_wcwl_price_show',
|
896 |
+
'std' => 'yes', // for woocommerce < 2.0
|
897 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
898 |
+
'type' => 'checkbox',
|
899 |
+
'css' => 'min-width:300px;',
|
900 |
),
|
901 |
array(
|
902 |
+
'name' => __( 'Show "Add to Cart" button', 'yit' ),
|
903 |
+
'id' => 'yith_wcwl_add_to_cart_show',
|
904 |
+
'std' => 'yes', // for woocommerce < 2.0
|
905 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
906 |
+
'type' => 'checkbox',
|
907 |
+
'css' => 'min-width:300px;',
|
908 |
),
|
909 |
array(
|
910 |
+
'name' => __( 'Show Stock status', 'yit' ),
|
911 |
+
'id' => 'yith_wcwl_stock_show',
|
912 |
+
'std' => 'yes', // for woocommerce < 2.0
|
913 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
914 |
+
'type' => 'checkbox',
|
915 |
+
'css' => 'min-width:300px;',
|
916 |
),
|
917 |
+
|
918 |
array( 'type' => 'sectionend', 'id' => 'yith_wcwl_general_settings' )
|
919 |
);
|
920 |
+
|
921 |
$options['styles'] = array(
|
922 |
array( 'name' => __( 'Styles', 'yit' ), 'type' => 'title', 'desc' => '', 'id' => 'yith_wcwl_styles' ),
|
923 |
+
|
924 |
array(
|
925 |
+
'name' => __( 'Use buttons', 'yit' ),
|
926 |
+
'desc' => __( 'Use buttons instead of a simple anchors.', 'yit' ),
|
927 |
+
'id' => 'yith_wcwl_use_button',
|
928 |
+
'std' => 'no', // for woocommerce < 2.0
|
929 |
+
'default' => 'no', // for woocommerce >= 2.0
|
930 |
+
'type' => 'checkbox'
|
931 |
),
|
932 |
array(
|
933 |
+
'name' => __( 'Custom CSS', 'yit' ),
|
934 |
+
'id' => 'yith_wcwl_custom_css',
|
935 |
+
'css' => 'width:100%; height: 75px;',
|
936 |
+
'std' => '', // for woocommerce < 2.0
|
937 |
+
'default' => '', // for woocommerce >= 2.0
|
938 |
+
'type' => 'textarea'
|
939 |
),
|
940 |
array(
|
941 |
+
'name' => __( 'Use theme style', 'yit' ),
|
942 |
+
'desc' => __( 'Use the theme style.', 'yit' ),
|
943 |
+
'id' => 'yith_wcwl_frontend_css',
|
944 |
+
'std' => 'yes', // for woocommerce < 2.0
|
945 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
946 |
+
'type' => 'checkbox'
|
947 |
),
|
948 |
array(
|
949 |
+
'name' => __( 'Buttons rounded corners', 'yit' ),
|
950 |
+
'desc' => __( 'Make buttons corner rounded', 'yit' ),
|
951 |
+
'id' => 'yith_wcwl_rounded_corners',
|
952 |
+
'std' => 'yes', // for woocommerce < 2.0
|
953 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
954 |
+
'type' => 'checkbox'
|
955 |
),
|
956 |
+
array(
|
957 |
+
'name' => __( '"Add to Wishlist" icon', 'yit' ),
|
958 |
+
'desc' => __( 'Add an icon to the "Add to Wishlist" button', 'yit' ),
|
959 |
+
'id' => 'yith_wcwl_add_to_wishlist_icon',
|
960 |
+
'css' => 'min-width:300px;width:300px;',
|
961 |
+
'std' => apply_filters( 'yith_wcwl_add_to_wishlist_std_icon', 'none' ), // for woocommerce < 2.0
|
962 |
+
'default' => apply_filters( 'yith_wcwl_add_to_wishlist_std_icon', 'none' ), // for woocommerce >= 2.0
|
963 |
+
'type' => 'select',
|
964 |
+
'class' => 'chosen_select',
|
965 |
+
'desc_tip' => true,
|
966 |
+
'options' => array( 'none' => 'None' ) + $icons
|
967 |
),
|
968 |
+
array(
|
969 |
+
'name' => __( '"Add to Cart" icon', 'yit' ),
|
970 |
+
'desc' => __( 'Add an icon to the "Add to Cart" button', 'yit' ),
|
971 |
+
'id' => 'yith_wcwl_add_to_cart_icon',
|
972 |
+
'css' => 'min-width:300px;width:300px;',
|
973 |
+
'std' => apply_filters( 'yith_wcwl_add_to_cart_std_icon', 'icon-shopping-cart' ), // for woocommerce < 2.0
|
974 |
+
'default' => apply_filters( 'yith_wcwl_add_to_cart_std_icon', 'icon-shopping-cart' ), // for woocommerce >= 2.0
|
975 |
+
'type' => 'select',
|
976 |
+
'class' => 'chosen_select',
|
977 |
+
'desc_tip' => true,
|
978 |
+
'options' => array( 'none' => 'None' ) + $icons
|
979 |
),
|
980 |
+
|
981 |
array( 'type' => 'sectionend', 'id' => 'yith_wcwl_styles' )
|
982 |
);
|
983 |
+
|
984 |
$options['socials_share'] = array(
|
985 |
array( 'name' => __( 'Socials & Share', 'yit' ), 'type' => 'title', 'desc' => '', 'id' => 'yith_wcwl_socials_share' ),
|
986 |
+
|
987 |
array(
|
988 |
+
'name' => __( 'Share on Facebook', 'yit' ),
|
989 |
+
'id' => 'yith_wcwl_share_fb',
|
990 |
+
'std' => 'yes', // for woocommerce < 2.0
|
991 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
992 |
+
'type' => 'checkbox'
|
993 |
),
|
994 |
array(
|
995 |
+
'name' => __( 'Tweet on Twitter', 'yit' ),
|
996 |
+
'id' => 'yith_wcwl_share_twitter',
|
997 |
+
'std' => 'yes', // for woocommerce < 2.0
|
998 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
999 |
+
'type' => 'checkbox'
|
1000 |
),
|
1001 |
array(
|
1002 |
+
'name' => __( 'Pin on Pinterest', 'yit' ),
|
1003 |
+
'id' => 'yith_wcwl_share_pinterest',
|
1004 |
+
'std' => 'yes', // for woocommerce < 2.0
|
1005 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
1006 |
+
'type' => 'checkbox'
|
1007 |
),
|
1008 |
array(
|
1009 |
+
'name' => __( 'Share on Google+', 'yit' ),
|
1010 |
+
'id' => 'yith_wcwl_share_googleplus',
|
1011 |
+
'std' => 'yes', // for woocommerce < 2.0
|
1012 |
+
'default' => 'yes', // for woocommerce >= 2.0
|
1013 |
+
'type' => 'checkbox'
|
1014 |
),
|
1015 |
array(
|
1016 |
+
'name' => __( 'Socials title', 'yit' ),
|
1017 |
+
'id' => 'yith_wcwl_socials_title',
|
1018 |
+
'std' => sprintf( __( 'My wishlist on %s', 'yit' ), get_bloginfo( 'name' ) ), // for woocommerce < 2.0
|
1019 |
+
'default' => sprintf( __( 'My wishlist on %s', 'yit' ), get_bloginfo( 'name' ) ), // for woocommerce >= 2.0
|
1020 |
+
'type' => 'text',
|
1021 |
+
'css' => 'min-width:300px;',
|
1022 |
),
|
1023 |
array(
|
1024 |
+
'name' => __( 'Socials text', 'yit' ),
|
1025 |
+
'desc' => __( 'Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</strong> where you want the URL of your wishlist to appear.', 'yit' ),
|
1026 |
+
'id' => 'yith_wcwl_socials_text',
|
1027 |
+
'css' => 'width:100%; height: 75px;',
|
1028 |
+
'std' => '', // for woocommerce < 2.0
|
1029 |
+
'default' => '', // for woocommerce >= 2.0
|
1030 |
+
'type' => 'textarea'
|
1031 |
),
|
1032 |
array(
|
1033 |
+
'name' => __( 'Socials image URL', 'yit' ),
|
1034 |
+
'id' => 'yith_wcwl_socials_image_url',
|
1035 |
+
'std' => '', // for woocommerce < 2.0
|
1036 |
+
'default' => '', // for woocommerce >= 2.0
|
1037 |
+
'type' => 'text',
|
1038 |
+
'css' => 'min-width:300px;',
|
1039 |
),
|
1040 |
+
|
1041 |
array( 'type' => 'sectionend', 'id' => 'yith_wcwl_styles' )
|
1042 |
);
|
1043 |
+
|
1044 |
return apply_filters( 'yith_wcwl_tab_options', $options );
|
1045 |
}
|
1046 |
}
|
class.yith-wcwl-install.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
class.yith-wcwl-shortcode.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
class.yith-wcwl-ui.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
class.yith-wcwl.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
functions.yith-wcwl.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Wishlist
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
|
6 |
-
* Version: 1.0
|
7 |
* Author: Your Inspiration Themes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Your Inspiration Themes
|
13 |
* @package YITH WooCommerce Wishlist
|
14 |
-
* @version 1.0
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
3 |
* Plugin Name: YITH WooCommerce Wishlist
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
|
6 |
+
* Version: 1.1.0
|
7 |
* Author: Your Inspiration Themes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
11 |
*
|
12 |
* @author Your Inspiration Themes
|
13 |
* @package YITH WooCommerce Wishlist
|
14 |
+
* @version 1.1.0
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
languages/yit-es_MX.mo
ADDED
Binary file
|
languages/yit-es_MX.po
ADDED
@@ -0,0 +1,460 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YITH WCWL\n"
|
4 |
+
"POT-Creation-Date: 2013-12-08 17:34-0600\n"
|
5 |
+
"PO-Revision-Date: 2013-12-08 17:40-0600\n"
|
6 |
+
"Last-Translator: Gabriel Azarias Dzul Cocom <gabrieldzul@gmail.com>\n"
|
7 |
+
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
+
"Language: en\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.1\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
+
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Poedit-SearchPath-0: ..\n"
|
16 |
+
|
17 |
+
#: ../class.yith-wcwl-init.php:105 ../class.yith-wcwl-install.php:137
|
18 |
+
msgid "Wishlist"
|
19 |
+
msgstr "Lista de deseos"
|
20 |
+
|
21 |
+
#: ../class.yith-wcwl-init.php:340
|
22 |
+
msgid "Cannot add to the cart as product is Out of Stock!"
|
23 |
+
msgstr "No se ha podido agregar, el producto no cuenta con existencias."
|
24 |
+
|
25 |
+
#: ../class.yith-wcwl-init.php:369
|
26 |
+
msgid "Wishlist Page"
|
27 |
+
msgstr "Página de la Lista de Deseos"
|
28 |
+
|
29 |
+
#: ../class.yith-wcwl-init.php:370
|
30 |
+
msgid "Page contents: [yith_wcwl_wishlist]"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: ../class.yith-wcwl-init.php:413 ../class.yith-wcwl-init.php:788
|
34 |
+
msgid "General Settings"
|
35 |
+
msgstr "Ajustes Generales"
|
36 |
+
|
37 |
+
#: ../class.yith-wcwl-init.php:414 ../class.yith-wcwl-init.php:890
|
38 |
+
msgid "Styles"
|
39 |
+
msgstr "Estilos"
|
40 |
+
|
41 |
+
#: ../class.yith-wcwl-init.php:415 ../class.yith-wcwl-init.php:953
|
42 |
+
msgid "Socials & Share"
|
43 |
+
msgstr "Compartir"
|
44 |
+
|
45 |
+
#: ../class.yith-wcwl-init.php:435
|
46 |
+
msgid "Colors"
|
47 |
+
msgstr "Colores"
|
48 |
+
|
49 |
+
#: ../class.yith-wcwl-init.php:462
|
50 |
+
msgid "\"Add to Wishlist\" button background"
|
51 |
+
msgstr "\"Agregar a Lista de deseos\" Color de fondo del boton"
|
52 |
+
|
53 |
+
#: ../class.yith-wcwl-init.php:463
|
54 |
+
msgid "\"Add to Wishlist\" button text"
|
55 |
+
msgstr "\"Agregar a Lista de deseos\" texto del boton"
|
56 |
+
|
57 |
+
#: ../class.yith-wcwl-init.php:464
|
58 |
+
msgid "\"Add to Wishlist\" button border"
|
59 |
+
msgstr "\"Agregar a Lista de deseos\" borde del boton"
|
60 |
+
|
61 |
+
#: ../class.yith-wcwl-init.php:469
|
62 |
+
msgid "\"Add to Wishlist\" button background (hover)"
|
63 |
+
msgstr "\"Agregar a Lista de deseos\" fondo del boton (hover)"
|
64 |
+
|
65 |
+
#: ../class.yith-wcwl-init.php:470
|
66 |
+
msgid "\"Add to Wishlist\" button text (hover)"
|
67 |
+
msgstr "\"Agregar a Lista de deseos\" texto del boton (hover)"
|
68 |
+
|
69 |
+
#: ../class.yith-wcwl-init.php:471
|
70 |
+
msgid "\"Add to Wishlist\" button border (hover)"
|
71 |
+
msgstr "\"Agregar a Lista de deseos\" borde del boton (hover)"
|
72 |
+
|
73 |
+
#: ../class.yith-wcwl-init.php:475
|
74 |
+
msgid "\"Add to Cart\" button background"
|
75 |
+
msgstr "\"Agregar al Carrito\" fondo del boton"
|
76 |
+
|
77 |
+
#: ../class.yith-wcwl-init.php:476
|
78 |
+
msgid "\"Add to Cart\" button text"
|
79 |
+
msgstr "\"Agregar al Carrito\" texto del boton"
|
80 |
+
|
81 |
+
#: ../class.yith-wcwl-init.php:477
|
82 |
+
msgid "\"Add to Cart\" button border"
|
83 |
+
msgstr "\"Agregar al Carrito\" borde del boton"
|
84 |
+
|
85 |
+
#: ../class.yith-wcwl-init.php:482
|
86 |
+
msgid "\"Add to Cart\" button background (hover)"
|
87 |
+
msgstr "\"Agregar al Carrito\" fondo del boton"
|
88 |
+
|
89 |
+
#: ../class.yith-wcwl-init.php:483
|
90 |
+
msgid "\"Add to Cart\" button text (hover)"
|
91 |
+
msgstr "\"Agregar al Carrito\" texto del boton (hover)"
|
92 |
+
|
93 |
+
#: ../class.yith-wcwl-init.php:484
|
94 |
+
msgid "\"Add to Cart\" button border (hover)"
|
95 |
+
msgstr "\"Agregar al Carrito\" borde del boton(hover)"
|
96 |
+
|
97 |
+
#: ../class.yith-wcwl-init.php:488
|
98 |
+
msgid "Wishlist table background"
|
99 |
+
msgstr "\"Agregar al Carrito\" texto del boton"
|
100 |
+
|
101 |
+
#: ../class.yith-wcwl-init.php:489
|
102 |
+
msgid "Wishlist table text"
|
103 |
+
msgstr "Texto de la tabla de la Lista de deseos"
|
104 |
+
|
105 |
+
#: ../class.yith-wcwl-init.php:490
|
106 |
+
msgid "Wishlist table border"
|
107 |
+
msgstr "Borde de la tabla de la Lista de deseos"
|
108 |
+
|
109 |
+
#: ../class.yith-wcwl-init.php:540
|
110 |
+
msgid "Settings"
|
111 |
+
msgstr "Ajustes"
|
112 |
+
|
113 |
+
#: ../class.yith-wcwl-init.php:541
|
114 |
+
msgid "Docs"
|
115 |
+
msgstr "Documentación"
|
116 |
+
|
117 |
+
#: ../class.yith-wcwl-init.php:791
|
118 |
+
msgid "Enable YITH Wishlist"
|
119 |
+
msgstr "Activar la Lista de deseos de YITH"
|
120 |
+
|
121 |
+
#: ../class.yith-wcwl-init.php:792
|
122 |
+
#, php-format
|
123 |
+
msgid ""
|
124 |
+
"Enable all plugin features. <strong>Be sure that the wishlist page is "
|
125 |
+
"selected in WooCommerce > Settings > Pages.</strong> Also, please read "
|
126 |
+
"the plugin <a href=\"%s\" target=\"_blank\">documentation</a>."
|
127 |
+
msgstr ""
|
128 |
+
"Activar todas las características del plugin <strong>Aseguráte que la página "
|
129 |
+
"de la Lista de deseos esté seleccionada enWooCommerce > Ajustes > "
|
130 |
+
"Páginas.</strong>Por favor lea la <a href=\"%s\" target=\"_blank"
|
131 |
+
"\">documentación</a>. del plugin"
|
132 |
+
|
133 |
+
#: ../class.yith-wcwl-init.php:799
|
134 |
+
msgid "Use cookies"
|
135 |
+
msgstr "Usar cookies"
|
136 |
+
|
137 |
+
#: ../class.yith-wcwl-init.php:800
|
138 |
+
msgid ""
|
139 |
+
"Use cookies instead of sessions. With this feature, the wishlist will be "
|
140 |
+
"available for each not logged user for 30 days. Use the filter "
|
141 |
+
"yith_wcwl_cookie_expiration_time to change the expiration time ( needs "
|
142 |
+
"timestamp )."
|
143 |
+
msgstr ""
|
144 |
+
"Usar cookies en lugar de sesiones.Con esta característica, la Lista de "
|
145 |
+
"deseos estará disponible para cualquier usuario no logeado, por 30 dias. Use "
|
146 |
+
"el filtro yith_wcwl_cookie_expiration_time para cambiar el tiempo de "
|
147 |
+
"expiración (se necesita usar timestamp)."
|
148 |
+
|
149 |
+
#: ../class.yith-wcwl-init.php:807
|
150 |
+
msgid "Wishlist title"
|
151 |
+
msgstr "Título de la Lista de deseos"
|
152 |
+
|
153 |
+
#: ../class.yith-wcwl-init.php:809 ../class.yith-wcwl-init.php:810
|
154 |
+
#: ../class.yith-wcwl-init.php:986 ../class.yith-wcwl-init.php:987
|
155 |
+
#, php-format
|
156 |
+
msgid "My wishlist on %s"
|
157 |
+
msgstr "My Lista de deseos en %s"
|
158 |
+
|
159 |
+
#: ../class.yith-wcwl-init.php:815
|
160 |
+
msgid "Position"
|
161 |
+
msgstr "Posición"
|
162 |
+
|
163 |
+
#: ../class.yith-wcwl-init.php:816
|
164 |
+
msgid ""
|
165 |
+
"On variable products you can add it only After \"Add to Cart\" or use the "
|
166 |
+
"shortcode [yith_wcwl_add_to_wishlist]."
|
167 |
+
msgstr ""
|
168 |
+
"En productos variables puedes agregarlos solo despues de \"Agregar al "
|
169 |
+
"Carrito\" o usar el shortcode [yith_wcwl_add_to_wishlist]."
|
170 |
+
|
171 |
+
#: ../class.yith-wcwl-init.php:822
|
172 |
+
msgid "After \"Add to cart\""
|
173 |
+
msgstr "Despued de \"Agregar al Carrito\""
|
174 |
+
|
175 |
+
#: ../class.yith-wcwl-init.php:823
|
176 |
+
msgid "After thumbnails"
|
177 |
+
msgstr "Despues de las miniaturas"
|
178 |
+
|
179 |
+
#: ../class.yith-wcwl-init.php:824
|
180 |
+
msgid "After summary"
|
181 |
+
msgstr "Despues del Resumen"
|
182 |
+
|
183 |
+
#: ../class.yith-wcwl-init.php:825
|
184 |
+
msgid "Use shortcode"
|
185 |
+
msgstr "Usar shortcode"
|
186 |
+
|
187 |
+
#: ../class.yith-wcwl-init.php:830
|
188 |
+
msgid "Redirect to cart"
|
189 |
+
msgstr "Redirreccionar al Carrito"
|
190 |
+
|
191 |
+
#: ../class.yith-wcwl-init.php:831
|
192 |
+
msgid ""
|
193 |
+
"Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
|
194 |
+
"page."
|
195 |
+
msgstr ""
|
196 |
+
"Redireccionar a la página del Carrito si el boton de \"Agregar al Carrito\" "
|
197 |
+
"es presionado en la página de la Lista de deseos."
|
198 |
+
|
199 |
+
#: ../class.yith-wcwl-init.php:838
|
200 |
+
msgid "Remove if added to the cart"
|
201 |
+
msgstr "Remover si es agregado al Carrito."
|
202 |
+
|
203 |
+
#: ../class.yith-wcwl-init.php:839
|
204 |
+
msgid "Remove the product from the wishlist if is been added to the cart."
|
205 |
+
msgstr ""
|
206 |
+
"Remover el producto de la Lista de deseos si ha sido agregado al Carrito."
|
207 |
+
|
208 |
+
#: ../class.yith-wcwl-init.php:846
|
209 |
+
msgid "\"Add to Wishlist\" text"
|
210 |
+
msgstr "Testo de \"Agregar al Carrito\""
|
211 |
+
|
212 |
+
#: ../class.yith-wcwl-init.php:848 ../class.yith-wcwl-init.php:849
|
213 |
+
msgid "Add to Wishlist"
|
214 |
+
msgstr "Agregar a la Lista de deseos"
|
215 |
+
|
216 |
+
#: ../class.yith-wcwl-init.php:854
|
217 |
+
msgid "\"Add to Cart\" text"
|
218 |
+
msgstr "Texto de \"Agregar del Carrito\""
|
219 |
+
|
220 |
+
#: ../class.yith-wcwl-init.php:856 ../class.yith-wcwl-init.php:857
|
221 |
+
msgid "Add to Cart"
|
222 |
+
msgstr "Agregar al Carrito"
|
223 |
+
|
224 |
+
#: ../class.yith-wcwl-init.php:862
|
225 |
+
msgid "Show Unit price"
|
226 |
+
msgstr "Mostrar Precio unitario"
|
227 |
+
|
228 |
+
#: ../class.yith-wcwl-init.php:870
|
229 |
+
msgid "Show \"Add to Cart\" button"
|
230 |
+
msgstr "Mostar el boton de \"Agregar al Carrito\" "
|
231 |
+
|
232 |
+
#: ../class.yith-wcwl-init.php:878
|
233 |
+
msgid "Show Stock status"
|
234 |
+
msgstr "Mostar el estado del inventario"
|
235 |
+
|
236 |
+
#: ../class.yith-wcwl-init.php:893
|
237 |
+
msgid "Use buttons"
|
238 |
+
msgstr "Usar botones"
|
239 |
+
|
240 |
+
#: ../class.yith-wcwl-init.php:894
|
241 |
+
msgid "Use buttons instead of a simple anchors."
|
242 |
+
msgstr "Usar botones en lugar de un simple elnaces"
|
243 |
+
|
244 |
+
#: ../class.yith-wcwl-init.php:901
|
245 |
+
msgid "Custom CSS"
|
246 |
+
msgstr "Css personalizado"
|
247 |
+
|
248 |
+
#: ../class.yith-wcwl-init.php:909
|
249 |
+
msgid "Use theme style"
|
250 |
+
msgstr "Usar estilo del tema"
|
251 |
+
|
252 |
+
#: ../class.yith-wcwl-init.php:910
|
253 |
+
msgid "Use the theme style."
|
254 |
+
msgstr "Usar el estilo del tema"
|
255 |
+
|
256 |
+
#: ../class.yith-wcwl-init.php:917
|
257 |
+
msgid "Buttons rounded corners"
|
258 |
+
msgstr "Bordes redondeados para los botones"
|
259 |
+
|
260 |
+
#: ../class.yith-wcwl-init.php:918
|
261 |
+
msgid "Make buttons corner rounded"
|
262 |
+
msgstr "Redondear los bordes de los botones"
|
263 |
+
|
264 |
+
#: ../class.yith-wcwl-init.php:925
|
265 |
+
msgid "\"Add to Wishlist\" icon"
|
266 |
+
msgstr "Icono de \"Agregar a la Lista de deseos\""
|
267 |
+
|
268 |
+
#: ../class.yith-wcwl-init.php:926
|
269 |
+
msgid "Add an icon to the \"Add to Wishlist\" button"
|
270 |
+
msgstr "Agregar un icono para el boton de \"Agregar a la Lista de deseos\""
|
271 |
+
|
272 |
+
#: ../class.yith-wcwl-init.php:937
|
273 |
+
msgid "\"Add to Cart\" icon"
|
274 |
+
msgstr "Icono de \"Agregar al carrito\""
|
275 |
+
|
276 |
+
#: ../class.yith-wcwl-init.php:938
|
277 |
+
msgid "Add an icon to the \"Add to Cart\" button"
|
278 |
+
msgstr "Agregar un icono para el boton de \"Agregar al Carrito\""
|
279 |
+
|
280 |
+
#: ../class.yith-wcwl-init.php:956
|
281 |
+
msgid "Share on Facebook"
|
282 |
+
msgstr "Compartir en Facebook"
|
283 |
+
|
284 |
+
#: ../class.yith-wcwl-init.php:963
|
285 |
+
msgid "Tweet on Twitter"
|
286 |
+
msgstr "Tweet en Twitter"
|
287 |
+
|
288 |
+
#: ../class.yith-wcwl-init.php:970
|
289 |
+
msgid "Pin on Pinterest"
|
290 |
+
msgstr "Pin en Pinterest"
|
291 |
+
|
292 |
+
#: ../class.yith-wcwl-init.php:977
|
293 |
+
msgid "Share on Google+"
|
294 |
+
msgstr "Compartir en Google+"
|
295 |
+
|
296 |
+
#: ../class.yith-wcwl-init.php:984
|
297 |
+
msgid "Socials title"
|
298 |
+
msgstr "Tiítulo de Redes sociales"
|
299 |
+
|
300 |
+
#: ../class.yith-wcwl-init.php:992
|
301 |
+
msgid "Socials text"
|
302 |
+
msgstr "Texto de redes sociales"
|
303 |
+
|
304 |
+
#: ../class.yith-wcwl-init.php:993
|
305 |
+
msgid ""
|
306 |
+
"Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</"
|
307 |
+
"strong> where you want the URL of your wishlist to appear."
|
308 |
+
msgstr ""
|
309 |
+
"Será usado por Facebook, Twitter y Pinterest. Usa <strong>%wishlist_url%</"
|
310 |
+
"strong> donde quieras que la URL de tu Lista de deseos aparesca."
|
311 |
+
|
312 |
+
#: ../class.yith-wcwl-init.php:1001
|
313 |
+
msgid "Socials image URL"
|
314 |
+
msgstr "URL de la imágen de las redes Sociales."
|
315 |
+
|
316 |
+
#: ../class.yith-wcwl-install.php:136
|
317 |
+
msgid "wishlist"
|
318 |
+
msgstr "Lista de deseos"
|
319 |
+
|
320 |
+
#: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl.php:351
|
321 |
+
#: ../yith-wcwl-ajax.php:47
|
322 |
+
msgid "Product added!"
|
323 |
+
msgstr "¡Producto agregado!"
|
324 |
+
|
325 |
+
#: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl-ui.php:65
|
326 |
+
msgid "Browse Wishlist"
|
327 |
+
msgstr "Ir a la Lista de deseos"
|
328 |
+
|
329 |
+
#: ../class.yith-wcwl-ui.php:65
|
330 |
+
msgid "The product is already in the wishlist!"
|
331 |
+
msgstr "El producto ya se encuentra en la Lista de deseos!"
|
332 |
+
|
333 |
+
#: ../class.yith-wcwl-ui.php:93
|
334 |
+
msgid "Select options"
|
335 |
+
msgstr "Opciones de selección."
|
336 |
+
|
337 |
+
#: ../class.yith-wcwl-ui.php:136
|
338 |
+
msgid "Share on:"
|
339 |
+
msgstr "Compartir en:"
|
340 |
+
|
341 |
+
#: ../class.yith-wcwl-ui.php:140
|
342 |
+
msgid "Facebook"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: ../class.yith-wcwl-ui.php:143
|
346 |
+
msgid "Twitter"
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: ../class.yith-wcwl.php:140
|
350 |
+
msgid "Error occurred while adding product to wishlist."
|
351 |
+
msgstr "Ocurrió un erro mientras se agregaba el producto a la Lista"
|
352 |
+
|
353 |
+
#: ../class.yith-wcwl.php:162
|
354 |
+
msgid "Error occurred while removing product from wishlist"
|
355 |
+
msgstr "Ocurrió un erro mientras se eliminaba el producto a la Lista"
|
356 |
+
|
357 |
+
#: ../class.yith-wcwl.php:353 ../yith-wcwl-ajax.php:49
|
358 |
+
msgid "Product already in the wishlist."
|
359 |
+
msgstr "El producto ya está en la Lista"
|
360 |
+
|
361 |
+
#: ../class.yith-wcwl.php:370 ../yith-wcwl-ajax.php:30
|
362 |
+
msgid "Product successfully removed."
|
363 |
+
msgstr "Producto exitosamente eliminado"
|
364 |
+
|
365 |
+
#: ../class.yith-wcwl.php:373 ../yith-wcwl-ajax.php:33
|
366 |
+
msgid "Error. Unable to remove the product from the wishlist."
|
367 |
+
msgstr "Error. No fue posible eliminar el producto de la Lista."
|
368 |
+
|
369 |
+
#: ../class.yith-wcwl.php:377 ../yith-wcwl-ajax.php:37
|
370 |
+
#: ../templates/wishlist.php:151
|
371 |
+
msgid "No products were added to the wishlist"
|
372 |
+
msgstr "Aun no has agregado nada."
|
373 |
+
|
374 |
+
#: ../templates/wishlist.php:75
|
375 |
+
msgid "Product Name"
|
376 |
+
msgstr "Nombre del producto"
|
377 |
+
|
378 |
+
#: ../templates/wishlist.php:76
|
379 |
+
msgid "Unit Price"
|
380 |
+
msgstr "Precio unitario"
|
381 |
+
|
382 |
+
#: ../templates/wishlist.php:77
|
383 |
+
msgid "Stock Status"
|
384 |
+
msgstr "Estado del inventario"
|
385 |
+
|
386 |
+
#: ../templates/wishlist.php:99
|
387 |
+
msgid "Remove this product"
|
388 |
+
msgstr "Remover este producto"
|
389 |
+
|
390 |
+
#: ../templates/wishlist.php:117
|
391 |
+
msgid "Free!"
|
392 |
+
msgstr "Gratis!"
|
393 |
+
|
394 |
+
#: ../templates/wishlist.php:130
|
395 |
+
msgid "Out of Stock"
|
396 |
+
msgstr "Agotado"
|
397 |
+
|
398 |
+
#: ../templates/wishlist.php:133
|
399 |
+
msgid "In Stock"
|
400 |
+
msgstr "Disponilbe."
|
401 |
+
|
402 |
+
#: ../yit-common/yith-panel.php:406
|
403 |
+
msgid "Select a date"
|
404 |
+
msgstr "Selecciona una fecha"
|
405 |
+
|
406 |
+
#: ../yit-common/yith-panel.php:407
|
407 |
+
msgid "Hours"
|
408 |
+
msgstr "Horas"
|
409 |
+
|
410 |
+
#: ../yit-common/yith-panel.php:408 ../yit-common/yith-panel.php:409
|
411 |
+
msgid "Minutes"
|
412 |
+
msgstr "Minutos"
|
413 |
+
|
414 |
+
#: ../yit-common/yith-panel.php:417
|
415 |
+
msgid "Upload"
|
416 |
+
msgstr "Subir"
|
417 |
+
|
418 |
+
#: ../yit-common/yith-panel.php:444
|
419 |
+
msgid "px"
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: ../yit-common/yith-panel.php:445
|
423 |
+
msgid "em"
|
424 |
+
msgstr ""
|
425 |
+
|
426 |
+
#: ../yit-common/yith-panel.php:446
|
427 |
+
msgid "pt"
|
428 |
+
msgstr ""
|
429 |
+
|
430 |
+
#: ../yit-common/yith-panel.php:447
|
431 |
+
msgid "rem"
|
432 |
+
msgstr ""
|
433 |
+
|
434 |
+
#: ../yit-common/yith-panel.php:457
|
435 |
+
msgid "Select a font family"
|
436 |
+
msgstr "Selecciona una familia de fuentes"
|
437 |
+
|
438 |
+
#: ../yit-common/yith-panel.php:465
|
439 |
+
msgid "Regular"
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: ../yit-common/yith-panel.php:466
|
443 |
+
msgid "Bold"
|
444 |
+
msgstr "Negrita"
|
445 |
+
|
446 |
+
#: ../yit-common/yith-panel.php:467
|
447 |
+
msgid "Extra bold"
|
448 |
+
msgstr "Negrita extra"
|
449 |
+
|
450 |
+
#: ../yit-common/yith-panel.php:468
|
451 |
+
msgid "Italic"
|
452 |
+
msgstr ""
|
453 |
+
|
454 |
+
#: ../yit-common/yith-panel.php:469
|
455 |
+
msgid "Italic bold"
|
456 |
+
msgstr ""
|
457 |
+
|
458 |
+
#: ../yit-common/yith-panel.php:481
|
459 |
+
msgid "Click to preview"
|
460 |
+
msgstr "Click para previsualizar"
|
languages/yit-fr_FR.mo
ADDED
Binary file
|
languages/yit-fr_FR.po
ADDED
@@ -0,0 +1,453 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YITH WooCommerce Wishlist v1.0.3\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-09-04 16:30+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-12-13 10:51+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
15 |
+
"X-Poedit-Basepath: ../\n"
|
16 |
+
"X-Textdomain-Support: yes\n"
|
17 |
+
"X-Generator: Poedit 1.5.5\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
|
20 |
+
#: class.yith-wcwl-init.php:105
|
21 |
+
#: class.yith-wcwl-install.php:137
|
22 |
+
msgid "Wishlist"
|
23 |
+
msgstr "Wishlist"
|
24 |
+
|
25 |
+
#: class.yith-wcwl-init.php:335
|
26 |
+
msgid "Cannot add to the cart as product is Out of Stock!"
|
27 |
+
msgstr "Impossible d'ajouter au panier : ce produit n'est plus en stock."
|
28 |
+
|
29 |
+
#: class.yith-wcwl-init.php:364
|
30 |
+
msgid "Wishlist Page"
|
31 |
+
msgstr "Page Wishlist"
|
32 |
+
|
33 |
+
#: class.yith-wcwl-init.php:365
|
34 |
+
msgid "Page contents: [yith_wcwl_wishlist]"
|
35 |
+
msgstr "Contenu de la page : [yith_wcwl_wishlist]"
|
36 |
+
|
37 |
+
#: class.yith-wcwl-init.php:408
|
38 |
+
#: class.yith-wcwl-init.php:783
|
39 |
+
msgid "General Settings"
|
40 |
+
msgstr "Paramètres généraux"
|
41 |
+
|
42 |
+
#: class.yith-wcwl-init.php:409
|
43 |
+
#: class.yith-wcwl-init.php:885
|
44 |
+
msgid "Styles"
|
45 |
+
msgstr "Styles"
|
46 |
+
|
47 |
+
#: class.yith-wcwl-init.php:410
|
48 |
+
#: class.yith-wcwl-init.php:948
|
49 |
+
msgid "Socials & Share"
|
50 |
+
msgstr "Partage"
|
51 |
+
|
52 |
+
#: class.yith-wcwl-init.php:430
|
53 |
+
msgid "Colors"
|
54 |
+
msgstr "Couleurs"
|
55 |
+
|
56 |
+
#: class.yith-wcwl-init.php:457
|
57 |
+
msgid "\"Add to Wishlist\" button background"
|
58 |
+
msgstr "Fond du bouton \"Ajouter à la Wishlist\""
|
59 |
+
|
60 |
+
#: class.yith-wcwl-init.php:458
|
61 |
+
msgid "\"Add to Wishlist\" button text"
|
62 |
+
msgstr "Texte du bouton \"Ajouter à la Wishlist\""
|
63 |
+
|
64 |
+
#: class.yith-wcwl-init.php:459
|
65 |
+
msgid "\"Add to Wishlist\" button border"
|
66 |
+
msgstr "Bordure du bouton \"Ajouter à la Wishlist\""
|
67 |
+
|
68 |
+
#: class.yith-wcwl-init.php:464
|
69 |
+
msgid "\"Add to Wishlist\" button background (hover)"
|
70 |
+
msgstr "Fond du bouton \"Ajouter à la Wishlist\" (survol)"
|
71 |
+
|
72 |
+
#: class.yith-wcwl-init.php:465
|
73 |
+
msgid "\"Add to Wishlist\" button text (hover)"
|
74 |
+
msgstr "Texte du bouton \"Ajouter à la Wishlist\" (survol)"
|
75 |
+
|
76 |
+
#: class.yith-wcwl-init.php:466
|
77 |
+
msgid "\"Add to Wishlist\" button border (hover)"
|
78 |
+
msgstr "Bordure du bouton \"Ajouter à la Wishlist\" (survol)"
|
79 |
+
|
80 |
+
#: class.yith-wcwl-init.php:470
|
81 |
+
msgid "\"Add to Cart\" button background"
|
82 |
+
msgstr "Fond du bouton \"Ajouter au panier\""
|
83 |
+
|
84 |
+
#: class.yith-wcwl-init.php:471
|
85 |
+
msgid "\"Add to Cart\" button text"
|
86 |
+
msgstr "Texte du bouton \"Ajouter au panier\""
|
87 |
+
|
88 |
+
#: class.yith-wcwl-init.php:472
|
89 |
+
msgid "\"Add to Cart\" button border"
|
90 |
+
msgstr "Bordure du bouton \"Ajouter au panier\""
|
91 |
+
|
92 |
+
#: class.yith-wcwl-init.php:477
|
93 |
+
msgid "\"Add to Cart\" button background (hover)"
|
94 |
+
msgstr "Fond du bouton \"Ajouter au panier\" (survol)"
|
95 |
+
|
96 |
+
#: class.yith-wcwl-init.php:478
|
97 |
+
msgid "\"Add to Cart\" button text (hover)"
|
98 |
+
msgstr "Texte du bouton \"Ajouter au panier\" (survol)"
|
99 |
+
|
100 |
+
#: class.yith-wcwl-init.php:479
|
101 |
+
msgid "\"Add to Cart\" button border (hover)"
|
102 |
+
msgstr "Bordure du bouton \"Ajouter au panier\" (hover)"
|
103 |
+
|
104 |
+
#: class.yith-wcwl-init.php:483
|
105 |
+
msgid "Wishlist table background"
|
106 |
+
msgstr "Fond du tableau de la Wishlist"
|
107 |
+
|
108 |
+
#: class.yith-wcwl-init.php:484
|
109 |
+
msgid "Wishlist table text"
|
110 |
+
msgstr "Texte du tableau de la Wishlist"
|
111 |
+
|
112 |
+
#: class.yith-wcwl-init.php:485
|
113 |
+
msgid "Wishlist table border"
|
114 |
+
msgstr "Bordure du tableau de la Wishlist"
|
115 |
+
|
116 |
+
#: class.yith-wcwl-init.php:535
|
117 |
+
msgid "Settings"
|
118 |
+
msgstr "Paramètres"
|
119 |
+
|
120 |
+
#: class.yith-wcwl-init.php:536
|
121 |
+
msgid "Docs"
|
122 |
+
msgstr "Documentation"
|
123 |
+
|
124 |
+
#: class.yith-wcwl-init.php:786
|
125 |
+
msgid "Enable YITH Wishlist"
|
126 |
+
msgstr "Activer YITH Wishlist"
|
127 |
+
|
128 |
+
#: class.yith-wcwl-init.php:787
|
129 |
+
#, php-format
|
130 |
+
msgid "Enable all plugin features. <strong>Be sure that the wishlist page is selected in WooCommerce > Settings > Pages.</strong> Also, please read the plugin <a href=\"%s\" target=\"_blank\">documentation</a>."
|
131 |
+
msgstr "Activer toutes les fonctionnalités. <strong>Assurez-vous que la page Wishlist est sélectionnée dans WooCommerce > Réglages > Pages.</strong> Egalement, prenez le temps de lire la <a href=\"%s\" target=\"_blank\">documentation</a>."
|
132 |
+
|
133 |
+
#: class.yith-wcwl-init.php:794
|
134 |
+
msgid "Use cookies"
|
135 |
+
msgstr "Utiliser des cookies"
|
136 |
+
|
137 |
+
#: class.yith-wcwl-init.php:795
|
138 |
+
msgid "Use cookies instead of sessions. With this feature, the wishlist will be available for each not logged user for 30 days. Use the filter yith_wcwl_cookie_expiration_time to change the expiration time ( needs timestamp )."
|
139 |
+
msgstr "Utiliser des cookies à la place des sessions. Avec cette fonctionnalité, la wishlist restera disponible pour les utilisateurs non logués durant 30 jours. Utilisez le filtre yith_wcwl_cookie_expiration_time pour changer la durée de validité (requiert un timestamp)"
|
140 |
+
|
141 |
+
#: class.yith-wcwl-init.php:802
|
142 |
+
msgid "Wishlist title"
|
143 |
+
msgstr "Titre de la Wishlist"
|
144 |
+
|
145 |
+
#: class.yith-wcwl-init.php:804
|
146 |
+
#: class.yith-wcwl-init.php:805
|
147 |
+
#: class.yith-wcwl-init.php:981
|
148 |
+
#: class.yith-wcwl-init.php:982
|
149 |
+
#, php-format
|
150 |
+
msgid "My wishlist on %s"
|
151 |
+
msgstr "Ma wishlist sur %s"
|
152 |
+
|
153 |
+
#: class.yith-wcwl-init.php:810
|
154 |
+
msgid "Position"
|
155 |
+
msgstr "Position"
|
156 |
+
|
157 |
+
#: class.yith-wcwl-init.php:811
|
158 |
+
msgid "On variable products you can add it only After \"Add to Cart\" or use the shortcode [yith_wcwl_add_to_wishlist]."
|
159 |
+
msgstr "Pour les produits variables, vous pouver seulement l'ajouter après \"Ajouter au panier\" ou en utilisant le shortcode [yith_wcwl_add_to_wishlist]."
|
160 |
+
|
161 |
+
#: class.yith-wcwl-init.php:817
|
162 |
+
msgid "After \"Add to cart\""
|
163 |
+
msgstr "Après \"Ajouter au panier\""
|
164 |
+
|
165 |
+
#: class.yith-wcwl-init.php:818
|
166 |
+
msgid "After thumbnails"
|
167 |
+
msgstr "Après les images"
|
168 |
+
|
169 |
+
#: class.yith-wcwl-init.php:819
|
170 |
+
msgid "After summary"
|
171 |
+
msgstr "Après le résumé"
|
172 |
+
|
173 |
+
#: class.yith-wcwl-init.php:820
|
174 |
+
msgid "Use shortcode"
|
175 |
+
msgstr "Utiliser le shortcode"
|
176 |
+
|
177 |
+
#: class.yith-wcwl-init.php:825
|
178 |
+
msgid "Redirect to cart"
|
179 |
+
msgstr "Rediriger vers le panier"
|
180 |
+
|
181 |
+
#: class.yith-wcwl-init.php:826
|
182 |
+
msgid "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist page."
|
183 |
+
msgstr "Rediriger vers le panier si on clique sur le bouton \"Ajouter au panier\" sur la page Wishlist."
|
184 |
+
|
185 |
+
#: class.yith-wcwl-init.php:833
|
186 |
+
msgid "Remove if added to the cart"
|
187 |
+
msgstr "Supprimer si ajouté au panier"
|
188 |
+
|
189 |
+
#: class.yith-wcwl-init.php:834
|
190 |
+
msgid "Remove the product from the wishlist if is been added to the cart."
|
191 |
+
msgstr "Supprimer le produit de la wishlist s'il a été ajouté au panier."
|
192 |
+
|
193 |
+
#: class.yith-wcwl-init.php:841
|
194 |
+
msgid "\"Add to Wishlist\" text"
|
195 |
+
msgstr "Texte \"Ajouter à la wishlist\""
|
196 |
+
|
197 |
+
#: class.yith-wcwl-init.php:843
|
198 |
+
#: class.yith-wcwl-init.php:844
|
199 |
+
msgid "Add to Wishlist"
|
200 |
+
msgstr "Ajouter à la wishlist"
|
201 |
+
|
202 |
+
#: class.yith-wcwl-init.php:849
|
203 |
+
msgid "\"Add to Cart\" text"
|
204 |
+
msgstr "Texte \"Ajouter au panier\""
|
205 |
+
|
206 |
+
#: class.yith-wcwl-init.php:851
|
207 |
+
#: class.yith-wcwl-init.php:852
|
208 |
+
msgid "Add to Cart"
|
209 |
+
msgstr "Ajouter au panier"
|
210 |
+
|
211 |
+
#: class.yith-wcwl-init.php:857
|
212 |
+
msgid "Show Unit price"
|
213 |
+
msgstr "Voir le prix unitaire"
|
214 |
+
|
215 |
+
#: class.yith-wcwl-init.php:865
|
216 |
+
msgid "Show \"Add to Cart\" button"
|
217 |
+
msgstr "Voir le bouton \"Ajouter au panier\""
|
218 |
+
|
219 |
+
#: class.yith-wcwl-init.php:873
|
220 |
+
msgid "Show Stock status"
|
221 |
+
msgstr "Voir le statut du stock"
|
222 |
+
|
223 |
+
#: class.yith-wcwl-init.php:888
|
224 |
+
msgid "Use buttons"
|
225 |
+
msgstr "Utiliser des boutons"
|
226 |
+
|
227 |
+
#: class.yith-wcwl-init.php:889
|
228 |
+
msgid "Use buttons instead of a simple anchors."
|
229 |
+
msgstr "Utiliser des boutons à la place de simples liens"
|
230 |
+
|
231 |
+
#: class.yith-wcwl-init.php:896
|
232 |
+
msgid "Custom CSS"
|
233 |
+
msgstr "CSS personnalisée"
|
234 |
+
|
235 |
+
#: class.yith-wcwl-init.php:904
|
236 |
+
msgid "Use theme style"
|
237 |
+
msgstr "Utiliser le style du thème"
|
238 |
+
|
239 |
+
#: class.yith-wcwl-init.php:905
|
240 |
+
msgid "Use the theme style."
|
241 |
+
msgstr "Utiliser le style du thème?"
|
242 |
+
|
243 |
+
#: class.yith-wcwl-init.php:912
|
244 |
+
msgid "Buttons rounded corners"
|
245 |
+
msgstr "Boutons avec des coins arrondis"
|
246 |
+
|
247 |
+
#: class.yith-wcwl-init.php:913
|
248 |
+
msgid "Make buttons corner rounded"
|
249 |
+
msgstr "Arrondir les coins des boutons"
|
250 |
+
|
251 |
+
#: class.yith-wcwl-init.php:920
|
252 |
+
msgid "\"Add to Wishlist\" icon"
|
253 |
+
msgstr "Icône \"Ajouter à la wishlist\""
|
254 |
+
|
255 |
+
#: class.yith-wcwl-init.php:921
|
256 |
+
msgid "Add an icon to the \"Add to Wishlist\" button"
|
257 |
+
msgstr "Ajouter une icône au bouton \"Ajouter à la wishlist\""
|
258 |
+
|
259 |
+
#: class.yith-wcwl-init.php:932
|
260 |
+
msgid "\"Add to Cart\" icon"
|
261 |
+
msgstr "Icône \"Ajouter au panier\""
|
262 |
+
|
263 |
+
#: class.yith-wcwl-init.php:933
|
264 |
+
msgid "Add an icon to the \"Add to Cart\" button"
|
265 |
+
msgstr "Ajouter une icône au bouton \"Ajouter au panier\""
|
266 |
+
|
267 |
+
#: class.yith-wcwl-init.php:951
|
268 |
+
msgid "Share on Facebook"
|
269 |
+
msgstr "Partager sur Facebook"
|
270 |
+
|
271 |
+
#: class.yith-wcwl-init.php:958
|
272 |
+
msgid "Tweet on Twitter"
|
273 |
+
msgstr "Partager sur Twitter"
|
274 |
+
|
275 |
+
#: class.yith-wcwl-init.php:965
|
276 |
+
msgid "Pin on Pinterest"
|
277 |
+
msgstr "Partager sur Pinterest"
|
278 |
+
|
279 |
+
#: class.yith-wcwl-init.php:972
|
280 |
+
msgid "Share on Google+"
|
281 |
+
msgstr "Partager sur Google+"
|
282 |
+
|
283 |
+
#: class.yith-wcwl-init.php:979
|
284 |
+
msgid "Socials title"
|
285 |
+
msgstr "Titre pour les réseaux sociaux"
|
286 |
+
|
287 |
+
#: class.yith-wcwl-init.php:987
|
288 |
+
msgid "Socials text"
|
289 |
+
msgstr "Texte pour les réseaux sociaux"
|
290 |
+
|
291 |
+
#: class.yith-wcwl-init.php:988
|
292 |
+
msgid "Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</strong> where you want the URL of your wishlist to appear."
|
293 |
+
msgstr "Sera utiliser par Facebook, Twitter et Pinterest. Placez <strong>%wishlist_url%</strong> à l'endroit où vous voulez faire apparaitre le lien vers votre wishlist."
|
294 |
+
|
295 |
+
#: class.yith-wcwl-init.php:996
|
296 |
+
msgid "Socials image URL"
|
297 |
+
msgstr "URL de l'image pour les réseaux sociaux"
|
298 |
+
|
299 |
+
#: class.yith-wcwl-install.php:136
|
300 |
+
msgctxt "page_slug"
|
301 |
+
msgid "wishlist"
|
302 |
+
msgstr "wishlist"
|
303 |
+
|
304 |
+
#: class.yith-wcwl-ui.php:64
|
305 |
+
#: class.yith-wcwl.php:351
|
306 |
+
#: yith-wcwl-ajax.php:47
|
307 |
+
msgid "Product added!"
|
308 |
+
msgstr "Produit ajouté !"
|
309 |
+
|
310 |
+
#: class.yith-wcwl-ui.php:64
|
311 |
+
#: class.yith-wcwl-ui.php:65
|
312 |
+
msgid "Browse Wishlist"
|
313 |
+
msgstr "Parcourir la wishlist"
|
314 |
+
|
315 |
+
#: class.yith-wcwl-ui.php:65
|
316 |
+
msgid "The product is already in the wishlist!"
|
317 |
+
msgstr "Ce produit est dans votre wishlist"
|
318 |
+
|
319 |
+
#: class.yith-wcwl-ui.php:93
|
320 |
+
msgid "Select options"
|
321 |
+
msgstr "Choisir les options"
|
322 |
+
|
323 |
+
#: class.yith-wcwl-ui.php:136
|
324 |
+
msgid "Share on:"
|
325 |
+
msgstr "Partager sur :"
|
326 |
+
|
327 |
+
#: class.yith-wcwl-ui.php:140
|
328 |
+
msgid "Facebook"
|
329 |
+
msgstr "Facebook"
|
330 |
+
|
331 |
+
#: class.yith-wcwl-ui.php:143
|
332 |
+
msgid "Twitter"
|
333 |
+
msgstr "Twitter"
|
334 |
+
|
335 |
+
#: class.yith-wcwl.php:140
|
336 |
+
msgid "Error occurred while adding product to wishlist."
|
337 |
+
msgstr "Une erreur est survenue lors de l'ajout du produit à la wishlist"
|
338 |
+
|
339 |
+
#: class.yith-wcwl.php:162
|
340 |
+
msgid "Error occurred while removing product from wishlist"
|
341 |
+
msgstr "Une erreur est survenue lors de le suppression du produit de la wishlist"
|
342 |
+
|
343 |
+
#: class.yith-wcwl.php:353
|
344 |
+
#: yith-wcwl-ajax.php:49
|
345 |
+
msgid "Product already in the wishlist."
|
346 |
+
msgstr "Ce produit est déjà dans votre wishlist"
|
347 |
+
|
348 |
+
#: class.yith-wcwl.php:370
|
349 |
+
#: yith-wcwl-ajax.php:30
|
350 |
+
msgid "Product successfully removed."
|
351 |
+
msgstr "Le produit a bien été supprimé"
|
352 |
+
|
353 |
+
#: class.yith-wcwl.php:373
|
354 |
+
#: yith-wcwl-ajax.php:33
|
355 |
+
msgid "Error. Unable to remove the product from the wishlist."
|
356 |
+
msgstr "Erreur : impossible de supprimer le produit de la wishlist"
|
357 |
+
|
358 |
+
#: class.yith-wcwl.php:377
|
359 |
+
#: yith-wcwl-ajax.php:37
|
360 |
+
#: templates/wishlist.php:145
|
361 |
+
msgid "No products were added to the wishlist"
|
362 |
+
msgstr "Aucun produit dans votre wishlist"
|
363 |
+
|
364 |
+
#: templates/wishlist.php:75
|
365 |
+
msgid "Product Name"
|
366 |
+
msgstr "Produit"
|
367 |
+
|
368 |
+
#: templates/wishlist.php:76
|
369 |
+
msgid "Unit Price"
|
370 |
+
msgstr "Prix unitaire"
|
371 |
+
|
372 |
+
#: templates/wishlist.php:77
|
373 |
+
msgid "Stock Status"
|
374 |
+
msgstr "Stock"
|
375 |
+
|
376 |
+
#: templates/wishlist.php:99
|
377 |
+
msgid "Remove this product"
|
378 |
+
msgstr "Enlever ce produit"
|
379 |
+
|
380 |
+
#: templates/wishlist.php:126
|
381 |
+
msgid "Out of Stock"
|
382 |
+
msgstr "Epuisé"
|
383 |
+
|
384 |
+
#: templates/wishlist.php:129
|
385 |
+
msgid "In Stock"
|
386 |
+
msgstr "En stock"
|
387 |
+
|
388 |
+
#: yit-common/yith-panel.php:406
|
389 |
+
msgid "Select a date"
|
390 |
+
msgstr "Choisissez une date"
|
391 |
+
|
392 |
+
#: yit-common/yith-panel.php:407
|
393 |
+
msgid "Hours"
|
394 |
+
msgstr "Heures"
|
395 |
+
|
396 |
+
#: yit-common/yith-panel.php:408
|
397 |
+
#: yit-common/yith-panel.php:409
|
398 |
+
msgid "Minutes"
|
399 |
+
msgstr "Minutes"
|
400 |
+
|
401 |
+
#: yit-common/yith-panel.php:417
|
402 |
+
msgid "Upload"
|
403 |
+
msgstr "Upload"
|
404 |
+
|
405 |
+
#: yit-common/yith-panel.php:444
|
406 |
+
msgid "px"
|
407 |
+
msgstr "px"
|
408 |
+
|
409 |
+
#: yit-common/yith-panel.php:445
|
410 |
+
msgid "em"
|
411 |
+
msgstr "em"
|
412 |
+
|
413 |
+
#: yit-common/yith-panel.php:446
|
414 |
+
msgid "pt"
|
415 |
+
msgstr "pt"
|
416 |
+
|
417 |
+
#: yit-common/yith-panel.php:447
|
418 |
+
msgid "rem"
|
419 |
+
msgstr "rem"
|
420 |
+
|
421 |
+
#: yit-common/yith-panel.php:457
|
422 |
+
msgid "Select a font family"
|
423 |
+
msgstr "Choisissez une police"
|
424 |
+
|
425 |
+
#: yit-common/yith-panel.php:465
|
426 |
+
msgid "Regular"
|
427 |
+
msgstr "Normal"
|
428 |
+
|
429 |
+
#: yit-common/yith-panel.php:466
|
430 |
+
msgid "Bold"
|
431 |
+
msgstr "Gras"
|
432 |
+
|
433 |
+
#: yit-common/yith-panel.php:467
|
434 |
+
msgid "Extra bold"
|
435 |
+
msgstr "Très gras"
|
436 |
+
|
437 |
+
#: yit-common/yith-panel.php:468
|
438 |
+
msgid "Italic"
|
439 |
+
msgstr "Italique"
|
440 |
+
|
441 |
+
#: yit-common/yith-panel.php:469
|
442 |
+
msgid "Italic bold"
|
443 |
+
msgstr "Gras italique"
|
444 |
+
|
445 |
+
#: yit-common/yith-panel.php:481
|
446 |
+
msgid "Click to preview"
|
447 |
+
msgstr "Cliquez-ici pour pré-visualiser"
|
448 |
+
|
449 |
+
#~ msgid "View Cart →"
|
450 |
+
#~ msgstr "Warenkorb ansehen"
|
451 |
+
#~ msgid "Product successfully added to the cart."
|
452 |
+
#~ msgstr "Produkt erfolgreich im Warenkorb eingefügt "
|
453 |
+
|
languages/yit-it_IT.mo
CHANGED
Binary file
|
languages/yit-it_IT.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: YITH WooCommerce Wishlist v1.0.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2013-09-04 16:33+0100\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
8 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -26,8 +26,7 @@ msgstr "Lista dei desideri"
|
|
26 |
# @ yit
|
27 |
#: ../class.yith-wcwl-init.php:335
|
28 |
msgid "Cannot add to the cart as product is Out of Stock!"
|
29 |
-
msgstr ""
|
30 |
-
"Impossibile aggiungere il prodotto nel carrello perché non é disponbile!"
|
31 |
|
32 |
# @ yit
|
33 |
#: ../class.yith-wcwl-init.php:364
|
@@ -62,17 +61,17 @@ msgstr "Colori"
|
|
62 |
# @ yit
|
63 |
#: ../class.yith-wcwl-init.php:457
|
64 |
msgid "\"Add to Wishlist\" button background"
|
65 |
-
msgstr "Sfondo del
|
66 |
|
67 |
# @ yit
|
68 |
#: ../class.yith-wcwl-init.php:458
|
69 |
msgid "\"Add to Wishlist\" button text"
|
70 |
-
msgstr "Testo del
|
71 |
|
72 |
# @ yit
|
73 |
#: ../class.yith-wcwl-init.php:459
|
74 |
msgid "\"Add to Wishlist\" button border"
|
75 |
-
msgstr "Bordo del
|
76 |
|
77 |
# @ yit
|
78 |
#: ../class.yith-wcwl-init.php:464
|
@@ -93,17 +92,17 @@ msgstr "Colore bordo per \"Aggiungi alla lista dei desideri\"pulsante (hover)"
|
|
93 |
# @ yit
|
94 |
#: ../class.yith-wcwl-init.php:470
|
95 |
msgid "\"Add to Cart\" button background"
|
96 |
-
msgstr "Sfondo del
|
97 |
|
98 |
# @ yit
|
99 |
#: ../class.yith-wcwl-init.php:471
|
100 |
msgid "\"Add to Cart\" button text"
|
101 |
-
msgstr "Testo del
|
102 |
|
103 |
# @ yit
|
104 |
#: ../class.yith-wcwl-init.php:472
|
105 |
msgid "\"Add to Cart\" button border"
|
106 |
-
msgstr "Bordo del
|
107 |
|
108 |
# @ yit
|
109 |
#: ../class.yith-wcwl-init.php:477
|
@@ -143,7 +142,7 @@ msgstr "Impostazioni"
|
|
143 |
# @ yit
|
144 |
#: ../class.yith-wcwl-init.php:536
|
145 |
msgid "Docs"
|
146 |
-
msgstr "
|
147 |
|
148 |
# @ yit
|
149 |
#: ../class.yith-wcwl-init.php:786
|
@@ -184,7 +183,7 @@ msgstr ""
|
|
184 |
# @ yit
|
185 |
#: ../class.yith-wcwl-init.php:802
|
186 |
msgid "Wishlist title"
|
187 |
-
msgstr "Titolo della
|
188 |
|
189 |
# @ yit
|
190 |
#: ../class.yith-wcwl-init.php:804 ../class.yith-wcwl-init.php:805
|
@@ -205,7 +204,7 @@ msgid ""
|
|
205 |
"shortcode [yith_wcwl_add_to_wishlist]."
|
206 |
msgstr ""
|
207 |
"Per i prodotti variabili puoi utilizzare soltanto Dopo \"Aggiungi al Carrello"
|
208 |
-
"\" o
|
209 |
|
210 |
# @ yit
|
211 |
#: ../class.yith-wcwl-init.php:817
|
@@ -238,8 +237,8 @@ msgid ""
|
|
238 |
"Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
|
239 |
"page."
|
240 |
msgstr ""
|
241 |
-
"Reindirizza al carrello se
|
242 |
-
"
|
243 |
|
244 |
# @ yit
|
245 |
#: ../class.yith-wcwl-init.php:833
|
@@ -250,13 +249,13 @@ msgstr "Rimuovi se aggiunto al carrello"
|
|
250 |
#: ../class.yith-wcwl-init.php:834
|
251 |
msgid "Remove the product from the wishlist if is been added to the cart."
|
252 |
msgstr ""
|
253 |
-
"
|
254 |
-
"
|
255 |
|
256 |
# @ yit
|
257 |
#: ../class.yith-wcwl-init.php:841
|
258 |
msgid "\"Add to Wishlist\" text"
|
259 |
-
msgstr "Testo del
|
260 |
|
261 |
# @ yit
|
262 |
#: ../class.yith-wcwl-init.php:843 ../class.yith-wcwl-init.php:844
|
@@ -266,7 +265,7 @@ msgstr "Aggiungi alla lista dei desideri"
|
|
266 |
# @ yit
|
267 |
#: ../class.yith-wcwl-init.php:849
|
268 |
msgid "\"Add to Cart\" text"
|
269 |
-
msgstr "Testo del
|
270 |
|
271 |
# @ yit
|
272 |
#: ../class.yith-wcwl-init.php:851 ../class.yith-wcwl-init.php:852
|
@@ -281,9 +280,8 @@ msgstr "Prezzo Unitario"
|
|
281 |
|
282 |
# @ yit
|
283 |
#: ../class.yith-wcwl-init.php:865
|
284 |
-
#, fuzzy
|
285 |
msgid "Show \"Add to Cart\" button"
|
286 |
-
msgstr "
|
287 |
|
288 |
# @ yit
|
289 |
#: ../class.yith-wcwl-init.php:873
|
@@ -294,12 +292,12 @@ msgstr "Disponibilitá"
|
|
294 |
# @ yit
|
295 |
#: ../class.yith-wcwl-init.php:888
|
296 |
msgid "Use buttons"
|
297 |
-
msgstr "Usa
|
298 |
|
299 |
# @ yit
|
300 |
#: ../class.yith-wcwl-init.php:889
|
301 |
msgid "Use buttons instead of a simple anchors."
|
302 |
-
msgstr "Utilizza
|
303 |
|
304 |
# @ yit
|
305 |
#: ../class.yith-wcwl-init.php:896
|
@@ -319,12 +317,12 @@ msgstr "Usa lo stile del tema."
|
|
319 |
# @ yit
|
320 |
#: ../class.yith-wcwl-init.php:912
|
321 |
msgid "Buttons rounded corners"
|
322 |
-
msgstr "
|
323 |
|
324 |
# @ yit
|
325 |
#: ../class.yith-wcwl-init.php:913
|
326 |
msgid "Make buttons corner rounded"
|
327 |
-
msgstr "
|
328 |
|
329 |
# @ yit
|
330 |
#: ../class.yith-wcwl-init.php:920
|
@@ -334,7 +332,7 @@ msgstr "Icona \"Aggiungi alla lista dei desideri\""
|
|
334 |
# @ yit
|
335 |
#: ../class.yith-wcwl-init.php:921
|
336 |
msgid "Add an icon to the \"Add to Wishlist\" button"
|
337 |
-
msgstr "
|
338 |
|
339 |
# @ yit
|
340 |
#: ../class.yith-wcwl-init.php:932
|
@@ -344,7 +342,7 @@ msgstr "Icona \"Aggiungi al carrello\""
|
|
344 |
# @ yit
|
345 |
#: ../class.yith-wcwl-init.php:933
|
346 |
msgid "Add an icon to the \"Add to Cart\" button"
|
347 |
-
msgstr "Aggiunge un'icona al
|
348 |
|
349 |
# @ yit
|
350 |
#: ../class.yith-wcwl-init.php:951
|
@@ -364,7 +362,7 @@ msgstr "Pin su Pinterest"
|
|
364 |
# @ yit
|
365 |
#: ../class.yith-wcwl-init.php:972
|
366 |
msgid "Share on Google+"
|
367 |
-
msgstr ""
|
368 |
|
369 |
# @ yit
|
370 |
#: ../class.yith-wcwl-init.php:979
|
@@ -383,12 +381,12 @@ msgid ""
|
|
383 |
"strong> where you want the URL of your wishlist to appear."
|
384 |
msgstr ""
|
385 |
"Sará utilizzato da Facebook, Twitter e Pinterest. Utilizza <strong>"
|
386 |
-
"%wishlist_url%</strong> dove vuoi che appaia l'URL della
|
387 |
|
388 |
# @ yit
|
389 |
#: ../class.yith-wcwl-init.php:996
|
390 |
msgid "Socials image URL"
|
391 |
-
msgstr "URL immagine
|
392 |
|
393 |
# @ yit
|
394 |
#: ../class.yith-wcwl-install.php:136
|
@@ -405,7 +403,7 @@ msgstr "Prodotto aggiunto!"
|
|
405 |
# @ yit
|
406 |
#: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl-ui.php:65
|
407 |
msgid "Browse Wishlist"
|
408 |
-
msgstr "
|
409 |
|
410 |
# @ yit
|
411 |
#: ../class.yith-wcwl-ui.php:65
|
@@ -499,15 +497,15 @@ msgstr ""
|
|
499 |
|
500 |
#: ../yit-common/yith-panel.php:407
|
501 |
msgid "Hours"
|
502 |
-
msgstr ""
|
503 |
|
504 |
#: ../yit-common/yith-panel.php:408 ../yit-common/yith-panel.php:409
|
505 |
msgid "Minutes"
|
506 |
-
msgstr ""
|
507 |
|
508 |
#: ../yit-common/yith-panel.php:417
|
509 |
msgid "Upload"
|
510 |
-
msgstr ""
|
511 |
|
512 |
#: ../yit-common/yith-panel.php:444
|
513 |
msgid "px"
|
@@ -527,7 +525,7 @@ msgstr ""
|
|
527 |
|
528 |
#: ../yit-common/yith-panel.php:457
|
529 |
msgid "Select a font family"
|
530 |
-
msgstr ""
|
531 |
|
532 |
#: ../yit-common/yith-panel.php:465
|
533 |
msgid "Regular"
|
@@ -551,4 +549,4 @@ msgstr ""
|
|
551 |
|
552 |
#: ../yit-common/yith-panel.php:481
|
553 |
msgid "Click to preview"
|
554 |
-
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Wishlist v1.0.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2013-09-04 16:33+0100\n"
|
6 |
+
"PO-Revision-Date: 2014-02-03 14:31+0100\n"
|
7 |
"Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
|
8 |
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
26 |
# @ yit
|
27 |
#: ../class.yith-wcwl-init.php:335
|
28 |
msgid "Cannot add to the cart as product is Out of Stock!"
|
29 |
+
msgstr "Prodotto non disponibile! Impossibile aggiungerlo nel carrello"
|
|
|
30 |
|
31 |
# @ yit
|
32 |
#: ../class.yith-wcwl-init.php:364
|
61 |
# @ yit
|
62 |
#: ../class.yith-wcwl-init.php:457
|
63 |
msgid "\"Add to Wishlist\" button background"
|
64 |
+
msgstr "Sfondo del pulsante \"Aggiungi alla lista dei desideri\""
|
65 |
|
66 |
# @ yit
|
67 |
#: ../class.yith-wcwl-init.php:458
|
68 |
msgid "\"Add to Wishlist\" button text"
|
69 |
+
msgstr "Testo del pulsante \"Aggiungi alla lista dei desideri\""
|
70 |
|
71 |
# @ yit
|
72 |
#: ../class.yith-wcwl-init.php:459
|
73 |
msgid "\"Add to Wishlist\" button border"
|
74 |
+
msgstr "Bordo del pulsante \"Aggiungi alla lista dei desideri\""
|
75 |
|
76 |
# @ yit
|
77 |
#: ../class.yith-wcwl-init.php:464
|
92 |
# @ yit
|
93 |
#: ../class.yith-wcwl-init.php:470
|
94 |
msgid "\"Add to Cart\" button background"
|
95 |
+
msgstr "Sfondo del pulsante\"Aggiungi al carrello\""
|
96 |
|
97 |
# @ yit
|
98 |
#: ../class.yith-wcwl-init.php:471
|
99 |
msgid "\"Add to Cart\" button text"
|
100 |
+
msgstr "Testo del pulsante\"Aggiungi al carrello\""
|
101 |
|
102 |
# @ yit
|
103 |
#: ../class.yith-wcwl-init.php:472
|
104 |
msgid "\"Add to Cart\" button border"
|
105 |
+
msgstr "Bordo del pulsante\"Aggiungi al carrello\""
|
106 |
|
107 |
# @ yit
|
108 |
#: ../class.yith-wcwl-init.php:477
|
142 |
# @ yit
|
143 |
#: ../class.yith-wcwl-init.php:536
|
144 |
msgid "Docs"
|
145 |
+
msgstr "Documenti"
|
146 |
|
147 |
# @ yit
|
148 |
#: ../class.yith-wcwl-init.php:786
|
183 |
# @ yit
|
184 |
#: ../class.yith-wcwl-init.php:802
|
185 |
msgid "Wishlist title"
|
186 |
+
msgstr "Titolo della lista dei desideri"
|
187 |
|
188 |
# @ yit
|
189 |
#: ../class.yith-wcwl-init.php:804 ../class.yith-wcwl-init.php:805
|
204 |
"shortcode [yith_wcwl_add_to_wishlist]."
|
205 |
msgstr ""
|
206 |
"Per i prodotti variabili puoi utilizzare soltanto Dopo \"Aggiungi al Carrello"
|
207 |
+
"\" o utilizzare lo shortcode [yith_wcwl_add_to_wishlist]."
|
208 |
|
209 |
# @ yit
|
210 |
#: ../class.yith-wcwl-init.php:817
|
237 |
"Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
|
238 |
"page."
|
239 |
msgstr ""
|
240 |
+
"Reindirizza al carrello se nella lista dei desideri viene cliccato il "
|
241 |
+
"bottone \"Aggiungi al carrello\" "
|
242 |
|
243 |
# @ yit
|
244 |
#: ../class.yith-wcwl-init.php:833
|
249 |
#: ../class.yith-wcwl-init.php:834
|
250 |
msgid "Remove the product from the wishlist if is been added to the cart."
|
251 |
msgstr ""
|
252 |
+
"Quando un prodotto viene aggiunto al carrello, viene rimosso dalla lista dei "
|
253 |
+
"desideri."
|
254 |
|
255 |
# @ yit
|
256 |
#: ../class.yith-wcwl-init.php:841
|
257 |
msgid "\"Add to Wishlist\" text"
|
258 |
+
msgstr "Testo del pulsante\"Aggiungi alla lista dei desideri\""
|
259 |
|
260 |
# @ yit
|
261 |
#: ../class.yith-wcwl-init.php:843 ../class.yith-wcwl-init.php:844
|
265 |
# @ yit
|
266 |
#: ../class.yith-wcwl-init.php:849
|
267 |
msgid "\"Add to Cart\" text"
|
268 |
+
msgstr "Testo del pulsante\"Aggiungi al carrello\""
|
269 |
|
270 |
# @ yit
|
271 |
#: ../class.yith-wcwl-init.php:851 ../class.yith-wcwl-init.php:852
|
280 |
|
281 |
# @ yit
|
282 |
#: ../class.yith-wcwl-init.php:865
|
|
|
283 |
msgid "Show \"Add to Cart\" button"
|
284 |
+
msgstr "Mostra il pulsante \"Aggiungi al carrello\""
|
285 |
|
286 |
# @ yit
|
287 |
#: ../class.yith-wcwl-init.php:873
|
292 |
# @ yit
|
293 |
#: ../class.yith-wcwl-init.php:888
|
294 |
msgid "Use buttons"
|
295 |
+
msgstr "Usa pulsanti"
|
296 |
|
297 |
# @ yit
|
298 |
#: ../class.yith-wcwl-init.php:889
|
299 |
msgid "Use buttons instead of a simple anchors."
|
300 |
+
msgstr "Utilizza dei pulsanti al posto delle ancore"
|
301 |
|
302 |
# @ yit
|
303 |
#: ../class.yith-wcwl-init.php:896
|
317 |
# @ yit
|
318 |
#: ../class.yith-wcwl-init.php:912
|
319 |
msgid "Buttons rounded corners"
|
320 |
+
msgstr "Pulsanti con bordi arrotondati"
|
321 |
|
322 |
# @ yit
|
323 |
#: ../class.yith-wcwl-init.php:913
|
324 |
msgid "Make buttons corner rounded"
|
325 |
+
msgstr "Arrotonda i bordi dei pulsanti"
|
326 |
|
327 |
# @ yit
|
328 |
#: ../class.yith-wcwl-init.php:920
|
332 |
# @ yit
|
333 |
#: ../class.yith-wcwl-init.php:921
|
334 |
msgid "Add an icon to the \"Add to Wishlist\" button"
|
335 |
+
msgstr "Aggiungi un'icona al pulsante \"Aggiungi alla lista dei desideri\""
|
336 |
|
337 |
# @ yit
|
338 |
#: ../class.yith-wcwl-init.php:932
|
342 |
# @ yit
|
343 |
#: ../class.yith-wcwl-init.php:933
|
344 |
msgid "Add an icon to the \"Add to Cart\" button"
|
345 |
+
msgstr "Aggiunge un'icona al pulsante \"Aggiungi al carrello\""
|
346 |
|
347 |
# @ yit
|
348 |
#: ../class.yith-wcwl-init.php:951
|
362 |
# @ yit
|
363 |
#: ../class.yith-wcwl-init.php:972
|
364 |
msgid "Share on Google+"
|
365 |
+
msgstr "Condividi su Google+"
|
366 |
|
367 |
# @ yit
|
368 |
#: ../class.yith-wcwl-init.php:979
|
381 |
"strong> where you want the URL of your wishlist to appear."
|
382 |
msgstr ""
|
383 |
"Sará utilizzato da Facebook, Twitter e Pinterest. Utilizza <strong>"
|
384 |
+
"%wishlist_url%</strong> dove vuoi che appaia l'URL della lista dei desideri."
|
385 |
|
386 |
# @ yit
|
387 |
#: ../class.yith-wcwl-init.php:996
|
388 |
msgid "Socials image URL"
|
389 |
+
msgstr "URL immagine social"
|
390 |
|
391 |
# @ yit
|
392 |
#: ../class.yith-wcwl-install.php:136
|
403 |
# @ yit
|
404 |
#: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl-ui.php:65
|
405 |
msgid "Browse Wishlist"
|
406 |
+
msgstr "Esplora la lista dei desideri"
|
407 |
|
408 |
# @ yit
|
409 |
#: ../class.yith-wcwl-ui.php:65
|
497 |
|
498 |
#: ../yit-common/yith-panel.php:407
|
499 |
msgid "Hours"
|
500 |
+
msgstr "Ore"
|
501 |
|
502 |
#: ../yit-common/yith-panel.php:408 ../yit-common/yith-panel.php:409
|
503 |
msgid "Minutes"
|
504 |
+
msgstr "Minuti"
|
505 |
|
506 |
#: ../yit-common/yith-panel.php:417
|
507 |
msgid "Upload"
|
508 |
+
msgstr "Carica"
|
509 |
|
510 |
#: ../yit-common/yith-panel.php:444
|
511 |
msgid "px"
|
525 |
|
526 |
#: ../yit-common/yith-panel.php:457
|
527 |
msgid "Select a font family"
|
528 |
+
msgstr "Seleziona Font"
|
529 |
|
530 |
#: ../yit-common/yith-panel.php:465
|
531 |
msgid "Regular"
|
549 |
|
550 |
#: ../yit-common/yith-panel.php:481
|
551 |
msgid "Click to preview"
|
552 |
+
msgstr "Anteprima"
|
languages/yit-pt_BR.mo
ADDED
Binary file
|
languages/yit-pt_BR.po
ADDED
@@ -0,0 +1,388 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YITH WCWL\n"
|
4 |
+
"POT-Creation-Date: 2013-05-21 17:11+0100\n"
|
5 |
+
"PO-Revision-Date: 2013-11-04 11:53+0100\n"
|
6 |
+
"Last-Translator: YIThemes <support@yithemes.com>\n"
|
7 |
+
"Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
|
8 |
+
"Language: English\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.5.5\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;_x\n"
|
14 |
+
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Poedit-SearchPath-0: ..\n"
|
16 |
+
|
17 |
+
#: ../add-to-cart.php:31
|
18 |
+
msgid "View Cart →"
|
19 |
+
msgstr "Ver Carrinho"
|
20 |
+
|
21 |
+
#: ../add-to-cart.php:31
|
22 |
+
msgid "Product successfully added to the cart."
|
23 |
+
msgstr "Produto adicionado ao carrinho."
|
24 |
+
|
25 |
+
#: ../class.yith-wcwl-init.php:105 ../class.yith-wcwl-install.php:137
|
26 |
+
msgid "Wishlist"
|
27 |
+
msgstr "Lista de Desejos"
|
28 |
+
|
29 |
+
#: ../class.yith-wcwl-init.php:335
|
30 |
+
msgid "Cannot add to the cart as product is Out of Stock!"
|
31 |
+
msgstr "Não foi possível adicionar ao carrinho. O produto esta esgotado."
|
32 |
+
|
33 |
+
#: ../class.yith-wcwl-init.php:364
|
34 |
+
msgid "Wishlist Page"
|
35 |
+
msgstr "Meus desejos"
|
36 |
+
|
37 |
+
#: ../class.yith-wcwl-init.php:365
|
38 |
+
msgid "Page contents: [yith_wcwl_wishlist]"
|
39 |
+
msgstr "Conteúdo da página: [yith_wcwl_wishlist]"
|
40 |
+
|
41 |
+
#: ../class.yith-wcwl-init.php:408 ../class.yith-wcwl-init.php:783
|
42 |
+
msgid "General Settings"
|
43 |
+
msgstr "Opções gerais"
|
44 |
+
|
45 |
+
#: ../class.yith-wcwl-init.php:409 ../class.yith-wcwl-init.php:861
|
46 |
+
msgid "Styles"
|
47 |
+
msgstr "Estilos"
|
48 |
+
|
49 |
+
#: ../class.yith-wcwl-init.php:410 ../class.yith-wcwl-init.php:924
|
50 |
+
msgid "Socials & Share"
|
51 |
+
msgstr "Social & Compartilhamento"
|
52 |
+
|
53 |
+
#: ../class.yith-wcwl-init.php:430
|
54 |
+
msgid "Colors"
|
55 |
+
msgstr "Cores"
|
56 |
+
|
57 |
+
#: ../class.yith-wcwl-init.php:457
|
58 |
+
msgid "\"Add to Wishlist\" button background"
|
59 |
+
msgstr "Fundo do botão \"Adicionar aos meus desejos\""
|
60 |
+
|
61 |
+
#: ../class.yith-wcwl-init.php:458
|
62 |
+
msgid "\"Add to Wishlist\" button text"
|
63 |
+
msgstr "Texto do botão \"Adicionar aos meus desejos\""
|
64 |
+
|
65 |
+
#: ../class.yith-wcwl-init.php:459
|
66 |
+
msgid "\"Add to Wishlist\" button border"
|
67 |
+
msgstr "Borda do botão \"Adicionar aos meus desejos\""
|
68 |
+
|
69 |
+
#: ../class.yith-wcwl-init.php:464
|
70 |
+
msgid "\"Add to Wishlist\" button background (hover)"
|
71 |
+
msgstr "Fundo do botão \"Adicionar aos meus desejos\" (Hover)"
|
72 |
+
|
73 |
+
#: ../class.yith-wcwl-init.php:465
|
74 |
+
msgid "\"Add to Wishlist\" button text (hover)"
|
75 |
+
msgstr "Texto do botão \"Adicionar aos meus desejos\" (Hover)"
|
76 |
+
|
77 |
+
#: ../class.yith-wcwl-init.php:466
|
78 |
+
msgid "\"Add to Wishlist\" button border (hover)"
|
79 |
+
msgstr "Borda do botão \"Adicionar aos meus desejos\" (hover)"
|
80 |
+
|
81 |
+
#: ../class.yith-wcwl-init.php:470
|
82 |
+
msgid "\"Add to Cart\" button background"
|
83 |
+
msgstr "Fundo do do botão \"Adicionar ao carrinho \""
|
84 |
+
|
85 |
+
#: ../class.yith-wcwl-init.php:471
|
86 |
+
msgid "\"Add to Cart\" button text"
|
87 |
+
msgstr "Texto do botão \"Adicionar ao carrinho \""
|
88 |
+
|
89 |
+
#: ../class.yith-wcwl-init.php:472
|
90 |
+
msgid "\"Add to Cart\" button border"
|
91 |
+
msgstr "Borda do do botão \"Adicionar ao carrinho \""
|
92 |
+
|
93 |
+
#: ../class.yith-wcwl-init.php:477
|
94 |
+
msgid "\"Add to Cart\" button background (hover)"
|
95 |
+
msgstr "Fundo do botão \"Adicionar ao carrinho \" (hover)"
|
96 |
+
|
97 |
+
#: ../class.yith-wcwl-init.php:478
|
98 |
+
msgid "\"Add to Cart\" button text (hover)"
|
99 |
+
msgstr "Texto do botão \"Adicionar ao carrinho \" (hover)"
|
100 |
+
|
101 |
+
#: ../class.yith-wcwl-init.php:479
|
102 |
+
msgid "\"Add to Cart\" button border (hover)"
|
103 |
+
msgstr "Borda do botão \"Adicionar ao carrinho \" (hover)"
|
104 |
+
|
105 |
+
#: ../class.yith-wcwl-init.php:483
|
106 |
+
msgid "Wishlist table background"
|
107 |
+
msgstr "Fundo da tabela de desejos"
|
108 |
+
|
109 |
+
#: ../class.yith-wcwl-init.php:484
|
110 |
+
msgid "Wishlist table text"
|
111 |
+
msgstr "Texto da tabela de desejos"
|
112 |
+
|
113 |
+
#: ../class.yith-wcwl-init.php:485
|
114 |
+
msgid "Wishlist table border"
|
115 |
+
msgstr "Borda da tabela de desejos"
|
116 |
+
|
117 |
+
#: ../class.yith-wcwl-init.php:535
|
118 |
+
msgid "Settings"
|
119 |
+
msgstr "Configurações"
|
120 |
+
|
121 |
+
#: ../class.yith-wcwl-init.php:536
|
122 |
+
msgid "Docs"
|
123 |
+
msgstr "Documentos"
|
124 |
+
|
125 |
+
#: ../class.yith-wcwl-init.php:786
|
126 |
+
msgid "Enable YITH Wishlist"
|
127 |
+
msgstr "Ativar Lista de Desejos"
|
128 |
+
|
129 |
+
#: ../class.yith-wcwl-init.php:787
|
130 |
+
#, php-format
|
131 |
+
msgid ""
|
132 |
+
"Enable all plugin features. <strong>Be sure that the wishlist page is "
|
133 |
+
"selected in WooCommerce > Settings > Pages.</strong> Also, please read "
|
134 |
+
"the plugin <a href=\"%s\" target=\"_blank\">documentation</a>."
|
135 |
+
msgstr ""
|
136 |
+
"Ativar todas opções. <strong> Saiba que a página de desejos é selecionada na "
|
137 |
+
"seção Páginas. </strong>. <a href=\"%s\" target=\"_blank\">Documentação</a>."
|
138 |
+
|
139 |
+
#: ../class.yith-wcwl-init.php:794
|
140 |
+
msgid "Use cookies"
|
141 |
+
msgstr "Usar cookies"
|
142 |
+
|
143 |
+
#: ../class.yith-wcwl-init.php:795
|
144 |
+
msgid ""
|
145 |
+
"Use cookies instead of sessions. With this feature, the wishlist will be "
|
146 |
+
"available for each not logged user for 30 days. Use the filter "
|
147 |
+
"yith_wcwl_cookie_expiration_time to change the expiration time ( needs "
|
148 |
+
"timestamp )."
|
149 |
+
msgstr ""
|
150 |
+
"Usar cookies ao invés de sessões. Com essa opção, a lista de desejos vai "
|
151 |
+
"estar disponível para todos os usuários não logados por até 30 dias. "
|
152 |
+
|
153 |
+
#: ../class.yith-wcwl-init.php:802
|
154 |
+
msgid "Wishlist title"
|
155 |
+
msgstr "Titulo da lista de desejos"
|
156 |
+
|
157 |
+
#: ../class.yith-wcwl-init.php:804 ../class.yith-wcwl-init.php:805
|
158 |
+
#: ../class.yith-wcwl-init.php:957 ../class.yith-wcwl-init.php:958
|
159 |
+
#, php-format
|
160 |
+
msgid "My wishlist on %s"
|
161 |
+
msgstr "Minha lista de desejos em %s"
|
162 |
+
|
163 |
+
#: ../class.yith-wcwl-init.php:810
|
164 |
+
msgid "Position"
|
165 |
+
msgstr "Posição"
|
166 |
+
|
167 |
+
#: ../class.yith-wcwl-init.php:811
|
168 |
+
msgid ""
|
169 |
+
"On variable products you can add it only After \"Add to Cart\" or use the "
|
170 |
+
"shortcode [yith_wcwl_add_to_wishlist]."
|
171 |
+
msgstr ""
|
172 |
+
"Em produtos variáveis você pode adicionar isto somenteapós \"Adcionar ao "
|
173 |
+
"Carrinho\" ou usar o shortcode [yith_wcwl_add_to_wishlist]."
|
174 |
+
|
175 |
+
#: ../class.yith-wcwl-init.php:817
|
176 |
+
msgid "After \"Add to cart\""
|
177 |
+
msgstr "Após \" Adicionar ao carrinho \""
|
178 |
+
|
179 |
+
#: ../class.yith-wcwl-init.php:818
|
180 |
+
msgid "After thumbnails"
|
181 |
+
msgstr "Após miniaturas"
|
182 |
+
|
183 |
+
#: ../class.yith-wcwl-init.php:819
|
184 |
+
msgid "After summary"
|
185 |
+
msgstr "Após sumário"
|
186 |
+
|
187 |
+
#: ../class.yith-wcwl-init.php:820
|
188 |
+
msgid "Use shortcode"
|
189 |
+
msgstr "Usar shortcode"
|
190 |
+
|
191 |
+
#: ../class.yith-wcwl-init.php:825
|
192 |
+
msgid "Redirect to cart"
|
193 |
+
msgstr "Redirecionar para o carrinho"
|
194 |
+
|
195 |
+
#: ../class.yith-wcwl-init.php:826
|
196 |
+
msgid ""
|
197 |
+
"Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
|
198 |
+
"page."
|
199 |
+
msgstr ""
|
200 |
+
"Redirecionar para a página de carrinho se o botão \" Adcionar ao carrinho \" "
|
201 |
+
"estiver clicado na página de lista de desejos."
|
202 |
+
|
203 |
+
#: ../class.yith-wcwl-init.php:833
|
204 |
+
msgid "Remove if added to the cart"
|
205 |
+
msgstr "Remover se adcionado ao carrinho"
|
206 |
+
|
207 |
+
#: ../class.yith-wcwl-init.php:834
|
208 |
+
msgid "Remove the product from the wishlist if is been added to the cart."
|
209 |
+
msgstr ""
|
210 |
+
"Remover o produto da lista, se a mesma tiver sido adicionada ao carrinho."
|
211 |
+
|
212 |
+
#: ../class.yith-wcwl-init.php:841
|
213 |
+
msgid "\"Add to Wishlist\" text"
|
214 |
+
msgstr "Texto \" Adcionar a Lista de Desejos\""
|
215 |
+
|
216 |
+
#: ../class.yith-wcwl-init.php:843 ../class.yith-wcwl-init.php:844
|
217 |
+
msgid "Add to Wishlist"
|
218 |
+
msgstr "Adicionar aos meus desejos"
|
219 |
+
|
220 |
+
#: ../class.yith-wcwl-init.php:849
|
221 |
+
msgid "\"Add to Cart\" text"
|
222 |
+
msgstr "Texto \" Adicionar ao Carrinho\""
|
223 |
+
|
224 |
+
#: ../class.yith-wcwl-init.php:851 ../class.yith-wcwl-init.php:852
|
225 |
+
msgid "Add to Cart"
|
226 |
+
msgstr "Adcionar ao Carrinho"
|
227 |
+
|
228 |
+
#: ../class.yith-wcwl-init.php:864
|
229 |
+
msgid "Use buttons"
|
230 |
+
msgstr "Usar botões"
|
231 |
+
|
232 |
+
#: ../class.yith-wcwl-init.php:865
|
233 |
+
msgid "Use buttons instead of a simple anchors."
|
234 |
+
msgstr "Usar botões ao invés de simples âncoras."
|
235 |
+
|
236 |
+
#: ../class.yith-wcwl-init.php:872
|
237 |
+
msgid "Custom CSS"
|
238 |
+
msgstr "CSS Customizado"
|
239 |
+
|
240 |
+
#: ../class.yith-wcwl-init.php:880
|
241 |
+
msgid "Use theme style"
|
242 |
+
msgstr "Usar estilo do tema"
|
243 |
+
|
244 |
+
#: ../class.yith-wcwl-init.php:881
|
245 |
+
msgid "Use the theme style."
|
246 |
+
msgstr "Usar o estilo do tema."
|
247 |
+
|
248 |
+
#: ../class.yith-wcwl-init.php:888
|
249 |
+
msgid "Buttons rounded corners"
|
250 |
+
msgstr "Botões com cantos arredondados"
|
251 |
+
|
252 |
+
#: ../class.yith-wcwl-init.php:889
|
253 |
+
msgid "Make buttons corner rounded"
|
254 |
+
msgstr "Faça botões do canto arredondado"
|
255 |
+
|
256 |
+
#: ../class.yith-wcwl-init.php:896
|
257 |
+
msgid "\"Add to Wishlist\" icon"
|
258 |
+
msgstr "Ícone \"Adcionar aos meus desejos\" "
|
259 |
+
|
260 |
+
#: ../class.yith-wcwl-init.php:897
|
261 |
+
msgid "Add an icon to the \"Add to Wishlist\" button"
|
262 |
+
msgstr "Adicionar um ícone ao botão \"Adcionar aos meus desejos\""
|
263 |
+
|
264 |
+
#: ../class.yith-wcwl-init.php:908
|
265 |
+
msgid "\"Add to Cart\" icon"
|
266 |
+
msgstr "Ícone \"Adicionar ao Carrinho\""
|
267 |
+
|
268 |
+
#: ../class.yith-wcwl-init.php:909
|
269 |
+
msgid "Add an icon to the \"Add to Cart\" button"
|
270 |
+
msgstr "Adicionar um ícone ao botão \"Adcionar ao carrinho\""
|
271 |
+
|
272 |
+
#: ../class.yith-wcwl-init.php:927
|
273 |
+
msgid "Share on Facebook"
|
274 |
+
msgstr "Compartilhar no Facebook"
|
275 |
+
|
276 |
+
#: ../class.yith-wcwl-init.php:934
|
277 |
+
msgid "Tweet on Twitter"
|
278 |
+
msgstr "Tweetar no Twitter"
|
279 |
+
|
280 |
+
#: ../class.yith-wcwl-init.php:941
|
281 |
+
msgid "Pin on Pinterest"
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: ../class.yith-wcwl-init.php:948
|
285 |
+
msgid "Share on Google+"
|
286 |
+
msgstr "Comparilhar no Google+"
|
287 |
+
|
288 |
+
#: ../class.yith-wcwl-init.php:955
|
289 |
+
msgid "Socials title"
|
290 |
+
msgstr "Título Mídias Sociais"
|
291 |
+
|
292 |
+
#: ../class.yith-wcwl-init.php:963
|
293 |
+
msgid "Socials text"
|
294 |
+
msgstr "Texto Mídias Sociais"
|
295 |
+
|
296 |
+
#: ../class.yith-wcwl-init.php:964
|
297 |
+
msgid ""
|
298 |
+
"Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</"
|
299 |
+
"strong> where you want the URL of your wishlist to appear."
|
300 |
+
msgstr ""
|
301 |
+
"Vai ser usado por Facebook, Twitter e Pinterest. Use <strong>%wishlist_url%</"
|
302 |
+
"strong> "
|
303 |
+
|
304 |
+
#: ../class.yith-wcwl-init.php:972
|
305 |
+
msgid "Socials image URL"
|
306 |
+
msgstr "Url para compartilhamento"
|
307 |
+
|
308 |
+
#: ../class.yith-wcwl-install.php:136
|
309 |
+
msgid "wishlist"
|
310 |
+
msgstr "lista de desejos"
|
311 |
+
|
312 |
+
#: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl.php:351
|
313 |
+
#: ../yith-wcwl-ajax.php:47
|
314 |
+
msgid "Product added!"
|
315 |
+
msgstr "Produto adicionado!"
|
316 |
+
|
317 |
+
#: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl-ui.php:65
|
318 |
+
msgid "Browse Wishlist"
|
319 |
+
msgstr "Veja sua lista de desejos!"
|
320 |
+
|
321 |
+
#: ../class.yith-wcwl-ui.php:65
|
322 |
+
msgid "The product is already in the wishlist!"
|
323 |
+
msgstr "Esse produto já se encontra na sua lista de desejos!"
|
324 |
+
|
325 |
+
#: ../class.yith-wcwl-ui.php:93
|
326 |
+
msgid "Select options"
|
327 |
+
msgstr "Selecione as opções"
|
328 |
+
|
329 |
+
#: ../class.yith-wcwl-ui.php:136
|
330 |
+
msgid "Share on:"
|
331 |
+
msgstr "Compartilhar em:"
|
332 |
+
|
333 |
+
#: ../class.yith-wcwl-ui.php:140
|
334 |
+
msgid "Facebook"
|
335 |
+
msgstr "Facebook"
|
336 |
+
|
337 |
+
#: ../class.yith-wcwl-ui.php:143
|
338 |
+
msgid "Twitter"
|
339 |
+
msgstr "Twitter"
|
340 |
+
|
341 |
+
#: ../class.yith-wcwl.php:140
|
342 |
+
msgid "Error occurred while adding product to wishlist."
|
343 |
+
msgstr "Oops! Ocorreu um erro ao adicionar o produto à lista de desejos."
|
344 |
+
|
345 |
+
#: ../class.yith-wcwl.php:162
|
346 |
+
msgid "Error occurred while removing product from wishlist"
|
347 |
+
msgstr "Oops! Ocorreu um erro ao remover o produto à lista de desejos."
|
348 |
+
|
349 |
+
#: ../class.yith-wcwl.php:353 ../yith-wcwl-ajax.php:49
|
350 |
+
msgid "Product already in the wishlist."
|
351 |
+
msgstr "Produto já na lista de desejos."
|
352 |
+
|
353 |
+
#: ../class.yith-wcwl.php:370 ../yith-wcwl-ajax.php:30
|
354 |
+
msgid "Product successfully removed."
|
355 |
+
msgstr "Produto removida com sucesso."
|
356 |
+
|
357 |
+
#: ../class.yith-wcwl.php:373 ../yith-wcwl-ajax.php:33
|
358 |
+
msgid "Error. Unable to remove the product from the wishlist."
|
359 |
+
msgstr "Erro. Não foi possível remover o produto da lista de desejos."
|
360 |
+
|
361 |
+
#: ../class.yith-wcwl.php:377 ../yith-wcwl-ajax.php:37
|
362 |
+
#: ../templates/wishlist.php:139
|
363 |
+
msgid "No products were added to the wishlist"
|
364 |
+
msgstr "Nenhum produto foi adicionado à lista de desejos"
|
365 |
+
|
366 |
+
#: ../templates/wishlist.php:75
|
367 |
+
msgid "Product Name"
|
368 |
+
msgstr "Nome do Produto"
|
369 |
+
|
370 |
+
#: ../templates/wishlist.php:76
|
371 |
+
msgid "Unit Price"
|
372 |
+
msgstr "Preço unitário"
|
373 |
+
|
374 |
+
#: ../templates/wishlist.php:77
|
375 |
+
msgid "Stock Status"
|
376 |
+
msgstr "Status do estoque"
|
377 |
+
|
378 |
+
#: ../templates/wishlist.php:99
|
379 |
+
msgid "Remove this product"
|
380 |
+
msgstr "Remover este produto"
|
381 |
+
|
382 |
+
#: ../templates/wishlist.php:123
|
383 |
+
msgid "Out of Stock"
|
384 |
+
msgstr "Sem estoque"
|
385 |
+
|
386 |
+
#: ../templates/wishlist.php:126
|
387 |
+
msgid "In Stock"
|
388 |
+
msgstr "Em estoque"
|
templates/share.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
global $yith_wcwl;
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
global $yith_wcwl;
|
templates/wishlist.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
global $wpdb, $yith_wcwl, $woocommerce;
|
@@ -54,7 +54,12 @@ else
|
|
54 |
{ $wishlist = isset( $_SESSION['yith_wcwl_products'] ) ? $_SESSION['yith_wcwl_products'] : array(); }
|
55 |
|
56 |
// Start wishlist page printing
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
58 |
<div id="yith-wcwl-messages"></div>
|
59 |
|
60 |
<form id="yith-wcwl-form" action="<?php echo esc_url( $yith_wcwl->get_wishlist_url() ) ?>" method="post">
|
@@ -109,10 +114,12 @@ $woocommerce->show_messages() ?>
|
|
109 |
<td class="product-price">
|
110 |
<?php
|
111 |
if( $product_obj->price != '0' ) {
|
|
|
|
|
112 |
if( get_option( 'woocommerce_tax_display_cart' ) == 'excl' )
|
113 |
-
{ echo apply_filters( 'woocommerce_cart_item_price_html',
|
114 |
else
|
115 |
-
{ echo apply_filters( 'woocommerce_cart_item_price_html',
|
116 |
} else {
|
117 |
echo apply_filters( 'yith_free_text', __( 'Free!', 'yit' ) );
|
118 |
}
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
global $wpdb, $yith_wcwl, $woocommerce;
|
54 |
{ $wishlist = isset( $_SESSION['yith_wcwl_products'] ) ? $_SESSION['yith_wcwl_products'] : array(); }
|
55 |
|
56 |
// Start wishlist page printing
|
57 |
+
if( function_exists('wc_print_notices') ) {
|
58 |
+
wc_print_notices();
|
59 |
+
}else{
|
60 |
+
$woocommerce->show_messages();
|
61 |
+
}
|
62 |
+
?>
|
63 |
<div id="yith-wcwl-messages"></div>
|
64 |
|
65 |
<form id="yith-wcwl-form" action="<?php echo esc_url( $yith_wcwl->get_wishlist_url() ) ?>" method="post">
|
114 |
<td class="product-price">
|
115 |
<?php
|
116 |
if( $product_obj->price != '0' ) {
|
117 |
+
$wc_price = function_exists('wc_price') ? 'wc_price' : 'woocommerce_price';
|
118 |
+
|
119 |
if( get_option( 'woocommerce_tax_display_cart' ) == 'excl' )
|
120 |
+
{ echo apply_filters( 'woocommerce_cart_item_price_html', $wc_price( $product_obj->get_price_excluding_tax() ), $values, '' ); }
|
121 |
else
|
122 |
+
{ echo apply_filters( 'woocommerce_cart_item_price_html', $wc_price( $product_obj->get_price() ), $values, '' ); }
|
123 |
} else {
|
124 |
echo apply_filters( 'yith_free_text', __( 'Free!', 'yit' ) );
|
125 |
}
|
uninstall.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
// If uninstall not called from WordPress exit
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
// If uninstall not called from WordPress exit
|
yith-wcwl-ajax.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YIHT WooCommerce Wishlist
|
7 |
-
* @version 1.0
|
8 |
*/
|
9 |
|
10 |
/**
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YIHT WooCommerce Wishlist
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
/**
|