Responsive Lightbox & Gallery - Version 1.6.0

Version Description

  • New: Introducing Justified Gallery and Lightcase Lightbox premium extensions.
  • New: Option to set single images title from image title, caption, alt or description
  • Tweak: Confirmed WP 4.3 compatibility
Download this release

Release Info

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

Code changes from version 1.5.7 to 1.6.0

assets/nivo/nivo-lightbox.min.js CHANGED
@@ -6,4 +6,4 @@
6
  * Free to use and abuse under the MIT license.
7
  * http://www.opensource.org/licenses/mit-license.php
8
  */
9
- (function(e,t,n,r){function o(t,n){this.el=t;this.$el=e(this.el);this.options=e.extend({},s,n);this._defaults=s;this._name=i;this.init()}var i="nivoLightbox",s={effect:"fade",theme:"default",keyboardNav:true,clickOverlayToClose:true,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};o.prototype={init:function(){var t=this;if(!e("html").hasClass("nivo-lightbox-notouch"))e("html").addClass("nivo-lightbox-notouch");if("ontouchstart"in n)e("html").removeClass("nivo-lightbox-notouch");this.$el.on("click",function(e){t.showLightbox(e)});if(this.options.keyboardNav){e("body").off("keyup").on("keyup",function(n){var r=n.keyCode?n.keyCode:n.which;if(r==27)t.destructLightbox();if(r==37)e(".nivo-lightbox-prev").trigger("click");if(r==39)e(".nivo-lightbox-next").trigger("click")})}this.options.onInit.call(this)},showLightbox:function(t){var n=this,r=this.$el;var i=this.checkContent(r);if(!i)return;t.preventDefault();this.options.beforeShowLightbox.call(this);var s=this.constructLightbox();if(!s)return;var o=s.find(".nivo-lightbox-content");if(!o)return;e("body").addClass("nivo-lightbox-body-effect-"+this.options.effect);this.processContent(o,r);if(this.$el.attr("data-lightbox-gallery")){var u=e('[data-lightbox-gallery="'+this.$el.attr("data-lightbox-gallery")+'"]');e(".nivo-lightbox-nav").show();e(".nivo-lightbox-prev").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i-1);if(!e(r).length)r=u.last();n.processContent(o,r);n.options.onPrev.call(this,[r])});e(".nivo-lightbox-next").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i+1);if(!e(r).length)r=u.first();n.processContent(o,r);n.options.onNext.call(this,[r])})}setTimeout(function(){s.addClass("nivo-lightbox-open");n.options.afterShowLightbox.call(this,[s])},1)},checkContent:function(e){var t=this,n=e.attr("href"),r=n.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);if(n.match(/\.(jpeg|jpg|gif|png)$/i)!==null){return true}else if(r){return true}else if(e.attr("data-lightbox-type")=="ajax"){return true}else if(n.substring(0,1)=="#"&&e.attr("data-lightbox-type")=="inline"){return true}else if(e.attr("data-lightbox-type")=="iframe"){return true}return false},processContent:function(n,r){var i=this,s=r.attr("href"),o=s.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);n.html("").addClass("nivo-lightbox-loading");if(this.isHidpi()&&r.attr("data-lightbox-hidpi")){s=r.attr("data-lightbox-hidpi")}if(s.match(/\.(jpeg|jpg|gif|png)$/i)!==null){var u=e("<img>",{src:s});u.one("load",function(){var r=e('<div class="nivo-lightbox-image" />');r.append(u);n.html(r).removeClass("nivo-lightbox-loading");r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"});e(t).resize(function(){r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"})})}).each(function(){if(this.complete)e(this).load()});u.error(function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")})}else if(o){var a="",f="nivo-lightbox-video";if(o[1]=="youtube"){a="http://www.youtube.com/embed/"+o[4];f="nivo-lightbox-youtube"}if(o[1]=="youtu"){a="http://www.youtube.com/embed/"+o[3];f="nivo-lightbox-youtube"}if(o[1]=="vimeo"){a="http://player.vimeo.com/video/"+o[3];f="nivo-lightbox-vimeo"}if(a){var l=e("<iframe>",{src:a,"class":f,frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(l);l.load(function(){n.removeClass("nivo-lightbox-loading")})}}else if(r.attr("data-lightbox-type")=="ajax"){e.ajax({url:s,cache:false,success:function(r){var i=e('<div class="nivo-lightbox-ajax" />');i.append(r);n.html(i).removeClass("nivo-lightbox-loading");if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}e(t).resize(function(){if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}})},error:function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")}})}else if(s.substring(0,1)=="#"&&r.attr("data-lightbox-type")=="inline"){if(e(s).length){var c=e('<div class="nivo-lightbox-inline" />');c.append(e(s).clone().show());n.html(c).removeClass("nivo-lightbox-loading");if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}e(t).resize(function(){if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}})}else{var h=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(h).removeClass("nivo-lightbox-loading")}}else if(r.attr("data-lightbox-type")=="iframe"){var p=e("<iframe>",{src:s,"class":"nivo-lightbox-item",frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(p);p.load(function(){n.removeClass("nivo-lightbox-loading")})}else{return false}if(r.attr("title")){var d=e("<span>",{"class":"nivo-lightbox-title"});d.text(r.attr("title"));e(".nivo-lightbox-title-wrap").html(d)}else{e(".nivo-lightbox-title-wrap").html("")}},constructLightbox:function(){if(e(".nivo-lightbox-overlay").length)return e(".nivo-lightbox-overlay");var t=e("<div>",{"class":"nivo-lightbox-overlay nivo-lightbox-theme-"+this.options.theme+" nivo-lightbox-effect-"+this.options.effect});var n=e("<div>",{"class":"nivo-lightbox-wrap"});var r=e("<div>",{"class":"nivo-lightbox-content"});var i=e('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>');var s=e('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>');var o=e("<div>",{"class":"nivo-lightbox-title-wrap"});var u=0;if(u)t.addClass("nivo-lightbox-ie");n.append(r);n.append(o);t.append(n);t.append(i);t.append(s);e("body").append(t);var a=this;if(a.options.clickOverlayToClose){t.on("click",function(t){if(t.target===this||e(t.target).hasClass("nivo-lightbox-content")||e(t.target).hasClass("nivo-lightbox-image")){a.destructLightbox()}})}s.on("click",function(e){e.preventDefault();a.destructLightbox()});return t},destructLightbox:function(){var t=this;this.options.beforeHideLightbox.call(this);e(".nivo-lightbox-overlay").removeClass("nivo-lightbox-open");e(".nivo-lightbox-nav").hide();e("body").removeClass("nivo-lightbox-body-effect-"+t.options.effect);var n=0;if(n){e(".nivo-lightbox-overlay iframe").attr("src"," ");e(".nivo-lightbox-overlay iframe").remove()}e(".nivo-lightbox-prev").off("click");e(".nivo-lightbox-next").off("click");e(".nivo-lightbox-content").empty();this.options.afterHideLightbox.call(this)},isHidpi:function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(t.devicePixelRatio>1)return true;if(t.matchMedia&&t.matchMedia(e).matches)return true;return false}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){e.data(this,i,new o(this,t))}})}})(jQuery,window,document)
6
  * Free to use and abuse under the MIT license.
7
  * http://www.opensource.org/licenses/mit-license.php
8
  */
9
+ (function(e,t,n,r){function o(t,n){this.el=t;this.$el=e(this.el);this.options=e.extend({},s,n);this._defaults=s;this._name=i;this.init()}var i="nivoLightbox",s={effect:"fade",theme:"default",keyboardNav:true,clickOverlayToClose:true,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};o.prototype={init:function(){var t=this;if(!e("html").hasClass("nivo-lightbox-notouch"))e("html").addClass("nivo-lightbox-notouch");if("ontouchstart"in n)e("html").removeClass("nivo-lightbox-notouch");this.$el.on("click",function(e){t.showLightbox(e)});if(this.options.keyboardNav){e("body").off("keyup").on("keyup",function(n){var r=n.keyCode?n.keyCode:n.which;if(r==27)t.destructLightbox();if(r==37)e(".nivo-lightbox-prev").trigger("click");if(r==39)e(".nivo-lightbox-next").trigger("click")})}this.options.onInit.call(this)},showLightbox:function(t){var n=this,r=this.$el;var i=this.checkContent(r);if(!i)return;t.preventDefault();this.options.beforeShowLightbox.call(this);var s=this.constructLightbox();if(!s)return;var o=s.find(".nivo-lightbox-content");if(!o)return;e("body").addClass("nivo-lightbox-body-effect-"+this.options.effect);this.processContent(o,r);if(this.$el.attr("data-lightbox-gallery")){var u=e('[data-lightbox-gallery="'+this.$el.attr("data-lightbox-gallery")+'"]');e(".nivo-lightbox-nav").show();e(".nivo-lightbox-prev").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i-1);if(!e(r).length)r=u.last();n.processContent(o,r);n.options.onPrev.call(this,[r])});e(".nivo-lightbox-next").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i+1);if(!e(r).length)r=u.first();n.processContent(o,r);n.options.onNext.call(this,[r])})}setTimeout(function(){s.addClass("nivo-lightbox-open");n.options.afterShowLightbox.call(this,[s])},1)},checkContent:function(e){var t=this,n=e.attr("href"),r=n.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);if(n.match(/\.(jpeg|jpg|gif|png)$/i)!==null){return true}else if(r){return true}else if(e.attr("data-lightbox-type")=="ajax"){return true}else if(n.substring(0,1)=="#"&&e.attr("data-lightbox-type")=="inline"){return true}else if(e.attr("data-lightbox-type")=="iframe"){return true}return false},processContent:function(n,r){var i=this,s=r.attr("href"),o=s.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);n.html("").addClass("nivo-lightbox-loading");if(this.isHidpi()&&r.attr("data-lightbox-hidpi")){s=r.attr("data-lightbox-hidpi")}if(s.match(/\.(jpeg|jpg|gif|png)$/i)!==null){var u=e("<img>",{src:s});u.one("load",function(){var r=e('<div class="nivo-lightbox-image" />');r.append(u);n.html(r).removeClass("nivo-lightbox-loading");r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"});e(t).resize(function(){r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"})})}).each(function(){if(this.complete)e(this).load()});u.error(function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")})}else if(o){var a="",f="nivo-lightbox-video";if(o[1]=="youtube"){a="//www.youtube.com/embed/"+o[4];f="nivo-lightbox-youtube"}if(o[1]=="youtu"){a="//www.youtube.com/embed/"+o[3];f="nivo-lightbox-youtube"}if(o[1]=="vimeo"){a="//player.vimeo.com/video/"+o[3];f="nivo-lightbox-vimeo"}if(a){var l=e("<iframe>",{src:a,"class":f,frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(l);l.load(function(){n.removeClass("nivo-lightbox-loading")})}}else if(r.attr("data-lightbox-type")=="ajax"){e.ajax({url:s,cache:false,success:function(r){var i=e('<div class="nivo-lightbox-ajax" />');i.append(r);n.html(i).removeClass("nivo-lightbox-loading");if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}e(t).resize(function(){if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}})},error:function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")}})}else if(s.substring(0,1)=="#"&&r.attr("data-lightbox-type")=="inline"){if(e(s).length){var c=e('<div class="nivo-lightbox-inline" />');c.append(e(s).clone().show());n.html(c).removeClass("nivo-lightbox-loading");if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}e(t).resize(function(){if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}})}else{var h=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(h).removeClass("nivo-lightbox-loading")}}else if(r.attr("data-lightbox-type")=="iframe"){var p=e("<iframe>",{src:s,"class":"nivo-lightbox-item",frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(p);p.load(function(){n.removeClass("nivo-lightbox-loading")})}else{return false}if(r.attr("title")){var d=e("<span>",{"class":"nivo-lightbox-title"});d.text(r.attr("title"));e(".nivo-lightbox-title-wrap").html(d)}else{e(".nivo-lightbox-title-wrap").html("")}},constructLightbox:function(){if(e(".nivo-lightbox-overlay").length)return e(".nivo-lightbox-overlay");var t=e("<div>",{"class":"nivo-lightbox-overlay nivo-lightbox-theme-"+this.options.theme+" nivo-lightbox-effect-"+this.options.effect});var n=e("<div>",{"class":"nivo-lightbox-wrap"});var r=e("<div>",{"class":"nivo-lightbox-content"});var i=e('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>');var s=e('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>');var o=e("<div>",{"class":"nivo-lightbox-title-wrap"});var u=0;if(u)t.addClass("nivo-lightbox-ie");n.append(r);n.append(o);t.append(n);t.append(i);t.append(s);e("body").append(t);var a=this;if(a.options.clickOverlayToClose){t.on("click",function(t){if(t.target===this||e(t.target).hasClass("nivo-lightbox-content")||e(t.target).hasClass("nivo-lightbox-image")){a.destructLightbox()}})}s.on("click",function(e){e.preventDefault();a.destructLightbox()});return t},destructLightbox:function(){var t=this;this.options.beforeHideLightbox.call(this);e(".nivo-lightbox-overlay").removeClass("nivo-lightbox-open");e(".nivo-lightbox-nav").hide();e("body").removeClass("nivo-lightbox-body-effect-"+t.options.effect);var n=0;if(n){e(".nivo-lightbox-overlay iframe").attr("src"," ");e(".nivo-lightbox-overlay iframe").remove()}e(".nivo-lightbox-prev").off("click");e(".nivo-lightbox-next").off("click");e(".nivo-lightbox-content").empty();this.options.afterHideLightbox.call(this)},isHidpi:function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(t.devicePixelRatio>1)return true;if(t.matchMedia&&t.matchMedia(e).matches)return true;return false}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){e.data(this,i,new o(this,t))}})}})(jQuery,window,document)
assets/tosrus/js/jquery.tosrus.min.all.js CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * jQuery Touch Optimized Sliders "R"Us 2.4.0
3
  *
4
  * Copyright (c) Fred Heusschen
5
  * www.frebsite.nl
@@ -10,7 +10,7 @@
10
  * Licensed under the MIT license.
11
  * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
- !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.0";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&this.nodes.$uibg.add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()}),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
14
  /*
15
  * jQuery Touch Optimized Sliders "R"Us
16
  * Autoplay addon
1
  /*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.4.1
3
  *
4
  * Copyright (c) Fred Heusschen
5
  * www.frebsite.nl
10
  * Licensed under the MIT license.
11
  * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
+ !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.1";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||s().add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
14
  /*
15
  * jQuery Touch Optimized Sliders "R"Us
16
  * Autoplay addon
assets/tosrus/js/jquery.tosrus.min.js CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * jQuery Touch Optimized Sliders "R"Us 2.4.0
3
  *
4
  * Copyright (c) Fred Heusschen
5
  * www.frebsite.nl
@@ -10,4 +10,4 @@
10
  * Licensed under the MIT license.
11
  * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
- !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.0";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&this.nodes.$uibg.add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()}),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
1
  /*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.4.1
3
  *
4
  * Copyright (c) Fred Heusschen
5
  * www.frebsite.nl
10
  * Licensed under the MIT license.
11
  * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
+ !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.1";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||s().add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
css/admin.css CHANGED
@@ -1,32 +1,4 @@
1
  /* Responsive Lightbox settings */
2
- .df-credits {
3
- float: right;
4
- width: 280px;
5
- background: #fff;
6
- margin: 20px -300px 20px 20px;
7
- position: relative;
8
- }
9
- .df-credits .inner {
10
- padding-left: 10px;
11
- padding-right: 10px;
12
- }
13
- .df-credits h3 {
14
- font-size: 14px;
15
- line-height: 1.4;
16
- margin: 0;
17
- padding: 8px 12px;
18
- border-bottom: 1px solid #eee;
19
- }
20
- .df-credits .df-link {
21
- font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
22
- font-style: italic;
23
- padding-bottom: 10px;
24
- margin: 0;
25
- }
26
- .df-credits .df-link a {
27
- vertical-align: middle;
28
- padding: 5px 0 0 4px;
29
- }
30
  .responsive-lightbox-settings .df-credits form {
31
  min-width: 260px;
32
  margin-bottom: 1em;
@@ -63,18 +35,83 @@
63
  margin: 0;
64
  text-align: left;
65
  }
 
 
 
 
 
 
 
 
 
66
  .rtl .responsive-lightbox-settings output {
67
  text-align: right;
68
  }
69
 
70
- .wplike-slider span.middle {
71
- width: 150px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  }
73
- .wplike-slider span.left {
74
- margin-right: 10px;
75
  }
76
- .wplike-slider span.right {
77
- margin-left: 10px;
78
  }
79
 
80
  /* All Mobile Sizes (devices and browser) */
@@ -462,10 +499,10 @@
462
  visibility:hidden !important
463
  }
464
  output {
465
- display: block;
466
- font-size: 30px;
467
- font-weight: bold;
468
- text-align: center;
469
- margin: 30px 0;
470
- width: 100%;
471
- }
1
  /* Responsive Lightbox settings */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  .responsive-lightbox-settings .df-credits form {
3
  min-width: 260px;
4
  margin-bottom: 1em;
35
  margin: 0;
36
  text-align: left;
37
  }
38
+ .responsive-lightbox-settings .rl_license .dashicons {
39
+ vertical-align: middle;
40
+ }
41
+ .responsive-lightbox-settings .rl_license .dashicons-yes {
42
+ color: #0073aa;
43
+ }
44
+ .responsive-lightbox-settings .rl_license .dashicons-no {
45
+ color: #a00;
46
+ }
47
  .rtl .responsive-lightbox-settings output {
48
  text-align: right;
49
  }
50
 
51
+ .df-credits {
52
+ float: right;
53
+ width: 280px;
54
+ background: #fff;
55
+ margin: 20px -300px 20px 20px;
56
+ position: relative;
57
+ }
58
+ .df-credits .inner {
59
+ padding-left: 10px;
60
+ padding-right: 10px;
61
+ }
62
+ .df-credits h3 {
63
+ font-size: 14px;
64
+ line-height: 1.4;
65
+ margin: 0;
66
+ padding: 8px 12px;
67
+ border-bottom: 1px solid #eee;
68
+ }
69
+ .df-credits .df-link {
70
+ font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
71
+ font-style: italic;
72
+ padding-bottom: 10px;
73
+ margin: 0;
74
+ }
75
+ .df-credits .df-link a {
76
+ vertical-align: middle;
77
+ padding: 5px 0 0 4px;
78
+ }
79
+ .df-credits .df-link a {
80
+ vertical-align: middle;
81
+ padding: 5px 0 0 4px;
82
+ }
83
+
84
+ .df-addons li {
85
+ float: left;
86
+ margin: 0 1em 1em 0 !important;
87
+ padding: 0;
88
+ vertical-align: top;
89
+ width: 320px;
90
+ border: 1px solid #ddd;
91
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
92
+ color: inherit;
93
+ display: block;
94
+ min-height: 260px;
95
+ overflow: hidden;
96
+ }
97
+ .df-addons li h3.addon-title {
98
+ background: #fff;
99
+ margin: 0 !important;
100
+ padding: 20px !important;
101
+ }
102
+ .df-addons li p.addon-description {
103
+ padding: 20px !important;
104
+ margin: 0 !important;
105
+ }
106
+ .df-addons li a.addon-image {
107
+ margin: 0;
108
+ padding: 0;
109
  }
110
+ .df-addons li a.addon-image img {
111
+ display: block;
112
  }
113
+ .df-addons li a.addon-link {
114
+ margin: 0 20px 20px !important;
115
  }
116
 
117
  /* All Mobile Sizes (devices and browser) */
499
  visibility:hidden !important
500
  }
501
  output {
502
+ display: block;
503
+ font-size: 30px;
504
+ font-weight: bold;
505
+ text-align: center;
506
+ margin: 30px 0;
507
+ width: 100%;
508
+ }
includes/class-frontend.php CHANGED
@@ -28,8 +28,8 @@ class Responsive_Lightbox_Frontend {
28
  /**
29
  * Add lightbox to videos
30
  *
31
- * @param mixed $content
32
- * @return mixed
33
  */
34
  public function add_videos_lightbox_selector( $content ) {
35
 
@@ -72,8 +72,8 @@ class Responsive_Lightbox_Frontend {
72
  /**
73
  * Add lightbox to to image links
74
  *
75
- * @param mixed $content
76
- * @return mixed
77
  */
78
  public function add_links_lightbox_selector( $content ) {
79
 
@@ -82,13 +82,33 @@ class Responsive_Lightbox_Frontend {
82
  preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
83
 
84
  if ( isset( $links[0] ) ) {
 
 
85
  if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true )
86
- $rel_hash = '[gallery-' . $this->generate_password( 4 ) . ']';
87
 
88
  foreach ( $links[0] as $id => $link ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
 
 
90
  if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true ) {
91
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . $rel_hash . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
 
92
  } else {
93
  if ( isset( $result[1] ) ) {
94
  $new_rels = array();
@@ -100,13 +120,15 @@ class Responsive_Lightbox_Frontend {
100
  $new_rels[] = $rel;
101
  }
102
 
103
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( ! empty( $new_rels ) ? implode( ' ', $new_rels ) . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
104
  } else
105
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
106
  }
107
  }
108
- } else
109
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true ? $rel_hash : '-' . $id ) . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . '>', $content );
 
 
110
  }
111
  }
112
 
@@ -120,7 +142,7 @@ class Responsive_Lightbox_Frontend {
120
  */
121
  public function add_gallery_lightbox_selector( $link, $id, $size, $permalink, $icon, $text ) {
122
 
123
- if ( Responsive_Lightbox()->options['settings']['galleries'] === true ) {
124
 
125
  // gallery link target image
126
  $src = array();
@@ -137,7 +159,7 @@ class Responsive_Lightbox_Frontend {
137
  $link = str_replace( '<a href', '<a title="'. $title .'" href', $link );
138
  }
139
 
140
- $link = ( preg_match( '/<a.*? (?:rel|data-rel)=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? data-rel=(?:"|\').*?)((?:"|\').*?>)/', '$1 ' . Responsive_Lightbox()->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '">', $link ) );
141
 
142
  // gallery image size
143
  if ( Responsive_Lightbox()->options['settings']['gallery_image_size'] != 'full' ) {
@@ -160,9 +182,9 @@ class Responsive_Lightbox_Frontend {
160
  /**
161
  * Add lightbox to Jetpack tiled gallery
162
  *
163
- * @param mixed $content
164
- * @param array $attr
165
- * @return mixed
166
  */
167
  public function add_custom_gallery_lightbox_selector( $content, $attr ) {
168
 
@@ -188,9 +210,9 @@ class Responsive_Lightbox_Frontend {
188
  }
189
 
190
  if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
191
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
192
  } else {
193
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . '>', $content );
194
  }
195
  }
196
  }
@@ -203,9 +225,9 @@ class Responsive_Lightbox_Frontend {
203
  /**
204
  * Get attachment title function
205
  *
206
- * @param int $id
207
- * @param string $title_arg
208
- * @return string
209
  */
210
  public function get_attachment_title( $id, $title_arg ) {
211
 
@@ -228,6 +250,7 @@ class Responsive_Lightbox_Frontend {
228
  break;
229
  default:
230
  $title = '';
 
231
  }
232
 
233
  return apply_filters( 'rl_get_attachment_title', $title, $id, $title_arg );
@@ -237,8 +260,8 @@ class Responsive_Lightbox_Frontend {
237
  /**
238
  * Get attachment id by url function, adjusted to work cropped images
239
  *
240
- * @param string $url
241
- * @return int
242
  */
243
  public function get_attachment_id_by_url( $url ) {
244
  $post_id = attachment_url_to_postid( $url );
@@ -263,8 +286,8 @@ class Responsive_Lightbox_Frontend {
263
  /**
264
  * Helper: generate password without wp_rand() and DB call it uses
265
  *
266
- * @param int $length
267
- * @return string
268
  */
269
  private function generate_password( $length = 64 ) {
270
  $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
@@ -280,9 +303,9 @@ class Responsive_Lightbox_Frontend {
280
  /**
281
  * Helper: gallery number function
282
  *
283
- * @param mixed $content
284
- * @param array $attr
285
- * @return mixed
286
  */
287
  public function gallery_attributes( $content, $attr ) {
288
 
28
  /**
29
  * Add lightbox to videos
30
  *
31
+ * @param mixed $content
32
+ * @return mixed
33
  */
34
  public function add_videos_lightbox_selector( $content ) {
35
 
72
  /**
73
  * Add lightbox to to image links
74
  *
75
+ * @param mixed $content
76
+ * @return mixed
77
  */
78
  public function add_links_lightbox_selector( $content ) {
79
 
82
  preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
83
 
84
  if ( isset( $links[0] ) ) {
85
+
86
+ // generate hash for single images gallery
87
  if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true )
88
+ $rel_hash = '-gallery-' . $this->generate_password( 4 );
89
 
90
  foreach ( $links[0] as $id => $link ) {
91
+
92
+ // single image title
93
+ $title = '';
94
+
95
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['image_title'] ) !== 'default' ) {
96
+
97
+ $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
98
+
99
+ if ( $image_id ) {
100
+ $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] );
101
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, $title_arg ) ) );
102
+ }
103
+ }
104
+
105
+ // link contains rel / data-rel attribute
106
  if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
107
+
108
+ // single images gallery
109
  if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true ) {
110
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . $rel_hash . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '"', $link ), $content );
111
+ // single image
112
  } else {
113
  if ( isset( $result[1] ) ) {
114
  $new_rels = array();
120
  $new_rels[] = $rel;
121
  }
122
 
123
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( ! empty( $new_rels ) ? implode( ' ', $new_rels ) . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '"', $link ), $content );
124
  } else
125
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '"', $link ), $content );
126
  }
