YITH WooCommerce Zoom Magnifier - Version 1.0.5

Version Description

  • Fixed: magnifier override the plugin for featured video
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Zoom Magnifier
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: zoom, magnifier, woocommerce, products, themes, yit, e-commerce, shop
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
- Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -69,6 +69,10 @@ The size of the Zoom Image is automatically setted. If you want to change these
69
 
70
  == Changelog ==
71
 
 
 
 
 
72
  = 1.0.4 =
73
 
74
  * Minor bugs fixes
4
  Tags: zoom, magnifier, woocommerce, products, themes, yit, e-commerce, shop
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
69
 
70
  == Changelog ==
71
 
72
+ = 1.0.5 =
73
+
74
+ * Fixed: magnifier override the plugin for featured video
75
+
76
  = 1.0.4 =
77
 
78
  * Minor bugs fixes
assets/js/frontend.js CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Zoom Magnifier
6
- * @version 1.0.4
7
  */
8
  jQuery(document).ready(function($){
9
 
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Zoom Magnifier
6
+ * @version 1.0.5
7
  */
8
  jQuery(document).ready(function($){
9
 
assets/js/frontend.min.js CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Zoom Magnifier
6
- * @version 1.0.4
7
  */
8
  jQuery(document).ready(function(b){var a=b(".images"),d=b(".yith_magnifier_zoom"),f=b(".yith_magnifier_zoom img"),e=a.find(".yith_magnifier_zoom").attr("href"),g=a.find(".yith_magnifier_zoom img").attr("src");a.yith_magnifier(yith_magnifier_options);b("form.variations_form").on("found_variation",function(b,c){var h=c.image_src?c.image_src:g;d.attr("href",c.image_magnifier?c.image_magnifier:e);f.attr("src",h);a.data("yith_magnifier")&&a.yith_magnifier("destroy");a.yith_magnifier(yith_magnifier_options)}).on("reset_image",
9
  function(){d.attr("href",e);a.data("yith_magnifier")&&a.yith_magnifier("destroy");a.yith_magnifier(yith_magnifier_options)});b("form.variations_form .variations select").trigger("change")});
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Zoom Magnifier
6
+ * @version 1.0.5
7
  */
8
  jQuery(document).ready(function(b){var a=b(".images"),d=b(".yith_magnifier_zoom"),f=b(".yith_magnifier_zoom img"),e=a.find(".yith_magnifier_zoom").attr("href"),g=a.find(".yith_magnifier_zoom img").attr("src");a.yith_magnifier(yith_magnifier_options);b("form.variations_form").on("found_variation",function(b,c){var h=c.image_src?c.image_src:g;d.attr("href",c.image_magnifier?c.image_magnifier:e);f.attr("src",h);a.data("yith_magnifier")&&a.yith_magnifier("destroy");a.yith_magnifier(yith_magnifier_options)}).on("reset_image",
9
  function(){d.attr("href",e);a.data("yith_magnifier")&&a.yith_magnifier("destroy");a.yith_magnifier(yith_magnifier_options)});b("form.variations_form .variations select").trigger("change")});
class.yith-wcmg-admin.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
- * @version 1.0.4
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
+ * @version 1.0.5
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
class.yith-wcmg-frontend.php CHANGED
@@ -1,10 +1,10 @@
1
- <?php
2
  /**
3
  * Frontend class
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
- * @version 1.0.4
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
@@ -34,20 +34,25 @@ if( !class_exists( 'YITH_WCMG_Frontend' ) ) {
34
  public function __construct( $version ) {
35
  $this->version = $version;
36
 
37
- if( yith_wcmg_is_enabled() ) {
38
- //change the templates
39
- remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
40
- remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 );
41
- add_action( 'woocommerce_before_single_product_summary', array($this, 'show_product_images'), 20 );
42
- add_action( 'woocommerce_product_thumbnails', array($this, 'show_product_thumbnails'), 20 );
43
-
44
- //custom styles and javascripts
45
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
46
-
47
- //add attributes to product variations
48
- add_filter( 'woocommerce_available_variation', array( $this, 'available_variation' ), 10, 3);
49
- }
50
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
 
53
  /**
@@ -106,11 +111,27 @@ if( !class_exists( 'YITH_WCMG_Frontend' ) ) {
106
  * @since 1.0.0
107
  */
108
  public function available_variation( $data, $wc_prod, $variation ) {
 
109
  $attachment_id = get_post_thumbnail_id( $variation->get_variation_id() );
110
  $attachment = wp_get_attachment_image_src( $attachment_id, 'shop_magnifier' );
111
 
112
  $data['image_magnifier'] = $attachment ? current( $attachment ) : '';
113
  return $data;
114
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  }
116
  }
1
+ <?php
2
  /**
3
  * Frontend class
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
+ * @version 1.0.5
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
34
  public function __construct( $version ) {
35
  $this->version = $version;
36
 
37
+ // add the action only when the loop is initializate
38
+ add_action( 'template_redirect', array( $this, 'render' ) );
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
+
41
+ public function render() {
42
+ if( yith_wcmg_is_enabled() && ! $this->is_video_featured_enabled() ) {
43
+ //change the templates
44
+ remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
45
+ remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 );
46
+ add_action( 'woocommerce_before_single_product_summary', array($this, 'show_product_images'), 20 );
47
+ add_action( 'woocommerce_product_thumbnails', array($this, 'show_product_thumbnails'), 20 );
48
+
49
+ //custom styles and javascripts
50
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
51
+
52
+ //add attributes to product variations
53
+ add_filter( 'woocommerce_available_variation', array( $this, 'available_variation' ), 10, 3);
54
+ }
55
+ }
56
 
57
 
58
  /**
111
  * @since 1.0.0
112
  */
113
  public function available_variation( $data, $wc_prod, $variation ) {
114
+
115
  $attachment_id = get_post_thumbnail_id( $variation->get_variation_id() );
116
  $attachment = wp_get_attachment_image_src( $attachment_id, 'shop_magnifier' );
117
 
118
  $data['image_magnifier'] = $attachment ? current( $attachment ) : '';
119
  return $data;
120
  }
121
+
122
+ /**
123
+ * Detect if the featured video is enabled
124
+ */
125
+ public function is_video_featured_enabled() {
126
+ global $post;
127
+ if ( ! isset( $post->ID ) ) return;
128
+
129
+ $featured_video = get_post_meta( $post->ID, '_video_url', true );
130
+ if ( ! empty( $featured_video ) ) {
131
+ return true;
132
+ } else {
133
+ return false;
134
+ }
135
+ }
136
  }
137
  }
class.yith-wcmg.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
- * @version 1.0.4
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
@@ -22,7 +22,7 @@ if( !class_exists( 'YITH_WCMG' ) ) {
22
  * @var string
23
  * @since 1.0.0
24
  */
25
- public $version = '1.0.4';
26
 
27
  /**
28
  * Plugin object
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
+ * @version 1.0.5
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
22
  * @var string
23
  * @since 1.0.0
24
  */
25
+ public $version = '1.0.5';
26
 
27
  /**
28
  * Plugin object
functions.yith-wcmg.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
- * @version 1.0.4
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
+ * @version 1.0.5
8
  */
9
 
10
  if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images.
6
- * Version: 1.0.4
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 Magnifier
14
- * @version 1.0.4
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images.
6
+ * Version: 1.0.5
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 Magnifier
14
+ * @version 1.0.5
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
languages/default.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Magnifier v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-05-17 18:04+0100\n"
6
- "PO-Revision-Date: 2013-05-17 18:04+0100\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: en_US\n"
@@ -35,7 +35,7 @@ msgid "The size of images used within the magnifier box"
35
  msgstr ""
36
 
37
  # @ yit
38
- #: class.yith-wcmg-admin.php:168 class.yith-wcmg-admin.php:206
39
  msgid "General Settings"
40
  msgstr ""
41
 
@@ -45,22 +45,22 @@ msgid "Slider"
45
  msgstr ""
46
 
47
  # @ yit
48
- #: class.yith-wcmg-admin.php:213
49
  msgid "Enable YITH Magnifier"
50
  msgstr ""
51
 
52
  # @ yit
53
- #: class.yith-wcmg-admin.php:214
54
  msgid "Enable the plugin or use the Woocommerce default product image."
55
  msgstr ""
56
 
57
  # @ yit
58
- #: class.yith-wcmg-admin.php:222
59
  msgid "Forcing Zoom Image sizes"
60
  msgstr ""
61
 
62
  # @ yit
63
- #: class.yith-wcmg-admin.php:223
64
  msgid ""
65
  "If disabled, you will able to customize the sizes of Zoom Images. Please "
66
  "disable at your own risk; the magnifier should not properly work with "
@@ -68,155 +68,215 @@ msgid ""
68
  msgstr ""
69
 
70
  # @ yit
71
- #: class.yith-wcmg-admin.php:234
72
  msgid "Magnifier Settings"
73
  msgstr ""
74
 
75
  # @ yit
76
- #: class.yith-wcmg-admin.php:241
77
  msgid "Zoom Area Width"
78
  msgstr ""
79
 
80
- #: class.yith-wcmg-admin.php:242
81
  msgid "The width of magnifier box (default: auto)"
82
  msgstr ""
83
 
84
  # @ yit
85
- #: class.yith-wcmg-admin.php:250
86
  msgid "Zoom Area Height"
87
  msgstr ""
88
 
89
- #: class.yith-wcmg-admin.php:251
90
  msgid "The height of magnifier box (default: auto)"
91
  msgstr ""
92
 
93
  # @ yit
94
- #: class.yith-wcmg-admin.php:259
95
  msgid "Zoom Area Position"
96
  msgstr ""
97
 
98
  # @ yit
99
- #: class.yith-wcmg-admin.php:260
100
  msgid "The magnifier position"
101
  msgstr ""
102
 
103
  # @ yit
104
- #: class.yith-wcmg-admin.php:266
105
  msgid "Right"
106
  msgstr ""
107
 
108
  # @ yit
109
- #: class.yith-wcmg-admin.php:267 class.yith-wcmg-admin.php:280
110
  msgid "Inside"
111
  msgstr ""
112
 
113
  # @ yit
114
- #: class.yith-wcmg-admin.php:272
115
  msgid "Zoom Area Mobile Position"
116
  msgstr ""
117
 
118
  # @ yit
119
- #: class.yith-wcmg-admin.php:273
120
  msgid "The magnifier position with mobile devices (iPhone, Android, etc.)"
121
  msgstr ""
122
 
123
  # @ yit
124
- #: class.yith-wcmg-admin.php:279
125
  msgid "Default"
126
  msgstr ""
127
 
128
  # @ yit
129
- #: class.yith-wcmg-admin.php:281
130
  msgid "Disable"
131
  msgstr ""
132
 
133
  # @ yit
134
- #: class.yith-wcmg-admin.php:286
135
  msgid "Loading label"
136
  msgstr ""
137
 
138
  # @ yit
139
- #: class.yith-wcmg-admin.php:289 class.yith-wcmg-admin.php:290
140
  msgid "Loading..."
141
  msgstr ""
142
 
143
  # @ yit
144
- #: class.yith-wcmg-admin.php:316
145
  msgid "Lens Opacity"
146
  msgstr ""
147
 
148
  # @ yit
149
- #: class.yith-wcmg-admin.php:340
150
  msgid "Blur"
151
  msgstr ""
152
 
153
  # @ yit
154
- #: class.yith-wcmg-admin.php:341
155
  msgid "Add a blur effect to the small image on mouse hover."
156
  msgstr ""
157
 
158
  # @ yit
159
- #: class.yith-wcmg-admin.php:352
160
  msgid "Slider Settings"
161
  msgstr ""
162
 
163
  # @ yit
164
- #: class.yith-wcmg-admin.php:359
165
  msgid "Enable Slider"
166
  msgstr ""
167
 
168
  # @ yit
169
- #: class.yith-wcmg-admin.php:360
170
  msgid "Enable Thumbnail slider."
171
  msgstr ""
172
 
173
- #: class.yith-wcmg-admin.php:368
174
  msgid "Enable Slider Responsive"
175
  msgstr ""
176
 
177
- #: class.yith-wcmg-admin.php:369
178
  msgid ""
179
  "The option fits the thumbnails within the available space. Disable it if you "
180
  "want to manage by yourself the thumbnails (eg. add margins, paddings, etc.)"
181
  msgstr ""
182
 
183
  # @ yit
184
- #: class.yith-wcmg-admin.php:377
185
  msgid "Items"
186
  msgstr ""
187
 
188
  # @ yit
189
- #: class.yith-wcmg-admin.php:378
190
  msgid "Number of items to show"
191
  msgstr ""
192
 
193
  # @ yit
194
- #: class.yith-wcmg-admin.php:389
195
  msgid "Circular carousel"
196
  msgstr ""
197
 
198
  # @ yit
199
- #: class.yith-wcmg-admin.php:390
200
  msgid "Determines whether the carousel should be circular."
201
  msgstr ""
202
 
203
  # @ yit
204
- #: class.yith-wcmg-admin.php:398
205
  msgid "Infinite carousel"
206
  msgstr ""
207
 
208
  # @ yit
209
- #: class.yith-wcmg-admin.php:399
210
  msgid ""
211
  "Determines whether the carousel should be infinite. Note: It is possible to "
212
  "create a non-circular, infinite carousel, but it is not possible to create a "
213
  "circular, non-infinite carousel."
214
  msgstr ""
215
 
216
- #: class.yith-wcmg-admin.php:626
217
  msgid "Settings"
218
  msgstr ""
219
 
220
- #: class.yith-wcmg-admin.php:627
221
  msgid "Docs"
222
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Magnifier v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-09-04 16:18+0100\n"
6
+ "PO-Revision-Date: 2013-09-04 16:18+0100\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: en_US\n"
35
  msgstr ""
36
 
37
  # @ yit
38
+ #: class.yith-wcmg-admin.php:168 class.yith-wcmg-admin.php:208
39
  msgid "General Settings"
40
  msgstr ""
41
 
45
  msgstr ""
46
 
47
  # @ yit
48
+ #: class.yith-wcmg-admin.php:215
49
  msgid "Enable YITH Magnifier"
50
  msgstr ""
51
 
52
  # @ yit
53
+ #: class.yith-wcmg-admin.php:216
54
  msgid "Enable the plugin or use the Woocommerce default product image."
55
  msgstr ""
56
 
57
  # @ yit
58
+ #: class.yith-wcmg-admin.php:224
59
  msgid "Forcing Zoom Image sizes"
60
  msgstr ""
61
 
62
  # @ yit
63
+ #: class.yith-wcmg-admin.php:225
64
  msgid ""
65
  "If disabled, you will able to customize the sizes of Zoom Images. Please "
66
  "disable at your own risk; the magnifier should not properly work with "
68
  msgstr ""
69
 
70
  # @ yit
71
+ #: class.yith-wcmg-admin.php:236
72
  msgid "Magnifier Settings"
73
  msgstr ""
74
 
75
  # @ yit
76
+ #: class.yith-wcmg-admin.php:243
77
  msgid "Zoom Area Width"
78
  msgstr ""
79
 
80
+ #: class.yith-wcmg-admin.php:244
81
  msgid "The width of magnifier box (default: auto)"
82
  msgstr ""
83
 
84
  # @ yit
85
+ #: class.yith-wcmg-admin.php:252
86
  msgid "Zoom Area Height"
87
  msgstr ""
88
 
89
+ #: class.yith-wcmg-admin.php:253
90
  msgid "The height of magnifier box (default: auto)"
91
  msgstr ""
92
 
93
  # @ yit
94
+ #: class.yith-wcmg-admin.php:261
95
  msgid "Zoom Area Position"
96
  msgstr ""
97
 
98
  # @ yit
99
+ #: class.yith-wcmg-admin.php:262
100
  msgid "The magnifier position"
101
  msgstr ""
102
 
103
  # @ yit
104
+ #: class.yith-wcmg-admin.php:268
105
  msgid "Right"
106
  msgstr ""
107
 
108
  # @ yit
109
+ #: class.yith-wcmg-admin.php:269 class.yith-wcmg-admin.php:282
110
  msgid "Inside"
111
  msgstr ""
112
 
113
  # @ yit
114
+ #: class.yith-wcmg-admin.php:274
115
  msgid "Zoom Area Mobile Position"
116
  msgstr ""
117
 
118
  # @ yit
119
+ #: class.yith-wcmg-admin.php:275
120
  msgid "The magnifier position with mobile devices (iPhone, Android, etc.)"
121
  msgstr ""
122
 
123
  # @ yit
124
+ #: class.yith-wcmg-admin.php:281
125
  msgid "Default"
126
  msgstr ""
127
 
128
  # @ yit
129
+ #: class.yith-wcmg-admin.php:283
130
  msgid "Disable"
131
  msgstr ""
132
 
133
  # @ yit
134
+ #: class.yith-wcmg-admin.php:288
135
  msgid "Loading label"
136
  msgstr ""
137
 
138
  # @ yit
139
+ #: class.yith-wcmg-admin.php:291 class.yith-wcmg-admin.php:292
140
  msgid "Loading..."
141
  msgstr ""
142
 
143
  # @ yit
144
+ #: class.yith-wcmg-admin.php:318
145
  msgid "Lens Opacity"
146
  msgstr ""
147
 
148
  # @ yit
149
+ #: class.yith-wcmg-admin.php:342
150
  msgid "Blur"
151
  msgstr ""
152
 
153
  # @ yit
154
+ #: class.yith-wcmg-admin.php:343
155
  msgid "Add a blur effect to the small image on mouse hover."
156
  msgstr ""
157
 
158
  # @ yit
159
+ #: class.yith-wcmg-admin.php:354
160
  msgid "Slider Settings"
161
  msgstr ""
162
 
163
  # @ yit
164
+ #: class.yith-wcmg-admin.php:361
165
  msgid "Enable Slider"
166
  msgstr ""
167
 
168
  # @ yit
169
+ #: class.yith-wcmg-admin.php:362
170
  msgid "Enable Thumbnail slider."
171
  msgstr ""
172
 
173
+ #: class.yith-wcmg-admin.php:370
174
  msgid "Enable Slider Responsive"
175
  msgstr ""
176
 
177
+ #: class.yith-wcmg-admin.php:371
178
  msgid ""
179
  "The option fits the thumbnails within the available space. Disable it if you "
180
  "want to manage by yourself the thumbnails (eg. add margins, paddings, etc.)"
181
  msgstr ""
182
 
183
  # @ yit
184
+ #: class.yith-wcmg-admin.php:379
185
  msgid "Items"
186
  msgstr ""
187
 
188
  # @ yit
189
+ #: class.yith-wcmg-admin.php:380
190
  msgid "Number of items to show"
191
  msgstr ""
192
 
193
  # @ yit
194
+ #: class.yith-wcmg-admin.php:391
195
  msgid "Circular carousel"
196
  msgstr ""
197
 
198
  # @ yit
199
+ #: class.yith-wcmg-admin.php:392
200
  msgid "Determines whether the carousel should be circular."
201
  msgstr ""
202
 
203
  # @ yit
204
+ #: class.yith-wcmg-admin.php:400
205
  msgid "Infinite carousel"
206
  msgstr ""
207
 
208
  # @ yit
209
+ #: class.yith-wcmg-admin.php:401
210
  msgid ""
211
  "Determines whether the carousel should be infinite. Note: It is possible to "
212
  "create a non-circular, infinite carousel, but it is not possible to create a "
213
  "circular, non-infinite carousel."
214
  msgstr ""
215
 
216
+ #: class.yith-wcmg-admin.php:628
217
  msgid "Settings"
218
  msgstr ""
219
 
220
+ #: class.yith-wcmg-admin.php:629
221
  msgid "Docs"
222
  msgstr ""
223
+
224
+ #: yit-common/yith-panel.php:406
225
+ msgid "Select a date"
226
+ msgstr ""
227
+
228
+ #: yit-common/yith-panel.php:407
229
+ msgid "Hours"
230
+ msgstr ""
231
+
232
+ #: yit-common/yith-panel.php:408 yit-common/yith-panel.php:409
233
+ msgid "Minutes"
234
+ msgstr ""
235
+
236
+ #: yit-common/yith-panel.php:417
237
+ msgid "Upload"
238
+ msgstr ""
239
+
240
+ #: yit-common/yith-panel.php:444
241
+ msgid "px"
242
+ msgstr ""
243
+
244
+ #: yit-common/yith-panel.php:445
245
+ msgid "em"
246
+ msgstr ""
247
+
248
+ #: yit-common/yith-panel.php:446
249
+ msgid "pt"
250
+ msgstr ""
251
+
252
+ #: yit-common/yith-panel.php:447
253
+ msgid "rem"
254
+ msgstr ""
255
+
256
+ #: yit-common/yith-panel.php:457
257
+ msgid "Select a font family"
258
+ msgstr ""
259
+
260
+ #: yit-common/yith-panel.php:465
261
+ msgid "Regular"
262
+ msgstr ""
263
+
264
+ #: yit-common/yith-panel.php:466
265
+ msgid "Bold"
266
+ msgstr ""
267
+
268
+ #: yit-common/yith-panel.php:467
269
+ msgid "Extra bold"
270
+ msgstr ""
271
+
272
+ #: yit-common/yith-panel.php:468
273
+ msgid "Italic"
274
+ msgstr ""
275
+
276
+ #: yit-common/yith-panel.php:469
277
+ msgid "Italic bold"
278
+ msgstr ""
279
+
280
+ #: yit-common/yith-panel.php:481
281
+ msgid "Click to preview"
282
+ msgstr ""
languages/yit-it_IT.mo CHANGED
Binary file
languages/yit-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Magnifier v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-05-17 18:04+0100\n"
6
- "PO-Revision-Date: 2013-05-17 18:06+0100\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
@@ -35,7 +35,7 @@ msgid "The size of images used within the magnifier box"
35
  msgstr "La dimensione dell'immagine usata all'interno del box dello zoom"
36
 
37
  # @ yit
38
- #: class.yith-wcmg-admin.php:168 class.yith-wcmg-admin.php:206
39
  msgid "General Settings"
40
  msgstr "Impostazioni Generali"
41
 
@@ -45,23 +45,23 @@ msgid "Slider"
45
  msgstr "Slider"
46
 
47
  # @ yit
48
- #: class.yith-wcmg-admin.php:213
49
  msgid "Enable YITH Magnifier"
50
  msgstr "Abilita YITH Magnifier"
51
 
52
  # @ yit
53
- #: class.yith-wcmg-admin.php:214
54
  msgid "Enable the plugin or use the Woocommerce default product image."
55
  msgstr ""
56
  "Abilita il plugin oppure utilizza l'immagine di default di Woocommerce."
57
 
58
  # @ yit
59
- #: class.yith-wcmg-admin.php:222
60
  msgid "Forcing Zoom Image sizes"
61
  msgstr "Forza le dimensioni delle immagini di Zoom"
62
 
63
  # @ yit
64
- #: class.yith-wcmg-admin.php:223
65
  msgid ""
66
  "If disabled, you will able to customize the sizes of Zoom Images. Please "
67
  "disable at your own risk; the magnifier should not properly work with "
@@ -72,116 +72,116 @@ msgstr ""
72
  "correttamente con immagini di dimensioni non proporzionali tra di loro."
73
 
74
  # @ yit
75
- #: class.yith-wcmg-admin.php:234
76
  msgid "Magnifier Settings"
77
  msgstr "Impostazioni Magnifier"
78
 
79
  # @ yit
80
- #: class.yith-wcmg-admin.php:241
81
  msgid "Zoom Area Width"
82
  msgstr "Larghezza area di zoom"
83
 
84
  # @ yit
85
- #: class.yith-wcmg-admin.php:242
86
  msgid "The width of magnifier box (default: auto)"
87
  msgstr "Larghezza del box di zoom (default: auto)"
88
 
89
  # @ yit
90
- #: class.yith-wcmg-admin.php:250
91
  msgid "Zoom Area Height"
92
  msgstr "Altezza area di zoom"
93
 
94
  # @ yit
95
- #: class.yith-wcmg-admin.php:251
96
  msgid "The height of magnifier box (default: auto)"
97
  msgstr "Larghezza del box di zoom (default: auto)"
98
 
99
  # @ yit
100
- #: class.yith-wcmg-admin.php:259
101
  msgid "Zoom Area Position"
102
  msgstr "Posizione area di zoom"
103
 
104
  # @ yit
105
- #: class.yith-wcmg-admin.php:260
106
  msgid "The magnifier position"
107
  msgstr "Posizione del Magnifier"
108
 
109
  # @ yit
110
- #: class.yith-wcmg-admin.php:266
111
  msgid "Right"
112
  msgstr "Destra"
113
 
114
  # @ yit
115
- #: class.yith-wcmg-admin.php:267 class.yith-wcmg-admin.php:280
116
  msgid "Inside"
117
  msgstr "Interno"
118
 
119
  # @ yit
120
- #: class.yith-wcmg-admin.php:272
121
  msgid "Zoom Area Mobile Position"
122
  msgstr "Posizione area di zoom nei dispositivi mobili"
123
 
124
  # @ yit
125
- #: class.yith-wcmg-admin.php:273
126
  msgid "The magnifier position with mobile devices (iPhone, Android, etc.)"
127
  msgstr "Posizione area di zoom nei dispositivi mobili (iPhone, Android, ecc.)"
128
 
129
  # @ yit
130
- #: class.yith-wcmg-admin.php:279
131
  msgid "Default"
132
  msgstr "Default"
133
 
134
  # @ yit
135
- #: class.yith-wcmg-admin.php:281
136
  msgid "Disable"
137
  msgstr "Disabilitato"
138
 
139
  # @ yit
140
- #: class.yith-wcmg-admin.php:286
141
  msgid "Loading label"
142
  msgstr "Messaggio Caricamento"
143
 
144
  # @ yit
145
- #: class.yith-wcmg-admin.php:289 class.yith-wcmg-admin.php:290
146
  msgid "Loading..."
147
  msgstr "Caricamento..."
148
 
149
  # @ yit
150
- #: class.yith-wcmg-admin.php:316
151
  msgid "Lens Opacity"
152
  msgstr "Opacità lente"
153
 
154
  # @ yit
155
- #: class.yith-wcmg-admin.php:340
156
  msgid "Blur"
157
  msgstr "Sfocatura"
158
 
159
  # @ yit
160
- #: class.yith-wcmg-admin.php:341
161
  msgid "Add a blur effect to the small image on mouse hover."
162
  msgstr "Aggiungi un effetto sfocatura all'immagine al movimento del mouse."
163
 
164
  # @ yit
165
- #: class.yith-wcmg-admin.php:352
166
  msgid "Slider Settings"
167
  msgstr "Impostazioni Slider"
168
 
169
  # @ yit
170
- #: class.yith-wcmg-admin.php:359
171
  msgid "Enable Slider"
172
  msgstr "Abilita Slider"
173
 
174
  # @ yit
175
- #: class.yith-wcmg-admin.php:360
176
  msgid "Enable Thumbnail slider."
177
  msgstr "Abilita lo sliding delle thumbnail."
178
 
179
  # @ yit
180
- #: class.yith-wcmg-admin.php:368
181
  msgid "Enable Slider Responsive"
182
  msgstr "Abilita Responsive Slider"
183
 
184
- #: class.yith-wcmg-admin.php:369
185
  msgid ""
186
  "The option fits the thumbnails within the available space. Disable it if you "
187
  "want to manage by yourself the thumbnails (eg. add margins, paddings, etc.)"
@@ -192,32 +192,32 @@ msgstr ""
192
  "margini, padding, ecc.)"
193
 
194
  # @ yit
195
- #: class.yith-wcmg-admin.php:377
196
  msgid "Items"
197
  msgstr "Elementi"
198
 
199
  # @ yit
200
- #: class.yith-wcmg-admin.php:378
201
  msgid "Number of items to show"
202
  msgstr "Numero di elementi da mostrare"
203
 
204
  # @ yit
205
- #: class.yith-wcmg-admin.php:389
206
  msgid "Circular carousel"
207
  msgstr "Slider circolare"
208
 
209
  # @ yit
210
- #: class.yith-wcmg-admin.php:390
211
  msgid "Determines whether the carousel should be circular."
212
  msgstr "Selezionare se impostare lo slider circolare."
213
 
214
  # @ yit
215
- #: class.yith-wcmg-admin.php:398
216
  msgid "Infinite carousel"
217
  msgstr "Slider infinito"
218
 
219
  # @ yit
220
- #: class.yith-wcmg-admin.php:399
221
  msgid ""
222
  "Determines whether the carousel should be infinite. Note: It is possible to "
223
  "create a non-circular, infinite carousel, but it is not possible to create a "
@@ -227,10 +227,70 @@ msgstr ""
227
  "creare uno slider infinito non circolare ma non è possibile il contrario."
228
 
229
  # @ yit
230
- #: class.yith-wcmg-admin.php:626
231
  msgid "Settings"
232
  msgstr "Impostazioni"
233
 
234
- #: class.yith-wcmg-admin.php:627
235
  msgid "Docs"
236
  msgstr "Docs"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Magnifier v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-09-04 16:19+0100\n"
6
+ "PO-Revision-Date: 2013-09-04 16:19+0100\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
35
  msgstr "La dimensione dell'immagine usata all'interno del box dello zoom"
36
 
37
  # @ yit
38
+ #: class.yith-wcmg-admin.php:168 class.yith-wcmg-admin.php:208
39
  msgid "General Settings"
40
  msgstr "Impostazioni Generali"
41
 
45
  msgstr "Slider"
46
 
47
  # @ yit
48
+ #: class.yith-wcmg-admin.php:215
49
  msgid "Enable YITH Magnifier"
50
  msgstr "Abilita YITH Magnifier"
51
 
52
  # @ yit
53
+ #: class.yith-wcmg-admin.php:216
54
  msgid "Enable the plugin or use the Woocommerce default product image."
55
  msgstr ""
56
  "Abilita il plugin oppure utilizza l'immagine di default di Woocommerce."
57
 
58
  # @ yit
59
+ #: class.yith-wcmg-admin.php:224
60
  msgid "Forcing Zoom Image sizes"
61
  msgstr "Forza le dimensioni delle immagini di Zoom"
62
 
63
  # @ yit
64
+ #: class.yith-wcmg-admin.php:225
65
  msgid ""
66
  "If disabled, you will able to customize the sizes of Zoom Images. Please "
67
  "disable at your own risk; the magnifier should not properly work with "
72
  "correttamente con immagini di dimensioni non proporzionali tra di loro."
73
 
74
  # @ yit
75
+ #: class.yith-wcmg-admin.php:236
76
  msgid "Magnifier Settings"
77
  msgstr "Impostazioni Magnifier"
78
 
79
  # @ yit
80
+ #: class.yith-wcmg-admin.php:243
81
  msgid "Zoom Area Width"
82
  msgstr "Larghezza area di zoom"
83
 
84
  # @ yit
85
+ #: class.yith-wcmg-admin.php:244
86
  msgid "The width of magnifier box (default: auto)"
87
  msgstr "Larghezza del box di zoom (default: auto)"
88
 
89
  # @ yit
90
+ #: class.yith-wcmg-admin.php:252
91
  msgid "Zoom Area Height"
92
  msgstr "Altezza area di zoom"
93
 
94
  # @ yit
95
+ #: class.yith-wcmg-admin.php:253
96
  msgid "The height of magnifier box (default: auto)"
97
  msgstr "Larghezza del box di zoom (default: auto)"
98
 
99
  # @ yit
100
+ #: class.yith-wcmg-admin.php:261
101
  msgid "Zoom Area Position"
102
  msgstr "Posizione area di zoom"
103
 
104
  # @ yit
105
+ #: class.yith-wcmg-admin.php:262
106
  msgid "The magnifier position"
107
  msgstr "Posizione del Magnifier"
108
 
109
  # @ yit
110
+ #: class.yith-wcmg-admin.php:268
111
  msgid "Right"
112
  msgstr "Destra"
113
 
114
  # @ yit
115
+ #: class.yith-wcmg-admin.php:269 class.yith-wcmg-admin.php:282
116
  msgid "Inside"
117
  msgstr "Interno"
118
 
119
  # @ yit
120
+ #: class.yith-wcmg-admin.php:274
121
  msgid "Zoom Area Mobile Position"
122
  msgstr "Posizione area di zoom nei dispositivi mobili"
123
 
124
  # @ yit
125
+ #: class.yith-wcmg-admin.php:275
126
  msgid "The magnifier position with mobile devices (iPhone, Android, etc.)"
127
  msgstr "Posizione area di zoom nei dispositivi mobili (iPhone, Android, ecc.)"
128
 
129
  # @ yit
130
+ #: class.yith-wcmg-admin.php:281
131
  msgid "Default"
132
  msgstr "Default"
133
 
134
  # @ yit
135
+ #: class.yith-wcmg-admin.php:283
136
  msgid "Disable"
137
  msgstr "Disabilitato"
138
 
139
  # @ yit
140
+ #: class.yith-wcmg-admin.php:288
141
  msgid "Loading label"
142
  msgstr "Messaggio Caricamento"
143
 
144
  # @ yit
145
+ #: class.yith-wcmg-admin.php:291 class.yith-wcmg-admin.php:292
146
  msgid "Loading..."
147
  msgstr "Caricamento..."
148
 
149
  # @ yit
150
+ #: class.yith-wcmg-admin.php:318
151
  msgid "Lens Opacity"
152
  msgstr "Opacità lente"
153
 
154
  # @ yit
155
+ #: class.yith-wcmg-admin.php:342
156
  msgid "Blur"
157
  msgstr "Sfocatura"
158
 
159
  # @ yit
160
+ #: class.yith-wcmg-admin.php:343
161
  msgid "Add a blur effect to the small image on mouse hover."
162
  msgstr "Aggiungi un effetto sfocatura all'immagine al movimento del mouse."
163
 
164
  # @ yit
165
+ #: class.yith-wcmg-admin.php:354
166
  msgid "Slider Settings"
167
  msgstr "Impostazioni Slider"
168
 
169
  # @ yit
170
+ #: class.yith-wcmg-admin.php:361
171
  msgid "Enable Slider"
172
  msgstr "Abilita Slider"
173
 
174
  # @ yit
175
+ #: class.yith-wcmg-admin.php:362
176
  msgid "Enable Thumbnail slider."
177
  msgstr "Abilita lo sliding delle thumbnail."
178
 
179
  # @ yit
180
+ #: class.yith-wcmg-admin.php:370
181
  msgid "Enable Slider Responsive"
182
  msgstr "Abilita Responsive Slider"
183
 
184
+ #: class.yith-wcmg-admin.php:371
185
  msgid ""
186
  "The option fits the thumbnails within the available space. Disable it if you "
187
  "want to manage by yourself the thumbnails (eg. add margins, paddings, etc.)"
192
  "margini, padding, ecc.)"
193
 
194
  # @ yit
195
+ #: class.yith-wcmg-admin.php:379
196
  msgid "Items"
197
  msgstr "Elementi"
198
 
199
  # @ yit
200
+ #: class.yith-wcmg-admin.php:380
201
  msgid "Number of items to show"
202
  msgstr "Numero di elementi da mostrare"
203
 
204
  # @ yit
205
+ #: class.yith-wcmg-admin.php:391
206
  msgid "Circular carousel"
207
  msgstr "Slider circolare"
208
 
209
  # @ yit
210
+ #: class.yith-wcmg-admin.php:392
211
  msgid "Determines whether the carousel should be circular."
212
  msgstr "Selezionare se impostare lo slider circolare."
213
 
214
  # @ yit
215
+ #: class.yith-wcmg-admin.php:400
216
  msgid "Infinite carousel"
217
  msgstr "Slider infinito"
218
 
219
  # @ yit
220
+ #: class.yith-wcmg-admin.php:401
221
  msgid ""
222
  "Determines whether the carousel should be infinite. Note: It is possible to "
223
  "create a non-circular, infinite carousel, but it is not possible to create a "
227
  "creare uno slider infinito non circolare ma non è possibile il contrario."
228
 
229
  # @ yit
230
+ #: class.yith-wcmg-admin.php:628
231
  msgid "Settings"
232
  msgstr "Impostazioni"
233
 
234
+ #: class.yith-wcmg-admin.php:629
235
  msgid "Docs"
236
  msgstr "Docs"
237
+
238
+ #: yit-common/yith-panel.php:406
239
+ msgid "Select a date"
240
+ msgstr ""
241
+
242
+ #: yit-common/yith-panel.php:407
243
+ msgid "Hours"
244
+ msgstr ""
245
+
246
+ #: yit-common/yith-panel.php:408 yit-common/yith-panel.php:409
247
+ msgid "Minutes"
248
+ msgstr ""
249
+
250
+ #: yit-common/yith-panel.php:417
251
+ msgid "Upload"
252
+ msgstr ""
253
+
254
+ #: yit-common/yith-panel.php:444
255
+ msgid "px"
256
+ msgstr ""
257
+
258
+ #: yit-common/yith-panel.php:445
259
+ msgid "em"
260
+ msgstr ""
261
+
262
+ #: yit-common/yith-panel.php:446
263
+ msgid "pt"
264
+ msgstr ""
265
+
266
+ #: yit-common/yith-panel.php:447
267
+ msgid "rem"
268
+ msgstr ""
269
+
270
+ #: yit-common/yith-panel.php:457
271
+ msgid "Select a font family"
272
+ msgstr ""
273
+
274
+ #: yit-common/yith-panel.php:465
275
+ msgid "Regular"
276
+ msgstr ""
277
+
278
+ #: yit-common/yith-panel.php:466
279
+ msgid "Bold"
280
+ msgstr ""
281
+
282
+ #: yit-common/yith-panel.php:467
283
+ msgid "Extra bold"
284
+ msgstr ""
285
+
286
+ #: yit-common/yith-panel.php:468
287
+ msgid "Italic"
288
+ msgstr ""
289
+
290
+ #: yit-common/yith-panel.php:469
291
+ msgid "Italic bold"
292
+ msgstr ""
293
+
294
+ #: yit-common/yith-panel.php:481
295
+ msgid "Click to preview"
296
+ msgstr ""
uninstall.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
- * @version 1.0.4
8
  */
9
 
10
  // If uninstall not called from WordPress exit
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Zoom Magnifier
7
+ * @version 1.0.5
8
  */
9
 
10
  // If uninstall not called from WordPress exit