Advanced Custom Fields - Version 4.4.3

Version Description

  • WYSIWYG field: Added compatibility for WP 4.3 filters
  • Core: Minor fixes and improvements
  • Language: Updated Polish translation - thanks to Maciej
Download this release

Release Info

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

Code changes from version 4.4.4 to 4.4.3

README.md CHANGED
@@ -5,7 +5,7 @@ Welcome to the official repository for Advanced Custom Fields WordPress plugin.
5
  -----------------------
6
 
7
  * Readme : https://github.com/elliotcondon/acf/blob/master/readme.txt
8
- * WordPress repository: https://wordpress.org/plugins/advanced-custom-fields/
9
- * Website : http://www.advancedcustomfields.com/
10
  * Documentation: http://www.advancedcustomfields.com/resources/
11
  * Support: http://support.advancedcustomfields.com/
5
  -----------------------
6
 
7
  * Readme : https://github.com/elliotcondon/acf/blob/master/readme.txt
8
+ * WordPress repository: http://wordpress.org/extend/plugins/advanced-custom-fields/
9
+ * Website : http://advancedcustomfields.com/
10
  * Documentation: http://www.advancedcustomfields.com/resources/
11
  * Support: http://support.advancedcustomfields.com/
acf.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Advanced Custom Fields
4
  Plugin URI: http://www.advancedcustomfields.com/
5
  Description: Customise WordPress with powerful, professional and intuitive fields
6
- Version: 4.4.4
7
  Author: Elliot Condon
8
  Author URI: http://www.elliotcondon.com/
9
  License: GPL
@@ -43,7 +43,7 @@ class acf
43
  'path' => apply_filters('acf/helpers/get_path', __FILE__),
44
  'dir' => apply_filters('acf/helpers/get_dir', __FILE__),
45
  'hook' => basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ),
46
- 'version' => '4.4.4',
47
  'upgrade_version' => '3.4.1',
48
  'include_3rd_party' => false
49
  );
3
  Plugin Name: Advanced Custom Fields
4
  Plugin URI: http://www.advancedcustomfields.com/
5
  Description: Customise WordPress with powerful, professional and intuitive fields
6
+ Version: 4.4.3
7
  Author: Elliot Condon
8
  Author URI: http://www.elliotcondon.com/
9
  License: GPL
43
  'path' => apply_filters('acf/helpers/get_path', __FILE__),
44
  'dir' => apply_filters('acf/helpers/get_dir', __FILE__),
45
  'hook' => basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ),
46
+ 'version' => '4.4.3',
47
  'upgrade_version' => '3.4.1',
48
  'include_3rd_party' => false
49
  );
core/controllers/field_group.php CHANGED
@@ -350,8 +350,7 @@ class acf_field_group
350
 
351
  function admin_head()
352
  {
353
- // global
354
- global $wp_version, $post;
355
 
356
 
357
  // l10n
@@ -379,7 +378,6 @@ class acf_field_group
379
  acf.nonce = "<?php echo wp_create_nonce( 'acf_nonce' ); ?>";
380
  acf.admin_url = "<?php echo admin_url(); ?>";
381
  acf.ajaxurl = "<?php echo admin_url( 'admin-ajax.php' ); ?>";
382
- acf.wp_version = "<?php echo $wp_version; ?>";
383
 
384
 
385
  // l10n
350
 
351
  function admin_head()
352
  {
353
+ global $post;
 
354
 
355
 
356
  // l10n
378
  acf.nonce = "<?php echo wp_create_nonce( 'acf_nonce' ); ?>";
379
  acf.admin_url = "<?php echo admin_url(); ?>";
380
  acf.ajaxurl = "<?php echo admin_url( 'admin-ajax.php' ); ?>";
 
381
 
382
 
383
  // l10n
core/fields/date_picker/date_picker.php CHANGED
@@ -124,7 +124,7 @@ class acf_field_date_picker extends acf_field
124
  <tr class="field_option field_option_<?php echo $this->name; ?>">
125
  <td class="label">
126
  <label><?php _e("Save format",'acf'); ?></label>
127
- <p class="description"><?php _e("This format will determine the value saved to the database and returned via the API",'acf'); ?></p>
128
  <p><?php _e("\"yymmdd\" is the most versatile save format. Read more about",'acf'); ?> <a href="http://docs.jquery.com/UI/Datepicker/formatDate"><?php _e("jQuery date formats",'acf'); ?></a></p>
129
  </td>
130
  <td>
124
  <tr class="field_option field_option_<?php echo $this->name; ?>">
125
  <td class="label">
126
  <label><?php _e("Save format",'acf'); ?></label>
127
+ <p class="description"><?php _e("This format will determin the value saved to the database and returned via the API",'acf'); ?></p>
128
  <p><?php _e("\"yymmdd\" is the most versatile save format. Read more about",'acf'); ?> <a href="http://docs.jquery.com/UI/Datepicker/formatDate"><?php _e("jQuery date formats",'acf'); ?></a></p>
129
  </td>
130
  <td>
css/field-group.css CHANGED
@@ -64,7 +64,7 @@
64
  display: none;
65
  }
66
 
67
- .postbox#acf_fields > .hndle {
68
  display: none;
69
  }
70
 
@@ -75,8 +75,6 @@
75
 
76
  .postbox#acf_fields a {
77
  text-decoration: none;
78
- box-shadow: none;
79
- transition: none;
80
  }
81
 
82
 
64
  display: none;
65
  }
66
 
67
+ .postbox#acf_fields h3.hndle {
68
  display: none;
69
  }
70
 
75
 
76
  .postbox#acf_fields a {
77
  text-decoration: none;
 
 
78
  }
79
 
80
 
