Merge branch 'release/5.3.7' into develop
This commit is contained in:
commit
cb662fef2b
8
acf.php
8
acf.php
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/*
|
||||
Plugin Name: Advanced Custom Fields Pro
|
||||
Plugin Name: Advanced Custom Fields PRO
|
||||
Plugin URI: http://www.advancedcustomfields.com/
|
||||
Description: Customise WordPress with powerful, professional and intuitive fields
|
||||
Version: 5.3.6.1
|
||||
Author: elliot condon
|
||||
Version: 5.3.7
|
||||
Author: Elliot Condon
|
||||
Author URI: http://www.elliotcondon.com/
|
||||
Copyright: Elliot Condon
|
||||
Text Domain: acf
|
||||
|
|
@ -58,7 +58,7 @@ class acf {
|
|||
|
||||
// basic
|
||||
'name' => __('Advanced Custom Fields', 'acf'),
|
||||
'version' => '5.3.6.1',
|
||||
'version' => '5.3.7',
|
||||
|
||||
// urls
|
||||
'basename' => plugin_basename( __FILE__ ),
|
||||
|
|
|
|||
|
|
@ -239,26 +239,26 @@ class acf_admin_field_group {
|
|||
);
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
if( typeof acf !== 'undefined' ) {
|
||||
|
||||
acf.o = <?php echo json_encode($o); ?>;
|
||||
acf.l10n = <?php echo json_encode($l10n); ?>;
|
||||
<?php do_action('acf/field_group/admin_footer_js'); ?>
|
||||
|
||||
acf.do_action('prepare');
|
||||
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
<?php
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
acf = acf || {};
|
||||
acf.o = <?php echo json_encode($o); ?>;
|
||||
acf.l10n = <?php echo json_encode($l10n); ?>;
|
||||
<?php do_action('acf/field_group/admin_footer_js'); ?>
|
||||
</script>
|
||||
<?php
|
||||
|
||||
|
||||
// action for 3rd party customisation
|
||||
// action
|
||||
do_action('acf/field_group/admin_footer');
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
acf.do_action('prepare');
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -613,7 +613,7 @@ class acf_admin_field_groups {
|
|||
function admin_footer() {
|
||||
|
||||
// vars
|
||||
$www = 'http://www.advancedcustomfields.com/resources/';
|
||||
$www = 'https://www.advancedcustomfields.com/resources/';
|
||||
|
||||
?><script type="text/html" id="tmpl-acf-column-2">
|
||||
<div class="acf-column-2">
|
||||
|
|
@ -634,6 +634,7 @@ class acf_admin_field_groups {
|
|||
<li><a href="<?php echo $www; ?>#filters" target="_blank"><?php _e("Filters",'acf'); ?></a></li>
|
||||
<li><a href="<?php echo $www; ?>#how-to" target="_blank"><?php _e("'How to' guides",'acf'); ?></a></li>
|
||||
<li><a href="<?php echo $www; ?>#tutorials" target="_blank"><?php _e("Tutorials",'acf'); ?></a></li>
|
||||
<li><a href="<?php echo $www; ?>#faq" target="_blank"><?php _e("FAQ",'acf'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer footer-blue">
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ extract($args);
|
|||
|
||||
|
||||
// add loading
|
||||
$tr.find('.response').html('<i class="acf-loading"></i></span> <?php _e('Upgrading data to', 'acf'); ?> <?php echo $plugin_version; ?>');
|
||||
$tr.find('.response').html('<i class="acf-loading"></i></span> <?php printf(__('Upgrading data to version %s', 'acf'), $plugin_version); ?>');
|
||||
|
||||
|
||||
// get results
|
||||
|
|
|
|||
|
|
@ -1623,10 +1623,6 @@ function acf_get_grouped_posts( $args ) {
|
|||
$parent = acf_maybe_get( $args, 'post_parent', 0 );
|
||||
|
||||
|
||||
// reset $this_posts
|
||||
$this_posts = array();
|
||||
|
||||
|
||||
// get all posts
|
||||
$all_args = array_merge($args, array(
|
||||
'posts_per_page' => -1,
|
||||
|
|
@ -1640,30 +1636,35 @@ function acf_get_grouped_posts( $args ) {
|
|||
// loop over posts and update $offset
|
||||
foreach( $all_posts as $offset => $p ) {
|
||||
|
||||
if( $p->ID == $match_id ) {
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
if( $p->ID == $match_id ) break;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// order posts
|
||||
$all_posts = get_page_children( $parent, $all_posts );
|
||||
$ordered_posts = get_page_children( $parent, $all_posts );
|
||||
|
||||
|
||||
// append
|
||||
for( $i = $offset; $i < ($offset + $length); $i++ ) {
|
||||
// if has ordered posts
|
||||
if( !empty($ordered_posts) ) {
|
||||
|
||||
$this_posts[] = acf_extract_var( $all_posts, $i );
|
||||
// reset $this_posts
|
||||
$this_posts = array();
|
||||
|
||||
|
||||
// append
|
||||
for( $i = $offset; $i < ($offset + $length); $i++ ) {
|
||||
|
||||
$this_posts[] = acf_extract_var( $ordered_posts, $i );
|
||||
|
||||
}
|
||||
|
||||
|
||||
// clean up null values
|
||||
$this_posts = array_filter($this_posts);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// clean up null values
|
||||
$this_posts = array_filter($this_posts);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -986,7 +986,7 @@ function _validate_save_post() {
|
|||
// get field
|
||||
$field = acf_get_valid_field(array(
|
||||
'name' => '_post_title',
|
||||
'label' => 'Title',
|
||||
'label' => __('Title', 'acf'),
|
||||
'type' => 'text',
|
||||
'required' => true
|
||||
));
|
||||
|
|
@ -1199,7 +1199,7 @@ function acf_form( $args = array() ) {
|
|||
|
||||
$fields[] = acf_get_valid_field(array(
|
||||
'name' => '_post_title',
|
||||
'label' => 'Title',
|
||||
'label' => __('Title', 'acf'),
|
||||
'type' => 'text',
|
||||
'value' => $post_id ? get_post_field('post_title', $post_id) : '',
|
||||
'required' => true
|
||||
|
|
@ -1213,7 +1213,7 @@ function acf_form( $args = array() ) {
|
|||
|
||||
$fields[] = acf_get_valid_field(array(
|
||||
'name' => '_post_content',
|
||||
'label' => 'Content',
|
||||
'label' => __('Content', 'acf'),
|
||||
'type' => 'wysiwyg',
|
||||
'value' => $post_id ? get_post_field('post_content', $post_id) : ''
|
||||
));
|
||||
|
|
@ -1278,7 +1278,7 @@ function acf_form( $args = array() ) {
|
|||
|
||||
$fields[] = acf_get_valid_field(array(
|
||||
'name' => '_validate_email',
|
||||
'label' => 'Validate Email',
|
||||
'label' => __('Validate Email', 'acf'),
|
||||
'type' => 'text',
|
||||
'value' => '',
|
||||
'wrapper' => array(
|
||||
|
|
|
|||
|
|
@ -277,16 +277,6 @@ html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input {
|
|||
border: 0 none;
|
||||
padding: 8px 0;
|
||||
}
|
||||
/* widget */
|
||||
.widget .widget-inside .acf-error-message p {
|
||||
margin: 10px 0;
|
||||
}
|
||||
.widget .widget-inside div.acf-field.error {
|
||||
border: 0 none;
|
||||
background: transparent;
|
||||
margin: 0 0 20px;
|
||||
padding: 0;
|
||||
}
|
||||
/* width */
|
||||
.acf-field[data-width] {
|
||||
float: left;
|
||||
|
|
@ -1826,6 +1816,17 @@ p.submit .acf-spinner {
|
|||
.widget .acf-field .acf-label label {
|
||||
font-weight: normal;
|
||||
}
|
||||
.widget .widget-inside > form > .acf-error-message {
|
||||
margin-top: 15px;
|
||||
}
|
||||
/*--------------------------------------------------------------------------------------------
|
||||
*
|
||||
* Customizer
|
||||
*
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
.customize-control .acf-field {
|
||||
margin: 1em 0;
|
||||
}
|
||||
/*--------------------------------------------------------------------------
|
||||
*
|
||||
* Conditional Logic
|
||||
|
|
|
|||
|
|
@ -5285,7 +5285,16 @@ var acf;
|
|||
|
||||
|
||||
// set div class
|
||||
this.$el.addClass('has-value');
|
||||
if( image.id ) {
|
||||
|
||||
this.$el.addClass('has-value');
|
||||
|
||||
} else {
|
||||
|
||||
this.$el.removeClass('has-value');
|
||||
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
|
@ -5332,14 +5341,11 @@ var acf;
|
|||
url: ''
|
||||
};
|
||||
|
||||
this.$input.attr('value', '');
|
||||
|
||||
// add file to field
|
||||
this.render( attachment );
|
||||
|
||||
|
||||
// remove class
|
||||
this.$el.removeClass('has-value');
|
||||
|
||||
},
|
||||
|
||||
change: function( e ){
|
||||
|
|
@ -9174,6 +9180,14 @@ var acf;
|
|||
$message.addClass('-success');
|
||||
$message.children('p').html( acf._e('validation_successful') );
|
||||
|
||||
|
||||
// remove message
|
||||
setTimeout(function(){
|
||||
|
||||
acf.remove_el( $message );
|
||||
|
||||
}, 2000);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -9788,6 +9802,17 @@ var acf;
|
|||
|
||||
});
|
||||
|
||||
ed.on('change', function(e) {
|
||||
|
||||
// save to textarea
|
||||
ed.save();
|
||||
|
||||
|
||||
$field.find('textarea').trigger('change');
|
||||
|
||||
});
|
||||
|
||||
/*
|
||||
ed.on('blur', function(e) {
|
||||
|
||||
// update the hidden textarea
|
||||
|
|
@ -9801,6 +9826,7 @@ var acf;
|
|||
$field.find('textarea').trigger('change');
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
/*
|
||||
ed.on('ResizeEditor', function(e) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -264,24 +264,24 @@ class acf_input {
|
|||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
if( typeof acf !== 'undefined' ) {
|
||||
|
||||
acf = acf || {};
|
||||
acf.o = <?php echo json_encode($o); ?>;
|
||||
acf.l10n = <?php echo json_encode($l10n); ?>;
|
||||
<?php do_action('acf/input/admin_footer_js'); ?>
|
||||
|
||||
acf.do_action('prepare');
|
||||
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
<?php
|
||||
|
||||
|
||||
// do action
|
||||
// action
|
||||
do_action('acf/input/admin_footer');
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
acf.do_action('prepare');
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class acf_media {
|
|||
|
||||
// actions
|
||||
add_action('acf/save_post', array($this, 'save_files'), 5, 1);
|
||||
add_action('acf/input/admin_footer_js', array($this, 'admin_footer_js'));
|
||||
add_action('acf/input/admin_footer', array($this, 'admin_footer'));
|
||||
|
||||
|
||||
// filters
|
||||
|
|
@ -121,7 +121,7 @@ class acf_media {
|
|||
|
||||
|
||||
/*
|
||||
* admin_footer_js
|
||||
* admin_footer
|
||||
*
|
||||
* description
|
||||
*
|
||||
|
|
@ -133,10 +133,13 @@ class acf_media {
|
|||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function admin_footer_js() {
|
||||
function admin_footer() {
|
||||
|
||||
?>acf.media.mime_types = <?php echo json_encode( get_allowed_mime_types() ); ?>;
|
||||
<?php
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
acf.media.mime_types = <?php echo json_encode( get_allowed_mime_types() ); ?>;
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ class acf_validation {
|
|||
// show errors
|
||||
if( $show_errors ) {
|
||||
|
||||
$message = '<h2>Validation failed</h2>';
|
||||
$message = '<h2>' . __('Validation failed', 'acf') . '</h2>';
|
||||
$message .= '<ul>';
|
||||
foreach( $errors as $error ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ class acf_field_date_picker extends acf_field {
|
|||
|
||||
// display_format
|
||||
acf_render_field_setting( $field, array(
|
||||
'label' => __('Display format','acf'),
|
||||
'label' => __('Display Format','acf'),
|
||||
'instructions' => __('The format displayed when editing a post','acf'),
|
||||
'type' => 'radio',
|
||||
'name' => 'display_format',
|
||||
|
|
@ -186,7 +186,7 @@ class acf_field_date_picker extends acf_field {
|
|||
|
||||
// return_format
|
||||
acf_render_field_setting( $field, array(
|
||||
'label' => __('Return format','acf'),
|
||||
'label' => __('Return Format','acf'),
|
||||
'instructions' => __('The format returned via template functions','acf'),
|
||||
'type' => 'radio',
|
||||
'name' => 'return_format',
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class acf_field_file extends acf_field {
|
|||
'select' => __("Select File",'acf'),
|
||||
'edit' => __("Edit File",'acf'),
|
||||
'update' => __("Update File",'acf'),
|
||||
'uploadedTo' => __("uploaded to this post",'acf'),
|
||||
'uploadedTo' => __("Uploaded to this post",'acf'),
|
||||
);
|
||||
|
||||
|
||||
|
|
@ -139,11 +139,11 @@ class acf_field_file extends acf_field {
|
|||
<strong data-name="title"><?php echo $o['title']; ?></strong>
|
||||
</p>
|
||||
<p>
|
||||
<strong><?php _e('File Name', 'acf'); ?>:</strong>
|
||||
<strong><?php _e('File name', 'acf'); ?>:</strong>
|
||||
<a data-name="name" href="<?php echo $o['url']; ?>" target="_blank"><?php echo $o['name']; ?></a>
|
||||
</p>
|
||||
<p>
|
||||
<strong><?php _e('File Size', 'acf'); ?>:</strong>
|
||||
<strong><?php _e('File size', 'acf'); ?>:</strong>
|
||||
<span data-name="size"><?php echo $o['size']; ?></span>
|
||||
</p>
|
||||
|
||||
|
|
@ -166,7 +166,7 @@ class acf_field_file extends acf_field {
|
|||
|
||||
<?php else: ?>
|
||||
|
||||
<p style="margin:0;"><?php _e('No File selected','acf'); ?> <a data-name="add" class="acf-button button" href="#"><?php _e('Add File','acf'); ?></a></p>
|
||||
<p style="margin:0;"><?php _e('No file selected','acf'); ?> <a data-name="add" class="acf-button button" href="#"><?php _e('Add File','acf'); ?></a></p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -963,7 +963,7 @@ class acf_field_taxonomy extends acf_field {
|
|||
?><form method="post"><?php
|
||||
|
||||
acf_render_field_wrap(array(
|
||||
'label' => 'Name',
|
||||
'label' => __('Name', 'acf'),
|
||||
'name' => 'term_name',
|
||||
'type' => 'text'
|
||||
));
|
||||
|
|
@ -985,7 +985,7 @@ class acf_field_taxonomy extends acf_field {
|
|||
}
|
||||
|
||||
acf_render_field_wrap(array(
|
||||
'label' => 'Parent',
|
||||
'label' => __('Parent', 'acf'),
|
||||
'name' => 'term_parent',
|
||||
'type' => 'select',
|
||||
'allow_null' => 1,
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class acf_field_wysiwyg extends acf_field {
|
|||
|
||||
|
||||
// actions
|
||||
add_action('acf/input/admin_footer_js', array($this, 'input_admin_footer_js'));
|
||||
add_action('acf/input/admin_footer', array($this, 'input_admin_footer'));
|
||||
|
||||
|
||||
// do not delete!
|
||||
|
|
@ -162,7 +162,7 @@ class acf_field_wysiwyg extends acf_field {
|
|||
|
||||
|
||||
/*
|
||||
* input_admin_footer_js
|
||||
* input_admin_footer
|
||||
*
|
||||
* description
|
||||
*
|
||||
|
|
@ -174,7 +174,7 @@ class acf_field_wysiwyg extends acf_field {
|
|||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function input_admin_footer_js() {
|
||||
function input_admin_footer() {
|
||||
|
||||
// vars
|
||||
$json = array();
|
||||
|
|
@ -215,8 +215,11 @@ class acf_field_wysiwyg extends acf_field {
|
|||
}
|
||||
|
||||
|
||||
?>acf.fields.wysiwyg.toolbars = <?php echo json_encode($json); ?>;
|
||||
<?php
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
acf.fields.wysiwyg.toolbars = <?php echo json_encode($json); ?>;
|
||||
</script>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
439
forms/widget.php
439
forms/widget.php
|
|
@ -30,18 +30,21 @@ class acf_form_widget {
|
|||
|
||||
function __construct() {
|
||||
|
||||
// vars
|
||||
$this->preview_values = array();
|
||||
$this->preview_errors = array();
|
||||
|
||||
|
||||
// actions
|
||||
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
|
||||
add_action('in_widget_form', array($this, 'edit_widget'), 10, 3);
|
||||
add_action('customize_save', array($this, 'customize_save'), 1, 1);
|
||||
add_action('customize_preview_init', array($this, 'customize_preview_init'), 1, 1);
|
||||
|
||||
|
||||
// filters
|
||||
add_filter('widget_update_callback', array($this, 'widget_update_callback'), 10, 4);
|
||||
|
||||
|
||||
// ajax
|
||||
add_action('wp_ajax_update-widget', array($this, 'ajax_update_widget'), 0, 1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -97,6 +100,7 @@ class acf_form_widget {
|
|||
* @param $instance (object)
|
||||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function edit_widget( $widget, $return, $instance ) {
|
||||
|
||||
// vars
|
||||
|
|
@ -135,6 +139,7 @@ class acf_form_widget {
|
|||
|
||||
}
|
||||
|
||||
|
||||
if( $widget->updated ): ?>
|
||||
<script type="text/javascript">
|
||||
(function($) {
|
||||
|
|
@ -150,48 +155,6 @@ class acf_form_widget {
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* save_widget
|
||||
*
|
||||
* This function will hook in before 'widget_update_callback' and save values to bypass customizer validation issues
|
||||
*
|
||||
* @type function
|
||||
* @date 11/06/2014
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @param n/a
|
||||
* @return n/a
|
||||
*/
|
||||
|
||||
function ajax_update_widget() {
|
||||
|
||||
// remove default save filter
|
||||
remove_filter('widget_update_callback', array($this, 'widget_update_callback'), 10, 4);
|
||||
|
||||
|
||||
// bail early if no nonce
|
||||
if( !acf_verify_nonce('widget') ) {
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// vars
|
||||
$id = acf_maybe_get($_POST, 'widget-id');
|
||||
|
||||
|
||||
// save data
|
||||
if( $id && acf_validate_save_post() ) {
|
||||
|
||||
acf_save_post( "widget_{$id}" );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* widget_update_callback
|
||||
*
|
||||
|
|
@ -211,17 +174,91 @@ class acf_form_widget {
|
|||
function widget_update_callback( $instance, $new_instance, $old_instance, $widget ) {
|
||||
|
||||
// bail early if no nonce
|
||||
if( !acf_verify_nonce('widget') ) {
|
||||
if( !acf_verify_nonce('widget') ) return $instance;
|
||||
|
||||
return $instance;
|
||||
|
||||
// customizer
|
||||
if( !empty($_POST['wp_customize']) ) {
|
||||
|
||||
return $this->customizer_widget_update_callback($instance, $new_instance, $old_instance, $widget);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// save
|
||||
if( acf_validate_save_post() ) {
|
||||
// bail early if not valid
|
||||
if( !acf_validate_save_post() ) return $instance;
|
||||
|
||||
acf_save_post( "widget_{$widget->id}" );
|
||||
|
||||
// save
|
||||
acf_save_post( "widget_{$widget->id}" );
|
||||
|
||||
|
||||
// return
|
||||
return $instance;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* customizer_widget_update_callback
|
||||
*
|
||||
* customizer specific verison of above function
|
||||
*
|
||||
* @type function
|
||||
* @date 27/05/2015
|
||||
* @since 5.2.3
|
||||
*
|
||||
* @param $instance (array) widget settings
|
||||
* @param $new_instance (array) widget settings
|
||||
* @param $old_instance (array) widget settings
|
||||
* @param $widget (object) widget info
|
||||
* @return $instance
|
||||
*/
|
||||
|
||||
function customizer_widget_update_callback( $instance, $new_instance, $old_instance, $widget ) {
|
||||
|
||||
// add preview_values reference for later use in load_value filter
|
||||
// WP will re-generate the widget form HTML, and we need to load the $_POST data, not the DB data
|
||||
$this->preview_values[ "widget_{$widget->id}" ] = $_POST['acf'];
|
||||
|
||||
|
||||
// add filter
|
||||
add_filter('acf/load_value', array($this, 'load_value'), 10, 3);
|
||||
|
||||
|
||||
// bail early if not valid
|
||||
if( !acf_validate_save_post() ) {
|
||||
|
||||
// vars
|
||||
$errors = acf_get_validation_errors();
|
||||
$total = count($errors);
|
||||
|
||||
|
||||
// message
|
||||
$message = __('Validation failed', 'acf') . '. ';
|
||||
$message .= sprintf(_n( '1 field requires attention.', '%d fields require attention.', $total, 'acf' ), $total);
|
||||
|
||||
|
||||
// add missing WP JS to remove spinning
|
||||
// also set state to 'saved' which disables the save button
|
||||
$message .= '<script type="text/javascript">';
|
||||
$message .= '(function($) {';
|
||||
$message .= '$(".customize-control.previewer-loading").removeClass("previewer-loading"); ';
|
||||
$message .= 'wp.customize.state("saved").set( true ); ';
|
||||
$message .= '})(jQuery);';
|
||||
$message .= '</script>';
|
||||
|
||||
|
||||
// return JSON error
|
||||
wp_send_json_error(array(
|
||||
'message' => $message
|
||||
));
|
||||
|
||||
} else {
|
||||
|
||||
// append acf $_POST data to instance
|
||||
// this allows preview JS data to contain acf values
|
||||
$instance['acf'] = $_POST['acf'];
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -232,6 +269,234 @@ class acf_form_widget {
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* get_customizer_widgets
|
||||
*
|
||||
* This function will return an array of widget settings
|
||||
*
|
||||
* @type function
|
||||
* @date 22/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $customizer (object)
|
||||
* @return $value (mixed)
|
||||
*/
|
||||
|
||||
function get_customizer_widgets( $customizer ) {
|
||||
|
||||
// vars
|
||||
$widgets = array();
|
||||
$settings = $customizer->settings();
|
||||
|
||||
|
||||
// bail ealry if no settings
|
||||
if( empty($settings) ) return false;
|
||||
|
||||
|
||||
// loop over settings
|
||||
foreach( array_keys($settings) as $i ) {
|
||||
|
||||
// vars
|
||||
$setting = $settings[ $i ];
|
||||
|
||||
|
||||
// bail ealry if not widget
|
||||
if( substr($setting->id, 0, 7) !== 'widget_' ) continue;
|
||||
|
||||
|
||||
// get value
|
||||
$value = $setting->post_value();
|
||||
|
||||
|
||||
// get id from widget_text[2] to widget_text-2
|
||||
$setting->acf_id = str_replace(array('[', ']'), array('-', ''), $setting->id);
|
||||
|
||||
|
||||
// get acf value
|
||||
$setting->acf_value = acf_maybe_get($value, 'acf');
|
||||
|
||||
|
||||
// append
|
||||
$widgets[] = $setting;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// bail ealry if no preview values
|
||||
if( empty($widgets) ) return false;
|
||||
|
||||
|
||||
// return
|
||||
return $widgets;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* customize_preview_init
|
||||
*
|
||||
* This function is called when customizer preview is initialized
|
||||
*
|
||||
* @type function
|
||||
* @date 22/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $customizer (object)
|
||||
* @return n/a
|
||||
*/
|
||||
|
||||
function customize_preview_init( $customizer ) {
|
||||
|
||||
// get widgets
|
||||
$widgets = $this->get_customizer_widgets($customizer);
|
||||
|
||||
|
||||
// bail ealry if no widgets
|
||||
if( empty($widgets) ) return;
|
||||
|
||||
|
||||
// append values
|
||||
foreach( $widgets as $widget ) {
|
||||
|
||||
// bail early if no acf_value
|
||||
if( !$widget->acf_value ) continue;
|
||||
|
||||
|
||||
// append acf_value to preview_values
|
||||
$this->preview_values[ $widget->acf_id ] = $widget->acf_value;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// bail ealry if no preview_values
|
||||
if( empty($this->preview_values) ) return;
|
||||
|
||||
|
||||
// add filter
|
||||
add_filter('acf/load_value', array($this, 'load_value'), 10, 3);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* load_value
|
||||
*
|
||||
* This function will override a field's value with the preview_value set in previous functions
|
||||
*
|
||||
* @type function
|
||||
* @date 22/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $post_id (int)
|
||||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function load_value( $value, $post_id, $field ) {
|
||||
|
||||
// look for value
|
||||
if( isset($this->preview_values[ $post_id ][ $field['key'] ]) ) {
|
||||
|
||||
$value = $this->preview_values[ $post_id ][ $field['key'] ];
|
||||
|
||||
}
|
||||
|
||||
|
||||
// return
|
||||
return $value;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* customize_save
|
||||
*
|
||||
* This function is called when customizer saves a widget.
|
||||
* Normally, the widget_update_callback filter would be used, but the customizer disables this and runs a custom action
|
||||
* class-customizer-settings.php will save the widget data via the function set_root_value which uses update_option
|
||||
*
|
||||
* @type function
|
||||
* @date 22/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $customizer (object)
|
||||
* @return n/a
|
||||
*/
|
||||
|
||||
function customize_save( $customizer ) {
|
||||
|
||||
// get widgets
|
||||
$widgets = $this->get_customizer_widgets($customizer);
|
||||
|
||||
|
||||
// bail ealry if no widgets
|
||||
if( empty($widgets) ) return;
|
||||
|
||||
|
||||
// append values
|
||||
foreach( $widgets as $widget ) {
|
||||
|
||||
// bail early if no acf_value
|
||||
if( !$widget->acf_value ) continue;
|
||||
|
||||
// fake post data
|
||||
$_POST['acf'] = $widget->acf_value;
|
||||
|
||||
|
||||
// save
|
||||
acf_save_post( $widget->acf_id );
|
||||
|
||||
|
||||
// get widget base
|
||||
$id_data = $widget->id_data();
|
||||
|
||||
|
||||
// remove [acf] data from saved widget array
|
||||
add_filter('pre_update_option_' . $id_data['base'], array($this, 'pre_update_option'), 10, 3);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* pre_update_option
|
||||
*
|
||||
* this function will remove the [acf] data from widget insance
|
||||
*
|
||||
* @type function
|
||||
* @date 22/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $post_id (int)
|
||||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function pre_update_option( $value, $option, $old_value ) {
|
||||
|
||||
// bail ealry if no value
|
||||
if( empty($value) ) return $value;
|
||||
|
||||
|
||||
// loop over widgets
|
||||
// WP saves all widgets (of the same type) as an array of widgets
|
||||
foreach( $value as $i => $widget ) {
|
||||
|
||||
// bail ealry if no acf
|
||||
if( !isset($widget['acf']) ) continue;
|
||||
|
||||
|
||||
// remove widget
|
||||
unset($value[ $i ]['acf']);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// return
|
||||
return $value;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* admin_footer
|
||||
*
|
||||
|
|
@ -334,7 +599,12 @@ class acf_form_widget {
|
|||
|
||||
$(document).on('widget-added', function( e, $widget ){
|
||||
|
||||
acf.do_action('append', $widget );
|
||||
// - use delay to avoid rendering issues with customizer (ensures div is visible)
|
||||
setTimeout(function(){
|
||||
|
||||
acf.do_action('append', $widget );
|
||||
|
||||
}, 100);
|
||||
|
||||
});
|
||||
|
||||
|
|
@ -354,6 +624,71 @@ class acf_form_widget {
|
|||
// customizer saves widget on any input change, so unload is not needed
|
||||
acf.unload.active = 0;
|
||||
|
||||
|
||||
// hack customizer function to remove bug caused by WYSIWYG field using aunique ID
|
||||
// customizer compares returned AJAX HTML with the HTML of the widget form.
|
||||
// the _getInputsSignature() function is used to generate a string based of input name + id.
|
||||
// because ACF generates a unique ID on the WYSIWYG field, this string will not match causing the preview function to bail.
|
||||
// an attempt was made to remove the WYSIWYG unique ID, but this caused multiple issues in the wp-admin and altimately doesn't make sense with the tinymce rule that all editors must have a unique ID.
|
||||
// source: wp-admin/js/customize-widgets.js
|
||||
|
||||
// vars
|
||||
var WidgetControl = wp.customize.Widgets.WidgetControl.prototype;
|
||||
|
||||
|
||||
// backup functions
|
||||
WidgetControl.__getInputsSignature = WidgetControl._getInputsSignature;
|
||||
WidgetControl.__setInputState = WidgetControl._setInputState;
|
||||
|
||||
|
||||
// modify __getInputsSignature
|
||||
WidgetControl._getInputsSignature = function( inputs ) {
|
||||
|
||||
// vars
|
||||
var signature = this.__getInputsSignature( inputs );
|
||||
safe = [];
|
||||
|
||||
|
||||
// split
|
||||
signature = signature.split(';');
|
||||
|
||||
|
||||
// loop
|
||||
for( var i in signature ) {
|
||||
|
||||
// vars
|
||||
var bit = signature[i];
|
||||
|
||||
|
||||
// bail ealry if acf is found
|
||||
if( bit.indexOf('acf') !== -1 ) continue;
|
||||
|
||||
|
||||
// append
|
||||
safe.push( bit );
|
||||
|
||||
}
|
||||
|
||||
|
||||
// update
|
||||
signature = safe.join(';');
|
||||
|
||||
|
||||
// return
|
||||
return signature;
|
||||
|
||||
};
|
||||
|
||||
|
||||
// modify _setInputState
|
||||
// this function deosn't seem to run on widget title/content, only custom fields
|
||||
// either way, this function is not needed and will break ACF fields
|
||||
WidgetControl._setInputState = function( input, state ) {
|
||||
|
||||
return true;
|
||||
|
||||
};
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
})(jQuery);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,13 +3,13 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-02-05 11:05+1000\n"
|
||||
"PO-Revision-Date: 2016-02-06 11:33+0200\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:29+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.7.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
||||
|
|
@ -1544,7 +1544,7 @@ msgid "Show a different month"
|
|||
msgstr "Показване на различен месец"
|
||||
|
||||
#: fields/date_picker.php:174
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Формат на показване"
|
||||
|
||||
#: fields/date_picker.php:175
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:09+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:09+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:29+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: webees.cz s.r.o. <jakubmachala@webees.cz>\n"
|
||||
"Language: cs_CZ\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1483,7 +1483,7 @@ msgid "Show a different month"
|
|||
msgstr ""
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr ""
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.3.2\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-02-12 10:02+0100\n"
|
||||
"PO-Revision-Date: 2016-02-12 10:09+0100\n"
|
||||
"Last-Translator: Raphael Hüni <rafhun@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:29+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Raphael Hüni <rafhun@gmail.com>\n"
|
||||
"Language: de_CH\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 1.8.5\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1883,7 +1883,7 @@ msgstr "Zeige einen anderen Monat"
|
|||
|
||||
# @ acf
|
||||
#: fields/date_picker.php:174
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Darstellungs-Format"
|
||||
|
||||
# @ acf
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:12+0200\n"
|
||||
"PO-Revision-Date: 2015-11-30 19:46-0300\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Héctor Garrofé <info@hectorgarrofe.com>\n"
|
||||
"Language: es_ES\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.5\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1550,7 +1550,7 @@ msgid "Show a different month"
|
|||
msgstr "Mostrar un mes diferente"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Formato de Visualización"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-11-19 10:59+0330\n"
|
||||
"PO-Revision-Date: 2015-11-19 11:04+0330\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Kamel Kimiaei Fard <Kamel.Kimiaei.Fard@gmail.com>\n"
|
||||
"Language: fa\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -19,8 +19,8 @@ msgstr ""
|
|||
"X-Poedit-Basepath: ..\n"
|
||||
"X-Poedit-WPHeader: acf.php\n"
|
||||
"X-Textdomain-Support: yes\n"
|
||||
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
||||
|
||||
#: acf.php:63
|
||||
msgid "Advanced Custom Fields"
|
||||
|
|
@ -931,8 +931,8 @@ msgid ""
|
|||
"and select."
|
||||
msgstr ""
|
||||
"استفاده از کتابخانه محبوب Select2 باعث سرعت در عملکرد و کاربری بهتر در انواع "
|
||||
"زمینه هاشامل آبجکت نوشته، پیوند(لینک) صفحه ، طبقه بندی و زمینه های انتخاب"
|
||||
"(Select) شده است"
|
||||
"زمینه هاشامل آبجکت نوشته، پیوند(لینک) صفحه ، طبقه بندی و زمینه های "
|
||||
"انتخاب(Select) شده است"
|
||||
|
||||
#: admin/views/settings-info.php:33
|
||||
msgid "Improved Design"
|
||||
|
|
@ -1526,7 +1526,7 @@ msgid "Show a different month"
|
|||
msgstr "نمایش یک ماه دیگر"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "فرمت نمایش"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
@ -3180,7 +3180,7 @@ msgstr "حداکثر تعداد سطرها"
|
|||
#~ msgstr "این فرمت توسط کاربر در هنگام وارد کردن یک مقدار دیده خواهد شد"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
||||
#~ "about"
|
||||
#~ msgstr ""
|
||||
#~ "\"dd/mm/yy\" یا \"mm/dd/yy\" پر استفاده ترین قالب های نمایش تاریخ می "
|
||||
|
|
|
|||
BIN
lang/acf-fi.mo
BIN
lang/acf-fi.mo
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:16+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:16+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: fi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
|
|
@ -1536,7 +1536,7 @@ msgid "Show a different month"
|
|||
msgstr "Näytä eri kuuakusi"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Muokkausnäkymän muoto"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
1155
lang/acf-fr_FR.po
1155
lang/acf-fr_FR.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
|
@ -4,13 +4,13 @@ msgstr ""
|
|||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:23+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Ahrale | Atar4U.com <contact@atar4u.com>\n"
|
||||
"Language: he_IL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -261,9 +261,10 @@ msgstr ""
|
|||
msgid "Super Admin"
|
||||
msgstr "מנהל על"
|
||||
|
||||
#: admin/field-group.php:818 admin/field-group.php:826 admin/field-group.php:840
|
||||
#: admin/field-group.php:847 admin/field-group.php:862 admin/field-group.php:872
|
||||
#: fields/file.php:235 fields/image.php:226 pro/fields/gallery.php:653
|
||||
#: admin/field-group.php:818 admin/field-group.php:826
|
||||
#: admin/field-group.php:840 admin/field-group.php:847
|
||||
#: admin/field-group.php:862 admin/field-group.php:872 fields/file.php:235
|
||||
#: fields/image.php:226 pro/fields/gallery.php:653
|
||||
msgid "All"
|
||||
msgstr "הכל"
|
||||
|
||||
|
|
@ -1169,9 +1170,9 @@ msgid ""
|
|||
"external file."
|
||||
msgstr ""
|
||||
"ניתן להשתמש בקוד הבא כדי לרשום גרסה מקומית של קבוצות השדה הנבחרות. קבוצת שדות "
|
||||
"מקומית יכולה להביא לתועלות רבות כמו זמני טעינה מהירים יותר, בקרת גרסאות "
|
||||
"ושדות/הגדרות דינמיות. פשוט העתיקו והדביקו את הקוד הבא לקובץ functions.php "
|
||||
"שבערכת העיצוב שלכם או הוסיפו אותו דרך קובץ חיצוני."
|
||||
"מקומית יכולה להביא לתועלות רבות כמו זמני טעינה מהירים יותר, בקרת גרסאות ושדות/"
|
||||
"הגדרות דינמיות. פשוט העתיקו והדביקו את הקוד הבא לקובץ functions.php שבערכת "
|
||||
"העיצוב שלכם או הוסיפו אותו דרך קובץ חיצוני."
|
||||
|
||||
#: admin/views/settings-tools.php:5
|
||||
msgid "Select Field Groups"
|
||||
|
|
@ -1507,7 +1508,7 @@ msgid "Show a different month"
|
|||
msgstr "הצגת חודש אחר"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "פורמט תצוגה"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:26+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:26+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language: hu_HU\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1550,7 +1550,7 @@ msgid "Show a different month"
|
|||
msgstr "Másik hónap megjelenítése"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Megjelenítési formátum"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,12 +3,12 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-01-25 09:18-0800\n"
|
||||
"PO-Revision-Date: 2016-01-25 16:30-0800\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.4\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
||||
|
|
@ -16,7 +16,7 @@ msgstr ""
|
|||
"X-Poedit-Basepath: ..\n"
|
||||
"X-Poedit-WPHeader: acf.php\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"Last-Translator: \n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language: id_ID\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
||||
|
|
@ -1536,7 +1536,7 @@ msgid "Show a different month"
|
|||
msgstr "Tampilkan bulan berbeda"
|
||||
|
||||
#: fields/date_picker.php:182
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Format tampilan"
|
||||
|
||||
#: fields/date_picker.php:183
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-02-07 11:36+0100\n"
|
||||
"PO-Revision-Date: 2016-02-07 11:36+0100\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language: it_IT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 1.8.4\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Loco-Target-Locale: it_IT\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
|
|
@ -1636,7 +1636,7 @@ msgid "Show a different month"
|
|||
msgstr "Mostra un altro mese"
|
||||
|
||||
#: fields/date_picker.php:174
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Formato di visualizzazione"
|
||||
|
||||
#: fields/date_picker.php:175
|
||||
|
|
|
|||
BIN
lang/acf-ja.mo
BIN
lang/acf-ja.mo
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:33+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:33+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: shogo kato <s_kato@crete.co.jp>\n"
|
||||
"Language: ja_JP\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
|
|
@ -1526,7 +1526,7 @@ msgid "Show a different month"
|
|||
msgstr "別の月を表示する"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "表示フォーマット"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
@ -3246,7 +3246,7 @@ msgstr ""
|
|||
#~ msgstr "ユーザーが値を入力するときのフォーマット"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
||||
#~ "about"
|
||||
#~ msgstr "よく使用されるのは、\"dd/mm/yy\" や \"mm/dd/yy\" です。詳細は"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-12-16 08:41+0100\n"
|
||||
"PO-Revision-Date: 2016-01-08 15:07+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: nb_NO\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.6\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"X-Poedit-WPHeader: acf.php\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
|
@ -1530,7 +1530,7 @@ msgid "Show a different month"
|
|||
msgstr "Vise en annen måned"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Visningsformat"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-02-12 07:59+0100\n"
|
||||
"PO-Revision-Date: 2016-02-12 07:59+0100\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Derk Oosterveld <derk@inpoint.nl>\n"
|
||||
"Language: nl_NL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.5\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
|
|
@ -1547,7 +1547,7 @@ msgid "Show a different month"
|
|||
msgstr "Toon een andere maand"
|
||||
|
||||
#: fields/date_picker.php:174
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Weergeven als"
|
||||
|
||||
#: fields/date_picker.php:175
|
||||
|
|
@ -3050,7 +3050,7 @@ msgstr "http://www.elliotcondon.com/"
|
|||
#~ "Deze indeling wordt gezien door de gebruiker wanneer datum wordt ingevuld"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
||||
#~ "about"
|
||||
#~ msgstr ""
|
||||
#~ "\"dd/mm/yy\" of \"mm/dd/yy\" zijn de meest gebruikte indelingen. Lees "
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:35+0200\n"
|
||||
"PO-Revision-Date: 2016-03-09 12:48+0100\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Digital Factory <info@digitalfactory.pl>\n"
|
||||
"Language: pl_PL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.4\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1541,7 +1541,7 @@ msgid "Show a different month"
|
|||
msgstr "Pokaż inne miesiące"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Format wyświetlania"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-11-04 01:40-0200\n"
|
||||
"PO-Revision-Date: 2015-11-04 02:01-0200\n"
|
||||
"Last-Translator: Augusto Simão <augusto@ams.art.br>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Augusto Simão <augusto@ams.art.br>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Poedit 1.8.5\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1829,7 +1829,7 @@ msgstr "Mostrar um mês diferente"
|
|||
|
||||
# @ acf
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Formato de exibição"
|
||||
|
||||
# @ acf
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,8 +3,8 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:42+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:42+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language: ro_RO\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -12,7 +12,7 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
||||
"2:1));\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1554,7 +1554,7 @@ msgid "Show a different month"
|
|||
msgstr "Arată o altă lună"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Formatul de Afișare"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:44+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:44+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: ru_RU\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
|
|
@ -1536,7 +1536,7 @@ msgid "Show a different month"
|
|||
msgstr "Показать другой месяц"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Отображать формат"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
@ -3259,7 +3259,7 @@ msgstr ""
|
|||
#~ msgstr "Этот формат будет виден пользователям при вводе значения."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
||||
#~ "about"
|
||||
#~ msgstr ""
|
||||
#~ "\"dd/mm/yy\" или \"mm/dd/yy\" самые используемые форматы отображения. "
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:45+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:45+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: wp.sk <michal.vittek@wp.sk, ja@fajo.name>\n"
|
||||
"Language: sk_SK\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1527,7 +1527,7 @@ msgid "Show a different month"
|
|||
msgstr "Zobraziť iný mesiac "
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Formát zobrazenia "
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,7 +3,7 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-01-13 09:29+1000\n"
|
||||
"PO-Revision-Date: 2016-01-13 09:29+1000\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language: sv_SE\n"
|
||||
|
|
@ -1545,7 +1545,7 @@ msgid "Show a different month"
|
|||
msgstr "Visa en annan månad"
|
||||
|
||||
#: fields/date_picker.php:174
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Visa format"
|
||||
|
||||
#: fields/date_picker.php:175
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,15 +3,15 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:47+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:47+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Ramazan POLAT <trstar@gmail.com>\n"
|
||||
"Language: tr_TR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1542,7 +1542,7 @@ msgid "Show a different month"
|
|||
msgstr "Başka bir ay göster"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Gösterim formatı"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
BIN
lang/acf-uk.mo
BIN
lang/acf-uk.mo
Binary file not shown.
|
|
@ -3,8 +3,8 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:49+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:49+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:30+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: skinik <info@skinik.name>\n"
|
||||
"Language: uk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -12,7 +12,7 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1497,7 +1497,7 @@ msgid "Show a different month"
|
|||
msgstr "Показати інший місяць"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "Формат показу"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -3,14 +3,14 @@ msgstr ""
|
|||
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2015-08-11 23:50+0200\n"
|
||||
"PO-Revision-Date: 2015-08-11 23:50+0200\n"
|
||||
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
||||
"PO-Revision-Date: 2016-04-07 10:31+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Amos Lee <470266798@qq.com>\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.3\n"
|
||||
"X-Generator: Poedit 1.8.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
||||
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
||||
|
|
@ -1533,7 +1533,7 @@ msgid "Show a different month"
|
|||
msgstr "显示其他月份"
|
||||
|
||||
#: fields/date_picker.php:149
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr "显示格式"
|
||||
|
||||
#: fields/date_picker.php:150
|
||||
|
|
@ -3242,7 +3242,7 @@ msgstr ""
|
|||
#~ msgstr "这是用户输入日期后看到的格式。"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
|
||||
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
||||
#~ "about"
|
||||
#~ msgstr "\"dd/mm/yy\" 或 \"mm/dd/yy\" 为最常用的显示格式,了解更多"
|
||||
|
||||
|
|
|
|||
167
lang/acf.pot
167
lang/acf.pot
|
|
@ -3,7 +3,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Advanced Custom Fields\n"
|
||||
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
||||
"POT-Creation-Date: 2016-03-15 10:53+1000\n"
|
||||
"POT-Creation-Date: 2016-04-07 10:31+1000\n"
|
||||
"PO-Revision-Date: 2015-06-11 13:00+1000\n"
|
||||
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
||||
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
||||
|
|
@ -181,7 +181,7 @@ msgstr ""
|
|||
#: admin/views/field-group-field-conditional-logic.php:62
|
||||
#: admin/views/field-group-field-conditional-logic.php:162
|
||||
#: admin/views/field-group-locations.php:59
|
||||
#: admin/views/field-group-locations.php:135 api/api-helpers.php:3639
|
||||
#: admin/views/field-group-locations.php:135 api/api-helpers.php:3649
|
||||
msgid "or"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -332,7 +332,8 @@ msgstr[1] ""
|
|||
msgid "Sync available"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:525 pro/fields/gallery.php:374
|
||||
#: admin/field-groups.php:525 api/api-template.php:989
|
||||
#: api/api-template.php:1202 pro/fields/gallery.php:374
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -396,29 +397,33 @@ msgstr ""
|
|||
msgid "Tutorials"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:641
|
||||
#: admin/field-groups.php:637
|
||||
msgid "FAQ"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:642
|
||||
msgid "Created by"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:684
|
||||
#: admin/field-groups.php:685
|
||||
msgid "Duplicate this item"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:684 admin/field-groups.php:700
|
||||
#: admin/field-groups.php:685 admin/field-groups.php:701
|
||||
#: admin/views/field-group-field.php:58 pro/fields/flexible-content.php:495
|
||||
msgid "Duplicate"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:746
|
||||
#: admin/field-groups.php:747
|
||||
#, php-format
|
||||
msgid "Select %s"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:754
|
||||
#: admin/field-groups.php:755
|
||||
msgid "Synchronise field group"
|
||||
msgstr ""
|
||||
|
||||
#: admin/field-groups.php:754 admin/field-groups.php:771
|
||||
#: admin/field-groups.php:755 admin/field-groups.php:772
|
||||
msgid "Sync"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -447,7 +452,7 @@ msgstr ""
|
|||
msgid "No field groups selected"
|
||||
msgstr ""
|
||||
|
||||
#: admin/settings-tools.php:188
|
||||
#: admin/settings-tools.php:188 fields/file.php:169
|
||||
msgid "No file selected"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -502,7 +507,7 @@ msgstr ""
|
|||
#: fields/select.php:391 fields/select.php:405 fields/select.php:419
|
||||
#: fields/tab.php:130 fields/taxonomy.php:784 fields/taxonomy.php:798
|
||||
#: fields/taxonomy.php:812 fields/taxonomy.php:826 fields/user.php:416
|
||||
#: fields/user.php:430 fields/wysiwyg.php:415
|
||||
#: fields/user.php:430 fields/wysiwyg.php:418
|
||||
#: pro/admin/views/settings-updates.php:93
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
|
@ -514,7 +519,7 @@ msgstr ""
|
|||
#: fields/select.php:392 fields/select.php:406 fields/select.php:420
|
||||
#: fields/tab.php:131 fields/taxonomy.php:699 fields/taxonomy.php:785
|
||||
#: fields/taxonomy.php:799 fields/taxonomy.php:813 fields/taxonomy.php:827
|
||||
#: fields/user.php:417 fields/user.php:431 fields/wysiwyg.php:416
|
||||
#: fields/user.php:417 fields/user.php:431 fields/wysiwyg.php:419
|
||||
#: pro/admin/views/settings-updates.php:103
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
|
@ -640,7 +645,8 @@ msgstr ""
|
|||
msgid "Label"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/field-group-fields.php:31 pro/fields/flexible-content.php:534
|
||||
#: admin/views/field-group-fields.php:31 fields/taxonomy.php:966
|
||||
#: pro/fields/flexible-content.php:534
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -720,7 +726,7 @@ msgstr ""
|
|||
msgid "User Role"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/field-group-locations.php:25 pro/admin/options-page.php:48
|
||||
#: admin/views/field-group-locations.php:25 pro/admin/options-page.php:49
|
||||
msgid "Forms"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1282,41 +1288,41 @@ msgstr ""
|
|||
msgid "Full Size"
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:1177 api/api-helpers.php:1739
|
||||
#: api/api-helpers.php:1177 api/api-helpers.php:1740
|
||||
msgid "(no title)"
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3560
|
||||
#: api/api-helpers.php:3570
|
||||
#, php-format
|
||||
msgid "Image width must be at least %dpx."
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3565
|
||||
#: api/api-helpers.php:3575
|
||||
#, php-format
|
||||
msgid "Image width must not exceed %dpx."
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3581
|
||||
#: api/api-helpers.php:3591
|
||||
#, php-format
|
||||
msgid "Image height must be at least %dpx."
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3586
|
||||
#: api/api-helpers.php:3596
|
||||
#, php-format
|
||||
msgid "Image height must not exceed %dpx."
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3604
|
||||
#: api/api-helpers.php:3614
|
||||
#, php-format
|
||||
msgid "File size must be at least %s."
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3609
|
||||
#: api/api-helpers.php:3619
|
||||
#, php-format
|
||||
msgid "File size must must not exceed %s."
|
||||
msgstr ""
|
||||
|
||||
#: api/api-helpers.php:3643
|
||||
#: api/api-helpers.php:3653
|
||||
#, php-format
|
||||
msgid "File type must be %s."
|
||||
msgstr ""
|
||||
|
|
@ -1325,7 +1331,8 @@ msgstr ""
|
|||
msgid "Spam Detected"
|
||||
msgstr ""
|
||||
|
||||
#: api/api-template.php:1147 pro/fields/gallery.php:572
|
||||
#: api/api-template.php:1147 pro/api/api-options-page.php:50
|
||||
#: pro/fields/gallery.php:572
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1333,12 +1340,16 @@ msgstr ""
|
|||
msgid "Post updated"
|
||||
msgstr ""
|
||||
|
||||
#: core/field.php:132
|
||||
msgid "Basic"
|
||||
#: api/api-template.php:1216 core/field.php:133
|
||||
msgid "Content"
|
||||
msgstr ""
|
||||
|
||||
#: core/field.php:133
|
||||
msgid "Content"
|
||||
#: api/api-template.php:1281
|
||||
msgid "Validate Email"
|
||||
msgstr ""
|
||||
|
||||
#: core/field.php:132
|
||||
msgid "Basic"
|
||||
msgstr ""
|
||||
|
||||
#: core/field.php:134
|
||||
|
|
@ -1371,7 +1382,7 @@ msgstr ""
|
|||
msgid "Validation successful"
|
||||
msgstr ""
|
||||
|
||||
#: core/input.php:258
|
||||
#: core/input.php:258 core/validation.php:306 forms/widget.php:238
|
||||
msgid "Validation failed"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1420,7 +1431,7 @@ msgstr ""
|
|||
#: fields/checkbox.php:217 fields/color_picker.php:147 fields/email.php:124
|
||||
#: fields/number.php:150 fields/radio.php:222 fields/select.php:363
|
||||
#: fields/text.php:148 fields/textarea.php:145 fields/true_false.php:115
|
||||
#: fields/url.php:117 fields/wysiwyg.php:376
|
||||
#: fields/url.php:117 fields/wysiwyg.php:379
|
||||
msgid "Default Value"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1481,15 +1492,16 @@ msgid "Show a different month"
|
|||
msgstr ""
|
||||
|
||||
#: fields/date_picker.php:174
|
||||
msgid "Display format"
|
||||
msgid "Display Format"
|
||||
msgstr ""
|
||||
|
||||
#: fields/date_picker.php:175
|
||||
msgid "The format displayed when editing a post"
|
||||
msgstr ""
|
||||
|
||||
#: fields/date_picker.php:189
|
||||
msgid "Return format"
|
||||
#: fields/date_picker.php:189 fields/post_object.php:426
|
||||
#: fields/relationship.php:763
|
||||
msgid "Return Format"
|
||||
msgstr ""
|
||||
|
||||
#: fields/date_picker.php:190
|
||||
|
|
@ -1506,7 +1518,7 @@ msgstr ""
|
|||
|
||||
#: fields/email.php:125 fields/number.php:151 fields/radio.php:223
|
||||
#: fields/text.php:149 fields/textarea.php:146 fields/url.php:118
|
||||
#: fields/wysiwyg.php:377
|
||||
#: fields/wysiwyg.php:380
|
||||
msgid "Appears when creating a new post"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1552,20 +1564,18 @@ msgstr ""
|
|||
msgid "Update File"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:49 pro/fields/gallery.php:55
|
||||
msgid "uploaded to this post"
|
||||
#: fields/file.php:49 fields/image.php:54 pro/fields/gallery.php:55
|
||||
msgid "Uploaded to this post"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:142
|
||||
msgid "File Name"
|
||||
msgid "File name"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:146
|
||||
msgid "File Size"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:169
|
||||
msgid "No File selected"
|
||||
#: fields/file.php:146 fields/file.php:247 fields/file.php:258
|
||||
#: fields/image.php:262 fields/image.php:295 pro/fields/gallery.php:692
|
||||
#: pro/fields/gallery.php:725
|
||||
msgid "File size"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:169
|
||||
|
|
@ -1612,11 +1622,6 @@ msgstr ""
|
|||
msgid "Restrict which files can be uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:247 fields/file.php:258 fields/image.php:262
|
||||
#: fields/image.php:295 pro/fields/gallery.php:692 pro/fields/gallery.php:725
|
||||
msgid "File size"
|
||||
msgstr ""
|
||||
|
||||
#: fields/file.php:254 fields/image.php:272 pro/fields/gallery.php:702
|
||||
msgid "Maximum"
|
||||
msgstr ""
|
||||
|
|
@ -1698,10 +1703,6 @@ msgstr ""
|
|||
msgid "Update Image"
|
||||
msgstr ""
|
||||
|
||||
#: fields/image.php:54
|
||||
msgid "Uploaded to this post"
|
||||
msgstr ""
|
||||
|
||||
#: fields/image.php:55
|
||||
msgid "All images"
|
||||
msgstr ""
|
||||
|
|
@ -1865,10 +1866,6 @@ msgstr ""
|
|||
msgid "Post Object"
|
||||
msgstr ""
|
||||
|
||||
#: fields/post_object.php:426 fields/relationship.php:763
|
||||
msgid "Return Format"
|
||||
msgstr ""
|
||||
|
||||
#: fields/post_object.php:432 fields/relationship.php:769
|
||||
msgid "Post ID"
|
||||
msgstr ""
|
||||
|
|
@ -2078,6 +2075,10 @@ msgstr ""
|
|||
msgid "%s added"
|
||||
msgstr ""
|
||||
|
||||
#: fields/taxonomy.php:988
|
||||
msgid "Parent"
|
||||
msgstr ""
|
||||
|
||||
#: fields/taxonomy.php:999
|
||||
msgid "Add"
|
||||
msgstr ""
|
||||
|
|
@ -2134,43 +2135,51 @@ msgstr ""
|
|||
msgid "Wysiwyg Editor"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:328
|
||||
#: fields/wysiwyg.php:331
|
||||
msgid "Visual"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:329
|
||||
#: fields/wysiwyg.php:332
|
||||
msgctxt "Name for the Text editor tab (formerly HTML)"
|
||||
msgid "Text"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:385
|
||||
#: fields/wysiwyg.php:388
|
||||
msgid "Tabs"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:390
|
||||
#: fields/wysiwyg.php:393
|
||||
msgid "Visual & Text"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:391
|
||||
#: fields/wysiwyg.php:394
|
||||
msgid "Visual Only"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:392
|
||||
#: fields/wysiwyg.php:395
|
||||
msgid "Text Only"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:399
|
||||
#: fields/wysiwyg.php:402
|
||||
msgid "Toolbar"
|
||||
msgstr ""
|
||||
|
||||
#: fields/wysiwyg.php:409
|
||||
#: fields/wysiwyg.php:412
|
||||
msgid "Show Media Upload Buttons?"
|
||||
msgstr ""
|
||||
|
||||
#: forms/post.php:294 pro/admin/options-page.php:352
|
||||
#: forms/post.php:294 pro/admin/options-page.php:416
|
||||
msgid "Edit field group"
|
||||
msgstr ""
|
||||
|
||||
#: forms/widget.php:239
|
||||
#, php-format
|
||||
msgid "1 field requires attention."
|
||||
msgid_plural "%d fields require attention."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
#: pro/acf-pro.php:24
|
||||
msgid "Advanced Custom Fields PRO"
|
||||
msgstr ""
|
||||
|
|
@ -2179,23 +2188,27 @@ msgstr ""
|
|||
msgid "Flexible Content requires at least 1 layout"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/options-page.php:48
|
||||
#: pro/admin/options-page.php:49
|
||||
msgid "Options Page"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/options-page.php:83
|
||||
#: pro/admin/options-page.php:85
|
||||
msgid "No options pages exist"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/options-page.php:276
|
||||
#: pro/admin/options-page.php:303
|
||||
msgid "Options Updated"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/options-page.php:282
|
||||
#: pro/admin/options-page.php:309
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/options-page.php:315
|
||||
msgid "No Custom Field Groups found for this options page"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/options-page.php:282
|
||||
#: pro/admin/options-page.php:315
|
||||
msgid "Create a Custom Field Group"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2207,14 +2220,6 @@ msgstr ""
|
|||
msgid "<b>Connection Error</b>. Sorry, please try again"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/views/options-page.php:44
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/views/options-page.php:50
|
||||
msgid "Save Options"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/views/settings-updates.php:11
|
||||
msgid "Deactivate License"
|
||||
msgstr ""
|
||||
|
|
@ -2224,7 +2229,7 @@ msgid "Activate License"
|
|||
msgstr ""
|
||||
|
||||
#: pro/admin/views/settings-updates.php:21
|
||||
msgid "License"
|
||||
msgid "License Information"
|
||||
msgstr ""
|
||||
|
||||
#: pro/admin/views/settings-updates.php:24
|
||||
|
|
@ -2506,10 +2511,6 @@ msgstr ""
|
|||
msgid "Maximum Rows"
|
||||
msgstr ""
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
msgid "Advanced Custom Fields Pro"
|
||||
msgstr ""
|
||||
|
||||
#. Plugin URI of the plugin/theme
|
||||
msgid "http://www.advancedcustomfields.com/"
|
||||
msgstr ""
|
||||
|
|
@ -2519,7 +2520,7 @@ msgid "Customise WordPress with powerful, professional and intuitive fields"
|
|||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "elliot condon"
|
||||
msgid "Elliot Condon"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ class acf_pro_options_page {
|
|||
add_filter( 'acf/location/rule_types', array($this, 'rule_types'), 10, 1 );
|
||||
add_filter( 'acf/location/rule_values/options_page', array($this, 'rule_values'), 10, 1 );
|
||||
add_filter( 'acf/location/rule_match/options_page', array($this, 'rule_match'), 10, 3 );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -48,6 +49,7 @@ class acf_pro_options_page {
|
|||
$choices[ __("Forms",'acf') ]['options_page'] = __("Options Page",'acf');
|
||||
|
||||
return $choices;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -244,8 +246,33 @@ class acf_pro_options_page {
|
|||
|
||||
|
||||
// actions
|
||||
add_action( 'acf/input/admin_enqueue_scripts', array($this,'admin_enqueue_scripts') );
|
||||
add_action( 'acf/input/admin_head', array($this,'admin_head') );
|
||||
|
||||
|
||||
// add columns support
|
||||
add_screen_option('layout_columns', array('max' => 2, 'default' => 2));
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* admin_enqueue_scripts
|
||||
*
|
||||
* This function will enqueue the 'post.js' script which adds support for 'Screen Options' column toggle
|
||||
*
|
||||
* @type function
|
||||
* @date 23/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $post_id (int)
|
||||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function admin_enqueue_scripts() {
|
||||
|
||||
wp_enqueue_script('post');
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -277,6 +304,12 @@ class acf_pro_options_page {
|
|||
|
||||
}
|
||||
|
||||
|
||||
// add submit div
|
||||
add_meta_box('submitdiv', __('Publish','acf'), array($this, 'postbox_submitdiv'), 'acf_options_page', 'side', 'high');
|
||||
|
||||
|
||||
|
||||
if( empty($field_groups) ) {
|
||||
|
||||
acf_add_admin_notice(__("No Custom Field Groups found for this options page",'acf') . '. <a href="' . admin_url() . 'post-new.php?post_type=acf-field-group">' . __("Create a Custom Field Group",'acf') . '</a>', 'error');
|
||||
|
|
@ -310,7 +343,7 @@ class acf_pro_options_page {
|
|||
|
||||
|
||||
// add meta box
|
||||
add_meta_box( $id, $title, array($this, 'render_meta_box'), 'acf_options_page', $context, $priority, $args );
|
||||
add_meta_box( $id, $title, array($this, 'postbox_acf'), 'acf_options_page', $context, $priority, $args );
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -322,6 +355,37 @@ class acf_pro_options_page {
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* postbox_submitdiv
|
||||
*
|
||||
* This function will render the submitdiv metabox
|
||||
*
|
||||
* @type function
|
||||
* @date 23/03/2016
|
||||
* @since 5.3.2
|
||||
*
|
||||
* @param $post_id (int)
|
||||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function postbox_submitdiv( $post, $args ) {
|
||||
|
||||
?>
|
||||
<div id="major-publishing-actions">
|
||||
|
||||
<div id="publishing-action">
|
||||
<span class="spinner"></span>
|
||||
<input type="submit" accesskey="p" value="<?php echo $this->page['update_button']; ?>" class="button button-primary button-large" id="publish" name="publish">
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* render_meta_box
|
||||
*
|
||||
|
|
@ -335,7 +399,7 @@ class acf_pro_options_page {
|
|||
* @return $post_id (int)
|
||||
*/
|
||||
|
||||
function render_meta_box( $post, $args ) {
|
||||
function postbox_acf( $post, $args ) {
|
||||
|
||||
// extract args
|
||||
extract( $args ); // all variables from the add_meta_box function
|
||||
|
|
|
|||
|
|
@ -18,47 +18,24 @@ extract($args);
|
|||
'nonce' => 'options',
|
||||
));
|
||||
|
||||
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
||||
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
||||
|
||||
?>
|
||||
|
||||
<div id="poststuff">
|
||||
|
||||
<div id="post-body" class="metabox-holder columns-2">
|
||||
<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
|
||||
|
||||
<!-- Main -->
|
||||
<div id="post-body-content">
|
||||
<div id="postbox-container-1" class="postbox-container">
|
||||
|
||||
<?php do_meta_boxes('acf_options_page', 'normal', null); ?>
|
||||
<?php do_meta_boxes('acf_options_page', 'side', null); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div id="postbox-container-1" class="postbox-container">
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
|
||||
<div id="side-sortables" class="meta-box-sortables ui-sortable">
|
||||
|
||||
<!-- Update -->
|
||||
<div id="submitdiv" class="postbox">
|
||||
|
||||
<h3 class="hndle" style="border-bottom:none;"><span><?php _e("Publish",'acf'); ?></span></h3>
|
||||
|
||||
<div id="major-publishing-actions">
|
||||
|
||||
<div id="publishing-action">
|
||||
<span class="spinner"></span>
|
||||
<input type="submit" accesskey="p" value="<?php _e("Save Options",'acf'); ?>" class="button button-primary button-large" id="publish" name="publish">
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php do_meta_boxes('acf_options_page', 'side', null); ?>
|
||||
|
||||
</div>
|
||||
<?php do_meta_boxes('acf_options_page', 'normal', null); ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -71,44 +48,3 @@ extract($args);
|
|||
</form>
|
||||
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
|
||||
acf.options_page = acf.model.extend({
|
||||
|
||||
events: {
|
||||
'click .postbox .handlediv, .postbox .hndle': 'toggle',
|
||||
},
|
||||
|
||||
toggle : function( e ){
|
||||
|
||||
var postbox = e.$el.closest('.postbox');
|
||||
|
||||
if( postbox.hasClass('closed') ) {
|
||||
|
||||
postbox.removeClass('closed');
|
||||
|
||||
} else {
|
||||
|
||||
postbox.addClass('closed');
|
||||
|
||||
}
|
||||
|
||||
|
||||
// get all closed postboxes
|
||||
var closed = $('.postbox').filter('.closed').map(function() { return this.id; }).get().join(',');
|
||||
|
||||
$.post(ajaxurl, {
|
||||
action: 'closed-postboxes',
|
||||
closed: closed,
|
||||
closedpostboxesnonce: $('#closedpostboxesnonce').val(),
|
||||
page: 'acf_options_page'
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
})(jQuery);
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@ $readonly = $active ? 1 : 0;
|
|||
|
||||
<div class="acf-box">
|
||||
<div class="title">
|
||||
<h3><?php echo acf_get_setting('name'); ?> <?php _e('License','acf') ?></h3>
|
||||
<h3><?php _e('License Information', 'acf'); ?></h3>
|
||||
</div>
|
||||
<div class="inner">
|
||||
<p><?php _e("To unlock updates, please enter your license key below. If you don't have a licence key, please see",'acf'); ?> <a href="http://www.advancedcustomfields.com/pro" target="_blank"><?php _e('details & pricing', 'acf'); ?></a></p>
|
||||
<p><?php _e("To unlock updates, please enter your license key below. If you don't have a licence key, please see",'acf'); ?> <a href="https://www.advancedcustomfields.com/pro" target="_blank"><?php _e('details & pricing', 'acf'); ?></a></p>
|
||||
<form action="" method="post">
|
||||
<div class="acf-hidden">
|
||||
<input type="hidden" name="_acfnonce" value="<?php echo wp_create_nonce( $nonce ); ?>" />
|
||||
|
|
|
|||
|
|
@ -46,7 +46,8 @@ function acf_get_valid_options_page( $page = '' ) {
|
|||
'icon_url' => false,
|
||||
'redirect' => true,
|
||||
'post_id' => 'options',
|
||||
'autoload' => false
|
||||
'autoload' => false,
|
||||
'update_button' => __('Update', 'acf')
|
||||
));
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class acf_field_gallery extends acf_field {
|
|||
'select' => __("Add Image to Gallery",'acf'),
|
||||
'edit' => __("Edit Image",'acf'),
|
||||
'update' => __("Update Image",'acf'),
|
||||
'uploadedTo' => __("uploaded to this post",'acf'),
|
||||
'uploadedTo' => __("Uploaded to this post",'acf'),
|
||||
'max' => __("Maximum selection reached",'acf')
|
||||
);
|
||||
|
||||
|
|
|
|||
10
readme.txt
10
readme.txt
|
|
@ -106,6 +106,14 @@ http://support.advancedcustomfields.com/
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 5.3.7 =
|
||||
* Options page: Added new 'update_button' setting to modify update button text
|
||||
* Options page: Added columns support (Screen Options)
|
||||
* Core: Added widget preview / save compatibility with the customizer
|
||||
* Core: Minor fixes and improvements
|
||||
* Language: Updated German translation - thanks to Ralf Koller
|
||||
* Language: Updated French Translation - thanks to Maxime Bernard-Jacquet
|
||||
|
||||
= 5.3.6.1 =
|
||||
* Flexible Content field: Fixed PHP error in 'acf/fields/flexible_content/layout_title' filter (when used as a sub field)
|
||||
* Core: Fixed bug causing `get_field()` to load from the incorrect post (when within a custom WP_Query loop)
|
||||
|
|
@ -992,7 +1000,7 @@ http://support.advancedcustomfields.com/
|
|||
= 3.3.8 =
|
||||
* [Added] Gallery field { auto add image on upload, new style to show already added images
|
||||
* [Fixed] Fix saving value issue with WP e-commerce http://support.advancedcustomfields.com/discussion/comment/7026#Comment_7026
|
||||
* [Updated] Date picker field { new display format option (different from save format), UI overhaul
|
||||
* [Updated] Date picker field { new Display Format option (different from save format), UI overhaul
|
||||
* [Added] Add new field - Number
|
||||
* [Fixed] Test post object / select based fields for saving empty value - http://support.advancedcustomfields.com/discussion/2759/post-object-and-conditional-statement
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue