Responsive Lightbox & Gallery - Version 1.2.3

Version Description

  • New: Serbo-Croatian translation, thanks to Borisa Djuraskovic
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 1.2.3
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.3

assets/swipebox/source/jquery.swipebox.js DELETED
@@ -1,451 +0,0 @@
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));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/responsive-lightbox-sr_RS.mo ADDED
Binary file
languages/responsive-lightbox-sr_RS.po ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Responsive Lightbox fr\n"
4
+ "POT-Creation-Date: 2013-07-09 19:35+0100\n"
5
+ "PO-Revision-Date: 2013-10-24 16:29+0100\n"
6
+ "Last-Translator: Li-An <lian00@gmail.com>\n"
7
+ "Language-Team: Li-An <lian00@gmail.com>\n"
8
+ "Language: Français\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../responsive-lightbox.php:253
19
+ msgid "prettyPhoto"
20
+ msgstr "prettyPhoto"
21
+
22
+ #: ../responsive-lightbox.php:255
23
+ msgid "slow"
24
+ msgstr "polako"
25
+
26
+ #: ../responsive-lightbox.php:256
27
+ msgid "normal"
28
+ msgstr "normalno"
29
+
30
+ #: ../responsive-lightbox.php:257
31
+ msgid "fast"
32
+ msgstr "brzo"
33
+
34
+ #: ../responsive-lightbox.php:260
35
+ msgid "default"
36
+ msgstr "default"
37
+
38
+ #: ../responsive-lightbox.php:261
39
+ msgid "light rounded"
40
+ msgstr "svetlo zaokrugljeno"
41
+
42
+ #: ../responsive-lightbox.php:262
43
+ msgid "dark rounded"
44
+ msgstr "tamno zaokrugljeno"
45
+
46
+ #: ../responsive-lightbox.php:263
47
+ msgid "light square"
48
+ msgstr "svetao kvadrat"
49
+
50
+ #: ../responsive-lightbox.php:264
51
+ msgid "dark square"
52
+ msgstr "taman kvadrat"
53
+
54
+ #: ../responsive-lightbox.php:265
55
+ msgid "facebook"
56
+ msgstr "facebook"
57
+
58
+ #: ../responsive-lightbox.php:268
59
+ msgid "window"
60
+ msgstr "prozor"
61
+
62
+ #: ../responsive-lightbox.php:269
63
+ msgid "transparent"
64
+ msgstr "transparentno "
65
+
66
+ #: ../responsive-lightbox.php:270
67
+ msgid "opaque"
68
+ msgstr "neprozirno"
69
+
70
+ #: ../responsive-lightbox.php:271
71
+ msgid "direct"
72
+ msgstr "direktno"
73
+
74
+ #: ../responsive-lightbox.php:272
75
+ msgid "gpu"
76
+ msgstr "gpu"
77
+
78
+ #: ../responsive-lightbox.php:277
79
+ msgid "SwipeBox"
80
+ msgstr "SwipeBox"
81
+
82
+ #: ../responsive-lightbox.php:279
83
+ msgid "CSS"
84
+ msgstr "CSS"
85
+
86
+ #: ../responsive-lightbox.php:280
87
+ msgid "jQuery"
88
+ msgstr "jQuery"
89
+
90
+ #: ../responsive-lightbox.php:286
91
+ msgid "Enable"
92
+ msgstr "Omogući"
93
+
94
+ #: ../responsive-lightbox.php:287
95
+ msgid "Disable"
96
+ msgstr "Onesposobi"
97
+
98
+ #: ../responsive-lightbox.php:292 ../responsive-lightbox.php:328
99
+ msgid "General settings"
100
+ msgstr "Opšte postavke"
101
+
102
+ #: ../responsive-lightbox.php:297 ../responsive-lightbox.php:338
103
+ msgid "Lightbox settings"
104
+ msgstr "Lightbox postavke"
105
+
106
+ #: ../responsive-lightbox.php:329
107
+ msgid "Lightbox script"
108
+ msgstr "Lightbox script"
109
+
110
+ #: ../responsive-lightbox.php:330
111
+ msgid "Selector"
112
+ msgstr "Selektor"
113
+
114
+ #: ../responsive-lightbox.php:331
115
+ msgid "Galleries"
116
+ msgstr "Galerijje"
117
+
118
+ #: ../responsive-lightbox.php:332
119
+ msgid "Video links"
120
+ msgstr "Video linkovi"
121
+
122
+ #: ../responsive-lightbox.php:333
123
+ msgid "Image links"
124
+ msgstr "Linkovi slika"
125
+
126
+ #: ../responsive-lightbox.php:334
127
+ msgid "Deactivation"
128
+ msgstr "Deaktivacija"
129
+
130
+ #: ../responsive-lightbox.php:342
131
+ msgid "Animation type"
132
+ msgstr "Tip animacije"
133
+
134
+ #: ../responsive-lightbox.php:343
135
+ msgid "Top and bottom bars"
136
+ msgstr "Gornje i donje poluge"
137
+
138
+ #: ../responsive-lightbox.php:344
139
+ msgid "Video max width"
140
+ msgstr "Maksimalna dužina videa"
141
+
142
+ #: ../responsive-lightbox.php:348
143
+ msgid "Animation speed"
144
+ msgstr "Brzina animacije"
145
+
146
+ #: ../responsive-lightbox.php:349
147
+ msgid "Slideshow"
148
+ msgstr "Slideshow"
149
+
150
+ #: ../responsive-lightbox.php:350
151
+ msgid "Slideshow autoplay"
152
+ msgstr "Slideshow autoplay"
153
+
154
+ #: ../responsive-lightbox.php:351
155
+ msgid "Opacity"
156
+ msgstr "Neprozirnost"
157
+
158
+ #: ../responsive-lightbox.php:352
159
+ msgid "Show title"
160
+ msgstr "Prikaži naslov"
161
+
162
+ #: ../responsive-lightbox.php:353
163
+ msgid "Allow resize big images"
164
+ msgstr "Dozvoli promenu veličine velikih slika"
165
+
166
+ #: ../responsive-lightbox.php:354
167
+ msgid "Video width"
168
+ msgstr "Video širina"
169
+
170
+ #: ../responsive-lightbox.php:355
171
+ msgid "Video height"
172
+ msgstr "Video visina"
173
+
174
+ #: ../responsive-lightbox.php:356
175
+ msgid "Theme"
176
+ msgstr "Tema"
177
+
178
+ #: ../responsive-lightbox.php:357
179
+ msgid "Horizontal padding"
180
+ msgstr "Horizontal popunjavanje"
181
+
182
+ #: ../responsive-lightbox.php:358
183
+ msgid "Hide Flash"
184
+ msgstr "Sakrij Flash"
185
+
186
+ #: ../responsive-lightbox.php:359
187
+ msgid "Flash Window Mode (wmode)"
188
+ msgstr "Flash Window Mode (wmode)"
189
+
190
+ #: ../responsive-lightbox.php:360
191
+ msgid "Video autoplay"
192
+ msgstr "Video autoplay"
193
+
194
+ #: ../responsive-lightbox.php:361
195
+ msgid "Modal"
196
+ msgstr "Modal"
197
+
198
+ #: ../responsive-lightbox.php:362
199
+ msgid "Deeplinking"
200
+ msgstr "Deeplinking"
201
+
202
+ #: ../responsive-lightbox.php:363
203
+ msgid "Overlay gallery"
204
+ msgstr "Zadržavanje galerije"
205
+
206
+ #: ../responsive-lightbox.php:364
207
+ msgid "Keyboard shortcuts"
208
+ msgstr "Skraćenice na tastaturu"
209
+
210
+ #: ../responsive-lightbox.php:365
211
+ msgid "Social (Twitter, Facebook)"
212
+ msgstr "Social (Twitter, Facebook)"
213
+
214
+ #: ../responsive-lightbox.php:383
215
+ msgid "Select your preffered ligthbox effect script."
216
+ msgstr "Izaberite omiljeni ligthbox efekat script."
217
+
218
+ #: ../responsive-lightbox.php:393
219
+ msgid "Select to which rel selector lightbox effect will be applied to."
220
+ msgstr "Izaberite koji rel selektor lightbox efekat će biti primenjen."
221
+
222
+ #: ../responsive-lightbox.php:411
223
+ msgid "Add lightbox to WordPress image galleries by default"
224
+ msgstr "Dodajte lightbox za WordPress galeriju slika po defaultu"
225
+
226
+ #: ../responsive-lightbox.php:429
227
+ msgid "Add lightbox to YouTube and Vimeo video links by default"
228
+ msgstr "Dodajte lightbox za YouTube i Vimeo video linkove po defaultu "
229
+
230
+ #: ../responsive-lightbox.php:447
231
+ msgid "Add lightbox to WordPress image links by default"
232
+ msgstr "Dodajte lightbox za WordPress linkove slika po defaultu"
233
+
234
+ #: ../responsive-lightbox.php:465
235
+ msgid "Delete settings on plugin deactivation"
236
+ msgstr "Izbriši postavke o deaktivaciji plugina "
237
+
238
+ #: ../responsive-lightbox.php:483
239
+ msgid "Select a method of applying a lightbox effect."
240
+ msgstr "Selektuj metod primenjivanja lightbox efekta."
241
+
242
+ #: ../responsive-lightbox.php:501
243
+ msgid "Disable if you don't want to display top and bottom bars."
244
+ msgstr ""
245
+ "Onesposobi ako ne želite da bude prikazano na gornjim i donjim polugama"
246
+
247
+ #: ../responsive-lightbox.php:505
248
+ msgid "Enter the time for images animation (in miliseconds)"
249
+ msgstr "Unesite vreme slike animacije (u milisekundama)"
250
+
251
+ #: ../responsive-lightbox.php:515
252
+ msgid "Enter the max video width in a lightbox"
253
+ msgstr "Unesite maksimalnu dužinu videa u lightbox-u"
254
+
255
+ #: ../responsive-lightbox.php:533
256
+ msgid "Select animation speed for lightbox effect"
257
+ msgstr "Selektuj brzinu animacije za lightbox efekat"
258
+
259
+ #: ../responsive-lightbox.php:551
260
+ msgid "Display images as slideshow"
261
+ msgstr "Prikaži slike kao slideshow"
262
+
263
+ #: ../responsive-lightbox.php:555
264
+ msgid "Enter time (in miliseconds)"
265
+ msgstr "Unesi vreme (u milisekundama)"
266
+
267
+ #: ../responsive-lightbox.php:573
268
+ msgid "Automatically start slideshow"
269
+ msgstr "Automatski aktiviraj slideshow"
270
+
271
+ #: ../responsive-lightbox.php:583
272
+ msgid "Value between 0 and 1 (for e.g. 0.5)"
273
+ msgstr "Vrednost izmedju 0 i 1 (npr. 0.5)"
274
+
275
+ #: ../responsive-lightbox.php:601
276
+ msgid "Display image tiltle"
277
+ msgstr "Prikaži naslov slike"
278
+
279
+ #: ../responsive-lightbox.php:619
280
+ msgid "Resize the photos bigger than viewport."
281
+ msgstr "Promeni veličinu fotografijama koje su veće od viewport-a."
282
+
283
+ #: ../responsive-lightbox.php:629 ../responsive-lightbox.php:639
284
+ msgid "in pixels"
285
+ msgstr "u pixelima"
286
+
287
+ #: ../responsive-lightbox.php:657
288
+ msgid "Select theme for lightbox effect"
289
+ msgstr "Selektuj temu za lightbox efekat"
290
+
291
+ #: ../responsive-lightbox.php:667
292
+ msgid "Horizontal padding (in pixels)"
293
+ msgstr "Horizontalno postavljanje (u pixelima)"
294
+
295
+ #: ../responsive-lightbox.php:685
296
+ msgid ""
297
+ "Hides all the flash object on a page. Enable this if flash appears over "
298
+ "prettyPhoto"
299
+ msgstr ""
300
+ "Sakriva sve flash object-e na stranici. Omogući ovo ako se flash pojavi "
301
+ "preko prettyPhoto"
302
+
303
+ #: ../responsive-lightbox.php:703
304
+ msgid "Select flash window mode"
305
+ msgstr "Selektuj flash window mode"
306
+
307
+ #: ../responsive-lightbox.php:721
308
+ msgid "Automatically start videos"
309
+ msgstr "Automatiski pokreni videe"
310
+
311
+ #: ../responsive-lightbox.php:739
312
+ msgid "If set to true, only the close button will close the window"
313
+ msgstr ""
314
+ "Ako je postavjleno na dobro, pojaviće se samo ZATVORI dugme na prozoru."
315
+
316
+ #: ../responsive-lightbox.php:757
317
+ msgid "Allow prettyPhoto to update the url to enable deeplinking"
318
+ msgstr "Dozvoli prettyPhoto da update-uje url za omogućavanje deeplinking-a"
319
+
320
+ #: ../responsive-lightbox.php:775
321
+ msgid "If enabled, a gallery will overlay the fullscreen image on mouse over"
322
+ msgstr "Ako je omogućeno, galerija će postaviti sliku preko celog ekrana mišem"
323
+
324
+ #: ../responsive-lightbox.php:793
325
+ msgid "Set to false if you open forms inside prettyPhoto"
326
+ msgstr "Namesti na loše ako otvorite forme unutar prettyPhoto"
327
+
328
+ #: ../responsive-lightbox.php:811
329
+ msgid "Display links to Facebook and Twitter"
330
+ msgstr "Prikaži linkove za Facebook i Twitter"
331
+
332
+ #: ../responsive-lightbox.php:906
333
+ msgid ""
334
+ "Changes were not saved because there was attempt to save settings of "
335
+ "inactive script. The site has been reloaded to the proper script settings."
336
+ msgstr ""
337
+ "Promene nisu sačuvane jer je pokušano sačuvavanje postavki neaktivnog "
338
+ "skripta. Sajt je ponovo učitan u odgovarajućim script postavkama."
339
+
340
+ #: ../responsive-lightbox.php:918
341
+ msgid "Settings of SwipeBox script were restored to defaults."
342
+ msgstr "Postavke SwipeBox scripta gde je ponovo namešten na default."
343
+
344
+ #: ../responsive-lightbox.php:924
345
+ msgid "Settings of prettyPhoto script were restored to defaults."
346
+ msgstr "Postavke prettyPhoto scripta gde je ponovo namešten na default."
347
+
348
+ #: ../responsive-lightbox.php:928
349
+ msgid ""
350
+ "Changes were not set to defaults because there was attempt to reset settings "
351
+ "of inactive script. The site has been reloaded to the proper script settings."
352
+ msgstr ""
353
+ "Promene nisu nameštene na default jer je pokušano resetovanje postavki "
354
+ "neaktivnog skripta. Sajt je ponovo učitan u odgovarajućim script postavkama."
355
+
356
+ #: ../responsive-lightbox.php:942 ../responsive-lightbox.php:943
357
+ #: ../responsive-lightbox.php:957 ../responsive-lightbox.php:989
358
+ msgid "Responsive Lightbox"
359
+ msgstr "Responsive Lightbox"
360
+
361
+ #: ../responsive-lightbox.php:982
362
+ msgid "Reset to defaults"
363
+ msgstr "Resetujte do defaulta"
364
+
365
+ #: ../responsive-lightbox.php:991
366
+ msgid "Need support?"
367
+ msgstr "Potrebna vam je podrška?"
368
+
369
+ #: ../responsive-lightbox.php:992
370
+ msgid ""
371
+ "If you are having problems with this plugin, please talk about them in the"
372
+ msgstr "Ako imate probleme sa ovim pluginom, pričajte o njima u "
373
+
374
+ #: ../responsive-lightbox.php:992
375
+ msgid "Support forum"
376
+ msgstr "Forum podrške"
377
+
378
+ #: ../responsive-lightbox.php:994
379
+ msgid "Do you like this plugin?"
380
+ msgstr "Da li vam se dopada plugin?"
381
+
382
+ #: ../responsive-lightbox.php:995
383
+ msgid "Rate it 5"
384
+ msgstr "Oceni u 5"
385
+
386
+ #: ../responsive-lightbox.php:995
387
+ msgid "on WordPress.org"
388
+ msgstr "on WordPress.org"
389
+
390
+ #: ../responsive-lightbox.php:996
391
+ msgid "Blog about it & link to the"
392
+ msgstr "Blog o tome i link za"
393
+
394
+ #: ../responsive-lightbox.php:996
395
+ msgid "plugin page"
396
+ msgstr "plugin stranica"
397
+
398
+ #: ../responsive-lightbox.php:997
399
+ msgid "Check out our other"
400
+ msgstr "Proverite druge naše"
401
+
402
+ #: ../responsive-lightbox.php:997
403
+ msgid "WordPress plugins"
404
+ msgstr "WordPress pluginovi"
405
+
406
+ #: ../responsive-lightbox.php:1022
407
+ msgid "Are you sure you want to reset scripts settings to defaults?"
408
+ msgstr ""
409
+ "Da li ste sigurni da želite da resetujete postavke skripta po defaultu?"
410
+
411
+ #: ../responsive-lightbox.php:1149
412
+ msgid "Support"
413
+ msgstr "Podrška"
414
+
415
+ #: ../responsive-lightbox.php:1171
416
+ msgid "Settings"
417
+ msgstr "Postavke"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  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.2
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -35,6 +35,7 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
35
  * Japanese - by stranger-jp
36
  * Persian - by [Ali Mirzaei](http://alimir.ir/)
37
  * Polish - by Bartosz Arendt
 
38
 
39
 
40
  == Installation ==
@@ -54,6 +55,9 @@ No questions yet.
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
@@ -102,6 +106,5 @@ Initial release
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
3
  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.7
7
+ Stable tag: 1.2.3
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
35
  * Japanese - by stranger-jp
36
  * Persian - by [Ali Mirzaei](http://alimir.ir/)
37
  * Polish - by Bartosz Arendt
38
+ * Serbo-Croatian - by Borisa Djuraskovic
39
 
40
 
41
  == Installation ==
55
 
56
  == Changelog ==
57
 
58
+ = 1.2.3 =
59
+ * New: Serbo-Croatian translation, thanks to Borisa Djuraskovic
60
+
61
  = 1.2.2 =
62
  * New: Option to force PNG icons in case of display problems
63
  * Fix: Bug with video width not working in SwipeBox
106
 
107
  == Upgrade Notice ==
108
 
109
+ = 1.2.3 =
110
+ * New: Serbo-Croatian translation, thanks to Borisa Djuraskovic
 
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.2
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -90,7 +90,7 @@ class Responsive_Lightbox
90
  'video_height' => 720
91
  )
92
  ),
93
- 'version' => '1.2.2'
94
  );
95
  private $scripts = array();
96
  private $options = array();
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.3
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
90
  'video_height' => 720
91
  )
92
  ),
93
+ 'version' => '1.2.3'
94
  );
95
  private $scripts = array();
96
  private $options = array();