127
  }
128
+ // link without rel/data-rel
129
+ } else {
130
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true ? $rel_hash : '-' . $id ) . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '">', $content );
131
+ }
132
  }
133
  }
134
 
142
  */
143
  public function add_gallery_lightbox_selector( $link, $id, $size, $permalink, $icon, $text ) {
144
 
145
+ if ( Responsive_Lightbox()->options['settings']['galleries'] === true && wp_attachment_is_image( $id ) ) {
146
 
147
  // gallery link target image
148
  $src = array();
159
  $link = str_replace( '<a href', '<a title="'. $title .'" href', $link );
160
  }
161
 
162
+ $link = ( preg_match( '/<a.*? (?:rel|data-rel)=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? data-rel=(?:"|\').*?)((?:"|\').*?>)/', '$1 ' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '">', $link ) );
163
 
164
  // gallery image size
165
  if ( Responsive_Lightbox()->options['settings']['gallery_image_size'] != 'full' ) {
182
  /**
183
  * Add lightbox to Jetpack tiled gallery
184
  *
185
+ * @param mixed $content
186
+ * @param array $attr
187
+ * @return mixed
188
  */
189
  public function add_custom_gallery_lightbox_selector( $content, $attr ) {
190
 
210
  }
211
 
212
  if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
213
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
214
  } else {
215
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . '>', $content );
216
  }
217
  }
218
  }
225
  /**
226
  * Get attachment title function
227
  *
228
+ * @param int $id
229
+ * @param string $title_arg
230
+ * @return string
231
  */
232
  public function get_attachment_title( $id, $title_arg ) {
233
 
250
  break;
251
  default:
252
  $title = '';
253
+ break;
254
  }
255
 
256
  return apply_filters( 'rl_get_attachment_title', $title, $id, $title_arg );
260
  /**
261
  * Get attachment id by url function, adjusted to work cropped images
262
  *
263
+ * @param string $url
264
+ * @return int
265
  */
