Advanced Custom Fields - Version 3.1.8

Version Description

  • Options page fields now save their data in the wp_options table. This will require a "Database Upgrade" when you update ACF. This upgrade will move your Options page data from the postmeta table to the options table.
  • Added e() and _() functions to more text throughout plugin
  • Added new French translation. Thanks to Martin Vauchel @littlbr http://littleboyrunning.com
  • Fixed duplicate WYSIWYG in chrome bug
  • New Location rules: add fields to a user / taxonomy / attachment
  • Bug Fix: Color picker now shows color on page load. Thanks to Kev http://www.popcreative.co.uk
  • CSS tweaks File clearfix, new style for selects with optgroups
  • Simplified get_value to return default value if value =
Download this release

Release Info

Developer elliotcondon
Plugin Icon 128x128 Advanced Custom Fields
Version 3.1.8
Comparing to
See all releases

Code changes from version 3.1.7 to 3.1.8

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 and more!
6
- Version: 3.1.7
7
  Author: Elliot Condon
8
  Author URI: http://www.elliotcondon.com/
9
  License: GPL
@@ -45,8 +45,8 @@ class Acf
45
  $this->dir = plugins_url('',__FILE__);
46
  $this->siteurl = get_bloginfo('url');
47
  $this->wpadminurl = admin_url();
48
- $this->version = '3.1.7';
49
- $this->upgrade_version = '3.0.0'; // this is the latest version which requires an upgrade
50
 
51
 
52
  // set text domain
@@ -55,6 +55,7 @@ class Acf
55
 
56
  // load options page
57
  $this->setup_options_page();
 
58
 
59
  // actions
60
  add_filter('pre_get_posts', array($this, 'pre_get_posts'));
@@ -73,6 +74,13 @@ class Acf
73
  add_action('wp_ajax_acf_input', array($this, 'ajax_acf_input'));
74
  add_action('wp_ajax_acf_location', array($this, 'ajax_acf_location'));
75
 
 
 
 
 
 
 
 
76
  return true;
77
  }
78
 
@@ -196,7 +204,23 @@ class Acf
196
 
197
  /*--------------------------------------------------------------------------------------
198
  *
199
- * admin_menu
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  *
201
  * @author Elliot Condon
202
  * @since 1.0.0
@@ -207,8 +231,8 @@ class Acf
207
 
208
  // add acf page to options menu
209
  add_utility_page(__("Custom Fields",'acf'), __("Custom Fields",'acf'), 'manage_options', 'edit.php?post_type=acf');
210
- add_submenu_page('edit.php?post_type=acf', __('Settings','wp3i'), __('Settings','wp3i'), 'manage_options','acf-settings',array($this,'admin_page_settings'));
211
- add_submenu_page('edit.php?post_type=acf', __('Upgrade','wp3i'), __('Upgrade','wp3i'), 'manage_options','acf-upgrade',array($this,'admin_page_upgrade'));
212
 
213
  }
214
 
@@ -272,10 +296,9 @@ class Acf
272
  }
273
 
274
 
275
-
276
  /*--------------------------------------------------------------------------------------
277
  *
278
- * admin_print_scripts / admin_print_styles
279
  *
280
  * @author Elliot Condon
281
  * @since 3.0.0
@@ -297,19 +320,26 @@ class Acf
297
  {
298
  // remove autosave from acf post type
299
  wp_dequeue_script( 'autosave' );
 
300
  }
301
  else
302
  {
303
- // fields admin_head
304
- foreach($this->fields as $field)
305
- {
306
- $this->fields[$field->name]->admin_print_scripts();
307
- }
308
  }
309
  }
310
 
311
  }
312
 
 
 
 
 
 
 
 
 
 
 
313
  function admin_print_styles() {
314
 
315
  // thickbox
@@ -322,21 +352,53 @@ class Acf
322
  {
323
  if($GLOBALS['post_type'] == 'acf')
324
  {
325
- // hmmm
326
  }
327
  else
328
  {
329
- // fields admin_head
330
- foreach($this->fields as $field)
331
- {
332
- $this->fields[$field->name]->admin_print_styles();
333
- }
334
  }
335
  }
336
 
337
  }
338
 
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  /*--------------------------------------------------------------------------------------
341
  *
342
  * admin_head
@@ -360,79 +422,110 @@ class Acf
360
 
361
 
362
  // only add to edit pages
363
- if(in_array($pagenow, array('post.php', 'post-new.php')))
364
  {
365
- // edit field
366
- if($GLOBALS['post_type'] == 'acf')
367
- {
368
- echo '<script type="text/javascript" src="'.$this->dir.'/js/fields.js?ver=' . $this->version . '" ></script>';
369
- echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/global.css?ver=' . $this->version . '" />';
370
- echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/fields.css?ver=' . $this->version . '" />';
371
-
372
- add_meta_box('acf_fields', 'Fields', array($this, 'meta_box_fields'), 'acf', 'normal', 'high');
373
- add_meta_box('acf_location', 'Location </span><span class="description">- Add Fields to Edit Screens', array($this, 'meta_box_location'), 'acf', 'normal', 'high');
374
- add_meta_box('acf_options', 'Options</span><span class="description">- Customise the edit page', array($this, 'meta_box_options'), 'acf', 'normal', 'high');
375
-
376
- }
377
- else
378
- {
379
 
380
- // find post type and add wysiwyg support
381
- $post_type = get_post_type($post);
382
 
383
- // get style for page
384
- $metabox_ids = $this->get_input_metabox_ids(array('post_id' => $post->ID), false);
385
- $style = isset($metabox_ids[0]) ? $this->get_input_style($metabox_ids[0]) : '';
386
- echo '<style type="text/css" id="acf_style" >' .$style . '</style>';
387
-
388
- // fields admin_head
389
- foreach($this->fields as $field)
390
- {
391
- $this->fields[$field->name]->admin_head();
392
- }
393
-
394
- // Style
395
- echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/global.css?ver=' . $this->version . '" />';
396
- echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/input.css?ver=' . $this->version . '" />';
397
- echo '<style type="text/css">.acf_postbox, .postbox[id*="acf_"] { display: none; }</style>';
398
-
399
- // find user editor setting
400
- $user = wp_get_current_user();
401
- $editor_mode = get_user_setting('editor', 'tinymce');
402
-
403
- // Javascript
404
- echo '<script type="text/javascript" src="'.$this->dir.'/js/input-actions.js?ver=' . $this->version . '" ></script>';
405
- echo '<script type="text/javascript" src="'.$this->dir.'/js/input-ajax.js?ver=' . $this->version . '" ></script>';
406
- echo '<script type="text/javascript">
407
- acf.validation_message = "' . __("Validation Failed. One or more fields below are required.",'acf') . '";
408
- acf.post_id = ' . $post->ID . ';
409
- acf.editor_mode = "' . $editor_mode . '";
410
- acf.admin_url = "' . admin_url() . '";
411
- </script>';
412
-
413
- // get acf's
414
- $acfs = $this->get_field_groups();
415
- if($acfs)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
416
  {
417
- foreach($acfs as $acf)
418
- {
419
- // hide / show
420
- $show = in_array($acf['id'], $metabox_ids) ? "true" : "false";
421
-
422
- // add meta box
423
- add_meta_box(
424
- 'acf_' . $acf['id'],
425
- $acf['title'],
426
- array($this, 'meta_box_input'),
427
- $post_type,
428
- $acf['options']['position'],
429
- 'high',
430
- array( 'fields' => $acf['fields'], 'options' => $acf['options'], 'show' => $show )
431
- );
432
- }
433
  }
434
  }
435
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
436
  }
437
 
438
 
@@ -1174,13 +1267,21 @@ class Acf
1174
  *
1175
  *-------------------------------------------------------------------------------------*/
1176
 
1177
- function match_location_rule($post, $rule, $overrides = array())
1178
  {
1179
-
 
1180
  if(!$post)
1181
  {
1182
- // post is false! that's okay if the rule is for user_type or options_page
1183
- if($rule['param'] != 'user_type' && $rule['param'] != 'options_page')
 
 
 
 
 
 
 
1184
  {
1185
  return false;
1186
  }
@@ -1550,7 +1651,102 @@ class Acf
1550
 
1551
 
1552
  break;
1553
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1554
  }
1555
 
1556
  }
@@ -1577,6 +1773,9 @@ class Acf
1577
  case 'flexible_content':
1578
  if(md5($this->get_license_key($field_name)) == "d067e06c2b4b32b1c1f5b6f00e0d61d6"){ return true; }else{ return false; }
1579
  break;
 
 
 
1580
  }
1581
  }
1582
 
@@ -1825,7 +2024,7 @@ class Acf
1825
 
1826
  if($field['required'] == "1")
1827
  {
1828
- $required_class = ' required';
1829
  $required_label = ' <span class="required">*</span>';
1830
  }
1831
 
@@ -1878,7 +2077,7 @@ class Acf
1878
  {
1879
  $options['param'] = "page";
1880
  }
1881
-
1882
 
1883
  $choices = array();
1884
  $optgroup = false;
@@ -1920,8 +2119,8 @@ class Acf
1920
  case "page_type" :
1921
 
1922
  $choices = array(
1923
- 'parent' => 'Parent Page',
1924
- 'child' => 'Child Page',
1925
  );
1926
 
1927
  break;
@@ -1929,7 +2128,7 @@ class Acf
1929
  case "page_template" :
1930
 
1931
  $choices = array(
1932
- 'default' => 'Default Template',
1933
  );
1934
 
1935
  $templates = get_page_templates();
@@ -1964,16 +2163,6 @@ class Acf
1964
 
1965
  case "post_format" :
1966
 
1967
- /*$choices = array(
1968
- '0' => 'Standard',
1969
- 'aside' => 'Aside',
1970
- 'link' => 'Link',
1971
- 'gallery' => 'Gallery',
1972
- 'status' => 'Status',
1973
- 'quote' => 'Quote',
1974
- 'image' => 'Image',
1975
- );*/
1976
-
1977
  $choices = get_post_format_strings();
1978
 
1979
  break;
@@ -2010,6 +2199,40 @@ class Acf
2010
  $optgroup = true;
2011
 
2012
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2013
 
2014
  }
2015
 
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 and more!
6
+ Version: 3.1.8
7
  Author: Elliot Condon
8
  Author URI: http://www.elliotcondon.com/
9
  License: GPL
45
  $this->dir = plugins_url('',__FILE__);
46
  $this->siteurl = get_bloginfo('url');
47
  $this->wpadminurl = admin_url();
48
+ $this->version = '3.1.8';
49
+ $this->upgrade_version = '3.1.8'; // this is the latest version which requires an upgrade
50
 
51
 
52
  // set text domain
55
 
56
  // load options page
57
  $this->setup_options_page();
58
+ $this->setup_everything_fields();
59
 
60
  // actions
61
  add_filter('pre_get_posts', array($this, 'pre_get_posts'));
74
  add_action('wp_ajax_acf_input', array($this, 'ajax_acf_input'));
75
  add_action('wp_ajax_acf_location', array($this, 'ajax_acf_location'));
76
 
77
+
78
+ // custom actions (added in 3.1.8)
79
+ add_action('acf_head-input', array($this, 'acf_head_input'));
80
+ add_action('acf_print_scripts-input', array($this, 'acf_print_scripts_input'));
81
+ add_action('acf_print_styles-input', array($this, 'acf_print_styles_input'));
82
+
83
+
84
  return true;
85
  }
86
 
204
 
205
  /*--------------------------------------------------------------------------------------
206
  *
207
+ * setup_everything_fields
208
+ *
209
+ * @author Elliot Condon
210
+ * @since 3.1.8
211
+ *
212
+ *-------------------------------------------------------------------------------------*/
213
+
214
+ function setup_everything_fields()
215
+ {
216
+ include_once('core/everything_fields.php');
217
+ $this->everything_fields = new Everything_fields($this);
218
+ }
219
+
220
+
221
+ /*--------------------------------------------------------------------------------------
222
+ *
223
+ * acf
224
  *
225
  * @author Elliot Condon
226
  * @since 1.0.0
231
 
232
  // add acf page to options menu
233
  add_utility_page(__("Custom Fields",'acf'), __("Custom Fields",'acf'), 'manage_options', 'edit.php?post_type=acf');
234
+ add_submenu_page('edit.php?post_type=acf', __('Settings','acf'), __('Settings','acf'), 'manage_options','acf-settings',array($this,'admin_page_settings'));
235
+ add_submenu_page('edit.php?post_type=acf', __('Upgrade','acf'), __('Upgrade','acf'), 'manage_options','acf-upgrade',array($this,'admin_page_upgrade'));
236
 
237
  }
238
 
296
  }
297
 
298
 
 
299
  /*--------------------------------------------------------------------------------------
300
  *
301
+ * admin_print_scripts
302
  *
303
  * @author Elliot Condon
304
  * @since 3.0.0
320
  {
321
  // remove autosave from acf post type
322
  wp_dequeue_script( 'autosave' );
323
+ do_action('acf_print_scripts-fields');
324
  }
325
  else
326
  {
327
+ do_action('acf_print_scripts-input');
 
 
 
 
328
  }
329
  }
330
 
331
  }
332
 
333
+
334
+ /*--------------------------------------------------------------------------------------
335
+ *
336
+ * admin_print_styles
337
+ *
338
+ * @author Elliot Condon
339
+ * @since 3.0.0
340
+ *
341
+ *-------------------------------------------------------------------------------------*/
342
+
343
  function admin_print_styles() {
344
 
345
  // thickbox
352
  {
353
  if($GLOBALS['post_type'] == 'acf')
354
  {
355
+ do_action('acf_print_styles-fields');
356
  }
357
  else
358
  {
359
+ do_action('acf_print_styles-input');
 
 
 
 
360
  }
361
  }
362
 
363
  }
364
 
365
 
366
+ /*--------------------------------------------------------------------------------------
367
+ *
368
+ * acf_print_scripts
369
+ *
370
+ * @author Elliot Condon
371
+ * @since 3.1.8
372
+ *
373
+ *-------------------------------------------------------------------------------------*/
374
+
375
+ function acf_print_scripts_input()
376
+ {
377
+ foreach($this->fields as $field)
378
+ {
379
+ $this->fields[$field->name]->admin_print_scripts();
380
+ }
381
+ }
382
+
383
+
384
+ /*--------------------------------------------------------------------------------------
385
+ *
386
+ * acf_print_styles
387
+ *
388
+ * @author Elliot Condon
389
+ * @since 3.1.8
390
+ *
391
+ *-------------------------------------------------------------------------------------*/
392
+
393
+ function acf_print_styles_input()
394
+ {
395
+ foreach($this->fields as $field)
396
+ {
397
+ $this->fields[$field->name]->admin_print_styles();
398
+ }
399
+ }
400
+
401
+
402
  /*--------------------------------------------------------------------------------------
403
  *
404
  * admin_head
422
 
423
 
424
  // only add to edit pages
425
+ if( !in_array($pagenow, array('post.php', 'post-new.php')) )
426
  {
427
+ return false;
428
+ }
 
 
 
 
 
 
 
 
 
 
 
 
429
 
 
 
430
 
431
+ // edit field
432
+ if($GLOBALS['post_type'] == 'acf')
433
+ {
434
+
435
+ // add acf fields js + css
436
+ echo '<script type="text/javascript" src="'.$this->dir.'/js/fields.js?ver=' . $this->version . '" ></script>';
437
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/global.css?ver=' . $this->version . '" />';
438
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/fields.css?ver=' . $this->version . '" />';
439
+
440
+
441
+ // add user js + css
442
+ do_action('acf_head-fields');
443
+
444
+
445
+ // add metaboxes
446
+ add_meta_box('acf_fields', __("Fields",'acf'), array($this, 'meta_box_fields'), 'acf', 'normal', 'high');
447
+ add_meta_box('acf_location', __("Location",'acf') . ' </span><span class="description">- ' . __("Add Fields to Edit Screens",'acf'), array($this, 'meta_box_location'), 'acf', 'normal', 'high');
448
+ add_meta_box('acf_options', __("Options",'acf') . '</span><span class="description">- ' . __("Customise the edit page",'acf'), array($this, 'meta_box_options'), 'acf', 'normal', 'high');
449
+
450
+ }
451
+ else
452
+ {
453
+
454
+ // get style for page
455
+ $metabox_ids = $this->get_input_metabox_ids(array('post_id' => $post->ID), false);
456
+ $style = isset($metabox_ids[0]) ? $this->get_input_style($metabox_ids[0]) : '';
457
+ echo '<style type="text/css" id="acf_style" >' .$style . '</style>';
458
+
459
+
460
+ // Style
461
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/global.css?ver=' . $this->version . '" />';
462
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->dir.'/css/input.css?ver=' . $this->version . '" />';
463
+ echo '<style type="text/css">.acf_postbox, .postbox[id*="acf_"] { display: none; }</style>';
464
+
465
+
466
+ // find user editor setting
467
+ $user = wp_get_current_user();
468
+ $editor_mode = get_user_setting('editor', 'tinymce');
469
+
470
+
471
+ // Javascript
472
+ echo '<script type="text/javascript" src="'.$this->dir.'/js/input-actions.js?ver=' . $this->version . '" ></script>';
473
+ echo '<script type="text/javascript" src="'.$this->dir.'/js/input-ajax.js?ver=' . $this->version . '" ></script>';
474
+ echo '<script type="text/javascript">
475
+ acf.validation_message = "' . __("Validation Failed. One or more fields below are required.",'acf') . '";
476
+ acf.post_id = ' . $post->ID . ';
477
+ acf.editor_mode = "' . $editor_mode . '";
478
+ acf.admin_url = "' . admin_url() . '";
479
+ </script>';
480
+
481
+
482
+ // add user js + css
483
+ do_action('acf_head-input');
484
+
485
+
486
+ // get acf's
487
+ $acfs = $this->get_field_groups();
488
+ if($acfs)
489
+ {
490
+ foreach($acfs as $acf)
491
  {
492
+ // hide / show
493
+ $show = in_array($acf['id'], $metabox_ids) ? "true" : "false";
494
+
495
+ // add meta box
496
+ add_meta_box(
497
+ 'acf_' . $acf['id'],
498
+ $acf['title'],
499
+ array($this, 'meta_box_input'),
500
+ $post_type,
501
+ $acf['options']['position'],
502
+ 'high',
503
+ array( 'fields' => $acf['fields'], 'options' => $acf['options'], 'show' => $show, 'post_id' => $post->ID )
504
+ );
 
 
 
505
  }
506
  }
507
  }
508
+
509
+ }
510
+
511
+
512
+ /*--------------------------------------------------------------------------------------
513
+ *
514
+ * acf_head_input
515
+ *
516
+ * This is fired from an action: acf_head-input
517
+ *
518
+ * @author Elliot Condon
519
+ * @since 3.0.6
520
+ *
521
+ *-------------------------------------------------------------------------------------*/
522
+
523
+ function acf_head_input()
524
+ {
525
+ foreach($this->fields as $field)
526
+ {
527
+ $this->fields[$field->name]->admin_head();
528
+ }
529
  }
530
 
531
 
1267
  *
1268
  *-------------------------------------------------------------------------------------*/
1269
 
1270
+ function match_location_rule($post = null, $rule = array(), $overrides = array())
1271
  {
1272
+
1273
+ // no post? Thats okay if you are one of the bellow exceptions. Otherwise, return false
1274
  if(!$post)
1275
  {
1276
+ $exceptions = array(
1277
+ 'user_type',
1278
+ 'options_page',
1279
+ 'ef_taxonomy',
1280
+ 'ef_user',
1281
+ 'ef_media',
1282
+ );
1283
+
1284
+ if( !in_array($rule['param'], $exceptions) )
1285
  {
1286
  return false;
1287
  }
1651
 
1652
 
1653
  break;
1654
+
1655
+ // Everything Fields: Taxonomy
1656
+ case "ef_taxonomy":
1657
+
1658
+ if( !isset($overrides['ef_taxonomy']) )
1659
+ {
1660
+ return false;
1661
+ }
1662
+
1663
+ $ef_taxonomy = $overrides['ef_taxonomy'];
1664
+
1665
+ if($rule['operator'] == "==")
1666
+ {
1667
+ if( $ef_taxonomy == $rule['value'] || $rule['value'] == "all" )
1668
+ {
1669
+ return true;
1670
+ }
1671
+
1672
+ return false;
1673
+ }
1674
+ elseif($rule['operator'] == "!=")
1675
+ {
1676
+ if( $ef_taxonomy != $rule['value'] || $rule['value'] == "all" )
1677
+ {
1678
+ return true;
1679
+ }
1680
+
1681
+ return false;
1682
+ }
1683
+
1684
+
1685
+ break;
1686
+
1687
+ // Everything Fields: User
1688
+ case "ef_user":
1689
+
1690
+ if( !isset($overrides['ef_user']) )
1691
+ {
1692
+ return false;
1693
+ }
1694
+
1695
+ $ef_user = $overrides['ef_user'];
1696
+
1697
+ if($rule['operator'] == "==")
1698
+ {
1699
+ if( user_can($ef_user, $rule['value']) || $rule['value'] == "all" )
1700
+ {
1701
+ return true;
1702
+ }
1703
+
1704
+ return false;
1705
+ }
1706
+ elseif($rule['operator'] == "!=")
1707
+ {
1708
+ if( user_can($ef_user, $rule['value']) || $rule['value'] == "all" )
1709
+ {
1710
+ return true;
1711
+ }
1712
+
1713
+ return false;
1714
+ }
1715
+
1716
+
1717
+ break;
1718
+
1719
+ // Everything Fields: Media
1720
+ case "ef_media":
1721
+
1722
+ if( !isset($overrides['ef_media']) )
1723
+ {
1724
+ return false;
1725
+ }
1726
+
1727
+ $ef_media = $overrides['ef_media'];
1728
+
1729
+ if($rule['operator'] == "==")
1730
+ {
1731
+ if( $rule['value'] == "all" )
1732
+ {
1733
+ return true;
1734
+ }
1735
+
1736
+ return false;
1737
+ }
1738
+ elseif($rule['operator'] == "!=")
1739
+ {
1740
+ if( $rule['value'] == "all" )
1741
+ {
1742
+ return true;
1743
+ }
1744
+
1745
+ return false;
1746
+ }
1747
+
1748
+
1749
+ break;
1750
  }
1751
 
1752
  }
1773
  case 'flexible_content':
1774
  if(md5($this->get_license_key($field_name)) == "d067e06c2b4b32b1c1f5b6f00e0d61d6"){ return true; }else{ return false; }
1775
  break;
1776
+ case 'everything_fields':
1777
+ if(md5($this->get_license_key($field_name)) == "b6ecc9cd639f8f17d061b3eccad49b75"){ return true; }else{ return false; }
1778
+ break;
1779
  }
1780
  }
1781
 
2024
 
2025
  if($field['required'] == "1")
2026
  {
2027
+ $required_class = ' ' . __("required",'acf');
2028
  $required_label = ' <span class="required">*</span>';
2029
  }
2030
 
2077
  {
2078
  $options['param'] = "page";
2079
  }
2080
+
2081
 
2082
  $choices = array();
2083
  $optgroup = false;
2119
  case "page_type" :
2120
 
2121
  $choices = array(
2122
+ 'parent' => __("Parent Page",'acf'),
2123
+ 'child' => __("Child Page",'acf'),
2124
  );
2125
 
2126
  break;
2128
  case "page_template" :
2129
 
2130
  $choices = array(
2131
+ 'default' => __("Default Template",'acf'),
2132
  );
2133
 
2134
  $templates = get_page_templates();
2163
 
2164
  case "post_format" :
2165
 
 
 
 
 
 
 
 
 
 
 
2166
  $choices = get_post_format_strings();
2167
 
2168
  break;
2199
  $optgroup = true;
2200
 
2201
  break;
2202
+
2203
+ case "ef_taxonomy" :
2204
+
2205
+ $choices = array('all' => 'All');
2206
+ $taxonomies = get_taxonomies( array('public' => true), 'objects' );
2207
+
2208
+ foreach($taxonomies as $taxonomy)
2209
+ {
2210
+ $choices[ $taxonomy->name ] = $taxonomy->labels->name;
2211
+ }
2212
+
2213
+ // unset post_format (why is this a public taxonomy?)
2214
+ if( isset($choices['post_format']) )
2215
+ {
2216
+ unset( $choices['post_format']) ;
2217
+ }
2218
+
2219
+
2220
+ break;
2221
+
2222
+ case "ef_user" :
2223
+
2224
+ global $wp_roles;
2225
+
2226
+ $choices = array_merge( array('all' => 'All'), $wp_roles->get_names() );
2227
+
2228
+ break;
2229
+
2230
+
2231
+ case "ef_media" :
2232
+
2233
+ $choices = array('all' => 'All');
2234
+
2235
+ break;
2236
 
2237
  }
2238
 
core/actions/init.php CHANGED
@@ -18,7 +18,7 @@ if($version)
18
  {
19
  if(version_compare($version,$this->upgrade_version) < 0)
20
  {
21
- $this->admin_message('<p>Advanced Custom Fields v' . $this->version . ' requires a database upgrade. Please <a href="http://codex.wordpress.org/Backing_Up_Your_Database">backup your database</a> then click <a href="' . admin_url() . 'edit.php?post_type=acf&page=acf-upgrade" class="button">Upgrade Database</a></p>');
22
 
23
  }
24
  }
@@ -44,15 +44,19 @@ if(isset($_POST['acf_field_deactivate']))
44
  //set message
45
  if($field == "repeater")
46
  {
47
- $message = "<p>Repeater field deactivated</p>";
48
  }
49
  elseif($field == "options_page")
50
  {
51
- $message = "<p>Options page deactivated</p>";
52
  }
53
  elseif($field == "flexible_content")
54
  {
55
- $message = "<p>Flexible Content field deactivated</p>";
 
 
 
 
56
  }
57
 
58
  // show message on page
@@ -80,23 +84,27 @@ if(isset($_POST['acf_field_deactivate']))
80
  //set message
81
  if($field == "repeater")
82
  {
83
- $message = "<p>Repeater field activated</p>";
84
  }
85
  elseif($field == "options_page")
86
  {
87
- $message = "<p>Options page activated</p>";
88
  }
89
  elseif($field == "flexible_content")
90
- {
91
- $message = "<p>Flexible Content field activated</p>";
92
- }
93
-
94
- $this->admin_message($message);
 
 
95
  }
96
  else
97
  {
98
- $this->admin_message('<p>License key unrecognised</p>', 'error');
99
- }
 
 
100
  }
101
 
