Shortcodes Ultimate - Version 4.9.2

Version Description

  • Added: minor improvements for tabs/spoilers anchors (auto-removing extra # characters)
  • Added: compatibility with TablePress's advanced editor
  • Added: new option for tabs. You can now link any tab to any webpage [su_tab url="http://" target="blank"]
  • Added: new option wmode for [youtube_advanced], forum topic
  • Added: new shortcode [lightbox_content]
  • Fixed: lightbox and galleries scripts, forum topic
  • Fixed: removed global function $.support.transition, forum topic
  • Updated: Russian language
  • Updated: Japanese language
  • Updated: FontAwesome, 4.1.0
  • Updated: Magnific Popup, 0.9.9
Download this release

Release Info

Developer gn_themes
Plugin Icon 128x128 Shortcodes Ultimate
Version 4.9.2
Comparing to
See all releases

Code changes from version 4.9.1 to 4.9.2

assets/css/box-shortcodes.css CHANGED
@@ -504,6 +504,28 @@
504
vertical-align: middle;
505
}
506
507
/* Common margin resets for box elements
508
---------------------------------------------------------------*/
509
@@ -513,7 +535,8 @@
513
.su-service-content > *:first-child,
514
.su-box-content > *:first-child,
515
.su-note-inner > *:first-child,
516
- .su-expand-content > *:first-child { margin-top: 0; }
517
.su-column-inner > *:last-child,
518
.su-tabs-pane > *:last-child,
519
.su-accordion > *:last-child,
@@ -521,4 +544,5 @@
521
.su-service-content > *:last-child,
522
.su-box-content > *:last-child,
523
.su-note-inner > *:last-child,
524
- .su-expand-content > *:last-child { margin-bottom: 0; }
504
vertical-align: middle;
505
}
506
507
+ /* Lightbox content
508
+ ---------------------------------------------------------------*/
509
+
510
+ .su-lightbox-content {
511
+ position: relative;
512
+ margin: 0 auto;
513
+ }
514
+ .mfp-content .su-lightbox-content,
515
+ #su-generator .su-lightbox-content { display: block !important; }
516
+ .su-lightbox-content-preview {
517
+ width: 100%;
518
+ min-height: 300px;
519
+ background: #444;
520
+ overflow: hidden;
521
+ }
522
+ .su-lightbox-content h1,
523
+ .su-lightbox-content h2,
524
+ .su-lightbox-content h3,
525
+ .su-lightbox-content h4,
526
+ .su-lightbox-content h5,
527
+ .su-lightbox-content h6 { color: inherit; }
528
+
529
/* Common margin resets for box elements
530
---------------------------------------------------------------*/
531
535
.su-service-content > *:first-child,
536
.su-box-content > *:first-child,
537
.su-note-inner > *:first-child,
538
+ .su-expand-content > *:first-child,
539
+ .su-lightbox-content > *:first-child { margin-top: 0; }
540
.su-column-inner > *:last-child,
541
.su-tabs-pane > *:last-child,
542
.su-accordion > *:last-child,
544
.su-service-content > *:last-child,
545
.su-box-content > *:last-child,
546
.su-note-inner > *:last-child,
547
+ .su-expand-content > *:last-child,
548
+ .su-lightbox-content > *:last-child { margin-bottom: 0; }
assets/css/content-shortcodes.css CHANGED
@@ -362,7 +362,7 @@
362
}
363
.su-table .su-even td { background: #f7f7f7 !important }
364
365
- /* Table
366
---------------------------------------------------------------*/
367
368
.su-qrcode { display: inline-block; }
362
}
363
.su-table .su-even td { background: #f7f7f7 !important }
364
365
+ /* QR code
366
---------------------------------------------------------------*/
367
368
.su-qrcode { display: inline-block; }
assets/css/generator.css CHANGED
@@ -636,9 +636,9 @@
636
color: #fff;
637
}
638
639
- body.su-mfp-shown .mfp-bg { z-index: 100000 !important; }
640
- body.su-mfp-shown .mfp-wrap { z-index: 100001 !important; }
641
- body.su-mfp-shown .mfp-preloader { z-index: 100002 !important; }
642
- body.su-mfp-shown .mfp-content { z-index: 100003 !important; }
643
body.su-mfp-shown button.mfp-close,
644
- body.su-mfp-shown button.mfp-arrow { z-index: 100004 !important; }
636
color: #fff;
637
}
638
639
+ body.su-mfp-shown .mfp-bg { z-index: 101000 !important; }
640
+ body.su-mfp-shown .mfp-wrap { z-index: 101001 !important; }
641
+ body.su-mfp-shown .mfp-preloader { z-index: 101002 !important; }
642
+ body.su-mfp-shown .mfp-content { z-index: 101003 !important; }
643
body.su-mfp-shown button.mfp-close,
644
+ body.su-mfp-shown button.mfp-arrow { z-index: 101004 !important; }
assets/css/magnific-popup.css CHANGED
@@ -129,13 +129,15 @@ button::-moz-focus-inner {
129
text-decoration: none;
130
text-align: center;
131
opacity: 0.65;
132
padding: 0 0 18px 10px;
133
color: white;
134
font-style: normal;
135
font-size: 28px;
136
font-family: Arial, Baskerville, monospace; }
137
.mfp-close:hover, .mfp-close:focus {
138
- opacity: 1; }
139
.mfp-close:active {
140
top: 1px; }
141
@@ -160,6 +162,7 @@ button::-moz-focus-inner {
160
.mfp-arrow {
161
position: absolute;
162
opacity: 0.65;
163
margin: 0;
164
top: 50%;
165
margin-top: -55px;
@@ -170,7 +173,8 @@ button::-moz-focus-inner {
170
.mfp-arrow:active {
171
margin-top: -54px; }
172
.mfp-arrow:hover, .mfp-arrow:focus {
173
- opacity: 1; }
174
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
175
content: '';
176
display: block;
@@ -188,7 +192,8 @@ button::-moz-focus-inner {
188
top: 8px; }
189
.mfp-arrow:before, .mfp-arrow .mfp-b {
190
border-top-width: 21px;
191
- border-bottom-width: 21px; }
192
193
.mfp-arrow-left {
194
left: 0; }
@@ -266,6 +271,8 @@ img.mfp-img {
266
display: block;
267
font-size: 12px;
268
line-height: 14px; }
269
270
.mfp-bottom-bar {
271
margin-top: -36px;
@@ -297,14 +304,12 @@ img.mfp-img {
297
padding-right: 0; }
298
.mfp-img-mobile img.mfp-img {
299
padding: 0; }
300
- .mfp-img-mobile .mfp-figure {
301
- /* The shadow behind the image */ }
302
- .mfp-img-mobile .mfp-figure:after {
303
- top: 0;
304
- bottom: 0; }
305
- .mfp-img-mobile .mfp-figure small {
306
- display: inline;
307
- margin-left: 5px; }
308
.mfp-img-mobile .mfp-bottom-bar {
309
background: rgba(0, 0, 0, 0.6);
310
bottom: 0;
@@ -360,4 +365,4 @@ img.mfp-img {
360
.mfp-ie7 .mfp-close {
361
top: 0;
362
right: 0;
363
- padding-top: 0; }
129
text-decoration: none;
130
text-align: center;
131
opacity: 0.65;
132
+ filter: alpha(opacity=65);
133
padding: 0 0 18px 10px;
134
color: white;
135
font-style: normal;
136
font-size: 28px;
137
font-family: Arial, Baskerville, monospace; }
138
.mfp-close:hover, .mfp-close:focus {
139
+ opacity: 1;
140
+ filter: alpha(opacity=100); }
141
.mfp-close:active {
142
top: 1px; }
143
162
.mfp-arrow {
163
position: absolute;
164
opacity: 0.65;
165
+ filter: alpha(opacity=65);
166
margin: 0;
167
top: 50%;
168
margin-top: -55px;
173
.mfp-arrow:active {
174
margin-top: -54px; }
175
.mfp-arrow:hover, .mfp-arrow:focus {
176
+ opacity: 1;
177
+ filter: alpha(opacity=100); }
178
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
179
content: '';
180
display: block;
192
top: 8px; }
193
.mfp-arrow:before, .mfp-arrow .mfp-b {
194
border-top-width: 21px;
195
+ border-bottom-width: 21px;
196
+ opacity: 0.7; }
197
198
.mfp-arrow-left {
199
left: 0; }
271
display: block;
272
font-size: 12px;
273
line-height: 14px; }
274
+ .mfp-figure figure {
275
+ margin: 0; }
276
277
.mfp-bottom-bar {
278
margin-top: -36px;
304
padding-right: 0; }
305
.mfp-img-mobile img.mfp-img {
306
padding: 0; }
307
+ .mfp-img-mobile .mfp-figure:after {
308
+ top: 0;
309
+ bottom: 0; }
310
+ .mfp-img-mobile .mfp-figure small {
311
+ display: inline;
312
+ margin-left: 5px; }
313
.mfp-img-mobile .mfp-bottom-bar {
314
background: rgba(0, 0, 0, 0.6);
315
bottom: 0;
365
.mfp-ie7 .mfp-close {
366
top: 0;
367
right: 0;
368
+ padding-top: 0; }
assets/css/other-shortcodes.css CHANGED
@@ -143,4 +143,4 @@
143
filter: alpha(opacity=60);
144
}
145
.su-posts-single-post .su-post-content { margin-bottom: 0.5em }
146
- .su-posts-single-post .su-post-content p:last-child { margin-bottom: 0 }
143
filter: alpha(opacity=60);
144
}
145
.su-posts-single-post .su-post-content { margin-bottom: 0.5em }
146
+ .su-posts-single-post .su-post-content p:last-child { margin-bottom: 0 }
assets/js/galleries-shortcodes.js CHANGED
@@ -1,4 +1,15 @@
1
jQuery(document).ready(function ($) {
2
// Enable sliders
3
$('.su-slider').each(function () {
4
// Prepare data
@@ -60,28 +71,24 @@ jQuery(document).ready(function ($) {
60
$swiper.swipePrev();
61
});
62
});
63
- // Lightbox for galleries (slider, carousel, custom_gallery)
64
- $('.su-lightbox-gallery').each(function () {
65
- $(this).magnificPopup({
66
- delegate: 'a',
67
type: 'image',
68
mainClass: 'mfp-img-mobile',
69
gallery: {
70
enabled: true,
71
navigateByImgClick: true,
72
- preload: [0, 1], // Will preload 0 - before current, and 1 after the current image
73
tPrev: su_magnific_popup.prev,
74
tNext: su_magnific_popup.next,
75
tCounter: su_magnific_popup.counter
76
},
77
- image: {
78
- tError: su_magnific_popup.error,
79
- titleSrc: function (item) {
80
- return item.el.children('img').attr('alt');
81
- }
82
- },
83
tClose: su_magnific_popup.close,
84
tLoading: su_magnific_popup.loading
85
- });
86
});
87
});
1
jQuery(document).ready(function ($) {
2
+ // Prepare items arrays for lightbox
3
+ $('.su-lightbox-gallery').each(function () {
4
+ var slides = [];
5
+ $(this).find('.su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide').each(function (i) {
6
+ $(this).attr('data-index', i);
7
+ slides.push({
8
+ src: $(this).children('a').attr('href')
9
+ });
10
+ });
11
+ $(this).data('slides', slides);
12
+ });
13
// Enable sliders
14
$('.su-slider').each(function () {
15
// Prepare data
71
$swiper.swipePrev();
72
});
73
});
74
+ // Enable lightbox
75
+ $('.su-lightbox-gallery').on('click', '.su-slider-slide, .su-carousel-slide, .su-custom-gallery-slide', function (e) {
76
+ e.preventDefault();
77
+ var slides = $(this).parents('.su-lightbox-gallery').data('slides');
78
+ $.magnificPopup.open({
79
+ items: slides,
80
type: 'image',
81
mainClass: 'mfp-img-mobile',
82
gallery: {
83
enabled: true,
84
navigateByImgClick: true,
85
+ preload: [0, 1],
86
tPrev: su_magnific_popup.prev,
87
tNext: su_magnific_popup.next,
88
tCounter: su_magnific_popup.counter
89
},
90
tClose: su_magnific_popup.close,
91
tLoading: su_magnific_popup.loading
92
+ }, $(this).data('index'));
93
});
94
});
assets/js/magnific-popup.js CHANGED
@@ -1,3 +1,3 @@
1
- // Magnific Popup v0.9.7 by Dmitry Semenov
2
// http://bit.ly/magnific-popup#build=inline+image+ajax+iframe+gallery+retina+imagezoom+fastclick
3
- (function(a){var b="Close",c="BeforeClose",d="AfterClose",e="BeforeAppend",f="MarkupParse",g="Open",h="Change",i="mfp",j="."+i,k="mfp-ready",l="mfp-removing",m="mfp-prevent-close",n,o=function(){},p=!!window.jQuery,q,r=a(window),s,t,u,v,w,x=function(a,b){n.ev.on(i+a+j,b)},y=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},z=function(b,c){n.ev.triggerHandler(i+b,c),n.st.callbacks&&(b=b.charAt(0).toLowerCase()+b.slice(1),n.st.callbacks[b]&&n.st.callbacks[b].apply(n,a.isArray(c)?c:[c]))},A=function(){(n.st.focus?n.content.find(n.st.focus).eq(0):n.wrap).focus()},B=function(b){if(b!==w||!n.currTemplate.closeBtn)n.currTemplate.closeBtn=a(n.st.closeMarkup.replace("%title%",n.st.tClose)),w=b;return n.currTemplate.closeBtn},C=function(){a.magnificPopup.instance||(n=new o,n.init(),a.magnificPopup.instance=n)},D=function(b){if(a(b).hasClass(m))return;var c=n.st.closeOnContentClick,d=n.st.closeOnBgClick;if(c&&d)return!0;if(!n.content||a(b).hasClass("mfp-close")||n.preloader&&b===n.preloader[0])return!0;if(b!==n.content[0]&&!a.contains(n.content[0],b)){if(d&&a.contains(document,b))return!0}else if(c)return!0;return!1},E=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(a.transition!==undefined)return!0;while(b.length)if(b.pop()+"Transition"in a)return!0;return!1};o.prototype={constructor:o,init:function(){var b=navigator.appVersion;n.isIE7=b.indexOf("MSIE 7.")!==-1,n.isIE8=b.indexOf("MSIE 8.")!==-1,n.isLowIE=n.isIE7||n.isIE8,n.isAndroid=/android/gi.test(b),n.isIOS=/iphone|ipad|ipod/gi.test(b),n.supportsTransition=E(),n.probablyMobile=n.isAndroid||n.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),s=a(document.body),t=a(document),n.popupsCache={}},open:function(b){var c;if(b.isObj===!1){n.items=b.items.toArray(),n.index=0;var d=b.items,e;for(c=0;c<d.length;c++){e=d[c],e.parsed&&(e=e.el[0]);if(e===b.el[0]){n.index=c;break}}}else n.items=a.isArray(b.items)?b.items:[b.items],n.index=b.index||0;if(n.isOpen){n.updateItemHTML();return}n.types=[],v="",b.mainEl&&b.mainEl.length?n.ev=b.mainEl.eq(0):n.ev=t,b.key?(n.popupsCache[b.key]||(n.popupsCache[b.key]={}),n.currTemplate=n.popupsCache[b.key]):n.currTemplate={},n.st=a.extend(!0,{},a.magnificPopup.defaults,b),n.fixedContentPos=n.st.fixedContentPos==="auto"?!n.probablyMobile:n.st.fixedContentPos,n.st.modal&&(n.st.closeOnContentClick=!1,n.st.closeOnBgClick=!1,n.st.showCloseBtn=!1,n.st.enableEscapeKey=!1),n.bgOverlay||(n.bgOverlay=y("bg").on("click"+j,function(){n.close()}),n.wrap=y("wrap").attr("tabindex",-1).on("click"+j,function(a){D(a.target)&&n.close()}),n.container=y("container",n.wrap)),n.contentContainer=y("content"),n.st.preloader&&(n.preloader=y("preloader",n.container,n.st.tLoading));var h=a.magnificPopup.modules;for(c=0;c<h.length;c++){var i=h[c];i=i.charAt(0).toUpperCase()+i.slice(1),n["init"+i].call(n)}z("BeforeOpen"),n.st.showCloseBtn&&(n.st.closeBtnInside?(x(f,function(a,b,c,d){c.close_replaceWith=B(d.type)}),v+=" mfp-close-btn-in"):n.wrap.append(B())),n.st.alignTop&&(v+=" mfp-align-top"),n.fixedContentPos?n.wrap.css({overflow:n.st.overflowY,overflowX:"hidden",overflowY:n.st.overflowY}):n.wrap.css({top:r.scrollTop(),position:"absolute"}),(n.st.fixedBgPos===!1||n.st.fixedBgPos==="auto"&&!n.fixedContentPos)&&n.bgOverlay.css({height:t.height(),position:"absolute"}),n.st.enableEscapeKey&&t.on("keyup"+j,function(a){a.keyCode===27&&n.close()}),r.on("resize"+j,function(){n.updateSize()}),n.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&n.wrap.addClass(v);var l=n.wH=r.height(),m={};if(n.fixedContentPos&&n._hasScrollBar(l)){var o=n._getScrollbarSize();o&&(m.paddingRight=o)}n.fixedContentPos&&(n.isIE7?a("body, html").css("overflow","hidden"):m.overflow="hidden");var p=n.st.mainClass;return n.isIE7&&(p+=" mfp-ie7"),p&&n._addClassToMFP(p),n.updateItemHTML(),z("BuildControls"),a("html").css(m),n.bgOverlay.add(n.wrap).prependTo(document.body),n._lastFocusedEl=document.activeElement,setTimeout(function(){n.content?(n._addClassToMFP(k),A()):n.bgOverlay.addClass(k),t.on("focusin"+j,function(b){if(b.target!==n.wrap[0]&&!a.contains(n.wrap[0],b.target))return A(),!1})},16),n.isOpen=!0,n.updateSize(l),z(g),b},close:function(){if(!n.isOpen)return;z(c),n.isOpen=!1,n.st.removalDelay&&!n.isLowIE&&n.supportsTransition?(n._addClassToMFP(l),setTimeout(function(){n._close()},n.st.removalDelay)):n._close()},_close:function(){z(b);var c=l+" "+k+" ";n.bgOverlay.detach(),n.wrap.detach(),n.container.empty(),n.st.mainClass&&(c+=n.st.mainClass+" "),n._removeClassFromMFP(c);if(n.fixedContentPos){var e={paddingRight:""};n.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}t.off("keyup"+j+" focusin"+j),n.ev.off(j),n.wrap.attr("class","mfp-wrap").removeAttr("style"),n.bgOverlay.attr("class","mfp-bg"),n.container.attr("class","mfp-container"),n.st.showCloseBtn&&(!n.st.closeBtnInside||n.currTemplate[n.currItem.type]===!0)&&n.currTemplate.closeBtn&&n.currTemplate.closeBtn.detach(),n._lastFocusedEl&&a(n._lastFocusedEl).focus(),n.currItem=null,n.content=null,n.currTemplate=null,n.prevHeight=0,z(d)},updateSize:function(a){if(n.isIOS){var b=document.documentElement.clientWidth/window.innerWidth,c=window.innerHeight*b;n.wrap.css("height",c),n.wH=c}else n.wH=a||r.height();n.fixedContentPos||n.wrap.css("height",n.wH),z("Resize")},updateItemHTML:function(){var b=n.items[n.index];n.contentContainer.detach(),n.content&&n.content.detach(),b.parsed||(b=n.parseEl(n.index));var c=b.type;z("BeforeChange",[n.currItem?n.currItem.type:"",c]),n.currItem=b;if(!n.currTemplate[c]){var d=n.st[c]?n.st[c].markup:!1;z("FirstMarkupParse",d),d?n.currTemplate[c]=a(d):n.currTemplate[c]=!0}u&&u!==b.type&&n.container.removeClass("mfp-"+u+"-holder");var e=n["get"+c.charAt(0).toUpperCase()+c.slice(1)](b,n.currTemplate[c]);n.appendContent(e,c),b.preloaded=!0,z(h,b),u=b.type,n.container.prepend(n.contentContainer),z("AfterChange")},appendContent:function(a,b){n.content=a,a?n.st.showCloseBtn&&n.st.closeBtnInside&&n.currTemplate[b]===!0?n.content.find(".mfp-close").length||n.content.append(B()):n.content=a:n.content="",z(e),n.container.addClass("mfp-"+b+"-holder"),n.contentContainer.append(n.content)},parseEl:function(b){var c=n.items[b],d=c.type;c.tagName?c={el:a(c)}:c={data:c,src:c.src};if(c.el){var e=n.types;for(var f=0;f<e.length;f++)if(c.el.hasClass("mfp-"+e[f])){d=e[f];break}c.src=c.el.attr("data-mfp-src"),c.src||(c.src=c.el.attr("href"))}return c.type=d||n.st.type||"inline",c.index=b,c.parsed=!0,n.items[b]=c,z("ElementParse",c),n.items[b]},addGroup:function(a,b){var c=function(c){c.mfpEl=this,n._openClick(c,a,b)};b||(b={});var d="click.magnificPopup";b.mainEl=a,b.items?(b.isObj=!0,a.off(d).on(d,c)):(b.isObj=!1,b.delegate?a.off(d).on(d,b.delegate,c):(b.items=a,a.off(d).on(d,c)))},_openClick:function(b,c,d){var e=d.midClick!==undefined?d.midClick:a.magnificPopup.defaults.midClick;if(!e&&(b.which===2||b.ctrlKey||b.metaKey))return;var f=d.disableOn!==undefined?d.disableOn:a.magnificPopup.defaults.disableOn;if(f)if(a.isFunction(f)){if(!f.call(n))return!0}else if(r.width()<f)return!0;b.type&&(b.preventDefault(),n.isOpen&&b.stopPropagation()),d.el=a(b.mfpEl),d.delegate&&(d.items=c.find(d.delegate)),n.open(d)},updateStatus:function(a,b){if(n.preloader){q!==a&&n.container.removeClass("mfp-s-"+q),!b&&a==="loading"&&(b=n.st.tLoading);var c={status:a,text:b};z("UpdateStatus",c),a=c.status,b=c.text,n.preloader.html(b),n.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),n.container.addClass("mfp-s-"+a),q=a}},_addClassToMFP:function(a){n.bgOverlay.addClass(a),n.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),n.wrap.removeClass(a)},_hasScrollBar:function(a){return(n.isIE7?t.height():document.body.scrollHeight)>(a||r.height())},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),z(f,[b,c,d]),a.each(c,function(a,c){if(c===undefined||c===!1)return!0;e=a.split("_");if(e.length>1){var d=b.find(j+"-"+e[0]);if(d.length>0){var f=e[1];f==="replaceWith"?d[0]!==c[0]&&d.replaceWith(c):f==="img"?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(j+"-"+a).html(c)})},_getScrollbarSize:function(){if(n.scrollbarSize===undefined){var a=document.createElement("div");a.id="mfp-sbm",a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),n.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return n.scrollbarSize}},a.magnificPopup={instance:null,proto:o.prototype,modules:[],open:function(b,c){return C(),b?b=a.extend(!0,{},b):b={},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(b){C();var c=a(this);if(typeof b=="string")if(b==="open"){var d,e=p?c.data("magnificPopup"):c[0].magnificPopup,f=parseInt(arguments[1],10)||0;e.items?d=e.items[f]:(d=c,e.delegate&&(d=d.find(e.delegate)),d=d.eq(f)),n._openClick({mfpEl:d},c,e)}else n.isOpen&&n[b].apply(n,Array.prototype.slice.call(arguments,1));else b=a.extend(!0,{},b),p?c.data("magnificPopup",b):c[0].magnificPopup=b,n.addGroup(c,b);return c};var F="inline",G,H,I,J=function(){I&&(H.after(I.addClass(G)).detach(),I=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){n.types.push(F),x(b+"."+F,function(){J()})},getInline:function(b,c){J();if(b.src){var d=n.st.inline,e=a(b.src);if(e.length){var f=e[0].parentNode;f&&f.tagName&&(H||(G=d.hiddenClass,H=y(G),G="mfp-"+G),I=e.after(H).detach().removeClass(G)),n.updateStatus("ready")}else n.updateStatus("error",d.tNotFound),e=a("<div>");return b.inlineElement=e,e}return n.updateStatus("ready"),n._parseMarkup(c,{},b),c}}});var K="ajax",L,M=function(){L&&s.removeClass(L)},N=function(){M(),n.req&&n.req.abort()};a.magnificPopup.registerModule(K,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){n.types.push(K),L=n.st.ajax.cursor,x(b+"."+K,N),x("BeforeChange."+K,N)},getAjax:function(b){L&&s.addClass(L),n.updateStatus("loading");var c=a.extend({url:b.src,success:function(c,d,e){var f={data:c,xhr:e};z("ParseAjax",f),n.appendContent(a(f.data),K),b.finished=!0,M(),A(),setTimeout(function(){n.wrap.addClass(k)},16),n.updateStatus("ready"),z("AjaxContentAdded")},error:function(){M(),b.finished=b.loadError=!0,n.updateStatus("error",n.st.ajax.tError.replace("%url%",b.src))}},n.st.ajax.settings);return n.req=a.ajax(c),""}}});var O,P=function(b){if(b.data&&b.data.title!==undefined)return b.data.title;var c=n.st.image.titleSrc;if(c){if(a.isFunction(c))return c.call(n,b);if(b.el)return b.el.attr(c)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><div class="mfp-img"></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var a=n.st.image,c=".image";n.types.push("image"),x(g+c,function(){n.currItem.type==="image"&&a.cursor&&s.addClass(a.cursor)}),x(b+c,function(){a.cursor&&s.removeClass(a.cursor),r.off("resize"+j)}),x("Resize"+c,n.resizeImage),n.isLowIE&&x("AfterChange",n.resizeImage)},resizeImage:function(){var a=n.currItem;if(!a||!a.img)return;if(n.st.image.verticalFit){var b=0;n.isLowIE&&(b=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",n.wH-b)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,O&&clearInterval(O),a.isCheckingImgSize=!1,z("ImageHasSize",a),a.imgHidden&&(n.content&&n.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var b=0,c=a.img[0],d=function(e){O&&clearInterval(O),O=setInterval(function(){if(c.naturalWidth>0){n._onImageHasSize(a);return}b>200&&clearInterval(O),b++,b===3?d(10):b===40?d(50):b===100&&d(500)},e)};d(1)},getImage:function(b,c){var d=0,e=function(){b&&(b.img[0].complete?(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("ready")),b.hasSize=!0,b.loaded=!0,z("ImageLoadComplete")):(d++,d<200?setTimeout(e,100):f()))},f=function(){b&&(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("error",g.tError.replace("%url%",b.src))),b.hasSize=!0,b.loaded=!0,b.loadError=!0)},g=n.st.image,h=c.find(".mfp-img");if(h.length){var i=document.createElement("img");i.className="mfp-img",b.img=a(i).on("load.mfploader",e).on("error.mfploader",f),i.src=b.src,h.is("img")&&(b.img=b.img.clone()),b.img[0].naturalWidth>0&&(b.hasSize=!0)}return n._parseMarkup(c,{title:P(b),img_replaceWith:b.img},b),n.resizeImage(),b.hasSize?(O&&clearInterval(O),b.loadError?(c.addClass("mfp-loading"),n.updateStatus("error",g.tError.replace("%url%",b.src))):(c.removeClass("mfp-loading"),n.updateStatus("ready")),c):(n.updateStatus("loading"),b.loading=!0,b.hasSize||(b.imgHidden=!0,c.addClass("mfp-loading"),n.findImageSize(b)),c)}}});var Q,R=function(){return Q===undefined&&(Q=document.createElement("p").style.MozTransform!==undefined),Q};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a=n.st.zoom,d=".zoom",e;if(!a.enabled||!n.supportsTransition)return;var f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){n.content.css("visibility","visible")},i,j;x("BuildControls"+d,function(){if(n._allowZoom()){clearTimeout(i),n.content.css("visibility","hidden"),e=n._getItemToZoom();if(!e){h();return}j=g(e),j.css(n._getOffset()),n.wrap.append(j),i=setTimeout(function(){j.css(n._getOffset(!0)),i=setTimeout(function(){h(),setTimeout(function(){j.remove(),e=j=null,z("ZoomAnimationEnded")},16)},f)},16)}}),x(c+d,function(){if(n._allowZoom()){clearTimeout(i),n.st.removalDelay=f;if(!e){e=n._getItemToZoom();if(!e)return;j=g(e)}j.css(n._getOffset(!0)),n.wrap.append(j),n.content.css("visibility","hidden"),setTimeout(function(){j.css(n._getOffset())},16)}}),x(b+d,function(){n._allowZoom()&&(h(),j&&j.remove(),e=null)})},_allowZoom:function(){return n.currItem.type==="image"},_getItemToZoom:function(){return n.currItem.hasSize?n.currItem.img:!1},_getOffset:function(b){var c;b?c=n.currItem.img:c=n.st.zoom.opener(n.currItem.el||n.currItem);var d=c.offset(),e=parseInt(c.css("padding-top"),10),f=parseInt(c.css("padding-bottom"),10);d.top-=a(window).scrollTop()-e;var g={width:c.width(),height:(p?c.innerHeight():c[0].offsetHeight)-f-e};return R()?g["-moz-transform"]=g.transform="translate("+d.left+"px,"+d.top+"px)":(g.left=d.left,g.top=d.top),g}}});var S="iframe",T="//about:blank",U=function(a){if(n.currTemplate[S]){var b=n.currTemplate[S].find("iframe");b.length&&(a||(b[0].src=T),n.isIE8&&b.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(S,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){n.types.push(S),x("BeforeChange",function(a,b,c){b!==c&&(b===S?U():c===S&&U(!0))}),x(b+"."+S,function(){U()})},getIframe:function(b,c){var d=b.src,e=n.st.iframe;a.each(e.patterns,function(){if(d.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?d=d.substr(d.lastIndexOf(this.id)+this.id.length,d.length):d=this.id.call(this,d)),d=this.src.replace("%id%",d),!1});var f={};return e.srcAction&&(f[e.srcAction]=d),n._parseMarkup(c,f,b),n.updateStatus("ready"),c}}});var V=function(a){var b=n.items.length;return a>b-1?a-b:a<0?b+a:a},W=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=n.st.gallery,d=".mfp-gallery",e=Boolean(a.fn.mfpFastClick);n.direction=!0;if(!c||!c.enabled)return!1;v+=" mfp-gallery",x(g+d,function(){c.navigateByImgClick&&n.wrap.on("click"+d,".mfp-img",function(){if(n.items.length>1)return n.next(),!1}),t.on("keydown"+d,function(a){a.keyCode===37?n.prev():a.keyCode===39&&n.next()})}),x("UpdateStatus"+d,function(a,b){b.text&&(b.text=W(b.text,n.currItem.index,n.items.length))}),x(f+d,function(a,b,d,e){var f=n.items.length;d.counter=f>1?W(c.tCounter,e.index,f):""}),x("BuildControls"+d,function(){if(n.items.length>1&&c.arrows&&!n.arrowLeft){var b=c.arrowMarkup,d=n.arrowLeft=a(b.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(m),f=n.arrowRight=a(b.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(m),g=e?"mfpFastClick":"click";d[g](function(){n.prev()}),f[g](function(){n.next()}),n.isIE7&&(y("b",d[0],!1,!0),y("a",d[0],!1,!0),y("b",f[0],!1,!0),y("a",f[0],!1,!0)),n.container.append(d.add(f))}}),x(h+d,function(){n._preloadTimeout&&clearTimeout(n._preloadTimeout),n._preloadTimeout=setTimeout(function(){n.preloadNearbyImages(),n._preloadTimeout=null},16)}),x(b+d,function(){t.off(d),n.wrap.off("click"+d),n.arrowLeft&&e&&n.arrowLeft.add(n.arrowRight).destroyMfpFastClick(),n.arrowRight=n.arrowLeft=null})},next:function(){n.direction=!0,n.index=V(n.index+1),n.updateItemHTML()},prev:function(){n.direction=!1,n.index=V(n.index-1),n.updateItemHTML()},goTo:function(a){n.direction=a>=n.index,n.index=a,n.updateItemHTML()},preloadNearbyImages:function(){var a=n.st.gallery.preload,b=Math.min(a[0],n.items.length),c=Math.min(a[1],n.items.length),d;for(d=1;d<=(n.direction?c:b);d++)n._preloadItem(n.index+d);for(d=1;d<=(n.direction?b:c);d++)n._preloadItem(n.index-d)},_preloadItem:function(b){b=V(b);if(n.items[b].preloaded)return;var c=n.items[b];c.parsed||(c=n.parseEl(b)),z("LazyLoad",c),c.type==="image"&&(c.img=a('<img class="mfp-img" />').on("load.mfploader",function(){c.hasSize=!0}).on("error.mfploader",function(){c.hasSize=!0,c.loadError=!0,z("LazyLoadError",c)}).attr("src",c.src)),c.preloaded=!0}}});var X="retina";a.magnificPopup.registerModule(X,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+#x2F;,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=n.st.retina,b=a.ratio;b=isNaN(b)?b():b,b>1&&(x("ImageHasSize."+X,function(a,c){c.img.css({"max-width":c.img[0].naturalWidth/b,width:"100%"})}),x("ElementParse."+X,function(c,d){d.src=a.replaceSrc(d,b)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){r.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g=a(this),h;if(c){var i,j,k,l,m,n;g.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,r.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0];if(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)l=!0,d()}).on("touchend"+f,function(a){d();if(l||n>1)return;h=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){h=!1},b),e()})})}g.on("click"+f,function(){h||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&r.off("touchmove"+f+" touchend"+f)}}()})(window.jQuery||window.Zepto)
1
+ // Magnific Popup v0.9.9 by Dmitry Semenov
2
// http://bit.ly/magnific-popup#build=inline+image+ajax+iframe+gallery+retina+imagezoom+fastclick
3
+ (function(a){var b="Close",c="BeforeClose",d="AfterClose",e="BeforeAppend",f="MarkupParse",g="Open",h="Change",i="mfp",j="."+i,k="mfp-ready",l="mfp-removing",m="mfp-prevent-close",n,o=function(){},p=!!window.jQuery,q,r=a(window),s,t,u,v,w,x=function(a,b){n.ev.on(i+a+j,b)},y=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},z=function(b,c){n.ev.triggerHandler(i+b,c),n.st.callbacks&&(b=b.charAt(0).toLowerCase()+b.slice(1),n.st.callbacks[b]&&n.st.callbacks[b].apply(n,a.isArray(c)?c:[c]))},A=function(b){if(b!==w||!n.currTemplate.closeBtn)n.currTemplate.closeBtn=a(n.st.closeMarkup.replace("%title%",n.st.tClose)),w=b;return n.currTemplate.closeBtn},B=function(){a.magnificPopup.instance||(n=new o,n.init(),a.magnificPopup.instance=n)},C=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(a.transition!==undefined)return!0;while(b.length)if(b.pop()+"Transition"in a)return!0;return!1};o.prototype={constructor:o,init:function(){var b=navigator.appVersion;n.isIE7=b.indexOf("MSIE 7.")!==-1,n.isIE8=b.indexOf("MSIE 8.")!==-1,n.isLowIE=n.isIE7||n.isIE8,n.isAndroid=/android/gi.test(b),n.isIOS=/iphone|ipad|ipod/gi.test(b),n.supportsTransition=C(),n.probablyMobile=n.isAndroid||n.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),t=a(document),n.popupsCache={}},open:function(b){s||(s=a(document.body));var c;if(b.isObj===!1){n.items=b.items.toArray(),n.index=0;var d=b.items,e;for(c=0;c<d.length;c++){e=d[c],e.parsed&&(e=e.el[0]);if(e===b.el[0]){n.index=c;break}}}else n.items=a.isArray(b.items)?b.items:[b.items],n.index=b.index||0;if(n.isOpen){n.updateItemHTML();return}n.types=[],v="",b.mainEl&&b.mainEl.length?n.ev=b.mainEl.eq(0):n.ev=t,b.key?(n.popupsCache[b.key]||(n.popupsCache[b.key]={}),n.currTemplate=n.popupsCache[b.key]):n.currTemplate={},n.st=a.extend(!0,{},a.magnificPopup.defaults,b),n.fixedContentPos=n.st.fixedContentPos==="auto"?!n.probablyMobile:n.st.fixedContentPos,n.st.modal&&(n.st.closeOnContentClick=!1,n.st.closeOnBgClick=!1,n.st.showCloseBtn=!1,n.st.enableEscapeKey=!1),n.bgOverlay||(n.bgOverlay=y("bg").on("click"+j,function(){n.close()}),n.wrap=y("wrap").attr("tabindex",-1).on("click"+j,function(a){n._checkIfClose(a.target)&&n.close()}),n.container=y("container",n.wrap)),n.contentContainer=y("content"),n.st.preloader&&(n.preloader=y("preloader",n.container,n.st.tLoading));var h=a.magnificPopup.modules;for(c=0;c<h.length;c++){var i=h[c];i=i.charAt(0).toUpperCase()+i.slice(1),n["init"+i].call(n)}z("BeforeOpen"),n.st.showCloseBtn&&(n.st.closeBtnInside?(x(f,function(a,b,c,d){c.close_replaceWith=A(d.type)}),v+=" mfp-close-btn-in"):n.wrap.append(A())),n.st.alignTop&&(v+=" mfp-align-top"),n.fixedContentPos?n.wrap.css({overflow:n.st.overflowY,overflowX:"hidden",overflowY:n.st.overflowY}):n.wrap.css({top:r.scrollTop(),position:"absolute"}),(n.st.fixedBgPos===!1||n.st.fixedBgPos==="auto"&&!n.fixedContentPos)&&n.bgOverlay.css({height:t.height(),position:"absolute"}),n.st.enableEscapeKey&&t.on("keyup"+j,function(a){a.keyCode===27&&n.close()}),r.on("resize"+j,function(){n.updateSize()}),n.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&n.wrap.addClass(v);var l=n.wH=r.height(),m={};if(n.fixedContentPos&&n._hasScrollBar(l)){var o=n._getScrollbarSize();o&&(m.marginRight=o)}n.fixedContentPos&&(n.isIE7?a("body, html").css("overflow","hidden"):m.overflow="hidden");var p=n.st.mainClass;return n.isIE7&&(p+=" mfp-ie7"),p&&n._addClassToMFP(p),n.updateItemHTML(),z("BuildControls"),a("html").css(m),n.bgOverlay.add(n.wrap).prependTo(n.st.prependTo||s),n._lastFocusedEl=document.activeElement,setTimeout(function(){n.content?(n._addClassToMFP(k),n._setFocus()):n.bgOverlay.addClass(k),t.on("focusin"+j,n._onFocusIn)},16),n.isOpen=!0,n.updateSize(l),z(g),b},close:function(){if(!n.isOpen)return;z(c),n.isOpen=!1,n.st.removalDelay&&!n.isLowIE&&n.supportsTransition?(n._addClassToMFP(l),setTimeout(function(){n._close()},n.st.removalDelay)):n._close()},_close:function(){z(b);var c=l+" "+k+" ";n.bgOverlay.detach(),n.wrap.detach(),n.container.empty(),n.st.mainClass&&(c+=n.st.mainClass+" "),n._removeClassFromMFP(c);if(n.fixedContentPos){var e={marginRight:""};n.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}t.off("keyup"+j+" focusin"+j),n.ev.off(j),n.wrap.attr("class","mfp-wrap").removeAttr("style"),n.bgOverlay.attr("class","mfp-bg"),n.container.attr("class","mfp-container"),n.st.showCloseBtn&&(!n.st.closeBtnInside||n.currTemplate[n.currItem.type]===!0)&&n.currTemplate.closeBtn&&n.currTemplate.closeBtn.detach(),n._lastFocusedEl&&a(n._lastFocusedEl).focus(),n.currItem=null,n.content=null,n.currTemplate=null,n.prevHeight=0,z(d)},updateSize:function(a){if(n.isIOS){var b=document.documentElement.clientWidth/window.innerWidth,c=window.innerHeight*b;n.wrap.css("height",c),n.wH=c}else n.wH=a||r.height();n.fixedContentPos||n.wrap.css("height",n.wH),z("Resize")},updateItemHTML:function(){var b=n.items[n.index];n.contentContainer.detach(),n.content&&n.content.detach(),b.parsed||(b=n.parseEl(n.index));var c=b.type;z("BeforeChange",[n.currItem?n.currItem.type:"",c]),n.currItem=b;if(!n.currTemplate[c]){var d=n.st[c]?n.st[c].markup:!1;z("FirstMarkupParse",d),d?n.currTemplate[c]=a(d):n.currTemplate[c]=!0}u&&u!==b.type&&n.container.removeClass("mfp-"+u+"-holder");var e=n["get"+c.charAt(0).toUpperCase()+c.slice(1)](b,n.currTemplate[c]);n.appendContent(e,c),b.preloaded=!0,z(h,b),u=b.type,n.container.prepend(n.contentContainer),z("AfterChange")},appendContent:function(a,b){n.content=a,a?n.st.showCloseBtn&&n.st.closeBtnInside&&n.currTemplate[b]===!0?n.content.find(".mfp-close").length||n.content.append(A()):n.content=a:n.content="",z(e),n.container.addClass("mfp-"+b+"-holder"),n.contentContainer.append(n.content)},parseEl:function(b){var c=n.items[b],d;c.tagName?c={el:a(c)}:(d=c.type,c={data:c,src:c.src});if(c.el){var e=n.types;for(var f=0;f<e.length;f++)if(c.el.hasClass("mfp-"+e[f])){d=e[f];break}c.src=c.el.attr("data-mfp-src"),c.src||(c.src=c.el.attr("href"))}return c.type=d||n.st.type||"inline",c.index=b,c.parsed=!0,n.items[b]=c,z("ElementParse",c),n.items[b]},addGroup:function(a,b){var c=function(c){c.mfpEl=this,n._openClick(c,a,b)};b||(b={});var d="click.magnificPopup";b.mainEl=a,b.items?(b.isObj=!0,a.off(d).on(d,c)):(b.isObj=!1,b.delegate?a.off(d).on(d,b.delegate,c):(b.items=a,a.off(d).on(d,c)))},_openClick:function(b,c,d){var e=d.midClick!==undefined?d.midClick:a.magnificPopup.defaults.midClick;if(!e&&(b.which===2||b.ctrlKey||b.metaKey))return;var f=d.disableOn!==undefined?d.disableOn:a.magnificPopup.defaults.disableOn;if(f)if(a.isFunction(f)){if(!f.call(n))return!0}else if(r.width()<f)return!0;b.type&&(b.preventDefault(),n.isOpen&&b.stopPropagation()),d.el=a(b.mfpEl),d.delegate&&(d.items=c.find(d.delegate)),n.open(d)},updateStatus:function(a,b){if(n.preloader){q!==a&&n.container.removeClass("mfp-s-"+q),!b&&a==="loading"&&(b=n.st.tLoading);var c={status:a,text:b};z("UpdateStatus",c),a=c.status,b=c.text,n.preloader.html(b),n.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),n.container.addClass("mfp-s-"+a),q=a}},_checkIfClose:function(b){if(a(b).hasClass(m))return;var c=n.st.closeOnContentClick,d=n.st.closeOnBgClick;if(c&&d)return!0;if(!n.content||a(b).hasClass("mfp-close")||n.preloader&&b===n.preloader[0])return!0;if(b!==n.content[0]&&!a.contains(n.content[0],b)){if(d&&a.contains(document,b))return!0}else if(c)return!0;return!1},_addClassToMFP:function(a){n.bgOverlay.addClass(a),n.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),n.wrap.removeClass(a)},_hasScrollBar:function(a){return(n.isIE7?t.height():document.body.scrollHeight)>(a||r.height())},_setFocus:function(){(n.st.focus?n.content.find(n.st.focus).eq(0):n.wrap).focus()},_onFocusIn:function(b){if(b.target!==n.wrap[0]&&!a.contains(n.wrap[0],b.target))return n._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),z(f,[b,c,d]),a.each(c,function(a,c){if(c===undefined||c===!1)return!0;e=a.split("_");if(e.length>1){var d=b.find(j+"-"+e[0]);if(d.length>0){var f=e[1];f==="replaceWith"?d[0]!==c[0]&&d.replaceWith(c):f==="img"?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(j+"-"+a).html(c)})},_getScrollbarSize:function(){if(n.scrollbarSize===undefined){var a=document.createElement("div");a.id="mfp-sbm",a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),n.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return n.scrollbarSize}},a.magnificPopup={instance:null,proto:o.prototype,modules:[],open:function(b,c){return B(),b?b=a.extend(!0,{},b):b={},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(b){B();var c=a(this);if(typeof b=="string")if(b==="open"){var d,e=p?c.data("magnificPopup"):c[0].magnificPopup,f=parseInt(arguments[1],10)||0;e.items?d=e.items[f]:(d=c,e.delegate&&(d=d.find(e.delegate)),d=d.eq(f)),n._openClick({mfpEl:d},c,e)}else n.isOpen&&n[b].apply(n,Array.prototype.slice.call(arguments,1));else b=a.extend(!0,{},b),p?c.data("magnificPopup",b):c[0].magnificPopup=b,n.addGroup(c,b);return c};var D="inline",E,F,G,H=function(){G&&(F.after(G.addClass(E)).detach(),G=null)};a.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){n.types.push(D),x(b+"."+D,function(){H()})},getInline:function(b,c){H();if(b.src){var d=n.st.inline,e=a(b.src);if(e.length){var f=e[0].parentNode;f&&f.tagName&&(F||(E=d.hiddenClass,F=y(E),E="mfp-"+E),G=e.after(F).detach().removeClass(E)),n.updateStatus("ready")}else n.updateStatus("error",d.tNotFound),e=a("<div>");return b.inlineElement=e,e}return n.updateStatus("ready"),n._parseMarkup(c,{},b),c}}});var I="ajax",J,K=function(){J&&s.removeClass(J)},L=function(){K(),n.req&&n.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){n.types.push(I),J=n.st.ajax.cursor,x(b+"."+I,L),x("BeforeChange."+I,L)},getAjax:function(b){J&&s.addClass(J),n.updateStatus("loading");var c=a.extend({url:b.src,success:function(c,d,e){var f={data:c,xhr:e};z("ParseAjax",f),n.appendContent(a(f.data),I),b.finished=!0,K(),n._setFocus(),setTimeout(function(){n.wrap.addClass(k)},16),n.updateStatus("ready"),z("AjaxContentAdded")},error:function(){K(),b.finished=b.loadError=!0,n.updateStatus("error",n.st.ajax.tError.replace("%url%",b.src))}},n.st.ajax.settings);return n.req=a.ajax(c),""}}});var M,N=function(b){if(b.data&&b.data.title!==undefined)return b.data.title;var c=n.st.image.titleSrc;if(c){if(a.isFunction(c))return c.call(n,b);if(b.el)return b.el.attr(c)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var a=n.st.image,c=".image";n.types.push("image"),x(g+c,function(){n.currItem.type==="image"&&a.cursor&&s.addClass(a.cursor)}),x(b+c,function(){a.cursor&&s.removeClass(a.cursor),r.off("resize"+j)}),x("Resize"+c,n.resizeImage),n.isLowIE&&x("AfterChange",n.resizeImage)},resizeImage:function(){var a=n.currItem;if(!a||!a.img)return;if(n.st.image.verticalFit){var b=0;n.isLowIE&&(b=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",n.wH-b)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,M&&clearInterval(M),a.isCheckingImgSize=!1,z("ImageHasSize",a),a.imgHidden&&(n.content&&n.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var b=0,c=a.img[0],d=function(e){M&&clearInterval(M),M=setInterval(function(){if(c.naturalWidth>0){n._onImageHasSize(a);return}b>200&&clearInterval(M),b++,b===3?d(10):b===40?d(50):b===100&&d(500)},e)};d(1)},getImage:function(b,c){var d=0,e=function(){b&&(b.img[0].complete?(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("ready")),b.hasSize=!0,b.loaded=!0,z("ImageLoadComplete")):(d++,d<200?setTimeout(e,100):f()))},f=function(){b&&(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("error",g.tError.replace("%url%",b.src))),b.hasSize=!0,b.loaded=!0,b.loadError=!0)},g=n.st.image,h=c.find(".mfp-img");if(h.length){var i=document.createElement("img");i.className="mfp-img",b.img=a(i).on("load.mfploader",e).on("error.mfploader",f),i.src=b.src,h.is("img")&&(b.img=b.img.clone()),i=b.img[0],i.naturalWidth>0?b.hasSize=!0:i.width||(b.hasSize=!1)}return n._parseMarkup(c,{title:N(b),img_replaceWith:b.img},b),n.resizeImage(),b.hasSize?(M&&clearInterval(M),b.loadError?(c.addClass("mfp-loading"),n.updateStatus("error",g.tError.replace("%url%",b.src))):(c.removeClass("mfp-loading"),n.updateStatus("ready")),c):(n.updateStatus("loading"),b.loading=!0,b.hasSize||(b.imgHidden=!0,c.addClass("mfp-loading"),n.findImageSize(b)),c)}}});var O,P=function(){return O===undefined&&(O=document.createElement("p").style.MozTransform!==undefined),O};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a=n.st.zoom,d=".zoom",e;if(!a.enabled||!n.supportsTransition)return;var f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){n.content.css("visibility","visible")},i,j;x("BuildControls"+d,function(){if(n._allowZoom()){clearTimeout(i),n.content.css("visibility","hidden"),e=n._getItemToZoom();if(!e){h();return}j=g(e),j.css(n._getOffset()),n.wrap.append(j),i=setTimeout(function(){j.css(n._getOffset(!0)),i=setTimeout(function(){h(),setTimeout(function(){j.remove(),e=j=null,z("ZoomAnimationEnded")},16)},f)},16)}}),x(c+d,function(){if(n._allowZoom()){clearTimeout(i),n.st.removalDelay=f;if(!e){e=n._getItemToZoom();if(!e)return;j=g(e)}j.css(n._getOffset(!0)),n.wrap.append(j),n.content.css("visibility","hidden"),setTimeout(function(){j.css(n._getOffset())},16)}}),x(b+d,function(){n._allowZoom()&&(h(),j&&j.remove(),e=null)})},_allowZoom:function(){return n.currItem.type==="image"},_getItemToZoom:function(){return n.currItem.hasSize?n.currItem.img:!1},_getOffset:function(b){var c;b?c=n.currItem.img:c=n.st.zoom.opener(n.currItem.el||n.currItem);var d=c.offset(),e=parseInt(c.css("padding-top"),10),f=parseInt(c.css("padding-bottom"),10);d.top-=a(window).scrollTop()-e;var g={width:c.width(),height:(p?c.innerHeight():c[0].offsetHeight)-f-e};return P()?g["-moz-transform"]=g.transform="translate("+d.left+"px,"+d.top+"px)":(g.left=d.left,g.top=d.top),g}}});var Q="iframe",R="//about:blank",S=function(a){if(n.currTemplate[Q]){var b=n.currTemplate[Q].find("iframe");b.length&&(a||(b[0].src=R),n.isIE8&&b.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(Q,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){n.types.push(Q),x("BeforeChange",function(a,b,c){b!==c&&(b===Q?S():c===Q&&S(!0))}),x(b+"."+Q,function(){S()})},getIframe:function(b,c){var d=b.src,e=n.st.iframe;a.each(e.patterns,function(){if(d.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?d=d.substr(d.lastIndexOf(this.id)+this.id.length,d.length):d=this.id.call(this,d)),d=this.src.replace("%id%",d),!1});var f={};return e.srcAction&&(f[e.srcAction]=d),n._parseMarkup(c,f,b),n.updateStatus("ready"),c}}});var T=function(a){var b=n.items.length;return a>b-1?a-b:a<0?b+a:a},U=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=n.st.gallery,d=".mfp-gallery",e=Boolean(a.fn.mfpFastClick);n.direction=!0;if(!c||!c.enabled)return!1;v+=" mfp-gallery",x(g+d,function(){c.navigateByImgClick&&n.wrap.on("click"+d,".mfp-img",function(){if(n.items.length>1)return n.next(),!1}),t.on("keydown"+d,function(a){a.keyCode===37?n.prev():a.keyCode===39&&n.next()})}),x("UpdateStatus"+d,function(a,b){b.text&&(b.text=U(b.text,n.currItem.index,n.items.length))}),x(f+d,function(a,b,d,e){var f=n.items.length;d.counter=f>1?U(c.tCounter,e.index,f):""}),x("BuildControls"+d,function(){if(n.items.length>1&&c.arrows&&!n.arrowLeft){var b=c.arrowMarkup,d=n.arrowLeft=a(b.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(m),f=n.arrowRight=a(b.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(m),g=e?"mfpFastClick":"click";d[g](function(){n.prev()}),f[g](function(){n.next()}),n.isIE7&&(y("b",d[0],!1,!0),y("a",d[0],!1,!0),y("b",f[0],!1,!0),y("a",f[0],!1,!0)),n.container.append(d.add(f))}}),x(h+d,function(){n._preloadTimeout&&clearTimeout(n._preloadTimeout),n._preloadTimeout=setTimeout(function(){n.preloadNearbyImages(),n._preloadTimeout=null},16)}),x(b+d,function(){t.off(d),n.wrap.off("click"+d),n.arrowLeft&&e&&n.arrowLeft.add(n.arrowRight).destroyMfpFastClick(),n.arrowRight=n.arrowLeft=null})},next:function(){n.direction=!0,n.index=T(n.index+1),n.updateItemHTML()},prev:function(){n.direction=!1,n.index=T(n.index-1),n.updateItemHTML()},goTo:function(a){n.direction=a>=n.index,n.index=a,n.updateItemHTML()},preloadNearbyImages:function(){var a=n.st.gallery.preload,b=Math.min(a[0],n.items.length),c=Math.min(a[1],n.items.length),d;for(d=1;d<=(n.direction?c:b);d++)n._preloadItem(n.index+d);for(d=1;d<=(n.direction?b:c);d++)n._preloadItem(n.index-d)},_preloadItem:function(b){b=T(b);if(n.items[b].preloaded)return;var c=n.items[b];c.parsed||(c=n.parseEl(b)),z("LazyLoad",c),c.type==="image"&&(c.img=a('<img class="mfp-img" />').on("load.mfploader",function(){c.hasSize=!0}).on("error.mfploader",function(){c.hasSize=!0,c.loadError=!0,z("LazyLoadError",c)}).attr("src",c.src)),c.preloaded=!0}}});var V="retina";a.magnificPopup.registerModule(V,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+#x2F;,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=n.st.retina,b=a.ratio;b=isNaN(b)?b():b,b>1&&(x("ImageHasSize."+V,function(a,c){c.img.css({"max-width":c.img[0].naturalWidth/b,width:"100%"})}),x("ElementParse."+V,function(c,d){d.src=a.replaceSrc(d,b)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){r.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g=a(this),h;if(c){var i,j,k,l,m,n;g.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,r.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0];if(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)l=!0,d()}).on("touchend"+f,function(a){d();if(l||n>1)return;h=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){h=!1},b),e()})})}g.on("click"+f,function(){h||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&r.off("touchmove"+f+" touchend"+f)}}(),B()})(window.jQuery||window.Zepto)
assets/js/other-shortcodes.js CHANGED
@@ -1,8 +1,5 @@
1
jQuery(document).ready(function ($) {
2
3
- // Check for jQuery version
4
- // if (parseInt(jQuery.fn.jquery.replace('.', '')) < 170) alert('Shortcodes Ultimate: Your theme uses an outdated version of jQuery. Some shortcodes may not work properly. Required version - 1.7.0');
5
-
6
// Spoiler
7
$('body:not(.su-other-shortcodes-loaded)').on('click', '.su-spoiler-title', function (e) {
8
var $title = $(this),
@@ -20,6 +17,7 @@ jQuery(document).ready(function ($) {
20
// Tabs
21
$('body:not(.su-other-shortcodes-loaded)').on('click', '.su-tabs-nav span', function (e) {
22
var $tab = $(this),
23
index = $tab.index(),
24
is_disabled = $tab.hasClass('su-tabs-disabled'),
25
$tabs = $tab.parent('.su-tabs-nav').children('span'),
@@ -39,6 +37,11 @@ jQuery(document).ready(function ($) {
39
});
40
// Set height for vertical tabs
41
tabs_height();
42
e.preventDefault();
43
});
44
@@ -154,18 +157,16 @@ jQuery(document).ready(function ($) {
154
});
155
});
156
157
- // jQuery.support.transition
158
- // to verify that CSS3 transition is supported (or any of its browser-specific implementations)
159
- $.support.transition = (function () {
160
var thisBody = document.body || document.documentElement,
161
thisStyle = thisBody.style,
162
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined;
163
164
return support;
165
- })();
166
167
// Animations is supported
168
- if ($.support.transition) {
169
// Animate
170
$('.su-animate').each(function () {
171
$(this).one('inview', function (e) {
1
jQuery(document).ready(function ($) {
2
3
// Spoiler
4
$('body:not(.su-other-shortcodes-loaded)').on('click', '.su-spoiler-title', function (e) {
5
var $title = $(this),
17
// Tabs
18
$('body:not(.su-other-shortcodes-loaded)').on('click', '.su-tabs-nav span', function (e) {
19
var $tab = $(this),
20
+ data = $tab.data(),
21
index = $tab.index(),
22
is_disabled = $tab.hasClass('su-tabs-disabled'),
23
$tabs = $tab.parent('.su-tabs-nav').children('span'),
37
});
38
// Set height for vertical tabs
39
tabs_height();
40
+ // Open specified url
41
+ if (data.url !== '') {
42
+ if (data.target === 'self') window.location = data.url;
43
+ else if (data.target === 'blank') window.open(data.url);
44
+ }
45
e.preventDefault();
46
});
47
157
});
158
});
159
160
+ function is_transition_supported() {
161
var thisBody = document.body || document.documentElement,
162
thisStyle = thisBody.style,
163
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined;
164
165
return support;
166
+ }
167
168
// Animations is supported
169
+ if (is_transition_supported()) {
170
// Animate
171
$('.su-animate').each(function () {
172
$(this).one('inview', function (e) {
inc/core/assets.php CHANGED
@@ -50,7 +50,7 @@ class Su_Assets {
50
wp_register_style( 'owl-carousel', plugins_url( 'assets/css/owl-carousel.css', SU_PLUGIN_FILE ), false, '1.3.2', 'all' );
51
wp_register_style( 'owl-carousel-transitions', plugins_url( 'assets/css/owl-carousel-transitions.css', SU_PLUGIN_FILE ), false, '1.3.2', 'all' );
52
// Font Awesome
53
- wp_register_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css', false, '4.0.3', 'all' );
54
// Animate.css
55
wp_register_style( 'animate', plugins_url( 'assets/css/animate.css', SU_PLUGIN_FILE ), false, '3.1.1', 'all' );
56
// InView
@@ -61,8 +61,8 @@ class Su_Assets {
61
// jsRender
62
wp_register_script( 'jsrender', plugins_url( 'assets/js/jsrender.js', SU_PLUGIN_FILE ), array( 'jquery' ), '1.0.0-beta', true );
63
// Magnific Popup
64
- wp_register_style( 'magnific-popup', plugins_url( 'assets/css/magnific-popup.css', SU_PLUGIN_FILE ), false, '0.9.7', 'all' );
65
- wp_register_script( 'magnific-popup', plugins_url( 'assets/js/magnific-popup.js', SU_PLUGIN_FILE ), array( 'jquery' ), '0.9.7', true );
66
wp_localize_script( 'magnific-popup', 'su_magnific_popup', array(
67
'close' => __( 'Close (Esc)', 'su' ),
68
'loading' => __( 'Loading...', 'su' ),
50
wp_register_style( 'owl-carousel', plugins_url( 'assets/css/owl-carousel.css', SU_PLUGIN_FILE ), false, '1.3.2', 'all' );
51
wp_register_style( 'owl-carousel-transitions', plugins_url( 'assets/css/owl-carousel-transitions.css', SU_PLUGIN_FILE ), false, '1.3.2', 'all' );
52
// Font Awesome
53
+ wp_register_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css', false, '4.1.0', 'all' );
54
// Animate.css
55
wp_register_style( 'animate', plugins_url( 'assets/css/animate.css', SU_PLUGIN_FILE ), false, '3.1.1', 'all' );
56
// InView
61
// jsRender
62
wp_register_script( 'jsrender', plugins_url( 'assets/js/jsrender.js', SU_PLUGIN_FILE ), array( 'jquery' ), '1.0.0-beta', true );
63
// Magnific Popup
64
+ wp_register_style( 'magnific-popup', plugins_url( 'assets/css/magnific-popup.css', SU_PLUGIN_FILE ), false, '0.9.9', 'all' );
65
+ wp_register_script( 'magnific-popup', plugins_url( 'assets/js/magnific-popup.js', SU_PLUGIN_FILE ), array( 'jquery' ), '0.9.9', true );
66
wp_localize_script( 'magnific-popup', 'su_magnific_popup', array(
67
'close' => __( 'Close (Esc)', 'su' ),
68
'loading' => __( 'Loading...', 'su' ),
inc/core/data.php CHANGED
@@ -13,7 +13,7 @@ class Su_Data {
13
* Shortcode groups
14
*/
15
public static function groups() {
16
- return ( array ) apply_filters( 'su/data/groups', array(
17
'all' => __( 'All', 'su' ),
18
'content' => __( 'Content', 'su' ),
19
'box' => __( 'Box', 'su' ),
@@ -28,7 +28,7 @@ class Su_Data {
28
* Border styles
29
*/
30
public static function borders() {
31
- return ( array ) apply_filters( 'su/data/borders', array(
32
'none' => __( 'None', 'su' ),
33
'solid' => __( 'Solid', 'su' ),
34
'dotted' => __( 'Dotted', 'su' ),
@@ -43,7 +43,7 @@ class Su_Data {
43
* Font-Awesome icons
44
*/
45
public static function icons() {
46
- return apply_filters( 'su/data/icons', array( 'glass', 'music', 'search', 'envelope-o', 'heart', 'star', 'star-o', 'user', 'film', 'th-large', 'th', 'th-list', 'check', 'times', 'search-plus', 'search-minus', 'power-off', 'signal', 'cog', 'trash-o', 'home', 'file-o', 'clock-o', 'road', 'download', 'arrow-circle-o-down', 'arrow-circle-o-up', 'inbox', 'play-circle-o', 'repeat', 'refresh', 'list-alt', 'lock', 'flag', 'headphones', 'volume-off', 'volume-down', 'volume-up', 'qrcode', 'barcode', 'tag', 'tags', 'book', 'bookmark', 'print', 'camera', 'font', 'bold', 'italic', 'text-height', 'text-width', 'align-left', 'align-center', 'align-right', 'align-justify', 'list', 'outdent', 'indent', 'video-camera', 'picture-o', 'pencil', 'map-marker', 'adjust', 'tint', 'pencil-square-o', 'share-square-o', 'check-square-o', 'arrows', 'step-backward', 'fast-backward', 'backward', 'play', 'pause', 'stop', 'forward', 'fast-forward', 'step-forward', 'eject', 'chevron-left', 'chevron-right', 'plus-circle', 'minus-circle', 'times-circle', 'check-circle', 'question-circle', 'info-circle', 'crosshairs', 'times-circle-o', 'check-circle-o', 'ban', 'arrow-left', 'arrow-right', 'arrow-up', 'arrow-down', 'share', 'expand', 'compress', 'plus', 'minus', 'asterisk', 'exclamation-circle', 'gift', 'leaf', 'fire', 'eye', 'eye-slash', 'exclamation-triangle', 'plane', 'calendar', 'random', 'comment', 'magnet', 'chevron-up', 'chevron-down', 'retweet', 'shopping-cart', 'folder', 'folder-open', 'arrows-v', 'arrows-h', 'bar-chart-o', 'twitter-square', 'facebook-square', 'camera-retro', 'key', 'cogs', 'comments', 'thumbs-o-up', 'thumbs-o-down', 'star-half', 'heart-o', 'sign-out', 'linkedin-square', 'thumb-tack', 'external-link', 'sign-in', 'trophy', 'github-square', 'upload', 'lemon-o', 'phone', 'square-o', 'bookmark-o', 'phone-square', 'twitter', 'facebook', 'github', 'unlock', 'credit-card', 'rss', 'hdd-o', 'bullhorn', 'bell', 'certificate', 'hand-o-right', 'hand-o-left', 'hand-o-up', 'hand-o-down', 'arrow-circle-left', 'arrow-circle-right', 'arrow-circle-up', 'arrow-circle-down', 'globe', 'wrench', 'tasks', 'filter', 'briefcase', 'arrows-alt', 'users', 'link', 'cloud', 'flask', 'scissors', 'files-o', 'paperclip', 'floppy-o', 'square', 'bars', 'list-ul', 'list-ol', 'strikethrough', 'underline', 'table', 'magic', 'truck', 'pinterest', 'pinterest-square', 'google-plus-square', 'google-plus', 'money', 'caret-down', 'caret-up', 'caret-left', 'caret-right', 'columns', 'sort', 'sort-asc', 'sort-desc', 'envelope', 'linkedin', 'undo', 'gavel', 'tachometer', 'comment-o', 'comments-o', 'bolt', 'sitemap', 'umbrella', 'clipboard', 'lightbulb-o', 'exchange', 'cloud-download', 'cloud-upload', 'user-md', 'stethoscope', 'suitcase', 'bell-o', 'coffee', 'cutlery', 'file-text-o', 'building-o', 'hospital-o', 'ambulance', 'medkit', 'fighter-jet', 'beer', 'h-square', 'plus-square', 'angle-double-left', 'angle-double-right', 'angle-double-up', 'angle-double-down', 'angle-left', 'angle-right', 'angle-up', 'angle-down', 'desktop', 'laptop', 'tablet', 'mobile', 'circle-o', 'quote-left', 'quote-right', 'spinner', 'circle', 'reply', 'github-alt', 'folder-o', 'folder-open-o', 'smile-o', 'frown-o', 'meh-o', 'gamepad', 'keyboard-o', 'flag-o', 'flag-checkered', 'terminal', 'code', 'reply-all', 'mail-reply-all', 'star-half-o', 'location-arrow', 'crop', 'code-fork', 'chain-broken', 'question', 'info', 'exclamation', 'superscript', 'subscript', 'eraser', 'puzzle-piece', 'microphone', 'microphone-slash', 'shield', 'calendar-o', 'fire-extinguisher', 'rocket', 'maxcdn', 'chevron-circle-left', 'chevron-circle-right', 'chevron-circle-up', 'chevron-circle-down', 'html5', 'css3', 'anchor', 'unlock-alt', 'bullseye', 'ellipsis-h', 'ellipsis-v', 'rss-square', 'play-circle', 'ticket', 'minus-square', 'minus-square-o', 'level-up', 'level-down', 'check-square', 'pencil-square', 'external-link-square', 'share-square', 'compass', 'caret-square-o-down', 'caret-square-o-up', 'caret-square-o-right', 'eur', 'gbp', 'usd', 'inr', 'jpy', 'rub', 'krw', 'btc', 'file', 'file-text', 'sort-alpha-asc', 'sort-alpha-desc', 'sort-amount-asc', 'sort-amount-desc', 'sort-numeric-asc', 'sort-numeric-desc', 'thumbs-up', 'thumbs-down', 'youtube-square', 'youtube', 'xing', 'xing-square', 'youtube-play', 'dropbox', 'stack-overflow', 'instagram', 'flickr', 'adn', 'bitbucket', 'bitbucket-square', 'tumblr', 'tumblr-square', 'long-arrow-down', 'long-arrow-up', 'long-arrow-left', 'long-arrow-right', 'apple', 'windows', 'android', 'linux', 'dribbble', 'skype', 'foursquare', 'trello', 'female', 'male', 'gittip', 'sun-o', 'moon-o', 'archive', 'bug', 'vk', 'weibo', 'renren', 'pagelines', 'stack-exchange', 'arrow-circle-o-right', 'arrow-circle-o-left', 'caret-square-o-left', 'dot-circle-o', 'wheelchair', 'vimeo-square', 'try', 'plus-square-o' ) );
47
}
48
49
/**
@@ -57,7 +57,7 @@ class Su_Data {
57
* Examples section
58
*/
59
public static function examples() {
60
- return ( array ) apply_filters( 'su/data/examples', array(
61
'basic' => array(
62
'title' => __( 'Basic examples', 'su' ),
63
'items' => array(
@@ -241,6 +241,21 @@ class Su_Data {
241
'name' => __( 'Anchor', 'su' ),
242
'desc' => __( 'You can use unique anchor for this tab to access it with hash in page url. For example: type here <b%value>Hello</b> and then use url like http://example.com/page-url#Hello. This tab will be activated and scrolled in', 'su' )
243
),
244
'class' => array(
245
'default' => '',
246
'name' => __( 'Class', 'su' ),
@@ -1076,7 +1091,7 @@ class Su_Data {
1076
'src' => array(
1077
'default' => '',
1078
'name' => __( 'Content source', 'su' ),
1079
- 'desc' => __( 'Insert here URL or CSS selector. Use URL for Iframe and Image content types. Use CSS selector for Inline content type.<br />Example values:<br /><b%value>http://www.youtube.com/watch?v=XXXXXXXXX</b> - YouTube video (iframe)<br /><b%value>http://example.com/wp-content/uploads/image.jpg</b> - uploaded image (image)<br /><b%value>http://example.com/</b> - any web page (iframe)<br /><b%value>#contact-form</b> - any HTML content (inline)', 'su' )
1080
),
1081
'class' => array(
1082
'default' => '',
@@ -1088,6 +1103,85 @@ class Su_Data {
1088
'desc' => __( 'Lightbox window with custom content', 'su' ),
1089
'icon' => 'external-link'
1090
),
1091
// tooltip
1092
'tooltip' => array(
1093
'name' => __( 'Tooltip', 'su' ),
@@ -1373,6 +1467,11 @@ class Su_Data {
1373
'name' => __( 'Force HTTPS', 'su' ),
1374
'desc' => __( 'Use HTTPS in player iframe', 'su' )
1375
),
1376
'class' => array(
1377
'default' => '',
1378
'name' => __( 'Class', 'su' ),
13
* Shortcode groups
14
*/
15
public static function groups() {
16
+ return apply_filters( 'su/data/groups', array(
17
'all' => __( 'All', 'su' ),
18
'content' => __( 'Content', 'su' ),
19
'box' => __( 'Box', 'su' ),
28
* Border styles
29
*/
30
public static function borders() {
31
+ return apply_filters( 'su/data/borders', array(
32
'none' => __( 'None', 'su' ),
33
'solid' => __( 'Solid', 'su' ),
34
'dotted' => __( 'Dotted', 'su' ),
43
* Font-Awesome icons
44
*/
45
public static function icons() {
46
+ return apply_filters( 'su/data/icons', array( 'adjust', 'adn', 'align-center', 'align-justify', 'align-left', 'align-right', 'ambulance', 'anchor', 'android', 'angle-double-down', 'angle-double-left', 'angle-double-right', 'angle-double-up', 'angle-down', 'angle-left', 'angle-right', 'angle-up', 'apple', 'archive', 'arrow-circle-down', 'arrow-circle-left', 'arrow-circle-o-down', 'arrow-circle-o-left', 'arrow-circle-o-right', 'arrow-circle-o-up', 'arrow-circle-right', 'arrow-circle-up', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', 'arrows', 'arrows-alt', 'arrows-h', 'arrows-v', 'asterisk', 'automobile', 'backward', 'ban', 'bank', 'bar-chart-o', 'barcode', 'bars', 'beer', 'behance', 'behance-square', 'bell', 'bell-o', 'bitbucket', 'bitbucket-square', 'bitcoin', 'bold', 'bolt', 'bomb', 'book', 'bookmark', 'bookmark-o', 'briefcase', 'btc', 'bug', 'building', 'building-o', 'bullhorn', 'bullseye', 'cab', 'calendar', 'calendar-o', 'camera', 'camera-retro', 'car', 'caret-down', 'caret-left', 'caret-right', 'caret-square-o-down', 'caret-square-o-left', 'caret-square-o-right', 'caret-square-o-up', 'caret-up', 'certificate', 'chain', 'chain-broken', 'check', 'check-circle', 'check-circle-o', 'check-square', 'check-square-o', 'chevron-circle-down', 'chevron-circle-left', 'chevron-circle-right', 'chevron-circle-up', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'child', 'circle', 'circle-o', 'circle-o-notch', 'circle-thin', 'clipboard', 'clock-o', 'cloud', 'cloud-download', 'cloud-upload', 'cny', 'code', 'code-fork', 'codepen', 'coffee', 'cog', 'cogs', 'columns', 'comment', 'comment-o', 'comments', 'comments-o', 'compass', 'compress', 'copy', 'credit-card', 'crop', 'crosshairs', 'css3', 'cube', 'cubes', 'cut', 'cutlery', 'dashboard', 'database', 'dedent', 'delicious', 'desktop', 'deviantart', 'digg', 'dollar', 'dot-circle-o', 'download', 'dribbble', 'dropbox', 'drupal', 'edit', 'eject', 'ellipsis-h', 'ellipsis-v', 'empire', 'envelope', 'envelope-o', 'envelope-square', 'eraser', 'eur', 'euro', 'exchange', 'exclamation', 'exclamation-circle', 'exclamation-triangle', 'expand', 'external-link', 'external-link-square', 'eye', 'eye-slash', 'facebook', 'facebook-square', 'fast-backward', 'fast-forward', 'fax', 'female', 'fighter-jet', 'file', 'file-archive-o', 'file-audio-o', 'file-code-o', 'file-excel-o', 'file-image-o', 'file-movie-o', 'file-o', 'file-pdf-o', 'file-photo-o', 'file-picture-o', 'file-powerpoint-o', 'file-sound-o', 'file-text', 'file-text-o', 'file-video-o', 'file-word-o', 'file-zip-o', 'files-o', 'film', 'filter', 'fire', 'fire-extinguisher', 'flag', 'flag-checkered', 'flag-o', 'flash', 'flask', 'flickr', 'floppy-o', 'folder', 'folder-o', 'folder-open', 'folder-open-o', 'font', 'forward', 'foursquare', 'frown-o', 'gamepad', 'gavel', 'gbp', 'ge', 'gear', 'gears', 'gift', 'git', 'git-square', 'github', 'github-alt', 'github-square', 'gittip', 'glass', 'globe', 'google', 'google-plus', 'google-plus-square', 'graduation-cap', 'group', 'h-square', 'hacker-news', 'hand-o-down', 'hand-o-left', 'hand-o-right', 'hand-o-up', 'hdd-o', 'header', 'headphones', 'heart', 'heart-o', 'history', 'home', 'hospital-o', 'html5', 'image', 'inbox', 'indent', 'info', 'info-circle', 'inr', 'instagram', 'institution', 'italic', 'joomla', 'jpy', 'jsfiddle', 'key', 'keyboard-o', 'krw', 'language', 'laptop', 'leaf', 'legal', 'lemon-o', 'level-down', 'level-up', 'life-bouy', 'life-ring', 'life-saver', 'lightbulb-o', 'link', 'linkedin', 'linkedin-square', 'linux', 'list', 'list-alt', 'list-ol', 'list-ul', 'location-arrow', 'lock', 'long-arrow-down', 'long-arrow-left', 'long-arrow-right', 'long-arrow-up', 'magic', 'magnet', 'mail-forward', 'mail-reply', 'mail-reply-all', 'male', 'map-marker', 'maxcdn', 'medkit', 'meh-o', 'microphone', 'microphone-slash', 'minus', 'minus-circle', 'minus-square', 'minus-square-o', 'mobile', 'mobile-phone', 'money', 'moon-o', 'mortar-board', 'music', 'navicon', 'openid', 'outdent', 'pagelines', 'paper-plane', 'paper-plane-o', 'paperclip', 'paragraph', 'paste', 'pause', 'paw', 'pencil', 'pencil-square', 'pencil-square-o', 'phone', 'phone-square', 'photo', 'picture-o', 'pied-piper', 'pied-piper-alt', 'pied-piper-square', 'pinterest', 'pinterest-square', 'plane', 'play', 'play-circle', 'play-circle-o', 'plus', 'plus-circle', 'plus-square', 'plus-square-o', 'power-off', 'print', 'puzzle-piece', 'qq', 'qrcode', 'question', 'question-circle', 'quote-left', 'quote-right', 'ra', 'random', 'rebel', 'recycle', 'reddit', 'reddit-square', 'refresh', 'renren', 'reorder', 'repeat', 'reply', 'reply-all', 'retweet', 'rmb', 'road', 'rocket', 'rotate-left', 'rotate-right', 'rouble', 'rss', 'rss-square', 'rub', 'ruble', 'rupee', 'save', 'scissors', 'search', 'search-minus', 'search-plus', 'send', 'send-o', 'share', 'share-alt', 'share-alt-square', 'share-square', 'share-square-o', 'shield', 'shopping-cart', 'sign-in', 'sign-out', 'signal', 'sitemap', 'skype', 'slack', 'sliders', 'smile-o', 'sort', 'sort-alpha-asc', 'sort-alpha-desc', 'sort-amount-asc', 'sort-amount-desc', 'sort-asc', 'sort-desc', 'sort-down', 'sort-numeric-asc', 'sort-numeric-desc', 'sort-up', 'soundcloud', 'space-shuttle', 'spinner', 'spoon', 'spotify', 'square', 'square-o', 'stack-exchange', 'stack-overflow', 'star', 'star-half', 'star-half-empty', 'star-half-full', 'star-half-o', 'star-o', 'steam', 'steam-square', 'step-backward', 'step-forward', 'stethoscope', 'stop', 'strikethrough', 'stumbleupon', 'stumbleupon-circle', 'subscript', 'suitcase', 'sun-o', 'superscript', 'support', 'table', 'tablet', 'tachometer', 'tag', 'tags', 'tasks', 'taxi', 'tencent-weibo', 'terminal', 'text-height', 'text-width', 'th', 'th-large', 'th-list', 'thumb-tack', 'thumbs-down', 'thumbs-o-down', 'thumbs-o-up', 'thumbs-up', 'ticket', 'times', 'times-circle', 'times-circle-o', 'tint', 'toggle-down', 'toggle-left', 'toggle-right', 'toggle-up', 'trash-o', 'tree', 'trello', 'trophy', 'truck', 'try', 'tumblr', 'tumblr-square', 'turkish-lira', 'twitter', 'twitter-square', 'umbrella', 'underline', 'undo', 'university', 'unlink', 'unlock', 'unlock-alt', 'unsorted', 'upload', 'usd', 'user', 'user-md', 'users', 'video-camera', 'vimeo-square', 'vine', 'vk', 'volume-down', 'volume-off', 'volume-up', 'warning', 'wechat', 'weibo', 'weixin', 'wheelchair', 'windows', 'won', 'wordpress', 'wrench', 'xing', 'xing-square', 'yahoo', 'yen', 'youtube', 'youtube-play', 'youtube-square' ) );
47
}
48
49
/**
57
* Examples section
58
*/
59
public static function examples() {
60
+ return apply_filters( 'su/data/examples', array(
61
'basic' => array(
62
'title' => __( 'Basic examples', 'su' ),
63
'items' => array(
241
'name' => __( 'Anchor', 'su' ),
242
'desc' => __( 'You can use unique anchor for this tab to access it with hash in page url. For example: type here <b%value>Hello</b> and then use url like http://example.com/page-url#Hello. This tab will be activated and scrolled in', 'su' )
243
),
244
+ 'url' => array(
245
+ 'default' => '',
246
+ 'name' => __( 'URL', 'su' ),
247
+ 'desc' => __( 'You can link this tab to any webpage. Enter here full URL to switch this tab into link', 'su' )
248
+ ),
249
+ 'target' => array(
250
+ 'type' => 'select',
251
+ 'values' => array(
252
+ 'self' => __( 'Open link in same window/tab', 'su' ),
253
+ 'blank' => __( 'Open link in new window/tab', 'su' )
254
+ ),
255
+ 'default' => 'blank',
256
+ 'name' => __( 'Link target', 'su' ),
257
+ 'desc' => __( 'Choose how to open the custom tab link', 'su' )
258
+ ),
259
'class' => array(
260
'default' => '',
261
'name' => __( 'Class', 'su' ),
1091
'src' => array(
1092
'default' => '',
1093
'name' => __( 'Content source', 'su' ),
1094
+ 'desc' => __( 'Insert here URL or CSS selector. Use URL for Iframe and Image content types. Use CSS selector for Inline content type.<br />Example values:<br /><b%value>http://www.youtube.com/watch?v=XXXXXXXXX</b> - YouTube video (iframe)<br /><b%value>http://example.com/wp-content/uploads/image.jpg</b> - uploaded image (image)<br /><b%value>http://example.com/</b> - any web page (iframe)<br /><b%value>#my-custom-popup</b> - any HTML content (inline)', 'su' )
1095
),
1096
'class' => array(
1097
'default' => '',
1103
'desc' => __( 'Lightbox window with custom content', 'su' ),
1104
'icon' => 'external-link'
1105
),
1106
+ // lightbox content
1107
+ 'lightbox_content' => array(
1108
+ 'name' => __( 'Lightbox content', 'su' ),
1109
+ 'type' => 'wrap',
1110
+ 'group' => 'gallery',
1111
+ 'atts' => array(
1112
+ 'id' => array(
1113
+ 'default' => '',
1114
+ 'name' => __( 'ID', 'su' ),
1115
+ 'desc' => sprintf( __( 'Enter here the ID from Content source field. %s Example value: %s', 'su' ), '<br>', '<b%value>my-custom-popup</b>' )
1116
+ ),
1117
+ 'width' => array(
1118
+ 'default' => '50%',
1119
+ 'name' => __( 'Width', 'su' ),
1120
+ 'desc' => sprintf( __( 'Adjust the width for inline content (in pixels or percents). %s Example values: %s, %s, %s', 'su' ), '<br>', '<b%value>300px</b>', '<b%value>600px</b>', '<b%value>90%</b>' )
1121
+ ),
1122
+ 'margin' => array(
1123
+ 'type' => 'slider',
1124
+ 'min' => 0,
1125
+ 'max' => 600,
1126
+ 'step' => 5,
1127
+ 'default' => 40,
1128
+ 'name' => __( 'Margin', 'su' ),
1129
+ 'desc' => __( 'Adjust the margin for inline content (in pixels)', 'su' )
1130
+ ),
1131
+ 'padding' => array(
1132
+ 'type' => 'slider',
1133
+ 'min' => 0,
1134
+ 'max' => 600,
1135
+ 'step' => 5,
1136
+ 'default' => 40,
1137
+ 'name' => __( 'Padding', 'su' ),
1138
+ 'desc' => __( 'Adjust the padding for inline content (in pixels)', 'su' )
1139
+ ),
1140
+ 'text_align' => array(
1141
+ 'type' => 'select',
1142
+ 'values' => array(
1143
+ 'left' => __( 'Left', 'su' ),
1144
+ 'center' => __( 'Center', 'su' ),
1145
+ 'right' => __( 'Right', 'su' )
1146
+ ),
1147
+ 'default' => 'center',
1148
+ 'name' => __( 'Text alignment', 'su' ),
1149
+ 'desc' => __( 'Select the text alignment', 'su' )
1150
+ ),
1151
+ 'background' => array(
1152
+ 'type' => 'color',
1153
+ 'default' => '#FFFFFF',
1154
+ 'name' => __( 'Background color', 'su' ),
1155
+ 'desc' => __( 'Pick a background color', 'su' )
1156
+ ),
1157
+ 'color' => array(
1158
+ 'type' => 'color',
1159
+ 'default' => '#333333',
1160
+ 'name' => __( 'Text color', 'su' ),
1161
+ 'desc' => __( 'Pick a text color', 'su' )
1162
+ ),
1163
+ 'color' => array(
1164
+ 'type' => 'color',
1165
+ 'default' => '#333333',
1166
+ 'name' => __( 'Text color', 'su' ),
1167
+ 'desc' => __( 'Pick a text color', 'su' )
1168
+ ),
1169
+ 'shadow' => array(
1170
+ 'type' => 'shadow',
1171
+ 'default' => '0px 0px 15px #333333',
1172
+ 'name' => __( 'Shadow', 'su' ),
1173
+ 'desc' => __( 'Adjust the shadow for content box', 'su' )
1174
+ ),
1175
+ 'class' => array(
1176
+ 'default' => '',
1177
+ 'name' => __( 'Class', 'su' ),
1178
+ 'desc' => __( 'Extra CSS class', 'su' )
1179
+ )
1180
+ ),
1181
+ 'content' => __( 'Inline content', 'su' ),
1182
+ 'desc' => __( 'Inline content for lightbox', 'su' ),
1183
+ 'icon' => 'external-link'
1184
+ ),
1185
// tooltip
1186
'tooltip' => array(
1187
'name' => __( 'Tooltip', 'su' ),
1467
'name' => __( 'Force HTTPS', 'su' ),
1468
'desc' => __( 'Use HTTPS in player iframe', 'su' )
1469
),
1470
+ 'wmode' => array(
1471
+ 'default' => '',
1472
+ 'name' => __( 'WMode', 'su' ),
1473
+ 'desc' => sprintf( __( 'Here you can specify wmode value for the embed URL. %s Example values: %s, %s', 'su' ), '<br>', '<b%value>transparent</b>', '<b%value>opaque</b>' )
1474
+ ),
1475
'class' => array(
1476
'default' => '',
1477
'name' => __( 'Class', 'su' ),
inc/core/shortcodes.php CHANGED
@@ -32,7 +32,7 @@ class Su_Shortcodes {
32
if ( is_array( self::$tabs ) ) {
33
if ( self::$tab_count < $atts['active'] ) $atts['active'] = self::$tab_count;
34
foreach ( self::$tabs as $tab ) {
35
- $tabs[] = '<span class="' . su_ecssc( $tab ) . $tab['disabled'] . '"' . $tab['anchor'] . '>' . su_scattr( $tab['title'] ) . '</span>';
36
$panes[] = '<div class="su-tabs-pane su-clearfix' . su_ecssc( $tab ) . '">' . $tab['content'] . '</div>';
37
}
38
$atts['vertical'] = ( $atts['vertical'] === 'yes' ) ? ' su-tabs-vertical' : '';
@@ -52,16 +52,20 @@ class Su_Shortcodes {
52
$atts = shortcode_atts( array(
53
'title' => __( 'Tab title', 'su' ),
54
'disabled' => 'no',
55
- 'anchor' => '',
56
'class' => ''
57
), $atts, 'tab' );
58
$x = self::$tab_count;
59
self::$tabs[$x] = array(
60
- 'title' => $atts['title'],
61
- 'content' => do_shortcode( $content ),
62
'disabled' => ( $atts['disabled'] === 'yes' ) ? ' su-tabs-disabled' : '',
63
- 'anchor' => ( $atts['anchor'] ) ? ' data-anchor="' . str_replace( ' ', '', trim( sanitize_text_field( $atts['anchor'] ) ) ) . '"' : '',
64
- 'class' => $atts['class']
65
);
66
self::$tab_count++;
67
do_action( 'su/shortcode/tab', $atts );
@@ -77,7 +81,7 @@ class Su_Shortcodes {
77
'class' => ''
78
), $atts, 'spoiler' );
79
$atts['style'] = str_replace( array( '1', '2' ), array( 'default', 'fancy' ), $atts['style'] );
80
- $atts['anchor'] = ( $atts['anchor'] ) ? ' data-anchor="' . str_replace( ' ', '', trim( sanitize_text_field( $atts['anchor'] ) ) ) . '"' : '';
81
if ( $atts['open'] !== 'yes' ) $atts['class'] .= ' su-spoiler-closed';
82
su_query_asset( 'css', 'font-awesome' );
83
su_query_asset( 'css', 'su-box-shortcodes' );
@@ -531,6 +535,25 @@ class Su_Shortcodes {
531
return '<span class="su-lightbox' . su_ecssc( $atts ) . '" data-mfp-src="' . su_scattr( $atts['src'] ) . '" data-mfp-type="' . $atts['type'] . '">' . do_shortcode( $content ) . '</span>';
532
}
533
534
public static function tooltip( $atts = null, $content = null ) {
535
$atts = shortcode_atts( array(
536
'style' => 'yellow',
@@ -628,6 +651,7 @@ class Su_Shortcodes {
628
'showinfo' => 'yes',
629
'theme' => 'dark',
630
'https' => 'no',
631
'class' => ''
632
), $atts, 'youtube_advanced' );
633
if ( !$atts['url'] ) return Su_Tools::error( __FUNCTION__, __( 'please specify correct url', 'su' ) );
@@ -636,7 +660,7 @@ class Su_Shortcodes {
636
// Check that url is specified
637
if ( !$id ) return Su_Tools::error( __FUNCTION__, __( 'please specify correct url', 'su' ) );
638
// Prepare params
639
- foreach ( array( 'autohide', 'autoplay', 'controls', 'fs', 'loop', 'modestbranding', 'playlist', 'rel', 'showinfo', 'theme' ) as $param ) $params[$param] = str_replace( array( 'no', 'yes', 'alt' ), array( '0', '1', '2' ), $atts[$param] );
640
// Correct loop
641
if ( $params['loop'] === '1' && $params['playlist'] === '' ) $params['playlist'] = $id;
642
// Prepare protocol
@@ -1005,8 +1029,7 @@ class Su_Shortcodes {
1005
// Open nav section
1006
$return .= '<div class="su-slider-nav">';
1007
// Append direction nav
1008
- if ( $atts['arrows'] === 'yes'
1009
- ) $return .= '<div class="su-slider-direction"><span class="su-slider-prev"></span><span class="su-slider-next"></span></div>';
1010
// Append pagination nav
1011
$return .= '<div class="su-slider-pagination"></div>';
1012
// Close nav section
32
if ( is_array( self::$tabs ) ) {
33
if ( self::$tab_count < $atts['active'] ) $atts['active'] = self::$tab_count;
34
foreach ( self::$tabs as $tab ) {
35
+ $tabs[] = '<span class="' . su_ecssc( $tab ) . $tab['disabled'] . '"' . $tab['anchor'] . $tab['url'] . $tab['target'] . '>' . su_scattr( $tab['title'] ) . '</span>';
36
$panes[] = '<div class="su-tabs-pane su-clearfix' . su_ecssc( $tab ) . '">' . $tab['content'] . '</div>';
37
}
38
$atts['vertical'] = ( $atts['vertical'] === 'yes' ) ? ' su-tabs-vertical' : '';
52
$atts = shortcode_atts( array(
53
'title' => __( 'Tab title', 'su' ),
54
'disabled' => 'no',
55
+ 'anchor' => '',
56
+ 'url' => '',
57
+ 'target' => 'blank',
58
'class' => ''
59
), $atts, 'tab' );
60
$x = self::$tab_count;
61
self::$tabs[$x] = array(
62
+ 'title' => $atts['title'],
63
+ 'content' => do_shortcode( $content ),
64
'disabled' => ( $atts['disabled'] === 'yes' ) ? ' su-tabs-disabled' : '',
65
+ 'anchor' => ( $atts['anchor'] ) ? ' data-anchor="' . str_replace( array( ' ', '#' ), '', sanitize_text_field( $atts['anchor'] ) ) . '"' : '',
66
+ 'url' => ' data-url="' . $atts['url'] . '"',
67
+ 'target' => ' data-target="' . $atts['target'] . '"',
68
+ 'class' => $atts['class']
69
);
70
self::$tab_count++;
71
do_action( 'su/shortcode/tab', $atts );
81
'class' => ''
82
), $atts, 'spoiler' );
83
$atts['style'] = str_replace( array( '1', '2' ), array( 'default', 'fancy' ), $atts['style'] );
84
+ $atts['anchor'] = ( $atts['anchor'] ) ? ' data-anchor="' . str_replace( array( ' ', '#' ), '', sanitize_text_field( $atts['anchor'] ) ) . '"' : '';
85
if ( $atts['open'] !== 'yes' ) $atts['class'] .= ' su-spoiler-closed';
86
su_query_asset( 'css', 'font-awesome' );
87
su_query_asset( 'css', 'su-box-shortcodes' );
535
return '<span class="su-lightbox' . su_ecssc( $atts ) . '" data-mfp-src="' . su_scattr( $atts['src'] ) . '" data-mfp-type="' . $atts['type'] . '">' . do_shortcode( $content ) . '</span>';
536
}
537
538
+ public static function lightbox_content( $atts = null, $content = null ) {
539
+ $atts = shortcode_atts( array(
540
+ 'id' => '',
541
+ 'width' => '50%',
542
+ 'margin' => '40',
543
+ 'padding' => '40',
544
+ 'text_align' => 'center',
545
+ 'background' => '#FFFFFF',
546
+ 'color' => '#333333',
547
+ 'shadow' => '0px 0px 15px #333333',
548
+ 'class' => ''
549
+ ), $atts, 'lightbox_content' );
550
+ su_query_asset( 'css', 'su-box-shortcodes' );
551
+ if ( !$atts['id'] ) return Su_Tools::error( __FUNCTION__, __( 'please specify correct ID for this block. You should use same ID as in the Content source field (when inserting lightbox shortcode)', 'su' ) );
552
+ $return = '<div class="su-lightbox-content ' . su_ecssc( $atts ) . '" id="' . trim( $atts['id'], '#' ) . '" style="display:none;width:' . $atts['width'] . ';margin-top:' . $atts['margin'] . 'px;margin-bottom:' . $atts['margin'] . 'px;padding:' . $atts['padding'] . 'px;background-color:' . $atts['background'] . ';color:' . $atts['color'] . ';box-shadow:' . $atts['shadow'] . ';text-align:' . $atts['text_align'] . '">' . do_shortcode( $content ) . '</div>';
553
+ if ( did_action( 'su/generator/preview/before' ) ) return '<div class="su-lightbox-content-preview">' . $return . '</div>';
554
+ else return $return;
555
+ }
556
+
557
public static function tooltip( $atts = null, $content = null ) {
558
$atts = shortcode_atts( array(
559
'style' => 'yellow',
651
'showinfo' => 'yes',
652
'theme' => 'dark',
653
'https' => 'no',
654
+ 'wmode' => '',
655
'class' => ''
656
), $atts, 'youtube_advanced' );
657
if ( !$atts['url'] ) return Su_Tools::error( __FUNCTION__, __( 'please specify correct url', 'su' ) );
660
// Check that url is specified
661
if ( !$id ) return Su_Tools::error( __FUNCTION__, __( 'please specify correct url', 'su' ) );
662
// Prepare params
663
+ foreach ( array( 'autohide', 'autoplay', 'controls', 'fs', 'loop', 'modestbranding', 'playlist', 'rel', 'showinfo', 'theme', 'wmode' ) as $param ) $params[$param] = str_replace( array( 'no', 'yes', 'alt' ), array( '0', '1', '2' ), $atts[$param] );
664
// Correct loop
665
if ( $params['loop'] === '1' && $params['playlist'] === '' ) $params['playlist'] = $id;
666
// Prepare protocol
1029
// Open nav section
1030
$return .= '<div class="su-slider-nav">';
1031
// Append direction nav
1032
+ if ( $atts['arrows'] === 'yes' ) $return .= '<div class="su-slider-direction"><span class="su-slider-prev"></span><span class="su-slider-next"></span></div>';
1033
// Append pagination nav
1034
$return .= '<div class="su-slider-pagination"></div>';
1035
// Close nav section
languages/su-ja.mo CHANGED
Binary file
languages/su-ja.po CHANGED
@@ -1,9 +1,9 @@
1
msgid ""
2
msgstr ""
3
- "Project-Id-Version: Shortcodes Ultimate v4.9.0\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: 2013-10-01 17:50+0300\n"
6
- "PO-Revision-Date: 2014-06-21 09:28+0900\n"
7
"Last-Translator: stranger-jp <wordpress.stranger.jp@gmail.com>\n"
8
"Language-Team: stranger-jp <wordpress.stranger.jp@gmail.com>\n"
9
"MIME-Version: 1.0\n"
@@ -134,7 +134,7 @@ msgid "Open"
134
msgstr "開く"
135
136
msgid "Is spoiler content visible by default"
137
- msgstr "スポイラーの内容はデフォルトで表示されている"
138
139
msgid "Fancy"
140
msgstr "ファンシー"
@@ -146,7 +146,7 @@ msgid "Hidden content"
146
msgstr "非表示のコンテンツ"
147
148
msgid "Spoiler with hidden content"
149
- msgstr "内容が非表示のスポイラー"
150
151
msgid "Accordion"
152
msgstr "アコーディオン"
@@ -338,7 +338,7 @@ msgid "Select column width. This width will be calculated depend page width"
338
msgstr "列幅を選択。この幅はページ幅に依存して計算されます"
339
340
msgid "Column content"
341
- msgstr "列の内容"
342
343
msgid "Flexible and responsive columns"
344
msgstr "列の柔軟性とレスポンシブ"
@@ -506,7 +506,7 @@ msgid "Box corners radius"
506
msgstr "ボックスコーナー半径"
507
508
msgid "Box content"
509
- msgstr "ボックスの内容"
510
511
msgid "Colored box with caption"
512
msgstr "カラーボックスの見出し"
@@ -779,7 +779,7 @@ msgid "Upload CSV file if you want to create HTML-table from file"
779
msgstr "ファイルからHTMLテーブルを作成する場合は、CSVファイルをアップロードします"
780
781
msgid "Styled table from HTML or CSV file"
782
- msgstr "HTMLまたはCSVファイルからスタイルテーブル"
783
784
msgid "Permalink"
785
msgstr "パーマリンク"
@@ -830,7 +830,7 @@ msgid "Content for logged members"
830
msgstr "ログインメンバー向けコンテンツ"
831
832
msgid "Content for logged in members only"
833
- msgstr "ログインメンバーのみの内容"
834
835
msgid "Guests"
836
msgstr "ゲスト"
@@ -1096,9 +1096,6 @@ msgstr "IN - 選択したカテゴリの条件のいずれかを持っている
1096
msgid "Authors"
1097
msgstr "投稿者"
1098
1099
- msgid "Choose the authors whose posts you want to show"
1100
- msgstr "表示したい投稿者を選択"
1101
-
1102
msgid "Meta key"
1103
msgstr "Metaキー"
1104
@@ -1934,13 +1931,13 @@ msgid "This prefix will be added to all shortcodes by this plugin. For example,
1934
msgstr "この接頭辞は、このプラグインのすべてのショートコードに追加されます。例えば、ここに%sと入力し%sと%sのようなショートコードを取得します。<br />注意: このオプションは既に挿入済みのショートコードに影響を与えていませんが、この値を変更する場合、古いショートコードを破壊します。"
1935
1936
msgid "Choose global skin for shortcodes"
1937
- msgstr "ショートコードのグローバルスキンを選択してください"
1938
1939
msgid "1 new add-on for Shortcodes Ultimate"
1940
msgstr "Shortcodes Ultimateの1つの新しいアドオン"
1941
1942
- msgid "4.9.0"
1943
- msgstr "4.9.0"
1944
1945
msgid "Activation key"
1946
msgstr "アクティベーションキー"
@@ -1973,7 +1970,7 @@ msgid "Button text shadow"
1973
msgstr "ボタンのテキストの影"
1974
1975
msgid "Choose file"
1976
- msgstr "ファイルを選択してください"
1977
1978
msgid "Choose files"
1979
msgstr "ファイルを選択"
@@ -2382,3 +2379,165 @@ msgstr " マージンの厚み (ピクセル単位)"
2382
2383
msgid "You can make this QR code clickable. Enter here the URL"
2384
msgstr "このQRコードをクリック可能にすることができます。URLを入力してください。"
1
msgid ""
2
msgstr ""
3
+ "Project-Id-Version: Shortcodes Ultimate v4.9.1\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: 2013-10-01 17:50+0300\n"
6
+ "PO-Revision-Date: 2014-08-07 15:40+0900\n"
7
"Last-Translator: stranger-jp <wordpress.stranger.jp@gmail.com>\n"
8
"Language-Team: stranger-jp <wordpress.stranger.jp@gmail.com>\n"
9
"MIME-Version: 1.0\n"
134
msgstr "開く"
135
136
msgid "Is spoiler content visible by default"
137
+ msgstr "スポイラーのコンテンツはデフォルトで表示される"
138
139
msgid "Fancy"
140
msgstr "ファンシー"
146
msgstr "非表示のコンテンツ"
147
148
msgid "Spoiler with hidden content"
149
+ msgstr "コンテンツが非表示のスポイラー"
150
151
msgid "Accordion"
152
msgstr "アコーディオン"
338
msgstr "列幅を選択。この幅はページ幅に依存して計算されます"
339
340
msgid "Column content"
341
+ msgstr "列のコンテンツ"
342
343
msgid "Flexible and responsive columns"
344
msgstr "列の柔軟性とレスポンシブ"
506
msgstr "ボックスコーナー半径"
507
508
msgid "Box content"
509
+ msgstr "ボックスのコンテンツ"
510
511
msgid "Colored box with caption"
512
msgstr "カラーボックスの見出し"
779
msgstr "ファイルからHTMLテーブルを作成する場合は、CSVファイルをアップロードします"
780
781
msgid "Styled table from HTML or CSV file"
782
+ msgstr "HTMLまたはCSVファイルからテーブルを作成"
783
784
msgid "Permalink"
785
msgstr "パーマリンク"
830
msgstr "ログインメンバー向けコンテンツ"
831
832
msgid "Content for logged in members only"
833
+ msgstr "ログインメンバーのみのコンテンツ"
834
835
msgid "Guests"
836
msgstr "ゲスト"
1096
msgid "Authors"
1097
msgstr "投稿者"
1098
1099
msgid "Meta key"
1100
msgstr "Metaキー"
1101
1931
msgstr "この接頭辞は、このプラグインのすべてのショートコードに追加されます。例えば、ここに%sと入力し%sと%sのようなショートコードを取得します。<br />注意: このオプションは既に挿入済みのショートコードに影響を与えていませんが、この値を変更する場合、古いショートコードを破壊します。"
1932
1933
msgid "Choose global skin for shortcodes"
1934
+ msgstr "ショートコードのグローバルスキンを選択"
1935
1936
msgid "1 new add-on for Shortcodes Ultimate"
1937
msgstr "Shortcodes Ultimateの1つの新しいアドオン"
1938
1939
+ msgid "4.9.1"
1940
+ msgstr "4.9.1"
1941
1942
msgid "Activation key"
1943
msgstr "アクティベーションキー"
1970
msgstr "ボタンのテキストの影"
1971
1972
msgid "Choose file"
1973
+ msgstr "ファイルを選択"
1974
1975
msgid "Choose files"
1976
msgstr "ファイルを選択"
2379
2380
msgid "You can make this QR code clickable. Enter here the URL"
2381
msgstr "このQRコードをクリック可能にすることができます。URLを入力してください。"
2382
+
2383
+ msgid "Add an icon to the less link"
2384
+ msgstr "小さいリンクにアイコンを追加"
2385
+
2386
+ msgid "Add an icon to the more link"
2387
+ msgstr "続きを表示のリンクにアイコンを追加"
2388
+
2389
+ msgid "Adjust the top and bottom margins of this divider (in pixels)"
2390
+ msgstr "このデバイダーの上下の余白を調整 (ピクセル)"
2391
+
2392
+ msgid "Allows to show the content only at the specified time period"
2393
+ msgstr "指定した期間にコンテンツを表示することができます"
2394
+
2395
+ msgid "Alternative text"
2396
+ msgstr "代替テキスト"
2397
+
2398
+ msgid "By default, the content of this shortcode will be visible all the time. By using fields below, you can add some limitations. For example, if you type 1-5 in the Days of the week field, content will be only shown from Monday to Friday. Using the same principles, you can limit content visibility from years to seconds."
2399
+ msgstr "デフォルトでこのショートコードのコンテンツは、すべての時間で表示します。以下のフィールドを使用して、いくつかの制限を追加できます。たとえばフィールドに1-5と入力した場合、コンテンツは月曜日から金曜日まで表示します。同じ原理を使用して秒から年までコンテンツの可視性を制限できます。"
2400
+
2401
+ msgid "Choose style for this divider"
2402
+ msgstr "このデバイダーのスタイルを選択"
2403
+
2404
+ msgid "Days of the month"
2405
+ msgstr "月の日数"
2406
+
2407
+ msgid "Days of the week"
2408
+ msgstr "曜日"
2409
+
2410
+ msgid "Did you know that you need to wrap single tabs with [tabs] shortcode?"
2411
+ msgstr "[タブ]ショートコードを持つ単一のタブをラップする必要があることをご存知ですか?"
2412
+
2413
+ msgid "Divider color"
2414
+ msgstr "デバイダーの色"
2415
+
2416
+ msgid "Enter here comma-separated list of author's IDs. Example: 1,7,18"
2417
+ msgstr "投稿者IDをカンマ区切りで入力。例: 1,7,18"
2418
+
2419
+ msgid "Enter the text for less link"
2420
+ msgstr "小さいリンク用のテキストを入力"
2421
+
2422
+ msgid "Enter the text for more link"
2423
+ msgstr "続きを表示リンク用のテキストを入力"
2424
+
2425
+ msgid "Examples (click to set)"
2426
+ msgstr "例 (クリックで設定)"
2427
+
2428
+ msgid "Expand"
2429
+ msgstr "拡大"
2430
+
2431
+ msgid "Expandable text block"
2432
+ msgstr "拡張可能なテキストブロック"
2433
+
2434
+ msgid "Height for collapsed state (in pixels)"
2435
+ msgstr "折り畳んだ状態の高さ (ピクセル)"
2436
+
2437
+ msgid "Height of the divider (in pixels)"
2438
+ msgstr "デバイダーの高さ (ピクセル)"
2439
+
2440
+ msgid "Here you can add value for the rel attribute.<br>Example values: <b%value>nofollow</b>, <b%value>lightbox</b>"
2441
+ msgstr "ここでは、rel属性に値を追加することができます。<br>値の例: <b%value>nofollow</b>、<b%value>lightbox</b>"
2442
+
2443
+ msgid "Hide less link"
2444
+ msgstr "小さいリンクを非表示にする"
2445
+
2446
+ msgid "In this field you can specify one or more days of the month. Every month at these days the content of shortcode will be visible. %s %s %s - show content only at first day of month %s - show content from 1th to 5th %s - show content from 10th to 15th and from 20th to 25th"
2447
+ msgstr "このフィールドでその月の1日または複数の日を指定できます。これらの日に毎月ショートコードのコンテンツを表示します。 %s %s %s - 月の最初の日のみコンテンツを表示 %s - 1日~5日までコンテンツを表示 %s - 10日~15日と20日~25日までコンテンツを表示"
2448
+
2449
+ msgid "In this field you can specify one or more days of the week. Every week at these days the content of shortcode will be visible. %s 0 - Sunday %s 1 - Monday %s 2 - Tuesday %s 3 - Wednesday %s 4 - Thursday %s 5 - Friday %s 6 - Saturday %s %s %s - show content from Monday to Friday %s - show content only at Sunday %s - show content at Sunday and from Wednesday to Friday"
2450
+ msgstr "このフィールドで1つ以上の曜日を指定できます。これらの日に毎週ショートコードのコンテンツを表示します。 %s 0 - 日曜日 %s 1 - 月曜日 %s 2 - 火曜日 %s 3 - 水曜日 %s 4 - 木曜日 %s 5 - 金曜日 %s 6 - 土曜日 %s %s %s - 月曜日から金曜日までコンテンツを表示 %s - 日曜日のみコンテンツを表示 %s - 日曜日と水曜日から金曜日までコンテンツを表示"
2451
+
2452
+ msgid "In this field you can specify one or more time ranges. Every day at this time the content of shortcode will be visible. %s %s %s - show content from 9:00 to 18:00 %s - show content from 9:00 to 13:00 and from 14:00 to 18:00 %s - example with minutes (content will be visible each day, 45 minutes) %s - example with seconds"
2453
+ msgstr "このフィールドで1つ以上の時間範囲を指定することができます。これらの時間に毎日ショートコードのコンテンツを表示します。 %s %s %s - 9:00~18:00までコンテンツを表示 %s - 9:00~13:00と14:00~18:00までコンテンツを表示 %s - 分の例 (コンテンツを毎日45分間表示) %s - 秒の例"
2454
+
2455
+ msgid "In this field you can specify the month or months in which the content will be visible. %s %s %s - show content only in January %s - show content from February to June %s - show content in January, March and from May to July"
2456
+ msgstr "このフィールドではコンテンツを表示する月を指定することができます。 %s %s %s - 1月のみコンテンツを表示 %s - 2月~6月までコンテンツを表示 %s - 1月、3月と5月~7月までコンテンツを表示"
2457
+
2458
+ msgid "In this field you can specify the year or years in which the content will be visible. %s %s %s - show content only in 2014 %s - show content from 2014 to 2016 %s - show content in 2014, 2018 and from 2020 to 2022"
2459
+ msgstr "このフィールドではコンテンツを表示する年を指定することができます。%s %s %s - 2014年のみコンテンツを表示 %s - 2014年~2016年までコンテンツを表示 %s - 2014年、 2018年と2020年~2022年までコンテンツを表示"
2460
+
2461
+ msgid "In this field you can type the text which will be shown if content is not visible at the current moment"
2462
+ msgstr "コンテンツが現在、表示されていない場合、このフィールドで表示するテキストを入力します"
2463
+
2464
+ msgid "Incorrect time range (%s). Please use - (minus) symbol to specify time range. Example: 14:00 - 18:00"
2465
+ msgstr "時間の範囲が誤っています (%s)。時間の範囲を指定するには、(マイナス)記号を - 使用してください。例: 14:00 - 18:00"
2466
+
2467
+ msgid "Less icon"
2468
+ msgstr "小さいアイコン"
2469
+
2470
+ msgid "Less text"
2471
+ msgstr "小さいテキスト"
2472
+
2473
+ msgid "Link align"
2474
+ msgstr "リンクの位置"
2475
+
2476
+ msgid "Link color"
2477
+ msgstr "リンク色"
2478
+
2479
+ msgid "Link style"
2480
+ msgstr "リンクのスタイル"
2481
+
2482
+ msgid "Months"
2483
+ msgstr "月間"
2484
+
2485
+ msgid "More icon"
2486
+ msgstr "詳細アイコン"
2487
+
2488
+ msgid "More text"
2489
+ msgstr "複数のテキスト"
2490
+
2491
+ msgid "Pick the color for divider"
2492
+ msgstr "デバイダーの色を選択"
2493
+
2494
+ msgid "Pick the color for TOP link"
2495
+ msgstr "トップリンクの色を選択"
2496
+
2497
+ msgid "Pick the link color"
2498
+ msgstr "リンクの色を選択"
2499
+
2500
+ msgid "Pick the text color"
2501
+ msgstr "テキストの色を選択"
2502
+
2503
+ msgid "Please pay special attention to the descriptions, which are located below each text field. It will save you a lot of time"
2504
+ msgstr "各テキストフィールドの下の説明に注意してください。それらは時間を節約します。"
2505
+
2506
+ msgid "Rel attribute"
2507
+ msgstr "rel属性"
2508
+
2509
+ msgid "Scheduled content"
2510
+ msgstr "スケジュールされたコンテンツ"
2511
+
2512
+ msgid "Scheduler"
2513
+ msgstr "スケジューラ"
2514
+
2515
+ msgid "Select link alignment"
2516
+ msgstr "リンクの位置を選択"
2517
+
2518
+ msgid "Select the style for more/less link"
2519
+ msgstr "リンクのスタイルを選択"
2520
+
2521
+ msgid "Show less"
2522
+ msgstr "小さい表示"
2523
+
2524
+ msgid "Show more"
2525
+ msgstr "続きを表示"
2526
+
2527
+ msgid "This option allows you to hide less link, when the text block has been expanded"
2528
+ msgstr "テキストブロックを拡張した場合、このオプションを使用すると小さいリンクを非表示にします。"
2529
+
2530
+ msgid "This shortcode allows you to show content only at the specified time."
2531
+ msgstr "このショートコードは指定した時間コンテンツを表示します。"
2532
+
2533
+ msgid "This text block can be expanded"
2534
+ msgstr "このテキストブロックを拡大できます"
2535
+
2536
+ msgid "Time"
2537
+ msgstr "時間"
2538
+
2539
+ msgid "Underlined"
2540
+ msgstr "下線"
2541
+
2542
+ msgid "Years"
2543
+ msgstr "年"
languages/su-ru_RU.mo CHANGED
Binary file
languages/su-ru_RU.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: gn_themes\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-08-07 01:13+0400\n"
6
- "PO-Revision-Date: 2014-08-07 01:52+0400\n"
7
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
8
"Language-Team: \n"
9
"Language: ru_RU\n"
@@ -329,7 +329,7 @@ msgstr "Все"
329
msgid "Content"
330
msgstr "Содержимое"
331
332
- #: inc/core/data.php:19 inc/core/data.php:877
333
msgid "Box"
334
msgstr "Блок"
335
@@ -337,11 +337,11 @@ msgstr "Блок"
337
msgid "Media"
338
msgstr "Медиа"
339
340
- #: inc/core/data.php:21 inc/core/data.php:2238
341
msgid "Gallery"
342
msgstr "Галерея"
343
344
- #: inc/core/data.php:22 inc/core/data.php:2810
345
msgid "Data"
346
msgstr "Данные"
347
@@ -349,8 +349,8 @@ msgstr "Данные"
349
msgid "Other"
350
msgstr "Другое"
351
352
- #: inc/core/data.php:32 inc/core/data.php:2003 inc/core/data.php:2122
353
- #: inc/core/data.php:2260 inc/core/data.php:2409 inc/core/data.php:2839
354
msgid "None"
355
msgstr "Нет"
356
@@ -358,15 +358,15 @@ msgstr "Нет"
358
msgid "Solid"
359
msgstr "Сплошной"
360
361
- #: inc/core/data.php:34 inc/core/data.php:360 inc/core/data.php:1018
362
msgid "Dotted"
363
msgstr "Пунктирный (точки)"
364
365
- #: inc/core/data.php:35 inc/core/data.php:361 inc/core/data.php:1019
366
msgid "Dashed"
367
msgstr "Пунктирный (тире)"
368
369
- #: inc/core/data.php:36 inc/core/data.php:362
370
msgid "Double"
371
msgstr "Двойной"
372
@@ -425,17 +425,17 @@ msgstr "Вложенные шорткоды, шорткоды в атрибут
425
msgid "Heading"
426
msgstr "Заголовок"
427
428
- #: inc/core/data.php:136 inc/core/data.php:190 inc/core/data.php:275
429
- #: inc/core/data.php:359 inc/core/data.php:471 inc/core/data.php:501
430
- #: inc/core/data.php:562 inc/core/data.php:729 inc/core/data.php:889
431
- #: inc/core/data.php:1016 inc/core/data.php:1144 inc/core/data.php:2612
432
- #: inc/core/data.php:2664 inc/core/data.php:2727
433
msgid "Default"
434
msgstr "По умолчанию"
435
436
- #: inc/core/data.php:139 inc/core/data.php:193 inc/core/data.php:280
437
- #: inc/core/data.php:365 inc/core/data.php:504 inc/core/data.php:568
438
- #: inc/core/data.php:740 inc/core/data.php:896 inc/core/data.php:1114
439
msgid "Style"
440
msgstr "Стиль"
441
@@ -443,13 +443,13 @@ msgstr "Стиль"
443
msgid "Choose style for this heading"
444
msgstr "Выберите стиль для этого заголовка"
445
446
- #: inc/core/data.php:140 inc/core/data.php:194 inc/core/data.php:281
447
- #: inc/core/data.php:505
448
msgid "Install additional styles"
449
msgstr "Установить дополнительные стили"
450
451
- #: inc/core/data.php:148 inc/core/data.php:388 inc/core/data.php:576
452
- #: inc/core/data.php:655 inc/core/data.php:761 inc/core/data.php:2824
453
msgid "Size"
454
msgstr "Размер"
455
@@ -457,23 +457,26 @@ msgstr "Размер"
457
msgid "Select heading size (pixels)"
458
msgstr "Выберите размер заголовка (в пикселях)"
459
460
- #: inc/core/data.php:154 inc/core/data.php:537 inc/core/data.php:598
461
- #: inc/core/data.php:1029 inc/core/data.php:1122 inc/core/data.php:2840
462
msgid "Left"
463
msgstr "Слева"
464
465
- #: inc/core/data.php:155 inc/core/data.php:599 inc/core/data.php:1030
466
- #: inc/core/data.php:2054 inc/core/data.php:2192 inc/core/data.php:2841
467
msgid "Center"
468
msgstr "По центру"
469
470
- #: inc/core/data.php:156 inc/core/data.php:538 inc/core/data.php:600
471
- #: inc/core/data.php:1031 inc/core/data.php:1123 inc/core/data.php:2842
472
msgid "Right"
473
msgstr "Справа"
474
475
- #: inc/core/data.php:159 inc/core/data.php:541 inc/core/data.php:603
476
- #: inc/core/data.php:2845
477
msgid "Align"
478
msgstr "Выравнивание"
479
@@ -481,7 +484,8 @@ msgstr "Выравнивание"
481
msgid "Heading text alignment"
482
msgstr "Выравнивание текста в заголовке"
483
484
- #: inc/core/data.php:168 inc/core/data.php:397 inc/core/data.php:2833
485
msgid "Margin"
486
msgstr "Отступ"
487
@@ -489,41 +493,43 @@ msgstr "Отступ"
489
msgid "Bottom margin (pixels)"
490
msgstr "Отступ снизу (в пикселях)"
491
492
- #: inc/core/data.php:173 inc/core/data.php:213 inc/core/data.php:246
493
- #: inc/core/data.php:311 inc/core/data.php:329 inc/core/data.php:402
494
- #: inc/core/data.php:426 inc/core/data.php:454 inc/core/data.php:484
495
- #: inc/core/data.php:520 inc/core/data.php:545 inc/core/data.php:581
496
- #: inc/core/data.php:608 inc/core/data.php:624 inc/core/data.php:666
497
- #: inc/core/data.php:696 inc/core/data.php:823 inc/core/data.php:867
498
- #: inc/core/data.php:923 inc/core/data.php:960 inc/core/data.php:1051
499
- #: inc/core/data.php:1083 inc/core/data.php:1185 inc/core/data.php:1201
500
- #: inc/core/data.php:1253 inc/core/data.php:1378 inc/core/data.php:1429
501
- #: inc/core/data.php:1474 inc/core/data.php:1573 inc/core/data.php:1612
502
- #: inc/core/data.php:1682 inc/core/data.php:1704 inc/core/data.php:1735
503
- #: inc/core/data.php:1768 inc/core/data.php:1784 inc/core/data.php:1814
504
- #: inc/core/data.php:1834 inc/core/data.php:1861 inc/core/data.php:1882
505
- #: inc/core/data.php:1927 inc/core/data.php:1972 inc/core/data.php:2091
506
- #: inc/core/data.php:2229 inc/core/data.php:2310 inc/core/data.php:2489
507
- #: inc/core/data.php:2544 inc/core/data.php:2590 inc/core/data.php:2877
508
msgid "Class"
509
msgstr "Класс"
510
511
- #: inc/core/data.php:174 inc/core/data.php:214 inc/core/data.php:247
512
- #: inc/core/data.php:312 inc/core/data.php:330 inc/core/data.php:403
513
- #: inc/core/data.php:427 inc/core/data.php:455 inc/core/data.php:485
514
- #: inc/core/data.php:521 inc/core/data.php:546 inc/core/data.php:582
515
- #: inc/core/data.php:609 inc/core/data.php:625 inc/core/data.php:667
516
- #: inc/core/data.php:697 inc/core/data.php:824 inc/core/data.php:868
517
- #: inc/core/data.php:924 inc/core/data.php:961 inc/core/data.php:1052
518
- #: inc/core/data.php:1084 inc/core/data.php:1186 inc/core/data.php:1202
519
- #: inc/core/data.php:1254 inc/core/data.php:1379 inc/core/data.php:1430
520
- #: inc/core/data.php:1475 inc/core/data.php:1574 inc/core/data.php:1613
521
- #: inc/core/data.php:1683 inc/core/data.php:1705 inc/core/data.php:1736
522
- #: inc/core/data.php:1769 inc/core/data.php:1785 inc/core/data.php:1815
523
- #: inc/core/data.php:1835 inc/core/data.php:1862 inc/core/data.php:1883
524
- #: inc/core/data.php:1928 inc/core/data.php:1973 inc/core/data.php:2092
525
- #: inc/core/data.php:2230 inc/core/data.php:2311 inc/core/data.php:2490
526
- #: inc/core/data.php:2545 inc/core/data.php:2591 inc/core/data.php:2878
527
msgid "Extra CSS class"
528
msgstr "Дополнительный CSS класс"
529
@@ -581,8 +587,8 @@ msgstr "Вкладка"
581
msgid "Tab name"
582
msgstr "Имя вкладки"
583
584
- #: inc/core/data.php:230 inc/core/data.php:264 inc/core/data.php:841
585
- #: inc/core/data.php:884 inc/core/data.php:1641 inc/core/data.php:2815
586
msgid "Title"
587
msgstr "Заголовок"
588
@@ -598,7 +604,7 @@ msgstr "Отключено"
598
msgid "Is this tab disabled"
599
msgstr "Эта вкладка отключена"
600
601
- #: inc/core/data.php:241 inc/core/data.php:306
602
msgid "Anchor"
603
msgstr "Якорь"
604
@@ -613,114 +619,142 @@ msgstr ""
613
"используйте ссылку вида http://example.com/page-utl#Hello. Эта вкладка будет "
614
"активирована и страница будет прокручена к ней"
615
616
- #: inc/core/data.php:250
617
msgid "Tab content"
618
msgstr "Содержимое вкладки"
619
620
- #: inc/core/data.php:251
621
msgid "Single tab"
622
msgstr "Одиночная вкладка"
623
624
- #: inc/core/data.php:252
625
msgid "Did you know that you need to wrap single tabs with [tabs] shortcode?"
626
msgstr ""
627
"Знаете ли вы что несколько одиночных вкладок нужно оборачивать в шорткод "
628
"[tabs]?"
629
630
- #: inc/core/data.php:258
631
msgid "Spoiler"
632
msgstr "Спойлер"
633
634
- #: inc/core/data.php:263 inc/core/shortcodes.php:72
635
msgid "Spoiler title"
636
msgstr "Скрытый текст"
637
638
- #: inc/core/data.php:264
639
msgid "Text in spoiler title"
640
msgstr "Текст для заголовка спойлера"
641
642
- #: inc/core/data.php:269
643
msgid "Open"
644
msgstr "Открыт"
645
646
- #: inc/core/data.php:270
647
msgid "Is spoiler content visible by default"
648
msgstr "Виден ли контент спойлера по умолчанию"
649
650
- #: inc/core/data.php:276
651
msgid "Fancy"
652
msgstr "Стильный"
653
654
- #: inc/core/data.php:277 inc/core/data.php:565
655
msgid "Simple"
656
msgstr "Простой"
657
658
- #: inc/core/data.php:281
659
msgid "Choose style for this spoiler"
660
msgstr "Выберите стиль для этого спойлера"
661
662
- #: inc/core/data.php:286
663
msgid "Plus"
664
msgstr "Плюс"
665
666
- #: inc/core/data.php:287
667
msgid "Plus circle"
668
msgstr "Плюс в круге"
669
670
- #: inc/core/data.php:288
671
msgid "Plus square 1"
672
msgstr "Плюс в квадрате 1"
673
674
- #: inc/core/data.php:289
675
msgid "Plus square 2"
676
msgstr "Плюс в квадрате 2"
677
678
- #: inc/core/data.php:290
679
msgid "Arrow"
680
msgstr "Стрелка"
681
682
- #: inc/core/data.php:291
683
msgid "Arrow circle 1"
684
msgstr "Стрелка в круге 1"
685
686
- #: inc/core/data.php:292
687
msgid "Arrow circle 2"
688
msgstr "Стрелка в круге 2"
689
690
- #: inc/core/data.php:293
691
msgid "Chevron"
692
msgstr "Уголок"
693
694
- #: inc/core/data.php:294
695
msgid "Chevron circle"
696
msgstr "Уголок в круге"
697
698
- #: inc/core/data.php:295
699
msgid "Caret"
700
msgstr "Треугольник"
701
702
- #: inc/core/data.php:296
703
msgid "Caret square"
704
msgstr "Треугольник в квадрате"
705
706
- #: inc/core/data.php:297
707
msgid "Folder 1"
708
msgstr "Папка 1"
709
710
- #: inc/core/data.php:298
711
msgid "Folder 2"
712
msgstr "Папка 2"
713
714
- #: inc/core/data.php:301 inc/core/data.php:685 inc/core/data.php:791
715
- #: inc/core/data.php:847
716
msgid "Icon"
717
msgstr "Иконка"
718
719
- #: inc/core/data.php:302
720
msgid "Icons for spoiler"
721
msgstr "Иконка для спойлера"
722
723
- #: inc/core/data.php:307
724
msgid ""
725
"You can use unique anchor for this spoiler to access it with hash in page "
726
"url. For example: type here <b%value>Hello</b> and then use url like http://"
@@ -731,15 +765,15 @@ msgstr ""
731
"используйте ссылку вида http://example.com/page-utl#Hello. Этот спойлер "
732
"будет открыт и страница будет прокручена к нему"
733
734
- #: inc/core/data.php:315
735
msgid "Hidden content"
736
msgstr "Скрытое содержимое"
737
738
- #: inc/core/data.php:316
739
msgid "Spoiler with hidden content"
740
msgstr "Спойлер со скрытым содержимым"
741
742
- #: inc/core/data.php:317 inc/core/data.php:335
743
msgid ""
744
"Did you know that you can wrap multiple spoilers with [accordion] shortcode "
745
"to create accordion effect?"
@@ -747,11 +781,11 @@ msgstr ""
747
"Знаете ли вы что вы можете обернуть несколько спойлеров в шорткод "
748
"[accordion] чтобы создать эффект аккордеона?"
749
750
- #: inc/core/data.php:323
751
msgid "Accordion"
752
msgstr "Аккордеон"
753
754
- #: inc/core/data.php:333
755
msgid ""
756
"[%prefix_spoiler]Content[/%prefix_spoiler]\n"
757
"[%prefix_spoiler]Content[/%prefix_spoiler]\n"
@@ -761,224 +795,224 @@ msgstr ""
761
"[%prefix_spoiler]Скрытый текст[/%prefix_spoiler]\n"
762
"[%prefix_spoiler]Скрытый текст[/%prefix_spoiler]"
763
764
- #: inc/core/data.php:334
765
msgid "Accordion with spoilers"
766
msgstr "Аккордеон со спойлерами"
767
768
- #: inc/core/data.php:341
769
msgid "Divider"
770
msgstr "Разделитель"
771
772
- #: inc/core/data.php:348
773
msgid "Show TOP link"
774
msgstr "Показать ссылку ВВЕРХ"
775
776
- #: inc/core/data.php:349
777
msgid "Show link to top of the page or not"
778
msgstr "Показывать ссылку ВВЕРХ или нет"
779
780
- #: inc/core/data.php:353 inc/core/shortcodes.php:99
781
msgid "Go to top"
782
msgstr "Вверх"
783
784
- #: inc/core/data.php:354
785
msgid "Link text"
786
msgstr "Текст ссылки"
787
788
- #: inc/core/data.php:354
789
msgid "Text for the GO TOP link"
790
msgstr "Текст ссылки ВВЕРХ"
791
792
- #: inc/core/data.php:366
793
msgid "Choose style for this divider"
794
msgstr "Выберите стиль для этого разделителя"
795
796
- #: inc/core/data.php:372
797
msgid "Divider color"
798
msgstr "Цвет разделителя"
799
800
- #: inc/core/data.php:373
801
msgid "Pick the color for divider"
802
msgstr "Выберите цвет разделителя"
803
804
- #: inc/core/data.php:379 inc/core/data.php:1010
805
msgid "Link color"
806
msgstr "Цвет ссылки"
807
808
- #: inc/core/data.php:380
809
msgid "Pick the color for TOP link"
810
msgstr "Выберите цвет для ссылки ВВЕРХ"
811
812
- #: inc/core/data.php:389
813
msgid "Height of the divider (in pixels)"
814
msgstr "Высота разделителя (в пикселях)"
815
816
- #: inc/core/data.php:398
817
msgid "Adjust the top and bottom margins of this divider (in pixels)"
818
msgstr "Настройте верхний и нижний внешние отступы разделителя (в пикселях)"
819
820
- #: inc/core/data.php:406
821
msgid "Content divider with optional TOP link"
822
msgstr "Разделитель текста со ссылкой ВВЕРХ"
823
824
- #: inc/core/data.php:411
825
msgid "Spacer"
826
msgstr "Пробел"
827
828
- #: inc/core/data.php:421 inc/core/data.php:990 inc/core/data.php:1236
829
- #: inc/core/data.php:1293 inc/core/data.php:1412 inc/core/data.php:1463
830
- #: inc/core/data.php:1507 inc/core/data.php:1659 inc/core/data.php:1916
831
- #: inc/core/data.php:1955 inc/core/data.php:2038 inc/core/data.php:2158
832
- #: inc/core/data.php:2295 inc/core/data.php:2517
833
msgid "Height"
834
msgstr "Высота"
835
836
- #: inc/core/data.php:422
837
msgid "Height of the spacer in pixels"
838
msgstr "Высота пробела в пикселях"
839
840
- #: inc/core/data.php:430
841
msgid "Empty space with adjustable height"
842
msgstr "Пробел с настраиваемой высотой"
843
844
- #: inc/core/data.php:435
845
msgid "Highlight"
846
msgstr "Выделитель"
847
848
- #: inc/core/data.php:443 inc/core/data.php:746 inc/core/data.php:941
849
msgid "Background"
850
msgstr "Фон"
851
852
- #: inc/core/data.php:444
853
msgid "Highlighted text background color"
854
msgstr "Цвет фона выделяемого текста"
855
856
- #: inc/core/data.php:450 inc/core/data.php:752 inc/core/data.php:947
857
- #: inc/core/data.php:1003
858
msgid "Text color"
859
msgstr "Цвет текста"
860
861
- #: inc/core/data.php:450
862
msgid "Highlighted text color"
863
msgstr "Цвет выделяемого текста"
864
865
- #: inc/core/data.php:458 inc/core/data.php:459
866
msgid "Highlighted text"
867
msgstr "Подсвеченный текст"
868
869
- #: inc/core/data.php:464 inc/core/data.php:488 inc/vendor/sunrise.php:409
870
msgid "Label"
871
msgstr "Ярлык"
872
873
- #: inc/core/data.php:472
874
msgid "Success"
875
msgstr "Успех"
876
877
- #: inc/core/data.php:473
878
msgid "Warning"
879
msgstr "Внимание"
880
881
- #: inc/core/data.php:474
882
msgid "Important"
883
msgstr "Важно"
884
885
- #: inc/core/data.php:475
886
msgid "Black"
887
msgstr "Черный"
888
889
- #: inc/core/data.php:476
890
msgid "Info"
891
msgstr "Инфо"
892
893
- #: inc/core/data.php:479
894
msgid "Type"
895
msgstr "Тип"
896
897
- #: inc/core/data.php:480
898
msgid "Style of the label"
899
msgstr "Стиль ярлыка"
900
901
- #: inc/core/data.php:489
902
msgid "Styled label"
903
msgstr "Стильный ярлык"
904
905
- #: inc/core/data.php:494 inc/core/data.php:524
906
msgid "Quote"
907
msgstr "Цитата"
908
909
- #: inc/core/data.php:505
910
msgid "Choose style for this quote"
911
msgstr "Выберите стиль для этой цитаты"
912
913
- #: inc/core/data.php:509
914
msgid "Cite"
915
msgstr "Автор"
916
917
- #: inc/core/data.php:510
918
msgid "Quote author name"
919
msgstr "Имя автора цитаты"
920
921
- #: inc/core/data.php:515
922
msgid "Cite url"
923
msgstr "Ссылка автора"
924
925
- #: inc/core/data.php:516
926
msgid "Url of the quote author. Leave empty to disable link"
927
msgstr "Ссылка автора цитаты. Оставьте пустым, чтобы отключить ссылку"
928
929
- #: inc/core/data.php:525
930
msgid "Blockquote alternative"
931
msgstr "Альтернатива цитаты"
932
933
- #: inc/core/data.php:530 inc/core/data.php:549 inc/core/data.php:550
934
msgid "Pullquote"
935
msgstr "Цитата с обтеканием"
936
937
- #: inc/core/data.php:541
938
msgid "Pullquote alignment (float)"
939
msgstr "Выравнивание цитаты (обтекание)"
940
941
- #: inc/core/data.php:555 inc/core/data.php:586
942
msgid "Dropcap"
943
msgstr "Буквица"
944
945
- #: inc/core/data.php:563 inc/core/data.php:730
946
msgid "Flat"
947
msgstr "Плоский"
948
949
- #: inc/core/data.php:564
950
msgid "Light"
951
msgstr "Светлый"
952
953
- #: inc/core/data.php:568
954
msgid "Dropcap style preset"
955
msgstr "Стиль буквицы"
956
957
- #: inc/core/data.php:577
958
msgid "Choose dropcap size"
959
msgstr "Выберите размер буквицы"
960
961
- #: inc/core/data.php:585
962
msgid "D"
963
msgstr "D"
964
965
- #: inc/core/data.php:591
966
msgid "Frame"
967
msgstr "Рамка"
968
969
- #: inc/core/data.php:604
970
msgid "Frame alignment"
971
msgstr "Выравнивание рамки"
972
973
- #: inc/core/data.php:613
974
msgid "Styled image frame"
975
msgstr "Стильный рамка изображения"
976
977
- #: inc/core/data.php:618
978
msgid "Row"
979
msgstr "Колонки"
980
981
- #: inc/core/data.php:628
982
msgid ""
983
"[%prefix_column size=\"1/3\"]Content[/%prefix_column]\n"
984
"[%prefix_column size=\"1/3\"]Content[/%prefix_column]\n"
@@ -988,100 +1022,100 @@ msgstr ""
988
"[%prefix_column size=\"1/3\"]Содержимое колонки[/%prefix_column]\n"
989
"[%prefix_column size=\"1/3\"]Содержимое колонки[/%prefix_column]"
990
991
- #: inc/core/data.php:629
992
msgid "Row for flexible columns"
993
msgstr "Контейнер с резиновыми колонками"
994
995
- #: inc/core/data.php:634
996
msgid "Column"
997
msgstr "Колонка"
998
999
- #: inc/core/data.php:641
1000
msgid "Full width"
1001
msgstr "Во всю ширину"
1002
1003
- #: inc/core/data.php:642
1004
msgid "One half"
1005
msgstr "Одна вторая"
1006
1007
- #: inc/core/data.php:643
1008
msgid "One third"
1009
msgstr "Одна третья"
1010
1011
- #: inc/core/data.php:644
1012
msgid "Two third"
1013
msgstr "Две трети"
1014
1015
- #: inc/core/data.php:645
1016
msgid "One fourth"
1017
msgstr "Одна четвертая"
1018
1019
- #: inc/core/data.php:646
1020
msgid "Three fourth"
1021
msgstr "Три четвертых"
1022
1023
- #: inc/core/data.php:647
1024
msgid "One fifth"
1025
msgstr "Одна пятая"
1026
1027
- #: inc/core/data.php:648
1028
msgid "Two fifth"
1029
msgstr "Две пятых"
1030
1031
- #: inc/core/data.php:649
1032
msgid "Three fifth"
1033
msgstr "Три пятых"
1034
1035
- #: inc/core/data.php:650
1036
msgid "Four fifth"
1037
msgstr "Четыре пятых"
1038
1039
- #: inc/core/data.php:651
1040
msgid "One sixth"
1041
msgstr "Одна шестая"
1042
1043
- #: inc/core/data.php:652
1044
msgid "Five sixth"
1045
msgstr "Пять шестых"
1046
1047
- #: inc/core/data.php:656
1048
msgid "Select column width. This width will be calculated depend page width"
1049
msgstr ""
1050
"Выберите ширину колнки. Эта ширина будет рассчитана на основе ширины страницы"
1051
1052
- #: inc/core/data.php:661 inc/core/data.php:772
1053
msgid "Centered"
1054
msgstr "По центру"
1055
1056
- #: inc/core/data.php:662
1057
msgid "Is this column centered on the page"
1058
msgstr "Колонка выровнена по центру страницы"
1059
1060
- #: inc/core/data.php:670
1061
msgid "Column content"
1062
msgstr "Содержимое колонки"
1063
1064
- #: inc/core/data.php:671
1065
msgid "Flexible and responsive columns"
1066
msgstr "Резновые колонки"
1067
1068
- #: inc/core/data.php:672
1069
msgid "Did you know that you need to wrap columns with [row] shortcode?"
1070
msgstr "Знаете ли вы что несколько колонок нужно оборачивать в шорткод [row]?"
1071
1072
- #: inc/core/data.php:678
1073
msgid "List"
1074
msgstr "Список"
1075
1076
- #: inc/core/data.php:686
1077
msgid "You can upload custom icon for this list or pick a built-in icon"
1078
msgstr "Вы можете загрузить свою иконку для этого списка или выбрать из списка"
1079
1080
- #: inc/core/data.php:691 inc/core/data.php:797 inc/core/data.php:853
1081
msgid "Icon color"
1082
msgstr "Цвет иконки"
1083
1084
- #: inc/core/data.php:692 inc/core/data.php:798 inc/core/data.php:854
1085
msgid ""
1086
"This color will be applied to the selected icon. Does not works with "
1087
"uploaded icons"
@@ -1089,7 +1123,7 @@ msgstr ""
1089
"Этот цвет будет применен только к иконке выбранной из списка. Не работает "
1090
"для загруженных иконок"
1091
1092
- #: inc/core/data.php:700
1093
msgid ""
1094
"<ul>\n"
1095
"<li>List item</li>\n"
@@ -1103,151 +1137,151 @@ msgstr ""
1103
"<li>Элемент списка</li>\n"
1104
"</ul>"
1105
1106
- #: inc/core/data.php:701
1107
msgid "Styled unordered list"
1108
msgstr "Стильный неупорядоченный список"
1109
1110
- #: inc/core/data.php:706 inc/core/data.php:1020
1111
msgid "Button"
1112
msgstr "Кнопка"
1113
1114
- #: inc/core/data.php:713 inc/core/data.php:2850
1115
msgid "Link"
1116
msgstr "Ссылка"
1117
1118
- #: inc/core/data.php:714
1119
msgid "Button link"
1120
msgstr "Ссылка кнопки"
1121
1122
- #: inc/core/data.php:719 inc/core/data.php:1726
1123
msgid "Same tab"
1124
msgstr "Та же вкладка"
1125
1126
- #: inc/core/data.php:720 inc/core/data.php:1727
1127
msgid "New tab"
1128
msgstr "Новая вкладка"
1129
1130
- #: inc/core/data.php:723 inc/core/data.php:1730
1131
msgid "Target"
1132
msgstr "Цель"
1133
1134
- #: inc/core/data.php:724
1135
msgid "Button link target"
1136
msgstr "Цель ссылки кнопки"
1137
1138
- #: inc/core/data.php:731
1139
msgid "Ghost"
1140
msgstr "Призрак"
1141
1142
- #: inc/core/data.php:732 inc/core/data.php:890
1143
msgid "Soft"
1144
msgstr "Мягкий"
1145
1146
- #: inc/core/data.php:733 inc/core/data.php:891
1147
msgid "Glass"
1148
msgstr "Стекло"
1149
1150
- #: inc/core/data.php:734 inc/core/data.php:892
1151
msgid "Bubbles"
1152
msgstr "Пузыри"
1153
1154
- #: inc/core/data.php:735 inc/core/data.php:893
1155
msgid "Noise"
1156
msgstr "Шум"
1157
1158
- #: inc/core/data.php:736
1159
msgid "Stroked"
1160
msgstr "Прошитый"
1161
1162
- #: inc/core/data.php:737
1163
msgid "3D"
1164
msgstr "3D"
1165
1166
- #: inc/core/data.php:740
1167
msgid "Button background style preset"
1168
msgstr "Стиль фона кнопки"
1169
1170
- #: inc/core/data.php:746
1171
msgid "Button background color"
1172
msgstr "Цвет фона кнопки"
1173
1174
- #: inc/core/data.php:753
1175
msgid "Button text color"
1176
msgstr "Цвет текста кнопки"
1177
1178
- #: inc/core/data.php:762
1179
msgid "Button size"
1180
msgstr "Размер кнопки"
1181
1182
- #: inc/core/data.php:767
1183
msgid "Fluid"
1184
msgstr "Резиновая"
1185
1186
- #: inc/core/data.php:767
1187
msgid "Fluid buttons has 100% width"
1188
msgstr "Резиновые кнопки имеют ширину 100%"
1189
1190
- #: inc/core/data.php:772
1191
msgid "Is button centered on the page"
1192
msgstr "Кнопка выровнена по центру страницы"
1193
1194
- #: inc/core/data.php:777
1195
msgid "Auto"
1196
msgstr "Авто"
1197
1198
- #: inc/core/data.php:778
1199
msgid "Round"
1200
msgstr "Круглый"
1201
1202
- #: inc/core/data.php:779
1203
msgid "Square"
1204
msgstr "Квадратный"
1205
1206
- #: inc/core/data.php:785 inc/core/data.php:918 inc/core/data.php:956
1207
msgid "Radius"
1208
msgstr "Радиус"
1209
1210
- #: inc/core/data.php:786
1211
msgid "Radius of button corners. Auto-radius calculation based on button size"
1212
msgstr ""
1213
"Радиус углов кнопки. Значени auto рассчитывается на основе размера кнопки"
1214
1215
- #: inc/core/data.php:792
1216
msgid "You can upload custom icon for this button or pick a built-in icon"
1217
msgstr "Вы можете загрузить свою иконку для этой кнопки или выбрать из списка"
1218
1219
- #: inc/core/data.php:803
1220
msgid "Text shadow"
1221
msgstr "Тень текста"
1222
1223
- #: inc/core/data.php:804
1224
msgid "Button text shadow"
1225
msgstr "Тень текста на кнопке"
1226
1227
- #: inc/core/data.php:808
1228
msgid "Description"
1229
msgstr "Описание"
1230
1231
- #: inc/core/data.php:809
1232
msgid ""
1233
"Small description under button text. This option is incompatible with icon."
1234
msgstr ""
1235
"Небольшое описание под текстом кнопки. Это описание не совместимо с иконками "
1236
"кнопок."
1237
1238
- #: inc/core/data.php:813
1239
msgid "onClick"
1240
msgstr "onClick"
1241
1242
- #: inc/core/data.php:814
1243
msgid "Advanced JavaScript code for onClick action"
1244
msgstr "JavaScript код для атрибута onClick"
1245
1246
- #: inc/core/data.php:818
1247
msgid "Rel attribute"
1248
msgstr "Атрибут Rel"
1249
1250
- #: inc/core/data.php:819
1251
msgid ""
1252
"Here you can add value for the rel attribute.<br>Example values: <b"
1253
"%value>nofollow</b>, <b%value>lightbox</b>"
@@ -1255,241 +1289,241 @@ msgstr ""
1255
"Здесь вы можете добавить значение для атрибута rel.<br>Примеры значений: <b"
1256
"%value>nofollow</b>, <b%value>lightbox</b>"
1257
1258
- #: inc/core/data.php:827
1259
msgid "Button text"
1260
msgstr "Текст кнопки"
1261
1262
- #: inc/core/data.php:828
1263
msgid "Styled button"
1264
msgstr "Стильная кнопка"
1265
1266
- #: inc/core/data.php:834
1267
msgid "Service"
1268
msgstr "Услуга"
1269
1270
- #: inc/core/data.php:840 inc/core/shortcodes.php:439
1271
msgid "Service title"
1272
msgstr "Название услуги"
1273
1274
- #: inc/core/data.php:842
1275
msgid "Service name"
1276
msgstr "Название услуги"
1277
1278
- #: inc/core/data.php:848
1279
msgid "You can upload custom icon for this box"
1280
msgstr "Вы можете загрузить свою иконку для этого блока"
1281
1282
- #: inc/core/data.php:862
1283
msgid "Icon size"
1284
msgstr "Размер иконки"
1285
1286
- #: inc/core/data.php:863
1287
msgid "Size of the uploaded icon in pixels"
1288
msgstr "Размер загруженной иконки в пикселях"
1289
1290
- #: inc/core/data.php:871
1291
msgid "Service description"
1292
msgstr "Описание услуги"
1293
1294
- #: inc/core/data.php:872
1295
msgid "Service box with title"
1296
msgstr "Блок услуга с заголовком"
1297
1298
- #: inc/core/data.php:883
1299
msgid "Box title"
1300
msgstr "Заголовок блока"
1301
1302
- #: inc/core/data.php:884
1303
msgid "Text for the box title"
1304
msgstr "Текст для заголовка блока"
1305
1306
- #: inc/core/data.php:897
1307
msgid "Box style preset"
1308
msgstr "Стиль блока"
1309
1310
- #: inc/core/data.php:903 inc/core/generator-views.php:99
1311
msgid "Color"
1312
msgstr "Цвет"
1313
1314
- #: inc/core/data.php:904
1315
msgid "Color for the box title and borders"
1316
msgstr "Цвет заголовка блока и его рамки"
1317
1318
- #: inc/core/data.php:910
1319
msgid "Title text color"
1320
msgstr "Цвет текста заголовка"
1321
1322
- #: inc/core/data.php:910
1323
msgid "Color for the box title text"
1324
msgstr "Цвет текста в заголовке блока"
1325
1326
- #: inc/core/data.php:919
1327
msgid "Box corners radius"
1328
msgstr "Радиус углов"
1329
1330
- #: inc/core/data.php:927
1331
msgid "Box content"
1332
msgstr "Содержимое блока"
1333
1334
- #: inc/core/data.php:928
1335
msgid "Colored box with caption"
1336
msgstr "Цветной блок с заголовком"
1337
1338
- #: inc/core/data.php:933
1339
msgid "Note"
1340
msgstr "Заметка"
1341
1342
- #: inc/core/data.php:941
1343
msgid "Note background color"
1344
msgstr "Цвет фона заметки"
1345
1346
- #: inc/core/data.php:948
1347
msgid "Note text color"
1348
msgstr "Цвет текста заметки"
1349
1350
- #: inc/core/data.php:956
1351
msgid "Note corners radius"
1352
msgstr "Радиус углов"
1353
1354
- #: inc/core/data.php:964
1355
msgid "Note text"
1356
msgstr "Текст заметки"
1357
1358
- #: inc/core/data.php:965
1359
msgid "Colored box"
1360
msgstr "Цветной блок"
1361
1362
- #: inc/core/data.php:970
1363
msgid "Expand"
1364
msgstr "Развернуть"
1365
1366
- #: inc/core/data.php:975 inc/core/shortcodes.php:497
1367
msgid "Show more"
1368
msgstr "Показать больше"
1369
1370
- #: inc/core/data.php:976
1371
msgid "More text"
1372
msgstr "Текст больше"
1373
1374
- #: inc/core/data.php:977
1375
msgid "Enter the text for more link"
1376
msgstr "Введите здесь текст для ссылки больше"
1377
1378
- #: inc/core/data.php:980 inc/core/shortcodes.php:498
1379
msgid "Show less"
1380
msgstr "Показать меньше"
1381
1382
- #: inc/core/data.php:981
1383
msgid "Less text"
1384
msgstr "Текст меньше"
1385
1386
- #: inc/core/data.php:982
1387
msgid "Enter the text for less link"
1388
msgstr "Введите здесь текст для ссылки меньше"
1389
1390
- #: inc/core/data.php:991
1391
msgid "Height for collapsed state (in pixels)"
1392
msgstr "Высота в свернутом состоянии (в пикселях)"
1393
1394
- #: inc/core/data.php:996
1395
msgid "Hide less link"
1396
msgstr "Скрыть ссылку меньше"
1397
1398
- #: inc/core/data.php:997
1399
msgid ""
1400
"This option allows you to hide less link, when the text block has been "
1401
"expanded"
1402
msgstr "Эта опция позволяет вам скрыть ссылку меньше, когда блок развернут"
1403
1404
- #: inc/core/data.php:1004
1405
msgid "Pick the text color"
1406
msgstr "Выберите цвет текста"
1407
1408
- #: inc/core/data.php:1011
1409
msgid "Pick the link color"
1410
msgstr "Выберите цвет ссылки"
1411
1412
- #: inc/core/data.php:1017
1413
msgid "Underlined"
1414
msgstr "Подчеркнутый"
1415
1416
- #: inc/core/data.php:1023
1417
msgid "Link style"
1418
msgstr "Стиль ссылки"
1419
1420
- #: inc/core/data.php:1024
1421
msgid "Select the style for more/less link"
1422
msgstr "Выберите стиль для ссылки больше/меньше"
1423
1424
- #: inc/core/data.php:1034
1425
msgid "Link align"
1426
msgstr "Выравнивание ссылки"
1427
1428
- #: inc/core/data.php:1035
1429
msgid "Select link alignment"
1430
msgstr "Выберите выравнивание ссылки"
1431
1432
- #: inc/core/data.php:1040
1433
msgid "More icon"
1434
msgstr "Иконка больше"
1435
1436
- #: inc/core/data.php:1041
1437
msgid "Add an icon to the more link"
1438
msgstr "Добавьте иконку ссылке больше"
1439
1440
- #: inc/core/data.php:1046
1441
msgid "Less icon"
1442
msgstr "Иконка меньше"
1443
1444
- #: inc/core/data.php:1047
1445
msgid "Add an icon to the less link"
1446
msgstr "Добавьте иконку ссылке меньше"
1447
1448
- #: inc/core/data.php:1055
1449
msgid "This text block can be expanded"
1450
msgstr "Этот текстовый блок может быть развернут"
1451
1452
- #: inc/core/data.php:1056
1453
msgid "Expandable text block"
1454
msgstr "Разворачиваемый текстовый блок"
1455
1456
- #: inc/core/data.php:1061 inc/core/data.php:2005 inc/core/data.php:2124
1457
- #: inc/core/data.php:2262
1458
msgid "Lightbox"
1459
msgstr "Лайтбокс"
1460
1461
- #: inc/core/data.php:1068
1462
msgid "Iframe"
1463
msgstr "Фрейм (iframe)"
1464
1465
- #: inc/core/data.php:1069
1466
msgid "Image"
1467
msgstr "Изображение"
1468
1469
- #: inc/core/data.php:1070
1470
msgid "Inline (html content)"
1471
msgstr "HTML элемент"
1472
1473
- #: inc/core/data.php:1073
1474
msgid "Content type"
1475
msgstr "Тип содержимого"
1476
1477
- #: inc/core/data.php:1074
1478
msgid "Select type of the lightbox window content"
1479
msgstr "Выберите тип содержимого в окне лайтбокса"
1480
1481
- #: inc/core/data.php:1078
1482
msgid "Content source"
1483
msgstr "Источник содержимого"
1484
1485
- #: inc/core/data.php:1079
1486
msgid ""
1487
"Insert here URL or CSS selector. Use URL for Iframe and Image content types. "
1488
"Use CSS selector for Inline content type.<br />Example values:<br /><b"
1489
"%value>http://www.youtube.com/watch?v=XXXXXXXXX</b> - YouTube video "
1490
"(iframe)<br /><b%value>http://example.com/wp-content/uploads/image.jpg</b> - "
1491
"uploaded image (image)<br /><b%value>http://example.com/</b> - any web page "
1492
- "(iframe)<br /><b%value>#contact-form</b> - any HTML content (inline)"
1493
msgstr ""
1494
"Вставьте URL или CSS селектор. Используйте URL для типов содержимого Фрейм "
1495
"(iframe) и Изображение. Используйте CSS селектор для содержимого типа HTML "
@@ -1499,102 +1533,176 @@ msgstr ""
1499
"%value>http://example.com/</b> - любая веб-страница (фрейм)<br /><b"
1500
"%value>#contact-form</b> - любой HTML элемент (html элемент)"
1501
1502
- #: inc/core/data.php:1087
1503
msgid "[%prefix_button] Click Here to Watch the Video [/%prefix_button]"
1504
msgstr ""
1505
"[%prefix_button] Нажмите здесь чтобы посмотреть видео [/%prefix_button]"
1506
1507
- #: inc/core/data.php:1088
1508
msgid "Lightbox window with custom content"
1509
msgstr "Лайтбокс с произвольным содержимым"
1510
1511
- #: inc/core/data.php:1093
1512
msgid "Tooltip"
1513
msgstr "Подсказка"
1514
1515
- #: inc/core/data.php:1100
1516
msgid "Basic: Light"
1517
msgstr "Базовый: Светлый"
1518
1519
- #: inc/core/data.php:1101
1520
msgid "Basic: Dark"
1521
msgstr "Базовый: Темный"
1522
1523
- #: inc/core/data.php:1102
1524
msgid "Basic: Yellow"
1525
msgstr "Базовый: Желтый"
1526
1527
- #: inc/core/data.php:1103
1528
msgid "Basic: Green"
1529
msgstr "Базовый: Зеленый"
1530
1531
- #: inc/core/data.php:1104
1532
msgid "Basic: Red"
1533
msgstr "Базовый: Красный"
1534
1535
- #: inc/core/data.php:1105
1536
msgid "Basic: Blue"
1537
msgstr "Базовый: Голубой"
1538
1539
- #: inc/core/data.php:1106
1540
msgid "Youtube"
1541
msgstr "Youtube"
1542
1543
- #: inc/core/data.php:1107
1544
msgid "Tipsy"
1545
msgstr "Tipsy"
1546
1547
- #: inc/core/data.php:1108
1548
msgid "Bootstrap"
1549
msgstr "Bootstrap"
1550
1551
- #: inc/core/data.php:1109
1552
msgid "jTools"
1553
msgstr "jTools"
1554
1555
- #: inc/core/data.php:1110
1556
msgid "Tipped"
1557
msgstr "Tipped"
1558
1559
- #: inc/core/data.php:1111
1560
msgid "Cluetip"
1561
msgstr "Cluetip"
1562
1563
- #: inc/core/data.php:1115
1564
msgid "Tooltip window style"
1565
msgstr "Стиль окна подсказки"
1566
1567
- #: inc/core/data.php:1120
1568
msgid "Top"
1569
msgstr "Сверху"
1570
1571
- #: inc/core/data.php:1121
1572
msgid "Bottom"
1573
msgstr "Снизу"
1574
1575
- #: inc/core/data.php:1126
1576
msgid "Position"
1577
msgstr "Положение"
1578
1579
- #: inc/core/data.php:1127
1580
msgid "Tooltip position"
1581
msgstr "Положение всплывающей подсказки"
1582
1583
- #: inc/core/data.php:1132
1584
- msgid "Shadow"
1585
- msgstr "Тень"
1586
-
1587
- #: inc/core/data.php:1133
1588
msgid ""
1589
"Add shadow to tooltip. This option is only works with basic styes, e.g. "
1590
"blue, green etc."
1591
msgstr "Добавить тень окну подсказки. Тень работает только для базовых стилей."
1592
1593
- #: inc/core/data.php:1138
1594
msgid "Rounded corners"
1595
msgstr "Скругление"
1596
1597
- #: inc/core/data.php:1139
1598
msgid ""
1599
"Use rounded for tooltip. This option is only works with basic styes, e.g. "
1600
"blue, green etc."
@@ -1602,154 +1710,146 @@ msgstr ""
1602
"Добавить скругленные уголки окну подсказки. Скругление работает только для "
1603
"базовых стилей."
1604
1605
- #: inc/core/data.php:1153
1606
msgid "Font size"
1607
msgstr "Размер шрифта"
1608
1609
- #: inc/core/data.php:1154
1610
msgid "Tooltip font size"
1611
msgstr "Размер шрифта подсказки"
1612
1613
- #: inc/core/data.php:1158
1614
msgid "Tooltip title"
1615
msgstr "Заголовок подсказки"
1616
1617
- #: inc/core/data.php:1159
1618
msgid ""
1619
"Enter title for tooltip window. Leave this field empty to hide the title"
1620
msgstr ""
1621
"Укажите заголовок окна подсказки. Оставьте поле пустым, чтобы скрыть "
1622
"заголовок"
1623
1624
- #: inc/core/data.php:1162 inc/core/shortcodes.php:542
1625
msgid "Tooltip text"
1626
msgstr "Текст подсказки"
1627
1628
- #: inc/core/data.php:1163
1629
msgid "Tooltip content"
1630
msgstr "Содержимое подсказки"
1631
1632
- #: inc/core/data.php:1164
1633
msgid "Enter tooltip content here"
1634
msgstr "Введите сюда содержимое подсказки"
1635
1636
- #: inc/core/data.php:1169
1637
msgid "Show and hide on mouse hover"
1638
msgstr "Показать и скрыть при наведении мыши"
1639
1640
- #: inc/core/data.php:1170
1641
msgid "Show and hide by mouse click"
1642
msgstr "Показать и скрыть по клику мыши"
1643
1644
- #: inc/core/data.php:1171
1645
msgid "Always visible"
1646
msgstr "Всегда видима"
1647
1648
- #: inc/core/data.php:1174
1649
msgid "Behavior"
1650
msgstr "Поведение"
1651
1652
- #: inc/core/data.php:1175
1653
msgid "Select tooltip behavior"
1654
msgstr "Выберите поведение подсказки"
1655
1656
- #: inc/core/data.php:1180
1657
msgid "Close button"
1658
msgstr "Кнопка закрыть"
1659
1660
- #: inc/core/data.php:1181
1661
msgid "Show close button"
1662
msgstr "Показывать кнопку закрыть"
1663
1664
- #: inc/core/data.php:1189
1665
msgid "[%prefix_button] Hover me to open tooltip [/%prefix_button]"
1666
msgstr ""
1667
"[%prefix_button] Наведите мышку чтобы увидеть подсказку [/%prefix_button]"
1668
1669
- #: inc/core/data.php:1190
1670
msgid "Tooltip window with custom content"
1671
msgstr "Всплывающая подсказка с произвольным содержимым"
1672
1673
- #: inc/core/data.php:1195
1674
msgid "Private"
1675
msgstr "Заметка для авторов"
1676
1677
- #: inc/core/data.php:1205
1678
msgid "Private note text"
1679
msgstr "Текст приватной заметки"
1680
1681
- #: inc/core/data.php:1206
1682
msgid "Private note for post authors"
1683
msgstr "Приватный текст для других авторов"
1684
1685
- #: inc/core/data.php:1211
1686
msgid "YouTube"
1687
msgstr "YouTube"
1688
1689
- #: inc/core/data.php:1218 inc/core/data.php:1270 inc/core/data.php:1395
1690
- #: inc/core/data.php:1445 inc/core/data.php:1489 inc/core/data.php:1801
1691
- #: inc/core/data.php:1898
1692
msgid "Url"
1693
msgstr "Ссылка"
1694
1695
- #: inc/core/data.php:1219 inc/core/data.php:1271
1696
msgid "Url of YouTube page with video. Ex: http://youtube.com/watch?v=XXXXXX"
1697
msgstr ""
1698
"Ссылка на страницу YouTube с видео. Пример: http://youtube.com/watch?v=XXXXXX"
1699
1700
- #: inc/core/data.php:1227 inc/core/data.php:1284 inc/core/data.php:1403
1701
- #: inc/core/data.php:1454 inc/core/data.php:1498 inc/core/data.php:1595
1702
- #: inc/core/data.php:1650 inc/core/data.php:1907 inc/core/data.php:1946
1703
- #: inc/core/data.php:2030 inc/core/data.php:2149 inc/core/data.php:2287
1704
- #: inc/core/data.php:2508
1705
- msgid "Width"
1706
- msgstr "Ширина"
1707
-
1708
- #: inc/core/data.php:1228 inc/core/data.php:1285 inc/core/data.php:1404
1709
- #: inc/core/data.php:1455 inc/core/data.php:1499 inc/core/data.php:1651
1710
msgid "Player width"
1711
msgstr "Ширина плеера"
1712
1713
- #: inc/core/data.php:1237 inc/core/data.php:1294 inc/core/data.php:1413
1714
- #: inc/core/data.php:1464 inc/core/data.php:1508 inc/core/data.php:1660
1715
msgid "Player height"
1716
msgstr "Высота плеера"
1717
1718
- #: inc/core/data.php:1242 inc/core/data.php:1299 inc/core/data.php:1418
1719
- #: inc/core/data.php:1469 inc/core/data.php:1513 inc/core/data.php:1922
1720
- #: inc/core/data.php:1961 inc/core/data.php:2043 inc/core/data.php:2164
1721
msgid "Responsive"
1722
msgstr "Отзывчивость (responsive)"
1723
1724
- #: inc/core/data.php:1243 inc/core/data.php:1300 inc/core/data.php:1419
1725
- #: inc/core/data.php:1470 inc/core/data.php:1514
1726
msgid "Ignore width and height parameters and make player responsive"
1727
msgstr ""
1728
"Игнорировать значения ширины и высоты и сделать проигрыватель отзывчивым"
1729
1730
- #: inc/core/data.php:1248 inc/core/data.php:1333 inc/core/data.php:1424
1731
- #: inc/core/data.php:1519 inc/core/data.php:1601 inc/core/data.php:1671
1732
- #: inc/core/data.php:2078 inc/core/data.php:2216
1733
msgid "Autoplay"
1734
msgstr "Автовоспроизведение"
1735
1736
- #: inc/core/data.php:1249 inc/core/data.php:1334 inc/core/data.php:1425
1737
msgid "Play video automatically when page is loaded"
1738
msgstr "Воспроизвести видео автоматически при открытии страницы"
1739
1740
- #: inc/core/data.php:1257
1741
msgid "YouTube video"
1742
msgstr "Видео YouTube"
1743
1744
- #: inc/core/data.php:1263
1745
msgid "YouTube Advanced"
1746
msgstr "YouTube продвинутый"
1747
1748
- #: inc/core/data.php:1275
1749
msgid "Playlist"
1750
msgstr "Плейлист"
1751
1752
- #: inc/core/data.php:1276
1753
msgid ""
1754
"Value is a comma-separated list of video IDs to play. If you specify a "
1755
"value, the first video that plays will be the VIDEO_ID specified in the URL "
@@ -1759,44 +1859,44 @@ msgstr ""
1759
"значение, то первым будет проиграно видео из параметра URL, а указанные "
1760
"здесь видео будут проиграны после него"
1761
1762
- #: inc/core/data.php:1305
1763
msgid "0 - Hide controls"
1764
msgstr "0 - Спрятать панель"
1765
1766
- #: inc/core/data.php:1306
1767
msgid "1 - Show controls"
1768
msgstr "1 - Показать панель"
1769
1770
- #: inc/core/data.php:1307
1771
msgid "2 - Show controls when playback is started"
1772
msgstr "2 - Показать панель при начале воспроизведения"
1773
1774
- #: inc/core/data.php:1310 inc/core/data.php:1665
1775
msgid "Controls"
1776
msgstr "Элементы управления"
1777
1778
- #: inc/core/data.php:1311
1779
msgid "This parameter indicates whether the video player controls will display"
1780
msgstr ""
1781
"Этот параметр определяет как показывать панель управления воспроизведением"
1782
1783
- #: inc/core/data.php:1316
1784
msgid "0 - Do not hide controls"
1785
msgstr "0 - Не прятать панель"
1786
1787
- #: inc/core/data.php:1317
1788
msgid "1 - Hide all controls on mouse out"
1789
msgstr "1 - Спрятать панель при уходе мыши"
1790
1791
- #: inc/core/data.php:1318
1792
msgid "2 - Hide progress bar on mouse out"
1793
msgstr "2 - Спрятать полосу прокрутки при уходе мыши"
1794
1795
- #: inc/core/data.php:1321
1796
msgid "Autohide"
1797
msgstr "Авто-скрытие"
1798
1799
- #: inc/core/data.php:1322
1800
msgid ""
1801
"This parameter indicates whether the video controls will automatically hide "
1802
"after a video begins playing"
@@ -1804,11 +1904,11 @@ msgstr ""
1804
"Этот параметр определяет как скрывать панель управления воспроизведением во "
1805
"время проигрывания ролика"
1806
1807
- #: inc/core/data.php:1327
1808
msgid "Show title bar"
1809
msgstr "Показывать заголовок"
1810
1811
- #: inc/core/data.php:1328
1812
msgid ""
1813
"If you set the parameter value to NO, then the player will not display "
1814
"information like the video title and uploader before the video starts "
@@ -1817,21 +1917,21 @@ msgstr ""
1817
"Если вы установите параметр на НЕТ, то в плеере не будет показан заголовок с "
1818
"названием видео и имя автора видео"
1819
1820
- #: inc/core/data.php:1339 inc/core/data.php:1607 inc/core/data.php:1677
1821
msgid "Loop"
1822
msgstr "Повтор"
1823
1824
- #: inc/core/data.php:1340
1825
msgid ""
1826
"Setting of YES will cause the player to play the initial video again and "
1827
"again"
1828
msgstr "Видео будет снова проиграно по окнчании воспроизведения"
1829
1830
- #: inc/core/data.php:1345
1831
msgid "Related videos"
1832
msgstr "Похожие видео"
1833
1834
- #: inc/core/data.php:1346
1835
msgid ""
1836
"This parameter indicates whether the player should show related videos when "
1837
"playback of the initial video ends"
@@ -1839,17 +1939,17 @@ msgstr ""
1839
"Этот параметр позволяет отключать показ похожих видео по окончании "
1840
"воспроизведения"
1841
1842
- #: inc/core/data.php:1351
1843
msgid "Show full-screen button"
1844
msgstr "Показывать кнопку полноэкранного режима"
1845
1846
- #: inc/core/data.php:1352
1847
msgid ""
1848
"Setting this parameter to NO prevents the fullscreen button from displaying"
1849
msgstr ""
1850
"Установка этого параметра на НЕТ скроет кнопку перехода в полноэкранный режим"
1851
1852
- #: inc/core/data.php:1358
1853
msgid ""
1854
"This parameter lets you use a YouTube player that does not show a YouTube "
1855
"logo. Set the parameter value to YES to prevent the YouTube logo from "
@@ -1861,70 +1961,82 @@ msgstr ""
1861
"управления воспроизведением. Вместо он будет показан либо в панели заголовка "
1862
"видео, либо как полупрозрачный над видео"
1863
1864
- #: inc/core/data.php:1363
1865
msgid "Dark theme"
1866
msgstr "Темная тема"
1867
1868
- #: inc/core/data.php:1364
1869
msgid "Light theme"
1870
msgstr "Светлая тема"
1871
1872
- #: inc/core/data.php:1367 inc/core/data.php:2539
1873
msgid "Theme"
1874
msgstr "Тема"
1875
1876
- #: inc/core/data.php:1368
1877
msgid ""
1878
"This parameter indicates whether the embedded player will display player "
1879
"controls (like a play button or volume control) within a dark or light "
1880
"control bar"
1881
msgstr "Выберите тему для проигрывателя"
1882
1883
- #: inc/core/data.php:1373
1884
msgid "Force HTTPS"
1885
msgstr "Принудительный HTTPS"
1886
1887
- #: inc/core/data.php:1374
1888
msgid "Use HTTPS in player iframe"
1889
msgstr "Использовать протокол HTTPS во фрейме проигрывателя"
1890
1891
- #: inc/core/data.php:1382
1892
msgid "YouTube video player with advanced settings"
1893
msgstr "YouTube видео плеер с расширенными настройками"
1894
1895
- #: inc/core/data.php:1388
1896
msgid "Vimeo"
1897
msgstr "Vimeo"
1898
1899
- #: inc/core/data.php:1395
1900
msgid "Url of Vimeo page with video"
1901