js/field-group.js CHANGED
@@ -135,90 +135,22 @@ var acf = {
135
  * @return N/A
136
  */
137
 
138
- var acf_submit = {
139
 
140
- init: function(){
141
-
142
- // events
143
- $(document).on('submit', '#post', this.submit);
144
-
145
-
146
- // return
147
- return this;
148
-
149
-
150
- },
151
-
152
- submit: function( e ){
153
-
154
- // validate post title
155
- var $title = $('#titlewrap #title'),
156
- $spinner = $('#submitdiv .spinner').last(),
157
- $submit = $('#submitdiv input[type="submit"]').last();
158
-
159
-
160
- // title empty
161
- if( !$title.val() ) {
162
-
163
- // prevent default
164
- e.preventDefault();
165
-
166
-
167
- // hide spinner
168
- acf_submit.hide_spinner( $spinner );
169
- acf_submit.enable_submit( $submit );
170
-
171
-
172
- // alert
173
- alert( acf.l10n.title );
174
-
175
-
176
- // focus
177
- $title.focus();
178
-
179
- }
180
-
181
- },
182
 
183
- hide_spinner: function( $spinner ){
184
-
185
- // bail early if no spinner
186
- if( !$spinner.exists() ) return;
187
-
188
-
189
- // vars
190
- var wp_version = acf.wp_version;
191
-
192
-
193
- // hide
194
- if( parseFloat(wp_version) >= 4.2 ) {
195
-
196
- $spinner.removeClass('is-active');
197
-
198
- } else {
199
-
200
- $spinner.css('display', 'none');
201
-
202
- }
203
 
204
- },
205
 
206
- enable_submit: function( $submit ){
207
-
208
- // bail early if no submit
209
- if( !$submit.exists() ) {
210
-
211
- return;
212
-
213
- }
214
-
215
-
216
- // remove class
217
- $submit.removeClass('disabled button-disabled button-primary-disabled');
218
-
219
  }
 
220
 
221
- }.init();
222
 
223
 
224
  /*
135
  * @return N/A
136
  */
137
 
138
+ $(document).on('submit', '#post', function(){
139
 
140
+ // validate post title
141
+ var title = $('#titlewrap #title');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
+ if( !title.val() )
144
+ {
145
+ alert( acf.l10n.title );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
 
147
+ title.focus();
148
 
149
+ return false;
 
 
 
 
 
 
 
 
 
 
 
 
150
  }
151
+
152
 
153
+ });
154
 
155
 
156
  /*
js/field-group.min.js CHANGED
@@ -1 +1,8 @@
1
- var acf={ajaxurl:"",admin_url:"",post_id:0,nonce:"",l10n:{},text:{},helpers:{uniqid:null,sortable:null,create_field:null},conditional_logic:null,location:null};!function($){function e(){$("#acf_fields .fields").each(function(){$(this).children(".field").each(function(e){$(this).find("td.field_order .circle").first().html(e+1)})})}$.fn.exists=function(){return $(this).length>0},acf.helpers.sortable=function(e,t){return t.children().each(function(){$(this).width($(this).width())}),t},acf.helpers.uniqid=function(e,t){"undefined"==typeof e&&(e="");var i,a=function(e,t){return e=parseInt(e,10).toString(16),t<e.length?e.slice(e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};return this.php_js||(this.php_js={}),this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(123456789*Math.random())),this.php_js.uniqidSeed++,i=e,i+=a(parseInt((new Date).getTime()/1e3,10),8),i+=a(this.php_js.uniqidSeed,5),t&&(i+=(10*Math.random()).toFixed(8).toString()),i};var t={init:function(){return $(document).on("submit","#post",this.submit),this},submit:function(e){var i=$("#titlewrap #title"),a=$("#submitdiv .spinner").last(),n=$('#submitdiv input[type="submit"]').last();i.val()||(e.preventDefault(),t.hide_spinner(a),t.enable_submit(n),alert(acf.l10n.title),i.focus())},hide_spinner:function(e){if(e.exists()){var t=acf.wp_version;parseFloat(t)>=4.2?e.removeClass("is-active"):e.css("display","none")}},enable_submit:function(e){e.exists()&&e.removeClass("disabled button-disabled button-primary-disabled")}}.init();$(document).on("click","#submit-delete",function(){var e=confirm(acf.l10n.move_to_trash);return e?void 0:!1}),$(document).on("change","#acf_fields tr.field_type select",function(){var e=$(this),t=e.closest("tbody"),i=t.closest(".field"),a=i.attr("data-type"),n=i.attr("data-id"),l=e.val();if(i.removeClass("field_type-"+a).addClass("field_type-"+l),i.attr("data-type",l),("tab"==l||"message"==l)&&t.find('tr.field_name input[type="text"]').val("").trigger("keyup"),t.children("tr.field_option_"+l).exists())t.children("tr.field_option").hide().find("[name]").attr("disabled","true"),t.children("tr.field_option_"+l).show().find("[name]").removeAttr("disabled");else{var o=$('<tr"><td class="label"></td><td><div class="acf-loading"></div></td></tr>');t.children("tr.field_option").hide().find("[name]").attr("disabled","true"),t.children("tr.conditional-logic").exists()?t.children("tr.conditional-logic").before(o):t.children("tr.field_save").before(o);var c={action:"acf/field_group/render_options",post_id:acf.post_id,field_key:e.attr("name"),field_type:l,nonce:acf.nonce};$.ajax({url:ajaxurl,data:c,type:"post",dataType:"html",success:function(e){return e?void o.replaceWith(e):void o.remove()}})}}),$.fn.update_names=function(){var e=$(this),t=e.attr("data-id"),i="field_"+acf.helpers.uniqid();e.attr("data-id",i),e.attr("class",e.attr("class").replace(t,i)),e.find(".field_meta td.field_key").text(i),e.find('[id*="'+t+'"]').each(function(){$(this).attr("id",$(this).attr("id").replace(t,i))}),e.find('[name*="'+t+'"]').each(function(){$(this).attr("name",$(this).attr("name").replace(t,i))})},$(document).on("click","#acf_fields a.acf_edit_field",function(){var e=$(this).closest(".field");e.hasClass("form_open")?(e.removeClass("form_open"),$(document).trigger("acf/field_form-close",[e])):(e.addClass("form_open"),$(document).trigger("acf/field_form-open",[e])),e.children(".field_form_mask").animate({height:"toggle"},250)}),$(document).on("click","#acf_fields a.acf_delete_field",function(){var t=$(this),i=t.closest(".field"),a=i.closest(".fields"),n=$('<div style="height:'+i.height()+'px"></div>');i.animate({left:"50px",opacity:0},250,function(){i.before(n),i.remove(),a.children(".field").length<=1?(n.remove(),a.children(".no_fields_message").show()):n.animate({height:0},250,function(){n.remove()}),e()})}),$(document).on("click","#acf_fields a.acf_duplicate_field",function(){var t=$(this),i=t.closest(".field"),a=null;i.find("select").each(function(){$(this).attr("data-val",$(this).val())}),a=i.clone(),a.update_names(),a.find(".field:not(.field_key-field_clone)").each(function(){$(this).update_names()}),i.after(a),a.find("select").each(function(){$(this).val($(this).attr("data-val")).trigger("change")}),i.hasClass("form_open")?i.find(".acf_edit_field").first().trigger("click"):a.find(".acf_edit_field").first().trigger("click");var n=a.find('tr.field_label:first input[type="text"]'),l=a.find('tr.field_name:first input[type="text"]');l.val(""),n.val(n.val()+" ("+acf.l10n.copy+")"),n.trigger("blur").trigger("keyup"),e()}),$(document).on("click","#acf_fields #add_field",function(){var t=$(this).closest(".table_footer").siblings(".fields"),i=t.children(".field_key-field_clone").clone();return i.update_names(),i.show(),t.children(".field_key-field_clone").before(i),t.children(".no_fields_message").exists()&&t.children(".no_fields_message").hide(),i.find("tr.field_type select").trigger("change"),i.find('.field_form input[type="text"]').val(""),setTimeout(function(){i.find('.field_form input[type="text"]').first().focus()},500),i.find("a.acf_edit_field").first().trigger("click"),e(),!1}),$(document).on("blur","#acf_fields tr.field_label input.label",function(){var e=$(this),t=e.closest(".field"),i=t.find('tr.field_name:first input[type="text"]'),a=t.attr("data-type");if("tab"==a||"message"==a)return void i.val("").trigger("keyup");if(""==i.val()){var n=e.val(),l={"ä":"a","æ":"a","å":"a","ö":"o","ø":"o","é":"e","ë":"e","ü":"u","ó":"o","ő":"o","ú":"u","é":"e","á":"a","ű":"u","í":"i"," ":"_","'":"","\\?":""};$.each(l,function(e,t){var i=new RegExp(e,"g");n=n.replace(i,t)}),n=n.toLowerCase(),i.val(n),i.trigger("keyup")}}),$(document).on("keyup","#acf_fields .field_form tr.field_label input.label",function(){var e=$(this).val(),t=$(this).closest(".field").find("td.field_label strong a").first().html(e)}),$(document).on("keyup","#acf_fields .field_form tr.field_name input.name",function(){var e=$(this).val(),t=$(this).closest(".field").find("td.field_name").first().html(e)}),$(document).on("change","#acf_fields .field_form tr.field_type select",function(){var e=$(this).val(),t=$(this).find('option[value="'+e+'"]').html();$(this).closest(".field").find("td.field_type").first().html(t)}),$(document).on("mouseover","#acf_fields td.field_order",function(){var t=$(this).closest(".fields");return t.hasClass("sortable")?!1:void t.addClass("sortable").sortable({update:function(t,i){e()},handle:"td.field_order"})}),$(document).ready(function(){acf.location.init(),acf.conditional_logic.init()}),acf.location={$el:null,init:function(){var e=this;e.$el=$("#acf_location"),e.$el.on("click",".location-add-rule",function(){return e.add_rule($(this).closest("tr")),!1}),e.$el.on("click",".location-remove-rule",function(){return e.remove_rule($(this).closest("tr")),!1}),e.$el.on("click",".location-add-group",function(){return e.add_group(),!1}),e.$el.on("change",".param select",function(){var e=$(this).closest("tr"),t=e.attr("data-id"),i=e.closest(".location-group"),a=i.attr("data-id"),n={action:"acf/field_group/render_location",nonce:acf.nonce,rule_id:t,group_id:a,value:"",param:$(this).val()},l=$('<div class="acf-loading"></div>');e.find("td.value").html(l),$.ajax({url:acf.ajaxurl,data:n,type:"post",dataType:"html",success:function(e){l.replaceWith(e)}})})},add_rule:function(e){var t=e.clone(),i=t.attr("data-id"),a=acf.helpers.uniqid();return t.find("[name]").each(function(){$(this).attr("name",$(this).attr("name").replace(i,a)),$(this).attr("id",$(this).attr("id").replace(i,a))}),t.attr("data-id",a),e.after(t),!1},remove_rule:function(e){var t=e.siblings("tr").length;0==t?this.remove_group(e.closest(".location-group")):e.remove()},add_group:function(){var e=this.$el.find(".location-group:last"),t=e.clone(),i=t.attr("data-id"),a=acf.helpers.uniqid();t.find("[name]").each(function(){$(this).attr("name",$(this).attr("name").replace(i,a)),$(this).attr("id",$(this).attr("id").replace(i,a))}),t.attr("data-id",a),t.find("h4").text(acf.l10n.or),t.find("tr:not(:first)").remove(),e.after(t)},remove_group:function(e){e.remove()}},$(document).ready(function(){$("#submitdiv #publish").attr("class","acf-button large"),$("#submitdiv a.submitdelete").attr("class","delete-field-group").attr("id","submit-delete");var e=$("#hide-on-screen ul.acf-checkbox-list"),t=$('<li><label><input type="checkbox" value="" name="" >'+acf.l10n.hide_show_all+"</label></li>");0==e.find("input:not(:checked)").length&&t.find("input").attr("checked","checked"),t.on("change","input",function(){var t=$(this).is(":checked");e.find("input").attr("checked",t)}),e.prepend(t)}),$(document).on("change",'#adv-settings input[name="show-field_key"]',function(){"1"==$(this).val()?$("#acf_fields table.acf").addClass("show-field_key"):$("#acf_fields table.acf").removeClass("show-field_key")}),acf.helpers.create_field=function(e){var t={type:"text",classname:"",name:"",value:""};e=$.extend(!0,t,e);var i="";if("text"==e.type)i+='<input class="text '+e.classname+'" type="text" id="'+e.name+'" name="'+e.name+'" value="'+e.value+'" />';else if("select"==e.type){var a={};$.each(e.choices,function(e,t){void 0===t.group&&(t.group=0),void 0===a[t.group]&&(a[t.group]=[]),a[t.group].push(t)}),i+='<select class="select '+e.classname+'" id="'+e.name+'" name="'+e.name+'">',$.each(a,function(t,a){0!=t&&(i+='<optgroup label="'+t+'">'),$.each(a,function(t,a){var n="";a.value==e.value&&(n='selected="selected"'),i+="<option "+n+' value="'+a.value+'">'+a.label+"</option>"}),0!=t&&(i+="</optgroup>")}),i+="</select>"}return i=$(i)},acf.conditional_logic={triggers:null,init:function(){var e=this;$(document).on("acf/field_form-open",function(t,i){e.render(i)}),$(document).on("change","#acf_fields tr.field_label input.label",function(){$("#acf_fields .field.form_open").each(function(){e.render($(this))})}),$(document).on("change",'tr.conditional-logic input[type="radio"]',function(t){t.preventDefault(),e.change_toggle($(this))}),$(document).on("change","select.conditional-logic-field",function(t){t.preventDefault(),e.change_trigger($(this))}),$(document).on("click","tr.conditional-logic .acf-button-add",function(t){t.preventDefault(),e.add($(this).closest("tr"))}),$(document).on("click","tr.conditional-logic .acf-button-remove",function(t){t.preventDefault(),e.remove($(this).closest("tr"))})},render:function(e){var t=this,i=[],a=e.attr("data-id"),n=e.parents(".fields"),l=e.find("> .field_form_mask > .field_form > table > tbody > tr.conditional-logic");$.each(n,function(e){var t=0==e?acf.l10n.sibling_fields:acf.l10n.parent_fields;$(this).children(".field").each(function(){var e=$(this),n=e.attr("data-id"),l=e.attr("data-type"),o=e.find("tr.field_label input").val();"field_clone"!=n&&n!=a&&("select"==l||"checkbox"==l||"true_false"==l||"radio"==l)&&i.push({value:n,label:o,group:t})})}),0==i.length&&i.push({value:"null",label:acf.l10n.no_fields}),l.find(".conditional-logic-field").each(function(){var e=$(this).val(),t=$(this).attr("name"),a=acf.helpers.create_field({type:"select",classname:"conditional-logic-field",name:t,value:e,choices:i});$(this).replaceWith(a),a.trigger("change")})},change_toggle:function(e){var t=e.val(),i=e.closest("tr.conditional-logic");"1"==t?i.find(".contional-logic-rules-wrapper").show():i.find(".contional-logic-rules-wrapper").hide()},change_trigger:function(e){var t=e.val(),i=$(".field_key-"+t),a=i.attr("data-type"),n=e.closest("tr").find(".conditional-logic-value"),l=[];if("true_false"==a)l=[{value:1,label:acf.l10n.checked}];else if("select"==a||"checkbox"==a||"radio"==a){var o=i.find(".field_option-choices").val().split("\n");if(o)for(var c=0;c<o.length;c++){var r=o[c].split(":"),d=r[0];r[1]&&(d=r[1]),l.push({value:$.trim(r[0]),label:$.trim(d)})}}var e=acf.helpers.create_field({type:"select",classname:"conditional-logic-value",name:n.attr("name"),value:n.val(),choices:l});n.replaceWith(e),e.trigger("change")},add:function(e){var t=e.clone(),i=parseFloat(e.attr("data-i")),a=acf.helpers.uniqid();t.find("[name]").each(function(){var e="[conditional_logic][rules]["+i+"]",t="[conditional_logic][rules]["+a+"]";$(this).attr("name",$(this).attr("name").replace(e,t)),$(this).attr("id",$(this).attr("id").replace(e,t))}),t.attr("data-i",a),e.after(t),e.closest("table").removeClass("remove-disabled")},remove:function(e){var t=e.closest("table");return t.hasClass("remove-disabled")?!1:(e.remove(),void(t.find("tr").length<=1&&t.addClass("remove-disabled")))}},$(document).on("change",".radio-option-other_choice input",function(){var e=$(this),t=e.closest("td");e.is(":checked")?t.find(".radio-option-save_other_choice").show():(t.find(".radio-option-save_other_choice").hide(),t.find(".radio-option-save_other_choice input").removeAttr("checked"))})}(jQuery);
 
 
 
 
 
 
 
1
+ /*
2
+ * field-group.js
3
+ *
4
+ * All javascript needed to create a field group
5
+ *
6
+ * @type JS
7
+ * @date 1/08/13
8
+ */var acf={ajaxurl:"",admin_url:"",post_id:0,nonce:"",l10n:{},text:{},helpers:{uniqid:null,sortable:null,create_field:null},conditional_logic:null,location:null};(function(e){function t(){e("#acf_fields .fields").each(function(){e(this).children(".field").each(function(t){e(this).find("td.field_order .circle").first().html(t+1)})})}e.fn.exists=function(){return e(this).length>0};acf.helpers.sortable=function(t,n){n.children().each(function(){e(this).width(e(this).width())});return n};acf.helpers.uniqid=function(e,t){typeof e=="undefined"&&(e="");var n,r=function(e,t){e=parseInt(e,10).toString(16);return t<e.length?e.slice(e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};this.php_js||(this.php_js={});this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(Math.random()*123456789));this.php_js.uniqidSeed++;n=e;n+=r(parseInt((new Date).getTime()/1e3,10),8);n+=r(this.php_js.uniqidSeed,5);t&&(n+=(Math.random()*10).toFixed(8).toString());return n};e(document).on("submit","#post",function(){var t=e("#titlewrap #title");if(!t.val()){alert(acf.l10n.title);t.focus();return!1}});e(document).on("click","#submit-delete",function(){var e=confirm(acf.l10n.move_to_trash);if(!e)return!1});e(document).on("change","#acf_fields tr.field_type select",function(){var t=e(this),n=t.closest("tbody"),r=n.closest(".field"),i=r.attr("data-type"),s=r.attr("data-id"),o=t.val();r.removeClass("field_type-"+i).addClass("field_type-"+o);r.attr("data-type",o);(o=="tab"||o=="message")&&n.find('tr.field_name input[type="text"]').val("").trigger("keyup");if(n.children("tr.field_option_"+o).exists()){n.children("tr.field_option").hide().find("[name]").attr("disabled","true");n.children("tr.field_option_"+o).show().find("[name]").removeAttr("disabled")}else{var u=e('<tr"><td class="label"></td><td><div class="acf-loading"></div></td></tr>');n.children("tr.field_option").hide().find("[name]").attr("disabled","true");n.children("tr.conditional-logic").exists()?n.children("tr.conditional-logic").before(u):n.children("tr.field_save").before(u);var a={action:"acf/field_group/render_options",post_id:acf.post_id,field_key:t.attr("name"),field_type:o,nonce:acf.nonce};e.ajax({url:ajaxurl,data:a,type:"post",dataType:"html",success:function(e){if(!e){u.remove();return}u.replaceWith(e)}})}});e.fn.update_names=function(){var t=e(this),n=t.attr("data-id"),r="field_"+acf.helpers.uniqid();t.attr("data-id",r);t.attr("class",t.attr("class").replace(n,r));t.find(".field_meta td.field_key").text(r);t.find('[id*="'+n+'"]').each(function(){e(this).attr("id",e(this).attr("id").replace(n,r))});t.find('[name*="'+n+'"]').each(function(){e(this).attr("name",e(this).attr("name").replace(n,r))})};e(document).on("click","#acf_fields a.acf_edit_field",function(){var t=e(this).closest(".field");if(t.hasClass("form_open")){t.removeClass("form_open");e(document).trigger("acf/field_form-close",[t])}else{t.addClass("form_open");e(document).trigger("acf/field_form-open",[t])}t.children(".field_form_mask").animate({height:"toggle"},250)});e(document).on("click","#acf_fields a.acf_delete_field",function(){var n=e(this),r=n.closest(".field"),i=r.closest(".fields"),s=e('<div style="height:'+r.height()+'px"></div>');r.animate({left:"50px",opacity:0},250,function(){r.before(s);r.remove();if(i.children(".field").length<=1){s.remove();i.children(".no_fields_message").show()}else s.animate({height:0},250,function(){s.remove()});t()})});e(document).on("click","#acf_fields a.acf_duplicate_field",function(){var n=e(this),r=n.closest(".field"),i=null;r.find("select").each(function(){e(this).attr("data-val",e(this).val())});i=r.clone();i.update_names();i.find(".field:not(.field_key-field_clone)").each(function(){e(this).update_names()});r.after(i);i.find("select").each(function(){e(this).val(e(this).attr("data-val")).trigger("change")});r.hasClass("form_open")?r.find(".acf_edit_field").first().trigger("click"):i.find(".acf_edit_field").first().trigger("click");var s=i.find('tr.field_label:first input[type="text"]'),o=i.find('tr.field_name:first input[type="text"]');o.val("");s.val(s.val()+" ("+acf.l10n.copy+")");s.trigger("blur").trigger("keyup");t()});e(document).on("click","#acf_fields #add_field",function(){var n=e(this).closest(".table_footer").siblings(".fields"),r=n.children(".field_key-field_clone").clone();r.update_names();r.show();n.children(".field_key-field_clone").before(r);n.children(".no_fields_message").exists()&&n.children(".no_fields_message").hide();r.find("tr.field_type select").trigger("change");r.find('.field_form input[type="text"]').val("");setTimeout(function(){r.find('.field_form input[type="text"]').first().focus()},500);r.find("a.acf_edit_field").first().trigger("click");t();return!1});e(document).on("blur","#acf_fields tr.field_label input.label",function(){var t=e(this),n=t.closest(".field"),r=n.find('tr.field_name:first input[type="text"]'),i=n.attr("data-type");if(i=="tab"||i=="message"){r.val("").trigger("keyup");return}if(r.val()==""){var s=t.val(),o={"ä":"a","æ":"a","å":"a","ö":"o","ø":"o","é":"e","ë":"e","ü":"u","ó":"o","ő":"o","ú":"u","é":"e","á":"a","ű":"u","í":"i"," ":"_","'":"","\\?":""};e.each(o,function(e,t){var n=new RegExp(e,"g");s=s.replace(n,t)});s=s.toLowerCase();r.val(s);r.trigger("keyup")}});e(document).on("keyup","#acf_fields .field_form tr.field_label input.label",function(){var t=e(this).val(),n=e(this).closest(".field").find("td.field_label strong a").first().html(t)});e(document).on("keyup","#acf_fields .field_form tr.field_name input.name",function(){var t=e(this).val(),n=e(this).closest(".field").find("td.field_name").first().html(t)});e(document).on("change","#acf_fields .field_form tr.field_type select",function(){var t=e(this).val(),n=e(this).find('option[value="'+t+'"]').html();e(this).closest(".field").find("td.field_type").first().html(n)});e(document).on("mouseover","#acf_fields td.field_order",function(){var n=e(this).closest(".fields");if(n.hasClass("sortable"))return!1;n.addClass("sortable").sortable({update:function(e,n){t()},handle:"td.field_order"})});e(document).ready(function(){acf.location.init();acf.conditional_logic.init()});acf.location={$el:null,init:function(){var t=this;t.$el=e("#acf_location");t.$el.on("click",".location-add-rule",function(){t.add_rule(e(this).closest("tr"));return!1});t.$el.on("click",".location-remove-rule",function(){t.remove_rule(e(this).closest("tr"));return!1});t.$el.on("click",".location-add-group",function(){t.add_group();return!1});t.$el.on("change",".param select",function(){var t=e(this).closest("tr"),n=t.attr("data-id"),r=t.closest(".location-group"),i=r.attr("data-id"),s={action:"acf/field_group/render_location",nonce:acf.nonce,rule_id:n,group_id:i,value:"",param:e(this).val()},o=e('<div class="acf-loading"></div>');t.find("td.value").html(o);e.ajax({url:acf.ajaxurl,data:s,type:"post",dataType:"html",success:function(e){o.replaceWith(e)}})})},add_rule:function(t){var n=t.clone(),r=n.attr("data-id"),i=acf.helpers.uniqid();n.find("[name]").each(function(){e(this).attr("name",e(this).attr("name").replace(r,i));e(this).attr("id",e(this).attr("id").replace(r,i))});n.attr("data-id",i);t.after(n);return!1},remove_rule:function(e){var t=e.siblings("tr").length;t==0?this.remove_group(e.closest(".location-group")):e.remove()},add_group:function(){var t=this.$el.find(".location-group:last"),n=t.clone(),r=n.attr("data-id"),i=acf.helpers.uniqid();n.find("[name]").each(function(){e(this).attr("name",e(this).attr("name").replace(r,i));e(this).attr("id",e(this).attr("id").replace(r,i))});n.attr("data-id",i);n.find("h4").text(acf.l10n.or);n.find("tr:not(:first)").remove();t.after(n)},remove_group:function(e){e.remove()}};e(document).ready(function(){e("#submitdiv #publish").attr("class","acf-button large");e("#submitdiv a.submitdelete").attr("class","delete-field-group").attr("id","submit-delete");var t=e("#hide-on-screen ul.acf-checkbox-list"),n=e('<li><label><input type="checkbox" value="" name="" >'+acf.l10n.hide_show_all+"</label></li>");t.find("input:not(:checked)").length==0&&n.find("input").attr("checked","checked");n.on("change","input",function(){var n=e(this).is(":checked");t.find("input").attr("checked",n)});t.prepend(n)});e(document).on("change",'#adv-settings input[name="show-field_key"]',function(){e(this).val()=="1"?e("#acf_fields table.acf").addClass("show-field_key"):e("#acf_fields table.acf").removeClass("show-field_key")});acf.helpers.create_field=function(t){var n={type:"text",classname:"",name:"",value:""};t=e.extend(!0,n,t);var r="";if(t.type=="text")r+='<input class="text '+t.classname+'" type="text" id="'+t.name+'" name="'+t.name+'" value="'+t.value+'" />';else if(t.type=="select"){var i={};e.each(t.choices,function(e,t){t.group===undefined&&(t.group=0);i[t.group]===undefined&&(i[t.group]=[]);i[t.group].push(t)});r+='<select class="select '+t.classname+'" id="'+t.name+'" name="'+t.name+'">';e.each(i,function(n,i){n!=0&&(r+='<optgroup label="'+n+'">');e.each(i,function(e,n){var i="";n.value==t.value&&(i='selected="selected"');r+="<option "+i+' value="'+n.value+'">'+n.label+"</option>"});n!=0&&(r+="</optgroup>")});r+="</select>"}r=e(r);return r};acf.conditional_logic={triggers:null,init:function(){var t=this;e(document).on("acf/field_form-open",function(e,n){t.render(n)});e(document).on("change","#acf_fields tr.field_label input.label",function(){e("#acf_fields .field.form_open").each(function(){t.render(e(this))})});e(document).on("change",'tr.conditional-logic input[type="radio"]',function(n){n.preventDefault();t.change_toggle(e(this))});e(document).on("change","select.conditional-logic-field",function(n){n.preventDefault();t.change_trigger(e(this))});e(document).on("click","tr.conditional-logic .acf-button-add",function(n){n.preventDefault();t.add(e(this).closest("tr"))});e(document).on("click","tr.conditional-logic .acf-button-remove",function(n){n.preventDefault();t.remove(e(this).closest("tr"))})},render:function(t){var n=this,r=[],i=t.attr("data-id"),s=t.parents(".fields"),o=t.find("> .field_form_mask > .field_form > table > tbody > tr.conditional-logic");e.each(s,function(t){var n=t==0?acf.l10n.sibling_fields:acf.l10n.parent_fields;e(this).children(".field").each(function(){var t=e(this),s=t.attr("data-id"),o=t.attr("data-type"),u=t.find("tr.field_label input").val();if(s=="field_clone")return;if(s==i)return;(o=="select"||o=="checkbox"||o=="true_false"||o=="radio")&&r.push({value:s,label:u,group:n})})});r.length==0&&r.push({value:"null",label:acf.l10n.no_fields});o.find(".conditional-logic-field").each(function(){var t=e(this).val(),n=e(this).attr("name"),i=acf.helpers.create_field({type:"select",classname:"conditional-logic-field",name:n,value:t,choices:r});e(this).replaceWith(i);i.trigger("change")})},change_toggle:function(e){var t=e.val(),n=e.closest("tr.conditional-logic");t=="1"?n.find(".contional-logic-rules-wrapper").show():n.find(".contional-logic-rules-wrapper").hide()},change_trigger:function(t){var n=t.val(),r=e(".field_key-"+n),i=r.attr("data-type"),s=t.closest("tr").find(".conditional-logic-value"),o=[];if(i=="true_false")o=[{value:1,label:acf.l10n.checked}];else if(i=="select"||i=="checkbox"||i=="radio"){var u=r.find(".field_option-choices").val().split("\n");if(u)for(var a=0;a<u.length;a++){var f=u[a].split(":"),l=f[0];f[1]&&(l=f[1]);o.push({value:e.trim(f[0]),label:e.trim(l)})}}var t=acf.helpers.create_field({type:"select",classname:"conditional-logic-value",name:s.attr("name"),value:s.val(),choices:o});s.replaceWith(t);t.trigger("change")},add:function(t){var n=t.clone(),r=parseFloat(t.attr("data-i")),i=acf.helpers.uniqid();n.find("[name]").each(function(){var t="[conditional_logic][rules]["+r+"]",n="[conditional_logic][rules]["+i+"]";e(this).attr("name",e(this).attr("name").replace(t,n));e(this).attr("id",e(this).attr("id").replace(t,n))});n.attr("data-i",i);t.after(n);t.closest("table").removeClass("remove-disabled")},remove:function(e){var t=e.closest("table");if(t.hasClass("remove-disabled"))return!1;e.remove();t.find("tr").length<=1&&t.addClass("remove-disabled")}};e(document).on("change",".radio-option-other_choice input",function(){var t=e(this),n=t.closest("td");if(t.is(":checked"))n.find(".radio-option-save_other_choice").show();else{n.find(".radio-option-save_other_choice").hide();n.find(".radio-option-save_other_choice input").removeAttr("checked")}})})(jQuery);
js/input/_listener.js DELETED
File without changes
js/input/_listener.min.js DELETED
File without changes
js/input/acf.js DELETED
@@ -1,942 +0,0 @@
1
- /*
2
- * input.js
3
- *
4
- * All javascript needed for ACF to work
5
- *
6
- * @type awesome
7
- * @date 1/08/13
8
- *
9
- * @param N/A
10
- * @return N/A
11
- */
12
-
13
- var acf = {
14
-
15
- // vars
16
- ajaxurl : '',
17
- admin_url : '',
18
- wp_version : '',
19
- post_id : 0,
20
- nonce : '',
21
- l10n : null,
22
- o : null,
23
-
24
- // helper functions
25
- helpers : {
26
- get_atts : null,
27
- version_compare : null,
28
- uniqid : null,
29
- sortable : null,
30
- add_message : null,
31
- is_clone_field : null,
32
- url_to_object : null
33
- },
34
-
35
-
36
- // modules
37
- validation : null,
38
- conditional_logic : null,
39
- media : null,
40
-
41
-
42
- // fields
43
- fields : {
44
- date_picker : null,
45
- color_picker : null,
46
- Image : null,
47
- file : null,
48
- wysiwyg : null,
49
- gallery : null,
50
- relationship : null
51
- }
52
- };
53
-
54
- (function($){
55
-
56
-
57
- /*
58
- * acf.helpers.isset
59
- *
60
- * description
61
- *
62
- * @type function
63
- * @date 20/07/13
64
- *
65
- * @param {mixed} arguments
66
- * @return {boolean}
67
- */
68
-
69
- acf.helpers.isset = function(){
70
-
71
- var a = arguments,
72
- l = a.length,
73
- c = null,
74
- undef;
75
-
76
- if (l === 0) {
77
- throw new Error('Empty isset');
78
- }
79
-
80
- c = a[0];
81
-
82
- for (i = 1; i < l; i++) {
83
-
84
- if (a[i] === undef || c[ a[i] ] === undef) {
85
- return false;
86
- }
87
-
88
- c = c[ a[i] ];
89
-
90
- }
91
-
92
- return true;
93
-
94
- };
95
-
96
-
97
- /*
98
- * acf.helpers.get_atts
99
- *
100
- * description
101
- *
102
- * @type function
103
- * @date 1/06/13
104
- *
105
- * @param {el} $el
106
- * @return {object} atts
107
- */
108
-
109
- acf.helpers.get_atts = function( $el ){
110
-
111
- var atts = {};
112
-
113
- $.each( $el[0].attributes, function( index, attr ) {
114
-
115
- if( attr.name.substr(0, 5) == 'data-' )
116
- {
117
- atts[ attr.name.replace('data-', '') ] = attr.value;
118
- }
119
- });
120
-
121
- return atts;
122
-
123
- };
124
-
125
-
126
- /**
127
- * Simply compares two string version values.
128
- *
129
- * Example:
130
- * versionCompare('1.1', '1.2') => -1
131
- * versionCompare('1.1', '1.1') => 0
132
- * versionCompare('1.2', '1.1') => 1
133
- * versionCompare('2.23.3', '2.22.3') => 1
134
- *
135
- * Returns:
136
- * -1 = left is LOWER than right
137
- * 0 = they are equal
138
- * 1 = left is GREATER = right is LOWER
139
- * And FALSE if one of input versions are not valid
140
- *
141
- * @function
142
- * @param {String} left Version #1
143
- * @param {String} right Version #2
144
- * @return {Integer|Boolean}
145
- * @author Alexey Bass (albass)
146
- * @since 2011-07-14
147
- */
148
-
149
- acf.helpers.version_compare = function(left, right)
150
- {
151
- if (typeof left + typeof right != 'stringstring')
152
- return false;
153
-
154
- var a = left.split('.')
155
- , b = right.split('.')
156
- , i = 0, len = Math.max(a.length, b.length);
157
-
158
- for (; i < len; i++) {
159
- if ((a[i] && !b[i] && parseInt(a[i]) > 0) || (parseInt(a[i]) > parseInt(b[i]))) {
160
- return 1;
161
- } else if ((b[i] && !a[i] && parseInt(b[i]) > 0) || (parseInt(a[i]) < parseInt(b[i]))) {
162
- return -1;
163
- }
164
- }
165
-
166
- return 0;
167
- };
168
-
169
-
170
- /*
171
- * Helper: uniqid
172
- *
173
- * @description:
174
- * @since: 3.5.8
175
- * @created: 17/01/13
176
- */
177
-
178
- acf.helpers.uniqid = function()
179
- {
180
- var newDate = new Date;
181
- return newDate.getTime();
182
- };
183
-
184
-
185
- /*
186
- * Helper: url_to_object
187
- *
188
- * @description:
189
- * @since: 4.0.0
190
- * @created: 17/01/13
191
- */
192
-
193
- acf.helpers.url_to_object = function( url ){
194
-
195
- // vars
196
- var obj = {},
197
- pairs = url.split('&');
198
-
199
-
200
- for( i in pairs )
201
- {
202
- var split = pairs[i].split('=');
203
- obj[decodeURIComponent(split[0])] = decodeURIComponent(split[1]);
204
- }
205
-
206
- return obj;
207
-
208
- };
209
-
210
-
211
- /*
212
- * Sortable Helper
213
- *
214
- * @description: keeps widths of td's inside a tr
215
- * @since 3.5.1
216
- * @created: 10/11/12
217
- */
218
-
219
- acf.helpers.sortable = function(e, ui)
220
- {
221
- ui.children().each(function(){
222
- $(this).width($(this).width());
223
- });
224
- return ui;
225
- };
226
-
227
-
228
- /*
229
- * is_clone_field
230
- *
231
- * @description:
232
- * @since: 3.5.8
233
- * @created: 17/01/13
234
- */
235
-
236
- acf.helpers.is_clone_field = function( input )
237
- {
238
- if( input.attr('name') && input.attr('name').indexOf('[acfcloneindex]') != -1 )
239
- {
240
- return true;
241
- }
242
-
243
- return false;
244
- };
245
-
246
-
247
- /*
248
- * acf.helpers.add_message
249
- *
250
- * @description:
251
- * @since: 3.2.7
252
- * @created: 10/07/2012
253
- */
254
-
255
- acf.helpers.add_message = function( message, div ){
256
-
257
- var message = $('<div class="acf-message-wrapper"><div class="message updated"><p>' + message + '</p></div></div>');
258
-
259
- div.prepend( message );
260
-
261
- setTimeout(function(){
262
-
263
- message.animate({
264
- opacity : 0
265
- }, 250, function(){
266
- message.remove();
267
- });
268
-
269
- }, 1500);
270
-
271
- };
272
-
273
-
274
- /*
275
- * Exists
276
- *
277
- * @description: returns true / false
278
- * @created: 1/03/2011
279
- */
280
-
281
- $.fn.exists = function()
282
- {
283
- return $(this).length>0;
284
- };
285
-
286
-
287
- /*
288
- * 3.5 Media
289
- *
290
- * @description:
291
- * @since: 3.5.7
292
- * @created: 16/01/13
293
- */
294
-
295
- acf.media = {
296
-
297
- div : null,
298
- frame : null,
299
- render_timout : null,
300
-
301
- clear_frame : function(){
302
-
303
- // validate
304
- if( !this.frame )
305
- {
306
- return;
307
- }
308
-
309
-
310
- // detach
311
- this.frame.detach();
312
- this.frame.dispose();
313
-
314
-
315
- // reset var
316
- this.frame = null;
317
-
318
- },
319
- type : function(){
320
-
321
- // default
322
- var type = 'thickbox';
323
-
324
-
325
- // if wp exists
326
- if( typeof wp !== 'undefined' )
327
- {
328
- type = 'backbone';
329
- }
330
-
331
-
332
- // return
333
- return type;
334
-
335
- },
336
- init : function(){
337
-
338
- // validate
339
- if( this.type() !== 'backbone' )
340
- {
341
- return false;
342
- }
343
-
344
-
345
- // validate prototype
346
- if( ! acf.helpers.isset(wp, 'media', 'view', 'AttachmentCompat', 'prototype') )
347
- {
348
- return false;
349
- }
350
-
351
-
352
- // vars
353
- var _prototype = wp.media.view.AttachmentCompat.prototype;
354
-
355
-
356
- // orig
357
- _prototype.orig_render = _prototype.render;
358
- _prototype.orig_dispose = _prototype.dispose;
359
-
360
-
361
- // update class
362
- _prototype.className = 'compat-item acf_postbox no_box';
363
-
364
-
365
- // modify render
366
- _prototype.render = function() {
367
-
368
- // reference
369
- var _this = this;
370
-
371
-
372
- // validate
373
- if( _this.ignore_render )
374
- {
375
- return this;
376
- }
377
-
378
-
379
- // run the old render function
380
- this.orig_render();
381
-
382
-
383
- // add button
384
- setTimeout(function(){
385
-
386
- // vars
387
- var $media_model = _this.$el.closest('.media-modal');
388
-
389
-
390
- // is this an edit only modal?
391
- if( $media_model.hasClass('acf-media-modal') )
392
- {
393
- return;
394
- }
395
-
396
-
397
- // does button already exist?
398
- if( $media_model.find('.media-frame-router .acf-expand-details').exists() )
399
- {
400
- return;
401
- }
402
-
403
-
404
- // create button
405
- var button = $([
406
- '<a href="#" class="acf-expand-details">',
407
- '<span class="icon"></span>',
408
- '<span class="is-closed">' + acf.l10n.core.expand_details + '</span>',
409
- '<span class="is-open">' + acf.l10n.core.collapse_details + '</span>',
410
- '</a>'
411
- ].join(''));
412
-
413
-
414
- // add events
415
- button.on('click', function( e ){
416
-
417
- e.preventDefault();
418
-
419
- if( $media_model.hasClass('acf-expanded') )
420
- {
421
- $media_model.removeClass('acf-expanded');
422
- }
423
- else
424
- {
425
- $media_model.addClass('acf-expanded');
426
- }
427
-
428
- });
429
-
430
-
431
- // append
432
- $media_model.find('.media-frame-router').append( button );
433
-
434
-
435
- }, 0);
436
-
437
-
438
- // setup fields
439
- // The clearTimout is needed to prevent many setup functions from running at the same time
440
- clearTimeout( acf.media.render_timout );
441
- acf.media.render_timout = setTimeout(function(){
442
-
443
- $(document).trigger( 'acf/setup_fields', [ _this.$el ] );
444
-
445
- }, 50);
446
-
447
-
448
- // return based on the origional render function
449
- return this;
450
- };
451
-
452
-
453
- // modify dispose
454
- _prototype.dispose = function() {
455
-
456
- // remove
457
- $(document).trigger('acf/remove_fields', [ this.$el ]);
458
-
459
-
460
- // run the old render function
461
- this.orig_dispose();
462
-
463
- };
464
-
465
-
466
- // override save
467
- _prototype.save = function( event ) {
468
-
469
- var data = {},
470
- names = {};
471
-
472
- if ( event )
473
- event.preventDefault();
474
-
475
-
476
- _.each( this.$el.serializeArray(), function( pair ) {
477
-
478
- // initiate name
479
- if( pair.name.slice(-2) === '[]' )
480
- {
481
- // remove []
482
- pair.name = pair.name.replace('[]', '');
483
-
484
-
485
- // initiate counter
486
- if( typeof names[ pair.name ] === 'undefined'){
487
-
488
- names[ pair.name ] = -1;
489
- //console.log( names[ pair.name ] );
490
-
491
- }
492
-
493
-
494
- names[ pair.name ]++
495
-
496
- pair.name += '[' + names[ pair.name ] +']';
497
-
498
-
499
- }
500
-
501
- data[ pair.name ] = pair.value;
502
- });
503
-
504
- this.ignore_render = true;
505
- this.model.saveCompat( data );
506
-
507
- };
508
- }
509
- };
510
-
511
-
512
- /*
513
- * Conditional Logic Calculate
514
- *
515
- * @description:
516
- * @since 3.5.1
517
- * @created: 15/10/12
518
- */
519
-
520
- acf.conditional_logic = {
521
-
522
- items : [],
523
-
524
- init : function(){
525
-
526
- // reference
527
- var _this = this;
528
-
529
-
530
- // events
531
- $(document).on('change', '.field input, .field textarea, .field select', function(){
532
-
533
- // preview hack
534
- if( $('#acf-has-changed').exists() )
535
- {
536
- $('#acf-has-changed').val(1);
537
- }
538
-
539
- _this.change( $(this) );
540
-
541
- });
542
-
543
-
544
- $(document).on('acf/setup_fields', function(e, el){
545
-
546
- //console.log('acf/setup_fields calling acf.conditional_logic.refresh()');
547
- _this.refresh( $(el) );
548
-
549
- });
550
-
551
- //console.log('acf.conditional_logic.init() calling acf.conditional_logic.refresh()');
552
- _this.refresh();
553
-
554
- },
555
- change : function( $el ){
556
-
557
- //console.log('change %o', $el);
558
- // reference
559
- var _this = this;
560
-
561
-
562
- // vars
563
- var $field = $el.closest('.field'),
564
- key = $field.attr('data-field_key');
565
-
566
-
567
- // loop through items and find rules where this field key is a trigger
568
- $.each(this.items, function( k, item ){
569
-
570
- $.each(item.rules, function( k2, rule ){
571
-
572
- // compare rule against the changed $field
573
- if( rule.field == key )
574
- {
575
- _this.refresh_field( item );
576
- }
577
-
578
- });
579
-
580
- });
581
-
582
- },
583
-
584
- refresh_field : function( item ){
585
-
586
- //console.log( 'refresh_field: %o ', item );
587
- // reference
588
- var _this = this;
589
-
590
-
591
- // vars
592
- var $targets = $('.field_key-' + item.field);
593
-
594
-
595
- // may be multiple targets (sub fields)
596
- $targets.each(function(){
597
-
598
- //console.log('target %o', $(this));
599
-
600
- // vars
601
- var show = true;
602
-
603
-
604
- // if 'any' was selected, start of as false and any match will result in show = true
605
- if( item.allorany == 'any' )
606
- {
607
- show = false;
608
- }
609
-
610
-
611
- // vars
612
- var $target = $(this),
613
- hide_all = true;
614
-
615
-
616
- // loop through rules
617
- $.each(item.rules, function( k2, rule ){
618
-
619
- // vars
620
- var $toggle = $('.field_key-' + rule.field);
621
-
622
-
623
- // are any of $toggle a sub field?
624
- if( $toggle.hasClass('sub_field') )
625
- {
626
- // toggle may be a sibling sub field.
627
- // if so ,show an empty td but keep the column
628
- $toggle = $target.siblings('.field_key-' + rule.field);
629
- hide_all = false;
630
-
631
-
632
- // if no toggle was found, we need to look at parent sub fields.
633
- // if so, hide the entire column
634
- if( ! $toggle.exists() )
635
- {
636
- // loop through all the parents that could contain sub fields
637
- $target.parents('tr').each(function(){
638
-
639
- // attempt to update $toggle to this parent sub field
640
- $toggle = $(this).find('.field_key-' + rule.field)
641
-
642
- // if the parent sub field actuallly exists, great! Stop the loop
643
- if( $toggle.exists() )
644
- {
645
- return false;
646
- }
647
-
648
- });
649
-
650
- hide_all = true;
651
- }
652
-
653
- }
654
-
655
-
656
- // if this sub field is within a flexible content layout, hide the entire column because
657
- // there will never be another row added to this table
658
- var parent = $target.parent('tr').parent().parent('table').parent('.layout');
659
- if( parent.exists() )
660
- {
661
- hide_all = true;
662
-
663
- if( $target.is('th') && $toggle.is('th') )
664
- {
665
- $toggle = $target.closest('.layout').find('td.field_key-' + rule.field);
666
- }
667
-
668
- }
669
-
670
- // if this sub field is within a repeater field which has a max row of 1, hide the entire column because
671
- // there will never be another row added to this table
672
- var parent = $target.parent('tr').parent().parent('table').parent('.repeater');
673
- if( parent.exists() && parent.attr('data-max_rows') == '1' )
674
- {
675
- hide_all = true;
676
-
677
- if( $target.is('th') && $toggle.is('th') )
678
- {
679
- $toggle = $target.closest('table').find('td.field_key-' + rule.field);
680
- }
681
-
682
- }
683
-
684
-
685
- var calculate = _this.calculate( rule, $toggle, $target );
686
-
687
- if( item.allorany == 'all' )
688
- {
689
- if( calculate == false )
690
- {
691
- show = false;
692
-
693
- // end loop
694
- return false;
695
- }
696
- }
697
- else
698
- {
699
- if( calculate == true )
700
- {
701
- show = true;
702
-
703
- // end loop
704
- return false;
705
- }
706
- }
707
-
708
- });
709
- // $.each(item.rules, function( k2, rule ){
710
-
711
-
712
- // clear classes
713
- $target.removeClass('acf-conditional_logic-hide acf-conditional_logic-show acf-show-blank');
714
-
715
-
716
- // hide / show field
717
- if( show )
718
- {
719
- // remove "disabled"
720
- $target.find('input, textarea, select').removeAttr('disabled');
721
-
722
- $target.addClass('acf-conditional_logic-show');
723
-
724
- // hook
725
- $(document).trigger('acf/conditional_logic/show', [ $target, item ]);
726
-
727
- }
728
- else
729
- {
730
- // add "disabled"
731
- $target.find('input, textarea, select').attr('disabled', 'disabled');
732
-
733
- $target.addClass('acf-conditional_logic-hide');
734
-
735
- if( !hide_all )
736
- {
737
- $target.addClass('acf-show-blank');
738
- }
739
-
740
- // hook
741
- $(document).trigger('acf/conditional_logic/hide', [ $target, item ]);
742
- }
743
-
744
-
745
- });
746
-
747
- },
748
-
749
- refresh : function( $el ){
750
-
751
- // defaults
752
- $el = $el || $('body');
753
-
754
-
755
- // reference
756
- var _this = this;
757
-
758
-
759
- // loop through items and find rules where this field key is a trigger
760
- $.each(this.items, function( k, item ){
761
-
762
- $.each(item.rules, function( k2, rule ){
763
-
764
- // is this field within the $el
765
- // this will increase performance by ignoring conditional logic outside of this newly appended element ($el)
766
- if( ! $el.find('.field[data-field_key="' + item.field + '"]').exists() )
767
- {
768
- return;
769
- }
770
-
771
- _this.refresh_field( item );
772
-
773
- });
774
-
775
- });
776
-
777
- },
778
-
779
- calculate : function( rule, $toggle, $target ){
780
-
781
- // vars
782
- var r = false;
783
-
784
-
785
- // compare values
786
- if( $toggle.hasClass('field_type-true_false') || $toggle.hasClass('field_type-checkbox') || $toggle.hasClass('field_type-radio') )
787
- {
788
- var exists = $toggle.find('input[value="' + rule.value + '"]:checked').exists();
789
-
790
-
791
- if( rule.operator == "==" )
792
- {
793
- if( exists )
794
- {
795
- r = true;
796
- }
797
- }
798
- else
799
- {
800
- if( ! exists )
801
- {
802
- r = true;
803
- }
804
- }
805
-
806
- }
807
- else
808
- {
809
- // get val and make sure it is an array
810
- var val = $toggle.find('input, textarea, select').last().val();
811
-
812
- if( ! $.isArray(val) )
813
- {
814
- val = [ val ];
815
- }
816
-
817
-
818
- if( rule.operator == "==" )
819
- {
820
- if( $.inArray(rule.value, val) > -1 )
821
- {
822
- r = true;
823
- }
824
- }
825
- else
826
- {
827
- if( $.inArray(rule.value, val) < 0 )
828
- {
829
- r = true;
830
- }
831
- }
832
-
833
- }
834
-
835
-
836
- // return
837
- return r;
838
-
839
- }
840
-
841
- };
842
-
843
-
844
-
845
-
846
-
847
- /*
848
- * Document Ready
849
- *
850
- * @description:
851
- * @since: 3.5.8
852
- * @created: 17/01/13
853
- */
854
-
855
- $(document).ready(function(){
856
-
857
-
858
- // conditional logic
859
- acf.conditional_logic.init();
860
-
861
-
862
- // fix for older options page add-on
863
- $('.acf_postbox > .inside > .options').each(function(){
864
-
865
- $(this).closest('.acf_postbox').addClass( $(this).attr('data-layout') );
866
-
867
- });
868
-
869
-
870
- // Remove 'field_123' from native custom field metabox
871
- $('#metakeyselect option[value^="field_"]').remove();
872
-
873
-
874
- });
875
-
876
-
877
- /*
878
- * window load
879
- *
880
- * @description:
881
- * @since: 3.5.5
882
- * @created: 22/12/12
883
- */
884
-
885
- $(window).load(function(){
886
-
887
- // init
888
- acf.media.init();
889
-
890
-
891
- setTimeout(function(){
892
-
893
- // Hack for CPT without a content editor
894
- try
895
- {
896
- // post_id may be string (user_1) and therefore, the uploaded image cannot be attached to the post
897
- if( $.isNumeric(acf.o.post_id) )
898
- {
899
- wp.media.view.settings.post.id = acf.o.post_id;
900
- }
901
-
902
- }
903
- catch(e)
904
- {
905
- // one of the objects was 'undefined'...
906
- }
907
-
908
-
909
- // setup fields
910
- $(document).trigger('acf/setup_fields', [ $('#poststuff') ]);
911
-
912
- }, 10);
913
-
914
- });
915
-
916
-
917
- /*
918
- * Gallery field Add-on Fix
919
- *
920
- * Gallery field v1.0.0 required some data in the acf object.
921
- * Now not required, but older versions of gallery field need this.
922
- *
923
- * @type object
924
- * @date 1/08/13
925
- *
926
- * @param N/A
927
- * @return N/A
928
- */
929
-
930
- acf.fields.gallery = {
931
- add : function(){},
932
- edit : function(){},
933
- update_count : function(){},
934
- hide_selected_items : function(){},
935
- text : {
936
- title_add : "Select Images"
937
- }
938
- };
939
-
940
-
941
-
942
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/ajax.js DELETED
@@ -1,325 +0,0 @@
1
- (function($){
2
-
3
-
4
- /*
5
- * acf.screen
6
- *
7
- * Data used by AJAX to hide / show field groups
8
- *
9
- * @type object
10
- * @date 1/03/2011
11
- *
12
- * @param N/A
13
- * @return N/A
14
- */
15
-
16
- acf.screen = {
17
- action : 'acf/location/match_field_groups_ajax',
18
- post_id : 0,
19
- page_template : 0,
20
- page_parent : 0,
21
- page_type : 0,
22
- post_category : 0,
23
- post_format : 0,
24
- taxonomy : 0,
25
- lang : 0,
26
- nonce : 0
27
- };
28
-
29
-
30
- /*
31
- * Document Ready
32
- *
33
- * Updates acf.screen with more data
34
- *
35
- * @type function
36
- * @date 1/03/2011
37
- *
38
- * @param N/A
39
- * @return N/A
40
- */
41
-
42
- $(document).ready(function(){
43
-
44
-
45
- // update post_id
46
- acf.screen.post_id = acf.o.post_id;
47
- acf.screen.nonce = acf.o.nonce;
48
-
49
-
50
- // MPML
51
- if( $('#icl-als-first').length > 0 )
52
- {
53
- var href = $('#icl-als-first').children('a').attr('href'),
54
- regex = new RegExp( "lang=([^&#]*)" ),
55
- results = regex.exec( href );
56
-
57
- // lang
58
- acf.screen.lang = results[1];
59
-
60
- }
61
-
62
- });
63
-
64
-
65
- /*
66
- * acf/update_field_groups
67
- *
68
- * finds the new id's for metaboxes and show's hides metaboxes
69
- *
70
- * @type event
71
- * @date 1/03/2011
72
- *
73
- * @param N/A
74
- * @return N/A
75
- */
76
-
77
- $(document).on('acf/update_field_groups', function(){
78
-
79
- // Only for a post.
80
- // This is an attempt to stop the action running on the options page add-on.
81
- if( ! acf.screen.post_id || ! $.isNumeric(acf.screen.post_id) )
82
- {
83
- return false;
84
- }
85
-
86
-
87
- $.ajax({
88
- url: ajaxurl,
89
- data: acf.screen,
90
- type: 'post',
91
- dataType: 'json',
92
- success: function(result){
93
-
94
- // validate
95
- if( !result )
96
- {
97
- return false;
98
- }
99
-
100
-
101
- // hide all metaboxes
102
- $('.acf_postbox').addClass('acf-hidden');
103
- $('.acf_postbox-toggle').addClass('acf-hidden');
104
-
105
-
106
- // dont bother loading style or html for inputs
107
- if( result.length == 0 )
108
- {
109
- return false;
110
- }
111
-
112
-
113
- // show the new postboxes
114
- $.each(result, function(k, v) {
115
-
116
-
117
- // vars
118
- var $el = $('#acf_' + v),
119
- $toggle = $('#adv-settings .acf_postbox-toggle[for="acf_' + v + '-hide"]');
120
-
121
-
122
- // classes
123
- $el.removeClass('acf-hidden hide-if-js');
124
- $toggle.removeClass('acf-hidden');
125
- $toggle.find('input[type="checkbox"]').attr('checked', 'checked');
126
-
127
-
128
- // load fields if needed
129
- $el.find('.acf-replace-with-fields').each(function(){
130
-
131
- var $replace = $(this);
132
-
133
- $.ajax({
134
- url : ajaxurl,
135
- data : {
136
- action : 'acf/post/render_fields',
137
- acf_id : v,
138
- post_id : acf.o.post_id,
139
- nonce : acf.o.nonce
140
- },
141
- type : 'post',
142
- dataType : 'html',
143
- success : function( html ){
144
-
145
- $replace.replaceWith( html );
146
-
147
- $(document).trigger('acf/setup_fields', $el);
148
-
149
- }
150
- });
151
-
152
- });
153
- });
154
-
155
-
156
- // load style
157
- $.ajax({
158
- url : ajaxurl,
159
- data : {
160
- action : 'acf/post/get_style',
161
- acf_id : result[0],
162
- nonce : acf.o.nonce
163
- },
164
- type : 'post',
165
- dataType : 'html',
166
- success : function( result ){
167
-
168
- $('#acf_style').html( result );
169
-
170
- }
171
- });
172
-
173
-
174
-
175
- }
176
- });
177
- });
178
-
179
-
180
- /*
181
- * Events
182
- *
183
- * Updates acf.screen with more data and triggers the update event
184
- *
185
- * @type function
186
- * @date 1/03/2011
187
- *
188
- * @param N/A
189
- * @return N/A
190
- */
191
-
192
- $(document).on('change', '#page_template', function(){
193
-
194
- acf.screen.page_template = $(this).val();
195
-
196
- $(document).trigger('acf/update_field_groups');
197
-
198
- });
199
-
200
-
201
- $(document).on('change', '#parent_id', function(){
202
-
203
- var val = $(this).val();
204
-
205
-
206
- // set page_type / page_parent
207
- if( val != "" )
208
- {
209
- acf.screen.page_type = 'child';
210
- acf.screen.page_parent = val;
211
- }
212
- else
213
- {
214
- acf.screen.page_type = 'parent';
215
- acf.screen.page_parent = 0;
216
- }
217
-
218
-
219
- $(document).trigger('acf/update_field_groups');
220
-
221
- });
222
-
223
-
224
- $(document).on('change', '#post-formats-select input[type="radio"]', function(){
225
-
226
- var val = $(this).val();
227
-
228
- if( val == '0' )
229
- {
230
- val = 'standard';
231
- }
232
-
233
- acf.screen.post_format = val;
234
-
235
- $(document).trigger('acf/update_field_groups');
236
-
237
- });
238
-
239
-
240
- function _sync_taxonomy_terms() {
241
-
242
- // vars
243
- var values = [];
244
-
245
-
246
- $('.categorychecklist input:checked, .acf-taxonomy-field input:checked, .acf-taxonomy-field option:selected').each(function(){
247
-
248
- // validate
249
- if( $(this).is(':hidden') || $(this).is(':disabled') )
250
- {
251
- return;
252
- }
253
-
254
-
255
- // validate media popup
256
- if( $(this).closest('.media-frame').exists() )
257
- {
258
- return;
259
- }
260
-
261
-
262
- // validate acf
263
- if( $(this).closest('.acf-taxonomy-field').exists() )
264
- {
265
- if( $(this).closest('.acf-taxonomy-field').attr('data-load_save') == '0' )
266
- {
267
- return;
268
- }
269
- }
270
-
271
-
272
- // append
273
- if( values.indexOf( $(this).val() ) === -1 )
274
- {
275
- values.push( $(this).val() );
276
- }
277
-
278
- });
279
-
280
-
281
- // update screen
282
- acf.screen.post_category = values;
283
- acf.screen.taxonomy = values;
284
-
285
-
286
- // trigger change
287
- $(document).trigger('acf/update_field_groups');
288
-
289
- }
290
-
291
-
292
- $(document).on('change', '.categorychecklist input, .acf-taxonomy-field input, .acf-taxonomy-field select', function(){
293
-
294
- // a taxonomy field may trigger this change event, however, the value selected is not
295
- // actually a term relatinoship, it is meta data
296
- if( $(this).closest('.acf-taxonomy-field').exists() )
297
- {
298
- if( $(this).closest('.acf-taxonomy-field').attr('data-save') == '0' )
299
- {
300
- return;
301
- }
302
- }
303
-
304
-
305
- // this may be triggered from editing an imgae in a popup. Popup does not support correct metaboxes so ignore this
306
- if( $(this).closest('.media-frame').exists() )
307
- {
308
- return;
309
- }
310
-
311
-
312
- // set timeout to fix issue with chrome which does not register the change has yet happened
313
- setTimeout(function(){
314
-
315
- _sync_taxonomy_terms();
316
-
317
- }, 1);
318
-
319
-
320
- });
321
-
322
-
323
-
324
-
325
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/color-picker.js DELETED
@@ -1,79 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * Color Picker
5
- *
6
- * jQuery functionality for this field type
7
- *
8
- * @type object
9
- * @date 20/07/13
10
- *
11
- * @param N/A
12
- * @return N/A
13
- */
14
-
15
- var _cp = acf.fields.color_picker = {
16
-
17
- $el : null,
18
- $input : null,
19
-
20
- set : function( o ){
21
-
22
- // merge in new option
23
- $.extend( this, o );
24
-
25
-
26
- // find input
27
- this.$input = this.$el.find('input[type="text"]');
28
-
29
-
30
- // return this for chaining
31
- return this;
32
-
33
- },
34
- init : function(){
35
-
36
- // vars (reference)
37
- var $input = this.$input;
38
-
39
-
40
- // is clone field?
41
- if( acf.helpers.is_clone_field($input) )
42
- {
43
- return;
44
- }
45
-
46
-
47
- this.$input.wpColorPicker();
48
-
49
-
50
-
51
- }
52
- };
53
-
54
-
55
- /*
56
- * acf/setup_fields
57
- *
58
- * run init function on all elements for this field
59
- *
60
- * @type event
61
- * @date 20/07/13
62
- *
63
- * @param {object} e event object
64
- * @param {object} el DOM object which may contain new ACF elements
65
- * @return N/A
66
- */
67
-
68
- $(document).on('acf/setup_fields', function(e, el){
69
-
70
- $(el).find('.acf-color_picker').each(function(){
71
-
72
- _cp.set({ $el : $(this) }).init();
73
-
74
- });
75
-
76
- });
77
-
78
-
79
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/date-picker.js DELETED
@@ -1,134 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * Date Picker
5
- *
6
- * static model for this field
7
- *
8
- * @type event
9
- * @date 1/06/13
10
- *
11
- */
12
-
13
- acf.fields.date_picker = {
14
-
15
- $el : null,
16
- $input : null,
17
- $hidden : null,
18
-
19
- o : {},
20
-
21
- set : function( o ){
22
-
23
- // merge in new option
24
- $.extend( this, o );
25
-
26
-
27
- // find input
28
- this.$input = this.$el.find('input[type="text"]');
29
- this.$hidden = this.$el.find('input[type="hidden"]');
30
-
31
-
32
- // get options
33
- this.o = acf.helpers.get_atts( this.$el );
34
-
35
-
36
- // return this for chaining
37
- return this;
38
-
39
- },
40
- init : function(){
41
-
42
- // is clone field?
43
- if( acf.helpers.is_clone_field(this.$hidden) )
44
- {
45
- return;
46
- }
47
-
48
-
49
- // get and set value from alt field
50
- this.$input.val( this.$hidden.val() );
51
-
52
-
53
- // create options
54
- var options = $.extend( {}, acf.l10n.date_picker, {
55
- dateFormat : this.o.save_format,
56
- altField : this.$hidden,
57
- altFormat : this.o.save_format,
58
- changeYear : true,
59
- yearRange : "-100:+100",
60
- changeMonth : true,
61
- showButtonPanel : true,
62
- firstDay : this.o.first_day
63
- });
64
-
65
-
66
- // add date picker
67
- this.$input.addClass('active').datepicker( options );
68
-
69
-
70
- // now change the format back to how it should be.
71
- this.$input.datepicker( "option", "dateFormat", this.o.display_format );
72
-
73
-
74
- // wrap the datepicker (only if it hasn't already been wrapped)
75
- if( $('body > #ui-datepicker-div').length > 0 )
76
- {
77
- $('#ui-datepicker-div').wrap('<div class="ui-acf" />');
78
- }
79
-
80
- },
81
- blur : function(){
82
-
83
- if( !this.$input.val() )
84
- {
85
- this.$hidden.val('');
86
- }
87
-
88
- }
89
-
90
- };
91
-
92
-
93
- /*
94
- * acf/setup_fields
95
- *
96
- * run init function on all elements for this field
97
- *
98
- * @type event
99
- * @date 20/07/13
100
- *
101
- * @param {object} e event object
102
- * @param {object} el DOM object which may contain new ACF elements
103
- * @return N/A
104
- */
105
-
106
- $(document).on('acf/setup_fields', function(e, el){
107
-
108
- $(el).find('.acf-date_picker').each(function(){
109
-
110
- acf.fields.date_picker.set({ $el : $(this) }).init();
111
-
112
- });
113
-
114
- });
115
-
116
-
117
- /*
118
- * Events
119
- *
120
- * jQuery events for this field
121
- *
122
- * @type event
123
- * @date 1/06/13
124
- *
125
- */
126
-
127
- $(document).on('blur', '.acf-date_picker input[type="text"]', function( e ){
128
-
129
- acf.fields.date_picker.set({ $el : $(this).parent() }).blur();
130
-
131
- });
132
-
133
-
134
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/file.js DELETED
@@ -1,373 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * File
5
- *
6
- * static model for this field
7
- *
8
- * @type event
9
- * @date 1/06/13
10
- *
11
- */
12
-
13
-
14
- // reference
15
- var _media = acf.media;
16
-
17
-
18
- acf.fields.file = {
19
-
20
- $el : null,
21
- $input : null,
22
-
23
- o : {},
24
-
25
- set : function( o ){
26
-
27
- // merge in new option
28
- $.extend( this, o );
29
-
30
-
31
- // find input
32
- this.$input = this.$el.find('input[type="hidden"]');
33
-
34
-
35
- // get options
36
- this.o = acf.helpers.get_atts( this.$el );
37
-
38
-
39
- // multiple?
40
- this.o.multiple = this.$el.closest('.repeater').exists() ? true : false;
41
-
42
-
43
- // wp library query
44
- this.o.query = {};
45
-
46
-
47
- // library
48
- if( this.o.library == 'uploadedTo' )
49
- {
50
- this.o.query.uploadedTo = acf.o.post_id;
51
- }
52
-
53
-
54
- // return this for chaining
55
- return this;
56
-
57
- },
58
- init : function(){
59
-
60
- // is clone field?
61
- if( acf.helpers.is_clone_field(this.$input) )
62
- {
63
- return;
64
- }
65
-
66
- },
67
- add : function( file ){
68
-
69
- // this function must reference a global div variable due to the pre WP 3.5 uploader
70
- // vars
71
- var div = _media.div;
72
-
73
-
74
- // set atts
75
- div.find('.acf-file-icon').attr( 'src', file.icon );
76
- div.find('.acf-file-title').text( file.title );
77
- div.find('.acf-file-name').text( file.name ).attr( 'href', file.url );
78
- div.find('.acf-file-size').text( file.size );
79
- div.find('.acf-file-value').val( file.id ).trigger('change');
80
-
81
-
82
- // set div class
83
- div.addClass('active');
84
-
85
-
86
- // validation
87
- div.closest('.field').removeClass('error');
88
-
89
- },
90
- edit : function(){
91
-
92
- // vars
93
- var id = this.$input.val();
94
-
95
-
96
- // set global var
97
- _media.div = this.$el;
98
-
99
-
100
- // clear the frame
101
- _media.clear_frame();
102
-
103
-
104
- // create the media frame
105
- _media.frame = wp.media({
106
- title : acf.l10n.file.edit,
107
- multiple : false,
108
- button : { text : acf.l10n.file.update }
109
- });
110
-
111
-
112
- // log events
113
- /*
114
- acf.media.frame.on('all', function(e){
115
-
116
- console.log( e );
117
-
118
- });
119
- */
120
-
121
-
122
- // open
123
- _media.frame.on('open',function() {
124
-
125
- // set to browse
126
- if( _media.frame.content._mode != 'browse' )
127
- {
128
- _media.frame.content.mode('browse');
129
- }
130
-
131
-
132
- // add class
133
- _media.frame.$el.closest('.media-modal').addClass('acf-media-modal acf-expanded');
134
-
135
-
136
- // set selection
137
- var selection = _media.frame.state().get('selection'),
138
- attachment = wp.media.attachment( id );
139
-
140
-
141
- // to fetch or not to fetch
142
- if( $.isEmptyObject(attachment.changed) )
143
- {
144
- attachment.fetch();
145
- }
146
-
147
-
148
- selection.add( attachment );
149
-
150
- });
151
-
152
-
153
- // close
154
- _media.frame.on('close',function(){
155
-
156
- // remove class
157
- _media.frame.$el.closest('.media-modal').removeClass('acf-media-modal');
158
-
159
- });
160
-
161
-
162
- // Finally, open the modal
163
- acf.media.frame.open();
164
-
165
- },
166
- remove : function()
167
- {
168
-
169
- // set atts
170
- this.$el.find('.acf-file-icon').attr( 'src', '' );
171
- this.$el.find('.acf-file-title').text( '' );
172
- this.$el.find('.acf-file-name').text( '' ).attr( 'href', '' );
173
- this.$el.find('.acf-file-size').text( '' );
174
- this.$el.find('.acf-file-value').val( '' ).trigger('change');
175
-
176
-
177
- // remove class
178
- this.$el.removeClass('active');
179
-
180
- },
181
- popup : function()
182
- {
183
- // reference
184
- var t = this;
185
-
186
-
187
- // set global var
188
- _media.div = this.$el;
189
-
190
-
191
- // clear the frame
192
- _media.clear_frame();
193
-
194
-
195
- // Create the media frame
196
- _media.frame = wp.media({
197
- states : [
198
- new wp.media.controller.Library({
199
- library : wp.media.query( t.o.query ),
200
- multiple : t.o.multiple,
201
- title : acf.l10n.file.select,
202
- priority : 20,
203
- filterable : 'all'
204
- })
205
- ]
206
- });
207
-
208
-
209
- // customize model / view
210
- acf.media.frame.on('content:activate', function(){
211
-
212
- // vars
213
- var toolbar = null,
214
- filters = null;
215
-
216
-
217
- // populate above vars making sure to allow for failure
218
- try
219
- {
220
- toolbar = acf.media.frame.content.get().toolbar;
221
- filters = toolbar.get('filters');
222
- }
223
- catch(e)
224
- {
225
- // one of the objects was 'undefined'... perhaps the frame open is Upload Files
226
- //console.log( e );
227
- }
228
-
229
-
230
- // validate
231
- if( !filters )
232
- {
233
- return false;
234
- }
235
-
236
-
237
- // no need for 'uploaded' filter
238
- if( t.o.library == 'uploadedTo' )
239
- {
240
- filters.$el.find('option[value="uploaded"]').remove();
241
- filters.$el.after('<span>' + acf.l10n.file.uploadedTo + '</span>')
242
-
243
- $.each( filters.filters, function( k, v ){
244
-
245
- v.props.uploadedTo = acf.o.post_id;
246
-
247
- });
248
- }
249
-
250
- });
251
-
252
-
253
- // When an image is selected, run a callback.
254
- acf.media.frame.on( 'select', function() {
255
-
256
- // get selected images
257
- selection = _media.frame.state().get('selection');
258
-
259
- if( selection )
260
- {
261
- var i = 0;
262
-
263
- selection.each(function(attachment){
264
-
265
- // counter
266
- i++;
267
-
268
-
269
- // select / add another file field?
270
- if( i > 1 )
271
- {
272
- // vars
273
- var $td = _media.div.closest('td'),
274
- $tr = $td.closest('.row'),
275
- $repeater = $tr.closest('.repeater'),
276
- key = $td.attr('data-field_key'),
277
- selector = 'td .acf-file-uploader:first';
278
-
279
-
280
- // key only exists for repeater v1.0.1 +
281
- if( key )
282
- {
283
- selector = 'td[data-field_key="' + key + '"] .acf-file-uploader';
284
- }
285
-
286
-
287
- // add row?
288
- if( ! $tr.next('.row').exists() )
289
- {
290
- $repeater.find('.add-row-end').trigger('click');
291
-
292
- }
293
-
294
-
295
- // update current div
296
- _media.div = $tr.next('.row').find( selector );
297
-
298
- }
299
-
300
-
301
- // vars
302
- var file = {
303
- id : attachment.id,
304
- title : attachment.attributes.title,
305
- name : attachment.attributes.filename,
306
- url : attachment.attributes.url,
307
- icon : attachment.attributes.icon,
308
- size : attachment.attributes.filesize
309
- };
310
-
311
-
312
- // add file to field
313
- acf.fields.file.add( file );
314
-
315
-
316
- });
317
- // selection.each(function(attachment){
318
- }
319
- // if( selection )
320
-
321
- });
322
- // acf.media.frame.on( 'select', function() {
323
-
324
-
325
- // Finally, open the modal
326
- acf.media.frame.open();
327
-
328
-
329
- return false;
330
- }
331
-
332
- };
333
-
334
-
335
- /*
336
- * Events
337
- *
338
- * jQuery events for this field
339
- *
340
- * @type function
341
- * @date 1/03/2011
342
- *
343
- * @param N/A
344
- * @return N/A
345
- */
346
-
347
- $(document).on('click', '.acf-file-uploader .acf-button-edit', function( e ){
348
-
349
- e.preventDefault();
350
-
351
- acf.fields.file.set({ $el : $(this).closest('.acf-file-uploader') }).edit();
352
-
353
- });
354
-
355
- $(document).on('click', '.acf-file-uploader .acf-button-delete', function( e ){
356
-
357
- e.preventDefault();
358
-
359
- acf.fields.file.set({ $el : $(this).closest('.acf-file-uploader') }).remove();
360
-
361
- });
362
-
363
-
364
- $(document).on('click', '.acf-file-uploader .add-file', function( e ){
365
-
366
- e.preventDefault();
367
-
368
- acf.fields.file.set({ $el : $(this).closest('.acf-file-uploader') }).popup();
369
-
370
- });
371
-
372
-
373
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/google-map.js DELETED
@@ -1,539 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * Location
5
- *
6
- * static model for this field
7
- *
8
- * @type event
9
- * @date 1/06/13
10
- *
11
- */
12
-
13
- acf.fields.google_map = {
14
-
15
- $el : null,
16
- $input : null,
17
-
18
- o : {},
19
-
20
- ready : false,
21
- geocoder : false,
22
- map : false,
23
- maps : {},
24
-
25
- set : function( o ){
26
-
27
- // merge in new option
28
- $.extend( this, o );
29
-
30
-
31
- // find input
32
- this.$input = this.$el.find('.value');
33
-
34
-
35
- // get options
36
- this.o = acf.helpers.get_atts( this.$el );
37
-
38
-
39
- // get map
40
- if( this.maps[ this.o.id ] )
41
- {
42
- this.map = this.maps[ this.o.id ];
43
- }
44
-
45
-
46
- // return this for chaining
47
- return this;
48
-
49
- },
50
- init : function(){
51
-
52
- // geocode
53
- if( !this.geocoder )
54
- {
55
- this.geocoder = new google.maps.Geocoder();
56
- }
57
-
58
-
59
- // google maps is loaded and ready
60
- this.ready = true;
61
-
62
-
63
- // is clone field?
64
- if( acf.helpers.is_clone_field(this.$input) )
65
- {
66
- return;
67
- }
68
-
69
- this.render();
70
-
71
- },
72
- render : function(){
73
-
74
- // reference
75
- var _this = this,
76
- _$el = this.$el;
77
-
78
-
79
- // vars
80
- var args = {
81
- zoom : parseInt(this.o.zoom),
82
- center : new google.maps.LatLng(this.o.lat, this.o.lng),
83
- mapTypeId : google.maps.MapTypeId.ROADMAP
84
- };
85
-
86
- // create map
87
- this.map = new google.maps.Map( this.$el.find('.canvas')[0], args);
88
-
89
-
90
- // add search
91
- var autocomplete = new google.maps.places.Autocomplete( this.$el.find('.search')[0] );
92
- autocomplete.map = this.map;
93
- autocomplete.bindTo('bounds', this.map);
94
-
95
-
96
- // add dummy marker
97
- this.map.marker = new google.maps.Marker({
98
- draggable : true,
99
- raiseOnDrag : true,
100
- map : this.map,
101
- });
102
-
103
-
104
- // add references
105
- this.map.$el = this.$el;
106
-
107
-
108
- // value exists?
109
- var lat = this.$el.find('.input-lat').val(),
110
- lng = this.$el.find('.input-lng').val();
111
-
112
- if( lat && lng )
113
- {
114
- this.update( lat, lng ).center();
115
- }
116
-
117
-
118
- // events
119
- google.maps.event.addListener(autocomplete, 'place_changed', function( e ) {
120
-
121
- // reference
122
- var $el = this.map.$el;
123
-
124
-
125
- // manually update address
126
- var address = $el.find('.search').val();
127
- $el.find('.input-address').val( address );
128
- $el.find('.title h4').text( address );
129
-
130
-
131
- // vars
132
- var place = this.getPlace();
133
-
134
-
135
- // validate
136
- if( place.geometry )
137
- {
138
- var lat = place.geometry.location.lat(),
139
- lng = place.geometry.location.lng();
140
-
141
-
142
- _this.set({ $el : $el }).update( lat, lng ).center();
143
- }
144
- else
145
- {
146
- // client hit enter, manulaly get the place
147
- _this.geocoder.geocode({ 'address' : address }, function( results, status ){
148
-
149
- // validate
150
- if( status != google.maps.GeocoderStatus.OK )
151
- {
152
- console.log('Geocoder failed due to: ' + status);
153
- return;
154
- }
155
-
156
- if( !results[0] )
157
- {
158
- console.log('No results found');
159
- return;
160
- }
161
-
162
-
163
- // get place
164
- place = results[0];
165
-
166
- var lat = place.geometry.location.lat(),
167
- lng = place.geometry.location.lng();
168
-
169
-
170
- _this.set({ $el : $el }).update( lat, lng ).center();
171
-
172
- });
173
- }
174
-
175
- });
176
-
177
-
178
- google.maps.event.addListener( this.map.marker, 'dragend', function(){
179
-
180
- // reference
181
- var $el = this.map.$el;
182
-
183
-
184
- // vars
185
- var position = this.map.marker.getPosition(),
186
- lat = position.lat(),
187
- lng = position.lng();
188
-
189
- _this.set({ $el : $el }).update( lat, lng ).sync();
190
-
191
- });
192
-
193
-
194
- google.maps.event.addListener( this.map, 'click', function( e ) {
195
-
196
- // reference
197
- var $el = this.$el;
198
-
199
-
200
- // vars
201
- var lat = e.latLng.lat(),
202
- lng = e.latLng.lng();
203
-
204
-
205
- _this.set({ $el : $el }).update( lat, lng ).sync();
206
-
207
- });
208
-
209
-
210
-
211
- // add to maps
212
- this.maps[ this.o.id ] = this.map;
213
-
214
-
215
- },
216
-
217
- update : function( lat, lng ){
218
-
219
- // vars
220
- var latlng = new google.maps.LatLng( lat, lng );
221
-
222
-
223
- // update inputs
224
- this.$el.find('.input-lat').val( lat );
225
- this.$el.find('.input-lng').val( lng ).trigger('change');
226
-
227
-
228
- // update marker
229
- this.map.marker.setPosition( latlng );
230
-
231
-
232
- // show marker
233
- this.map.marker.setVisible( true );
234
-
235
-
236
- // update class
237
- this.$el.addClass('active');
238
-
239
-
240
- // validation
241
- this.$el.closest('.field').removeClass('error');
242
-
243
-
244
- // return for chaining
245
- return this;
246
- },
247
-
248
- center : function(){
249
-
250
- // vars
251
- var position = this.map.marker.getPosition(),
252
- lat = this.o.lat,
253
- lng = this.o.lng;
254
-
255
-
256
- // if marker exists, center on the marker
257
- if( position )
258
- {
259
- lat = position.lat();
260
- lng = position.lng();
261
- }
262
-
263
-
264
- var latlng = new google.maps.LatLng( lat, lng );
265
-
266
-
267
- // set center of map
268
- this.map.setCenter( latlng );
269
- },
270
-
271
- sync : function(){
272
-
273
- // reference
274
- var $el = this.$el;
275
-
276
-
277
- // vars
278
- var position = this.map.marker.getPosition(),
279
- latlng = new google.maps.LatLng( position.lat(), position.lng() );
280
-
281
-
282
- this.geocoder.geocode({ 'latLng' : latlng }, function( results, status ){
283
-
284
- // validate
285
- if( status != google.maps.GeocoderStatus.OK )
286
- {
287
- console.log('Geocoder failed due to: ' + status);
288
- return;
289
- }
290
-
291
- if( !results[0] )
292
- {
293
- console.log('No results found');
294
- return;
295
- }
296
-
297
-
298
- // get location
299
- var location = results[0];
300
-
301
-
302
- // update h4
303
- $el.find('.title h4').text( location.formatted_address );
304
-
305
-
306
- // update input
307
- $el.find('.input-address').val( location.formatted_address ).trigger('change');
308
-
309
- });
310
-
311
-
312
- // return for chaining
313
- return this;
314
- },
315
-
316
- locate : function(){
317
-
318
- // reference
319
- var _this = this,
320
- _$el = this.$el;
321
-
322
-
323
- // Try HTML5 geolocation
324
- if( ! navigator.geolocation )
325
- {
326
- alert( acf.l10n.google_map.browser_support );
327
- return this;
328
- }
329
-
330
-
331
- // show loading text
332
- _$el.find('.title h4').text(acf.l10n.google_map.locating + '...');
333
- _$el.addClass('active');
334
-
335
- navigator.geolocation.getCurrentPosition(function(position){
336
-
337
- // vars
338
- var lat = position.coords.latitude,
339
- lng = position.coords.longitude;
340
-
341
- _this.set({ $el : _$el }).update( lat, lng ).sync().center();
342
-
343
- });
344
-
345
-
346
- },
347
-
348
- clear : function(){
349
-
350
- // update class
351
- this.$el.removeClass('active');
352
-
353
-
354
- // clear search
355
- this.$el.find('.search').val('');
356
-
357
-
358
- // clear inputs
359
- this.$el.find('.input-address').val('');
360
- this.$el.find('.input-lat').val('');
361
- this.$el.find('.input-lng').val('');
362
-
363
-
364
- // hide marker
365
- this.map.marker.setVisible( false );
366
- },
367
-
368
- edit : function(){
369
-
370
- // update class
371
- this.$el.removeClass('active');
372
-
373
-
374
- // clear search
375
- var val = this.$el.find('.title h4').text();
376
-
377
-
378
- this.$el.find('.search').val( val ).focus();
379
-
380
- },
381
-
382
- refresh : function(){
383
-
384
- // trigger resize on div
385
- google.maps.event.trigger(this.map, 'resize');
386
-
387
- // center map
388
- this.center();
389
-
390
- }
391
-
392
- };
393
-
394
-
395
- /*
396
- * acf/setup_fields
397
- *
398
- * run init function on all elements for this field
399
- *
400
- * @type event
401
- * @date 20/07/13
402
- *
403
- * @param {object} e event object
404
- * @param {object} el DOM object which may contain new ACF elements
405
- * @return N/A
406
- */
407
-
408
- $(document).on('acf/setup_fields', function(e, el){
409
-
410
- // vars
411
- $fields = $(el).find('.acf-google-map');
412
-
413
-
414
- // validate
415
- if( ! $fields.exists() )
416
- {
417
- return;
418
- }
419
-
420
-
421
- // validate google
422
- if( typeof google === 'undefined' )
423
- {
424
- $.getScript('https://www.google.com/jsapi', function(){
425
-
426
- google.load('maps', '3', { other_params: 'sensor=false&libraries=places', callback: function(){
427
-
428
- $fields.each(function(){
429
-
430
- acf.fields.google_map.set({ $el : $(this) }).init();
431
-
432
- });
433
-
434
- }});
435
- });
436
-
437
- }
438
- else
439
- {
440
- google.load('maps', '3', { other_params: 'sensor=false&libraries=places', callback: function(){
441
-
442
- $fields.each(function(){
443
-
444
- acf.fields.google_map.set({ $el : $(this) }).init();
445
-
446
- });
447
-
448
- }});
449
-
450
- }
451
-
452
- });
453
-
454
-
455
- /*
456
- * Events
457
- *
458
- * jQuery events for this field
459
- *
460
- * @type function
461
- * @date 1/03/2011
462
- *
463
- * @param N/A
464
- * @return N/A
465
- */
466
-
467
- $(document).on('click', '.acf-google-map .acf-sprite-remove', function( e ){
468
-
469
- e.preventDefault();
470
-
471
- acf.fields.google_map.set({ $el : $(this).closest('.acf-google-map') }).clear();
472
-
473
- $(this).blur();
474
-
475
- });
476
-
477
-
478
- $(document).on('click', '.acf-google-map .acf-sprite-locate', function( e ){
479
-
480
- e.preventDefault();
481
-
482
- acf.fields.google_map.set({ $el : $(this).closest('.acf-google-map') }).locate();
483
-
484
- $(this).blur();
485
-
486
- });
487
-
488
- $(document).on('click', '.acf-google-map .title h4', function( e ){
489
-
490
- e.preventDefault();
491
-
492
- acf.fields.google_map.set({ $el : $(this).closest('.acf-google-map') }).edit();
493
-
494
- });
495
-
496
- $(document).on('keydown', '.acf-google-map .search', function( e ){
497
-
498
- // prevent form from submitting
499
- if( e.which == 13 )
500
- {
501
- return false;
502
- }
503
-
504
- });
505
-
506
- $(document).on('blur', '.acf-google-map .search', function( e ){
507
-
508
- // vars
509
- var $el = $(this).closest('.acf-google-map');
510
-
511
-
512
- // has a value?
513
- if( $el.find('.input-lat').val() )
514
- {
515
- $el.addClass('active');
516
- }
517
-
518
- });
519
-
520
- $(document).on('acf/fields/tab/show acf/conditional_logic/show', function( e, $field ){
521
-
522
- // validate
523
- if( ! acf.fields.google_map.ready )
524
- {
525
- return;
526
- }
527
-
528
-
529
- // validate
530
- if( $field.attr('data-field_type') == 'google_map' )
531
- {
532
- acf.fields.google_map.set({ $el : $field.find('.acf-google-map') }).refresh();
533
- }
534
-
535
- });
536
-
537
-
538
-
539
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/image.js DELETED
@@ -1,416 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * Image
5
- *
6
- * static model for this field
7
- *
8
- * @type event
9
- * @date 1/06/13
10
- *
11
- */
12
-
13
-
14
- // reference
15
- var _media = acf.media;
16
-
17
-
18
- acf.fields.image = {
19
-
20
- $el : null,
21
- $input : null,
22
-
23
- o : {},
24
-
25
- set : function( o ){
26
-
27
- // merge in new option
28
- $.extend( this, o );
29
-
30
-
31
- // find input
32
- this.$input = this.$el.find('input[type="hidden"]');
33
-
34
-
35
- // get options
36
- this.o = acf.helpers.get_atts( this.$el );
37
-
38
-
39
- // multiple?
40
- this.o.multiple = this.$el.closest('.repeater').exists() ? true : false;
41
-
42
-
43
- // wp library query
44
- this.o.query = {
45
- type : 'image'
46
- };
47
-
48
-
49
- // library
50
- if( this.o.library == 'uploadedTo' )
51
- {
52
- this.o.query.uploadedTo = acf.o.post_id;
53
- }
54
-
55
-
56
- // return this for chaining
57
- return this;
58
-
59
- },
60
- init : function(){
61
-
62
- // is clone field?
63
- if( acf.helpers.is_clone_field(this.$input) )
64
- {
65
- return;
66
- }
67
-
68
- },
69
- add : function( image ){
70
-
71
- // this function must reference a global div variable due to the pre WP 3.5 uploader
72
- // vars
73
- var div = _media.div;
74
-
75
-
76
- // set atts
77
- div.find('.acf-image-image').attr( 'src', image.url );
78
- div.find('.acf-image-value').val( image.id ).trigger('change');
79
-
80
-
81
- // set div class
82
- div.addClass('active');
83
-
84
-
85
- // validation
86
- div.closest('.field').removeClass('error');
87
-
88
- },
89
- edit : function(){
90
-
91
- // vars
92
- var id = this.$input.val();
93
-
94
-
95
- // set global var
96
- _media.div = this.$el;
97
-
98
-
99
- // clear the frame
100
- _media.clear_frame();
101
-
102
-
103
- // create the media frame
104
- _media.frame = wp.media({
105
- title : acf.l10n.image.edit,
106
- multiple : false,
107
- button : { text : acf.l10n.image.update }
108
- });
109
-
110
-
111
- // log events
112
- /*
113
- acf.media.frame.on('all', function(e){
114
-
115
- console.log( e );
116
-
117
- });
118
- */
119
-
120
-
121
- // open
122
- _media.frame.on('open',function() {
123
-
124
- // set to browse
125
- if( _media.frame.content._mode != 'browse' )
126
- {
127
- _media.frame.content.mode('browse');
128
- }
129
-
130
-
131
- // add class
132
- _media.frame.$el.closest('.media-modal').addClass('acf-media-modal acf-expanded');
133
-
134
-
135
- // set selection
136
- var selection = _media.frame.state().get('selection'),
137
- attachment = wp.media.attachment( id );
138
-
139
-
140
- // to fetch or not to fetch
141
- if( $.isEmptyObject(attachment.changed) )
142
- {
143
- attachment.fetch();
144
- }
145
-
146
-
147
- selection.add( attachment );
148
-
149
- });
150
-
151
-
152
- // close
153
- _media.frame.on('close',function(){
154
-
155
- // remove class
156
- _media.frame.$el.closest('.media-modal').removeClass('acf-media-modal');
157
-
158
- });
159
-
160
-
161
- // Finally, open the modal
162
- acf.media.frame.open();
163
-
164
- },
165
- remove : function()
166
- {
167
-
168
- // set atts
169
- this.$el.find('.acf-image-image').attr( 'src', '' );
170
- this.$el.find('.acf-image-value').val( '' ).trigger('change');
171
-
172
-
173
- // remove class
174
- this.$el.removeClass('active');
175
-
176
- },
177
- popup : function()
178
- {
179
- // reference
180
- var t = this;
181
-
182
-
183
- // set global var
184
- _media.div = this.$el;
185
-
186
-
187
- // clear the frame
188
- _media.clear_frame();
189
-
190
-
191
- // Create the media frame
192
- _media.frame = wp.media({
193
- states : [
194
- new wp.media.controller.Library({
195
- library : wp.media.query( t.o.query ),
196
- multiple : t.o.multiple,
197
- title : acf.l10n.image.select,
198
- priority : 20,
199
- filterable : 'all'
200
- })
201
- ]
202
- });
203
-
204
-
205
- /*acf.media.frame.on('all', function(e){
206
-
207
- console.log( e );
208
-
209
- });*/
210
-
211
-
212
- // customize model / view
213
- acf.media.frame.on('content:activate', function(){
214
-
215
- // vars
216
- var toolbar = null,
217
- filters = null;
218
-
219
-
220
- // populate above vars making sure to allow for failure
221
- try
222
- {
223
- toolbar = acf.media.frame.content.get().toolbar;
224
- filters = toolbar.get('filters');
225
- }
226
- catch(e)
227
- {
228
- // one of the objects was 'undefined'... perhaps the frame open is Upload Files
229
- //console.log( e );
230
- }
231
-
232
-
233
- // validate
234
- if( !filters )
235
- {
236
- return false;
237
- }
238
-
239
-
240
- // filter only images
241
- $.each( filters.filters, function( k, v ){
242
-
243
- v.props.type = 'image';
244
-
245
- });
246
-
247
-
248
- // no need for 'uploaded' filter
249
- if( t.o.library == 'uploadedTo' )
250
- {
251
- filters.$el.find('option[value="uploaded"]').remove();
252
- filters.$el.after('<span>' + acf.l10n.image.uploadedTo + '</span>')
253
-
254
- $.each( filters.filters, function( k, v ){
255
-
256
- v.props.uploadedTo = acf.o.post_id;
257
-
258
- });
259
- }
260
-
261
-
262
- // remove non image options from filter list
263
- filters.$el.find('option').each(function(){
264
-
265
- // vars
266
- var v = $(this).attr('value');
267
-
268
-
269
- // don't remove the 'uploadedTo' if the library option is 'all'
270
- if( v == 'uploaded' && t.o.library == 'all' )
271
- {
272
- return;
273
- }
274
-
275
- if( v.indexOf('image') === -1 )
276
- {
277
- $(this).remove();
278
- }
279
-
280
- });
281
-
282
-
283
- // set default filter
284
- filters.$el.val('image').trigger('change');
285
-
286
- });
287
-
288
-
289
- // When an image is selected, run a callback.
290
- acf.media.frame.on( 'select', function() {
291
-
292
- // get selected images
293
- selection = _media.frame.state().get('selection');
294
-
295
- if( selection )
296
- {
297
- var i = 0;
298
-
299
- selection.each(function(attachment){
300
-
301
- // counter
302
- i++;
303
-
304
-
305
- // select / add another image field?
306
- if( i > 1 )
307
- {
308
- // vars
309
- var $td = _media.div.closest('td'),
310
- $tr = $td.closest('.row'),
311
- $repeater = $tr.closest('.repeater'),
312
- key = $td.attr('data-field_key'),
313
- selector = 'td .acf-image-uploader:first';
314
-
315
-
316
- // key only exists for repeater v1.0.1 +
317
- if( key )
318
- {
319
- selector = 'td[data-field_key="' + key + '"] .acf-image-uploader';
320
- }
321
-
322
-
323
- // add row?
324
- if( ! $tr.next('.row').exists() )
325
- {
326
- $repeater.find('.add-row-end').trigger('click');
327
-
328
- }
329
-
330
-
331
- // update current div
332
- _media.div = $tr.next('.row').find( selector );
333
-
334
- }
335
-
336
-
337
- // vars
338
- var image = {
339
- id : attachment.id,
340
- url : attachment.attributes.url
341
- };
342
-
343
- // is preview size available?
344
- if( attachment.attributes.sizes && attachment.attributes.sizes[ t.o.preview_size ] )
345
- {
346
- image.url = attachment.attributes.sizes[ t.o.preview_size ].url;
347
- }
348
-
349
- // add image to field
350
- acf.fields.image.add( image );
351
-
352
-
353
- });
354
- // selection.each(function(attachment){
355
- }
356
- // if( selection )
357
-
358
- });
359
- // acf.media.frame.on( 'select', function() {
360
-
361
-
362
- // Finally, open the modal
363
- acf.media.frame.open();
364
-
365
-
366
- return false;
367
- },
368
-
369
- // temporary gallery fix
370
- text : {
371
- title_add : "Select Image",
372
- title_edit : "Edit Image"
373
- }
374
-
375
- };
376
-
377
-
378
- /*
379
- * Events
380
- *
381
- * jQuery events for this field
382
- *
383
- * @type function
384
- * @date 1/03/2011
385
- *
386
- * @param N/A
387
- * @return N/A
388
- */
389
-
390
- $(document).on('click', '.acf-image-uploader .acf-button-edit', function( e ){
391
-
392
- e.preventDefault();
393
-
394
- acf.fields.image.set({ $el : $(this).closest('.acf-image-uploader') }).edit();
395
-
396
- });
397
-
398
- $(document).on('click', '.acf-image-uploader .acf-button-delete', function( e ){
399
-
400
- e.preventDefault();
401
-
402
- acf.fields.image.set({ $el : $(this).closest('.acf-image-uploader') }).remove();
403
-
404
- });
405
-
406
-
407
- $(document).on('click', '.acf-image-uploader .add-image', function( e ){
408
-
409
- e.preventDefault();
410
-
411
- acf.fields.image.set({ $el : $(this).closest('.acf-image-uploader') }).popup();
412
-
413
- });
414
-
415
-
416
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/radio.js DELETED
@@ -1,70 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * Radio
5
- *
6
- * static model and events for this field
7
- *
8
- * @type event
9
- * @date 1/06/13
10
- *
11
- */
12
-
13
- acf.fields.radio = {
14
-
15
- $el : null,
16
- $input : null,
17
- $other : null,
18
- farbtastic : null,
19
-
20
- set : function( o ){
21
-
22
- // merge in new option
23
- $.extend( this, o );
24
-
25
-
26
- // find input
27
- this.$input = this.$el.find('input[type="radio"]:checked');
28
- this.$other = this.$el.find('input[type="text"]');
29
-
30
-
31
- // return this for chaining
32
- return this;
33
-
34
- },
35
- change : function(){
36
-
37
- if( this.$input.val() == 'other' )
38
- {
39
- this.$other.attr('name', this.$input.attr('name'));
40
- this.$other.show();
41
- }
42
- else
43
- {
44
- this.$other.attr('name', '');
45
- this.$other.hide();
46
- }
47
- }
48
- };
49
-
50
-
51
- /*
52
- * Events
53
- *
54
- * jQuery events for this field
55
- *
56
- * @type function
57
- * @date 1/03/2011
58
- *
59
- * @param N/A
60
- * @return N/A
61
- */
62
-
63
- $(document).on('change', '.acf-radio-list input[type="radio"]', function( e ){
64
-
65
- acf.fields.radio.set({ $el : $(this).closest('.acf-radio-list') }).change();
66
-
67
- });
68
-
69
-
70
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/relationship.js DELETED
@@ -1,361 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * Relationship
5
- *
6
- * static model for this field
7
- *
8
- * @type event
9
- * @date 1/06/13
10
- *
11
- */
12
-
13
- acf.fields.relationship = {
14
-
15
- $el : null,
16
- $input : null,
17
- $left : null,
18
- $right : null,
19
-
20
- o : {},
21
-
22
- timeout : null,
23
-
24
- set : function( o ){
25
-
26
- // merge in new option
27
- $.extend( this, o );
28
-
29
-
30
- // find elements
31
- this.$input = this.$el.children('input[type="hidden"]');
32
- this.$left = this.$el.find('.relationship_left'),
33
- this.$right = this.$el.find('.relationship_right');
34
-
35
-
36
- // get options
37
- this.o = acf.helpers.get_atts( this.$el );
38
-
39
-
40
- // return this for chaining
41
- return this;
42
-
43
- },
44
- init : function(){
45
-
46
- // reference
47
- var _this = this;
48
-
49
-
50
- // is clone field?
51
- if( acf.helpers.is_clone_field(this.$input) )
52
- {
53
- return;
54
- }
55
-
56
-
57
- // set height of right column
58
- this.$right.find('.relationship_list').height( this.$left.height() -2 );
59
-
60
-
61
- // right sortable
62
- this.$right.find('.relationship_list').sortable({
63
- axis : 'y',
64
- items : '> li',
65
- forceHelperSize : true,
66
- forcePlaceholderSize : true,
67
- scroll : true,
68
- update : function(){
69
-
70
- _this.$input.trigger('change');
71
-
72
- }
73
- });
74
-
75
-
76
- // load more
77
- var $el = this.$el;
78
-
79
- this.$left.find('.relationship_list').scrollTop( 0 ).on('scroll', function(e){
80
-
81
- // validate
82
- if( $el.hasClass('loading') || $el.hasClass('no-results') )
83
- {
84
- return;
85
- }
86
-
87
-
88
- // Scrolled to bottom
89
- if( $(this).scrollTop() + $(this).innerHeight() >= $(this).get(0).scrollHeight )
90
- {
91
- var paged = parseInt( $el.attr('data-paged') );
92
-
93
- // update paged
94
- $el.attr('data-paged', (paged + 1) );
95
-
96
- // fetch
97
- _this.set({ $el : $el }).fetch();
98
- }
99
-
100
- });
101
-
102
-
103
- // ajax fetch values for left side
104
- this.fetch();
105
-
106
- },
107
- fetch : function(){
108
-
109
- // reference
110
- var _this = this,
111
- $el = this.$el;
112
-
113
-
114
- // add loading class, stops scroll loading
115
- $el.addClass('loading');
116
-
117
-
118
- // get results
119
- $.ajax({
120
- url : acf.o.ajaxurl,
121
- type : 'post',
122
- dataType : 'json',
123
- data : $.extend({
124
- action : 'acf/fields/relationship/query_posts',
125
- post_id : acf.o.post_id,
126
- nonce : acf.o.nonce
127
- }, this.o ),
128
- success : function( json ){
129
-
130
-
131
- // render
132
- _this.set({ $el : $el }).render( json );
133
-
134
- }
135
- });
136
-
137
- },
138
- render : function( json ){
139
-
140
- // reference
141
- var _this = this;
142
-
143
-
144
- // update classes
145
- this.$el.removeClass('no-results').removeClass('loading');
146
-
147
-
148
- // new search?
149
- if( this.o.paged == 1 )
150
- {
151
- this.$el.find('.relationship_left li:not(.load-more)').remove();
152
- }
153
-
154
-
155
- // no results?
156
- if( ! json || ! json.html )
157
- {
158
- this.$el.addClass('no-results');
159
- return;
160
- }
161
-
162
-
163
- // append new results
164
- this.$el.find('.relationship_left .load-more').before( json.html );
165
-
166
-
167
- // next page?
168
- if( ! json.next_page_exists )
169
- {
170
- this.$el.addClass('no-results');
171
- }
172
-
173
-
174
- // apply .hide to left li's
175
- this.$left.find('a').each(function(){
176
-
177
- var id = $(this).attr('data-post_id');
178
-
179
- if( _this.$right.find('a[data-post_id="' + id + '"]').exists() )
180
- {
181
- $(this).parent().addClass('hide');
182
- }
183
-
184
- });
185
-
186
- },
187
- add : function( $a ){
188
-
189
- // vars
190
- var id = $a.attr('data-post_id'),
191
- title = $a.html();
192
-
193
-
194
- // max posts
195
- if( this.$right.find('a').length >= this.o.max )
196
- {
197
- alert( acf.l10n.relationship.max.replace('{max}', this.o.max) );
198
- return false;
199
- }
200
-
201
-
202
- // can be added?
203
- if( $a.parent().hasClass('hide') )
204
- {
205
- return false;
206
- }
207
-
208
-
209
- // hide
210
- $a.parent().addClass('hide');
211
-
212
-
213
- // template
214
- var data = {
215
- post_id : $a.attr('data-post_id'),
216
- title : $a.html(),
217
- name : this.$input.attr('name')
218
- },
219
- tmpl = _.template(acf.l10n.relationship.tmpl_li, data);
220
-
221
-
222
-
223
- // add new li
224
- this.$right.find('.relationship_list').append( tmpl )
225
-
226
-
227
- // trigger change on new_li
228
- this.$input.trigger('change');
229
-
230
-
231
- // validation
232
- this.$el.closest('.field').removeClass('error');
233
-
234
-
235
- },
236
- remove : function( $a ){
237
-
238
- // remove
239
- $a.parent().remove();
240
-
241
-
242
- // show
243
- this.$left.find('a[data-post_id="' + $a.attr('data-post_id') + '"]').parent('li').removeClass('hide');
244
-
245
-
246
- // trigger change on new_li
247
- this.$input.trigger('change');
248
-
249
- }
250
-
251
- };
252
-
253
-
254
- /*
255
- * acf/setup_fields
256
- *
257
- * run init function on all elements for this field
258
- *
259
- * @type event
260
- * @date 20/07/13
261
- *
262
- * @param {object} e event object
263
- * @param {object} el DOM object which may contain new ACF elements
264
- * @return N/A
265
- */
266
-
267
- $(document).on('acf/setup_fields', function(e, el){
268
-
269
- $(el).find('.acf_relationship').each(function(){
270
-
271
- acf.fields.relationship.set({ $el : $(this) }).init();
272
-
273
- });
274
-
275
- });
276
-
277
-
278
- /*
279
- * Events
280
- *
281
- * jQuery events for this field
282
- *
283
- * @type function
284
- * @date 1/03/2011
285
- *
286
- * @param N/A
287
- * @return N/A
288
- */
289
-
290
- $(document).on('change', '.acf_relationship .select-post_type', function(e){
291
-
292
- // vars
293
- var val = $(this).val(),
294
- $el = $(this).closest('.acf_relationship');
295
-
296
-
297
- // update attr
298
- $el.attr('data-post_type', val);
299
- $el.attr('data-paged', 1);
300
-
301
-
302
- // fetch
303
- acf.fields.relationship.set({ $el : $el }).fetch();
304
-
305
- });
306
-
307
-
308
- $(document).on('click', '.acf_relationship .relationship_left .relationship_list a', function( e ){
309
-
310
- e.preventDefault();
311
-
312
- acf.fields.relationship.set({ $el : $(this).closest('.acf_relationship') }).add( $(this) );
313
-
314
- $(this).blur();
315
-
316
- });
317
-
318
- $(document).on('click', '.acf_relationship .relationship_right .relationship_list a', function( e ){
319
-
320
- e.preventDefault();
321
-
322
- acf.fields.relationship.set({ $el : $(this).closest('.acf_relationship') }).remove( $(this) );
323
-
324
- $(this).blur();
325
-
326
- });
327
-
328
- $(document).on('keyup', '.acf_relationship input.relationship_search', function( e ){
329
-
330
- // vars
331
- var val = $(this).val(),
332
- $el = $(this).closest('.acf_relationship');
333
-
334
-
335
- // update attr
336
- $el.attr('data-s', val);
337
- $el.attr('data-paged', 1);
338
-
339
-
340
- // fetch
341
- clearTimeout( acf.fields.relationship.timeout );
342
- acf.fields.relationship.timeout = setTimeout(function(){
343
-
344
- acf.fields.relationship.set({ $el : $el }).fetch();
345
-
346
- }, 500);
347
-
348
- });
349
-
350
- $(document).on('keypress', '.acf_relationship input.relationship_search', function( e ){
351
-
352
- // don't submit form
353
- if( e.which == 13 )
354
- {
355
- e.preventDefault();
356
- }
357
-
358
- });
359
-
360
-
361
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/tab.js DELETED
@@ -1,280 +0,0 @@
1
- (function($){
2
-
3
- acf.fields.tab = {
4
-
5
- add_group : function( $wrap ){
6
-
7
- // vars
8
- var html = '';
9
-
10
-
11
- // generate html
12
- if( $wrap.is('tbody') )
13
- {
14
- html = '<tr class="acf-tab-wrap"><td colspan="2"><ul class="hl clearfix acf-tab-group"></ul></td></tr>';
15
- }
16
- else
17
- {
18
- html = '<div class="acf-tab-wrap"><ul class="hl clearfix acf-tab-group"></ul></div>';
19
- }
20
-
21
-
22
- // append html
23
- $wrap.children('.field_type-tab:first').before( html );
24
-
25
- },
26
-
27
- add_tab : function( $tab ){
28
-
29
- // vars
30
- var $field = $tab.closest('.field'),
31
- $wrap = $field.parent(),
32
-
33
- key = $field.attr('data-field_key'),
34
- label = $tab.text();
35
-
36
-
37
- // create tab group if it doesnt exist
38
- if( ! $wrap.children('.acf-tab-wrap').exists() )
39
- {
40
- this.add_group( $wrap );
41
- }
42
-
43
- // add tab
44
- $wrap.children('.acf-tab-wrap').find('.acf-tab-group').append('<li><a class="acf-tab-button" href="#" data-key="' + key + '">' + label + '</a></li>');
45
-
46
- },
47
-
48
- toggle : function( $a ){
49
-
50
- // reference
51
- var _this = this;
52
-
53
-
54
- //console.log( 'toggle %o ', $a);
55
- // vars
56
- var $wrap = $a.closest('.acf-tab-wrap').parent(),
57
- key = $a.attr('data-key');
58
-
59
-
60
- // classes
61
- $a.parent('li').addClass('active').siblings('li').removeClass('active');
62
-
63
-
64
- // hide / show
65
- $wrap.children('.field_type-tab').each(function(){
66
-
67
-
68
- // vars
69
- var $tab = $(this);
70
-
71
-
72
- if( $tab.attr('data-field_key') == key )
73
- {
74
- _this.show_tab_fields( $(this) );
75
- }
76
- else
77
- {
78
- _this.hide_tab_fields( $(this) );
79
- }
80
-
81
-
82
- });
83
-
84
- },
85
-
86
- show_tab_fields : function( $field ) {
87
-
88
- //console.log('show tab fields %o', $field);
89
- $field.nextUntil('.field_type-tab').each(function(){
90
-
91
- $(this).removeClass('acf-tab_group-hide').addClass('acf-tab_group-show');
92
- $(document).trigger('acf/fields/tab/show', [ $(this) ]);
93
-
94
- });
95
- },
96
-
97
- hide_tab_fields : function( $field ) {
98
-
99
- $field.nextUntil('.field_type-tab').each(function(){
100
-
101
- $(this).removeClass('acf-tab_group-show').addClass('acf-tab_group-hide');
102
- $(document).trigger('acf/fields/tab/hide', [ $(this) ]);
103
-
104
- });
105
- },
106
-
107
- refresh : function( $el ){
108
-
109
- // reference
110
- var _this = this;
111
-
112
-
113
- // trigger
114
- $el.find('.acf-tab-group').each(function(){
115
-
116
- $(this).find('.acf-tab-button:first').each(function(){
117
-
118
- _this.toggle( $(this) );
119
-
120
- });
121
-
122
- });
123
-
124
- }
125
-
126
- };
127
-
128
-
129
- /*
130
- * acf/setup_fields
131
- *
132
- * run init function on all elements for this field
133
- *
134
- * @type event
135
- * @date 20/07/13
136
- *
137
- * @param {object} e event object
138
- * @param {object} el DOM object which may contain new ACF elements
139
- * @return N/A
140
- */
141
-
142
- $(document).on('acf/setup_fields', function(e, el){
143
-
144
- // add tabs
145
- $(el).find('.acf-tab').each(function(){
146
-
147
- acf.fields.tab.add_tab( $(this) );
148
-
149
- });
150
-
151
-
152
- // activate first tab
153
- acf.fields.tab.refresh( $(el) );
154
-
155
-
156
- // NOTE: this code is defined BEFORE the acf.conditional_logic action. This is becuase the 'acf/setup_fields' listener is defined INSIDE the conditional_logic.init() function which is run on doc.ready
157
-
158
- // trigger conditional logic
159
- // this code ( acf/setup_fields ) is run after the main acf.conditional_logic.init();
160
- //console.log('acf/setup_fields (after tab refresh) calling acf.conditional_logic.refresh()');
161
- //acf.conditional_logic.refresh();
162
-
163
- });
164
-
165
-
166
-
167
-
168
- /*
169
- * Events
170
- *
171
- * jQuery events for this field
172
- *
173
- * @type function
174
- * @date 1/03/2011
175
- *
176
- * @param N/A
177
- * @return N/A
178
- */
179
-
180
- $(document).on('click', '.acf-tab-button', function( e ){
181
-
182
- e.preventDefault();
183
-
184
- acf.fields.tab.toggle( $(this) );
185
-
186
- $(this).trigger('blur');
187
-
188
- });
189
-
190
-
191
- $(document).on('acf/conditional_logic/hide', function( e, $target, item ){
192
-
193
- // validate
194
- if( $target.attr('data-field_type') != 'tab' )
195
- {
196
- return;
197
- }
198
-
199
- //console.log('conditional_logic/hide tab %o', $target);
200
-
201
-
202
- // vars
203
- var $tab = $target.siblings('.acf-tab-wrap').find('a[data-key="' + $target.attr('data-field_key') + '"]');
204
-
205
-
206
- // if tab is already hidden, then ignore the following functiolnality
207
- if( $tab.is(':hidden') )
208
- {
209
- return;
210
- }
211
-
212
-
213
- // visibility
214
- $tab.parent().hide();
215
-
216
-
217
- // if
218
- if( $tab.parent().siblings(':visible').exists() )
219
- {
220
- // if the $target to be hidden is a tab button, lets toggle a sibling tab button
221
- $tab.parent().siblings(':visible').first().children('a').trigger('click');
222
- }
223
- else
224
- {
225
- // no onther tabs
226
- acf.fields.tab.hide_tab_fields( $target );
227
- }
228
-
229
- });
230
-
231
-
232
- $(document).on('acf/conditional_logic/show', function( e, $target, item ){
233
-
234
- // validate
235
- if( $target.attr('data-field_type') != 'tab' )
236
- {
237
- return;
238
- }
239
-
240
-
241
- //console.log('conditional_logic/show tab %o', $target);
242
-
243
-
244
- // vars
245
- var $tab = $target.siblings('.acf-tab-wrap').find('a[data-key="' + $target.attr('data-field_key') + '"]');
246
-
247
-
248
- // if tab is already visible, then ignore the following functiolnality
249
- if( $tab.is(':visible') )
250
- {
251
- return;
252
- }
253
-
254
-
255
- // visibility
256
- $tab.parent().show();
257
-
258
-
259
- // if this is the active tab
260
- if( $tab.parent().hasClass('active') )
261
- {
262
- $tab.trigger('click');
263
- return;
264
- }
265
-
266
-
267
- // if the sibling active tab is actually hidden by conditional logic, take ownership of tabs
268
- if( $tab.parent().siblings('.active').is(':hidden') )
269
- {
270
- // show this tab group
271
- $tab.trigger('click');
272
- return;
273
- }
274
-
275
-
276
- });
277
-
278
-
279
-
280
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/validation.js DELETED
@@ -1,432 +0,0 @@
1
- (function($){
2
-
3
-
4
- /*
5
- * Validation
6
- *
7
- * JS model
8
- *
9
- * @type object
10
- * @date 1/06/13
11
- *
12
- */
13
-
14
- acf.validation = {
15
-
16
- status : true,
17
- disabled : false,
18
-
19
- run : function(){
20
-
21
- // reference
22
- var _this = this;
23
-
24
-
25
- // reset
26
- _this.status = true;
27
-
28
-
29
- // loop through all fields
30
- $('.field.required, .form-field.required').each(function(){
31
-
32
- // run validation
33
- _this.validate( $(this) );
34
-
35
-
36
- });
37
- // end loop through all fields
38
- },
39
-
40
- /*
41
- * show_spinner
42
- *
43
- * This function will show a spinner element. Logic changed in WP 4.2
44
- *
45
- * @type function
46
- * @date 3/05/2015
47
- * @since 5.2.3
48
- *
49
- * @param $spinner (jQuery)
50
- * @return n/a
51
- */
52
-
53
- show_spinner: function( $spinner ){
54
-
55
- // bail early if no spinner
56
- if( !$spinner.exists() ) {
57
-
58
- return;
59
-
60
- }
61
-
62
-
63
- // vars
64
- var wp_version = acf.o.wp_version;
65
-
66
-
67
- // show
68
- if( parseFloat(wp_version) >= 4.2 ) {
69
-
70
- $spinner.addClass('is-active');
71
-
72
- } else {
73
-
74
- $spinner.css('display', 'inline-block');
75
-
76
- }
77
-
78
- },
79
-
80
-
81
- /*
82
- * hide_spinner
83
- *
84
- * This function will hide a spinner element. Logic changed in WP 4.2
85
- *
86
- * @type function
87
- * @date 3/05/2015
88
- * @since 5.2.3
89
- *
90
- * @param $spinner (jQuery)
91
- * @return n/a
92
- */
93
-
94
- hide_spinner: function( $spinner ){
95
-
96
- // bail early if no spinner
97
- if( !$spinner.exists() ) {
98
-
99
- return;
100
-
101
- }
102
-
103
-
104
- // vars
105
- var wp_version = acf.o.wp_version;
106
-
107
-
108
- // hide
109
- if( parseFloat(wp_version) >= 4.2 ) {
110
-
111
- $spinner.removeClass('is-active');
112
-
113
- } else {
114
-
115
- $spinner.css('display', 'none');
116
-
117
- }
118
-
119
- },
120
-
121
- validate : function( div ){
122
-
123
- // var
124
- var ignore = false,
125
- $tab = null;
126
-
127
-
128
- // set validation data
129
- div.data('validation', true);
130
-
131
-
132
- // not visible
133
- if( div.is(':hidden') )
134
- {
135
- // ignore validation
136
- ignore = true;
137
-
138
-
139
- // if this field is hidden by a tab group, allow validation
140
- if( div.hasClass('acf-tab_group-hide') )
141
- {
142
- ignore = false;
143
-
144
-
145
- // vars
146
- var $tab_field = div.prevAll('.field_type-tab:first'),
147
- $tab_group = div.prevAll('.acf-tab-wrap:first');
148
-
149
-
150
- // if the tab itself is hidden, bypass validation
151
- if( $tab_field.hasClass('acf-conditional_logic-hide') )
152
- {
153
- ignore = true;
154
- }
155
- else
156
- {
157
- // activate this tab as it holds hidden required field!
158
- $tab = $tab_group.find('.acf-tab-button[data-key="' + $tab_field.attr('data-field_key') + '"]');
159
- }
160
- }
161
- }
162
-
163
-
164
- // if is hidden by conditional logic, ignore
165
- if( div.hasClass('acf-conditional_logic-hide') )
166
- {
167
- ignore = true;
168
- }
169
-
170
-
171
- // if field group is hidden, igrnoe
172
- if( div.closest('.postbox.acf-hidden').exists() ) {
173
-
174
- ignore = true;
175
-
176
- }
177
-
178
-
179
- if( ignore )
180
- {
181
- return;
182
- }
183
-
184
-
185
-
186
- // text / textarea
187
- if( div.find('input[type="text"], input[type="email"], input[type="number"], input[type="hidden"], textarea').val() == "" )
188
- {
189
- div.data('validation', false);
190
- }
191
-
192
-
193
- // wysiwyg
194
- if( div.find('.acf_wysiwyg').exists() && typeof(tinyMCE) == "object")
195
- {
196
- div.data('validation', true);
197
-
198
- var id = div.find('.wp-editor-area').attr('id'),
199
- editor = tinyMCE.get( id );
200
-
201
-
202
- if( editor && !editor.getContent() )
203
- {
204
- div.data('validation', false);
205
- }
206
- }
207
-
208
-
209
- // select
210
- if( div.find('select').exists() )
211
- {
212
- div.data('validation', true);
213
-
214
- if( div.find('select').val() == "null" || ! div.find('select').val() )
215
- {
216
- div.data('validation', false);
217
- }
218
- }
219
-
220
-
221
- // radio
222
- if( div.find('input[type="radio"]').exists() )
223
- {
224
- div.data('validation', false);
225
-
226
- if( div.find('input[type="radio"]:checked').exists() )
227
- {
228
- div.data('validation', true);
229
- }
230
- }
231
-
232
-
233
- // checkbox
234
- if( div.find('input[type="checkbox"]').exists() )
235
- {
236
- div.data('validation', false);
237
-
238
- if( div.find('input[type="checkbox"]:checked').exists() )
239
- {
240
- div.data('validation', true);
241
- }
242
- }
243
-
244
-
245
- // relationship
246
- if( div.find('.acf_relationship').exists() )
247
- {
248
- div.data('validation', false);
249
-
250
- if( div.find('.acf_relationship .relationship_right input').exists() )
251
- {
252
- div.data('validation', true);
253
- }
254
- }
255
-
256
-
257
- // repeater
258
- if( div.find('.repeater').exists() )
259
- {
260
- div.data('validation', false);
261
-
262
- if( div.find('.repeater tr.row').exists() )
263
- {
264
- div.data('validation', true);
265
- }
266
- }
267
-
268
-
269
- // gallery
270
- if( div.find('.acf-gallery').exists() )
271
- {
272
- div.data('validation', false);
273
-
274
- if( div.find('.acf-gallery .thumbnail').exists())
275
- {
276
- div.data('validation', true);
277
- }
278
- }
279
-
280
-
281
- // hook for custom validation
282
- $(document).trigger('acf/validate_field', [ div ] );
283
-
284
-
285
- // set validation
286
- if( ! div.data('validation') )
287
- {
288
- // show error
289
- this.status = false;
290
- div.closest('.field').addClass('error');
291
-
292
-
293
- // custom validation message
294
- if( div.data('validation_message') )
295
- {
296
- var $label = div.find('p.label:first'),
297
- $message = null;
298
-
299
-
300
- // remove old message
301
- $label.children('.acf-error-message').remove();
302
-
303
-
304
- $label.append( '<span class="acf-error-message"><i class="bit"></i>' + div.data('validation_message') + '</span>' );
305
- }
306
-
307
-
308
- // display field (curently hidden due to another tab being active)
309
- if( $tab )
310
- {
311
- $tab.trigger('click');
312
- }
313
-
314
- }
315
- }
316
-
317
- };
318
-
319
-
320
- /*
321
- * Events
322
- *
323
- * Remove error class on focus
324
- *
325
- * @type function
326
- * @date 1/03/2011
327
- *
328
- * @param N/A
329
- * @return N/A
330
- */
331
-
332
- $(document).on('focus click', '.field.required input, .field.required textarea, .field.required select', function( e ){
333
-
334
- $(this).closest('.field').removeClass('error');
335
-
336
- });
337
-
338
-
339
- /*
340
- $(document).on('blur change', '.field.required input, .field.required textarea, .field.required select', function( e ){
341
-
342
- acf.validation.validate( $(this).closest('.field') );
343
-
344
- });
345
- */
346
-
347
-
348
- /*
349
- * Save Post
350
- *
351
- * If user is saving a draft, allow them to bypass the validation
352
- *
353
- * @type function
354
- * @date 1/03/2011
355
- *
356
- * @param N/A
357
- * @return N/A
358
- */
359
-
360
- $(document).on('click', '#save-post', function(){
361
-
362
- acf.validation.disabled = true;
363
-
364
- });
365
-
366
-
367
- /*
368
- * Submit Post
369
- *
370
- * Run validation and return true|false accordingly
371
- *
372
- * @type function
373
- * @date 1/03/2011
374
- *
375
- * @param N/A
376
- * @return N/A
377
- */
378
-
379
- $(document).on('submit', '#post', function(){
380
-
381
- // If disabled, bail early on the validation check
382
- if( acf.validation.disabled )
383
- {
384
- return true;
385
- }
386
-
387
-
388
- // do validation
389
- acf.validation.run();
390
-
391
-
392
- if( ! acf.validation.status ) {
393
-
394
- // vars
395
- var $form = $(this);
396
-
397
-
398
- // show message
399
- $form.siblings('#message').remove();
400
- $form.before('<div id="message" class="error"><p>' + acf.l10n.validation.error + '</p></div>');
401
-
402
-
403
- // hide ajax stuff on submit button
404
- if( $('#submitdiv').exists() ) {
405
-
406
- // remove disabled classes
407
- $('#submitdiv').find('.disabled').removeClass('disabled');
408
- $('#submitdiv').find('.button-disabled').removeClass('button-disabled');
409
- $('#submitdiv').find('.button-primary-disabled').removeClass('button-primary-disabled');
410
-
411
-
412
- // remove spinner
413
- acf.validation.hide_spinner( $('#submitdiv .spinner') );
414
-
415
- }
416
-
417
- return false;
418
- }
419
-
420
-
421
- // remove hidden postboxes
422
- // + this will stop them from being posted to save
423
- $('.acf_postbox.acf-hidden').remove();
424
-
425
-
426
- // submit the form
427
- return true;
428
-
429
- });
430
-
431
-
432
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/input/wysiwyg.js DELETED
@@ -1,556 +0,0 @@
1
- (function($){
2
-
3
- /*
4
- * WYSIWYG
5
- *
6
- * jQuery functionality for this field type
7
- *
8
- * @type object
9
- * @date 20/07/13
10
- *
11
- * @param N/A
12
- * @return N/A
13
- */
14
-
15
- var _wysiwyg = acf.fields.wysiwyg = {
16
-
17
- $el : null,
18
- $textarea : null,
19
-
20
- o : {},
21
-
22
- set : function( o ){
23
-
24
- // merge in new option
25
- $.extend( this, o );
26
-
27
-
28
- // find textarea
29
- this.$textarea = this.$el.find('textarea');
30
-
31
-
32
- // get options
33
- this.o = acf.helpers.get_atts( this.$el );
34
-
35
-
36
- // add ID
37
- this.o.id = this.$textarea.attr('id');
38
-
39
-
40
- // return this for chaining
41
- return this;
42
-
43
- },
44
- has_tinymce : function(){
45
-
46
- var r = false;
47
-
48
- if( typeof(tinyMCE) == "object" )
49
- {
50
- r = true;
51
- }
52
-
53
- return r;
54
-
55
- },
56
-
57
- get_toolbar : function(){
58
-
59
- // safely get toolbar
60
- if( acf.helpers.isset( this, 'toolbars', this.o.toolbar ) ) {
61
-
62
- return this.toolbars[ this.o.toolbar ];
63
-
64
- }
65
-
66
-
67
- // return
68
- return false;
69
-
70
- },
71
-
72
- init : function(){
73
-
74
- // is clone field?
75
- if( acf.helpers.is_clone_field( this.$textarea ) )
76
- {
77
- return;
78
- }
79
-
80
-
81
- // vars
82
- var toolbar = this.get_toolbar(),
83
- command = 'mceAddControl',
84
- setting = 'theme_advanced_buttons{i}';
85
-
86
-
87
- // backup
88
- var _settings = $.extend( {}, tinyMCE.settings );
89
-
90
-
91
- // v4 settings
92
- if( tinymce.majorVersion == 4 ) {
93
-
94
- command = 'mceAddEditor';
95
- setting = 'toolbar{i}';
96
-
97
- }
98
-
99
-
100
- // add toolbars
101
- if( toolbar ) {
102
-
103
- for( var i = 1; i < 5; i++ ) {
104
-
105
- // vars
106
- var v = '';
107
-
108
-
109
- // load toolbar
110
- if( acf.helpers.isset( toolbar, 'theme_advanced_buttons' + i ) ) {
111
-
112
- v = toolbar['theme_advanced_buttons' + i];
113
-
114
- }
115
-
116
-
117
- // update setting
118
- tinyMCE.settings[ setting.replace('{i}', i) ] = v;
119
-
120
- }
121
-
122
- }
123
-
124
-
125
- // add editor
126
- tinyMCE.execCommand( command, false, this.o.id);
127
-
128
-
129
- // events - load
130
- $(document).trigger('acf/wysiwyg/load', this.o.id);
131
-
132
-
133
- // add events (click, focus, blur) for inserting image into correct editor
134
- this.add_events();
135
-
136
-
137
- // restore tinyMCE.settings
138
- tinyMCE.settings = _settings;
139
-
140
-
141
- // set active editor to null
142
- wpActiveEditor = null;
143
-
144
- },
145
- add_events : function(){
146
-
147
- // vars
148
- var id = this.o.id,
149
- editor = tinyMCE.get( id );
150
-
151
-
152
- // validate
153
- if( !editor )
154
- {
155
- return;
156
- }
157
-
158
-
159
- // vars
160
- var $container = $('#wp-' + id + '-wrap'),
161
- $body = $( editor.getBody() );
162
-
163
-
164
- // events
165
- $container.on('click', function(){
166
-
167
- $(document).trigger('acf/wysiwyg/click', id);
168
-
169
- });
170
-
171
- $body.on('focus', function(){
172
-
173
- $(document).trigger('acf/wysiwyg/focus', id);
174
-
175
- });
176
-
177
- $body.on('blur', function(){
178
-
179
- $(document).trigger('acf/wysiwyg/blur', id);
180
-
181
- });
182
-
183
-
184
- },
185
- destroy : function(){
186
-
187
- // vars
188
- var id = this.o.id,
189
- command = 'mceRemoveControl';
190
-
191
-
192
- // Remove tinymcy functionality.
193
- // Due to the media popup destroying and creating the field within such a short amount of time,
194
- // a JS error will be thrown when launching the edit window twice in a row.
195
- try {
196
-
197
- // vars
198
- var editor = tinyMCE.get( id );
199
-
200
-
201
- // validate
202
- if( !editor ) {
203
-
204
- return;
205
-
206
- }
207
-
208
-
209
- // v4 settings
210
- if( tinymce.majorVersion == 4 ) {
211
-
212
- command = 'mceRemoveEditor';
213
-
214
- }
215
-
216
-
217
- // store value
218
- var val = editor.getContent();
219
-
220
-
221
- // remove editor
222
- tinyMCE.execCommand(command, false, id);
223
-
224
-
225
- // set value
226
- this.$textarea.val( val );
227
-
228
-
229
- } catch(e) {
230
-
231
- //console.log( e );
232
-
233
- }
234
-
235
-
236
- // set active editor to null
237
- wpActiveEditor = null;
238
-
239
- }
240
-
241
- };
242
-
243
-
244
- /*
245
- * acf/setup_fields
246
- *
247
- * run init function on all elements for this field
248
- *
249
- * @type event
250
- * @date 20/07/13
251
- *
252
- * @param {object} e event object
253
- * @param {object} el DOM object which may contain new ACF elements
254
- * @return N/A
255
- */
256
-
257
- $(document).on('acf/setup_fields', function(e, el){
258
-
259
- // validate
260
- if( ! _wysiwyg.has_tinymce() )
261
- {
262
- return;
263
- }
264
-
265
-
266
- // Destory all WYSIWYG fields
267
- // This hack will fix a problem when the WP popup is created and hidden, then the ACF popup (image/file field) is opened
268
- $(el).find('.acf_wysiwyg').each(function(){
269
-
270
- _wysiwyg.set({ $el : $(this) }).destroy();
271
-
272
- });
273
-
274
-
275
- // Add WYSIWYG fields
276
- setTimeout(function(){
277
-
278
- $(el).find('.acf_wysiwyg').each(function(){
279
-
280
- _wysiwyg.set({ $el : $(this) }).init();
281
-
282
- });
283
-
284
- }, 0);
285
-
286
- });
287
-
288
-
289
- /*
290
- * acf/remove_fields
291
- *
292
- * This action is called when the $el is being removed from the DOM
293
- *
294
- * @type event
295
- * @date 20/07/13
296
- *
297
- * @param {object} e event object
298
- * @param {object} $el jQuery element being removed
299
- * @return N/A
300
- */
301
-
302
- $(document).on('acf/remove_fields', function(e, $el){
303
-
304
- // validate
305
- if( ! _wysiwyg.has_tinymce() )
306
- {
307
- return;
308
- }
309
-
310
-
311
- $el.find('.acf_wysiwyg').each(function(){
312
-
313
- _wysiwyg.set({ $el : $(this) }).destroy();
314
-
315
- });
316
-
317
- });
318
-
319
-
320
- /*
321
- * acf/wysiwyg/click
322
- *
323
- * this event is run when a user clicks on a WYSIWYG field
324
- *
325
- * @type event
326
- * @date 17/01/13
327
- *
328
- * @param {object} e event object
329
- * @param {int} id WYSIWYG ID
330
- * @return N/A
331
- */
332
-
333
- $(document).on('acf/wysiwyg/click', function(e, id){
334
-
335
- wpActiveEditor = id;
336
-
337
- container = $('#wp-' + id + '-wrap').closest('.field').removeClass('error');
338
-
339
- });
340
-
341
-
342
- /*
343
- * acf/wysiwyg/focus
344
- *
345
- * this event is run when a user focuses on a WYSIWYG field body
346
- *
347
- * @type event
348
- * @date 17/01/13
349
- *
350
- * @param {object} e event object
351
- * @param {int} id WYSIWYG ID
352
- * @return N/A
353
- */
354
-
355
- $(document).on('acf/wysiwyg/focus', function(e, id){
356
-
357
- wpActiveEditor = id;
358
-
359
- container = $('#wp-' + id + '-wrap').closest('.field').removeClass('error');
360
-
361
- });
362
-
363
-
364
- /*
365
- * acf/wysiwyg/blur
366
- *
367
- * this event is run when a user loses focus on a WYSIWYG field body
368
- *
369
- * @type event
370
- * @date 17/01/13
371
- *
372
- * @param {object} e event object
373
- * @param {int} id WYSIWYG ID
374
- * @return N/A
375
- */
376
-
377
- $(document).on('acf/wysiwyg/blur', function(e, id){
378
-
379
- wpActiveEditor = null;
380
-
381
- // update the hidden textarea
382
- // - This fixes a but when adding a taxonomy term as the form is not posted and the hidden tetarea is never populated!
383
- var editor = tinyMCE.get( id );
384
-
385
-
386
- // validate
387
- if( !editor )
388
- {
389
- return;
390
- }
391
-
392
-
393
- var el = editor.getElement();
394
-
395
-
396
- // save to textarea
397
- editor.save();
398
-
399
-
400
- // trigger change on textarea
401
- $( el ).trigger('change');
402
-
403
- });
404
-
405
-
406
- /*
407
- * acf/sortable_start
408
- *
409
- * this event is run when a element is being drag / dropped
410
- *
411
- * @type event
412
- * @date 10/11/12
413
- *
414
- * @param {object} e event object
415
- * @param {object} el DOM object which may contain new ACF elements
416
- * @return N/A
417
- */
418
-
419
- $(document).on('acf/sortable_start', function(e, el) {
420
-
421
- // validate
422
- if( ! _wysiwyg.has_tinymce() )
423
- {
424
- return;
425
- }
426
-
427
-
428
- $(el).find('.acf_wysiwyg').each(function(){
429
-
430
- _wysiwyg.set({ $el : $(this) }).destroy();
431
-
432
- });
433
-
434
- });
435
-
436
-
437
- /*
438
- * acf/sortable_stop
439
- *
440
- * this event is run when a element has finnished being drag / dropped
441
- *
442
- * @type event
443
- * @date 10/11/12
444
- *
445
- * @param {object} e event object
446
- * @param {object} el DOM object which may contain new ACF elements
447
- * @return N/A
448
- */
449
-
450
- $(document).on('acf/sortable_stop', function(e, el) {
451
-
452
- // validate
453
- if( ! _wysiwyg.has_tinymce() )
454
- {
455
- return;
456
- }
457
-
458
-
459
- $(el).find('.acf_wysiwyg').each(function(){
460
-
461
- _wysiwyg.set({ $el : $(this) }).init();
462
-
463
- });
464
-
465
- });
466
-
467
-
468
- /*
469
- * window load
470
- *
471
- * @description:
472
- * @since: 3.5.5
473
- * @created: 22/12/12
474
- */
475
-
476
- $(window).load(function(){
477
-
478
- // validate
479
- if( ! _wysiwyg.has_tinymce() )
480
- {
481
- return;
482
- }
483
-
484
-
485
- // vars
486
- var wp_content = $('#wp-content-wrap').exists(),
487
- wp_acf_settings = $('#wp-acf_settings-wrap').exists()
488
- mode = 'tmce';
489
-
490
-
491
- // has_editor
492
- if( wp_acf_settings )
493
- {
494
- // html_mode
495
- if( $('#wp-acf_settings-wrap').hasClass('html-active') )
496
- {
497
- mode = 'html';
498
- }
499
- }
500
-
501
-
502
- setTimeout(function(){
503
-
504
- // trigger click on hidden wysiwyg (to get in HTML mode)
505
- if( wp_acf_settings && mode == 'html' )
506
- {
507
- $('#acf_settings-tmce').trigger('click');
508
- }
509
-
510
- }, 1);
511
-
512
-
513
- setTimeout(function(){
514
-
515
- // trigger html mode for people who want to stay in HTML mode
516
- if( wp_acf_settings && mode == 'html' )
517
- {
518
- $('#acf_settings-html').trigger('click');
519
- }
520
-
521
- // Add events to content editor
522
- if( wp_content )
523
- {
524
- _wysiwyg.set({ $el : $('#wp-content-wrap') }).add_events();
525
- }
526
-
527
-
528
- }, 11);
529
-
530
-
531
- });
532
-
533
-
534
- /*
535
- * Full screen
536
- *
537
- * @description: this hack will hide the 'image upload' button in the wysiwyg full screen mode if the field has disabled image uploads!
538
- * @since: 3.6
539
- * @created: 26/02/13
540
- */
541
-
542
- $(document).on('click', '.acf_wysiwyg a.mce_fullscreen', function(){
543
-
544
- // vars
545
- var wysiwyg = $(this).closest('.acf_wysiwyg'),
546
- upload = wysiwyg.attr('data-upload');
547
-
548
- if( upload == 'no' )
549
- {
550
- $('#mce_fullscreen_container td.mceToolbar .mce_add_media').remove();
551
- }
552
-
553
- });
554
-
555
-
556
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/acf-fi_FI.mo DELETED
Binary file
lang/acf-fi_FI.po DELETED
@@ -1,1823 +0,0 @@
1
- # Copyright (C) 2014
2
- # This file is distributed under the same license as the package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Advanced Custom Fields\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
7
- "POT-Creation-Date: 2015-10-06 08:30+0300\n"
8
- "PO-Revision-Date: 2015-10-06 23:04+0300\n"
9
- "Language-Team: \n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
- "X-Generator: Poedit 1.8.5\n"
15
- "X-Poedit-Basepath: ..\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
18
- "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
19
- "X-Poedit-SourceCharset: UTF-8\n"
20
- "Last-Translator: \n"
21
- "Language: fi_FI\n"
22
- "X-Poedit-SearchPath-0: .\n"
23
-
24
- #: acf.php:485
25
- msgid "Field&nbsp;Groups"
26
- msgstr ""
27
-
28
- #: acf.php:486 core/controllers/field_groups.php:214
29
- msgid "Advanced Custom Fields"
30
- msgstr ""
31
-
32
- #: acf.php:487
33
- msgid "Add New"
34
- msgstr "Lisää uusi"
35
-
36
- #: acf.php:488
37
- msgid "Add New Field Group"
38
- msgstr "Lisää uusi kenttäryhmä"
39
-
40
- #: acf.php:489
41
- msgid "Edit Field Group"
42
- msgstr "Muokkaa kenttäryhmää"
43
-
44
- #: acf.php:490
45
- msgid "New Field Group"
46
- msgstr "Uusi kenttäryhmä"
47
-
48
- #: acf.php:491
49
- msgid "View Field Group"
50
- msgstr "Näytä kenttäryhmä"
51
-
52
- #: acf.php:492
53
- msgid "Search Field Groups"
54
- msgstr "Etsi kenttäryhmiä"
55
-
56
- #: acf.php:493
57
- msgid "No Field Groups found"
58
- msgstr "Kenttäryhmiä ei löydetty"
59
-
60
- #: acf.php:494
61
- msgid "No Field Groups found in Trash"
62
- msgstr "Kenttäryhmiä ei löydetty roskakorista"
63
-
64
- #: acf.php:579 core/views/meta_box_options.php:99
65
- msgid "Custom Fields"
66
- msgstr "Muokatut kentät"
67
-
68
- #: acf.php:597 acf.php:600
69
- msgid "Field group updated."
70
- msgstr "Kenttäryhmä päivitetty."
71
-
72
- #: acf.php:598
73
- msgid "Custom field updated."
74
- msgstr "Muokattu kenttä päivitetty."
75
-
76
- #: acf.php:599
77
- msgid "Custom field deleted."
78
- msgstr "Muokattu kenttä poistettu."
79
-
80
- #. translators: %s: date and time of the revision
81
- #: acf.php:602
82
- #, php-format
83
- msgid "Field group restored to revision from %s"
84
- msgstr "Kenttäryhmä palautettu versioon %s"
85
-
86
- #: acf.php:603
87
- msgid "Field group published."
88
- msgstr "Kenttäryhmä julkaistu."
89
-
90
- #: acf.php:604
91
- msgid "Field group saved."
92
- msgstr "Kenttäryhmä tallennettu."
93
-
94
- #: acf.php:605
95
- msgid "Field group submitted."
96
- msgstr "Kenttäryhmä lähetetty."
97
-
98
- #: acf.php:606
99
- msgid "Field group scheduled for."
100
- msgstr "Kenttäryhmä ajastettu."
101
-
102
- #: acf.php:607
103
- msgid "Field group draft updated."
104
- msgstr "Kenttäryhmän vedos päivitetty."
105
-
106
- #: acf.php:742
107
- msgid "Thumbnail"
108
- msgstr "Esikatselukuva"
109
-
110
- #: acf.php:743
111
- msgid "Medium"
112
- msgstr "Keskikokoinen"
113
-
114
- #: acf.php:744
115
- msgid "Large"
116
- msgstr "Suuri"
117
-
118
- #: acf.php:745
119
- msgid "Full"
120
- msgstr "Täysikokoinen"
121
-
122
- #: core/actions/export.php:26 core/views/meta_box_fields.php:58
123
- msgid "Error"
124
- msgstr "Virhe"
125
-
126
- #: core/actions/export.php:33
127
- msgid "No ACF groups selected"
128
- msgstr "Ei ACF-ryhmiä valittu"
129
-
130
- #: core/api.php:1171
131
- msgid "Update"
132
- msgstr "Päivitä"
133
-
134
- #: core/api.php:1172
135
- msgid "Post updated"
136
- msgstr "Julkaisu päivitetty"
137
-
138
- #: core/controllers/addons.php:42 core/controllers/field_groups.php:307
139
- msgid "Add-ons"
140
- msgstr "Lisäosat"
141
-
142
- #: core/controllers/addons.php:130 core/controllers/field_groups.php:429
143
- msgid "Repeater Field"
144
- msgstr "Toistinkenttä"
145
-
146
- #: core/controllers/addons.php:131
147
- msgid "Create infinite rows of repeatable data with this versatile interface!"
148
- msgstr ""
149
- "Luo rajaton määrä rivejä toistettavasta datasta tällä monipuolisella "
150
- "käyttöliittymällä!"
151
-
152
- #: core/controllers/addons.php:137 core/controllers/field_groups.php:437
153
- msgid "Gallery Field"
154
- msgstr "Galleriakenttä"
155
-
156
- #: core/controllers/addons.php:138
157
- msgid "Create image galleries in a simple and intuitive interface!"
158
- msgstr "Luo kuvagallerioita helpolla ja intuitiivisella käyttöliittymällä!"
159
-
160
- #: core/controllers/addons.php:144 core/controllers/field_groups.php:445
161
- msgid "Options Page"
162
- msgstr "Asetussivu"
163
-
164
- #: core/controllers/addons.php:145
165
- msgid "Create global data to use throughout your website!"
166
- msgstr "Luo globaalia dataa käytettäväksi koko sivustosi laajuisesti!"
167
-
168
- #: core/controllers/addons.php:151
169
- msgid "Flexible Content Field"
170
- msgstr "Joustava sisältökenttä"
171
-
172
- #: core/controllers/addons.php:152
173
- msgid "Create unique designs with a flexible content layout manager!"
174
- msgstr "Luo uniikkeja designeja joustavan sisältökentän suunnittelutyökalulla!"
175
-
176
- #: core/controllers/addons.php:161
177
- msgid "Gravity Forms Field"
178
- msgstr "Gravity Forms -kenttä"
179
-
180
- #: core/controllers/addons.php:162
181
- msgid "Creates a select field populated with Gravity Forms!"
182
- msgstr "Luo valintakentän Gravity Formsin tiedoista!"
183
-
184
- #: core/controllers/addons.php:168
185
- msgid "Date & Time Picker"
186
- msgstr "Päivä- ja aikavalitsin"
187
-
188
- #: core/controllers/addons.php:169
189
- msgid "jQuery date & time picker"
190
- msgstr "jQuery päivä- ja aikavalitsin"
191
-
192
- #: core/controllers/addons.php:175
193
- msgid "Location Field"
194
- msgstr "Sijaintikenttä"
195
-
196
- #: core/controllers/addons.php:176
197
- msgid "Find addresses and coordinates of a desired location"
198
- msgstr "Etsi osoitteita ja koordinaatteja"
199
-
200
- #: core/controllers/addons.php:182
201
- msgid "Contact Form 7 Field"
202
- msgstr "Contact Form 7 -kenttä"
203
-
204
- #: core/controllers/addons.php:183
205
- msgid "Assign one or more contact form 7 forms to a post"
206
- msgstr "Määritä yksi tai useampi Contact Form 7 -lomake julkaisuun"
207
-
208
- #: core/controllers/addons.php:193
209
- msgid "Advanced Custom Fields Add-Ons"
210
- msgstr "Advanced Custom Fields -lisäosat"
211
-
212
- #: core/controllers/addons.php:196
213
- msgid ""
214
- "The following Add-ons are available to increase the functionality of the "
215
- "Advanced Custom Fields plugin."
216
- msgstr ""
217
- "Seuraavat lisäosat ovat saatavilla Advanced Custom Fields -liitännäisen "
218
- "toiminnan laajentamiseen."
219
-
220
- #: core/controllers/addons.php:197
221
- msgid ""
222
- "Each Add-on can be installed as a separate plugin (receives updates) or "
223
- "included in your theme (does not receive updates)."
224
- msgstr ""
225
- "Jokainen lisäosa voidaan asentaa omana liitännäisenään (päivitykset "
226
- "käytössä) tai ne voidaan upottaa osaksi teemaasi (ei päivityksiä)."
227
-
228
- #: core/controllers/addons.php:219 core/controllers/addons.php:240
229
- msgid "Installed"
230
- msgstr "Asennettu"
231
-
232
- #: core/controllers/addons.php:221
233
- msgid "Purchase & Install"
234
- msgstr "Osta ja asenna"
235
-
236
- #: core/controllers/addons.php:242 core/controllers/field_groups.php:422
237
- #: core/controllers/field_groups.php:431 core/controllers/field_groups.php:439
238
- #: core/controllers/field_groups.php:447 core/controllers/field_groups.php:455
239
- msgid "Download"
240
- msgstr "Lataa"
241
-
242
- #: core/controllers/export.php:50 core/controllers/export.php:159
243
- msgid "Export"
244
- msgstr "Vienti"
245
-
246
- #: core/controllers/export.php:216
247
- msgid "Export Field Groups"
248
- msgstr "Vie kenttäryhmiä"
249
-
250
- #: core/controllers/export.php:221
251
- msgid "Field Groups"
252
- msgstr "Kenttäryhmät"
253
-
254
- #: core/controllers/export.php:222
255
- msgid "Select the field groups to be exported"
256
- msgstr "Valitse vietävät kenttäryhmät"
257
-
258
- #: core/controllers/export.php:239 core/controllers/export.php:252
259
- msgid "Export to XML"
260
- msgstr "Vie XML:ksi"
261
-
262
- #: core/controllers/export.php:242 core/controllers/export.php:267
263
- msgid "Export to PHP"
264
- msgstr "Vie PHP:ksi"
265
-
266
- #: core/controllers/export.php:253
267
- msgid ""
268
- "ACF will create a .xml export file which is compatible with the native WP "
269
- "import plugin."
270
- msgstr ""
271
- "ACF luo .xml vientitiedoston, joka on yhteensopiva WordPressin oman "
272
- "tuontityökalun kanssa."
273
-
274
- #: core/controllers/export.php:254
275
- msgid ""
276
- "Imported field groups <b>will</b> appear in the list of editable field "
277
- "groups. This is useful for migrating fields groups between Wp websites."
278
- msgstr ""
279
- "Tuodut kenttäryhmät <b>näkyvät</b> muokattavien kenttäryhmien listassa. Tämä "
280
- "on hyödyllistä kun kenttäryhmiä siirretään eri WordPress-sivustojen välillä."
281
-
282
- #: core/controllers/export.php:256
283
- msgid "Select field group(s) from the list and click \"Export XML\""
284
- msgstr "Valitse kenttäryhmä(t) listasta ja valitse \"Vie XML:ksi\""
285
-
286
- #: core/controllers/export.php:257
287
- msgid "Save the .xml file when prompted"
288
- msgstr "Tallenna xml-tiedosto kysyttäessä"
289
-
290
- #: core/controllers/export.php:258
291
- msgid "Navigate to Tools &raquo; Import and select WordPress"
292
- msgstr "Navigoi sijaintiin Työkalut &raquo; Tuonti ja valitse WordPress"
293
-
294
- #: core/controllers/export.php:259
295
- msgid "Install WP import plugin if prompted"
296
- msgstr "Asenna WordPress tuontityökalu kysyttäessä"
297
-
298
- #: core/controllers/export.php:260
299
- msgid "Upload and import your exported .xml file"
300
- msgstr "Lataa ja tuo viety .xml-tiedosto"
301
-
302
- #: core/controllers/export.php:261
303
- msgid "Select your user and ignore Import Attachments"
304
- msgstr "Valitse käyttäjäsi ja jätä huomiotta Viennin liitetiedostot"
305
-
306
- #: core/controllers/export.php:262
307
- msgid "That's it! Happy WordPressing"
308
- msgstr "Se on siinä! Mukavaa WordPressailua"
309
-
310
- #: core/controllers/export.php:268
311
- msgid "ACF will create the PHP code to include in your theme."
312
- msgstr "ACF luo PHP-koodin sisällytettäväksi teemaasi"
313
-
314
- #: core/controllers/export.php:269 core/controllers/export.php:310
315
- msgid ""
316
- "Registered field groups <b>will not</b> appear in the list of editable field "
317
- "groups. This is useful for including fields in themes."
318
- msgstr ""
319
- "Rekisteröidyt kenttäryhmät <b>eivät näy</b> muokattavien kenttäryhmien "
320
- "listassa. Tämä on käytännöllistä kun lisätään kenttiä teemaan."
321
-
322
- #: core/controllers/export.php:270 core/controllers/export.php:311
323
- msgid ""
324
- "Please note that if you export and register field groups within the same WP, "
325
- "you will see duplicate fields on your edit screens. To fix this, please move "
326
- "the original field group to the trash or remove the code from your functions."
327
- "php file."
328
- msgstr ""
329
- "Huomioi, että jos viet ja rekisteröit kenttäryhmiä saman WordPress-"
330
- "asennuksen sisällä, ne näkyvät kahteen kertaan muokkausnäkymissä. "
331
- "Korjataksesi tämän voit poistaa alkuperäisen kenttäryhmän käyttöliittymästä "
332
- "tai koodista, functions.php-tiedostosta."
333
-
334
- #: core/controllers/export.php:272
335
- msgid "Select field group(s) from the list and click \"Create PHP\""
336
- msgstr "Valitse kenttäryhmä(t) listasta ja klikkaa \"Luo PHP\""
337
-
338
- #: core/controllers/export.php:273 core/controllers/export.php:302
339
- msgid "Copy the PHP code generated"
340
- msgstr "Kopioi luotu PHP-koodi"
341
-
342
- #: core/controllers/export.php:274 core/controllers/export.php:303
343
- msgid "Paste into your functions.php file"
344
- msgstr "Liitä koodi functions.php-tiedostoon"
345
-
346
- #: core/controllers/export.php:275 core/controllers/export.php:304
347
- msgid "To activate any Add-ons, edit and use the code in the first few lines."
348
- msgstr ""
349
-
350
- #: core/controllers/export.php:295
351
- msgid "Export Field Groups to PHP"
352
- msgstr "Vie kenttäryhmiä PHP:ksi"
353
-
354
- #: core/controllers/export.php:300 core/fields/tab.php:65
355
- msgid "Instructions"
356
- msgstr "Ohjeet"
357
-
358
- #: core/controllers/export.php:309
359
- msgid "Notes"
360
- msgstr "Muistiinpanot"
361
-
362
- #: core/controllers/export.php:316
363
- msgid "Include in theme"
364
- msgstr "Sisällytä teemaan"
365
-
366
- #: core/controllers/export.php:317
367
- msgid ""
368
- "The Advanced Custom Fields plugin can be included within a theme. To do so, "
369
- "move the ACF plugin inside your theme and add the following code to your "
370
- "functions.php file:"
371
- msgstr ""
372
- "Advanced Custom Fields -liitännäinen voidaan sisällyttää teemaan. Tehdäksesi "
373
- "niin, siirrä ACF-liitännäinen teemasi sisälle ja lisää seuraava koodi "
374
- "functions.php-tiedostoosi:"
375
-
376
- #: core/controllers/export.php:323
377
- msgid ""
378
- "To remove all visual interfaces from the ACF plugin, you can use a constant "
379
- "to enable lite mode. Add the following code to your functions.php file "
380
- "<b>before</b> the include_once code:"
381
- msgstr ""
382
- "Poistaaksesi kaikki ACF-liitännäisen käyttöliittymät, voit määrittää lite-"
383
- "tilan vakioarvolla (constant). Lisää seuraava koodi functions.php-"
384
- "tiedostoosi <b>ennen</b> \"include_once\"-koodia:"
385
-
386
- #: core/controllers/export.php:331
387
- msgid "Back to export"
388
- msgstr "Takaisin vientiin"
389
-
390
- #: core/controllers/export.php:400
391
- msgid "No field groups were selected"
392
- msgstr "Ei valittuja kenttäryhmiä"
393
-
394
- #: core/controllers/field_group.php:358
395
- msgid "Move to trash. Are you sure?"
396
- msgstr "Haluatko varmasti siirtää kohteen roskakoriin?"
397
-
398
- #: core/controllers/field_group.php:359
399
- msgid "checked"
400
- msgstr "valittu"
401
-
402
- #: core/controllers/field_group.php:360
403
- msgid "No toggle fields available"
404
- msgstr "Ei toggle-kenttiä saatavilla"
405
-
406
- #: core/controllers/field_group.php:361
407
- msgid "Field group title is required"
408
- msgstr "Kenttäryhmän otsikko on pakollinen"
409
-
410
- #: core/controllers/field_group.php:362
411
- msgid "copy"
412
- msgstr "kopioi"
413
-
414
- #: core/controllers/field_group.php:363 core/views/meta_box_location.php:62
415
- #: core/views/meta_box_location.php:159
416
- msgid "or"
417
- msgstr "tai"
418
-
419
- #: core/controllers/field_group.php:364 core/controllers/field_group.php:395
420
- #: core/controllers/field_group.php:457 core/controllers/field_groups.php:148
421
- msgid "Fields"
422
- msgstr "Kentät"
423
-
424
- #: core/controllers/field_group.php:365
425
- msgid "Parent fields"
426
- msgstr "Yläkentät"
427
-
428
- #: core/controllers/field_group.php:366
429
- msgid "Sibling fields"
430
- msgstr "Sisarkentät"
431
-
432
- #: core/controllers/field_group.php:367
433
- msgid "Hide / Show All"
434
- msgstr "Piilota / Näytä kaikki"
435
-
436
- #: core/controllers/field_group.php:396
437
- msgid "Location"
438
- msgstr "Sijainti"
439
-
440
- #: core/controllers/field_group.php:397
441
- msgid "Options"
442
- msgstr "Asetukset"
443
-
444
- #: core/controllers/field_group.php:459
445
- msgid "Show Field Key:"
446
- msgstr "Näytä kenttäavain:"
447
-
448
- #: core/controllers/field_group.php:460 core/fields/page_link.php:138
449
- #: core/fields/page_link.php:159 core/fields/post_object.php:340
450
- #: core/fields/post_object.php:361 core/fields/select.php:224
451
- #: core/fields/select.php:243 core/fields/taxonomy.php:499
452
- #: core/fields/user.php:332 core/fields/wysiwyg.php:335
453
- #: core/views/meta_box_fields.php:195 core/views/meta_box_fields.php:218
454
- msgid "No"
455
- msgstr "Ei"
456
-
457
- #: core/controllers/field_group.php:461 core/fields/page_link.php:137
458
- #: core/fields/page_link.php:158 core/fields/post_object.php:339
459
- #: core/fields/post_object.php:360 core/fields/select.php:223
460
- #: core/fields/select.php:242 core/fields/taxonomy.php:498
461
- #: core/fields/user.php:331 core/fields/wysiwyg.php:334
462
- #: core/views/meta_box_fields.php:194 core/views/meta_box_fields.php:217
463
- msgid "Yes"
464
- msgstr "Kyllä"
465
-
466
- #: core/controllers/field_group.php:633
467
- msgid "Front Page"
468
- msgstr "Etusivu"
469
-
470
- #: core/controllers/field_group.php:634
471
- msgid "Posts Page"
472
- msgstr "Julkaisusivu"
473
-
474
- #: core/controllers/field_group.php:635
475
- msgid "Top Level Page (parent of 0)"
476
- msgstr "Päätason sivu (ei yläsivuja)"
477
-
478
- #: core/controllers/field_group.php:636
479
- msgid "Parent Page (has children)"
480
- msgstr "Yläsivu (sivulla alisivuja)"
481
-
482
- #: core/controllers/field_group.php:637
483
- msgid "Child Page (has parent)"
484
- msgstr "Alasivu (sivulla yläsivu)"
485
-
486
- #: core/controllers/field_group.php:645
487
- msgid "Default Template"
488
- msgstr "Oletusmallipohja"
489
-
490
- #: core/controllers/field_group.php:727
491
- msgid "Published"
492
- msgstr "Julkaistu"
493
-
494
- #: core/controllers/field_group.php:728
495
- msgid "Pending Review"
496
- msgstr "Odottaa arviointia"
497
-
498
- #: core/controllers/field_group.php:729
499
- msgid "Draft"
500
- msgstr "Vedos"
501
-
502
- #: core/controllers/field_group.php:730
503
- msgid "Future"
504
- msgstr "Tuleva"
505
-
506
- #: core/controllers/field_group.php:731
507
- msgid "Private"
508
- msgstr "Yksityinen"
509
-
510
- #: core/controllers/field_group.php:732
511
- msgid "Revision"
512
- msgstr "Versio"
513
-
514
- #: core/controllers/field_group.php:733
515
- msgid "Trash"
516
- msgstr "Roskakori"
517
-
518
- #: core/controllers/field_group.php:746
519
- msgid "Super Admin"
520
- msgstr "Super Admin"
521
-
522
- #: core/controllers/field_group.php:761 core/controllers/field_group.php:782
523
- #: core/controllers/field_group.php:789 core/fields/file.php:186
524
- #: core/fields/image.php:177 core/fields/page_link.php:109
525
- #: core/fields/post_object.php:286 core/fields/post_object.php:310
526
- #: core/fields/relationship.php:588 core/fields/relationship.php:612
527
- #: core/fields/user.php:276
528
- msgid "All"
529
- msgstr "Kaikki"
530
-
531
- #: core/controllers/field_groups.php:147
532
- msgid "Title"
533
- msgstr "Otsikko"
534
-
535
- #: core/controllers/field_groups.php:216 core/controllers/field_groups.php:253
536
- msgid "Changelog"
537
- msgstr "Muutosloki"
538
-
539
- #: core/controllers/field_groups.php:217
540
- #, php-format
541
- msgid "See what's new in %1$sversion %2$s%3$s"
542
- msgstr "Katso mitä uutta %1$sversiossa %2$s%3$s"
543
-
544
- #: core/controllers/field_groups.php:219
545
- msgid "Resources"
546
- msgstr "Resurssit"
547
-
548
- #: core/controllers/field_groups.php:221
549
- msgid "Getting Started"
550
- msgstr "Aloitus"
551
-
552
- #: core/controllers/field_groups.php:222
553
- msgid "Field Types"
554
- msgstr "Kenttätyypit"
555
-
556
- #: core/controllers/field_groups.php:223
557
- msgid "Functions"
558
- msgstr "Funktiot"
559
-
560
- #: core/controllers/field_groups.php:224
561
- msgid "Actions"
562
- msgstr "Toiminnat"
563
-
564
- #: core/controllers/field_groups.php:225 core/fields/relationship.php:631
565
- msgid "Filters"
566
- msgstr "Suodattimet"
567
-
568
- #: core/controllers/field_groups.php:226
569
- msgid "'How to' guides"
570
- msgstr "Ohjeet"
571
-
572
- #: core/controllers/field_groups.php:227
573
- msgid "Tutorials"
574
- msgstr "Ohjeartikkelit"
575
-
576
- #: core/controllers/field_groups.php:232
577
- msgid "Created by"
578
- msgstr "Luonut"
579
-
580
- #: core/controllers/field_groups.php:244
581
- msgid "Welcome to Advanced Custom Fields"
582
- msgstr "Tervetuloa käyttämään Advanced Custom Fieldsiä"
583
-
584
- #: core/controllers/field_groups.php:245
585
- msgid "Thank you for updating to the latest version!"
586
- msgstr "Kiitos, että päivitit uusimpaan versioon!"
587
-
588
- #: core/controllers/field_groups.php:245
589
- #, php-format
590
- msgid ""
591
- "ACF %s is more polished and enjoyable than ever before. We hope you like it."
592
- msgstr ""
593
- "ACF %s on upeampi ja kiiltävämpi kuin koskaan ennen. Toivottavasti pidät "
594
- "siitä."
595
-
596
- #: core/controllers/field_groups.php:252
597
- msgid "What’s New"
598
- msgstr "Uutta"
599
-
600
- #: core/controllers/field_groups.php:255
601
- msgid "Download Add-ons"
602
- msgstr "Lataa lisäosia"
603
-
604
- #: core/controllers/field_groups.php:309
605
- msgid "Activation codes have grown into plugins!"
606
- msgstr "Aktivointikoodit on sulautettu liitännäisiin!"
607
-
608
- #: core/controllers/field_groups.php:310
609
- msgid ""
610
- "Add-ons are now activated by downloading and installing individual plugins. "
611
- "Although these plugins will not be hosted on the wordpress.org repository, "
612
- "each Add-on will continue to receive updates in the usual way."
613
- msgstr ""
614
- "Lisäosat aktivoidaan nyt lataamalla ja asentamalla ne erillisinä "
615
- "liitännäisinä. Vaikka näitä liitännäisiä ei säilytetä wordpress.org-"
616
- "repositoriossa, jokainen lisäosa vastaanottaa päivityksiä normaaliin tapaan."
617
-
618
- #: core/controllers/field_groups.php:316
619
- msgid "All previous Add-ons have been successfully installed"
620
- msgstr "Kaikki edelliset lisäosat on asennettu onnistuneesti."
621
-
622
- #: core/controllers/field_groups.php:320
623
- msgid "This website uses premium Add-ons which need to be downloaded"
624
- msgstr "Tämä sivusto käyttää premium-lisäosia, jotka täytyy ladata."
625
-
626
- #: core/controllers/field_groups.php:320
627
- msgid "Download your activated Add-ons"
628
- msgstr "Lataa aktivoidut lisäosat"
629
-
630
- #: core/controllers/field_groups.php:325
631
- msgid ""
632
- "This website does not use premium Add-ons and will not be affected by this "
633
- "change."
634
- msgstr ""
635
- "Tämä sivusto ei käytä premium-lisäosia, eikä tämä muutos näin ollen kosketa "
636
- "sitä."
637
-
638
- #: core/controllers/field_groups.php:335
639
- msgid "Easier Development"
640
- msgstr "Helpompi kehitys"
641
-
642
- #: core/controllers/field_groups.php:337
643
- msgid "New Field Types"
644
- msgstr "Uudet kenttätyypit"
645
-
646
- #: core/controllers/field_groups.php:339
647
- msgid "Taxonomy Field"
648
- msgstr "Taksonomiakenttä"
649
-
650
- #: core/controllers/field_groups.php:340
651
- msgid "User Field"
652
- msgstr "Käyttäjäkenttä"
653
-
654
- #: core/controllers/field_groups.php:341
655
- msgid "Email Field"
656
- msgstr "Sähköpostikenttä"
657
-
658
- #: core/controllers/field_groups.php:342
659
- msgid "Password Field"
660
- msgstr "Salasanakenttä"
661
-
662
- #: core/controllers/field_groups.php:344
663
- msgid "Custom Field Types"
664
- msgstr "Muokatut kenttätyypit"
665
-
666
- #: core/controllers/field_groups.php:345
667
- msgid ""
668
- "Creating your own field type has never been easier! Unfortunately, version 3 "
669
- "field types are not compatible with version 4."
670
- msgstr ""
671
- "Oman kenttätyypin luominen ei ole koskaan ollut helpompaa! Valitettavasti "
672
- "version 3 kenttätyypit eivät ole yhteensopivia version 4 kanssa."
673
-
674
- #: core/controllers/field_groups.php:346
675
- #, php-format
676
- msgid ""
677
- "Migrating your field types is easy, please %sfollow this tutorial%s to learn "
678
- "more."
679
- msgstr ""
680
- "Kenttätyyppien siirtäminen on helppoa, seuraa %stätä ohjeartikkelia%s "
681
- "saadaksesi lisätietoa."
682
-
683
- #: core/controllers/field_groups.php:348
684
- msgid "Actions &amp; Filters"
685
- msgstr "Toiminnat &amp; Suodattimet"
686
-
687
- #: core/controllers/field_groups.php:349
688
- #, php-format
689
- msgid ""
690
- "All actions & filters have received a major facelift to make customizing ACF "
691
- "even easier! Please %sread this guide%s to find the updated naming "
692
- "convention."
693
- msgstr ""
694
- "Jotta ACF:n muokkaaminen olisi entistä helpompaa, kaikki toiminat ja "
695
- "suodattimet ovat saaneet merkittävän kasvojenkohotuksen. Lue %stämä ohje%s "
696
- "saadaksesi lisätietoa päivitetyistä nimeämiskäytännöistä."
697
-
698
- #: core/controllers/field_groups.php:351
699
- msgid "Preview draft is now working!"
700
- msgstr "Esikatseluvedos toimii nyt!"
701
-
702
- #: core/controllers/field_groups.php:352
703
- msgid "This bug has been squashed along with many other little critters!"
704
- msgstr "Tämä bugi on liiskattu, muiden pikku mönkijäisten ohella!"
705
-
706
- #: core/controllers/field_groups.php:352
707
- msgid "See the full changelog"
708
- msgstr "Katso koko muutosloki"
709
-
710
- #: core/controllers/field_groups.php:356
711
- msgid "Important"
712
- msgstr "Tärkeä"
713
-
714
- #: core/controllers/field_groups.php:358
715
- msgid "Database Changes"
716
- msgstr "Tietokantamuutokset"
717
-
718
- #: core/controllers/field_groups.php:359
719
- msgid ""
720
- "Absolutely <strong>no</strong> changes have been made to the database "
721
- "between versions 3 and 4. This means you can roll back to version 3 without "
722
- "any issues."
723
- msgstr ""
724
- "<strong>Mitään</strong> muutoksia tietokantaan ei ole tehty versioiden 3 ja "
725
- "4 välillä. Tämä mahdollistaa versioon 3 palaamisen ilman ongelmia."
726
-
727
- #: core/controllers/field_groups.php:361
728
- msgid "Potential Issues"
729
- msgstr "Mahdolliset ongelmat"
730
-
731
- #: core/controllers/field_groups.php:362
732
- #, php-format
733
- msgid ""
734
- "Due to the sizable changes surounding Add-ons, field types and action/"
735
- "filters, your website may not operate correctly. It is important that you "
736
- "read the full %sMigrating from v3 to v4%s guide to view the full list of "
737
- "changes."
738
- msgstr ""
739
- "Lisäosiin sekä toimintoihin & suodattimiin tehtyjen merkittävien muutoksien "
740
- "johdosta sivustosi ei välttämättä toimi oikein. Suosittelemme tutustumaan "
741
- "%sMigrating from v3 to v4%s -ohjeartikkeliimme nähdäksesi täydellisen listan "
742
- "muutoksista."
743
-
744
- #: core/controllers/field_groups.php:365
745
- msgid "Really Important!"
746
- msgstr "Todella tärkeää!"
747
-
748
- #: core/controllers/field_groups.php:365
749
- #, php-format
750
- msgid ""
751
- "If you updated the ACF plugin without prior knowledge of such changes, "
752
- "please roll back to the latest %sversion 3%s of this plugin."
753
- msgstr ""
754
- "Jos päivitit ACF -lisäosan ilman tietoa kyseisistä muutoksista, ole hyvä ja "
755
- "palaa lisäosan viimeisimpään %s3-sarjan versioon%s."
756
-
757
- #: core/controllers/field_groups.php:370
758
- msgid "Thank You"
759
- msgstr "Kiitos"
760
-
761
- #: core/controllers/field_groups.php:371
762
- msgid ""
763
- "A <strong>BIG</strong> thank you to everyone who has helped test the version "
764
- "4 beta and for all the support I have received."
765
- msgstr ""
766
- "<strong>SUURI</strong> kiitos kaikille, ketkä ovat auttaneet testaamaan "
767
- "version 4 beta-versiota ja kaikesta tuesta jota olen saanut."
768
-
769
- #: core/controllers/field_groups.php:372
770
- msgid "Without you all, this release would not have been possible!"
771
- msgstr "Ilman teitä kaikkia tämä julkaisu ei olisi ollut mahdollinen!"
772
-
773
- #: core/controllers/field_groups.php:376
774
- msgid "Changelog for"
775
- msgstr "Muutosloki kohteelle"
776
-
777
- #: core/controllers/field_groups.php:393
778
- msgid "Learn more"
779
- msgstr "Lue lisää"
780
-
781
- #: core/controllers/field_groups.php:399
782
- msgid "Overview"
783
- msgstr "Yleiskatsaus"
784
-
785
- #: core/controllers/field_groups.php:401
786
- msgid ""
787
- "Previously, all Add-ons were unlocked via an activation code (purchased from "
788
- "the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
789
- "need to be individually downloaded, installed and updated."
790
- msgstr ""
791
- "Aikaisemmin kaikkien lisäosien lukitus avattiin aktivointikoodeilla (ostettu "
792
- "ACF lisäosakaupasta). Versiossa 4 kaikki lisäosat toimivat omina "
793
- "liitännäisinään, jotka tulee ladata, asentaa ja päivittää erikseen."
794
-
795
- #: core/controllers/field_groups.php:403
796
- msgid ""
797
- "This page will assist you in downloading and installing each available Add-"
798
- "on."
799
- msgstr ""
800
- "Tämä sivu auttaa sinua saatavissa olevien lisäosien lataamisessa ja "
801
- "asentamisessa."
802
-
803
- #: core/controllers/field_groups.php:405
804
- msgid "Available Add-ons"
805
- msgstr "Saatavissa olevat lisäosat"
806
-
807
- #: core/controllers/field_groups.php:407
808
- msgid "The following Add-ons have been detected as activated on this website."
809
- msgstr "Seuraavat lisäosat on löydetty aktiivisina tältä sivustolta."
810
-
811
- #: core/controllers/field_groups.php:420 core/fields/file.php:109
812
- msgid "Name"
813
- msgstr "Nimi"
814
-
815
- #: core/controllers/field_groups.php:421
816
- msgid "Activation Code"
817
- msgstr "Aktivointikoodi"
818
-
819
- #: core/controllers/field_groups.php:453
820
- msgid "Flexible Content"
821
- msgstr "Joustava sisältö"
822
-
823
- #: core/controllers/field_groups.php:463
824
- msgid "Installation"
825
- msgstr "Asennus"
826
-
827
- #: core/controllers/field_groups.php:465
828
- msgid "For each Add-on available, please perform the following:"
829
- msgstr "Jokaista saatavissa olevaa lisäosaa kohden, tee seuraavat:"
830
-
831
- #: core/controllers/field_groups.php:467
832
- msgid "Download the Add-on plugin (.zip file) to your desktop"
833
- msgstr "Lataa lisäosaliitännäinen (.zip-tiedosto) työpöydällesi"
834
-
835
- #: core/controllers/field_groups.php:468
836
- #, php-format
837
- msgid "Navigate to %sPlugins > Add New > Upload%s"
838
- msgstr "Navigoi sijaintiin %sPlugins > Add New > Upload%s"
839
-
840
- #: core/controllers/field_groups.php:469
841
- msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
842
- msgstr ""
843
- "Käytä lataustyökalua selataksesi, valitaksesi ja asentaaksesi lisäosasi (."
844
- "zip-tiedosto)"
845
-
846
- #: core/controllers/field_groups.php:470
847
- msgid ""
848
- "Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
849
- "link"
850
- msgstr ""
851
- "Kun liitännäinen on ladattu ja asennettu, klikkaa 'Activate Plugin' -linkkiä"
852
-
853
- #: core/controllers/field_groups.php:471
854
- msgid "The Add-on is now installed and activated!"
855
- msgstr "Lisäosa on nyt asennettu ja aktivoitu!"
856
-
857
- #: core/controllers/field_groups.php:485
858
- msgid "Awesome. Let's get to work"
859
- msgstr "Mahtavaa. Aletaan hommiin"
860
-
861
- #: core/controllers/input.php:63
862
- msgid "Expand Details"
863
- msgstr "Laajenna tiedot"
864
-
865
- #: core/controllers/input.php:64
866
- msgid "Collapse Details"
867
- msgstr "Piilota tiedot"
868
-
869
- #: core/controllers/input.php:67
870
- msgid "Validation Failed. One or more fields below are required."
871
- msgstr ""
872
- "Vahvistus epäonnistui. Yksi tai useampi alla olevista kentistä on pakollinen."
873
-
874
- #: core/controllers/upgrade.php:77
875
- msgid "Upgrade"
876
- msgstr "Päivitä"
877
-
878
- #: core/controllers/upgrade.php:599
879
- msgid "Modifying field group options 'show on page'"
880
- msgstr "Muokataan kenttäryhmän valintaa 'show on page'"
881
-
882
- #: core/controllers/upgrade.php:653
883
- msgid "Modifying field option 'taxonomy'"
884
- msgstr "Muokataan kentän valintaa 'taxonomy'"
885
-
886
- #: core/controllers/upgrade.php:750
887
- msgid "Moving user custom fields from wp_options to wp_usermeta"
888
- msgstr ""
889
- "Siirretään käyttäjien muokattuja kenttiä kohteesta wp_options kohteeseen "
890
- "wp_usermeta"
891
-
892
- #: core/fields/_base.php:124 core/views/meta_box_location.php:74
893
- msgid "Basic"
894
- msgstr "Perus"
895
-
896
- #: core/fields/checkbox.php:19 core/fields/taxonomy.php:475
897
- msgid "Checkbox"
898
- msgstr "Valintaruutu"
899
-
900
- #: core/fields/checkbox.php:20 core/fields/radio.php:19
901
- #: core/fields/select.php:19 core/fields/true_false.php:20
902
- msgid "Choice"
903
- msgstr "Valinta"
904
-
905
- #: core/fields/checkbox.php:146 core/fields/radio.php:147
906
- #: core/fields/select.php:177
907
- msgid "Choices"
908
- msgstr "Valinnat"
909
-
910
- #: core/fields/checkbox.php:147 core/fields/select.php:178
911
- msgid "Enter each choice on a new line."
912
- msgstr "Syötä jokainen valinta omalle rivilleen"
913
-
914
- #: core/fields/checkbox.php:148 core/fields/select.php:179
915
- msgid "For more control, you may specify both a value and label like this:"
916
- msgstr ""
917
- "Saadaksesi lisää hallintamahdollisuuksia, voit määrittää sekä arvon että "
918
- "avainsanan seuraavasti:"
919
-
920
- #: core/fields/checkbox.php:149 core/fields/radio.php:153
921
- #: core/fields/select.php:180
922
- msgid "red : Red"
923
- msgstr "red : Red"
924
-
925
- #: core/fields/checkbox.php:149 core/fields/radio.php:154
926
- #: core/fields/select.php:180
927
- msgid "blue : Blue"
928
- msgstr "blue : Blue"
929
-
930
- #: core/fields/checkbox.php:166 core/fields/color_picker.php:89
931
- #: core/fields/email.php:106 core/fields/number.php:116
932
- #: core/fields/radio.php:196 core/fields/select.php:197
933
- #: core/fields/text.php:116 core/fields/textarea.php:103
934
- #: core/fields/true_false.php:94 core/fields/wysiwyg.php:277
935
- msgid "Default Value"
936
- msgstr "Oletusarvo"
937
-
938
- #: core/fields/checkbox.php:167 core/fields/select.php:198
939
- msgid "Enter each default value on a new line"
940
- msgstr "Syötä jokainen oletusarvo omalle rivilleen"
941
-
942
- #: core/fields/checkbox.php:183 core/fields/message.php:20
943
- #: core/fields/radio.php:212 core/fields/tab.php:20
944
- msgid "Layout"
945
- msgstr "Ulkoasu"
946
-
947
- #: core/fields/checkbox.php:194 core/fields/radio.php:223
948
- msgid "Vertical"
949
- msgstr "Pystysuuntainen"
950
-
951
- #: core/fields/checkbox.php:195 core/fields/radio.php:224
952
- msgid "Horizontal"
953
- msgstr "Vaakasuuntainen"
954
-
955
- #: core/fields/color_picker.php:19
956
- msgid "Color Picker"
957
- msgstr "Värivalitsin"
958
-
959
- #: core/fields/color_picker.php:20 core/fields/date_picker/date_picker.php:20
960
- #: core/fields/google-map.php:19
961
- msgid "jQuery"
962
- msgstr "jQuery"
963
-
964
- #: core/fields/date_picker/date_picker.php:19
965
- msgid "Date Picker"
966
- msgstr "Päivävalitsin"
967
-
968
- #: core/fields/date_picker/date_picker.php:55
969
- msgid "Done"
970
- msgstr "Valmis"
971
-
972
- #: core/fields/date_picker/date_picker.php:56
973
- msgid "Today"
974
- msgstr "Tänään"
975
-
976
- #: core/fields/date_picker/date_picker.php:59
977
- msgid "Show a different month"
978
- msgstr "Näytä eri kuukausi"
979
-
980
- #: core/fields/date_picker/date_picker.php:126
981
- msgid "Save format"
982
- msgstr "Tallennusmuoto"
983
-
984
- #: core/fields/date_picker/date_picker.php:127
985
- msgid ""
986
- "This format will determin the value saved to the database and returned via "
987
- "the API"
988
- msgstr ""
989
- "Tämä muoto määrittää tietokantaan tallennettavan ja rajapinnan palauttaman "
990
- "arvon."
991
-
992
- #: core/fields/date_picker/date_picker.php:128
993
- msgid "\"yymmdd\" is the most versatile save format. Read more about"
994
- msgstr "\"yymmdd\" on monipuolisin tallennusmuoto. Lue lisää"
995
-
996
- #: core/fields/date_picker/date_picker.php:128
997
- #: core/fields/date_picker/date_picker.php:144
998
- msgid "jQuery date formats"
999
- msgstr "jQuery päivämuodot"
1000
-
1001
- #: core/fields/date_picker/date_picker.php:142
1002
- msgid "Display format"
1003
- msgstr "Näyttömuoto"
1004
-
1005
- #: core/fields/date_picker/date_picker.php:143
1006
- msgid "This format will be seen by the user when entering a value"
1007
- msgstr "Tämä muoto näytetään käyttäjälle hänen syöttäessään arvoa"
1008
-
1009
- #: core/fields/date_picker/date_picker.php:144
1010
- msgid ""
1011
- "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
1012
- "about"
1013
- msgstr ""
1014
- "\"dd/mm/yy\" tai \"mm/dd/yy\" ovat käytetyimpiä näyttömuotoja. Lue lisää"
1015
-
1016
- #: core/fields/date_picker/date_picker.php:158
1017
- msgid "Week Starts On"
1018
- msgstr "Viikon alkamispäivä"
1019
-
1020
- #: core/fields/dummy.php:19
1021
- msgid "Dummy"
1022
- msgstr ""
1023
-
1024
- #: core/fields/email.php:19
1025
- msgid "Email"
1026
- msgstr "Sähköposti"
1027
-
1028
- #: core/fields/email.php:107 core/fields/number.php:117
1029
- #: core/fields/text.php:117 core/fields/textarea.php:104
1030
- #: core/fields/wysiwyg.php:278
1031
- msgid "Appears when creating a new post"
1032
- msgstr "Näytetään luotaessa uutta julkaisua"
1033
-
1034
- #: core/fields/email.php:123 core/fields/number.php:133
1035
- #: core/fields/password.php:105 core/fields/text.php:131
1036
- #: core/fields/textarea.php:118
1037
- msgid "Placeholder Text"
1038
- msgstr "Placeholder-teksti"
1039
-
1040
- #: core/fields/email.php:124 core/fields/number.php:134
1041
- #: core/fields/password.php:106 core/fields/text.php:132
1042
- #: core/fields/textarea.php:119
1043
- msgid "Appears within the input"
1044
- msgstr "Näytetään syöttökentän sisällä"
1045
-
1046
- #: core/fields/email.php:138 core/fields/number.php:148
1047
- #: core/fields/password.php:120 core/fields/text.php:146
1048
- msgid "Prepend"
1049
- msgstr "Lisää ennen"
1050
-
1051
- #: core/fields/email.php:139 core/fields/number.php:149
1052
- #: core/fields/password.php:121 core/fields/text.php:147
1053
- msgid "Appears before the input"
1054
- msgstr "Näytetään ennen syöttökenttää"
1055
-
1056
- #: core/fields/email.php:153 core/fields/number.php:163
1057
- #: core/fields/password.php:135 core/fields/text.php:161
1058
- msgid "Append"
1059
- msgstr "Lisää jälkeen"
1060
-
1061
- #: core/fields/email.php:154 core/fields/number.php:164
1062
- #: core/fields/password.php:136 core/fields/text.php:162
1063
- msgid "Appears after the input"
1064
- msgstr "Näytetään syöttökentän jälkeen"
1065
-
1066
- #: core/fields/file.php:19
1067
- msgid "File"
1068
- msgstr "Tiedosto"
1069
-
1070
- #: core/fields/file.php:20 core/fields/image.php:20 core/fields/wysiwyg.php:37
1071
- msgid "Content"
1072
- msgstr "Sisältö"
1073
-
1074
- #: core/fields/file.php:26
1075
- msgid "Select File"
1076
- msgstr "Valitse tiedosto"
1077
-
1078
- #: core/fields/file.php:27
1079
- msgid "Edit File"
1080
- msgstr "Muokkaa tiedostoa"
1081
-
1082
- #: core/fields/file.php:28
1083
- msgid "Update File"
1084
- msgstr "Päivitä tiedostoa"
1085
-
1086
- #: core/fields/file.php:29 core/fields/image.php:30
1087
- msgid "uploaded to this post"
1088
- msgstr "ladattu tähän julkaisuun"
1089
-
1090
- #: core/fields/file.php:113
1091
- msgid "Size"
1092
- msgstr "Koko"
1093
-
1094
- #: core/fields/file.php:123
1095
- msgid "No File Selected"
1096
- msgstr "Ei tiedostoa valittuna"
1097
-
1098
- #: core/fields/file.php:123
1099
- msgid "Add File"
1100
- msgstr "Lisää tiedosto"
1101
-
1102
- #: core/fields/file.php:153 core/fields/image.php:125
1103
- #: core/fields/taxonomy.php:523
1104
- msgid "Return Value"
1105
- msgstr "Paluuarvo"
1106
-
1107
- #: core/fields/file.php:164
1108
- msgid "File Object"
1109
- msgstr "Tiedosto-objekti"
1110
-
1111
- #: core/fields/file.php:165
1112
- msgid "File URL"
1113
- msgstr "Tiedoston URL"
1114
-
1115
- #: core/fields/file.php:166
1116
- msgid "File ID"
1117
- msgstr "Tiedoston ID"
1118
-
1119
- #: core/fields/file.php:175 core/fields/image.php:165
1120
- msgid "Library"
1121
- msgstr "Kirjasto"
1122
-
1123
- #: core/fields/file.php:187 core/fields/image.php:178
1124
- msgid "Uploaded to post"
1125
- msgstr "Ladattu julkaisuun"
1126
-
1127
- #: core/fields/google-map.php:18
1128
- msgid "Google Map"
1129
- msgstr "Google Kartta"
1130
-
1131
- #: core/fields/google-map.php:33
1132
- msgid "Locating"
1133
- msgstr "Paikannetaan"
1134
-
1135
- #: core/fields/google-map.php:34
1136
- msgid "Sorry, this browser does not support geolocation"
1137
- msgstr "Valitettavasti selaimesi ei tue geopaikannusta"
1138
-
1139
- #: core/fields/google-map.php:120
1140
- msgid "Clear location"
1141
- msgstr "Tyhjennä sijainti"
1142
-
1143
- #: core/fields/google-map.php:125
1144
- msgid "Find current location"
1145
- msgstr "Etsi nykyinen sijainti"
1146
-
1147
- #: core/fields/google-map.php:126
1148
- msgid "Search for address..."
1149
- msgstr "Etsi osoitetta..."
1150
-
1151
- #: core/fields/google-map.php:162
1152
- msgid "Center"
1153
- msgstr "Keskitä"
1154
-
1155
- #: core/fields/google-map.php:163
1156
- msgid "Center the initial map"
1157
- msgstr "Keskitä kartta"
1158
-
1159
- #: core/fields/google-map.php:199
1160
- msgid "Zoom"
1161
- msgstr "Zoomaus"
1162
-
1163
- #: core/fields/google-map.php:200
1164
- msgid "Set the initial zoom level"
1165
- msgstr "Aseta zoomauksen aloitustaso"
1166
-
1167
- #: core/fields/google-map.php:217
1168
- msgid "Height"
1169
- msgstr "Korkeus"
1170
-
1171
- #: core/fields/google-map.php:218
1172
- msgid "Customise the map height"
1173
- msgstr "Muokkaa kartan korkeutta"
1174
-
1175
- #: core/fields/image.php:19
1176
- msgid "Image"
1177
- msgstr "Kuva"
1178
-
1179
- #: core/fields/image.php:27
1180
- msgid "Select Image"
1181
- msgstr "Valitse kuva"
1182
-
1183
- #: core/fields/image.php:28
1184
- msgid "Edit Image"
1185
- msgstr "Muokkaa kuvaa"
1186
-
1187
- #: core/fields/image.php:29
1188
- msgid "Update Image"
1189
- msgstr "Päivitä kuvaa"
1190
-
1191
- #: core/fields/image.php:90
1192
- msgid "Remove"
1193
- msgstr "Poista"
1194
-
1195
- #: core/fields/image.php:91 core/views/meta_box_fields.php:108
1196
- msgid "Edit"
1197
- msgstr "Muokkaa"
1198
-
1199
- #: core/fields/image.php:97
1200
- msgid "No image selected"
1201
- msgstr "Ei kuvaa valittu"
1202
-
1203
- #: core/fields/image.php:97
1204
- msgid "Add Image"
1205
- msgstr "Lisää kuva"
1206
-
1207
- #: core/fields/image.php:126 core/fields/relationship.php:563
1208
- msgid "Specify the returned value on front end"
1209
- msgstr "Määritä paluuarvo front endissä"
1210
-
1211
- #: core/fields/image.php:136
1212
- msgid "Image Object"
1213
- msgstr "Kuvaobjekti"
1214
-
1215
- #: core/fields/image.php:137
1216
- msgid "Image URL"
1217
- msgstr "Kuvan URL"
1218
-
1219
- #: core/fields/image.php:138
1220
- msgid "Image ID"
1221
- msgstr "Kuvan ID"
1222
-
1223
- #: core/fields/image.php:146
1224
- msgid "Preview Size"
1225
- msgstr "Esikatselukoko"
1226
-
1227
- #: core/fields/image.php:147
1228
- msgid "Shown when entering data"
1229
- msgstr "Näytetään dataa syötettäessä"
1230
-
1231
- #: core/fields/image.php:166
1232
- msgid "Limit the media library choice"
1233
- msgstr "Rajoita mediakirjastojen valintaa"
1234
-
1235
- #: core/fields/message.php:19 core/fields/message.php:70
1236
- #: core/fields/true_false.php:79
1237
- msgid "Message"
1238
- msgstr "Viesti"
1239
-
1240
- #: core/fields/message.php:71
1241
- msgid "Text &amp; HTML entered here will appear inline with the fields"
1242
- msgstr "Tähän syötetty teksti & HTML näkyy linjassa kenttien kanssa"
1243
-
1244
- #: core/fields/message.php:72
1245
- msgid "Please note that all text will first be passed through the wp function "
1246
- msgstr "Huomioi, että kaikki teksti kulkee ensin wp:n funktion läpi"
1247
-
1248
- #: core/fields/number.php:19
1249
- msgid "Number"
1250
- msgstr "Numero"
1251
-
1252
- #: core/fields/number.php:178
1253
- msgid "Minimum Value"
1254
- msgstr "Vähimmäisarvo"
1255
-
1256
- #: core/fields/number.php:194
1257
- msgid "Maximum Value"
1258
- msgstr "Enimmäisarvo"
1259
-
1260
- #: core/fields/number.php:210
1261
- msgid "Step Size"
1262
- msgstr "Askelkoko"
1263
-
1264
- #: core/fields/page_link.php:18
1265
- msgid "Page Link"
1266
- msgstr "Sivun linkki"
1267
-
1268
- #: core/fields/page_link.php:19 core/fields/post_object.php:19
1269
- #: core/fields/relationship.php:19 core/fields/taxonomy.php:19
1270
- #: core/fields/user.php:19
1271
- msgid "Relational"
1272
- msgstr "Suhteellinen"
1273
-
1274
- #: core/fields/page_link.php:103 core/fields/post_object.php:280
1275
- #: core/fields/relationship.php:582 core/fields/relationship.php:661
1276
- #: core/views/meta_box_location.php:75
1277
- msgid "Post Type"
1278
- msgstr "Julkaisutyyppi"
1279
-
1280
- #: core/fields/page_link.php:127 core/fields/post_object.php:329
1281
- #: core/fields/select.php:214 core/fields/taxonomy.php:489
1282
- #: core/fields/user.php:322
1283
- msgid "Allow Null?"
1284
- msgstr "Salli tyhjä?"
1285
-
1286
- #: core/fields/page_link.php:148 core/fields/post_object.php:350
1287
- #: core/fields/select.php:233
1288
- msgid "Select multiple values?"
1289
- msgstr "Valitse useita arvoja?"
1290
-
1291
- #: core/fields/password.php:19
1292
- msgid "Password"
1293
- msgstr "Salasana"
1294
-
1295
- #: core/fields/post_object.php:18
1296
- msgid "Post Object"
1297
- msgstr "Julkaisuobjekti"
1298
-
1299
- #: core/fields/post_object.php:194 core/fields/relationship.php:170
1300
- msgid "(no title)"
1301
- msgstr "(ei otsikkoa)"
1302
-
1303
- #: core/fields/post_object.php:304 core/fields/relationship.php:606
1304
- msgid "Filter from Taxonomy"
1305
- msgstr "Suodata taksonomiasta"
1306
-
1307
- #: core/fields/radio.php:18
1308
- msgid "Radio Button"
1309
- msgstr "Radiopainike"
1310
-
1311
- #: core/fields/radio.php:105 core/views/meta_box_location.php:91
1312
- msgid "Other"
1313
- msgstr "Muu"
1314
-
1315
- #: core/fields/radio.php:148
1316
- msgid "Enter your choices one per line"
1317
- msgstr "Syötä vaihtoehtosi omille riveilleen"
1318
-
1319
- #: core/fields/radio.php:150
1320
- msgid "Red"
1321
- msgstr "Punainen"
1322
-
1323
- #: core/fields/radio.php:151
1324
- msgid "Blue"
1325
- msgstr "Sininen"
1326
-
1327
- #: core/fields/radio.php:175
1328
- msgid "Add 'other' choice to allow for custom values"
1329
- msgstr "Lisää 'Muu' -valinta salliaksesi vapaamuotoisen arvon"
1330
-
1331
- #: core/fields/radio.php:187
1332
- msgid "Save 'other' values to the field's choices"
1333
- msgstr "Tallenna 'Muut' arvot kentän valintoihin"
1334
-
1335
- #: core/fields/relationship.php:18
1336
- msgid "Relationship"
1337
- msgstr "Suhde"
1338
-
1339
- #: core/fields/relationship.php:29
1340
- msgid "Maximum values reached ( {max} values )"
1341
- msgstr "Enimmäisarvo saavutettu ({max} values)"
1342
-
1343
- #: core/fields/relationship.php:457
1344
- msgid "Search..."
1345
- msgstr "Hae..."
1346
-
1347
- #: core/fields/relationship.php:468
1348
- msgid "Filter by post type"
1349
- msgstr "Suodata julkaisutyypin mukaan"
1350
-
1351
- #: core/fields/relationship.php:562
1352
- msgid "Return Format"
1353
- msgstr "Paluumuoto"
1354
-
1355
- #: core/fields/relationship.php:573
1356
- msgid "Post Objects"
1357
- msgstr "Julkaisuobjektit"
1358
-
1359
- #: core/fields/relationship.php:574
1360
- msgid "Post IDs"
1361
- msgstr "Kirjoitusten ID:t"
1362
-
1363
- #: core/fields/relationship.php:640
1364
- msgid "Search"
1365
- msgstr "Haku"
1366
-
1367
- #: core/fields/relationship.php:641
1368
- msgid "Post Type Select"
1369
- msgstr "Julkaisutyypin valinta"
1370
-
1371
- #: core/fields/relationship.php:649
1372
- msgid "Elements"
1373
- msgstr "Elementit"
1374
-
1375
- #: core/fields/relationship.php:650
1376
- msgid "Selected elements will be displayed in each result"
1377
- msgstr "Valitut elementit näytetään jokaisen tuloksen yhteydessä"
1378
-
1379
- #: core/fields/relationship.php:659 core/views/meta_box_options.php:106
1380
- msgid "Featured Image"
1381
- msgstr "Liittyvä kuva"
1382
-
1383
- #: core/fields/relationship.php:660
1384
- msgid "Post Title"
1385
- msgstr "Julkaisun otsikko"
1386
-
1387
- #: core/fields/relationship.php:672
1388
- msgid "Maximum posts"
1389
- msgstr "Julkaisujen enimmäismäärä"
1390
-
1391
- #: core/fields/select.php:18 core/fields/select.php:109
1392
- #: core/fields/taxonomy.php:480 core/fields/user.php:313
1393
- msgid "Select"
1394
- msgstr "Valitse"
1395
-
1396
- #: core/fields/tab.php:19
1397
- msgid "Tab"
1398
- msgstr "Välilehti"
1399
-
1400
- #: core/fields/tab.php:68
1401
- msgid ""
1402
- "Use \"Tab Fields\" to better organize your edit screen by grouping your "
1403
- "fields together under separate tab headings."
1404
- msgstr ""
1405
- "Käytä \"Välilehti\" -kenttiä järjestääksesi muokkausruutusi paremmin. Voit "
1406
- "ryhmitellä kenttiä yhteen erillisten välilehtiotsikoiden alle."
1407
-
1408
- #: core/fields/tab.php:69
1409
- msgid ""
1410
- "All the fields following this \"tab field\" (or until another \"tab field\" "
1411
- "is defined) will be grouped together."
1412
- msgstr ""
1413
- "Kaikki kentät, jotka on määritelty tämän välilehtikentän jälkeen (tai kunnes "
1414
- "seuraava välilehtikenttä määritellään), ryhmitetään yhteen."
1415
-
1416
- #: core/fields/tab.php:70
1417
- msgid "Use multiple tabs to divide your fields into sections."
1418
- msgstr "Käytä useita välilehtiä jakaaksesi kenttäsi osioihin."
1419
-
1420
- #: core/fields/taxonomy.php:18 core/fields/taxonomy.php:430
1421
- msgid "Taxonomy"
1422
- msgstr "Taksonomia"
1423
-
1424
- #: core/fields/taxonomy.php:374 core/fields/taxonomy.php:383
1425
- msgid "None"
1426
- msgstr "Ei yhtään"
1427
-
1428
- #: core/fields/taxonomy.php:464 core/fields/user.php:298
1429
- #: core/views/meta_box_fields.php:77 core/views/meta_box_fields.php:158
1430
- msgid "Field Type"
1431
- msgstr "Kentän tyyppi"
1432
-
1433
- #: core/fields/taxonomy.php:474 core/fields/user.php:307
1434
- msgid "Multiple Values"
1435
- msgstr "Useita arvoja"
1436
-
1437
- #: core/fields/taxonomy.php:476 core/fields/user.php:309
1438
- msgid "Multi Select"
1439
- msgstr "Monivalinta"
1440
-
1441
- #: core/fields/taxonomy.php:478 core/fields/user.php:311
1442
- msgid "Single Value"
1443
- msgstr "Yksittäisvalinta"
1444
-
1445
- #: core/fields/taxonomy.php:479
1446
- msgid "Radio Buttons"
1447
- msgstr "Radiopainikkeet"
1448
-
1449
- #: core/fields/taxonomy.php:508
1450
- msgid "Load & Save Terms to Post"
1451
- msgstr "Lataa & Tallenna termit julkaisuun"
1452
-
1453
- #: core/fields/taxonomy.php:516
1454
- msgid ""
1455
- "Load value based on the post's terms and update the post's terms on save"
1456
- msgstr ""
1457
- "Lataa arvo julkaisun termien perusteella ja päivitä julkaisun termit "
1458
- "tallennuksen yhteydessä"
1459
-
1460
- #: core/fields/taxonomy.php:533
1461
- msgid "Term Object"
1462
- msgstr "Termiobjekti"
1463
-
1464
- #: core/fields/taxonomy.php:534
1465
- msgid "Term ID"
1466
- msgstr "Termi-ID"
1467
-
1468
- #: core/fields/text.php:19
1469
- msgid "Text"
1470
- msgstr "Teksti"
1471
-
1472
- #: core/fields/text.php:176 core/fields/textarea.php:164
1473
- msgid "Formatting"
1474
- msgstr "Muotoilu"
1475
-
1476
- #: core/fields/text.php:177 core/fields/textarea.php:165
1477
- msgid "Effects value on front end"
1478
- msgstr "Vaikuttaa arvoon front endissä"
1479
-
1480
- #: core/fields/text.php:186 core/fields/textarea.php:174
1481
- msgid "No formatting"
1482
- msgstr "Ei muotoilua"
1483
-
1484
- #: core/fields/text.php:187 core/fields/textarea.php:176
1485
- msgid "Convert HTML into tags"
1486
- msgstr "Muuta HTML-tageiksi"
1487
-
1488
- #: core/fields/text.php:195 core/fields/textarea.php:133
1489
- msgid "Character Limit"
1490
- msgstr "Merkkiraja"
1491
-
1492
- #: core/fields/text.php:196 core/fields/textarea.php:134
1493
- msgid "Leave blank for no limit"
1494
- msgstr "Jätä tyhjäksi mikäli et halua asettaa rajaa"
1495
-
1496
- #: core/fields/textarea.php:19
1497
- msgid "Text Area"
1498
- msgstr "Tekstialue"
1499
-
1500
- #: core/fields/textarea.php:148
1501
- msgid "Rows"
1502
- msgstr "Rivit"
1503
-
1504
- #: core/fields/textarea.php:149
1505
- msgid "Sets the textarea height"
1506
- msgstr "Aseta tekstialueen korkeus"
1507
-
1508
- #: core/fields/textarea.php:175
1509
- msgid "Convert new lines into &lt;br /&gt; tags"
1510
- msgstr "Muuta uudet rivit &lt;br /&gt; -tageiksi"
1511
-
1512
- #: core/fields/true_false.php:19
1513
- msgid "True / False"
1514
- msgstr ""
1515
-
1516
- #: core/fields/true_false.php:80
1517
- msgid "eg. Show extra content"
1518
- msgstr "esim. Näytä lisäsisältöä"
1519
-
1520
- #: core/fields/user.php:18 core/views/meta_box_location.php:94
1521
- msgid "User"
1522
- msgstr "Käyttäjä"
1523
-
1524
- #: core/fields/user.php:271
1525
- msgid "Filter by role"
1526
- msgstr "Suodata roolin perusteella"
1527
-
1528
- #: core/fields/wysiwyg.php:36
1529
- msgid "Wysiwyg Editor"
1530
- msgstr "Wysiwyg-editori"
1531
-
1532
- #: core/fields/wysiwyg.php:292
1533
- msgid "Toolbar"
1534
- msgstr "Työkalupalkki"
1535
-
1536
- #: core/fields/wysiwyg.php:324
1537
- msgid "Show Media Upload Buttons?"
1538
- msgstr "Näytä median latauspainikkeet?"
1539
-
1540
- #: core/views/meta_box_fields.php:24
1541
- msgid "New Field"
1542
- msgstr "Uusi kenttä"
1543
-
1544
- #: core/views/meta_box_fields.php:58
1545
- msgid "Field type does not exist"
1546
- msgstr "Kenttätyyppiä ei ole olemassa"
1547
-
1548
- #: core/views/meta_box_fields.php:74
1549
- msgid "Field Order"
1550
- msgstr "Kenttän järjestys"
1551
-
1552
- #: core/views/meta_box_fields.php:75 core/views/meta_box_fields.php:126
1553
- msgid "Field Label"
1554
- msgstr "Kentän avainsana"
1555
-
1556
- #: core/views/meta_box_fields.php:76 core/views/meta_box_fields.php:142
1557
- msgid "Field Name"
1558
- msgstr "Kentän nimi"
1559
-
1560
- #: core/views/meta_box_fields.php:78
1561
- msgid "Field Key"
1562
- msgstr "Kentän avain"
1563
-
1564
- #: core/views/meta_box_fields.php:90
1565
- msgid ""
1566
- "No fields. Click the <strong>+ Add Field</strong> button to create your "
1567
- "first field."
1568
- msgstr ""
1569
- "Ei kenttiä. Klikkaa <strong>+ Lisää kenttä</strong> -painiketta luodaksesi "
1570
- "ensimmäisen kenttäsi."
1571
-
1572
- #: core/views/meta_box_fields.php:105 core/views/meta_box_fields.php:108
1573
- msgid "Edit this Field"
1574
- msgstr "Muokkaa tätä kenttää"
1575
-
1576
- #: core/views/meta_box_fields.php:109
1577
- msgid "Duplicate this Field"
1578
- msgstr "Kopioi tämä kenttä"
1579
-
1580
- #: core/views/meta_box_fields.php:109
1581
- msgid "Duplicate"
1582
- msgstr "Kopioi"
1583
-
1584
- #: core/views/meta_box_fields.php:110
1585
- msgid "Delete this Field"
1586
- msgstr "Poista tämä kenttä"
1587
-
1588
- #: core/views/meta_box_fields.php:110
1589
- msgid "Delete"
1590
- msgstr "Poista"
1591
-
1592
- #: core/views/meta_box_fields.php:127
1593
- msgid "This is the name which will appear on the EDIT page"
1594
- msgstr "Tämä nimi näytetään muokkaussivulla"
1595
-
1596
- #: core/views/meta_box_fields.php:143
1597
- msgid "Single word, no spaces. Underscores and dashes allowed"
1598
- msgstr ""
1599
- "Yksittäisiä sanoja, ei välilyöntejä. Alaviivat ja viivat ovat sallittuja."
1600
-
1601
- #: core/views/meta_box_fields.php:172
1602
- msgid "Field Instructions"
1603
- msgstr "Kentän ohjeet"
1604
-
1605
- #: core/views/meta_box_fields.php:173
1606
- msgid "Instructions for authors. Shown when submitting data"
1607
- msgstr "Ohjeet julkaisijoille. Näytetään dataa lähetettäessä."
1608
-
1609
- #: core/views/meta_box_fields.php:186
1610
- msgid "Required?"
1611
- msgstr "Pakollinen?"
1612
-
1613
- #: core/views/meta_box_fields.php:209
1614
- msgid "Conditional Logic"
1615
- msgstr "Ehdollinen logiikka"
1616
-
1617
- #: core/views/meta_box_fields.php:260 core/views/meta_box_location.php:117
1618
- msgid "is equal to"
1619
- msgstr "on yhtäsuuri kuin"
1620
-
1621
- #: core/views/meta_box_fields.php:261 core/views/meta_box_location.php:118
1622
- msgid "is not equal to"
1623
- msgstr "on erisuuri kuin"
1624
-
1625
- #: core/views/meta_box_fields.php:279
1626
- msgid "Show this field when"
1627
- msgstr "Näytä tämä kenttä kun"
1628
-
1629
- #: core/views/meta_box_fields.php:285
1630
- msgid "all"
1631
- msgstr "kaikki"
1632
-
1633
- #: core/views/meta_box_fields.php:286
1634
- msgid "any"
1635
- msgstr "mikä tahansa"
1636
-
1637
- #: core/views/meta_box_fields.php:289
1638
- msgid "these rules are met"
1639
- msgstr "näistä säännöistä toteutuu"
1640
-
1641
- #: core/views/meta_box_fields.php:303
1642
- msgid "Close Field"
1643
- msgstr "Sulje kenttä"
1644
-
1645
- #: core/views/meta_box_fields.php:316
1646
- msgid "Drag and drop to reorder"
1647
- msgstr "Raahaa ja pudota järjestääksesi"
1648
-
1649
- #: core/views/meta_box_fields.php:317
1650
- msgid "+ Add Field"
1651
- msgstr "+ Lisää kenttä"
1652
-
1653
- #: core/views/meta_box_location.php:48
1654
- msgid "Rules"
1655
- msgstr "Säännöt"
1656
-
1657
- #: core/views/meta_box_location.php:49
1658
- msgid ""
1659
- "Create a set of rules to determine which edit screens will use these "
1660
- "advanced custom fields"
1661
- msgstr ""
1662
- "Luo sääntöjä määrittääksesi mitkä muokkausruudut käyttävät näitä ACF-kenttiä"
1663
-
1664
- #: core/views/meta_box_location.php:60
1665
- msgid "Show this field group if"
1666
- msgstr "Näytä tämä kenttäryhmä jos"
1667
-
1668
- #: core/views/meta_box_location.php:76
1669
- msgid "Logged in User Type"
1670
- msgstr ""
1671
-
1672
- #: core/views/meta_box_location.php:78 core/views/meta_box_location.php:79
1673
- msgid "Post"
1674
- msgstr "Julkaisu"
1675
-
1676
- #: core/views/meta_box_location.php:80
1677
- msgid "Post Category"
1678
- msgstr "Julkaisun kategoria"
1679
-
1680
- #: core/views/meta_box_location.php:81
1681
- msgid "Post Format"
1682
- msgstr "Julkaisun muoto"
1683
-
1684
- #: core/views/meta_box_location.php:82
1685
- msgid "Post Status"
1686
- msgstr "Julkaisun status"
1687
-
1688
- #: core/views/meta_box_location.php:83
1689
- msgid "Post Taxonomy"
1690
- msgstr "Julkaisun taksonomia"
1691
-
1692
- #: core/views/meta_box_location.php:85 core/views/meta_box_location.php:86
1693
- msgid "Page"
1694
- msgstr "Sivu"
1695
-
1696
- #: core/views/meta_box_location.php:87
1697
- msgid "Page Type"
1698
- msgstr "Sivun tyyppi"
1699
-
1700
- #: core/views/meta_box_location.php:88
1701
- msgid "Page Parent"
1702
- msgstr "Sivun yläsivu"
1703
-
1704
- #: core/views/meta_box_location.php:89
1705
- msgid "Page Template"
1706
- msgstr "Sivun mallipohja"
1707
-
1708
- #: core/views/meta_box_location.php:92
1709
- msgid "Attachment"
1710
- msgstr "Liitetiedosto"
1711
-
1712
- #: core/views/meta_box_location.php:93
1713
- msgid "Taxonomy Term"
1714
- msgstr "Taksonomiatermi"
1715
-
1716
- #: core/views/meta_box_location.php:146
1717
- msgid "and"
1718
- msgstr "ja"
1719
-
1720
- #: core/views/meta_box_location.php:161
1721
- msgid "Add rule group"
1722
- msgstr "Lisää sääntöryhmä"
1723
-
1724
- #: core/views/meta_box_options.php:25
1725
- msgid "Order No."
1726
- msgstr "Järjestysnumero"
1727
-
1728
- #: core/views/meta_box_options.php:26
1729
- msgid "Field groups are created in order <br />from lowest to highest"
1730
- msgstr "Kenttäryhmät luodaan järjestyksessä <br /> matalimmasta korkeimpaan"
1731
-
1732
- #: core/views/meta_box_options.php:42
1733
- msgid "Position"
1734
- msgstr "Sijainti"
1735
-
1736
- #: core/views/meta_box_options.php:52
1737
- msgid "High (after title)"
1738
- msgstr "Korkea (otsikon jälkeen)"
1739
-
1740
- #: core/views/meta_box_options.php:53
1741
- msgid "Normal (after content)"
1742
- msgstr "Normaali (sisällön jälkeen)"
1743
-
1744
- #: core/views/meta_box_options.php:54
1745
- msgid "Side"
1746
- msgstr "Sivu"
1747
-
1748
- #: core/views/meta_box_options.php:64
1749
- msgid "Style"
1750
- msgstr "Tyyli"
1751
-
1752
- #: core/views/meta_box_options.php:74
1753
- msgid "Seamless (no metabox)"
1754
- msgstr "Saumaton (ei metaboxia)"
1755
-
1756
- #: core/views/meta_box_options.php:75
1757
- msgid "Standard (WP metabox)"
1758
- msgstr "Vakio (WP metabox)"
1759
-
1760
- #: core/views/meta_box_options.php:84
1761
- msgid "Hide on screen"
1762
- msgstr "Piilota ruudulta"
1763
-
1764
- #: core/views/meta_box_options.php:85
1765
- msgid "<b>Select</b> items to <b>hide</b> them from the edit screen"
1766
- msgstr "<b>Valitse</b> kohteita <b>piilottaaksesi</b> ne muokkausruudulta"
1767
-
1768
- #: core/views/meta_box_options.php:86
1769
- msgid ""
1770
- "If multiple field groups appear on an edit screen, the first field group's "
1771
- "options will be used. (the one with the lowest order number)"
1772
- msgstr ""
1773
- "Jos useita kenttäryhmiä on näkyvissä muokkausruudulla samanaikaisesti, "
1774
- "ensimmäisen kenttäryhmän asetuksia käytetään. (järjestysnumeroltaan matalin "
1775
- "ryhmä)"
1776
-
1777
- #: core/views/meta_box_options.php:96
1778
- msgid "Permalink"
1779
- msgstr "Permalink"
1780
-
1781
- #: core/views/meta_box_options.php:97
1782
- msgid "Content Editor"
1783
- msgstr "Sisältöeditori"
1784
-
1785
- #: core/views/meta_box_options.php:98
1786
- msgid "Excerpt"
1787
- msgstr "Poiminto"
1788
-
1789
- #: core/views/meta_box_options.php:100
1790
- msgid "Discussion"
1791
- msgstr "Keskustelu"
1792
-
1793
- #: core/views/meta_box_options.php:101
1794
- msgid "Comments"
1795
- msgstr "Kommentit"
1796
-
1797
- #: core/views/meta_box_options.php:102
1798
- msgid "Revisions"
1799
- msgstr "Versiot"
1800
-
1801
- #: core/views/meta_box_options.php:103
1802
- msgid "Slug"
1803
- msgstr ""
1804
-
1805
- #: core/views/meta_box_options.php:104
1806
- msgid "Author"
1807
- msgstr "Julkaisija"
1808
-
1809
- #: core/views/meta_box_options.php:105
1810
- msgid "Format"
1811
- msgstr "Muoto"
1812
-
1813
- #: core/views/meta_box_options.php:107
1814
- msgid "Categories"
1815
- msgstr "Kategoriat"
1816
-
1817
- #: core/views/meta_box_options.php:108
1818
- msgid "Tags"
1819
- msgstr "Avainsanat"
1820
-
1821
- #: core/views/meta_box_options.php:109
1822
- msgid "Send Trackbacks"
1823
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/acf-fr_FR.mo CHANGED
Binary file
lang/acf-fr_FR.po CHANGED
@@ -3,20 +3,20 @@ msgstr ""
3
  "Project-Id-Version: Advanced Custom Field - version 3.4.1\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
5
  "POT-Creation-Date: 2013-10-22 18:19+0100\n"
6
- "PO-Revision-Date: 2015-11-04 09:31+1000\n"
7
- "Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
8
  "Language-Team: RVOLA <hello@rvola.com>\n"
9
- "Language: fr\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
- "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;"
16
- "_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
  "X-Textdomain-Support: yes\n"
18
  "X-Poedit-Basepath: .\n"
19
- "X-Generator: Poedit 1.8.1\n"
20
 
21
  # @ acf
22
  #: ../acf.php:436
@@ -182,8 +182,8 @@ msgstr "Page d‘options"
182
  #: ../core/controllers/addons.php:145
183
  msgid "Create global data to use throughout your website!"
184
  msgstr ""
185
- "Créez avec ACF une page d'options pour configurer des informations utilisable depuis n'importe quelle "
186
- "page."
187
 
188
  # @ acf
189
  #: ../core/controllers/addons.php:151
@@ -227,7 +227,8 @@ msgstr "Champ Contact Form 7"
227
 
228
  #: ../core/controllers/addons.php:183
229
  msgid "Assign one or more contact form 7 forms to a post"
230
- msgstr "Assignez un ou plusieurs formulaires Contact Form 7 dans vos publications."
 
231
 
232
  # @ acf
233
  #: ../core/controllers/addons.php:193
@@ -236,16 +237,17 @@ msgstr "Add-ons Advanced Custom Fields"
236
 
237
  #: ../core/controllers/addons.php:196
238
  msgid ""
239
- "The following Add-ons are available to increase the functionality of the Advanced Custom Fields plugin."
 
240
  msgstr "Ces Add-ons vous permettent d'étendre les possibilités d'ACF."
241
 
242
  #: ../core/controllers/addons.php:197
243
  msgid ""
244
- "Each Add-on can be installed as a separate plugin (receives updates) or included in your theme (does not "
245
- "receive updates)."
246
  msgstr ""
247
- "Chaque Add-on peut être installé séparément en tant qu'extension (avec mises à jour) ou inclus dans votre "
248
- "thème (sans mises à jour)"
249
 
250
  #: ../core/controllers/addons.php:219 ../core/controllers/addons.php:240
251
  msgid "Installed"
@@ -256,8 +258,10 @@ msgid "Purchase & Install"
256
  msgstr "Acheter & installer"
257
 
258
  #: ../core/controllers/addons.php:242 ../core/controllers/field_groups.php:426
259
- #: ../core/controllers/field_groups.php:435 ../core/controllers/field_groups.php:443
260
- #: ../core/controllers/field_groups.php:451 ../core/controllers/field_groups.php:459
 
 
261
  msgid "Download"
262
  msgstr "Télécharger"
263
 
@@ -278,7 +282,9 @@ msgstr "Groupes de champs"
278
 
279
  #: ../core/controllers/export.php:222
280
  msgid "Select the field groups to be exported"
281
- msgstr "Sélectionnez les groupes de champs dans la liste et cliquez sur \"Exporter XML\""
 
 
282
 
283
  # @ acf
284
  #: ../core/controllers/export.php:239 ../core/controllers/export.php:252
@@ -292,20 +298,26 @@ msgstr "Export PHP"
292
 
293
  # @ acf
294
  #: ../core/controllers/export.php:253
295
- msgid "ACF will create a .xml export file which is compatible with the native WP import plugin."
296
- msgstr "ACF générera un fichier d‘export .xml compatible avec le plugin d'import natif de WordPress."
 
 
 
 
297
 
298
  #: ../core/controllers/export.php:254
299
  msgid ""
300
- "Imported field groups <b>will</b> appear in the list of editable field groups. This is useful for "
301
- "migrating fields groups between Wp websites."
302
  msgstr ""
303
- "Les groupes de champs importés <b>apparaitront</b> dans ACF. Utile pour migrer les groupes de champs "
304
- "entre plusieurs site Wordpress."
305
 
306
  #: ../core/controllers/export.php:256
307
  msgid "Select field group(s) from the list and click \"Export XML\""
308
- msgstr "Sélectionnez les groupes de champs dans la liste et cliquez sur \"Exporter XML\""
 
 
309
 
310
  #: ../core/controllers/export.php:257
311
  msgid "Save the .xml file when prompted"
@@ -342,25 +354,28 @@ msgstr "ACF générera le code PHP à inclure dans votre thème"
342
 
343
  #: ../core/controllers/export.php:269 ../core/controllers/export.php:310
344
  msgid ""
345
- "Registered field groups <b>will not</b> appear in the list of editable field groups. This is useful for "
346
- "including fields in themes."
347
  msgstr ""
348
- "Les groupes de champs enregistrés <b>n‘apparaitront pas</b> dans ACF. Cette manipulation sert à insérer "
349
- "les champs en PHP directement dans le thème."
350
 
351
  #: ../core/controllers/export.php:270 ../core/controllers/export.php:311
352
  msgid ""
353
- "Please note that if you export and register field groups within the same WP, you will see duplicate "
354
- "fields on your edit screens. To fix this, please move the original field group to the trash or remove the "
355
- "code from your functions.php file."
 
356
  msgstr ""
357
- "Si vous exportez ET inscrivez les groupes dans la même installation WP, vous verrez les champs en double "
358
- "dans votre page d‘édition. Pour éviter cela, supprimer le groupe depuis ACF ou retirez le code PHP de "
359
- "functions.php."
360
 
361
  #: ../core/controllers/export.php:272
362
  msgid "Select field group(s) from the list and click \"Create PHP\""
363
- msgstr "Sélectionnez les groupes de champs dans la liste et cliquez sur \"Générer PHP\""
 
 
364
 
365
  # @ acf
366
  #: ../core/controllers/export.php:273 ../core/controllers/export.php:302
@@ -375,7 +390,8 @@ msgstr "Collez le code dans votre fichier functions.php"
375
  # @ acf
376
  #: ../core/controllers/export.php:275 ../core/controllers/export.php:304
377
  msgid "To activate any Add-ons, edit and use the code in the first few lines."
378
- msgstr "Pour activer un add-on, éditez le code dans les toutes premières lignes."
 
379
 
380
  # @ acf
381
  #: ../core/controllers/export.php:295
@@ -397,19 +413,23 @@ msgstr "Inclure dans le thème"
397
 
398
  #: ../core/controllers/export.php:317
399
  msgid ""
400
- "The Advanced Custom Fields plugin can be included within a theme. To do so, move the ACF plugin inside "
401
- "your theme and add the following code to your functions.php file:"
 
402
  msgstr ""
403
- "ACF peut être directement inclus dans un thème ! Déplacez pour cela le dossier Advanced Custom Field dans "
404
- "votre thème et ajoutez le code suivant à votre fichier functions.php :"
 
405
 
406
  #: ../core/controllers/export.php:323
407
  msgid ""
408
- "To remove all visual interfaces from the ACF plugin, you can use a constant to enable lite mode. Add the "
409
- "following code to your functions.php file <b>before</b> the include_once code:"
 
410
  msgstr ""
411
- "Pour désactiver l'interface d'ACF, vous pouvez utiliser une constante pour activer le mode 'lite'. "
412
- "Ajoutez dans le fichier 'functions.php' <b>avant</b> le code 'include_once' :"
 
413
 
414
  # @ acf
415
  #: ../core/controllers/export.php:331
@@ -443,14 +463,17 @@ msgstr "Veuillez indiquer un titre pour le groupe de champs"
443
  msgid "copy"
444
  msgstr "copie"
445
 
446
- #: ../core/controllers/field_group.php:363 ../core/views/meta_box_location.php:62
 
447
  #: ../core/views/meta_box_location.php:159
448
  msgid "or"
449
  msgstr "ou"
450
 
451
  # @ acf
452
- #: ../core/controllers/field_group.php:364 ../core/controllers/field_group.php:395
453
- #: ../core/controllers/field_group.php:457 ../core/controllers/field_groups.php:148
 
 
454
  msgid "Fields"
455
  msgstr "Champs"
456
 
@@ -482,18 +505,20 @@ msgid "Show Field Key:"
482
  msgstr "Montrer la clé :"
483
 
484
  #: ../core/controllers/field_group.php:460 ../core/fields/page_link.php:138
485
- #: ../core/fields/page_link.php:159 ../core/fields/post_object.php:328 ../core/fields/post_object.php:349
486
- #: ../core/fields/select.php:224 ../core/fields/select.php:243 ../core/fields/taxonomy.php:343
487
- #: ../core/fields/user.php:285 ../core/fields/wysiwyg.php:245 ../core/views/meta_box_fields.php:195
488
- #: ../core/views/meta_box_fields.php:218
 
489
  msgid "No"
490
  msgstr "Non"
491
 
492
  #: ../core/controllers/field_group.php:461 ../core/fields/page_link.php:137
493
- #: ../core/fields/page_link.php:158 ../core/fields/post_object.php:327 ../core/fields/post_object.php:348
494
- #: ../core/fields/select.php:223 ../core/fields/select.php:242 ../core/fields/taxonomy.php:342
495
- #: ../core/fields/user.php:284 ../core/fields/wysiwyg.php:244 ../core/views/meta_box_fields.php:194
496
- #: ../core/views/meta_box_fields.php:217
 
497
  msgid "Yes"
498
  msgstr "Oui"
499
 
@@ -554,10 +579,13 @@ msgstr "Corbeille"
554
  msgid "Super Admin"
555
  msgstr "Super-admin"
556
 
557
- #: ../core/controllers/field_group.php:761 ../core/controllers/field_group.php:782
558
- #: ../core/controllers/field_group.php:789 ../core/fields/file.php:186 ../core/fields/image.php:170
559
- #: ../core/fields/page_link.php:109 ../core/fields/post_object.php:274 ../core/fields/post_object.php:298
560
- #: ../core/fields/relationship.php:595 ../core/fields/relationship.php:619 ../core/fields/user.php:229
 
 
 
561
  msgid "All"
562
  msgstr "Tous"
563
 
@@ -566,7 +594,8 @@ msgid "Title"
566
  msgstr "Titre"
567
 
568
  # @ acf
569
- #: ../core/controllers/field_groups.php:216 ../core/controllers/field_groups.php:257
 
570
  msgid "Changelog"
571
  msgstr "Notes de version"
572
 
@@ -603,7 +632,8 @@ msgstr "Fonctions"
603
  msgid "Actions"
604
  msgstr "Actions"
605
 
606
- #: ../core/controllers/field_groups.php:225 ../core/fields/relationship.php:638
 
607
  msgid "Filters"
608
  msgstr "Filtres"
609
 
@@ -658,13 +688,14 @@ msgstr "Les codes d'activation sont devenus des extensions"
658
 
659
  #: ../core/controllers/field_groups.php:314
660
  msgid ""
661
- "Add-ons are now activated by downloading and installing individual plugins. Although these plugins will "
662
- "not be hosted on the wordpress.org repository, each Add-on will continue to receive updates in the usual "
663
- "way."
664
  msgstr ""
665
- "Les Add-ons doivent être désormais téléchargés depuis le site ACF et sont présentés sous forme "
666
- "d'extensions. Elles ne seront pas hébergées sur le répertoire d'extension de WordPress. Chaque Add-on "
667
- "continuera de recevoir les mises à jour comme d'habitude."
 
668
 
669
  #: ../core/controllers/field_groups.php:320
670
  msgid "All previous Add-ons have been successfully installed"
@@ -672,7 +703,8 @@ msgstr "Tous les Add-ons ont bien été installés."
672
 
673
  #: ../core/controllers/field_groups.php:324
674
  msgid "This website uses premium Add-ons which need to be downloaded"
675
- msgstr "Ce site utilise des Add-ons premium qui nécessitent d'être téléchargés."
 
676
 
677
  # @ acf
678
  #: ../core/controllers/field_groups.php:324
@@ -680,8 +712,12 @@ msgid "Download your activated Add-ons"
680
  msgstr "Téléchargez les Add-ons activés"
681
 
682
  #: ../core/controllers/field_groups.php:329
683
- msgid "This website does not use premium Add-ons and will not be affected by this change."
684
- msgstr "Ce site n'utilise pas d'Add-ons et ne sera donc pas affecté par cette mise à jour."
 
 
 
 
685
 
686
  #: ../core/controllers/field_groups.php:339
687
  msgid "Easier Development"
@@ -718,11 +754,11 @@ msgstr "Types de champs"
718
 
719
  #: ../core/controllers/field_groups.php:349
720
  msgid ""
721
- "Creating your own field type has never been easier! Unfortunately, version 3 field types are not "
722
- "compatible with version 4."
723
  msgstr ""
724
- "Créer votre propre type de champ est très facile ! Malheureusement les champs créés avec la version 3 ne "
725
- "seront pas compatible avec la version 4."
726
 
727
  #: ../core/controllers/field_groups.php:350
728
  msgid "Migrating your field types is easy, please"
@@ -741,9 +777,12 @@ msgid "Actions &amp; Filters"
741
  msgstr "Actions &amp; Filtres"
742
 
743
  #: ../core/controllers/field_groups.php:353
744
- msgid "All actions & filters have received a major facelift to make customizing ACF even easier! Please"
 
 
745
  msgstr ""
746
- "Toutes les actions & filtres ont été revus afin de rendre la personnalisation d'ACF encore plus facile !"
 
747
 
748
  # @ acf
749
  #: ../core/controllers/field_groups.php:353
@@ -776,11 +815,13 @@ msgstr "Structure de la base de données"
776
 
777
  #: ../core/controllers/field_groups.php:363
778
  msgid ""
779
- "Absolutely <strong>no</strong> changes have been made to the database between versions 3 and 4. This "
780
- "means you can roll back to version 3 without any issues."
 
781
  msgstr ""
782
- "Il n'y a eu <strong>aucun</strong> changement dans la base de données entre la version 3 et la version 4. "
783
- "Cela veut dire que vous pouvez retourner à la version 3 sans aucun problème."
 
784
 
785
  #: ../core/controllers/field_groups.php:365
786
  msgid "Potential Issues"
@@ -788,11 +829,13 @@ msgstr "Problèmes connus"
788
 
789
  #: ../core/controllers/field_groups.php:366
790
  msgid ""
791
- "Do to the sizable changes surounding Add-ons, field types and action/filters, your website may not "
792
- "operate correctly. It is important that you read the full"
 
793
  msgstr ""
794
- "À cause des gros changements effectués autour des Add-ons, types de champs et actions/filtres, votre site "
795
- "ne pourrait plus fonctionner correctement après la migration. Il est important que vous consultiez"
 
796
 
797
  #: ../core/controllers/field_groups.php:366
798
  msgid "Migrating from v3 to v4"
@@ -808,10 +851,11 @@ msgstr "Très important !"
808
 
809
  #: ../core/controllers/field_groups.php:369
810
  msgid ""
811
- "If you updated the ACF plugin without prior knowledge of such changes, please roll back to the latest"
 
812
  msgstr ""
813
- "Si vous n'étiez pas au courant de ces changements lors de la mise à jour, nous vous conseillons de "
814
- "revenir à la"
815
 
816
  #: ../core/controllers/field_groups.php:369
817
  msgid "version 3"
@@ -827,15 +871,18 @@ msgstr "Merci !"
827
 
828
  #: ../core/controllers/field_groups.php:375
829
  msgid ""
830
- "A <strong>BIG</strong> thank you to everyone who has helped test the version 4 beta and for all the "
831
- "support I have received."
832
  msgstr ""
833
- "Un <strong>GRAND</strong> merci à tous ceux qui ont aidé dans le développement de cette nouvelle version "
834
- "4 et pour tout le support que vous m'avez apporté !"
 
835
 
836
  #: ../core/controllers/field_groups.php:376
837
  msgid "Without you all, this release would not have been possible!"
838
- msgstr "Sans vous, cette version n'aurait pas pu voir le jour ! (Traduction FR par @maximebj)"
 
 
839
 
840
  # @ acf
841
  #: ../core/controllers/field_groups.php:380
@@ -852,17 +899,21 @@ msgstr "Aperçu"
852
 
853
  #: ../core/controllers/field_groups.php:405
854
  msgid ""
855
- "Previously, all Add-ons were unlocked via an activation code (purchased from the ACF Add-ons store). New "
856
- "to v4, all Add-ons act as separate plugins which need to be individually downloaded, installed and "
857
- "updated."
858
  msgstr ""
859
- "Dans les versions précédentes, les Add-ons étaient activés par un code d'activation acheté depuis la "
860
- "boutique d'Add-ons ACF. Depuis la version 4, les Add-ons fonctionnent en tant qu'extensions séparées "
861
- "qu'il faut télécharger, installer et mettre à jour individuellement. "
 
862
 
863
  #: ../core/controllers/field_groups.php:407
864
- msgid "This page will assist you in downloading and installing each available Add-on."
865
- msgstr "Cette page vous permet de télécharger et installer les Add-ons disponibles."
 
 
 
866
 
867
  # @ acf
868
  #: ../core/controllers/field_groups.php:409
@@ -911,11 +962,17 @@ msgstr "Extensions > Ajouter > Importer"
911
 
912
  #: ../core/controllers/field_groups.php:473
913
  msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
914
- msgstr "Utilisez l'uploader pour trouver, sélectionner et installer votre Add-on (fichier .zip)"
 
 
915
 
916
  #: ../core/controllers/field_groups.php:474
917
- msgid "Once the plugin has been uploaded and installed, click the 'Activate Plugin' link"
918
- msgstr "Une fois que l'extension a été importée et installée, cliquez sur \"Activer l'extension\""
 
 
 
 
919
 
920
  #: ../core/controllers/field_groups.php:475
921
  msgid "The Add-on is now installed and activated!"
@@ -961,7 +1018,9 @@ msgstr "Modifier le champ 'taxonomie'"
961
 
962
  #: ../core/controllers/upgrade.php:835
963
  msgid "Moving user custom fields from wp_options to wp_usermeta'"
964
- msgstr "Déplacer les champs personnalisés des utilisateurs de wp_options à wp_usermeta '"
 
 
965
 
966
  # @ acf
967
  #: ../core/fields/checkbox.php:19 ../core/fields/taxonomy.php:319
@@ -969,13 +1028,14 @@ msgid "Checkbox"
969
  msgstr "Case à cocher"
970
 
971
  # @ acf
972
- #: ../core/fields/checkbox.php:20 ../core/fields/radio.php:19 ../core/fields/select.php:19
973
- #: ../core/fields/true_false.php:20
974
  msgid "Choice"
975
  msgstr "Choix"
976
 
977
  # @ acf
978
- #: ../core/fields/checkbox.php:146 ../core/fields/radio.php:144 ../core/fields/select.php:177
 
979
  msgid "Choices"
980
  msgstr "Choix"
981
 
@@ -985,21 +1045,26 @@ msgstr "Indiquez une valeur par ligne"
985
 
986
  #: ../core/fields/checkbox.php:148 ../core/fields/select.php:179
987
  msgid "For more control, you may specify both a value and label like this:"
988
- msgstr "Pour un contrôle plus poussé, vous pouvez spécifier la valeur et le libellé de cette manière :"
 
 
989
 
990
- #: ../core/fields/checkbox.php:149 ../core/fields/radio.php:150 ../core/fields/select.php:180
 
991
  msgid "red : Red"
992
  msgstr "rouge : Rouge"
993
 
994
- #: ../core/fields/checkbox.php:149 ../core/fields/radio.php:151 ../core/fields/select.php:180
 
995
  msgid "blue : Blue"
996
  msgstr "bleu : Bleu"
997
 
998
  # @ acf
999
- #: ../core/fields/checkbox.php:166 ../core/fields/color_picker.php:89 ../core/fields/email.php:106
1000
- #: ../core/fields/number.php:116 ../core/fields/radio.php:193 ../core/fields/select.php:197
1001
- #: ../core/fields/text.php:116 ../core/fields/textarea.php:96 ../core/fields/true_false.php:94
1002
- #: ../core/fields/wysiwyg.php:187
 
1003
  msgid "Default Value"
1004
  msgstr "Valeur par défaut"
1005
 
@@ -1008,8 +1073,8 @@ msgid "Enter each default value on a new line"
1008
  msgstr "Entrez chaque valeur par défaut sur une nouvelle ligne"
1009
 
1010
  # @ acf
1011
- #: ../core/fields/checkbox.php:183 ../core/fields/message.php:20 ../core/fields/radio.php:209
1012
- #: ../core/fields/tab.php:20
1013
  msgid "Layout"
1014
  msgstr "Disposition"
1015
 
@@ -1039,38 +1104,41 @@ msgstr "Factice"
1039
  msgid "Email"
1040
  msgstr "Mail"
1041
 
1042
- #: ../core/fields/email.php:107 ../core/fields/number.php:117 ../core/fields/text.php:117
1043
- #: ../core/fields/textarea.php:97 ../core/fields/wysiwyg.php:188
 
1044
  msgid "Appears when creating a new post"
1045
  msgstr "Apparaît lors de la création d'un article"
1046
 
1047
- #: ../core/fields/email.php:123 ../core/fields/number.php:133 ../core/fields/password.php:105
1048
- #: ../core/fields/text.php:131 ../core/fields/textarea.php:111
 
1049
  msgid "Placeholder Text"
1050
  msgstr "Texte de substitution"
1051
 
1052
- #: ../core/fields/email.php:124 ../core/fields/number.php:134 ../core/fields/password.php:106
1053
- #: ../core/fields/text.php:132 ../core/fields/textarea.php:112
 
1054
  msgid "Appears within the input"
1055
  msgstr "Apparaît dans la saisie"
1056
 
1057
- #: ../core/fields/email.php:138 ../core/fields/number.php:148 ../core/fields/password.php:120
1058
- #: ../core/fields/text.php:146
1059
  msgid "Prepend"
1060
  msgstr "Préfixe"
1061
 
1062
- #: ../core/fields/email.php:139 ../core/fields/number.php:149 ../core/fields/password.php:121
1063
- #: ../core/fields/text.php:147
1064
  msgid "Appears before the input"
1065
  msgstr "Apparaît avant la saisie"
1066
 
1067
- #: ../core/fields/email.php:153 ../core/fields/number.php:163 ../core/fields/password.php:135
1068
- #: ../core/fields/text.php:161
1069
  msgid "Append"
1070
  msgstr "Suffixe"
1071
 
1072
- #: ../core/fields/email.php:154 ../core/fields/number.php:164 ../core/fields/password.php:136
1073
- #: ../core/fields/text.php:162
1074
  msgid "Appears after the input"
1075
  msgstr "Apparaît après la saisie"
1076
 
@@ -1079,7 +1147,8 @@ msgstr "Apparaît après la saisie"
1079
  msgid "File"
1080
  msgstr "Fichier"
1081
 
1082
- #: ../core/fields/file.php:20 ../core/fields/image.php:20 ../core/fields/wysiwyg.php:36
 
1083
  msgid "Content"
1084
  msgstr "Contenu"
1085
 
@@ -1113,7 +1182,8 @@ msgid "Add File"
1113
  msgstr "Ajouter un fichier"
1114
 
1115
  # @ acf
1116
- #: ../core/fields/file.php:153 ../core/fields/image.php:118 ../core/fields/taxonomy.php:367
 
1117
  msgid "Return Value"
1118
  msgstr "Valeur affichée dans le template"
1119
 
@@ -1255,13 +1325,16 @@ msgid "Limit the media library choice"
1255
  msgstr "Limite le choix dans la bibliothèque de médias"
1256
 
1257
  # @ acf
1258
- #: ../core/fields/message.php:19 ../core/fields/message.php:70 ../core/fields/true_false.php:79
 
1259
  msgid "Message"
1260
  msgstr "Message"
1261
 
1262
  #: ../core/fields/message.php:71
1263
  msgid "Text &amp; HTML entered here will appear inline with the fields"
1264
- msgstr "Cette zone de texte &amp; HTML permet d'afficher des indications de saisie au rédacteur"
 
 
1265
 
1266
  #: ../core/fields/message.php:72
1267
  msgid "Please note that all text will first be passed through the wp function "
@@ -1290,25 +1363,29 @@ msgid "Page Link"
1290
  msgstr "Lien vers page ou article"
1291
 
1292
  # @ acf
1293
- #: ../core/fields/page_link.php:19 ../core/fields/post_object.php:19 ../core/fields/relationship.php:19
1294
- #: ../core/fields/taxonomy.php:19 ../core/fields/user.php:19
 
1295
  msgid "Relational"
1296
  msgstr "Relationnel"
1297
 
1298
  # @ acf
1299
- #: ../core/fields/page_link.php:103 ../core/fields/post_object.php:268 ../core/fields/relationship.php:589
1300
- #: ../core/fields/relationship.php:668 ../core/views/meta_box_location.php:75
 
1301
  msgid "Post Type"
1302
  msgstr "Type de publication"
1303
 
1304
  # @ acf
1305
- #: ../core/fields/page_link.php:127 ../core/fields/post_object.php:317 ../core/fields/select.php:214
1306
- #: ../core/fields/taxonomy.php:333 ../core/fields/user.php:275
 
1307
  msgid "Allow Null?"
1308
  msgstr "Autoriser vide ?"
1309
 
1310
  # @ acf
1311
- #: ../core/fields/page_link.php:148 ../core/fields/post_object.php:338 ../core/fields/select.php:233
 
1312
  msgid "Select multiple values?"
1313
  msgstr "Plusieurs valeurs possibles ?"
1314
 
@@ -1333,7 +1410,7 @@ msgstr "Bouton radio"
1333
 
1334
  #: ../core/fields/radio.php:102 ../core/views/meta_box_location.php:91
1335
  msgid "Other"
1336
- msgstr "Autre"
1337
 
1338
  #: ../core/fields/radio.php:145
1339
  msgid "Enter your choices one per line"
@@ -1421,8 +1498,8 @@ msgid "Maximum posts"
1421
  msgstr "Nombre d‘articles maximal"
1422
 
1423
  # @ acf
1424
- #: ../core/fields/select.php:18 ../core/fields/select.php:109 ../core/fields/taxonomy.php:324
1425
- #: ../core/fields/user.php:266
1426
  msgid "Select"
1427
  msgstr "Liste de choix"
1428
 
@@ -1432,17 +1509,19 @@ msgstr "Onglet"
1432
 
1433
  #: ../core/fields/tab.php:68
1434
  msgid ""
1435
- "Use \"Tab Fields\" to better organize your edit screen by grouping your fields together under separate "
1436
- "tab headings."
1437
  msgstr ""
1438
- "Utilisez le type de champ \"Onglet\" pour mieux organiser votre écran de saisie en regroupant vos champs "
1439
- "sous des onglets différents."
1440
 
1441
  #: ../core/fields/tab.php:69
1442
  msgid ""
1443
- "All the fields following this \"tab field\" (or until another \"tab field\" is defined) will be grouped "
1444
- "together."
1445
- msgstr "Tous les champs listés après cet onglet (ou jusqu'au prochain onglet) seront regroupés ensemble."
 
 
1446
 
1447
  #: ../core/fields/tab.php:70
1448
  msgid "Use multiple tabs to divide your fields into sections."
@@ -1458,8 +1537,8 @@ msgid "None"
1458
  msgstr "Aucun"
1459
 
1460
  # @ acf
1461
- #: ../core/fields/taxonomy.php:308 ../core/fields/user.php:251 ../core/views/meta_box_fields.php:77
1462
- #: ../core/views/meta_box_fields.php:159
1463
  msgid "Field Type"
1464
  msgstr "Type de champ"
1465
 
@@ -1487,9 +1566,11 @@ msgid "Load & Save Terms to Post"
1487
  msgstr "Charger & enregistrer les termes"
1488
 
1489
  #: ../core/fields/taxonomy.php:360
1490
- msgid "Load value based on the post's terms and update the post's terms on save"
 
1491
  msgstr ""
1492
- "Charge la valeur basée sur les termes de l'article et met à jour ces termes lors de l'enregistrement"
 
1493
 
1494
  # @ acf
1495
  #: ../core/fields/taxonomy.php:377
@@ -1600,15 +1681,22 @@ msgid "Save format"
1600
  msgstr "Sauvegarder format"
1601
 
1602
  #: ../core/fields/date_picker/date_picker.php:127
1603
- msgid "This format will determin the value saved to the database and returned via the API"
1604
- msgstr "Ce format déterminera la valeur enregistrée dans la base de données et retournée par l‘API"
 
 
 
 
1605
 
1606
  #: ../core/fields/date_picker/date_picker.php:128
1607
  msgid "\"yymmdd\" is the most versatile save format. Read more about"
1608
- msgstr "\"yymmdd\" est le format d‘enregistrement le plus polyvalent. En savoir plus sur"
 
 
1609
 
1610
  # @ acf
1611
- #: ../core/fields/date_picker/date_picker.php:128 ../core/fields/date_picker/date_picker.php:144
 
1612
  msgid "jQuery date formats"
1613
  msgstr "Format date jQuery"
1614
 
@@ -1622,8 +1710,12 @@ msgid "This format will be seen by the user when entering a value"
1622
  msgstr "Ce format sera vu par l'utilisateur lors de la saisie d‘une valeur"
1623
 
1624
  #: ../core/fields/date_picker/date_picker.php:144
1625
- msgid "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more about"
1626
- msgstr "\"dd/mm/yy\" ou \"mm/dd/yy\" sont les formats d‘affichage les plus utilisées. En savoir plus sur"
 
 
 
 
1627
 
1628
  #: ../core/fields/date_picker/date_picker.php:158
1629
  msgid "Week Starts On"
@@ -1661,8 +1753,12 @@ msgstr "Clé du champ"
1661
 
1662
  # @ acf
1663
  #: ../core/views/meta_box_fields.php:90
1664
- msgid "No fields. Click the <strong>+ Add Field</strong> button to create your first field."
1665
- msgstr "Aucun champ. Cliquez sur le bouton <strong>+ Ajouter</strong> pour créer votre premier champ."
 
 
 
 
1666
 
1667
  # @ acf
1668
  #: ../core/views/meta_box_fields.php:105 ../core/views/meta_box_fields.php:108
@@ -1716,7 +1812,8 @@ msgstr "Instructions pour ce champ"
1716
  # @ acf
1717
  #: ../core/views/meta_box_fields.php:174
1718
  msgid "Instructions for authors. Shown when submitting data"
1719
- msgstr "Instructions pour les auteurs. Affichées lors de la soumission de données."
 
1720
 
1721
  # @ acf
1722
  #: ../core/views/meta_box_fields.php:186
@@ -1727,11 +1824,13 @@ msgstr "Requis ?"
1727
  msgid "Conditional Logic"
1728
  msgstr "Logique conditionnelle"
1729
 
1730
- #: ../core/views/meta_box_fields.php:260 ../core/views/meta_box_location.php:117
 
1731
  msgid "is equal to"
1732
  msgstr "est égal à"
1733
 
1734
- #: ../core/views/meta_box_fields.php:261 ../core/views/meta_box_location.php:118
 
1735
  msgid "is not equal to"
1736
  msgstr "n‘est pas égal à"
1737
 
@@ -1773,9 +1872,12 @@ msgstr "Règles"
1773
 
1774
  # @ acf
1775
  #: ../core/views/meta_box_location.php:49
1776
- msgid "Create a set of rules to determine which edit screens will use these advanced custom fields"
 
 
1777
  msgstr ""
1778
- "Créez une série de règles pour déterminer sur quelles pages d‘édition ce groupe de champs sera utilisé"
 
1779
 
1780
  #: ../core/views/meta_box_location.php:60
1781
  msgid "Show this field group if"
@@ -1786,7 +1888,8 @@ msgid "Logged in User Type"
1786
  msgstr "Rôle de l‘utilisateur"
1787
 
1788
  # @ acf
1789
- #: ../core/views/meta_box_location.php:78 ../core/views/meta_box_location.php:79
 
1790
  msgid "Page"
1791
  msgstr "Page"
1792
 
@@ -1805,7 +1908,8 @@ msgid "Page Template"
1805
  msgstr "Modèle de page"
1806
 
1807
  # @ acf
1808
- #: ../core/views/meta_box_location.php:84 ../core/views/meta_box_location.php:85
 
1809
  msgid "Post"
1810
  msgstr "Article"
1811
 
@@ -1853,7 +1957,9 @@ msgstr "Numéro d‘ordre"
1853
  # @ acf
1854
  #: ../core/views/meta_box_options.php:26
1855
  msgid "Field groups are created in order <br />from lowest to highest"
1856
- msgstr "Les groupes de champs sont créés dans <br/> ordre du plus bas vers le plus haut"
 
 
1857
 
1858
  # @ acf
1859
  #: ../core/views/meta_box_options.php:42
@@ -1892,16 +1998,18 @@ msgstr "Ne pas afficher"
1892
  # @ acf
1893
  #: ../core/views/meta_box_options.php:85
1894
  msgid "<b>Select</b> items to <b>hide</b> them from the edit screen"
1895
- msgstr "<b>Décochez</b> les champs que vous souhaitez <b>masquer</b> sur la page d‘édition"
 
 
1896
 
1897
  # @ acf
1898
  #: ../core/views/meta_box_options.php:86
1899
  msgid ""
1900
- "If multiple field groups appear on an edit screen, the first field group's options will be used. (the one "
1901
- "with the lowest order number)"
1902
  msgstr ""
1903
- "Si plusieurs groupes ACF sont présents sur une page d‘édition, le groupe portant le numéro le plus bas "
1904
- "sera affiché en premier."
1905
 
1906
  #: ../core/views/meta_box_options.php:96
1907
  msgid "Content Editor"
@@ -1954,34 +2062,41 @@ msgstr "Envoyer des Trackbacks"
1954
  #~ " * Install Add-ons\n"
1955
  #~ " * \n"
1956
  #~ " * The following code will include all 4 premium Add-Ons in your theme.\n"
1957
- #~ " * Please do not attempt to include a file which does not exist. This will produce an error.\n"
 
1958
  #~ " * \n"
1959
- #~ " * The following code assumes you have a folder 'add-ons' inside your theme.\n"
 
1960
  #~ " *\n"
1961
  #~ " * IMPORTANT\n"
1962
- #~ " * Add-ons may be included in a premium theme/plugin as outlined in the terms and conditions.\n"
 
1963
  #~ " * For more information, please read:\n"
1964
  #~ " * - http://www.advancedcustomfields.com/terms-conditions/\n"
1965
- #~ " * - http://www.advancedcustomfields.com/resources/getting-started/including-lite-mode-in-a-plugin-"
1966
- #~ "theme/\n"
1967
  #~ " */"
1968
  #~ msgstr ""
1969
  #~ "/**\n"
1970
  #~ " * Installation des Add-ons\n"
1971
  #~ " * \n"
1972
  #~ " * Le code suivant incluera les 4 Add-ons premium dans votre thème.\n"
1973
- #~ " * N'essayez pas d'inclure un fichier qui n'existe pas sous peine de rencontrer des erreurs.\n"
 
1974
  #~ " * \n"
1975
- #~ " * Tous les champs doivent être inclus durant l'action 'acf/register_fields'.\n"
1976
- #~ " * Les autres Add-ons (comme la page Options) peuvent être inclus en dehors de cette action.\n"
 
 
1977
  #~ " * \n"
1978
- #~ " * Vous devez placer un dossier add-ons dans votre thème afin que le code suivant fonctionne "
1979
- #~ "correctement.\n"
1980
  #~ " *\n"
1981
  #~ " * IMPORTANT\n"
1982
- #~ " * Les Add-ons peuvent être inclus dans un thème premium à condition de respecter les termes du "
1983
- #~ "contrat de licence ACF.\n"
1984
- #~ " * Cependant, ils ne doivent pas être inclus dans une autre extension gratuite ou premium. \n"
1985
- #~ " * Pour plus d'informations veuillez consulter cette page http://www.advancedcustomfields.com/terms-"
1986
- #~ "conditions/\n"
 
1987
  #~ " */"
3
  "Project-Id-Version: Advanced Custom Field - version 3.4.1\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
5
  "POT-Creation-Date: 2013-10-22 18:19+0100\n"
6
+ "PO-Revision-Date: 2013-10-22 18:32+0100\n"
7
+ "Last-Translator: Frédéric Lopez <frederic.lopez@glasshouse.fr>\n"
8
  "Language-Team: RVOLA <hello@rvola.com>\n"
9
+ "Language: French\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_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-Textdomain-Support: yes\n"
18
  "X-Poedit-Basepath: .\n"
19
+ "X-Generator: Poedit 1.5.7\n"
20
 
21
  # @ acf
22
  #: ../acf.php:436
182
  #: ../core/controllers/addons.php:145
183
  msgid "Create global data to use throughout your website!"
184
  msgstr ""
185
+ "Créez avec ACF une page d'options pour configurer des informations "
186
+ "utilisable depuis n'importe quelle page."
187
 
188
  # @ acf
189
  #: ../core/controllers/addons.php:151
227
 
228
  #: ../core/controllers/addons.php:183
229
  msgid "Assign one or more contact form 7 forms to a post"
230
+ msgstr ""
231
+ "Assignez un ou plusieurs formulaires Contact Form 7 dans vos publications."
232
 
233
  # @ acf
234
  #: ../core/controllers/addons.php:193
237
 
238
  #: ../core/controllers/addons.php:196
239
  msgid ""
240
+ "The following Add-ons are available to increase the functionality of the "
241
+ "Advanced Custom Fields plugin."
242
  msgstr "Ces Add-ons vous permettent d'étendre les possibilités d'ACF."
243
 
244
  #: ../core/controllers/addons.php:197
245
  msgid ""
246
+ "Each Add-on can be installed as a separate plugin (receives updates) or "
247
+ "included in your theme (does not receive updates)."
248
  msgstr ""
249
+ "Chaque Add-on peut être installé séparément en tant qu'extension (avec mises "
250
+ "à jour) ou inclus dans votre thème (sans mises à jour)"
251
 
252
  #: ../core/controllers/addons.php:219 ../core/controllers/addons.php:240
253
  msgid "Installed"
258
  msgstr "Acheter & installer"
259
 
260
  #: ../core/controllers/addons.php:242 ../core/controllers/field_groups.php:426
261
+ #: ../core/controllers/field_groups.php:435
262
+ #: ../core/controllers/field_groups.php:443
263
+ #: ../core/controllers/field_groups.php:451
264
+ #: ../core/controllers/field_groups.php:459
265
  msgid "Download"
266
  msgstr "Télécharger"
267
 
282
 
283
  #: ../core/controllers/export.php:222
284
  msgid "Select the field groups to be exported"
285
+ msgstr ""
286
+ "Sélectionnez les groupes de champs dans la liste et cliquez sur \"Exporter "
287
+ "XML\""
288
 
289
  # @ acf
290
  #: ../core/controllers/export.php:239 ../core/controllers/export.php:252
298
 
299
  # @ acf
300
  #: ../core/controllers/export.php:253
301
+ msgid ""
302
+ "ACF will create a .xml export file which is compatible with the native WP "
303
+ "import plugin."
304
+ msgstr ""
305
+ "ACF générera un fichier d‘export .xml compatible avec le plugin d'import "
306
+ "natif de WordPress."
307
 
308
  #: ../core/controllers/export.php:254
309
  msgid ""
310
+ "Imported field groups <b>will</b> appear in the list of editable field "
311
+ "groups. This is useful for migrating fields groups between Wp websites."
312
  msgstr ""
313
+ "Les groupes de champs importés <b>apparaitront</b> dans ACF. Utile pour "
314
+ "migrer les groupes de champs entre plusieurs site Wordpress."
315
 
316
  #: ../core/controllers/export.php:256
317
  msgid "Select field group(s) from the list and click \"Export XML\""
318
+ msgstr ""
319
+ "Sélectionnez les groupes de champs dans la liste et cliquez sur \"Exporter "
320
+ "XML\""
321
 
322
  #: ../core/controllers/export.php:257
323
  msgid "Save the .xml file when prompted"
354
 
355
  #: ../core/controllers/export.php:269 ../core/controllers/export.php:310
356
  msgid ""
357
+ "Registered field groups <b>will not</b> appear in the list of editable field "
358
+ "groups. This is useful for including fields in themes."
359
  msgstr ""
360
+ "Les groupes de champs enregistrés <b>n‘apparaitront pas</b> dans ACF. Cette "
361
+ "manipulation sert à insérer les champs en PHP directement dans le thème."
362
 
363
  #: ../core/controllers/export.php:270 ../core/controllers/export.php:311
364
  msgid ""
365
+ "Please note that if you export and register field groups within the same WP, "
366
+ "you will see duplicate fields on your edit screens. To fix this, please move "
367
+ "the original field group to the trash or remove the code from your functions."
368
+ "php file."
369
  msgstr ""
370
+ "Si vous exportez ET inscrivez les groupes dans la même installation WP, vous "
371
+ "verrez les champs en double dans votre page d‘édition. Pour éviter cela, "
372
+ "supprimer le groupe depuis ACF ou retirez le code PHP de functions.php."
373
 
374
  #: ../core/controllers/export.php:272
375
  msgid "Select field group(s) from the list and click \"Create PHP\""
376
+ msgstr ""
377
+ "Sélectionnez les groupes de champs dans la liste et cliquez sur \"Générer PHP"
378
+ "\""
379
 
380
  # @ acf
381
  #: ../core/controllers/export.php:273 ../core/controllers/export.php:302
390
  # @ acf
391
  #: ../core/controllers/export.php:275 ../core/controllers/export.php:304
392
  msgid "To activate any Add-ons, edit and use the code in the first few lines."
393
+ msgstr ""
394
+ "Pour activer un add-on, éditez le code dans les toutes premières lignes."
395
 
396
  # @ acf
397
  #: ../core/controllers/export.php:295
413
 
414
  #: ../core/controllers/export.php:317
415
  msgid ""
416
+ "The Advanced Custom Fields plugin can be included within a theme. To do so, "
417
+ "move the ACF plugin inside your theme and add the following code to your "
418
+ "functions.php file:"
419
  msgstr ""
420
+ "ACF peut être directement inclus dans un thème ! Déplacez pour cela le "
421
+ "dossier Advanced Custom Field dans votre thème et ajoutez le code suivant à "
422
+ "votre fichier functions.php :"
423
 
424
  #: ../core/controllers/export.php:323
425
  msgid ""
426
+ "To remove all visual interfaces from the ACF plugin, you can use a constant "
427
+ "to enable lite mode. Add the following code to your functions.php file "
428
+ "<b>before</b> the include_once code:"
429
  msgstr ""
430
+ "Pour désactiver l'interface d'ACF, vous pouvez utiliser une constante pour "
431
+ "activer le mode 'lite'. Ajoutez dans le fichier 'functions.php' <b>avant</"
432
+ "b> le code 'include_once' :"
433
 
434
  # @ acf
435
  #: ../core/controllers/export.php:331
463
  msgid "copy"
464
  msgstr "copie"
465
 
466
+ #: ../core/controllers/field_group.php:363
467
+ #: ../core/views/meta_box_location.php:62
468
  #: ../core/views/meta_box_location.php:159
469
  msgid "or"
470
  msgstr "ou"
471
 
472
  # @ acf
473
+ #: ../core/controllers/field_group.php:364
474
+ #: ../core/controllers/field_group.php:395
475
+ #: ../core/controllers/field_group.php:457
476
+ #: ../core/controllers/field_groups.php:148
477
  msgid "Fields"
478
  msgstr "Champs"
479
 
505
  msgstr "Montrer la clé :"
506
 
507
  #: ../core/controllers/field_group.php:460 ../core/fields/page_link.php:138
508
+ #: ../core/fields/page_link.php:159 ../core/fields/post_object.php:328
509
+ #: ../core/fields/post_object.php:349 ../core/fields/select.php:224
510
+ #: ../core/fields/select.php:243 ../core/fields/taxonomy.php:343
511
+ #: ../core/fields/user.php:285 ../core/fields/wysiwyg.php:245
512
+ #: ../core/views/meta_box_fields.php:195 ../core/views/meta_box_fields.php:218
513
  msgid "No"
514
  msgstr "Non"
515
 
516
  #: ../core/controllers/field_group.php:461 ../core/fields/page_link.php:137
517
+ #: ../core/fields/page_link.php:158 ../core/fields/post_object.php:327
518
+ #: ../core/fields/post_object.php:348 ../core/fields/select.php:223
519
+ #: ../core/fields/select.php:242 ../core/fields/taxonomy.php:342
520
+ #: ../core/fields/user.php:284 ../core/fields/wysiwyg.php:244
521
+ #: ../core/views/meta_box_fields.php:194 ../core/views/meta_box_fields.php:217
522
  msgid "Yes"
523
  msgstr "Oui"
524
 
579
  msgid "Super Admin"
580
  msgstr "Super-admin"
581
 
582
+ #: ../core/controllers/field_group.php:761
583
+ #: ../core/controllers/field_group.php:782
584
+ #: ../core/controllers/field_group.php:789 ../core/fields/file.php:186
585
+ #: ../core/fields/image.php:170 ../core/fields/page_link.php:109
586
+ #: ../core/fields/post_object.php:274 ../core/fields/post_object.php:298
587
+ #: ../core/fields/relationship.php:595 ../core/fields/relationship.php:619
588
+ #: ../core/fields/user.php:229
589
  msgid "All"
590
  msgstr "Tous"
591
 
594
  msgstr "Titre"
595
 
596
  # @ acf
597
+ #: ../core/controllers/field_groups.php:216
598
+ #: ../core/controllers/field_groups.php:257
599
  msgid "Changelog"
600
  msgstr "Notes de version"
601
 
632
  msgid "Actions"
633
  msgstr "Actions"
634
 
635
+ #: ../core/controllers/field_groups.php:225
636
+ #: ../core/fields/relationship.php:638
637
  msgid "Filters"
638
  msgstr "Filtres"
639
 
688
 
689
  #: ../core/controllers/field_groups.php:314
690
  msgid ""
691
+ "Add-ons are now activated by downloading and installing individual plugins. "
692
+ "Although these plugins will not be hosted on the wordpress.org repository, "
693
+ "each Add-on will continue to receive updates in the usual way."
694
  msgstr ""
695
+ "Les Add-ons doivent être désormais téléchargés depuis le site ACF et sont "
696
+ "présentés sous forme d'extensions. Elles ne seront pas hébergées sur le "
697
+ "répertoire d'extension de WordPress. Chaque Add-on continuera de recevoir "
698
+ "les mises à jour comme d'habitude."
699
 
700
  #: ../core/controllers/field_groups.php:320
701
  msgid "All previous Add-ons have been successfully installed"
703
 
704
  #: ../core/controllers/field_groups.php:324
705
  msgid "This website uses premium Add-ons which need to be downloaded"
706
+ msgstr ""
707
+ "Ce site utilise des Add-ons premium qui nécessitent d'être téléchargés."
708
 
709
  # @ acf
710
  #: ../core/controllers/field_groups.php:324
712
  msgstr "Téléchargez les Add-ons activés"
713
 
714
  #: ../core/controllers/field_groups.php:329
715
+ msgid ""
716
+ "This website does not use premium Add-ons and will not be affected by this "
717
+ "change."
718
+ msgstr ""
719
+ "Ce site n'utilise pas d'Add-ons et ne sera donc pas affecté par cette mise à "
720
+ "jour."
721
 
722
  #: ../core/controllers/field_groups.php:339
723
  msgid "Easier Development"
754
 
755
  #: ../core/controllers/field_groups.php:349
756
  msgid ""
757
+ "Creating your own field type has never been easier! Unfortunately, version 3 "
758
+ "field types are not compatible with version 4."
759
  msgstr ""
760
+ "Créer votre propre type de champ est très facile ! Malheureusement les "
761
+ "champs créés avec la version 3 ne seront pas compatible avec la version 4."
762
 
763
  #: ../core/controllers/field_groups.php:350
764
  msgid "Migrating your field types is easy, please"
777
  msgstr "Actions &amp; Filtres"
778
 
779
  #: ../core/controllers/field_groups.php:353
780
+ msgid ""
781
+ "All actions & filters have received a major facelift to make customizing ACF "
782
+ "even easier! Please"
783
  msgstr ""
784
+ "Toutes les actions & filtres ont été revus afin de rendre la "
785
+ "personnalisation d'ACF encore plus facile !"
786
 
787
  # @ acf
788
  #: ../core/controllers/field_groups.php:353
815
 
816
  #: ../core/controllers/field_groups.php:363
817
  msgid ""
818
+ "Absolutely <strong>no</strong> changes have been made to the database "
819
+ "between versions 3 and 4. This means you can roll back to version 3 without "
820
+ "any issues."
821
  msgstr ""
822
+ "Il n'y a eu <strong>aucun</strong> changement dans la base de données entre "
823
+ "la version 3 et la version 4. Cela veut dire que vous pouvez retourner à la "
824
+ "version 3 sans aucun problème."
825
 
826
  #: ../core/controllers/field_groups.php:365
827
  msgid "Potential Issues"
829
 
830
  #: ../core/controllers/field_groups.php:366
831
  msgid ""
832
+ "Do to the sizable changes surounding Add-ons, field types and action/"
833
+ "filters, your website may not operate correctly. It is important that you "
834
+ "read the full"
835
  msgstr ""
836
+ "À cause des gros changements effectués autour des Add-ons, types de champs "
837
+ "et actions/filtres, votre site ne pourrait plus fonctionner correctement "
838
+ "après la migration. Il est important que vous consultiez"
839
 
840
  #: ../core/controllers/field_groups.php:366
841
  msgid "Migrating from v3 to v4"
851
 
852
  #: ../core/controllers/field_groups.php:369
853
  msgid ""
854
+ "If you updated the ACF plugin without prior knowledge of such changes, "
855
+ "please roll back to the latest"
856
  msgstr ""
857
+ "Si vous n'étiez pas au courant de ces changements lors de la mise à jour, "
858
+ "nous vous conseillons de revenir à la"
859
 
860
  #: ../core/controllers/field_groups.php:369
861
  msgid "version 3"
871
 
872
  #: ../core/controllers/field_groups.php:375
873
  msgid ""
874
+ "A <strong>BIG</strong> thank you to everyone who has helped test the version "
875
+ "4 beta and for all the support I have received."
876
  msgstr ""
877
+ "Un <strong>GRAND</strong> merci à tous ceux qui ont aidé dans le "
878
+ "développement de cette nouvelle version 4 et pour tout le support que vous "
879
+ "m'avez apporté !"
880
 
881
  #: ../core/controllers/field_groups.php:376
882
  msgid "Without you all, this release would not have been possible!"
883
+ msgstr ""
884
+ "Sans vous, cette version n'aurait pas pu voir le jour ! (Traduction FR par "
885
+ "@maximebj)"
886
 
887
  # @ acf
888
  #: ../core/controllers/field_groups.php:380
899
 
900
  #: ../core/controllers/field_groups.php:405
901
  msgid ""
902
+ "Previously, all Add-ons were unlocked via an activation code (purchased from "
903
+ "the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
904
+ "need to be individually downloaded, installed and updated."
905
  msgstr ""
906
+ "Dans les versions précédentes, les Add-ons étaient activés par un code "
907
+ "d'activation acheté depuis la boutique d'Add-ons ACF. Depuis la version 4, "
908
+ "les Add-ons fonctionnent en tant qu'extensions séparées qu'il faut "
909
+ "télécharger, installer et mettre à jour individuellement. "
910
 
911
  #: ../core/controllers/field_groups.php:407
912
+ msgid ""
913
+ "This page will assist you in downloading and installing each available Add-"
914
+ "on."
915
+ msgstr ""
916
+ "Cette page vous permet de télécharger et installer les Add-ons disponibles."
917
 
918
  # @ acf
919
  #: ../core/controllers/field_groups.php:409
962
 
963
  #: ../core/controllers/field_groups.php:473
964
  msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
965
+ msgstr ""
966
+ "Utilisez l'uploader pour trouver, sélectionner et installer votre Add-on "
967
+ "(fichier .zip)"
968
 
969
  #: ../core/controllers/field_groups.php:474
970
+ msgid ""
971
+ "Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
972
+ "link"
973
+ msgstr ""
974
+ "Une fois que l'extension a été importée et installée, cliquez sur \"Activer "
975
+ "l'extension\""
976
 
977
  #: ../core/controllers/field_groups.php:475
978
  msgid "The Add-on is now installed and activated!"
1018
 
1019
  #: ../core/controllers/upgrade.php:835
1020
  msgid "Moving user custom fields from wp_options to wp_usermeta'"
1021
+ msgstr ""
1022
+ "Déplacer les champs personnalisés des utilisateurs de wp_options à "
1023
+ "wp_usermeta '"
1024
 
1025
  # @ acf
1026
  #: ../core/fields/checkbox.php:19 ../core/fields/taxonomy.php:319
1028
  msgstr "Case à cocher"
1029
 
1030
  # @ acf
1031
+ #: ../core/fields/checkbox.php:20 ../core/fields/radio.php:19
1032
+ #: ../core/fields/select.php:19 ../core/fields/true_false.php:20
1033
  msgid "Choice"
1034
  msgstr "Choix"
1035
 
1036
  # @ acf
1037
+ #: ../core/fields/checkbox.php:146 ../core/fields/radio.php:144
1038
+ #: ../core/fields/select.php:177
1039
  msgid "Choices"
1040
  msgstr "Choix"
1041
 
1045
 
1046
  #: ../core/fields/checkbox.php:148 ../core/fields/select.php:179
1047
  msgid "For more control, you may specify both a value and label like this:"
1048
+ msgstr ""
1049
+ "Pour un contrôle plus poussé, vous pouvez spécifier la valeur et le libellé "
1050
+ "de cette manière :"
1051
 
1052
+ #: ../core/fields/checkbox.php:149 ../core/fields/radio.php:150
1053
+ #: ../core/fields/select.php:180
1054
  msgid "red : Red"
1055
  msgstr "rouge : Rouge"
1056
 
1057
+ #: ../core/fields/checkbox.php:149 ../core/fields/radio.php:151
1058
+ #: ../core/fields/select.php:180
1059
  msgid "blue : Blue"
1060
  msgstr "bleu : Bleu"
1061
 
1062
  # @ acf
1063
+ #: ../core/fields/checkbox.php:166 ../core/fields/color_picker.php:89
1064
+ #: ../core/fields/email.php:106 ../core/fields/number.php:116
1065
+ #: ../core/fields/radio.php:193 ../core/fields/select.php:197
1066
+ #: ../core/fields/text.php:116 ../core/fields/textarea.php:96
1067
+ #: ../core/fields/true_false.php:94 ../core/fields/wysiwyg.php:187
1068
  msgid "Default Value"
1069
  msgstr "Valeur par défaut"
1070
 
1073
  msgstr "Entrez chaque valeur par défaut sur une nouvelle ligne"
1074
 
1075
  # @ acf
1076
+ #: ../core/fields/checkbox.php:183 ../core/fields/message.php:20
1077
+ #: ../core/fields/radio.php:209 ../core/fields/tab.php:20
1078
  msgid "Layout"
1079
  msgstr "Disposition"
1080
 
1104
  msgid "Email"
1105
  msgstr "Mail"
1106
 
1107
+ #: ../core/fields/email.php:107 ../core/fields/number.php:117
1108
+ #: ../core/fields/text.php:117 ../core/fields/textarea.php:97
1109
+ #: ../core/fields/wysiwyg.php:188
1110
  msgid "Appears when creating a new post"
1111
  msgstr "Apparaît lors de la création d'un article"
1112
 
1113
+ #: ../core/fields/email.php:123 ../core/fields/number.php:133
1114
+ #: ../core/fields/password.php:105 ../core/fields/text.php:131
1115
+ #: ../core/fields/textarea.php:111
1116
  msgid "Placeholder Text"
1117
  msgstr "Texte de substitution"
1118
 
1119
+ #: ../core/fields/email.php:124 ../core/fields/number.php:134
1120
+ #: ../core/fields/password.php:106 ../core/fields/text.php:132
1121
+ #: ../core/fields/textarea.php:112
1122
  msgid "Appears within the input"
1123
  msgstr "Apparaît dans la saisie"
1124
 
1125
+ #: ../core/fields/email.php:138 ../core/fields/number.php:148
1126
+ #: ../core/fields/password.php:120 ../core/fields/text.php:146
1127
  msgid "Prepend"
1128
  msgstr "Préfixe"
1129
 
1130
+ #: ../core/fields/email.php:139 ../core/fields/number.php:149
1131
+ #: ../core/fields/password.php:121 ../core/fields/text.php:147
1132
  msgid "Appears before the input"
1133
  msgstr "Apparaît avant la saisie"
1134
 
1135
+ #: ../core/fields/email.php:153 ../core/fields/number.php:163
1136
+ #: ../core/fields/password.php:135 ../core/fields/text.php:161
1137
  msgid "Append"
1138
  msgstr "Suffixe"
1139
 
1140
+ #: ../core/fields/email.php:154 ../core/fields/number.php:164
1141
+ #: ../core/fields/password.php:136 ../core/fields/text.php:162
1142
  msgid "Appears after the input"
1143
  msgstr "Apparaît après la saisie"
1144
 
1147
  msgid "File"
1148
  msgstr "Fichier"
1149
 
1150
+ #: ../core/fields/file.php:20 ../core/fields/image.php:20
1151
+ #: ../core/fields/wysiwyg.php:36
1152
  msgid "Content"
1153
  msgstr "Contenu"
1154
 
1182
  msgstr "Ajouter un fichier"
1183
 
1184
  # @ acf
1185
+ #: ../core/fields/file.php:153 ../core/fields/image.php:118
1186
+ #: ../core/fields/taxonomy.php:367
1187
  msgid "Return Value"
1188
  msgstr "Valeur affichée dans le template"
1189
 
1325
  msgstr "Limite le choix dans la bibliothèque de médias"
1326
 
1327
  # @ acf
1328
+ #: ../core/fields/message.php:19 ../core/fields/message.php:70
1329
+ #: ../core/fields/true_false.php:79
1330
  msgid "Message"
1331
  msgstr "Message"
1332
 
1333
  #: ../core/fields/message.php:71
1334
  msgid "Text &amp; HTML entered here will appear inline with the fields"
1335
+ msgstr ""
1336
+ "Cette zone de texte &amp; HTML permet d'afficher des indications de saisie "
1337
+ "au rédacteur"
1338
 
1339
  #: ../core/fields/message.php:72
1340
  msgid "Please note that all text will first be passed through the wp function "
1363
  msgstr "Lien vers page ou article"
1364
 
1365
  # @ acf
1366
+ #: ../core/fields/page_link.php:19 ../core/fields/post_object.php:19
1367
+ #: ../core/fields/relationship.php:19 ../core/fields/taxonomy.php:19
1368
+ #: ../core/fields/user.php:19
1369
  msgid "Relational"
1370
  msgstr "Relationnel"
1371
 
1372
  # @ acf
1373
+ #: ../core/fields/page_link.php:103 ../core/fields/post_object.php:268
1374
+ #: ../core/fields/relationship.php:589 ../core/fields/relationship.php:668
1375
+ #: ../core/views/meta_box_location.php:75
1376
  msgid "Post Type"
1377
  msgstr "Type de publication"
1378
 
1379
  # @ acf
1380
+ #: ../core/fields/page_link.php:127 ../core/fields/post_object.php:317
1381
+ #: ../core/fields/select.php:214 ../core/fields/taxonomy.php:333
1382
+ #: ../core/fields/user.php:275
1383
  msgid "Allow Null?"
1384
  msgstr "Autoriser vide ?"
1385
 
1386
  # @ acf
1387
+ #: ../core/fields/page_link.php:148 ../core/fields/post_object.php:338
1388
+ #: ../core/fields/select.php:233
1389
  msgid "Select multiple values?"
1390
  msgstr "Plusieurs valeurs possibles ?"
1391
 
1410
 
1411
  #: ../core/fields/radio.php:102 ../core/views/meta_box_location.php:91
1412
  msgid "Other"
1413
+ msgstr "Sections de l'admin WordPress"
1414
 
1415
  #: ../core/fields/radio.php:145
1416
  msgid "Enter your choices one per line"
1498
  msgstr "Nombre d‘articles maximal"
1499
 
1500
  # @ acf
1501
+ #: ../core/fields/select.php:18 ../core/fields/select.php:109
1502
+ #: ../core/fields/taxonomy.php:324 ../core/fields/user.php:266
1503
  msgid "Select"
1504
  msgstr "Liste de choix"
1505
 
1509
 
1510
  #: ../core/fields/tab.php:68
1511
  msgid ""
1512
+ "Use \"Tab Fields\" to better organize your edit screen by grouping your "
1513
+ "fields together under separate tab headings."
1514
  msgstr ""
1515
+ "Utilisez le type de champ \"Onglet\" pour mieux organiser votre écran de "
1516
+ "saisie en regroupant vos champs sous des onglets différents."
1517
 
1518
  #: ../core/fields/tab.php:69
1519
  msgid ""
1520
+ "All the fields following this \"tab field\" (or until another \"tab field\" "
1521
+ "is defined) will be grouped together."
1522
+ msgstr ""
1523
+ "Tous les champs listés après cet onglet (ou jusqu'au prochain onglet) seront "
1524
+ "regroupés ensemble."
1525
 
1526
  #: ../core/fields/tab.php:70
1527
  msgid "Use multiple tabs to divide your fields into sections."
1537
  msgstr "Aucun"
1538
 
1539
  # @ acf
1540
+ #: ../core/fields/taxonomy.php:308 ../core/fields/user.php:251
1541
+ #: ../core/views/meta_box_fields.php:77 ../core/views/meta_box_fields.php:159
1542
  msgid "Field Type"
1543
  msgstr "Type de champ"
1544
 
1566
  msgstr "Charger & enregistrer les termes"
1567
 
1568
  #: ../core/fields/taxonomy.php:360
1569
+ msgid ""
1570
+ "Load value based on the post's terms and update the post's terms on save"
1571
  msgstr ""
1572
+ "Charge la valeur basée sur les termes de l'article et met à jour ces termes "
1573
+ "lors de l'enregistrement"
1574
 
1575
  # @ acf
1576
  #: ../core/fields/taxonomy.php:377
1681
  msgstr "Sauvegarder format"
1682
 
1683
  #: ../core/fields/date_picker/date_picker.php:127
1684
+ msgid ""
1685
+ "This format will determin the value saved to the database and returned via "
1686
+ "the API"
1687
+ msgstr ""
1688
+ "Ce format déterminera la valeur enregistrée dans la base de données et "
1689
+ "retournée par l‘API"
1690
 
1691
  #: ../core/fields/date_picker/date_picker.php:128
1692
  msgid "\"yymmdd\" is the most versatile save format. Read more about"
1693
+ msgstr ""
1694
+ "\"yymmdd\" est le format d‘enregistrement le plus polyvalent. En savoir plus "
1695
+ "sur"
1696
 
1697
  # @ acf
1698
+ #: ../core/fields/date_picker/date_picker.php:128
1699
+ #: ../core/fields/date_picker/date_picker.php:144
1700
  msgid "jQuery date formats"
1701
  msgstr "Format date jQuery"
1702
 
1710
  msgstr "Ce format sera vu par l'utilisateur lors de la saisie d‘une valeur"
1711
 
1712
  #: ../core/fields/date_picker/date_picker.php:144
1713
+ msgid ""
1714
+ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
1715
+ "about"
1716
+ msgstr ""
1717
+ "\"dd/mm/yy\" ou \"mm/dd/yy\" sont les formats d‘affichage les plus "
1718
+ "utilisées. En savoir plus sur"
1719
 
1720
  #: ../core/fields/date_picker/date_picker.php:158
1721
  msgid "Week Starts On"
1753
 
1754
  # @ acf
1755
  #: ../core/views/meta_box_fields.php:90
1756
+ msgid ""
1757
+ "No fields. Click the <strong>+ Add Field</strong> button to create your "
1758
+ "first field."
1759
+ msgstr ""
1760
+ "Aucun champ. Cliquez sur le bouton <strong>+ Ajouter</strong> pour créer "
1761
+ "votre premier champ."
1762
 
1763
  # @ acf
1764
  #: ../core/views/meta_box_fields.php:105 ../core/views/meta_box_fields.php:108
1812
  # @ acf
1813
  #: ../core/views/meta_box_fields.php:174
1814
  msgid "Instructions for authors. Shown when submitting data"
1815
+ msgstr ""
1816
+ "Instructions pour les auteurs. Affichées lors de la soumission de données."
1817
 
1818
  # @ acf
1819
  #: ../core/views/meta_box_fields.php:186
1824
  msgid "Conditional Logic"
1825
  msgstr "Logique conditionnelle"
1826
 
1827
+ #: ../core/views/meta_box_fields.php:260
1828
+ #: ../core/views/meta_box_location.php:117
1829
  msgid "is equal to"
1830
  msgstr "est égal à"
1831
 
1832
+ #: ../core/views/meta_box_fields.php:261
1833
+ #: ../core/views/meta_box_location.php:118
1834
  msgid "is not equal to"
1835
  msgstr "n‘est pas égal à"
1836
 
1872
 
1873
  # @ acf
1874
  #: ../core/views/meta_box_location.php:49
1875
+ msgid ""
1876
+ "Create a set of rules to determine which edit screens will use these "
1877
+ "advanced custom fields"
1878
  msgstr ""
1879
+ "Créez une série de règles pour déterminer sur quelles pages d‘édition ce "
1880
+ "groupe de champs sera utilisé"
1881
 
1882
  #: ../core/views/meta_box_location.php:60
1883
  msgid "Show this field group if"
1888
  msgstr "Rôle de l‘utilisateur"
1889
 
1890
  # @ acf
1891
+ #: ../core/views/meta_box_location.php:78
1892
+ #: ../core/views/meta_box_location.php:79
1893
  msgid "Page"
1894
  msgstr "Page"
1895
 
1908
  msgstr "Modèle de page"
1909
 
1910
  # @ acf
1911
+ #: ../core/views/meta_box_location.php:84
1912
+ #: ../core/views/meta_box_location.php:85
1913
  msgid "Post"
1914
  msgstr "Article"
1915
 
1957
  # @ acf
1958
  #: ../core/views/meta_box_options.php:26
1959
  msgid "Field groups are created in order <br />from lowest to highest"
1960
+ msgstr ""
1961
+ "Les groupes de champs sont créés dans <br/> ordre du plus bas vers le plus "
1962
+ "haut"
1963
 
1964
  # @ acf
1965
  #: ../core/views/meta_box_options.php:42
1998
  # @ acf
1999
  #: ../core/views/meta_box_options.php:85
2000
  msgid "<b>Select</b> items to <b>hide</b> them from the edit screen"
2001
+ msgstr ""
2002
+ "<b>Décochez</b> les champs que vous souhaitez <b>masquer</b> sur la page "
2003
+ "d‘édition"
2004
 
2005
  # @ acf
2006
  #: ../core/views/meta_box_options.php:86
2007
  msgid ""
2008
+ "If multiple field groups appear on an edit screen, the first field group's "
2009
+ "options will be used. (the one with the lowest order number)"
2010
  msgstr ""
2011
+ "Si plusieurs groupes ACF sont présents sur une page d‘édition, le groupe "
2012
+ "portant le numéro le plus bas sera affiché en premier."
2013
 
2014
  #: ../core/views/meta_box_options.php:96
2015
  msgid "Content Editor"
2062
  #~ " * Install Add-ons\n"
2063
  #~ " * \n"
2064
  #~ " * The following code will include all 4 premium Add-Ons in your theme.\n"
2065
+ #~ " * Please do not attempt to include a file which does not exist. This "
2066
+ #~ "will produce an error.\n"
2067
  #~ " * \n"
2068
+ #~ " * The following code assumes you have a folder 'add-ons' inside your "
2069
+ #~ "theme.\n"
2070
  #~ " *\n"
2071
  #~ " * IMPORTANT\n"
2072
+ #~ " * Add-ons may be included in a premium theme/plugin as outlined in the "
2073
+ #~ "terms and conditions.\n"
2074
  #~ " * For more information, please read:\n"
2075
  #~ " * - http://www.advancedcustomfields.com/terms-conditions/\n"
2076
+ #~ " * - http://www.advancedcustomfields.com/resources/getting-started/"
2077
+ #~ "including-lite-mode-in-a-plugin-theme/\n"
2078
  #~ " */"
2079
  #~ msgstr ""
2080
  #~ "/**\n"
2081
  #~ " * Installation des Add-ons\n"
2082
  #~ " * \n"
2083
  #~ " * Le code suivant incluera les 4 Add-ons premium dans votre thème.\n"
2084
+ #~ " * N'essayez pas d'inclure un fichier qui n'existe pas sous peine de "
2085
+ #~ "rencontrer des erreurs.\n"
2086
  #~ " * \n"
2087
+ #~ " * Tous les champs doivent être inclus durant l'action 'acf/"
2088
+ #~ "register_fields'.\n"
2089
+ #~ " * Les autres Add-ons (comme la page Options) peuvent être inclus en "
2090
+ #~ "dehors de cette action.\n"
2091
  #~ " * \n"
2092
+ #~ " * Vous devez placer un dossier add-ons dans votre thème afin que le "
2093
+ #~ "code suivant fonctionne correctement.\n"
2094
  #~ " *\n"
2095
  #~ " * IMPORTANT\n"
2096
+ #~ " * Les Add-ons peuvent être inclus dans un thème premium à condition de "
2097
+ #~ "respecter les termes du contrat de licence ACF.\n"
2098
+ #~ " * Cependant, ils ne doivent pas être inclus dans une autre extension "
2099
+ #~ "gratuite ou premium. \n"
2100
+ #~ " * Pour plus d'informations veuillez consulter cette page http://www."
2101
+ #~ "advancedcustomfields.com/terms-conditions/\n"
2102
  #~ " */"
lang/acf-pl_PL.mo CHANGED
Binary file
lang/acf-pl_PL.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Advanced Custom Fields\n"
4
  "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
5
  "POT-Creation-Date: 2015-08-21 10:24+1000\n"
6
- "PO-Revision-Date: 2015-08-23 10:09+1000\n"
7
  "Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
8
  "Language-Team: Michal Lepiarz <ml@e-poka.com>\n"
9
  "Language: pl_PL\n"
@@ -25,7 +25,7 @@ msgstr ""
25
 
26
  #: acf.php:485
27
  msgid "Field&nbsp;Groups"
28
- msgstr "Grupy pól"
29
 
30
  #. Plugin Name of the plugin/theme
31
  #: acf.php:486 core/controllers/field_groups.php:213
@@ -131,7 +131,7 @@ msgstr "Nie zaznaczona żadnej grupy"
131
 
132
  #: core/api.php:1171
133
  msgid "Update"
134
- msgstr "Aktualizacja"
135
 
136
  #: core/api.php:1172
137
  msgid "Post updated"
@@ -143,7 +143,7 @@ msgstr "Dodatki"
143
 
144
  #: core/controllers/addons.php:130 core/controllers/field_groups.php:428
145
  msgid "Repeater Field"
146
- msgstr "Pola powtarzalne"
147
 
148
  #: core/controllers/addons.php:131
149
  msgid "Create infinite rows of repeatable data with this versatile interface!"
@@ -412,7 +412,7 @@ msgstr "Tytuł Grupy pól jest wymagany"
412
 
413
  #: core/controllers/field_group.php:362
414
  msgid "copy"
415
- msgstr "kopia"
416
 
417
  #: core/controllers/field_group.php:363 core/views/meta_box_location.php:62
418
  #: core/views/meta_box_location.php:159
@@ -491,8 +491,9 @@ msgid "Default Template"
491
  msgstr "Domyślny szablon"
492
 
493
  #: core/controllers/field_group.php:727
 
494
  msgid "Published"
495
- msgstr "Opublikowany"
496
 
497
  #: core/controllers/field_group.php:728
498
  msgid "Pending Review"
@@ -540,9 +541,9 @@ msgid "Changelog"
540
  msgstr "Log zmian"
541
 
542
  #: core/controllers/field_groups.php:216
543
- #, php-format
544
  msgid "See what's new in %1$sversion %2$s%3$s"
545
- msgstr "Zobacz co nowego w %1$swersji %2$s%3$s"
546
 
547
  #: core/controllers/field_groups.php:218
548
  msgid "Resources"
@@ -589,12 +590,12 @@ msgid "Thank you for updating to the latest version!"
589
  msgstr "Dziękujemy za aktualizację do najnowszej wersji!"
590
 
591
  #: core/controllers/field_groups.php:244
592
- #, php-format
593
  msgid ""
594
  "ACF %s is more polished and enjoyable than ever before. We hope you like it."
595
  msgstr ""
596
- "ACF %s jest bardziej dobracowany i przyjemniejszy w obsłudze niż "
597
- "kiedykolwiek wcześniej. Mamy nadzieję, że Ci się spodoba."
598
 
599
  #: core/controllers/field_groups.php:251
600
  msgid "What’s New"
@@ -676,28 +677,25 @@ msgstr ""
676
  "wersji 3 nie są kompatybilne z wersją 4."
677
 
678
  #: core/controllers/field_groups.php:345
679
- #, php-format
680
  msgid ""
681
  "Migrating your field types is easy, please %sfollow this tutorial%s to learn "
682
  "more."
683
- msgstr ""
684
- "Migracja Twoich pól jest łatwa. Proszę %spodążaj za wskazówkami%s aby "
685
- "dowiedzieć się więcej."
686
 
687
  #: core/controllers/field_groups.php:347
688
  msgid "Actions &amp; Filters"
689
  msgstr "Akcje &amp; Filtry"
690
 
691
  #: core/controllers/field_groups.php:348
692
- #, php-format
693
  msgid ""
694
  "All actions & filters have received a major facelift to make customizing ACF "
695
  "even easier! Please %sread this guide%s to find the updated naming "
696
  "convention."
697
  msgstr ""
698
- "Wszystkie akcje i filtry przeszły gruntowną zmianę, aby dostosowywanie ACF "
699
- "było jeszcze łatwiejsze! Proszę %sprzeczytaj ten przewodnik%s aby znaleźć "
700
- "zaktualizowane nazewnictwo."
701
 
702
  #: core/controllers/field_groups.php:350
703
  msgid "Preview draft is now working!"
@@ -735,29 +733,28 @@ msgid "Potential Issues"
735
  msgstr "Potencjalne problemy"
736
 
737
  #: core/controllers/field_groups.php:361
738
- #, php-format
739
  msgid ""
740
  "Due to the sizable changes surounding Add-ons, field types and action/"
741
  "filters, your website may not operate correctly. It is important that you "
742
  "read the full %sMigrating from v3 to v4%s guide to view the full list of "
743
  "changes."
744
  msgstr ""
745
- "Ze względu na zmian w dodatkach, typach pól i akcjach/filtrach, twoja strona "
746
- "może nie działać poprawnie. Ważne jest zapoznanie się z całością przewodnika "
747
- "%sMigracji z wersji 3 na wersję 4%s gdzie znajduje się pełna lista zmian."
748
 
749
  #: core/controllers/field_groups.php:364
750
  msgid "Really Important!"
751
  msgstr "Naprawdę ważne!"
752
 
753
  #: core/controllers/field_groups.php:364
754
- #, php-format
755
  msgid ""
756
  "If you updated the ACF plugin without prior knowledge of such changes, "
757
  "please roll back to the latest %sversion 3%s of this plugin."
758
  msgstr ""
759
  "Jeśli zaktualizowałeś wtyczkę ACF bez wcześniejszym zapoznaniem się ze "
760
- "zmianami proszę wróć do ostatniej %swersji 3%s tej wtyczki. "
761
 
762
  #: core/controllers/field_groups.php:369
763
  msgid "Thank You"
@@ -838,9 +835,9 @@ msgid "Download the Add-on plugin (.zip file) to your desktop"
838
  msgstr "Pobierz wtyczkę z dodatkiem (plik .zip) na swój komputer"
839
 
840
  #: core/controllers/field_groups.php:467
841
- #, php-format
842
  msgid "Navigate to %sPlugins > Add New > Upload%s"
843
- msgstr "Przejdź do %sWtyczki > Dodaj nową > Wyślij wtyczkę na serwer%s"
844
 
845
  #: core/controllers/field_groups.php:468
846
  msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
@@ -889,8 +886,9 @@ msgid "Modifying field option 'taxonomy'"
889
  msgstr "Modyfikacja pola grupy opcji \"taksonomia\""
890
 
891
  #: core/controllers/upgrade.php:750
 
892
  msgid "Moving user custom fields from wp_options to wp_usermeta"
893
- msgstr "Przenoszenie własnych pól użytkownika z wp_options na wp_usermeta"
894
 
895
  #: core/fields/_base.php:124 core/views/meta_box_location.php:74
896
  msgid "Basic"
@@ -995,7 +993,7 @@ msgstr ""
995
  #: core/fields/date_picker/date_picker.php:128
996
  msgid "\"yymmdd\" is the most versatile save format. Read more about"
997
  msgstr ""
998
- "\"yymmdd\" to najbardziej uniwersalny format zapisu. Przeczytaj więcej o"
999
 
1000
  #: core/fields/date_picker/date_picker.php:128
1001
  #: core/fields/date_picker/date_picker.php:144
@@ -1016,7 +1014,7 @@ msgid ""
1016
  "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
1017
  "about"
1018
  msgstr ""
1019
- "\"dd/mm/yy\" lub \"mm/dd/yy\" to najczęściej używane formaty wyświetlania. "
1020
  "Przeczytaj więcej o"
1021
 
1022
  #: core/fields/date_picker/date_picker.php:158
@@ -1094,6 +1092,7 @@ msgid "uploaded to this post"
1094
  msgstr "wgrane do tego wpisu"
1095
 
1096
  #: core/fields/file.php:113
 
1097
  msgid "Size"
1098
  msgstr "Rozmiar"
1099
 
@@ -1303,6 +1302,7 @@ msgid "Post Object"
1303
  msgstr "Obiekt wpis"
1304
 
1305
  #: core/fields/post_object.php:194 core/fields/relationship.php:170
 
1306
  msgid "(no title)"
1307
  msgstr "(bez tytułu)"
1308
 
@@ -1504,12 +1504,14 @@ msgid "Text Area"
1504
  msgstr "Pole tekstowe"
1505
 
1506
  #: core/fields/textarea.php:148
 
1507
  msgid "Rows"
1508
  msgstr "Wiersze"
1509
 
1510
  #: core/fields/textarea.php:149
 
1511
  msgid "Sets the textarea height"
1512
- msgstr "Określa wysokość obszaru tekstowego"
1513
 
1514
  #: core/fields/textarea.php:175
1515
  msgid "Convert new lines into &lt;br /&gt; tags"
@@ -1781,7 +1783,7 @@ msgstr ""
1781
 
1782
  #: core/views/meta_box_options.php:96
1783
  msgid "Permalink"
1784
- msgstr "Link bezpośredni"
1785
 
1786
  #: core/views/meta_box_options.php:97
1787
  msgid "Content Editor"
@@ -1825,25 +1827,26 @@ msgstr "Tagi"
1825
 
1826
  #: core/views/meta_box_options.php:109
1827
  msgid "Send Trackbacks"
1828
- msgstr "Wyślij Trackbacki"
1829
 
1830
  #. Plugin URI of the plugin/theme
1831
  msgid "http://www.advancedcustomfields.com/"
1832
- msgstr "http://www.advancedcustomfields.com/"
1833
 
1834
  #. Description of the plugin/theme
 
1835
  msgid "Customise WordPress with powerful, professional and intuitive fields"
1836
  msgstr ""
1837
- "Dostosuj WordPress'a przy pomocy potężnych, profesjonalnych i łatwych w "
1838
- "obsłudze własnych pól."
1839
 
1840
  #. Author of the plugin/theme
1841
  msgid "Elliot Condon"
1842
- msgstr "Elliot Condon"
1843
 
1844
  #. Author URI of the plugin/theme
1845
  msgid "http://www.elliotcondon.com/"
1846
- msgstr "http://www.elliotcondon.com/"
1847
 
1848
  #~ msgid "version"
1849
  #~ msgstr "wersja"
3
  "Project-Id-Version: Advanced Custom Fields\n"
4
  "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
5
  "POT-Creation-Date: 2015-08-21 10:24+1000\n"
6
+ "PO-Revision-Date: 2015-08-21 10:26+1000\n"
7
  "Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
8
  "Language-Team: Michal Lepiarz <ml@e-poka.com>\n"
9
  "Language: pl_PL\n"
25
 
26
  #: acf.php:485
27
  msgid "Field&nbsp;Groups"
28
+ msgstr "Własne pola"
29
 
30
  #. Plugin Name of the plugin/theme
31
  #: acf.php:486 core/controllers/field_groups.php:213
131
 
132
  #: core/api.php:1171
133
  msgid "Update"
134
+ msgstr "Aktualizuj"
135
 
136
  #: core/api.php:1172
137
  msgid "Post updated"
143
 
144
  #: core/controllers/addons.php:130 core/controllers/field_groups.php:428
145
  msgid "Repeater Field"
146
+ msgstr "Powtórz Pole"
147
 
148
  #: core/controllers/addons.php:131
149
  msgid "Create infinite rows of repeatable data with this versatile interface!"
412
 
413
  #: core/controllers/field_group.php:362
414
  msgid "copy"
415
+ msgstr "kopiuj"
416
 
417
  #: core/controllers/field_group.php:363 core/views/meta_box_location.php:62
418
  #: core/views/meta_box_location.php:159
491
  msgstr "Domyślny szablon"
492
 
493
  #: core/controllers/field_group.php:727
494
+ #, fuzzy
495
  msgid "Published"
496
+ msgstr "Opublikuj"
497
 
498
  #: core/controllers/field_group.php:728
499
  msgid "Pending Review"
541
  msgstr "Log zmian"
542
 
543
  #: core/controllers/field_groups.php:216
544
+ #, fuzzy, php-format
545
  msgid "See what's new in %1$sversion %2$s%3$s"
546
+ msgstr "Zobacz co nowego w"
547
 
548
  #: core/controllers/field_groups.php:218
549
  msgid "Resources"
590
  msgstr "Dziękujemy za aktualizację do najnowszej wersji!"
591
 
592
  #: core/controllers/field_groups.php:244
593
+ #, fuzzy, php-format
594
  msgid ""
595
  "ACF %s is more polished and enjoyable than ever before. We hope you like it."
596
  msgstr ""
597
+ "jest bardziej dopracowana i przyjemniejsza niż kiedykolwiek. Mamy nadzieję, "
598
+ "że Ci się spodoba."
599
 
600
  #: core/controllers/field_groups.php:251
601
  msgid "What’s New"
677
  "wersji 3 nie są kompatybilne z wersją 4."
678
 
679
  #: core/controllers/field_groups.php:345
680
+ #, fuzzy, php-format
681
  msgid ""
682
  "Migrating your field types is easy, please %sfollow this tutorial%s to learn "
683
  "more."
684
+ msgstr "Migracja typów pól jest łatwa, proszę"
 
 
685
 
686
  #: core/controllers/field_groups.php:347
687
  msgid "Actions &amp; Filters"
688
  msgstr "Akcje &amp; Filtry"
689
 
690
  #: core/controllers/field_groups.php:348
691
+ #, fuzzy, php-format
692
  msgid ""
693
  "All actions & filters have received a major facelift to make customizing ACF "
694
  "even easier! Please %sread this guide%s to find the updated naming "
695
  "convention."
696
  msgstr ""
697
+ "Wszystkie akcje i filtry przeszły gruntowną zmianę aby dostosowywanie ACF "
698
+ "było jeszcze łatwiejsze! Proszę"
 
699
 
700
  #: core/controllers/field_groups.php:350
701
  msgid "Preview draft is now working!"
733
  msgstr "Potencjalne problemy"
734
 
735
  #: core/controllers/field_groups.php:361
736
+ #, fuzzy, php-format
737
  msgid ""
738
  "Due to the sizable changes surounding Add-ons, field types and action/"
739
  "filters, your website may not operate correctly. It is important that you "
740
  "read the full %sMigrating from v3 to v4%s guide to view the full list of "
741
  "changes."
742
  msgstr ""
743
+ "Po dokonaniu zmian w dodatkach, typach pól i akcjach/filtrach twoja strona "
744
+ "może nie działać poprawnie. Ważne jest zapoznanie się z pełnym"
 
745
 
746
  #: core/controllers/field_groups.php:364
747
  msgid "Really Important!"
748
  msgstr "Naprawdę ważne!"
749
 
750
  #: core/controllers/field_groups.php:364
751
+ #, fuzzy, php-format
752
  msgid ""
753
  "If you updated the ACF plugin without prior knowledge of such changes, "
754
  "please roll back to the latest %sversion 3%s of this plugin."
755
  msgstr ""
756
  "Jeśli zaktualizowałeś wtyczkę ACF bez wcześniejszym zapoznaniem się ze "
757
+ "zmianami proszę wróć do ostatniej"
758
 
759
  #: core/controllers/field_groups.php:369
760
  msgid "Thank You"
835
  msgstr "Pobierz wtyczkę z dodatkiem (plik .zip) na swój komputer"
836
 
837
  #: core/controllers/field_groups.php:467
838
+ #, fuzzy, php-format
839
  msgid "Navigate to %sPlugins > Add New > Upload%s"
840
+ msgstr "Wtyczki > Dodaj nową > Wyślij wtyczkę na serwer"
841
 
842
  #: core/controllers/field_groups.php:468
843
  msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
886
  msgstr "Modyfikacja pola grupy opcji \"taksonomia\""
887
 
888
  #: core/controllers/upgrade.php:750
889
+ #, fuzzy
890
  msgid "Moving user custom fields from wp_options to wp_usermeta"
891
+ msgstr "Modyfikacja własnych pól użytkownika z wp_options na wp_usermeta"
892
 
893
  #: core/fields/_base.php:124 core/views/meta_box_location.php:74
894
  msgid "Basic"
993
  #: core/fields/date_picker/date_picker.php:128
994
  msgid "\"yymmdd\" is the most versatile save format. Read more about"
995
  msgstr ""
996
+ "\"rrmmdd\" to najbardziej uniwersalny format zapisu. Przeczytaj więcej o"
997
 
998
  #: core/fields/date_picker/date_picker.php:128
999
  #: core/fields/date_picker/date_picker.php:144
1014
  "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used display formats. Read more "
1015
  "about"
1016
  msgstr ""
1017
+ "\"dd/mm/rr\" lub \"dd/mm/rr\" to najczęściej używane formaty wyświetlania. "
1018
  "Przeczytaj więcej o"
1019
 
1020
  #: core/fields/date_picker/date_picker.php:158
1092
  msgstr "wgrane do tego wpisu"
1093
 
1094
  #: core/fields/file.php:113
1095
+ #, fuzzy
1096
  msgid "Size"
1097
  msgstr "Rozmiar"
1098
 
1302
  msgstr "Obiekt wpis"
1303
 
1304
  #: core/fields/post_object.php:194 core/fields/relationship.php:170
1305
+ #, fuzzy
1306
  msgid "(no title)"
1307
  msgstr "(bez tytułu)"
1308
 
1504
  msgstr "Pole tekstowe"
1505
 
1506
  #: core/fields/textarea.php:148
1507
+ #, fuzzy
1508
  msgid "Rows"
1509
  msgstr "Wiersze"
1510
 
1511
  #: core/fields/textarea.php:149
1512
+ #, fuzzy
1513
  msgid "Sets the textarea height"
1514
+ msgstr "Określa wysokość obszaru tekstowego."
1515
 
1516
  #: core/fields/textarea.php:175
1517
  msgid "Convert new lines into &lt;br /&gt; tags"
1783
 
1784
  #: core/views/meta_box_options.php:96
1785
  msgid "Permalink"
1786
+ msgstr "Link bezpośderni"
1787
 
1788
  #: core/views/meta_box_options.php:97
1789
  msgid "Content Editor"
1827
 
1828
  #: core/views/meta_box_options.php:109
1829
  msgid "Send Trackbacks"
1830
+ msgstr "Wyślij Trackbacks"
1831
 
1832
  #. Plugin URI of the plugin/theme
1833
  msgid "http://www.advancedcustomfields.com/"
1834
+ msgstr ""
1835
 
1836
  #. Description of the plugin/theme
1837
+ #, fuzzy
1838
  msgid "Customise WordPress with powerful, professional and intuitive fields"
1839
  msgstr ""
1840
+ "Dostosuj WordPress'a przy pomocy potężnych, profesjonalnych i intuicyjnych "
1841
+ "własnych pól."
1842
 
1843
  #. Author of the plugin/theme
1844
  msgid "Elliot Condon"
1845
+ msgstr ""
1846
 
1847
  #. Author URI of the plugin/theme
1848
  msgid "http://www.elliotcondon.com/"
1849
+ msgstr ""
1850
 
1851
  #~ msgid "version"
1852
  #~ msgstr "wersja"
lang/acf-pt_PT.mo CHANGED
Binary file
lang/acf-pt_PT.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Advanced Custom Fields\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
7
  "POT-Creation-Date: 2015-07-23 11:02+0100\n"
8
- "PO-Revision-Date: 2015-12-09 11:26+0000\n"
9
  "Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
10
  "Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
11
  "Language: pt_PT\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Generator: Poedit 1.8.6\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
19
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
@@ -126,7 +126,7 @@ msgstr "Erro"
126
 
127
  #: core/actions/export.php:33
128
  msgid "No ACF groups selected"
129
- msgstr "Nenhum grupo ACF seleccionado"
130
 
131
  #: core/api.php:1171
132
  msgid "Update"
@@ -252,7 +252,7 @@ msgstr "Grupos de campos"
252
 
253
  #: core/controllers/export.php:222
254
  msgid "Select the field groups to be exported"
255
- msgstr "Seleccione os grupos de campos para serem exportados"
256
 
257
  #: core/controllers/export.php:239 core/controllers/export.php:252
258
  msgid "Export to XML"
@@ -334,7 +334,7 @@ msgstr ""
334
  #: core/controllers/export.php:272
335
  msgid "Select field group(s) from the list and click \"Create PHP\""
336
  msgstr ""
337
- "Seleccione o(s) grupo(s) de campos da lista e clique em \"Exportar PHP\""
338
 
339
  #: core/controllers/export.php:273 core/controllers/export.php:302
340
  msgid "Copy the PHP code generated"
@@ -985,7 +985,7 @@ msgstr "Formato dos dados"
985
 
986
  #: core/fields/date_picker/date_picker.php:127
987
  msgid ""
988
- "This format will determine the value saved to the database and returned via "
989
  "the API"
990
  msgstr ""
991
  "Este será o formato guardado na base de dados e depois devolvido através da "
@@ -1076,7 +1076,7 @@ msgstr "Conteúdo"
1076
 
1077
  #: core/fields/file.php:26
1078
  msgid "Select File"
1079
- msgstr "Seleccionar ficheiro"
1080
 
1081
  #: core/fields/file.php:27
1082
  msgid "Edit File"
@@ -1096,7 +1096,7 @@ msgstr "Tamanho"
1096
 
1097
  #: core/fields/file.php:123
1098
  msgid "No File Selected"
1099
- msgstr "Nenhum ficheiro seleccionado"
1100
 
1101
  #: core/fields/file.php:123
1102
  msgid "Add File"
@@ -1201,7 +1201,7 @@ msgstr "Editar"
1201
 
1202
  #: core/fields/image.php:97
1203
  msgid "No image selected"
1204
- msgstr "Nenhuma imagem seleccionada"
1205
 
1206
  #: core/fields/image.php:97
1207
  msgid "Add Image"
@@ -1395,7 +1395,7 @@ msgstr "Máximo de artigos"
1395
  #: core/fields/select.php:18 core/fields/select.php:109
1396
  #: core/fields/taxonomy.php:480 core/fields/user.php:313
1397
  msgid "Select"
1398
- msgstr "Seleccione"
1399
 
1400
  #: core/fields/tab.php:19
1401
  msgid "Tab"
5
  "Project-Id-Version: Advanced Custom Fields\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
7
  "POT-Creation-Date: 2015-07-23 11:02+0100\n"
8
+ "PO-Revision-Date: 2015-07-23 11:02+0100\n"
9
  "Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
10
  "Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
11
  "Language: pt_PT\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 1.8.2\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
19
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
126
 
127
  #: core/actions/export.php:33
128
  msgid "No ACF groups selected"
129
+ msgstr "Nenhum grupo ACF selecionado"
130
 
131
  #: core/api.php:1171
132
  msgid "Update"
252
 
253
  #: core/controllers/export.php:222
254
  msgid "Select the field groups to be exported"
255
+ msgstr "Selecione os grupos de campos para serem exportados"
256
 
257
  #: core/controllers/export.php:239 core/controllers/export.php:252
258
  msgid "Export to XML"
334
  #: core/controllers/export.php:272
335
  msgid "Select field group(s) from the list and click \"Create PHP\""
336
  msgstr ""
337
+ "Selecione o(s) grupo(s) de campos da lista e clique em \"Exportar PHP\""
338
 
339
  #: core/controllers/export.php:273 core/controllers/export.php:302
340
  msgid "Copy the PHP code generated"
985
 
986
  #: core/fields/date_picker/date_picker.php:127
987
  msgid ""
988
+ "This format will determin the value saved to the database and returned via "
989
  "the API"
990
  msgstr ""
991
  "Este será o formato guardado na base de dados e depois devolvido através da "
1076
 
1077
  #: core/fields/file.php:26
1078
  msgid "Select File"
1079
+ msgstr "Selecionar ficheiro"
1080
 
1081
  #: core/fields/file.php:27
1082
  msgid "Edit File"
1096
 
1097
  #: core/fields/file.php:123
1098
  msgid "No File Selected"
1099
+ msgstr "Nenhum ficheiro selecionado"
1100
 
1101
  #: core/fields/file.php:123
1102
  msgid "Add File"
1201
 
1202
  #: core/fields/image.php:97
1203
  msgid "No image selected"
1204
+ msgstr "Nenhuma imagem selecionada"
1205
 
1206
  #: core/fields/image.php:97
1207
  msgid "Add Image"
1395
  #: core/fields/select.php:18 core/fields/select.php:109
1396
  #: core/fields/taxonomy.php:480 core/fields/user.php:313
1397
  msgid "Select"
1398
+ msgstr "Selector"
1399
 
1400
  #: core/fields/tab.php:19
1401
  msgid "Tab"
readme.txt CHANGED
@@ -3,6 +3,7 @@ Contributors: elliotcondon
3
  Tags: custom, field, custom field, advanced, simple fields, magic fields, more fields, repeater, matrix, post, type, text, textarea, file, image, edit, admin
4
  Requires at least: 3.5.0
5
  Tested up to: 4.4.0
 
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
 
3
  Tags: custom, field, custom field, advanced, simple fields, magic fields, more fields, repeater, matrix, post, type, text, textarea, file, image, edit, admin
4
  Requires at least: 3.5.0
5
  Tested up to: 4.4.0
6
+ Stable tag: 4.4.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9