266
  public function get_attachment_id_by_url( $url ) {
267
  $post_id = attachment_url_to_postid( $url );
286
  /**
287
  * Helper: generate password without wp_rand() and DB call it uses
288
  *
289
+ * @param int $length
290
+ * @return string
291
  */
292
  private function generate_password( $length = 64 ) {
293
  $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
303
  /**
304
  * Helper: gallery number function
305
  *
306
+ * @param mixed $content
307
+ * @param array $attr
308
+ * @return mixed
309
  */
310
  public function gallery_attributes( $content, $attr ) {
311
 
includes/class-settings.php CHANGED
@@ -16,6 +16,7 @@ class Responsive_Lightbox_Settings {
16
  private $tabs = array();
17
  private $choices = array();
18
  private $loading_places = array();
 
19
 
20
  public function __construct() {
21
 
@@ -35,7 +36,7 @@ class Responsive_Lightbox_Settings {
35
  */
36
  public function load_defaults() {
37
 
38
- $this->scripts = array(
39
  'prettyphoto' => array(
40
  'name' => __( 'prettyPhoto', 'responsive-lightbox' ),
41
  'animation_speeds' => array(
@@ -106,9 +107,9 @@ class Responsive_Lightbox_Settings {
106
  'tosrus' => array(
107
  'name' => __( 'TosRUs', 'responsive-lightbox' ),
108
  ),
109
- );
110
 
111
- $this->gallery_image_titles = array(
112
  'default' => __( 'None (default)', 'responsive-lightbox' ),
113
  'title' => __( 'Image Title', 'responsive-lightbox' ),
114
  'caption' => __( 'Image Caption', 'responsive-lightbox' ),
@@ -156,7 +157,7 @@ class Responsive_Lightbox_Settings {
156
  'section' => 'responsive_lightbox_settings',
157
  'type' => 'radio',
158
  'label' => '',
159
- 'description' => __( 'Select your preffered ligthbox effect script.', 'responsive-lightbox' ),
160
  'options' => $scripts,
161
  // 'options_cb' => '',
162
  // 'id' => '',
@@ -174,6 +175,13 @@ class Responsive_Lightbox_Settings {
174
  'type' => 'boolean',
175
  'label' => __( 'Add lightbox to WordPress image links by default.', 'responsive-lightbox' ),
176
  ),
 
 
 
 
 
 
 
177
  'images_as_gallery' => array(
178
  'title' => __( 'Single images as gallery', 'responsive-lightbox' ),
179
  'section' => 'responsive_lightbox_settings',
@@ -198,7 +206,7 @@ class Responsive_Lightbox_Settings {
198
  'section' => 'responsive_lightbox_settings',
199
  'type' => 'select',
200
  'description' => __( 'Select title for images in native WordPress galleries.', 'responsive-lightbox' ),
201
- 'options' => $this->gallery_image_titles,
202
  ),
203
  'force_custom_gallery' => array(
204
  'title' => __( 'Force gallery lightbox', 'responsive-lightbox' ),
@@ -861,6 +869,9 @@ class Responsive_Lightbox_Settings {
861
  break;
862
 
863
  default :
 
 
 
864
  break;
865
  }
866
 
@@ -879,6 +890,12 @@ class Responsive_Lightbox_Settings {
879
  )
880
  ) );
881
 
 
 
 
 
 
 
882
  }
883
 
884
  /**
@@ -898,7 +915,7 @@ class Responsive_Lightbox_Settings {
898
  * @return void
899
  */
900
  public function options_page() {
901
- $tab_key = (isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings');
902
 
903
  echo '
904
  <div class="wrap">' . screen_icon() . '
@@ -974,7 +991,7 @@ class Responsive_Lightbox_Settings {
974
  * @return void
975
  */
976
  public function register_settings() {
977
-
978
  foreach ( $this->settings as $setting_id => $setting ) {
979
 
980
  // set key
@@ -1027,7 +1044,7 @@ class Responsive_Lightbox_Settings {
1027
  'options' => ! empty( $field['options'] ) ? $field['options'] : '',
1028
  'fields' => ! empty( $field['fields'] ) ? $field['fields'] : '',
1029
  'default' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->defaults[$setting_key][$field['parent']][$field_key] : Responsive_Lightbox()->defaults[$setting_key][$field_key], $field['type'] ) ),
1030
- 'value' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->options[$setting_key][$field['parent']][$field_key] : Responsive_Lightbox()->options[$setting_key][$field_key], $field['type'] ) ),
1031
  'label_for' => $field_id,
1032
  'return' => false
1033
  );
@@ -1059,6 +1076,36 @@ class Responsive_Lightbox_Settings {
1059
  }
1060
 
1061
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1062
 
1063
  }
1064
 
@@ -1310,6 +1357,11 @@ class Responsive_Lightbox_Settings {
1310
 
1311
  }
1312
 
 
 
 
 
 
1313
  if ( $setting_id === 'configuration' ) {
1314
  // merge scripts settings
1315
  $input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
@@ -1321,6 +1373,10 @@ class Responsive_Lightbox_Settings {
1321
  // merge scripts settings
1322
  $input[Responsive_Lightbox()->options['settings']['script']] = Responsive_Lightbox()->defaults['configuration'][Responsive_Lightbox()->options['settings']['script']];
1323
  $input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
 
 
 
 
1324
  } else {
1325
  $input = Responsive_Lightbox()->defaults[$setting_id];
1326
  }
@@ -1332,4 +1388,192 @@ class Responsive_Lightbox_Settings {
1332
  return $input;
1333
  }
1334
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1335
  }
16
  private $tabs = array();
17
  private $choices = array();
18
  private $loading_places = array();
19
+ private $api_url = 'http://dfactory.eu';
20
 
21
  public function __construct() {
22
 
36
  */
37
  public function load_defaults() {
38
 
39
+ $this->scripts = apply_filters( 'rl_settings_scripts', array(
40
  'prettyphoto' => array(
41
  'name' => __( 'prettyPhoto', 'responsive-lightbox' ),
42
  'animation_speeds' => array(
107
  'tosrus' => array(
108
  'name' => __( 'TosRUs', 'responsive-lightbox' ),
109
  ),
110
+ ) );
111
 
112
+ $this->image_titles = array(
113
  'default' => __( 'None (default)', 'responsive-lightbox' ),
114
  'title' => __( 'Image Title', 'responsive-lightbox' ),
115
  'caption' => __( 'Image Caption', 'responsive-lightbox' ),
157
  'section' => 'responsive_lightbox_settings',
158
  'type' => 'radio',
159
  'label' => '',
160
+ 'description' => sprintf(__( 'Select your preffered ligthbox effect script or get our <a href="%s">premium extensions</a>.', 'responsive-lightbox' ), esc_url( add_query_arg( array( 'rl_action' => 'hide_notice' ), admin_url( 'options-general.php?page=responsive-lightbox&tab=addons' ) ) ) ),
161
  'options' => $scripts,
162
  // 'options_cb' => '',
163
  // 'id' => '',
175
  'type' => 'boolean',
176
  'label' => __( 'Add lightbox to WordPress image links by default.', 'responsive-lightbox' ),
177
  ),
178
+ 'image_title' => array(
179
+ 'title' => __( 'Single image title', 'responsive-lightbox' ),
180
+ 'section' => 'responsive_lightbox_settings',
181
+ 'type' => 'select',
182
+ 'description' => __( 'Select title for single images.', 'responsive-lightbox' ),
183
+ 'options' => $this->image_titles,
184
+ ),
185
  'images_as_gallery' => array(
186
  'title' => __( 'Single images as gallery', 'responsive-lightbox' ),
187
  'section' => 'responsive_lightbox_settings',
206
  'section' => 'responsive_lightbox_settings',
207
  'type' => 'select',
208
  'description' => __( 'Select title for images in native WordPress galleries.', 'responsive-lightbox' ),
209
+ 'options' => $this->image_titles,
210
  ),
211
  'force_custom_gallery' => array(
212
  'title' => __( 'Force gallery lightbox', 'responsive-lightbox' ),
869
  break;
870
 
871
  default :
872
+
873
+ $this->settings['configuration'] = apply_filters( 'rl_settings_' . Responsive_Lightbox()->options['settings']['script'] . '_script_configuration', $this->settings['configuration'] );
874
+
875
  break;
876
  }
877
 
890
  )
891
  ) );
892
 
893
+ $this->tabs['addons'] = array(
894
+ 'name' => __( 'Add-ons', 'responsive-lightbox' ),
895
+ 'key' => 'responsive_lightbox_configuration',
896
+ 'callback' => array( &$this, 'addons_tab_cb' )
897
+ );
898
+
899
  }
900
 
901
  /**
915
  * @return void
916
  */
917
  public function options_page() {
918
+ $tab_key = ( isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings' );
919
 
920
  echo '
921
  <div class="wrap">' . screen_icon() . '
991
  * @return void
992
  */
993
  public function register_settings() {
994
+
995
  foreach ( $this->settings as $setting_id => $setting ) {
996
 
997
  // set key
1044
  'options' => ! empty( $field['options'] ) ? $field['options'] : '',
1045
  'fields' => ! empty( $field['fields'] ) ? $field['fields'] : '',
1046
  'default' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->defaults[$setting_key][$field['parent']][$field_key] : Responsive_Lightbox()->defaults[$setting_key][$field_key], $field['type'] ) ),
1047
+ 'value' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->options[$setting_key][$field['parent']][$field_key] : ( isset( Responsive_Lightbox()->options[$setting_key][$field_key] ) ? Responsive_Lightbox()->options[$setting_key][$field_key] : Responsive_Lightbox()->defaults[$setting_key][$field_key] ), $field['type'] ) ),
1048
  'label_for' => $field_id,
1049
  'return' => false
1050
  );
1076
  }
1077
 
1078
  }
1079
+
1080
+ // licenses
1081
+ $extensions = apply_filters( 'rl_settings_licenses', array() );
1082
+
1083
+ if ( $extensions ) {
1084
+ // register setting
1085
+ register_setting(
1086
+ 'responsive_lightbox_licenses',
1087
+ 'responsive_lightbox_licenses',
1088
+ array( &$this, 'validate_licenses' )
1089
+ );
1090
+
1091
+ add_settings_section(
1092
+ 'responsive_lightbox_licenses',
1093
+ __( 'Licenses', 'responsive-lightbox' ),
1094
+ array( &$this, 'licenses_section_cb' ),
1095
+ 'responsive_lightbox_licenses'
1096
+ );
1097
+
1098
+ foreach ( $extensions as $id => $extension ) {
1099
+ add_settings_field(
1100
+ esc_attr( $id ),
1101
+ $extension['name'],
1102
+ array( &$this, 'license_field_cb' ),
1103
+ 'responsive_lightbox_licenses',
1104
+ 'responsive_lightbox_licenses',
1105
+ $extension
1106
+ );
1107
+ }
1108
+ }
1109
 
1110
  }
1111
 
1357
 
1358
  }
1359
 
1360
+ if ( $setting_id === 'settings' ) {
1361
+ // merge scripts settings
1362
+ $input = array_merge( Responsive_Lightbox()->options['settings'], $input );
1363
+ }
1364
+
1365
  if ( $setting_id === 'configuration' ) {
1366
  // merge scripts settings
1367
  $input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
1373
  // merge scripts settings
1374
  $input[Responsive_Lightbox()->options['settings']['script']] = Responsive_Lightbox()->defaults['configuration'][Responsive_Lightbox()->options['settings']['script']];
1375
  $input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
1376
+ } elseif ( $setting_id === 'settings' ) {
1377
+ $input = Responsive_Lightbox()->defaults[$setting_id];
1378
+ $input['update_version'] = Responsive_Lightbox()->options['settings']['update_version'];
1379
+ $input['update_notice'] = Responsive_Lightbox()->options['settings']['update_notice'];
1380
  } else {
1381
  $input = Responsive_Lightbox()->defaults[$setting_id];
1382
  }
1388
  return $input;
1389
  }
1390
 
1391
+ /**
1392
+ * Add-ons tab callback
1393
+ *
1394
+ * @return mixed
1395
+ */
1396
+ private function addons_tab_cb() {
1397
+ ?>
1398
+ <h3><?php _e( 'Add-ons / Extensions', 'responsive-lightbox' ); ?></h3>
1399
+ <p class="description"><?php _e( 'Enhance your website with these beautiful, easy to use extensions, designed with Responsive Lightbox integration in mind.', 'responsive-lightbox' ); ?></p>
1400
+ <br />
1401
+ <?php
1402
+ if ( ( $cache = get_transient( 'responsive_lightbox_addons_feed' ) ) === false ) {
1403
+ $url = 'https://dfactory.eu/?feed=addons&product=responsive-lightbox';
1404
+
1405
+ $feed = wp_remote_get( esc_url_raw( $url ), array( 'sslverify' => false ) );
1406
+
1407
+ if ( ! is_wp_error( $feed ) ) {
1408
+ if ( isset( $feed['body'] ) && strlen( $feed['body'] ) > 0 ) {
1409
+ $cache = wp_remote_retrieve_body( $feed );
1410
+ // set_transient( 'responsive_lightbox_addons_feed', $cache, 3600 );
1411
+ }
1412
+ } else {
1413
+ $cache = '<div class="error"><p>' . __( 'There was an error retrieving the extensions list from the server. Please try again later.', 'responsive-lightbox' ) . '</div>';
1414
+ }
1415
+ }
1416
+
1417
+ echo $cache;
1418
+ }
1419
+
1420
+ /**
1421
+ * Licenses section callback.
1422
+ *
1423
+ * @return mixed
1424
+ */
1425
+ public function licenses_section_cb() {
1426
+ ?><p class="description"><?php _e( 'A list of licenses for your Responsive Lightbox extensions.', 'responsive-lightbox' ); ?></p><?php
1427
+ }
1428
+
1429
+ /**
1430
+ * License field callback.
1431
+ *
1432
+ * @return mixed
1433
+ */
1434
+ public function license_field_cb( $args ) {
1435
+ $licenses = get_option( 'responsive_lightbox_licenses' );
1436
+
1437
+ $license = ! empty( $licenses ) && isset( $licenses[$args['id']]['license'] ) ? esc_attr( $licenses[$args['id']]['license'] ) : '';
1438
+ $status = ! empty( $licenses ) && ! empty( $licenses[$args['id']]['status'] ) ? true : false;
1439
+ ?>
1440
+ <fieldset class="rl_license rl_license-<?php echo esc_attr( $args['id'] ); ?>">
1441
+ <input type="text" class="regular-text" name="responsive_lightbox_licenses[<?php echo esc_attr( $args['id'] ); ?>][license]" value="<?php echo $license; ?>"><span class="dashicons <?php echo ! empty( $status ) ? 'dashicons-yes' : 'dashicons-no'; ?>"></span>
1442
+ <p class="description"><?php printf( __( 'Enter your license key to activate %s extension and enable automatic upgrade notices.', 'responsive-lightbox' ), $args['name'] ); ?></p>
1443
+ </fieldset>
1444
+ <?php
1445
+ }
1446
+
1447
+ /**
1448
+ * Validate licenses function.
1449
+ *
1450
+ * @param array $input
1451
+ * @return array
1452
+ */
1453
+ public function validate_licenses( $input ) {
1454
+
1455
+ // check cap
1456
+ if ( ! current_user_can( 'manage_options') ) {
1457
+ return $input;
1458
+ }
1459
+
1460
+ // check page
1461
+ if ( ! ( $option_page = esc_attr( $_POST['option_page'] ) ) )
1462
+ return $input;
1463
+
1464
+ // check data
1465
+ if ( ! isset( $_POST['responsive_lightbox_licenses'] ) || ! is_array( $_POST['responsive_lightbox_licenses'] ))
1466
+ return $input;
1467
+
1468
+ $extensions = apply_filters( 'rl_settings_licenses', array() );
1469
+
1470
+ if ( empty( $extensions ) )
1471
+ return $input;
1472
+
1473
+ // save settings
1474
+ if ( isset( $_POST['save_rl_licenses'] ) ) {
1475
+ $licenses = get_option( 'responsive_lightbox_licenses' );
1476
+
1477
+ foreach ( $extensions as $extension ) {
1478
+ if ( ! isset( $_POST['responsive_lightbox_licenses'][$extension['id']] ) )
1479
+ continue;
1480
+
1481
+ $license = preg_replace('/[^a-zA-Z0-9]/', '', $_POST['responsive_lightbox_licenses'][$extension['id']]['license'] );
1482
+ $status = ! empty( $licenses ) && ! empty( $licenses[$extension['id']]['status'] ) ? true : false;
1483
+
1484
+ // request data
1485
+ $request_args = array(
1486
+ 'action' => 'activate_license',
1487
+ 'license' => trim( $license ),
1488
+ 'item_name' => $extension['item_name']
1489
+ );
1490
+ // request
1491
+ $response = $this->license_request( $request_args );
1492
+
1493
+ // echo '<pre>'; print_r( $response ); echo '</pre>';
1494
+
1495
+ // validate request
1496
+ if ( is_wp_error( $response ) ) {
1497
+ $input[$extension['id']['status']] = false;
1498
+ add_settings_error( 'rl_licenses_settings', 'license_activation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1499
+ } else {
1500
+ // decode the license data
1501
+ $license_data = json_decode( wp_remote_retrieve_body( $response ) );
1502
+
1503
+ // assign the data
1504
+ if ( $license_data->license == 'valid' ) {
1505
+ $input[$extension['id']]['status'] = true;
1506
+
1507
+ if ( $status === false )
1508
+ add_settings_error( 'rl_licenses_settings', 'license_activated', __( 'License successfully activated.', 'responsive-lightbox' ), 'updated' );
1509
+ } else {
1510
+ $input[$extension['id']]['status'] = false;
1511
+ add_settings_error( 'rl_licenses_settings', 'license_activation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1512
+ }
1513
+ }
1514
+ }
1515
+ } elseif ( isset( $_POST['reset_rl_licenses'] ) ) {
1516
+ $licenses = get_option( 'responsive_lightbox_licenses' );
1517
+
1518
+ foreach ( $extensions as $extension ) {
1519
+ $license = ! empty( $licenses ) && isset( $licenses[$extension['id']]['license'] ) ? $licenses[$extension['id']]['license'] : '';
1520
+ $status = ! empty( $licenses ) && ! empty( $licenses[$extension['id']]['status'] ) ? true : false;
1521
+
1522
+ if ( $status === true ) {
1523
+ // request data
1524
+ $request_args = array(
1525
+ 'action' => 'deactivate_license',
1526
+ 'license' => trim( $license ),
1527
+ 'item_name' => $extension['item_name']
1528
+ );
1529
+ // request
1530
+ $response = $this->license_request( $request_args );
1531
+
1532
+ // echo '<pre>'; print_r( $response ); echo '</pre>';
1533
+
1534
+ // validate request
1535
+ if ( is_wp_error( $response ) ) {
1536
+ add_settings_error( 'rl_licenses_settings', 'license_activation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1537
+ } else {
1538
+ // decode the license data
1539
+ $license_data = json_decode( wp_remote_retrieve_body( $response ) );
1540
+
1541
+ // assign the data
1542
+ if ( $license_data->license == 'deactivated' ) {
1543
+ $input[$extension['id']]['license'] = '';
1544
+ $input[$extension['id']]['status'] = false;
1545
+ add_settings_error( 'rl_licenses_settings', 'license_deactivated', __( 'License successfully deactivated.', 'responsive-lightbox' ), 'updated' );
1546
+ } else {
1547
+ add_settings_error( 'rl_licenses_settings', 'license_deactivation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1548
+ }
1549
+ }
1550
+ }
1551
+ }
1552
+ }
1553
+
1554
+ return $input;
1555
+ }
1556
+
1557
+ /**
1558
+ * License request function.
1559
+ *
1560
+ * @param array $args
1561
+ * @return mixed
1562
+ */
1563
+ private function license_request( $args ) {
1564
+ // data to send in our API request
1565
+ $api_params = array(
1566
+ 'edd_action' => $args['action'],
1567
+ 'license' => $args['license'],
1568
+ 'item_name' => urlencode( $args['item_name'] ),
1569
+ // 'item_id' => $args['item_id'],
1570
+ 'url' => home_url(),
1571
+ 'timeout' => 15,
1572
+ 'sslverify' => false
1573
+ );
1574
+ // call the custom API.
1575
+ $response = wp_remote_get( add_query_arg( $api_params, $this->api_url ) );
1576
+
1577
+ return $response;
1578
+ }
1579
  }
js/front.js CHANGED
@@ -1,7 +1,7 @@
1
  ( function ( $ ) {
2
 
3
  $( document ).on( 'ready' + rlArgs.customEvents, function () {
4
-
5
  // initialise event
6
  $.event.trigger( {
7
  type : 'doResponsiveLightbox',
@@ -205,7 +205,7 @@
205
  infinite : ( rlArgs.infinite === '1' ? true : false ),
206
  autoplay : {
207
  play : ( rlArgs.autoplay === '1' ? true : false ),
208
- pauseOnHover : ( rlArgs.pauseOnHover === '1' ? true : false ),
209
  timeout : rlArgs.timeout
210
  },
211
  effect : rlArgs.effect,
@@ -220,6 +220,7 @@
220
  },
221
  // forced
222
  show : false,
 
223
  caption : {
224
  add : true,
225
  attributes : ["title"]
1
  ( function ( $ ) {
2
 
3
  $( document ).on( 'ready' + rlArgs.customEvents, function () {
4
+
5
  // initialise event
6
  $.event.trigger( {
7
  type : 'doResponsiveLightbox',
205
  infinite : ( rlArgs.infinite === '1' ? true : false ),
206
  autoplay : {
207
  play : ( rlArgs.autoplay === '1' ? true : false ),
208
+ pauseOnHover : ( rlArgs.pause_on_hover === '1' ? true : false ),
209
  timeout : rlArgs.timeout
210
  },
211
  effect : rlArgs.effect,
220
  },
221
  // forced
222
  show : false,
223
+ buttons : true,
224
  caption : {
225
  add : true,
226
  attributes : ["title"]
languages/responsive-lightbox-pl_PL.mo CHANGED
Binary file
languages/responsive-lightbox-pl_PL.po CHANGED
@@ -1,286 +1,299 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2015-06-13 18:20+0100\n"
5
- "PO-Revision-Date: 2015-06-13 18:21+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: pl\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.8.1\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
- #: ../includes/class-settings.php:46
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
- #: ../includes/class-settings.php:48
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
- #: ../includes/class-settings.php:49
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
- #: ../includes/class-settings.php:50
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
- #: ../includes/class-settings.php:53
35
  msgid "default"
36
  msgstr ""
37
 
38
- #: ../includes/class-settings.php:54
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
- #: ../includes/class-settings.php:55
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
- #: ../includes/class-settings.php:56
47
  msgid "light square"
48
  msgstr ""
49
 
50
- #: ../includes/class-settings.php:57
51
  msgid "dark square"
52
  msgstr ""
53
 
54
- #: ../includes/class-settings.php:58
55
  msgid "facebook"
56
  msgstr ""
57
 
58
- #: ../includes/class-settings.php:61
59
  msgid "window"
60
  msgstr ""
61
 
62
- #: ../includes/class-settings.php:62
63
  msgid "transparent"
64
  msgstr ""
65
 
66
- #: ../includes/class-settings.php:63
67
  msgid "opaque"
68
  msgstr ""
69
 
70
- #: ../includes/class-settings.php:64
71
  msgid "direct"
72
  msgstr ""
73
 
74
- #: ../includes/class-settings.php:65
75
  msgid "gpu"
76
  msgstr ""
77
 
78
- #: ../includes/class-settings.php:69
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
- #: ../includes/class-settings.php:71
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
- #: ../includes/class-settings.php:72
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
- #: ../includes/class-settings.php:76
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
- #: ../includes/class-settings.php:78
95
  msgid "elastic"
96
  msgstr ""
97
 
98
- #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
99
- #: ../includes/class-settings.php:801
100
  msgid "fade"
101
  msgstr ""
102
 
103
- #: ../includes/class-settings.php:80
104
  msgid "none"
105
  msgstr "brak"
106
 
107
- #: ../includes/class-settings.php:83
108
  msgid "auto"
109
  msgstr "automatycznie"
110
 
111
- #: ../includes/class-settings.php:84
112
  msgid "yes"
113
  msgstr "tak"
114
 
115
- #: ../includes/class-settings.php:85
116
  msgid "no"
117
  msgstr "nie"
118
 
119
- #: ../includes/class-settings.php:88
120
  msgid "swing"
121
  msgstr ""
122
 
123
- #: ../includes/class-settings.php:89
124
  msgid "linear"
125
  msgstr ""
126
 
127
- #: ../includes/class-settings.php:92
128
  msgid "outside"
129
  msgstr ""
130
 
131
- #: ../includes/class-settings.php:93
132
  msgid "inside"
133
  msgstr ""
134
 
135
- #: ../includes/class-settings.php:94
136
  msgid "over"
137
  msgstr ""
138
 
139
- #: ../includes/class-settings.php:98
140
  msgid "Nivo Lightbox"
141
  msgstr "Nivo Lightbox"
142
 
143
- #: ../includes/class-settings.php:101
144
  msgid "fade scale"
145
  msgstr "fade scale"
146
 
147
- #: ../includes/class-settings.php:102
148
  msgid "slide left"
149
  msgstr ""
150
 
151
- #: ../includes/class-settings.php:103
152
  msgid "slide right"
153
  msgstr "slide right"
154
 
155
- #: ../includes/class-settings.php:104
156
  msgid "slide up"
157
  msgstr ""
158
 
159
- #: ../includes/class-settings.php:105
160
  msgid "slide down"
161
  msgstr "slide down"
162
 
163
- #: ../includes/class-settings.php:106
164
  msgid "fall"
165
  msgstr ""
166
 
167
- #: ../includes/class-settings.php:110
168
  msgid "Image Lightbox"
169
  msgstr "Image Lightbox"
170
 
171
- #: ../includes/class-settings.php:113
172
  msgid "TosRUs"
173
  msgstr "TosRUs"
174
 
175
- #: ../includes/class-settings.php:118
176
  msgid "None (default)"
177
  msgstr "Brak (domyślny)"
178
 
179
- #: ../includes/class-settings.php:119
180
  msgid "Image Title"
181
  msgstr "Tytuł obrazka"
182
 
183
- #: ../includes/class-settings.php:120
184
  msgid "Image Caption"
185
  msgstr "Podpis obrazka"
186
 
187
- #: ../includes/class-settings.php:121
188
  msgid "Image Alt Text"
189
  msgstr "Tekst alternatywny"
190
 
191
- #: ../includes/class-settings.php:122
192
  msgid "Image Description"
193
  msgstr "Opis obrazka"
194
 
195
- #: ../includes/class-settings.php:126
196
  msgid "Header"
197
  msgstr "W nagłówku"
198
 
199
- #: ../includes/class-settings.php:127
200
  msgid "Footer"
201
  msgstr "W stopce"
202
 
203
- #: ../includes/class-settings.php:137
204
  msgid "Thumbnail"
205
  msgstr "Miniatura"
206
 
207
- #: ../includes/class-settings.php:138
208
  msgid "Medium"
209
  msgstr "Średni"
210
 
211
- #: ../includes/class-settings.php:139
212
  msgid "Large"
213
  msgstr "Duży"
214
 
215
- #: ../includes/class-settings.php:140
216
  msgid "Full Size (default)"
217
  msgstr "Pełny rozmiar (domyslny)"
218
 
219
- #: ../includes/class-settings.php:150 ../includes/class-settings.php:875
220
  msgid "General settings"
221
  msgstr "Ustawienia ogólne"
222
 
223
- #: ../includes/class-settings.php:159
224
  msgid "Lightbox script"
225
  msgstr "Skrypt lightbox"
226
 
227
- #: ../includes/class-settings.php:165
228
- msgid "Select your preffered ligthbox effect script."
229
- msgstr "Wybierz preferowany efekt lightbox."
 
 
 
 
 
230
 
231
- #: ../includes/class-settings.php:172
232
  msgid "Selector"
233
  msgstr "Znacznik"
234
 
235
- #: ../includes/class-settings.php:175
236
  msgid "Enter the rel selector lightbox effect will be applied to."
237
  msgstr "Wybierz dla którego znacznika będzie dodawany efekt lightbox."
238
 
239
- #: ../includes/class-settings.php:178
240
  msgid "Image links"
241
  msgstr "Linki obrazków"
242
 
243
- #: ../includes/class-settings.php:181
244
  msgid "Add lightbox to WordPress image links by default."
245
  msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
246
 
247
- #: ../includes/class-settings.php:184
 
 
 
 
 
 
 
 
248
  msgid "Single images as gallery"
249
  msgstr "Pojedyncze obrazki"
250
 
251
- #: ../includes/class-settings.php:187
252
  msgid "Display single post images as a gallery."
253
  msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
254
 
255
- #: ../includes/class-settings.php:190
256
  msgid "Galleries"
257
  msgstr "Galerie"
258
 
259
- #: ../includes/class-settings.php:193
260
  msgid "Add lightbox to WordPress image galleries by default."
261
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
262
 
263
- #: ../includes/class-settings.php:196
264
  msgid "Gallery image size"
265
  msgstr "WIelkość obrazka w galerii"
266
 
267
- #: ../includes/class-settings.php:199
268
  msgid "Select image size for gallery image links."
269
  msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
270
 
271
- #: ../includes/class-settings.php:203
272
  msgid "Gallery image title"
273
  msgstr "Tytuł obrazków w galerii"
274
 
275
- #: ../includes/class-settings.php:206
276
  msgid "Select title for images in native WordPress galleries."
277
  msgstr "Wybierz pochodzenie tytułu dla obrazków w galerii."
278
 
279
- #: ../includes/class-settings.php:210
280
  msgid "Force gallery lightbox"
281
  msgstr "Wymuszanie lightboxa w galerii"
282
 
283
- #: ../includes/class-settings.php:213
284
  msgid ""
285
  "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
286
  "galleries."
@@ -288,40 +301,40 @@ msgstr ""
288
  "Spróbuj wymusić lightbox w galeriach zastępujących domyślną galerię "
289
  "WordPress, jak np. galeria Jetpack."
290
 
291
- #: ../includes/class-settings.php:216
292
  msgid "Video links"
293
  msgstr "Linki video"
294
 
295
- #: ../includes/class-settings.php:219
296
  msgid "Add lightbox to YouTube and Vimeo video links by default."
297
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
298
 
299
- #: ../includes/class-settings.php:222
300
  msgid "Custom events"
301
  msgstr "Własne zdarzenia"
302
 
303
- #: ../includes/class-settings.php:228
304
  msgid "Enable triggering lightbox on custom jQuery events."
305
  msgstr ""
306
  "Włącz uruchamianie efektu lightbox przy pomocy własnych zdarzeń jQuery."
307
 
308
- #: ../includes/class-settings.php:232
309
  msgid "Enter a space separated list of events."
310
  msgstr "Wpisz oddzieloną spacją listę wydarzeń."
311
 
312
- #: ../includes/class-settings.php:237
313
  msgid "Loading place"
314
  msgstr "Ładowanie"
315
 
316
- #: ../includes/class-settings.php:240
317
  msgid "Select where all the lightbox scripts should be placed."
318
  msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
319
 
320
- #: ../includes/class-settings.php:244
321
  msgid "Conditional loading"
322
  msgstr "Ładowanie warunkowe"
323
 
324
- #: ../includes/class-settings.php:247
325
  msgid ""
326
  "Enable to load scripts and styles only on pages that have images or "
327
  "galleries in post content."
@@ -329,62 +342,62 @@ msgstr ""
329
  "Włącz aby wczytywać sklrypty i style wyłącznie na stronach, które w treści "
330
  "zawierają galerie obrazków lub pojedyncze obrazki."
331
 
332
- #: ../includes/class-settings.php:250
333
  msgid "Delete data"
334
  msgstr "Usuwanie danych"
335
 
336
- #: ../includes/class-settings.php:253
337
  msgid "Delete all plugin settings on deactivation."
338
  msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
339
 
340
- #: ../includes/class-settings.php:263 ../includes/class-settings.php:881
341
  msgid "Lightbox settings"
342
  msgstr "Ustawienia lightbox"
343
 
344
- #: ../includes/class-settings.php:281
345
  msgid "Animation type"
346
  msgstr "Typ animacji"
347
 
348
- #: ../includes/class-settings.php:285
349
  msgid "Select a method of applying a lightbox effect."
350
  msgstr "Wybierz sposób dodawania efektu lightbox."
351
 
352
- #: ../includes/class-settings.php:290
353
  msgid "Force PNG icons"
354
  msgstr "Wymuszanie ikon PNG"
355
 
356
- #: ../includes/class-settings.php:293
357
  msgid ""
358
  "Enable this if you're having problems with navigation icons not visible on "
359
  "some devices."
360
  msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
361
 
362
- #: ../includes/class-settings.php:297
363
  msgid "Hide close on mobile"
364
  msgstr "Ukrywanie przycisku zamknij"
365
 
366
- #: ../includes/class-settings.php:300
367
  msgid "Hide the close button on mobile devices."
368
  msgstr ""
369
  "Włącz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
370
 
371
- #: ../includes/class-settings.php:304
372
  msgid "Remove bars on mobile"
373
  msgstr "Ukrywanie pasków"
374
 
375
- #: ../includes/class-settings.php:307
376
  msgid "Hide the top and bottom bars on mobile devices."
377
  msgstr "Ukryj górny i dolny pasek na urządzeniach mobilnych."
378
 
379
- #: ../includes/class-settings.php:311
380
  msgid "Top and bottom bars"
381
  msgstr "Górne i dolne paski"
382
 
383
- #: ../includes/class-settings.php:317
384
  msgid "Hide top and bottom bars after a period of time."
385
  msgstr "Ukryj górny i dolny pasek po określonym czasie."
386
 
387
- #: ../includes/class-settings.php:322
388
  msgid ""
389
  "Enter the time after which the top and bottom bars will be hidden (when "
390
  "hiding is enabled)."
@@ -392,108 +405,108 @@ msgstr ""
392
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
393
  "jest włączona)."
394
 
395
- #: ../includes/class-settings.php:329
396
  msgid "Video max width"
397
  msgstr "Maksymalna szerokość video"
398
 
399
- #: ../includes/class-settings.php:332
400
  msgid "Enter the max video width in a lightbox."
401
  msgstr "Podaj maksymalną szerokość video."
402
 
403
- #: ../includes/class-settings.php:337
404
  msgid "Loop at end"
405
  msgstr "Zapętlenie galerii"
406
 
407
- #: ../includes/class-settings.php:340
408
  msgid "True will return to the first image after the last image is reached."
409
  msgstr ""
410
  "Włącz, aby powrócić do pierwszego zdjęcia po ostatnim zdjęciu w galerii."
411
 
412
- #: ../includes/class-settings.php:352 ../includes/class-settings.php:744
413
  msgid "Animation speed"
414
  msgstr "Szybkość animacji"
415
 
416
- #: ../includes/class-settings.php:356
417
  msgid "Select animation speed for lightbox effect."
418
  msgstr "Wybierz szybkość animacji efektu lightbox."
419
 
420
- #: ../includes/class-settings.php:361
421
  msgid "Slideshow"
422
  msgstr "Pokaz slidów"
423
 
424
- #: ../includes/class-settings.php:367
425
  msgid "Display images as slideshow"
426
  msgstr "Wyświetlanie obrazków jako pokaz slajdów"
427
 
428
- #: ../includes/class-settings.php:372
429
  msgid "Enter time (in miliseconds)."
430
  msgstr "Podaj czas (w milisekundach)."
431
 
432
- #: ../includes/class-settings.php:379
433
  msgid "Slideshow autoplay"
434
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
435
 
436
- #: ../includes/class-settings.php:382 ../includes/class-settings.php:826
437
  msgid "Automatically start slideshow."
438
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
439
 
440
- #: ../includes/class-settings.php:386 ../includes/class-settings.php:588
441
  msgid "Opacity"
442
  msgstr "Przezroczystość"
443
 
444
- #: ../includes/class-settings.php:389
445
  msgid "Value between 0 and 100, 100 for no opacity."
446
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
447
 
448
- #: ../includes/class-settings.php:395
449
  msgid "Show title"
450
  msgstr "Wyświetlanie tytułu"
451
 
452
- #: ../includes/class-settings.php:398
453
  msgid "Display image title."
454
  msgstr "Wyświetlanie tytułu obrazka."
455
 
456
- #: ../includes/class-settings.php:402
457
  msgid "Allow resize big images"
458
  msgstr "Powiększanie dużych zdjęć"
459
 
460
- #: ../includes/class-settings.php:405
461
  msgid "Resize the photos bigger than viewport."
462
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
463
 
464
- #: ../includes/class-settings.php:409
465
  msgid "Allow expand"
466
  msgstr "Zezwól na powiększanie"
467
 
468
- #: ../includes/class-settings.php:412
469
  msgid "Allow expanding images."
470
  msgstr "Zezwól na powiększanie zdjęć."
471
 
472
- #: ../includes/class-settings.php:416 ../includes/class-settings.php:682
473
  msgid "Video width"
474
  msgstr "Szerokość video"
475
 
476
- #: ../includes/class-settings.php:423 ../includes/class-settings.php:690
477
  msgid "Video height"
478
  msgstr "Wysokość video"
479
 
480
- #: ../includes/class-settings.php:430
481
  msgid "Theme"
482
  msgstr "Motyw"
483
 
484
- #: ../includes/class-settings.php:433
485
  msgid "Select the theme for lightbox effect."
486
  msgstr "Wybierz motyw dla efektu lightbox."
487
 
488
- #: ../includes/class-settings.php:438
489
  msgid "Horizontal padding"
490
  msgstr "Odstępy w poziomie"
491
 
492
- #: ../includes/class-settings.php:445
493
  msgid "Hide Flash"
494
  msgstr "Ukrywanie flash"
495
 
496
- #: ../includes/class-settings.php:448
497
  msgid ""
498
  "Hide all the flash objects on a page. Enable this if flash appears over "
499
  "prettyPhoto."
@@ -501,66 +514,66 @@ msgstr ""
501
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
502
  "wyświetlane są nad lightboxem."
503
 
504
- #: ../includes/class-settings.php:452
505
  msgid "Flash Window Mode (wmode)"
506
  msgstr "Tryb okna flash (wmode)"
507
 
508
- #: ../includes/class-settings.php:455
509
  msgid "Select flash window mode."
510
  msgstr "Wybierz tryb okna flash."
511
 
512
- #: ../includes/class-settings.php:460
513
  msgid "Video autoplay"
514
  msgstr "Automatyczne odtwarzanie wideo"
515
 
516
- #: ../includes/class-settings.php:463
517
  msgid "Automatically start videos."
518
  msgstr "Automatycznie rozpoczynaj video."
519
 
520
- #: ../includes/class-settings.php:467 ../includes/class-settings.php:510
521
  msgid "Modal"
522
  msgstr "Tryb modal"
523
 
524
- #: ../includes/class-settings.php:470
525
  msgid "If set to true, only the close button will close the window."
526
  msgstr ""
527
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
528
 
529
- #: ../includes/class-settings.php:474
530
  msgid "Deeplinking"
531
  msgstr "Głębokie linki"
532
 
533
- #: ../includes/class-settings.php:477
534
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
535
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
536
 
537
- #: ../includes/class-settings.php:481
538
  msgid "Overlay gallery"
539
  msgstr "Efekt overlay galerii"
540
 
541
- #: ../includes/class-settings.php:484
542
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
543
  msgstr ""
544
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
545
  "najechaniu myszką."
546
 
547
- #: ../includes/class-settings.php:488
548
  msgid "Keyboard shortcuts"
549
  msgstr "Skróty klawiaturowe"
550
 
551
- #: ../includes/class-settings.php:491
552
  msgid "Set to false if you open forms inside prettyPhoto."
553
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
554
 
555
- #: ../includes/class-settings.php:495
556
  msgid "Social (Twitter, Facebook)"
557
  msgstr "Linki społeczności (Twitter, Facebook)"
558
 
559
- #: ../includes/class-settings.php:498
560
  msgid "Display links to Facebook and Twitter."
561
  msgstr "Wyświetl linki do Facebboka i Twittera."
562
 
563
- #: ../includes/class-settings.php:513
564
  msgid ""
565
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
566
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
@@ -570,401 +583,467 @@ msgstr ""
570
  "natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
571
  "\"enableEscapeButton\", \"showCloseButton\" zostaną wyłączone."
572
 
573
- #: ../includes/class-settings.php:517
574
  msgid "Show overlay"
575
  msgstr "Wyświetlanie tła"
576
 
577
- #: ../includes/class-settings.php:520
578
  msgid "Toggle overlay."
579
  msgstr "Włącz tło."
580
 
581
- #: ../includes/class-settings.php:524
582
  msgid "Show close button"
583
  msgstr "Wyświetlanie przycisku Zamknij"
584
 
585
- #: ../includes/class-settings.php:527
586
  msgid "Toggle close button."
587
  msgstr "Włącz przycisk Zamknij."
588
 
589
- #: ../includes/class-settings.php:531
590
  msgid "Enable escape button"
591
  msgstr "Wyświetlanie przycisku Wyjdź"
592
 
593
- #: ../includes/class-settings.php:534
594
  msgid "Toggle if pressing Esc button closes FancyBox."
595
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
596
 
597
- #: ../includes/class-settings.php:538
598
  msgid "Hide on overlay click"
599
  msgstr "Ukryj po kliknięciu w tło"
600
 
601
- #: ../includes/class-settings.php:541
602
  msgid "Toggle if clicking the overlay should close FancyBox."
603
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
604
 
605
- #: ../includes/class-settings.php:545
606
  msgid "Hide on content click"
607
  msgstr "Ukryj po kliknięciu w treść"
608
 
609
- #: ../includes/class-settings.php:548
610
  msgid "Toggle if clicking the content should close FancyBox."
611
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
612
 
613
- #: ../includes/class-settings.php:552
614
  msgid "Cyclic"
615
  msgstr "Cykliczność"
616
 
617
- #: ../includes/class-settings.php:555
618
  msgid ""
619
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
620
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
621
 
622
- #: ../includes/class-settings.php:559
623
  msgid "Show nav arrows"
624
  msgstr "Wyświetlanie strzałek"
625
 
626
- #: ../includes/class-settings.php:562
627
  msgid "Toggle navigation arrows."
628
  msgstr "Włącz strzałki nawigacyjne."
629
 
630
- #: ../includes/class-settings.php:566
631
  msgid "Auto scale"
632
  msgstr "Automatyczne skalowanie"
633
 
634
- #: ../includes/class-settings.php:569
635
  msgid "If true, FancyBox is scaled to fit in viewport."
636
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
637
 
638
- #: ../includes/class-settings.php:573
639
  msgid "Scrolling (in/out)"
640
  msgstr "Przewijanie"
641
 
642
- #: ../includes/class-settings.php:576
643
  msgid "Set the overflow CSS property to create or hide scrollbars."
644
  msgstr ""
645
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
646
 
647
- #: ../includes/class-settings.php:581
648
  msgid "Center on scroll"
649
  msgstr "Centrowanie przy przewijaniu"
650
 
651
- #: ../includes/class-settings.php:584
652
  msgid "When true, FancyBox is centered while scrolling page."
653
  msgstr ""
654
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
655
  "strony."
656
 
657
- #: ../includes/class-settings.php:591
658
  msgid "When true, transparency of content is changed for elastic transitions."
659
  msgstr ""
660
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
661
  "animacji."
662
 
663
- #: ../includes/class-settings.php:595
664
  msgid "Overlay opacity"
665
  msgstr "Przezroczystość tła"
666
 
667
- #: ../includes/class-settings.php:598
668
  msgid "Opacity of the overlay."
669
  msgstr "Przezroczystość tła."
670
 
671
- #: ../includes/class-settings.php:604
672
  msgid "Overlay color"
673
  msgstr "Kolor tła"
674
 
675
- #: ../includes/class-settings.php:607
676
  msgid "Color of the overlay."
677
  msgstr "Kolor tła."
678
 
679
- #: ../includes/class-settings.php:611
680
  msgid "Title show"
681
  msgstr "Wyświetlanie tytułu"
682
 
683
- #: ../includes/class-settings.php:614
684
  msgid "Toggle title."
685
  msgstr "Wyświetlanie tytułu."
686
 
687
- #: ../includes/class-settings.php:618
688
  msgid "Title position"
689
  msgstr "Pozycja tytułu"
690
 
691
- #: ../includes/class-settings.php:621
692
  msgid "The position of title."
693
  msgstr "Pozycja tytułu."
694
 
695
- #: ../includes/class-settings.php:626
696
  msgid "Transition (in/out)"
697
  msgstr "Efekty przejścia"
698
 
699
- #: ../includes/class-settings.php:629
700
  msgid "The transition type."
701
  msgstr "Typ animacji."
702
 
703
- #: ../includes/class-settings.php:634
704
  msgid "Easings (in/out)"
705
  msgstr "Wygładzanie animacji"
706
 
707
- #: ../includes/class-settings.php:637
708
  msgid "Easing used for elastic animations."
709
  msgstr "Wygładzanie animacji dla trybu elastic."
710
 
711
- #: ../includes/class-settings.php:642
712
  msgid "Speed (in/out)"
713
  msgstr "Szybkość"
714
 
715
- #: ../includes/class-settings.php:645
716
  msgid "Speed of the fade and elastic transitions, in milliseconds."
717
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
718
 
719
- #: ../includes/class-settings.php:650
720
  msgid "Change speed"
721
  msgstr "Zmień szybkość"
722
 
723
- #: ../includes/class-settings.php:653
724
  msgid "Speed of resizing when changing gallery items, in milliseconds."
725
  msgstr ""
726
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
727
  "milisekundach)."
728
 
729
- #: ../includes/class-settings.php:658
730
  msgid "Change fade"
731
  msgstr "Zmień zanikanie"
732
 
733
- #: ../includes/class-settings.php:661
734
  msgid "Speed of the content fading while changing gallery items."
735
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
736
 
737
- #: ../includes/class-settings.php:666
738
  msgid "Padding"
739
  msgstr "Odstęp (padding)"
740
 
741
- #: ../includes/class-settings.php:669
742
  msgid "Space between FancyBox wrapper and content."
743
  msgstr "Przestrzeń między FancyBox a treścią"
744
 
745
- #: ../includes/class-settings.php:674
746
  msgid "Margin"
747
  msgstr "Margines (margin)"
748
 
749
- #: ../includes/class-settings.php:677
750
  msgid "Space between viewport and FancyBox wrapper."
751
  msgstr "Przestrzeń między ekranem a Fancybox"
752
 
753
- #: ../includes/class-settings.php:685
754
  msgid "Width of the video."
755
  msgstr "Szerokość video."
756
 
757
- #: ../includes/class-settings.php:693
758
  msgid "Height of the video."
759
  msgstr "Wysokość video."
760
 
761
- #: ../includes/class-settings.php:706
762
  msgid "Effect"
763
  msgstr "Efekt"
764
 
765
- #: ../includes/class-settings.php:709
766
  msgid "The effect to use when showing the lightbox."
767
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
768
 
769
- #: ../includes/class-settings.php:714 ../includes/class-settings.php:813
770
  msgid "Keyboard navigation"
771
  msgstr "Nawigacja klawiaturą"
772
 
773
- #: ../includes/class-settings.php:717 ../includes/class-settings.php:816
774
  msgid "Enable keyboard navigation (left/right/escape)."
775
  msgstr "Włącz nawigację za pomocą klawiatury (lewo, prawo, esc)."
776
 
777
- #: ../includes/class-settings.php:721
778
  msgid "Click overlay to close"
779
  msgstr "Kliknięcie poza obrazek"
780
 
781
- #: ../includes/class-settings.php:724
782
  msgid "Enable to close lightbox on overlay click."
783
  msgstr "Włącz aby zamykać lightbox po kliknięciu w obszar poza obrazkiem."
784
 
785
- #: ../includes/class-settings.php:728
786
  msgid "Error message"
787
  msgstr "Treść komunikatu o błędzie"
788
 
789
- #: ../includes/class-settings.php:732
790
  msgid "Error message if the content cannot be loaded."
791
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
792
 
793
- #: ../includes/class-settings.php:747
794
  msgid "Animation speed."
795
  msgstr "Szybkość animacji."
796
 
797
- #: ../includes/class-settings.php:752
798
  msgid "Preload next image"
799
  msgstr "Wstępne ładowanie kolejnego obrazka"
800
 
801
- #: ../includes/class-settings.php:755
802
  msgid "Silently preload the next image."
803
  msgstr "W niezauważalny sposób ładuje kolejny obrazek."
804
 
805
- #: ../includes/class-settings.php:759
806
  msgid "Enable keyboard keys"
807
  msgstr "Obługa klawiaturą"
808
 
809
- #: ../includes/class-settings.php:762
810
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
811
  msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
812
 
813
- #: ../includes/class-settings.php:766
814
  msgid "Quit after last image"
815
  msgstr "Wyjście po ostanim obrazku"
816
 
817
- #: ../includes/class-settings.php:769
818
  msgid "Quit after viewing the last image."
819
  msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
820
 
821
- #: ../includes/class-settings.php:773
822
  msgid "Quit on image click"
823
  msgstr "Wyjście po kliknięciu w obrazek"
824
 
825
- #: ../includes/class-settings.php:776
826
  msgid "Quit when the viewed image is clicked."
827
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
828
 
829
- #: ../includes/class-settings.php:780
830
  msgid "Quit on anything click"
831
  msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
832
 
833
- #: ../includes/class-settings.php:783
834
  msgid "Quit when anything but the viewed image is clicked."
835
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
836
 
837
- #: ../includes/class-settings.php:795
838
  msgid "Transition effect"
839
  msgstr "Efekt przejścia"
840
 
841
- #: ../includes/class-settings.php:798
842
  msgid "What effect to use for the transition."
843
  msgstr "Wybierz efekt jaki zastosować dla przejścia między slajdami."
844
 
845
- #: ../includes/class-settings.php:800
846
  msgid "slide"
847
  msgstr ""
848
 
849
- #: ../includes/class-settings.php:806
850
  msgid "Infinite loop"
851
  msgstr "Nieskończona pętla"
852
 
853
- #: ../includes/class-settings.php:809
854
  msgid ""
855
  "Whether or not to slide back to the first slide when the last has been "
856
  "reached."
857
  msgstr ""
858
  "Włącz przewijanie do pierwszego slajdu po wyświetleniu ostatniego slajdu."
859
 
860
- #: ../includes/class-settings.php:820
861
  msgid "Autoplay"
862
  msgstr "Autopla"
863
 
864
- #: ../includes/class-settings.php:831
865
  msgid "The timeout between sliding to the next slide in milliseconds."
866
  msgstr "Czas pomiędzy slajdami, w milisekundach."
867
 
868
- #: ../includes/class-settings.php:838
869
  msgid "Pause on hover"
870
  msgstr "Pauza po najechaniu"
871
 
872
- #: ../includes/class-settings.php:841
873
  msgid "Whether or not to pause on hover."
874
  msgstr "Włącz pauzę po najechaniu kursorem."
875
 
876
- #: ../includes/class-settings.php:845
877
  msgid "Pagination"
878
  msgstr "Stronicowanie"
879
 
880
- #: ../includes/class-settings.php:851
881
  msgid "Whether or not to add a pagination."
882
  msgstr "Włącz stronicowanie."
883
 
884
- #: ../includes/class-settings.php:856
885
  msgid "What type of pagination to use."
886
  msgstr "Wybierz rodzaj stronicowania."
887
 
888
- #: ../includes/class-settings.php:858
889
  msgid "Bullets"
890
  msgstr "Kropki"
891
 
892
- #: ../includes/class-settings.php:859
893
  msgid "Thumbnails"
894
  msgstr "Miniatury"
895
 
896
- #: ../includes/class-settings.php:897 ../includes/class-settings.php:911
897
- #: ../includes/class-settings.php:924
 
 
 
 
898
  msgid "Responsive Lightbox"
899
  msgstr "Efekt Lightbox"
900
 
901
- #: ../includes/class-settings.php:926
902
  msgid "Need support?"
903
  msgstr "Potrzebujesz pomocy?"
904
 
905
- #: ../includes/class-settings.php:927
906
  msgid ""
907
  "If you are having problems with this plugin, please talk about them in the"
908
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
909
 
910
- #: ../includes/class-settings.php:927
911
  msgid "Support forum"
912
  msgstr "Forum pomocy"
913
 
914
- #: ../includes/class-settings.php:929
915
  msgid "Do you like this plugin?"
916
  msgstr "Lubisz tę wtyczkę?"
917
 
918
- #: ../includes/class-settings.php:936
919
  msgid "Rate it 5"
920
  msgstr "Oceń ją na 5"
921
 
922
- #: ../includes/class-settings.php:936
923
  msgid "on WordPress.org"
924
  msgstr "na WordPress.org"
925
 
926
- #: ../includes/class-settings.php:937
927
  msgid "Blog about it & link to the"
928
  msgstr "Napisz o niej i dodaj link"
929
 
930
- #: ../includes/class-settings.php:937
931
  msgid "plugin page"
932
  msgstr "do strony wtyczki"
933
 
934
- #: ../includes/class-settings.php:938
935
  msgid "Check out our other"
936
  msgstr "Sprawdź nasze pozostałe"
937
 
938
- #: ../includes/class-settings.php:938
939
  msgid "WordPress plugins"
940
  msgstr "wtyczki do WordPress'a"
941
 
942
- #: ../includes/class-settings.php:958
943
  msgid "Reset to defaults"
944
  msgstr "Resetuj do domyślnych"
945
 
946
- #: ../includes/class-settings.php:1325
 
 
 
 
947
  msgid "Settings restored to defaults."
948
  msgstr "Ustawienia zostały przywrócone do domyślnych."
949
 
950
- #: ../responsive-lightbox.php:286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
951
  msgid "Support"
952
  msgstr "Pomoc"
953
 
954
- #: ../responsive-lightbox.php:305
955
  msgid "Settings"
956
  msgstr "Ustawienia"
957
 
958
- #: ../responsive-lightbox.php:325
959
  msgid "Are you sure you want to reset these settings to defaults?"
960
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
961
 
962
- #: ../responsive-lightbox.php:326
963
  msgid "Are you sure you want to reset this script settings to defaults?"
964
  msgstr ""
965
  "Jesteś pewny, że chcesz zresetować ustawienia tego skryptu do ustawień "
966
  "domyślnych?"
967
 
 
 
 
968
  #~ msgid "Enable"
969
  #~ msgstr "Włącz"
970
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2015-08-24 16:04+0200\n"
5
+ "PO-Revision-Date: 2015-08-24 16:11+0200\n"
6
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: pl\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.8.4\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
+ #: ../includes/class-settings.php:41
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
+ #: ../includes/class-settings.php:43
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
+ #: ../includes/class-settings.php:44
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
+ #: ../includes/class-settings.php:45
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
+ #: ../includes/class-settings.php:48
35
  msgid "default"
36
  msgstr ""
37
 
38
+ #: ../includes/class-settings.php:49
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
+ #: ../includes/class-settings.php:50
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
+ #: ../includes/class-settings.php:51
47
  msgid "light square"
48
  msgstr ""
49
 
50
+ #: ../includes/class-settings.php:52
51
  msgid "dark square"
52
  msgstr ""
53
 
54
+ #: ../includes/class-settings.php:53
55
  msgid "facebook"
56
  msgstr ""
57
 
58
+ #: ../includes/class-settings.php:56
59
  msgid "window"
60
  msgstr ""
61
 
62
+ #: ../includes/class-settings.php:57
63
  msgid "transparent"
64
  msgstr ""
65
 
66
+ #: ../includes/class-settings.php:58
67
  msgid "opaque"
68
  msgstr ""
69
 
70
+ #: ../includes/class-settings.php:59
71
  msgid "direct"
72
  msgstr ""
73
 
74
+ #: ../includes/class-settings.php:60
75
  msgid "gpu"
76
  msgstr ""
77
 
78
+ #: ../includes/class-settings.php:64
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
+ #: ../includes/class-settings.php:66
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
+ #: ../includes/class-settings.php:67
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
+ #: ../includes/class-settings.php:71
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
+ #: ../includes/class-settings.php:73
95
  msgid "elastic"
96
  msgstr ""
97
 
98
+ #: ../includes/class-settings.php:74 ../includes/class-settings.php:95
99
+ #: ../includes/class-settings.php:803
100
  msgid "fade"
101
  msgstr ""
102
 
103
+ #: ../includes/class-settings.php:75
104
  msgid "none"
105
  msgstr "brak"
106
 
107
+ #: ../includes/class-settings.php:78
108
  msgid "auto"
109
  msgstr "automatycznie"
110
 
111
+ #: ../includes/class-settings.php:79
112
  msgid "yes"
113
  msgstr "tak"
114
 
115
+ #: ../includes/class-settings.php:80
116
  msgid "no"
117
  msgstr "nie"
118
 
119
+ #: ../includes/class-settings.php:83
120
  msgid "swing"
121
  msgstr ""
122
 
123
+ #: ../includes/class-settings.php:84
124
  msgid "linear"
125
  msgstr ""
126
 
127
+ #: ../includes/class-settings.php:87
128
  msgid "outside"
129
  msgstr ""
130
 
131
+ #: ../includes/class-settings.php:88
132
  msgid "inside"
133
  msgstr ""
134
 
135
+ #: ../includes/class-settings.php:89
136
  msgid "over"
137
  msgstr ""
138
 
139
+ #: ../includes/class-settings.php:93
140
  msgid "Nivo Lightbox"
141
  msgstr "Nivo Lightbox"
142
 
143
+ #: ../includes/class-settings.php:96
144
  msgid "fade scale"
145
  msgstr "fade scale"
146
 
147
+ #: ../includes/class-settings.php:97
148
  msgid "slide left"
149
  msgstr ""
150
 
151
+ #: ../includes/class-settings.php:98
152
  msgid "slide right"
153
  msgstr "slide right"
154
 
155
+ #: ../includes/class-settings.php:99
156
  msgid "slide up"
157
  msgstr ""
158
 
159
+ #: ../includes/class-settings.php:100
160
  msgid "slide down"
161
  msgstr "slide down"
162
 
163
+ #: ../includes/class-settings.php:101
164
  msgid "fall"
165
  msgstr ""
166
 
167
+ #: ../includes/class-settings.php:105
168
  msgid "Image Lightbox"
169
  msgstr "Image Lightbox"
170
 
171
+ #: ../includes/class-settings.php:108
172
  msgid "TosRUs"
173
  msgstr "TosRUs"
174
 
175
+ #: ../includes/class-settings.php:113
176
  msgid "None (default)"
177
  msgstr "Brak (domyślny)"
178
 
179
+ #: ../includes/class-settings.php:114
180
  msgid "Image Title"
181
  msgstr "Tytuł obrazka"
182
 
183
+ #: ../includes/class-settings.php:115
184
  msgid "Image Caption"
185
  msgstr "Podpis obrazka"
186
 
187
+ #: ../includes/class-settings.php:116
188
  msgid "Image Alt Text"
189
  msgstr "Tekst alternatywny"
190
 
191
+ #: ../includes/class-settings.php:117
192
  msgid "Image Description"
193
  msgstr "Opis obrazka"
194
 
195
+ #: ../includes/class-settings.php:121
196
  msgid "Header"
197
  msgstr "W nagłówku"
198
 
199
+ #: ../includes/class-settings.php:122
200
  msgid "Footer"
201
  msgstr "W stopce"
202
 
203
+ #: ../includes/class-settings.php:132
204
  msgid "Thumbnail"
205
  msgstr "Miniatura"
206
 
207
+ #: ../includes/class-settings.php:133
208
  msgid "Medium"
209
  msgstr "Średni"
210
 
211
+ #: ../includes/class-settings.php:134
212
  msgid "Large"
213
  msgstr "Duży"
214
 
215
+ #: ../includes/class-settings.php:135
216
  msgid "Full Size (default)"
217
  msgstr "Pełny rozmiar (domyslny)"
218
 
219
+ #: ../includes/class-settings.php:145 ../includes/class-settings.php:880
220
  msgid "General settings"
221
  msgstr "Ustawienia ogólne"
222
 
223
+ #: ../includes/class-settings.php:154
224
  msgid "Lightbox script"
225
  msgstr "Skrypt lightbox"
226
 
227
+ #: ../includes/class-settings.php:160
228
+ #, php-format
229
+ msgid ""
230
+ "Select your preffered ligthbox effect script or get our <a href=\"%s"
231
+ "\">premium extensions</a>."
232
+ msgstr ""
233
+ "Wybierz swój preferowany efekt lightbox lub wybierz coś z <a href=\"%s"
234
+ "\">dostępnych dodatków.</a>."
235
 
236
+ #: ../includes/class-settings.php:167
237
  msgid "Selector"
238
  msgstr "Znacznik"
239
 
240
+ #: ../includes/class-settings.php:170
241
  msgid "Enter the rel selector lightbox effect will be applied to."
242
  msgstr "Wybierz dla którego znacznika będzie dodawany efekt lightbox."
243
 
244
+ #: ../includes/class-settings.php:173
245
  msgid "Image links"
246
  msgstr "Linki obrazków"
247
 
248
+ #: ../includes/class-settings.php:176
249
  msgid "Add lightbox to WordPress image links by default."
250
  msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
251
 
252
+ #: ../includes/class-settings.php:179
253
+ msgid "Single image title"
254
+ msgstr "Tytuł pojedynczego obrazka"
255
+
256
+ #: ../includes/class-settings.php:182
257
+ msgid "Select title for single images."
258
+ msgstr "Wybierz tytuł dla pojedynczych obrazków."
259
+
260
+ #: ../includes/class-settings.php:186
261
  msgid "Single images as gallery"
262
  msgstr "Pojedyncze obrazki"
263
 
264
+ #: ../includes/class-settings.php:189
265
  msgid "Display single post images as a gallery."
266
  msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
267
 
268
+ #: ../includes/class-settings.php:192
269
  msgid "Galleries"
270
  msgstr "Galerie"
271
 
272
+ #: ../includes/class-settings.php:195
273
  msgid "Add lightbox to WordPress image galleries by default."
274
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
275
 
276
+ #: ../includes/class-settings.php:198
277
  msgid "Gallery image size"
278
  msgstr "WIelkość obrazka w galerii"
279
 
280
+ #: ../includes/class-settings.php:201
281
  msgid "Select image size for gallery image links."
282
  msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
283
 
284
+ #: ../includes/class-settings.php:205
285
  msgid "Gallery image title"
286
  msgstr "Tytuł obrazków w galerii"
287
 
288
+ #: ../includes/class-settings.php:208
289
  msgid "Select title for images in native WordPress galleries."
290
  msgstr "Wybierz pochodzenie tytułu dla obrazków w galerii."
291
 
292
+ #: ../includes/class-settings.php:212
293
  msgid "Force gallery lightbox"
294
  msgstr "Wymuszanie lightboxa w galerii"
295
 
296
+ #: ../includes/class-settings.php:215
297
  msgid ""
298
  "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
299
  "galleries."
301
  "Spróbuj wymusić lightbox w galeriach zastępujących domyślną galerię "
302
  "WordPress, jak np. galeria Jetpack."
303
 
304
+ #: ../includes/class-settings.php:218
305
  msgid "Video links"
306
  msgstr "Linki video"
307
 
308
+ #: ../includes/class-settings.php:221
309
  msgid "Add lightbox to YouTube and Vimeo video links by default."
310
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
311
 
312
+ #: ../includes/class-settings.php:224
313
  msgid "Custom events"
314
  msgstr "Własne zdarzenia"
315
 
316
+ #: ../includes/class-settings.php:230
317
  msgid "Enable triggering lightbox on custom jQuery events."
318
  msgstr ""
319
  "Włącz uruchamianie efektu lightbox przy pomocy własnych zdarzeń jQuery."
320
 
321
+ #: ../includes/class-settings.php:234
322
  msgid "Enter a space separated list of events."
323
  msgstr "Wpisz oddzieloną spacją listę wydarzeń."
324
 
325
+ #: ../includes/class-settings.php:239
326
  msgid "Loading place"
327
  msgstr "Ładowanie"
328
 
329
+ #: ../includes/class-settings.php:242
330
  msgid "Select where all the lightbox scripts should be placed."
331
  msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
332
 
333
+ #: ../includes/class-settings.php:246
334
  msgid "Conditional loading"
335
  msgstr "Ładowanie warunkowe"
336
 
337
+ #: ../includes/class-settings.php:249
338
  msgid ""
339
  "Enable to load scripts and styles only on pages that have images or "
340
  "galleries in post content."
342
  "Włącz aby wczytywać sklrypty i style wyłącznie na stronach, które w treści "
343
  "zawierają galerie obrazków lub pojedyncze obrazki."
344
 
345
+ #: ../includes/class-settings.php:252
346
  msgid "Delete data"
347
  msgstr "Usuwanie danych"
348
 
349
+ #: ../includes/class-settings.php:255
350
  msgid "Delete all plugin settings on deactivation."
351
  msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
352
 
353
+ #: ../includes/class-settings.php:265 ../includes/class-settings.php:886
354
  msgid "Lightbox settings"
355
  msgstr "Ustawienia lightbox"
356
 
357
+ #: ../includes/class-settings.php:283
358
  msgid "Animation type"
359
  msgstr "Typ animacji"
360
 
361
+ #: ../includes/class-settings.php:287
362
  msgid "Select a method of applying a lightbox effect."
363
  msgstr "Wybierz sposób dodawania efektu lightbox."
364
 
365
+ #: ../includes/class-settings.php:292
366
  msgid "Force PNG icons"
367
  msgstr "Wymuszanie ikon PNG"
368
 
369
+ #: ../includes/class-settings.php:295
370
  msgid ""
371
  "Enable this if you're having problems with navigation icons not visible on "
372
  "some devices."
373
  msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
374
 
375
+ #: ../includes/class-settings.php:299
376
  msgid "Hide close on mobile"
377
  msgstr "Ukrywanie przycisku zamknij"
378
 
379
+ #: ../includes/class-settings.php:302
380
  msgid "Hide the close button on mobile devices."
381
  msgstr ""
382
  "Włącz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
383
 
384
+ #: ../includes/class-settings.php:306
385
  msgid "Remove bars on mobile"
386
  msgstr "Ukrywanie pasków"
387
 
388
+ #: ../includes/class-settings.php:309
389
  msgid "Hide the top and bottom bars on mobile devices."
390
  msgstr "Ukryj górny i dolny pasek na urządzeniach mobilnych."
391
 
392
+ #: ../includes/class-settings.php:313
393
  msgid "Top and bottom bars"
394
  msgstr "Górne i dolne paski"
395
 
396
+ #: ../includes/class-settings.php:319
397
  msgid "Hide top and bottom bars after a period of time."
398
  msgstr "Ukryj górny i dolny pasek po określonym czasie."
399
 
400
+ #: ../includes/class-settings.php:324
401
  msgid ""
402
  "Enter the time after which the top and bottom bars will be hidden (when "
403
  "hiding is enabled)."
405
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
406
  "jest włączona)."
407
 
408
+ #: ../includes/class-settings.php:331
409
  msgid "Video max width"
410
  msgstr "Maksymalna szerokość video"
411
 
412
+ #: ../includes/class-settings.php:334
413
  msgid "Enter the max video width in a lightbox."
414
  msgstr "Podaj maksymalną szerokość video."
415
 
416
+ #: ../includes/class-settings.php:339
417
  msgid "Loop at end"
418
  msgstr "Zapętlenie galerii"
419
 
420
+ #: ../includes/class-settings.php:342
421
  msgid "True will return to the first image after the last image is reached."
422
  msgstr ""
423
  "Włącz, aby powrócić do pierwszego zdjęcia po ostatnim zdjęciu w galerii."
424
 
425
+ #: ../includes/class-settings.php:354 ../includes/class-settings.php:746
426
  msgid "Animation speed"
427
  msgstr "Szybkość animacji"
428
 
429
+ #: ../includes/class-settings.php:358
430
  msgid "Select animation speed for lightbox effect."
431
  msgstr "Wybierz szybkość animacji efektu lightbox."
432
 
433
+ #: ../includes/class-settings.php:363
434
  msgid "Slideshow"
435
  msgstr "Pokaz slidów"
436
 
437
+ #: ../includes/class-settings.php:369
438
  msgid "Display images as slideshow"
439
  msgstr "Wyświetlanie obrazków jako pokaz slajdów"
440
 
441
+ #: ../includes/class-settings.php:374
442
  msgid "Enter time (in miliseconds)."
443
  msgstr "Podaj czas (w milisekundach)."
444
 
445
+ #: ../includes/class-settings.php:381
446
  msgid "Slideshow autoplay"
447
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
448
 
449
+ #: ../includes/class-settings.php:384 ../includes/class-settings.php:828
450
  msgid "Automatically start slideshow."
451
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
452
 
453
+ #: ../includes/class-settings.php:388 ../includes/class-settings.php:590
454
  msgid "Opacity"
455
  msgstr "Przezroczystość"
456
 
457
+ #: ../includes/class-settings.php:391
458
  msgid "Value between 0 and 100, 100 for no opacity."
459
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
460
 
461
+ #: ../includes/class-settings.php:397
462
  msgid "Show title"
463
  msgstr "Wyświetlanie tytułu"
464
 
465
+ #: ../includes/class-settings.php:400
466
  msgid "Display image title."
467
  msgstr "Wyświetlanie tytułu obrazka."
468
 
469
+ #: ../includes/class-settings.php:404
470
  msgid "Allow resize big images"
471
  msgstr "Powiększanie dużych zdjęć"
472
 
473
+ #: ../includes/class-settings.php:407
474
  msgid "Resize the photos bigger than viewport."
475
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
476
 
477
+ #: ../includes/class-settings.php:411
478
  msgid "Allow expand"
479
  msgstr "Zezwól na powiększanie"
480
 
481
+ #: ../includes/class-settings.php:414
482
  msgid "Allow expanding images."
483
  msgstr "Zezwól na powiększanie zdjęć."
484
 
485
+ #: ../includes/class-settings.php:418 ../includes/class-settings.php:684
486
  msgid "Video width"
487
  msgstr "Szerokość video"
488
 
489
+ #: ../includes/class-settings.php:425 ../includes/class-settings.php:692
490
  msgid "Video height"
491
  msgstr "Wysokość video"
492
 
493
+ #: ../includes/class-settings.php:432
494
  msgid "Theme"
495
  msgstr "Motyw"
496
 
497
+ #: ../includes/class-settings.php:435
498
  msgid "Select the theme for lightbox effect."
499
  msgstr "Wybierz motyw dla efektu lightbox."
500
 
501
+ #: ../includes/class-settings.php:440
502
  msgid "Horizontal padding"
503
  msgstr "Odstępy w poziomie"
504
 
505
+ #: ../includes/class-settings.php:447
506
  msgid "Hide Flash"
507
  msgstr "Ukrywanie flash"
508
 
509
+ #: ../includes/class-settings.php:450
510
  msgid ""
511
  "Hide all the flash objects on a page. Enable this if flash appears over "
512
  "prettyPhoto."
514
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
515
  "wyświetlane są nad lightboxem."
516
 
517
+ #: ../includes/class-settings.php:454
518
  msgid "Flash Window Mode (wmode)"
519
  msgstr "Tryb okna flash (wmode)"
520
 
521
+ #: ../includes/class-settings.php:457
522
  msgid "Select flash window mode."
523
  msgstr "Wybierz tryb okna flash."
524
 
525
+ #: ../includes/class-settings.php:462
526
  msgid "Video autoplay"
527
  msgstr "Automatyczne odtwarzanie wideo"
528
 
529
+ #: ../includes/class-settings.php:465
530
  msgid "Automatically start videos."
531
  msgstr "Automatycznie rozpoczynaj video."
532
 
533
+ #: ../includes/class-settings.php:469 ../includes/class-settings.php:512
534
  msgid "Modal"
535
  msgstr "Tryb modal"
536
 
537
+ #: ../includes/class-settings.php:472
538
  msgid "If set to true, only the close button will close the window."
539
  msgstr ""
540
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
541
 
542
+ #: ../includes/class-settings.php:476
543
  msgid "Deeplinking"
544
  msgstr "Głębokie linki"
545
 
546
+ #: ../includes/class-settings.php:479
547
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
548
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
549
 
550
+ #: ../includes/class-settings.php:483
551
  msgid "Overlay gallery"
552
  msgstr "Efekt overlay galerii"
553
 
554
+ #: ../includes/class-settings.php:486
555
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
556
  msgstr ""
557
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
558
  "najechaniu myszką."
559
 
560
+ #: ../includes/class-settings.php:490
561
  msgid "Keyboard shortcuts"
562
  msgstr "Skróty klawiaturowe"
563
 
564
+ #: ../includes/class-settings.php:493
565
  msgid "Set to false if you open forms inside prettyPhoto."
566
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
567
 
568
+ #: ../includes/class-settings.php:497
569
  msgid "Social (Twitter, Facebook)"
570
  msgstr "Linki społeczności (Twitter, Facebook)"
571
 
572
+ #: ../includes/class-settings.php:500
573
  msgid "Display links to Facebook and Twitter."
574
  msgstr "Wyświetl linki do Facebboka i Twittera."
575
 
576
+ #: ../includes/class-settings.php:515
577
  msgid ""
578
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
579
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
583
  "natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
584
  "\"enableEscapeButton\", \"showCloseButton\" zostaną wyłączone."
585
 
586
+ #: ../includes/class-settings.php:519
587
  msgid "Show overlay"
588
  msgstr "Wyświetlanie tła"
589
 
590
+ #: ../includes/class-settings.php:522
591
  msgid "Toggle overlay."
592
  msgstr "Włącz tło."
593
 
594
+ #: ../includes/class-settings.php:526
595
  msgid "Show close button"
596
  msgstr "Wyświetlanie przycisku Zamknij"
597
 
598
+ #: ../includes/class-settings.php:529
599
  msgid "Toggle close button."
600
  msgstr "Włącz przycisk Zamknij."
601
 
602
+ #: ../includes/class-settings.php:533
603
  msgid "Enable escape button"
604
  msgstr "Wyświetlanie przycisku Wyjdź"
605
 
606
+ #: ../includes/class-settings.php:536
607
  msgid "Toggle if pressing Esc button closes FancyBox."
608
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
609
 
610
+ #: ../includes/class-settings.php:540
611
  msgid "Hide on overlay click"
612
  msgstr "Ukryj po kliknięciu w tło"
613
 
614
+ #: ../includes/class-settings.php:543
615
  msgid "Toggle if clicking the overlay should close FancyBox."
616
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
617
 
618
+ #: ../includes/class-settings.php:547
619
  msgid "Hide on content click"
620
  msgstr "Ukryj po kliknięciu w treść"
621
 
622
+ #: ../includes/class-settings.php:550
623
  msgid "Toggle if clicking the content should close FancyBox."
624
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
625
 
626
+ #: ../includes/class-settings.php:554
627
  msgid "Cyclic"
628
  msgstr "Cykliczność"
629
 
630
+ #: ../includes/class-settings.php:557
631
  msgid ""
632
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
633
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
634
 
635
+ #: ../includes/class-settings.php:561
636
  msgid "Show nav arrows"
637
  msgstr "Wyświetlanie strzałek"
638
 
639
+ #: ../includes/class-settings.php:564
640
  msgid "Toggle navigation arrows."
641
  msgstr "Włącz strzałki nawigacyjne."
642
 
643
+ #: ../includes/class-settings.php:568
644
  msgid "Auto scale"
645
  msgstr "Automatyczne skalowanie"
646
 
647
+ #: ../includes/class-settings.php:571
648
  msgid "If true, FancyBox is scaled to fit in viewport."
649
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
650
 
651
+ #: ../includes/class-settings.php:575
652
  msgid "Scrolling (in/out)"
653
  msgstr "Przewijanie"
654
 
655
+ #: ../includes/class-settings.php:578
656
  msgid "Set the overflow CSS property to create or hide scrollbars."
657
  msgstr ""
658
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
659
 
660
+ #: ../includes/class-settings.php:583
661
  msgid "Center on scroll"
662
  msgstr "Centrowanie przy przewijaniu"
663
 
664
+ #: ../includes/class-settings.php:586
665
  msgid "When true, FancyBox is centered while scrolling page."
666
  msgstr ""
667
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
668
  "strony."
669
 
670
+ #: ../includes/class-settings.php:593
671
  msgid "When true, transparency of content is changed for elastic transitions."
672
  msgstr ""
673
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
674
  "animacji."
675
 
676
+ #: ../includes/class-settings.php:597
677
  msgid "Overlay opacity"
678
  msgstr "Przezroczystość tła"
679
 
680
+ #: ../includes/class-settings.php:600
681
  msgid "Opacity of the overlay."
682
  msgstr "Przezroczystość tła."
683
 
684
+ #: ../includes/class-settings.php:606
685
  msgid "Overlay color"
686
  msgstr "Kolor tła"
687
 
688
+ #: ../includes/class-settings.php:609
689
  msgid "Color of the overlay."
690
  msgstr "Kolor tła."
691
 
692
+ #: ../includes/class-settings.php:613
693
  msgid "Title show"
694
  msgstr "Wyświetlanie tytułu"
695
 
696
+ #: ../includes/class-settings.php:616
697
  msgid "Toggle title."
698
  msgstr "Wyświetlanie tytułu."
699
 
700
+ #: ../includes/class-settings.php:620
701
  msgid "Title position"
702
  msgstr "Pozycja tytułu"
703
 
704
+ #: ../includes/class-settings.php:623
705
  msgid "The position of title."
706
  msgstr "Pozycja tytułu."
707
 
708
+ #: ../includes/class-settings.php:628
709
  msgid "Transition (in/out)"
710
  msgstr "Efekty przejścia"
711
 
712
+ #: ../includes/class-settings.php:631
713
  msgid "The transition type."
714
  msgstr "Typ animacji."
715
 
716
+ #: ../includes/class-settings.php:636
717
  msgid "Easings (in/out)"
718
  msgstr "Wygładzanie animacji"
719
 
720
+ #: ../includes/class-settings.php:639
721
  msgid "Easing used for elastic animations."
722
  msgstr "Wygładzanie animacji dla trybu elastic."
723
 
724
+ #: ../includes/class-settings.php:644
725
  msgid "Speed (in/out)"
726
  msgstr "Szybkość"
727
 
728
+ #: ../includes/class-settings.php:647
729
  msgid "Speed of the fade and elastic transitions, in milliseconds."
730
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
731
 
732
+ #: ../includes/class-settings.php:652
733
  msgid "Change speed"
734
  msgstr "Zmień szybkość"
735
 
736
+ #: ../includes/class-settings.php:655
737
  msgid "Speed of resizing when changing gallery items, in milliseconds."
738
  msgstr ""
739
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
740
  "milisekundach)."
741
 
742
+ #: ../includes/class-settings.php:660
743
  msgid "Change fade"
744
  msgstr "Zmień zanikanie"
745
 
746
+ #: ../includes/class-settings.php:663
747
  msgid "Speed of the content fading while changing gallery items."
748
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
749
 
750
+ #: ../includes/class-settings.php:668
751
  msgid "Padding"
752
  msgstr "Odstęp (padding)"
753
 
754
+ #: ../includes/class-settings.php:671
755
  msgid "Space between FancyBox wrapper and content."
756
  msgstr "Przestrzeń między FancyBox a treścią"
757
 
758
+ #: ../includes/class-settings.php:676
759
  msgid "Margin"
760
  msgstr "Margines (margin)"
761
 
762
+ #: ../includes/class-settings.php:679
763
  msgid "Space between viewport and FancyBox wrapper."
764
  msgstr "Przestrzeń między ekranem a Fancybox"
765
 
766
+ #: ../includes/class-settings.php:687
767
  msgid "Width of the video."
768
  msgstr "Szerokość video."
769
 
770
+ #: ../includes/class-settings.php:695
771
  msgid "Height of the video."
772
  msgstr "Wysokość video."
773
 
774
+ #: ../includes/class-settings.php:708
775
  msgid "Effect"
776
  msgstr "Efekt"
777
 
778
+ #: ../includes/class-settings.php:711
779
  msgid "The effect to use when showing the lightbox."
780
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
781
 
782
+ #: ../includes/class-settings.php:716 ../includes/class-settings.php:815
783
  msgid "Keyboard navigation"
784
  msgstr "Nawigacja klawiaturą"
785
 
786
+ #: ../includes/class-settings.php:719 ../includes/class-settings.php:818
787
  msgid "Enable keyboard navigation (left/right/escape)."
788
  msgstr "Włącz nawigację za pomocą klawiatury (lewo, prawo, esc)."
789
 
790
+ #: ../includes/class-settings.php:723
791
  msgid "Click overlay to close"
792
  msgstr "Kliknięcie poza obrazek"
793
 
794
+ #: ../includes/class-settings.php:726
795
  msgid "Enable to close lightbox on overlay click."
796
  msgstr "Włącz aby zamykać lightbox po kliknięciu w obszar poza obrazkiem."
797
 
798
+ #: ../includes/class-settings.php:730
799
  msgid "Error message"
800
  msgstr "Treść komunikatu o błędzie"
801
 
802
+ #: ../includes/class-settings.php:734
803
  msgid "Error message if the content cannot be loaded."
804
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
805
 
806
+ #: ../includes/class-settings.php:749
807
  msgid "Animation speed."
808
  msgstr "Szybkość animacji."
809
 
810
+ #: ../includes/class-settings.php:754
811
  msgid "Preload next image"
812
  msgstr "Wstępne ładowanie kolejnego obrazka"
813
 
814
+ #: ../includes/class-settings.php:757
815
  msgid "Silently preload the next image."
816
  msgstr "W niezauważalny sposób ładuje kolejny obrazek."
817
 
818
+ #: ../includes/class-settings.php:761
819
  msgid "Enable keyboard keys"
820
  msgstr "Obługa klawiaturą"
821
 
822
+ #: ../includes/class-settings.php:764
823
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
824
  msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
825
 
826
+ #: ../includes/class-settings.php:768
827
  msgid "Quit after last image"
828
  msgstr "Wyjście po ostanim obrazku"
829
 
830
+ #: ../includes/class-settings.php:771
831
  msgid "Quit after viewing the last image."
832
  msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
833
 
834
+ #: ../includes/class-settings.php:775
835
  msgid "Quit on image click"
836
  msgstr "Wyjście po kliknięciu w obrazek"
837
 
838
+ #: ../includes/class-settings.php:778
839
  msgid "Quit when the viewed image is clicked."
840
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
841
 
842
+ #: ../includes/class-settings.php:782
843
  msgid "Quit on anything click"
844
  msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
845
 
846
+ #: ../includes/class-settings.php:785
847
  msgid "Quit when anything but the viewed image is clicked."
848
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
849
 
850
+ #: ../includes/class-settings.php:797
851
  msgid "Transition effect"
852
  msgstr "Efekt przejścia"
853
 
854
+ #: ../includes/class-settings.php:800
855
  msgid "What effect to use for the transition."
856
  msgstr "Wybierz efekt jaki zastosować dla przejścia między slajdami."
857
 
858
+ #: ../includes/class-settings.php:802
859
  msgid "slide"
860
  msgstr ""
861
 
862
+ #: ../includes/class-settings.php:808
863
  msgid "Infinite loop"
864
  msgstr "Nieskończona pętla"
865
 
866
+ #: ../includes/class-settings.php:811
867
  msgid ""
868
  "Whether or not to slide back to the first slide when the last has been "
869
  "reached."
870
  msgstr ""
871
  "Włącz przewijanie do pierwszego slajdu po wyświetleniu ostatniego slajdu."
872
 
873
+ #: ../includes/class-settings.php:822
874
  msgid "Autoplay"
875
  msgstr "Autopla"
876
 
877
+ #: ../includes/class-settings.php:833
878
  msgid "The timeout between sliding to the next slide in milliseconds."
879
  msgstr "Czas pomiędzy slajdami, w milisekundach."
880
 
881
+ #: ../includes/class-settings.php:840
882
  msgid "Pause on hover"
883
  msgstr "Pauza po najechaniu"
884
 
885
+ #: ../includes/class-settings.php:843
886
  msgid "Whether or not to pause on hover."
887
  msgstr "Włącz pauzę po najechaniu kursorem."
888
 
889
+ #: ../includes/class-settings.php:847
890
  msgid "Pagination"
891
  msgstr "Stronicowanie"
892
 
893
+ #: ../includes/class-settings.php:853
894
  msgid "Whether or not to add a pagination."
895
  msgstr "Włącz stronicowanie."
896
 
897
+ #: ../includes/class-settings.php:858
898
  msgid "What type of pagination to use."
899
  msgstr "Wybierz rodzaj stronicowania."
900
 
901
+ #: ../includes/class-settings.php:860
902
  msgid "Bullets"
903
  msgstr "Kropki"
904
 
905
+ #: ../includes/class-settings.php:861
906
  msgid "Thumbnails"
907
  msgstr "Miniatury"
908
 
909
+ #: ../includes/class-settings.php:894
910
+ msgid "Add-ons"
911
+ msgstr "Dodatki"
912
+
913
+ #: ../includes/class-settings.php:908 ../includes/class-settings.php:922
914
+ #: ../includes/class-settings.php:935
915
  msgid "Responsive Lightbox"
916
  msgstr "Efekt Lightbox"
917
 
918
+ #: ../includes/class-settings.php:937
919
  msgid "Need support?"
920
  msgstr "Potrzebujesz pomocy?"
921
 
922
+ #: ../includes/class-settings.php:938
923
  msgid ""
924
  "If you are having problems with this plugin, please talk about them in the"
925
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
926
 
927
+ #: ../includes/class-settings.php:938
928
  msgid "Support forum"
929
  msgstr "Forum pomocy"
930
 
931
+ #: ../includes/class-settings.php:940
932
  msgid "Do you like this plugin?"
933
  msgstr "Lubisz tę wtyczkę?"
934
 
935
+ #: ../includes/class-settings.php:947
936
  msgid "Rate it 5"
937
  msgstr "Oceń ją na 5"
938
 
939
+ #: ../includes/class-settings.php:947
940
  msgid "on WordPress.org"
941
  msgstr "na WordPress.org"
942
 
943
+ #: ../includes/class-settings.php:948
944
  msgid "Blog about it & link to the"
945
  msgstr "Napisz o niej i dodaj link"
946
 
947
+ #: ../includes/class-settings.php:948
948
  msgid "plugin page"
949
  msgstr "do strony wtyczki"
950
 
951
+ #: ../includes/class-settings.php:949
952
  msgid "Check out our other"
953
  msgstr "Sprawdź nasze pozostałe"
954
 
955
+ #: ../includes/class-settings.php:949
956
  msgid "WordPress plugins"
957
  msgstr "wtyczki do WordPress'a"
958
 
959
+ #: ../includes/class-settings.php:975
960
  msgid "Reset to defaults"
961
  msgstr "Resetuj do domyślnych"
962
 
963
+ #: ../includes/class-settings.php:1093
964
+ msgid "Licenses"
965
+ msgstr "Licencje"
966
+
967
+ #: ../includes/class-settings.php:1384
968
  msgid "Settings restored to defaults."
969
  msgstr "Ustawienia zostały przywrócone do domyślnych."
970
 
971
+ #: ../includes/class-settings.php:1398
972
+ msgid "Add-ons / Extensions"
973
+ msgstr "Dodatki / Rozszerzenia"
974
+
975
+ #: ../includes/class-settings.php:1399
976
+ msgid ""
977
+ "Enhance your website with these beautiful, easy to use extensions, designed "
978
+ "with Responsive Lightbox integration in mind."
979
+ msgstr ""
980
+ "Rozszerz swoją stronę z wykorzystaniem tych pięknych, łatwych w użyciu i "
981
+ "zaprojektowanych specjalnie z myślą o Responsive Lightbox dodatków."
982
+
983
+ #: ../includes/class-settings.php:1413
984
+ msgid ""
985
+ "There was an error retrieving the extensions list from the server. Please "
986
+ "try again later."
987
+ msgstr ""
988
+ "W trakcie wczytywania listy rozszerzeń i dodatków wystąpił problem na "
989
+ "serwerze. Proszę spróbować później."
990
+
991
+ #: ../includes/class-settings.php:1426
992
+ msgid "A list of licenses for your Responsive Lightbox extensions."
993
+ msgstr "Lista licencji dostępnych dla Twoich rozszerzeń Responsive Lightbox."
994
+
995
+ #: ../includes/class-settings.php:1442
996
+ #, php-format
997
+ msgid ""
998
+ "Enter your license key to activate %s extension and enable automatic upgrade "
999
+ "notices."
1000
+ msgstr ""
1001
+ "Wpisz klucz licencji aby aktywować rozszerzenie %s i włączyć powiadomienia o "
1002
+ "automatycznych aktualizacjach."
1003
+
1004
+ #: ../includes/class-settings.php:1498 ../includes/class-settings.php:1511
1005
+ #: ../includes/class-settings.php:1536 ../includes/class-settings.php:1547
1006
+ msgid "License activation failed."
1007
+ msgstr "Aktywacja licencji nie powiodła się."
1008
+
1009
+ #: ../includes/class-settings.php:1508
1010
+ msgid "License successfully activated."
1011
+ msgstr "Licencja została aktywowana."
1012
+
1013
+ #: ../includes/class-settings.php:1545
1014
+ msgid "License successfully deactivated."
1015
+ msgstr "Licencja została zdeaktywowana."
1016
+
1017
+ #: ../responsive-lightbox.php:314
1018
+ #, php-format
1019
+ msgid ""
1020
+ "Thank you for updating Responsive Lightbox to version %s. <a href=\"%s"
1021
+ "\">Click here</a> to check out our latest extensions!"
1022
+ msgstr ""
1023
+ "Dziękujemy za aktualizację Responsive Lightbox do wersji %s. <a href=\"%s"
1024
+ "\">Kliknij tutaj</a> aby sprawdzić najnowsze rozszerzenia!"
1025
+
1026
+ #: ../responsive-lightbox.php:359
1027
  msgid "Support"
1028
  msgstr "Pomoc"
1029
 
1030
+ #: ../responsive-lightbox.php:378
1031
  msgid "Settings"
1032
  msgstr "Ustawienia"
1033
 
1034
+ #: ../responsive-lightbox.php:398
1035
  msgid "Are you sure you want to reset these settings to defaults?"
1036
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
1037
 
1038
+ #: ../responsive-lightbox.php:399
1039
  msgid "Are you sure you want to reset this script settings to defaults?"
1040
  msgstr ""
1041
  "Jesteś pewny, że chcesz zresetować ustawienia tego skryptu do ustawień "
1042
  "domyślnych?"
1043
 
1044
+ #~ msgid "Select your preffered ligthbox effect script."
1045
+ #~ msgstr "Wybierz preferowany efekt lightbox."
1046
+
1047
  #~ msgid "Enable"
1048
  #~ msgstr "Włącz"
1049
 
languages/responsive-lightbox.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Responsive Lightbox\n"
5
- "POT-Creation-Date: 2015-06-13 18:20+0100\n"
6
  "PO-Revision-Date: 2015-05-12 12:06+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
@@ -10,931 +10,997 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.1\n"
14
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
- #: ../includes/class-settings.php:46
20
  msgid "prettyPhoto"
21
  msgstr ""
22
 
23
- #: ../includes/class-settings.php:48
24
  msgid "slow"
25
  msgstr ""
26
 
27
- #: ../includes/class-settings.php:49
28
  msgid "normal"
29
  msgstr ""
30
 
31
- #: ../includes/class-settings.php:50
32
  msgid "fast"
33
  msgstr ""
34
 
35
- #: ../includes/class-settings.php:53
36
  msgid "default"
37
  msgstr ""
38
 
39
- #: ../includes/class-settings.php:54
40
  msgid "light rounded"
41
  msgstr ""
42
 
43
- #: ../includes/class-settings.php:55
44
  msgid "dark rounded"
45
  msgstr ""
46
 
47
- #: ../includes/class-settings.php:56
48
  msgid "light square"
49
  msgstr ""
50
 
51
- #: ../includes/class-settings.php:57
52
  msgid "dark square"
53
  msgstr ""
54
 
55
- #: ../includes/class-settings.php:58
56
  msgid "facebook"
57
  msgstr ""
58
 
59
- #: ../includes/class-settings.php:61
60
  msgid "window"
61
  msgstr ""
62
 
63
- #: ../includes/class-settings.php:62
64
  msgid "transparent"
65
  msgstr ""
66
 
67
- #: ../includes/class-settings.php:63
68
  msgid "opaque"
69
  msgstr ""
70
 
71
- #: ../includes/class-settings.php:64
72
  msgid "direct"
73
  msgstr ""
74
 
75
- #: ../includes/class-settings.php:65
76
  msgid "gpu"
77
  msgstr ""
78
 
79
- #: ../includes/class-settings.php:69
80
  msgid "SwipeBox"
81
  msgstr ""
82
 
83
- #: ../includes/class-settings.php:71
84
  msgid "CSS"
85
  msgstr ""
86
 
87
- #: ../includes/class-settings.php:72
88
  msgid "jQuery"
89
  msgstr ""
90
 
91
- #: ../includes/class-settings.php:76
92
  msgid "FancyBox"
93
  msgstr ""
94
 
95
- #: ../includes/class-settings.php:78
96
  msgid "elastic"
97
  msgstr ""
98
 
99
- #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
100
- #: ../includes/class-settings.php:801
101
  msgid "fade"
102
  msgstr ""
103
 
104
- #: ../includes/class-settings.php:80
105
  msgid "none"
106
  msgstr ""
107
 
108
- #: ../includes/class-settings.php:83
109
  msgid "auto"
110
  msgstr ""
111
 
112
- #: ../includes/class-settings.php:84
113
  msgid "yes"
114
  msgstr ""
115
 
116
- #: ../includes/class-settings.php:85
117
  msgid "no"
118
  msgstr ""
119
 
120
- #: ../includes/class-settings.php:88
121
  msgid "swing"
122
  msgstr ""
123
 
124
- #: ../includes/class-settings.php:89
125
  msgid "linear"
126
  msgstr ""
127
 
128
- #: ../includes/class-settings.php:92
129
  msgid "outside"
130
  msgstr ""
131
 
132
- #: ../includes/class-settings.php:93
133
  msgid "inside"
134
  msgstr ""
135
 
136
- #: ../includes/class-settings.php:94
137
  msgid "over"
138
  msgstr ""
139
 
140
- #: ../includes/class-settings.php:98
141
  msgid "Nivo Lightbox"
142
  msgstr ""
143
 
144
- #: ../includes/class-settings.php:101
145
  msgid "fade scale"
146
  msgstr ""
147
 
148
- #: ../includes/class-settings.php:102
149
  msgid "slide left"
150
  msgstr ""
151
 
152
- #: ../includes/class-settings.php:103
153
  msgid "slide right"
154
  msgstr ""
155
 
156
- #: ../includes/class-settings.php:104
157
  msgid "slide up"
158
  msgstr ""
159
 
160
- #: ../includes/class-settings.php:105
161
  msgid "slide down"
162
  msgstr ""
163
 
164
- #: ../includes/class-settings.php:106
165
  msgid "fall"
166
  msgstr ""
167
 
168
- #: ../includes/class-settings.php:110
169
  msgid "Image Lightbox"
170
  msgstr ""
171
 
172
- #: ../includes/class-settings.php:113
173
  msgid "TosRUs"
174
  msgstr ""
175
 
176
- #: ../includes/class-settings.php:118
177
  msgid "None (default)"
178
  msgstr ""
179
 
180
- #: ../includes/class-settings.php:119
181
  msgid "Image Title"
182
  msgstr ""
183
 
184
- #: ../includes/class-settings.php:120
185
  msgid "Image Caption"
186
  msgstr ""
187
 
188
- #: ../includes/class-settings.php:121
189
  msgid "Image Alt Text"
190
  msgstr ""
191
 
192
- #: ../includes/class-settings.php:122
193
  msgid "Image Description"
194
  msgstr ""
195
 
196
- #: ../includes/class-settings.php:126
197
  msgid "Header"
198
  msgstr ""
199
 
200
- #: ../includes/class-settings.php:127
201
  msgid "Footer"
202
  msgstr ""
203
 
204
- #: ../includes/class-settings.php:137
205
  msgid "Thumbnail"
206
  msgstr ""
207
 
208
- #: ../includes/class-settings.php:138
209
  msgid "Medium"
210
  msgstr ""
211
 
212
- #: ../includes/class-settings.php:139
213
  msgid "Large"
214
  msgstr ""
215
 
216
- #: ../includes/class-settings.php:140
217
  msgid "Full Size (default)"
218
  msgstr ""
219
 
220
- #: ../includes/class-settings.php:150 ../includes/class-settings.php:875
221
  msgid "General settings"
222
  msgstr ""
223
 
224
- #: ../includes/class-settings.php:159
225
  msgid "Lightbox script"
226
  msgstr ""
227
 
228
- #: ../includes/class-settings.php:165
229
- msgid "Select your preffered ligthbox effect script."
 
 
 
230
  msgstr ""
231
 
232
- #: ../includes/class-settings.php:172
233
  msgid "Selector"
234
  msgstr ""
235
 
236
- #: ../includes/class-settings.php:175
237
  msgid "Enter the rel selector lightbox effect will be applied to."
238
  msgstr ""
239
 
240
- #: ../includes/class-settings.php:178
241
  msgid "Image links"
242
  msgstr ""
243
 
244
- #: ../includes/class-settings.php:181
245
  msgid "Add lightbox to WordPress image links by default."
246
  msgstr ""
247
 
248
- #: ../includes/class-settings.php:184
 
 
 
 
 
 
 
 
249
  msgid "Single images as gallery"
250
  msgstr ""
251
 
252
- #: ../includes/class-settings.php:187
253
  msgid "Display single post images as a gallery."
254
  msgstr ""
255
 
256
- #: ../includes/class-settings.php:190
257
  msgid "Galleries"
258
  msgstr ""
259
 
260
- #: ../includes/class-settings.php:193
261
  msgid "Add lightbox to WordPress image galleries by default."
262
  msgstr ""
263
 
264
- #: ../includes/class-settings.php:196
265
  msgid "Gallery image size"
266
  msgstr ""
267
 
268
- #: ../includes/class-settings.php:199
269
  msgid "Select image size for gallery image links."
270
  msgstr ""
271
 
272
- #: ../includes/class-settings.php:203
273
  msgid "Gallery image title"
274
  msgstr ""
275
 
276
- #: ../includes/class-settings.php:206
277
  msgid "Select title for images in native WordPress galleries."
278
  msgstr ""
279
 
280
- #: ../includes/class-settings.php:210
281
  msgid "Force gallery lightbox"
282
  msgstr ""
283
 
284
- #: ../includes/class-settings.php:213
285
  msgid ""
286
  "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
287
  "galleries."
288
  msgstr ""
289
 
290
- #: ../includes/class-settings.php:216
291
  msgid "Video links"
292
  msgstr ""
293
 
294
- #: ../includes/class-settings.php:219
295
  msgid "Add lightbox to YouTube and Vimeo video links by default."
296
  msgstr ""
297
 
298
- #: ../includes/class-settings.php:222
299
  msgid "Custom events"
300
  msgstr ""
301
 
302
- #: ../includes/class-settings.php:228
303
  msgid "Enable triggering lightbox on custom jQuery events."
304
  msgstr ""
305
 
306
- #: ../includes/class-settings.php:232
307
  msgid "Enter a space separated list of events."
308
  msgstr ""
309
 
310
- #: ../includes/class-settings.php:237
311
  msgid "Loading place"
312
  msgstr ""
313
 
314
- #: ../includes/class-settings.php:240
315
  msgid "Select where all the lightbox scripts should be placed."
316
  msgstr ""
317
 
318
- #: ../includes/class-settings.php:244
319
  msgid "Conditional loading"
320
  msgstr ""
321
 
322
- #: ../includes/class-settings.php:247
323
  msgid ""
324
  "Enable to load scripts and styles only on pages that have images or "
325
  "galleries in post content."
326
  msgstr ""
327
 
328
- #: ../includes/class-settings.php:250
329
  msgid "Delete data"
330
  msgstr ""
331
 
332
- #: ../includes/class-settings.php:253
333
  msgid "Delete all plugin settings on deactivation."
334
  msgstr ""
335
 
336
- #: ../includes/class-settings.php:263 ../includes/class-settings.php:881
337
  msgid "Lightbox settings"
338
  msgstr ""
339
 
340
- #: ../includes/class-settings.php:281
341
  msgid "Animation type"
342
  msgstr ""
343
 
344
- #: ../includes/class-settings.php:285
345
  msgid "Select a method of applying a lightbox effect."
346
  msgstr ""
347
 
348
- #: ../includes/class-settings.php:290
349
  msgid "Force PNG icons"
350
  msgstr ""
351
 
352
- #: ../includes/class-settings.php:293
353
  msgid ""
354
  "Enable this if you're having problems with navigation icons not visible on "
355
  "some devices."
356
  msgstr ""
357
 
358
- #: ../includes/class-settings.php:297
359
  msgid "Hide close on mobile"
360
  msgstr ""
361
 
362
- #: ../includes/class-settings.php:300
363
  msgid "Hide the close button on mobile devices."
364
  msgstr ""
365
 
366
- #: ../includes/class-settings.php:304
367
  msgid "Remove bars on mobile"
368
  msgstr ""
369
 
370
- #: ../includes/class-settings.php:307
371
  msgid "Hide the top and bottom bars on mobile devices."
372
  msgstr ""
373
 
374
- #: ../includes/class-settings.php:311
375
  msgid "Top and bottom bars"
376
  msgstr ""
377
 
378
- #: ../includes/class-settings.php:317
379
  msgid "Hide top and bottom bars after a period of time."
380
  msgstr ""
381
 
382
- #: ../includes/class-settings.php:322
383
  msgid ""
384
  "Enter the time after which the top and bottom bars will be hidden (when "
385
  "hiding is enabled)."
386
  msgstr ""
387
 
388
- #: ../includes/class-settings.php:329
389
  msgid "Video max width"
390
  msgstr ""
391
 
392
- #: ../includes/class-settings.php:332
393
  msgid "Enter the max video width in a lightbox."
394
  msgstr ""
395
 
396
- #: ../includes/class-settings.php:337
397
  msgid "Loop at end"
398
  msgstr ""
399
 
400
- #: ../includes/class-settings.php:340
401
  msgid "True will return to the first image after the last image is reached."
402
  msgstr ""
403
 
404
- #: ../includes/class-settings.php:352 ../includes/class-settings.php:744
405
  msgid "Animation speed"
406
  msgstr ""
407
 
408
- #: ../includes/class-settings.php:356
409
  msgid "Select animation speed for lightbox effect."
410
  msgstr ""
411
 
412
- #: ../includes/class-settings.php:361
413
  msgid "Slideshow"
414
  msgstr ""
415
 
416
- #: ../includes/class-settings.php:367
417
  msgid "Display images as slideshow"
418
  msgstr ""
419
 
420
- #: ../includes/class-settings.php:372
421
  msgid "Enter time (in miliseconds)."
422
  msgstr ""
423
 
424
- #: ../includes/class-settings.php:379
425
  msgid "Slideshow autoplay"
426
  msgstr ""
427
 
428
- #: ../includes/class-settings.php:382 ../includes/class-settings.php:826
429
  msgid "Automatically start slideshow."
430
  msgstr ""
431
 
432
- #: ../includes/class-settings.php:386 ../includes/class-settings.php:588
433
  msgid "Opacity"
434
  msgstr ""
435
 
436
- #: ../includes/class-settings.php:389
437
  msgid "Value between 0 and 100, 100 for no opacity."
438
  msgstr ""
439
 
440
- #: ../includes/class-settings.php:395
441
  msgid "Show title"
442
  msgstr ""
443
 
444
- #: ../includes/class-settings.php:398
445
  msgid "Display image title."
446
  msgstr ""
447
 
448
- #: ../includes/class-settings.php:402
449
  msgid "Allow resize big images"
450
  msgstr ""
451
 
452
- #: ../includes/class-settings.php:405
453
  msgid "Resize the photos bigger than viewport."
454
  msgstr ""
455
 
456
- #: ../includes/class-settings.php:409
457
  msgid "Allow expand"
458
  msgstr ""
459
 
460
- #: ../includes/class-settings.php:412
461
  msgid "Allow expanding images."
462
  msgstr ""
463
 
464
- #: ../includes/class-settings.php:416 ../includes/class-settings.php:682
465
  msgid "Video width"
466
  msgstr ""
467
 
468
- #: ../includes/class-settings.php:423 ../includes/class-settings.php:690
469
  msgid "Video height"
470
  msgstr ""
471
 
472
- #: ../includes/class-settings.php:430
473
  msgid "Theme"
474
  msgstr ""
475
 
476
- #: ../includes/class-settings.php:433
477
  msgid "Select the theme for lightbox effect."
478
  msgstr ""
479
 
480
- #: ../includes/class-settings.php:438
481
  msgid "Horizontal padding"
482
  msgstr ""
483
 
484
- #: ../includes/class-settings.php:445
485
  msgid "Hide Flash"
486
  msgstr ""
487
 
488
- #: ../includes/class-settings.php:448
489
  msgid ""
490
  "Hide all the flash objects on a page. Enable this if flash appears over "
491
  "prettyPhoto."
492
  msgstr ""
493
 
494
- #: ../includes/class-settings.php:452
495
  msgid "Flash Window Mode (wmode)"
496
  msgstr ""
497
 
498
- #: ../includes/class-settings.php:455
499
  msgid "Select flash window mode."
500
  msgstr ""
501
 
502
- #: ../includes/class-settings.php:460
503
  msgid "Video autoplay"
504
  msgstr ""
505
 
506
- #: ../includes/class-settings.php:463
507
  msgid "Automatically start videos."
508
  msgstr ""
509
 
510
- #: ../includes/class-settings.php:467 ../includes/class-settings.php:510
511
  msgid "Modal"
512
  msgstr ""
513
 
514
- #: ../includes/class-settings.php:470
515
  msgid "If set to true, only the close button will close the window."
516
  msgstr ""
517
 
518
- #: ../includes/class-settings.php:474
519
  msgid "Deeplinking"
520
  msgstr ""
521
 
522
- #: ../includes/class-settings.php:477
523
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
524
  msgstr ""
525
 
526
- #: ../includes/class-settings.php:481
527
  msgid "Overlay gallery"
528
  msgstr ""
529
 
530
- #: ../includes/class-settings.php:484
531
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
532
  msgstr ""
533
 
534
- #: ../includes/class-settings.php:488
535
  msgid "Keyboard shortcuts"
536
  msgstr ""
537
 
538
- #: ../includes/class-settings.php:491
539
  msgid "Set to false if you open forms inside prettyPhoto."
540
  msgstr ""
541
 
542
- #: ../includes/class-settings.php:495
543
  msgid "Social (Twitter, Facebook)"
544
  msgstr ""
545
 
546
- #: ../includes/class-settings.php:498
547
  msgid "Display links to Facebook and Twitter."
548
  msgstr ""
549
 
550
- #: ../includes/class-settings.php:513
551
  msgid ""
552
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
553
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
554
  "to false."
555
  msgstr ""
556
 
557
- #: ../includes/class-settings.php:517
558
  msgid "Show overlay"
559
  msgstr ""
560
 
561
- #: ../includes/class-settings.php:520
562
  msgid "Toggle overlay."
563
  msgstr ""
564
 
565
- #: ../includes/class-settings.php:524
566
  msgid "Show close button"
567
  msgstr ""
568
 
569
- #: ../includes/class-settings.php:527
570
  msgid "Toggle close button."
571
  msgstr ""
572
 
573
- #: ../includes/class-settings.php:531
574
  msgid "Enable escape button"
575
  msgstr ""
576
 
577
- #: ../includes/class-settings.php:534
578
  msgid "Toggle if pressing Esc button closes FancyBox."
579
  msgstr ""
580
 
581
- #: ../includes/class-settings.php:538
582
  msgid "Hide on overlay click"
583
  msgstr ""
584
 
585
- #: ../includes/class-settings.php:541
586
  msgid "Toggle if clicking the overlay should close FancyBox."
587
  msgstr ""
588
 
589
- #: ../includes/class-settings.php:545
590
  msgid "Hide on content click"
591
  msgstr ""
592
 
593
- #: ../includes/class-settings.php:548
594
  msgid "Toggle if clicking the content should close FancyBox."
595
  msgstr ""
596
 
597
- #: ../includes/class-settings.php:552
598
  msgid "Cyclic"
599
  msgstr ""
600
 
601
- #: ../includes/class-settings.php:555
602
  msgid ""
603
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
604
  msgstr ""
605
 
606
- #: ../includes/class-settings.php:559
607
  msgid "Show nav arrows"
608
  msgstr ""
609
 
610
- #: ../includes/class-settings.php:562
611
  msgid "Toggle navigation arrows."
612
  msgstr ""
613
 
614
- #: ../includes/class-settings.php:566
615
  msgid "Auto scale"
616
  msgstr ""
617
 
618
- #: ../includes/class-settings.php:569
619
  msgid "If true, FancyBox is scaled to fit in viewport."
620
  msgstr ""
621
 
622
- #: ../includes/class-settings.php:573
623
  msgid "Scrolling (in/out)"
624
  msgstr ""
625
 
626
- #: ../includes/class-settings.php:576
627
  msgid "Set the overflow CSS property to create or hide scrollbars."
628
  msgstr ""
629
 
630
- #: ../includes/class-settings.php:581
631
  msgid "Center on scroll"
632
  msgstr ""
633
 
634
- #: ../includes/class-settings.php:584
635
  msgid "When true, FancyBox is centered while scrolling page."
636
  msgstr ""
637
 
638
- #: ../includes/class-settings.php:591
639
  msgid "When true, transparency of content is changed for elastic transitions."
640
  msgstr ""
641
 
642
- #: ../includes/class-settings.php:595
643
  msgid "Overlay opacity"
644
  msgstr ""
645
 
646
- #: ../includes/class-settings.php:598
647
  msgid "Opacity of the overlay."
648
  msgstr ""
649
 
650
- #: ../includes/class-settings.php:604
651
  msgid "Overlay color"
652
  msgstr ""
653
 
654
- #: ../includes/class-settings.php:607
655
  msgid "Color of the overlay."
656
  msgstr ""
657
 
658
- #: ../includes/class-settings.php:611
659
  msgid "Title show"
660
  msgstr ""
661
 
662
- #: ../includes/class-settings.php:614
663
  msgid "Toggle title."
664
  msgstr ""
665
 
666
- #: ../includes/class-settings.php:618
667
  msgid "Title position"
668
  msgstr ""
669
 
670
- #: ../includes/class-settings.php:621
671
  msgid "The position of title."
672
  msgstr ""
673
 
674
- #: ../includes/class-settings.php:626
675
  msgid "Transition (in/out)"
676
  msgstr ""
677
 
678
- #: ../includes/class-settings.php:629
679
  msgid "The transition type."
680
  msgstr ""
681
 
682
- #: ../includes/class-settings.php:634
683
  msgid "Easings (in/out)"
684
  msgstr ""
685
 
686
- #: ../includes/class-settings.php:637
687
  msgid "Easing used for elastic animations."
688
  msgstr ""
689
 
690
- #: ../includes/class-settings.php:642
691
  msgid "Speed (in/out)"
692
  msgstr ""
693
 
694
- #: ../includes/class-settings.php:645
695
  msgid "Speed of the fade and elastic transitions, in milliseconds."
696
  msgstr ""
697
 
698
- #: ../includes/class-settings.php:650
699
  msgid "Change speed"
700
  msgstr ""
701
 
702
- #: ../includes/class-settings.php:653
703
  msgid "Speed of resizing when changing gallery items, in milliseconds."
704
  msgstr ""
705
 
706
- #: ../includes/class-settings.php:658
707
  msgid "Change fade"
708
  msgstr ""
709
 
710
- #: ../includes/class-settings.php:661
711
  msgid "Speed of the content fading while changing gallery items."
712
  msgstr ""
713
 
714
- #: ../includes/class-settings.php:666
715
  msgid "Padding"
716
  msgstr ""
717
 
718
- #: ../includes/class-settings.php:669
719
  msgid "Space between FancyBox wrapper and content."
720
  msgstr ""
721
 
722
- #: ../includes/class-settings.php:674
723
  msgid "Margin"
724
  msgstr ""
725
 
726
- #: ../includes/class-settings.php:677
727
  msgid "Space between viewport and FancyBox wrapper."
728
  msgstr ""
729
 
730
- #: ../includes/class-settings.php:685
731
  msgid "Width of the video."
732
  msgstr ""
733
 
734
- #: ../includes/class-settings.php:693
735
  msgid "Height of the video."
736
  msgstr ""
737
 
738
- #: ../includes/class-settings.php:706
739
  msgid "Effect"
740
  msgstr ""
741
 
742
- #: ../includes/class-settings.php:709
743
  msgid "The effect to use when showing the lightbox."
744
  msgstr ""
745
 
746
- #: ../includes/class-settings.php:714 ../includes/class-settings.php:813
747
  msgid "Keyboard navigation"
748
  msgstr ""
749
 
750
- #: ../includes/class-settings.php:717 ../includes/class-settings.php:816
751
  msgid "Enable keyboard navigation (left/right/escape)."
752
  msgstr ""
753
 
754
- #: ../includes/class-settings.php:721
755
  msgid "Click overlay to close"
756
  msgstr ""
757
 
758
- #: ../includes/class-settings.php:724
759
  msgid "Enable to close lightbox on overlay click."
760
  msgstr ""
761
 
762
- #: ../includes/class-settings.php:728
763
  msgid "Error message"
764
  msgstr ""
765
 
766
- #: ../includes/class-settings.php:732
767
  msgid "Error message if the content cannot be loaded."
768
  msgstr ""
769
 
770
- #: ../includes/class-settings.php:747
771
  msgid "Animation speed."
772
  msgstr ""
773
 
774
- #: ../includes/class-settings.php:752
775
  msgid "Preload next image"
776
  msgstr ""
777
 
778
- #: ../includes/class-settings.php:755
779
  msgid "Silently preload the next image."
780
  msgstr ""
781
 
782
- #: ../includes/class-settings.php:759
783
  msgid "Enable keyboard keys"
784
  msgstr ""
785
 
786
- #: ../includes/class-settings.php:762
787
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
788
  msgstr ""
789
 
790
- #: ../includes/class-settings.php:766
791
  msgid "Quit after last image"
792
  msgstr ""
793
 
794
- #: ../includes/class-settings.php:769
795
  msgid "Quit after viewing the last image."
796
  msgstr ""
797
 
798
- #: ../includes/class-settings.php:773
799
  msgid "Quit on image click"
800
  msgstr ""
801
 
802
- #: ../includes/class-settings.php:776
803
  msgid "Quit when the viewed image is clicked."
804
  msgstr ""
805
 
806
- #: ../includes/class-settings.php:780
807
  msgid "Quit on anything click"
808
  msgstr ""
809
 
810
- #: ../includes/class-settings.php:783
811
  msgid "Quit when anything but the viewed image is clicked."
812
  msgstr ""
813
 
814
- #: ../includes/class-settings.php:795
815
  msgid "Transition effect"
816
  msgstr ""
817
 
818
- #: ../includes/class-settings.php:798
819
  msgid "What effect to use for the transition."
820
  msgstr ""
821
 
822
- #: ../includes/class-settings.php:800
823
  msgid "slide"
824
  msgstr ""
825
 
826
- #: ../includes/class-settings.php:806
827
  msgid "Infinite loop"
828
  msgstr ""
829
 
830
- #: ../includes/class-settings.php:809
831
  msgid ""
832
  "Whether or not to slide back to the first slide when the last has been "
833
  "reached."
834
  msgstr ""
835
 
836
- #: ../includes/class-settings.php:820
837
  msgid "Autoplay"
838
  msgstr ""
839
 
840
- #: ../includes/class-settings.php:831
841
  msgid "The timeout between sliding to the next slide in milliseconds."
842
  msgstr ""
843
 
844
- #: ../includes/class-settings.php:838
845
  msgid "Pause on hover"
846
  msgstr ""
847
 
848
- #: ../includes/class-settings.php:841
849
  msgid "Whether or not to pause on hover."
850
  msgstr ""
851
 
852
- #: ../includes/class-settings.php:845
853
  msgid "Pagination"
854
  msgstr ""
855
 
856
- #: ../includes/class-settings.php:851
857
  msgid "Whether or not to add a pagination."
858
  msgstr ""
859
 
860
- #: ../includes/class-settings.php:856
861
  msgid "What type of pagination to use."
862
  msgstr ""
863
 
864
- #: ../includes/class-settings.php:858
865
  msgid "Bullets"
866
  msgstr ""
867
 
868
- #: ../includes/class-settings.php:859
869
  msgid "Thumbnails"
870
  msgstr ""
871
 
872
- #: ../includes/class-settings.php:897 ../includes/class-settings.php:911
873
- #: ../includes/class-settings.php:924
 
 
 
 
874
  msgid "Responsive Lightbox"
875
  msgstr ""
876
 
877
- #: ../includes/class-settings.php:926
878
  msgid "Need support?"
879
  msgstr ""
880
 
881
- #: ../includes/class-settings.php:927
882
  msgid ""
883
  "If you are having problems with this plugin, please talk about them in the"
884
  msgstr ""
885
 
886
- #: ../includes/class-settings.php:927
887
  msgid "Support forum"
888
  msgstr ""
889
 
890
- #: ../includes/class-settings.php:929
891
  msgid "Do you like this plugin?"
892
  msgstr ""
893
 
894
- #: ../includes/class-settings.php:936
895
  msgid "Rate it 5"
896
  msgstr ""
897
 
898
- #: ../includes/class-settings.php:936
899
  msgid "on WordPress.org"
900
  msgstr ""
901
 
902
- #: ../includes/class-settings.php:937
903
  msgid "Blog about it & link to the"
904
  msgstr ""
905
 
906
- #: ../includes/class-settings.php:937
907
  msgid "plugin page"
908
  msgstr ""
909
 
910
- #: ../includes/class-settings.php:938
911
  msgid "Check out our other"
912
  msgstr ""
913
 
914
- #: ../includes/class-settings.php:938
915
  msgid "WordPress plugins"
916
  msgstr ""
917
 
918
- #: ../includes/class-settings.php:958
919
  msgid "Reset to defaults"
920
  msgstr ""
921
 
922
- #: ../includes/class-settings.php:1325
 
 
 
 
923
  msgid "Settings restored to defaults."
924
  msgstr ""
925
 
926
- #: ../responsive-lightbox.php:286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
927
  msgid "Support"
928
  msgstr ""
929
 
930
- #: ../responsive-lightbox.php:305
931
  msgid "Settings"
932
  msgstr ""
933
 
934
- #: ../responsive-lightbox.php:325
935
  msgid "Are you sure you want to reset these settings to defaults?"
936
  msgstr ""
937
 
938
- #: ../responsive-lightbox.php:326
939
  msgid "Are you sure you want to reset this script settings to defaults?"
940
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Responsive Lightbox\n"
5
+ "POT-Creation-Date: 2015-08-24 16:04+0200\n"
6
  "PO-Revision-Date: 2015-05-12 12:06+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.4\n"
14
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
+ #: ../includes/class-settings.php:41
20
  msgid "prettyPhoto"
21
  msgstr ""
22
 
23
+ #: ../includes/class-settings.php:43
24
  msgid "slow"
25
  msgstr ""
26
 
27
+ #: ../includes/class-settings.php:44
28
  msgid "normal"
29
  msgstr ""
30
 
31
+ #: ../includes/class-settings.php:45
32
  msgid "fast"
33
  msgstr ""
34
 
35
+ #: ../includes/class-settings.php:48
36
  msgid "default"
37
  msgstr ""
38
 
39
+ #: ../includes/class-settings.php:49
40
  msgid "light rounded"
41
  msgstr ""
42
 
43
+ #: ../includes/class-settings.php:50
44
  msgid "dark rounded"
45
  msgstr ""
46
 
47
+ #: ../includes/class-settings.php:51
48
  msgid "light square"
49
  msgstr ""
50
 
51
+ #: ../includes/class-settings.php:52
52
  msgid "dark square"
53
  msgstr ""
54
 
55
+ #: ../includes/class-settings.php:53
56
  msgid "facebook"
57
  msgstr ""
58
 
59
+ #: ../includes/class-settings.php:56
60
  msgid "window"
61
  msgstr ""
62
 
63
+ #: ../includes/class-settings.php:57
64
  msgid "transparent"
65
  msgstr ""
66
 
67
+ #: ../includes/class-settings.php:58
68
  msgid "opaque"
69
  msgstr ""
70
 
71
+ #: ../includes/class-settings.php:59
72
  msgid "direct"
73
  msgstr ""
74
 
75
+ #: ../includes/class-settings.php:60
76
  msgid "gpu"
77
  msgstr ""
78
 
79
+ #: ../includes/class-settings.php:64
80
  msgid "SwipeBox"
81
  msgstr ""
82
 
83
+ #: ../includes/class-settings.php:66
84
  msgid "CSS"
85
  msgstr ""
86
 
87
+ #: ../includes/class-settings.php:67
88
  msgid "jQuery"
89
  msgstr ""
90
 
91
+ #: ../includes/class-settings.php:71
92
  msgid "FancyBox"
93
  msgstr ""
94
 
95
+ #: ../includes/class-settings.php:73
96
  msgid "elastic"
97
  msgstr ""
98
 
99
+ #: ../includes/class-settings.php:74 ../includes/class-settings.php:95
100
+ #: ../includes/class-settings.php:803
101
  msgid "fade"
102
  msgstr ""
103
 
104
+ #: ../includes/class-settings.php:75
105
  msgid "none"
106
  msgstr ""
107
 
108
+ #: ../includes/class-settings.php:78
109
  msgid "auto"
110
  msgstr ""
111
 
112
+ #: ../includes/class-settings.php:79
113
  msgid "yes"
114
  msgstr ""
115
 
116
+ #: ../includes/class-settings.php:80
117
  msgid "no"
118
  msgstr ""
119
 
120
+ #: ../includes/class-settings.php:83
121
  msgid "swing"
122
  msgstr ""
123
 
124
+ #: ../includes/class-settings.php:84
125
  msgid "linear"
126
  msgstr ""
127
 
128
+ #: ../includes/class-settings.php:87
129
  msgid "outside"
130
  msgstr ""
131
 
132
+ #: ../includes/class-settings.php:88
133
  msgid "inside"
134
  msgstr ""
135
 
136
+ #: ../includes/class-settings.php:89
137
  msgid "over"
138
  msgstr ""
139
 
140
+ #: ../includes/class-settings.php:93
141
  msgid "Nivo Lightbox"
142
  msgstr ""
143
 
144
+ #: ../includes/class-settings.php:96
145
  msgid "fade scale"
146
  msgstr ""
147
 
148
+ #: ../includes/class-settings.php:97
149
  msgid "slide left"
150
  msgstr ""
151
 
152
+ #: ../includes/class-settings.php:98
153
  msgid "slide right"
154
  msgstr ""
155
 
156
+ #: ../includes/class-settings.php:99
157
  msgid "slide up"
158
  msgstr ""
159
 
160
+ #: ../includes/class-settings.php:100
161
  msgid "slide down"
162
  msgstr ""
163
 
164
+ #: ../includes/class-settings.php:101
165
  msgid "fall"
166
  msgstr ""
167
 
168
+ #: ../includes/class-settings.php:105
169
  msgid "Image Lightbox"
170
  msgstr ""
171
 
172
+ #: ../includes/class-settings.php:108
173
  msgid "TosRUs"
174
  msgstr ""
175
 
176
+ #: ../includes/class-settings.php:113
177
  msgid "None (default)"
178
  msgstr ""
179
 
180
+ #: ../includes/class-settings.php:114
181
  msgid "Image Title"
182
  msgstr ""
183
 
184
+ #: ../includes/class-settings.php:115
185
  msgid "Image Caption"
186
  msgstr ""
187
 
188
+ #: ../includes/class-settings.php:116
189
  msgid "Image Alt Text"
190
  msgstr ""
191
 
192
+ #: ../includes/class-settings.php:117
193
  msgid "Image Description"
194
  msgstr ""
195
 
196
+ #: ../includes/class-settings.php:121
197
  msgid "Header"
198
  msgstr ""
199
 
200
+ #: ../includes/class-settings.php:122
201
  msgid "Footer"
202
  msgstr ""
203
 
204
+ #: ../includes/class-settings.php:132
205
  msgid "Thumbnail"
206
  msgstr ""
207
 
208
+ #: ../includes/class-settings.php:133
209
  msgid "Medium"
210
  msgstr ""
211
 
212
+ #: ../includes/class-settings.php:134
213
  msgid "Large"
214
  msgstr ""
215
 
216
+ #: ../includes/class-settings.php:135
217
  msgid "Full Size (default)"
218
  msgstr ""
219
 
220
+ #: ../includes/class-settings.php:145 ../includes/class-settings.php:880
221
  msgid "General settings"
222
  msgstr ""
223
 
224
+ #: ../includes/class-settings.php:154
225
  msgid "Lightbox script"
226
  msgstr ""
227
 
228
+ #: ../includes/class-settings.php:160
229
+ #, php-format
230
+ msgid ""
231
+ "Select your preffered ligthbox effect script or get our <a href=\"%s"
232
+ "\">premium extensions</a>."
233
  msgstr ""
234
 
235
+ #: ../includes/class-settings.php:167
236
  msgid "Selector"
237
  msgstr ""
238
 
239
+ #: ../includes/class-settings.php:170
240
  msgid "Enter the rel selector lightbox effect will be applied to."
241
  msgstr ""
242
 
243
+ #: ../includes/class-settings.php:173
244
  msgid "Image links"
245
  msgstr ""
246
 
247
+ #: ../includes/class-settings.php:176
248
  msgid "Add lightbox to WordPress image links by default."
249
  msgstr ""
250
 
251
+ #: ../includes/class-settings.php:179
252
+ msgid "Single image title"
253
+ msgstr ""
254
+
255
+ #: ../includes/class-settings.php:182
256
+ msgid "Select title for single images."
257
+ msgstr ""
258
+
259
+ #: ../includes/class-settings.php:186
260
  msgid "Single images as gallery"
261
  msgstr ""
262
 
263
+ #: ../includes/class-settings.php:189
264
  msgid "Display single post images as a gallery."
265
  msgstr ""
266
 
267
+ #: ../includes/class-settings.php:192
268
  msgid "Galleries"
269
  msgstr ""
270
 
271
+ #: ../includes/class-settings.php:195
272
  msgid "Add lightbox to WordPress image galleries by default."
273
  msgstr ""
274
 
275
+ #: ../includes/class-settings.php:198
276
  msgid "Gallery image size"
277
  msgstr ""
278
 
279
+ #: ../includes/class-settings.php:201
280
  msgid "Select image size for gallery image links."
281
  msgstr ""
282
 
283
+ #: ../includes/class-settings.php:205
284
  msgid "Gallery image title"
285
  msgstr ""
286
 
287
+ #: ../includes/class-settings.php:208
288
  msgid "Select title for images in native WordPress galleries."
289
  msgstr ""
290
 
291
+ #: ../includes/class-settings.php:212
292
  msgid "Force gallery lightbox"
293
  msgstr ""
294
 
295
+ #: ../includes/class-settings.php:215
296
  msgid ""
297
  "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
298
  "galleries."
299
  msgstr ""
300
 
301
+ #: ../includes/class-settings.php:218
302
  msgid "Video links"
303
  msgstr ""
304
 
305
+ #: ../includes/class-settings.php:221
306
  msgid "Add lightbox to YouTube and Vimeo video links by default."
307
  msgstr ""
308
 
309
+ #: ../includes/class-settings.php:224
310
  msgid "Custom events"
311
  msgstr ""
312
 
313
+ #: ../includes/class-settings.php:230
314
  msgid "Enable triggering lightbox on custom jQuery events."
315
  msgstr ""
316
 
317
+ #: ../includes/class-settings.php:234
318
  msgid "Enter a space separated list of events."
319
  msgstr ""
320
 
321
+ #: ../includes/class-settings.php:239
322
  msgid "Loading place"
323
  msgstr ""
324
 
325
+ #: ../includes/class-settings.php:242
326
  msgid "Select where all the lightbox scripts should be placed."
327
  msgstr ""
328
 
329
+ #: ../includes/class-settings.php:246
330
  msgid "Conditional loading"
331
  msgstr ""
332
 
333
+ #: ../includes/class-settings.php:249
334
  msgid ""
335
  "Enable to load scripts and styles only on pages that have images or "
336
  "galleries in post content."
337
  msgstr ""
338
 
339
+ #: ../includes/class-settings.php:252
340
  msgid "Delete data"
341
  msgstr ""
342
 
343
+ #: ../includes/class-settings.php:255
344
  msgid "Delete all plugin settings on deactivation."
345
  msgstr ""
346
 
347
+ #: ../includes/class-settings.php:265 ../includes/class-settings.php:886
348
  msgid "Lightbox settings"
349
  msgstr ""
350
 
351
+ #: ../includes/class-settings.php:283
352
  msgid "Animation type"
353
  msgstr ""
354
 
355
+ #: ../includes/class-settings.php:287
356
  msgid "Select a method of applying a lightbox effect."
357
  msgstr ""
358
 
359
+ #: ../includes/class-settings.php:292
360
  msgid "Force PNG icons"
361
  msgstr ""
362
 
363
+ #: ../includes/class-settings.php:295
364
  msgid ""
365
  "Enable this if you're having problems with navigation icons not visible on "
366
  "some devices."
367
  msgstr ""
368
 
369
+ #: ../includes/class-settings.php:299
370
  msgid "Hide close on mobile"
371
  msgstr ""
372
 
373
+ #: ../includes/class-settings.php:302
374
  msgid "Hide the close button on mobile devices."
375
  msgstr ""
376
 
377
+ #: ../includes/class-settings.php:306
378
  msgid "Remove bars on mobile"
379
  msgstr ""
380
 
381
+ #: ../includes/class-settings.php:309
382
  msgid "Hide the top and bottom bars on mobile devices."
383
  msgstr ""
384
 
385
+ #: ../includes/class-settings.php:313
386
  msgid "Top and bottom bars"
387
  msgstr ""
388
 
389
+ #: ../includes/class-settings.php:319
390
  msgid "Hide top and bottom bars after a period of time."
391
  msgstr ""
392
 
393
+ #: ../includes/class-settings.php:324
394
  msgid ""
395
  "Enter the time after which the top and bottom bars will be hidden (when "
396
  "hiding is enabled)."
397
  msgstr ""
398
 
399
+ #: ../includes/class-settings.php:331
400
  msgid "Video max width"
401
  msgstr ""
402
 
403
+ #: ../includes/class-settings.php:334
404
  msgid "Enter the max video width in a lightbox."
405
  msgstr ""
406
 
407
+ #: ../includes/class-settings.php:339
408
  msgid "Loop at end"
409
  msgstr ""
410
 
411
+ #: ../includes/class-settings.php:342
412
  msgid "True will return to the first image after the last image is reached."
413
  msgstr ""
414
 
415
+ #: ../includes/class-settings.php:354 ../includes/class-settings.php:746
416
  msgid "Animation speed"
417
  msgstr ""
418
 
419
+ #: ../includes/class-settings.php:358
420
  msgid "Select animation speed for lightbox effect."
421
  msgstr ""
422
 
423
+ #: ../includes/class-settings.php:363
424
  msgid "Slideshow"
425
  msgstr ""
426
 
427
+ #: ../includes/class-settings.php:369
428
  msgid "Display images as slideshow"
429
  msgstr ""
430
 
431
+ #: ../includes/class-settings.php:374
432
  msgid "Enter time (in miliseconds)."
433
  msgstr ""
434
 
435
+ #: ../includes/class-settings.php:381
436
  msgid "Slideshow autoplay"
437
  msgstr ""
438
 
439
+ #: ../includes/class-settings.php:384 ../includes/class-settings.php:828
440
  msgid "Automatically start slideshow."
441
  msgstr ""
442
 
443
+ #: ../includes/class-settings.php:388 ../includes/class-settings.php:590
444
  msgid "Opacity"
445
  msgstr ""
446
 
447
+ #: ../includes/class-settings.php:391
448
  msgid "Value between 0 and 100, 100 for no opacity."
449
  msgstr ""
450
 
451
+ #: ../includes/class-settings.php:397
452
  msgid "Show title"
453
  msgstr ""
454
 
455
+ #: ../includes/class-settings.php:400
456
  msgid "Display image title."
457
  msgstr ""
458
 
459
+ #: ../includes/class-settings.php:404
460
  msgid "Allow resize big images"
461
  msgstr ""
462
 
463
+ #: ../includes/class-settings.php:407
464
  msgid "Resize the photos bigger than viewport."
465
  msgstr ""
466
 
467
+ #: ../includes/class-settings.php:411
468
  msgid "Allow expand"
469
  msgstr ""
470
 
471
+ #: ../includes/class-settings.php:414
472
  msgid "Allow expanding images."
473
  msgstr ""
474
 
475
+ #: ../includes/class-settings.php:418 ../includes/class-settings.php:684
476
  msgid "Video width"
477
  msgstr ""
478
 
479
+ #: ../includes/class-settings.php:425 ../includes/class-settings.php:692
480
  msgid "Video height"
481
  msgstr ""
482
 
483
+ #: ../includes/class-settings.php:432
484
  msgid "Theme"
485
  msgstr ""
486
 
487
+ #: ../includes/class-settings.php:435
488
  msgid "Select the theme for lightbox effect."
489
  msgstr ""
490
 
491
+ #: ../includes/class-settings.php:440
492
  msgid "Horizontal padding"
493
  msgstr ""
494
 
495
+ #: ../includes/class-settings.php:447
496
  msgid "Hide Flash"
497
  msgstr ""
498
 
499
+ #: ../includes/class-settings.php:450
500
  msgid ""
501
  "Hide all the flash objects on a page. Enable this if flash appears over "
502
  "prettyPhoto."
503
  msgstr ""
504
 
505
+ #: ../includes/class-settings.php:454
506
  msgid "Flash Window Mode (wmode)"
507
  msgstr ""
508
 
509
+ #: ../includes/class-settings.php:457
510
  msgid "Select flash window mode."
511
  msgstr ""
512
 
513
+ #: ../includes/class-settings.php:462
514
  msgid "Video autoplay"
515
  msgstr ""
516
 
517
+ #: ../includes/class-settings.php:465
518
  msgid "Automatically start videos."
519
  msgstr ""
520
 
521
+ #: ../includes/class-settings.php:469 ../includes/class-settings.php:512
522
  msgid "Modal"
523
  msgstr ""
524
 
525
+ #: ../includes/class-settings.php:472
526
  msgid "If set to true, only the close button will close the window."
527
  msgstr ""
528
 
529
+ #: ../includes/class-settings.php:476
530
  msgid "Deeplinking"
531
  msgstr ""
532
 
533
+ #: ../includes/class-settings.php:479
534
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
535
  msgstr ""
536
 
537
+ #: ../includes/class-settings.php:483
538
  msgid "Overlay gallery"
539
  msgstr ""
540
 
541
+ #: ../includes/class-settings.php:486
542
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
543
  msgstr ""
544
 
545
+ #: ../includes/class-settings.php:490
546
  msgid "Keyboard shortcuts"
547
  msgstr ""
548
 
549
+ #: ../includes/class-settings.php:493
550
  msgid "Set to false if you open forms inside prettyPhoto."
551
  msgstr ""
552
 
553
+ #: ../includes/class-settings.php:497
554
  msgid "Social (Twitter, Facebook)"
555
  msgstr ""
556
 
557
+ #: ../includes/class-settings.php:500
558
  msgid "Display links to Facebook and Twitter."
559
  msgstr ""
560
 
561
+ #: ../includes/class-settings.php:515
562
  msgid ""
563
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
564
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
565
  "to false."
566
  msgstr ""
567
 
568
+ #: ../includes/class-settings.php:519
569
  msgid "Show overlay"
570
  msgstr ""
571
 
572
+ #: ../includes/class-settings.php:522
573
  msgid "Toggle overlay."
574
  msgstr ""
575
 
576
+ #: ../includes/class-settings.php:526
577
  msgid "Show close button"
578
  msgstr ""
579
 
580
+ #: ../includes/class-settings.php:529
581
  msgid "Toggle close button."
582
  msgstr ""
583
 
584
+ #: ../includes/class-settings.php:533
585
  msgid "Enable escape button"
586
  msgstr ""
587
 
588
+ #: ../includes/class-settings.php:536
589
  msgid "Toggle if pressing Esc button closes FancyBox."
590
  msgstr ""
591
 
592
+ #: ../includes/class-settings.php:540
593
  msgid "Hide on overlay click"
594
  msgstr ""
595
 
596
+ #: ../includes/class-settings.php:543
597
  msgid "Toggle if clicking the overlay should close FancyBox."
598
  msgstr ""
599
 
600
+ #: ../includes/class-settings.php:547
601
  msgid "Hide on content click"
602
  msgstr ""
603
 
604
+ #: ../includes/class-settings.php:550
605
  msgid "Toggle if clicking the content should close FancyBox."
606
  msgstr ""
607
 
608
+ #: ../includes/class-settings.php:554
609
  msgid "Cyclic"
610
  msgstr ""
611
 
612
+ #: ../includes/class-settings.php:557
613
  msgid ""
614
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
615
  msgstr ""
616
 
617
+ #: ../includes/class-settings.php:561
618
  msgid "Show nav arrows"
619
  msgstr ""
620
 
621
+ #: ../includes/class-settings.php:564
622
  msgid "Toggle navigation arrows."
623
  msgstr ""
624
 
625
+ #: ../includes/class-settings.php:568
626
  msgid "Auto scale"
627
  msgstr ""
628
 
629
+ #: ../includes/class-settings.php:571
630
  msgid "If true, FancyBox is scaled to fit in viewport."
631
  msgstr ""
632
 
633
+ #: ../includes/class-settings.php:575
634
  msgid "Scrolling (in/out)"
635
  msgstr ""
636
 
637
+ #: ../includes/class-settings.php:578
638
  msgid "Set the overflow CSS property to create or hide scrollbars."
639
  msgstr ""
640
 
641
+ #: ../includes/class-settings.php:583
642
  msgid "Center on scroll"
643
  msgstr ""
644
 
645
+ #: ../includes/class-settings.php:586
646
  msgid "When true, FancyBox is centered while scrolling page."
647
  msgstr ""
648
 
649
+ #: ../includes/class-settings.php:593
650
  msgid "When true, transparency of content is changed for elastic transitions."
651
  msgstr ""
652
 
653
+ #: ../includes/class-settings.php:597
654
  msgid "Overlay opacity"
655
  msgstr ""
656
 
657
+ #: ../includes/class-settings.php:600
658
  msgid "Opacity of the overlay."
659
  msgstr ""
660
 
661
+ #: ../includes/class-settings.php:606
662
  msgid "Overlay color"
663
  msgstr ""
664
 
665
+ #: ../includes/class-settings.php:609
666
  msgid "Color of the overlay."
667
  msgstr ""
668
 
669
+ #: ../includes/class-settings.php:613
670
  msgid "Title show"
671
  msgstr ""
672
 
673
+ #: ../includes/class-settings.php:616
674
  msgid "Toggle title."
675
  msgstr ""
676
 
677
+ #: ../includes/class-settings.php:620
678
  msgid "Title position"
679
  msgstr ""
680
 
681
+ #: ../includes/class-settings.php:623
682
  msgid "The position of title."
683
  msgstr ""
684
 
685
+ #: ../includes/class-settings.php:628
686
  msgid "Transition (in/out)"
687
  msgstr ""
688
 
689
+ #: ../includes/class-settings.php:631
690
  msgid "The transition type."
691
  msgstr ""
692
 
693
+ #: ../includes/class-settings.php:636
694
  msgid "Easings (in/out)"
695
  msgstr ""
696
 
697
+ #: ../includes/class-settings.php:639
698
  msgid "Easing used for elastic animations."
699
  msgstr ""
700
 
701
+ #: ../includes/class-settings.php:644
702
  msgid "Speed (in/out)"
703
  msgstr ""
704
 
705
+ #: ../includes/class-settings.php:647
706
  msgid "Speed of the fade and elastic transitions, in milliseconds."
707
  msgstr ""
708
 
709
+ #: ../includes/class-settings.php:652
710
  msgid "Change speed"
711
  msgstr ""
712
 
713
+ #: ../includes/class-settings.php:655
714
  msgid "Speed of resizing when changing gallery items, in milliseconds."
715
  msgstr ""
716
 
717
+ #: ../includes/class-settings.php:660
718
  msgid "Change fade"
719
  msgstr ""
720
 
721
+ #: ../includes/class-settings.php:663
722
  msgid "Speed of the content fading while changing gallery items."
723
  msgstr ""
724
 
725
+ #: ../includes/class-settings.php:668
726
  msgid "Padding"
727
  msgstr ""
728
 
729
+ #: ../includes/class-settings.php:671
730
  msgid "Space between FancyBox wrapper and content."
731
  msgstr ""
732
 
733
+ #: ../includes/class-settings.php:676
734
  msgid "Margin"
735
  msgstr ""
736
 
737
+ #: ../includes/class-settings.php:679
738
  msgid "Space between viewport and FancyBox wrapper."
739
  msgstr ""
740
 
741
+ #: ../includes/class-settings.php:687
742
  msgid "Width of the video."
743
  msgstr ""
744
 
745
+ #: ../includes/class-settings.php:695
746
  msgid "Height of the video."
747
  msgstr ""
748
 
749
+ #: ../includes/class-settings.php:708
750
  msgid "Effect"
751
  msgstr ""
752
 
753
+ #: ../includes/class-settings.php:711
754
  msgid "The effect to use when showing the lightbox."
755
  msgstr ""
756
 
757
+ #: ../includes/class-settings.php:716 ../includes/class-settings.php:815
758
  msgid "Keyboard navigation"
759
  msgstr ""
760
 
761
+ #: ../includes/class-settings.php:719 ../includes/class-settings.php:818
762
  msgid "Enable keyboard navigation (left/right/escape)."
763
  msgstr ""
764
 
765
+ #: ../includes/class-settings.php:723
766
  msgid "Click overlay to close"
767
  msgstr ""
768
 
769
+ #: ../includes/class-settings.php:726
770
  msgid "Enable to close lightbox on overlay click."
771
  msgstr ""
772
 
773
+ #: ../includes/class-settings.php:730
774
  msgid "Error message"
775
  msgstr ""
776
 
777
+ #: ../includes/class-settings.php:734
778
  msgid "Error message if the content cannot be loaded."
779
  msgstr ""
780
 
781
+ #: ../includes/class-settings.php:749
782
  msgid "Animation speed."
783
  msgstr ""
784
 
785
+ #: ../includes/class-settings.php:754
786
  msgid "Preload next image"
787
  msgstr ""
788
 
789
+ #: ../includes/class-settings.php:757
790
  msgid "Silently preload the next image."
791
  msgstr ""
792
 
793
+ #: ../includes/class-settings.php:761
794
  msgid "Enable keyboard keys"
795
  msgstr ""
796
 
797
+ #: ../includes/class-settings.php:764
798
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
799
  msgstr ""
800
 
801
+ #: ../includes/class-settings.php:768
802
  msgid "Quit after last image"
803
  msgstr ""
804
 
805
+ #: ../includes/class-settings.php:771
806
  msgid "Quit after viewing the last image."
807
  msgstr ""
808
 
809
+ #: ../includes/class-settings.php:775
810
  msgid "Quit on image click"
811
  msgstr ""
812
 
813
+ #: ../includes/class-settings.php:778
814
  msgid "Quit when the viewed image is clicked."
815
  msgstr ""
816
 
817
+ #: ../includes/class-settings.php:782
818
  msgid "Quit on anything click"
819
  msgstr ""
820
 
821
+ #: ../includes/class-settings.php:785
822
  msgid "Quit when anything but the viewed image is clicked."
823
  msgstr ""
824
 
825
+ #: ../includes/class-settings.php:797
826
  msgid "Transition effect"
827
  msgstr ""
828
 
829
+ #: ../includes/class-settings.php:800
830
  msgid "What effect to use for the transition."
831
  msgstr ""
832
 
833
+ #: ../includes/class-settings.php:802
834
  msgid "slide"
835
  msgstr ""
836
 
837
+ #: ../includes/class-settings.php:808
838
  msgid "Infinite loop"
839
  msgstr ""
840
 
841
+ #: ../includes/class-settings.php:811
842
  msgid ""
843
  "Whether or not to slide back to the first slide when the last has been "
844
  "reached."
845
  msgstr ""
846
 
847
+ #: ../includes/class-settings.php:822
848
  msgid "Autoplay"
849
  msgstr ""
850
 
851
+ #: ../includes/class-settings.php:833
852
  msgid "The timeout between sliding to the next slide in milliseconds."
853
  msgstr ""
854
 
855
+ #: ../includes/class-settings.php:840
856
  msgid "Pause on hover"
857
  msgstr ""
858
 
859
+ #: ../includes/class-settings.php:843
860
  msgid "Whether or not to pause on hover."
861
  msgstr ""
862
 
863
+ #: ../includes/class-settings.php:847
864
  msgid "Pagination"
865
  msgstr ""
866
 
867
+ #: ../includes/class-settings.php:853
868
  msgid "Whether or not to add a pagination."
869
  msgstr ""
870
 
871
+ #: ../includes/class-settings.php:858
872
  msgid "What type of pagination to use."
873
  msgstr ""
874
 
875
+ #: ../includes/class-settings.php:860
876
  msgid "Bullets"
877
  msgstr ""
878
 
879
+ #: ../includes/class-settings.php:861
880
  msgid "Thumbnails"
881
  msgstr ""
882
 
883
+ #: ../includes/class-settings.php:894
884
+ msgid "Add-ons"
885
+ msgstr ""
886
+
887
+ #: ../includes/class-settings.php:908 ../includes/class-settings.php:922
888
+ #: ../includes/class-settings.php:935
889
  msgid "Responsive Lightbox"
890
  msgstr ""
891
 
892
+ #: ../includes/class-settings.php:937
893
  msgid "Need support?"
894
  msgstr ""
895
 
896
+ #: ../includes/class-settings.php:938
897
  msgid ""
898
  "If you are having problems with this plugin, please talk about them in the"
899
  msgstr ""
900
 
901
+ #: ../includes/class-settings.php:938
902
  msgid "Support forum"
903
  msgstr ""
904
 
905
+ #: ../includes/class-settings.php:940
906
  msgid "Do you like this plugin?"
907
  msgstr ""
908
 
909
+ #: ../includes/class-settings.php:947
910
  msgid "Rate it 5"
911
  msgstr ""
912
 
913
+ #: ../includes/class-settings.php:947
914
  msgid "on WordPress.org"
915
  msgstr ""
916
 
917
+ #: ../includes/class-settings.php:948
918
  msgid "Blog about it & link to the"
919
  msgstr ""
920
 
921
+ #: ../includes/class-settings.php:948
922
  msgid "plugin page"
923
  msgstr ""
924
 
925
+ #: ../includes/class-settings.php:949
926
  msgid "Check out our other"
927
  msgstr ""
928
 
929
+ #: ../includes/class-settings.php:949
930
  msgid "WordPress plugins"
931
  msgstr ""
932
 
933
+ #: ../includes/class-settings.php:975
934
  msgid "Reset to defaults"
935
  msgstr ""
936
 
937
+ #: ../includes/class-settings.php:1093
938
+ msgid "Licenses"
939
+ msgstr ""
940
+
941
+ #: ../includes/class-settings.php:1384
942
  msgid "Settings restored to defaults."
943
  msgstr ""
944
 
945
+ #: ../includes/class-settings.php:1398
946
+ msgid "Add-ons / Extensions"
947
+ msgstr ""
948
+
949
+ #: ../includes/class-settings.php:1399
950
+ msgid ""
951
+ "Enhance your website with these beautiful, easy to use extensions, designed "
952
+ "with Responsive Lightbox integration in mind."
953
+ msgstr ""
954
+
955
+ #: ../includes/class-settings.php:1413
956
+ msgid ""
957
+ "There was an error retrieving the extensions list from the server. Please "
958
+ "try again later."
959
+ msgstr ""
960
+
961
+ #: ../includes/class-settings.php:1426
962
+ msgid "A list of licenses for your Responsive Lightbox extensions."
963
+ msgstr ""
964
+
965
+ #: ../includes/class-settings.php:1442
966
+ #, php-format
967
+ msgid ""
968
+ "Enter your license key to activate %s extension and enable automatic upgrade "
969
+ "notices."
970
+ msgstr ""
971
+
972
+ #: ../includes/class-settings.php:1498 ../includes/class-settings.php:1511
973
+ #: ../includes/class-settings.php:1536 ../includes/class-settings.php:1547
974
+ msgid "License activation failed."
975
+ msgstr ""
976
+
977
+ #: ../includes/class-settings.php:1508
978
+ msgid "License successfully activated."
979
+ msgstr ""
980
+
981
+ #: ../includes/class-settings.php:1545
982
+ msgid "License successfully deactivated."
983
+ msgstr ""
984
+
985
+ #: ../responsive-lightbox.php:314
986
+ #, php-format
987
+ msgid ""
988
+ "Thank you for updating Responsive Lightbox to version %s. <a href=\"%s"
989
+ "\">Click here</a> to check out our latest extensions!"
990
+ msgstr ""
991
+
992
+ #: ../responsive-lightbox.php:359
993
  msgid "Support"
994
  msgstr ""
995
 
996
+ #: ../responsive-lightbox.php:378
997
  msgid "Settings"
998
  msgstr ""
999
 
1000
+ #: ../responsive-lightbox.php:398
1001
  msgid "Are you sure you want to reset these settings to defaults?"
1002
  msgstr ""
1003
 
1004
+ #: ../responsive-lightbox.php:399
1005
  msgid "Are you sure you want to reset this script settings to defaults?"
1006
  msgstr ""
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: 4.0
6
- Tested up to: 4.2.2
7
- Stable tag: 1.5.7
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -34,6 +34,11 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
34
  * Filter hook for embeddding different scripts based on any custom conditions (page, post, category, user id, etc.)
35
  * .pot file for translations included
36
 
 
 
 
 
 
37
  = Translations: =
38
 
39
  * Czech - by Vaclav Hnilicka
@@ -69,6 +74,14 @@ No questions yet.
69
 
70
  == Changelog ==
71
 
 
 
 
 
 
 
 
 
72
  = 1.5.7 =
73
  * New: Romanian translation, thanks to [Victor Chiritoiu](http://contacter.ro)
74
  * Fix: Tos "R" Us pagination thumbnails and pause on hover settings not working
@@ -237,7 +250,6 @@ Initial release
237
 
238
  == Upgrade Notice ==
239
 
240
- = 1.5.7 =
241
- * New: Romanian translation, thanks to [Victor Chiritoiu](http://contacter.ro)
242
- * Fix: Tos "R" Us pagination thumbnails and pause on hover settings not working
243
- * Tweak: Scripts and styles versioning, for better cache handling
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: 4.0
6
+ Tested up to: 4.3
7
+ Stable tag: 1.6.0
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
34
  * Filter hook for embeddding different scripts based on any custom conditions (page, post, category, user id, etc.)
35
  * .pot file for translations included
36
 
37
+ = Available Extensions: =
38
+
39
+ * [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/)
40
+ * [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/)
41
+
42
  = Translations: =
43
 
44
  * Czech - by Vaclav Hnilicka
74
 
75
  == Changelog ==
76
 
77
+ = 1.6.0 =
78
+ * New: Introducing [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/) and [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/) premium extensions.
79
+ * New: Option to set single images title from image title, caption, alt or description
80
+ * Tweak: Confirmed WP 4.3 compatibility
81
+
82
+ = 1.5.8 =
83
+ * Tweak: Switched to protocol independent URLs in Nivo and Tosrus
84
+
85
  = 1.5.7 =
86
  * New: Romanian translation, thanks to [Victor Chiritoiu](http://contacter.ro)
87
  * Fix: Tos "R" Us pagination thumbnails and pause on hover settings not working
250
 
251
  == Upgrade Notice ==
252
 
253
+ = 1.6.0 =
254
+ * New: Introducing [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/) and [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/) premium extensions.
255
+ * New: Option to single images title from image title, caption, alt or description
 
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.5.7
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -36,7 +36,7 @@ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-settings.php' );
36
  * Responsive Lightbox class.
37
  *
38
  * @class Responsive_Lightbox
39
- * @version 1.5.7
40
  */
41
  class Responsive_Lightbox {
42
 
@@ -50,12 +50,15 @@ class Responsive_Lightbox {
50
  'force_custom_gallery' => false,
51
  'videos' => true,
52
  'image_links' => true,
 
53
  'images_as_gallery' => false,
54
  'deactivation_delete' => false,
55
  'loading_place' => 'header',
56
  'conditional_loading' => false,
57
  'enable_custom_events' => false,
58
- 'custom_events' => 'ajaxComplete'
 
 
59
  ),
60
  'configuration' => array(
61
  'prettyphoto' => array(
@@ -143,9 +146,10 @@ class Responsive_Lightbox {
143
  'pagination_type' => 'thumbnails'
144
  )
145
  ),
146
- 'version' => '1.5.7'
147
  );
148
  public $options = array();
 
149
  private static $_instance;
150
 
151
  private function __clone() {}
@@ -168,7 +172,7 @@ class Responsive_Lightbox {
168
  // change from older versions
169
  $db_version = get_option( 'responsive_lightbox_version' );
170
 
171
- if ( version_compare( ($db_version === false ? '1.0.0' : $db_version ), '1.0.5', '<' ) ) {
172
  if ( ($array = get_option( 'rl_settings' )) !== false ) {
173
  update_option( 'responsive_lightbox_settings', $array );
174
  delete_option( 'rl_settings' );
@@ -183,7 +187,7 @@ class Responsive_Lightbox {
183
  // update plugin version
184
  update_option( 'responsive_lightbox_version', $this->defaults['version'], '', 'no' );
185
 
186
- $this->options['settings'] = array_merge( $this->defaults['settings'], (($array = get_option( 'responsive_lightbox_settings' )) === false ? array() : $array ) );
187
 
188
  // for multi arrays we have to merge them separately
189
  $db_conf_opts = ( ( $base = get_option( 'responsive_lightbox_configuration' ) ) === false ? array() : $base );
@@ -196,6 +200,7 @@ class Responsive_Lightbox {
196
  add_action( 'plugins_loaded', array( &$this, 'load_textdomain' ) );
197
  add_action( 'wp_enqueue_scripts', array( &$this, 'front_scripts_styles' ) );
198
  add_action( 'admin_enqueue_scripts', array( &$this, 'admin_scripts_styles' ) );
 
199
 
200
  // filters
201
  add_filter( 'plugin_action_links', array( &$this, 'plugin_settings_link' ), 10, 2 );
@@ -283,6 +288,62 @@ class Responsive_Lightbox {
283
  public function load_textdomain() {
284
  load_plugin_textdomain( 'responsive-lightbox', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
285
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
 
287
  /**
288
  * Add links to Support Forum
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.6.0
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
36
  * Responsive Lightbox class.
37
  *
38
  * @class Responsive_Lightbox
39
+ * @version 1.6.0
40
  */
41
  class Responsive_Lightbox {
42
 
50
  'force_custom_gallery' => false,
51
  'videos' => true,
52
  'image_links' => true,
53
+ 'image_title' => 'default',
54
  'images_as_gallery' => false,
55
  'deactivation_delete' => false,
56
  'loading_place' => 'header',
57
  'conditional_loading' => false,
58
  'enable_custom_events' => false,
59
+ 'custom_events' => 'ajaxComplete',
60
+ 'update_version' => 0,
61
+ 'update_notice' => true
62
  ),
63
  'configuration' => array(
64
  'prettyphoto' => array(
146
  'pagination_type' => 'thumbnails'
147
  )
148
  ),
149
+ 'version' => '1.6.0'
150
  );
151
  public $options = array();
152
+ private $notices = array();
153
  private static $_instance;
154
 
155
  private function __clone() {}
172
  // change from older versions
173
  $db_version = get_option( 'responsive_lightbox_version' );
174
 
175
+ if ( version_compare( ( $db_version === false ? '1.0.0' : $db_version ), '1.0.5', '<' ) ) {
176
  if ( ($array = get_option( 'rl_settings' )) !== false ) {
177
  update_option( 'responsive_lightbox_settings', $array );
178
  delete_option( 'rl_settings' );
187
  // update plugin version
188
  update_option( 'responsive_lightbox_version', $this->defaults['version'], '', 'no' );
189
 
190
+ $this->options['settings'] = array_merge( $this->defaults['settings'], ( ($array = get_option( 'responsive_lightbox_settings' ) ) === false ? array() : $array ) );
191
 
192
  // for multi arrays we have to merge them separately
193
  $db_conf_opts = ( ( $base = get_option( 'responsive_lightbox_configuration' ) ) === false ? array() : $base );
200
  add_action( 'plugins_loaded', array( &$this, 'load_textdomain' ) );
201
  add_action( 'wp_enqueue_scripts', array( &$this, 'front_scripts_styles' ) );
202
  add_action( 'admin_enqueue_scripts', array( &$this, 'admin_scripts_styles' ) );
203
+ add_action( 'admin_init', array( &$this, 'update_notices' ) );
204
 
205
  // filters
206
  add_filter( 'plugin_action_links', array( &$this, 'plugin_settings_link' ), 10, 2 );
288
  public function load_textdomain() {
289
  load_plugin_textdomain( 'responsive-lightbox', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
290
  }
291
+
292
+ /**
293
+ * Update notices.
294
+ */
295
+ public function update_notices() {
296
+ if ( ! current_user_can( 'install_plugins' ) )
297
+ return;
298
+
299
+ $current_update = 1;
300
+
301
+ if ( $this->options['settings']['update_version'] < $current_update ) {
302
+ // check version, if update ver is lower than plugin ver, set update notice to true
303
+ $this->options['settings'] = array_merge( $this->options['settings'], array( 'update_version' => $current_update, 'update_notice' => true ) );
304
+ update_option( 'responsive_lightbox_settings', $this->options['settings'] );
305
+ } elseif ( isset( $_GET['rl_action'] ) && $_GET['rl_action'] == 'hide_notice' ) {
306
+ // hide notice, if query arg is set, before it gets displayed
307
+ $this->options['settings'] = array_merge( $this->options['settings'], array( 'update_notice' => false ) );
308
+ update_option( 'responsive_lightbox_settings', $this->options['settings'] );
309
+ }
310
+
311
+ // display current version notice
312
+ if ( $this->options['settings']['update_notice'] === true ) {
313
+
314
+ $this->add_notice( sprintf(__( 'Thank you for updating Responsive Lightbox to version %s. <a href="%s">Click here</a> to check out our latest extensions!', 'responsive-lightbox'), $this->defaults['version'], esc_url( add_query_arg( array( 'rl_action' => 'hide_notice' ), admin_url( 'options-general.php' ) . '?page=responsive-lightbox&tab=addons' ) ) ), 'updated notice' );
315
+ }
316
+ }
317
+
318
+ /**
319
+ * Add admin notices.
320
+ */
321
+ public function add_notice( $html = '', $status = 'error', $paragraph = true, $network = false ) {
322
+ $this->notices[] = array(
323
+ 'html' => $html,
324
+ 'status' => $status,
325
+ 'paragraph' => $paragraph
326
+ );
327
+
328
+ add_action( 'admin_notices', array( &$this, 'display_notice') );
329
+
330
+ if( $network )
331
+ add_action( 'network_admin_notices', array( &$this, 'display_notice') );
332
+ }
333
+
334
+ /**
335
+ * Print admin notices.
336
+ */
337
+ public function display_notice() {
338
+ foreach( $this->notices as $notice ) {
339
+ echo '
340
+ <div class="' . $notice['status'] . '">
341
+ ' . ( $notice['paragraph'] ? '<p>' : '' ) . '
342
+ ' . $notice['html'] . '
343
+ ' . ( $notice['paragraph'] ? '</p>' : '' ) . '
344
+ </div>';
345
+ }
346
+ }
347
 
348
  /**
349
  * Add links to Support Forum