MetaSlider - Version 2.5.1

Version Description

Download this release

Release Info

Developer matchalabs
Plugin Icon 128x128 MetaSlider
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.4.2 to 2.5.1

assets/metaslider/admin.css CHANGED
@@ -1,3 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .attachment-filters {
2
  display: none;
3
  }
@@ -34,6 +62,7 @@
34
  .metaslider .left table tr.slide input.url {
35
  width: 100%;
36
  margin: 0 0 8px 0;
 
37
  }
38
  .bubble {
39
  position: relative;
@@ -128,7 +157,6 @@
128
  text-transform: uppercase;
129
  }
130
  .metaslider .tipsy-tooltip {
131
- font-size: 0.9em;
132
  cursor: help;
133
  }
134
  .metaslider .nav-tab-active input {
@@ -153,10 +181,6 @@
153
  box-shadow: 3px 3px 5px #cccccc;
154
  }
155
  .metaslider .left {
156
- width: 68%;
157
- margin-top: 20px;
158
- float: left;
159
- clear: none;
160
  }
161
  @media (max-width: 900px) {
162
  .metaslider .left {
@@ -236,16 +260,19 @@
236
  .metaslider .left table tr.slide .new_window {
237
  position: relative;
238
  float: right;
239
- font-size: 10px;
240
- padding: 0px 3px;
241
  color: #a9a9a9;
 
 
 
 
 
 
242
  }
243
  .metaslider .left table tr.slide .new_window label {
244
- position: absolute;
245
  width: 120px;
246
- right: 6px;
247
  text-align: right;
248
- top: -28px;
249
  }
250
  .metaslider .left table td {
251
  border-top: 0;
@@ -255,17 +282,8 @@
255
  padding: 8px 8px 8px 0;
256
  }
257
  .metaslider .right {
258
- width: 30%;
259
- float: right;
260
- margin-top: 20px;
261
- clear: none;
262
- }
263
- @media (max-width: 900px) {
264
- .metaslider .right {
265
- width: 100%;
266
- float: none;
267
- }
268
  }
 
269
  .metaslider .right .highlight {
270
  background: #f1f1f1;
271
  border-top: 3px solid #f9f9f9;
@@ -291,20 +309,20 @@
291
  list-style-type: none;
292
  text-align: center;
293
  }
294
- .metaslider .right .settings .slider-lib input {
295
- margin: 3px 0 0 0;
 
 
296
  }
297
- @media (max-width: 1120px) {
298
- .metaslider .right .settings .slider-lib {
299
- width: 48%;
300
- margin: 1%;
301
- }
302
  }
303
- @media (max-width: 900px) {
304
- .metaslider .right .settings .slider-lib {
305
- width: 23%;
306
- margin: 1%;
307
- }
 
308
  }
309
  .metaslider .right .settings .slider-lib label {
310
  color: white;
@@ -373,13 +391,11 @@
373
  .metaslider .right .shortcode td {
374
  border-bottom: 0;
375
  border-top: 0;
376
- font-size: 0.9em;
377
  }
378
  .metaslider .right .shortcode input,
379
  .metaslider .right .shortcode input:active {
380
  font-family: monospace;
381
  width: 100%;
382
- font-size: 0.9em;
383
  background: transparent;
384
  border: 0;
385
  box-shadow: none;
@@ -387,11 +403,22 @@
387
  .metaslider .right table td {
388
  border-top: 0;
389
  height: 28px;
390
- font-size: 0.9em;
391
  vertical-align: middle;
392
  padding: 0 6px;
393
  border-bottom: 0;
394
  }
 
 
 
 
 
 
 
 
 
 
 
 
395
  .metaslider .right table td input[type='checkbox'] {
396
  margin-left: 2px;
397
  }
@@ -439,6 +466,14 @@ ul.info li {
439
  top: -1px;
440
  }
441
 
 
 
 
 
 
 
 
 
442
  #ms-pro-meta-link-wrap a {
443
  text-decoration: none;
444
  z-index: 1;
1
+ .metaslider #poststuff #post-body.columns-2 {
2
+ margin-right: 320px;
3
+ }
4
+ .metaslider #post-body.columns-2 #postbox-container-1 {
5
+ margin-right: -320px;
6
+ width: 300px;
7
+ }
8
+ .resize_overlay {
9
+ position: absolute;
10
+ width: inherit;
11
+ background: transparent url(resizing.gif) no-repeat;
12
+ width: 16px;
13
+ height: 11px;
14
+ top: 3px;
15
+ left: 3px;
16
+ z-index: 9999;
17
+ }
18
+ .media-frame-menu .media-menu > a.disabled {
19
+ display: block;
20
+ position: relative;
21
+ padding: 4px 20px;
22
+ margin: 0;
23
+ line-height: 18px;
24
+ font-size: 14px;
25
+ color: #cccccc;
26
+ text-shadow: 0 1px 0 #fff;
27
+ text-decoration: none;
28
+ }
29
  .attachment-filters {
30
  display: none;
31
  }
62
  .metaslider .left table tr.slide input.url {
63
  width: 100%;
64
  margin: 0 0 8px 0;
65
+ padding: 5px;
66
  }
67
  .bubble {
68
  position: relative;
157
  text-transform: uppercase;
158
  }
159
  .metaslider .tipsy-tooltip {
 
160
  cursor: help;
161
  }
162
  .metaslider .nav-tab-active input {
181
  box-shadow: 3px 3px 5px #cccccc;
182
  }
183
  .metaslider .left {
 
 
 
 
184
  }
185
  @media (max-width: 900px) {
186
  .metaslider .left {
260
  .metaslider .left table tr.slide .new_window {
261
  position: relative;
262
  float: right;
263
+ padding: 0px;
 
264
  color: #a9a9a9;
265
+ line-height: 20px;
266
+ top: -31px;
267
+ right: 6px;
268
+ }
269
+ .metaslider .left table tr.slide .new_window input {
270
+ margin: 0 0 0 3px;
271
  }
272
  .metaslider .left table tr.slide .new_window label {
 
273
  width: 120px;
 
274
  text-align: right;
275
+ font-size: 11px;
276
  }
277
  .metaslider .left table td {
278
  border-top: 0;
282
  padding: 8px 8px 8px 0;
283
  }
284
  .metaslider .right {
 
 
 
 
 
 
 
 
 
 
285
  }
286
+
287
  .metaslider .right .highlight {
288
  background: #f1f1f1;
289
  border-top: 3px solid #f9f9f9;
309
  list-style-type: none;
310
  text-align: center;
311
  }
312
+ .metaslider .right .settings .width,
313
+ .metaslider .right .settings .height {
314
+ padding-right: 0;
315
+ margin-right: 0;
316
  }
317
+ .metaslider .right input[type="number"] {
318
+ width: 50px;
 
 
 
319
  }
320
+ .metaslider .right input[type="text"],
321
+ .metaslider .right select {
322
+ width: 100px;
323
+ }
324
+ .metaslider .right .settings .slider-lib input {
325
+ margin: 3px 0 0 0;
326
  }
327
  .metaslider .right .settings .slider-lib label {
328
  color: white;
391
  .metaslider .right .shortcode td {
392
  border-bottom: 0;
393
  border-top: 0;
 
394
  }
395
  .metaslider .right .shortcode input,
396
  .metaslider .right .shortcode input:active {
397
  font-family: monospace;
398
  width: 100%;
 
399
  background: transparent;
400
  border: 0;
401
  box-shadow: none;
403
  .metaslider .right table td {
404
  border-top: 0;
405
  height: 28px;
 
406
  vertical-align: middle;
407
  padding: 0 6px;
408
  border-bottom: 0;
409
  }
410
+ .metaslider table td,
411
+ .metaslider table td input,
412
+ .metaslider table td select,
413
+ .metaslider table td textarea {
414
+ font-size: 12px;
415
+ }
416
+ .metaslider .right table td,
417
+ .metaslider .right table td input,
418
+ .metaslider .right table td select,
419
+ .metaslider .right table td textarea {
420
+ font-size: 11px;
421
+ }
422
  .metaslider .right table td input[type='checkbox'] {
423
  margin-left: 2px;
424
  }
466
  top: -1px;
467
  }
468
 
469
+ .metaslider .warning {
470
+ background-color: #ffebe8;
471
+ border: 1px solid #c00;
472
+ margin-bottom: 5px;
473
+ border-radius: 3px;
474
+ padding: 5px 10px;
475
+ }
476
+
477
  #ms-pro-meta-link-wrap a {
478
  text-decoration: none;
479
  z-index: 1;
assets/metaslider/admin.js CHANGED
@@ -1,6 +1,6 @@
1
  jQuery(document).ready(function($) {
2
 
3
- jQuery("#ms-pro-meta-link-wrap").appendTo('#screen-meta-links');
4
 
5
  // Enable the correct options for this slider type
6
  var switchType = function(slider) {
@@ -54,6 +54,48 @@ jQuery(document).ready(function($) {
54
  });
55
  });
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  // show the confirm dialogue
58
  jQuery(".confirm").live('click', function() {
59
  return confirm(metaslider.confirm);
@@ -153,9 +195,18 @@ jQuery(document).ready(function($) {
153
  cache: false,
154
  url: url,
155
  success: function(data) {
156
- // update the slides with the response html
157
- $(".metaslider .left tbody").html($(".metaslider .left tbody", data).html());
158
-
 
 
 
 
 
 
 
 
 
159
  fixIE10PlaceholderText();
160
 
161
  if (button.id === 'preview') {
1
  jQuery(document).ready(function($) {
2
 
3
+ jQuery("#ms-pro-meta-link-wrap").appendTo('#screen-meta-links').show();
4
 
5
  // Enable the correct options for this slider type
6
  var switchType = function(slider) {
54
  });
55
  });
56
 
57
+ // bind an event to the slides table to update the menu order of each slide
58
+ jQuery('.metaslider .left table').live('resizeSlides', function(event) {
59
+ var slideshow_width = jQuery('input.width').val();
60
+ var slideshow_height = jQuery('input.height').val();
61
+
62
+ jQuery("tr.slide input[name='resize_slide_id']", this).each(function() {
63
+ $this = jQuery(this);
64
+
65
+ var thumb_width = $this.attr('data-width');
66
+ var thumb_height = $this.attr('data-height');
67
+
68
+ if ((thumb_width != slideshow_width || thumb_height != slideshow_height)) {
69
+ $this.attr('data-width', slideshow_width);
70
+ $this.attr('data-height', slideshow_height);
71
+
72
+ var resizing = jQuery('<div class="resize_overlay" />');
73
+ $this.parent().parent().children('.col-1').children('.thumb').append(resizing);
74
+
75
+ var data = {
76
+ action: 'resize_image_slide',
77
+ slider_id: window.parent.metaslider_slider_id,
78
+ slide_id: $this.attr('data-slide_id'),
79
+ _wpnonce: metaslider.resize_nonce
80
+ };
81
+
82
+ jQuery.ajax({
83
+ type: "POST",
84
+ data : data,
85
+ cache: false,
86
+ url: metaslider.ajaxurl,
87
+ success: function(data) {
88
+ if (console && console.log) {
89
+ console.log(data);
90
+ }
91
+
92
+ resizing.remove();
93
+ }
94
+ });
95
+ }
96
+ });
97
+ });
98
+
99
  // show the confirm dialogue
100
  jQuery(".confirm").live('click', function() {
101
  return confirm(metaslider.confirm);
195
  cache: false,
196
  url: url,
197
  success: function(data) {
198
+ var response = jQuery(data);
199
+ jQuery(".metaslider .left table").trigger('resizeSlides');
200
+
201
+ jQuery("button[data-thumb]", response).each(function() {
202
+ var $this = jQuery(this);
203
+ var editor_id = $this.attr('data-editor_id');
204
+ jQuery("button[data-editor_id=" + editor_id + "]")
205
+ .attr('data-thumb', $this.attr('data-thumb'))
206
+ .attr('data-width', $this.attr('data-width'))
207
+ .attr('data-height', $this.attr('data-height'));
208
+ });
209
+
210
  fixIE10PlaceholderText();
211
 
212
  if (button.id === 'preview') {
assets/metaslider/admin.less CHANGED
@@ -119,7 +119,13 @@
119
  .metaslider {
120
 
121
 
122
-
 
 
 
 
 
 
123
  .section {
124
  cursor: pointer;
125
  }
119
  .metaslider {
120
 
121
 
122
+ .warning {
123
+ background-color: #ffebe8;
124
+ border: 1px solid #c00;
125
+ margin-bottom: 5px;
126
+ border-radius: 3px;
127
+ padding: 5px 10px;
128
+ }
129
  .section {
130
  cursor: pointer;
131
  }
assets/metaslider/image/image.js CHANGED
@@ -24,28 +24,39 @@
24
  // When an image is selected, run a callback.
25
  file_frame.on('insert', function() {
26
  var selection = file_frame.state().get('selection');
 
27
 
28
- selection.map( function( attachment ) {
29
-
30
  attachment = attachment.toJSON();
 
 
31
 
32
- var data = {
33
- action: 'create_image_slide',
34
- slide_id: attachment.id,
35
- slider_id: window.parent.metaslider_slider_id
36
- };
 
37
 
38
- jQuery.post(ajaxurl, data, function(response) {
39
- jQuery(".metaslider .left table").append(response);
40
- });
41
  });
42
  });
43
 
44
  file_frame.open();
45
 
46
  // Remove the Media Library tab (media_upload_tabs filter is broken in 3.6)
47
- jQuery(".media-menu a:contains('Media Library')").remove();
 
 
 
 
 
 
 
48
  });
 
49
  });
50
 
51
  }(jQuery));
24
  // When an image is selected, run a callback.
25
  file_frame.on('insert', function() {
26
  var selection = file_frame.state().get('selection');
27
+ var slide_ids = [];
28
 
29
+ selection.map(function(attachment) {
 
30
  attachment = attachment.toJSON();
31
+ slide_ids.push(attachment.id);
32
+ });
33
 
34
+ var data = {
35
+ action: 'create_image_slide',
36
+ slider_id: window.parent.metaslider_slider_id,
37
+ selection: slide_ids,
38
+ _wpnonce: metaslider_image.addslide_nonce
39
+ };
40
 
41
+ jQuery.post(metaslider.ajaxurl, data, function(response) {
42
+ jQuery(".metaslider .left table").append(response);
43
+ jQuery(".metaslider .left table").trigger('resizeSlides');
44
  });
45
  });
46
 
47
  file_frame.open();
48
 
49
  // Remove the Media Library tab (media_upload_tabs filter is broken in 3.6)
50
+ jQuery(".media-menu a:contains('Media Library')").remove();
51
+
52
+ if (!window.parent.metaslider_pro_active) {
53
+ jQuery(".media-menu a:contains('YouTube')").addClass('disabled');
54
+ jQuery(".media-menu a:contains('Vimeo')").addClass('disabled');
55
+ jQuery(".media-menu a:contains('Post Feed')").addClass('disabled');
56
+ jQuery(".media-menu a:contains('Layer Slide')").addClass('disabled');
57
+ }
58
  });
59
+
60
  });
61
 
62
  }(jQuery));
assets/metaslider/public.css CHANGED
@@ -9,6 +9,12 @@
9
  .metaslider {
10
  position: relative;
11
  }
 
 
 
 
 
 
12
 
13
  .metaslider .caption {
14
  padding: 5px 10px;
@@ -42,6 +48,7 @@
42
  }
43
 
44
  /** quick resets **/
 
45
  #widgets .metaslider ul,
46
  #widgets .metaslider ol,
47
  #content .metaslider ul,
9
  .metaslider {
10
  position: relative;
11
  }
12
+ .metaslider.nav-hidden .flexslider {
13
+ margin-bottom: 0;
14
+ }
15
+ .metaslider.nav-hidden.add-margin .flexslider {
16
+ margin-bottom: 40px;
17
+ }
18
 
19
  .metaslider .caption {
20
  padding: 5px 10px;
48
  }
49
 
50
  /** quick resets **/
51
+ .art-article .metaslider img,
52
  #widgets .metaslider ul,
53
  #widgets .metaslider ol,
54
  #content .metaslider ul,
assets/metaslider/resizing.gif ADDED
Binary file
inc/metaslider.imagehelper.class.php CHANGED
@@ -10,6 +10,7 @@ class MetaSliderImageHelper {
10
  private $id; // slide/attachment ID
11
  private $url;
12
  private $path; // path to attachment on server
 
13
 
14
  /**
15
  * Constructor
@@ -19,7 +20,7 @@ class MetaSliderImageHelper {
19
  * @param integer $height - required height of image
20
  * @param string $smart_crop
21
  */
22
- public function __construct($slide_id, $width, $height, $smart_crop) {
23
  $upload_dir = wp_upload_dir();
24
 
25
  $this->id = $slide_id;
@@ -28,6 +29,7 @@ class MetaSliderImageHelper {
28
  $this->container_width = $width;
29
  $this->container_height = $height;
30
  $this->smart_crop = $smart_crop;
 
31
  }
32
 
33
  /**
@@ -182,11 +184,21 @@ class MetaSliderImageHelper {
182
 
183
  $dest_file_name = $this->get_destination_file_name($dest_size);
184
 
185
- if (file_exists($dest_file_name)) {
 
 
186
  $dest_url = str_replace(basename($this->url), basename($dest_file_name), $this->url);
187
- } else {
 
 
 
188
  $dest_url = $this->resize_image($orig_size, $dest_size, $dest_file_name);
189
  }
 
 
 
 
 
190
 
191
  $dest_url = apply_filters('metaslider_resized_image_url', $dest_url, $this->url);
192
 
@@ -204,21 +216,20 @@ class MetaSliderImageHelper {
204
  $size = array();
205
 
206
  // try and get the image size from metadata
207
- if ($image_attributes = wp_get_attachment_image_src($this->id, 'full')) {
208
- $size['width'] = $image_attributes[1];
209
- $size['height'] = $image_attributes[2];
210
 
211
- if ($size['width'] > 0 && $size['height'] > 0) {
212
- return $size;
213
- }
214
  }
215
 
216
- // get the size from the image itself
217
- $image = wp_get_image_editor($this->path);
218
-
219
- if (!is_wp_error($image)) {
220
- $size = $image->get_size();
221
- return $size;
 
 
222
  }
223
 
224
  return false;
10
  private $id; // slide/attachment ID
11
  private $url;
12
  private $path; // path to attachment on server
13
+ private $use_image_editor;
14
 
15
  /**
16
  * Constructor
20
  * @param integer $height - required height of image
21
  * @param string $smart_crop
22
  */
23
+ public function __construct($slide_id, $width, $height, $smart_crop, $use_image_editor = true) {
24
  $upload_dir = wp_upload_dir();
25
 
26
  $this->id = $slide_id;
29
  $this->container_width = $width;
30
  $this->container_height = $height;
31
  $this->smart_crop = $smart_crop;
32
+ $this->use_image_editor = $use_image_editor;
33
  }
34
 
35
  /**
184
 
185
  $dest_file_name = $this->get_destination_file_name($dest_size);
186
 
187
+ if (file_exists($dest_file_name))
188
+ {
189
+ // good. no need for resize, just return the URL
190
  $dest_url = str_replace(basename($this->url), basename($dest_file_name), $this->url);
191
+ }
192
+ else if ($this->use_image_editor)
193
+ {
194
+ // resize, assuming we're allowed to use the image editor
195
  $dest_url = $this->resize_image($orig_size, $dest_size, $dest_file_name);
196
  }
197
+ else
198
+ {
199
+ // fall back to the full URL
200
+ $dest_url = $this->url;
201
+ }
202
 
203
  $dest_url = apply_filters('metaslider_resized_image_url', $dest_url, $this->url);
204
 
216
  $size = array();
217
 
218
  // try and get the image size from metadata
219
+ $meta = wp_get_attachment_metadata($this->id);
 
 
220
 
221
+ if (isset($meta['width'], $meta['height'])) {
222
+ return $meta;
 
223
  }
224
 
225
+ if ($this->use_image_editor) {
226
+ // get the size from the image itself
227
+ $image = wp_get_image_editor($this->path);
228
+
229
+ if (!is_wp_error($image)) {
230
+ $size = $image->get_size();
231
+ return $size;
232
+ }
233
  }
234
 
235
  return false;
inc/metaslider.systemcheck.class.php CHANGED
@@ -87,7 +87,7 @@ class MetaSliderSystemCheck {
87
  return;
88
  }
89
 
90
- if (is_plugin_active('role-scoper/role-scoper.php')) {
91
 
92
  $access_types = get_option('scoper_disabled_access_types');
93
 
87
  return;
88
  }
89
 
90
+ if (function_exists('is_plugin_active') && is_plugin_active('role-scoper/role-scoper.php')) {
91
 
92
  $access_types = get_option('scoper_disabled_access_types');
93
 
inc/slide/metaslide.class.php CHANGED
@@ -75,6 +75,55 @@ class MetaSlide {
75
  $term = get_term_by('name', $this->slider->ID, 'ml-slider');
76
  // tag this slide to the taxonomy term
77
  wp_set_post_terms($this->slide->ID, $term->term_id, 'ml-slider', true);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
 
80
  /**
75
  $term = get_term_by('name', $this->slider->ID, 'ml-slider');
76
  // tag this slide to the taxonomy term
77
  wp_set_post_terms($this->slide->ID, $term->term_id, 'ml-slider', true);
78
+
79
+ $this->update_menu_order();
80
+ }
81
+
82
+ /**
83
+ * Ensure slides are added to the slideshow in the correct order.
84
+ *
85
+ * Find the highest slide menu_order in the slideshow, increment, then
86
+ * update the new slides menu_order.
87
+ */
88
+ public function update_menu_order() {
89
+ $menu_order = 0;
90
+
91
+ // get the slide with the highest menu_order so far
92
+ $args = array(
93
+ 'force_no_custom_order' => true,
94
+ 'orderby' => 'menu_order',
95
+ 'order' => 'DESC',
96
+ 'post_type' => 'attachment',
97
+ 'post_status' => 'inherit',
98
+ 'lang' => '', // polylang, ingore language filter
99
+ 'suppress_filters' => 1, // wpml, ignore language filter
100
+ 'posts_per_page' => 1,
101
+ 'tax_query' => array(
102
+ array(
103
+ 'taxonomy' => 'ml-slider',
104
+ 'field' => 'slug',
105
+ 'terms' => $this->slider->ID
106
+ )
107
+ )
108
+ );
109
+
110
+ $query = new WP_Query($args);
111
+
112
+ while ($query->have_posts()) {
113
+ $query->next_post();
114
+ $menu_order = $query->post->menu_order;
115
+ }
116
+
117
+ wp_reset_query();
118
+
119
+ // increment
120
+ $menu_order = $menu_order + 1;
121
+
122
+ // update the slide
123
+ wp_update_post(array(
124
+ 'ID' => $this->slide->ID,
125
+ 'menu_order' => $menu_order
126
+ ));
127
  }
128
 
129
  /**
inc/slide/metaslide.image.class.php CHANGED
@@ -11,20 +11,73 @@ class MetaImageSlide extends MetaSlide {
11
  add_filter('metaslider_get_image_slide', array($this, 'get_slide'), 10, 2);
12
  add_action('metaslider_save_image_slide', array($this, 'save_slide'), 5, 3);
13
  add_action('wp_ajax_create_image_slide', array($this, 'ajax_create_slide'));
 
14
  }
15
 
16
  /**
17
  * Create a new slide and echo the admin HTML
18
  */
19
  public function ajax_create_slide() {
20
- $slide_id = intval($_POST['slide_id']);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  $slider_id = intval($_POST['slider_id']);
 
22
 
23
  $this->set_slide($slide_id);
24
  $this->set_slider($slider_id);
25
- $this->tag_slide_to_slider();
26
-
27
- $this->add_or_update_or_delete_meta($slide_id, 'type', 'image');
28
 
29
  $settings = get_post_meta($slider_id, 'ml-slider_settings', true);
30
 
@@ -33,12 +86,14 @@ class MetaImageSlide extends MetaSlide {
33
  $slide_id,
34
  $settings['width'],
35
  $settings['height'],
36
- isset($settings['smartCrop']) ? $settings['smartCrop'] : 'false'
 
37
  );
38
 
39
  $url = $imageHelper->get_image_url();
40
 
41
- echo $this->get_admin_slide();
 
42
  die();
43
  }
44
 
@@ -49,12 +104,15 @@ class MetaImageSlide extends MetaSlide {
49
  */
50
  protected function get_admin_slide() {
51
  // get some slide settings
52
- $thumb = $this->get_thumb();
53
- $full = wp_get_attachment_image_src($this->slide->ID, 'full');
54
- $filename = basename($full[0]);
55
- $url = get_post_meta($this->slide->ID, 'ml-slider_url', true);
56
- $target = get_post_meta($this->slide->ID, 'ml-slider_new_window', true) ? 'checked=checked' : '';
57
- $caption = htmlentities($this->slide->post_excerpt, ENT_QUOTES, 'UTF-8');
 
 
 
58
 
59
  // localisation
60
  $str_caption = __("Caption", 'metaslider');
@@ -62,7 +120,7 @@ class MetaImageSlide extends MetaSlide {
62
  $str_url = __("URL", 'metaslider');
63
 
64
  // slide row HTML
65
- $row = "<tr class='slide flex responsive nivo coin'>";
66
  $row .= " <td class='col-1'>";
67
  $row .= " <div class='thumb' style='background-image: url({$thumb})'>";
68
  $row .= " <a class='delete-slide confirm' href='?page=metaslider&id={$this->slider->ID}&deleteSlide={$this->slide->ID}'>x</a>";
@@ -70,6 +128,11 @@ class MetaImageSlide extends MetaSlide {
70
  $row .= " </div>";
71
  $row .= " </td>";
72
  $row .= " <td class='col-2'>";
 
 
 
 
 
73
  $row .= " <textarea name='attachment[{$this->slide->ID}][post_excerpt]' placeholder='{$str_caption}'>{$caption}</textarea>";
74
  $row .= " <input class='url' type='text' name='attachment[{$this->slide->ID}][url]' placeholder='{$str_url}' value='{$url}' />";
75
  $row .= " <div class='new_window'>";
@@ -77,12 +140,34 @@ class MetaImageSlide extends MetaSlide {
77
  $row .= " </div>";
78
  $row .= " <input type='hidden' name='attachment[{$this->slide->ID}][type]' value='image' />";
79
  $row .= " <input type='hidden' class='menu_order' name='attachment[{$this->slide->ID}][menu_order]' value='{$this->slide->menu_order}' />";
 
80
  $row .= " </td>";
81
  $row .= "</tr>";
82
 
83
  return $row;
84
  }
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  /**
87
  * Returns the HTML for the public slide
88
  *
@@ -90,11 +175,13 @@ class MetaImageSlide extends MetaSlide {
90
  */
91
  protected function get_public_slide() {
92
  // get the image url (and handle cropping)
 
93
  $imageHelper = new MetaSliderImageHelper(
94
  $this->slide->ID,
95
  $this->settings['width'],
96
  $this->settings['height'],
97
- isset($this->settings['smartCrop']) ? $this->settings['smartCrop'] : 'false'
 
98
  );
99
 
100
  $thumb = $imageHelper->get_image_url();
@@ -102,10 +189,13 @@ class MetaImageSlide extends MetaSlide {
102
  // store the slide details
103
  $slide = array(
104
  'id' => $this->slide->ID,
105
- 'thumb' => $thumb,
106
  'url' => __(get_post_meta($this->slide->ID, 'ml-slider_url', true)),
107
- 'alt' => __(get_post_meta($this->slide->ID, '_wp_attachment_image_alt', true)),
108
  'target' => get_post_meta($this->slide->ID, 'ml-slider_new_window', true) ? '_blank' : '_self',
 
 
 
 
 
109
  'caption' => __(html_entity_decode($this->slide->post_excerpt, ENT_NOQUOTES, 'UTF-8')),
110
  'caption_raw' => __($this->slide->post_excerpt),
111
  'class' => "slider-{$this->slider->ID} slide-{$this->slide->ID}",
@@ -156,27 +246,52 @@ class MetaImageSlide extends MetaSlide {
156
  return $html;
157
  }
158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  /**
160
  * Generate nivo slider markup
161
  *
162
  * @return string slide html
163
  */
164
  private function get_nivo_slider_markup($slide) {
165
- $attributes = array(
166
- 'src' => $slide['thumb'],
167
- 'height' => $this->settings['height'],
168
- 'width' => $this->settings['width'],
169
  'title' => htmlentities($slide['caption_raw'], ENT_QUOTES, 'UTF-8'),
170
  'data-thumb' => $slide['data-thumb'],
171
  'alt' => $slide['alt'],
172
  'rel' => $slide['rel'],
173
  'class' => $slide['class']
174
- );
175
 
176
  $html = $this->build_image_tag($attributes);
177
 
178
- if (strlen($slide['url'])) {
179
- $html = '<a href="' . $slide['url'] . '" target="' . $slide['target'] . '">' . $html . '</a>';
 
 
 
 
 
180
  }
181
 
182
  return apply_filters('metaslider_image_nivo_slider_markup', $html, $slide, $this->settings);
@@ -188,21 +303,27 @@ class MetaImageSlide extends MetaSlide {
188
  * @return string slide html
189
  */
190
  private function get_flex_slider_markup($slide) {
191
- $attributes = array(
192
- 'src' => $slide['thumb'],
193
- 'height' => $this->settings['height'],
194
- 'width' => $this->settings['width'],
195
  'alt' => $slide['alt'],
196
  'rel' => $slide['rel'],
197
  'class' => $slide['class']
198
- );
199
 
200
  $html = $this->build_image_tag($attributes);
201
 
202
- if (strlen($slide['url'])) {
203
- $html = '<a href="' . $slide['url'] . '" target="' . $slide['target'] . '">' . $html . '</a>';
 
 
 
 
 
204
  }
205
 
 
206
  if (strlen($slide['caption'])) {
207
  $html .= '<div class="caption-wrap"><div class="caption">' . $slide['caption'] . '</div></div>';
208
  }
@@ -220,16 +341,14 @@ class MetaImageSlide extends MetaSlide {
220
  * @return string slide html
221
  */
222
  private function get_coin_slider_markup($slide) {
223
- $url = strlen($slide['url']) ? $slide['url'] : 'javascript:void(0)'; // coinslider always wants a URL
224
-
225
- $attributes = array(
226
- 'src' => $slide['thumb'],
227
- 'height' => $this->settings['height'],
228
- 'width' => $this->settings['width'],
229
  'alt' => $slide['alt'],
230
  'rel' => $slide['rel'],
231
  'class' => $slide['class']
232
- );
233
 
234
  $html = $this->build_image_tag($attributes);
235
 
@@ -237,7 +356,11 @@ class MetaImageSlide extends MetaSlide {
237
  $html .= "<span>{$slide['caption']}</span>";
238
  }
239
 
240
- $html = '<a href="' . $url . '" style="display: none;">"' . $html . '</a>';
 
 
 
 
241
 
242
  return apply_filters('metaslider_image_coin_slider_markup', $html, $slide, $this->settings);
243
  }
@@ -248,14 +371,14 @@ class MetaImageSlide extends MetaSlide {
248
  * @return string slide html
249
  */
250
  private function get_responsive_slides_markup($slide) {
251
- $attributes = array(
252
- 'src' => $slide['thumb'],
253
- 'height' => $this->settings['height'],
254
- 'width' => $this->settings['width'],
255
  'alt' => $slide['alt'],
256
  'rel' => $slide['rel'],
257
  'class' => $slide['class']
258
- );
259
 
260
  $html = $this->build_image_tag($attributes);
261
 
@@ -263,8 +386,13 @@ class MetaImageSlide extends MetaSlide {
263
  $html .= '<div class="caption-wrap"><div class="caption">' . $slide['caption'] . '</div></div>';
264
  }
265
 
266
- if (strlen($slide['url'])) {
267
- $html = '<a href="' . $slide['url'] . '" target="' . $slide['target'] . '">'. $html . '</a>';
 
 
 
 
 
268
  }
269
 
270
  return apply_filters('metaslider_image_responsive_slider_markup', $html, $slide, $this->settings);
11
  add_filter('metaslider_get_image_slide', array($this, 'get_slide'), 10, 2);
12
  add_action('metaslider_save_image_slide', array($this, 'save_slide'), 5, 3);
13
  add_action('wp_ajax_create_image_slide', array($this, 'ajax_create_slide'));
14
+ add_action('wp_ajax_resize_image_slide', array($this, 'ajax_resize_slide'));
15
  }
16
 
17
  /**
18
  * Create a new slide and echo the admin HTML
19
  */
20
  public function ajax_create_slide() {
21
+ // security check
22
+ if (!wp_verify_nonce($_REQUEST['_wpnonce'], 'metaslider_addslide')) {
23
+ echo "<tr><td colspan='2'>" . __("Security check failed. Refresh page and try again.", 'metaslider') . "</td></tr>";
24
+ die();
25
+ }
26
+
27
+ $slider_id = intval($_POST['slider_id']);
28
+ $selection = $_POST['selection'];
29
+
30
+ if (is_array($selection) && count($selection) && $slider_id > 0) {
31
+ foreach ($selection as $slide_id) {
32
+ $this->set_slide($slide_id);
33
+ $this->set_slider($slider_id);
34
+
35
+ if ($this->slide_exists_in_slideshow($slider_id, $slide_id)) {
36
+ echo "<tr><td colspan='2'>ID: {$slide_id} \"" . get_the_title($slide_id) . "\" - " . __("Failed to add slide. Slide already exists in slideshow.", 'metaslider') . "</td></tr>";
37
+ } else if (!$this->slide_is_unassigned_or_image_slide($slider_id, $slide_id)) {
38
+ echo "<tr><td colspan='2'>ID: {$slide_id} \"" . get_the_title($slide_id) . "\" - " . __("Failed to add slide. Slide is not of type 'image'.", 'metaslider') . "</td></tr>";
39
+ }else {
40
+ $this->tag_slide_to_slider();
41
+ $this->add_or_update_or_delete_meta($slide_id, 'type', 'image');
42
+
43
+ // override the width and height to kick off the AJAX image resizing on save
44
+ $this->settings['width'] = 0;
45
+ $this->settings['height'] = 0;
46
+
47
+ echo $this->get_admin_slide();
48
+ }
49
+ }
50
+ }
51
+
52
+ die();
53
+ }
54
+
55
+ /**
56
+ *
57
+ */
58
+ public function slide_exists_in_slideshow($slider_id, $slide_id) {
59
+ return has_term("{$slider_id}", 'ml-slider', $slide_id);
60
+ }
61
+
62
+ /**
63
+ *
64
+ */
65
+ public function slide_is_unassigned_or_image_slide($slider_id, $slide_id) {
66
+ $type = get_post_meta($slide_id, 'ml-slider_type', true);
67
+ return !strlen($type) || $type == 'image';
68
+ }
69
+
70
+ /**
71
+ * Create a new slide and echo the admin HTML
72
+ */
73
+ public function ajax_resize_slide() {
74
+ check_admin_referer('metaslider_resize');
75
+
76
  $slider_id = intval($_POST['slider_id']);
77
+ $slide_id = intval($_POST['slide_id']);
78
 
79
  $this->set_slide($slide_id);
80
  $this->set_slider($slider_id);
 
 
 
81
 
82
  $settings = get_post_meta($slider_id, 'ml-slider_settings', true);
83
 
86
  $slide_id,
87
  $settings['width'],
88
  $settings['height'],
89
+ isset($settings['smartCrop']) ? $settings['smartCrop'] : 'false',
90
+ $this->use_wp_image_editor()
91
  );
92
 
93
  $url = $imageHelper->get_image_url();
94
 
95
+ echo $url . " (" . $settings['width'] . 'x' . $settings['height'] . ")";
96
+
97
  die();
98
  }
99
 
104
  */
105
  protected function get_admin_slide() {
106
  // get some slide settings
107
+ $imageHelper = new MetaSliderImageHelper($this->slide->ID, 150, 150, 'false', $this->use_wp_image_editor());
108
+ $thumb = $imageHelper->get_image_url();
109
+
110
+ $full = wp_get_attachment_image_src($this->slide->ID);
111
+ $filename = basename($full[0]);
112
+
113
+ $url = get_post_meta($this->slide->ID, 'ml-slider_url', true);
114
+ $target = get_post_meta($this->slide->ID, 'ml-slider_new_window', true) ? 'checked=checked' : '';
115
+ $caption = htmlentities($this->slide->post_excerpt, ENT_QUOTES, 'UTF-8');
116
 
117
  // localisation
118
  $str_caption = __("Caption", 'metaslider');
120
  $str_url = __("URL", 'metaslider');
121
 
122
  // slide row HTML
123
+ $row = "<tr class='slide image flex responsive nivo coin'>";
124
  $row .= " <td class='col-1'>";
125
  $row .= " <div class='thumb' style='background-image: url({$thumb})'>";
126
  $row .= " <a class='delete-slide confirm' href='?page=metaslider&id={$this->slider->ID}&deleteSlide={$this->slide->ID}'>x</a>";
128
  $row .= " </div>";
129
  $row .= " </td>";
130
  $row .= " <td class='col-2'>";
131
+
132
+ if (!$this->is_valid_image()) {
133
+ $row .= "<div class='warning'>" . __('Warning: Image data does not exist. Please re-upload the image.') . "</div>";
134
+ }
135
+
136
  $row .= " <textarea name='attachment[{$this->slide->ID}][post_excerpt]' placeholder='{$str_caption}'>{$caption}</textarea>";
137
  $row .= " <input class='url' type='text' name='attachment[{$this->slide->ID}][url]' placeholder='{$str_url}' value='{$url}' />";
138
  $row .= " <div class='new_window'>";
140
  $row .= " </div>";
141
  $row .= " <input type='hidden' name='attachment[{$this->slide->ID}][type]' value='image' />";
142
  $row .= " <input type='hidden' class='menu_order' name='attachment[{$this->slide->ID}][menu_order]' value='{$this->slide->menu_order}' />";
143
+ $row .= " <input type='hidden' name='resize_slide_id' data-slide_id='{$this->slide->ID}' data-width='{$this->settings['width']}' data-height='{$this->settings['height']}' />";
144
  $row .= " </td>";
145
  $row .= "</tr>";
146
 
147
  return $row;
148
  }
149
 
150
+ /**
151
+ * Check to see if metadata exists for this image. Assume the image is
152
+ * valid if metadata and a size exists for it (generated during initial
153
+ * upload to WordPress).
154
+ *
155
+ * @return bool, true if metadata and size exists.
156
+ */
157
+ public function is_valid_image() {
158
+ $meta = wp_get_attachment_metadata($this->slide->ID);
159
+ return isset($meta['width'], $meta['height']);
160
+ }
161
+
162
+ /**
163
+ * Disable/enable image editor
164
+ *
165
+ * @return bool
166
+ */
167
+ public function use_wp_image_editor() {
168
+ return apply_filters('metaslider_use_image_editor', $this->is_valid_image());
169
+ }
170
+
171
  /**
172
  * Returns the HTML for the public slide
173
  *
175
  */
176
  protected function get_public_slide() {
177
  // get the image url (and handle cropping)
178
+ // disable wp_image_editor if metadata does not exist for the slide
179
  $imageHelper = new MetaSliderImageHelper(
180
  $this->slide->ID,
181
  $this->settings['width'],
182
  $this->settings['height'],
183
+ isset($this->settings['smartCrop']) ? $this->settings['smartCrop'] : 'false',
184
+ $this->use_wp_image_editor()
185
  );
186
 
187
  $thumb = $imageHelper->get_image_url();
189
  // store the slide details
190
  $slide = array(
191
  'id' => $this->slide->ID,
 
192
  'url' => __(get_post_meta($this->slide->ID, 'ml-slider_url', true)),
 
193
  'target' => get_post_meta($this->slide->ID, 'ml-slider_new_window', true) ? '_blank' : '_self',
194
+ 'src' => $thumb,
195
+ 'thumb' => $thumb, // backwards compatibility with Vantage
196
+ 'width' => $this->settings['width'],
197
+ 'height' => $this->settings['height'],
198
+ 'alt' => __(get_post_meta($this->slide->ID, '_wp_attachment_image_alt', true)),
199
  'caption' => __(html_entity_decode($this->slide->post_excerpt, ENT_NOQUOTES, 'UTF-8')),
200
  'caption_raw' => __($this->slide->post_excerpt),
201
  'class' => "slider-{$this->slider->ID} slide-{$this->slide->ID}",
246
  return $html;
247
  }
248
 
249
+ /**
250
+ * Build image HTML
251
+ *
252
+ * @param array $attributes
253
+ * @return string image HTML
254
+ */
255
+ private function build_anchor_tag($attributes, $content) {
256
+ $html = "<a";
257
+
258
+ foreach ($attributes as $att => $val) {
259
+ if (strlen($val)) {
260
+ $html .= " " . $att . '="' . $val . '"';
261
+ }
262
+ }
263
+
264
+ $html .= ">" . $content . "</a>";
265
+
266
+ return $html;
267
+ }
268
+
269
  /**
270
  * Generate nivo slider markup
271
  *
272
  * @return string slide html
273
  */
274
  private function get_nivo_slider_markup($slide) {
275
+ $attributes = apply_filters('metaslider_nivo_slider_image_attributes', array(
276
+ 'src' => $slide['src'],
277
+ 'height' => $slide['height'],
278
+ 'width' => $slide['width'],
279
  'title' => htmlentities($slide['caption_raw'], ENT_QUOTES, 'UTF-8'),
280
  'data-thumb' => $slide['data-thumb'],
281
  'alt' => $slide['alt'],
282
  'rel' => $slide['rel'],
283
  'class' => $slide['class']
284
+ ), $slide, $this->slider->ID);
285
 
286
  $html = $this->build_image_tag($attributes);
287
 
288
+ $anchor_attributes = apply_filters('metaslider_nivo_slider_anchor_attributes', array(
289
+ 'href' => $slide['url'],
290
+ 'target' => $slide['target']
291
+ ), $slide, $this->slider->ID);
292
+
293
+ if (strlen($anchor_attributes['href'])) {
294
+ $html = $this->build_anchor_tag($anchor_attributes, $html);
295
  }
296
 
297
  return apply_filters('metaslider_image_nivo_slider_markup', $html, $slide, $this->settings);
303
  * @return string slide html
304
  */
305
  private function get_flex_slider_markup($slide) {
306
+ $attributes = apply_filters('metaslider_flex_slider_image_attributes', array(
307
+ 'src' => $slide['src'],
308
+ 'height' => $slide['height'],
309
+ 'width' => $slide['width'],
310
  'alt' => $slide['alt'],
311
  'rel' => $slide['rel'],
312
  'class' => $slide['class']
313
+ ), $slide, $this->slider->ID);
314
 
315
  $html = $this->build_image_tag($attributes);
316
 
317
+ $anchor_attributes = apply_filters('metaslider_flex_slider_anchor_attributes', array(
318
+ 'href' => $slide['url'],
319
+ 'target' => $slide['target']
320
+ ), $slide, $this->slider->ID);
321
+
322
+ if (strlen($anchor_attributes['href'])) {
323
+ $html = $this->build_anchor_tag($anchor_attributes, $html);
324
  }
325
 
326
+ // add caption
327
  if (strlen($slide['caption'])) {
328
  $html .= '<div class="caption-wrap"><div class="caption">' . $slide['caption'] . '</div></div>';
329
  }
341
  * @return string slide html
342
  */
343
  private function get_coin_slider_markup($slide) {
344
+ $attributes = apply_filters('metaslider_coin_slider_image_attributes', array(
345
+ 'src' => $slide['src'],
346
+ 'height' => $slide['height'],
347
+ 'width' => $slide['width'],
 
 
348
  'alt' => $slide['alt'],
349
  'rel' => $slide['rel'],
350
  'class' => $slide['class']
351
+ ), $slide, $this->slider->ID);
352
 
353
  $html = $this->build_image_tag($attributes);
354
 
356
  $html .= "<span>{$slide['caption']}</span>";
357
  }
358
 
359
+ $attributes = apply_filters('metaslider_coin_slider_anchor_attributes', array(
360
+ 'href' => strlen($slide['url']) ? $slide['url'] : 'javascript:void(0)'
361
+ ), $slide, $this->slider->ID);
362
+
363
+ $html = $this->build_anchor_tag($attributes, $html);
364
 
365
  return apply_filters('metaslider_image_coin_slider_markup', $html, $slide, $this->settings);
366
  }
371
  * @return string slide html
372
  */
373
  private function get_responsive_slides_markup($slide) {
374
+ $attributes = apply_filters('metaslider_responsive_slider_image_attributes', array(
375
+ 'src' => $slide['src'],
376
+ 'height' => $slide['height'],
377
+ 'width' => $slide['width'],
378
  'alt' => $slide['alt'],
379
  'rel' => $slide['rel'],
380
  'class' => $slide['class']
381
+ ), $slide, $this->slider->ID);
382
 
383
  $html = $this->build_image_tag($attributes);
384
 
386
  $html .= '<div class="caption-wrap"><div class="caption">' . $slide['caption'] . '</div></div>';
387
  }
388
 
389
+ $anchor_attributes = apply_filters('metaslider_nivo_slider_anchor_attributes', array(
390
+ 'href' => $slide['url'],
391
+ 'target' => $slide['target']
392
+ ), $slide, $this->slider->ID);
393
+
394
+ if (strlen($anchor_attributes['href'])) {
395
+ $html = $this->build_anchor_tag($anchor_attributes, $html);
396
  }
397
 
398
  return apply_filters('metaslider_image_responsive_slider_markup', $html, $slide, $this->settings);
inc/slider/metaslider.class.php CHANGED
@@ -15,9 +15,9 @@ class MetaSlider {
15
  /**
16
  * Constructor
17
  */
18
- public function __construct($id) {
19
  $this->id = $id;
20
- $this->settings = $this->get_settings();
21
  $this->identifier = 'metaslider_' . $this->id;
22
  $this->save();
23
  $this->populate_slides();
@@ -126,11 +126,14 @@ class MetaSlider {
126
  if (!is_admin()) {
127
  return;
128
  }
 
129
  // make changes to slider
130
  if (isset($_POST['settings'])) {
 
131
  $this->update_settings($_POST['settings']);
132
  }
133
  if (isset($_POST['title'])) {
 
134
  $this->update_title($_POST['title']);
135
  }
136
  if (isset($_GET['deleteSlide'])) {
@@ -139,6 +142,7 @@ class MetaSlider {
139
 
140
  // make changes to slides
141
  if (isset($_POST['attachment'])) {
 
142
  $this->update_slides($_POST['attachment']);
143
  }
144
  }
@@ -225,13 +229,19 @@ class MetaSlider {
225
  // handle any custom classes
226
  $class = apply_filters('metaslider_css_classes', $class, $this->id, $this->settings);
227
 
 
 
 
228
  // carousels are always 100% wide
229
- if ($this->get_setting('carouselMode') != 'true') {
230
- $style = "max-width: {$this->get_setting('width')}px;";
231
- } else {
232
  $style = "width: 100%;";
233
  }
234
 
 
 
 
 
 
235
  // center align the slideshow
236
  if ($this->get_setting('center') != 'false') {
237
  $style .= " margin: 0 auto;";
@@ -317,7 +327,7 @@ class MetaSlider {
317
  if (is_array($value)) {
318
  $pairs[] = "{$key}: function() {\n "
319
  . implode("\n ", $value)
320
- . "\n }";
321
  } else {
322
  $pairs[] = "{$key}:{$value}";
323
  }
@@ -347,7 +357,7 @@ class MetaSlider {
347
  }
348
 
349
  /**
350
- *
351
  */
352
  public function get_slider_css($css, $settings, $slider_id) {
353
  if ($slider_id != $this->id) {
@@ -365,7 +375,6 @@ class MetaSlider {
365
  return $css . $imports;
366
  }
367
 
368
-
369
  /**
370
  * Include slider assets, JS and CSS paths are specified by child classes.
371
  */
@@ -414,7 +423,9 @@ class MetaSlider {
414
 
415
  /**
416
  * Delete a slide. This doesn't actually remove the slide from WordPress, simply untags
417
- * it from the slide taxonomy
 
 
418
  */
419
  private function delete_slide($slide_id) {
420
  // Get the existing terms and only keep the ones we don't want removed
@@ -433,6 +444,8 @@ class MetaSlider {
433
 
434
  /**
435
  * Loop over each slide and call the save action on each
 
 
436
  */
437
  private function update_slides($data) {
438
  foreach ($data as $slide_id => $fields) {
15
  /**
16
  * Constructor
17
  */
18
+ public function __construct($id, $shortcode_settings) {
19
  $this->id = $id;
20
+ $this->settings = array_merge($shortcode_settings, $this->get_settings());
21
  $this->identifier = 'metaslider_' . $this->id;
22
  $this->save();
23
  $this->populate_slides();
126
  if (!is_admin()) {
127
  return;
128
  }
129
+
130
  // make changes to slider
131
  if (isset($_POST['settings'])) {
132
+ check_admin_referer('metaslider_save_' . $this->id);
133
  $this->update_settings($_POST['settings']);
134
  }
135
  if (isset($_POST['title'])) {
136
+ check_admin_referer('metaslider_save_' . $this->id);
137
  $this->update_title($_POST['title']);
138
  }
139
  if (isset($_GET['deleteSlide'])) {
142
 
143
  // make changes to slides
144
  if (isset($_POST['attachment'])) {
145
+ check_admin_referer('metaslider_save_' . $this->id);
146
  $this->update_slides($_POST['attachment']);
147
  }
148
  }
229
  // handle any custom classes
230
  $class = apply_filters('metaslider_css_classes', $class, $this->id, $this->settings);
231
 
232
+ // default
233
+ $style = "max-width: {$this->get_setting('width')}px;";
234
+
235
  // carousels are always 100% wide
236
+ if ($this->get_setting('carouselMode') == 'true') {
 
 
237
  $style = "width: 100%;";
238
  }
239
 
240
+ // percentWidth showcode parameter takes precedence
241
+ if ($this->get_setting('percentwidth') != 'false' && $this->get_setting('percentwidth') > 0) {
242
+ $style = "width: {$this->get_setting('percentwidth')}%;";
243
+ }
244
+
245
  // center align the slideshow
246
  if ($this->get_setting('center') != 'false') {
247
  $style .= " margin: 0 auto;";
327
  if (is_array($value)) {
328
  $pairs[] = "{$key}: function() {\n "
329
  . implode("\n ", $value)
330
+ . "\n }";
331
  } else {
332
  $pairs[] = "{$key}:{$value}";
333
  }
357
  }
358
 
359
  /**
360
+ * Generate the @import rules for the inline style tag.
361
  */
362
  public function get_slider_css($css, $settings, $slider_id) {
363
  if ($slider_id != $this->id) {
375
  return $css . $imports;
376
  }
377
 
 
378
  /**
379
  * Include slider assets, JS and CSS paths are specified by child classes.
380
  */
423
 
424
  /**
425
  * Delete a slide. This doesn't actually remove the slide from WordPress, simply untags
426
+ * it from the slide taxonomy.
427
+ *
428
+ * @param int $slide_id
429
  */
430
  private function delete_slide($slide_id) {
431
  // Get the existing terms and only keep the ones we don't want removed
444
 
445
  /**
446
  * Loop over each slide and call the save action on each
447
+ *
448
+ * @param array $data - posted form data.
449
  */
450
  private function update_slides($data) {
451
  foreach ($data as $slide_id => $fields) {
inc/slider/metaslider.flex.class.php CHANGED
@@ -14,12 +14,13 @@ class MetaFlexSlider extends MetaSlider {
14
  *
15
  * @param integer $id slideshow ID
16
  */
17
- public function __construct($id) {
18
- parent::__construct($id);
19
 
20
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_carousel_mode'), 10, 2);
21
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_easing'), 10, 2);
22
  add_filter('metaslider_css', array($this, 'get_carousel_css'), 11, 3);
 
23
 
24
  $this->carousel_item_margin = apply_filters('metaslider_carousel_margin', $this->carousel_item_margin, $id);
25
  }
@@ -50,8 +51,10 @@ class MetaFlexSlider extends MetaSlider {
50
  return $options;
51
  }
52
 
 
 
53
  /**
54
- * Adjust the slider parameters so they're comparible with the carousel mode
55
  *
56
  * @param array $options
57
  * @param integer $slider_id
@@ -63,11 +66,30 @@ class MetaFlexSlider extends MetaSlider {
63
  }
64
 
65
  // we don't want this filter hanging around if there's more than one slideshow on the page
66
- remove_filter('metaslider_flex_slider_parameters', 'enable_easing');
67
 
68
  return $options;
69
  }
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  /**
72
  * Return css to ensure our slides are rendered correctly in the carousel
73
  *
@@ -81,6 +103,9 @@ class MetaFlexSlider extends MetaSlider {
81
  $css .= "\n #metaslider_{$slider_id}.flexslider li {margin-right: {$this->carousel_item_margin}px;}";
82
  }
83
 
 
 
 
84
  return $css;
85
  }
86
 
14
  *
15
  * @param integer $id slideshow ID
16
  */
17
+ public function __construct($id, $shortcode_settings) {
18
+ parent::__construct($id, $shortcode_settings);
19
 
20
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_carousel_mode'), 10, 2);
21
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_easing'), 10, 2);
22
  add_filter('metaslider_css', array($this, 'get_carousel_css'), 11, 3);
23
+ add_filter('metaslider_css_classes', array($this, 'remove_bottom_margin'), 11, 3);
24
 
25
  $this->carousel_item_margin = apply_filters('metaslider_carousel_margin', $this->carousel_item_margin, $id);
26
  }
51
  return $options;
52
  }
53
 
54
+
55
+
56
  /**
57
+ * Ensure CSS transitions are disabled when easing is enabled.
58
  *
59
  * @param array $options
60
  * @param integer $slider_id
66
  }
67
 
68
  // we don't want this filter hanging around if there's more than one slideshow on the page
69
+ remove_filter('metaslider_flex_slider_parameters', array($this, 'enable_easing'), 10, 2);
70
 
71
  return $options;
72
  }
73
 
74
+ /**
75
+ * Add a 'nav-hidden' class to slideshows where the navigation is hidden.
76
+ *
77
+ * @param string $css
78
+ * @param array $settings
79
+ * @param integer $slider_id
80
+ * @return string $css
81
+ */
82
+ public function remove_bottom_margin($class, $id, $settings) {
83
+ if (isset($settings["navigation"]) && $settings['navigation'] == 'false') {
84
+ return $class .= " nav-hidden";
85
+ }
86
+
87
+ // we don't want this filter hanging around if there's more than one slideshow on the page
88
+ remove_filter('metaslider_css_classes', array($this, 'remove_bottom_margin'), 11, 3);
89
+
90
+ return $class;
91
+ }
92
+
93
  /**
94
  * Return css to ensure our slides are rendered correctly in the carousel
95
  *
103
  $css .= "\n #metaslider_{$slider_id}.flexslider li {margin-right: {$this->carousel_item_margin}px;}";
104
  }
105
 
106
+ // we don't want this filter hanging around if there's more than one slideshow on the page
107
+ remove_filter('metaslider_css', array($this, 'get_carousel_css'), 11, 3);
108
+
109
  return $css;
110
  }
111
 
inc/slider/metaslider.nivo.class.php CHANGED
@@ -11,8 +11,8 @@ class MetaNivoSlider extends MetaSlider {
11
  /**
12
  * Constructor
13
  */
14
- public function __construct($id) {
15
- parent::__construct($id);
16
 
17
  add_filter('metaslider_nivo_slider_parameters', array($this, 'set_autoplay_parameter'), 10, 3);
18
 
11
  /**
12
  * Constructor
13
  */
14
+ public function __construct($id, $shortcode_settings) {
15
+ parent::__construct($id, $shortcode_settings);
16
 
17
  add_filter('metaslider_nivo_slider_parameters', array($this, 'set_autoplay_parameter'), 10, 3);
18
 
languages/metaslider-de_DE.mo ADDED
Binary file
languages/metaslider-de_DE.po ADDED
@@ -0,0 +1,543 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-11-12 14:42-0000\n"
5
+ "PO-Revision-Date: 2013-11-24 11:16+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: .\n"
15
+ "X-Poedit-SearchPath-1: ..\n"
16
+
17
+ #: ../ml-slider.php:99
18
+ msgid "Go Pro"
19
+ msgstr "Go Pro"
20
+
21
+ #: ../ml-slider.php:153
22
+ msgid "Image"
23
+ msgstr "Bild"
24
+
25
+ #: ../ml-slider.php:154
26
+ msgid "Add to slider"
27
+ msgstr "Hinzufügen zum Slider"
28
+
29
+ #: ../ml-slider.php:174
30
+ msgid "Post Feed"
31
+ msgstr "Beitrag Feed"
32
+
33
+ #: ../ml-slider.php:175
34
+ msgid "Vimeo"
35
+ msgstr "Vimeo"
36
+
37
+ #: ../ml-slider.php:176
38
+ msgid "YouTube"
39
+ msgstr "YouTube"
40
+
41
+ #: ../ml-slider.php:177
42
+ msgid "Layer Slide"
43
+ msgstr "Layer Slide"
44
+
45
+ #: ../ml-slider.php:232 ../inc/slide/metaslide.image.class.php:120
46
+ msgid "URL"
47
+ msgstr "URL"
48
+
49
+ #: ../ml-slider.php:233 ../inc/slide/metaslide.image.class.php:118
50
+ msgid "Caption"
51
+ msgstr "Beschriftung"
52
+
53
+ #: ../ml-slider.php:234 ../inc/slide/metaslide.image.class.php:119
54
+ msgid "New Window"
55
+ msgstr "Neues Fenster"
56
+
57
+ #: ../ml-slider.php:235
58
+ msgid "Are you sure?"
59
+ msgstr "Sind Sie sicher?"
60
+
61
+ #: ../ml-slider.php:239
62
+ msgid ""
63
+ "Caution: This setting is for advanced developers only. If you're unsure, "
64
+ "leave it checked."
65
+ msgstr ""
66
+ "Achtung: Diese Einstellung ist nur für fortgeschrittene Entwickler. Wenn Sie "
67
+ "unsicher sind, lassen Sie es sein."
68
+
69
+ #: ../ml-slider.php:275
70
+ msgid "Upgrade to Pro $19"
71
+ msgstr "Upgrade auf Pro $19"
72
+
73
+ #: ../ml-slider.php:291
74
+ msgid "Documentation"
75
+ msgstr "Dokumentation"
76
+
77
+ #: ../ml-slider.php:425
78
+ msgid "New Slider"
79
+ msgstr "Neuer Slider"
80
+
81
+ #: ../ml-slider.php:526
82
+ msgid "Version"
83
+ msgstr "Version"
84
+
85
+ #: ../ml-slider.php:527
86
+ msgid "Responsive"
87
+ msgstr "Responsive"
88
+
89
+ #: ../ml-slider.php:528 ../ml-slider.php:532
90
+ msgid "Yes"
91
+ msgstr "Ja"
92
+
93
+ #: ../ml-slider.php:528 ../ml-slider.php:532
94
+ msgid "No"
95
+ msgstr "Nein"
96
+
97
+ #: ../ml-slider.php:530 ../ml-slider.php:679
98
+ msgid "Size"
99
+ msgstr "Größe"
100
+
101
+ #: ../ml-slider.php:530
102
+ msgid "kb"
103
+ msgstr "kb"
104
+
105
+ #: ../ml-slider.php:531
106
+ msgid "Mobile Friendly"
107
+ msgstr "Handy Freundlich"
108
+
109
+ #: ../ml-slider.php:565
110
+ msgid "New slideshow created. Click 'Add Slide' to get started!"
111
+ msgstr "Neue Diashow erstellt. Klicken Sie 'Slides hinzufügen' um loszulegen!"
112
+
113
+ #: ../ml-slider.php:582
114
+ msgid "or"
115
+ msgstr "oder"
116
+
117
+ #: ../ml-slider.php:583
118
+ msgid "Add New Slideshow"
119
+ msgstr "Neue Diashow hinzufügen"
120
+
121
+ #: ../ml-slider.php:599
122
+ msgid "Create your first slideshow"
123
+ msgstr "Erstellen Sie Ihre erste Diashow"
124
+
125
+ #: ../ml-slider.php:616
126
+ msgid "Slides"
127
+ msgstr "Slides"
128
+
129
+ #: ../ml-slider.php:619 ../ml-slider.php:620
130
+ msgid "Add Slide"
131
+ msgstr "Slides hinzufügen"
132
+
133
+ #: ../ml-slider.php:639
134
+ msgid "Settings"
135
+ msgstr "Einstellungen"
136
+
137
+ #: ../ml-slider.php:640
138
+ msgid "Save"
139
+ msgstr "Speichern"
140
+
141
+ #: ../ml-slider.php:641
142
+ msgid "Save & Preview"
143
+ msgstr "Speichern & Vorschau"
144
+
145
+ #: ../ml-slider.php:669
146
+ msgid "Slideshow title"
147
+ msgstr "Diashow Titel"
148
+
149
+ #: ../ml-slider.php:670
150
+ msgid "Title"
151
+ msgstr "Titel"
152
+
153
+ #: ../ml-slider.php:678
154
+ msgid "Set the initial size for the slides (width x height)"
155
+ msgstr "Stellen Sie die Anfangsgröße für die Slider (Breite x Höhe)"
156
+
157
+ #: ../ml-slider.php:679
158
+ msgid "px"
159
+ msgstr "px"
160
+
161
+ #: ../ml-slider.php:682 ../ml-slider.php:683
162
+ msgid "Width"
163
+ msgstr "Breite"
164
+
165
+ #: ../ml-slider.php:684 ../ml-slider.php:685
166
+ msgid "Height"
167
+ msgstr "Höhe"
168
+
169
+ #: ../ml-slider.php:689
170
+ msgid "Slide transition effect"
171
+ msgstr "Diashow Übergangseffekt"
172
+
173
+ #: ../ml-slider.php:690
174
+ msgid "Effect"
175
+ msgstr "Effekt"
176
+
177
+ #: ../ml-slider.php:694 ../ml-slider.php:804
178
+ msgid "Random"
179
+ msgstr "Zufällig"
180
+
181
+ #: ../ml-slider.php:695
182
+ msgid "Swirl"
183
+ msgstr "Wirbel"
184
+
185
+ #: ../ml-slider.php:696
186
+ msgid "Rain"
187
+ msgstr "Regen"
188
+
189
+ #: ../ml-slider.php:697
190
+ msgid "Straight"
191
+ msgstr "Gerade"
192
+
193
+ #: ../ml-slider.php:698
194
+ msgid "Slide Down"
195
+ msgstr "Gleitent nach unten schieben"
196
+
197
+ #: ../ml-slider.php:699
198
+ msgid "Slice Up"
199
+ msgstr "Scheiben nach oben"
200
+
201
+ #: ../ml-slider.php:700
202
+ msgid "Slide Up Left"
203
+ msgstr "Gleitent nach Links schieben"
204
+
205
+ #: ../ml-slider.php:701
206
+ msgid "Slice Up Down"
207
+ msgstr "Scheiben von oben nach unten"
208
+
209
+ #: ../ml-slider.php:702
210
+ msgid "Slide Up Down Left"
211
+ msgstr "Gleitent von unten nach links hinauf"
212
+
213
+ #: ../ml-slider.php:703
214
+ msgid "Fold"
215
+ msgstr "in Falten legen"
216
+
217
+ #: ../ml-slider.php:704
218
+ msgid "Fade"
219
+ msgstr "Verblassen"
220
+
221
+ #: ../ml-slider.php:705
222
+ msgid "Slide In Right"
223
+ msgstr "Gleitent nach Rechts schieben"
224
+
225
+ #: ../ml-slider.php:706
226
+ msgid "Slide In Left"
227
+ msgstr "Gleitent nach Links schieben"
228
+
229
+ #: ../ml-slider.php:707
230
+ msgid "Box Random"
231
+ msgstr "Zufällige Kästchen"
232
+
233
+ #: ../ml-slider.php:708
234
+ msgid "Box Rain"
235
+ msgstr "Regen mit Kästchen"
236
+
237
+ #: ../ml-slider.php:709
238
+ msgid "Box Rain Reverse"
239
+ msgstr "Regen mit Kästchen umgekehrt"
240
+
241
+ #: ../ml-slider.php:710
242
+ msgid "Box Rain Grow Reverse"
243
+ msgstr "Regen mit Kästchen umgekehrt aufgebaut"
244
+
245
+ #: ../ml-slider.php:711
246
+ msgid "Slide"
247
+ msgstr "Gleiten"
248
+
249
+ #: ../ml-slider.php:716
250
+ msgid "Change the slider style"
251
+ msgstr "Ändern Sie das Slider Design"
252
+
253
+ #: ../ml-slider.php:717
254
+ msgid "Theme"
255
+ msgstr "Thema"
256
+
257
+ #: ../ml-slider.php:738
258
+ msgid "Controls"
259
+ msgstr "Steuerung"
260
+
261
+ #: ../ml-slider.php:741 ../ml-slider.php:755
262
+ msgid "Show slide navigation row"
263
+ msgstr "Zeige die Slide Navigationszeile"
264
+
265
+ #: ../ml-slider.php:742
266
+ msgid "Arrows"
267
+ msgstr "Pfeile"
268
+
269
+ #: ../ml-slider.php:756
270
+ msgid "Navigation"
271
+ msgstr "Navigation"
272
+
273
+ #: ../ml-slider.php:759
274
+ msgid "Hidden"
275
+ msgstr "Verstecken"
276
+
277
+ #: ../ml-slider.php:760
278
+ msgid "Dots"
279
+ msgstr "Punkte"
280
+
281
+ #: ../ml-slider.php:761
282
+ msgid "Thumbnails (Pro)"
283
+ msgstr "Thumbnails (Pro)"
284
+
285
+ #: ../ml-slider.php:768
286
+ msgid "Advanced Settings"
287
+ msgstr "Erweiterte Einstellungen"
288
+
289
+ #: ../ml-slider.php:771
290
+ msgid "Center align the slideshow"
291
+ msgstr "Die Diashow im Zentrum ausrichten."
292
+
293
+ #: ../ml-slider.php:772
294
+ msgid "Center align"
295
+ msgstr "Im Zentrum ausrichten"
296
+
297
+ #: ../ml-slider.php:779
298
+ msgid "Start the slideshow on page load"
299
+ msgstr "Starten Sie die Diashow beim Laden der Seite"
300
+
301
+ #: ../ml-slider.php:780
302
+ msgid "Auto play"
303
+ msgstr "Automatische Wiedergabe"
304
+
305
+ #: ../ml-slider.php:787
306
+ msgid ""
307
+ "Smart Crop ensures your responsive slides are cropped to a ratio that "
308
+ "results in a consistent slideshow size"
309
+ msgstr ""
310
+ "Der intelligente Zuschnitt sorgt bei den Slides für ansprechendes "
311
+ "verhältnis der Bilder. So das sie für die Diashow in der richtigen Größe "
312
+ "zugeschnitten werden, egal ob Hoch oder Querformat"
313
+
314
+ #: ../ml-slider.php:788
315
+ msgid "Smart crop"
316
+ msgstr "Intelligenter Zuschnitt"
317
+
318
+ #: ../ml-slider.php:795
319
+ msgid ""
320
+ "Display as carousel - when selected the effect and direction options will be "
321
+ "ignored."
322
+ msgstr ""
323
+ "Zeigen Sie es wie ein Karussell an - wenn gewählt, werden die Wirkungs- und "
324
+ "Richtungsoptionen ignoriert."
325
+
326
+ #: ../ml-slider.php:796
327
+ msgid "Carousel mode"
328
+ msgstr "Karussell Modus"
329
+
330
+ #: ../ml-slider.php:803
331
+ msgid "Randomise the order of the slides"
332
+ msgstr "Zufällige Reihenfolge der Slides"
333
+
334
+ #: ../ml-slider.php:811
335
+ msgid ""
336
+ "Pause the slideshow when hovering over slider, then resume when no longer "
337
+ "hovering"
338
+ msgstr ""
339
+ "Pause der Diashow bei Schweben der Maus über das Bild, sobald die Maus das "
340
+ "Bild verlässt geht die Animation weiter."
341
+
342
+ #: ../ml-slider.php:812
343
+ msgid "Hover pause"
344
+ msgstr "Schweben Pause"
345
+
346
+ #: ../ml-slider.php:819
347
+ msgid "Reverse the animation direction"
348
+ msgstr "Umgekehrter Reihenfolge der Animation"
349
+
350
+ #: ../ml-slider.php:820
351
+ msgid "Reverse"
352
+ msgstr "Rückwärts"
353
+
354
+ #: ../ml-slider.php:827
355
+ msgid "How long to display each slide, in milliseconds"
356
+ msgstr "Wie lange jeder Slide angezeigt wird, in Millisekunden"
357
+
358
+ #: ../ml-slider.php:828
359
+ msgid "Slide delay"
360
+ msgstr "Slide Verzögerung"
361
+
362
+ #: ../ml-slider.php:828 ../ml-slider.php:836 ../ml-slider.php:915
363
+ #: ../ml-slider.php:931
364
+ msgid "ms"
365
+ msgstr "ms"
366
+
367
+ #: ../ml-slider.php:835
368
+ msgid "Set the speed of animations, in milliseconds"
369
+ msgstr "Stellen Sie die Geschwindigkeit der Animationen ein, in Millisekunden"
370
+
371
+ #: ../ml-slider.php:836
372
+ msgid "Animation speed"
373
+ msgstr "Animationsgeschwindigkeit"
374
+
375
+ #: ../ml-slider.php:843
376
+ msgid "Number of squares (width x height)"
377
+ msgstr "Anzahl der Quadrate (Breite x Höhe)"
378
+
379
+ #: ../ml-slider.php:844
380
+ msgid "Number of squares"
381
+ msgstr "Anzahl der Quadrate"
382
+
383
+ #: ../ml-slider.php:852 ../ml-slider.php:853
384
+ msgid "Number of slices"
385
+ msgstr "Anzahl der Schichten"
386
+
387
+ #: ../ml-slider.php:860
388
+ msgid "Select the sliding direction"
389
+ msgstr "Wählen Sie die Richtung des Sliders"
390
+
391
+ #: ../ml-slider.php:860
392
+ msgid "Slide direction"
393
+ msgstr "Slide Richtung"
394
+
395
+ #: ../ml-slider.php:863
396
+ msgid "Horizontal"
397
+ msgstr "Horizontal"
398
+
399
+ #: ../ml-slider.php:864
400
+ msgid "Vertical"
401
+ msgstr "Vertikal"
402
+
403
+ #: ../ml-slider.php:869
404
+ msgid "Animation easing effect"
405
+ msgstr "Animations Beschleunigungseffekt"
406
+
407
+ #: ../ml-slider.php:870
408
+ msgid "Easing"
409
+ msgstr "Beschleunigung"
410
+
411
+ #: ../ml-slider.php:898
412
+ msgid "Set the text for the 'previous' direction item"
413
+ msgstr ""
414
+ "Verwenden Sie hier eine Texteingabe zur Richtungs Angabe, Beispiel: "
415
+ "Vorheriges Bild"
416
+
417
+ #: ../ml-slider.php:899
418
+ msgid "Previous text"
419
+ msgstr "Zurück (Texteingabe)"
420
+
421
+ #: ../ml-slider.php:906
422
+ msgid "Set the text for the 'next' direction item"
423
+ msgstr ""
424
+ "Verwenden Sie hier eine Texteingabe zur Richtungs Angabe, Beispiel: Nächstes "
425
+ "Bild"
426
+
427
+ #: ../ml-slider.php:907
428
+ msgid "Next text"
429
+ msgstr "Vorwärts (Texteingabe)"
430
+
431
+ #: ../ml-slider.php:914
432
+ msgid "Delay beetwen squares in ms"
433
+ msgstr "Verzögerung zwischen Quadrate in ms"
434
+
435
+ #: ../ml-slider.php:915
436
+ msgid "Square delay"
437
+ msgstr "Quadrat Verzögerung"
438
+
439
+ #: ../ml-slider.php:922
440
+ msgid "Opacity of title and navigation"
441
+ msgstr "Deckkraft von Titel und Navigation"
442
+
443
+ #: ../ml-slider.php:923
444
+ msgid "Opacity"
445
+ msgstr "Deckkraft"
446
+
447
+ #: ../ml-slider.php:930
448
+ msgid "Set the fade in speed of the caption"
449
+ msgstr ""
450
+ "Stellen Sie das verblassen(Fade) der Geschwindigkeit ein, für die "
451
+ "Beschriftung"
452
+
453
+ #: ../ml-slider.php:931
454
+ msgid "Caption speed"
455
+ msgstr "Beschriftungs Geschwindigkeit"
456
+
457
+ #: ../ml-slider.php:938
458
+ msgid "Developer Options"
459
+ msgstr "Entwickler-Optionen"
460
+
461
+ #: ../ml-slider.php:941
462
+ msgid ""
463
+ "Specify any custom CSS Classes you would like to be added to the slider "
464
+ "wrapper"
465
+ msgstr ""
466
+ "Geben Sie beliebige benutzerdefinierte CSS Klassen an und es wird zu ihren "
467
+ "Slider-Wrapper hinzugefügt werden"
468
+
469
+ #: ../ml-slider.php:942
470
+ msgid "CSS classes"
471
+ msgstr "CSS Klassen"
472
+
473
+ #: ../ml-slider.php:949 ../ml-slider.php:958
474
+ msgid "Uncheck this is you would like to include your own Javascript"
475
+ msgstr "Deaktivieren Sie dieses wenn Sie eigene Javascripts verwenden möchten"
476
+
477
+ #: ../ml-slider.php:950
478
+ msgid "Print Scripts"
479
+ msgstr "Zeige Scripts"
480
+
481
+ #: ../ml-slider.php:954
482
+ msgid "Uncheck this is you would like to include your own CSS"
483
+ msgstr ""
484
+ "Deaktivieren Sie dieses wenn Sie Ihre eigenen CSS-Style verwenden möchten"
485
+
486
+ #: ../ml-slider.php:955
487
+ msgid "CSS"
488
+ msgstr "CSS"
489
+
490
+ #: ../ml-slider.php:959
491
+ msgid "JavaScript"
492
+ msgstr "JavaScript"
493
+
494
+ #: ../ml-slider.php:965
495
+ msgid "Delete Slider"
496
+ msgstr "Lösche Slider"
497
+
498
+ #: ../ml-slider.php:974
499
+ msgid "Usage"
500
+ msgstr "Anwendung"
501
+
502
+ #: ../ml-slider.php:980
503
+ msgid "Shortcode"
504
+ msgstr "Shortcode"
505
+
506
+ #: ../ml-slider.php:986
507
+ msgid "Template Include"
508
+ msgstr "Vorlage inklusive"
509
+
510
+ #: ../inc/metaslider.widget.class.php:18
511
+ msgid "Meta Slider"
512
+ msgstr "Meta Slider"
513
+
514
+ #: ../inc/metaslider.widget.class.php:111
515
+ msgid "Title:"
516
+ msgstr "Titel:"
517
+
518
+ #: ../inc/metaslider.widget.class.php:114
519
+ msgid "Select Slider:"
520
+ msgstr "Wähle Slider:"
521
+
522
+ #: ../inc/metaslider.widget.class.php:124
523
+ msgid "No slideshows found"
524
+ msgstr "Keine Diashow gefunden"
525
+
526
+ #: ../inc/slide/metaslide.image.class.php:23
527
+ msgid "Security check failed. Refresh page and try again."
528
+ msgstr ""
529
+ "Sicherheits-Check fehlgeschlagen. Seite aktualisieren und Bitte erneut "
530
+ "versuchen."
531
+
532
+ #: ../inc/slide/metaslide.image.class.php:36
533
+ msgid "Failed to add slide. Slide already exists in slideshow."
534
+ msgstr "Fehler beim hinzufügen. Slide existiert bereits in Diashow."
535
+
536
+ #: ../inc/slide/metaslide.image.class.php:38
537
+ msgid "Failed to add slide. Slide is not of type 'image'."
538
+ msgstr "Fehler beim hinzufügen. Slide ist nicht von Typ 'Bild'."
539
+
540
+ #: ../inc/slide/metaslide.image.class.php:133
541
+ msgid "Warning: Image data does not exist. Please re-upload the image."
542
+ msgstr ""
543
+ "Warnung: Bild existiert leider nicht mehr. Bitte erneut das Bild hochladen."
languages/metaslider-es_ES.mo CHANGED
Binary file
languages/metaslider-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-10-10 15:45-0000\n"
5
- "PO-Revision-Date: 2013-10-10 15:45-0000\n"
6
  "Last-Translator: Miguel <contacto@eltipografico.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -14,39 +14,52 @@ msgstr ""
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
- #: ../ml-slider.php:93
18
  msgid "Go Pro"
19
  msgstr "Comprar versión Pro"
20
 
21
- #: ../ml-slider.php:144
22
  msgid "Image"
23
  msgstr "Imagen"
24
 
25
- #: ../ml-slider.php:145
26
  msgid "Add to slider"
27
  msgstr "Añadir al pase"
28
 
29
- #: ../ml-slider.php:164
30
- msgid "More Slide Types"
31
- msgstr "Más tipos de pases"
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
- #: ../ml-slider.php:213 ../inc/slide/metaslide.image.class.php:62
34
  msgid "URL"
35
  msgstr "URL"
36
 
37
- #: ../ml-slider.php:214 ../inc/slide/metaslide.image.class.php:60
38
  msgid "Caption"
39
  msgstr "Subtítulo"
40
 
41
- #: ../ml-slider.php:215 ../inc/slide/metaslide.image.class.php:61
42
  msgid "New Window"
43
  msgstr "Nueva ventana"
44
 
45
- #: ../ml-slider.php:216
46
  msgid "Are you sure?"
47
  msgstr "¿Estás seguro?"
48
 
49
- #: ../ml-slider.php:219
50
  msgid ""
51
  "Caution: This setting is for advanced developers only. If you're unsure, "
52
  "leave it checked."
@@ -54,250 +67,250 @@ msgstr ""
54
  "Cuidado: Estos ajustes son solo para desarrolladores avanzados. Si tienes "
55
  "dudas, déjalo marcado."
56
 
57
- #: ../ml-slider.php:256
58
  msgid "Upgrade to Pro $19"
59
  msgstr ""
60
 
61
- #: ../ml-slider.php:272
62
  msgid "Documentation"
63
  msgstr "Documentación"
64
 
65
- #: ../ml-slider.php:393
66
  msgid "New Slider"
67
  msgstr "Nuevo pase"
68
 
69
- #: ../ml-slider.php:486
70
  msgid "Version"
71
  msgstr "Versión"
72
 
73
- #: ../ml-slider.php:487
74
  msgid "Responsive"
75
  msgstr "Responsibe"
76
 
77
- #: ../ml-slider.php:488 ../ml-slider.php:492
78
  msgid "Yes"
79
  msgstr "Si"
80
 
81
- #: ../ml-slider.php:488 ../ml-slider.php:492
82
  msgid "No"
83
  msgstr "No"
84
 
85
- #: ../ml-slider.php:490 ../ml-slider.php:633
86
  msgid "Size"
87
  msgstr "Tamaño"
88
 
89
- #: ../ml-slider.php:490
90
  msgid "kb"
91
  msgstr "kb"
92
 
93
- #: ../ml-slider.php:491
94
  msgid "Mobile Friendly"
95
  msgstr "Apto para móviles"
96
 
97
- #: ../ml-slider.php:519
98
  msgid "New slideshow created. Click 'Add Slide' to get started!"
99
  msgstr ""
100
 
101
- #: ../ml-slider.php:536
102
  msgid "or"
103
  msgstr ""
104
 
105
- #: ../ml-slider.php:537
106
  #, fuzzy
107
  msgid "Add New Slideshow"
108
  msgstr "Añadir diapositiva"
109
 
110
- #: ../ml-slider.php:553
111
  #, fuzzy
112
  msgid "Create your first slideshow"
113
  msgstr "Centrar el pase de diapositvas"
114
 
115
- #: ../ml-slider.php:570
116
  msgid "Slides"
117
  msgstr "Diapositivas"
118
 
119
- #: ../ml-slider.php:573 ../ml-slider.php:574
120
  msgid "Add Slide"
121
  msgstr "Añadir diapositiva"
122
 
123
- #: ../ml-slider.php:593
124
  msgid "Settings"
125
  msgstr "Ajustes"
126
 
127
- #: ../ml-slider.php:594
128
  msgid "Save"
129
  msgstr "Guardar"
130
 
131
- #: ../ml-slider.php:595
132
  msgid "Save & Preview"
133
  msgstr "Guardar y previsualizar"
134
 
135
- #: ../ml-slider.php:623
136
  msgid "Slideshow title"
137
  msgstr ""
138
 
139
- #: ../ml-slider.php:624
140
  msgid "Title"
141
  msgstr ""
142
 
143
- #: ../ml-slider.php:632
144
  msgid "Set the initial size for the slides (width x height)"
145
  msgstr "Establecer el tamaño inicial para las dipositivas (ancho x alto)"
146
 
147
- #: ../ml-slider.php:633
148
  msgid "px"
149
  msgstr ""
150
 
151
- #: ../ml-slider.php:637
152
  msgid "Width"
153
  msgstr "Ancho"
154
 
155
- #: ../ml-slider.php:640
156
  msgid "Height"
157
  msgstr "Alto"
158
 
159
- #: ../ml-slider.php:645
160
  msgid "Slide transition effect"
161
  msgstr "Efecto de la transición entre diapositivas"
162
 
163
- #: ../ml-slider.php:646
164
  msgid "Effect"
165
  msgstr "Efecto"
166
 
167
- #: ../ml-slider.php:650 ../ml-slider.php:760
168
  msgid "Random"
169
  msgstr "Aleatorio"
170
 
171
- #: ../ml-slider.php:651
172
  msgid "Swirl"
173
  msgstr ""
174
 
175
- #: ../ml-slider.php:652
176
  msgid "Rain"
177
  msgstr ""
178
 
179
- #: ../ml-slider.php:653
180
  msgid "Straight"
181
  msgstr ""
182
 
183
- #: ../ml-slider.php:654
184
  #, fuzzy
185
  msgid "Slide Down"
186
  msgstr "Dirección del pase"
187
 
188
- #: ../ml-slider.php:655
189
  msgid "Slice Up"
190
  msgstr ""
191
 
192
- #: ../ml-slider.php:656
193
  msgid "Slide Up Left"
194
  msgstr ""
195
 
196
- #: ../ml-slider.php:657
197
  msgid "Slice Up Down"
198
  msgstr ""
199
 
200
- #: ../ml-slider.php:658
201
  msgid "Slide Up Down Left"
202
  msgstr ""
203
 
204
- #: ../ml-slider.php:659
205
  msgid "Fold"
206
  msgstr ""
207
 
208
- #: ../ml-slider.php:660
209
  msgid "Fade"
210
  msgstr ""
211
 
212
- #: ../ml-slider.php:661
213
  msgid "Slide In Right"
214
  msgstr ""
215
 
216
- #: ../ml-slider.php:662
217
  #, fuzzy
218
  msgid "Slide In Left"
219
  msgstr "Efecto de la transición entre diapositivas"
220
 
221
- #: ../ml-slider.php:663
222
  #, fuzzy
223
  msgid "Box Random"
224
  msgstr "Aleatorio"
225
 
226
- #: ../ml-slider.php:664
227
  msgid "Box Rain"
228
  msgstr ""
229
 
230
- #: ../ml-slider.php:665
231
  #, fuzzy
232
  msgid "Box Rain Reverse"
233
  msgstr "Invertir"
234
 
235
- #: ../ml-slider.php:666
236
  msgid "Box Rain Grow Reverse"
237
  msgstr ""
238
 
239
- #: ../ml-slider.php:667
240
  #, fuzzy
241
  msgid "Slide"
242
  msgstr "Diapositivas"
243
 
244
- #: ../ml-slider.php:672
245
  msgid "Change the slider style"
246
  msgstr "Cambar el estilo del pase"
247
 
248
- #: ../ml-slider.php:673
249
  msgid "Theme"
250
  msgstr "Tema"
251
 
252
- #: ../ml-slider.php:694
253
  msgid "Controls"
254
  msgstr "Controles"
255
 
256
- #: ../ml-slider.php:697 ../ml-slider.php:711
257
  msgid "Show slide navigation row"
258
  msgstr "Mostrar la barra de navegación"
259
 
260
- #: ../ml-slider.php:698
261
  msgid "Arrows"
262
  msgstr ""
263
 
264
- #: ../ml-slider.php:712
265
  msgid "Navigation"
266
  msgstr ""
267
 
268
- #: ../ml-slider.php:715
269
  msgid "Hidden"
270
  msgstr ""
271
 
272
- #: ../ml-slider.php:716
273
  msgid "Dots"
274
  msgstr ""
275
 
276
- #: ../ml-slider.php:717
277
  msgid "Thumbnails (Pro)"
278
  msgstr ""
279
 
280
- #: ../ml-slider.php:724
281
  msgid "Advanced Settings"
282
  msgstr "Ajustes avanzados"
283
 
284
- #: ../ml-slider.php:727
285
  msgid "Center align the slideshow"
286
  msgstr "Centrar el pase de diapositvas"
287
 
288
- #: ../ml-slider.php:728
289
  msgid "Center align"
290
  msgstr "Centrar"
291
 
292
- #: ../ml-slider.php:735
293
  msgid "Start the slideshow on page load"
294
  msgstr "Comenzar el pase al cargar la página"
295
 
296
- #: ../ml-slider.php:736
297
  msgid "Auto play"
298
  msgstr "Auto arranque"
299
 
300
- #: ../ml-slider.php:743
301
  msgid ""
302
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
303
  "results in a consistent slideshow size"
@@ -305,11 +318,11 @@ msgstr ""
305
  "El recorte inteligente asegura que tus pases responsive sean cortados en una "
306
  "proporción correcta"
307
 
308
- #: ../ml-slider.php:744
309
  msgid "Smart crop"
310
  msgstr "Recorte inteligente"
311
 
312
- #: ../ml-slider.php:751
313
  msgid ""
314
  "Display as carousel - when selected the effect and direction options will be "
315
  "ignored."
@@ -317,15 +330,15 @@ msgstr ""
317
  "Mostar como carrusel - Cuando lo seleccionas, los efectos y ajusttes de "
318
  "dirección son ignorados"
319
 
320
- #: ../ml-slider.php:752
321
  msgid "Carousel mode"
322
  msgstr "Modo carrusel"
323
 
324
- #: ../ml-slider.php:759
325
  msgid "Randomise the order of the slides"
326
  msgstr "Ordenar aleatoriamente las diapositivas"
327
 
328
- #: ../ml-slider.php:767
329
  msgid ""
330
  "Pause the slideshow when hovering over slider, then resume when no longer "
331
  "hovering"
@@ -333,173 +346,200 @@ msgstr ""
333
  "Pausar el pase de diapositivas cuando el ratón se pose encima y continuar "
334
  "con la reproducción cuando el ratón salga."
335
 
336
- #: ../ml-slider.php:768
337
  msgid "Hover pause"
338
  msgstr "Pausar cuando situes el ratón encima"
339
 
340
- #: ../ml-slider.php:775
341
  msgid "Reverse the animation direction"
342
  msgstr "Invertir orden de la animación"
343
 
344
- #: ../ml-slider.php:776
345
  msgid "Reverse"
346
  msgstr "Invertir"
347
 
348
- #: ../ml-slider.php:783
349
  msgid "How long to display each slide, in milliseconds"
350
  msgstr "Cuanto tiempo se muestra cada diapositiva en milisegundos"
351
 
352
- #: ../ml-slider.php:784
353
  msgid "Slide delay"
354
  msgstr "Retraso de la diapositiva"
355
 
356
- #: ../ml-slider.php:784 ../ml-slider.php:792 ../ml-slider.php:871
357
- #: ../ml-slider.php:887
358
  msgid "ms"
359
  msgstr "ms"
360
 
361
- #: ../ml-slider.php:791
362
  msgid "Set the speed of animations, in milliseconds"
363
  msgstr "Ajustar la duración de las animaciones en milisegundos"
364
 
365
- #: ../ml-slider.php:792
366
  msgid "Animation speed"
367
  msgstr "Velocidad de la animación"
368
 
369
- #: ../ml-slider.php:799
370
  msgid "Number of squares (width x height)"
371
  msgstr "Número de cuadros (ancho x alto)"
372
 
373
- #: ../ml-slider.php:800
374
  msgid "Number of squares"
375
  msgstr "Nmúero de cuadros"
376
 
377
- #: ../ml-slider.php:808 ../ml-slider.php:809
378
  msgid "Number of slices"
379
  msgstr "Número de cortes"
380
 
381
- #: ../ml-slider.php:816
382
  msgid "Select the sliding direction"
383
  msgstr "Seleccionar la dirección del pase"
384
 
385
- #: ../ml-slider.php:816
386
  msgid "Slide direction"
387
  msgstr "Dirección del pase"
388
 
389
- #: ../ml-slider.php:819
390
  msgid "Horizontal"
391
  msgstr "Horizontal"
392
 
393
- #: ../ml-slider.php:820
394
  msgid "Vertical"
395
  msgstr "Vertical"
396
 
397
- #: ../ml-slider.php:825
398
  msgid "Animation easing effect"
399
  msgstr "Efecto de la animación suavizado"
400
 
401
- #: ../ml-slider.php:826
402
  msgid "Easing"
403
  msgstr "Suavizado"
404
 
405
- #: ../ml-slider.php:854
406
  msgid "Set the text for the 'previous' direction item"
407
  msgstr "Introducir el texto de \"anterior\" en la dirección del elemento"
408
 
409
- #: ../ml-slider.php:855
410
  msgid "Previous text"
411
  msgstr "Texto \"previo\""
412
 
413
- #: ../ml-slider.php:862
414
  msgid "Set the text for the 'next' direction item"
415
  msgstr "Introducir el texto de \"siguiente\" en la dirección del elemento"
416
 
417
- #: ../ml-slider.php:863
418
  msgid "Next text"
419
  msgstr "Texto \"siguiente\""
420
 
421
- #: ../ml-slider.php:870
422
  msgid "Delay beetwen squares in ms"
423
  msgstr "Retardo entre cuadros en ms"
424
 
425
- #: ../ml-slider.php:871
426
  msgid "Square delay"
427
  msgstr "Retardo entre cuadros"
428
 
429
- #: ../ml-slider.php:878
430
  msgid "Opacity of title and navigation"
431
  msgstr "Opacidad del título y navegación"
432
 
433
- #: ../ml-slider.php:879
434
  msgid "Opacity"
435
  msgstr "Opacidad"
436
 
437
- #: ../ml-slider.php:886
438
  msgid "Set the fade in speed of the caption"
439
  msgstr "Ajustar el fundido en la velocidad del subtítulo"
440
 
441
- #: ../ml-slider.php:887
442
  msgid "Caption speed"
443
  msgstr "Velocidad del subtítulo"
444
 
445
- #: ../ml-slider.php:894
446
  msgid "Developer Options"
447
  msgstr "Opciones de desarrollador"
448
 
449
- #: ../ml-slider.php:897
450
  msgid ""
451
  "Specify any custom CSS Classes you would like to be added to the slider "
452
  "wrapper"
453
  msgstr "Añadir las clases CSS personalizadas en el pase de diapositivas"
454
 
455
- #: ../ml-slider.php:898
456
  msgid "CSS classes"
457
  msgstr "Clases CSS"
458
 
459
- #: ../ml-slider.php:905
460
- msgid "Uncheck this is you would like to include your own CSS"
461
- msgstr "Marca esta si quieres incluir tu propio CSS"
462
-
463
- #: ../ml-slider.php:906
464
- msgid "Print CSS"
465
- msgstr "Imprimir CSS"
466
-
467
- #: ../ml-slider.php:913
468
  msgid "Uncheck this is you would like to include your own Javascript"
469
  msgstr "Desmarca esto si quieres incluír tu propio javascript"
470
 
471
- #: ../ml-slider.php:914
472
- msgid "Print JS"
 
473
  msgstr "Imprimir JS"
474
 
475
- #: ../ml-slider.php:922
 
 
 
 
 
 
 
 
 
 
 
 
476
  msgid "Delete Slider"
477
  msgstr "Borrar pase"
478
 
479
- #: ../ml-slider.php:931
480
  msgid "Usage"
481
  msgstr "Uso"
482
 
483
- #: ../ml-slider.php:937
484
  msgid "Shortcode"
485
  msgstr "Shortcode"
486
 
487
- #: ../ml-slider.php:943
488
  msgid "Template Include"
489
  msgstr "Template include"
490
 
491
- #: ../inc/metaslider.widget.class.php:14
492
  msgid "Meta Slider"
493
  msgstr "Meta Slider"
494
 
495
- #: ../inc/metaslider.widget.class.php:107
496
  msgid "Title:"
497
  msgstr ""
498
 
499
- #: ../inc/metaslider.widget.class.php:110
500
  msgid "Select Slider:"
501
  msgstr "Seleccionar pase"
502
 
503
- #: ../inc/metaslider.widget.class.php:120
504
  msgid "No slideshows found"
505
  msgstr "No se han encontrado pases de diapositiva"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-11-12 14:44-0000\n"
5
+ "PO-Revision-Date: 2013-11-12 14:44-0000\n"
6
  "Last-Translator: Miguel <contacto@eltipografico.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
+ #: ../ml-slider.php:99
18
  msgid "Go Pro"
19
  msgstr "Comprar versión Pro"
20
 
21
+ #: ../ml-slider.php:153
22
  msgid "Image"
23
  msgstr "Imagen"
24
 
25
+ #: ../ml-slider.php:154
26
  msgid "Add to slider"
27
  msgstr "Añadir al pase"
28
 
29
+ #: ../ml-slider.php:174
30
+ msgid "Post Feed"
31
+ msgstr ""
32
+
33
+ #: ../ml-slider.php:175
34
+ msgid "Vimeo"
35
+ msgstr ""
36
+
37
+ #: ../ml-slider.php:176
38
+ msgid "YouTube"
39
+ msgstr ""
40
+
41
+ #: ../ml-slider.php:177
42
+ #, fuzzy
43
+ msgid "Layer Slide"
44
+ msgstr "Nuevo pase"
45
 
46
+ #: ../ml-slider.php:232 ../inc/slide/metaslide.image.class.php:120
47
  msgid "URL"
48
  msgstr "URL"
49
 
50
+ #: ../ml-slider.php:233 ../inc/slide/metaslide.image.class.php:118
51
  msgid "Caption"
52
  msgstr "Subtítulo"
53
 
54
+ #: ../ml-slider.php:234 ../inc/slide/metaslide.image.class.php:119
55
  msgid "New Window"
56
  msgstr "Nueva ventana"
57
 
58
+ #: ../ml-slider.php:235
59
  msgid "Are you sure?"
60
  msgstr "¿Estás seguro?"
61
 
62
+ #: ../ml-slider.php:239
63
  msgid ""
64
  "Caution: This setting is for advanced developers only. If you're unsure, "
65
  "leave it checked."
67
  "Cuidado: Estos ajustes son solo para desarrolladores avanzados. Si tienes "
68
  "dudas, déjalo marcado."
69
 
70
+ #: ../ml-slider.php:275
71
  msgid "Upgrade to Pro $19"
72
  msgstr ""
73
 
74
+ #: ../ml-slider.php:291
75
  msgid "Documentation"
76
  msgstr "Documentación"
77
 
78
+ #: ../ml-slider.php:425
79
  msgid "New Slider"
80
  msgstr "Nuevo pase"
81
 
82
+ #: ../ml-slider.php:526
83
  msgid "Version"
84
  msgstr "Versión"
85
 
86
+ #: ../ml-slider.php:527
87
  msgid "Responsive"
88
  msgstr "Responsibe"
89
 
90
+ #: ../ml-slider.php:528 ../ml-slider.php:532
91
  msgid "Yes"
92
  msgstr "Si"
93
 
94
+ #: ../ml-slider.php:528 ../ml-slider.php:532
95
  msgid "No"
96
  msgstr "No"
97
 
98
+ #: ../ml-slider.php:530 ../ml-slider.php:679
99
  msgid "Size"
100
  msgstr "Tamaño"
101
 
102
+ #: ../ml-slider.php:530
103
  msgid "kb"
104
  msgstr "kb"
105
 
106
+ #: ../ml-slider.php:531
107
  msgid "Mobile Friendly"
108
  msgstr "Apto para móviles"
109
 
110
+ #: ../ml-slider.php:565
111
  msgid "New slideshow created. Click 'Add Slide' to get started!"
112
  msgstr ""
113
 
114
+ #: ../ml-slider.php:582
115
  msgid "or"
116
  msgstr ""
117
 
118
+ #: ../ml-slider.php:583
119
  #, fuzzy
120
  msgid "Add New Slideshow"
121
  msgstr "Añadir diapositiva"
122
 
123
+ #: ../ml-slider.php:599
124
  #, fuzzy
125
  msgid "Create your first slideshow"
126
  msgstr "Centrar el pase de diapositvas"
127
 
128
+ #: ../ml-slider.php:616
129
  msgid "Slides"
130
  msgstr "Diapositivas"
131
 
132
+ #: ../ml-slider.php:619 ../ml-slider.php:620
133
  msgid "Add Slide"
134
  msgstr "Añadir diapositiva"
135
 
136
+ #: ../ml-slider.php:639
137
  msgid "Settings"
138
  msgstr "Ajustes"
139
 
140
+ #: ../ml-slider.php:640
141
  msgid "Save"
142
  msgstr "Guardar"
143
 
144
+ #: ../ml-slider.php:641
145
  msgid "Save & Preview"
146
  msgstr "Guardar y previsualizar"
147
 
148
+ #: ../ml-slider.php:669
149
  msgid "Slideshow title"
150
  msgstr ""
151
 
152
+ #: ../ml-slider.php:670
153
  msgid "Title"
154
  msgstr ""
155
 
156
+ #: ../ml-slider.php:678
157
  msgid "Set the initial size for the slides (width x height)"
158
  msgstr "Establecer el tamaño inicial para las dipositivas (ancho x alto)"
159
 
160
+ #: ../ml-slider.php:679
161
  msgid "px"
162
  msgstr ""
163
 
164
+ #: ../ml-slider.php:682 ../ml-slider.php:683
165
  msgid "Width"
166
  msgstr "Ancho"
167
 
168
+ #: ../ml-slider.php:684 ../ml-slider.php:685
169
  msgid "Height"
170
  msgstr "Alto"
171
 
172
+ #: ../ml-slider.php:689
173
  msgid "Slide transition effect"
174
  msgstr "Efecto de la transición entre diapositivas"
175
 
176
+ #: ../ml-slider.php:690
177
  msgid "Effect"
178
  msgstr "Efecto"
179
 
180
+ #: ../ml-slider.php:694 ../ml-slider.php:804
181
  msgid "Random"
182
  msgstr "Aleatorio"
183
 
184
+ #: ../ml-slider.php:695
185
  msgid "Swirl"
186
  msgstr ""
187
 
188
+ #: ../ml-slider.php:696
189
  msgid "Rain"
190
  msgstr ""
191
 
192
+ #: ../ml-slider.php:697
193
  msgid "Straight"
194
  msgstr ""
195
 
196
+ #: ../ml-slider.php:698
197
  #, fuzzy
198
  msgid "Slide Down"
199
  msgstr "Dirección del pase"
200
 
201
+ #: ../ml-slider.php:699
202
  msgid "Slice Up"
203
  msgstr ""
204
 
205
+ #: ../ml-slider.php:700
206
  msgid "Slide Up Left"
207
  msgstr ""
208
 
209
+ #: ../ml-slider.php:701
210
  msgid "Slice Up Down"
211
  msgstr ""
212
 
213
+ #: ../ml-slider.php:702
214
  msgid "Slide Up Down Left"
215
  msgstr ""
216
 
217
+ #: ../ml-slider.php:703
218
  msgid "Fold"
219
  msgstr ""
220
 
221
+ #: ../ml-slider.php:704
222
  msgid "Fade"
223
  msgstr ""
224
 
225
+ #: ../ml-slider.php:705
226
  msgid "Slide In Right"
227
  msgstr ""
228
 
229
+ #: ../ml-slider.php:706
230
  #, fuzzy
231
  msgid "Slide In Left"
232
  msgstr "Efecto de la transición entre diapositivas"
233
 
234
+ #: ../ml-slider.php:707
235
  #, fuzzy
236
  msgid "Box Random"
237
  msgstr "Aleatorio"
238
 
239
+ #: ../ml-slider.php:708
240
  msgid "Box Rain"
241
  msgstr ""
242
 
243
+ #: ../ml-slider.php:709
244
  #, fuzzy
245
  msgid "Box Rain Reverse"
246
  msgstr "Invertir"
247
 
248
+ #: ../ml-slider.php:710
249
  msgid "Box Rain Grow Reverse"
250
  msgstr ""
251
 
252
+ #: ../ml-slider.php:711
253
  #, fuzzy
254
  msgid "Slide"
255
  msgstr "Diapositivas"
256
 
257
+ #: ../ml-slider.php:716
258
  msgid "Change the slider style"
259
  msgstr "Cambar el estilo del pase"
260
 
261
+ #: ../ml-slider.php:717
262
  msgid "Theme"
263
  msgstr "Tema"
264
 
265
+ #: ../ml-slider.php:738
266
  msgid "Controls"
267
  msgstr "Controles"
268
 
269
+ #: ../ml-slider.php:741 ../ml-slider.php:755
270
  msgid "Show slide navigation row"
271
  msgstr "Mostrar la barra de navegación"
272
 
273
+ #: ../ml-slider.php:742
274
  msgid "Arrows"
275
  msgstr ""
276
 
277
+ #: ../ml-slider.php:756
278
  msgid "Navigation"
279
  msgstr ""
280
 
281
+ #: ../ml-slider.php:759
282
  msgid "Hidden"
283
  msgstr ""
284
 
285
+ #: ../ml-slider.php:760
286
  msgid "Dots"
287
  msgstr ""
288
 
289
+ #: ../ml-slider.php:761
290
  msgid "Thumbnails (Pro)"
291
  msgstr ""
292
 
293
+ #: ../ml-slider.php:768
294
  msgid "Advanced Settings"
295
  msgstr "Ajustes avanzados"
296
 
297
+ #: ../ml-slider.php:771
298
  msgid "Center align the slideshow"
299
  msgstr "Centrar el pase de diapositvas"
300
 
301
+ #: ../ml-slider.php:772
302
  msgid "Center align"
303
  msgstr "Centrar"
304
 
305
+ #: ../ml-slider.php:779
306
  msgid "Start the slideshow on page load"
307
  msgstr "Comenzar el pase al cargar la página"
308
 
309
+ #: ../ml-slider.php:780
310
  msgid "Auto play"
311
  msgstr "Auto arranque"
312
 
313
+ #: ../ml-slider.php:787
314
  msgid ""
315
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
316
  "results in a consistent slideshow size"
318
  "El recorte inteligente asegura que tus pases responsive sean cortados en una "
319
  "proporción correcta"
320
 
321
+ #: ../ml-slider.php:788
322
  msgid "Smart crop"
323
  msgstr "Recorte inteligente"
324
 
325
+ #: ../ml-slider.php:795
326
  msgid ""
327
  "Display as carousel - when selected the effect and direction options will be "
328
  "ignored."
330
  "Mostar como carrusel - Cuando lo seleccionas, los efectos y ajusttes de "
331
  "dirección son ignorados"
332
 
333
+ #: ../ml-slider.php:796
334
  msgid "Carousel mode"
335
  msgstr "Modo carrusel"
336
 
337
+ #: ../ml-slider.php:803
338
  msgid "Randomise the order of the slides"
339
  msgstr "Ordenar aleatoriamente las diapositivas"
340
 
341
+ #: ../ml-slider.php:811
342
  msgid ""
343
  "Pause the slideshow when hovering over slider, then resume when no longer "
344
  "hovering"
346
  "Pausar el pase de diapositivas cuando el ratón se pose encima y continuar "
347
  "con la reproducción cuando el ratón salga."
348
 
349
+ #: ../ml-slider.php:812
350
  msgid "Hover pause"
351
  msgstr "Pausar cuando situes el ratón encima"
352
 
353
+ #: ../ml-slider.php:819
354
  msgid "Reverse the animation direction"
355
  msgstr "Invertir orden de la animación"
356
 
357
+ #: ../ml-slider.php:820
358
  msgid "Reverse"
359
  msgstr "Invertir"
360
 
361
+ #: ../ml-slider.php:827
362
  msgid "How long to display each slide, in milliseconds"
363
  msgstr "Cuanto tiempo se muestra cada diapositiva en milisegundos"
364
 
365
+ #: ../ml-slider.php:828
366
  msgid "Slide delay"
367
  msgstr "Retraso de la diapositiva"
368
 
369
+ #: ../ml-slider.php:828 ../ml-slider.php:836 ../ml-slider.php:915
370
+ #: ../ml-slider.php:931
371
  msgid "ms"
372
  msgstr "ms"
373
 
374
+ #: ../ml-slider.php:835
375
  msgid "Set the speed of animations, in milliseconds"
376
  msgstr "Ajustar la duración de las animaciones en milisegundos"
377
 
378
+ #: ../ml-slider.php:836
379
  msgid "Animation speed"
380
  msgstr "Velocidad de la animación"
381
 
382
+ #: ../ml-slider.php:843
383
  msgid "Number of squares (width x height)"
384
  msgstr "Número de cuadros (ancho x alto)"
385
 
386
+ #: ../ml-slider.php:844
387
  msgid "Number of squares"
388
  msgstr "Nmúero de cuadros"
389
 
390
+ #: ../ml-slider.php:852 ../ml-slider.php:853
391
  msgid "Number of slices"
392
  msgstr "Número de cortes"
393
 
394
+ #: ../ml-slider.php:860
395
  msgid "Select the sliding direction"
396
  msgstr "Seleccionar la dirección del pase"
397
 
398
+ #: ../ml-slider.php:860
399
  msgid "Slide direction"
400
  msgstr "Dirección del pase"
401
 
402
+ #: ../ml-slider.php:863
403
  msgid "Horizontal"
404
  msgstr "Horizontal"
405
 
406
+ #: ../ml-slider.php:864
407
  msgid "Vertical"
408
  msgstr "Vertical"
409
 
410
+ #: ../ml-slider.php:869
411
  msgid "Animation easing effect"
412
  msgstr "Efecto de la animación suavizado"
413
 
414
+ #: ../ml-slider.php:870
415
  msgid "Easing"
416
  msgstr "Suavizado"
417
 
418
+ #: ../ml-slider.php:898
419
  msgid "Set the text for the 'previous' direction item"
420
  msgstr "Introducir el texto de \"anterior\" en la dirección del elemento"
421
 
422
+ #: ../ml-slider.php:899
423
  msgid "Previous text"
424
  msgstr "Texto \"previo\""
425
 
426
+ #: ../ml-slider.php:906
427
  msgid "Set the text for the 'next' direction item"
428
  msgstr "Introducir el texto de \"siguiente\" en la dirección del elemento"
429
 
430
+ #: ../ml-slider.php:907
431
  msgid "Next text"
432
  msgstr "Texto \"siguiente\""
433
 
434
+ #: ../ml-slider.php:914
435
  msgid "Delay beetwen squares in ms"
436
  msgstr "Retardo entre cuadros en ms"
437
 
438
+ #: ../ml-slider.php:915
439
  msgid "Square delay"
440
  msgstr "Retardo entre cuadros"
441
 
442
+ #: ../ml-slider.php:922
443
  msgid "Opacity of title and navigation"
444
  msgstr "Opacidad del título y navegación"
445
 
446
+ #: ../ml-slider.php:923
447
  msgid "Opacity"
448
  msgstr "Opacidad"
449
 
450
+ #: ../ml-slider.php:930
451
  msgid "Set the fade in speed of the caption"
452
  msgstr "Ajustar el fundido en la velocidad del subtítulo"
453
 
454
+ #: ../ml-slider.php:931
455
  msgid "Caption speed"
456
  msgstr "Velocidad del subtítulo"
457
 
458
+ #: ../ml-slider.php:938
459
  msgid "Developer Options"
460
  msgstr "Opciones de desarrollador"
461
 
462
+ #: ../ml-slider.php:941
463
  msgid ""
464
  "Specify any custom CSS Classes you would like to be added to the slider "
465
  "wrapper"
466
  msgstr "Añadir las clases CSS personalizadas en el pase de diapositivas"
467
 
468
+ #: ../ml-slider.php:942
469
  msgid "CSS classes"
470
  msgstr "Clases CSS"
471
 
472
+ #: ../ml-slider.php:949 ../ml-slider.php:958
 
 
 
 
 
 
 
 
473
  msgid "Uncheck this is you would like to include your own Javascript"
474
  msgstr "Desmarca esto si quieres incluír tu propio javascript"
475
 
476
+ #: ../ml-slider.php:950
477
+ #, fuzzy
478
+ msgid "Print Scripts"
479
  msgstr "Imprimir JS"
480
 
481
+ #: ../ml-slider.php:954
482
+ msgid "Uncheck this is you would like to include your own CSS"
483
+ msgstr "Marca esta si quieres incluir tu propio CSS"
484
+
485
+ #: ../ml-slider.php:955
486
+ msgid "CSS"
487
+ msgstr ""
488
+
489
+ #: ../ml-slider.php:959
490
+ msgid "JavaScript"
491
+ msgstr ""
492
+
493
+ #: ../ml-slider.php:965
494
  msgid "Delete Slider"
495
  msgstr "Borrar pase"
496
 
497
+ #: ../ml-slider.php:974
498
  msgid "Usage"
499
  msgstr "Uso"
500
 
501
+ #: ../ml-slider.php:980
502
  msgid "Shortcode"
503
  msgstr "Shortcode"
504
 
505
+ #: ../ml-slider.php:986
506
  msgid "Template Include"
507
  msgstr "Template include"
508
 
509
+ #: ../inc/metaslider.widget.class.php:18
510
  msgid "Meta Slider"
511
  msgstr "Meta Slider"
512
 
513
+ #: ../inc/metaslider.widget.class.php:111
514
  msgid "Title:"
515
  msgstr ""
516
 
517
+ #: ../inc/metaslider.widget.class.php:114
518
  msgid "Select Slider:"
519
  msgstr "Seleccionar pase"
520
 
521
+ #: ../inc/metaslider.widget.class.php:124
522
  msgid "No slideshows found"
523
  msgstr "No se han encontrado pases de diapositiva"
524
+
525
+ #: ../inc/slide/metaslide.image.class.php:23
526
+ msgid "Security check failed. Refresh page and try again."
527
+ msgstr ""
528
+
529
+ #: ../inc/slide/metaslide.image.class.php:36
530
+ msgid "Failed to add slide. Slide already exists in slideshow."
531
+ msgstr ""
532
+
533
+ #: ../inc/slide/metaslide.image.class.php:38
534
+ msgid "Failed to add slide. Slide is not of type 'image'."
535
+ msgstr ""
536
+
537
+ #: ../inc/slide/metaslide.image.class.php:133
538
+ msgid "Warning: Image data does not exist. Please re-upload the image."
539
+ msgstr ""
540
+
541
+ #~ msgid "More Slide Types"
542
+ #~ msgstr "Más tipos de pases"
543
+
544
+ #~ msgid "Print CSS"
545
+ #~ msgstr "Imprimir CSS"
languages/metaslider-fr_FR.mo CHANGED
Binary file
languages/metaslider-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-10-10 15:45-0000\n"
5
- "PO-Revision-Date: 2013-10-10 15:45-0000\n"
6
  "Last-Translator: FB-graphiklab.com <referencement@fb-graphiklab.com>\n"
7
  "Language-Team: www.fb-graphiklab.com\n"
8
  "Language: fr_FR\n"
@@ -15,288 +15,301 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: .\n"
16
  "X-Poedit-SearchPath-1: ..\n"
17
 
18
- #: ../ml-slider.php:93
19
  msgid "Go Pro"
20
  msgstr "Passer Pro"
21
 
22
- #: ../ml-slider.php:144
23
  msgid "Image"
24
  msgstr "Image"
25
 
26
- #: ../ml-slider.php:145
27
  msgid "Add to slider"
28
  msgstr "Ajouter au diaporama"
29
 
30
- #: ../ml-slider.php:164
31
- msgid "More Slide Types"
32
- msgstr "Autres types de diapositive"
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
- #: ../ml-slider.php:213 ../inc/slide/metaslide.image.class.php:62
35
  msgid "URL"
36
  msgstr "URL"
37
 
38
- #: ../ml-slider.php:214 ../inc/slide/metaslide.image.class.php:60
39
  msgid "Caption"
40
  msgstr "Légende"
41
 
42
- #: ../ml-slider.php:215 ../inc/slide/metaslide.image.class.php:61
43
  msgid "New Window"
44
  msgstr "Nouvelle fenêtre"
45
 
46
- #: ../ml-slider.php:216
47
  msgid "Are you sure?"
48
  msgstr "Êtes vous sûr ?"
49
 
50
- #: ../ml-slider.php:219
51
  msgid ""
52
  "Caution: This setting is for advanced developers only. If you're unsure, "
53
  "leave it checked."
54
  msgstr ""
55
 
56
- #: ../ml-slider.php:256
57
  msgid "Upgrade to Pro $19"
58
  msgstr ""
59
 
60
- #: ../ml-slider.php:272
61
  msgid "Documentation"
62
  msgstr "Documentation"
63
 
64
- #: ../ml-slider.php:393
65
  msgid "New Slider"
66
  msgstr "Nouveau diaporama"
67
 
68
- #: ../ml-slider.php:486
69
  msgid "Version"
70
  msgstr "Version"
71
 
72
- #: ../ml-slider.php:487
73
  msgid "Responsive"
74
  msgstr "Responsive"
75
 
76
- #: ../ml-slider.php:488 ../ml-slider.php:492
77
  msgid "Yes"
78
  msgstr "Oui"
79
 
80
- #: ../ml-slider.php:488 ../ml-slider.php:492
81
  msgid "No"
82
  msgstr "Non"
83
 
84
- #: ../ml-slider.php:490 ../ml-slider.php:633
85
  msgid "Size"
86
  msgstr "Taille"
87
 
88
- #: ../ml-slider.php:490
89
  msgid "kb"
90
  msgstr "kb"
91
 
92
- #: ../ml-slider.php:491
93
  msgid "Mobile Friendly"
94
  msgstr "Compatible Mobiles"
95
 
96
- #: ../ml-slider.php:519
97
  msgid "New slideshow created. Click 'Add Slide' to get started!"
98
  msgstr ""
99
 
100
- #: ../ml-slider.php:536
101
  msgid "or"
102
  msgstr ""
103
 
104
- #: ../ml-slider.php:537
105
  #, fuzzy
106
  msgid "Add New Slideshow"
107
  msgstr "Ajouter une diapositive"
108
 
109
- #: ../ml-slider.php:553
110
  #, fuzzy
111
  msgid "Create your first slideshow"
112
  msgstr "Alignement central du diaporama"
113
 
114
- #: ../ml-slider.php:570
115
  msgid "Slides"
116
  msgstr "Diapositives"
117
 
118
- #: ../ml-slider.php:573 ../ml-slider.php:574
119
  msgid "Add Slide"
120
  msgstr "Ajouter une diapositive"
121
 
122
- #: ../ml-slider.php:593
123
  msgid "Settings"
124
  msgstr "Paramètres"
125
 
126
- #: ../ml-slider.php:594
127
  msgid "Save"
128
  msgstr "Sauver"
129
 
130
- #: ../ml-slider.php:595
131
  msgid "Save & Preview"
132
  msgstr "Sauver & Prévisualiser"
133
 
134
- #: ../ml-slider.php:623
135
  msgid "Slideshow title"
136
  msgstr ""
137
 
138
- #: ../ml-slider.php:624
139
  msgid "Title"
140
  msgstr ""
141
 
142
- #: ../ml-slider.php:632
143
  msgid "Set the initial size for the slides (width x height)"
144
  msgstr "Définissez la taille initiale des diapositives (largeur x hauteur)"
145
 
146
- #: ../ml-slider.php:633
147
  msgid "px"
148
  msgstr ""
149
 
150
- #: ../ml-slider.php:637
151
  msgid "Width"
152
  msgstr "Largeur"
153
 
154
- #: ../ml-slider.php:640
155
  msgid "Height"
156
  msgstr "Hauteur"
157
 
158
- #: ../ml-slider.php:645
159
  msgid "Slide transition effect"
160
  msgstr "Effet de transition des diapositives"
161
 
162
- #: ../ml-slider.php:646
163
  msgid "Effect"
164
  msgstr "Effet"
165
 
166
- #: ../ml-slider.php:650 ../ml-slider.php:760
167
  msgid "Random"
168
  msgstr "Aléatoire"
169
 
170
- #: ../ml-slider.php:651
171
  msgid "Swirl"
172
  msgstr ""
173
 
174
- #: ../ml-slider.php:652
175
  msgid "Rain"
176
  msgstr ""
177
 
178
- #: ../ml-slider.php:653
179
  msgid "Straight"
180
  msgstr ""
181
 
182
- #: ../ml-slider.php:654
183
  #, fuzzy
184
  msgid "Slide Down"
185
  msgstr "Sens du défilement"
186
 
187
- #: ../ml-slider.php:655
188
  msgid "Slice Up"
189
  msgstr ""
190
 
191
- #: ../ml-slider.php:656
192
  msgid "Slide Up Left"
193
  msgstr ""
194
 
195
- #: ../ml-slider.php:657
196
  msgid "Slice Up Down"
197
  msgstr ""
198
 
199
- #: ../ml-slider.php:658
200
  msgid "Slide Up Down Left"
201
  msgstr ""
202
 
203
- #: ../ml-slider.php:659
204
  msgid "Fold"
205
  msgstr ""
206
 
207
- #: ../ml-slider.php:660
208
  msgid "Fade"
209
  msgstr ""
210
 
211
- #: ../ml-slider.php:661
212
  msgid "Slide In Right"
213
  msgstr ""
214
 
215
- #: ../ml-slider.php:662
216
  #, fuzzy
217
  msgid "Slide In Left"
218
  msgstr "Effet de transition des diapositives"
219
 
220
- #: ../ml-slider.php:663
221
  #, fuzzy
222
  msgid "Box Random"
223
  msgstr "Aléatoire"
224
 
225
- #: ../ml-slider.php:664
226
  msgid "Box Rain"
227
  msgstr ""
228
 
229
- #: ../ml-slider.php:665
230
  #, fuzzy
231
  msgid "Box Rain Reverse"
232
  msgstr "Inverser"
233
 
234
- #: ../ml-slider.php:666
235
  msgid "Box Rain Grow Reverse"
236
  msgstr ""
237
 
238
- #: ../ml-slider.php:667
239
  #, fuzzy
240
  msgid "Slide"
241
  msgstr "Diapositives"
242
 
243
- #: ../ml-slider.php:672
244
  msgid "Change the slider style"
245
  msgstr "Changer le style du diaporama"
246
 
247
- #: ../ml-slider.php:673
248
  msgid "Theme"
249
  msgstr "Thème"
250
 
251
- #: ../ml-slider.php:694
252
  msgid "Controls"
253
  msgstr "Contrôles"
254
 
255
- #: ../ml-slider.php:697 ../ml-slider.php:711
256
  msgid "Show slide navigation row"
257
  msgstr "Montrer la rangée de navigation du diaporama"
258
 
259
- #: ../ml-slider.php:698
260
  msgid "Arrows"
261
  msgstr ""
262
 
263
- #: ../ml-slider.php:712
264
  msgid "Navigation"
265
  msgstr ""
266
 
267
- #: ../ml-slider.php:715
268
  msgid "Hidden"
269
  msgstr ""
270
 
271
- #: ../ml-slider.php:716
272
  msgid "Dots"
273
  msgstr ""
274
 
275
- #: ../ml-slider.php:717
276
  msgid "Thumbnails (Pro)"
277
  msgstr ""
278
 
279
- #: ../ml-slider.php:724
280
  msgid "Advanced Settings"
281
  msgstr "Paramètres avancés"
282
 
283
- #: ../ml-slider.php:727
284
  msgid "Center align the slideshow"
285
  msgstr "Alignement central du diaporama"
286
 
287
- #: ../ml-slider.php:728
288
  msgid "Center align"
289
  msgstr "Alignement central"
290
 
291
- #: ../ml-slider.php:735
292
  msgid "Start the slideshow on page load"
293
  msgstr "Démarrer le diaporama au chargement de la page"
294
 
295
- #: ../ml-slider.php:736
296
  msgid "Auto play"
297
  msgstr "Lecture auto"
298
 
299
- #: ../ml-slider.php:743
300
  msgid ""
301
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
302
  "results in a consistent slideshow size"
@@ -305,11 +318,11 @@ msgstr ""
305
  "recadrés à un ratio qui aboutit à une taille compatible avec celle du "
306
  "diaporama"
307
 
308
- #: ../ml-slider.php:744
309
  msgid "Smart crop"
310
  msgstr "Cadrage intelligent"
311
 
312
- #: ../ml-slider.php:751
313
  msgid ""
314
  "Display as carousel - when selected the effect and direction options will be "
315
  "ignored."
@@ -317,15 +330,15 @@ msgstr ""
317
  "Afficher sous forme de carrousel - lorsque sélectionné l'effet et les "
318
  "options de direction seront ignorées."
319
 
320
- #: ../ml-slider.php:752
321
  msgid "Carousel mode"
322
  msgstr "Mode carrousel"
323
 
324
- #: ../ml-slider.php:759
325
  msgid "Randomise the order of the slides"
326
  msgstr "Aléatorisation de l'ordre des diapositives"
327
 
328
- #: ../ml-slider.php:767
329
  msgid ""
330
  "Pause the slideshow when hovering over slider, then resume when no longer "
331
  "hovering"
@@ -333,121 +346,121 @@ msgstr ""
333
  "Mettre le diaporama en pause au survol, puis reprendre lorsqu'il ne l'est "
334
  "plus"
335
 
336
- #: ../ml-slider.php:768
337
  msgid "Hover pause"
338
  msgstr "Pause au survol"
339
 
340
- #: ../ml-slider.php:775
341
  msgid "Reverse the animation direction"
342
  msgstr "Inverser le sens de l'animation"
343
 
344
- #: ../ml-slider.php:776
345
  msgid "Reverse"
346
  msgstr "Inverser"
347
 
348
- #: ../ml-slider.php:783
349
  msgid "How long to display each slide, in milliseconds"
350
  msgstr "Durée d'affichage de chaque diapositive, en millisecondes"
351
 
352
- #: ../ml-slider.php:784
353
  msgid "Slide delay"
354
  msgstr "Délai entre les diapositives"
355
 
356
- #: ../ml-slider.php:784 ../ml-slider.php:792 ../ml-slider.php:871
357
- #: ../ml-slider.php:887
358
  msgid "ms"
359
  msgstr "ms"
360
 
361
- #: ../ml-slider.php:791
362
  msgid "Set the speed of animations, in milliseconds"
363
  msgstr "Définir la vitesse des animations, en millisecondes"
364
 
365
- #: ../ml-slider.php:792
366
  msgid "Animation speed"
367
  msgstr "Vitesse d'animation"
368
 
369
- #: ../ml-slider.php:799
370
  msgid "Number of squares (width x height)"
371
  msgstr "Nombre de carrés (largeur x hauteur)"
372
 
373
- #: ../ml-slider.php:800
374
  msgid "Number of squares"
375
  msgstr "Nombre de carrés"
376
 
377
- #: ../ml-slider.php:808 ../ml-slider.php:809
378
  msgid "Number of slices"
379
  msgstr "Nombre de tranches"
380
 
381
- #: ../ml-slider.php:816
382
  msgid "Select the sliding direction"
383
  msgstr "Choisissez le sens du défilement"
384
 
385
- #: ../ml-slider.php:816
386
  msgid "Slide direction"
387
  msgstr "Sens du défilement"
388
 
389
- #: ../ml-slider.php:819
390
  msgid "Horizontal"
391
  msgstr "Horizontal"
392
 
393
- #: ../ml-slider.php:820
394
  msgid "Vertical"
395
  msgstr "Vertical"
396
 
397
- #: ../ml-slider.php:825
398
  msgid "Animation easing effect"
399
  msgstr "Effet \"easing\" de l'animation"
400
 
401
- #: ../ml-slider.php:826
402
  msgid "Easing"
403
  msgstr "Easing"
404
 
405
- #: ../ml-slider.php:854
406
  msgid "Set the text for the 'previous' direction item"
407
  msgstr "Définir le texte pour l'élément de direction «précédent»"
408
 
409
- #: ../ml-slider.php:855
410
  msgid "Previous text"
411
  msgstr "Précédent"
412
 
413
- #: ../ml-slider.php:862
414
  msgid "Set the text for the 'next' direction item"
415
  msgstr "Définir le texte pour l'élément de direction «suivant»"
416
 
417
- #: ../ml-slider.php:863
418
  msgid "Next text"
419
  msgstr "Suivant"
420
 
421
- #: ../ml-slider.php:870
422
  msgid "Delay beetwen squares in ms"
423
  msgstr "Délai entre les carrés en millisecondes"
424
 
425
- #: ../ml-slider.php:871
426
  msgid "Square delay"
427
  msgstr "Délai entre les carrés"
428
 
429
- #: ../ml-slider.php:878
430
  msgid "Opacity of title and navigation"
431
  msgstr "Opacité du titre et de la navigation"
432
 
433
- #: ../ml-slider.php:879
434
  msgid "Opacity"
435
  msgstr "Opacité"
436
 
437
- #: ../ml-slider.php:886
438
  #, fuzzy
439
  msgid "Set the fade in speed of the caption"
440
  msgstr "Régler le fondu de la vitesse de la légende"
441
 
442
- #: ../ml-slider.php:887
443
  msgid "Caption speed"
444
  msgstr "Vitesse de la légende"
445
 
446
- #: ../ml-slider.php:894
447
  msgid "Developer Options"
448
  msgstr "Options pour les développeurs"
449
 
450
- #: ../ml-slider.php:897
451
  msgid ""
452
  "Specify any custom CSS Classes you would like to be added to the slider "
453
  "wrapper"
@@ -455,57 +468,84 @@ msgstr ""
455
  "Spécifiez des classes CSS personnalisés que vous souhaitez ajouter à "
456
  "l'enveloppe (wrapper) du diaporama"
457
 
458
- #: ../ml-slider.php:898
459
  msgid "CSS classes"
460
  msgstr "Classes CSS"
461
 
462
- #: ../ml-slider.php:905
463
- msgid "Uncheck this is you would like to include your own CSS"
464
- msgstr "Décochez ceci si vous souhaitez inclure votre propre CSS"
465
-
466
- #: ../ml-slider.php:906
467
- msgid "Print CSS"
468
- msgstr "Imprimer CSS"
469
-
470
- #: ../ml-slider.php:913
471
  msgid "Uncheck this is you would like to include your own Javascript"
472
  msgstr "Décochez ceci si vous souhaitez inclure votre propre Javascript"
473
 
474
- #: ../ml-slider.php:914
475
- msgid "Print JS"
 
476
  msgstr "Imprimer JS"
477
 
478
- #: ../ml-slider.php:922
 
 
 
 
 
 
 
 
 
 
 
 
479
  msgid "Delete Slider"
480
  msgstr "Effacer diaporama"
481
 
482
- #: ../ml-slider.php:931
483
  msgid "Usage"
484
  msgstr "Utilisation"
485
 
486
- #: ../ml-slider.php:937
487
  msgid "Shortcode"
488
  msgstr "Shortcode"
489
 
490
- #: ../ml-slider.php:943
491
  msgid "Template Include"
492
  msgstr "Inclusion template"
493
 
494
- #: ../inc/metaslider.widget.class.php:14
495
  msgid "Meta Slider"
496
  msgstr "Meta Slider"
497
 
498
- #: ../inc/metaslider.widget.class.php:107
499
  msgid "Title:"
500
  msgstr ""
501
 
502
- #: ../inc/metaslider.widget.class.php:110
503
  msgid "Select Slider:"
504
  msgstr ""
505
 
506
- #: ../inc/metaslider.widget.class.php:120
507
  msgid "No slideshows found"
508
  msgstr ""
509
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
510
  #~ msgid "Support Meta Slider"
511
  #~ msgstr "Soutenir Meta Slider"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-11-12 14:43-0000\n"
5
+ "PO-Revision-Date: 2013-11-12 14:43-0000\n"
6
  "Last-Translator: FB-graphiklab.com <referencement@fb-graphiklab.com>\n"
7
  "Language-Team: www.fb-graphiklab.com\n"
8
  "Language: fr_FR\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
  "X-Poedit-SearchPath-1: ..\n"
17
 
18
+ #: ../ml-slider.php:99
19
  msgid "Go Pro"
20
  msgstr "Passer Pro"
21
 
22
+ #: ../ml-slider.php:153
23
  msgid "Image"
24
  msgstr "Image"
25
 
26
+ #: ../ml-slider.php:154
27
  msgid "Add to slider"
28
  msgstr "Ajouter au diaporama"
29
 
30
+ #: ../ml-slider.php:174
31
+ msgid "Post Feed"
32
+ msgstr ""
33
+
34
+ #: ../ml-slider.php:175
35
+ msgid "Vimeo"
36
+ msgstr ""
37
+
38
+ #: ../ml-slider.php:176
39
+ msgid "YouTube"
40
+ msgstr ""
41
+
42
+ #: ../ml-slider.php:177
43
+ #, fuzzy
44
+ msgid "Layer Slide"
45
+ msgstr "Nouveau diaporama"
46
 
47
+ #: ../ml-slider.php:232 ../inc/slide/metaslide.image.class.php:120
48
  msgid "URL"
49
  msgstr "URL"
50
 
51
+ #: ../ml-slider.php:233 ../inc/slide/metaslide.image.class.php:118
52
  msgid "Caption"
53
  msgstr "Légende"
54
 
55
+ #: ../ml-slider.php:234 ../inc/slide/metaslide.image.class.php:119
56
  msgid "New Window"
57
  msgstr "Nouvelle fenêtre"
58
 
59
+ #: ../ml-slider.php:235
60
  msgid "Are you sure?"
61
  msgstr "Êtes vous sûr ?"
62
 
63
+ #: ../ml-slider.php:239
64
  msgid ""
65
  "Caution: This setting is for advanced developers only. If you're unsure, "
66
  "leave it checked."
67
  msgstr ""
68
 
69
+ #: ../ml-slider.php:275
70
  msgid "Upgrade to Pro $19"
71
  msgstr ""
72
 
73
+ #: ../ml-slider.php:291
74
  msgid "Documentation"
75
  msgstr "Documentation"
76
 
77
+ #: ../ml-slider.php:425
78
  msgid "New Slider"
79
  msgstr "Nouveau diaporama"
80
 
81
+ #: ../ml-slider.php:526
82
  msgid "Version"
83
  msgstr "Version"
84
 
85
+ #: ../ml-slider.php:527
86
  msgid "Responsive"
87
  msgstr "Responsive"
88
 
89
+ #: ../ml-slider.php:528 ../ml-slider.php:532
90
  msgid "Yes"
91
  msgstr "Oui"
92
 
93
+ #: ../ml-slider.php:528 ../ml-slider.php:532
94
  msgid "No"
95
  msgstr "Non"
96
 
97
+ #: ../ml-slider.php:530 ../ml-slider.php:679
98
  msgid "Size"
99
  msgstr "Taille"
100
 
101
+ #: ../ml-slider.php:530
102
  msgid "kb"
103
  msgstr "kb"
104
 
105
+ #: ../ml-slider.php:531
106
  msgid "Mobile Friendly"
107
  msgstr "Compatible Mobiles"
108
 
109
+ #: ../ml-slider.php:565
110
  msgid "New slideshow created. Click 'Add Slide' to get started!"
111
  msgstr ""
112
 
113
+ #: ../ml-slider.php:582
114
  msgid "or"
115
  msgstr ""
116
 
117
+ #: ../ml-slider.php:583
118
  #, fuzzy
119
  msgid "Add New Slideshow"
120
  msgstr "Ajouter une diapositive"
121
 
122
+ #: ../ml-slider.php:599
123
  #, fuzzy
124
  msgid "Create your first slideshow"
125
  msgstr "Alignement central du diaporama"
126
 
127
+ #: ../ml-slider.php:616
128
  msgid "Slides"
129
  msgstr "Diapositives"
130
 
131
+ #: ../ml-slider.php:619 ../ml-slider.php:620
132
  msgid "Add Slide"
133
  msgstr "Ajouter une diapositive"
134
 
135
+ #: ../ml-slider.php:639
136
  msgid "Settings"
137
  msgstr "Paramètres"
138
 
139
+ #: ../ml-slider.php:640
140
  msgid "Save"
141
  msgstr "Sauver"
142
 
143
+ #: ../ml-slider.php:641
144
  msgid "Save & Preview"
145
  msgstr "Sauver & Prévisualiser"
146
 
147
+ #: ../ml-slider.php:669
148
  msgid "Slideshow title"
149
  msgstr ""
150
 
151
+ #: ../ml-slider.php:670
152
  msgid "Title"
153
  msgstr ""
154
 
155
+ #: ../ml-slider.php:678
156
  msgid "Set the initial size for the slides (width x height)"
157
  msgstr "Définissez la taille initiale des diapositives (largeur x hauteur)"
158
 
159
+ #: ../ml-slider.php:679
160
  msgid "px"
161
  msgstr ""
162
 
163
+ #: ../ml-slider.php:682 ../ml-slider.php:683
164
  msgid "Width"
165
  msgstr "Largeur"
166
 
167
+ #: ../ml-slider.php:684 ../ml-slider.php:685
168
  msgid "Height"
169
  msgstr "Hauteur"
170
 
171
+ #: ../ml-slider.php:689
172
  msgid "Slide transition effect"
173
  msgstr "Effet de transition des diapositives"
174
 
175
+ #: ../ml-slider.php:690
176
  msgid "Effect"
177
  msgstr "Effet"
178
 
179
+ #: ../ml-slider.php:694 ../ml-slider.php:804
180
  msgid "Random"
181
  msgstr "Aléatoire"
182
 
183
+ #: ../ml-slider.php:695
184
  msgid "Swirl"
185
  msgstr ""
186
 
187
+ #: ../ml-slider.php:696
188
  msgid "Rain"
189
  msgstr ""
190
 
191
+ #: ../ml-slider.php:697
192
  msgid "Straight"
193
  msgstr ""
194
 
195
+ #: ../ml-slider.php:698
196
  #, fuzzy
197
  msgid "Slide Down"
198
  msgstr "Sens du défilement"
199
 
200
+ #: ../ml-slider.php:699
201
  msgid "Slice Up"
202
  msgstr ""
203
 
204
+ #: ../ml-slider.php:700
205
  msgid "Slide Up Left"
206
  msgstr ""
207
 
208
+ #: ../ml-slider.php:701
209
  msgid "Slice Up Down"
210
  msgstr ""
211
 
212
+ #: ../ml-slider.php:702
213
  msgid "Slide Up Down Left"
214
  msgstr ""
215
 
216
+ #: ../ml-slider.php:703
217
  msgid "Fold"
218
  msgstr ""
219
 
220
+ #: ../ml-slider.php:704
221
  msgid "Fade"
222
  msgstr ""
223
 
224
+ #: ../ml-slider.php:705
225
  msgid "Slide In Right"
226
  msgstr ""
227
 
228
+ #: ../ml-slider.php:706
229
  #, fuzzy
230
  msgid "Slide In Left"
231
  msgstr "Effet de transition des diapositives"
232
 
233
+ #: ../ml-slider.php:707
234
  #, fuzzy
235
  msgid "Box Random"
236
  msgstr "Aléatoire"
237
 
238
+ #: ../ml-slider.php:708
239
  msgid "Box Rain"
240
  msgstr ""
241
 
242
+ #: ../ml-slider.php:709
243
  #, fuzzy
244
  msgid "Box Rain Reverse"
245
  msgstr "Inverser"
246
 
247
+ #: ../ml-slider.php:710
248
  msgid "Box Rain Grow Reverse"
249
  msgstr ""
250
 
251
+ #: ../ml-slider.php:711
252
  #, fuzzy
253
  msgid "Slide"
254
  msgstr "Diapositives"
255
 
256
+ #: ../ml-slider.php:716
257
  msgid "Change the slider style"
258
  msgstr "Changer le style du diaporama"
259
 
260
+ #: ../ml-slider.php:717
261
  msgid "Theme"
262
  msgstr "Thème"
263
 
264
+ #: ../ml-slider.php:738
265
  msgid "Controls"
266
  msgstr "Contrôles"
267
 
268
+ #: ../ml-slider.php:741 ../ml-slider.php:755
269
  msgid "Show slide navigation row"
270
  msgstr "Montrer la rangée de navigation du diaporama"
271
 
272
+ #: ../ml-slider.php:742
273
  msgid "Arrows"
274
  msgstr ""
275
 
276
+ #: ../ml-slider.php:756
277
  msgid "Navigation"
278
  msgstr ""
279
 
280
+ #: ../ml-slider.php:759
281
  msgid "Hidden"
282
  msgstr ""
283
 
284
+ #: ../ml-slider.php:760
285
  msgid "Dots"
286
  msgstr ""
287
 
288
+ #: ../ml-slider.php:761
289
  msgid "Thumbnails (Pro)"
290
  msgstr ""
291
 
292
+ #: ../ml-slider.php:768
293
  msgid "Advanced Settings"
294
  msgstr "Paramètres avancés"
295
 
296
+ #: ../ml-slider.php:771
297
  msgid "Center align the slideshow"
298
  msgstr "Alignement central du diaporama"
299
 
300
+ #: ../ml-slider.php:772
301
  msgid "Center align"
302
  msgstr "Alignement central"
303
 
304
+ #: ../ml-slider.php:779
305
  msgid "Start the slideshow on page load"
306
  msgstr "Démarrer le diaporama au chargement de la page"
307
 
308
+ #: ../ml-slider.php:780
309
  msgid "Auto play"
310
  msgstr "Lecture auto"
311
 
312
+ #: ../ml-slider.php:787
313
  msgid ""
314
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
315
  "results in a consistent slideshow size"
318
  "recadrés à un ratio qui aboutit à une taille compatible avec celle du "
319
  "diaporama"
320
 
321
+ #: ../ml-slider.php:788
322
  msgid "Smart crop"
323
  msgstr "Cadrage intelligent"
324
 
325
+ #: ../ml-slider.php:795
326
  msgid ""
327
  "Display as carousel - when selected the effect and direction options will be "
328
  "ignored."
330
  "Afficher sous forme de carrousel - lorsque sélectionné l'effet et les "
331
  "options de direction seront ignorées."
332
 
333
+ #: ../ml-slider.php:796
334
  msgid "Carousel mode"
335
  msgstr "Mode carrousel"
336
 
337
+ #: ../ml-slider.php:803
338
  msgid "Randomise the order of the slides"
339
  msgstr "Aléatorisation de l'ordre des diapositives"
340
 
341
+ #: ../ml-slider.php:811
342
  msgid ""
343
  "Pause the slideshow when hovering over slider, then resume when no longer "
344
  "hovering"
346
  "Mettre le diaporama en pause au survol, puis reprendre lorsqu'il ne l'est "
347
  "plus"
348
 
349
+ #: ../ml-slider.php:812
350
  msgid "Hover pause"
351
  msgstr "Pause au survol"
352
 
353
+ #: ../ml-slider.php:819
354
  msgid "Reverse the animation direction"
355
  msgstr "Inverser le sens de l'animation"
356
 
357
+ #: ../ml-slider.php:820
358
  msgid "Reverse"
359
  msgstr "Inverser"
360
 
361
+ #: ../ml-slider.php:827
362
  msgid "How long to display each slide, in milliseconds"
363
  msgstr "Durée d'affichage de chaque diapositive, en millisecondes"
364
 
365
+ #: ../ml-slider.php:828
366
  msgid "Slide delay"
367
  msgstr "Délai entre les diapositives"
368
 
369
+ #: ../ml-slider.php:828 ../ml-slider.php:836 ../ml-slider.php:915
370
+ #: ../ml-slider.php:931
371
  msgid "ms"
372
  msgstr "ms"
373
 
374
+ #: ../ml-slider.php:835
375
  msgid "Set the speed of animations, in milliseconds"
376
  msgstr "Définir la vitesse des animations, en millisecondes"
377
 
378
+ #: ../ml-slider.php:836
379
  msgid "Animation speed"
380
  msgstr "Vitesse d'animation"
381
 
382
+ #: ../ml-slider.php:843
383
  msgid "Number of squares (width x height)"
384
  msgstr "Nombre de carrés (largeur x hauteur)"
385
 
386
+ #: ../ml-slider.php:844
387
  msgid "Number of squares"
388
  msgstr "Nombre de carrés"
389
 
390
+ #: ../ml-slider.php:852 ../ml-slider.php:853
391
  msgid "Number of slices"
392
  msgstr "Nombre de tranches"
393
 
394
+ #: ../ml-slider.php:860
395
  msgid "Select the sliding direction"
396
  msgstr "Choisissez le sens du défilement"
397
 
398
+ #: ../ml-slider.php:860
399
  msgid "Slide direction"
400
  msgstr "Sens du défilement"
401
 
402
+ #: ../ml-slider.php:863
403
  msgid "Horizontal"
404
  msgstr "Horizontal"
405
 
406
+ #: ../ml-slider.php:864
407
  msgid "Vertical"
408
  msgstr "Vertical"
409
 
410
+ #: ../ml-slider.php:869
411
  msgid "Animation easing effect"
412
  msgstr "Effet \"easing\" de l'animation"
413
 
414
+ #: ../ml-slider.php:870
415
  msgid "Easing"
416
  msgstr "Easing"
417
 
418
+ #: ../ml-slider.php:898
419
  msgid "Set the text for the 'previous' direction item"
420
  msgstr "Définir le texte pour l'élément de direction «précédent»"
421
 
422
+ #: ../ml-slider.php:899
423
  msgid "Previous text"
424
  msgstr "Précédent"
425
 
426
+ #: ../ml-slider.php:906
427
  msgid "Set the text for the 'next' direction item"
428
  msgstr "Définir le texte pour l'élément de direction «suivant»"
429
 
430
+ #: ../ml-slider.php:907
431
  msgid "Next text"
432
  msgstr "Suivant"
433
 
434
+ #: ../ml-slider.php:914
435
  msgid "Delay beetwen squares in ms"
436
  msgstr "Délai entre les carrés en millisecondes"
437
 
438
+ #: ../ml-slider.php:915
439
  msgid "Square delay"
440
  msgstr "Délai entre les carrés"
441
 
442
+ #: ../ml-slider.php:922
443
  msgid "Opacity of title and navigation"
444
  msgstr "Opacité du titre et de la navigation"
445
 
446
+ #: ../ml-slider.php:923
447
  msgid "Opacity"
448
  msgstr "Opacité"
449
 
450
+ #: ../ml-slider.php:930
451
  #, fuzzy
452
  msgid "Set the fade in speed of the caption"
453
  msgstr "Régler le fondu de la vitesse de la légende"
454
 
455
+ #: ../ml-slider.php:931
456
  msgid "Caption speed"
457
  msgstr "Vitesse de la légende"
458
 
459
+ #: ../ml-slider.php:938
460
  msgid "Developer Options"
461
  msgstr "Options pour les développeurs"
462
 
463
+ #: ../ml-slider.php:941
464
  msgid ""
465
  "Specify any custom CSS Classes you would like to be added to the slider "
466
  "wrapper"
468
  "Spécifiez des classes CSS personnalisés que vous souhaitez ajouter à "
469
  "l'enveloppe (wrapper) du diaporama"
470
 
471
+ #: ../ml-slider.php:942
472
  msgid "CSS classes"
473
  msgstr "Classes CSS"
474
 
475
+ #: ../ml-slider.php:949 ../ml-slider.php:958
 
 
 
 
 
 
 
 
476
  msgid "Uncheck this is you would like to include your own Javascript"
477
  msgstr "Décochez ceci si vous souhaitez inclure votre propre Javascript"
478
 
479
+ #: ../ml-slider.php:950
480
+ #, fuzzy
481
+ msgid "Print Scripts"
482
  msgstr "Imprimer JS"
483
 
484
+ #: ../ml-slider.php:954
485
+ msgid "Uncheck this is you would like to include your own CSS"
486
+ msgstr "Décochez ceci si vous souhaitez inclure votre propre CSS"
487
+
488
+ #: ../ml-slider.php:955
489
+ msgid "CSS"
490
+ msgstr ""
491
+
492
+ #: ../ml-slider.php:959
493
+ msgid "JavaScript"
494
+ msgstr ""
495
+
496
+ #: ../ml-slider.php:965
497
  msgid "Delete Slider"
498
  msgstr "Effacer diaporama"
499
 
500
+ #: ../ml-slider.php:974
501
  msgid "Usage"
502
  msgstr "Utilisation"
503
 
504
+ #: ../ml-slider.php:980
505
  msgid "Shortcode"
506
  msgstr "Shortcode"
507
 
508
+ #: ../ml-slider.php:986
509
  msgid "Template Include"
510
  msgstr "Inclusion template"
511
 
512
+ #: ../inc/metaslider.widget.class.php:18
513
  msgid "Meta Slider"
514
  msgstr "Meta Slider"
515
 
516
+ #: ../inc/metaslider.widget.class.php:111
517
  msgid "Title:"
518
  msgstr ""
519
 
520
+ #: ../inc/metaslider.widget.class.php:114
521
  msgid "Select Slider:"
522
  msgstr ""
523
 
524
+ #: ../inc/metaslider.widget.class.php:124
525
  msgid "No slideshows found"
526
  msgstr ""
527
 
528
+ #: ../inc/slide/metaslide.image.class.php:23
529
+ msgid "Security check failed. Refresh page and try again."
530
+ msgstr ""
531
+
532
+ #: ../inc/slide/metaslide.image.class.php:36
533
+ msgid "Failed to add slide. Slide already exists in slideshow."
534
+ msgstr ""
535
+
536
+ #: ../inc/slide/metaslide.image.class.php:38
537
+ msgid "Failed to add slide. Slide is not of type 'image'."
538
+ msgstr ""
539
+
540
+ #: ../inc/slide/metaslide.image.class.php:133
541
+ msgid "Warning: Image data does not exist. Please re-upload the image."
542
+ msgstr ""
543
+
544
+ #~ msgid "More Slide Types"
545
+ #~ msgstr "Autres types de diapositive"
546
+
547
+ #~ msgid "Print CSS"
548
+ #~ msgstr "Imprimer CSS"
549
+
550
  #~ msgid "Support Meta Slider"
551
  #~ msgstr "Soutenir Meta Slider"
languages/metaslider-pl_PL.mo CHANGED
Binary file
languages/metaslider-pl_PL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-10-10 15:45-0000\n"
5
- "PO-Revision-Date: 2013-10-10 15:46-0000\n"
6
  "Last-Translator: Kamil <dinal.shirts@gmail.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -14,39 +14,52 @@ msgstr ""
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
- #: ../ml-slider.php:93
18
  msgid "Go Pro"
19
  msgstr "Zaktualizuj do wersji PRO"
20
 
21
- #: ../ml-slider.php:144
22
  msgid "Image"
23
  msgstr "Zdjęcie"
24
 
25
- #: ../ml-slider.php:145
26
  msgid "Add to slider"
27
  msgstr "Dodaj do slidera"
28
 
29
- #: ../ml-slider.php:164
30
- msgid "More Slide Types"
31
- msgstr "Więcej typów slideów"
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
- #: ../ml-slider.php:213 ../inc/slide/metaslide.image.class.php:62
34
  msgid "URL"
35
  msgstr "URL"
36
 
37
- #: ../ml-slider.php:214 ../inc/slide/metaslide.image.class.php:60
38
  msgid "Caption"
39
  msgstr "Podpis"
40
 
41
- #: ../ml-slider.php:215 ../inc/slide/metaslide.image.class.php:61
42
  msgid "New Window"
43
  msgstr "Nowe okno"
44
 
45
- #: ../ml-slider.php:216
46
  msgid "Are you sure?"
47
  msgstr "Na pewno?"
48
 
49
- #: ../ml-slider.php:219
50
  msgid ""
51
  "Caution: This setting is for advanced developers only. If you're unsure, "
52
  "leave it checked."
@@ -54,256 +67,256 @@ msgstr ""
54
  "Uwaga: Ta opcja jest tylko dla zaawansowanych użytkowników. Jeśli nie jesteś "
55
  "pewny co robisz, nie rób tego."
56
 
57
- #: ../ml-slider.php:256
58
  msgid "Upgrade to Pro $19"
59
  msgstr "Zaktualizuj do wersji Pro za $19"
60
 
61
- #: ../ml-slider.php:272
62
  msgid "Documentation"
63
  msgstr "Dokumentacja"
64
 
65
- #: ../ml-slider.php:393
66
  msgid "New Slider"
67
  msgstr "Nowy slider"
68
 
69
- #: ../ml-slider.php:486
70
  msgid "Version"
71
  msgstr "Wersja"
72
 
73
- #: ../ml-slider.php:487
74
  msgid "Responsive"
75
  msgstr "Responsywny"
76
 
77
- #: ../ml-slider.php:488 ../ml-slider.php:492
78
  msgid "Yes"
79
  msgstr "Tak"
80
 
81
- #: ../ml-slider.php:488 ../ml-slider.php:492
82
  msgid "No"
83
  msgstr "Nie"
84
 
85
- #: ../ml-slider.php:490 ../ml-slider.php:633
86
  msgid "Size"
87
  msgstr "Rozmiar"
88
 
89
- #: ../ml-slider.php:490
90
  msgid "kb"
91
  msgstr "kb"
92
 
93
- #: ../ml-slider.php:491
94
  msgid "Mobile Friendly"
95
  msgstr "Przystosowane do wersji mobilnej"
96
 
97
- #: ../ml-slider.php:519
98
  msgid "New slideshow created. Click 'Add Slide' to get started!"
99
  msgstr ""
100
 
101
- #: ../ml-slider.php:536
102
  msgid "or"
103
  msgstr ""
104
 
105
- #: ../ml-slider.php:537
106
  #, fuzzy
107
  msgid "Add New Slideshow"
108
  msgstr "Dodaj slajd"
109
 
110
- #: ../ml-slider.php:553
111
  #, fuzzy
112
  msgid "Create your first slideshow"
113
  msgstr "Wyśrodkuj pokaz slajdów"
114
 
115
- #: ../ml-slider.php:570
116
  msgid "Slides"
117
  msgstr "Slajdy"
118
 
119
- #: ../ml-slider.php:573 ../ml-slider.php:574
120
  msgid "Add Slide"
121
  msgstr "Dodaj slajd"
122
 
123
- #: ../ml-slider.php:593
124
  msgid "Settings"
125
  msgstr "Ustawienia"
126
 
127
- #: ../ml-slider.php:594
128
  msgid "Save"
129
  msgstr "Zapisz"
130
 
131
- #: ../ml-slider.php:595
132
  msgid "Save & Preview"
133
  msgstr "Zapisz i pokaż"
134
 
135
- #: ../ml-slider.php:623
136
  msgid "Slideshow title"
137
  msgstr ""
138
 
139
- #: ../ml-slider.php:624
140
  #, fuzzy
141
  msgid "Title"
142
  msgstr "Tytuł:"
143
 
144
- #: ../ml-slider.php:632
145
  msgid "Set the initial size for the slides (width x height)"
146
  msgstr "Ustaw początkowy rozmiar slajdów (szerokośc x wysokość)"
147
 
148
- #: ../ml-slider.php:633
149
  msgid "px"
150
  msgstr ""
151
 
152
- #: ../ml-slider.php:637
153
  msgid "Width"
154
  msgstr "Szerokośc"
155
 
156
- #: ../ml-slider.php:640
157
  msgid "Height"
158
  msgstr "Wysokość"
159
 
160
- #: ../ml-slider.php:645
161
  msgid "Slide transition effect"
162
  msgstr "Efekt przenikania slajdów"
163
 
164
- #: ../ml-slider.php:646
165
  msgid "Effect"
166
  msgstr "Efekt"
167
 
168
- #: ../ml-slider.php:650 ../ml-slider.php:760
169
  msgid "Random"
170
  msgstr "Losowo"
171
 
172
- #: ../ml-slider.php:651
173
  msgid "Swirl"
174
  msgstr "Wirowanie"
175
 
176
- #: ../ml-slider.php:652
177
  msgid "Rain"
178
  msgstr "Deszcz"
179
 
180
- #: ../ml-slider.php:653
181
  msgid "Straight"
182
  msgstr "Sekwens"
183
 
184
- #: ../ml-slider.php:654
185
  msgid "Slide Down"
186
  msgstr "Od dołu"
187
 
188
- #: ../ml-slider.php:655
189
  msgid "Slice Up"
190
  msgstr "Paski od góry"
191
 
192
- #: ../ml-slider.php:656
193
  msgid "Slide Up Left"
194
  msgstr "Paski od lewej"
195
 
196
- #: ../ml-slider.php:657
197
  msgid "Slice Up Down"
198
  msgstr "Paski od dołu"
199
 
200
- #: ../ml-slider.php:658
201
  msgid "Slide Up Down Left"
202
  msgstr "Paski od dołu i lewej"
203
 
204
- #: ../ml-slider.php:659
205
  msgid "Fold"
206
  msgstr "Składanie"
207
 
208
- #: ../ml-slider.php:660
209
  msgid "Fade"
210
  msgstr "Zanikanie"
211
 
212
- #: ../ml-slider.php:661
213
  msgid "Slide In Right"
214
  msgstr "Wjeżdżanie od prawej"
215
 
216
- #: ../ml-slider.php:662
217
  msgid "Slide In Left"
218
  msgstr "Wjeżdżanie od lewej"
219
 
220
- #: ../ml-slider.php:663
221
  msgid "Box Random"
222
  msgstr ""
223
 
224
- #: ../ml-slider.php:664
225
  msgid "Box Rain"
226
  msgstr ""
227
 
228
- #: ../ml-slider.php:665
229
  msgid "Box Rain Reverse"
230
  msgstr ""
231
 
232
- #: ../ml-slider.php:666
233
  msgid "Box Rain Grow Reverse"
234
  msgstr ""
235
 
236
- #: ../ml-slider.php:667
237
  msgid "Slide"
238
  msgstr "Slajd"
239
 
240
- #: ../ml-slider.php:672
241
  msgid "Change the slider style"
242
  msgstr "Zmień styl slajdera"
243
 
244
- #: ../ml-slider.php:673
245
  msgid "Theme"
246
  msgstr "Szablon"
247
 
248
- #: ../ml-slider.php:694
249
  msgid "Controls"
250
  msgstr "Kontrolery"
251
 
252
- #: ../ml-slider.php:697 ../ml-slider.php:711
253
  msgid "Show slide navigation row"
254
  msgstr "Pokaż pasek nawigacji slajdami"
255
 
256
- #: ../ml-slider.php:698
257
  msgid "Arrows"
258
  msgstr ""
259
 
260
- #: ../ml-slider.php:712
261
  msgid "Navigation"
262
  msgstr "Nawigacja"
263
 
264
- #: ../ml-slider.php:715
265
  msgid "Hidden"
266
  msgstr ""
267
 
268
- #: ../ml-slider.php:716
269
  msgid "Dots"
270
  msgstr ""
271
 
272
- #: ../ml-slider.php:717
273
  msgid "Thumbnails (Pro)"
274
  msgstr ""
275
 
276
- #: ../ml-slider.php:724
277
  msgid "Advanced Settings"
278
  msgstr "Ustawienia zaawansowane"
279
 
280
- #: ../ml-slider.php:727
281
  msgid "Center align the slideshow"
282
  msgstr "Wyśrodkuj pokaz slajdów"
283
 
284
- #: ../ml-slider.php:728
285
  msgid "Center align"
286
  msgstr "Wyśrodkuj"
287
 
288
- #: ../ml-slider.php:735
289
  msgid "Start the slideshow on page load"
290
  msgstr "Rozpocznij pokaz slajdów przy starcie strony"
291
 
292
- #: ../ml-slider.php:736
293
  msgid "Auto play"
294
  msgstr "Automatyczny start"
295
 
296
- #: ../ml-slider.php:743
297
  msgid ""
298
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
299
  "results in a consistent slideshow size"
300
  msgstr ""
301
 
302
- #: ../ml-slider.php:744
303
  msgid "Smart crop"
304
  msgstr ""
305
 
306
- #: ../ml-slider.php:751
307
  msgid ""
308
  "Display as carousel - when selected the effect and direction options will be "
309
  "ignored."
@@ -311,15 +324,15 @@ msgstr ""
311
  "Wyświetl jako karuzele - jeśli zaznaczono, opcje efektu i kierunku zostaną "
312
  "pominęte."
313
 
314
- #: ../ml-slider.php:752
315
  msgid "Carousel mode"
316
  msgstr "Tryb karuzeli"
317
 
318
- #: ../ml-slider.php:759
319
  msgid "Randomise the order of the slides"
320
  msgstr ""
321
 
322
- #: ../ml-slider.php:767
323
  msgid ""
324
  "Pause the slideshow when hovering over slider, then resume when no longer "
325
  "hovering"
@@ -327,120 +340,120 @@ msgstr ""
327
  "Zatrzymaj pokaz slajdów kiedy kursor znajdzie się na slajdzie. Wznów pokaz "
328
  "jeśli z niego zjedzie."
329
 
330
- #: ../ml-slider.php:768
331
  msgid "Hover pause"
332
  msgstr "Zatrzymaj podczas najechania"
333
 
334
- #: ../ml-slider.php:775
335
  msgid "Reverse the animation direction"
336
  msgstr "Odwróć kierunek animacji"
337
 
338
- #: ../ml-slider.php:776
339
  msgid "Reverse"
340
  msgstr "Odwróc"
341
 
342
- #: ../ml-slider.php:783
343
  msgid "How long to display each slide, in milliseconds"
344
  msgstr "Jak długo ma być wyświetlany slajd, w milisekundach"
345
 
346
- #: ../ml-slider.php:784
347
  msgid "Slide delay"
348
  msgstr "Czas opóźnienia"
349
 
350
- #: ../ml-slider.php:784 ../ml-slider.php:792 ../ml-slider.php:871
351
- #: ../ml-slider.php:887
352
  msgid "ms"
353
  msgstr "ms"
354
 
355
- #: ../ml-slider.php:791
356
  msgid "Set the speed of animations, in milliseconds"
357
  msgstr "Ustaw szybkość animacji, w milisekundach"
358
 
359
- #: ../ml-slider.php:792
360
  msgid "Animation speed"
361
  msgstr "Prędkośc animacji"
362
 
363
- #: ../ml-slider.php:799
364
  msgid "Number of squares (width x height)"
365
  msgstr "Ilość kwadracików (szerokość x wysokość)"
366
 
367
- #: ../ml-slider.php:800
368
  msgid "Number of squares"
369
  msgstr "Ilość kwadracików"
370
 
371
- #: ../ml-slider.php:808 ../ml-slider.php:809
372
  msgid "Number of slices"
373
  msgstr "Ilość cięć"
374
 
375
- #: ../ml-slider.php:816
376
  msgid "Select the sliding direction"
377
  msgstr "Zaznacz kierunek slajdów"
378
 
379
- #: ../ml-slider.php:816
380
  msgid "Slide direction"
381
  msgstr "Kierunek slajdu"
382
 
383
- #: ../ml-slider.php:819
384
  msgid "Horizontal"
385
  msgstr "Poziomo"
386
 
387
- #: ../ml-slider.php:820
388
  msgid "Vertical"
389
  msgstr "Pionowo"
390
 
391
- #: ../ml-slider.php:825
392
  msgid "Animation easing effect"
393
  msgstr "Animacja łagodzenia efektu"
394
 
395
- #: ../ml-slider.php:826
396
  msgid "Easing"
397
  msgstr "Łagodzenie"
398
 
399
- #: ../ml-slider.php:854
400
  msgid "Set the text for the 'previous' direction item"
401
  msgstr "Ustaw tekst dla \"poprzedniego\" slajdu"
402
 
403
- #: ../ml-slider.php:855
404
  msgid "Previous text"
405
  msgstr "Tekst \"Poprzedni\""
406
 
407
- #: ../ml-slider.php:862
408
  msgid "Set the text for the 'next' direction item"
409
  msgstr "Ustaw tekst dla \"następnego\" slajdu"
410
 
411
- #: ../ml-slider.php:863
412
  msgid "Next text"
413
  msgstr "Tekst \"Nastepny\""
414
 
415
- #: ../ml-slider.php:870
416
  msgid "Delay beetwen squares in ms"
417
  msgstr ""
418
 
419
- #: ../ml-slider.php:871
420
  msgid "Square delay"
421
  msgstr ""
422
 
423
- #: ../ml-slider.php:878
424
  msgid "Opacity of title and navigation"
425
  msgstr "Przeźroczystośc tytułu i nawigacji"
426
 
427
- #: ../ml-slider.php:879
428
  msgid "Opacity"
429
  msgstr "Przeźroczystość"
430
 
431
- #: ../ml-slider.php:886
432
  msgid "Set the fade in speed of the caption"
433
  msgstr "Ustaw czas zanikania podpisu"
434
 
435
- #: ../ml-slider.php:887
436
  msgid "Caption speed"
437
  msgstr "Prędkośc pojawiania opisu"
438
 
439
- #: ../ml-slider.php:894
440
  msgid "Developer Options"
441
  msgstr "Opcje deweloperskie"
442
 
443
- #: ../ml-slider.php:897
444
  msgid ""
445
  "Specify any custom CSS Classes you would like to be added to the slider "
446
  "wrapper"
@@ -448,57 +461,84 @@ msgstr ""
448
  "Wpisz własne klasy CSS, które mają zostać dołączone do kontenera głównego "
449
  "slajdera"
450
 
451
- #: ../ml-slider.php:898
452
  msgid "CSS classes"
453
  msgstr "Klasy CSS"
454
 
455
- #: ../ml-slider.php:905
456
- msgid "Uncheck this is you would like to include your own CSS"
457
- msgstr "Odznacz jeśli chcesz dołączyć swój własny kod CSS"
458
-
459
- #: ../ml-slider.php:906
460
- msgid "Print CSS"
461
- msgstr "Wyświetl CSS"
462
-
463
- #: ../ml-slider.php:913
464
  msgid "Uncheck this is you would like to include your own Javascript"
465
  msgstr "Odznacz jeśli chcesz dołączyć swój własny kod Javascript"
466
 
467
- #: ../ml-slider.php:914
468
- msgid "Print JS"
 
469
  msgstr "Wyświetl JavaScript"
470
 
471
- #: ../ml-slider.php:922
 
 
 
 
 
 
 
 
 
 
 
 
472
  msgid "Delete Slider"
473
  msgstr "Usuń slajder"
474
 
475
- #: ../ml-slider.php:931
476
  msgid "Usage"
477
  msgstr "Zastosowanie"
478
 
479
- #: ../ml-slider.php:937
480
  msgid "Shortcode"
481
  msgstr "Kod skórtu"
482
 
483
- #: ../ml-slider.php:943
484
  msgid "Template Include"
485
  msgstr "Dołącz szablon"
486
 
487
- #: ../inc/metaslider.widget.class.php:14
488
  msgid "Meta Slider"
489
  msgstr "Meta S;lider"
490
 
491
- #: ../inc/metaslider.widget.class.php:107
492
  msgid "Title:"
493
  msgstr "Tytuł:"
494
 
495
- #: ../inc/metaslider.widget.class.php:110
496
  msgid "Select Slider:"
497
  msgstr "Zaznacz slajder"
498
 
499
- #: ../inc/metaslider.widget.class.php:120
500
  msgid "No slideshows found"
501
  msgstr "Nie znaleziono składników pokazu"
502
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
503
  #~ msgid "Pager"
504
  #~ msgstr "Paginacje"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-11-12 14:43-0000\n"
5
+ "PO-Revision-Date: 2013-11-12 14:43-0000\n"
6
  "Last-Translator: Kamil <dinal.shirts@gmail.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
+ #: ../ml-slider.php:99
18
  msgid "Go Pro"
19
  msgstr "Zaktualizuj do wersji PRO"
20
 
21
+ #: ../ml-slider.php:153
22
  msgid "Image"
23
  msgstr "Zdjęcie"
24
 
25
+ #: ../ml-slider.php:154
26
  msgid "Add to slider"
27
  msgstr "Dodaj do slidera"
28
 
29
+ #: ../ml-slider.php:174
30
+ msgid "Post Feed"
31
+ msgstr ""
32
+
33
+ #: ../ml-slider.php:175
34
+ msgid "Vimeo"
35
+ msgstr ""
36
+
37
+ #: ../ml-slider.php:176
38
+ msgid "YouTube"
39
+ msgstr ""
40
+
41
+ #: ../ml-slider.php:177
42
+ #, fuzzy
43
+ msgid "Layer Slide"
44
+ msgstr "Nowy slider"
45
 
46
+ #: ../ml-slider.php:232 ../inc/slide/metaslide.image.class.php:120
47
  msgid "URL"
48
  msgstr "URL"
49
 
50
+ #: ../ml-slider.php:233 ../inc/slide/metaslide.image.class.php:118
51
  msgid "Caption"
52
  msgstr "Podpis"
53
 
54
+ #: ../ml-slider.php:234 ../inc/slide/metaslide.image.class.php:119
55
  msgid "New Window"
56
  msgstr "Nowe okno"
57
 
58
+ #: ../ml-slider.php:235
59
  msgid "Are you sure?"
60
  msgstr "Na pewno?"
61
 
62
+ #: ../ml-slider.php:239
63
  msgid ""
64
  "Caution: This setting is for advanced developers only. If you're unsure, "
65
  "leave it checked."
67
  "Uwaga: Ta opcja jest tylko dla zaawansowanych użytkowników. Jeśli nie jesteś "
68
  "pewny co robisz, nie rób tego."
69
 
70
+ #: ../ml-slider.php:275
71
  msgid "Upgrade to Pro $19"
72
  msgstr "Zaktualizuj do wersji Pro za $19"
73
 
74
+ #: ../ml-slider.php:291
75
  msgid "Documentation"
76
  msgstr "Dokumentacja"
77
 
78
+ #: ../ml-slider.php:425
79
  msgid "New Slider"
80
  msgstr "Nowy slider"
81
 
82
+ #: ../ml-slider.php:526
83
  msgid "Version"
84
  msgstr "Wersja"
85
 
86
+ #: ../ml-slider.php:527
87
  msgid "Responsive"
88
  msgstr "Responsywny"
89
 
90
+ #: ../ml-slider.php:528 ../ml-slider.php:532
91
  msgid "Yes"
92
  msgstr "Tak"
93
 
94
+ #: ../ml-slider.php:528 ../ml-slider.php:532
95
  msgid "No"
96
  msgstr "Nie"
97
 
98
+ #: ../ml-slider.php:530 ../ml-slider.php:679
99
  msgid "Size"
100
  msgstr "Rozmiar"
101
 
102
+ #: ../ml-slider.php:530
103
  msgid "kb"
104
  msgstr "kb"
105
 
106
+ #: ../ml-slider.php:531
107
  msgid "Mobile Friendly"
108
  msgstr "Przystosowane do wersji mobilnej"
109
 
110
+ #: ../ml-slider.php:565
111
  msgid "New slideshow created. Click 'Add Slide' to get started!"
112
  msgstr ""
113
 
114
+ #: ../ml-slider.php:582
115
  msgid "or"
116
  msgstr ""
117
 
118
+ #: ../ml-slider.php:583
119
  #, fuzzy
120
  msgid "Add New Slideshow"
121
  msgstr "Dodaj slajd"
122
 
123
+ #: ../ml-slider.php:599
124
  #, fuzzy
125
  msgid "Create your first slideshow"
126
  msgstr "Wyśrodkuj pokaz slajdów"
127
 
128
+ #: ../ml-slider.php:616
129
  msgid "Slides"
130
  msgstr "Slajdy"
131
 
132
+ #: ../ml-slider.php:619 ../ml-slider.php:620
133
  msgid "Add Slide"
134
  msgstr "Dodaj slajd"
135
 
136
+ #: ../ml-slider.php:639
137
  msgid "Settings"
138
  msgstr "Ustawienia"
139
 
140
+ #: ../ml-slider.php:640
141
  msgid "Save"
142
  msgstr "Zapisz"
143
 
144
+ #: ../ml-slider.php:641
145
  msgid "Save & Preview"
146
  msgstr "Zapisz i pokaż"
147
 
148
+ #: ../ml-slider.php:669
149
  msgid "Slideshow title"
150
  msgstr ""
151
 
152
+ #: ../ml-slider.php:670
153
  #, fuzzy
154
  msgid "Title"
155
  msgstr "Tytuł:"
156
 
157
+ #: ../ml-slider.php:678
158
  msgid "Set the initial size for the slides (width x height)"
159
  msgstr "Ustaw początkowy rozmiar slajdów (szerokośc x wysokość)"
160
 
161
+ #: ../ml-slider.php:679
162
  msgid "px"
163
  msgstr ""
164
 
165
+ #: ../ml-slider.php:682 ../ml-slider.php:683
166
  msgid "Width"
167
  msgstr "Szerokośc"
168
 
169
+ #: ../ml-slider.php:684 ../ml-slider.php:685
170
  msgid "Height"
171
  msgstr "Wysokość"
172
 
173
+ #: ../ml-slider.php:689
174
  msgid "Slide transition effect"
175
  msgstr "Efekt przenikania slajdów"
176
 
177
+ #: ../ml-slider.php:690
178
  msgid "Effect"
179
  msgstr "Efekt"
180
 
181
+ #: ../ml-slider.php:694 ../ml-slider.php:804
182
  msgid "Random"
183
  msgstr "Losowo"
184
 
185
+ #: ../ml-slider.php:695
186
  msgid "Swirl"
187
  msgstr "Wirowanie"
188
 
189
+ #: ../ml-slider.php:696
190
  msgid "Rain"
191
  msgstr "Deszcz"
192
 
193
+ #: ../ml-slider.php:697
194
  msgid "Straight"
195
  msgstr "Sekwens"
196
 
197
+ #: ../ml-slider.php:698
198
  msgid "Slide Down"
199
  msgstr "Od dołu"
200
 
201
+ #: ../ml-slider.php:699
202
  msgid "Slice Up"
203
  msgstr "Paski od góry"
204
 
205
+ #: ../ml-slider.php:700
206
  msgid "Slide Up Left"
207
  msgstr "Paski od lewej"
208
 
209
+ #: ../ml-slider.php:701
210
  msgid "Slice Up Down"
211
  msgstr "Paski od dołu"
212
 
213
+ #: ../ml-slider.php:702
214
  msgid "Slide Up Down Left"
215
  msgstr "Paski od dołu i lewej"
216
 
217
+ #: ../ml-slider.php:703
218
  msgid "Fold"
219
  msgstr "Składanie"
220
 
221
+ #: ../ml-slider.php:704
222
  msgid "Fade"
223
  msgstr "Zanikanie"
224
 
225
+ #: ../ml-slider.php:705
226
  msgid "Slide In Right"
227
  msgstr "Wjeżdżanie od prawej"
228
 
229
+ #: ../ml-slider.php:706
230
  msgid "Slide In Left"
231
  msgstr "Wjeżdżanie od lewej"
232
 
233
+ #: ../ml-slider.php:707
234
  msgid "Box Random"
235
  msgstr ""
236
 
237
+ #: ../ml-slider.php:708
238
  msgid "Box Rain"
239
  msgstr ""
240
 
241
+ #: ../ml-slider.php:709
242
  msgid "Box Rain Reverse"
243
  msgstr ""
244
 
245
+ #: ../ml-slider.php:710
246
  msgid "Box Rain Grow Reverse"
247
  msgstr ""
248
 
249
+ #: ../ml-slider.php:711
250
  msgid "Slide"
251
  msgstr "Slajd"
252
 
253
+ #: ../ml-slider.php:716
254
  msgid "Change the slider style"
255
  msgstr "Zmień styl slajdera"
256
 
257
+ #: ../ml-slider.php:717
258
  msgid "Theme"
259
  msgstr "Szablon"
260
 
261
+ #: ../ml-slider.php:738
262
  msgid "Controls"
263
  msgstr "Kontrolery"
264
 
265
+ #: ../ml-slider.php:741 ../ml-slider.php:755
266
  msgid "Show slide navigation row"
267
  msgstr "Pokaż pasek nawigacji slajdami"
268
 
269
+ #: ../ml-slider.php:742
270
  msgid "Arrows"
271
  msgstr ""
272
 
273
+ #: ../ml-slider.php:756
274
  msgid "Navigation"
275
  msgstr "Nawigacja"
276
 
277
+ #: ../ml-slider.php:759
278
  msgid "Hidden"
279
  msgstr ""
280
 
281
+ #: ../ml-slider.php:760
282
  msgid "Dots"
283
  msgstr ""
284
 
285
+ #: ../ml-slider.php:761
286
  msgid "Thumbnails (Pro)"
287
  msgstr ""
288
 
289
+ #: ../ml-slider.php:768
290
  msgid "Advanced Settings"
291
  msgstr "Ustawienia zaawansowane"
292
 
293
+ #: ../ml-slider.php:771
294
  msgid "Center align the slideshow"
295
  msgstr "Wyśrodkuj pokaz slajdów"
296
 
297
+ #: ../ml-slider.php:772
298
  msgid "Center align"
299
  msgstr "Wyśrodkuj"
300
 
301
+ #: ../ml-slider.php:779
302
  msgid "Start the slideshow on page load"
303
  msgstr "Rozpocznij pokaz slajdów przy starcie strony"
304
 
305
+ #: ../ml-slider.php:780
306
  msgid "Auto play"
307
  msgstr "Automatyczny start"
308
 
309
+ #: ../ml-slider.php:787
310
  msgid ""
311
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
312
  "results in a consistent slideshow size"
313
  msgstr ""
314
 
315
+ #: ../ml-slider.php:788
316
  msgid "Smart crop"
317
  msgstr ""
318
 
319
+ #: ../ml-slider.php:795
320
  msgid ""
321
  "Display as carousel - when selected the effect and direction options will be "
322
  "ignored."
324
  "Wyświetl jako karuzele - jeśli zaznaczono, opcje efektu i kierunku zostaną "
325
  "pominęte."
326
 
327
+ #: ../ml-slider.php:796
328
  msgid "Carousel mode"
329
  msgstr "Tryb karuzeli"
330
 
331
+ #: ../ml-slider.php:803
332
  msgid "Randomise the order of the slides"
333
  msgstr ""
334
 
335
+ #: ../ml-slider.php:811
336
  msgid ""
337
  "Pause the slideshow when hovering over slider, then resume when no longer "
338
  "hovering"
340
  "Zatrzymaj pokaz slajdów kiedy kursor znajdzie się na slajdzie. Wznów pokaz "
341
  "jeśli z niego zjedzie."
342
 
343
+ #: ../ml-slider.php:812
344
  msgid "Hover pause"
345
  msgstr "Zatrzymaj podczas najechania"
346
 
347
+ #: ../ml-slider.php:819
348
  msgid "Reverse the animation direction"
349
  msgstr "Odwróć kierunek animacji"
350
 
351
+ #: ../ml-slider.php:820
352
  msgid "Reverse"
353
  msgstr "Odwróc"
354
 
355
+ #: ../ml-slider.php:827
356
  msgid "How long to display each slide, in milliseconds"
357
  msgstr "Jak długo ma być wyświetlany slajd, w milisekundach"
358
 
359
+ #: ../ml-slider.php:828
360
  msgid "Slide delay"
361
  msgstr "Czas opóźnienia"
362
 
363
+ #: ../ml-slider.php:828 ../ml-slider.php:836 ../ml-slider.php:915
364
+ #: ../ml-slider.php:931
365
  msgid "ms"
366
  msgstr "ms"
367
 
368
+ #: ../ml-slider.php:835
369
  msgid "Set the speed of animations, in milliseconds"
370
  msgstr "Ustaw szybkość animacji, w milisekundach"
371
 
372
+ #: ../ml-slider.php:836
373
  msgid "Animation speed"
374
  msgstr "Prędkośc animacji"
375
 
376
+ #: ../ml-slider.php:843
377
  msgid "Number of squares (width x height)"
378
  msgstr "Ilość kwadracików (szerokość x wysokość)"
379
 
380
+ #: ../ml-slider.php:844
381
  msgid "Number of squares"
382
  msgstr "Ilość kwadracików"
383
 
384
+ #: ../ml-slider.php:852 ../ml-slider.php:853
385
  msgid "Number of slices"
386
  msgstr "Ilość cięć"
387
 
388
+ #: ../ml-slider.php:860
389
  msgid "Select the sliding direction"
390
  msgstr "Zaznacz kierunek slajdów"
391
 
392
+ #: ../ml-slider.php:860
393
  msgid "Slide direction"
394
  msgstr "Kierunek slajdu"
395
 
396
+ #: ../ml-slider.php:863
397
  msgid "Horizontal"
398
  msgstr "Poziomo"
399
 
400
+ #: ../ml-slider.php:864
401
  msgid "Vertical"
402
  msgstr "Pionowo"
403
 
404
+ #: ../ml-slider.php:869
405
  msgid "Animation easing effect"
406
  msgstr "Animacja łagodzenia efektu"
407
 
408
+ #: ../ml-slider.php:870
409
  msgid "Easing"
410
  msgstr "Łagodzenie"
411
 
412
+ #: ../ml-slider.php:898
413
  msgid "Set the text for the 'previous' direction item"
414
  msgstr "Ustaw tekst dla \"poprzedniego\" slajdu"
415
 
416
+ #: ../ml-slider.php:899
417
  msgid "Previous text"
418
  msgstr "Tekst \"Poprzedni\""
419
 
420
+ #: ../ml-slider.php:906
421
  msgid "Set the text for the 'next' direction item"
422
  msgstr "Ustaw tekst dla \"następnego\" slajdu"
423
 
424
+ #: ../ml-slider.php:907
425
  msgid "Next text"
426
  msgstr "Tekst \"Nastepny\""
427
 
428
+ #: ../ml-slider.php:914
429
  msgid "Delay beetwen squares in ms"
430
  msgstr ""
431
 
432
+ #: ../ml-slider.php:915
433
  msgid "Square delay"
434
  msgstr ""
435
 
436
+ #: ../ml-slider.php:922
437
  msgid "Opacity of title and navigation"
438
  msgstr "Przeźroczystośc tytułu i nawigacji"
439
 
440
+ #: ../ml-slider.php:923
441
  msgid "Opacity"
442
  msgstr "Przeźroczystość"
443
 
444
+ #: ../ml-slider.php:930
445
  msgid "Set the fade in speed of the caption"
446
  msgstr "Ustaw czas zanikania podpisu"
447
 
448
+ #: ../ml-slider.php:931
449
  msgid "Caption speed"
450
  msgstr "Prędkośc pojawiania opisu"
451
 
452
+ #: ../ml-slider.php:938
453
  msgid "Developer Options"
454
  msgstr "Opcje deweloperskie"
455
 
456
+ #: ../ml-slider.php:941
457
  msgid ""
458
  "Specify any custom CSS Classes you would like to be added to the slider "
459
  "wrapper"
461
  "Wpisz własne klasy CSS, które mają zostać dołączone do kontenera głównego "
462
  "slajdera"
463
 
464
+ #: ../ml-slider.php:942
465
  msgid "CSS classes"
466
  msgstr "Klasy CSS"
467
 
468
+ #: ../ml-slider.php:949 ../ml-slider.php:958
 
 
 
 
 
 
 
 
469
  msgid "Uncheck this is you would like to include your own Javascript"
470
  msgstr "Odznacz jeśli chcesz dołączyć swój własny kod Javascript"
471
 
472
+ #: ../ml-slider.php:950
473
+ #, fuzzy
474
+ msgid "Print Scripts"
475
  msgstr "Wyświetl JavaScript"
476
 
477
+ #: ../ml-slider.php:954
478
+ msgid "Uncheck this is you would like to include your own CSS"
479
+ msgstr "Odznacz jeśli chcesz dołączyć swój własny kod CSS"
480
+
481
+ #: ../ml-slider.php:955
482
+ msgid "CSS"
483
+ msgstr ""
484
+
485
+ #: ../ml-slider.php:959
486
+ msgid "JavaScript"
487
+ msgstr ""
488
+
489
+ #: ../ml-slider.php:965
490
  msgid "Delete Slider"
491
  msgstr "Usuń slajder"
492
 
493
+ #: ../ml-slider.php:974
494
  msgid "Usage"
495
  msgstr "Zastosowanie"
496
 
497
+ #: ../ml-slider.php:980
498
  msgid "Shortcode"
499
  msgstr "Kod skórtu"
500
 
501
+ #: ../ml-slider.php:986
502
  msgid "Template Include"
503
  msgstr "Dołącz szablon"
504
 
505
+ #: ../inc/metaslider.widget.class.php:18
506
  msgid "Meta Slider"
507
  msgstr "Meta S;lider"
508
 
509
+ #: ../inc/metaslider.widget.class.php:111
510
  msgid "Title:"
511
  msgstr "Tytuł:"
512
 
513
+ #: ../inc/metaslider.widget.class.php:114
514
  msgid "Select Slider:"
515
  msgstr "Zaznacz slajder"
516
 
517
+ #: ../inc/metaslider.widget.class.php:124
518
  msgid "No slideshows found"
519
  msgstr "Nie znaleziono składników pokazu"
520
 
521
+ #: ../inc/slide/metaslide.image.class.php:23
522
+ msgid "Security check failed. Refresh page and try again."
523
+ msgstr ""
524
+
525
+ #: ../inc/slide/metaslide.image.class.php:36
526
+ msgid "Failed to add slide. Slide already exists in slideshow."
527
+ msgstr ""
528
+
529
+ #: ../inc/slide/metaslide.image.class.php:38
530
+ msgid "Failed to add slide. Slide is not of type 'image'."
531
+ msgstr ""
532
+
533
+ #: ../inc/slide/metaslide.image.class.php:133
534
+ msgid "Warning: Image data does not exist. Please re-upload the image."
535
+ msgstr ""
536
+
537
+ #~ msgid "More Slide Types"
538
+ #~ msgstr "Więcej typów slideów"
539
+
540
+ #~ msgid "Print CSS"
541
+ #~ msgstr "Wyświetl CSS"
542
+
543
  #~ msgid "Pager"
544
  #~ msgstr "Paginacje"
languages/metaslider-zh_CN.mo CHANGED
Binary file
languages/metaslider-zh_CN.po CHANGED
@@ -1,490 +1,528 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-10-10 15:44-0000\n"
5
- "PO-Revision-Date: 2013-10-10 15:44-0000\n"
6
- "Last-Translator: Miguel <contacto@eltipografico.com>\n"
7
- "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "X-Generator: Poedit 1.5.7\n"
12
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
  "X-Poedit-Basepath: .\n"
 
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
- #: ../ml-slider.php:93
18
  msgid "Go Pro"
19
- msgstr ""
20
 
21
- #: ../ml-slider.php:144
22
  msgid "Image"
23
  msgstr "图像"
24
 
25
- #: ../ml-slider.php:145
26
  msgid "Add to slider"
27
- msgstr "添加到滑块"
 
 
 
 
 
 
 
 
28
 
29
- #: ../ml-slider.php:164
30
- msgid "More Slide Types"
31
- msgstr "更多幻灯片类型"
 
 
 
 
32
 
33
- #: ../ml-slider.php:213 ../inc/slide/metaslide.image.class.php:62
34
  msgid "URL"
35
  msgstr ""
36
 
37
- #: ../ml-slider.php:214 ../inc/slide/metaslide.image.class.php:60
38
  msgid "Caption"
39
  msgstr "标题"
40
 
41
- #: ../ml-slider.php:215 ../inc/slide/metaslide.image.class.php:61
42
  msgid "New Window"
43
  msgstr "新窗口"
44
 
45
- #: ../ml-slider.php:216
46
  msgid "Are you sure?"
47
  msgstr "你确定吗?"
48
 
49
- #: ../ml-slider.php:219
50
  msgid ""
51
  "Caution: This setting is for advanced developers only. If you're unsure, "
52
  "leave it checked."
53
  msgstr "注意:此设置仅适用于高级开发。"
54
 
55
- #: ../ml-slider.php:256
56
  msgid "Upgrade to Pro $19"
57
  msgstr "升级到专业版$19"
58
 
59
- #: ../ml-slider.php:272
60
  msgid "Documentation"
61
  msgstr "文档"
62
 
63
- #: ../ml-slider.php:393
64
  msgid "New Slider"
65
- msgstr "新的滑动"
66
 
67
- #: ../ml-slider.php:486
68
  msgid "Version"
69
  msgstr "版本"
70
 
71
- #: ../ml-slider.php:487
72
  msgid "Responsive"
73
  msgstr "响应"
74
 
75
- #: ../ml-slider.php:488 ../ml-slider.php:492
76
  msgid "Yes"
77
  msgstr ""
78
 
79
- #: ../ml-slider.php:488 ../ml-slider.php:492
80
  msgid "No"
81
  msgstr ""
82
 
83
- #: ../ml-slider.php:490 ../ml-slider.php:633
84
  msgid "Size"
85
  msgstr "大小"
86
 
87
- #: ../ml-slider.php:490
88
  msgid "kb"
89
  msgstr ""
90
 
91
- #: ../ml-slider.php:491
92
  msgid "Mobile Friendly"
93
  msgstr "移动"
94
 
95
- #: ../ml-slider.php:519
96
  msgid "New slideshow created. Click 'Add Slide' to get started!"
97
  msgstr "创建新的幻灯片。点击“添加幻灯片”以开始浏览网页!"
98
 
99
- #: ../ml-slider.php:536
100
  msgid "or"
101
  msgstr "或"
102
 
103
- #: ../ml-slider.php:537
104
  msgid "Add New Slideshow"
105
  msgstr "添加新的幻灯片"
106
 
107
- #: ../ml-slider.php:553
108
  msgid "Create your first slideshow"
109
  msgstr "创建第一份幻灯片"
110
 
111
- #: ../ml-slider.php:570
112
  msgid "Slides"
113
  msgstr "幻灯片"
114
 
115
- #: ../ml-slider.php:573 ../ml-slider.php:574
116
  msgid "Add Slide"
117
  msgstr "添加幻灯片"
118
 
119
- #: ../ml-slider.php:593
120
  msgid "Settings"
121
  msgstr "设置"
122
 
123
- #: ../ml-slider.php:594
124
  msgid "Save"
125
  msgstr "保存"
126
 
127
- #: ../ml-slider.php:595
128
  msgid "Save & Preview"
129
  msgstr "保存并预览"
130
 
131
- #: ../ml-slider.php:623
132
  msgid "Slideshow title"
133
  msgstr "幻灯片标题"
134
 
135
- #: ../ml-slider.php:624
136
  msgid "Title"
137
  msgstr "标题"
138
 
139
- #: ../ml-slider.php:632
140
  msgid "Set the initial size for the slides (width x height)"
141
  msgstr "设置幻灯片的初始大小( 宽 x 高 )"
142
 
143
- #: ../ml-slider.php:633
144
  msgid "px"
145
  msgstr ""
146
 
147
- #: ../ml-slider.php:637
148
  msgid "Width"
149
  msgstr "宽度"
150
 
151
- #: ../ml-slider.php:640
152
  msgid "Height"
153
  msgstr "高度"
154
 
155
- #: ../ml-slider.php:645
156
  msgid "Slide transition effect"
157
  msgstr "幻灯片过渡效果"
158
 
159
- #: ../ml-slider.php:646
160
  msgid "Effect"
161
  msgstr "效果"
162
 
163
- #: ../ml-slider.php:650 ../ml-slider.php:760
164
  msgid "Random"
165
  msgstr "随机"
166
 
167
- #: ../ml-slider.php:651
168
  msgid "Swirl"
169
  msgstr "漩涡"
170
 
171
- #: ../ml-slider.php:652
172
  msgid "Rain"
173
  msgstr "雨"
174
 
175
- #: ../ml-slider.php:653
176
  msgid "Straight"
177
  msgstr "直"
178
 
179
- #: ../ml-slider.php:654
180
  msgid "Slide Down"
181
  msgstr "向下滑动"
182
 
183
- #: ../ml-slider.php:655
184
  msgid "Slice Up"
185
  msgstr "切片"
186
 
187
- #: ../ml-slider.php:656
188
  msgid "Slide Up Left"
189
  msgstr "向左滑动"
190
 
191
- #: ../ml-slider.php:657
192
  msgid "Slice Up Down"
193
  msgstr "切片向下"
194
 
195
- #: ../ml-slider.php:658
196
  msgid "Slide Up Down Left"
197
  msgstr "向上滑动"
198
 
199
- #: ../ml-slider.php:659
200
  msgid "Fold"
201
  msgstr "折"
202
 
203
- #: ../ml-slider.php:660
204
  msgid "Fade"
205
  msgstr "褪色"
206
 
207
- #: ../ml-slider.php:661
208
  msgid "Slide In Right"
209
  msgstr "向右滑动"
210
 
211
- #: ../ml-slider.php:662
212
  msgid "Slide In Left"
213
  msgstr "向左滑动"
214
 
215
- #: ../ml-slider.php:663
216
  msgid "Box Random"
217
  msgstr "随机"
218
 
219
- #: ../ml-slider.php:664
220
  msgid "Box Rain"
221
  msgstr "箱式"
222
 
223
- #: ../ml-slider.php:665
224
  msgid "Box Rain Reverse"
225
  msgstr "箱式"
226
 
227
- #: ../ml-slider.php:666
228
  msgid "Box Rain Grow Reverse"
229
  msgstr ""
230
 
231
- #: ../ml-slider.php:667
232
  msgid "Slide"
233
  msgstr "滑动"
234
 
235
- #: ../ml-slider.php:672
236
  msgid "Change the slider style"
237
  msgstr "更改滑盖造型"
238
 
239
- #: ../ml-slider.php:673
240
  msgid "Theme"
241
  msgstr "主题"
242
 
243
- #: ../ml-slider.php:694
244
  msgid "Controls"
245
  msgstr "控制"
246
 
247
- #: ../ml-slider.php:697 ../ml-slider.php:711
248
  msgid "Show slide navigation row"
249
  msgstr "显示幻灯片导航"
250
 
251
- #: ../ml-slider.php:698
252
  msgid "Arrows"
253
  msgstr "箭头"
254
 
255
- #: ../ml-slider.php:712
256
  msgid "Navigation"
257
  msgstr "导航"
258
 
259
- #: ../ml-slider.php:715
260
  msgid "Hidden"
261
- msgstr ""
262
 
263
- #: ../ml-slider.php:716
264
  msgid "Dots"
265
  msgstr "点"
266
 
267
- #: ../ml-slider.php:717
268
  msgid "Thumbnails (Pro)"
269
- msgstr ""
270
 
271
- #: ../ml-slider.php:724
272
  msgid "Advanced Settings"
273
  msgstr "“高级设置”"
274
 
275
- #: ../ml-slider.php:727
276
  msgid "Center align the slideshow"
277
  msgstr "居中对齐幻灯片"
278
 
279
- #: ../ml-slider.php:728
280
  msgid "Center align"
281
  msgstr "居中对齐"
282
 
283
- #: ../ml-slider.php:735
284
  msgid "Start the slideshow on page load"
285
  msgstr "在页面加载启动幻灯片"
286
 
287
- #: ../ml-slider.php:736
288
  msgid "Auto play"
289
  msgstr "自动播放"
290
 
291
- #: ../ml-slider.php:743
292
  msgid ""
293
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
294
  "results in a consistent slideshow size"
295
- msgstr "智能变换,确保您的响应幻灯片裁剪的比率,结果在一个一致的幻灯片大小"
 
 
296
 
297
- #: ../ml-slider.php:744
298
  msgid "Smart crop"
299
- msgstr "智能"
300
 
301
- #: ../ml-slider.php:751
302
  msgid ""
303
  "Display as carousel - when selected the effect and direction options will be "
304
  "ignored."
305
  msgstr "显示为旋转 - 当选择后其他效果和方向设置将被忽略。"
306
 
307
- #: ../ml-slider.php:752
308
  msgid "Carousel mode"
309
  msgstr "传送带模式"
310
 
311
- #: ../ml-slider.php:759
312
  msgid "Randomise the order of the slides"
313
  msgstr "随机顺序幻灯片"
314
 
315
- #: ../ml-slider.php:767
316
  msgid ""
317
  "Pause the slideshow when hovering over slider, then resume when no longer "
318
  "hovering"
319
  msgstr "当鼠标悬停在图片上时暂停幻灯片"
320
 
321
- #: ../ml-slider.php:768
322
  msgid "Hover pause"
323
  msgstr "悬停时间"
324
 
325
- #: ../ml-slider.php:775
326
  msgid "Reverse the animation direction"
327
  msgstr "反向动画"
328
 
329
- #: ../ml-slider.php:776
330
  msgid "Reverse"
331
  msgstr "逆转"
332
 
333
- #: ../ml-slider.php:783
334
  msgid "How long to display each slide, in milliseconds"
335
  msgstr "幻灯片的播放间隔,单位毫秒"
336
 
337
- #: ../ml-slider.php:784
338
  msgid "Slide delay"
339
  msgstr "滑动延迟"
340
 
341
- #: ../ml-slider.php:784 ../ml-slider.php:792 ../ml-slider.php:871
342
- #: ../ml-slider.php:887
343
  msgid "ms"
344
  msgstr "毫秒"
345
 
346
- #: ../ml-slider.php:791
347
  msgid "Set the speed of animations, in milliseconds"
348
  msgstr "设置动画的速度,单位毫秒"
349
 
350
- #: ../ml-slider.php:792
351
  msgid "Animation speed"
352
  msgstr "动画速度"
353
 
354
- #: ../ml-slider.php:799
355
  msgid "Number of squares (width x height)"
356
  msgstr "宽 x 高"
357
 
358
- #: ../ml-slider.php:800
359
  msgid "Number of squares"
360
- msgstr ""
361
 
362
- #: ../ml-slider.php:808 ../ml-slider.php:809
363
  msgid "Number of slices"
364
- msgstr ""
365
 
366
- #: ../ml-slider.php:816
367
  msgid "Select the sliding direction"
368
  msgstr "选择的滑动方向"
369
 
370
- #: ../ml-slider.php:816
371
  msgid "Slide direction"
372
  msgstr "滑动方向"
373
 
374
- #: ../ml-slider.php:819
375
  msgid "Horizontal"
376
  msgstr "横向"
377
 
378
- #: ../ml-slider.php:820
379
  msgid "Vertical"
380
  msgstr "垂直"
381
 
382
- #: ../ml-slider.php:825
383
  msgid "Animation easing effect"
384
  msgstr "动画宽松效果"
385
 
386
- #: ../ml-slider.php:826
387
  msgid "Easing"
388
  msgstr "松"
389
 
390
- #: ../ml-slider.php:854
391
  msgid "Set the text for the 'previous' direction item"
392
- msgstr ""
393
 
394
- #: ../ml-slider.php:855
395
  msgid "Previous text"
396
- msgstr ""
397
 
398
- #: ../ml-slider.php:862
399
  msgid "Set the text for the 'next' direction item"
400
- msgstr ""
401
 
402
- #: ../ml-slider.php:863
403
  msgid "Next text"
404
- msgstr ""
405
 
406
- #: ../ml-slider.php:870
407
  msgid "Delay beetwen squares in ms"
408
- msgstr ""
409
 
410
- #: ../ml-slider.php:871
411
  msgid "Square delay"
412
  msgstr "延迟"
413
 
414
- #: ../ml-slider.php:878
415
  msgid "Opacity of title and navigation"
416
  msgstr "标题和导航的透明度"
417
 
418
- #: ../ml-slider.php:879
419
  msgid "Opacity"
420
  msgstr "透明度"
421
 
422
- #: ../ml-slider.php:886
423
  msgid "Set the fade in speed of the caption"
424
  msgstr "设置速度的标题淡入"
425
 
426
- #: ../ml-slider.php:887
427
  msgid "Caption speed"
428
  msgstr "速度"
429
 
430
- #: ../ml-slider.php:894
431
  msgid "Developer Options"
432
  msgstr "开发人员选项"
433
 
434
- #: ../ml-slider.php:897
435
  msgid ""
436
  "Specify any custom CSS Classes you would like to be added to the slider "
437
  "wrapper"
438
  msgstr "指定的任何自定义CSS类"
439
 
440
- #: ../ml-slider.php:898
441
  msgid "CSS classes"
442
- msgstr ""
443
 
444
- #: ../ml-slider.php:905
445
- msgid "Uncheck this is you would like to include your own CSS"
446
- msgstr ""
447
 
448
- #: ../ml-slider.php:906
449
- msgid "Print CSS"
450
- msgstr ""
451
 
452
- #: ../ml-slider.php:913
453
- msgid "Uncheck this is you would like to include your own Javascript"
 
 
 
 
454
  msgstr ""
455
 
456
- #: ../ml-slider.php:914
457
- msgid "Print JS"
458
  msgstr ""
459
 
460
- #: ../ml-slider.php:922
461
  msgid "Delete Slider"
462
- msgstr "删除滑块"
463
 
464
- #: ../ml-slider.php:931
465
  msgid "Usage"
466
  msgstr "用法"
467
 
468
- #: ../ml-slider.php:937
469
  msgid "Shortcode"
470
- msgstr ""
471
 
472
- #: ../ml-slider.php:943
473
  msgid "Template Include"
474
- msgstr "模板包括"
475
 
476
- #: ../inc/metaslider.widget.class.php:14
477
  msgid "Meta Slider"
478
- msgstr "梅塔滑块"
479
 
480
- #: ../inc/metaslider.widget.class.php:107
481
  msgid "Title:"
482
  msgstr "标题:"
483
 
484
- #: ../inc/metaslider.widget.class.php:110
485
  msgid "Select Slider:"
486
- msgstr "选择滑块:"
487
 
488
- #: ../inc/metaslider.widget.class.php:120
489
  msgid "No slideshows found"
490
  msgstr "没有幻灯片"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: metaslider-zh_CN\n"
4
+ "POT-Creation-Date: 2013-11-12 14:43-0000\n"
5
+ "PO-Revision-Date: 2013-11-25 19:26+0800\n"
6
+ "Last-Translator: 断青丝 <181138991@qq.com>\n"
7
+ "Language-Team: 断青丝 <181138991@qq.com>\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "X-Generator: Poedit 1.5.7\n"
12
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
  "X-Poedit-Basepath: .\n"
14
+ "Language: zh_CN\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
  "X-Poedit-SearchPath-1: ..\n"
17
 
18
+ #: ../ml-slider.php:99
19
  msgid "Go Pro"
20
+ msgstr "查看专业版"
21
 
22
+ #: ../ml-slider.php:153
23
  msgid "Image"
24
  msgstr "图像"
25
 
26
+ #: ../ml-slider.php:154
27
  msgid "Add to slider"
28
+ msgstr "添加到幻灯片"
29
+
30
+ #: ../ml-slider.php:174
31
+ msgid "Post Feed"
32
+ msgstr "文章资讯"
33
+
34
+ #: ../ml-slider.php:175
35
+ msgid "Vimeo"
36
+ msgstr ""
37
 
38
+ #: ../ml-slider.php:176
39
+ msgid "YouTube"
40
+ msgstr ""
41
+
42
+ #: ../ml-slider.php:177
43
+ msgid "Layer Slide"
44
+ msgstr "幻灯片"
45
 
46
+ #: ../ml-slider.php:232 ../inc/slide/metaslide.image.class.php:120
47
  msgid "URL"
48
  msgstr ""
49
 
50
+ #: ../ml-slider.php:233 ../inc/slide/metaslide.image.class.php:118
51
  msgid "Caption"
52
  msgstr "标题"
53
 
54
+ #: ../ml-slider.php:234 ../inc/slide/metaslide.image.class.php:119
55
  msgid "New Window"
56
  msgstr "新窗口"
57
 
58
+ #: ../ml-slider.php:235
59
  msgid "Are you sure?"
60
  msgstr "你确定吗?"
61
 
62
+ #: ../ml-slider.php:239
63
  msgid ""
64
  "Caution: This setting is for advanced developers only. If you're unsure, "
65
  "leave it checked."
66
  msgstr "注意:此设置仅适用于高级开发。"
67
 
68
+ #: ../ml-slider.php:275
69
  msgid "Upgrade to Pro $19"
70
  msgstr "升级到专业版$19"
71
 
72
+ #: ../ml-slider.php:291
73
  msgid "Documentation"
74
  msgstr "文档"
75
 
76
+ #: ../ml-slider.php:425
77
  msgid "New Slider"
78
+ msgstr "新的滑块"
79
 
80
+ #: ../ml-slider.php:526
81
  msgid "Version"
82
  msgstr "版本"
83
 
84
+ #: ../ml-slider.php:527
85
  msgid "Responsive"
86
  msgstr "响应"
87
 
88
+ #: ../ml-slider.php:528 ../ml-slider.php:532
89
  msgid "Yes"
90
  msgstr ""
91
 
92
+ #: ../ml-slider.php:528 ../ml-slider.php:532
93
  msgid "No"
94
  msgstr ""
95
 
96
+ #: ../ml-slider.php:530 ../ml-slider.php:679
97
  msgid "Size"
98
  msgstr "大小"
99
 
100
+ #: ../ml-slider.php:530
101
  msgid "kb"
102
  msgstr ""
103
 
104
+ #: ../ml-slider.php:531
105
  msgid "Mobile Friendly"
106
  msgstr "移动"
107
 
108
+ #: ../ml-slider.php:565
109
  msgid "New slideshow created. Click 'Add Slide' to get started!"
110
  msgstr "创建新的幻灯片。点击“添加幻灯片”以开始浏览网页!"
111
 
112
+ #: ../ml-slider.php:582
113
  msgid "or"
114
  msgstr "或"
115
 
116
+ #: ../ml-slider.php:583
117
  msgid "Add New Slideshow"
118
  msgstr "添加新的幻灯片"
119
 
120
+ #: ../ml-slider.php:599
121
  msgid "Create your first slideshow"
122
  msgstr "创建第一份幻灯片"
123
 
124
+ #: ../ml-slider.php:616
125
  msgid "Slides"
126
  msgstr "幻灯片"
127
 
128
+ #: ../ml-slider.php:619 ../ml-slider.php:620
129
  msgid "Add Slide"
130
  msgstr "添加幻灯片"
131
 
132
+ #: ../ml-slider.php:639
133
  msgid "Settings"
134
  msgstr "设置"
135
 
136
+ #: ../ml-slider.php:640
137
  msgid "Save"
138
  msgstr "保存"
139
 
140
+ #: ../ml-slider.php:641
141
  msgid "Save & Preview"
142
  msgstr "保存并预览"
143
 
144
+ #: ../ml-slider.php:669
145
  msgid "Slideshow title"
146
  msgstr "幻灯片标题"
147
 
148
+ #: ../ml-slider.php:670
149
  msgid "Title"
150
  msgstr "标题"
151
 
152
+ #: ../ml-slider.php:678
153
  msgid "Set the initial size for the slides (width x height)"
154
  msgstr "设置幻灯片的初始大小( 宽 x 高 )"
155
 
156
+ #: ../ml-slider.php:679
157
  msgid "px"
158
  msgstr ""
159
 
160
+ #: ../ml-slider.php:682 ../ml-slider.php:683
161
  msgid "Width"
162
  msgstr "宽度"
163
 
164
+ #: ../ml-slider.php:684 ../ml-slider.php:685
165
  msgid "Height"
166
  msgstr "高度"
167
 
168
+ #: ../ml-slider.php:689
169
  msgid "Slide transition effect"
170
  msgstr "幻灯片过渡效果"
171
 
172
+ #: ../ml-slider.php:690
173
  msgid "Effect"
174
  msgstr "效果"
175
 
176
+ #: ../ml-slider.php:694 ../ml-slider.php:804
177
  msgid "Random"
178
  msgstr "随机"
179
 
180
+ #: ../ml-slider.php:695
181
  msgid "Swirl"
182
  msgstr "漩涡"
183
 
184
+ #: ../ml-slider.php:696
185
  msgid "Rain"
186
  msgstr "雨"
187
 
188
+ #: ../ml-slider.php:697
189
  msgid "Straight"
190
  msgstr "直"
191
 
192
+ #: ../ml-slider.php:698
193
  msgid "Slide Down"
194
  msgstr "向下滑动"
195
 
196
+ #: ../ml-slider.php:699
197
  msgid "Slice Up"
198
  msgstr "切片"
199
 
200
+ #: ../ml-slider.php:700
201
  msgid "Slide Up Left"
202
  msgstr "向左滑动"
203
 
204
+ #: ../ml-slider.php:701
205
  msgid "Slice Up Down"
206
  msgstr "切片向下"
207
 
208
+ #: ../ml-slider.php:702
209
  msgid "Slide Up Down Left"
210
  msgstr "向上滑动"
211
 
212
+ #: ../ml-slider.php:703
213
  msgid "Fold"
214
  msgstr "折"
215
 
216
+ #: ../ml-slider.php:704
217
  msgid "Fade"
218
  msgstr "褪色"
219
 
220
+ #: ../ml-slider.php:705
221
  msgid "Slide In Right"
222
  msgstr "向右滑动"
223
 
224
+ #: ../ml-slider.php:706
225
  msgid "Slide In Left"
226
  msgstr "向左滑动"
227
 
228
+ #: ../ml-slider.php:707
229
  msgid "Box Random"
230
  msgstr "随机"
231
 
232
+ #: ../ml-slider.php:708
233
  msgid "Box Rain"
234
  msgstr "箱式"
235
 
236
+ #: ../ml-slider.php:709
237
  msgid "Box Rain Reverse"
238
  msgstr "箱式"
239
 
240
+ #: ../ml-slider.php:710
241
  msgid "Box Rain Grow Reverse"
242
  msgstr ""
243
 
244
+ #: ../ml-slider.php:711
245
  msgid "Slide"
246
  msgstr "滑动"
247
 
248
+ #: ../ml-slider.php:716
249
  msgid "Change the slider style"
250
  msgstr "更改滑盖造型"
251
 
252
+ #: ../ml-slider.php:717
253
  msgid "Theme"
254
  msgstr "主题"
255
 
256
+ #: ../ml-slider.php:738
257
  msgid "Controls"
258
  msgstr "控制"
259
 
260
+ #: ../ml-slider.php:741 ../ml-slider.php:755
261
  msgid "Show slide navigation row"
262
  msgstr "显示幻灯片导航"
263
 
264
+ #: ../ml-slider.php:742
265
  msgid "Arrows"
266
  msgstr "箭头"
267
 
268
+ #: ../ml-slider.php:756
269
  msgid "Navigation"
270
  msgstr "导航"
271
 
272
+ #: ../ml-slider.php:759
273
  msgid "Hidden"
274
+ msgstr "隐藏"
275
 
276
+ #: ../ml-slider.php:760
277
  msgid "Dots"
278
  msgstr "点"
279
 
280
+ #: ../ml-slider.php:761
281
  msgid "Thumbnails (Pro)"
282
+ msgstr "缩略图(临)"
283
 
284
+ #: ../ml-slider.php:768
285
  msgid "Advanced Settings"
286
  msgstr "“高级设置”"
287
 
288
+ #: ../ml-slider.php:771
289
  msgid "Center align the slideshow"
290
  msgstr "居中对齐幻灯片"
291
 
292
+ #: ../ml-slider.php:772
293
  msgid "Center align"
294
  msgstr "居中对齐"
295
 
296
+ #: ../ml-slider.php:779
297
  msgid "Start the slideshow on page load"
298
  msgstr "在页面加载启动幻灯片"
299
 
300
+ #: ../ml-slider.php:780
301
  msgid "Auto play"
302
  msgstr "自动播放"
303
 
304
+ #: ../ml-slider.php:787
305
  msgid ""
306
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
307
  "results in a consistent slideshow size"
308
+ msgstr ""
309
+ "智能裁剪,将您的幻灯片图片裁剪到一个相同比例,使其显示结果在幻灯片中大小保存"
310
+ "一致。"
311
 
312
+ #: ../ml-slider.php:788
313
  msgid "Smart crop"
314
+ msgstr "智能裁剪"
315
 
316
+ #: ../ml-slider.php:795
317
  msgid ""
318
  "Display as carousel - when selected the effect and direction options will be "
319
  "ignored."
320
  msgstr "显示为旋转 - 当选择后其他效果和方向设置将被忽略。"
321
 
322
+ #: ../ml-slider.php:796
323
  msgid "Carousel mode"
324
  msgstr "传送带模式"
325
 
326
+ #: ../ml-slider.php:803
327
  msgid "Randomise the order of the slides"
328
  msgstr "随机顺序幻灯片"
329
 
330
+ #: ../ml-slider.php:811
331
  msgid ""
332
  "Pause the slideshow when hovering over slider, then resume when no longer "
333
  "hovering"
334
  msgstr "当鼠标悬停在图片上时暂停幻灯片"
335
 
336
+ #: ../ml-slider.php:812
337
  msgid "Hover pause"
338
  msgstr "悬停时间"
339
 
340
+ #: ../ml-slider.php:819
341
  msgid "Reverse the animation direction"
342
  msgstr "反向动画"
343
 
344
+ #: ../ml-slider.php:820
345
  msgid "Reverse"
346
  msgstr "逆转"
347
 
348
+ #: ../ml-slider.php:827
349
  msgid "How long to display each slide, in milliseconds"
350
  msgstr "幻灯片的播放间隔,单位毫秒"
351
 
352
+ #: ../ml-slider.php:828
353
  msgid "Slide delay"
354
  msgstr "滑动延迟"
355
 
356
+ #: ../ml-slider.php:828 ../ml-slider.php:836 ../ml-slider.php:915
357
+ #: ../ml-slider.php:931
358
  msgid "ms"
359
  msgstr "毫秒"
360
 
361
+ #: ../ml-slider.php:835
362
  msgid "Set the speed of animations, in milliseconds"
363
  msgstr "设置动画的速度,单位毫秒"
364
 
365
+ #: ../ml-slider.php:836
366
  msgid "Animation speed"
367
  msgstr "动画速度"
368
 
369
+ #: ../ml-slider.php:843
370
  msgid "Number of squares (width x height)"
371
  msgstr "宽 x 高"
372
 
373
+ #: ../ml-slider.php:844
374
  msgid "Number of squares"
375
+ msgstr "方格数"
376
 
377
+ #: ../ml-slider.php:852 ../ml-slider.php:853
378
  msgid "Number of slices"
379
+ msgstr "切片数"
380
 
381
+ #: ../ml-slider.php:860
382
  msgid "Select the sliding direction"
383
  msgstr "选择的滑动方向"
384
 
385
+ #: ../ml-slider.php:860
386
  msgid "Slide direction"
387
  msgstr "滑动方向"
388
 
389
+ #: ../ml-slider.php:863
390
  msgid "Horizontal"
391
  msgstr "横向"
392
 
393
+ #: ../ml-slider.php:864
394
  msgid "Vertical"
395
  msgstr "垂直"
396
 
397
+ #: ../ml-slider.php:869
398
  msgid "Animation easing effect"
399
  msgstr "动画宽松效果"
400
 
401
+ #: ../ml-slider.php:870
402
  msgid "Easing"
403
  msgstr "松"
404
 
405
+ #: ../ml-slider.php:898
406
  msgid "Set the text for the 'previous' direction item"
407
+ msgstr "选择图片为'上一张'"
408
 
409
+ #: ../ml-slider.php:899
410
  msgid "Previous text"
411
+ msgstr "上一张图片"
412
 
413
+ #: ../ml-slider.php:906
414
  msgid "Set the text for the 'next' direction item"
415
+ msgstr "选择图片为'下一张'"
416
 
417
+ #: ../ml-slider.php:907
418
  msgid "Next text"
419
+ msgstr "下一张图片"
420
 
421
+ #: ../ml-slider.php:914
422
  msgid "Delay beetwen squares in ms"
423
+ msgstr "以毫秒为单位"
424
 
425
+ #: ../ml-slider.php:915
426
  msgid "Square delay"
427
  msgstr "延迟"
428
 
429
+ #: ../ml-slider.php:922
430
  msgid "Opacity of title and navigation"
431
  msgstr "标题和导航的透明度"
432
 
433
+ #: ../ml-slider.php:923
434
  msgid "Opacity"
435
  msgstr "透明度"
436
 
437
+ #: ../ml-slider.php:930
438
  msgid "Set the fade in speed of the caption"
439
  msgstr "设置速度的标题淡入"
440
 
441
+ #: ../ml-slider.php:931
442
  msgid "Caption speed"
443
  msgstr "速度"
444
 
445
+ #: ../ml-slider.php:938
446
  msgid "Developer Options"
447
  msgstr "开发人员选项"
448
 
449
+ #: ../ml-slider.php:941
450
  msgid ""
451
  "Specify any custom CSS Classes you would like to be added to the slider "
452
  "wrapper"
453
  msgstr "指定的任何自定义CSS类"
454
 
455
+ #: ../ml-slider.php:942
456
  msgid "CSS classes"
457
+ msgstr "CSS 类"
458
 
459
+ #: ../ml-slider.php:949 ../ml-slider.php:958
460
+ msgid "Uncheck this is you would like to include your own Javascript"
461
+ msgstr "取消选中,则使用自己的Javascript"
462
 
463
+ #: ../ml-slider.php:950
464
+ msgid "Print Scripts"
465
+ msgstr "显示JavaScript"
466
 
467
+ #: ../ml-slider.php:954
468
+ msgid "Uncheck this is you would like to include your own CSS"
469
+ msgstr "取消选中,则使用自己的CSS"
470
+
471
+ #: ../ml-slider.php:955
472
+ msgid "CSS"
473
  msgstr ""
474
 
475
+ #: ../ml-slider.php:959
476
+ msgid "JavaScript"
477
  msgstr ""
478
 
479
+ #: ../ml-slider.php:965
480
  msgid "Delete Slider"
481
+ msgstr "删除幻灯片"
482
 
483
+ #: ../ml-slider.php:974
484
  msgid "Usage"
485
  msgstr "用法"
486
 
487
+ #: ../ml-slider.php:980
488
  msgid "Shortcode"
489
+ msgstr "简码"
490
 
491
+ #: ../ml-slider.php:986
492
  msgid "Template Include"
493
+ msgstr "使用在主题代码中的代码"
494
 
495
+ #: ../inc/metaslider.widget.class.php:18
496
  msgid "Meta Slider"
497
+ msgstr "梅塔幻灯片"
498
 
499
+ #: ../inc/metaslider.widget.class.php:111
500
  msgid "Title:"
501
  msgstr "标题:"
502
 
503
+ #: ../inc/metaslider.widget.class.php:114
504
  msgid "Select Slider:"
505
+ msgstr "选择幻灯片:"
506
 
507
+ #: ../inc/metaslider.widget.class.php:124
508
  msgid "No slideshows found"
509
  msgstr "没有幻灯片"
510
+
511
+ #: ../inc/slide/metaslide.image.class.php:23
512
+ msgid "Security check failed. Refresh page and try again."
513
+ msgstr "安全检查失败。刷新页面,然后重试。"
514
+
515
+ #: ../inc/slide/metaslide.image.class.php:36
516
+ msgid "Failed to add slide. Slide already exists in slideshow."
517
+ msgstr "无法添加幻灯片。"
518
+
519
+ #: ../inc/slide/metaslide.image.class.php:38
520
+ msgid "Failed to add slide. Slide is not of type 'image'."
521
+ msgstr "未能添加幻灯片。幻灯片类型不正确'。"
522
+
523
+ #: ../inc/slide/metaslide.image.class.php:133
524
+ msgid "Warning: Image data does not exist. Please re-upload the image."
525
+ msgstr "警告:图像数据不存在。请重新上传图片。"
526
+
527
+ #~ msgid "More Slide Types"
528
+ #~ msgstr "更多幻灯片类型"
languages/metaslider.mo CHANGED
Binary file
languages/metaslider.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-10-10 15:38-0000\n"
5
- "PO-Revision-Date: 2013-10-10 15:38-0000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -14,477 +14,509 @@ msgstr ""
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
- #: ../ml-slider.php:93
18
  msgid "Go Pro"
19
  msgstr ""
20
 
21
- #: ../ml-slider.php:144
22
  msgid "Image"
23
  msgstr ""
24
 
25
- #: ../ml-slider.php:145
26
  msgid "Add to slider"
27
  msgstr ""
28
 
29
- #: ../ml-slider.php:164
30
- msgid "More Slide Types"
31
  msgstr ""
32
 
33
- #: ../ml-slider.php:213 ../inc/slide/metaslide.image.class.php:62
 
 
 
 
 
 
 
 
 
 
 
 
34
  msgid "URL"
35
  msgstr ""
36
 
37
- #: ../ml-slider.php:214 ../inc/slide/metaslide.image.class.php:60
38
  msgid "Caption"
39
  msgstr ""
40
 
41
- #: ../ml-slider.php:215 ../inc/slide/metaslide.image.class.php:61
42
  msgid "New Window"
43
  msgstr ""
44
 
45
- #: ../ml-slider.php:216
46
  msgid "Are you sure?"
47
  msgstr ""
48
 
49
- #: ../ml-slider.php:219
50
  msgid ""
51
  "Caution: This setting is for advanced developers only. If you're unsure, "
52
  "leave it checked."
53
  msgstr ""
54
 
55
- #: ../ml-slider.php:256
56
  msgid "Upgrade to Pro $19"
57
  msgstr ""
58
 
59
- #: ../ml-slider.php:272
60
  msgid "Documentation"
61
  msgstr ""
62
 
63
- #: ../ml-slider.php:393
64
  msgid "New Slider"
65
  msgstr ""
66
 
67
- #: ../ml-slider.php:486
68
  msgid "Version"
69
  msgstr ""
70
 
71
- #: ../ml-slider.php:487
72
  msgid "Responsive"
73
  msgstr ""
74
 
75
- #: ../ml-slider.php:488 ../ml-slider.php:492
76
  msgid "Yes"
77
  msgstr ""
78
 
79
- #: ../ml-slider.php:488 ../ml-slider.php:492
80
  msgid "No"
81
  msgstr ""
82
 
83
- #: ../ml-slider.php:490 ../ml-slider.php:633
84
  msgid "Size"
85
  msgstr ""
86
 
87
- #: ../ml-slider.php:490
88
  msgid "kb"
89
  msgstr ""
90
 
91
- #: ../ml-slider.php:491
92
  msgid "Mobile Friendly"
93
  msgstr ""
94
 
95
- #: ../ml-slider.php:519
96
  msgid "New slideshow created. Click 'Add Slide' to get started!"
97
  msgstr ""
98
 
99
- #: ../ml-slider.php:536
100
  msgid "or"
101
  msgstr ""
102
 
103
- #: ../ml-slider.php:537
104
  msgid "Add New Slideshow"
105
  msgstr ""
106
 
107
- #: ../ml-slider.php:553
108
  msgid "Create your first slideshow"
109
  msgstr ""
110
 
111
- #: ../ml-slider.php:570
112
  msgid "Slides"
113
  msgstr ""
114
 
115
- #: ../ml-slider.php:573 ../ml-slider.php:574
116
  msgid "Add Slide"
117
  msgstr ""
118
 
119
- #: ../ml-slider.php:593
120
  msgid "Settings"
121
  msgstr ""
122
 
123
- #: ../ml-slider.php:594
124
  msgid "Save"
125
  msgstr ""
126
 
127
- #: ../ml-slider.php:595
128
  msgid "Save & Preview"
129
  msgstr ""
130
 
131
- #: ../ml-slider.php:623
132
  msgid "Slideshow title"
133
  msgstr ""
134
 
135
- #: ../ml-slider.php:624
136
  msgid "Title"
137
  msgstr ""
138
 
139
- #: ../ml-slider.php:632
140
  msgid "Set the initial size for the slides (width x height)"
141
  msgstr ""
142
 
143
- #: ../ml-slider.php:633
144
  msgid "px"
145
  msgstr ""
146
 
147
- #: ../ml-slider.php:637
148
  msgid "Width"
149
  msgstr ""
150
 
151
- #: ../ml-slider.php:640
152
  msgid "Height"
153
  msgstr ""
154
 
155
- #: ../ml-slider.php:645
156
  msgid "Slide transition effect"
157
  msgstr ""
158
 
159
- #: ../ml-slider.php:646
160
  msgid "Effect"
161
  msgstr ""
162
 
163
- #: ../ml-slider.php:650 ../ml-slider.php:760
164
  msgid "Random"
165
  msgstr ""
166
 
167
- #: ../ml-slider.php:651
168
  msgid "Swirl"
169
  msgstr ""
170
 
171
- #: ../ml-slider.php:652
172
  msgid "Rain"
173
  msgstr ""
174
 
175
- #: ../ml-slider.php:653
176
  msgid "Straight"
177
  msgstr ""
178
 
179
- #: ../ml-slider.php:654
180
  msgid "Slide Down"
181
  msgstr ""
182
 
183
- #: ../ml-slider.php:655
184
  msgid "Slice Up"
185
  msgstr ""
186
 
187
- #: ../ml-slider.php:656
188
  msgid "Slide Up Left"
189
  msgstr ""
190
 
191
- #: ../ml-slider.php:657
192
  msgid "Slice Up Down"
193
  msgstr ""
194
 
195
- #: ../ml-slider.php:658
196
  msgid "Slide Up Down Left"
197
  msgstr ""
198
 
199
- #: ../ml-slider.php:659
200
  msgid "Fold"
201
  msgstr ""
202
 
203
- #: ../ml-slider.php:660
204
  msgid "Fade"
205
  msgstr ""
206
 
207
- #: ../ml-slider.php:661
208
  msgid "Slide In Right"
209
  msgstr ""
210
 
211
- #: ../ml-slider.php:662
212
  msgid "Slide In Left"
213
  msgstr ""
214
 
215
- #: ../ml-slider.php:663
216
  msgid "Box Random"
217
  msgstr ""
218
 
219
- #: ../ml-slider.php:664
220
  msgid "Box Rain"
221
  msgstr ""
222
 
223
- #: ../ml-slider.php:665
224
  msgid "Box Rain Reverse"
225
  msgstr ""
226
 
227
- #: ../ml-slider.php:666
228
  msgid "Box Rain Grow Reverse"
229
  msgstr ""
230
 
231
- #: ../ml-slider.php:667
232
  msgid "Slide"
233
  msgstr ""
234
 
235
- #: ../ml-slider.php:672
236
  msgid "Change the slider style"
237
  msgstr ""
238
 
239
- #: ../ml-slider.php:673
240
  msgid "Theme"
241
  msgstr ""
242
 
243
- #: ../ml-slider.php:694
244
  msgid "Controls"
245
  msgstr ""
246
 
247
- #: ../ml-slider.php:697 ../ml-slider.php:711
248
  msgid "Show slide navigation row"
249
  msgstr ""
250
 
251
- #: ../ml-slider.php:698
252
  msgid "Arrows"
253
  msgstr ""
254
 
255
- #: ../ml-slider.php:712
256
  msgid "Navigation"
257
  msgstr ""
258
 
259
- #: ../ml-slider.php:715
260
  msgid "Hidden"
261
  msgstr ""
262
 
263
- #: ../ml-slider.php:716
264
  msgid "Dots"
265
  msgstr ""
266
 
267
- #: ../ml-slider.php:717
268
  msgid "Thumbnails (Pro)"
269
  msgstr ""
270
 
271
- #: ../ml-slider.php:724
272
  msgid "Advanced Settings"
273
  msgstr ""
274
 
275
- #: ../ml-slider.php:727
276
  msgid "Center align the slideshow"
277
  msgstr ""
278
 
279
- #: ../ml-slider.php:728
280
  msgid "Center align"
281
  msgstr ""
282
 
283
- #: ../ml-slider.php:735
284
  msgid "Start the slideshow on page load"
285
  msgstr ""
286
 
287
- #: ../ml-slider.php:736
288
  msgid "Auto play"
289
  msgstr ""
290
 
291
- #: ../ml-slider.php:743
292
  msgid ""
293
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
294
  "results in a consistent slideshow size"
295
  msgstr ""
296
 
297
- #: ../ml-slider.php:744
298
  msgid "Smart crop"
299
  msgstr ""
300
 
301
- #: ../ml-slider.php:751
302
  msgid ""
303
  "Display as carousel - when selected the effect and direction options will be "
304
  "ignored."
305
  msgstr ""
306
 
307
- #: ../ml-slider.php:752
308
  msgid "Carousel mode"
309
  msgstr ""
310
 
311
- #: ../ml-slider.php:759
312
  msgid "Randomise the order of the slides"
313
  msgstr ""
314
 
315
- #: ../ml-slider.php:767
316
  msgid ""
317
  "Pause the slideshow when hovering over slider, then resume when no longer "
318
  "hovering"
319
  msgstr ""
320
 
321
- #: ../ml-slider.php:768
322
  msgid "Hover pause"
323
  msgstr ""
324
 
325
- #: ../ml-slider.php:775
326
  msgid "Reverse the animation direction"
327
  msgstr ""
328
 
329
- #: ../ml-slider.php:776
330
  msgid "Reverse"
331
  msgstr ""
332
 
333
- #: ../ml-slider.php:783
334
  msgid "How long to display each slide, in milliseconds"
335
  msgstr ""
336
 
337
- #: ../ml-slider.php:784
338
  msgid "Slide delay"
339
  msgstr ""
340
 
341
- #: ../ml-slider.php:784 ../ml-slider.php:792 ../ml-slider.php:871
342
- #: ../ml-slider.php:887
343
  msgid "ms"
344
  msgstr ""
345
 
346
- #: ../ml-slider.php:791
347
  msgid "Set the speed of animations, in milliseconds"
348
  msgstr ""
349
 
350
- #: ../ml-slider.php:792
351
  msgid "Animation speed"
352
  msgstr ""
353
 
354
- #: ../ml-slider.php:799
355
  msgid "Number of squares (width x height)"
356
  msgstr ""
357
 
358
- #: ../ml-slider.php:800
359
  msgid "Number of squares"
360
  msgstr ""
361
 
362
- #: ../ml-slider.php:808 ../ml-slider.php:809
363
  msgid "Number of slices"
364
  msgstr ""
365
 
366
- #: ../ml-slider.php:816
367
  msgid "Select the sliding direction"
368
  msgstr ""
369
 
370
- #: ../ml-slider.php:816
371
  msgid "Slide direction"
372
  msgstr ""
373
 
374
- #: ../ml-slider.php:819
375
  msgid "Horizontal"
376
  msgstr ""
377
 
378
- #: ../ml-slider.php:820
379
  msgid "Vertical"
380
  msgstr ""
381
 
382
- #: ../ml-slider.php:825
383
  msgid "Animation easing effect"
384
  msgstr ""
385
 
386
- #: ../ml-slider.php:826
387
  msgid "Easing"
388
  msgstr ""
389
 
390
- #: ../ml-slider.php:854
391
  msgid "Set the text for the 'previous' direction item"
392
  msgstr ""
393
 
394
- #: ../ml-slider.php:855
395
  msgid "Previous text"
396
  msgstr ""
397
 
398
- #: ../ml-slider.php:862
399
  msgid "Set the text for the 'next' direction item"
400
  msgstr ""
401
 
402
- #: ../ml-slider.php:863
403
  msgid "Next text"
404
  msgstr ""
405
 
406
- #: ../ml-slider.php:870
407
  msgid "Delay beetwen squares in ms"
408
  msgstr ""
409
 
410
- #: ../ml-slider.php:871
411
  msgid "Square delay"
412
  msgstr ""
413
 
414
- #: ../ml-slider.php:878
415
  msgid "Opacity of title and navigation"
416
  msgstr ""
417
 
418
- #: ../ml-slider.php:879
419
  msgid "Opacity"
420
  msgstr ""
421
 
422
- #: ../ml-slider.php:886
423
  msgid "Set the fade in speed of the caption"
424
  msgstr ""
425
 
426
- #: ../ml-slider.php:887
427
  msgid "Caption speed"
428
  msgstr ""
429
 
430
- #: ../ml-slider.php:894
431
  msgid "Developer Options"
432
  msgstr ""
433
 
434
- #: ../ml-slider.php:897
435
  msgid ""
436
  "Specify any custom CSS Classes you would like to be added to the slider "
437
  "wrapper"
438
  msgstr ""
439
 
440
- #: ../ml-slider.php:898
441
  msgid "CSS classes"
442
  msgstr ""
443
 
444
- #: ../ml-slider.php:905
445
- msgid "Uncheck this is you would like to include your own CSS"
446
  msgstr ""
447
 
448
- #: ../ml-slider.php:906
449
- msgid "Print CSS"
450
  msgstr ""
451
 
452
- #: ../ml-slider.php:913
453
- msgid "Uncheck this is you would like to include your own Javascript"
454
  msgstr ""
455
 
456
- #: ../ml-slider.php:914
457
- msgid "Print JS"
458
  msgstr ""
459
 
460
- #: ../ml-slider.php:922
 
 
 
 
461
  msgid "Delete Slider"
462
  msgstr ""
463
 
464
- #: ../ml-slider.php:931
465
  msgid "Usage"
466
  msgstr ""
467
 
468
- #: ../ml-slider.php:937
469
  msgid "Shortcode"
470
  msgstr ""
471
 
472
- #: ../ml-slider.php:943
473
  msgid "Template Include"
474
  msgstr ""
475
 
476
- #: ../inc/metaslider.widget.class.php:14
477
  msgid "Meta Slider"
478
  msgstr ""
479
 
480
- #: ../inc/metaslider.widget.class.php:107
481
  msgid "Title:"
482
  msgstr ""
483
 
484
- #: ../inc/metaslider.widget.class.php:110
485
  msgid "Select Slider:"
486
  msgstr ""
487
 
488
- #: ../inc/metaslider.widget.class.php:120
489
  msgid "No slideshows found"
490
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-11-12 14:42-0000\n"
5
+ "PO-Revision-Date: 2013-11-12 14:43-0000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SearchPath-1: ..\n"
16
 
17
+ #: ../ml-slider.php:99
18
  msgid "Go Pro"
19
  msgstr ""
20
 
21
+ #: ../ml-slider.php:153
22
  msgid "Image"
23
  msgstr ""
24
 
25
+ #: ../ml-slider.php:154
26
  msgid "Add to slider"
27
  msgstr ""
28
 
29
+ #: ../ml-slider.php:174
30
+ msgid "Post Feed"
31
  msgstr ""
32
 
33
+ #: ../ml-slider.php:175
34
+ msgid "Vimeo"
35
+ msgstr ""
36
+
37
+ #: ../ml-slider.php:176
38
+ msgid "YouTube"
39
+ msgstr ""
40
+
41
+ #: ../ml-slider.php:177
42
+ msgid "Layer Slide"
43
+ msgstr ""
44
+
45
+ #: ../ml-slider.php:232 ../inc/slide/metaslide.image.class.php:120
46
  msgid "URL"
47
  msgstr ""
48
 
49
+ #: ../ml-slider.php:233 ../inc/slide/metaslide.image.class.php:118
50
  msgid "Caption"
51
  msgstr ""
52
 
53
+ #: ../ml-slider.php:234 ../inc/slide/metaslide.image.class.php:119
54
  msgid "New Window"
55
  msgstr ""
56
 
57
+ #: ../ml-slider.php:235
58
  msgid "Are you sure?"
59
  msgstr ""
60
 
61
+ #: ../ml-slider.php:239
62
  msgid ""
63
  "Caution: This setting is for advanced developers only. If you're unsure, "
64
  "leave it checked."
65
  msgstr ""
66
 
67
+ #: ../ml-slider.php:275
68
  msgid "Upgrade to Pro $19"
69
  msgstr ""
70
 
71
+ #: ../ml-slider.php:291
72
  msgid "Documentation"
73
  msgstr ""
74
 
75
+ #: ../ml-slider.php:425
76
  msgid "New Slider"
77
  msgstr ""
78
 
79
+ #: ../ml-slider.php:526
80
  msgid "Version"
81
  msgstr ""
82
 
83
+ #: ../ml-slider.php:527
84
  msgid "Responsive"
85
  msgstr ""
86
 
87
+ #: ../ml-slider.php:528 ../ml-slider.php:532
88
  msgid "Yes"
89
  msgstr ""
90
 
91
+ #: ../ml-slider.php:528 ../ml-slider.php:532
92
  msgid "No"
93
  msgstr ""
94
 
95
+ #: ../ml-slider.php:530 ../ml-slider.php:679
96
  msgid "Size"
97
  msgstr ""
98
 
99
+ #: ../ml-slider.php:530
100
  msgid "kb"
101
  msgstr ""
102
 
103
+ #: ../ml-slider.php:531
104
  msgid "Mobile Friendly"
105
  msgstr ""
106
 
107
+ #: ../ml-slider.php:565
108
  msgid "New slideshow created. Click 'Add Slide' to get started!"
109
  msgstr ""
110
 
111
+ #: ../ml-slider.php:582
112
  msgid "or"
113
  msgstr ""
114
 
115
+ #: ../ml-slider.php:583
116
  msgid "Add New Slideshow"
117
  msgstr ""
118
 
119
+ #: ../ml-slider.php:599
120
  msgid "Create your first slideshow"
121
  msgstr ""
122
 
123
+ #: ../ml-slider.php:616
124
  msgid "Slides"
125
  msgstr ""
126
 
127
+ #: ../ml-slider.php:619 ../ml-slider.php:620
128
  msgid "Add Slide"
129
  msgstr ""
130
 
131
+ #: ../ml-slider.php:639
132
  msgid "Settings"
133
  msgstr ""
134
 
135
+ #: ../ml-slider.php:640
136
  msgid "Save"
137
  msgstr ""
138
 
139
+ #: ../ml-slider.php:641
140
  msgid "Save & Preview"
141
  msgstr ""
142
 
143
+ #: ../ml-slider.php:669
144
  msgid "Slideshow title"
145
  msgstr ""
146
 
147
+ #: ../ml-slider.php:670
148
  msgid "Title"
149
  msgstr ""
150
 
151
+ #: ../ml-slider.php:678
152
  msgid "Set the initial size for the slides (width x height)"
153
  msgstr ""
154
 
155
+ #: ../ml-slider.php:679
156
  msgid "px"
157
  msgstr ""
158
 
159
+ #: ../ml-slider.php:682 ../ml-slider.php:683
160
  msgid "Width"
161
  msgstr ""
162
 
163
+ #: ../ml-slider.php:684 ../ml-slider.php:685
164
  msgid "Height"
165
  msgstr ""
166
 
167
+ #: ../ml-slider.php:689
168
  msgid "Slide transition effect"
169
  msgstr ""
170
 
171
+ #: ../ml-slider.php:690
172
  msgid "Effect"
173
  msgstr ""
174
 
175
+ #: ../ml-slider.php:694 ../ml-slider.php:804
176
  msgid "Random"
177
  msgstr ""
178
 
179
+ #: ../ml-slider.php:695
180
  msgid "Swirl"
181
  msgstr ""
182
 
183
+ #: ../ml-slider.php:696
184
  msgid "Rain"
185
  msgstr ""
186
 
187
+ #: ../ml-slider.php:697
188
  msgid "Straight"
189
  msgstr ""
190
 
191
+ #: ../ml-slider.php:698
192
  msgid "Slide Down"
193
  msgstr ""
194
 
195
+ #: ../ml-slider.php:699
196
  msgid "Slice Up"
197
  msgstr ""
198
 
199
+ #: ../ml-slider.php:700
200
  msgid "Slide Up Left"
201
  msgstr ""
202
 
203
+ #: ../ml-slider.php:701
204
  msgid "Slice Up Down"
205
  msgstr ""
206
 
207
+ #: ../ml-slider.php:702
208
  msgid "Slide Up Down Left"
209
  msgstr ""
210
 
211
+ #: ../ml-slider.php:703
212
  msgid "Fold"
213
  msgstr ""
214
 
215
+ #: ../ml-slider.php:704
216
  msgid "Fade"
217
  msgstr ""
218
 
219
+ #: ../ml-slider.php:705
220
  msgid "Slide In Right"
221
  msgstr ""
222
 
223
+ #: ../ml-slider.php:706
224
  msgid "Slide In Left"
225
  msgstr ""
226
 
227
+ #: ../ml-slider.php:707
228
  msgid "Box Random"
229
  msgstr ""
230
 
231
+ #: ../ml-slider.php:708
232
  msgid "Box Rain"
233
  msgstr ""
234
 
235
+ #: ../ml-slider.php:709
236
  msgid "Box Rain Reverse"
237
  msgstr ""
238
 
239
+ #: ../ml-slider.php:710
240
  msgid "Box Rain Grow Reverse"
241
  msgstr ""
242
 
243
+ #: ../ml-slider.php:711
244
  msgid "Slide"
245
  msgstr ""
246
 
247
+ #: ../ml-slider.php:716
248
  msgid "Change the slider style"
249
  msgstr ""
250
 
251
+ #: ../ml-slider.php:717
252
  msgid "Theme"
253
  msgstr ""
254
 
255
+ #: ../ml-slider.php:738
256
  msgid "Controls"
257
  msgstr ""
258
 
259
+ #: ../ml-slider.php:741 ../ml-slider.php:755
260
  msgid "Show slide navigation row"
261
  msgstr ""
262
 
263
+ #: ../ml-slider.php:742
264
  msgid "Arrows"
265
  msgstr ""
266
 
267
+ #: ../ml-slider.php:756
268
  msgid "Navigation"
269
  msgstr ""
270
 
271
+ #: ../ml-slider.php:759
272
  msgid "Hidden"
273
  msgstr ""
274
 
275
+ #: ../ml-slider.php:760
276
  msgid "Dots"
277
  msgstr ""
278
 
279
+ #: ../ml-slider.php:761
280
  msgid "Thumbnails (Pro)"
281
  msgstr ""
282
 
283
+ #: ../ml-slider.php:768
284
  msgid "Advanced Settings"
285
  msgstr ""
286
 
287
+ #: ../ml-slider.php:771
288
  msgid "Center align the slideshow"
289
  msgstr ""
290
 
291
+ #: ../ml-slider.php:772
292
  msgid "Center align"
293
  msgstr ""
294
 
295
+ #: ../ml-slider.php:779
296
  msgid "Start the slideshow on page load"
297
  msgstr ""
298
 
299
+ #: ../ml-slider.php:780
300
  msgid "Auto play"
301
  msgstr ""
302
 
303
+ #: ../ml-slider.php:787
304
  msgid ""
305
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
306
  "results in a consistent slideshow size"
307
  msgstr ""
308
 
309
+ #: ../ml-slider.php:788
310
  msgid "Smart crop"
311
  msgstr ""
312
 
313
+ #: ../ml-slider.php:795
314
  msgid ""
315
  "Display as carousel - when selected the effect and direction options will be "
316
  "ignored."
317
  msgstr ""
318
 
319
+ #: ../ml-slider.php:796
320
  msgid "Carousel mode"
321
  msgstr ""
322
 
323
+ #: ../ml-slider.php:803
324
  msgid "Randomise the order of the slides"
325
  msgstr ""
326
 
327
+ #: ../ml-slider.php:811
328
  msgid ""
329
  "Pause the slideshow when hovering over slider, then resume when no longer "
330
  "hovering"
331
  msgstr ""
332
 
333
+ #: ../ml-slider.php:812
334
  msgid "Hover pause"
335
  msgstr ""
336
 
337
+ #: ../ml-slider.php:819
338
  msgid "Reverse the animation direction"
339
  msgstr ""
340
 
341
+ #: ../ml-slider.php:820
342
  msgid "Reverse"
343
  msgstr ""
344
 
345
+ #: ../ml-slider.php:827
346
  msgid "How long to display each slide, in milliseconds"
347
  msgstr ""
348
 
349
+ #: ../ml-slider.php:828
350
  msgid "Slide delay"
351
  msgstr ""
352
 
353
+ #: ../ml-slider.php:828 ../ml-slider.php:836 ../ml-slider.php:915
354
+ #: ../ml-slider.php:931
355
  msgid "ms"
356
  msgstr ""
357
 
358
+ #: ../ml-slider.php:835
359
  msgid "Set the speed of animations, in milliseconds"
360
  msgstr ""
361
 
362
+ #: ../ml-slider.php:836
363
  msgid "Animation speed"
364
  msgstr ""
365
 
366
+ #: ../ml-slider.php:843
367
  msgid "Number of squares (width x height)"
368
  msgstr ""
369
 
370
+ #: ../ml-slider.php:844
371
  msgid "Number of squares"
372
  msgstr ""
373
 
374
+ #: ../ml-slider.php:852 ../ml-slider.php:853
375
  msgid "Number of slices"
376
  msgstr ""
377
 
378
+ #: ../ml-slider.php:860
379
  msgid "Select the sliding direction"
380
  msgstr ""
381
 
382
+ #: ../ml-slider.php:860
383
  msgid "Slide direction"
384
  msgstr ""
385
 
386
+ #: ../ml-slider.php:863
387
  msgid "Horizontal"
388
  msgstr ""
389
 
390
+ #: ../ml-slider.php:864
391
  msgid "Vertical"
392
  msgstr ""
393
 
394
+ #: ../ml-slider.php:869
395
  msgid "Animation easing effect"
396
  msgstr ""
397
 
398
+ #: ../ml-slider.php:870
399
  msgid "Easing"
400
  msgstr ""
401
 
402
+ #: ../ml-slider.php:898
403
  msgid "Set the text for the 'previous' direction item"
404
  msgstr ""
405
 
406
+ #: ../ml-slider.php:899
407
  msgid "Previous text"
408
  msgstr ""
409
 
410
+ #: ../ml-slider.php:906
411
  msgid "Set the text for the 'next' direction item"
412
  msgstr ""
413
 
414
+ #: ../ml-slider.php:907
415
  msgid "Next text"
416
  msgstr ""
417
 
418
+ #: ../ml-slider.php:914
419
  msgid "Delay beetwen squares in ms"
420
  msgstr ""
421
 
422
+ #: ../ml-slider.php:915
423
  msgid "Square delay"
424
  msgstr ""
425
 
426
+ #: ../ml-slider.php:922
427
  msgid "Opacity of title and navigation"
428
  msgstr ""
429
 
430
+ #: ../ml-slider.php:923
431
  msgid "Opacity"
432
  msgstr ""
433
 
434
+ #: ../ml-slider.php:930
435
  msgid "Set the fade in speed of the caption"
436
  msgstr ""
437
 
438
+ #: ../ml-slider.php:931
439
  msgid "Caption speed"
440
  msgstr ""
441
 
442
+ #: ../ml-slider.php:938
443
  msgid "Developer Options"
444
  msgstr ""
445
 
446
+ #: ../ml-slider.php:941
447
  msgid ""
448
  "Specify any custom CSS Classes you would like to be added to the slider "
449
  "wrapper"
450
  msgstr ""
451
 
452
+ #: ../ml-slider.php:942
453
  msgid "CSS classes"
454
  msgstr ""
455
 
456
+ #: ../ml-slider.php:949 ../ml-slider.php:958
457
+ msgid "Uncheck this is you would like to include your own Javascript"
458
  msgstr ""
459
 
460
+ #: ../ml-slider.php:950
461
+ msgid "Print Scripts"
462
  msgstr ""
463
 
464
+ #: ../ml-slider.php:954
465
+ msgid "Uncheck this is you would like to include your own CSS"
466
  msgstr ""
467
 
468
+ #: ../ml-slider.php:955
469
+ msgid "CSS"
470
  msgstr ""
471
 
472
+ #: ../ml-slider.php:959
473
+ msgid "JavaScript"
474
+ msgstr ""
475
+
476
+ #: ../ml-slider.php:965
477
  msgid "Delete Slider"
478
  msgstr ""
479
 
480
+ #: ../ml-slider.php:974
481
  msgid "Usage"
482
  msgstr ""
483
 
484
+ #: ../ml-slider.php:980
485
  msgid "Shortcode"
486
  msgstr ""
487
 
488
+ #: ../ml-slider.php:986
489
  msgid "Template Include"
490
  msgstr ""
491
 
492
+ #: ../inc/metaslider.widget.class.php:18
493
  msgid "Meta Slider"
494
  msgstr ""
495
 
496
+ #: ../inc/metaslider.widget.class.php:111
497
  msgid "Title:"
498
  msgstr ""
499
 
500
+ #: ../inc/metaslider.widget.class.php:114
501
  msgid "Select Slider:"
502
  msgstr ""
503
 
504
+ #: ../inc/metaslider.widget.class.php:124
505
  msgid "No slideshows found"
506
  msgstr ""
507
+
508
+ #: ../inc/slide/metaslide.image.class.php:23
509
+ msgid "Security check failed. Refresh page and try again."
510
+ msgstr ""
511
+
512
+ #: ../inc/slide/metaslide.image.class.php:36
513
+ msgid "Failed to add slide. Slide already exists in slideshow."
514
+ msgstr ""
515
+
516
+ #: ../inc/slide/metaslide.image.class.php:38
517
+ msgid "Failed to add slide. Slide is not of type 'image'."
518
+ msgstr ""
519
+
520
+ #: ../inc/slide/metaslide.image.class.php:133
521
+ msgid "Warning: Image data does not exist. Please re-upload the image."
522
+ msgstr ""
ml-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Meta Slider
4
  * Plugin URI: http://www.metaslider.com
5
  * Description: 4 sliders in 1! Choose from Nivo Slider, Flex Slider, Coin Slider or Responsive Slides.
6
- * Version: 2.4.2
7
  * Author: Matcha Labs
8
  * Author URI: http://www.matchalabs.com
9
  * License: GPLv2 or later
@@ -17,8 +17,8 @@
17
  // disable direct access
18
  if (!defined('ABSPATH')) exit;
19
 
20
- define('METASLIDER_VERSION', '2.4.2');
21
- define('METASLIDER_BASE_URL', plugin_dir_url(__FILE__));
22
  define('METASLIDER_ASSETS_URL', METASLIDER_BASE_URL . 'assets/');
23
  define('METASLIDER_BASE_DIR_LONG', dirname(__FILE__));
24
  define('METASLIDER_INC_DIR', METASLIDER_BASE_DIR_LONG . '/inc/');
@@ -71,7 +71,10 @@ class MetaSliderPlugin {
71
 
72
  add_filter('media_upload_tabs', array($this,'custom_media_upload_tab_name'), 998);
73
  add_filter('media_view_strings', array($this, 'custom_media_uploader_tabs'), 5);
74
- add_action('media_upload_metaslider_pro', array($this, 'metaslider_pro_tab'));
 
 
 
75
 
76
  // add 'go pro' link to plugin options
77
  $plugin = plugin_basename(__FILE__);
@@ -92,7 +95,9 @@ class MetaSliderPlugin {
92
  * Add settings link on plugin page
93
  */
94
  public function upgrade_to_pro($links) {
95
- $links[] = '<a href="http://www.metaslider.com/upgrade" target="_blank">' . __("Go Pro", 'metaslider') . '</a>';
 
 
96
  return $links;
97
  }
98
 
@@ -100,7 +105,9 @@ class MetaSliderPlugin {
100
  * Return the meta slider pro upgrade iFrame
101
  */
102
  public function metaslider_pro_tab() {
103
- return wp_iframe( array($this, 'iframe'));
 
 
104
  }
105
 
106
  /**
@@ -145,7 +152,6 @@ class MetaSliderPlugin {
145
  if ((isset($_GET['page']) && $_GET['page'] == 'metaslider')) {
146
  $strings['insertMediaTitle'] = __("Image", 'metaslider');
147
  $strings['insertIntoPost'] = __("Add to slider", 'metaslider');
148
-
149
  // remove options
150
  if (isset($strings['createGalleryTitle'])) unset($strings['createGalleryTitle']);
151
  if (isset($strings['insertFromUrlTitle'])) unset($strings['insertFromUrlTitle']);
@@ -158,17 +164,23 @@ class MetaSliderPlugin {
158
  *
159
  * @var array existing media manager tabs
160
  */
161
- public function custom_media_upload_tab_name( $tabs ) {
162
  // restrict our tab changes to the meta slider plugin page
163
  if ((isset($_GET['page']) && $_GET['page'] == 'metaslider') || isset($_GET['tab']) == 'metaslider_pro') {
 
164
 
165
- $newtabs = array(
166
- 'metaslider_pro' => __("More Slide Types", 'metaslider')
167
- );
 
 
 
 
 
168
 
169
  if (isset($tabs['nextgen'])) unset($tabs['nextgen']);
170
 
171
- return array_merge( $tabs, $newtabs );
172
  }
173
 
174
  return $tabs;
@@ -210,6 +222,11 @@ class MetaSliderPlugin {
210
  wp_enqueue_script('metaslider-admin-script', METASLIDER_ASSETS_URL . 'metaslider/admin.js', array('jquery', 'metaslider-tipsy', 'media-upload'), METASLIDER_VERSION);
211
  wp_enqueue_script('metaslider-admin-addslide', METASLIDER_ASSETS_URL . 'metaslider/image/image.js', array('metaslider-admin-script'), METASLIDER_VERSION);
212
 
 
 
 
 
 
213
  // localise the JS
214
  wp_localize_script( 'metaslider-admin-script', 'metaslider', array(
215
  'url' => __("URL", 'metaslider'),
@@ -217,6 +234,7 @@ class MetaSliderPlugin {
217
  'new_window' => __("New Window", 'metaslider'),
218
  'confirm' => __("Are you sure?", 'metaslider'),
219
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
 
220
  'iframeurl' => METASLIDER_BASE_URL . 'preview.php',
221
  'useWithCaution' => __("Caution: This setting is for advanced developers only. If you're unsure, leave it checked.", 'metaslider')
222
  ));
@@ -242,21 +260,18 @@ class MetaSliderPlugin {
242
  add_action('admin_print_scripts-' . $page, array($this, 'register_admin_scripts'));
243
  add_action('admin_print_styles-' . $page, array($this, 'register_admin_styles'));
244
  add_action('load-' . $page, array($this, 'help_tab'));
245
-
246
  }
247
 
248
-
249
-
250
  /**
251
  * Upgrade CTA.
252
  */
253
  public function go_pro_cta() {
254
- if (!is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
255
  $link = apply_filters('metaslider_hoplink', 'http://www.metaslider.com/upgrade/');
256
 
257
  $link .= '?utm_source=lite&utm_medium=nag&utm_campaign=pro';
258
 
259
- $goPro = "<div id='ms-pro-meta-link-wrap'><a target='_blank' href='{$link}'>Meta Slider Lite v" . METASLIDER_VERSION . " - " .
260
  __('Upgrade to Pro $19', 'metaslider') .
261
  "</a></div>";
262
 
@@ -285,6 +300,8 @@ class MetaSliderPlugin {
285
  register_post_type('ml-slider', array(
286
  'query_var' => false,
287
  'rewrite' => false,
 
 
288
  'labels' => array(
289
  'name' => 'Meta Slider'
290
  )
@@ -309,18 +326,18 @@ class MetaSliderPlugin {
309
  * @return string HTML output of the shortcode
310
  */
311
  public function register_shortcode($atts) {
312
- extract(shortcode_atts(array('id' => null), $atts));
313
-
314
- if ($id == null) return;
315
 
316
  // we have an ID to work with
317
- $slider = get_post($id);
318
 
319
  // check the slider is published
320
  if ($slider->post_status != 'publish') return false;
321
 
322
  // lets go
323
- $this->set_slider($id);
324
  $this->slider->enqueue_scripts();
325
 
326
  return $this->slider->render_public_slides();
@@ -329,32 +346,33 @@ class MetaSliderPlugin {
329
  /**
330
  * Set the current slider
331
  */
332
- public function set_slider($id) {
333
  $type = 'flex';
334
- $settings = get_post_meta($id, 'ml-slider_settings', true);
 
335
 
336
  if (isset($settings['type']) && in_array($settings['type'], array('flex', 'coin', 'nivo', 'responsive'))) {
337
  $type = $settings['type'];
338
  }
339
 
340
- $this->slider = $this->create_slider($type, $id);
341
  }
342
 
343
  /**
344
  * Create a new slider based on the sliders type setting
345
  */
346
- private function create_slider($type, $id) {
347
  switch ($type) {
348
  case('coin'):
349
- return new MetaCoinSlider($id);
350
  case('flex'):
351
- return new MetaFlexSlider($id);
352
  case('nivo'):
353
- return new MetaNivoSlider($id);
354
  case('responsive'):
355
- return new MetaResponsiveSlider($id);
356
  default:
357
- return new MetaFlexSlider($id);
358
  }
359
  }
360
 
@@ -367,27 +385,30 @@ class MetaSliderPlugin {
367
 
368
  // delete a slider
369
  if (isset($_GET['delete'])) {
370
- $this->delete_slider(intval($_GET['delete']));
371
- $slider_id = $this->find_slider('date', 'DESC');
372
  }
373
 
374
  // create a new slider
375
  if (isset($_GET['add'])) {
376
- $this->add_slider();
377
- $slider_id = $this->find_slider('date', 'DESC');
378
  }
379
 
380
  if (isset($_REQUEST['id'])) {
381
  $slider_id = $_REQUEST['id'];
382
  }
383
 
384
- $this->set_slider($slider_id);
 
 
385
  }
386
 
387
  /**
388
  * Create a new slider
389
  */
390
  private function add_slider() {
 
 
 
391
  $defaults = array();
392
 
393
  // if possible, take a copy of the last edited slider settings in place of default settings
@@ -395,6 +416,12 @@ class MetaSliderPlugin {
395
  $defaults = get_post_meta($last_modified, 'ml-slider_settings', true);
396
  }
397
 
 
 
 
 
 
 
398
  // insert the post
399
  $id = wp_insert_post(array(
400
  'post_title' => __("New Slider", 'metaslider'),
@@ -402,29 +429,31 @@ class MetaSliderPlugin {
402
  'post_type' => 'ml-slider'
403
  ));
404
 
405
- // use the default settings if we can't find anything more suitable.
406
- if (empty($defaults)) {
407
- $slider = new MetaSlider($id);
408
- $defaults = $slider->get_default_parameters();
409
- }
410
-
411
  // insert the post meta
412
  add_post_meta($id, 'ml-slider_settings', $defaults, true);
413
 
414
  // create the taxonomy term, the term is the ID of the slider itself
415
  wp_insert_term($id, 'ml-slider');
 
 
416
  }
417
 
418
  /**
419
  * Delete a slider (send it to trash)
 
 
420
  */
421
  private function delete_slider($id) {
422
- $slide = array(
 
 
 
 
423
  'ID' => $id,
424
  'post_status' => 'trash'
425
- );
426
-
427
- wp_update_post($slide);
428
  }
429
 
430
  /**
@@ -460,6 +489,7 @@ class MetaSliderPlugin {
460
  * Get sliders. Returns a nicely formatted array of currently
461
  * published sliders.
462
  *
 
463
  * @return array all published sliders
464
  */
465
  private function all_meta_sliders($sort_key = 'date') {
@@ -474,6 +504,8 @@ class MetaSliderPlugin {
474
  'order' => 'ASC',
475
  'posts_per_page' => -1
476
  );
 
 
477
 
478
  $the_query = new WP_Query($args);
479
 
@@ -491,6 +523,9 @@ class MetaSliderPlugin {
491
  return $sliders;
492
  }
493
 
 
 
 
494
  public function get_library_details($version, $responsive, $size, $mobile) {
495
  $details = __("Version", 'metaslider') . ": " . $version . "<br />";
496
  $details .= __("Responsive", 'metaslider') . ": ";
@@ -515,12 +550,18 @@ class MetaSliderPlugin {
515
 
516
  <script type='text/javascript'>
517
  var metaslider_slider_id = <?php echo $this->slider->id; ?>;
 
518
  </script>
519
 
520
  <div class="wrap metaslider">
521
  <form accept-charset="UTF-8" action="?page=metaslider&id=<?php echo $this->slider->id ?>" method="post">
522
- <?php
 
 
 
 
523
  $title = "";
 
524
 
525
  if ($tabs = $this->all_meta_sliders()) {
526
  if ($max_tabs && count($tabs) > $max_tabs) {
@@ -543,7 +584,7 @@ class MetaSliderPlugin {
543
 
544
  }
545
  echo "</select> " . __('or', 'metaslider') . " ";
546
- echo "<a href='?page=metaslider&add=true'>" . __('Add New Slideshow', 'metaslider') . "</a></div>";
547
  } else {
548
  echo "<h2 class='nav-tab-wrapper'>";
549
  foreach ($tabs as $tab) {
@@ -553,12 +594,12 @@ class MetaSliderPlugin {
553
  echo "<a href='?page=metaslider&id={$tab['id']}' class='nav-tab'>" . $tab['title'] . "</a>";
554
  }
555
  }
556
- echo "<a href='?page=metaslider&add=true' id='create_new_tab' class='nav-tab'>+</a>";
557
  echo "</h2>";
558
  }
559
  } else {
560
  echo "<h2 class='nav-tab-wrapper'>";
561
- echo "<a href='?page=metaslider&add=true' id='create_new_tab' class='nav-tab'>+</a>";
562
  echo "<div class='bubble'>" . __("Create your first slideshow") . "</div>";
563
  echo "</h2>";
564
  }
@@ -566,413 +607,420 @@ class MetaSliderPlugin {
566
  ?>
567
 
568
  <?php
569
- if (!$this->slider->id) {
570
  return;
571
  }
572
  ?>
573
-
574
- <div class="left">
575
- <table class="widefat sortable">
576
- <thead>
577
- <tr>
578
- <th style="width: 100px;">
579
- <?php _e("Slides", 'metaslider') ?>
580
- </th>
581
- <th>
582
- <a href='#' class='button alignright add-slide' data-editor='content' title='<?php _e("Add Slide", 'metaslider') ?>'>
583
- <span class='wp-media-buttons-icon'></span> <?php _e("Add Slide", 'metaslider') ?>
584
- </a>
585
- </th>
586
- </tr>
587
- </thead>
588
-
589
- <tbody>
590
- <?php
591
- $this->slider->render_admin_slides();
592
- ?>
593
- </tbody>
594
- </table>
595
- </div>
596
-
597
- <div class='right'>
598
- <table class="widefat settings">
599
- <thead>
600
- <tr>
601
- <th colspan='2'>
602
- <span class='configuration'><?php _e("Settings", 'metaslider') ?></span>
603
- <input class='alignright button button-primary' type='submit' name='save' id='save' value='<?php _e("Save", 'metaslider') ?>' />
604
- <input class='alignright button button-primary' type='submit' name='preview' id='preview' value='<?php _e("Save & Preview", 'metaslider') ?>' id='quickview' data-slider_id='<?php echo $this->slider->id ?>' data-slider_width='<?php echo $this->slider->get_setting('width') ?>' data-slider_height='<?php echo $this->slider->get_setting('height') ?>' />
605
- <span class="spinner"></span>
606
- </th>
607
- </tr>
608
- </thead>
609
- <tbody>
610
- <tr>
611
- <td colspan='2' class='slider-lib-row'>
612
- <div class='slider-lib flex'>
613
- <label for='flex' title='<?php echo $this->get_library_details(2.2, true, 17, true); ?>' class='tipsy-tooltip-top'>FlexSlider</label>
614
- <input class="select-slider" id='flex' rel='flex' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'flex') echo 'checked=checked' ?> value='flex' />
615
- </div>
616
- <div class='slider-lib responsive'>
617
- <label for='responsive' title='<?php echo $this->get_library_details(1.54, true, 3, true); ?>' class='tipsy-tooltip-top'>Responsive</label>
618
- <input class="select-slider" id='responsive' rel='responsive' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'responsive') echo 'checked=checked' ?> value='responsive' />
619
- </div>
620
- <div class='slider-lib nivo'>
621
- <label for='nivo' title='<?php echo $this->get_library_details(3.2, true, 12, true); ?>' class='tipsy-tooltip-top'>NivoSlider</label>
622
- <input class="select-slider" id='nivo' rel='nivo' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'nivo') echo 'checked=checked' ?> value='nivo' />
623
- </div>
624
- <div class='slider-lib coin'>
625
- <label for='coin' title='<?php echo $this->get_library_details(1.0, false, 8, true); ?>' class='tipsy-tooltip-top'>CoinSlider</label>
626
- <input class="select-slider" id='coin' rel='coin' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'coin') echo 'checked=checked' ?> value='coin' />
627
- </div>
628
- </td>
629
- </tr>
630
- <?php if ($max_tabs && count($this->all_meta_sliders()) > $max_tabs) { ?>
631
- <tr>
632
- <td class='tipsy-tooltip' title="<?php _e("Slideshow title", 'metaslider') ?>">
633
- <?php _e("Title", 'metaslider') ?>
634
- </td>
635
- <td>
636
- <input type='text' class="title tipsytop" name="title" value='<?php echo $title ?>' />
637
- </td>
638
- </tr>
639
- <?php } ?>
640
- <tr>
641
- <td class='tipsy-tooltip' title="<?php _e("Set the initial size for the slides (width x height)", 'metaslider') ?>">
642
- <?php _e("Size", 'metaslider') ?> (<?php _e("px", 'metaslider') ?>)
643
- </td>
644
- <td>
645
- <?php _e("Width", 'metaslider') ?>:
646
- <input type='number' min='0' max='9999' class="width tipsy-tooltip-top" title='<?php _e("Width", 'metaslider') ?>' name="settings[width]" value='<?php echo $this->slider->get_setting('width') ?>' />
647
- <?php _e("Height", 'metaslider') ?>:
648
- <input type='number' min='0' max='9999' class="height tipsy-tooltip-top" title='<?php _e("Height", 'metaslider') ?>' name="settings[height]" value='<?php echo $this->slider->get_setting('height') ?>' />
649
- </td>
650
- </tr>
651
- <tr>
652
- <td class='tipsy-tooltip' title="<?php _e("Slide transition effect", 'metaslider') ?>">
653
- <?php _e("Effect", 'metaslider') ?>
654
- </td>
655
- <td>
656
- <select name="settings[effect]" class='effect option coin nivo flex'>
657
- <option class='option coin nivo' value='random' <?php if ($this->slider->get_setting('effect') == 'random') echo 'selected=selected' ?>><?php _e("Random", 'metaslider') ?></option>
658
- <option class='option coin' value='swirl' <?php if ($this->slider->get_setting('effect') == 'swirl') echo 'selected=selected' ?>><?php _e("Swirl", 'metaslider') ?></option>
659
- <option class='option coin' value='rain' <?php if ($this->slider->get_setting('effect') == 'rain') echo 'selected=selected' ?>><?php _e("Rain", 'metaslider') ?></option>
660
- <option class='option coin' value='straight' <?php if ($this->slider->get_setting('effect') == 'straight') echo 'selected=selected' ?>><?php _e("Straight", 'metaslider') ?></option>
661
- <option class='option nivo' value='sliceDown' <?php if ($this->slider->get_setting('effect') == 'sliceDown') echo 'selected=selected' ?>><?php _e("Slide Down", 'metaslider') ?></option>
662
- <option class='option nivo' value='sliceUp' <?php if ($this->slider->get_setting('effect') == 'sliceUp') echo 'selected=selected' ?>><?php _e("Slice Up", 'metaslider') ?></option>
663
- <option class='option nivo' value='sliceUpLeft' <?php if ($this->slider->get_setting('effect') == 'sliceUpLeft') echo 'selected=selected' ?>><?php _e("Slide Up Left", 'metaslider') ?></option>
664
- <option class='option nivo' value='sliceUpDown' <?php if ($this->slider->get_setting('effect') == 'sliceUpDown') echo 'selected=selected' ?>><?php _e("Slice Up Down", 'metaslider') ?></option>
665
- <option class='option nivo' value='sliceUpDownLeft' <?php if ($this->slider->get_setting('effect') == 'sliceUpDownLeft') echo 'selected=selected' ?>><?php _e("Slide Up Down Left", 'metaslider') ?></option>
666
- <option class='option nivo' value='fold' <?php if ($this->slider->get_setting('effect') == 'fold') echo 'selected=selected' ?>><?php _e("Fold", 'metaslider') ?></option>
667
- <option class='option nivo flex' value='fade' <?php if ($this->slider->get_setting('effect') == 'fade') echo 'selected=selected' ?>><?php _e("Fade", 'metaslider') ?></option>
668
- <option class='option nivo' value='slideInRight' <?php if ($this->slider->get_setting('effect') == 'slideInRight') echo 'selected=selected' ?>><?php _e("Slide In Right", 'metaslider') ?></option>
669
- <option class='option nivo' value='slideInLeft' <?php if ($this->slider->get_setting('effect') == 'slideInLeft') echo 'selected=selected' ?>><?php _e("Slide In Left", 'metaslider') ?></option>
670
- <option class='option nivo' value='boxRandom' <?php if ($this->slider->get_setting('effect') == 'boxRandom') echo 'selected=selected' ?>><?php _e("Box Random", 'metaslider') ?></option>
671
- <option class='option nivo' value='boxRain' <?php if ($this->slider->get_setting('effect') == 'boxRain') echo 'selected=selected' ?>><?php _e("Box Rain", 'metaslider') ?></option>
672
- <option class='option nivo' value='boxRainReverse' <?php if ($this->slider->get_setting('effect') == 'boxRainReverse') echo 'selected=selected' ?>><?php _e("Box Rain Reverse", 'metaslider') ?></option>
673
- <option class='option nivo' value='boxRainGrowReverse' <?php if ($this->slider->get_setting('effect') == 'boxRainGrowReverse') echo 'selected=selected' ?>><?php _e("Box Rain Grow Reverse", 'metaslider') ?></option>
674
- <option class='option flex' value='slide' <?php if ($this->slider->get_setting('effect') == 'slide') echo 'selected=selected' ?>><?php _e("Slide", 'metaslider') ?></option>
675
- </select>
676
- </td>
677
- </tr>
678
- <tr>
679
- <td class='tipsy-tooltip' title="<?php _e("Change the slider style", 'metaslider') ?>">
680
- <?php _e("Theme", 'metaslider') ?>
681
- </td>
682
- <td>
683
- <select name="settings[theme]" class='theme option coin nivo flex responsive'>
684
- <?php
685
- $defaultSelected = $this->slider->get_setting('theme') == 'default' ? 'selected=selected' : '';
686
- $darkSelected = $this->slider->get_setting('theme') == 'dark' ? 'selected=selected' : '';
687
- $lightSelected = $this->slider->get_setting('theme') == 'light' ? 'selected=selected' : '';
688
- $barSelected = $this->slider->get_setting('theme') == 'bar' ? 'selected=selected' : '';
689
-
690
- $themes = "<option value='default' class='option nivo flex coin responsive' {$defaultSelected}>Default</option>
691
- <option value='dark' class='option nivo' {$darkSelected}>Dark (Nivo)</option>
692
- <option value='light' class='option nivo' {$lightSelected}>Light (Nivo)</option>
693
- <option value='bar' class='option nivo' {$barSelected}>Bar (Nivo)</option>";
694
-
695
- echo apply_filters('metaslider_get_available_themes', $themes, $this->slider->get_setting('theme'));
 
 
 
 
 
 
 
 
 
 
 
 
696
  ?>
697
- </select>
698
- </td>
699
- </tr>
700
- <tr>
701
- <td colspan='2' class='highlight'><?php _e("Controls", 'metaslider') ?></td>
702
- </tr>
703
- <tr>
704
- <td class='tipsy-tooltip' title="<?php _e("Show slide navigation row", 'metaslider') ?>">
705
- <?php _e("Arrows", 'metaslider') ?>
706
- </td>
707
- <td>
708
- <label class='option coin responsive nivo flex' ><input type='checkbox' name="settings[links]" <?php if ($this->slider->get_setting('links') == 'true') echo 'checked=checked' ?> /></label>
709
- </td>
710
- </tr>
711
-
712
- <?php
713
-
714
- $falseChecked = $this->slider->get_setting('navigation') == 'false' ? 'checked' : '';
715
- $trueChecked = $this->slider->get_setting('navigation') == 'true' ? 'checked' : '';
716
-
717
- $navigation_row = "<tr>
718
- <td class='tipsy-tooltip' title='" . __("Show slide navigation row", 'metaslider') . "'>
719
- " . __("Navigation", 'metaslider') . "
720
- </td>
721
- <td style='padding: 0 8px 8px 8px;'>
722
- <label><input type='radio' name='settings[navigation]' value='false' {$falseChecked} />" . __("Hidden", 'metaslider') . "</option></label><br />
723
- <label><input type='radio' name='settings[navigation]' value='true' {$trueChecked} />" . __("Dots", 'metaslider') . "</option></label><br />
724
- <label><input type='radio' disabled='disabled' /><span style='color: #c0c0c0'>" . __("Thumbnails (Pro)", 'metaslider') . "</span></option></label>
725
- </td>
726
- </tr>";
727
-
728
- echo apply_filters('metaslider_navigation_options', $navigation_row, $this->slider);
729
- ?>
730
- <tr>
731
- <td colspan='2' class='highlight'><?php _e("Advanced Settings", 'metaslider') ?></td>
732
- </tr>
733
- <tr>
734
- <td class='tipsy-tooltip' title="<?php _e("Center align the slideshow", 'metaslider') ?>">
735
- <?php _e("Center align", 'metaslider') ?>
736
- </td>
737
- <td>
738
- <input class='option coin responsive nivo flex' type='checkbox' name="settings[center]" <?php if ($this->slider->get_setting('center') == 'true') echo 'checked=checked' ?> />
739
- </td>
740
- </tr>
741
- <tr>
742
- <td class='tipsy-tooltip' title="<?php _e("Start the slideshow on page load", 'metaslider') ?>">
743
- <?php _e("Auto play", 'metaslider') ?>
744
- </td>
745
- <td>
746
- <input class='option responsive nivo flex' type='checkbox' name="settings[autoPlay]" <?php if ($this->slider->get_setting('autoPlay') == 'true') echo 'checked=checked' ?> />
747
- </td>
748
- </tr>
749
- <tr>
750
- <td class='tipsy-tooltip' title="<?php _e("Smart Crop ensures your responsive slides are cropped to a ratio that results in a consistent slideshow size", 'metaslider') ?>">
751
- <?php _e("Smart crop", 'metaslider') ?>
752
- </td>
753
- <td>
754
- <input class='option coin responsive nivo flex' type='checkbox' name="settings[smartCrop]" <?php if ($this->slider->get_setting('smartCrop') !== 'false') echo 'checked=checked' ?> />
755
- </td>
756
- </tr>
757
- <tr>
758
- <td class='tipsy-tooltip' title="<?php _e("Display as carousel - when selected the effect and direction options will be ignored.", 'metaslider') ?>">
759
- <?php _e("Carousel mode", 'metaslider') ?>
760
- </td>
761
- <td>
762
- <input class='option flex' id='carouselMode' type='checkbox' id='carouselMode' name="settings[carouselMode]" <?php if ($this->slider->get_setting('carouselMode') == 'true') echo 'checked=checked' ?> />
763
- </td>
764
- </tr>
765
- <tr>
766
- <td class='tipsy-tooltip' title="<?php _e("Randomise the order of the slides", 'metaslider') ?>">
767
- <?php _e("Random", 'metaslider') ?>
768
- </td>
769
- <td>
770
- <input type='checkbox' name="settings[random]" <?php if ($this->slider->get_setting('random') == 'true') echo 'checked=checked' ?> />
771
- </td>
772
- </tr>
773
- <tr>
774
- <td class='tipsy-tooltip' title="<?php _e("Pause the slideshow when hovering over slider, then resume when no longer hovering", 'metaslider') ?>">
775
- <?php _e("Hover pause", 'metaslider') ?>
776
- </td>
777
- <td>
778
- <input class='option coin flex responsive nivo' type='checkbox' name="settings[hoverPause]" <?php if ($this->slider->get_setting('hoverPause') == 'true') echo 'checked=checked' ?> />
779
- </td>
780
- </tr>
781
- <tr>
782
- <td class='tipsy-tooltip' title="<?php _e("Reverse the animation direction", 'metaslider') ?>">
783
- <?php _e("Reverse", 'metaslider') ?>
784
- </td>
785
- <td>
786
- <input class='option flex' type='checkbox' name="settings[reverse]" <?php if ($this->slider->get_setting('reverse') == 'true') echo 'checked=checked' ?> />
787
- </td>
788
- </tr>
789
- <tr>
790
- <td class='tipsy-tooltip' title="<?php _e("How long to display each slide, in milliseconds", 'metaslider') ?>">
791
- <?php _e("Slide delay", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
792
- </td>
793
- <td>
794
- <input class='option coin flex responsive nivo' type='number' min='500' max='10000' step='100' name="settings[delay]" value='<?php echo $this->slider->get_setting('delay') ?>' />
795
- </td>
796
- </tr>
797
- <tr>
798
- <td class='tipsy-tooltip' title="<?php _e("Set the speed of animations, in milliseconds", 'metaslider') ?>">
799
- <?php _e("Animation speed", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
800
- </td>
801
- <td>
802
- <input class='option flex responsive nivo' type='number' min='0' max='2000' step='100' name="settings[animationSpeed]" value='<?php echo $this->slider->get_setting('animationSpeed') ?>' />
803
- </td>
804
- </tr>
805
- <tr>
806
- <td class='tipsy-tooltip' title="<?php _e("Number of squares (width x height)", 'metaslider') ?>">
807
- <?php _e("Number of squares", 'metaslider') ?>
808
- </td>
809
- <td>
810
- <input class='option coin nivo' type='number' min='1' max='20' step='1' name="settings[spw]" value='<?php echo $this->slider->get_setting('spw') ?>' /> x
811
- <input class='option coin nivo' type='number' min='1' max='20' step='1' name="settings[sph]" value='<?php echo $this->slider->get_setting('sph') ?>' />
812
- </td>
813
- </tr>
814
- <tr>
815
- <td class='tipsy-tooltip' title="<?php _e("Number of slices", 'metaslider') ?>">
816
- <?php _e("Number of slices", 'metaslider') ?>
817
- </td>
818
- <td>
819
- <input class='option nivo' type='number' min='1' max='20' step='1' name="settings[slices]" value='<?php echo $this->slider->get_setting('slices') ?>' />
820
- </td>
821
- </tr>
822
- <tr>
823
- <td class='tipsy-tooltip' title="<?php _e("Select the sliding direction", 'metaslider') ?>"><?php _e("Slide direction", 'metaslider') ?></td>
824
- <td>
825
- <select class='option flex' name="settings[direction]">
826
- <option value='horizontal' <?php if ($this->slider->get_setting('direction') == 'horizontal') echo 'selected=selected' ?>><?php _e("Horizontal", 'metaslider') ?></option>
827
- <option value='vertical' <?php if ($this->slider->get_setting('direction') == 'vertical') echo 'selected=selected' ?>><?php _e("Vertical", 'metaslider') ?></option>
828
- </select>
829
- </td>
830
- </tr>
831
- <tr>
832
- <td class='tipsy-tooltip' title="<?php _e("Animation easing effect", 'metaslider') ?>">
833
- <?php _e("Easing", 'metaslider') ?>
834
- </td>
835
- <td>
836
- <select name="settings[easing]" class='option flex'>
837
- <?php
838
- $options = array(
839
- 'linear','swing','jswing','easeInQuad','easeOutQuad','easeInOutQuad',
840
- 'easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart',
841
- 'easeOutQuart','easeInOutQuart','easeInQuint','easeOutQuint',
842
- 'easeInOutQuint','easeInSine','easeOutSine','easeInOutSine',
843
- 'easeInExpo','easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc',
844
- 'easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic',
845
- 'easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce',
846
- 'easeInOutBounce'
847
- );
848
-
849
- foreach ($options as $option) {
850
- echo "<option value='{$option}'";
851
- if ($this->slider->get_setting('easing') == $option) {
852
- echo 'selected=selected';
853
- }
854
- echo ">" . ucfirst(preg_replace('/(\w+)([A-Z])/U', '\\1 \\2', $option)) . "</option>";
855
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
856
  ?>
857
- </select>
858
- </td>
859
- </tr>
860
- <tr>
861
- <td class='tipsy-tooltip' title="<?php _e("Set the text for the 'previous' direction item", 'metaslider') ?>">
862
- <?php _e("Previous text", 'metaslider') ?>
863
- </td>
864
- <td>
865
- <input class='option coin flex responsive nivo' type='text' name="settings[prevText]" value='<?php if ($this->slider->get_setting('prevText') != 'false') echo $this->slider->get_setting('prevText') ?>' />
866
- </td>
867
- </tr>
868
- <tr>
869
- <td class='tipsy-tooltip' title="<?php _e("Set the text for the 'next' direction item", 'metaslider') ?>">
870
- <?php _e("Next text", 'metaslider') ?>
871
- </td>
872
- <td>
873
- <input class='option coin flex responsive nivo' type='text' name="settings[nextText]" value='<?php if ($this->slider->get_setting('nextText') != 'false') echo $this->slider->get_setting('nextText') ?>' />
874
- </td>
875
- </tr>
876
- <tr>
877
- <td class='tipsy-tooltip' title="<?php _e("Delay beetwen squares in ms", 'metaslider') ?>">
878
- <?php _e("Square delay", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
879
- </td>
880
- <td>
881
- <input class='option coin' type='number' min='0' max='500' step='10' name="settings[sDelay]" value='<?php echo $this->slider->get_setting('sDelay') ?>' />
882
- </td>
883
- </tr>
884
- <tr>
885
- <td class='tipsy-tooltip' title="<?php _e("Opacity of title and navigation", 'metaslider') ?>">
886
- <?php _e("Opacity", 'metaslider') ?>
887
- </td>
888
- <td>
889
- <input class='option coin' type='number' min='0.1' max='1.0' step='0.1' name="settings[opacity]" value='<?php echo $this->slider->get_setting('opacity') ?>' />
890
- </td>
891
- </tr>
892
- <tr>
893
- <td class='tipsy-tooltip' title="<?php _e("Set the fade in speed of the caption", 'metaslider') ?>">
894
- <?php _e("Caption speed", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
895
- </td>
896
- <td>
897
- <input class='option coin' type='number' min='0' max='10000' step='100' name="settings[titleSpeed]" value='<?php echo $this->slider->get_setting('titleSpeed') ?>' />
898
- </td>
899
- </tr>
900
- <tr>
901
- <td colspan='2' class='highlight'><?php _e("Developer Options", 'metaslider') ?></td>
902
- </tr>
903
- <tr>
904
- <td class='tipsy-tooltip' title="<?php _e("Specify any custom CSS Classes you would like to be added to the slider wrapper", 'metaslider') ?>">
905
- <?php _e("CSS classes", 'metaslider') ?>
906
- </td>
907
- <td>
908
- <input type='text' name="settings[cssClass]" value='<?php if ($this->slider->get_setting('cssClass') != 'false') echo $this->slider->get_setting('cssClass') ?>' />
909
- </td>
910
- </tr>
911
- <tr>
912
- <td class='tipsy-tooltip' title="<?php _e("Uncheck this is you would like to include your own Javascript", 'metaslider') ?>">
913
- <?php _e("Print Scripts", 'metaslider') ?>
914
- </td>
915
- <td>
916
- <input type='checkbox' class='useWithCaution' name="settings[printCss]" <?php if ($this->slider->get_setting('printCss') == 'true') echo 'checked=checked' ?> />
917
- <span class='tipsy-tooltip' title="<?php _e("Uncheck this is you would like to include your own CSS", 'metaslider') ?>">
918
- <?php _e("CSS", 'metaslider') ?>
919
- </span>
920
- <input type='checkbox' class='useWithCaution' name="settings[printJs]" <?php if ($this->slider->get_setting('printJs') == 'true') echo 'checked=checked' ?> />
921
- <span class='tipsy-tooltip' title="<?php _e("Uncheck this is you would like to include your own Javascript", 'metaslider') ?>">
922
- <?php _e("JavaScript", 'metaslider') ?>
923
- </span>
924
- </td>
925
- </tr>
926
- <tr>
927
- <td colspan='2'>
928
- <a class='alignright delete-slider button-secondary confirm' href="?page=metaslider&delete=<?php echo $this->slider->id ?>"><?php _e("Delete Slider", 'metaslider') ?></a>
929
- </td>
930
- </tr>
931
- </tbody>
932
- </table>
933
-
934
- <table class="widefat shortcode">
935
- <thead>
936
- <tr>
937
- <th><?php _e("Usage", 'metaslider') ?></th>
938
- </tr>
939
- </thead>
940
-
941
- <tbody>
942
- <tr>
943
- <td class='highlight'><?php _e("Shortcode", 'metaslider') ?></td>
944
- </tr>
945
- <tr>
946
- <td><input readonly='readonly' type='text' value='[metaslider id=<?php echo $this->slider->id ?>]' /></td>
947
- </tr>
948
- <tr>
949
- <td class='highlight'><?php _e("Template Include", 'metaslider') ?></td>
950
- </tr>
951
- <tr>
952
- <td><input readonly='readonly' type='text' value='&lt;?php echo do_shortcode("[metaslider id=<?php echo $this->slider->id ?>]"); ?>' /></td>
953
- </tr>
954
- </tbody>
955
-
956
- </table>
957
-
958
- <ul class='info'>
959
- <li>
960
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.metaslider.com" data-text="I'm using Meta Slider, you should check it out!" data-hashtags="metaslider, wordpress, slideshow">Tweet</a>
961
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> </li>
962
- <li>
963
- <div class="g-plusone" data-size="medium" data-href="http://www.metaslider.com"></div>
964
- <script type="text/javascript">
965
- (function() {
966
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
967
- po.src = 'https://apis.google.com/js/plusone.js';
968
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
969
- })();
970
- </script>
971
- </li>
972
- <li>
973
- <iframe style='border:none; overflow:hidden; width:96px; height:21px;' src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.metaslider.com&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=156668027835524" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
974
- </li>
975
- </ul>
976
  </div>
977
  </form>
978
  </div>
@@ -982,4 +1030,4 @@ class MetaSliderPlugin {
982
 
983
  $metaslider = new MetaSliderPlugin();
984
 
985
- ?>
3
  * Plugin Name: Meta Slider
4
  * Plugin URI: http://www.metaslider.com
5
  * Description: 4 sliders in 1! Choose from Nivo Slider, Flex Slider, Coin Slider or Responsive Slides.
6
+ * Version: 2.5.1
7
  * Author: Matcha Labs
8
  * Author URI: http://www.matchalabs.com
9
  * License: GPLv2 or later
17
  // disable direct access
18
  if (!defined('ABSPATH')) exit;
19
 
20
+ define('METASLIDER_VERSION', '2.5.1');
21
+ define('METASLIDER_BASE_URL', plugins_url('ml-slider') . '/'); //plugin_dir_url(__FILE__)
22
  define('METASLIDER_ASSETS_URL', METASLIDER_BASE_URL . 'assets/');
23
  define('METASLIDER_BASE_DIR_LONG', dirname(__FILE__));
24
  define('METASLIDER_INC_DIR', METASLIDER_BASE_DIR_LONG . '/inc/');
71
 
72
  add_filter('media_upload_tabs', array($this,'custom_media_upload_tab_name'), 998);
73
  add_filter('media_view_strings', array($this, 'custom_media_uploader_tabs'), 5);
74
+ add_action('media_upload_vimeo', array($this, 'metaslider_pro_tab'));
75
+ add_action('media_upload_youtube', array($this, 'metaslider_pro_tab'));
76
+ add_action('media_upload_post_feed', array($this, 'metaslider_pro_tab'));
77
+ add_action('media_upload_layer', array($this, 'metaslider_pro_tab'));
78
 
79
  // add 'go pro' link to plugin options
80
  $plugin = plugin_basename(__FILE__);
95
  * Add settings link on plugin page
96
  */
97
  public function upgrade_to_pro($links) {
98
+ if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
99
+ $links[] = '<a href="http://www.metaslider.com/upgrade" target="_blank">' . __("Go Pro", 'metaslider') . '</a>';
100
+ }
101
  return $links;
102
  }
103
 
105
  * Return the meta slider pro upgrade iFrame
106
  */
107
  public function metaslider_pro_tab() {
108
+ if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
109
+ return wp_iframe( array($this, 'iframe'));
110
+ }
111
  }
112
 
113
  /**
152
  if ((isset($_GET['page']) && $_GET['page'] == 'metaslider')) {
153
  $strings['insertMediaTitle'] = __("Image", 'metaslider');
154
  $strings['insertIntoPost'] = __("Add to slider", 'metaslider');
 
155
  // remove options
156
  if (isset($strings['createGalleryTitle'])) unset($strings['createGalleryTitle']);
157
  if (isset($strings['insertFromUrlTitle'])) unset($strings['insertFromUrlTitle']);
164
  *
165
  * @var array existing media manager tabs
166
  */
167
+ public function custom_media_upload_tab_name($tabs) {
168
  // restrict our tab changes to the meta slider plugin page
169
  if ((isset($_GET['page']) && $_GET['page'] == 'metaslider') || isset($_GET['tab']) == 'metaslider_pro') {
170
+ $newtabs = array();
171
 
172
+ if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
173
+ $newtabs = array(
174
+ 'post_feed' => __("Post Feed", 'metaslider'),
175
+ 'vimeo' => __("Vimeo", 'metaslider'),
176
+ 'youtube' => __("YouTube", 'metaslider'),
177
+ 'layer' => __("Layer Slide", 'metaslider')
178
+ );
179
+ }
180
 
181
  if (isset($tabs['nextgen'])) unset($tabs['nextgen']);
182
 
183
+ return array_merge($tabs, $newtabs);
184
  }
185
 
186
  return $tabs;
222
  wp_enqueue_script('metaslider-admin-script', METASLIDER_ASSETS_URL . 'metaslider/admin.js', array('jquery', 'metaslider-tipsy', 'media-upload'), METASLIDER_VERSION);
223
  wp_enqueue_script('metaslider-admin-addslide', METASLIDER_ASSETS_URL . 'metaslider/image/image.js', array('metaslider-admin-script'), METASLIDER_VERSION);
224
 
225
+ // localise the JS
226
+ wp_localize_script( 'metaslider-admin-addslide', 'metaslider_image', array(
227
+ 'addslide_nonce' => wp_create_nonce('metaslider_addslide')
228
+ ));
229
+
230
  // localise the JS
231
  wp_localize_script( 'metaslider-admin-script', 'metaslider', array(
232
  'url' => __("URL", 'metaslider'),
234
  'new_window' => __("New Window", 'metaslider'),
235
  'confirm' => __("Are you sure?", 'metaslider'),
236
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
237
+ 'resize_nonce' => wp_create_nonce('metaslider_resize'),
238
  'iframeurl' => METASLIDER_BASE_URL . 'preview.php',
239
  'useWithCaution' => __("Caution: This setting is for advanced developers only. If you're unsure, leave it checked.", 'metaslider')
240
  ));
260
  add_action('admin_print_scripts-' . $page, array($this, 'register_admin_scripts'));
261
  add_action('admin_print_styles-' . $page, array($this, 'register_admin_styles'));
262
  add_action('load-' . $page, array($this, 'help_tab'));
 
263
  }
264
 
 
 
265
  /**
266
  * Upgrade CTA.
267
  */
268
  public function go_pro_cta() {
269
+ if (function_exists('is_plugin_active') && !is_plugin_active('ml-slider-pro/ml-slider-pro.php')) {
270
  $link = apply_filters('metaslider_hoplink', 'http://www.metaslider.com/upgrade/');
271
 
272
  $link .= '?utm_source=lite&utm_medium=nag&utm_campaign=pro';
273
 
274
+ $goPro = "<div style='display: none;' id='ms-pro-meta-link-wrap'><a target='_blank' href='{$link}'>Meta Slider Lite v" . METASLIDER_VERSION . " - " .
275
  __('Upgrade to Pro $19', 'metaslider') .
276
  "</a></div>";
277
 
300
  register_post_type('ml-slider', array(
301
  'query_var' => false,
302
  'rewrite' => false,
303
+ 'public' => true,
304
+ 'show_ui' => false,
305
  'labels' => array(
306
  'name' => 'Meta Slider'
307
  )
326
  * @return string HTML output of the shortcode
327
  */
328
  public function register_shortcode($atts) {
329
+ if (!isset($atts['id'])) {
330
+ return false;
331
+ }
332
 
333
  // we have an ID to work with
334
+ $slider = get_post($atts['id']);
335
 
336
  // check the slider is published
337
  if ($slider->post_status != 'publish') return false;
338
 
339
  // lets go
340
+ $this->set_slider($atts['id'], $atts);
341
  $this->slider->enqueue_scripts();
342
 
343
  return $this->slider->render_public_slides();
346
  /**
347
  * Set the current slider
348
  */
349
+ public function set_slider($id, $shortcode_settings = array()) {
350
  $type = 'flex';
351
+
352
+ $settings = array_merge(get_post_meta($id, 'ml-slider_settings', true), $shortcode_settings);
353
 
354
  if (isset($settings['type']) && in_array($settings['type'], array('flex', 'coin', 'nivo', 'responsive'))) {
355
  $type = $settings['type'];
356
  }
357
 
358
+ $this->slider = $this->create_slider($type, $id, $shortcode_settings);
359
  }
360
 
361
  /**
362
  * Create a new slider based on the sliders type setting
363
  */
364
+ private function create_slider($type, $id, $shortcode_settings) {
365
  switch ($type) {
366
  case('coin'):
367
+ return new MetaCoinSlider($id, $shortcode_settings);
368
  case('flex'):
369
+ return new MetaFlexSlider($id, $shortcode_settings);
370
  case('nivo'):
371
+ return new MetaNivoSlider($id, $shortcode_settings);
372
  case('responsive'):
373
+ return new MetaResponsiveSlider($id, $shortcode_settings);
374
  default:
375
+ return new MetaFlexSlider($id, $shortcode_settings);
376
  }
377
  }
378
 
385
 
386
  // delete a slider
387
  if (isset($_GET['delete'])) {
388
+ $slider_id = $this->delete_slider(intval($_GET['delete']));
 
389
  }
390
 
391
  // create a new slider
392
  if (isset($_GET['add'])) {
393
+ $slider_id = $this->add_slider();
 
394
  }
395
 
396
  if (isset($_REQUEST['id'])) {
397
  $slider_id = $_REQUEST['id'];
398
  }
399
 
400
+ if ($slider_id > 0) {
401
+ $this->set_slider($slider_id);
402
+ }
403
  }
404
 
405
  /**
406
  * Create a new slider
407
  */
408
  private function add_slider() {
409
+ // check nonce
410
+ check_admin_referer("metaslider_add_slider");
411
+
412
  $defaults = array();
413
 
414
  // if possible, take a copy of the last edited slider settings in place of default settings
416
  $defaults = get_post_meta($last_modified, 'ml-slider_settings', true);
417
  }
418
 
419
+ // use the default settings if we can't find anything more suitable.
420
+ if (empty($defaults)) {
421
+ $slider = new MetaSlider($id, array());
422
+ $defaults = $slider->get_default_parameters();
423
+ }
424
+
425
  // insert the post
426
  $id = wp_insert_post(array(
427
  'post_title' => __("New Slider", 'metaslider'),
429
  'post_type' => 'ml-slider'
430
  ));
431
 
 
 
 
 
 
 
432
  // insert the post meta
433
  add_post_meta($id, 'ml-slider_settings', $defaults, true);
434
 
435
  // create the taxonomy term, the term is the ID of the slider itself
436
  wp_insert_term($id, 'ml-slider');
437
+
438
+ return $id;
439
  }
440
 
441
  /**
442
  * Delete a slider (send it to trash)
443
+ *
444
+ * @param int $id
445
  */
446
  private function delete_slider($id) {
447
+ // check nonce
448
+ check_admin_referer("metaslider_delete_slider");
449
+
450
+ // send the post to trash
451
+ wp_update_post(array(
452
  'ID' => $id,
453
  'post_status' => 'trash'
454
+ ));
455
+
456
+ return $this->find_slider('date', 'DESC');
457
  }
458
 
459
  /**
489
  * Get sliders. Returns a nicely formatted array of currently
490
  * published sliders.
491
  *
492
+ * @param string $sort_key
493
  * @return array all published sliders
494
  */
495
  private function all_meta_sliders($sort_key = 'date') {
504
  'order' => 'ASC',
505
  'posts_per_page' => -1
506
  );
507
+
508
+ $args = apply_filters('metaslider_all_meta_sliders_args', $args);
509
 
510
  $the_query = new WP_Query($args);
511
 
523
  return $sliders;
524
  }
525
 
526
+ /**
527
+ * Build a string describing the features of a slideshow
528
+ */
529
  public function get_library_details($version, $responsive, $size, $mobile) {
530
  $details = __("Version", 'metaslider') . ": " . $version . "<br />";
531
  $details .= __("Responsive", 'metaslider') . ": ";
550
 
551
  <script type='text/javascript'>
552
  var metaslider_slider_id = <?php echo $this->slider->id; ?>;
553
+ var metaslider_pro_active = <?php echo function_exists('is_plugin_active') && is_plugin_active('ml-slider-pro/ml-slider-pro.php') ? 'true' : 'false' ?>;
554
  </script>
555
 
556
  <div class="wrap metaslider">
557
  <form accept-charset="UTF-8" action="?page=metaslider&id=<?php echo $this->slider->id ?>" method="post">
558
+ <?php
559
+ if ($this->slider) {
560
+ wp_nonce_field('metaslider_save_' . $this->slider->id);
561
+ }
562
+
563
  $title = "";
564
+ $add_url = wp_nonce_url("?page=metaslider&add=true", "metaslider_add_slider");
565
 
566
  if ($tabs = $this->all_meta_sliders()) {
567
  if ($max_tabs && count($tabs) > $max_tabs) {
584
 
585
  }
586
  echo "</select> " . __('or', 'metaslider') . " ";
587
+ echo "<a href='{$add_url}'>" . __('Add New Slideshow', 'metaslider') . "</a></div>";
588
  } else {
589
  echo "<h2 class='nav-tab-wrapper'>";
590
  foreach ($tabs as $tab) {
594
  echo "<a href='?page=metaslider&id={$tab['id']}' class='nav-tab'>" . $tab['title'] . "</a>";
595
  }
596
  }
597
+ echo "<a href='{$add_url}' id='create_new_tab' class='nav-tab'>+</a>";
598
  echo "</h2>";
599
  }
600
  } else {
601
  echo "<h2 class='nav-tab-wrapper'>";
602
+ echo "<a href='{$add_url}' id='create_new_tab' class='nav-tab'>+</a>";
603
  echo "<div class='bubble'>" . __("Create your first slideshow") . "</div>";
604
  echo "</h2>";
605
  }
607
  ?>
608
 
609
  <?php
610
+ if (!$this->slider) {
611
  return;
612
  }
613
  ?>
614
+ <div id='poststuff'>
615
+ <div id='post-body' class='metabox-holder columns-2'>
616
+ <div id='postbox-container-1' class='postbox-container'>
617
+ <div class='right'>
618
+ <table class="widefat settings">
619
+ <thead>
620
+ <tr>
621
+ <th colspan='2'>
622
+ <span class='configuration'><?php _e("Settings", 'metaslider') ?></span>
623
+ <input class='alignright button button-primary' type='submit' name='save' id='save' value='<?php _e("Save", 'metaslider') ?>' />
624
+ <input class='alignright button button-primary' type='submit' name='preview' id='preview' value='<?php _e("Save & Preview", 'metaslider') ?>' id='quickview' data-slider_id='<?php echo $this->slider->id ?>' data-slider_width='<?php echo $this->slider->get_setting('width') ?>' data-slider_height='<?php echo $this->slider->get_setting('height') ?>' />
625
+ <span class="spinner"></span>
626
+ </th>
627
+ </tr>
628
+ </thead>
629
+ <tbody>
630
+ <tr>
631
+ <td colspan='2' class='slider-lib-row'>
632
+ <div class='slider-lib flex'>
633
+ <label for='flex' title='<?php echo $this->get_library_details(2.2, true, 17, true); ?>' class='tipsy-tooltip-top'>FlexSlider</label>
634
+ <input class="select-slider" id='flex' rel='flex' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'flex') echo 'checked=checked' ?> value='flex' />
635
+ </div>
636
+ <div class='slider-lib responsive'>
637
+ <label for='responsive' title='<?php echo $this->get_library_details(1.54, true, 3, true); ?>' class='tipsy-tooltip-top'>Responsive</label>
638
+ <input class="select-slider" id='responsive' rel='responsive' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'responsive') echo 'checked=checked' ?> value='responsive' />
639
+ </div>
640
+ <div class='slider-lib nivo'>
641
+ <label for='nivo' title='<?php echo $this->get_library_details(3.2, true, 12, true); ?>' class='tipsy-tooltip-top'>NivoSlider</label>
642
+ <input class="select-slider" id='nivo' rel='nivo' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'nivo') echo 'checked=checked' ?> value='nivo' />
643
+ </div>
644
+ <div class='slider-lib coin'>
645
+ <label for='coin' title='<?php echo $this->get_library_details(1.0, false, 8, true); ?>' class='tipsy-tooltip-top'>CoinSlider</label>
646
+ <input class="select-slider" id='coin' rel='coin' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'coin') echo 'checked=checked' ?> value='coin' />
647
+ </div>
648
+ </td>
649
+ </tr>
650
+ <?php if ($max_tabs && count($this->all_meta_sliders()) > $max_tabs) { ?>
651
+ <tr>
652
+ <td class='tipsy-tooltip' title="<?php _e("Slideshow title", 'metaslider') ?>">
653
+ <?php _e("Title", 'metaslider') ?>
654
+ </td>
655
+ <td>
656
+ <input type='text' class="title tipsytop" name="title" value='<?php echo $title ?>' />
657
+ </td>
658
+ </tr>
659
+ <?php } ?>
660
+ <tr>
661
+ <td class='tipsy-tooltip' title="<?php _e("Set the initial size for the slides (width x height)", 'metaslider') ?>">
662
+ <?php _e("Size", 'metaslider') ?> (<?php _e("px", 'metaslider') ?>)
663
+ </td>
664
+ <td>
665
+ <input type='number' size='3' min='0' max='9999' class="width tipsy-tooltip-top" title='<?php _e("Width", 'metaslider') ?>' name="settings[width]" value='<?php echo $this->slider->get_setting('width') ?>' />
666
+ <?php _e("px", 'metaslider') ?> X
667
+ <input type='number' size='3' min='0' max='9999' class="height tipsy-tooltip-top" title='<?php _e("Height", 'metaslider') ?>' name="settings[height]" value='<?php echo $this->slider->get_setting('height') ?>' />
668
+ <?php _e("px", 'metaslider') ?>
669
+ </td>
670
+ </tr>
671
+ <tr>
672
+ <td class='tipsy-tooltip' title="<?php _e("Slide transition effect", 'metaslider') ?>">
673
+ <?php _e("Effect", 'metaslider') ?>
674
+ </td>
675
+ <td>
676
+ <select name="settings[effect]" class='effect option coin nivo flex'>
677
+ <option class='option coin nivo' value='random' <?php if ($this->slider->get_setting('effect') == 'random') echo 'selected=selected' ?>><?php _e("Random", 'metaslider') ?></option>
678
+ <option class='option coin' value='swirl' <?php if ($this->slider->get_setting('effect') == 'swirl') echo 'selected=selected' ?>><?php _e("Swirl", 'metaslider') ?></option>
679
+ <option class='option coin' value='rain' <?php if ($this->slider->get_setting('effect') == 'rain') echo 'selected=selected' ?>><?php _e("Rain", 'metaslider') ?></option>
680
+ <option class='option coin' value='straight' <?php if ($this->slider->get_setting('effect') == 'straight') echo 'selected=selected' ?>><?php _e("Straight", 'metaslider') ?></option>
681
+ <option class='option nivo' value='sliceDown' <?php if ($this->slider->get_setting('effect') == 'sliceDown') echo 'selected=selected' ?>><?php _e("Slide Down", 'metaslider') ?></option>
682
+ <option class='option nivo' value='sliceUp' <?php if ($this->slider->get_setting('effect') == 'sliceUp') echo 'selected=selected' ?>><?php _e("Slice Up", 'metaslider') ?></option>
683
+ <option class='option nivo' value='sliceUpLeft' <?php if ($this->slider->get_setting('effect') == 'sliceUpLeft') echo 'selected=selected' ?>><?php _e("Slide Up Left", 'metaslider') ?></option>
684
+ <option class='option nivo' value='sliceUpDown' <?php if ($this->slider->get_setting('effect') == 'sliceUpDown') echo 'selected=selected' ?>><?php _e("Slice Up Down", 'metaslider') ?></option>
685
+ <option class='option nivo' value='sliceUpDownLeft' <?php if ($this->slider->get_setting('effect') == 'sliceUpDownLeft') echo 'selected=selected' ?>><?php _e("Slide Up Down Left", 'metaslider') ?></option>
686
+ <option class='option nivo' value='fold' <?php if ($this->slider->get_setting('effect') == 'fold') echo 'selected=selected' ?>><?php _e("Fold", 'metaslider') ?></option>
687
+ <option class='option nivo flex' value='fade' <?php if ($this->slider->get_setting('effect') == 'fade') echo 'selected=selected' ?>><?php _e("Fade", 'metaslider') ?></option>
688
+ <option class='option nivo' value='slideInRight' <?php if ($this->slider->get_setting('effect') == 'slideInRight') echo 'selected=selected' ?>><?php _e("Slide In Right", 'metaslider') ?></option>
689
+ <option class='option nivo' value='slideInLeft' <?php if ($this->slider->get_setting('effect') == 'slideInLeft') echo 'selected=selected' ?>><?php _e("Slide In Left", 'metaslider') ?></option>
690
+ <option class='option nivo' value='boxRandom' <?php if ($this->slider->get_setting('effect') == 'boxRandom') echo 'selected=selected' ?>><?php _e("Box Random", 'metaslider') ?></option>
691
+ <option class='option nivo' value='boxRain' <?php if ($this->slider->get_setting('effect') == 'boxRain') echo 'selected=selected' ?>><?php _e("Box Rain", 'metaslider') ?></option>
692
+ <option class='option nivo' value='boxRainReverse' <?php if ($this->slider->get_setting('effect') == 'boxRainReverse') echo 'selected=selected' ?>><?php _e("Box Rain Reverse", 'metaslider') ?></option>
693
+ <option class='option nivo' value='boxRainGrowReverse' <?php if ($this->slider->get_setting('effect') == 'boxRainGrowReverse') echo 'selected=selected' ?>><?php _e("Box Rain Grow Reverse", 'metaslider') ?></option>
694
+ <option class='option flex' value='slide' <?php if ($this->slider->get_setting('effect') == 'slide') echo 'selected=selected' ?>><?php _e("Slide", 'metaslider') ?></option>
695
+ </select>
696
+ </td>
697
+ </tr>
698
+ <tr>
699
+ <td class='tipsy-tooltip' title="<?php _e("Change the slider style", 'metaslider') ?>">
700
+ <?php _e("Theme", 'metaslider') ?>
701
+ </td>
702
+ <td>
703
+ <select name="settings[theme]" class='theme option coin nivo flex responsive'>
704
+ <?php
705
+ $defaultSelected = $this->slider->get_setting('theme') == 'default' ? 'selected=selected' : '';
706
+ $darkSelected = $this->slider->get_setting('theme') == 'dark' ? 'selected=selected' : '';
707
+ $lightSelected = $this->slider->get_setting('theme') == 'light' ? 'selected=selected' : '';
708
+ $barSelected = $this->slider->get_setting('theme') == 'bar' ? 'selected=selected' : '';
709
+
710
+ $themes = "<option value='default' class='option nivo flex coin responsive' {$defaultSelected}>Default</option>
711
+ <option value='dark' class='option nivo' {$darkSelected}>Dark (Nivo)</option>
712
+ <option value='light' class='option nivo' {$lightSelected}>Light (Nivo)</option>
713
+ <option value='bar' class='option nivo' {$barSelected}>Bar (Nivo)</option>";
714
+
715
+ echo apply_filters('metaslider_get_available_themes', $themes, $this->slider->get_setting('theme'));
716
+ ?>
717
+ </select>
718
+ </td>
719
+ </tr>
720
+ <tr>
721
+ <td colspan='2' class='highlight'><?php _e("Controls", 'metaslider') ?></td>
722
+ </tr>
723
+ <tr>
724
+ <td class='tipsy-tooltip' title="<?php _e("Show slide navigation row", 'metaslider') ?>">
725
+ <?php _e("Arrows", 'metaslider') ?>
726
+ </td>
727
+ <td>
728
+ <label class='option coin responsive nivo flex' ><input type='checkbox' name="settings[links]" <?php if ($this->slider->get_setting('links') == 'true') echo 'checked=checked' ?> /></label>
729
+ </td>
730
+ </tr>
731
+
732
+ <?php
733
+
734
+ $falseChecked = $this->slider->get_setting('navigation') == 'false' ? 'checked' : '';
735
+ $trueChecked = $this->slider->get_setting('navigation') == 'true' ? 'checked' : '';
736
+
737
+ $navigation_row = "<tr>
738
+ <td class='tipsy-tooltip' title='" . __("Show slide navigation row", 'metaslider') . "'>
739
+ " . __("Navigation", 'metaslider') . "
740
+ </td>
741
+ <td style='padding: 0 8px 8px 8px;'>
742
+ <label><input type='radio' name='settings[navigation]' value='false' {$falseChecked} />" . __("Hidden", 'metaslider') . "</option></label><br />
743
+ <label><input type='radio' name='settings[navigation]' value='true' {$trueChecked} />" . __("Dots", 'metaslider') . "</option></label><br />
744
+ <label><input type='radio' disabled='disabled' /><span style='color: #c0c0c0'>" . __("Thumbnails (Pro)", 'metaslider') . "</span></option></label>
745
+ </td>
746
+ </tr>";
747
+
748
+ echo apply_filters('metaslider_navigation_options', $navigation_row, $this->slider);
749
  ?>
750
+ <tr>
751
+ <td colspan='2' class='highlight'><?php _e("Advanced Settings", 'metaslider') ?></td>
752
+ </tr>
753
+ <tr>
754
+ <td class='tipsy-tooltip' title="<?php _e("Center align the slideshow", 'metaslider') ?>">
755
+ <?php _e("Center align", 'metaslider') ?>
756
+ </td>
757
+ <td>
758
+ <input class='option coin responsive nivo flex' type='checkbox' name="settings[center]" <?php if ($this->slider->get_setting('center') == 'true') echo 'checked=checked' ?> />
759
+ </td>
760
+ </tr>
761
+ <tr>
762
+ <td class='tipsy-tooltip' title="<?php _e("Start the slideshow on page load", 'metaslider') ?>">
763
+ <?php _e("Auto play", 'metaslider') ?>
764
+ </td>
765
+ <td>
766
+ <input class='option responsive nivo flex' type='checkbox' name="settings[autoPlay]" <?php if ($this->slider->get_setting('autoPlay') == 'true') echo 'checked=checked' ?> />
767
+ </td>
768
+ </tr>
769
+ <tr>
770
+ <td class='tipsy-tooltip' title="<?php _e("Smart Crop ensures your responsive slides are cropped to a ratio that results in a consistent slideshow size", 'metaslider') ?>">
771
+ <?php _e("Smart crop", 'metaslider') ?>
772
+ </td>
773
+ <td>
774
+ <input class='option coin responsive nivo flex' type='checkbox' name="settings[smartCrop]" <?php if ($this->slider->get_setting('smartCrop') !== 'false') echo 'checked=checked' ?> />
775
+ </td>
776
+ </tr>
777
+ <tr>
778
+ <td class='tipsy-tooltip' title="<?php _e("Display as carousel - when selected the effect and direction options will be ignored.", 'metaslider') ?>">
779
+ <?php _e("Carousel mode", 'metaslider') ?>
780
+ </td>
781
+ <td>
782
+ <input class='option flex' id='carouselMode' type='checkbox' id='carouselMode' name="settings[carouselMode]" <?php if ($this->slider->get_setting('carouselMode') == 'true') echo 'checked=checked' ?> />
783
+ </td>
784
+ </tr>
785
+ <tr>
786
+ <td class='tipsy-tooltip' title="<?php _e("Randomise the order of the slides", 'metaslider') ?>">
787
+ <?php _e("Random", 'metaslider') ?>
788
+ </td>
789
+ <td>
790
+ <input type='checkbox' name="settings[random]" <?php if ($this->slider->get_setting('random') == 'true') echo 'checked=checked' ?> />
791
+ </td>
792
+ </tr>
793
+ <tr>
794
+ <td class='tipsy-tooltip' title="<?php _e("Pause the slideshow when hovering over slider, then resume when no longer hovering", 'metaslider') ?>">
795
+ <?php _e("Hover pause", 'metaslider') ?>
796
+ </td>
797
+ <td>
798
+ <input class='option coin flex responsive nivo' type='checkbox' name="settings[hoverPause]" <?php if ($this->slider->get_setting('hoverPause') == 'true') echo 'checked=checked' ?> />
799
+ </td>
800
+ </tr>
801
+ <tr>
802
+ <td class='tipsy-tooltip' title="<?php _e("Reverse the animation direction", 'metaslider') ?>">
803
+ <?php _e("Reverse", 'metaslider') ?>
804
+ </td>
805
+ <td>
806
+ <input class='option flex' type='checkbox' name="settings[reverse]" <?php if ($this->slider->get_setting('reverse') == 'true') echo 'checked=checked' ?> />
807
+ </td>
808
+ </tr>
809
+ <tr>
810
+ <td class='tipsy-tooltip' title="<?php _e("How long to display each slide, in milliseconds", 'metaslider') ?>">
811
+ <?php _e("Slide delay", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
812
+ </td>
813
+ <td>
814
+ <input class='option coin flex responsive nivo' type='number' size='3' min='500' max='10000' step='100' name="settings[delay]" value='<?php echo $this->slider->get_setting('delay') ?>' />
815
+ </td>
816
+ </tr>
817
+ <tr>
818
+ <td class='tipsy-tooltip' title="<?php _e("Set the speed of animations, in milliseconds", 'metaslider') ?>">
819
+ <?php _e("Animation speed", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
820
+ </td>
821
+ <td>
822
+ <input class='option flex responsive nivo' type='number' size='3' min='0' max='2000' step='100' name="settings[animationSpeed]" value='<?php echo $this->slider->get_setting('animationSpeed') ?>' />
823
+ </td>
824
+ </tr>
825
+ <tr>
826
+ <td class='tipsy-tooltip' title="<?php _e("Number of squares (width x height)", 'metaslider') ?>">
827
+ <?php _e("Number of squares", 'metaslider') ?>
828
+ </td>
829
+ <td>
830
+ <input class='option coin nivo' type='number' size='3' min='1' max='20' step='1' name="settings[spw]" value='<?php echo $this->slider->get_setting('spw') ?>' /> x
831
+ <input class='option coin nivo' type='number' size='3' min='1' max='20' step='1' name="settings[sph]" value='<?php echo $this->slider->get_setting('sph') ?>' />
832
+ </td>
833
+ </tr>
834
+ <tr>
835
+ <td class='tipsy-tooltip' title="<?php _e("Number of slices", 'metaslider') ?>">
836
+ <?php _e("Number of slices", 'metaslider') ?>
837
+ </td>
838
+ <td>
839
+ <input class='option nivo' type='number' size='3' min='1' max='20' step='1' name="settings[slices]" value='<?php echo $this->slider->get_setting('slices') ?>' />
840
+ </td>
841
+ </tr>
842
+ <tr>
843
+ <td class='tipsy-tooltip' title="<?php _e("Select the sliding direction", 'metaslider') ?>"><?php _e("Slide direction", 'metaslider') ?></td>
844
+ <td>
845
+ <select class='option flex' name="settings[direction]">
846
+ <option value='horizontal' <?php if ($this->slider->get_setting('direction') == 'horizontal') echo 'selected=selected' ?>><?php _e("Horizontal", 'metaslider') ?></option>
847
+ <option value='vertical' <?php if ($this->slider->get_setting('direction') == 'vertical') echo 'selected=selected' ?>><?php _e("Vertical", 'metaslider') ?></option>
848
+ </select>
849
+ </td>
850
+ </tr>
851
+ <tr>
852
+ <td class='tipsy-tooltip' title="<?php _e("Animation easing effect", 'metaslider') ?>">
853
+ <?php _e("Easing", 'metaslider') ?>
854
+ </td>
855
+ <td>
856
+ <select name="settings[easing]" class='option flex'>
857
+ <?php
858
+ $options = array(
859
+ 'linear','swing','jswing','easeInQuad','easeOutQuad','easeInOutQuad',
860
+ 'easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart',
861
+ 'easeOutQuart','easeInOutQuart','easeInQuint','easeOutQuint',
862
+ 'easeInOutQuint','easeInSine','easeOutSine','easeInOutSine',
863
+ 'easeInExpo','easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc',
864
+ 'easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic',
865
+ 'easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce',
866
+ 'easeInOutBounce'
867
+ );
868
+
869
+ foreach ($options as $option) {
870
+ echo "<option value='{$option}'";
871
+ if ($this->slider->get_setting('easing') == $option) {
872
+ echo 'selected=selected';
873
+ }
874
+ echo ">" . ucfirst(preg_replace('/(\w+)([A-Z])/U', '\\1 \\2', $option)) . "</option>";
875
+ }
876
+ ?>
877
+ </select>
878
+ </td>
879
+ </tr>
880
+ <tr>
881
+ <td class='tipsy-tooltip' title="<?php _e("Set the text for the 'previous' direction item", 'metaslider') ?>">
882
+ <?php _e("Previous text", 'metaslider') ?>
883
+ </td>
884
+ <td>
885
+ <input class='option coin flex responsive nivo' type='text' name="settings[prevText]" value='<?php if ($this->slider->get_setting('prevText') != 'false') echo $this->slider->get_setting('prevText') ?>' />
886
+ </td>
887
+ </tr>
888
+ <tr>
889
+ <td class='tipsy-tooltip' title="<?php _e("Set the text for the 'next' direction item", 'metaslider') ?>">
890
+ <?php _e("Next text", 'metaslider') ?>
891
+ </td>
892
+ <td>
893
+ <input class='option coin flex responsive nivo' type='text' name="settings[nextText]" value='<?php if ($this->slider->get_setting('nextText') != 'false') echo $this->slider->get_setting('nextText') ?>' />
894
+ </td>
895
+ </tr>
896
+ <tr>
897
+ <td class='tipsy-tooltip' title="<?php _e("Delay beetwen squares in ms", 'metaslider') ?>">
898
+ <?php _e("Square delay", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
899
+ </td>
900
+ <td>
901
+ <input class='option coin' type='number' size='3' min='0' max='500' step='10' name="settings[sDelay]" value='<?php echo $this->slider->get_setting('sDelay') ?>' />
902
+ </td>
903
+ </tr>
904
+ <tr>
905
+ <td class='tipsy-tooltip' title="<?php _e("Opacity of title and navigation", 'metaslider') ?>">
906
+ <?php _e("Opacity", 'metaslider') ?>
907
+ </td>
908
+ <td>
909
+ <input class='option coin' type='number' size='3' min='0.1' max='1.0' step='0.1' name="settings[opacity]" value='<?php echo $this->slider->get_setting('opacity') ?>' />
910
+ </td>
911
+ </tr>
912
+ <tr>
913
+ <td class='tipsy-tooltip' title="<?php _e("Set the fade in speed of the caption", 'metaslider') ?>">
914
+ <?php _e("Caption speed", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
915
+ </td>
916
+ <td>
917
+ <input class='option coin' type='number' size='3' min='0' max='10000' step='100' name="settings[titleSpeed]" value='<?php echo $this->slider->get_setting('titleSpeed') ?>' />
918
+ </td>
919
+ </tr>
920
+ <tr>
921
+ <td colspan='2' class='highlight'><?php _e("Developer Options", 'metaslider') ?></td>
922
+ </tr>
923
+ <tr>
924
+ <td class='tipsy-tooltip' title="<?php _e("Specify any custom CSS Classes you would like to be added to the slider wrapper", 'metaslider') ?>">
925
+ <?php _e("CSS classes", 'metaslider') ?>
926
+ </td>
927
+ <td>
928
+ <input type='text' name="settings[cssClass]" value='<?php if ($this->slider->get_setting('cssClass') != 'false') echo $this->slider->get_setting('cssClass') ?>' />
929
+ </td>
930
+ </tr>
931
+ <tr>
932
+ <td class='tipsy-tooltip' title="<?php _e("Uncheck this is you would like to include your own Javascript", 'metaslider') ?>">
933
+ <?php _e("Print Scripts", 'metaslider') ?>
934
+ </td>
935
+ <td>
936
+ <input type='checkbox' class='useWithCaution' name="settings[printCss]" <?php if ($this->slider->get_setting('printCss') == 'true') echo 'checked=checked' ?> />
937
+ <span class='tipsy-tooltip' title="<?php _e("Uncheck this is you would like to include your own CSS", 'metaslider') ?>">
938
+ <?php _e("CSS", 'metaslider') ?>
939
+ </span>
940
+ <input type='checkbox' class='useWithCaution' name="settings[printJs]" <?php if ($this->slider->get_setting('printJs') == 'true') echo 'checked=checked' ?> />
941
+ <span class='tipsy-tooltip' title="<?php _e("Uncheck this is you would like to include your own Javascript", 'metaslider') ?>">
942
+ <?php _e("JavaScript", 'metaslider') ?>
943
+ </span>
944
+ </td>
945
+ </tr>
946
+ <tr>
947
+ <td colspan='2'>
948
+ <a class='alignright delete-slider button-secondary confirm' href='<?php echo wp_nonce_url("?page=metaslider&delete={$this->slider->id}", "metaslider_delete_slider"); ?>'><?php _e("Delete Slider", 'metaslider') ?></a>
949
+ </td>
950
+ </tr>
951
+ </tbody>
952
+ </table>
953
+
954
+ <table class="widefat shortcode">
955
+ <thead>
956
+ <tr>
957
+ <th><?php _e("Usage", 'metaslider') ?></th>
958
+ </tr>
959
+ </thead>
960
+
961
+ <tbody>
962
+ <tr>
963
+ <td class='highlight'><?php _e("Shortcode", 'metaslider') ?></td>
964
+ </tr>
965
+ <tr>
966
+ <td><input readonly='readonly' type='text' value='[metaslider id=<?php echo $this->slider->id ?>]' /></td>
967
+ </tr>
968
+ <tr>
969
+ <td class='highlight'><?php _e("Template Include", 'metaslider') ?></td>
970
+ </tr>
971
+ <tr>
972
+ <td><input readonly='readonly' type='text' value='&lt;?php echo do_shortcode("[metaslider id=<?php echo $this->slider->id ?>]"); ?>' /></td>
973
+ </tr>
974
+ </tbody>
975
+
976
+ </table>
977
+
978
+ <ul class='info'>
979
+ <li>
980
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.metaslider.com" data-text="Check out Meta Slider, an easy to use slideshow plugin for WordPress" data-hashtags="metaslider, wordpress, slideshow">Tweet</a>
981
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> </li>
982
+ <li>
983
+ <div class="g-plusone" data-size="medium" data-href="http://www.metaslider.com"></div>
984
+ <script type="text/javascript">
985
+ (function() {
986
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
987
+ po.src = 'https://apis.google.com/js/plusone.js';
988
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
989
+ })();
990
+ </script>
991
+ </li>
992
+ <li>
993
+ <iframe style='border:none; overflow:hidden; width:96px; height:21px;' src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.metaslider.com&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=156668027835524" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
994
+ </li>
995
+ </ul>
996
+ </div>
997
+ </div>
998
+
999
+ <div id='postbox-container-2' class='postbox-container'>
1000
+ <div class="left">
1001
+ <table class="widefat sortable">
1002
+ <thead>
1003
+ <tr>
1004
+ <th style="width: 100px;">
1005
+ <?php _e("Slides", 'metaslider') ?>
1006
+ </th>
1007
+ <th>
1008
+ <a href='#' class='button alignright add-slide' data-editor='content' title='<?php _e("Add Slide", 'metaslider') ?>'>
1009
+ <span class='wp-media-buttons-icon'></span> <?php _e("Add Slide", 'metaslider') ?>
1010
+ </a>
1011
+ </th>
1012
+ </tr>
1013
+ </thead>
1014
+
1015
+ <tbody>
1016
+ <?php
1017
+ $this->slider->render_admin_slides();
1018
  ?>
1019
+ </tbody>
1020
+ </table>
1021
+ </div>
1022
+ </div>
1023
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1024
  </div>
1025
  </form>
1026
  </div>
1030
 
1031
  $metaslider = new MetaSliderPlugin();
1032
 
1033
+ ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: widget,wordpress slider,slideshow,wordpress slideshow,image slider,flexsli
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQ84KC4X8YKW8
5
  Requires at least: 3.5
6
  Tested up to: 3.7
7
- Stable tag: 2.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -52,6 +52,7 @@ Meta Slider has been translated into the following languages:
52
 
53
  * French (thanks to fb-graphiklab)
54
  * Spanish (thanks to eltipografico)
 
55
  * Polish (thanks to gordon34)
56
  * Chinese (thanks to 断青丝)
57
 
@@ -140,6 +141,30 @@ Coin Slider is not responsive. This means (unlike the other slideshows in Meta S
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  = 2.4.2 [17/10/13] =
144
  * Fix: qTranslate caption & URL parsing for image slides
145
 
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQ84KC4X8YKW8
5
  Requires at least: 3.5
6
  Tested up to: 3.7
7
+ Stable tag: 2.5-beta2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
52
 
53
  * French (thanks to fb-graphiklab)
54
  * Spanish (thanks to eltipografico)
55
+ * German (thanks to Rewolve44)
56
  * Polish (thanks to gordon34)
57
  * Chinese (thanks to 断青丝)
58
 
141
 
142
  == Changelog ==
143
 
144
+ = 2.5 [25/11/13] =
145
+ * Fix: JetPack Photon conflict
146
+ * Improvement: German Language pack added (thanks to gordon34)
147
+ * Improvement: Chinese language pack updated (thanks to 断青丝)
148
+ * Improvement: MP6 styling fixes
149
+
150
+ = 2.5-beta2 [14/11/13] =
151
+ * Fix: Vantage theme backwards compatibility
152
+ * Fix: Flexslider anchor attributes filter
153
+
154
+ = 2.5-beta1 [12/11/13] =
155
+ * Fix: Center align slideshow
156
+
157
+ = 2.5-beta [12/11/13] =
158
+ * New Feature: 'percentwidth' parameter added to shortcode to allow for 100% wide slideshows
159
+ * Improvement: Generate resized images through multiple Ajax requests on save (blank screen fix)
160
+ * Improvement: IE9 admin styling tidied up
161
+ * Improvement: Filters added to add/change attributes in <img> and <a> tags
162
+ * Improvement: Security - nonce checking added
163
+ * Change: Remove bottom margin from flex slider when navigation is hidden (add a CSS Class of 'add-margin' if you need the margin)
164
+ * Fix: Add slides to slideshow in the same order they're selected in the Media Library
165
+ * Fix: Symlink path resolution
166
+ * Fix: Do not try to resize/open images that are corrupt (missing metadata) (blank screen fix)
167
+
168
  = 2.4.2 [17/10/13] =
169
  * Fix: qTranslate caption & URL parsing for image slides
170