102
  /*
@@ -110,10 +118,10 @@ $labels = array(
110
  'add_new_item' => __( 'Add New Field Group' , 'acf' ),
111
  'edit_item' => __( 'Edit Field Group' , 'acf' ),
112
  'new_item' => __( 'New Field Group' , 'acf' ),
113
- 'view_item' => __('View Field Group'),
114
- 'search_items' => __('Search Field Groups'),
115
- 'not_found' => __('No Field Groups found'),
116
- 'not_found_in_trash' => __('No Field Groups found in Trash'),
117
  );
118
 
119
  register_post_type('acf', array(
@@ -141,7 +149,7 @@ function acf_columns_filter($columns)
141
  {
142
  $columns = array(
143
  'cb' => '<input type="checkbox" />',
144
- 'title' => 'Title',
145
  );
146
  return $columns;
147
  }
18
  {
19
  if(version_compare($version,$this->upgrade_version) < 0)
20
  {
21
+ $this->admin_message('<p>' . __("Advanced Custom Fields",'acf') . 'v' . $this->version . ' ' . __("requires a database upgrade",'acf') .' (<a class="thickbox" href="' . admin_url() . 'plugin-install.php?tab=plugin-information&plugin=advanced-custom-fields&section=changelog&TB_iframe=true&width=640&height=559">' . __("why?",'acf') .'</a>). ' . __("Please",'acf') .' <a href="http://codex.wordpress.org/Backing_Up_Your_Database">' . __("backup your database",'acf') .'</a>, '. __("then click",'acf') . ' <a href="' . admin_url() . 'edit.php?post_type=acf&page=acf-upgrade" class="button">' . __("Upgrade Database",'acf') . '</a></p>');
22
 
23
  }
24
  }
44
  //set message
45
  if($field == "repeater")
46
  {
47
+ $message = '<p>' . __("Repeater field deactivated",'acf') . '</p>';
48
  }
49
  elseif($field == "options_page")
50
  {
51
+ $message = '<p>' . __("Options page deactivated",'acf') . '</p>';
52
  }
53
  elseif($field == "flexible_content")
54
  {
55
+ $message = '<p>' . __("Flexible Content field deactivated",'acf') . '</p>';
56
+ }
57
+ elseif($field == "everything_fields")
58
+ {
59
+ $message = '<p>' . __("Everything Fields deactivated",'acf') . '</p>';
60
  }
61
 
62
  // show message on page
84
  //set message
85
  if($field == "repeater")
86
  {
87
+ $message = '<p>' . __("Repeater field activated",'acf') . '</p>';
88
  }
89
  elseif($field == "options_page")
90
  {
91
+ $message = '<p>' . __("Options page activated",'acf') . '</p>';
92
  }
93
  elseif($field == "flexible_content")
94
+ {
95
+ $message = '<p>' . __("Flexible Content field activated",'acf') . '</p>';
96
+ }
97
+ elseif($field == "everything_fields")
98
+ {
99
+ $message = '<p>' . __("Everything Fields activated",'acf') . '</p>';
100
+ }
101
  }
102
  else
103
  {
104
+ $message = '<p>' . __("License key unrecognised",'acf') . '</p>';
105
+ }
106
+
107
+ $this->admin_message($message);
108
  }
109
 
110
  /*
118
  'add_new_item' => __( 'Add New Field Group' , 'acf' ),
119
  'edit_item' => __( 'Edit Field Group' , 'acf' ),
120
  'new_item' => __( 'New Field Group' , 'acf' ),
121
+ 'view_item' => __('View Field Group', 'acf'),
122
+ 'search_items' => __('Search Field Groups', 'acf'),
123
+ 'not_found' => __('No Field Groups found', 'acf'),
124
+ 'not_found_in_trash' => __('No Field Groups found in Trash', 'acf'),
125
  );
126
 
127
  register_post_type('acf', array(
149
  {
150
  $columns = array(
151
  'cb' => '<input type="checkbox" />',
152
+ 'title' => __("Title"),
153
  );
154
  return $columns;
155
  }
core/admin/meta_box_input.php CHANGED
@@ -4,6 +4,8 @@
4
  $fields = isset($args['args']['fields']) ? $args['args']['fields'] : false ;
5
  $options = isset($args['args']['options']) ? $args['args']['options'] : false;
6
  $show = isset($args['args']['show']) ? $args['args']['show'] : "false";
 
 
7
 
8
  // defaults
9
  if(!$options)
@@ -12,7 +14,7 @@ if(!$options)
12
  'layout' => 'default'
13
  );
14
  }
15
- $post_id = $post ? $post->ID : 999999999;
16
 
17
  if($fields)
18
  {
4
  $fields = isset($args['args']['fields']) ? $args['args']['fields'] : false ;
5
  $options = isset($args['args']['options']) ? $args['args']['options'] : false;
6
  $show = isset($args['args']['show']) ? $args['args']['show'] : "false";
7
+ $post_id = isset($args['args']['post_id']) ? $args['args']['post_id'] : false;
8
+
9
 
10
  // defaults
11
  if(!$options)
14
  'layout' => 'default'
15
  );
16
  }
17
+
18
 
19
  if($fields)
20
  {
core/admin/meta_box_location.php CHANGED
@@ -32,31 +32,47 @@ if(empty($location['rules']))
32
  <?php foreach($location['rules'] as $k => $rule): ?>
33
  <tr>
34
  <td class="param"><?php
35
-
36
- $args = array(
37
- 'type' => 'select',
38
- 'name' => 'location[rules]['.$k.'][param]',
39
- 'value' => $rule['param'],
40
- 'choices' => array(
41
- 'post_type' => 'Post Type',
42
- 'page' => 'Page',
43
- 'page_type' => 'Page Type',
44
- 'page_parent' => 'Page Parent',
45
- 'page_template' => 'Page Template',
46
- 'post' => 'Post',
47
- 'post_category' => 'Post Category',
48
- 'post_format' => 'Post Format',
49
- 'user_type' => 'User Type',
50
- 'taxonomy' => 'Taxonomy'
 
 
 
 
 
 
51
  )
52
  );
53
 
 
54
  // validate
55
  if($this->is_field_unlocked('options_page'))
56
  {
57
- $args['choices']['options_page'] = "Options Page";
58
  }
59
 
 
 
 
 
 
 
 
 
 
60
  $this->create_field($args);
61
 
62
  ?></td>
@@ -67,8 +83,8 @@ if(empty($location['rules']))
67
  'name' => 'location[rules]['.$k.'][operator]',
68
  'value' => $rule['operator'],
69
  'choices' => array(
70
- '==' => 'is equal to',
71
- '!=' => 'is not equal to',
72
  )
73
  ));
74
 
@@ -91,15 +107,19 @@ if(empty($location['rules']))
91
  </tbody>
92
 
93
  </table>
94
- <p><?php _e("match",'acf'); ?> <?php $this->create_field(array(
 
 
95
  'type' => 'select',
96
  'name' => 'location[allorany]',
97
  'value' => $location['allorany'],
98
  'choices' => array(
99
- 'all' => 'all',
100
- 'any' => 'any',
101
  ),
102
- )); ?> <?php _e("of the above",'acf'); ?></p>
 
 
103
  </div>
104
 
105
 
@@ -108,4 +128,9 @@ if(empty($location['rules']))
108
  </tr>
109
 
110
  </tbody>
111
- </table>
 
 
 
 
 
32
  <?php foreach($location['rules'] as $k => $rule): ?>
33
  <tr>
34
  <td class="param"><?php
35
+
36
+ $choices = array(
37
+ __("Basic",'acf') => array(
38
+ 'post_type' => __("Post Type",'acf'),
39
+ 'user_type' => __("Logged in User Type",'acf'),
40
+ ),
41
+ __("Page Specific",'acf') => array(
42
+ 'page' => __("Page",'acf'),
43
+ 'page_type' => __("Page Type",'acf'),
44
+ 'page_parent' => __("Page Parent",'acf'),
45
+ 'page_template' => __("Page Template",'acf'),
46
+ ),
47
+ __("Post Specific",'acf') => array(
48
+ 'post' => __("Post",'acf'),
49
+ 'post_category' => __("Post Category",'acf'),
50
+ 'post_format' => __("Post Format",'acf'),
51
+ 'taxonomy' => __("Post Taxonomy",'acf'),
52
+ ),
53
+ __("Other",'acf') => array(
54
+ 'ef_taxonomy' => __("Taxonomy (Add / Edit)",'acf'),
55
+ 'ef_user' => __("User (Add / Edit)",'acf'),
56
+ 'ef_media' => __("Media (Edit)",'acf')
57
  )
58
  );
59
 
60
+
61
  // validate
62
  if($this->is_field_unlocked('options_page'))
63
  {
64
+ $choices[__("Options Page",'acf')]['options_page'] = __("Options Page",'acf');
65
  }
66
 
67
+
68
+ $args = array(
69
+ 'type' => 'select',
70
+ 'name' => 'location[rules]['.$k.'][param]',
71
+ 'value' => $rule['param'],
72
+ 'choices' => $choices,
73
+ 'optgroup' => true,
74
+ );
75
+
76
  $this->create_field($args);
77
 
78
  ?></td>
83
  'name' => 'location[rules]['.$k.'][operator]',
84
  'value' => $rule['operator'],
85
  'choices' => array(
86
+ '==' => __("is equal to",'acf'),
87
+ '!=' => __("is not equal to",'acf'),
88
  )
89
  ));
90
 
107
  </tbody>
108
 
109
  </table>
110
+ <ul class="hl clearfix">
111
+ <li style="padding:4px 4px 0 0;"><?php _e("match",'acf'); ?></li>
112
+ <li><?php $this->create_field(array(
113
  'type' => 'select',
114
  'name' => 'location[allorany]',
115
  'value' => $location['allorany'],
116
  'choices' => array(
117
+ 'all' => __("all",'acf'),
118
+ 'any' => __("any",'acf'),
119
  ),
120
+ )); ?></li>
121
+ <li style="padding:4px 0 0 4px;"><?php _e("of the above",'acf'); ?></li>
122
+ </ul>
123
  </div>
124
 
125
 
128
  </tr>
129
 
130
  </tbody>
131
+ </table>
132
+ <script type="text/html" id="acf_location_options_deactivated">
133
+ <optgroup label="<?php _e("Options",'acf'); ?>" disabled="true">
134
+ <option value="" disabled="true"><?php _e("Unlock options add-on with an activation code",'acf'); ?></option>
135
+ </optgroup>
136
+ </script>
core/admin/meta_box_options.php CHANGED
@@ -37,8 +37,8 @@ $options = $this->get_acf_options($post->ID);
37
  'name' => 'options[position]',
38
  'value' => $options['position'],
39
  'choices' => array(
40
- 'normal' => 'Normal',
41
- 'side' => 'Side',
42
  )
43
  ));
44
 
@@ -57,8 +57,8 @@ $options = $this->get_acf_options($post->ID);
57
  'name' => 'options[layout]',
58
  'value' => $options['layout'],
59
  'choices' => array(
60
- 'default' => 'Standard Metabox',
61
- 'no_box' => 'No Metabox',
62
  )
63
  ));
64
 
@@ -79,12 +79,12 @@ $options = $this->get_acf_options($post->ID);
79
  'name' => 'options[show_on_page]',
80
  'value' => $options['show_on_page'],
81
  'choices' => array(
82
- 'the_content' => 'Content Editor',
83
- 'custom_fields' => 'Custom Fields',
84
- 'discussion' => 'Discussion',
85
- 'comments' => 'Comments',
86
- 'slug' => 'Slug',
87
- 'author' => 'Author'
88
  )
89
  ));
90
 
37
  'name' => 'options[position]',
38
  'value' => $options['position'],
39
  'choices' => array(
40
+ 'normal' => __("Normal",'acf'),
41
+ 'side' => __("Side",'acf'),
42
  )
43
  ));
44
 
57
  'name' => 'options[layout]',
58
  'value' => $options['layout'],
59
  'choices' => array(
60
+ 'default' => __("Standard Metabox",'acf'),
61
+ 'no_box' => __("No Metabox",'acf'),
62
  )
63
  ));
64
 
79
  'name' => 'options[show_on_page]',
80
  'value' => $options['show_on_page'],
81
  'choices' => array(
82
+ 'the_content' => __("Content Editor",'acf'),
83
+ 'custom_fields' => __("Custom Fields",'acf'),
84
+ 'discussion' => __("Discussion",'acf'),
85
+ 'comments' => __("Comments",'acf'),
86
+ 'slug' => __("Slug",'acf'),
87
+ 'author' => __("Author",'acf')
88
  )
89
  ));
90
 
core/admin/upgrade.php CHANGED
@@ -17,6 +17,10 @@ if(version_compare($version,'3.0.0') < 0)
17
  {
18
  $next = '3.0.0';
19
  }
 
 
 
 
20
  ?>
21
 
22
  <script type="text/javascript">
17
  {
18
  $next = '3.0.0';
19
  }
20
+ elseif(version_compare($version,'3.1.8') < 0)
21
+ {
22
+ $next = '3.1.8';
23
+ }
24
  ?>
25
 
26
  <script type="text/javascript">
core/admin/upgrade_ajax.php CHANGED
@@ -7,6 +7,7 @@ $acf_fields = $wpdb->prefix.'acf_fields';
7
  $acf_values = $wpdb->prefix.'acf_values';
8
  $acf_rules = $wpdb->prefix.'acf_rules';
9
  $wp_postmeta = $wpdb->prefix.'postmeta';
 
10
 
11
  // vars
12
  $return = array(
@@ -378,6 +379,68 @@ switch($_POST['version'])
378
 
379
  break;
380
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  }
382
 
383
  // return json
7
  $acf_values = $wpdb->prefix.'acf_values';
8
  $acf_rules = $wpdb->prefix.'acf_rules';
9
  $wp_postmeta = $wpdb->prefix.'postmeta';
10
+ $wp_options = $wpdb->prefix.'options';
11
 
12
  // vars
13
  $return = array(
379
 
380
  break;
381
  */
382
+
383
+ /*---------------------
384
+ *
385
+ * 3.1.8
386
+ *
387
+ *--------------------*/
388
+
389
+ case '3.1.8':
390
+
391
+ // vars
392
+ $message = __("Migrating options values from the $wp_postmeta table to the $wp_options table",'acf') . '...';
393
+
394
+ // update normal values
395
+ $rows = $wpdb->get_results( $wpdb->prepare("SELECT meta_key FROM $wp_postmeta WHERE post_id = %d", 999999999) , ARRAY_A);
396
+
397
+ if($rows)
398
+ {
399
+ foreach($rows as $row)
400
+ {
401
+ // origional name
402
+ $field_name = $row['meta_key'];
403
+
404
+
405
+ // name
406
+ $new_name = "";
407
+ if( substr($field_name, 0, 1) == "_" )
408
+ {
409
+ $new_name = '_options' . $field_name;
410
+ }
411
+ else
412
+ {
413
+ $new_name = 'options_' . $field_name;
414
+ }
415
+
416
+
417
+ // value
418
+ $value = get_post_meta( 999999999, $field_name, true );
419
+
420
+
421
+ // update option
422
+ update_option( $new_name, $value );
423
+
424
+
425
+ // deleet old postmeta
426
+ delete_post_meta( 999999999, $field_name );
427
+
428
+ }
429
+ // foreach($values as $value)
430
+ }
431
+ // if($values)
432
+
433
+
434
+ // update version
435
+ update_option('acf_version','3.1.8');
436
+
437
+ $return = array(
438
+ 'status' => true,
439
+ 'message' => $message,
440
+ 'next' => false,
441
+ );
442
+
443
+ break;
444
  }
445
 
446
  // return json
core/api.php CHANGED
@@ -22,10 +22,7 @@ function get_fields($post_id = false)
22
  {
23
  $post_id = $post->ID;
24
  }
25
- elseif($post_id == "options")
26
- {
27
- $post_id = 999999999;
28
- }
29
 
30
  // default
31
  $value = array();
@@ -70,12 +67,16 @@ function get_field($field_name, $post_id = false)
70
  if(!$post_id)
71
  {
72
  $post_id = $post->ID;
73
- }
74
- elseif($post_id == "options")
75
- {
76
- $post_id = 999999999;
77
- }
78
-
 
 
 
 
79
  // return cache
80
  $cache = wp_cache_get('acf_get_field_' . $post_id . '_' . $field_name);
81
  if($cache)
@@ -86,9 +87,19 @@ function get_field($field_name, $post_id = false)
86
  // default
87
  $value = "";
88
 
89
- // get value
90
- $field_key = get_post_meta($post_id, '_' . $field_name, true);
91
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  if($field_key != "")
93
  {
94
  // we can load the field properly!
@@ -98,7 +109,15 @@ function get_field($field_name, $post_id = false)
98
  else
99
  {
100
  // just load the text version
101
- $value = get_post_meta($post_id, $field_name, true);
 
 
 
 
 
 
 
 
102
  }
103
 
104
  // no value?
@@ -344,7 +363,7 @@ add_filter('acf_register_options_page', 'acf_register_options_page');
344
 
345
  /*--------------------------------------------------------------------------------------
346
  *
347
- * get_sub_field
348
  *
349
  * @author Elliot Condon
350
  * @since 1.0.3
@@ -453,11 +472,10 @@ function acf_form_head()
453
 
454
 
455
  // register css / javascript
456
- foreach($acf->fields as $field)
457
- {
458
- $acf->fields[$field->name]->admin_print_scripts();
459
- $acf->fields[$field->name]->admin_print_styles();
460
- }
461
  wp_enqueue_style(array(
462
  'colors-fresh'
463
  ));
@@ -473,14 +491,7 @@ function acf_form_wp_head()
473
  // global vars
474
  global $post, $acf;
475
 
476
-
477
- // fields admin_head
478
- foreach($acf->fields as $field)
479
- {
480
- $acf->fields[$field->name]->admin_head();
481
- }
482
-
483
-
484
  // Style
485
  echo '<link rel="stylesheet" type="text/css" href="'.$acf->dir.'/css/global.css?ver=' . $acf->version . '" />';
486
  echo '<link rel="stylesheet" type="text/css" href="'.$acf->dir.'/css/input.css?ver=' . $acf->version . '" />';
@@ -494,6 +505,10 @@ function acf_form_wp_head()
494
  acf.editor_mode = "wysiwyg";
495
  acf.admin_url = "' . admin_url() . '";
496
  </script>';
 
 
 
 
497
  }
498
 
499
 
@@ -539,13 +554,6 @@ function acf_form($options = null)
539
  }
540
 
541
 
542
- // post_id for options page
543
- if($options['post_id'] == "options")
544
- {
545
- $options['post_id'] = 999999999;
546
- }
547
-
548
-
549
  // register post box
550
  if(!$options['field_groups'])
551
  {
@@ -596,40 +604,9 @@ function acf_form($options = null)
596
  {
597
 
598
  echo '<div class="options" data-layout="' . $field_group['options']['layout'] . '"></div>';
599
- foreach($field_group['fields'] as $field)
600
- {
601
- // if they didn't select a type, skip this field
602
- if($field['type'] == 'null') continue;
603
-
604
- // set value
605
- $field['value'] = $acf->get_value($options['post_id'], $field);
606
-
607
- // required
608
- if(!isset($field['required']))
609
- {
610
- $field['required'] == "0";
611
- }
612
-
613
- $required_class = "";
614
- $required_label = "";
615
-
616
- if($field['required'] == "1")
617
- {
618
- $required_class = ' required';
619
- $required_label = ' <span class="required">*</span>';
620
- }
621
-
622
- echo '<div class="field field-' . $field['type'] . $required_class . '">';
623
-
624
- echo '<label class="field_label" for="fields[' . $field['key'] . ']">' . $field['label'] . $required_label . '</label>';
625
- if($field['instructions']) echo '<p class="instructions">' . $field['instructions'] . '</p>';
626
-
627
- $field['name'] = 'fields[' . $field['key'] . ']';
628
- $acf->create_field($field);
629
-
630
- echo '</div>';
631
-
632
- }
633
  }
634
 
635
  endforeach;
22
  {
23
  $post_id = $post->ID;
24
  }
25
+
 
 
 
26
 
27
  // default
28
  $value = array();
67
  if(!$post_id)
68
  {
69
  $post_id = $post->ID;
70
+ }
71
+
72
+
73
+ // allow for option == options
74
+ if( $post_id == "option" )
75
+ {
76
+ $post_id = "options";
77
+ }
78
+
79
+
80
  // return cache
81
  $cache = wp_cache_get('acf_get_field_' . $post_id . '_' . $field_name);
82
  if($cache)
87
  // default
88
  $value = "";
89
 
 
 
90
 
91
+ // get value
92
+ $field_key = "";
93
+ if( is_numeric($post_id) )
94
+ {
95
+ $field_key = get_post_meta($post_id, '_' . $field_name, true);
96
+ }
97
+ else
98
+ {
99
+ $field_key = get_option('_' . $post_id . '_' . $field_name);
100
+ }
101
+
102
+
103
  if($field_key != "")
104
  {
105
  // we can load the field properly!
109
  else
110
  {
111
  // just load the text version
112
+ if( is_numeric($post_id) )
113
+ {
114
+ $value = get_post_meta($post_id, $field_name, true);
115
+ }
116
+ else
117
+ {
118
+ $value = get_option($post_id . '_' . $field_name);
119
+ }
120
+
121
  }
122
 
123
  // no value?
363
 
364
  /*--------------------------------------------------------------------------------------
365
  *
366
+ * get_row_layout
367
  *
368
  * @author Elliot Condon
369
  * @since 1.0.3
472
 
473
 
474
  // register css / javascript
475
+ do_action('acf_print_scripts-input');
476
+ do_action('acf_print_styles-input');
477
+
478
+ // need wp styling
 
479
  wp_enqueue_style(array(
480
  'colors-fresh'
481
  ));
491
  // global vars
492
  global $post, $acf;
493
 
494
+
 
 
 
 
 
 
 
495
  // Style
496
  echo '<link rel="stylesheet" type="text/css" href="'.$acf->dir.'/css/global.css?ver=' . $acf->version . '" />';
497
  echo '<link rel="stylesheet" type="text/css" href="'.$acf->dir.'/css/input.css?ver=' . $acf->version . '" />';
505
  acf.editor_mode = "wysiwyg";
506
  acf.admin_url = "' . admin_url() . '";
507
  </script>';
508
+
509
+
510
+ // add user js + css
511
+ do_action('acf_head-input');
512
  }
513
 
514
 
554
  }
555
 
556
 
 
 
 
 
 
 
 
557
  // register post box
558
  if(!$options['field_groups'])
559
  {
604
  {
605
 
606
  echo '<div class="options" data-layout="' . $field_group['options']['layout'] . '"></div>';
607
+
608
+ $acf->render_fields_for_input($field_group['fields'], $options['post_id']);
609
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  }
611
 
612
  endforeach;
core/everything_fields.php ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*--------------------------------------------------------------------------
4
+ *
5
+ * Everything_fields
6
+ *
7
+ * @author Elliot Condon
8
+ * @since 3.1.8
9
+ *
10
+ *-------------------------------------------------------------------------*/
11
+
12
+
13
+ class Everything_fields
14
+ {
15
+
16
+ var $parent;
17
+ var $dir;
18
+ var $data;
19
+
20
+ /*--------------------------------------------------------------------------------------
21
+ *
22
+ * Everything_fields
23
+ *
24
+ * @author Elliot Condon
25
+ * @since 3.1.8
26
+ *
27
+ *-------------------------------------------------------------------------------------*/
28
+
29
+ function __construct($parent)
30
+ {
31
+ // vars
32
+ $this->parent = $parent;
33
+ $this->dir = $parent->dir;
34
+
35
+
36
+ // data for passing variables
37
+ $this->data = array(
38
+ 'page_id' => '', // a string used to load values
39
+ 'metabox_ids' => array(),
40
+ 'page_type' => '', // taxonomy / user / media
41
+ 'page_action' => '', // add / edit
42
+ 'option_name' => '', // key used to find value in wp_options table. eg: user_1, category_4
43
+ );
44
+
45
+
46
+ // actions
47
+ add_action('admin_menu', array($this,'admin_menu'));
48
+ add_action('wp_ajax_acf_everything_fields', array($this, 'acf_everything_fields'));
49
+
50
+
51
+ // save
52
+ add_action('create_term', array($this, 'save_taxonomy'));
53
+ add_action('edited_term', array($this, 'save_taxonomy'));
54
+
55
+ add_action('edit_user_profile_update', array($this, 'save_user'));
56
+ add_action('personal_options_update', array($this, 'save_user'));
57
+
58
+ add_filter("attachment_fields_to_save", array($this, 'save_attachment'), null , 2);
59
+
60
+ }
61
+
62
+
63
+ /*--------------------------------------------------------------------------------------
64
+ *
65
+ * admin_menu
66
+ *
67
+ * @author Elliot Condon
68
+ * @since 3.1.8
69
+ *
70
+ *-------------------------------------------------------------------------------------*/
71
+
72
+ function admin_menu()
73
+ {
74
+
75
+ global $pagenow;
76
+
77
+ // we dont want to waste php memory, only check for pages we care about
78
+ if( !in_array( $pagenow, array( 'edit-tags.php', 'profile.php', 'user-new.php', 'user-edit.php', 'media.php' ) ) )
79
+ {
80
+ return false;
81
+ }
82
+
83
+
84
+ // set page type
85
+ $options = array();
86
+
87
+ if( $pagenow == "edit-tags.php" )
88
+ {
89
+
90
+ $this->data['page_type'] = "taxonomy";
91
+ $options['ef_taxonomy'] = $_GET['taxonomy'];
92
+
93
+
94
+ $this->data['page_action'] = "add";
95
+ $this->data['option_name'] = "";
96
+
97
+ if(isset($_GET['action']) && $_GET['action'] == "edit")
98
+ {
99
+ $this->data['page_action'] = "edit";
100
+ $this->data['option_name'] = $_GET['taxonomy'] . "_" . $_GET['tag_ID'];
101
+ }
102
+
103
+ }
104
+ elseif( $pagenow == "profile.php" )
105
+ {
106
+
107
+ $this->data['page_type'] = "user";
108
+ $options['ef_user'] = get_current_user_id();
109
+
110
+ $this->data['page_action'] = "edit";
111
+ $this->data['option_name'] = "user_" . get_current_user_id();
112
+
113
+ }
114
+ elseif( $pagenow == "user-edit.php" )
115
+ {
116
+
117
+ $this->data['page_type'] = "user";
118
+ $options['ef_user'] = $_GET['user_id'];
119
+
120
+ $this->data['page_action'] = "edit";
121
+ $this->data['option_name'] = "user_" . $_GET['user_id'];
122
+
123
+ }
124
+ elseif( $pagenow == "user-new.php" )
125
+ {
126
+ $this->data['page_type'] = "user";
127
+ $options['ef_user'] ='all';
128
+
129
+ $this->data['page_action'] = "add";
130
+ $this->data['option_name'] = "";
131
+
132
+ }
133
+ elseif( $pagenow == "media.php" )
134
+ {
135
+
136
+ $this->data['page_type'] = "media";
137
+ $options['ef_media'] = 'all';
138
+
139
+ $this->data['page_action'] = "add";
140
+ $this->data['option_name'] = "";
141
+
142
+ if(isset($_GET['attachment_id']))
143
+ {
144
+ $this->data['page_action'] = "edit";
145
+ $this->data['option_name'] = $_GET['attachment_id'];
146
+ }
147
+
148
+ }
149
+
150
+
151
+ // find metabox id's for this page
152
+ $this->data['metabox_ids'] = $this->parent->get_input_metabox_ids( $options , false );
153
+
154
+
155
+ // dont continue if no ids were found
156
+ if(empty( $this->data['metabox_ids'] ))
157
+ {
158
+ return false;
159
+ }
160
+
161
+
162
+ // some fields require js + css
163
+ do_action('acf_print_scripts-input');
164
+ do_action('acf_print_styles-input');
165
+
166
+
167
+ // Add admin head
168
+ add_action('admin_head-'.$pagenow, array($this,'admin_head'));
169
+ //add_action('admin_footer-'.$pagenow, array($this,'admin_footer'));
170
+
171
+
172
+ }
173
+
174
+
175
+ /*--------------------------------------------------------------------------------------
176
+ *
177
+ * admin_head
178
+ *
179
+ * @author Elliot Condon
180
+ * @since 3.1.8
181
+ *
182
+ *-------------------------------------------------------------------------------------*/
183
+
184
+ function admin_head()
185
+ {
186
+ global $pagenow;
187
+
188
+
189
+ // Style
190
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->parent->dir.'/css/global.css?ver=' . $this->parent->version . '" />';
191
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->parent->dir.'/css/input.css?ver=' . $this->parent->version . '" />';
192
+
193
+
194
+ // find user editor setting
195
+ $user = wp_get_current_user();
196
+ $editor_mode = get_user_setting('editor', 'tinymce');
197
+
198
+
199
+ // Javascript
200
+ echo '<script type="text/javascript" src="'.$this->parent->dir.'/js/input-actions.js?ver=' . $this->parent->version . '" ></script>';
201
+ echo '<script type="text/javascript">
202
+ acf.validation_message = "' . __("Validation Failed. One or more fields below are required.",'acf') . '";
203
+ acf.post_id = 0;
204
+ acf.editor_mode = "' . $editor_mode . '";
205
+ acf.admin_url = "' . admin_url() . '";
206
+ </script>';
207
+
208
+
209
+ // run action for any extra functionality
210
+ foreach($this->parent->fields as $field)
211
+ {
212
+ $this->parent->fields[$field->name]->admin_head();
213
+ }
214
+ do_action('admin_head-acf_input');
215
+
216
+
217
+ ?>
218
+ <script type="text/javascript">
219
+ (function($){
220
+
221
+ acf.data = {
222
+ action : 'acf_everything_fields',
223
+ metabox_ids : '<?php echo implode( ',', $this->data['metabox_ids'] ); ?>',
224
+ page_type : '<?php echo $this->data['page_type']; ?>',
225
+ page_action : '<?php echo $this->data['page_action']; ?>',
226
+ option_name : '<?php echo $this->data['option_name']; ?>',
227
+ };
228
+
229
+ $(document).ready(function(){
230
+
231
+ $.ajax({
232
+ url: ajaxurl,
233
+ data: acf.data,
234
+ type: 'post',
235
+ dataType: 'html',
236
+ success: function(html){
237
+ <?php
238
+
239
+ if($this->data['page_type'] == "user")
240
+ {
241
+ if($this->data['page_action'] == "add")
242
+ {
243
+ echo "$('#createuser > table.form-table > tbody').append( html );";
244
+ }
245
+ else
246
+ {
247
+ echo "$('#your-profile > p.submit').before( html );";
248
+ }
249
+ }
250
+ elseif($this->data['page_type'] == "taxonomy")
251
+ {
252
+ if($this->data['page_action'] == "add")
253
+ {
254
+ echo "$('#addtag > p.submit').before( html );";
255
+ }
256
+ else
257
+ {
258
+ echo "$('#edittag > p.submit').before( html );";
259
+ }
260
+ }
261
+ elseif($this->data['page_type'] == "media")
262
+ {
263
+ if($this->data['page_action'] == "add")
264
+ {
265
+ echo "$('#addtag > p.submit').before( html );";
266
+ }
267
+ else
268
+ {
269
+ echo "$('#media-single-form table tbody tr.submit').before( html );";
270
+ }
271
+ }
272
+
273
+ echo "$(document).trigger('acf/setup_fields', $('#wpbody') );";
274
+
275
+ ?>
276
+ }
277
+ });
278
+
279
+ });
280
+ })(jQuery);
281
+ </script>
282
+ <?php
283
+ }
284
+
285
+
286
+
287
+ /*--------------------------------------------------------------------------------------
288
+ *
289
+ * save_taxonomy
290
+ *
291
+ * @author Elliot Condon
292
+ * @since 3.1.8
293
+ *
294
+ *-------------------------------------------------------------------------------------*/
295
+
296
+ function save_taxonomy( $term_id )
297
+ {
298
+ // validate
299
+ if( !isset( $_POST['fields'] ) )
300
+ {
301
+ return;
302
+ }
303
+
304
+
305
+ // strip slashes
306
+ $_POST = array_map('stripslashes_deep', $_POST);
307
+
308
+
309
+ // options name to save against
310
+ $option_name = $_POST['taxonomy'] . '_' . $term_id;
311
+
312
+
313
+ // save fields
314
+ $fields = $_POST['fields'];
315
+
316
+ foreach($fields as $key => $value)
317
+ {
318
+ // get field
319
+ $field = $this->parent->get_acf_field($key);
320
+
321
+ $this->parent->update_value( $option_name , $field, $value );
322
+ }
323
+
324
+ }
325
+
326
+
327
+ /*--------------------------------------------------------------------------------------
328
+ *
329
+ * profile_save
330
+ *
331
+ * @author Elliot Condon
332
+ * @since 3.1.8
333
+ *
334
+ *-------------------------------------------------------------------------------------*/
335
+
336
+ function save_user( $user_id )
337
+ {
338
+ // validate
339
+ if( !isset( $_POST['fields'] ) )
340
+ {
341
+ return;
342
+ }
343
+
344
+
345
+ // strip slashes
346
+ $_POST = array_map('stripslashes_deep', $_POST);
347
+
348
+
349
+ // options name to save against
350
+ $option_name = 'user_' . $user_id;
351
+
352
+
353
+ // save fields
354
+ $fields = $_POST['fields'];
355
+
356
+ foreach($fields as $key => $value)
357
+ {
358
+ // get field
359
+ $field = $this->parent->get_acf_field($key);
360
+
361
+ $this->parent->update_value( $option_name , $field, $value );
362
+ }
363
+
364
+
365
+ }
366
+
367
+
368
+ /*--------------------------------------------------------------------------------------
369
+ *
370
+ * save_attachment
371
+ *
372
+ * @author Elliot Condon
373
+ * @since 3.1.8
374
+ *
375
+ *-------------------------------------------------------------------------------------*/
376
+
377
+ function save_attachment( $post, $attachment )
378
+ {
379
+
380
+ // validate
381
+ if( !isset( $_POST['fields'] ) )
382
+ {
383
+ return $post;
384
+ }
385
+
386
+
387
+ // strip slashes
388
+ $_POST = array_map('stripslashes_deep', $_POST);
389
+
390
+
391
+ // save fields
392
+ $fields = $_POST['fields'];
393
+
394
+ foreach($fields as $key => $value)
395
+ {
396
+ // get field
397
+ $field = $this->parent->get_acf_field($key);
398
+
399
+ $this->parent->update_value( $post['ID'] , $field, $value );
400
+ }
401
+
402
+ return $post;
403
+
404
+
405
+ }
406
+
407
+
408
+ /*--------------------------------------------------------------------------------------
409
+ *
410
+ * acf_everything_fields
411
+ *
412
+ * @description Ajax call that renders the html needed for the page
413
+ * @author Elliot Condon
414
+ * @since 3.1.8
415
+ *
416
+ *-------------------------------------------------------------------------------------*/
417
+
418
+ function acf_everything_fields()
419
+ {
420
+ // defaults
421
+ $defaults = array(
422
+ 'metabox_ids' => '',
423
+ 'page_type' => '',
424
+ 'page_action' => '',
425
+ 'option_name' => '',
426
+ );
427
+
428
+
429
+ // load post options
430
+ $options = array_merge($defaults, $_POST);
431
+
432
+
433
+ // metabox ids is a string with commas
434
+ $options['metabox_ids'] = explode( ',', $options['metabox_ids'] );
435
+
436
+
437
+ // get acfs
438
+ $acfs = $this->parent->get_field_groups();
439
+
440
+
441
+ if($acfs)
442
+ {
443
+ foreach($acfs as $acf)
444
+ {
445
+ // only add the chosen field groups
446
+ if( !in_array( $acf['id'], $options['metabox_ids'] ) )
447
+ {
448
+ continue;
449
+ }
450
+
451
+
452
+ // needs fields
453
+ if(!$acf['fields'])
454
+ {
455
+ continue;
456
+ }
457
+
458
+
459
+ // title
460
+ if( $options['page_action'] == "edit" && $options['page_type'] != "media")
461
+ {
462
+ echo '<h3>' . get_the_title( $acf['id'] ) . '</h3>';
463
+ echo '<table class="form-table">';
464
+ }
465
+
466
+
467
+ // render
468
+ foreach($acf['fields'] as $field)
469
+ {
470
+
471
+ // if they didn't select a type, skip this field
472
+ if($field['type'] == 'null') continue;
473
+
474
+ // set value
475
+ $field['value'] = $this->parent->get_value( $options['option_name'], $field);
476
+
477
+ // required
478
+ if(!isset($field['required']))
479
+ {
480
+ $field['required'] = "0";
481
+ }
482
+
483
+ $required_class = "";
484
+ $required_label = "";
485
+
486
+ if($field['required'] == "1")
487
+ {
488
+ $required_class = ' required';
489
+ $required_label = ' <span class="required">*</span>';
490
+ }
491
+
492
+ if( $options['page_type'] == "taxonomy" && $options['page_action'] == "add")
493
+ {
494
+ echo '<div id="acf-' . $field['name'] . '" class="form-field' . $required_class . '">';
495
+ echo '<label for="fields[' . $field['key'] . ']">' . $field['label'] . $required_label . '</label>';
496
+ $field['name'] = 'fields[' . $field['key'] . ']';
497
+ $this->parent->create_field($field);
498
+ if($field['instructions']) echo '<p class="description">' . $field['instructions'] . '</p>';
499
+ echo '</div>';
500
+ }
501
+ else
502
+ {
503
+ echo '<tr id="acf-' . $field['name'] . '" class="field form-field' . $required_class . '">';
504
+ echo '<th valign="top" scope="row"><label for="fields[' . $field['key'] . ']">' . $field['label'] . $required_label . '</label></th>';
505
+ echo '<td>';
506
+ $field['name'] = 'fields[' . $field['key'] . ']';
507
+ $this->parent->create_field($field);
508
+ if($field['instructions']) echo '<span class="description">' . $field['instructions'] . '</span>';
509
+ echo '</td>';
510
+ echo '</tr>';
511
+
512
+ }
513
+
514
+
515
+ }
516
+ // foreach($fields as $field)
517
+
518
+
519
+ // footer
520
+ if( $options['page_action'] == "edit" && $options['page_type'] != "media")
521
+ {
522
+ echo '</table>';
523
+ }
524
+ }
525
+ // foreach($acfs as $acf)
526
+ }
527
+ // if($acfs)
528
+
529
+ // exit for ajax
530
+ die();
531
+
532
+ }
533
+
534
+
535
+ }
536
+
537
+ ?>
core/fields/acf_field.php CHANGED
@@ -111,8 +111,18 @@ class acf_Field
111
 
112
  function update_value($post_id, $field, $value)
113
  {
114
- update_post_meta($post_id, $field['name'], $value);
115
- update_post_meta($post_id, '_' . $field['name'], $field['key']);
 
 
 
 
 
 
 
 
 
 
116
  }
117
 
118
 
@@ -143,13 +153,31 @@ class acf_Field
143
 
144
  function get_value($post_id, $field)
145
  {
146
- // If this is a new acf, there will be no custom keys!
147
- if(!get_post_custom_keys($post_id) && isset($field['default_value']))
148
- {
149
- return $field['default_value'];
150
- }
151
-
152
- return get_post_meta($post_id, $field['name'], true);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  }
154
 
155
 
111
 
112
  function update_value($post_id, $field, $value)
113
  {
114
+ // if $post_id is a string, then it is used in the everything fields and can be found in the options table
115
+ if( is_numeric($post_id) )
116
+ {
117
+ update_post_meta($post_id, $field['name'], $value);
118
+ update_post_meta($post_id, '_' . $field['name'], $field['key']);
119
+ }
120
+ else
121
+ {
122
+ update_option( $post_id . '_' . $field['name'], $value );
123
+ update_option( '_' . $post_id . '_' . $field['name'], $field['key'] );
124
+ }
125
+
126
  }
127
 
128
 
153
 
154
  function get_value($post_id, $field)
155
  {
156
+ $value = "";
157
+
158
+ // if $post_id is a string, then it is used in the everything fields and can be found in the options table
159
+ if( is_numeric($post_id) )
160
+ {
161
+ $value = get_post_meta( $post_id, $field['name'], true );
162
+
163
+ // return default if possible
164
+ if($value == "" && isset($field['default_value']))
165
+ {
166
+ $value = $field['default_value'];
167
+ }
168
+ }
169
+ else
170
+ {
171
+ $value = get_option( $post_id . '_' . $field['name'], "" );
172
+
173
+ // return default if possible
174
+ if( $value == "" && isset($field['default_value']) )
175
+ {
176
+ $value = $field['default_value'];
177
+ }
178
+ }
179
+
180
+ return $value;
181
  }
182
 
183
 
core/fields/checkbox.php CHANGED
@@ -45,6 +45,7 @@ class acf_Checkbox extends acf_Field
45
  return false;
46
  }
