Version Description
- Fix: Add option to enable/disable advanced capability management
- Fix: Insert gallery into post not working in Gutenberg editor
- Fix: Remove "ready" deprecated event from front.js
- Fix: array_combine() function error class-folders.php
- FIx: $.uniqueSort is not a function error
Download this release
Release Info
Developer | dfactory |
Plugin | Responsive Lightbox & Gallery |
Version | 2.3.2 |
Comparing to | |
See all releases |
Code changes from version 2.3.1 to 2.3.2
- assets/swipebox/jquery.swipebox.js +20 -15
- assets/swipebox/jquery.swipebox.min.js +1 -1
- includes/class-folders.php +10 -3
- includes/class-galleries.php +14 -6
- includes/class-settings.php +51 -24
- includes/class-tour.php +1 -1
- js/admin-galleries.js +3 -3
- js/admin-gallery.js +1 -1
- js/admin-widgets.js +1 -1
- js/front.js +49 -60
- js/gutenberg.min.js +1 -6
- languages/responsive-lightbox.pot +518 -504
- readme.txt +11 -4
- responsive-lightbox.php +272 -204
assets/swipebox/jquery.swipebox.js
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
-
/*! Swipebox v1.
|
2 |
|
3 |
;( function ( window, document, $, undefined ) {
|
4 |
|
5 |
$.swipebox = function( elem, options ) {
|
6 |
|
|
|
|
|
7 |
// Default options
|
8 |
var ui,
|
9 |
defaults = {
|
@@ -24,13 +26,13 @@
|
|
24 |
loopAtEnd: false,
|
25 |
autoplayVideos: false,
|
26 |
queryStringData: {},
|
27 |
-
toggleClassOnLoad: ''
|
28 |
-
selector: null
|
29 |
},
|
30 |
|
31 |
plugin = this,
|
32 |
elements = [], // slides array [ { href:'...', title:'...' }, ...],
|
33 |
$elem,
|
|
|
34 |
isMobile = navigator.userAgent.match( /(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i ),
|
35 |
isTouch = isMobile !== null || document.createTouch !== undefined || ( 'ontouchstart' in window ) || ( 'onmsgesturechange' in window ) || navigator.msMaxTouchPoints,
|
36 |
supportSVG = !! document.createElementNS && !! document.createElementNS( 'http://www.w3.org/2000/svg', 'svg').createSVGRect,
|
@@ -76,7 +78,7 @@
|
|
76 |
|
77 |
} else {
|
78 |
|
79 |
-
$(
|
80 |
|
81 |
// console.log( isTouch );
|
82 |
|
@@ -85,12 +87,10 @@
|
|
85 |
return false;
|
86 |
}
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
} else {
|
93 |
-
$elem = $( elem ).find( plugin.settings.selector );
|
94 |
}
|
95 |
|
96 |
elements = [];
|
@@ -108,7 +108,9 @@
|
|
108 |
}
|
109 |
|
110 |
if ( relVal && relVal !== '' && relVal !== 'nofollow' ) {
|
111 |
-
$elem = $
|
|
|
|
|
112 |
}
|
113 |
|
114 |
$elem.each( function() {
|
@@ -120,7 +122,6 @@
|
|
120 |
title = $( this ).attr( 'title' );
|
121 |
}
|
122 |
|
123 |
-
|
124 |
if ( $( this ).attr( 'href' ) ) {
|
125 |
href = $( this ).attr( 'href' );
|
126 |
}
|
@@ -357,7 +358,7 @@
|
|
357 |
} );
|
358 |
}
|
359 |
|
360 |
-
// swipe
|
361 |
} else if ( 0 > hDistance ) {
|
362 |
|
363 |
// last Slide
|
@@ -584,7 +585,9 @@
|
|
584 |
} );
|
585 |
}
|
586 |
|
587 |
-
$( '#swipebox-close' ).on( action, function() {
|
|
|
|
|
588 |
$this.closeSlide();
|
589 |
} );
|
590 |
},
|
@@ -781,15 +784,17 @@
|
|
781 |
youtubeShortUrl = url.match(/(?:www\.)?youtu\.be\/([a-zA-Z0-9\-_]+)/),
|
782 |
vimeoUrl = url.match( /(?:www\.)?vimeo\.com\/([0-9]*)/ ),
|
783 |
qs = '';
|
|
|
784 |
if ( youtubeUrl || youtubeShortUrl) {
|
785 |
if ( youtubeShortUrl ) {
|
786 |
youtubeUrl = youtubeShortUrl;
|
787 |
}
|
|
|
788 |
qs = ui.parseUri( url, {
|
789 |
'autoplay' : ( plugin.settings.autoplayVideos ? '1' : '0' ),
|
790 |
'v' : ''
|
791 |
});
|
792 |
-
iframe = '<iframe width="560" height="315" src="
|
793 |
|
794 |
} else if ( vimeoUrl ) {
|
795 |
qs = ui.parseUri( url, {
|
1 |
+
/*! Swipebox v1.5.2 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
|
2 |
|
3 |
;( function ( window, document, $, undefined ) {
|
4 |
|
5 |
$.swipebox = function( elem, options ) {
|
6 |
|
7 |
+
$( elem ).addClass( 'swipebox' ); // fugly but yea, swipebox class all the things
|
8 |
+
|
9 |
// Default options
|
10 |
var ui,
|
11 |
defaults = {
|
26 |
loopAtEnd: false,
|
27 |
autoplayVideos: false,
|
28 |
queryStringData: {},
|
29 |
+
toggleClassOnLoad: ''
|
|
|
30 |
},
|
31 |
|
32 |
plugin = this,
|
33 |
elements = [], // slides array [ { href:'...', title:'...' }, ...],
|
34 |
$elem,
|
35 |
+
selector = '.swipebox',
|
36 |
isMobile = navigator.userAgent.match( /(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i ),
|
37 |
isTouch = isMobile !== null || document.createTouch !== undefined || ( 'ontouchstart' in window ) || ( 'onmsgesturechange' in window ) || navigator.msMaxTouchPoints,
|
38 |
supportSVG = !! document.createElementNS && !! document.createElementNS( 'http://www.w3.org/2000/svg', 'svg').createSVGRect,
|
78 |
|
79 |
} else {
|
80 |
|
81 |
+
$( document ).on( 'click', selector, function( event ) {
|
82 |
|
83 |
// console.log( isTouch );
|
84 |
|
87 |
return false;
|
88 |
}
|
89 |
|
90 |
+
if ( ! Array.isArray( elem ) ) {
|
91 |
+
ui.destroy();
|
92 |
+
$elem = $( selector );
|
93 |
+
ui.actions();
|
|
|
|
|
94 |
}
|
95 |
|
96 |
elements = [];
|
108 |
}
|
109 |
|
110 |
if ( relVal && relVal !== '' && relVal !== 'nofollow' ) {
|
111 |
+
$elem = $( selector ).filter( '[' + relType + '="' + relVal + '"]' );
|
112 |
+
} else {
|
113 |
+
$elem = $( selector );
|
114 |
}
|
115 |
|
116 |
$elem.each( function() {
|
122 |
title = $( this ).attr( 'title' );
|
123 |
}
|
124 |
|
|
|
125 |
if ( $( this ).attr( 'href' ) ) {
|
126 |
href = $( this ).attr( 'href' );
|
127 |
}
|
358 |
} );
|
359 |
}
|
360 |
|
361 |
+
// swipe right
|
362 |
} else if ( 0 > hDistance ) {
|
363 |
|
364 |
// last Slide
|
585 |
} );
|
586 |
}
|
587 |
|
588 |
+
$( '#swipebox-close' ).on( action, function( event ) {
|
589 |
+
event.preventDefault();
|
590 |
+
event.stopPropagation();
|
591 |
$this.closeSlide();
|
592 |
} );
|
593 |
},
|
784 |
youtubeShortUrl = url.match(/(?:www\.)?youtu\.be\/([a-zA-Z0-9\-_]+)/),
|
785 |
vimeoUrl = url.match( /(?:www\.)?vimeo\.com\/([0-9]*)/ ),
|
786 |
qs = '';
|
787 |
+
|
788 |
if ( youtubeUrl || youtubeShortUrl) {
|
789 |
if ( youtubeShortUrl ) {
|
790 |
youtubeUrl = youtubeShortUrl;
|
791 |
}
|
792 |
+
|
793 |
qs = ui.parseUri( url, {
|
794 |
'autoplay' : ( plugin.settings.autoplayVideos ? '1' : '0' ),
|
795 |
'v' : ''
|
796 |
});
|
797 |
+
iframe = '<iframe width="560" height="315" src="https://' + youtubeUrl[1] + '/embed/' + youtubeUrl[2] + '?' + qs + '" frameborder="0" allowfullscreen></iframe>';
|
798 |
|
799 |
} else if ( vimeoUrl ) {
|
800 |
qs = ui.parseUri( url, {
|
assets/swipebox/jquery.swipebox.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(p,c,m,b){m.swipebox=function(o,e){var n,a,t={useCSS:!0,useSVG:!0,initialIndexOnArray:0,removeBarsOnMobile:!0,hideCloseButtonOnMobile:!1,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"cccccc",beforeOpen:null,afterOpen:null,afterClose:null,afterMedia:null,nextSlide:null,prevSlide:null,loopAtEnd:!1,autoplayVideos:!1,queryStringData:{},toggleClassOnLoad:"",selector:null},r=this,g=[],i=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i),s=null!==i||c.createTouch!==b||"ontouchstart"in p||"onmsgesturechange"in p||navigator.msMaxTouchPoints,l=!!c.createElementNS&&!!c.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,f=p.innerWidth?p.innerWidth:m(p).width(),d=p.innerHeight?p.innerHeight:m(p).height(),w=0;r.settings={},m.swipebox.close=function(){n.closeSlide()},m.swipebox.extend=function(){return n},r.init=function(){r.settings=m.extend({},t,e),Array.isArray(o)?(g=o,n.target=m(p),n.init(r.settings.initialIndexOnArray)):m(o).on("click",r.settings.selector,function(e){return"slide current"!==e.target.parentNode.className&&(n.destroy(),a=null===r.settings.selector?m(o):m(o).find(r.settings.selector),g=[],s||(i="data-rel",s=m(this).attr(i)),s||(i="rel",s=m(this).attr(i)),s&&""!==s&&"nofollow"!==s&&(a=a.filter("["+i+'="'+s+'"]')),a.each(function(){var e=null,t=null;m(this).attr("title")&&(e=m(this).attr("title")),m(this).attr("href")&&(t=m(this).attr("href")),g.push({href:t,title:e})}),t=a.index(m(this)),e.preventDefault(),e.stopPropagation(),n.target=m(e.target),void n.init(t));var t,i,s})},n={init:function(e){r.settings.beforeOpen&&r.settings.beforeOpen(),this.target.trigger("swipebox-start"),m.swipebox.isOpen=!0,this.build(),this.openSlide(e),this.openMedia(e),this.preloadMedia(e+1),this.preloadMedia(e-1),r.settings.afterOpen&&r.settings.afterOpen(e)},build:function(){var e,t=this;m("body").append('<div id="swipebox-overlay">\t\t\t\t\t<div id="swipebox-container">\t\t\t\t\t\t<div id="swipebox-slider"></div>\t\t\t\t\t\t<div id="swipebox-top-bar">\t\t\t\t\t\t\t<div id="swipebox-title"></div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div id="swipebox-bottom-bar">\t\t\t\t\t\t\t<div id="swipebox-arrows">\t\t\t\t\t\t\t\t<a id="swipebox-prev"></a>\t\t\t\t\t\t\t\t<a id="swipebox-next"></a>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<a id="swipebox-close"></a>\t\t\t\t\t</div>\t\t\t</div>'),l&&!0===r.settings.useSVG&&(e=(e=m("#swipebox-close").css("background-image")).replace("png","svg"),m("#swipebox-prev, #swipebox-next, #swipebox-close").css({"background-image":e})),i&&r.settings.removeBarsOnMobile&&m("#swipebox-bottom-bar, #swipebox-top-bar").remove(),m.each(g,function(){m("#swipebox-slider").append('<div class="slide"></div>')}),t.setDim(),t.actions(),s&&t.gesture(),t.keyboard(),t.animBars(),t.resize()},setDim:function(){var e,t,i;"onorientationchange"in p?p.addEventListener("orientationchange",function(){0===p.orientation?(e=f,t=d):90!==p.orientation&&-90!==p.orientation||(e=d,t=f)},!1):(e=p.innerWidth?p.innerWidth:m(p).width(),t=p.innerHeight?p.innerHeight:m(p).height()),i={width:e,height:t},m("#swipebox-overlay").css(i)},resize:function(){var e=this;m(p).on("resize",function(){e.setDim()}).trigger("resize")},supportTransition:function(){for(var e="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" "),t=0;t<e.length;t++)if(c.createElement("div").style[e[t]]!==b)return e[t];return!1},doCssTrans:function(){if(r.settings.useCSS&&this.supportTransition())return!0},gesture:function(){var i,s,o,a,n,r,l=this,d=!1,p=!1,c={},b={},u=m("#swipebox-top-bar, #swipebox-bottom-bar"),h=m("#swipebox-slider");u.addClass("visible-bars"),l.setTimeout(),m("body").on("touchstart",function(e){return m(this).addClass("touching"),i=m("#swipebox-slider .slide").index(m("#swipebox-slider .slide.current")),b=e.originalEvent.targetTouches[0],c.pageX=e.originalEvent.targetTouches[0].pageX,c.pageY=e.originalEvent.targetTouches[0].pageY,m("#swipebox-slider").css({"-webkit-transform":"translate3d("+w+"%, 0, 0)",transform:"translate3d("+w+"%, 0, 0)"}),m(".touching").on("touchmove",function(e){var t;e.preventDefault(),e.stopPropagation(),b=e.originalEvent.targetTouches[0],p||(n=o,o=b.pageY-c.pageY,(50<=Math.abs(o)||d)&&(t=.75-Math.abs(o)/h.height(),h.css({top:o+"px"}),h.css({opacity:t}),d=!0)),a=s,s=b.pageX-c.pageX,r=100*s/f,!p&&!d&&10<=Math.abs(s)&&(m("#swipebox-slider").css({"-webkit-transition":"",transition:""}),p=!0),p&&(0<s?0===i?m("#swipebox-overlay").addClass("leftSpringTouch"):(m("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),m("#swipebox-slider").css({"-webkit-transform":"translate3d("+(w+r)+"%, 0, 0)",transform:"translate3d("+(w+r)+"%, 0, 0)"})):s<0&&(g.length===i+1?m("#swipebox-overlay").addClass("rightSpringTouch"):(m("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),m("#swipebox-slider").css({"-webkit-transform":"translate3d("+(w+r)+"%, 0, 0)",transform:"translate3d("+(w+r)+"%, 0, 0)"}))))}),!1}).on("touchend",function(e){var t;e.preventDefault(),e.stopPropagation(),m("#swipebox-slider").css({"-webkit-transition":"-webkit-transform 0.4s ease",transition:"transform 0.4s ease"}),o=b.pageY-c.pageY,s=b.pageX-c.pageX,r=100*s/f,d?(d=!1,100<=Math.abs(o)&&Math.abs(o)>Math.abs(n)?(t=0<o?h.height():-h.height(),h.animate({top:t+"px",opacity:0},300,function(){l.closeSlide()})):h.animate({top:0,opacity:1},300)):p?(p=!1,10<=s&&a<=s?l.getPrev():s<=-10&&s<=a&&l.getNext()):u.hasClass("visible-bars")?(l.clearTimeout(),l.hideBars()):(l.showBars(),l.setTimeout()),m("#swipebox-slider").css({"-webkit-transform":"translate3d("+w+"%, 0, 0)",transform:"translate3d("+w+"%, 0, 0)"}),m("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),m(".touching").off("touchmove").removeClass("touching")})},setTimeout:function(){var e;0<r.settings.hideBarsDelay&&((e=this).clearTimeout(),e.timeout=p.setTimeout(function(){e.hideBars()},r.settings.hideBarsDelay))},clearTimeout:function(){p.clearTimeout(this.timeout),this.timeout=null},showBars:function(){var e=m("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?e.addClass("visible-bars"):(m("#swipebox-top-bar").animate({top:0},500),m("#swipebox-bottom-bar").animate({bottom:0},500),setTimeout(function(){e.addClass("visible-bars")},1e3))},hideBars:function(){var e=m("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?e.removeClass("visible-bars"):(m("#swipebox-top-bar").animate({top:"-50px"},500),m("#swipebox-bottom-bar").animate({bottom:"-50px"},500),setTimeout(function(){e.removeClass("visible-bars")},1e3))},animBars:function(){var e=this,t=m("#swipebox-top-bar, #swipebox-bottom-bar");t.addClass("visible-bars"),e.setTimeout(),m("#swipebox-slider").on("click",function(){t.hasClass("visible-bars")||(e.showBars(),e.setTimeout())}),m("#swipebox-bottom-bar").on("mouseenter",function(){e.showBars(),t.addClass("visible-bars"),e.clearTimeout()}).on("mouseleave",function(){0<r.settings.hideBarsDelay&&(t.removeClass("visible-bars"),e.setTimeout())})},keyboard:function(){var t=this;m(p).on("keyup",function(e){e.preventDefault(),e.stopPropagation(),37===e.keyCode?t.getPrev():39===e.keyCode?t.getNext():27===e.keyCode&&t.closeSlide()})},actions:function(){var t=this,e="touchend click";g.length<2?(m("#swipebox-bottom-bar").hide(),b===g[1]&&m("#swipebox-top-bar").hide()):(m("#swipebox-prev").on(e,function(e){e.preventDefault(),e.stopPropagation(),t.getPrev(),t.setTimeout()}),m("#swipebox-next").on(e,function(e){e.preventDefault(),e.stopPropagation(),t.getNext(),t.setTimeout()})),m("#swipebox-close").on(e,function(){t.closeSlide()})},setSlide:function(e,t){t=t||!1;var i=m("#swipebox-slider");w=100*-e,this.doCssTrans()?i.css({"-webkit-transform":"translate3d("+100*-e+"%, 0, 0)",transform:"translate3d("+100*-e+"%, 0, 0)"}):i.animate({left:100*-e+"%"}),m("#swipebox-slider .slide").removeClass("current"),m("#swipebox-slider .slide").eq(e).addClass("current"),this.setTitle(e),t&&i.fadeIn(),m("#swipebox-prev, #swipebox-next").removeClass("disabled"),0===e?m("#swipebox-prev").addClass("disabled"):e===g.length-1&&!0!==r.settings.loopAtEnd&&m("#swipebox-next").addClass("disabled")},openSlide:function(e){m("html").addClass("swipebox-html"),s?(m("html").addClass("swipebox-touch"),r.settings.hideCloseButtonOnMobile&&m("html").addClass("swipebox-no-close-button")):m("html").addClass("swipebox-no-touch"),m(p).trigger("resize"),this.setSlide(e,!0)},preloadMedia:function(e){var t=this,i=null;g[e]!==b&&(i=g[e].href),t.isVideo(i)?t.openMedia(e):setTimeout(function(){t.openMedia(e)},1e3)},openMedia:function(e){var t,i;if(g[e]!==b&&(t=g[e].href),e<0||e>=g.length)return!1;i=m("#swipebox-slider .slide").eq(e),this.isVideo(t)?(i.html(this.getVideo(t)),r.settings.afterMedia&&r.settings.afterMedia(e)):(i.addClass("slide-loading"),this.loadMedia(t,function(){i.removeClass("slide-loading"),i.html(this),r.settings.afterMedia&&r.settings.afterMedia(e)}))},setTitle:function(e){var t=null;m("#swipebox-title").empty(),g[e]!==b&&(t=g[e].title),t?(m("#swipebox-top-bar").show(),m("#swipebox-title").append(t)):m("#swipebox-top-bar").hide()},isVideo:function(e){if(e){if(e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/))return!0;if(0<=e.toLowerCase().indexOf("swipeboxvideo=1"))return!0}},parseUri:function(e,t){var i=c.createElement("a"),s={};return i.href=decodeURIComponent(e),i.search&&(s=JSON.parse('{"'+i.search.toLowerCase().replace("?","").replace(/&/g,'","').replace(/=/g,'":"')+'"}')),m.isPlainObject(t)&&(s=m.extend(s,t,r.settings.queryStringData)),m.map(s,function(e,t){if(e&&""<e)return encodeURIComponent(t)+"="+encodeURIComponent(e)}).join("&")},getVideo:function(e){var t="",i=e.match(/((?:www\.)?youtube\.com|(?:www\.)?youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/),s=e.match(/(?:www\.)?youtu\.be\/([a-zA-Z0-9\-_]+)/),o=e.match(/(?:www\.)?vimeo\.com\/([0-9]*)/),a="",t=i||s?(s&&(i=s),a=n.parseUri(e,{autoplay:r.settings.autoplayVideos?"1":"0",v:""}),'<iframe width="560" height="315" src="//'+i[1]+"/embed/"+i[2]+"?"+a+'" frameborder="0" allowfullscreen></iframe>'):o?(a=n.parseUri(e,{autoplay:r.settings.autoplayVideos?"1":"0",byline:"0",portrait:"0",color:r.settings.vimeoColor}),'<iframe width="560" height="315" src="//player.vimeo.com/video/'+o[1]+"?"+a+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):'<iframe width="560" height="315" src="'+e+'" frameborder="0" allowfullscreen></iframe>';return'<div class="swipebox-video-container" style="max-width:'+r.settings.videoMaxWidth+'px"><div class="swipebox-video">'+t+"</div></div>"},loadMedia:function(e,t){var i;0===e.trim().indexOf("#")?t.call(m("<div>",{class:"swipebox-inline-container"}).append(m(e).clone().toggleClass(r.settings.toggleClassOnLoad))):this.isVideo(e)||(i=m("<img>").on("load",function(){t.call(i)})).attr("src",e)},getNext:function(){var e,t=this,i=m("#swipebox-slider .slide").index(m("#swipebox-slider .slide.current"));i+1<g.length?(e=m("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src"),m("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src",e),i++,t.setSlide(i),t.preloadMedia(i+1),r.settings.nextSlide&&r.settings.nextSlide(i)):!0===r.settings.loopAtEnd?(e=m("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src"),m("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src",e),i=0,t.preloadMedia(i),t.setSlide(i),t.preloadMedia(i+1),r.settings.nextSlide&&r.settings.nextSlide(i)):(m("#swipebox-overlay").addClass("rightSpring"),setTimeout(function(){m("#swipebox-overlay").removeClass("rightSpring")},500))},getPrev:function(){var e,t=m("#swipebox-slider .slide").index(m("#swipebox-slider .slide.current"));0<t?(e=m("#swipebox-slider .slide").eq(t).contents().find("iframe").attr("src"),m("#swipebox-slider .slide").eq(t).contents().find("iframe").attr("src",e),t--,this.setSlide(t),this.preloadMedia(t-1),r.settings.prevSlide&&r.settings.prevSlide(t)):(m("#swipebox-overlay").addClass("leftSpring"),setTimeout(function(){m("#swipebox-overlay").removeClass("leftSpring")},500))},nextSlide:function(e){},prevSlide:function(e){},closeSlide:function(){m("html").removeClass("swipebox-html"),m("html").removeClass("swipebox-touch"),m(p).trigger("resize"),this.destroy()},destroy:function(){m(p).off("keyup"),m("body").off("touchstart"),m("body").off("touchmove"),m("body").off("touchend"),m("#swipebox-slider").off(),m("#swipebox-overlay").remove(),Array.isArray(o)||o.removeData("_swipebox"),this.target&&this.target.trigger("swipebox-destroy"),m.swipebox.isOpen=!1,r.settings.afterClose&&r.settings.afterClose()}},r.init()},m.fn.swipebox=function(e){var t;return m.data(this,"_swipebox")||(t=new m.swipebox(this,e),this.data("_swipebox",t)),this.data("_swipebox")}}(window,document,jQuery);
|
1 |
+
!function(c,b,f,u){f.swipebox=function(s,e){f(s).addClass("swipebox");var n,o,t={useCSS:!0,useSVG:!0,initialIndexOnArray:0,removeBarsOnMobile:!0,hideCloseButtonOnMobile:!1,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"cccccc",beforeOpen:null,afterOpen:null,afterClose:null,afterMedia:null,nextSlide:null,prevSlide:null,loopAtEnd:!1,autoplayVideos:!1,queryStringData:{},toggleClassOnLoad:""},r=this,h=[],a=".swipebox",i=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i),l=null!==i||b.createTouch!==u||"ontouchstart"in c||"onmsgesturechange"in c||navigator.msMaxTouchPoints,d=!!b.createElementNS&&!!b.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,g=c.innerWidth||f(c).width(),p=c.innerHeight||f(c).height(),w=0;r.settings={},f.swipebox.close=function(){n.closeSlide()},f.swipebox.extend=function(){return n},r.init=function(){r.settings=f.extend({},t,e),Array.isArray(s)?(h=s,n.target=f(c),n.init(r.settings.initialIndexOnArray)):f(b).on("click",a,function(e){return"slide current"!==e.target.parentNode.className&&(Array.isArray(s)||(n.destroy(),o=f(a),n.actions()),h=[],i||(t="data-rel",i=f(this).attr(t)),i||(t="rel",i=f(this).attr(t)),(o=i&&""!==i&&"nofollow"!==i?f(a).filter("["+t+'="'+i+'"]'):f(a)).each(function(){var e=null,t=null;f(this).attr("title")&&(e=f(this).attr("title")),f(this).attr("href")&&(t=f(this).attr("href")),h.push({href:t,title:e})}),i=o.index(f(this)),e.preventDefault(),e.stopPropagation(),n.target=f(e.target),void n.init(i));var t,i})},n={init:function(e){r.settings.beforeOpen&&r.settings.beforeOpen(),this.target.trigger("swipebox-start"),f.swipebox.isOpen=!0,this.build(),this.openSlide(e),this.openMedia(e),this.preloadMedia(e+1),this.preloadMedia(e-1),r.settings.afterOpen&&r.settings.afterOpen(e)},build:function(){var e,t=this;f("body").append('<div id="swipebox-overlay">\t\t\t\t\t<div id="swipebox-container">\t\t\t\t\t\t<div id="swipebox-slider"></div>\t\t\t\t\t\t<div id="swipebox-top-bar">\t\t\t\t\t\t\t<div id="swipebox-title"></div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div id="swipebox-bottom-bar">\t\t\t\t\t\t\t<div id="swipebox-arrows">\t\t\t\t\t\t\t\t<a id="swipebox-prev"></a>\t\t\t\t\t\t\t\t<a id="swipebox-next"></a>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<a id="swipebox-close"></a>\t\t\t\t\t</div>\t\t\t</div>'),d&&!0===r.settings.useSVG&&(e=(e=f("#swipebox-close").css("background-image")).replace("png","svg"),f("#swipebox-prev, #swipebox-next, #swipebox-close").css({"background-image":e})),i&&r.settings.removeBarsOnMobile&&f("#swipebox-bottom-bar, #swipebox-top-bar").remove(),f.each(h,function(){f("#swipebox-slider").append('<div class="slide"></div>')}),t.setDim(),t.actions(),l&&t.gesture(),t.keyboard(),t.animBars(),t.resize()},setDim:function(){var e,t,i;"onorientationchange"in c?c.addEventListener("orientationchange",function(){0===c.orientation?(e=g,t=p):90!==c.orientation&&-90!==c.orientation||(e=p,t=g)},!1):(e=c.innerWidth||f(c).width(),t=c.innerHeight||f(c).height()),i={width:e,height:t},f("#swipebox-overlay").css(i)},resize:function(){var e=this;f(c).on("resize",function(){e.setDim()}).trigger("resize")},supportTransition:function(){for(var e="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" "),t=0;t<e.length;t++)if(b.createElement("div").style[e[t]]!==u)return e[t];return!1},doCssTrans:function(){if(r.settings.useCSS&&this.supportTransition())return!0},gesture:function(){var t,i,s,o,a,n,r=this,l=!1,d=!1,p={},c={},b=f("#swipebox-top-bar, #swipebox-bottom-bar"),u=f("#swipebox-slider");b.addClass("visible-bars"),r.setTimeout(),f("body").on("touchstart",function(e){return f(this).addClass("touching"),t=f("#swipebox-slider .slide").index(f("#swipebox-slider .slide.current")),c=e.originalEvent.targetTouches[0],p.pageX=e.originalEvent.targetTouches[0].pageX,p.pageY=e.originalEvent.targetTouches[0].pageY,f("#swipebox-slider").css({"-webkit-transform":"translate3d("+w+"%, 0, 0)",transform:"translate3d("+w+"%, 0, 0)"}),f(".touching").on("touchmove",function(e){e.preventDefault(),e.stopPropagation(),c=e.originalEvent.targetTouches[0],d||(a=s,s=c.pageY-p.pageY,(50<=Math.abs(s)||l)&&(e=.75-Math.abs(s)/u.height(),u.css({top:s+"px"}),u.css({opacity:e}),l=!0)),o=i,i=c.pageX-p.pageX,n=100*i/g,!d&&!l&&10<=Math.abs(i)&&(f("#swipebox-slider").css({"-webkit-transition":"",transition:""}),d=!0),d&&(0<i?0===t?f("#swipebox-overlay").addClass("leftSpringTouch"):(f("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),f("#swipebox-slider").css({"-webkit-transform":"translate3d("+(w+n)+"%, 0, 0)",transform:"translate3d("+(w+n)+"%, 0, 0)"})):i<0&&(h.length===t+1?f("#swipebox-overlay").addClass("rightSpringTouch"):(f("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),f("#swipebox-slider").css({"-webkit-transform":"translate3d("+(w+n)+"%, 0, 0)",transform:"translate3d("+(w+n)+"%, 0, 0)"}))))}),!1}).on("touchend",function(e){e.preventDefault(),e.stopPropagation(),f("#swipebox-slider").css({"-webkit-transition":"-webkit-transform 0.4s ease",transition:"transform 0.4s ease"}),s=c.pageY-p.pageY,i=c.pageX-p.pageX,n=100*i/g,l?(l=!1,100<=Math.abs(s)&&Math.abs(s)>Math.abs(a)?(e=0<s?u.height():-u.height(),u.animate({top:e+"px",opacity:0},300,function(){r.closeSlide()})):u.animate({top:0,opacity:1},300)):d?(d=!1,10<=i&&o<=i?r.getPrev():i<=-10&&i<=o&&r.getNext()):b.hasClass("visible-bars")?(r.clearTimeout(),r.hideBars()):(r.showBars(),r.setTimeout()),f("#swipebox-slider").css({"-webkit-transform":"translate3d("+w+"%, 0, 0)",transform:"translate3d("+w+"%, 0, 0)"}),f("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),f(".touching").off("touchmove").removeClass("touching")})},setTimeout:function(){var e;0<r.settings.hideBarsDelay&&((e=this).clearTimeout(),e.timeout=c.setTimeout(function(){e.hideBars()},r.settings.hideBarsDelay))},clearTimeout:function(){c.clearTimeout(this.timeout),this.timeout=null},showBars:function(){var e=f("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?e.addClass("visible-bars"):(f("#swipebox-top-bar").animate({top:0},500),f("#swipebox-bottom-bar").animate({bottom:0},500),setTimeout(function(){e.addClass("visible-bars")},1e3))},hideBars:function(){var e=f("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?e.removeClass("visible-bars"):(f("#swipebox-top-bar").animate({top:"-50px"},500),f("#swipebox-bottom-bar").animate({bottom:"-50px"},500),setTimeout(function(){e.removeClass("visible-bars")},1e3))},animBars:function(){var e=this,t=f("#swipebox-top-bar, #swipebox-bottom-bar");t.addClass("visible-bars"),e.setTimeout(),f("#swipebox-slider").on("click",function(){t.hasClass("visible-bars")||(e.showBars(),e.setTimeout())}),f("#swipebox-bottom-bar").on("mouseenter",function(){e.showBars(),t.addClass("visible-bars"),e.clearTimeout()}).on("mouseleave",function(){0<r.settings.hideBarsDelay&&(t.removeClass("visible-bars"),e.setTimeout())})},keyboard:function(){var t=this;f(c).on("keyup",function(e){e.preventDefault(),e.stopPropagation(),37===e.keyCode?t.getPrev():39===e.keyCode?t.getNext():27===e.keyCode&&t.closeSlide()})},actions:function(){var t=this,e="touchend click";h.length<2?(f("#swipebox-bottom-bar").hide(),u===h[1]&&f("#swipebox-top-bar").hide()):(f("#swipebox-prev").on(e,function(e){e.preventDefault(),e.stopPropagation(),t.getPrev(),t.setTimeout()}),f("#swipebox-next").on(e,function(e){e.preventDefault(),e.stopPropagation(),t.getNext(),t.setTimeout()})),f("#swipebox-close").on(e,function(e){e.preventDefault(),e.stopPropagation(),t.closeSlide()})},setSlide:function(e,t){t=t||!1;var i=f("#swipebox-slider");w=100*-e,this.doCssTrans()?i.css({"-webkit-transform":"translate3d("+100*-e+"%, 0, 0)",transform:"translate3d("+100*-e+"%, 0, 0)"}):i.animate({left:100*-e+"%"}),f("#swipebox-slider .slide").removeClass("current"),f("#swipebox-slider .slide").eq(e).addClass("current"),this.setTitle(e),t&&i.fadeIn(),f("#swipebox-prev, #swipebox-next").removeClass("disabled"),0===e?f("#swipebox-prev").addClass("disabled"):e===h.length-1&&!0!==r.settings.loopAtEnd&&f("#swipebox-next").addClass("disabled")},openSlide:function(e){f("html").addClass("swipebox-html"),l?(f("html").addClass("swipebox-touch"),r.settings.hideCloseButtonOnMobile&&f("html").addClass("swipebox-no-close-button")):f("html").addClass("swipebox-no-touch"),f(c).trigger("resize"),this.setSlide(e,!0)},preloadMedia:function(e){var t=this,i=null;h[e]!==u&&(i=h[e].href),t.isVideo(i)?t.openMedia(e):setTimeout(function(){t.openMedia(e)},1e3)},openMedia:function(e){var t,i;if(h[e]!==u&&(t=h[e].href),e<0||e>=h.length)return!1;i=f("#swipebox-slider .slide").eq(e),this.isVideo(t)?(i.html(this.getVideo(t)),r.settings.afterMedia&&r.settings.afterMedia(e)):(i.addClass("slide-loading"),this.loadMedia(t,function(){i.removeClass("slide-loading"),i.html(this),r.settings.afterMedia&&r.settings.afterMedia(e)}))},setTitle:function(e){var t=null;f("#swipebox-title").empty(),h[e]!==u&&(t=h[e].title),t?(f("#swipebox-top-bar").show(),f("#swipebox-title").append(t)):f("#swipebox-top-bar").hide()},isVideo:function(e){if(e)return!!(e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/))||(0<=e.toLowerCase().indexOf("swipeboxvideo=1")||void 0)},parseUri:function(e,t){var i=b.createElement("a"),s={};return i.href=decodeURIComponent(e),i.search&&(s=JSON.parse('{"'+i.search.toLowerCase().replace("?","").replace(/&/g,'","').replace(/=/g,'":"')+'"}')),f.isPlainObject(t)&&(s=f.extend(s,t,r.settings.queryStringData)),f.map(s,function(e,t){if(e&&""<e)return encodeURIComponent(t)+"="+encodeURIComponent(e)}).join("&")},getVideo:function(e){var t="",i=e.match(/((?:www\.)?youtube\.com|(?:www\.)?youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/),s=e.match(/(?:www\.)?youtu\.be\/([a-zA-Z0-9\-_]+)/),o=e.match(/(?:www\.)?vimeo\.com\/([0-9]*)/),a="",t=i||s?(s&&(i=s),a=n.parseUri(e,{autoplay:r.settings.autoplayVideos?"1":"0",v:""}),'<iframe width="560" height="315" src="https://'+i[1]+"/embed/"+i[2]+"?"+a+'" frameborder="0" allowfullscreen></iframe>'):o?(a=n.parseUri(e,{autoplay:r.settings.autoplayVideos?"1":"0",byline:"0",portrait:"0",color:r.settings.vimeoColor}),'<iframe width="560" height="315" src="//player.vimeo.com/video/'+o[1]+"?"+a+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):'<iframe width="560" height="315" src="'+e+'" frameborder="0" allowfullscreen></iframe>';return'<div class="swipebox-video-container" style="max-width:'+r.settings.videoMaxWidth+'px"><div class="swipebox-video">'+t+"</div></div>"},loadMedia:function(e,t){var i;0===e.trim().indexOf("#")?t.call(f("<div>",{class:"swipebox-inline-container"}).append(f(e).clone().toggleClass(r.settings.toggleClassOnLoad))):this.isVideo(e)||(i=f("<img>").on("load",function(){t.call(i)})).attr("src",e)},getNext:function(){var e,t=this,i=f("#swipebox-slider .slide").index(f("#swipebox-slider .slide.current"));i+1<h.length?(e=f("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src"),f("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src",e),i++,t.setSlide(i),t.preloadMedia(i+1),r.settings.nextSlide&&r.settings.nextSlide(i)):!0===r.settings.loopAtEnd?(e=f("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src"),f("#swipebox-slider .slide").eq(i).contents().find("iframe").attr("src",e),i=0,t.preloadMedia(i),t.setSlide(i),t.preloadMedia(i+1),r.settings.nextSlide&&r.settings.nextSlide(i)):(f("#swipebox-overlay").addClass("rightSpring"),setTimeout(function(){f("#swipebox-overlay").removeClass("rightSpring")},500))},getPrev:function(){var e,t=f("#swipebox-slider .slide").index(f("#swipebox-slider .slide.current"));0<t?(e=f("#swipebox-slider .slide").eq(t).contents().find("iframe").attr("src"),f("#swipebox-slider .slide").eq(t).contents().find("iframe").attr("src",e),t--,this.setSlide(t),this.preloadMedia(t-1),r.settings.prevSlide&&r.settings.prevSlide(t)):(f("#swipebox-overlay").addClass("leftSpring"),setTimeout(function(){f("#swipebox-overlay").removeClass("leftSpring")},500))},nextSlide:function(e){},prevSlide:function(e){},closeSlide:function(){f("html").removeClass("swipebox-html"),f("html").removeClass("swipebox-touch"),f(c).trigger("resize"),this.destroy()},destroy:function(){f(c).off("keyup"),f("body").off("touchstart"),f("body").off("touchmove"),f("body").off("touchend"),f("#swipebox-slider").off(),f("#swipebox-overlay").remove(),Array.isArray(s)||s.removeData("_swipebox"),this.target&&this.target.trigger("swipebox-destroy"),f.swipebox.isOpen=!1,r.settings.afterClose&&r.settings.afterClose()}},r.init()},f.fn.swipebox=function(e){return f.data(this,"_swipebox")||(e=new f.swipebox(this,e),this.data("_swipebox",e)),this.data("_swipebox")}}(window,document,jQuery);
|
includes/class-folders.php
CHANGED
@@ -11,7 +11,10 @@ if ( ! defined( 'ABSPATH' ) )
|
|
11 |
class Responsive_Lightbox_Folders {
|
12 |
|
13 |
private $mode = '';
|
14 |
-
private $term_counters = array(
|
|
|
|
|
|
|
15 |
|
16 |
/**
|
17 |
* Class constructor.
|
@@ -1031,8 +1034,12 @@ class Responsive_Lightbox_Folders {
|
|
1031 |
if ( $term_id > 0 )
|
1032 |
$html = preg_replace_callback( '/class="cat-item cat-item-(\d+)(?:[a-z\s0-9-]+)?"/', array( $this, 'open_folders' ), $html );
|
1033 |
|
1034 |
-
//
|
1035 |
-
$
|
|
|
|
|
|
|
|
|
1036 |
}
|
1037 |
|
1038 |
// root folder query
|
11 |
class Responsive_Lightbox_Folders {
|
12 |
|
13 |
private $mode = '';
|
14 |
+
private $term_counters = array(
|
15 |
+
'keys' => array(),
|
16 |
+
'values' => array()
|
17 |
+
);
|
18 |
|
19 |
/**
|
20 |
* Class constructor.
|
1034 |
if ( $term_id > 0 )
|
1035 |
$html = preg_replace_callback( '/class="cat-item cat-item-(\d+)(?:[a-z\s0-9-]+)?"/', array( $this, 'open_folders' ), $html );
|
1036 |
|
1037 |
+
// check whether counters are valid
|
1038 |
+
if ( ! ( empty( $this->term_counters['keys'] ) || empty( $this->term_counters['values'] ) || count( $this->term_counters['keys'] ) !== count( $this->term_counters['values'] ) ) ) {
|
1039 |
+
//@TODO counters are supposed to be used in JS but not implemented yet
|
1040 |
+
// update folder counters
|
1041 |
+
$counters = array_combine( $this->term_counters['keys'], $this->term_counters['values'] );
|
1042 |
+
}
|
1043 |
}
|
1044 |
|
1045 |
// root folder query
|
includes/class-galleries.php
CHANGED
@@ -858,15 +858,23 @@ class Responsive_Lightbox_Galleries {
|
|
858 |
// set new gallery type
|
859 |
$gallery_type = $rl->options['settings']['builder_gallery'];
|
860 |
|
861 |
-
// assign gallery settings
|
862 |
-
$
|
863 |
-
|
|
|
|
|
|
|
|
|
864 |
} else {
|
865 |
$gallery_type = $config['menu_item'];
|
866 |
|
867 |
-
// assign gallery settings
|
868 |
-
|
869 |
-
|
|
|
|
|
|
|
|
|
870 |
}
|
871 |
|
872 |
if ( isset( $gallery_fields, $gallery_defaults ) ) {
|
858 |
// set new gallery type
|
859 |
$gallery_type = $rl->options['settings']['builder_gallery'];
|
860 |
|
861 |
+
// assign gallery settings
|
862 |
+
if ( array_key_exists( $gallery_type . '_gallery', $rl->settings->settings ) )
|
863 |
+
$gallery_fields = $rl->settings->settings[$gallery_type . '_gallery']['fields'];
|
864 |
+
|
865 |
+
// assign gallery defaults
|
866 |
+
if ( array_key_exists( $gallery_type . '_gallery', $rl->options ) )
|
867 |
+
$gallery_defaults = $rl->options[$gallery_type . '_gallery'];
|
868 |
} else {
|
869 |
$gallery_type = $config['menu_item'];
|
870 |
|
871 |
+
// assign gallery settings
|
872 |
+
if ( array_key_exists( $config['menu_item'] . '_gallery', $rl->settings->settings ) )
|
873 |
+
$gallery_fields = $rl->settings->settings[$config['menu_item'] . '_gallery']['fields'];
|
874 |
+
|
875 |
+
// assign gallery defaults
|
876 |
+
if ( array_key_exists( $config['menu_item'] . '_gallery', $rl->defaults ) )
|
877 |
+
$gallery_defaults = $rl->defaults[$config['menu_item'] . '_gallery'];
|
878 |
}
|
879 |
|
880 |
if ( isset( $gallery_fields, $gallery_defaults ) ) {
|
includes/class-settings.php
CHANGED
@@ -346,7 +346,8 @@ class Responsive_Lightbox_Settings {
|
|
346 |
'title' => __( 'Delete data', 'responsive-lightbox' ),
|
347 |
'section' => 'responsive_lightbox_settings',
|
348 |
'type' => 'boolean',
|
349 |
-
'label' => __( 'Delete all plugin settings on deactivation.', 'responsive-lightbox' )
|
|
|
350 |
)
|
351 |
)
|
352 |
),
|
@@ -493,7 +494,7 @@ class Responsive_Lightbox_Settings {
|
|
493 |
)
|
494 |
),
|
495 |
'prefix' => 'rl',
|
496 |
-
'fields'
|
497 |
'active' => array(
|
498 |
'title' => __( 'Remote Library', 'responsive-lightbox' ),
|
499 |
'section' => 'responsive_lightbox_remote_library',
|
@@ -526,21 +527,31 @@ class Responsive_Lightbox_Settings {
|
|
526 |
),
|
527 |
),
|
528 |
'prefix' => 'rl',
|
529 |
-
'fields'
|
530 |
-
)
|
531 |
),
|
532 |
'capabilities' => array(
|
533 |
'option_group' => 'responsive_lightbox_capabilities',
|
534 |
'option_name' => 'responsive_lightbox_capabilities',
|
535 |
-
'callback'
|
536 |
'sections' => array(
|
537 |
-
'
|
538 |
'title' => __( 'Capabilities Settings', 'responsive-lightbox' ),
|
|
|
|
|
|
|
539 |
'callback' => array( $this, 'capabilities_table' )
|
540 |
)
|
541 |
),
|
542 |
'prefix' => 'rl',
|
543 |
-
'fields'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
),
|
545 |
'basicgrid_gallery' => array(
|
546 |
'option_group' => 'responsive_lightbox_basicgrid_gallery',
|
@@ -1824,7 +1835,7 @@ class Responsive_Lightbox_Settings {
|
|
1824 |
*/
|
1825 |
public function admin_menu_options() {
|
1826 |
// get master capability
|
1827 |
-
$capability = apply_filters( 'rl_lightbox_settings_capability', 'edit_lightbox_settings' );
|
1828 |
|
1829 |
add_menu_page( __( 'General', 'responsive-lightbox' ), __( 'Lightbox', 'responsive-lightbox' ), $capability, 'responsive-lightbox-settings', '', 'dashicons-format-image', '57.1' );
|
1830 |
|
@@ -1846,6 +1857,17 @@ class Responsive_Lightbox_Settings {
|
|
1846 |
$tab_key = isset( $tabs[1] ) ? $tabs[1] : 'settings';
|
1847 |
$section_key = isset( $_GET['section'] ) ? esc_attr( $_GET['section'] ) : ( ! empty( $this->tabs[$tab_key]['default_section'] ) ? $this->tabs[$tab_key]['default_section'] : '' );
|
1848 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1849 |
echo '
|
1850 |
<div class="wrap">';
|
1851 |
|
@@ -1866,7 +1888,7 @@ class Responsive_Lightbox_Settings {
|
|
1866 |
<div class="responsive-lightbox-settings">
|
1867 |
|
1868 |
<div class="df-credits">
|
1869 |
-
<h3 class="hndle">' . __( 'Responsive Lightbox & Gallery', 'responsive-lightbox' ) . ' ' .
|
1870 |
<div class="inside">
|
1871 |
<h4 class="inner">' . __( 'Need support?', 'responsive-lightbox' ) . '</h4>
|
1872 |
<p class="inner">' . sprintf( __( 'If you are having problems with this plugin, please browse it\'s <a href="%s" target="_blank">Documentation</a> or talk about them in the <a href="%s" target="_blank">Support forum</a>', 'responsive-lightbox' ), 'https://www.dfactory.eu/docs/responsive-lightbox/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=docs', 'https://www.dfactory.eu/support/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=support' ) . '</p>
|
@@ -1936,7 +1958,7 @@ class Responsive_Lightbox_Settings {
|
|
1936 |
* @return string
|
1937 |
*/
|
1938 |
public function manage_options_capability() {
|
1939 |
-
return 'edit_lightbox_settings';
|
1940 |
}
|
1941 |
|
1942 |
/**
|
@@ -2231,8 +2253,11 @@ class Responsive_Lightbox_Settings {
|
|
2231 |
* @return array
|
2232 |
*/
|
2233 |
public function validate_settings( $input ) {
|
|
|
|
|
|
|
2234 |
// check capability
|
2235 |
-
if ( ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', 'edit_lightbox_settings' ) ) )
|
2236 |
return $input;
|
2237 |
|
2238 |
// check page
|
@@ -2253,9 +2278,6 @@ class Responsive_Lightbox_Settings {
|
|
2253 |
if ( ! $setting_id )
|
2254 |
return $input;
|
2255 |
|
2256 |
-
// assign main instance
|
2257 |
-
$rl = Responsive_Lightbox();
|
2258 |
-
|
2259 |
// save settings
|
2260 |
if ( isset( $_POST['save' . '_' . $this->settings[$setting_id]['prefix'] . '_' . $setting_id] ) ) {
|
2261 |
if ( $this->settings[$setting_id]['fields'] ) {
|
@@ -2329,14 +2351,17 @@ class Responsive_Lightbox_Settings {
|
|
2329 |
* @return array
|
2330 |
*/
|
2331 |
public function validate_capabilities( $input ) {
|
|
|
|
|
|
|
2332 |
// check capability
|
2333 |
-
if ( ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', 'edit_lightbox_settings' ) ) )
|
2334 |
return $input;
|
2335 |
|
2336 |
-
|
|
|
2337 |
|
2338 |
-
|
2339 |
-
$rl = Responsive_Lightbox();
|
2340 |
|
2341 |
// save capabilities?
|
2342 |
if ( isset( $_POST['save_rl_capabilities'] ) ) {
|
@@ -2347,7 +2372,7 @@ class Responsive_Lightbox_Settings {
|
|
2347 |
// manage new capabilities only for non-admins
|
2348 |
if ( $role_name !== 'administrator' ) {
|
2349 |
foreach ( $rl->capabilities as $capability => $label ) {
|
2350 |
-
if ( isset( $input[$role_name][$capability] ) && $input[$role_name][$capability] === 'true' )
|
2351 |
$role->add_cap( $capability );
|
2352 |
else
|
2353 |
$role->remove_cap( $capability );
|
@@ -2361,7 +2386,7 @@ class Responsive_Lightbox_Settings {
|
|
2361 |
$role = $wp_roles->get_role( $role_name );
|
2362 |
|
2363 |
foreach ( $rl->capabilities as $capability => $label ) {
|
2364 |
-
if ( in_array( $capability, $rl->defaults['capabilities'][$role_name], true ) )
|
2365 |
$role->add_cap( $capability );
|
2366 |
else
|
2367 |
$role->remove_cap( $capability );
|
@@ -2370,6 +2395,8 @@ class Responsive_Lightbox_Settings {
|
|
2370 |
|
2371 |
add_settings_error( 'reset_rl_capabilities', 'settings_restored', __( 'Settings restored to defaults.', 'responsive-lightbox' ), 'updated' );
|
2372 |
}
|
|
|
|
|
2373 |
}
|
2374 |
|
2375 |
/**
|
@@ -2384,7 +2411,6 @@ class Responsive_Lightbox_Settings {
|
|
2384 |
$editable_roles = get_editable_roles();
|
2385 |
|
2386 |
$html = '
|
2387 |
-
<p class="description">' . esc_html__( 'Enable access to plugin features for selected user roles.', 'responsive-lightbox' ) . '</p>
|
2388 |
<br class="clear" />
|
2389 |
<table class="widefat fixed posts">
|
2390 |
<thead>
|
@@ -2413,7 +2439,7 @@ class Responsive_Lightbox_Settings {
|
|
2413 |
|
2414 |
$html .= '
|
2415 |
<td>
|
2416 |
-
<input type="checkbox" name="responsive_lightbox_capabilities[' . esc_attr( $role->name ) . '][' . esc_attr( $cap_role ) . ']" value="true" ' . checked( true, $role->has_cap( $cap_role ), false ) . ' ' . disabled( $role_name, 'administrator', false ) . ' />
|
2417 |
</td>';
|
2418 |
}
|
2419 |
|
@@ -2493,7 +2519,7 @@ class Responsive_Lightbox_Settings {
|
|
2493 |
*/
|
2494 |
public function validate_licenses( $input ) {
|
2495 |
// check cap
|
2496 |
-
if ( ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', 'edit_lightbox_settings' ) ) )
|
2497 |
return $input;
|
2498 |
|
2499 |
// check page
|
@@ -2501,9 +2527,10 @@ class Responsive_Lightbox_Settings {
|
|
2501 |
return $input;
|
2502 |
|
2503 |
// check data
|
2504 |
-
if ( ! isset( $_POST['responsive_lightbox_licenses'] ) || ! is_array( $_POST['responsive_lightbox_licenses']
|
2505 |
return $input;
|
2506 |
|
|
|
2507 |
$extensions = apply_filters( 'rl_settings_licenses', array() );
|
2508 |
|
2509 |
if ( empty( $extensions ) )
|
346 |
'title' => __( 'Delete data', 'responsive-lightbox' ),
|
347 |
'section' => 'responsive_lightbox_settings',
|
348 |
'type' => 'boolean',
|
349 |
+
'label' => __( 'Delete all plugin settings on deactivation.', 'responsive-lightbox' ),
|
350 |
+
'description' => __( 'Enable this to delete all plugin settings and also delete all plugin capabilities from all users on deactivation.', 'responsive-lightbox' )
|
351 |
)
|
352 |
)
|
353 |
),
|
494 |
)
|
495 |
),
|
496 |
'prefix' => 'rl',
|
497 |
+
'fields' => array(
|
498 |
'active' => array(
|
499 |
'title' => __( 'Remote Library', 'responsive-lightbox' ),
|
500 |
'section' => 'responsive_lightbox_remote_library',
|
527 |
),
|
528 |
),
|
529 |
'prefix' => 'rl',
|
530 |
+
'fields' => array()
|
|
|
531 |
),
|
532 |
'capabilities' => array(
|
533 |
'option_group' => 'responsive_lightbox_capabilities',
|
534 |
'option_name' => 'responsive_lightbox_capabilities',
|
535 |
+
'callback' => array( $this, 'validate_capabilities' ),
|
536 |
'sections' => array(
|
537 |
+
'responsive_lightbox_capabilities_fields' => array(
|
538 |
'title' => __( 'Capabilities Settings', 'responsive-lightbox' ),
|
539 |
+
'page' => 'responsive_lightbox_capabilities'
|
540 |
+
),
|
541 |
+
'responsive_lightbox_capabilities' => array(
|
542 |
'callback' => array( $this, 'capabilities_table' )
|
543 |
)
|
544 |
),
|
545 |
'prefix' => 'rl',
|
546 |
+
'fields' => array(
|
547 |
+
'active' => array(
|
548 |
+
'title' => __( 'Capabilities', 'responsive-lightbox' ),
|
549 |
+
'section' => 'responsive_lightbox_capabilities_fields',
|
550 |
+
'type' => 'boolean',
|
551 |
+
'label' => __( 'Enable advanced capability management.', 'responsive-lightbox' ),
|
552 |
+
'description' => __( 'Check this to enable access to plugin features for selected user roles.', 'responsive-lightbox' )
|
553 |
+
)
|
554 |
+
)
|
555 |
),
|
556 |
'basicgrid_gallery' => array(
|
557 |
'option_group' => 'responsive_lightbox_basicgrid_gallery',
|
1835 |
*/
|
1836 |
public function admin_menu_options() {
|
1837 |
// get master capability
|
1838 |
+
$capability = apply_filters( 'rl_lightbox_settings_capability', Responsive_Lightbox()->options['capabilities']['active'] ? 'edit_lightbox_settings' : 'manage_options' );
|
1839 |
|
1840 |
add_menu_page( __( 'General', 'responsive-lightbox' ), __( 'Lightbox', 'responsive-lightbox' ), $capability, 'responsive-lightbox-settings', '', 'dashicons-format-image', '57.1' );
|
1841 |
|
1857 |
$tab_key = isset( $tabs[1] ) ? $tabs[1] : 'settings';
|
1858 |
$section_key = isset( $_GET['section'] ) ? esc_attr( $_GET['section'] ) : ( ! empty( $this->tabs[$tab_key]['default_section'] ) ? $this->tabs[$tab_key]['default_section'] : '' );
|
1859 |
|
1860 |
+
// assign main instance
|
1861 |
+
$rl = Responsive_Lightbox();
|
1862 |
+
|
1863 |
+
// no valid lightbox script?
|
1864 |
+
if ( $tab_key === 'configuration' && ! array_key_exists( $section_key, $rl->options['configuration'] ) )
|
1865 |
+
return;
|
1866 |
+
|
1867 |
+
// no valid gallery?
|
1868 |
+
if ( $tab_key === 'gallery' && ! array_key_exists( $section_key, $rl->settings->tabs['gallery']['sections'] ) )
|
1869 |
+
return;
|
1870 |
+
|
1871 |
echo '
|
1872 |
<div class="wrap">';
|
1873 |
|
1888 |
<div class="responsive-lightbox-settings">
|
1889 |
|
1890 |
<div class="df-credits">
|
1891 |
+
<h3 class="hndle">' . __( 'Responsive Lightbox & Gallery', 'responsive-lightbox' ) . ' ' . $rl->defaults['version'] . '</h3>
|
1892 |
<div class="inside">
|
1893 |
<h4 class="inner">' . __( 'Need support?', 'responsive-lightbox' ) . '</h4>
|
1894 |
<p class="inner">' . sprintf( __( 'If you are having problems with this plugin, please browse it\'s <a href="%s" target="_blank">Documentation</a> or talk about them in the <a href="%s" target="_blank">Support forum</a>', 'responsive-lightbox' ), 'https://www.dfactory.eu/docs/responsive-lightbox/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=docs', 'https://www.dfactory.eu/support/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=support' ) . '</p>
|
1958 |
* @return string
|
1959 |
*/
|
1960 |
public function manage_options_capability() {
|
1961 |
+
return Responsive_Lightbox()->options['capabilities']['active'] ? 'edit_lightbox_settings' : 'manage_options';
|
1962 |
}
|
1963 |
|
1964 |
/**
|
2253 |
* @return array
|
2254 |
*/
|
2255 |
public function validate_settings( $input ) {
|
2256 |
+
// assign main instance
|
2257 |
+
$rl = Responsive_Lightbox();
|
2258 |
+
|
2259 |
// check capability
|
2260 |
+
if ( ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', $rl->options['capabilities']['active'] ? 'edit_lightbox_settings' : 'manage_options' ) ) )
|
2261 |
return $input;
|
2262 |
|
2263 |
// check page
|
2278 |
if ( ! $setting_id )
|
2279 |
return $input;
|
2280 |
|
|
|
|
|
|
|
2281 |
// save settings
|
2282 |
if ( isset( $_POST['save' . '_' . $this->settings[$setting_id]['prefix'] . '_' . $setting_id] ) ) {
|
2283 |
if ( $this->settings[$setting_id]['fields'] ) {
|
2351 |
* @return array
|
2352 |
*/
|
2353 |
public function validate_capabilities( $input ) {
|
2354 |
+
// assign main instance
|
2355 |
+
$rl = Responsive_Lightbox();
|
2356 |
+
|
2357 |
// check capability
|
2358 |
+
if ( ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', $rl->options['capabilities']['active'] ? 'edit_lightbox_settings' : 'manage_options' ) ) )
|
2359 |
return $input;
|
2360 |
|
2361 |
+
// validate normal fields
|
2362 |
+
$input = $this->validate_settings( $input );
|
2363 |
|
2364 |
+
global $wp_roles;
|
|
|
2365 |
|
2366 |
// save capabilities?
|
2367 |
if ( isset( $_POST['save_rl_capabilities'] ) ) {
|
2372 |
// manage new capabilities only for non-admins
|
2373 |
if ( $role_name !== 'administrator' ) {
|
2374 |
foreach ( $rl->capabilities as $capability => $label ) {
|
2375 |
+
if ( isset( $input['roles'][$role_name][$capability] ) && $input['roles'][$role_name][$capability] === 'true' )
|
2376 |
$role->add_cap( $capability );
|
2377 |
else
|
2378 |
$role->remove_cap( $capability );
|
2386 |
$role = $wp_roles->get_role( $role_name );
|
2387 |
|
2388 |
foreach ( $rl->capabilities as $capability => $label ) {
|
2389 |
+
if ( array_key_exists( $role_name, $rl->defaults['capabilities']['roles'] ) && in_array( $capability, $rl->defaults['capabilities']['roles'][$role_name], true ) )
|
2390 |
$role->add_cap( $capability );
|
2391 |
else
|
2392 |
$role->remove_cap( $capability );
|
2395 |
|
2396 |
add_settings_error( 'reset_rl_capabilities', 'settings_restored', __( 'Settings restored to defaults.', 'responsive-lightbox' ), 'updated' );
|
2397 |
}
|
2398 |
+
|
2399 |
+
return $input;
|
2400 |
}
|
2401 |
|
2402 |
/**
|
2411 |
$editable_roles = get_editable_roles();
|
2412 |
|
2413 |
$html = '
|
|
|
2414 |
<br class="clear" />
|
2415 |
<table class="widefat fixed posts">
|
2416 |
<thead>
|
2439 |
|
2440 |
$html .= '
|
2441 |
<td>
|
2442 |
+
<input type="checkbox" name="responsive_lightbox_capabilities[roles][' . esc_attr( $role->name ) . '][' . esc_attr( $cap_role ) . ']" value="true" ' . checked( true, ( $role->has_cap( $cap_role ) || $role_name === 'administrator' ), false ) . ' ' . disabled( $role_name, 'administrator', false ) . ' />
|
2443 |
</td>';
|
2444 |
}
|
2445 |
|
2519 |
*/
|
2520 |
public function validate_licenses( $input ) {
|
2521 |
// check cap
|
2522 |
+
if ( ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', Responsive_Lightbox()->options['capabilities']['active'] ? 'edit_lightbox_settings' : 'manage_options' ) ) )
|
2523 |
return $input;
|
2524 |
|
2525 |
// check page
|
2527 |
return $input;
|
2528 |
|
2529 |
// check data
|
2530 |
+
if ( ! isset( $_POST['responsive_lightbox_licenses'] ) || ! is_array( $_POST['responsive_lightbox_licenses'] ) )
|
2531 |
return $input;
|
2532 |
|
2533 |
+
// get extension licenses
|
2534 |
$extensions = apply_filters( 'rl_settings_licenses', array() );
|
2535 |
|
2536 |
if ( empty( $extensions ) )
|
includes/class-tour.php
CHANGED
@@ -203,7 +203,7 @@ class Responsive_Lightbox_Tour {
|
|
203 |
} elseif ( $_GET['page'] === 'responsive-lightbox-capabilities' ) {
|
204 |
$pointer = array(
|
205 |
'content' => '<h3>' . __( 'Capabilities Settings', 'responsive-lightbox' ) . '</h3>' .
|
206 |
-
'<p>' . __(
|
207 |
'button2' => __( 'Next', 'responsive-lightbox' ),
|
208 |
'id' => '#wpbody-content .wrap .nav-tab-active',
|
209 |
'function' => 'window.location="' . admin_url( 'admin.php?page=responsive-lightbox-remote_library' ) . '";'
|
203 |
} elseif ( $_GET['page'] === 'responsive-lightbox-capabilities' ) {
|
204 |
$pointer = array(
|
205 |
'content' => '<h3>' . __( 'Capabilities Settings', 'responsive-lightbox' ) . '</h3>' .
|
206 |
+
'<p>' . __( 'Capabilities give you the ability to control what users can and cannot do within the plugin. By default only the Administrator role allows a user to perform all possible capabilities. But you can fine tune these settings to match your specific requirements.', 'responsive-lightbox' ) . '</p>',
|
207 |
'button2' => __( 'Next', 'responsive-lightbox' ),
|
208 |
'id' => '#wpbody-content .wrap .nav-tab-active',
|
209 |
'function' => 'window.location="' . admin_url( 'admin.php?page=responsive-lightbox-remote_library' ) . '";'
|
js/admin-galleries.js
CHANGED
@@ -182,7 +182,7 @@
|
|
182 |
li.remove();
|
183 |
|
184 |
// update attachment ids
|
185 |
-
gallery_ids.val(
|
186 |
|
187 |
return false;
|
188 |
} );
|
@@ -344,7 +344,7 @@
|
|
344 |
}
|
345 |
}
|
346 |
|
347 |
-
gallery_ids.val(
|
348 |
} );
|
349 |
|
350 |
// open media frame
|
@@ -691,7 +691,7 @@
|
|
691 |
attachment_ids.push( parseInt( $( this ).attr( 'data-attachment_id' ) ) );
|
692 |
} );
|
693 |
|
694 |
-
ids.val(
|
695 |
}
|
696 |
} );
|
697 |
}
|
182 |
li.remove();
|
183 |
|
184 |
// update attachment ids
|
185 |
+
gallery_ids.val( _.uniq( attachment_ids ).join( ',' ) );
|
186 |
|
187 |
return false;
|
188 |
} );
|
344 |
}
|
345 |
}
|
346 |
|
347 |
+
gallery_ids.val( _.uniq( copy ).join( ',' ) );
|
348 |
} );
|
349 |
|
350 |
// open media frame
|
691 |
attachment_ids.push( parseInt( $( this ).attr( 'data-attachment_id' ) ) );
|
692 |
} );
|
693 |
|
694 |
+
ids.val( _.uniq( attachment_ids ).join( ',' ) );
|
695 |
}
|
696 |
} );
|
697 |
}
|
js/admin-gallery.js
CHANGED
@@ -192,7 +192,7 @@
|
|
192 |
var shortcode = '[rl_gallery id="' + this.lastGalleryID + '"]';
|
193 |
editor = tinyMCE.get( 'content' );
|
194 |
|
195 |
-
if ( editor )
|
196 |
editor.execCommand( 'mceInsertContent', false, shortcode );
|
197 |
else
|
198 |
wp.media.editor.insert( shortcode );
|
192 |
var shortcode = '[rl_gallery id="' + this.lastGalleryID + '"]';
|
193 |
editor = tinyMCE.get( 'content' );
|
194 |
|
195 |
+
if ( editor && ! editor.isHidden() )
|
196 |
editor.execCommand( 'mceInsertContent', false, shortcode );
|
197 |
else
|
198 |
wp.media.editor.insert( shortcode );
|
js/admin-widgets.js
CHANGED
@@ -184,7 +184,7 @@
|
|
184 |
}
|
185 |
}
|
186 |
|
187 |
-
rl_gallery_ids[gallery_id].val(
|
188 |
} );
|
189 |
|
190 |
// finally, open the modal.
|
184 |
}
|
185 |
}
|
186 |
|
187 |
+
rl_gallery_ids[gallery_id].val( _.uniq( copy ).join( ',' ) );
|
188 |
} );
|
189 |
|
190 |
// finally, open the modal.
|
js/front.js
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
|
3 |
// parse query string
|
4 |
var parse_str = function( name, str ) {
|
5 |
-
var regex = new RegExp( '[?&]' + name.replace( /[\[\]]/g, '\\$&' ) + '(=([^&#]*)|&|#|$)' )
|
6 |
-
|
7 |
|
8 |
return ( ! results || ! results[2] ? '' : decodeURIComponent( results[2].replace( /\+/g, ' ' ) ) );
|
9 |
}
|
10 |
|
11 |
// observe DOM changes
|
12 |
var observe_script_dom = ( function() {
|
13 |
-
var MutationObserver = window.MutationObserver || window.WebKitMutationObserver
|
14 |
-
|
15 |
|
16 |
return function( obj, only_added, callback ) {
|
17 |
if ( MutationObserver ) {
|
@@ -31,9 +31,8 @@
|
|
31 |
} else if ( eventListenerSupported ) {
|
32 |
obj.addEventListener( 'DOMNodeInserted', callback, false );
|
33 |
|
34 |
-
if ( !only_added )
|
35 |
obj.addEventListener( 'DOMNodeRemoved', callback, false );
|
36 |
-
}
|
37 |
}
|
38 |
}
|
39 |
} )();
|
@@ -56,22 +55,21 @@
|
|
56 |
var container = $( this );
|
57 |
|
58 |
// is it ifinite scroll gallery?
|
59 |
-
if ( container.hasClass( 'rl-pagination-infinite' ) )
|
60 |
containers.push( container );
|
61 |
-
|
62 |
-
|
63 |
container.removeClass( 'rl-loading' );
|
64 |
-
}
|
65 |
} );
|
66 |
|
67 |
// any infinite galleries?
|
68 |
if ( containers.length > 0 ) {
|
69 |
for ( var i = 0; i < containers.length; i++ ) {
|
70 |
-
var container = containers[i]
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
|
76 |
// initialize infinite scroll
|
77 |
gallery.infiniteScroll( {
|
@@ -137,8 +135,8 @@
|
|
137 |
|
138 |
// pagination
|
139 |
$( document ).on( 'click', '.rl-pagination a.page-numbers', function( e ) {
|
140 |
-
var link = $( this )
|
141 |
-
|
142 |
|
143 |
// ajax type pagination?
|
144 |
if ( container.hasClass( 'rl-pagination-ajax' ) ) {
|
@@ -178,17 +176,15 @@
|
|
178 |
|
179 |
// this is similar to the WP function add_action();
|
180 |
$( document ).on( 'doResponsiveLightbox', function( event ) {
|
181 |
-
if ( typeof event.masonry !== 'undefined' && event.masonry === true )
|
182 |
return false;
|
183 |
-
}
|
184 |
|
185 |
-
var script = event.script
|
186 |
-
|
187 |
-
|
188 |
|
189 |
-
if ( typeof script === 'undefined' || typeof selector === 'undefined' )
|
190 |
return false;
|
191 |
-
}
|
192 |
|
193 |
rl_view_image = function( script, url ) {
|
194 |
$.event.trigger( {
|
@@ -210,9 +206,6 @@
|
|
210 |
setTimeout( function() {
|
211 |
var flex = $( '.flex-viewport' );
|
212 |
|
213 |
-
// if ( flex.length )
|
214 |
-
// flex.css( 'cursor', 'pointer' );
|
215 |
-
|
216 |
if ( args.woocommerce_gallery === '1' ) {
|
217 |
var gallery = $( '.woocommerce-product-gallery' );
|
218 |
|
@@ -235,10 +228,10 @@
|
|
235 |
// init lightbox
|
236 |
switch ( script ) {
|
237 |
case 'swipebox':
|
238 |
-
var slide = $( '#swipebox-overlay' ).find( '.slide.current' )
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
|
243 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).swipebox( {
|
244 |
useCSS: ( args.animation === '1' ? true : false ),
|
@@ -335,15 +328,15 @@
|
|
335 |
|
336 |
// additional event to prevent rl_hide_image to execure while opening modal
|
337 |
$( window ).on( 'resize', function() {
|
338 |
-
if ( !close_executed ) {
|
339 |
allow_hide = true;
|
340 |
}
|
341 |
} );
|
342 |
break;
|
343 |
|
344 |
case 'prettyphoto':
|
345 |
-
var view_disabled = false
|
346 |
-
|
347 |
|
348 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function() {
|
349 |
var el = $( this );
|
@@ -467,16 +460,14 @@
|
|
467 |
if ( typeof attr !== 'undefined' && attr !== false ) {
|
468 |
var match = attr.match( new RegExp( selector + '\\-(gallery\\-(?:[\\da-z]{1,4}))', 'ig' ) );
|
469 |
|
470 |
-
if ( match !== null )
|
471 |
$( this ).attr( 'data-lightbox-gallery', match[0] );
|
472 |
-
}
|
473 |
}
|
474 |
-
|
475 |
} );
|
476 |
|
477 |
-
var observer_initialized = false
|
478 |
-
|
479 |
-
|
480 |
|
481 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).nivoLightbox( {
|
482 |
effect: args.effect,
|
@@ -534,8 +525,8 @@
|
|
534 |
break;
|
535 |
|
536 |
case 'imagelightbox':
|
537 |
-
var selectors = [
|
538 |
-
|
539 |
|
540 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
541 |
var attr = $( item ).attr( 'data-rel' );
|
@@ -554,7 +545,7 @@
|
|
554 |
|
555 |
if ( selectors.length > 0 ) {
|
556 |
// make unique
|
557 |
-
selectors =
|
558 |
|
559 |
$( selectors ).each( function( i, item ) {
|
560 |
if ( typeof event.pagination_type !== 'undefined' ) {
|
@@ -586,8 +577,8 @@
|
|
586 |
break;
|
587 |
|
588 |
case 'tosrus':
|
589 |
-
var selectors = [
|
590 |
-
|
591 |
|
592 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
593 |
var attr = $( item ).attr( 'data-rel' );
|
@@ -606,7 +597,7 @@
|
|
606 |
|
607 |
if ( selectors.length > 0 ) {
|
608 |
// make unique
|
609 |
-
selectors =
|
610 |
|
611 |
$( selectors ).each( function( i, item ) {
|
612 |
if ( typeof event.pagination_type !== 'undefined' ) {
|
@@ -663,8 +654,8 @@
|
|
663 |
break;
|
664 |
|
665 |
case 'featherlight':
|
666 |
-
var selectors = [
|
667 |
-
|
668 |
|
669 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
670 |
var attr = $( item ).attr( 'data-rel' );
|
@@ -683,7 +674,7 @@
|
|
683 |
|
684 |
if ( selectors.length > 0 ) {
|
685 |
// make unique
|
686 |
-
selectors =
|
687 |
|
688 |
// set defaults
|
689 |
$.extend( $.featherlight.defaults, {
|
@@ -731,8 +722,8 @@
|
|
731 |
break;
|
732 |
|
733 |
case 'magnific':
|
734 |
-
var selectors = [
|
735 |
-
|
736 |
|
737 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
738 |
var attr = $( item ).attr( 'data-rel' );
|
@@ -751,23 +742,21 @@
|
|
751 |
|
752 |
if ( selectors.length > 0 ) {
|
753 |
// make unique
|
754 |
-
selectors =
|
755 |
|
756 |
$( selectors ).each( function( i, item ) {
|
757 |
-
var subselector = $( 'a[data-rel="' + item + '"], a[rel="' + item + '"]' )
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
|
762 |
// check content type first
|
763 |
-
if ( typeof content_type !== 'undefined' )
|
764 |
media_type = content_type;
|
765 |
-
}
|
766 |
|
767 |
// then media type if needed
|
768 |
-
if ( typeof media_type === 'undefined' )
|
769 |
media_type = 'image';
|
770 |
-
}
|
771 |
|
772 |
subselector.magnificPopup( {
|
773 |
type: media_type === 'gallery' ? 'image' : ( media_type === 'video' ? 'iframe' : media_type ),
|
2 |
|
3 |
// parse query string
|
4 |
var parse_str = function( name, str ) {
|
5 |
+
var regex = new RegExp( '[?&]' + name.replace( /[\[\]]/g, '\\$&' ) + '(=([^&#]*)|&|#|$)' );
|
6 |
+
var results = regex.exec( '&' + str );
|
7 |
|
8 |
return ( ! results || ! results[2] ? '' : decodeURIComponent( results[2].replace( /\+/g, ' ' ) ) );
|
9 |
}
|
10 |
|
11 |
// observe DOM changes
|
12 |
var observe_script_dom = ( function() {
|
13 |
+
var MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
|
14 |
+
var eventListenerSupported = window.addEventListener;
|
15 |
|
16 |
return function( obj, only_added, callback ) {
|
17 |
if ( MutationObserver ) {
|
31 |
} else if ( eventListenerSupported ) {
|
32 |
obj.addEventListener( 'DOMNodeInserted', callback, false );
|
33 |
|
34 |
+
if ( !only_added )
|
35 |
obj.addEventListener( 'DOMNodeRemoved', callback, false );
|
|
|
36 |
}
|
37 |
}
|
38 |
} )();
|
55 |
var container = $( this );
|
56 |
|
57 |
// is it ifinite scroll gallery?
|
58 |
+
if ( container.hasClass( 'rl-pagination-infinite' ) )
|
59 |
containers.push( container );
|
60 |
+
// remove loading class
|
61 |
+
else
|
62 |
container.removeClass( 'rl-loading' );
|
|
|
63 |
} );
|
64 |
|
65 |
// any infinite galleries?
|
66 |
if ( containers.length > 0 ) {
|
67 |
for ( var i = 0; i < containers.length; i++ ) {
|
68 |
+
var container = containers[i];
|
69 |
+
var gallery = container.find( '.rl-gallery' );
|
70 |
+
var gallery_id = parseInt( container.data( 'gallery_id' ) );
|
71 |
+
var gallery_scroll_type = container.find( '.rl-pagination-bottom' ).data( 'button' );
|
72 |
+
var gallery_button = typeof gallery_scroll_type !== 'undefined' && gallery_scroll_type === 'manually';
|
73 |
|
74 |
// initialize infinite scroll
|
75 |
gallery.infiniteScroll( {
|
135 |
|
136 |
// pagination
|
137 |
$( document ).on( 'click', '.rl-pagination a.page-numbers', function( e ) {
|
138 |
+
var link = $( this );
|
139 |
+
var container = link.closest( '.rl-gallery-container' );
|
140 |
|
141 |
// ajax type pagination?
|
142 |
if ( container.hasClass( 'rl-pagination-ajax' ) ) {
|
176 |
|
177 |
// this is similar to the WP function add_action();
|
178 |
$( document ).on( 'doResponsiveLightbox', function( event ) {
|
179 |
+
if ( typeof event.masonry !== 'undefined' && event.masonry === true )
|
180 |
return false;
|
|
|
181 |
|
182 |
+
var script = event.script;
|
183 |
+
var selector = event.selector;
|
184 |
+
var args = event.args;
|
185 |
|
186 |
+
if ( typeof script === 'undefined' || typeof selector === 'undefined' )
|
187 |
return false;
|
|
|
188 |
|
189 |
rl_view_image = function( script, url ) {
|
190 |
$.event.trigger( {
|
206 |
setTimeout( function() {
|
207 |
var flex = $( '.flex-viewport' );
|
208 |
|
|
|
|
|
|
|
209 |
if ( args.woocommerce_gallery === '1' ) {
|
210 |
var gallery = $( '.woocommerce-product-gallery' );
|
211 |
|
228 |
// init lightbox
|
229 |
switch ( script ) {
|
230 |
case 'swipebox':
|
231 |
+
var slide = $( '#swipebox-overlay' ).find( '.slide.current' );
|
232 |
+
var image_source = '';
|
233 |
+
var allow_hide = false;
|
234 |
+
var close_executed = false;
|
235 |
|
236 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).swipebox( {
|
237 |
useCSS: ( args.animation === '1' ? true : false ),
|
328 |
|
329 |
// additional event to prevent rl_hide_image to execure while opening modal
|
330 |
$( window ).on( 'resize', function() {
|
331 |
+
if ( ! close_executed ) {
|
332 |
allow_hide = true;
|
333 |
}
|
334 |
} );
|
335 |
break;
|
336 |
|
337 |
case 'prettyphoto':
|
338 |
+
var view_disabled = false;
|
339 |
+
var last_image = '';
|
340 |
|
341 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function() {
|
342 |
var el = $( this );
|
460 |
if ( typeof attr !== 'undefined' && attr !== false ) {
|
461 |
var match = attr.match( new RegExp( selector + '\\-(gallery\\-(?:[\\da-z]{1,4}))', 'ig' ) );
|
462 |
|
463 |
+
if ( match !== null )
|
464 |
$( this ).attr( 'data-lightbox-gallery', match[0] );
|
|
|
465 |
}
|
|
|
466 |
} );
|
467 |
|
468 |
+
var observer_initialized = false;
|
469 |
+
var change_allowed = true;
|
470 |
+
var last_image = '';
|
471 |
|
472 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).nivoLightbox( {
|
473 |
effect: args.effect,
|
525 |
break;
|
526 |
|
527 |
case 'imagelightbox':
|
528 |
+
var selectors = [];
|
529 |
+
var last_image = '';
|
530 |
|
531 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
532 |
var attr = $( item ).attr( 'data-rel' );
|
545 |
|
546 |
if ( selectors.length > 0 ) {
|
547 |
// make unique
|
548 |
+
selectors = _.uniq( selectors );
|
549 |
|
550 |
$( selectors ).each( function( i, item ) {
|
551 |
if ( typeof event.pagination_type !== 'undefined' ) {
|
577 |
break;
|
578 |
|
579 |
case 'tosrus':
|
580 |
+
var selectors = [];
|
581 |
+
var last_image = '';
|
582 |
|
583 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
584 |
var attr = $( item ).attr( 'data-rel' );
|
597 |
|
598 |
if ( selectors.length > 0 ) {
|
599 |
// make unique
|
600 |
+
selectors = _.uniq( selectors );
|
601 |
|
602 |
$( selectors ).each( function( i, item ) {
|
603 |
if ( typeof event.pagination_type !== 'undefined' ) {
|
654 |
break;
|
655 |
|
656 |
case 'featherlight':
|
657 |
+
var selectors = [];
|
658 |
+
var last_image = '';
|
659 |
|
660 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
661 |
var attr = $( item ).attr( 'data-rel' );
|
674 |
|
675 |
if ( selectors.length > 0 ) {
|
676 |
// make unique
|
677 |
+
selectors = _.uniq( selectors );
|
678 |
|
679 |
// set defaults
|
680 |
$.extend( $.featherlight.defaults, {
|
722 |
break;
|
723 |
|
724 |
case 'magnific':
|
725 |
+
var selectors = [];
|
726 |
+
var last_image = '';
|
727 |
|
728 |
$( 'a[rel*="' + selector + '"], a[data-rel*="' + selector + '"]' ).each( function( i, item ) {
|
729 |
var attr = $( item ).attr( 'data-rel' );
|
742 |
|
743 |
if ( selectors.length > 0 ) {
|
744 |
// make unique
|
745 |
+
selectors = _.uniq( selectors );
|
746 |
|
747 |
$( selectors ).each( function( i, item ) {
|
748 |
+
var subselector = $( 'a[data-rel="' + item + '"], a[rel="' + item + '"]' );
|
749 |
+
var element = $( subselector[0] );
|
750 |
+
var media_type = element.data( 'magnific_type' );
|
751 |
+
var content_type = element.data( 'rl_content' );
|
752 |
|
753 |
// check content type first
|
754 |
+
if ( typeof content_type !== 'undefined' )
|
755 |
media_type = content_type;
|
|
|
756 |
|
757 |
// then media type if needed
|
758 |
+
if ( typeof media_type === 'undefined' )
|
759 |
media_type = 'image';
|
|
|
760 |
|
761 |
subselector.magnificPopup( {
|
762 |
type: media_type === 'gallery' ? 'image' : ( media_type === 'video' ? 'iframe' : media_type ),
|
js/gutenberg.min.js
CHANGED
@@ -1,9 +1,4 @@
|
|
1 |
-
!function(l){var r={};function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=l,a.c=r,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(l,r,function(e){return t[e]}.bind(null,r));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=0)}([function(e,t,l){var o=l(1),r=wp.
|
2 |
-
/*!
|
3 |
-
Copyright (c) 2017 Jed Watson.
|
4 |
-
Licensed under the MIT License (MIT), see
|
5 |
-
http://jedwatson.github.io/classnames
|
6 |
-
*/
|
7 |
/*!
|
8 |
Copyright (c) 2017 Jed Watson.
|
9 |
Licensed under the MIT License (MIT), see
|
1 |
+
!function(l){var r={};function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=l,a.c=r,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(l,r,function(e){return t[e]}.bind(null,r));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=0)}([function(e,t,l){var o=l(1),r=wp.blockEditor,i=r.MediaUpload,s=r.BlockControls,a=wp.components,m=a.Button,c=a.Dashicon,p=a.ToolbarButton,u=a.ToolbarGroup,n=wp.blocks.registerBlockType,d=wp.i18n.__;n("responsive-lightbox/remote-library-image",{title:d("Remote Library Image"),description:d("Remote Library images"),icon:"format-image",category:"responsive-lightbox",keywords:[d("image"),d("photo")],attributes:{imageURL:{type:"string",default:""},imageID:{type:"string",default:""}},edit:function(e){var t=e.setAttributes,l=e.attributes,r=""!==l.imageID,a=o("components-placeholder",e.className,r?"rl-image-selected":"");function n(e){t({imageURL:e.sizes.full.url,imageID:e.id})}return wp.element.createElement("div",null,wp.element.createElement(s,null,r&&wp.element.createElement(u,null,wp.element.createElement(i,{title:d("Remote Library Images"),addToGallery:!0,gallery:!0,multiple:!1,onSelect:n,allowedTypes:["image"],value:l.imageID,render:function(e){var t=e.open;return wp.element.createElement(p,{className:["components-toolbar__control","rl-remote-library-media-button"],label:d("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement("div",{className:a},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(c,{icon:"format-image"}),d("Responsive Lightbox | Remote Library Image")),wp.element.createElement("div",{className:"components-placeholder__instructions"},d("Select a file from your remote libraries.")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement(i,{title:d("Remote Library Images"),addToGallery:!0,gallery:!0,multiple:!1,onSelect:n,allowedTypes:["image"],value:l.imageID,render:function(e){var t=e.open;return wp.element.createElement(m,{className:["editor-media-placeholder__button","editor-media-placeholder__media-library-button","rl-remote-library-media-button"],onClick:function(e){e.stopPropagation(),t()}},d("Select image"))}})),wp.element.createElement("img",{className:"rl-block-image-preview",src:l.imageURL})))},save:function(e){var t=e.attributes;return wp.element.createElement("figure",{className:"rl-image wp-block-image"},wp.element.createElement("img",{src:t.imageURL}))}}),n("responsive-lightbox/gallery",{title:d("Gallery"),description:d("Galleries"),icon:"format-gallery",category:"responsive-lightbox",keywords:[d("images"),d("photos"),d("gallery")],attributes:{imageURL:{type:"string",default:""},galleryID:{type:"integer",default:0}},edit:function(e){var t=e.setAttributes,l=e.attributes,r=0!==l.galleryID,a=o("components-placeholder",e.className,r?"rl-gallery-selected":"");function n(){t({imageURL:ResponsiveLightboxGallery.lastGalleryImage,galleryID:parseInt(ResponsiveLightboxGallery.lastGalleryID)}),this.removeEventListener("click",n)}return wp.element.createElement("div",null,wp.element.createElement(s,null,r&&wp.element.createElement(u,null,wp.element.createElement(p,{className:["components-toolbar__control","rl-gallery-media-button"],label:d("Edit gallery"),icon:"edit",onClick:function(e){e.stopPropagation(),ResponsiveLightboxGallery.resetFilters=!0,ResponsiveLightboxGallery.open(l.galleryID),ResponsiveLightboxGallery.getModalButton().addEventListener("click",n)}}))),wp.element.createElement("div",{className:a},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(c,{icon:"format-image"}),d("Responsive Lightbox | Gallery")),wp.element.createElement("div",{className:"components-placeholder__instructions"},d("Select a gallery.")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement(m,{className:["editor-media-placeholder__button","editor-media-placeholder__media-library-button","rl-gallery-media-button"],onClick:function(e){e.stopPropagation(),ResponsiveLightboxGallery.resetFilters=!0,ResponsiveLightboxGallery.open(),ResponsiveLightboxGallery.getModalButton().addEventListener("click",n)}},d("Select gallery"))),wp.element.createElement("img",{className:"rl-block-image-preview",src:l.imageURL})))},save:function(e){var t=e.attributes;return wp.element.createElement("div",null,'[rl_gallery id="',t.galleryID,'"]')}})},function(e,t,l){var r;
|
|
|
|
|
|
|
|
|
|
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
languages/responsive-lightbox.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Responsive Lightbox\n"
|
5 |
-
"POT-Creation-Date:
|
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"
|
@@ -16,68 +16,68 @@ msgstr ""
|
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
-
#: ../includes/class-folders.php:
|
20 |
-
#: ../includes/class-folders.php:
|
21 |
-
#: ../includes/class-folders.php:
|
22 |
-
#: ../includes/class-folders.php:
|
23 |
-
#: ../includes/class-galleries.php:
|
24 |
msgid "Root Folder"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: ../includes/class-folders.php:
|
28 |
msgid "Upload files to"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: ../includes/class-folders.php:
|
32 |
-
#: ../includes/class-folders.php:
|
33 |
-
#: ../includes/class-folders.php:
|
34 |
-
#: ../responsive-lightbox.php:
|
35 |
msgid "All Files"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: ../includes/class-folders.php:
|
39 |
msgid "New Folder"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: ../includes/class-folders.php:
|
43 |
msgid "Are you sure you want to delete this folder?"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../includes/class-folders.php:
|
47 |
msgid "Are you sure you want to delete this folder with all subfolders?"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: ../includes/class-folders.php:
|
51 |
#, php-format
|
52 |
msgid "Save new %s"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: ../includes/class-folders.php:
|
56 |
#, php-format
|
57 |
msgid "Cancel adding new %s"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../includes/class-folders.php:
|
61 |
#, php-format
|
62 |
msgid "Save %s"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: ../includes/class-folders.php:
|
66 |
#, php-format
|
67 |
msgid "Cancel renaming %s"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: ../includes/class-folders.php:
|
71 |
#, php-format
|
72 |
msgid "Delete %s"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../includes/class-folders.php:
|
76 |
#, php-format
|
77 |
msgid "Expand %s"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: ../includes/class-folders.php:
|
81 |
#, php-format
|
82 |
msgid "Collapse %s"
|
83 |
msgstr ""
|
@@ -107,8 +107,8 @@ msgid "Media File"
|
|
107 |
msgstr ""
|
108 |
|
109 |
#: ../includes/class-frontend.php:581 ../includes/class-galleries.php:160
|
110 |
-
#: ../includes/class-settings.php:150 ../includes/class-settings.php:
|
111 |
-
#: ../includes/class-settings.php:
|
112 |
#: ../includes/class-widgets.php:340 ../includes/class-widgets.php:347
|
113 |
msgid "None"
|
114 |
msgstr ""
|
@@ -171,7 +171,7 @@ msgstr ""
|
|
171 |
msgid "Specify the number of columns."
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: ../includes/class-galleries.php:85 ../includes/class-galleries.php:
|
175 |
msgid "Status"
|
176 |
msgstr ""
|
177 |
|
@@ -179,7 +179,7 @@ msgstr ""
|
|
179 |
msgid "Edit image"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: ../includes/class-galleries.php:87 ../responsive-lightbox.php:
|
183 |
msgid "Remove image"
|
184 |
msgstr ""
|
185 |
|
@@ -196,7 +196,7 @@ msgstr ""
|
|
196 |
msgid "The settings below adjust the contents of the gallery."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: ../includes/class-galleries.php:115 ../includes/class-galleries.php:
|
200 |
msgid "Media Library"
|
201 |
msgstr ""
|
202 |
|
@@ -228,7 +228,7 @@ msgstr ""
|
|
228 |
msgid "The settings below adjust the gallery pagination options."
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: ../includes/class-galleries.php:133 ../includes/class-settings.php:
|
232 |
msgid "Lightbox"
|
233 |
msgstr ""
|
234 |
|
@@ -248,8 +248,8 @@ msgstr ""
|
|
248 |
msgid "Media Folders"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: ../includes/class-galleries.php:147 ../includes/class-settings.php:
|
252 |
-
#: ../includes/class-settings.php:
|
253 |
msgid "Remote Library"
|
254 |
msgstr ""
|
255 |
|
@@ -413,7 +413,7 @@ msgstr ""
|
|
413 |
msgid "Enter the search phrase."
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: ../includes/class-galleries.php:361 ../includes/class-settings.php:
|
417 |
msgid "Media Providers"
|
418 |
msgstr ""
|
419 |
|
@@ -663,213 +663,213 @@ msgstr ""
|
|
663 |
msgid "Duplicate"
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: ../includes/class-galleries.php:
|
667 |
msgid "Add Gallery"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: ../includes/class-galleries.php:
|
671 |
msgid "All categories"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: ../includes/class-galleries.php:
|
675 |
msgid "Close"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: ../includes/class-galleries.php:
|
679 |
msgid "Insert Gallery"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: ../includes/class-galleries.php:
|
683 |
msgid "Reload"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: ../includes/class-galleries.php:
|
687 |
msgid "Search galleries"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: ../includes/class-galleries.php:
|
691 |
msgid "Select A Gallery"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: ../includes/class-galleries.php:
|
695 |
msgid "To select a gallery simply click on one of the boxes to the left."
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: ../includes/class-galleries.php:
|
699 |
msgid ""
|
700 |
"To insert your gallery into the editor, click on the \"Insert Gallery\" "
|
701 |
"button below."
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: ../includes/class-galleries.php:
|
705 |
msgid "Edit gallery"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: ../includes/class-galleries.php:
|
709 |
msgid "Insert gallery into post"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: ../includes/class-galleries.php:
|
713 |
msgid "Select gallery"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: ../includes/class-galleries.php:
|
717 |
msgid "Cancel"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: ../includes/class-galleries.php:
|
721 |
-
#: ../responsive-lightbox.php:
|
722 |
msgid "Select images"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: ../includes/class-galleries.php:
|
726 |
msgid "Update preview"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: ../includes/class-galleries.php:
|
730 |
msgid "First page"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: ../includes/class-galleries.php:
|
734 |
msgid "Previous page"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: ../includes/class-galleries.php:
|
738 |
msgid "Current Page"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: ../includes/class-galleries.php:
|
742 |
msgid "Next page"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: ../includes/class-galleries.php:
|
746 |
msgid "Last page"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: ../includes/class-galleries.php:
|
750 |
#, php-format
|
751 |
msgid "Gallery %s"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: ../includes/class-galleries.php:
|
755 |
msgid "Gallery Code"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: ../includes/class-galleries.php:
|
759 |
msgid "Remote Library is disabled. Enable it in the settings."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: ../includes/class-galleries.php:
|
763 |
msgid "Media Folders are disabled. Enable it in the settings."
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: ../includes/class-galleries.php:
|
767 |
msgid "No data"
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: ../includes/class-galleries.php:
|
771 |
msgid "« Previous"
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: ../includes/class-galleries.php:
|
775 |
msgid "Next »"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: ../includes/class-galleries.php:
|
779 |
msgid "(no title)"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: ../includes/class-galleries.php:
|
783 |
msgid "Deselect"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: ../includes/class-galleries.php:
|
787 |
msgid "Untitled"
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: ../includes/class-galleries.php:
|
791 |
msgid "Aside"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: ../includes/class-galleries.php:
|
795 |
msgid "Audio"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: ../includes/class-galleries.php:
|
799 |
msgid "Chat"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: ../includes/class-galleries.php:
|
803 |
#: ../includes/class-widgets.php:57 ../includes/class-widgets.php:65
|
804 |
-
#: ../responsive-lightbox.php:
|
805 |
msgid "Gallery"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: ../includes/class-galleries.php:
|
809 |
msgid "Link"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: ../includes/class-galleries.php:
|
813 |
msgid "Photo"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: ../includes/class-galleries.php:
|
817 |
msgid "Quote"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: ../includes/class-galleries.php:
|
821 |
msgid "Standard"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: ../includes/class-galleries.php:
|
825 |
msgid "Video"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: ../includes/class-galleries.php:
|
829 |
msgid "Default Template"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: ../includes/class-galleries.php:
|
833 |
msgid ""
|
834 |
"You can place this gallery anywhere into your posts, pages, custom post "
|
835 |
"types or widgets by using the shortcode below"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: ../includes/class-galleries.php:
|
839 |
msgid ""
|
840 |
"You can also place this gallery into your template files by using the "
|
841 |
"template tag below"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: ../includes/class-galleries.php:
|
845 |
msgid "Shortcode"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: ../includes/class-galleries.php:
|
849 |
msgid "Type"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: ../includes/class-galleries.php:
|
853 |
msgid "Source"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: ../includes/class-galleries.php:
|
857 |
msgid "Select gallery featured image source:"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: ../includes/class-galleries.php:
|
861 |
msgid "First gallery image"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: ../includes/class-galleries.php:
|
865 |
msgid "Custom URL"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: ../includes/class-galleries.php:
|
869 |
msgid "Custom featured image URL"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: ../includes/class-galleries.php:
|
873 |
msgid "Dynamically generated first gallery image"
|
874 |
msgstr ""
|
875 |
|
@@ -998,7 +998,7 @@ msgid "elastic"
|
|
998 |
msgstr ""
|
999 |
|
1000 |
#: ../includes/class-settings.php:99 ../includes/class-settings.php:121
|
1001 |
-
#: ../includes/class-settings.php:
|
1002 |
msgid "fade"
|
1003 |
msgstr ""
|
1004 |
|
@@ -1167,9 +1167,9 @@ msgstr ""
|
|
1167 |
msgid "Display single post images as a gallery."
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: ../includes/class-settings.php:235 ../includes/class-settings.php:
|
1171 |
-
#: ../responsive-lightbox.php:
|
1172 |
-
#: ../responsive-lightbox.php:
|
1173 |
msgid "Galleries"
|
1174 |
msgstr ""
|
1175 |
|
@@ -1315,184 +1315,190 @@ msgstr ""
|
|
1315 |
msgid "Delete all plugin settings on deactivation."
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#: ../includes/class-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
1319 |
msgid "Gallery Builder Settings"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#: ../includes/class-settings.php:
|
1323 |
msgid "Gallery Builder"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: ../includes/class-settings.php:
|
1327 |
msgid "Enable advanced gallery builder."
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: ../includes/class-settings.php:
|
1331 |
-
#: ../responsive-lightbox.php:
|
1332 |
msgid "Categories"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
-
#: ../includes/class-settings.php:
|
1336 |
msgid "Enable Gallery Categories."
|
1337 |
msgstr ""
|
1338 |
|
1339 |
-
#: ../includes/class-settings.php:
|
1340 |
msgid "Enable if you want to use Gallery Categories."
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#: ../includes/class-settings.php:
|
1344 |
-
#: ../responsive-lightbox.php:
|
1345 |
msgid "Tags"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: ../includes/class-settings.php:
|
1349 |
msgid "Enable Gallery Tags."
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: ../includes/class-settings.php:
|
1353 |
msgid "Enable if you want to use Gallery Tags."
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: ../includes/class-settings.php:
|
1357 |
msgid "Gallery Permalink"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: ../includes/class-settings.php:
|
1361 |
msgid "Enter gallery page slug."
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: ../includes/class-settings.php:
|
1365 |
msgid "Categories Permalink"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: ../includes/class-settings.php:
|
1369 |
msgid "Enter gallery categories archive page slug."
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: ../includes/class-settings.php:
|
1373 |
msgid "Tags Permalink"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: ../includes/class-settings.php:
|
1377 |
msgid "Enter gallery tags archive page slug."
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: ../includes/class-settings.php:
|
1381 |
msgid "Archives"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: ../includes/class-settings.php:
|
1385 |
msgid "Enable gallery archives."
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: ../includes/class-settings.php:
|
1389 |
msgid "Archives category"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: ../includes/class-settings.php:
|
1393 |
msgid "Select category for gallery archives."
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: ../includes/class-settings.php:
|
1397 |
msgid "All"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
-
#: ../includes/class-settings.php:
|
1401 |
msgid "Folders Settings"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
-
#: ../includes/class-settings.php:
|
1405 |
-
#: ../includes/class-settings.php:
|
1406 |
msgid "Folders"
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#: ../includes/class-settings.php:
|
1410 |
msgid "Enable media folders."
|
1411 |
msgstr ""
|
1412 |
|
1413 |
-
#: ../includes/class-settings.php:
|
1414 |
msgid "Media taxonomy"
|
1415 |
msgstr ""
|
1416 |
|
1417 |
-
#: ../includes/class-settings.php:
|
1418 |
msgid "Select media taxonomy."
|
1419 |
msgstr ""
|
1420 |
|
1421 |
-
#: ../includes/class-settings.php:
|
1422 |
msgid ""
|
1423 |
"If you have ever used custom media taxonomies you may try to <a id="
|
1424 |
"\"rl_folders_load_old_taxonomies\" href=\"#\">load and use them.</a>"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
-
#: ../includes/class-settings.php:
|
1428 |
msgid "Media tags"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#: ../includes/class-settings.php:
|
1432 |
msgid "Enable media tags."
|
1433 |
msgstr ""
|
1434 |
|
1435 |
-
#: ../includes/class-settings.php:
|
1436 |
msgid "Enable if you want to use media tags."
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#: ../includes/class-settings.php:
|
1440 |
msgid "Show in menu"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: ../includes/class-settings.php:
|
1444 |
msgid "Enable to show the taxonomy in the admin menu."
|
1445 |
msgstr ""
|
1446 |
|
1447 |
-
#: ../includes/class-settings.php:
|
1448 |
msgid "Subfolder removal"
|
1449 |
msgstr ""
|
1450 |
|
1451 |
-
#: ../includes/class-settings.php:
|
1452 |
msgid "Select to remove subfolders when parent folder is deleted."
|
1453 |
msgstr ""
|
1454 |
|
1455 |
-
#: ../includes/class-settings.php:
|
1456 |
msgid "Whole row"
|
1457 |
msgstr ""
|
1458 |
|
1459 |
-
#: ../includes/class-settings.php:
|
1460 |
msgid "Enable to highlight folder's row as a clickable area."
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#: ../includes/class-settings.php:
|
1464 |
msgid "Remote Library Settings"
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#: ../includes/class-settings.php:
|
1468 |
msgid "Enable remote libraries."
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#: ../includes/class-settings.php:
|
1472 |
msgid "Check this to enable remote access to the following image libraries."
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#: ../includes/class-settings.php:
|
1476 |
msgid "Caching"
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#: ../includes/class-settings.php:
|
1480 |
msgid "Enable remote library requests caching."
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#: ../includes/class-settings.php:
|
1484 |
msgid "Cache expiry"
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#: ../includes/class-settings.php:
|
1488 |
msgid "Enter the cache expiry time."
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#: ../includes/class-settings.php:
|
1492 |
msgid "hour(s)"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#: ../includes/class-settings.php:
|
1496 |
#, php-format
|
1497 |
msgid "%s Settings"
|
1498 |
msgstr ""
|
@@ -1501,249 +1507,261 @@ msgstr ""
|
|
1501 |
msgid "Capabilities Settings"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
-
#: ../includes/class-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1505 |
msgid "Basic Grid Gallery Settings"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#: ../includes/class-settings.php:
|
1509 |
msgid "Screen sizes"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#: ../includes/class-settings.php:
|
1513 |
msgid ""
|
1514 |
"Number of columns in a gallery depending on the device screen size. (if "
|
1515 |
"greater than 0 overrides the Columns option)"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
-
#: ../includes/class-settings.php:
|
1519 |
msgid "large devices / desktops (≥1200px)"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#: ../includes/class-settings.php:
|
1523 |
msgid "medium devices / desktops (≥992px)"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#: ../includes/class-settings.php:
|
1527 |
msgid "small devices / tablets (≥768px)"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#: ../includes/class-settings.php:
|
1531 |
msgid "extra small devices / phones (<768px)"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#: ../includes/class-settings.php:
|
1535 |
msgid "Gutter"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: ../includes/class-settings.php:
|
1539 |
msgid "Set the pixel width between the columns and rows."
|
1540 |
msgstr ""
|
1541 |
|
1542 |
-
#: ../includes/class-settings.php:
|
1543 |
msgid "Force height"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
-
#: ../includes/class-settings.php:
|
1547 |
msgid "Enable to force the thumbnail row height."
|
1548 |
msgstr ""
|
1549 |
|
1550 |
-
#: ../includes/class-settings.php:
|
1551 |
msgid "Row height"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
-
#: ../includes/class-settings.php:
|
1555 |
msgid ""
|
1556 |
"Enter the thumbnail row height in pixels (used if Force height is enabled). "
|
1557 |
"Defaults to 150px."
|
1558 |
msgstr ""
|
1559 |
|
1560 |
-
#: ../includes/class-settings.php:
|
1561 |
msgid "Basic Slider Gallery Settings"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
-
#: ../includes/class-settings.php:
|
1565 |
msgid "Adaptive Height"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#: ../includes/class-settings.php:
|
1569 |
msgid ""
|
1570 |
"The slider height should change on the fly according to the current slide."
|
1571 |
msgstr ""
|
1572 |
|
1573 |
-
#: ../includes/class-settings.php:
|
1574 |
msgid "Loop"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
-
#: ../includes/class-settings.php:
|
1578 |
msgid ""
|
1579 |
"Whether the slider should loop (i.e. the first slide goes to the last, the "
|
1580 |
"last slide goes to the first)."
|
1581 |
msgstr ""
|
1582 |
|
1583 |
-
#: ../includes/class-settings.php:
|
1584 |
msgid "Captions Position"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
-
#: ../includes/class-settings.php:
|
1588 |
msgid "Specifies the position of captions or no captions at all."
|
1589 |
msgstr ""
|
1590 |
|
1591 |
-
#: ../includes/class-settings.php:
|
1592 |
msgid "Overlay"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
-
#: ../includes/class-settings.php:
|
1596 |
msgid "Below"
|
1597 |
msgstr ""
|
1598 |
|
1599 |
-
#: ../includes/class-settings.php:
|
1600 |
msgid "Single Image Slider"
|
1601 |
msgstr ""
|
1602 |
|
1603 |
-
#: ../includes/class-settings.php:
|
1604 |
msgid ""
|
1605 |
"Whether the slider should initialize even if there is only one slide element."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: ../includes/class-settings.php:
|
1609 |
msgid "Responsive"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
-
#: ../includes/class-settings.php:
|
1613 |
msgid "Whether the slider should be responsive."
|
1614 |
msgstr ""
|
1615 |
|
1616 |
-
#: ../includes/class-settings.php:
|
1617 |
msgid "Preload"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
-
#: ../includes/class-settings.php:
|
1621 |
msgid "Elements that are preloaded before slider shows."
|
1622 |
msgstr ""
|
1623 |
|
1624 |
-
#: ../includes/class-settings.php:
|
1625 |
msgid "Only visible"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
-
#: ../includes/class-settings.php:
|
1629 |
msgid "Pager"
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#: ../includes/class-settings.php:
|
1633 |
msgid "Whether the slider should have a pager."
|
1634 |
msgstr ""
|
1635 |
|
1636 |
-
#: ../includes/class-settings.php:
|
1637 |
msgid "Controls"
|
1638 |
msgstr ""
|
1639 |
|
1640 |
-
#: ../includes/class-settings.php:
|
1641 |
msgid "Whether the slider should have controls (next, previous arrows)."
|
1642 |
msgstr ""
|
1643 |
|
1644 |
-
#: ../includes/class-settings.php:
|
1645 |
msgid "Hide Controls on End"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
-
#: ../includes/class-settings.php:
|
1649 |
msgid ""
|
1650 |
"Hide the previous or next control when it reaches the first or last slide "
|
1651 |
"respectively."
|
1652 |
msgstr ""
|
1653 |
|
1654 |
-
#: ../includes/class-settings.php:
|
1655 |
msgid "Slide Margin"
|
1656 |
msgstr ""
|
1657 |
|
1658 |
-
#: ../includes/class-settings.php:
|
1659 |
msgid "The spacing between slides."
|
1660 |
msgstr ""
|
1661 |
|
1662 |
-
#: ../includes/class-settings.php:
|
1663 |
msgid "Transition"
|
1664 |
msgstr ""
|
1665 |
|
1666 |
-
#: ../includes/class-settings.php:
|
1667 |
msgid "Transition type to use, or no transitions."
|
1668 |
msgstr ""
|
1669 |
|
1670 |
-
#: ../includes/class-settings.php:
|
1671 |
msgid "Fade"
|
1672 |
msgstr ""
|
1673 |
|
1674 |
-
#: ../includes/class-settings.php:
|
1675 |
msgid "Horizontal"
|
1676 |
msgstr ""
|
1677 |
|
1678 |
-
#: ../includes/class-settings.php:
|
1679 |
msgid "Vertical"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#: ../includes/class-settings.php:
|
1683 |
msgid "Ken Burns"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#: ../includes/class-settings.php:
|
1687 |
msgid "Ken Burns Zoom"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#: ../includes/class-settings.php:
|
1691 |
msgid "Max zoom level use for the Ken Burns transition."
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#: ../includes/class-settings.php:
|
1695 |
msgid "Transition Speed"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
-
#: ../includes/class-settings.php:
|
1699 |
msgid "The time the transition takes to complete."
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#: ../includes/class-settings.php:
|
1703 |
msgid "Easing Effect"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#: ../includes/class-settings.php:
|
1707 |
msgid "The easing effect to use for the selected transition."
|
1708 |
msgstr ""
|
1709 |
|
1710 |
-
#: ../includes/class-settings.php:
|
1711 |
msgid "Continuous"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
-
#: ../includes/class-settings.php:
|
1715 |
msgid ""
|
1716 |
"Whether the slider should run continuously (seamless transition between the "
|
1717 |
"first and last slides)."
|
1718 |
msgstr ""
|
1719 |
|
1720 |
-
#: ../includes/class-settings.php:
|
1721 |
msgid "Use CSS"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: ../includes/class-settings.php:
|
1725 |
msgid ""
|
1726 |
"Whether the slider should use CSS transitions. If the user's browser doesn't "
|
1727 |
"support CSS transitions the slider will fallback to jQuery."
|
1728 |
msgstr ""
|
1729 |
|
1730 |
-
#: ../includes/class-settings.php:
|
1731 |
msgid "Slideshow"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#: ../includes/class-settings.php:
|
1735 |
msgid "Whether the slider should run automatically on load."
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#: ../includes/class-settings.php:
|
1739 |
msgid "Slideshow Direction"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
-
#: ../includes/class-settings.php:
|
1743 |
msgid "Which direction the slider should move in if in slideshow mode."
|
1744 |
msgstr ""
|
1745 |
|
1746 |
-
#: ../includes/class-settings.php:
|
1747 |
#: ../includes/class-tour.php:125 ../includes/class-tour.php:139
|
1748 |
#: ../includes/class-tour.php:153 ../includes/class-tour.php:171
|
1749 |
#: ../includes/class-tour.php:180 ../includes/class-tour.php:189
|
@@ -1752,827 +1770,823 @@ msgstr ""
|
|
1752 |
msgid "Next"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#: ../includes/class-settings.php:
|
1756 |
msgid "Previous"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#: ../includes/class-settings.php:
|
1760 |
msgid "Slideshow Hover"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
-
#: ../includes/class-settings.php:
|
1764 |
msgid "Whether the slideshow should pause automatically on hover."
|
1765 |
msgstr ""
|
1766 |
|
1767 |
-
#: ../includes/class-settings.php:
|
1768 |
msgid "Slideshow Hover Delay"
|
1769 |
msgstr ""
|
1770 |
|
1771 |
-
#: ../includes/class-settings.php:
|
1772 |
msgid "The delay (if any) before the slider resumes automatically after hover."
|
1773 |
msgstr ""
|
1774 |
|
1775 |
-
#: ../includes/class-settings.php:
|
1776 |
msgid "Slideshow Delay"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
-
#: ../includes/class-settings.php:
|
1780 |
msgid "The delay (if any) before the slider runs automatically on load."
|
1781 |
msgstr ""
|
1782 |
|
1783 |
-
#: ../includes/class-settings.php:
|
1784 |
msgid "Slideshow Pause"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
-
#: ../includes/class-settings.php:
|
1788 |
msgid "The time a slide lasts."
|
1789 |
msgstr ""
|
1790 |
|
1791 |
-
#: ../includes/class-settings.php:
|
1792 |
msgid "Basic Masonry Gallery Settings"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
-
#: ../includes/class-settings.php:
|
1796 |
msgid "Horizontal space between gallery items."
|
1797 |
msgstr ""
|
1798 |
|
1799 |
-
#: ../includes/class-settings.php:
|
1800 |
msgid "Margin"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
-
#: ../includes/class-settings.php:
|
1804 |
msgid "Vertical space between gallery items."
|
1805 |
msgstr ""
|
1806 |
|
1807 |
-
#: ../includes/class-settings.php:
|
1808 |
msgid "Origin Left"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
-
#: ../includes/class-settings.php:
|
1812 |
msgid "Enable left-to-right layouts."
|
1813 |
msgstr ""
|
1814 |
|
1815 |
-
#: ../includes/class-settings.php:
|
1816 |
msgid ""
|
1817 |
"Controls the horizontal flow of the layout. By default, item elements start "
|
1818 |
"positioning at the left. Uncheck it for right-to-left layouts."
|
1819 |
msgstr ""
|
1820 |
|
1821 |
-
#: ../includes/class-settings.php:
|
1822 |
msgid "Origin Top"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
-
#: ../includes/class-settings.php:
|
1826 |
msgid "Enable top-to-bottom layouts."
|
1827 |
msgstr ""
|
1828 |
|
1829 |
-
#: ../includes/class-settings.php:
|
1830 |
msgid ""
|
1831 |
"Controls the vetical flow of the layout. By default, item elements start "
|
1832 |
"positioning at the top. Uncheck it for bottom-up layouts."
|
1833 |
msgstr ""
|
1834 |
|
1835 |
-
#: ../includes/class-settings.php:
|
1836 |
msgid "General"
|
1837 |
msgstr ""
|
1838 |
|
1839 |
-
#: ../includes/class-settings.php:
|
1840 |
msgid "Lightboxes"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
-
#: ../includes/class-settings.php:
|
1844 |
msgid "Basic Grid"
|
1845 |
msgstr ""
|
1846 |
|
1847 |
-
#: ../includes/class-settings.php:
|
1848 |
msgid "Basic Slider"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
-
#: ../includes/class-settings.php:
|
1852 |
msgid "Basic Masonry"
|
1853 |
msgstr ""
|
1854 |
|
1855 |
-
#: ../includes/class-settings.php:
|
1856 |
msgid "Builder"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
-
#: ../includes/class-settings.php:
|
1860 |
-
msgid "Capabilities"
|
1861 |
-
msgstr ""
|
1862 |
-
|
1863 |
-
#: ../includes/class-settings.php:1037 ../includes/class-settings.php:2050
|
1864 |
msgid "Licenses"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
-
#: ../includes/class-settings.php:
|
1868 |
-
#: ../responsive-lightbox.php:
|
1869 |
msgid "Add-ons"
|
1870 |
msgstr ""
|
1871 |
|
1872 |
-
#: ../includes/class-settings.php:
|
1873 |
msgid "Animation type"
|
1874 |
msgstr ""
|
1875 |
|
1876 |
-
#: ../includes/class-settings.php:
|
1877 |
msgid "Select a method of applying a lightbox effect."
|
1878 |
msgstr ""
|
1879 |
|
1880 |
-
#: ../includes/class-settings.php:
|
1881 |
msgid "Force PNG icons"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
-
#: ../includes/class-settings.php:
|
1885 |
msgid ""
|
1886 |
"Enable this if you're having problems with navigation icons not visible on "
|
1887 |
"some devices."
|
1888 |
msgstr ""
|
1889 |
|
1890 |
-
#: ../includes/class-settings.php:
|
1891 |
msgid "Hide close on mobile"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#: ../includes/class-settings.php:
|
1895 |
msgid "Hide the close button on mobile devices."
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#: ../includes/class-settings.php:
|
1899 |
msgid "Remove bars on mobile"
|
1900 |
msgstr ""
|
1901 |
|
1902 |
-
#: ../includes/class-settings.php:
|
1903 |
msgid "Hide the top and bottom bars on mobile devices."
|
1904 |
msgstr ""
|
1905 |
|
1906 |
-
#: ../includes/class-settings.php:
|
1907 |
msgid "Top and bottom bars"
|
1908 |
msgstr ""
|
1909 |
|
1910 |
-
#: ../includes/class-settings.php:
|
1911 |
msgid "Hide top and bottom bars after a period of time."
|
1912 |
msgstr ""
|
1913 |
|
1914 |
-
#: ../includes/class-settings.php:
|
1915 |
msgid ""
|
1916 |
"Enter the time after which the top and bottom bars will be hidden (when "
|
1917 |
"hiding is enabled)."
|
1918 |
msgstr ""
|
1919 |
|
1920 |
-
#: ../includes/class-settings.php:
|
1921 |
msgid "Video max width"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
-
#: ../includes/class-settings.php:
|
1925 |
msgid "Enter the max video width in a lightbox."
|
1926 |
msgstr ""
|
1927 |
|
1928 |
-
#: ../includes/class-settings.php:
|
1929 |
msgid "Loop at end"
|
1930 |
msgstr ""
|
1931 |
|
1932 |
-
#: ../includes/class-settings.php:
|
1933 |
msgid "True will return to the first image after the last image is reached."
|
1934 |
msgstr ""
|
1935 |
|
1936 |
-
#: ../includes/class-settings.php:
|
1937 |
msgid "Animation speed"
|
1938 |
msgstr ""
|
1939 |
|
1940 |
-
#: ../includes/class-settings.php:
|
1941 |
msgid "Select animation speed for lightbox effect."
|
1942 |
msgstr ""
|
1943 |
|
1944 |
-
#: ../includes/class-settings.php:
|
1945 |
msgid "Display images as slideshow"
|
1946 |
msgstr ""
|
1947 |
|
1948 |
-
#: ../includes/class-settings.php:
|
1949 |
msgid "Enter time (in miliseconds)."
|
1950 |
msgstr ""
|
1951 |
|
1952 |
-
#: ../includes/class-settings.php:
|
1953 |
msgid "Slideshow autoplay"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
-
#: ../includes/class-settings.php:
|
1957 |
msgid "Automatically start slideshow."
|
1958 |
msgstr ""
|
1959 |
|
1960 |
-
#: ../includes/class-settings.php:
|
1961 |
msgid "Opacity"
|
1962 |
msgstr ""
|
1963 |
|
1964 |
-
#: ../includes/class-settings.php:
|
1965 |
msgid "Value between 0 and 100, 100 for no opacity."
|
1966 |
msgstr ""
|
1967 |
|
1968 |
-
#: ../includes/class-settings.php:
|
1969 |
msgid "Show title"
|
1970 |
msgstr ""
|
1971 |
|
1972 |
-
#: ../includes/class-settings.php:
|
1973 |
msgid "Display image title."
|
1974 |
msgstr ""
|
1975 |
|
1976 |
-
#: ../includes/class-settings.php:
|
1977 |
msgid "Allow resize big images"
|
1978 |
msgstr ""
|
1979 |
|
1980 |
-
#: ../includes/class-settings.php:
|
1981 |
msgid "Resize the photos bigger than viewport."
|
1982 |
msgstr ""
|
1983 |
|
1984 |
-
#: ../includes/class-settings.php:
|
1985 |
msgid "Allow expand"
|
1986 |
msgstr ""
|
1987 |
|
1988 |
-
#: ../includes/class-settings.php:
|
1989 |
msgid "Allow expanding images."
|
1990 |
msgstr ""
|
1991 |
|
1992 |
-
#: ../includes/class-settings.php:
|
1993 |
msgid "Video width"
|
1994 |
msgstr ""
|
1995 |
|
1996 |
-
#: ../includes/class-settings.php:
|
1997 |
msgid "Video height"
|
1998 |
msgstr ""
|
1999 |
|
2000 |
-
#: ../includes/class-settings.php:
|
2001 |
msgid "Theme"
|
2002 |
msgstr ""
|
2003 |
|
2004 |
-
#: ../includes/class-settings.php:
|
2005 |
msgid "Select the theme for lightbox effect."
|
2006 |
msgstr ""
|
2007 |
|
2008 |
-
#: ../includes/class-settings.php:
|
2009 |
msgid "Horizontal padding"
|
2010 |
msgstr ""
|
2011 |
|
2012 |
-
#: ../includes/class-settings.php:
|
2013 |
msgid "Hide Flash"
|
2014 |
msgstr ""
|
2015 |
|
2016 |
-
#: ../includes/class-settings.php:
|
2017 |
msgid ""
|
2018 |
"Hide all the flash objects on a page. Enable this if flash appears over "
|
2019 |
"prettyPhoto."
|
2020 |
msgstr ""
|
2021 |
|
2022 |
-
#: ../includes/class-settings.php:
|
2023 |
msgid "Flash Window Mode (wmode)"
|
2024 |
msgstr ""
|
2025 |
|
2026 |
-
#: ../includes/class-settings.php:
|
2027 |
msgid "Select flash window mode."
|
2028 |
msgstr ""
|
2029 |
|
2030 |
-
#: ../includes/class-settings.php:
|
2031 |
msgid "Video autoplay"
|
2032 |
msgstr ""
|
2033 |
|
2034 |
-
#: ../includes/class-settings.php:
|
2035 |
msgid "Automatically start videos."
|
2036 |
msgstr ""
|
2037 |
|
2038 |
-
#: ../includes/class-settings.php:
|
2039 |
msgid "Modal"
|
2040 |
msgstr ""
|
2041 |
|
2042 |
-
#: ../includes/class-settings.php:
|
2043 |
msgid "If set to true, only the close button will close the window."
|
2044 |
msgstr ""
|
2045 |
|
2046 |
-
#: ../includes/class-settings.php:
|
2047 |
msgid "Deeplinking"
|
2048 |
msgstr ""
|
2049 |
|
2050 |
-
#: ../includes/class-settings.php:
|
2051 |
msgid "Allow prettyPhoto to update the url to enable deeplinking."
|
2052 |
msgstr ""
|
2053 |
|
2054 |
-
#: ../includes/class-settings.php:
|
2055 |
msgid "Overlay gallery"
|
2056 |
msgstr ""
|
2057 |
|
2058 |
-
#: ../includes/class-settings.php:
|
2059 |
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#: ../includes/class-settings.php:
|
2063 |
msgid "Keyboard shortcuts"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
-
#: ../includes/class-settings.php:
|
2067 |
msgid "Set to false if you open forms inside prettyPhoto."
|
2068 |
msgstr ""
|
2069 |
|
2070 |
-
#: ../includes/class-settings.php:
|
2071 |
msgid "Social (Twitter, Facebook)"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
-
#: ../includes/class-settings.php:
|
2075 |
msgid "Display links to Facebook and Twitter."
|
2076 |
msgstr ""
|
2077 |
|
2078 |
-
#: ../includes/class-settings.php:
|
2079 |
msgid ""
|
2080 |
"When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
|
2081 |
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
|
2082 |
"to false."
|
2083 |
msgstr ""
|
2084 |
|
2085 |
-
#: ../includes/class-settings.php:
|
2086 |
msgid "Show overlay"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
-
#: ../includes/class-settings.php:
|
2090 |
msgid "Toggle overlay."
|
2091 |
msgstr ""
|
2092 |
|
2093 |
-
#: ../includes/class-settings.php:
|
2094 |
msgid "Show close button"
|
2095 |
msgstr ""
|
2096 |
|
2097 |
-
#: ../includes/class-settings.php:
|
2098 |
msgid "Toggle close button."
|
2099 |
msgstr ""
|
2100 |
|
2101 |
-
#: ../includes/class-settings.php:
|
2102 |
msgid "Enable escape button"
|
2103 |
msgstr ""
|
2104 |
|
2105 |
-
#: ../includes/class-settings.php:
|
2106 |
msgid "Toggle if pressing Esc button closes lightbox."
|
2107 |
msgstr ""
|
2108 |
|
2109 |
-
#: ../includes/class-settings.php:
|
2110 |
msgid "Hide on overlay click"
|
2111 |
msgstr ""
|
2112 |
|
2113 |
-
#: ../includes/class-settings.php:
|
2114 |
msgid "Toggle if clicking the overlay should close FancyBox."
|
2115 |
msgstr ""
|
2116 |
|
2117 |
-
#: ../includes/class-settings.php:
|
2118 |
msgid "Hide on content click"
|
2119 |
msgstr ""
|
2120 |
|
2121 |
-
#: ../includes/class-settings.php:
|
2122 |
msgid "Toggle if clicking the content should close FancyBox."
|
2123 |
msgstr ""
|
2124 |
|
2125 |
-
#: ../includes/class-settings.php:
|
2126 |
msgid "Cyclic"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
-
#: ../includes/class-settings.php:
|
2130 |
msgid ""
|
2131 |
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
|
2132 |
msgstr ""
|
2133 |
|
2134 |
-
#: ../includes/class-settings.php:
|
2135 |
msgid "Show nav arrows"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#: ../includes/class-settings.php:
|
2139 |
msgid "Toggle navigation arrows."
|
2140 |
msgstr ""
|
2141 |
|
2142 |
-
#: ../includes/class-settings.php:
|
2143 |
msgid "Auto scale"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
-
#: ../includes/class-settings.php:
|
2147 |
msgid "If true, FancyBox is scaled to fit in viewport."
|
2148 |
msgstr ""
|
2149 |
|
2150 |
-
#: ../includes/class-settings.php:
|
2151 |
msgid "Scrolling (in/out)"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
-
#: ../includes/class-settings.php:
|
2155 |
msgid "Set the overflow CSS property to create or hide scrollbars."
|
2156 |
msgstr ""
|
2157 |
|
2158 |
-
#: ../includes/class-settings.php:
|
2159 |
msgid "Center on scroll"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
-
#: ../includes/class-settings.php:
|
2163 |
msgid "When true, FancyBox is centered while scrolling page."
|
2164 |
msgstr ""
|
2165 |
|
2166 |
-
#: ../includes/class-settings.php:
|
2167 |
msgid "When true, transparency of content is changed for elastic transitions."
|
2168 |
msgstr ""
|
2169 |
|
2170 |
-
#: ../includes/class-settings.php:
|
2171 |
msgid "Overlay opacity"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
-
#: ../includes/class-settings.php:
|
2175 |
msgid "Opacity of the overlay."
|
2176 |
msgstr ""
|
2177 |
|
2178 |
-
#: ../includes/class-settings.php:
|
2179 |
msgid "Overlay color"
|
2180 |
msgstr ""
|
2181 |
|
2182 |
-
#: ../includes/class-settings.php:
|
2183 |
msgid "Color of the overlay."
|
2184 |
msgstr ""
|
2185 |
|
2186 |
-
#: ../includes/class-settings.php:
|
2187 |
msgid "Title show"
|
2188 |
msgstr ""
|
2189 |
|
2190 |
-
#: ../includes/class-settings.php:
|
2191 |
msgid "Toggle title."
|
2192 |
msgstr ""
|
2193 |
|
2194 |
-
#: ../includes/class-settings.php:
|
2195 |
msgid "Title position"
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#: ../includes/class-settings.php:
|
2199 |
msgid "The position of title."
|
2200 |
msgstr ""
|
2201 |
|
2202 |
-
#: ../includes/class-settings.php:
|
2203 |
msgid "Transition (in/out)"
|
2204 |
msgstr ""
|
2205 |
|
2206 |
-
#: ../includes/class-settings.php:
|
2207 |
msgid "The transition type."
|
2208 |
msgstr ""
|
2209 |
|
2210 |
-
#: ../includes/class-settings.php:
|
2211 |
msgid "Easings (in/out)"
|
2212 |
msgstr ""
|
2213 |
|
2214 |
-
#: ../includes/class-settings.php:
|
2215 |
msgid "Easing used for elastic animations."
|
2216 |
msgstr ""
|
2217 |
|
2218 |
-
#: ../includes/class-settings.php:
|
2219 |
msgid "Speed (in/out)"
|
2220 |
msgstr ""
|
2221 |
|
2222 |
-
#: ../includes/class-settings.php:
|
2223 |
msgid "Speed of the fade and elastic transitions, in milliseconds."
|
2224 |
msgstr ""
|
2225 |
|
2226 |
-
#: ../includes/class-settings.php:
|
2227 |
msgid "Change speed"
|
2228 |
msgstr ""
|
2229 |
|
2230 |
-
#: ../includes/class-settings.php:
|
2231 |
msgid "Speed of resizing when changing gallery items, in milliseconds."
|
2232 |
msgstr ""
|
2233 |
|
2234 |
-
#: ../includes/class-settings.php:
|
2235 |
msgid "Change fade"
|
2236 |
msgstr ""
|
2237 |
|
2238 |
-
#: ../includes/class-settings.php:
|
2239 |
msgid "Speed of the content fading while changing gallery items."
|
2240 |
msgstr ""
|
2241 |
|
2242 |
-
#: ../includes/class-settings.php:
|
2243 |
msgid "Padding"
|
2244 |
msgstr ""
|
2245 |
|
2246 |
-
#: ../includes/class-settings.php:
|
2247 |
msgid "Space between FancyBox wrapper and content."
|
2248 |
msgstr ""
|
2249 |
|
2250 |
-
#: ../includes/class-settings.php:
|
2251 |
msgid "Space between viewport and FancyBox wrapper."
|
2252 |
msgstr ""
|
2253 |
|
2254 |
-
#: ../includes/class-settings.php:
|
2255 |
msgid "Width of the video."
|
2256 |
msgstr ""
|
2257 |
|
2258 |
-
#: ../includes/class-settings.php:
|
2259 |
msgid "Height of the video."
|
2260 |
msgstr ""
|
2261 |
|
2262 |
-
#: ../includes/class-settings.php:
|
2263 |
msgid "Effect"
|
2264 |
msgstr ""
|
2265 |
|
2266 |
-
#: ../includes/class-settings.php:
|
2267 |
msgid "The effect to use when showing the lightbox."
|
2268 |
msgstr ""
|
2269 |
|
2270 |
-
#: ../includes/class-settings.php:
|
2271 |
msgid "Keyboard navigation"
|
2272 |
msgstr ""
|
2273 |
|
2274 |
-
#: ../includes/class-settings.php:
|
2275 |
msgid "Enable keyboard navigation (left/right/escape)."
|
2276 |
msgstr ""
|
2277 |
|
2278 |
-
#: ../includes/class-settings.php:
|
2279 |
msgid "Click overlay to close"
|
2280 |
msgstr ""
|
2281 |
|
2282 |
-
#: ../includes/class-settings.php:
|
2283 |
msgid "Enable to close lightbox on overlay click."
|
2284 |
msgstr ""
|
2285 |
|
2286 |
-
#: ../includes/class-settings.php:
|
2287 |
msgid "Error message"
|
2288 |
msgstr ""
|
2289 |
|
2290 |
-
#: ../includes/class-settings.php:
|
2291 |
msgid "Error message if the content cannot be loaded."
|
2292 |
msgstr ""
|
2293 |
|
2294 |
-
#: ../includes/class-settings.php:
|
2295 |
msgid "Animation speed."
|
2296 |
msgstr ""
|
2297 |
|
2298 |
-
#: ../includes/class-settings.php:
|
2299 |
msgid "Preload next image"
|
2300 |
msgstr ""
|
2301 |
|
2302 |
-
#: ../includes/class-settings.php:
|
2303 |
msgid "Silently preload the next image."
|
2304 |
msgstr ""
|
2305 |
|
2306 |
-
#: ../includes/class-settings.php:
|
2307 |
msgid "Enable keyboard keys"
|
2308 |
msgstr ""
|
2309 |
|
2310 |
-
#: ../includes/class-settings.php:
|
2311 |
msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
|
2312 |
msgstr ""
|
2313 |
|
2314 |
-
#: ../includes/class-settings.php:
|
2315 |
msgid "Quit after last image"
|
2316 |
msgstr ""
|
2317 |
|
2318 |
-
#: ../includes/class-settings.php:
|
2319 |
msgid "Quit after viewing the last image."
|
2320 |
msgstr ""
|
2321 |
|
2322 |
-
#: ../includes/class-settings.php:
|
2323 |
msgid "Quit on image click"
|
2324 |
msgstr ""
|
2325 |
|
2326 |
-
#: ../includes/class-settings.php:
|
2327 |
msgid "Quit when the viewed image is clicked."
|
2328 |
msgstr ""
|
2329 |
|
2330 |
-
#: ../includes/class-settings.php:
|
2331 |
msgid "Quit on anything click"
|
2332 |
msgstr ""
|
2333 |
|
2334 |
-
#: ../includes/class-settings.php:
|
2335 |
msgid "Quit when anything but the viewed image is clicked."
|
2336 |
msgstr ""
|
2337 |
|
2338 |
-
#: ../includes/class-settings.php:
|
2339 |
msgid "Transition effect"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
-
#: ../includes/class-settings.php:
|
2343 |
msgid "What effect to use for the transition."
|
2344 |
msgstr ""
|
2345 |
|
2346 |
-
#: ../includes/class-settings.php:
|
2347 |
msgid "slide"
|
2348 |
msgstr ""
|
2349 |
|
2350 |
-
#: ../includes/class-settings.php:
|
2351 |
msgid "Infinite loop"
|
2352 |
msgstr ""
|
2353 |
|
2354 |
-
#: ../includes/class-settings.php:
|
2355 |
msgid ""
|
2356 |
"Whether or not to slide back to the first slide when the last has been "
|
2357 |
"reached."
|
2358 |
msgstr ""
|
2359 |
|
2360 |
-
#: ../includes/class-settings.php:
|
2361 |
msgid "Autoplay"
|
2362 |
msgstr ""
|
2363 |
|
2364 |
-
#: ../includes/class-settings.php:
|
2365 |
msgid "The timeout between sliding to the next slide in milliseconds."
|
2366 |
msgstr ""
|
2367 |
|
2368 |
-
#: ../includes/class-settings.php:
|
2369 |
msgid "Pause on hover"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
-
#: ../includes/class-settings.php:
|
2373 |
msgid "Whether or not to pause on hover."
|
2374 |
msgstr ""
|
2375 |
|
2376 |
-
#: ../includes/class-settings.php:
|
2377 |
msgid "Pagination"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
-
#: ../includes/class-settings.php:
|
2381 |
msgid "Whether or not to add a pagination."
|
2382 |
msgstr ""
|
2383 |
|
2384 |
-
#: ../includes/class-settings.php:
|
2385 |
msgid "What type of pagination to use."
|
2386 |
msgstr ""
|
2387 |
|
2388 |
-
#: ../includes/class-settings.php:
|
2389 |
msgid "Bullets"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
-
#: ../includes/class-settings.php:
|
2393 |
msgid "Thumbnails"
|
2394 |
msgstr ""
|
2395 |
|
2396 |
-
#: ../includes/class-settings.php:
|
2397 |
msgid "Overlay close"
|
2398 |
msgstr ""
|
2399 |
|
2400 |
-
#: ../includes/class-settings.php:
|
2401 |
msgid "Opening speed"
|
2402 |
msgstr ""
|
2403 |
|
2404 |
-
#: ../includes/class-settings.php:
|
2405 |
msgid "Duration of opening animation."
|
2406 |
msgstr ""
|
2407 |
|
2408 |
-
#: ../includes/class-settings.php:
|
2409 |
msgid "Closing speed"
|
2410 |
msgstr ""
|
2411 |
|
2412 |
-
#: ../includes/class-settings.php:
|
2413 |
msgid "Duration of closing animation."
|
2414 |
msgstr ""
|
2415 |
|
2416 |
-
#: ../includes/class-settings.php:
|
2417 |
msgid "Close on click"
|
2418 |
msgstr ""
|
2419 |
|
2420 |
-
#: ../includes/class-settings.php:
|
2421 |
msgid "Select how to close lightbox."
|
2422 |
msgstr ""
|
2423 |
|
2424 |
-
#: ../includes/class-settings.php:
|
2425 |
msgid "background"
|
2426 |
msgstr ""
|
2427 |
|
2428 |
-
#: ../includes/class-settings.php:
|
2429 |
msgid "anywhere"
|
2430 |
msgstr ""
|
2431 |
|
2432 |
-
#: ../includes/class-settings.php:
|
2433 |
msgid "false"
|
2434 |
msgstr ""
|
2435 |
|
2436 |
-
#: ../includes/class-settings.php:
|
2437 |
msgid "Close on Esc"
|
2438 |
msgstr ""
|
2439 |
|
2440 |
-
#: ../includes/class-settings.php:
|
2441 |
msgid "Gallery fade in"
|
2442 |
msgstr ""
|
2443 |
|
2444 |
-
#: ../includes/class-settings.php:
|
2445 |
msgid "Animation speed when image is loaded."
|
2446 |
msgstr ""
|
2447 |
|
2448 |
-
#: ../includes/class-settings.php:
|
2449 |
msgid "Gallery fade out"
|
2450 |
msgstr ""
|
2451 |
|
2452 |
-
#: ../includes/class-settings.php:
|
2453 |
msgid "Animation speed before image is loaded."
|
2454 |
msgstr ""
|
2455 |
|
2456 |
-
#: ../includes/class-settings.php:
|
2457 |
msgid "Disable on"
|
2458 |
msgstr ""
|
2459 |
|
2460 |
-
#: ../includes/class-settings.php:
|
2461 |
msgid ""
|
2462 |
"If window width is less than the number in this option lightbox will not be "
|
2463 |
"opened and the default behavior of the element will be triggered. Set to 0 "
|
2464 |
"to disable behavior."
|
2465 |
msgstr ""
|
2466 |
|
2467 |
-
#: ../includes/class-settings.php:
|
2468 |
msgid "Middle click"
|
2469 |
msgstr ""
|
2470 |
|
2471 |
-
#: ../includes/class-settings.php:
|
2472 |
msgid ""
|
2473 |
"If option enabled, lightbox is opened if the user clicked on the middle "
|
2474 |
"mouse button, or click with Command/Ctrl key."
|
2475 |
msgstr ""
|
2476 |
|
2477 |
-
#: ../includes/class-settings.php:
|
2478 |
msgid "Preloader"
|
2479 |
msgstr ""
|
2480 |
|
2481 |
-
#: ../includes/class-settings.php:
|
2482 |
msgid ""
|
2483 |
"If option enabled, it's always present in DOM only text inside of it changes."
|
2484 |
msgstr ""
|
2485 |
|
2486 |
-
#: ../includes/class-settings.php:
|
2487 |
msgid "Close on content click"
|
2488 |
msgstr ""
|
2489 |
|
2490 |
-
#: ../includes/class-settings.php:
|
2491 |
msgid ""
|
2492 |
"Close popup when user clicks on content of it. It's recommended to enable "
|
2493 |
"this option when you have only image in popup."
|
2494 |
msgstr ""
|
2495 |
|
2496 |
-
#: ../includes/class-settings.php:
|
2497 |
msgid "Close on background click"
|
2498 |
msgstr ""
|
2499 |
|
2500 |
-
#: ../includes/class-settings.php:
|
2501 |
msgid "Close the popup when user clicks on the dark overlay."
|
2502 |
msgstr ""
|
2503 |
|
2504 |
-
#: ../includes/class-settings.php:
|
2505 |
msgid "Close button inside"
|
2506 |
msgstr ""
|
2507 |
|
2508 |
-
#: ../includes/class-settings.php:
|
2509 |
msgid ""
|
2510 |
"If enabled, Magnific Popup will put close button inside content of popup."
|
2511 |
msgstr ""
|
2512 |
|
2513 |
-
#: ../includes/class-settings.php:
|
2514 |
msgid "Controls whether the close button will be displayed or not."
|
2515 |
msgstr ""
|
2516 |
|
2517 |
-
#: ../includes/class-settings.php:
|
2518 |
msgid "Enable escape key"
|
2519 |
msgstr ""
|
2520 |
|
2521 |
-
#: ../includes/class-settings.php:
|
2522 |
msgid ""
|
2523 |
"Controls whether pressing the escape key will dismiss the active popup or "
|
2524 |
"not."
|
2525 |
msgstr ""
|
2526 |
|
2527 |
-
#: ../includes/class-settings.php:
|
2528 |
msgid "Align top"
|
2529 |
msgstr ""
|
2530 |
|
2531 |
-
#: ../includes/class-settings.php:
|
2532 |
msgid "If set to true popup is aligned to top instead of to center."
|
2533 |
msgstr ""
|
2534 |
|
2535 |
-
#: ../includes/class-settings.php:
|
2536 |
msgid "Content position type"
|
2537 |
msgstr ""
|
2538 |
|
2539 |
-
#: ../includes/class-settings.php:
|
2540 |
msgid ""
|
2541 |
"Popup content position. If set to \"auto\" popup will automatically disable "
|
2542 |
"this option when browser doesn't support fixed position properly."
|
2543 |
msgstr ""
|
2544 |
|
2545 |
-
#: ../includes/class-settings.php:
|
2546 |
msgid "Auto"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
-
#: ../includes/class-settings.php:
|
2550 |
msgid "Fixed"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
-
#: ../includes/class-settings.php:
|
2554 |
msgid "Absolute"
|
2555 |
msgstr ""
|
2556 |
|
2557 |
-
#: ../includes/class-settings.php:
|
2558 |
msgid "Fixed background position"
|
2559 |
msgstr ""
|
2560 |
|
2561 |
-
#: ../includes/class-settings.php:
|
2562 |
msgid "Dark transluscent overlay content position."
|
2563 |
msgstr ""
|
2564 |
|
2565 |
-
#: ../includes/class-settings.php:
|
2566 |
msgid "Auto focus last"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
-
#: ../includes/class-settings.php:
|
2570 |
msgid ""
|
2571 |
"If set to true last focused element before popup showup will be focused "
|
2572 |
"after popup close."
|
2573 |
msgstr ""
|
2574 |
|
2575 |
-
#: ../includes/class-settings.php:
|
2576 |
#, php-format
|
2577 |
msgid ""
|
2578 |
"Below you'll find a list of available remote media libraries. If you're "
|
@@ -2580,16 +2594,16 @@ msgid ""
|
|
2580 |
"the <a href=\"%s\" target=\"_blank\">Remote Library Pro addon</a>."
|
2581 |
msgstr ""
|
2582 |
|
2583 |
-
#: ../includes/class-settings.php:
|
2584 |
-
#: ../responsive-lightbox.php:
|
2585 |
msgid "Responsive Lightbox & Gallery"
|
2586 |
msgstr ""
|
2587 |
|
2588 |
-
#: ../includes/class-settings.php:
|
2589 |
msgid "Need support?"
|
2590 |
msgstr ""
|
2591 |
|
2592 |
-
#: ../includes/class-settings.php:
|
2593 |
#, php-format
|
2594 |
msgid ""
|
2595 |
"If you are having problems with this plugin, please browse it's <a href=\"%s"
|
@@ -2597,60 +2611,60 @@ msgid ""
|
|
2597 |
"\" target=\"_blank\">Support forum</a>"
|
2598 |
msgstr ""
|
2599 |
|
2600 |
-
#: ../includes/class-settings.php:
|
2601 |
msgid "Do you like this plugin?"
|
2602 |
msgstr ""
|
2603 |
|
2604 |
-
#: ../includes/class-settings.php:
|
2605 |
#, php-format
|
2606 |
msgid "<a href=\"%s\" target=\"_blank\">Rate it 5</a> on WordPress.org"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
-
#: ../includes/class-settings.php:
|
2610 |
#, php-format
|
2611 |
msgid ""
|
2612 |
"Blog about it & link to the <a href=\"%s\" target=\"_blank\">plugin page</a>."
|
2613 |
msgstr ""
|
2614 |
|
2615 |
-
#: ../includes/class-settings.php:
|
2616 |
#, php-format
|
2617 |
msgid ""
|
2618 |
"Check out our other <a href=\"%s\" target=\"_blank\">WordPress plugins</a>."
|
2619 |
msgstr ""
|
2620 |
|
2621 |
-
#: ../includes/class-settings.php:
|
2622 |
msgid "Reset to defaults"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
-
#: ../includes/class-settings.php:
|
2626 |
msgid "Settings restored to defaults."
|
2627 |
msgstr ""
|
2628 |
|
2629 |
-
#: ../includes/class-settings.php:
|
2630 |
msgid "Role"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
-
#: ../includes/class-settings.php:
|
2634 |
msgid "Add-ons / Extensions"
|
2635 |
msgstr ""
|
2636 |
|
2637 |
-
#: ../includes/class-settings.php:
|
2638 |
msgid ""
|
2639 |
"Enhance your website with these beautiful, easy to use extensions, designed "
|
2640 |
"with Responsive Lightbox & Gallery integration in mind."
|
2641 |
msgstr ""
|
2642 |
|
2643 |
-
#: ../includes/class-settings.php:
|
2644 |
msgid ""
|
2645 |
"There was an error retrieving the extensions list from the server. Please "
|
2646 |
"try again later."
|
2647 |
msgstr ""
|
2648 |
|
2649 |
-
#: ../includes/class-settings.php:
|
2650 |
msgid "A list of licenses for your Responsive Lightbox & Gallery extensions."
|
2651 |
msgstr ""
|
2652 |
|
2653 |
-
#: ../includes/class-settings.php:
|
2654 |
#, php-format
|
2655 |
msgid ""
|
2656 |
"Enter your license key to activate %s extension and enable automatic upgrade "
|
@@ -2803,8 +2817,8 @@ msgid ""
|
|
2803 |
"lightbox plugin and a powerful gallery builder for WordPress."
|
2804 |
msgstr ""
|
2805 |
|
2806 |
-
#: ../includes/class-welcome.php:69 ../responsive-lightbox.php:
|
2807 |
-
#: ../responsive-lightbox.php:
|
2808 |
msgid "Settings"
|
2809 |
msgstr ""
|
2810 |
|
@@ -2878,7 +2892,7 @@ msgstr ""
|
|
2878 |
msgid "Image date"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
-
#: ../includes/class-widgets.php:94 ../responsive-lightbox.php:
|
2882 |
msgid "Default"
|
2883 |
msgstr ""
|
2884 |
|
@@ -2942,7 +2956,7 @@ msgstr ""
|
|
2942 |
msgid "Justify"
|
2943 |
msgstr ""
|
2944 |
|
2945 |
-
#: ../includes/class-widgets.php:462 ../responsive-lightbox.php:
|
2946 |
msgid "Select image"
|
2947 |
msgstr ""
|
2948 |
|
@@ -3032,81 +3046,81 @@ msgstr ""
|
|
3032 |
msgid "Enable Wikimedia."
|
3033 |
msgstr ""
|
3034 |
|
3035 |
-
#: ../responsive-lightbox.php:
|
3036 |
msgid "Publish Galleries"
|
3037 |
msgstr ""
|
3038 |
|
3039 |
-
#: ../responsive-lightbox.php:
|
3040 |
msgid "Edit Galleries"
|
3041 |
msgstr ""
|
3042 |
|
3043 |
-
#: ../responsive-lightbox.php:
|
3044 |
msgid "Edit Published Galleries"
|
3045 |
msgstr ""
|
3046 |
|
3047 |
-
#: ../responsive-lightbox.php:
|
3048 |
msgid "Edit Others Galleries"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
-
#: ../responsive-lightbox.php:
|
3052 |
msgid "Edit Private Galleries"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
-
#: ../responsive-lightbox.php:
|
3056 |
msgid "Delete Galleries"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
-
#: ../responsive-lightbox.php:
|
3060 |
msgid "Delete Published Galleries"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
-
#: ../responsive-lightbox.php:
|
3064 |
msgid "Delete Others Galleries"
|
3065 |
msgstr ""
|
3066 |
|
3067 |
-
#: ../responsive-lightbox.php:
|
3068 |
msgid "Delete Private Galleries"
|
3069 |
msgstr ""
|
3070 |
|
3071 |
-
#: ../responsive-lightbox.php:
|
3072 |
msgid "Read Private Galleries"
|
3073 |
msgstr ""
|
3074 |
|
3075 |
-
#: ../responsive-lightbox.php:
|
3076 |
msgid "Manage Gallery Categories"
|
3077 |
msgstr ""
|
3078 |
|
3079 |
-
#: ../responsive-lightbox.php:
|
3080 |
msgid "Manage Gallery Tags"
|
3081 |
msgstr ""
|
3082 |
|
3083 |
-
#: ../responsive-lightbox.php:
|
3084 |
msgid "Manage Settings"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#: ../responsive-lightbox.php:
|
3088 |
#, php-format
|
3089 |
msgid ""
|
3090 |
"Hey, you've been using <strong>Responsive Lightbox & Gallery</strong> for "
|
3091 |
"more than %s"
|
3092 |
msgstr ""
|
3093 |
|
3094 |
-
#: ../responsive-lightbox.php:
|
3095 |
msgid ""
|
3096 |
"Could you please do me a BIG favor and give it a 5-star rating on WordPress "
|
3097 |
"to help us spread the word and boost our motivation."
|
3098 |
msgstr ""
|
3099 |
|
3100 |
-
#: ../responsive-lightbox.php:
|
3101 |
msgid "Your help is much appreciated. Thank you very much"
|
3102 |
msgstr ""
|
3103 |
|
3104 |
-
#: ../responsive-lightbox.php:
|
3105 |
#, php-format
|
3106 |
msgid "founder of <a href=\"%s\" target=\"_blank\">dFactory</a> plugins."
|
3107 |
msgstr ""
|
3108 |
|
3109 |
-
#: ../responsive-lightbox.php:
|
3110 |
#, php-format
|
3111 |
msgid ""
|
3112 |
"<a href=\"%s\" class=\"rl-dismissible-notice\" target=\"_blank\" rel="
|
@@ -3116,296 +3130,296 @@ msgid ""
|
|
3116 |
"\" rel=\"noopener\">I already did</a>"
|
3117 |
msgstr ""
|
3118 |
|
3119 |
-
#: ../responsive-lightbox.php:
|
3120 |
msgid "Support"
|
3121 |
msgstr ""
|
3122 |
|
3123 |
-
#: ../responsive-lightbox.php:
|
3124 |
msgid "We're sorry to see you go. Could you please tell us what happened?"
|
3125 |
msgstr ""
|
3126 |
|
3127 |
-
#: ../responsive-lightbox.php:
|
3128 |
msgid "I couldn't figure out how to make it work."
|
3129 |
msgstr ""
|
3130 |
|
3131 |
-
#: ../responsive-lightbox.php:
|
3132 |
msgid "I found another plugin to use for the same task."
|
3133 |
msgstr ""
|
3134 |
|
3135 |
-
#: ../responsive-lightbox.php:
|
3136 |
msgid "The User Interface is not clear to me."
|
3137 |
msgstr ""
|
3138 |
|
3139 |
-
#: ../responsive-lightbox.php:
|
3140 |
msgid "The plugin is not what I was looking for."
|
3141 |
msgstr ""
|
3142 |
|
3143 |
-
#: ../responsive-lightbox.php:
|
3144 |
msgid "Support isn't timely."
|
3145 |
msgstr ""
|
3146 |
|
3147 |
-
#: ../responsive-lightbox.php:
|
3148 |
msgid "Other"
|
3149 |
msgstr ""
|
3150 |
|
3151 |
-
#: ../responsive-lightbox.php:
|
3152 |
msgid "Deactivate"
|
3153 |
msgstr ""
|
3154 |
|
3155 |
-
#: ../responsive-lightbox.php:
|
3156 |
msgid "Deactivate & Submit"
|
3157 |
msgstr ""
|
3158 |
|
3159 |
-
#: ../responsive-lightbox.php:
|
3160 |
msgid "Search Gallery Categories"
|
3161 |
msgstr ""
|
3162 |
|
3163 |
-
#: ../responsive-lightbox.php:
|
3164 |
msgid "All Gallery Categories"
|
3165 |
msgstr ""
|
3166 |
|
3167 |
-
#: ../responsive-lightbox.php:
|
3168 |
msgid "Parent Gallery Category"
|
3169 |
msgstr ""
|
3170 |
|
3171 |
-
#: ../responsive-lightbox.php:
|
3172 |
msgid "Parent Gallery Category:"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: ../responsive-lightbox.php:
|
3176 |
msgid "Edit Gallery Category"
|
3177 |
msgstr ""
|
3178 |
|
3179 |
-
#: ../responsive-lightbox.php:
|
3180 |
msgid "View Gallery Category"
|
3181 |
msgstr ""
|
3182 |
|
3183 |
-
#: ../responsive-lightbox.php:
|
3184 |
msgid "Update Gallery Category"
|
3185 |
msgstr ""
|
3186 |
|
3187 |
-
#: ../responsive-lightbox.php:
|
3188 |
msgid "Add New Gallery Category"
|
3189 |
msgstr ""
|
3190 |
|
3191 |
-
#: ../responsive-lightbox.php:
|
3192 |
msgid "New Gallery Category Name"
|
3193 |
msgstr ""
|
3194 |
|
3195 |
-
#: ../responsive-lightbox.php:
|
3196 |
msgid "Search Gallery Tags"
|
3197 |
msgstr ""
|
3198 |
|
3199 |
-
#: ../responsive-lightbox.php:
|
3200 |
msgid "Popular Gallery Tags"
|
3201 |
msgstr ""
|
3202 |
|
3203 |
-
#: ../responsive-lightbox.php:
|
3204 |
msgid "All Gallery Tags"
|
3205 |
msgstr ""
|
3206 |
|
3207 |
-
#: ../responsive-lightbox.php:
|
3208 |
msgid "Edit Gallery Tag"
|
3209 |
msgstr ""
|
3210 |
|
3211 |
-
#: ../responsive-lightbox.php:
|
3212 |
msgid "Update Gallery Tag"
|
3213 |
msgstr ""
|
3214 |
|
3215 |
-
#: ../responsive-lightbox.php:
|
3216 |
msgid "Add New Gallery Tag"
|
3217 |
msgstr ""
|
3218 |
|
3219 |
-
#: ../responsive-lightbox.php:
|
3220 |
msgid "New Gallery Tag Name"
|
3221 |
msgstr ""
|
3222 |
|
3223 |
-
#: ../responsive-lightbox.php:
|
3224 |
msgid "Separate gallery tags with commas"
|
3225 |
msgstr ""
|
3226 |
|
3227 |
-
#: ../responsive-lightbox.php:
|
3228 |
msgid "Add or remove gallery tags"
|
3229 |
msgstr ""
|
3230 |
|
3231 |
-
#: ../responsive-lightbox.php:
|
3232 |
msgid "Choose from the most used gallery tags"
|
3233 |
msgstr ""
|
3234 |
|
3235 |
-
#: ../responsive-lightbox.php:
|
3236 |
msgid "Add New"
|
3237 |
msgstr ""
|
3238 |
|
3239 |
-
#: ../responsive-lightbox.php:
|
3240 |
msgid "Add New Gallery"
|
3241 |
msgstr ""
|
3242 |
|
3243 |
-
#: ../responsive-lightbox.php:
|
3244 |
msgid "Edit Gallery"
|
3245 |
msgstr ""
|
3246 |
|
3247 |
-
#: ../responsive-lightbox.php:
|
3248 |
msgid "New Gallery"
|
3249 |
msgstr ""
|
3250 |
|
3251 |
-
#: ../responsive-lightbox.php:
|
3252 |
msgid "View Gallery"
|
3253 |
msgstr ""
|
3254 |
|
3255 |
-
#: ../responsive-lightbox.php:
|
3256 |
msgid "View Galleries"
|
3257 |
msgstr ""
|
3258 |
|
3259 |
-
#: ../responsive-lightbox.php:
|
3260 |
msgid "Search Galleries"
|
3261 |
msgstr ""
|
3262 |
|
3263 |
-
#: ../responsive-lightbox.php:
|
3264 |
msgid "No galleries found"
|
3265 |
msgstr ""
|
3266 |
|
3267 |
-
#: ../responsive-lightbox.php:
|
3268 |
msgid "No galleries found in trash"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
-
#: ../responsive-lightbox.php:
|
3272 |
msgid "All Galleries"
|
3273 |
msgstr ""
|
3274 |
|
3275 |
-
#: ../responsive-lightbox.php:
|
3276 |
msgid "New gallery"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
-
#: ../responsive-lightbox.php:
|
3280 |
msgid "Edit category"
|
3281 |
msgstr ""
|
3282 |
|
3283 |
-
#: ../responsive-lightbox.php:
|
3284 |
msgid "Edit tag"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
-
#: ../responsive-lightbox.php:
|
3288 |
msgid "Gallery updated."
|
3289 |
msgstr ""
|
3290 |
|
3291 |
-
#: ../responsive-lightbox.php:
|
3292 |
#, php-format
|
3293 |
msgid "Gallery restored to revision from %s"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
-
#: ../responsive-lightbox.php:
|
3297 |
msgid "Gallery published."
|
3298 |
msgstr ""
|
3299 |
|
3300 |
-
#: ../responsive-lightbox.php:
|
3301 |
msgid "Gallery saved."
|
3302 |
msgstr ""
|
3303 |
|
3304 |
-
#: ../responsive-lightbox.php:
|
3305 |
msgid "Gallery submitted."
|
3306 |
msgstr ""
|
3307 |
|
3308 |
-
#: ../responsive-lightbox.php:
|
3309 |
#, php-format
|
3310 |
msgid "Gallery scheduled for: <strong>%1$s</strong>."
|
3311 |
msgstr ""
|
3312 |
|
3313 |
-
#: ../responsive-lightbox.php:
|
3314 |
msgid "M j, Y @ G:i"
|
3315 |
msgstr ""
|
3316 |
|
3317 |
-
#: ../responsive-lightbox.php:
|
3318 |
msgid "Gallery draft updated."
|
3319 |
msgstr ""
|
3320 |
|
3321 |
-
#: ../responsive-lightbox.php:
|
3322 |
msgid "View gallery"
|
3323 |
msgstr ""
|
3324 |
|
3325 |
-
#: ../responsive-lightbox.php:
|
3326 |
msgid "Preview gallery"
|
3327 |
msgstr ""
|
3328 |
|
3329 |
-
#: ../responsive-lightbox.php:
|
3330 |
msgid "Search Tags"
|
3331 |
msgstr ""
|
3332 |
|
3333 |
-
#: ../responsive-lightbox.php:
|
3334 |
msgid "All Tags"
|
3335 |
msgstr ""
|
3336 |
|
3337 |
-
#: ../responsive-lightbox.php:
|
3338 |
msgid "Edit Tag"
|
3339 |
msgstr ""
|
3340 |
|
3341 |
-
#: ../responsive-lightbox.php:
|
3342 |
msgid "Update Tag"
|
3343 |
msgstr ""
|
3344 |
|
3345 |
-
#: ../responsive-lightbox.php:
|
3346 |
msgid "Add New Tag"
|
3347 |
msgstr ""
|
3348 |
|
3349 |
-
#: ../responsive-lightbox.php:
|
3350 |
msgid "New Tag Name"
|
3351 |
msgstr ""
|
3352 |
|
3353 |
-
#: ../responsive-lightbox.php:
|
3354 |
msgid "No tags found."
|
3355 |
msgstr ""
|
3356 |
|
3357 |
-
#: ../responsive-lightbox.php:
|
3358 |
msgid "Search Folders"
|
3359 |
msgstr ""
|
3360 |
|
3361 |
-
#: ../responsive-lightbox.php:
|
3362 |
msgid "Parent Folder"
|
3363 |
msgstr ""
|
3364 |
|
3365 |
-
#: ../responsive-lightbox.php:
|
3366 |
msgid "Parent Folder:"
|
3367 |
msgstr ""
|
3368 |
|
3369 |
-
#: ../responsive-lightbox.php:
|
3370 |
msgid "Edit Folder"
|
3371 |
msgstr ""
|
3372 |
|
3373 |
-
#: ../responsive-lightbox.php:
|
3374 |
msgid "Update Folder"
|
3375 |
msgstr ""
|
3376 |
|
3377 |
-
#: ../responsive-lightbox.php:
|
3378 |
msgid "Add New Folder"
|
3379 |
msgstr ""
|
3380 |
|
3381 |
-
#: ../responsive-lightbox.php:
|
3382 |
msgid "New Folder Name"
|
3383 |
msgstr ""
|
3384 |
|
3385 |
-
#: ../responsive-lightbox.php:
|
3386 |
msgid "No folders found."
|
3387 |
msgstr ""
|
3388 |
|
3389 |
-
#: ../responsive-lightbox.php:
|
3390 |
msgid "Are you sure you want to reset these settings to defaults?"
|
3391 |
msgstr ""
|
3392 |
|
3393 |
-
#: ../responsive-lightbox.php:
|
3394 |
msgid "Use these images"
|
3395 |
msgstr ""
|
3396 |
|
3397 |
-
#: ../responsive-lightbox.php:
|
3398 |
msgid "Edit attachment"
|
3399 |
msgstr ""
|
3400 |
|
3401 |
-
#: ../responsive-lightbox.php:
|
3402 |
msgid "Save attachment"
|
3403 |
msgstr ""
|
3404 |
|
3405 |
-
#: ../responsive-lightbox.php:
|
3406 |
msgid "Responsive Lightbox & Gallery - Deactivation survey"
|
3407 |
msgstr ""
|
3408 |
|
3409 |
-
#: ../responsive-lightbox.php:
|
3410 |
msgid "Use this image"
|
3411 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Responsive Lightbox\n"
|
5 |
+
"POT-Creation-Date: 2021-02-19 13:28+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"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
+
#: ../includes/class-folders.php:181 ../includes/class-folders.php:195
|
20 |
+
#: ../includes/class-folders.php:247 ../includes/class-folders.php:261
|
21 |
+
#: ../includes/class-folders.php:440 ../includes/class-folders.php:1085
|
22 |
+
#: ../includes/class-folders.php:1109 ../includes/class-folders.php:1140
|
23 |
+
#: ../includes/class-galleries.php:1181
|
24 |
msgid "Root Folder"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: ../includes/class-folders.php:266
|
28 |
msgid "Upload files to"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: ../includes/class-folders.php:307 ../includes/class-folders.php:319
|
32 |
+
#: ../includes/class-folders.php:1082 ../includes/class-folders.php:1114
|
33 |
+
#: ../includes/class-folders.php:1141 ../includes/class-folders.php:1150
|
34 |
+
#: ../responsive-lightbox.php:1550
|
35 |
msgid "All Files"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: ../includes/class-folders.php:1142
|
39 |
msgid "New Folder"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../includes/class-folders.php:1143
|
43 |
msgid "Are you sure you want to delete this folder?"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../includes/class-folders.php:1144
|
47 |
msgid "Are you sure you want to delete this folder with all subfolders?"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: ../includes/class-folders.php:1166
|
51 |
#, php-format
|
52 |
msgid "Save new %s"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: ../includes/class-folders.php:1167
|
56 |
#, php-format
|
57 |
msgid "Cancel adding new %s"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../includes/class-folders.php:1169
|
61 |
#, php-format
|
62 |
msgid "Save %s"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: ../includes/class-folders.php:1170
|
66 |
#, php-format
|
67 |
msgid "Cancel renaming %s"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: ../includes/class-folders.php:1171
|
71 |
#, php-format
|
72 |
msgid "Delete %s"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../includes/class-folders.php:1172
|
76 |
#, php-format
|
77 |
msgid "Expand %s"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: ../includes/class-folders.php:1173
|
81 |
#, php-format
|
82 |
msgid "Collapse %s"
|
83 |
msgstr ""
|
107 |
msgstr ""
|
108 |
|
109 |
#: ../includes/class-frontend.php:581 ../includes/class-galleries.php:160
|
110 |
+
#: ../includes/class-settings.php:150 ../includes/class-settings.php:650
|
111 |
+
#: ../includes/class-settings.php:709 ../includes/class-widgets.php:93
|
112 |
#: ../includes/class-widgets.php:340 ../includes/class-widgets.php:347
|
113 |
msgid "None"
|
114 |
msgstr ""
|
171 |
msgid "Specify the number of columns."
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: ../includes/class-galleries.php:85 ../includes/class-galleries.php:3640
|
175 |
msgid "Status"
|
176 |
msgstr ""
|
177 |
|
179 |
msgid "Edit image"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: ../includes/class-galleries.php:87 ../responsive-lightbox.php:1734
|
183 |
msgid "Remove image"
|
184 |
msgstr ""
|
185 |
|
196 |
msgid "The settings below adjust the contents of the gallery."
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: ../includes/class-galleries.php:115 ../includes/class-galleries.php:4074
|
200 |
msgid "Media Library"
|
201 |
msgstr ""
|
202 |
|
228 |
msgid "The settings below adjust the gallery pagination options."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: ../includes/class-galleries.php:133 ../includes/class-settings.php:1840
|
232 |
msgid "Lightbox"
|
233 |
msgstr ""
|
234 |
|
248 |
msgid "Media Folders"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: ../includes/class-galleries.php:147 ../includes/class-settings.php:499
|
252 |
+
#: ../includes/class-settings.php:1028
|
253 |
msgid "Remote Library"
|
254 |
msgstr ""
|
255 |
|
413 |
msgid "Enter the search phrase."
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: ../includes/class-galleries.php:361 ../includes/class-settings.php:491
|
417 |
msgid "Media Providers"
|
418 |
msgstr ""
|
419 |
|
663 |
msgid "Duplicate"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: ../includes/class-galleries.php:947
|
667 |
msgid "Add Gallery"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: ../includes/class-galleries.php:1011 ../includes/class-galleries.php:1012
|
671 |
msgid "All categories"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: ../includes/class-galleries.php:1031 ../includes/class-tour.php:255
|
675 |
msgid "Close"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: ../includes/class-galleries.php:1035
|
679 |
msgid "Insert Gallery"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: ../includes/class-galleries.php:1035
|
683 |
msgid "Reload"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: ../includes/class-galleries.php:1050
|
687 |
msgid "Search galleries"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: ../includes/class-galleries.php:1056
|
691 |
msgid "Select A Gallery"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: ../includes/class-galleries.php:1057
|
695 |
msgid "To select a gallery simply click on one of the boxes to the left."
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: ../includes/class-galleries.php:1058
|
699 |
msgid ""
|
700 |
"To insert your gallery into the editor, click on the \"Insert Gallery\" "
|
701 |
"button below."
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: ../includes/class-galleries.php:1068 ../responsive-lightbox.php:1287
|
705 |
msgid "Edit gallery"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: ../includes/class-galleries.php:1078
|
709 |
msgid "Insert gallery into post"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: ../includes/class-galleries.php:1079
|
713 |
msgid "Select gallery"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: ../includes/class-galleries.php:1080 ../responsive-lightbox.php:976
|
717 |
msgid "Cancel"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: ../includes/class-galleries.php:1295 ../includes/class-widgets.php:140
|
721 |
+
#: ../responsive-lightbox.php:1611 ../responsive-lightbox.php:1735
|
722 |
msgid "Select images"
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: ../includes/class-galleries.php:1331
|
726 |
msgid "Update preview"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: ../includes/class-galleries.php:1423
|
730 |
msgid "First page"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: ../includes/class-galleries.php:1434
|
734 |
msgid "Previous page"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: ../includes/class-galleries.php:1441
|
738 |
msgid "Current Page"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: ../includes/class-galleries.php:1456
|
742 |
msgid "Next page"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: ../includes/class-galleries.php:1467
|
746 |
msgid "Last page"
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: ../includes/class-galleries.php:1838
|
750 |
#, php-format
|
751 |
msgid "Gallery %s"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: ../includes/class-galleries.php:1842
|
755 |
msgid "Gallery Code"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: ../includes/class-galleries.php:1881
|
759 |
msgid "Remote Library is disabled. Enable it in the settings."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: ../includes/class-galleries.php:1885
|
763 |
msgid "Media Folders are disabled. Enable it in the settings."
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: ../includes/class-galleries.php:1987
|
767 |
msgid "No data"
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: ../includes/class-galleries.php:2501
|
771 |
msgid "« Previous"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: ../includes/class-galleries.php:2502
|
775 |
msgid "Next »"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: ../includes/class-galleries.php:2632
|
779 |
msgid "(no title)"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: ../includes/class-galleries.php:2646
|
783 |
msgid "Deselect"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: ../includes/class-galleries.php:3551
|
787 |
msgid "Untitled"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: ../includes/class-galleries.php:3632
|
791 |
msgid "Aside"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: ../includes/class-galleries.php:3633
|
795 |
msgid "Audio"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: ../includes/class-galleries.php:3634
|
799 |
msgid "Chat"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: ../includes/class-galleries.php:3635 ../includes/class-galleries.php:3937
|
803 |
#: ../includes/class-widgets.php:57 ../includes/class-widgets.php:65
|
804 |
+
#: ../responsive-lightbox.php:1162
|
805 |
msgid "Gallery"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: ../includes/class-galleries.php:3636
|
809 |
msgid "Link"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: ../includes/class-galleries.php:3637
|
813 |
msgid "Photo"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: ../includes/class-galleries.php:3638
|
817 |
msgid "Quote"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: ../includes/class-galleries.php:3639
|
821 |
msgid "Standard"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: ../includes/class-galleries.php:3641
|
825 |
msgid "Video"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: ../includes/class-galleries.php:3742
|
829 |
msgid "Default Template"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: ../includes/class-galleries.php:3917
|
833 |
msgid ""
|
834 |
"You can place this gallery anywhere into your posts, pages, custom post "
|
835 |
"types or widgets by using the shortcode below"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: ../includes/class-galleries.php:3919
|
839 |
msgid ""
|
840 |
"You can also place this gallery into your template files by using the "
|
841 |
"template tag below"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: ../includes/class-galleries.php:3946
|
845 |
msgid "Shortcode"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: ../includes/class-galleries.php:3947
|
849 |
msgid "Type"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: ../includes/class-galleries.php:3948
|
853 |
msgid "Source"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: ../includes/class-galleries.php:4072
|
857 |
msgid "Select gallery featured image source:"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: ../includes/class-galleries.php:4073
|
861 |
msgid "First gallery image"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: ../includes/class-galleries.php:4075 ../includes/class-widgets.php:343
|
865 |
msgid "Custom URL"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: ../includes/class-galleries.php:4081
|
869 |
msgid "Custom featured image URL"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: ../includes/class-galleries.php:4083
|
873 |
msgid "Dynamically generated first gallery image"
|
874 |
msgstr ""
|
875 |
|
998 |
msgstr ""
|
999 |
|
1000 |
#: ../includes/class-settings.php:99 ../includes/class-settings.php:121
|
1001 |
+
#: ../includes/class-settings.php:1580
|
1002 |
msgid "fade"
|
1003 |
msgstr ""
|
1004 |
|
1167 |
msgid "Display single post images as a gallery."
|
1168 |
msgstr ""
|
1169 |
|
1170 |
+
#: ../includes/class-settings.php:235 ../includes/class-settings.php:997
|
1171 |
+
#: ../responsive-lightbox.php:1276 ../responsive-lightbox.php:1282
|
1172 |
+
#: ../responsive-lightbox.php:1293 ../responsive-lightbox.php:1304
|
1173 |
msgid "Galleries"
|
1174 |
msgstr ""
|
1175 |
|
1315 |
msgid "Delete all plugin settings on deactivation."
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: ../includes/class-settings.php:350
|
1319 |
+
msgid ""
|
1320 |
+
"Enable this to delete all plugin settings and also delete all plugin "
|
1321 |
+
"capabilities from all users on deactivation."
|
1322 |
+
msgstr ""
|
1323 |
+
|
1324 |
+
#: ../includes/class-settings.php:359
|
1325 |
msgid "Gallery Builder Settings"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: ../includes/class-settings.php:365 ../includes/class-tour.php:102
|
1329 |
msgid "Gallery Builder"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: ../includes/class-settings.php:368
|
1333 |
msgid "Enable advanced gallery builder."
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: ../includes/class-settings.php:371 ../responsive-lightbox.php:1077
|
1337 |
+
#: ../responsive-lightbox.php:1313 ../responsive-lightbox.php:1324
|
1338 |
msgid "Categories"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
+
#: ../includes/class-settings.php:374
|
1342 |
msgid "Enable Gallery Categories."
|
1343 |
msgstr ""
|
1344 |
|
1345 |
+
#: ../includes/class-settings.php:375
|
1346 |
msgid "Enable if you want to use Gallery Categories."
|
1347 |
msgstr ""
|
1348 |
|
1349 |
+
#: ../includes/class-settings.php:378 ../responsive-lightbox.php:1123
|
1350 |
+
#: ../responsive-lightbox.php:1333 ../responsive-lightbox.php:1344
|
1351 |
msgid "Tags"
|
1352 |
msgstr ""
|
1353 |
|
1354 |
+
#: ../includes/class-settings.php:381
|
1355 |
msgid "Enable Gallery Tags."
|
1356 |
msgstr ""
|
1357 |
|
1358 |
+
#: ../includes/class-settings.php:382
|
1359 |
msgid "Enable if you want to use Gallery Tags."
|
1360 |
msgstr ""
|
1361 |
|
1362 |
+
#: ../includes/class-settings.php:385
|
1363 |
msgid "Gallery Permalink"
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: ../includes/class-settings.php:388
|
1367 |
msgid "Enter gallery page slug."
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: ../includes/class-settings.php:391
|
1371 |
msgid "Categories Permalink"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: ../includes/class-settings.php:394
|
1375 |
msgid "Enter gallery categories archive page slug."
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: ../includes/class-settings.php:397
|
1379 |
msgid "Tags Permalink"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
+
#: ../includes/class-settings.php:400
|
1383 |
msgid "Enter gallery tags archive page slug."
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: ../includes/class-settings.php:403
|
1387 |
msgid "Archives"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: ../includes/class-settings.php:406
|
1391 |
msgid "Enable gallery archives."
|
1392 |
msgstr ""
|
1393 |
|
1394 |
+
#: ../includes/class-settings.php:409
|
1395 |
msgid "Archives category"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: ../includes/class-settings.php:412
|
1399 |
msgid "Select category for gallery archives."
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: ../includes/class-settings.php:414 ../includes/class-settings.php:673
|
1403 |
msgid "All"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: ../includes/class-settings.php:424 ../includes/class-tour.php:196
|
1407 |
msgid "Folders Settings"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: ../includes/class-settings.php:430 ../includes/class-settings.php:441
|
1411 |
+
#: ../includes/class-settings.php:1014
|
1412 |
msgid "Folders"
|
1413 |
msgstr ""
|
1414 |
|
1415 |
+
#: ../includes/class-settings.php:433
|
1416 |
msgid "Enable media folders."
|
1417 |
msgstr ""
|
1418 |
|
1419 |
+
#: ../includes/class-settings.php:436
|
1420 |
msgid "Media taxonomy"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: ../includes/class-settings.php:439
|
1424 |
msgid "Select media taxonomy."
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: ../includes/class-settings.php:439
|
1428 |
msgid ""
|
1429 |
"If you have ever used custom media taxonomies you may try to <a id="
|
1430 |
"\"rl_folders_load_old_taxonomies\" href=\"#\">load and use them.</a>"
|
1431 |
msgstr ""
|
1432 |
|
1433 |
+
#: ../includes/class-settings.php:444
|
1434 |
msgid "Media tags"
|
1435 |
msgstr ""
|
1436 |
|
1437 |
+
#: ../includes/class-settings.php:447
|
1438 |
msgid "Enable media tags."
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: ../includes/class-settings.php:448
|
1442 |
msgid "Enable if you want to use media tags."
|
1443 |
msgstr ""
|
1444 |
|
1445 |
+
#: ../includes/class-settings.php:451
|
1446 |
msgid "Show in menu"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
+
#: ../includes/class-settings.php:454
|
1450 |
msgid "Enable to show the taxonomy in the admin menu."
|
1451 |
msgstr ""
|
1452 |
|
1453 |
+
#: ../includes/class-settings.php:457
|
1454 |
msgid "Subfolder removal"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
+
#: ../includes/class-settings.php:460
|
1458 |
msgid "Select to remove subfolders when parent folder is deleted."
|
1459 |
msgstr ""
|
1460 |
|
1461 |
+
#: ../includes/class-settings.php:476
|
1462 |
msgid "Whole row"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
+
#: ../includes/class-settings.php:479
|
1466 |
msgid "Enable to highlight folder's row as a clickable area."
|
1467 |
msgstr ""
|
1468 |
|
1469 |
+
#: ../includes/class-settings.php:488 ../includes/class-tour.php:214
|
1470 |
msgid "Remote Library Settings"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: ../includes/class-settings.php:502
|
1474 |
msgid "Enable remote libraries."
|
1475 |
msgstr ""
|
1476 |
|
1477 |
+
#: ../includes/class-settings.php:503
|
1478 |
msgid "Check this to enable remote access to the following image libraries."
|
1479 |
msgstr ""
|
1480 |
|
1481 |
+
#: ../includes/class-settings.php:506
|
1482 |
msgid "Caching"
|
1483 |
msgstr ""
|
1484 |
|
1485 |
+
#: ../includes/class-settings.php:509
|
1486 |
msgid "Enable remote library requests caching."
|
1487 |
msgstr ""
|
1488 |
|
1489 |
+
#: ../includes/class-settings.php:512
|
1490 |
msgid "Cache expiry"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
+
#: ../includes/class-settings.php:516
|
1494 |
msgid "Enter the cache expiry time."
|
1495 |
msgstr ""
|
1496 |
|
1497 |
+
#: ../includes/class-settings.php:517
|
1498 |
msgid "hour(s)"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
+
#: ../includes/class-settings.php:526 ../includes/class-settings.php:1062
|
1502 |
#, php-format
|
1503 |
msgid "%s Settings"
|
1504 |
msgstr ""
|
1507 |
msgid "Capabilities Settings"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
+
#: ../includes/class-settings.php:548 ../includes/class-settings.php:1021
|
1511 |
+
msgid "Capabilities"
|
1512 |
+
msgstr ""
|
1513 |
+
|
1514 |
+
#: ../includes/class-settings.php:551
|
1515 |
+
msgid "Enable advanced capability management."
|
1516 |
+
msgstr ""
|
1517 |
+
|
1518 |
+
#: ../includes/class-settings.php:552
|
1519 |
+
msgid "Check this to enable access to plugin features for selected user roles."
|
1520 |
+
msgstr ""
|
1521 |
+
|
1522 |
+
#: ../includes/class-settings.php:561
|
1523 |
msgid "Basic Grid Gallery Settings"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
+
#: ../includes/class-settings.php:567 ../includes/class-settings.php:843
|
1527 |
msgid "Screen sizes"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: ../includes/class-settings.php:570 ../includes/class-settings.php:846
|
1531 |
msgid ""
|
1532 |
"Number of columns in a gallery depending on the device screen size. (if "
|
1533 |
"greater than 0 overrides the Columns option)"
|
1534 |
msgstr ""
|
1535 |
|
1536 |
+
#: ../includes/class-settings.php:576 ../includes/class-settings.php:853
|
1537 |
msgid "large devices / desktops (≥1200px)"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
+
#: ../includes/class-settings.php:582 ../includes/class-settings.php:860
|
1541 |
msgid "medium devices / desktops (≥992px)"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: ../includes/class-settings.php:588 ../includes/class-settings.php:867
|
1545 |
msgid "small devices / tablets (≥768px)"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: ../includes/class-settings.php:594 ../includes/class-settings.php:874
|
1549 |
msgid "extra small devices / phones (<768px)"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: ../includes/class-settings.php:599 ../includes/class-settings.php:879
|
1553 |
msgid "Gutter"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: ../includes/class-settings.php:603
|
1557 |
msgid "Set the pixel width between the columns and rows."
|
1558 |
msgstr ""
|
1559 |
|
1560 |
+
#: ../includes/class-settings.php:607
|
1561 |
msgid "Force height"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
+
#: ../includes/class-settings.php:610
|
1565 |
msgid "Enable to force the thumbnail row height."
|
1566 |
msgstr ""
|
1567 |
|
1568 |
+
#: ../includes/class-settings.php:613
|
1569 |
msgid "Row height"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: ../includes/class-settings.php:617
|
1573 |
msgid ""
|
1574 |
"Enter the thumbnail row height in pixels (used if Force height is enabled). "
|
1575 |
"Defaults to 150px."
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: ../includes/class-settings.php:627
|
1579 |
msgid "Basic Slider Gallery Settings"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: ../includes/class-settings.php:633
|
1583 |
msgid "Adaptive Height"
|
1584 |
msgstr ""
|
1585 |
|
1586 |
+
#: ../includes/class-settings.php:636
|
1587 |
msgid ""
|
1588 |
"The slider height should change on the fly according to the current slide."
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: ../includes/class-settings.php:639
|
1592 |
msgid "Loop"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
+
#: ../includes/class-settings.php:642
|
1596 |
msgid ""
|
1597 |
"Whether the slider should loop (i.e. the first slide goes to the last, the "
|
1598 |
"last slide goes to the first)."
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: ../includes/class-settings.php:645
|
1602 |
msgid "Captions Position"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: ../includes/class-settings.php:648
|
1606 |
msgid "Specifies the position of captions or no captions at all."
|
1607 |
msgstr ""
|
1608 |
|
1609 |
+
#: ../includes/class-settings.php:651
|
1610 |
msgid "Overlay"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
+
#: ../includes/class-settings.php:652
|
1614 |
msgid "Below"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: ../includes/class-settings.php:656
|
1618 |
msgid "Single Image Slider"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: ../includes/class-settings.php:659
|
1622 |
msgid ""
|
1623 |
"Whether the slider should initialize even if there is only one slide element."
|
1624 |
msgstr ""
|
1625 |
|
1626 |
+
#: ../includes/class-settings.php:662
|
1627 |
msgid "Responsive"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
+
#: ../includes/class-settings.php:665
|
1631 |
msgid "Whether the slider should be responsive."
|
1632 |
msgstr ""
|
1633 |
|
1634 |
+
#: ../includes/class-settings.php:668
|
1635 |
msgid "Preload"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
+
#: ../includes/class-settings.php:671
|
1639 |
msgid "Elements that are preloaded before slider shows."
|
1640 |
msgstr ""
|
1641 |
|
1642 |
+
#: ../includes/class-settings.php:674
|
1643 |
msgid "Only visible"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
+
#: ../includes/class-settings.php:678
|
1647 |
msgid "Pager"
|
1648 |
msgstr ""
|
1649 |
|
1650 |
+
#: ../includes/class-settings.php:681
|
1651 |
msgid "Whether the slider should have a pager."
|
1652 |
msgstr ""
|
1653 |
|
1654 |
+
#: ../includes/class-settings.php:684
|
1655 |
msgid "Controls"
|
1656 |
msgstr ""
|
1657 |
|
1658 |
+
#: ../includes/class-settings.php:687
|
1659 |
msgid "Whether the slider should have controls (next, previous arrows)."
|
1660 |
msgstr ""
|
1661 |
|
1662 |
+
#: ../includes/class-settings.php:690
|
1663 |
msgid "Hide Controls on End"
|
1664 |
msgstr ""
|
1665 |
|
1666 |
+
#: ../includes/class-settings.php:693
|
1667 |
msgid ""
|
1668 |
"Hide the previous or next control when it reaches the first or last slide "
|
1669 |
"respectively."
|
1670 |
msgstr ""
|
1671 |
|
1672 |
+
#: ../includes/class-settings.php:696
|
1673 |
msgid "Slide Margin"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: ../includes/class-settings.php:700
|
1677 |
msgid "The spacing between slides."
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: ../includes/class-settings.php:704
|
1681 |
msgid "Transition"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
+
#: ../includes/class-settings.php:707
|
1685 |
msgid "Transition type to use, or no transitions."
|
1686 |
msgstr ""
|
1687 |
|
1688 |
+
#: ../includes/class-settings.php:710
|
1689 |
msgid "Fade"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
+
#: ../includes/class-settings.php:711
|
1693 |
msgid "Horizontal"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
+
#: ../includes/class-settings.php:712
|
1697 |
msgid "Vertical"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
+
#: ../includes/class-settings.php:713
|
1701 |
msgid "Ken Burns"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
+
#: ../includes/class-settings.php:717
|
1705 |
msgid "Ken Burns Zoom"
|
1706 |
msgstr ""
|
1707 |
|
1708 |
+
#: ../includes/class-settings.php:721
|
1709 |
msgid "Max zoom level use for the Ken Burns transition."
|
1710 |
msgstr ""
|
1711 |
|
1712 |
+
#: ../includes/class-settings.php:725
|
1713 |
msgid "Transition Speed"
|
1714 |
msgstr ""
|
1715 |
|
1716 |
+
#: ../includes/class-settings.php:729
|
1717 |
msgid "The time the transition takes to complete."
|
1718 |
msgstr ""
|
1719 |
|
1720 |
+
#: ../includes/class-settings.php:733
|
1721 |
msgid "Easing Effect"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: ../includes/class-settings.php:736
|
1725 |
msgid "The easing effect to use for the selected transition."
|
1726 |
msgstr ""
|
1727 |
|
1728 |
+
#: ../includes/class-settings.php:773
|
1729 |
msgid "Continuous"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
+
#: ../includes/class-settings.php:776
|
1733 |
msgid ""
|
1734 |
"Whether the slider should run continuously (seamless transition between the "
|
1735 |
"first and last slides)."
|
1736 |
msgstr ""
|
1737 |
|
1738 |
+
#: ../includes/class-settings.php:779
|
1739 |
msgid "Use CSS"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
+
#: ../includes/class-settings.php:782
|
1743 |
msgid ""
|
1744 |
"Whether the slider should use CSS transitions. If the user's browser doesn't "
|
1745 |
"support CSS transitions the slider will fallback to jQuery."
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: ../includes/class-settings.php:785 ../includes/class-settings.php:1148
|
1749 |
msgid "Slideshow"
|
1750 |
msgstr ""
|
1751 |
|
1752 |
+
#: ../includes/class-settings.php:788
|
1753 |
msgid "Whether the slider should run automatically on load."
|
1754 |
msgstr ""
|
1755 |
|
1756 |
+
#: ../includes/class-settings.php:791
|
1757 |
msgid "Slideshow Direction"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
+
#: ../includes/class-settings.php:794
|
1761 |
msgid "Which direction the slider should move in if in slideshow mode."
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: ../includes/class-settings.php:796 ../includes/class-tour.php:104
|
1765 |
#: ../includes/class-tour.php:125 ../includes/class-tour.php:139
|
1766 |
#: ../includes/class-tour.php:153 ../includes/class-tour.php:171
|
1767 |
#: ../includes/class-tour.php:180 ../includes/class-tour.php:189
|
1770 |
msgid "Next"
|
1771 |
msgstr ""
|
1772 |
|
1773 |
+
#: ../includes/class-settings.php:797
|
1774 |
msgid "Previous"
|
1775 |
msgstr ""
|
1776 |
|
1777 |
+
#: ../includes/class-settings.php:801
|
1778 |
msgid "Slideshow Hover"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
+
#: ../includes/class-settings.php:804
|
1782 |
msgid "Whether the slideshow should pause automatically on hover."
|
1783 |
msgstr ""
|
1784 |
|
1785 |
+
#: ../includes/class-settings.php:807
|
1786 |
msgid "Slideshow Hover Delay"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
+
#: ../includes/class-settings.php:811
|
1790 |
msgid "The delay (if any) before the slider resumes automatically after hover."
|
1791 |
msgstr ""
|
1792 |
|
1793 |
+
#: ../includes/class-settings.php:815
|
1794 |
msgid "Slideshow Delay"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
+
#: ../includes/class-settings.php:819
|
1798 |
msgid "The delay (if any) before the slider runs automatically on load."
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: ../includes/class-settings.php:823
|
1802 |
msgid "Slideshow Pause"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: ../includes/class-settings.php:827
|
1806 |
msgid "The time a slide lasts."
|
1807 |
msgstr ""
|
1808 |
|
1809 |
+
#: ../includes/class-settings.php:837
|
1810 |
msgid "Basic Masonry Gallery Settings"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: ../includes/class-settings.php:882
|
1814 |
msgid "Horizontal space between gallery items."
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: ../includes/class-settings.php:886 ../includes/class-settings.php:1459
|
1818 |
msgid "Margin"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: ../includes/class-settings.php:889
|
1822 |
msgid "Vertical space between gallery items."
|
1823 |
msgstr ""
|
1824 |
|
1825 |
+
#: ../includes/class-settings.php:893
|
1826 |
msgid "Origin Left"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
+
#: ../includes/class-settings.php:896
|
1830 |
msgid "Enable left-to-right layouts."
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: ../includes/class-settings.php:897
|
1834 |
msgid ""
|
1835 |
"Controls the horizontal flow of the layout. By default, item elements start "
|
1836 |
"positioning at the left. Uncheck it for right-to-left layouts."
|
1837 |
msgstr ""
|
1838 |
|
1839 |
+
#: ../includes/class-settings.php:900
|
1840 |
msgid "Origin Top"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
+
#: ../includes/class-settings.php:903
|
1844 |
msgid "Enable top-to-bottom layouts."
|
1845 |
msgstr ""
|
1846 |
|
1847 |
+
#: ../includes/class-settings.php:904
|
1848 |
msgid ""
|
1849 |
"Controls the vetical flow of the layout. By default, item elements start "
|
1850 |
"positioning at the top. Uncheck it for bottom-up layouts."
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: ../includes/class-settings.php:912 ../includes/class-settings.php:1840
|
1854 |
msgid "General"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: ../includes/class-settings.php:918
|
1858 |
msgid "Lightboxes"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: ../includes/class-settings.php:926 ../responsive-lightbox.php:641
|
1862 |
msgid "Basic Grid"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: ../includes/class-settings.php:932 ../responsive-lightbox.php:642
|
1866 |
msgid "Basic Slider"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
+
#: ../includes/class-settings.php:938 ../responsive-lightbox.php:643
|
1870 |
msgid "Basic Masonry"
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: ../includes/class-settings.php:1007
|
1874 |
msgid "Builder"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: ../includes/class-settings.php:1048 ../includes/class-settings.php:2072
|
|
|
|
|
|
|
|
|
1878 |
msgid "Licenses"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
+
#: ../includes/class-settings.php:1056 ../includes/class-tour.php:233
|
1882 |
+
#: ../responsive-lightbox.php:930
|
1883 |
msgid "Add-ons"
|
1884 |
msgstr ""
|
1885 |
|
1886 |
+
#: ../includes/class-settings.php:1070
|
1887 |
msgid "Animation type"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
+
#: ../includes/class-settings.php:1074
|
1891 |
msgid "Select a method of applying a lightbox effect."
|
1892 |
msgstr ""
|
1893 |
|
1894 |
+
#: ../includes/class-settings.php:1079
|
1895 |
msgid "Force PNG icons"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
+
#: ../includes/class-settings.php:1082
|
1899 |
msgid ""
|
1900 |
"Enable this if you're having problems with navigation icons not visible on "
|
1901 |
"some devices."
|
1902 |
msgstr ""
|
1903 |
|
1904 |
+
#: ../includes/class-settings.php:1086
|
1905 |
msgid "Hide close on mobile"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
+
#: ../includes/class-settings.php:1089
|
1909 |
msgid "Hide the close button on mobile devices."
|
1910 |
msgstr ""
|
1911 |
|
1912 |
+
#: ../includes/class-settings.php:1093
|
1913 |
msgid "Remove bars on mobile"
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: ../includes/class-settings.php:1096
|
1917 |
msgid "Hide the top and bottom bars on mobile devices."
|
1918 |
msgstr ""
|
1919 |
|
1920 |
+
#: ../includes/class-settings.php:1100
|
1921 |
msgid "Top and bottom bars"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
+
#: ../includes/class-settings.php:1106
|
1925 |
msgid "Hide top and bottom bars after a period of time."
|
1926 |
msgstr ""
|
1927 |
|
1928 |
+
#: ../includes/class-settings.php:1111
|
1929 |
msgid ""
|
1930 |
"Enter the time after which the top and bottom bars will be hidden (when "
|
1931 |
"hiding is enabled)."
|
1932 |
msgstr ""
|
1933 |
|
1934 |
+
#: ../includes/class-settings.php:1118
|
1935 |
msgid "Video max width"
|
1936 |
msgstr ""
|
1937 |
|
1938 |
+
#: ../includes/class-settings.php:1121
|
1939 |
msgid "Enter the max video width in a lightbox."
|
1940 |
msgstr ""
|
1941 |
|
1942 |
+
#: ../includes/class-settings.php:1126
|
1943 |
msgid "Loop at end"
|
1944 |
msgstr ""
|
1945 |
|
1946 |
+
#: ../includes/class-settings.php:1129
|
1947 |
msgid "True will return to the first image after the last image is reached."
|
1948 |
msgstr ""
|
1949 |
|
1950 |
+
#: ../includes/class-settings.php:1139 ../includes/class-settings.php:1525
|
1951 |
msgid "Animation speed"
|
1952 |
msgstr ""
|
1953 |
|
1954 |
+
#: ../includes/class-settings.php:1143
|
1955 |
msgid "Select animation speed for lightbox effect."
|
1956 |
msgstr ""
|
1957 |
|
1958 |
+
#: ../includes/class-settings.php:1154
|
1959 |
msgid "Display images as slideshow"
|
1960 |
msgstr ""
|
1961 |
|
1962 |
+
#: ../includes/class-settings.php:1159
|
1963 |
msgid "Enter time (in miliseconds)."
|
1964 |
msgstr ""
|
1965 |
|
1966 |
+
#: ../includes/class-settings.php:1166
|
1967 |
msgid "Slideshow autoplay"
|
1968 |
msgstr ""
|
1969 |
|
1970 |
+
#: ../includes/class-settings.php:1169 ../includes/class-settings.php:1605
|
1971 |
msgid "Automatically start slideshow."
|
1972 |
msgstr ""
|
1973 |
|
1974 |
+
#: ../includes/class-settings.php:1173 ../includes/class-settings.php:1373
|
1975 |
msgid "Opacity"
|
1976 |
msgstr ""
|
1977 |
|
1978 |
+
#: ../includes/class-settings.php:1176
|
1979 |
msgid "Value between 0 and 100, 100 for no opacity."
|
1980 |
msgstr ""
|
1981 |
|
1982 |
+
#: ../includes/class-settings.php:1182
|
1983 |
msgid "Show title"
|
1984 |
msgstr ""
|
1985 |
|
1986 |
+
#: ../includes/class-settings.php:1185
|
1987 |
msgid "Display image title."
|
1988 |
msgstr ""
|
1989 |
|
1990 |
+
#: ../includes/class-settings.php:1189
|
1991 |
msgid "Allow resize big images"
|
1992 |
msgstr ""
|
1993 |
|
1994 |
+
#: ../includes/class-settings.php:1192
|
1995 |
msgid "Resize the photos bigger than viewport."
|
1996 |
msgstr ""
|
1997 |
|
1998 |
+
#: ../includes/class-settings.php:1196
|
1999 |
msgid "Allow expand"
|
2000 |
msgstr ""
|
2001 |
|
2002 |
+
#: ../includes/class-settings.php:1199
|
2003 |
msgid "Allow expanding images."
|
2004 |
msgstr ""
|
2005 |
|
2006 |
+
#: ../includes/class-settings.php:1203 ../includes/class-settings.php:1467
|
2007 |
msgid "Video width"
|
2008 |
msgstr ""
|
2009 |
|
2010 |
+
#: ../includes/class-settings.php:1210 ../includes/class-settings.php:1475
|
2011 |
msgid "Video height"
|
2012 |
msgstr ""
|
2013 |
|
2014 |
+
#: ../includes/class-settings.php:1217
|
2015 |
msgid "Theme"
|
2016 |
msgstr ""
|
2017 |
|
2018 |
+
#: ../includes/class-settings.php:1220
|
2019 |
msgid "Select the theme for lightbox effect."
|
2020 |
msgstr ""
|
2021 |
|
2022 |
+
#: ../includes/class-settings.php:1225
|
2023 |
msgid "Horizontal padding"
|
2024 |
msgstr ""
|
2025 |
|
2026 |
+
#: ../includes/class-settings.php:1232
|
2027 |
msgid "Hide Flash"
|
2028 |
msgstr ""
|
2029 |
|
2030 |
+
#: ../includes/class-settings.php:1235
|
2031 |
msgid ""
|
2032 |
"Hide all the flash objects on a page. Enable this if flash appears over "
|
2033 |
"prettyPhoto."
|
2034 |
msgstr ""
|
2035 |
|
2036 |
+
#: ../includes/class-settings.php:1239
|
2037 |
msgid "Flash Window Mode (wmode)"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
+
#: ../includes/class-settings.php:1242
|
2041 |
msgid "Select flash window mode."
|
2042 |
msgstr ""
|
2043 |
|
2044 |
+
#: ../includes/class-settings.php:1247
|
2045 |
msgid "Video autoplay"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
+
#: ../includes/class-settings.php:1250
|
2049 |
msgid "Automatically start videos."
|
2050 |
msgstr ""
|
2051 |
|
2052 |
+
#: ../includes/class-settings.php:1254 ../includes/class-settings.php:1295
|
2053 |
msgid "Modal"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
+
#: ../includes/class-settings.php:1257
|
2057 |
msgid "If set to true, only the close button will close the window."
|
2058 |
msgstr ""
|
2059 |
|
2060 |
+
#: ../includes/class-settings.php:1261
|
2061 |
msgid "Deeplinking"
|
2062 |
msgstr ""
|
2063 |
|
2064 |
+
#: ../includes/class-settings.php:1264
|
2065 |
msgid "Allow prettyPhoto to update the url to enable deeplinking."
|
2066 |
msgstr ""
|
2067 |
|
2068 |
+
#: ../includes/class-settings.php:1268
|
2069 |
msgid "Overlay gallery"
|
2070 |
msgstr ""
|
2071 |
|
2072 |
+
#: ../includes/class-settings.php:1271
|
2073 |
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
|
2074 |
msgstr ""
|
2075 |
|
2076 |
+
#: ../includes/class-settings.php:1275
|
2077 |
msgid "Keyboard shortcuts"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
+
#: ../includes/class-settings.php:1278
|
2081 |
msgid "Set to false if you open forms inside prettyPhoto."
|
2082 |
msgstr ""
|
2083 |
|
2084 |
+
#: ../includes/class-settings.php:1282
|
2085 |
msgid "Social (Twitter, Facebook)"
|
2086 |
msgstr ""
|
2087 |
|
2088 |
+
#: ../includes/class-settings.php:1285
|
2089 |
msgid "Display links to Facebook and Twitter."
|
2090 |
msgstr ""
|
2091 |
|
2092 |
+
#: ../includes/class-settings.php:1298
|
2093 |
msgid ""
|
2094 |
"When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
|
2095 |
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
|
2096 |
"to false."
|
2097 |
msgstr ""
|
2098 |
|
2099 |
+
#: ../includes/class-settings.php:1302
|
2100 |
msgid "Show overlay"
|
2101 |
msgstr ""
|
2102 |
|
2103 |
+
#: ../includes/class-settings.php:1305
|
2104 |
msgid "Toggle overlay."
|
2105 |
msgstr ""
|
2106 |
|
2107 |
+
#: ../includes/class-settings.php:1309 ../includes/class-settings.php:1758
|
2108 |
msgid "Show close button"
|
2109 |
msgstr ""
|
2110 |
|
2111 |
+
#: ../includes/class-settings.php:1312
|
2112 |
msgid "Toggle close button."
|
2113 |
msgstr ""
|
2114 |
|
2115 |
+
#: ../includes/class-settings.php:1316
|
2116 |
msgid "Enable escape button"
|
2117 |
msgstr ""
|
2118 |
|
2119 |
+
#: ../includes/class-settings.php:1319 ../includes/class-settings.php:1689
|
2120 |
msgid "Toggle if pressing Esc button closes lightbox."
|
2121 |
msgstr ""
|
2122 |
|
2123 |
+
#: ../includes/class-settings.php:1323
|
2124 |
msgid "Hide on overlay click"
|
2125 |
msgstr ""
|
2126 |
|
2127 |
+
#: ../includes/class-settings.php:1326
|
2128 |
msgid "Toggle if clicking the overlay should close FancyBox."
|
2129 |
msgstr ""
|
2130 |
|
2131 |
+
#: ../includes/class-settings.php:1330
|
2132 |
msgid "Hide on content click"
|
2133 |
msgstr ""
|
2134 |
|
2135 |
+
#: ../includes/class-settings.php:1333
|
2136 |
msgid "Toggle if clicking the content should close FancyBox."
|
2137 |
msgstr ""
|
2138 |
|
2139 |
+
#: ../includes/class-settings.php:1337
|
2140 |
msgid "Cyclic"
|
2141 |
msgstr ""
|
2142 |
|
2143 |
+
#: ../includes/class-settings.php:1340
|
2144 |
msgid ""
|
2145 |
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
|
2146 |
msgstr ""
|
2147 |
|
2148 |
+
#: ../includes/class-settings.php:1344
|
2149 |
msgid "Show nav arrows"
|
2150 |
msgstr ""
|
2151 |
|
2152 |
+
#: ../includes/class-settings.php:1347
|
2153 |
msgid "Toggle navigation arrows."
|
2154 |
msgstr ""
|
2155 |
|
2156 |
+
#: ../includes/class-settings.php:1351
|
2157 |
msgid "Auto scale"
|
2158 |
msgstr ""
|
2159 |
|
2160 |
+
#: ../includes/class-settings.php:1354
|
2161 |
msgid "If true, FancyBox is scaled to fit in viewport."
|
2162 |
msgstr ""
|
2163 |
|
2164 |
+
#: ../includes/class-settings.php:1358
|
2165 |
msgid "Scrolling (in/out)"
|
2166 |
msgstr ""
|
2167 |
|
2168 |
+
#: ../includes/class-settings.php:1361
|
2169 |
msgid "Set the overflow CSS property to create or hide scrollbars."
|
2170 |
msgstr ""
|
2171 |
|
2172 |
+
#: ../includes/class-settings.php:1366
|
2173 |
msgid "Center on scroll"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
+
#: ../includes/class-settings.php:1369
|
2177 |
msgid "When true, FancyBox is centered while scrolling page."
|
2178 |
msgstr ""
|
2179 |
|
2180 |
+
#: ../includes/class-settings.php:1376
|
2181 |
msgid "When true, transparency of content is changed for elastic transitions."
|
2182 |
msgstr ""
|
2183 |
|
2184 |
+
#: ../includes/class-settings.php:1380
|
2185 |
msgid "Overlay opacity"
|
2186 |
msgstr ""
|
2187 |
|
2188 |
+
#: ../includes/class-settings.php:1383
|
2189 |
msgid "Opacity of the overlay."
|
2190 |
msgstr ""
|
2191 |
|
2192 |
+
#: ../includes/class-settings.php:1389
|
2193 |
msgid "Overlay color"
|
2194 |
msgstr ""
|
2195 |
|
2196 |
+
#: ../includes/class-settings.php:1392
|
2197 |
msgid "Color of the overlay."
|
2198 |
msgstr ""
|
2199 |
|
2200 |
+
#: ../includes/class-settings.php:1396
|
2201 |
msgid "Title show"
|
2202 |
msgstr ""
|
2203 |
|
2204 |
+
#: ../includes/class-settings.php:1399
|
2205 |
msgid "Toggle title."
|
2206 |
msgstr ""
|
2207 |
|
2208 |
+
#: ../includes/class-settings.php:1403
|
2209 |
msgid "Title position"
|
2210 |
msgstr ""
|
2211 |
|
2212 |
+
#: ../includes/class-settings.php:1406
|
2213 |
msgid "The position of title."
|
2214 |
msgstr ""
|
2215 |
|
2216 |
+
#: ../includes/class-settings.php:1411
|
2217 |
msgid "Transition (in/out)"
|
2218 |
msgstr ""
|
2219 |
|
2220 |
+
#: ../includes/class-settings.php:1414
|
2221 |
msgid "The transition type."
|
2222 |
msgstr ""
|
2223 |
|
2224 |
+
#: ../includes/class-settings.php:1419
|
2225 |
msgid "Easings (in/out)"
|
2226 |
msgstr ""
|
2227 |
|
2228 |
+
#: ../includes/class-settings.php:1422
|
2229 |
msgid "Easing used for elastic animations."
|
2230 |
msgstr ""
|
2231 |
|
2232 |
+
#: ../includes/class-settings.php:1427
|
2233 |
msgid "Speed (in/out)"
|
2234 |
msgstr ""
|
2235 |
|
2236 |
+
#: ../includes/class-settings.php:1430
|
2237 |
msgid "Speed of the fade and elastic transitions, in milliseconds."
|
2238 |
msgstr ""
|
2239 |
|
2240 |
+
#: ../includes/class-settings.php:1435
|
2241 |
msgid "Change speed"
|
2242 |
msgstr ""
|
2243 |
|
2244 |
+
#: ../includes/class-settings.php:1438
|
2245 |
msgid "Speed of resizing when changing gallery items, in milliseconds."
|
2246 |
msgstr ""
|
2247 |
|
2248 |
+
#: ../includes/class-settings.php:1443
|
2249 |
msgid "Change fade"
|
2250 |
msgstr ""
|
2251 |
|
2252 |
+
#: ../includes/class-settings.php:1446
|
2253 |
msgid "Speed of the content fading while changing gallery items."
|
2254 |
msgstr ""
|
2255 |
|
2256 |
+
#: ../includes/class-settings.php:1451
|
2257 |
msgid "Padding"
|
2258 |
msgstr ""
|
2259 |
|
2260 |
+
#: ../includes/class-settings.php:1454
|
2261 |
msgid "Space between FancyBox wrapper and content."
|
2262 |
msgstr ""
|
2263 |
|
2264 |
+
#: ../includes/class-settings.php:1462
|
2265 |
msgid "Space between viewport and FancyBox wrapper."
|
2266 |
msgstr ""
|
2267 |
|
2268 |
+
#: ../includes/class-settings.php:1470
|
2269 |
msgid "Width of the video."
|
2270 |
msgstr ""
|
2271 |
|
2272 |
+
#: ../includes/class-settings.php:1478
|
2273 |
msgid "Height of the video."
|
2274 |
msgstr ""
|
2275 |
|
2276 |
+
#: ../includes/class-settings.php:1489
|
2277 |
msgid "Effect"
|
2278 |
msgstr ""
|
2279 |
|
2280 |
+
#: ../includes/class-settings.php:1492
|
2281 |
msgid "The effect to use when showing the lightbox."
|
2282 |
msgstr ""
|
2283 |
|
2284 |
+
#: ../includes/class-settings.php:1497 ../includes/class-settings.php:1592
|
2285 |
msgid "Keyboard navigation"
|
2286 |
msgstr ""
|
2287 |
|
2288 |
+
#: ../includes/class-settings.php:1500 ../includes/class-settings.php:1595
|
2289 |
msgid "Enable keyboard navigation (left/right/escape)."
|
2290 |
msgstr ""
|
2291 |
|
2292 |
+
#: ../includes/class-settings.php:1504
|
2293 |
msgid "Click overlay to close"
|
2294 |
msgstr ""
|
2295 |
|
2296 |
+
#: ../includes/class-settings.php:1507 ../includes/class-settings.php:1648
|
2297 |
msgid "Enable to close lightbox on overlay click."
|
2298 |
msgstr ""
|
2299 |
|
2300 |
+
#: ../includes/class-settings.php:1511
|
2301 |
msgid "Error message"
|
2302 |
msgstr ""
|
2303 |
|
2304 |
+
#: ../includes/class-settings.php:1515
|
2305 |
msgid "Error message if the content cannot be loaded."
|
2306 |
msgstr ""
|
2307 |
|
2308 |
+
#: ../includes/class-settings.php:1528
|
2309 |
msgid "Animation speed."
|
2310 |
msgstr ""
|
2311 |
|
2312 |
+
#: ../includes/class-settings.php:1533
|
2313 |
msgid "Preload next image"
|
2314 |
msgstr ""
|
2315 |
|
2316 |
+
#: ../includes/class-settings.php:1536
|
2317 |
msgid "Silently preload the next image."
|
2318 |
msgstr ""
|
2319 |
|
2320 |
+
#: ../includes/class-settings.php:1540
|
2321 |
msgid "Enable keyboard keys"
|
2322 |
msgstr ""
|
2323 |
|
2324 |
+
#: ../includes/class-settings.php:1543
|
2325 |
msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
|
2326 |
msgstr ""
|
2327 |
|
2328 |
+
#: ../includes/class-settings.php:1547
|
2329 |
msgid "Quit after last image"
|
2330 |
msgstr ""
|
2331 |
|
2332 |
+
#: ../includes/class-settings.php:1550
|
2333 |
msgid "Quit after viewing the last image."
|
2334 |
msgstr ""
|
2335 |
|
2336 |
+
#: ../includes/class-settings.php:1554
|
2337 |
msgid "Quit on image click"
|
2338 |
msgstr ""
|
2339 |
|
2340 |
+
#: ../includes/class-settings.php:1557
|
2341 |
msgid "Quit when the viewed image is clicked."
|
2342 |
msgstr ""
|
2343 |
|
2344 |
+
#: ../includes/class-settings.php:1561
|
2345 |
msgid "Quit on anything click"
|
2346 |
msgstr ""
|
2347 |
|
2348 |
+
#: ../includes/class-settings.php:1564
|
2349 |
msgid "Quit when anything but the viewed image is clicked."
|
2350 |
msgstr ""
|
2351 |
|
2352 |
+
#: ../includes/class-settings.php:1574
|
2353 |
msgid "Transition effect"
|
2354 |
msgstr ""
|
2355 |
|
2356 |
+
#: ../includes/class-settings.php:1577
|
2357 |
msgid "What effect to use for the transition."
|
2358 |
msgstr ""
|
2359 |
|
2360 |
+
#: ../includes/class-settings.php:1579
|
2361 |
msgid "slide"
|
2362 |
msgstr ""
|
2363 |
|
2364 |
+
#: ../includes/class-settings.php:1585
|
2365 |
msgid "Infinite loop"
|
2366 |
msgstr ""
|
2367 |
|
2368 |
+
#: ../includes/class-settings.php:1588
|
2369 |
msgid ""
|
2370 |
"Whether or not to slide back to the first slide when the last has been "
|
2371 |
"reached."
|
2372 |
msgstr ""
|
2373 |
|
2374 |
+
#: ../includes/class-settings.php:1599
|
2375 |
msgid "Autoplay"
|
2376 |
msgstr ""
|
2377 |
|
2378 |
+
#: ../includes/class-settings.php:1610
|
2379 |
msgid "The timeout between sliding to the next slide in milliseconds."
|
2380 |
msgstr ""
|
2381 |
|
2382 |
+
#: ../includes/class-settings.php:1617
|
2383 |
msgid "Pause on hover"
|
2384 |
msgstr ""
|
2385 |
|
2386 |
+
#: ../includes/class-settings.php:1620
|
2387 |
msgid "Whether or not to pause on hover."
|
2388 |
msgstr ""
|
2389 |
|
2390 |
+
#: ../includes/class-settings.php:1624
|
2391 |
msgid "Pagination"
|
2392 |
msgstr ""
|
2393 |
|
2394 |
+
#: ../includes/class-settings.php:1630
|
2395 |
msgid "Whether or not to add a pagination."
|
2396 |
msgstr ""
|
2397 |
|
2398 |
+
#: ../includes/class-settings.php:1635
|
2399 |
msgid "What type of pagination to use."
|
2400 |
msgstr ""
|
2401 |
|
2402 |
+
#: ../includes/class-settings.php:1637
|
2403 |
msgid "Bullets"
|
2404 |
msgstr ""
|
2405 |
|
2406 |
+
#: ../includes/class-settings.php:1638
|
2407 |
msgid "Thumbnails"
|
2408 |
msgstr ""
|
2409 |
|
2410 |
+
#: ../includes/class-settings.php:1645
|
2411 |
msgid "Overlay close"
|
2412 |
msgstr ""
|
2413 |
|
2414 |
+
#: ../includes/class-settings.php:1658
|
2415 |
msgid "Opening speed"
|
2416 |
msgstr ""
|
2417 |
|
2418 |
+
#: ../includes/class-settings.php:1661
|
2419 |
msgid "Duration of opening animation."
|
2420 |
msgstr ""
|
2421 |
|
2422 |
+
#: ../includes/class-settings.php:1666
|
2423 |
msgid "Closing speed"
|
2424 |
msgstr ""
|
2425 |
|
2426 |
+
#: ../includes/class-settings.php:1669
|
2427 |
msgid "Duration of closing animation."
|
2428 |
msgstr ""
|
2429 |
|
2430 |
+
#: ../includes/class-settings.php:1674
|
2431 |
msgid "Close on click"
|
2432 |
msgstr ""
|
2433 |
|
2434 |
+
#: ../includes/class-settings.php:1677
|
2435 |
msgid "Select how to close lightbox."
|
2436 |
msgstr ""
|
2437 |
|
2438 |
+
#: ../includes/class-settings.php:1679
|
2439 |
msgid "background"
|
2440 |
msgstr ""
|
2441 |
|
2442 |
+
#: ../includes/class-settings.php:1680
|
2443 |
msgid "anywhere"
|
2444 |
msgstr ""
|
2445 |
|
2446 |
+
#: ../includes/class-settings.php:1681
|
2447 |
msgid "false"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
+
#: ../includes/class-settings.php:1686
|
2451 |
msgid "Close on Esc"
|
2452 |
msgstr ""
|
2453 |
|
2454 |
+
#: ../includes/class-settings.php:1693
|
2455 |
msgid "Gallery fade in"
|
2456 |
msgstr ""
|
2457 |
|
2458 |
+
#: ../includes/class-settings.php:1696
|
2459 |
msgid "Animation speed when image is loaded."
|
2460 |
msgstr ""
|
2461 |
|
2462 |
+
#: ../includes/class-settings.php:1701
|
2463 |
msgid "Gallery fade out"
|
2464 |
msgstr ""
|
2465 |
|
2466 |
+
#: ../includes/class-settings.php:1704
|
2467 |
msgid "Animation speed before image is loaded."
|
2468 |
msgstr ""
|
2469 |
|
2470 |
+
#: ../includes/class-settings.php:1715
|
2471 |
msgid "Disable on"
|
2472 |
msgstr ""
|
2473 |
|
2474 |
+
#: ../includes/class-settings.php:1718
|
2475 |
msgid ""
|
2476 |
"If window width is less than the number in this option lightbox will not be "
|
2477 |
"opened and the default behavior of the element will be triggered. Set to 0 "
|
2478 |
"to disable behavior."
|
2479 |
msgstr ""
|
2480 |
|
2481 |
+
#: ../includes/class-settings.php:1723
|
2482 |
msgid "Middle click"
|
2483 |
msgstr ""
|
2484 |
|
2485 |
+
#: ../includes/class-settings.php:1726
|
2486 |
msgid ""
|
2487 |
"If option enabled, lightbox is opened if the user clicked on the middle "
|
2488 |
"mouse button, or click with Command/Ctrl key."
|
2489 |
msgstr ""
|
2490 |
|
2491 |
+
#: ../includes/class-settings.php:1730
|
2492 |
msgid "Preloader"
|
2493 |
msgstr ""
|
2494 |
|
2495 |
+
#: ../includes/class-settings.php:1733
|
2496 |
msgid ""
|
2497 |
"If option enabled, it's always present in DOM only text inside of it changes."
|
2498 |
msgstr ""
|
2499 |
|
2500 |
+
#: ../includes/class-settings.php:1737
|
2501 |
msgid "Close on content click"
|
2502 |
msgstr ""
|
2503 |
|
2504 |
+
#: ../includes/class-settings.php:1740
|
2505 |
msgid ""
|
2506 |
"Close popup when user clicks on content of it. It's recommended to enable "
|
2507 |
"this option when you have only image in popup."
|
2508 |
msgstr ""
|
2509 |
|
2510 |
+
#: ../includes/class-settings.php:1744
|
2511 |
msgid "Close on background click"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
+
#: ../includes/class-settings.php:1747
|
2515 |
msgid "Close the popup when user clicks on the dark overlay."
|
2516 |
msgstr ""
|
2517 |
|
2518 |
+
#: ../includes/class-settings.php:1751
|
2519 |
msgid "Close button inside"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
+
#: ../includes/class-settings.php:1754
|
2523 |
msgid ""
|
2524 |
"If enabled, Magnific Popup will put close button inside content of popup."
|
2525 |
msgstr ""
|
2526 |
|
2527 |
+
#: ../includes/class-settings.php:1761
|
2528 |
msgid "Controls whether the close button will be displayed or not."
|
2529 |
msgstr ""
|
2530 |
|
2531 |
+
#: ../includes/class-settings.php:1765
|
2532 |
msgid "Enable escape key"
|
2533 |
msgstr ""
|
2534 |
|
2535 |
+
#: ../includes/class-settings.php:1768
|
2536 |
msgid ""
|
2537 |
"Controls whether pressing the escape key will dismiss the active popup or "
|
2538 |
"not."
|
2539 |
msgstr ""
|
2540 |
|
2541 |
+
#: ../includes/class-settings.php:1772
|
2542 |
msgid "Align top"
|
2543 |
msgstr ""
|
2544 |
|
2545 |
+
#: ../includes/class-settings.php:1775
|
2546 |
msgid "If set to true popup is aligned to top instead of to center."
|
2547 |
msgstr ""
|
2548 |
|
2549 |
+
#: ../includes/class-settings.php:1779
|
2550 |
msgid "Content position type"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
+
#: ../includes/class-settings.php:1782
|
2554 |
msgid ""
|
2555 |
"Popup content position. If set to \"auto\" popup will automatically disable "
|
2556 |
"this option when browser doesn't support fixed position properly."
|
2557 |
msgstr ""
|
2558 |
|
2559 |
+
#: ../includes/class-settings.php:1784 ../includes/class-settings.php:1796
|
2560 |
msgid "Auto"
|
2561 |
msgstr ""
|
2562 |
|
2563 |
+
#: ../includes/class-settings.php:1785 ../includes/class-settings.php:1797
|
2564 |
msgid "Fixed"
|
2565 |
msgstr ""
|
2566 |
|
2567 |
+
#: ../includes/class-settings.php:1786 ../includes/class-settings.php:1798
|
2568 |
msgid "Absolute"
|
2569 |
msgstr ""
|
2570 |
|
2571 |
+
#: ../includes/class-settings.php:1791
|
2572 |
msgid "Fixed background position"
|
2573 |
msgstr ""
|
2574 |
|
2575 |
+
#: ../includes/class-settings.php:1794
|
2576 |
msgid "Dark transluscent overlay content position."
|
2577 |
msgstr ""
|
2578 |
|
2579 |
+
#: ../includes/class-settings.php:1803
|
2580 |
msgid "Auto focus last"
|
2581 |
msgstr ""
|
2582 |
|
2583 |
+
#: ../includes/class-settings.php:1806
|
2584 |
msgid ""
|
2585 |
"If set to true last focused element before popup showup will be focused "
|
2586 |
"after popup close."
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: ../includes/class-settings.php:1828
|
2590 |
#, php-format
|
2591 |
msgid ""
|
2592 |
"Below you'll find a list of available remote media libraries. If you're "
|
2594 |
"the <a href=\"%s\" target=\"_blank\">Remote Library Pro addon</a>."
|
2595 |
msgstr ""
|
2596 |
|
2597 |
+
#: ../includes/class-settings.php:1878 ../includes/class-settings.php:1891
|
2598 |
+
#: ../responsive-lightbox.php:1355
|
2599 |
msgid "Responsive Lightbox & Gallery"
|
2600 |
msgstr ""
|
2601 |
|
2602 |
+
#: ../includes/class-settings.php:1893
|
2603 |
msgid "Need support?"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
+
#: ../includes/class-settings.php:1894
|
2607 |
#, php-format
|
2608 |
msgid ""
|
2609 |
"If you are having problems with this plugin, please browse it's <a href=\"%s"
|
2611 |
"\" target=\"_blank\">Support forum</a>"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
+
#: ../includes/class-settings.php:1896
|
2615 |
msgid "Do you like this plugin?"
|
2616 |
msgstr ""
|
2617 |
|
2618 |
+
#: ../includes/class-settings.php:1897
|
2619 |
#, php-format
|
2620 |
msgid "<a href=\"%s\" target=\"_blank\">Rate it 5</a> on WordPress.org"
|
2621 |
msgstr ""
|
2622 |
|
2623 |
+
#: ../includes/class-settings.php:1898
|
2624 |
#, php-format
|
2625 |
msgid ""
|
2626 |
"Blog about it & link to the <a href=\"%s\" target=\"_blank\">plugin page</a>."
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: ../includes/class-settings.php:1899
|
2630 |
#, php-format
|
2631 |
msgid ""
|
2632 |
"Check out our other <a href=\"%s\" target=\"_blank\">WordPress plugins</a>."
|
2633 |
msgstr ""
|
2634 |
|
2635 |
+
#: ../includes/class-settings.php:1943
|
2636 |
msgid "Reset to defaults"
|
2637 |
msgstr ""
|
2638 |
|
2639 |
+
#: ../includes/class-settings.php:2341 ../includes/class-settings.php:2396
|
2640 |
msgid "Settings restored to defaults."
|
2641 |
msgstr ""
|
2642 |
|
2643 |
+
#: ../includes/class-settings.php:2418
|
2644 |
msgid "Role"
|
2645 |
msgstr ""
|
2646 |
|
2647 |
+
#: ../includes/class-settings.php:2464
|
2648 |
msgid "Add-ons / Extensions"
|
2649 |
msgstr ""
|
2650 |
|
2651 |
+
#: ../includes/class-settings.php:2465
|
2652 |
msgid ""
|
2653 |
"Enhance your website with these beautiful, easy to use extensions, designed "
|
2654 |
"with Responsive Lightbox & Gallery integration in mind."
|
2655 |
msgstr ""
|
2656 |
|
2657 |
+
#: ../includes/class-settings.php:2477
|
2658 |
msgid ""
|
2659 |
"There was an error retrieving the extensions list from the server. Please "
|
2660 |
"try again later."
|
2661 |
msgstr ""
|
2662 |
|
2663 |
+
#: ../includes/class-settings.php:2489
|
2664 |
msgid "A list of licenses for your Responsive Lightbox & Gallery extensions."
|
2665 |
msgstr ""
|
2666 |
|
2667 |
+
#: ../includes/class-settings.php:2509
|
2668 |
#, php-format
|
2669 |
msgid ""
|
2670 |
"Enter your license key to activate %s extension and enable automatic upgrade "
|
2817 |
"lightbox plugin and a powerful gallery builder for WordPress."
|
2818 |
msgstr ""
|
2819 |
|
2820 |
+
#: ../includes/class-welcome.php:69 ../responsive-lightbox.php:927
|
2821 |
+
#: ../responsive-lightbox.php:1237
|
2822 |
msgid "Settings"
|
2823 |
msgstr ""
|
2824 |
|
2892 |
msgid "Image date"
|
2893 |
msgstr ""
|
2894 |
|
2895 |
+
#: ../includes/class-widgets.php:94 ../responsive-lightbox.php:640
|
2896 |
msgid "Default"
|
2897 |
msgstr ""
|
2898 |
|
2956 |
msgid "Justify"
|
2957 |
msgstr ""
|
2958 |
|
2959 |
+
#: ../includes/class-widgets.php:462 ../responsive-lightbox.php:1736
|
2960 |
msgid "Select image"
|
2961 |
msgstr ""
|
2962 |
|
3046 |
msgid "Enable Wikimedia."
|
3047 |
msgstr ""
|
3048 |
|
3049 |
+
#: ../responsive-lightbox.php:690
|
3050 |
msgid "Publish Galleries"
|
3051 |
msgstr ""
|
3052 |
|
3053 |
+
#: ../responsive-lightbox.php:691
|
3054 |
msgid "Edit Galleries"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
+
#: ../responsive-lightbox.php:692
|
3058 |
msgid "Edit Published Galleries"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
+
#: ../responsive-lightbox.php:693
|
3062 |
msgid "Edit Others Galleries"
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: ../responsive-lightbox.php:694
|
3066 |
msgid "Edit Private Galleries"
|
3067 |
msgstr ""
|
3068 |
|
3069 |
+
#: ../responsive-lightbox.php:695
|
3070 |
msgid "Delete Galleries"
|
3071 |
msgstr ""
|
3072 |
|
3073 |
+
#: ../responsive-lightbox.php:696
|
3074 |
msgid "Delete Published Galleries"
|
3075 |
msgstr ""
|
3076 |
|
3077 |
+
#: ../responsive-lightbox.php:697
|
3078 |
msgid "Delete Others Galleries"
|
3079 |
msgstr ""
|
3080 |
|
3081 |
+
#: ../responsive-lightbox.php:698
|
3082 |
msgid "Delete Private Galleries"
|
3083 |
msgstr ""
|
3084 |
|
3085 |
+
#: ../responsive-lightbox.php:699
|
3086 |
msgid "Read Private Galleries"
|
3087 |
msgstr ""
|
3088 |
|
3089 |
+
#: ../responsive-lightbox.php:700
|
3090 |
msgid "Manage Gallery Categories"
|
3091 |
msgstr ""
|
3092 |
|
3093 |
+
#: ../responsive-lightbox.php:701
|
3094 |
msgid "Manage Gallery Tags"
|
3095 |
msgstr ""
|
3096 |
|
3097 |
+
#: ../responsive-lightbox.php:702
|
3098 |
msgid "Manage Settings"
|
3099 |
msgstr ""
|
3100 |
|
3101 |
+
#: ../responsive-lightbox.php:764
|
3102 |
#, php-format
|
3103 |
msgid ""
|
3104 |
"Hey, you've been using <strong>Responsive Lightbox & Gallery</strong> for "
|
3105 |
"more than %s"
|
3106 |
msgstr ""
|
3107 |
|
3108 |
+
#: ../responsive-lightbox.php:764
|
3109 |
msgid ""
|
3110 |
"Could you please do me a BIG favor and give it a 5-star rating on WordPress "
|
3111 |
"to help us spread the word and boost our motivation."
|
3112 |
msgstr ""
|
3113 |
|
3114 |
+
#: ../responsive-lightbox.php:764
|
3115 |
msgid "Your help is much appreciated. Thank you very much"
|
3116 |
msgstr ""
|
3117 |
|
3118 |
+
#: ../responsive-lightbox.php:764
|
3119 |
#, php-format
|
3120 |
msgid "founder of <a href=\"%s\" target=\"_blank\">dFactory</a> plugins."
|
3121 |
msgstr ""
|
3122 |
|
3123 |
+
#: ../responsive-lightbox.php:764
|
3124 |
#, php-format
|
3125 |
msgid ""
|
3126 |
"<a href=\"%s\" class=\"rl-dismissible-notice\" target=\"_blank\" rel="
|
3130 |
"\" rel=\"noopener\">I already did</a>"
|
3131 |
msgstr ""
|
3132 |
|
3133 |
+
#: ../responsive-lightbox.php:889
|
3134 |
msgid "Support"
|
3135 |
msgstr ""
|
3136 |
|
3137 |
+
#: ../responsive-lightbox.php:953
|
3138 |
msgid "We're sorry to see you go. Could you please tell us what happened?"
|
3139 |
msgstr ""
|
3140 |
|
3141 |
+
#: ../responsive-lightbox.php:957
|
3142 |
msgid "I couldn't figure out how to make it work."
|
3143 |
msgstr ""
|
3144 |
|
3145 |
+
#: ../responsive-lightbox.php:958
|
3146 |
msgid "I found another plugin to use for the same task."
|
3147 |
msgstr ""
|
3148 |
|
3149 |
+
#: ../responsive-lightbox.php:959
|
3150 |
msgid "The User Interface is not clear to me."
|
3151 |
msgstr ""
|
3152 |
|
3153 |
+
#: ../responsive-lightbox.php:960
|
3154 |
msgid "The plugin is not what I was looking for."
|
3155 |
msgstr ""
|
3156 |
|
3157 |
+
#: ../responsive-lightbox.php:961
|
3158 |
msgid "Support isn't timely."
|
3159 |
msgstr ""
|
3160 |
|
3161 |
+
#: ../responsive-lightbox.php:962
|
3162 |
msgid "Other"
|
3163 |
msgstr ""
|
3164 |
|
3165 |
+
#: ../responsive-lightbox.php:977
|
3166 |
msgid "Deactivate"
|
3167 |
msgstr ""
|
3168 |
|
3169 |
+
#: ../responsive-lightbox.php:978
|
3170 |
msgid "Deactivate & Submit"
|
3171 |
msgstr ""
|
3172 |
|
3173 |
+
#: ../responsive-lightbox.php:1068
|
3174 |
msgid "Search Gallery Categories"
|
3175 |
msgstr ""
|
3176 |
|
3177 |
+
#: ../responsive-lightbox.php:1069
|
3178 |
msgid "All Gallery Categories"
|
3179 |
msgstr ""
|
3180 |
|
3181 |
+
#: ../responsive-lightbox.php:1070
|
3182 |
msgid "Parent Gallery Category"
|
3183 |
msgstr ""
|
3184 |
|
3185 |
+
#: ../responsive-lightbox.php:1071
|
3186 |
msgid "Parent Gallery Category:"
|
3187 |
msgstr ""
|
3188 |
|
3189 |
+
#: ../responsive-lightbox.php:1072
|
3190 |
msgid "Edit Gallery Category"
|
3191 |
msgstr ""
|
3192 |
|
3193 |
+
#: ../responsive-lightbox.php:1073
|
3194 |
msgid "View Gallery Category"
|
3195 |
msgstr ""
|
3196 |
|
3197 |
+
#: ../responsive-lightbox.php:1074
|
3198 |
msgid "Update Gallery Category"
|
3199 |
msgstr ""
|
3200 |
|
3201 |
+
#: ../responsive-lightbox.php:1075
|
3202 |
msgid "Add New Gallery Category"
|
3203 |
msgstr ""
|
3204 |
|
3205 |
+
#: ../responsive-lightbox.php:1076
|
3206 |
msgid "New Gallery Category Name"
|
3207 |
msgstr ""
|
3208 |
|
3209 |
+
#: ../responsive-lightbox.php:1111
|
3210 |
msgid "Search Gallery Tags"
|
3211 |
msgstr ""
|
3212 |
|
3213 |
+
#: ../responsive-lightbox.php:1112
|
3214 |
msgid "Popular Gallery Tags"
|
3215 |
msgstr ""
|
3216 |
|
3217 |
+
#: ../responsive-lightbox.php:1113
|
3218 |
msgid "All Gallery Tags"
|
3219 |
msgstr ""
|
3220 |
|
3221 |
+
#: ../responsive-lightbox.php:1116
|
3222 |
msgid "Edit Gallery Tag"
|
3223 |
msgstr ""
|
3224 |
|
3225 |
+
#: ../responsive-lightbox.php:1117
|
3226 |
msgid "Update Gallery Tag"
|
3227 |
msgstr ""
|
3228 |
|
3229 |
+
#: ../responsive-lightbox.php:1118
|
3230 |
msgid "Add New Gallery Tag"
|
3231 |
msgstr ""
|
3232 |
|
3233 |
+
#: ../responsive-lightbox.php:1119
|
3234 |
msgid "New Gallery Tag Name"
|
3235 |
msgstr ""
|
3236 |
|
3237 |
+
#: ../responsive-lightbox.php:1120
|
3238 |
msgid "Separate gallery tags with commas"
|
3239 |
msgstr ""
|
3240 |
|
3241 |
+
#: ../responsive-lightbox.php:1121
|
3242 |
msgid "Add or remove gallery tags"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
+
#: ../responsive-lightbox.php:1122
|
3246 |
msgid "Choose from the most used gallery tags"
|
3247 |
msgstr ""
|
3248 |
|
3249 |
+
#: ../responsive-lightbox.php:1152
|
3250 |
msgid "Add New"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
+
#: ../responsive-lightbox.php:1153
|
3254 |
msgid "Add New Gallery"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
+
#: ../responsive-lightbox.php:1154
|
3258 |
msgid "Edit Gallery"
|
3259 |
msgstr ""
|
3260 |
|
3261 |
+
#: ../responsive-lightbox.php:1155
|
3262 |
msgid "New Gallery"
|
3263 |
msgstr ""
|
3264 |
|
3265 |
+
#: ../responsive-lightbox.php:1156
|
3266 |
msgid "View Gallery"
|
3267 |
msgstr ""
|
3268 |
|
3269 |
+
#: ../responsive-lightbox.php:1157
|
3270 |
msgid "View Galleries"
|
3271 |
msgstr ""
|
3272 |
|
3273 |
+
#: ../responsive-lightbox.php:1158
|
3274 |
msgid "Search Galleries"
|
3275 |
msgstr ""
|
3276 |
|
3277 |
+
#: ../responsive-lightbox.php:1159
|
3278 |
msgid "No galleries found"
|
3279 |
msgstr ""
|
3280 |
|
3281 |
+
#: ../responsive-lightbox.php:1160
|
3282 |
msgid "No galleries found in trash"
|
3283 |
msgstr ""
|
3284 |
|
3285 |
+
#: ../responsive-lightbox.php:1161
|
3286 |
msgid "All Galleries"
|
3287 |
msgstr ""
|
3288 |
|
3289 |
+
#: ../responsive-lightbox.php:1298
|
3290 |
msgid "New gallery"
|
3291 |
msgstr ""
|
3292 |
|
3293 |
+
#: ../responsive-lightbox.php:1318
|
3294 |
msgid "Edit category"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
+
#: ../responsive-lightbox.php:1338
|
3298 |
msgid "Edit tag"
|
3299 |
msgstr ""
|
3300 |
|
3301 |
+
#: ../responsive-lightbox.php:1411 ../responsive-lightbox.php:1412
|
3302 |
msgid "Gallery updated."
|
3303 |
msgstr ""
|
3304 |
|
3305 |
+
#: ../responsive-lightbox.php:1413
|
3306 |
#, php-format
|
3307 |
msgid "Gallery restored to revision from %s"
|
3308 |
msgstr ""
|
3309 |
|
3310 |
+
#: ../responsive-lightbox.php:1414
|
3311 |
msgid "Gallery published."
|
3312 |
msgstr ""
|
3313 |
|
3314 |
+
#: ../responsive-lightbox.php:1415
|
3315 |
msgid "Gallery saved."
|
3316 |
msgstr ""
|
3317 |
|
3318 |
+
#: ../responsive-lightbox.php:1416
|
3319 |
msgid "Gallery submitted."
|
3320 |
msgstr ""
|
3321 |
|
3322 |
+
#: ../responsive-lightbox.php:1418
|
3323 |
#, php-format
|
3324 |
msgid "Gallery scheduled for: <strong>%1$s</strong>."
|
3325 |
msgstr ""
|
3326 |
|
3327 |
+
#: ../responsive-lightbox.php:1419
|
3328 |
msgid "M j, Y @ G:i"
|
3329 |
msgstr ""
|
3330 |
|
3331 |
+
#: ../responsive-lightbox.php:1421
|
3332 |
msgid "Gallery draft updated."
|
3333 |
msgstr ""
|
3334 |
|
3335 |
+
#: ../responsive-lightbox.php:1427
|
3336 |
msgid "View gallery"
|
3337 |
msgstr ""
|
3338 |
|
3339 |
+
#: ../responsive-lightbox.php:1433
|
3340 |
msgid "Preview gallery"
|
3341 |
msgstr ""
|
3342 |
|
3343 |
+
#: ../responsive-lightbox.php:1468
|
3344 |
msgid "Search Tags"
|
3345 |
msgstr ""
|
3346 |
|
3347 |
+
#: ../responsive-lightbox.php:1469
|
3348 |
msgid "All Tags"
|
3349 |
msgstr ""
|
3350 |
|
3351 |
+
#: ../responsive-lightbox.php:1470
|
3352 |
msgid "Edit Tag"
|
3353 |
msgstr ""
|
3354 |
|
3355 |
+
#: ../responsive-lightbox.php:1471
|
3356 |
msgid "Update Tag"
|
3357 |
msgstr ""
|
3358 |
|
3359 |
+
#: ../responsive-lightbox.php:1472
|
3360 |
msgid "Add New Tag"
|
3361 |
msgstr ""
|
3362 |
|
3363 |
+
#: ../responsive-lightbox.php:1473
|
3364 |
msgid "New Tag Name"
|
3365 |
msgstr ""
|
3366 |
|
3367 |
+
#: ../responsive-lightbox.php:1474
|
3368 |
msgid "No tags found."
|
3369 |
msgstr ""
|
3370 |
|
3371 |
+
#: ../responsive-lightbox.php:1549
|
3372 |
msgid "Search Folders"
|
3373 |
msgstr ""
|
3374 |
|
3375 |
+
#: ../responsive-lightbox.php:1551
|
3376 |
msgid "Parent Folder"
|
3377 |
msgstr ""
|
3378 |
|
3379 |
+
#: ../responsive-lightbox.php:1552
|
3380 |
msgid "Parent Folder:"
|
3381 |
msgstr ""
|
3382 |
|
3383 |
+
#: ../responsive-lightbox.php:1553
|
3384 |
msgid "Edit Folder"
|
3385 |
msgstr ""
|
3386 |
|
3387 |
+
#: ../responsive-lightbox.php:1554
|
3388 |
msgid "Update Folder"
|
3389 |
msgstr ""
|
3390 |
|
3391 |
+
#: ../responsive-lightbox.php:1555
|
3392 |
msgid "Add New Folder"
|
3393 |
msgstr ""
|
3394 |
|
3395 |
+
#: ../responsive-lightbox.php:1556
|
3396 |
msgid "New Folder Name"
|
3397 |
msgstr ""
|
3398 |
|
3399 |
+
#: ../responsive-lightbox.php:1557
|
3400 |
msgid "No folders found."
|
3401 |
msgstr ""
|
3402 |
|
3403 |
+
#: ../responsive-lightbox.php:1590
|
3404 |
msgid "Are you sure you want to reset these settings to defaults?"
|
3405 |
msgstr ""
|
3406 |
|
3407 |
+
#: ../responsive-lightbox.php:1612 ../responsive-lightbox.php:1737
|
3408 |
msgid "Use these images"
|
3409 |
msgstr ""
|
3410 |
|
3411 |
+
#: ../responsive-lightbox.php:1613
|
3412 |
msgid "Edit attachment"
|
3413 |
msgstr ""
|
3414 |
|
3415 |
+
#: ../responsive-lightbox.php:1614
|
3416 |
msgid "Save attachment"
|
3417 |
msgstr ""
|
3418 |
|
3419 |
+
#: ../responsive-lightbox.php:1639
|
3420 |
msgid "Responsive Lightbox & Gallery - Deactivation survey"
|
3421 |
msgstr ""
|
3422 |
|
3423 |
+
#: ../responsive-lightbox.php:1738
|
3424 |
msgid "Use this image"
|
3425 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
|
|
3 |
Donate link: http://www.dfactory.eu/
|
4 |
Tags: gallery, galleries, image, images, responsive, lightbox, photo, photography, masonry, video, builder
|
5 |
Requires at least: 5.0
|
6 |
-
Tested up to: 5.6
|
7 |
-
Stable tag: 2.3.
|
8 |
Requires PHP: 5.2.4
|
9 |
License: MIT License
|
10 |
License URI: http://opensource.org/licenses/MIT
|
@@ -139,6 +139,13 @@ Responsive Lightbox and Gallery plugin comes with many styles and effects alread
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
= 2.3.1 =
|
143 |
* Fix: Plugin capabilities not granted properly
|
144 |
|
@@ -453,5 +460,5 @@ Initial release
|
|
453 |
|
454 |
== Upgrade Notice ==
|
455 |
|
456 |
-
= 2.3.
|
457 |
-
* Fix:
|
3 |
Donate link: http://www.dfactory.eu/
|
4 |
Tags: gallery, galleries, image, images, responsive, lightbox, photo, photography, masonry, video, builder
|
5 |
Requires at least: 5.0
|
6 |
+
Tested up to: 5.6.1
|
7 |
+
Stable tag: 2.3.2
|
8 |
Requires PHP: 5.2.4
|
9 |
License: MIT License
|
10 |
License URI: http://opensource.org/licenses/MIT
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
+
= 2.3.2 =
|
143 |
+
* Fix: Add option to enable/disable advanced capability management
|
144 |
+
* Fix: Insert gallery into post not working in Gutenberg editor
|
145 |
+
* Fix: Remove "ready" deprecated event from front.js
|
146 |
+
* Fix: array_combine() function error class-folders.php
|
147 |
+
* FIx: $.uniqueSort is not a function error
|
148 |
+
|
149 |
= 2.3.1 =
|
150 |
* Fix: Plugin capabilities not granted properly
|
151 |
|
460 |
|
461 |
== Upgrade Notice ==
|
462 |
|
463 |
+
= 2.3.2 =
|
464 |
+
* Fix: Multiple bugfixes and improvements
|
responsive-lightbox.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Responsive Lightbox & Gallery
|
4 |
Description: Responsive Lightbox & Gallery allows users to create galleries and view larger versions of images, galleries and videos in a lightbox (overlay) effect optimized for mobile devices.
|
5 |
-
Version: 2.3.
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
|
@@ -12,7 +12,7 @@ Text Domain: responsive-lightbox
|
|
12 |
Domain Path: /languages
|
13 |
|
14 |
Responsive Lightbox & Gallery
|
15 |
-
Copyright (C) 2013-
|
16 |
|
17 |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
18 |
|
@@ -43,7 +43,7 @@ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'fun
|
|
43 |
* Responsive Lightbox class.
|
44 |
*
|
45 |
* @class Responsive_Lightbox
|
46 |
-
* @version 2.3.
|
47 |
*/
|
48 |
class Responsive_Lightbox {
|
49 |
|
@@ -222,41 +222,44 @@ class Responsive_Lightbox {
|
|
222 |
)
|
223 |
),
|
224 |
'capabilities' => array(
|
225 |
-
'
|
226 |
-
|
227 |
-
'
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
'
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
'
|
257 |
-
|
258 |
-
|
259 |
-
|
|
|
|
|
|
|
260 |
)
|
261 |
),
|
262 |
'basicgrid_gallery' => array(
|
@@ -302,7 +305,7 @@ class Responsive_Lightbox {
|
|
302 |
'origin_left' => true,
|
303 |
'origin_top' => true
|
304 |
),
|
305 |
-
'version' => '2.3.
|
306 |
'activation_date' => ''
|
307 |
);
|
308 |
public $options = array();
|
@@ -357,9 +360,15 @@ class Responsive_Lightbox {
|
|
357 |
}
|
358 |
}
|
359 |
|
|
|
|
|
|
|
|
|
|
|
360 |
$this->options['settings'] = array_merge( $this->defaults['settings'], ( ( $array = get_option( 'responsive_lightbox_settings' ) ) === false ? array() : $array ) );
|
361 |
$this->options['folders'] = array_merge( $this->defaults['folders'], ( ( $array = get_option( 'responsive_lightbox_folders' ) ) === false ? array() : $array ) );
|
362 |
$this->options['builder'] = array_merge( $this->defaults['builder'], ( ( $array = get_option( 'responsive_lightbox_builder' ) ) === false ? array() : $array ) );
|
|
|
363 |
$this->options['remote_library'] = array_merge( $this->defaults['remote_library'], ( ( $array = get_option( 'responsive_lightbox_remote_library' ) ) === false ? array() : $array ) );
|
364 |
|
365 |
// for multi arrays we have to merge them separately
|
@@ -434,20 +443,21 @@ class Responsive_Lightbox {
|
|
434 |
set_transient( 'rl_activation_redirect', 1, 3600 );
|
435 |
|
436 |
// grant new capabilities
|
437 |
-
$this->
|
438 |
|
439 |
// add options if needed
|
440 |
add_option( 'responsive_lightbox_settings', $this->defaults['settings'], '', false );
|
441 |
add_option( 'responsive_lightbox_configuration', $this->defaults['configuration'], '', false );
|
442 |
add_option( 'responsive_lightbox_folders', $this->defaults['folders'], '', false );
|
443 |
add_option( 'responsive_lightbox_builder', $this->defaults['builder'], '', false );
|
|
|
444 |
add_option( 'responsive_lightbox_remote_library', $this->defaults['remote_library'], '', false );
|
445 |
add_option( 'responsive_lightbox_version', $this->defaults['version'], '', false );
|
446 |
|
447 |
// permalinks
|
448 |
flush_rewrite_rules();
|
449 |
}
|
450 |
-
|
451 |
/**
|
452 |
* Single site deactivation function.
|
453 |
*
|
@@ -455,17 +465,6 @@ class Responsive_Lightbox {
|
|
455 |
* @return void
|
456 |
*/
|
457 |
public function deactivate_single( $multi = false ) {
|
458 |
-
global $wp_roles;
|
459 |
-
|
460 |
-
// remove all capabilities
|
461 |
-
foreach ( $wp_roles->roles as $role_name => $label ) {
|
462 |
-
$role = $wp_roles->get_role( $role_name );
|
463 |
-
|
464 |
-
foreach ( $this->capabilities as $capability => $label ) {
|
465 |
-
$role->remove_cap( $capability );
|
466 |
-
}
|
467 |
-
}
|
468 |
-
|
469 |
if ( $multi === true ) {
|
470 |
$options = get_option( 'responsive_lightbox_settings' );
|
471 |
$check = $options['deactivation_delete'];
|
@@ -474,10 +473,22 @@ class Responsive_Lightbox {
|
|
474 |
|
475 |
// delete options if needed
|
476 |
if ( $check ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
477 |
delete_option( 'responsive_lightbox_settings' );
|
478 |
delete_option( 'responsive_lightbox_configuration' );
|
479 |
delete_option( 'responsive_lightbox_folders' );
|
480 |
delete_option( 'responsive_lightbox_builder' );
|
|
|
481 |
delete_option( 'responsive_lightbox_remote_library' );
|
482 |
delete_option( 'responsive_lightbox_version' );
|
483 |
}
|
@@ -560,7 +571,7 @@ class Responsive_Lightbox {
|
|
560 |
// 2.3.1
|
561 |
if ( version_compare( $this->version, '2.3.1', '<' ) ) {
|
562 |
// grant new capabilities just before the version update
|
563 |
-
$this->
|
564 |
}
|
565 |
}
|
566 |
}
|
@@ -572,7 +583,11 @@ class Responsive_Lightbox {
|
|
572 |
*
|
573 |
* @return void
|
574 |
*/
|
575 |
-
public function
|
|
|
|
|
|
|
|
|
576 |
global $wp_roles;
|
577 |
|
578 |
$user = wp_get_current_user();
|
@@ -594,22 +609,25 @@ class Responsive_Lightbox {
|
|
594 |
$user->add_cap( 'edit_lightbox_settings' );
|
595 |
}
|
596 |
|
597 |
-
//
|
598 |
-
|
599 |
-
//
|
600 |
-
|
601 |
-
|
|
|
|
|
602 |
|
603 |
-
|
604 |
-
|
605 |
-
|
|
|
606 |
}
|
607 |
}
|
608 |
}
|
609 |
}
|
610 |
|
611 |
/**
|
612 |
-
* Early initialization.
|
613 |
*
|
614 |
* @return void
|
615 |
*/
|
@@ -627,6 +645,46 @@ class Responsive_Lightbox {
|
|
627 |
|
628 |
// only for backend
|
629 |
if ( is_admin() ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
630 |
// set capabilities with labels
|
631 |
$this->capabilities = array(
|
632 |
'publish_galleries' => __( 'Publish Galleries', 'responsive-lightbox' ),
|
@@ -647,7 +705,7 @@ class Responsive_Lightbox {
|
|
647 |
// 2.3.0 update
|
648 |
if ( version_compare( $this->version, '2.3.0', '<' ) ) {
|
649 |
// grant new capabilities just before the version update
|
650 |
-
$this->
|
651 |
}
|
652 |
|
653 |
// plugin version update
|
@@ -1001,151 +1059,155 @@ class Responsive_Lightbox {
|
|
1001 |
if ( $this->options['builder']['categories'] ) {
|
1002 |
$taxonomies[] = 'rl_category';
|
1003 |
|
1004 |
-
|
1005 |
-
'
|
1006 |
-
'
|
1007 |
-
array(
|
1008 |
-
'
|
1009 |
-
'
|
1010 |
-
'
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
'
|
1027 |
-
'
|
1028 |
-
'
|
1029 |
-
'slug' => $this->options['builder']['permalink_categories'],
|
1030 |
-
'with_front' => false,
|
1031 |
-
'hierarchical' => false
|
1032 |
-
),
|
1033 |
-
'capabilities' => array(
|
1034 |
-
'manage_terms' => 'manage_gallery_categories',
|
1035 |
-
'edit_terms' => 'manage_gallery_categories',
|
1036 |
-
'delete_terms' => 'manage_gallery_categories',
|
1037 |
-
'assign_terms' => 'edit_galleries'
|
1038 |
-
)
|
1039 |
)
|
1040 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1041 |
}
|
1042 |
|
1043 |
if ( $this->options['builder']['tags'] ) {
|
1044 |
$taxonomies[] = 'rl_tag';
|
1045 |
|
1046 |
-
|
1047 |
-
'
|
1048 |
-
'
|
1049 |
-
array(
|
1050 |
-
'public' => true,
|
1051 |
-
'hierarchical' => false,
|
1052 |
-
'labels' => array(
|
1053 |
-
'name' => _x( 'Gallery Tags', 'taxonomy general name', 'responsive-lightbox' ),
|
1054 |
-
'singular_name' => _x( 'Gallery Tag', 'taxonomy singular name', 'responsive-lightbox' ),
|
1055 |
-
'search_items' => __( 'Search Gallery Tags', 'responsive-lightbox' ),
|
1056 |
-
'popular_items' => __( 'Popular Gallery Tags', 'responsive-lightbox' ),
|
1057 |
-
'all_items' => __( 'All Gallery Tags', 'responsive-lightbox' ),
|
1058 |
-
'parent_item' => null,
|
1059 |
-
'parent_item_colon' => null,
|
1060 |
-
'edit_item' => __( 'Edit Gallery Tag', 'responsive-lightbox' ),
|
1061 |
-
'update_item' => __( 'Update Gallery Tag', 'responsive-lightbox' ),
|
1062 |
-
'add_new_item' => __( 'Add New Gallery Tag', 'responsive-lightbox' ),
|
1063 |
-
'new_item_name' => __( 'New Gallery Tag Name', 'responsive-lightbox' ),
|
1064 |
-
'separate_items_with_commas' => __( 'Separate gallery tags with commas', 'responsive-lightbox' ),
|
1065 |
-
'add_or_remove_items' => __( 'Add or remove gallery tags', 'responsive-lightbox' ),
|
1066 |
-
'choose_from_most_used' => __( 'Choose from the most used gallery tags', 'responsive-lightbox' ),
|
1067 |
-
'menu_name' => __( 'Tags', 'responsive-lightbox' )
|
1068 |
-
),
|
1069 |
-
'show_ui' => true,
|
1070 |
-
'show_admin_column' => true,
|
1071 |
-
'update_count_callback' => '_update_post_term_count',
|
1072 |
-
'query_var' => true,
|
1073 |
-
'rewrite' => array(
|
1074 |
-
'slug' => $this->options['builder']['permalink_tags'],
|
1075 |
-
'with_front' => false,
|
1076 |
-
'hierarchical' => false
|
1077 |
-
),
|
1078 |
-
'capabilities' => array(
|
1079 |
-
'manage_terms' => 'manage_gallery_tags',
|
1080 |
-
'edit_terms' => 'manage_gallery_tags',
|
1081 |
-
'delete_terms' => 'manage_gallery_tags',
|
1082 |
-
'assign_terms' => 'edit_galleries'
|
1083 |
-
)
|
1084 |
-
)
|
1085 |
-
);
|
1086 |
-
}
|
1087 |
-
|
1088 |
-
// register rl_gallery
|
1089 |
-
register_post_type(
|
1090 |
-
'rl_gallery',
|
1091 |
-
array(
|
1092 |
'labels' => array(
|
1093 |
-
'name'
|
1094 |
-
'singular_name'
|
1095 |
-
'
|
1096 |
-
'
|
1097 |
-
'
|
1098 |
-
'
|
1099 |
-
'
|
1100 |
-
'
|
1101 |
-
'
|
1102 |
-
'
|
1103 |
-
'
|
1104 |
-
'
|
1105 |
-
'
|
|
|
|
|
1106 |
),
|
1107 |
-
'description' => '',
|
1108 |
-
'public' => true,
|
1109 |
-
'exclude_from_search' => false,
|
1110 |
-
'publicly_queryable' => true,
|
1111 |
'show_ui' => true,
|
1112 |
-
'
|
1113 |
-
'
|
1114 |
-
'show_in_nav_menus' => true,
|
1115 |
-
'menu_position' => 57,
|
1116 |
-
'menu_icon' => 'dashicons-format-gallery',
|
1117 |
-
'capability_type' => array( 'gallery', 'galleries' ),
|
1118 |
-
'capabilities' => array(
|
1119 |
-
'publish_posts' => 'publish_galleries',
|
1120 |
-
'edit_posts' => 'edit_galleries',
|
1121 |
-
'edit_published_posts' => 'edit_published_galleries',
|
1122 |
-
'edit_others_posts' => 'edit_others_galleries',
|
1123 |
-
'edit_private_posts' => 'edit_private_galleries',
|
1124 |
-
'delete_posts' => 'delete_galleries',
|
1125 |
-
'delete_published_posts' => 'delete_published_galleries',
|
1126 |
-
'delete_others_posts' => 'delete_others_galleries',
|
1127 |
-
'delete_private_posts' => 'delete_private_galleries',
|
1128 |
-
'read_private_posts' => 'read_private_galleries',
|
1129 |
-
'edit_post' => 'edit_gallery',
|
1130 |
-
'delete_post' => 'delete_gallery',
|
1131 |
-
'read_post' => 'read_gallery'
|
1132 |
-
),
|
1133 |
-
'map_meta_cap' => true,
|
1134 |
-
'hierarchical' => false,
|
1135 |
-
'supports' => array( 'title', 'author', 'thumbnail' ),
|
1136 |
-
'has_archive' => $this->options['builder']['archives'],
|
1137 |
'query_var' => true,
|
1138 |
-
'can_export' => true,
|
1139 |
-
'taxonomies' => $taxonomies,
|
1140 |
'rewrite' => array(
|
1141 |
-
'slug' => $this->options['builder']['
|
1142 |
'with_front' => false,
|
1143 |
-
'
|
1144 |
-
'pages' => true
|
1145 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1146 |
)
|
1147 |
);
|
1148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1149 |
if ( $this->options['builder']['archives'] && $this->options['builder']['archives_category'] !== 'all' && ! is_admin() )
|
1150 |
add_action( 'pre_get_posts', array( $this, 'gallery_archives' ) );
|
1151 |
|
@@ -1181,20 +1243,26 @@ class Responsive_Lightbox {
|
|
1181 |
'name' => $settings->tabs[$tab_key]['name']
|
1182 |
);
|
1183 |
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
|
|
|
|
|
|
1188 |
} elseif ( $tab_key === 'gallery' ) {
|
1189 |
$breadcrumbs[] = array(
|
1190 |
'url' => admin_url( 'admin.php?page=responsive-lightbox-gallery' ),
|
1191 |
'name' => $settings->tabs[$tab_key]['name']
|
1192 |
);
|
1193 |
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
|
|
|
|
|
|
1198 |
} else {
|
1199 |
$breadcrumbs[] = array(
|
1200 |
'url' => '',
|
@@ -1615,9 +1683,6 @@ class Responsive_Lightbox {
|
|
1615 |
public function gutenberg_enqueue_scripts() {
|
1616 |
$rl = Responsive_Lightbox();
|
1617 |
|
1618 |
-
// enqueue gallery
|
1619 |
-
$rl->galleries->enqueue_gallery_scripts_styles();
|
1620 |
-
|
1621 |
// enqueue script
|
1622 |
wp_enqueue_script( 'responsive-lightbox-block-editor-script', RESPONSIVE_LIGHTBOX_URL . '/js/gutenberg.min.js', array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor', 'wp-components' ), $rl->defaults['version'] );
|
1623 |
|
@@ -1632,6 +1697,9 @@ class Responsive_Lightbox {
|
|
1632 |
)
|
1633 |
);
|
1634 |
|
|
|
|
|
|
|
1635 |
// register gallery block
|
1636 |
register_block_type(
|
1637 |
'responsive-lightbox/gallery',
|
@@ -1983,7 +2051,7 @@ class Responsive_Lightbox {
|
|
1983 |
wp_register_script( 'responsive-lightbox-images-loaded', RESPONSIVE_LIGHTBOX_URL . '/assets/imagesloaded/imagesloaded.pkgd' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', array( 'jquery' ) );
|
1984 |
wp_register_script( 'responsive-lightbox-masonry', RESPONSIVE_LIGHTBOX_URL . '/assets/masonry/masonry.pkgd' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', array( 'jquery' ), Responsive_Lightbox()->defaults['version'], ( Responsive_Lightbox()->options['settings']['loading_place'] === 'footer' ) );
|
1985 |
|
1986 |
-
wp_register_script( 'responsive-lightbox', plugins_url( 'js/front.js', __FILE__ ), array( 'jquery', 'responsive-lightbox-infinite-scroll' ), $this->defaults['version'], ( $this->options['settings']['loading_place'] === 'header' ? false : true ) );
|
1987 |
|
1988 |
$args['woocommerce_gallery'] = 0;
|
1989 |
|
2 |
/*
|
3 |
Plugin Name: Responsive Lightbox & Gallery
|
4 |
Description: Responsive Lightbox & Gallery allows users to create galleries and view larger versions of images, galleries and videos in a lightbox (overlay) effect optimized for mobile devices.
|
5 |
+
Version: 2.3.2
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
|
12 |
Domain Path: /languages
|
13 |
|
14 |
Responsive Lightbox & Gallery
|
15 |
+
Copyright (C) 2013-2021, Digital Factory - info@digitalfactory.pl
|
16 |
|
17 |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
18 |
|
43 |
* Responsive Lightbox class.
|
44 |
*
|
45 |
* @class Responsive_Lightbox
|
46 |
+
* @version 2.3.2
|
47 |
*/
|
48 |
class Responsive_Lightbox {
|
49 |
|
222 |
)
|
223 |
),
|
224 |
'capabilities' => array(
|
225 |
+
'active' => false,
|
226 |
+
'roles' => array(
|
227 |
+
'administrator' => array(
|
228 |
+
'publish_galleries',
|
229 |
+
'edit_galleries',
|
230 |
+
'edit_published_galleries',
|
231 |
+
'edit_others_galleries',
|
232 |
+
'edit_private_galleries',
|
233 |
+
'delete_galleries',
|
234 |
+
'delete_published_galleries',
|
235 |
+
'delete_others_galleries',
|
236 |
+
'delete_private_galleries',
|
237 |
+
'read_private_galleries',
|
238 |
+
'manage_gallery_categories',
|
239 |
+
'manage_gallery_tags',
|
240 |
+
'edit_lightbox_settings'
|
241 |
+
),
|
242 |
+
'editor' => array(
|
243 |
+
'publish_galleries',
|
244 |
+
'edit_galleries',
|
245 |
+
'edit_published_galleries',
|
246 |
+
'edit_others_galleries',
|
247 |
+
'edit_private_galleries',
|
248 |
+
'delete_galleries',
|
249 |
+
'delete_published_galleries',
|
250 |
+
'delete_others_galleries',
|
251 |
+
'delete_private_galleries',
|
252 |
+
'read_private_galleries',
|
253 |
+
'manage_gallery_categories',
|
254 |
+
'manage_gallery_tags'
|
255 |
+
),
|
256 |
+
'author' => array(
|
257 |
+
'publish_galleries',
|
258 |
+
'edit_galleries',
|
259 |
+
'edit_published_galleries',
|
260 |
+
'delete_galleries',
|
261 |
+
'delete_published_galleries'
|
262 |
+
)
|
263 |
)
|
264 |
),
|
265 |
'basicgrid_gallery' => array(
|
305 |
'origin_left' => true,
|
306 |
'origin_top' => true
|
307 |
),
|
308 |
+
'version' => '2.3.2',
|
309 |
'activation_date' => ''
|
310 |
);
|
311 |
public $options = array();
|
360 |
}
|
361 |
}
|
362 |
|
363 |
+
$capabilities = get_option( 'responsive_lightbox_capabilities' );
|
364 |
+
|
365 |
+
if ( empty( $capabilities ) )
|
366 |
+
$capabilities = array();
|
367 |
+
|
368 |
$this->options['settings'] = array_merge( $this->defaults['settings'], ( ( $array = get_option( 'responsive_lightbox_settings' ) ) === false ? array() : $array ) );
|
369 |
$this->options['folders'] = array_merge( $this->defaults['folders'], ( ( $array = get_option( 'responsive_lightbox_folders' ) ) === false ? array() : $array ) );
|
370 |
$this->options['builder'] = array_merge( $this->defaults['builder'], ( ( $array = get_option( 'responsive_lightbox_builder' ) ) === false ? array() : $array ) );
|
371 |
+
$this->options['capabilities'] = array_merge( $this->defaults['capabilities'], $capabilities );
|
372 |
$this->options['remote_library'] = array_merge( $this->defaults['remote_library'], ( ( $array = get_option( 'responsive_lightbox_remote_library' ) ) === false ? array() : $array ) );
|
373 |
|
374 |
// for multi arrays we have to merge them separately
|
443 |
set_transient( 'rl_activation_redirect', 1, 3600 );
|
444 |
|
445 |
// grant new capabilities
|
446 |
+
$this->grant_capabilities();
|
447 |
|
448 |
// add options if needed
|
449 |
add_option( 'responsive_lightbox_settings', $this->defaults['settings'], '', false );
|
450 |
add_option( 'responsive_lightbox_configuration', $this->defaults['configuration'], '', false );
|
451 |
add_option( 'responsive_lightbox_folders', $this->defaults['folders'], '', false );
|
452 |
add_option( 'responsive_lightbox_builder', $this->defaults['builder'], '', false );
|
453 |
+
add_option( 'responsive_lightbox_capabilities', $this->defaults['capabilities'], '', false );
|
454 |
add_option( 'responsive_lightbox_remote_library', $this->defaults['remote_library'], '', false );
|
455 |
add_option( 'responsive_lightbox_version', $this->defaults['version'], '', false );
|
456 |
|
457 |
// permalinks
|
458 |
flush_rewrite_rules();
|
459 |
}
|
460 |
+
|
461 |
/**
|
462 |
* Single site deactivation function.
|
463 |
*
|
465 |
* @return void
|
466 |
*/
|
467 |
public function deactivate_single( $multi = false ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
if ( $multi === true ) {
|
469 |
$options = get_option( 'responsive_lightbox_settings' );
|
470 |
$check = $options['deactivation_delete'];
|
473 |
|
474 |
// delete options if needed
|
475 |
if ( $check ) {
|
476 |
+
global $wp_roles;
|
477 |
+
|
478 |
+
// remove all capabilities
|
479 |
+
foreach ( $wp_roles->roles as $role_name => $label ) {
|
480 |
+
$role = $wp_roles->get_role( $role_name );
|
481 |
+
|
482 |
+
foreach ( $this->capabilities as $capability => $label ) {
|
483 |
+
$role->remove_cap( $capability );
|
484 |
+
}
|
485 |
+
}
|
486 |
+
|
487 |
delete_option( 'responsive_lightbox_settings' );
|
488 |
delete_option( 'responsive_lightbox_configuration' );
|
489 |
delete_option( 'responsive_lightbox_folders' );
|
490 |
delete_option( 'responsive_lightbox_builder' );
|
491 |
+
delete_option( 'responsive_lightbox_capabilities' );
|
492 |
delete_option( 'responsive_lightbox_remote_library' );
|
493 |
delete_option( 'responsive_lightbox_version' );
|
494 |
}
|
571 |
// 2.3.1
|
572 |
if ( version_compare( $this->version, '2.3.1', '<' ) ) {
|
573 |
// grant new capabilities just before the version update
|
574 |
+
$this->grant_capabilities();
|
575 |
}
|
576 |
}
|
577 |
}
|
583 |
*
|
584 |
* @return void
|
585 |
*/
|
586 |
+
public function grant_capabilities() {
|
587 |
+
// no capabilities?
|
588 |
+
if ( ! $this->options['capabilities']['active'] )
|
589 |
+
return;
|
590 |
+
|
591 |
global $wp_roles;
|
592 |
|
593 |
$user = wp_get_current_user();
|
609 |
$user->add_cap( 'edit_lightbox_settings' );
|
610 |
}
|
611 |
|
612 |
+
// role exists?
|
613 |
+
if ( array_key_exists( $role_name, $this->defaults['capabilities']['roles'] ) ) {
|
614 |
+
// add new capabilities to the current roles nevertheless
|
615 |
+
foreach ( $this->capabilities as $capability => $label ) {
|
616 |
+
// capability exists?
|
617 |
+
if ( in_array( $capability, $this->defaults['capabilities']['roles'][$role_name], true ) ) {
|
618 |
+
$role->add_cap( $capability );
|
619 |
|
620 |
+
// force capability on the current user
|
621 |
+
if ( $capability === 'edit_lightbox_settings' && is_a( $user, 'WP_User' ) && ! $user->has_cap( 'edit_lightbox_settings' ) && in_array( $role_name, $user->roles, true ) )
|
622 |
+
$user->add_cap( 'edit_lightbox_settings' );
|
623 |
+
}
|
624 |
}
|
625 |
}
|
626 |
}
|
627 |
}
|
628 |
|
629 |
/**
|
630 |
+
* Early plugin initialization.
|
631 |
*
|
632 |
* @return void
|
633 |
*/
|
645 |
|
646 |
// only for backend
|
647 |
if ( is_admin() ) {
|
648 |
+
$galleries = apply_filters( 'rl_gallery_types', $this->gallery_types );
|
649 |
+
|
650 |
+
$update_settings = false;
|
651 |
+
|
652 |
+
// lightbox scipt does not exist?
|
653 |
+
if ( ! array_key_exists( $this->options['settings']['script'], $this->options['configuration'] ) ) {
|
654 |
+
// set default script
|
655 |
+
$this->options['settings']['script'] = $this->defaults['settings']['script'];
|
656 |
+
|
657 |
+
$update_settings = true;
|
658 |
+
}
|
659 |
+
|
660 |
+
// check default WordPress gallery
|
661 |
+
if ( ! array_key_exists( $this->options['settings']['default_gallery'], $galleries ) ) {
|
662 |
+
// set default gallery
|
663 |
+
$this->options['settings']['default_gallery'] = $this->defaults['settings']['default_gallery'];
|
664 |
+
|
665 |
+
$update_settings = true;
|
666 |
+
}
|
667 |
+
|
668 |
+
// check default builder gallery
|
669 |
+
if ( ! array_key_exists( $this->options['settings']['builder_gallery'], $galleries ) ) {
|
670 |
+
// set default gallery
|
671 |
+
$this->options['settings']['builder_gallery'] = $this->defaults['settings']['builder_gallery'];
|
672 |
+
|
673 |
+
$update_settings = true;
|
674 |
+
}
|
675 |
+
|
676 |
+
// check default WooCommerce gallery
|
677 |
+
if ( ! array_key_exists( $this->options['settings']['default_woocommerce_gallery'], $galleries ) ) {
|
678 |
+
// set default gallery
|
679 |
+
$this->options['settings']['default_woocommerce_gallery'] = $this->defaults['settings']['default_woocommerce_gallery'];
|
680 |
+
|
681 |
+
$update_settings = true;
|
682 |
+
}
|
683 |
+
|
684 |
+
// update settings
|
685 |
+
if ( $update_settings )
|
686 |
+
update_option( 'responsive_lightbox_settings', $this->options['settings'], false );
|
687 |
+
|
688 |
// set capabilities with labels
|
689 |
$this->capabilities = array(
|
690 |
'publish_galleries' => __( 'Publish Galleries', 'responsive-lightbox' ),
|
705 |
// 2.3.0 update
|
706 |
if ( version_compare( $this->version, '2.3.0', '<' ) ) {
|
707 |
// grant new capabilities just before the version update
|
708 |
+
$this->grant_capabilities();
|
709 |
}
|
710 |
|
711 |
// plugin version update
|
1059 |
if ( $this->options['builder']['categories'] ) {
|
1060 |
$taxonomies[] = 'rl_category';
|
1061 |
|
1062 |
+
$data = array(
|
1063 |
+
'public' => true,
|
1064 |
+
'hierarchical' => true,
|
1065 |
+
'labels' => array(
|
1066 |
+
'name' => _x( 'Gallery Categories', 'taxonomy general name', 'responsive-lightbox' ),
|
1067 |
+
'singular_name' => _x( 'Gallery Category', 'taxonomy singular name', 'responsive-lightbox' ),
|
1068 |
+
'search_items' => __( 'Search Gallery Categories', 'responsive-lightbox' ),
|
1069 |
+
'all_items' => __( 'All Gallery Categories', 'responsive-lightbox' ),
|
1070 |
+
'parent_item' => __( 'Parent Gallery Category', 'responsive-lightbox' ),
|
1071 |
+
'parent_item_colon' => __( 'Parent Gallery Category:', 'responsive-lightbox' ),
|
1072 |
+
'edit_item' => __( 'Edit Gallery Category', 'responsive-lightbox' ),
|
1073 |
+
'view_item' => __( 'View Gallery Category', 'responsive-lightbox' ),
|
1074 |
+
'update_item' => __( 'Update Gallery Category', 'responsive-lightbox' ),
|
1075 |
+
'add_new_item' => __( 'Add New Gallery Category', 'responsive-lightbox' ),
|
1076 |
+
'new_item_name' => __( 'New Gallery Category Name', 'responsive-lightbox' ),
|
1077 |
+
'menu_name' => __( 'Categories', 'responsive-lightbox' )
|
1078 |
+
),
|
1079 |
+
'show_ui' => true,
|
1080 |
+
'show_admin_column' => true,
|
1081 |
+
'update_count_callback' => '_update_post_term_count',
|
1082 |
+
'query_var' => true,
|
1083 |
+
'rewrite' => array(
|
1084 |
+
'slug' => $this->options['builder']['permalink_categories'],
|
1085 |
+
'with_front' => false,
|
1086 |
+
'hierarchical' => false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1087 |
)
|
1088 |
);
|
1089 |
+
|
1090 |
+
if ( $this->options['capabilities']['active'] ) {
|
1091 |
+
$data['capabilities'] = array(
|
1092 |
+
'manage_terms' => 'manage_gallery_categories',
|
1093 |
+
'edit_terms' => 'manage_gallery_categories',
|
1094 |
+
'delete_terms' => 'manage_gallery_categories',
|
1095 |
+
'assign_terms' => 'edit_galleries'
|
1096 |
+
);
|
1097 |
+
}
|
1098 |
+
|
1099 |
+
register_taxonomy( 'rl_category', 'rl_gallery', $data );
|
1100 |
}
|
1101 |
|
1102 |
if ( $this->options['builder']['tags'] ) {
|
1103 |
$taxonomies[] = 'rl_tag';
|
1104 |
|
1105 |
+
$data = array(
|
1106 |
+
'public' => true,
|
1107 |
+
'hierarchical' => false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1108 |
'labels' => array(
|
1109 |
+
'name' => _x( 'Gallery Tags', 'taxonomy general name', 'responsive-lightbox' ),
|
1110 |
+
'singular_name' => _x( 'Gallery Tag', 'taxonomy singular name', 'responsive-lightbox' ),
|
1111 |
+
'search_items' => __( 'Search Gallery Tags', 'responsive-lightbox' ),
|
1112 |
+
'popular_items' => __( 'Popular Gallery Tags', 'responsive-lightbox' ),
|
1113 |
+
'all_items' => __( 'All Gallery Tags', 'responsive-lightbox' ),
|
1114 |
+
'parent_item' => null,
|
1115 |
+
'parent_item_colon' => null,
|
1116 |
+
'edit_item' => __( 'Edit Gallery Tag', 'responsive-lightbox' ),
|
1117 |
+
'update_item' => __( 'Update Gallery Tag', 'responsive-lightbox' ),
|
1118 |
+
'add_new_item' => __( 'Add New Gallery Tag', 'responsive-lightbox' ),
|
1119 |
+
'new_item_name' => __( 'New Gallery Tag Name', 'responsive-lightbox' ),
|
1120 |
+
'separate_items_with_commas' => __( 'Separate gallery tags with commas', 'responsive-lightbox' ),
|
1121 |
+
'add_or_remove_items' => __( 'Add or remove gallery tags', 'responsive-lightbox' ),
|
1122 |
+
'choose_from_most_used' => __( 'Choose from the most used gallery tags', 'responsive-lightbox' ),
|
1123 |
+
'menu_name' => __( 'Tags', 'responsive-lightbox' )
|
1124 |
),
|
|
|
|
|
|
|
|
|
1125 |
'show_ui' => true,
|
1126 |
+
'show_admin_column' => true,
|
1127 |
+
'update_count_callback' => '_update_post_term_count',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1128 |
'query_var' => true,
|
|
|
|
|
1129 |
'rewrite' => array(
|
1130 |
+
'slug' => $this->options['builder']['permalink_tags'],
|
1131 |
'with_front' => false,
|
1132 |
+
'hierarchical' => false
|
|
|
1133 |
)
|
1134 |
+
);
|
1135 |
+
|
1136 |
+
if ( $this->options['capabilities']['active'] ) {
|
1137 |
+
$data['capabilities'] = array(
|
1138 |
+
'manage_terms' => 'manage_gallery_tags',
|
1139 |
+
'edit_terms' => 'manage_gallery_tags',
|
1140 |
+
'delete_terms' => 'manage_gallery_tags',
|
1141 |
+
'assign_terms' => 'edit_galleries'
|
1142 |
+
);
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
register_taxonomy( 'rl_tag', 'rl_gallery', $data );
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
$data = array(
|
1149 |
+
'labels' => array(
|
1150 |
+
'name' => _x( 'Galleries', 'post type general name', 'responsive-lightbox' ),
|
1151 |
+
'singular_name' => _x( 'Gallery', 'post type singular name', 'responsive-lightbox' ),
|
1152 |
+
'add_new' => __( 'Add New', 'responsive-lightbox' ),
|
1153 |
+
'add_new_item' => __( 'Add New Gallery', 'responsive-lightbox' ),
|
1154 |
+
'edit_item' => __( 'Edit Gallery', 'responsive-lightbox' ),
|
1155 |
+
'new_item' => __( 'New Gallery', 'responsive-lightbox' ),
|
1156 |
+
'view_item' => __( 'View Gallery', 'responsive-lightbox' ),
|
1157 |
+
'view_items' => __( 'View Galleries', 'responsive-lightbox' ),
|
1158 |
+
'search_items' => __( 'Search Galleries', 'responsive-lightbox' ),
|
1159 |
+
'not_found' => __( 'No galleries found', 'responsive-lightbox' ),
|
1160 |
+
'not_found_in_trash' => __( 'No galleries found in trash', 'responsive-lightbox' ),
|
1161 |
+
'all_items' => __( 'All Galleries', 'responsive-lightbox' ),
|
1162 |
+
'menu_name' => __( 'Gallery', 'responsive-lightbox' )
|
1163 |
+
),
|
1164 |
+
'description' => '',
|
1165 |
+
'public' => true,
|
1166 |
+
'exclude_from_search' => false,
|
1167 |
+
'publicly_queryable' => true,
|
1168 |
+
'show_ui' => true,
|
1169 |
+
'show_in_menu' => true,
|
1170 |
+
'show_in_admin_bar' => true,
|
1171 |
+
'show_in_nav_menus' => true,
|
1172 |
+
'menu_position' => 57,
|
1173 |
+
'menu_icon' => 'dashicons-format-gallery',
|
1174 |
+
'map_meta_cap' => true,
|
1175 |
+
'hierarchical' => false,
|
1176 |
+
'supports' => array( 'title', 'author', 'thumbnail' ),
|
1177 |
+
'has_archive' => $this->options['builder']['archives'],
|
1178 |
+
'query_var' => true,
|
1179 |
+
'can_export' => true,
|
1180 |
+
'taxonomies' => $taxonomies,
|
1181 |
+
'rewrite' => array(
|
1182 |
+
'slug' => $this->options['builder']['permalink'],
|
1183 |
+
'with_front' => false,
|
1184 |
+
'feed' => true,
|
1185 |
+
'pages' => true
|
1186 |
)
|
1187 |
);
|
1188 |
|
1189 |
+
if ( $this->options['capabilities']['active'] ) {
|
1190 |
+
$data['capability_type'] = array( 'gallery', 'galleries' );
|
1191 |
+
$data['capabilities'] = array(
|
1192 |
+
'publish_posts' => 'publish_galleries',
|
1193 |
+
'edit_posts' => 'edit_galleries',
|
1194 |
+
'edit_published_posts' => 'edit_published_galleries',
|
1195 |
+
'edit_others_posts' => 'edit_others_galleries',
|
1196 |
+
'edit_private_posts' => 'edit_private_galleries',
|
1197 |
+
'delete_posts' => 'delete_galleries',
|
1198 |
+
'delete_published_posts' => 'delete_published_galleries',
|
1199 |
+
'delete_others_posts' => 'delete_others_galleries',
|
1200 |
+
'delete_private_posts' => 'delete_private_galleries',
|
1201 |
+
'read_private_posts' => 'read_private_galleries',
|
1202 |
+
'edit_post' => 'edit_gallery',
|
1203 |
+
'delete_post' => 'delete_gallery',
|
1204 |
+
'read_post' => 'read_gallery'
|
1205 |
+
);
|
1206 |
+
}
|
1207 |
+
|
1208 |
+
// register rl_gallery
|
1209 |
+
register_post_type( 'rl_gallery', $data );
|
1210 |
+
|
1211 |
if ( $this->options['builder']['archives'] && $this->options['builder']['archives_category'] !== 'all' && ! is_admin() )
|
1212 |
add_action( 'pre_get_posts', array( $this, 'gallery_archives' ) );
|
1213 |
|
1243 |
'name' => $settings->tabs[$tab_key]['name']
|
1244 |
);
|
1245 |
|
1246 |
+
// valid lightbox script?
|
1247 |
+
if ( array_key_exists( $section_key, $settings->scripts ) ) {
|
1248 |
+
$breadcrumbs[] = array(
|
1249 |
+
'url' => '',
|
1250 |
+
'name' => $settings->scripts[$section_key]['name']
|
1251 |
+
);
|
1252 |
+
}
|
1253 |
} elseif ( $tab_key === 'gallery' ) {
|
1254 |
$breadcrumbs[] = array(
|
1255 |
'url' => admin_url( 'admin.php?page=responsive-lightbox-gallery' ),
|
1256 |
'name' => $settings->tabs[$tab_key]['name']
|
1257 |
);
|
1258 |
|
1259 |
+
// valid gallery?
|
1260 |
+
if ( array_key_exists( $section_key, $settings->tabs['gallery']['sections'] ) ) {
|
1261 |
+
$breadcrumbs[] = array(
|
1262 |
+
'url' => '',
|
1263 |
+
'name' => $settings->tabs['gallery']['sections'][$section_key]
|
1264 |
+
);
|
1265 |
+
}
|
1266 |
} else {
|
1267 |
$breadcrumbs[] = array(
|
1268 |
'url' => '',
|
1683 |
public function gutenberg_enqueue_scripts() {
|
1684 |
$rl = Responsive_Lightbox();
|
1685 |
|
|
|
|
|
|
|
1686 |
// enqueue script
|
1687 |
wp_enqueue_script( 'responsive-lightbox-block-editor-script', RESPONSIVE_LIGHTBOX_URL . '/js/gutenberg.min.js', array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor', 'wp-components' ), $rl->defaults['version'] );
|
1688 |
|
1697 |
)
|
1698 |
);
|
1699 |
|
1700 |
+
// enqueue gallery
|
1701 |
+
$rl->galleries->enqueue_gallery_scripts_styles();
|
1702 |
+
|
1703 |
// register gallery block
|
1704 |
register_block_type(
|
1705 |
'responsive-lightbox/gallery',
|
2051 |
wp_register_script( 'responsive-lightbox-images-loaded', RESPONSIVE_LIGHTBOX_URL . '/assets/imagesloaded/imagesloaded.pkgd' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', array( 'jquery' ) );
|
2052 |
wp_register_script( 'responsive-lightbox-masonry', RESPONSIVE_LIGHTBOX_URL . '/assets/masonry/masonry.pkgd' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.js', array( 'jquery' ), Responsive_Lightbox()->defaults['version'], ( Responsive_Lightbox()->options['settings']['loading_place'] === 'footer' ) );
|
2053 |
|
2054 |
+
wp_register_script( 'responsive-lightbox', plugins_url( 'js/front.js', __FILE__ ), array( 'jquery', 'underscore', 'responsive-lightbox-infinite-scroll' ), $this->defaults['version'], ( $this->options['settings']['loading_place'] === 'header' ? false : true ) );
|
2055 |
|
2056 |
$args['woocommerce_gallery'] = 0;
|
2057 |
|