Version Description
- New: Option to force PNG icons in case of display problems
- Fix: Bug with video width not working in SwipeBox
Download this release
Release Info
Developer | dfactory |
Plugin | Responsive Lightbox & Gallery |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- assets/swipebox/source/jquery.swipebox.js +451 -593
- assets/swipebox/source/jquery.swipebox.min.js +1 -1
- assets/swipebox/source/swipebox.css +2 -4
- js/admin.js +8 -8
- js/front.js +1 -1
- languages/responsive-lightbox-pl_PL.mo +0 -0
- languages/responsive-lightbox-pl_PL.po +170 -160
- languages/responsive-lightbox.pot +170 -160
- readme.txt +8 -5
- responsive-lightbox.php +75 -29
assets/swipebox/source/jquery.swipebox.js
CHANGED
@@ -1,593 +1,451 @@
|
|
1 |
-
/*---------------------------------------------------------------------------------------------
|
2 |
-
|
3 |
-
@author Constantin Saguin - @brutaldesign
|
4 |
-
@link http://
|
5 |
-
@github http://github.com/brutaldesign/swipebox
|
6 |
-
@version 1.2
|
7 |
-
@license MIT License
|
8 |
-
|
9 |
-
----------------------------------------------------------------------------------------------*/
|
10 |
-
|
11 |
-
;(function (window, document, $, undefined) {
|
12 |
-
|
13 |
-
$.swipebox = function(elem, options) {
|
14 |
-
|
15 |
-
var defaults = {
|
16 |
-
useCSS : true,
|
17 |
-
hideBarsDelay : 3000
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
$('
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
}
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
$(
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
$this.
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
if(
|
223 |
-
|
224 |
-
}
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
$('
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
}
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
$
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
$
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
$
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
}
|
399 |
-
},
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
}
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
$
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
$('
|
430 |
-
$(
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
if( elements[index] !== undefined )
|
453 |
-
src = elements[index].href;
|
454 |
-
|
455 |
-
if(index < 0 || index >= elements.length){
|
456 |
-
return false;
|
457 |
-
}
|
458 |
-
|
459 |
-
if( !$this.isVideo(src) ){
|
460 |
-
$this.loadMedia(src, function(){
|
461 |
-
$('#swipebox-slider .slide').eq(index).html(this);
|
462 |
-
});
|
463 |
-
}else{
|
464 |
-
$('#swipebox-slider .slide').eq(index).html($this.getVideo(src));
|
465 |
-
}
|
466 |
-
|
467 |
-
},
|
468 |
-
|
469 |
-
setTitle : function (index, isFirst){
|
470 |
-
var title = null;
|
471 |
-
|
472 |
-
$('#swipebox-caption').empty();
|
473 |
-
|
474 |
-
if( elements[index] !== undefined )
|
475 |
-
title = elements[index].title;
|
476 |
-
|
477 |
-
if(title){
|
478 |
-
$('#swipebox-caption').append(title);
|
479 |
-
}
|
480 |
-
},
|
481 |
-
|
482 |
-
isVideo : function (src){
|
483 |
-
|
484 |
-
if( src ){
|
485 |
-
if(
|
486 |
-
src.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)
|
487 |
-
|| src.match(/vimeo\.com\/([0-9]*)/)
|
488 |
-
){
|
489 |
-
return true;
|
490 |
-
}
|
491 |
-
}
|
492 |
-
|
493 |
-
},
|
494 |
-
|
495 |
-
getVideo : function(url){
|
496 |
-
var iframe = '';
|
497 |
-
var output = '';
|
498 |
-
var youtubeUrl = url.match(/watch\?v=([a-zA-Z0-9\-_]+)/);
|
499 |
-
var vimeoUrl = url.match(/vimeo\.com\/([0-9]*)/);
|
500 |
-
if( youtubeUrl ){
|
501 |
-
|
502 |
-
iframe = '<iframe width="560" height="315" src="//www.youtube.com/embed/'+youtubeUrl[1]+'" frameborder="0" allowfullscreen></iframe>';
|
503 |
-
|
504 |
-
}else if(vimeoUrl){
|
505 |
-
|
506 |
-
iframe = '<iframe width="560" height="315" src="http://player.vimeo.com/video/'+vimeoUrl[1]+'?byline=0&portrait=0&color='+plugin.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
|
507 |
-
|
508 |
-
}
|
509 |
-
|
510 |
-
return '<div class="swipebox-video-container" style="max-width:'+plugin.settings.videomaxWidth+'px"><div class="swipebox-video">'+iframe+'</div></div>';
|
511 |
-
},
|
512 |
-
|
513 |
-
loadMedia : function (src, callback){
|
514 |
-
if( !this.isVideo(src) ){
|
515 |
-
var img = $('<img>').on('load', function(){
|
516 |
-
callback.call(img);
|
517 |
-
});
|
518 |
-
|
519 |
-
img.attr('src',src);
|
520 |
-
}
|
521 |
-
},
|
522 |
-
|
523 |
-
getNext : function (){
|
524 |
-
var $this = this;
|
525 |
-
index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
|
526 |
-
if(index+1 < elements.length){
|
527 |
-
index++;
|
528 |
-
$this.setSlide(index);
|
529 |
-
$this.preloadMedia(index+1);
|
530 |
-
}
|
531 |
-
else{
|
532 |
-
|
533 |
-
$('#swipebox-slider').addClass('rightSpring');
|
534 |
-
setTimeout(function(){
|
535 |
-
$('#swipebox-slider').removeClass('rightSpring');
|
536 |
-
},500);
|
537 |
-
}
|
538 |
-
},
|
539 |
-
|
540 |
-
getPrev : function (){
|
541 |
-
index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
|
542 |
-
if(index > 0){
|
543 |
-
index--;
|
544 |
-
this.setSlide(index);
|
545 |
-
this.preloadMedia(index-1);
|
546 |
-
}
|
547 |
-
else{
|
548 |
-
|
549 |
-
$('#swipebox-slider').addClass('leftSpring');
|
550 |
-
setTimeout(function(){
|
551 |
-
$('#swipebox-slider').removeClass('leftSpring');
|
552 |
-
},500);
|
553 |
-
}
|
554 |
-
},
|
555 |
-
|
556 |
-
|
557 |
-
closeSlide : function (){
|
558 |
-
$('html').removeClass('swipebox');
|
559 |
-
$(window).trigger('resize');
|
560 |
-
this.destroy();
|
561 |
-
},
|
562 |
-
|
563 |
-
destroy : function(){
|
564 |
-
$(window).unbind('keyup');
|
565 |
-
$('body').unbind('touchstart');
|
566 |
-
$('body').unbind('touchmove');
|
567 |
-
$('body').unbind('touchend');
|
568 |
-
$('#swipebox-slider').unbind();
|
569 |
-
$('#swipebox-overlay').remove();
|
570 |
-
if (!$.isArray(elem))
|
571 |
-
elem.removeData('_swipebox');
|
572 |
-
if ( this.target )
|
573 |
-
this.target.trigger('swipebox-destroy');
|
574 |
-
$.swipebox.isOpen = false;
|
575 |
-
if (plugin.settings.afterClose)
|
576 |
-
plugin.settings.afterClose();
|
577 |
-
}
|
578 |
-
|
579 |
-
};
|
580 |
-
|
581 |
-
plugin.init();
|
582 |
-
|
583 |
-
};
|
584 |
-
|
585 |
-
$.fn.swipebox = function(options){
|
586 |
-
if (!$.data(this, "_swipebox")) {
|
587 |
-
var swipebox = new $.swipebox(this, options);
|
588 |
-
this.data('_swipebox', swipebox);
|
589 |
-
}
|
590 |
-
return this.data('_swipebox');
|
591 |
-
}
|
592 |
-
|
593 |
-
}(window, document, jQuery));
|
1 |
+
/*---------------------------------------------------------------------------------------------
|
2 |
+
|
3 |
+
@author Constantin Saguin - @brutaldesign
|
4 |
+
@link http://bsign.co
|
5 |
+
@github http://github.com/brutaldesign/swipebox
|
6 |
+
@version 1.1.2
|
7 |
+
@license MIT License
|
8 |
+
|
9 |
+
----------------------------------------------------------------------------------------------*/
|
10 |
+
|
11 |
+
;(function (window, document, $, undefined) {
|
12 |
+
|
13 |
+
$.swipebox = function(elem, options) {
|
14 |
+
|
15 |
+
var defaults = {
|
16 |
+
useCSS : true,
|
17 |
+
hideBarsDelay : 3000
|
18 |
+
},
|
19 |
+
|
20 |
+
plugin = this,
|
21 |
+
$elem = $(elem),
|
22 |
+
elem = elem,
|
23 |
+
selector = elem.selector,
|
24 |
+
$selector = $(selector),
|
25 |
+
isTouch = document.createTouch !== undefined || ('ontouchstart' in window) || ('onmsgesturechange' in window) || navigator.msMaxTouchPoints,
|
26 |
+
supportSVG = !!(window.SVGSVGElement),
|
27 |
+
html = '<div id="swipebox-overlay">\
|
28 |
+
<div id="swipebox-slider"></div>\
|
29 |
+
<div id="swipebox-caption"></div>\
|
30 |
+
<div id="swipebox-action">\
|
31 |
+
<a id="swipebox-close"></a>\
|
32 |
+
<a id="swipebox-prev"></a>\
|
33 |
+
<a id="swipebox-next"></a>\
|
34 |
+
</div>\
|
35 |
+
</div>';
|
36 |
+
|
37 |
+
plugin.settings = {}
|
38 |
+
|
39 |
+
plugin.init = function(){
|
40 |
+
|
41 |
+
plugin.settings = $.extend({}, defaults, options);
|
42 |
+
|
43 |
+
$selector.click(function(e){
|
44 |
+
e.preventDefault();
|
45 |
+
e.stopPropagation();
|
46 |
+
index = $elem.index($(this));
|
47 |
+
ui.target = $(e.target);
|
48 |
+
ui.init(index);
|
49 |
+
});
|
50 |
+
}
|
51 |
+
|
52 |
+
var ui = {
|
53 |
+
|
54 |
+
init : function(index){
|
55 |
+
this.target.trigger('swipebox-start');
|
56 |
+
this.build();
|
57 |
+
this.openSlide(index);
|
58 |
+
this.openImg(index);
|
59 |
+
this.preloadImg(index+1);
|
60 |
+
this.preloadImg(index-1);
|
61 |
+
},
|
62 |
+
|
63 |
+
build : function(){
|
64 |
+
var $this = this;
|
65 |
+
|
66 |
+
$('body').append(html);
|
67 |
+
|
68 |
+
if($this.doCssTrans()){
|
69 |
+
$('#swipebox-slider').css({
|
70 |
+
'-webkit-transition' : 'left 0.4s ease',
|
71 |
+
'-moz-transition' : 'left 0.4s ease',
|
72 |
+
'-o-transition' : 'left 0.4s ease',
|
73 |
+
'-khtml-transition' : 'left 0.4s ease',
|
74 |
+
'transition' : 'left 0.4s ease'
|
75 |
+
});
|
76 |
+
$('#swipebox-overlay').css({
|
77 |
+
'-webkit-transition' : 'opacity 1s ease',
|
78 |
+
'-moz-transition' : 'opacity 1s ease',
|
79 |
+
'-o-transition' : 'opacity 1s ease',
|
80 |
+
'-khtml-transition' : 'opacity 1s ease',
|
81 |
+
'transition' : 'opacity 1s ease'
|
82 |
+
});
|
83 |
+
$('#swipebox-action, #swipebox-caption').css({
|
84 |
+
'-webkit-transition' : '0.5s',
|
85 |
+
'-moz-transition' : '0.5s',
|
86 |
+
'-o-transition' : '0.5s',
|
87 |
+
'-khtml-transition' : '0.5s',
|
88 |
+
'transition' : '0.5s'
|
89 |
+
});
|
90 |
+
}
|
91 |
+
|
92 |
+
|
93 |
+
if(supportSVG){
|
94 |
+
var bg = $('#swipebox-action #swipebox-close').css('background-image');
|
95 |
+
bg = bg.replace('png', 'svg');
|
96 |
+
$('#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close').css({
|
97 |
+
'background-image' : bg
|
98 |
+
});
|
99 |
+
}
|
100 |
+
|
101 |
+
$elem.each(function(){
|
102 |
+
$('#swipebox-slider').append('<div class="slide"></div>');
|
103 |
+
});
|
104 |
+
|
105 |
+
$this.setDim();
|
106 |
+
$this.actions();
|
107 |
+
$this.keyboard();
|
108 |
+
$this.gesture();
|
109 |
+
$this.animBars();
|
110 |
+
|
111 |
+
$(window).resize(function() {
|
112 |
+
$this.setDim();
|
113 |
+
}).resize();
|
114 |
+
},
|
115 |
+
|
116 |
+
setDim : function(){
|
117 |
+
var sliderCss = {
|
118 |
+
width : $(window).width(),
|
119 |
+
height : window.innerHeight ? window.innerHeight : $(window).height() // fix IOS bug
|
120 |
+
}
|
121 |
+
|
122 |
+
$('#swipebox-overlay').css(sliderCss);
|
123 |
+
|
124 |
+
},
|
125 |
+
|
126 |
+
supportTransition : function() {
|
127 |
+
var prefixes = 'transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition'.split(' ');
|
128 |
+
for(var i = 0; i < prefixes.length; i++) {
|
129 |
+
if(document.createElement('div').style[prefixes[i]] !== undefined) {
|
130 |
+
return prefixes[i];
|
131 |
+
}
|
132 |
+
}
|
133 |
+
return false;
|
134 |
+
},
|
135 |
+
|
136 |
+
doCssTrans : function(){
|
137 |
+
if(plugin.settings.useCSS && this.supportTransition() ){
|
138 |
+
return true;
|
139 |
+
}
|
140 |
+
},
|
141 |
+
|
142 |
+
gesture : function(){
|
143 |
+
if ( isTouch ){
|
144 |
+
var $this = this,
|
145 |
+
distance = null,
|
146 |
+
swipMinDistance = 10,
|
147 |
+
startCoords = {},
|
148 |
+
endCoords = {};
|
149 |
+
var b = $('#swipebox-caption, #swipebox-action');
|
150 |
+
|
151 |
+
b.addClass('visible-bars');
|
152 |
+
$this.setTimeout();
|
153 |
+
|
154 |
+
$('body').bind('touchstart', function(e){
|
155 |
+
|
156 |
+
$(this).addClass('touching');
|
157 |
+
|
158 |
+
endCoords = e.originalEvent.targetTouches[0];
|
159 |
+
startCoords.pageX = e.originalEvent.targetTouches[0].pageX;
|
160 |
+
|
161 |
+
$('.touching').bind('touchmove',function(e){
|
162 |
+
e.preventDefault();
|
163 |
+
e.stopPropagation();
|
164 |
+
endCoords = e.originalEvent.targetTouches[0];
|
165 |
+
|
166 |
+
});
|
167 |
+
|
168 |
+
return false;
|
169 |
+
|
170 |
+
}).bind('touchend',function(e){
|
171 |
+
e.preventDefault();
|
172 |
+
e.stopPropagation();
|
173 |
+
|
174 |
+
distance = endCoords.pageX - startCoords.pageX;
|
175 |
+
|
176 |
+
if( distance >= swipMinDistance ){
|
177 |
+
// swipeLeft
|
178 |
+
$this.getPrev();
|
179 |
+
}
|
180 |
+
|
181 |
+
else if( distance <= - swipMinDistance ){
|
182 |
+
// swipeRight
|
183 |
+
$this.getNext();
|
184 |
+
|
185 |
+
}else{
|
186 |
+
// tap
|
187 |
+
if(!b.hasClass('visible-bars')){
|
188 |
+
$this.showBars();
|
189 |
+
$this.setTimeout();
|
190 |
+
}else{
|
191 |
+
$this.clearTimeout();
|
192 |
+
$this.hideBars();
|
193 |
+
}
|
194 |
+
|
195 |
+
}
|
196 |
+
|
197 |
+
$('.touching').off('touchmove').removeClass('touching');
|
198 |
+
|
199 |
+
});
|
200 |
+
|
201 |
+
}
|
202 |
+
},
|
203 |
+
|
204 |
+
setTimeout: function(){
|
205 |
+
if(plugin.settings.hideBarsDelay > 0){
|
206 |
+
var $this = this;
|
207 |
+
$this.clearTimeout();
|
208 |
+
$this.timeout = window.setTimeout( function(){
|
209 |
+
$this.hideBars() },
|
210 |
+
plugin.settings.hideBarsDelay
|
211 |
+
);
|
212 |
+
}
|
213 |
+
},
|
214 |
+
|
215 |
+
clearTimeout: function(){
|
216 |
+
window.clearTimeout(this.timeout);
|
217 |
+
this.timeout = null;
|
218 |
+
},
|
219 |
+
|
220 |
+
showBars : function(){
|
221 |
+
var b = $('#swipebox-caption, #swipebox-action');
|
222 |
+
if(this.doCssTrans()){
|
223 |
+
b.addClass('visible-bars');
|
224 |
+
}else{
|
225 |
+
$('#swipebox-caption').animate({ top : 0 }, 500);
|
226 |
+
$('#swipebox-action').animate({ bottom : 0 }, 500);
|
227 |
+
setTimeout(function(){
|
228 |
+
b.addClass('visible-bars');
|
229 |
+
}, 1000);
|
230 |
+
}
|
231 |
+
},
|
232 |
+
|
233 |
+
hideBars : function(){
|
234 |
+
var b = $('#swipebox-caption, #swipebox-action');
|
235 |
+
if(this.doCssTrans()){
|
236 |
+
b.removeClass('visible-bars');
|
237 |
+
}else{
|
238 |
+
$('#swipebox-caption').animate({ top : '-50px' }, 500);
|
239 |
+
$('#swipebox-action').animate({ bottom : '-50px' }, 500);
|
240 |
+
setTimeout(function(){
|
241 |
+
b.removeClass('visible-bars');
|
242 |
+
}, 1000);
|
243 |
+
}
|
244 |
+
},
|
245 |
+
|
246 |
+
animBars : function(){
|
247 |
+
var $this = this;
|
248 |
+
var b = $('#swipebox-caption, #swipebox-action');
|
249 |
+
|
250 |
+
b.addClass('visible-bars');
|
251 |
+
$this.setTimeout();
|
252 |
+
|
253 |
+
$('#swipebox-slider').click(function(e){
|
254 |
+
if(!b.hasClass('visible-bars')){
|
255 |
+
$this.showBars();
|
256 |
+
$this.setTimeout();
|
257 |
+
}
|
258 |
+
});
|
259 |
+
|
260 |
+
$('#swipebox-action').hover(function() {
|
261 |
+
$this.showBars();
|
262 |
+
b.addClass('force-visible-bars');
|
263 |
+
$this.clearTimeout();
|
264 |
+
|
265 |
+
},function() {
|
266 |
+
b.removeClass('force-visible-bars');
|
267 |
+
$this.setTimeout();
|
268 |
+
|
269 |
+
});
|
270 |
+
},
|
271 |
+
|
272 |
+
keyboard : function(){
|
273 |
+
var $this = this;
|
274 |
+
$(window).bind('keyup', function(e){
|
275 |
+
e.preventDefault();
|
276 |
+
e.stopPropagation();
|
277 |
+
if (e.keyCode == 37){
|
278 |
+
$this.getPrev();
|
279 |
+
}
|
280 |
+
else if (e.keyCode==39){
|
281 |
+
$this.getNext();
|
282 |
+
}
|
283 |
+
else if (e.keyCode == 27) {
|
284 |
+
$this.closeSlide();
|
285 |
+
}
|
286 |
+
});
|
287 |
+
},
|
288 |
+
|
289 |
+
actions : function(){
|
290 |
+
var $this = this;
|
291 |
+
|
292 |
+
if( $elem.length < 2 ){
|
293 |
+
$('#swipebox-prev, #swipebox-next').hide();
|
294 |
+
}else{
|
295 |
+
$('#swipebox-prev').bind('click touchend', function(e){
|
296 |
+
e.preventDefault();
|
297 |
+
e.stopPropagation();
|
298 |
+
$this.getPrev();
|
299 |
+
$this.setTimeout();
|
300 |
+
});
|
301 |
+
|
302 |
+
$('#swipebox-next').bind('click touchend', function(e){
|
303 |
+
e.preventDefault();
|
304 |
+
e.stopPropagation();
|
305 |
+
$this.getNext();
|
306 |
+
$this.setTimeout();
|
307 |
+
});
|
308 |
+
}
|
309 |
+
|
310 |
+
$('#swipebox-close').bind('click touchend', function(e){
|
311 |
+
$this.closeSlide();
|
312 |
+
});
|
313 |
+
},
|
314 |
+
|
315 |
+
setSlide : function (index, isFirst){
|
316 |
+
isFirst = isFirst || false;
|
317 |
+
|
318 |
+
var slider = $('#swipebox-slider');
|
319 |
+
|
320 |
+
if(this.doCssTrans()){
|
321 |
+
slider.css({ left : (-index*100)+'%' });
|
322 |
+
}else{
|
323 |
+
slider.animate({ left : (-index*100)+'%' });
|
324 |
+
}
|
325 |
+
|
326 |
+
$('#swipebox-slider .slide').removeClass('current');
|
327 |
+
$('#swipebox-slider .slide').eq(index).addClass('current');
|
328 |
+
this.setTitle(index);
|
329 |
+
|
330 |
+
if( isFirst ){
|
331 |
+
slider.fadeIn();
|
332 |
+
}
|
333 |
+
|
334 |
+
$('#swipebox-prev, #swipebox-next').removeClass('disabled');
|
335 |
+
if(index == 0){
|
336 |
+
$('#swipebox-prev').addClass('disabled');
|
337 |
+
}else if( index == $elem.length - 1 ){
|
338 |
+
$('#swipebox-next').addClass('disabled');
|
339 |
+
}
|
340 |
+
},
|
341 |
+
|
342 |
+
openSlide : function (index){
|
343 |
+
|
344 |
+
$('html').addClass('swipebox');
|
345 |
+
$(window).trigger('resize'); // fix scroll bar visibility on desktop
|
346 |
+
this.setSlide(index, true);
|
347 |
+
},
|
348 |
+
|
349 |
+
preloadImg : function (index){
|
350 |
+
var $this = this;
|
351 |
+
setTimeout(function(){
|
352 |
+
$this.openImg(index);
|
353 |
+
}, 1000);
|
354 |
+
},
|
355 |
+
|
356 |
+
openImg : function (index){
|
357 |
+
var $this = this;
|
358 |
+
if(index < 0 || index >= $elem.length){
|
359 |
+
return false;
|
360 |
+
}
|
361 |
+
|
362 |
+
$this.loadImg($elem.eq(index).attr('href'), function(){
|
363 |
+
$('#swipebox-slider .slide').eq(index).html(this);
|
364 |
+
});
|
365 |
+
},
|
366 |
+
|
367 |
+
|
368 |
+
setTitle : function(index, isFirst){
|
369 |
+
$('#swipebox-caption').empty();
|
370 |
+
|
371 |
+
if($elem.eq(index).attr('title')){
|
372 |
+
$('#swipebox-caption').append($elem.eq(index).attr('title'));
|
373 |
+
}
|
374 |
+
},
|
375 |
+
|
376 |
+
loadImg : function (src, callback){
|
377 |
+
var img = $('<img>').on('load', function(){
|
378 |
+
callback.call(img);
|
379 |
+
});
|
380 |
+
|
381 |
+
img.attr('src',src);
|
382 |
+
},
|
383 |
+
|
384 |
+
getNext : function (){
|
385 |
+
var $this = this;
|
386 |
+
index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
|
387 |
+
if(index+1 < $elem.length){
|
388 |
+
index++;
|
389 |
+
$this.setSlide(index);
|
390 |
+
$this.preloadImg(index+1);
|
391 |
+
}
|
392 |
+
else{
|
393 |
+
|
394 |
+
$('#swipebox-slider').addClass('rightSpring');
|
395 |
+
setTimeout(function(){
|
396 |
+
$('#swipebox-slider').removeClass('rightSpring');
|
397 |
+
},500);
|
398 |
+
}
|
399 |
+
},
|
400 |
+
|
401 |
+
getPrev : function (){
|
402 |
+
var $this = this;
|
403 |
+
index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
|
404 |
+
if(index > 0){
|
405 |
+
index--;
|
406 |
+
$this.setSlide(index);
|
407 |
+
$this.preloadImg(index-1);
|
408 |
+
}
|
409 |
+
else{
|
410 |
+
|
411 |
+
$('#swipebox-slider').addClass('leftSpring');
|
412 |
+
setTimeout(function(){
|
413 |
+
$('#swipebox-slider').removeClass('leftSpring');
|
414 |
+
},500);
|
415 |
+
}
|
416 |
+
},
|
417 |
+
|
418 |
+
|
419 |
+
closeSlide : function (){
|
420 |
+
var $this = this;
|
421 |
+
$(window).trigger('resize');
|
422 |
+
$('html').removeClass('swipebox');
|
423 |
+
$this.destroy();
|
424 |
+
},
|
425 |
+
|
426 |
+
destroy : function(){
|
427 |
+
var $this = this;
|
428 |
+
$(window).unbind('keyup');
|
429 |
+
$('body').unbind('touchstart');
|
430 |
+
$('body').unbind('touchmove');
|
431 |
+
$('body').unbind('touchend');
|
432 |
+
$('#swipebox-slider').unbind();
|
433 |
+
$('#swipebox-overlay').remove();
|
434 |
+
$elem.removeData('_swipebox');
|
435 |
+
$this.target.trigger('swipebox-destroy');
|
436 |
+
}
|
437 |
+
|
438 |
+
}
|
439 |
+
|
440 |
+
plugin.init();
|
441 |
+
|
442 |
+
}
|
443 |
+
|
444 |
+
$.fn.swipebox = function(options){
|
445 |
+
if (!$.data(this, "_swipebox")) {
|
446 |
+
var swipebox = new $.swipebox(this, options);
|
447 |
+
this.data('_swipebox', swipebox);
|
448 |
+
}
|
449 |
+
}
|
450 |
+
|
451 |
+
}(window, document, jQuery));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/swipebox/source/jquery.swipebox.min.js
CHANGED
@@ -7,4 +7,4 @@
|
|
7 |
@license MIT License
|
8 |
|
9 |
----------------------------------------------------------------------------------------------*/
|
10 |
-
;(function(e,t,n,r){n.swipebox=function(i,s){var o={useCSS:true,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"CCCCCC",beforeOpen:null,afterClose:null},u=this,a=[],i=i,f=i.selector,l=n(f),c=t.createTouch!==r||"ontouchstart"in e||"onmsgesturechange"in e||navigator.msMaxTouchPoints,h=!!e.SVGSVGElement,p=e.innerWidth?e.innerWidth:n(e).width(),d=e.innerHeight?e.innerHeight:n(e).height(),v='<div id="swipebox-overlay"> <div id="swipebox-slider"></div> <div id="swipebox-caption"></div> <div id="swipebox-action"> <a id="swipebox-close"></a> <a id="swipebox-prev"></a> <a id="swipebox-next"></a> </div> </div>';u.settings={};u.init=function(){u.settings=n.extend({},o,s);if(n.isArray(i)){a=i;m.target=n(e);m.init(0)}else{l.click(function(e){a=[];var t,r,i;if(!i){r="rel";i=n(this).attr(r)}if(i&&i!==""&&i!=="nofollow"){$elem=l.filter("["+r+'="'+i+'"]')}else{$elem=n(f)}$elem.each(function(){var e=null,t=null;if(n(this).attr("title"))e=n(this).attr("title");if(n(this).attr("href"))t=n(this).attr("href");a.push({href:t,title:e})});t=$elem.index(n(this));e.preventDefault();e.stopPropagation();m.target=n(e.target);m.init(t)})}};u.refresh=function(){if(!n.isArray(i)){m.destroy();$elem=n(f);m.actions()}};var m={init:function(e){if(u.settings.beforeOpen)u.settings.beforeOpen();this.target.trigger("swipebox-start");n.swipebox.isOpen=true;this.build();this.openSlide(e);this.openMedia(e);this.preloadMedia(e+1);this.preloadMedia(e-1)},build:function(){var e=this;n("body").append(v);if(e.doCssTrans()){n("#swipebox-slider").css({"-webkit-transition":"left 0.4s ease","-moz-transition":"left 0.4s ease","-o-transition":"left 0.4s ease","-khtml-transition":"left 0.4s ease",transition:"left 0.4s ease"});n("#swipebox-overlay").css({"-webkit-transition":"opacity 1s ease","-moz-transition":"opacity 1s ease","-o-transition":"opacity 1s ease","-khtml-transition":"opacity 1s ease",transition:"opacity 1s ease"});n("#swipebox-action, #swipebox-caption").css({"-webkit-transition":"0.5s","-moz-transition":"0.5s","-o-transition":"0.5s","-khtml-transition":"0.5s",transition:"0.5s"})}if(h){var t=n("#swipebox-action #swipebox-close").css("background-image");t=t.replace("png","svg");n("#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close").css({"background-image":t})}n.each(a,function(){n("#swipebox-slider").append('<div class="slide"></div>')});e.setDim();e.actions();e.keyboard();e.gesture();e.animBars();e.resize()},setDim:function(){var t,r,i={};if("onorientationchange"in e){e.addEventListener("orientationchange",function(){if(e.orientation==0){t=p;r=d}else if(e.orientation==90||e.orientation==-90){t=d;r=p}},false)}else{t=e.innerWidth?e.innerWidth:n(e).width();r=e.innerHeight?e.innerHeight:n(e).height()}i={width:t,height:r};n("#swipebox-overlay").css(i)},resize:function(){var t=this;n(e).resize(function(){t.setDim()}).resize()},supportTransition:function(){var e="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(var n=0;n<e.length;n++){if(t.createElement("div").style[e[n]]!==r){return e[n]}}return false},doCssTrans:function(){if(u.settings.useCSS&&this.supportTransition()){return true}},gesture:function(){if(c){var e=this,t=null,r=10,i={},s={};var o=n("#swipebox-caption, #swipebox-action");o.addClass("visible-bars");e.setTimeout();n("body").bind("touchstart",function(e){n(this).addClass("touching");s=e.originalEvent.targetTouches[0];i.pageX=e.originalEvent.targetTouches[0].pageX;n(".touching").bind("touchmove",function(e){e.preventDefault();e.stopPropagation();s=e.originalEvent.targetTouches[0]});return false}).bind("touchend",function(u){u.preventDefault();u.stopPropagation();t=s.pageX-i.pageX;if(t>=r){e.getPrev()}else if(t<=-r){e.getNext()}else{if(!o.hasClass("visible-bars")){e.showBars();e.setTimeout()}else{e.clearTimeout();e.hideBars()}}n(".touching").off("touchmove").removeClass("touching")})}},setTimeout:function(){if(u.settings.hideBarsDelay>0){var t=this;t.clearTimeout();t.timeout=e.setTimeout(function(){t.hideBars()},u.settings.hideBarsDelay)}},clearTimeout:function(){e.clearTimeout(this.timeout);this.timeout=null},showBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.addClass("visible-bars")}else{n("#swipebox-caption").animate({top:0},500);n("#swipebox-action").animate({bottom:0},500);setTimeout(function(){e.addClass("visible-bars")},1e3)}},hideBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.removeClass("visible-bars")}else{n("#swipebox-caption").animate({top:"-50px"},500);n("#swipebox-action").animate({bottom:"-50px"},500);setTimeout(function(){e.removeClass("visible-bars")},1e3)}},animBars:function(){var e=this;var t=n("#swipebox-caption, #swipebox-action");t.addClass("visible-bars");e.setTimeout();n("#swipebox-slider").click(function(n){if(!t.hasClass("visible-bars")){e.showBars();e.setTimeout()}});n("#swipebox-action").hover(function(){e.showBars();t.addClass("force-visible-bars");e.clearTimeout()},function(){t.removeClass("force-visible-bars");e.setTimeout()})},keyboard:function(){var t=this;n(e).bind("keyup",function(e){e.preventDefault();e.stopPropagation();if(e.keyCode==37){t.getPrev()}else if(e.keyCode==39){t.getNext()}else if(e.keyCode==27){t.closeSlide()}})},actions:function(){var e=this;if(a.length<2){n("#swipebox-prev, #swipebox-next").hide()}else{n("#swipebox-prev").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getPrev();e.setTimeout()});n("#swipebox-next").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getNext();e.setTimeout()})}n("#swipebox-close").bind("click touchend",function(t){e.closeSlide()})},setSlide:function(e,t){t=t||false;var r=n("#swipebox-slider");if(this.doCssTrans()){r.css({left:-e*100+"%"})}else{r.animate({left:-e*100+"%"})}n("#swipebox-slider .slide").removeClass("current");n("#swipebox-slider .slide").eq(e).addClass("current");this.setTitle(e);if(t){r.fadeIn()}n("#swipebox-prev, #swipebox-next").removeClass("disabled");if(e==0){n("#swipebox-prev").addClass("disabled")}else if(e==a.length-1){n("#swipebox-next").addClass("disabled")}},openSlide:function(t){n("html").addClass("swipebox");n(e).trigger("resize");this.setSlide(t,true)},preloadMedia:function(e){var t=this,n=null;if(a[e]!==r)n=a[e].href;if(!t.isVideo(n)){setTimeout(function(){t.openMedia(e)},1e3)}else{t.openMedia(e)}},openMedia:function(e){var t=this,i=null;if(a[e]!==r)i=a[e].href;if(e<0||e>=a.length){return false}if(!t.isVideo(i)){t.loadMedia(i,function(){n("#swipebox-slider .slide").eq(e).html(this)})}else{n("#swipebox-slider .slide").eq(e).html(t.getVideo(i))}},setTitle:function(e,t){var i=null;n("#swipebox-caption").empty();if(a[e]!==r)i=a[e].title;if(i){n("#swipebox-caption").append(i)}},isVideo:function(e){if(e){if(e.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)){return true}}},getVideo:function(e){var t="";var n="";var r=e.match(/watch\?v=([a-zA-Z0-9\-_]+)/);var i=e.match(/vimeo\.com\/([0-9]*)/);if(r){t='<iframe width="560" height="315" src="//www.youtube.com/embed/'+r[1]+'" frameborder="0" allowfullscreen></iframe>'}else if(i){t='<iframe width="560" height="315" src="http://player.vimeo.com/video/'+i[1]+"?byline=0&portrait=0&color="+u.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'}return'<div class="swipebox-video-container" style="max-width:'+u.settings.
|
7 |
@license MIT License
|
8 |
|
9 |
----------------------------------------------------------------------------------------------*/
|
10 |
+
;(function(e,t,n,r){n.swipebox=function(i,s){var o={useCSS:true,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"CCCCCC",beforeOpen:null,afterClose:null},u=this,a=[],i=i,f=i.selector,l=n(f),c=t.createTouch!==r||"ontouchstart"in e||"onmsgesturechange"in e||navigator.msMaxTouchPoints,h=!!e.SVGSVGElement,p=e.innerWidth?e.innerWidth:n(e).width(),d=e.innerHeight?e.innerHeight:n(e).height(),v='<div id="swipebox-overlay"> <div id="swipebox-slider"></div> <div id="swipebox-caption"></div> <div id="swipebox-action"> <a id="swipebox-close"></a> <a id="swipebox-prev"></a> <a id="swipebox-next"></a> </div> </div>';u.settings={};u.init=function(){u.settings=n.extend({},o,s);if(n.isArray(i)){a=i;m.target=n(e);m.init(0)}else{l.click(function(e){a=[];var t,r,i;if(!i){r="rel";i=n(this).attr(r)}if(i&&i!==""&&i!=="nofollow"){$elem=l.filter("["+r+'="'+i+'"]')}else{$elem=n(f)}$elem.each(function(){var e=null,t=null;if(n(this).attr("title"))e=n(this).attr("title");if(n(this).attr("href"))t=n(this).attr("href");a.push({href:t,title:e})});t=$elem.index(n(this));e.preventDefault();e.stopPropagation();m.target=n(e.target);m.init(t)})}};u.refresh=function(){if(!n.isArray(i)){m.destroy();$elem=n(f);m.actions()}};var m={init:function(e){if(u.settings.beforeOpen)u.settings.beforeOpen();this.target.trigger("swipebox-start");n.swipebox.isOpen=true;this.build();this.openSlide(e);this.openMedia(e);this.preloadMedia(e+1);this.preloadMedia(e-1)},build:function(){var e=this;n("body").append(v);if(e.doCssTrans()){n("#swipebox-slider").css({"-webkit-transition":"left 0.4s ease","-moz-transition":"left 0.4s ease","-o-transition":"left 0.4s ease","-khtml-transition":"left 0.4s ease",transition:"left 0.4s ease"});n("#swipebox-overlay").css({"-webkit-transition":"opacity 1s ease","-moz-transition":"opacity 1s ease","-o-transition":"opacity 1s ease","-khtml-transition":"opacity 1s ease",transition:"opacity 1s ease"});n("#swipebox-action, #swipebox-caption").css({"-webkit-transition":"0.5s","-moz-transition":"0.5s","-o-transition":"0.5s","-khtml-transition":"0.5s",transition:"0.5s"})}if(h){var t=n("#swipebox-action #swipebox-close").css("background-image");t=t.replace("png","svg");n("#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close").css({"background-image":t})}n.each(a,function(){n("#swipebox-slider").append('<div class="slide"></div>')});e.setDim();e.actions();e.keyboard();e.gesture();e.animBars();e.resize()},setDim:function(){var t,r,i={};if("onorientationchange"in e){e.addEventListener("orientationchange",function(){if(e.orientation==0){t=p;r=d}else if(e.orientation==90||e.orientation==-90){t=d;r=p}},false)}else{t=e.innerWidth?e.innerWidth:n(e).width();r=e.innerHeight?e.innerHeight:n(e).height()}i={width:t,height:r};n("#swipebox-overlay").css(i)},resize:function(){var t=this;n(e).resize(function(){t.setDim()}).resize()},supportTransition:function(){var e="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(var n=0;n<e.length;n++){if(t.createElement("div").style[e[n]]!==r){return e[n]}}return false},doCssTrans:function(){if(u.settings.useCSS&&this.supportTransition()){return true}},gesture:function(){if(c){var e=this,t=null,r=10,i={},s={};var o=n("#swipebox-caption, #swipebox-action");o.addClass("visible-bars");e.setTimeout();n("body").bind("touchstart",function(e){n(this).addClass("touching");s=e.originalEvent.targetTouches[0];i.pageX=e.originalEvent.targetTouches[0].pageX;n(".touching").bind("touchmove",function(e){e.preventDefault();e.stopPropagation();s=e.originalEvent.targetTouches[0]});return false}).bind("touchend",function(u){u.preventDefault();u.stopPropagation();t=s.pageX-i.pageX;if(t>=r){e.getPrev()}else if(t<=-r){e.getNext()}else{if(!o.hasClass("visible-bars")){e.showBars();e.setTimeout()}else{e.clearTimeout();e.hideBars()}}n(".touching").off("touchmove").removeClass("touching")})}},setTimeout:function(){if(u.settings.hideBarsDelay>0){var t=this;t.clearTimeout();t.timeout=e.setTimeout(function(){t.hideBars()},u.settings.hideBarsDelay)}},clearTimeout:function(){e.clearTimeout(this.timeout);this.timeout=null},showBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.addClass("visible-bars")}else{n("#swipebox-caption").animate({top:0},500);n("#swipebox-action").animate({bottom:0},500);setTimeout(function(){e.addClass("visible-bars")},1e3)}},hideBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.removeClass("visible-bars")}else{n("#swipebox-caption").animate({top:"-50px"},500);n("#swipebox-action").animate({bottom:"-50px"},500);setTimeout(function(){e.removeClass("visible-bars")},1e3)}},animBars:function(){var e=this;var t=n("#swipebox-caption, #swipebox-action");t.addClass("visible-bars");e.setTimeout();n("#swipebox-slider").click(function(n){if(!t.hasClass("visible-bars")){e.showBars();e.setTimeout()}});n("#swipebox-action").hover(function(){e.showBars();t.addClass("force-visible-bars");e.clearTimeout()},function(){t.removeClass("force-visible-bars");e.setTimeout()})},keyboard:function(){var t=this;n(e).bind("keyup",function(e){e.preventDefault();e.stopPropagation();if(e.keyCode==37){t.getPrev()}else if(e.keyCode==39){t.getNext()}else if(e.keyCode==27){t.closeSlide()}})},actions:function(){var e=this;if(a.length<2){n("#swipebox-prev, #swipebox-next").hide()}else{n("#swipebox-prev").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getPrev();e.setTimeout()});n("#swipebox-next").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getNext();e.setTimeout()})}n("#swipebox-close").bind("click touchend",function(t){e.closeSlide()})},setSlide:function(e,t){t=t||false;var r=n("#swipebox-slider");if(this.doCssTrans()){r.css({left:-e*100+"%"})}else{r.animate({left:-e*100+"%"})}n("#swipebox-slider .slide").removeClass("current");n("#swipebox-slider .slide").eq(e).addClass("current");this.setTitle(e);if(t){r.fadeIn()}n("#swipebox-prev, #swipebox-next").removeClass("disabled");if(e==0){n("#swipebox-prev").addClass("disabled")}else if(e==a.length-1){n("#swipebox-next").addClass("disabled")}},openSlide:function(t){n("html").addClass("swipebox");n(e).trigger("resize");this.setSlide(t,true)},preloadMedia:function(e){var t=this,n=null;if(a[e]!==r)n=a[e].href;if(!t.isVideo(n)){setTimeout(function(){t.openMedia(e)},1e3)}else{t.openMedia(e)}},openMedia:function(e){var t=this,i=null;if(a[e]!==r)i=a[e].href;if(e<0||e>=a.length){return false}if(!t.isVideo(i)){t.loadMedia(i,function(){n("#swipebox-slider .slide").eq(e).html(this)})}else{n("#swipebox-slider .slide").eq(e).html(t.getVideo(i))}},setTitle:function(e,t){var i=null;n("#swipebox-caption").empty();if(a[e]!==r)i=a[e].title;if(i){n("#swipebox-caption").append(i)}},isVideo:function(e){if(e){if(e.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)){return true}}},getVideo:function(e){var t="";var n="";var r=e.match(/watch\?v=([a-zA-Z0-9\-_]+)/);var i=e.match(/vimeo\.com\/([0-9]*)/);if(r){t='<iframe width="560" height="315" src="//www.youtube.com/embed/'+r[1]+'" frameborder="0" allowfullscreen></iframe>'}else if(i){t='<iframe width="560" height="315" src="http://player.vimeo.com/video/'+i[1]+"?byline=0&portrait=0&color="+u.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'}return'<div class="swipebox-video-container" style="max-width:'+u.settings.videoMaxWidth+'px"><div class="swipebox-video">'+t+"</div></div>"},loadMedia:function(e,t){if(!this.isVideo(e)){var r=n("<img>").on("load",function(){t.call(r)});r.attr("src",e)}},getNext:function(){var e=this;index=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));if(index+1<a.length){index++;e.setSlide(index);e.preloadMedia(index+1)}else{n("#swipebox-slider").addClass("rightSpring");setTimeout(function(){n("#swipebox-slider").removeClass("rightSpring")},500)}},getPrev:function(){index=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));if(index>0){index--;this.setSlide(index);this.preloadMedia(index-1)}else{n("#swipebox-slider").addClass("leftSpring");setTimeout(function(){n("#swipebox-slider").removeClass("leftSpring")},500)}},closeSlide:function(){n("html").removeClass("swipebox");n(e).trigger("resize");this.destroy()},destroy:function(){n(e).unbind("keyup");n("body").unbind("touchstart");n("body").unbind("touchmove");n("body").unbind("touchend");n("#swipebox-slider").unbind();n("#swipebox-overlay").remove();if(!n.isArray(i))i.removeData("_swipebox");if(this.target)this.target.trigger("swipebox-destroy");n.swipebox.isOpen=false;if(u.settings.afterClose)u.settings.afterClose()}};u.init()};n.fn.swipebox=function(e){if(!n.data(this,"_swipebox")){var t=new n.swipebox(this,e);this.data("_swipebox",t)}return this.data("_swipebox")}})(window,document,jQuery);
|
assets/swipebox/source/swipebox.css
CHANGED
@@ -63,7 +63,7 @@ html.swipebox {
|
|
63 |
max-width: 1140px;
|
64 |
max-height: 100%;
|
65 |
width: 100%;
|
66 |
-
padding:
|
67 |
box-sizing: border-box;
|
68 |
-webkit-box-sizing: border-box;
|
69 |
-moz-box-sizing: border-box;
|
@@ -259,6 +259,4 @@ html.swipebox {
|
|
259 |
font-size: 15px;
|
260 |
line-height: 43px;
|
261 |
font-family: Helvetica, Arial, sans-serif;
|
262 |
-
}
|
263 |
-
|
264 |
-
|
63 |
max-width: 1140px;
|
64 |
max-height: 100%;
|
65 |
width: 100%;
|
66 |
+
padding: 0;
|
67 |
box-sizing: border-box;
|
68 |
-webkit-box-sizing: border-box;
|
69 |
-moz-box-sizing: border-box;
|
259 |
font-size: 15px;
|
260 |
line-height: 43px;
|
261 |
font-family: Helvetica, Arial, sans-serif;
|
262 |
+
}
|
|
|
|
js/admin.js
CHANGED
@@ -63,19 +63,19 @@ jQuery(document).ready(function($) {
|
|
63 |
}
|
64 |
});
|
65 |
|
66 |
-
$(document).on('change', '#rl-slideshow-yes, #rl-slideshow-no', function(event) {
|
67 |
-
if($('#rl-slideshow-yes:checked').val() === 'yes') {
|
68 |
$('#rl_pp_slideshow_delay').fadeIn(300);
|
69 |
-
} else if($('#rl-slideshow-no:checked').val() === 'no') {
|
70 |
$('#rl_pp_slideshow_delay').fadeOut(300);
|
71 |
}
|
72 |
});
|
73 |
|
74 |
-
$(document).on('change', '#rl-hide-bars-yes, #rl-hide-bars-no', function(event) {
|
75 |
-
if($('#rl-hide-bars-yes:checked').val() === 'yes') {
|
76 |
-
$('#
|
77 |
-
} else if($('#rl-hide-bars-no:checked').val() === 'no') {
|
78 |
-
$('#
|
79 |
}
|
80 |
});
|
81 |
|
63 |
}
|
64 |
});
|
65 |
|
66 |
+
$(document).on('change', '#rl-pp-slideshow-yes, #rl-pp-slideshow-no', function(event) {
|
67 |
+
if($('#rl-pp-slideshow-yes:checked').val() === 'yes') {
|
68 |
$('#rl_pp_slideshow_delay').fadeIn(300);
|
69 |
+
} else if($('#rl-pp-slideshow-no:checked').val() === 'no') {
|
70 |
$('#rl_pp_slideshow_delay').fadeOut(300);
|
71 |
}
|
72 |
});
|
73 |
|
74 |
+
$(document).on('change', '#rl-sb-hide-bars-yes, #rl-sb-hide-bars-no', function(event) {
|
75 |
+
if($('#rl-sb-hide-bars-yes:checked').val() === 'yes') {
|
76 |
+
$('#rl_sb_hide_bars_delay').fadeIn(300);
|
77 |
+
} else if($('#rl-sb-hide-bars-no:checked').val() === 'no') {
|
78 |
+
$('#rl_sb_hide_bars_delay').fadeOut(300);
|
79 |
}
|
80 |
});
|
81 |
|
js/front.js
CHANGED
@@ -3,7 +3,7 @@ jQuery(document).ready(function($) {
|
|
3 |
$(document).on('ready ajaxComplete', function() {
|
4 |
if(rlArgs.script === 'swipebox') {
|
5 |
$('a[rel*="'+rlArgs.selector+'"]').swipebox({
|
6 |
-
useCSS: rlArgs.animation,
|
7 |
hideBarsDelay: (rlArgs.hideBars === '1' ? parseInt(rlArgs.hideBarsDelay) : 0),
|
8 |
videoMaxWidth: parseInt(rlArgs.videoMaxWidth)
|
9 |
});
|
3 |
$(document).on('ready ajaxComplete', function() {
|
4 |
if(rlArgs.script === 'swipebox') {
|
5 |
$('a[rel*="'+rlArgs.selector+'"]').swipebox({
|
6 |
+
useCSS: (rlArgs.animation === '1' ? true : false),
|
7 |
hideBarsDelay: (rlArgs.hideBars === '1' ? parseInt(rlArgs.hideBarsDelay) : 0),
|
8 |
videoMaxWidth: parseInt(rlArgs.videoMaxWidth)
|
9 |
});
|
languages/responsive-lightbox-pl_PL.mo
CHANGED
Binary file
|
languages/responsive-lightbox-pl_PL.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Responsive Lightbox\n"
|
4 |
-
"POT-Creation-Date: 2013-10-
|
5 |
-
"PO-Revision-Date: 2013-10-
|
6 |
"Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
|
7 |
"Language-Team: dFactory <info@dfactory.eu>\n"
|
8 |
"Language: Polski\n"
|
@@ -15,377 +15,381 @@ msgstr ""
|
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#: ../responsive-lightbox.php:
|
19 |
msgid "prettyPhoto"
|
20 |
msgstr "prettyPhoto"
|
21 |
|
22 |
-
#: ../responsive-lightbox.php:
|
23 |
msgid "slow"
|
24 |
msgstr "wolno"
|
25 |
|
26 |
-
#: ../responsive-lightbox.php:
|
27 |
msgid "normal"
|
28 |
msgstr "normalnie"
|
29 |
|
30 |
-
#: ../responsive-lightbox.php:
|
31 |
msgid "fast"
|
32 |
msgstr "szybko"
|
33 |
|
34 |
-
#: ../responsive-lightbox.php:
|
35 |
msgid "default"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../responsive-lightbox.php:
|
39 |
msgid "light rounded"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: ../responsive-lightbox.php:
|
43 |
msgid "dark rounded"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../responsive-lightbox.php:
|
47 |
msgid "light square"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: ../responsive-lightbox.php:
|
51 |
msgid "dark square"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: ../responsive-lightbox.php:
|
55 |
msgid "facebook"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: ../responsive-lightbox.php:
|
59 |
msgid "window"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: ../responsive-lightbox.php:
|
63 |
msgid "transparent"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: ../responsive-lightbox.php:
|
67 |
msgid "opaque"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../responsive-lightbox.php:
|
71 |
msgid "direct"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../responsive-lightbox.php:
|
75 |
msgid "gpu"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../responsive-lightbox.php:
|
79 |
msgid "SwipeBox"
|
80 |
msgstr "SwipeBox"
|
81 |
|
82 |
-
#: ../responsive-lightbox.php:
|
83 |
msgid "CSS"
|
84 |
msgstr "CSS"
|
85 |
|
86 |
-
#: ../responsive-lightbox.php:
|
87 |
msgid "jQuery"
|
88 |
msgstr "jQuery"
|
89 |
|
90 |
-
#: ../responsive-lightbox.php:
|
91 |
msgid "FancyBox"
|
92 |
msgstr "FancyBox"
|
93 |
|
94 |
-
#: ../responsive-lightbox.php:
|
95 |
msgid "elastic"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: ../responsive-lightbox.php:
|
99 |
msgid "fade"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: ../responsive-lightbox.php:
|
103 |
msgid "none"
|
104 |
msgstr "brak"
|
105 |
|
106 |
-
#: ../responsive-lightbox.php:
|
107 |
msgid "auto"
|
108 |
msgstr "automatycznie"
|
109 |
|
110 |
-
#: ../responsive-lightbox.php:
|
111 |
msgid "yes"
|
112 |
msgstr "tak"
|
113 |
|
114 |
-
#: ../responsive-lightbox.php:
|
115 |
msgid "no"
|
116 |
msgstr "nie"
|
117 |
|
118 |
-
#: ../responsive-lightbox.php:
|
119 |
msgid "swing"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: ../responsive-lightbox.php:
|
123 |
msgid "linear"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: ../responsive-lightbox.php:
|
127 |
msgid "outside"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: ../responsive-lightbox.php:
|
131 |
msgid "inside"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: ../responsive-lightbox.php:
|
135 |
msgid "over"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: ../responsive-lightbox.php:
|
139 |
msgid "Enable"
|
140 |
msgstr "Włącz"
|
141 |
|
142 |
-
#: ../responsive-lightbox.php:
|
143 |
msgid "Disable"
|
144 |
msgstr "Wyłącz"
|
145 |
|
146 |
-
#: ../responsive-lightbox.php:
|
147 |
msgid "General settings"
|
148 |
msgstr "Ustawienia ogólne"
|
149 |
|
150 |
-
#: ../responsive-lightbox.php:
|
151 |
msgid "Lightbox settings"
|
152 |
msgstr "Ustawienia lightbox"
|
153 |
|
154 |
-
#: ../responsive-lightbox.php:
|
155 |
msgid "Lightbox script"
|
156 |
msgstr "Skrypt lightbox"
|
157 |
|
158 |
-
#: ../responsive-lightbox.php:
|
159 |
msgid "Selector"
|
160 |
msgstr "Znacznik"
|
161 |
|
162 |
-
#: ../responsive-lightbox.php:
|
163 |
msgid "Galleries"
|
164 |
msgstr "Galerie"
|
165 |
|
166 |
-
#: ../responsive-lightbox.php:
|
167 |
msgid "Video links"
|
168 |
msgstr "Linki video"
|
169 |
|
170 |
-
#: ../responsive-lightbox.php:
|
171 |
msgid "Image links"
|
172 |
msgstr "Linki obrazków"
|
173 |
|
174 |
-
#: ../responsive-lightbox.php:
|
175 |
msgid "Single images as gallery"
|
176 |
msgstr "Galeria pojedynczych obrazków"
|
177 |
|
178 |
-
#: ../responsive-lightbox.php:
|
179 |
msgid "Deactivation"
|
180 |
msgstr "Deaktywacja"
|
181 |
|
182 |
-
#: ../responsive-lightbox.php:
|
183 |
msgid "Animation type"
|
184 |
msgstr "Typ animacji"
|
185 |
|
186 |
-
#: ../responsive-lightbox.php:
|
|
|
|
|
|
|
|
|
187 |
msgid "Top and bottom bars"
|
188 |
msgstr "Górne i dolne paski"
|
189 |
|
190 |
-
#: ../responsive-lightbox.php:
|
191 |
msgid "Video max width"
|
192 |
msgstr "Maksymalna szerokość video"
|
193 |
|
194 |
-
#: ../responsive-lightbox.php:
|
195 |
msgid "Animation speed"
|
196 |
msgstr "Szybkość animacji"
|
197 |
|
198 |
-
#: ../responsive-lightbox.php:
|
199 |
msgid "Slideshow"
|
200 |
msgstr "Pokaz slidów"
|
201 |
|
202 |
-
#: ../responsive-lightbox.php:
|
203 |
msgid "Slideshow autoplay"
|
204 |
msgstr "Automatyczne odtwarzanie pokazu slajdów"
|
205 |
|
206 |
-
#: ../responsive-lightbox.php:
|
207 |
msgid "Opacity"
|
208 |
msgstr "Przezroczystość"
|
209 |
|
210 |
-
#: ../responsive-lightbox.php:
|
211 |
msgid "Show title"
|
212 |
msgstr "Wyświetlanie tytułu"
|
213 |
|
214 |
-
#: ../responsive-lightbox.php:
|
215 |
msgid "Allow resize big images"
|
216 |
msgstr "Powiększanie dużych zdjęć"
|
217 |
|
218 |
-
#: ../responsive-lightbox.php:
|
219 |
msgid "Video width"
|
220 |
msgstr "Szerokość video"
|
221 |
|
222 |
-
#: ../responsive-lightbox.php:
|
223 |
msgid "Video height"
|
224 |
msgstr "Wysokość video"
|
225 |
|
226 |
-
#: ../responsive-lightbox.php:
|
227 |
msgid "Theme"
|
228 |
msgstr "Motyw"
|
229 |
|
230 |
-
#: ../responsive-lightbox.php:
|
231 |
msgid "Horizontal padding"
|
232 |
msgstr "Odstępy w poziomie"
|
233 |
|
234 |
-
#: ../responsive-lightbox.php:
|
235 |
msgid "Hide Flash"
|
236 |
msgstr "Ukrywanie flash"
|
237 |
|
238 |
-
#: ../responsive-lightbox.php:
|
239 |
msgid "Flash Window Mode (wmode)"
|
240 |
msgstr "Tryb okna flash (wmode)"
|
241 |
|
242 |
-
#: ../responsive-lightbox.php:
|
243 |
msgid "Video autoplay"
|
244 |
msgstr "Automatyczne odtwarzanie wideo"
|
245 |
|
246 |
-
#: ../responsive-lightbox.php:
|
247 |
msgid "Modal"
|
248 |
msgstr "Tryb modal"
|
249 |
|
250 |
-
#: ../responsive-lightbox.php:
|
251 |
msgid "Deeplinking"
|
252 |
msgstr "Głębokie linki"
|
253 |
|
254 |
-
#: ../responsive-lightbox.php:
|
255 |
msgid "Overlay gallery"
|
256 |
msgstr "Efekt overlay galerii"
|
257 |
|
258 |
-
#: ../responsive-lightbox.php:
|
259 |
msgid "Keyboard shortcuts"
|
260 |
msgstr "Skróty klawiaturowe"
|
261 |
|
262 |
-
#: ../responsive-lightbox.php:
|
263 |
msgid "Social (Twitter, Facebook)"
|
264 |
msgstr "Linki społeczności (Twitter, Facebook)"
|
265 |
|
266 |
-
#: ../responsive-lightbox.php:
|
267 |
msgid "Show overlay"
|
268 |
msgstr "Wyświetlanie tła"
|
269 |
|
270 |
-
#: ../responsive-lightbox.php:
|
271 |
msgid "Show close button"
|
272 |
msgstr "Wyświetlanie przycisku Zamknij"
|
273 |
|
274 |
-
#: ../responsive-lightbox.php:
|
275 |
msgid "Enable escape button"
|
276 |
msgstr "Wyświetlanie przycisku Wyjdź"
|
277 |
|
278 |
-
#: ../responsive-lightbox.php:
|
279 |
msgid "Hide on overlay click"
|
280 |
msgstr "Ukryj po kliknięciu w tło"
|
281 |
|
282 |
-
#: ../responsive-lightbox.php:
|
283 |
msgid "Hide on content click"
|
284 |
msgstr "Ukryj po kliknięciu w treść"
|
285 |
|
286 |
-
#: ../responsive-lightbox.php:
|
287 |
msgid "Cyclic"
|
288 |
msgstr "Cykliczność"
|
289 |
|
290 |
-
#: ../responsive-lightbox.php:
|
291 |
msgid "Show nav arrows"
|
292 |
msgstr "Wyświetlanie strzałek"
|
293 |
|
294 |
-
#: ../responsive-lightbox.php:
|
295 |
msgid "Auto scale"
|
296 |
msgstr "Automatyczne skalowanie"
|
297 |
|
298 |
-
#: ../responsive-lightbox.php:
|
299 |
msgid "Scrolling (in/out)"
|
300 |
msgstr "Przewijanie"
|
301 |
|
302 |
-
#: ../responsive-lightbox.php:
|
303 |
msgid "Center on scroll"
|
304 |
msgstr "Centrowanie przy przewijaniu"
|
305 |
|
306 |
-
#: ../responsive-lightbox.php:
|
307 |
msgid "Overlay opacity"
|
308 |
msgstr "Przezroczystość tła"
|
309 |
|
310 |
-
#: ../responsive-lightbox.php:
|
311 |
msgid "Overlay color"
|
312 |
msgstr "Kolor tła"
|
313 |
|
314 |
-
#: ../responsive-lightbox.php:
|
315 |
msgid "Title show"
|
316 |
msgstr "Wyświetlanie tytułu"
|
317 |
|
318 |
-
#: ../responsive-lightbox.php:
|
319 |
msgid "Title position"
|
320 |
msgstr "Pozycja tytułu"
|
321 |
|
322 |
-
#: ../responsive-lightbox.php:
|
323 |
msgid "Transition (in/out)"
|
324 |
msgstr "Efekty przejścia"
|
325 |
|
326 |
-
#: ../responsive-lightbox.php:
|
327 |
msgid "Easings (in/out)"
|
328 |
msgstr "Wygładzanie animacji"
|
329 |
|
330 |
-
#: ../responsive-lightbox.php:
|
331 |
msgid "Speed (in/out)"
|
332 |
msgstr "Szybkość"
|
333 |
|
334 |
-
#: ../responsive-lightbox.php:
|
335 |
msgid "Change speed"
|
336 |
msgstr "Zmień szybkość"
|
337 |
|
338 |
-
#: ../responsive-lightbox.php:
|
339 |
msgid "Change fade"
|
340 |
msgstr "Zmień zanikanie"
|
341 |
|
342 |
-
#: ../responsive-lightbox.php:
|
343 |
msgid "Padding"
|
344 |
msgstr "Odstęp (padding)"
|
345 |
|
346 |
-
#: ../responsive-lightbox.php:
|
347 |
msgid "Margin"
|
348 |
msgstr "Margines (margin)"
|
349 |
|
350 |
-
#: ../responsive-lightbox.php:
|
351 |
msgid "Select your preffered ligthbox effect script."
|
352 |
msgstr "Wybierz preferowany efekt lightbox."
|
353 |
|
354 |
-
#: ../responsive-lightbox.php:
|
355 |
msgid "Select to which rel selector lightbox effect will be applied to."
|
356 |
msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
|
357 |
|
358 |
-
#: ../responsive-lightbox.php:
|
359 |
msgid "Add lightbox to WordPress image galleries by default."
|
360 |
msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
|
361 |
|
362 |
-
#: ../responsive-lightbox.php:
|
363 |
msgid "Add lightbox to YouTube and Vimeo video links by default."
|
364 |
msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
|
365 |
|
366 |
-
#: ../responsive-lightbox.php:
|
367 |
msgid "Add lightbox to WordPress image links by default."
|
368 |
msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
|
369 |
|
370 |
-
#: ../responsive-lightbox.php:
|
371 |
msgid "Display single post images as a gallery."
|
372 |
msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
|
373 |
|
374 |
-
#: ../responsive-lightbox.php:
|
375 |
msgid "Delete settings on plugin deactivation."
|
376 |
msgstr "Usuń ustawienia przy deaktywacji wtyczki."
|
377 |
|
378 |
-
#: ../responsive-lightbox.php:
|
379 |
msgid "Select a method of applying a lightbox effect."
|
380 |
msgstr "Wybierz sposób dodawania efekty lightbox."
|
381 |
|
382 |
-
#: ../responsive-lightbox.php:
|
383 |
msgid ""
|
384 |
"Disable if you don't want to top and bottom bars to be hidden after a period "
|
385 |
"of time."
|
386 |
msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
|
387 |
|
388 |
-
#: ../responsive-lightbox.php:
|
389 |
msgid ""
|
390 |
"Enter the time after which the top and bottom bars will be hidden (when "
|
391 |
"hiding is enabled)."
|
@@ -393,51 +397,57 @@ msgstr ""
|
|
393 |
"Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
|
394 |
"jest włączona)."
|
395 |
|
396 |
-
#: ../responsive-lightbox.php:
|
397 |
msgid "Enter the max video width in a lightbox."
|
398 |
msgstr "Podaj maksymalną szerokość video."
|
399 |
|
400 |
-
#: ../responsive-lightbox.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
msgid "Select animation speed for lightbox effect."
|
402 |
msgstr "Wybierz szybkość animacji efektu lightbox."
|
403 |
|
404 |
-
#: ../responsive-lightbox.php:
|
405 |
msgid "Display images as slideshow."
|
406 |
msgstr "Wyświetl obrazki jako pokaz sladów ."
|
407 |
|
408 |
-
#: ../responsive-lightbox.php:
|
409 |
msgid "Enter time (in miliseconds)."
|
410 |
msgstr "Podaj czas (w milisekundach)."
|
411 |
|
412 |
-
#: ../responsive-lightbox.php:
|
413 |
msgid "Automatically start slideshow."
|
414 |
msgstr "Automatyczne rozpoczynanie pokazu slajdów."
|
415 |
|
416 |
-
#: ../responsive-lightbox.php:
|
417 |
msgid "Value between 0 and 100, 100 for no opacity."
|
418 |
msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
|
419 |
|
420 |
-
#: ../responsive-lightbox.php:
|
421 |
msgid "Display image tiltle."
|
422 |
msgstr "Wyświetlanie tytułu obrazka."
|
423 |
|
424 |
-
#: ../responsive-lightbox.php:
|
425 |
msgid "Resize the photos bigger than viewport."
|
426 |
msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
|
427 |
|
428 |
-
#: ../responsive-lightbox.php:
|
429 |
msgid "in pixels"
|
430 |
msgstr "w pikselach"
|
431 |
|
432 |
-
#: ../responsive-lightbox.php:
|
433 |
msgid "Select theme for lightbox effect."
|
434 |
msgstr "Wybierz motyw dla efektu lightbox."
|
435 |
|
436 |
-
#: ../responsive-lightbox.php:
|
437 |
msgid "Horizontal padding (in pixels)."
|
438 |
msgstr "Odstępy w poziomie (w pikselach)."
|
439 |
|
440 |
-
#: ../responsive-lightbox.php:
|
441 |
msgid ""
|
442 |
"Hides all the flash object on a page. Enable this if flash appears over "
|
443 |
"prettyPhoto."
|
@@ -445,50 +455,50 @@ msgstr ""
|
|
445 |
"Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
|
446 |
"wyświetlane są nad lightboxem."
|
447 |
|
448 |
-
#: ../responsive-lightbox.php:
|
449 |
msgid "Select flash window mode."
|
450 |
msgstr "Wybierz tryb okna flash."
|
451 |
|
452 |
-
#: ../responsive-lightbox.php:
|
453 |
msgid "Automatically start videos."
|
454 |
msgstr "Automatycznie rozpoczynaj video."
|
455 |
|
456 |
-
#: ../responsive-lightbox.php:
|
457 |
msgid "If set to true, only the close button will close the window."
|
458 |
msgstr ""
|
459 |
"Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
|
460 |
|
461 |
-
#: ../responsive-lightbox.php:
|
462 |
msgid "Allow prettyPhoto to update the url to enable deeplinking."
|
463 |
msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
|
464 |
|
465 |
-
#: ../responsive-lightbox.php:
|
466 |
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
|
467 |
msgstr ""
|
468 |
"Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
|
469 |
"najechaniu myszką."
|
470 |
|
471 |
-
#: ../responsive-lightbox.php:
|
472 |
msgid "Set to false if you open forms inside prettyPhoto."
|
473 |
msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
|
474 |
|
475 |
-
#: ../responsive-lightbox.php:
|
476 |
msgid "Display links to Facebook and Twitter."
|
477 |
msgstr "Wyświetl linki do Facebboka i Twittera."
|
478 |
|
479 |
-
#: ../responsive-lightbox.php:
|
480 |
msgid "The transition type."
|
481 |
msgstr "Typ animacji."
|
482 |
|
483 |
-
#: ../responsive-lightbox.php:
|
484 |
msgid "Space between FancyBox wrapper and content."
|
485 |
msgstr "Przestrzeń między FancyBox a treścią"
|
486 |
|
487 |
-
#: ../responsive-lightbox.php:
|
488 |
msgid "Space between viewport and FancyBox wrapper."
|
489 |
msgstr "Przestrzeń między ekranem a Fancybox"
|
490 |
|
491 |
-
#: ../responsive-lightbox.php:
|
492 |
msgid ""
|
493 |
"When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
|
494 |
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
|
@@ -498,99 +508,99 @@ msgstr ""
|
|
498 |
"TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
|
499 |
"\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
|
500 |
|
501 |
-
#: ../responsive-lightbox.php:
|
502 |
msgid "Toggle overlay."
|
503 |
msgstr "Włącz tło."
|
504 |
|
505 |
-
#: ../responsive-lightbox.php:
|
506 |
msgid "Toggle close button."
|
507 |
msgstr "Włącz przycisk Zamknij."
|
508 |
|
509 |
-
#: ../responsive-lightbox.php:
|
510 |
msgid "Toggle if pressing Esc button closes FancyBox."
|
511 |
msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
|
512 |
|
513 |
-
#: ../responsive-lightbox.php:
|
514 |
msgid "Toggle if clicking the overlay should close FancyBox."
|
515 |
msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
|
516 |
|
517 |
-
#: ../responsive-lightbox.php:
|
518 |
msgid "Toggle if clicking the content should close FancyBox."
|
519 |
msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
|
520 |
|
521 |
-
#: ../responsive-lightbox.php:
|
522 |
msgid ""
|
523 |
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
|
524 |
msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
|
525 |
|
526 |
-
#: ../responsive-lightbox.php:
|
527 |
msgid "Toggle navigation arrows."
|
528 |
msgstr "Włącz strzałki nawigacyjne."
|
529 |
|
530 |
-
#: ../responsive-lightbox.php:
|
531 |
msgid "If true, FancyBox is scaled to fit in viewport."
|
532 |
msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
|
533 |
|
534 |
-
#: ../responsive-lightbox.php:
|
535 |
msgid "Set the overflow CSS property to create or hide scrollbars."
|
536 |
msgstr ""
|
537 |
"Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
|
538 |
|
539 |
-
#: ../responsive-lightbox.php:
|
540 |
msgid "When true, FancyBox is centered while scrolling page."
|
541 |
msgstr ""
|
542 |
"Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
|
543 |
"strony."
|
544 |
|
545 |
-
#: ../responsive-lightbox.php:
|
546 |
msgid "When true, transparency of content is changed for elastic transitions."
|
547 |
msgstr ""
|
548 |
"Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
|
549 |
"animacji."
|
550 |
|
551 |
-
#: ../responsive-lightbox.php:
|
552 |
msgid "Opacity of the overlay."
|
553 |
msgstr "Przezroczystość tła."
|
554 |
|
555 |
-
#: ../responsive-lightbox.php:
|
556 |
msgid "Color of the overlay."
|
557 |
msgstr "Kolor tła."
|
558 |
|
559 |
-
#: ../responsive-lightbox.php:
|
560 |
msgid "Toggle title."
|
561 |
msgstr "Wyświetlanie tytułu."
|
562 |
|
563 |
-
#: ../responsive-lightbox.php:
|
564 |
msgid "The position of title."
|
565 |
msgstr "Pozycja tytułu."
|
566 |
|
567 |
-
#: ../responsive-lightbox.php:
|
568 |
msgid "Easing used for elastic animations."
|
569 |
msgstr "Wygładzanie animacji dla trybu elastic."
|
570 |
|
571 |
-
#: ../responsive-lightbox.php:
|
572 |
msgid "Speed of the fade and elastic transitions, in milliseconds."
|
573 |
msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
|
574 |
|
575 |
-
#: ../responsive-lightbox.php:
|
576 |
msgid "Speed of resizing when changing gallery items, in milliseconds."
|
577 |
msgstr ""
|
578 |
"Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
|
579 |
"milisekundach)."
|
580 |
|
581 |
-
#: ../responsive-lightbox.php:
|
582 |
msgid "Speed of the content fading while changing gallery items."
|
583 |
msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
|
584 |
|
585 |
-
#: ../responsive-lightbox.php:
|
586 |
msgid "Width of the video."
|
587 |
msgstr "Szerokość video."
|
588 |
|
589 |
-
#: ../responsive-lightbox.php:
|
590 |
msgid "Height of the video."
|
591 |
msgstr "Wysokość video."
|
592 |
|
593 |
-
#: ../responsive-lightbox.php:
|
594 |
msgid ""
|
595 |
"Changes were not saved because there was attempt to save settings of "
|
596 |
"inactive script. The site has been reloaded to the proper script settings."
|
@@ -598,19 +608,19 @@ msgstr ""
|
|
598 |
"Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
|
599 |
"nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
|
600 |
|
601 |
-
#: ../responsive-lightbox.php:
|
602 |
msgid "Settings of SwipeBox script were restored to defaults."
|
603 |
msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
|
604 |
|
605 |
-
#: ../responsive-lightbox.php:
|
606 |
msgid "Settings of prettyPhoto script were restored to defaults."
|
607 |
msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
|
608 |
|
609 |
-
#: ../responsive-lightbox.php:
|
610 |
msgid "Settings of FancyBox script were restored to defaults."
|
611 |
msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
|
612 |
|
613 |
-
#: ../responsive-lightbox.php:
|
614 |
msgid ""
|
615 |
"Changes were not set to defaults because there was attempt to reset settings "
|
616 |
"of inactive script. The site has been reloaded to the proper script settings."
|
@@ -619,64 +629,64 @@ msgstr ""
|
|
619 |
"resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
|
620 |
"prawidłowymi ustawieniami."
|
621 |
|
622 |
-
#: ../responsive-lightbox.php:
|
623 |
-
#: ../responsive-lightbox.php:
|
624 |
msgid "Responsive Lightbox"
|
625 |
msgstr "Efekt Lightbox"
|
626 |
|
627 |
-
#: ../responsive-lightbox.php:
|
628 |
msgid "Reset to defaults"
|
629 |
msgstr "Resetuj do domyślnych"
|
630 |
|
631 |
-
#: ../responsive-lightbox.php:
|
632 |
msgid "Need support?"
|
633 |
msgstr "Potrzebujesz pomocy?"
|
634 |
|
635 |
-
#: ../responsive-lightbox.php:
|
636 |
msgid ""
|
637 |
"If you are having problems with this plugin, please talk about them in the"
|
638 |
msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
|
639 |
|
640 |
-
#: ../responsive-lightbox.php:
|
641 |
msgid "Support forum"
|
642 |
msgstr "Forum pomocy"
|
643 |
|
644 |
-
#: ../responsive-lightbox.php:
|
645 |
msgid "Do you like this plugin?"
|
646 |
msgstr "Lubisz tę wtyczkę?"
|
647 |
|
648 |
-
#: ../responsive-lightbox.php:
|
649 |
msgid "Rate it 5"
|
650 |
msgstr "Oceń ją na 5"
|
651 |
|
652 |
-
#: ../responsive-lightbox.php:
|
653 |
msgid "on WordPress.org"
|
654 |
msgstr "na WordPress.org"
|
655 |
|
656 |
-
#: ../responsive-lightbox.php:
|
657 |
msgid "Blog about it & link to the"
|
658 |
msgstr "Napisz o niej i dodaj link"
|
659 |
|
660 |
-
#: ../responsive-lightbox.php:
|
661 |
msgid "plugin page"
|
662 |
msgstr "do strony wtyczki"
|
663 |
|
664 |
-
#: ../responsive-lightbox.php:
|
665 |
msgid "Check out our other"
|
666 |
msgstr "Sprawdź nasze pozostałe"
|
667 |
|
668 |
-
#: ../responsive-lightbox.php:
|
669 |
msgid "WordPress plugins"
|
670 |
msgstr "wtyczki do WordPress'a"
|
671 |
|
672 |
-
#: ../responsive-lightbox.php:
|
673 |
msgid "Are you sure you want to reset scripts settings to defaults?"
|
674 |
msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
|
675 |
|
676 |
-
#: ../responsive-lightbox.php:
|
677 |
msgid "Support"
|
678 |
msgstr "Pomoc"
|
679 |
|
680 |
-
#: ../responsive-lightbox.php:
|
681 |
msgid "Settings"
|
682 |
msgstr "Ustawienia"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Responsive Lightbox\n"
|
4 |
+
"POT-Creation-Date: 2013-10-15 11:32+0100\n"
|
5 |
+
"PO-Revision-Date: 2013-10-15 11:33+0100\n"
|
6 |
"Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
|
7 |
"Language-Team: dFactory <info@dfactory.eu>\n"
|
8 |
"Language: Polski\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../responsive-lightbox.php:267
|
19 |
msgid "prettyPhoto"
|
20 |
msgstr "prettyPhoto"
|
21 |
|
22 |
+
#: ../responsive-lightbox.php:269
|
23 |
msgid "slow"
|
24 |
msgstr "wolno"
|
25 |
|
26 |
+
#: ../responsive-lightbox.php:270
|
27 |
msgid "normal"
|
28 |
msgstr "normalnie"
|
29 |
|
30 |
+
#: ../responsive-lightbox.php:271
|
31 |
msgid "fast"
|
32 |
msgstr "szybko"
|
33 |
|
34 |
+
#: ../responsive-lightbox.php:274
|
35 |
msgid "default"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../responsive-lightbox.php:275
|
39 |
msgid "light rounded"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../responsive-lightbox.php:276
|
43 |
msgid "dark rounded"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../responsive-lightbox.php:277
|
47 |
msgid "light square"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: ../responsive-lightbox.php:278
|
51 |
msgid "dark square"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: ../responsive-lightbox.php:279
|
55 |
msgid "facebook"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: ../responsive-lightbox.php:282
|
59 |
msgid "window"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: ../responsive-lightbox.php:283
|
63 |
msgid "transparent"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: ../responsive-lightbox.php:284
|
67 |
msgid "opaque"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: ../responsive-lightbox.php:285
|
71 |
msgid "direct"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: ../responsive-lightbox.php:286
|
75 |
msgid "gpu"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: ../responsive-lightbox.php:291
|
79 |
msgid "SwipeBox"
|
80 |
msgstr "SwipeBox"
|
81 |
|
82 |
+
#: ../responsive-lightbox.php:293
|
83 |
msgid "CSS"
|
84 |
msgstr "CSS"
|
85 |
|
86 |
+
#: ../responsive-lightbox.php:294
|
87 |
msgid "jQuery"
|
88 |
msgstr "jQuery"
|
89 |
|
90 |
+
#: ../responsive-lightbox.php:298
|
91 |
msgid "FancyBox"
|
92 |
msgstr "FancyBox"
|
93 |
|
94 |
+
#: ../responsive-lightbox.php:300
|
95 |
msgid "elastic"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: ../responsive-lightbox.php:301
|
99 |
msgid "fade"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: ../responsive-lightbox.php:302
|
103 |
msgid "none"
|
104 |
msgstr "brak"
|
105 |
|
106 |
+
#: ../responsive-lightbox.php:305
|
107 |
msgid "auto"
|
108 |
msgstr "automatycznie"
|
109 |
|
110 |
+
#: ../responsive-lightbox.php:306
|
111 |
msgid "yes"
|
112 |
msgstr "tak"
|
113 |
|
114 |
+
#: ../responsive-lightbox.php:307
|
115 |
msgid "no"
|
116 |
msgstr "nie"
|
117 |
|
118 |
+
#: ../responsive-lightbox.php:310
|
119 |
msgid "swing"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: ../responsive-lightbox.php:311
|
123 |
msgid "linear"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: ../responsive-lightbox.php:314
|
127 |
msgid "outside"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: ../responsive-lightbox.php:315
|
131 |
msgid "inside"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: ../responsive-lightbox.php:316
|
135 |
msgid "over"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: ../responsive-lightbox.php:322
|
139 |
msgid "Enable"
|
140 |
msgstr "Włącz"
|
141 |
|
142 |
+
#: ../responsive-lightbox.php:323
|
143 |
msgid "Disable"
|
144 |
msgstr "Wyłącz"
|
145 |
|
146 |
+
#: ../responsive-lightbox.php:328 ../responsive-lightbox.php:428
|
147 |
msgid "General settings"
|
148 |
msgstr "Ustawienia ogólne"
|
149 |
|
150 |
+
#: ../responsive-lightbox.php:333 ../responsive-lightbox.php:439
|
151 |
msgid "Lightbox settings"
|
152 |
msgstr "Ustawienia lightbox"
|
153 |
|
154 |
+
#: ../responsive-lightbox.php:429
|
155 |
msgid "Lightbox script"
|
156 |
msgstr "Skrypt lightbox"
|
157 |
|
158 |
+
#: ../responsive-lightbox.php:430
|
159 |
msgid "Selector"
|
160 |
msgstr "Znacznik"
|
161 |
|
162 |
+
#: ../responsive-lightbox.php:431
|
163 |
msgid "Galleries"
|
164 |
msgstr "Galerie"
|
165 |
|
166 |
+
#: ../responsive-lightbox.php:432
|
167 |
msgid "Video links"
|
168 |
msgstr "Linki video"
|
169 |
|
170 |
+
#: ../responsive-lightbox.php:433
|
171 |
msgid "Image links"
|
172 |
msgstr "Linki obrazków"
|
173 |
|
174 |
+
#: ../responsive-lightbox.php:434
|
175 |
msgid "Single images as gallery"
|
176 |
msgstr "Galeria pojedynczych obrazków"
|
177 |
|
178 |
+
#: ../responsive-lightbox.php:435
|
179 |
msgid "Deactivation"
|
180 |
msgstr "Deaktywacja"
|
181 |
|
182 |
+
#: ../responsive-lightbox.php:443
|
183 |
msgid "Animation type"
|
184 |
msgstr "Typ animacji"
|
185 |
|
186 |
+
#: ../responsive-lightbox.php:444
|
187 |
+
msgid "Force PNG icons"
|
188 |
+
msgstr "Wymuszanie ikon PNG"
|
189 |
+
|
190 |
+
#: ../responsive-lightbox.php:445
|
191 |
msgid "Top and bottom bars"
|
192 |
msgstr "Górne i dolne paski"
|
193 |
|
194 |
+
#: ../responsive-lightbox.php:446
|
195 |
msgid "Video max width"
|
196 |
msgstr "Maksymalna szerokość video"
|
197 |
|
198 |
+
#: ../responsive-lightbox.php:450
|
199 |
msgid "Animation speed"
|
200 |
msgstr "Szybkość animacji"
|
201 |
|
202 |
+
#: ../responsive-lightbox.php:451
|
203 |
msgid "Slideshow"
|
204 |
msgstr "Pokaz slidów"
|
205 |
|
206 |
+
#: ../responsive-lightbox.php:452
|
207 |
msgid "Slideshow autoplay"
|
208 |
msgstr "Automatyczne odtwarzanie pokazu slajdów"
|
209 |
|
210 |
+
#: ../responsive-lightbox.php:453 ../responsive-lightbox.php:482
|
211 |
msgid "Opacity"
|
212 |
msgstr "Przezroczystość"
|
213 |
|
214 |
+
#: ../responsive-lightbox.php:454
|
215 |
msgid "Show title"
|
216 |
msgstr "Wyświetlanie tytułu"
|
217 |
|
218 |
+
#: ../responsive-lightbox.php:455
|
219 |
msgid "Allow resize big images"
|
220 |
msgstr "Powiększanie dużych zdjęć"
|
221 |
|
222 |
+
#: ../responsive-lightbox.php:456 ../responsive-lightbox.php:494
|
223 |
msgid "Video width"
|
224 |
msgstr "Szerokość video"
|
225 |
|
226 |
+
#: ../responsive-lightbox.php:457 ../responsive-lightbox.php:495
|
227 |
msgid "Video height"
|
228 |
msgstr "Wysokość video"
|
229 |
|
230 |
+
#: ../responsive-lightbox.php:458
|
231 |
msgid "Theme"
|
232 |
msgstr "Motyw"
|
233 |
|
234 |
+
#: ../responsive-lightbox.php:459
|
235 |
msgid "Horizontal padding"
|
236 |
msgstr "Odstępy w poziomie"
|
237 |
|
238 |
+
#: ../responsive-lightbox.php:460
|
239 |
msgid "Hide Flash"
|
240 |
msgstr "Ukrywanie flash"
|
241 |
|
242 |
+
#: ../responsive-lightbox.php:461
|
243 |
msgid "Flash Window Mode (wmode)"
|
244 |
msgstr "Tryb okna flash (wmode)"
|
245 |
|
246 |
+
#: ../responsive-lightbox.php:462
|
247 |
msgid "Video autoplay"
|
248 |
msgstr "Automatyczne odtwarzanie wideo"
|
249 |
|
250 |
+
#: ../responsive-lightbox.php:463 ../responsive-lightbox.php:471
|
251 |
msgid "Modal"
|
252 |
msgstr "Tryb modal"
|
253 |
|
254 |
+
#: ../responsive-lightbox.php:464
|
255 |
msgid "Deeplinking"
|
256 |
msgstr "Głębokie linki"
|
257 |
|
258 |
+
#: ../responsive-lightbox.php:465
|
259 |
msgid "Overlay gallery"
|
260 |
msgstr "Efekt overlay galerii"
|
261 |
|
262 |
+
#: ../responsive-lightbox.php:466
|
263 |
msgid "Keyboard shortcuts"
|
264 |
msgstr "Skróty klawiaturowe"
|
265 |
|
266 |
+
#: ../responsive-lightbox.php:467
|
267 |
msgid "Social (Twitter, Facebook)"
|
268 |
msgstr "Linki społeczności (Twitter, Facebook)"
|
269 |
|
270 |
+
#: ../responsive-lightbox.php:472
|
271 |
msgid "Show overlay"
|
272 |
msgstr "Wyświetlanie tła"
|
273 |
|
274 |
+
#: ../responsive-lightbox.php:473
|
275 |
msgid "Show close button"
|
276 |
msgstr "Wyświetlanie przycisku Zamknij"
|
277 |
|
278 |
+
#: ../responsive-lightbox.php:474
|
279 |
msgid "Enable escape button"
|
280 |
msgstr "Wyświetlanie przycisku Wyjdź"
|
281 |
|
282 |
+
#: ../responsive-lightbox.php:475
|
283 |
msgid "Hide on overlay click"
|
284 |
msgstr "Ukryj po kliknięciu w tło"
|
285 |
|
286 |
+
#: ../responsive-lightbox.php:476
|
287 |
msgid "Hide on content click"
|
288 |
msgstr "Ukryj po kliknięciu w treść"
|
289 |
|
290 |
+
#: ../responsive-lightbox.php:477
|
291 |
msgid "Cyclic"
|
292 |
msgstr "Cykliczność"
|
293 |
|
294 |
+
#: ../responsive-lightbox.php:478
|
295 |
msgid "Show nav arrows"
|
296 |
msgstr "Wyświetlanie strzałek"
|
297 |
|
298 |
+
#: ../responsive-lightbox.php:479
|
299 |
msgid "Auto scale"
|
300 |
msgstr "Automatyczne skalowanie"
|
301 |
|
302 |
+
#: ../responsive-lightbox.php:480
|
303 |
msgid "Scrolling (in/out)"
|
304 |
msgstr "Przewijanie"
|
305 |
|
306 |
+
#: ../responsive-lightbox.php:481
|
307 |
msgid "Center on scroll"
|
308 |
msgstr "Centrowanie przy przewijaniu"
|
309 |
|
310 |
+
#: ../responsive-lightbox.php:483
|
311 |
msgid "Overlay opacity"
|
312 |
msgstr "Przezroczystość tła"
|
313 |
|
314 |
+
#: ../responsive-lightbox.php:484
|
315 |
msgid "Overlay color"
|
316 |
msgstr "Kolor tła"
|
317 |
|
318 |
+
#: ../responsive-lightbox.php:485
|
319 |
msgid "Title show"
|
320 |
msgstr "Wyświetlanie tytułu"
|
321 |
|
322 |
+
#: ../responsive-lightbox.php:486
|
323 |
msgid "Title position"
|
324 |
msgstr "Pozycja tytułu"
|
325 |
|
326 |
+
#: ../responsive-lightbox.php:487
|
327 |
msgid "Transition (in/out)"
|
328 |
msgstr "Efekty przejścia"
|
329 |
|
330 |
+
#: ../responsive-lightbox.php:488
|
331 |
msgid "Easings (in/out)"
|
332 |
msgstr "Wygładzanie animacji"
|
333 |
|
334 |
+
#: ../responsive-lightbox.php:489
|
335 |
msgid "Speed (in/out)"
|
336 |
msgstr "Szybkość"
|
337 |
|
338 |
+
#: ../responsive-lightbox.php:490
|
339 |
msgid "Change speed"
|
340 |
msgstr "Zmień szybkość"
|
341 |
|
342 |
+
#: ../responsive-lightbox.php:491
|
343 |
msgid "Change fade"
|
344 |
msgstr "Zmień zanikanie"
|
345 |
|
346 |
+
#: ../responsive-lightbox.php:492
|
347 |
msgid "Padding"
|
348 |
msgstr "Odstęp (padding)"
|
349 |
|
350 |
+
#: ../responsive-lightbox.php:493
|
351 |
msgid "Margin"
|
352 |
msgstr "Margines (margin)"
|
353 |
|
354 |
+
#: ../responsive-lightbox.php:513
|
355 |
msgid "Select your preffered ligthbox effect script."
|
356 |
msgstr "Wybierz preferowany efekt lightbox."
|
357 |
|
358 |
+
#: ../responsive-lightbox.php:523
|
359 |
msgid "Select to which rel selector lightbox effect will be applied to."
|
360 |
msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
|
361 |
|
362 |
+
#: ../responsive-lightbox.php:541
|
363 |
msgid "Add lightbox to WordPress image galleries by default."
|
364 |
msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
|
365 |
|
366 |
+
#: ../responsive-lightbox.php:559
|
367 |
msgid "Add lightbox to YouTube and Vimeo video links by default."
|
368 |
msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
|
369 |
|
370 |
+
#: ../responsive-lightbox.php:577
|
371 |
msgid "Add lightbox to WordPress image links by default."
|
372 |
msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
|
373 |
|
374 |
+
#: ../responsive-lightbox.php:595
|
375 |
msgid "Display single post images as a gallery."
|
376 |
msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
|
377 |
|
378 |
+
#: ../responsive-lightbox.php:613
|
379 |
msgid "Delete settings on plugin deactivation."
|
380 |
msgstr "Usuń ustawienia przy deaktywacji wtyczki."
|
381 |
|
382 |
+
#: ../responsive-lightbox.php:631
|
383 |
msgid "Select a method of applying a lightbox effect."
|
384 |
msgstr "Wybierz sposób dodawania efekty lightbox."
|
385 |
|
386 |
+
#: ../responsive-lightbox.php:649
|
387 |
msgid ""
|
388 |
"Disable if you don't want to top and bottom bars to be hidden after a period "
|
389 |
"of time."
|
390 |
msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
|
391 |
|
392 |
+
#: ../responsive-lightbox.php:652
|
393 |
msgid ""
|
394 |
"Enter the time after which the top and bottom bars will be hidden (when "
|
395 |
"hiding is enabled)."
|
397 |
"Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
|
398 |
"jest włączona)."
|
399 |
|
400 |
+
#: ../responsive-lightbox.php:663
|
401 |
msgid "Enter the max video width in a lightbox."
|
402 |
msgstr "Podaj maksymalną szerokość video."
|
403 |
|
404 |
+
#: ../responsive-lightbox.php:681
|
405 |
+
msgid ""
|
406 |
+
"Enable this if you're having problems with navigation icons not visible on "
|
407 |
+
"some devices."
|
408 |
+
msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
|
409 |
+
|
410 |
+
#: ../responsive-lightbox.php:699
|
411 |
msgid "Select animation speed for lightbox effect."
|
412 |
msgstr "Wybierz szybkość animacji efektu lightbox."
|
413 |
|
414 |
+
#: ../responsive-lightbox.php:717
|
415 |
msgid "Display images as slideshow."
|
416 |
msgstr "Wyświetl obrazki jako pokaz sladów ."
|
417 |
|
418 |
+
#: ../responsive-lightbox.php:720
|
419 |
msgid "Enter time (in miliseconds)."
|
420 |
msgstr "Podaj czas (w milisekundach)."
|
421 |
|
422 |
+
#: ../responsive-lightbox.php:739
|
423 |
msgid "Automatically start slideshow."
|
424 |
msgstr "Automatyczne rozpoczynanie pokazu slajdów."
|
425 |
|
426 |
+
#: ../responsive-lightbox.php:752
|
427 |
msgid "Value between 0 and 100, 100 for no opacity."
|
428 |
msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
|
429 |
|
430 |
+
#: ../responsive-lightbox.php:770
|
431 |
msgid "Display image tiltle."
|
432 |
msgstr "Wyświetlanie tytułu obrazka."
|
433 |
|
434 |
+
#: ../responsive-lightbox.php:788
|
435 |
msgid "Resize the photos bigger than viewport."
|
436 |
msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
|
437 |
|
438 |
+
#: ../responsive-lightbox.php:798 ../responsive-lightbox.php:808
|
439 |
msgid "in pixels"
|
440 |
msgstr "w pikselach"
|
441 |
|
442 |
+
#: ../responsive-lightbox.php:826
|
443 |
msgid "Select theme for lightbox effect."
|
444 |
msgstr "Wybierz motyw dla efektu lightbox."
|
445 |
|
446 |
+
#: ../responsive-lightbox.php:836
|
447 |
msgid "Horizontal padding (in pixels)."
|
448 |
msgstr "Odstępy w poziomie (w pikselach)."
|
449 |
|
450 |
+
#: ../responsive-lightbox.php:854
|
451 |
msgid ""
|
452 |
"Hides all the flash object on a page. Enable this if flash appears over "
|
453 |
"prettyPhoto."
|
455 |
"Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
|
456 |
"wyświetlane są nad lightboxem."
|
457 |
|
458 |
+
#: ../responsive-lightbox.php:872
|
459 |
msgid "Select flash window mode."
|
460 |
msgstr "Wybierz tryb okna flash."
|
461 |
|
462 |
+
#: ../responsive-lightbox.php:890
|
463 |
msgid "Automatically start videos."
|
464 |
msgstr "Automatycznie rozpoczynaj video."
|
465 |
|
466 |
+
#: ../responsive-lightbox.php:908
|
467 |
msgid "If set to true, only the close button will close the window."
|
468 |
msgstr ""
|
469 |
"Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
|
470 |
|
471 |
+
#: ../responsive-lightbox.php:926
|
472 |
msgid "Allow prettyPhoto to update the url to enable deeplinking."
|
473 |
msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
|
474 |
|
475 |
+
#: ../responsive-lightbox.php:944
|
476 |
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
|
477 |
msgstr ""
|
478 |
"Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
|
479 |
"najechaniu myszką."
|
480 |
|
481 |
+
#: ../responsive-lightbox.php:962
|
482 |
msgid "Set to false if you open forms inside prettyPhoto."
|
483 |
msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
|
484 |
|
485 |
+
#: ../responsive-lightbox.php:980
|
486 |
msgid "Display links to Facebook and Twitter."
|
487 |
msgstr "Wyświetl linki do Facebboka i Twittera."
|
488 |
|
489 |
+
#: ../responsive-lightbox.php:998
|
490 |
msgid "The transition type."
|
491 |
msgstr "Typ animacji."
|
492 |
|
493 |
+
#: ../responsive-lightbox.php:1008
|
494 |
msgid "Space between FancyBox wrapper and content."
|
495 |
msgstr "Przestrzeń między FancyBox a treścią"
|
496 |
|
497 |
+
#: ../responsive-lightbox.php:1018
|
498 |
msgid "Space between viewport and FancyBox wrapper."
|
499 |
msgstr "Przestrzeń między ekranem a Fancybox"
|
500 |
|
501 |
+
#: ../responsive-lightbox.php:1036
|
502 |
msgid ""
|
503 |
"When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
|
504 |
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
|
508 |
"TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
|
509 |
"\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
|
510 |
|
511 |
+
#: ../responsive-lightbox.php:1054
|
512 |
msgid "Toggle overlay."
|
513 |
msgstr "Włącz tło."
|
514 |
|
515 |
+
#: ../responsive-lightbox.php:1072
|
516 |
msgid "Toggle close button."
|
517 |
msgstr "Włącz przycisk Zamknij."
|
518 |
|
519 |
+
#: ../responsive-lightbox.php:1090
|
520 |
msgid "Toggle if pressing Esc button closes FancyBox."
|
521 |
msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
|
522 |
|
523 |
+
#: ../responsive-lightbox.php:1108
|
524 |
msgid "Toggle if clicking the overlay should close FancyBox."
|
525 |
msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
|
526 |
|
527 |
+
#: ../responsive-lightbox.php:1126
|
528 |
msgid "Toggle if clicking the content should close FancyBox."
|
529 |
msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
|
530 |
|
531 |
+
#: ../responsive-lightbox.php:1144
|
532 |
msgid ""
|
533 |
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
|
534 |
msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
|
535 |
|
536 |
+
#: ../responsive-lightbox.php:1162
|
537 |
msgid "Toggle navigation arrows."
|
538 |
msgstr "Włącz strzałki nawigacyjne."
|
539 |
|
540 |
+
#: ../responsive-lightbox.php:1180
|
541 |
msgid "If true, FancyBox is scaled to fit in viewport."
|
542 |
msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
|
543 |
|
544 |
+
#: ../responsive-lightbox.php:1198
|
545 |
msgid "Set the overflow CSS property to create or hide scrollbars."
|
546 |
msgstr ""
|
547 |
"Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
|
548 |
|
549 |
+
#: ../responsive-lightbox.php:1216
|
550 |
msgid "When true, FancyBox is centered while scrolling page."
|
551 |
msgstr ""
|
552 |
"Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
|
553 |
"strony."
|
554 |
|
555 |
+
#: ../responsive-lightbox.php:1234
|
556 |
msgid "When true, transparency of content is changed for elastic transitions."
|
557 |
msgstr ""
|
558 |
"Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
|
559 |
"animacji."
|
560 |
|
561 |
+
#: ../responsive-lightbox.php:1247
|
562 |
msgid "Opacity of the overlay."
|
563 |
msgstr "Przezroczystość tła."
|
564 |
|
565 |
+
#: ../responsive-lightbox.php:1257
|
566 |
msgid "Color of the overlay."
|
567 |
msgstr "Kolor tła."
|
568 |
|
569 |
+
#: ../responsive-lightbox.php:1275
|
570 |
msgid "Toggle title."
|
571 |
msgstr "Wyświetlanie tytułu."
|
572 |
|
573 |
+
#: ../responsive-lightbox.php:1293
|
574 |
msgid "The position of title."
|
575 |
msgstr "Pozycja tytułu."
|
576 |
|
577 |
+
#: ../responsive-lightbox.php:1311
|
578 |
msgid "Easing used for elastic animations."
|
579 |
msgstr "Wygładzanie animacji dla trybu elastic."
|
580 |
|
581 |
+
#: ../responsive-lightbox.php:1321
|
582 |
msgid "Speed of the fade and elastic transitions, in milliseconds."
|
583 |
msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
|
584 |
|
585 |
+
#: ../responsive-lightbox.php:1331
|
586 |
msgid "Speed of resizing when changing gallery items, in milliseconds."
|
587 |
msgstr ""
|
588 |
"Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
|
589 |
"milisekundach)."
|
590 |
|
591 |
+
#: ../responsive-lightbox.php:1341
|
592 |
msgid "Speed of the content fading while changing gallery items."
|
593 |
msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
|
594 |
|
595 |
+
#: ../responsive-lightbox.php:1351
|
596 |
msgid "Width of the video."
|
597 |
msgstr "Szerokość video."
|
598 |
|
599 |
+
#: ../responsive-lightbox.php:1361
|
600 |
msgid "Height of the video."
|
601 |
msgstr "Wysokość video."
|
602 |
|
603 |
+
#: ../responsive-lightbox.php:1545
|
604 |
msgid ""
|
605 |
"Changes were not saved because there was attempt to save settings of "
|
606 |
"inactive script. The site has been reloaded to the proper script settings."
|
608 |
"Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
|
609 |
"nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
|
610 |
|
611 |
+
#: ../responsive-lightbox.php:1557
|
612 |
msgid "Settings of SwipeBox script were restored to defaults."
|
613 |
msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
|
614 |
|
615 |
+
#: ../responsive-lightbox.php:1563
|
616 |
msgid "Settings of prettyPhoto script were restored to defaults."
|
617 |
msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
|
618 |
|
619 |
+
#: ../responsive-lightbox.php:1569
|
620 |
msgid "Settings of FancyBox script were restored to defaults."
|
621 |
msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
|
622 |
|
623 |
+
#: ../responsive-lightbox.php:1573
|
624 |
msgid ""
|
625 |
"Changes were not set to defaults because there was attempt to reset settings "
|
626 |
"of inactive script. The site has been reloaded to the proper script settings."
|
629 |
"resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
|
630 |
"prawidłowymi ustawieniami."
|
631 |
|
632 |
+
#: ../responsive-lightbox.php:1587 ../responsive-lightbox.php:1588
|
633 |
+
#: ../responsive-lightbox.php:1602 ../responsive-lightbox.php:1634
|
634 |
msgid "Responsive Lightbox"
|
635 |
msgstr "Efekt Lightbox"
|
636 |
|
637 |
+
#: ../responsive-lightbox.php:1627
|
638 |
msgid "Reset to defaults"
|
639 |
msgstr "Resetuj do domyślnych"
|
640 |
|
641 |
+
#: ../responsive-lightbox.php:1636
|
642 |
msgid "Need support?"
|
643 |
msgstr "Potrzebujesz pomocy?"
|
644 |
|
645 |
+
#: ../responsive-lightbox.php:1637
|
646 |
msgid ""
|
647 |
"If you are having problems with this plugin, please talk about them in the"
|
648 |
msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
|
649 |
|
650 |
+
#: ../responsive-lightbox.php:1637
|
651 |
msgid "Support forum"
|
652 |
msgstr "Forum pomocy"
|
653 |
|
654 |
+
#: ../responsive-lightbox.php:1639
|
655 |
msgid "Do you like this plugin?"
|
656 |
msgstr "Lubisz tę wtyczkę?"
|
657 |
|
658 |
+
#: ../responsive-lightbox.php:1640
|
659 |
msgid "Rate it 5"
|
660 |
msgstr "Oceń ją na 5"
|
661 |
|
662 |
+
#: ../responsive-lightbox.php:1640
|
663 |
msgid "on WordPress.org"
|
664 |
msgstr "na WordPress.org"
|
665 |
|
666 |
+
#: ../responsive-lightbox.php:1641
|
667 |
msgid "Blog about it & link to the"
|
668 |
msgstr "Napisz o niej i dodaj link"
|
669 |
|
670 |
+
#: ../responsive-lightbox.php:1641
|
671 |
msgid "plugin page"
|
672 |
msgstr "do strony wtyczki"
|
673 |
|
674 |
+
#: ../responsive-lightbox.php:1642
|
675 |
msgid "Check out our other"
|
676 |
msgstr "Sprawdź nasze pozostałe"
|
677 |
|
678 |
+
#: ../responsive-lightbox.php:1642
|
679 |
msgid "WordPress plugins"
|
680 |
msgstr "wtyczki do WordPress'a"
|
681 |
|
682 |
+
#: ../responsive-lightbox.php:1669
|
683 |
msgid "Are you sure you want to reset scripts settings to defaults?"
|
684 |
msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
|
685 |
|
686 |
+
#: ../responsive-lightbox.php:1882
|
687 |
msgid "Support"
|
688 |
msgstr "Pomoc"
|
689 |
|
690 |
+
#: ../responsive-lightbox.php:1904
|
691 |
msgid "Settings"
|
692 |
msgstr "Ustawienia"
|
languages/responsive-lightbox.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Responsive Lightbox\n"
|
4 |
-
"POT-Creation-Date: 2013-10-
|
5 |
-
"PO-Revision-Date: 2013-10-
|
6 |
"Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
|
7 |
"Language-Team: dFactory <info@dfactory.eu>\n"
|
8 |
"Language: English\n"
|
@@ -15,646 +15,656 @@ msgstr ""
|
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#: ../responsive-lightbox.php:
|
19 |
msgid "prettyPhoto"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: ../responsive-lightbox.php:
|
23 |
msgid "slow"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: ../responsive-lightbox.php:
|
27 |
msgid "normal"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: ../responsive-lightbox.php:
|
31 |
msgid "fast"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: ../responsive-lightbox.php:
|
35 |
msgid "default"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../responsive-lightbox.php:
|
39 |
msgid "light rounded"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: ../responsive-lightbox.php:
|
43 |
msgid "dark rounded"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../responsive-lightbox.php:
|
47 |
msgid "light square"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: ../responsive-lightbox.php:
|
51 |
msgid "dark square"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: ../responsive-lightbox.php:
|
55 |
msgid "facebook"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: ../responsive-lightbox.php:
|
59 |
msgid "window"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: ../responsive-lightbox.php:
|
63 |
msgid "transparent"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: ../responsive-lightbox.php:
|
67 |
msgid "opaque"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../responsive-lightbox.php:
|
71 |
msgid "direct"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../responsive-lightbox.php:
|
75 |
msgid "gpu"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../responsive-lightbox.php:
|
79 |
msgid "SwipeBox"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: ../responsive-lightbox.php:
|
83 |
msgid "CSS"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: ../responsive-lightbox.php:
|
87 |
msgid "jQuery"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: ../responsive-lightbox.php:
|
91 |
msgid "FancyBox"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: ../responsive-lightbox.php:
|
95 |
msgid "elastic"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: ../responsive-lightbox.php:
|
99 |
msgid "fade"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: ../responsive-lightbox.php:
|
103 |
msgid "none"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: ../responsive-lightbox.php:
|
107 |
msgid "auto"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: ../responsive-lightbox.php:
|
111 |
msgid "yes"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: ../responsive-lightbox.php:
|
115 |
msgid "no"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: ../responsive-lightbox.php:
|
119 |
msgid "swing"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: ../responsive-lightbox.php:
|
123 |
msgid "linear"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: ../responsive-lightbox.php:
|
127 |
msgid "outside"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: ../responsive-lightbox.php:
|
131 |
msgid "inside"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: ../responsive-lightbox.php:
|
135 |
msgid "over"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: ../responsive-lightbox.php:
|
139 |
msgid "Enable"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: ../responsive-lightbox.php:
|
143 |
msgid "Disable"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: ../responsive-lightbox.php:
|
147 |
msgid "General settings"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: ../responsive-lightbox.php:
|
151 |
msgid "Lightbox settings"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: ../responsive-lightbox.php:
|
155 |
msgid "Lightbox script"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: ../responsive-lightbox.php:
|
159 |
msgid "Selector"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: ../responsive-lightbox.php:
|
163 |
msgid "Galleries"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: ../responsive-lightbox.php:
|
167 |
msgid "Video links"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: ../responsive-lightbox.php:
|
171 |
msgid "Image links"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: ../responsive-lightbox.php:
|
175 |
msgid "Single images as gallery"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: ../responsive-lightbox.php:
|
179 |
msgid "Deactivation"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: ../responsive-lightbox.php:
|
183 |
msgid "Animation type"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: ../responsive-lightbox.php:
|
|
|
|
|
|
|
|
|
187 |
msgid "Top and bottom bars"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: ../responsive-lightbox.php:
|
191 |
msgid "Video max width"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: ../responsive-lightbox.php:
|
195 |
msgid "Animation speed"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: ../responsive-lightbox.php:
|
199 |
msgid "Slideshow"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../responsive-lightbox.php:
|
203 |
msgid "Slideshow autoplay"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: ../responsive-lightbox.php:
|
207 |
msgid "Opacity"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: ../responsive-lightbox.php:
|
211 |
msgid "Show title"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../responsive-lightbox.php:
|
215 |
msgid "Allow resize big images"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: ../responsive-lightbox.php:
|
219 |
msgid "Video width"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: ../responsive-lightbox.php:
|
223 |
msgid "Video height"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: ../responsive-lightbox.php:
|
227 |
msgid "Theme"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: ../responsive-lightbox.php:
|
231 |
msgid "Horizontal padding"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: ../responsive-lightbox.php:
|
235 |
msgid "Hide Flash"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: ../responsive-lightbox.php:
|
239 |
msgid "Flash Window Mode (wmode)"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: ../responsive-lightbox.php:
|
243 |
msgid "Video autoplay"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../responsive-lightbox.php:
|
247 |
msgid "Modal"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: ../responsive-lightbox.php:
|
251 |
msgid "Deeplinking"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: ../responsive-lightbox.php:
|
255 |
msgid "Overlay gallery"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: ../responsive-lightbox.php:
|
259 |
msgid "Keyboard shortcuts"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: ../responsive-lightbox.php:
|
263 |
msgid "Social (Twitter, Facebook)"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../responsive-lightbox.php:
|
267 |
msgid "Show overlay"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: ../responsive-lightbox.php:
|
271 |
msgid "Show close button"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: ../responsive-lightbox.php:
|
275 |
msgid "Enable escape button"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: ../responsive-lightbox.php:
|
279 |
msgid "Hide on overlay click"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: ../responsive-lightbox.php:
|
283 |
msgid "Hide on content click"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: ../responsive-lightbox.php:
|
287 |
msgid "Cyclic"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: ../responsive-lightbox.php:
|
291 |
msgid "Show nav arrows"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: ../responsive-lightbox.php:
|
295 |
msgid "Auto scale"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: ../responsive-lightbox.php:
|
299 |
msgid "Scrolling (in/out)"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: ../responsive-lightbox.php:
|
303 |
msgid "Center on scroll"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: ../responsive-lightbox.php:
|
307 |
msgid "Overlay opacity"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: ../responsive-lightbox.php:
|
311 |
msgid "Overlay color"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: ../responsive-lightbox.php:
|
315 |
msgid "Title show"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: ../responsive-lightbox.php:
|
319 |
msgid "Title position"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: ../responsive-lightbox.php:
|
323 |
msgid "Transition (in/out)"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: ../responsive-lightbox.php:
|
327 |
msgid "Easings (in/out)"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: ../responsive-lightbox.php:
|
331 |
msgid "Speed (in/out)"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: ../responsive-lightbox.php:
|
335 |
msgid "Change speed"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: ../responsive-lightbox.php:
|
339 |
msgid "Change fade"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: ../responsive-lightbox.php:
|
343 |
msgid "Padding"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: ../responsive-lightbox.php:
|
347 |
msgid "Margin"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: ../responsive-lightbox.php:
|
351 |
msgid "Select your preffered ligthbox effect script."
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: ../responsive-lightbox.php:
|
355 |
msgid "Select to which rel selector lightbox effect will be applied to."
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: ../responsive-lightbox.php:
|
359 |
msgid "Add lightbox to WordPress image galleries by default."
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: ../responsive-lightbox.php:
|
363 |
msgid "Add lightbox to YouTube and Vimeo video links by default."
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: ../responsive-lightbox.php:
|
367 |
msgid "Add lightbox to WordPress image links by default."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: ../responsive-lightbox.php:
|
371 |
msgid "Display single post images as a gallery."
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: ../responsive-lightbox.php:
|
375 |
msgid "Delete settings on plugin deactivation."
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: ../responsive-lightbox.php:
|
379 |
msgid "Select a method of applying a lightbox effect."
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: ../responsive-lightbox.php:
|
383 |
msgid ""
|
384 |
"Disable if you don't want to top and bottom bars to be hidden after a period "
|
385 |
"of time."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: ../responsive-lightbox.php:
|
389 |
msgid ""
|
390 |
"Enter the time after which the top and bottom bars will be hidden (when "
|
391 |
"hiding is enabled)."
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: ../responsive-lightbox.php:
|
395 |
msgid "Enter the max video width in a lightbox."
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: ../responsive-lightbox.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
msgid "Select animation speed for lightbox effect."
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: ../responsive-lightbox.php:
|
403 |
msgid "Display images as slideshow."
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: ../responsive-lightbox.php:
|
407 |
msgid "Enter time (in miliseconds)."
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: ../responsive-lightbox.php:
|
411 |
msgid "Automatically start slideshow."
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: ../responsive-lightbox.php:
|
415 |
msgid "Value between 0 and 100, 100 for no opacity."
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: ../responsive-lightbox.php:
|
419 |
msgid "Display image tiltle."
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: ../responsive-lightbox.php:
|
423 |
msgid "Resize the photos bigger than viewport."
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: ../responsive-lightbox.php:
|
427 |
msgid "in pixels"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: ../responsive-lightbox.php:
|
431 |
msgid "Select theme for lightbox effect."
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: ../responsive-lightbox.php:
|
435 |
msgid "Horizontal padding (in pixels)."
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: ../responsive-lightbox.php:
|
439 |
msgid ""
|
440 |
"Hides all the flash object on a page. Enable this if flash appears over "
|
441 |
"prettyPhoto."
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: ../responsive-lightbox.php:
|
445 |
msgid "Select flash window mode."
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: ../responsive-lightbox.php:
|
449 |
msgid "Automatically start videos."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: ../responsive-lightbox.php:
|
453 |
msgid "If set to true, only the close button will close the window."
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: ../responsive-lightbox.php:
|
457 |
msgid "Allow prettyPhoto to update the url to enable deeplinking."
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: ../responsive-lightbox.php:
|
461 |
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: ../responsive-lightbox.php:
|
465 |
msgid "Set to false if you open forms inside prettyPhoto."
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: ../responsive-lightbox.php:
|
469 |
msgid "Display links to Facebook and Twitter."
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: ../responsive-lightbox.php:
|
473 |
msgid "The transition type."
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: ../responsive-lightbox.php:
|
477 |
msgid "Space between FancyBox wrapper and content."
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: ../responsive-lightbox.php:
|
481 |
msgid "Space between viewport and FancyBox wrapper."
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: ../responsive-lightbox.php:
|
485 |
msgid ""
|
486 |
"When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
|
487 |
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
|
488 |
"to FALSE."
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: ../responsive-lightbox.php:
|
492 |
msgid "Toggle overlay."
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: ../responsive-lightbox.php:
|
496 |
msgid "Toggle close button."
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: ../responsive-lightbox.php:
|
500 |
msgid "Toggle if pressing Esc button closes FancyBox."
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: ../responsive-lightbox.php:
|
504 |
msgid "Toggle if clicking the overlay should close FancyBox."
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../responsive-lightbox.php:
|
508 |
msgid "Toggle if clicking the content should close FancyBox."
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: ../responsive-lightbox.php:
|
512 |
msgid ""
|
513 |
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: ../responsive-lightbox.php:
|
517 |
msgid "Toggle navigation arrows."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: ../responsive-lightbox.php:
|
521 |
msgid "If true, FancyBox is scaled to fit in viewport."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: ../responsive-lightbox.php:
|
525 |
msgid "Set the overflow CSS property to create or hide scrollbars."
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: ../responsive-lightbox.php:
|
529 |
msgid "When true, FancyBox is centered while scrolling page."
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: ../responsive-lightbox.php:
|
533 |
msgid "When true, transparency of content is changed for elastic transitions."
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: ../responsive-lightbox.php:
|
537 |
msgid "Opacity of the overlay."
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: ../responsive-lightbox.php:
|
541 |
msgid "Color of the overlay."
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: ../responsive-lightbox.php:
|
545 |
msgid "Toggle title."
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: ../responsive-lightbox.php:
|
549 |
msgid "The position of title."
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: ../responsive-lightbox.php:
|
553 |
msgid "Easing used for elastic animations."
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: ../responsive-lightbox.php:
|
557 |
msgid "Speed of the fade and elastic transitions, in milliseconds."
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: ../responsive-lightbox.php:
|
561 |
msgid "Speed of resizing when changing gallery items, in milliseconds."
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: ../responsive-lightbox.php:
|
565 |
msgid "Speed of the content fading while changing gallery items."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: ../responsive-lightbox.php:
|
569 |
msgid "Width of the video."
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: ../responsive-lightbox.php:
|
573 |
msgid "Height of the video."
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: ../responsive-lightbox.php:
|
577 |
msgid ""
|
578 |
"Changes were not saved because there was attempt to save settings of "
|
579 |
"inactive script. The site has been reloaded to the proper script settings."
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: ../responsive-lightbox.php:
|
583 |
msgid "Settings of SwipeBox script were restored to defaults."
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: ../responsive-lightbox.php:
|
587 |
msgid "Settings of prettyPhoto script were restored to defaults."
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: ../responsive-lightbox.php:
|
591 |
msgid "Settings of FancyBox script were restored to defaults."
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: ../responsive-lightbox.php:
|
595 |
msgid ""
|
596 |
"Changes were not set to defaults because there was attempt to reset settings "
|
597 |
"of inactive script. The site has been reloaded to the proper script settings."
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: ../responsive-lightbox.php:
|
601 |
-
#: ../responsive-lightbox.php:
|
602 |
msgid "Responsive Lightbox"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: ../responsive-lightbox.php:
|
606 |
msgid "Reset to defaults"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: ../responsive-lightbox.php:
|
610 |
msgid "Need support?"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: ../responsive-lightbox.php:
|
614 |
msgid ""
|
615 |
"If you are having problems with this plugin, please talk about them in the"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: ../responsive-lightbox.php:
|
619 |
msgid "Support forum"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: ../responsive-lightbox.php:
|
623 |
msgid "Do you like this plugin?"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: ../responsive-lightbox.php:
|
627 |
msgid "Rate it 5"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: ../responsive-lightbox.php:
|
631 |
msgid "on WordPress.org"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: ../responsive-lightbox.php:
|
635 |
msgid "Blog about it & link to the"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: ../responsive-lightbox.php:
|
639 |
msgid "plugin page"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: ../responsive-lightbox.php:
|
643 |
msgid "Check out our other"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: ../responsive-lightbox.php:
|
647 |
msgid "WordPress plugins"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: ../responsive-lightbox.php:
|
651 |
msgid "Are you sure you want to reset scripts settings to defaults?"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: ../responsive-lightbox.php:
|
655 |
msgid "Support"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: ../responsive-lightbox.php:
|
659 |
msgid "Settings"
|
660 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Responsive Lightbox\n"
|
4 |
+
"POT-Creation-Date: 2013-10-15 11:32+0100\n"
|
5 |
+
"PO-Revision-Date: 2013-10-15 11:32+0100\n"
|
6 |
"Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
|
7 |
"Language-Team: dFactory <info@dfactory.eu>\n"
|
8 |
"Language: English\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../responsive-lightbox.php:267
|
19 |
msgid "prettyPhoto"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: ../responsive-lightbox.php:269
|
23 |
msgid "slow"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: ../responsive-lightbox.php:270
|
27 |
msgid "normal"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: ../responsive-lightbox.php:271
|
31 |
msgid "fast"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: ../responsive-lightbox.php:274
|
35 |
msgid "default"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../responsive-lightbox.php:275
|
39 |
msgid "light rounded"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../responsive-lightbox.php:276
|
43 |
msgid "dark rounded"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../responsive-lightbox.php:277
|
47 |
msgid "light square"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: ../responsive-lightbox.php:278
|
51 |
msgid "dark square"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: ../responsive-lightbox.php:279
|
55 |
msgid "facebook"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: ../responsive-lightbox.php:282
|
59 |
msgid "window"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: ../responsive-lightbox.php:283
|
63 |
msgid "transparent"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: ../responsive-lightbox.php:284
|
67 |
msgid "opaque"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: ../responsive-lightbox.php:285
|
71 |
msgid "direct"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: ../responsive-lightbox.php:286
|
75 |
msgid "gpu"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: ../responsive-lightbox.php:291
|
79 |
msgid "SwipeBox"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: ../responsive-lightbox.php:293
|
83 |
msgid "CSS"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: ../responsive-lightbox.php:294
|
87 |
msgid "jQuery"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: ../responsive-lightbox.php:298
|
91 |
msgid "FancyBox"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: ../responsive-lightbox.php:300
|
95 |
msgid "elastic"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: ../responsive-lightbox.php:301
|
99 |
msgid "fade"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: ../responsive-lightbox.php:302
|
103 |
msgid "none"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: ../responsive-lightbox.php:305
|
107 |
msgid "auto"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: ../responsive-lightbox.php:306
|
111 |
msgid "yes"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: ../responsive-lightbox.php:307
|
115 |
msgid "no"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: ../responsive-lightbox.php:310
|
119 |
msgid "swing"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: ../responsive-lightbox.php:311
|
123 |
msgid "linear"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: ../responsive-lightbox.php:314
|
127 |
msgid "outside"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: ../responsive-lightbox.php:315
|
131 |
msgid "inside"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: ../responsive-lightbox.php:316
|
135 |
msgid "over"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: ../responsive-lightbox.php:322
|
139 |
msgid "Enable"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: ../responsive-lightbox.php:323
|
143 |
msgid "Disable"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: ../responsive-lightbox.php:328 ../responsive-lightbox.php:428
|
147 |
msgid "General settings"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: ../responsive-lightbox.php:333 ../responsive-lightbox.php:439
|
151 |
msgid "Lightbox settings"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: ../responsive-lightbox.php:429
|
155 |
msgid "Lightbox script"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: ../responsive-lightbox.php:430
|
159 |
msgid "Selector"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: ../responsive-lightbox.php:431
|
163 |
msgid "Galleries"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: ../responsive-lightbox.php:432
|
167 |
msgid "Video links"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: ../responsive-lightbox.php:433
|
171 |
msgid "Image links"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: ../responsive-lightbox.php:434
|
175 |
msgid "Single images as gallery"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: ../responsive-lightbox.php:435
|
179 |
msgid "Deactivation"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: ../responsive-lightbox.php:443
|
183 |
msgid "Animation type"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: ../responsive-lightbox.php:444
|
187 |
+
msgid "Force PNG icons"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: ../responsive-lightbox.php:445
|
191 |
msgid "Top and bottom bars"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../responsive-lightbox.php:446
|
195 |
msgid "Video max width"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../responsive-lightbox.php:450
|
199 |
msgid "Animation speed"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: ../responsive-lightbox.php:451
|
203 |
msgid "Slideshow"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: ../responsive-lightbox.php:452
|
207 |
msgid "Slideshow autoplay"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: ../responsive-lightbox.php:453 ../responsive-lightbox.php:482
|
211 |
msgid "Opacity"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: ../responsive-lightbox.php:454
|
215 |
msgid "Show title"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: ../responsive-lightbox.php:455
|
219 |
msgid "Allow resize big images"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: ../responsive-lightbox.php:456 ../responsive-lightbox.php:494
|
223 |
msgid "Video width"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: ../responsive-lightbox.php:457 ../responsive-lightbox.php:495
|
227 |
msgid "Video height"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: ../responsive-lightbox.php:458
|
231 |
msgid "Theme"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: ../responsive-lightbox.php:459
|
235 |
msgid "Horizontal padding"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: ../responsive-lightbox.php:460
|
239 |
msgid "Hide Flash"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: ../responsive-lightbox.php:461
|
243 |
msgid "Flash Window Mode (wmode)"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: ../responsive-lightbox.php:462
|
247 |
msgid "Video autoplay"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../responsive-lightbox.php:463 ../responsive-lightbox.php:471
|
251 |
msgid "Modal"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: ../responsive-lightbox.php:464
|
255 |
msgid "Deeplinking"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: ../responsive-lightbox.php:465
|
259 |
msgid "Overlay gallery"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../responsive-lightbox.php:466
|
263 |
msgid "Keyboard shortcuts"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../responsive-lightbox.php:467
|
267 |
msgid "Social (Twitter, Facebook)"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: ../responsive-lightbox.php:472
|
271 |
msgid "Show overlay"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: ../responsive-lightbox.php:473
|
275 |
msgid "Show close button"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: ../responsive-lightbox.php:474
|
279 |
msgid "Enable escape button"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: ../responsive-lightbox.php:475
|
283 |
msgid "Hide on overlay click"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: ../responsive-lightbox.php:476
|
287 |
msgid "Hide on content click"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: ../responsive-lightbox.php:477
|
291 |
msgid "Cyclic"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: ../responsive-lightbox.php:478
|
295 |
msgid "Show nav arrows"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: ../responsive-lightbox.php:479
|
299 |
msgid "Auto scale"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../responsive-lightbox.php:480
|
303 |
msgid "Scrolling (in/out)"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: ../responsive-lightbox.php:481
|
307 |
msgid "Center on scroll"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: ../responsive-lightbox.php:483
|
311 |
msgid "Overlay opacity"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: ../responsive-lightbox.php:484
|
315 |
msgid "Overlay color"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: ../responsive-lightbox.php:485
|
319 |
msgid "Title show"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: ../responsive-lightbox.php:486
|
323 |
msgid "Title position"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: ../responsive-lightbox.php:487
|
327 |
msgid "Transition (in/out)"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: ../responsive-lightbox.php:488
|
331 |
msgid "Easings (in/out)"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: ../responsive-lightbox.php:489
|
335 |
msgid "Speed (in/out)"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: ../responsive-lightbox.php:490
|
339 |
msgid "Change speed"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: ../responsive-lightbox.php:491
|
343 |
msgid "Change fade"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: ../responsive-lightbox.php:492
|
347 |
msgid "Padding"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: ../responsive-lightbox.php:493
|
351 |
msgid "Margin"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: ../responsive-lightbox.php:513
|
355 |
msgid "Select your preffered ligthbox effect script."
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: ../responsive-lightbox.php:523
|
359 |
msgid "Select to which rel selector lightbox effect will be applied to."
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: ../responsive-lightbox.php:541
|
363 |
msgid "Add lightbox to WordPress image galleries by default."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: ../responsive-lightbox.php:559
|
367 |
msgid "Add lightbox to YouTube and Vimeo video links by default."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: ../responsive-lightbox.php:577
|
371 |
msgid "Add lightbox to WordPress image links by default."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: ../responsive-lightbox.php:595
|
375 |
msgid "Display single post images as a gallery."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: ../responsive-lightbox.php:613
|
379 |
msgid "Delete settings on plugin deactivation."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: ../responsive-lightbox.php:631
|
383 |
msgid "Select a method of applying a lightbox effect."
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: ../responsive-lightbox.php:649
|
387 |
msgid ""
|
388 |
"Disable if you don't want to top and bottom bars to be hidden after a period "
|
389 |
"of time."
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: ../responsive-lightbox.php:652
|
393 |
msgid ""
|
394 |
"Enter the time after which the top and bottom bars will be hidden (when "
|
395 |
"hiding is enabled)."
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../responsive-lightbox.php:663
|
399 |
msgid "Enter the max video width in a lightbox."
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../responsive-lightbox.php:681
|
403 |
+
msgid ""
|
404 |
+
"Enable this if you're having problems with navigation icons not visible on "
|
405 |
+
"some devices."
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: ../responsive-lightbox.php:699
|
409 |
msgid "Select animation speed for lightbox effect."
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: ../responsive-lightbox.php:717
|
413 |
msgid "Display images as slideshow."
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: ../responsive-lightbox.php:720
|
417 |
msgid "Enter time (in miliseconds)."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: ../responsive-lightbox.php:739
|
421 |
msgid "Automatically start slideshow."
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: ../responsive-lightbox.php:752
|
425 |
msgid "Value between 0 and 100, 100 for no opacity."
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: ../responsive-lightbox.php:770
|
429 |
msgid "Display image tiltle."
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: ../responsive-lightbox.php:788
|
433 |
msgid "Resize the photos bigger than viewport."
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: ../responsive-lightbox.php:798 ../responsive-lightbox.php:808
|
437 |
msgid "in pixels"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../responsive-lightbox.php:826
|
441 |
msgid "Select theme for lightbox effect."
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../responsive-lightbox.php:836
|
445 |
msgid "Horizontal padding (in pixels)."
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: ../responsive-lightbox.php:854
|
449 |
msgid ""
|
450 |
"Hides all the flash object on a page. Enable this if flash appears over "
|
451 |
"prettyPhoto."
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: ../responsive-lightbox.php:872
|
455 |
msgid "Select flash window mode."
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: ../responsive-lightbox.php:890
|
459 |
msgid "Automatically start videos."
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: ../responsive-lightbox.php:908
|
463 |
msgid "If set to true, only the close button will close the window."
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: ../responsive-lightbox.php:926
|
467 |
msgid "Allow prettyPhoto to update the url to enable deeplinking."
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: ../responsive-lightbox.php:944
|
471 |
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: ../responsive-lightbox.php:962
|
475 |
msgid "Set to false if you open forms inside prettyPhoto."
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: ../responsive-lightbox.php:980
|
479 |
msgid "Display links to Facebook and Twitter."
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: ../responsive-lightbox.php:998
|
483 |
msgid "The transition type."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: ../responsive-lightbox.php:1008
|
487 |
msgid "Space between FancyBox wrapper and content."
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: ../responsive-lightbox.php:1018
|
491 |
msgid "Space between viewport and FancyBox wrapper."
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: ../responsive-lightbox.php:1036
|
495 |
msgid ""
|
496 |
"When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
|
497 |
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
|
498 |
"to FALSE."
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: ../responsive-lightbox.php:1054
|
502 |
msgid "Toggle overlay."
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: ../responsive-lightbox.php:1072
|
506 |
msgid "Toggle close button."
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: ../responsive-lightbox.php:1090
|
510 |
msgid "Toggle if pressing Esc button closes FancyBox."
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: ../responsive-lightbox.php:1108
|
514 |
msgid "Toggle if clicking the overlay should close FancyBox."
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: ../responsive-lightbox.php:1126
|
518 |
msgid "Toggle if clicking the content should close FancyBox."
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: ../responsive-lightbox.php:1144
|
522 |
msgid ""
|
523 |
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: ../responsive-lightbox.php:1162
|
527 |
msgid "Toggle navigation arrows."
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: ../responsive-lightbox.php:1180
|
531 |
msgid "If true, FancyBox is scaled to fit in viewport."
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: ../responsive-lightbox.php:1198
|
535 |
msgid "Set the overflow CSS property to create or hide scrollbars."
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: ../responsive-lightbox.php:1216
|
539 |
msgid "When true, FancyBox is centered while scrolling page."
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: ../responsive-lightbox.php:1234
|
543 |
msgid "When true, transparency of content is changed for elastic transitions."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: ../responsive-lightbox.php:1247
|
547 |
msgid "Opacity of the overlay."
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: ../responsive-lightbox.php:1257
|
551 |
msgid "Color of the overlay."
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: ../responsive-lightbox.php:1275
|
555 |
msgid "Toggle title."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: ../responsive-lightbox.php:1293
|
559 |
msgid "The position of title."
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: ../responsive-lightbox.php:1311
|
563 |
msgid "Easing used for elastic animations."
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: ../responsive-lightbox.php:1321
|
567 |
msgid "Speed of the fade and elastic transitions, in milliseconds."
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: ../responsive-lightbox.php:1331
|
571 |
msgid "Speed of resizing when changing gallery items, in milliseconds."
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: ../responsive-lightbox.php:1341
|
575 |
msgid "Speed of the content fading while changing gallery items."
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: ../responsive-lightbox.php:1351
|
579 |
msgid "Width of the video."
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: ../responsive-lightbox.php:1361
|
583 |
msgid "Height of the video."
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: ../responsive-lightbox.php:1545
|
587 |
msgid ""
|
588 |
"Changes were not saved because there was attempt to save settings of "
|
589 |
"inactive script. The site has been reloaded to the proper script settings."
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: ../responsive-lightbox.php:1557
|
593 |
msgid "Settings of SwipeBox script were restored to defaults."
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: ../responsive-lightbox.php:1563
|
597 |
msgid "Settings of prettyPhoto script were restored to defaults."
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: ../responsive-lightbox.php:1569
|
601 |
msgid "Settings of FancyBox script were restored to defaults."
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: ../responsive-lightbox.php:1573
|
605 |
msgid ""
|
606 |
"Changes were not set to defaults because there was attempt to reset settings "
|
607 |
"of inactive script. The site has been reloaded to the proper script settings."
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: ../responsive-lightbox.php:1587 ../responsive-lightbox.php:1588
|
611 |
+
#: ../responsive-lightbox.php:1602 ../responsive-lightbox.php:1634
|
612 |
msgid "Responsive Lightbox"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: ../responsive-lightbox.php:1627
|
616 |
msgid "Reset to defaults"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: ../responsive-lightbox.php:1636
|
620 |
msgid "Need support?"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: ../responsive-lightbox.php:1637
|
624 |
msgid ""
|
625 |
"If you are having problems with this plugin, please talk about them in the"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: ../responsive-lightbox.php:1637
|
629 |
msgid "Support forum"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: ../responsive-lightbox.php:1639
|
633 |
msgid "Do you like this plugin?"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: ../responsive-lightbox.php:1640
|
637 |
msgid "Rate it 5"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: ../responsive-lightbox.php:1640
|
641 |
msgid "on WordPress.org"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: ../responsive-lightbox.php:1641
|
645 |
msgid "Blog about it & link to the"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: ../responsive-lightbox.php:1641
|
649 |
msgid "plugin page"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: ../responsive-lightbox.php:1642
|
653 |
msgid "Check out our other"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: ../responsive-lightbox.php:1642
|
657 |
msgid "WordPress plugins"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: ../responsive-lightbox.php:1669
|
661 |
msgid "Are you sure you want to reset scripts settings to defaults?"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: ../responsive-lightbox.php:1882
|
665 |
msgid "Support"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: ../responsive-lightbox.php:1904
|
669 |
msgid "Settings"
|
670 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
|
|
4 |
Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.6.1
|
7 |
-
Stable tag: 1.2.
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -18,7 +18,7 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
|
|
18 |
|
19 |
= Features include: =
|
20 |
|
21 |
-
* Select from 3 responsive lightbox scripts
|
22 |
* Automatically add lightbox to WordPress image galleries
|
23 |
* Automatically add lightbox to WordPress image links
|
24 |
* Automatically add lightbox to WordPress video links (YouTube, Vimeo)
|
@@ -54,6 +54,9 @@ No questions yet.
|
|
54 |
|
55 |
== Changelog ==
|
56 |
|
|
|
|
|
|
|
57 |
|
58 |
= 1.2.1 =
|
59 |
* New: Support for images loaded via AJAX
|
@@ -99,6 +102,6 @@ Initial release
|
|
99 |
|
100 |
== Upgrade Notice ==
|
101 |
|
102 |
-
= 1.2.
|
103 |
-
* New:
|
104 |
-
*
|
4 |
Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.6.1
|
7 |
+
Stable tag: 1.2.2
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
18 |
|
19 |
= Features include: =
|
20 |
|
21 |
+
* Select from 3 responsive lightbox scripts (SwipeBox, prettyPhoto, FancyBox)
|
22 |
* Automatically add lightbox to WordPress image galleries
|
23 |
* Automatically add lightbox to WordPress image links
|
24 |
* Automatically add lightbox to WordPress video links (YouTube, Vimeo)
|
54 |
|
55 |
== Changelog ==
|
56 |
|
57 |
+
= 1.2.2 =
|
58 |
+
* New: Option to force PNG icons in case of display problems
|
59 |
+
* Fix: Bug with video width not working in SwipeBox
|
60 |
|
61 |
= 1.2.1 =
|
62 |
* New: Support for images loaded via AJAX
|
102 |
|
103 |
== Upgrade Notice ==
|
104 |
|
105 |
+
= 1.2.2 =
|
106 |
+
* New: Option to force PNG icons in case of display problems
|
107 |
+
* Fix: Bug with video width not working in SwipeBox
|
responsive-lightbox.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Responsive Lightbox
|
4 |
Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
|
5 |
-
Version: 1.2.
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
|
@@ -57,6 +57,7 @@ class Responsive_Lightbox
|
|
57 |
),
|
58 |
'swipebox' => array(
|
59 |
'animation' => 'css',
|
|
|
60 |
'hide_bars' => TRUE,
|
61 |
'hide_bars_delay' => 5000,
|
62 |
'video_max_width' => 1080
|
@@ -89,7 +90,7 @@ class Responsive_Lightbox
|
|
89 |
'video_height' => 720
|
90 |
)
|
91 |
),
|
92 |
-
'version' => '1.2.
|
93 |
);
|
94 |
private $scripts = array();
|
95 |
private $options = array();
|
@@ -118,23 +119,28 @@ class Responsive_Lightbox
|
|
118 |
update_option('responsive_lightbox_configuration', $array);
|
119 |
delete_option('rl_configuration');
|
120 |
}
|
121 |
-
|
122 |
-
update_option('responsive_lightbox_version', $this->defaults['version']);
|
123 |
}
|
124 |
|
125 |
-
|
126 |
-
|
127 |
|
128 |
$this->options['settings'] = array_merge($this->defaults['settings'], (($array = get_option('responsive_lightbox_settings')) === FALSE ? array() : $array));
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
//actions
|
132 |
add_action('plugins_loaded', array(&$this, 'load_textdomain'));
|
133 |
add_action('plugins_loaded', array(&$this, 'load_defaults'));
|
134 |
add_action('admin_init', array(&$this, 'register_settings'));
|
135 |
add_action('admin_menu', array(&$this, 'admin_menu_options'));
|
136 |
-
add_action('wp_enqueue_scripts', array(&$this, '
|
137 |
-
add_action('admin_enqueue_scripts', array(&$this, '
|
138 |
|
139 |
//filters
|
140 |
add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
|
@@ -434,9 +440,10 @@ class Responsive_Lightbox
|
|
434 |
|
435 |
if($this->options['settings']['script'] === 'swipebox')
|
436 |
{
|
437 |
-
add_settings_field('
|
438 |
-
add_settings_field('
|
439 |
-
add_settings_field('
|
|
|
440 |
}
|
441 |
elseif($this->options['settings']['script'] === 'prettyphoto')
|
442 |
{
|
@@ -608,16 +615,16 @@ class Responsive_Lightbox
|
|
608 |
}
|
609 |
|
610 |
|
611 |
-
public function
|
612 |
{
|
613 |
echo '
|
614 |
-
<div id="
|
615 |
|
616 |
foreach($this->scripts['swipebox']['animations'] as $val => $trans)
|
617 |
{
|
618 |
echo '
|
619 |
-
<input id="rl-
|
620 |
-
<label for="rl-
|
621 |
}
|
622 |
|
623 |
echo '
|
@@ -626,21 +633,21 @@ class Responsive_Lightbox
|
|
626 |
}
|
627 |
|
628 |
|
629 |
-
public function
|
630 |
{
|
631 |
echo '
|
632 |
-
<div id="
|
633 |
|
634 |
foreach($this->choices as $val => $trans)
|
635 |
{
|
636 |
echo '
|
637 |
-
<input id="rl-
|
638 |
-
<label for="rl-
|
639 |
}
|
640 |
|
641 |
echo '
|
642 |
<p class="description">'.__('Disable if you don\'t want to top and bottom bars to be hidden after a period of time.', 'responsive-lightbox').'</p>
|
643 |
-
<div id="
|
644 |
<input type="text" name="responsive_lightbox_configuration[swipebox][hide_bars_delay]" value="'.esc_attr($this->options['configuration']['swipebox']['hide_bars_delay']).'" />
|
645 |
<p class="description">'.__('Enter the time after which the top and bottom bars will be hidden (when hiding is enabled).', 'responsive-lightbox').'</p>
|
646 |
</div>
|
@@ -648,16 +655,34 @@ class Responsive_Lightbox
|
|
648 |
}
|
649 |
|
650 |
|
651 |
-
public function
|
652 |
{
|
653 |
echo '
|
654 |
-
<div id="
|
655 |
<input type="text" name="responsive_lightbox_configuration[swipebox][video_max_width]" value="'.esc_attr($this->options['configuration']['swipebox']['video_max_width']).'" />
|
656 |
<p class="description">'.__('Enter the max video width in a lightbox.', 'responsive-lightbox').'</p>
|
657 |
</div>';
|
658 |
}
|
659 |
|
660 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
661 |
public function rl_pp_animation_speed()
|
662 |
{
|
663 |
echo '
|
@@ -1365,9 +1390,14 @@ class Responsive_Lightbox
|
|
1365 |
//animation
|
1366 |
$input['swipebox']['animation'] = (isset($input['swipebox']['animation']) && in_array($input['swipebox']['animation'], array_keys($this->scripts['swipebox']['animations'])) ? $input['swipebox']['animation'] : $this->defaults['configuration']['swipebox']['animation']);
|
1367 |
|
1368 |
-
//
|
|
|
|
|
|
|
1369 |
$input['swipebox']['hide_bars'] = (isset($input['swipebox']['hide_bars']) && in_array($input['swipebox']['hide_bars'], array_keys($this->choices)) ? ($input['swipebox']['hide_bars'] === 'yes' ? TRUE : FALSE) : $this->defaults['configuration']['swipebox']['hide_bars']);
|
1370 |
$input['swipebox']['hide_bars_delay'] = (int)($input['swipebox']['hide_bars_delay'] > 0 ? $input['swipebox']['hide_bars_delay'] : $this->defaults['configuration']['swipebox']['hide_bars_delay']);
|
|
|
|
|
1371 |
$input['swipebox']['video_max_width'] = (int)($input['swipebox']['video_max_width'] > 0 ? $input['swipebox']['video_max_width'] : $this->defaults['configuration']['swipebox']['video_max_width']);
|
1372 |
}
|
1373 |
elseif($this->options['settings']['script'] === 'prettyphoto' && $_POST['script_r'] === 'prettyphoto')
|
@@ -1553,7 +1583,7 @@ class Responsive_Lightbox
|
|
1553 |
|
1554 |
public function admin_menu_options()
|
1555 |
{
|
1556 |
-
|
1557 |
__('Responsive Lightbox', 'responsive-lightbox'),
|
1558 |
__('Responsive Lightbox', 'responsive-lightbox'),
|
1559 |
'manage_options',
|
@@ -1601,7 +1631,7 @@ class Responsive_Lightbox
|
|
1601 |
</form>
|
1602 |
</div>
|
1603 |
<div class="df-credits postbox-container">
|
1604 |
-
<h3 class="metabox-title">'.__('Responsive Lightbox', 'responsive-lightbox').'</h3>
|
1605 |
<div class="inner">
|
1606 |
<h3>'.__('Need support?', 'responsive-lightbox').'</h3>
|
1607 |
<p>'.__('If you are having problems with this plugin, please talk about them in the', 'responsive-lightbox').' <a href="http://www.dfactory.eu/support/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum', 'responsive-lightbox').'">'.__('Support forum', 'responsive-lightbox').'</a></p>
|
@@ -1620,7 +1650,7 @@ class Responsive_Lightbox
|
|
1620 |
}
|
1621 |
|
1622 |
|
1623 |
-
public function
|
1624 |
{
|
1625 |
if($page === 'settings_page_responsive-lightbox')
|
1626 |
{
|
@@ -1661,7 +1691,7 @@ class Responsive_Lightbox
|
|
1661 |
}
|
1662 |
|
1663 |
|
1664 |
-
public function
|
1665 |
{
|
1666 |
$args = array(
|
1667 |
'script' => $this->options['settings']['script'],
|
@@ -1732,12 +1762,20 @@ class Responsive_Lightbox
|
|
1732 |
$args = array_merge(
|
1733 |
$args,
|
1734 |
array(
|
1735 |
-
'animation' => ($this->options['configuration']['swipebox']['animation'] === 'css' ? TRUE : FALSE),
|
1736 |
'hideBars' => $this->getBooleanValue($this->options['configuration']['swipebox']['hide_bars']),
|
1737 |
'hideBarsDelay' => $this->options['configuration']['swipebox']['hide_bars_delay'],
|
1738 |
'videoMaxWidth' => $this->options['configuration']['swipebox']['video_max_width']
|
1739 |
)
|
1740 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1741 |
}
|
1742 |
elseif($this->options['settings']['script'] === 'fancybox')
|
1743 |
{
|
@@ -1796,6 +1834,11 @@ class Responsive_Lightbox
|
|
1796 |
|
1797 |
wp_enqueue_script('responsive-lightbox-front');
|
1798 |
|
|
|
|
|
|
|
|
|
|
|
1799 |
wp_localize_script(
|
1800 |
'responsive-lightbox-front',
|
1801 |
'rlArgs',
|
@@ -1804,6 +1847,9 @@ class Responsive_Lightbox
|
|
1804 |
}
|
1805 |
|
1806 |
|
|
|
|
|
|
|
1807 |
private function getBooleanValue($option)
|
1808 |
{
|
1809 |
return ($option === TRUE ? 1 : 0);
|
2 |
/*
|
3 |
Plugin Name: Responsive Lightbox
|
4 |
Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
|
5 |
+
Version: 1.2.2
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
|
57 |
),
|
58 |
'swipebox' => array(
|
59 |
'animation' => 'css',
|
60 |
+
'force_png_icons' => FALSE,
|
61 |
'hide_bars' => TRUE,
|
62 |
'hide_bars_delay' => 5000,
|
63 |
'video_max_width' => 1080
|
90 |
'video_height' => 720
|
91 |
)
|
92 |
),
|
93 |
+
'version' => '1.2.2'
|
94 |
);
|
95 |
private $scripts = array();
|
96 |
private $options = array();
|
119 |
update_option('responsive_lightbox_configuration', $array);
|
120 |
delete_option('rl_configuration');
|
121 |
}
|
|
|
|
|
122 |
}
|
123 |
|
124 |
+
//update plugin version
|
125 |
+
update_option('responsive_lightbox_version', $this->defaults['version'], '', 'no');
|
126 |
|
127 |
$this->options['settings'] = array_merge($this->defaults['settings'], (($array = get_option('responsive_lightbox_settings')) === FALSE ? array() : $array));
|
128 |
+
|
129 |
+
//for multi arrays we have to merge them separately
|
130 |
+
$db_conf_opts = (($base = get_option('responsive_lightbox_configuration')) === FALSE ? array() : $base);
|
131 |
+
|
132 |
+
foreach($this->defaults['configuration'] as $script => $settings)
|
133 |
+
{
|
134 |
+
$this->options['configuration'][$script] = array_merge($settings, (isset($db_conf_opts[$script]) ? $db_conf_opts[$script] : array()));
|
135 |
+
}
|
136 |
|
137 |
//actions
|
138 |
add_action('plugins_loaded', array(&$this, 'load_textdomain'));
|
139 |
add_action('plugins_loaded', array(&$this, 'load_defaults'));
|
140 |
add_action('admin_init', array(&$this, 'register_settings'));
|
141 |
add_action('admin_menu', array(&$this, 'admin_menu_options'));
|
142 |
+
add_action('wp_enqueue_scripts', array(&$this, 'front_scripts_styles'));
|
143 |
+
add_action('admin_enqueue_scripts', array(&$this, 'admin_scripts_styles'));
|
144 |
|
145 |
//filters
|
146 |
add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
|
440 |
|
441 |
if($this->options['settings']['script'] === 'swipebox')
|
442 |
{
|
443 |
+
add_settings_field('rl_sb_animation', __('Animation type', 'responsive-lightbox'), array(&$this, 'rl_sb_animation'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
|
444 |
+
add_settings_field('rl_sb_force_png_icons', __('Force PNG icons', 'responsive-lightbox'), array(&$this, 'rl_sb_force_png_icons'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
|
445 |
+
add_settings_field('rl_sb_hide_bars', __('Top and bottom bars', 'responsive-lightbox'), array(&$this, 'rl_sb_hide_bars'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
|
446 |
+
add_settings_field('rl_sb_video_max_width', __('Video max width', 'responsive-lightbox'), array(&$this, 'rl_sb_video_max_width'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
|
447 |
}
|
448 |
elseif($this->options['settings']['script'] === 'prettyphoto')
|
449 |
{
|
615 |
}
|
616 |
|
617 |
|
618 |
+
public function rl_sb_animation()
|
619 |
{
|
620 |
echo '
|
621 |
+
<div id="rl_sb_animation" class="wplikebtns">';
|
622 |
|
623 |
foreach($this->scripts['swipebox']['animations'] as $val => $trans)
|
624 |
{
|
625 |
echo '
|
626 |
+
<input id="rl-sb-animation-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][animation]" value="'.esc_attr($val).'" '.checked($val, $this->options['configuration']['swipebox']['animation'], FALSE).' />
|
627 |
+
<label for="rl-sb-animation-'.$val.'">'.$trans.'</label>';
|
628 |
}
|
629 |
|
630 |
echo '
|
633 |
}
|
634 |
|
635 |
|
636 |
+
public function rl_sb_hide_bars()
|
637 |
{
|
638 |
echo '
|
639 |
+
<div id="rl_sb_hide_bars" class="wplikebtns">';
|
640 |
|
641 |
foreach($this->choices as $val => $trans)
|
642 |
{
|
643 |
echo '
|
644 |
+
<input id="rl-sb-hide-bars-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][hide_bars]" value="'.esc_attr($val).'" '.checked(($val === 'yes' ? TRUE : FALSE), $this->options['configuration']['swipebox']['hide_bars'], FALSE).' />
|
645 |
+
<label for="rl-sb-hide-bars-'.$val.'">'.$trans.'</label>';
|
646 |
}
|
647 |
|
648 |
echo '
|
649 |
<p class="description">'.__('Disable if you don\'t want to top and bottom bars to be hidden after a period of time.', 'responsive-lightbox').'</p>
|
650 |
+
<div id="rl_sb_hide_bars_delay"'.($this->options['configuration']['swipebox']['hide_bars'] === FALSE ? ' style="display: none;"' : '').'>
|
651 |
<input type="text" name="responsive_lightbox_configuration[swipebox][hide_bars_delay]" value="'.esc_attr($this->options['configuration']['swipebox']['hide_bars_delay']).'" />
|
652 |
<p class="description">'.__('Enter the time after which the top and bottom bars will be hidden (when hiding is enabled).', 'responsive-lightbox').'</p>
|
653 |
</div>
|
655 |
}
|
656 |
|
657 |
|
658 |
+
public function rl_sb_video_max_width()
|
659 |
{
|
660 |
echo '
|
661 |
+
<div id="rl_sb_video_max_width">
|
662 |
<input type="text" name="responsive_lightbox_configuration[swipebox][video_max_width]" value="'.esc_attr($this->options['configuration']['swipebox']['video_max_width']).'" />
|
663 |
<p class="description">'.__('Enter the max video width in a lightbox.', 'responsive-lightbox').'</p>
|
664 |
</div>';
|
665 |
}
|
666 |
|
667 |
|
668 |
+
public function rl_sb_force_png_icons()
|
669 |
+
{
|
670 |
+
echo '
|
671 |
+
<div id="rl_sb_force_png_icons" class="wplikebtns">';
|
672 |
+
|
673 |
+
foreach($this->choices as $val => $trans)
|
674 |
+
{
|
675 |
+
echo '
|
676 |
+
<input id="rl-sb-force-png-icons-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][force_png_icons]" value="'.esc_attr($val).'" '.checked(($val === 'yes' ? TRUE : FALSE), $this->options['configuration']['swipebox']['force_png_icons'], FALSE).' />
|
677 |
+
<label for="rl-sb-force-png-icons-'.$val.'">'.$trans.'</label>';
|
678 |
+
}
|
679 |
+
|
680 |
+
echo '
|
681 |
+
<p class="description">'.__('Enable this if you\'re having problems with navigation icons not visible on some devices.', 'responsive-lightbox').'</p>
|
682 |
+
</div>';
|
683 |
+
}
|
684 |
+
|
685 |
+
|
686 |
public function rl_pp_animation_speed()
|
687 |
{
|
688 |
echo '
|
1390 |
//animation
|
1391 |
$input['swipebox']['animation'] = (isset($input['swipebox']['animation']) && in_array($input['swipebox']['animation'], array_keys($this->scripts['swipebox']['animations'])) ? $input['swipebox']['animation'] : $this->defaults['configuration']['swipebox']['animation']);
|
1392 |
|
1393 |
+
//force png icons
|
1394 |
+
$input['swipebox']['force_png_icons'] = (isset($input['swipebox']['force_png_icons']) && in_array($input['swipebox']['force_png_icons'], array_keys($this->choices)) ? ($input['swipebox']['force_png_icons'] === 'yes' ? TRUE : FALSE) : $this->defaults['configuration']['swipebox']['force_png_icons']);
|
1395 |
+
|
1396 |
+
//bars
|
1397 |
$input['swipebox']['hide_bars'] = (isset($input['swipebox']['hide_bars']) && in_array($input['swipebox']['hide_bars'], array_keys($this->choices)) ? ($input['swipebox']['hide_bars'] === 'yes' ? TRUE : FALSE) : $this->defaults['configuration']['swipebox']['hide_bars']);
|
1398 |
$input['swipebox']['hide_bars_delay'] = (int)($input['swipebox']['hide_bars_delay'] > 0 ? $input['swipebox']['hide_bars_delay'] : $this->defaults['configuration']['swipebox']['hide_bars_delay']);
|
1399 |
+
|
1400 |
+
//video width
|
1401 |
$input['swipebox']['video_max_width'] = (int)($input['swipebox']['video_max_width'] > 0 ? $input['swipebox']['video_max_width'] : $this->defaults['configuration']['swipebox']['video_max_width']);
|
1402 |
}
|
1403 |
elseif($this->options['settings']['script'] === 'prettyphoto' && $_POST['script_r'] === 'prettyphoto')
|
1583 |
|
1584 |
public function admin_menu_options()
|
1585 |
{
|
1586 |
+
add_options_page(
|
1587 |
__('Responsive Lightbox', 'responsive-lightbox'),
|
1588 |
__('Responsive Lightbox', 'responsive-lightbox'),
|
1589 |
'manage_options',
|
1631 |
</form>
|
1632 |
</div>
|
1633 |
<div class="df-credits postbox-container">
|
1634 |
+
<h3 class="metabox-title">'.__('Responsive Lightbox', 'responsive-lightbox').' '.$this->defaults['version'].'</h3>
|
1635 |
<div class="inner">
|
1636 |
<h3>'.__('Need support?', 'responsive-lightbox').'</h3>
|
1637 |
<p>'.__('If you are having problems with this plugin, please talk about them in the', 'responsive-lightbox').' <a href="http://www.dfactory.eu/support/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum', 'responsive-lightbox').'">'.__('Support forum', 'responsive-lightbox').'</a></p>
|
1650 |
}
|
1651 |
|
1652 |
|
1653 |
+
public function admin_scripts_styles($page)
|
1654 |
{
|
1655 |
if($page === 'settings_page_responsive-lightbox')
|
1656 |
{
|
1691 |
}
|
1692 |
|
1693 |
|
1694 |
+
public function front_scripts_styles()
|
1695 |
{
|
1696 |
$args = array(
|
1697 |
'script' => $this->options['settings']['script'],
|
1762 |
$args = array_merge(
|
1763 |
$args,
|
1764 |
array(
|
1765 |
+
'animation' => $this->getBooleanValue(($this->options['configuration']['swipebox']['animation'] === 'css' ? TRUE : FALSE)),
|
1766 |
'hideBars' => $this->getBooleanValue($this->options['configuration']['swipebox']['hide_bars']),
|
1767 |
'hideBarsDelay' => $this->options['configuration']['swipebox']['hide_bars_delay'],
|
1768 |
'videoMaxWidth' => $this->options['configuration']['swipebox']['video_max_width']
|
1769 |
)
|
1770 |
);
|
1771 |
+
|
1772 |
+
if($this->options['configuration']['swipebox']['force_png_icons'] === TRUE)
|
1773 |
+
{
|
1774 |
+
wp_add_inline_style(
|
1775 |
+
'responsive-lightbox-swipebox-front',
|
1776 |
+
'#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next, #swipebox-action #swipebox-close { background-image: url('.plugins_url('assets/swipebox/source/img/icons.png' , __FILE__).') !important; }'
|
1777 |
+
);
|
1778 |
+
}
|
1779 |
}
|
1780 |
elseif($this->options['settings']['script'] === 'fancybox')
|
1781 |
{
|
1834 |
|
1835 |
wp_enqueue_script('responsive-lightbox-front');
|
1836 |
|
1837 |
+
wp_add_inline_style(
|
1838 |
+
'responsive-lightbox-swipebox',
|
1839 |
+
'#swipebox-action #swipebox-close, #swipebox-action #swipebox-prev, #swipebox-action #swipebox-next { background-image: url(\'assets/swipebox/source/img/icons.png\') !important; }'
|
1840 |
+
);
|
1841 |
+
|
1842 |
wp_localize_script(
|
1843 |
'responsive-lightbox-front',
|
1844 |
'rlArgs',
|
1847 |
}
|
1848 |
|
1849 |
|
1850 |
+
/**
|
1851 |
+
*
|
1852 |
+
*/
|
1853 |
private function getBooleanValue($option)
|
1854 |
{
|
1855 |
return ($option === TRUE ? 1 : 0);
|