47
 
 
48
  // html
49
  echo '<ul class="checkbox_list '.$field['class'].'">';
50
  echo '<input type="hidden" name="'.$field['name'].'" value="" />';
@@ -99,15 +100,14 @@ class acf_Checkbox extends acf_Field
99
  <tr class="field_option field_option_<?php echo $this->name; ?>">
100
  <td class="label">
101
  <label for=""><?php _e("Choices",'acf'); ?></label>
102
- <p class="description"><?php _e("Enter your choices one per line<br />
103
- <br />
104
- Red<br />
105
- Blue<br />
106
  <br />
107
- or<br />
 
108
  <br />
109
- red : Red<br />
110
- blue : Blue",'acf'); ?></p>
 
111
  </td>
112
  <td>
113
  <textarea rows="5" name="fields[<?php echo $key; ?>][choices]" id=""><?php echo $field['choices']; ?></textarea>
45
  return false;
46
  }
47
 
48
+
49
  // html
50
  echo '<ul class="checkbox_list '.$field['class'].'">';
51
  echo '<input type="hidden" name="'.$field['name'].'" value="" />';
100
  <tr class="field_option field_option_<?php echo $this->name; ?>">
101
  <td class="label">
102
  <label for=""><?php _e("Choices",'acf'); ?></label>
103
+ <p class="description"><?php _e("Enter your choices one per line",'acf'); ?><br />
 
 
 
104
  <br />
105
+ <?php _e("Red",'acf'); ?><br />
106
+ <?php _e("Blue",'acf'); ?><br />
107
  <br />
108
+ <?php _e("red : Red",'acf'); ?><br />
109
+ <?php _e("blue : Blue",'acf'); ?><br />
110
+ </p>
111
  </td>
112
  <td>
113
  <textarea rows="5" name="fields[<?php echo $key; ?>][choices]" id=""><?php echo $field['choices']; ?></textarea>
core/fields/file.php CHANGED
@@ -51,7 +51,7 @@ class acf_File extends acf_Field
51
 
52
 
53
  ?>
54
- <ul class="hl">
55
  <li data-mime="<?php echo get_post_mime_type( $id ) ; ?>">
56
  <img class="acf-file-icon" src="<?php echo wp_mime_type_icon( $id ); ?>" alt=""/>
57
  </li>
@@ -160,7 +160,7 @@ class acf_File extends acf_Field
160
  <?php $this->render_file( $field['value'] ); ?>
161
  </div>
162
  <div class="no-file">
163
- <ul class="hl">
164
  <li>
165
  <span class="acf-file-name"><?php _e('No File Selected','acf'); ?></span>. <a href="javascript:;" class="button"><?php _e('Add File','acf'); ?></a>
166
  </li>
@@ -380,7 +380,7 @@ class acf_File extends acf_Field
380
  // add row
381
  self.parent.acf_div.closest('.repeater').find('.table_footer #r_add_row').trigger('click');
382
 
383
- // set acf_div to new row image
384
  self.parent.acf_div = self.parent.acf_div.closest('.repeater').find('> table > tbody > tr.row:last-child .acf_file_uploader');
385
  }
386
  else
@@ -390,7 +390,7 @@ class acf_File extends acf_Field
390
  self.parent.tb_remove();
391
  }
392
 
393
- // add next image
394
  acf_add_next_file();
395
 
396
 
@@ -448,7 +448,7 @@ class acf_File extends acf_Field
448
  }
449
  <?php
450
 
451
- // run the acf_add_buttons ever 500ms when on the image upload tab
452
  if($tab == 'type'): ?>
453
  var acf_t = setInterval(function(){
454
  acf_add_buttons();
51
 
52
 
53
  ?>
54
+ <ul class="hl clearfix">
55
  <li data-mime="<?php echo get_post_mime_type( $id ) ; ?>">
56
  <img class="acf-file-icon" src="<?php echo wp_mime_type_icon( $id ); ?>" alt=""/>
57
  </li>
160
  <?php $this->render_file( $field['value'] ); ?>
161
  </div>
162
  <div class="no-file">
163
+ <ul class="hl clearfix">
164
  <li>
165
  <span class="acf-file-name"><?php _e('No File Selected','acf'); ?></span>. <a href="javascript:;" class="button"><?php _e('Add File','acf'); ?></a>
166
  </li>
380
  // add row
381
  self.parent.acf_div.closest('.repeater').find('.table_footer #r_add_row').trigger('click');
382
 
383
+ // set acf_div to new row file
384
  self.parent.acf_div = self.parent.acf_div.closest('.repeater').find('> table > tbody > tr.row:last-child .acf_file_uploader');
385
  }
386
  else
390
  self.parent.tb_remove();
391
  }
392
 
393
+ // add next file
394
  acf_add_next_file();
395
 
396
 
448
  }
449
  <?php
450
 
451
+ // run the acf_add_buttons ever 500ms when on the file upload tab
452
  if($tab == 'type'): ?>
453
  var acf_t = setInterval(function(){
454
  acf_add_buttons();
core/fields/flexible_content.php CHANGED
@@ -256,7 +256,10 @@ class acf_Flexible_content extends acf_Field
256
  'type' => 'select',
257
  'name' => 'fields['.$key.'][layouts][' . $layout_key . '][display]',
258
  'value' => $layout['display'],
259
- 'choices' => array('table' => 'Table', 'row' => 'Row')
 
 
 
260
  ));
261
  ?>
262
  </td>
@@ -279,7 +282,7 @@ class acf_Flexible_content extends acf_Field
279
  <div class="fields">
280
 
281
  <div class="no_fields_message" <?php if(count($layout['sub_fields']) > 1){ echo 'style="display:none;"'; } ?>>
282
- <?php _e("No fields. Click the \"+ Add Field button\" to create your first field.",'acf'); ?>
283
  </div>
284
 
285
  <?php foreach($layout['sub_fields'] as $key2 => $sub_field): ?>
@@ -295,11 +298,11 @@ class acf_Flexible_content extends acf_Field
295
  <td class="field_order"><span class="circle"><?php echo ($key2+1); ?></span></td>
296
  <td class="field_label">
297
  <strong>
298
- <a class="acf_edit_field" title="Edit this Field" href="javascript:;"><?php echo $sub_field['label']; ?></a>
299
  </strong>
300
  <div class="row_options">
301
- <span><a class="acf_edit_field" title="Edit this Field" href="javascript:;">Edit</a> | </span>
302
- <span><a class="acf_delete_field" title="Delete this Field" href="javascript:;">Delete</a>
303
  </div>
304
  </td>
305
  <td class="field_name"><?php echo $sub_field['name']; ?></td>
@@ -385,7 +388,7 @@ class acf_Flexible_content extends acf_Field
385
  </div>
386
  <div class="table_footer">
387
  <div class="order_message"></div>
388
- <a href="javascript:;" id="add_field" class="acf-button"><?php _e('+ Add Field','acf'); ?></a>
389
  </div>
390
  </div>
391
  </td>
@@ -574,7 +577,18 @@ class acf_Flexible_content extends acf_Field
574
 
575
  // vars
576
  $values = array();
577
- $layout_order = get_post_meta($post_id, $field['name'], true);
 
 
 
 
 
 
 
 
 
 
 
578
 
579
 
580
  if($layout_order)
@@ -602,11 +616,9 @@ class acf_Flexible_content extends acf_Field
602
  }
603
  }
604
  }
605
-
606
- return $values;
607
  }
608
 
609
- return array();
610
  }
611
 
612
 
@@ -629,7 +641,18 @@ class acf_Flexible_content extends acf_Field
629
 
630
  // vars
631
  $values = array();
632
- $layout_order = get_post_meta($post_id, $field['name'], true);
 
 
 
 
 
 
 
 
 
 
 
633
 
634
 
635
  if($layout_order)
256
  'type' => 'select',
257
  'name' => 'fields['.$key.'][layouts][' . $layout_key . '][display]',
258
  'value' => $layout['display'],
259
+ 'choices' => array(
260
+ 'table' => __("Table",'acf'),
261
+ 'row' => __("Row",'acf')
262
+ )
263
  ));
264
  ?>
265
  </td>
282
  <div class="fields">
283
 
284
  <div class="no_fields_message" <?php if(count($layout['sub_fields']) > 1){ echo 'style="display:none;"'; } ?>>
285
+ <?php _e("No fields. Click the \"+ Add Sub Field button\" to create your first field.",'acf'); ?>
286
  </div>
287
 
288
  <?php foreach($layout['sub_fields'] as $key2 => $sub_field): ?>
298
  <td class="field_order"><span class="circle"><?php echo ($key2+1); ?></span></td>
299
  <td class="field_label">
300
  <strong>
301
+ <a class="acf_edit_field" title="<?php _e("Edit this Field",'acf'); ?>" href="javascript:;"><?php echo $sub_field['label']; ?></a>
302
  </strong>
303
  <div class="row_options">
304
+ <span><a class="acf_edit_field" title="<?php _e("Edit this Field",'acf'); ?>" href="javascript:;"><?php _e("Edit",'acf'); ?></a> | </span>
305
+ <span><a class="acf_delete_field" title="<?php _e("Delete this Field",'acf'); ?>" href="javascript:;"><?php _e("Delete",'acf'); ?></a>
306
  </div>
307
  </td>
308
  <td class="field_name"><?php echo $sub_field['name']; ?></td>
388
  </div>
389
  <div class="table_footer">
390
  <div class="order_message"></div>
391
+ <a href="javascript:;" id="add_field" class="acf-button"><?php _e('+ Add Sub Field','acf'); ?></a>
392
  </div>
393
  </div>
394
  </td>
577
 
578
  // vars
579
  $values = array();
580
+ $layout_order = false;
581
+
582
+
583
+ // get total rows
584
+ if( is_numeric($post_id) )
585
+ {
586
+ $layout_order = get_post_meta($post_id, $field['name'], true);
587
+ }
588
+ else
589
+ {
590
+ $layout_order = get_option( $post_id . '_' . $field['name'] );
591
+ }
592
 
593
 
594
  if($layout_order)
616
  }
617
  }
618
  }
 
 
619
  }
620
 
621
+ return $values;
622
  }
623
 
624
 
641
 
642
  // vars
643
  $values = array();
644
+ $layout_order = false;
645
+
646
+
647
+ // get total rows
648
+ if( is_numeric($post_id) )
649
+ {
650
+ $layout_order = get_post_meta($post_id, $field['name'], true);
651
+ }
652
+ else
653
+ {
654
+ $layout_order = get_option( $post_id . '_' . $field['name'] );
655
+ }
656
 
657
 
658
  if($layout_order)
core/fields/image.php CHANGED
@@ -184,8 +184,8 @@ class acf_Image extends acf_Field
184
  'value' => $field['save_format'],
185
  'layout' => 'horizontal',
186
  'choices' => array(
187
- 'url' => 'Image URL',
188
- 'id' => 'Attachment ID'
189
  )
190
  ));
191
  ?>
@@ -203,10 +203,10 @@ class acf_Image extends acf_Field
203
  'value' => $field['preview_size'],
204
  'layout' => 'horizontal',
205
  'choices' => array(
206
- 'thumbnail' => 'Thumbnail',
207
- 'medium' => 'Medium',
208
- 'large' => 'Large',
209
- 'full' => 'Full'
210
  )
211
  ));
212
  ?>
184
  'value' => $field['save_format'],
185
  'layout' => 'horizontal',
186
  'choices' => array(
187
+ 'url' => __("Image URL",'acf'),
188
+ 'id' => __("Attachment ID",'acf')
189
  )
190
  ));
191
  ?>
203
  'value' => $field['preview_size'],
204
  'layout' => 'horizontal',
205
  'choices' => array(
206
+ 'thumbnail' => __("Thumbnail",'acf'),
207
+ 'medium' => __("Medium",'acf'),
208
+ 'large' => __("Large",'acf'),
209
+ 'full' => __("Full",'acf')
210
  )
211
  ));
212
  ?>
core/fields/page_link.php CHANGED
@@ -68,7 +68,7 @@ class acf_Page_link extends acf_Field
68
  // null
69
  if($field['allow_null'] == '1')
70
  {
71
- echo '<option value="null"> - Select - </option>';
72
  }
73
 
74
  foreach($field['post_type'] as $post_type)
@@ -197,7 +197,7 @@ class acf_Page_link extends acf_Field
197
  </td>
198
  <td>
199
  <?php
200
- $post_types = array('' => '-All-');
201
 
202
  foreach (get_post_types() as $post_type ) {
203
  $post_types[$post_type] = $post_type;
@@ -229,8 +229,8 @@ class acf_Page_link extends acf_Field
229
  'name' => 'fields['.$key.'][allow_null]',
230
  'value' => $field['allow_null'],
231
  'choices' => array(
232
- '1' => 'Yes',
233
- '0' => 'No',
234
  ),
235
  'layout' => 'horizontal',
236
  ));
@@ -248,8 +248,8 @@ class acf_Page_link extends acf_Field
248
  'name' => 'fields['.$key.'][multiple]',
249
  'value' => $field['multiple'],
250
  'choices' => array(
251
- '1' => 'Yes',
252
- '0' => 'No',
253
  ),
254
  'layout' => 'horizontal',
255
  ));
68
  // null
69
  if($field['allow_null'] == '1')
70
  {
71
+ echo '<option value="null"> - ' . __("Select",'acf') . ' - </option>';
72
  }
73
 
74
  foreach($field['post_type'] as $post_type)
197
  </td>
198
  <td>
199
  <?php
200
+ $post_types = array('' => __("All",'acf'));
201
 
202
  foreach (get_post_types() as $post_type ) {
203
  $post_types[$post_type] = $post_type;
229
  'name' => 'fields['.$key.'][allow_null]',
230
  'value' => $field['allow_null'],
231
  'choices' => array(
232
+ '1' => __("Yes",'acf'),
233
+ '0' => __("No",'acf'),
234
  ),
235
  'layout' => 'horizontal',
236
  ));
248
  'name' => 'fields['.$key.'][multiple]',
249
  'value' => $field['multiple'],
250
  'choices' => array(
251
+ '1' => __("Yes",'acf'),
252
+ '0' => __("No",'acf'),
253
  ),
254
  'layout' => 'horizontal',
255
  ));
core/fields/post_object.php CHANGED
@@ -61,7 +61,7 @@ class acf_Post_object extends acf_Field
61
  // null
62
  if($field['allow_null'] == '1')
63
  {
64
- echo '<option value="null"> - Select - </option>';
65
  }
66
 
67
 
@@ -210,7 +210,7 @@ class acf_Post_object extends acf_Field
210
  </td>
211
  <td>
212
  <?php
213
- $post_types = array('' => '-All-');
214
 
215
  foreach (get_post_types(array('public' => true)) as $post_type ) {
216
  $post_types[$post_type] = $post_type;
@@ -234,7 +234,7 @@ class acf_Post_object extends acf_Field
234
  <?php
235
  $choices = array(
236
  '' => array(
237
- 'all' => '- All -'
238
  )
239
  );
240
  $choices = array_merge($choices, $this->parent->get_taxonomies_for_select());
@@ -287,8 +287,8 @@ class acf_Post_object extends acf_Field
287
  'name' => 'fields['.$key.'][allow_null]',
288
  'value' => $field['allow_null'],
289
  'choices' => array(
290
- '1' => 'Yes',
291
- '0' => 'No',
292
  ),
293
  'layout' => 'horizontal',
294
  ));
@@ -306,8 +306,8 @@ class acf_Post_object extends acf_Field
306
  'name' => 'fields['.$key.'][multiple]',
307
  'value' => $field['multiple'],
308
  'choices' => array(
309
- '1' => 'Yes',
310
- '0' => 'No',
311
  ),
312
  'layout' => 'horizontal',
313
  ));
61
  // null
62
  if($field['allow_null'] == '1')
63
  {
64
+ echo '<option value="null"> - ' . __("Select",'acf') . ' - </option>';
65
  }
66
 
67
 
210
  </td>
211
  <td>
212
  <?php
213
+ $post_types = array('' => __("All",'acf'));
214
 
215
  foreach (get_post_types(array('public' => true)) as $post_type ) {
216
  $post_types[$post_type] = $post_type;
234
  <?php
235
  $choices = array(
236
  '' => array(
237
+ 'all' => __("All",'acf')
238
  )
239
  );
240
  $choices = array_merge($choices, $this->parent->get_taxonomies_for_select());
287
  'name' => 'fields['.$key.'][allow_null]',
288
  'value' => $field['allow_null'],
289
  'choices' => array(
290
+ '1' => __("Yes",'acf'),
291
+ '0' => __("No",'acf'),
292
  ),
293
  'layout' => 'horizontal',
294
  ));
306
  'name' => 'fields['.$key.'][multiple]',
307
  'value' => $field['multiple'],
308
  'choices' => array(
309
+ '1' => __("Yes",'acf'),
310
+ '0' => __("No",'acf'),
311
  ),
312
  'layout' => 'horizontal',
313
  ));
core/fields/radio.php CHANGED
@@ -112,15 +112,14 @@ class acf_Radio extends acf_Field
112
  <tr class="field_option field_option_<?php echo $this->name; ?>">
113
  <td class="label">
114
  <label for=""><?php _e("Choices",'acf'); ?></label>
115
- <p class="description"><?php _e("Enter your choices one per line<br />
116
  <br />
117
- Red<br />
118
- Blue<br />
119
  <br />
120
- or<br />
121
- <br />
122
- red : Red<br />
123
- blue : Blue",'acf'); ?></p>
124
  </td>
125
  <td>
126
  <textarea rows="5" name="fields[<?php echo $key; ?>][choices]" id=""><?php echo $field['choices']; ?></textarea>
@@ -152,8 +151,8 @@ class acf_Radio extends acf_Field
152
  'value' => $field['layout'],
153
  'layout' => 'horizontal',
154
  'choices' => array(
155
- 'vertical' => 'Vertical',
156
- 'horizontal' => 'Horizontal'
157
  )
158
  ));
159
  ?>
112
  <tr class="field_option field_option_<?php echo $this->name; ?>">
113
  <td class="label">
114
  <label for=""><?php _e("Choices",'acf'); ?></label>
115
+ <p class="description"><?php _e("Enter your choices one per line",'acf'); ?><br />
116
  <br />
117
+ <?php _e("Red",'acf'); ?><br />
118
+ <?php _e("Blue",'acf'); ?><br />
119
  <br />
120
+ <?php _e("red : Red",'acf'); ?><br />
121
+ <?php _e("blue : Blue",'acf'); ?><br />
122
+ </p>
 
123
  </td>
124
  <td>
125
  <textarea rows="5" name="fields[<?php echo $key; ?>][choices]" id=""><?php echo $field['choices']; ?></textarea>
151
  'value' => $field['layout'],
152
  'layout' => 'horizontal',
153
  'choices' => array(
154
+ 'vertical' => __("Vertical",'acf'),
155
+ 'horizontal' => __("Horizontal",'acf')
156
  )
157
  ));
158
  ?>
core/fields/relationship.php CHANGED
@@ -131,7 +131,7 @@ class acf_Relationship extends acf_Field
131
  <thead>
132
  <tr>
133
  <th>
134
- <label class="relationship_label" for="relationship_<?php echo $field['name']; ?>">Search...</label>
135
  <input class="relationship_search" type="text" id="relationship_<?php echo $field['name']; ?>" />
136
  <div class="clear_relationship_search"></div>
137
  </th>
@@ -247,7 +247,7 @@ class acf_Relationship extends acf_Field
247
  </td>
248
  <td>
249
  <?php
250
- $post_types = array('' => '- All -');
251
 
252
  foreach (get_post_types(array('public' => true)) as $post_type ) {
253
  $post_types[$post_type] = $post_type;
@@ -298,7 +298,7 @@ class acf_Relationship extends acf_Field
298
  <?php
299
  $choices = array(
300
  '' => array(
301
- 'all' => '- All -'
302
  )
303
  );
304
  $choices = array_merge($choices, $this->parent->get_taxonomies_for_select());
@@ -316,7 +316,7 @@ class acf_Relationship extends acf_Field
316
  <tr class="field_option field_option_<?php echo $this->name; ?>">
317
  <td class="label">
318
  <label><?php _e("Maximum posts",'acf'); ?></label>
319
- <p class="description"><?php _e("Set to -1 for inifinit",'acf'); ?></p>
320
  </td>
321
  <td>
322
  <?php
131
  <thead>
132
  <tr>
133
  <th>
134
+ <label class="relationship_label" for="relationship_<?php echo $field['name']; ?>"><?php _e("Search",'acf'); ?>...</label>
135
  <input class="relationship_search" type="text" id="relationship_<?php echo $field['name']; ?>" />
136
  <div class="clear_relationship_search"></div>
137
  </th>
247
  </td>
248
  <td>
249
  <?php
250
+ $post_types = array('' => __("All",'acf'));
251
 
252
  foreach (get_post_types(array('public' => true)) as $post_type ) {
253
  $post_types[$post_type] = $post_type;
298
  <?php
299
  $choices = array(
300
  '' => array(
301
+ 'all' => __("All",'acf')
302
  )
303
  );
304
  $choices = array_merge($choices, $this->parent->get_taxonomies_for_select());
316
  <tr class="field_option field_option_<?php echo $this->name; ?>">
317
  <td class="label">
318
  <label><?php _e("Maximum posts",'acf'); ?></label>
319
+ <p class="description"><?php _e("Set to -1 for infinite",'acf'); ?></p>
320
  </td>
321
  <td>
322
  <?php
core/fields/repeater.php CHANGED
@@ -223,7 +223,7 @@ class acf_Repeater extends acf_Field
223
  <div class="fields">
224
 
225
  <div class="no_fields_message" <?php if(count($field['sub_fields']) > 1){ echo 'style="display:none;"'; } ?>>
226
- <?php _e("No fields. Click the \"+ Add Field button\" to create your first field.",'acf'); ?>
227
  </div>
228
 
229
  <?php foreach($field['sub_fields'] as $key2 => $sub_field): ?>
@@ -238,11 +238,11 @@ class acf_Repeater extends acf_Field
238
  <td class="field_order"><span class="circle"><?php echo ($key2+1); ?></span></td>
239
  <td class="field_label">
240
  <strong>
241
- <a class="acf_edit_field" title="Edit this Field" href="javascript:;"><?php echo $sub_field['label']; ?></a>
242
  </strong>
243
  <div class="row_options">
244
- <span><a class="acf_edit_field" title="Edit this Field" href="javascript:;">Edit</a> | </span>
245
- <span><a class="acf_delete_field" title="Delete this Field" href="javascript:;">Delete</a>
246
  </div>
247
  </td>
248
  <td class="field_name"><?php echo $sub_field['name']; ?></td>
@@ -330,7 +330,7 @@ class acf_Repeater extends acf_Field
330
  </div>
331
  <div class="table_footer">
332
  <div class="order_message"></div>
333
- <a href="javascript:;" id="add_field" class="acf-button"><?php _e('+ Add Field','acf'); ?></a>
334
  </div>
335
  </div>
336
  </td>
@@ -362,8 +362,8 @@ class acf_Repeater extends acf_Field
362
  'value' => $field['layout'],
363
  'layout' => 'horizontal',
364
  'choices' => array(
365
- 'table' => 'Table (default)',
366
- 'row' => 'Row'
367
  )
368
  ));
369
  ?>
@@ -499,7 +499,19 @@ class acf_Repeater extends acf_Field
499
  {
500
  // vars
501
  $values = array();
502
- $total = (int) get_post_meta($post_id, $field['name'], true);
 
 
 
 
 
 
 
 
 
 
 
 
503
 
504
  if($total > 0)
505
  {
@@ -519,10 +531,9 @@ class acf_Repeater extends acf_Field
519
  }
520
  }
521
 
522
- return $values;
523
  }
524
 
525
- return array();
526
  }
527
 
528
  /*--------------------------------------------------------------------------------------
@@ -538,7 +549,18 @@ class acf_Repeater extends acf_Field
538
  {
539
  // vars
540
  $values = array();
541
- $total = (int) get_post_meta($post_id, $field['name'], true);
 
 
 
 
 
 
 
 
 
 
 
542
 
543
  if($total > 0)
544
  {
223
  <div class="fields">
224
 
225
  <div class="no_fields_message" <?php if(count($field['sub_fields']) > 1){ echo 'style="display:none;"'; } ?>>
226
+ <?php _e("No fields. Click the \"+ Add Sub Field button\" to create your first field.",'acf'); ?>
227
  </div>
228
 
229
  <?php foreach($field['sub_fields'] as $key2 => $sub_field): ?>
238
  <td class="field_order"><span class="circle"><?php echo ($key2+1); ?></span></td>
239
  <td class="field_label">
240
  <strong>
241
+ <a class="acf_edit_field" title="<?php _e("Edit this Field",'acf'); ?>" href="javascript:;"><?php echo $sub_field['label']; ?></a>
242
  </strong>
243
  <div class="row_options">
244
+ <span><a class="acf_edit_field" title="<?php _e("Edit this Field",'acf'); ?>" href="javascript:;"><?php _e("Edit",'acf'); ?></a> | </span>
245
+ <span><a class="acf_delete_field" title="<?php _e("Delete this Field",'acf'); ?>" href="javascript:;"><?php _e("Delete",'acf'); ?></a>
246
  </div>
247
  </td>
248
  <td class="field_name"><?php echo $sub_field['name']; ?></td>
330
  </div>
331
  <div class="table_footer">
332
  <div class="order_message"></div>
333
+ <a href="javascript:;" id="add_field" class="acf-button"><?php _e('+ Add Sub Field','acf'); ?></a>
334
  </div>
335
  </div>
336
  </td>
362
  'value' => $field['layout'],
363
  'layout' => 'horizontal',
364
  'choices' => array(
365
+ 'table' => __("Table (default)",'acf'),
366
+ 'row' => __("Row",'acf')
367
  )
368
  ));
369
  ?>
499
  {
500
  // vars
501
  $values = array();
502
+ $total = 0;
503
+
504
+
505
+ // get total rows
506
+ if( is_numeric($post_id) )
507
+ {
508
+ $total = (int) get_post_meta($post_id, $field['name'], true);
509
+ }
510
+ else
511
+ {
512
+ $total = (int) get_option( $post_id . '_' . $field['name'] );
513
+ }
514
+
515
 
516
  if($total > 0)
517
  {
531
  }
532
  }
533
 
 
534
  }
535
 
536
+ return $values;
537
  }
538
 
539
  /*--------------------------------------------------------------------------------------
549
  {
550
  // vars
551
  $values = array();
552
+ $total = 0;
553
+
554
+
555
+ // get total rows
556
+ if( is_numeric($post_id) )
557
+ {
558
+ $total = (int) get_post_meta($post_id, $field['name'], true);
559
+ }
560
+ else
561
+ {
562
+ $total = (int) get_option( $post_id . '_' . $field['name'] );
563
+ }
564
 
565
  if($total > 0)
566
  {
core/fields/select.php CHANGED
@@ -162,15 +162,14 @@ class acf_Select extends acf_Field
162
  <tr class="field_option field_option_<?php echo $this->name; ?>">
163
  <td class="label">
164
  <label for=""><?php _e("Choices",'acf'); ?></label>
165
- <p class="description"><?php _e("Enter your choices one per line<br />
166
  <br />
167
- Red<br />
168
- Blue<br />
169
  <br />
170
- or<br />
171
- <br />
172
- red : Red<br />
173
- blue : Blue",'acf'); ?></p>
174
  </td>
175
  <td>
176
  <textarea rows="5" name="fields[<?php echo $key; ?>][choices]" id=""><?php echo $field['choices']; ?></textarea>
@@ -201,8 +200,8 @@ class acf_Select extends acf_Field
201
  'name' => 'fields['.$key.'][allow_null]',
202
  'value' => $field['allow_null'],
203
  'choices' => array(
204
- '1' => 'Yes',
205
- '0' => 'No',
206
  ),
207
  'layout' => 'horizontal',
208
  ));
@@ -220,8 +219,8 @@ class acf_Select extends acf_Field
220
  'name' => 'fields['.$key.'][multiple]',
221
  'value' => $field['multiple'],
222
  'choices' => array(
223
- '1' => 'Yes',
224
- '0' => 'No',
225
  ),
226
  'layout' => 'horizontal',
227
  ));
162
  <tr class="field_option field_option_<?php echo $this->name; ?>">
163
  <td class="label">
164
  <label for=""><?php _e("Choices",'acf'); ?></label>
165
+ <p class="description"><?php _e("Enter your choices one per line",'acf'); ?><br />
166
  <br />
167
+ <?php _e("Red",'acf'); ?><br />
168
+ <?php _e("Blue",'acf'); ?><br />
169
  <br />
170
+ <?php _e("red : Red",'acf'); ?><br />
171
+ <?php _e("blue : Blue",'acf'); ?><br />
172
+ </p>
 
173
  </td>
174
  <td>
175
  <textarea rows="5" name="fields[<?php echo $key; ?>][choices]" id=""><?php echo $field['choices']; ?></textarea>
200
  'name' => 'fields['.$key.'][allow_null]',
201
  'value' => $field['allow_null'],
202
  'choices' => array(
203
+ '1' => __("Yes",'acf'),
204
+ '0' => __("No",'acf'),
205
  ),
206
  'layout' => 'horizontal',
207
  ));
219
  'name' => 'fields['.$key.'][multiple]',
220
  'value' => $field['multiple'],
221
  'choices' => array(
222
+ '1' => __("Yes",'acf'),
223
+ '0' => __("No",'acf'),
224
  ),
225
  'layout' => 'horizontal',
226
  ));
core/fields/text.php CHANGED
@@ -82,8 +82,8 @@ class acf_Text extends acf_Field
82
  'name' => 'fields['.$key.'][formatting]',
83
  'value' => $field['formatting'],
84
  'choices' => array(
85
- 'none' => 'None',
86
- 'html' => 'HTML'
87
  )
88
  ));
89
  ?>
82
  'name' => 'fields['.$key.'][formatting]',
83
  'value' => $field['formatting'],
84
  'choices' => array(
85
+ 'none' => __("None",'acf'),
86
+ 'html' => __("HTML",'acf')
87
  )
88
  ));
89
  ?>
core/fields/textarea.php CHANGED
@@ -83,9 +83,9 @@ class acf_Textarea extends acf_Field
83
  'name' => 'fields['.$key.'][formatting]',
84
  'value' => $field['formatting'],
85
  'choices' => array(
86
- 'none' => 'None',
87
- 'br' => 'auto &lt;br /&gt;',
88
- 'html' => 'HTML',
89
  )
90
  ));
91
  ?>
83
  'name' => 'fields['.$key.'][formatting]',
84
  'value' => $field['formatting'],
85
  'choices' => array(
86
+ 'none' => __("None",'acf'),
87
+ 'br' => __("auto &lt;br /&gt;",'acf'),
88
+ 'html' => __("HTML",'acf'),
89
  )
90
  ));
91
  ?>
core/fields/wysiwyg.php CHANGED
@@ -138,8 +138,8 @@ class acf_Wysiwyg extends acf_Field
138
  'value' => $field['toolbar'],
139
  'layout' => 'horizontal',
140
  'choices' => array(
141
- 'full' => 'Full',
142
- 'basic' => 'Basic'
143
  )
144
  ));
145
  ?>
@@ -157,8 +157,8 @@ class acf_Wysiwyg extends acf_Field
157
  'value' => $field['media_upload'],
158
  'layout' => 'horizontal',
159
  'choices' => array(
160
- 'yes' => 'Yes',
161
- 'no' => 'No',
162
  )
163
  ));
164
  ?>
138
  'value' => $field['toolbar'],
139
  'layout' => 'horizontal',
140
  'choices' => array(
141
+ 'full' => __("Full",'acf'),
142
+ 'basic' => __("Basic",'acf')
143
  )
144
  ));
145
  ?>
157
  'value' => $field['media_upload'],
158
  'layout' => 'horizontal',
159
  'choices' => array(
160
+ 'yes' => __("Yes",'acf'),
161
+ 'no' => __("No",'acf'),
162
  )
163
  ));
164
  ?>
core/options_page.php CHANGED
@@ -133,12 +133,15 @@ class Options_page
133
  // save
134
  if(isset($_POST['update_options']))
135
  {
136
- // post_id = 0 for options page
137
- $post_id = 999999999;
138
-
139
  // strip slashes
140
  $_POST = array_map('stripslashes_deep', $_POST);
141
 
 
 
 
 
 
142
  // save fields
143
  $fields = isset($_POST['fields']) ? $_POST['fields'] : false;
144
 
@@ -148,18 +151,19 @@ class Options_page
148
  {
149
  // get field
150
  $field = $this->parent->get_acf_field($key);
 
 
151
 
152
- $this->parent->update_value($post_id, $field, $value);
153
  }
154
  }
155
 
156
- $this->data['admin_message'] = 'Options Updated';
 
157
 
158
  }
159
 
160
- $metabox_ids = $this->parent->get_input_metabox_ids(array('post_id' => 999999999), false);
161
- /*$style = isset($metabox_ids[0]) ? $this->parent->get_input_style($metabox_ids[0]) : '';
162
- echo '<style type="text/css" id="acf_style" >' .$style . '</style>';*/
163
 
