Version Description
- Core: Updated styling to suit WP 3.8
- Core: Added new logic to set 'autoload' to 'off' on all values saved to the wp_options table to help improve load speed
- API: Added new logic to the $post_id parameter to accept an object of type post, user or taxonomy term
- Tab field: Added compatibility with taxonomy term and user edit screens (table layout)
- Tab field: Fixed JS bug causing incorrect tab to show when validation fails
- Text field: Fixed bug causing append setting of '+50' to appear as '50'
Download this release
Release Info
Developer | elliotcondon |
Plugin | Advanced Custom Fields |
Version | 4.3.3 |
Comparing to | |
See all releases |
Code changes from version 4.3.2 to 4.3.3
- acf.php +23 -5
- core/controllers/field_groups.php +2 -6
- core/fields/_functions.php +39 -2
- core/fields/date_picker/style.date_picker.css +3 -14
- core/fields/tab.php +1 -1
- core/views/meta_box_options.php +4 -4
- css/acf.css +3 -23
- css/field-group.css +114 -130
- css/global.css +74 -105
- css/input.css +41 -34
- js/field-group.js +1 -1
- js/field-group.min.js +1 -1
- js/input.js +198 -135
- js/input.min.js +2 -2
- lang/acf-ru_RU.mo +0 -0
- lang/acf-ru_RU.po +738 -498
- lang/acf.pot +99 -107
- readme.txt +9 -1
acf.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: http://www.advancedcustomfields.com/
|
5 |
Description: Fully customise WordPress edit screens with powerful fields. Boasting a professional interface and a powerfull API, it’s a must have for any web developer working with WordPress. Field types include: Wysiwyg, text, textarea, image, file, select, checkbox, page link, post object, date picker, color picker, repeater, flexible content, gallery and more!
|
6 |
-
Version: 4.3.
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
License: GPL
|
@@ -43,7 +43,7 @@ class acf
|
|
43 |
'path' => apply_filters('acf/helpers/get_path', __FILE__),
|
44 |
'dir' => apply_filters('acf/helpers/get_dir', __FILE__),
|
45 |
'hook' => basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ),
|
46 |
-
'version' => '4.3.
|
47 |
'upgrade_version' => '3.4.1',
|
48 |
);
|
49 |
|
@@ -178,6 +178,24 @@ class acf
|
|
178 |
}
|
179 |
|
180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
/*
|
182 |
* Override for preview
|
183 |
*
|
@@ -290,10 +308,10 @@ class acf
|
|
290 |
// numbers
|
291 |
if( is_numeric($value) )
|
292 |
{
|
293 |
-
//
|
294 |
-
if(
|
295 |
{
|
296 |
-
// leave
|
297 |
//$value = floatval( $value );
|
298 |
}
|
299 |
else
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: http://www.advancedcustomfields.com/
|
5 |
Description: Fully customise WordPress edit screens with powerful fields. Boasting a professional interface and a powerfull API, it’s a must have for any web developer working with WordPress. Field types include: Wysiwyg, text, textarea, image, file, select, checkbox, page link, post object, date picker, color picker, repeater, flexible content, gallery and more!
|
6 |
+
Version: 4.3.3
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
License: GPL
|
43 |
'path' => apply_filters('acf/helpers/get_path', __FILE__),
|
44 |
'dir' => apply_filters('acf/helpers/get_dir', __FILE__),
|
45 |
'hook' => basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ),
|
46 |
+
'version' => '4.3.3',
|
47 |
'upgrade_version' => '3.4.1',
|
48 |
);
|
49 |
|
178 |
}
|
179 |
|
180 |
|
181 |
+
// object
|
182 |
+
if( is_object($post_id) )
|
183 |
+
{
|
184 |
+
if( isset($post_id->roles, $post_id->ID) )
|
185 |
+
{
|
186 |
+
$post_id = 'user_' . $post_id->ID;
|
187 |
+
}
|
188 |
+
elseif( isset($post_id->taxonomy, $post_id->term_id) )
|
189 |
+
{
|
190 |
+
$post_id = $post_id->taxonomy . '_' . $post_id->term_id;
|
191 |
+
}
|
192 |
+
elseif( isset($post_id->ID) )
|
193 |
+
{
|
194 |
+
$post_id = $post_id->ID;
|
195 |
+
}
|
196 |
+
}
|
197 |
+
|
198 |
+
|
199 |
/*
|
200 |
* Override for preview
|
201 |
*
|
308 |
// numbers
|
309 |
if( is_numeric($value) )
|
310 |
{
|
311 |
+
// check for non numeric characters
|
312 |
+
if( preg_match('/[^0-9]/', $value) )
|
313 |
{
|
314 |
+
// leave value if it contains such characters: . + - e
|
315 |
//$value = floatval( $value );
|
316 |
}
|
317 |
else
|
core/controllers/field_groups.php
CHANGED
@@ -211,7 +211,7 @@ class acf_field_groups
|
|
211 |
|
212 |
<div class="wp-box">
|
213 |
<div class="inner">
|
214 |
-
<
|
215 |
|
216 |
<h3><?php _e("Changelog",'acf'); ?></h3>
|
217 |
<p><?php _e("See what's new in",'acf'); ?> <a href="<?php echo admin_url('edit.php?post_type=acf&info=changelog'); ?>"><?php _e("version",'acf'); ?> <?php echo $version; ?></a>
|
@@ -228,13 +228,9 @@ class acf_field_groups
|
|
228 |
</ul>
|
229 |
</div>
|
230 |
<div class="footer footer-blue">
|
231 |
-
<ul class="
|
232 |
<li><?php _e("Created by",'acf'); ?> Elliot Condon</li>
|
233 |
</ul>
|
234 |
-
<ul class="right hl">
|
235 |
-
<li><a href="http://wordpress.org/extend/plugins/advanced-custom-fields/"><?php _e("Vote",'acf'); ?></a></li>
|
236 |
-
<li><a href="http://twitter.com/elliotcondon"><?php _e("Follow",'acf'); ?></a></li>
|
237 |
-
</ul>
|
238 |
</div>
|
239 |
</div>
|
240 |
</div>
|
211 |
|
212 |
<div class="wp-box">
|
213 |
<div class="inner">
|
214 |
+
<h2><?php _e("Advanced Custom Fields",'acf'); ?> <?php echo $version; ?></h2>
|
215 |
|
216 |
<h3><?php _e("Changelog",'acf'); ?></h3>
|
217 |
<p><?php _e("See what's new in",'acf'); ?> <a href="<?php echo admin_url('edit.php?post_type=acf&info=changelog'); ?>"><?php _e("version",'acf'); ?> <?php echo $version; ?></a>
|
228 |
</ul>
|
229 |
</div>
|
230 |
<div class="footer footer-blue">
|
231 |
+
<ul class="hl">
|
232 |
<li><?php _e("Created by",'acf'); ?> Elliot Condon</li>
|
233 |
</ul>
|
|
|
|
|
|
|
|
|
234 |
</div>
|
235 |
</div>
|
236 |
</div>
|
core/fields/_functions.php
CHANGED
@@ -217,8 +217,8 @@ class acf_field_functions
|
|
217 |
// update_option -> http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/option.php#L0: line 215 (does not use stripslashes_deep)
|
218 |
$value = stripslashes_deep($value);
|
219 |
|
220 |
-
update_option( $post_id . '_' . $field['name'], $value );
|
221 |
-
update_option( '_' . $post_id . '_' . $field['name'], $field['key'] );
|
222 |
}
|
223 |
|
224 |
|
@@ -228,6 +228,43 @@ class acf_field_functions
|
|
228 |
}
|
229 |
|
230 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
/*
|
232 |
* delete_value
|
233 |
*
|
217 |
// update_option -> http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/option.php#L0: line 215 (does not use stripslashes_deep)
|
218 |
$value = stripslashes_deep($value);
|
219 |
|
220 |
+
$this->update_option( $post_id . '_' . $field['name'], $value );
|
221 |
+
$this->update_option( '_' . $post_id . '_' . $field['name'], $field['key'] );
|
222 |
}
|
223 |
|
224 |
|
228 |
}
|
229 |
|
230 |
|
231 |
+
/*
|
232 |
+
* update_option
|
233 |
+
*
|
234 |
+
* This function is a wrapper for the WP update_option but provides logic for a 'no' autoload
|
235 |
+
*
|
236 |
+
* @type function
|
237 |
+
* @date 4/01/2014
|
238 |
+
* @since 5.0.0
|
239 |
+
*
|
240 |
+
* @param $option (string)
|
241 |
+
* @param $value (mixed)
|
242 |
+
* @return (boolean)
|
243 |
+
*/
|
244 |
+
|
245 |
+
function update_option( $option = '', $value = false, $autoload = 'no' ) {
|
246 |
+
|
247 |
+
// vars
|
248 |
+
$deprecated = '';
|
249 |
+
$return = false;
|
250 |
+
|
251 |
+
|
252 |
+
if( get_option($option) !== false )
|
253 |
+
{
|
254 |
+
$return = update_option( $option, $value );
|
255 |
+
}
|
256 |
+
else
|
257 |
+
{
|
258 |
+
$return = add_option( $option, $value, $deprecated, $autoload );
|
259 |
+
}
|
260 |
+
|
261 |
+
|
262 |
+
// return
|
263 |
+
return $return;
|
264 |
+
|
265 |
+
}
|
266 |
+
|
267 |
+
|
268 |
/*
|
269 |
* delete_value
|
270 |
*
|
core/fields/date_picker/style.date_picker.css
CHANGED
@@ -67,12 +67,7 @@
|
|
67 |
}
|
68 |
.ui-acf .ui-widget-content a { color: #222222; }
|
69 |
.ui-acf .ui-widget-header {
|
70 |
-
background: #
|
71 |
-
background-image: -webkit-gradient(linear, left top, left bottom, from(#2c8bbe), to(#246f99)); /* Safari 4+, Chrome */
|
72 |
-
background-image: -webkit-linear-gradient(top, #2c8bbe, #246f99); /* Chrome 10+, Safari 5.1+, iOS 5+ */
|
73 |
-
background-image: -moz-linear-gradient(top, #2c8bbe, #246f99); /* Firefox 3.6-15 */
|
74 |
-
background-image: -o-linear-gradient(top, #2c8bbe, #246f99); /* Opera 11.10+ */
|
75 |
-
background-image: linear-gradient(to bottom, #2c8bbe, #246f99); /* Firefox 16+ */
|
76 |
color: #e5e5e5;
|
77 |
font-weight: bold;
|
78 |
border-radius: 0 !important;
|
@@ -407,15 +402,9 @@
|
|
407 |
}
|
408 |
|
409 |
.ui-acf .ui-datepicker .ui-state-active {
|
410 |
-
background: #
|
411 |
-
background-image: -webkit-gradient(linear, left top, left bottom, from(#2c8bbe), to(#246f99)); /* Safari 4+, Chrome */
|
412 |
-
background-image: -webkit-linear-gradient(top, #2c8bbe, #246f99); /* Chrome 10+, Safari 5.1+, iOS 5+ */
|
413 |
-
background-image: -moz-linear-gradient(top, #2c8bbe, #246f99); /* Firefox 3.6-15 */
|
414 |
-
background-image: -o-linear-gradient(top, #2c8bbe, #246f99); /* Opera 11.10+ */
|
415 |
-
background-image: linear-gradient(to bottom, #2c8bbe, #246f99); /* Firefox 16+ */
|
416 |
|
417 |
color: #FFFFFF;
|
418 |
-
|
419 |
-
border: #246f99 solid 1px;
|
420 |
|
421 |
}
|
67 |
}
|
68 |
.ui-acf .ui-widget-content a { color: #222222; }
|
69 |
.ui-acf .ui-widget-header {
|
70 |
+
background: #2EA2CC;
|
|
|
|
|
|
|
|
|
|
|
71 |
color: #e5e5e5;
|
72 |
font-weight: bold;
|
73 |
border-radius: 0 !important;
|
402 |
}
|
403 |
|
404 |
.ui-acf .ui-datepicker .ui-state-active {
|
405 |
+
background: #2EA2CC;
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
color: #FFFFFF;
|
408 |
+
border: #0074A2 solid 1px;
|
|
|
409 |
|
410 |
}
|
core/fields/tab.php
CHANGED
@@ -39,7 +39,7 @@ class acf_field_tab extends acf_field
|
|
39 |
|
40 |
function create_field( $field )
|
41 |
{
|
42 |
-
echo '<div class="acf-tab"
|
43 |
}
|
44 |
|
45 |
|
39 |
|
40 |
function create_field( $field )
|
41 |
{
|
42 |
+
echo '<div class="acf-tab">' . $field['label'] . '</div>';
|
43 |
}
|
44 |
|
45 |
|
core/views/meta_box_options.php
CHANGED
@@ -45,7 +45,7 @@ $options = apply_filters('acf/field_group/get_options', array(), $post->ID);
|
|
45 |
<?php
|
46 |
|
47 |
do_action('acf/create_field', array(
|
48 |
-
'type' => '
|
49 |
'name' => 'options[position]',
|
50 |
'value' => $options['position'],
|
51 |
'choices' => array(
|
@@ -67,12 +67,12 @@ $options = apply_filters('acf/field_group/get_options', array(), $post->ID);
|
|
67 |
<?php
|
68 |
|
69 |
do_action('acf/create_field', array(
|
70 |
-
'type' => '
|
71 |
'name' => 'options[layout]',
|
72 |
'value' => $options['layout'],
|
73 |
'choices' => array(
|
74 |
-
'no_box'
|
75 |
-
'default'
|
76 |
)
|
77 |
));
|
78 |
|
45 |
<?php
|
46 |
|
47 |
do_action('acf/create_field', array(
|
48 |
+
'type' => 'select',
|
49 |
'name' => 'options[position]',
|
50 |
'value' => $options['position'],
|
51 |
'choices' => array(
|
67 |
<?php
|
68 |
|
69 |
do_action('acf/create_field', array(
|
70 |
+
'type' => 'select',
|
71 |
'name' => 'options[layout]',
|
72 |
'value' => $options['layout'],
|
73 |
'choices' => array(
|
74 |
+
'no_box' => __("Seamless (no metabox)",'acf'),
|
75 |
+
'default' => __("Standard (WP metabox)",'acf'),
|
76 |
)
|
77 |
));
|
78 |
|
css/acf.css
CHANGED
@@ -9,7 +9,8 @@
|
|
9 |
}
|
10 |
|
11 |
#acf-cols {
|
12 |
-
position: relative;
|
|
|
13 |
}
|
14 |
|
15 |
#acf-col-left {
|
@@ -45,27 +46,6 @@
|
|
45 |
padding-top: 37px !important;
|
46 |
}
|
47 |
|
48 |
-
h3.h2 {
|
49 |
-
font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
|
50 |
-
font-size: 25px;
|
51 |
-
line-height: 29px;
|
52 |
-
padding: 5px 0 4px 0;
|
53 |
-
margin: 0;
|
54 |
-
font-weight: normal;
|
55 |
-
}
|
56 |
-
|
57 |
-
h3.h2 span {
|
58 |
-
color: #ccc;
|
59 |
-
}
|
60 |
-
|
61 |
-
#acf-col-left .wp-list-table {
|
62 |
-
border-radius: 0;
|
63 |
-
border: 1px solid #E1E1E1;
|
64 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
65 |
-
}
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
.acf-form-table {
|
70 |
max-width: 1100px;
|
71 |
}
|
@@ -159,7 +139,7 @@ body.custom-fields_page_acf-settings .wp-pointer-arrow {
|
|
159 |
}
|
160 |
|
161 |
#add-ons .add-on .inner {
|
162 |
-
min-height:
|
163 |
}
|
164 |
|
165 |
#add-ons .add-on-active .button {
|
9 |
}
|
10 |
|
11 |
#acf-cols {
|
12 |
+
position: relative;
|
13 |
+
clear: both;
|
14 |
}
|
15 |
|
16 |
#acf-col-left {
|
46 |
padding-top: 37px !important;
|
47 |
}
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
.acf-form-table {
|
50 |
max-width: 1100px;
|
51 |
}
|
139 |
}
|
140 |
|
141 |
#add-ons .add-on .inner {
|
142 |
+
min-height: 105px;
|
143 |
}
|
144 |
|
145 |
#add-ons .add-on-active .button {
|
css/field-group.css
CHANGED
@@ -4,18 +4,71 @@
|
|
4 |
*
|
5 |
*---------------------------------------------------------------------------------------------*/
|
6 |
|
|
|
7 |
#titlediv {
|
8 |
margin-bottom: 20px;
|
9 |
}
|
10 |
-
|
11 |
-
#icon-edit {
|
12 |
-
background: url(../images/sprite.png) 0 0 no-repeat;
|
13 |
-
}
|
14 |
|
15 |
#message p a {
|
16 |
display: none;
|
17 |
}
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
.postbox#acf_fields {
|
20 |
border: 0 none;
|
21 |
}
|
@@ -37,30 +90,6 @@
|
|
37 |
text-decoration: none;
|
38 |
}
|
39 |
|
40 |
-
#minor-publishing-actions,
|
41 |
-
#misc-publishing-actions #visibility,
|
42 |
-
#misc-publishing-actions .curtime {
|
43 |
-
display: none;
|
44 |
-
}
|
45 |
-
|
46 |
-
#minor-publishing {
|
47 |
-
border-bottom: 0 none;
|
48 |
-
}
|
49 |
-
#misc-pub-section {
|
50 |
-
border-bottom: 0 none;
|
51 |
-
}
|
52 |
-
|
53 |
-
#misc-publishing-actions .misc-pub-section {
|
54 |
-
border-bottom-color: #F5F5F5;
|
55 |
-
}
|
56 |
-
|
57 |
-
.postbox {
|
58 |
-
background: #FFFFFF;
|
59 |
-
border: 1px solid #E1E1E1;
|
60 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
61 |
-
position: relative;
|
62 |
-
border-radius: 0;
|
63 |
-
}
|
64 |
|
65 |
|
66 |
/*---------------------------------------------------------------------------------------------
|
@@ -94,7 +123,7 @@ table.widefat.acf td {
|
|
94 |
|
95 |
.acf tr td.field_order,
|
96 |
.acf tr th.field_order {
|
97 |
-
|
98 |
}
|
99 |
|
100 |
.acf tr td.field_order {
|
@@ -162,6 +191,10 @@ table.widefat.acf td {
|
|
162 |
border-bottom: 0 none;
|
163 |
}
|
164 |
|
|
|
|
|
|
|
|
|
165 |
|
166 |
/*---------------------------------------------------------------------------------------------
|
167 |
*
|
@@ -175,9 +208,14 @@ table.widefat.acf td {
|
|
175 |
|
176 |
#acf_fields .field .field_meta {
|
177 |
border: #DFDFDF solid 1px;
|
|
|
178 |
border-top: 0 none;
|
179 |
}
|
180 |
|
|
|
|
|
|
|
|
|
181 |
#acf_fields .field .field_meta strong {
|
182 |
display: block;
|
183 |
padding-bottom: 6px;
|
@@ -196,16 +234,21 @@ table.widefat.acf td {
|
|
196 |
}
|
197 |
|
198 |
#acf_fields .field.form_open > .field_meta {
|
199 |
-
|
200 |
-
background
|
201 |
-
background-image: -webkit-
|
202 |
-
background-image:
|
203 |
-
background-image:
|
204 |
-
background-image:
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
color: #fff;
|
206 |
-
|
207 |
-
|
208 |
-
border-color: #21759B #21759B #1E6A8D;
|
209 |
}
|
210 |
|
211 |
#acf_fields .field.form_open > .field_meta td,
|
@@ -213,36 +256,33 @@ table.widefat.acf td {
|
|
213 |
color: inherit;
|
214 |
}
|
215 |
|
216 |
-
#acf_fields .field.form_open > .field_meta a:hover {
|
217 |
-
color: #ff8a4f;
|
218 |
-
}
|
219 |
-
|
220 |
#acf_fields .fields .field .field_meta .circle {
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
|
|
|
|
238 |
}
|
239 |
|
240 |
#acf_fields .field.form_open > .field_meta .circle {
|
241 |
-
|
242 |
-
|
243 |
}
|
244 |
|
245 |
-
|
246 |
.fields {
|
247 |
position: relative;
|
248 |
background: #FCFCFC;
|
@@ -251,12 +291,11 @@ table.widefat.acf td {
|
|
251 |
.fields .field {
|
252 |
position: relative;
|
253 |
overflow: hidden;
|
254 |
-
background: #
|
255 |
}
|
256 |
|
257 |
#acf_fields .ui-sortable-helper {
|
258 |
-
box-shadow: 0 1px
|
259 |
-
background: #fff;
|
260 |
}
|
261 |
|
262 |
#acf_fields .ui-sortable-placeholder {
|
@@ -269,9 +308,11 @@ table.widefat.acf td {
|
|
269 |
background: rgba(0,0,0,0.075);
|
270 |
}
|
271 |
|
|
|
272 |
.fields .field:nth-child(even) {
|
273 |
-
background: #
|
274 |
}
|
|
|
275 |
|
276 |
.fields .field_key-field_clone {
|
277 |
display: none;
|
@@ -286,9 +327,10 @@ table.widefat.acf td {
|
|
286 |
}
|
287 |
|
288 |
.fields .field.ui-sortable-placeholder {
|
289 |
-
|
290 |
-
|
291 |
-
|
|
|
292 |
}
|
293 |
|
294 |
|
@@ -313,7 +355,7 @@ table.widefat.acf td {
|
|
313 |
padding: 8px;
|
314 |
background: #EAF2FA;
|
315 |
border: #c7d7e2 solid 1px;
|
316 |
-
|
317 |
}
|
318 |
|
319 |
#acf_fields .table_footer .order_message {
|
@@ -321,7 +363,7 @@ table.widefat.acf td {
|
|
321 |
color: #7A9BBE;
|
322 |
float: left;
|
323 |
font-family: Comic Sans MS, sans-serif;
|
324 |
-
font-size:
|
325 |
height: 13px;
|
326 |
line-height: 1em;
|
327 |
margin: 2px 0 0 11px;
|
@@ -465,6 +507,7 @@ table.acf_input tr td .acf tr td {
|
|
465 |
|
466 |
#acf_location .location-group td.remove {
|
467 |
width: 18px;
|
|
|
468 |
}
|
469 |
|
470 |
#acf_location .location-group tr .location-remove-rule {
|
@@ -554,65 +597,6 @@ ul.acf-checkbox-list li input {
|
|
554 |
}
|
555 |
|
556 |
|
557 |
-
|
558 |
-
/*---------------------------------------------------------------------------------------------
|
559 |
-
*
|
560 |
-
* Publish Metabox
|
561 |
-
*
|
562 |
-
*---------------------------------------------------------------------------------------------*/
|
563 |
-
|
564 |
-
.postbox {
|
565 |
-
min-width: 200px;
|
566 |
-
}
|
567 |
-
|
568 |
-
.inner-sidebar #side-sortables,
|
569 |
-
.columns-2 .inner-sidebar #side-sortables {
|
570 |
-
width: 200px;
|
571 |
-
}
|
572 |
-
|
573 |
-
.has-right-sidebar #side-info-column {
|
574 |
-
width: 200px;
|
575 |
-
}
|
576 |
-
|
577 |
-
.has-right-sidebar #post-body-content {
|
578 |
-
margin-right: 220px;
|
579 |
-
}
|
580 |
-
|
581 |
-
#submitdiv .acf-button {
|
582 |
-
width: 100%;
|
583 |
-
}
|
584 |
-
|
585 |
-
#submitdiv a.acf-button {
|
586 |
-
width: auto;
|
587 |
-
margin: 0 0 10px;
|
588 |
-
}
|
589 |
-
|
590 |
-
#submitdiv #delete-action {
|
591 |
-
float: none;
|
592 |
-
margin: 0 0 5px;
|
593 |
-
}
|
594 |
-
#submitdiv #publishing-action {
|
595 |
-
float: none;
|
596 |
-
}
|
597 |
-
#submitdiv #publishing-action img {
|
598 |
-
display: none;
|
599 |
-
}
|
600 |
-
|
601 |
-
#major-publishing-actions {
|
602 |
-
border-top: 0 none;
|
603 |
-
}
|
604 |
-
|
605 |
-
.delete-field-group {
|
606 |
-
color: #BC0B0B;
|
607 |
-
text-decoration: none;
|
608 |
-
}
|
609 |
-
|
610 |
-
.delete-field-group:hover {
|
611 |
-
color: #f00;
|
612 |
-
}
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
/*---------------------------------------------------------------------------------------------
|
617 |
*
|
618 |
* Select with Optgroup
|
4 |
*
|
5 |
*---------------------------------------------------------------------------------------------*/
|
6 |
|
7 |
+
/*
|
8 |
#titlediv {
|
9 |
margin-bottom: 20px;
|
10 |
}
|
11 |
+
*/
|
|
|
|
|
|
|
12 |
|
13 |
#message p a {
|
14 |
display: none;
|
15 |
}
|
16 |
|
17 |
+
|
18 |
+
/*---------------------------------------------------------------------------------------------
|
19 |
+
*
|
20 |
+
* Postbox: Publish
|
21 |
+
*
|
22 |
+
*---------------------------------------------------------------------------------------------*/
|
23 |
+
|
24 |
+
#minor-publishing-actions,
|
25 |
+
#misc-publishing-actions #visibility,
|
26 |
+
#misc-publishing-actions .curtime {
|
27 |
+
display: none;
|
28 |
+
}
|
29 |
+
|
30 |
+
#minor-publishing {
|
31 |
+
border-bottom: 0 none;
|
32 |
+
}
|
33 |
+
#misc-pub-section {
|
34 |
+
border-bottom: 0 none;
|
35 |
+
}
|
36 |
+
|
37 |
+
#misc-publishing-actions .misc-pub-section {
|
38 |
+
border-bottom-color: #F5F5F5;
|
39 |
+
}
|
40 |
+
|
41 |
+
#submitdiv .acf-button {
|
42 |
+
width: 100%;
|
43 |
+
}
|
44 |
+
|
45 |
+
#submitdiv #delete-action {
|
46 |
+
float: none;
|
47 |
+
margin: 0 0 5px;
|
48 |
+
}
|
49 |
+
|
50 |
+
#submitdiv #publishing-action {
|
51 |
+
float: none;
|
52 |
+
}
|
53 |
+
|
54 |
+
#submitdiv #publishing-action img {
|
55 |
+
display: none;
|
56 |
+
}
|
57 |
+
|
58 |
+
#delete-action .delete-field-group {
|
59 |
+
color: #BC0B0B;
|
60 |
+
text-decoration: none;
|
61 |
+
}
|
62 |
+
|
63 |
+
#delete-action .delete-field-group:hover {
|
64 |
+
color: #f00;
|
65 |
+
}
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
.postbox#acf_fields {
|
73 |
border: 0 none;
|
74 |
}
|
90 |
text-decoration: none;
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
|
95 |
/*---------------------------------------------------------------------------------------------
|
123 |
|
124 |
.acf tr td.field_order,
|
125 |
.acf tr th.field_order {
|
126 |
+
text-indent: 5px;
|
127 |
}
|
128 |
|
129 |
.acf tr td.field_order {
|
191 |
border-bottom: 0 none;
|
192 |
}
|
193 |
|
194 |
+
.fields_header th {
|
195 |
+
font-weight: bold;
|
196 |
+
}
|
197 |
+
|
198 |
|
199 |
/*---------------------------------------------------------------------------------------------
|
200 |
*
|
208 |
|
209 |
#acf_fields .field .field_meta {
|
210 |
border: #DFDFDF solid 1px;
|
211 |
+
border-bottom-color: #F0F0F0;
|
212 |
border-top: 0 none;
|
213 |
}
|
214 |
|
215 |
+
#acf_fields .field .field_meta td {
|
216 |
+
padding: 10px 8px;
|
217 |
+
}
|
218 |
+
|
219 |
#acf_fields .field .field_meta strong {
|
220 |
display: block;
|
221 |
padding-bottom: 6px;
|
234 |
}
|
235 |
|
236 |
#acf_fields .field.form_open > .field_meta {
|
237 |
+
|
238 |
+
background: #3595BC;
|
239 |
+
background-image: -webkit-gradient(linear, left top, left bottom, from(#46AFDB), to(#3199C5)); /* Safari 4+, Chrome */
|
240 |
+
background-image: -webkit-linear-gradient(top, #46AFDB, #3199C5); /* Chrome 10+, Safari 5.1+, iOS 5+ */
|
241 |
+
background-image: -moz-linear-gradient(top, #46AFDB, #3199C5); /* Firefox 3.6-15 */
|
242 |
+
background-image: -o-linear-gradient(top, #46AFDB, #3199C5); /* Opera 11.10+ */
|
243 |
+
background-image: linear-gradient(to bottom, #46AFDB, #3199C5); /* Firefox 16+ */
|
244 |
+
|
245 |
+
border: #268FBB solid 1px;
|
246 |
+
text-shadow: #268FBB 0 1px 0;
|
247 |
+
box-shadow: inset #5FC8F4 0 1px 0 0;
|
248 |
+
|
249 |
color: #fff;
|
250 |
+
|
251 |
+
position: relative;
|
|
|
252 |
}
|
253 |
|
254 |
#acf_fields .field.form_open > .field_meta td,
|
256 |
color: inherit;
|
257 |
}
|
258 |
|
|
|
|
|
|
|
|
|
259 |
#acf_fields .fields .field .field_meta .circle {
|
260 |
+
|
261 |
+
background: transparent;
|
262 |
+
cursor: move;
|
263 |
+
margin: 2px 0 0;
|
264 |
+
|
265 |
+
border: 1px solid #BBBBBB;
|
266 |
+
border-radius: 12px;
|
267 |
+
display: block;
|
268 |
+
font-size: 12px;
|
269 |
+
height: 22px;
|
270 |
+
line-height: 22px;
|
271 |
+
overflow: hidden;
|
272 |
+
position: relative;
|
273 |
+
text-align: center;
|
274 |
+
width: 22px;
|
275 |
+
|
276 |
+
line-height: 23px;
|
277 |
+
text-indent: 0;
|
278 |
+
margin-left: 6px;
|
279 |
}
|
280 |
|
281 |
#acf_fields .field.form_open > .field_meta .circle {
|
282 |
+
color: #fff;
|
283 |
+
border-color: #fff;
|
284 |
}
|
285 |
|
|
|
286 |
.fields {
|
287 |
position: relative;
|
288 |
background: #FCFCFC;
|
291 |
.fields .field {
|
292 |
position: relative;
|
293 |
overflow: hidden;
|
294 |
+
background: #fff;
|
295 |
}
|
296 |
|
297 |
#acf_fields .ui-sortable-helper {
|
298 |
+
box-shadow: 0 1px 4px rgba(0,0,0,0.1);
|
|
|
299 |
}
|
300 |
|
301 |
#acf_fields .ui-sortable-placeholder {
|
308 |
background: rgba(0,0,0,0.075);
|
309 |
}
|
310 |
|
311 |
+
/*
|
312 |
.fields .field:nth-child(even) {
|
313 |
+
background: #F9F9F9;
|
314 |
}
|
315 |
+
*/
|
316 |
|
317 |
.fields .field_key-field_clone {
|
318 |
display: none;
|
327 |
}
|
328 |
|
329 |
.fields .field.ui-sortable-placeholder {
|
330 |
+
background: #F9F9F9;
|
331 |
+
border: #DFDFDF solid 1px;
|
332 |
+
border-bottom-color: #F0F0F0;
|
333 |
+
border-top: 0 none;
|
334 |
}
|
335 |
|
336 |
|
355 |
padding: 8px;
|
356 |
background: #EAF2FA;
|
357 |
border: #c7d7e2 solid 1px;
|
358 |
+
margin-top: -1px;
|
359 |
}
|
360 |
|
361 |
#acf_fields .table_footer .order_message {
|
363 |
color: #7A9BBE;
|
364 |
float: left;
|
365 |
font-family: Comic Sans MS, sans-serif;
|
366 |
+
font-size: 12px;
|
367 |
height: 13px;
|
368 |
line-height: 1em;
|
369 |
margin: 2px 0 0 11px;
|
507 |
|
508 |
#acf_location .location-group td.remove {
|
509 |
width: 18px;
|
510 |
+
vertical-align: middle;
|
511 |
}
|
512 |
|
513 |
#acf_location .location-group tr .location-remove-rule {
|
597 |
}
|
598 |
|
599 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
600 |
/*---------------------------------------------------------------------------------------------
|
601 |
*
|
602 |
* Select with Optgroup
|
css/global.css
CHANGED
@@ -172,61 +172,65 @@ input.acf-is-prepended.acf-is-appended {
|
|
172 |
*--------------------------------------------------------------------------------------------*/
|
173 |
|
174 |
.wp-box {
|
175 |
-
background:
|
176 |
-
border: 1px solid #
|
177 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
178 |
position: relative;
|
|
|
179 |
}
|
|
|
180 |
.wp-box .title {
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
background
|
185 |
-
background-image: -o-linear-gradient(bottom, #ececec, #f9f9f9);
|
186 |
-
background-image: linear-gradient(to top, #ececec, #f9f9f9);
|
187 |
}
|
|
|
188 |
.wp-box .title h3 {
|
189 |
-
font-size:
|
190 |
-
|
191 |
-
line-height: 1;
|
192 |
margin: 0;
|
193 |
-
padding:
|
194 |
-
color: #464646;
|
195 |
-
border-bottom: #DFDFDF solid 1px;
|
196 |
-
box-shadow: 0 1px 0 #FFFFFF;
|
197 |
-
text-shadow: 0 1px 0 #FFFFFF;
|
198 |
-
font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
|
199 |
}
|
|
|
200 |
.wp-box .inner {
|
201 |
padding: 15px;
|
202 |
}
|
|
|
203 |
.wp-box .footer {
|
204 |
-
background:
|
205 |
border-top: 1px solid #E1E1E1;
|
206 |
overflow: hidden;
|
207 |
-
padding:
|
208 |
position: relative;
|
209 |
}
|
|
|
210 |
.wp-box .footer ul.left {
|
211 |
float: left;
|
212 |
}
|
|
|
213 |
.wp-box .footer ul li {
|
214 |
margin: 0;
|
215 |
padding: 0;
|
216 |
}
|
|
|
217 |
.wp-box .footer ul.left li {
|
218 |
margin-right: 10px;
|
219 |
}
|
|
|
220 |
.wp-box .footer ul.right {
|
221 |
float: right;
|
222 |
}
|
|
|
223 |
.wp-box .footer ul.right li {
|
224 |
margin-left: 10px;
|
225 |
}
|
226 |
|
227 |
.wp-box h2 {
|
228 |
-
|
229 |
-
|
|
|
|
|
|
|
230 |
}
|
231 |
|
232 |
.wp-box h3 {
|
@@ -262,15 +266,9 @@ input.acf-is-prepended.acf-is-appended {
|
|
262 |
}
|
263 |
|
264 |
.wp-box .footer-blue {
|
265 |
-
|
266 |
-
|
267 |
-
background-image: -webkit-linear-gradient(top, #8CC1E9, #72A7CF); /* Chrome 10+, Saf5.1+, iOS 5+ */
|
268 |
-
background-image: -moz-linear-gradient(top, #8CC1E9, #72A7CF); /* Firefox 3.6-15 */
|
269 |
-
background-image: -o-linear-gradient(top, #8CC1E9, #72A7CF); /* Opera 11.10+ */
|
270 |
-
background-image: linear-gradient(to bottom, #8CC1E9, #72A7CF); /* Firefox 16+ */
|
271 |
color: #FFFFFF;
|
272 |
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
|
273 |
-
|
274 |
overflow: hidden;
|
275 |
padding: 10px;
|
276 |
position: relative;
|
@@ -407,104 +405,75 @@ ul.acf-checkbox-list li input {
|
|
407 |
*
|
408 |
*--------------------------------------------------------------------------------------------*/
|
409 |
|
410 |
-
|
411 |
-
|
412 |
-
display: block;
|
413 |
border-radius: 3px;
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
background-image: -moz-linear-gradient(top, #2A95C5, #21759B); /* Firefox 3.6-15 */
|
423 |
-
background-image: -o-linear-gradient(top, #2A95C5, #21759B); /* Opera 11.10+ */
|
424 |
-
background-image: linear-gradient(to bottom, #2A95C5, #21759B); /* Firefox 16+ */
|
425 |
|
426 |
-
color: #
|
427 |
font-weight: normal;
|
428 |
-
text-shadow: 0 1px 0 rgba(0,0,0,0.5);
|
429 |
font-size: 13px;
|
430 |
-
line-height:
|
431 |
-
|
432 |
-
box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 0 rgba(120, 200, 230, 0.5) inset;
|
433 |
-
cursor: pointer;
|
434 |
-
position: relative;
|
435 |
-
text-align: center;
|
436 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
437 |
}
|
438 |
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
background-color: #3b97c9;
|
443 |
-
background-image: -webkit-gradient(linear, left top, left bottom, from(#3b97c9), to(#246f99)); /* Safari 4+, Chrome */
|
444 |
-
background-image: -webkit-linear-gradient(top, #3b97c9, #246f99); /* Chrome 10+, Safari 5.1+, iOS 5+ */
|
445 |
-
background-image: -moz-linear-gradient(top, #3b97c9, #246f99); /* Firefox 3.6-15 */
|
446 |
-
background-image: -o-linear-gradient(top, #3b97c9, #246f99); /* Opera 11.10+ */
|
447 |
-
background-image: linear-gradient(to bottom, #3b97c9, #246f99); /* Firefox 16+ */
|
448 |
-
|
449 |
-
border-color: #1B607F;
|
450 |
-
|
451 |
-
color: #FFFFFF;
|
452 |
-
|
453 |
-
box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 0 rgba(120, 200, 230, 0.6) inset;
|
454 |
}
|
455 |
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
}
|
462 |
|
463 |
-
|
464 |
-
|
465 |
-
border-color: #bbb;
|
466 |
-
text-shadow: 0 1px 0 #fff;
|
467 |
-
color: #454545;
|
468 |
-
|
469 |
-
box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 1px rgba(255, 255, 255, 1) inset;
|
470 |
-
|
471 |
-
background: #fff;
|
472 |
-
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ececec)); /* Safari 4+, Chrome */
|
473 |
-
background-image: -webkit-linear-gradient(top, #ffffff, #ececec); /* Chrome 10+, Safari 5.1+, iOS 5+ */
|
474 |
-
background-image: -moz-linear-gradient(top, #ffffff, #ececec); /* Firefox 3.6-15 */
|
475 |
-
background-image: -o-linear-gradient(top, #ffffff, #ececec); /* Opera 11.10+ */
|
476 |
-
background-image: linear-gradient(to bottom, #ffffff, #ececec); /* Firefox 16+ */
|
477 |
-
|
478 |
}
|
479 |
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
|
|
485 |
}
|
486 |
|
487 |
-
a.acf-button[disabled],
|
488 |
-
a.acf-button.disabled,
|
489 |
-
input[type="submit"].acf-button[disabled] {
|
490 |
-
opacity: 0.7;
|
491 |
-
}
|
492 |
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
}
|
498 |
|
499 |
-
|
500 |
-
|
501 |
-
padding: 13px;
|
502 |
}
|
503 |
|
504 |
-
|
505 |
-
|
|
|
|
|
|
|
|
|
|
|
506 |
}
|
507 |
|
|
|
508 |
/*--------------------------------------------------------------------------
|
509 |
*
|
510 |
* ACF add / remove
|
172 |
*--------------------------------------------------------------------------------------------*/
|
173 |
|
174 |
.wp-box {
|
175 |
+
background: #FFFFFF;
|
176 |
+
border: 1px solid #E5E5E5;
|
|
|
177 |
position: relative;
|
178 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
179 |
}
|
180 |
+
|
181 |
.wp-box .title {
|
182 |
+
border-bottom: 1px solid #EEEEEE;
|
183 |
+
margin: 0;
|
184 |
+
padding: 15px;
|
185 |
+
background: #FFFFFF;
|
|
|
|
|
186 |
}
|
187 |
+
|
188 |
.wp-box .title h3 {
|
189 |
+
font-size: 14px;
|
190 |
+
line-height: 1em;
|
|
|
191 |
margin: 0;
|
192 |
+
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
193 |
}
|
194 |
+
|
195 |
.wp-box .inner {
|
196 |
padding: 15px;
|
197 |
}
|
198 |
+
|
199 |
.wp-box .footer {
|
200 |
+
background: #F5F5F5;
|
201 |
border-top: 1px solid #E1E1E1;
|
202 |
overflow: hidden;
|
203 |
+
padding: 15px;
|
204 |
position: relative;
|
205 |
}
|
206 |
+
|
207 |
.wp-box .footer ul.left {
|
208 |
float: left;
|
209 |
}
|
210 |
+
|
211 |
.wp-box .footer ul li {
|
212 |
margin: 0;
|
213 |
padding: 0;
|
214 |
}
|
215 |
+
|
216 |
.wp-box .footer ul.left li {
|
217 |
margin-right: 10px;
|
218 |
}
|
219 |
+
|
220 |
.wp-box .footer ul.right {
|
221 |
float: right;
|
222 |
}
|
223 |
+
|
224 |
.wp-box .footer ul.right li {
|
225 |
margin-left: 10px;
|
226 |
}
|
227 |
|
228 |
.wp-box h2 {
|
229 |
+
color: #333333;
|
230 |
+
font-size: 25px;
|
231 |
+
line-height: 29px;
|
232 |
+
margin: 0.25em 0 0.75em;
|
233 |
+
padding: 0;
|
234 |
}
|
235 |
|
236 |
.wp-box h3 {
|
266 |
}
|
267 |
|
268 |
.wp-box .footer-blue {
|
269 |
+
border-top: 0 none;
|
270 |
+
background-color: #52ACCC;
|
|
|
|
|
|
|
|
|
271 |
color: #FFFFFF;
|
|
|
|
|
272 |
overflow: hidden;
|
273 |
padding: 10px;
|
274 |
position: relative;
|
405 |
*
|
406 |
*--------------------------------------------------------------------------------------------*/
|
407 |
|
408 |
+
.acf-button {
|
409 |
+
position: relative;
|
410 |
+
display: inline-block;
|
411 |
border-radius: 3px;
|
412 |
+
height: 28px;
|
413 |
+
padding: 0 11px 1px;
|
414 |
+
cursor: pointer;
|
|
|
415 |
|
416 |
+
-webkit-box-sizing: border-box;
|
417 |
+
-moz-box-sizing: border-box;
|
418 |
+
box-sizing: border-box;
|
|
|
|
|
|
|
419 |
|
420 |
+
color: #fff;
|
421 |
font-weight: normal;
|
|
|
422 |
font-size: 13px;
|
423 |
+
line-height: 26px;
|
424 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
425 |
text-decoration: none;
|
426 |
+
|
427 |
+
background: #2EA2CC;
|
428 |
+
|
429 |
+
border: #0074A2 solid 1px;
|
430 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
|
431 |
}
|
432 |
|
433 |
+
.acf-button:hover {
|
434 |
+
background-color: #298CBA;
|
435 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
436 |
}
|
437 |
|
438 |
+
.acf-button:focus,
|
439 |
+
.acf-button:active {
|
440 |
+
outline: none;
|
441 |
+
line-height: 28px;
|
|
|
442 |
}
|
443 |
|
444 |
+
.acf-button:active {
|
445 |
+
box-shadow: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
}
|
447 |
|
448 |
+
.acf-button[disabled] {
|
449 |
+
background: #298CBA !important;
|
450 |
+
border-color: #1B607F !important;
|
451 |
+
box-shadow: none !important;
|
452 |
+
color: #94CDE7 !important;
|
453 |
+
cursor: default !important;
|
454 |
}
|
455 |
|
|
|
|
|
|
|
|
|
|
|
456 |
|
457 |
+
.acf-button.grey {
|
458 |
+
color: #333;
|
459 |
+
border-color: #BBBBBB;
|
460 |
+
background: #F9F9F9;
|
461 |
}
|
462 |
|
463 |
+
.acf-button.grey:hover {
|
464 |
+
border-color: #999;
|
|
|
465 |
}
|
466 |
|
467 |
+
|
468 |
+
/* sizes */
|
469 |
+
.acf-button.large,
|
470 |
+
.acf-button-big {
|
471 |
+
height: 32px;
|
472 |
+
line-height: 31px;
|
473 |
+
font-size: 14px;
|
474 |
}
|
475 |
|
476 |
+
|
477 |
/*--------------------------------------------------------------------------
|
478 |
*
|
479 |
* ACF add / remove
|
css/input.css
CHANGED
@@ -21,6 +21,7 @@
|
|
21 |
.acf_postbox.no_box {
|
22 |
border: 0 none;
|
23 |
background: transparent;
|
|
|
24 |
}
|
25 |
|
26 |
.acf_postbox.no_box > h3,
|
@@ -212,10 +213,6 @@
|
|
212 |
min-height: 250px;
|
213 |
}
|
214 |
|
215 |
-
#post-body .acf_wysiwyg .wp_themeSkin .mceStatusbar a.mceResize {
|
216 |
-
top: -2px !important;
|
217 |
-
}
|
218 |
-
|
219 |
.acf_wysiwyg .wp-editor-container {
|
220 |
background: #fff;
|
221 |
border-color: #CCCCCC #CCCCCC #DFDFDF;
|
@@ -224,6 +221,19 @@
|
|
224 |
border-width: 1px;
|
225 |
}
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
|
228 |
/*
|
229 |
* WP 3.5 z-index fix for full screen wysiwyg
|
@@ -973,48 +983,49 @@ td.acf_input-wrap {
|
|
973 |
}
|
974 |
|
975 |
.acf-tab-group {
|
976 |
-
|
977 |
-
border-bottom: #
|
978 |
margin: 0 0 10px;
|
979 |
-
padding: 10px
|
980 |
-
|
981 |
-
background: #F3F3F3;
|
982 |
}
|
983 |
|
984 |
.acf-tab-group li {
|
985 |
-
font-family: "
|
986 |
font-size: 23px;
|
987 |
line-height: 29px;
|
988 |
-
margin: 0
|
989 |
|
990 |
}
|
991 |
|
992 |
.acf-tab-group li a {
|
993 |
-
padding: 10px;
|
994 |
display: block;
|
995 |
-
border-radius: 3px 3px 0 0;
|
996 |
|
997 |
-
color: #
|
998 |
-
font-size:
|
999 |
-
font-weight:
|
1000 |
-
line-height:
|
1001 |
-
padding: 5px 10px 7px;
|
1002 |
|
1003 |
-
border: #
|
|
|
1004 |
text-decoration: none;
|
1005 |
-
background: #
|
1006 |
|
1007 |
}
|
1008 |
|
1009 |
.acf-tab-group li a:hover,
|
1010 |
.acf-tab-group li.active a {
|
1011 |
-
|
|
|
1012 |
}
|
1013 |
|
1014 |
.acf-tab-group li.active a {
|
1015 |
-
|
|
|
1016 |
border-color: #CCCCCC;
|
1017 |
border-bottom-color: #F7F7F7;
|
|
|
|
|
1018 |
}
|
1019 |
|
1020 |
.acf_postbox > .inside > .field_type-tab + .field {
|
@@ -1023,24 +1034,20 @@ td.acf_input-wrap {
|
|
1023 |
|
1024 |
|
1025 |
/*
|
1026 |
-
*
|
1027 |
*/
|
1028 |
|
1029 |
-
.acf_postbox.
|
1030 |
-
padding-left:
|
1031 |
-
border-
|
1032 |
-
border-bottom-color: #CCC;
|
1033 |
-
background: transparent;
|
1034 |
}
|
1035 |
|
1036 |
-
.acf_postbox.
|
1037 |
-
|
1038 |
}
|
1039 |
|
1040 |
-
|
1041 |
-
|
1042 |
-
background: #fff;
|
1043 |
-
|
1044 |
}
|
1045 |
|
1046 |
|
21 |
.acf_postbox.no_box {
|
22 |
border: 0 none;
|
23 |
background: transparent;
|
24 |
+
box-shadow: none;
|
25 |
}
|
26 |
|
27 |
.acf_postbox.no_box > h3,
|
213 |
min-height: 250px;
|
214 |
}
|
215 |
|
|
|
|
|
|
|
|
|
216 |
.acf_wysiwyg .wp-editor-container {
|
217 |
background: #fff;
|
218 |
border-color: #CCCCCC #CCCCCC #DFDFDF;
|
221 |
border-width: 1px;
|
222 |
}
|
223 |
|
224 |
+
/*
|
225 |
+
|
226 |
+
not needed in WP 3.8
|
227 |
+
|
228 |
+
.acf_wysiwyg .mceStatusbar {
|
229 |
+
position: relative;
|
230 |
+
}
|
231 |
+
|
232 |
+
.acf_wysiwyg .mceStatusbar a.mceResize {
|
233 |
+
top: -2px !important;
|
234 |
+
}
|
235 |
+
*/
|
236 |
+
|
237 |
|
238 |
/*
|
239 |
* WP 3.5 z-index fix for full screen wysiwyg
|
983 |
}
|
984 |
|
985 |
.acf-tab-group {
|
986 |
+
background: transparent;
|
987 |
+
border-bottom: #CCCCCC solid 1px;
|
988 |
margin: 0 0 10px;
|
989 |
+
padding: 10px 2px 0 0;
|
|
|
|
|
990 |
}
|
991 |
|
992 |
.acf-tab-group li {
|
993 |
+
font-family: "Open Sans",sans-serif;
|
994 |
font-size: 23px;
|
995 |
line-height: 29px;
|
996 |
+
margin: 0 8px 0 0;
|
997 |
|
998 |
}
|
999 |
|
1000 |
.acf-tab-group li a {
|
1001 |
+
padding: 6px 10px;
|
1002 |
display: block;
|
|
|
1003 |
|
1004 |
+
color: #555555;
|
1005 |
+
font-size: 15px;
|
1006 |
+
font-weight: 700;
|
1007 |
+
line-height: 24px;
|
|
|
1008 |
|
1009 |
+
border: #CCCCCC solid 1px;
|
1010 |
+
border-bottom: 0 none;
|
1011 |
text-decoration: none;
|
1012 |
+
background: #E4E4E4;
|
1013 |
|
1014 |
}
|
1015 |
|
1016 |
.acf-tab-group li a:hover,
|
1017 |
.acf-tab-group li.active a {
|
1018 |
+
background: #FFFFFF;
|
1019 |
+
outline: none;
|
1020 |
}
|
1021 |
|
1022 |
.acf-tab-group li.active a {
|
1023 |
+
background: #F1F1F1;
|
1024 |
+
color: #000;
|
1025 |
border-color: #CCCCCC;
|
1026 |
border-bottom-color: #F7F7F7;
|
1027 |
+
padding-bottom: 7px;
|
1028 |
+
margin-bottom: -1px;
|
1029 |
}
|
1030 |
|
1031 |
.acf_postbox > .inside > .field_type-tab + .field {
|
1034 |
|
1035 |
|
1036 |
/*
|
1037 |
+
* Box
|
1038 |
*/
|
1039 |
|
1040 |
+
.acf_postbox.default .acf-tab-group {
|
1041 |
+
padding-left: 10px;
|
1042 |
+
border-bottom-color: #E8E8E8;
|
|
|
|
|
1043 |
}
|
1044 |
|
1045 |
+
.acf_postbox.default .acf-tab-group li a {
|
1046 |
+
background: #F1F1F1;
|
1047 |
}
|
1048 |
|
1049 |
+
.acf_postbox.default .acf-tab-group li.active a {
|
1050 |
+
background: #FFFFFF;
|
|
|
|
|
1051 |
}
|
1052 |
|
1053 |
|
js/field-group.js
CHANGED
@@ -850,7 +850,7 @@ var acf = {
|
|
850 |
$(document).ready(function(){
|
851 |
|
852 |
// custom Publish metabox
|
853 |
-
$('#submitdiv #publish').attr('class', 'acf-button');
|
854 |
$('#submitdiv a.submitdelete').attr('class', 'delete-field-group').attr('id', 'submit-delete');
|
855 |
|
856 |
|
850 |
$(document).ready(function(){
|
851 |
|
852 |
// custom Publish metabox
|
853 |
+
$('#submitdiv #publish').attr('class', 'acf-button large');
|
854 |
$('#submitdiv a.submitdelete').attr('class', 'delete-field-group').attr('id', 'submit-delete');
|
855 |
|
856 |
|
js/field-group.min.js
CHANGED
@@ -5,4 +5,4 @@
|
|
5 |
*
|
6 |
* @type JS
|
7 |
* @date 1/08/13
|
8 |
-
*/var acf={ajaxurl:"",admin_url:"",post_id:0,nonce:"",l10n:{},text:{},helpers:{uniqid:null,sortable:null,create_field:null},conditional_logic:null,location:null};(function(e){function t(){e("#acf_fields .fields").each(function(){e(this).children(".field").each(function(t){e(this).find("td.field_order .circle").first().html(t+1)})})}e.fn.exists=function(){return e(this).length>0};acf.helpers.sortable=function(t,n){n.children().each(function(){e(this).width(e(this).width())});return n};acf.helpers.uniqid=function(e,t){typeof e=="undefined"&&(e="");var n,r=function(e,t){e=parseInt(e,10).toString(16);return t<e.length?e.slice(e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};this.php_js||(this.php_js={});this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(Math.random()*123456789));this.php_js.uniqidSeed++;n=e;n+=r(parseInt((new Date).getTime()/1e3,10),8);n+=r(this.php_js.uniqidSeed,5);t&&(n+=(Math.random()*10).toFixed(8).toString());return n};e(document).on("submit","#post",function(){var t=e("#titlewrap #title");if(!t.val()){alert(acf.l10n.title);t.focus();return!1}});e(document).on("click","#submit-delete",function(){var e=confirm(acf.l10n.move_to_trash);if(!e)return!1});e(document).on("change","#acf_fields tr.field_type select",function(){var t=e(this),n=t.closest("tbody"),r=n.closest(".field"),i=r.attr("data-type"),s=r.attr("data-id"),o=t.val();r.removeClass("field_type-"+i).addClass("field_type-"+o);r.attr("data-type",o);(o=="tab"||o=="message")&&n.find('tr.field_name input[type="text"]').val("").trigger("keyup");if(n.children("tr.field_option_"+o).exists()){n.children("tr.field_option").hide().find("[name]").attr("disabled","true");n.children("tr.field_option_"+o).show().find("[name]").removeAttr("disabled")}else{var u=e('<tr"><td class="label"></td><td><div class="acf-loading"></div></td></tr>');n.children("tr.field_option").hide().find("[name]").attr("disabled","true");n.children("tr.conditional-logic").exists()?n.children("tr.conditional-logic").before(u):n.children("tr.field_save").before(u);var a={action:"acf/field_group/render_options",post_id:acf.post_id,field_key:t.attr("name"),field_type:o,nonce:acf.nonce};e.ajax({url:ajaxurl,data:a,type:"post",dataType:"html",success:function(e){if(!e){u.remove();return}u.replaceWith(e)}})}});e.fn.update_names=function(){var t=e(this),n=t.attr("data-id"),r="field_"+acf.helpers.uniqid();t.attr("data-id",r);t.attr("class",t.attr("class").replace(n,r));t.find(".field_meta td.field_key").text(r);t.find('[id*="'+n+'"]').each(function(){e(this).attr("id",e(this).attr("id").replace(n,r))});t.find('[name*="'+n+'"]').each(function(){e(this).attr("name",e(this).attr("name").replace(n,r))})};e(document).on("click","#acf_fields a.acf_edit_field",function(){var t=e(this).closest(".field");if(t.hasClass("form_open")){t.removeClass("form_open");e(document).trigger("acf/field_form-close",[t])}else{t.addClass("form_open");e(document).trigger("acf/field_form-open",[t])}t.children(".field_form_mask").animate({height:"toggle"},250)});e(document).on("click","#acf_fields a.acf_delete_field",function(){var n=e(this),r=n.closest(".field"),i=r.closest(".fields"),s=e('<div style="height:'+r.height()+'px"></div>');r.animate({left:"50px",opacity:0},250,function(){r.before(s);r.remove();if(i.children(".field").length<=1){s.remove();i.children(".no_fields_message").show()}else s.animate({height:0},250,function(){s.remove()});t()})});e(document).on("click","#acf_fields a.acf_duplicate_field",function(){var n=e(this),r=n.closest(".field"),i=null;r.find("select").each(function(){e(this).attr("data-val",e(this).val())});i=r.clone();i.update_names();i.find(".field:not(.field_key-field_clone)").each(function(){e(this).update_names()});r.after(i);i.find("select").each(function(){e(this).val(e(this).attr("data-val")).trigger("change")});r.hasClass("form_open")?r.find(".acf_edit_field").first().trigger("click"):i.find(".acf_edit_field").first().trigger("click");var s=i.find('tr.field_label:first input[type="text"]'),o=i.find('tr.field_name:first input[type="text"]');o.val("");s.val(s.val()+" ("+acf.l10n.copy+")");s.trigger("blur").trigger("keyup");t()});e(document).on("click","#acf_fields #add_field",function(){var n=e(this).closest(".table_footer").siblings(".fields"),r=n.children(".field_key-field_clone").clone();r.update_names();r.show();n.children(".field_key-field_clone").before(r);n.children(".no_fields_message").exists()&&n.children(".no_fields_message").hide();r.find("tr.field_type select").trigger("change");r.find('.field_form input[type="text"]').val("");setTimeout(function(){r.find('.field_form input[type="text"]').first().focus()},500);r.find("a.acf_edit_field").first().trigger("click");t();return!1});e(document).on("blur","#acf_fields tr.field_label input.label",function(){var t=e(this),n=t.closest(".field"),r=n.find('tr.field_name:first input[type="text"]'),i=n.attr("data-type");if(i=="tab"||i=="message"){r.val("").trigger("keyup");return}if(r.val()==""){var s=t.val(),o={"ä":"a","æ":"a","å":"a","ö":"o","ø":"o","é":"e","ë":"e","ü":"u","ó":"o","ő":"o","ú":"u","é":"e","á":"a","ű":"u","í":"i"," ":"_","'":""};e.each(o,function(e,t){var n=new RegExp(e,"g");s=s.replace(n,t)});s=s.toLowerCase();r.val(s);r.trigger("keyup")}});e(document).on("keyup","#acf_fields .field_form tr.field_label input.label",function(){var t=e(this).val(),n=e(this).closest(".field").find("td.field_label strong a").first().html(t)});e(document).on("keyup","#acf_fields .field_form tr.field_name input.name",function(){var t=e(this).val(),n=e(this).closest(".field").find("td.field_name").first().html(t)});e(document).on("change","#acf_fields .field_form tr.field_type select",function(){var t=e(this).val(),n=e(this).find('option[value="'+t+'"]').html();e(this).closest(".field").find("td.field_type").first().html(n)});e(document).on("mouseover","#acf_fields td.field_order",function(){var n=e(this).closest(".fields");if(n.hasClass("sortable"))return!1;n.addClass("sortable").sortable({update:function(e,n){t()},handle:"td.field_order"})});e(document).ready(function(){acf.location.init();acf.conditional_logic.init()});acf.location={$el:null,init:function(){var t=this;t.$el=e("#acf_location");t.$el.on("click",".location-add-rule",function(){t.add_rule(e(this).closest("tr"));return!1});t.$el.on("click",".location-remove-rule",function(){t.remove_rule(e(this).closest("tr"));return!1});t.$el.on("click",".location-add-group",function(){t.add_group();return!1});t.$el.on("change",".param select",function(){var t=e(this).closest("tr"),n=t.attr("data-id"),r=t.closest(".location-group"),i=r.attr("data-id"),s={action:"acf/field_group/render_location",nonce:acf.nonce,rule_id:n,group_id:i,value:"",param:e(this).val()},o=e('<div class="acf-loading"></div>');t.find("td.value").html(o);e.ajax({url:acf.ajaxurl,data:s,type:"post",dataType:"html",success:function(e){o.replaceWith(e)}})})},add_rule:function(t){var n=t.clone(),r=n.attr("data-id"),i=acf.helpers.uniqid();n.find("[name]").each(function(){e(this).attr("name",e(this).attr("name").replace(r,i));e(this).attr("id",e(this).attr("id").replace(r,i))});n.attr("data-id",i);t.after(n);return!1},remove_rule:function(e){var t=e.siblings("tr").length;t==0?this.remove_group(e.closest(".location-group")):e.remove()},add_group:function(){var t=this.$el.find(".location-group:last"),n=t.clone(),r=n.attr("data-id"),i=acf.helpers.uniqid();n.find("[name]").each(function(){e(this).attr("name",e(this).attr("name").replace(r,i));e(this).attr("id",e(this).attr("id").replace(r,i))});n.attr("data-id",i);n.find("h4").text(acf.l10n.or);n.find("tr:not(:first)").remove();t.after(n)},remove_group:function(e){e.remove()}};e(document).ready(function(){e("#submitdiv #publish").attr("class","acf-button");e("#submitdiv a.submitdelete").attr("class","delete-field-group").attr("id","submit-delete");var t=e("#hide-on-screen ul.acf-checkbox-list"),n=e('<li><label><input type="checkbox" value="" name="" >'+acf.l10n.hide_show_all+"</label></li>");t.find("input:not(:checked)").length==0&&n.find("input").attr("checked","checked");n.on("change","input",function(){var n=e(this).is(":checked");t.find("input").attr("checked",n)});t.prepend(n)});e(document).on("change",'#adv-settings input[name="show-field_key"]',function(){e(this).val()=="1"?e("#acf_fields table.acf").addClass("show-field_key"):e("#acf_fields table.acf").removeClass("show-field_key")});acf.helpers.create_field=function(t){var n={type:"text",classname:"",name:"",value:""};t=e.extend(!0,n,t);var r="";if(t.type=="text")r+='<input class="text '+t.classname+'" type="text" id="'+t.name+'" name="'+t.name+'" value="'+t.value+'" />';else if(t.type=="select"){var i={};e.each(t.choices,function(e,t){t.group===undefined&&(t.group=0);i[t.group]===undefined&&(i[t.group]=[]);i[t.group].push(t)});r+='<select class="select '+t.classname+'" id="'+t.name+'" name="'+t.name+'">';e.each(i,function(n,i){n!=0&&(r+='<optgroup label="'+n+'">');e.each(i,function(e,n){var i="";n.value==t.value&&(i='selected="selected"');r+="<option "+i+' value="'+n.value+'">'+n.label+"</option>"});n!=0&&(r+="</optgroup>")});r+="</select>"}r=e(r);return r};acf.conditional_logic={triggers:null,init:function(){var t=this;e(document).on("acf/field_form-open",function(e,n){t.render(n)});e(document).on("change","#acf_fields tr.field_label input.label",function(){e("#acf_fields .field.form_open").each(function(){t.render(e(this))})});e(document).on("change",'tr.conditional-logic input[type="radio"]',function(n){n.preventDefault();t.change_toggle(e(this))});e(document).on("change","select.conditional-logic-field",function(n){n.preventDefault();t.change_trigger(e(this))});e(document).on("click","tr.conditional-logic .acf-button-add",function(n){n.preventDefault();t.add(e(this).closest("tr"))});e(document).on("click","tr.conditional-logic .acf-button-remove",function(n){n.preventDefault();t.remove(e(this).closest("tr"))})},render:function(t){var n=this,r=[],i=t.attr("data-id"),s=t.parents(".fields"),o=t.find("> .field_form_mask > .field_form > table > tbody > tr.conditional-logic");e.each(s,function(t){var n=t==0?acf.l10n.sibling_fields:acf.l10n.parent_fields;e(this).children(".field").each(function(){var t=e(this),s=t.attr("data-id"),o=t.attr("data-type"),u=t.find("tr.field_label input").val();if(s=="field_clone")return;if(s==i)return;(o=="select"||o=="checkbox"||o=="true_false"||o=="radio")&&r.push({value:s,label:u,group:n})})});r.length==0&&r.push({value:"null",label:acf.l10n.no_fields});o.find(".conditional-logic-field").each(function(){var t=e(this).val(),n=e(this).attr("name"),i=acf.helpers.create_field({type:"select",classname:"conditional-logic-field",name:n,value:t,choices:r});e(this).replaceWith(i);i.trigger("change")})},change_toggle:function(e){var t=e.val(),n=e.closest("tr.conditional-logic");t=="1"?n.find(".contional-logic-rules-wrapper").show():n.find(".contional-logic-rules-wrapper").hide()},change_trigger:function(t){var n=t.val(),r=e(".field_key-"+n),i=r.attr("data-type"),s=t.closest("tr").find(".conditional-logic-value"),o=[];if(i=="true_false")o=[{value:1,label:acf.l10n.checked}];else if(i=="select"||i=="checkbox"||i=="radio"){var u=r.find(".field_option-choices").val().split("\n");if(u)for(var a=0;a<u.length;a++){var f=u[a].split(":"),l=f[0];f[1]&&(l=f[1]);o.push({value:e.trim(f[0]),label:e.trim(l)})}}var t=acf.helpers.create_field({type:"select",classname:"conditional-logic-value",name:s.attr("name"),value:s.val(),choices:o});s.replaceWith(t);t.trigger("change")},add:function(t){var n=t.clone(),r=parseFloat(t.attr("data-i")),i=acf.helpers.uniqid();n.find("[name]").each(function(){var t="[conditional_logic][rules]["+r+"]",n="[conditional_logic][rules]["+i+"]";e(this).attr("name",e(this).attr("name").replace(t,n));e(this).attr("id",e(this).attr("id").replace(t,n))});n.attr("data-i",i);t.after(n);t.closest("table").removeClass("remove-disabled")},remove:function(e){var t=e.closest("table");if(t.hasClass("remove-disabled"))return!1;e.remove();t.find("tr").length<=1&&t.addClass("remove-disabled")}};e(document).on("change",".radio-option-other_choice input",function(){var t=e(this),n=t.closest("td");if(t.is(":checked"))n.find(".radio-option-save_other_choice").show();else{n.find(".radio-option-save_other_choice").hide();n.find(".radio-option-save_other_choice input").removeAttr("checked")}})})(jQuery);
|
5 |
*
|
6 |
* @type JS
|
7 |
* @date 1/08/13
|
8 |
+
*/var acf={ajaxurl:"",admin_url:"",post_id:0,nonce:"",l10n:{},text:{},helpers:{uniqid:null,sortable:null,create_field:null},conditional_logic:null,location:null};(function(e){function t(){e("#acf_fields .fields").each(function(){e(this).children(".field").each(function(t){e(this).find("td.field_order .circle").first().html(t+1)})})}e.fn.exists=function(){return e(this).length>0};acf.helpers.sortable=function(t,n){n.children().each(function(){e(this).width(e(this).width())});return n};acf.helpers.uniqid=function(e,t){typeof e=="undefined"&&(e="");var n,r=function(e,t){e=parseInt(e,10).toString(16);return t<e.length?e.slice(e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};this.php_js||(this.php_js={});this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(Math.random()*123456789));this.php_js.uniqidSeed++;n=e;n+=r(parseInt((new Date).getTime()/1e3,10),8);n+=r(this.php_js.uniqidSeed,5);t&&(n+=(Math.random()*10).toFixed(8).toString());return n};e(document).on("submit","#post",function(){var t=e("#titlewrap #title");if(!t.val()){alert(acf.l10n.title);t.focus();return!1}});e(document).on("click","#submit-delete",function(){var e=confirm(acf.l10n.move_to_trash);if(!e)return!1});e(document).on("change","#acf_fields tr.field_type select",function(){var t=e(this),n=t.closest("tbody"),r=n.closest(".field"),i=r.attr("data-type"),s=r.attr("data-id"),o=t.val();r.removeClass("field_type-"+i).addClass("field_type-"+o);r.attr("data-type",o);(o=="tab"||o=="message")&&n.find('tr.field_name input[type="text"]').val("").trigger("keyup");if(n.children("tr.field_option_"+o).exists()){n.children("tr.field_option").hide().find("[name]").attr("disabled","true");n.children("tr.field_option_"+o).show().find("[name]").removeAttr("disabled")}else{var u=e('<tr"><td class="label"></td><td><div class="acf-loading"></div></td></tr>');n.children("tr.field_option").hide().find("[name]").attr("disabled","true");n.children("tr.conditional-logic").exists()?n.children("tr.conditional-logic").before(u):n.children("tr.field_save").before(u);var a={action:"acf/field_group/render_options",post_id:acf.post_id,field_key:t.attr("name"),field_type:o,nonce:acf.nonce};e.ajax({url:ajaxurl,data:a,type:"post",dataType:"html",success:function(e){if(!e){u.remove();return}u.replaceWith(e)}})}});e.fn.update_names=function(){var t=e(this),n=t.attr("data-id"),r="field_"+acf.helpers.uniqid();t.attr("data-id",r);t.attr("class",t.attr("class").replace(n,r));t.find(".field_meta td.field_key").text(r);t.find('[id*="'+n+'"]').each(function(){e(this).attr("id",e(this).attr("id").replace(n,r))});t.find('[name*="'+n+'"]').each(function(){e(this).attr("name",e(this).attr("name").replace(n,r))})};e(document).on("click","#acf_fields a.acf_edit_field",function(){var t=e(this).closest(".field");if(t.hasClass("form_open")){t.removeClass("form_open");e(document).trigger("acf/field_form-close",[t])}else{t.addClass("form_open");e(document).trigger("acf/field_form-open",[t])}t.children(".field_form_mask").animate({height:"toggle"},250)});e(document).on("click","#acf_fields a.acf_delete_field",function(){var n=e(this),r=n.closest(".field"),i=r.closest(".fields"),s=e('<div style="height:'+r.height()+'px"></div>');r.animate({left:"50px",opacity:0},250,function(){r.before(s);r.remove();if(i.children(".field").length<=1){s.remove();i.children(".no_fields_message").show()}else s.animate({height:0},250,function(){s.remove()});t()})});e(document).on("click","#acf_fields a.acf_duplicate_field",function(){var n=e(this),r=n.closest(".field"),i=null;r.find("select").each(function(){e(this).attr("data-val",e(this).val())});i=r.clone();i.update_names();i.find(".field:not(.field_key-field_clone)").each(function(){e(this).update_names()});r.after(i);i.find("select").each(function(){e(this).val(e(this).attr("data-val")).trigger("change")});r.hasClass("form_open")?r.find(".acf_edit_field").first().trigger("click"):i.find(".acf_edit_field").first().trigger("click");var s=i.find('tr.field_label:first input[type="text"]'),o=i.find('tr.field_name:first input[type="text"]');o.val("");s.val(s.val()+" ("+acf.l10n.copy+")");s.trigger("blur").trigger("keyup");t()});e(document).on("click","#acf_fields #add_field",function(){var n=e(this).closest(".table_footer").siblings(".fields"),r=n.children(".field_key-field_clone").clone();r.update_names();r.show();n.children(".field_key-field_clone").before(r);n.children(".no_fields_message").exists()&&n.children(".no_fields_message").hide();r.find("tr.field_type select").trigger("change");r.find('.field_form input[type="text"]').val("");setTimeout(function(){r.find('.field_form input[type="text"]').first().focus()},500);r.find("a.acf_edit_field").first().trigger("click");t();return!1});e(document).on("blur","#acf_fields tr.field_label input.label",function(){var t=e(this),n=t.closest(".field"),r=n.find('tr.field_name:first input[type="text"]'),i=n.attr("data-type");if(i=="tab"||i=="message"){r.val("").trigger("keyup");return}if(r.val()==""){var s=t.val(),o={"ä":"a","æ":"a","å":"a","ö":"o","ø":"o","é":"e","ë":"e","ü":"u","ó":"o","ő":"o","ú":"u","é":"e","á":"a","ű":"u","í":"i"," ":"_","'":""};e.each(o,function(e,t){var n=new RegExp(e,"g");s=s.replace(n,t)});s=s.toLowerCase();r.val(s);r.trigger("keyup")}});e(document).on("keyup","#acf_fields .field_form tr.field_label input.label",function(){var t=e(this).val(),n=e(this).closest(".field").find("td.field_label strong a").first().html(t)});e(document).on("keyup","#acf_fields .field_form tr.field_name input.name",function(){var t=e(this).val(),n=e(this).closest(".field").find("td.field_name").first().html(t)});e(document).on("change","#acf_fields .field_form tr.field_type select",function(){var t=e(this).val(),n=e(this).find('option[value="'+t+'"]').html();e(this).closest(".field").find("td.field_type").first().html(n)});e(document).on("mouseover","#acf_fields td.field_order",function(){var n=e(this).closest(".fields");if(n.hasClass("sortable"))return!1;n.addClass("sortable").sortable({update:function(e,n){t()},handle:"td.field_order"})});e(document).ready(function(){acf.location.init();acf.conditional_logic.init()});acf.location={$el:null,init:function(){var t=this;t.$el=e("#acf_location");t.$el.on("click",".location-add-rule",function(){t.add_rule(e(this).closest("tr"));return!1});t.$el.on("click",".location-remove-rule",function(){t.remove_rule(e(this).closest("tr"));return!1});t.$el.on("click",".location-add-group",function(){t.add_group();return!1});t.$el.on("change",".param select",function(){var t=e(this).closest("tr"),n=t.attr("data-id"),r=t.closest(".location-group"),i=r.attr("data-id"),s={action:"acf/field_group/render_location",nonce:acf.nonce,rule_id:n,group_id:i,value:"",param:e(this).val()},o=e('<div class="acf-loading"></div>');t.find("td.value").html(o);e.ajax({url:acf.ajaxurl,data:s,type:"post",dataType:"html",success:function(e){o.replaceWith(e)}})})},add_rule:function(t){var n=t.clone(),r=n.attr("data-id"),i=acf.helpers.uniqid();n.find("[name]").each(function(){e(this).attr("name",e(this).attr("name").replace(r,i));e(this).attr("id",e(this).attr("id").replace(r,i))});n.attr("data-id",i);t.after(n);return!1},remove_rule:function(e){var t=e.siblings("tr").length;t==0?this.remove_group(e.closest(".location-group")):e.remove()},add_group:function(){var t=this.$el.find(".location-group:last"),n=t.clone(),r=n.attr("data-id"),i=acf.helpers.uniqid();n.find("[name]").each(function(){e(this).attr("name",e(this).attr("name").replace(r,i));e(this).attr("id",e(this).attr("id").replace(r,i))});n.attr("data-id",i);n.find("h4").text(acf.l10n.or);n.find("tr:not(:first)").remove();t.after(n)},remove_group:function(e){e.remove()}};e(document).ready(function(){e("#submitdiv #publish").attr("class","acf-button large");e("#submitdiv a.submitdelete").attr("class","delete-field-group").attr("id","submit-delete");var t=e("#hide-on-screen ul.acf-checkbox-list"),n=e('<li><label><input type="checkbox" value="" name="" >'+acf.l10n.hide_show_all+"</label></li>");t.find("input:not(:checked)").length==0&&n.find("input").attr("checked","checked");n.on("change","input",function(){var n=e(this).is(":checked");t.find("input").attr("checked",n)});t.prepend(n)});e(document).on("change",'#adv-settings input[name="show-field_key"]',function(){e(this).val()=="1"?e("#acf_fields table.acf").addClass("show-field_key"):e("#acf_fields table.acf").removeClass("show-field_key")});acf.helpers.create_field=function(t){var n={type:"text",classname:"",name:"",value:""};t=e.extend(!0,n,t);var r="";if(t.type=="text")r+='<input class="text '+t.classname+'" type="text" id="'+t.name+'" name="'+t.name+'" value="'+t.value+'" />';else if(t.type=="select"){var i={};e.each(t.choices,function(e,t){t.group===undefined&&(t.group=0);i[t.group]===undefined&&(i[t.group]=[]);i[t.group].push(t)});r+='<select class="select '+t.classname+'" id="'+t.name+'" name="'+t.name+'">';e.each(i,function(n,i){n!=0&&(r+='<optgroup label="'+n+'">');e.each(i,function(e,n){var i="";n.value==t.value&&(i='selected="selected"');r+="<option "+i+' value="'+n.value+'">'+n.label+"</option>"});n!=0&&(r+="</optgroup>")});r+="</select>"}r=e(r);return r};acf.conditional_logic={triggers:null,init:function(){var t=this;e(document).on("acf/field_form-open",function(e,n){t.render(n)});e(document).on("change","#acf_fields tr.field_label input.label",function(){e("#acf_fields .field.form_open").each(function(){t.render(e(this))})});e(document).on("change",'tr.conditional-logic input[type="radio"]',function(n){n.preventDefault();t.change_toggle(e(this))});e(document).on("change","select.conditional-logic-field",function(n){n.preventDefault();t.change_trigger(e(this))});e(document).on("click","tr.conditional-logic .acf-button-add",function(n){n.preventDefault();t.add(e(this).closest("tr"))});e(document).on("click","tr.conditional-logic .acf-button-remove",function(n){n.preventDefault();t.remove(e(this).closest("tr"))})},render:function(t){var n=this,r=[],i=t.attr("data-id"),s=t.parents(".fields"),o=t.find("> .field_form_mask > .field_form > table > tbody > tr.conditional-logic");e.each(s,function(t){var n=t==0?acf.l10n.sibling_fields:acf.l10n.parent_fields;e(this).children(".field").each(function(){var t=e(this),s=t.attr("data-id"),o=t.attr("data-type"),u=t.find("tr.field_label input").val();if(s=="field_clone")return;if(s==i)return;(o=="select"||o=="checkbox"||o=="true_false"||o=="radio")&&r.push({value:s,label:u,group:n})})});r.length==0&&r.push({value:"null",label:acf.l10n.no_fields});o.find(".conditional-logic-field").each(function(){var t=e(this).val(),n=e(this).attr("name"),i=acf.helpers.create_field({type:"select",classname:"conditional-logic-field",name:n,value:t,choices:r});e(this).replaceWith(i);i.trigger("change")})},change_toggle:function(e){var t=e.val(),n=e.closest("tr.conditional-logic");t=="1"?n.find(".contional-logic-rules-wrapper").show():n.find(".contional-logic-rules-wrapper").hide()},change_trigger:function(t){var n=t.val(),r=e(".field_key-"+n),i=r.attr("data-type"),s=t.closest("tr").find(".conditional-logic-value"),o=[];if(i=="true_false")o=[{value:1,label:acf.l10n.checked}];else if(i=="select"||i=="checkbox"||i=="radio"){var u=r.find(".field_option-choices").val().split("\n");if(u)for(var a=0;a<u.length;a++){var f=u[a].split(":"),l=f[0];f[1]&&(l=f[1]);o.push({value:e.trim(f[0]),label:e.trim(l)})}}var t=acf.helpers.create_field({type:"select",classname:"conditional-logic-value",name:s.attr("name"),value:s.val(),choices:o});s.replaceWith(t);t.trigger("change")},add:function(t){var n=t.clone(),r=parseFloat(t.attr("data-i")),i=acf.helpers.uniqid();n.find("[name]").each(function(){var t="[conditional_logic][rules]["+r+"]",n="[conditional_logic][rules]["+i+"]";e(this).attr("name",e(this).attr("name").replace(t,n));e(this).attr("id",e(this).attr("id").replace(t,n))});n.attr("data-i",i);t.after(n);t.closest("table").removeClass("remove-disabled")},remove:function(e){var t=e.closest("table");if(t.hasClass("remove-disabled"))return!1;e.remove();t.find("tr").length<=1&&t.addClass("remove-disabled")}};e(document).on("change",".radio-option-other_choice input",function(){var t=e(this),n=t.closest("td");if(t.is(":checked"))n.find(".radio-option-save_other_choice").show();else{n.find(".radio-option-save_other_choice").hide();n.find(".radio-option-save_other_choice input").removeAttr("checked")}})})(jQuery);
|
js/input.js
CHANGED
@@ -1778,13 +1778,14 @@ var acf = {
|
|
1778 |
*
|
1779 |
*/
|
1780 |
|
1781 |
-
acf.fields.
|
1782 |
|
1783 |
$el : null,
|
1784 |
$input : null,
|
1785 |
|
1786 |
o : {},
|
1787 |
|
|
|
1788 |
geocoder : false,
|
1789 |
map : false,
|
1790 |
maps : {},
|
@@ -1810,16 +1811,23 @@ var acf = {
|
|
1810 |
}
|
1811 |
|
1812 |
|
1813 |
-
// geocode
|
1814 |
-
this.geocoder = new google.maps.Geocoder();
|
1815 |
-
|
1816 |
-
|
1817 |
// return this for chaining
|
1818 |
return this;
|
1819 |
|
1820 |
},
|
1821 |
init : function(){
|
1822 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1823 |
// is clone field?
|
1824 |
if( acf.helpers.is_clone_field(this.$input) )
|
1825 |
{
|
@@ -2167,34 +2175,42 @@ var acf = {
|
|
2167 |
|
2168 |
$(document).on('acf/setup_fields', function(e, el){
|
2169 |
|
2170 |
-
|
|
|
|
|
|
|
|
|
|
|
2171 |
{
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
|
2179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2180 |
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
|
|
|
|
|
|
2187 |
|
2188 |
-
|
2189 |
-
else
|
2190 |
-
{
|
2191 |
-
$(el).find('.acf-google-map').each(function(){
|
2192 |
-
|
2193 |
-
acf.fields.location.set({ $el : $(this) }).init();
|
2194 |
-
|
2195 |
-
});
|
2196 |
|
2197 |
-
}
|
|
|
2198 |
}
|
2199 |
|
2200 |
});
|
@@ -2216,7 +2232,7 @@ var acf = {
|
|
2216 |
|
2217 |
e.preventDefault();
|
2218 |
|
2219 |
-
acf.fields.
|
2220 |
|
2221 |
$(this).blur();
|
2222 |
|
@@ -2227,7 +2243,7 @@ var acf = {
|
|
2227 |
|
2228 |
e.preventDefault();
|
2229 |
|
2230 |
-
acf.fields.
|
2231 |
|
2232 |
$(this).blur();
|
2233 |
|
@@ -2237,7 +2253,7 @@ var acf = {
|
|
2237 |
|
2238 |
e.preventDefault();
|
2239 |
|
2240 |
-
acf.fields.
|
2241 |
|
2242 |
});
|
2243 |
|
@@ -2265,15 +2281,23 @@ var acf = {
|
|
2265 |
|
2266 |
});
|
2267 |
|
2268 |
-
$(document).on('acf/fields/tab/show', function( e, $field ){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2269 |
|
2270 |
// validate
|
2271 |
if( $field.attr('data-field_type') == 'google_map' )
|
2272 |
{
|
2273 |
-
acf.fields.
|
2274 |
}
|
2275 |
|
2276 |
});
|
|
|
2277 |
|
2278 |
|
2279 |
})(jQuery);
|
@@ -3146,6 +3170,121 @@ var acf = {
|
|
3146 |
|
3147 |
(function($){
|
3148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3149 |
|
3150 |
/*
|
3151 |
* acf/setup_fields
|
@@ -3162,64 +3301,22 @@ var acf = {
|
|
3162 |
|
3163 |
$(document).on('acf/setup_fields', function(e, el){
|
3164 |
|
3165 |
-
//
|
3166 |
-
if( ! $(el).find('.acf-tab').exists() )
|
3167 |
-
{
|
3168 |
-
return;
|
3169 |
-
}
|
3170 |
-
|
3171 |
-
|
3172 |
-
// init
|
3173 |
$(el).find('.acf-tab').each(function(){
|
3174 |
|
3175 |
-
|
3176 |
-
var $el = $(this),
|
3177 |
-
$field = $el.parent(),
|
3178 |
-
$wrap = $field.parent(),
|
3179 |
-
|
3180 |
-
id = $el.attr('data-id'),
|
3181 |
-
label = $el.html();
|
3182 |
-
|
3183 |
-
|
3184 |
-
|
3185 |
-
// only run once for each tab
|
3186 |
-
if( $el.hasClass('acf-tab-added') )
|
3187 |
-
{
|
3188 |
-
return;
|
3189 |
-
}
|
3190 |
-
|
3191 |
-
$el.addClass('acf-tab-added');
|
3192 |
-
|
3193 |
-
|
3194 |
-
// create tab group if it doesnt exist
|
3195 |
-
if( ! $wrap.children('.acf-tab-group').exists() )
|
3196 |
-
{
|
3197 |
-
$wrap.children('.field_type-tab:first').before('<ul class="hl clearfix acf-tab-group"></ul>');
|
3198 |
-
}
|
3199 |
-
|
3200 |
-
|
3201 |
-
// add tab
|
3202 |
-
$wrap.children('.acf-tab-group').append('<li class="field_key-' + id + '" data-field_key="' + id + '"><a class="acf-tab-button" href="#" data-id="' + id + '">' + label + '</a></li>');
|
3203 |
-
|
3204 |
-
});
|
3205 |
-
|
3206 |
-
// trigger
|
3207 |
-
$(el).find('.acf-tab-group').each(function(){
|
3208 |
-
|
3209 |
-
$(this).find('li:first a').trigger('click');
|
3210 |
|
3211 |
});
|
3212 |
-
// trigger conditional logic
|
3213 |
-
// this code ( acf/setup_fields ) is run after the main acf.conditional_logic.init();
|
3214 |
-
acf.conditional_logic.change();
|
3215 |
|
3216 |
|
|
|
|
|
3217 |
|
3218 |
-
|
3219 |
-
|
3220 |
});
|
3221 |
|
3222 |
|
|
|
|
|
3223 |
/*
|
3224 |
* Events
|
3225 |
*
|
@@ -3234,57 +3331,9 @@ var acf = {
|
|
3234 |
|
3235 |
$(document).on('click', '.acf-tab-button', function( e ){
|
3236 |
|
3237 |
-
|
3238 |
e.preventDefault();
|
3239 |
|
3240 |
-
|
3241 |
-
// vars
|
3242 |
-
var $a = $(this),
|
3243 |
-
$ul = $a.closest('ul'),
|
3244 |
-
$wrap = $ul.parent(),
|
3245 |
-
id = $a.attr('data-id');
|
3246 |
-
|
3247 |
-
|
3248 |
-
// classes
|
3249 |
-
$ul.find('li').removeClass('active');
|
3250 |
-
$a.parent('li').addClass('active');
|
3251 |
-
|
3252 |
-
|
3253 |
-
// hide / show
|
3254 |
-
$wrap.children('.field_type-tab').each(function(){
|
3255 |
-
|
3256 |
-
// vars
|
3257 |
-
var $tab = $(this),
|
3258 |
-
show = false;
|
3259 |
-
|
3260 |
-
|
3261 |
-
if( $tab.hasClass('field_key-' + id) )
|
3262 |
-
{
|
3263 |
-
show = true;
|
3264 |
-
}
|
3265 |
-
|
3266 |
-
|
3267 |
-
$tab.nextUntil('.field_type-tab').each(function(){
|
3268 |
-
|
3269 |
-
if( show )
|
3270 |
-
{
|
3271 |
-
$(this).removeClass('acf-tab_group-hide').addClass('acf-tab_group-show');
|
3272 |
-
$(document).trigger('acf/fields/tab/show', [ $(this) ]);
|
3273 |
-
}
|
3274 |
-
else
|
3275 |
-
{
|
3276 |
-
$(this).removeClass('acf-tab_group-show').addClass('acf-tab_group-hide');
|
3277 |
-
$(document).trigger('acf/fields/tab/hide', [ $(this) ]);
|
3278 |
-
}
|
3279 |
-
|
3280 |
-
});
|
3281 |
-
|
3282 |
-
});
|
3283 |
-
|
3284 |
-
|
3285 |
-
// blur to remove dotted lines around button
|
3286 |
-
$a.trigger('blur');
|
3287 |
-
|
3288 |
|
3289 |
});
|
3290 |
|
@@ -3393,7 +3442,8 @@ var acf = {
|
|
3393 |
validate : function( div ){
|
3394 |
|
3395 |
// var
|
3396 |
-
var ignore = false
|
|
|
3397 |
|
3398 |
|
3399 |
// set validation data
|
@@ -3414,7 +3464,9 @@ var acf = {
|
|
3414 |
|
3415 |
|
3416 |
// vars
|
3417 |
-
var $tab_field = div.prevAll('.field_type-tab:first')
|
|
|
|
|
3418 |
|
3419 |
// if the tab itself is hidden, bypass validation
|
3420 |
if( $tab_field.hasClass('acf-conditional_logic-hide') )
|
@@ -3424,7 +3476,7 @@ var acf = {
|
|
3424 |
else
|
3425 |
{
|
3426 |
// activate this tab as it holds hidden required field!
|
3427 |
-
|
3428 |
}
|
3429 |
}
|
3430 |
}
|
@@ -3546,9 +3598,12 @@ var acf = {
|
|
3546 |
// set validation
|
3547 |
if( ! div.data('validation') )
|
3548 |
{
|
|
|
3549 |
this.status = false;
|
3550 |
div.closest('.field').addClass('error');
|
3551 |
|
|
|
|
|
3552 |
if( div.data('validation_message') )
|
3553 |
{
|
3554 |
var $label = div.find('p.label:first'),
|
@@ -3561,6 +3616,14 @@ var acf = {
|
|
3561 |
|
3562 |
$label.append( '<span class="acf-error-message"><i class="bit"></i>' + div.data('validation_message') + '</span>' );
|
3563 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3564 |
}
|
3565 |
}
|
3566 |
|
1778 |
*
|
1779 |
*/
|
1780 |
|
1781 |
+
acf.fields.google_map = {
|
1782 |
|
1783 |
$el : null,
|
1784 |
$input : null,
|
1785 |
|
1786 |
o : {},
|
1787 |
|
1788 |
+
ready : false,
|
1789 |
geocoder : false,
|
1790 |
map : false,
|
1791 |
maps : {},
|
1811 |
}
|
1812 |
|
1813 |
|
|
|
|
|
|
|
|
|
1814 |
// return this for chaining
|
1815 |
return this;
|
1816 |
|
1817 |
},
|
1818 |
init : function(){
|
1819 |
+
|
1820 |
+
// geocode
|
1821 |
+
if( !this.geocoder )
|
1822 |
+
{
|
1823 |
+
this.geocoder = new google.maps.Geocoder();
|
1824 |
+
}
|
1825 |
+
|
1826 |
+
|
1827 |
+
// google maps is loaded and ready
|
1828 |
+
this.ready = true;
|
1829 |
+
|
1830 |
+
|
1831 |
// is clone field?
|
1832 |
if( acf.helpers.is_clone_field(this.$input) )
|
1833 |
{
|
2175 |
|
2176 |
$(document).on('acf/setup_fields', function(e, el){
|
2177 |
|
2178 |
+
// vars
|
2179 |
+
$fields = $(el).find('.acf-google-map');
|
2180 |
+
|
2181 |
+
|
2182 |
+
// validate
|
2183 |
+
if( ! $fields.exists() )
|
2184 |
{
|
2185 |
+
return;
|
2186 |
+
}
|
2187 |
+
|
2188 |
+
|
2189 |
+
// validate google
|
2190 |
+
if( typeof google === 'undefined' )
|
2191 |
+
{
|
2192 |
+
$.getScript('https://www.google.com/jsapi', function(){
|
2193 |
+
|
2194 |
+
google.load('maps', '3', { other_params: 'sensor=false&libraries=places', callback: function(){
|
2195 |
+
|
2196 |
+
$fields.each(function(){
|
2197 |
+
|
2198 |
+
acf.fields.google_map.set({ $el : $(this) }).init();
|
2199 |
|
2200 |
+
});
|
2201 |
+
|
2202 |
+
}});
|
2203 |
+
});
|
2204 |
+
|
2205 |
+
}
|
2206 |
+
else
|
2207 |
+
{
|
2208 |
+
$fields.each(function(){
|
2209 |
|
2210 |
+
acf.fields.google_map.set({ $el : $(this) }).init();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2211 |
|
2212 |
+
});
|
2213 |
+
|
2214 |
}
|
2215 |
|
2216 |
});
|
2232 |
|
2233 |
e.preventDefault();
|
2234 |
|
2235 |
+
acf.fields.google_map.set({ $el : $(this).closest('.acf-google-map') }).clear();
|
2236 |
|
2237 |
$(this).blur();
|
2238 |
|
2243 |
|
2244 |
e.preventDefault();
|
2245 |
|
2246 |
+
acf.fields.google_map.set({ $el : $(this).closest('.acf-google-map') }).locate();
|
2247 |
|
2248 |
$(this).blur();
|
2249 |
|
2253 |
|
2254 |
e.preventDefault();
|
2255 |
|
2256 |
+
acf.fields.google_map.set({ $el : $(this).closest('.acf-google-map') }).edit();
|
2257 |
|
2258 |
});
|
2259 |
|
2281 |
|
2282 |
});
|
2283 |
|
2284 |
+
$(document).on('acf/fields/tab/show acf/conditional_logic/show', function( e, $field ){
|
2285 |
+
|
2286 |
+
// validate
|
2287 |
+
if( ! acf.fields.google_map.ready )
|
2288 |
+
{
|
2289 |
+
return;
|
2290 |
+
}
|
2291 |
+
|
2292 |
|
2293 |
// validate
|
2294 |
if( $field.attr('data-field_type') == 'google_map' )
|
2295 |
{
|
2296 |
+
acf.fields.google_map.set({ $el : $field.find('.acf-google-map') }).refresh();
|
2297 |
}
|
2298 |
|
2299 |
});
|
2300 |
+
|
2301 |
|
2302 |
|
2303 |
})(jQuery);
|
3170 |
|
3171 |
(function($){
|
3172 |
|
3173 |
+
acf.fields.tab = {
|
3174 |
+
|
3175 |
+
add_group : function( $wrap ){
|
3176 |
+
|
3177 |
+
// vars
|
3178 |
+
var html = '';
|
3179 |
+
|
3180 |
+
|
3181 |
+
// generate html
|
3182 |
+
if( $wrap.is('tbody') )
|
3183 |
+
{
|
3184 |
+
html = '<tr class="acf-tab-wrap"><td colspan="2"><ul class="hl clearfix acf-tab-group"></ul></td></tr>';
|
3185 |
+
}
|
3186 |
+
else
|
3187 |
+
{
|
3188 |
+
html = '<div class="acf-tab-wrap"><ul class="hl clearfix acf-tab-group"></ul></div>';
|
3189 |
+
}
|
3190 |
+
|
3191 |
+
|
3192 |
+
// append html
|
3193 |
+
$wrap.children('.field_type-tab:first').before( html );
|
3194 |
+
|
3195 |
+
},
|
3196 |
+
|
3197 |
+
add_tab : function( $tab ){
|
3198 |
+
|
3199 |
+
// vars
|
3200 |
+
var $field = $tab.closest('.field'),
|
3201 |
+
$wrap = $field.parent(),
|
3202 |
+
|
3203 |
+
key = $field.attr('data-field_key'),
|
3204 |
+
label = $tab.text();
|
3205 |
+
|
3206 |
+
|
3207 |
+
// create tab group if it doesnt exist
|
3208 |
+
if( ! $wrap.children('.acf-tab-wrap').exists() )
|
3209 |
+
{
|
3210 |
+
this.add_group( $wrap );
|
3211 |
+
}
|
3212 |
+
|
3213 |
+
// add tab
|
3214 |
+
$wrap.children('.acf-tab-wrap').find('.acf-tab-group').append('<li class="field_key-' + key + '" data-field_key="' + key + '"><a class="acf-tab-button" href="#" data-key="' + key + '">' + label + '</a></li>');
|
3215 |
+
|
3216 |
+
},
|
3217 |
+
|
3218 |
+
toggle : function( $a ){
|
3219 |
+
|
3220 |
+
// vars
|
3221 |
+
var $wrap = $a.closest('.acf-tab-wrap').parent(),
|
3222 |
+
key = $a.attr('data-key');
|
3223 |
+
|
3224 |
+
|
3225 |
+
// classes
|
3226 |
+
$a.parent('li').addClass('active').siblings('li').removeClass('active');
|
3227 |
+
|
3228 |
+
|
3229 |
+
// hide / show
|
3230 |
+
$wrap.children('.field_type-tab').each(function(){
|
3231 |
+
|
3232 |
+
// vars
|
3233 |
+
var $tab = $(this),
|
3234 |
+
show = false;
|
3235 |
+
|
3236 |
+
|
3237 |
+
if( $tab.hasClass('field_key-' + key) )
|
3238 |
+
{
|
3239 |
+
show = true;
|
3240 |
+
}
|
3241 |
+
|
3242 |
+
|
3243 |
+
$tab.nextUntil('.field_type-tab').each(function(){
|
3244 |
+
|
3245 |
+
if( show )
|
3246 |
+
{
|
3247 |
+
$(this).removeClass('acf-tab_group-hide').addClass('acf-tab_group-show');
|
3248 |
+
$(document).trigger('acf/fields/tab/show', [ $(this) ]);
|
3249 |
+
}
|
3250 |
+
else
|
3251 |
+
{
|
3252 |
+
$(this).removeClass('acf-tab_group-show').addClass('acf-tab_group-hide');
|
3253 |
+
$(document).trigger('acf/fields/tab/hide', [ $(this) ]);
|
3254 |
+
}
|
3255 |
+
|
3256 |
+
});
|
3257 |
+
|
3258 |
+
});
|
3259 |
+
|
3260 |
+
|
3261 |
+
// blur to remove dotted lines around button
|
3262 |
+
$a.trigger('blur');
|
3263 |
+
|
3264 |
+
},
|
3265 |
+
|
3266 |
+
refresh : function( $el ){
|
3267 |
+
|
3268 |
+
// reference
|
3269 |
+
var _this = this;
|
3270 |
+
|
3271 |
+
|
3272 |
+
// trigger
|
3273 |
+
$el.find('.acf-tab-group .acf-tab-button:first').each(function(){
|
3274 |
+
|
3275 |
+
_this.toggle( $(this) );
|
3276 |
+
|
3277 |
+
});
|
3278 |
+
|
3279 |
+
|
3280 |
+
// trigger conditional logic
|
3281 |
+
// this code ( acf/setup_fields ) is run after the main acf.conditional_logic.init();
|
3282 |
+
acf.conditional_logic.change();
|
3283 |
+
|
3284 |
+
}
|
3285 |
+
|
3286 |
+
};
|
3287 |
+
|
3288 |
|
3289 |
/*
|
3290 |
* acf/setup_fields
|
3301 |
|
3302 |
$(document).on('acf/setup_fields', function(e, el){
|
3303 |
|
3304 |
+
// add tabs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3305 |
$(el).find('.acf-tab').each(function(){
|
3306 |
|
3307 |
+
acf.fields.tab.add_tab( $(this) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3308 |
|
3309 |
});
|
|
|
|
|
|
|
3310 |
|
3311 |
|
3312 |
+
// activate first tab
|
3313 |
+
acf.fields.tab.refresh( $(el) );
|
3314 |
|
|
|
|
|
3315 |
});
|
3316 |
|
3317 |
|
3318 |
+
|
3319 |
+
|
3320 |
/*
|
3321 |
* Events
|
3322 |
*
|
3331 |
|
3332 |
$(document).on('click', '.acf-tab-button', function( e ){
|
3333 |
|
|
|
3334 |
e.preventDefault();
|
3335 |
|
3336 |
+
acf.fields.tab.toggle( $(this) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3337 |
|
3338 |
});
|
3339 |
|
3442 |
validate : function( div ){
|
3443 |
|
3444 |
// var
|
3445 |
+
var ignore = false,
|
3446 |
+
$tab = null;
|
3447 |
|
3448 |
|
3449 |
// set validation data
|
3464 |
|
3465 |
|
3466 |
// vars
|
3467 |
+
var $tab_field = div.prevAll('.field_type-tab:first'),
|
3468 |
+
$tab_group = div.prevAll('.acf-tab-wrap:first');
|
3469 |
+
|
3470 |
|
3471 |
// if the tab itself is hidden, bypass validation
|
3472 |
if( $tab_field.hasClass('acf-conditional_logic-hide') )
|
3476 |
else
|
3477 |
{
|
3478 |
// activate this tab as it holds hidden required field!
|
3479 |
+
$tab = $tab_group.find('.acf-tab-button[data-key="' + $tab_field.attr('data-field_key') + '"]');
|
3480 |
}
|
3481 |
}
|
3482 |
}
|
3598 |
// set validation
|
3599 |
if( ! div.data('validation') )
|
3600 |
{
|
3601 |
+
// show error
|
3602 |
this.status = false;
|
3603 |
div.closest('.field').addClass('error');
|
3604 |
|
3605 |
+
|
3606 |
+
// custom validation message
|
3607 |
if( div.data('validation_message') )
|
3608 |
{
|
3609 |
var $label = div.find('p.label:first'),
|
3616 |
|
3617 |
$label.append( '<span class="acf-error-message"><i class="bit"></i>' + div.data('validation_message') + '</span>' );
|
3618 |
}
|
3619 |
+
|
3620 |
+
|
3621 |
+
// display field (curently hidden due to another tab being active)
|
3622 |
+
if( $tab )
|
3623 |
+
{
|
3624 |
+
$tab.trigger('click');
|
3625 |
+
}
|
3626 |
+
|
3627 |
}
|
3628 |
}
|
3629 |
|
js/input.min.js
CHANGED
@@ -10,5 +10,5 @@
|
|
10 |
*
|
11 |
* @param N/A
|
12 |
* @return N/A
|
13 |
-
*/var acf={ajaxurl:"",admin_url:"",wp_version:"",post_id:0,nonce:"",l10n:null,o:null,helpers:{get_atts:null,version_compare:null,uniqid:null,sortable:null,add_message:null,is_clone_field:null,url_to_object:null},validation:null,conditional_logic:null,media:null,fields:{date_picker:null,color_picker:null,Image:null,file:null,wysiwyg:null,gallery:null,relationship:null}};(function(e){acf.helpers.isset=function(){var e=arguments,t=e.length,n=0,r;if(t===0)throw new Error("Empty isset");while(n!==t){if(e[n]===r||e[n]===null)return!1;n++}return!0};acf.helpers.get_atts=function(t){var n={};e.each(t[0].attributes,function(e,t){t.name.substr(0,5)=="data-"&&(n[t.name.replace("data-","")]=t.value)});return n};acf.helpers.version_compare=function(e,t){if(typeof e+typeof t!="stringstring")return!1;var n=e.split("."),r=t.split("."),i=0,s=Math.max(n.length,r.length);for(;i<s;i++){if(n[i]&&!r[i]&&parseInt(n[i])>0||parseInt(n[i])>parseInt(r[i]))return 1;if(r[i]&&!n[i]&&parseInt(r[i])>0||parseInt(n[i])<parseInt(r[i]))return-1}return 0};acf.helpers.uniqid=function(){var e=new Date;return e.getTime()};acf.helpers.url_to_object=function(e){var t={},n=e.split("&");for(i in n){var r=n[i].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t};acf.helpers.sortable=function(t,n){n.children().each(function(){e(this).width(e(this).width())});return n};acf.helpers.is_clone_field=function(e){return e.attr("name")&&e.attr("name").indexOf("[acfcloneindex]")!=-1?!0:!1};acf.helpers.add_message=function(t,n){var t=e('<div class="acf-message-wrapper"><div class="message updated"><p>'+t+"</p></div></div>");n.prepend(t);setTimeout(function(){t.animate({opacity:0},250,function(){t.remove()})},1500)};e.fn.exists=function(){return e(this).length>0};acf.media={div:null,frame:null,render_timout:null,clear_frame:function(){if(!this.frame)return;this.frame.detach();this.frame.dispose();this.frame=null},type:function(){var e="thickbox";typeof wp=="object"&&(e="backbone");return e},init:function(){var t=wp.media.view.AttachmentCompat.prototype;t.orig_render=t.render;t.orig_dispose=t.dispose;t.className="compat-item acf_postbox no_box";t.render=function(){var t=this;if(t.ignore_render)return this;this.orig_render();setTimeout(function(){var n=t.$el.closest(".media-modal");if(n.hasClass("acf-media-modal"))return;if(n.find(".media-frame-router .acf-expand-details").exists())return;var r=e(['<a href="#" class="acf-expand-details">','<span class="icon"></span>','<span class="is-closed">'+acf.l10n.core.expand_details+"</span>",'<span class="is-open">'+acf.l10n.core.collapse_details+"</span>","</a>"].join(""));r.on("click",function(e){e.preventDefault();n.hasClass("acf-expanded")?n.removeClass("acf-expanded"):n.addClass("acf-expanded")});n.find(".media-frame-router").append(r)},0);clearTimeout(acf.media.render_timout);acf.media.render_timout=setTimeout(function(){e(document).trigger("acf/setup_fields",[t.$el])},50);return this};t.dispose=function(){e(document).trigger("acf/remove_fields",[this.$el]);this.orig_dispose()};t.save=function(e){var t={},n={};e&&e.preventDefault();_.each(this.$el.serializeArray(),function(e){if(e.name.slice(-2)==="[]"){e.name=e.name.replace("[]","");typeof n[e.name]=="undefined"&&(n[e.name]=-1);n[e.name]++;e.name+="["+n[e.name]+"]"}t[e.name]=e.value});this.ignore_render=!0;this.model.saveCompat(t)}}};acf.conditional_logic={items:[],init:function(){var t=this;e(document).on("change",".field input, .field textarea, .field select",function(){e("#acf-has-changed").exists()&&e("#acf-has-changed").val(1);t.change()});e(document).on("acf/setup_fields",function(e,n){t.change()});t.change()},change:function(){var t=this;e.each(this.items,function(n,r){var i=e(".field_key-"+r.field);i.each(function(){var n=!0;r.allorany=="any"&&(n=!1);var i=e(this),s=!0;e.each(r.rules,function(o,u){var a=e(".field_key-"+u.field);if(a.hasClass("sub_field")){a=i.siblings(".field_key-"+u.field);s=!1;if(!a.exists()){i.parents("tr").each(function(){a=e(this).find(".field_key-"+u.field);if(a.exists())return!1});s=!0}}var f=i.parent("tr").parent().parent("table").parent(".layout");if(f.exists()){s=!0;i.is("th")&&a.is("th")&&(a=i.closest(".layout").find("td.field_key-"+u.field))}var f=i.parent("tr").parent().parent("table").parent(".repeater");if(f.exists()&&f.attr("data-max_rows")=="1"){s=!0;i.is("th")&&a.is("th")&&(a=i.closest("table").find("td.field_key-"+u.field))}var l=t.calculate(u,a,i);if(r.allorany=="all"){if(l==0){n=!1;return!1}}else if(l==1){n=!0;return!1}});i.removeClass("acf-conditional_logic-hide acf-conditional_logic-show acf-show-blank");if(n){i.find("input, textarea, select").removeAttr("disabled");i.addClass("acf-conditional_logic-show");e(document).trigger("acf/conditional_logic/show",[i,r])}else{i.find("input, textarea, select").attr("disabled","disabled");i.addClass("acf-conditional_logic-hide");s||i.addClass("acf-show-blank");e(document).trigger("acf/conditional_logic/hide",[i,r])}})})},calculate:function(t,n,r){var i=!1;if(n.hasClass("field_type-true_false")||n.hasClass("field_type-checkbox")||n.hasClass("field_type-radio")){var s=n.find('input[value="'+t.value+'"]:checked').exists();t.operator=="=="?s&&(i=!0):s||(i=!0)}else{var o=n.find("input, textarea, select").last().val();e.isArray(o)||(o=[o]);t.operator=="=="?e.inArray(t.value,o)>-1&&(i=!0):e.inArray(t.value,o)<0&&(i=!0)}return i}};e(document).ready(function(){acf.conditional_logic.init();e(".acf_postbox > .inside > .options").each(function(){e(this).closest(".acf_postbox").addClass(e(this).attr("data-layout"))});e('#metakeyselect option[value^="field_"]').remove()});e(window).load(function(){acf.media.init();setTimeout(function(){try{e.isNumeric(acf.o.post_id)&&(wp.media.view.settings.post.id=acf.o.post_id)}catch(t){}e(document).trigger("acf/setup_fields",[e("#poststuff")])},10)});acf.fields.gallery={add:function(){},edit:function(){},update_count:function(){},hide_selected_items:function(){},text:{title_add:"Select Images"}}})(jQuery);(function(e){acf.screen={action:"acf/location/match_field_groups_ajax",post_id:0,page_template:0,page_parent:0,page_type:0,post_category:0,post_format:0,taxonomy:0,lang:0,nonce:0};e(document).ready(function(){acf.screen.post_id=acf.o.post_id;acf.screen.nonce=acf.o.nonce;if(e("#icl-als-first").length>0){var t=e("#icl-als-first").children("a").attr("href"),n=new RegExp("lang=([^&#]*)"),r=n.exec(t);acf.screen.lang=r[1]}});e(document).on("acf/update_field_groups",function(){if(!acf.screen.post_id||!e.isNumeric(acf.screen.post_id))return!1;e.ajax({url:ajaxurl,data:acf.screen,type:"post",dataType:"json",success:function(t){if(!t)return!1;e(".acf_postbox").addClass("acf-hidden");e(".acf_postbox-toggle").addClass("acf-hidden");if(t.length==0)return!1;e.each(t,function(t,n){var r=e("#acf_"+n),i=e('#adv-settings .acf_postbox-toggle[for="acf_'+n+'-hide"]');r.removeClass("acf-hidden hide-if-js");i.removeClass("acf-hidden");i.find('input[type="checkbox"]').attr("checked","checked");r.find(".acf-replace-with-fields").each(function(){var t=e(this);e.ajax({url:ajaxurl,data:{action:"acf/post/render_fields",acf_id:n,post_id:acf.o.post_id,nonce:acf.o.nonce},type:"post",dataType:"html",success:function(n){t.replaceWith(n);e(document).trigger("acf/setup_fields",r)}})})});e.ajax({url:ajaxurl,data:{action:"acf/post/get_style",acf_id:t[0],nonce:acf.o.nonce},type:"post",dataType:"html",success:function(t){e("#acf_style").html(t)}})}})});e(document).on("change","#page_template",function(){acf.screen.page_template=e(this).val();e(document).trigger("acf/update_field_groups")});e(document).on("change","#parent_id",function(){var t=e(this).val();if(t!=""){acf.screen.page_type="child";acf.screen.page_parent=t}else{acf.screen.page_type="parent";acf.screen.page_parent=0}e(document).trigger("acf/update_field_groups")});e(document).on("change",'#post-formats-select input[type="radio"]',function(){var t=e(this).val();t=="0"&&(t="standard");acf.screen.post_format=t;e(document).trigger("acf/update_field_groups")});e(document).on("change",'.categorychecklist input[type="checkbox"]',function(){if(e(this).closest(".categorychecklist").hasClass("no-ajax"))return;setTimeout(function(){var t=[];e('.categorychecklist input[type="checkbox"]:checked').each(function(){if(e(this).is(":hidden")||e(this).is(":disabled"))return;t.push(e(this).val())});acf.screen.post_category=t;acf.screen.taxonomy=t;e(document).trigger("acf/update_field_groups")},1)})})(jQuery);(function(e){var t=acf.fields.color_picker={$el:null,$input:null,set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="text"]');return this},init:function(){var e=this.$input;if(acf.helpers.is_clone_field(e))return;this.$input.wpColorPicker()}};e(document).on("acf/setup_fields",function(n,r){e(r).find(".acf-color_picker").each(function(){t.set({$el:e(this)}).init()})})})(jQuery);(function(e){acf.fields.date_picker={$el:null,$input:null,$hidden:null,o:{},set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="text"]');this.$hidden=this.$el.find('input[type="hidden"]');this.o=acf.helpers.get_atts(this.$el);return this},init:function(){if(acf.helpers.is_clone_field(this.$hidden))return;this.$input.val(this.$hidden.val());var t=e.extend({},acf.l10n.date_picker,{dateFormat:this.o.save_format,altField:this.$hidden,altFormat:this.o.save_format,changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day});this.$input.addClass("active").datepicker(t);this.$input.datepicker("option","dateFormat",this.o.display_format);e("body > #ui-datepicker-div").length>0&&e("#ui-datepicker-div").wrap('<div class="ui-acf" />')},blur:function(){this.$input.val()||this.$hidden.val("")}};e(document).on("acf/setup_fields",function(t,n){e(n).find(".acf-date_picker").each(function(){acf.fields.date_picker.set({$el:e(this)}).init()})});e(document).on("blur",'.acf-date_picker input[type="text"]',function(t){acf.fields.date_picker.set({$el:e(this).parent()}).blur()})})(jQuery);(function(e){var t=acf.media;acf.fields.file={$el:null,$input:null,o:{},set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="hidden"]');this.o=acf.helpers.get_atts(this.$el);this.o.multiple=this.$el.closest(".repeater").exists()?!0:!1;this.o.query={};this.o.library=="uploadedTo"&&(this.o.query.uploadedTo=acf.o.post_id);return this},init:function(){if(acf.helpers.is_clone_field(this.$input))return},add:function(e){var n=t.div;n.find(".acf-file-icon").attr("src",e.icon);n.find(".acf-file-title").text(e.title);n.find(".acf-file-name").text(e.name).attr("href",e.url);n.find(".acf-file-size").text(e.size);n.find(".acf-file-value").val(e.id).trigger("change");n.addClass("active");n.closest(".field").removeClass("error")},edit:function(){var n=this.$input.val();t.div=this.$el;t.clear_frame();t.frame=wp.media({title:acf.l10n.file.edit,multiple:!1,button:{text:acf.l10n.file.update}});t.frame.on("open",function(){t.frame.content._mode!="browse"&&t.frame.content.mode("browse");t.frame.$el.closest(".media-modal").addClass("acf-media-modal acf-expanded");var r=t.frame.state().get("selection"),i=wp.media.attachment(n);e.isEmptyObject(i.changed)&&i.fetch();r.add(i)});t.frame.on("close",function(){t.frame.$el.closest(".media-modal").removeClass("acf-media-modal")});acf.media.frame.open()},remove:function(){this.$el.find(".acf-file-icon").attr("src","");this.$el.find(".acf-file-title").text("");this.$el.find(".acf-file-name").text("").attr("href","");this.$el.find(".acf-file-size").text("");this.$el.find(".acf-file-value").val("").trigger("change");this.$el.removeClass("active")},popup:function(){var n=this;t.div=this.$el;t.clear_frame();t.frame=wp.media({states:[new wp.media.controller.Library({library:wp.media.query(n.o.query),multiple:n.o.multiple,title:acf.l10n.file.select,priority:20,filterable:"all"})]});acf.media.frame.on("content:activate",function(){var t=null,r=null;try{t=acf.media.frame.content.get().toolbar;r=t.get("filters")}catch(i){}if(!r)return!1;if(n.o.library=="uploadedTo"){r.$el.find('option[value="uploaded"]').remove();r.$el.after("<span>"+acf.l10n.file.uploadedTo+"</span>");e.each(r.filters,function(e,t){t.props.uploadedTo=acf.o.post_id})}});acf.media.frame.on("select",function(){selection=t.frame.state().get("selection");if(selection){var e=0;selection.each(function(n){e++;if(e>1){var r=t.div.closest("td"),s=r.closest(".row"),o=s.closest(".repeater"),u=r.attr("data-field_key"),a="td .acf-file-uploader:first";u&&(a='td[data-field_key="'+u+'"] .acf-file-uploader');s.next(".row").exists()||o.find(".add-row-end").trigger("click");t.div=s.next(".row").find(a)}var f={id:n.id,title:n.attributes.title,name:n.attributes.filename,url:n.attributes.url,icon:n.attributes.icon,size:n.attributes.filesize};acf.fields.file.add(f)})}});acf.media.frame.open();return!1}};e(document).on("click",".acf-file-uploader .acf-button-edit",function(t){t.preventDefault();acf.fields.file.set({$el:e(this).closest(".acf-file-uploader")}).edit()});e(document).on("click",".acf-file-uploader .acf-button-delete",function(t){t.preventDefault();acf.fields.file.set({$el:e(this).closest(".acf-file-uploader")}).remove()});e(document).on("click",".acf-file-uploader .add-file",function(t){t.preventDefault();acf.fields.file.set({$el:e(this).closest(".acf-file-uploader")}).popup()})})(jQuery);(function(e){acf.fields.location={$el:null,$input:null,o:{},geocoder:!1,map:!1,maps:{},set:function(t){e.extend(this,t);this.$input=this.$el.find(".value");this.o=acf.helpers.get_atts(this.$el);this.maps[this.o.id]&&(this.map=this.maps[this.o.id]);this.geocoder=new google.maps.Geocoder;return this},init:function(){if(acf.helpers.is_clone_field(this.$input))return;this.render()},render:function(){var e=this,t=this.$el,n={zoom:parseInt(this.o.zoom),center:new google.maps.LatLng(this.o.lat,this.o.lng),mapTypeId:google.maps.MapTypeId.ROADMAP};this.map=new google.maps.Map(this.$el.find(".canvas")[0],n);var r=new google.maps.places.Autocomplete(this.$el.find(".search")[0]);r.map=this.map;r.bindTo("bounds",this.map);this.map.marker=new google.maps.Marker({draggable:!0,raiseOnDrag:!0,map:this.map});this.map.$el=this.$el;var i=this.$el.find(".input-lat").val(),s=this.$el.find(".input-lng").val();i&&s&&this.update(i,s).center();google.maps.event.addListener(r,"place_changed",function(t){var n=this.map.$el,r=n.find(".search").val();n.find(".input-address").val(r);n.find(".title h4").text(r);var i=this.getPlace();if(i.geometry){var s=i.geometry.location.lat(),o=i.geometry.location.lng();e.set({$el:n}).update(s,o).center()}else e.geocoder.geocode({address:r},function(t,r){if(r!=google.maps.GeocoderStatus.OK){console.log("Geocoder failed due to: "+r);return}if(!t[0]){console.log("No results found");return}i=t[0];var s=i.geometry.location.lat(),o=i.geometry.location.lng();e.set({$el:n}).update(s,o).center()})});google.maps.event.addListener(this.map.marker,"dragend",function(){var t=this.map.$el,n=this.map.marker.getPosition(),r=n.lat(),i=n.lng();e.set({$el:t}).update(r,i).sync()});google.maps.event.addListener(this.map,"click",function(t){var n=this.$el,r=t.latLng.lat(),i=t.latLng.lng();e.set({$el:n}).update(r,i).sync()});this.maps[this.o.id]=this.map},update:function(e,t){var n=new google.maps.LatLng(e,t);this.$el.find(".input-lat").val(e);this.$el.find(".input-lng").val(t).trigger("change");this.map.marker.setPosition(n);this.map.marker.setVisible(!0);this.$el.addClass("active");this.$el.closest(".field").removeClass("error");return this},center:function(){var e=this.map.marker.getPosition(),t=this.o.lat,n=this.o.lng;if(e){t=e.lat();n=e.lng()}var r=new google.maps.LatLng(t,n);this.map.setCenter(r)},sync:function(){var e=this.$el,t=this.map.marker.getPosition(),n=new google.maps.LatLng(t.lat(),t.lng());this.geocoder.geocode({latLng:n},function(t,n){if(n!=google.maps.GeocoderStatus.OK){console.log("Geocoder failed due to: "+n);return}if(!t[0]){console.log("No results found");return}var r=t[0];e.find(".title h4").text(r.formatted_address);e.find(".input-address").val(r.formatted_address).trigger("change")});return this},locate:function(){var e=this,t=this.$el;if(!navigator.geolocation){alert(acf.l10n.google_map.browser_support);return this}t.find(".title h4").text(acf.l10n.google_map.locating+"...");t.addClass("active");navigator.geolocation.getCurrentPosition(function(n){var r=n.coords.latitude,i=n.coords.longitude;e.set({$el:t}).update(r,i).sync().center()})},clear:function(){this.$el.removeClass("active");this.$el.find(".search").val("");this.$el.find(".input-address").val("");this.$el.find(".input-lat").val("");this.$el.find(".input-lng").val("");this.map.marker.setVisible(!1)},edit:function(){this.$el.removeClass("active");var e=this.$el.find(".title h4").text();this.$el.find(".search").val(e).focus()},refresh:function(){google.maps.event.trigger(this.map,"resize");this.center()}};e(document).on("acf/setup_fields",function(t,n){e(n).find(".acf-google-map").exists()&&(typeof google=="undefined"?e.getScript("https://www.google.com/jsapi",function(){google.load("maps","3",{other_params:"sensor=false&libraries=places",callback:function(){e(n).find(".acf-google-map").each(function(){acf.fields.location.set({$el:e(this)}).init()})}})}):e(n).find(".acf-google-map").each(function(){acf.fields.location.set({$el:e(this)}).init()}))});e(document).on("click",".acf-google-map .acf-sprite-remove",function(t){t.preventDefault();acf.fields.location.set({$el:e(this).closest(".acf-google-map")}).clear();e(this).blur()});e(document).on("click",".acf-google-map .acf-sprite-locate",function(t){t.preventDefault();acf.fields.location.set({$el:e(this).closest(".acf-google-map")}).locate();e(this).blur()});e(document).on("click",".acf-google-map .title h4",function(t){t.preventDefault();acf.fields.location.set({$el:e(this).closest(".acf-google-map")}).edit()});e(document).on("keydown",".acf-google-map .search",function(e){if(e.which==13)return!1});e(document).on("blur",".acf-google-map .search",function(t){var n=e(this).closest(".acf-google-map");n.find(".input-lat").val()&&n.addClass("active")});e(document).on("acf/fields/tab/show",function(e,t){t.attr("data-field_type")=="google_map"&&acf.fields.location.set({$el:t.find(".acf-google-map")}).refresh()})})(jQuery);(function(e){var t=acf.media;acf.fields.image={$el:null,$input:null,o:{},set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="hidden"]');this.o=acf.helpers.get_atts(this.$el);this.o.multiple=this.$el.closest(".repeater").exists()?!0:!1;this.o.query={type:"image"};this.o.library=="uploadedTo"&&(this.o.query.uploadedTo=acf.o.post_id);return this},init:function(){if(acf.helpers.is_clone_field(this.$input))return},add:function(e){var n=t.div;n.find(".acf-image-image").attr("src",e.url);n.find(".acf-image-value").val(e.id).trigger("change");n.addClass("active");n.closest(".field").removeClass("error")},edit:function(){var n=this.$input.val();t.div=this.$el;t.clear_frame();t.frame=wp.media({title:acf.l10n.image.edit,multiple:!1,button:{text:acf.l10n.image.update}});t.frame.on("open",function(){t.frame.content._mode!="browse"&&t.frame.content.mode("browse");t.frame.$el.closest(".media-modal").addClass("acf-media-modal acf-expanded");var r=t.frame.state().get("selection"),i=wp.media.attachment(n);e.isEmptyObject(i.changed)&&i.fetch();r.add(i)});t.frame.on("close",function(){t.frame.$el.closest(".media-modal").removeClass("acf-media-modal")});acf.media.frame.open()},remove:function(){this.$el.find(".acf-image-image").attr("src","");this.$el.find(".acf-image-value").val("").trigger("change");this.$el.removeClass("active")},popup:function(){var n=this;t.div=this.$el;t.clear_frame();t.frame=wp.media({states:[new wp.media.controller.Library({library:wp.media.query(n.o.query),multiple:n.o.multiple,title:acf.l10n.image.select,priority:20,filterable:"all"})]});acf.media.frame.on("content:activate",function(){var t=null,r=null;try{t=acf.media.frame.content.get().toolbar;r=t.get("filters")}catch(i){}if(!r)return!1;e.each(r.filters,function(e,t){t.props.type="image"});if(n.o.library=="uploadedTo"){r.$el.find('option[value="uploaded"]').remove();r.$el.after("<span>"+acf.l10n.image.uploadedTo+"</span>");e.each(r.filters,function(e,t){t.props.uploadedTo=acf.o.post_id})}r.$el.find("option").each(function(){var t=e(this).attr("value");if(t=="uploaded"&&n.o.library=="all")return;t.indexOf("image")===-1&&e(this).remove()});r.$el.val("image").trigger("change")});acf.media.frame.on("select",function(){selection=t.frame.state().get("selection");if(selection){var e=0;selection.each(function(r){e++;if(e>1){var s=t.div.closest("td"),o=s.closest(".row"),u=o.closest(".repeater"),a=s.attr("data-field_key"),f="td .acf-image-uploader:first";a&&(f='td[data-field_key="'+a+'"] .acf-image-uploader');o.next(".row").exists()||u.find(".add-row-end").trigger("click");t.div=o.next(".row").find(f)}var l={id:r.id,url:r.attributes.url};r.attributes.sizes&&r.attributes.sizes[n.o.preview_size]&&(l.url=r.attributes.sizes[n.o.preview_size].url);acf.fields.image.add(l)})}});acf.media.frame.open();return!1},text:{title_add:"Select Image",title_edit:"Edit Image"}};e(document).on("click",".acf-image-uploader .acf-button-edit",function(t){t.preventDefault();acf.fields.image.set({$el:e(this).closest(".acf-image-uploader")}).edit()});e(document).on("click",".acf-image-uploader .acf-button-delete",function(t){t.preventDefault();acf.fields.image.set({$el:e(this).closest(".acf-image-uploader")}).remove()});e(document).on("click",".acf-image-uploader .add-image",function(t){t.preventDefault();acf.fields.image.set({$el:e(this).closest(".acf-image-uploader")}).popup()})})(jQuery);(function(e){acf.fields.radio={$el:null,$input:null,$other:null,farbtastic:null,set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="radio"]:checked');this.$other=this.$el.find('input[type="text"]');return this},change:function(){if(this.$input.val()=="other"){this.$other.attr("name",this.$input.attr("name"));this.$other.show()}else{this.$other.attr("name","");this.$other.hide()}}};e(document).on("change",'.acf-radio-list input[type="radio"]',function(t){acf.fields.radio.set({$el:e(this).closest(".acf-radio-list")}).change()})})(jQuery);(function(e){acf.fields.relationship={$el:null,$input:null,$left:null,$right:null,o:{},timeout:null,set:function(t){e.extend(this,t);this.$input=this.$el.children('input[type="hidden"]');this.$left=this.$el.find(".relationship_left"),this.$right=this.$el.find(".relationship_right");this.o=acf.helpers.get_atts(this.$el);return this},init:function(){var t=this;if(acf.helpers.is_clone_field(this.$input))return;this.$right.find(".relationship_list").height(this.$left.height()-2);this.$right.find(".relationship_list").sortable({axis:"y",items:"> li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:function(){t.$input.trigger("change")}});var n=this.$el;this.$left.find(".relationship_list").scrollTop(0).on("scroll",function(r){if(n.hasClass("loading")||n.hasClass("no-results"))return;if(e(this).scrollTop()+e(this).innerHeight()>=e(this).get(0).scrollHeight){var i=parseInt(n.attr("data-paged"));n.attr("data-paged",i+1);t.set({$el:n}).fetch()}});this.fetch()},fetch:function(){var t=this,n=this.$el;n.addClass("loading");e.ajax({url:acf.o.ajaxurl,type:"post",dataType:"json",data:e.extend({action:"acf/fields/relationship/query_posts",post_id:acf.o.post_id,nonce:acf.o.nonce},this.o),success:function(e){t.set({$el:n}).render(e)}})},render:function(t){var n=this;this.$el.removeClass("no-results").removeClass("loading");this.o.paged==1&&this.$el.find(".relationship_left li:not(.load-more)").remove();if(!t||!t.html){this.$el.addClass("no-results");return}this.$el.find(".relationship_left .load-more").before(t.html);t.next_page_exists||this.$el.addClass("no-results");this.$left.find("a").each(function(){var t=e(this).attr("data-post_id");n.$right.find('a[data-post_id="'+t+'"]').exists()&&e(this).parent().addClass("hide")})},add:function(e){var t=e.attr("data-post_id"),n=e.html();if(this.$right.find("a").length>=this.o.max){alert(acf.l10n.relationship.max.replace("{max}",this.o.max));return!1}if(e.parent().hasClass("hide"))return!1;e.parent().addClass("hide");var r={post_id:e.attr("data-post_id"),title:e.html(),name:this.$input.attr("name")},i=_.template(acf.l10n.relationship.tmpl_li,r);this.$right.find(".relationship_list").append(i);this.$input.trigger("change");this.$el.closest(".field").removeClass("error")},remove:function(e){e.parent().remove();this.$left.find('a[data-post_id="'+e.attr("data-post_id")+'"]').parent("li").removeClass("hide");this.$input.trigger("change")}};e(document).on("acf/setup_fields",function(t,n){e(n).find(".acf_relationship").each(function(){acf.fields.relationship.set({$el:e(this)}).init()})});e(document).on("change",".acf_relationship .select-post_type",function(t){var n=e(this).val(),r=e(this).closest(".acf_relationship");r.attr("data-post_type",n);r.attr("data-paged",1);acf.fields.relationship.set({$el:r}).fetch()});e(document).on("click",".acf_relationship .relationship_left .relationship_list a",function(t){t.preventDefault();acf.fields.relationship.set({$el:e(this).closest(".acf_relationship")}).add(e(this));e(this).blur()});e(document).on("click",".acf_relationship .relationship_right .relationship_list a",function(t){t.preventDefault();acf.fields.relationship.set({$el:e(this).closest(".acf_relationship")}).remove(e(this));e(this).blur()});e(document).on("keyup",".acf_relationship input.relationship_search",function(t){var n=e(this).val(),r=e(this).closest(".acf_relationship");r.attr("data-s",n);r.attr("data-paged",1);clearTimeout(acf.fields.relationship.timeout);acf.fields.relationship.timeout=setTimeout(function(){acf.fields.relationship.set({$el:r}).fetch()},500)});e(document).on("keypress",".acf_relationship input.relationship_search",function(e){e.which==13&&e.preventDefault()})})(jQuery);(function(e){e(document).on("acf/setup_fields",function(t,n){if(!e(n).find(".acf-tab").exists())return;e(n).find(".acf-tab").each(function(){var t=e(this),n=t.parent(),r=n.parent(),i=t.attr("data-id"),s=t.html();if(t.hasClass("acf-tab-added"))return;t.addClass("acf-tab-added");r.children(".acf-tab-group").exists()||r.children(".field_type-tab:first").before('<ul class="hl clearfix acf-tab-group"></ul>');r.children(".acf-tab-group").append('<li class="field_key-'+i+'" data-field_key="'+i+'"><a class="acf-tab-button" href="#" data-id="'+i+'">'+s+"</a></li>")});e(n).find(".acf-tab-group").each(function(){e(this).find("li:first a").trigger("click")});acf.conditional_logic.change()});e(document).on("click",".acf-tab-button",function(t){t.preventDefault();var n=e(this),r=n.closest("ul"),i=r.parent(),s=n.attr("data-id");r.find("li").removeClass("active");n.parent("li").addClass("active");i.children(".field_type-tab").each(function(){var t=e(this),n=!1;t.hasClass("field_key-"+s)&&(n=!0);t.nextUntil(".field_type-tab").each(function(){if(n){e(this).removeClass("acf-tab_group-hide").addClass("acf-tab_group-show");e(document).trigger("acf/fields/tab/show",[e(this)])}else{e(this).removeClass("acf-tab_group-show").addClass("acf-tab_group-hide");e(document).trigger("acf/fields/tab/hide",[e(this)])}})});n.trigger("blur")});e(document).on("acf/conditional_logic/hide",function(t,n,r){if(!n.parent().hasClass("acf-tab-group"))return;var i=n.attr("data-field_key");n.siblings(":visible").exists()?n.siblings(":visible").first().children("a").trigger("click"):e('.field_type-tab[data-field_key="'+i+'"]').nextUntil(".field_type-tab").removeClass("acf-tab_group-show").addClass("acf-tab_group-hide")});e(document).on("acf/conditional_logic/show",function(e,t,n){if(!t.parent().hasClass("acf-tab-group"))return;if(t.hasClass("active")){t.children("a").trigger("click");return}if(t.siblings(".active").hasClass("acf-conditional_logic-hide")){t.children("a").trigger("click");return}})})(jQuery);(function(e){acf.validation={status:!0,disabled:!1,run:function(){var t=this;t.status=!0;e(".field.required, .form-field.required").each(function(){t.validate(e(this))})},validate:function(t){var n=!1;t.data("validation",!0);if(t.is(":hidden")){n=!0;if(t.hasClass("acf-tab_group-hide")){n=!1;var r=t.prevAll(".field_type-tab:first");r.hasClass("acf-conditional_logic-hide")?n=!0:t.prevAll(".acf-tab-group:first").find('.acf-tab-button[data-id="'+r.attr("data-field_key")+'"]').trigger("click")}}t.hasClass("acf-conditional_logic-hide")&&(n=!0);if(n)return;t.find('input[type="text"], input[type="email"], input[type="number"], input[type="hidden"], textarea').val()==""&&t.data("validation",!1);if(t.find(".acf_wysiwyg").exists()&&typeof tinyMCE=="object"){t.data("validation",!0);var i=t.find(".wp-editor-area").attr("id"),s=tinyMCE.get(i);s&&!s.getContent()&&t.data("validation",!1)}if(t.find("select").exists()){t.data("validation",!0);(t.find("select").val()=="null"||!t.find("select").val())&&t.data("validation",!1)}if(t.find('input[type="radio"]').exists()){t.data("validation",!1);t.find('input[type="radio"]:checked').exists()&&t.data("validation",!0)}if(t.find('input[type="checkbox"]').exists()){t.data("validation",!1);t.find('input[type="checkbox"]:checked').exists()&&t.data("validation",!0)}if(t.find(".acf_relationship").exists()){t.data("validation",!1);t.find(".acf_relationship .relationship_right input").exists()&&t.data("validation",!0)}if(t.find(".repeater").exists()){t.data("validation",!1);t.find(".repeater tr.row").exists()&&t.data("validation",!0)}if(t.find(".acf-gallery").exists()){t.data("validation",!1);t.find(".acf-gallery .thumbnail").exists()&&t.data("validation",!0)}e(document).trigger("acf/validate_field",[t]);if(!t.data("validation")){this.status=!1;t.closest(".field").addClass("error");if(t.data("validation_message")){var o=t.find("p.label:first"),u=null;o.children(".acf-error-message").remove();o.append('<span class="acf-error-message"><i class="bit"></i>'+t.data("validation_message")+"</span>")}}}};e(document).on("focus click",".field.required input, .field.required textarea, .field.required select",function(t){e(this).closest(".field").removeClass("error")});e(document).on("click","#save-post",function(){acf.validation.disabled=!0});e(document).on("submit","#post",function(){if(acf.validation.disabled)return!0;acf.validation.run();if(!acf.validation.status){var t=e(this);t.siblings("#message").remove();t.before('<div id="message" class="error"><p>'+acf.l10n.validation.error+"</p></div>");e("#publish").removeClass("button-primary-disabled");e("#ajax-loading").attr("style","");e("#publishing-action .spinner").hide();return!1}e(".acf_postbox.acf-hidden").remove();return!0})})(jQuery);(function(e){var t=acf.fields.wysiwyg={$el:null,$textarea:null,o:{},set:function(t){e.extend(this,t);this.$textarea=this.$el.find("textarea");this.o=acf.helpers.get_atts(this.$el);this.o.id=this.$textarea.attr("id");return this},has_tinymce:function(){var e=!1;typeof tinyMCE=="object"&&(e=!0);return e},init:function(){if(acf.helpers.is_clone_field(this.$textarea))return;var t=e.extend({},tinyMCE.settings);tinyMCE.settings.theme_advanced_buttons1="";tinyMCE.settings.theme_advanced_buttons2="";tinyMCE.settings.theme_advanced_buttons3="";tinyMCE.settings.theme_advanced_buttons4="";acf.helpers.isset(this.toolbars[this.o.toolbar])&&e.each(this.toolbars[this.o.toolbar],function(e,t){tinyMCE.settings[e]=t});tinyMCE.execCommand("mceAddControl",!1,this.o.id);e(document).trigger("acf/wysiwyg/load",this.o.id);this.add_events();tinyMCE.settings=t;wpActiveEditor=null},add_events:function(){var t=this.o.id,n=tinyMCE.get(t);if(!n)return;var r=e("#wp-"+t+"-wrap"),i=e(n.getBody());r.on("click",function(){e(document).trigger("acf/wysiwyg/click",t)});i.on("focus",function(){e(document).trigger("acf/wysiwyg/focus",t)});i.on("blur",function(){e(document).trigger("acf/wysiwyg/blur",t)})},destroy:function(){try{var e=this.o.id,t=tinyMCE.get(e);if(t){var n=t.getContent();tinyMCE.execCommand("mceRemoveControl",!1,e);this.$textarea.val(n)}}catch(r){}wpActiveEditor=null}};e(document).on("acf/setup_fields",function(n,r){if(!t.has_tinymce())return;e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).destroy()});setTimeout(function(){e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).init()})},0)});e(document).on("acf/remove_fields",function(n,r){if(!t.has_tinymce())return;r.find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).destroy()})});e(document).on("acf/wysiwyg/click",function(t,n){wpActiveEditor=n;container=e("#wp-"+n+"-wrap").closest(".field").removeClass("error")});e(
|
14 |
-
document).on("acf/wysiwyg/focus",function(t,n){wpActiveEditor=n;container=e("#wp-"+n+"-wrap").closest(".field").removeClass("error")});e(document).on("acf/wysiwyg/blur",function(t,n){wpActiveEditor=null;var r=tinyMCE.get(n);if(!r)return;var i=r.getElement();r.save();e(i).trigger("change")});e(document).on("acf/sortable_start",function(n,r){if(!t.has_tinymce())return;e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).destroy()})});e(document).on("acf/sortable_stop",function(n,r){if(!t.has_tinymce())return;e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).init()})});e(window).load(function(){if(!t.has_tinymce())return;var n=e("#wp-content-wrap").exists(),r=e("#wp-acf_settings-wrap").exists();mode="tmce";r&&e("#wp-acf_settings-wrap").hasClass("html-active")&&(mode="html");setTimeout(function(){r&&mode=="html"&&e("#acf_settings-tmce").trigger("click")},1);setTimeout(function(){r&&mode=="html"&&e("#acf_settings-html").trigger("click");n&&t.set({$el:e("#wp-content-wrap")}).add_events()},11)});e(document).on("click",".acf_wysiwyg a.mce_fullscreen",function(){var t=e(this).closest(".acf_wysiwyg"),n=t.attr("data-upload");n=="no"&&e("#mce_fullscreen_container td.mceToolbar .mce_add_media").remove()})})(jQuery);
|
10 |
*
|
11 |
* @param N/A
|
12 |
* @return N/A
|
13 |
+
*/var acf={ajaxurl:"",admin_url:"",wp_version:"",post_id:0,nonce:"",l10n:null,o:null,helpers:{get_atts:null,version_compare:null,uniqid:null,sortable:null,add_message:null,is_clone_field:null,url_to_object:null},validation:null,conditional_logic:null,media:null,fields:{date_picker:null,color_picker:null,Image:null,file:null,wysiwyg:null,gallery:null,relationship:null}};(function(e){acf.helpers.isset=function(){var e=arguments,t=e.length,n=0,r;if(t===0)throw new Error("Empty isset");while(n!==t){if(e[n]===r||e[n]===null)return!1;n++}return!0};acf.helpers.get_atts=function(t){var n={};e.each(t[0].attributes,function(e,t){t.name.substr(0,5)=="data-"&&(n[t.name.replace("data-","")]=t.value)});return n};acf.helpers.version_compare=function(e,t){if(typeof e+typeof t!="stringstring")return!1;var n=e.split("."),r=t.split("."),i=0,s=Math.max(n.length,r.length);for(;i<s;i++){if(n[i]&&!r[i]&&parseInt(n[i])>0||parseInt(n[i])>parseInt(r[i]))return 1;if(r[i]&&!n[i]&&parseInt(r[i])>0||parseInt(n[i])<parseInt(r[i]))return-1}return 0};acf.helpers.uniqid=function(){var e=new Date;return e.getTime()};acf.helpers.url_to_object=function(e){var t={},n=e.split("&");for(i in n){var r=n[i].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t};acf.helpers.sortable=function(t,n){n.children().each(function(){e(this).width(e(this).width())});return n};acf.helpers.is_clone_field=function(e){return e.attr("name")&&e.attr("name").indexOf("[acfcloneindex]")!=-1?!0:!1};acf.helpers.add_message=function(t,n){var t=e('<div class="acf-message-wrapper"><div class="message updated"><p>'+t+"</p></div></div>");n.prepend(t);setTimeout(function(){t.animate({opacity:0},250,function(){t.remove()})},1500)};e.fn.exists=function(){return e(this).length>0};acf.media={div:null,frame:null,render_timout:null,clear_frame:function(){if(!this.frame)return;this.frame.detach();this.frame.dispose();this.frame=null},type:function(){var e="thickbox";typeof wp=="object"&&(e="backbone");return e},init:function(){var t=wp.media.view.AttachmentCompat.prototype;t.orig_render=t.render;t.orig_dispose=t.dispose;t.className="compat-item acf_postbox no_box";t.render=function(){var t=this;if(t.ignore_render)return this;this.orig_render();setTimeout(function(){var n=t.$el.closest(".media-modal");if(n.hasClass("acf-media-modal"))return;if(n.find(".media-frame-router .acf-expand-details").exists())return;var r=e(['<a href="#" class="acf-expand-details">','<span class="icon"></span>','<span class="is-closed">'+acf.l10n.core.expand_details+"</span>",'<span class="is-open">'+acf.l10n.core.collapse_details+"</span>","</a>"].join(""));r.on("click",function(e){e.preventDefault();n.hasClass("acf-expanded")?n.removeClass("acf-expanded"):n.addClass("acf-expanded")});n.find(".media-frame-router").append(r)},0);clearTimeout(acf.media.render_timout);acf.media.render_timout=setTimeout(function(){e(document).trigger("acf/setup_fields",[t.$el])},50);return this};t.dispose=function(){e(document).trigger("acf/remove_fields",[this.$el]);this.orig_dispose()};t.save=function(e){var t={},n={};e&&e.preventDefault();_.each(this.$el.serializeArray(),function(e){if(e.name.slice(-2)==="[]"){e.name=e.name.replace("[]","");typeof n[e.name]=="undefined"&&(n[e.name]=-1);n[e.name]++;e.name+="["+n[e.name]+"]"}t[e.name]=e.value});this.ignore_render=!0;this.model.saveCompat(t)}}};acf.conditional_logic={items:[],init:function(){var t=this;e(document).on("change",".field input, .field textarea, .field select",function(){e("#acf-has-changed").exists()&&e("#acf-has-changed").val(1);t.change()});e(document).on("acf/setup_fields",function(e,n){t.change()});t.change()},change:function(){var t=this;e.each(this.items,function(n,r){var i=e(".field_key-"+r.field);i.each(function(){var n=!0;r.allorany=="any"&&(n=!1);var i=e(this),s=!0;e.each(r.rules,function(o,u){var a=e(".field_key-"+u.field);if(a.hasClass("sub_field")){a=i.siblings(".field_key-"+u.field);s=!1;if(!a.exists()){i.parents("tr").each(function(){a=e(this).find(".field_key-"+u.field);if(a.exists())return!1});s=!0}}var f=i.parent("tr").parent().parent("table").parent(".layout");if(f.exists()){s=!0;i.is("th")&&a.is("th")&&(a=i.closest(".layout").find("td.field_key-"+u.field))}var f=i.parent("tr").parent().parent("table").parent(".repeater");if(f.exists()&&f.attr("data-max_rows")=="1"){s=!0;i.is("th")&&a.is("th")&&(a=i.closest("table").find("td.field_key-"+u.field))}var l=t.calculate(u,a,i);if(r.allorany=="all"){if(l==0){n=!1;return!1}}else if(l==1){n=!0;return!1}});i.removeClass("acf-conditional_logic-hide acf-conditional_logic-show acf-show-blank");if(n){i.find("input, textarea, select").removeAttr("disabled");i.addClass("acf-conditional_logic-show");e(document).trigger("acf/conditional_logic/show",[i,r])}else{i.find("input, textarea, select").attr("disabled","disabled");i.addClass("acf-conditional_logic-hide");s||i.addClass("acf-show-blank");e(document).trigger("acf/conditional_logic/hide",[i,r])}})})},calculate:function(t,n,r){var i=!1;if(n.hasClass("field_type-true_false")||n.hasClass("field_type-checkbox")||n.hasClass("field_type-radio")){var s=n.find('input[value="'+t.value+'"]:checked').exists();t.operator=="=="?s&&(i=!0):s||(i=!0)}else{var o=n.find("input, textarea, select").last().val();e.isArray(o)||(o=[o]);t.operator=="=="?e.inArray(t.value,o)>-1&&(i=!0):e.inArray(t.value,o)<0&&(i=!0)}return i}};e(document).ready(function(){acf.conditional_logic.init();e(".acf_postbox > .inside > .options").each(function(){e(this).closest(".acf_postbox").addClass(e(this).attr("data-layout"))});e('#metakeyselect option[value^="field_"]').remove()});e(window).load(function(){acf.media.init();setTimeout(function(){try{e.isNumeric(acf.o.post_id)&&(wp.media.view.settings.post.id=acf.o.post_id)}catch(t){}e(document).trigger("acf/setup_fields",[e("#poststuff")])},10)});acf.fields.gallery={add:function(){},edit:function(){},update_count:function(){},hide_selected_items:function(){},text:{title_add:"Select Images"}}})(jQuery);(function(e){acf.screen={action:"acf/location/match_field_groups_ajax",post_id:0,page_template:0,page_parent:0,page_type:0,post_category:0,post_format:0,taxonomy:0,lang:0,nonce:0};e(document).ready(function(){acf.screen.post_id=acf.o.post_id;acf.screen.nonce=acf.o.nonce;if(e("#icl-als-first").length>0){var t=e("#icl-als-first").children("a").attr("href"),n=new RegExp("lang=([^&#]*)"),r=n.exec(t);acf.screen.lang=r[1]}});e(document).on("acf/update_field_groups",function(){if(!acf.screen.post_id||!e.isNumeric(acf.screen.post_id))return!1;e.ajax({url:ajaxurl,data:acf.screen,type:"post",dataType:"json",success:function(t){if(!t)return!1;e(".acf_postbox").addClass("acf-hidden");e(".acf_postbox-toggle").addClass("acf-hidden");if(t.length==0)return!1;e.each(t,function(t,n){var r=e("#acf_"+n),i=e('#adv-settings .acf_postbox-toggle[for="acf_'+n+'-hide"]');r.removeClass("acf-hidden hide-if-js");i.removeClass("acf-hidden");i.find('input[type="checkbox"]').attr("checked","checked");r.find(".acf-replace-with-fields").each(function(){var t=e(this);e.ajax({url:ajaxurl,data:{action:"acf/post/render_fields",acf_id:n,post_id:acf.o.post_id,nonce:acf.o.nonce},type:"post",dataType:"html",success:function(n){t.replaceWith(n);e(document).trigger("acf/setup_fields",r)}})})});e.ajax({url:ajaxurl,data:{action:"acf/post/get_style",acf_id:t[0],nonce:acf.o.nonce},type:"post",dataType:"html",success:function(t){e("#acf_style").html(t)}})}})});e(document).on("change","#page_template",function(){acf.screen.page_template=e(this).val();e(document).trigger("acf/update_field_groups")});e(document).on("change","#parent_id",function(){var t=e(this).val();if(t!=""){acf.screen.page_type="child";acf.screen.page_parent=t}else{acf.screen.page_type="parent";acf.screen.page_parent=0}e(document).trigger("acf/update_field_groups")});e(document).on("change",'#post-formats-select input[type="radio"]',function(){var t=e(this).val();t=="0"&&(t="standard");acf.screen.post_format=t;e(document).trigger("acf/update_field_groups")});e(document).on("change",'.categorychecklist input[type="checkbox"]',function(){if(e(this).closest(".categorychecklist").hasClass("no-ajax"))return;setTimeout(function(){var t=[];e('.categorychecklist input[type="checkbox"]:checked').each(function(){if(e(this).is(":hidden")||e(this).is(":disabled"))return;t.push(e(this).val())});acf.screen.post_category=t;acf.screen.taxonomy=t;e(document).trigger("acf/update_field_groups")},1)})})(jQuery);(function(e){var t=acf.fields.color_picker={$el:null,$input:null,set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="text"]');return this},init:function(){var e=this.$input;if(acf.helpers.is_clone_field(e))return;this.$input.wpColorPicker()}};e(document).on("acf/setup_fields",function(n,r){e(r).find(".acf-color_picker").each(function(){t.set({$el:e(this)}).init()})})})(jQuery);(function(e){acf.fields.date_picker={$el:null,$input:null,$hidden:null,o:{},set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="text"]');this.$hidden=this.$el.find('input[type="hidden"]');this.o=acf.helpers.get_atts(this.$el);return this},init:function(){if(acf.helpers.is_clone_field(this.$hidden))return;this.$input.val(this.$hidden.val());var t=e.extend({},acf.l10n.date_picker,{dateFormat:this.o.save_format,altField:this.$hidden,altFormat:this.o.save_format,changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day});this.$input.addClass("active").datepicker(t);this.$input.datepicker("option","dateFormat",this.o.display_format);e("body > #ui-datepicker-div").length>0&&e("#ui-datepicker-div").wrap('<div class="ui-acf" />')},blur:function(){this.$input.val()||this.$hidden.val("")}};e(document).on("acf/setup_fields",function(t,n){e(n).find(".acf-date_picker").each(function(){acf.fields.date_picker.set({$el:e(this)}).init()})});e(document).on("blur",'.acf-date_picker input[type="text"]',function(t){acf.fields.date_picker.set({$el:e(this).parent()}).blur()})})(jQuery);(function(e){var t=acf.media;acf.fields.file={$el:null,$input:null,o:{},set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="hidden"]');this.o=acf.helpers.get_atts(this.$el);this.o.multiple=this.$el.closest(".repeater").exists()?!0:!1;this.o.query={};this.o.library=="uploadedTo"&&(this.o.query.uploadedTo=acf.o.post_id);return this},init:function(){if(acf.helpers.is_clone_field(this.$input))return},add:function(e){var n=t.div;n.find(".acf-file-icon").attr("src",e.icon);n.find(".acf-file-title").text(e.title);n.find(".acf-file-name").text(e.name).attr("href",e.url);n.find(".acf-file-size").text(e.size);n.find(".acf-file-value").val(e.id).trigger("change");n.addClass("active");n.closest(".field").removeClass("error")},edit:function(){var n=this.$input.val();t.div=this.$el;t.clear_frame();t.frame=wp.media({title:acf.l10n.file.edit,multiple:!1,button:{text:acf.l10n.file.update}});t.frame.on("open",function(){t.frame.content._mode!="browse"&&t.frame.content.mode("browse");t.frame.$el.closest(".media-modal").addClass("acf-media-modal acf-expanded");var r=t.frame.state().get("selection"),i=wp.media.attachment(n);e.isEmptyObject(i.changed)&&i.fetch();r.add(i)});t.frame.on("close",function(){t.frame.$el.closest(".media-modal").removeClass("acf-media-modal")});acf.media.frame.open()},remove:function(){this.$el.find(".acf-file-icon").attr("src","");this.$el.find(".acf-file-title").text("");this.$el.find(".acf-file-name").text("").attr("href","");this.$el.find(".acf-file-size").text("");this.$el.find(".acf-file-value").val("").trigger("change");this.$el.removeClass("active")},popup:function(){var n=this;t.div=this.$el;t.clear_frame();t.frame=wp.media({states:[new wp.media.controller.Library({library:wp.media.query(n.o.query),multiple:n.o.multiple,title:acf.l10n.file.select,priority:20,filterable:"all"})]});acf.media.frame.on("content:activate",function(){var t=null,r=null;try{t=acf.media.frame.content.get().toolbar;r=t.get("filters")}catch(i){}if(!r)return!1;if(n.o.library=="uploadedTo"){r.$el.find('option[value="uploaded"]').remove();r.$el.after("<span>"+acf.l10n.file.uploadedTo+"</span>");e.each(r.filters,function(e,t){t.props.uploadedTo=acf.o.post_id})}});acf.media.frame.on("select",function(){selection=t.frame.state().get("selection");if(selection){var e=0;selection.each(function(n){e++;if(e>1){var r=t.div.closest("td"),s=r.closest(".row"),o=s.closest(".repeater"),u=r.attr("data-field_key"),a="td .acf-file-uploader:first";u&&(a='td[data-field_key="'+u+'"] .acf-file-uploader');s.next(".row").exists()||o.find(".add-row-end").trigger("click");t.div=s.next(".row").find(a)}var f={id:n.id,title:n.attributes.title,name:n.attributes.filename,url:n.attributes.url,icon:n.attributes.icon,size:n.attributes.filesize};acf.fields.file.add(f)})}});acf.media.frame.open();return!1}};e(document).on("click",".acf-file-uploader .acf-button-edit",function(t){t.preventDefault();acf.fields.file.set({$el:e(this).closest(".acf-file-uploader")}).edit()});e(document).on("click",".acf-file-uploader .acf-button-delete",function(t){t.preventDefault();acf.fields.file.set({$el:e(this).closest(".acf-file-uploader")}).remove()});e(document).on("click",".acf-file-uploader .add-file",function(t){t.preventDefault();acf.fields.file.set({$el:e(this).closest(".acf-file-uploader")}).popup()})})(jQuery);(function(e){acf.fields.google_map={$el:null,$input:null,o:{},ready:!1,geocoder:!1,map:!1,maps:{},set:function(t){e.extend(this,t);this.$input=this.$el.find(".value");this.o=acf.helpers.get_atts(this.$el);this.maps[this.o.id]&&(this.map=this.maps[this.o.id]);return this},init:function(){this.geocoder||(this.geocoder=new google.maps.Geocoder);this.ready=!0;if(acf.helpers.is_clone_field(this.$input))return;this.render()},render:function(){var e=this,t=this.$el,n={zoom:parseInt(this.o.zoom),center:new google.maps.LatLng(this.o.lat,this.o.lng),mapTypeId:google.maps.MapTypeId.ROADMAP};this.map=new google.maps.Map(this.$el.find(".canvas")[0],n);var r=new google.maps.places.Autocomplete(this.$el.find(".search")[0]);r.map=this.map;r.bindTo("bounds",this.map);this.map.marker=new google.maps.Marker({draggable:!0,raiseOnDrag:!0,map:this.map});this.map.$el=this.$el;var i=this.$el.find(".input-lat").val(),s=this.$el.find(".input-lng").val();i&&s&&this.update(i,s).center();google.maps.event.addListener(r,"place_changed",function(t){var n=this.map.$el,r=n.find(".search").val();n.find(".input-address").val(r);n.find(".title h4").text(r);var i=this.getPlace();if(i.geometry){var s=i.geometry.location.lat(),o=i.geometry.location.lng();e.set({$el:n}).update(s,o).center()}else e.geocoder.geocode({address:r},function(t,r){if(r!=google.maps.GeocoderStatus.OK){console.log("Geocoder failed due to: "+r);return}if(!t[0]){console.log("No results found");return}i=t[0];var s=i.geometry.location.lat(),o=i.geometry.location.lng();e.set({$el:n}).update(s,o).center()})});google.maps.event.addListener(this.map.marker,"dragend",function(){var t=this.map.$el,n=this.map.marker.getPosition(),r=n.lat(),i=n.lng();e.set({$el:t}).update(r,i).sync()});google.maps.event.addListener(this.map,"click",function(t){var n=this.$el,r=t.latLng.lat(),i=t.latLng.lng();e.set({$el:n}).update(r,i).sync()});this.maps[this.o.id]=this.map},update:function(e,t){var n=new google.maps.LatLng(e,t);this.$el.find(".input-lat").val(e);this.$el.find(".input-lng").val(t).trigger("change");this.map.marker.setPosition(n);this.map.marker.setVisible(!0);this.$el.addClass("active");this.$el.closest(".field").removeClass("error");return this},center:function(){var e=this.map.marker.getPosition(),t=this.o.lat,n=this.o.lng;if(e){t=e.lat();n=e.lng()}var r=new google.maps.LatLng(t,n);this.map.setCenter(r)},sync:function(){var e=this.$el,t=this.map.marker.getPosition(),n=new google.maps.LatLng(t.lat(),t.lng());this.geocoder.geocode({latLng:n},function(t,n){if(n!=google.maps.GeocoderStatus.OK){console.log("Geocoder failed due to: "+n);return}if(!t[0]){console.log("No results found");return}var r=t[0];e.find(".title h4").text(r.formatted_address);e.find(".input-address").val(r.formatted_address).trigger("change")});return this},locate:function(){var e=this,t=this.$el;if(!navigator.geolocation){alert(acf.l10n.google_map.browser_support);return this}t.find(".title h4").text(acf.l10n.google_map.locating+"...");t.addClass("active");navigator.geolocation.getCurrentPosition(function(n){var r=n.coords.latitude,i=n.coords.longitude;e.set({$el:t}).update(r,i).sync().center()})},clear:function(){this.$el.removeClass("active");this.$el.find(".search").val("");this.$el.find(".input-address").val("");this.$el.find(".input-lat").val("");this.$el.find(".input-lng").val("");this.map.marker.setVisible(!1)},edit:function(){this.$el.removeClass("active");var e=this.$el.find(".title h4").text();this.$el.find(".search").val(e).focus()},refresh:function(){google.maps.event.trigger(this.map,"resize");this.center()}};e(document).on("acf/setup_fields",function(t,n){$fields=e(n).find(".acf-google-map");if(!$fields.exists())return;typeof google=="undefined"?e.getScript("https://www.google.com/jsapi",function(){google.load("maps","3",{other_params:"sensor=false&libraries=places",callback:function(){$fields.each(function(){acf.fields.google_map.set({$el:e(this)}).init()})}})}):$fields.each(function(){acf.fields.google_map.set({$el:e(this)}).init()})});e(document).on("click",".acf-google-map .acf-sprite-remove",function(t){t.preventDefault();acf.fields.google_map.set({$el:e(this).closest(".acf-google-map")}).clear();e(this).blur()});e(document).on("click",".acf-google-map .acf-sprite-locate",function(t){t.preventDefault();acf.fields.google_map.set({$el:e(this).closest(".acf-google-map")}).locate();e(this).blur()});e(document).on("click",".acf-google-map .title h4",function(t){t.preventDefault();acf.fields.google_map.set({$el:e(this).closest(".acf-google-map")}).edit()});e(document).on("keydown",".acf-google-map .search",function(e){if(e.which==13)return!1});e(document).on("blur",".acf-google-map .search",function(t){var n=e(this).closest(".acf-google-map");n.find(".input-lat").val()&&n.addClass("active")});e(document).on("acf/fields/tab/show acf/conditional_logic/show",function(e,t){if(!acf.fields.google_map.ready)return;t.attr("data-field_type")=="google_map"&&acf.fields.google_map.set({$el:t.find(".acf-google-map")}).refresh()})})(jQuery);(function(e){var t=acf.media;acf.fields.image={$el:null,$input:null,o:{},set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="hidden"]');this.o=acf.helpers.get_atts(this.$el);this.o.multiple=this.$el.closest(".repeater").exists()?!0:!1;this.o.query={type:"image"};this.o.library=="uploadedTo"&&(this.o.query.uploadedTo=acf.o.post_id);return this},init:function(){if(acf.helpers.is_clone_field(this.$input))return},add:function(e){var n=t.div;n.find(".acf-image-image").attr("src",e.url);n.find(".acf-image-value").val(e.id).trigger("change");n.addClass("active");n.closest(".field").removeClass("error")},edit:function(){var n=this.$input.val();t.div=this.$el;t.clear_frame();t.frame=wp.media({title:acf.l10n.image.edit,multiple:!1,button:{text:acf.l10n.image.update}});t.frame.on("open",function(){t.frame.content._mode!="browse"&&t.frame.content.mode("browse");t.frame.$el.closest(".media-modal").addClass("acf-media-modal acf-expanded");var r=t.frame.state().get("selection"),i=wp.media.attachment(n);e.isEmptyObject(i.changed)&&i.fetch();r.add(i)});t.frame.on("close",function(){t.frame.$el.closest(".media-modal").removeClass("acf-media-modal")});acf.media.frame.open()},remove:function(){this.$el.find(".acf-image-image").attr("src","");this.$el.find(".acf-image-value").val("").trigger("change");this.$el.removeClass("active")},popup:function(){var n=this;t.div=this.$el;t.clear_frame();t.frame=wp.media({states:[new wp.media.controller.Library({library:wp.media.query(n.o.query),multiple:n.o.multiple,title:acf.l10n.image.select,priority:20,filterable:"all"})]});acf.media.frame.on("content:activate",function(){var t=null,r=null;try{t=acf.media.frame.content.get().toolbar;r=t.get("filters")}catch(i){}if(!r)return!1;e.each(r.filters,function(e,t){t.props.type="image"});if(n.o.library=="uploadedTo"){r.$el.find('option[value="uploaded"]').remove();r.$el.after("<span>"+acf.l10n.image.uploadedTo+"</span>");e.each(r.filters,function(e,t){t.props.uploadedTo=acf.o.post_id})}r.$el.find("option").each(function(){var t=e(this).attr("value");if(t=="uploaded"&&n.o.library=="all")return;t.indexOf("image")===-1&&e(this).remove()});r.$el.val("image").trigger("change")});acf.media.frame.on("select",function(){selection=t.frame.state().get("selection");if(selection){var e=0;selection.each(function(r){e++;if(e>1){var s=t.div.closest("td"),o=s.closest(".row"),u=o.closest(".repeater"),a=s.attr("data-field_key"),f="td .acf-image-uploader:first";a&&(f='td[data-field_key="'+a+'"] .acf-image-uploader');o.next(".row").exists()||u.find(".add-row-end").trigger("click");t.div=o.next(".row").find(f)}var l={id:r.id,url:r.attributes.url};r.attributes.sizes&&r.attributes.sizes[n.o.preview_size]&&(l.url=r.attributes.sizes[n.o.preview_size].url);acf.fields.image.add(l)})}});acf.media.frame.open();return!1},text:{title_add:"Select Image",title_edit:"Edit Image"}};e(document).on("click",".acf-image-uploader .acf-button-edit",function(t){t.preventDefault();acf.fields.image.set({$el:e(this).closest(".acf-image-uploader")}).edit()});e(document).on("click",".acf-image-uploader .acf-button-delete",function(t){t.preventDefault();acf.fields.image.set({$el:e(this).closest(".acf-image-uploader")}).remove()});e(document).on("click",".acf-image-uploader .add-image",function(t){t.preventDefault();acf.fields.image.set({$el:e(this).closest(".acf-image-uploader")}).popup()})})(jQuery);(function(e){acf.fields.radio={$el:null,$input:null,$other:null,farbtastic:null,set:function(t){e.extend(this,t);this.$input=this.$el.find('input[type="radio"]:checked');this.$other=this.$el.find('input[type="text"]');return this},change:function(){if(this.$input.val()=="other"){this.$other.attr("name",this.$input.attr("name"));this.$other.show()}else{this.$other.attr("name","");this.$other.hide()}}};e(document).on("change",'.acf-radio-list input[type="radio"]',function(t){acf.fields.radio.set({$el:e(this).closest(".acf-radio-list")}).change()})})(jQuery);(function(e){acf.fields.relationship={$el:null,$input:null,$left:null,$right:null,o:{},timeout:null,set:function(t){e.extend(this,t);this.$input=this.$el.children('input[type="hidden"]');this.$left=this.$el.find(".relationship_left"),this.$right=this.$el.find(".relationship_right");this.o=acf.helpers.get_atts(this.$el);return this},init:function(){var t=this;if(acf.helpers.is_clone_field(this.$input))return;this.$right.find(".relationship_list").height(this.$left.height()-2);this.$right.find(".relationship_list").sortable({axis:"y",items:"> li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:function(){t.$input.trigger("change")}});var n=this.$el;this.$left.find(".relationship_list").scrollTop(0).on("scroll",function(r){if(n.hasClass("loading")||n.hasClass("no-results"))return;if(e(this).scrollTop()+e(this).innerHeight()>=e(this).get(0).scrollHeight){var i=parseInt(n.attr("data-paged"));n.attr("data-paged",i+1);t.set({$el:n}).fetch()}});this.fetch()},fetch:function(){var t=this,n=this.$el;n.addClass("loading");e.ajax({url:acf.o.ajaxurl,type:"post",dataType:"json",data:e.extend({action:"acf/fields/relationship/query_posts",post_id:acf.o.post_id,nonce:acf.o.nonce},this.o),success:function(e){t.set({$el:n}).render(e)}})},render:function(t){var n=this;this.$el.removeClass("no-results").removeClass("loading");this.o.paged==1&&this.$el.find(".relationship_left li:not(.load-more)").remove();if(!t||!t.html){this.$el.addClass("no-results");return}this.$el.find(".relationship_left .load-more").before(t.html);t.next_page_exists||this.$el.addClass("no-results");this.$left.find("a").each(function(){var t=e(this).attr("data-post_id");n.$right.find('a[data-post_id="'+t+'"]').exists()&&e(this).parent().addClass("hide")})},add:function(e){var t=e.attr("data-post_id"),n=e.html();if(this.$right.find("a").length>=this.o.max){alert(acf.l10n.relationship.max.replace("{max}",this.o.max));return!1}if(e.parent().hasClass("hide"))return!1;e.parent().addClass("hide");var r={post_id:e.attr("data-post_id"),title:e.html(),name:this.$input.attr("name")},i=_.template(acf.l10n.relationship.tmpl_li,r);this.$right.find(".relationship_list").append(i);this.$input.trigger("change");this.$el.closest(".field").removeClass("error")},remove:function(e){e.parent().remove();this.$left.find('a[data-post_id="'+e.attr("data-post_id")+'"]').parent("li").removeClass("hide");this.$input.trigger("change")}};e(document).on("acf/setup_fields",function(t,n){e(n).find(".acf_relationship").each(function(){acf.fields.relationship.set({$el:e(this)}).init()})});e(document).on("change",".acf_relationship .select-post_type",function(t){var n=e(this).val(),r=e(this).closest(".acf_relationship");r.attr("data-post_type",n);r.attr("data-paged",1);acf.fields.relationship.set({$el:r}).fetch()});e(document).on("click",".acf_relationship .relationship_left .relationship_list a",function(t){t.preventDefault();acf.fields.relationship.set({$el:e(this).closest(".acf_relationship")}).add(e(this));e(this).blur()});e(document).on("click",".acf_relationship .relationship_right .relationship_list a",function(t){t.preventDefault();acf.fields.relationship.set({$el:e(this).closest(".acf_relationship")}).remove(e(this));e(this).blur()});e(document).on("keyup",".acf_relationship input.relationship_search",function(t){var n=e(this).val(),r=e(this).closest(".acf_relationship");r.attr("data-s",n);r.attr("data-paged",1);clearTimeout(acf.fields.relationship.timeout);acf.fields.relationship.timeout=setTimeout(function(){acf.fields.relationship.set({$el:r}).fetch()},500)});e(document).on("keypress",".acf_relationship input.relationship_search",function(e){e.which==13&&e.preventDefault()})})(jQuery);(function(e){acf.fields.tab={add_group:function(e){var t="";e.is("tbody")?t='<tr class="acf-tab-wrap"><td colspan="2"><ul class="hl clearfix acf-tab-group"></ul></td></tr>':t='<div class="acf-tab-wrap"><ul class="hl clearfix acf-tab-group"></ul></div>';e.children(".field_type-tab:first").before(t)},add_tab:function(e){var t=e.closest(".field"),n=t.parent(),r=t.attr("data-field_key"),i=e.text();n.children(".acf-tab-wrap").exists()||this.add_group(n);n.children(".acf-tab-wrap").find(".acf-tab-group").append('<li class="field_key-'+r+'" data-field_key="'+r+'"><a class="acf-tab-button" href="#" data-key="'+r+'">'+i+"</a></li>")},toggle:function(t){var n=t.closest(".acf-tab-wrap").parent(),r=t.attr("data-key");t.parent("li").addClass("active").siblings("li").removeClass("active");n.children(".field_type-tab").each(function(){var t=e(this),n=!1;t.hasClass("field_key-"+r)&&(n=!0);t.nextUntil(".field_type-tab").each(function(){if(n){e(this).removeClass("acf-tab_group-hide").addClass("acf-tab_group-show");e(document).trigger("acf/fields/tab/show",[e(this)])}else{e(this).removeClass("acf-tab_group-show").addClass("acf-tab_group-hide");e(document).trigger("acf/fields/tab/hide",[e(this)])}})});t.trigger("blur")},refresh:function(t){var n=this;t.find(".acf-tab-group .acf-tab-button:first").each(function(){n.toggle(e(this))});acf.conditional_logic.change()}};e(document).on("acf/setup_fields",function(t,n){e(n).find(".acf-tab").each(function(){acf.fields.tab.add_tab(e(this))});acf.fields.tab.refresh(e(n))});e(document).on("click",".acf-tab-button",function(t){t.preventDefault();acf.fields.tab.toggle(e(this))});e(document).on("acf/conditional_logic/hide",function(t,n,r){if(!n.parent().hasClass("acf-tab-group"))return;var i=n.attr("data-field_key");n.siblings(":visible").exists()?n.siblings(":visible").first().children("a").trigger("click"):e('.field_type-tab[data-field_key="'+i+'"]').nextUntil(".field_type-tab").removeClass("acf-tab_group-show").addClass("acf-tab_group-hide")});e(document).on("acf/conditional_logic/show",function(e,t,n){if(!t.parent().hasClass("acf-tab-group"))return;if(t.hasClass("active")){t.children("a").trigger("click");return}if(t.siblings(".active").hasClass("acf-conditional_logic-hide")){t.children("a").trigger("click");return}})})(jQuery);(function(e){acf.validation={status:!0,disabled:!1,run:function(){var t=this;t.status=!0;e(".field.required, .form-field.required").each(function(){t.validate(e(this))})},validate:function(t){var n=!1,r=null;t.data("validation",!0);if(t.is(":hidden")){n=!0;if(t.hasClass("acf-tab_group-hide")){n=!1;var i=t.prevAll(".field_type-tab:first"),s=t.prevAll(".acf-tab-wrap:first");i.hasClass("acf-conditional_logic-hide")?n=!0:r=s.find('.acf-tab-button[data-key="'+i.attr("data-field_key")+'"]')}}t.hasClass("acf-conditional_logic-hide")&&(n=!0);if(n)return;t.find('input[type="text"], input[type="email"], input[type="number"], input[type="hidden"], textarea').val()==""&&t.data("validation",!1);if(t.find(".acf_wysiwyg").exists()&&typeof tinyMCE=="object"){t.data("validation",!0);var o=t.find(".wp-editor-area").attr("id"),u=tinyMCE.get(o);u&&!u.getContent()&&t.data("validation",!1)}if(t.find("select").exists()){t.data("validation",!0);(t.find("select").val()=="null"||!t.find("select").val())&&t.data("validation",!1)}if(t.find('input[type="radio"]').exists()){t.data("validation",!1);t.find('input[type="radio"]:checked').exists()&&t.data("validation",!0)}if(t.find('input[type="checkbox"]').exists()){t.data("validation",!1);t.find('input[type="checkbox"]:checked').exists()&&t.data("validation",!0)}if(t.find(".acf_relationship").exists()){t.data("validation",!1);t.find(".acf_relationship .relationship_right input").exists()&&t.data("validation",!0)}if(t.find(".repeater").exists()){t.data("validation",!1);t.find(".repeater tr.row").exists()&&t.data("validation",!0)}if(t.find(".acf-gallery").exists()){t.data("validation",!1);t.find(".acf-gallery .thumbnail").exists()&&t.data("validation",!0)}e(document).trigger("acf/validate_field",[t]);if(!t.data("validation")){this.status=!1;t.closest(".field").addClass("error");if(t.data("validation_message")){var a=t.find("p.label:first"),f=null;a.children(".acf-error-message").remove();a.append('<span class="acf-error-message"><i class="bit"></i>'+t.data("validation_message")+"</span>")}r&&r.trigger("click")}}};e(document).on("focus click",".field.required input, .field.required textarea, .field.required select",function(t){e(this).closest(".field").removeClass("error")});e(document).on("click","#save-post",function(){acf.validation.disabled=!0});e(document).on("submit","#post",function(){if(acf.validation.disabled)return!0;acf.validation.run();if(!acf.validation.status){var t=e(this);t.siblings("#message").remove();t.before('<div id="message" class="error"><p>'+acf.l10n.validation.error+"</p></div>");e("#publish").removeClass("button-primary-disabled");e("#ajax-loading").attr("style","");e("#publishing-action .spinner").hide();return!1}e(".acf_postbox.acf-hidden").remove();return!0})})(jQuery);(function(e){var t=acf.fields.wysiwyg={$el:null,$textarea:null,o:{},set:function(t){e.extend(this,t);this.$textarea=this.$el.find("textarea");this.o=acf.helpers.get_atts(this.$el);this.o.id=this.$textarea.attr("id");return this},has_tinymce:function(){var e=!1;typeof tinyMCE=="object"&&(e=!0);return e},init:function(){if(acf.helpers.is_clone_field(this.$textarea))return;var t=e.extend({},tinyMCE.settings);tinyMCE.settings.theme_advanced_buttons1="";tinyMCE.settings.theme_advanced_buttons2="";tinyMCE.settings.theme_advanced_buttons3="";tinyMCE.settings.theme_advanced_buttons4="";acf.helpers.isset(this.toolbars[this.o.toolbar])&&e.each(this.toolbars[this.o.toolbar],function(e,t){tinyMCE.settings[e]=t});tinyMCE.execCommand("mceAddControl",!1,this.o.id);e(document).trigger("acf/wysiwyg/load",this.o.id);this.add_events();tinyMCE.settings=t;wpActiveEditor=null},add_events:function(){var t=this.o.id,n=tinyMCE.get(t);if(!n)return;var r=e("#wp-"+t+"-wrap"),i=e(n.getBody());r.on("click",function(){e(document).trigger("acf/wysiwyg/click",t)});i.on("focus",function(){e(document).trigger("acf/wysiwyg/focus",t)});i.on("blur",function(){e(document).trigger("acf/wysiwyg/blur",t)})},destroy:function(){try{var e=this.o.id,t=tinyMCE.get(e);if(t){var n=t.getContent();tinyMCE.execCommand("mceRemoveControl",!1,e);this.$textarea.val(n)}}catch(r){}wpActiveEditor=null}};e(document).on("acf/setup_fields",function(n,r){if(!t.has_tinymce())return;e(r).find(".acf_wysiwyg").each(function(){t.set({$el
|
14 |
+
:e(this)}).destroy()});setTimeout(function(){e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).init()})},0)});e(document).on("acf/remove_fields",function(n,r){if(!t.has_tinymce())return;r.find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).destroy()})});e(document).on("acf/wysiwyg/click",function(t,n){wpActiveEditor=n;container=e("#wp-"+n+"-wrap").closest(".field").removeClass("error")});e(document).on("acf/wysiwyg/focus",function(t,n){wpActiveEditor=n;container=e("#wp-"+n+"-wrap").closest(".field").removeClass("error")});e(document).on("acf/wysiwyg/blur",function(t,n){wpActiveEditor=null;var r=tinyMCE.get(n);if(!r)return;var i=r.getElement();r.save();e(i).trigger("change")});e(document).on("acf/sortable_start",function(n,r){if(!t.has_tinymce())return;e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).destroy()})});e(document).on("acf/sortable_stop",function(n,r){if(!t.has_tinymce())return;e(r).find(".acf_wysiwyg").each(function(){t.set({$el:e(this)}).init()})});e(window).load(function(){if(!t.has_tinymce())return;var n=e("#wp-content-wrap").exists(),r=e("#wp-acf_settings-wrap").exists();mode="tmce";r&&e("#wp-acf_settings-wrap").hasClass("html-active")&&(mode="html");setTimeout(function(){r&&mode=="html"&&e("#acf_settings-tmce").trigger("click")},1);setTimeout(function(){r&&mode=="html"&&e("#acf_settings-html").trigger("click");n&&t.set({$el:e("#wp-content-wrap")}).add_events()},11)});e(document).on("click",".acf_wysiwyg a.mce_fullscreen",function(){var t=e(this).closest(".acf_wysiwyg"),n=t.attr("data-upload");n=="no"&&e("#mce_fullscreen_container td.mceToolbar .mce_add_media").remove()})})(jQuery);
|
lang/acf-ru_RU.mo
CHANGED
Binary file
|
lang/acf-ru_RU.po
CHANGED
@@ -2,127 +2,138 @@
|
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
|
7 |
-
"POT-Creation-Date: 2013-
|
|
|
|
|
|
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"X-Generator: Poedit 1.5.4\n"
|
15 |
|
16 |
-
#: acf.php:
|
17 |
msgid "Field Groups"
|
18 |
msgstr "Группы полей"
|
19 |
|
20 |
-
#: acf.php:
|
21 |
msgid "Advanced Custom Fields"
|
22 |
msgstr "Расширенные произвольные поля"
|
23 |
|
24 |
-
#: acf.php:
|
25 |
msgid "Add New"
|
26 |
msgstr "Добавить новую"
|
27 |
|
28 |
-
#: acf.php:
|
29 |
msgid "Add New Field Group"
|
30 |
msgstr "Добавить новую группу полей"
|
31 |
|
32 |
-
#: acf.php:
|
33 |
msgid "Edit Field Group"
|
34 |
msgstr "Редактировать группу полей"
|
35 |
|
36 |
-
#: acf.php:
|
37 |
msgid "New Field Group"
|
38 |
msgstr "Новая группа полей"
|
39 |
|
40 |
-
#: acf.php:
|
41 |
msgid "View Field Group"
|
42 |
msgstr "Просмотреть группу полей"
|
43 |
|
44 |
-
#: acf.php:
|
45 |
msgid "Search Field Groups"
|
46 |
msgstr "Поиск групп полей"
|
47 |
|
48 |
-
#: acf.php:
|
49 |
msgid "No Field Groups found"
|
50 |
-
msgstr "Группы полей не
|
51 |
|
52 |
-
#: acf.php:
|
53 |
msgid "No Field Groups found in Trash"
|
54 |
-
msgstr "Группы полей не найдены в
|
55 |
|
56 |
-
#: acf.php:
|
57 |
msgid "Custom Fields"
|
58 |
msgstr "Произвольные поля"
|
59 |
|
60 |
-
#: acf.php:
|
61 |
msgid "Field group updated."
|
62 |
msgstr "Группа полей обновлена."
|
63 |
|
64 |
-
#: acf.php:
|
65 |
msgid "Custom field updated."
|
66 |
msgstr "Произвольное поле обновлено."
|
67 |
|
68 |
-
#: acf.php:
|
69 |
msgid "Custom field deleted."
|
70 |
msgstr "Произвольное поле удалено."
|
71 |
|
72 |
#. translators: %s: date and time of the revision
|
73 |
-
#: acf.php:
|
74 |
msgid "Field group restored to revision from %s"
|
75 |
msgstr "Группа полей восстановлена из редакции %s"
|
76 |
|
77 |
-
#: acf.php:
|
78 |
msgid "Field group published."
|
79 |
msgstr "Группа полей опубликована."
|
80 |
|
81 |
-
#: acf.php:
|
82 |
msgid "Field group saved."
|
83 |
msgstr "Группа полей сохранена."
|
84 |
|
85 |
-
#: acf.php:
|
86 |
msgid "Field group submitted."
|
87 |
msgstr "Группа полей отправлена."
|
88 |
|
89 |
-
#: acf.php:
|
90 |
msgid "Field group scheduled for."
|
91 |
-
msgstr "Группа полей
|
92 |
|
93 |
-
#: acf.php:
|
94 |
msgid "Field group draft updated."
|
95 |
msgstr "Черновик группы полей обновлен."
|
96 |
|
97 |
-
#: acf.php:
|
98 |
msgid "Thumbnail"
|
99 |
msgstr "Миниатюра"
|
100 |
|
101 |
-
#: acf.php:
|
102 |
msgid "Medium"
|
103 |
msgstr "Средний"
|
104 |
|
105 |
-
#: acf.php:
|
106 |
msgid "Large"
|
107 |
msgstr "Большой"
|
108 |
|
109 |
-
#: acf.php:
|
110 |
msgid "Full"
|
111 |
msgstr "Полный"
|
112 |
|
113 |
-
#: core/actions/export.php:
|
114 |
msgid "Error"
|
115 |
msgstr "Ошибка"
|
116 |
|
117 |
-
#: core/actions/export.php:
|
118 |
msgid "No ACF groups selected"
|
119 |
msgstr "Группы ACF не выбраны"
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
#: core/controllers/addons.php:42 core/controllers/field_groups.php:311
|
122 |
msgid "Add-ons"
|
123 |
msgstr "Аддоны"
|
124 |
|
125 |
-
#: core/controllers/addons.php:130 core/controllers/field_groups.php:
|
126 |
msgid "Repeater Field"
|
127 |
msgstr "Повторающееся поле"
|
128 |
|
@@ -130,7 +141,7 @@ msgstr "Повторающееся поле"
|
|
130 |
msgid "Create infinite rows of repeatable data with this versatile interface!"
|
131 |
msgstr "Создавайте повторающиеся поля с этим многофунциональным аддоном!"
|
132 |
|
133 |
-
#: core/controllers/addons.php:137 core/controllers/field_groups.php:
|
134 |
msgid "Gallery Field"
|
135 |
msgstr "Поле галереи"
|
136 |
|
@@ -138,8 +149,7 @@ msgstr "Поле галереи"
|
|
138 |
msgid "Create image galleries in a simple and intuitive interface!"
|
139 |
msgstr "Создавайте галереи с этим простым и интуитивным интерфейсом!"
|
140 |
|
141 |
-
#: core/controllers/addons.php:144 core/controllers/
|
142 |
-
#: core/controllers/field_groups.php:448
|
143 |
msgid "Options Page"
|
144 |
msgstr "Страница с опциями"
|
145 |
|
@@ -170,7 +180,7 @@ msgstr "Выбор даты и времени"
|
|
170 |
|
171 |
#: core/controllers/addons.php:169
|
172 |
msgid "jQuery date & time picker"
|
173 |
-
msgstr "
|
174 |
|
175 |
#: core/controllers/addons.php:175
|
176 |
msgid "Location Field"
|
@@ -208,17 +218,17 @@ msgstr ""
|
|
208 |
"Каждый аддон может быть установлен, как отдельный плагин (который "
|
209 |
"обновляется), или же может быть включен в вашу тему (обновляться не будет)."
|
210 |
|
211 |
-
#: core/controllers/addons.php:
|
212 |
msgid "Installed"
|
213 |
msgstr "Установлено"
|
214 |
|
215 |
-
#: core/controllers/addons.php:
|
216 |
msgid "Purchase & Install"
|
217 |
msgstr "Купить и установить"
|
218 |
|
219 |
-
#: core/controllers/addons.php:
|
220 |
-
#: core/controllers/field_groups.php:
|
221 |
-
#: core/controllers/field_groups.php:
|
222 |
msgid "Download"
|
223 |
msgstr "Скачать"
|
224 |
|
@@ -236,7 +246,7 @@ msgstr "Группы полей"
|
|
236 |
|
237 |
#: core/controllers/export.php:222
|
238 |
msgid "Select the field groups to be exported"
|
239 |
-
msgstr "Выберите группы полей, которые надо
|
240 |
|
241 |
#: core/controllers/export.php:239 core/controllers/export.php:252
|
242 |
msgid "Export to XML"
|
@@ -265,7 +275,7 @@ msgstr ""
|
|
265 |
msgid "Select field group(s) from the list and click \"Export XML\""
|
266 |
msgstr ""
|
267 |
"Выберите группу(-ы) полей из списка и нажмите на кнопку \"Экспортировать в "
|
268 |
-
"XML файл\"
|
269 |
|
270 |
#: core/controllers/export.php:257
|
271 |
msgid "Save the .xml file when prompted"
|
@@ -282,11 +292,11 @@ msgstr "Установите WP Import плагин."
|
|
282 |
|
283 |
#: core/controllers/export.php:260
|
284 |
msgid "Upload and import your exported .xml file"
|
285 |
-
msgstr "Загрузите и импортируйте ваш экспортированный .xml
|
286 |
|
287 |
#: core/controllers/export.php:261
|
288 |
msgid "Select your user and ignore Import Attachments"
|
289 |
-
msgstr "Выберите вашего пользователя и не импортируйте вложенные
|
290 |
|
291 |
#: core/controllers/export.php:262
|
292 |
msgid "That's it! Happy WordPressing"
|
@@ -301,7 +311,7 @@ msgid ""
|
|
301 |
"Registered field groups <b>will not</b> appear in the list of editable field "
|
302 |
"groups. This is useful for including fields in themes."
|
303 |
msgstr ""
|
304 |
-
"Импортированные группы полей <strong>не появятся</strong> в
|
305 |
"редактируемых групп полей. Данный способ удобен при необходимости включить "
|
306 |
"поля в темы."
|
307 |
|
@@ -321,7 +331,7 @@ msgstr ""
|
|
321 |
msgid "Select field group(s) from the list and click \"Create PHP\""
|
322 |
msgstr ""
|
323 |
"Выберите группу(-ы) полей из списка, затем нажмите на кнопку "
|
324 |
-
"\"Экспортировать в PHP файл\"
|
325 |
|
326 |
#: core/controllers/export.php:273 core/controllers/export.php:302
|
327 |
msgid "Copy the PHP code generated"
|
@@ -341,7 +351,7 @@ msgstr ""
|
|
341 |
msgid "Export Field Groups to PHP"
|
342 |
msgstr "Экспортировать группы полей в PHP"
|
343 |
|
344 |
-
#: core/controllers/export.php:300 core/fields/tab.php:
|
345 |
msgid "Instructions"
|
346 |
msgstr "Инструкции"
|
347 |
|
@@ -366,7 +376,7 @@ msgstr ""
|
|
366 |
#: core/controllers/export.php:323
|
367 |
msgid ""
|
368 |
"To remove all visual interfaces from the ACF plugin, you can use a constant "
|
369 |
-
"to enable lite mode. Add the following code to
|
370 |
"<b>before</b> the include_once code:"
|
371 |
msgstr ""
|
372 |
"Чтобы убрать весь визуальный интерфейс из плагина ACF, вы можете "
|
@@ -378,140 +388,145 @@ msgstr ""
|
|
378 |
msgid "Back to export"
|
379 |
msgstr "Вернуться к экспорту"
|
380 |
|
381 |
-
#: core/controllers/export.php:
|
382 |
-
msgid ""
|
383 |
-
"
|
384 |
-
|
385 |
-
|
386 |
-
"
|
387 |
-
"
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
"
|
396 |
-
"
|
397 |
-
|
398 |
-
|
399 |
-
"
|
400 |
-
"
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
msgstr ""
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
" * Другие типы аддонов (такие, как страница с опциями) могут быть включены "
|
414 |
-
"вне этого действия.\n"
|
415 |
-
" * \n"
|
416 |
-
" * Следующий код предполагает, что у вас есть папка 'add-ons' в вашей "
|
417 |
-
"теме.\n"
|
418 |
-
" *\n"
|
419 |
-
" * ВАЖНО\n"
|
420 |
-
" * Аддоны могут быть включены в премиум темы, как указано в Правилах и "
|
421 |
-
"условиях.\n"
|
422 |
-
" * Тем не менее, они не будут включены в бесплатный или премиум плагин.\n"
|
423 |
-
" * Для большей информации, пожалуйста, прочтите http://www."
|
424 |
-
"advancedcustomfields.com/terms-conditions/\n"
|
425 |
-
" */"
|
426 |
-
|
427 |
-
#: core/controllers/export.php:370 core/controllers/field_group.php:365
|
428 |
-
#: core/controllers/field_group.php:427 core/controllers/field_groups.php:148
|
429 |
msgid "Fields"
|
430 |
msgstr "Поля"
|
431 |
|
432 |
-
#: core/controllers/
|
433 |
-
msgid ""
|
434 |
-
"
|
435 |
-
" * Register Field Groups\n"
|
436 |
-
" *\n"
|
437 |
-
" * The register_field_group function accepts 1 array which holds the "
|
438 |
-
"relevant data to register a field group\n"
|
439 |
-
" * You may edit the array as you see fit. However, this may result in "
|
440 |
-
"errors if the array is not compatible with ACF\n"
|
441 |
-
" */"
|
442 |
-
msgstr ""
|
443 |
-
"/**\n"
|
444 |
-
" * Регистрация группы полей\n"
|
445 |
-
" *\n"
|
446 |
-
" * Функция 'register_field_group' принимает один массив, который держит "
|
447 |
-
"соответственные данные, чтобы зарегистрировать группу полей.\n"
|
448 |
-
" * Вы можете редактировать этот массив, как посчитаете нужным. Однако, это "
|
449 |
-
"может вызвать ошибки, если массив не совмествим с ACF.\n"
|
450 |
-
" */"
|
451 |
-
|
452 |
-
#: core/controllers/export.php:435
|
453 |
-
msgid "No field groups were selected"
|
454 |
-
msgstr "Группы полей не выбраны"
|
455 |
|
456 |
#: core/controllers/field_group.php:366
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
msgid "Location"
|
458 |
msgstr "Местоположение"
|
459 |
|
460 |
-
#: core/controllers/field_group.php:
|
461 |
msgid "Options"
|
462 |
msgstr "Опции"
|
463 |
|
464 |
-
#: core/controllers/field_group.php:
|
465 |
msgid "Show Field Key:"
|
466 |
msgstr "Отображать ключ поля:"
|
467 |
|
468 |
-
#: core/controllers/field_group.php:
|
469 |
-
#: core/fields/page_link.php:
|
470 |
-
#: core/fields/post_object.php:
|
471 |
-
#: core/fields/select.php:
|
472 |
-
#: core/fields/user.php:
|
473 |
-
#: core/views/meta_box_fields.php:
|
474 |
msgid "No"
|
475 |
msgstr "Нет"
|
476 |
|
477 |
-
#: core/controllers/field_group.php:
|
478 |
-
#: core/fields/page_link.php:
|
479 |
-
#: core/fields/post_object.php:
|
480 |
-
#: core/fields/select.php:
|
481 |
-
#: core/fields/user.php:
|
482 |
-
#: core/views/meta_box_fields.php:
|
483 |
msgid "Yes"
|
484 |
msgstr "Да"
|
485 |
|
486 |
-
#: core/controllers/field_group.php:
|
487 |
msgid "Front Page"
|
488 |
msgstr "Главная страница"
|
489 |
|
490 |
-
#: core/controllers/field_group.php:
|
491 |
msgid "Posts Page"
|
492 |
msgstr "Страница записей"
|
493 |
|
494 |
-
#: core/controllers/field_group.php:
|
495 |
msgid "Top Level Page (parent of 0)"
|
496 |
msgstr "Самая верхняя страница (родитель 0)"
|
497 |
|
498 |
-
#: core/controllers/field_group.php:
|
499 |
msgid "Parent Page (has children)"
|
500 |
-
msgstr "Родительская страница (есть
|
501 |
|
502 |
-
#: core/controllers/field_group.php:
|
503 |
msgid "Child Page (has parent)"
|
504 |
msgstr "Дочерняя страница (есть родительские страницы)"
|
505 |
|
506 |
-
#: core/controllers/field_group.php:
|
507 |
msgid "Default Template"
|
508 |
msgstr "Шаблон по умолчанию"
|
509 |
|
510 |
-
#: core/controllers/field_group.php:
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
#: core/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
515 |
msgid "All"
|
516 |
msgstr "Все"
|
517 |
|
@@ -551,13 +566,13 @@ msgstr "Функции"
|
|
551 |
msgid "Actions"
|
552 |
msgstr "Действия"
|
553 |
|
554 |
-
#: core/controllers/field_groups.php:225 core/fields/relationship.php:
|
555 |
msgid "Filters"
|
556 |
msgstr "Фильтры"
|
557 |
|
558 |
#: core/controllers/field_groups.php:226
|
559 |
msgid "'How to' guides"
|
560 |
-
msgstr "Руководства \"
|
561 |
|
562 |
#: core/controllers/field_groups.php:227
|
563 |
msgid "Tutorials"
|
@@ -586,7 +601,7 @@ msgstr "Благодарим за обновление до последней
|
|
586 |
#: core/controllers/field_groups.php:249
|
587 |
msgid "is more polished and enjoyable than ever before. We hope you like it."
|
588 |
msgstr ""
|
589 |
-
"еще более улучшен и интересен, чем когда либо. Мы надеемся, что вам
|
590 |
"понравится."
|
591 |
|
592 |
#: core/controllers/field_groups.php:256
|
@@ -617,7 +632,7 @@ msgstr "Все предыдущие аддоны были успешно уст
|
|
617 |
|
618 |
#: core/controllers/field_groups.php:324
|
619 |
msgid "This website uses premium Add-ons which need to be downloaded"
|
620 |
-
msgstr "Этот сайт использует премиум аддоны, которые должны быть
|
621 |
|
622 |
#: core/controllers/field_groups.php:324
|
623 |
msgid "Download your activated Add-ons"
|
@@ -684,11 +699,11 @@ msgstr "Действия и фильтры"
|
|
684 |
|
685 |
#: core/controllers/field_groups.php:353
|
686 |
msgid ""
|
687 |
-
"All actions & filters have
|
688 |
"even easier! Please"
|
689 |
msgstr ""
|
690 |
-
"Все действия и фильтры получили крупное
|
691 |
-
"
|
692 |
|
693 |
#: core/controllers/field_groups.php:353
|
694 |
msgid "read this guide"
|
@@ -757,7 +772,7 @@ msgstr "Очень важно!"
|
|
757 |
#: core/controllers/field_groups.php:369
|
758 |
msgid ""
|
759 |
"If you updated the ACF plugin without prior knowledge of such changes, "
|
760 |
-
"
|
761 |
msgstr ""
|
762 |
"Если вы обновили плагин ACF без предварительных знаний об изменениях, "
|
763 |
"пожалуйста, откатитесь до последней"
|
@@ -790,15 +805,15 @@ msgstr "Без вас всех, этот релиз был бы невозмож
|
|
790 |
msgid "Changelog for"
|
791 |
msgstr "Журнал изменений по"
|
792 |
|
793 |
-
#: core/controllers/field_groups.php:
|
794 |
msgid "Learn more"
|
795 |
msgstr "Узнать больше"
|
796 |
|
797 |
-
#: core/controllers/field_groups.php:
|
798 |
msgid "Overview"
|
799 |
msgstr "Обзор"
|
800 |
|
801 |
-
#: core/controllers/field_groups.php:
|
802 |
msgid ""
|
803 |
"Previously, all Add-ons were unlocked via an activation code (purchased from "
|
804 |
"the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
|
@@ -809,57 +824,57 @@ msgstr ""
|
|
809 |
"отдельные плагины, которые должны быть скачаны, установлены и обновлены "
|
810 |
"отдельно."
|
811 |
|
812 |
-
#: core/controllers/field_groups.php:
|
813 |
msgid ""
|
814 |
"This page will assist you in downloading and installing each available Add-"
|
815 |
"on."
|
816 |
msgstr "Эта страница поможет вам скачать и установить каждый доступный аддон."
|
817 |
|
818 |
-
#: core/controllers/field_groups.php:
|
819 |
msgid "Available Add-ons"
|
820 |
msgstr "Доступные аддоны"
|
821 |
|
822 |
-
#: core/controllers/field_groups.php:
|
823 |
msgid "The following Add-ons have been detected as activated on this website."
|
824 |
msgstr "Следующие аддоны были обнаружены активированными на этом сайте."
|
825 |
|
826 |
-
#: core/controllers/field_groups.php:
|
827 |
msgid "Name"
|
828 |
msgstr "Имя"
|
829 |
|
830 |
-
#: core/controllers/field_groups.php:
|
831 |
msgid "Activation Code"
|
832 |
msgstr "Код активации"
|
833 |
|
834 |
-
#: core/controllers/field_groups.php:
|
835 |
msgid "Flexible Content"
|
836 |
msgstr "Гибкое содержание"
|
837 |
|
838 |
-
#: core/controllers/field_groups.php:
|
839 |
msgid "Installation"
|
840 |
msgstr "Установка"
|
841 |
|
842 |
-
#: core/controllers/field_groups.php:
|
843 |
msgid "For each Add-on available, please perform the following:"
|
844 |
-
msgstr "Для каждого
|
845 |
|
846 |
-
#: core/controllers/field_groups.php:
|
847 |
msgid "Download the Add-on plugin (.zip file) to your desktop"
|
848 |
msgstr "Скачайте плагин аддона (.zip файл) на ваш компьютер."
|
849 |
|
850 |
-
#: core/controllers/field_groups.php:
|
851 |
msgid "Navigate to"
|
852 |
msgstr "Перейти в"
|
853 |
|
854 |
-
#: core/controllers/field_groups.php:
|
855 |
msgid "Plugins > Add New > Upload"
|
856 |
msgstr "Откройте \"Плагины\" » \"Добавить новый\" » \"Загрузить\"."
|
857 |
|
858 |
-
#: core/controllers/field_groups.php:
|
859 |
msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
|
860 |
-
msgstr "Найдите скачанный .zip файл, выберите его и
|
861 |
|
862 |
-
#: core/controllers/field_groups.php:
|
863 |
msgid ""
|
864 |
"Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
|
865 |
"link"
|
@@ -867,152 +882,171 @@ msgstr ""
|
|
867 |
"Как только плагин будет загружен и установлен, нажмите на ссылку "
|
868 |
"\"Активировать плагин\"."
|
869 |
|
870 |
-
#: core/controllers/field_groups.php:
|
871 |
msgid "The Add-on is now installed and activated!"
|
872 |
msgstr "Аддон теперь установлен и активирован!"
|
873 |
|
874 |
-
#: core/controllers/field_groups.php:
|
875 |
msgid "Awesome. Let's get to work"
|
876 |
msgstr "Превосходно! Приступим к работе."
|
877 |
|
878 |
-
#: core/controllers/input.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
879 |
msgid "Validation Failed. One or more fields below are required."
|
880 |
msgstr ""
|
881 |
"Проверка не удалась. Один или больше полей ниже обязательны к заполнению."
|
882 |
|
883 |
-
#: core/controllers/
|
884 |
-
msgid "Maximum values reached ( {max} values )"
|
885 |
-
msgstr "Максимальное количество значений достигнуто ({max} значений)"
|
886 |
-
|
887 |
-
#: core/controllers/upgrade.php:72
|
888 |
msgid "Upgrade"
|
889 |
msgstr "Улучшить"
|
890 |
|
891 |
-
#: core/controllers/upgrade.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
892 |
msgid "Modifying field group options 'show on page'"
|
893 |
msgstr "Изменение опций \"отображать на странице\" группы полей"
|
894 |
|
895 |
-
#: core/controllers/upgrade.php:
|
896 |
msgid "Modifying field option 'taxonomy'"
|
897 |
msgstr "Изменение опции \"таксономия\" поля"
|
898 |
|
899 |
-
#: core/controllers/upgrade.php:
|
900 |
msgid "Moving user custom fields from wp_options to wp_usermeta'"
|
901 |
msgstr ""
|
902 |
"Перенос пользовательских произвольных полей из \"wp_options\" в \"wp_usermeta"
|
903 |
"\""
|
904 |
|
905 |
-
#: core/fields/_base.php:
|
906 |
msgid "Basic"
|
907 |
msgstr "Основное"
|
908 |
|
909 |
-
#: core/fields/checkbox.php:19 core/fields/taxonomy.php:
|
910 |
msgid "Checkbox"
|
911 |
msgstr "Чекбокс"
|
912 |
|
913 |
-
#: core/fields/checkbox.php:20 core/fields/radio.php:
|
914 |
-
#: core/fields/select.php:
|
915 |
msgid "Choice"
|
916 |
msgstr "Выбор"
|
917 |
|
918 |
-
#: core/fields/checkbox.php:
|
919 |
-
#: core/fields/select.php:
|
920 |
msgid "Choices"
|
921 |
msgstr "Выборы"
|
922 |
|
923 |
-
#: core/fields/checkbox.php:
|
924 |
msgid "Enter each choice on a new line."
|
925 |
msgstr "Введите каждый вариант выбора на новую строку."
|
926 |
|
927 |
-
#: core/fields/checkbox.php:
|
928 |
msgid "For more control, you may specify both a value and label like this:"
|
929 |
msgstr ""
|
930 |
-
"Для
|
931 |
"формату:"
|
932 |
|
933 |
-
#: core/fields/checkbox.php:
|
934 |
-
#: core/fields/select.php:
|
935 |
msgid "red : Red"
|
936 |
msgstr "red : Red"
|
937 |
|
938 |
-
#: core/fields/checkbox.php:
|
939 |
-
#: core/fields/select.php:
|
940 |
msgid "blue : Blue"
|
941 |
msgstr "blue : Blue"
|
942 |
|
943 |
-
#: core/fields/checkbox.php:
|
944 |
-
#: core/fields/email.php:
|
945 |
-
#: core/fields/radio.php:
|
946 |
-
#: core/fields/text.php:
|
947 |
-
#: core/fields/true_false.php:
|
948 |
msgid "Default Value"
|
949 |
msgstr "Значение по умолчанию"
|
950 |
|
951 |
-
#: core/fields/checkbox.php:
|
952 |
msgid "Enter each default value on a new line"
|
953 |
msgstr "Введите каждое значение на новую строку."
|
954 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
955 |
#: core/fields/color_picker.php:19
|
956 |
msgid "Color Picker"
|
957 |
msgstr "Выбор цвета"
|
958 |
|
959 |
#: core/fields/color_picker.php:20 core/fields/date_picker/date_picker.php:20
|
|
|
960 |
msgid "jQuery"
|
961 |
msgstr "jQuery"
|
962 |
|
963 |
-
#: core/fields/color_picker.php:74
|
964 |
-
msgid "eg: #ffffff"
|
965 |
-
msgstr "Пример: #ffffff"
|
966 |
-
|
967 |
#: core/fields/date_picker/date_picker.php:19
|
968 |
msgid "Date Picker"
|
969 |
msgstr "Выбор даты"
|
970 |
|
971 |
-
#: core/fields/date_picker/date_picker.php:
|
972 |
-
#: core/fields/date_picker/date_picker.php:132
|
973 |
msgid "Done"
|
974 |
msgstr "Готово"
|
975 |
|
976 |
-
#: core/fields/date_picker/date_picker.php:
|
977 |
-
#: core/fields/date_picker/date_picker.php:133
|
978 |
msgid "Today"
|
979 |
msgstr "Сегодня"
|
980 |
|
981 |
-
#: core/fields/date_picker/date_picker.php:
|
982 |
-
#: core/fields/date_picker/date_picker.php:136
|
983 |
msgid "Show a different month"
|
984 |
msgstr "Показать другой месяц"
|
985 |
|
986 |
-
#: core/fields/date_picker/date_picker.php:
|
987 |
msgid "Save format"
|
988 |
msgstr "Сохранить формат"
|
989 |
|
990 |
-
#: core/fields/date_picker/date_picker.php:
|
991 |
msgid ""
|
992 |
"This format will determin the value saved to the database and returned via "
|
993 |
"the API"
|
994 |
msgstr ""
|
995 |
"Этот формат определит значение сохраненное в базе данных и возвращенное "
|
996 |
-
"через API
|
997 |
|
998 |
-
#: core/fields/date_picker/date_picker.php:
|
999 |
msgid "\"yymmdd\" is the most versatile save format. Read more about"
|
1000 |
msgstr "\"yymmdd\" самоый практичный формат. Прочитать больше о"
|
1001 |
|
1002 |
-
#: core/fields/date_picker/date_picker.php:
|
1003 |
-
#: core/fields/date_picker/date_picker.php:
|
1004 |
msgid "jQuery date formats"
|
1005 |
-
msgstr "
|
1006 |
|
1007 |
-
#: core/fields/date_picker/date_picker.php:
|
1008 |
msgid "Display format"
|
1009 |
msgstr "Отображать формат"
|
1010 |
|
1011 |
-
#: core/fields/date_picker/date_picker.php:
|
1012 |
msgid "This format will be seen by the user when entering a value"
|
1013 |
-
msgstr "Этот формат будет виден пользователям при вводе
|
1014 |
|
1015 |
-
#: core/fields/date_picker/date_picker.php:
|
1016 |
msgid ""
|
1017 |
"\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
1018 |
"about"
|
@@ -1020,7 +1054,7 @@ msgstr ""
|
|
1020 |
"\"dd/mm/yy\" или \"mm/dd/yy\" самые используемые форматы отображения. "
|
1021 |
"Прочитать больше о"
|
1022 |
|
1023 |
-
#: core/fields/date_picker/date_picker.php:
|
1024 |
msgid "Week Starts On"
|
1025 |
msgstr "Неделя начинается"
|
1026 |
|
@@ -1032,134 +1066,219 @@ msgstr "Макет"
|
|
1032 |
msgid "Email"
|
1033 |
msgstr "E-mail"
|
1034 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1035 |
#: core/fields/file.php:19
|
1036 |
msgid "File"
|
1037 |
msgstr "Файл"
|
1038 |
|
1039 |
-
#: core/fields/file.php:20 core/fields/image.php:20 core/fields/wysiwyg.php:
|
1040 |
msgid "Content"
|
1041 |
msgstr "Содержание"
|
1042 |
|
1043 |
-
#: core/fields/file.php:
|
1044 |
-
|
1045 |
-
|
1046 |
-
msgstr "Редактировать"
|
1047 |
|
1048 |
-
#: core/fields/file.php:
|
1049 |
-
msgid "
|
1050 |
-
msgstr "
|
1051 |
|
1052 |
-
#: core/fields/file.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1053 |
msgid "No File Selected"
|
1054 |
msgstr "Файл не выбран"
|
1055 |
|
1056 |
-
#: core/fields/file.php:
|
1057 |
msgid "Add File"
|
1058 |
msgstr "Добавить файл"
|
1059 |
|
1060 |
-
#: core/fields/file.php:
|
1061 |
-
#: core/fields/taxonomy.php:
|
1062 |
msgid "Return Value"
|
1063 |
msgstr "Вернуть значение"
|
1064 |
|
1065 |
-
#: core/fields/file.php:
|
1066 |
msgid "File Object"
|
1067 |
msgstr "Файловый объект"
|
1068 |
|
1069 |
-
#: core/fields/file.php:
|
1070 |
msgid "File URL"
|
1071 |
msgstr "Ссылка на файл"
|
1072 |
|
1073 |
-
#: core/fields/file.php:
|
1074 |
msgid "File ID"
|
1075 |
msgstr "ID файла"
|
1076 |
|
1077 |
-
#: core/fields/file.php:
|
1078 |
-
msgid "
|
1079 |
-
msgstr "
|
1080 |
|
1081 |
-
#: core/fields/file.php:
|
1082 |
-
msgid "
|
1083 |
-
msgstr "
|
1084 |
|
1085 |
-
#: core/fields/
|
1086 |
-
msgid "
|
1087 |
-
msgstr "
|
1088 |
|
1089 |
-
#: core/fields/
|
1090 |
-
msgid "
|
1091 |
-
msgstr "
|
1092 |
|
1093 |
-
#: core/fields/
|
1094 |
-
msgid "
|
1095 |
-
msgstr "
|
1096 |
|
1097 |
-
#: core/fields/
|
1098 |
-
msgid "
|
1099 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1100 |
|
1101 |
#: core/fields/image.php:19
|
1102 |
msgid "Image"
|
1103 |
msgstr "Изображение"
|
1104 |
|
1105 |
-
#: core/fields/image.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1106 |
msgid "No image selected"
|
1107 |
msgstr "Изображение не выбрано"
|
1108 |
|
1109 |
-
#: core/fields/image.php:
|
1110 |
msgid "Add Image"
|
1111 |
msgstr "Добавить изображение"
|
1112 |
|
1113 |
-
#: core/fields/image.php:
|
|
|
|
|
|
|
|
|
1114 |
msgid "Image Object"
|
1115 |
msgstr "Изображаемый объект"
|
1116 |
|
1117 |
-
#: core/fields/image.php:
|
1118 |
msgid "Image URL"
|
1119 |
msgstr "Ссылка на изображение"
|
1120 |
|
1121 |
-
#: core/fields/image.php:
|
1122 |
msgid "Image ID"
|
1123 |
msgstr "ID изображения"
|
1124 |
|
1125 |
-
#: core/fields/image.php:
|
1126 |
msgid "Preview Size"
|
1127 |
msgstr "Размер предпросмотра"
|
1128 |
|
1129 |
-
#: core/fields/image.php:
|
1130 |
-
msgid "
|
1131 |
-
msgstr "
|
1132 |
-
|
1133 |
-
#: core/fields/image.php:525
|
1134 |
-
msgid "No images selected"
|
1135 |
-
msgstr "Изображение не выбраны"
|
1136 |
-
|
1137 |
-
#: core/fields/image.php:667
|
1138 |
-
msgid "Add Selected Images"
|
1139 |
-
msgstr "Добавить выбранные изображения"
|
1140 |
|
1141 |
-
#: core/fields/image.php:
|
1142 |
-
msgid "
|
1143 |
-
msgstr "
|
1144 |
|
1145 |
-
#: core/fields/
|
1146 |
-
|
1147 |
-
msgstr "Обновить изображение"
|
1148 |
-
|
1149 |
-
#: core/fields/message.php:19 core/fields/message.php:71
|
1150 |
-
#: core/fields/true_false.php:89
|
1151 |
msgid "Message"
|
1152 |
msgstr "Сообщение"
|
1153 |
|
1154 |
-
#: core/fields/message.php:
|
1155 |
-
msgid "Layout"
|
1156 |
-
msgstr "Макет"
|
1157 |
-
|
1158 |
-
#: core/fields/message.php:72
|
1159 |
msgid "Text & HTML entered here will appear inline with the fields"
|
1160 |
-
msgstr "Текст и HTML введенный сюда появится на одной строке с
|
1161 |
|
1162 |
-
#: core/fields/message.php:
|
1163 |
msgid "Please note that all text will first be passed through the wp function "
|
1164 |
msgstr "Пожалуйста, заметьте, что весь текст пройдет через WP функцию"
|
1165 |
|
@@ -1167,30 +1286,42 @@ msgstr "Пожалуйста, заметьте, что весь текст пр
|
|
1167 |
msgid "Number"
|
1168 |
msgstr "Номер"
|
1169 |
|
1170 |
-
#: core/fields/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1171 |
msgid "Page Link"
|
1172 |
msgstr "Ссылка на страницу"
|
1173 |
|
1174 |
-
#: core/fields/page_link.php:
|
1175 |
-
#: core/fields/relationship.php:
|
1176 |
-
#: core/fields/user.php:
|
1177 |
msgid "Relational"
|
1178 |
msgstr "Отношение"
|
1179 |
|
1180 |
-
#: core/fields/page_link.php:
|
1181 |
-
#: core/fields/relationship.php:
|
1182 |
-
#: core/views/meta_box_location.php:
|
1183 |
msgid "Post Type"
|
1184 |
msgstr "Тип записи"
|
1185 |
|
1186 |
-
#: core/fields/page_link.php:
|
1187 |
-
#: core/fields/select.php:
|
1188 |
-
#: core/fields/user.php:
|
1189 |
msgid "Allow Null?"
|
1190 |
msgstr "Разрешить пусто значение?"
|
1191 |
|
1192 |
-
#: core/fields/page_link.php:
|
1193 |
-
#: core/fields/select.php:
|
1194 |
msgid "Select multiple values?"
|
1195 |
msgstr "Выбрать несколько значений?"
|
1196 |
|
@@ -1198,68 +1329,100 @@ msgstr "Выбрать несколько значений?"
|
|
1198 |
msgid "Password"
|
1199 |
msgstr "Пароль"
|
1200 |
|
1201 |
-
#: core/fields/post_object.php:
|
1202 |
msgid "Post Object"
|
1203 |
msgstr "Объект записи"
|
1204 |
|
1205 |
-
#: core/fields/post_object.php:
|
1206 |
msgid "Filter from Taxonomy"
|
1207 |
msgstr "Фильтровать по таксономии"
|
1208 |
|
1209 |
-
#: core/fields/radio.php:
|
1210 |
msgid "Radio Button"
|
1211 |
msgstr "Радио-кнопка"
|
1212 |
|
1213 |
-
#: core/fields/radio.php:
|
|
|
|
|
|
|
|
|
1214 |
msgid "Enter your choices one per line"
|
1215 |
msgstr "Введите каждый вариант выбора на новую строку."
|
1216 |
|
1217 |
-
#: core/fields/radio.php:
|
1218 |
msgid "Red"
|
1219 |
msgstr "Red"
|
1220 |
|
1221 |
-
#: core/fields/radio.php:
|
1222 |
msgid "Blue"
|
1223 |
msgstr "Blue"
|
1224 |
|
1225 |
-
#: core/fields/radio.php:
|
1226 |
-
msgid "
|
1227 |
-
msgstr "
|
1228 |
|
1229 |
-
#: core/fields/radio.php:
|
1230 |
-
msgid "
|
1231 |
-
msgstr "
|
1232 |
|
1233 |
-
#: core/fields/relationship.php:
|
1234 |
msgid "Relationship"
|
1235 |
msgstr "Взаимоотношение"
|
1236 |
|
1237 |
-
#: core/fields/relationship.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1238 |
msgid "Search"
|
1239 |
msgstr "Поиск"
|
1240 |
|
1241 |
-
#: core/fields/relationship.php:
|
1242 |
msgid "Post Type Select"
|
1243 |
msgstr "Выбор типа записи"
|
1244 |
|
1245 |
-
#: core/fields/relationship.php:
|
1246 |
msgid "Elements"
|
1247 |
msgstr "Элементы"
|
1248 |
|
1249 |
-
#: core/fields/relationship.php:
|
1250 |
msgid "Selected elements will be displayed in each result"
|
1251 |
-
msgstr "Выбранные элементы будут отображены в каждом
|
1252 |
|
1253 |
-
#: core/fields/relationship.php:
|
|
|
|
|
|
|
|
|
1254 |
msgid "Post Title"
|
1255 |
msgstr "Заголовок записи"
|
1256 |
|
1257 |
-
#: core/fields/relationship.php:
|
1258 |
msgid "Maximum posts"
|
1259 |
msgstr "Максимум записей"
|
1260 |
|
1261 |
-
#: core/fields/select.php:
|
1262 |
-
#: core/fields/user.php:
|
1263 |
msgid "Select"
|
1264 |
msgstr "Выбрать"
|
1265 |
|
@@ -1267,66 +1430,73 @@ msgstr "Выбрать"
|
|
1267 |
msgid "Tab"
|
1268 |
msgstr "Вкладка"
|
1269 |
|
1270 |
-
#: core/fields/tab.php:
|
1271 |
msgid ""
|
1272 |
-
"
|
1273 |
-
"
|
1274 |
msgstr ""
|
1275 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1276 |
"(или пока другое поле-вкладка не будет создано)."
|
1277 |
|
1278 |
-
#: core/fields/tab.php:
|
1279 |
-
msgid "
|
1280 |
msgstr ""
|
1281 |
"Вы можете использовать несколько вкладок, чтобы разделить свои поля на "
|
1282 |
"разделы."
|
1283 |
|
1284 |
-
#: core/fields/taxonomy.php:
|
1285 |
msgid "Taxonomy"
|
1286 |
msgstr "Таксономия"
|
1287 |
|
1288 |
-
#: core/fields/taxonomy.php:
|
1289 |
-
#: core/fields/text.php:97 core/fields/textarea.php:97
|
1290 |
msgid "None"
|
1291 |
msgstr "Ничего"
|
1292 |
|
1293 |
-
#: core/fields/taxonomy.php:
|
1294 |
-
#: core/views/meta_box_fields.php:
|
1295 |
msgid "Field Type"
|
1296 |
msgstr "Тип поля"
|
1297 |
|
1298 |
-
#: core/fields/taxonomy.php:
|
1299 |
msgid "Multiple Values"
|
1300 |
msgstr "Несколько значений"
|
1301 |
|
1302 |
-
#: core/fields/taxonomy.php:
|
1303 |
msgid "Multi Select"
|
1304 |
msgstr "Множественный выбор"
|
1305 |
|
1306 |
-
#: core/fields/taxonomy.php:
|
1307 |
msgid "Single Value"
|
1308 |
msgstr "Одно значение"
|
1309 |
|
1310 |
-
#: core/fields/taxonomy.php:
|
1311 |
msgid "Radio Buttons"
|
1312 |
msgstr "Радио-кнопки"
|
1313 |
|
1314 |
-
#: core/fields/taxonomy.php:
|
1315 |
msgid "Load & Save Terms to Post"
|
1316 |
msgstr "Загрузить и сохранить термины в запись"
|
1317 |
|
1318 |
-
#: core/fields/taxonomy.php:
|
1319 |
msgid ""
|
1320 |
"Load value based on the post's terms and update the post's terms on save"
|
1321 |
msgstr ""
|
1322 |
"Загрузить значение основываясь на терминах записи и обновить термины записи "
|
1323 |
-
"при
|
1324 |
|
1325 |
-
#: core/fields/taxonomy.php:
|
1326 |
msgid "Term Object"
|
1327 |
msgstr "Объект термина"
|
1328 |
|
1329 |
-
#: core/fields/taxonomy.php:
|
1330 |
msgid "Term ID"
|
1331 |
msgstr "ID термина"
|
1332 |
|
@@ -1334,105 +1504,91 @@ msgstr "ID термина"
|
|
1334 |
msgid "Text"
|
1335 |
msgstr "Текст"
|
1336 |
|
1337 |
-
#: core/fields/text.php:
|
1338 |
msgid "Formatting"
|
1339 |
msgstr "Форматирование"
|
1340 |
|
1341 |
-
#: core/fields/text.php:
|
1342 |
-
msgid "
|
1343 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1344 |
|
1345 |
-
#: core/fields/text.php:
|
1346 |
-
msgid "
|
1347 |
-
msgstr "
|
1348 |
|
1349 |
#: core/fields/textarea.php:19
|
1350 |
msgid "Text Area"
|
1351 |
msgstr "Область текста"
|
1352 |
|
1353 |
-
#: core/fields/textarea.php:
|
1354 |
-
msgid "
|
1355 |
-
msgstr "
|
1356 |
-
|
1357 |
-
#: core/fields/textarea.php:98
|
1358 |
-
msgid "auto <br />"
|
1359 |
-
msgstr "автоматические <br />"
|
1360 |
|
1361 |
#: core/fields/true_false.php:19
|
1362 |
msgid "True / False"
|
1363 |
msgstr "Истина / Ложь"
|
1364 |
|
1365 |
-
#: core/fields/true_false.php:
|
1366 |
msgid "eg. Show extra content"
|
1367 |
msgstr "Пример: Отображать дополнительное содержание"
|
1368 |
|
1369 |
-
#: core/fields/user.php:
|
1370 |
msgid "User"
|
1371 |
msgstr "Пользователь"
|
1372 |
|
1373 |
-
#: core/fields/user.php:
|
1374 |
msgid "Filter by role"
|
1375 |
msgstr "Фильтровать по должности"
|
1376 |
|
1377 |
-
#: core/fields/wysiwyg.php:
|
1378 |
msgid "Wysiwyg Editor"
|
1379 |
msgstr "Редактор WYSIWYG"
|
1380 |
|
1381 |
-
#: core/fields/wysiwyg.php:
|
1382 |
msgid "Toolbar"
|
1383 |
msgstr "Панель инструментов"
|
1384 |
|
1385 |
-
#: core/fields/wysiwyg.php:
|
1386 |
msgid "Show Media Upload Buttons?"
|
1387 |
msgstr "Отображать кнопки загрузки медиа?"
|
1388 |
|
1389 |
-
#: core/views/meta_box_fields.php:
|
1390 |
msgid "New Field"
|
1391 |
msgstr "Новое поле"
|
1392 |
|
1393 |
-
|
1394 |
-
#: core/views/meta_box_fields.php:24
|
1395 |
-
msgid "new_field"
|
1396 |
-
msgstr "new_field"
|
1397 |
-
|
1398 |
-
#: core/views/meta_box_fields.php:57
|
1399 |
msgid "Field type does not exist"
|
1400 |
msgstr "Тип поля не существует"
|
1401 |
|
1402 |
-
#: core/views/meta_box_fields.php:
|
1403 |
-
msgid "Move to trash. Are you sure?"
|
1404 |
-
msgstr "Отправить в корзину. Вы уверены?"
|
1405 |
-
|
1406 |
-
# Maybe non-translateable too.
|
1407 |
-
#: core/views/meta_box_fields.php:65
|
1408 |
-
msgid "checked"
|
1409 |
-
msgstr "checked"
|
1410 |
-
|
1411 |
-
#: core/views/meta_box_fields.php:66
|
1412 |
-
msgid "No toggle fields available"
|
1413 |
-
msgstr "Нет доступных полей выбора."
|
1414 |
-
|
1415 |
-
#: core/views/meta_box_fields.php:67
|
1416 |
-
msgid "copy"
|
1417 |
-
msgstr "копировать"
|
1418 |
-
|
1419 |
-
#: core/views/meta_box_fields.php:79
|
1420 |
msgid "Field Order"
|
1421 |
-
msgstr "
|
1422 |
|
1423 |
-
#: core/views/meta_box_fields.php:
|
1424 |
msgid "Field Label"
|
1425 |
msgstr "Ярлык поля"
|
1426 |
|
1427 |
-
#: core/views/meta_box_fields.php:
|
1428 |
msgid "Field Name"
|
1429 |
msgstr "Имя поля"
|
1430 |
|
1431 |
-
#: core/views/meta_box_fields.php:
|
1432 |
msgid "Field Key"
|
1433 |
msgstr "Ключ поля"
|
1434 |
|
1435 |
-
#: core/views/meta_box_fields.php:
|
1436 |
msgid ""
|
1437 |
"No fields. Click the <strong>+ Add Field</strong> button to create your "
|
1438 |
"first field."
|
@@ -1440,99 +1596,99 @@ msgstr ""
|
|
1440 |
"Нет полей. Нажмите на кнопку <strong>+ Добавить поле</strong>, чтобы создать "
|
1441 |
"свое первое поле."
|
1442 |
|
1443 |
-
#: core/views/meta_box_fields.php:
|
1444 |
msgid "Edit this Field"
|
1445 |
-
msgstr "Редактировать это
|
1446 |
|
1447 |
-
#: core/views/meta_box_fields.php:
|
1448 |
msgid "Read documentation for this field"
|
1449 |
-
msgstr "Прочитайте документацию по этому
|
1450 |
|
1451 |
-
#: core/views/meta_box_fields.php:
|
1452 |
msgid "Docs"
|
1453 |
msgstr "Документация"
|
1454 |
|
1455 |
-
#: core/views/meta_box_fields.php:
|
1456 |
msgid "Duplicate this Field"
|
1457 |
msgstr "Копировать это поле"
|
1458 |
|
1459 |
-
#: core/views/meta_box_fields.php:
|
1460 |
msgid "Duplicate"
|
1461 |
msgstr "Копировать"
|
1462 |
|
1463 |
-
#: core/views/meta_box_fields.php:
|
1464 |
msgid "Delete this Field"
|
1465 |
msgstr "Удалить это поле"
|
1466 |
|
1467 |
-
#: core/views/meta_box_fields.php:
|
1468 |
msgid "Delete"
|
1469 |
msgstr "Удалить"
|
1470 |
|
1471 |
-
#: core/views/meta_box_fields.php:
|
1472 |
msgid "This is the name which will appear on the EDIT page"
|
1473 |
-
msgstr "Это имя появится на
|
1474 |
|
1475 |
-
#: core/views/meta_box_fields.php:
|
1476 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
1477 |
-
msgstr "Одно слово, без пробелов. Разрешены только _ и
|
1478 |
|
1479 |
-
#: core/views/meta_box_fields.php:
|
1480 |
msgid "Field Instructions"
|
1481 |
msgstr "Инструкции по полю"
|
1482 |
|
1483 |
-
#: core/views/meta_box_fields.php:
|
1484 |
msgid "Instructions for authors. Shown when submitting data"
|
1485 |
-
msgstr "Инструкции для авторов. Отображаются при отправке
|
1486 |
|
1487 |
-
#: core/views/meta_box_fields.php:
|
1488 |
msgid "Required?"
|
1489 |
msgstr "Обязательно?"
|
1490 |
|
1491 |
-
#: core/views/meta_box_fields.php:
|
1492 |
msgid "Conditional Logic"
|
1493 |
msgstr "Условная логика"
|
1494 |
|
1495 |
-
#: core/views/meta_box_fields.php:
|
1496 |
msgid "is equal to"
|
1497 |
msgstr "равно"
|
1498 |
|
1499 |
-
#: core/views/meta_box_fields.php:
|
1500 |
msgid "is not equal to"
|
1501 |
msgstr "не равно"
|
1502 |
|
1503 |
-
#: core/views/meta_box_fields.php:
|
1504 |
msgid "Show this field when"
|
1505 |
msgstr "Отображать это поле, когда"
|
1506 |
|
1507 |
-
#: core/views/meta_box_fields.php:
|
1508 |
msgid "all"
|
1509 |
msgstr "все"
|
1510 |
|
1511 |
-
#: core/views/meta_box_fields.php:
|
1512 |
msgid "any"
|
1513 |
msgstr "любое"
|
1514 |
|
1515 |
-
#: core/views/meta_box_fields.php:
|
1516 |
msgid "these rules are met"
|
1517 |
msgstr "из этих условий придерживаются"
|
1518 |
|
1519 |
-
#: core/views/meta_box_fields.php:
|
1520 |
msgid "Close Field"
|
1521 |
msgstr "Закрыть поле"
|
1522 |
|
1523 |
-
#: core/views/meta_box_fields.php:
|
1524 |
msgid "Drag and drop to reorder"
|
1525 |
msgstr "Drag-and-drop для переноса"
|
1526 |
|
1527 |
-
#: core/views/meta_box_fields.php:
|
1528 |
msgid "+ Add Field"
|
1529 |
msgstr "+ Добавить поле"
|
1530 |
|
1531 |
-
#: core/views/meta_box_location.php:
|
1532 |
msgid "Rules"
|
1533 |
msgstr "Правила"
|
1534 |
|
1535 |
-
#: core/views/meta_box_location.php:
|
1536 |
msgid ""
|
1537 |
"Create a set of rules to determine which edit screens will use these "
|
1538 |
"advanced custom fields"
|
@@ -1540,122 +1696,113 @@ msgstr ""
|
|
1540 |
"Создайте группы правил и условий, чтобы определить, какие экраны "
|
1541 |
"редактирования будут использовать расширенные произвольные поля."
|
1542 |
|
1543 |
-
#: core/views/meta_box_location.php:
|
1544 |
msgid "Show this field group if"
|
1545 |
msgstr "Отображать эту группу полей, если"
|
1546 |
|
1547 |
-
#: core/views/meta_box_location.php:
|
1548 |
-
#: core/views/meta_box_location.php:172
|
1549 |
-
msgid "or"
|
1550 |
-
msgstr "или"
|
1551 |
-
|
1552 |
-
#: core/views/meta_box_location.php:73
|
1553 |
msgid "Logged in User Type"
|
1554 |
msgstr "Вошедший тип пользователя"
|
1555 |
|
1556 |
-
#: core/views/meta_box_location.php:
|
1557 |
msgid "Page"
|
1558 |
msgstr "Страница"
|
1559 |
|
1560 |
-
#: core/views/meta_box_location.php:
|
1561 |
msgid "Page Type"
|
1562 |
msgstr "Тип страницы"
|
1563 |
|
1564 |
-
#: core/views/meta_box_location.php:
|
1565 |
msgid "Page Parent"
|
1566 |
msgstr "Родитель страницы"
|
1567 |
|
1568 |
-
#: core/views/meta_box_location.php:
|
1569 |
msgid "Page Template"
|
1570 |
msgstr "Шаблон страницы"
|
1571 |
|
1572 |
-
#: core/views/meta_box_location.php:
|
1573 |
msgid "Post"
|
1574 |
msgstr "Запись"
|
1575 |
|
1576 |
-
#: core/views/meta_box_location.php:
|
1577 |
msgid "Post Category"
|
1578 |
msgstr "Рубрика записи"
|
1579 |
|
1580 |
-
#: core/views/meta_box_location.php:
|
1581 |
msgid "Post Format"
|
1582 |
msgstr "Формат записи"
|
1583 |
|
1584 |
-
#: core/views/meta_box_location.php:85
|
1585 |
-
msgid "Post Taxonomy"
|
1586 |
-
msgstr "Таксономия записи"
|
1587 |
-
|
1588 |
-
#: core/views/meta_box_location.php:87
|
1589 |
-
msgid "Other"
|
1590 |
-
msgstr "Другое"
|
1591 |
-
|
1592 |
#: core/views/meta_box_location.php:88
|
1593 |
-
msgid "
|
1594 |
-
msgstr "
|
1595 |
|
1596 |
#: core/views/meta_box_location.php:89
|
1597 |
-
msgid "
|
1598 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1599 |
|
1600 |
-
#: core/views/meta_box_location.php:
|
1601 |
-
msgid "
|
1602 |
-
msgstr "
|
1603 |
|
1604 |
-
#: core/views/meta_box_location.php:
|
1605 |
msgid "and"
|
1606 |
msgstr "и"
|
1607 |
|
1608 |
-
#: core/views/meta_box_location.php:
|
1609 |
msgid "Add rule group"
|
1610 |
msgstr "Добавить группу правил"
|
1611 |
|
1612 |
-
#: core/views/
|
1613 |
-
msgid "Unlock options add-on with an activation code"
|
1614 |
-
msgstr "Разблокировать опции аддона с помощью кода активации."
|
1615 |
-
|
1616 |
-
#: core/views/meta_box_options.php:23
|
1617 |
msgid "Order No."
|
1618 |
msgstr "Порядок очередности"
|
1619 |
|
1620 |
-
#: core/views/meta_box_options.php:
|
1621 |
msgid "Field groups are created in order <br />from lowest to highest"
|
1622 |
msgstr ""
|
1623 |
-
"Группы
|
1624 |
"большое."
|
1625 |
|
1626 |
-
#: core/views/meta_box_options.php:
|
1627 |
msgid "Position"
|
1628 |
msgstr "Позиция"
|
1629 |
|
1630 |
-
#: core/views/meta_box_options.php:
|
1631 |
-
msgid "
|
1632 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1633 |
|
1634 |
-
#: core/views/meta_box_options.php:
|
1635 |
msgid "Side"
|
1636 |
msgstr "Боковая панель"
|
1637 |
|
1638 |
-
#: core/views/meta_box_options.php:
|
1639 |
msgid "Style"
|
1640 |
msgstr "Стиль"
|
1641 |
|
1642 |
-
#: core/views/meta_box_options.php:
|
1643 |
msgid "No Metabox"
|
1644 |
msgstr "Без метабокса"
|
1645 |
|
1646 |
-
#: core/views/meta_box_options.php:
|
1647 |
msgid "Standard Metabox"
|
1648 |
msgstr "Стандартный метабокс"
|
1649 |
|
1650 |
-
#: core/views/meta_box_options.php:
|
1651 |
msgid "Hide on screen"
|
1652 |
msgstr "Скрыть на экране"
|
1653 |
|
1654 |
-
#: core/views/meta_box_options.php:
|
1655 |
msgid "<b>Select</b> items to <b>hide</b> them from the edit screen"
|
1656 |
msgstr "<b>Выберите</b> пункт, который надо <b>спрятать</b> с экрана."
|
1657 |
|
1658 |
-
#: core/views/meta_box_options.php:
|
1659 |
msgid ""
|
1660 |
"If multiple field groups appear on an edit screen, the first field group's "
|
1661 |
"options will be used. (the one with the lowest order number)"
|
@@ -1664,58 +1811,151 @@ msgstr ""
|
|
1664 |
"использована первая группа полей. (Та, у которой меньшее число порядка "
|
1665 |
"очередности.)"
|
1666 |
|
1667 |
-
#: core/views/meta_box_options.php:
|
|
|
|
|
|
|
|
|
1668 |
msgid "Content Editor"
|
1669 |
msgstr "Текстовый редактор"
|
1670 |
|
1671 |
-
#: core/views/meta_box_options.php:
|
1672 |
msgid "Excerpt"
|
1673 |
msgstr "Цитата"
|
1674 |
|
1675 |
-
#: core/views/meta_box_options.php:
|
1676 |
msgid "Discussion"
|
1677 |
msgstr "Обсуждение"
|
1678 |
|
1679 |
-
#: core/views/meta_box_options.php:
|
1680 |
msgid "Comments"
|
1681 |
msgstr "Комментарии"
|
1682 |
|
1683 |
-
#: core/views/meta_box_options.php:
|
1684 |
msgid "Revisions"
|
1685 |
msgstr "Редакции"
|
1686 |
|
1687 |
-
#: core/views/meta_box_options.php:
|
1688 |
msgid "Slug"
|
1689 |
msgstr "Ярлык"
|
1690 |
|
1691 |
-
#: core/views/meta_box_options.php:
|
1692 |
msgid "Author"
|
1693 |
msgstr "Автор"
|
1694 |
|
1695 |
-
#: core/views/meta_box_options.php:
|
1696 |
msgid "Format"
|
1697 |
msgstr "Формат"
|
1698 |
|
1699 |
-
#: core/views/meta_box_options.php:
|
1700 |
-
msgid "Featured Image"
|
1701 |
-
msgstr "Миниатюра записи"
|
1702 |
-
|
1703 |
-
#: core/views/meta_box_options.php:102
|
1704 |
msgid "Categories"
|
1705 |
msgstr "Рубрики"
|
1706 |
|
1707 |
-
#: core/views/meta_box_options.php:
|
1708 |
msgid "Tags"
|
1709 |
msgstr "Метки"
|
1710 |
|
1711 |
-
#: core/views/meta_box_options.php:
|
1712 |
msgid "Send Trackbacks"
|
1713 |
msgstr "Отправить обратные ссылки"
|
1714 |
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Advanced Custom Fields\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
|
7 |
+
"POT-Creation-Date: 2013-12-03 04:25:56+00:00\n"
|
8 |
+
"PO-Revision-Date: 2014-01-05 15:33+0100\n"
|
9 |
+
"Last-Translator: Alex Torscho <contact@alextorscho.com>\n"
|
10 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
11 |
+
"Language: ru_RU\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.6.3\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"X-Poedit-SearchPath-0: ./acf.pot\n"
|
|
|
18 |
|
19 |
+
#: acf.php:437
|
20 |
msgid "Field Groups"
|
21 |
msgstr "Группы полей"
|
22 |
|
23 |
+
#: acf.php:438 core/controllers/field_groups.php:214
|
24 |
msgid "Advanced Custom Fields"
|
25 |
msgstr "Расширенные произвольные поля"
|
26 |
|
27 |
+
#: acf.php:439
|
28 |
msgid "Add New"
|
29 |
msgstr "Добавить новую"
|
30 |
|
31 |
+
#: acf.php:440
|
32 |
msgid "Add New Field Group"
|
33 |
msgstr "Добавить новую группу полей"
|
34 |
|
35 |
+
#: acf.php:441
|
36 |
msgid "Edit Field Group"
|
37 |
msgstr "Редактировать группу полей"
|
38 |
|
39 |
+
#: acf.php:442
|
40 |
msgid "New Field Group"
|
41 |
msgstr "Новая группа полей"
|
42 |
|
43 |
+
#: acf.php:443
|
44 |
msgid "View Field Group"
|
45 |
msgstr "Просмотреть группу полей"
|
46 |
|
47 |
+
#: acf.php:444
|
48 |
msgid "Search Field Groups"
|
49 |
msgstr "Поиск групп полей"
|
50 |
|
51 |
+
#: acf.php:445
|
52 |
msgid "No Field Groups found"
|
53 |
+
msgstr "Группы полей не найдены"
|
54 |
|
55 |
+
#: acf.php:446
|
56 |
msgid "No Field Groups found in Trash"
|
57 |
+
msgstr "Группы полей не найдены в корзине"
|
58 |
|
59 |
+
#: acf.php:549 core/views/meta_box_options.php:99
|
60 |
msgid "Custom Fields"
|
61 |
msgstr "Произвольные поля"
|
62 |
|
63 |
+
#: acf.php:567 acf.php:570
|
64 |
msgid "Field group updated."
|
65 |
msgstr "Группа полей обновлена."
|
66 |
|
67 |
+
#: acf.php:568
|
68 |
msgid "Custom field updated."
|
69 |
msgstr "Произвольное поле обновлено."
|
70 |
|
71 |
+
#: acf.php:569
|
72 |
msgid "Custom field deleted."
|
73 |
msgstr "Произвольное поле удалено."
|
74 |
|
75 |
#. translators: %s: date and time of the revision
|
76 |
+
#: acf.php:572
|
77 |
msgid "Field group restored to revision from %s"
|
78 |
msgstr "Группа полей восстановлена из редакции %s"
|
79 |
|
80 |
+
#: acf.php:573
|
81 |
msgid "Field group published."
|
82 |
msgstr "Группа полей опубликована."
|
83 |
|
84 |
+
#: acf.php:574
|
85 |
msgid "Field group saved."
|
86 |
msgstr "Группа полей сохранена."
|
87 |
|
88 |
+
#: acf.php:575
|
89 |
msgid "Field group submitted."
|
90 |
msgstr "Группа полей отправлена."
|
91 |
|
92 |
+
#: acf.php:576
|
93 |
msgid "Field group scheduled for."
|
94 |
+
msgstr "Группа полей запланирована."
|
95 |
|
96 |
+
#: acf.php:577
|
97 |
msgid "Field group draft updated."
|
98 |
msgstr "Черновик группы полей обновлен."
|
99 |
|
100 |
+
#: acf.php:712
|
101 |
msgid "Thumbnail"
|
102 |
msgstr "Миниатюра"
|
103 |
|
104 |
+
#: acf.php:713
|
105 |
msgid "Medium"
|
106 |
msgstr "Средний"
|
107 |
|
108 |
+
#: acf.php:714
|
109 |
msgid "Large"
|
110 |
msgstr "Большой"
|
111 |
|
112 |
+
#: acf.php:715
|
113 |
msgid "Full"
|
114 |
msgstr "Полный"
|
115 |
|
116 |
+
#: core/actions/export.php:26 core/views/meta_box_fields.php:58
|
117 |
msgid "Error"
|
118 |
msgstr "Ошибка"
|
119 |
|
120 |
+
#: core/actions/export.php:33
|
121 |
msgid "No ACF groups selected"
|
122 |
msgstr "Группы ACF не выбраны"
|
123 |
|
124 |
+
#: core/api.php:1162
|
125 |
+
msgid "Update"
|
126 |
+
msgstr "Обновить"
|
127 |
+
|
128 |
+
#: core/api.php:1163
|
129 |
+
msgid "Post updated"
|
130 |
+
msgstr "Данные обновлены"
|
131 |
+
|
132 |
#: core/controllers/addons.php:42 core/controllers/field_groups.php:311
|
133 |
msgid "Add-ons"
|
134 |
msgstr "Аддоны"
|
135 |
|
136 |
+
#: core/controllers/addons.php:130 core/controllers/field_groups.php:433
|
137 |
msgid "Repeater Field"
|
138 |
msgstr "Повторающееся поле"
|
139 |
|
141 |
msgid "Create infinite rows of repeatable data with this versatile interface!"
|
142 |
msgstr "Создавайте повторающиеся поля с этим многофунциональным аддоном!"
|
143 |
|
144 |
+
#: core/controllers/addons.php:137 core/controllers/field_groups.php:441
|
145 |
msgid "Gallery Field"
|
146 |
msgstr "Поле галереи"
|
147 |
|
149 |
msgid "Create image galleries in a simple and intuitive interface!"
|
150 |
msgstr "Создавайте галереи с этим простым и интуитивным интерфейсом!"
|
151 |
|
152 |
+
#: core/controllers/addons.php:144 core/controllers/field_groups.php:449
|
|
|
153 |
msgid "Options Page"
|
154 |
msgstr "Страница с опциями"
|
155 |
|
180 |
|
181 |
#: core/controllers/addons.php:169
|
182 |
msgid "jQuery date & time picker"
|
183 |
+
msgstr "выбор даты и времени jQuery"
|
184 |
|
185 |
#: core/controllers/addons.php:175
|
186 |
msgid "Location Field"
|
218 |
"Каждый аддон может быть установлен, как отдельный плагин (который "
|
219 |
"обновляется), или же может быть включен в вашу тему (обновляться не будет)."
|
220 |
|
221 |
+
#: core/controllers/addons.php:219 core/controllers/addons.php:240
|
222 |
msgid "Installed"
|
223 |
msgstr "Установлено"
|
224 |
|
225 |
+
#: core/controllers/addons.php:221
|
226 |
msgid "Purchase & Install"
|
227 |
msgstr "Купить и установить"
|
228 |
|
229 |
+
#: core/controllers/addons.php:242 core/controllers/field_groups.php:426
|
230 |
+
#: core/controllers/field_groups.php:435 core/controllers/field_groups.php:443
|
231 |
+
#: core/controllers/field_groups.php:451 core/controllers/field_groups.php:459
|
232 |
msgid "Download"
|
233 |
msgstr "Скачать"
|
234 |
|
246 |
|
247 |
#: core/controllers/export.php:222
|
248 |
msgid "Select the field groups to be exported"
|
249 |
+
msgstr "Выберите группы полей, которые надо экспортировать"
|
250 |
|
251 |
#: core/controllers/export.php:239 core/controllers/export.php:252
|
252 |
msgid "Export to XML"
|
275 |
msgid "Select field group(s) from the list and click \"Export XML\""
|
276 |
msgstr ""
|
277 |
"Выберите группу(-ы) полей из списка и нажмите на кнопку \"Экспортировать в "
|
278 |
+
"XML файл\""
|
279 |
|
280 |
#: core/controllers/export.php:257
|
281 |
msgid "Save the .xml file when prompted"
|
292 |
|
293 |
#: core/controllers/export.php:260
|
294 |
msgid "Upload and import your exported .xml file"
|
295 |
+
msgstr "Загрузите и импортируйте ваш экспортированный .xml файл"
|
296 |
|
297 |
#: core/controllers/export.php:261
|
298 |
msgid "Select your user and ignore Import Attachments"
|
299 |
+
msgstr "Выберите вашего пользователя и не импортируйте вложенные файлы"
|
300 |
|
301 |
#: core/controllers/export.php:262
|
302 |
msgid "That's it! Happy WordPressing"
|
311 |
"Registered field groups <b>will not</b> appear in the list of editable field "
|
312 |
"groups. This is useful for including fields in themes."
|
313 |
msgstr ""
|
314 |
+
"Импортированные группы полей <strong>не появятся</strong> в списке. "
|
315 |
"редактируемых групп полей. Данный способ удобен при необходимости включить "
|
316 |
"поля в темы."
|
317 |
|
331 |
msgid "Select field group(s) from the list and click \"Create PHP\""
|
332 |
msgstr ""
|
333 |
"Выберите группу(-ы) полей из списка, затем нажмите на кнопку "
|
334 |
+
"\"Экспортировать в PHP файл\""
|
335 |
|
336 |
#: core/controllers/export.php:273 core/controllers/export.php:302
|
337 |
msgid "Copy the PHP code generated"
|
351 |
msgid "Export Field Groups to PHP"
|
352 |
msgstr "Экспортировать группы полей в PHP"
|
353 |
|
354 |
+
#: core/controllers/export.php:300 core/fields/tab.php:65
|
355 |
msgid "Instructions"
|
356 |
msgstr "Инструкции"
|
357 |
|
376 |
#: core/controllers/export.php:323
|
377 |
msgid ""
|
378 |
"To remove all visual interfaces from the ACF plugin, you can use a constant "
|
379 |
+
"to enable lite mode. Add the following code to your functions.php file "
|
380 |
"<b>before</b> the include_once code:"
|
381 |
msgstr ""
|
382 |
"Чтобы убрать весь визуальный интерфейс из плагина ACF, вы можете "
|
388 |
msgid "Back to export"
|
389 |
msgstr "Вернуться к экспорту"
|
390 |
|
391 |
+
#: core/controllers/export.php:400
|
392 |
+
msgid "No field groups were selected"
|
393 |
+
msgstr "Группы полей не выбраны"
|
394 |
+
|
395 |
+
#: core/controllers/field_group.php:358
|
396 |
+
msgid "Move to trash. Are you sure?"
|
397 |
+
msgstr "Отправить в корзину. Вы уверены?"
|
398 |
+
|
399 |
+
# Maybe non-translateable too.
|
400 |
+
#: core/controllers/field_group.php:359
|
401 |
+
msgid "checked"
|
402 |
+
msgstr "checked"
|
403 |
+
|
404 |
+
#: core/controllers/field_group.php:360
|
405 |
+
msgid "No toggle fields available"
|
406 |
+
msgstr "Нет доступных полей выбора."
|
407 |
+
|
408 |
+
#: core/controllers/field_group.php:361
|
409 |
+
msgid "Field group title is required"
|
410 |
+
msgstr "Заголовок группы полей обязателен"
|
411 |
+
|
412 |
+
#: core/controllers/field_group.php:362
|
413 |
+
msgid "copy"
|
414 |
+
msgstr "копировать"
|
415 |
+
|
416 |
+
#: core/controllers/field_group.php:363 core/views/meta_box_location.php:62
|
417 |
+
#: core/views/meta_box_location.php:159
|
418 |
+
msgid "or"
|
419 |
+
msgstr "или"
|
420 |
+
|
421 |
+
#: core/controllers/field_group.php:364 core/controllers/field_group.php:395
|
422 |
+
#: core/controllers/field_group.php:457 core/controllers/field_groups.php:148
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
msgid "Fields"
|
424 |
msgstr "Поля"
|
425 |
|
426 |
+
#: core/controllers/field_group.php:365
|
427 |
+
msgid "Parent fields"
|
428 |
+
msgstr "Родительские поля"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
|
430 |
#: core/controllers/field_group.php:366
|
431 |
+
msgid "Sibling fields"
|
432 |
+
msgstr "Родственные поля"
|
433 |
+
|
434 |
+
#: core/controllers/field_group.php:367
|
435 |
+
msgid "Hide / Show All"
|
436 |
+
msgstr "Скрыть / Отобразить"
|
437 |
+
|
438 |
+
#: core/controllers/field_group.php:396
|
439 |
msgid "Location"
|
440 |
msgstr "Местоположение"
|
441 |
|
442 |
+
#: core/controllers/field_group.php:397
|
443 |
msgid "Options"
|
444 |
msgstr "Опции"
|
445 |
|
446 |
+
#: core/controllers/field_group.php:459
|
447 |
msgid "Show Field Key:"
|
448 |
msgstr "Отображать ключ поля:"
|
449 |
|
450 |
+
#: core/controllers/field_group.php:460 core/fields/page_link.php:138
|
451 |
+
#: core/fields/page_link.php:159 core/fields/post_object.php:328
|
452 |
+
#: core/fields/post_object.php:349 core/fields/select.php:224
|
453 |
+
#: core/fields/select.php:243 core/fields/taxonomy.php:343
|
454 |
+
#: core/fields/user.php:285 core/fields/wysiwyg.php:256
|
455 |
+
#: core/views/meta_box_fields.php:195 core/views/meta_box_fields.php:218
|
456 |
msgid "No"
|
457 |
msgstr "Нет"
|
458 |
|
459 |
+
#: core/controllers/field_group.php:461 core/fields/page_link.php:137
|
460 |
+
#: core/fields/page_link.php:158 core/fields/post_object.php:327
|
461 |
+
#: core/fields/post_object.php:348 core/fields/select.php:223
|
462 |
+
#: core/fields/select.php:242 core/fields/taxonomy.php:342
|
463 |
+
#: core/fields/user.php:284 core/fields/wysiwyg.php:255
|
464 |
+
#: core/views/meta_box_fields.php:194 core/views/meta_box_fields.php:217
|
465 |
msgid "Yes"
|
466 |
msgstr "Да"
|
467 |
|
468 |
+
#: core/controllers/field_group.php:645
|
469 |
msgid "Front Page"
|
470 |
msgstr "Главная страница"
|
471 |
|
472 |
+
#: core/controllers/field_group.php:646
|
473 |
msgid "Posts Page"
|
474 |
msgstr "Страница записей"
|
475 |
|
476 |
+
#: core/controllers/field_group.php:647
|
477 |
msgid "Top Level Page (parent of 0)"
|
478 |
msgstr "Самая верхняя страница (родитель 0)"
|
479 |
|
480 |
+
#: core/controllers/field_group.php:648
|
481 |
msgid "Parent Page (has children)"
|
482 |
+
msgstr "Родительская страница (есть дочери)"
|
483 |
|
484 |
+
#: core/controllers/field_group.php:649
|
485 |
msgid "Child Page (has parent)"
|
486 |
msgstr "Дочерняя страница (есть родительские страницы)"
|
487 |
|
488 |
+
#: core/controllers/field_group.php:657
|
489 |
msgid "Default Template"
|
490 |
msgstr "Шаблон по умолчанию"
|
491 |
|
492 |
+
#: core/controllers/field_group.php:734
|
493 |
+
msgid "Publish"
|
494 |
+
msgstr "Опубликовать"
|
495 |
+
|
496 |
+
#: core/controllers/field_group.php:735
|
497 |
+
msgid "Pending Review"
|
498 |
+
msgstr "Ожидание обзора"
|
499 |
+
|
500 |
+
#: core/controllers/field_group.php:736
|
501 |
+
msgid "Draft"
|
502 |
+
msgstr "Черновик"
|
503 |
+
|
504 |
+
#: core/controllers/field_group.php:737
|
505 |
+
msgid "Future"
|
506 |
+
msgstr "Будущее"
|
507 |
+
|
508 |
+
#: core/controllers/field_group.php:738
|
509 |
+
msgid "Private"
|
510 |
+
msgstr "Личное"
|
511 |
+
|
512 |
+
#: core/controllers/field_group.php:739
|
513 |
+
msgid "Revision"
|
514 |
+
msgstr "Редакции"
|
515 |
+
|
516 |
+
#: core/controllers/field_group.php:740
|
517 |
+
msgid "Trash"
|
518 |
+
msgstr "Корзина"
|
519 |
+
|
520 |
+
#: core/controllers/field_group.php:753
|
521 |
+
msgid "Super Admin"
|
522 |
+
msgstr "Супер Администратор"
|
523 |
+
|
524 |
+
#: core/controllers/field_group.php:768 core/controllers/field_group.php:789
|
525 |
+
#: core/controllers/field_group.php:796 core/fields/file.php:186
|
526 |
+
#: core/fields/image.php:170 core/fields/page_link.php:109
|
527 |
+
#: core/fields/post_object.php:274 core/fields/post_object.php:298
|
528 |
+
#: core/fields/relationship.php:598 core/fields/relationship.php:622
|
529 |
+
#: core/fields/user.php:229
|
530 |
msgid "All"
|
531 |
msgstr "Все"
|
532 |
|
566 |
msgid "Actions"
|
567 |
msgstr "Действия"
|
568 |
|
569 |
+
#: core/controllers/field_groups.php:225 core/fields/relationship.php:641
|
570 |
msgid "Filters"
|
571 |
msgstr "Фильтры"
|
572 |
|
573 |
#: core/controllers/field_groups.php:226
|
574 |
msgid "'How to' guides"
|
575 |
+
msgstr "Руководства \"Как…\""
|
576 |
|
577 |
#: core/controllers/field_groups.php:227
|
578 |
msgid "Tutorials"
|
601 |
#: core/controllers/field_groups.php:249
|
602 |
msgid "is more polished and enjoyable than ever before. We hope you like it."
|
603 |
msgstr ""
|
604 |
+
"еще более улучшен и интересен, чем когда либо. Мы надеемся, что он вам "
|
605 |
"понравится."
|
606 |
|
607 |
#: core/controllers/field_groups.php:256
|
632 |
|
633 |
#: core/controllers/field_groups.php:324
|
634 |
msgid "This website uses premium Add-ons which need to be downloaded"
|
635 |
+
msgstr "Этот сайт использует премиум аддоны, которые должны быть скачаны"
|
636 |
|
637 |
#: core/controllers/field_groups.php:324
|
638 |
msgid "Download your activated Add-ons"
|
699 |
|
700 |
#: core/controllers/field_groups.php:353
|
701 |
msgid ""
|
702 |
+
"All actions & filters have received a major facelift to make customizing ACF "
|
703 |
"even easier! Please"
|
704 |
msgstr ""
|
705 |
+
"Все действия и фильтры (actions & filters) получили крупное обновление, "
|
706 |
+
"чтобы настройка ACF стала еще проще! Пожалуйста, "
|
707 |
|
708 |
#: core/controllers/field_groups.php:353
|
709 |
msgid "read this guide"
|
772 |
#: core/controllers/field_groups.php:369
|
773 |
msgid ""
|
774 |
"If you updated the ACF plugin without prior knowledge of such changes, "
|
775 |
+
"please roll back to the latest"
|
776 |
msgstr ""
|
777 |
"Если вы обновили плагин ACF без предварительных знаний об изменениях, "
|
778 |
"пожалуйста, откатитесь до последней"
|
805 |
msgid "Changelog for"
|
806 |
msgstr "Журнал изменений по"
|
807 |
|
808 |
+
#: core/controllers/field_groups.php:397
|
809 |
msgid "Learn more"
|
810 |
msgstr "Узнать больше"
|
811 |
|
812 |
+
#: core/controllers/field_groups.php:403
|
813 |
msgid "Overview"
|
814 |
msgstr "Обзор"
|
815 |
|
816 |
+
#: core/controllers/field_groups.php:405
|
817 |
msgid ""
|
818 |
"Previously, all Add-ons were unlocked via an activation code (purchased from "
|
819 |
"the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
|
824 |
"отдельные плагины, которые должны быть скачаны, установлены и обновлены "
|
825 |
"отдельно."
|
826 |
|
827 |
+
#: core/controllers/field_groups.php:407
|
828 |
msgid ""
|
829 |
"This page will assist you in downloading and installing each available Add-"
|
830 |
"on."
|
831 |
msgstr "Эта страница поможет вам скачать и установить каждый доступный аддон."
|
832 |
|
833 |
+
#: core/controllers/field_groups.php:409
|
834 |
msgid "Available Add-ons"
|
835 |
msgstr "Доступные аддоны"
|
836 |
|
837 |
+
#: core/controllers/field_groups.php:411
|
838 |
msgid "The following Add-ons have been detected as activated on this website."
|
839 |
msgstr "Следующие аддоны были обнаружены активированными на этом сайте."
|
840 |
|
841 |
+
#: core/controllers/field_groups.php:424
|
842 |
msgid "Name"
|
843 |
msgstr "Имя"
|
844 |
|
845 |
+
#: core/controllers/field_groups.php:425
|
846 |
msgid "Activation Code"
|
847 |
msgstr "Код активации"
|
848 |
|
849 |
+
#: core/controllers/field_groups.php:457
|
850 |
msgid "Flexible Content"
|
851 |
msgstr "Гибкое содержание"
|
852 |
|
853 |
+
#: core/controllers/field_groups.php:467
|
854 |
msgid "Installation"
|
855 |
msgstr "Установка"
|
856 |
|
857 |
+
#: core/controllers/field_groups.php:469
|
858 |
msgid "For each Add-on available, please perform the following:"
|
859 |
+
msgstr "Для каждого доступного аддона, выполните, пожалуйста, следующее:"
|
860 |
|
861 |
+
#: core/controllers/field_groups.php:471
|
862 |
msgid "Download the Add-on plugin (.zip file) to your desktop"
|
863 |
msgstr "Скачайте плагин аддона (.zip файл) на ваш компьютер."
|
864 |
|
865 |
+
#: core/controllers/field_groups.php:472
|
866 |
msgid "Navigate to"
|
867 |
msgstr "Перейти в"
|
868 |
|
869 |
+
#: core/controllers/field_groups.php:472
|
870 |
msgid "Plugins > Add New > Upload"
|
871 |
msgstr "Откройте \"Плагины\" » \"Добавить новый\" » \"Загрузить\"."
|
872 |
|
873 |
+
#: core/controllers/field_groups.php:473
|
874 |
msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
|
875 |
+
msgstr "Найдите скачанный .zip файл, выберите его и установите"
|
876 |
|
877 |
+
#: core/controllers/field_groups.php:474
|
878 |
msgid ""
|
879 |
"Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
|
880 |
"link"
|
882 |
"Как только плагин будет загружен и установлен, нажмите на ссылку "
|
883 |
"\"Активировать плагин\"."
|
884 |
|
885 |
+
#: core/controllers/field_groups.php:475
|
886 |
msgid "The Add-on is now installed and activated!"
|
887 |
msgstr "Аддон теперь установлен и активирован!"
|
888 |
|
889 |
+
#: core/controllers/field_groups.php:489
|
890 |
msgid "Awesome. Let's get to work"
|
891 |
msgstr "Превосходно! Приступим к работе."
|
892 |
|
893 |
+
#: core/controllers/input.php:63
|
894 |
+
msgid "Expand Details"
|
895 |
+
msgstr "Развернуть детали"
|
896 |
+
|
897 |
+
#: core/controllers/input.php:64
|
898 |
+
msgid "Collapse Details"
|
899 |
+
msgstr "Свернуть детали"
|
900 |
+
|
901 |
+
#: core/controllers/input.php:67
|
902 |
msgid "Validation Failed. One or more fields below are required."
|
903 |
msgstr ""
|
904 |
"Проверка не удалась. Один или больше полей ниже обязательны к заполнению."
|
905 |
|
906 |
+
#: core/controllers/upgrade.php:86
|
|
|
|
|
|
|
|
|
907 |
msgid "Upgrade"
|
908 |
msgstr "Улучшить"
|
909 |
|
910 |
+
#: core/controllers/upgrade.php:139
|
911 |
+
msgid "What's new"
|
912 |
+
msgstr "Что нового"
|
913 |
+
|
914 |
+
#: core/controllers/upgrade.php:150
|
915 |
+
msgid "credits"
|
916 |
+
msgstr "кредиты"
|
917 |
+
|
918 |
+
#: core/controllers/upgrade.php:684
|
919 |
msgid "Modifying field group options 'show on page'"
|
920 |
msgstr "Изменение опций \"отображать на странице\" группы полей"
|
921 |
|
922 |
+
#: core/controllers/upgrade.php:738
|
923 |
msgid "Modifying field option 'taxonomy'"
|
924 |
msgstr "Изменение опции \"таксономия\" поля"
|
925 |
|
926 |
+
#: core/controllers/upgrade.php:835
|
927 |
msgid "Moving user custom fields from wp_options to wp_usermeta'"
|
928 |
msgstr ""
|
929 |
"Перенос пользовательских произвольных полей из \"wp_options\" в \"wp_usermeta"
|
930 |
"\""
|
931 |
|
932 |
+
#: core/fields/_base.php:124 core/views/meta_box_location.php:74
|
933 |
msgid "Basic"
|
934 |
msgstr "Основное"
|
935 |
|
936 |
+
#: core/fields/checkbox.php:19 core/fields/taxonomy.php:319
|
937 |
msgid "Checkbox"
|
938 |
msgstr "Чекбокс"
|
939 |
|
940 |
+
#: core/fields/checkbox.php:20 core/fields/radio.php:19
|
941 |
+
#: core/fields/select.php:19 core/fields/true_false.php:20
|
942 |
msgid "Choice"
|
943 |
msgstr "Выбор"
|
944 |
|
945 |
+
#: core/fields/checkbox.php:146 core/fields/radio.php:147
|
946 |
+
#: core/fields/select.php:177
|
947 |
msgid "Choices"
|
948 |
msgstr "Выборы"
|
949 |
|
950 |
+
#: core/fields/checkbox.php:147 core/fields/select.php:178
|
951 |
msgid "Enter each choice on a new line."
|
952 |
msgstr "Введите каждый вариант выбора на новую строку."
|
953 |
|
954 |
+
#: core/fields/checkbox.php:148 core/fields/select.php:179
|
955 |
msgid "For more control, you may specify both a value and label like this:"
|
956 |
msgstr ""
|
957 |
+
"Для лучшего управления, вы можете ввести значение и ярлык по следующему "
|
958 |
"формату:"
|
959 |
|
960 |
+
#: core/fields/checkbox.php:149 core/fields/radio.php:153
|
961 |
+
#: core/fields/select.php:180
|
962 |
msgid "red : Red"
|
963 |
msgstr "red : Red"
|
964 |
|
965 |
+
#: core/fields/checkbox.php:149 core/fields/radio.php:154
|
966 |
+
#: core/fields/select.php:180
|
967 |
msgid "blue : Blue"
|
968 |
msgstr "blue : Blue"
|
969 |
|
970 |
+
#: core/fields/checkbox.php:166 core/fields/color_picker.php:89
|
971 |
+
#: core/fields/email.php:106 core/fields/number.php:116
|
972 |
+
#: core/fields/radio.php:196 core/fields/select.php:197
|
973 |
+
#: core/fields/text.php:116 core/fields/textarea.php:96
|
974 |
+
#: core/fields/true_false.php:94 core/fields/wysiwyg.php:198
|
975 |
msgid "Default Value"
|
976 |
msgstr "Значение по умолчанию"
|
977 |
|
978 |
+
#: core/fields/checkbox.php:167 core/fields/select.php:198
|
979 |
msgid "Enter each default value on a new line"
|
980 |
msgstr "Введите каждое значение на новую строку."
|
981 |
|
982 |
+
#: core/fields/checkbox.php:183 core/fields/message.php:20
|
983 |
+
#: core/fields/radio.php:212 core/fields/tab.php:20
|
984 |
+
msgid "Layout"
|
985 |
+
msgstr "Макет"
|
986 |
+
|
987 |
+
#: core/fields/checkbox.php:194 core/fields/radio.php:223
|
988 |
+
msgid "Vertical"
|
989 |
+
msgstr "Вертикальный"
|
990 |
+
|
991 |
+
#: core/fields/checkbox.php:195 core/fields/radio.php:224
|
992 |
+
msgid "Horizontal"
|
993 |
+
msgstr "Горизонтальный"
|
994 |
+
|
995 |
#: core/fields/color_picker.php:19
|
996 |
msgid "Color Picker"
|
997 |
msgstr "Выбор цвета"
|
998 |
|
999 |
#: core/fields/color_picker.php:20 core/fields/date_picker/date_picker.php:20
|
1000 |
+
#: core/fields/google-map.php:19
|
1001 |
msgid "jQuery"
|
1002 |
msgstr "jQuery"
|
1003 |
|
|
|
|
|
|
|
|
|
1004 |
#: core/fields/date_picker/date_picker.php:19
|
1005 |
msgid "Date Picker"
|
1006 |
msgstr "Выбор даты"
|
1007 |
|
1008 |
+
#: core/fields/date_picker/date_picker.php:55
|
|
|
1009 |
msgid "Done"
|
1010 |
msgstr "Готово"
|
1011 |
|
1012 |
+
#: core/fields/date_picker/date_picker.php:56
|
|
|
1013 |
msgid "Today"
|
1014 |
msgstr "Сегодня"
|
1015 |
|
1016 |
+
#: core/fields/date_picker/date_picker.php:59
|
|
|
1017 |
msgid "Show a different month"
|
1018 |
msgstr "Показать другой месяц"
|
1019 |
|
1020 |
+
#: core/fields/date_picker/date_picker.php:126
|
1021 |
msgid "Save format"
|
1022 |
msgstr "Сохранить формат"
|
1023 |
|
1024 |
+
#: core/fields/date_picker/date_picker.php:127
|
1025 |
msgid ""
|
1026 |
"This format will determin the value saved to the database and returned via "
|
1027 |
"the API"
|
1028 |
msgstr ""
|
1029 |
"Этот формат определит значение сохраненное в базе данных и возвращенное "
|
1030 |
+
"через API"
|
1031 |
|
1032 |
+
#: core/fields/date_picker/date_picker.php:128
|
1033 |
msgid "\"yymmdd\" is the most versatile save format. Read more about"
|
1034 |
msgstr "\"yymmdd\" самоый практичный формат. Прочитать больше о"
|
1035 |
|
1036 |
+
#: core/fields/date_picker/date_picker.php:128
|
1037 |
+
#: core/fields/date_picker/date_picker.php:144
|
1038 |
msgid "jQuery date formats"
|
1039 |
+
msgstr "форматы дат jQuery"
|
1040 |
|
1041 |
+
#: core/fields/date_picker/date_picker.php:142
|
1042 |
msgid "Display format"
|
1043 |
msgstr "Отображать формат"
|
1044 |
|
1045 |
+
#: core/fields/date_picker/date_picker.php:143
|
1046 |
msgid "This format will be seen by the user when entering a value"
|
1047 |
+
msgstr "Этот формат будет виден пользователям при вводе значения"
|
1048 |
|
1049 |
+
#: core/fields/date_picker/date_picker.php:144
|
1050 |
msgid ""
|
1051 |
"\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
1052 |
"about"
|
1054 |
"\"dd/mm/yy\" или \"mm/dd/yy\" самые используемые форматы отображения. "
|
1055 |
"Прочитать больше о"
|
1056 |
|
1057 |
+
#: core/fields/date_picker/date_picker.php:158
|
1058 |
msgid "Week Starts On"
|
1059 |
msgstr "Неделя начинается"
|
1060 |
|
1066 |
msgid "Email"
|
1067 |
msgstr "E-mail"
|
1068 |
|
1069 |
+
#: core/fields/email.php:107 core/fields/number.php:117
|
1070 |
+
#: core/fields/text.php:117 core/fields/textarea.php:97
|
1071 |
+
#: core/fields/wysiwyg.php:199
|
1072 |
+
msgid "Appears when creating a new post"
|
1073 |
+
msgstr "Отображается при создании новой записи"
|
1074 |
+
|
1075 |
+
#: core/fields/email.php:123 core/fields/number.php:133
|
1076 |
+
#: core/fields/password.php:105 core/fields/text.php:131
|
1077 |
+
#: core/fields/textarea.php:111
|
1078 |
+
msgid "Placeholder Text"
|
1079 |
+
msgstr "Текст внутри поля"
|
1080 |
+
|
1081 |
+
#: core/fields/email.php:124 core/fields/number.php:134
|
1082 |
+
#: core/fields/password.php:106 core/fields/text.php:132
|
1083 |
+
#: core/fields/textarea.php:112
|
1084 |
+
msgid "Appears within the input"
|
1085 |
+
msgstr "Отображается внутри поля"
|
1086 |
+
|
1087 |
+
#: core/fields/email.php:138 core/fields/number.php:148
|
1088 |
+
#: core/fields/password.php:120 core/fields/text.php:146
|
1089 |
+
msgid "Prepend"
|
1090 |
+
msgstr "Добавить в начало"
|
1091 |
+
|
1092 |
+
#: core/fields/email.php:139 core/fields/number.php:149
|
1093 |
+
#: core/fields/password.php:121 core/fields/text.php:147
|
1094 |
+
msgid "Appears before the input"
|
1095 |
+
msgstr "Отображается перед полем"
|
1096 |
+
|
1097 |
+
#: core/fields/email.php:153 core/fields/number.php:163
|
1098 |
+
#: core/fields/password.php:135 core/fields/text.php:161
|
1099 |
+
msgid "Append"
|
1100 |
+
msgstr "Добавить в конец"
|
1101 |
+
|
1102 |
+
#: core/fields/email.php:154 core/fields/number.php:164
|
1103 |
+
#: core/fields/password.php:136 core/fields/text.php:162
|
1104 |
+
msgid "Appears after the input"
|
1105 |
+
msgstr "Отображается после поля"
|
1106 |
+
|
1107 |
#: core/fields/file.php:19
|
1108 |
msgid "File"
|
1109 |
msgstr "Файл"
|
1110 |
|
1111 |
+
#: core/fields/file.php:20 core/fields/image.php:20 core/fields/wysiwyg.php:36
|
1112 |
msgid "Content"
|
1113 |
msgstr "Содержание"
|
1114 |
|
1115 |
+
#: core/fields/file.php:26
|
1116 |
+
msgid "Select File"
|
1117 |
+
msgstr "Выбрать файл"
|
|
|
1118 |
|
1119 |
+
#: core/fields/file.php:27
|
1120 |
+
msgid "Edit File"
|
1121 |
+
msgstr "Редактировать файл"
|
1122 |
|
1123 |
+
#: core/fields/file.php:28
|
1124 |
+
msgid "Update File"
|
1125 |
+
msgstr "Обновить файл"
|
1126 |
+
|
1127 |
+
#: core/fields/file.php:29 core/fields/image.php:30
|
1128 |
+
msgid "uploaded to this post"
|
1129 |
+
msgstr "загружено в запись"
|
1130 |
+
|
1131 |
+
#: core/fields/file.php:123
|
1132 |
msgid "No File Selected"
|
1133 |
msgstr "Файл не выбран"
|
1134 |
|
1135 |
+
#: core/fields/file.php:123
|
1136 |
msgid "Add File"
|
1137 |
msgstr "Добавить файл"
|
1138 |
|
1139 |
+
#: core/fields/file.php:153 core/fields/image.php:118
|
1140 |
+
#: core/fields/taxonomy.php:367
|
1141 |
msgid "Return Value"
|
1142 |
msgstr "Вернуть значение"
|
1143 |
|
1144 |
+
#: core/fields/file.php:164
|
1145 |
msgid "File Object"
|
1146 |
msgstr "Файловый объект"
|
1147 |
|
1148 |
+
#: core/fields/file.php:165
|
1149 |
msgid "File URL"
|
1150 |
msgstr "Ссылка на файл"
|
1151 |
|
1152 |
+
#: core/fields/file.php:166
|
1153 |
msgid "File ID"
|
1154 |
msgstr "ID файла"
|
1155 |
|
1156 |
+
#: core/fields/file.php:175 core/fields/image.php:158
|
1157 |
+
msgid "Library"
|
1158 |
+
msgstr "Библиотека"
|
1159 |
|
1160 |
+
#: core/fields/file.php:187 core/fields/image.php:171
|
1161 |
+
msgid "Uploaded to post"
|
1162 |
+
msgstr "Загрузить в запись"
|
1163 |
|
1164 |
+
#: core/fields/google-map.php:18
|
1165 |
+
msgid "Google Map"
|
1166 |
+
msgstr "Google Карта"
|
1167 |
|
1168 |
+
#: core/fields/google-map.php:33
|
1169 |
+
msgid "Locating"
|
1170 |
+
msgstr "Определяется местоположения"
|
1171 |
|
1172 |
+
#: core/fields/google-map.php:34
|
1173 |
+
msgid "Sorry, this browser does not support geolocation"
|
1174 |
+
msgstr "Простите, данный браузер не поддерживает геолокацию"
|
1175 |
|
1176 |
+
#: core/fields/google-map.php:120
|
1177 |
+
msgid "Clear location"
|
1178 |
+
msgstr "Очистить местоположение"
|
1179 |
+
|
1180 |
+
#: core/fields/google-map.php:125
|
1181 |
+
msgid "Find current location"
|
1182 |
+
msgstr "Найти текущее местоположение"
|
1183 |
+
|
1184 |
+
#: core/fields/google-map.php:126
|
1185 |
+
msgid "Search for address..."
|
1186 |
+
msgstr "Поиск адреса..."
|
1187 |
+
|
1188 |
+
#: core/fields/google-map.php:162
|
1189 |
+
msgid "Center"
|
1190 |
+
msgstr "Центр"
|
1191 |
+
|
1192 |
+
#: core/fields/google-map.php:163
|
1193 |
+
msgid "Center the initial map"
|
1194 |
+
msgstr "Центрировать первоначальную карту"
|
1195 |
+
|
1196 |
+
#: core/fields/google-map.php:199
|
1197 |
+
msgid "Zoom"
|
1198 |
+
msgstr "Масштаб"
|
1199 |
+
|
1200 |
+
#: core/fields/google-map.php:200
|
1201 |
+
msgid "Set the initial zoom level"
|
1202 |
+
msgstr "Установить масштаб по умолчанию"
|
1203 |
+
|
1204 |
+
#: core/fields/google-map.php:217
|
1205 |
+
msgid "Height"
|
1206 |
+
msgstr "Высота"
|
1207 |
+
|
1208 |
+
#: core/fields/google-map.php:218
|
1209 |
+
msgid "Customise the map height"
|
1210 |
+
msgstr "Настроить высоту карты"
|
1211 |
|
1212 |
#: core/fields/image.php:19
|
1213 |
msgid "Image"
|
1214 |
msgstr "Изображение"
|
1215 |
|
1216 |
+
#: core/fields/image.php:27
|
1217 |
+
msgid "Select Image"
|
1218 |
+
msgstr "Выбрать изображение"
|
1219 |
+
|
1220 |
+
#: core/fields/image.php:28
|
1221 |
+
msgid "Edit Image"
|
1222 |
+
msgstr "Редактировать изображение"
|
1223 |
+
|
1224 |
+
#: core/fields/image.php:29
|
1225 |
+
msgid "Update Image"
|
1226 |
+
msgstr "Обновить изображение"
|
1227 |
+
|
1228 |
+
#: core/fields/image.php:83
|
1229 |
+
msgid "Remove"
|
1230 |
+
msgstr "Убрать"
|
1231 |
+
|
1232 |
+
#: core/fields/image.php:84 core/views/meta_box_fields.php:108
|
1233 |
+
msgid "Edit"
|
1234 |
+
msgstr "Редактировать"
|
1235 |
+
|
1236 |
+
#: core/fields/image.php:90
|
1237 |
msgid "No image selected"
|
1238 |
msgstr "Изображение не выбрано"
|
1239 |
|
1240 |
+
#: core/fields/image.php:90
|
1241 |
msgid "Add Image"
|
1242 |
msgstr "Добавить изображение"
|
1243 |
|
1244 |
+
#: core/fields/image.php:119 core/fields/relationship.php:573
|
1245 |
+
msgid "Specify the returned value on front end"
|
1246 |
+
msgstr "Укажите возвращаемое значение в пользовательский интерфейс"
|
1247 |
+
|
1248 |
+
#: core/fields/image.php:129
|
1249 |
msgid "Image Object"
|
1250 |
msgstr "Изображаемый объект"
|
1251 |
|
1252 |
+
#: core/fields/image.php:130
|
1253 |
msgid "Image URL"
|
1254 |
msgstr "Ссылка на изображение"
|
1255 |
|
1256 |
+
#: core/fields/image.php:131
|
1257 |
msgid "Image ID"
|
1258 |
msgstr "ID изображения"
|
1259 |
|
1260 |
+
#: core/fields/image.php:139
|
1261 |
msgid "Preview Size"
|
1262 |
msgstr "Размер предпросмотра"
|
1263 |
|
1264 |
+
#: core/fields/image.php:140
|
1265 |
+
msgid "Shown when entering data"
|
1266 |
+
msgstr "Отображается при вводе данных"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1267 |
|
1268 |
+
#: core/fields/image.php:159
|
1269 |
+
msgid "Limit the media library choice"
|
1270 |
+
msgstr "Ограничить выбор библиотеки"
|
1271 |
|
1272 |
+
#: core/fields/message.php:19 core/fields/message.php:70
|
1273 |
+
#: core/fields/true_false.php:79
|
|
|
|
|
|
|
|
|
1274 |
msgid "Message"
|
1275 |
msgstr "Сообщение"
|
1276 |
|
1277 |
+
#: core/fields/message.php:71
|
|
|
|
|
|
|
|
|
1278 |
msgid "Text & HTML entered here will appear inline with the fields"
|
1279 |
+
msgstr "Текст и HTML введенный сюда появится на одной строке с полями"
|
1280 |
|
1281 |
+
#: core/fields/message.php:72
|
1282 |
msgid "Please note that all text will first be passed through the wp function "
|
1283 |
msgstr "Пожалуйста, заметьте, что весь текст пройдет через WP функцию"
|
1284 |
|
1286 |
msgid "Number"
|
1287 |
msgstr "Номер"
|
1288 |
|
1289 |
+
#: core/fields/number.php:178
|
1290 |
+
msgid "Minimum Value"
|
1291 |
+
msgstr "Минимальное значение"
|
1292 |
+
|
1293 |
+
#: core/fields/number.php:194
|
1294 |
+
msgid "Maximum Value"
|
1295 |
+
msgstr "Максимальное значение"
|
1296 |
+
|
1297 |
+
#: core/fields/number.php:210
|
1298 |
+
msgid "Step Size"
|
1299 |
+
msgstr "Размер этапа"
|
1300 |
+
|
1301 |
+
#: core/fields/page_link.php:18
|
1302 |
msgid "Page Link"
|
1303 |
msgstr "Ссылка на страницу"
|
1304 |
|
1305 |
+
#: core/fields/page_link.php:19 core/fields/post_object.php:19
|
1306 |
+
#: core/fields/relationship.php:19 core/fields/taxonomy.php:19
|
1307 |
+
#: core/fields/user.php:19
|
1308 |
msgid "Relational"
|
1309 |
msgstr "Отношение"
|
1310 |
|
1311 |
+
#: core/fields/page_link.php:103 core/fields/post_object.php:268
|
1312 |
+
#: core/fields/relationship.php:592 core/fields/relationship.php:671
|
1313 |
+
#: core/views/meta_box_location.php:75
|
1314 |
msgid "Post Type"
|
1315 |
msgstr "Тип записи"
|
1316 |
|
1317 |
+
#: core/fields/page_link.php:127 core/fields/post_object.php:317
|
1318 |
+
#: core/fields/select.php:214 core/fields/taxonomy.php:333
|
1319 |
+
#: core/fields/user.php:275
|
1320 |
msgid "Allow Null?"
|
1321 |
msgstr "Разрешить пусто значение?"
|
1322 |
|
1323 |
+
#: core/fields/page_link.php:148 core/fields/post_object.php:338
|
1324 |
+
#: core/fields/select.php:233
|
1325 |
msgid "Select multiple values?"
|
1326 |
msgstr "Выбрать несколько значений?"
|
1327 |
|
1329 |
msgid "Password"
|
1330 |
msgstr "Пароль"
|
1331 |
|
1332 |
+
#: core/fields/post_object.php:18
|
1333 |
msgid "Post Object"
|
1334 |
msgstr "Объект записи"
|
1335 |
|
1336 |
+
#: core/fields/post_object.php:292 core/fields/relationship.php:616
|
1337 |
msgid "Filter from Taxonomy"
|
1338 |
msgstr "Фильтровать по таксономии"
|
1339 |
|
1340 |
+
#: core/fields/radio.php:18
|
1341 |
msgid "Radio Button"
|
1342 |
msgstr "Радио-кнопка"
|
1343 |
|
1344 |
+
#: core/fields/radio.php:105 core/views/meta_box_location.php:91
|
1345 |
+
msgid "Other"
|
1346 |
+
msgstr "Другое"
|
1347 |
+
|
1348 |
+
#: core/fields/radio.php:148
|
1349 |
msgid "Enter your choices one per line"
|
1350 |
msgstr "Введите каждый вариант выбора на новую строку."
|
1351 |
|
1352 |
+
#: core/fields/radio.php:150
|
1353 |
msgid "Red"
|
1354 |
msgstr "Red"
|
1355 |
|
1356 |
+
#: core/fields/radio.php:151
|
1357 |
msgid "Blue"
|
1358 |
msgstr "Blue"
|
1359 |
|
1360 |
+
#: core/fields/radio.php:175
|
1361 |
+
msgid "Add 'other' choice to allow for custom values"
|
1362 |
+
msgstr "Добавить выбор \"другое\", чтобы позволить произвольные значения"
|
1363 |
|
1364 |
+
#: core/fields/radio.php:187
|
1365 |
+
msgid "Save 'other' values to the field's choices"
|
1366 |
+
msgstr "Сохранить значения \"другое\" в выборы поля"
|
1367 |
|
1368 |
+
#: core/fields/relationship.php:18
|
1369 |
msgid "Relationship"
|
1370 |
msgstr "Взаимоотношение"
|
1371 |
|
1372 |
+
#: core/fields/relationship.php:29
|
1373 |
+
msgid "Maximum values reached ( {max} values )"
|
1374 |
+
msgstr "Максимальное количество значений достигнуто ({max} значений)"
|
1375 |
+
|
1376 |
+
#: core/fields/relationship.php:428
|
1377 |
+
msgid "Search..."
|
1378 |
+
msgstr "Поиск..."
|
1379 |
+
|
1380 |
+
#: core/fields/relationship.php:439
|
1381 |
+
msgid "Filter by post type"
|
1382 |
+
msgstr "Фильтровать по типу записи"
|
1383 |
+
|
1384 |
+
#: core/fields/relationship.php:572
|
1385 |
+
msgid "Return Format"
|
1386 |
+
msgstr "Вернуть формат"
|
1387 |
+
|
1388 |
+
#: core/fields/relationship.php:583
|
1389 |
+
msgid "Post Objects"
|
1390 |
+
msgstr "Объекты записи"
|
1391 |
+
|
1392 |
+
#: core/fields/relationship.php:584
|
1393 |
+
msgid "Post IDs"
|
1394 |
+
msgstr "ID записи"
|
1395 |
+
|
1396 |
+
#: core/fields/relationship.php:650
|
1397 |
msgid "Search"
|
1398 |
msgstr "Поиск"
|
1399 |
|
1400 |
+
#: core/fields/relationship.php:651
|
1401 |
msgid "Post Type Select"
|
1402 |
msgstr "Выбор типа записи"
|
1403 |
|
1404 |
+
#: core/fields/relationship.php:659
|
1405 |
msgid "Elements"
|
1406 |
msgstr "Элементы"
|
1407 |
|
1408 |
+
#: core/fields/relationship.php:660
|
1409 |
msgid "Selected elements will be displayed in each result"
|
1410 |
+
msgstr "Выбранные элементы будут отображены в каждом результате"
|
1411 |
|
1412 |
+
#: core/fields/relationship.php:669 core/views/meta_box_options.php:106
|
1413 |
+
msgid "Featured Image"
|
1414 |
+
msgstr "Миниатюра записи"
|
1415 |
+
|
1416 |
+
#: core/fields/relationship.php:670
|
1417 |
msgid "Post Title"
|
1418 |
msgstr "Заголовок записи"
|
1419 |
|
1420 |
+
#: core/fields/relationship.php:682
|
1421 |
msgid "Maximum posts"
|
1422 |
msgstr "Максимум записей"
|
1423 |
|
1424 |
+
#: core/fields/select.php:18 core/fields/select.php:109
|
1425 |
+
#: core/fields/taxonomy.php:324 core/fields/user.php:266
|
1426 |
msgid "Select"
|
1427 |
msgstr "Выбрать"
|
1428 |
|
1430 |
msgid "Tab"
|
1431 |
msgstr "Вкладка"
|
1432 |
|
1433 |
+
#: core/fields/tab.php:68
|
1434 |
msgid ""
|
1435 |
+
"Use \"Tab Fields\" to better organize your edit screen by grouping your "
|
1436 |
+
"fields together under separate tab headings."
|
1437 |
msgstr ""
|
1438 |
+
"Используйте \"Пола-вкладки\" для лучшей организации на странице правки "
|
1439 |
+
"группируя поля вместе под отдельные заголовки."
|
1440 |
+
|
1441 |
+
#: core/fields/tab.php:69
|
1442 |
+
msgid ""
|
1443 |
+
"All the fields following this \"tab field\" (or until another \"tab field\" "
|
1444 |
+
"is defined) will be grouped together."
|
1445 |
+
msgstr ""
|
1446 |
+
"Все поля, которые следуют после этого поля будут находиться в данной вкладке "
|
1447 |
"(или пока другое поле-вкладка не будет создано)."
|
1448 |
|
1449 |
+
#: core/fields/tab.php:70
|
1450 |
+
msgid "Use multiple tabs to divide your fields into sections."
|
1451 |
msgstr ""
|
1452 |
"Вы можете использовать несколько вкладок, чтобы разделить свои поля на "
|
1453 |
"разделы."
|
1454 |
|
1455 |
+
#: core/fields/taxonomy.php:18 core/fields/taxonomy.php:278
|
1456 |
msgid "Taxonomy"
|
1457 |
msgstr "Таксономия"
|
1458 |
|
1459 |
+
#: core/fields/taxonomy.php:222 core/fields/taxonomy.php:231
|
|
|
1460 |
msgid "None"
|
1461 |
msgstr "Ничего"
|
1462 |
|
1463 |
+
#: core/fields/taxonomy.php:308 core/fields/user.php:251
|
1464 |
+
#: core/views/meta_box_fields.php:77 core/views/meta_box_fields.php:159
|
1465 |
msgid "Field Type"
|
1466 |
msgstr "Тип поля"
|
1467 |
|
1468 |
+
#: core/fields/taxonomy.php:318 core/fields/user.php:260
|
1469 |
msgid "Multiple Values"
|
1470 |
msgstr "Несколько значений"
|
1471 |
|
1472 |
+
#: core/fields/taxonomy.php:320 core/fields/user.php:262
|
1473 |
msgid "Multi Select"
|
1474 |
msgstr "Множественный выбор"
|
1475 |
|
1476 |
+
#: core/fields/taxonomy.php:322 core/fields/user.php:264
|
1477 |
msgid "Single Value"
|
1478 |
msgstr "Одно значение"
|
1479 |
|
1480 |
+
#: core/fields/taxonomy.php:323
|
1481 |
msgid "Radio Buttons"
|
1482 |
msgstr "Радио-кнопки"
|
1483 |
|
1484 |
+
#: core/fields/taxonomy.php:352
|
1485 |
msgid "Load & Save Terms to Post"
|
1486 |
msgstr "Загрузить и сохранить термины в запись"
|
1487 |
|
1488 |
+
#: core/fields/taxonomy.php:360
|
1489 |
msgid ""
|
1490 |
"Load value based on the post's terms and update the post's terms on save"
|
1491 |
msgstr ""
|
1492 |
"Загрузить значение основываясь на терминах записи и обновить термины записи "
|
1493 |
+
"при сохранении"
|
1494 |
|
1495 |
+
#: core/fields/taxonomy.php:377
|
1496 |
msgid "Term Object"
|
1497 |
msgstr "Объект термина"
|
1498 |
|
1499 |
+
#: core/fields/taxonomy.php:378
|
1500 |
msgid "Term ID"
|
1501 |
msgstr "ID термина"
|
1502 |
|
1504 |
msgid "Text"
|
1505 |
msgstr "Текст"
|
1506 |
|
1507 |
+
#: core/fields/text.php:176 core/fields/textarea.php:141
|
1508 |
msgid "Formatting"
|
1509 |
msgstr "Форматирование"
|
1510 |
|
1511 |
+
#: core/fields/text.php:177 core/fields/textarea.php:142
|
1512 |
+
msgid "Effects value on front end"
|
1513 |
+
msgstr "Значение эффектов в пользовательском интерфейсе"
|
1514 |
+
|
1515 |
+
#: core/fields/text.php:186 core/fields/textarea.php:151
|
1516 |
+
msgid "No formatting"
|
1517 |
+
msgstr "Без форматирования"
|
1518 |
+
|
1519 |
+
#: core/fields/text.php:187 core/fields/textarea.php:153
|
1520 |
+
msgid "Convert HTML into tags"
|
1521 |
+
msgstr "Конвертировать HTML в теги"
|
1522 |
+
|
1523 |
+
#: core/fields/text.php:195 core/fields/textarea.php:126
|
1524 |
+
msgid "Character Limit"
|
1525 |
+
msgstr "Ограничение символов"
|
1526 |
|
1527 |
+
#: core/fields/text.php:196 core/fields/textarea.php:127
|
1528 |
+
msgid "Leave blank for no limit"
|
1529 |
+
msgstr "Оставьте поле пустым, чтобы убрать ограничение."
|
1530 |
|
1531 |
#: core/fields/textarea.php:19
|
1532 |
msgid "Text Area"
|
1533 |
msgstr "Область текста"
|
1534 |
|
1535 |
+
#: core/fields/textarea.php:152
|
1536 |
+
msgid "Convert new lines into <br /> tags"
|
1537 |
+
msgstr "Конвертировать новые линии в <br /> теги"
|
|
|
|
|
|
|
|
|
1538 |
|
1539 |
#: core/fields/true_false.php:19
|
1540 |
msgid "True / False"
|
1541 |
msgstr "Истина / Ложь"
|
1542 |
|
1543 |
+
#: core/fields/true_false.php:80
|
1544 |
msgid "eg. Show extra content"
|
1545 |
msgstr "Пример: Отображать дополнительное содержание"
|
1546 |
|
1547 |
+
#: core/fields/user.php:18 core/views/meta_box_location.php:94
|
1548 |
msgid "User"
|
1549 |
msgstr "Пользователь"
|
1550 |
|
1551 |
+
#: core/fields/user.php:224
|
1552 |
msgid "Filter by role"
|
1553 |
msgstr "Фильтровать по должности"
|
1554 |
|
1555 |
+
#: core/fields/wysiwyg.php:35
|
1556 |
msgid "Wysiwyg Editor"
|
1557 |
msgstr "Редактор WYSIWYG"
|
1558 |
|
1559 |
+
#: core/fields/wysiwyg.php:213
|
1560 |
msgid "Toolbar"
|
1561 |
msgstr "Панель инструментов"
|
1562 |
|
1563 |
+
#: core/fields/wysiwyg.php:245
|
1564 |
msgid "Show Media Upload Buttons?"
|
1565 |
msgstr "Отображать кнопки загрузки медиа?"
|
1566 |
|
1567 |
+
#: core/views/meta_box_fields.php:24
|
1568 |
msgid "New Field"
|
1569 |
msgstr "Новое поле"
|
1570 |
|
1571 |
+
#: core/views/meta_box_fields.php:58
|
|
|
|
|
|
|
|
|
|
|
1572 |
msgid "Field type does not exist"
|
1573 |
msgstr "Тип поля не существует"
|
1574 |
|
1575 |
+
#: core/views/meta_box_fields.php:74
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1576 |
msgid "Field Order"
|
1577 |
+
msgstr "Порядок поля"
|
1578 |
|
1579 |
+
#: core/views/meta_box_fields.php:75 core/views/meta_box_fields.php:127
|
1580 |
msgid "Field Label"
|
1581 |
msgstr "Ярлык поля"
|
1582 |
|
1583 |
+
#: core/views/meta_box_fields.php:76 core/views/meta_box_fields.php:143
|
1584 |
msgid "Field Name"
|
1585 |
msgstr "Имя поля"
|
1586 |
|
1587 |
+
#: core/views/meta_box_fields.php:78
|
1588 |
msgid "Field Key"
|
1589 |
msgstr "Ключ поля"
|
1590 |
|
1591 |
+
#: core/views/meta_box_fields.php:90
|
1592 |
msgid ""
|
1593 |
"No fields. Click the <strong>+ Add Field</strong> button to create your "
|
1594 |
"first field."
|
1596 |
"Нет полей. Нажмите на кнопку <strong>+ Добавить поле</strong>, чтобы создать "
|
1597 |
"свое первое поле."
|
1598 |
|
1599 |
+
#: core/views/meta_box_fields.php:105 core/views/meta_box_fields.php:108
|
1600 |
msgid "Edit this Field"
|
1601 |
+
msgstr "Редактировать это поле"
|
1602 |
|
1603 |
+
#: core/views/meta_box_fields.php:109
|
1604 |
msgid "Read documentation for this field"
|
1605 |
+
msgstr "Прочитайте документацию по этому полю"
|
1606 |
|
1607 |
+
#: core/views/meta_box_fields.php:109
|
1608 |
msgid "Docs"
|
1609 |
msgstr "Документация"
|
1610 |
|
1611 |
+
#: core/views/meta_box_fields.php:110
|
1612 |
msgid "Duplicate this Field"
|
1613 |
msgstr "Копировать это поле"
|
1614 |
|
1615 |
+
#: core/views/meta_box_fields.php:110
|
1616 |
msgid "Duplicate"
|
1617 |
msgstr "Копировать"
|
1618 |
|
1619 |
+
#: core/views/meta_box_fields.php:111
|
1620 |
msgid "Delete this Field"
|
1621 |
msgstr "Удалить это поле"
|
1622 |
|
1623 |
+
#: core/views/meta_box_fields.php:111
|
1624 |
msgid "Delete"
|
1625 |
msgstr "Удалить"
|
1626 |
|
1627 |
+
#: core/views/meta_box_fields.php:128
|
1628 |
msgid "This is the name which will appear on the EDIT page"
|
1629 |
+
msgstr "Это имя появится на странице редактирования"
|
1630 |
|
1631 |
+
#: core/views/meta_box_fields.php:144
|
1632 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
1633 |
+
msgstr "Одно слово, без пробелов. Разрешены только _ и -"
|
1634 |
|
1635 |
+
#: core/views/meta_box_fields.php:173
|
1636 |
msgid "Field Instructions"
|
1637 |
msgstr "Инструкции по полю"
|
1638 |
|
1639 |
+
#: core/views/meta_box_fields.php:174
|
1640 |
msgid "Instructions for authors. Shown when submitting data"
|
1641 |
+
msgstr "Инструкции для авторов. Отображаются при отправке данных"
|
1642 |
|
1643 |
+
#: core/views/meta_box_fields.php:186
|
1644 |
msgid "Required?"
|
1645 |
msgstr "Обязательно?"
|
1646 |
|
1647 |
+
#: core/views/meta_box_fields.php:209
|
1648 |
msgid "Conditional Logic"
|
1649 |
msgstr "Условная логика"
|
1650 |
|
1651 |
+
#: core/views/meta_box_fields.php:260 core/views/meta_box_location.php:117
|
1652 |
msgid "is equal to"
|
1653 |
msgstr "равно"
|
1654 |
|
1655 |
+
#: core/views/meta_box_fields.php:261 core/views/meta_box_location.php:118
|
1656 |
msgid "is not equal to"
|
1657 |
msgstr "не равно"
|
1658 |
|
1659 |
+
#: core/views/meta_box_fields.php:279
|
1660 |
msgid "Show this field when"
|
1661 |
msgstr "Отображать это поле, когда"
|
1662 |
|
1663 |
+
#: core/views/meta_box_fields.php:285
|
1664 |
msgid "all"
|
1665 |
msgstr "все"
|
1666 |
|
1667 |
+
#: core/views/meta_box_fields.php:286
|
1668 |
msgid "any"
|
1669 |
msgstr "любое"
|
1670 |
|
1671 |
+
#: core/views/meta_box_fields.php:289
|
1672 |
msgid "these rules are met"
|
1673 |
msgstr "из этих условий придерживаются"
|
1674 |
|
1675 |
+
#: core/views/meta_box_fields.php:303
|
1676 |
msgid "Close Field"
|
1677 |
msgstr "Закрыть поле"
|
1678 |
|
1679 |
+
#: core/views/meta_box_fields.php:316
|
1680 |
msgid "Drag and drop to reorder"
|
1681 |
msgstr "Drag-and-drop для переноса"
|
1682 |
|
1683 |
+
#: core/views/meta_box_fields.php:317
|
1684 |
msgid "+ Add Field"
|
1685 |
msgstr "+ Добавить поле"
|
1686 |
|
1687 |
+
#: core/views/meta_box_location.php:48
|
1688 |
msgid "Rules"
|
1689 |
msgstr "Правила"
|
1690 |
|
1691 |
+
#: core/views/meta_box_location.php:49
|
1692 |
msgid ""
|
1693 |
"Create a set of rules to determine which edit screens will use these "
|
1694 |
"advanced custom fields"
|
1696 |
"Создайте группы правил и условий, чтобы определить, какие экраны "
|
1697 |
"редактирования будут использовать расширенные произвольные поля."
|
1698 |
|
1699 |
+
#: core/views/meta_box_location.php:60
|
1700 |
msgid "Show this field group if"
|
1701 |
msgstr "Отображать эту группу полей, если"
|
1702 |
|
1703 |
+
#: core/views/meta_box_location.php:76
|
|
|
|
|
|
|
|
|
|
|
1704 |
msgid "Logged in User Type"
|
1705 |
msgstr "Вошедший тип пользователя"
|
1706 |
|
1707 |
+
#: core/views/meta_box_location.php:78 core/views/meta_box_location.php:79
|
1708 |
msgid "Page"
|
1709 |
msgstr "Страница"
|
1710 |
|
1711 |
+
#: core/views/meta_box_location.php:80
|
1712 |
msgid "Page Type"
|
1713 |
msgstr "Тип страницы"
|
1714 |
|
1715 |
+
#: core/views/meta_box_location.php:81
|
1716 |
msgid "Page Parent"
|
1717 |
msgstr "Родитель страницы"
|
1718 |
|
1719 |
+
#: core/views/meta_box_location.php:82
|
1720 |
msgid "Page Template"
|
1721 |
msgstr "Шаблон страницы"
|
1722 |
|
1723 |
+
#: core/views/meta_box_location.php:84 core/views/meta_box_location.php:85
|
1724 |
msgid "Post"
|
1725 |
msgstr "Запись"
|
1726 |
|
1727 |
+
#: core/views/meta_box_location.php:86
|
1728 |
msgid "Post Category"
|
1729 |
msgstr "Рубрика записи"
|
1730 |
|
1731 |
+
#: core/views/meta_box_location.php:87
|
1732 |
msgid "Post Format"
|
1733 |
msgstr "Формат записи"
|
1734 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1735 |
#: core/views/meta_box_location.php:88
|
1736 |
+
msgid "Post Status"
|
1737 |
+
msgstr "Статус записи"
|
1738 |
|
1739 |
#: core/views/meta_box_location.php:89
|
1740 |
+
msgid "Post Taxonomy"
|
1741 |
+
msgstr "Таксономия записи"
|
1742 |
+
|
1743 |
+
#: core/views/meta_box_location.php:92
|
1744 |
+
msgid "Attachment"
|
1745 |
+
msgstr "Вложение"
|
1746 |
|
1747 |
+
#: core/views/meta_box_location.php:93
|
1748 |
+
msgid "Taxonomy Term"
|
1749 |
+
msgstr "Термин таксономии"
|
1750 |
|
1751 |
+
#: core/views/meta_box_location.php:146
|
1752 |
msgid "and"
|
1753 |
msgstr "и"
|
1754 |
|
1755 |
+
#: core/views/meta_box_location.php:161
|
1756 |
msgid "Add rule group"
|
1757 |
msgstr "Добавить группу правил"
|
1758 |
|
1759 |
+
#: core/views/meta_box_options.php:25
|
|
|
|
|
|
|
|
|
1760 |
msgid "Order No."
|
1761 |
msgstr "Порядок очередности"
|
1762 |
|
1763 |
+
#: core/views/meta_box_options.php:26
|
1764 |
msgid "Field groups are created in order <br />from lowest to highest"
|
1765 |
msgstr ""
|
1766 |
+
"Группы полей создаются по очереди, начиная с самого меньшего числа по самое "
|
1767 |
"большое."
|
1768 |
|
1769 |
+
#: core/views/meta_box_options.php:42
|
1770 |
msgid "Position"
|
1771 |
msgstr "Позиция"
|
1772 |
|
1773 |
+
#: core/views/meta_box_options.php:52
|
1774 |
+
msgid "High (after title)"
|
1775 |
+
msgstr "Высокая "
|
1776 |
+
|
1777 |
+
#: core/views/meta_box_options.php:53
|
1778 |
+
msgid "Normal (after content)"
|
1779 |
+
msgstr "Нормальное (после содержания)"
|
1780 |
|
1781 |
+
#: core/views/meta_box_options.php:54
|
1782 |
msgid "Side"
|
1783 |
msgstr "Боковая панель"
|
1784 |
|
1785 |
+
#: core/views/meta_box_options.php:64
|
1786 |
msgid "Style"
|
1787 |
msgstr "Стиль"
|
1788 |
|
1789 |
+
#: core/views/meta_box_options.php:74
|
1790 |
msgid "No Metabox"
|
1791 |
msgstr "Без метабокса"
|
1792 |
|
1793 |
+
#: core/views/meta_box_options.php:75
|
1794 |
msgid "Standard Metabox"
|
1795 |
msgstr "Стандартный метабокс"
|
1796 |
|
1797 |
+
#: core/views/meta_box_options.php:84
|
1798 |
msgid "Hide on screen"
|
1799 |
msgstr "Скрыть на экране"
|
1800 |
|
1801 |
+
#: core/views/meta_box_options.php:85
|
1802 |
msgid "<b>Select</b> items to <b>hide</b> them from the edit screen"
|
1803 |
msgstr "<b>Выберите</b> пункт, который надо <b>спрятать</b> с экрана."
|
1804 |
|
1805 |
+
#: core/views/meta_box_options.php:86
|
1806 |
msgid ""
|
1807 |
"If multiple field groups appear on an edit screen, the first field group's "
|
1808 |
"options will be used. (the one with the lowest order number)"
|
1811 |
"использована первая группа полей. (Та, у которой меньшее число порядка "
|
1812 |
"очередности.)"
|
1813 |
|
1814 |
+
#: core/views/meta_box_options.php:96
|
1815 |
+
msgid "Permalink"
|
1816 |
+
msgstr "Постоянная ссылка"
|
1817 |
+
|
1818 |
+
#: core/views/meta_box_options.php:97
|
1819 |
msgid "Content Editor"
|
1820 |
msgstr "Текстовый редактор"
|
1821 |
|
1822 |
+
#: core/views/meta_box_options.php:98
|
1823 |
msgid "Excerpt"
|
1824 |
msgstr "Цитата"
|
1825 |
|
1826 |
+
#: core/views/meta_box_options.php:100
|
1827 |
msgid "Discussion"
|
1828 |
msgstr "Обсуждение"
|
1829 |
|
1830 |
+
#: core/views/meta_box_options.php:101
|
1831 |
msgid "Comments"
|
1832 |
msgstr "Комментарии"
|
1833 |
|
1834 |
+
#: core/views/meta_box_options.php:102
|
1835 |
msgid "Revisions"
|
1836 |
msgstr "Редакции"
|
1837 |
|
1838 |
+
#: core/views/meta_box_options.php:103
|
1839 |
msgid "Slug"
|
1840 |
msgstr "Ярлык"
|
1841 |
|
1842 |
+
#: core/views/meta_box_options.php:104
|
1843 |
msgid "Author"
|
1844 |
msgstr "Автор"
|
1845 |
|
1846 |
+
#: core/views/meta_box_options.php:105
|
1847 |
msgid "Format"
|
1848 |
msgstr "Формат"
|
1849 |
|
1850 |
+
#: core/views/meta_box_options.php:107
|
|
|
|
|
|
|
|
|
1851 |
msgid "Categories"
|
1852 |
msgstr "Рубрики"
|
1853 |
|
1854 |
+
#: core/views/meta_box_options.php:108
|
1855 |
msgid "Tags"
|
1856 |
msgstr "Метки"
|
1857 |
|
1858 |
+
#: core/views/meta_box_options.php:109
|
1859 |
msgid "Send Trackbacks"
|
1860 |
msgstr "Отправить обратные ссылки"
|
1861 |
|
1862 |
+
#~ msgid ""
|
1863 |
+
#~ "/**\n"
|
1864 |
+
#~ " * Install Add-ons\n"
|
1865 |
+
#~ " * \n"
|
1866 |
+
#~ " * The following code will include all 4 premium Add-Ons in your theme.\n"
|
1867 |
+
#~ " * Please do not attempt to include a file which does not exist. This "
|
1868 |
+
#~ "will produce an error.\n"
|
1869 |
+
#~ " * \n"
|
1870 |
+
#~ " * All fields must be included during the 'acf/register_fields' action.\n"
|
1871 |
+
#~ " * Other types of Add-ons (like the options page) can be included "
|
1872 |
+
#~ "outside of this action.\n"
|
1873 |
+
#~ " * \n"
|
1874 |
+
#~ " * The following code assumes you have a folder 'add-ons' inside your "
|
1875 |
+
#~ "theme.\n"
|
1876 |
+
#~ " *\n"
|
1877 |
+
#~ " * IMPORTANT\n"
|
1878 |
+
#~ " * Add-ons may be included in a premium theme as outlined in the terms "
|
1879 |
+
#~ "and conditions.\n"
|
1880 |
+
#~ " * However, they are NOT to be included in a premium / free plugin.\n"
|
1881 |
+
#~ " * For more information, please read http://www.advancedcustomfields.com/"
|
1882 |
+
#~ "terms-conditions/\n"
|
1883 |
+
#~ " */"
|
1884 |
+
#~ msgstr ""
|
1885 |
+
#~ "/**\n"
|
1886 |
+
#~ " * Установка аддонов\n"
|
1887 |
+
#~ " * \n"
|
1888 |
+
#~ " * Следующий код включит все 4 премиум аддона в вашу тему.\n"
|
1889 |
+
#~ " * Пожалуйста, не пытайтесь включить файл, который не существует. Это "
|
1890 |
+
#~ "вызовет ошибку.\n"
|
1891 |
+
#~ " * \n"
|
1892 |
+
#~ " * Все поля должны быть включены во время 'acf/register_fields' "
|
1893 |
+
#~ "действия.\n"
|
1894 |
+
#~ " * Другие типы аддонов (такие, как страница с опциями) могут быть "
|
1895 |
+
#~ "включены вне этого действия.\n"
|
1896 |
+
#~ " * \n"
|
1897 |
+
#~ " * Следующий код предполагает, что у вас есть папка 'add-ons' в вашей "
|
1898 |
+
#~ "теме.\n"
|
1899 |
+
#~ " *\n"
|
1900 |
+
#~ " * ВАЖНО\n"
|
1901 |
+
#~ " * Аддоны могут быть включены в премиум темы, как указано в Правилах и "
|
1902 |
+
#~ "условиях.\n"
|
1903 |
+
#~ " * Тем не менее, они не будут включены в бесплатный или премиум плагин.\n"
|
1904 |
+
#~ " * Для большей информации, пожалуйста, прочтите http://www."
|
1905 |
+
#~ "advancedcustomfields.com/terms-conditions/\n"
|
1906 |
+
#~ " */"
|
1907 |
+
|
1908 |
+
#~ msgid ""
|
1909 |
+
#~ "/**\n"
|
1910 |
+
#~ " * Register Field Groups\n"
|
1911 |
+
#~ " *\n"
|
1912 |
+
#~ " * The register_field_group function accepts 1 array which holds the "
|
1913 |
+
#~ "relevant data to register a field group\n"
|
1914 |
+
#~ " * You may edit the array as you see fit. However, this may result in "
|
1915 |
+
#~ "errors if the array is not compatible with ACF\n"
|
1916 |
+
#~ " */"
|
1917 |
+
#~ msgstr ""
|
1918 |
+
#~ "/**\n"
|
1919 |
+
#~ " * Регистрация группы полей\n"
|
1920 |
+
#~ " *\n"
|
1921 |
+
#~ " * Функция 'register_field_group' принимает один массив, который держит "
|
1922 |
+
#~ "соответственные данные, чтобы зарегистрировать группу полей.\n"
|
1923 |
+
#~ " * Вы можете редактировать этот массив, как посчитаете нужным. Однако, "
|
1924 |
+
#~ "это может вызвать ошибки, если массив не совмествим с ACF.\n"
|
1925 |
+
#~ " */"
|
1926 |
+
|
1927 |
+
#~ msgid "eg: #ffffff"
|
1928 |
+
#~ msgstr "Пример: #ffffff"
|
1929 |
+
|
1930 |
+
#~ msgid "File Updated."
|
1931 |
+
#~ msgstr "Файл обновлен."
|
1932 |
+
|
1933 |
+
#~ msgid "Media attachment updated."
|
1934 |
+
#~ msgstr "Вложение медиа обновлено."
|
1935 |
+
|
1936 |
+
#~ msgid "No files selected"
|
1937 |
+
#~ msgstr "Файлы не выбраны"
|
1938 |
+
|
1939 |
+
#~ msgid "Add Selected Files"
|
1940 |
+
#~ msgstr "Добавить выбранные файлы"
|
1941 |
+
|
1942 |
+
#~ msgid "Image Updated."
|
1943 |
+
#~ msgstr "Изображение обновлено."
|
1944 |
+
|
1945 |
+
#~ msgid "No images selected"
|
1946 |
+
#~ msgstr "Изображение не выбраны"
|
1947 |
+
|
1948 |
+
#~ msgid "Add Selected Images"
|
1949 |
+
#~ msgstr "Добавить выбранные изображения"
|
1950 |
+
|
1951 |
+
#~ msgid "Define how to render html tags"
|
1952 |
+
#~ msgstr "Определите, как отображать HTML теги."
|
1953 |
+
|
1954 |
+
#~ msgid "HTML"
|
1955 |
+
#~ msgstr "HTML"
|
1956 |
+
|
1957 |
+
#~ msgid "Define how to render html tags / new lines"
|
1958 |
+
#~ msgstr "Определите, как отображать HTML теги и новые строки."
|
1959 |
+
|
1960 |
+
#~ msgid "auto <br />"
|
1961 |
+
#~ msgstr "автоматические <br />"
|
lang/acf.pot
CHANGED
@@ -1,111 +1,111 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: acf.php:
|
16 |
msgid "Field Groups"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: acf.php:
|
20 |
msgid "Advanced Custom Fields"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: acf.php:
|
24 |
msgid "Add New"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: acf.php:
|
28 |
msgid "Add New Field Group"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: acf.php:
|
32 |
msgid "Edit Field Group"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: acf.php:
|
36 |
msgid "New Field Group"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: acf.php:
|
40 |
msgid "View Field Group"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: acf.php:
|
44 |
msgid "Search Field Groups"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: acf.php:
|
48 |
msgid "No Field Groups found"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: acf.php:
|
52 |
msgid "No Field Groups found in Trash"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: acf.php:
|
56 |
msgid "Custom Fields"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: acf.php:
|
60 |
msgid "Field group updated."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: acf.php:
|
64 |
msgid "Custom field updated."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: acf.php:
|
68 |
msgid "Custom field deleted."
|
69 |
msgstr ""
|
70 |
|
71 |
#. translators: %s: date and time of the revision
|
72 |
-
#: acf.php:
|
73 |
msgid "Field group restored to revision from %s"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: acf.php:
|
77 |
msgid "Field group published."
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: acf.php:
|
81 |
msgid "Field group saved."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: acf.php:
|
85 |
msgid "Field group submitted."
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: acf.php:
|
89 |
msgid "Field group scheduled for."
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: acf.php:
|
93 |
msgid "Field group draft updated."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: acf.php:
|
97 |
msgid "Thumbnail"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: acf.php:
|
101 |
msgid "Medium"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: acf.php:
|
105 |
msgid "Large"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: acf.php:
|
109 |
msgid "Full"
|
110 |
msgstr ""
|
111 |
|
@@ -125,11 +125,11 @@ msgstr ""
|
|
125 |
msgid "Post updated"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: core/controllers/addons.php:42 core/controllers/field_groups.php:
|
129 |
msgid "Add-ons"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: core/controllers/addons.php:130 core/controllers/field_groups.php:
|
133 |
msgid "Repeater Field"
|
134 |
msgstr ""
|
135 |
|
@@ -137,7 +137,7 @@ msgstr ""
|
|
137 |
msgid "Create infinite rows of repeatable data with this versatile interface!"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: core/controllers/addons.php:137 core/controllers/field_groups.php:
|
141 |
msgid "Gallery Field"
|
142 |
msgstr ""
|
143 |
|
@@ -145,7 +145,7 @@ msgstr ""
|
|
145 |
msgid "Create image galleries in a simple and intuitive interface!"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: core/controllers/addons.php:144 core/controllers/field_groups.php:
|
149 |
msgid "Options Page"
|
150 |
msgstr ""
|
151 |
|
@@ -217,9 +217,9 @@ msgstr ""
|
|
217 |
msgid "Purchase & Install"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: core/controllers/addons.php:242 core/controllers/field_groups.php:
|
221 |
-
#: core/controllers/field_groups.php:
|
222 |
-
#: core/controllers/field_groups.php:
|
223 |
msgid "Download"
|
224 |
msgstr ""
|
225 |
|
@@ -500,7 +500,7 @@ msgstr ""
|
|
500 |
msgid "Title"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: core/controllers/field_groups.php:216 core/controllers/field_groups.php:
|
504 |
msgid "Changelog"
|
505 |
msgstr ""
|
506 |
|
@@ -548,285 +548,277 @@ msgstr ""
|
|
548 |
msgid "Created by"
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: core/controllers/field_groups.php:
|
552 |
-
msgid "Vote"
|
553 |
-
msgstr ""
|
554 |
-
|
555 |
-
#: core/controllers/field_groups.php:236
|
556 |
-
msgid "Follow"
|
557 |
-
msgstr ""
|
558 |
-
|
559 |
-
#: core/controllers/field_groups.php:248
|
560 |
msgid "Welcome to Advanced Custom Fields"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: core/controllers/field_groups.php:
|
564 |
msgid "Thank you for updating to the latest version!"
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: core/controllers/field_groups.php:
|
568 |
msgid "is more polished and enjoyable than ever before. We hope you like it."
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: core/controllers/field_groups.php:
|
572 |
msgid "What’s New"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: core/controllers/field_groups.php:
|
576 |
msgid "Download Add-ons"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: core/controllers/field_groups.php:
|
580 |
msgid "Activation codes have grown into plugins!"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: core/controllers/field_groups.php:
|
584 |
msgid ""
|
585 |
"Add-ons are now activated by downloading and installing individual plugins. "
|
586 |
"Although these plugins will not be hosted on the wordpress.org repository, "
|
587 |
"each Add-on will continue to receive updates in the usual way."
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: core/controllers/field_groups.php:
|
591 |
msgid "All previous Add-ons have been successfully installed"
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: core/controllers/field_groups.php:
|
595 |
msgid "This website uses premium Add-ons which need to be downloaded"
|
596 |
msgstr ""
|
597 |
|
598 |
-
#: core/controllers/field_groups.php:
|
599 |
msgid "Download your activated Add-ons"
|
600 |
msgstr ""
|
601 |
|
602 |
-
#: core/controllers/field_groups.php:
|
603 |
msgid ""
|
604 |
"This website does not use premium Add-ons and will not be affected by this "
|
605 |
"change."
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: core/controllers/field_groups.php:
|
609 |
msgid "Easier Development"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: core/controllers/field_groups.php:
|
613 |
msgid "New Field Types"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: core/controllers/field_groups.php:
|
617 |
msgid "Taxonomy Field"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: core/controllers/field_groups.php:
|
621 |
msgid "User Field"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: core/controllers/field_groups.php:
|
625 |
msgid "Email Field"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: core/controllers/field_groups.php:
|
629 |
msgid "Password Field"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: core/controllers/field_groups.php:
|
633 |
msgid "Custom Field Types"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: core/controllers/field_groups.php:
|
637 |
msgid ""
|
638 |
"Creating your own field type has never been easier! Unfortunately, version 3 "
|
639 |
"field types are not compatible with version 4."
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: core/controllers/field_groups.php:
|
643 |
msgid "Migrating your field types is easy, please"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: core/controllers/field_groups.php:
|
647 |
msgid "follow this tutorial"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: core/controllers/field_groups.php:
|
651 |
msgid "to learn more."
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: core/controllers/field_groups.php:
|
655 |
msgid "Actions & Filters"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: core/controllers/field_groups.php:
|
659 |
msgid ""
|
660 |
"All actions & filters have received a major facelift to make customizing ACF "
|
661 |
"even easier! Please"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: core/controllers/field_groups.php:
|
665 |
msgid "read this guide"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: core/controllers/field_groups.php:
|
669 |
msgid "to find the updated naming convention."
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: core/controllers/field_groups.php:
|
673 |
msgid "Preview draft is now working!"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: core/controllers/field_groups.php:
|
677 |
msgid "This bug has been squashed along with many other little critters!"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: core/controllers/field_groups.php:
|
681 |
msgid "See the full changelog"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: core/controllers/field_groups.php:
|
685 |
msgid "Important"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: core/controllers/field_groups.php:
|
689 |
msgid "Database Changes"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: core/controllers/field_groups.php:
|
693 |
msgid ""
|
694 |
"Absolutely <strong>no</strong> changes have been made to the database "
|
695 |
"between versions 3 and 4. This means you can roll back to version 3 without "
|
696 |
"any issues."
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: core/controllers/field_groups.php:
|
700 |
msgid "Potential Issues"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: core/controllers/field_groups.php:
|
704 |
msgid ""
|
705 |
"Do to the sizable changes surounding Add-ons, field types and action/"
|
706 |
"filters, your website may not operate correctly. It is important that you "
|
707 |
"read the full"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: core/controllers/field_groups.php:
|
711 |
msgid "Migrating from v3 to v4"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: core/controllers/field_groups.php:
|
715 |
msgid "guide to view the full list of changes."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: core/controllers/field_groups.php:
|
719 |
msgid "Really Important!"
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: core/controllers/field_groups.php:
|
723 |
msgid ""
|
724 |
"If you updated the ACF plugin without prior knowledge of such changes, "
|
725 |
"please roll back to the latest"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: core/controllers/field_groups.php:
|
729 |
msgid "version 3"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: core/controllers/field_groups.php:
|
733 |
msgid "of this plugin."
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: core/controllers/field_groups.php:
|
737 |
msgid "Thank You"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: core/controllers/field_groups.php:
|
741 |
msgid ""
|
742 |
"A <strong>BIG</strong> thank you to everyone who has helped test the version "
|
743 |
"4 beta and for all the support I have received."
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: core/controllers/field_groups.php:
|
747 |
msgid "Without you all, this release would not have been possible!"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: core/controllers/field_groups.php:
|
751 |
msgid "Changelog for"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: core/controllers/field_groups.php:
|
755 |
msgid "Learn more"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: core/controllers/field_groups.php:
|
759 |
msgid "Overview"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: core/controllers/field_groups.php:
|
763 |
msgid ""
|
764 |
"Previously, all Add-ons were unlocked via an activation code (purchased from "
|
765 |
"the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
|
766 |
"need to be individually downloaded, installed and updated."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: core/controllers/field_groups.php:
|
770 |
msgid ""
|
771 |
"This page will assist you in downloading and installing each available Add-"
|
772 |
"on."
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: core/controllers/field_groups.php:
|
776 |
msgid "Available Add-ons"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: core/controllers/field_groups.php:
|
780 |
msgid "The following Add-ons have been detected as activated on this website."
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: core/controllers/field_groups.php:
|
784 |
msgid "Name"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: core/controllers/field_groups.php:
|
788 |
msgid "Activation Code"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: core/controllers/field_groups.php:
|
792 |
msgid "Flexible Content"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: core/controllers/field_groups.php:
|
796 |
msgid "Installation"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: core/controllers/field_groups.php:
|
800 |
msgid "For each Add-on available, please perform the following:"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: core/controllers/field_groups.php:
|
804 |
msgid "Download the Add-on plugin (.zip file) to your desktop"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: core/controllers/field_groups.php:
|
808 |
msgid "Navigate to"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: core/controllers/field_groups.php:
|
812 |
msgid "Plugins > Add New > Upload"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: core/controllers/field_groups.php:
|
816 |
msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: core/controllers/field_groups.php:
|
820 |
msgid ""
|
821 |
"Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
|
822 |
"link"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: core/controllers/field_groups.php:
|
826 |
msgid "The Add-on is now installed and activated!"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: core/controllers/field_groups.php:
|
830 |
msgid "Awesome. Let's get to work"
|
831 |
msgstr ""
|
832 |
|
@@ -1704,11 +1696,11 @@ msgid "Style"
|
|
1704 |
msgstr ""
|
1705 |
|
1706 |
#: core/views/meta_box_options.php:74
|
1707 |
-
msgid "
|
1708 |
msgstr ""
|
1709 |
|
1710 |
#: core/views/meta_box_options.php:75
|
1711 |
-
msgid "Standard
|
1712 |
msgstr ""
|
1713 |
|
1714 |
#: core/views/meta_box_options.php:84
|
1 |
+
# Copyright (C) 2014
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
|
7 |
+
"POT-Creation-Date: 2014-01-05 07:41:49+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: acf.php:455
|
16 |
msgid "Field Groups"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: acf.php:456 core/controllers/field_groups.php:214
|
20 |
msgid "Advanced Custom Fields"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: acf.php:457
|
24 |
msgid "Add New"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: acf.php:458
|
28 |
msgid "Add New Field Group"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: acf.php:459
|
32 |
msgid "Edit Field Group"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: acf.php:460
|
36 |
msgid "New Field Group"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: acf.php:461
|
40 |
msgid "View Field Group"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: acf.php:462
|
44 |
msgid "Search Field Groups"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: acf.php:463
|
48 |
msgid "No Field Groups found"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: acf.php:464
|
52 |
msgid "No Field Groups found in Trash"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: acf.php:567 core/views/meta_box_options.php:99
|
56 |
msgid "Custom Fields"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: acf.php:585 acf.php:588
|
60 |
msgid "Field group updated."
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: acf.php:586
|
64 |
msgid "Custom field updated."
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: acf.php:587
|
68 |
msgid "Custom field deleted."
|
69 |
msgstr ""
|
70 |
|
71 |
#. translators: %s: date and time of the revision
|
72 |
+
#: acf.php:590
|
73 |
msgid "Field group restored to revision from %s"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: acf.php:591
|
77 |
msgid "Field group published."
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: acf.php:592
|
81 |
msgid "Field group saved."
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: acf.php:593
|
85 |
msgid "Field group submitted."
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: acf.php:594
|
89 |
msgid "Field group scheduled for."
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: acf.php:595
|
93 |
msgid "Field group draft updated."
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: acf.php:730
|
97 |
msgid "Thumbnail"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: acf.php:731
|
101 |
msgid "Medium"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: acf.php:732
|
105 |
msgid "Large"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: acf.php:733
|
109 |
msgid "Full"
|
110 |
msgstr ""
|
111 |
|
125 |
msgid "Post updated"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: core/controllers/addons.php:42 core/controllers/field_groups.php:307
|
129 |
msgid "Add-ons"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: core/controllers/addons.php:130 core/controllers/field_groups.php:429
|
133 |
msgid "Repeater Field"
|
134 |
msgstr ""
|
135 |
|
137 |
msgid "Create infinite rows of repeatable data with this versatile interface!"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: core/controllers/addons.php:137 core/controllers/field_groups.php:437
|
141 |
msgid "Gallery Field"
|
142 |
msgstr ""
|
143 |
|
145 |
msgid "Create image galleries in a simple and intuitive interface!"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: core/controllers/addons.php:144 core/controllers/field_groups.php:445
|
149 |
msgid "Options Page"
|
150 |
msgstr ""
|
151 |
|
217 |
msgid "Purchase & Install"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: core/controllers/addons.php:242 core/controllers/field_groups.php:422
|
221 |
+
#: core/controllers/field_groups.php:431 core/controllers/field_groups.php:439
|
222 |
+
#: core/controllers/field_groups.php:447 core/controllers/field_groups.php:455
|
223 |
msgid "Download"
|
224 |
msgstr ""
|
225 |
|
500 |
msgid "Title"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: core/controllers/field_groups.php:216 core/controllers/field_groups.php:253
|
504 |
msgid "Changelog"
|
505 |
msgstr ""
|
506 |
|
548 |
msgid "Created by"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: core/controllers/field_groups.php:244
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
msgid "Welcome to Advanced Custom Fields"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: core/controllers/field_groups.php:245
|
556 |
msgid "Thank you for updating to the latest version!"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: core/controllers/field_groups.php:245
|
560 |
msgid "is more polished and enjoyable than ever before. We hope you like it."
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: core/controllers/field_groups.php:252
|
564 |
msgid "What’s New"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: core/controllers/field_groups.php:255
|
568 |
msgid "Download Add-ons"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: core/controllers/field_groups.php:309
|
572 |
msgid "Activation codes have grown into plugins!"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: core/controllers/field_groups.php:310
|
576 |
msgid ""
|
577 |
"Add-ons are now activated by downloading and installing individual plugins. "
|
578 |
"Although these plugins will not be hosted on the wordpress.org repository, "
|
579 |
"each Add-on will continue to receive updates in the usual way."
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: core/controllers/field_groups.php:316
|
583 |
msgid "All previous Add-ons have been successfully installed"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: core/controllers/field_groups.php:320
|
587 |
msgid "This website uses premium Add-ons which need to be downloaded"
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: core/controllers/field_groups.php:320
|
591 |
msgid "Download your activated Add-ons"
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: core/controllers/field_groups.php:325
|
595 |
msgid ""
|
596 |
"This website does not use premium Add-ons and will not be affected by this "
|
597 |
"change."
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: core/controllers/field_groups.php:335
|
601 |
msgid "Easier Development"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: core/controllers/field_groups.php:337
|
605 |
msgid "New Field Types"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: core/controllers/field_groups.php:339
|
609 |
msgid "Taxonomy Field"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: core/controllers/field_groups.php:340
|
613 |
msgid "User Field"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: core/controllers/field_groups.php:341
|
617 |
msgid "Email Field"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: core/controllers/field_groups.php:342
|
621 |
msgid "Password Field"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: core/controllers/field_groups.php:344
|
625 |
msgid "Custom Field Types"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: core/controllers/field_groups.php:345
|
629 |
msgid ""
|
630 |
"Creating your own field type has never been easier! Unfortunately, version 3 "
|
631 |
"field types are not compatible with version 4."
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: core/controllers/field_groups.php:346
|
635 |
msgid "Migrating your field types is easy, please"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: core/controllers/field_groups.php:346
|
639 |
msgid "follow this tutorial"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: core/controllers/field_groups.php:346
|
643 |
msgid "to learn more."
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: core/controllers/field_groups.php:348
|
647 |
msgid "Actions & Filters"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: core/controllers/field_groups.php:349
|
651 |
msgid ""
|
652 |
"All actions & filters have received a major facelift to make customizing ACF "
|
653 |
"even easier! Please"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: core/controllers/field_groups.php:349
|
657 |
msgid "read this guide"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: core/controllers/field_groups.php:349
|
661 |
msgid "to find the updated naming convention."
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: core/controllers/field_groups.php:351
|
665 |
msgid "Preview draft is now working!"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: core/controllers/field_groups.php:352
|
669 |
msgid "This bug has been squashed along with many other little critters!"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: core/controllers/field_groups.php:352
|
673 |
msgid "See the full changelog"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: core/controllers/field_groups.php:356
|
677 |
msgid "Important"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: core/controllers/field_groups.php:358
|
681 |
msgid "Database Changes"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: core/controllers/field_groups.php:359
|
685 |
msgid ""
|
686 |
"Absolutely <strong>no</strong> changes have been made to the database "
|
687 |
"between versions 3 and 4. This means you can roll back to version 3 without "
|
688 |
"any issues."
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: core/controllers/field_groups.php:361
|
692 |
msgid "Potential Issues"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: core/controllers/field_groups.php:362
|
696 |
msgid ""
|
697 |
"Do to the sizable changes surounding Add-ons, field types and action/"
|
698 |
"filters, your website may not operate correctly. It is important that you "
|
699 |
"read the full"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: core/controllers/field_groups.php:362
|
703 |
msgid "Migrating from v3 to v4"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: core/controllers/field_groups.php:362
|
707 |
msgid "guide to view the full list of changes."
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: core/controllers/field_groups.php:365
|
711 |
msgid "Really Important!"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: core/controllers/field_groups.php:365
|
715 |
msgid ""
|
716 |
"If you updated the ACF plugin without prior knowledge of such changes, "
|
717 |
"please roll back to the latest"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: core/controllers/field_groups.php:365
|
721 |
msgid "version 3"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: core/controllers/field_groups.php:365
|
725 |
msgid "of this plugin."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: core/controllers/field_groups.php:370
|
729 |
msgid "Thank You"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: core/controllers/field_groups.php:371
|
733 |
msgid ""
|
734 |
"A <strong>BIG</strong> thank you to everyone who has helped test the version "
|
735 |
"4 beta and for all the support I have received."
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: core/controllers/field_groups.php:372
|
739 |
msgid "Without you all, this release would not have been possible!"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: core/controllers/field_groups.php:376
|
743 |
msgid "Changelog for"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: core/controllers/field_groups.php:393
|
747 |
msgid "Learn more"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: core/controllers/field_groups.php:399
|
751 |
msgid "Overview"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: core/controllers/field_groups.php:401
|
755 |
msgid ""
|
756 |
"Previously, all Add-ons were unlocked via an activation code (purchased from "
|
757 |
"the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
|
758 |
"need to be individually downloaded, installed and updated."
|
759 |
msgstr ""
|
760 |
|
761 |
+
#: core/controllers/field_groups.php:403
|
762 |
msgid ""
|
763 |
"This page will assist you in downloading and installing each available Add-"
|
764 |
"on."
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: core/controllers/field_groups.php:405
|
768 |
msgid "Available Add-ons"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: core/controllers/field_groups.php:407
|
772 |
msgid "The following Add-ons have been detected as activated on this website."
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: core/controllers/field_groups.php:420
|
776 |
msgid "Name"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: core/controllers/field_groups.php:421
|
780 |
msgid "Activation Code"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: core/controllers/field_groups.php:453
|
784 |
msgid "Flexible Content"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: core/controllers/field_groups.php:463
|
788 |
msgid "Installation"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: core/controllers/field_groups.php:465
|
792 |
msgid "For each Add-on available, please perform the following:"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: core/controllers/field_groups.php:467
|
796 |
msgid "Download the Add-on plugin (.zip file) to your desktop"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: core/controllers/field_groups.php:468
|
800 |
msgid "Navigate to"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: core/controllers/field_groups.php:468
|
804 |
msgid "Plugins > Add New > Upload"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: core/controllers/field_groups.php:469
|
808 |
msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: core/controllers/field_groups.php:470
|
812 |
msgid ""
|
813 |
"Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
|
814 |
"link"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: core/controllers/field_groups.php:471
|
818 |
msgid "The Add-on is now installed and activated!"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: core/controllers/field_groups.php:485
|
822 |
msgid "Awesome. Let's get to work"
|
823 |
msgstr ""
|
824 |
|
1696 |
msgstr ""
|
1697 |
|
1698 |
#: core/views/meta_box_options.php:74
|
1699 |
+
msgid "Seamless (no metabox)"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
#: core/views/meta_box_options.php:75
|
1703 |
+
msgid "Standard (WP metabox)"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
#: core/views/meta_box_options.php:84
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: Elliot Condon
|
3 |
Tags: custom, field, custom field, advanced, simple fields, magic fields, more fields, repeater, matrix, post, type, text, textarea, file, image, edit, admin
|
4 |
Requires at least: 3.5.0
|
5 |
-
Tested up to: 3.
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
@@ -107,6 +107,14 @@ http://support.advancedcustomfields.com/
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
= 4.3.2 =
|
111 |
* Color Picker field: Fixed JS bug preventing wpColorPicker from updating value correctly
|
112 |
* Google Map field: Added new setting for initial zoom level
|
2 |
Contributors: Elliot Condon
|
3 |
Tags: custom, field, custom field, advanced, simple fields, magic fields, more fields, repeater, matrix, post, type, text, textarea, file, image, edit, admin
|
4 |
Requires at least: 3.5.0
|
5 |
+
Tested up to: 3.8.0
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 4.3.3 =
|
111 |
+
* Core: Updated styling to suit WP 3.8
|
112 |
+
* Core: Added new logic to set 'autoload' to 'off' on all values saved to the wp_options table to help improve load speed
|
113 |
+
* API: Added new logic to the $post_id parameter to accept an object of type post, user or taxonomy term
|
114 |
+
* Tab field: Added compatibility with taxonomy term and user edit screens (table layout)
|
115 |
+
* Tab field: Fixed JS bug causing incorrect tab to show when validation fails
|
116 |
+
* Text field: Fixed bug causing append setting of '+50' to appear as '50'
|
117 |
+
|
118 |
= 4.3.2 =
|
119 |
* Color Picker field: Fixed JS bug preventing wpColorPicker from updating value correctly
|
120 |
* Google Map field: Added new setting for initial zoom level
|