Version Description
- Added: basic RTL support
- Fixed: JS error (blocking shortcodes settings) on WordPress 3.5
- Fixed: minor improvement for slider/gallery posts query. Forum topic
- Fixed: minor imrovements on [quote], fixed markup bug for long values in cite, thanks to Anatoly Yumashev
- Added: completely redesigned search feature. Now it's like a Google, but for shortcodes =)
- Added: Insert shortcode popup window hotkey. So now, you can open Insert shortcode window, choose shortcode and insert it with just one click
- Updated: new demo video at plugin settings page (About tab)
- Updated: new plugin's banner and icon
Download this release
Release Info
Developer | gn_themes |
Plugin | Shortcodes Ultimate |
Version | 4.9.5 |
Comparing to | |
See all releases |
Code changes from version 4.9.4 to 4.9.5
- assets/css/box-shortcodes.css +3 -4
- assets/css/generator.css +8 -1
- assets/css/rtl-admin.css +1 -0
- assets/css/rtl-shortcodes.css +98 -0
- assets/js/generator.js +143 -132
- inc/core/admin-views.php +1 -1
- inc/core/assets.php +30 -1
- inc/core/generator.php +4 -1
- inc/core/load.php +7 -0
- inc/core/shortcodes.php +3 -1
- inc/core/tools.php +1 -0
- inc/integrations/load.php +8 -0
- inc/vendor/sunrise.php +1 -1
- languages/su-ru_RU.mo +0 -0
- languages/su-ru_RU.po +150 -109
- languages/su.pot +149 -122
- readme.txt +21 -9
- shortcodes-ultimate.php +2 -2
assets/css/box-shortcodes.css
CHANGED
@@ -248,7 +248,7 @@
|
|
248 |
padding: 0.5em 3em;
|
249 |
font-style: italic;
|
250 |
}
|
251 |
-
|
252 |
.su-quote-style-default:before,
|
253 |
.su-quote-style-default:after {
|
254 |
position: absolute;
|
@@ -269,9 +269,8 @@
|
|
269 |
background-position: -20px 0;
|
270 |
}
|
271 |
.su-quote-style-default .su-quote-cite {
|
272 |
-
|
273 |
-
|
274 |
-
bottom: -1.5em;
|
275 |
font-style: normal;
|
276 |
}
|
277 |
.su-quote-style-default .su-quote-cite:before { content: "\2014\0000a0"; }
|
248 |
padding: 0.5em 3em;
|
249 |
font-style: italic;
|
250 |
}
|
251 |
+
/*.su-quote-style-default.su-quote-has-cite { margin-bottom: 3em; }*/
|
252 |
.su-quote-style-default:before,
|
253 |
.su-quote-style-default:after {
|
254 |
position: absolute;
|
269 |
background-position: -20px 0;
|
270 |
}
|
271 |
.su-quote-style-default .su-quote-cite {
|
272 |
+
display: block;
|
273 |
+
text-align: right;
|
|
|
274 |
font-style: normal;
|
275 |
}
|
276 |
.su-quote-style-default .su-quote-cite:before { content: "\2014\0000a0"; }
|
assets/css/generator.css
CHANGED
@@ -67,11 +67,18 @@
|
|
67 |
/* Search box */
|
68 |
#su-generator-search {
|
69 |
width: 100%;
|
70 |
-
margin-bottom:
|
71 |
padding: 10px 10px 10px 42px;
|
72 |
background: 5px 50% url('../images/search.png') no-repeat;
|
73 |
font-size: 1.3em;
|
74 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
/* Filter box */
|
77 |
#su-generator-filter {
|
67 |
/* Search box */
|
68 |
#su-generator-search {
|
69 |
width: 100%;
|
70 |
+
margin-bottom: 5px;
|
71 |
padding: 10px 10px 10px 42px;
|
72 |
background: 5px 50% url('../images/search.png') no-repeat;
|
73 |
font-size: 1.3em;
|
74 |
}
|
75 |
+
#su-generator-search-pro-tip {
|
76 |
+
margin: 0 0 30px 0;
|
77 |
+
color: #999;
|
78 |
+
font-style: italic;
|
79 |
+
text-align: right;
|
80 |
+
font-size: 0.9em;
|
81 |
+
}
|
82 |
|
83 |
/* Filter box */
|
84 |
#su-generator-filter {
|
assets/css/rtl-admin.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*** Shortcodes Ultimate - RTL support - admin ***/
|
assets/css/rtl-shortcodes.css
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*** Shortcodes Ultimate - RTL support - front ***/
|
2 |
+
|
3 |
+
/* Tabs + Tab
|
4 |
+
---------------------------------------------------------------*/
|
5 |
+
|
6 |
+
.su-tabs-nav span {
|
7 |
+
margin-right: 0;
|
8 |
+
margin-left: 3px;
|
9 |
+
}
|
10 |
+
.su-tabs-vertical .su-tabs-nav {
|
11 |
+
float: right;
|
12 |
+
}
|
13 |
+
.su-tabs-vertical .su-tabs-panes {
|
14 |
+
float: right;
|
15 |
+
}
|
16 |
+
.su-tabs-vertical .su-tabs-nav span {
|
17 |
+
margin-left: 0;
|
18 |
+
}
|
19 |
+
@media only screen and (max-width: 768px) {
|
20 |
+
.su-tabs-vertical .su-tabs-nav,
|
21 |
+
.su-tabs-vertical .su-tabs-panes {
|
22 |
+
float: none;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
|
26 |
+
/* Spoiler + Accordion
|
27 |
+
---------------------------------------------------------------*/
|
28 |
+
|
29 |
+
.su-spoiler-title {
|
30 |
+
padding: 7px 34px 7px 7px;
|
31 |
+
}
|
32 |
+
.su-spoiler-icon {
|
33 |
+
right: 7px;
|
34 |
+
}
|
35 |
+
.su-spoiler-style-default > .su-spoiler-title {
|
36 |
+
padding-right: 27px;
|
37 |
+
padding-left: 0;
|
38 |
+
}
|
39 |
+
.su-spoiler-style-default > .su-spoiler-title > .su-spoiler-icon { right: 0; }
|
40 |
+
|
41 |
+
/* Quote
|
42 |
+
---------------------------------------------------------------*/
|
43 |
+
|
44 |
+
.su-quote .su-quote-cite {
|
45 |
+
text-align: left;
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Row + Column
|
49 |
+
---------------------------------------------------------------*/
|
50 |
+
|
51 |
+
.su-column {
|
52 |
+
margin: 0 0 0 4%;
|
53 |
+
float: right;
|
54 |
+
}
|
55 |
+
.su-column-last { margin-left: 0; }
|
56 |
+
.su-row .su-column { margin: 0 4% 0 0; }
|
57 |
+
.su-row .su-column.su-column-size-1-1 { margin-left: 0; margin-right: 0; }
|
58 |
+
.su-row .su-column:first-child { margin-right: 0; }
|
59 |
+
@media only screen {
|
60 |
+
[class*="su-column"] + [class*="su-column"]:last-child { float: left; }
|
61 |
+
}
|
62 |
+
|
63 |
+
/* Service
|
64 |
+
---------------------------------------------------------------*/
|
65 |
+
|
66 |
+
.su-service-title img,
|
67 |
+
.su-service-title i {
|
68 |
+
left: auto;
|
69 |
+
right: 0;
|
70 |
+
}
|
71 |
+
|
72 |
+
/* Label
|
73 |
+
---------------------------------------------------------------*/
|
74 |
+
|
75 |
+
.su-label {
|
76 |
+
margin-right: 0;
|
77 |
+
margin-left: 0.3em;
|
78 |
+
}
|
79 |
+
|
80 |
+
/* Dropcap
|
81 |
+
---------------------------------------------------------------*/
|
82 |
+
|
83 |
+
.su-dropcap {
|
84 |
+
float: right;
|
85 |
+
margin: 0.2em 0 0.2em 0.5em;
|
86 |
+
}
|
87 |
+
|
88 |
+
/* List
|
89 |
+
---------------------------------------------------------------*/
|
90 |
+
|
91 |
+
.su-list ul li {
|
92 |
+
padding: 4px 2em 4px 0 !important;
|
93 |
+
}
|
94 |
+
.su-list ul li > img,
|
95 |
+
.su-list ul li i {
|
96 |
+
left: auto;
|
97 |
+
right: 0;
|
98 |
+
}
|
assets/js/generator.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
jQuery(document).ready(function
|
2 |
-
|
3 |
// Prepare data
|
4 |
var $generator = $('#su-generator'),
|
5 |
$search = $('#su-generator-search'),
|
@@ -12,9 +11,14 @@ jQuery(document).ready(function ($) {
|
|
12 |
$result = $('#su-generator-result'),
|
13 |
$selected = $('#su-generator-selected'),
|
14 |
mce_selection = '';
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
// Generator button
|
17 |
-
$('body').on('click', '.su-generator-button', function
|
18 |
e.preventDefault();
|
19 |
// Save the target
|
20 |
window.su_generator_target = $(this).data('target');
|
@@ -25,11 +29,11 @@ jQuery(document).ready(function ($) {
|
|
25 |
type: 'inline',
|
26 |
alignTop: true,
|
27 |
callbacks: {
|
28 |
-
open: function
|
29 |
// Open queried shortcode
|
30 |
if (shortcode) $choice.filter('[data-shortcode="' + shortcode + '"]').trigger('click');
|
31 |
// Focus search field when popup is opened
|
32 |
-
else window.setTimeout(function
|
33 |
$search.focus();
|
34 |
}, 200);
|
35 |
// Change z-index
|
@@ -39,7 +43,7 @@ jQuery(document).ready(function ($) {
|
|
39 |
format: "text"
|
40 |
}) : '';
|
41 |
},
|
42 |
-
close: function
|
43 |
// Clear search field
|
44 |
$search.val('');
|
45 |
// Hide settings
|
@@ -59,9 +63,8 @@ jQuery(document).ready(function ($) {
|
|
59 |
}
|
60 |
}).magnificPopup('open');
|
61 |
});
|
62 |
-
|
63 |
// Filters
|
64 |
-
$filters.click(function
|
65 |
// Prepare data
|
66 |
var filter = $(this).data('filter');
|
67 |
// If filter All, show all choices
|
@@ -76,7 +79,7 @@ jQuery(document).ready(function ($) {
|
|
76 |
opacity: 0.2
|
77 |
});
|
78 |
// Find searched choices and show
|
79 |
-
$choice.each(function
|
80 |
// Get shortcode name
|
81 |
var group = $(this).data('group');
|
82 |
// Show choice if matched
|
@@ -87,9 +90,8 @@ jQuery(document).ready(function ($) {
|
|
87 |
}
|
88 |
e.preventDefault();
|
89 |
});
|
90 |
-
|
91 |
// Go to home link
|
92 |
-
$('#su-generator').on('click', '.su-generator-home', function
|
93 |
// Clear search field
|
94 |
$search.val('');
|
95 |
// Hide settings
|
@@ -107,18 +109,16 @@ jQuery(document).ready(function ($) {
|
|
107 |
$search.focus();
|
108 |
e.preventDefault();
|
109 |
});
|
110 |
-
|
111 |
// Generator close button
|
112 |
-
$('#su-generator').on('click', '.su-generator-close', function
|
113 |
// Close popup
|
114 |
$.magnificPopup.close();
|
115 |
// Prevent default action
|
116 |
e.preventDefault();
|
117 |
});
|
118 |
-
|
119 |
// Search field
|
120 |
$search.on({
|
121 |
-
focus: function
|
122 |
// Clear field
|
123 |
$(this).val('');
|
124 |
// Hide settings
|
@@ -133,11 +133,13 @@ jQuery(document).ready(function ($) {
|
|
133 |
// Show filters
|
134 |
$filter.show();
|
135 |
},
|
136 |
-
blur: function
|
137 |
-
keyup: function
|
|
|
138 |
var $first = $('.su-generator-choice-first:first'),
|
139 |
val = $(this).val(),
|
140 |
-
regex = new RegExp(val, 'gi')
|
|
|
141 |
// Hotkey action
|
142 |
if (e.keyCode === 13 && $first.length > 0) {
|
143 |
e.preventDefault();
|
@@ -148,28 +150,47 @@ jQuery(document).ready(function ($) {
|
|
148 |
$choice.css({
|
149 |
opacity: 0.2
|
150 |
}).removeClass('su-generator-choice-first');
|
151 |
-
//
|
152 |
-
$choice.each(function
|
153 |
-
// Get
|
154 |
-
var
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
|
|
|
|
|
|
160 |
$(this).css({
|
161 |
opacity: 1
|
162 |
-
})
|
163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
$(this).addClass('su-generator-choice-first');
|
|
|
|
|
165 |
}
|
166 |
}
|
167 |
});
|
|
|
|
|
168 |
}
|
169 |
});
|
170 |
-
|
171 |
// Click on shortcode choice
|
172 |
-
$choice.on('click', function
|
173 |
// Prepare data
|
174 |
var shortcode = $(this).data('shortcode');
|
175 |
// Load shortcode options
|
@@ -180,7 +201,7 @@ jQuery(document).ready(function ($) {
|
|
180 |
action: 'su_generator_settings',
|
181 |
shortcode: shortcode
|
182 |
},
|
183 |
-
beforeSend: function
|
184 |
// Hide preview box
|
185 |
$('#su-generator-preview').hide();
|
186 |
// Hide choices panel
|
@@ -192,7 +213,7 @@ jQuery(document).ready(function ($) {
|
|
192 |
// Hide filters
|
193 |
$filter.hide();
|
194 |
},
|
195 |
-
success: function
|
196 |
// Hide loading animation
|
197 |
$settings.removeClass('su-generator-loading');
|
198 |
// Insert new HTML
|
@@ -200,7 +221,7 @@ jQuery(document).ready(function ($) {
|
|
200 |
// Apply selected text to the content field
|
201 |
if (typeof mce_selection !== 'undefined' && mce_selection !== '') $('#su-generator-content').val(mce_selection);
|
202 |
// Init range pickers
|
203 |
-
$('.su-generator-range-picker').each(function
|
204 |
var $picker = $(this),
|
205 |
$val = $picker.find('input'),
|
206 |
min = $val.attr('min'),
|
@@ -212,24 +233,23 @@ jQuery(document).ready(function ($) {
|
|
212 |
step: step,
|
213 |
range: [min, max]
|
214 |
});
|
215 |
-
$val.
|
216 |
-
$val.on('keyup blur', function
|
217 |
$val.simpleSlider('setValue', $val.val());
|
218 |
});
|
219 |
});
|
220 |
// Init color pickers
|
221 |
-
$('.su-generator-select-color').each(function
|
222 |
-
$(this).find('.su-generator-select-color-wheel').filter(':first').farbtastic('.su-generator-select-color-value:eq(' +
|
223 |
-
|
224 |
-
$(this).find('.su-generator-select-color-value').focus(function () {
|
225 |
$('.su-generator-select-color-wheel:eq(' + index + ')').show();
|
226 |
});
|
227 |
-
$(this).find('.su-generator-select-color-value').blur(function
|
228 |
$('.su-generator-select-color-wheel:eq(' + index + ')').hide();
|
229 |
});
|
230 |
});
|
231 |
// Init image sourse pickers
|
232 |
-
$('.su-generator-isp').each(function
|
233 |
var $picker = $(this),
|
234 |
$sources = $picker.find('.su-generator-isp-sources'),
|
235 |
$source = $picker.find('.su-generator-isp-source'),
|
@@ -241,14 +261,14 @@ jQuery(document).ready(function ($) {
|
|
241 |
$val = $picker.find('.su-generator-attr'),
|
242 |
frame;
|
243 |
// Update hidden value
|
244 |
-
var update = function
|
245 |
var val = 'none',
|
246 |
ids = '',
|
247 |
source = $sources.val();
|
248 |
// Media library
|
249 |
if (source === 'media') {
|
250 |
var images = [];
|
251 |
-
$images.find('span').each(function
|
252 |
images[i] = $(this).data('id');
|
253 |
});
|
254 |
if (images.length > 0) ids = images.join(',');
|
@@ -276,7 +296,7 @@ jQuery(document).ready(function ($) {
|
|
276 |
$val.val(val).trigger('change');
|
277 |
}
|
278 |
// Switch source
|
279 |
-
$sources.on('change', function
|
280 |
var source = $(this).val();
|
281 |
e.preventDefault();
|
282 |
$source.removeClass('su-generator-isp-source-open');
|
@@ -284,16 +304,16 @@ jQuery(document).ready(function ($) {
|
|
284 |
update();
|
285 |
});
|
286 |
// Remove image
|
287 |
-
$images.on('click', 'span i', function
|
288 |
-
$(this).parent('span').css('border-color', '#f03').fadeOut(300, function
|
289 |
$(this).remove();
|
290 |
update();
|
291 |
});
|
292 |
});
|
293 |
// Add image
|
294 |
-
$add_media.click(function
|
295 |
e.preventDefault();
|
296 |
-
if (typeof
|
297 |
frame = wp.media.frames.su_media_frame_1 = wp.media({
|
298 |
title: su_generator.isp_media_title,
|
299 |
library: {
|
@@ -304,10 +324,10 @@ jQuery(document).ready(function ($) {
|
|
304 |
},
|
305 |
multiple: true
|
306 |
});
|
307 |
-
frame.on('select', function
|
308 |
var files = frame.state().get('selection').toJSON();
|
309 |
$images.find('em').remove();
|
310 |
-
$.each(files, function
|
311 |
$images.append('<span data-id="' + this.id + '" title="' + this.title + '"><img src="' + this.url + '" alt="" /><i class="fa fa-times"></i></span>');
|
312 |
});
|
313 |
update();
|
@@ -318,7 +338,7 @@ jQuery(document).ready(function ($) {
|
|
318 |
revert: 200,
|
319 |
containment: $picker,
|
320 |
tolerance: 'pointer',
|
321 |
-
stop: function
|
322 |
update();
|
323 |
}
|
324 |
});
|
@@ -326,7 +346,7 @@ jQuery(document).ready(function ($) {
|
|
326 |
$cats.on('change', update);
|
327 |
$terms.on('change', update);
|
328 |
// Select taxonomy
|
329 |
-
$taxes.on('change', function
|
330 |
var $cont = $(this).parents('.su-generator-isp-source'),
|
331 |
tax = $(this).val();
|
332 |
// Remove terms
|
@@ -347,12 +367,12 @@ jQuery(document).ready(function ($) {
|
|
347 |
'multiple': true,
|
348 |
'size': 10
|
349 |
},
|
350 |
-
beforeSend: function
|
351 |
if (typeof ajax_term_select === 'object') ajax_term_select.abort();
|
352 |
$terms.html('').attr('disabled', true).hide();
|
353 |
$cont.addClass('su-generator-loading');
|
354 |
},
|
355 |
-
success: function
|
356 |
$terms.html(data).attr('disabled', false).show();
|
357 |
$cont.removeClass('su-generator-loading');
|
358 |
}
|
@@ -361,15 +381,15 @@ jQuery(document).ready(function ($) {
|
|
361 |
});
|
362 |
});
|
363 |
// Init media buttons
|
364 |
-
$('.su-generator-upload-button').each(function
|
365 |
var $button = $(this),
|
366 |
$val = $(this).parents('.su-generator-attr-container').find('input:text'),
|
367 |
file;
|
368 |
-
$button.on('click', function
|
369 |
e.preventDefault();
|
370 |
e.stopPropagation();
|
371 |
// If the frame already exists, reopen it
|
372 |
-
if (typeof
|
373 |
// Create WP media frame.
|
374 |
file = wp.media.frames.su_media_frame_2 = wp.media({
|
375 |
// Title of media manager frame
|
@@ -382,7 +402,7 @@ jQuery(document).ready(function ($) {
|
|
382 |
multiple: false
|
383 |
});
|
384 |
//callback for selected image
|
385 |
-
file.on('select', function
|
386 |
var attachment = file.state().get('selection').first().toJSON();
|
387 |
$val.val(attachment.url).trigger('change');
|
388 |
});
|
@@ -391,14 +411,13 @@ jQuery(document).ready(function ($) {
|
|
391 |
});
|
392 |
});
|
393 |
// Init icon pickers
|
394 |
-
$('.su-generator-icon-picker-button').each(function
|
395 |
var $button = $(this),
|
396 |
$field = $(this).parents('.su-generator-attr-container'),
|
397 |
$val = $field.find('.su-generator-attr'),
|
398 |
$picker = $field.find('.su-generator-icon-picker'),
|
399 |
$filter = $picker.find('input:text');
|
400 |
-
|
401 |
-
$button.click(function (e) {
|
402 |
$picker.toggleClass('su-generator-icon-picker-visible');
|
403 |
$filter.val('').trigger('keyup');
|
404 |
if ($picker.hasClass('su-generator-icon-picker-loaded')) return;
|
@@ -410,36 +429,36 @@ jQuery(document).ready(function ($) {
|
|
410 |
action: 'su_generator_get_icons'
|
411 |
},
|
412 |
dataType: 'html',
|
413 |
-
beforeSend: function
|
414 |
// Show loading animation
|
415 |
$picker.addClass('su-generator-loading');
|
416 |
// Add loaded class
|
417 |
$picker.addClass('su-generator-icon-picker-loaded');
|
418 |
},
|
419 |
-
success: function
|
420 |
$picker.append(data);
|
421 |
var $icons = $picker.children('i');
|
422 |
-
$icons.click(function
|
423 |
$val.val('icon: ' + $(this).attr('title'));
|
424 |
$picker.removeClass('su-generator-icon-picker-visible');
|
425 |
$val.trigger('change');
|
426 |
e.preventDefault();
|
427 |
});
|
428 |
$filter.on({
|
429 |
-
keyup: function
|
430 |
var val = $(this).val(),
|
431 |
regex = new RegExp(val, 'gi');
|
432 |
// Hide all choices
|
433 |
$icons.hide();
|
434 |
// Find searched choices and show
|
435 |
-
$icons.each(function
|
436 |
// Get shortcode name
|
437 |
var name = $(this).attr('title');
|
438 |
// Show choice if matched
|
439 |
if (name.match(regex) !== null) $(this).show();
|
440 |
});
|
441 |
},
|
442 |
-
focus: function
|
443 |
$(this).val('');
|
444 |
$icons.show();
|
445 |
}
|
@@ -451,7 +470,7 @@ jQuery(document).ready(function ($) {
|
|
451 |
});
|
452 |
});
|
453 |
// Init switches
|
454 |
-
$('.su-generator-switch').click(function
|
455 |
// Prepare data
|
456 |
var $switch = $(this),
|
457 |
$value = $switch.parent().children('input'),
|
@@ -468,7 +487,7 @@ jQuery(document).ready(function ($) {
|
|
468 |
}
|
469 |
e.preventDefault();
|
470 |
});
|
471 |
-
$('.su-generator-switch-value').on('change', function
|
472 |
// Prepare data
|
473 |
var $value = $(this),
|
474 |
$switch = $value.parent().children('.su-generator-switch'),
|
@@ -479,7 +498,7 @@ jQuery(document).ready(function ($) {
|
|
479 |
else if (value === 'no') $switch.removeClass('su-generator-switch-yes').addClass('su-generator-switch-no');
|
480 |
});
|
481 |
// Init tax_term selects
|
482 |
-
$('select#su-generator-attr-taxonomy').on('change', function
|
483 |
var $taxonomy = $(this),
|
484 |
tax = $taxonomy.val(),
|
485 |
$terms = $('select#su-generator-attr-tax_term');
|
@@ -493,13 +512,13 @@ jQuery(document).ready(function ($) {
|
|
493 |
noselect: true
|
494 |
},
|
495 |
dataType: 'html',
|
496 |
-
beforeSend: function
|
497 |
// Check previous requests
|
498 |
if (typeof window.su_generator_get_terms === 'object') window.su_generator_get_terms.abort();
|
499 |
// Show loading animation
|
500 |
$terms.parent().addClass('su-generator-loading');
|
501 |
},
|
502 |
-
success: function
|
503 |
// Remove previous options
|
504 |
$terms.find('option').remove();
|
505 |
// Append new options
|
@@ -510,7 +529,7 @@ jQuery(document).ready(function ($) {
|
|
510 |
});
|
511 |
});
|
512 |
// Init shadow pickers
|
513 |
-
$('.su-generator-shadow-picker').each(function
|
514 |
var $picker = $(this),
|
515 |
$fields = $picker.find('.su-generator-shadow-picker-field input'),
|
516 |
$hoff = $picker.find('.su-generator-sp-hoff'),
|
@@ -524,17 +543,17 @@ jQuery(document).ready(function ($) {
|
|
524 |
$val = $picker.find('.su-generator-attr');
|
525 |
// Init color picker
|
526 |
$color.wheel.farbtastic($color.value);
|
527 |
-
$color.value.focus(function
|
528 |
$color.wheel.show();
|
529 |
});
|
530 |
-
$color.value.blur(function
|
531 |
$color.wheel.hide();
|
532 |
});
|
533 |
// Handle text fields
|
534 |
-
$fields.on('change blur keyup', function
|
535 |
$val.val($hoff.val() + 'px ' + $voff.val() + 'px ' + $blur.val() + 'px ' + $color.value.val()).trigger('change');
|
536 |
});
|
537 |
-
$val.on('keyup', function
|
538 |
var value = $(this).val().split(' ');
|
539 |
// Value is correct
|
540 |
if (value.length === 4) {
|
@@ -547,7 +566,7 @@ jQuery(document).ready(function ($) {
|
|
547 |
});
|
548 |
});
|
549 |
// Init border pickers
|
550 |
-
$('.su-generator-border-picker').each(function
|
551 |
var $picker = $(this),
|
552 |
$fields = $picker.find('.su-generator-border-picker-field input, .su-generator-border-picker-field select'),
|
553 |
$width = $picker.find('.su-generator-bp-width'),
|
@@ -560,17 +579,17 @@ jQuery(document).ready(function ($) {
|
|
560 |
$val = $picker.find('.su-generator-attr');
|
561 |
// Init color picker
|
562 |
$color.wheel.farbtastic($color.value);
|
563 |
-
$color.value.focus(function
|
564 |
$color.wheel.show();
|
565 |
});
|
566 |
-
$color.value.blur(function
|
567 |
$color.wheel.hide();
|
568 |
});
|
569 |
// Handle text fields
|
570 |
-
$fields.on('change blur keyup', function
|
571 |
$val.val($width.val() + 'px ' + $style.val() + ' ' + $color.value.val()).trigger('change');
|
572 |
});
|
573 |
-
$val.on('keyup', function
|
574 |
var value = $(this).val().split(' ');
|
575 |
// Value is correct
|
576 |
if (value.length === 3) {
|
@@ -582,7 +601,7 @@ jQuery(document).ready(function ($) {
|
|
582 |
});
|
583 |
});
|
584 |
// Remove skip class when setting is changed
|
585 |
-
$settings.find('.su-generator-attr').on('change keyup blur', function
|
586 |
var $cnt = $(this).parents('.su-generator-attr-container'),
|
587 |
_default = $cnt.data('default'),
|
588 |
val = $(this).val();
|
@@ -591,7 +610,7 @@ jQuery(document).ready(function ($) {
|
|
591 |
else $cnt.addClass('su-generator-skip');
|
592 |
});
|
593 |
// Init value setters
|
594 |
-
$('.su-generator-set-value').click(function
|
595 |
$(this).parents('.su-generator-attr-container').find('input').val($(this).text()).trigger('change');
|
596 |
});
|
597 |
// Save selected value
|
@@ -605,11 +624,11 @@ jQuery(document).ready(function ($) {
|
|
605 |
id: 'last_used',
|
606 |
shortcode: shortcode
|
607 |
},
|
608 |
-
beforeSend: function
|
609 |
// Show loading animation
|
610 |
// $settings.addClass('su-generator-loading');
|
611 |
},
|
612 |
-
success: function
|
613 |
// Remove loading animation
|
614 |
// $settings.removeClass('su-generator-loading');
|
615 |
// Set new settings
|
@@ -623,9 +642,8 @@ jQuery(document).ready(function ($) {
|
|
623 |
dataType: 'html'
|
624 |
});
|
625 |
});
|
626 |
-
|
627 |
// Insert shortcode
|
628 |
-
$('#su-generator').on('click', '.su-generator-insert', function
|
629 |
// Prepare data
|
630 |
var shortcode = parse();
|
631 |
// Save current settings to presets
|
@@ -656,9 +674,8 @@ jQuery(document).ready(function ($) {
|
|
656 |
// if ($target.length > 0) $target.val($target.val() + shortcode);
|
657 |
// }
|
658 |
});
|
659 |
-
|
660 |
// Preview shortcode
|
661 |
-
$('#su-generator').on('click', '.su-generator-toggle-preview', function
|
662 |
// Prepare data
|
663 |
var $preview = $('#su-generator-preview'),
|
664 |
$button = $(this);
|
@@ -667,7 +684,7 @@ jQuery(document).ready(function ($) {
|
|
667 |
// Show preview box
|
668 |
$preview.addClass('su-generator-loading').show();
|
669 |
// Bind updating on settings changes
|
670 |
-
$settings.find('input, textarea, select').on('change keyup blur', function
|
671 |
update_preview();
|
672 |
});
|
673 |
// Update preview box
|
@@ -675,22 +692,20 @@ jQuery(document).ready(function ($) {
|
|
675 |
// Prevent default action
|
676 |
e.preventDefault();
|
677 |
});
|
678 |
-
|
679 |
var gp_hover_timer;
|
680 |
-
|
681 |
// Presets manager - mouseenter
|
682 |
-
$('#su-generator').on('mouseenter click', '.su-generator-presets', function
|
683 |
clearTimeout(gp_hover_timer);
|
684 |
$('.su-gp-popup').show();
|
685 |
});
|
686 |
// Presets manager - mouseleave
|
687 |
-
$('#su-generator').on('mouseleave', '.su-generator-presets', function
|
688 |
-
gp_hover_timer = window.setTimeout(function
|
689 |
$('.su-gp-popup').fadeOut(200);
|
690 |
}, 600);
|
691 |
});
|
692 |
// Presets manager - add new preset
|
693 |
-
$('#su-generator').on('click', '.su-gp-new', function
|
694 |
// Prepare data
|
695 |
var $container = $(this).parents('.su-generator-presets'),
|
696 |
$list = $('.su-gp-list'),
|
@@ -708,7 +723,7 @@ jQuery(document).ready(function ($) {
|
|
708 |
}
|
709 |
});
|
710 |
// Presets manager - load preset
|
711 |
-
$('#su-generator').on('click', '.su-gp-list span', function
|
712 |
// Prepare data
|
713 |
var shortcode = $('.su-generator-presets').data('shortcode'),
|
714 |
id = $(this).data('id'),
|
@@ -726,11 +741,11 @@ jQuery(document).ready(function ($) {
|
|
726 |
id: id,
|
727 |
shortcode: shortcode
|
728 |
},
|
729 |
-
beforeSend: function
|
730 |
// Disable insert button
|
731 |
$insert.addClass('button-primary-disabled').attr('disabled', true);
|
732 |
},
|
733 |
-
success: function
|
734 |
// Enable insert button
|
735 |
$insert.removeClass('button-primary-disabled').attr('disabled', false);
|
736 |
// Set new settings
|
@@ -743,7 +758,7 @@ jQuery(document).ready(function ($) {
|
|
743 |
e.stopPropagation();
|
744 |
});
|
745 |
// Presets manager - remove preset
|
746 |
-
$('#su-generator').on('click', '.su-gp-list i', function
|
747 |
// Prepare data
|
748 |
var $list = $(this).parents('.su-gp-list'),
|
749 |
$preset = $(this).parent('span'),
|
@@ -759,31 +774,29 @@ jQuery(document).ready(function ($) {
|
|
759 |
// Prevent default action
|
760 |
e.preventDefault();
|
761 |
});
|
762 |
-
|
763 |
/**
|
764 |
* Create new preset with specified name from current settings
|
765 |
*/
|
766 |
function add_preset(id, name) {
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
*/
|
787 |
function remove_preset(id) {
|
788 |
// Get current shortcode name
|
789 |
var shortcode = $('.su-generator-presets').data('shortcode');
|
@@ -809,7 +822,7 @@ jQuery(document).ready(function ($) {
|
|
809 |
// Open shortcode
|
810 |
result += '[' + prefix + query;
|
811 |
// Add shortcode attributes
|
812 |
-
$settings.each(function
|
813 |
// Prepare field and value
|
814 |
var $this = $(this),
|
815 |
value = '';
|
@@ -838,7 +851,7 @@ jQuery(document).ready(function ($) {
|
|
838 |
content = $('#su-generator-content').val(),
|
839 |
data = {};
|
840 |
// Add shortcode attributes
|
841 |
-
$settings.each(function
|
842 |
// Prepare field and value
|
843 |
var $this = $(this),
|
844 |
value = '',
|
@@ -863,7 +876,7 @@ jQuery(document).ready(function ($) {
|
|
863 |
var $settings = $('#su-generator-settings .su-generator-attr'),
|
864 |
$content = $('#su-generator-content');
|
865 |
// Loop through settings
|
866 |
-
$settings.each(function
|
867 |
var $this = $(this),
|
868 |
name = $this.attr('name');
|
869 |
// Data contains value for this field
|
@@ -878,7 +891,6 @@ jQuery(document).ready(function ($) {
|
|
878 |
// Update preview
|
879 |
update_preview();
|
880 |
}
|
881 |
-
|
882 |
var update_preview_timer,
|
883 |
update_preview_request;
|
884 |
|
@@ -895,7 +907,7 @@ jQuery(document).ready(function ($) {
|
|
895 |
if (shortcode === previous && !forced) return;
|
896 |
// Run timer to filter often calls
|
897 |
window.clearTimeout(update_preview_timer);
|
898 |
-
update_preview_timer = window.setTimeout(function
|
899 |
update_preview_request = $.ajax({
|
900 |
type: 'POST',
|
901 |
url: ajaxurl,
|
@@ -904,13 +916,13 @@ jQuery(document).ready(function ($) {
|
|
904 |
action: 'su_generator_preview',
|
905 |
shortcode: shortcode
|
906 |
},
|
907 |
-
beforeSend: function
|
908 |
// Abort previous requests
|
909 |
if (typeof update_preview_request === 'object') update_preview_request.abort();
|
910 |
// Show loading animation
|
911 |
$preview.addClass('su-generator-loading').html('');
|
912 |
},
|
913 |
-
success: function
|
914 |
// Hide loading animation and set new HTML
|
915 |
$preview.html(data).removeClass('su-generator-loading');
|
916 |
},
|
@@ -920,5 +932,4 @@ jQuery(document).ready(function ($) {
|
|
920 |
// Save shortcode to div
|
921 |
$result.text(shortcode);
|
922 |
}
|
923 |
-
|
924 |
});
|
1 |
+
jQuery(document).ready(function($) {
|
|
|
2 |
// Prepare data
|
3 |
var $generator = $('#su-generator'),
|
4 |
$search = $('#su-generator-search'),
|
11 |
$result = $('#su-generator-result'),
|
12 |
$selected = $('#su-generator-selected'),
|
13 |
mce_selection = '';
|
14 |
+
// Hotkey
|
15 |
+
if (typeof $.hotkeys == 'object' && $.hotkeys.version === '(beta)(0.0.3)' && su_generator.hotkey) {
|
16 |
+
$.hotkeys.add(su_generator.hotkey, function() {
|
17 |
+
$('.su-generator-button').trigger('click');
|
18 |
+
});
|
19 |
+
}
|
20 |
// Generator button
|
21 |
+
$('body').on('click', '.su-generator-button', function(e) {
|
22 |
e.preventDefault();
|
23 |
// Save the target
|
24 |
window.su_generator_target = $(this).data('target');
|
29 |
type: 'inline',
|
30 |
alignTop: true,
|
31 |
callbacks: {
|
32 |
+
open: function() {
|
33 |
// Open queried shortcode
|
34 |
if (shortcode) $choice.filter('[data-shortcode="' + shortcode + '"]').trigger('click');
|
35 |
// Focus search field when popup is opened
|
36 |
+
else window.setTimeout(function() {
|
37 |
$search.focus();
|
38 |
}, 200);
|
39 |
// Change z-index
|
43 |
format: "text"
|
44 |
}) : '';
|
45 |
},
|
46 |
+
close: function() {
|
47 |
// Clear search field
|
48 |
$search.val('');
|
49 |
// Hide settings
|
63 |
}
|
64 |
}).magnificPopup('open');
|
65 |
});
|
|
|
66 |
// Filters
|
67 |
+
$filters.click(function(e) {
|
68 |
// Prepare data
|
69 |
var filter = $(this).data('filter');
|
70 |
// If filter All, show all choices
|
79 |
opacity: 0.2
|
80 |
});
|
81 |
// Find searched choices and show
|
82 |
+
$choice.each(function() {
|
83 |
// Get shortcode name
|
84 |
var group = $(this).data('group');
|
85 |
// Show choice if matched
|
90 |
}
|
91 |
e.preventDefault();
|
92 |
});
|
|
|
93 |
// Go to home link
|
94 |
+
$('#su-generator').on('click', '.su-generator-home', function(e) {
|
95 |
// Clear search field
|
96 |
$search.val('');
|
97 |
// Hide settings
|
109 |
$search.focus();
|
110 |
e.preventDefault();
|
111 |
});
|
|
|
112 |
// Generator close button
|
113 |
+
$('#su-generator').on('click', '.su-generator-close', function(e) {
|
114 |
// Close popup
|
115 |
$.magnificPopup.close();
|
116 |
// Prevent default action
|
117 |
e.preventDefault();
|
118 |
});
|
|
|
119 |
// Search field
|
120 |
$search.on({
|
121 |
+
focus: function() {
|
122 |
// Clear field
|
123 |
$(this).val('');
|
124 |
// Hide settings
|
133 |
// Show filters
|
134 |
$filter.show();
|
135 |
},
|
136 |
+
blur: function() {},
|
137 |
+
keyup: function(e) {
|
138 |
+
// Prepare vars
|
139 |
var $first = $('.su-generator-choice-first:first'),
|
140 |
val = $(this).val(),
|
141 |
+
regex = new RegExp(val, 'gi'),
|
142 |
+
best = 0;
|
143 |
// Hotkey action
|
144 |
if (e.keyCode === 13 && $first.length > 0) {
|
145 |
e.preventDefault();
|
150 |
$choice.css({
|
151 |
opacity: 0.2
|
152 |
}).removeClass('su-generator-choice-first');
|
153 |
+
// Loop and highlight choices
|
154 |
+
$choice.each(function() {
|
155 |
+
// Get choice data
|
156 |
+
var data = $(this).data(),
|
157 |
+
id = data.shortcode,
|
158 |
+
name = data.name,
|
159 |
+
desc = data.desc,
|
160 |
+
group = data.group,
|
161 |
+
matches = ([id, name, desc, group].join(' ')).match(regex);
|
162 |
+
// Highlight choice if matched
|
163 |
+
if (matches !== null) {
|
164 |
+
// Highlight current choice
|
165 |
$(this).css({
|
166 |
opacity: 1
|
167 |
+
});
|
168 |
+
// Check for exact match
|
169 |
+
if (val === id) {
|
170 |
+
// Remove primary class from all choices
|
171 |
+
$choice.removeClass('su-generator-choice-first');
|
172 |
+
// Add primary class to the current choice
|
173 |
+
$(this).addClass('su-generator-choice-first');
|
174 |
+
// Prevent selecting by matches number
|
175 |
+
best = 999;
|
176 |
+
}
|
177 |
+
// Check matches length
|
178 |
+
else if (matches.length > best) {
|
179 |
+
// Remove primary class from all choices
|
180 |
+
$choice.removeClass('su-generator-choice-first');
|
181 |
+
// Add primary class to the current choice
|
182 |
$(this).addClass('su-generator-choice-first');
|
183 |
+
// Save the score
|
184 |
+
best = matches.length;
|
185 |
}
|
186 |
}
|
187 |
});
|
188 |
+
// Remove primary class if search field is empty
|
189 |
+
if (val === '') $choice.removeClass('su-generator-choice-first');
|
190 |
}
|
191 |
});
|
|
|
192 |
// Click on shortcode choice
|
193 |
+
$choice.on('click', function(e) {
|
194 |
// Prepare data
|
195 |
var shortcode = $(this).data('shortcode');
|
196 |
// Load shortcode options
|
201 |
action: 'su_generator_settings',
|
202 |
shortcode: shortcode
|
203 |
},
|
204 |
+
beforeSend: function() {
|
205 |
// Hide preview box
|
206 |
$('#su-generator-preview').hide();
|
207 |
// Hide choices panel
|
213 |
// Hide filters
|
214 |
$filter.hide();
|
215 |
},
|
216 |
+
success: function(data) {
|
217 |
// Hide loading animation
|
218 |
$settings.removeClass('su-generator-loading');
|
219 |
// Insert new HTML
|
221 |
// Apply selected text to the content field
|
222 |
if (typeof mce_selection !== 'undefined' && mce_selection !== '') $('#su-generator-content').val(mce_selection);
|
223 |
// Init range pickers
|
224 |
+
$('.su-generator-range-picker').each(function(index) {
|
225 |
var $picker = $(this),
|
226 |
$val = $picker.find('input'),
|
227 |
min = $val.attr('min'),
|
233 |
step: step,
|
234 |
range: [min, max]
|
235 |
});
|
236 |
+
$val.show();
|
237 |
+
$val.on('keyup blur', function(e) {
|
238 |
$val.simpleSlider('setValue', $val.val());
|
239 |
});
|
240 |
});
|
241 |
// Init color pickers
|
242 |
+
$('.su-generator-select-color').each(function(index) {
|
243 |
+
$(this).find('.su-generator-select-color-wheel').filter(':first').farbtastic('.su-generator-select-color-value:eq(' + index + ')');
|
244 |
+
$(this).find('.su-generator-select-color-value').focus(function() {
|
|
|
245 |
$('.su-generator-select-color-wheel:eq(' + index + ')').show();
|
246 |
});
|
247 |
+
$(this).find('.su-generator-select-color-value').blur(function() {
|
248 |
$('.su-generator-select-color-wheel:eq(' + index + ')').hide();
|
249 |
});
|
250 |
});
|
251 |
// Init image sourse pickers
|
252 |
+
$('.su-generator-isp').each(function() {
|
253 |
var $picker = $(this),
|
254 |
$sources = $picker.find('.su-generator-isp-sources'),
|
255 |
$source = $picker.find('.su-generator-isp-source'),
|
261 |
$val = $picker.find('.su-generator-attr'),
|
262 |
frame;
|
263 |
// Update hidden value
|
264 |
+
var update = function() {
|
265 |
var val = 'none',
|
266 |
ids = '',
|
267 |
source = $sources.val();
|
268 |
// Media library
|
269 |
if (source === 'media') {
|
270 |
var images = [];
|
271 |
+
$images.find('span').each(function(i) {
|
272 |
images[i] = $(this).data('id');
|
273 |
});
|
274 |
if (images.length > 0) ids = images.join(',');
|
296 |
$val.val(val).trigger('change');
|
297 |
}
|
298 |
// Switch source
|
299 |
+
$sources.on('change', function(e) {
|
300 |
var source = $(this).val();
|
301 |
e.preventDefault();
|
302 |
$source.removeClass('su-generator-isp-source-open');
|
304 |
update();
|
305 |
});
|
306 |
// Remove image
|
307 |
+
$images.on('click', 'span i', function() {
|
308 |
+
$(this).parent('span').css('border-color', '#f03').fadeOut(300, function() {
|
309 |
$(this).remove();
|
310 |
update();
|
311 |
});
|
312 |
});
|
313 |
// Add image
|
314 |
+
$add_media.click(function(e) {
|
315 |
e.preventDefault();
|
316 |
+
if (typeof(frame) !== 'undefined') frame.close();
|
317 |
frame = wp.media.frames.su_media_frame_1 = wp.media({
|
318 |
title: su_generator.isp_media_title,
|
319 |
library: {
|
324 |
},
|
325 |
multiple: true
|
326 |
});
|
327 |
+
frame.on('select', function() {
|
328 |
var files = frame.state().get('selection').toJSON();
|
329 |
$images.find('em').remove();
|
330 |
+
$.each(files, function(i) {
|
331 |
$images.append('<span data-id="' + this.id + '" title="' + this.title + '"><img src="' + this.url + '" alt="" /><i class="fa fa-times"></i></span>');
|
332 |
});
|
333 |
update();
|
338 |
revert: 200,
|
339 |
containment: $picker,
|
340 |
tolerance: 'pointer',
|
341 |
+
stop: function() {
|
342 |
update();
|
343 |
}
|
344 |
});
|
346 |
$cats.on('change', update);
|
347 |
$terms.on('change', update);
|
348 |
// Select taxonomy
|
349 |
+
$taxes.on('change', function() {
|
350 |
var $cont = $(this).parents('.su-generator-isp-source'),
|
351 |
tax = $(this).val();
|
352 |
// Remove terms
|
367 |
'multiple': true,
|
368 |
'size': 10
|
369 |
},
|
370 |
+
beforeSend: function() {
|
371 |
if (typeof ajax_term_select === 'object') ajax_term_select.abort();
|
372 |
$terms.html('').attr('disabled', true).hide();
|
373 |
$cont.addClass('su-generator-loading');
|
374 |
},
|
375 |
+
success: function(data) {
|
376 |
$terms.html(data).attr('disabled', false).show();
|
377 |
$cont.removeClass('su-generator-loading');
|
378 |
}
|
381 |
});
|
382 |
});
|
383 |
// Init media buttons
|
384 |
+
$('.su-generator-upload-button').each(function() {
|
385 |
var $button = $(this),
|
386 |
$val = $(this).parents('.su-generator-attr-container').find('input:text'),
|
387 |
file;
|
388 |
+
$button.on('click', function(e) {
|
389 |
e.preventDefault();
|
390 |
e.stopPropagation();
|
391 |
// If the frame already exists, reopen it
|
392 |
+
if (typeof(file) !== 'undefined') file.close();
|
393 |
// Create WP media frame.
|
394 |
file = wp.media.frames.su_media_frame_2 = wp.media({
|
395 |
// Title of media manager frame
|
402 |
multiple: false
|
403 |
});
|
404 |
//callback for selected image
|
405 |
+
file.on('select', function() {
|
406 |
var attachment = file.state().get('selection').first().toJSON();
|
407 |
$val.val(attachment.url).trigger('change');
|
408 |
});
|
411 |
});
|
412 |
});
|
413 |
// Init icon pickers
|
414 |
+
$('.su-generator-icon-picker-button').each(function() {
|
415 |
var $button = $(this),
|
416 |
$field = $(this).parents('.su-generator-attr-container'),
|
417 |
$val = $field.find('.su-generator-attr'),
|
418 |
$picker = $field.find('.su-generator-icon-picker'),
|
419 |
$filter = $picker.find('input:text');
|
420 |
+
$button.click(function(e) {
|
|
|
421 |
$picker.toggleClass('su-generator-icon-picker-visible');
|
422 |
$filter.val('').trigger('keyup');
|
423 |
if ($picker.hasClass('su-generator-icon-picker-loaded')) return;
|
429 |
action: 'su_generator_get_icons'
|
430 |
},
|
431 |
dataType: 'html',
|
432 |
+
beforeSend: function() {
|
433 |
// Show loading animation
|
434 |
$picker.addClass('su-generator-loading');
|
435 |
// Add loaded class
|
436 |
$picker.addClass('su-generator-icon-picker-loaded');
|
437 |
},
|
438 |
+
success: function(data) {
|
439 |
$picker.append(data);
|
440 |
var $icons = $picker.children('i');
|
441 |
+
$icons.click(function(e) {
|
442 |
$val.val('icon: ' + $(this).attr('title'));
|
443 |
$picker.removeClass('su-generator-icon-picker-visible');
|
444 |
$val.trigger('change');
|
445 |
e.preventDefault();
|
446 |
});
|
447 |
$filter.on({
|
448 |
+
keyup: function() {
|
449 |
var val = $(this).val(),
|
450 |
regex = new RegExp(val, 'gi');
|
451 |
// Hide all choices
|
452 |
$icons.hide();
|
453 |
// Find searched choices and show
|
454 |
+
$icons.each(function() {
|
455 |
// Get shortcode name
|
456 |
var name = $(this).attr('title');
|
457 |
// Show choice if matched
|
458 |
if (name.match(regex) !== null) $(this).show();
|
459 |
});
|
460 |
},
|
461 |
+
focus: function() {
|
462 |
$(this).val('');
|
463 |
$icons.show();
|
464 |
}
|
470 |
});
|
471 |
});
|
472 |
// Init switches
|
473 |
+
$('.su-generator-switch').click(function(e) {
|
474 |
// Prepare data
|
475 |
var $switch = $(this),
|
476 |
$value = $switch.parent().children('input'),
|
487 |
}
|
488 |
e.preventDefault();
|
489 |
});
|
490 |
+
$('.su-generator-switch-value').on('change', function() {
|
491 |
// Prepare data
|
492 |
var $value = $(this),
|
493 |
$switch = $value.parent().children('.su-generator-switch'),
|
498 |
else if (value === 'no') $switch.removeClass('su-generator-switch-yes').addClass('su-generator-switch-no');
|
499 |
});
|
500 |
// Init tax_term selects
|
501 |
+
$('select#su-generator-attr-taxonomy').on('change', function() {
|
502 |
var $taxonomy = $(this),
|
503 |
tax = $taxonomy.val(),
|
504 |
$terms = $('select#su-generator-attr-tax_term');
|
512 |
noselect: true
|
513 |
},
|
514 |
dataType: 'html',
|
515 |
+
beforeSend: function() {
|
516 |
// Check previous requests
|
517 |
if (typeof window.su_generator_get_terms === 'object') window.su_generator_get_terms.abort();
|
518 |
// Show loading animation
|
519 |
$terms.parent().addClass('su-generator-loading');
|
520 |
},
|
521 |
+
success: function(data) {
|
522 |
// Remove previous options
|
523 |
$terms.find('option').remove();
|
524 |
// Append new options
|
529 |
});
|
530 |
});
|
531 |
// Init shadow pickers
|
532 |
+
$('.su-generator-shadow-picker').each(function(index) {
|
533 |
var $picker = $(this),
|
534 |
$fields = $picker.find('.su-generator-shadow-picker-field input'),
|
535 |
$hoff = $picker.find('.su-generator-sp-hoff'),
|
543 |
$val = $picker.find('.su-generator-attr');
|
544 |
// Init color picker
|
545 |
$color.wheel.farbtastic($color.value);
|
546 |
+
$color.value.focus(function() {
|
547 |
$color.wheel.show();
|
548 |
});
|
549 |
+
$color.value.blur(function() {
|
550 |
$color.wheel.hide();
|
551 |
});
|
552 |
// Handle text fields
|
553 |
+
$fields.on('change blur keyup', function() {
|
554 |
$val.val($hoff.val() + 'px ' + $voff.val() + 'px ' + $blur.val() + 'px ' + $color.value.val()).trigger('change');
|
555 |
});
|
556 |
+
$val.on('keyup', function() {
|
557 |
var value = $(this).val().split(' ');
|
558 |
// Value is correct
|
559 |
if (value.length === 4) {
|
566 |
});
|
567 |
});
|
568 |
// Init border pickers
|
569 |
+
$('.su-generator-border-picker').each(function(index) {
|
570 |
var $picker = $(this),
|
571 |
$fields = $picker.find('.su-generator-border-picker-field input, .su-generator-border-picker-field select'),
|
572 |
$width = $picker.find('.su-generator-bp-width'),
|
579 |
$val = $picker.find('.su-generator-attr');
|
580 |
// Init color picker
|
581 |
$color.wheel.farbtastic($color.value);
|
582 |
+
$color.value.focus(function() {
|
583 |
$color.wheel.show();
|
584 |
});
|
585 |
+
$color.value.blur(function() {
|
586 |
$color.wheel.hide();
|
587 |
});
|
588 |
// Handle text fields
|
589 |
+
$fields.on('change blur keyup', function() {
|
590 |
$val.val($width.val() + 'px ' + $style.val() + ' ' + $color.value.val()).trigger('change');
|
591 |
});
|
592 |
+
$val.on('keyup', function() {
|
593 |
var value = $(this).val().split(' ');
|
594 |
// Value is correct
|
595 |
if (value.length === 3) {
|
601 |
});
|
602 |
});
|
603 |
// Remove skip class when setting is changed
|
604 |
+
$settings.find('.su-generator-attr').on('change keyup blur', function() {
|
605 |
var $cnt = $(this).parents('.su-generator-attr-container'),
|
606 |
_default = $cnt.data('default'),
|
607 |
val = $(this).val();
|
610 |
else $cnt.addClass('su-generator-skip');
|
611 |
});
|
612 |
// Init value setters
|
613 |
+
$('.su-generator-set-value').click(function(e) {
|
614 |
$(this).parents('.su-generator-attr-container').find('input').val($(this).text()).trigger('change');
|
615 |
});
|
616 |
// Save selected value
|
624 |
id: 'last_used',
|
625 |
shortcode: shortcode
|
626 |
},
|
627 |
+
beforeSend: function() {
|
628 |
// Show loading animation
|
629 |
// $settings.addClass('su-generator-loading');
|
630 |
},
|
631 |
+
success: function(data) {
|
632 |
// Remove loading animation
|
633 |
// $settings.removeClass('su-generator-loading');
|
634 |
// Set new settings
|
642 |
dataType: 'html'
|
643 |
});
|
644 |
});
|
|
|
645 |
// Insert shortcode
|
646 |
+
$('#su-generator').on('click', '.su-generator-insert', function(e) {
|
647 |
// Prepare data
|
648 |
var shortcode = parse();
|
649 |
// Save current settings to presets
|
674 |
// if ($target.length > 0) $target.val($target.val() + shortcode);
|
675 |
// }
|
676 |
});
|
|
|
677 |
// Preview shortcode
|
678 |
+
$('#su-generator').on('click', '.su-generator-toggle-preview', function(e) {
|
679 |
// Prepare data
|
680 |
var $preview = $('#su-generator-preview'),
|
681 |
$button = $(this);
|
684 |
// Show preview box
|
685 |
$preview.addClass('su-generator-loading').show();
|
686 |
// Bind updating on settings changes
|
687 |
+
$settings.find('input, textarea, select').on('change keyup blur', function() {
|
688 |
update_preview();
|
689 |
});
|
690 |
// Update preview box
|
692 |
// Prevent default action
|
693 |
e.preventDefault();
|
694 |
});
|
|
|
695 |
var gp_hover_timer;
|
|
|
696 |
// Presets manager - mouseenter
|
697 |
+
$('#su-generator').on('mouseenter click', '.su-generator-presets', function() {
|
698 |
clearTimeout(gp_hover_timer);
|
699 |
$('.su-gp-popup').show();
|
700 |
});
|
701 |
// Presets manager - mouseleave
|
702 |
+
$('#su-generator').on('mouseleave', '.su-generator-presets', function() {
|
703 |
+
gp_hover_timer = window.setTimeout(function() {
|
704 |
$('.su-gp-popup').fadeOut(200);
|
705 |
}, 600);
|
706 |
});
|
707 |
// Presets manager - add new preset
|
708 |
+
$('#su-generator').on('click', '.su-gp-new', function(e) {
|
709 |
// Prepare data
|
710 |
var $container = $(this).parents('.su-generator-presets'),
|
711 |
$list = $('.su-gp-list'),
|
723 |
}
|
724 |
});
|
725 |
// Presets manager - load preset
|
726 |
+
$('#su-generator').on('click', '.su-gp-list span', function(e) {
|
727 |
// Prepare data
|
728 |
var shortcode = $('.su-generator-presets').data('shortcode'),
|
729 |
id = $(this).data('id'),
|
741 |
id: id,
|
742 |
shortcode: shortcode
|
743 |
},
|
744 |
+
beforeSend: function() {
|
745 |
// Disable insert button
|
746 |
$insert.addClass('button-primary-disabled').attr('disabled', true);
|
747 |
},
|
748 |
+
success: function(data) {
|
749 |
// Enable insert button
|
750 |
$insert.removeClass('button-primary-disabled').attr('disabled', false);
|
751 |
// Set new settings
|
758 |
e.stopPropagation();
|
759 |
});
|
760 |
// Presets manager - remove preset
|
761 |
+
$('#su-generator').on('click', '.su-gp-list i', function(e) {
|
762 |
// Prepare data
|
763 |
var $list = $(this).parents('.su-gp-list'),
|
764 |
$preset = $(this).parent('span'),
|
774 |
// Prevent default action
|
775 |
e.preventDefault();
|
776 |
});
|
|
|
777 |
/**
|
778 |
* Create new preset with specified name from current settings
|
779 |
*/
|
780 |
function add_preset(id, name) {
|
781 |
+
// Prepare shortcode name and current settings
|
782 |
+
var shortcode = $('.su-generator-presets').data('shortcode'),
|
783 |
+
settings = get();
|
784 |
+
// Perform AJAX request
|
785 |
+
$.ajax({
|
786 |
+
type: 'POST',
|
787 |
+
url: ajaxurl,
|
788 |
+
data: {
|
789 |
+
action: 'su_generator_add_preset',
|
790 |
+
id: id,
|
791 |
+
name: name,
|
792 |
+
shortcode: shortcode,
|
793 |
+
settings: settings
|
794 |
+
}
|
795 |
+
});
|
796 |
+
}
|
797 |
+
/**
|
798 |
+
* Remove preset by ID
|
799 |
+
*/
|
|
|
800 |
function remove_preset(id) {
|
801 |
// Get current shortcode name
|
802 |
var shortcode = $('.su-generator-presets').data('shortcode');
|
822 |
// Open shortcode
|
823 |
result += '[' + prefix + query;
|
824 |
// Add shortcode attributes
|
825 |
+
$settings.each(function() {
|
826 |
// Prepare field and value
|
827 |
var $this = $(this),
|
828 |
value = '';
|
851 |
content = $('#su-generator-content').val(),
|
852 |
data = {};
|
853 |
// Add shortcode attributes
|
854 |
+
$settings.each(function(i) {
|
855 |
// Prepare field and value
|
856 |
var $this = $(this),
|
857 |
value = '',
|
876 |
var $settings = $('#su-generator-settings .su-generator-attr'),
|
877 |
$content = $('#su-generator-content');
|
878 |
// Loop through settings
|
879 |
+
$settings.each(function() {
|
880 |
var $this = $(this),
|
881 |
name = $this.attr('name');
|
882 |
// Data contains value for this field
|
891 |
// Update preview
|
892 |
update_preview();
|
893 |
}
|
|
|
894 |
var update_preview_timer,
|
895 |
update_preview_request;
|
896 |
|
907 |
if (shortcode === previous && !forced) return;
|
908 |
// Run timer to filter often calls
|
909 |
window.clearTimeout(update_preview_timer);
|
910 |
+
update_preview_timer = window.setTimeout(function() {
|
911 |
update_preview_request = $.ajax({
|
912 |
type: 'POST',
|
913 |
url: ajaxurl,
|
916 |
action: 'su_generator_preview',
|
917 |
shortcode: shortcode
|
918 |
},
|
919 |
+
beforeSend: function() {
|
920 |
// Abort previous requests
|
921 |
if (typeof update_preview_request === 'object') update_preview_request.abort();
|
922 |
// Show loading animation
|
923 |
$preview.addClass('su-generator-loading').html('');
|
924 |
},
|
925 |
+
success: function(data) {
|
926 |
// Hide loading animation and set new HTML
|
927 |
$preview.html(data).removeClass('su-generator-loading');
|
928 |
},
|
932 |
// Save shortcode to div
|
933 |
$result.text(shortcode);
|
934 |
}
|
|
|
935 |
});
|
inc/core/admin-views.php
CHANGED
@@ -34,7 +34,7 @@ class Su_Admin_Views {
|
|
34 |
<div class="su-clearfix">
|
35 |
<div class="su-about-column">
|
36 |
<h3><?php _e( 'How does it works', 'su' ); ?></h3>
|
37 |
-
<a href="http://www.youtube.com/watch?v=
|
38 |
</div>
|
39 |
<div class="su-about-column">
|
40 |
<h3><?php _e( 'More videos', 'su' ); ?></h3>
|
34 |
<div class="su-clearfix">
|
35 |
<div class="su-about-column">
|
36 |
<h3><?php _e( 'How does it works', 'su' ); ?></h3>
|
37 |
+
<a href="http://www.youtube.com/watch?v=lni-w2dtcQY?autoplay=1&showinfo=0&rel=0&theme=light#" target="_blank" class="su-demo-video"><img src="<?php echo plugins_url( 'assets/images/banners/how-it-works.jpg', SU_PLUGIN_FILE ); ?>" alt=""></a>
|
38 |
</div>
|
39 |
<div class="su-about-column">
|
40 |
<h3><?php _e( 'More videos', 'su' ); ?></h3>
|
inc/core/assets.php
CHANGED
@@ -31,6 +31,8 @@ class Su_Assets {
|
|
31 |
add_action( 'wp_footer', array( __CLASS__, 'custom_css' ), 99 );
|
32 |
add_action( 'su/generator/preview/after', array( __CLASS__, 'custom_css' ), 99 );
|
33 |
add_action( 'su/examples/preview/after', array( __CLASS__, 'custom_css' ), 99 );
|
|
|
|
|
34 |
// Custom TinyMCE CSS and JS
|
35 |
// add_filter( 'mce_css', array( __CLASS__, 'mce_css' ) );
|
36 |
// add_filter( 'mce_external_plugins', array( __CLASS__, 'mce_js' ) );
|
@@ -97,7 +99,8 @@ class Su_Assets {
|
|
97 |
'isp_media_insert' => __( 'Add selected images', 'su' ),
|
98 |
'presets_prompt_msg' => __( 'Please enter a name for new preset', 'su' ),
|
99 |
'presets_prompt_value' => __( 'New preset', 'su' ),
|
100 |
-
'last_used' => __( 'Last used settings', 'su' )
|
|
|
101 |
) );
|
102 |
// Shortcodes stylesheets
|
103 |
wp_register_style( 'su-content-shortcodes', self::skin_url( 'content-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
@@ -106,6 +109,9 @@ class Su_Assets {
|
|
106 |
wp_register_style( 'su-other-shortcodes', self::skin_url( 'other-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
107 |
wp_register_style( 'su-galleries-shortcodes', self::skin_url( 'galleries-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
108 |
wp_register_style( 'su-players-shortcodes', self::skin_url( 'players-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
|
|
|
|
|
|
109 |
// Shortcodes scripts
|
110 |
wp_register_script( 'su-galleries-shortcodes', plugins_url( 'assets/js/galleries-shortcodes.js', SU_PLUGIN_FILE ), array( 'jquery', 'swiper' ), SU_PLUGIN_VERSION, true );
|
111 |
wp_register_script( 'su-players-shortcodes', plugins_url( 'assets/js/players-shortcodes.js', SU_PLUGIN_FILE ), array( 'jquery', 'jplayer' ), SU_PLUGIN_VERSION, true );
|
@@ -151,6 +157,8 @@ class Su_Assets {
|
|
151 |
$custom_css = apply_filters( 'su/assets/custom_css', str_replace( ''', '\'', html_entity_decode( (string) get_option( 'su_option_custom-css' ) ) ) );
|
152 |
// Print CSS if exists
|
153 |
if ( $custom_css ) echo "\n\n<!-- Shortcodes Ultimate custom CSS - begin -->\n<style type='text/css'>\n" . stripslashes( str_replace( array( '%theme_url%', '%home_url%', '%plugin_url%' ), array( trailingslashit( get_stylesheet_directory_uri() ), trailingslashit( get_option( 'home' ) ), trailingslashit( plugins_url( '', SU_PLUGIN_FILE ) ) ), $custom_css ) ) . "\n</style>\n<!-- Shortcodes Ultimate custom CSS - end -->\n\n";
|
|
|
|
|
154 |
}
|
155 |
|
156 |
/**
|
@@ -170,6 +178,26 @@ class Su_Assets {
|
|
170 |
return $plugins;
|
171 |
}
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
/**
|
174 |
* Add asset to the query
|
175 |
*/
|
@@ -179,6 +207,7 @@ class Su_Assets {
|
|
179 |
// Single handle
|
180 |
else self::$assets[$type][$handle] = $handle;
|
181 |
}
|
|
|
182 |
/**
|
183 |
* Get queried assets
|
184 |
*/
|
31 |
add_action( 'wp_footer', array( __CLASS__, 'custom_css' ), 99 );
|
32 |
add_action( 'su/generator/preview/after', array( __CLASS__, 'custom_css' ), 99 );
|
33 |
add_action( 'su/examples/preview/after', array( __CLASS__, 'custom_css' ), 99 );
|
34 |
+
// RTL support
|
35 |
+
add_action( 'su/assets/custom_css', array( __CLASS__, 'rtl_shortcodes' ) );
|
36 |
// Custom TinyMCE CSS and JS
|
37 |
// add_filter( 'mce_css', array( __CLASS__, 'mce_css' ) );
|
38 |
// add_filter( 'mce_external_plugins', array( __CLASS__, 'mce_js' ) );
|
99 |
'isp_media_insert' => __( 'Add selected images', 'su' ),
|
100 |
'presets_prompt_msg' => __( 'Please enter a name for new preset', 'su' ),
|
101 |
'presets_prompt_value' => __( 'New preset', 'su' ),
|
102 |
+
'last_used' => __( 'Last used settings', 'su' ),
|
103 |
+
'hotkey' => get_option( 'su_option_hotkey' )
|
104 |
) );
|
105 |
// Shortcodes stylesheets
|
106 |
wp_register_style( 'su-content-shortcodes', self::skin_url( 'content-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
109 |
wp_register_style( 'su-other-shortcodes', self::skin_url( 'other-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
110 |
wp_register_style( 'su-galleries-shortcodes', self::skin_url( 'galleries-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
111 |
wp_register_style( 'su-players-shortcodes', self::skin_url( 'players-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
112 |
+
// RTL stylesheets
|
113 |
+
wp_register_style( 'su-rtl-shortcodes', self::skin_url( 'rtl-shortcodes.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
114 |
+
wp_register_style( 'su-rtl-admin', self::skin_url( 'rtl-admin.css' ), false, SU_PLUGIN_VERSION, 'all' );
|
115 |
// Shortcodes scripts
|
116 |
wp_register_script( 'su-galleries-shortcodes', plugins_url( 'assets/js/galleries-shortcodes.js', SU_PLUGIN_FILE ), array( 'jquery', 'swiper' ), SU_PLUGIN_VERSION, true );
|
117 |
wp_register_script( 'su-players-shortcodes', plugins_url( 'assets/js/players-shortcodes.js', SU_PLUGIN_FILE ), array( 'jquery', 'jplayer' ), SU_PLUGIN_VERSION, true );
|
157 |
$custom_css = apply_filters( 'su/assets/custom_css', str_replace( ''', '\'', html_entity_decode( (string) get_option( 'su_option_custom-css' ) ) ) );
|
158 |
// Print CSS if exists
|
159 |
if ( $custom_css ) echo "\n\n<!-- Shortcodes Ultimate custom CSS - begin -->\n<style type='text/css'>\n" . stripslashes( str_replace( array( '%theme_url%', '%home_url%', '%plugin_url%' ), array( trailingslashit( get_stylesheet_directory_uri() ), trailingslashit( get_option( 'home' ) ), trailingslashit( plugins_url( '', SU_PLUGIN_FILE ) ) ), $custom_css ) ) . "\n</style>\n<!-- Shortcodes Ultimate custom CSS - end -->\n\n";
|
160 |
+
// Hook
|
161 |
+
do_action( 'su/assets/custom_css' );
|
162 |
}
|
163 |
|
164 |
/**
|
178 |
return $plugins;
|
179 |
}
|
180 |
|
181 |
+
/**
|
182 |
+
* RTL support for shortcodes
|
183 |
+
*/
|
184 |
+
public static function rtl_shortcodes( $assets ) {
|
185 |
+
// Check RTL
|
186 |
+
if ( !is_rtl() ) return;
|
187 |
+
// Add RTL stylesheets
|
188 |
+
wp_print_styles( array( 'su-rtl-shortcodes' ) );
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* RTL support for admin
|
193 |
+
*/
|
194 |
+
public static function rtl_admin( $assets ) {
|
195 |
+
// Check RTL
|
196 |
+
if ( !is_rtl() ) return;
|
197 |
+
// Add RTL stylesheets
|
198 |
+
self::add( 'css', 'su-rtl-admin' );
|
199 |
+
}
|
200 |
+
|
201 |
/**
|
202 |
* Add asset to the query
|
203 |
*/
|
207 |
// Single handle
|
208 |
else self::$assets[$type][$handle] = $handle;
|
209 |
}
|
210 |
+
|
211 |
/**
|
212 |
* Get queried assets
|
213 |
*/
|
inc/core/generator.php
CHANGED
@@ -56,7 +56,9 @@ class Su_Generator {
|
|
56 |
// Request assets
|
57 |
wp_enqueue_media();
|
58 |
su_query_asset( 'css', array( 'simpleslider', 'farbtastic', 'magnific-popup', 'font-awesome', 'su-generator' ) );
|
59 |
-
su_query_asset( 'js', array( 'jquery', 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-mouse', 'simpleslider', 'farbtastic', 'magnific-popup', 'su-generator' ) );
|
|
|
|
|
60 |
// Print/return result
|
61 |
if ( $args['echo'] ) echo $button;
|
62 |
return $button;
|
@@ -96,6 +98,7 @@ class Su_Generator {
|
|
96 |
<div id="su-generator-header">
|
97 |
<div id="su-generator-tools"><?php echo implode( ' <span></span> ', $tools ); ?></div>
|
98 |
<input type="text" name="su_generator_search" id="su-generator-search" value="" placeholder="<?php _e( 'Search for shortcodes', 'su' ); ?>" />
|
|
|
99 |
<div id="su-generator-filter">
|
100 |
<strong><?php _e( 'Filter by type', 'su' ); ?></strong>
|
101 |
<?php foreach ( (array) Su_Data::groups() as $group => $label ) echo '<a href="#" data-filter="' . $group . '">' . $label . '</a>'; ?>
|
56 |
// Request assets
|
57 |
wp_enqueue_media();
|
58 |
su_query_asset( 'css', array( 'simpleslider', 'farbtastic', 'magnific-popup', 'font-awesome', 'su-generator' ) );
|
59 |
+
su_query_asset( 'js', array( 'jquery', 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-mouse', 'simpleslider', 'farbtastic', 'magnific-popup', 'jquery-hotkeys', 'su-generator' ) );
|
60 |
+
// Hook
|
61 |
+
do_action( 'su/button', $args );
|
62 |
// Print/return result
|
63 |
if ( $args['echo'] ) echo $button;
|
64 |
return $button;
|
98 |
<div id="su-generator-header">
|
99 |
<div id="su-generator-tools"><?php echo implode( ' <span></span> ', $tools ); ?></div>
|
100 |
<input type="text" name="su_generator_search" id="su-generator-search" value="" placeholder="<?php _e( 'Search for shortcodes', 'su' ); ?>" />
|
101 |
+
<p id="su-generator-search-pro-tip"><?php printf( '<strong>%s:</strong> %s', __( 'Pro Tip', 'su' ), __( 'Hit enter to select highlighted shortcode, while searching' ) ) ?></p>
|
102 |
<div id="su-generator-filter">
|
103 |
<strong><?php _e( 'Filter by type', 'su' ); ?></strong>
|
104 |
<?php foreach ( (array) Su_Data::groups() as $group => $label ) echo '<a href="#" data-filter="' . $group . '">' . $label . '</a>'; ?>
|
inc/core/load.php
CHANGED
@@ -73,6 +73,13 @@ class Shortcodes_Ultimate {
|
|
73 |
'desc' => sprintf( __( 'This prefix will be added to all shortcodes by this plugin. For example, type here %s and you\'ll get shortcodes like %s and %s. Please keep in mind: this option is not affects your already inserted shortcodes and if you\'ll change this value your old shortcodes will be broken', 'su' ), '<code>su_</code>', '<code>[su_button]</code>', '<code>[su_column]</code>' ),
|
74 |
'default' => 'su_'
|
75 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
array(
|
77 |
'type' => 'hidden',
|
78 |
'id' => 'skin',
|
73 |
'desc' => sprintf( __( 'This prefix will be added to all shortcodes by this plugin. For example, type here %s and you\'ll get shortcodes like %s and %s. Please keep in mind: this option is not affects your already inserted shortcodes and if you\'ll change this value your old shortcodes will be broken', 'su' ), '<code>su_</code>', '<code>[su_button]</code>', '<code>[su_column]</code>' ),
|
74 |
'default' => 'su_'
|
75 |
),
|
76 |
+
array(
|
77 |
+
'type' => 'text',
|
78 |
+
'id' => 'hotkey',
|
79 |
+
'name' => __( 'Insert shortcode Hotkey', 'su' ),
|
80 |
+
'desc' => sprintf( '%s<br><a href="https://rawgit.com/jeresig/jquery.hotkeys/master/test-static-01.html" target="_blank">%s</a> | <a href="https://github.com/jeresig/jquery.hotkeys#notes" target="_blank">%s</a>', __( 'Here you can define custom hotkey for the Insert shortcode popup window. Leave this field empty to disable hotkey', 'su' ), __( 'Hotkey examples', 'su' ), __( 'Additional notes', 'su' ) ),
|
81 |
+
'default' => 'alt+i'
|
82 |
+
),
|
83 |
array(
|
84 |
'type' => 'hidden',
|
85 |
'id' => 'skin',
|
inc/core/shortcodes.php
CHANGED
@@ -446,6 +446,8 @@ class Su_Shortcodes {
|
|
446 |
'size' => 32,
|
447 |
'class' => ''
|
448 |
), $atts, 'service' );
|
|
|
|
|
449 |
// Built-in icon
|
450 |
if ( strpos( $atts['icon'], 'icon:' ) !== false ) {
|
451 |
$atts['icon'] = '<i class="fa fa-' . trim( str_replace( 'icon:', '', $atts['icon'] ) ) . '" style="font-size:' . $atts['size'] . 'px;color:' . $atts['icon_color'] . '"></i>';
|
@@ -456,7 +458,7 @@ class Su_Shortcodes {
|
|
456 |
$atts['icon'] = '<img src="' . $atts['icon'] . '" width="' . $atts['size'] . '" height="' . $atts['size'] . '" alt="' . $atts['title'] . '" />';
|
457 |
}
|
458 |
su_query_asset( 'css', 'su-box-shortcodes' );
|
459 |
-
return '<div class="su-service' . su_ecssc( $atts ) . '"><div class="su-service-title" style="padding-
|
460 |
}
|
461 |
|
462 |
public static function box( $atts = null, $content = null ) {
|
446 |
'size' => 32,
|
447 |
'class' => ''
|
448 |
), $atts, 'service' );
|
449 |
+
// RTL
|
450 |
+
$rtl = ( is_rtl() ) ? 'right' : 'left';
|
451 |
// Built-in icon
|
452 |
if ( strpos( $atts['icon'], 'icon:' ) !== false ) {
|
453 |
$atts['icon'] = '<i class="fa fa-' . trim( str_replace( 'icon:', '', $atts['icon'] ) ) . '" style="font-size:' . $atts['size'] . 'px;color:' . $atts['icon_color'] . '"></i>';
|
458 |
$atts['icon'] = '<img src="' . $atts['icon'] . '" width="' . $atts['size'] . '" height="' . $atts['size'] . '" alt="' . $atts['title'] . '" />';
|
459 |
}
|
460 |
su_query_asset( 'css', 'su-box-shortcodes' );
|
461 |
+
return '<div class="su-service' . su_ecssc( $atts ) . '"><div class="su-service-title" style="padding-' . $rtl . ':' . round( $atts['size'] + 14 ) . 'px;min-height:' . $atts['size'] . 'px;line-height:' . $atts['size'] . 'px">' . $atts['icon'] . ' ' . su_scattr( $atts['title'] ) . '</div><div class="su-service-content su-clearfix" style="padding-' . $rtl . ':' . round( $atts['size'] + 14 ) . 'px">' . do_shortcode( $content ) . '</div></div>';
|
462 |
}
|
463 |
|
464 |
public static function box( $atts = null, $content = null ) {
|
inc/core/tools.php
CHANGED
@@ -715,6 +715,7 @@ class Su_Tools {
|
|
715 |
'terms' => (array) explode( ',', $args['source']['val'][1] )
|
716 |
)
|
717 |
);
|
|
|
718 |
}
|
719 |
// Query posts
|
720 |
$query = new WP_Query( $query );
|
715 |
'terms' => (array) explode( ',', $args['source']['val'][1] )
|
716 |
)
|
717 |
);
|
718 |
+
$query['post_type'] = 'any';
|
719 |
}
|
720 |
// Query posts
|
721 |
$query = new WP_Query( $query );
|
inc/integrations/load.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class for managing integrations with other plugins
|
5 |
+
*/
|
6 |
+
class Su_Integrations {
|
7 |
+
|
8 |
+
}
|
inc/vendor/sunrise.php
CHANGED
@@ -369,7 +369,7 @@ if ( !class_exists( 'Sunrise4_Views' ) ) {
|
|
369 |
$field = wp_parse_args( $field, array( 'actions' => true ) );
|
370 |
$return = array();
|
371 |
$return[] = '</table>';
|
372 |
-
if ( $field['actions'] ) $return[] = '<div class="sunrise-actions-bar"><input type="submit" value="' . __( 'Save changes', $config['textdomain'] ) . '" class="sunrise-submit button-primary" /><span class="sunrise-spin"><img src="' . admin_url( 'images/wpspin_light.gif' ) . '" alt="" /> ' . __( 'Saving', $config['textdomain'] ) . '…</span><span class="sunrise-success-tip"><img src="' . admin_url( 'images/yes.png' ) . '" alt="" /> ' . __( 'Saved', $config['textdomain'] ) . '</span><a href="' . $_SERVER["REQUEST_URI"] . '&sunrise_action=reset" class="sunrise-reset button alignright" title="' . esc_attr( __( 'This action will delete all your settings. Are you sure? This action cannot be undone!', $config['textdomain'] ) ) . '">' . __( 'Restore default settings', $config['textdomain'] ) . '</a></div>';
|
373 |
$return[] = '</div>';
|
374 |
return implode( '', $return );
|
375 |
}
|
369 |
$field = wp_parse_args( $field, array( 'actions' => true ) );
|
370 |
$return = array();
|
371 |
$return[] = '</table>';
|
372 |
+
if ( $field['actions'] ) $return[] = '<div class="sunrise-actions-bar"><input type="submit" value="' . __( 'Save changes', $config['textdomain'] ) . '" class="sunrise-submit button-primary" /><span class="sunrise-spin"><img src="' . admin_url( 'images/wpspin_light.gif' ) . '" alt="" /> ' . __( 'Saving', $config['textdomain'] ) . '…</span><span class="sunrise-success-tip"><img src="' . admin_url( 'images/yes.png' ) . '" alt="" /> ' . __( 'Saved', $config['textdomain'] ) . '</span><a href="' . $_SERVER["REQUEST_URI"] . '&sunrise_action=reset&sunrise_nonce=' . wp_create_nonce( 'sunrise_nonce' ) . '" class="sunrise-reset button alignright" title="' . esc_attr( __( 'This action will delete all your settings. Are you sure? This action cannot be undone!', $config['textdomain'] ) ) . '">' . __( 'Restore default settings', $config['textdomain'] ) . '</a></div>';
|
373 |
$return[] = '</div>';
|
374 |
return implode( '', $return );
|
375 |
}
|
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:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: ru_RU\n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"X-Generator: Poedit 1.
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: inc/core/admin-views.php:9
|
@@ -24,7 +24,7 @@ msgstr "Добро пожаловать в Shortcodes Ultimate"
|
|
24 |
msgid "A real swiss army knife for WordPress"
|
25 |
msgstr "Настоящий швейцарский армейский нож для WordPress"
|
26 |
|
27 |
-
#: inc/core/admin-views.php:11 inc/core/load.php:
|
28 |
msgid "Project homepage"
|
29 |
msgstr "Страница проекта"
|
30 |
|
@@ -32,11 +32,11 @@ msgstr "Страница проекта"
|
|
32 |
msgid "Documentation"
|
33 |
msgstr "Документация"
|
34 |
|
35 |
-
#: inc/core/admin-views.php:13 inc/core/load.php:
|
36 |
msgid "Support forum"
|
37 |
msgstr "Форум поддержки"
|
38 |
|
39 |
-
#: inc/core/admin-views.php:14 inc/core/load.php:
|
40 |
msgid "Changelog"
|
41 |
msgstr "Список изменений"
|
42 |
|
@@ -113,8 +113,8 @@ msgid "How to create image gallery"
|
|
113 |
msgstr "Как создать галерею изображений"
|
114 |
|
115 |
#: inc/core/admin-views.php:63
|
116 |
-
msgid "You can overview the original styles to
|
117 |
-
msgstr "Вы можете посмотреть оригинальные стили, чтобы
|
118 |
|
119 |
#: inc/core/admin-views.php:75
|
120 |
msgid "You can use next variables in your custom CSS"
|
@@ -132,66 +132,66 @@ msgstr "url папки с текущей темой"
|
|
132 |
msgid "plugin url"
|
133 |
msgstr "url папки этого плагина"
|
134 |
|
135 |
-
#: inc/core/admin-views.php:
|
136 |
msgid "Printable version"
|
137 |
msgstr "Версия для печати"
|
138 |
|
139 |
-
#: inc/core/admin-views.php:
|
140 |
-
#: inc/core/load.php:
|
141 |
-
#: inc/core/load.php:
|
142 |
#: inc/core/widget.php:40
|
143 |
msgid "Shortcodes Ultimate"
|
144 |
msgstr "Шорткоды"
|
145 |
|
146 |
-
#: inc/core/admin-views.php:
|
147 |
msgid "Cheatsheet"
|
148 |
msgstr "Шпаргалка"
|
149 |
|
150 |
-
#: inc/core/admin-views.php:
|
151 |
msgid "Back to Dashboard"
|
152 |
msgstr "Вернуться в Панель управления"
|
153 |
|
154 |
-
#: inc/core/admin-views.php:
|
155 |
msgid "Shortcode"
|
156 |
msgstr "Шорткод"
|
157 |
|
158 |
-
#: inc/core/admin-views.php:
|
159 |
msgid "Attributes"
|
160 |
msgstr "Аттрибуты"
|
161 |
|
162 |
-
#: inc/core/admin-views.php:
|
163 |
msgid "Example code"
|
164 |
msgstr "Пример кода"
|
165 |
|
166 |
-
#: inc/core/admin-views.php:
|
167 |
msgid "full list"
|
168 |
msgstr "полный список"
|
169 |
|
170 |
-
#: inc/core/admin-views.php:
|
171 |
msgid "Default value"
|
172 |
msgstr "Значение по умолчанию"
|
173 |
|
174 |
-
#: inc/core/admin-views.php:
|
175 |
msgid "#RGB and rgba() colors"
|
176 |
msgstr "#RGB и rgba() цвета"
|
177 |
|
178 |
-
#: inc/core/admin-views.php:
|
179 |
msgid "Any text value"
|
180 |
msgstr "Любое текстовое значение"
|
181 |
|
182 |
-
#: inc/core/admin-views.php:
|
183 |
msgid "Any custom CSS classes"
|
184 |
msgstr "Любой произвольный CSS класс"
|
185 |
|
186 |
-
#: inc/core/admin-views.php:
|
187 |
msgid "Possible values"
|
188 |
msgstr "Возможные значения"
|
189 |
|
190 |
-
#: inc/core/admin-views.php:
|
191 |
msgid "New Shortcodes"
|
192 |
msgstr "Новые Шорткоды"
|
193 |
|
194 |
-
#: inc/core/admin-views.php:
|
195 |
msgid ""
|
196 |
"Parallax sections, responsive content slider, pricing tables, vector icons, "
|
197 |
"testimonials, progress bars and even more"
|
@@ -199,11 +199,11 @@ msgstr ""
|
|
199 |
"Секции с параллакс эффектом, адаптивный слайдер контента, тарифные таблицы, "
|
200 |
"векторные иконки, отзывы, прогресс бары и даже больше"
|
201 |
|
202 |
-
#: inc/core/admin-views.php:
|
203 |
msgid "Maker"
|
204 |
msgstr "Maker"
|
205 |
|
206 |
-
#: inc/core/admin-views.php:
|
207 |
msgid ""
|
208 |
"This add-on allows you to create custom shortcodes. You can easily create "
|
209 |
"any shortcode with different parameters or even override default shortcodes"
|
@@ -211,11 +211,11 @@ msgstr ""
|
|
211 |
"Это дополнение позволит вам создавать собственные шорткоды. Вы можете с "
|
212 |
"легкостью создать новый шорткод или даже перезаписать оригинальный"
|
213 |
|
214 |
-
#: inc/core/admin-views.php:
|
215 |
msgid "Skins"
|
216 |
msgstr "Скины"
|
217 |
|
218 |
-
#: inc/core/admin-views.php:
|
219 |
msgid ""
|
220 |
"Set of additional skins for Shortcodes Ultimate. It includes skins for "
|
221 |
"accordeons/spoilers, tabs and some other shortcodes"
|
@@ -223,93 +223,93 @@ msgstr ""
|
|
223 |
"Набор дополнительных скинов для шорткодов плагина. Набор включает в себя "
|
224 |
"скины для аккордеонов/спойлеров, вкладок и некоторых других шорткодов"
|
225 |
|
226 |
-
#: inc/core/admin-views.php:
|
227 |
msgid "Add-ons bundle"
|
228 |
msgstr "Набор дополнений"
|
229 |
|
230 |
-
#: inc/core/admin-views.php:
|
231 |
msgid "Get all three add-ons with huge discount!"
|
232 |
msgstr "Получите все три дополнения с большой скидкой"
|
233 |
|
234 |
-
#: inc/core/admin-views.php:
|
235 |
msgid "Shortcodes Ultimate Add-ons"
|
236 |
msgstr "Дополнения для Shortcodes Ultimate"
|
237 |
|
238 |
-
#: inc/core/admin-views.php:
|
239 |
msgid "Learn more"
|
240 |
msgstr "Узнать больше"
|
241 |
|
242 |
-
#: inc/core/admin-views.php:
|
243 |
msgid "Other WordPress Plugins"
|
244 |
msgstr "Другие плагины для WordPress"
|
245 |
|
246 |
-
#: inc/core/assets.php:
|
247 |
msgid "Close (Esc)"
|
248 |
msgstr "Закрыть (Esc)"
|
249 |
|
250 |
-
#: inc/core/assets.php:
|
251 |
msgid "Loading..."
|
252 |
msgstr "Загрузка..."
|
253 |
|
254 |
-
#: inc/core/assets.php:
|
255 |
msgid "Previous (Left arrow key)"
|
256 |
msgstr "Назад (Клавиша Влево)"
|
257 |
|
258 |
-
#: inc/core/assets.php:
|
259 |
msgid "Next (Right arrow key)"
|
260 |
msgstr "Вперед (Клавиша Вправо)"
|
261 |
|
262 |
-
#: inc/core/assets.php:
|
263 |
#, php-format
|
264 |
msgid "%s of %s"
|
265 |
msgstr "%s из %s"
|
266 |
|
267 |
-
#: inc/core/assets.php:
|
268 |
#, php-format
|
269 |
msgid "Failed to load this link. %sOpen link%s."
|
270 |
msgstr "Ошибка загрузки ссылки. %sОткрыть ссылку%s."
|
271 |
|
272 |
-
#: inc/core/assets.php:
|
273 |
msgid "Choose files"
|
274 |
msgstr "Выбор файлов"
|
275 |
|
276 |
-
#: inc/core/assets.php:
|
277 |
msgid "Add selected files"
|
278 |
msgstr "Добавить выбранные файлы"
|
279 |
|
280 |
-
#: inc/core/assets.php:
|
281 |
msgid "This button is not clickable"
|
282 |
msgstr "Эта кнопка не нажимается"
|
283 |
|
284 |
-
#: inc/core/assets.php:
|
285 |
msgid "Choose file"
|
286 |
msgstr "Выбор файла"
|
287 |
|
288 |
-
#: inc/core/assets.php:
|
289 |
msgid "Insert"
|
290 |
msgstr "Вставить"
|
291 |
|
292 |
-
#: inc/core/assets.php:
|
293 |
msgid "Select images"
|
294 |
msgstr "Выберите изображения"
|
295 |
|
296 |
-
#: inc/core/assets.php:
|
297 |
msgid "Add selected images"
|
298 |
msgstr "Добавить выбранные изображения"
|
299 |
|
300 |
-
#: inc/core/assets.php:
|
301 |
msgid "Please enter a name for new preset"
|
302 |
msgstr "Пожалуйста введите имя для нового шаблона"
|
303 |
|
304 |
-
#: inc/core/assets.php:
|
305 |
msgid "New preset"
|
306 |
msgstr "Новый шаблон"
|
307 |
|
308 |
-
#: inc/core/assets.php:
|
309 |
msgid "Last used settings"
|
310 |
msgstr "Последние настройки"
|
311 |
|
312 |
-
#: inc/core/assets.php:
|
313 |
msgid ""
|
314 |
"This shortcode doesn't work in live preview. Please insert it into editor "
|
315 |
"and preview on the site."
|
@@ -325,7 +325,7 @@ msgstr "1 новое дополнение для плагина Шорткоды
|
|
325 |
msgid "All"
|
326 |
msgstr "Все"
|
327 |
|
328 |
-
#: inc/core/data.php:18 inc/core/generator.php:
|
329 |
msgid "Content"
|
330 |
msgstr "Содержимое"
|
331 |
|
@@ -443,11 +443,6 @@ 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:296
|
447 |
-
#: inc/core/data.php:520
|
448 |
-
msgid "Install additional styles"
|
449 |
-
msgstr "Установить дополнительные стили"
|
450 |
-
|
451 |
#: inc/core/data.php:148 inc/core/data.php:403 inc/core/data.php:591
|
452 |
#: inc/core/data.php:670 inc/core/data.php:776 inc/core/data.php:2923
|
453 |
msgid "Size"
|
@@ -900,7 +895,7 @@ msgstr "Цвет выделяемого текста"
|
|
900 |
msgid "Highlighted text"
|
901 |
msgstr "Подсвеченный текст"
|
902 |
|
903 |
-
#: inc/core/data.php:479 inc/core/data.php:503 inc/vendor/sunrise.php:
|
904 |
msgid "Label"
|
905 |
msgstr "Ярлык"
|
906 |
|
@@ -1397,7 +1392,7 @@ msgstr "Цветной блок"
|
|
1397 |
msgid "Expand"
|
1398 |
msgstr "Развернуть"
|
1399 |
|
1400 |
-
#: inc/core/data.php:990 inc/core/shortcodes.php:
|
1401 |
msgid "Show more"
|
1402 |
msgstr "Показать больше"
|
1403 |
|
@@ -1409,7 +1404,7 @@ msgstr "Текст больше"
|
|
1409 |
msgid "Enter the text for more link"
|
1410 |
msgstr "Введите здесь текст для ссылки больше"
|
1411 |
|
1412 |
-
#: inc/core/data.php:995 inc/core/shortcodes.php:
|
1413 |
msgid "Show less"
|
1414 |
msgstr "Показать меньше"
|
1415 |
|
@@ -1729,7 +1724,7 @@ msgstr ""
|
|
1729 |
"Укажите заголовок окна подсказки. Оставьте поле пустым, чтобы скрыть "
|
1730 |
"заголовок"
|
1731 |
|
1732 |
-
#: inc/core/data.php:1256 inc/core/shortcodes.php:
|
1733 |
msgid "Tooltip text"
|
1734 |
msgstr "Текст подсказки"
|
1735 |
|
@@ -3444,7 +3439,7 @@ msgid "No"
|
|
3444 |
msgstr "Нет"
|
3445 |
|
3446 |
#: inc/core/generator-views.php:50 inc/core/generator-views.php:55
|
3447 |
-
#: inc/vendor/sunrise.php:
|
3448 |
msgid "Media manager"
|
3449 |
msgstr "Медиа менеджер"
|
3450 |
|
@@ -3548,12 +3543,12 @@ msgstr ""
|
|
3548 |
"Выберите таксономию и её категории.<br>Вы можете выбрать несколько категорий "
|
3549 |
"удерживая клавишу Ctrl (Cmd)"
|
3550 |
|
3551 |
-
#: inc/core/generator.php:43 inc/core/generator.php:
|
3552 |
msgid "Insert shortcode"
|
3553 |
msgstr "Вставить шорткод"
|
3554 |
|
3555 |
#: inc/core/generator.php:86 inc/core/load.php:30 inc/core/load.php:51
|
3556 |
-
#: inc/core/load.php:
|
3557 |
msgid "Settings"
|
3558 |
msgstr "Настройки"
|
3559 |
|
@@ -3569,7 +3564,7 @@ msgstr "Сайт плагина"
|
|
3569 |
msgid "Support forums"
|
3570 |
msgstr "Форум поддержки"
|
3571 |
|
3572 |
-
#: inc/core/generator.php:92 inc/core/load.php:
|
3573 |
msgid "Add-ons"
|
3574 |
msgstr "Дополнения"
|
3575 |
|
@@ -3577,51 +3572,59 @@ msgstr "Дополнения"
|
|
3577 |
msgid "Search for shortcodes"
|
3578 |
msgstr "Поиск шорткода"
|
3579 |
|
3580 |
-
#: inc/core/generator.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3581 |
msgid "Filter by type"
|
3582 |
msgstr "Фильтр"
|
3583 |
|
3584 |
-
#: inc/core/generator.php:
|
3585 |
msgid "Shortcode not specified"
|
3586 |
msgstr "Не выбран шорткод"
|
3587 |
|
3588 |
-
#: inc/core/generator.php:
|
3589 |
msgid "Live preview"
|
3590 |
msgstr "Предпросмотр"
|
3591 |
|
3592 |
-
#: inc/core/generator.php:
|
3593 |
msgid "Click to return to the shortcodes list"
|
3594 |
msgstr "Нажмите, чтобы вернуться к списку шорткодов"
|
3595 |
|
3596 |
-
#: inc/core/generator.php:
|
3597 |
msgid "All shortcodes"
|
3598 |
msgstr "Все шорткоды"
|
3599 |
|
3600 |
-
#: inc/core/generator.php:
|
3601 |
msgid "Examples of use"
|
3602 |
msgstr "Примеры использования"
|
3603 |
|
3604 |
-
#: inc/core/generator.php:
|
3605 |
msgid "Click to set this value"
|
3606 |
msgstr "Нажмите чтобы установить это значение"
|
3607 |
|
3608 |
-
#: inc/core/generator.php:
|
3609 |
msgid "Preview"
|
3610 |
msgstr "Предпросмотр"
|
3611 |
|
3612 |
-
#: inc/core/generator.php:
|
3613 |
msgid "Access denied"
|
3614 |
msgstr "Доступ запрещен"
|
3615 |
|
3616 |
-
#: inc/core/generator.php:
|
3617 |
msgid "Presets"
|
3618 |
msgstr "Шаблоны"
|
3619 |
|
3620 |
-
#: inc/core/generator.php:
|
3621 |
msgid "Save current settings as preset"
|
3622 |
msgstr "Сохранить настройки как новый шаблон"
|
3623 |
|
3624 |
-
#: inc/core/generator.php:
|
3625 |
msgid "Presets not found"
|
3626 |
msgstr "Шаблоны не найдены"
|
3627 |
|
@@ -3686,30 +3689,50 @@ msgstr ""
|
|
3686 |
"будут работать"
|
3687 |
|
3688 |
#: inc/core/load.php:79
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3689 |
msgid "Skin"
|
3690 |
msgstr "Скин"
|
3691 |
|
3692 |
-
#: inc/core/load.php:
|
3693 |
msgid "Choose global skin for shortcodes"
|
3694 |
msgstr "Выберите глобальный скин для шорткодов"
|
3695 |
|
3696 |
-
#: inc/core/load.php:
|
3697 |
msgid "Custom CSS"
|
3698 |
msgstr "Произвольный CSS"
|
3699 |
|
3700 |
-
#: inc/core/load.php:
|
3701 |
msgid "Examples"
|
3702 |
msgstr "Примеры"
|
3703 |
|
3704 |
-
#: inc/core/load.php:
|
3705 |
msgid "Vladimir Anokhin"
|
3706 |
msgstr "Владимир Анохин"
|
3707 |
|
3708 |
-
#: inc/core/load.php:
|
3709 |
msgid "Supercharge your WordPress theme with mega pack of shortcodes"
|
3710 |
msgstr "Суперзарядка для вашей WordPress-темы с помощью мега набора шорткодов"
|
3711 |
|
3712 |
-
#: inc/core/load.php:
|
3713 |
msgid "Where to start?"
|
3714 |
msgstr "С чего начать?"
|
3715 |
|
@@ -3745,15 +3768,15 @@ msgstr ""
|
|
3745 |
msgid "Tab title"
|
3746 |
msgstr "Заголовок вкладкки"
|
3747 |
|
3748 |
-
#: inc/core/shortcodes.php:
|
3749 |
msgid "This is box title"
|
3750 |
msgstr "Заголовок блока"
|
3751 |
|
3752 |
-
#: inc/core/shortcodes.php:
|
3753 |
msgid "please specify correct source"
|
3754 |
msgstr "пожалуйста укажите корректную ссылку"
|
3755 |
|
3756 |
-
#: inc/core/shortcodes.php:
|
3757 |
msgid ""
|
3758 |
"please specify correct ID for this block. You should use same ID as in the "
|
3759 |
"Content source field (when inserting lightbox shortcode)"
|
@@ -3761,9 +3784,9 @@ msgstr ""
|
|
3761 |
"пожалуйста укажите корректный ID для этого блока. Вы должны использовать ID "
|
3762 |
"из поля Источник содержимого (вводится при вставке шорткода lightbox)"
|
3763 |
|
3764 |
-
#: inc/core/shortcodes.php:
|
3765 |
-
#: inc/core/shortcodes.php:
|
3766 |
-
#: inc/core/shortcodes.php:
|
3767 |
#: inc/core/shortcodes.php:718 inc/core/shortcodes.php:722
|
3768 |
#: inc/core/shortcodes.php:750 inc/core/shortcodes.php:754
|
3769 |
#: inc/core/shortcodes.php:777 inc/core/shortcodes.php:784
|
@@ -3817,19 +3840,31 @@ msgstr ""
|
|
3817 |
"Неверный временной промежуток (%s). Пожалуйста используйте символ - (минус) "
|
3818 |
"чтобы указать промежуток времени. Пример: 14:00 - 18:00"
|
3819 |
|
3820 |
-
#: inc/core/tools.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3821 |
msgid "Example code does not found, please check it later"
|
3822 |
msgstr "Код примера не найден, возвращайтесь позже"
|
3823 |
|
3824 |
-
#: inc/core/tools.php:
|
3825 |
msgid "Get the code"
|
3826 |
msgstr "Получить код"
|
3827 |
|
3828 |
-
#: inc/core/tools.php:
|
3829 |
msgid "Slide link"
|
3830 |
msgstr "Ссылка слайда"
|
3831 |
|
3832 |
-
#: inc/core/tools.php:
|
3833 |
msgid ""
|
3834 |
"Use this field to add custom links to slides used with Slider, Carousel and "
|
3835 |
"Custom Gallery shortcodes"
|
@@ -3887,23 +3922,23 @@ msgstr "Заголовок:"
|
|
3887 |
msgid "Plugin Settings"
|
3888 |
msgstr "Настройки плагина"
|
3889 |
|
3890 |
-
#: inc/vendor/sunrise.php:
|
3891 |
msgid "Use selected file"
|
3892 |
msgstr "Использовать выбранный файл"
|
3893 |
|
3894 |
-
#: inc/vendor/sunrise.php:
|
3895 |
msgid "Save changes"
|
3896 |
msgstr "Сохранить изменения"
|
3897 |
|
3898 |
-
#: inc/vendor/sunrise.php:
|
3899 |
msgid "Saving"
|
3900 |
msgstr "Сохранение"
|
3901 |
|
3902 |
-
#: inc/vendor/sunrise.php:
|
3903 |
msgid "Saved"
|
3904 |
msgstr "Сохранено"
|
3905 |
|
3906 |
-
#: inc/vendor/sunrise.php:
|
3907 |
msgid ""
|
3908 |
"This action will delete all your settings. Are you sure? This action cannot "
|
3909 |
"be undone!"
|
@@ -3911,46 +3946,46 @@ msgstr ""
|
|
3911 |
"Данное действие удалит все ваши настройки. Вы уверены? Это действие нельзя "
|
3912 |
"будет отменить!"
|
3913 |
|
3914 |
-
#: inc/vendor/sunrise.php:
|
3915 |
msgid "Restore default settings"
|
3916 |
msgstr "Сбросить настройки"
|
3917 |
|
3918 |
-
#: inc/vendor/sunrise.php:
|
3919 |
-
#: inc/vendor/sunrise.php:
|
3920 |
msgid "Text field"
|
3921 |
msgstr "Текстовое поле"
|
3922 |
|
3923 |
-
#: inc/vendor/sunrise.php:
|
3924 |
msgid "Textarea field"
|
3925 |
msgstr "Текстовое поле"
|
3926 |
|
3927 |
-
#: inc/vendor/sunrise.php:
|
3928 |
msgid "Checkbox"
|
3929 |
msgstr "Флажок"
|
3930 |
|
3931 |
-
#: inc/vendor/sunrise.php:
|
3932 |
msgid "Color picker"
|
3933 |
msgstr "Пипетка"
|
3934 |
|
3935 |
-
#: inc/vendor/sunrise.php:
|
3936 |
msgid "Pick a color"
|
3937 |
msgstr "Выберите цвет"
|
3938 |
|
3939 |
-
#: inc/vendor/sunrise.php:
|
3940 |
msgid ""
|
3941 |
"For full functionality of this page it is reccomended to enable javascript."
|
3942 |
msgstr ""
|
3943 |
"Для полной функциональности этой страницы рекомендуется включить Javascript."
|
3944 |
|
3945 |
-
#: inc/vendor/sunrise.php:
|
3946 |
msgid "Settings saved successfully"
|
3947 |
msgstr "Настройки успешно сохранены"
|
3948 |
|
3949 |
-
#: inc/vendor/sunrise.php:
|
3950 |
msgid "Settings reseted successfully"
|
3951 |
msgstr "Настройки успешно сброшены"
|
3952 |
|
3953 |
-
#: inc/vendor/sunrise.php:
|
3954 |
#, php-format
|
3955 |
msgid "option type %s is not callable"
|
3956 |
msgstr "тип поля %s не может быть отображен"
|
@@ -3975,3 +4010,9 @@ msgstr "Записи не найдены"
|
|
3975 |
#: templates/single-post.php:17
|
3976 |
msgid "%n comments"
|
3977 |
msgstr "%n комментариев"
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gn_themes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-04-06 06:07+0300\n"
|
6 |
+
"PO-Revision-Date: 2015-04-06 06:11+0300\n"
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: ru_RU\n"
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Generator: Poedit 1.7.5\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: inc/core/admin-views.php:9
|
24 |
msgid "A real swiss army knife for WordPress"
|
25 |
msgstr "Настоящий швейцарский армейский нож для WordPress"
|
26 |
|
27 |
+
#: inc/core/admin-views.php:11 inc/core/load.php:240
|
28 |
msgid "Project homepage"
|
29 |
msgstr "Страница проекта"
|
30 |
|
32 |
msgid "Documentation"
|
33 |
msgstr "Документация"
|
34 |
|
35 |
+
#: inc/core/admin-views.php:13 inc/core/load.php:241
|
36 |
msgid "Support forum"
|
37 |
msgstr "Форум поддержки"
|
38 |
|
39 |
+
#: inc/core/admin-views.php:14 inc/core/load.php:242
|
40 |
msgid "Changelog"
|
41 |
msgstr "Список изменений"
|
42 |
|
113 |
msgstr "Как создать галерею изображений"
|
114 |
|
115 |
#: inc/core/admin-views.php:63
|
116 |
+
msgid "You can overview the original styles to overwrite it"
|
117 |
+
msgstr "Вы можете посмотреть оригинальные стили, чтобы переопределить их"
|
118 |
|
119 |
#: inc/core/admin-views.php:75
|
120 |
msgid "You can use next variables in your custom CSS"
|
132 |
msgid "plugin url"
|
133 |
msgstr "url папки этого плагина"
|
134 |
|
135 |
+
#: inc/core/admin-views.php:116
|
136 |
msgid "Printable version"
|
137 |
msgstr "Версия для печати"
|
138 |
|
139 |
+
#: inc/core/admin-views.php:116 inc/core/load.php:30 inc/core/load.php:111
|
140 |
+
#: inc/core/load.php:120 inc/core/load.php:134 inc/core/load.php:148
|
141 |
+
#: inc/core/load.php:160 inc/core/tools.php:867 inc/core/widget.php:14
|
142 |
#: inc/core/widget.php:40
|
143 |
msgid "Shortcodes Ultimate"
|
144 |
msgstr "Шорткоды"
|
145 |
|
146 |
+
#: inc/core/admin-views.php:116 inc/core/load.php:134 inc/core/load.php:135
|
147 |
msgid "Cheatsheet"
|
148 |
msgstr "Шпаргалка"
|
149 |
|
150 |
+
#: inc/core/admin-views.php:116
|
151 |
msgid "Back to Dashboard"
|
152 |
msgstr "Вернуться в Панель управления"
|
153 |
|
154 |
+
#: inc/core/admin-views.php:120
|
155 |
msgid "Shortcode"
|
156 |
msgstr "Шорткод"
|
157 |
|
158 |
+
#: inc/core/admin-views.php:120
|
159 |
msgid "Attributes"
|
160 |
msgstr "Аттрибуты"
|
161 |
|
162 |
+
#: inc/core/admin-views.php:120
|
163 |
msgid "Example code"
|
164 |
msgstr "Пример кода"
|
165 |
|
166 |
+
#: inc/core/admin-views.php:128
|
167 |
msgid "full list"
|
168 |
msgstr "полный список"
|
169 |
|
170 |
+
#: inc/core/admin-views.php:133
|
171 |
msgid "Default value"
|
172 |
msgstr "Значение по умолчанию"
|
173 |
|
174 |
+
#: inc/core/admin-views.php:157
|
175 |
msgid "#RGB and rgba() colors"
|
176 |
msgstr "#RGB и rgba() цвета"
|
177 |
|
178 |
+
#: inc/core/admin-views.php:165
|
179 |
msgid "Any text value"
|
180 |
msgstr "Любое текстовое значение"
|
181 |
|
182 |
+
#: inc/core/admin-views.php:167
|
183 |
msgid "Any custom CSS classes"
|
184 |
msgstr "Любой произвольный CSS класс"
|
185 |
|
186 |
+
#: inc/core/admin-views.php:169
|
187 |
msgid "Possible values"
|
188 |
msgstr "Возможные значения"
|
189 |
|
190 |
+
#: inc/core/admin-views.php:201
|
191 |
msgid "New Shortcodes"
|
192 |
msgstr "Новые Шорткоды"
|
193 |
|
194 |
+
#: inc/core/admin-views.php:202
|
195 |
msgid ""
|
196 |
"Parallax sections, responsive content slider, pricing tables, vector icons, "
|
197 |
"testimonials, progress bars and even more"
|
199 |
"Секции с параллакс эффектом, адаптивный слайдер контента, тарифные таблицы, "
|
200 |
"векторные иконки, отзывы, прогресс бары и даже больше"
|
201 |
|
202 |
+
#: inc/core/admin-views.php:207
|
203 |
msgid "Maker"
|
204 |
msgstr "Maker"
|
205 |
|
206 |
+
#: inc/core/admin-views.php:208
|
207 |
msgid ""
|
208 |
"This add-on allows you to create custom shortcodes. You can easily create "
|
209 |
"any shortcode with different parameters or even override default shortcodes"
|
211 |
"Это дополнение позволит вам создавать собственные шорткоды. Вы можете с "
|
212 |
"легкостью создать новый шорткод или даже перезаписать оригинальный"
|
213 |
|
214 |
+
#: inc/core/admin-views.php:213
|
215 |
msgid "Skins"
|
216 |
msgstr "Скины"
|
217 |
|
218 |
+
#: inc/core/admin-views.php:214
|
219 |
msgid ""
|
220 |
"Set of additional skins for Shortcodes Ultimate. It includes skins for "
|
221 |
"accordeons/spoilers, tabs and some other shortcodes"
|
223 |
"Набор дополнительных скинов для шорткодов плагина. Набор включает в себя "
|
224 |
"скины для аккордеонов/спойлеров, вкладок и некоторых других шорткодов"
|
225 |
|
226 |
+
#: inc/core/admin-views.php:219
|
227 |
msgid "Add-ons bundle"
|
228 |
msgstr "Набор дополнений"
|
229 |
|
230 |
+
#: inc/core/admin-views.php:220
|
231 |
msgid "Get all three add-ons with huge discount!"
|
232 |
msgstr "Получите все три дополнения с большой скидкой"
|
233 |
|
234 |
+
#: inc/core/admin-views.php:226
|
235 |
msgid "Shortcodes Ultimate Add-ons"
|
236 |
msgstr "Дополнения для Shortcodes Ultimate"
|
237 |
|
238 |
+
#: inc/core/admin-views.php:229 inc/core/admin-views.php:236
|
239 |
msgid "Learn more"
|
240 |
msgstr "Узнать больше"
|
241 |
|
242 |
+
#: inc/core/admin-views.php:233
|
243 |
msgid "Other WordPress Plugins"
|
244 |
msgstr "Другие плагины для WordPress"
|
245 |
|
246 |
+
#: inc/core/assets.php:70
|
247 |
msgid "Close (Esc)"
|
248 |
msgstr "Закрыть (Esc)"
|
249 |
|
250 |
+
#: inc/core/assets.php:71
|
251 |
msgid "Loading..."
|
252 |
msgstr "Загрузка..."
|
253 |
|
254 |
+
#: inc/core/assets.php:72
|
255 |
msgid "Previous (Left arrow key)"
|
256 |
msgstr "Назад (Клавиша Влево)"
|
257 |
|
258 |
+
#: inc/core/assets.php:73
|
259 |
msgid "Next (Right arrow key)"
|
260 |
msgstr "Вперед (Клавиша Вправо)"
|
261 |
|
262 |
+
#: inc/core/assets.php:74
|
263 |
#, php-format
|
264 |
msgid "%s of %s"
|
265 |
msgstr "%s из %s"
|
266 |
|
267 |
+
#: inc/core/assets.php:75
|
268 |
#, php-format
|
269 |
msgid "Failed to load this link. %sOpen link%s."
|
270 |
msgstr "Ошибка загрузки ссылки. %sОткрыть ссылку%s."
|
271 |
|
272 |
+
#: inc/core/assets.php:87
|
273 |
msgid "Choose files"
|
274 |
msgstr "Выбор файлов"
|
275 |
|
276 |
+
#: inc/core/assets.php:88
|
277 |
msgid "Add selected files"
|
278 |
msgstr "Добавить выбранные файлы"
|
279 |
|
280 |
+
#: inc/core/assets.php:89
|
281 |
msgid "This button is not clickable"
|
282 |
msgstr "Эта кнопка не нажимается"
|
283 |
|
284 |
+
#: inc/core/assets.php:97 inc/vendor/sunrise.php:179
|
285 |
msgid "Choose file"
|
286 |
msgstr "Выбор файла"
|
287 |
|
288 |
+
#: inc/core/assets.php:98
|
289 |
msgid "Insert"
|
290 |
msgstr "Вставить"
|
291 |
|
292 |
+
#: inc/core/assets.php:99
|
293 |
msgid "Select images"
|
294 |
msgstr "Выберите изображения"
|
295 |
|
296 |
+
#: inc/core/assets.php:100
|
297 |
msgid "Add selected images"
|
298 |
msgstr "Добавить выбранные изображения"
|
299 |
|
300 |
+
#: inc/core/assets.php:101
|
301 |
msgid "Please enter a name for new preset"
|
302 |
msgstr "Пожалуйста введите имя для нового шаблона"
|
303 |
|
304 |
+
#: inc/core/assets.php:102
|
305 |
msgid "New preset"
|
306 |
msgstr "Новый шаблон"
|
307 |
|
308 |
+
#: inc/core/assets.php:103
|
309 |
msgid "Last used settings"
|
310 |
msgstr "Последние настройки"
|
311 |
|
312 |
+
#: inc/core/assets.php:120
|
313 |
msgid ""
|
314 |
"This shortcode doesn't work in live preview. Please insert it into editor "
|
315 |
"and preview on the site."
|
325 |
msgid "All"
|
326 |
msgstr "Все"
|
327 |
|
328 |
+
#: inc/core/data.php:18 inc/core/generator.php:187
|
329 |
msgid "Content"
|
330 |
msgstr "Содержимое"
|
331 |
|
443 |
msgid "Choose style for this heading"
|
444 |
msgstr "Выберите стиль для этого заголовка"
|
445 |
|
|
|
|
|
|
|
|
|
|
|
446 |
#: inc/core/data.php:148 inc/core/data.php:403 inc/core/data.php:591
|
447 |
#: inc/core/data.php:670 inc/core/data.php:776 inc/core/data.php:2923
|
448 |
msgid "Size"
|
895 |
msgid "Highlighted text"
|
896 |
msgstr "Подсвеченный текст"
|
897 |
|
898 |
+
#: inc/core/data.php:479 inc/core/data.php:503 inc/vendor/sunrise.php:421
|
899 |
msgid "Label"
|
900 |
msgstr "Ярлык"
|
901 |
|
1392 |
msgid "Expand"
|
1393 |
msgstr "Развернуть"
|
1394 |
|
1395 |
+
#: inc/core/data.php:990 inc/core/shortcodes.php:503
|
1396 |
msgid "Show more"
|
1397 |
msgstr "Показать больше"
|
1398 |
|
1404 |
msgid "Enter the text for more link"
|
1405 |
msgstr "Введите здесь текст для ссылки больше"
|
1406 |
|
1407 |
+
#: inc/core/data.php:995 inc/core/shortcodes.php:504
|
1408 |
msgid "Show less"
|
1409 |
msgstr "Показать меньше"
|
1410 |
|
1724 |
"Укажите заголовок окна подсказки. Оставьте поле пустым, чтобы скрыть "
|
1725 |
"заголовок"
|
1726 |
|
1727 |
+
#: inc/core/data.php:1256 inc/core/shortcodes.php:567
|
1728 |
msgid "Tooltip text"
|
1729 |
msgstr "Текст подсказки"
|
1730 |
|
3439 |
msgstr "Нет"
|
3440 |
|
3441 |
#: inc/core/generator-views.php:50 inc/core/generator-views.php:55
|
3442 |
+
#: inc/vendor/sunrise.php:452
|
3443 |
msgid "Media manager"
|
3444 |
msgstr "Медиа менеджер"
|
3445 |
|
3543 |
"Выберите таксономию и её категории.<br>Вы можете выбрать несколько категорий "
|
3544 |
"удерживая клавишу Ctrl (Cmd)"
|
3545 |
|
3546 |
+
#: inc/core/generator.php:43 inc/core/generator.php:148
|
3547 |
msgid "Insert shortcode"
|
3548 |
msgstr "Вставить шорткод"
|
3549 |
|
3550 |
#: inc/core/generator.php:86 inc/core/load.php:30 inc/core/load.php:51
|
3551 |
+
#: inc/core/load.php:111 inc/core/load.php:112
|
3552 |
msgid "Settings"
|
3553 |
msgstr "Настройки"
|
3554 |
|
3564 |
msgid "Support forums"
|
3565 |
msgstr "Форум поддержки"
|
3566 |
|
3567 |
+
#: inc/core/generator.php:92 inc/core/load.php:148 inc/core/load.php:149
|
3568 |
msgid "Add-ons"
|
3569 |
msgstr "Дополнения"
|
3570 |
|
3572 |
msgid "Search for shortcodes"
|
3573 |
msgstr "Поиск шорткода"
|
3574 |
|
3575 |
+
#: inc/core/generator.php:99
|
3576 |
+
msgid "Pro Tip"
|
3577 |
+
msgstr "Совет"
|
3578 |
+
|
3579 |
+
#: inc/core/generator.php:99
|
3580 |
+
msgid "Hit enter to select highlighted shortcode, while searching"
|
3581 |
+
msgstr "Нажмите Enter во время поиска, чтобы выбрать подсвеченный шорткод"
|
3582 |
+
|
3583 |
+
#: inc/core/generator.php:101
|
3584 |
msgid "Filter by type"
|
3585 |
msgstr "Фильтр"
|
3586 |
|
3587 |
+
#: inc/core/generator.php:136
|
3588 |
msgid "Shortcode not specified"
|
3589 |
msgstr "Не выбран шорткод"
|
3590 |
|
3591 |
+
#: inc/core/generator.php:149
|
3592 |
msgid "Live preview"
|
3593 |
msgstr "Предпросмотр"
|
3594 |
|
3595 |
+
#: inc/core/generator.php:153
|
3596 |
msgid "Click to return to the shortcodes list"
|
3597 |
msgstr "Нажмите, чтобы вернуться к списку шорткодов"
|
3598 |
|
3599 |
+
#: inc/core/generator.php:153
|
3600 |
msgid "All shortcodes"
|
3601 |
msgstr "Все шорткоды"
|
3602 |
|
3603 |
+
#: inc/core/generator.php:159
|
3604 |
msgid "Examples of use"
|
3605 |
msgstr "Примеры использования"
|
3606 |
|
3607 |
+
#: inc/core/generator.php:177
|
3608 |
msgid "Click to set this value"
|
3609 |
msgstr "Нажмите чтобы установить это значение"
|
3610 |
|
3611 |
+
#: inc/core/generator.php:205
|
3612 |
msgid "Preview"
|
3613 |
msgstr "Предпросмотр"
|
3614 |
|
3615 |
+
#: inc/core/generator.php:214 inc/core/tools.php:855
|
3616 |
msgid "Access denied"
|
3617 |
msgstr "Доступ запрещен"
|
3618 |
|
3619 |
+
#: inc/core/generator.php:249
|
3620 |
msgid "Presets"
|
3621 |
msgstr "Шаблоны"
|
3622 |
|
3623 |
+
#: inc/core/generator.php:252
|
3624 |
msgid "Save current settings as preset"
|
3625 |
msgstr "Сохранить настройки как новый шаблон"
|
3626 |
|
3627 |
+
#: inc/core/generator.php:281 inc/core/generator.php:284
|
3628 |
msgid "Presets not found"
|
3629 |
msgstr "Шаблоны не найдены"
|
3630 |
|
3689 |
"будут работать"
|
3690 |
|
3691 |
#: inc/core/load.php:79
|
3692 |
+
msgid "Insert shortcode Hotkey"
|
3693 |
+
msgstr "Горячая клавиша"
|
3694 |
+
|
3695 |
+
#: inc/core/load.php:80
|
3696 |
+
msgid ""
|
3697 |
+
"Here you can define custom hotkey for the Insert shortcode popup window. "
|
3698 |
+
"Leave this field empty to disable hotkey"
|
3699 |
+
msgstr ""
|
3700 |
+
"Здесь вы можете задать свою горячую клавишу для открытия окна Вставить "
|
3701 |
+
"шорткод. Оставьте это поле пустым, чтобы отключить горячую клавишу"
|
3702 |
+
|
3703 |
+
#: inc/core/load.php:80
|
3704 |
+
msgid "Hotkey examples"
|
3705 |
+
msgstr "Примеры горячих клавиш"
|
3706 |
+
|
3707 |
+
#: inc/core/load.php:80
|
3708 |
+
msgid "Additional notes"
|
3709 |
+
msgstr "Дополнительные заметки"
|
3710 |
+
|
3711 |
+
#: inc/core/load.php:86
|
3712 |
msgid "Skin"
|
3713 |
msgstr "Скин"
|
3714 |
|
3715 |
+
#: inc/core/load.php:87
|
3716 |
msgid "Choose global skin for shortcodes"
|
3717 |
msgstr "Выберите глобальный скин для шорткодов"
|
3718 |
|
3719 |
+
#: inc/core/load.php:95
|
3720 |
msgid "Custom CSS"
|
3721 |
msgstr "Произвольный CSS"
|
3722 |
|
3723 |
+
#: inc/core/load.php:120 inc/core/load.php:121 inc/core/load.php:228
|
3724 |
msgid "Examples"
|
3725 |
msgstr "Примеры"
|
3726 |
|
3727 |
+
#: inc/core/load.php:161 inc/core/vote.php:42
|
3728 |
msgid "Vladimir Anokhin"
|
3729 |
msgstr "Владимир Анохин"
|
3730 |
|
3731 |
+
#: inc/core/load.php:162
|
3732 |
msgid "Supercharge your WordPress theme with mega pack of shortcodes"
|
3733 |
msgstr "Суперзарядка для вашей WordPress-темы с помощью мега набора шорткодов"
|
3734 |
|
3735 |
+
#: inc/core/load.php:229
|
3736 |
msgid "Where to start?"
|
3737 |
msgstr "С чего начать?"
|
3738 |
|
3768 |
msgid "Tab title"
|
3769 |
msgstr "Заголовок вкладкки"
|
3770 |
|
3771 |
+
#: inc/core/shortcodes.php:466
|
3772 |
msgid "This is box title"
|
3773 |
msgstr "Заголовок блока"
|
3774 |
|
3775 |
+
#: inc/core/shortcodes.php:532
|
3776 |
msgid "please specify correct source"
|
3777 |
msgstr "пожалуйста укажите корректную ссылку"
|
3778 |
|
3779 |
+
#: inc/core/shortcodes.php:553
|
3780 |
msgid ""
|
3781 |
"please specify correct ID for this block. You should use same ID as in the "
|
3782 |
"Content source field (when inserting lightbox shortcode)"
|
3784 |
"пожалуйста укажите корректный ID для этого блока. Вы должны использовать ID "
|
3785 |
"из поля Источник содержимого (вводится при вставке шорткода lightbox)"
|
3786 |
|
3787 |
+
#: inc/core/shortcodes.php:620 inc/core/shortcodes.php:624
|
3788 |
+
#: inc/core/shortcodes.php:659 inc/core/shortcodes.php:663
|
3789 |
+
#: inc/core/shortcodes.php:692 inc/core/shortcodes.php:696
|
3790 |
#: inc/core/shortcodes.php:718 inc/core/shortcodes.php:722
|
3791 |
#: inc/core/shortcodes.php:750 inc/core/shortcodes.php:754
|
3792 |
#: inc/core/shortcodes.php:777 inc/core/shortcodes.php:784
|
3840 |
"Неверный временной промежуток (%s). Пожалуйста используйте символ - (минус) "
|
3841 |
"чтобы указать промежуток времени. Пример: 14:00 - 18:00"
|
3842 |
|
3843 |
+
#: inc/core/tools.php:258
|
3844 |
+
msgid "Additional skins successfully installed"
|
3845 |
+
msgstr "Дополнительные стили успешно установлены"
|
3846 |
+
|
3847 |
+
#: inc/core/tools.php:258
|
3848 |
+
msgid "Open dropdown to choose one of new styles"
|
3849 |
+
msgstr "Откройте выпадающий список, чтобы выбрать один из новых стилей"
|
3850 |
+
|
3851 |
+
#: inc/core/tools.php:259
|
3852 |
+
msgid "Get more styles"
|
3853 |
+
msgstr "Получить больше стилей"
|
3854 |
+
|
3855 |
+
#: inc/core/tools.php:774
|
3856 |
msgid "Example code does not found, please check it later"
|
3857 |
msgstr "Код примера не найден, возвращайтесь позже"
|
3858 |
|
3859 |
+
#: inc/core/tools.php:790
|
3860 |
msgid "Get the code"
|
3861 |
msgstr "Получить код"
|
3862 |
|
3863 |
+
#: inc/core/tools.php:864
|
3864 |
msgid "Slide link"
|
3865 |
msgstr "Ссылка слайда"
|
3866 |
|
3867 |
+
#: inc/core/tools.php:867
|
3868 |
msgid ""
|
3869 |
"Use this field to add custom links to slides used with Slider, Carousel and "
|
3870 |
"Custom Gallery shortcodes"
|
3922 |
msgid "Plugin Settings"
|
3923 |
msgstr "Настройки плагина"
|
3924 |
|
3925 |
+
#: inc/vendor/sunrise.php:180
|
3926 |
msgid "Use selected file"
|
3927 |
msgstr "Использовать выбранный файл"
|
3928 |
|
3929 |
+
#: inc/vendor/sunrise.php:372
|
3930 |
msgid "Save changes"
|
3931 |
msgstr "Сохранить изменения"
|
3932 |
|
3933 |
+
#: inc/vendor/sunrise.php:372
|
3934 |
msgid "Saving"
|
3935 |
msgstr "Сохранение"
|
3936 |
|
3937 |
+
#: inc/vendor/sunrise.php:372
|
3938 |
msgid "Saved"
|
3939 |
msgstr "Сохранено"
|
3940 |
|
3941 |
+
#: inc/vendor/sunrise.php:372
|
3942 |
msgid ""
|
3943 |
"This action will delete all your settings. Are you sure? This action cannot "
|
3944 |
"be undone!"
|
3946 |
"Данное действие удалит все ваши настройки. Вы уверены? Это действие нельзя "
|
3947 |
"будет отменить!"
|
3948 |
|
3949 |
+
#: inc/vendor/sunrise.php:372
|
3950 |
msgid "Restore default settings"
|
3951 |
msgstr "Сбросить настройки"
|
3952 |
|
3953 |
+
#: inc/vendor/sunrise.php:379 inc/vendor/sunrise.php:388
|
3954 |
+
#: inc/vendor/sunrise.php:397 inc/vendor/sunrise.php:447
|
3955 |
msgid "Text field"
|
3956 |
msgstr "Текстовое поле"
|
3957 |
|
3958 |
+
#: inc/vendor/sunrise.php:409
|
3959 |
msgid "Textarea field"
|
3960 |
msgstr "Текстовое поле"
|
3961 |
|
3962 |
+
#: inc/vendor/sunrise.php:420 inc/vendor/sunrise.php:431
|
3963 |
msgid "Checkbox"
|
3964 |
msgstr "Флажок"
|
3965 |
|
3966 |
+
#: inc/vendor/sunrise.php:457
|
3967 |
msgid "Color picker"
|
3968 |
msgstr "Пипетка"
|
3969 |
|
3970 |
+
#: inc/vendor/sunrise.php:465
|
3971 |
msgid "Pick a color"
|
3972 |
msgstr "Выберите цвет"
|
3973 |
|
3974 |
+
#: inc/vendor/sunrise.php:489
|
3975 |
msgid ""
|
3976 |
"For full functionality of this page it is reccomended to enable javascript."
|
3977 |
msgstr ""
|
3978 |
"Для полной функциональности этой страницы рекомендуется включить Javascript."
|
3979 |
|
3980 |
+
#: inc/vendor/sunrise.php:490
|
3981 |
msgid "Settings saved successfully"
|
3982 |
msgstr "Настройки успешно сохранены"
|
3983 |
|
3984 |
+
#: inc/vendor/sunrise.php:491
|
3985 |
msgid "Settings reseted successfully"
|
3986 |
msgstr "Настройки успешно сброшены"
|
3987 |
|
3988 |
+
#: inc/vendor/sunrise.php:520
|
3989 |
#, php-format
|
3990 |
msgid "option type %s is not callable"
|
3991 |
msgstr "тип поля %s не может быть отображен"
|
4010 |
#: templates/single-post.php:17
|
4011 |
msgid "%n comments"
|
4012 |
msgstr "%n комментариев"
|
4013 |
+
|
4014 |
+
#~ msgid "You can overview the original styles to override it"
|
4015 |
+
#~ msgstr "Вы можете посмотреть оригинальные стили, чтобы перезаписать их"
|
4016 |
+
|
4017 |
+
#~ msgid "Install additional styles"
|
4018 |
+
#~ msgstr "Установить дополнительные стили"
|
languages/su.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Shortcodes Ultimate\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: su\n"
|
@@ -12,8 +12,9 @@ msgstr ""
|
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-SourceCharset:
|
16 |
-
"X-Generator: Poedit 1.
|
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: inc/core/admin-views.php:9
|
@@ -24,7 +25,7 @@ msgstr ""
|
|
24 |
msgid "A real swiss army knife for WordPress"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: inc/core/admin-views.php:11 inc/core/load.php:
|
28 |
msgid "Project homepage"
|
29 |
msgstr ""
|
30 |
|
@@ -32,11 +33,11 @@ msgstr ""
|
|
32 |
msgid "Documentation"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: inc/core/admin-views.php:13 inc/core/load.php:
|
36 |
msgid "Support forum"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: inc/core/admin-views.php:14 inc/core/load.php:
|
40 |
msgid "Changelog"
|
41 |
msgstr ""
|
42 |
|
@@ -109,7 +110,7 @@ msgid "How to create image gallery"
|
|
109 |
msgstr ""
|
110 |
|
111 |
#: inc/core/admin-views.php:63
|
112 |
-
msgid "You can overview the original styles to
|
113 |
msgstr ""
|
114 |
|
115 |
#: inc/core/admin-views.php:75
|
@@ -128,178 +129,178 @@ msgstr ""
|
|
128 |
msgid "plugin url"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: inc/core/admin-views.php:
|
132 |
msgid "Printable version"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: inc/core/admin-views.php:
|
136 |
-
#: inc/core/load.php:
|
137 |
-
#: inc/core/load.php:
|
138 |
#: inc/core/widget.php:40
|
139 |
msgid "Shortcodes Ultimate"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: inc/core/admin-views.php:
|
143 |
msgid "Cheatsheet"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: inc/core/admin-views.php:
|
147 |
msgid "Back to Dashboard"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: inc/core/admin-views.php:
|
151 |
msgid "Shortcode"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: inc/core/admin-views.php:
|
155 |
msgid "Attributes"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: inc/core/admin-views.php:
|
159 |
msgid "Example code"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: inc/core/admin-views.php:
|
163 |
msgid "full list"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: inc/core/admin-views.php:
|
167 |
msgid "Default value"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: inc/core/admin-views.php:
|
171 |
msgid "#RGB and rgba() colors"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: inc/core/admin-views.php:
|
175 |
msgid "Any text value"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: inc/core/admin-views.php:
|
179 |
msgid "Any custom CSS classes"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: inc/core/admin-views.php:
|
183 |
msgid "Possible values"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: inc/core/admin-views.php:
|
187 |
msgid "New Shortcodes"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: inc/core/admin-views.php:
|
191 |
msgid ""
|
192 |
"Parallax sections, responsive content slider, pricing tables, vector icons, "
|
193 |
"testimonials, progress bars and even more"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: inc/core/admin-views.php:
|
197 |
msgid "Maker"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: inc/core/admin-views.php:
|
201 |
msgid ""
|
202 |
"This add-on allows you to create custom shortcodes. You can easily create "
|
203 |
"any shortcode with different parameters or even override default shortcodes"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: inc/core/admin-views.php:
|
207 |
msgid "Skins"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: inc/core/admin-views.php:
|
211 |
msgid ""
|
212 |
"Set of additional skins for Shortcodes Ultimate. It includes skins for "
|
213 |
"accordeons/spoilers, tabs and some other shortcodes"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: inc/core/admin-views.php:
|
217 |
msgid "Add-ons bundle"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: inc/core/admin-views.php:
|
221 |
msgid "Get all three add-ons with huge discount!"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: inc/core/admin-views.php:
|
225 |
msgid "Shortcodes Ultimate Add-ons"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: inc/core/admin-views.php:
|
229 |
msgid "Learn more"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: inc/core/admin-views.php:
|
233 |
msgid "Other WordPress Plugins"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: inc/core/assets.php:
|
237 |
msgid "Close (Esc)"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: inc/core/assets.php:
|
241 |
msgid "Loading..."
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: inc/core/assets.php:
|
245 |
msgid "Previous (Left arrow key)"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: inc/core/assets.php:
|
249 |
msgid "Next (Right arrow key)"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: inc/core/assets.php:
|
253 |
#, php-format
|
254 |
msgid "%s of %s"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: inc/core/assets.php:
|
258 |
#, php-format
|
259 |
msgid "Failed to load this link. %sOpen link%s."
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: inc/core/assets.php:
|
263 |
msgid "Choose files"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: inc/core/assets.php:
|
267 |
msgid "Add selected files"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: inc/core/assets.php:
|
271 |
msgid "This button is not clickable"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: inc/core/assets.php:
|
275 |
msgid "Choose file"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: inc/core/assets.php:
|
279 |
msgid "Insert"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: inc/core/assets.php:
|
283 |
msgid "Select images"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: inc/core/assets.php:
|
287 |
msgid "Add selected images"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: inc/core/assets.php:
|
291 |
msgid "Please enter a name for new preset"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: inc/core/assets.php:
|
295 |
msgid "New preset"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: inc/core/assets.php:
|
299 |
msgid "Last used settings"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: inc/core/assets.php:
|
303 |
msgid ""
|
304 |
"This shortcode doesn't work in live preview. Please insert it into editor "
|
305 |
"and preview on the site."
|
@@ -313,7 +314,7 @@ msgstr ""
|
|
313 |
msgid "All"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: inc/core/data.php:18 inc/core/generator.php:
|
317 |
msgid "Content"
|
318 |
msgstr ""
|
319 |
|
@@ -861,7 +862,7 @@ msgstr ""
|
|
861 |
msgid "Highlighted text"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: inc/core/data.php:479 inc/core/data.php:503 inc/vendor/sunrise.php:
|
865 |
msgid "Label"
|
866 |
msgstr ""
|
867 |
|
@@ -1342,7 +1343,7 @@ msgstr ""
|
|
1342 |
msgid "Expand"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
-
#: inc/core/data.php:990 inc/core/shortcodes.php:
|
1346 |
msgid "Show more"
|
1347 |
msgstr ""
|
1348 |
|
@@ -1354,7 +1355,7 @@ msgstr ""
|
|
1354 |
msgid "Enter the text for more link"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: inc/core/data.php:995 inc/core/shortcodes.php:
|
1358 |
msgid "Show less"
|
1359 |
msgstr ""
|
1360 |
|
@@ -1660,7 +1661,7 @@ msgid ""
|
|
1660 |
"Enter title for tooltip window. Leave this field empty to hide the title"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
-
#: inc/core/data.php:1256 inc/core/shortcodes.php:
|
1664 |
msgid "Tooltip text"
|
1665 |
msgstr ""
|
1666 |
|
@@ -2118,7 +2119,7 @@ msgstr ""
|
|
2118 |
msgid "Members"
|
2119 |
msgstr ""
|
2120 |
|
2121 |
-
#: inc/core/data.php:1849 inc/core/shortcodes.php:
|
2122 |
msgid "This content is for registered users only. Please %login%."
|
2123 |
msgstr ""
|
2124 |
|
@@ -2138,7 +2139,7 @@ msgstr ""
|
|
2138 |
msgid "This color will applied only to box for not logged users"
|
2139 |
msgstr ""
|
2140 |
|
2141 |
-
#: inc/core/data.php:1858 inc/core/shortcodes.php:
|
2142 |
msgid "login"
|
2143 |
msgstr ""
|
2144 |
|
@@ -2778,7 +2779,7 @@ msgstr ""
|
|
2778 |
msgid "Text placeholder"
|
2779 |
msgstr ""
|
2780 |
|
2781 |
-
#: inc/core/data.php:2597 inc/core/shortcodes.php:
|
2782 |
msgid "Dummy image"
|
2783 |
msgstr ""
|
2784 |
|
@@ -3243,7 +3244,7 @@ msgid "No"
|
|
3243 |
msgstr ""
|
3244 |
|
3245 |
#: inc/core/generator-views.php:50 inc/core/generator-views.php:55
|
3246 |
-
#: inc/vendor/sunrise.php:
|
3247 |
msgid "Media manager"
|
3248 |
msgstr ""
|
3249 |
|
@@ -3341,12 +3342,12 @@ msgid ""
|
|
3341 |
"(Cmd) key"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
-
#: inc/core/generator.php:43 inc/core/generator.php:
|
3345 |
msgid "Insert shortcode"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
#: inc/core/generator.php:86 inc/core/load.php:30 inc/core/load.php:51
|
3349 |
-
#: inc/core/load.php:
|
3350 |
msgid "Settings"
|
3351 |
msgstr ""
|
3352 |
|
@@ -3362,7 +3363,7 @@ msgstr ""
|
|
3362 |
msgid "Support forums"
|
3363 |
msgstr ""
|
3364 |
|
3365 |
-
#: inc/core/generator.php:92 inc/core/load.php:
|
3366 |
msgid "Add-ons"
|
3367 |
msgstr ""
|
3368 |
|
@@ -3370,51 +3371,59 @@ msgstr ""
|
|
3370 |
msgid "Search for shortcodes"
|
3371 |
msgstr ""
|
3372 |
|
3373 |
-
#: inc/core/generator.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3374 |
msgid "Filter by type"
|
3375 |
msgstr ""
|
3376 |
|
3377 |
-
#: inc/core/generator.php:
|
3378 |
msgid "Shortcode not specified"
|
3379 |
msgstr ""
|
3380 |
|
3381 |
-
#: inc/core/generator.php:
|
3382 |
msgid "Live preview"
|
3383 |
msgstr ""
|
3384 |
|
3385 |
-
#: inc/core/generator.php:
|
3386 |
msgid "Click to return to the shortcodes list"
|
3387 |
msgstr ""
|
3388 |
|
3389 |
-
#: inc/core/generator.php:
|
3390 |
msgid "All shortcodes"
|
3391 |
msgstr ""
|
3392 |
|
3393 |
-
#: inc/core/generator.php:
|
3394 |
msgid "Examples of use"
|
3395 |
msgstr ""
|
3396 |
|
3397 |
-
#: inc/core/generator.php:
|
3398 |
msgid "Click to set this value"
|
3399 |
msgstr ""
|
3400 |
|
3401 |
-
#: inc/core/generator.php:
|
3402 |
msgid "Preview"
|
3403 |
msgstr ""
|
3404 |
|
3405 |
-
#: inc/core/generator.php:
|
3406 |
msgid "Access denied"
|
3407 |
msgstr ""
|
3408 |
|
3409 |
-
#: inc/core/generator.php:
|
3410 |
msgid "Presets"
|
3411 |
msgstr ""
|
3412 |
|
3413 |
-
#: inc/core/generator.php:
|
3414 |
msgid "Save current settings as preset"
|
3415 |
msgstr ""
|
3416 |
|
3417 |
-
#: inc/core/generator.php:
|
3418 |
msgid "Presets not found"
|
3419 |
msgstr ""
|
3420 |
|
@@ -3469,30 +3478,48 @@ msgid ""
|
|
3469 |
msgstr ""
|
3470 |
|
3471 |
#: inc/core/load.php:79
|
3472 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
3473 |
msgstr ""
|
3474 |
|
3475 |
#: inc/core/load.php:80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3476 |
msgid "Choose global skin for shortcodes"
|
3477 |
msgstr ""
|
3478 |
|
3479 |
-
#: inc/core/load.php:
|
3480 |
msgid "Custom CSS"
|
3481 |
msgstr ""
|
3482 |
|
3483 |
-
#: inc/core/load.php:
|
3484 |
msgid "Examples"
|
3485 |
msgstr ""
|
3486 |
|
3487 |
-
#: inc/core/load.php:
|
3488 |
msgid "Vladimir Anokhin"
|
3489 |
msgstr ""
|
3490 |
|
3491 |
-
#: inc/core/load.php:
|
3492 |
msgid "Supercharge your WordPress theme with mega pack of shortcodes"
|
3493 |
msgstr ""
|
3494 |
|
3495 |
-
#: inc/core/load.php:
|
3496 |
msgid "Where to start?"
|
3497 |
msgstr ""
|
3498 |
|
@@ -3519,68 +3546,68 @@ msgstr ""
|
|
3519 |
msgid "Tab title"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
-
#: inc/core/shortcodes.php:
|
3523 |
msgid "This is box title"
|
3524 |
msgstr ""
|
3525 |
|
3526 |
-
#: inc/core/shortcodes.php:
|
3527 |
msgid "please specify correct source"
|
3528 |
msgstr ""
|
3529 |
|
3530 |
-
#: inc/core/shortcodes.php:
|
3531 |
msgid ""
|
3532 |
"please specify correct ID for this block. You should use same ID as in the "
|
3533 |
"Content source field (when inserting lightbox shortcode)"
|
3534 |
msgstr ""
|
3535 |
|
3536 |
-
#: inc/core/shortcodes.php:
|
3537 |
-
#: inc/core/shortcodes.php:
|
3538 |
-
#: inc/core/shortcodes.php:
|
3539 |
-
#: inc/core/shortcodes.php:
|
3540 |
-
#: inc/core/shortcodes.php:
|
3541 |
-
#: inc/core/shortcodes.php:
|
3542 |
-
#: inc/core/shortcodes.php:
|
3543 |
msgid "please specify correct url"
|
3544 |
msgstr ""
|
3545 |
|
3546 |
-
#: inc/core/shortcodes.php:
|
3547 |
msgid "This menu doesn't exists, or has no elements"
|
3548 |
msgstr ""
|
3549 |
|
3550 |
-
#: inc/core/shortcodes.php:
|
3551 |
-
#: inc/core/shortcodes.php:
|
3552 |
msgid "images not found"
|
3553 |
msgstr ""
|
3554 |
|
3555 |
-
#: inc/core/shortcodes.php:
|
3556 |
msgid "template not found"
|
3557 |
msgstr ""
|
3558 |
|
3559 |
-
#: inc/core/shortcodes.php:
|
3560 |
msgid "post ID is incorrect"
|
3561 |
msgstr ""
|
3562 |
|
3563 |
-
#: inc/core/shortcodes.php:
|
3564 |
msgid "please specify meta key name"
|
3565 |
msgstr ""
|
3566 |
|
3567 |
-
#: inc/core/shortcodes.php:
|
3568 |
msgid "password field is not allowed"
|
3569 |
msgstr ""
|
3570 |
|
3571 |
-
#: inc/core/shortcodes.php:
|
3572 |
msgid "user ID is incorrect"
|
3573 |
msgstr ""
|
3574 |
|
3575 |
-
#: inc/core/shortcodes.php:
|
3576 |
msgid "please specify template name"
|
3577 |
msgstr ""
|
3578 |
|
3579 |
-
#: inc/core/shortcodes.php:
|
3580 |
msgid "please specify the data"
|
3581 |
msgstr ""
|
3582 |
|
3583 |
-
#: inc/core/shortcodes.php:
|
3584 |
#, php-format
|
3585 |
msgid ""
|
3586 |
"Incorrect time range (%s). Please use - (minus) symbol to specify time "
|
@@ -3599,19 +3626,19 @@ msgstr ""
|
|
3599 |
msgid "Get more styles"
|
3600 |
msgstr ""
|
3601 |
|
3602 |
-
#: inc/core/tools.php:
|
3603 |
msgid "Example code does not found, please check it later"
|
3604 |
msgstr ""
|
3605 |
|
3606 |
-
#: inc/core/tools.php:
|
3607 |
msgid "Get the code"
|
3608 |
msgstr ""
|
3609 |
|
3610 |
-
#: inc/core/tools.php:
|
3611 |
msgid "Slide link"
|
3612 |
msgstr ""
|
3613 |
|
3614 |
-
#: inc/core/tools.php:
|
3615 |
msgid ""
|
3616 |
"Use this field to add custom links to slides used with Slider, Carousel and "
|
3617 |
"Custom Gallery shortcodes"
|
@@ -3662,67 +3689,67 @@ msgstr ""
|
|
3662 |
msgid "Plugin Settings"
|
3663 |
msgstr ""
|
3664 |
|
3665 |
-
#: inc/vendor/sunrise.php:
|
3666 |
msgid "Use selected file"
|
3667 |
msgstr ""
|
3668 |
|
3669 |
-
#: inc/vendor/sunrise.php:
|
3670 |
msgid "Save changes"
|
3671 |
msgstr ""
|
3672 |
|
3673 |
-
#: inc/vendor/sunrise.php:
|
3674 |
msgid "Saving"
|
3675 |
msgstr ""
|
3676 |
|
3677 |
-
#: inc/vendor/sunrise.php:
|
3678 |
msgid "Saved"
|
3679 |
msgstr ""
|
3680 |
|
3681 |
-
#: inc/vendor/sunrise.php:
|
3682 |
msgid ""
|
3683 |
"This action will delete all your settings. Are you sure? This action cannot "
|
3684 |
"be undone!"
|
3685 |
msgstr ""
|
3686 |
|
3687 |
-
#: inc/vendor/sunrise.php:
|
3688 |
msgid "Restore default settings"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
-
#: inc/vendor/sunrise.php:
|
3692 |
-
#: inc/vendor/sunrise.php:
|
3693 |
msgid "Text field"
|
3694 |
msgstr ""
|
3695 |
|
3696 |
-
#: inc/vendor/sunrise.php:
|
3697 |
msgid "Textarea field"
|
3698 |
msgstr ""
|
3699 |
|
3700 |
-
#: inc/vendor/sunrise.php:
|
3701 |
msgid "Checkbox"
|
3702 |
msgstr ""
|
3703 |
|
3704 |
-
#: inc/vendor/sunrise.php:
|
3705 |
msgid "Color picker"
|
3706 |
msgstr ""
|
3707 |
|
3708 |
-
#: inc/vendor/sunrise.php:
|
3709 |
msgid "Pick a color"
|
3710 |
msgstr ""
|
3711 |
|
3712 |
-
#: inc/vendor/sunrise.php:
|
3713 |
msgid ""
|
3714 |
"For full functionality of this page it is reccomended to enable javascript."
|
3715 |
msgstr ""
|
3716 |
|
3717 |
-
#: inc/vendor/sunrise.php:
|
3718 |
msgid "Settings saved successfully"
|
3719 |
msgstr ""
|
3720 |
|
3721 |
-
#: inc/vendor/sunrise.php:
|
3722 |
msgid "Settings reseted successfully"
|
3723 |
msgstr ""
|
3724 |
|
3725 |
-
#: inc/vendor/sunrise.php:
|
3726 |
#, php-format
|
3727 |
msgid "option type %s is not callable"
|
3728 |
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Shortcodes Ultimate\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-04-06 06:12+0300\n"
|
6 |
+
"PO-Revision-Date: 2015-04-06 06:14+0300\n"
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: su\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Generator: Poedit 1.7.5\n"
|
17 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
#: inc/core/admin-views.php:9
|
25 |
msgid "A real swiss army knife for WordPress"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: inc/core/admin-views.php:11 inc/core/load.php:240
|
29 |
msgid "Project homepage"
|
30 |
msgstr ""
|
31 |
|
33 |
msgid "Documentation"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: inc/core/admin-views.php:13 inc/core/load.php:241
|
37 |
msgid "Support forum"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: inc/core/admin-views.php:14 inc/core/load.php:242
|
41 |
msgid "Changelog"
|
42 |
msgstr ""
|
43 |
|
110 |
msgstr ""
|
111 |
|
112 |
#: inc/core/admin-views.php:63
|
113 |
+
msgid "You can overview the original styles to overwrite it"
|
114 |
msgstr ""
|
115 |
|
116 |
#: inc/core/admin-views.php:75
|
129 |
msgid "plugin url"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: inc/core/admin-views.php:116
|
133 |
msgid "Printable version"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: inc/core/admin-views.php:116 inc/core/load.php:30 inc/core/load.php:111
|
137 |
+
#: inc/core/load.php:120 inc/core/load.php:134 inc/core/load.php:148
|
138 |
+
#: inc/core/load.php:160 inc/core/tools.php:867 inc/core/widget.php:14
|
139 |
#: inc/core/widget.php:40
|
140 |
msgid "Shortcodes Ultimate"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: inc/core/admin-views.php:116 inc/core/load.php:134 inc/core/load.php:135
|
144 |
msgid "Cheatsheet"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: inc/core/admin-views.php:116
|
148 |
msgid "Back to Dashboard"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: inc/core/admin-views.php:120
|
152 |
msgid "Shortcode"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: inc/core/admin-views.php:120
|
156 |
msgid "Attributes"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: inc/core/admin-views.php:120
|
160 |
msgid "Example code"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: inc/core/admin-views.php:128
|
164 |
msgid "full list"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: inc/core/admin-views.php:133
|
168 |
msgid "Default value"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: inc/core/admin-views.php:157
|
172 |
msgid "#RGB and rgba() colors"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: inc/core/admin-views.php:165
|
176 |
msgid "Any text value"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: inc/core/admin-views.php:167
|
180 |
msgid "Any custom CSS classes"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: inc/core/admin-views.php:169
|
184 |
msgid "Possible values"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: inc/core/admin-views.php:201
|
188 |
msgid "New Shortcodes"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: inc/core/admin-views.php:202
|
192 |
msgid ""
|
193 |
"Parallax sections, responsive content slider, pricing tables, vector icons, "
|
194 |
"testimonials, progress bars and even more"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: inc/core/admin-views.php:207
|
198 |
msgid "Maker"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: inc/core/admin-views.php:208
|
202 |
msgid ""
|
203 |
"This add-on allows you to create custom shortcodes. You can easily create "
|
204 |
"any shortcode with different parameters or even override default shortcodes"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: inc/core/admin-views.php:213
|
208 |
msgid "Skins"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: inc/core/admin-views.php:214
|
212 |
msgid ""
|
213 |
"Set of additional skins for Shortcodes Ultimate. It includes skins for "
|
214 |
"accordeons/spoilers, tabs and some other shortcodes"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: inc/core/admin-views.php:219
|
218 |
msgid "Add-ons bundle"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: inc/core/admin-views.php:220
|
222 |
msgid "Get all three add-ons with huge discount!"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: inc/core/admin-views.php:226
|
226 |
msgid "Shortcodes Ultimate Add-ons"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: inc/core/admin-views.php:229 inc/core/admin-views.php:236
|
230 |
msgid "Learn more"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: inc/core/admin-views.php:233
|
234 |
msgid "Other WordPress Plugins"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: inc/core/assets.php:70
|
238 |
msgid "Close (Esc)"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: inc/core/assets.php:71
|
242 |
msgid "Loading..."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: inc/core/assets.php:72
|
246 |
msgid "Previous (Left arrow key)"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: inc/core/assets.php:73
|
250 |
msgid "Next (Right arrow key)"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: inc/core/assets.php:74
|
254 |
#, php-format
|
255 |
msgid "%s of %s"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: inc/core/assets.php:75
|
259 |
#, php-format
|
260 |
msgid "Failed to load this link. %sOpen link%s."
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: inc/core/assets.php:87
|
264 |
msgid "Choose files"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: inc/core/assets.php:88
|
268 |
msgid "Add selected files"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: inc/core/assets.php:89
|
272 |
msgid "This button is not clickable"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: inc/core/assets.php:97 inc/vendor/sunrise.php:179
|
276 |
msgid "Choose file"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: inc/core/assets.php:98
|
280 |
msgid "Insert"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: inc/core/assets.php:99
|
284 |
msgid "Select images"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: inc/core/assets.php:100
|
288 |
msgid "Add selected images"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: inc/core/assets.php:101
|
292 |
msgid "Please enter a name for new preset"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: inc/core/assets.php:102
|
296 |
msgid "New preset"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: inc/core/assets.php:103
|
300 |
msgid "Last used settings"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: inc/core/assets.php:120
|
304 |
msgid ""
|
305 |
"This shortcode doesn't work in live preview. Please insert it into editor "
|
306 |
"and preview on the site."
|
314 |
msgid "All"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: inc/core/data.php:18 inc/core/generator.php:187
|
318 |
msgid "Content"
|
319 |
msgstr ""
|
320 |
|
862 |
msgid "Highlighted text"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: inc/core/data.php:479 inc/core/data.php:503 inc/vendor/sunrise.php:421
|
866 |
msgid "Label"
|
867 |
msgstr ""
|
868 |
|
1343 |
msgid "Expand"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: inc/core/data.php:990 inc/core/shortcodes.php:503
|
1347 |
msgid "Show more"
|
1348 |
msgstr ""
|
1349 |
|
1355 |
msgid "Enter the text for more link"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
+
#: inc/core/data.php:995 inc/core/shortcodes.php:504
|
1359 |
msgid "Show less"
|
1360 |
msgstr ""
|
1361 |
|
1661 |
"Enter title for tooltip window. Leave this field empty to hide the title"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
+
#: inc/core/data.php:1256 inc/core/shortcodes.php:567
|
1665 |
msgid "Tooltip text"
|
1666 |
msgstr ""
|
1667 |
|
2119 |
msgid "Members"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
+
#: inc/core/data.php:1849 inc/core/shortcodes.php:852
|
2123 |
msgid "This content is for registered users only. Please %login%."
|
2124 |
msgstr ""
|
2125 |
|
2139 |
msgid "This color will applied only to box for not logged users"
|
2140 |
msgstr ""
|
2141 |
|
2142 |
+
#: inc/core/data.php:1858 inc/core/shortcodes.php:855
|
2143 |
msgid "login"
|
2144 |
msgstr ""
|
2145 |
|
2779 |
msgid "Text placeholder"
|
2780 |
msgstr ""
|
2781 |
|
2782 |
+
#: inc/core/data.php:2597 inc/core/shortcodes.php:1362
|
2783 |
msgid "Dummy image"
|
2784 |
msgstr ""
|
2785 |
|
3244 |
msgstr ""
|
3245 |
|
3246 |
#: inc/core/generator-views.php:50 inc/core/generator-views.php:55
|
3247 |
+
#: inc/vendor/sunrise.php:452
|
3248 |
msgid "Media manager"
|
3249 |
msgstr ""
|
3250 |
|
3342 |
"(Cmd) key"
|
3343 |
msgstr ""
|
3344 |
|
3345 |
+
#: inc/core/generator.php:43 inc/core/generator.php:148
|
3346 |
msgid "Insert shortcode"
|
3347 |
msgstr ""
|
3348 |
|
3349 |
#: inc/core/generator.php:86 inc/core/load.php:30 inc/core/load.php:51
|
3350 |
+
#: inc/core/load.php:111 inc/core/load.php:112
|
3351 |
msgid "Settings"
|
3352 |
msgstr ""
|
3353 |
|
3363 |
msgid "Support forums"
|
3364 |
msgstr ""
|
3365 |
|
3366 |
+
#: inc/core/generator.php:92 inc/core/load.php:148 inc/core/load.php:149
|
3367 |
msgid "Add-ons"
|
3368 |
msgstr ""
|
3369 |
|
3371 |
msgid "Search for shortcodes"
|
3372 |
msgstr ""
|
3373 |
|
3374 |
+
#: inc/core/generator.php:99
|
3375 |
+
msgid "Pro Tip"
|
3376 |
+
msgstr ""
|
3377 |
+
|
3378 |
+
#: inc/core/generator.php:99
|
3379 |
+
msgid "Hit enter to select highlighted shortcode, while searching"
|
3380 |
+
msgstr ""
|
3381 |
+
|
3382 |
+
#: inc/core/generator.php:101
|
3383 |
msgid "Filter by type"
|
3384 |
msgstr ""
|
3385 |
|
3386 |
+
#: inc/core/generator.php:136
|
3387 |
msgid "Shortcode not specified"
|
3388 |
msgstr ""
|
3389 |
|
3390 |
+
#: inc/core/generator.php:149
|
3391 |
msgid "Live preview"
|
3392 |
msgstr ""
|
3393 |
|
3394 |
+
#: inc/core/generator.php:153
|
3395 |
msgid "Click to return to the shortcodes list"
|
3396 |
msgstr ""
|
3397 |
|
3398 |
+
#: inc/core/generator.php:153
|
3399 |
msgid "All shortcodes"
|
3400 |
msgstr ""
|
3401 |
|
3402 |
+
#: inc/core/generator.php:159
|
3403 |
msgid "Examples of use"
|
3404 |
msgstr ""
|
3405 |
|
3406 |
+
#: inc/core/generator.php:177
|
3407 |
msgid "Click to set this value"
|
3408 |
msgstr ""
|
3409 |
|
3410 |
+
#: inc/core/generator.php:205
|
3411 |
msgid "Preview"
|
3412 |
msgstr ""
|
3413 |
|
3414 |
+
#: inc/core/generator.php:214 inc/core/tools.php:855
|
3415 |
msgid "Access denied"
|
3416 |
msgstr ""
|
3417 |
|
3418 |
+
#: inc/core/generator.php:249
|
3419 |
msgid "Presets"
|
3420 |
msgstr ""
|
3421 |
|
3422 |
+
#: inc/core/generator.php:252
|
3423 |
msgid "Save current settings as preset"
|
3424 |
msgstr ""
|
3425 |
|
3426 |
+
#: inc/core/generator.php:281 inc/core/generator.php:284
|
3427 |
msgid "Presets not found"
|
3428 |
msgstr ""
|
3429 |
|
3478 |
msgstr ""
|
3479 |
|
3480 |
#: inc/core/load.php:79
|
3481 |
+
msgid "Insert shortcode Hotkey"
|
3482 |
+
msgstr ""
|
3483 |
+
|
3484 |
+
#: inc/core/load.php:80
|
3485 |
+
msgid ""
|
3486 |
+
"Here you can define custom hotkey for the Insert shortcode popup window. "
|
3487 |
+
"Leave this field empty to disable hotkey"
|
3488 |
msgstr ""
|
3489 |
|
3490 |
#: inc/core/load.php:80
|
3491 |
+
msgid "Hotkey examples"
|
3492 |
+
msgstr ""
|
3493 |
+
|
3494 |
+
#: inc/core/load.php:80
|
3495 |
+
msgid "Additional notes"
|
3496 |
+
msgstr ""
|
3497 |
+
|
3498 |
+
#: inc/core/load.php:86
|
3499 |
+
msgid "Skin"
|
3500 |
+
msgstr ""
|
3501 |
+
|
3502 |
+
#: inc/core/load.php:87
|
3503 |
msgid "Choose global skin for shortcodes"
|
3504 |
msgstr ""
|
3505 |
|
3506 |
+
#: inc/core/load.php:95
|
3507 |
msgid "Custom CSS"
|
3508 |
msgstr ""
|
3509 |
|
3510 |
+
#: inc/core/load.php:120 inc/core/load.php:121 inc/core/load.php:228
|
3511 |
msgid "Examples"
|
3512 |
msgstr ""
|
3513 |
|
3514 |
+
#: inc/core/load.php:161 inc/core/vote.php:42
|
3515 |
msgid "Vladimir Anokhin"
|
3516 |
msgstr ""
|
3517 |
|
3518 |
+
#: inc/core/load.php:162
|
3519 |
msgid "Supercharge your WordPress theme with mega pack of shortcodes"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
+
#: inc/core/load.php:229
|
3523 |
msgid "Where to start?"
|
3524 |
msgstr ""
|
3525 |
|
3546 |
msgid "Tab title"
|
3547 |
msgstr ""
|
3548 |
|
3549 |
+
#: inc/core/shortcodes.php:466
|
3550 |
msgid "This is box title"
|
3551 |
msgstr ""
|
3552 |
|
3553 |
+
#: inc/core/shortcodes.php:532
|
3554 |
msgid "please specify correct source"
|
3555 |
msgstr ""
|
3556 |
|
3557 |
+
#: inc/core/shortcodes.php:553
|
3558 |
msgid ""
|
3559 |
"please specify correct ID for this block. You should use same ID as in the "
|
3560 |
"Content source field (when inserting lightbox shortcode)"
|
3561 |
msgstr ""
|
3562 |
|
3563 |
+
#: inc/core/shortcodes.php:620 inc/core/shortcodes.php:624
|
3564 |
+
#: inc/core/shortcodes.php:659 inc/core/shortcodes.php:663
|
3565 |
+
#: inc/core/shortcodes.php:692 inc/core/shortcodes.php:696
|
3566 |
+
#: inc/core/shortcodes.php:718 inc/core/shortcodes.php:722
|
3567 |
+
#: inc/core/shortcodes.php:750 inc/core/shortcodes.php:754
|
3568 |
+
#: inc/core/shortcodes.php:777 inc/core/shortcodes.php:784
|
3569 |
+
#: inc/core/shortcodes.php:806 inc/core/shortcodes.php:811
|
3570 |
msgid "please specify correct url"
|
3571 |
msgstr ""
|
3572 |
|
3573 |
+
#: inc/core/shortcodes.php:945
|
3574 |
msgid "This menu doesn't exists, or has no elements"
|
3575 |
msgstr ""
|
3576 |
|
3577 |
+
#: inc/core/shortcodes.php:1050 inc/core/shortcodes.php:1133
|
3578 |
+
#: inc/core/shortcodes.php:1188
|
3579 |
msgid "images not found"
|
3580 |
msgstr ""
|
3581 |
|
3582 |
+
#: inc/core/shortcodes.php:1324
|
3583 |
msgid "template not found"
|
3584 |
msgstr ""
|
3585 |
|
3586 |
+
#: inc/core/shortcodes.php:1395 inc/core/shortcodes.php:1445
|
3587 |
msgid "post ID is incorrect"
|
3588 |
msgstr ""
|
3589 |
|
3590 |
+
#: inc/core/shortcodes.php:1397
|
3591 |
msgid "please specify meta key name"
|
3592 |
msgstr ""
|
3593 |
|
3594 |
+
#: inc/core/shortcodes.php:1418
|
3595 |
msgid "password field is not allowed"
|
3596 |
msgstr ""
|
3597 |
|
3598 |
+
#: inc/core/shortcodes.php:1422
|
3599 |
msgid "user ID is incorrect"
|
3600 |
msgstr ""
|
3601 |
|
3602 |
+
#: inc/core/shortcodes.php:1475
|
3603 |
msgid "please specify template name"
|
3604 |
msgstr ""
|
3605 |
|
3606 |
+
#: inc/core/shortcodes.php:1499
|
3607 |
msgid "please specify the data"
|
3608 |
msgstr ""
|
3609 |
|
3610 |
+
#: inc/core/shortcodes.php:1530
|
3611 |
#, php-format
|
3612 |
msgid ""
|
3613 |
"Incorrect time range (%s). Please use - (minus) symbol to specify time "
|
3626 |
msgid "Get more styles"
|
3627 |
msgstr ""
|
3628 |
|
3629 |
+
#: inc/core/tools.php:774
|
3630 |
msgid "Example code does not found, please check it later"
|
3631 |
msgstr ""
|
3632 |
|
3633 |
+
#: inc/core/tools.php:790
|
3634 |
msgid "Get the code"
|
3635 |
msgstr ""
|
3636 |
|
3637 |
+
#: inc/core/tools.php:864
|
3638 |
msgid "Slide link"
|
3639 |
msgstr ""
|
3640 |
|
3641 |
+
#: inc/core/tools.php:867
|
3642 |
msgid ""
|
3643 |
"Use this field to add custom links to slides used with Slider, Carousel and "
|
3644 |
"Custom Gallery shortcodes"
|
3689 |
msgid "Plugin Settings"
|
3690 |
msgstr ""
|
3691 |
|
3692 |
+
#: inc/vendor/sunrise.php:180
|
3693 |
msgid "Use selected file"
|
3694 |
msgstr ""
|
3695 |
|
3696 |
+
#: inc/vendor/sunrise.php:372
|
3697 |
msgid "Save changes"
|
3698 |
msgstr ""
|
3699 |
|
3700 |
+
#: inc/vendor/sunrise.php:372
|
3701 |
msgid "Saving"
|
3702 |
msgstr ""
|
3703 |
|
3704 |
+
#: inc/vendor/sunrise.php:372
|
3705 |
msgid "Saved"
|
3706 |
msgstr ""
|
3707 |
|
3708 |
+
#: inc/vendor/sunrise.php:372
|
3709 |
msgid ""
|
3710 |
"This action will delete all your settings. Are you sure? This action cannot "
|
3711 |
"be undone!"
|
3712 |
msgstr ""
|
3713 |
|
3714 |
+
#: inc/vendor/sunrise.php:372
|
3715 |
msgid "Restore default settings"
|
3716 |
msgstr ""
|
3717 |
|
3718 |
+
#: inc/vendor/sunrise.php:379 inc/vendor/sunrise.php:388
|
3719 |
+
#: inc/vendor/sunrise.php:397 inc/vendor/sunrise.php:447
|
3720 |
msgid "Text field"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
+
#: inc/vendor/sunrise.php:409
|
3724 |
msgid "Textarea field"
|
3725 |
msgstr ""
|
3726 |
|
3727 |
+
#: inc/vendor/sunrise.php:420 inc/vendor/sunrise.php:431
|
3728 |
msgid "Checkbox"
|
3729 |
msgstr ""
|
3730 |
|
3731 |
+
#: inc/vendor/sunrise.php:457
|
3732 |
msgid "Color picker"
|
3733 |
msgstr ""
|
3734 |
|
3735 |
+
#: inc/vendor/sunrise.php:465
|
3736 |
msgid "Pick a color"
|
3737 |
msgstr ""
|
3738 |
|
3739 |
+
#: inc/vendor/sunrise.php:489
|
3740 |
msgid ""
|
3741 |
"For full functionality of this page it is reccomended to enable javascript."
|
3742 |
msgstr ""
|
3743 |
|
3744 |
+
#: inc/vendor/sunrise.php:490
|
3745 |
msgid "Settings saved successfully"
|
3746 |
msgstr ""
|
3747 |
|
3748 |
+
#: inc/vendor/sunrise.php:491
|
3749 |
msgid "Settings reseted successfully"
|
3750 |
msgstr ""
|
3751 |
|
3752 |
+
#: inc/vendor/sunrise.php:520
|
3753 |
#, php-format
|
3754 |
msgid "option type %s is not callable"
|
3755 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: madfork, gn_themes
|
3 |
License: GPL
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMA2VA7JDXWDY
|
5 |
-
Tags: shortcode, shortcodes, short code, video, responsive, responsive video, youtube, vimeo, audio, mp3, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordion, slider, plugin, admin, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, guests, membership, documents, carousel, rss, touch, icon, icons
|
6 |
Requires at least: 3.5
|
7 |
Tested up to: 5.0
|
8 |
Stable tag: trunk
|
@@ -22,13 +22,17 @@ With this plugin you can easily create tabs, buttons, boxes, different sliders,
|
|
22 |
* __[Shortcode Creator](http://gndev.info/shortcodes-ultimate/maker/)__ - allows you to create your own custom shortcodes
|
23 |
|
24 |
= Features =
|
25 |
-
* Shortcode Generator
|
26 |
* 50+ amazing shortcodes
|
27 |
-
*
|
28 |
-
*
|
29 |
-
*
|
30 |
-
*
|
31 |
-
*
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
= Demo video =
|
34 |
[youtube http://www.youtube.com/watch?v=h5hlJb0mSSY]
|
@@ -70,10 +74,8 @@ Have a translation? [Contact me](http://gndev.info/feedback/)
|
|
70 |
* Dmitry Semenov - [Magnific Popup jQuery plugin](http://dimsemenov.com/plugins/magnific-popup/)
|
71 |
* Craig Thompson - [qTip jQuery plugin](http://qtip2.com/)
|
72 |
* Vladimir Kharlampidi - [Swiper jQuery plugin](http://www.idangero.us/sliders/swiper/)
|
73 |
-
* Designmodo - [Flat UI Free icons](http://designmodo.com/)
|
74 |
* Dave Gandy - [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
|
75 |
* James Smith - [Simple Slider jQuery plugin](http://loopj.com/jquery-simple-slider/)
|
76 |
-
* Kevin Batdorf - [Liquid Slider jQuery plugin](http://liquidslider.com)
|
77 |
|
78 |
|
79 |
== Installation ==
|
@@ -107,6 +109,16 @@ Upgrade normally
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
= 4.9.4 =
|
111 |
* Updated: Japanese translation
|
112 |
* Updated: Polish translation
|
2 |
Contributors: madfork, gn_themes
|
3 |
License: GPL
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMA2VA7JDXWDY
|
5 |
+
Tags: shortcode, shortcodes, short code, video, responsive, responsive video, youtube, vimeo, audio, mp3, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordion, slider, plugin, admin, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, guests, membership, documents, carousel, rss, touch, icon, icons, trl, right-to-left, multilingual, lang, international
|
6 |
Requires at least: 3.5
|
7 |
Tested up to: 5.0
|
8 |
Stable tag: trunk
|
22 |
* __[Shortcode Creator](http://gndev.info/shortcodes-ultimate/maker/)__ - allows you to create your own custom shortcodes
|
23 |
|
24 |
= Features =
|
|
|
25 |
* 50+ amazing shortcodes
|
26 |
+
* Shortcode Generator
|
27 |
+
* Modern design
|
28 |
+
* Fully responsive
|
29 |
+
* CSS3-powered
|
30 |
+
* Custom CSS editor
|
31 |
+
* Custom widget
|
32 |
+
* Multilingual
|
33 |
+
* RTL support
|
34 |
+
* Works with any theme
|
35 |
+
* Easily extendable
|
36 |
|
37 |
= Demo video =
|
38 |
[youtube http://www.youtube.com/watch?v=h5hlJb0mSSY]
|
74 |
* Dmitry Semenov - [Magnific Popup jQuery plugin](http://dimsemenov.com/plugins/magnific-popup/)
|
75 |
* Craig Thompson - [qTip jQuery plugin](http://qtip2.com/)
|
76 |
* Vladimir Kharlampidi - [Swiper jQuery plugin](http://www.idangero.us/sliders/swiper/)
|
|
|
77 |
* Dave Gandy - [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
|
78 |
* James Smith - [Simple Slider jQuery plugin](http://loopj.com/jquery-simple-slider/)
|
|
|
79 |
|
80 |
|
81 |
== Installation ==
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 4.9.5 =
|
113 |
+
* Added: basic RTL support
|
114 |
+
* Fixed: JS error (blocking shortcodes settings) on WordPress 3.5
|
115 |
+
* Fixed: minor improvement for slider/gallery posts query. [Forum topic](https://wordpress.org/support/topic/slider-code-suggestion)
|
116 |
+
* Fixed: minor imrovements on [quote], fixed markup bug for long values in cite, thanks to [Anatoly Yumashev](http://systemo.biz/)
|
117 |
+
* Added: completely redesigned search feature. Now it's like a Google, but for shortcodes =)
|
118 |
+
* Added: Insert shortcode popup window hotkey. So now, you can open Insert shortcode window, choose shortcode and insert it with just one click
|
119 |
+
* Updated: new demo video at plugin settings page (About tab)
|
120 |
+
* Updated: new plugin's banner and icon
|
121 |
+
|
122 |
= 4.9.4 =
|
123 |
* Updated: Japanese translation
|
124 |
* Updated: Polish translation
|
shortcodes-ultimate.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://gndev.info/shortcodes-ultimate/
|
5 |
-
Version: 4.9.
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://gndev.info/
|
8 |
Description: Supercharge your WordPress theme with mega pack of shortcodes
|
@@ -13,7 +13,7 @@
|
|
13 |
|
14 |
// Define plugin constants
|
15 |
define( 'SU_PLUGIN_FILE', __FILE__ );
|
16 |
-
define( 'SU_PLUGIN_VERSION', '4.9.
|
17 |
define( 'SU_ENABLE_CACHE', true );
|
18 |
|
19 |
// Includes
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://gndev.info/shortcodes-ultimate/
|
5 |
+
Version: 4.9.5
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://gndev.info/
|
8 |
Description: Supercharge your WordPress theme with mega pack of shortcodes
|
13 |
|
14 |
// Define plugin constants
|
15 |
define( 'SU_PLUGIN_FILE', __FILE__ );
|
16 |
+
define( 'SU_PLUGIN_VERSION', '4.9.5' );
|
17 |
define( 'SU_ENABLE_CACHE', true );
|
18 |
|
19 |
// Includes
|