164
  if(empty($metabox_ids))
165
  {
@@ -167,26 +171,24 @@ class Options_page
167
  return false;
168
  }
169
 
170
- // fields admin_head
171
- foreach($this->parent->fields as $field)
172
- {
173
- $this->parent->fields[$field->name]->admin_head();
174
- }
175
-
176
-
177
  // Style
178
  echo '<link rel="stylesheet" type="text/css" href="'.$this->parent->dir.'/css/global.css?ver=' . $this->parent->version . '" />';
179
  echo '<link rel="stylesheet" type="text/css" href="'.$this->parent->dir.'/css/input.css?ver=' . $this->parent->version . '" />';
180
 
 
181
  // Javascript
182
  echo '<script type="text/javascript" src="'.$this->parent->dir.'/js/input-actions.js?ver=' . $this->parent->version . '" ></script>';
183
  echo '<script type="text/javascript">
184
  acf.validation_message = "' . __("Validation Failed. One or more fields below are required.",'acf') . '";
185
- acf.post_id = 999999999;
186
  acf.editor_mode = "tinymce";
187
  acf.admin_url = "' . admin_url() . '";
188
  </script>';
189
-
 
 
 
 
190
 
191
  // get acf's
192
  $acfs = $this->parent->get_field_groups();
@@ -206,7 +208,7 @@ class Options_page
206
  'acf_options_page',
207
  $acf['options']['position'],
208
  'high',
209
- array( 'fields' => $acf['fields'], 'options' => $acf['options'], 'show' => $show )
210
  );
211
  }
212
  }
@@ -238,19 +240,13 @@ class Options_page
238
  ---------------------------------------------------------------------------------------------*/
239
  function admin_print_scripts() {
240
 
241
- foreach($this->parent->fields as $field)
242
- {
243
- $this->parent->fields[$field->name]->admin_print_scripts();
244
- }
245
 
246
  }
247
 
248
  function admin_print_styles() {
249
 
250
- foreach($this->parent->fields as $field)
251
- {
252
- $this->parent->fields[$field->name]->admin_print_styles();
253
- }
254
 
255
  }
256
 
@@ -276,7 +272,7 @@ class Options_page
276
  <?php endif; ?>
277
 
278
  <?php if(isset($this->data['no_fields'])): ?>
279
- <div id="message" class="updated"><p>No Custom Field Group found for the options page. <a href="<?php echo admin_url(); ?>post-new.php?post_type=acf">Create a Custom Field Group</a></p></div>
280
  <?php else: ?>
281
 
282
  <form id="post" method="post" name="post">
133
  // save
134
  if(isset($_POST['update_options']))
135
  {
136
+
 
 
137
  // strip slashes
138
  $_POST = array_map('stripslashes_deep', $_POST);
139
 
140
+
141
+ // options name to save against
142
+ $option_name = 'options';
143
+
144
+
145
  // save fields
146
  $fields = isset($_POST['fields']) ? $_POST['fields'] : false;
147
 
151
  {
152
  // get field
153
  $field = $this->parent->get_acf_field($key);
154
+
155
+ $this->parent->update_value( $option_name , $field, $value );
156
 
 
157
  }
158
  }
159
 
160
+
161
+ $this->data['admin_message'] = __("Options Updated",'acf');
162
 
163
  }
164
 
165
+ $metabox_ids = $this->parent->get_input_metabox_ids(false, false);
166
+
 
167
 
168
  if(empty($metabox_ids))
169
  {
171
  return false;
172
  }
173
 
 
 
 
 
 
 
 
174
  // Style
175
  echo '<link rel="stylesheet" type="text/css" href="'.$this->parent->dir.'/css/global.css?ver=' . $this->parent->version . '" />';
176
  echo '<link rel="stylesheet" type="text/css" href="'.$this->parent->dir.'/css/input.css?ver=' . $this->parent->version . '" />';
177
 
178
+
179
  // Javascript
180
  echo '<script type="text/javascript" src="'.$this->parent->dir.'/js/input-actions.js?ver=' . $this->parent->version . '" ></script>';
181
  echo '<script type="text/javascript">
182
  acf.validation_message = "' . __("Validation Failed. One or more fields below are required.",'acf') . '";
183
+ acf.post_id = 0;
184
  acf.editor_mode = "tinymce";
185
  acf.admin_url = "' . admin_url() . '";
186
  </script>';
187
+
188
+
189
+ // add user js + css
190
+ do_action('acf_head-input');
191
+
192
 
193
  // get acf's
194
  $acfs = $this->parent->get_field_groups();
208
  'acf_options_page',
209
  $acf['options']['position'],
210
  'high',
211
+ array( 'fields' => $acf['fields'], 'options' => $acf['options'], 'show' => $show, 'post_id' => "options" )
212
  );
213
  }
214
  }
240
  ---------------------------------------------------------------------------------------------*/
241
  function admin_print_scripts() {
242
 
243
+ do_action('acf_print_scripts-input');
 
 
 
244
 
245
  }
246
 
247
  function admin_print_styles() {
248
 
249
+ do_action('acf_print_styles-input');
 
 
 
250
 
251
  }
252
 
272
  <?php endif; ?>
273
 
274
  <?php if(isset($this->data['no_fields'])): ?>
275
+ <div id="message" class="updated"><p><?php _e("No Custom Field Group found for the options page",'acf'); ?>. <a href="<?php echo admin_url(); ?>post-new.php?post_type=acf"><?php _e("Create a Custom Field Group",'acf'); ?></a></p></div>
276
  <?php else: ?>
277
 
278
  <form id="post" method="post" name="post">
css/fields.css CHANGED
@@ -458,10 +458,6 @@ table#location_rules a.add:hover {
458
  background-position: 0 100%;
459
  }
460
 
461
- .location_rules p select {
462
- width: 50px;
463
- }
464
-
465
  table#location_rules .acf-loading {
466
  margin: 0 auto;
467
  margin-top: -2px;
@@ -573,7 +569,7 @@ table.acf_input table.acf_cf_meta select {
573
  }
574
 
575
  #submitdiv a.acf-button {
576
- width: 150px;
577
  margin: 0 0 10px;
578
  }
579
 
@@ -587,3 +583,30 @@ table.acf_input table.acf_cf_meta select {
587
  display: none;
588
  }
589
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
458
  background-position: 0 100%;
459
  }
460
 
 
 
 
 
461
  table#location_rules .acf-loading {
462
  margin: 0 auto;
463
  margin-top: -2px;
569
  }
570
 
571
  #submitdiv a.acf-button {
572
+ width: auto;
573
  margin: 0 0 10px;
574
  }
575
 
583
  display: none;
584
  }
585
 
586
+
587
+ /*---------------------------------------------------------------------------------------------
588
+ *
589
+ * Select with Optgroup
590
+ *
591
+ *---------------------------------------------------------------------------------------------*/
592
+ #acf_fields select optgroup,
593
+ #acf_location select optgroup {
594
+ padding: 5px;
595
+ background: #F9F9F9;
596
+ border-bottom: #DFDFDF solid 1px;
597
+ }
598
+
599
+ #acf_fields select option,
600
+ #acf_location select option {
601
+ padding: 3px;
602
+ }
603
+
604
+ #acf_fields select optgroup option,
605
+ #acf_location select optgroup option {
606
+ padding-left: 6px;
607
+ }
608
+
609
+ #acf_fields select optgroup:nth-child(2n),
610
+ #acf_location select optgroup:nth-child(2n) {
611
+ background: #FCFCFC;
612
+ }
css/global.css CHANGED
@@ -197,10 +197,6 @@ ul.radio_list {
197
  margin: 0;
198
  }
199
 
200
- ul.radio_list input[type="radio"] {
201
- margin-right: 5px;
202
- }
203
-
204
  ul.radio_list.horizontal li {
205
  float: left;
206
  margin-right: 20px;
@@ -211,8 +207,10 @@ ul.checkbox_list {
211
  margin: 0;
212
  }
213
 
214
- ul.checkbox_list input[type="checkbox"] {
 
215
  margin-right: 5px;
 
216
  }
217
 
218
 
@@ -284,5 +282,3 @@ input[type="submit"].acf-button[disabled]:hover {
284
  background: -moz-linear-gradient(top, #2c8bbe, #246f99); /* for firefox 3.6+ */
285
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
286
  }
287
-
288
-
197
  margin: 0;
198
  }
199
 
 
 
 
 
200
  ul.radio_list.horizontal li {
201
  float: left;
202
  margin-right: 20px;
207
  margin: 0;
208
  }
209
 
210
+ ul.radio_list input,
211
+ ul.checkbox_list input {
212
  margin-right: 5px;
213
+ width: auto;
214
  }
215
 
216
 
282
  background: -moz-linear-gradient(top, #2c8bbe, #246f99); /* for firefox 3.6+ */
283
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
284
  }
 
 
css/input.css CHANGED
@@ -50,7 +50,7 @@
50
  text-shadow: 0 1px 0 #FFFFFF;
51
  }
52
 
53
- #poststuff .acf_postbox label.field_label .required {
54
  color: #CC0000;
55
  }
56
 
@@ -99,8 +99,31 @@
99
  resize: none;
100
  }
101
 
102
- .acf_postbox .field select{
103
- padding: 2px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  }
105
 
106
  /*---------------------------------------------------------------------------------------------
@@ -179,6 +202,10 @@
179
  display: none;
180
  }
181
 
 
 
 
 
182
  /*---------------------------------------------------------------------------------------------
183
  File Upload
184
  ---------------------------------------------------------------------------------------------*/
@@ -208,6 +235,10 @@
208
  height:
209
  }
210
 
 
 
 
 
211
  /*---------------------------------------------------------------------------------------------
212
  Repeater
213
  ---------------------------------------------------------------------------------------------*/
@@ -220,11 +251,15 @@
220
 
221
  }
222
 
 
 
 
 
223
  .repeater > table > tbody > tr > td {
224
  background: transparent;
225
  border-right: 1px solid #ededed;
226
  border-bottom: 1px solid #ededed;
227
- padding: 8px;
228
  position: relative;
229
  }
230
 
@@ -280,10 +315,10 @@ a.remove_row:hover {
280
  background-position: 0 100%;
281
  }
282
 
283
- .repeater table tr td.order,
284
- .repeater table tr th.order{
285
- width: 16px;
286
- text-align: center;
287
  vertical-align: middle;
288
  color: #aaa;
289
  text-shadow: #fff 0 1px 0;
@@ -293,8 +328,8 @@ a.remove_row:hover {
293
  cursor: move;
294
  }
295
 
296
- .repeater table tr td.remove,
297
- .repeater table tr th.remove {
298
  width: 16px;
299
  vertical-align: middle;
300
  }
@@ -559,6 +594,10 @@ ul.checkbox_list {
559
  padding-top: 0;
560
  }
561
 
 
 
 
 
562
  .acf_flexible_content table tr td.order,
563
  .acf_flexible_content table tr th.order{
564
  width: 16px;
@@ -692,4 +731,42 @@ ul.checkbox_list {
692
  background: #fff;
693
  border: #AAAAAA solid 1px;
694
  border-radius: 4px;
695
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  text-shadow: 0 1px 0 #FFFFFF;
51
  }
52
 
53
+ .field.required label span.required {
54
  color: #CC0000;
55
  }
56
 
99
  resize: none;
100
  }
101
 
102
+
103
+ #poststuff .acf_postbox .field select optgroup {
104
+ padding: 5px;
105
+ background: #fff;
106
+ border-top: #DFDFDF solid 1px;
107
+ }
108
+
109
+ #poststuff .acf_postbox .field select option {
110
+ padding: 3px;
111
+ }
112
+
113
+ #poststuff .acf_postbox .field select optgroup option {
114
+ padding-left: 6px;
115
+ }
116
+
117
+ #poststuff .acf_postbox .field select optgroup:nth-child(2n) {
118
+ background: #F9F9F9;
119
+ }
120
+
121
+ #poststuff .acf_postbox .field select[multiple] {
122
+ padding: 0;
123
+ }
124
+
125
+ #poststuff .acf_postbox .field select[multiple] > optgroup:first-child {
126
+ border-top: 0 none;
127
  }
128
 
129
  /*---------------------------------------------------------------------------------------------
202
  display: none;
203
  }
204
 
205
+ .acf_image_uploader input.button {
206
+ width: auto;
207
+ }
208
+
209
  /*---------------------------------------------------------------------------------------------
210
  File Upload
211
  ---------------------------------------------------------------------------------------------*/
235
  height:
236
  }
237
 
238
+ .acf_file_uploader input.button {
239
+ width: auto;
240
+ }
241
+
242
  /*---------------------------------------------------------------------------------------------
243
  Repeater
244
  ---------------------------------------------------------------------------------------------*/
251
 
252
  }
253
 
254
+ .repeater > table > thead > tr > th {
255
+ width: auto;
256
+ }
257
+
258
  .repeater > table > tbody > tr > td {
259
  background: transparent;
260
  border-right: 1px solid #ededed;
261
  border-bottom: 1px solid #ededed;
262
+ padding: 8px !important;
263
  position: relative;
264
  }
265
 
315
  background-position: 0 100%;
316
  }
317
 
318
+ .repeater > table > thead > tr > th.order,
319
+ .repeater > table > tbody > tr > td.order{
320
+ width: 16px !important;
321
+ text-align: center !important;
322
  vertical-align: middle;
323
  color: #aaa;
324
  text-shadow: #fff 0 1px 0;
328
  cursor: move;
329
  }
330
 
331
+ .repeater > table > thead > tr > th.remove,
332
+ .repeater > table > tbody > tr > td.remove{
333
  width: 16px;
334
  vertical-align: middle;
335
  }
594
  padding-top: 0;
595
  }
596
 
597
+ .acf_flexible_content > .values > table > thead > tr > th {
598
+ width: auto;
599
+ }
600
+
601
  .acf_flexible_content table tr td.order,
602
  .acf_flexible_content table tr th.order{
603
  width: 16px;
731
  background: #fff;
732
  border: #AAAAAA solid 1px;
733
  border-radius: 4px;
734
+ }
735
+
736
+
737
+ /*---------------------------------------------------------------------------------------------
738
+ Taxonomy Edit Error
739
+ ---------------------------------------------------------------------------------------------*/
740
+
741
+ .form-table {
742
+ margin-left: 1px; /* Needed to show the left border - WP has an overflow hidden */
743
+ }
744
+ .form-table .field.error th,
745
+ .form-table .field.error td {
746
+ background: #FFEBE8;
747
+ border: #CC0000 solid 1px;
748
+ }
749
+
750
+ .form-table .field.error th{
751
+ border-right: 0 none;
752
+ }
753
+ .form-table .field.error td{
754
+ border-left: 0 none;
755
+ }
756
+
757
+
758
+ .form-table .field.error label {
759
+ color: #CC0000;
760
+ }
761
+
762
+
763
+ /*---------------------------------------------------------------------------------------------
764
+ *
765
+ * Everythign Field fixes
766
+ *
767
+ *---------------------------------------------------------------------------------------------*/
768
+
769
+ .media-item .describe .repeater > table > thead > tr > th {
770
+ width: auto;
771
+ }
772
+
js/fields.js CHANGED
@@ -365,7 +365,8 @@
365
  // does it have options?
366
  if(!location_rules.find('td.param select option[value="options_page"]').exists())
367
  {
368
- location_rules.find('td.param select').append('<option value="options_page" disabled="true">Options Page (Unlock field with activation code)</option>');
 
369
 
370
  }
371
 
@@ -613,4 +614,4 @@
613
  });
614
 
615
 
616
- })(jQuery);
365
  // does it have options?
366
  if(!location_rules.find('td.param select option[value="options_page"]').exists())
367
  {
368
+ var html = $('#acf_location_options_deactivated').html();
369
+ location_rules.find('td.param select').append( html );
370
 
371
  }
372
 
614
  });
615
 
616
 
617
+ })(jQuery);
js/input-actions.js CHANGED
@@ -46,8 +46,8 @@ var acf = {
46
  acf.valdation = true;
47
 
48
  // show message
49
- $('#post').siblings('#message').remove();
50
- $('#post').before('<div id="message" class="error"><p>' + acf.validation_message + '</p></div>');
51
 
52
 
53
  // hide ajax stuff on submit button
@@ -74,7 +74,7 @@ var acf = {
74
 
75
  function do_validation(){
76
 
77
- $('.acf_postbox:visible .field.required').each(function(){
78
 
79
  var validation = true;
80
 
@@ -157,17 +157,17 @@ var acf = {
157
  */
158
 
159
  // inputs / textareas
160
- $('.acf_postbox .field.required input, .acf_postbox .field.required textarea, .acf_postbox .field.required select').live('focus', function(){
161
  $(this).closest('.field').removeClass('error');
162
  });
163
 
164
  // checkbox
165
- $('.acf_postbox .field.required input:checkbox').live('click', function(){
166
  $(this).closest('.field').removeClass('error');
167
  });
168
 
169
  // wysiwyg
170
- $('.acf_postbox .field.required .acf_wysiwyg').live('mousedown', function(){
171
  $(this).closest('.field').removeClass('error');
172
  });
173
 
@@ -189,10 +189,26 @@ var acf = {
189
  farbtastic = $.farbtastic('#acf_color_picker');
190
  }
191
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
 
193
  });
 
194
 
195
- $('#poststuff input.acf_color_picker').live('focus', function(){
196
 
197
  var input = $(this);
198
 
@@ -220,7 +236,7 @@ var acf = {
220
  * @created: 1/03/2011
221
  */
222
 
223
- $('#poststuff .acf_file_uploader .no-file .button').live('click', function(){
224
 
225
  // vars
226
  var div = $(this).closest('.acf_file_uploader');
@@ -229,12 +245,12 @@ var acf = {
229
  window.acf_div = div;
230
 
231
  // show the thickbox
232
- tb_show('Add Image to field', acf.admin_url + 'media-upload.php?post_id=' + acf.post_id + '&type=file&acf_type=file&TB_iframe=1');
233
 
234
  return false;
235
  });
236
 
237
- $('#poststuff .acf_file_uploader .acf-file-delete').live('click', function(){
238
 
239
  // vars
240
  var div = $(this).closest('.acf_file_uploader');
@@ -253,7 +269,7 @@ var acf = {
253
  * @created: 1/03/2011
254
  */
255
 
256
- $('#poststuff .acf_image_uploader .button').live('click', function(){
257
 
258
  // vars
259
  var div = $(this).closest('.acf_image_uploader');
@@ -268,7 +284,7 @@ var acf = {
268
  return false;
269
  });
270
 
271
- $('#poststuff .acf_image_uploader .remove_image').live('click', function(){
272
 
273
  // vars
274
  var div = $(this).closest('.acf_image_uploader');
@@ -288,7 +304,7 @@ var acf = {
288
  */
289
 
290
  // on mouse over, make list sortable
291
- $('#poststuff .acf_relationship').live('mouseenter', function(){
292
 
293
  if($(this).attr('data-is_setup')) return false;
294
 
@@ -330,7 +346,7 @@ var acf = {
330
  };
331
 
332
  // add from left to right
333
- $('#poststuff .acf_relationship .relationship_left .relationship_list a').live('click', function(){
334
 
335
  // vars
336
  var id = $(this).attr('data-post_id');
@@ -360,7 +376,7 @@ var acf = {
360
  });
361
 
362
  // remove from right to left
363
- $('#poststuff .acf_relationship .relationship_right .relationship_list a').live('click', function(){
364
 
365
  // vars
366
  var id = $(this).attr('data-post_id');
@@ -383,7 +399,7 @@ var acf = {
383
  $.expr[':'].Contains = function(a,i,m){
384
  return (a.textContent || a.innerText || "").toUpperCase().indexOf(m[3].toUpperCase())>=0;
385
  };
386
- $('#poststuff .acf_relationship input.relationship_search').live('change', function()
387
  {
388
  // vars
389
  var filter = $(this).val();
@@ -488,11 +504,20 @@ var acf = {
488
 
489
  $(window).load(function(){
490
 
 
 
 
 
 
 
 
 
491
  if(typeof(tinyMCE) != "object")
492
  {
493
  return false;
494
  }
495
 
 
496
  // store variables
497
  if(tinyMCE != undefined && tinyMCE.settings != undefined)
498
  {
@@ -500,22 +525,21 @@ var acf = {
500
  acf_wysiwyg_buttons.theme_advanced_buttons2 = tinyMCE.settings.theme_advanced_buttons2;
501
  }
502
 
503
- $(document).trigger('acf/setup_fields', $('#poststuff'));
504
 
505
  // if editor_mode == html, toggle the html mode button on the default editor
506
  if(acf.editor_mode && acf.editor_mode == "html")
507
  {
508
  // click html tab after the wysiwyg has been initialed to prevent dual editor buttons
509
  setTimeout(function(){
510
- $('#poststuff #postdivrich #content-html').trigger('click');
511
- }, 1);
512
 
513
  }
514
 
515
  });
516
 
517
  // Sortable: Start
518
- $('#poststuff .repeater > table > tbody, #poststuff .acf_flexible_content > .values').live( "sortstart", function(event, ui) {
519
 
520
  $(ui.item).find('.acf_wysiwyg textarea').each(function(){
521
  tinyMCE.execCommand("mceRemoveControl", false, $(this).attr('id'));
@@ -524,7 +548,7 @@ var acf = {
524
  });
525
 
526
  // Sortable: End
527
- $('#poststuff .repeater > table > tbody, #poststuff .acf_flexible_content > .values').live( "sortstop", function(event, ui) {
528
 
529
  $(ui.item).find('.acf_wysiwyg textarea').each(function(){
530
  tinyMCE.execCommand("mceAddControl", false, $(this).attr('id'));
@@ -599,7 +623,7 @@ var acf = {
599
  });
600
 
601
  // add field
602
- $('#poststuff .repeater #r_add_row').live('click', function(){
603
 
604
  var div = $(this).closest('.repeater');
605
  var row_limit = parseInt(div.attr('data-row_limit'));
@@ -657,7 +681,7 @@ var acf = {
657
 
658
 
659
  // remove field
660
- $('#poststuff .repeater a#r_remove_row').live('click', function(){
661
 
662
  var div = $(this).closest('.repeater');
663
  var tr = $(this).closest('tr');
@@ -706,7 +730,7 @@ var acf = {
706
 
707
 
708
  // add row
709
- $('#poststuff .acf_flexible_content #fc_add_row').live('click', function(){
710
 
711
  if($(this).hasClass('active'))
712
  {
@@ -722,7 +746,7 @@ var acf = {
722
 
723
 
724
  // remove row
725
- $('#poststuff .acf_flexible_content #fc_remove_row').live('click', function(){
726
 
727
  var div = $(this).closest('.acf_flexible_content');
728
  var table = $(this).closest('table');
@@ -750,7 +774,7 @@ var acf = {
750
 
751
 
752
  // add layout
753
- $('#poststuff .acf_flexible_content .table_footer .acf_popup ul li a').live('click', function(){
754
 
755
  // vars
756
  var layout = $(this).attr('data-layout');
@@ -814,7 +838,7 @@ var acf = {
814
  * @created: 4/03/2011
815
  */
816
 
817
- $('#poststuff input.acf_datepicker').live('focus', function(){
818
 
819
  var input = $(this);
820
 
46
  acf.valdation = true;
47
 
48
  // show message
49
+ $(this).siblings('#message').remove();
50
+ $(this).before('<div id="message" class="error"><p>' + acf.validation_message + '</p></div>');
51
 
52
 
53
  // hide ajax stuff on submit button
74
 
75
  function do_validation(){
76
 
77
+ $('.field.required:visible, .form-field.required').each(function(){
78
 
79
  var validation = true;
80
 
157
  */
158
 
159
  // inputs / textareas
160
+ $('.field.required input, .field.required textarea, .field.required select').live('focus', function(){
161
  $(this).closest('.field').removeClass('error');
162
  });
163
 
164
  // checkbox
165
+ $('.field.required input:checkbox').live('click', function(){
166
  $(this).closest('.field').removeClass('error');
167
  });
168
 
169
  // wysiwyg
170
+ $('.field.required .acf_wysiwyg').live('mousedown', function(){
171
  $(this).closest('.field').removeClass('error');
172
  });
173
 
189
  farbtastic = $.farbtastic('#acf_color_picker');
190
  }
191
 
192
+ });
193
+
194
+
195
+ // update colors
196
+ $(document).live('acf/setup_fields', function(e, postbox){
197
+
198
+ $(postbox).find('input.acf_color_picker').each(function(i){
199
+
200
+ $.farbtastic( $(this) ).setColor( $(this).val() ).hsl[2] > 0.5 ? color = '#000' : color = '#fff';
201
+ $(this).css({
202
+ backgroundColor : $(this).val(),
203
+ color : color
204
+ });
205
+
206
+ });
207
 
208
  });
209
+
210
 
211
+ $('input.acf_color_picker').live('focus', function(){
212
 
213
  var input = $(this);
214
 
236
  * @created: 1/03/2011
237
  */
238
 
239
+ $('.acf_file_uploader .no-file .button').live('click', function(){
240
 
241
  // vars
242
  var div = $(this).closest('.acf_file_uploader');
245
  window.acf_div = div;
246
 
247
  // show the thickbox
248
+ tb_show('Add File to field', acf.admin_url + 'media-upload.php?post_id=' + acf.post_id + '&type=file&acf_type=file&TB_iframe=1');
249
 
250
  return false;
251
  });
252
 
253
+ $('.acf_file_uploader .acf-file-delete').live('click', function(){
254
 
255
  // vars
256
  var div = $(this).closest('.acf_file_uploader');
269
  * @created: 1/03/2011
270
  */
271
 
272
+ $('.acf_image_uploader .button').live('click', function(){
273
 
274
  // vars
275
  var div = $(this).closest('.acf_image_uploader');
284
  return false;
285
  });
286
 
287
+ $('.acf_image_uploader .remove_image').live('click', function(){
288
 
289
  // vars
290
  var div = $(this).closest('.acf_image_uploader');
304
  */
305
 
306
  // on mouse over, make list sortable
307
+ $('.acf_relationship').live('mouseenter', function(){
308
 
309
  if($(this).attr('data-is_setup')) return false;
310
 
346
  };
347
 
348
  // add from left to right
349
+ $('.acf_relationship .relationship_left .relationship_list a').live('click', function(){
350
 
351
  // vars
352
  var id = $(this).attr('data-post_id');
376
  });
377
 
378
  // remove from right to left
379
+ $('.acf_relationship .relationship_right .relationship_list a').live('click', function(){
380
 
381
  // vars
382
  var id = $(this).attr('data-post_id');
399
  $.expr[':'].Contains = function(a,i,m){
400
  return (a.textContent || a.innerText || "").toUpperCase().indexOf(m[3].toUpperCase())>=0;
401
  };
402
+ $('.acf_relationship input.relationship_search').live('change', function()
403
  {
404
  // vars
405
  var filter = $(this).val();
504
 
505
  $(window).load(function(){
506
 
507
+
508
+ setTimeout(function(){
509
+
510
+ $(document).trigger('acf/setup_fields', $('#poststuff'));
511
+
512
+ }, 1);
513
+
514
+
515
  if(typeof(tinyMCE) != "object")
516
  {
517
  return false;
518
  }
519
 
520
+
521
  // store variables
522
  if(tinyMCE != undefined && tinyMCE.settings != undefined)
523
  {
525
  acf_wysiwyg_buttons.theme_advanced_buttons2 = tinyMCE.settings.theme_advanced_buttons2;
526
  }
527
 
 
528
 
529
  // if editor_mode == html, toggle the html mode button on the default editor
530
  if(acf.editor_mode && acf.editor_mode == "html")
531
  {
532
  // click html tab after the wysiwyg has been initialed to prevent dual editor buttons
533
  setTimeout(function(){
534
+ $('#postdivrich #content-html').trigger('click');
535
+ }, 2);
536
 
537
  }
538
 
539
  });
540
 
541
  // Sortable: Start
542
+ $('.repeater > table > tbody, .acf_flexible_content > .values').live( "sortstart", function(event, ui) {
543
 
544
  $(ui.item).find('.acf_wysiwyg textarea').each(function(){
545
  tinyMCE.execCommand("mceRemoveControl", false, $(this).attr('id'));
548
  });
549
 
550
  // Sortable: End
551
+ $('.repeater > table > tbody, .acf_flexible_content > .values').live( "sortstop", function(event, ui) {
552
 
553
  $(ui.item).find('.acf_wysiwyg textarea').each(function(){
554
  tinyMCE.execCommand("mceAddControl", false, $(this).attr('id'));
623
  });
624
 
625
  // add field
626
+ $('.repeater #r_add_row').live('click', function(){
627
 
628
  var div = $(this).closest('.repeater');
629
  var row_limit = parseInt(div.attr('data-row_limit'));
681
 
682
 
683
  // remove field
684
+ $('.repeater a#r_remove_row').live('click', function(){
685
 
686
  var div = $(this).closest('.repeater');
687
  var tr = $(this).closest('tr');
730
 
731
 
732
  // add row
733
+ $('.acf_flexible_content #fc_add_row').live('click', function(){
734
 
735
  if($(this).hasClass('active'))
736
  {
746
 
747
 
748
  // remove row
749
+ $('.acf_flexible_content #fc_remove_row').live('click', function(){
750
 
751
  var div = $(this).closest('.acf_flexible_content');
752
  var table = $(this).closest('table');
774
 
775
 
776
  // add layout
777
+ $('.acf_flexible_content .table_footer .acf_popup ul li a').live('click', function(){
778
 
779
  // vars
780
  var layout = $(this).attr('data-layout');
838
  * @created: 4/03/2011
839
  */
840
 
841
+ $('input.acf_datepicker').live('focus', function(){
842
 
843
  var input = $(this);
844
 
lang/acf-fr_FR.mo CHANGED
Binary file
lang/acf-fr_FR.po CHANGED
@@ -1,36 +1,43 @@
1
- # Copyright (C) 2010
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: 2011-07-16 04:46:14+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: 2011-11-28 11:30-0300\n"
12
  "Last-Translator: Netactions <infos@netactions.net>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: core/fields/wysiwyg.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  msgid "Wysiwyg Editor"
17
  msgstr "Editeur WYSIWYG"
18
 
19
- #: core/fields/post_object.php:12
 
20
  msgid "Post Object"
21
  msgstr "Objet 'article'"
22
 
23
- #: core/fields/post_object.php:48
24
- msgid "Select Option"
25
- msgstr "Sélectionner une option"
26
-
27
- #: core/fields/post_object.php:132
28
- #: core/fields/page_link.php:144
29
  msgid "Post Type"
30
  msgstr "Type d'article"
31
 
32
- #: core/fields/post_object.php:133
33
- #: core/fields/page_link.php:145
34
  msgid ""
35
  "Filter posts by selecting a post type<br />\n"
36
  "\t\t\t\tTip: deselect all post types to show all post type's posts"
@@ -38,113 +45,134 @@ msgstr ""
38
  "FIltrer les articles par type<br />\n"
39
  "\t\t\t\tAstuce : Ne pas sélectionner de type pour montrer tous les articles"
40
 
41
- #: core/fields/post_object.php:164
42
- msgid "Select multiple posts?"
43
- msgstr "Sélectionner plusieurs articles ?"
44
-
45
- #: core/fields/textarea.php:11
46
  msgid "Text Area"
47
  msgstr "Zone de texte"
48
 
49
- #: core/fields/repeater.php:13
50
- #: core/screen_extra.php:23
51
  msgid "Repeater"
52
- msgstr "Zone répétable"
53
 
54
- #: core/fields/repeater.php:165
 
55
  msgid "Repeater Fields"
56
- msgstr "Champs répétables"
57
 
58
- #: core/fields/repeater.php:172
59
- #: core/fields_meta_box.php:36
 
 
60
  msgid "Field Order"
61
- msgstr "Position du champ"
62
-
63
- #: core/fields/repeater.php:173
64
- #: core/fields_meta_box.php:37
65
- #: core/fields_meta_box.php:87
 
 
 
 
66
  msgid "Field Label"
67
- msgstr "Titre du champ"
68
-
69
- #: core/fields/repeater.php:174
70
- #: core/fields_meta_box.php:38
71
- #: core/fields_meta_box.php:106
 
 
 
 
72
  msgid "Field Name"
73
- msgstr "Nom du champ"
74
-
75
- #: core/fields/repeater.php:175
76
- #: core/screen_extra.php:9
77
- #: core/fields_meta_box.php:39
78
- #: core/fields_meta_box.php:124
 
 
 
 
79
  msgid "Field Type"
80
- msgstr "Type du champ"
81
 
82
- #: core/fields/repeater.php:301
 
83
  msgid "Row Limit"
84
  msgstr "Nombre max de lignes"
85
 
86
- #: core/fields/repeater.php:310
 
 
 
87
  msgid "Layout"
88
  msgstr "Disposition"
89
 
90
- #: core/fields/true_false.php:11
 
91
  msgid "True / False"
92
  msgstr "Vrai / Faux"
93
 
94
- #: core/fields/true_false.php:64
 
95
  msgid "Message"
96
  msgstr "Message"
97
 
98
- #: core/fields/true_false.php:65
 
99
  msgid "eg. Show extra content"
100
  msgstr "ex : Montrer du contenu supplémentaire"
101
 
102
- #: core/fields/file.php:12
 
103
  msgid "File"
104
  msgstr "Fichier"
105
 
106
- #: core/fields/file.php:36
107
- #: core/fields/image.php:36
108
- msgid "Save Format"
109
- msgstr "Enregistrer"
110
-
111
- #: core/fields/file.php:103
112
  msgid "Select File"
113
  msgstr "Sélectionner un fichier"
114
 
115
- #: core/fields/file.php:189
116
- #: core/fields/file.php:193
117
  msgid "Remove File"
118
  msgstr "Supprimer le fichier"
119
 
120
- #: core/fields/file.php:197
121
- msgid "No File selected"
122
- msgstr "Aucun fichier sélectionné"
123
-
124
- #: core/fields/file.php:197
125
  msgid "Add File"
126
  msgstr "Ajouter un fichier"
127
 
128
- #: core/fields/page_link.php:12
 
129
  msgid "Page Link"
130
- msgstr "Lien de la page"
131
 
132
- #: core/fields/page_link.php:177
133
- #: core/fields/select.php:107
 
 
134
  msgid "Select multiple values?"
135
  msgstr "Plusieurs valeurs possibles ?"
136
 
137
- #: core/fields/select.php:12
 
138
  msgid "Select"
139
  msgstr "Sélectionner"
140
 
141
- #: core/fields/select.php:89
142
- #: core/fields/checkbox.php:74
 
 
143
  msgid "Choices"
144
  msgstr "Choix"
145
 
146
- #: core/fields/select.php:90
147
- #: core/fields/checkbox.php:75
 
 
148
  msgid ""
149
  "Enter your choices one per line<br />\n"
150
  "\t\t\t\t<br />\n"
@@ -155,271 +183,719 @@ msgid ""
155
  "\t\t\t\t<br />\n"
156
  "\t\t\t\tred : Red<br />\n"
157
  "\t\t\t\tblue : Blue"
158
- msgstr ""
159
- "Saisir vos choix (un par ligne) br />\n"
160
- "\t\t\t\t<br />\n"
161
- "\t\t\t\tRouge<br />\n"
162
- "\t\t\t\tBleu<br />\n"
163
- "\t\t\t\t<br />\n"
164
- "\t\t\t\tou<br />\n"
165
- "\t\t\t\t<br />\n"
166
- "\t\t\t\trouge : Rouge<br />\n"
167
- "\t\t\t\tbleu : Bleu"
168
 
169
- #: core/fields/checkbox.php:11
 
170
  msgid "Checkbox"
171
  msgstr "Case à cocher"
172
 
173
- #: core/fields/text.php:11
 
174
  msgid "Text"
175
  msgstr "Texte"
176
 
177
- #: core/fields/image.php:12
 
178
  msgid "Image"
179
  msgstr "Image"
180
 
181
- #: core/fields/image.php:103
 
182
  msgid "Select Image"
183
  msgstr "Sélectionner une image"
184
 
185
- #: core/fields/image.php:219
 
186
  msgid "No image selected"
187
  msgstr "Aucune image sélectionnée"
188
 
189
- #: core/fields/image.php:219
 
190
  msgid "Add Image"
191
  msgstr "Ajouter une image"
192
 
193
- #: core/fields/date_picker/date_picker.php:12
 
194
  msgid "Date Picker"
195
  msgstr "Date"
196
 
197
- #: core/fields/date_picker/date_picker.php:32
 
198
  msgid "Date format"
199
  msgstr "Format de date"
200
 
201
- #: core/fields/date_picker/date_picker.php:33
 
202
  msgid "eg. dd/mm/yy. read more about"
203
- msgstr "ex: dd/mm/yy. En savoir plus"
204
 
205
- #: core/acf_post_type.php:4
206
- #: acf.php:215
207
- msgid "Advanced&nbsp;Custom&nbsp;Fields"
208
- msgstr ""
209
-
210
- #: core/acf_post_type.php:5
211
  msgid "Advanced Custom Fields"
212
  msgstr ""
213
 
214
- #: core/acf_post_type.php:6
 
 
215
  msgid "Add New"
216
  msgstr "Ajouter"
217
 
218
- #: core/acf_post_type.php:7
219
- msgid "Add New Advanced Custom Field Group"
220
- msgstr "Ajouter un nouveau groupe d'options"
221
-
222
- #: core/acf_post_type.php:8
223
- msgid "Edit Advanced Custom Field Group"
224
- msgstr "Modifier le groupe d'options"
225
-
226
- #: core/acf_post_type.php:9
227
- msgid "New Advanced Custom Field Group"
228
- msgstr "Nouveau groupe d'options"
229
-
230
- #: core/acf_post_type.php:10
231
- msgid "View Advanced Custom Field Group"
232
- msgstr "Voir le groupe d'options"
233
-
234
- #: core/acf_post_type.php:11
235
- msgid "Search Advanced Custom Field Groups"
236
- msgstr "Rechercher un groupe d'options"
237
-
238
- #: core/acf_post_type.php:12
239
- msgid "No Advanced Custom Field Groups found"
240
- msgstr "Aucun groupe d'options trouvé"
241
-
242
- #: core/acf_post_type.php:13
243
- msgid "No Advanced Custom Field Groups found in Trash"
244
- msgstr "Aucun groupe d'options dans la corbeille"
245
-
246
- #: core/options_page.php:39
247
- #: core/options_page.php:40
248
  msgid "Options"
249
  msgstr "Options"
250
 
251
- #: core/options_page.php:226
252
- msgid "Settings saved"
253
- msgstr "Paramètres enregistrés"
254
-
255
- #: core/options_page.php:237
256
- msgid "Save"
257
- msgstr "Enregistrer"
258
-
259
- #: core/options_page.php:327
260
- msgid "No Options"
261
- msgstr "Aucune option"
262
-
263
- #: core/options_page.php:331
264
- msgid "Sorry, it seems there are no fields for this options page."
265
- msgstr "Désolé, il n'y a aucun champ sur cette page d'options."
266
-
267
- #: core/screen_extra.php:4
268
- msgid "Unlock Special Fields."
269
- msgstr "Débloquer les Champs Spéciaux."
270
-
271
- #: core/screen_extra.php:5
272
- msgid "Special Fields can be unlocked by purchasing an activation code. Each activation code can be used on multiple sites."
273
- msgstr "Les Champs Spéciaux peuvent être désactivés en achetant un code d'activation."
274
-
275
- #: core/screen_extra.php:5
276
- msgid "Visit the Plugin Store"
277
- msgstr "Visiter le Plugin Store"
278
-
279
- #: core/screen_extra.php:10
280
  msgid "Status"
281
  msgstr "Status"
282
 
283
- #: core/screen_extra.php:11
 
284
  msgid "Activation Code"
285
  msgstr "Code d'activation"
286
 
287
- #: core/screen_extra.php:25
288
- #: core/screen_extra.php:57
 
 
289
  msgid "Active"
290
  msgstr "Actif"
291
 
292
- #: core/screen_extra.php:29
293
- #: core/screen_extra.php:61
 
 
294
  msgid "Inactive"
295
  msgstr "Inactif"
296
 
297
- #: core/screen_extra.php:55
 
298
  msgid "Options Page"
299
  msgstr "Page d'options"
300
 
301
- #: core/screen_extra.php:84
302
- msgid "Unlock Fields"
303
- msgstr "Déverouller les champs"
304
-
305
- #: core/screen_extra.php:102
306
- msgid "Advanced Custom Fields v"
307
- msgstr ""
308
-
309
- #: core/screen_extra.php:105
310
  msgid "Changelog"
311
  msgstr "Changelog"
312
 
313
- #: core/screen_extra.php:106
 
314
  msgid "See what's new in"
315
  msgstr "Voir les nouveautés de la version"
316
 
317
- #: core/screen_extra.php:109
 
318
  msgid "Resources"
319
  msgstr "Ressources"
320
 
321
- #: core/screen_extra.php:110
322
- msgid "Watch tutorials, read documentation, learn the API code and find some tips &amp; tricks for your next web project."
323
- msgstr "Voir les tutoriels, lire la documentation, ..."
324
-
325
- #: core/screen_extra.php:111
326
- msgid "View the plugins website"
327
- msgstr "Voir le site web du plugin"
328
-
329
- #: core/screen_extra.php:114
330
- msgid "Support"
331
- msgstr "Support"
332
-
333
- #: core/screen_extra.php:115
334
- msgid "Join the growing community over at the support forum to share ideas, report bugs and keep up to date with ACF"
335
- msgstr "Rejoignez la communauté grandissant sur le support pour partager vos idées, signaler un bug et suivre l'actualité d'ACF"
336
-
337
- #: core/screen_extra.php:116
338
- msgid "View the Support Forum"
339
- msgstr "Voir le support"
340
-
341
- #: core/screen_extra.php:119
342
- msgid "Developed by"
343
- msgstr "Développé par"
344
-
345
- #: core/screen_extra.php:120
346
- msgid "Vote for ACF"
347
- msgstr "Votez pour ACF"
348
-
349
- #: core/screen_extra.php:120
350
- msgid "Twitter"
351
- msgstr "Twitter"
352
-
353
- #: core/screen_extra.php:120
354
- msgid "Blog"
355
- msgstr "Blog"
356
-
357
- #: core/fields_meta_box.php:46
358
  msgid "No fields. Click the \"+ Add Field button\" to create your first field."
359
- msgstr "Aucun champ. Cliquer sur \"+ Ajouter un champ\" pour créer un premier champ."
360
 
361
- #: core/fields_meta_box.php:62
 
362
  msgid "Edit"
363
  msgstr "Modifier"
364
 
365
- #: core/fields_meta_box.php:63
 
 
366
  msgid "Delete"
367
  msgstr "Supprimer"
368
 
369
- #: core/fields_meta_box.php:88
 
 
 
370
  msgid "This is the name which will appear on the EDIT page"
371
- msgstr "Ce même nom va apapraître sur la page d'édition"
372
 
373
- #: core/fields_meta_box.php:107
 
 
 
374
  msgid "Single word, no spaces. Underscores and dashes allowed"
375
- msgstr "Un seul mot sans espace. Les '_' et '-' ne sont pas autorisés"
376
 
377
- #: core/fields_meta_box.php:140
 
378
  msgid "Field Instructions"
379
- msgstr "Instructions pour ce champ"
380
 
381
- #: core/fields_meta_box.php:141
 
382
  msgid "Instructions for authors. Shown when submitting data"
383
- msgstr ""
384
-
385
- #: core/fields_meta_box.php:157
386
- msgid "Is field searchable?"
387
- msgstr "Ce champ peut être recherché ?"
388
-
389
- #: core/fields_meta_box.php:165
390
- msgid "Save this field's value as a standard WordPress Custom Field"
391
- msgstr "Enregistrer la valeur de ce champ comme un Custom Field Wordpress standard"
392
 
393
- #: core/fields_meta_box.php:200
 
 
 
394
  msgid "+ Add Field"
395
  msgstr "+ Ajouter"
396
 
397
- #: core/options_meta_box.php:18
 
398
  msgid "Show on page"
399
- msgstr "Voir sur la page"
400
 
401
- #: core/options_meta_box.php:19
 
402
  msgid "Deselect items to hide them on the edit page"
403
- msgstr "Le groupe d'options apparaîtra sur les pages d'édition ci-contre"
404
 
405
- #: core/options_meta_box.php:20
 
406
  msgid "If multiple ACF groups appear on an edit page, the first ACF group's options will be used. The first ACF group is the one with the lowest order number."
407
- msgstr "Utilisez la numérotation pour modifier l'ordre d'affichager des groupes d'options."
408
 
409
- #: core/options_meta_box.php:49
410
- msgid "Field Group Layout"
411
- msgstr "Disposition du groupe de champs"
 
412
 
413
- #: core/options_meta_box.php:50
414
- msgid "Display your field group with or without a box"
415
- msgstr "Afficher le groupe de champs avec ou sans boite"
 
 
 
 
 
 
416
 
417
  #: acf.php:211
418
- msgid "Adv Custom Fields"
 
419
  msgstr ""
420
 
421
- #: acf.php:306
422
- #: acf.php:324
423
- msgid "Error: Field Type does not exist!"
424
- msgstr "Erreur : Ce type de champ n'existe pas !"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
5
  "POT-Creation-Date: 2011-07-16 04:46:14+00:00\n"
 
 
 
6
  "PO-Revision-Date: 2011-11-28 11:30-0300\n"
7
  "Last-Translator: Netactions <infos@netactions.net>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: \n"
14
+ "X-Poedit-Country: \n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: core/fields/wysiwyg.php:21
23
+ #@ acf
24
  msgid "Wysiwyg Editor"
25
  msgstr "Editeur WYSIWYG"
26
 
27
+ #: core/fields/post_object.php:21
28
+ #@ acf
29
  msgid "Post Object"
30
  msgstr "Objet 'article'"
31
 
32
+ #: core/fields/page_link.php:194
33
+ #: core/fields/post_object.php:209
34
+ #: core/fields/relationship.php:246
35
+ #@ acf
 
 
36
  msgid "Post Type"
37
  msgstr "Type d'article"
38
 
39
+ #: core/fields/page_link.php:195
40
+ #@ acf
41
  msgid ""
42
  "Filter posts by selecting a post type<br />\n"
43
  "\t\t\t\tTip: deselect all post types to show all post type's posts"
45
  "FIltrer les articles par type<br />\n"
46
  "\t\t\t\tAstuce : Ne pas sélectionner de type pour montrer tous les articles"
47
 
48
+ #: core/fields/textarea.php:21
49
+ #@ acf
 
 
 
50
  msgid "Text Area"
51
  msgstr "Zone de texte"
52
 
53
+ #: core/fields/repeater.php:21
54
+ #@ acf
55
  msgid "Repeater"
56
+ msgstr "Répéteur"
57
 
58
+ #: core/fields/repeater.php:207
59
+ #@ acf
60
  msgid "Repeater Fields"
61
+ msgstr "Champs répéteurs"
62
 
63
+ #: core/admin/meta_box_fields.php:50
64
+ #: core/fields/flexible_content.php:271
65
+ #: core/fields/repeater.php:215
66
+ #@ acf
67
  msgid "Field Order"
68
+ msgstr "Position du champs"
69
+
70
+ #: core/admin/meta_box_fields.php:51
71
+ #: core/admin/meta_box_fields.php:91
72
+ #: core/fields/flexible_content.php:272
73
+ #: core/fields/flexible_content.php:317
74
+ #: core/fields/repeater.php:216
75
+ #: core/fields/repeater.php:261
76
+ #@ acf
77
  msgid "Field Label"
78
+ msgstr "Titre du champs"
79
+
80
+ #: core/admin/meta_box_fields.php:52
81
+ #: core/admin/meta_box_fields.php:107
82
+ #: core/fields/flexible_content.php:273
83
+ #: core/fields/flexible_content.php:333
84
+ #: core/fields/repeater.php:217
85
+ #: core/fields/repeater.php:277
86
+ #@ acf
87
  msgid "Field Name"
88
+ msgstr "Nom du champs"
89
+
90
+ #: core/admin/meta_box_fields.php:53
91
+ #: core/admin/meta_box_fields.php:122
92
+ #: core/admin/page_settings.php:44
93
+ #: core/fields/flexible_content.php:274
94
+ #: core/fields/flexible_content.php:348
95
+ #: core/fields/repeater.php:218
96
+ #: core/fields/repeater.php:292
97
+ #@ acf
98
  msgid "Field Type"
99
+ msgstr "Type de champs"
100
 
101
+ #: core/fields/repeater.php:341
102
+ #@ acf
103
  msgid "Row Limit"
104
  msgstr "Nombre max de lignes"
105
 
106
+ #: core/fields/flexible_content.php:219
107
+ #: core/fields/radio.php:145
108
+ #: core/fields/repeater.php:355
109
+ #@ acf
110
  msgid "Layout"
111
  msgstr "Disposition"
112
 
113
+ #: core/fields/true_false.php:21
114
+ #@ acf
115
  msgid "True / False"
116
  msgstr "Vrai / Faux"
117
 
118
+ #: core/fields/true_false.php:68
119
+ #@ acf
120
  msgid "Message"
121
  msgstr "Message"
122
 
123
+ #: core/fields/true_false.php:69
124
+ #@ acf
125
  msgid "eg. Show extra content"
126
  msgstr "ex : Montrer du contenu supplémentaire"
127
 
128
+ #: core/fields/file.php:20
129
+ #@ acf
130
  msgid "File"
131
  msgstr "Fichier"
132
 
133
+ #: core/fields/file.php:445
134
+ #@ acf
 
 
 
 
135
  msgid "Select File"
136
  msgstr "Sélectionner un fichier"
137
 
138
+ #: core/fields/file.php:60
139
+ #@ acf
140
  msgid "Remove File"
141
  msgstr "Supprimer le fichier"
142
 
143
+ #: core/fields/file.php:165
144
+ #@ acf
 
 
 
145
  msgid "Add File"
146
  msgstr "Ajouter un fichier"
147
 
148
+ #: core/fields/page_link.php:21
149
+ #@ acf
150
  msgid "Page Link"
151
+ msgstr "Lien vers page ou article"
152
 
153
+ #: core/fields/page_link.php:242
154
+ #: core/fields/post_object.php:300
155
+ #: core/fields/select.php:214
156
+ #@ acf
157
  msgid "Select multiple values?"
158
  msgstr "Plusieurs valeurs possibles ?"
159
 
160
+ #: core/fields/select.php:21
161
+ #@ acf
162
  msgid "Select"
163
  msgstr "Sélectionner"
164
 
165
+ #: core/fields/checkbox.php:101
166
+ #: core/fields/radio.php:114
167
+ #: core/fields/select.php:164
168
+ #@ acf
169
  msgid "Choices"
170
  msgstr "Choix"
171
 
172
+ #: core/fields/checkbox.php:102
173
+ #: core/fields/radio.php:115
174
+ #: core/fields/select.php:165
175
+ #@ acf
176
  msgid ""
177
  "Enter your choices one per line<br />\n"
178
  "\t\t\t\t<br />\n"
183
  "\t\t\t\t<br />\n"
184
  "\t\t\t\tred : Red<br />\n"
185
  "\t\t\t\tblue : Blue"
186
+ msgstr "Saisissez vos choix un par ligne<br /><br />Rouge<br />Bleu<br /><br />ou<br /><br />rouge : Rouge<br />bleu : Bleu"
 
 
 
 
 
 
 
 
 
187
 
188
+ #: core/fields/checkbox.php:21
189
+ #@ acf
190
  msgid "Checkbox"
191
  msgstr "Case à cocher"
192
 
193
+ #: core/fields/text.php:21
194
+ #@ acf
195
  msgid "Text"
196
  msgstr "Texte"
197
 
198
+ #: core/fields/image.php:21
199
+ #@ acf
200
  msgid "Image"
201
  msgstr "Image"
202
 
203
+ #: core/fields/image.php:495
204
+ #@ acf
205
  msgid "Select Image"
206
  msgstr "Sélectionner une image"
207
 
208
+ #: core/fields/image.php:153
209
+ #@ acf
210
  msgid "No image selected"
211
  msgstr "Aucune image sélectionnée"
212
 
213
+ #: core/fields/image.php:153
214
+ #@ acf
215
  msgid "Add Image"
216
  msgstr "Ajouter une image"
217
 
218
+ #: core/fields/date_picker/date_picker.php:21
219
+ #@ acf
220
  msgid "Date Picker"
221
  msgstr "Date"
222
 
223
+ #: core/fields/date_picker/date_picker.php:82
224
+ #@ acf
225
  msgid "Date format"
226
  msgstr "Format de date"
227
 
228
+ #: core/fields/date_picker/date_picker.php:83
229
+ #@ acf
230
  msgid "eg. dd/mm/yy. read more about"
231
+ msgstr "ex : dd/mm/yy. En savoir plus"
232
 
233
+ #: core/actions/init.php:108
234
+ #: core/admin/page_acf.php:14
235
+ #@ acf
 
 
 
236
  msgid "Advanced Custom Fields"
237
  msgstr ""
238
 
239
+ #: core/actions/init.php:109
240
+ #: core/fields/flexible_content.php:222
241
+ #@ acf
242
  msgid "Add New"
243
  msgstr "Ajouter"
244
 
245
+ #: core/options_page.php:62
246
+ #: core/options_page.php:74
247
+ #@ acf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  msgid "Options"
249
  msgstr "Options"
250
 
251
+ #: core/admin/page_settings.php:45
252
+ #@ acf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  msgid "Status"
254
  msgstr "Status"
255
 
256
+ #: core/admin/page_settings.php:46
257
+ #@ acf
258
  msgid "Activation Code"
259
  msgstr "Code d'activation"
260
 
261
+ #: core/admin/page_settings.php:53
262
+ #: core/admin/page_settings.php:73
263
+ #: core/admin/page_settings.php:93
264
+ #@ acf
265
  msgid "Active"
266
  msgstr "Actif"
267
 
268
+ #: core/admin/page_settings.php:53
269
+ #: core/admin/page_settings.php:73
270
+ #: core/admin/page_settings.php:93
271
+ #@ acf
272
  msgid "Inactive"
273
  msgstr "Inactif"
274
 
275
+ #: core/admin/page_settings.php:92
276
+ #@ acf
277
  msgid "Options Page"
278
  msgstr "Page d'options"
279
 
280
+ #: core/admin/page_acf.php:16
281
+ #@ acf
 
 
 
 
 
 
 
282
  msgid "Changelog"
283
  msgstr "Changelog"
284
 
285
+ #: core/admin/page_acf.php:17
286
+ #@ acf
287
  msgid "See what's new in"
288
  msgstr "Voir les nouveautés de la version"
289
 
290
+ #: core/admin/page_acf.php:19
291
+ #@ acf
292
  msgid "Resources"
293
  msgstr "Ressources"
294
 
295
+ #: core/fields/flexible_content.php:282
296
+ #: core/fields/repeater.php:226
297
+ #@ acf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  msgid "No fields. Click the \"+ Add Field button\" to create your first field."
299
+ msgstr "Aucun champs. Cliquer sur \"+ Ajouter\" pour créer un premier champs."
300
 
301
+ #: core/admin/meta_box_fields.php:74
302
+ #@ acf
303
  msgid "Edit"
304
  msgstr "Modifier"
305
 
306
+ #: core/admin/meta_box_fields.php:76
307
+ #: core/fields/flexible_content.php:223
308
+ #@ acf
309
  msgid "Delete"
310
  msgstr "Supprimer"
311
 
312
+ #: core/admin/meta_box_fields.php:92
313
+ #: core/fields/flexible_content.php:318
314
+ #: core/fields/repeater.php:262
315
+ #@ acf
316
  msgid "This is the name which will appear on the EDIT page"
317
+ msgstr "Ce nom apparaîtra sur la page d'édition"
318
 
319
+ #: core/admin/meta_box_fields.php:108
320
+ #: core/fields/flexible_content.php:334
321
+ #: core/fields/repeater.php:278
322
+ #@ acf
323
  msgid "Single word, no spaces. Underscores and dashes allowed"
324
+ msgstr "Un seul mot sans espace.<br />Les '_' et '-' sont autorisés"
325
 
326
+ #: core/admin/meta_box_fields.php:135
327
+ #@ acf
328
  msgid "Field Instructions"
329
+ msgstr "Instructions pour ce champs"
330
 
331
+ #: core/admin/meta_box_fields.php:136
332
+ #@ acf
333
  msgid "Instructions for authors. Shown when submitting data"
334
+ msgstr "Instructions pour les auteurs. Affichées lors de la soumission de données"
 
 
 
 
 
 
 
 
335
 
336
+ #: core/admin/meta_box_fields.php:190
337
+ #: core/fields/flexible_content.php:388
338
+ #: core/fields/repeater.php:333
339
+ #@ acf
340
  msgid "+ Add Field"
341
  msgstr "+ Ajouter"
342
 
343
+ #: core/admin/meta_box_options.php:70
344
+ #@ acf
345
  msgid "Show on page"
346
+ msgstr "Afficher sur la page"
347
 
348
+ #: core/admin/meta_box_options.php:71
349
+ #@ acf
350
  msgid "Deselect items to hide them on the edit page"
351
+ msgstr "Décochez les champs que vous souhaitez masquer sur la page d'édition"
352
 
353
+ #: core/admin/meta_box_options.php:72
354
+ #@ acf
355
  msgid "If multiple ACF groups appear on an edit page, the first ACF group's options will be used. The first ACF group is the one with the lowest order number."
356
+ msgstr "Si plusieurs groupes ACF sont présents sur une page d'édition, le premier groupe affiché sera celui avec le numéro d'ordre le plus bas."
357
 
358
+ #: acf.php:708
359
+ #@ acf
360
+ msgid "Error: Field Type does not exist!"
361
+ msgstr "Erreur : Ce type de champs n'existe pas !"
362
 
363
+ #: acf.php:209
364
+ #@ acf
365
+ msgid "Custom Fields"
366
+ msgstr ""
367
+
368
+ #: acf.php:210
369
+ #@ wp3i
370
+ msgid "Settings"
371
+ msgstr ""
372
 
373
  #: acf.php:211
374
+ #@ wp3i
375
+ msgid "Upgrade"
376
  msgstr ""
377
 
378
+ #: acf.php:407
379
+ #: core/api.php:492
380
+ #: core/options_page.php:184
381
+ #@ acf
382
+ msgid "Validation Failed. One or more fields below are required."
383
+ msgstr "Validation échouée. Un ou plusieurs champs sont requis."
384
+
385
+ #: core/actions/export.php:19
386
+ #@ acf
387
+ msgid "No ACF groups selected"
388
+ msgstr "Aucun groupe de champs sélectionné"
389
+
390
+ #: core/actions/init.php:107
391
+ #@ acf
392
+ msgid "Field&nbsp;Groups"
393
+ msgstr "Groupes de champs"
394
+
395
+ #: core/actions/init.php:110
396
+ #@ acf
397
+ msgid "Add New Field Group"
398
+ msgstr "Nouveau groupe de champs"
399
+
400
+ #: core/actions/init.php:111
401
+ #@ acf
402
+ msgid "Edit Field Group"
403
+ msgstr "Modifier le groupe de champs"
404
+
405
+ #: core/actions/init.php:112
406
+ #@ acf
407
+ msgid "New Field Group"
408
+ msgstr "Nouveau groupe de champs"
409
+
410
+ #: core/actions/init.php:113
411
+ #@ default
412
+ msgid "View Field Group"
413
+ msgstr ""
414
+
415
+ #: core/actions/init.php:114
416
+ #@ default
417
+ msgid "Search Field Groups"
418
+ msgstr ""
419
+
420
+ #: core/actions/init.php:115
421
+ #@ default
422
+ msgid "No Field Groups found"
423
+ msgstr ""
424
+
425
+ #: core/actions/init.php:116
426
+ #@ default
427
+ msgid "No Field Groups found in Trash"
428
+ msgstr ""
429
+
430
+ #: core/admin/meta_box_fields.php:17
431
+ #: core/fields/flexible_content.php:210
432
+ #: core/fields/repeater.php:189
433
+ #@ acf
434
+ msgid "New Field"
435
+ msgstr "Nouveau champs"
436
+
437
+ #: core/admin/meta_box_fields.php:38
438
+ #@ acf
439
+ msgid "Move to trash. Are you sure?"
440
+ msgstr "Mettre à la corbeille. Sûr de vous ?"
441
+
442
+ #: core/admin/meta_box_fields.php:60
443
+ #@ acf
444
+ msgid "No fields. Click the <strong>+ Add Field</strong> button to create your first field."
445
+ msgstr "Aucun champs. Cliquez sur le bouton <strong>+ Ajouter</strong> pour créer votre premier champs."
446
+
447
+ #: core/admin/meta_box_fields.php:71
448
+ #: core/admin/meta_box_fields.php:74
449
+ #@ acf
450
+ msgid "Edit this Field"
451
+ msgstr "Modifier ce champs"
452
+
453
+ #: core/admin/meta_box_fields.php:75
454
+ #@ acf
455
+ msgid "Read documentation for this field"
456
+ msgstr "Lire la documentation de ce champs"
457
+
458
+ #: core/admin/meta_box_fields.php:75
459
+ #@ acf
460
+ msgid "Docs"
461
+ msgstr "Documentation"
462
+
463
+ #: core/admin/meta_box_fields.php:76
464
+ #@ acf
465
+ msgid "Delete this Field"
466
+ msgstr "Supprimer ce champs"
467
+
468
+ #: core/admin/meta_box_fields.php:148
469
+ #@ acf
470
+ msgid "Required?"
471
+ msgstr "Requis ?"
472
+
473
+ #: core/admin/meta_box_fields.php:171
474
+ #: core/fields/flexible_content.php:368
475
+ #: core/fields/repeater.php:312
476
+ #@ acf
477
+ msgid "Save Field"
478
+ msgstr "Enregistrer le champs"
479
+
480
+ #: core/admin/meta_box_fields.php:176
481
+ #: core/fields/flexible_content.php:373
482
+ #: core/fields/repeater.php:317
483
+ #@ acf
484
+ msgid "Close Field"
485
+ msgstr "Fermer le champs"
486
+
487
+ #: core/admin/meta_box_location.php:25
488
+ #@ acf
489
+ msgid "Rules"
490
+ msgstr "Règles"
491
+
492
+ #: core/admin/meta_box_location.php:26
493
+ #@ acf
494
+ msgid "Create a set of rules to determine which edit screens will use these advanced custom fields"
495
+ msgstr "Créez une série de règles pour déterminer sur quelles pages d'édition ce groupe de champs sera utilisé"
496
+
497
+ #: core/admin/meta_box_location.php:94
498
+ #@ acf
499
+ msgid "match"
500
+ msgstr "Satisfait"
501
+
502
+ #: core/admin/meta_box_location.php:102
503
+ #@ acf
504
+ msgid "of the above"
505
+ msgstr "règles ci-dessus"
506
+
507
+ #: core/admin/meta_box_options.php:13
508
+ #@ acf
509
+ msgid "Order No."
510
+ msgstr "Numéro d'ordre"
511
+
512
+ #: core/admin/meta_box_options.php:14
513
+ #@ acf
514
+ msgid "Field groups are created in order <br />from lowest to highest."
515
+ msgstr "Le groupe avec le numéro le plus bas s'affiche en premier."
516
+
517
+ #: core/admin/meta_box_options.php:30
518
+ #@ acf
519
+ msgid "Position"
520
+ msgstr "Position"
521
+
522
+ #: core/admin/meta_box_options.php:50
523
+ #@ acf
524
+ msgid "Style"
525
+ msgstr "Style"
526
+
527
+ #: core/admin/page_acf.php:20
528
+ #@ acf
529
+ msgid "Read documentation, learn the functions and find some tips &amp; tricks for your next web project."
530
+ msgstr "Lisez la documentation, étudiez les fonctions et trouvez apprenez quelques trucs et astuces pour votre prochain projet."
531
+
532
+ #: core/admin/page_acf.php:21
533
+ #@ acf
534
+ msgid "View the ACF website"
535
+ msgstr "Visitez le site ACF"
536
+
537
+ #: core/admin/page_acf.php:26
538
+ #@ acf
539
+ msgid "Created by"
540
+ msgstr "Créé par"
541
+
542
+ #: core/admin/page_acf.php:29
543
+ #@ acf
544
+ msgid "Vote"
545
+ msgstr "Votez"
546
+
547
+ #: core/admin/page_acf.php:30
548
+ #@ acf
549
+ msgid "Follow"
550
+ msgstr "Suivez"
551
+
552
+ #: core/admin/page_settings.php:23
553
+ #@ acf
554
+ msgid "Advanced Custom Fields Settings"
555
+ msgstr "Réglages Advanced Custom Fields"
556
+
557
+ #: core/admin/page_settings.php:40
558
+ #@ acf
559
+ msgid "Activate Add-ons."
560
+ msgstr "Activation des add-ons"
561
+
562
+ #: core/admin/page_settings.php:52
563
+ #@ acf
564
+ msgid "Repeater Field"
565
+ msgstr "Champs répéteur"
566
+
567
+ #: core/admin/page_settings.php:72
568
+ #@ acf
569
+ msgid "Flexible Content Field"
570
+ msgstr "Champs au contenu flexible "
571
+
572
+ #: core/admin/page_settings.php:115
573
+ #@ acf
574
+ msgid "Add-ons can be unlocked by purchasing a license key. Each key can be used on multiple sites."
575
+ msgstr "Les add-ons peuvent d'être déverrouillés via l'achat d'une clé de licence. Chaque clé peut être utilisée sur plusieurs sites."
576
+
577
+ #: core/admin/page_settings.php:115
578
+ #@ acf
579
+ msgid "Find Add-ons"
580
+ msgstr "Trouvez des add-ons"
581
+
582
+ #: core/admin/page_settings.php:133
583
+ #@ acf
584
+ msgid "Export Field Groups to XML"
585
+ msgstr "Exportez des groupes de champs en XML"
586
+
587
+ #: core/admin/page_settings.php:166
588
+ #@ acf
589
+ msgid "ACF will create a .xml export file which is compatible with the native WP import plugin."
590
+ msgstr "ACF générera un fichier d'export .xml compatible avec le plugin d'import natif de WordPress."
591
+
592
+ #: core/admin/page_settings.php:169
593
+ #@ acf
594
+ msgid "Export XML"
595
+ msgstr "Export XML"
596
+
597
+ #: core/admin/page_settings.php:175
598
+ #@ acf
599
+ msgid "Import Field Groups"
600
+ msgstr "Importez des groupes de champs"
601
+
602
+ #: core/admin/page_settings.php:177
603
+ #@ acf
604
+ msgid "Navigate to the"
605
+ msgstr "Rendez-vous sur l'"
606
+
607
+ #: core/admin/page_settings.php:177
608
+ #@ acf
609
+ msgid "Import Tool"
610
+ msgstr "Outil Importer"
611
+
612
+ #: core/admin/page_settings.php:177
613
+ #@ acf
614
+ msgid "and select WordPress"
615
+ msgstr "et sélectionnez WordPress"
616
+
617
+ #: core/admin/page_settings.php:178
618
+ #@ acf
619
+ msgid "Install WP import plugin if prompted"
620
+ msgstr "Installez le plugin d'import WordPress si demandé"
621
+
622
+ #: core/admin/page_settings.php:179
623
+ #@ acf
624
+ msgid "Upload and import your exported .xml file"
625
+ msgstr "Téléversez et importez votre fichier d'export .xml "
626
+
627
+ #: core/admin/page_settings.php:180
628
+ #@ acf
629
+ msgid "Select your user and ignore Import Attachments"
630
+ msgstr "Sélectionnez votre utilisateur et ignorez l'import des pièces jointes"
631
+
632
+ #: core/admin/page_settings.php:181
633
+ #@ acf
634
+ msgid "That's it! Happy WordPressing"
635
+ msgstr "C'est tout ! WordPressez bien"
636
+
637
+ #: core/admin/page_settings.php:200
638
+ #@ acf
639
+ msgid "Export Field Groups to PHP"
640
+ msgstr "Exportez des groupes de champs en PHP"
641
+
642
+ #: core/admin/page_settings.php:233
643
+ #@ acf
644
+ msgid "ACF will create the PHP code to include in your theme"
645
+ msgstr "ACF générera le code PHP à inclure dans votre thème"
646
+
647
+ #: core/admin/page_settings.php:236
648
+ #@ acf
649
+ msgid "Create PHP"
650
+ msgstr "Générer PHP"
651
+
652
+ #: core/admin/page_settings.php:242
653
+ #: core/admin/page_settings.php:270
654
+ #@ acf
655
+ msgid "Register Field Groups with PHP"
656
+ msgstr "Enregistrez des groupes de champs via PHP"
657
+
658
+ #: core/admin/page_settings.php:244
659
+ #: core/admin/page_settings.php:272
660
+ #@ acf
661
+ msgid "Copy the PHP code generated"
662
+ msgstr "Copiez le code PHP généré"
663
+
664
+ #: core/admin/page_settings.php:245
665
+ #: core/admin/page_settings.php:273
666
+ #@ acf
667
+ msgid "Paste into your functions.php file"
668
+ msgstr "Collez le code dans votre fichier functions.php"
669
+
670
+ #: core/admin/page_settings.php:246
671
+ #: core/admin/page_settings.php:274
672
+ #@ acf
673
+ msgid "To activate any Add-ons, edit and use the code in the first few lines."
674
+ msgstr "Pour activer un add-on, éditez le code dans les toutes premières lignes."
675
+
676
+ #: core/admin/page_settings.php:267
677
+ #@ acf
678
+ msgid "Back to settings"
679
+ msgstr "Retour vers les réglages"
680
+
681
+ #: core/admin/page_settings.php:295
682
+ #@ acf
683
+ msgid ""
684
+ "/**\n"
685
+ " * Activate Add-ons\n"
686
+ " * Here you can enter your activation codes to unlock Add-ons to use in your theme. \n"
687
+ " * Since all activation codes are multi-site licenses, you are allowed to include your key in premium themes. \n"
688
+ " * Use the commented out code to update the database with your activation code. \n"
689
+ " * You may place this code inside an IF statement that only runs on theme activation.\n"
690
+ " */"
691
+ msgstr ""
692
+ "/**\n"
693
+ " * Activez les add-ons\n"
694
+ " * A cet endroit vous pouvez saisir vos codes d'activation pour déverrouiller les add-ons que vou ssouhaitez utiliser dans votre thème. \n"
695
+ " * Puisque tous les codes d'activation sont des licences multi-sites, vous êtes autorisé à inclure votre clé dans des thèmes premium. \n"
696
+ " * Utilisez la prtie de code commentée pour mettre à jour la base de données avec vos codes d'activation. \n"
697
+ " * Vous pouvez placer ce code dans une déclaration IF vraie uniquement lors de l'activation du thème.\n"
698
+ " */"
699
+
700
+ #: core/admin/page_settings.php:308
701
+ #@ acf
702
+ msgid ""
703
+ "/**\n"
704
+ " * Register field groups\n"
705
+ " * The register_field_group function accepts 1 array which holds the relevant data to register a field group\n"
706
+ " * You may edit the array as you see fit. However, this may result in errors if the array is not compatible with ACF\n"
707
+ " * This code must run every time the functions.php file is read\n"
708
+ " */"
709
+ msgstr ""
710
+ "/**\n"
711
+ " * Enregistrez des groupes de champs\n"
712
+ " * La fonction register_field_group accepte 1 tableau qui contient les données nécessaire à l'enregistrement d'un groupe de champs\n"
713
+ " * Vous pouvez modifier ce tableau selon vos besoins. Cela peut toutefois provoquer des erreurs dans les cas où le tableau ne serait plus compatible avec ACF\n"
714
+ " * Ce code doit être traité à chaque accès au fichier functions.php\n"
715
+ " */"
716
+
717
+ #: core/admin/page_settings.php:336
718
+ #@ acf
719
+ msgid "No field groups were selected"
720
+ msgstr "Aucun groupe de champs n'a été sélectionné"
721
+
722
+ #: core/fields/checkbox.php:44
723
+ #: core/fields/radio.php:45
724
+ #: core/fields/select.php:50
725
+ #@ acf
726
+ msgid "No choices to choose from"
727
+ msgstr "Aucun choix n'est disponible"
728
+
729
+ #: core/fields/color_picker.php:21
730
+ #@ acf
731
+ msgid "Color Picker"
732
+ msgstr "Sélectionneur de couleur"
733
+
734
+ #: core/fields/file.php:165
735
+ #@ acf
736
+ msgid "No File Selected"
737
+ msgstr "Aucun fichier sélectionné"
738
+
739
+ #: core/fields/file.php:194
740
+ #: core/fields/image.php:177
741
+ #@ acf
742
+ msgid "Return Value"
743
+ msgstr "Retourne une valeur"
744
+
745
+ #: core/fields/file.php:342
746
+ #@ acf
747
+ msgid "No files selected"
748
+ msgstr "Aucun fichier sélectionné"
749
+
750
+ #: core/fields/file.php:419
751
+ #@ acf
752
+ msgid "Add Selected Files"
753
+ msgstr "Ajouter les fichiers sélectionnés"
754
+
755
+ #: core/fields/flexible_content.php:21
756
+ #@ acf
757
+ msgid "Flexible Content"
758
+ msgstr "Contenu flexible"
759
+
760
+ #: core/fields/flexible_content.php:38
761
+ #: core/fields/flexible_content.php:183
762
+ #: core/fields/repeater.php:65
763
+ #: core/fields/repeater.php:184
764
+ #@ acf
765
+ msgid "+ Add Row"
766
+ msgstr "+ Ajouter un rang"
767
+
768
+ #: core/fields/flexible_content.php:221
769
+ #@ acf
770
+ msgid "Reorder Layout"
771
+ msgstr "Réordonner la disposition"
772
+
773
+ #: core/fields/flexible_content.php:221
774
+ #@ acf
775
+ msgid "Reorder"
776
+ msgstr "Réordonner"
777
+
778
+ #: core/fields/flexible_content.php:222
779
+ #@ acf
780
+ msgid "Add New Layout"
781
+ msgstr "Nouvelle disposition"
782
+
783
+ #: core/fields/flexible_content.php:223
784
+ #@ acf
785
+ msgid "Delete Layout"
786
+ msgstr "Supprimer disposition"
787
+
788
+ #: core/fields/flexible_content.php:233
789
+ #@ acf
790
+ msgid "Label"
791
+ msgstr "Label"
792
+
793
+ #: core/fields/flexible_content.php:243
794
+ #@ acf
795
+ msgid "Name"
796
+ msgstr "Nom"
797
+
798
+ #: core/fields/flexible_content.php:253
799
+ #@ acf
800
+ msgid "Display"
801
+ msgstr "Affichage"
802
+
803
+ #: core/fields/flexible_content.php:373
804
+ #: core/fields/repeater.php:317
805
+ #@ acf
806
+ msgid "Close Sub Field"
807
+ msgstr "Fermer le sous-champs"
808
+
809
+ #: core/fields/flexible_content.php:395
810
+ #: core/fields/repeater.php:374
811
+ #@ acf
812
+ msgid "Button Label"
813
+ msgstr "Libellé du bouton"
814
+
815
+ #: core/fields/image.php:196
816
+ #@ acf
817
+ msgid "Preview Size"
818
+ msgstr "Taille de prévisualisation"
819
+
820
+ #: core/fields/image.php:392
821
+ #@ acf
822
+ msgid "No images selected"
823
+ msgstr "Aucune image sélectionnée"
824
+
825
+ #: core/fields/image.php:469
826
+ #@ acf
827
+ msgid "Add selected Images"
828
+ msgstr "Ajouter les images sélectionnées"
829
+
830
+ #: core/fields/page_link.php:223
831
+ #: core/fields/post_object.php:281
832
+ #: core/fields/select.php:195
833
+ #@ acf
834
+ msgid "Allow Null?"
835
+ msgstr "Autoriser vide ?"
836
+
837
+ #: core/fields/post_object.php:231
838
+ #: core/fields/relationship.php:295
839
+ #@ acf
840
+ msgid "Filter from Taxonomy"
841
+ msgstr "Filtrer par taxonomie"
842
+
843
+ #: core/fields/radio.php:21
844
+ #@ acf
845
+ msgid "Radio Button"
846
+ msgstr "Bouton radio"
847
+
848
+ #: core/fields/radio.php:131
849
+ #: core/fields/select.php:181
850
+ #: core/fields/text.php:61
851
+ #: core/fields/textarea.php:62
852
+ #@ acf
853
+ msgid "Default Value"
854
+ msgstr "Valeur par défaut"
855
+
856
+ #: core/fields/relationship.php:21
857
+ #@ acf
858
+ msgid "Relationship"
859
+ msgstr "Relation"
860
+
861
+ #: core/fields/relationship.php:318
862
+ #@ acf
863
+ msgid "Maximum posts"
864
+ msgstr "Nombre max d'articles"
865
+
866
+ #: core/fields/relationship.php:319
867
+ #@ acf
868
+ msgid "Set to -1 for inifinit"
869
+ msgstr "Entrez -1 pour infini"
870
+
871
+ #: core/fields/text.php:75
872
+ #: core/fields/textarea.php:76
873
+ #@ acf
874
+ msgid "Formatting"
875
+ msgstr "Formatage "
876
+
877
+ #: core/fields/text.php:76
878
+ #@ acf
879
+ msgid "Define how to render html tags"
880
+ msgstr "Définition du rendu des balises html"
881
+
882
+ #: core/fields/textarea.php:77
883
+ #@ acf
884
+ msgid "Define how to render html tags / new lines"
885
+ msgstr "Définition du rendu des balises html et des nouvelles lignes"
886
+
887
+ #: core/fields/wysiwyg.php:131
888
+ #@ acf
889
+ msgid "Toolbar"
890
+ msgstr "Barre d'outils"
891
+
892
+ #: core/fields/wysiwyg.php:150
893
+ #@ acf
894
+ msgid "Show Media Upload Buttons?"
895
+ msgstr "Afficher les boutons d'ajout de médias ?"
896
+
897
+ #: core/options_page.php:290
898
+ #@ acf
899
+ msgid "Publish"
900
+ msgstr "Publier"
901
 
lang/acf-pl_PL.po ADDED
@@ -0,0 +1,871 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2010
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: \n"
7
+ "POT-Creation-Date: 2012-03-31 15:26+0100\n"
8
+ "PO-Revision-Date: 2012-03-31 15:28+0100\n"
9
+ "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
10
+ "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-Country: POLAND\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_x;_n;_getttext\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Poedit-SearchPath-0: ..\n"
20
+
21
+ #: ../acf.php:209
22
+ msgid "Custom Fields"
23
+ msgstr "Własne pola"
24
+
25
+ #: ../acf.php:210
26
+ msgid "Settings"
27
+ msgstr "Ustawienia"
28
+
29
+ #: ../acf.php:211
30
+ msgid "Upgrade"
31
+ msgstr "Aktualizacja"
32
+
33
+ #: ../acf.php:407
34
+ #: ../core/api.php:492
35
+ #: ../core/options_page.php:184
36
+ msgid "Validation Failed. One or more fields below are required."
37
+ msgstr "Walidacja nie powiodła się. Jedno lub więcej pól jest wymaganych."
38
+
39
+ #: ../acf.php:708
40
+ msgid "Error: Field Type does not exist!"
41
+ msgstr "Błąd: Takie pole nie istnieje!"
42
+
43
+ #: ../core/options_page.php:62
44
+ #: ../core/options_page.php:74
45
+ msgid "Options"
46
+ msgstr "Opcje"
47
+
48
+ #: ../core/options_page.php:290
49
+ msgid "Publish"
50
+ msgstr "Opublikuj"
51
+
52
+ #: ../core/screen_extra.php:18
53
+ msgid "Advanced Custom Fields v"
54
+ msgstr "Zaawansowane własne pola v"
55
+
56
+ #: ../core/screen_extra.php:21
57
+ msgid "Changelog"
58
+ msgstr "Dziennik zmian"
59
+
60
+ #: ../core/screen_extra.php:22
61
+ msgid "See what's new in"
62
+ msgstr "Zobacz co słychać nowego w"
63
+
64
+ #: ../core/screen_extra.php:25
65
+ msgid "Resources"
66
+ msgstr "Zasoby"
67
+
68
+ #: ../core/screen_extra.php:26
69
+ msgid "Watch tutorials, read documentation, learn the API code and find some tips &amp; tricks for your next web project."
70
+ msgstr "Obejrzyj tutorial, przeczytaj dokumentację, naucz się API i poznaj parę tricków do przydatnych w Twoim kolejnym projekcie."
71
+
72
+ #: ../core/screen_extra.php:27
73
+ msgid "View the plugins website"
74
+ msgstr "Odwiedź witrynę wtyczki"
75
+
76
+ #: ../core/screen_extra.php:30
77
+ msgid "Support"
78
+ msgstr "Pomoc"
79
+
80
+ #: ../core/screen_extra.php:31
81
+ msgid "Join the growing community over at the support forum to share ideas, report bugs and keep up to date with ACF"
82
+ msgstr "Dołącz do rosnącej społeczności użytkowników i forum pomocy, aby dzielić się pomysłami, zgłąszać błedy i być na bierząco z tą wtyczką."
83
+
84
+ #: ../core/screen_extra.php:32
85
+ msgid "View the Support Forum"
86
+ msgstr "Zobacz forum pomocy"
87
+
88
+ #: ../core/screen_extra.php:35
89
+ msgid "Developed by"
90
+ msgstr "Opracowana przez"
91
+
92
+ #: ../core/screen_extra.php:36
93
+ msgid "Vote for ACF"
94
+ msgstr "Głosuj na tę wtyczkę"
95
+
96
+ #: ../core/screen_extra.php:36
97
+ msgid "Twitter"
98
+ msgstr "Twitter"
99
+
100
+ #: ../core/screen_extra.php:36
101
+ msgid "Blog"
102
+ msgstr "Blog"
103
+
104
+ #: ../core/screen_extra_activate.php:4
105
+ msgid "Unlock Special Fields."
106
+ msgstr "Odblokuj pola specjalne"
107
+
108
+ #: ../core/screen_extra_activate.php:5
109
+ msgid "Special Fields can be unlocked by purchasing an activation code. Each activation code can be used on multiple sites."
110
+ msgstr "Pola specjalne można odblokować kupując kod aktywacyjny. Każdy kod aktywacyjny może być wykorzystywany wielokrotnie."
111
+
112
+ #: ../core/screen_extra_activate.php:5
113
+ msgid "Visit the Plugin Store"
114
+ msgstr "Odwiedź sklep wtyczki"
115
+
116
+ #: ../core/screen_extra_activate.php:9
117
+ msgid "Field Type"
118
+ msgstr "Rodzaj pola"
119
+
120
+ #: ../core/screen_extra_activate.php:10
121
+ msgid "Status"
122
+ msgstr "Status"
123
+
124
+ #: ../core/screen_extra_activate.php:11
125
+ msgid "Activation Code"
126
+ msgstr "Kod aktywacyjny"
127
+
128
+ #: ../core/screen_extra_activate.php:23
129
+ msgid "Repeater"
130
+ msgstr "Pole powtarzalne"
131
+
132
+ #: ../core/screen_extra_activate.php:25
133
+ #: ../core/screen_extra_activate.php:57
134
+ msgid "Active"
135
+ msgstr "Aktywne"
136
+
137
+ #: ../core/screen_extra_activate.php:29
138
+ #: ../core/screen_extra_activate.php:61
139
+ msgid "Inactive"
140
+ msgstr "Nieaktywne"
141
+
142
+ #: ../core/screen_extra_activate.php:55
143
+ msgid "Options Page"
144
+ msgstr "Strona opcji"
145
+
146
+ #: ../core/screen_extra_activate.php:84
147
+ msgid "Unlock Fields"
148
+ msgstr "Odblokuj pola"
149
+
150
+ #: ../core/screen_extra_export.php:4
151
+ msgid "Import"
152
+ msgstr "Import"
153
+
154
+ #: ../core/screen_extra_export.php:6
155
+ msgid "Have an ACF export file? Import it here."
156
+ msgstr "Wyeksportowałeś plik z polami? Możesz go zaimportować tutaj."
157
+
158
+ #: ../core/screen_extra_export.php:13
159
+ msgid "Export"
160
+ msgstr "Eksport"
161
+
162
+ #: ../core/screen_extra_export.php:14
163
+ msgid "Want to create an ACF export file? Just select the desired ACF's and hit Export"
164
+ msgstr "Chcesz stworzyć i wyeksportować plik z polami? Wybierz pola i kliknij Eksport"
165
+
166
+ #: ../core/screen_extra_export.php:53
167
+ msgid "Import / Export"
168
+ msgstr "Import / Eksport"
169
+
170
+ #: ../core/actions/export.php:19
171
+ msgid "No ACF groups selected"
172
+ msgstr "Nie zaznaczono żadnej grupy pól"
173
+
174
+ #: ../core/actions/init.php:107
175
+ msgid "Field&nbsp;Groups"
176
+ msgstr "Pole&nbsp;Grupy"
177
+
178
+ #: ../core/actions/init.php:108
179
+ msgid "Advanced Custom Fields"
180
+ msgstr "Zaawansowane własne pola"
181
+
182
+ #: ../core/actions/init.php:109
183
+ msgid "Add New"
184
+ msgstr "Dodaj nowe"
185
+
186
+ #: ../core/actions/init.php:110
187
+ msgid "Add New Field Group"
188
+ msgstr "Dodaj nową grupę pól"
189
+
190
+ #: ../core/actions/init.php:111
191
+ msgid "Edit Field Group"
192
+ msgstr "Edytuj grupę pól"
193
+
194
+ #: ../core/actions/init.php:112
195
+ msgid "New Field Group"
196
+ msgstr "Nowa grupa pól"
197
+
198
+ #: ../core/actions/init.php:113
199
+ msgid "View Field Group"
200
+ msgstr "Zobacz grupę pól"
201
+
202
+ #: ../core/actions/init.php:114
203
+ msgid "Search Field Groups"
204
+ msgstr "Szukaj grupy pól"
205
+
206
+ #: ../core/actions/init.php:115
207
+ msgid "No Field Groups found"
208
+ msgstr "Nie znaleziono grupy pól"
209
+
210
+ #: ../core/actions/init.php:116
211
+ msgid "No Field Groups found in Trash"
212
+ msgstr "Brak grup pól w koszu"
213
+
214
+ #: ../core/admin/fields_meta_box.php:44
215
+ #: ../core/admin/meta_box_fields.php:50
216
+ msgid "Field Order"
217
+ msgstr "Kolejność pola"
218
+
219
+ #: ../core/admin/fields_meta_box.php:45
220
+ #: ../core/admin/fields_meta_box.php:105
221
+ #: ../core/admin/meta_box_fields.php:51
222
+ #: ../core/admin/meta_box_fields.php:91
223
+ msgid "Field Label"
224
+ msgstr "Etykieta pola"
225
+
226
+ #: ../core/admin/fields_meta_box.php:46
227
+ #: ../core/admin/fields_meta_box.php:124
228
+ #: ../core/admin/meta_box_fields.php:52
229
+ #: ../core/admin/meta_box_fields.php:107
230
+ msgid "Field Name"
231
+ msgstr "Nazwa pola"
232
+
233
+ #: ../core/admin/fields_meta_box.php:55
234
+ msgid "No fields. Click the \"+ Add Field button\" to create your first field."
235
+ msgstr "Brak pól. Kliknij przycisk \"+ Dodaj pole\" aby utworzyć pierwsze własne pole."
236
+
237
+ #: ../core/admin/fields_meta_box.php:80
238
+ #: ../core/admin/meta_box_fields.php:74
239
+ msgid "Edit"
240
+ msgstr "Edytuj"
241
+
242
+ #: ../core/admin/fields_meta_box.php:81
243
+ #: ../core/admin/meta_box_fields.php:76
244
+ msgid "Delete"
245
+ msgstr "Usuń"
246
+
247
+ #: ../core/admin/fields_meta_box.php:106
248
+ #: ../core/admin/meta_box_fields.php:92
249
+ msgid "This is the name which will appear on the EDIT page"
250
+ msgstr "To jest nawa, która pojawi się na stronie edycji"
251
+
252
+ #: ../core/admin/fields_meta_box.php:125
253
+ #: ../core/admin/meta_box_fields.php:108
254
+ msgid "Single word, no spaces. Underscores and dashes allowed"
255
+ msgstr "Pojedyncze słowo, bez spacji. Dozwolone są myślniki i podkreślniki"
256
+
257
+ #: ../core/admin/fields_meta_box.php:158
258
+ #: ../core/admin/meta_box_fields.php:135
259
+ msgid "Field Instructions"
260
+ msgstr "Instrukcje pola"
261
+
262
+ #: ../core/admin/fields_meta_box.php:159
263
+ #: ../core/admin/meta_box_fields.php:136
264
+ msgid "Instructions for authors. Shown when submitting data"
265
+ msgstr "Instrukcje dla autorów. Będą widoczne w trakcie wpisywania danych"
266
+
267
+ #: ../core/admin/fields_meta_box.php:221
268
+ #: ../core/admin/meta_box_fields.php:190
269
+ msgid "+ Add Field"
270
+ msgstr "+ Dodaj pole"
271
+
272
+ #: ../core/admin/meta_box_acf.php:14
273
+ msgid "Special Fields can be unlocked by purchasing a license key. Each key can be used on multiple sites."
274
+ msgstr "Pola specjalne można odblokować kupując kod aktywacyjny. Każdy kod aktywacyjny może być wykorzystywany wielokrotnie."
275
+
276
+ #: ../core/admin/meta_box_acf.php:26
277
+ #: ../core/admin/page_settings.php:52
278
+ msgid "Repeater Field"
279
+ msgstr "Pole powtarzalne"
280
+
281
+ #: ../core/admin/meta_box_acf.php:94
282
+ #: ../core/admin/page_settings.php:166
283
+ msgid "ACF will create a .xml export file which is compatible with the native WP import plugin."
284
+ msgstr "Wtyczka utworzy plik eksportu .xml, który jest kompatybilny z domyślną wtyczką importu plików."
285
+
286
+ #: ../core/admin/meta_box_acf.php:99
287
+ msgid "Select which ACF groups to export"
288
+ msgstr "Wybierz, które grupy chcesz wyeksportować"
289
+
290
+ #: ../core/admin/meta_box_acf.php:143
291
+ msgid "Have an ACF export file? Import it here. Please note that v2 and v3 .xml files are not compatible."
292
+ msgstr "Wyeksportowałeś plik z polami? Zaimportuj go tutaj. Zwróć uwagę, że wersje 2 i 3 plików .xml nie są ze sobą kompatybilne."
293
+
294
+ #: ../core/admin/meta_box_acf.php:148
295
+ msgid "Import your .xml file"
296
+ msgstr "Zaimportuj plik .xml"
297
+
298
+ #: ../core/admin/meta_box_fields.php:17
299
+ msgid "New Field"
300
+ msgstr "Nowe pole"
301
+
302
+ #: ../core/admin/meta_box_fields.php:38
303
+ msgid "Move to trash. Are you sure?"
304
+ msgstr "Przenieś do kosza. Jesteś pewny?"
305
+
306
+ #: ../core/admin/meta_box_fields.php:60
307
+ msgid "No fields. Click the <strong>+ Add Field</strong> button to create your first field."
308
+ msgstr "Brak pól. Kliknij przycisk <strong>+ Dodaj pole</strong> aby utworzyć pierwsze własne pole."
309
+
310
+ #: ../core/admin/meta_box_fields.php:71
311
+ #: ../core/admin/meta_box_fields.php:74
312
+ msgid "Edit this Field"
313
+ msgstr "Edytuj to pole"
314
+
315
+ #: ../core/admin/meta_box_fields.php:75
316
+ msgid "Read documentation for this field"
317
+ msgstr "Przeczytaj dokumentację tego pola"
318
+
319
+ #: ../core/admin/meta_box_fields.php:75
320
+ msgid "Docs"
321
+ msgstr "Dokumentacja"
322
+
323
+ #: ../core/admin/meta_box_fields.php:76
324
+ msgid "Delete this Field"
325
+ msgstr "Usuń to pole"
326
+
327
+ #: ../core/admin/meta_box_fields.php:148
328
+ msgid "Required?"
329
+ msgstr "Wymagane?"
330
+
331
+ #: ../core/admin/meta_box_fields.php:171
332
+ msgid "Save Field"
333
+ msgstr "Zapisz pole"
334
+
335
+ #: ../core/admin/meta_box_fields.php:176
336
+ msgid "Close Field"
337
+ msgstr "Zamknij to pole"
338
+
339
+ #: ../core/admin/meta_box_location.php:25
340
+ msgid "Rules"
341
+ msgstr "Warunki"
342
+
343
+ #: ../core/admin/meta_box_location.php:26
344
+ msgid "Create a set of rules to determine which edit screens will use these advanced custom fields"
345
+ msgstr "Utwórz zestaw warunków, które określą w których miejscach będą wykorzystane określone własne pola"
346
+
347
+ #: ../core/admin/meta_box_location.php:94
348
+ msgid "match"
349
+ msgstr "pasuje"
350
+
351
+ #: ../core/admin/meta_box_location.php:102
352
+ msgid "of the above"
353
+ msgstr "do pozostałych"
354
+
355
+ #: ../core/admin/meta_box_options.php:13
356
+ msgid "Order No."
357
+ msgstr "Nr w kolejności"
358
+
359
+ #: ../core/admin/meta_box_options.php:14
360
+ msgid "Field groups are created in order <br />from lowest to highest."
361
+ msgstr "Grupy pól są tworzone w kolejności <br />od najniższej do najwyższej."
362
+
363
+ #: ../core/admin/meta_box_options.php:30
364
+ msgid "Position"
365
+ msgstr "Pozycja"
366
+
367
+ #: ../core/admin/meta_box_options.php:50
368
+ msgid "Style"
369
+ msgstr "Styl"
370
+
371
+ #: ../core/admin/meta_box_options.php:70
372
+ #: ../core/admin/options_meta_box.php:18
373
+ msgid "Show on page"
374
+ msgstr "Wyświetl na stronie"
375
+
376
+ #: ../core/admin/meta_box_options.php:71
377
+ #: ../core/admin/options_meta_box.php:19
378
+ msgid "Deselect items to hide them on the edit page"
379
+ msgstr "Usuń elementy, które chcesz ukryć na stronie edycji."
380
+
381
+ #: ../core/admin/meta_box_options.php:72
382
+ #: ../core/admin/options_meta_box.php:20
383
+ msgid "If multiple ACF groups appear on an edit page, the first ACF group's options will be used. The first ACF group is the one with the lowest order number."
384
+ msgstr "Jeśli na stronie edycji znajduje się kilka grup pól, zostaną zastosowane ustawienia z pierwszej z nich. Pierwsza grupa pól to ta, która ma najmniejszy numer w kolejności."
385
+
386
+ #: ../core/admin/options_meta_box.php:49
387
+ msgid "Field Group Layout"
388
+ msgstr "Szablon grupy pól"
389
+
390
+ #: ../core/admin/options_meta_box.php:50
391
+ msgid "Display your field group with or without a box"
392
+ msgstr "Wyświetl grupę pól w ramce lub bez niej"
393
+
394
+ #: ../core/admin/options_page.php:247
395
+ msgid "Settings saved"
396
+ msgstr "Ustawienia zostały zapisane"
397
+
398
+ #: ../core/admin/options_page.php:258
399
+ msgid "Save"
400
+ msgstr "Zapisz"
401
+
402
+ #: ../core/admin/options_page.php:372
403
+ msgid "No Options"
404
+ msgstr "Brak opcji"
405
+
406
+ #: ../core/admin/options_page.php:376
407
+ msgid "Sorry, it seems there are no fields for this options page."
408
+ msgstr "Przykro mi, ale ta strona opcji nie zawiera pól."
409
+
410
+ #: ../core/admin/page_acf.php:20
411
+ msgid "Read documentation, learn the functions and find some tips &amp; tricks for your next web project."
412
+ msgstr "Przeczytaj dokumentację, naucz się funkcji i poznaj parę tricków, które mogą przydać Ci się w Twoim kolejnym projekcie."
413
+
414
+ #: ../core/admin/page_acf.php:21
415
+ msgid "View the ACF website"
416
+ msgstr "Odwiedź stronę wtyczki"
417
+
418
+ #: ../core/admin/page_acf.php:26
419
+ msgid "Created by"
420
+ msgstr "Stworzone przez"
421
+
422
+ #: ../core/admin/page_acf.php:29
423
+ msgid "Vote"
424
+ msgstr "Głosuj"
425
+
426
+ #: ../core/admin/page_acf.php:30
427
+ msgid "Follow"
428
+ msgstr "Śledź"
429
+
430
+ #: ../core/admin/page_settings.php:23
431
+ msgid "Advanced Custom Fields Settings"
432
+ msgstr "Ustawienia Zaawansowanych własnych pól"
433
+
434
+ #: ../core/admin/page_settings.php:40
435
+ msgid "Activate Add-ons."
436
+ msgstr "Aktywuj dodatki."
437
+
438
+ #: ../core/admin/page_settings.php:72
439
+ msgid "Flexible Content Field"
440
+ msgstr "Pole z elastyczną zawartością"
441
+
442
+ #: ../core/admin/page_settings.php:115
443
+ msgid "Add-ons can be unlocked by purchasing a license key. Each key can be used on multiple sites."
444
+ msgstr "Dodatki można odblokować kupując kod aktywacyjny. Każdy kod aktywacyjny może być wykorzystywany na dowolnej liczbie stron."
445
+
446
+ #: ../core/admin/page_settings.php:115
447
+ msgid "Find Add-ons"
448
+ msgstr "Znajdźj dodatki."
449
+
450
+ #: ../core/admin/page_settings.php:133
451
+ msgid "Export Field Groups to XML"
452
+ msgstr "Eksportuj Grupy pól do XML"
453
+
454
+ #: ../core/admin/page_settings.php:169
455
+ msgid "Export XML"
456
+ msgstr "Eksport XML"
457
+
458
+ #: ../core/admin/page_settings.php:175
459
+ msgid "Import Field Groups"
460
+ msgstr "Importuj Grupy pól"
461
+
462
+ #: ../core/admin/page_settings.php:177
463
+ msgid "Navigate to the"
464
+ msgstr "Przejdź do"
465
+
466
+ #: ../core/admin/page_settings.php:177
467
+ msgid "Import Tool"
468
+ msgstr "Narzędzi Importu"
469
+
470
+ #: ../core/admin/page_settings.php:177
471
+ msgid "and select WordPress"
472
+ msgstr "i wybierz Wordpress"
473
+
474
+ #: ../core/admin/page_settings.php:178
475
+ msgid "Install WP import plugin if prompted"
476
+ msgstr "Zaintaluj wtyczkę importu WP, jeśli zostaniesz o to poproszony"
477
+
478
+ #: ../core/admin/page_settings.php:179
479
+ msgid "Upload and import your exported .xml file"
480
+ msgstr "Wgraj i zaimportuj wyeksportowany wcześniej plik .xml"
481
+
482
+ #: ../core/admin/page_settings.php:180
483
+ msgid "Select your user and ignore Import Attachments"
484
+ msgstr "Wybierz użytkownika i ignoruj Importowanie załączników"
485
+
486
+ #: ../core/admin/page_settings.php:181
487
+ msgid "That's it! Happy WordPressing"
488
+ msgstr "Gotowe!"
489
+
490
+ #: ../core/admin/page_settings.php:200
491
+ msgid "Export Field Groups to PHP"
492
+ msgstr "Eksportuj Grupy pól do PHP"
493
+
494
+ #: ../core/admin/page_settings.php:233
495
+ msgid "ACF will create the PHP code to include in your theme"
496
+ msgstr "ACF wygeneruje kod PHP, który możesz wkleić do swego szablonu"
497
+
498
+ #: ../core/admin/page_settings.php:236
499
+ msgid "Create PHP"
500
+ msgstr "Utwórz PHP"
501
+
502
+ #: ../core/admin/page_settings.php:242
503
+ #: ../core/admin/page_settings.php:270
504
+ msgid "Register Field Groups with PHP"
505
+ msgstr "Utwórz grupę pól z PHP"
506
+
507
+ #: ../core/admin/page_settings.php:244
508
+ #: ../core/admin/page_settings.php:272
509
+ msgid "Copy the PHP code generated"
510
+ msgstr "Skopij wygenerowany kod PHP"
511
+
512
+ #: ../core/admin/page_settings.php:245
513
+ #: ../core/admin/page_settings.php:273
514
+ msgid "Paste into your functions.php file"
515
+ msgstr "Wklej do pliku functions.php"
516
+
517
+ #: ../core/admin/page_settings.php:246
518
+ #: ../core/admin/page_settings.php:274
519
+ msgid "To activate any Add-ons, edit and use the code in the first few lines."
520
+ msgstr "Aby aktywować dodatki, edytuj i użyj kodu w pierwszych kilku liniach."
521
+
522
+ #: ../core/admin/page_settings.php:267
523
+ msgid "Back to settings"
524
+ msgstr "Wróć do ustawień"
525
+
526
+ #: ../core/admin/page_settings.php:295
527
+ msgid ""
528
+ "/**\n"
529
+ " * Activate Add-ons\n"
530
+ " * Here you can enter your activation codes to unlock Add-ons to use in your theme. \n"
531
+ " * Since all activation codes are multi-site licenses, you are allowed to include your key in premium themes. \n"
532
+ " * Use the commented out code to update the database with your activation code. \n"
533
+ " * You may place this code inside an IF statement that only runs on theme activation.\n"
534
+ " */"
535
+ msgstr ""
536
+ "/**\n"
537
+ " * Aktywuj dodatki\n"
538
+ " * Możesz tu wpisać kody aktywacyjne uruchamiające dodatkowe funkcje. \n"
539
+ " * W związku z tym, że kody są na dowolną ilość licencji, możesz je stosować także w płatnych szablonach. \n"
540
+ " * Użyj kodu aby zaktualizować bazę danych. \n"
541
+ " * Możesz umieścić ten kod w funkcjach if, które uruchamiają się np. przy aktywacji szablonu.\n"
542
+ " */"
543
+
544
+ #: ../core/admin/page_settings.php:308
545
+ msgid ""
546
+ "/**\n"
547
+ " * Register field groups\n"
548
+ " * The register_field_group function accepts 1 array which holds the relevant data to register a field group\n"
549
+ " * You may edit the array as you see fit. However, this may result in errors if the array is not compatible with ACF\n"
550
+ " * This code must run every time the functions.php file is read\n"
551
+ " */"
552
+ msgstr ""
553
+ "/**\n"
554
+ " * Zarejestruj grupy pól\n"
555
+ " * Funkcja register_field_group akceptuje 1 ciąg zmiennych, która zawiera wszystkie dane służące rejestracji grupy\n"
556
+ " * Możesz edytować tę zmienną i dopasowywać ją do swoich potrzeb. Ale może to też powodować błąd jeśli ta zmienna nie jest kompatybilna z ACF\n"
557
+ " * Kod musi być uruchamiany każdorazowo w pliku functions.php\n"
558
+ " */"
559
+
560
+ #: ../core/admin/page_settings.php:336
561
+ msgid "No field groups were selected"
562
+ msgstr "Nie zaznaczono grup pól"
563
+
564
+ #: ../core/fields/checkbox.php:21
565
+ msgid "Checkbox"
566
+ msgstr "Akceptowanie (checkbox)"
567
+
568
+ #: ../core/fields/checkbox.php:44
569
+ #: ../core/fields/radio.php:45
570
+ #: ../core/fields/select.php:50
571
+ msgid "No choices to choose from"
572
+ msgstr "Brak możliwościi wyboru"
573
+
574
+ #: ../core/fields/checkbox.php:101
575
+ #: ../core/fields/radio.php:114
576
+ #: ../core/fields/select.php:164
577
+ msgid "Choices"
578
+ msgstr "Opcje"
579
+
580
+ #: ../core/fields/checkbox.php:102
581
+ #: ../core/fields/radio.php:115
582
+ #: ../core/fields/select.php:165
583
+ msgid ""
584
+ "Enter your choices one per line<br />\n"
585
+ "\t\t\t\t<br />\n"
586
+ "\t\t\t\tRed<br />\n"
587
+ "\t\t\t\tBlue<br />\n"
588
+ "\t\t\t\t<br />\n"
589
+ "\t\t\t\tor<br />\n"
590
+ "\t\t\t\t<br />\n"
591
+ "\t\t\t\tred : Red<br />\n"
592
+ "\t\t\t\tblue : Blue"
593
+ msgstr ""
594
+ "Wpisz dostęne opcje, każdy w odrębnym rzędzie<br />\n"
595
+ "\t\t\t\t<br />\n"
596
+ "\t\t\t\tCzerwony<br />\n"
597
+ "\t\t\t\tNiebieski<br />\n"
598
+ "\t\t\t\t<br />\n"
599
+ "\t\t\t\tor<br />\n"
600
+ "\t\t\t\t<br />\n"
601
+ "\t\t\t\tczerwony : Czerwony<br />\n"
602
+ "\t\t\t\tniebieski : Niebieski"
603
+
604
+ #: ../core/fields/color_picker.php:21
605
+ msgid "Color Picker"
606
+ msgstr "Wybór koloru"
607
+
608
+ #: ../core/fields/file.php:20
609
+ msgid "File"
610
+ msgstr "Plik"
611
+
612
+ #: ../core/fields/file.php:60
613
+ msgid "Remove File"
614
+ msgstr "Usuń plik"
615
+
616
+ #: ../core/fields/file.php:165
617
+ msgid "No File Selected"
618
+ msgstr "Nie zaznaczono pliku"
619
+
620
+ #: ../core/fields/file.php:165
621
+ msgid "Add File"
622
+ msgstr "Dodaj plik"
623
+
624
+ #: ../core/fields/file.php:194
625
+ #: ../core/fields/image.php:128
626
+ msgid "Return Value"
627
+ msgstr "Wartość zwrotna"
628
+
629
+ #: ../core/fields/file.php:342
630
+ msgid "No files selected"
631
+ msgstr "Nie zaznaczono plików"
632
+
633
+ #: ../core/fields/file.php:419
634
+ msgid "Add Selected Files"
635
+ msgstr "Dodaj zaznaczone pliki"
636
+
637
+ #: ../core/fields/file.php:445
638
+ msgid "Select File"
639
+ msgstr "Wybierz plik"
640
+
641
+ #: ../core/fields/flexible_content.php:21
642
+ msgid "Flexible Content"
643
+ msgstr "Elastyczna treść"
644
+
645
+ #: ../core/fields/flexible_content.php:38
646
+ #: ../core/fields/flexible_content.php:183
647
+ #: ../core/fields/repeater.php:65
648
+ #: ../core/fields/repeater.php:184
649
+ msgid "+ Add Row"
650
+ msgstr "+ Dodaj rząd"
651
+
652
+ #: ../core/fields/flexible_content.php:219
653
+ #: ../core/fields/radio.php:145
654
+ #: ../core/fields/repeater.php:355
655
+ msgid "Layout"
656
+ msgstr "Szablon"
657
+
658
+ #: ../core/fields/flexible_content.php:221
659
+ msgid "Reorder Layout"
660
+ msgstr "Zmiana kolejności w szablonie"
661
+
662
+ #: ../core/fields/flexible_content.php:221
663
+ msgid "Reorder"
664
+ msgstr "Zmiana kolejności"
665
+
666
+ #: ../core/fields/flexible_content.php:222
667
+ msgid "Add New Layout"
668
+ msgstr "Dodaj nowy szablon"
669
+
670
+ #: ../core/fields/flexible_content.php:223
671
+ msgid "Delete Layout"
672
+ msgstr "Usuń szablon"
673
+
674
+ #: ../core/fields/flexible_content.php:233
675
+ msgid "Label"
676
+ msgstr "Etykieta"
677
+
678
+ #: ../core/fields/flexible_content.php:243
679
+ msgid "Name"
680
+ msgstr "Nazwa"
681
+
682
+ #: ../core/fields/flexible_content.php:253
683
+ msgid "Display"
684
+ msgstr "Wyświetl"
685
+
686
+ #: ../core/fields/flexible_content.php:373
687
+ #: ../core/fields/repeater.php:317
688
+ msgid "Close Sub Field"
689
+ msgstr "Zamknij pole"
690
+
691
+ #: ../core/fields/flexible_content.php:395
692
+ #: ../core/fields/repeater.php:374
693
+ msgid "Button Label"
694
+ msgstr "Tekst przycisku"
695
+
696
+ #: ../core/fields/image.php:21
697
+ msgid "Image"
698
+ msgstr "Obrazek"
699
+
700
+ #: ../core/fields/image.php:104
701
+ msgid "No image selected"
702
+ msgstr "Nie wybrano obrazka"
703
+
704
+ #: ../core/fields/image.php:104
705
+ msgid "Add Image"
706
+ msgstr "Dodaj obrazek"
707
+
708
+ #: ../core/fields/image.php:147
709
+ msgid "Preview Size"
710
+ msgstr "Wielkość obrazka"
711
+
712
+ #: ../core/fields/image.php:293
713
+ msgid "No images selected"
714
+ msgstr "Nie wybrano obrazków"
715
+
716
+ #: ../core/fields/image.php:351
717
+ msgid "Add selected Images"
718
+ msgstr "Dodaj zaznaczone obrazki"
719
+
720
+ #: ../core/fields/image.php:377
721
+ msgid "Select Image"
722
+ msgstr "Wybierz obrazek"
723
+
724
+ #: ../core/fields/page_link.php:21
725
+ msgid "Page Link"
726
+ msgstr "Link do strony"
727
+
728
+ #: ../core/fields/page_link.php:194
729
+ #: ../core/fields/post_object.php:209
730
+ #: ../core/fields/relationship.php:241
731
+ msgid "Post Type"
732
+ msgstr "Typ wpisu"
733
+
734
+ #: ../core/fields/page_link.php:195
735
+ msgid ""
736
+ "Filter posts by selecting a post type<br />\n"
737
+ "\t\t\t\tTip: deselect all post types to show all post type's posts"
738
+ msgstr ""
739
+ "Filtruj wpisy wybierając typ wpisu<br />\n"
740
+ "\t\t\t\tPodpowiedź: nie zaznaczenie żadnego typu wpisów spowoduje wyświetlenie wszystkich"
741
+
742
+ #: ../core/fields/page_link.php:223
743
+ #: ../core/fields/post_object.php:281
744
+ #: ../core/fields/select.php:195
745
+ msgid "Allow Null?"
746
+ msgstr "Zezwolić na pustą wartość?"
747
+
748
+ #: ../core/fields/page_link.php:242
749
+ #: ../core/fields/post_object.php:300
750
+ #: ../core/fields/select.php:214
751
+ msgid "Select multiple values?"
752
+ msgstr "Możliwość wyboru wielu wartości?"
753
+
754
+ #: ../core/fields/post_object.php:21
755
+ msgid "Post Object"
756
+ msgstr "Wpisy"
757
+
758
+ #: ../core/fields/post_object.php:231
759
+ #: ../core/fields/relationship.php:290
760
+ msgid "Filter from Taxonomy"
761
+ msgstr "Filtruj wg taksonomii"
762
+
763
+ #: ../core/fields/radio.php:21
764
+ msgid "Radio Button"
765
+ msgstr "Przycisk wyboru (radio)"
766
+
767
+ #: ../core/fields/radio.php:131
768
+ #: ../core/fields/select.php:181
769
+ #: ../core/fields/text.php:61
770
+ #: ../core/fields/textarea.php:62
771
+ msgid "Default Value"
772
+ msgstr "Domyślna wartość"
773
+
774
+ #: ../core/fields/relationship.php:21
775
+ msgid "Relationship"
776
+ msgstr "Relacja"
777
+
778
+ #: ../core/fields/relationship.php:313
779
+ msgid "Maximum posts"
780
+ msgstr "Maksymalna liczba wpisów"
781
+
782
+ #: ../core/fields/relationship.php:314
783
+ msgid "Set to -1 for inifinit"
784
+ msgstr "Wpisanie -1 oznacza nieskończoność"
785
+
786
+ #: ../core/fields/repeater.php:207
787
+ msgid "Repeater Fields"
788
+ msgstr "Pola powtarzalne"
789
+
790
+ #: ../core/fields/repeater.php:341
791
+ msgid "Row Limit"
792
+ msgstr "Limit rzędów"
793
+
794
+ #: ../core/fields/select.php:21
795
+ msgid "Select"
796
+ msgstr "Przycisk wyboru (dropdown)"
797
+
798
+ #: ../core/fields/text.php:21
799
+ msgid "Text"
800
+ msgstr "Tekst"
801
+
802
+ #: ../core/fields/text.php:75
803
+ #: ../core/fields/textarea.php:76
804
+ msgid "Formatting"
805
+ msgstr "Formatowanie"
806
+
807
+ #: ../core/fields/text.php:76
808
+ msgid "Define how to render html tags"
809
+ msgstr "Określ jak traktować znaczniki HTML"
810
+
811
+ #: ../core/fields/textarea.php:21
812
+ msgid "Text Area"
813
+ msgstr "Obszar tekstowy"
814
+
815
+ #: ../core/fields/textarea.php:77
816
+ msgid "Define how to render html tags / new lines"
817
+ msgstr "Określ jak traktować znaczniki HTML / nowe wiersze"
818
+
819
+ #: ../core/fields/true_false.php:21
820
+ msgid "True / False"
821
+ msgstr "Prawda / Fałsz"
822
+
823
+ #: ../core/fields/true_false.php:68
824
+ msgid "Message"
825
+ msgstr "Komunikat"
826
+
827
+ #: ../core/fields/true_false.php:69
828
+ msgid "eg. Show extra content"
829
+ msgstr "np. Wyświetl dodatkową treść"
830
+
831
+ #: ../core/fields/wysiwyg.php:21
832
+ msgid "Wysiwyg Editor"
833
+ msgstr "Edytor WYSIWYG"
834
+
835
+ #: ../core/fields/wysiwyg.php:131
836
+ msgid "Toolbar"
837
+ msgstr "Pasek narzędzi"
838
+
839
+ #: ../core/fields/wysiwyg.php:150
840
+ msgid "Show Media Upload Buttons?"
841
+ msgstr "Wyświetlić przyciski Wyślij / Wstaw?"
842
+
843
+ #: ../core/fields/date_picker/date_picker.php:21
844
+ msgid "Date Picker"
845
+ msgstr "Wybór daty"
846
+
847
+ #: ../core/fields/date_picker/date_picker.php:82
848
+ msgid "Date format"
849
+ msgstr "Format daty"
850
+
851
+ #: ../core/fields/date_picker/date_picker.php:83
852
+ msgid "eg. dd/mm/yy. read more about"
853
+ msgstr "np. dd/mm/rr. czytaj więcej"
854
+
855
+ #~ msgid "or"
856
+ #~ msgstr "lub"
857
+
858
+ #~ msgid "Hide this edit screen"
859
+ #~ msgstr "Ukryj ten ekran edycji"
860
+
861
+ #~ msgid "continue editing ACF"
862
+ #~ msgstr "kontynuuj edycję"
863
+
864
+ #~ msgid "Click the \"add row\" button below to start creating your layout"
865
+ #~ msgstr "Kliknij przycisk \"dodaj rząd\" poniżej, aby zacząć tworzyć szablon"
866
+
867
+ #~ msgid "Adv Upgrade"
868
+ #~ msgstr "Zaawansowana aktualizacja"
869
+
870
+ #~ msgid "Advanced&nbsp;Custom&nbsp;Fields"
871
+ #~ msgstr "Zaawansowane&nbsp;Włąsne&nbsp;Pola"
lang/acf.pot CHANGED
@@ -4,7 +4,7 @@ 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: 2012-02-12 02:40:44+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,161 +12,274 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: acf.php:206
16
  msgid "Custom Fields"
17
  msgstr ""
18
 
19
- #: acf.php:207
20
  msgid "Settings"
21
  msgstr ""
22
 
23
- #: acf.php:208
24
  msgid "Upgrade"
25
  msgstr ""
26
 
27
- #: acf.php:394
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  msgid "Validation Failed. One or more fields below are required."
29
  msgstr ""
30
 
31
- #: acf.php:733
32
  msgid "Error: Field Type does not exist!"
33
  msgstr ""
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  #: core/actions/export.php:19
36
  msgid "No ACF groups selected"
37
  msgstr ""
38
 
39
- #: core/actions/init.php:107
40
- msgid "Field&nbsp;Groups"
 
41
  msgstr ""
42
 
43
- #: core/actions/init.php:108 core/admin/page_acf.php:14
44
- msgid "Advanced Custom Fields"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  msgstr ""
46
 
47
- #: core/actions/init.php:109 core/fields/flexible_content.php:219
48
  msgid "Add New"
49
  msgstr ""
50
 
51
- #: core/actions/init.php:110
52
  msgid "Add New Field Group"
53
  msgstr ""
54
 
55
- #: core/actions/init.php:111
56
  msgid "Edit Field Group"
57
  msgstr ""
58
 
59
- #: core/actions/init.php:112
60
  msgid "New Field Group"
61
  msgstr ""
62
 
63
- #: core/actions/init.php:113
64
  msgid "View Field Group"
65
  msgstr ""
66
 
67
- #: core/actions/init.php:114
68
  msgid "Search Field Groups"
69
  msgstr ""
70
 
71
- #: core/actions/init.php:115
72
  msgid "No Field Groups found"
73
  msgstr ""
74
 
75
- #: core/actions/init.php:116
76
  msgid "No Field Groups found in Trash"
77
  msgstr ""
78
 
79
- #: core/admin/meta_box_fields.php:17 core/fields/flexible_content.php:207
80
- #: core/fields/repeater.php:344
 
 
 
 
81
  msgid "New Field"
82
  msgstr ""
83
 
84
- #: core/admin/meta_box_fields.php:37 core/fields/flexible_content.php:268
85
- #: core/fields/repeater.php:370
 
 
 
 
86
  msgid "Field Order"
87
  msgstr ""
88
 
89
- #: core/admin/meta_box_fields.php:38 core/admin/meta_box_fields.php:78
90
- #: core/fields/flexible_content.php:269 core/fields/flexible_content.php:314
91
- #: core/fields/repeater.php:371 core/fields/repeater.php:416
92
  msgid "Field Label"
93
  msgstr ""
94
 
95
- #: core/admin/meta_box_fields.php:39 core/admin/meta_box_fields.php:94
96
- #: core/fields/flexible_content.php:270 core/fields/flexible_content.php:330
97
- #: core/fields/repeater.php:372 core/fields/repeater.php:432
98
  msgid "Field Name"
99
  msgstr ""
100
 
101
- #: core/admin/meta_box_fields.php:40 core/admin/meta_box_fields.php:109
102
- #: core/admin/page_settings.php:44 core/fields/flexible_content.php:271
103
- #: core/fields/flexible_content.php:345 core/fields/repeater.php:373
104
- #: core/fields/repeater.php:447
105
  msgid "Field Type"
106
  msgstr ""
107
 
108
- #: core/admin/meta_box_fields.php:47
109
  msgid ""
110
  "No fields. Click the <strong>+ Add Field</strong> button to create your "
111
  "first field."
112
  msgstr ""
113
 
114
- #: core/admin/meta_box_fields.php:61
 
 
 
 
 
 
 
115
  msgid "Edit"
116
  msgstr ""
117
 
118
- #: core/admin/meta_box_fields.php:62
 
 
 
 
119
  msgid "Docs"
120
  msgstr ""
121
 
122
- #: core/admin/meta_box_fields.php:63 core/fields/flexible_content.php:220
 
 
 
 
 
 
123
  msgid "Delete"
124
  msgstr ""
125
 
126
- #: core/admin/meta_box_fields.php:79 core/fields/flexible_content.php:315
127
- #: core/fields/repeater.php:417
128
  msgid "This is the name which will appear on the EDIT page"
129
  msgstr ""
130
 
131
- #: core/admin/meta_box_fields.php:95 core/fields/flexible_content.php:331
132
- #: core/fields/repeater.php:433
133
  msgid "Single word, no spaces. Underscores and dashes allowed"
134
  msgstr ""
135
 
136
- #: core/admin/meta_box_fields.php:122
137
  msgid "Field Instructions"
138
  msgstr ""
139
 
140
- #: core/admin/meta_box_fields.php:123
141
  msgid "Instructions for authors. Shown when submitting data"
142
  msgstr ""
143
 
144
- #: core/admin/meta_box_fields.php:135
145
  msgid "Required?"
146
  msgstr ""
147
 
148
- #: core/admin/meta_box_fields.php:158 core/fields/flexible_content.php:365
149
- #: core/fields/repeater.php:467
150
  msgid "Save Field"
151
  msgstr ""
152
 
153
- #: core/admin/meta_box_fields.php:161 core/fields/flexible_content.php:368
154
- #: core/fields/repeater.php:470
155
- msgid "or"
156
  msgstr ""
157
 
158
- #: core/admin/meta_box_fields.php:161 core/fields/flexible_content.php:368
159
- #: core/fields/repeater.php:470
160
- msgid "Hide this edit screen"
161
- msgstr ""
162
-
163
- #: core/admin/meta_box_fields.php:161 core/fields/flexible_content.php:368
164
- #: core/fields/repeater.php:470
165
- msgid "continue editing ACF"
166
- msgstr ""
167
-
168
- #: core/admin/meta_box_fields.php:173 core/fields/flexible_content.php:381
169
- #: core/fields/repeater.php:484
170
  msgid "+ Add Field"
171
  msgstr ""
172
 
@@ -180,14 +293,107 @@ msgid ""
180
  "advanced custom fields"
181
  msgstr ""
182
 
183
- #: core/admin/meta_box_location.php:305
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  msgid "match"
185
  msgstr ""
186
 
187
- #: core/admin/meta_box_location.php:313
 
 
 
 
 
 
 
 
188
  msgid "of the above"
189
  msgstr ""
190
 
 
 
 
 
191
  #: core/admin/meta_box_options.php:13
192
  msgid "Order No."
193
  msgstr ""
@@ -200,10 +406,26 @@ msgstr ""
200
  msgid "Position"
201
  msgstr ""
202
 
 
 
 
 
 
 
 
 
203
  #: core/admin/meta_box_options.php:50
204
  msgid "Style"
205
  msgstr ""
206
 
 
 
 
 
 
 
 
 
207
  #: core/admin/meta_box_options.php:70
208
  msgid "Show on page"
209
  msgstr ""
@@ -218,6 +440,26 @@ msgid ""
218
  "will be used. The first ACF group is the one with the lowest order number."
219
  msgstr ""
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  #: core/admin/page_acf.php:16
222
  msgid "Changelog"
223
  msgstr ""
@@ -286,10 +528,6 @@ msgstr ""
286
  msgid "Flexible Content Field"
287
  msgstr ""
288
 
289
- #: core/admin/page_settings.php:92
290
- msgid "Options Page"
291
- msgstr ""
292
-
293
  #: core/admin/page_settings.php:115
294
  msgid ""
295
  "Add-ons can be unlocked by purchasing a license key. Each key can be used on "
@@ -405,7 +643,7 @@ msgid ""
405
  " */"
406
  msgstr ""
407
 
408
- #: core/admin/page_settings.php:335
409
  msgid "No field groups were selected"
410
  msgstr ""
411
 
@@ -418,23 +656,34 @@ msgstr ""
418
  msgid "No choices to choose from"
419
  msgstr ""
420
 
421
- #: core/fields/checkbox.php:101 core/fields/radio.php:114
422
  #: core/fields/select.php:164
423
  msgid "Choices"
424
  msgstr ""
425
 
426
- #: core/fields/checkbox.php:102 core/fields/radio.php:115
427
  #: core/fields/select.php:165
428
- msgid ""
429
- "Enter your choices one per line<br />\n"
430
- "\t\t\t\t<br />\n"
431
- "\t\t\t\tRed<br />\n"
432
- "\t\t\t\tBlue<br />\n"
433
- "\t\t\t\t<br />\n"
434
- "\t\t\t\tor<br />\n"
435
- "\t\t\t\t<br />\n"
436
- "\t\t\t\tred : Red<br />\n"
437
- "\t\t\t\tblue : Blue"
 
 
 
 
 
 
 
 
 
 
 
438
  msgstr ""
439
 
440
  #: core/fields/color_picker.php:21
@@ -445,11 +694,11 @@ msgstr ""
445
  msgid "Date Picker"
446
  msgstr ""
447
 
448
- #: core/fields/date_picker/date_picker.php:120
449
  msgid "Date format"
450
  msgstr ""
451
 
452
- #: core/fields/date_picker/date_picker.php:121
453
  msgid "eg. dd/mm/yy. read more about"
454
  msgstr ""
455
 
@@ -457,23 +706,31 @@ msgstr ""
457
  msgid "File"
458
  msgstr ""
459
 
460
- #: core/fields/file.php:148
461
  msgid "Remove File"
462
  msgstr ""
463
 
464
- #: core/fields/file.php:150
465
- msgid "No File selected"
466
  msgstr ""
467
 
468
- #: core/fields/file.php:150
469
  msgid "Add File"
470
  msgstr ""
471
 
472
- #: core/fields/file.php:175 core/fields/image.php:179
473
  msgid "Return Value"
474
  msgstr ""
475
 
476
- #: core/fields/file.php:242
 
 
 
 
 
 
 
 
477
  msgid "Select File"
478
  msgstr ""
479
 
@@ -481,56 +738,118 @@ msgstr ""
481
  msgid "Flexible Content"
482
  msgstr ""
483
 
484
- #: core/fields/flexible_content.php:50
485
- msgid "Click the \"add row\" button below to start creating your layout"
486
- msgstr ""
487
-
488
- #: core/fields/flexible_content.php:155 core/fields/repeater.php:315
489
  msgid "+ Add Row"
490
  msgstr ""
491
 
492
- #: core/fields/flexible_content.php:216 core/fields/radio.php:145
493
- #: core/fields/repeater.php:506
494
  msgid "Layout"
495
  msgstr ""
496
 
497
- #: core/fields/flexible_content.php:218
 
 
 
 
498
  msgid "Reorder"
499
  msgstr ""
500
 
501
- #: core/fields/flexible_content.php:230
 
 
 
 
 
 
 
 
502
  msgid "Label"
503
  msgstr ""
504
 
505
- #: core/fields/flexible_content.php:240
506
  msgid "Name"
507
  msgstr ""
508
 
509
- #: core/fields/flexible_content.php:250
510
  msgid "Display"
511
  msgstr ""
512
 
513
- #: core/fields/flexible_content.php:279 core/fields/repeater.php:381
514
- msgid "No fields. Click the \"+ Add Field button\" to create your first field."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
515
  msgstr ""
516
 
517
  #: core/fields/image.php:21
518
  msgid "Image"
519
  msgstr ""
520
 
521
- #: core/fields/image.php:155
522
  msgid "No image selected"
523
  msgstr ""
524
 
525
- #: core/fields/image.php:155
526
  msgid "Add Image"
527
  msgstr ""
528
 
529
- #: core/fields/image.php:198
 
 
 
 
 
 
 
 
530
  msgid "Preview Size"
531
  msgstr ""
532
 
533
- #: core/fields/image.php:269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
534
  msgid "Select Image"
535
  msgstr ""
536
 
@@ -538,24 +857,44 @@ msgstr ""
538
  msgid "Page Link"
539
  msgstr ""
540
 
541
- #: core/fields/page_link.php:185 core/fields/post_object.php:199
542
- #: core/fields/relationship.php:420
543
- msgid "Post Type"
544
  msgstr ""
545
 
546
- #: core/fields/page_link.php:186
547
  msgid ""
548
  "Filter posts by selecting a post type<br />\n"
549
  "\t\t\t\tTip: deselect all post types to show all post type's posts"
550
  msgstr ""
551
 
552
- #: core/fields/page_link.php:214 core/fields/post_object.php:271
553
- #: core/fields/select.php:195
 
 
 
 
 
 
554
  msgid "Allow Null?"
555
  msgstr ""
556
 
557
- #: core/fields/page_link.php:233 core/fields/post_object.php:290
558
- #: core/fields/select.php:214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  msgid "Select multiple values?"
560
  msgstr ""
561
 
@@ -563,7 +902,7 @@ msgstr ""
563
  msgid "Post Object"
564
  msgstr ""
565
 
566
- #: core/fields/post_object.php:221 core/fields/relationship.php:469
567
  msgid "Filter from Taxonomy"
568
  msgstr ""
569
 
@@ -571,37 +910,49 @@ msgstr ""
571
  msgid "Radio Button"
572
  msgstr ""
573
 
574
- #: core/fields/radio.php:131 core/fields/select.php:181
575
  #: core/fields/text.php:61 core/fields/textarea.php:62
576
  msgid "Default Value"
577
  msgstr ""
578
 
 
 
 
 
 
 
 
 
579
  #: core/fields/relationship.php:21
580
  msgid "Relationship"
581
  msgstr ""
582
 
583
- #: core/fields/relationship.php:492
 
 
 
 
584
  msgid "Maximum posts"
585
  msgstr ""
586
 
587
- #: core/fields/relationship.php:493
588
- msgid "Set to -1 for inifinit"
589
  msgstr ""
590
 
591
  #: core/fields/repeater.php:21
592
  msgid "Repeater"
593
  msgstr ""
594
 
595
- #: core/fields/repeater.php:362
596
  msgid "Repeater Fields"
597
  msgstr ""
598
 
599
- #: core/fields/repeater.php:492
600
  msgid "Row Limit"
601
  msgstr ""
602
 
603
- #: core/fields/select.php:21
604
- msgid "Select"
605
  msgstr ""
606
 
607
  #: core/fields/text.php:21
@@ -616,6 +967,14 @@ msgstr ""
616
  msgid "Define how to render html tags"
617
  msgstr ""
618
 
 
 
 
 
 
 
 
 
619
  #: core/fields/textarea.php:21
620
  msgid "Text Area"
621
  msgstr ""
@@ -624,6 +983,10 @@ msgstr ""
624
  msgid "Define how to render html tags / new lines"
625
  msgstr ""
626
 
 
 
 
 
627
  #: core/fields/true_false.php:21
628
  msgid "True / False"
629
  msgstr ""
@@ -640,18 +1003,26 @@ msgstr ""
640
  msgid "Wysiwyg Editor"
641
  msgstr ""
642
 
643
- #: core/fields/wysiwyg.php:252
644
  msgid "Toolbar"
645
  msgstr ""
646
 
647
- #: core/fields/wysiwyg.php:271
648
  msgid "Show Media Upload Buttons?"
649
  msgstr ""
650
 
651
- #: core/options_page.php:62 core/options_page.php:74
652
- msgid "Options"
 
 
 
 
 
 
 
 
653
  msgstr ""
654
 
655
- #: core/options_page.php:284
656
- msgid "Save"
657
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
7
+ "POT-Creation-Date: 2012-04-29 08:44:54+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: acf.php:233 core/admin/meta_box_options.php:83
16
  msgid "Custom Fields"
17
  msgstr ""
18
 
19
+ #: acf.php:234
20
  msgid "Settings"
21
  msgstr ""
22
 
23
+ #: acf.php:235
24
  msgid "Upgrade"
25
  msgstr ""
26
 
27
+ #: acf.php:446
28
+ msgid "Fields"
29
+ msgstr ""
30
+
31
+ #: acf.php:447
32
+ msgid "Location"
33
+ msgstr ""
34
+
35
+ #: acf.php:447
36
+ msgid "Add Fields to Edit Screens"
37
+ msgstr ""
38
+
39
+ #: acf.php:448 core/admin/meta_box_location.php:133 core/options_page.php:62
40
+ #: core/options_page.php:74
41
+ msgid "Options"
42
+ msgstr ""
43
+
44
+ #: acf.php:448
45
+ msgid "Customise the edit page"
46
+ msgstr ""
47
+
48
+ #: acf.php:475 core/api.php:503 core/everything_fields.php:202
49
+ #: core/options_page.php:182
50
  msgid "Validation Failed. One or more fields below are required."
51
  msgstr ""
52
 
53
+ #: acf.php:801
54
  msgid "Error: Field Type does not exist!"
55
  msgstr ""
56
 
57
+ #: acf.php:2027
58
+ msgid "required"
59
+ msgstr ""
60
+
61
+ #: acf.php:2122
62
+ msgid "Parent Page"
63
+ msgstr ""
64
+
65
+ #: acf.php:2123
66
+ msgid "Child Page"
67
+ msgstr ""
68
+
69
+ #: acf.php:2131
70
+ msgid "Default Template"
71
+ msgstr ""
72
+
73
  #: core/actions/export.php:19
74
  msgid "No ACF groups selected"
75
  msgstr ""
76
 
77
+ #: core/actions/init.php:21 core/actions/init.php:116
78
+ #: core/admin/page_acf.php:14
79
+ msgid "Advanced Custom Fields"
80
  msgstr ""
81
 
82
+ #: core/actions/init.php:21
83
+ msgid "requires a database upgrade"
84
+ msgstr ""
85
+
86
+ #: core/actions/init.php:21
87
+ msgid "why?"
88
+ msgstr ""
89
+
90
+ #: core/actions/init.php:21
91
+ msgid "Please"
92
+ msgstr ""
93
+
94
+ #: core/actions/init.php:21
95
+ msgid "backup your database"
96
+ msgstr ""
97
+
98
+ #: core/actions/init.php:21
99
+ msgid "then click"
100
+ msgstr ""
101
+
102
+ #: core/actions/init.php:21
103
+ msgid "Upgrade Database"
104
+ msgstr ""
105
+
106
+ #: core/actions/init.php:47
107
+ msgid "Repeater field deactivated"
108
+ msgstr ""
109
+
110
+ #: core/actions/init.php:51
111
+ msgid "Options page deactivated"
112
+ msgstr ""
113
+
114
+ #: core/actions/init.php:55
115
+ msgid "Flexible Content field deactivated"
116
+ msgstr ""
117
+
118
+ #: core/actions/init.php:59
119
+ msgid "Everything Fields deactivated"
120
+ msgstr ""
121
+
122
+ #: core/actions/init.php:87
123
+ msgid "Repeater field activated"
124
+ msgstr ""
125
+
126
+ #: core/actions/init.php:91
127
+ msgid "Options page activated"
128
+ msgstr ""
129
+
130
+ #: core/actions/init.php:95
131
+ msgid "Flexible Content field activated"
132
+ msgstr ""
133
+
134
+ #: core/actions/init.php:99
135
+ msgid "Everything Fields activated"
136
+ msgstr ""
137
+
138
+ #: core/actions/init.php:104
139
+ msgid "License key unrecognised"
140
+ msgstr ""
141
+
142
+ #: core/actions/init.php:115
143
+ msgid "Field&nbsp;Groups"
144
  msgstr ""
145
 
146
+ #: core/actions/init.php:117 core/fields/flexible_content.php:222
147
  msgid "Add New"
148
  msgstr ""
149
 
150
+ #: core/actions/init.php:118
151
  msgid "Add New Field Group"
152
  msgstr ""
153
 
154
+ #: core/actions/init.php:119
155
  msgid "Edit Field Group"
156
  msgstr ""
157
 
158
+ #: core/actions/init.php:120
159
  msgid "New Field Group"
160
  msgstr ""
161
 
162
+ #: core/actions/init.php:121
163
  msgid "View Field Group"
164
  msgstr ""
165
 
166
+ #: core/actions/init.php:122
167
  msgid "Search Field Groups"
168
  msgstr ""
169
 
170
+ #: core/actions/init.php:123
171
  msgid "No Field Groups found"
172
  msgstr ""
173
 
174
+ #: core/actions/init.php:124
175
  msgid "No Field Groups found in Trash"
176
  msgstr ""
177
 
178
+ #: core/actions/init.php:152
179
+ msgid "Title"
180
+ msgstr ""
181
+
182
+ #: core/admin/meta_box_fields.php:17 core/fields/flexible_content.php:210
183
+ #: core/fields/repeater.php:189
184
  msgid "New Field"
185
  msgstr ""
186
 
187
+ #: core/admin/meta_box_fields.php:38
188
+ msgid "Move to trash. Are you sure?"
189
+ msgstr ""
190
+
191
+ #: core/admin/meta_box_fields.php:50 core/fields/flexible_content.php:274
192
+ #: core/fields/repeater.php:215
193
  msgid "Field Order"
194
  msgstr ""
195
 
196
+ #: core/admin/meta_box_fields.php:51 core/admin/meta_box_fields.php:91
197
+ #: core/fields/flexible_content.php:275 core/fields/flexible_content.php:320
198
+ #: core/fields/repeater.php:216 core/fields/repeater.php:261
199
  msgid "Field Label"
200
  msgstr ""
201
 
202
+ #: core/admin/meta_box_fields.php:52 core/admin/meta_box_fields.php:107
203
+ #: core/fields/flexible_content.php:276 core/fields/flexible_content.php:336
204
+ #: core/fields/repeater.php:217 core/fields/repeater.php:277
205
  msgid "Field Name"
206
  msgstr ""
207
 
208
+ #: core/admin/meta_box_fields.php:53 core/admin/meta_box_fields.php:122
209
+ #: core/admin/page_settings.php:44 core/fields/flexible_content.php:277
210
+ #: core/fields/flexible_content.php:351 core/fields/repeater.php:218
211
+ #: core/fields/repeater.php:292
212
  msgid "Field Type"
213
  msgstr ""
214
 
215
+ #: core/admin/meta_box_fields.php:60
216
  msgid ""
217
  "No fields. Click the <strong>+ Add Field</strong> button to create your "
218
  "first field."
219
  msgstr ""
220
 
221
+ #: core/admin/meta_box_fields.php:71 core/admin/meta_box_fields.php:74
222
+ #: core/fields/flexible_content.php:301 core/fields/flexible_content.php:304
223
+ #: core/fields/repeater.php:241 core/fields/repeater.php:244
224
+ msgid "Edit this Field"
225
+ msgstr ""
226
+
227
+ #: core/admin/meta_box_fields.php:74 core/fields/flexible_content.php:304
228
+ #: core/fields/repeater.php:244
229
  msgid "Edit"
230
  msgstr ""
231
 
232
+ #: core/admin/meta_box_fields.php:75
233
+ msgid "Read documentation for this field"
234
+ msgstr ""
235
+
236
+ #: core/admin/meta_box_fields.php:75
237
  msgid "Docs"
238
  msgstr ""
239
 
240
+ #: core/admin/meta_box_fields.php:76 core/fields/flexible_content.php:305
241
+ #: core/fields/repeater.php:245
242
+ msgid "Delete this Field"
243
+ msgstr ""
244
+
245
+ #: core/admin/meta_box_fields.php:76 core/fields/flexible_content.php:223
246
+ #: core/fields/flexible_content.php:305 core/fields/repeater.php:245
247
  msgid "Delete"
248
  msgstr ""
249
 
250
+ #: core/admin/meta_box_fields.php:92 core/fields/flexible_content.php:321
251
+ #: core/fields/repeater.php:262
252
  msgid "This is the name which will appear on the EDIT page"
253
  msgstr ""
254
 
255
+ #: core/admin/meta_box_fields.php:108 core/fields/flexible_content.php:337
256
+ #: core/fields/repeater.php:278
257
  msgid "Single word, no spaces. Underscores and dashes allowed"
258
  msgstr ""
259
 
260
+ #: core/admin/meta_box_fields.php:135
261
  msgid "Field Instructions"
262
  msgstr ""
263
 
264
+ #: core/admin/meta_box_fields.php:136
265
  msgid "Instructions for authors. Shown when submitting data"
266
  msgstr ""
267
 
268
+ #: core/admin/meta_box_fields.php:148
269
  msgid "Required?"
270
  msgstr ""
271
 
272
+ #: core/admin/meta_box_fields.php:171 core/fields/flexible_content.php:371
273
+ #: core/fields/repeater.php:312
274
  msgid "Save Field"
275
  msgstr ""
276
 
277
+ #: core/admin/meta_box_fields.php:176 core/fields/flexible_content.php:376
278
+ #: core/fields/repeater.php:317
279
+ msgid "Close Field"
280
  msgstr ""
281
 
282
+ #: core/admin/meta_box_fields.php:190
 
 
 
 
 
 
 
 
 
 
 
283
  msgid "+ Add Field"
284
  msgstr ""
285
 
293
  "advanced custom fields"
294
  msgstr ""
295
 
296
+ #: core/admin/meta_box_location.php:37 core/fields/wysiwyg.php:142
297
+ msgid "Basic"
298
+ msgstr ""
299
+
300
+ #: core/admin/meta_box_location.php:38 core/fields/page_link.php:194
301
+ #: core/fields/post_object.php:209 core/fields/relationship.php:246
302
+ msgid "Post Type"
303
+ msgstr ""
304
+
305
+ #: core/admin/meta_box_location.php:39
306
+ msgid "Logged in User Type"
307
+ msgstr ""
308
+
309
+ #: core/admin/meta_box_location.php:41
310
+ msgid "Page Specific"
311
+ msgstr ""
312
+
313
+ #: core/admin/meta_box_location.php:42
314
+ msgid "Page"
315
+ msgstr ""
316
+
317
+ #: core/admin/meta_box_location.php:43
318
+ msgid "Page Type"
319
+ msgstr ""
320
+
321
+ #: core/admin/meta_box_location.php:44
322
+ msgid "Page Parent"
323
+ msgstr ""
324
+
325
+ #: core/admin/meta_box_location.php:45
326
+ msgid "Page Template"
327
+ msgstr ""
328
+
329
+ #: core/admin/meta_box_location.php:47
330
+ msgid "Post Specific"
331
+ msgstr ""
332
+
333
+ #: core/admin/meta_box_location.php:48
334
+ msgid "Post"
335
+ msgstr ""
336
+
337
+ #: core/admin/meta_box_location.php:49
338
+ msgid "Post Category"
339
+ msgstr ""
340
+
341
+ #: core/admin/meta_box_location.php:50
342
+ msgid "Post Format"
343
+ msgstr ""
344
+
345
+ #: core/admin/meta_box_location.php:51
346
+ msgid "Post Taxonomy"
347
+ msgstr ""
348
+
349
+ #: core/admin/meta_box_location.php:53
350
+ msgid "Other"
351
+ msgstr ""
352
+
353
+ #: core/admin/meta_box_location.php:54
354
+ msgid "Taxonomy (Add / Edit)"
355
+ msgstr ""
356
+
357
+ #: core/admin/meta_box_location.php:55
358
+ msgid "User (Add / Edit)"
359
+ msgstr ""
360
+
361
+ #: core/admin/meta_box_location.php:56
362
+ msgid "Media (Edit)"
363
+ msgstr ""
364
+
365
+ #: core/admin/meta_box_location.php:64 core/admin/page_settings.php:92
366
+ msgid "Options Page"
367
+ msgstr ""
368
+
369
+ #: core/admin/meta_box_location.php:86
370
+ msgid "is equal to"
371
+ msgstr ""
372
+
373
+ #: core/admin/meta_box_location.php:87
374
+ msgid "is not equal to"
375
+ msgstr ""
376
+
377
+ #: core/admin/meta_box_location.php:111
378
  msgid "match"
379
  msgstr ""
380
 
381
+ #: core/admin/meta_box_location.php:117
382
+ msgid "all"
383
+ msgstr ""
384
+
385
+ #: core/admin/meta_box_location.php:118
386
+ msgid "any"
387
+ msgstr ""
388
+
389
+ #: core/admin/meta_box_location.php:121
390
  msgid "of the above"
391
  msgstr ""
392
 
393
+ #: core/admin/meta_box_location.php:134
394
+ msgid "Unlock options add-on with an activation code"
395
+ msgstr ""
396
+
397
  #: core/admin/meta_box_options.php:13
398
  msgid "Order No."
399
  msgstr ""
406
  msgid "Position"
407
  msgstr ""
408
 
409
+ #: core/admin/meta_box_options.php:40
410
+ msgid "Normal"
411
+ msgstr ""
412
+
413
+ #: core/admin/meta_box_options.php:41
414
+ msgid "Side"
415
+ msgstr ""
416
+
417
  #: core/admin/meta_box_options.php:50
418
  msgid "Style"
419
  msgstr ""
420
 
421
+ #: core/admin/meta_box_options.php:60
422
+ msgid "Standard Metabox"
423
+ msgstr ""
424
+
425
+ #: core/admin/meta_box_options.php:61
426
+ msgid "No Metabox"
427
+ msgstr ""
428
+
429
  #: core/admin/meta_box_options.php:70
430
  msgid "Show on page"
431
  msgstr ""
440
  "will be used. The first ACF group is the one with the lowest order number."
441
  msgstr ""
442
 
443
+ #: core/admin/meta_box_options.php:82
444
+ msgid "Content Editor"
445
+ msgstr ""
446
+
447
+ #: core/admin/meta_box_options.php:84
448
+ msgid "Discussion"
449
+ msgstr ""
450
+
451
+ #: core/admin/meta_box_options.php:85
452
+ msgid "Comments"
453
+ msgstr ""
454
+
455
+ #: core/admin/meta_box_options.php:86
456
+ msgid "Slug"
457
+ msgstr ""
458
+
459
+ #: core/admin/meta_box_options.php:87
460
+ msgid "Author"
461
+ msgstr ""
462
+
463
  #: core/admin/page_acf.php:16
464
  msgid "Changelog"
465
  msgstr ""
528
  msgid "Flexible Content Field"
529
  msgstr ""
530
 
 
 
 
 
531
  #: core/admin/page_settings.php:115
532
  msgid ""
533
  "Add-ons can be unlocked by purchasing a license key. Each key can be used on "
643
  " */"
644
  msgstr ""
645
 
646
+ #: core/admin/page_settings.php:336
647
  msgid "No field groups were selected"
648
  msgstr ""
649
 
656
  msgid "No choices to choose from"
657
  msgstr ""
658
 
659
+ #: core/fields/checkbox.php:102 core/fields/radio.php:114
660
  #: core/fields/select.php:164
661
  msgid "Choices"
662
  msgstr ""
663
 
664
+ #: core/fields/checkbox.php:103 core/fields/radio.php:115
665
  #: core/fields/select.php:165
666
+ msgid "Enter your choices one per line"
667
+ msgstr ""
668
+
669
+ #: core/fields/checkbox.php:105 core/fields/radio.php:117
670
+ #: core/fields/select.php:167
671
+ msgid "Red"
672
+ msgstr ""
673
+
674
+ #: core/fields/checkbox.php:106 core/fields/radio.php:118
675
+ #: core/fields/select.php:168
676
+ msgid "Blue"
677
+ msgstr ""
678
+
679
+ #: core/fields/checkbox.php:108 core/fields/radio.php:120
680
+ #: core/fields/select.php:170
681
+ msgid "red : Red"
682
+ msgstr ""
683
+
684
+ #: core/fields/checkbox.php:109 core/fields/radio.php:121
685
+ #: core/fields/select.php:171
686
+ msgid "blue : Blue"
687
  msgstr ""
688
 
689
  #: core/fields/color_picker.php:21
694
  msgid "Date Picker"
695
  msgstr ""
696
 
697
+ #: core/fields/date_picker/date_picker.php:82
698
  msgid "Date format"
699
  msgstr ""
700
 
701
+ #: core/fields/date_picker/date_picker.php:83
702
  msgid "eg. dd/mm/yy. read more about"
703
  msgstr ""
704
 
706
  msgid "File"
707
  msgstr ""
708
 
709
+ #: core/fields/file.php:60
710
  msgid "Remove File"
711
  msgstr ""
712
 
713
+ #: core/fields/file.php:165
714
+ msgid "No File Selected"
715
  msgstr ""
716
 
717
+ #: core/fields/file.php:165
718
  msgid "Add File"
719
  msgstr ""
720
 
721
+ #: core/fields/file.php:194 core/fields/image.php:177
722
  msgid "Return Value"
723
  msgstr ""
724
 
725
+ #: core/fields/file.php:342
726
+ msgid "No files selected"
727
+ msgstr ""
728
+
729
+ #: core/fields/file.php:419
730
+ msgid "Add Selected Files"
731
+ msgstr ""
732
+
733
+ #: core/fields/file.php:445
734
  msgid "Select File"
735
  msgstr ""
736
 
738
  msgid "Flexible Content"
739
  msgstr ""
740
 
741
+ #: core/fields/flexible_content.php:38 core/fields/flexible_content.php:183
742
+ #: core/fields/repeater.php:65 core/fields/repeater.php:184
 
 
 
743
  msgid "+ Add Row"
744
  msgstr ""
745
 
746
+ #: core/fields/flexible_content.php:219 core/fields/radio.php:144
747
+ #: core/fields/repeater.php:355
748
  msgid "Layout"
749
  msgstr ""
750
 
751
+ #: core/fields/flexible_content.php:221
752
+ msgid "Reorder Layout"
753
+ msgstr ""
754
+
755
+ #: core/fields/flexible_content.php:221
756
  msgid "Reorder"
757
  msgstr ""
758
 
759
+ #: core/fields/flexible_content.php:222
760
+ msgid "Add New Layout"
761
+ msgstr ""
762
+
763
+ #: core/fields/flexible_content.php:223
764
+ msgid "Delete Layout"
765
+ msgstr ""
766
+
767
+ #: core/fields/flexible_content.php:233
768
  msgid "Label"
769
  msgstr ""
770
 
771
+ #: core/fields/flexible_content.php:243
772
  msgid "Name"
773
  msgstr ""
774
 
775
+ #: core/fields/flexible_content.php:253
776
  msgid "Display"
777
  msgstr ""
778
 
779
+ #: core/fields/flexible_content.php:260
780
+ msgid "Table"
781
+ msgstr ""
782
+
783
+ #: core/fields/flexible_content.php:261 core/fields/repeater.php:366
784
+ msgid "Row"
785
+ msgstr ""
786
+
787
+ #: core/fields/flexible_content.php:285 core/fields/repeater.php:226
788
+ msgid ""
789
+ "No fields. Click the \"+ Add Sub Field button\" to create your first field."
790
+ msgstr ""
791
+
792
+ #: core/fields/flexible_content.php:376 core/fields/repeater.php:317
793
+ msgid "Close Sub Field"
794
+ msgstr ""
795
+
796
+ #: core/fields/flexible_content.php:391 core/fields/repeater.php:333
797
+ msgid "+ Add Sub Field"
798
+ msgstr ""
799
+
800
+ #: core/fields/flexible_content.php:398 core/fields/repeater.php:374
801
+ msgid "Button Label"
802
  msgstr ""
803
 
804
  #: core/fields/image.php:21
805
  msgid "Image"
806
  msgstr ""
807
 
808
+ #: core/fields/image.php:153
809
  msgid "No image selected"
810
  msgstr ""
811
 
812
+ #: core/fields/image.php:153
813
  msgid "Add Image"
814
  msgstr ""
815
 
816
+ #: core/fields/image.php:187
817
+ msgid "Image URL"
818
+ msgstr ""
819
+
820
+ #: core/fields/image.php:188
821
+ msgid "Attachment ID"
822
+ msgstr ""
823
+
824
+ #: core/fields/image.php:196
825
  msgid "Preview Size"
826
  msgstr ""
827
 
828
+ #: core/fields/image.php:206
829
+ msgid "Thumbnail"
830
+ msgstr ""
831
+
832
+ #: core/fields/image.php:207
833
+ msgid "Medium"
834
+ msgstr ""
835
+
836
+ #: core/fields/image.php:208
837
+ msgid "Large"
838
+ msgstr ""
839
+
840
+ #: core/fields/image.php:209 core/fields/wysiwyg.php:141
841
+ msgid "Full"
842
+ msgstr ""
843
+
844
+ #: core/fields/image.php:392
845
+ msgid "No images selected"
846
+ msgstr ""
847
+
848
+ #: core/fields/image.php:469
849
+ msgid "Add selected Images"
850
+ msgstr ""
851
+
852
+ #: core/fields/image.php:495
853
  msgid "Select Image"
854
  msgstr ""
855
 
857
  msgid "Page Link"
858
  msgstr ""
859
 
860
+ #: core/fields/page_link.php:71 core/fields/post_object.php:64
861
+ #: core/fields/select.php:21
862
+ msgid "Select"
863
  msgstr ""
864
 
865
+ #: core/fields/page_link.php:195
866
  msgid ""
867
  "Filter posts by selecting a post type<br />\n"
868
  "\t\t\t\tTip: deselect all post types to show all post type's posts"
869
  msgstr ""
870
 
871
+ #: core/fields/page_link.php:200 core/fields/post_object.php:213
872
+ #: core/fields/post_object.php:237 core/fields/relationship.php:250
873
+ #: core/fields/relationship.php:301
874
+ msgid "All"
875
+ msgstr ""
876
+
877
+ #: core/fields/page_link.php:223 core/fields/post_object.php:281
878
+ #: core/fields/select.php:194
879
  msgid "Allow Null?"
880
  msgstr ""
881
 
882
+ #: core/fields/page_link.php:232 core/fields/page_link.php:251
883
+ #: core/fields/post_object.php:290 core/fields/post_object.php:309
884
+ #: core/fields/select.php:203 core/fields/select.php:222
885
+ #: core/fields/wysiwyg.php:160
886
+ msgid "Yes"
887
+ msgstr ""
888
+
889
+ #: core/fields/page_link.php:233 core/fields/page_link.php:252
890
+ #: core/fields/post_object.php:291 core/fields/post_object.php:310
891
+ #: core/fields/select.php:204 core/fields/select.php:223
892
+ #: core/fields/wysiwyg.php:161
893
+ msgid "No"
894
+ msgstr ""
895
+
896
+ #: core/fields/page_link.php:242 core/fields/post_object.php:300
897
+ #: core/fields/select.php:213
898
  msgid "Select multiple values?"
899
  msgstr ""
900
 
902
  msgid "Post Object"
903
  msgstr ""
904
 
905
+ #: core/fields/post_object.php:231 core/fields/relationship.php:295
906
  msgid "Filter from Taxonomy"
907
  msgstr ""
908
 
910
  msgid "Radio Button"
911
  msgstr ""
912
 
913
+ #: core/fields/radio.php:130 core/fields/select.php:180
914
  #: core/fields/text.php:61 core/fields/textarea.php:62
915
  msgid "Default Value"
916
  msgstr ""
917
 
918
+ #: core/fields/radio.php:154
919
+ msgid "Vertical"
920
+ msgstr ""
921
+
922
+ #: core/fields/radio.php:155
923
+ msgid "Horizontal"
924
+ msgstr ""
925
+
926
  #: core/fields/relationship.php:21
927
  msgid "Relationship"
928
  msgstr ""
929
 
930
+ #: core/fields/relationship.php:134
931
+ msgid "Search"
932
+ msgstr ""
933
+
934
+ #: core/fields/relationship.php:318
935
  msgid "Maximum posts"
936
  msgstr ""
937
 
938
+ #: core/fields/relationship.php:319
939
+ msgid "Set to -1 for infinite"
940
  msgstr ""
941
 
942
  #: core/fields/repeater.php:21
943
  msgid "Repeater"
944
  msgstr ""
945
 
946
+ #: core/fields/repeater.php:207
947
  msgid "Repeater Fields"
948
  msgstr ""
949
 
950
+ #: core/fields/repeater.php:341
951
  msgid "Row Limit"
952
  msgstr ""
953
 
954
+ #: core/fields/repeater.php:365
955
+ msgid "Table (default)"
956
  msgstr ""
957
 
958
  #: core/fields/text.php:21
967
  msgid "Define how to render html tags"
968
  msgstr ""
969
 
970
+ #: core/fields/text.php:85 core/fields/textarea.php:86
971
+ msgid "None"
972
+ msgstr ""
973
+
974
+ #: core/fields/text.php:86 core/fields/textarea.php:88
975
+ msgid "HTML"
976
+ msgstr ""
977
+
978
  #: core/fields/textarea.php:21
979
  msgid "Text Area"
980
  msgstr ""
983
  msgid "Define how to render html tags / new lines"
984
  msgstr ""
985
 
986
+ #: core/fields/textarea.php:87
987
+ msgid "auto &lt;br /&gt;"
988
+ msgstr ""
989
+
990
  #: core/fields/true_false.php:21
991
  msgid "True / False"
992
  msgstr ""
1003
  msgid "Wysiwyg Editor"
1004
  msgstr ""
1005
 
1006
+ #: core/fields/wysiwyg.php:131
1007
  msgid "Toolbar"
1008
  msgstr ""
1009
 
1010
+ #: core/fields/wysiwyg.php:150
1011
  msgid "Show Media Upload Buttons?"
1012
  msgstr ""
1013
 
1014
+ #: core/options_page.php:161
1015
+ msgid "Options Updated"
1016
+ msgstr ""
1017
+
1018
+ #: core/options_page.php:275
1019
+ msgid "No Custom Field Group found for the options page"
1020
+ msgstr ""
1021
+
1022
+ #: core/options_page.php:275
1023
+ msgid "Create a Custom Field Group"
1024
  msgstr ""
1025
 
1026
+ #: core/options_page.php:286
1027
+ msgid "Publish"
1028
  msgstr ""
readme.txt CHANGED
@@ -13,11 +13,10 @@ Advanced Custom Fields is the perfect solution for any wordpress website which n
13
 
14
  * Visually create your Fields
15
  * Select from multiple input types (text, textarea, wysiwyg, image, file, page link, post object, relationship, select, checkbox, radio buttons, repeater, more to come)
16
- * Assign your fields to multiple edit pages (specific ID's, post types, post slugs, parent ID's, template names)
17
- * Add, Edit and reorder infinite rows to your fields
18
  * Easily load data through a simple and friendly API
19
  * Uses the native WordPress custom post type for ease of use and fast processing
20
- * Now uses custom Database tables to improve speed, reliability and future development
21
 
22
  = Field Types =
23
  * Text (type text, api returns text)
@@ -86,6 +85,17 @@ http://www.advancedcustomfields.com/support/
86
 
87
  == Changelog ==
88
 
 
 
 
 
 
 
 
 
 
 
 
89
  = 3.1.7 =
90
  * Bug fix: Image field returns correct url after selecting one or more images
91
  * Translation: Added Polish translation. Thank you Bartosz Arendt - Digital Factory - www.digitalfactory.pl
@@ -103,6 +113,7 @@ http://www.advancedcustomfields.com/support/
103
  * Bug Fix: Fixed multi upload / select image in repeater.
104
  * Performance: Added caching to the get_field function. Templates will now render quicker.
105
  * Bug Fix: Fixed Post formats location rule - it now works.
 
106
 
107
  = 3.1.5 =
108
  * Improvement: Redesigned the experience for uploading and selecting images / files in fields and sub fields. Image / File fields within a repeater can now add multiple images / files
13
 
14
  * Visually create your Fields
15
  * Select from multiple input types (text, textarea, wysiwyg, image, file, page link, post object, relationship, select, checkbox, radio buttons, repeater, more to come)
16
+ * Assign your fields to multiple edit pages (via custom location rules)
 
17
  * Easily load data through a simple and friendly API
18
  * Uses the native WordPress custom post type for ease of use and fast processing
19
+ * Uses the native WordPress metadata for ease of use and fast processing
20
 
21
  = Field Types =
22
  * Text (type text, api returns text)
85
 
86
  == Changelog ==
87
 
88
+ = 3.1.8 =
89
+ * Options page fields now save their data in the wp_options table. This will require a "Database Upgrade" when you update ACF. This upgrade will move your Options page data from the postmeta table to the options table.
90
+ * Added _e() and __() functions to more text throughout plugin
91
+ * Added new French translation. Thanks to Martin Vauchel @littlbr http://littleboyrunning.com
92
+ * Fixed duplicate WYSIWYG in chrome bug
93
+ * New Location rules: add fields to a user / taxonomy / attachment
94
+ * Bug Fix: Color picker now shows color on page load. Thanks to Kev http://www.popcreative.co.uk
95
+ * CSS tweaks File clearfix, new style for selects with optgroups
96
+ * Simplified get_value to return default value if value == ""
97
+ * API now allows for "option" and "options" for the $post_id value in API functions
98
+
99
  = 3.1.7 =
100
  * Bug fix: Image field returns correct url after selecting one or more images
101
  * Translation: Added Polish translation. Thank you Bartosz Arendt - Digital Factory - www.digitalfactory.pl
113
  * Bug Fix: Fixed multi upload / select image in repeater.
114
  * Performance: Added caching to the get_field function. Templates will now render quicker.
115
  * Bug Fix: Fixed Post formats location rule - it now works.
116
+ * Nested repeaters are now possible!
117
 
118
  = 3.1.5 =
119
  * Improvement: Redesigned the experience for uploading and selecting images / files in fields and sub fields. Image / File fields within a repeater can now add multiple images / files