diff --git a/acf.php b/acf.php index d7f83c1..0236fdd 100644 --- a/acf.php +++ b/acf.php @@ -2,8 +2,8 @@ /* Plugin Name: Advanced Custom Fields PRO Plugin URI: https://www.advancedcustomfields.com/ -Description: Customise WordPress with powerful, professional and intuitive fields. -Version: 5.7.6 +Description: Customize WordPress with powerful, professional and intuitive fields. +Version: 5.7.8 Author: Elliot Condon Author URI: http://www.elliotcondon.com/ Copyright: Elliot Condon @@ -18,7 +18,7 @@ if( ! class_exists('ACF') ) : class ACF { /** @var string The plugin version number */ - var $version = '5.7.6'; + var $version = '5.7.8'; /** @var array The plugin settings array */ var $settings = array(); @@ -120,6 +120,7 @@ class ACF { $this->define( 'ACF_PATH', $path ); //$this->define( 'ACF_DEV', true ); + // api include_once( ACF_PATH . 'includes/api/api-helpers.php'); acf_include('includes/api/api-input.php'); diff --git a/assets/css/acf-global.css b/assets/css/acf-global.css index 21941df..1f6c5a2 100644 --- a/assets/css/acf-global.css +++ b/assets/css/acf-global.css @@ -1052,7 +1052,8 @@ html[dir="rtl"] #acf-popup .acf-popup-box .title .acf-icon { } #acf-upgrade-notice .col-content { float: left; - width: 65%; + width: 55%; + padding-left: 90px; } #acf-upgrade-notice .col-actions { float: right; @@ -1063,19 +1064,28 @@ html[dir="rtl"] #acf-popup .acf-popup-box .title .acf-icon { float: left; width: 70px; height: 70px; - margin: 0 20px 0 0; + margin: 0 0 0 -90px; } #acf-upgrade-notice h2 { font-size: 16px; - margin: 0; + margin: 2px 0 6.5px; } #acf-upgrade-notice p { padding: 0; - margin-bottom: 0; + margin: 0; } #acf-upgrade-notice .button:before { margin-top: 11px; } +@media screen and (max-width: 640px) { + #acf-upgrade-notice .col-content, + #acf-upgrade-notice .col-actions { + float: none; + padding-left: 90px; + width: auto; + text-align: left; + } +} /*-------------------------------------------------------------------------------------------- * * Welcome diff --git a/assets/css/acf-input.css b/assets/css/acf-input.css index a52081a..b05a073 100644 --- a/assets/css/acf-input.css +++ b/assets/css/acf-input.css @@ -80,8 +80,8 @@ background: #fff3e6; color: #d16226; } -.acf-fieldtd, -.acf-fieldtr { +td.acf-field, +tr.acf-field { margin: 0; } .acf-field[data-width] { @@ -106,8 +106,8 @@ html[dir="rtl"] .acf-field[data-width] + .acf-field[data-width] { border-left: none; border-right: 1px solid #eeeeee; } -.acf-field[data-width]td, -.acf-field[data-width]tr { +td.acf-field[data-width], +tr.acf-field[data-width] { float: none; } .acf-field.-c0 { @@ -267,6 +267,10 @@ html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input { margin: 0; border-left-color: #E1E1E1; } +.acf-sortable-tr-helper { + position: relative !important; + display: table-row !important; +} /*-------------------------------------------------------------------------------------------- * * acf-postbox @@ -344,10 +348,6 @@ html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input { padding: 0; } } -/* override WP CSS */ -.metabox-prefs label.acf-hidden { - display: none; -} /*--------------------------------------------------------------------------------------------- * * Inputs @@ -2678,31 +2678,3 @@ p.submit .acf-spinner { .acf-postbox.acf-hidden { display: none !important; } -/*-------------------------------------------------------------------------------------------- -* -* Gutenberg -* -*--------------------------------------------------------------------------------------------*/ -/* -#editor { - - .edit-post-layout__metaboxes { - //border-top: none; - } - - .edit-post-meta-boxes-area { - max-width: 80%; - - .postbox { - border: #e2e4e7 solid 1px; - border-bottom: none; - margin: 20px 0; - } - - input { - max-width: none; - } - } - -} -*/ diff --git a/assets/js/acf-field-group.js b/assets/js/acf-field-group.js index 754fc8b..75be133 100644 --- a/assets/js/acf-field-group.js +++ b/assets/js/acf-field-group.js @@ -2505,5 +2505,4 @@ // @codekit-prepend "../js/field-group-conditions.js"; // @codekit-prepend "../js/field-group-fields.js"; // @codekit-prepend "../js/field-group-locations.js"; -// @codekit-prepend "../js/field-group-compatibility.js"; - +// @codekit-prepend "../js/field-group-compatibility.js"; \ No newline at end of file diff --git a/assets/js/acf-field-group.min.js b/assets/js/acf-field-group.min.js index 1db87a1..03e32cd 100644 --- a/assets/js/acf-field-group.min.js +++ b/assets/js/acf-field-group.min.js @@ -1 +1 @@ -!function($,e){var t=new acf.Model({id:"fieldGroupManager",events:{"submit #post":"onSubmit",'click a[href="#"]':"onClick","click .submitdelete":"onClickTrash"},filters:{find_fields_args:"filterFindFieldArgs"},onSubmit:function(e,t){var i=$("#titlewrap #title");i.val()||(e.preventDefault(),acf.unlockForm(t),alert(acf.__("Field group title is required")),i.focus())},onClick:function(e){e.preventDefault()},onClickTrash:function(e){confirm(acf.__("Move to trash. Are you sure?"))||e.preventDefault()},filterFindFieldArgs:function(e){return e.visible=!0,e}}),i=new acf.Model({id:"screenOptionsManager",wait:"prepare",events:{change:"onChange"},initialize:function(){var e=$("#adv-settings"),t=$("#acf-append-show-on-screen");e.find(".metabox-prefs").append(t.html()),e.find(".metabox-prefs br").remove(),t.remove(),this.$el=$("#acf-field-key-hide"),this.render()},isChecked:function(){return this.$el.prop("checked")},onChange:function(e,t){var i=this.isChecked()?1:0;acf.updateUserSetting("show_field_keys",i),this.render()},render:function(){this.isChecked()?$("#acf-field-group-fields").addClass("show-field-keys"):$("#acf-field-group-fields").removeClass("show-field-keys")}}),n=new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){if(e.has("append")){var t=e.get("append"),i=e.$el.siblings('[data-name="'+t+'"]').first();if(i.length){var n=i.children(".acf-input"),a=n.children("ul");a.length||(n.wrapInner(''),a=n.children("ul"));var c=e.$(".acf-input").html(),l=$("
  • "+c+"
  • ");a.append(l),a.attr("data-cols",a.children().length),e.remove()}}}})}(jQuery),function($,e){acf.FieldObject=acf.Model.extend({eventScope:".acf-field-object",events:{"click .edit-field":"onClickEdit","click .delete-field":"onClickDelete","click .duplicate-field":"duplicate","click .move-field":"move","change .field-type":"onChangeType","change .field-required":"onChangeRequired","blur .field-label":"onChangeLabel","blur .field-name":"onChangeName",change:"onChange",changed:"onChanged"},data:{id:0,key:"",type:""},setup:function(e){this.$el=e,this.inherit(e),this.prop("ID"),this.prop("parent"),this.prop("menu_order")},$input:function(e){return $("#"+this.getInputId()+"-"+e)},$meta:function(){return this.$(".meta:first")},$handle:function(){return this.$(".handle:first")},$settings:function(){return this.$(".settings:first")},$setting:function(e){return this.$(".acf-field-settings:first > .acf-field-setting-"+e)},getParent:function(){return acf.getFieldObjects({child:this.$el,limit:1}).pop()},getParents:function(){return acf.getFieldObjects({child:this.$el})},getFields:function(){return acf.getFieldObjects({parent:this.$el})},getInputName:function(){return"acf_fields["+this.get("id")+"]"},getInputId:function(){return"acf_fields-"+this.get("id")},newInput:function(e,t){var i=this.getInputId(),n=this.getInputName();e&&(i+="-"+e,n+="["+e+"]");var a=$("").attr({id:i,name:n,value:t});return this.$("> .meta").append(a),a},getProp:function(e){if(this.has(e))return this.get(e);var t=this.$input(e),i=t.length?t.val():null;return this.set(e,i,!0),i},setProp:function(e,t){var i=this.$input(e),n=i.val();return i.length||(i=this.newInput(e,t)),null===t?i.remove():i.val(t),this.has(e)?this.set(e,t):this.set(e,t,!0),this},prop:function(e,t){return void 0!==t?this.setProp(e,t):this.getProp(e)},props:function(e){Object.keys(e).map(function(t){this.setProp(t,e[t])},this)},getLabel:function(){var e=this.prop("label");return""===e&&(e=acf.__("(no label)")),e},getName:function(){return this.prop("name")},getType:function(){return this.prop("type")},getTypeLabel:function(){var e=this.prop("type"),t=acf.get("fieldTypes");return t[e]?t[e].label:e},getKey:function(){return this.prop("key")},initialize:function(){},render:function(){var e=this.$(".handle:first"),t=this.prop("menu_order"),i=this.getLabel(),n=this.prop("name"),a=this.getTypeLabel(),c=this.prop("key"),l=this.$input("required").prop("checked");e.find(".acf-icon").html(parseInt(t)+1),l&&(i+=' *'),e.find(".li-field-label strong a").html(i),e.find(".li-field-name").text(n),e.find(".li-field-type").text(a),e.find(".li-field-key").text(c),acf.doAction("render_field_object",this)},refresh:function(){acf.doAction("refresh_field_object",this)},isOpen:function(){return this.$el.hasClass("open")},onClickEdit:function(e){this.isOpen()?this.close():this.open()},open:function(){var e=this.$el.children(".settings");e.slideDown(),this.$el.addClass("open"),acf.doAction("open_field_object",this),this.trigger("openFieldObject"),acf.doAction("show",e)},close:function(){var e=this.$el.children(".settings");e.slideUp(),this.$el.removeClass("open"),acf.doAction("close_field_object",this),this.trigger("closeFieldObject"),acf.doAction("hide",e)},serialize:function(){return acf.serialize(this.$el,this.getInputName())},save:function(e){e=e||"settings","settings"!==this.getProp("save")&&(this.setProp("save",e),this.$el.attr("data-save",e),acf.doAction("save_field_object",this,e))},submit:function(){var e=this.getInputName(),t=this.get("save");this.isOpen()&&this.close(),"settings"==t||("meta"==t?this.$('> .settings [name^="'+e+'"]').remove():this.$('[name^="'+e+'"]').remove()),acf.doAction("submit_field_object",this)},onChange:function(e,t){this.save(),acf.doAction("change_field_object",this)},onChanged:function(e,t,i,n){"save"!=i&&(["menu_order","parent"].indexOf(i)>-1?this.save("meta"):this.save(),["menu_order","label","required","name","type","key"].indexOf(i)>-1&&this.render(),acf.doAction("change_field_object_"+i,this,n))},onChangeLabel:function(e,t){var i=t.val();if(this.set("label",i),""==this.prop("name")){var n=acf.applyFilters("generate_field_object_name",acf.strSanitize(i),this);this.prop("name",n)}},onChangeName:function(e,t){var i=t.val();this.set("name",i),"field_"===i.substr(0,6)&&alert(acf.__('The string "field_" may not be used at the start of a field name'))},onChangeRequired:function(e,t){var i=t.prop("checked")?1:0;this.set("required",i)},delete:function(e){e=acf.parseArgs(e,{animate:!0});var t=this.prop("ID");if(t){var i=$("#_acf_delete_fields"),n=i.val()+"|"+t;i.val(n)}acf.doAction("delete_field_object",this),e.animate?this.removeAnimate():this.remove()},onClickDelete:function(e,t){this.$el.addClass("-hover");var i=this,n=acf.newTooltip({confirmRemove:!0,target:t,confirm:function(){i.delete(!0)},cancel:function(){i.$el.removeClass("-hover")}})},removeAnimate:function(){var e=this,t=this.$el.parent(),i=acf.findFieldObjects({sibling:this.$el});acf.remove({target:this.$el,endHeight:i.length?0:50,complete:function(){e.remove(),acf.doAction("removed_field_object",e,t)}}),acf.doAction("remove_field_object",e,t)},duplicate:function(){var e=acf.uniqid("field_"),t=acf.duplicate({target:this.$el,search:this.get("id"),replace:e});t.attr("data-key",e);var i=acf.getFieldObject(t);this.isOpen()?this.close():i.open();var n=i.$setting("label input");setTimeout(function(){n.focus()},251);var a=i.prop("label"),c=i.prop("name"),l=c.split("_").pop(),o=acf.__("copy");if($.isNumeric(l)){var r=1*l+1;a=a.replace(l,r),c=c.replace(l,r)}else if(0===l.indexOf(o)){var r=1*l.replace(o,"");r=r?r+1:2,a=a.replace(l,o+r),c=c.replace(l,o+r)}else a+=" ("+o+")",c+="_"+o;i.prop("ID",0),i.prop("label",a),i.prop("name",c),i.prop("key",e),acf.doAction("duplicate_field_object",this,i),acf.doAction("append_field_object",i)},wipe:function(){var e=this.get("id"),t=this.get("key"),i=acf.uniqid("field_");acf.rename({target:this.$el,search:e,replace:i}),this.set("id",i),this.set("prevId",e),this.set("prevKey",t),this.prop("key",i),this.prop("ID",0),this.$el.attr("data-key",i),this.$el.attr("data-id",i),acf.doAction("wipe_field_object",this)},move:function(){var e=function(e){return"settings"==e.get("save")},t=e(this);if(t||acf.getFieldObjects({parent:this.$el}).map(function(i){t=e(i)||i.changed}),t)return void alert(acf.__("This field cannot be moved until its changes have been saved"));var i=this.prop("ID"),n=this,a=!1,c=function(e){a.loading(!1),a.content(e),a.on("submit","form",l)},l=function(e,t){e.preventDefault(),acf.startButtonLoading(a.$(".button"));var n={action:"acf/field_group/move_field",field_id:i,field_group_id:a.$("select").val()};$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(n),type:"post",dataType:"html",success:o})},o=function(e){a.content(e),n.removeAnimate()};!function(){a=acf.newPopup({title:acf.__("Move Custom Field"),loading:!0,width:"300px"});var e={action:"acf/field_group/move_field",field_id:i};$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"html",success:c})}()},onChangeType:function(e,t){this.changeTimeout&&clearTimeout(this.changeTimeout),this.changeTimeout=this.setTimeout(function(){this.changeType(t.val())},300)},changeType:function(e){var t=this.prop("type"),i=acf.strSlugify("acf-field-object-"+t),n=acf.strSlugify("acf-field-object-"+e);this.$el.removeClass(i).addClass(n),this.$el.attr("data-type",e),this.$el.data("type",e),this.has("xhr")&&this.get("xhr").abort();var a=this.$("> .settings > table > tbody"),c=a.children('[data-setting="'+t+'"]');if(this.set("settings-"+t,c),c.detach(),this.has("settings-"+e)){var l=this.get("settings-"+e);return this.$setting("conditional_logic").before(l),void this.set("type",e)}var o=$('
    ');this.$setting("conditional_logic").before(o);var r={action:"acf/field_group/render_field_settings",field:this.serialize(),prefix:this.getInputName()},d=$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(r),type:"post",dataType:"html",context:this,success:function(e){e&&(o.after(e),acf.doAction("append",a))},complete:function(){o.remove(),this.set("type",e)}});this.set("xhr",d)},updateParent:function(){var e=acf.get("post_id"),t=this.getParent();t&&(e=parseInt(t.prop("ID"))||t.prop("key")),this.prop("parent",e)}})}(jQuery),function($,e){var t=function(e){return acf.strPascalCase(e||"")+"FieldSetting"};acf.registerFieldSetting=function(e){var i=e.prototype,n=t(i.type+" "+i.name);this.models[n]=e},acf.newFieldSetting=function(e){var i=e.get("setting")||"",n=e.get("name")||"",a=t(i+" "+n),c=acf.models[a]||null;return null!==c&&new c(e)},acf.getFieldSetting=function(e){return e instanceof jQuery&&(e=acf.getField(e)),e.setting};var i=new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){e.setting=acf.newFieldSetting(e)}});acf.FieldSetting=acf.Model.extend({field:!1,type:"",name:"",wait:"ready",eventScope:".acf-field",events:{change:"render"},setup:function(e){var t=e.$el;this.$el=t,this.field=e,this.$fieldObject=t.closest(".acf-field-object"),this.fieldObject=acf.getFieldObject(this.$fieldObject),$.extend(this.data,e.data)},initialize:function(){this.render()},render:function(){}});var n=acf.FieldSetting.extend({type:"",name:"",render:function(){var e=this.$('input[type="radio"]:checked');"other"!=e.val()&&this.$('input[type="text"]').val(e.val())}}),a=n.extend({type:"date_picker",name:"display_format"}),c=n.extend({type:"date_picker",name:"return_format"});acf.registerFieldSetting(a),acf.registerFieldSetting(c);var l=n.extend({type:"date_time_picker",name:"display_format"}),o=n.extend({type:"date_time_picker",name:"return_format"});acf.registerFieldSetting(l),acf.registerFieldSetting(o);var r=n.extend({type:"time_picker",name:"display_format"}),d=n.extend({name:"time_picker",name:"return_format"});acf.registerFieldSetting(r),acf.registerFieldSetting(d)}(jQuery),function($,e){var t=acf.FieldSetting.extend({type:"",name:"conditional_logic",events:{"change .conditions-toggle":"onChangeToggle","click .add-conditional-group":"onClickAddGroup","focus .condition-rule-field":"onFocusField","change .condition-rule-field":"onChangeField","change .condition-rule-operator":"onChangeOperator","click .add-conditional-rule":"onClickAdd","click .remove-conditional-rule":"onClickRemove"},$rule:!1,scope:function(e){return this.$rule=e,this},ruleData:function(e,t){return this.$rule.data.apply(this.$rule,arguments)},$input:function(e){return this.$rule.find(".condition-rule-"+e)},$td:function(e){return this.$rule.find("td."+e)},$toggle:function(){return this.$(".conditions-toggle")},$control:function(){return this.$(".rule-groups")},$groups:function(){return this.$(".rule-group")},$rules:function(){return this.$(".rule")},open:function(){var e=this.$control();e.show(),acf.enable(e)},close:function(){var e=this.$control();e.hide(),acf.disable(e)},render:function(){this.$toggle().prop("checked")?(this.renderRules(),this.open()):this.close()},renderRules:function(){var e=this;this.$rules().each(function(){e.renderRule($(this))})},renderRule:function(e){this.scope(e),this.renderField(),this.renderOperator(),this.renderValue()},renderField:function(){var e=[],t=[],i=this.fieldObject.cid,n=this.$input("field");acf.getFieldObjects().map(function(t){var n={id:t.getKey(),text:t.getLabel()};t.cid===i&&(n.text+=acf.__("(this field)"),n.disabled=!0),acf.getConditionTypes({fieldType:t.getType()}).length||(n.disabled=!0);var a=t.getParents().length;n.text="- ".repeat(a)+n.text,e.push(n)}),e.length||e.push({id:"",text:acf.__("No toggle fields available")}),acf.renderSelect(n,e),this.ruleData("field",n.val())},renderOperator:function(){if(this.ruleData("field")){var e=this.$input("operator"),t=e.val(),i=[];null===e.val()&&acf.renderSelect(e,[{id:this.ruleData("operator"),text:""}]);var n=acf.findFieldObject(this.ruleData("field")),a=acf.getFieldObject(n);acf.getConditionTypes({fieldType:a.getType()}).map(function(e){i.push({id:e.prototype.operator,text:acf.strEscape(e.prototype.label)})}),acf.renderSelect(e,i),this.ruleData("operator",e.val())}},renderValue:function(){if(this.ruleData("field")&&this.ruleData("operator")){var e=this.$input("value"),t=this.$td("value"),i=e.val(),n=acf.findFieldObject(this.ruleData("field")),a=acf.getFieldObject(n),c=acf.getConditionTypes({fieldType:a.getType(),operator:this.ruleData("operator")}),l=c[0].prototype,o=l.choices(a);if(o instanceof Array){var r=$("");acf.renderSelect(r,o)}else var r=$(o);e.detach(),t.html(r),setTimeout(function(){["class","name","id"].map(function(t){r.attr(t,e.attr(t))})},0),r.prop("disabled")||acf.val(r,i,!0),this.ruleData("value",r.val())}},onChangeToggle:function(){this.render()},onClickAddGroup:function(e,t){this.addGroup()},addGroup:function(){var e=this.$(".rule-group:last"),t=acf.duplicate(e);t.find("h4").text(acf.__("or")),t.find("tr").not(":first").remove(),this.fieldObject.save()},onFocusField:function(e,t){this.renderField()},onChangeField:function(e,t){this.scope(t.closest(".rule")),this.ruleData("field",t.val()),this.renderOperator(),this.renderValue()},onChangeOperator:function(e,t){this.scope(t.closest(".rule")),this.ruleData("operator",t.val()),this.renderValue()},onClickAdd:function(e,t){var i=acf.duplicate(t.closest(".rule"));this.renderRule(i)},onClickRemove:function(e,t){var i=t.closest(".rule");this.fieldObject.save(),0==i.siblings(".rule").length&&i.closest(".rule-group").remove(),i.remove()}});acf.registerFieldSetting(t);var i=new acf.Model({actions:{duplicate_field_objects:"onDuplicateFieldObjects"},onDuplicateFieldObjects:function(e,t,i){var n={},a=$();e.map(function(e){n[e.get("prevKey")]=e.get("key"),a=a.add(e.$(".condition-rule-field"))}),a.each(function(){var e=$(this),t=e.val();t&&n[t]&&(e.find("option:selected").attr("value",n[t]),e.val(n[t]))})}})}(jQuery),function($,e){acf.findFieldObject=function(e){return acf.findFieldObjects({key:e,limit:1})},acf.findFieldObjects=function(e){e=e||{};var t=".acf-field-object",i=!1;return e=acf.parseArgs(e,{id:"",key:"",type:"",limit:!1,list:null,parent:!1,sibling:!1,child:!1}),e.id&&(t+='[data-id="'+e.id+'"]'),e.key&&(t+='[data-key="'+e.key+'"]'),e.type&&(t+='[data-type="'+e.type+'"]'),i=e.list?e.list.children(t):e.parent?e.parent.find(t):e.sibling?e.sibling.siblings(t):e.child?e.child.parents(t):$(t),e.limit&&(i=i.slice(0,e.limit)),i},acf.getFieldObject=function(e){"string"==typeof e&&(e=acf.findFieldObject(e));var t=e.data("acf");return t||(t=acf.newFieldObject(e)),t},acf.getFieldObjects=function(e){var t=acf.findFieldObjects(e),i=[];return t.each(function(){var e=acf.getFieldObject($(this));i.push(e)}),i},acf.newFieldObject=function(e){var t=new acf.FieldObject(e);return acf.doAction("new_field_object",t),t};var t=new acf.Model({priority:5,initialize:function(){["prepare","ready","append","remove"].map(function(e){this.addFieldActions(e)},this)},addFieldActions:function(e){var t=e+"_field_objects",i=e+"_field_object",n=e+"FieldObject",a=function(e){var i=acf.getFieldObjects({parent:e});if(i.length){var n=acf.arrayArgs(arguments);n.splice(0,1,t,i),acf.doAction.apply(null,n)}},c=function(e){var t=acf.arrayArgs(arguments);t.unshift(i),e.map(function(e){t[1]=e,acf.doAction.apply(null,t)})},l=function(e){var t=acf.arrayArgs(arguments);t.unshift(i),["type","name","key"].map(function(n){t[0]=i+"/"+n+"="+e.get(n),acf.doAction.apply(null,t)}),t.splice(0,2),e.trigger(n,t)};acf.addAction(e,a,5),acf.addAction(t,c,5),acf.addAction(i,l,5)}}),i=new acf.Model({id:"fieldManager",events:{"submit #post":"onSubmit","mouseenter .acf-field-list":"onHoverSortable","click .add-field":"onClickAdd"},actions:{removed_field_object:"onRemovedField",sortstop_field_object:"onReorderField",delete_field_object:"onDeleteField",change_field_object_type:"onChangeFieldType",duplicate_field_object:"onDuplicateField"},onSubmit:function(e,t){acf.getFieldObjects().map(function(e){e.submit()})},setFieldMenuOrder:function(e){this.renderFields(e.$el.parent())},onHoverSortable:function(e,t){t.hasClass("ui-sortable")||t.sortable({handle:".acf-sortable-handle",connectWith:".acf-field-list",start:function(e,i){var n=acf.getFieldObject(i.item);i.placeholder.height(i.item.height()),acf.doAction("sortstart_field_object",n,t)},update:function(e,i){var n=acf.getFieldObject(i.item);acf.doAction("sortstop_field_object",n,t)}})},onRemovedField:function(e,t){this.renderFields(t)},onReorderField:function(e,t){e.updateParent(),this.renderFields(t)},onDeleteField:function(e){e.getFields().map(function(e){e.delete({animate:!1})})},onChangeFieldType:function(e){},onDuplicateField:function(e,t){var i=t.getFields();i.length&&(i.map(function(e){e.wipe(),e.updateParent()}),acf.doAction("duplicate_field_objects",i,t,e)),this.setFieldMenuOrder(t)},renderFields:function(e){var t=acf.getFieldObjects({list:e});if(!t.length)return void e.addClass("-empty");e.removeClass("-empty"),t.map(function(e,t){e.prop("menu_order",t)})},onClickAdd:function(e,t){var i=t.closest(".acf-tfoot").siblings(".acf-field-list");this.addField(i)},addField:function(e){var t=$("#tmpl-acf-field").html(),i=$(t),n=i.data("id"),a=acf.uniqid("field_"),c=acf.duplicate({target:i,search:n,replace:a,append:function(t,i){e.append(i)}}),l=acf.getFieldObject(c);l.prop("key",a),l.prop("ID",0),l.prop("label",""),l.prop("name",""),c.attr("data-key",a),c.attr("data-id",a),l.updateParent();var o=l.$input("label");setTimeout(function(){o.focus()},251),l.open(),this.renderFields(e),acf.doAction("add_field_object",l),acf.doAction("append_field_object",l)}})}(jQuery),function($,e){var t=new acf.Model({id:"locationManager",wait:"ready",events:{"click .add-location-rule":"onClickAddRule","click .add-location-group":"onClickAddGroup","click .remove-location-rule":"onClickRemoveRule","change .refresh-location-rule":"onChangeRemoveRule"},initialize:function(){this.$el=$("#acf-field-group-locations")},onClickAddRule:function(e,t){this.addRule(t.closest("tr"))},onClickRemoveRule:function(e,t){this.removeRule(t.closest("tr"))},onChangeRemoveRule:function(e,t){this.changeRule(t.closest("tr"))},onClickAddGroup:function(e,t){this.addGroup()},addRule:function(e){acf.duplicate(e)},removeRule:function(e){0==e.siblings("tr").length?e.closest(".rule-group").remove():e.remove()},changeRule:function(e){var t=e.closest(".rule-group"),i=e.find("td.param select").attr("name").replace("[param]",""),n={};n.action="acf/field_group/render_location_rule",n.rule=acf.serialize(e,i),n.rule.id=e.data("id"),n.rule.group=t.data("id"),acf.disable(e.find("td.value")),$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(n),type:"post",dataType:"html",success:function(t){t&&e.replaceWith(t)}})},addGroup:function(){var e=this.$(".rule-group:last");$group2=acf.duplicate(e),$group2.find("h4").text(acf.__("or")),$group2.find("tr").not(":first").remove()}})}(jQuery),function($,e){var t=acf.getCompatibility(acf);t.field_group={save_field:function(e,t){t=void 0!==t?t:"settings",acf.getFieldObject(e).save(t)},delete_field:function(e,t){t=void 0===t||t,acf.getFieldObject(e).delete({animate:t})},update_field_meta:function(e,t,i){acf.getFieldObject(e).prop(t,i)},delete_field_meta:function(e,t){acf.getFieldObject(e).prop(t,null)}},t.field_group.field_object=acf.model.extend({type:"",o:{},$field:null,$settings:null,tag:function(e){var t=this.type,i=e.split("_");return i.splice(1,0,"field"),e=i.join("_"),t&&(e+="/type="+t),e},selector:function(){var e=".acf-field-object",t=this.type;return t&&(e+="-"+t,e=acf.str_replace("_","-",e)),e},_add_action:function(e,t){var i=this;acf.add_action(this.tag(e),function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_filter:function(e,t){var i=this;acf.add_filter(this.tag(e),function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_event:function(e,t){var i=this,n=e.substr(0,e.indexOf(" ")),a=e.substr(e.indexOf(" ")+1),c=this.selector();$(document).on(n,c+" "+a,function(e){e.$el=$(this),e.$field=e.$el.closest(".acf-field-object"),i.set("$field",e.$field),i[t].apply(i,[e])})},_set_$field:function(){this.o=this.$field.data(),this.$settings=this.$field.find("> .settings > table > tbody"),this.focus()},focus:function(){},setting:function(e){return this.$settings.find("> .acf-field-setting-"+e)}});var i=new acf.Model({actions:{open_field_object:"onOpenFieldObject",close_field_object:"onCloseFieldObject",add_field_object:"onAddFieldObject",duplicate_field_object:"onDuplicateFieldObject",delete_field_object:"onDeleteFieldObject",change_field_object_type:"onChangeFieldObjectType",change_field_object_label:"onChangeFieldObjectLabel",change_field_object_name:"onChangeFieldObjectName",change_field_object_parent:"onChangeFieldObjectParent",sortstop_field_object:"onChangeFieldObjectParent"},onOpenFieldObject:function(e){acf.doAction("open_field",e.$el),acf.doAction("open_field/type="+e.get("type"),e.$el),acf.doAction("render_field_settings",e.$el),acf.doAction("render_field_settings/type="+e.get("type"),e.$el)},onCloseFieldObject:function(e){acf.doAction("close_field",e.$el),acf.doAction("close_field/type="+e.get("type"),e.$el)},onAddFieldObject:function(e){acf.doAction("add_field",e.$el),acf.doAction("add_field/type="+e.get("type"),e.$el)},onDuplicateFieldObject:function(e){acf.doAction("duplicate_field",e.$el),acf.doAction("duplicate_field/type="+e.get("type"),e.$el)},onDeleteFieldObject:function(e){acf.doAction("delete_field",e.$el),acf.doAction("delete_field/type="+e.get("type"),e.$el)},onChangeFieldObjectType:function(e){acf.doAction("change_field_type",e.$el),acf.doAction("change_field_type/type="+e.get("type"),e.$el),acf.doAction("render_field_settings",e.$el),acf.doAction("render_field_settings/type="+e.get("type"),e.$el)},onChangeFieldObjectLabel:function(e){acf.doAction("change_field_label",e.$el),acf.doAction("change_field_label/type="+e.get("type"),e.$el)},onChangeFieldObjectName:function(e){acf.doAction("change_field_name",e.$el),acf.doAction("change_field_name/type="+e.get("type"),e.$el)},onChangeFieldObjectParent:function(e){acf.doAction("update_field_parent",e.$el)}})}(jQuery); \ No newline at end of file +!function(o,e){var t=new acf.Model({id:"fieldGroupManager",events:{"submit #post":"onSubmit",'click a[href="#"]':"onClick","click .submitdelete":"onClickTrash"},filters:{find_fields_args:"filterFindFieldArgs"},onSubmit:function(e,t){var i=o("#titlewrap #title");i.val()||(e.preventDefault(),acf.unlockForm(t),alert(acf.__("Field group title is required")),i.focus())},onClick:function(e){e.preventDefault()},onClickTrash:function(e){var t;confirm(acf.__("Move to trash. Are you sure?"))||e.preventDefault()},filterFindFieldArgs:function(e){return e.visible=!0,e}}),i=new acf.Model({id:"screenOptionsManager",wait:"prepare",events:{change:"onChange"},initialize:function(){var e=o("#adv-settings"),t=o("#acf-append-show-on-screen");e.find(".metabox-prefs").append(t.html()),e.find(".metabox-prefs br").remove(),t.remove(),this.$el=o("#acf-field-key-hide"),this.render()},isChecked:function(){return this.$el.prop("checked")},onChange:function(e,t){var i=this.isChecked()?1:0;acf.updateUserSetting("show_field_keys",i),this.render()},render:function(){this.isChecked()?o("#acf-field-group-fields").addClass("show-field-keys"):o("#acf-field-group-fields").removeClass("show-field-keys")}}),n=new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){if(e.has("append")){var t=e.get("append"),i=e.$el.siblings('[data-name="'+t+'"]').first();if(i.length){var n=i.children(".acf-input"),a=n.children("ul");a.length||(n.wrapInner(''),a=n.children("ul"));var c=e.$(".acf-input").html(),l=o("
  • "+c+"
  • ");a.append(l),a.attr("data-cols",a.children().length),e.remove()}}}})}(jQuery),function(s,i){acf.FieldObject=acf.Model.extend({eventScope:".acf-field-object",events:{"click .edit-field":"onClickEdit","click .delete-field":"onClickDelete","click .duplicate-field":"duplicate","click .move-field":"move","change .field-type":"onChangeType","change .field-required":"onChangeRequired","blur .field-label":"onChangeLabel","blur .field-name":"onChangeName",change:"onChange",changed:"onChanged"},data:{id:0,key:"",type:""},setup:function(e){this.$el=e,this.inherit(e),this.prop("ID"),this.prop("parent"),this.prop("menu_order")},$input:function(e){return s("#"+this.getInputId()+"-"+e)},$meta:function(){return this.$(".meta:first")},$handle:function(){return this.$(".handle:first")},$settings:function(){return this.$(".settings:first")},$setting:function(e){return this.$(".acf-field-settings:first > .acf-field-setting-"+e)},getParent:function(){return acf.getFieldObjects({child:this.$el,limit:1}).pop()},getParents:function(){return acf.getFieldObjects({child:this.$el})},getFields:function(){return acf.getFieldObjects({parent:this.$el})},getInputName:function(){return"acf_fields["+this.get("id")+"]"},getInputId:function(){return"acf_fields-"+this.get("id")},newInput:function(e,t){var i=this.getInputId(),n=this.getInputName();e&&(i+="-"+e,n+="["+e+"]");var a=s("").attr({id:i,name:n,value:t});return this.$("> .meta").append(a),a},getProp:function(e){if(this.has(e))return this.get(e);var t=this.$input(e),i=t.length?t.val():null;return this.set(e,i,!0),i},setProp:function(e,t){var i=this.$input(e),n=i.val();return i.length||(i=this.newInput(e,t)),null===t?i.remove():i.val(t),this.has(e)?this.set(e,t):this.set(e,t,!0),this},prop:function(e,t){return t!==i?this.setProp(e,t):this.getProp(e)},props:function(t){Object.keys(t).map(function(e){this.setProp(e,t[e])},this)},getLabel:function(){var e=this.prop("label");return""===e&&(e=acf.__("(no label)")),e},getName:function(){return this.prop("name")},getType:function(){return this.prop("type")},getTypeLabel:function(){var e=this.prop("type"),t=acf.get("fieldTypes");return t[e]?t[e].label:e},getKey:function(){return this.prop("key")},initialize:function(){},render:function(){var e=this.$(".handle:first"),t=this.prop("menu_order"),i=this.getLabel(),n=this.prop("name"),a=this.getTypeLabel(),c=this.prop("key"),l=this.$input("required").prop("checked");e.find(".acf-icon").html(parseInt(t)+1),l&&(i+=' *'),e.find(".li-field-label strong a").html(i),e.find(".li-field-name").text(n),e.find(".li-field-type").text(a),e.find(".li-field-key").text(c),acf.doAction("render_field_object",this)},refresh:function(){acf.doAction("refresh_field_object",this)},isOpen:function(){return this.$el.hasClass("open")},onClickEdit:function(e){this.isOpen()?this.close():this.open()},open:function(){var e=this.$el.children(".settings");e.slideDown(),this.$el.addClass("open"),acf.doAction("open_field_object",this),this.trigger("openFieldObject"),acf.doAction("show",e)},close:function(){var e=this.$el.children(".settings");e.slideUp(),this.$el.removeClass("open"),acf.doAction("close_field_object",this),this.trigger("closeFieldObject"),acf.doAction("hide",e)},serialize:function(){return acf.serialize(this.$el,this.getInputName())},save:function(e){var t;e=e||"settings","settings"!==this.getProp("save")&&(this.setProp("save",e),this.$el.attr("data-save",e),acf.doAction("save_field_object",this,e))},submit:function(){var e=this.getInputName(),t=this.get("save");this.isOpen()&&this.close(),"settings"==t||("meta"==t?this.$('> .settings [name^="'+e+'"]').remove():this.$('[name^="'+e+'"]').remove()),acf.doAction("submit_field_object",this)},onChange:function(e,t){this.save(),acf.doAction("change_field_object",this)},onChanged:function(e,t,i,n){"save"!=i&&(-1<["menu_order","parent"].indexOf(i)?this.save("meta"):this.save(),-1<["menu_order","label","required","name","type","key"].indexOf(i)&&this.render(),acf.doAction("change_field_object_"+i,this,n))},onChangeLabel:function(e,t){var i=t.val();if(this.set("label",i),""==this.prop("name")){var n=acf.applyFilters("generate_field_object_name",acf.strSanitize(i),this);this.prop("name",n)}},onChangeName:function(e,t){var i=t.val();this.set("name",i),"field_"===i.substr(0,6)&&alert(acf.__('The string "field_" may not be used at the start of a field name'))},onChangeRequired:function(e,t){var i=t.prop("checked")?1:0;this.set("required",i)},delete:function(e){e=acf.parseArgs(e,{animate:!0});var t=this.prop("ID");if(t){var i=s("#_acf_delete_fields"),n=i.val()+"|"+t;i.val(n)}acf.doAction("delete_field_object",this),e.animate?this.removeAnimate():this.remove()},onClickDelete:function(e,t){this.$el.addClass("-hover");var i=this,n=acf.newTooltip({confirmRemove:!0,target:t,confirm:function(){i.delete(!0)},cancel:function(){i.$el.removeClass("-hover")}})},removeAnimate:function(){var e=this,t=this.$el.parent(),i=acf.findFieldObjects({sibling:this.$el});acf.remove({target:this.$el,endHeight:i.length?0:50,complete:function(){e.remove(),acf.doAction("removed_field_object",e,t)}}),acf.doAction("remove_field_object",e,t)},duplicate:function(){var e=acf.uniqid("field_"),t=acf.duplicate({target:this.$el,search:this.get("id"),replace:e});t.attr("data-key",e);var i=acf.getFieldObject(t);this.isOpen()?this.close():i.open();var n=i.$setting("label input");setTimeout(function(){n.focus()},251);var a=i.prop("label"),c=i.prop("name"),l=c.split("_").pop(),o=acf.__("copy");if(s.isNumeric(l)){var r=1*l+1;a=a.replace(l,r),c=c.replace(l,r)}else if(0===l.indexOf(o)){var r;r=(r=1*l.replace(o,""))?r+1:2,a=a.replace(l,o+r),c=c.replace(l,o+r)}else a+=" ("+o+")",c+="_"+o;i.prop("ID",0),i.prop("label",a),i.prop("name",c),i.prop("key",e),acf.doAction("duplicate_field_object",this,i),acf.doAction("append_field_object",i)},wipe:function(){var e=this.get("id"),t=this.get("key"),i=acf.uniqid("field_");acf.rename({target:this.$el,search:e,replace:i}),this.set("id",i),this.set("prevId",e),this.set("prevKey",t),this.prop("key",i),this.prop("ID",0),this.$el.attr("data-key",i),this.$el.attr("data-id",i),acf.doAction("wipe_field_object",this)},move:function(){var t=function(e){return"settings"==e.get("save")},i=t(this);if(i||acf.getFieldObjects({parent:this.$el}).map(function(e){i=t(e)||e.changed}),i)alert(acf.__("This field cannot be moved until its changes have been saved"));else{var n=this.prop("ID"),a=this,c=!1,e=function(){c=acf.newPopup({title:acf.__("Move Custom Field"),loading:!0,width:"300px"});var e={action:"acf/field_group/move_field",field_id:n};s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"html",success:l})},l=function(e){c.loading(!1),c.content(e),c.on("submit","form",o)},o=function(e,t){e.preventDefault(),acf.startButtonLoading(c.$(".button"));var i={action:"acf/field_group/move_field",field_id:n,field_group_id:c.$("select").val()};s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"html",success:r})},r=function(e){c.content(e),a.removeAnimate()};e()}},onChangeType:function(e,t){this.changeTimeout&&clearTimeout(this.changeTimeout),this.changeTimeout=this.setTimeout(function(){this.changeType(t.val())},300)},changeType:function(e){var t=this.prop("type"),i=acf.strSlugify("acf-field-object-"+t),n=acf.strSlugify("acf-field-object-"+e);this.$el.removeClass(i).addClass(n),this.$el.attr("data-type",e),this.$el.data("type",e),this.has("xhr")&&this.get("xhr").abort();var a=this.$("> .settings > table > tbody"),c=a.children('[data-setting="'+t+'"]');if(this.set("settings-"+t,c),c.detach(),this.has("settings-"+e)){var l=this.get("settings-"+e);return this.$setting("conditional_logic").before(l),void this.set("type",e)}var o=s('
    ');this.$setting("conditional_logic").before(o);var r={action:"acf/field_group/render_field_settings",field:this.serialize(),prefix:this.getInputName()},d=s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(r),type:"post",dataType:"html",context:this,success:function(e){e&&(o.after(e),acf.doAction("append",a))},complete:function(){o.remove(),this.set("type",e)}});this.set("xhr",d)},updateParent:function(){var e=acf.get("post_id"),t=this.getParent();t&&(e=parseInt(t.prop("ID"))||t.prop("key")),this.prop("parent",e)}})}(jQuery),function(i,e){var l=function(e){return acf.strPascalCase(e||"")+"FieldSetting"};acf.registerFieldSetting=function(e){var t=e.prototype,i=l(t.type+" "+t.name);this.models[i]=e},acf.newFieldSetting=function(e){var t=e.get("setting")||"",i=e.get("name")||"",n=l(t+" "+i),a=acf.models[n]||null,c;return null!==a&&new a(e)},acf.getFieldSetting=function(e){return e instanceof jQuery&&(e=acf.getField(e)),e.setting};var t=new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){e.setting=acf.newFieldSetting(e)}});acf.FieldSetting=acf.Model.extend({field:!1,type:"",name:"",wait:"ready",eventScope:".acf-field",events:{change:"render"},setup:function(e){var t=e.$el;this.$el=t,this.field=e,this.$fieldObject=t.closest(".acf-field-object"),this.fieldObject=acf.getFieldObject(this.$fieldObject),i.extend(this.data,e.data)},initialize:function(){this.render()},render:function(){}});var n=acf.FieldSetting.extend({type:"",name:"",render:function(){var e=this.$('input[type="radio"]:checked');"other"!=e.val()&&this.$('input[type="text"]').val(e.val())}}),a=n.extend({type:"date_picker",name:"display_format"}),c=n.extend({type:"date_picker",name:"return_format"});acf.registerFieldSetting(a),acf.registerFieldSetting(c);var o=n.extend({type:"date_time_picker",name:"display_format"}),r=n.extend({type:"date_time_picker",name:"return_format"});acf.registerFieldSetting(o),acf.registerFieldSetting(r);var d=n.extend({type:"time_picker",name:"display_format"}),s=n.extend({name:"time_picker",name:"return_format"});acf.registerFieldSetting(d),acf.registerFieldSetting(s)}(jQuery),function(d,e){var t=acf.FieldSetting.extend({type:"",name:"conditional_logic",events:{"change .conditions-toggle":"onChangeToggle","click .add-conditional-group":"onClickAddGroup","focus .condition-rule-field":"onFocusField","change .condition-rule-field":"onChangeField","change .condition-rule-operator":"onChangeOperator","click .add-conditional-rule":"onClickAdd","click .remove-conditional-rule":"onClickRemove"},$rule:!1,scope:function(e){return this.$rule=e,this},ruleData:function(e,t){return this.$rule.data.apply(this.$rule,arguments)},$input:function(e){return this.$rule.find(".condition-rule-"+e)},$td:function(e){return this.$rule.find("td."+e)},$toggle:function(){return this.$(".conditions-toggle")},$control:function(){return this.$(".rule-groups")},$groups:function(){return this.$(".rule-group")},$rules:function(){return this.$(".rule")},open:function(){var e=this.$control();e.show(),acf.enable(e)},close:function(){var e=this.$control();e.hide(),acf.disable(e)},render:function(){this.$toggle().prop("checked")?(this.renderRules(),this.open()):this.close()},renderRules:function(){var e=this;this.$rules().each(function(){e.renderRule(d(this))})},renderRule:function(e){this.scope(e),this.renderField(),this.renderOperator(),this.renderValue()},renderField:function(){var a=[],e=[],c=this.fieldObject.cid,t=this.$input("field");acf.getFieldObjects().map(function(e){var t={id:e.getKey(),text:e.getLabel()},i;e.cid===c&&(t.text+=acf.__("(this field)"),t.disabled=!0),acf.getConditionTypes({fieldType:e.getType()}).length||(t.disabled=!0);var n=e.getParents().length;t.text="- ".repeat(n)+t.text,a.push(t)}),a.length||a.push({id:"",text:acf.__("No toggle fields available")}),acf.renderSelect(t,a),this.ruleData("field",t.val())},renderOperator:function(){if(this.ruleData("field")){var e=this.$input("operator"),t=e.val(),i=[];null===e.val()&&acf.renderSelect(e,[{id:this.ruleData("operator"),text:""}]);var n=acf.findFieldObject(this.ruleData("field")),a=acf.getFieldObject(n),c;acf.getConditionTypes({fieldType:a.getType()}).map(function(e){i.push({id:e.prototype.operator,text:acf.strEscape(e.prototype.label)})}),acf.renderSelect(e,i),this.ruleData("operator",e.val())}},renderValue:function(){if(this.ruleData("field")&&this.ruleData("operator")){var t=this.$input("value"),e=this.$td("value"),i=t.val(),n=acf.findFieldObject(this.ruleData("field")),a=acf.getFieldObject(n),c,l,o=acf.getConditionTypes({fieldType:a.getType(),operator:this.ruleData("operator")})[0].prototype.choices(a);if(o instanceof Array){var r=d("");acf.renderSelect(r,o)}else var r=d(o);t.detach(),e.html(r),setTimeout(function(){["class","name","id"].map(function(e){r.attr(e,t.attr(e))})},0),r.prop("disabled")||acf.val(r,i,!0),this.ruleData("value",r.val())}},onChangeToggle:function(){this.render()},onClickAddGroup:function(e,t){this.addGroup()},addGroup:function(){var e=this.$(".rule-group:last"),t=acf.duplicate(e);t.find("h4").text(acf.__("or")),t.find("tr").not(":first").remove(),this.fieldObject.save()},onFocusField:function(e,t){this.renderField()},onChangeField:function(e,t){this.scope(t.closest(".rule")),this.ruleData("field",t.val()),this.renderOperator(),this.renderValue()},onChangeOperator:function(e,t){this.scope(t.closest(".rule")),this.ruleData("operator",t.val()),this.renderValue()},onClickAdd:function(e,t){var i=acf.duplicate(t.closest(".rule"));this.renderRule(i)},onClickRemove:function(e,t){var i=t.closest(".rule");this.fieldObject.save(),0==i.siblings(".rule").length&&i.closest(".rule-group").remove(),i.remove()}});acf.registerFieldSetting(t);var i=new acf.Model({actions:{duplicate_field_objects:"onDuplicateFieldObjects"},onDuplicateFieldObjects:function(e,t,i){var n={},a=d();e.map(function(e){n[e.get("prevKey")]=e.get("key"),a=a.add(e.$(".condition-rule-field"))}),a.each(function(){var e=d(this),t=e.val();t&&n[t]&&(e.find("option:selected").attr("value",n[t]),e.val(n[t]))})}})}(jQuery),function(r,e){acf.findFieldObject=function(e){return acf.findFieldObjects({key:e,limit:1})},acf.findFieldObjects=function(e){e=e||{};var t=".acf-field-object",i=!1;return(e=acf.parseArgs(e,{id:"",key:"",type:"",limit:!1,list:null,parent:!1,sibling:!1,child:!1})).id&&(t+='[data-id="'+e.id+'"]'),e.key&&(t+='[data-key="'+e.key+'"]'),e.type&&(t+='[data-type="'+e.type+'"]'),i=e.list?e.list.children(t):e.parent?e.parent.find(t):e.sibling?e.sibling.siblings(t):e.child?e.child.parents(t):r(t),e.limit&&(i=i.slice(0,e.limit)),i},acf.getFieldObject=function(e){"string"==typeof e&&(e=acf.findFieldObject(e));var t=e.data("acf");return t||(t=acf.newFieldObject(e)),t},acf.getFieldObjects=function(e){var t=acf.findFieldObjects(e),i=[];return t.each(function(){var e=acf.getFieldObject(r(this));i.push(e)}),i},acf.newFieldObject=function(e){var t=new acf.FieldObject(e);return acf.doAction("new_field_object",t),t};var t=new acf.Model({priority:5,initialize:function(){var e;["prepare","ready","append","remove"].map(function(e){this.addFieldActions(e)},this)},addFieldActions:function(e){var n=e+"_field_objects",a=e+"_field_object",c=e+"FieldObject",t=function(e){var t=acf.getFieldObjects({parent:e});if(t.length){var i=acf.arrayArgs(arguments);i.splice(0,1,n,t),acf.doAction.apply(null,i)}},i=function(e){var t=acf.arrayArgs(arguments);t.unshift(a),e.map(function(e){t[1]=e,acf.doAction.apply(null,t)})},l=function(t){var i=acf.arrayArgs(arguments),e;i.unshift(a),["type","name","key"].map(function(e){i[0]=a+"/"+e+"="+t.get(e),acf.doAction.apply(null,i)}),i.splice(0,2),t.trigger(c,i)};acf.addAction(e,t,5),acf.addAction(n,i,5),acf.addAction(a,l,5)}}),i=new acf.Model({id:"fieldManager",events:{"submit #post":"onSubmit","mouseenter .acf-field-list":"onHoverSortable","click .add-field":"onClickAdd"},actions:{removed_field_object:"onRemovedField",sortstop_field_object:"onReorderField",delete_field_object:"onDeleteField",change_field_object_type:"onChangeFieldType",duplicate_field_object:"onDuplicateField"},onSubmit:function(e,t){var i;acf.getFieldObjects().map(function(e){e.submit()})},setFieldMenuOrder:function(e){this.renderFields(e.$el.parent())},onHoverSortable:function(e,n){n.hasClass("ui-sortable")||n.sortable({handle:".acf-sortable-handle",connectWith:".acf-field-list",start:function(e,t){var i=acf.getFieldObject(t.item);t.placeholder.height(t.item.height()),acf.doAction("sortstart_field_object",i,n)},update:function(e,t){var i=acf.getFieldObject(t.item);acf.doAction("sortstop_field_object",i,n)}})},onRemovedField:function(e,t){this.renderFields(t)},onReorderField:function(e,t){e.updateParent(),this.renderFields(t)},onDeleteField:function(e){e.getFields().map(function(e){e.delete({animate:!1})})},onChangeFieldType:function(e){},onDuplicateField:function(e,t){var i=t.getFields();i.length&&(i.map(function(e){e.wipe(),e.updateParent()}),acf.doAction("duplicate_field_objects",i,t,e)),this.setFieldMenuOrder(t)},renderFields:function(e){var t=acf.getFieldObjects({list:e});t.length?(e.removeClass("-empty"),t.map(function(e,t){e.prop("menu_order",t)})):e.addClass("-empty")},onClickAdd:function(e,t){var i=t.closest(".acf-tfoot").siblings(".acf-field-list");this.addField(i)},addField:function(i){var e=r("#tmpl-acf-field").html(),t=r(e),n=t.data("id"),a=acf.uniqid("field_"),c=acf.duplicate({target:t,search:n,replace:a,append:function(e,t){i.append(t)}}),l=acf.getFieldObject(c);l.prop("key",a),l.prop("ID",0),l.prop("label",""),l.prop("name",""),c.attr("data-key",a),c.attr("data-id",a),l.updateParent();var o=l.$input("label");setTimeout(function(){o.focus()},251),l.open(),this.renderFields(i),acf.doAction("add_field_object",l),acf.doAction("append_field_object",l)}})}(jQuery),function(a,e){var t=new acf.Model({id:"locationManager",wait:"ready",events:{"click .add-location-rule":"onClickAddRule","click .add-location-group":"onClickAddGroup","click .remove-location-rule":"onClickRemoveRule","change .refresh-location-rule":"onChangeRemoveRule"},initialize:function(){this.$el=a("#acf-field-group-locations")},onClickAddRule:function(e,t){this.addRule(t.closest("tr"))},onClickRemoveRule:function(e,t){this.removeRule(t.closest("tr"))},onChangeRemoveRule:function(e,t){this.changeRule(t.closest("tr"))},onClickAddGroup:function(e,t){this.addGroup()},addRule:function(e){acf.duplicate(e)},removeRule:function(e){0==e.siblings("tr").length?e.closest(".rule-group").remove():e.remove()},changeRule:function(t){var e=t.closest(".rule-group"),i=t.find("td.param select").attr("name").replace("[param]",""),n={action:"acf/field_group/render_location_rule"};n.rule=acf.serialize(t,i),n.rule.id=t.data("id"),n.rule.group=e.data("id"),acf.disable(t.find("td.value")),a.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(n),type:"post",dataType:"html",success:function(e){e&&t.replaceWith(e)}})},addGroup:function(){var e=this.$(".rule-group:last");$group2=acf.duplicate(e),$group2.find("h4").text(acf.__("or")),$group2.find("tr").not(":first").remove()}})}(jQuery),function(l,i){var e=acf.getCompatibility(acf);e.field_group={save_field:function(e,t){t=t!==i?t:"settings",acf.getFieldObject(e).save(t)},delete_field:function(e,t){t=t===i||t,acf.getFieldObject(e).delete({animate:t})},update_field_meta:function(e,t,i){acf.getFieldObject(e).prop(t,i)},delete_field_meta:function(e,t){acf.getFieldObject(e).prop(t,null)}},e.field_group.field_object=acf.model.extend({type:"",o:{},$field:null,$settings:null,tag:function(e){var t=this.type,i=e.split("_");return i.splice(1,0,"field"),e=i.join("_"),t&&(e+="/type="+t),e},selector:function(){var e=".acf-field-object",t=this.type;return t&&(e+="-"+t,e=acf.str_replace("_","-",e)),e},_add_action:function(e,t){var i=this;acf.add_action(this.tag(e),function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_filter:function(e,t){var i=this;acf.add_filter(this.tag(e),function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_event:function(e,t){var i=this,n=e.substr(0,e.indexOf(" ")),a=e.substr(e.indexOf(" ")+1),c=this.selector();l(document).on(n,c+" "+a,function(e){e.$el=l(this),e.$field=e.$el.closest(".acf-field-object"),i.set("$field",e.$field),i[t].apply(i,[e])})},_set_$field:function(){this.o=this.$field.data(),this.$settings=this.$field.find("> .settings > table > tbody"),this.focus()},focus:function(){},setting:function(e){return this.$settings.find("> .acf-field-setting-"+e)}});var t=new acf.Model({actions:{open_field_object:"onOpenFieldObject",close_field_object:"onCloseFieldObject",add_field_object:"onAddFieldObject",duplicate_field_object:"onDuplicateFieldObject",delete_field_object:"onDeleteFieldObject",change_field_object_type:"onChangeFieldObjectType",change_field_object_label:"onChangeFieldObjectLabel",change_field_object_name:"onChangeFieldObjectName",change_field_object_parent:"onChangeFieldObjectParent",sortstop_field_object:"onChangeFieldObjectParent"},onOpenFieldObject:function(e){acf.doAction("open_field",e.$el),acf.doAction("open_field/type="+e.get("type"),e.$el),acf.doAction("render_field_settings",e.$el),acf.doAction("render_field_settings/type="+e.get("type"),e.$el)},onCloseFieldObject:function(e){acf.doAction("close_field",e.$el),acf.doAction("close_field/type="+e.get("type"),e.$el)},onAddFieldObject:function(e){acf.doAction("add_field",e.$el),acf.doAction("add_field/type="+e.get("type"),e.$el)},onDuplicateFieldObject:function(e){acf.doAction("duplicate_field",e.$el),acf.doAction("duplicate_field/type="+e.get("type"),e.$el)},onDeleteFieldObject:function(e){acf.doAction("delete_field",e.$el),acf.doAction("delete_field/type="+e.get("type"),e.$el)},onChangeFieldObjectType:function(e){acf.doAction("change_field_type",e.$el),acf.doAction("change_field_type/type="+e.get("type"),e.$el),acf.doAction("render_field_settings",e.$el),acf.doAction("render_field_settings/type="+e.get("type"),e.$el)},onChangeFieldObjectLabel:function(e){acf.doAction("change_field_label",e.$el),acf.doAction("change_field_label/type="+e.get("type"),e.$el)},onChangeFieldObjectName:function(e){acf.doAction("change_field_name",e.$el),acf.doAction("change_field_name/type="+e.get("type"),e.$el)},onChangeFieldObjectParent:function(e){acf.doAction("update_field_parent",e.$el)}})}(jQuery); \ No newline at end of file diff --git a/assets/js/acf-input.js b/assets/js/acf-input.js index 64b3220..21bebf1 100644 --- a/assets/js/acf-input.js +++ b/assets/js/acf-input.js @@ -3718,70 +3718,220 @@ (function($, undefined){ + /** + * acf.getPostbox + * + * Returns a postbox instance. + * + * @date 23/9/18 + * @since 5.7.7 + * + * @param mixed $el Either a jQuery element or the postbox id. + * @return object + */ + acf.getPostbox = function( $el ){ + + // allow string parameter + if( typeof arguments[0] == 'string' ) { + $el = $('#' + arguments[0]); + } + + // return instance + return acf.getInstance( $el ); + }; + + /** + * acf.getPostboxes + * + * Returns an array of postbox instances. + * + * @date 23/9/18 + * @since 5.7.7 + * + * @param void + * @return array + */ + acf.getPostboxes = function(){ + + // find all postboxes + var $postboxes = $('.acf-postbox'); + + // return instances + return acf.getInstances( $postboxes ); + }; + + /** + * acf.newPostbox + * + * Returns a new postbox instance for the given props. + * + * @date 20/9/18 + * @since 5.7.6 + * + * @param object props The postbox properties. + * @return object + */ + acf.newPostbox = function( props ){ + return new acf.models.Postbox( props ); + }; + + /** + * acf.models.Postbox + * + * The postbox model. + * + * @date 20/9/18 + * @since 5.7.6 + * + * @param void + * @return void + */ acf.models.Postbox = acf.Model.extend({ data: { - id: '', + id: '', key: '', style: 'default', label: 'top', - editLink: '', - editTitle: '', - visibility: true + visible: true, + edit: '', + html: true, }, setup: function( props ){ + + // compatibilty + if( props.editLink ) { + props.edit = props.editLink; + } + + // extend data $.extend(this.data, props); + + // set $el + this.$el = this.$postbox(); + }, + + $postbox: function(){ + return $('#' + this.get('id')); + }, + + $placeholder: function(){ + return $('#' + this.get('id') + '-placeholder'); + }, + + $hide: function(){ + return $('#' + this.get('id') + '-hide'); + }, + + $hideLabel: function(){ + return this.$hide().parent(); + }, + + $hndle: function(){ + return this.$('> .hndle'); + }, + + $inside: function(){ + return this.$('> .inside'); + }, + + isVisible: function(){ + return this.get('visible'); + }, + + hasHTML: function(){ + return this.get('html'); }, initialize: function(){ - // vars - var id = this.get('id'); - var $postbox = $('#' + id); - var $toggle = $('#' + id + '-hide'); - var $label = $toggle.parent(); + // Add default class. + this.$el.addClass('acf-postbox'); - // add class - $postbox.addClass('acf-postbox'); - $label.addClass('acf-postbox-toggle'); + // Remove 'hide-if-js class. + // This class is added by WP to postboxes that are hidden via the "Screen Options" tab. + this.$el.removeClass('hide-if-js'); - // remove class - $postbox.removeClass('hide-if-js'); - $label.removeClass('hide-if-js'); - - // field group style + // Add field group style class. var style = this.get('style'); if( style !== 'default' ) { - $postbox.addClass( style ); + this.$el.addClass( style ); } - // .inside class - $postbox.children('.inside').addClass('acf-fields').addClass('-' + this.get('label')); + // Add .inside class. + this.$inside().addClass('acf-fields').addClass('-' + this.get('label')); - - // visibility - if( this.get('visibility') ) { - $toggle.prop('checked', true); + // Append edit link. + var edit = this.get('edit'); + if( edit ) { + this.$hndle().append(''); + } + + // Show postbox. + if( this.isVisible() ) { + this.show(); + + // Hide postbox. + // Hidden postboxes do not contain HTML and are used as placeholders. } else { - $postbox.addClass('acf-hidden'); - $label.addClass('acf-hidden'); + this.set('html', false); + this.hide(); } + }, + + show: function(){ - // edit link - var editLink = this.get('editLink'); - var editTitle = this.get('editTitle'); - if( editLink ) { - - $postbox.children('.hndle').append(''); - } + // Show label. + this.$hideLabel().show(); + + // toggle on checkbox + this.$hide().prop('checked', true); + + // Show postbox + this.$el.show().removeClass('acf-hidden'); + }, + + enable: function(){ + acf.enable( this.$el, 'postbox' ); + }, + + showEnable: function(){ + this.show(); + this.enable(); + }, + + hide: function(){ + + // Hide label. + this.$hideLabel().hide(); + + // Hide postbox + this.$el.hide().addClass('acf-hidden'); + }, + + disable: function(){ + acf.disable( this.$el, 'postbox' ); + }, + + hideDisable: function(){ + this.hide(); + this.disable(); + }, + + html: function( html ){ + + // Update HTML. + this.$inside().html( html ); + + // Keep a record that this postbox has HTML. + this.set('html', true); + + // Do action. + acf.doAction('append', this.$el); } }); - - acf.newPostbox = function( props ){ - return new acf.models.Postbox( props ); - }; - + })(jQuery); (function($, undefined){ @@ -8626,6 +8776,9 @@ var oldId = $textarea.attr('id'); var newId = acf.uniqueId('acf-editor-'); + // store copy of textarea data + var data = $textarea.data(); + // rename acf.rename({ target: $wrap, @@ -8639,6 +8792,10 @@ // initialize acf.tinymce.initialize( newId, args ); + + // apply data to new textarea (acf.rename creates a new textarea element due to destructive mode) + // fixes bug where conditional logic "disabled" is lost during "screen_check" + this.$input().data(data); }, onMousedown: function( e ){ @@ -10494,22 +10651,6 @@ initialize: function(){ -/* - // disable if not active - if( !this.active ) { - this.events = {}; - } - - // bail early if not for post - if( acf.get('screen') !== 'post' ) { - return; - } - - 'check_screen_data' - - 'check_screen_events' - -*/ }, /* @@ -10670,7 +10811,7 @@ var ajaxData = acf.parseArgs(this.data, { action: 'acf/ajax/check_screen', screen: acf.get('screen'), - exclude: [] + exists: [] }); // post id @@ -10703,11 +10844,16 @@ ajaxData.post_terms = postTerms; } - // exclude existing postboxes - $('.acf-postbox').not('.acf-hidden').each(function(){ - ajaxData.exclude.push( $(this).attr('id').substr(4) ); + // add array of existing postboxes to increase performance and reduce JSON HTML + acf.getPostboxes().map(function( postbox ){ + if( postbox.hasHTML() ) { + ajaxData.exists.push( postbox.get('key') ); + } }); + // filter + ajaxData = acf.applyFilters('check_screen_args', ajaxData); + // success var onSuccess = function( json ){ @@ -10716,51 +10862,40 @@ return; } - // hide - $('.acf-postbox').addClass('acf-hidden'); - $('.acf-postbox-toggle').addClass('acf-hidden'); - - // reset style - $('#acf-style').html(''); + // vars + var visible = []; // loop - json.data.map(function( fieldGroup, i ){ + json.data.results.map(function( fieldGroup, i ){ // vars - var $postbox = $('#acf-' + fieldGroup.key); - var $toggle = $('#acf-' + fieldGroup.key + '-hide'); - var $label = $toggle.parent(); - - // show - // use show() to force display when postbox has been hidden by 'Show on screen' toggle - $postbox.removeClass('acf-hidden hide-if-js').show(); - $label.removeClass('acf-hidden hide-if-js').show(); - $toggle.prop('checked', true); + var id = 'acf-' + fieldGroup.key; + var postbox = acf.getPostbox( id ); - // replace HTML if needed - var $replace = $postbox.find('.acf-replace-with-fields'); - if( $replace.exists() ) { - $replace.replaceWith( fieldGroup.html ); - acf.doAction('append', $postbox); + // show postbox + postbox.showEnable(); + + // append + visible.push( id ); + + // update HTML + if( !postbox.hasHTML() && fieldGroup.html ) { + postbox.html( fieldGroup.html ); } - - // update style if needed - if( i === 0 ) { - $('#acf-style').html( fieldGroup.style ); - } - - // enable inputs - acf.enable( $postbox, 'postbox' ); }); - }; - - // complete - var onComplete = function( json ){ - // disable inputs - $('.acf-postbox.acf-hidden').each(function(){ - acf.disable( $(this), 'postbox' ); + // hide other postboxes + acf.getPostboxes().map(function( postbox ){ + if( visible.indexOf( postbox.get('id') ) === -1 ) { + postbox.hideDisable(); + } }); + + // reset style + $('#acf-style').html( json.data.style ); + + // action + acf.doAction('check_screen_complete', json.data, ajaxData); }; // ajax @@ -10770,8 +10905,7 @@ type: 'post', dataType: 'json', context: this, - success: onSuccess, - complete: onComplete + success: onSuccess }); }, @@ -12991,19 +13125,23 @@ // if $item is a tr, apply some css to the elements if( $item.is('tr') ) { - // temp set as relative to find widths - $item.css('position', 'relative'); + // replace $placeholder children with a single td + // fixes "width calculation issues" due to conditional logic hiding some children + $placeholder.html(''); - // set widths for td children + // add helper class to remove absolute positioning + $item.addClass('acf-sortable-tr-helper'); + + // set fixed widths for children $item.children().each(function(){ - $(this).width($(this).width()); + $(this).width( $(this).width() ); }); - // revert position css - $item.css('position', 'absolute'); + // mimic height + $placeholder.height( $item.height() + 'px' ); - // add markup to the placeholder - $placeholder.html(''); + // remove class + $item.removeClass('acf-sortable-tr-helper'); } } }); @@ -14079,5 +14217,3 @@ // @codekit-prepend "../js/acf-validation.js"; // @codekit-prepend "../js/acf-helpers.js"; // @codekit-prepend "../js/acf-compatibility"; - - diff --git a/assets/js/acf-input.min.js b/assets/js/acf-input.min.js index f42b90a..deaff62 100644 --- a/assets/js/acf-input.min.js +++ b/assets/js/acf-input.min.js @@ -1,4 +1,4 @@ -!function($,t){var e={};window.acf=e,e.data={},e.get=function(t){return this.data[t]||null},e.has=function(t){return null!==this.get(t)},e.set=function(t,e){return this.data[t]=e,this};var i=0;e.uniqueId=function(t){var e=++i+"";return t?t+e:e},e.uniqueArray=function(t){function e(t,e,i){return i.indexOf(t)===e}return t.filter(e)};var n="";e.uniqid=function(t,e){void 0===t&&(t="");var i,a=function(t,e){return t=parseInt(t,10).toString(16),et.length?Array(e-t.length+1).join("0")+t:t};return n||(n=Math.floor(123456789*Math.random())),n++,i=t,i+=a(parseInt((new Date).getTime()/1e3,10),8),i+=a(n,5),e&&(i+=(10*Math.random()).toFixed(8).toString()),i},e.strReplace=function(t,e,i){return i.split(t).join(e)},e.strCamelCase=function(t){return t=t.replace(/[_-]/g," "),t=t.replace(/(?:^\w|\b\w|\s+)/g,function(t,e){return 0==+t?"":0==e?t.toLowerCase():t.toUpperCase()})},e.strPascalCase=function(t){var i=e.strCamelCase(t);return i.charAt(0).toUpperCase()+i.slice(1)},e.strSlugify=function(t){return e.strReplace("_","-",t.toLowerCase())},e.strSanitize=function(t){var e={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","ß":"s","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","ĝ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o"," ":"_","'":"","?":"","/":"","\\":"",".":"",",":"","`":"",">":"","<":"",'"':"","[":"","]":"","|":"","{":"","}":"","(":"",")":""},i=/\W/g,n=function(t){return void 0!==e[t]?e[t]:t};return t=t.replace(i,n),t=t.toLowerCase()},e.strMatch=function(t,e){for(var i=0,n=Math.min(t.length,e.length),a=0;a").html(t).text()},e.strEscape=function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})},e.parseArgs=function(t,e){return"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={}),$.extend({},e,t)},void 0==window.acfL10n&&(acfL10n={}),e.__=function(t){return acfL10n[t]||t},e._x=function(t,e){return acfL10n[t+"."+e]||acfL10n[t]||t},e._n=function(t,i,n){return 1==n?e.__(t):e.__(i)},e.isArray=function(t){return Array.isArray(t)},e.isObject=function(t){return"object"==typeof t};var a=function(t,i,n){i=i.replace("[]","[%%index%%]");var a=i.match(/([^\[\]])+/g);if(a)for(var r=a.length,s=t,o=0;o');var o=e.parent();e.css({height:i,width:n,margin:a,position:"absolute"}),setTimeout(function(){o.css({opacity:0,height:t.endHeight})},50),setTimeout(function(){e.attr("style",s),o.remove(),t.complete()},301)},l=function(t){var e=t.target,i=e.height(),n=e.children().length,a=$('');e.addClass("acf-remove-element"),setTimeout(function(){e.html(a)},251),setTimeout(function(){e.removeClass("acf-remove-element"),a.css({height:t.endHeight})},300),setTimeout(function(){e.remove(),t.complete()},451)};e.duplicate=function(t){t instanceof jQuery&&(t={target:t});var i=0;t=e.parseArgs(t,{target:!1,search:"",replace:"",before:function(t){},after:function(t,e){},append:function(t,e){t.after(e),i=1}}),t.target=t.target||t.$el;var n=t.target;t.search=t.search||n.attr("data-id"),t.replace=t.replace||e.uniqid(),t.before(n),e.doAction("before_duplicate",n);var a=n.clone();return e.rename({target:a,search:t.search,replace:t.replace}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),t.after(n,a),e.doAction("after_duplicate",n,a),t.append(n,a),e.doAction("append",a),a},e.rename=function(t){t instanceof jQuery&&(t={target:t}),t=e.parseArgs(t,{target:!1,destructive:!1,search:"",replace:""});var i=t.target,n=t.search||i.attr("data-id"),a=t.replace||e.uniqid("acf"),r=function(t,e){return e.replace(n,a)};if(t.destructive){var s=i.outerHTML();s=e.strReplace(n,a,s),i.replaceWith(s)}else i.attr("data-id",a),i.find('[id*="'+n+'"]').attr("id",r),i.find('[for*="'+n+'"]').attr("for",r),i.find('[name*="'+n+'"]').attr("name",r);return i},e.prepareForAjax=function(t){return t.nonce=e.get("nonce"),t.post_id=e.get("post_id"),e.has("language")&&(t.lang=e.get("language")),t=e.applyFilters("prepare_for_ajax",t)},e.startButtonLoading=function(t){t.prop("disabled",!0),t.after(' ')},e.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},e.showLoading=function(t){t.append('
    ')},e.hideLoading=function(t){t.children(".acf-loading-overlay").remove()},e.updateUserSetting=function(t,i){var n={action:"acf/ajax/user_setting",name:t,value:i};$.ajax({url:e.get("ajaxurl"),data:e.prepareForAjax(n),type:"post",dataType:"html"})},e.val=function(t,e,i){var n=t.val();return e!==n&&(t.val(e),t.is("select")&&null===t.val()?(t.val(n),!1):(!0!==i&&t.trigger("change"),!0))},e.show=function(t,i){return i&&e.unlock(t,"hidden",i),!e.isLocked(t,"hidden")&&(!!t.hasClass("acf-hidden")&&(t.removeClass("acf-hidden"),!0))},e.hide=function(t,i){return i&&e.lock(t,"hidden",i),!t.hasClass("acf-hidden")&&(t.addClass("acf-hidden"),!0)},e.isHidden=function(t){return t.hasClass("acf-hidden")},e.isVisible=function(t){return!e.isHidden(t)};var d=function(t,i){return!t.hasClass("acf-disabled")&&(i&&e.unlock(t,"disabled",i),!e.isLocked(t,"disabled")&&(!!t.prop("disabled")&&(t.prop("disabled",!1),!0)))};e.enable=function(t,e){if(t.attr("name"))return d(t,e);var i=!1;return t.find("[name]").each(function(){d($(this),e)&&(i=!0)}),i};var u=function(t,i){return i&&e.lock(t,"disabled",i),!t.prop("disabled")&&(t.prop("disabled",!0),!0)};e.disable=function(t,e){if(t.attr("name"))return u(t,e);var i=!1;return t.find("[name]").each(function(){u($(this),e)&&(i=!0)}),i},e.isset=function(t){for(var e=1;e-1){var s=window.URL||window.webkitURL,o=new Image;o.onload=function(){a.width=this.width,a.height=this.height,i(a)},o.src=s.createObjectURL(r)}else i(a);else i(a)},e.isAjaxSuccess=function(t){return t&&t.success},e.getAjaxMessage=function(t){return e.isget(t,"data","message")},e.getAjaxError=function(t){return e.isget(t,"data","error")},e.renderSelect=function(t,i){var n=t.val(),a=[],r=function(t){var i="";return t.map(function(t){var n=t.text||t.label||"",s=t.id||t.value||"";a.push(s),t.children?i+=''+r(t.children)+"":i+='"}),i};return t.html(r(i)),a.indexOf(n)>-1&&t.val(n),t.val()};var f=function(t,e){return t.data("acf-lock-"+e)||[]},h=function(t,e,i){t.data("acf-lock-"+e,i)};e.lock=function(t,e,i){var n=f(t,e);n.indexOf(i)<0&&(n.push(i),h(t,e,n))},e.unlock=function(t,e,i){var n=f(t,e),a=n.indexOf(i);return a>-1&&(n.splice(a,1),h(t,e,n)),0===n.length},e.isLocked=function(t,e){return f(t,e).length>0},$.fn.exists=function(){return $(this).length>0},$.fn.outerHTML=function(){return $(this).get(0).outerHTML},Array.prototype.indexOf||(Array.prototype.indexOf=function(t){return $.inArray(t,this)}),$(document).ready(function(){e.doAction("ready")}),$(window).on("load",function(){e.doAction("load")}),$(window).on("beforeunload",function(){e.doAction("unload")}),$(window).on("resize",function(){e.doAction("resize")}),$(document).on("sortstart",function(t,i){e.doAction("sortstart",i.item,i.placeholder)}),$(document).on("sortstop",function(t,i){e.doAction("sortstop",i.item,i.placeholder)})}(jQuery),function(t,e){"use strict";var i=function(){function t(){return f}function e(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&(i=parseInt(i||10,10),c("actions",t,e,i,n)),u}function i(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e&&d("actions",e,t),u}function n(t,e){return"string"==typeof t&&o("actions",t,e),u}function a(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&(i=parseInt(i||10,10),c("filters",t,e,i,n)),u}function r(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e?d("filters",e,t):u}function s(t,e){return"string"==typeof t&&o("filters",t,e),u}function o(t,e,i,n){if(f[t][e])if(i){var a=f[t][e],r;if(n)for(r=a.length;r--;){var s=a[r];s.callback===i&&s.context===n&&a.splice(r,1)}else for(r=a.length;r--;)a[r].callback===i&&a.splice(r,1)}else f[t][e]=[]}function c(t,e,i,n,a){var r={callback:i,priority:n,context:a},s=f[t][e];s?(s.push(r),s=l(s)):s=[r],f[t][e]=s}function l(t){for(var e,i,n,a=1,r=t.length;ae.priority;)t[i]=t[i-1],--i;t[i]=e}return t}function d(t,e,i){var n=f[t][e];if(!n)return"filters"===t&&i[0];var a=0,r=n.length;if("filters"===t)for(;a','
    ','

    ','
    ','
    ',"
    ",'
    ',""].join("")},render:function(){var t=this.get("title"),e=this.get("content"),i=this.get("loading"),n=this.get("width"),a=this.get("height");this.title(t),this.content(e),n&&this.$(".acf-popup-box").css("width",n),a&&this.$(".acf-popup-box").css("min-height",a),this.loading(i),acf.doAction("append",this.$el)},update:function(t){this.data=acf.parseArgs(t,this.data),this.render()},title:function(t){this.$(".title:first h3").html(t)},content:function(t){this.$(".inner:first").html(t)},loading:function(t){var e=this.$(".loading:first");t?e.show():e.hide()},open:function(){$("body").append(this.$el)},close:function(){this.remove()},onClickClose:function(t,e){t.preventDefault(),this.close()}}),acf.newPopup=function(t){return new acf.models.Popup(t)}}(jQuery),function($,t){acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening"},events:{"change .acf-field":"startListening","submit form":"stopListening"},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,$(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,$(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})}(jQuery),function($,t){var e=new acf.Model({events:{"click .acf-panel-title":"onClick"},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.addClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(t){t.removeClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}})}(jQuery),function($,t){var e=acf.Model.extend({data:{text:"",type:"",timeout:0,dismiss:!0,target:!1,close:function(){}},events:{"click .acf-notice-dismiss":"onClickClose"},tmpl:function(){return'
    '},setup:function(t){$.extend(this.data,t),this.$el=$(this.tmpl())},initialize:function(){this.render(),this.show()},render:function(){this.type(this.get("type")),this.html("

    "+this.get("text")+"

    "),this.get("dismiss")&&(this.$el.append(''),this.$el.addClass("-dismiss"));var t=this.get("timeout");t&&this.away(t)},update:function(t){$.extend(this.data,t),this.initialize(),this.removeEvents(),this.addEvents()},show:function(){var t=this.get("target");t&&t.prepend(this.$el)},hide:function(){this.$el.remove()},away:function(t){this.setTimeout(function(){acf.remove(this.$el)},t)},type:function(t){var e=this.get("type");e&&this.$el.removeClass("-"+e),this.$el.addClass("-"+t),"error"==t&&this.$el.addClass("acf-error-message")},html:function(t){this.$el.html(t)},text:function(t){this.$("p").html(t)},onClickClose:function(t,e){t.preventDefault(),this.get("close").apply(this,arguments),this.remove()}});acf.newNotice=function(t){return"object"!=typeof t&&(t={text:t}),new e(t)};var i=new acf.Model({wait:"prepare",priority:1,initialize:function(){var t=$(".acf-admin-notice");t.length&&$("h1:first").after(t)}})}(jQuery),function($,t){acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",editLink:"",editTitle:"",visibility:!0},setup:function(t){$.extend(this.data,t)},initialize:function(){var t=this.get("id"),e=$("#"+t),i=$("#"+t+"-hide"),n=i.parent();e.addClass("acf-postbox"),n.addClass("acf-postbox-toggle"),e.removeClass("hide-if-js"),n.removeClass("hide-if-js");var a=this.get("style");"default"!==a&&e.addClass(a),e.children(".inside").addClass("acf-fields").addClass("-"+this.get("label")),this.get("visibility")?i.prop("checked",!0):(e.addClass("acf-hidden"),n.addClass("acf-hidden"));var r=this.get("editLink"),s=this.get("editTitle");r&&e.children(".hndle").append('')}}),acf.newPostbox=function(t){return new acf.models.Postbox(t)}}(jQuery),function($,t){acf.newTooltip=function(t){return"object"!=typeof t&&(t={text:t}),void 0!==t.confirmRemove?(t.textConfirm=acf.__("Remove"),t.textCancel=acf.__("Cancel"),new i(t)):void 0!==t.confirm?new i(t):new e(t)};var e=acf.Model.extend({data:{text:"",timeout:0,target:null},tmpl:function(){return'
    '},setup:function(t){$.extend(this.data,t),this.$el=$(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var t=this.get("timeout");t&&setTimeout($.proxy(this.fade,this),t)},update:function(t){$.extend(this.data,t),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){$("body").append(this.$el)},hide:function(){this.$el.remove()},fade:function(){this.$el.addClass("acf-fade-up"),this.setTimeout(function(){this.remove()},250)},html:function(t){this.$el.html(t)},position:function(){var t=this.$el,e=this.get("target");if(e){t.removeClass("right left bottom top");var i=10,n=e.outerWidth(),a=e.outerHeight(),r=e.offset().top,s=e.offset().left,o=t.outerWidth(),c=t.outerHeight(),l=r-c,d=s+n/2-o/2;d<10?(t.addClass("right"),d=s+n,l=r+a/2-c/2):d+o+10>$(window).width()?(t.addClass("left"),d=s-o,l=r+a/2-c/2):l-$(window).scrollTop()<10?(t.addClass("bottom"),l=r+a):t.addClass("top"),t.css({top:l,left:d})}}}),i=e.extend({data:{text:"",textConfirm:"",textCancel:"",target:null,targetConfirm:!0,confirm:function(){},cancel:function(){},context:!1},events:{'click [data-event="cancel"]':"onCancel",'click [data-event="confirm"]':"onConfirm"},addEvents:function(){acf.Model.prototype.addEvents.apply(this);var t=$(document),e=this.get("target");this.setTimeout(function(){this.on(t,"click","onCancel")}),this.get("targetConfirm")&&this.on(e,"click","onConfirm")},removeEvents:function(){acf.Model.prototype.removeEvents.apply(this);var t=$(document),e=this.get("target");this.off(t,"click"),this.off(e,"click")},render:function(){var t=this.get("text")||acf.__("Are you sure?"),e=this.get("textConfirm")||acf.__("Yes"),i=this.get("textCancel")||acf.__("No"),n=[t,''+e+"",''+i+""].join(" ");this.html(n),this.$el.addClass("-confirm")},onCancel:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("cancel"),n=this.get("context")||this;i.apply(n,arguments),this.remove()},onConfirm:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("confirm"),n=this.get("context")||this;i.apply(n,arguments),this.remove()}});acf.models.Tooltip=e,acf.models.TooltipConfirm=i;var n=new acf.Model({tooltip:!1,events:{"mouseenter .acf-js-tooltip":"showTitle","mouseup .acf-js-tooltip":"hideTitle","mouseleave .acf-js-tooltip":"hideTitle"},showTitle:function(t,e){var i=e.attr("title");i&&(e.attr("title",""),this.tooltip?this.tooltip.update({text:i,target:e}):this.tooltip=acf.newTooltip({text:i,target:e}))},hideTitle:function(t,e){this.tooltip.hide(),e.attr("title",this.tooltip.get("text"))}})}(jQuery),function($,t){var e=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(t){this.$el=t,this.inherit(t),this.inherit(this.$control())},val:function(t){return void 0!==t?this.setValue(t):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(t){return acf.val(this.$input(),t)},__:function(t){return acf._e(this.type,t)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var t=this.parents();return!!t.length&&t[0]},parents:function(){var t=this.$el.parents(".acf-field");return acf.getFields(t)},show:function(t,e){var i=acf.show(this.$el,t);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,e)),i},hide:function(t,e){var i=acf.hide(this.$el,t);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,e)),i},enable:function(t,e){var i=acf.enable(this.$el,t);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,e)),i},disable:function(t,e){var i=acf.disable(this.$el,t);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,e)),i},showEnable:function(t,e){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(t,e){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(t){"object"!=typeof t&&(t={text:t}),this.notice&&this.notice.remove(),t.target=this.$inputWrap(),this.notice=acf.newNotice(t)},removeNotice:function(t){this.notice&&(this.notice.away(t||0),this.notice=!1)},showError:function(t){this.$el.addClass("acf-error"),void 0!==t&&this.showNotice({text:t,type:"error",dismiss:!1}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",$.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(t,e,i){return"invalidField"==t&&(i=!0),acf.Model.prototype.trigger.apply(this,[t,e,i])}}),acf.newField=function(t){var e=t.data("type"),n=i(e),a=acf.models[n]||acf.Field,r=new a(t);return acf.doAction("new_field",r),r};var i=function(t){return acf.strPascalCase(t||"")+"Field"};acf.registerFieldType=function(t){var n=t.prototype,a=n.type,r=i(a);acf.models[r]=t,e.push(a)},acf.getFieldType=function(t){var e=i(t);return acf.models[e]||!1},acf.getFieldTypes=function(t){t=acf.parseArgs(t,{category:""});var i=[];return e.map(function(e){var n=acf.getFieldType(e),a=n.prototype;t.category&&a.category!==t.category||i.push(n)}),i}}(jQuery),function($,t){acf.findFields=function(t){var e=".acf-field",i=!1;return t=acf.parseArgs(t,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1}),t.suppressFilters||(t=acf.applyFilters("find_fields_args",t)),t.key&&(e+='[data-key="'+t.key+'"]'),t.type&&(e+='[data-type="'+t.type+'"]'),t.name&&(e+='[data-name="'+t.name+'"]'),t.is&&(e+=t.is),t.visible&&(e+=":visible"),i=t.parent?t.parent.find(e):t.sibling?t.sibling.siblings(e):$(e),t.suppressFilters||(i=i.not(".acf-clone .acf-field"),i=acf.applyFilters("find_fields",i)),t.limit&&(i=i.slice(0,t.limit)),i},acf.findField=function(t,e){return acf.findFields({key:t,limit:1,parent:e,suppressFilters:!0})},acf.getField=function(t){t instanceof jQuery||(t=acf.findField(t));var e=t.data("acf");return e||(e=acf.newField(t)),e},acf.getFields=function(t){t instanceof jQuery||(t=acf.findFields(t));var e=[];return t.each(function(){var t=acf.getField($(this));e.push(t)}),e},acf.findClosestField=function(t){return t.closest(".acf-field")},acf.getClosestField=function(t){var e=acf.findClosestField(t);return this.getField(e)};var e=function(t){var e=t,n=t+"_fields",a=t+"_field",r=function(t){var e=acf.arrayArgs(arguments),i=e.slice(1),a=acf.getFields({parent:t});if(a.length){var r=[n,a].concat(i);acf.doAction.apply(null,r)}},s=function(t){var e=acf.arrayArgs(arguments),i=e.slice(1);t.map(function(t,e){var n=[a,t].concat(i);acf.doAction.apply(null,n)})};acf.addAction(e,r),acf.addAction(n,s),i(t)},i=function(t){var e=t+"_field",i=t+"Field",n=function(n){var a=acf.arrayArgs(arguments),s=a.slice(1);["type","name","key"].map(function(t){var i="/"+t+"="+n.get(t);a=[e+i,n].concat(s),acf.doAction.apply(null,a)}),r.indexOf(t)>-1&&n.trigger(i,s)};acf.addAction(e,n)},n=["prepare","ready","load","append","remove","sortstart","sortstop","show","hide","unload"],a=["valid","invalid","enable","disable","new"],r=["remove","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable"];n.map(e),a.map(i);var s=new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(t){t.preventDefault()},onChange:function(){$("#_acf_changed").val(1)}})}(jQuery),function($,t){var e=0,i=acf.Field.extend({type:"accordion",wait:"",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(!this.$el.is("td")){if(this.get("endpoint"))return this.remove();var t=this.$el,i=this.$labelWrap(),n=this.$inputWrap(),a=this.$control(),r=n.children(".description");if(r.length&&i.append(r),this.$el.is("tr")){var s=this.$el.closest("table"),o=$('
    '),c=$('
    '),l=$(''),d=$("");o.append(i.html()),l.append(d),c.append(l),n.append(o),n.append(c),i.remove(),a.remove(),n.attr("colspan",2),i=o,n=c,a=d}t.addClass("acf-accordion"),i.addClass("acf-accordion-title"),n.addClass("acf-accordion-content"),e++,this.get("multi_expand")&&t.attr("multi-expand",1);var u=acf.getPreference("this.accordions")||[];void 0!==u[e-1]&&this.set("open",u[e-1]),this.get("open")&&(t.addClass("-open"),n.css("display","block")),i.prepend('');var f=t.parent();a.addClass(f.hasClass("-left")?"-left":""),a.addClass(f.hasClass("-clear")?"-clear":""),a.append(t.nextUntil(".acf-field-accordion",".acf-field")),a.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(i);var n=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.find(".acf-accordion-content:first").slideDown().css("display","block"),t.find(".acf-accordion-icon:first").removeClass("dashicons-arrow-right").addClass("dashicons-arrow-down"),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each(function(){n.close($(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").removeClass("dashicons-arrow-down").addClass("dashicons-arrow-right"),t.removeClass("-open"),acf.doAction("hide",t)},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},onInvalidField:function(t,e){this.busy||(this.busy=!0,this.setTimeout(function(){this.busy=!1},1e3),this.open(e))},onUnload:function(t){var e=[];$(".acf-accordion").each(function(){var t=$(this).hasClass("-open")?1:0;e.push(t)}),e.length&&acf.setPreference("this.accordions",e)}})}(jQuery),function($,t){var e=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){ -return this.$("input:checked")},setValue:function(t){this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var t=[];return this.$(":checked").each(function(){t.push($(this).val())}),!!t.length&&t},onChange:function(t,e){var i=e.prop("checked"),n=this.$toggle();if(i?e.parent().addClass("selected"):e.parent().removeClass("selected"),n.length){0==this.$inputs().not(":checked").length?n.prop("checked",!0):n.prop("checked",!1)}},onClickAdd:function(t,e){var i='
  • ';e.parent("li").before(i)},onClickToggle:function(t,e){var i=e.prop("checked");this.$inputs().prop("checked",i)},onClickCustom:function(t,e){var i=e.prop("checked"),n=e.next('input[type="text"]');i?n.prop("disabled",!1):(n.prop("disabled",!0),""==n.val()&&e.parent("li").remove())}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"color_picker",wait:"load",$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){var t=this.$input(),e=this.$inputText(),i=function(i){setTimeout(function(){acf.val(t,e.val())},1)},n={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i},n=acf.applyFilters("color_picker_args",n,this);e.wpColorPicker(n)}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),altField:t,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(e,i),acf.doAction("date_picker_init",e,i,this)},initializeCompatibility:function(){var t=this.$input(),e=this.$inputText();e.val(t.val());var i={dateFormat:this.get("date_format"),altField:t,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this);var n=i.dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(e,i),e.datepicker("option","dateFormat",n),acf.doAction("date_picker_init",e,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("datePickerL10n");return!!i&&(void 0!==$.datepicker&&(i.isRTL=e,$.datepicker.regional[t]=i,void $.datepicker.setDefaults(i)))}});acf.newDatePicker=function(t,e){if(void 0===$.datepicker)return!1;e=e||{},t.datepicker(e),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('
    ')}}(jQuery),function($,t){var e=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(e,i),acf.doAction("date_time_picker_init",e,i,this)}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("dateTimePickerL10n");return!!i&&(void 0!==$.timepicker&&(i.isRTL=e,$.timepicker.regional[t]=i,void $.timepicker.setDefaults(i)))}});acf.newDateTimePicker=function(t,e){if(void 0===$.timepicker)return!1;e=e||{},t.datetimepicker(e),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('
    ')}}(jQuery),function($,t){var e=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$input:function(t){return this.$('input[data-name="'+(t||"address")+'"]')},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},addClass:function(t){this.$control().addClass(t)},removeClass:function(t){this.$control().removeClass(t)},getValue:function(){var t={lat:"",lng:"",address:""};return this.$('input[type="hidden"]').each(function(){t[$(this).data("name")]=$(this).val()}),t.lat&&t.lng||(t=!1),t},setValue:function(t){t=acf.parseArgs(t,{lat:"",lng:"",address:""});for(var e in t)acf.val(this.$input(e),t[e]);t.lat&&t.lng||(t=!1),this.renderVal(t)},renderVal:function(t){t?(this.addClass("-value"),this.setPosition(t.lat,t.lng),this.map.marker.setVisible(!0)):(this.removeClass("-value"),this.map.marker.setVisible(!1)),this.$search().val(t.address)},setPosition:function(t,e){var i=this.newLatLng(t,e);return this.map.marker.setPosition(i),this.map.marker.setVisible(!0),acf.doAction("google_map_change",i,this.map,this),this.center(),this},center:function(){var t=this.map.marker.getPosition(),e=this.get("lat"),i=this.get("lng");t&&(e=t.lat(),i=t.lng());var n=this.newLatLng(e,i);this.map.setCenter(n)},getSearchVal:function(){return this.$search().val()},initialize:function(){if(!i.isReady())return void i.ready(this.initializeMap,this);this.initializeMap()},newLatLng:function(t,e){return new google.maps.LatLng(parseFloat(t),parseFloat(e))},initializeMap:function(){var t=this.get("zoom"),e=this.get("lat"),i=this.get("lng"),n={scrollwheel:!1,zoom:parseInt(t),center:this.newLatLng(e,i),mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};n=acf.applyFilters("google_map_args",n,this);var a=new google.maps.Map(this.$canvas()[0],n);this.addMapEvents(a,this);var r=acf.parseArgs(n.marker,{draggable:!0,raiseOnDrag:!0,map:a});r=acf.applyFilters("google_map_marker_args",r,this);var s=new google.maps.Marker(r);this.addMarkerEvents(s,this),a.acf=this,a.marker=s,this.map=a,acf.doAction("google_map_init",a,s,this);var o=this.getValue();this.renderVal(o)},addMapEvents:function(t,e){if(acf.isset(window,"google","maps","places","Autocomplete")){var i=t.autocomplete||{},n=new google.maps.places.Autocomplete(this.$search()[0],i);n.bindTo("bounds",t),google.maps.event.addListener(n,"place_changed",function(){var t=this.getPlace();t.address=e.getSearchVal(),e.setPlace(t)})}google.maps.event.addListener(t,"click",function(t){var i=t.latLng.lat(),n=t.latLng.lng();e.searchPosition(i,n)})},addMarkerEvents:function(t,e){google.maps.event.addListener(t,"dragend",function(){var t=this.getPosition(),i=t.lat(),n=t.lng();e.searchPosition(i,n)})},searchPosition:function(t,e){var n=this.newLatLng(t,e),a=this.$control();this.setPosition(t,e),a.addClass("-loading");var r=$.proxy(function(i,n){a.removeClass("-loading");var r="";n!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+n):i[0]?r=i[0].formatted_address:console.log("No results found"),this.val({lat:t,lng:e,address:r})},this);i.geocoder.geocode({latLng:n},r)},setPlace:function(t){if(!t)return this;if(t.name&&!t.geometry)return this.searchAddress(t.name),this;var e=t.geometry.location.lat(),i=t.geometry.location.lng(),n=t.address||t.formatted_address;return this.setValue({lat:e,lng:i,address:n}),this},searchAddress:function(t){var e=t.split(",");if(2==e.length){var n=e[0],a=e[1];if($.isNumeric(n)&&$.isNumeric(a))return this.searchPosition(n,a)}var r=this.$control();r.addClass("-loading");var s=this.proxy(function(e,i){r.removeClass("-loading");var n="",a="";i!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+i):e[0]?(n=e[0].geometry.location.lat(),a=e[0].geometry.location.lng()):console.log("No results found"),this.val({lat:n,lng:a,address:t})});i.geocoder.geocode({address:t},s)},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));var t=this.$control();t.addClass("-loading");var e=$.proxy(function(e,i){t.removeClass("-loading");var n=e.coords.latitude,a=e.coords.longitude;this.searchPosition(n,a)},this),i=function(e){t.removeClass("-loading")};navigator.geolocation.getCurrentPosition(e,i)},onClickClear:function(t,e){this.val(!1)},onClickLocate:function(t,e){this.searchLocation()},onClickSearch:function(t,e){this.searchAddress(this.$search().val())},onFocusSearch:function(t,e){this.removeClass("-value"),this.onKeyupSearch.apply(this,arguments)},onBlurSearch:function(t,e){this.setTimeout(function(){this.removeClass("-search"),e.val()&&this.addClass("-value")},100)},onKeyupSearch:function(t,e){e.val()?this.addClass("-search"):this.removeClass("-search")},onKeydownSearch:function(t,e){13==t.which&&t.preventDefault()},onMousedown:function(){},onShow:function(){if(!this.map)return!1;this.setTimeout(this.center,10)}});acf.registerFieldType(e);var i=new acf.Model({geocoder:!1,data:{status:!1},getStatus:function(){return this.get("status")},setStatus:function(t){return this.set("status",t)},isReady:function(){if("ready"==this.getStatus())return!0;if("loading"==this.getStatus())return!1;if(acf.isset(window,"google","maps","places"))return this.setStatus("ready"),!0;var t=acf.get("google_map_api");return t&&(this.setStatus("loading"),$.ajax({url:t,dataType:"script",cache:!0,context:this,success:function(){this.setStatus("ready"),this.geocoder=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}})),!1},ready:function(t,e){acf.addAction("google_map_api_loaded",t,10,e)}})}(jQuery),function($,t){var e=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(t){t=t||{},void 0!==t.id&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var e=acf.isget(t,"sizes",this.get("preview_size"),"url");return null!==e&&(t.url=e),t},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.url,alt:t.alt,title:t.title});var e=t.id||"";this.val(e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},append:function(t,e){var i=function(t,e){for(var i=acf.getFields({key:t.get("key"),parent:e.$el}),n=0;n0?this.append(e,t):this.render(e)},this)})},editAttachment:function(){var t=this.val();if(t)var e=acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:t,field:this.get("key"),select:$.proxy(function(t,e){this.render(t)},this)})},removeAttachment:function(){this.render(!1)},onClickAdd:function(t,e){this.selectAttachment()},onClickEdit:function(t,e){this.editAttachment()},onClickRemove:function(t,e){this.removeAttachment()},onChange:function(t,e){var i=this.$input();acf.getFileInputData(e,function(t){i.val($.param(t))})}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.models.ImageField.extend({type:"file",$control:function(){return this.$(".acf-file-uploader")},$input:function(){return this.$('input[type="hidden"]')},validateAttachment:function(t){return t=t||{},void 0!==t.id&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"})},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.icon,alt:t.alt,title:t.title}),this.$('[data-name="title"]').text(t.title),this.$('[data-name="filename"]').text(t.filename).attr("href",t.url),this.$('[data-name="filesize"]').text(t.filesizeHumanReadable);var e=t.id||"";acf.val(this.$input(),e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},selectAttachment:function(){var t=this.parent(),e=t&&"repeater"===t.get("type"),i=acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:e,library:this.get("library"),allowedTypes:this.get("mime_types"),select:$.proxy(function(e,i){i>0?this.append(e,t):this.render(e)},this)})},editAttachment:function(){var t=this.val();if(!t)return!1;var e=acf.newMediaPopup({mode:"edit",title:acf.__("Edit File"),button:acf.__("Update File"),attachment:t,field:this.get("key"),select:$.proxy(function(t,e){this.render(t)},this)})}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove","change .link-node":"onChange"},$control:function(){return this.$(".acf-link")},$node:function(){return this.$(".link-node")},getValue:function(){var t=this.$node();return!!t.attr("href")&&{title:t.html(),url:t.attr("href"),target:t.attr("target")}},setValue:function(t){t=acf.parseArgs(t,{title:"",url:"",target:""});var e=this.$control(),i=this.$node();e.removeClass("-value -external"),t.url&&e.addClass("-value"),"_blank"===t.target&&e.addClass("-external"),this.$(".link-title").html(t.title),this.$(".link-url").attr("href",t.url).html(t.url),i.html(t.title),i.attr("href",t.url),i.attr("target",t.target),this.$(".input-title").val(t.title),this.$(".input-target").val(t.target),this.$(".input-url").val(t.url).trigger("change")},onClickEdit:function(t,e){acf.wpLink.open(this.$node())},onClickRemove:function(t,e){this.setValue(!1)},onChange:function(t,e){var i=this.getValue();this.setValue(i)}});acf.registerFieldType(e),acf.wpLink=new acf.Model({getNodeValue:function(){var t=this.get("node");return{title:t.html(),url:t.attr("href"),target:t.attr("target")}},setNodeValue:function(t){var e=this.get("node");e.html(t.title),e.attr("href",t.url),e.attr("target",t.target),e.trigger("change")},getInputValue:function(){return{title:$("#wp-link-text").val(),url:$("#wp-link-url").val(),target:$("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(t){$("#wp-link-text").val(t.title),$("#wp-link-url").val(t.url),$("#wp-link-target").prop("checked","_blank"===t.target)},open:function(t){this.on("wplink-open","onOpen"),this.on("wplink-close","onClose"),this.set("node",t);var e=$('');$("body").append(e);var i=this.getNodeValue();wpLink.open("acf-link-textarea",i.url,i.title,null)},onOpen:function(){$("#wp-link-wrap").addClass("has-text-field");var t=this.getNodeValue();this.setInputValue(t)},close:function(){wpLink.close()},onClose:function(){if(!this.has("node"))return!1;this.off("wplink-open"),this.off("wplink-close");var t=this.getInputValue();this.setNodeValue(t),$("#acf-link-textarea").remove(),this.set("node",null)}})}(jQuery),function($,t){var e=acf.Field.extend({type:"oembed",events:{'click [data-name="clear-button"]':"onClickClear","keypress .input-search":"onKeypressSearch","keyup .input-search":"onKeyupSearch","change .input-search":"onChangeSearch"},$control:function(){return this.$(".acf-oembed")},$input:function(){return this.$(".input-value")},$search:function(){return this.$(".input-search")},getValue:function(){return this.$input().val()},getSearchVal:function(){return this.$search().val()},setValue:function(t){t?this.$control().addClass("has-value"):this.$control().removeClass("has-value"),acf.val(this.$input(),t)},showLoading:function(t){acf.showLoading(this.$(".canvas"))},hideLoading:function(){acf.hideLoading(this.$(".canvas"))},maybeSearch:function(){var t=this.val(),e=this.getSearchVal();if(!e)return this.clear();if("http"!=e.substr(0,4)&&(e="http://"+e),e!==t){var i=this.get("timeout");i&&clearTimeout(i);var n=$.proxy(this.search,this,e);this.set("timeout",setTimeout(n,300))}},search:function(t){var e={action:"acf/fields/oembed/search",s:t,field_key:this.get("key")},i=this.get("xhr");i&&i.abort(),this.showLoading();var i=$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"json",context:this,success:function(t){t&&t.html||(t={url:!1,html:""}),this.val(t.url),this.$(".canvas-media").html(t.html)},complete:function(){this.hideLoading()}});this.set("xhr",i)},clear:function(){this.val(""),this.$search().val(""),this.$(".canvas-media").html("")},onClickClear:function(t,e){this.clear()},onKeypressSearch:function(t,e){13==t.which&&(t.preventDefault(),this.maybeSearch())},onKeyupSearch:function(t,e){e.val()&&this.maybeSearch()},onChangeSearch:function(t,e){this.maybeSearch()}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"radio",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-radio-list")},$input:function(){return this.$("input:checked")},$inputText:function(){return this.$('input[type="text"]')},getValue:function(){var t=this.$input().val();return"other"===t&&this.get("other_choice")&&(t=this.$inputText().val()),t},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected"),a=e.val();this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"),a=!1),this.get("other_choice")&&("other"===a?this.$inputText().prop("disabled",!1):this.$inputText().prop("disabled",!0))}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"range",events:{'input input[type="range"]':"onChange","change input":"onChange"},$input:function(){return this.$('input[type="range"]')},$inputAlt:function(){return this.$('input[type="number"]')},setValue:function(t){this.busy=!0,acf.val(this.$input(),t),acf.val(this.$inputAlt(),t,!0),this.busy=!1},onChange:function(t,e){this.busy||this.setValue(e.val())}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"relationship",events:{"keypress [data-filter]":"onKeypressFilter","change [data-filter]":"onChangeFilter","keyup [data-filter]":"onChangeFilter","click .choices-list .acf-rel-item":"onClickAdd",'click [data-name="remove_item"]':"onClickRemove",mouseover:"onHover"},$control:function(){return this.$(".acf-relationship")},$list:function(t){return this.$("."+t+"-list")},$listItems:function(t){return this.$list(t).find(".acf-rel-item")},$listItem:function(t,e){return this.$list(t).find('.acf-rel-item[data-id="'+e+'"]')},getValue:function(){var t=[];return this.$listItems("values").each(function(){t.push($(this).data("id"))}),!!t.length&&t},newChoice:function(t){return["
  • ",''+t.text+"","
  • "].join("")},newValue:function(t){return["
  • ",'',''+t.text,'',"","
  • "].join("")},addSortable:function(t){this.$list("values").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:function(){t.$input().trigger("change")}})},initialize:function(){var t=this.proxy(function(t){if(!this.get("loading")&&this.get("more")){var e=this.$list("choices"),i=Math.ceil(e.scrollTop()),n=Math.ceil(e[0].scrollHeight),a=Math.ceil(e.innerHeight()),r=this.get("paged")||1;i+a>=n&&(this.set("paged",r+1),this.fetch())}});this.$list("choices").scrollTop(0).on("scroll",t),this.fetch()},onHover:function(t){$().off(t),this.addSortable(this)},onKeypressFilter:function(t,e){13==t.which&&t.preventDefault()},onChangeFilter:function(t,e){var i=e.val(),n=e.data("filter");this.get(n)!==i&&(this.set(n,i),this.set("paged",1),e.is("select")?this.fetch():this.maybeFetch())},onClickAdd:function(t,e){var i=this.val(),n=parseInt(this.get("max"));if(e.hasClass("disabled"))return!1;if(n>0&&i&&i.length>=n)return this.showNotice({text:acf.__("Maximum values reached ( {max} values )").replace("{max}",n),type:"warning"}),!1;e.addClass("disabled");var a=this.newValue({id:e.data("id"),text:e.html()});this.$list("values").append(a),this.$input().trigger("change")},onClickRemove:function(t,e){var i=e.parent(),n=i.parent(),a=i.data("id");setTimeout(function(){n.remove()},1),this.$listItem("choices",a).removeClass("disabled"),this.$input().trigger("change")},maybeFetch:function(){var t=this.get("timeout");t&&clearTimeout(t),t=this.setTimeout(this.fetch,300),this.set("timeout",t)},getAjaxData:function(){var t=this.$control().data();for(var e in t)t[e]=this.get(e);return t.action="acf/fields/relationship/query",t.field_key=this.get("key"),t},fetch:function(){var t=this.get("xhr");t&&t.abort();var e=this.getAjaxData(),i=this.$list("choices");1==e.paged&&i.html("");var n=$('
  • '+acf.__("Loading")+"
  • ");i.append(n),this.set("loading",!0);var a=function(){this.set("loading",!1),n.remove()},r=function(t){if(!t||!t.results||!t.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("
  • "+acf.__("No matches found")+"
  • "));this.set("more",t.more);var e=this.walkChoices(t.results),n=$(e),a=this.val();a&&a.length&&a.map(function(t){n.find('.acf-rel-item[data-id="'+t+'"]').addClass("disabled")}),i.append(n);var r=!1,s=!1;i.find(".acf-rel-label").each(function(){var t=$(this),e=t.siblings("ul");if(r&&r.text()==t.text())return s.append(e.children()),void $(this).parent().remove();r=t,s=e})},t=$.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(e),context:this,success:r,complete:a});this.set("xhr",t)},walkChoices:function(t){var e=function(t){var i="";return $.isArray(t)?t.map(function(t){i+=e(t)}):$.isPlainObject(t)&&(void 0!==t.children?(i+='
  • '+t.text+'
      ',i+=e(t.children),i+="
  • "):i+='
  • '+t.text+"
  • "),i};return e(t)}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"select",select2:!1,wait:"load",events:{removeField:"onRemove"},$input:function(){return this.$("select")},initialize:function(){var t=this.$input();if(this.inherit(t),this.get("ui")){var e=this.get("ajax_action");e||(e="acf/fields/"+this.get("type")+"/query"),this.select2=acf.newSelect2(t,{field:this,ajax:this.get("ajax"),multiple:this.get("multiple"),placeholder:this.get("placeholder"),allowNull:this.get("allow_null"),ajaxAction:e})}},onRemove:function(){this.select2&&this.select2.destroy()}});acf.registerFieldType(e)}(jQuery),function($,t){var e="tab",i=acf.Field.extend({type:"tab",wait:"",tabs:!1,tab:!1,findFields:function(){return this.$el.nextUntil(".acf-field-tab",".acf-field")},getFields:function(){return acf.getFields(this.findFields())},findTabs:function(){return this.$el.prevAll(".acf-tab-wrap:first")},findTab:function(){return this.$(".acf-tab-button")},initialize:function(){if(this.$el.is("td"))return this.events={},!1;var t=this.findTabs(),e=this.findTab(),i=acf.parseArgs(e.data(),{endpoint:!1,placement:"",before:this.$el});!t.length||i.endpoint?this.tabs=new a(i):this.tabs=t.data("acf"),this.tab=this.tabs.addTab(e,this)},isActive:function(){return this.tab.isActive()},showFields:function(){this.getFields().map(function(t){t.show(this.cid,"tab"),t.hiddenByTab=!1},this)},hideFields:function(){this.getFields().map(function(t){t.hide(this.cid,"tab"),t.hiddenByTab=this.tab},this)},show:function(t){var e=acf.Field.prototype.show.apply(this,arguments);return e&&(this.tab.show(),this.tabs.refresh()),e},hide:function(t){var e=acf.Field.prototype.hide.apply(this,arguments);return e&&(this.tab.hide(),this.isActive()&&this.tabs.reset()),e},enable:function(t){this.getFields().map(function(t){t.enable("tab")})},disable:function(t){this.getFields().map(function(t){t.disable("tab")})}});acf.registerFieldType(i);var n=0,a=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(t){$.extend(this.data,t),this.tabs=[],this.active=!1;var e=this.get("placement"),i=this.get("before"),a=i.parent();"left"==e&&a.hasClass("acf-fields")&&a.addClass("-sidebar"),i.is("tr")?this.$el=$('
    '):this.$el=$('
      '),i.before(this.$el),this.set("index",n,!0),n++},initializeTabs:function(){var t=this.getVisible().shift(),e=acf.getPreference("this.tabs")||[],i=this.get("index"),n=e[i];this.tabs[n]&&this.tabs[n].isVisible()&&(t=this.tabs[n]),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)},getVisible:function(){return this.tabs.filter(function(t){return t.isVisible()})},getActive:function(){return this.active},setActive:function(t){return this.active=t},hasActive:function(){return!1!==this.active},isActive:function(t){var e=this.getActive();return e&&e.cid===t.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(t){this.closeActive(),t.open(),this.setActive(t)},closeTab:function(t){t.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(t){this.tabs.map(function(e){t.cid!==e.cid&&this.closeTab(e)},this),this.openTab(t)},addTab:function(t,e){var i=$("
    • ");i.append(t),this.$("ul").append(i);var n=new r({$el:i,field:e,group:this});return this.tabs.push(n),n},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var t=this.getVisible().shift();return t&&this.openTab(t),t},onRefresh:function(){if("left"===this.get("placement")){var t=this.$el.parent(),e=this.$el.children("ul"),i=t.is("td")?"height":"min-height",n=e.position().top+e.outerHeight(!0)-1;t.css(i,n)}}}),r=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(t,e){t.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}}),s=new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",invalid_field:"onInvalidField"},findTabs:function(){return $(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(t){this.getTabs().map(function(t){t.get("initialized")||t.initializeTabs()})},onInvalidField:function(t){this.busy||t.hiddenByTab&&(t.hiddenByTab.toggle(),this.busy=!0,this.setTimeout(function(){this.busy=!1},100))},onUnload:function(){var t=[];this.getTabs().map(function(e){var i=e.hasActive()?e.getActive().index():0;t.push(i)}),t.length&&acf.setPreference("this.tabs",t)}})}(jQuery),function($,t){var e=acf.models.SelectField.extend({type:"post_object"});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.models.SelectField.extend({type:"page_link"});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.models.SelectField.extend({type:"user"});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var t=this.get("ftype");return"multi_select"==t&&(t="select"),t},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){this.select2&&this.select2.destroy()},onClickAdd:function(t,e){var i=this,n=!1,a=!1,r=!1,s=!1,o=!1,c=!1,l=!1,d=function(t){n.loading(!1),n.content(t),a=n.$("form"),r=n.$('input[name="term_name"]'),s=n.$('select[name="term_parent"]'),o=n.$(".acf-submit-button"),r.focus(),n.on("submit","form",u)},u=function(t,e){if(t.preventDefault(),t.stopImmediatePropagation(),""===r.val())return r.focus(),!1;acf.startButtonLoading(o);var n={action:"acf/fields/taxonomy/add_term",field_key:i.get("key"),term_name:r.val(),term_parent:s.length?s.val():0};$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(n),type:"post",dataType:"json",success:f})},f=function(t){acf.stopButtonLoading(o),l&&l.remove(),acf.isAjaxSuccess(t)?(r.val(""),h(t.data),l=acf.newNotice({type:"success",text:acf.getAjaxMessage(t),target:a,timeout:2e3,dismiss:!1})):l=acf.newNotice({type:"error",text:acf.getAjaxError(t),target:a,timeout:2e3,dismiss:!1}),r.focus()},h=function(t){var e=$('");t.term_parent?s.children('option[value="'+t.term_parent+'"]').after(e):s.append(e),acf.getFields({type:"taxonomy"}).map(function(e){e.get("taxonomy")==i.get("taxonomy")&&e.appendTerm(t)}),i.selectTerm(t.term_id)};!function(){n=acf.newPopup({title:e.attr("title"),loading:!0,width:"300px"});var t={action:"acf/fields/taxonomy/add_term",field_key:i.get("key")};$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",success:d})}()},appendTerm:function(t){"select"==this.getRelatedType()?this.appendTermSelect(t):this.appendTermCheckbox(t)},appendTermSelect:function(t){this.select2.addOption({id:t.term_id,text:t.term_label})},appendTermCheckbox:function(t){var e=this.$("[name]:first").attr("name"),i=this.$("ul:first");"checkbox"==this.getRelatedType()&&(e+="[]");var n=$(['
    • ',"","
    • "].join(""));if(t.term_parent){var a=i.find('li[data-id="'+t.term_parent+'"]');i=a.children("ul"),i.exists()||(i=$('
        '),a.append(i))}i.append(n)}, -selectTerm:function(t){if("select"==this.getRelatedType())this.select2.selectOption(t);else{this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")}},onClickRadio:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0};i.onClose=function(t,e,i){var n=e.dpDiv.find(".ui-datepicker-close");!t&&n.is(":hover")&&i._updateDateTime()},i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(e,i),acf.doAction("time_picker_init",e,i,this)}});acf.registerFieldType(e),acf.newTimePicker=function(t,e){if(void 0===$.timepicker)return!1;e=e||{},t.timepicker(e),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('
        ')}}(jQuery),function($,t){var e=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var t=this.$switch();if(t.length){var e=t.children(".acf-switch-on"),i=t.children(".acf-switch-off"),n=Math.max(e.width(),i.width());n&&(e.css("min-width",n),i.css("min-width",n))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(t,e){e.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(t,e){this.$switch().addClass("-focus")},onBlur:function(t,e){this.$switch().removeClass("-focus")},onKeypress:function(t,e){return 37===t.keyCode?this.switchOff():39===t.keyCode?this.switchOn():void 0}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var t=this.val();return!!t&&(-1!==t.indexOf("://")||0===t.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(t,e){this.render()}});acf.registerFieldType(e)}(jQuery),function($,t){var e=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",sortstartField:"disableEditor",sortstopField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var t=this.$control(),e=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},n=e.attr("id"),a=acf.uniqueId("acf-editor-");acf.rename({target:t,search:n,replace:a,destructive:!0}),this.set("id",a,!0),acf.tinymce.initialize(a,i)},onMousedown:function(t){t.preventDefault();var e=this.$control();e.removeClass("delay"),e.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}});acf.registerFieldType(e)}(jQuery),function($,t){var e=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(t){$.extend(this.data,t)},getEventTarget:function(t,e){return t||this.get("field").$el},change:function(t,e){this.get("conditions").change(t)},match:function(t,e){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(t){return''}}),acf.newCondition=function(t,e){var i=e.get("field"),n=i.getField(t.field);if(!i||!n)return!1;var a={rule:t,target:i,conditions:e,field:n},r=n.get("type"),s=t.operator;return new(acf.getConditionTypes({fieldType:r,operator:s})[0]||acf.Condition)(a)};var i=function(t){return acf.strPascalCase(t||"")+"Condition"};acf.registerConditionType=function(t){var n=t.prototype,a=n.type,r=i(a);acf.models[r]=t,e.push(a)},acf.getConditionType=function(t){var e=i(t);return acf.models[e]||!1},acf.registerConditionForFieldType=function(t,e){var i=acf.getConditionType(t);i&&i.prototype.fieldTypes.push(e)},acf.getConditionTypes=function(t){t=acf.parseArgs(t,{fieldType:"",operator:""});var i=[];return e.map(function(e){var n=acf.getConditionType(e),a=n.prototype.fieldTypes,r=n.prototype.operator;t.fieldType&&-1===a.indexOf(t.fieldType)||t.operator&&r!==t.operator||i.push(n)}),i}}(jQuery),function($,t){var e="conditional_logic",i=new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(t){t.has("conditions")&&t.getConditions().render()}}),n=function(t,e){var i=acf.getFields({key:e,sibling:t.$el,suppressFilters:!0});return i.length||(i=acf.getFields({key:e,parent:t.$el.parent(),suppressFilters:!0})),!!i.length&&i[0]};acf.Field.prototype.getField=function(t){var e=n(this,t);if(e)return e;for(var i=this.parents(),a=0;aparseFloat(e)},s=function(t,e){return parseFloat(t)-1},c=function(t,e){return i(t).indexOf(i(e))>-1},l=function(t,e){var n=new RegExp(i(e),"gi");return i(t).match(n)},d=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:e("Has any value"),fieldTypes:["text","textarea","number","range","email","url","password","image","file","wysiwyg","oembed","select","checkbox","radio","button_group","link","post_object","page_link","relationship","taxonomy","user","google_map","date_picker","date_time_picker","time_picker","color_picker"],match:function(t,e){return!!e.val()},choices:function(t){return''}});acf.registerConditionType(d);var u=d.extend({type:"hasNoValue",operator:"==empty",label:e("Has no value"),match:function(t,e){return!d.prototype.match.apply(this,arguments)}});acf.registerConditionType(u);var f=acf.Condition.extend({type:"equalTo",operator:"==",label:e("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(t,e){return $.isNumeric(t.value)?a(t.value,e.val()):n(t.value,e.val())},choices:function(t){return''}});acf.registerConditionType(f);var h=f.extend({type:"notEqualTo",operator:"!=",label:e("Value is not equal to"),match:function(t,e){return!f.prototype.match.apply(this,arguments)}});acf.registerConditionType(h);var p=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:e("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(t,e){return l(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(p);var g=acf.Condition.extend({type:"contains",operator:"==contains",label:e("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(t,e){return c(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(g);var m=f.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:e("Checked")}]}});acf.registerConditionType(m);var v=h.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:e("Checked")}]}});acf.registerConditionType(v);var y=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:e("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(t,e){var i=e.val();return i instanceof Array?o(t.value,i):n(t.value,i)},choices:function(t){var i=[],n=t.$setting("choices textarea").val().split("\n");return t.$input("allow_null").prop("checked")&&i.push({id:"",text:e("Null")}),n.map(function(t){t=t.split(":"),t[1]=t[1]||t[0],i.push({id:$.trim(t[0]),text:$.trim(t[1])})}),i}});acf.registerConditionType(y);var b=y.extend({type:"selectNotEqualTo",operator:"!=",label:e("Value is not equal to"),match:function(t,e){return!y.prototype.match.apply(this,arguments)}});acf.registerConditionType(b);var x=acf.Condition.extend({type:"greaterThan",operator:">",label:e("Value is greater than"),fieldTypes:["number","range"],match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),r(i,t.value)},choices:function(t){return''}});acf.registerConditionType(x);var w=x.extend({type:"lessThan",operator:"<",label:e("Value is less than"),match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),s(i,t.value)},choices:function(t){return''}});acf.registerConditionType(w);var _=x.extend({type:"selectionGreaterThan",label:e("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(_);var k=w.extend({type:"selectionLessThan",label:e("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(k)}(jQuery),function($,t){acf.newMediaPopup=function(t){var e=null,t=acf.parseArgs(t,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}});return e="edit"==t.mode?new acf.models.EditMediaPopup(t):new acf.models.SelectMediaPopup(t),t.autoOpen&&setTimeout(function(){e.open()},1),acf.doAction("new_media_popup",e),e};var e=function(){var t=acf.get("post_id");return $.isNumeric(t)?t:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(t){var e=acf.getMimeTypes();if(void 0!==e[t])return e[t];for(var i in e)if(-1!==i.indexOf(t))return e[i];return!1};var i=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(t){$.extend(this.data,t)},initialize:function(){var t=this.getFrameOptions();this.addFrameStates(t);var e=wp.media(t);e.acf=this,this.addFrameEvents(e,t),this.frame=e},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var t={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(t.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(t.library.uploadedTo=e()),this.get("attachment")&&(t.library.post__in=[this.get("attachment")]),this.get("button")&&(t.button={text:this.get("button")}),t},addFrameStates:function(t){var e=wp.media.query(t.library);this.get("field")&&acf.isset(e,"mirroring","args")&&(e.mirroring.args._acfuploader=this.get("field")),t.states.push(new wp.media.controller.Library({library:e,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(t,e){t.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))},t),t.on("content:render:edit-image",function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()},t),t.on("select",function(){var e=t.state().get("selection");e&&e.each(function(e,i){t.acf.get("select").apply(t.acf,[e,i])})}),t.on("close",function(){setTimeout(function(){t.acf.get("close").apply(t.acf),t.acf.remove()},1)})}});acf.models.SelectMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Select","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(t,e){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),t.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),t.on("content:activate:browse",function(){var e=!1;try{e=t.content.get().toolbar}catch(t){return void console.log(t)}t.acf.customizeFilters.apply(t.acf,[e])}),i.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(t){var e=t.get("filters");if("image"==this.get("type")&&(e.filters.all.text=acf.__("All images"),delete e.filters.audio,delete e.filters.video,delete e.filters.image,$.each(e.filters,function(t,e){e.props.type=e.props.type||"image"})),this.get("allowedTypes")){this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map(function(t){var i=acf.getMimeType(t);if(i){var n={text:i,props:{status:null,type:i,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};e.filters[i]=n}})}if("uploadedTo"===this.get("library")){var i=this.frame.options.library.uploadedTo;delete e.filters.unattached,delete e.filters.uploaded,$.each(e.filters,function(t,e){e.text+=" ("+acf.__("Uploaded to this post")+")",e.props.uploadedTo=i})}var n=this.get("field");$.each(e.filters,function(t,e){e.props._acfuploader=n}),t.get("search").model.attributes._acfuploader=n,e.renderFilters&&e.renderFilters()}}),acf.models.EditMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Update","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(t,e){t.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var e=this.state(),i=e.get("selection"),n=wp.media.attachment(t.acf.get("attachment"));i.add(n)},t),i.prototype.addFrameEvents.apply(this,arguments)}});var n=new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var t=e();t&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=t),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var t=wp.media.view.Router;wp.media.view.Router=t.extend({addExpand:function(){var t=$(['',''+acf.__("Expand Details")+"",''+acf.__("Collapse Details")+"",""].join(""));t.on("click",function(t){t.preventDefault();var e=$(this).closest(".media-modal");e.hasClass("acf-expanded")?e.removeClass("acf-expanded"):e.addClass("acf-expanded")}),this.$el.append(t)},initialize:function(){return t.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){if(acf.isset(wp,"media","view","AttachmentFilters","All")){wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map(function(t,e){return{el:$("").val(e).html(t.text)[0],priority:t.priority||50}},this).sortBy("priority").pluck("el").value())}}},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var t=wp.media.view.AttachmentCompat,e=!1;wp.media.view.AttachmentCompat=t.extend({render:function(){return this.rendered?this:(t.prototype.render.apply(this,arguments),this.$("#acf-form-data").length?(clearTimeout(e),e=setTimeout($.proxy(function(){this.rendered=!0,acf.doAction("append",this.$el)},this),50),this):this)}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var t=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=t.extend({render:function(){var e=acf.isget(this,"controller","acf"),i=acf.isget(this,"model","attributes");if(e&&i){i.acf_errors&&this.$el.addClass("acf-disabled");var n=e.get("selected");n&&n.indexOf(i.id)>-1&&this.$el.addClass("acf-selected")}return t.prototype.render.apply(this,arguments)},toggleSelection:function(e){var i=this.collection,n=this.options.selection,a=this.model,r=n.single(),s=this.controller,o=acf.isget(this,"model","attributes","acf_errors"),c=s.$el.find(".media-frame-content .media-sidebar");if(c.children(".acf-selection-error").remove(),c.children().removeClass("acf-hidden"),s&&o){var l=acf.isget(this,"model","attributes","filename");return c.children().addClass("acf-hidden"),c.prepend(['
        ',''+acf.__("Restricted")+"",''+l+"",''+o+"","
        "].join("")),n.reset(),void n.single(a)}return t.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function($,t){acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},initialize:function(){},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var t=$("#page_template");return t.length?t.val():null},getPageParent:function(t,e){var e=$("#parent_id");return e.length?e.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostFormat:function(t,e){var e=$("#post-formats-select input:checked");if(e.length){var i=e.val();return"0"==i?"standard":i}return null},getPostTerms:function(){var t={},e=acf.serialize($(".categorydiv, .tagsdiv"));e.tax_input&&(t=e.tax_input),e.post_category&&(t.category=e.post_category);for(var i in t)acf.isArray(t[i])||(t[i]=t[i].split(", "));acf.getFields({type:"taxonomy"}).map(function(e){if(e.get("save")){var i=e.val(),n=e.get("taxonomy");i&&(t[n]=t[n]||[],i=acf.isArray(i)?i:[i],t[n]=t[n].concat(i))}}),null!==(productType=this.getProductType())&&(t.product_type=[productType]);for(var i in t)t[i]=acf.uniqueArray(t[i]);return t},getProductType:function(){var t=$("#product-type");return t.length?t.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var t=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exclude:[]});this.isPost()&&(t.post_id=acf.get("post_id")),null!==(pageTemplate=this.getPageTemplate())&&(t.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(t.page_parent=pageParent),null!==(pageType=this.getPageType())&&(t.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(t.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(t.post_terms=postTerms),$(".acf-postbox").not(".acf-hidden").each(function(){t.exclude.push($(this).attr("id").substr(4))});var e=function(t){acf.isAjaxSuccess(t)&&($(".acf-postbox").addClass("acf-hidden"),$(".acf-postbox-toggle").addClass("acf-hidden"),$("#acf-style").html(""),t.data.map(function(t,e){var i=$("#acf-"+t.key),n=$("#acf-"+t.key+"-hide"),a=n.parent();i.removeClass("acf-hidden hide-if-js").show(),a.removeClass("acf-hidden hide-if-js").show(),n.prop("checked",!0);var r=i.find(".acf-replace-with-fields");r.exists()&&(r.replaceWith(t.html),acf.doAction("append",i)),0===e&&$("#acf-style").html(t.style),acf.enable(i,"postbox")}))},i=function(t){$(".acf-postbox.acf-hidden").each(function(){acf.disable($(this),"postbox")})};this.xhr=$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"json",context:this,success:e,complete:i})}},onChange:function(t,e){this.setTimeout(this.check,1)}})}(jQuery),function($,t){function e(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(t,i){if(i=acf.parseArgs(i,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(t){return t},ajaxResults:function(t){return t}}),4==e())var r=new n(t,i);else var r=new a(t,i);return acf.doAction("new_select2",r),r};var i=acf.Model.extend({setup:function(t,e){$.extend(this.data,e),this.$el=t},initialize:function(){},selectOption:function(t){var e=this.getOption(t);e.prop("selected")||e.prop("selected",!0).trigger("change")},unselectOption:function(t){var e=this.getOption(t);e.prop("selected")&&e.prop("selected",!1).trigger("change")},getOption:function(t){return this.$('option[value="'+t+'"]')},addOption:function(t){t=acf.parseArgs(t,{id:"",text:"",selected:!1});var e=this.getOption(t.id);return e.length||(e=$(""),e.html(t.text),e.attr("value",t.id),e.prop("selected",t.selected),this.$el.append(e)),e},getValue:function(){var t=[],e=this.$el.find("option:selected");return e.exists()?(e=e.sort(function(t,e){return+t.getAttribute("data-i")-+e.getAttribute("data-i")}),e.each(function(){var e=$(this);t.push({$el:e,id:e.attr("value"),text:e.text()})}),t):t},mergeOptions:function(){},getChoices:function(){var t=function(e){var i=[];return e.children().each(function(){var e=$(this);e.is("optgroup")?i.push({text:e.attr("label"),children:t(e)}):i.push({id:e.attr("value"),text:e.text()})}),i};return t(this.$el)},decodeChoices:function(t){var e=function(t){return t.map(function(t){return t.text=acf.decode(t.text),t.children&&(t.children=e(t.children)),t}),t};return e(t)},getAjaxData:function(t){var e={action:this.get("ajaxAction"),s:t.term||"",paged:t.page||1},i=this.get("field");i&&(e.field_key=i.get("key"));var n=this.get("ajaxData");return n&&(e=n.apply(this,[e,t])),e=acf.applyFilters("select2_ajax_data",e,this.data,this.$el,i||!1,this),acf.prepareForAjax(e)},getAjaxResults:function(t,e){t=acf.parseArgs(t,{results:!1,more:!1}),t.results&&(t.results=this.decodeChoices(t.results));var i=this.get("ajaxResults");return i&&(t=i.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_results",t,e,this)},processAjaxResults:function(t,e){var t=this.getAjaxResults(t,e);return t.more&&(t.pagination={more:!0}),setTimeout($.proxy(this.mergeOptions,this),1),t},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),n=i.extend({initialize:function(){var t=this.$el,e={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),data:[],escapeMarkup:function(t){return t}};e.multiple&&this.getValue().map(function(e){e.$el.detach().appendTo(t)}),t.removeData("ajax"),t.removeAttr("data-ajax"),this.get("ajax")&&(e.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:$.proxy(this.getAjaxData,this),processResults:$.proxy(this.processAjaxResults,this)});var i=this.get("field");e=acf.applyFilters("select2_args",e,t,this.data,i||!1,this),t.select2(e);var n=t.next(".select2-container");if(e.multiple){var a=n.find("ul");a.sortable({stop:function(e){a.find(".select2-selection__choice").each(function(){$($(this).data("data").element).detach().appendTo(t)}),t.trigger("change")}}),t.on("select2:select",this.proxy(function(t){this.getOption(t.params.data.id).detach().appendTo(this.$el)}))}n.addClass("-acf"),acf.doAction("select2_init",t,e,this.data,i||!1,this)},mergeOptions:function(){var t=!1,e=!1;$('.select2-results__option[role="group"]').each(function(){var i=$(this).children("ul"),n=$(this).children("strong");if(e&&e.text()===n.text())return t.append(i.children()),void $(this).remove();t=i,e=n})}}),a=i.extend({initialize:function(){var t=this.$el,e=this.getValue(),i=this.get("multiple"),n={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(t){return t},dropdownCss:{"z-index":"999999999"},initSelection:function(t,n){n(i?e:e.shift())}},a=t.siblings("input");a.length||(a=$(''),t.before(a)),inputValue=e.map(function(t){return t.id}).join("||"),a.val(inputValue),n.multiple&&e.map(function(e){e.$el.detach().appendTo(t)}),n.allowClear&&(n.data=n.data.filter(function(t){return""!==t.id})),t.removeData("ajax"),t.removeAttr("data-ajax"),this.get("ajax")&&(n.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:$.proxy(this.getAjaxData,this),results:$.proxy(this.processAjaxResults,this)});var r=this.get("field");n=acf.applyFilters("select2_args",n,t,this.data,r||!1,this),a.select2(n);var s=a.select2("container"),o=$.proxy(this.getOption,this);if(n.multiple){var c=s.find("ul");c.sortable({stop:function(){c.find(".select2-search-choice").each(function(){var e=$(this).data("select2Data");o(e.id).detach().appendTo(t)}),t.trigger("change")}})}a.on("select2-selecting",function(e){var i=e.choice,n=o(i.id);n.length||(n=$('")),n.detach().appendTo(t)}),s.addClass("-acf"),acf.doAction("select2_init",t,n,this.data,r||!1,this),a.on("change",function(){var e=a.val();e.indexOf("||")&&(e=e.split("||")),t.val(e).trigger("change")}),t.hide()},mergeOptions:function(){var t=!1,e=!1;$("#select2-drop .select2-result-with-children").each(function(){var i=$(this).children("ul"),n=$(this).children(".select2-result-label");if(e&&e.text()===n.text())return e.append(i.children()),void $(this).remove();t=i,e=n})},getAjaxData:function(t,e){var n={term:t,page:e};return i.prototype.getAjaxData.apply(this,[n])}}),r=new acf.Model({priority:5,wait:"prepare",initialize:function(){var t=acf.get("locale"),i=acf.get("rtl"),n=acf.get("select2L10n"),a=e();return!!n&&(0!==t.indexOf("en")&&void(4==a?this.addTranslations4():3==a&&this.addTranslations3()))},addTranslations4:function(){var t=acf.get("select2L10n"),e=acf.get("locale");e=e.replace("_","-");var i={errorLoading:function(){return t.load_fail},inputTooLong:function(e){var i=e.input.length-e.maximum;return i>1?t.input_too_long_n.replace("%d",i):t.input_too_long_1},inputTooShort:function(e){var i=e.minimum-e.input.length;return i>1?t.input_too_short_n.replace("%d",i):t.input_too_short_1},loadingMore:function(){return t.load_more},maximumSelected:function(e){var i=e.maximum;return i>1?t.selection_too_long_n.replace("%d",i):t.selection_too_long_1},noResults:function(){return t.matches_0},searching:function(){return t.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+e,[],function(){return i})},addTranslations3:function(){var t=acf.get("select2L10n"),e=acf.get("locale");e=e.replace("_","-");var i={formatMatches:function(e){return e>1?t.matches_n.replace("%d",e):t.matches_1},formatNoMatches:function(){return t.matches_0},formatAjaxError:function(){return t.load_fail},formatInputTooShort:function(e,i){var n=i-e.length;return n>1?t.input_too_short_n.replace("%d",n):t.input_too_short_1},formatInputTooLong:function(e,i){var n=e.length-i;return n>1?t.input_too_long_n.replace("%d",n):t.input_too_long_1},formatSelectionTooBig:function(e){return e>1?t.selection_too_long_n.replace("%d",e):t.selection_too_long_1},formatLoadMore:function(){return t.load_more},formatSearching:function(){return t.searching}};$.fn.select2.locales=$.fn.select2.locales||{},$.fn.select2.locales[e]=i,$.extend($.fn.select2.defaults,i)}})}(jQuery),function($,t){acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content}},initialize:function(t,e){e=acf.parseArgs(e,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1}),e.tinymce&&this.initializeTinymce(t,e),e.quicktags&&this.initializeQuicktags(t,e)},initializeTinymce:function(t,e){var i=$("#"+t),n=this.defaults(),a=acf.get("toolbars"),r=e.field||!1,s=r.$el||!1;if("undefined"==typeof tinymce)return!1;if(!n)return!1;if(tinymce.get(t))return this.enable(t);var o=$.extend({},n.tinymce,e.tinymce);o.id=t,o.selector="#"+t;var c=e.toolbar;if(c&&a&&a[c])for(var l=1;l<=4;l++)o["toolbar"+l]=a[c][l]||"";if(o.setup=function(e){e.on("change",function(t){e.save(),i.trigger("change")}),$(e.getWin()).on("unload",function(){acf.tinymce.remove(t)})},o.wp_autoresize_on=!1,o=acf.applyFilters("wysiwyg_tinymce_settings",o,t,r),tinyMCEPreInit.mceInit[t]=o,"visual"==e.mode){var d=tinymce.init(o),u=tinymce.get(t);if(!u)return!1;u.acf=e.field,acf.doAction("wysiwyg_tinymce_init",u,u.id,o,r)}},initializeQuicktags:function(t,e){var i=this.defaults();if("undefined"==typeof quicktags)return!1;if(!i)return!1;var n=$.extend({},i.quicktags,e.quicktags);n.id=t;var a=e.field||!1,r=a.$el||!1;n=acf.applyFilters("wysiwyg_quicktags_settings",n,n.id,a),tinyMCEPreInit.qtInit[t]=n;var s=quicktags(n);if(!s)return!1;this.buildQuicktags(s),acf.doAction("wysiwyg_quicktags_init",s,s.id,n,a)},buildQuicktags:function(t){var e,i,n,a,r,t,s,o,c,l,d=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";e=t.canvas,i=t.name,n=t.settings,r="",a={},c="",l=t.id,n.buttons&&(c=","+n.buttons+",");for(o in edButtons)edButtons[o]&&(s=edButtons[o].id,c&&-1!==d.indexOf(","+s+",")&&-1===c.indexOf(","+s+",")||edButtons[o].instance&&edButtons[o].instance!==l||(a[s]=edButtons[o],edButtons[o].html&&(r+=edButtons[o].html(i+"_")))) -;c&&-1!==c.indexOf(",dfw,")&&(a.dfw=new QTags.DFWButton,r+=a.dfw.html(i+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(a.textdirection=new QTags.TextDirectionButton,r+=a.textdirection.html(i+"_")),t.toolbar.innerHTML=r,t.theButtons=a,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[t])},disable:function(t){this.destroyTinymce(t)},remove:function(t){this.destroyTinymce(t)},destroy:function(t){this.destroyTinymce(t)},destroyTinymce:function(t){if("undefined"==typeof tinymce)return!1;var e=tinymce.get(t);return!!e&&(e.save(),e.destroy(),!0)},enable:function(t){this.enableTinymce(t)},enableTinymce:function(t){return"undefined"!=typeof switchEditors&&(void 0!==tinyMCEPreInit.mceInit[t]&&(switchEditors.go(t,"tmce"),!0))}};var e=new acf.Model({priority:5,actions:{prepare:"onPrepare",ready:"onReady"},onPrepare:function(){var t=$("#acf-hidden-wp-editor");t.exists()&&t.appendTo("body")},onReady:function(){acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",function(t){var e=t.editor;"acf"===e.id.substr(0,3)&&(e=tinymce.editors.content||e,tinymce.activeEditor=e,wpActiveEditor=e.id)})}})}(jQuery),function($,t){var e=acf.Model.extend({id:"Validator",data:{errors:[],notice:null,status:""},events:{"changed:status":"onChangeStatus"},addErrors:function(t){t.map(this.addError,this)},addError:function(t){this.data.errors.push(t)},hasErrors:function(){return this.data.errors.length},clearErrors:function(){return this.data.errors=[]},getErrors:function(){return this.data.errors},getFieldErrors:function(){var t=[],e=[];return this.getErrors().map(function(i){if(i.input){var n=e.indexOf(i.input);n>-1?t[n]=i:(t.push(i),e.push(i.input))}}),t},getGlobalErrors:function(){return this.getErrors().filter(function(t){return!t.input})},showErrors:function(){if(this.hasErrors()){var t=this.getFieldErrors(),e=this.getGlobalErrors(),i=0,n=!1;t.map(function(t){var e=this.$('[name="'+t.input+'"]').first();if(e.length||(e=this.$('[name^="'+t.input+'"]').first()),e.length){i++;var a=acf.getClosestField(e);a.showError(t.message),n||(n=a.$el)}},this);var a=acf.__("Validation failed");if(e.map(function(t){a+=". "+t.message}),1==i?a+=". "+acf.__("1 field requires attention"):i>1&&(a+=". "+acf.__("%d fields require attention").replace("%d",i)),this.has("notice"))this.get("notice").update({type:"error",text:a});else{var r=acf.newNotice({type:"error",text:a,target:this.$el});this.set("notice",r)}n||(n=this.get("notice").$el),setTimeout(function(){$("html, body").animate({scrollTop:n.offset().top-$(window).height()/2},500)},10)}},onChangeStatus:function(t,e,i,n){this.$el.removeClass("is-"+n).addClass("is-"+i)},validate:function(t){if(t=acf.parseArgs(t,{event:!1,reset:!1,loading:function(){},complete:function(){},failure:function(){},success:function(t){t.submit()}}),"valid"==this.get("status"))return!0;if("validating"==this.get("status"))return!1;if(!this.$(".acf-field").length)return!0;if(t.event){var e=$.Event(null,t.event);t.success=function(){acf.enableSubmit($(e.target)).trigger(e)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),t.loading(this.$el),this.set("status","validating");var i=function(t){if(acf.isAjaxSuccess(t)){var e=acf.applyFilters("validation_complete",t.data,this.$el);e.valid||this.addErrors(e.errors)}},n=function(){acf.unlockForm(this.$el),this.hasErrors()?(this.set("status","invalid"),acf.doAction("validation_failure",this.$el),this.showErrors(),t.failure(this.$el)):(this.set("status","valid"),this.has("notice")&&this.get("notice").update({type:"success",text:acf.__("Validation successful"),timeout:1e3}),acf.doAction("validation_success",this.$el),acf.doAction("submit",this.$el),t.success(this.$el),acf.lockForm(this.$el),t.reset&&this.reset()),t.complete(this.$el),this.clearErrors()},a=acf.serialize(this.$el);a.action="acf/validate_save_post",$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:i,complete:n})},setup:function(t){this.$el=t},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),i=function(t){var i=t.data("acf");return i||(i=new e(t)),i};acf.validateForm=function(t){return i(t.form).validate(t)},acf.enableSubmit=function(t){return t.removeClass("disabled")},acf.disableSubmit=function(t){return t.addClass("disabled")},acf.showSpinner=function(t){return t.addClass("is-active"),t.css("display","inline-block"),t},acf.hideSpinner=function(t){return t.removeClass("is-active"),t.css("display","none"),t},acf.lockForm=function(t){var e=n(t),i=e.find('.button, [type="submit"]'),a=e.find(".spinner, .acf-spinner");return acf.hideSpinner(a),acf.disableSubmit(i),acf.showSpinner(a.last()),t},acf.unlockForm=function(t){var e=n(t),i=e.find('.button, [type="submit"]'),a=e.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(a),t};var n=function(t){var e=t.find("#submitdiv");if(e.length)return e;var e=t.find("#submitpost");if(e.length)return e;var e=t.find("p.submit").last();if(e.length)return e;var e=t.find(".acf-form-submit");return e.length?e:t};acf.validation=new acf.Model({id:"validation",active:!0,wait:"prepare",actions:{ready:"addInputEvents",append:"addInputEvents"},events:{'click input[type="submit"]':"onClickSubmit",'click button[type="submit"]':"onClickSubmit","click #save-post":"onClickSave","mousedown #post-preview":"onClickPreview","submit form":"onSubmit"},initialize:function(){acf.get("validation")||(this.active=!1,this.actions={},this.events={})},enable:function(){this.active=!0},disable:function(){this.active=!1},reset:function(t){i(t).reset()},addInputEvents:function(t){var e=$(".acf-field [name]",t);e.length&&this.on(e,"invalid","onInvalid")},onInvalid:function(t,e){t.preventDefault();var n=e.closest("form");n.length&&(i(n).addError({input:e.attr("name"),message:t.target.validationMessage}),n.submit())},onClickSubmit:function(t,e){this.set("originalEvent",t)},onClickSave:function(t,e){this.set("ignore",!0)},onClickPreview:function(t,e){this.set("ignore",!0),$("form#post").off("submit.edit-post")},onSubmit:function(t,e){if(this.active){if(this.get("ignore"))return void this.set("ignore",!1);acf.validateForm({form:e,event:this.get("originalEvent")})||t.preventDefault()}}})}(jQuery),function($,t){var e=new acf.Model({priority:90,timeout:0,actions:{new_field:"refresh",show_field:"refresh",hide_field:"refresh",remove_field:"refresh"},refresh:function(){clearTimeout(this.timeout),this.timeout=setTimeout(function(){acf.doAction("refresh")},0)}}),i=new acf.Model({actions:{sortstart:"onSortstart"},onSortstart:function(t,e){t.is("tr")&&(t.css("position","relative"),t.children().each(function(){$(this).width($(this).width())}),t.css("position","absolute"),e.html('
        '))}}),n=new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(t,e){var i=[];t.find("select").each(function(t){i.push($(this).val())}),e.find("select").each(function(t){$(this).val(i[t])})}}),a=new acf.Model({id:"tableHelper",priority:20,actions:{refresh:"renderTables"},renderTables:function(t){var e=this;$(".acf-table:visible").each(function(){e.renderTable($(this))})},renderTable:function(t){var e=t.find("> thead > tr:visible > th[data-key]"),i=t.find("> tbody > tr:visible > td[data-key]");if(!e.length||!i.length)return!1;e.each(function(t){var e=$(this),n=e.data("key"),a=i.filter('[data-key="'+n+'"]'),r=a.filter(".acf-hidden");a.removeClass("acf-empty"),a.length===r.length?acf.hide(e):(acf.show(e),r.addClass("acf-empty"))}),e.css("width","auto"),e=e.not(".acf-hidden");var n=100,a=e.length;e.filter("[data-width]").each(function(){var t=$(this).data("width");$(this).css("width",t+"%"),n-=t});var r=e.not("[data-width]");if(r.length){var s=n/r.length;r.css("width",s+"%"),n=0}n>0&&e.last().css("width","auto"),i.filter(".-collapsed-target").each(function(){var t=$(this);t.parent().hasClass("-collapsed")?t.attr("colspan",e.length):t.removeAttr("colspan")})}}),r=new acf.Model({id:"fieldsHelper",priority:30,actions:{refresh:"renderGroups"},renderGroups:function(){var t=this;$(".acf-fields:visible").each(function(){t.renderGroup($(this))})},renderGroup:function(t){var e=0,i=0,n=$(),a=t.children(".acf-field[data-width]:visible");return!!a.length&&(t.hasClass("-left")?(a.removeAttr("data-width"),a.css("width","auto"),!1):(a.removeClass("-r0 -c0").css({"min-height":0}),a.each(function(t){var a=$(this),r=a.position(),s=Math.ceil(r.top),o=Math.ceil(r.left);n.length&&s>e&&(n.css({"min-height":i+"px"}),r=a.position(),s=Math.ceil(r.top),o=Math.ceil(r.left),e=0,i=0,n=$()),acf.get("rtl")&&(o=Math.ceil(a.parent().width()-(r.left+a.outerWidth()))),0==s?a.addClass("-r0"):0==o&&a.addClass("-c0");var c=Math.ceil(a.outerHeight())+1;i=Math.max(i,c),e=Math.max(e,s),n=n.add(a)}),void(n.length&&n.css({"min-height":i+"px"}))))}})}(jQuery),function($,t){acf.newCompatibility=function(t,e){return e=e||{},e.__proto__=t.__proto__,t.__proto__=e,t.compatibility=e,e},acf.getCompatibility=function(t){return t.compatibility||null};var e=acf.newCompatibility(acf,{l10n:{},o:{},fields:{},update:acf.set,add_action:acf.addAction,remove_action:acf.removeAction,do_action:acf.doAction,add_filter:acf.addFilter,remove_filter:acf.removeFilter,apply_filters:acf.applyFilters,parse_args:acf.parseArgs,disable_el:acf.disable,disable_form:acf.disable,enable_el:acf.enable,enable_form:acf.enable,update_user_setting:acf.updateUserSetting,prepare_for_ajax:acf.prepareForAjax,is_ajax_success:acf.isAjaxSuccess,remove_el:acf.remove,remove_tr:acf.remove,str_replace:acf.strReplace,render_select:acf.renderSelect,get_uniqid:acf.uniqid,serialize_form:acf.serialize,esc_html:acf.strEscape,str_sanitize:acf.strSanitize});e._e=function(t,e){t=t||"",e=e||"";var i=e?t+"."+e:t,n={"image.select":"Select Image","image.edit":"Edit Image","image.update":"Update Image"};if(n[i])return acf.__(n[i]);var a=this.l10n[t]||"";return e&&(a=a[e]||""),a},e.get_selector=function(t){var e=".acf-field";if(!t)return e;if($.isPlainObject(t)){if($.isEmptyObject(t))return e;for(var i in t){t=t[i];break}}return e+="-"+t,e=acf.strReplace("_","-",e),e=acf.strReplace("field-field-","field-",e)},e.get_fields=function(t,e,i){var n={is:t||"",parent:e||!1,suppressFilters:i||!1};return n.is&&(n.is=this.get_selector(n.is)),acf.findFields(n)},e.get_field=function(t,e){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},e.get_closest_field=function(t,e){return t.closest(this.get_selector(e))},e.get_field_wrap=function(t){return t.closest(this.get_selector())},e.get_field_key=function(t){return t.data("key")},e.get_field_type=function(t){return t.data("type")},e.get_data=function(t,e){return acf.parseArgs(t.data(),e)},e.maybe_get=function(t,e,i){void 0===i&&(i=null),keys=String(e).split(".");for(var n=0;n1){for(var c=0;c0?t.substr(0,n):t,r=n>0?t.substr(n+1):"",s=function(t){t.$el=$(this),acf.field_group&&(t.$field=t.$el.closest(".acf-field-object")),"function"==typeof i.event&&(t=i.event(t)),i[e].apply(i,arguments)};r?$(document).on(a,r,s):$(document).on(a,s)},get:function(t,e){return e=e||null,void 0!==this[t]&&(e=this[t]),e},set:function(t,e){return this[t]=e,"function"==typeof this["_set_"+t]&&this["_set_"+t].apply(this),this}},e.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(t,e){var i=this;t=t+"_field/type="+i.type,acf.add_action(t,function(t){i.set("$field",t),i[e].apply(i,arguments)})},_add_filter:function(t,e){var i=this;t=t+"_field/type="+i.type,acf.add_filter(t,function(t){i.set("$field",t),i[e].apply(i,arguments)})},_add_event:function(t,e){var i=this,n=t.substr(0,t.indexOf(" ")),a=t.substr(t.indexOf(" ")+1),r=acf.get_selector(i.type);$(document).on(n,r+" "+a,function(t){var n=$(this),a=acf.get_closest_field(n,i.type);a.length&&(a.is(i.$field)||i.set("$field",a),t.$el=n,t.$field=a,i[e].apply(i,[t]))})},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(t){return this.set("$field",t)}});var r=acf.newCompatibility(acf.validation,{remove_error:function(t){acf.getField(t).removeError()},add_warning:function(t,e){acf.getField(t).showNotice({text:e,type:"warning",timeout:1e3})},fetch:acf.validateForm,enableSubmit:acf.enableSubmit,disableSubmit:acf.disableSubmit,showSpinner:acf.showSpinner,hideSpinner:acf.hideSpinner,unlockForm:acf.unlockForm,lockForm:acf.lockForm});e.tooltip={tooltip:function(t,e){return acf.newTooltip({text:t,target:e}).$el},temp:function(t,e){var i=acf.newTooltip({text:t,target:e,timeout:250})},confirm:function(t,e,i,n,a){var r=acf.newTooltip({confirm:!0,text:i,target:t,confirm:function(){e(!0)},cancel:function(){e(!1)}})},confirm_remove:function(t,e){var i=acf.newTooltip({confirmRemove:!0,target:t,confirm:function(){e(!0)},cancel:function(){e(!1)}})}},e.media=new acf.Model({activeFrame:!1,actions:{new_media_popup:"onNewMediaPopup"},frame:function(){return this.activeFrame},onNewMediaPopup:function(t){this.activeFrame=t.frame},popup:function(t){return t.mime_types&&(t.allowedTypes=t.mime_types),t.id&&(t.attachment=t.id),acf.newMediaPopup(t).frame}}),e.select2={init:function(t,e,i){return e.allow_null&&(e.allowNull=e.allow_null),e.ajax_action&&(e.ajaxAction=e.ajax_action),i&&(e.field=acf.getField(i)),acf.newSelect2(t,e)},destroy:function(t){return acf.getInstance(t).destroy()}},e.postbox={render:function(t){return t.edit_url&&(t.editLink=t.edit_url),t.edit_title&&(t.editTitle=t.edit_title),acf.newPostbox(t)}},acf.newCompatibility(acf.screen,{update:function(){return this.set.apply(this,arguments)},fetch:acf.screen.check}),e.ajax=acf.screen}(jQuery); \ No newline at end of file +!function(r,s){var c={};(window.acf=c).data={},c.get=function(t){return this.data[t]||null},c.has=function(t){return null!==this.get(t)},c.set=function(t,e){return this.data[t]=e,this};var i=0;c.uniqueId=function(t){var e=++i+"";return t?t+e:e},c.uniqueArray=function(t){function e(t,e,i){return i.indexOf(t)===e}return t.filter(e)};var a="";c.uniqid=function(t,e){var i;void 0===t&&(t="");var n=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?Array(e-t.length+1).join("0")+t:t};return a||(a=Math.floor(123456789*Math.random())),a++,i=t,i+=n(parseInt((new Date).getTime()/1e3,10),8),i+=n(a,5),e&&(i+=(10*Math.random()).toFixed(8).toString()),i},c.strReplace=function(t,e,i){return i.split(t).join(e)},c.strCamelCase=function(t){return t=(t=t.replace(/[_-]/g," ")).replace(/(?:^\w|\b\w|\s+)/g,function(t,e){return 0==+t?"":0==e?t.toLowerCase():t.toUpperCase()})},c.strPascalCase=function(t){var e=c.strCamelCase(t);return e.charAt(0).toUpperCase()+e.slice(1)},c.strSlugify=function(t){return c.strReplace("_","-",t.toLowerCase())},c.strSanitize=function(t){var e={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","ß":"s","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","ĝ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o"," ":"_","'":"","?":"","/":"","\\":"",".":"",",":"","`":"",">":"","<":"",'"':"","[":"","]":"","|":"","{":"","}":"","(":"",")":""},i=/\W/g,n=function(t){return e[t]!==s?e[t]:t};return t=(t=t.replace(i,n)).toLowerCase()},c.strMatch=function(t,e){for(var i=0,n=Math.min(t.length,e.length),a=0;a").html(t).text()},c.strEscape=function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})},c.parseArgs=function(t,e){return"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={}),r.extend({},e,t)},window.acfL10n==s&&(acfL10n={}),c.__=function(t){return acfL10n[t]||t},c._x=function(t,e){return acfL10n[t+"."+e]||acfL10n[t]||t},c._n=function(t,e,i){return 1==i?c.__(t):c.__(e)},c.isArray=function(t){return Array.isArray(t)},c.isObject=function(t){return"object"==typeof t};var o=function(t,e,i){var n=(e=e.replace("[]","[%%index%%]")).match(/([^\[\]])+/g);if(n)for(var a=n.length,r=t,s=0;s');var o=e.parent();e.css({height:i,width:n,margin:a,position:"absolute"}),setTimeout(function(){o.css({opacity:0,height:t.endHeight})},50),setTimeout(function(){e.attr("style",s),o.remove(),t.complete()},301)},d=function(t){var e=t.target,i=e.height(),n=e.children().length,a=r('');e.addClass("acf-remove-element"),setTimeout(function(){e.html(a)},251),setTimeout(function(){e.removeClass("acf-remove-element"),a.css({height:t.endHeight})},300),setTimeout(function(){e.remove(),t.complete()},451)};c.duplicate=function(t){t instanceof jQuery&&(t={target:t});var i=0;(t=c.parseArgs(t,{target:!1,search:"",replace:"",before:function(t){},after:function(t,e){},append:function(t,e){t.after(e),i=1}})).target=t.target||t.$el;var e=t.target;t.search=t.search||e.attr("data-id"),t.replace=t.replace||c.uniqid(),t.before(e),c.doAction("before_duplicate",e);var n=e.clone();return c.rename({target:n,search:t.search,replace:t.replace}),n.removeClass("acf-clone"),n.find(".ui-sortable").removeClass("ui-sortable"),t.after(e,n),c.doAction("after_duplicate",e,n),t.append(e,n),c.doAction("append",n),n},c.rename=function(t){t instanceof jQuery&&(t={target:t});var e=(t=c.parseArgs(t,{target:!1,destructive:!1,search:"",replace:""})).target,i=t.search||e.attr("data-id"),n=t.replace||c.uniqid("acf"),a=function(t,e){return e.replace(i,n)};if(t.destructive){var r=e.outerHTML();r=c.strReplace(i,n,r),e.replaceWith(r)}else e.attr("data-id",n),e.find('[id*="'+i+'"]').attr("id",a),e.find('[for*="'+i+'"]').attr("for",a),e.find('[name*="'+i+'"]').attr("name",a);return e},c.prepareForAjax=function(t){return t.nonce=c.get("nonce"),t.post_id=c.get("post_id"),c.has("language")&&(t.lang=c.get("language")),t=c.applyFilters("prepare_for_ajax",t)},c.startButtonLoading=function(t){t.prop("disabled",!0),t.after(' ')},c.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},c.showLoading=function(t){t.append('
        ')},c.hideLoading=function(t){t.children(".acf-loading-overlay").remove()},c.updateUserSetting=function(t,e){var i={action:"acf/ajax/user_setting",name:t,value:e};r.ajax({url:c.get("ajaxurl"),data:c.prepareForAjax(i),type:"post",dataType:"html"})},c.val=function(t,e,i){var n=t.val();return e!==n&&(t.val(e),t.is("select")&&null===t.val()?(t.val(n),!1):(!0!==i&&t.trigger("change"),!0))},c.show=function(t,e){return e&&c.unlock(t,"hidden",e),!c.isLocked(t,"hidden")&&(!!t.hasClass("acf-hidden")&&(t.removeClass("acf-hidden"),!0))},c.hide=function(t,e){return e&&c.lock(t,"hidden",e),!t.hasClass("acf-hidden")&&(t.addClass("acf-hidden"),!0)},c.isHidden=function(t){return t.hasClass("acf-hidden")},c.isVisible=function(t){return!c.isHidden(t)};var f=function(t,e){return!t.hasClass("acf-disabled")&&(e&&c.unlock(t,"disabled",e),!c.isLocked(t,"disabled")&&(!!t.prop("disabled")&&(t.prop("disabled",!1),!0)))};c.enable=function(t,e){if(t.attr("name"))return f(t,e);var i=!1;return t.find("[name]").each(function(){var t;f(r(this),e)&&(i=!0)}),i};var h=function(t,e){return e&&c.lock(t,"disabled",e),!t.prop("disabled")&&(t.prop("disabled",!0),!0)};c.disable=function(t,e){if(t.attr("name"))return h(t,e);var i=!1;return t.find("[name]").each(function(){var t;h(r(this),e)&&(i=!0)}),i},c.isset=function(t){for(var e=1;e'+r(t.children)+"":n+='"}),n};return t.html(r(e)),-1e.priority;)t[i]=t[i-1],--i;t[i]=e}return t}function u(t,e,i){var n=f[t][e];if(!n)return"filters"===t&&i[0];var a=0,r=n.length;if("filters"===t)for(;a','
        ','

        ','
        ','
        ',"
        ",'
        ',""].join("")},render:function(){var t=this.get("title"),e=this.get("content"),i=this.get("loading"),n=this.get("width"),a=this.get("height");this.title(t),this.content(e),n&&this.$(".acf-popup-box").css("width",n),a&&this.$(".acf-popup-box").css("min-height",a),this.loading(i),acf.doAction("append",this.$el)},update:function(t){this.data=acf.parseArgs(t,this.data),this.render()},title:function(t){this.$(".title:first h3").html(t)},content:function(t){this.$(".inner:first").html(t)},loading:function(t){var e=this.$(".loading:first");t?e.show():e.hide()},open:function(){e("body").append(this.$el)},close:function(){this.remove()},onClickClose:function(t,e){t.preventDefault(),this.close()}}),acf.newPopup=function(t){return new acf.models.Popup(t)}}(jQuery),function(t,e){acf.unload=new acf.Model({wait:"load",active:!0,changed:!1,actions:{validation_failure:"startListening"},events:{"change .acf-field":"startListening","submit form":"stopListening"},reset:function(){this.stopListening()},startListening:function(){!this.changed&&this.active&&(this.changed=!0,t(window).on("beforeunload",this.onUnload))},stopListening:function(){this.changed=!1,t(window).off("beforeunload",this.onUnload)},onUnload:function(){return acf.__("The changes you made will be lost if you navigate away from this page")}})}(jQuery),function(t,e){var i=new acf.Model({events:{"click .acf-panel-title":"onClick"},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.addClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(t){t.removeClass("-open"),t.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}})}(jQuery),function(e,t){var i=acf.Model.extend({data:{text:"",type:"",timeout:0,dismiss:!0,target:!1,close:function(){}},events:{"click .acf-notice-dismiss":"onClickClose"},tmpl:function(){return'
        '},setup:function(t){e.extend(this.data,t),this.$el=e(this.tmpl())},initialize:function(){this.render(),this.show()},render:function(){this.type(this.get("type")),this.html("

        "+this.get("text")+"

        "),this.get("dismiss")&&(this.$el.append(''),this.$el.addClass("-dismiss"));var t=this.get("timeout");t&&this.away(t)},update:function(t){e.extend(this.data,t),this.initialize(),this.removeEvents(),this.addEvents()},show:function(){var t=this.get("target");t&&t.prepend(this.$el)},hide:function(){this.$el.remove()},away:function(t){this.setTimeout(function(){acf.remove(this.$el)},t)},type:function(t){var e=this.get("type");e&&this.$el.removeClass("-"+e),this.$el.addClass("-"+t),"error"==t&&this.$el.addClass("acf-error-message")},html:function(t){this.$el.html(t)},text:function(t){this.$("p").html(t)},onClickClose:function(t,e){t.preventDefault(),this.get("close").apply(this,arguments),this.remove()}});acf.newNotice=function(t){return"object"!=typeof t&&(t={text:t}),new i(t)};var n=new acf.Model({wait:"prepare",priority:1,initialize:function(){var t=e(".acf-admin-notice");t.length&&e("h1:first").after(t)}})}(jQuery),function(e,t){acf.getPostbox=function(t){return"string"==typeof t&&(t=e("#"+t)),acf.getInstance(t)},acf.getPostboxes=function(){var t=e(".acf-postbox");return acf.getInstances(t)},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",visible:!0,edit:"",html:!0},setup:function(t){t.editLink&&(t.edit=t.editLink),e.extend(this.data,t),this.$el=this.$postbox()},$postbox:function(){return e("#"+this.get("id"))},$placeholder:function(){return e("#"+this.get("id")+"-placeholder")},$hide:function(){return e("#"+this.get("id")+"-hide")},$hideLabel:function(){return this.$hide().parent()},$hndle:function(){return this.$("> .hndle")},$inside:function(){return this.$("> .inside")},isVisible:function(){return this.get("visible")},hasHTML:function(){return this.get("html")},initialize:function(){this.$el.addClass("acf-postbox"),this.$el.removeClass("hide-if-js");var t=this.get("style");"default"!==t&&this.$el.addClass(t),this.$inside().addClass("acf-fields").addClass("-"+this.get("label"));var e=this.get("edit");e&&this.$hndle().append(''),this.isVisible()?this.show():(this.set("html",!1),this.hide())},show:function(){this.$hideLabel().show(),this.$hide().prop("checked",!0),this.$el.show().removeClass("acf-hidden")},enable:function(){acf.enable(this.$el,"postbox")},showEnable:function(){this.show(),this.enable()},hide:function(){this.$hideLabel().hide(),this.$el.hide().addClass("acf-hidden")},disable:function(){acf.disable(this.$el,"postbox")},hideDisable:function(){this.hide(),this.disable()},html:function(t){this.$inside().html(t),this.set("html",!0),acf.doAction("append",this.$el)}})}(jQuery),function(d,e){acf.newTooltip=function(t){return"object"!=typeof t&&(t={text:t}),t.confirmRemove!==e?(t.textConfirm=acf.__("Remove"),t.textCancel=acf.__("Cancel"),new n(t)):t.confirm!==e?new n(t):new i(t)};var i=acf.Model.extend({data:{text:"",timeout:0,target:null},tmpl:function(){return'
        '},setup:function(t){d.extend(this.data,t),this.$el=d(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var t=this.get("timeout");t&&setTimeout(d.proxy(this.fade,this),t)},update:function(t){d.extend(this.data,t),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){d("body").append(this.$el)},hide:function(){this.$el.remove()},fade:function(){this.$el.addClass("acf-fade-up"),this.setTimeout(function(){this.remove()},250)},html:function(t){this.$el.html(t)},position:function(){var t=this.$el,e=this.get("target");if(e){t.removeClass("right left bottom top");var i=10,n=e.outerWidth(),a=e.outerHeight(),r=e.offset().top,s=e.offset().left,o=t.outerWidth(),c=t.outerHeight(),l=r-c,u=s+n/2-o/2;u<10?(t.addClass("right"),u=s+n,l=r+a/2-c/2):u+o+10>d(window).width()?(t.addClass("left"),u=s-o,l=r+a/2-c/2):l-d(window).scrollTop()<10?(t.addClass("bottom"),l=r+a):t.addClass("top"),t.css({top:l,left:u})}}}),n=i.extend({data:{text:"",textConfirm:"",textCancel:"",target:null,targetConfirm:!0,confirm:function(){},cancel:function(){},context:!1},events:{'click [data-event="cancel"]':"onCancel",'click [data-event="confirm"]':"onConfirm"},addEvents:function(){acf.Model.prototype.addEvents.apply(this);var t=d(document),e=this.get("target");this.setTimeout(function(){this.on(t,"click","onCancel")}),this.get("targetConfirm")&&this.on(e,"click","onConfirm")},removeEvents:function(){acf.Model.prototype.removeEvents.apply(this);var t=d(document),e=this.get("target");this.off(t,"click"),this.off(e,"click")},render:function(){var t,e,i,n=[this.get("text")||acf.__("Are you sure?"),''+(this.get("textConfirm")||acf.__("Yes"))+"",''+(this.get("textCancel")||acf.__("No"))+""].join(" ");this.html(n),this.$el.addClass("-confirm")},onCancel:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("cancel"),n=this.get("context")||this;i.apply(n,arguments),this.remove()},onConfirm:function(t,e){t.preventDefault(),t.stopImmediatePropagation();var i=this.get("confirm"),n=this.get("context")||this;i.apply(n,arguments),this.remove()}});acf.models.Tooltip=i,acf.models.TooltipConfirm=n;var t=new acf.Model({tooltip:!1,events:{"mouseenter .acf-js-tooltip":"showTitle","mouseup .acf-js-tooltip":"hideTitle","mouseleave .acf-js-tooltip":"hideTitle"},showTitle:function(t,e){var i=e.attr("title");i&&(e.attr("title",""),this.tooltip?this.tooltip.update({text:i,target:e}):this.tooltip=acf.newTooltip({text:i,target:e}))},hideTitle:function(t,e){this.tooltip.hide(),e.attr("title",this.tooltip.get("text"))}})}(jQuery),function(e,i){var r=[];acf.Field=acf.Model.extend({type:"",eventScope:".acf-field",wait:"ready",setup:function(t){this.$el=t,this.inherit(t),this.inherit(this.$control())},val:function(t){return t!==i?this.setValue(t):this.prop("disabled")?null:this.getValue()},getValue:function(){return this.$input().val()},setValue:function(t){return acf.val(this.$input(),t)},__:function(t){return acf._e(this.type,t)},$control:function(){return!1},$input:function(){return this.$("[name]:first")},$inputWrap:function(){return this.$(".acf-input:first")},$labelWrap:function(){return this.$(".acf-label:first")},getInputName:function(){return this.$input().attr("name")||""},parent:function(){var t=this.parents();return!!t.length&&t[0]},parents:function(){var t=this.$el.parents(".acf-field"),e;return acf.getFields(t)},show:function(t,e){var i=acf.show(this.$el,t);return i&&(this.prop("hidden",!1),acf.doAction("show_field",this,e)),i},hide:function(t,e){var i=acf.hide(this.$el,t);return i&&(this.prop("hidden",!0),acf.doAction("hide_field",this,e)),i},enable:function(t,e){var i=acf.enable(this.$el,t);return i&&(this.prop("disabled",!1),acf.doAction("enable_field",this,e)),i},disable:function(t,e){var i=acf.disable(this.$el,t);return i&&(this.prop("disabled",!0),acf.doAction("disable_field",this,e)),i},showEnable:function(t,e){return this.enable.apply(this,arguments),this.show.apply(this,arguments)},hideDisable:function(t,e){return this.disable.apply(this,arguments),this.hide.apply(this,arguments)},showNotice:function(t){"object"!=typeof t&&(t={text:t}),this.notice&&this.notice.remove(),t.target=this.$inputWrap(),this.notice=acf.newNotice(t)},removeNotice:function(t){this.notice&&(this.notice.away(t||0),this.notice=!1)},showError:function(t){this.$el.addClass("acf-error"),t!==i&&this.showNotice({text:t,type:"error",dismiss:!1}),acf.doAction("invalid_field",this),this.$el.one("focus change","input, select, textarea",e.proxy(this.removeError,this))},removeError:function(){this.$el.removeClass("acf-error"),this.removeNotice(250),acf.doAction("valid_field",this)},trigger:function(t,e,i){return"invalidField"==t&&(i=!0),acf.Model.prototype.trigger.apply(this,[t,e,i])}}),acf.newField=function(t){var e=t.data("type"),i=s(e),n,a=new(acf.models[i]||acf.Field)(t);return acf.doAction("new_field",a),a};var s=function(t){return acf.strPascalCase(t||"")+"Field"};acf.registerFieldType=function(t){var e,i=t.prototype.type,n=s(i);acf.models[n]=t,r.push(i)},acf.getFieldType=function(t){var e=s(t);return acf.models[e]||!1},acf.getFieldTypes=function(n){n=acf.parseArgs(n,{category:""});var a=[];return r.map(function(t){var e=acf.getFieldType(t),i=e.prototype;n.category&&i.category!==n.category||a.push(e)}),a}}(jQuery),function(n,t){acf.findFields=function(t){var e=".acf-field",i=!1;return(t=acf.parseArgs(t,{key:"",name:"",type:"",is:"",parent:!1,sibling:!1,limit:!1,visible:!1,suppressFilters:!1})).suppressFilters||(t=acf.applyFilters("find_fields_args",t)),t.key&&(e+='[data-key="'+t.key+'"]'),t.type&&(e+='[data-type="'+t.type+'"]'),t.name&&(e+='[data-name="'+t.name+'"]'),t.is&&(e+=t.is),t.visible&&(e+=":visible"),i=t.parent?t.parent.find(e):t.sibling?t.sibling.siblings(e):n(e),t.suppressFilters||(i=i.not(".acf-clone .acf-field"),i=acf.applyFilters("find_fields",i)),t.limit&&(i=i.slice(0,t.limit)),i},acf.findField=function(t,e){return acf.findFields({key:t,limit:1,parent:e,suppressFilters:!0})},acf.getField=function(t){t instanceof jQuery||(t=acf.findField(t));var e=t.data("acf");return e||(e=acf.newField(t)),e},acf.getFields=function(t){t instanceof jQuery||(t=acf.findFields(t));var e=[];return t.each(function(){var t=acf.getField(n(this));e.push(t)}),e},acf.findClosestField=function(t){return t.closest(".acf-field")},acf.getClosestField=function(t){var e=acf.findClosestField(t);return this.getField(e)};var e=function(t){var e=t,r=t+"_fields",a=t+"_field",i=function(t){var e,i=acf.arrayArgs(arguments).slice(1),n=acf.getFields({parent:t});if(n.length){var a=[r,n].concat(i);acf.doAction.apply(null,a)}},n=function(t){var e,n=acf.arrayArgs(arguments).slice(1);t.map(function(t,e){var i=[a,t].concat(n);acf.doAction.apply(null,i)})};acf.addAction(e,i),acf.addAction(r,n),s(t)},s=function(e){var r=e+"_field",s=e+"Field",t=function(i){var n=acf.arrayArgs(arguments),a=n.slice(1),t;["type","name","key"].map(function(t){var e="/"+t+"="+i.get(t);n=[r+e,i].concat(a),acf.doAction.apply(null,n)}),-1'),o=f('
        '),c=f('
          '),l=f("");s.append(e.html()),c.append(l),o.append(c),i.append(s),i.append(o),e.remove(),n.remove(),i.attr("colspan",2),e=s,i=o,n=l}t.addClass("acf-accordion"),e.addClass("acf-accordion-title"),i.addClass("acf-accordion-content"),p++,this.get("multi_expand")&&t.attr("multi-expand",1);var u=acf.getPreference("this.accordions")||[];u[p-1]!==h&&this.set("open",u[p-1]),this.get("open")&&(t.addClass("-open"),i.css("display","block")),e.prepend('');var d=t.parent();n.addClass(d.hasClass("-left")?"-left":""),n.addClass(d.hasClass("-clear")?"-clear":""),n.append(t.nextUntil(".acf-field-accordion",".acf-field")),n.removeAttr("data-open data-multi_expand data-endpoint")}}});acf.registerFieldType(t);var e=new acf.Model({actions:{unload:"onUnload"},events:{"click .acf-accordion-title":"onClick","invalidField .acf-accordion":"onInvalidField"},isOpen:function(t){return t.hasClass("-open")},toggle:function(t){this.isOpen(t)?this.close(t):this.open(t)},open:function(t){t.find(".acf-accordion-content:first").slideDown().css("display","block"),t.find(".acf-accordion-icon:first").removeClass("dashicons-arrow-right").addClass("dashicons-arrow-down"), +t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each(function(){e.close(f(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").removeClass("dashicons-arrow-down").addClass("dashicons-arrow-right"),t.removeClass("-open"),acf.doAction("hide",t)},onClick:function(t,e){t.preventDefault(),this.toggle(e.parent())},onInvalidField:function(t,e){this.busy||(this.busy=!0,this.setTimeout(function(){this.busy=!1},1e3),this.open(e))},onUnload:function(t){var e=[];f(".acf-accordion").each(function(){var t=f(this).hasClass("-open")?1:0;e.push(t)}),e.length&&acf.setPreference("this.accordions",e)}})}(jQuery),function(t,e){var i=acf.Field.extend({type:"button_group",events:{'click input[type="radio"]':"onClick"},$control:function(){return this.$(".acf-button-group")},$input:function(){return this.$("input:checked")},setValue:function(t){this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClick:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(i)}(jQuery),function(e,t){var i=acf.Field.extend({type:"checkbox",events:{"change input":"onChange","click .acf-add-checkbox":"onClickAdd","click .acf-checkbox-toggle":"onClickToggle","click .acf-checkbox-custom":"onClickCustom"},$control:function(){return this.$(".acf-checkbox-list")},$toggle:function(){return this.$(".acf-checkbox-toggle")},$input:function(){return this.$('input[type="hidden"]')},$inputs:function(){return this.$('input[type="checkbox"]').not(".acf-checkbox-toggle")},getValue:function(){var t=[];return this.$(":checked").each(function(){t.push(e(this).val())}),!!t.length&&t},onChange:function(t,e){var i=e.prop("checked"),n=this.$toggle(),a;(i?e.parent().addClass("selected"):e.parent().removeClass("selected"),n.length)&&(0==this.$inputs().not(":checked").length?n.prop("checked",!0):n.prop("checked",!1))},onClickAdd:function(t,e){var i='
        • ';e.parent("li").before(i)},onClickToggle:function(t,e){var i=e.prop("checked"),n;this.$inputs().prop("checked",i)},onClickCustom:function(t,e){var i=e.prop("checked"),n=e.next('input[type="text"]');i?n.prop("disabled",!1):(n.prop("disabled",!0),""==n.val()&&e.parent("li").remove())}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"color_picker",wait:"load",$control:function(){return this.$(".acf-color-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){var e=this.$input(),i=this.$inputText(),t=function(t){setTimeout(function(){acf.val(e,i.val())},1)},n={defaultColor:!1,palettes:!0,hide:!0,change:t,clear:t},n=acf.applyFilters("color_picker_args",n,this);i.wpColorPicker(n)}});acf.registerFieldType(i)}(jQuery),function(n,t){var e=acf.Field.extend({type:"date_picker",events:{'blur input[type="text"]':"onBlur"},$control:function(){return this.$(".acf-date-picker")},$input:function(){return this.$('input[type="hidden"]')},$inputText:function(){return this.$('input[type="text"]')},initialize:function(){if(this.has("save_format"))return this.initializeCompatibility();var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),altField:t,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")};i=acf.applyFilters("date_picker_args",i,this),acf.newDatePicker(e,i),acf.doAction("date_picker_init",e,i,this)},initializeCompatibility:function(){var t=this.$input(),e=this.$inputText();e.val(t.val());var i={dateFormat:this.get("date_format"),altField:t,altFormat:this.get("save_format"),changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day")},n=(i=acf.applyFilters("date_picker_args",i,this)).dateFormat;i.dateFormat=this.get("save_format"),acf.newDatePicker(e,i),e.datepicker("option","dateFormat",n),acf.doAction("date_picker_init",e,i,this)},onBlur:function(){this.$inputText().val()||acf.val(this.$input(),"")}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("datePickerL10n");return!!i&&(void 0!==n.datepicker&&(i.isRTL=e,n.datepicker.regional[t]=i,void n.datepicker.setDefaults(i)))}});acf.newDatePicker=function(t,e){if(void 0===n.datepicker)return!1;e=e||{},t.datepicker(e),n("body > #ui-datepicker-div").exists()&&n("body > #ui-datepicker-div").wrap('
          ')}}(jQuery),function(n,t){var e=acf.models.DatePickerField.extend({type:"date_time_picker",$control:function(){return this.$(".acf-date-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={dateFormat:this.get("date_format"),timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.get("first_day"),controlType:"select",oneLine:!0};i=acf.applyFilters("date_time_picker_args",i,this),acf.newDateTimePicker(e,i),acf.doAction("date_time_picker_init",e,i,this)}});acf.registerFieldType(e);var i=new acf.Model({priority:5,wait:"ready",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("dateTimePickerL10n");return!!i&&(void 0!==n.timepicker&&(i.isRTL=e,n.timepicker.regional[t]=i,void n.timepicker.setDefaults(i)))}});acf.newDateTimePicker=function(t,e){if(void 0===n.timepicker)return!1;e=e||{},t.datetimepicker(e),n("body > #ui-datepicker-div").exists()&&n("body > #ui-datepicker-div").wrap('
          ')}}(jQuery),function(s,t){var e=acf.Field.extend({type:"google_map",map:!1,wait:"load",events:{'click a[data-name="clear"]':"onClickClear",'click a[data-name="locate"]':"onClickLocate",'click a[data-name="search"]':"onClickSearch","keydown .search":"onKeydownSearch","keyup .search":"onKeyupSearch","focus .search":"onFocusSearch","blur .search":"onBlurSearch",showField:"onShow"},$control:function(){return this.$(".acf-google-map")},$input:function(t){return this.$('input[data-name="'+(t||"address")+'"]')},$search:function(){return this.$(".search")},$canvas:function(){return this.$(".canvas")},addClass:function(t){this.$control().addClass(t)},removeClass:function(t){this.$control().removeClass(t)},getValue:function(){var t={lat:"",lng:"",address:""};return this.$('input[type="hidden"]').each(function(){t[s(this).data("name")]=s(this).val()}),t.lat&&t.lng||(t=!1),t},setValue:function(t){for(var e in t=acf.parseArgs(t,{lat:"",lng:"",address:""}))acf.val(this.$input(e),t[e]);t.lat&&t.lng||(t=!1),this.renderVal(t)},renderVal:function(t){t?(this.addClass("-value"),this.setPosition(t.lat,t.lng),this.map.marker.setVisible(!0)):(this.removeClass("-value"),this.map.marker.setVisible(!1)),this.$search().val(t.address)},setPosition:function(t,e){var i=this.newLatLng(t,e);return this.map.marker.setPosition(i),this.map.marker.setVisible(!0),acf.doAction("google_map_change",i,this.map,this),this.center(),this},center:function(){var t=this.map.marker.getPosition(),e=this.get("lat"),i=this.get("lng");t&&(e=t.lat(),i=t.lng());var n=this.newLatLng(e,i);this.map.setCenter(n)},getSearchVal:function(){return this.$search().val()},initialize:function(){o.isReady()?this.initializeMap():o.ready(this.initializeMap,this)},newLatLng:function(t,e){return new google.maps.LatLng(parseFloat(t),parseFloat(e))},initializeMap:function(){var t=this.get("zoom"),e=this.get("lat"),i=this.get("lng"),n={scrollwheel:!1,zoom:parseInt(t),center:this.newLatLng(e,i),mapTypeId:google.maps.MapTypeId.ROADMAP,marker:{draggable:!0,raiseOnDrag:!0},autocomplete:{}};n=acf.applyFilters("google_map_args",n,this);var a=new google.maps.Map(this.$canvas()[0],n);this.addMapEvents(a,this);var r=acf.parseArgs(n.marker,{draggable:!0,raiseOnDrag:!0,map:a});r=acf.applyFilters("google_map_marker_args",r,this);var s=new google.maps.Marker(r);this.addMarkerEvents(s,this),a.acf=this,a.marker=s,this.map=a,acf.doAction("google_map_init",a,s,this);var o=this.getValue();this.renderVal(o)},addMapEvents:function(t,n){if(acf.isset(window,"google","maps","places","Autocomplete")){var e=t.autocomplete||{},i=new google.maps.places.Autocomplete(this.$search()[0],e);i.bindTo("bounds",t),google.maps.event.addListener(i,"place_changed",function(){var t=this.getPlace();t.address=n.getSearchVal(),n.setPlace(t)})}google.maps.event.addListener(t,"click",function(t){var e=t.latLng.lat(),i=t.latLng.lng();n.searchPosition(e,i)})},addMarkerEvents:function(t,n){google.maps.event.addListener(t,"dragend",function(){var t=this.getPosition(),e=t.lat(),i=t.lng();n.searchPosition(e,i)})},searchPosition:function(n,a){var t=this.newLatLng(n,a),r=this.$control();this.setPosition(n,a),r.addClass("-loading");var e=s.proxy(function(t,e){r.removeClass("-loading");var i="";e!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+e):t[0]?i=t[0].formatted_address:console.log("No results found"),this.val({lat:n,lng:a,address:i})},this);o.geocoder.geocode({latLng:t},e)},setPlace:function(t){if(!t)return this;if(t.name&&!t.geometry)return this.searchAddress(t.name),this;var e=t.geometry.location.lat(),i=t.geometry.location.lng(),n=t.address||t.formatted_address;return this.setValue({lat:e,lng:i,address:n}),this},searchAddress:function(a){var t=a.split(",");if(2==t.length){var e=t[0],i=t[1];if(s.isNumeric(e)&&s.isNumeric(i))return this.searchPosition(e,i)}var r=this.$control();r.addClass("-loading");var n=this.proxy(function(t,e){r.removeClass("-loading");var i="",n="";e!=google.maps.GeocoderStatus.OK?console.log("Geocoder failed due to: "+e):t[0]?(i=t[0].geometry.location.lat(),n=t[0].geometry.location.lng()):console.log("No results found"),this.val({lat:i,lng:n,address:a})});o.geocoder.geocode({address:a},n)},searchLocation:function(){if(!navigator.geolocation)return alert(acf.__("Sorry, this browser does not support geolocation"));var a=this.$control();a.addClass("-loading");var t=s.proxy(function(t,e){a.removeClass("-loading");var i=t.coords.latitude,n=t.coords.longitude;this.searchPosition(i,n)},this),e=function(t){a.removeClass("-loading")};navigator.geolocation.getCurrentPosition(t,e)},onClickClear:function(t,e){this.val(!1)},onClickLocate:function(t,e){this.searchLocation()},onClickSearch:function(t,e){this.searchAddress(this.$search().val())},onFocusSearch:function(t,e){this.removeClass("-value"),this.onKeyupSearch.apply(this,arguments)},onBlurSearch:function(t,e){this.setTimeout(function(){this.removeClass("-search"),e.val()&&this.addClass("-value")},100)},onKeyupSearch:function(t,e){e.val()?this.addClass("-search"):this.removeClass("-search")},onKeydownSearch:function(t,e){13==t.which&&t.preventDefault()},onMousedown:function(){},onShow:function(){if(!this.map)return!1;this.setTimeout(this.center,10)}});acf.registerFieldType(e);var o=new acf.Model({geocoder:!1,data:{status:!1},getStatus:function(){return this.get("status")},setStatus:function(t){return this.set("status",t)},isReady:function(){if("ready"==this.getStatus())return!0;if("loading"==this.getStatus())return!1;if(acf.isset(window,"google","maps","places"))return this.setStatus("ready"),!0;var t=acf.get("google_map_api");return t&&(this.setStatus("loading"),s.ajax({url:t,dataType:"script",cache:!0,context:this,success:function(){this.setStatus("ready"),this.geocoder=new google.maps.Geocoder,acf.doAction("google_map_api_loaded")}})),!1},ready:function(t,e){acf.addAction("google_map_api_loaded",t,10,e)}})}(jQuery),function(n,i){var t=acf.Field.extend({type:"image",$control:function(){return this.$(".acf-image-uploader")},$input:function(){return this.$('input[type="hidden"]')},events:{'click a[data-name="add"]':"onClickAdd",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove",'change input[type="file"]':"onChange"},initialize:function(){"basic"===this.get("uploader")&&this.$el.closest("form").attr("enctype","multipart/form-data")},validateAttachment:function(t){(t=t||{}).id!==i&&(t=t.attributes),t=acf.parseArgs(t,{url:"",alt:"",title:"",caption:"",description:"",width:0,height:0});var e=acf.isget(t,"sizes",this.get("preview_size"),"url");return null!==e&&(t.url=e),t},render:function(t){t=this.validateAttachment(t),this.$("img").attr({src:t.url,alt:t.alt,title:t.title});var e=t.id||"";this.val(e),e?this.$control().addClass("has-value"):this.$control().removeClass("has-value")},append:function(t,e){var i=function(t,e){for(var i=acf.getFields({key:t.get("key"),parent:e.$el}),n=0;n
          '):this.$el=a('
            '),i.before(this.$el),this.set("index",r,!0),r++},initializeTabs:function(){var t=this.getVisible().shift(),e,i,n=(acf.getPreference("this.tabs")||[])[this.get("index")];this.tabs[n]&&this.tabs[n].isVisible()&&(t=this.tabs[n]),t?this.selectTab(t):this.closeTabs(),this.set("initialized",!0)},getVisible:function(){return this.tabs.filter(function(t){return t.isVisible()})},getActive:function(){return this.active},setActive:function(t){return this.active=t},hasActive:function(){return!1!==this.active},isActive:function(t){var e=this.getActive();return e&&e.cid===t.cid},closeActive:function(){this.hasActive()&&this.closeTab(this.getActive())},openTab:function(t){this.closeActive(),t.open(),this.setActive(t)},closeTab:function(t){t.close(),this.setActive(!1)},closeTabs:function(){this.tabs.map(this.closeTab,this)},selectTab:function(e){this.tabs.map(function(t){e.cid!==t.cid&&this.closeTab(t)},this),this.openTab(e)},addTab:function(t,e){var i=a("
          • ");i.append(t),this.$("ul").append(i);var n=new s({$el:i,field:e,group:this});return this.tabs.push(n),n},reset:function(){return this.closeActive(),this.refresh()},refresh:function(){if(this.hasActive())return!1;var t=this.getVisible().shift();return t&&this.openTab(t),t},onRefresh:function(){if("left"===this.get("placement")){var t=this.$el.parent(),e=this.$el.children("ul"),i=t.is("td")?"height":"min-height",n=e.position().top+e.outerHeight(!0)-1;t.css(i,n)}}}),s=acf.Model.extend({group:!1,field:!1,events:{"click a":"onClick"},index:function(){return this.$el.index()},isVisible:function(){return acf.isVisible(this.$el)},isActive:function(){return this.$el.hasClass("active")},open:function(){this.$el.addClass("active"),this.field.showFields()},close:function(){this.$el.removeClass("active"),this.field.hideFields()},onClick:function(t,e){t.preventDefault(),this.toggle()},toggle:function(){this.isActive()||this.group.openTab(this)}}),o=new acf.Model({priority:50,actions:{prepare:"render",append:"render",unload:"onUnload",invalid_field:"onInvalidField"},findTabs:function(){return a(".acf-tab-wrap")},getTabs:function(){return acf.getInstances(this.findTabs())},render:function(t){this.getTabs().map(function(t){t.get("initialized")||t.initializeTabs()})},onInvalidField:function(t){this.busy||t.hiddenByTab&&(t.hiddenByTab.toggle(),this.busy=!0,this.setTimeout(function(){this.busy=!1},100))},onUnload:function(){var i=[];this.getTabs().map(function(t){var e=t.hasActive()?t.getActive().index():0;i.push(e)}),i.length&&acf.setPreference("this.tabs",i)}})}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"post_object"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"page_link"});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.models.SelectField.extend({type:"user"});acf.registerFieldType(i)}(jQuery),function(g,t){var e=acf.Field.extend({type:"taxonomy",data:{ftype:"select"},select2:!1,wait:"load",events:{'click a[data-name="add"]':"onClickAdd",'click input[type="radio"]':"onClickRadio"},$control:function(){return this.$(".acf-taxonomy-field")},$input:function(){return this.getRelatedPrototype().$input.apply(this,arguments)},getRelatedType:function(){var t=this.get("ftype");return"multi_select"==t&&(t="select"),t},getRelatedPrototype:function(){return acf.getFieldType(this.getRelatedType()).prototype},getValue:function(){return this.getRelatedPrototype().getValue.apply(this,arguments)},setValue:function(){return this.getRelatedPrototype().setValue.apply(this,arguments)},initialize:function(){this.getRelatedPrototype().initialize.apply(this,arguments)},onRemove:function(){this.select2&&this.select2.destroy()},onClickAdd:function(t,e){var n=this,i=!1,a=!1,r=!1,s=!1,o=!1,c=!1,l=!1,u=function(){i=acf.newPopup({title:e.attr("title"),loading:!0,width:"300px"});var t={action:"acf/fields/taxonomy/add_term",field_key:n.get("key")};g.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",success:d})},d=function(t){i.loading(!1),i.content(t),a=i.$("form"),r=i.$('input[name="term_name"]'),s=i.$('select[name="term_parent"]'),o=i.$(".acf-submit-button"),r.focus(),i.on("submit","form",f)},f=function(t,e){if(t.preventDefault(),t.stopImmediatePropagation(),""===r.val())return r.focus(),!1;acf.startButtonLoading(o);var i={action:"acf/fields/taxonomy/add_term",field_key:n.get("key"),term_name:r.val(),term_parent:s.length?s.val():0};g.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",success:h})},h=function(t){acf.stopButtonLoading(o),l&&l.remove(),l=acf.isAjaxSuccess(t)?(r.val(""),p(t.data),acf.newNotice({type:"success",text:acf.getAjaxMessage(t),target:a,timeout:2e3,dismiss:!1})):acf.newNotice({type:"error",text:acf.getAjaxError(t),target:a,timeout:2e3,dismiss:!1}),r.focus()},p=function(e){var t=g('"),i;e.term_parent?s.children('option[value="'+e.term_parent+'"]').after(t +):s.append(t),acf.getFields({type:"taxonomy"}).map(function(t){t.get("taxonomy")==n.get("taxonomy")&&t.appendTerm(e)}),n.selectTerm(e.term_id)};u()},appendTerm:function(t){"select"==this.getRelatedType()?this.appendTermSelect(t):this.appendTermCheckbox(t)},appendTermSelect:function(t){this.select2.addOption({id:t.term_id,text:t.term_label})},appendTermCheckbox:function(t){var e=this.$("[name]:first").attr("name"),i=this.$("ul:first");"checkbox"==this.getRelatedType()&&(e+="[]");var n=g(['
          • ',"","
          • "].join(""));if(t.term_parent){var a=i.find('li[data-id="'+t.term_parent+'"]');(i=a.children("ul")).exists()||(i=g('
              '),a.append(i))}i.append(n)},selectTerm:function(t){var e;"select"==this.getRelatedType()?this.select2.selectOption(t):this.$('input[value="'+t+'"]').prop("checked",!0).trigger("change")},onClickRadio:function(t,e){var i=e.parent("label"),n=i.hasClass("selected");this.$(".selected").removeClass("selected"),i.addClass("selected"),this.get("allow_null")&&n&&(i.removeClass("selected"),e.prop("checked",!1).trigger("change"))}});acf.registerFieldType(e)}(jQuery),function(i,t){var e=acf.models.DatePickerField.extend({type:"time_picker",$control:function(){return this.$(".acf-time-picker")},initialize:function(){var t=this.$input(),e=this.$inputText(),i={timeFormat:this.get("time_format"),altField:t,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf.get("dateTimePickerL10n").selectText,timeOnly:!0,onClose:function(t,e,i){var n=e.dpDiv.find(".ui-datepicker-close");!t&&n.is(":hover")&&i._updateDateTime()}};i=acf.applyFilters("time_picker_args",i,this),acf.newTimePicker(e,i),acf.doAction("time_picker_init",e,i,this)}});acf.registerFieldType(e),acf.newTimePicker=function(t,e){if(void 0===i.timepicker)return!1;e=e||{},t.timepicker(e),i("body > #ui-datepicker-div").exists()&&i("body > #ui-datepicker-div").wrap('
              ')}}(jQuery),function(t,e){var i=acf.Field.extend({type:"true_false",events:{"change .acf-switch-input":"onChange","focus .acf-switch-input":"onFocus","blur .acf-switch-input":"onBlur","keypress .acf-switch-input":"onKeypress"},$input:function(){return this.$('input[type="checkbox"]')},$switch:function(){return this.$(".acf-switch")},getValue:function(){return this.$input().prop("checked")?1:0},initialize:function(){this.render()},render:function(){var t=this.$switch();if(t.length){var e=t.children(".acf-switch-on"),i=t.children(".acf-switch-off"),n=Math.max(e.width(),i.width());n&&(e.css("min-width",n),i.css("min-width",n))}},switchOn:function(){this.$input().prop("checked",!0),this.$switch().addClass("-on")},switchOff:function(){this.$input().prop("checked",!1),this.$switch().removeClass("-on")},onChange:function(t,e){e.prop("checked")?this.switchOn():this.switchOff()},onFocus:function(t,e){this.$switch().addClass("-focus")},onBlur:function(t,e){this.$switch().removeClass("-focus")},onKeypress:function(t,e){return 37===t.keyCode?this.switchOff():39===t.keyCode?this.switchOn():void 0}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"url",events:{'keyup input[type="url"]':"onkeyup"},$control:function(){return this.$(".acf-input-wrap")},$input:function(){return this.$('input[type="url"]')},initialize:function(){this.render()},isValid:function(){var t=this.val();return!!t&&(-1!==t.indexOf("://")||0===t.indexOf("//"))},render:function(){this.isValid()?this.$control().addClass("-valid"):this.$control().removeClass("-valid")},onkeyup:function(t,e){this.render()}});acf.registerFieldType(i)}(jQuery),function(t,e){var i=acf.Field.extend({type:"wysiwyg",wait:"load",events:{"mousedown .acf-editor-wrap.delay":"onMousedown",sortstartField:"disableEditor",sortstopField:"enableEditor",removeField:"disableEditor"},$control:function(){return this.$(".acf-editor-wrap")},$input:function(){return this.$("textarea")},getMode:function(){return this.$control().hasClass("tmce-active")?"visual":"text"},initialize:function(){this.$control().hasClass("delay")||this.initializeEditor()},initializeEditor:function(){var t=this.$control(),e=this.$input(),i={tinymce:!0,quicktags:!0,toolbar:this.get("toolbar"),mode:this.getMode(),field:this},n=e.attr("id"),a=acf.uniqueId("acf-editor-"),r=e.data();acf.rename({target:t,search:n,replace:a,destructive:!0}),this.set("id",a,!0),acf.tinymce.initialize(a,i),this.$input().data(r)},onMousedown:function(t){t.preventDefault();var e=this.$control();e.removeClass("delay"),e.find(".acf-editor-toolbar").remove(),this.initializeEditor()},enableEditor:function(){"visual"==this.getMode()&&acf.tinymce.enable(this.get("id"))},disableEditor:function(){acf.tinymce.destroy(this.get("id"))}});acf.registerFieldType(i)}(jQuery),function(e,t){var s=[];acf.Condition=acf.Model.extend({type:"",operator:"==",label:"",choiceType:"input",fieldTypes:[],data:{conditions:!1,field:!1,rule:{}},events:{change:"change",keyup:"change",enableField:"change",disableField:"change"},setup:function(t){e.extend(this.data,t)},getEventTarget:function(t,e){return t||this.get("field").$el},change:function(t,e){this.get("conditions").change(t)},match:function(t,e){return!1},calculate:function(){return this.match(this.get("rule"),this.get("field"))},choices:function(t){return''}}),acf.newCondition=function(t,e){var i=e.get("field"),n=i.getField(t.field);if(!i||!n)return!1;var a={rule:t,target:i,conditions:e,field:n},r=n.get("type"),s=t.operator,o,c,l;return new(acf.getConditionTypes({fieldType:r,operator:s})[0]||acf.Condition)(a)};var a=function(t){return acf.strPascalCase(t||"")+"Condition"};acf.registerConditionType=function(t){var e,i=t.prototype.type,n=a(i);acf.models[n]=t,s.push(i)},acf.getConditionType=function(t){var e=a(t);return acf.models[e]||!1},acf.registerConditionForFieldType=function(t,e){var i=acf.getConditionType(t);i&&i.prototype.fieldTypes.push(e)},acf.getConditionTypes=function(a){a=acf.parseArgs(a,{fieldType:"",operator:""});var r=[];return s.map(function(t){var e=acf.getConditionType(t),i=e.prototype.fieldTypes,n=e.prototype.operator;a.fieldType&&-1===i.indexOf(a.fieldType)||a.operator&&n!==a.operator||r.push(e)}),r}}(jQuery),function(t,e){var i="conditional_logic",n=new acf.Model({id:"conditionsManager",priority:20,actions:{new_field:"onNewField"},onNewField:function(t){t.has("conditions")&&t.getConditions().render()}}),a=function(t,e){var i=acf.getFields({key:e,sibling:t.$el,suppressFilters:!0});return i.length||(i=acf.getFields({key:e,parent:t.$el.parent(),suppressFilters:!0})),!!i.length&&i[0]};acf.Field.prototype.getField=function(t){var e=a(this,t);if(e)return e;for(var i=this.parents(),n=0;nparseFloat(e)},c=function(t,e){return parseFloat(t)'}});acf.registerConditionType(f);var e=f.extend({type:"hasNoValue",operator:"==empty",label:a("Has no value"),match:function(t,e){return!f.prototype.match.apply(this,arguments)}});acf.registerConditionType(e);var h=acf.Condition.extend({type:"equalTo",operator:"==",label:a("Value is equal to"),fieldTypes:["text","textarea","number","range","email","url","password"],match:function(t,e){return n.isNumeric(t.value)?i(t.value,e.val()):s(t.value,e.val())},choices:function(t){return''}});acf.registerConditionType(h);var p=h.extend({type:"notEqualTo",operator:"!=",label:a("Value is not equal to"),match:function(t,e){return!h.prototype.match.apply(this,arguments)}});acf.registerConditionType(p);var g=acf.Condition.extend({type:"patternMatch",operator:"==pattern",label:a("Value matches pattern"),fieldTypes:["text","textarea","email","url","password","wysiwyg"],match:function(t,e){return d(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(g);var m=acf.Condition.extend({type:"contains",operator:"==contains",label:a("Value contains"),fieldTypes:["text","textarea","number","email","url","password","wysiwyg","oembed","select"],match:function(t,e){return u(e.val(),t.value)},choices:function(t){return''}});acf.registerConditionType(m);var v=h.extend({type:"trueFalseEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:a("Checked")}]}});acf.registerConditionType(v);var y=p.extend({type:"trueFalseNotEqualTo",choiceType:"select",fieldTypes:["true_false"],choices:function(t){return[{id:1,text:a("Checked")}]}});acf.registerConditionType(y);var b=acf.Condition.extend({type:"selectEqualTo",operator:"==",label:a("Value is equal to"),fieldTypes:["select","checkbox","radio","button_group"],match:function(t,e){var i=e.val();return i instanceof Array?l(t.value,i):s(t.value,i)},choices:function(t){var e=[],i=t.$setting("choices textarea").val().split("\n");return t.$input("allow_null").prop("checked")&&e.push({id:"",text:a("Null")}),i.map(function(t){(t=t.split(":"))[1]=t[1]||t[0],e.push({id:n.trim(t[0]),text:n.trim(t[1])})}),e}});acf.registerConditionType(b);var x=b.extend({type:"selectNotEqualTo",operator:"!=",label:a("Value is not equal to"),match:function(t,e){return!b.prototype.match.apply(this,arguments)}});acf.registerConditionType(x);var w=acf.Condition.extend({type:"greaterThan",operator:">",label:a("Value is greater than"),fieldTypes:["number","range"],match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),o(i,t.value)},choices:function(t){return''}});acf.registerConditionType(w);var _=w.extend({type:"lessThan",operator:"<",label:a("Value is less than"),match:function(t,e){var i=e.val();return i instanceof Array&&(i=i.length),c(i,t.value)},choices:function(t){return''}});acf.registerConditionType(_);var $=w.extend({type:"selectionGreaterThan",label:a("Selection is greater than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType($);var k=_.extend({type:"selectionLessThan",label:a("Selection is less than"),fieldTypes:["checkbox","select","post_object","page_link","relationship","taxonomy","user"]});acf.registerConditionType(k)}(jQuery),function(s,n){acf.newMediaPopup=function(t){var e=null,t=acf.parseArgs(t,{mode:"select",title:"",button:"",type:"",field:!1,allowedTypes:"",library:"all",multiple:!1,attachment:0,autoOpen:!0,open:function(){},select:function(){},close:function(){}});return e="edit"==t.mode?new acf.models.EditMediaPopup(t):new acf.models.SelectMediaPopup(t),t.autoOpen&&setTimeout(function(){e.open()},1),acf.doAction("new_media_popup",e),e};var e=function(){var t=acf.get("post_id");return s.isNumeric(t)?t:0};acf.getMimeTypes=function(){return this.get("mimeTypes")},acf.getMimeType=function(t){var e=acf.getMimeTypes();if(e[t]!==n)return e[t];for(var i in e)if(-1!==i.indexOf(t))return e[i];return!1};var i=acf.Model.extend({id:"MediaPopup",data:{},defaults:{},frame:!1,setup:function(t){s.extend(this.data,t)},initialize:function(){var t=this.getFrameOptions();this.addFrameStates(t);var e=wp.media(t);(e.acf=this).addFrameEvents(e,t),this.frame=e},open:function(){this.frame.open()},close:function(){this.frame.close()},remove:function(){this.frame.detach(),this.frame.remove()},getFrameOptions:function(){var t={title:this.get("title"),multiple:this.get("multiple"),library:{},states:[]};return this.get("type")&&(t.library.type=this.get("type")),"uploadedTo"===this.get("library")&&(t.library.uploadedTo=e()),this.get("attachment")&&(t.library.post__in=[this.get("attachment")]),this.get("button")&&(t.button={text:this.get("button")}),t},addFrameStates:function(t){var e=wp.media.query(t.library);this.get("field")&&acf.isset(e,"mirroring","args")&&(e.mirroring.args._acfuploader=this.get("field")),t.states.push(new wp.media.controller.Library({library:e,multiple:this.get("multiple"),title:this.get("title"),priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})),acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage)},addFrameEvents:function(i,t){i.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+this.acf.get("mode"))},i),i.on("content:render:edit-image",function(){var t=this.state().get("image"),e=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(e),e.loadEditor()},i),i.on("select",function(){var t=i.state().get("selection");t&&t.each(function(t,e){i.acf.get("select").apply(i.acf,[t,e])})}),i.on("close",function(){setTimeout(function(){i.acf.get("close").apply(i.acf),i.acf.remove()},1)})}});acf.models.SelectMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Select","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(e,t){acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=this.get("field"),e.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),e.on("content:activate:browse",function(){var t=!1;try{t=e.content.get().toolbar}catch(t){return void console.log(t)}e.acf.customizeFilters.apply(e.acf,[t])}),i.prototype.addFrameEvents.apply(this,arguments)},customizeFilters:function(t){var n=t.get("filters"),e;("image"==this.get("type")&&(n.filters.all.text=acf.__("All images"),delete n.filters.audio,delete n.filters.video,delete n.filters.image,s.each(n.filters,function(t,e){e.props.type=e.props.type||"image"})),this.get("allowedTypes"))&&this.get("allowedTypes").split(" ").join("").split(".").join("").split(",").map(function(t){var e=acf.getMimeType(t);if(e){var i={text:e,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};n.filters[e]=i}});if("uploadedTo"===this.get("library")){var i=this.frame.options.library.uploadedTo;delete n.filters.unattached,delete n.filters.uploaded,s.each(n.filters,function(t,e){e.text+=" ("+acf.__("Uploaded to this post")+")",e.props.uploadedTo=i})}var a=this.get("field"),r;s.each(n.filters,function(t,e){e.props._acfuploader=a}),t.get("search").model.attributes._acfuploader=a,n.renderFilters&&n.renderFilters()}}),acf.models.EditMediaPopup=i.extend({id:"SelectMediaPopup",setup:function(t){t.button||(t.button=acf._x("Update","verb")),i.prototype.setup.apply(this,arguments)},addFrameEvents:function(n,t){n.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var t,e=this.state().get("selection"),i=wp.media.attachment(n.acf.get("attachment"));e.add(i)},n),i.prototype.addFrameEvents.apply(this,arguments)}});var t=new acf.Model({id:"customizePrototypes",wait:"ready",initialize:function(){if(acf.isset(window,"wp","media","view")){var t=e();t&&acf.isset(wp,"media","view","settings","post")&&(wp.media.view.settings.post.id=t),this.customizeAttachmentsRouter(),this.customizeAttachmentFilters(),this.customizeAttachmentCompat(),this.customizeAttachmentLibrary()}},customizeAttachmentsRouter:function(){if(acf.isset(wp,"media","view","Router")){var t=wp.media.view.Router;wp.media.view.Router=t.extend({addExpand:function(){var t=s(['',''+acf.__("Expand Details")+"",''+acf.__("Collapse Details")+"",""].join(""));t.on("click",function(t){t.preventDefault();var e=s(this).closest(".media-modal");e.hasClass("acf-expanded")?e.removeClass("acf-expanded"):e.addClass("acf-expanded")}),this.$el.append(t)},initialize:function(){return t.prototype.initialize.apply(this,arguments),this.addExpand(),this}})}},customizeAttachmentFilters:function(){var t;acf.isset(wp,"media","view","AttachmentFilters","All")&&(wp.media.view.AttachmentFilters.All.prototype.renderFilters=function(){this.$el.html(_.chain(this.filters).map(function(t,e){return{el:s("").val(e).html(t.text)[0],priority:t.priority||50}},this).sortBy("priority").pluck("el").value())})},customizeAttachmentCompat:function(){if(acf.isset(wp,"media","view","AttachmentCompat")){var t=wp.media.view.AttachmentCompat,e=!1;wp.media.view.AttachmentCompat=t.extend({render:function(){return this.rendered?this:(t.prototype.render.apply(this,arguments),this.$("#acf-form-data").length&&(clearTimeout(e),e=setTimeout(s.proxy(function(){this.rendered=!0,acf.doAction("append",this.$el)},this),50)),this)}})}},customizeAttachmentLibrary:function(){if(acf.isset(wp,"media","view","Attachment","Library")){var l=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=l.extend({render:function(){var t=acf.isget(this,"controller","acf"),e=acf.isget(this,"model","attributes");if(t&&e){e.acf_errors&&this.$el.addClass("acf-disabled");var i=t.get("selected");i&&-1',''+acf.__("Restricted")+"",''+c+"",''+s+"","
              "].join("")),i.reset(),void i.single(n)}return l.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(r,t){acf.screen=new acf.Model({active:!0,xhr:!1,timeout:!1,wait:"load",events:{"change #page_template":"onChange","change #parent_id":"onChange","change #post-formats-select":"onChange","change .categorychecklist":"onChange","change .tagsdiv":"onChange",'change .acf-taxonomy-field[data-save="1"]':"onChange","change #product-type":"onChange"},initialize:function(){},isPost:function(){return"post"===acf.get("screen")},isUser:function(){return"user"===acf.get("screen")},isTaxonomy:function(){return"taxonomy"===acf.get("screen")},isAttachment:function(){return"attachment"===acf.get("screen")},isNavMenu:function(){return"nav_menu"===acf.get("screen")},isWidget:function(){return"widget"===acf.get("screen")},isComment:function(){return"comment"===acf.get("screen")},getPageTemplate:function(){var t=r("#page_template");return t.length?t.val():null},getPageParent:function(t,e){var e;return(e=r("#parent_id")).length?e.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostFormat:function(t,e){var e;if((e=r("#post-formats-select input:checked")).length){var i=e.val();return"0"==i?"standard":i}return null},getPostTerms:function(){var n={},t=acf.serialize(r(".categorydiv, .tagsdiv"));for(var e in t.tax_input&&(n=t.tax_input),t.post_category&&(n.category=t.post_category),n)acf.isArray(n[e])||(n[e]=n[e].split(", "));for(var e in acf.getFields({type:"taxonomy"}).map(function(t){if(t.get("save")){var e=t.val(),i=t.get("taxonomy");e&&(n[i]=n[i]||[],e=acf.isArray(e)?e:[e],n[i]=n[i].concat(e))}}),null!==(productType=this.getProductType())&&(n.product_type=[productType]),n)n[e]=acf.uniqueArray(n[e]);return n},getProductType:function(){var t=r("#product-type");return t.length?t.val():null},check:function(){if("post"===acf.get("screen")){this.xhr&&this.xhr.abort();var e=acf.parseArgs(this.data,{action:"acf/ajax/check_screen",screen:acf.get("screen"),exists:[]});this.isPost()&&(e.post_id=acf.get("post_id")),null!==(pageTemplate=this.getPageTemplate())&&(e.page_template=pageTemplate),null!==(pageParent=this.getPageParent())&&(e.page_parent=pageParent),null!==(pageType=this.getPageType())&&(e.page_type=pageType),null!==(postFormat=this.getPostFormat())&&(e.post_format=postFormat),null!==(postTerms=this.getPostTerms())&&(e.post_terms=postTerms),acf.getPostboxes().map(function(t){t.hasHTML()&&e.exists.push(t.get("key"))}),e=acf.applyFilters("check_screen_args",e);var t=function(t){if(acf.isAjaxSuccess(t)){var a=[];t.data.results.map(function(t,e){var i="acf-"+t.key,n=acf.getPostbox(i);n.showEnable(),a.push(i),!n.hasHTML()&&t.html&&n.html(t.html)}),acf.getPostboxes().map(function(t){-1===a.indexOf(t.get("id"))&&t.hideDisable()}),r("#acf-style").html(t.data.style),acf.doAction("check_screen_complete",t.data,e)}};this.xhr=r.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"json",context:this,success:t})}},onChange:function(t,e){this.setTimeout(this.check,1)}})}(jQuery),function(l,t){function a(){return acf.isset(window,"jQuery","fn","select2","amd")?4:!!acf.isset(window,"Select2")&&3}acf.newSelect2=function(t,e){if(e=acf.parseArgs(e,{allowNull:!1,placeholder:"",multiple:!1,field:!1,ajax:!1,ajaxAction:"",ajaxData:function(t){return t},ajaxResults:function(t){return t}}),4==a())var i=new r(t,e);else var i=new s(t,e);return acf.doAction("new_select2",i),i};var n=acf.Model.extend({setup:function(t,e){l.extend(this.data,e),this.$el=t},initialize:function(){},selectOption:function(t){var e=this.getOption(t);e.prop("selected")||e.prop("selected",!0).trigger("change")},unselectOption:function(t){var e=this.getOption(t);e.prop("selected")&&e.prop("selected",!1).trigger("change")},getOption:function(t){return this.$('option[value="'+t+'"]')},addOption:function(t){t=acf.parseArgs(t,{id:"",text:"",selected:!1});var e=this.getOption(t.id);return e.length||((e=l("")).html(t.text),e.attr("value",t.id),e.prop("selected",t.selected),this.$el.append(e)),e},getValue:function(){var e=[],t=this.$el.find("option:selected");return t.exists()&&(t=t.sort(function(t,e){return+t.getAttribute("data-i")-+e.getAttribute("data-i")})).each(function(){var t=l(this);e.push({$el:t,id:t.attr("value"),text:t.text()})}),e},mergeOptions:function(){},getChoices:function(){var i=function(t){var e=[];return t.children().each(function(){var t=l(this);t.is("optgroup")?e.push({text:t.attr("label"),children:i(t)}):e.push({id:t.attr("value"),text:t.text()})}),e};return i(this.$el)},decodeChoices:function(t){var e=function(t){return t.map(function(t){return t.text=acf.decode(t.text),t.children&&(t.children=e(t.children)),t}),t};return e(t)},getAjaxData:function(t){var e={action:this.get("ajaxAction"),s:t.term||"",paged:t.page||1},i=this.get("field");i&&(e.field_key=i.get("key"));var n=this.get("ajaxData");return n&&(e=n.apply(this,[e,t])),e=acf.applyFilters("select2_ajax_data",e,this.data,this.$el,i||!1,this),acf.prepareForAjax(e)},getAjaxResults:function(t,e){(t=acf.parseArgs(t,{results:!1,more:!1})).results&&(t.results=this.decodeChoices(t.results));var i=this.get("ajaxResults");return i&&(t=i.apply(this,[t,e])),t=acf.applyFilters("select2_ajax_results",t,e,this)},processAjaxResults:function(t,e){var t;return(t=this.getAjaxResults(t,e)).more&&(t.pagination={more:!0}),setTimeout(l.proxy(this.mergeOptions,this),1),t},destroy:function(){this.$el.data("select2")&&this.$el.select2("destroy"),this.$el.siblings(".select2-container").remove()}}),r=n.extend({initialize:function(){var e=this.$el,t={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),multiple:this.get("multiple"),data:[],escapeMarkup:function(t){return t}};t.multiple&&this.getValue().map(function(t){t.$el.detach().appendTo(e)}),e.removeData("ajax"),e.removeAttr("data-ajax"),this.get("ajax")&&(t.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:l.proxy(this.getAjaxData,this),processResults:l.proxy(this.processAjaxResults,this)});var i=this.get("field");t=acf.applyFilters("select2_args",t,e,this.data,i||!1,this),e.select2(t);var n=e.next(".select2-container");if(t.multiple){var a=n.find("ul");a.sortable({stop:function(t){a.find(".select2-selection__choice").each(function(){var t;l(l(this).data("data").element).detach().appendTo(e)}),e.trigger("change")}}),e.on("select2:select",this.proxy(function(t){this.getOption(t.params.data.id).detach().appendTo(this.$el)}))}n.addClass("-acf"),acf.doAction("select2_init",e,t,this.data,i||!1,this)},mergeOptions:function(){var i=!1,n=!1;l('.select2-results__option[role="group"]').each(function(){var t=l(this).children("ul"),e=l(this).children("strong");if(n&&n.text()===e.text())return i.append(t.children()),void l(this).remove();i=t,n=e})}}),s=n.extend({initialize:function(){var n=this.$el,i=this.getValue(),a=this.get("multiple"),t={width:"100%",allowClear:this.get("allowNull"),placeholder:this.get("placeholder"),separator:"||",multiple:this.get("multiple"),data:this.getChoices(),escapeMarkup:function(t){return t},dropdownCss:{"z-index":"999999999"},initSelection:function(t,e){e(a?i:i.shift())}},e=n.siblings("input");e.length||(e=l(''),n.before(e)),inputValue=i.map(function(t){return t.id}).join("||"),e.val(inputValue),t.multiple&&i.map(function(t){t.$el.detach().appendTo(n)}),t.allowClear&&(t.data=t.data.filter(function(t){return""!==t.id})),n.removeData("ajax"),n.removeAttr("data-ajax"),this.get("ajax")&&(t.ajax={url:acf.get("ajaxurl"),quietMillis:250,dataType:"json",type:"post",cache:!1,data:l.proxy(this.getAjaxData,this),results:l.proxy(this.processAjaxResults,this)});var r=this.get("field");t=acf.applyFilters("select2_args",t,n,this.data,r||!1,this),e.select2(t);var s=e.select2("container"),o=l.proxy(this.getOption,this);if(t.multiple){var c=s.find("ul");c.sortable({stop:function(){c.find(".select2-search-choice").each(function(){var t=l(this).data("select2Data"),e;o(t.id).detach().appendTo(n)}),n.trigger("change")}})}e.on("select2-selecting",function(t){var e=t.choice,i=o(e.id);i.length||(i=l('")),i.detach().appendTo(n)}),s.addClass("-acf"),acf.doAction("select2_init",n,t,this.data,r||!1,this),e.on("change",function(){var t=e.val();t.indexOf("||")&&(t=t.split("||")),n.val(t).trigger("change")}),n.hide()},mergeOptions:function(){var i=!1,n=!1;l("#select2-drop .select2-result-with-children").each(function(){var t=l(this).children("ul"),e=l(this).children(".select2-result-label");if(n&&n.text()===e.text())return n.append(t.children()),void l(this).remove();i=t,n=e})},getAjaxData:function(t,e){var i={term:t,page:e};return n.prototype.getAjaxData.apply(this,[i])}}),e=new acf.Model({priority:5,wait:"prepare",initialize:function(){var t=acf.get("locale"),e=acf.get("rtl"),i=acf.get("select2L10n"),n=a();return!!i&&(0!==t.indexOf("en")&&void(4==n?this.addTranslations4():3==n&&this.addTranslations3()))},addTranslations4:function(){var i=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var e={errorLoading:function(){return i.load_fail},inputTooLong:function(t){var e=t.input.length-t.maximum;return 1'),t.addClass("acf-sortable-tr-helper"),t.children().each(function(){l(this).width(l(this).width())}),e.height(t.height()+"px"),t.removeClass("acf-sortable-tr-helper"))}}),n=new acf.Model({actions:{after_duplicate:"onAfterDuplicate"},onAfterDuplicate:function(t,e){var i=[];t.find("select").each(function(t){i.push(l(this).val())}),e.find("select").each(function(t){l(this).val(i[t])})}}),a=new acf.Model({id:"tableHelper",priority:20,actions:{refresh:"renderTables"},renderTables:function(t){var e=this;l(".acf-table:visible").each(function(){e.renderTable(l(this))})},renderTable:function(t){var e=t.find("> thead > tr:visible > th[data-key]"),r=t.find("> tbody > tr:visible > td[data-key]");if(!e.length||!r.length)return!1;e.each(function(t){var e=l(this),i=e.data("key"),n=r.filter('[data-key="'+i+'"]'),a=n.filter(".acf-hidden");n.removeClass("acf-empty"),n.length===a.length?acf.hide(e):(acf.show(e),a.addClass("acf-empty"))}),e.css("width","auto"),e=e.not(".acf-hidden");var i=100,n=e.length,a;e.filter("[data-width]").each(function(){var t=l(this).data("width");l(this).css("width",t+"%"),i-=t});var s=e.not("[data-width]");if(s.length){var o=i/s.length;s.css("width",o+"%"),i=0}0url) ); + exit; + } + } /* * current_screen @@ -60,9 +77,7 @@ class acf_admin_field_groups { // validate screen if( !acf_is_screen('edit-acf-field-group') ) { - return; - } @@ -604,7 +619,7 @@ class acf_admin_field_groups {

              -

              +


              -

              +

              diff --git a/includes/ajax/class-acf-ajax-check-screen.php b/includes/ajax/class-acf-ajax-check-screen.php index e98d286..f962c7b 100644 --- a/includes/ajax/class-acf-ajax-check-screen.php +++ b/includes/ajax/class-acf-ajax-check-screen.php @@ -28,13 +28,17 @@ class ACF_Ajax_Check_Screen extends ACF_Ajax { // vars $args = acf_parse_args($this->request, array( + 'screen' => '', 'post_id' => 0, 'ajax' => 1, - 'exclude' => array() + 'exists' => array() )); // vars - $json = array(); + $json = array( + 'results' => array(), + 'style' => '' + ); // get field groups $field_groups = acf_get_field_groups( $args ); @@ -47,17 +51,16 @@ class ACF_Ajax_Check_Screen extends ACF_Ajax { $item = array( 'key' => $field_group['key'], 'title' => $field_group['title'], - 'html' => '', - 'style' => '' + 'html' => '' ); - // style + // append first field group's style if( $i == 0 ) { - $item['style'] = acf_get_field_group_style( $field_group ); + $json['style'] = acf_get_field_group_style( $field_group ); } - // html - if( !in_array($field_group['key'], $args['exclude']) ) { + // append html if doesnt already exist on page + if( !in_array($field_group['key'], $args['exists']) ) { // load fields $fields = acf_get_fields( $field_group ); @@ -72,8 +75,9 @@ class ACF_Ajax_Check_Screen extends ACF_Ajax { } // append - $json[] = $item; - }} + $json['results'][] = $item; + }} + // return return $json; diff --git a/includes/api/api-field-group.php b/includes/api/api-field-group.php index bd22926..9663c1a 100644 --- a/includes/api/api-field-group.php +++ b/includes/api/api-field-group.php @@ -1216,5 +1216,23 @@ function acf_prepare_field_group_for_export( $field_group ) { return $field_group; } +/** +* acf_get_field_group_edit_link +* +* Checks if the current user can edit the field group and returns the edit url. +* +* @date 23/9/18 +* @since 5.7.7 +* +* @param int $post_id The field group ID. +* @return string +*/ +function acf_get_field_group_edit_link( $post_id ) { + if( $post_id && acf_current_user_can_admin() ) { + return admin_url('post.php?post=' . $post_id . '&action=edit'); + } + return ''; +} + ?> \ No newline at end of file diff --git a/includes/assets.php b/includes/assets.php index 9fb0fb1..18d21f9 100644 --- a/includes/assets.php +++ b/includes/assets.php @@ -161,10 +161,6 @@ class ACF_Assets { add_action($actions['admin_footer'], 'acf_enqueue_uploader', 5); } - // enqueue - wp_enqueue_script('acf-input'); - wp_enqueue_style('acf-input'); - // localize text acf_localize_text(array( @@ -205,10 +201,10 @@ class ACF_Assets { 'Value is less than' => __('Value is less than', 'acf'), 'Selection is greater than' => __('Selection is greater than', 'acf'), 'Selection is less than' => __('Selection is less than', 'acf'), + + // misc + 'Edit field group' => __('Edit field group', 'acf'), )); - - // action - do_action('acf/enqueue_scripts'); } @@ -226,10 +222,15 @@ class ACF_Assets { function admin_enqueue_scripts() { + // enqueue + wp_enqueue_script('acf-input'); + wp_enqueue_style('acf-input'); + // vars $text = array(); // actions + do_action('acf/enqueue_scripts'); do_action('acf/admin_enqueue_scripts'); do_action('acf/input/admin_enqueue_scripts'); diff --git a/includes/fields/class-acf-field-date_picker.php b/includes/fields/class-acf-field-date_picker.php index 196f766..0ed16cc 100644 --- a/includes/fields/class-acf-field-date_picker.php +++ b/includes/fields/class-acf-field-date_picker.php @@ -91,37 +91,38 @@ class acf_field_date_picker extends acf_field { function render_field( $field ) { - // format value + // vars $hidden_value = ''; $display_value = ''; + // format value if( $field['value'] ) { - $hidden_value = acf_format_date( $field['value'], 'Ymd' ); $display_value = acf_format_date( $field['value'], $field['display_format'] ); - } - - // vars + // elements $div = array( 'class' => 'acf-date-picker acf-input-wrap', 'data-date_format' => acf_convert_date_to_js($field['display_format']), 'data-first_day' => $field['first_day'], ); - $hidden_input = array( 'id' => $field['id'], - 'class' => 'input-alt', 'name' => $field['name'], 'value' => $hidden_value, ); - $text_input = array( 'class' => 'input', 'value' => $display_value, ); + // special attributes + foreach( array( 'readonly', 'disabled', 'required' ) as $k ) { + if( !empty($field[ $k ]) ) { + $hidden_input[ $k ] = $text_input[ $k ] = $k; + } + } // save_format - compatibility with ACF < 5.0.0 if( !empty($field['save_format']) ) { @@ -134,10 +135,8 @@ class acf_field_date_picker extends acf_field { // remove formatted value (will do this via JS) $text_input['value'] = ''; - } - // html ?>
              > @@ -145,7 +144,6 @@ class acf_field_date_picker extends acf_field {
              acf_get_setting('google_api_client'), 'libraries' => 'places', 'ver' => 3, - 'callback' => '' + 'callback' => '', + 'language' => acf_get_locale() ); @@ -230,7 +231,7 @@ class acf_field_google_map extends acf_field { // allow_null acf_render_field_setting( $field, array( 'label' => __('Height','acf'), - 'instructions' => __('Customise the map height','acf'), + 'instructions' => __('Customize the map height','acf'), 'type' => 'text', 'name' => 'height', 'append' => 'px', diff --git a/includes/form.php b/includes/form.php index 1a45359..c144a0e 100644 --- a/includes/form.php +++ b/includes/form.php @@ -137,7 +137,6 @@ class ACF_Form { * @return boolean Returns true on success. */ - function save_post( $post_id = 0, $values = null ) { // override $_POST @@ -155,6 +154,11 @@ class ACF_Form { 'post_id' => $post_id )); + // Filter $_POST data for users without the 'unfiltered_html' capability. + if( !current_user_can('unfiltered_html') ) { + $_POST['acf'] = wp_kses_post_deep( $_POST['acf'] ); + } + // action do_action('acf/save_post', $post_id); diff --git a/includes/forms/form-post.php b/includes/forms/form-post.php index f30a62e..164a3c5 100644 --- a/includes/forms/form-post.php +++ b/includes/forms/form-post.php @@ -1,527 +1,359 @@ post_id = (int) $post->ID; - $this->typenow = $typenow; - - } - - - // validate post type - if( in_array($typenow, array('acf-field-group', 'attachment')) ) { - - return false; - - } - - - // validate page (Shopp) - if( $pagenow == "admin.php" && isset( $_GET['page'] ) && $_GET['page'] == "shopp-products" && isset( $_GET['id'] ) ) { - - $return = true; - - $this->post_id = absint( $_GET['id'] ); - $this->typenow = 'shopp_product'; - - } - - - // return - return $return; - } - - - /* - * admin_enqueue_scripts - * - * This action is run after post query but before any admin script / head actions. - * It is a good place to register all actions. - * - * @type action (admin_enqueue_scripts) - * @date 26/01/13 - * @since 3.6.0 - * - * @param n/a - * @return n/a - */ - - function admin_enqueue_scripts() { - - // validate page - if( !$this->validate_page() ) return; - - - // load acf scripts + // enqueue scripts acf_enqueue_scripts(array( 'uploader' => true, )); - // actions - add_action('acf/input/admin_head', array($this,'admin_head')); - add_action('acf/input/admin_footer', array($this,'admin_footer')); + add_action('add_meta_boxes', array($this, 'add_meta_boxes'), 10, 2); + add_action('edit_form_after_title', array($this, 'edit_form_after_title')); + add_filter('hidden_meta_boxes', array($this, 'hidden_meta_boxes'), 10, 3); } - - /* - * admin_head + /** + * add_meta_boxes * - * This action will find and add field groups to the current edit page + * Adds ACF metaboxes for the given $post_type and $post. * - * @type action (admin_head) - * @date 23/06/12 - * @since 3.1.8 + * @date 19/9/18 + * @since 5.7.6 * - * @param n/a - * @return n/a + * @param string $post_type The post type. + * @param WP_Post $post The post being edited. + * @return void */ - - function admin_head() { + function add_meta_boxes( $post_type, $post ) { // vars - $style_found = false; + $postboxes = array(); + $count = 0; - - // get field groups + // get all field groups $field_groups = acf_get_field_groups(); - - // add meta boxes - if( !empty($field_groups) ) { + // loop + if( $field_groups ) { + foreach( $field_groups as $field_group ) { + + // vars + $id = "acf-{$field_group['key']}"; // acf-group_123 + $title = $field_group['title']; // Group 1 + $context = $field_group['position']; // normal, side, acf_after_title + $priority = 'high'; // high, core, default, low - foreach( $field_groups as $i => $field_group ) { - - // vars - $id = "acf-{$field_group['key']}"; - $title = $field_group['title']; - $context = $field_group['position']; - $priority = 'high'; - $args = array( - 'field_group' => $field_group, - 'visibility' => false - ); - - - // tweaks to vars - if( $context == 'side' ) { - - $priority = 'core'; - - } - - - // filter for 3rd party customization - $priority = apply_filters('acf/input/meta_box_priority', $priority, $field_group); - - - // visibility - $args['visibility'] = acf_get_field_group_visibility( $field_group, array( - 'post_id' => $this->post_id, - 'post_type' => $this->typenow - )); - - - // add meta box - add_meta_box( $id, $title, array($this, 'render_meta_box'), $this->typenow, $context, $priority, $args ); - - - // update style - if( !$style_found && $args['visibility'] ) { - - $style_found = true; - - $this->style = acf_get_field_group_style( $field_group ); - - } - + // change priority for sidebar metaboxes + if( $context == 'side' ) { + $priority = 'core'; } - } + /** + * Filters the metabox priority. + * + * @date 23/06/12 + * @since 3.1.8 + * + * @param string $priority The metabox priority (high, core, default, low). + * @param array $field_group The field group array. + */ + $priority = apply_filters('acf/input/meta_box_priority', $priority, $field_group); + + // set the visibility for this field group + $visible = acf_get_field_group_visibility($field_group, array( + 'post_id' => $post->ID, + 'post_type' => $post_type + )); + + // add meta box + add_meta_box( $id, $title, array($this, 'render_meta_box'), $post_type, $context, $priority, array('field_group' => $field_group) ); + + // append to $postboxes + $this->postboxes[ $id ] = array( + 'id' => $id, + 'key' => $field_group['key'], + 'style' => $field_group['style'], + 'label' => $field_group['label_placement'], + 'visible' => $visible, + 'edit' => acf_get_field_group_edit_link( $field_group['ID'] ) + ); + + // increase count for visible + if( $visible ) { + $count++; - - // Allow 'acf_after_title' metabox position - add_action('edit_form_after_title', array($this, 'edit_form_after_title')); - + // find first field group's style + if( $count == 1 ) { + $this->style = acf_get_field_group_style( $field_group ); + } + } + }} // remove postcustom metabox (removes expensive SQL query) if( acf_get_setting('remove_wp_meta_box') ) { - remove_meta_box( 'postcustom', false, 'normal' ); - } - - - // remove ACF values from meta postbox () - add_filter('is_protected_meta', array($this, 'is_protected_meta'), 10, 3); - } - - /* + /** * edit_form_after_title * - * This action will allow ACF to render metaboxes after the title + * Called after the title adn before the content editor. * - * @type action - * @date 17/08/13 + * @date 19/9/18 + * @since 5.7.6 * - * @param n/a - * @return n/a + * @param void + * @return void */ - function edit_form_after_title() { // globals global $post, $wp_meta_boxes; - // render post data acf_form_data(array( 'screen' => 'post', - 'post_id' => $this->post_id, - 'ajax' => 1 + 'post_id' => $post->ID )); - - // render - do_meta_boxes( get_current_screen(), 'acf_after_title', $post); - - - // clean up + // render 'acf_after_title' metaboxes + do_meta_boxes( get_current_screen(), 'acf_after_title', $post ); + + // clean up $wp_meta_boxes unset( $wp_meta_boxes['post']['acf_after_title'] ); - + + // render dynamic field group style + echo ''; } + /** + * hidden_meta_boxes + * + * Appends the id of all metaboxes that are not visible for WP to hide. + * + * @date 21/9/18 + * @since 5.7.6 + * + * @param array $hidden An array of hidden meta boxes. + * @param WP_Screen $screen WP_Screen object of the current screen. + * @param bool $use_defaults Whether to show the default meta boxes. + * @return array + */ + function hidden_meta_boxes( $hidden, $screen, $use_defaults ) { + + // loop over visiblity array + foreach( $this->postboxes as $id => $postbox ) { + if( !$postbox['visible'] ) { + $hidden[] = $id; + } + } + + // return + return $hidden; + } - /* + /** * render_meta_box * - * description + * Renders the ACF metabox HTML. * - * @type function - * @date 20/10/13 - * @since 5.0.0 + * @date 19/9/18 + * @since 5.7.6 * - * @param $post_id (int) - * @return $post_id (int) + * @param WP_Post $post The post being edited. + * @param array metabox The add_meta_box() args. + * @return void */ - - function render_meta_box( $post, $args ) { - - // extract args - extract( $args ); // all variables from the add_meta_box function - extract( $args ); // all variables from the args argument - + function render_meta_box( $post, $metabox ) { // vars - $o = array( - 'id' => $id, - 'key' => $field_group['key'], - 'style' => $field_group['style'], - 'label' => $field_group['label_placement'], - 'editLink' => '', - 'editTitle' => __('Edit field group', 'acf'), - 'visibility' => $visibility - ); + $id = $metabox['id']; + $field_group = $metabox['args']['field_group']; + $postbox = $this->postboxes[ $id ]; - - // edit_url - if( $field_group['ID'] && acf_current_user_can_admin() ) { - - $o['editLink'] = admin_url('post.php?post=' . $field_group['ID'] . '&action=edit'); - - } - - - // load and render fields - if( $visibility ) { - - // load fields + // render fields if visible + if( $postbox['visible'] ) { $fields = acf_get_fields( $field_group ); - - - // render - acf_render_fields( $fields, $this->post_id, 'div', $field_group['instruction_placement'] ); - - // render replace-me div - } else { - - echo '
              '; - + acf_render_fields( $fields, $post->ID, 'div', $field_group['instruction_placement'] ); } - - ?> - - + + ' . $this->style . ''; - - } - - - /* + /** * wp_insert_post_empty_content * - * This function will allow WP to insert a new post without title / content if ACF data exists + * Allows WP to insert a new post without title or post_content if ACF data exists. * - * @type function * @date 16/07/2014 * @since 5.0.1 * - * @param $maybe_empty (bool) whether the post should be considered "empty" - * @param $postarr (array) Array of post data - * @return $maybe_empty + * @param bool $maybe_empty Whether the post should be considered "empty". + * @param array $postarr Array of post data. + * @return bool */ - function wp_insert_post_empty_content( $maybe_empty, $postarr ) { + // return false and allow insert if '_acf_changed' exists if( $maybe_empty && acf_maybe_get_POST('_acf_changed') ) { - - $maybe_empty = false; - + return false; } - // return return $maybe_empty; } - /* * allow_save_post * - * This function will return true if the post is allowed to be saved + * Checks if the $post is allowed to be saved. + * Used to avoid triggering "acf/save_post" on dynamically created posts during save. * * @type function * @date 26/06/2016 * @since 5.3.8 * - * @param $post_id (int) - * @return $post_id (int) + * @param WP_Post $post The post to check. + * @return bool */ - function allow_save_post( $post ) { // vars $allow = true; + // restrict post types + $restrict = array( 'auto-draft', 'revision', 'acf-field', 'acf-field-group' ); + if( in_array($post->post_type, $restrict) ) { + $allow = false; + } - // disallow if is post type - $post_types = array( 'auto-draft', 'revision', 'acf-field', 'acf-field-group' ); - if( in_array($post->post_type, $post_types) ) $allow = false; - - - // disallow if not the form post + // disallow if the $_POST ID value does not match the $post->ID $form_post_id = (int) acf_maybe_get_POST('post_ID'); - if( $form_post_id && $form_post_id !== $post->ID ) $allow = false; - + if( $form_post_id && $form_post_id !== $post->ID ) { + $allow = false; + } // revision (preview) if( $post->post_type == 'revision' ) { - // allow if doing preview - if( acf_maybe_get_POST('wp-preview') == 'dopreview' ) $allow = true; - - - // disallow if not a revision of the form post - if( $form_post_id && $form_post_id !== $post->post_parent ) $allow = false; - + // allow if doing preview and this $post is a child of the $_POST ID + if( acf_maybe_get_POST('wp-preview') == 'dopreview' && $form_post_id === $post->post_parent) { + $allow = true; + } } - // return return $allow; - } - /* * save_post * - * This function will validate and save the $_POST data + * Triggers during the 'save_post' action to save the $_POST data. * * @type function * @date 23/06/12 * @since 1.0.0 * - * @param $post_id (int) - * @return $post_id (int) + * @param int $post_id The post ID + * @param WP_POST $post the post object. + * @return int */ function save_post( $post_id, $post ) { // bail ealry if no allowed to save this post type - if( !$this->allow_save_post($post) ) return $post_id; - + if( !$this->allow_save_post($post) ) { + return $post_id; + } // verify nonce - if( !acf_verify_nonce('post') ) return $post_id; - + if( !acf_verify_nonce('post') ) { + return $post_id; + } // validate for published post (allow draft to save without validation) if( $post->post_status == 'publish' ) { // show errors acf_validate_save_post( true ); - } - // save acf_save_post( $post_id ); - // save revision if( post_type_supports($post->post_type, 'revisions') ) { - acf_save_post_revision( $post_id ); - } - // return return $post_id; - } - - - /* - * is_protected_meta - * - * This function will remove any ACF meta from showing in the meta postbox - * - * @type function - * @date 12/04/2014 - * @since 5.0.0 - * - * @param $post_id (int) - * @return $post_id (int) - */ - - function is_protected_meta( $protected, $meta_key, $meta_type ) { - - // if acf_get_reference returns a valid key, this is an acf value, so protect it! - if( !$protected ) { - - $reference = acf_get_reference( $meta_key, $this->post_id ); - - if( acf_is_field_key($reference) ) { - - $protected = true; - - } - - } - - - // return - return $protected; - - } - } acf_new_instance('ACF_Form_Post'); diff --git a/includes/upgrades.php b/includes/upgrades.php index 934ddda..b6acec8 100644 --- a/includes/upgrades.php +++ b/includes/upgrades.php @@ -43,8 +43,14 @@ function acf_has_upgrade() { */ function acf_upgrade_all() { + // increase time limit + @set_time_limit(600); + + // start timer + timer_start(); + // log - acf_dev_log('acf_upgrade_all'); + acf_dev_log('ACF Upgrade Begin.'); // vars $db_version = acf_get_db_version(); @@ -61,6 +67,10 @@ function acf_upgrade_all() { // upgrade DB version once all updates are complete acf_update_db_version( ACF_VERSION ); + + // log + global $wpdb; + acf_dev_log('ACF Upgrade Complete.', $wpdb->num_queries, timer_stop(0)); } /** @@ -107,7 +117,7 @@ function acf_update_db_version( $version = '' ) { function acf_upgrade_500() { // log - acf_dev_log('acf_upgrade_500'); + acf_dev_log('ACF Upgrade 5.0.0.'); // action do_action('acf/upgrade_500'); @@ -133,7 +143,7 @@ function acf_upgrade_500() { function acf_upgrade_500_field_groups() { // log - acf_dev_log('acf_upgrade_500_field_groups'); + acf_dev_log('ACF Upgrade 5.0.0 Field Groups.'); // get old field groups $ofgs = get_posts(array( @@ -165,6 +175,9 @@ function acf_upgrade_500_field_groups() { */ function acf_upgrade_500_field_group( $ofg ) { + // log + acf_dev_log('ACF Upgrade 5.0.0 Field Group.', $ofg); + // vars $nfg = array( 'ID' => 0, @@ -201,12 +214,12 @@ function acf_upgrade_500_field_group( $ofg ) { // acf_upgrade_field_group will call the acf_get_valid_field_group function and apply 'compatibility' changes $nfg = acf_update_field_group( $nfg ); + // log + acf_dev_log('> Complete.', $nfg); + // action for 3rd party do_action('acf/upgrade_500_field_group', $nfg, $ofg); - // log - acf_dev_log('acf_upgrade_500_field_group', $ofg, $nfg); - // upgrade fields acf_upgrade_500_fields( $ofg, $nfg ); @@ -233,6 +246,9 @@ function acf_upgrade_500_field_group( $ofg ) { */ function acf_upgrade_500_fields( $ofg, $nfg ) { + // log + acf_dev_log('ACF Upgrade 5.0.0 Fields.'); + // global global $wpdb; @@ -279,6 +295,9 @@ function acf_upgrade_500_fields( $ofg, $nfg ) { */ function acf_upgrade_500_field( $field ) { + // log + acf_dev_log('ACF Upgrade 5.0.0 Field.', $field); + // order_no is now menu_order $field['menu_order'] = acf_extract_var( $field, 'order_no', 0 ); @@ -332,7 +351,7 @@ function acf_upgrade_500_field( $field ) { $field = acf_update_field( $field ); // log - acf_dev_log('acf_upgrade_500_field', $field); + acf_dev_log('> Complete.', $field); // sub fields if( $sub_fields ) { @@ -363,7 +382,7 @@ function acf_upgrade_500_field( $field ) { function acf_upgrade_550() { // log - acf_dev_log('acf_upgrade_550'); + acf_dev_log('ACF Upgrade 5.5.0.'); // action do_action('acf/upgrade_550'); @@ -389,7 +408,7 @@ function acf_upgrade_550() { function acf_upgrade_550_termmeta() { // log - acf_dev_log('acf_upgrade_550_termmeta'); + acf_dev_log('ACF Upgrade 5.5.0 Termmeta.'); // bail early if no wp_termmeta table if( get_option('db_version') < 34370 ) { @@ -444,7 +463,7 @@ add_action( 'wp_upgrade', 'acf_wp_upgrade_550_termmeta', 10, 2 ); function acf_upgrade_550_taxonomy( $taxonomy ) { // log - acf_dev_log('acf_upgrade_550_taxonomy', $taxonomy); + acf_dev_log('ACF Upgrade 5.5.0 Taxonomy.', $taxonomy); // global global $wpdb; @@ -489,19 +508,27 @@ function acf_upgrade_550_taxonomy( $taxonomy ) { // vars $term_id = $matches[2]; - $meta_name = $matches[1] . $matches[3]; + $meta_key = $matches[1] . $matches[3]; $meta_value = $row['option_value']; - // log - acf_dev_log('acf_upgrade_550_term', $term_id, $meta_name, $meta_value); - // update - update_metadata( 'term', $term_id, $meta_name, $meta_value ); + // memory usage reduced by 50% by using a manual insert vs update_metadata() function. + //update_metadata( 'term', $term_id, $meta_name, $meta_value ); + $wpdb->insert( $wpdb->termmeta, array( + 'term_id' => $term_id, + 'meta_key' => $meta_key, + 'meta_value' => $meta_value + )); + + // log + acf_dev_log('ACF Upgrade 5.5.0 Term.', $term_id, $meta_key); + + // action + do_action('acf/upgrade_550_taxonomy_term', $term_id); }} // action for 3rd party do_action('acf/upgrade_550_taxonomy', $taxonomy); } - ?> \ No newline at end of file diff --git a/lang/acf-cs_CZ.mo b/lang/acf-cs_CZ.mo index 82ed575..088a5b0 100644 Binary files a/lang/acf-cs_CZ.mo and b/lang/acf-cs_CZ.mo differ diff --git a/lang/acf-cs_CZ.po b/lang/acf-cs_CZ.po index ce1c356..a9b7bb4 100644 --- a/lang/acf-cs_CZ.po +++ b/lang/acf-cs_CZ.po @@ -3,14 +3,14 @@ msgstr "" "Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" "POT-Creation-Date: 2015-08-11 23:09+0200\n" -"PO-Revision-Date: 2018-02-06 10:05+1000\n" +"PO-Revision-Date: 2018-10-22 16:29+0200\n" "Last-Translator: Elliot Condon \n" "Language-Team: webees.cz s.r.o. \n" "Language: cs_CZ\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.1\n" +"X-Generator: Poedit 2.2\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;" "esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" @@ -31,7 +31,7 @@ msgstr "Skupiny polí" #: acf.php:206 msgid "Field Group" -msgstr "" +msgstr "Skupina polí" #: acf.php:207 acf.php:239 admin/admin.php:62 pro/fields/flexible-content.php:517 msgid "Add New" @@ -71,15 +71,15 @@ msgstr "Pole" #: acf.php:238 msgid "Field" -msgstr "" +msgstr "Pole" #: acf.php:240 msgid "Add New Field" -msgstr "" +msgstr "Přidat nové pole" #: acf.php:241 msgid "Edit Field" -msgstr "" +msgstr "Upravit pole" #: acf.php:242 admin/views/field-group-fields.php:18 admin/views/settings-info.php:111 msgid "New Field" @@ -87,32 +87,31 @@ msgstr "Nové pole" #: acf.php:243 msgid "View Field" -msgstr "" +msgstr "Zobrazit pole" #: acf.php:244 msgid "Search Fields" -msgstr "" +msgstr "Vyhledat pole" #: acf.php:245 msgid "No Fields found" -msgstr "" +msgstr "Nenalezeno žádné pole" #: acf.php:246 msgid "No Fields found in Trash" -msgstr "" +msgstr "V koši nenalezeno žádné pole" -#: acf.php:268 admin/field-group.php:283 admin/field-groups.php:583 -#: admin/views/field-group-options.php:18 +#: acf.php:268 admin/field-group.php:283 admin/field-groups.php:583 admin/views/field-group-options.php:18 msgid "Disabled" -msgstr "" +msgstr "Zakázáno" #: acf.php:273 #, php-format msgid "Disabled (%s)" msgid_plural "Disabled (%s)" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "(%s) zakázán" +msgstr[1] "(%s) zakázány" +msgstr[2] "(%s) zakázáno" #: admin/admin.php:57 admin/views/field-group-options.php:120 msgid "Custom Fields" @@ -120,11 +119,11 @@ msgstr "Vlastní pole" #: admin/field-group.php:68 admin/field-group.php:69 admin/field-group.php:71 msgid "Field group updated." -msgstr "Skupina polí aktualizována" +msgstr "Skupina polí aktualizována." #: admin/field-group.php:70 msgid "Field group deleted." -msgstr "" +msgstr "Skupina polí smazána." #: admin/field-group.php:73 msgid "Field group published." @@ -152,53 +151,53 @@ msgstr "Přesunout do koše. Jste si jistí?" #: admin/field-group.php:177 msgid "checked" -msgstr "" +msgstr "zaškrtnuto" #: admin/field-group.php:178 msgid "No toggle fields available" -msgstr "" +msgstr "Žádné zapínatelné pole není k dispozici" #: admin/field-group.php:179 msgid "Field group title is required" -msgstr "" +msgstr "Vyžadován nadpis pro skupinu polí" #: admin/field-group.php:180 api/api-field-group.php:607 msgid "copy" -msgstr "" +msgstr "kopírovat" #: admin/field-group.php:181 admin/views/field-group-field-conditional-logic.php:67 #: admin/views/field-group-field-conditional-logic.php:162 admin/views/field-group-locations.php:23 #: admin/views/field-group-locations.php:131 api/api-helpers.php:3262 msgid "or" -msgstr "" +msgstr "nebo" #: admin/field-group.php:183 msgid "Parent fields" -msgstr "" +msgstr "Rodičovské pole" #: admin/field-group.php:184 msgid "Sibling fields" -msgstr "" +msgstr "Sesterské pole" #: admin/field-group.php:185 msgid "Move Custom Field" -msgstr "" +msgstr "Přesunout vlastní pole" #: admin/field-group.php:186 msgid "This field cannot be moved until its changes have been saved" -msgstr "" +msgstr "Toto pole nelze přesunout, dokud nebudou uloženy jeho změny" #: admin/field-group.php:187 msgid "Null" -msgstr "" +msgstr "Nula" #: admin/field-group.php:188 core/input.php:128 msgid "The changes you made will be lost if you navigate away from this page" -msgstr "" +msgstr "Pokud opustíte tuto stránku, změny, které jste provedli, budou ztraceny" #: admin/field-group.php:189 msgid "The string \"field_\" may not be used at the start of a field name" -msgstr "" +msgstr "Řetězec \"pole_\" nesmí být použit na začátku názvu pole" #: admin/field-group.php:214 msgid "Location" @@ -210,7 +209,7 @@ msgstr "Nastavení" #: admin/field-group.php:253 msgid "Field Keys" -msgstr "" +msgstr "Klíče polí" #: admin/field-group.php:283 admin/views/field-group-options.php:17 msgid "Active" @@ -218,23 +217,23 @@ msgstr "Aktivní" #: admin/field-group.php:744 msgid "Front Page" -msgstr "" +msgstr "Hlavní stránka" #: admin/field-group.php:745 msgid "Posts Page" -msgstr "" +msgstr "Stránka příspěvku" #: admin/field-group.php:746 msgid "Top Level Page (no parent)" -msgstr "" +msgstr "Stránka nejvyšší úrovně (žádný nadřazený)" #: admin/field-group.php:747 msgid "Parent Page (has children)" -msgstr "" +msgstr "Rodičovská stránka (má potomky)" #: admin/field-group.php:748 msgid "Child Page (has parent)" -msgstr "" +msgstr "Podřazená stránka (má rodiče)" #: admin/field-group.php:764 msgid "Default Template" @@ -242,92 +241,92 @@ msgstr "Výchozí šablona" #: admin/field-group.php:786 msgid "Logged in" -msgstr "" +msgstr "Přihlášen" #: admin/field-group.php:787 msgid "Viewing front end" -msgstr "" +msgstr "Prohlížíte frontend" #: admin/field-group.php:788 msgid "Viewing back end" -msgstr "" +msgstr "Prohlížíte backend" #: admin/field-group.php:807 msgid "Super Admin" -msgstr "" +msgstr "Super Admin" -#: admin/field-group.php:818 admin/field-group.php:826 admin/field-group.php:840 -#: admin/field-group.php:847 admin/field-group.php:862 admin/field-group.php:872 fields/file.php:235 -#: fields/image.php:226 pro/fields/gallery.php:653 +#: admin/field-group.php:818 admin/field-group.php:826 admin/field-group.php:840 admin/field-group.php:847 +#: admin/field-group.php:862 admin/field-group.php:872 fields/file.php:235 fields/image.php:226 +#: pro/fields/gallery.php:653 msgid "All" msgstr "Vše" #: admin/field-group.php:827 msgid "Add / Edit" -msgstr "" +msgstr "Přidat / Editovat" #: admin/field-group.php:828 msgid "Register" -msgstr "" +msgstr "Registrovat" #: admin/field-group.php:1059 msgid "Move Complete." -msgstr "" +msgstr "Přesun hotov." #: admin/field-group.php:1060 #, php-format msgid "The %s field can now be found in the %s field group" -msgstr "" +msgstr "Pole %s lze nyní najít ve skupině polí %s" #: admin/field-group.php:1062 msgid "Close Window" -msgstr "" +msgstr "Zavřít okno" #: admin/field-group.php:1097 msgid "Please select the destination for this field" -msgstr "" +msgstr "Prosím zvolte umístění pro toto pole" #: admin/field-group.php:1104 msgid "Move Field" -msgstr "" +msgstr "Přesunout pole" #: admin/field-groups.php:74 #, php-format msgid "Active (%s)" msgid_plural "Active (%s)" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "(%s) aktivní" +msgstr[1] "(%s) aktivní" +msgstr[2] "(%s) aktivní" #: admin/field-groups.php:142 #, php-format msgid "Field group duplicated. %s" -msgstr "" +msgstr "Skupina polí duplikována. %s" #: admin/field-groups.php:146 #, php-format msgid "%s field group duplicated." msgid_plural "%s field groups duplicated." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "%s skupina polí duplikována." +msgstr[1] "%s skupiny polí duplikovány." +msgstr[2] "%s skupin polí duplikováno." #: admin/field-groups.php:228 #, php-format msgid "Field group synchronised. %s" -msgstr "" +msgstr "Skupina polí synchronizována. %s" #: admin/field-groups.php:232 #, php-format msgid "%s field group synchronised." msgid_plural "%s field groups synchronised." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "%s skupina polí synchronizována." +msgstr[1] "%s skupiny polí synchronizovány." +msgstr[2] "%s skupin polí synchronizováno." #: admin/field-groups.php:403 admin/field-groups.php:573 msgid "Sync available" -msgstr "" +msgstr "Synchronizace je k dispozici" #: admin/field-groups.php:516 msgid "Title" @@ -352,7 +351,7 @@ msgstr "Co je nového v" #: admin/field-groups.php:617 msgid "version" -msgstr "" +msgstr "verze" #: admin/field-groups.php:619 msgid "Resources" @@ -360,43 +359,43 @@ msgstr "Zdroje" #: admin/field-groups.php:621 msgid "Getting Started" -msgstr "" +msgstr "Začínáme" #: admin/field-groups.php:622 pro/admin/settings-updates.php:73 pro/admin/views/settings-updates.php:17 msgid "Updates" -msgstr "" +msgstr "Aktualizace" #: admin/field-groups.php:623 msgid "Field Types" -msgstr "" +msgstr "Typy polí" #: admin/field-groups.php:624 msgid "Functions" -msgstr "" +msgstr "Funkce" #: admin/field-groups.php:625 msgid "Actions" -msgstr "" +msgstr "Akce" #: admin/field-groups.php:626 fields/relationship.php:718 msgid "Filters" -msgstr "" +msgstr "Filtry" #: admin/field-groups.php:627 msgid "'How to' guides" -msgstr "" +msgstr "Průvodce \"jak na to\"" #: admin/field-groups.php:628 msgid "Tutorials" -msgstr "" +msgstr "Tutoriál" #: admin/field-groups.php:633 msgid "Created by" -msgstr "Vytvořil" +msgstr "Vytvořil/a" #: admin/field-groups.php:673 msgid "Duplicate this item" -msgstr "" +msgstr "Duplikovat tuto položku" #: admin/field-groups.php:673 admin/field-groups.php:685 admin/views/field-group-field.php:58 #: pro/fields/flexible-content.php:516 @@ -406,73 +405,74 @@ msgstr "Duplikovat" #: admin/field-groups.php:724 #, php-format msgid "Select %s" -msgstr "" +msgstr "Zvolit %s" #: admin/field-groups.php:730 msgid "Synchronise field group" -msgstr "" +msgstr "Synchronizujte skupinu polí" #: admin/field-groups.php:730 admin/field-groups.php:750 msgid "Sync" -msgstr "" +msgstr "Synchronizace" #: admin/settings-addons.php:51 admin/views/settings-addons.php:9 msgid "Add-ons" -msgstr "" +msgstr "Doplňky" #: admin/settings-addons.php:87 msgid "Error. Could not load add-ons list" -msgstr "" +msgstr "Chyba. Nelze načíst seznam doplňků" #: admin/settings-info.php:50 msgid "Info" -msgstr "" +msgstr "Informace" #: admin/settings-info.php:75 msgid "What's New" -msgstr "" +msgstr "Co je nového" #: admin/settings-tools.php:54 admin/views/settings-tools-export.php:9 admin/views/settings-tools.php:31 msgid "Tools" -msgstr "" +msgstr "Nástroje" #: admin/settings-tools.php:151 admin/settings-tools.php:365 msgid "No field groups selected" -msgstr "" +msgstr "Nebyly vybrány žádné skupiny polí" #: admin/settings-tools.php:188 msgid "No file selected" -msgstr "" +msgstr "Dokument nevybrán" #: admin/settings-tools.php:201 msgid "Error uploading file. Please try again" -msgstr "" +msgstr "Chyba při nahrávání souboru. Prosím zkuste to znovu" #: admin/settings-tools.php:210 msgid "Incorrect file type" -msgstr "" +msgstr "Nesprávný typ souboru" #: admin/settings-tools.php:227 msgid "Import file empty" -msgstr "" +msgstr "Importovaný soubor je prázdný" #: admin/settings-tools.php:323 #, php-format msgid "Success. Import tool added %s field groups: %s" -msgstr "" +msgstr "Úspěch. Nástroj pro import přidal %s skupin polí: %s" #: admin/settings-tools.php:332 #, php-format msgid "Warning. Import tool detected %s field groups already exist and have been ignored: %s" msgstr "" +"Upozornění. Nástroj pro import rozpoznal %s již existujících skupin polí a ty byly ignorovány: %s" #: admin/update.php:113 msgid "Upgrade ACF" -msgstr "" +msgstr "Aktualizovat ACF" #: admin/update.php:143 msgid "Review sites & upgrade" -msgstr "" +msgstr "Zkontrolujte stránky a aktualizujte" #: admin/update.php:298 msgid "Upgrade" @@ -484,7 +484,7 @@ msgstr "Aktualizovat databázi" #: admin/views/field-group-field-conditional-logic.php:29 msgid "Conditional Logic" -msgstr "" +msgstr "Podmíněná logika" #: admin/views/field-group-field-conditional-logic.php:40 admin/views/field-group-field.php:137 #: fields/checkbox.php:246 fields/message.php:117 fields/page_link.php:568 fields/page_link.php:582 @@ -500,14 +500,13 @@ msgstr "Ano" #: fields/post_object.php:435 fields/post_object.php:449 fields/select.php:412 fields/select.php:426 #: fields/select.php:440 fields/select.php:454 fields/tab.php:173 fields/taxonomy.php:685 #: fields/taxonomy.php:771 fields/taxonomy.php:785 fields/taxonomy.php:799 fields/taxonomy.php:813 -#: fields/user.php:458 fields/user.php:472 fields/wysiwyg.php:385 -#: pro/admin/views/settings-updates.php:103 +#: fields/user.php:458 fields/user.php:472 fields/wysiwyg.php:385 pro/admin/views/settings-updates.php:103 msgid "No" msgstr "Ne" #: admin/views/field-group-field-conditional-logic.php:65 msgid "Show this field if" -msgstr "" +msgstr "Zobrazit toto pole, pokud" #: admin/views/field-group-field-conditional-logic.php:111 admin/views/field-group-locations.php:88 msgid "is equal to" @@ -519,15 +518,15 @@ msgstr "není rovno" #: admin/views/field-group-field-conditional-logic.php:149 admin/views/field-group-locations.php:118 msgid "and" -msgstr "" +msgstr "a" #: admin/views/field-group-field-conditional-logic.php:164 admin/views/field-group-locations.php:133 msgid "Add rule group" -msgstr "" +msgstr "Přidat skupinu pravidel" #: admin/views/field-group-field.php:54 admin/views/field-group-field.php:57 msgid "Edit field" -msgstr "" +msgstr "Upravit pole" #: admin/views/field-group-field.php:57 pro/fields/gallery.php:355 msgid "Edit" @@ -535,19 +534,19 @@ msgstr "Upravit" #: admin/views/field-group-field.php:58 msgid "Duplicate field" -msgstr "" +msgstr "Duplikovat pole" #: admin/views/field-group-field.php:59 msgid "Move field to another group" -msgstr "" +msgstr "Přesunout pole do jiné skupiny" #: admin/views/field-group-field.php:59 msgid "Move" -msgstr "" +msgstr "Přesunout" #: admin/views/field-group-field.php:60 msgid "Delete field" -msgstr "" +msgstr "Smazat pole" #: admin/views/field-group-field.php:60 pro/fields/flexible-content.php:515 msgid "Delete" @@ -555,15 +554,15 @@ msgstr "Smazat" #: admin/views/field-group-field.php:68 fields/oembed.php:212 fields/taxonomy.php:886 msgid "Error" -msgstr "" +msgstr "Chyba" #: fields/oembed.php:220 fields/taxonomy.php:900 msgid "Error." -msgstr "" +msgstr "Chyba." #: admin/views/field-group-field.php:68 msgid "Field type does not exist" -msgstr "" +msgstr "Typ pole neexistuje" #: admin/views/field-group-field.php:81 msgid "Field Label" @@ -579,7 +578,7 @@ msgstr "Jméno pole" #: admin/views/field-group-field.php:94 msgid "Single word, no spaces. Underscores and dashes allowed" -msgstr "Jedno slovo, bez mezer. Podtržítka a pomlčky jsou povoleny." +msgstr "Jedno slovo, bez mezer. Podtržítka a pomlčky jsou povoleny" #: admin/views/field-group-field.php:105 msgid "Field Type" @@ -591,7 +590,7 @@ msgstr "Instrukce" #: admin/views/field-group-field.php:119 msgid "Instructions for authors. Shown when submitting data" -msgstr "Instrukce pro autory. Jsou zobrazeny při zadávání dat." +msgstr "Instrukce pro autory. Jsou zobrazeny při zadávání dat" #: admin/views/field-group-field.php:130 msgid "Required?" @@ -599,19 +598,19 @@ msgstr "Požadováno?" #: admin/views/field-group-field.php:158 msgid "Wrapper Attributes" -msgstr "" +msgstr "Atributy obalového pole" #: admin/views/field-group-field.php:164 msgid "width" -msgstr "" +msgstr "šířka" #: admin/views/field-group-field.php:178 msgid "class" -msgstr "" +msgstr "třída" #: admin/views/field-group-field.php:191 msgid "id" -msgstr "" +msgstr "identifikátor" #: admin/views/field-group-field.php:203 msgid "Close Field" @@ -619,7 +618,7 @@ msgstr "Zavřít pole" #: admin/views/field-group-fields.php:29 msgid "Order" -msgstr "" +msgstr "Pořadí" #: admin/views/field-group-fields.php:30 pro/fields/flexible-content.php:541 msgid "Label" @@ -631,7 +630,7 @@ msgstr "Jméno" #: admin/views/field-group-fields.php:32 msgid "Type" -msgstr "" +msgstr "Typ" #: admin/views/field-group-fields.php:44 msgid "No fields. Click the + Add Field button to create your first field." @@ -655,7 +654,7 @@ msgstr "Vytváří sadu pravidel pro určení, na kterých stránkách úprav bu #: admin/views/field-group-locations.php:21 msgid "Show this field group if" -msgstr "" +msgstr "Zobrazit tuto skupinu polí, pokud" #: admin/views/field-group-locations.php:41 admin/views/field-group-locations.php:47 msgid "Post" @@ -667,7 +666,7 @@ msgstr "Typ příspěvku" #: admin/views/field-group-locations.php:43 msgid "Post Status" -msgstr "" +msgstr "Stav příspěvku" #: admin/views/field-group-locations.php:44 msgid "Post Format" @@ -699,43 +698,43 @@ msgstr "Rodičovská stránka" #: admin/views/field-group-locations.php:55 fields/user.php:36 msgid "User" -msgstr "" +msgstr "Uživatel" #: admin/views/field-group-locations.php:56 msgid "Current User" -msgstr "" +msgstr "Aktuální uživatel" #: admin/views/field-group-locations.php:57 msgid "Current User Role" -msgstr "" +msgstr "Aktuální uživatelská role" #: admin/views/field-group-locations.php:58 msgid "User Form" -msgstr "" +msgstr "Uživatelský formulář" #: admin/views/field-group-locations.php:59 msgid "User Role" -msgstr "" +msgstr "Uživatelská role" #: admin/views/field-group-locations.php:61 pro/admin/options-page.php:48 msgid "Forms" -msgstr "" +msgstr "Formuláře" #: admin/views/field-group-locations.php:62 msgid "Attachment" -msgstr "" +msgstr "Příloha" #: admin/views/field-group-locations.php:63 msgid "Taxonomy Term" -msgstr "" +msgstr "Taxonomie" #: admin/views/field-group-locations.php:64 msgid "Comment" -msgstr "" +msgstr "Komentář" #: admin/views/field-group-locations.php:65 msgid "Widget" -msgstr "" +msgstr "Widget" #: admin/views/field-group-options.php:25 msgid "Style" @@ -743,11 +742,11 @@ msgstr "Styl" #: admin/views/field-group-options.php:32 msgid "Standard (WP metabox)" -msgstr "" +msgstr "Standardní (WP metabox)" #: admin/views/field-group-options.php:33 msgid "Seamless (no metabox)" -msgstr "" +msgstr "Bezokrajové (bez metaboxu)" #: admin/views/field-group-options.php:40 msgid "Position" @@ -755,11 +754,11 @@ msgstr "Pozice" #: admin/views/field-group-options.php:47 msgid "High (after title)" -msgstr "" +msgstr "Vysoko (po nadpisu)" #: admin/views/field-group-options.php:48 msgid "Normal (after content)" -msgstr "" +msgstr "Normální (po obsahu)" #: admin/views/field-group-options.php:49 msgid "Side" @@ -767,27 +766,27 @@ msgstr "Na straně" #: admin/views/field-group-options.php:57 msgid "Label placement" -msgstr "" +msgstr "Umístění štítků" #: admin/views/field-group-options.php:64 fields/tab.php:159 msgid "Top aligned" -msgstr "" +msgstr "Zarovnat shora" #: admin/views/field-group-options.php:65 fields/tab.php:160 msgid "Left aligned" -msgstr "" +msgstr "Zarovnat zleva" #: admin/views/field-group-options.php:72 msgid "Instruction placement" -msgstr "" +msgstr "Umístění instrukcí" #: admin/views/field-group-options.php:79 msgid "Below labels" -msgstr "" +msgstr "Pod štítky" #: admin/views/field-group-options.php:80 msgid "Below fields" -msgstr "" +msgstr "Pod poli" #: admin/views/field-group-options.php:87 msgid "Order No." @@ -795,11 +794,11 @@ msgstr "Pořadí" #: admin/views/field-group-options.php:88 msgid "Field groups with a lower order will appear first" -msgstr "" +msgstr "Skupiny polí s nižším pořadím se zobrazí první" #: admin/views/field-group-options.php:99 msgid "Shown in field group list" -msgstr "" +msgstr "Zobrazit v seznamu skupin polí" #: admin/views/field-group-options.php:109 msgid "Hide on screen" @@ -807,17 +806,19 @@ msgstr "Skrýt na obrazovce" #: admin/views/field-group-options.php:110 msgid "Select items to hide them from the edit screen." -msgstr "" +msgstr "Zvolte položky, které budou na obrazovce úprav skryté." #: admin/views/field-group-options.php:110 msgid "" "If multiple field groups appear on an edit screen, the first field group's options will be used (the " "one with the lowest order number)" msgstr "" +"Pokud se na obrazovce úprav objeví více skupin polí, použije se nastavení dle první skupiny polí (té s " +"nejnižším pořadovým číslem)" #: admin/views/field-group-options.php:117 msgid "Permalink" -msgstr "" +msgstr "Trvalý odkaz" #: admin/views/field-group-options.php:118 msgid "Content Editor" @@ -837,7 +838,7 @@ msgstr "Komentáře" #: admin/views/field-group-options.php:123 msgid "Revisions" -msgstr "" +msgstr "Revize" #: admin/views/field-group-options.php:124 msgid "Slug" @@ -853,7 +854,7 @@ msgstr "Formát" #: admin/views/field-group-options.php:127 msgid "Page Attributes" -msgstr "" +msgstr "Atributy stránky" #: admin/views/field-group-options.php:128 fields/relationship.php:737 msgid "Featured Image" @@ -861,78 +862,85 @@ msgstr "Uživatelský obrázek" #: admin/views/field-group-options.php:129 msgid "Categories" -msgstr "" +msgstr "Kategorie" #: admin/views/field-group-options.php:130 msgid "Tags" -msgstr "" +msgstr "Štítky" #: admin/views/field-group-options.php:131 msgid "Send Trackbacks" -msgstr "" +msgstr "Odesílat zpětné linkování odkazů" #: admin/views/settings-addons.php:23 msgid "Download & Install" -msgstr "" +msgstr "Stáhnout a instalovat" #: admin/views/settings-addons.php:42 msgid "Installed" -msgstr "" +msgstr "Instalováno" #: admin/views/settings-info.php:9 msgid "Welcome to Advanced Custom Fields" -msgstr "" +msgstr "Vítejte v Advanced Custom Fields" #: admin/views/settings-info.php:10 #, php-format msgid "Thank you for updating! ACF %s is bigger and better than ever before. We hope you like it." msgstr "" +"Děkujeme za aktualizaci! ACF %s je větší a lepší než kdykoli předtím. Doufáme, že se vám bude líbit." #: admin/views/settings-info.php:23 msgid "A smoother custom field experience" -msgstr "" +msgstr "Příjemnější zážitek s uživatelskými poli" #: admin/views/settings-info.php:28 msgid "Improved Usability" -msgstr "" +msgstr "Vylepšená použitelnost" #: admin/views/settings-info.php:29 msgid "" "Including the popular Select2 library has improved both usability and speed across a number of field " "types including post object, page link, taxonomy and select." msgstr "" +"Zahrnutí oblíbené knihovny Select2 zlepšilo jak použitelnost, tak i rychlost v různých typech polí, " +"včetně objektu příspěvku, odkazu na stránku, taxonomie a možnosti výběru." #: admin/views/settings-info.php:33 msgid "Improved Design" -msgstr "" +msgstr "Zlepšený design" #: admin/views/settings-info.php:34 msgid "" "Many fields have undergone a visual refresh to make ACF look better than ever! Noticeable changes are " "seen on the gallery, relationship and oEmbed (new) fields!" msgstr "" +"Mnoho polí podstoupilo osvěžení grafiky, aby ACF vypadalo lépe než kdy jindy! Znatelné změny jsou vidět " +"na polích galerie, vztahů a oEmbed (novinka)!" #: admin/views/settings-info.php:38 msgid "Improved Data" -msgstr "" +msgstr "Vylepšené údaje" #: admin/views/settings-info.php:39 msgid "" "Redesigning the data architecture has allowed sub fields to live independently from their parents. This " "allows you to drag and drop fields in and out of parent fields!" msgstr "" +"Přepracování datové architektury umožnilo, aby podřazená pole žila nezávisle na rodičích. To umožňuje " +"jejich přetahování mezi rodičovskými poli!" #: admin/views/settings-info.php:45 msgid "Goodbye Add-ons. Hello PRO" -msgstr "" +msgstr "Sbohem doplňkům. Pozdrav verzi PRO" #: admin/views/settings-info.php:50 msgid "Introducing ACF PRO" -msgstr "" +msgstr "Představujeme ACF PRO" #: admin/views/settings-info.php:51 msgid "We're changing the way premium functionality is delivered in an exciting way!" -msgstr "" +msgstr "Měníme způsob poskytování prémiových funkcí vzrušujícím způsobem!" #: admin/views/settings-info.php:52 #, php-format @@ -941,25 +949,29 @@ msgid "" "personal and developer licenses available, premium functionality is more affordable and accessible than " "ever before!" msgstr "" +"Všechny 4 prémiové doplňky byly spojeny do nové verze Pro pro ACF. Se svými osobními " +"i vývojovými licencemi je prémiová funkčnost cenově dostupná a přístupnější než kdykoli předtím!" #: admin/views/settings-info.php:56 msgid "Powerful Features" -msgstr "" +msgstr "Výkonné funkce" #: admin/views/settings-info.php:57 msgid "" "ACF PRO contains powerful features such as repeatable data, flexible content layouts, a beautiful " "gallery field and the ability to create extra admin options pages!" msgstr "" +"ACF PRO obsahuje výkonné funkce, jako jsou opakovatelná data, flexibilní rozložení obsahu, krásné pole " +"galerie a možnost vytvářet další stránky administrátorských voleb!" #: admin/views/settings-info.php:58 #, php-format msgid "Read more about ACF PRO features." -msgstr "" +msgstr "Přečtěte si další informace o funkcích ACF PRO." #: admin/views/settings-info.php:62 msgid "Easy Upgrading" -msgstr "" +msgstr "Snadná aktualizace" #: admin/views/settings-info.php:63 #, php-format @@ -967,6 +979,8 @@ msgid "" "To help make upgrading easy, login to your store account and claim a free copy of " "ACF PRO!" msgstr "" +"Pro usnadnění aktualizace se přihlaste do svého obchodu a požádejte o bezplatnou " +"kopii ACF PRO!" #: admin/views/settings-info.php:64 #, php-format @@ -974,110 +988,112 @@ msgid "" "We also wrote an upgrade guide to answer any questions, but if you do have one, " "please contact our support team via the help desk" msgstr "" +"Odpovědi na nejčastější dotazy naleznete v průvodci aktualizací. Pokud máte nějaký " +"zde nezodpovězený dotaz, obraťte se na náš tým podpory prostřednictvím helpdesku" #: admin/views/settings-info.php:72 msgid "Under the Hood" -msgstr "" +msgstr "Pod kapotou" #: admin/views/settings-info.php:77 msgid "Smarter field settings" -msgstr "" +msgstr "Chytřejší nastavení pole" #: admin/views/settings-info.php:78 msgid "ACF now saves its field settings as individual post objects" -msgstr "" +msgstr "ACF nyní ukládá nastavení polí jako individuální objekty" #: admin/views/settings-info.php:82 msgid "More AJAX" -msgstr "" +msgstr "Více AJAXu" #: admin/views/settings-info.php:83 msgid "More fields use AJAX powered search to speed up page loading" -msgstr "" +msgstr "Více polí využívá vyhledávání pomocí AJAX pro rychlé načítání stránky" #: admin/views/settings-info.php:87 msgid "Local JSON" -msgstr "" +msgstr "Lokální JSON" #: admin/views/settings-info.php:88 msgid "New auto export to JSON feature improves speed" -msgstr "" +msgstr "Nový automatický export do funkce JSON zvyšuje rychlost" #: admin/views/settings-info.php:94 msgid "Better version control" -msgstr "" +msgstr "Lepší verzování" #: admin/views/settings-info.php:95 msgid "New auto export to JSON feature allows field settings to be version controlled" -msgstr "" +msgstr "Nový automatický export do formátu JSON umožňuje, aby nastavení polí bylo verzovatelné" #: admin/views/settings-info.php:99 msgid "Swapped XML for JSON" -msgstr "" +msgstr "XML vyměněno za JSON" #: admin/views/settings-info.php:100 msgid "Import / Export now uses JSON in favour of XML" -msgstr "" +msgstr "Import / Export nyní používá JSON místo XML" #: admin/views/settings-info.php:104 msgid "New Forms" -msgstr "" +msgstr "Nové formuláře" #: admin/views/settings-info.php:105 msgid "Fields can now be mapped to comments, widgets and all user forms!" -msgstr "" +msgstr "Pole mohou být nyní mapovány na komentáře, widgety a všechny uživatelské formuláře!" #: admin/views/settings-info.php:112 msgid "A new field for embedding content has been added" -msgstr "" +msgstr "Bylo přidáno nové pole pro vkládání obsahu" #: admin/views/settings-info.php:116 msgid "New Gallery" -msgstr "" +msgstr "Nová galerie" #: admin/views/settings-info.php:117 msgid "The gallery field has undergone a much needed facelift" -msgstr "" +msgstr "Pole pro galerii prošlo potřebovaným vylepšením vzhledu" #: admin/views/settings-info.php:121 msgid "New Settings" -msgstr "" +msgstr "Nová nastavení" #: admin/views/settings-info.php:122 msgid "Field group settings have been added for label placement and instruction placement" -msgstr "" +msgstr "Nastavení umístění polí bylo přidáno pro umístění štítků a umístění instrukcí" #: admin/views/settings-info.php:128 msgid "Better Front End Forms" -msgstr "" +msgstr "Lepší vizuální stránka formulářů" #: admin/views/settings-info.php:129 msgid "acf_form() can now create a new post on submission" -msgstr "" +msgstr "acf_form() může nyní vytvořit nový příspěvek po odeslání" #: admin/views/settings-info.php:133 msgid "Better Validation" -msgstr "" +msgstr "Lepší validace" #: admin/views/settings-info.php:134 msgid "Form validation is now done via PHP + AJAX in favour of only JS" -msgstr "" +msgstr "Validace formuláře nyní probíhá prostřednictvím PHP + AJAX a to ve prospěch pouze JS" #: admin/views/settings-info.php:138 msgid "Relationship Field" -msgstr "" +msgstr "Vztahová pole" #: admin/views/settings-info.php:139 msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" -msgstr "" +msgstr "Nastavení nových polí pro \"Filtry\" (vyhledávání, typ příspěvku, taxonomie)" #: admin/views/settings-info.php:145 msgid "Moving Fields" -msgstr "" +msgstr "Pohyblivá pole" #: admin/views/settings-info.php:146 msgid "New field group functionality allows you to move a field between groups & parents" -msgstr "" +msgstr "Nová funkčnost skupiny polí umožňuje přesouvání pole mezi skupinami a rodiči" #: admin/views/settings-info.php:150 fields/page_link.php:36 msgid "Page Link" @@ -1085,20 +1101,20 @@ msgstr "Odkaz stránky" #: admin/views/settings-info.php:151 msgid "New archives group in page_link field selection" -msgstr "" +msgstr "Nová skupina archivů v poli pro výběr page_link" #: admin/views/settings-info.php:155 msgid "Better Options Pages" -msgstr "" +msgstr "Vylepšená stránka nastavení" #: admin/views/settings-info.php:156 msgid "New functions for options page allow creation of both parent and child menu pages" -msgstr "" +msgstr "Nové funkce pro stránku nastavení umožňují vytvoření stránek obou rodičovských i podřízených menu" #: admin/views/settings-info.php:165 #, php-format msgid "We think you'll love the changes in %s." -msgstr "" +msgstr "Myslíme si, že změny v %s si zamilujete." #: admin/views/settings-tools-export.php:13 msgid "Export Field Groups to PHP" @@ -1111,14 +1127,18 @@ msgid "" "settings. Simply copy and paste the following code to your theme's functions.php file or include it " "within an external file." msgstr "" +"Následující kód lze použít k registraci lokální verze vybrané skupiny polí. Místní skupina polí může " +"poskytnout mnoho výhod, jako jsou rychlejší doby načítání, řízení verzí a dynamická pole / nastavení. " +"Jednoduše zkopírujte a vložte následující kód do souboru functions.php svého motivu nebo jej vložte do " +"externího souboru." #: admin/views/settings-tools.php:5 msgid "Select Field Groups" -msgstr "" +msgstr "Zvolit skupiny polí" #: admin/views/settings-tools.php:35 msgid "Export Field Groups" -msgstr "" +msgstr "Exportovat skupiny polí" #: admin/views/settings-tools.php:38 msgid "" @@ -1126,14 +1146,17 @@ msgid "" "button to export to a .json file which you can then import to another ACF installation. Use the " "generate button to export to PHP code which you can place in your theme." msgstr "" +"Vyberte skupiny polí, které chcete exportovat, a vyberte způsob exportu. Použijte tlačítko pro stažení " +"pro exportování do souboru .json, který pak můžete importovat do jiné instalace ACF. Pomocí tlačítka " +"generovat můžete exportovat do kódu PHP, který můžete umístit do vašeho tématu." #: admin/views/settings-tools.php:50 msgid "Download export file" -msgstr "" +msgstr "Stáhnout soubor s exportem" #: admin/views/settings-tools.php:51 msgid "Generate export code" -msgstr "" +msgstr "Generovat kód pro exportu" #: admin/views/settings-tools.php:64 msgid "Import Field Groups" @@ -1144,6 +1167,8 @@ msgid "" "Select the Advanced Custom Fields JSON file you would like to import. When you click the import button " "below, ACF will import the field groups." msgstr "" +"Vyberte Advanced Custom Fields JSON soubor, který chcete importovat. Po klepnutí na tlačítko importu " +"níže bude ACF importovat skupiny polí." #: admin/views/settings-tools.php:77 fields/file.php:46 msgid "Select File" @@ -1151,79 +1176,81 @@ msgstr "Vybrat soubor" #: admin/views/settings-tools.php:86 msgid "Import" -msgstr "" +msgstr "Importovat" #: admin/views/update-network.php:8 admin/views/update.php:8 msgid "Advanced Custom Fields Database Upgrade" -msgstr "" +msgstr "Aktualizace databáze Advanced Custom Fields" #: admin/views/update-network.php:10 msgid "" "The following sites require a DB upgrade. Check the ones you want to update and then click “Upgrade " "Database”." msgstr "" +"Následující weby vyžadují upgrade DB. Zkontrolujte ty, které chcete aktualizovat, a poté klikněte na " +"\"Upgradovat databázi\"." #: admin/views/update-network.php:19 admin/views/update-network.php:27 msgid "Site" -msgstr "" +msgstr "Stránky" #: admin/views/update-network.php:47 #, php-format msgid "Site requires database upgrade from %s to %s" -msgstr "" +msgstr "Stránky vyžadují aktualizaci databáze z %s na %s" #: admin/views/update-network.php:49 msgid "Site is up to date" -msgstr "" +msgstr "Stránky jsou aktuální" #: admin/views/update-network.php:62 admin/views/update.php:16 msgid "Database Upgrade complete. Return to network dashboard" -msgstr "" +msgstr "Aktualizace databáze je dokončena. Návrat na nástěnku sítě" #: admin/views/update-network.php:101 admin/views/update-notice.php:35 msgid "" "It is strongly recommended that you backup your database before proceeding. Are you sure you wish to " "run the updater now?" -msgstr "" +msgstr "Důrazně doporučujeme zálohovat databázi před pokračováním. Opravdu chcete aktualizaci spustit?" #: admin/views/update-network.php:157 msgid "Upgrade complete" -msgstr "" +msgstr "Aktualizace dokončena" #: admin/views/update-network.php:161 msgid "Upgrading data to" -msgstr "" +msgstr "Aktualizace dat na" #: admin/views/update-notice.php:23 msgid "Database Upgrade Required" -msgstr "" +msgstr "Vyžadován upgrade databáze" #: admin/views/update-notice.php:25 #, php-format msgid "Thank you for updating to %s v%s!" -msgstr "" +msgstr "Děkujeme vám za aktualizaci na %s v%s!" #: admin/views/update-notice.php:25 msgid "" "Before you start using the new awesome features, please update your database to the newest version." -msgstr "" +msgstr "Než začnete používat nové úžasné funkce, aktualizujte databázi na nejnovější verzi." #: admin/views/update.php:12 msgid "Reading upgrade tasks..." -msgstr "" +msgstr "Čtení úkolů aktualizace..." #: admin/views/update.php:14 #, php-format msgid "Upgrading data to version %s" -msgstr "" +msgstr "Aktualizace dat na verzi %s" #: admin/views/update.php:16 msgid "See what's new" -msgstr "" +msgstr "Podívejte se, co je nového" #: admin/views/update.php:110 msgid "No updates available." -msgstr "" +msgstr "K dispozici nejsou žádné aktualizace." #: api/api-helpers.php:821 msgid "Thumbnail" @@ -1239,54 +1266,54 @@ msgstr "Velký" #: api/api-helpers.php:871 msgid "Full Size" -msgstr "" +msgstr "Plná velikost" #: api/api-helpers.php:1581 msgid "(no title)" -msgstr "" +msgstr "(bez názvu)" #: api/api-helpers.php:3183 #, php-format msgid "Image width must be at least %dpx." -msgstr "" +msgstr "Šířka obrázku musí být alespoň %dpx." #: api/api-helpers.php:3188 #, php-format msgid "Image width must not exceed %dpx." -msgstr "" +msgstr "Šířka obrázku nesmí přesáhnout %dpx." #: api/api-helpers.php:3204 #, php-format msgid "Image height must be at least %dpx." -msgstr "" +msgstr "Výška obrázku musí být alespoň %dpx." #: api/api-helpers.php:3209 #, php-format msgid "Image height must not exceed %dpx." -msgstr "" +msgstr "Výška obrázku nesmí přesáhnout %dpx." #: api/api-helpers.php:3227 #, php-format msgid "File size must be at least %s." -msgstr "" +msgstr "Velikost souboru musí být alespoň %s." #: api/api-helpers.php:3232 #, php-format msgid "File size must must not exceed %s." -msgstr "" +msgstr "Velikost souboru nesmí přesáhnout %s." #: api/api-helpers.php:3266 #, php-format msgid "File type must be %s." -msgstr "" +msgstr "Typ souboru musí být %s." #: api/api-template.php:1289 pro/fields/gallery.php:564 msgid "Update" -msgstr "" +msgstr "Aktualizace" #: api/api-template.php:1290 msgid "Post updated" -msgstr "" +msgstr "Příspěvek aktualizován" #: core/field.php:131 msgid "Basic" @@ -1294,19 +1321,19 @@ msgstr "Základní" #: core/field.php:132 msgid "Content" -msgstr "" +msgstr "Obsah" #: core/field.php:133 msgid "Choice" -msgstr "" +msgstr "Volba" #: core/field.php:134 msgid "Relational" -msgstr "" +msgstr "Relační" #: core/field.php:135 msgid "jQuery" -msgstr "" +msgstr "jQuery" #: core/field.php:136 fields/checkbox.php:226 fields/radio.php:231 pro/fields/flexible-content.php:512 #: pro/fields/repeater.php:392 @@ -1315,37 +1342,37 @@ msgstr "Typ zobrazení" #: core/input.php:129 msgid "Expand Details" -msgstr "" +msgstr "Rozbalit podrobnosti" #: core/input.php:130 msgid "Collapse Details" -msgstr "" +msgstr "Sbalit podrobnosti" #: core/input.php:131 msgid "Validation successful" -msgstr "" +msgstr "Ověření úspěšné" #: core/input.php:132 msgid "Validation failed" -msgstr "" +msgstr "Ověření selhalo" #: core/input.php:133 msgid "1 field requires attention" -msgstr "" +msgstr "1 pole vyžaduje pozornost" #: core/input.php:134 #, php-format msgid "%d fields require attention" -msgstr "" +msgstr "Několik polí vyžaduje pozornost (%d)" #: core/input.php:135 msgid "Restricted" -msgstr "" +msgstr "Omezeno" #: core/input.php:533 #, php-format msgid "%s value is required" -msgstr "" +msgstr "%s hodnota je vyžadována" #: fields/checkbox.php:36 fields/taxonomy.php:752 msgid "Checkbox" @@ -1353,7 +1380,7 @@ msgstr "Zaškrtávátko" #: fields/checkbox.php:144 msgid "Toggle All" -msgstr "" +msgstr "Přepnout vše" #: fields/checkbox.php:208 fields/radio.php:193 fields/select.php:388 msgid "Choices" @@ -1361,11 +1388,11 @@ msgstr "Možnosti" #: fields/checkbox.php:209 fields/radio.php:194 fields/select.php:389 msgid "Enter each choice on a new line." -msgstr "" +msgstr "Zadejte každou volbu na nový řádek." #: fields/checkbox.php:209 fields/radio.php:194 fields/select.php:389 msgid "For more control, you may specify both a value and label like this:" -msgstr "" +msgstr "Pro větší kontrolu můžete zadat jak hodnotu, tak štítek:" #: fields/checkbox.php:209 fields/radio.php:194 fields/select.php:389 msgid "red : Red" @@ -1379,7 +1406,7 @@ msgstr "Výchozí hodnota" #: fields/checkbox.php:218 fields/select.php:398 msgid "Enter each default value on a new line" -msgstr "" +msgstr "Zadejte každou výchozí hodnotu na nový řádek" #: fields/checkbox.php:232 fields/radio.php:237 msgid "Vertical" @@ -1391,11 +1418,11 @@ msgstr "Horizontální" #: fields/checkbox.php:240 msgid "Toggle" -msgstr "" +msgstr "Přepnout" #: fields/checkbox.php:241 msgid "Prepend an extra checkbox to toggle all choices" -msgstr "" +msgstr "Přidat zaškrtávátko navíc pro přepnutí všech možností" #: fields/color_picker.php:36 msgid "Color Picker" @@ -1403,15 +1430,15 @@ msgstr "Výběr barvy" #: fields/color_picker.php:94 msgid "Clear" -msgstr "" +msgstr "Vymazat" #: fields/color_picker.php:95 msgid "Default" -msgstr "" +msgstr "Výchozí nastavení" #: fields/color_picker.php:96 msgid "Select Color" -msgstr "" +msgstr "Výběr barvy" #: fields/date_picker.php:36 msgid "Date Picker" @@ -1419,70 +1446,70 @@ msgstr "Výběr data" #: fields/date_picker.php:72 msgid "Done" -msgstr "" +msgstr "Hotovo" #: fields/date_picker.php:73 msgid "Today" -msgstr "" +msgstr "Dnes" #: fields/date_picker.php:76 msgid "Show a different month" -msgstr "" +msgstr "Zobrazit jiný měsíc" #: fields/date_picker.php:149 msgid "Display Format" -msgstr "" +msgstr "Formát zobrazení" #: fields/date_picker.php:150 msgid "The format displayed when editing a post" -msgstr "" +msgstr "Formát zobrazený při úpravě příspěvku" #: fields/date_picker.php:164 msgid "Return format" -msgstr "" +msgstr "Formát návratu" #: fields/date_picker.php:165 msgid "The format returned via template functions" -msgstr "" +msgstr "Formát vrácen pomocí funkcí šablony" #: fields/date_picker.php:180 msgid "Week Starts On" -msgstr "" +msgstr "Týden začíná" #: fields/email.php:36 msgid "Email" -msgstr "" +msgstr "Email" #: fields/email.php:125 fields/number.php:151 fields/radio.php:223 fields/text.php:149 #: fields/textarea.php:146 fields/url.php:118 fields/wysiwyg.php:346 msgid "Appears when creating a new post" -msgstr "" +msgstr "Objeví se při vytváření nového příspěvku" #: fields/email.php:133 fields/number.php:159 fields/password.php:137 fields/text.php:157 #: fields/textarea.php:154 fields/url.php:126 msgid "Placeholder Text" -msgstr "" +msgstr "Zástupný text" #: fields/email.php:134 fields/number.php:160 fields/password.php:138 fields/text.php:158 #: fields/textarea.php:155 fields/url.php:127 msgid "Appears within the input" -msgstr "" +msgstr "Zobrazí se v inputu" #: fields/email.php:142 fields/number.php:168 fields/password.php:146 fields/text.php:166 msgid "Prepend" -msgstr "" +msgstr "Zobrazit před" #: fields/email.php:143 fields/number.php:169 fields/password.php:147 fields/text.php:167 msgid "Appears before the input" -msgstr "" +msgstr "Zobrazí se před inputem" #: fields/email.php:151 fields/number.php:177 fields/password.php:155 fields/text.php:175 msgid "Append" -msgstr "" +msgstr "Zobrazit po" #: fields/email.php:152 fields/number.php:178 fields/password.php:156 fields/text.php:176 msgid "Appears after the input" -msgstr "" +msgstr "Zobrazí se za inputem" #: fields/file.php:36 msgid "File" @@ -1498,19 +1525,19 @@ msgstr "Aktualizovat soubor" #: fields/file.php:49 pro/fields/gallery.php:55 msgid "uploaded to this post" -msgstr "" +msgstr "nahrán k tomuto příspěvku" #: fields/file.php:142 msgid "File Name" -msgstr "" +msgstr "Jméno souboru" #: fields/file.php:146 msgid "File Size" -msgstr "" +msgstr "Velikost souboru" #: fields/file.php:169 msgid "No File selected" -msgstr "" +msgstr "Nebyl vybrán žádný soubor" #: fields/file.php:169 msgid "Add File" @@ -1522,11 +1549,11 @@ msgstr "Vrátit hodnotu" #: fields/file.php:215 fields/image.php:196 msgid "Specify the returned value on front end" -msgstr "" +msgstr "Zadat konkrétní návratovou hodnotu na frontendu" #: fields/file.php:220 msgid "File Array" -msgstr "" +msgstr "Pole souboru" #: fields/file.php:221 msgid "File URL" @@ -1534,93 +1561,93 @@ msgstr "Adresa souboru" #: fields/file.php:222 msgid "File ID" -msgstr "" +msgstr "ID souboru" #: fields/file.php:229 fields/image.php:220 pro/fields/gallery.php:647 msgid "Library" -msgstr "" +msgstr "Knihovna" #: fields/file.php:230 fields/image.php:221 pro/fields/gallery.php:648 msgid "Limit the media library choice" -msgstr "" +msgstr "Omezit výběr knihovny médií" #: fields/file.php:236 fields/image.php:227 pro/fields/gallery.php:654 msgid "Uploaded to post" -msgstr "" +msgstr "Nahráno k příspěvku" #: fields/file.php:243 fields/image.php:234 pro/fields/gallery.php:661 msgid "Minimum" -msgstr "" +msgstr "Minimum" #: fields/file.php:244 fields/file.php:255 msgid "Restrict which files can be uploaded" -msgstr "" +msgstr "Omezte, které typy souborů lze nahrát" #: fields/file.php:247 fields/file.php:258 fields/image.php:257 fields/image.php:290 #: pro/fields/gallery.php:684 pro/fields/gallery.php:717 msgid "File size" -msgstr "" +msgstr "Velikost souboru" #: fields/file.php:254 fields/image.php:267 pro/fields/gallery.php:694 msgid "Maximum" -msgstr "" +msgstr "Maximum" #: fields/file.php:265 fields/image.php:300 pro/fields/gallery.php:727 msgid "Allowed file types" -msgstr "" +msgstr "Povolené typy souborů" #: fields/file.php:266 fields/image.php:301 pro/fields/gallery.php:728 msgid "Comma separated list. Leave blank for all types" -msgstr "" +msgstr "Seznam oddělený čárkami. Nechte prázdné pro povolení všech typů" #: fields/google-map.php:36 msgid "Google Map" -msgstr "" +msgstr "Mapa Google" #: fields/google-map.php:51 msgid "Locating" -msgstr "" +msgstr "Určování polohy" #: fields/google-map.php:52 msgid "Sorry, this browser does not support geolocation" -msgstr "" +msgstr "Je nám líto, ale tento prohlížeč nepodporuje geolokaci" #: fields/google-map.php:135 msgid "Clear location" -msgstr "" +msgstr "Vymazat polohu" #: fields/google-map.php:140 msgid "Find current location" -msgstr "" +msgstr "Najít aktuální umístění" #: fields/google-map.php:141 msgid "Search for address..." -msgstr "" +msgstr "Vyhledat adresu..." #: fields/google-map.php:173 fields/google-map.php:184 msgid "Center" -msgstr "" +msgstr "Vycentrovat" #: fields/google-map.php:174 fields/google-map.php:185 msgid "Center the initial map" -msgstr "" +msgstr "Vycentrovat počáteční zobrazení mapy" #: fields/google-map.php:198 msgid "Zoom" -msgstr "" +msgstr "Přiblížení" #: fields/google-map.php:199 msgid "Set the initial zoom level" -msgstr "" +msgstr "Nastavit počáteční úroveň přiblížení" #: fields/google-map.php:208 fields/image.php:246 fields/image.php:279 fields/oembed.php:262 #: pro/fields/gallery.php:673 pro/fields/gallery.php:706 msgid "Height" -msgstr "" +msgstr "Výška" #: fields/google-map.php:209 msgid "Customise the map height" -msgstr "" +msgstr "Upravit výšku mapy" #: fields/image.php:36 msgid "Image" @@ -1640,11 +1667,11 @@ msgstr "Aktualizovat obrázek" #: fields/image.php:54 msgid "Uploaded to this post" -msgstr "" +msgstr "Nahrán k tomuto příspěvku" #: fields/image.php:55 msgid "All images" -msgstr "" +msgstr "Všechny obrázky" #: fields/image.php:147 msgid "No image selected" @@ -1656,7 +1683,7 @@ msgstr "Přidat obrázek" #: fields/image.php:201 msgid "Image Array" -msgstr "" +msgstr "Pole obrázku" #: fields/image.php:202 msgid "Image URL" @@ -1672,16 +1699,16 @@ msgstr "Velikost náhledu" #: fields/image.php:211 pro/fields/gallery.php:638 msgid "Shown when entering data" -msgstr "" +msgstr "Zobrazit při zadávání dat" #: fields/image.php:235 fields/image.php:268 pro/fields/gallery.php:662 pro/fields/gallery.php:695 msgid "Restrict which images can be uploaded" -msgstr "" +msgstr "Omezte, které typy obrázků je možné nahrát" #: fields/image.php:238 fields/image.php:271 fields/oembed.php:251 pro/fields/gallery.php:665 #: pro/fields/gallery.php:698 msgid "Width" -msgstr "" +msgstr "Šířka" #: fields/message.php:36 fields/message.php:103 fields/true_false.php:106 msgid "Message" @@ -1689,81 +1716,81 @@ msgstr "Zpráva" #: fields/message.php:104 msgid "Please note that all text will first be passed through the wp function " -msgstr "" +msgstr "Berte prosím na vědomí, že veškerý text musí projít přes funkce wordpressu " #: fields/message.php:112 msgid "Escape HTML" -msgstr "" +msgstr "Escapovat HTML" #: fields/message.php:113 msgid "Allow HTML markup to display as visible text instead of rendering" -msgstr "" +msgstr "Nevykreslovat efekt, ale zobrazit značky HTML jako prostý text" #: fields/number.php:36 msgid "Number" -msgstr "" +msgstr "Číslo" #: fields/number.php:186 msgid "Minimum Value" -msgstr "" +msgstr "Minimální hodnota" #: fields/number.php:195 msgid "Maximum Value" -msgstr "" +msgstr "Maximální hodnota" #: fields/number.php:204 msgid "Step Size" -msgstr "" +msgstr "Velikost kroku" #: fields/number.php:242 msgid "Value must be a number" -msgstr "" +msgstr "Hodnota musí být číslo" #: fields/number.php:260 #, php-format msgid "Value must be equal to or higher than %d" -msgstr "" +msgstr "Hodnota musí být rovna nebo větší než %d" #: fields/number.php:268 #, php-format msgid "Value must be equal to or lower than %d" -msgstr "" +msgstr "Hodnota musí být rovna nebo menší než %d" #: fields/oembed.php:36 msgid "oEmbed" -msgstr "" +msgstr "oEmbed" #: fields/oembed.php:199 msgid "Enter URL" -msgstr "" +msgstr "Vložte URL" #: fields/oembed.php:212 msgid "No embed found for the given URL." -msgstr "" +msgstr "Pro danou adresu URL nebyl nalezen žádný embed." #: fields/oembed.php:248 fields/oembed.php:259 msgid "Embed Size" -msgstr "" +msgstr "Velikost pro Embed" #: fields/page_link.php:206 msgid "Archives" -msgstr "" +msgstr "Archivy" #: fields/page_link.php:535 fields/post_object.php:401 fields/relationship.php:690 msgid "Filter by Post Type" -msgstr "" +msgstr "Filtrovat dle typu příspěvku" #: fields/page_link.php:543 fields/post_object.php:409 fields/relationship.php:698 msgid "All post types" -msgstr "" +msgstr "Všechny typy příspěvků" #: fields/page_link.php:549 fields/post_object.php:415 fields/relationship.php:704 msgid "Filter by Taxonomy" -msgstr "" +msgstr "Filtrovat dle taxonomie" #: fields/page_link.php:557 fields/post_object.php:423 fields/relationship.php:712 msgid "All taxonomies" -msgstr "" +msgstr "Všechny taxonomie" #: fields/page_link.php:563 fields/post_object.php:429 fields/select.php:406 fields/taxonomy.php:765 #: fields/user.php:452 @@ -1776,7 +1803,7 @@ msgstr "Vybrat více hodnot?" #: fields/password.php:36 msgid "Password" -msgstr "" +msgstr "Heslo" #: fields/post_object.php:36 fields/post_object.php:462 fields/relationship.php:769 msgid "Post Object" @@ -1784,11 +1811,11 @@ msgstr "Objekt příspěvku" #: fields/post_object.php:457 fields/relationship.php:764 msgid "Return Format" -msgstr "" +msgstr "Formát návratové hodnoty" #: fields/post_object.php:463 fields/relationship.php:770 msgid "Post ID" -msgstr "" +msgstr "ID příspěvku" #: fields/radio.php:36 msgid "Radio Button" @@ -1800,15 +1827,15 @@ msgstr "Jiné" #: fields/radio.php:206 msgid "Add 'other' choice to allow for custom values" -msgstr "" +msgstr "Přidat volbu 'jiné', která umožňuje vlastní hodnoty" #: fields/radio.php:212 msgid "Save Other" -msgstr "" +msgstr "Uložit Jiné" #: fields/radio.php:216 msgid "Save 'other' values to the field's choices" -msgstr "" +msgstr "Uložit 'jiné' hodnoty do voleb polí" #: fields/relationship.php:36 msgid "Relationship" @@ -1816,7 +1843,7 @@ msgstr "Vztah" #: fields/relationship.php:48 msgid "Minimum values reached ( {min} values )" -msgstr "" +msgstr "Dosaženo minimálního množství hodnot ( {min} hodnot )" #: fields/relationship.php:49 msgid "Maximum values reached ( {max} values )" @@ -1824,23 +1851,23 @@ msgstr "Dosaženo maximálního množství hodnot ( {max} hodnot )" #: fields/relationship.php:50 msgid "Loading" -msgstr "" +msgstr "Načítání" #: fields/relationship.php:51 msgid "No matches found" -msgstr "" +msgstr "Nebyly nalezeny žádné výsledky" #: fields/relationship.php:571 msgid "Search..." -msgstr "" +msgstr "Hledat..." #: fields/relationship.php:580 msgid "Select post type" -msgstr "" +msgstr "Zvolit typ příspěvku" #: fields/relationship.php:593 msgid "Select taxonomy" -msgstr "" +msgstr "Zvolit taxonomii" #: fields/relationship.php:723 msgid "Search" @@ -1848,19 +1875,19 @@ msgstr "Hledat" #: fields/relationship.php:725 fields/taxonomy.php:36 fields/taxonomy.php:735 msgid "Taxonomy" -msgstr "" +msgstr "Taxonomie" #: fields/relationship.php:732 msgid "Elements" -msgstr "" +msgstr "Prvky" #: fields/relationship.php:733 msgid "Selected elements will be displayed in each result" -msgstr "" +msgstr "Vybrané prvky se zobrazí v každém výsledku" #: fields/relationship.php:744 msgid "Minimum posts" -msgstr "" +msgstr "Minimum příspěvků" #: fields/relationship.php:753 msgid "Maximum posts" @@ -1872,52 +1899,56 @@ msgstr "Vybrat" #: fields/select.php:434 msgid "Stylised UI" -msgstr "" +msgstr "Stylizované uživatelské rozhraní" #: fields/select.php:448 msgid "Use AJAX to lazy load choices?" -msgstr "" +msgstr "K načtení volby použít AJAX lazy load?" #: fields/tab.php:36 msgid "Tab" -msgstr "" +msgstr "Záložka" #: fields/tab.php:128 msgid "Warning" -msgstr "" +msgstr "Varování" #: fields/tab.php:133 msgid "" "The tab field will display incorrectly when added to a Table style repeater field or flexible content " "field layout" msgstr "" +"Pole záložky se zobrazí nesprávně, pokud je přidáno do opakovače v tabulkovém stylu nebo do " +"flexibilního pole" #: fields/tab.php:146 msgid "Use \"Tab Fields\" to better organize your edit screen by grouping fields together." -msgstr "" +msgstr "Chcete-li lépe uspořádat obrazovku úprav, použijte seskupování polí pomocí Záložek." #: fields/tab.php:148 msgid "" "All fields following this \"tab field\" (or until another \"tab field\" is defined) will be grouped " "together using this field's label as the tab heading." msgstr "" +"Všechna pole následující po této záložce (až po další záložku nebo konec výpisu) budou seskupena a jako " +"nadpis bude použit štítek záložky." #: fields/tab.php:155 msgid "Placement" -msgstr "" +msgstr "Umístění" #: fields/tab.php:167 msgid "End-point" -msgstr "" +msgstr "Koncový bod" #: fields/tab.php:168 msgid "Use this field as an end-point and start a new group of tabs" -msgstr "" +msgstr "Použít toto pole jako koncový bod a začít novou skupinu záložek" #: fields/taxonomy.php:565 #, php-format msgid "Add new %s " -msgstr "" +msgstr "Přidat novou %s " #: fields/taxonomy.php:704 msgid "None" @@ -1925,82 +1956,82 @@ msgstr "Žádný" #: fields/taxonomy.php:736 msgid "Select the taxonomy to be displayed" -msgstr "" +msgstr "Zvolit zobrazovanou taxonomii" #: fields/taxonomy.php:745 msgid "Appearance" -msgstr "" +msgstr "Vzhled" #: fields/taxonomy.php:746 msgid "Select the appearance of this field" -msgstr "" +msgstr "Vyberte vzhled tohoto pole" #: fields/taxonomy.php:751 msgid "Multiple Values" -msgstr "" +msgstr "Více hodnot" #: fields/taxonomy.php:753 msgid "Multi Select" -msgstr "" +msgstr "Vícenásobný výběr" #: fields/taxonomy.php:755 msgid "Single Value" -msgstr "" +msgstr "Jednotlivá hodnota" #: fields/taxonomy.php:756 msgid "Radio Buttons" -msgstr "" +msgstr "Radio přepínače" #: fields/taxonomy.php:779 msgid "Create Terms" -msgstr "" +msgstr "Vytvořit pojmy" #: fields/taxonomy.php:780 msgid "Allow new terms to be created whilst editing" -msgstr "" +msgstr "Povolit vytvoření nových pojmů během editace" #: fields/taxonomy.php:793 msgid "Save Terms" -msgstr "" +msgstr "Uložit pojmy" #: fields/taxonomy.php:794 msgid "Connect selected terms to the post" -msgstr "" +msgstr "Připojte vybrané pojmy k příspěvku" #: fields/taxonomy.php:807 msgid "Load Terms" -msgstr "" +msgstr "Nahrát pojmy" #: fields/taxonomy.php:808 msgid "Load value from posts terms" -msgstr "" +msgstr "Nahrát pojmy z příspěvků" #: fields/taxonomy.php:826 msgid "Term Object" -msgstr "" +msgstr "Objekt pojmu" #: fields/taxonomy.php:827 msgid "Term ID" -msgstr "" +msgstr "ID pojmu" #: fields/taxonomy.php:886 #, php-format msgid "User unable to add new %s" -msgstr "" +msgstr "Uživatel není schopen přidat nové %s" #: fields/taxonomy.php:899 #, php-format msgid "%s already exists" -msgstr "" +msgstr "%s již existuje" #: fields/taxonomy.php:940 #, php-format msgid "%s added" -msgstr "" +msgstr "%s přidán" #: fields/taxonomy.php:985 msgid "Add" -msgstr "" +msgstr "Přidat" #: fields/text.php:36 msgid "Text" @@ -2008,43 +2039,43 @@ msgstr "Text" #: fields/text.php:184 fields/textarea.php:163 msgid "Character Limit" -msgstr "" +msgstr "Limit znaků" #: fields/text.php:185 fields/textarea.php:164 msgid "Leave blank for no limit" -msgstr "" +msgstr "Nechte prázdné pro nastavení bez omezení" #: fields/textarea.php:36 msgid "Text Area" -msgstr "Textová oblast" +msgstr "Textové pole" #: fields/textarea.php:172 msgid "Rows" -msgstr "" +msgstr "Řádky" #: fields/textarea.php:173 msgid "Sets the textarea height" -msgstr "" +msgstr "Nastavuje výšku textového pole" #: fields/textarea.php:182 msgid "New Lines" -msgstr "" +msgstr "Nové řádky" #: fields/textarea.php:183 msgid "Controls how new lines are rendered" -msgstr "" +msgstr "Řídí, jak se vykreslují nové řádky" #: fields/textarea.php:187 msgid "Automatically add paragraphs" -msgstr "" +msgstr "Automaticky přidávat odstavce" #: fields/textarea.php:188 msgid "Automatically add <br>" -msgstr "" +msgstr "Automaticky přidávat <br>" #: fields/textarea.php:189 msgid "No Formatting" -msgstr "" +msgstr "Žádné formátování" #: fields/true_false.php:36 msgid "True / False" @@ -2056,19 +2087,19 @@ msgstr "např. Zobrazit dodatečný obsah" #: fields/url.php:36 msgid "Url" -msgstr "" +msgstr "Adresa URL" #: fields/url.php:160 msgid "Value must be a valid URL" -msgstr "" +msgstr "Hodnota musí být validní adresa URL" #: fields/user.php:437 msgid "Filter by role" -msgstr "" +msgstr "Filtrovat podle role" #: fields/user.php:445 msgid "All user roles" -msgstr "" +msgstr "Všechny uživatelské role" #: fields/wysiwyg.php:37 msgid "Wysiwyg Editor" @@ -2076,28 +2107,28 @@ msgstr "Wysiwyg Editor" #: fields/wysiwyg.php:297 msgid "Visual" -msgstr "" +msgstr "Grafika" #: fields/wysiwyg.php:298 msgctxt "Name for the Text editor tab (formerly HTML)" msgid "Text" -msgstr "" +msgstr "Text" #: fields/wysiwyg.php:354 msgid "Tabs" -msgstr "" +msgstr "Záložky" #: fields/wysiwyg.php:359 msgid "Visual & Text" -msgstr "" +msgstr "Grafika a text" #: fields/wysiwyg.php:360 msgid "Visual Only" -msgstr "" +msgstr "Pouze grafika" #: fields/wysiwyg.php:361 msgid "Text Only" -msgstr "" +msgstr "Pouze text" #: fields/wysiwyg.php:368 msgid "Toolbar" @@ -2109,15 +2140,15 @@ msgstr "Zobrazit tlačítka nahrávání médií?" #: forms/post.php:297 pro/admin/options-page.php:373 msgid "Edit field group" -msgstr "" +msgstr "Editovat skupinu polí" #: pro/acf-pro.php:24 msgid "Advanced Custom Fields PRO" -msgstr "" +msgstr "Advanced Custom Fields PRO" #: pro/acf-pro.php:175 msgid "Flexible Content requires at least 1 layout" -msgstr "" +msgstr "Flexibilní obsah vyžaduje minimálně jedno rozložení obsahu" #: pro/admin/options-page.php:48 msgid "Options Page" @@ -2125,7 +2156,7 @@ msgstr "Stránka konfigurace" #: pro/admin/options-page.php:83 msgid "No options pages exist" -msgstr "" +msgstr "Neexistuje stránka nastavení" #: pro/admin/options-page.php:298 msgid "Options Updated" @@ -2133,15 +2164,15 @@ msgstr "Nastavení aktualizováno" #: pro/admin/options-page.php:304 msgid "No Custom Field Groups found for this options page. Create a Custom Field Group" -msgstr "" +msgstr "Nebyly nalezeny žádné vlastní skupiny polí. Vytvořit vlastní skupinu polí" #: pro/admin/settings-updates.php:137 msgid "Error. Could not connect to update server" -msgstr "" +msgstr "Chyba. Nelze se připojit k serveru a aktualizovat" #: pro/admin/settings-updates.php:267 pro/admin/settings-updates.php:338 msgid "Connection Error. Sorry, please try again" -msgstr "" +msgstr "Chyba připojení. Omlouváme se, zkuste to znovu" #: pro/admin/views/options-page.php:48 msgid "Publish" @@ -2153,60 +2184,62 @@ msgstr "Uložit nastavení" #: pro/admin/views/settings-updates.php:11 msgid "Deactivate License" -msgstr "" +msgstr "Deaktivujte licenci" #: pro/admin/views/settings-updates.php:11 msgid "Activate License" -msgstr "" +msgstr "Aktivujte licenci" #: pro/admin/views/settings-updates.php:21 msgid "License" -msgstr "" +msgstr "Licence" #: pro/admin/views/settings-updates.php:24 msgid "" "To unlock updates, please enter your license key below. If you don't have a licence key, please see" msgstr "" +"Pro odemčení aktualizací prosím zadejte níže svůj licenční klíč. Pokud nemáte licenční klíč, prosím " +"navštivte" #: pro/admin/views/settings-updates.php:24 msgid "details & pricing" -msgstr "" +msgstr "detaily a ceny" #: pro/admin/views/settings-updates.php:33 msgid "License Key" -msgstr "" +msgstr "Licenční klíč" #: pro/admin/views/settings-updates.php:65 msgid "Update Information" -msgstr "" +msgstr "Aktualizovat informace" #: pro/admin/views/settings-updates.php:72 msgid "Current Version" -msgstr "" +msgstr "Současná verze" #: pro/admin/views/settings-updates.php:80 msgid "Latest Version" -msgstr "" +msgstr "Nejnovější verze" #: pro/admin/views/settings-updates.php:88 msgid "Update Available" -msgstr "" +msgstr "Aktualizace je dostupná" #: pro/admin/views/settings-updates.php:96 msgid "Update Plugin" -msgstr "" +msgstr "Aktualizovat plugin" #: pro/admin/views/settings-updates.php:98 msgid "Please enter your license key above to unlock updates" -msgstr "" +msgstr "Pro odemčení aktualizací zadejte prosím výše svůj licenční klíč" #: pro/admin/views/settings-updates.php:104 msgid "Check Again" -msgstr "" +msgstr "Zkontrolujte znovu" #: pro/admin/views/settings-updates.php:121 msgid "Upgrade Notice" -msgstr "" +msgstr "Upozornění na aktualizaci" #: pro/api/api-options-page.php:22 pro/api/api-options-page.php:23 msgid "Options" @@ -2218,6 +2251,8 @@ msgid "" "To enable updates, please enter your license key on the Updates page. If you don't " "have a licence key, please see details & pricing" msgstr "" +"Chcete-li povolit aktualizace, zadejte prosím licenční klíč na stránce Aktualizace. " +"Pokud nemáte licenční klíč, přečtěte si podrobnosti a ceny" #: pro/fields/flexible-content.php:36 msgid "Flexible Content" @@ -2229,56 +2264,56 @@ msgstr "Přidat řádek" #: pro/fields/flexible-content.php:45 msgid "layout" -msgstr "" +msgstr "typ zobrazení" #: pro/fields/flexible-content.php:46 msgid "layouts" -msgstr "" +msgstr "typy zobrazení" #: pro/fields/flexible-content.php:47 msgid "remove {layout}?" -msgstr "" +msgstr "odstranit {layout}?" #: pro/fields/flexible-content.php:48 msgid "This field requires at least {min} {identifier}" -msgstr "" +msgstr "Toto pole vyžaduje alespoň {min} {identifier}" #: pro/fields/flexible-content.php:49 msgid "This field has a limit of {max} {identifier}" -msgstr "" +msgstr "Toto pole má limit {max} {identifier}" #: pro/fields/flexible-content.php:50 msgid "This field requires at least {min} {label} {identifier}" -msgstr "" +msgstr "Toto pole vyžaduje alespoň {min} {label} {identifier}" #: pro/fields/flexible-content.php:51 msgid "Maximum {label} limit reached ({max} {identifier})" -msgstr "" +msgstr "Maximální {label} limit dosažen ({max} {identifier})" #: pro/fields/flexible-content.php:52 msgid "{available} {label} {identifier} available (max {max})" -msgstr "" +msgstr "{available} {label} {identifier} dostupný (max {max})" #: pro/fields/flexible-content.php:53 msgid "{required} {label} {identifier} required (min {min})" -msgstr "" +msgstr "{required} {label} {identifier} povinný (min {min})" #: pro/fields/flexible-content.php:211 #, php-format msgid "Click the \"%s\" button below to start creating your layout" -msgstr "" +msgstr "Klikněte na tlačítko \"%s\" níže pro vytvoření vlastního typu zobrazení" #: pro/fields/flexible-content.php:369 msgid "Add layout" -msgstr "" +msgstr "Přidat typ zobrazení" #: pro/fields/flexible-content.php:372 msgid "Remove layout" -msgstr "" +msgstr "Odstranit typ zobrazení" #: pro/fields/flexible-content.php:514 msgid "Reorder Layout" -msgstr "Změnit pořadí typů zobrazení" +msgstr "Změnit pořadí typu zobrazení" #: pro/fields/flexible-content.php:514 msgid "Reorder" @@ -2290,7 +2325,7 @@ msgstr "Smazat typ zobrazení" #: pro/fields/flexible-content.php:516 msgid "Duplicate Layout" -msgstr "" +msgstr "Duplikovat typ zobrazení" #: pro/fields/flexible-content.php:517 msgid "Add New Layout" @@ -2306,7 +2341,7 @@ msgstr "Tabulka" #: pro/fields/flexible-content.php:573 pro/fields/repeater.php:400 msgid "Block" -msgstr "" +msgstr "Blok" #: pro/fields/flexible-content.php:574 pro/fields/repeater.php:401 msgid "Row" @@ -2314,11 +2349,11 @@ msgstr "Řádek" #: pro/fields/flexible-content.php:589 msgid "Min" -msgstr "" +msgstr "Min" #: pro/fields/flexible-content.php:602 msgid "Max" -msgstr "" +msgstr "Max" #: pro/fields/flexible-content.php:630 pro/fields/repeater.php:408 msgid "Button Label" @@ -2326,11 +2361,11 @@ msgstr "Nápis tlačítka" #: pro/fields/flexible-content.php:639 msgid "Minimum Layouts" -msgstr "" +msgstr "Minimální rozložení" #: pro/fields/flexible-content.php:648 msgid "Maximum Layouts" -msgstr "" +msgstr "Maximální rozložení" #: pro/fields/gallery.php:36 msgid "Gallery" @@ -2342,11 +2377,11 @@ msgstr "Přidat obrázek do galerie" #: pro/fields/gallery.php:56 msgid "Maximum selection reached" -msgstr "" +msgstr "Maximální výběr dosažen" #: pro/fields/gallery.php:335 msgid "Length" -msgstr "" +msgstr "Délka" #: pro/fields/gallery.php:355 msgid "Remove" @@ -2354,47 +2389,47 @@ msgstr "Odstranit" #: pro/fields/gallery.php:535 msgid "Add to gallery" -msgstr "" +msgstr "Přidat do galerie" #: pro/fields/gallery.php:539 msgid "Bulk actions" -msgstr "" +msgstr "Hromadné akce" #: pro/fields/gallery.php:540 msgid "Sort by date uploaded" -msgstr "" +msgstr "Řadit dle data nahrání" #: pro/fields/gallery.php:541 msgid "Sort by date modified" -msgstr "" +msgstr "Řadit dle data změny" #: pro/fields/gallery.php:542 msgid "Sort by title" -msgstr "" +msgstr "Řadit dle názvu" #: pro/fields/gallery.php:543 msgid "Reverse current order" -msgstr "" +msgstr "Převrátit aktuální pořadí" #: pro/fields/gallery.php:561 msgid "Close" -msgstr "" +msgstr "Zavřít" #: pro/fields/gallery.php:619 msgid "Minimum Selection" -msgstr "" +msgstr "Minimální výběr" #: pro/fields/gallery.php:628 msgid "Maximum Selection" -msgstr "" +msgstr "Maximální výběr" #: pro/fields/gallery.php:809 #, php-format msgid "%s requires at least %s selection" msgid_plural "%s requires at least %s selections" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "%s vyžaduje alespoň %s volbu" +msgstr[1] "%s vyžaduje alespoň %s volby" +msgstr[2] "%s vyžaduje alespoň %s voleb" #: pro/fields/repeater.php:36 msgid "Repeater" @@ -2402,27 +2437,27 @@ msgstr "Opakovač" #: pro/fields/repeater.php:46 msgid "Minimum rows reached ({min} rows)" -msgstr "" +msgstr "Minimální počet řádků dosažen ({min} řádků)" #: pro/fields/repeater.php:47 msgid "Maximum rows reached ({max} rows)" -msgstr "" +msgstr "Maximální počet řádků dosažen ({max} řádků)" #: pro/fields/repeater.php:259 msgid "Drag to reorder" -msgstr "" +msgstr "Přetažením změníte pořadí" #: pro/fields/repeater.php:301 msgid "Add row" -msgstr "" +msgstr "Přidat řádek" #: pro/fields/repeater.php:302 msgid "Remove row" -msgstr "" +msgstr "Odebrat řádek" #: pro/fields/repeater.php:350 msgid "Sub Fields" -msgstr "" +msgstr "Podřazená pole" #: pro/fields/repeater.php:372 msgid "Minimum Rows" @@ -2434,23 +2469,23 @@ msgstr "Maximum řádků" #. Plugin Name of the plugin/theme msgid "Advanced Custom Fields Pro" -msgstr "" +msgstr "Advanced Custom Fields PRO" #. Plugin URI of the plugin/theme msgid "http://www.advancedcustomfields.com/" -msgstr "" +msgstr "http://www.advancedcustomfields.com/" #. Description of the plugin/theme msgid "Customise WordPress with powerful, professional and intuitive fields." -msgstr "" +msgstr "Upravte si WordPress pomocí výkonných, profesionálních a intuitivně použitelných polí." #. Author of the plugin/theme msgid "elliot condon" -msgstr "" +msgstr "elliot condon" #. Author URI of the plugin/theme msgid "http://www.elliotcondon.com/" -msgstr "" +msgstr "http://www.elliotcondon.com/" #~ msgid "Custom field updated." #~ msgstr "Vlastní pole aktualizováno." @@ -2525,7 +2560,7 @@ msgstr "" #~ msgstr "Opakovací pole deaktivováno" #~ msgid "Options page deactivated" -#~ msgstr "Stránka konfigurace deaktivována" +#~ msgstr "Stránka konfigurace deaktivována" #~ msgid "Flexible Content field deactivated" #~ msgstr "Pole flexibilního pole deaktivováno" @@ -2593,7 +2628,7 @@ msgstr "" #~ "užitečné pro přesouvání skupin polí mezi WP weby." #~ msgid "Select field group(s) from the list and click \"Export XML\"" -#~ msgstr "Vyberte skupinu(y) polí ze seznamu a klikněte na \"Export XML\"" +#~ msgstr "Vyberte skupinu(y) polí ze seznamu a klikněte na \"Export XML\"" #~ msgid "Save the .xml file when prompted" #~ msgstr "Uložte .xml soubor při požádání" @@ -2871,7 +2906,7 @@ msgstr "" #~ msgstr "Specifická stránka" #~ msgid "Post Specific" -#~ msgstr "Specfický příspěvek" +#~ msgstr "Specifický příspěvek" #~ msgid "Taxonomy (Add / Edit)" #~ msgstr "Taxonomie (přidat / upravit)" @@ -2908,7 +2943,7 @@ msgstr "" #~ "(the one with the lowest order number)" #~ msgstr "" #~ "Pokud se na obrazovce úprav objeví několik skupin polí, bude použito nastavení první skupiny. (s " -#~ "nejžším pořadovým číslem)" +#~ "nejnižším pořadovým číslem)" #~ msgid "Everything Fields deactivated" #~ msgstr "Všechna pole deaktivována" diff --git a/lang/acf-pl_PL.mo b/lang/acf-pl_PL.mo index 758834e..b563e3e 100644 Binary files a/lang/acf-pl_PL.mo and b/lang/acf-pl_PL.mo differ diff --git a/lang/acf-pl_PL.po b/lang/acf-pl_PL.po index 85431ad..c6c1994 100644 --- a/lang/acf-pl_PL.po +++ b/lang/acf-pl_PL.po @@ -2,15 +2,15 @@ msgid "" msgstr "" "Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" -"POT-Creation-Date: 2018-07-26 18:20+1000\n" -"PO-Revision-Date: 2018-09-07 10:36+1000\n" +"POT-Creation-Date: 2018-09-06 12:21+1000\n" +"PO-Revision-Date: 2018-10-01 21:47+0200\n" "Last-Translator: Elliot Condon \n" "Language-Team: Dariusz Zielonka \n" "Language: pl_PL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.1\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" @@ -27,92 +27,91 @@ msgstr "" msgid "Advanced Custom Fields" msgstr "Advanced Custom Fields" -#: acf.php:387 includes/admin/admin.php:117 +#: acf.php:385 includes/admin/admin.php:117 msgid "Field Groups" msgstr "Grupy pól" -#: acf.php:388 +#: acf.php:386 msgid "Field Group" msgstr "Grupa pól" -#: acf.php:389 acf.php:421 includes/admin/admin.php:118 +#: acf.php:387 acf.php:419 includes/admin/admin.php:118 #: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New" msgstr "Dodaj nową" -#: acf.php:390 +#: acf.php:388 msgid "Add New Field Group" msgstr "Dodaj nową grupę pól" -#: acf.php:391 +#: acf.php:389 msgid "Edit Field Group" msgstr "Edytuj grupę pól" -#: acf.php:392 +#: acf.php:390 msgid "New Field Group" msgstr "Nowa grupa pól" -#: acf.php:393 +#: acf.php:391 msgid "View Field Group" msgstr "Zobacz grupę pól" -#: acf.php:394 +#: acf.php:392 msgid "Search Field Groups" msgstr "Szukaj grup pól" -#: acf.php:395 +#: acf.php:393 msgid "No Field Groups found" msgstr "Nie znaleziono grupy pól" -#: acf.php:396 +#: acf.php:394 msgid "No Field Groups found in Trash" msgstr "Brak grup pól w koszu" -#: acf.php:419 includes/admin/admin-field-group.php:202 +#: acf.php:417 includes/admin/admin-field-group.php:202 #: includes/admin/admin-field-groups.php:510 #: pro/fields/class-acf-field-clone.php:811 msgid "Fields" msgstr "Pola" -#: acf.php:420 +#: acf.php:418 msgid "Field" msgstr "Pole" -#: acf.php:422 +#: acf.php:420 msgid "Add New Field" msgstr "Dodaj nowe pole" -#: acf.php:423 +#: acf.php:421 msgid "Edit Field" msgstr "Edytuj pole" -#: acf.php:424 includes/admin/views/field-group-fields.php:41 -#: includes/admin/views/settings-info.php:105 +#: acf.php:422 includes/admin/views/field-group-fields.php:41 msgid "New Field" msgstr "Nowe pole" -#: acf.php:425 +#: acf.php:423 msgid "View Field" msgstr "Zobacz pole" -#: acf.php:426 +#: acf.php:424 msgid "Search Fields" msgstr "Szukaj pól" -#: acf.php:427 +#: acf.php:425 msgid "No Fields found" msgstr "Nie znaleziono pól" -#: acf.php:428 +#: acf.php:426 msgid "No Fields found in Trash" msgstr "Nie znaleziono pól w koszu" -#: acf.php:467 includes/admin/admin-field-group.php:384 +#: acf.php:465 includes/admin/admin-field-group.php:384 #: includes/admin/admin-field-groups.php:567 msgid "Inactive" msgstr "Nieaktywne" -#: acf.php:472 +#: acf.php:470 #, php-format msgid "Inactive (%s)" msgid_plural "Inactive (%s)" @@ -196,7 +195,7 @@ msgstr "kopia" #: includes/admin/views/field-group-field-conditional-logic.php:151 #: includes/admin/views/field-group-locations.php:29 #: includes/admin/views/html-location-group.php:3 -#: includes/api/api-helpers.php:4165 +#: includes/api/api-helpers.php:4073 msgid "or" msgstr "lub" @@ -222,24 +221,24 @@ msgstr "Klucze pola" msgid "Active" msgstr "Aktywne" -#: includes/admin/admin-field-group.php:750 +#: includes/admin/admin-field-group.php:746 msgid "Move Complete." msgstr "Przenoszenie zakończone." -#: includes/admin/admin-field-group.php:751 +#: includes/admin/admin-field-group.php:747 #, php-format msgid "The %s field can now be found in the %s field group" msgstr "Pole %s znajduje się teraz w grupie pól %s" -#: includes/admin/admin-field-group.php:752 +#: includes/admin/admin-field-group.php:748 msgid "Close Window" msgstr "Zamknij okno" -#: includes/admin/admin-field-group.php:793 +#: includes/admin/admin-field-group.php:789 msgid "Please select the destination for this field" msgstr "Proszę wybrać miejsce przeznaczenia dla tego pola" -#: includes/admin/admin-field-group.php:800 +#: includes/admin/admin-field-group.php:796 msgid "Move Field" msgstr "Przenieś pole" @@ -289,8 +288,8 @@ msgstr "Tytuł" #: includes/admin/admin-field-groups.php:508 #: includes/admin/views/field-group-options.php:96 -#: includes/admin/views/install-network.php:21 -#: includes/admin/views/install-network.php:29 +#: includes/admin/views/html-admin-page-upgrade-network.php:38 +#: includes/admin/views/html-admin-page-upgrade-network.php:49 #: pro/fields/class-acf-field-gallery.php:397 msgid "Description" msgstr "Opis" @@ -334,6 +333,7 @@ msgid "Support" msgstr "Pomoc" #: includes/admin/admin-field-groups.php:623 +#: includes/admin/views/settings-info.php:84 msgid "Pro" msgstr "Pro" @@ -386,28 +386,22 @@ msgstr "Akcje na wielu" msgid "Tools" msgstr "Narzędzia" +#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94 +#: includes/admin/admin-upgrade.php:156 +#: includes/admin/views/html-admin-page-upgrade-network.php:24 +#: includes/admin/views/html-admin-page-upgrade.php:26 +msgid "Upgrade Database" +msgstr "Aktualizuj bazę danych" + +#: includes/admin/admin-upgrade.php:180 +msgid "Review sites & upgrade" +msgstr "Strona opinii i aktualizacji" + #: includes/admin/admin.php:113 #: includes/admin/views/field-group-options.php:110 msgid "Custom Fields" msgstr "Własne pola" -#: includes/admin/install-network.php:88 includes/admin/install.php:70 -#: includes/admin/install.php:121 -msgid "Upgrade Database" -msgstr "Aktualizuj bazę danych" - -#: includes/admin/install-network.php:140 -msgid "Review sites & upgrade" -msgstr "Strona opinii i aktualizacji" - -#: includes/admin/install.php:187 -msgid "Error validating request" -msgstr "Błąd podczas walidacji żądania" - -#: includes/admin/install.php:210 includes/admin/views/install.php:104 -msgid "No updates available." -msgstr "Brak dostępnych aktualizacji." - #: includes/admin/settings-addons.php:51 #: includes/admin/views/settings-addons.php:3 msgid "Add-ons" @@ -546,7 +540,7 @@ msgid "Show this field if" msgstr "Pokaż to pole jeśli" #: includes/admin/views/field-group-field-conditional-logic.php:138 -#: includes/admin/views/html-location-rule.php:80 +#: includes/admin/views/html-location-rule.php:86 msgid "and" msgstr "oraz" @@ -655,7 +649,7 @@ msgstr "Kolejność" #: includes/fields/class-acf-field-button-group.php:198 #: includes/fields/class-acf-field-checkbox.php:420 #: includes/fields/class-acf-field-radio.php:311 -#: includes/fields/class-acf-field-select.php:439 +#: includes/fields/class-acf-field-select.php:428 #: pro/fields/class-acf-field-flexible-content.php:596 msgid "Label" msgstr "Etykieta" @@ -838,20 +832,7 @@ msgstr "" "ustawienia pierwszej z nich. (pierwsza grupa pól to ta, która ma najniższy " "numer w kolejności)" -#: includes/admin/views/html-location-group.php:3 -msgid "Show this field group if" -msgstr "Pokaż tą grupę pól jeśli" - -#: includes/admin/views/install-network.php:4 -msgid "Upgrade Sites" -msgstr "Aktualizacja witryn" - -#: includes/admin/views/install-network.php:9 -#: includes/admin/views/install.php:3 -msgid "Advanced Custom Fields Database Upgrade" -msgstr "Aktualizacja bazy danych Advanced Custom Fields" - -#: includes/admin/views/install-network.php:11 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 #, php-format msgid "" "The following sites require a DB upgrade. Check the ones you want to update " @@ -860,29 +841,39 @@ msgstr "" "Następujące witryny wymagają aktualizacji bazy danych. Zaznacz te, które " "chcesz zaktualizować i kliknij %s." -#: includes/admin/views/install-network.php:20 -#: includes/admin/views/install-network.php:28 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 +#: includes/admin/views/html-admin-page-upgrade-network.php:27 +#: includes/admin/views/html-admin-page-upgrade-network.php:92 +msgid "Upgrade Sites" +msgstr "Aktualizacja witryn" + +#: includes/admin/views/html-admin-page-upgrade-network.php:36 +#: includes/admin/views/html-admin-page-upgrade-network.php:47 msgid "Site" msgstr "Witryna" -#: includes/admin/views/install-network.php:48 +#: includes/admin/views/html-admin-page-upgrade-network.php:74 #, php-format msgid "Site requires database upgrade from %s to %s" msgstr "Witryna wymaga aktualizacji bazy danych z %s na %s" -#: includes/admin/views/install-network.php:50 +#: includes/admin/views/html-admin-page-upgrade-network.php:76 msgid "Site is up to date" msgstr "Ta witryna jest aktualna" -#: includes/admin/views/install-network.php:63 +#: includes/admin/views/html-admin-page-upgrade-network.php:93 #, php-format msgid "" "Database Upgrade complete. Return to network dashboard" msgstr "" "Aktualizacja bazy danych zakończona. Wróć do kokpitu sieci" -#: includes/admin/views/install-network.php:102 -#: includes/admin/views/install-notice.php:42 +#: includes/admin/views/html-admin-page-upgrade-network.php:113 +msgid "Please select at least one site to upgrade." +msgstr "Proszę wybrać co najmniej jedną witrynę do uaktualnienia." + +#: includes/admin/views/html-admin-page-upgrade-network.php:117 +#: includes/admin/views/html-notice-upgrade.php:38 msgid "" "It is strongly recommended that you backup your database before proceeding. " "Are you sure you wish to run the updater now?" @@ -890,54 +881,77 @@ msgstr "" "Zdecydowanie zaleca się wykonanie kopii zapasowej bazy danych przed " "kontynuowaniem. Czy na pewno chcesz uruchomić aktualizacje teraz?" -#: includes/admin/views/install-network.php:158 -msgid "Upgrade complete" -msgstr "Aktualizacja zakończona" - -#: includes/admin/views/install-network.php:162 -#: includes/admin/views/install.php:9 +#: includes/admin/views/html-admin-page-upgrade-network.php:144 +#: includes/admin/views/html-admin-page-upgrade.php:31 #, php-format msgid "Upgrading data to version %s" msgstr "Aktualizowanie danych do wersji %s" -#: includes/admin/views/install-notice.php:8 +#: includes/admin/views/html-admin-page-upgrade-network.php:167 +msgid "Upgrade complete." +msgstr "Aktualizacja zakończona." + +#: includes/admin/views/html-admin-page-upgrade-network.php:176 +#: includes/admin/views/html-admin-page-upgrade-network.php:185 +#: includes/admin/views/html-admin-page-upgrade.php:78 +#: includes/admin/views/html-admin-page-upgrade.php:87 +msgid "Upgrade failed." +msgstr "Aktualizacja nie powiodła się." + +#: includes/admin/views/html-admin-page-upgrade.php:30 +msgid "Reading upgrade tasks..." +msgstr "Czytam zadania aktualizacji..." + +#: includes/admin/views/html-admin-page-upgrade.php:33 +#, php-format +msgid "Database upgrade complete. See what's new" +msgstr "" +"Aktualizacja bazy danych zakończona. Zobacz co nowego" + +#: includes/admin/views/html-admin-page-upgrade.php:116 +#: includes/ajax/class-acf-ajax-upgrade.php:33 +msgid "No updates available." +msgstr "Brak dostępnych aktualizacji." + +#: includes/admin/views/html-location-group.php:3 +msgid "Show this field group if" +msgstr "Pokaż tą grupę pól jeśli" + +#: includes/admin/views/html-notice-upgrade.php:8 #: pro/fields/class-acf-field-repeater.php:25 msgid "Repeater" msgstr "Pole powtarzalne" -#: includes/admin/views/install-notice.php:9 +#: includes/admin/views/html-notice-upgrade.php:9 #: pro/fields/class-acf-field-flexible-content.php:25 msgid "Flexible Content" msgstr "Elastyczne treść" -#: includes/admin/views/install-notice.php:10 +#: includes/admin/views/html-notice-upgrade.php:10 #: pro/fields/class-acf-field-gallery.php:25 msgid "Gallery" msgstr "Galeria" -#: includes/admin/views/install-notice.php:11 +#: includes/admin/views/html-notice-upgrade.php:11 #: pro/locations/class-acf-location-options-page.php:26 msgid "Options Page" msgstr "Strona opcji" -#: includes/admin/views/install-notice.php:26 +#: includes/admin/views/html-notice-upgrade.php:21 msgid "Database Upgrade Required" msgstr "Wymagana jest aktualizacja bazy danych" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 #, php-format msgid "Thank you for updating to %s v%s!" msgstr "Dziękujemy za aktualizacje do %s v%s!" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 msgid "" -"Before you start using the new awesome features, please update your database " -"to the newest version." -msgstr "" -"Zanim zaczniesz korzystać z niesamowitych funkcji prosimy o zaktualizowanie " -"bazy danych do najnowszej wersji." +"This version contains improvements to your database and requires an upgrade." +msgstr "Ta wersja zawiera ulepszenia bazy danych i wymaga uaktualnienia." -#: includes/admin/views/install-notice.php:31 +#: includes/admin/views/html-notice-upgrade.php:24 #, php-format msgid "" "Please also ensure any premium add-ons (%s) have first been updated to the " @@ -946,16 +960,6 @@ msgstr "" "Upewnij się także, że wszystkie dodatki premium (%s) zostały wcześniej " "zaktualizowane do najnowszych wersji." -#: includes/admin/views/install.php:7 -msgid "Reading upgrade tasks..." -msgstr "Czytam zadania aktualizacji..." - -#: includes/admin/views/install.php:11 -#, php-format -msgid "Database Upgrade complete. See what's new" -msgstr "" -"Aktualizacja bazy danych zakończona. Zobacz co nowego" - #: includes/admin/views/settings-addons.php:17 msgid "Download & Install" msgstr "Pobierz i instaluj" @@ -977,15 +981,15 @@ msgstr "" "Dziękujemy za aktualizację! ACF %s jest większy i lepszy niż kiedykolwiek " "wcześniej. Mamy nadzieję, że go polubisz." -#: includes/admin/views/settings-info.php:17 -msgid "A smoother custom field experience" -msgstr "Lepsze odczucia z korzystania z własnych pól" +#: includes/admin/views/settings-info.php:15 +msgid "A Smoother Experience" +msgstr "Lepsze odczucia w użytkowaniu" -#: includes/admin/views/settings-info.php:22 +#: includes/admin/views/settings-info.php:19 msgid "Improved Usability" msgstr "Zwiększona użyteczność" -#: includes/admin/views/settings-info.php:23 +#: includes/admin/views/settings-info.php:20 msgid "" "Including the popular Select2 library has improved both usability and speed " "across a number of field types including post object, page link, taxonomy " @@ -995,11 +999,11 @@ msgstr "" "szybkość wielu typów pól wliczając obiekty wpisów, odnośniki stron, " "taksonomie i pola wyboru." -#: includes/admin/views/settings-info.php:27 +#: includes/admin/views/settings-info.php:24 msgid "Improved Design" msgstr "Ulepszony wygląd" -#: includes/admin/views/settings-info.php:28 +#: includes/admin/views/settings-info.php:25 msgid "" "Many fields have undergone a visual refresh to make ACF look better than " "ever! Noticeable changes are seen on the gallery, relationship and oEmbed " @@ -1009,11 +1013,11 @@ msgstr "" "kiedykolwiek! Zmiany warte uwagi są widoczne w galerii, polach relacji i " "polach oEmbed (nowość)!" -#: includes/admin/views/settings-info.php:32 +#: includes/admin/views/settings-info.php:29 msgid "Improved Data" msgstr "Ulepszona struktura danych" -#: includes/admin/views/settings-info.php:33 +#: includes/admin/views/settings-info.php:30 msgid "" "Redesigning the data architecture has allowed sub fields to live " "independently from their parents. This allows you to drag and drop fields in " @@ -1023,22 +1027,22 @@ msgstr "" "niezależnymi od swoich rodziców. Pozwala to na przeciąganie i upuszczanie " "pól pomiędzy rodzicami!" -#: includes/admin/views/settings-info.php:39 +#: includes/admin/views/settings-info.php:38 msgid "Goodbye Add-ons. Hello PRO" msgstr "Do widzenia Dodatki. Dzień dobry PRO" -#: includes/admin/views/settings-info.php:44 +#: includes/admin/views/settings-info.php:41 msgid "Introducing ACF PRO" msgstr "Przedstawiamy ACF PRO" -#: includes/admin/views/settings-info.php:45 +#: includes/admin/views/settings-info.php:42 msgid "" "We're changing the way premium functionality is delivered in an exciting way!" msgstr "" "Zmieniliśmy sposób funkcjonowania wersji premium - teraz jest dostarczana w " "ekscytujący sposób!" -#: includes/admin/views/settings-info.php:46 +#: includes/admin/views/settings-info.php:43 #, php-format msgid "" "All 4 premium add-ons have been combined into a new Pro " @@ -1049,11 +1053,11 @@ msgstr "" "Pro ACF. W obu licencjach, osobistej i deweloperskiej, funkcjonalność " "premium jest bardziej przystępna niż kiedykolwiek wcześniej!" -#: includes/admin/views/settings-info.php:50 +#: includes/admin/views/settings-info.php:47 msgid "Powerful Features" msgstr "Potężne funkcje" -#: includes/admin/views/settings-info.php:51 +#: includes/admin/views/settings-info.php:48 msgid "" "ACF PRO contains powerful features such as repeatable data, flexible content " "layouts, a beautiful gallery field and the ability to create extra admin " @@ -1063,232 +1067,240 @@ msgstr "" "układy treści, piękne galerie i możliwość tworzenia dodatkowych stron opcji " "administracyjnych!" -#: includes/admin/views/settings-info.php:52 +#: includes/admin/views/settings-info.php:49 #, php-format msgid "Read more about ACF PRO features." msgstr "Przeczytaj więcej o możliwościach ACF PRO." -#: includes/admin/views/settings-info.php:56 +#: includes/admin/views/settings-info.php:53 msgid "Easy Upgrading" msgstr "Łatwa aktualizacja" -#: includes/admin/views/settings-info.php:57 -#, php-format +#: includes/admin/views/settings-info.php:54 msgid "" -"To help make upgrading easy, login to your store account " -"and claim a free copy of ACF PRO!" +"Upgrading to ACF PRO is easy. Simply purchase a license online and download " +"the plugin!" msgstr "" -"Aby aktualizacja była łatwa, zaloguj się do swojego konta " -"i pobierz darmową kopię ACF PRO!" +"Ulepszenie wersji do ACF PRO jest łatwe. Wystarczy zakupić licencję online i " +"pobrać wtyczkę!" -#: includes/admin/views/settings-info.php:58 +#: includes/admin/views/settings-info.php:55 #, php-format msgid "" "We also wrote an upgrade guide to answer any questions, " "but if you do have one, please contact our support team via the help desk" +"\">help desk." msgstr "" "Napisaliśmy również przewodnik aktualizacji wyjaśniający " "wiele zagadnień, jednak jeśli masz jakieś pytanie skontaktuj się z nami na " -"stronie wsparcia technicznego" +"stronie wsparcia technicznego." -#: includes/admin/views/settings-info.php:66 -msgid "Under the Hood" -msgstr "Pod maską" +#: includes/admin/views/settings-info.php:64 +msgid "New Features" +msgstr "Nowe funkcje" -#: includes/admin/views/settings-info.php:71 -msgid "Smarter field settings" -msgstr "Sprytniejsze ustawienia pól" +#: includes/admin/views/settings-info.php:69 +msgid "Link Field" +msgstr "Pole linku" -#: includes/admin/views/settings-info.php:72 -msgid "ACF now saves its field settings as individual post objects" -msgstr "ACF teraz zapisuje ustawienia pól jako osobny obiekt wpisu" +#: includes/admin/views/settings-info.php:70 +msgid "" +"The Link field provides a simple way to select or define a link (url, title, " +"target)." +msgstr "" +"Pole linku zapewnia prosty sposób wybrać lub określić łącze (adres URL, " +"atrybut 'title', atrybut 'target')." -#: includes/admin/views/settings-info.php:76 +#: includes/admin/views/settings-info.php:74 +msgid "Group Field" +msgstr "Pole grupy" + +#: includes/admin/views/settings-info.php:75 +msgid "The Group field provides a simple way to create a group of fields." +msgstr "Pole grupy zapewnia prosty sposób tworzenia grupy pól." + +#: includes/admin/views/settings-info.php:79 +msgid "oEmbed Field" +msgstr "Pole oEmbed" + +#: includes/admin/views/settings-info.php:80 +msgid "" +"The oEmbed field allows an easy way to embed videos, images, tweets, audio, " +"and other content." +msgstr "" +"Pole oEmbed pozwala w łatwy sposób osadzać filmy, obrazy, tweety, audio i " +"inne treści." + +#: includes/admin/views/settings-info.php:84 +msgid "Clone Field" +msgstr "Pole klonowania" + +#: includes/admin/views/settings-info.php:85 +msgid "The clone field allows you to select and display existing fields." +msgstr "Pole klonowania umożliwia zaznaczanie i wyświetlanie istniejących pól." + +#: includes/admin/views/settings-info.php:89 msgid "More AJAX" msgstr "Więcej technologii AJAX" -#: includes/admin/views/settings-info.php:77 -msgid "More fields use AJAX powered search to speed up page loading" -msgstr "Więcej pól korzysta z AJAX, aby przyspieszyć ładowanie stron" +#: includes/admin/views/settings-info.php:90 +msgid "More fields use AJAX powered search to speed up page loading." +msgstr "Więcej pól korzysta z AJAX, aby przyspieszyć ładowanie stron." -#: includes/admin/views/settings-info.php:81 +#: includes/admin/views/settings-info.php:94 msgid "Local JSON" msgstr "Lokalny JSON" -#: includes/admin/views/settings-info.php:82 -msgid "New auto export to JSON feature improves speed" -msgstr "Nowy zautomatyzowany eksport do JSON poprawia szybkość" - -#: includes/admin/views/settings-info.php:88 -msgid "Better version control" -msgstr "Lepsza kontrola wersji" - -#: includes/admin/views/settings-info.php:89 +#: includes/admin/views/settings-info.php:95 msgid "" -"New auto export to JSON feature allows field settings to be version " -"controlled" +"New auto export to JSON feature improves speed and allows for syncronisation." msgstr "" -"Nowy zautomatyzowany eksport do JSON pozwala na wersjonowanie ustawień pól" - -#: includes/admin/views/settings-info.php:93 -msgid "Swapped XML for JSON" -msgstr "Zmiana XML na JSON" - -#: includes/admin/views/settings-info.php:94 -msgid "Import / Export now uses JSON in favour of XML" -msgstr "Import / Eksport teraz korzysta z JSON zamiast XML" - -#: includes/admin/views/settings-info.php:98 -msgid "New Forms" -msgstr "Nowe formularze" +"Nowy zautomatyzowany eksport do JSON ma poprawioną szybkość i pozwala na " +"synchronizację." #: includes/admin/views/settings-info.php:99 -msgid "Fields can now be mapped to comments, widgets and all user forms!" -msgstr "" -"Pola mogą być teraz do komentarzy, widżetów i wszystkich formularzy " -"użytkowników!" +msgid "Easy Import / Export" +msgstr "Łatwy Import / Eksport" -#: includes/admin/views/settings-info.php:106 -msgid "A new field for embedding content has been added" -msgstr "Dodano nowe pole do osadzania zawartości" +#: includes/admin/views/settings-info.php:100 +msgid "Both import and export can easily be done through a new tools page." +msgstr "" +"Zarówno import, jak i eksport można łatwo wykonać za pomocą nowej strony " +"narzędzi." + +#: includes/admin/views/settings-info.php:104 +msgid "New Form Locations" +msgstr "Nowe lokalizacje formularzy" + +#: includes/admin/views/settings-info.php:105 +msgid "" +"Fields can now be mapped to menus, menu items, comments, widgets and all " +"user forms!" +msgstr "" +"Pola można teraz mapować na menu, pozycji menu, komentarzy, widżetów i " +"wszystkich formularzy użytkowników!" + +#: includes/admin/views/settings-info.php:109 +msgid "More Customization" +msgstr "Więcej dostosowywania" #: includes/admin/views/settings-info.php:110 -msgid "New Gallery" -msgstr "Nowa galeria" +msgid "" +"New PHP (and JS) actions and filters have been added to allow for more " +"customization." +msgstr "" +"Dodano nowe akcje i filtry PHP (i JS), aby poszerzyć zakres personalizacji." -#: includes/admin/views/settings-info.php:111 -msgid "The gallery field has undergone a much needed facelift" -msgstr "Pola galerii przeszły niezbędny facelifting" +#: includes/admin/views/settings-info.php:114 +msgid "Fresh UI" +msgstr "Fresh UI" #: includes/admin/views/settings-info.php:115 +msgid "" +"The entire plugin has had a design refresh including new field types, " +"settings and design!" +msgstr "" +"Cała wtyczka została odświeżone, dodano nowe typy pól, ustawienia i wygląd!" + +#: includes/admin/views/settings-info.php:119 msgid "New Settings" msgstr "Nowe ustawienia" -#: includes/admin/views/settings-info.php:116 +#: includes/admin/views/settings-info.php:120 msgid "" -"Field group settings have been added for label placement and instruction " -"placement" +"Field group settings have been added for Active, Label Placement, " +"Instructions Placement and Description." msgstr "" -"Zostały dodane ustawienia grup pól dotyczące pozycji etykiet oraz pozycji " -"instrukcji" +"Zostały dodane ustawienia grup pól dotyczące, Aktywności, Pozycji etykiet " +"oraz Pozycji instrukcji i Opisu." -#: includes/admin/views/settings-info.php:122 +#: includes/admin/views/settings-info.php:124 msgid "Better Front End Forms" msgstr "Lepszy wygląd formularzy (Front End Forms)" -#: includes/admin/views/settings-info.php:123 -msgid "acf_form() can now create a new post on submission" -msgstr "acf_form() może teraz tworzyć nowe wpisy" +#: includes/admin/views/settings-info.php:125 +msgid "" +"acf_form() can now create a new post on submission with lots of new settings." +msgstr "" +"acf_form() może teraz utworzyć nowy wpis po przesłaniu i zawiera wiele " +"nowych ustawień." -#: includes/admin/views/settings-info.php:127 +#: includes/admin/views/settings-info.php:129 msgid "Better Validation" msgstr "Lepsza walidacja" -#: includes/admin/views/settings-info.php:128 -msgid "Form validation is now done via PHP + AJAX in favour of only JS" -msgstr "Walidacja pól jest wykonana w PHP + AJAX a nie tylko w JS" +#: includes/admin/views/settings-info.php:130 +msgid "Form validation is now done via PHP + AJAX in favour of only JS." +msgstr "Walidacja pól jest wykonana w PHP + AJAX a nie tylko w JS." -#: includes/admin/views/settings-info.php:132 -msgid "Relationship Field" -msgstr "Pole relacji" - -#: includes/admin/views/settings-info.php:133 -msgid "" -"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" -msgstr "" -"Nowe ustawienia pola relacji dla \"Filtrów\" (Wyszukiwarka, Typ Wpisu, " -"Taksonomia)" - -#: includes/admin/views/settings-info.php:139 +#: includes/admin/views/settings-info.php:134 msgid "Moving Fields" msgstr "Przenoszenie pól" -#: includes/admin/views/settings-info.php:140 +#: includes/admin/views/settings-info.php:135 msgid "" "New field group functionality allows you to move a field between groups & " -"parents" +"parents." msgstr "" -"Nowa funkcjonalność pozwala na przenoszenie pól pomiędzy grupami i rodzicami" +"Nowa funkcjonalność pozwala na przenoszenie pól pomiędzy grupami i rodzicami." -#: includes/admin/views/settings-info.php:144 -#: includes/fields/class-acf-field-page_link.php:25 -msgid "Page Link" -msgstr "Link do strony" - -#: includes/admin/views/settings-info.php:145 -msgid "New archives group in page_link field selection" -msgstr "Nowe grupy archiwów do wyboru dla pola page_link" - -#: includes/admin/views/settings-info.php:149 -msgid "Better Options Pages" -msgstr "Lepsze strony opcji" - -#: includes/admin/views/settings-info.php:150 -msgid "" -"New functions for options page allow creation of both parent and child menu " -"pages" -msgstr "" -"Nowe funkcje dla strony opcji pozwalają tworzyć strony w menu będące " -"rodzicami oraz potomnymi." - -#: includes/admin/views/settings-info.php:159 +#: includes/admin/views/settings-info.php:146 #, php-format msgid "We think you'll love the changes in %s." msgstr "Uważamy, że pokochasz zmiany wprowadzone w wersji %s." -#: includes/api/api-helpers.php:1039 +#: includes/api/api-helpers.php:1046 msgid "Thumbnail" msgstr "Miniatura" -#: includes/api/api-helpers.php:1040 +#: includes/api/api-helpers.php:1047 msgid "Medium" msgstr "Średni" -#: includes/api/api-helpers.php:1041 +#: includes/api/api-helpers.php:1048 msgid "Large" msgstr "Duży" -#: includes/api/api-helpers.php:1090 +#: includes/api/api-helpers.php:1097 msgid "Full Size" msgstr "Pełny rozmiar" -#: includes/api/api-helpers.php:1431 includes/api/api-helpers.php:2004 +#: includes/api/api-helpers.php:1339 includes/api/api-helpers.php:1912 #: pro/fields/class-acf-field-clone.php:996 msgid "(no title)" msgstr "(brak tytułu)" -#: includes/api/api-helpers.php:4086 +#: includes/api/api-helpers.php:3994 #, php-format msgid "Image width must be at least %dpx." msgstr "Szerokość obrazu musi mieć co najmniej %dpx." -#: includes/api/api-helpers.php:4091 +#: includes/api/api-helpers.php:3999 #, php-format msgid "Image width must not exceed %dpx." msgstr "Szerokość obrazu nie może przekraczać %dpx." -#: includes/api/api-helpers.php:4107 +#: includes/api/api-helpers.php:4015 #, php-format msgid "Image height must be at least %dpx." msgstr "Wysokość obrazu musi mieć co najmniej %dpx." -#: includes/api/api-helpers.php:4112 +#: includes/api/api-helpers.php:4020 #, php-format msgid "Image height must not exceed %dpx." msgstr "Wysokość obrazu nie może przekraczać %dpx." -#: includes/api/api-helpers.php:4130 +#: includes/api/api-helpers.php:4038 #, php-format msgid "File size must be at least %s." msgstr "Rozmiar pliku musi wynosić co najmniej %s." -#: includes/api/api-helpers.php:4135 +#: includes/api/api-helpers.php:4043 #, php-format msgid "File size must must not exceed %s." msgstr "Rozmiar pliku nie może przekraczać %s." -#: includes/api/api-helpers.php:4169 +#: includes/api/api-helpers.php:4077 #, php-format msgid "File type must be %s." msgstr "Plik musi spełniać kryteria typu %s." @@ -1447,8 +1459,7 @@ msgstr "Relacyjne" msgid "jQuery" msgstr "jQuery" -#: includes/fields.php:354 -#: includes/fields/class-acf-field-button-group.php:177 +#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177 #: includes/fields/class-acf-field-checkbox.php:389 #: includes/fields/class-acf-field-group.php:474 #: includes/fields/class-acf-field-radio.php:290 @@ -1499,21 +1510,21 @@ msgstr "Grupa przycisków" #: includes/fields/class-acf-field-button-group.php:149 #: includes/fields/class-acf-field-checkbox.php:344 #: includes/fields/class-acf-field-radio.php:235 -#: includes/fields/class-acf-field-select.php:370 +#: includes/fields/class-acf-field-select.php:359 msgid "Choices" msgstr "Wybory" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:371 +#: includes/fields/class-acf-field-select.php:360 msgid "Enter each choice on a new line." msgstr "Wpisz każdy z wyborów w osobnej linii." #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:371 +#: includes/fields/class-acf-field-select.php:360 msgid "For more control, you may specify both a value and label like this:" msgstr "" "Aby uzyskać większą kontrolę, można określić zarówno wartość i etykietę w " @@ -1522,15 +1533,15 @@ msgstr "" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:371 +#: includes/fields/class-acf-field-select.php:360 msgid "red : Red" msgstr "czerwony : Czerwony" #: includes/fields/class-acf-field-button-group.php:158 #: includes/fields/class-acf-field-page_link.php:513 -#: includes/fields/class-acf-field-post_object.php:412 +#: includes/fields/class-acf-field-post_object.php:411 #: includes/fields/class-acf-field-radio.php:244 -#: includes/fields/class-acf-field-select.php:388 +#: includes/fields/class-acf-field-select.php:377 #: includes/fields/class-acf-field-taxonomy.php:784 #: includes/fields/class-acf-field-user.php:409 msgid "Allow Null?" @@ -1542,13 +1553,13 @@ msgstr "Zezwolić na pustą wartość Null?" #: includes/fields/class-acf-field-email.php:118 #: includes/fields/class-acf-field-number.php:127 #: includes/fields/class-acf-field-radio.php:281 -#: includes/fields/class-acf-field-range.php:146 -#: includes/fields/class-acf-field-select.php:379 +#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-select.php:368 #: includes/fields/class-acf-field-text.php:119 #: includes/fields/class-acf-field-textarea.php:102 #: includes/fields/class-acf-field-true_false.php:135 #: includes/fields/class-acf-field-url.php:100 -#: includes/fields/class-acf-field-wysiwyg.php:397 +#: includes/fields/class-acf-field-wysiwyg.php:381 msgid "Default Value" msgstr "Domyślna wartość" @@ -1556,11 +1567,11 @@ msgstr "Domyślna wartość" #: includes/fields/class-acf-field-email.php:119 #: includes/fields/class-acf-field-number.php:128 #: includes/fields/class-acf-field-radio.php:282 -#: includes/fields/class-acf-field-range.php:147 +#: includes/fields/class-acf-field-range.php:150 #: includes/fields/class-acf-field-text.php:120 #: includes/fields/class-acf-field-textarea.php:103 #: includes/fields/class-acf-field-url.php:101 -#: includes/fields/class-acf-field-wysiwyg.php:398 +#: includes/fields/class-acf-field-wysiwyg.php:382 msgid "Appears when creating a new post" msgstr "Wyświetlane podczas tworzenia nowego wpisu" @@ -1598,14 +1609,14 @@ msgstr "Określ zwracaną wartość na stronie (front-end)" #: includes/fields/class-acf-field-button-group.php:197 #: includes/fields/class-acf-field-checkbox.php:419 #: includes/fields/class-acf-field-radio.php:310 -#: includes/fields/class-acf-field-select.php:438 +#: includes/fields/class-acf-field-select.php:427 msgid "Value" msgstr "Wartość" #: includes/fields/class-acf-field-button-group.php:199 #: includes/fields/class-acf-field-checkbox.php:421 #: includes/fields/class-acf-field-radio.php:312 -#: includes/fields/class-acf-field-select.php:440 +#: includes/fields/class-acf-field-select.php:429 msgid "Both (Array)" msgstr "Oba (Array)" @@ -1639,7 +1650,7 @@ msgid "Save 'custom' values to the field's choices" msgstr "Zapisz \"niestandardowe\" wartości tego pola wyboru" #: includes/fields/class-acf-field-checkbox.php:381 -#: includes/fields/class-acf-field-select.php:380 +#: includes/fields/class-acf-field-select.php:369 msgid "Enter each default value on a new line" msgstr "Wpisz każdą domyślną wartość w osobnej linii" @@ -1733,9 +1744,9 @@ msgstr "Format używany podczas zapisywania wartości" #: includes/fields/class-acf-field-date_picker.php:210 #: includes/fields/class-acf-field-date_time_picker.php:200 -#: includes/fields/class-acf-field-post_object.php:432 +#: includes/fields/class-acf-field-post_object.php:431 #: includes/fields/class-acf-field-relationship.php:715 -#: includes/fields/class-acf-field-select.php:433 +#: includes/fields/class-acf-field-select.php:422 #: includes/fields/class-acf-field-time_picker.php:124 #: includes/fields/class-acf-field-user.php:428 msgid "Return Format" @@ -1856,7 +1867,7 @@ msgstr "Pojawia się w polu formularza" #: includes/fields/class-acf-field-email.php:136 #: includes/fields/class-acf-field-number.php:145 #: includes/fields/class-acf-field-password.php:80 -#: includes/fields/class-acf-field-range.php:185 +#: includes/fields/class-acf-field-range.php:188 #: includes/fields/class-acf-field-text.php:137 msgid "Prepend" msgstr "Przed polem (prefiks)" @@ -1864,7 +1875,7 @@ msgstr "Przed polem (prefiks)" #: includes/fields/class-acf-field-email.php:137 #: includes/fields/class-acf-field-number.php:146 #: includes/fields/class-acf-field-password.php:81 -#: includes/fields/class-acf-field-range.php:186 +#: includes/fields/class-acf-field-range.php:189 #: includes/fields/class-acf-field-text.php:138 msgid "Appears before the input" msgstr "Pojawia się przed polem formularza" @@ -1872,7 +1883,7 @@ msgstr "Pojawia się przed polem formularza" #: includes/fields/class-acf-field-email.php:145 #: includes/fields/class-acf-field-number.php:154 #: includes/fields/class-acf-field-password.php:89 -#: includes/fields/class-acf-field-range.php:194 +#: includes/fields/class-acf-field-range.php:197 #: includes/fields/class-acf-field-text.php:146 msgid "Append" msgstr "Za polem (sufiks)" @@ -1880,7 +1891,7 @@ msgstr "Za polem (sufiks)" #: includes/fields/class-acf-field-email.php:146 #: includes/fields/class-acf-field-number.php:155 #: includes/fields/class-acf-field-password.php:90 -#: includes/fields/class-acf-field-range.php:195 +#: includes/fields/class-acf-field-range.php:198 #: includes/fields/class-acf-field-text.php:147 msgid "Appears after the input" msgstr "Pojawia się za polem formularza" @@ -2185,30 +2196,30 @@ msgstr "Brak formatowania" #: includes/fields/class-acf-field-message.php:124 msgid "Escape HTML" -msgstr "dodawaj znaki ucieczki do HTML (escape HTML)" +msgstr "Dodawaj znaki ucieczki do HTML (escape HTML)" #: includes/fields/class-acf-field-message.php:125 msgid "Allow HTML markup to display as visible text instead of rendering" msgstr "" "Zezwól aby znaczniki HTML były wyświetlane jako widoczny tekst, a nie " -"renderowane." +"renderowane" #: includes/fields/class-acf-field-number.php:25 msgid "Number" msgstr "Liczba" #: includes/fields/class-acf-field-number.php:163 -#: includes/fields/class-acf-field-range.php:155 +#: includes/fields/class-acf-field-range.php:158 msgid "Minimum Value" msgstr "Minimalna wartość" #: includes/fields/class-acf-field-number.php:172 -#: includes/fields/class-acf-field-range.php:165 +#: includes/fields/class-acf-field-range.php:168 msgid "Maximum Value" msgstr "Maksymalna wartość" #: includes/fields/class-acf-field-number.php:181 -#: includes/fields/class-acf-field-range.php:175 +#: includes/fields/class-acf-field-range.php:178 msgid "Step Size" msgstr "Wielkość kroku" @@ -2239,36 +2250,40 @@ msgstr "Wprowadź adres URL" msgid "Embed Size" msgstr "Rozmiar osadzenia" +#: includes/fields/class-acf-field-page_link.php:25 +msgid "Page Link" +msgstr "Link do strony" + #: includes/fields/class-acf-field-page_link.php:177 msgid "Archives" msgstr "Archiwa" #: includes/fields/class-acf-field-page_link.php:269 -#: includes/fields/class-acf-field-post_object.php:268 +#: includes/fields/class-acf-field-post_object.php:267 #: includes/fields/class-acf-field-taxonomy.php:961 msgid "Parent" msgstr "Rodzic" #: includes/fields/class-acf-field-page_link.php:485 -#: includes/fields/class-acf-field-post_object.php:384 +#: includes/fields/class-acf-field-post_object.php:383 #: includes/fields/class-acf-field-relationship.php:641 msgid "Filter by Post Type" msgstr "Filtruj wg typu wpisu" #: includes/fields/class-acf-field-page_link.php:493 -#: includes/fields/class-acf-field-post_object.php:392 +#: includes/fields/class-acf-field-post_object.php:391 #: includes/fields/class-acf-field-relationship.php:649 msgid "All post types" msgstr "Wszystkie typy wpisów" #: includes/fields/class-acf-field-page_link.php:499 -#: includes/fields/class-acf-field-post_object.php:398 +#: includes/fields/class-acf-field-post_object.php:397 #: includes/fields/class-acf-field-relationship.php:655 msgid "Filter by Taxonomy" msgstr "Filtruj wg taksonomii" #: includes/fields/class-acf-field-page_link.php:507 -#: includes/fields/class-acf-field-post_object.php:406 +#: includes/fields/class-acf-field-post_object.php:405 #: includes/fields/class-acf-field-relationship.php:663 msgid "All taxonomies" msgstr "Wszystkie taksonomie" @@ -2278,8 +2293,8 @@ msgid "Allow Archives URLs" msgstr "Pozwól na adresy URL archiwów" #: includes/fields/class-acf-field-page_link.php:533 -#: includes/fields/class-acf-field-post_object.php:422 -#: includes/fields/class-acf-field-select.php:398 +#: includes/fields/class-acf-field-post_object.php:421 +#: includes/fields/class-acf-field-select.php:387 #: includes/fields/class-acf-field-user.php:419 msgid "Select multiple values?" msgstr "Możliwość wyboru wielu wartości?" @@ -2289,12 +2304,12 @@ msgid "Password" msgstr "Hasło" #: includes/fields/class-acf-field-post_object.php:25 -#: includes/fields/class-acf-field-post_object.php:437 +#: includes/fields/class-acf-field-post_object.php:436 #: includes/fields/class-acf-field-relationship.php:720 msgid "Post Object" msgstr "Obiekt wpisu" -#: includes/fields/class-acf-field-post_object.php:438 +#: includes/fields/class-acf-field-post_object.php:437 #: includes/fields/class-acf-field-relationship.php:721 msgid "Post ID" msgstr "ID wpisu" @@ -2463,16 +2478,16 @@ msgctxt "Select2 JS load_fail" msgid "Loading failed" msgstr "Ładowanie zakończone niepowodzeniem" -#: includes/fields/class-acf-field-select.php:408 +#: includes/fields/class-acf-field-select.php:397 #: includes/fields/class-acf-field-true_false.php:144 msgid "Stylised UI" msgstr "Ostylowany interfejs użytkownika" -#: includes/fields/class-acf-field-select.php:418 +#: includes/fields/class-acf-field-select.php:407 msgid "Use AJAX to lazy load choices?" msgstr "Użyć technologii AJAX do wczytywania wyników?" -#: includes/fields/class-acf-field-select.php:434 +#: includes/fields/class-acf-field-select.php:423 msgid "Specify the value returned" msgstr "Określ zwracaną wartość" @@ -2669,52 +2684,52 @@ msgstr "ID użytkownika" msgid "Wysiwyg Editor" msgstr "Edytor WYSIWYG" -#: includes/fields/class-acf-field-wysiwyg.php:346 +#: includes/fields/class-acf-field-wysiwyg.php:330 msgid "Visual" msgstr "Wizualny" -#: includes/fields/class-acf-field-wysiwyg.php:347 +#: includes/fields/class-acf-field-wysiwyg.php:331 msgctxt "Name for the Text editor tab (formerly HTML)" msgid "Text" msgstr "Tekstowy" -#: includes/fields/class-acf-field-wysiwyg.php:353 +#: includes/fields/class-acf-field-wysiwyg.php:337 msgid "Click to initialize TinyMCE" msgstr "Kliknij, aby zainicjować TinyMCE" -#: includes/fields/class-acf-field-wysiwyg.php:406 +#: includes/fields/class-acf-field-wysiwyg.php:390 msgid "Tabs" msgstr "Zakładki" -#: includes/fields/class-acf-field-wysiwyg.php:411 +#: includes/fields/class-acf-field-wysiwyg.php:395 msgid "Visual & Text" msgstr "Wizualna i Tekstowa" -#: includes/fields/class-acf-field-wysiwyg.php:412 +#: includes/fields/class-acf-field-wysiwyg.php:396 msgid "Visual Only" msgstr "Tylko wizualna" -#: includes/fields/class-acf-field-wysiwyg.php:413 +#: includes/fields/class-acf-field-wysiwyg.php:397 msgid "Text Only" msgstr "Tylko tekstowa" -#: includes/fields/class-acf-field-wysiwyg.php:420 +#: includes/fields/class-acf-field-wysiwyg.php:404 msgid "Toolbar" msgstr "Pasek narzędzi" -#: includes/fields/class-acf-field-wysiwyg.php:435 +#: includes/fields/class-acf-field-wysiwyg.php:419 msgid "Show Media Upload Buttons?" msgstr "Wyświetlić przyciski Dodawania mediów?" -#: includes/fields/class-acf-field-wysiwyg.php:445 +#: includes/fields/class-acf-field-wysiwyg.php:429 msgid "Delay initialization?" msgstr "Opóźnić inicjowanie?" -#: includes/fields/class-acf-field-wysiwyg.php:446 +#: includes/fields/class-acf-field-wysiwyg.php:430 msgid "TinyMCE will not be initalized until field is clicked" msgstr "TinyMCE nie zostanie zainicjowane do momentu kliknięcia pola" -#: includes/forms/form-comment.php:166 includes/forms/form-post.php:305 +#: includes/forms/form-comment.php:166 includes/forms/form-post.php:301 #: pro/admin/admin-options-page.php:308 msgid "Edit field group" msgstr "Edytuj grupę pól" @@ -2723,8 +2738,8 @@ msgstr "Edytuj grupę pól" msgid "Validate Email" msgstr "Waliduj E-mail" -#: includes/forms/form-front.php:103 -#: pro/fields/class-acf-field-gallery.php:588 pro/options-page.php:81 +#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:588 +#: pro/options-page.php:81 msgid "Update" msgstr "Aktualizuj" @@ -2748,11 +2763,11 @@ msgstr "Strona" msgid "Forms" msgstr "Formularze" -#: includes/locations.php:247 +#: includes/locations.php:243 msgid "is equal to" msgstr "jest równe" -#: includes/locations.php:248 +#: includes/locations.php:244 msgid "is not equal to" msgstr "jest inne niż" @@ -2981,7 +2996,7 @@ msgstr "Informacje o aktualizacji" #: pro/fields/class-acf-field-clone.php:25 msgctxt "noun" msgid "Clone" -msgstr "Klonowanie" +msgstr "Klon" #: pro/fields/class-acf-field-clone.php:812 msgid "Select one or more fields you wish to clone" @@ -3275,6 +3290,84 @@ msgstr "Elliot Condon" msgid "http://www.elliotcondon.com/" msgstr "http://www.elliotcondon.com/" +#~ msgid "Error validating request" +#~ msgstr "Błąd podczas walidacji żądania" + +#~ msgid "Advanced Custom Fields Database Upgrade" +#~ msgstr "Aktualizacja bazy danych Advanced Custom Fields" + +#~ msgid "" +#~ "Before you start using the new awesome features, please update your " +#~ "database to the newest version." +#~ msgstr "" +#~ "Zanim zaczniesz korzystać z niesamowitych funkcji prosimy o " +#~ "zaktualizowanie bazy danych do najnowszej wersji." + +#~ msgid "" +#~ "To help make upgrading easy, login to your store account and claim a free copy of ACF PRO!" +#~ msgstr "" +#~ "Aby aktualizacja była łatwa, zaloguj się do swojego konta i pobierz darmową kopię ACF PRO!" + +#~ msgid "Under the Hood" +#~ msgstr "Pod maską" + +#~ msgid "Smarter field settings" +#~ msgstr "Sprytniejsze ustawienia pól" + +#~ msgid "ACF now saves its field settings as individual post objects" +#~ msgstr "ACF teraz zapisuje ustawienia pól jako osobny obiekt wpisu" + +#~ msgid "Better version control" +#~ msgstr "Lepsza kontrola wersji" + +#~ msgid "" +#~ "New auto export to JSON feature allows field settings to be version " +#~ "controlled" +#~ msgstr "" +#~ "Nowy zautomatyzowany eksport do JSON pozwala na wersjonowanie ustawień pól" + +#~ msgid "Swapped XML for JSON" +#~ msgstr "Zmiana XML na JSON" + +#~ msgid "Import / Export now uses JSON in favour of XML" +#~ msgstr "Import / Eksport teraz korzysta z JSON zamiast XML" + +#~ msgid "New Forms" +#~ msgstr "Nowe formularze" + +#~ msgid "A new field for embedding content has been added" +#~ msgstr "Dodano nowe pole do osadzania zawartości" + +#~ msgid "New Gallery" +#~ msgstr "Nowa galeria" + +#~ msgid "The gallery field has undergone a much needed facelift" +#~ msgstr "Pola galerii przeszły niezbędny facelifting" + +#~ msgid "Relationship Field" +#~ msgstr "Pole relacji" + +#~ msgid "" +#~ "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" +#~ msgstr "" +#~ "Nowe ustawienia pola relacji dla \"Filtrów\" (Wyszukiwarka, Typ Wpisu, " +#~ "Taksonomia)" + +#~ msgid "New archives group in page_link field selection" +#~ msgstr "Nowe grupy archiwów do wyboru dla pola page_link" + +#~ msgid "Better Options Pages" +#~ msgstr "Lepsze strony opcji" + +#~ msgid "" +#~ "New functions for options page allow creation of both parent and child " +#~ "menu pages" +#~ msgstr "" +#~ "Nowe funkcje dla strony opcji pozwalają tworzyć strony w menu będące " +#~ "rodzicami oraz potomnymi." + #~ msgid "Parent fields" #~ msgstr "Pola nadrzędne" @@ -3503,9 +3596,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "elliot condon" #~ msgstr "elliot condon" -#~ msgid "Import / Export" -#~ msgstr "Import / Eksport" - #, fuzzy #~ msgid "Field groups are created in order from lowest to highest" #~ msgstr "" diff --git a/lang/acf-pt_PT.mo b/lang/acf-pt_PT.mo index 055c498..772cbbb 100644 Binary files a/lang/acf-pt_PT.mo and b/lang/acf-pt_PT.mo differ diff --git a/lang/acf-pt_PT.po b/lang/acf-pt_PT.po index 3238426..be356a8 100644 --- a/lang/acf-pt_PT.po +++ b/lang/acf-pt_PT.po @@ -4,8 +4,8 @@ msgid "" msgstr "" "Project-Id-Version: Advanced Custom Fields PRO\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" -"POT-Creation-Date: 2018-07-12 13:44+1000\n" -"PO-Revision-Date: 2018-07-12 10:57+0100\n" +"POT-Creation-Date: 2018-10-15 08:51+0100\n" +"PO-Revision-Date: 2018-10-15 08:52+0100\n" "Last-Translator: Pedro Mendonça \n" "Language-Team: Pedro Mendonça \n" "Language: pt_PT\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.0.8\n" +"X-Generator: Poedit 2.2\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" "X-Textdomain-Support: yes\n" @@ -26,92 +26,91 @@ msgstr "" msgid "Advanced Custom Fields" msgstr "Advanced Custom Fields" -#: acf.php:387 includes/admin/admin.php:117 +#: acf.php:386 includes/admin/admin.php:117 msgid "Field Groups" msgstr "Grupos de campos" -#: acf.php:388 +#: acf.php:387 msgid "Field Group" msgstr "Grupo de campos" -#: acf.php:389 acf.php:421 includes/admin/admin.php:118 +#: acf.php:388 acf.php:420 includes/admin/admin.php:118 #: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New" msgstr "Adicionar novo" -#: acf.php:390 +#: acf.php:389 msgid "Add New Field Group" msgstr "Adicionar novo grupo de campos" -#: acf.php:391 +#: acf.php:390 msgid "Edit Field Group" msgstr "Editar grupo de campos" -#: acf.php:392 +#: acf.php:391 msgid "New Field Group" msgstr "Novo grupo de campos" -#: acf.php:393 +#: acf.php:392 msgid "View Field Group" msgstr "Ver grupo de campos" -#: acf.php:394 +#: acf.php:393 msgid "Search Field Groups" msgstr "Pesquisar grupos de campos" -#: acf.php:395 +#: acf.php:394 msgid "No Field Groups found" msgstr "Nenhum grupo de campos encontrado" -#: acf.php:396 +#: acf.php:395 msgid "No Field Groups found in Trash" msgstr "Nenhum grupo de campos encontrado no lixo" -#: acf.php:419 includes/admin/admin-field-group.php:202 -#: includes/admin/admin-field-groups.php:510 +#: acf.php:418 includes/admin/admin-field-group.php:202 +#: includes/admin/admin-field-groups.php:525 #: pro/fields/class-acf-field-clone.php:811 msgid "Fields" msgstr "Campos" -#: acf.php:420 +#: acf.php:419 msgid "Field" msgstr "Campo" -#: acf.php:422 +#: acf.php:421 msgid "Add New Field" msgstr "Adicionar novo campo" -#: acf.php:423 +#: acf.php:422 msgid "Edit Field" msgstr "Editar campo" -#: acf.php:424 includes/admin/views/field-group-fields.php:41 -#: includes/admin/views/settings-info.php:105 +#: acf.php:423 includes/admin/views/field-group-fields.php:41 msgid "New Field" msgstr "Novo campo" -#: acf.php:425 +#: acf.php:424 msgid "View Field" msgstr "Ver campo" -#: acf.php:426 +#: acf.php:425 msgid "Search Fields" msgstr "Pesquisar campos" -#: acf.php:427 +#: acf.php:426 msgid "No Fields found" msgstr "Nenhum campo encontrado" -#: acf.php:428 +#: acf.php:427 msgid "No Fields found in Trash" msgstr "Nenhum campo encontrado no lixo" -#: acf.php:467 includes/admin/admin-field-group.php:384 -#: includes/admin/admin-field-groups.php:567 +#: acf.php:466 includes/admin/admin-field-group.php:384 +#: includes/admin/admin-field-groups.php:582 msgid "Inactive" msgstr "Inactivo" -#: acf.php:472 +#: acf.php:471 #, php-format msgid "Inactive (%s)" msgid_plural "Inactive (%s)" @@ -176,7 +175,7 @@ msgstr "Mover campo personalizado" msgid "Checked" msgstr "Seleccionado" -#: includes/admin/admin-field-group.php:160 includes/api/api-field.php:289 +#: includes/admin/admin-field-group.php:160 includes/api/api-field.php:320 msgid "(no label)" msgstr "(sem legenda)" @@ -194,7 +193,7 @@ msgstr "cópia" #: includes/admin/views/field-group-field-conditional-logic.php:151 #: includes/admin/views/field-group-locations.php:29 #: includes/admin/views/html-location-group.php:3 -#: includes/api/api-helpers.php:4165 +#: includes/api/api-helpers.php:4033 msgid "or" msgstr "ou" @@ -220,157 +219,158 @@ msgstr "Chaves dos campos" msgid "Active" msgstr "Activo" -#: includes/admin/admin-field-group.php:760 +#: includes/admin/admin-field-group.php:746 msgid "Move Complete." msgstr "Movido com sucesso." -#: includes/admin/admin-field-group.php:761 +#: includes/admin/admin-field-group.php:747 #, php-format msgid "The %s field can now be found in the %s field group" msgstr "O campo %s pode agora ser encontrado no grupo de campos %s" -#: includes/admin/admin-field-group.php:762 +#: includes/admin/admin-field-group.php:748 msgid "Close Window" msgstr "Fechar janela" -#: includes/admin/admin-field-group.php:803 +#: includes/admin/admin-field-group.php:789 msgid "Please select the destination for this field" msgstr "Por favor seleccione o destinho para este campo" -#: includes/admin/admin-field-group.php:810 +#: includes/admin/admin-field-group.php:796 msgid "Move Field" msgstr "Mover campo" -#: includes/admin/admin-field-groups.php:74 +#: includes/admin/admin-field-groups.php:89 #, php-format msgid "Active (%s)" msgid_plural "Active (%s)" msgstr[0] "Activo (%s)" msgstr[1] "Activos (%s)" -#: includes/admin/admin-field-groups.php:142 +#: includes/admin/admin-field-groups.php:157 #, php-format msgid "Field group duplicated. %s" msgstr "Grupo de campos duplicado. %s" -#: includes/admin/admin-field-groups.php:146 +#: includes/admin/admin-field-groups.php:161 #, php-format msgid "%s field group duplicated." msgid_plural "%s field groups duplicated." msgstr[0] "%s grupo de campos duplicado." msgstr[1] "%s grupos de campos duplicados." -#: includes/admin/admin-field-groups.php:227 +#: includes/admin/admin-field-groups.php:242 #, php-format msgid "Field group synchronised. %s" msgstr "Grupo de campos sincronizado. %s" -#: includes/admin/admin-field-groups.php:231 +#: includes/admin/admin-field-groups.php:246 #, php-format msgid "%s field group synchronised." msgid_plural "%s field groups synchronised." msgstr[0] "%s grupo de campos sincronizado." msgstr[1] "%s grupos de campos sincronizados." -#: includes/admin/admin-field-groups.php:394 -#: includes/admin/admin-field-groups.php:557 +#: includes/admin/admin-field-groups.php:409 +#: includes/admin/admin-field-groups.php:572 msgid "Sync available" msgstr "Sincronização disponível" -#: includes/admin/admin-field-groups.php:507 includes/forms/form-front.php:38 -#: pro/fields/class-acf-field-gallery.php:370 +#: includes/admin/admin-field-groups.php:522 includes/forms/form-front.php:38 +#: pro/fields/class-acf-field-gallery.php:372 msgid "Title" msgstr "Título" -#: includes/admin/admin-field-groups.php:508 +#: includes/admin/admin-field-groups.php:523 #: includes/admin/views/field-group-options.php:96 -#: includes/admin/views/install-network.php:21 -#: includes/admin/views/install-network.php:29 -#: pro/fields/class-acf-field-gallery.php:397 +#: includes/admin/views/html-admin-page-upgrade-network.php:38 +#: includes/admin/views/html-admin-page-upgrade-network.php:49 +#: pro/fields/class-acf-field-gallery.php:399 msgid "Description" msgstr "Descrição" -#: includes/admin/admin-field-groups.php:509 +#: includes/admin/admin-field-groups.php:524 msgid "Status" msgstr "Estado" #. Description of the plugin/theme -#: includes/admin/admin-field-groups.php:607 -msgid "Customise WordPress with powerful, professional and intuitive fields." +#: includes/admin/admin-field-groups.php:622 +msgid "Customize WordPress with powerful, professional and intuitive fields." msgstr "Personalize o WordPress com campos intuitivos, poderosos e profissionais." -#: includes/admin/admin-field-groups.php:609 +#: includes/admin/admin-field-groups.php:624 #: includes/admin/settings-info.php:76 #: pro/admin/views/html-settings-updates.php:107 msgid "Changelog" msgstr "Registo de alterações" -#: includes/admin/admin-field-groups.php:614 +#: includes/admin/admin-field-groups.php:629 #, php-format msgid "See what's new in version %s." msgstr "Veja o que há de novo na versão %s." -#: includes/admin/admin-field-groups.php:617 +#: includes/admin/admin-field-groups.php:632 msgid "Resources" msgstr "Recursos" -#: includes/admin/admin-field-groups.php:619 +#: includes/admin/admin-field-groups.php:634 msgid "Website" msgstr "Site" -#: includes/admin/admin-field-groups.php:620 +#: includes/admin/admin-field-groups.php:635 msgid "Documentation" msgstr "Documentação" -#: includes/admin/admin-field-groups.php:621 +#: includes/admin/admin-field-groups.php:636 msgid "Support" msgstr "Suporte" -#: includes/admin/admin-field-groups.php:623 +#: includes/admin/admin-field-groups.php:638 +#: includes/admin/views/settings-info.php:84 msgid "Pro" msgstr "Pro" -#: includes/admin/admin-field-groups.php:628 +#: includes/admin/admin-field-groups.php:643 #, php-format msgid "Thank you for creating with ACF." msgstr "Obrigado por criar com o ACF." -#: includes/admin/admin-field-groups.php:667 +#: includes/admin/admin-field-groups.php:682 msgid "Duplicate this item" msgstr "Duplicar este item" -#: includes/admin/admin-field-groups.php:667 -#: includes/admin/admin-field-groups.php:683 +#: includes/admin/admin-field-groups.php:682 +#: includes/admin/admin-field-groups.php:698 #: includes/admin/views/field-group-field.php:46 #: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate" msgstr "Duplicar" -#: includes/admin/admin-field-groups.php:700 -#: includes/fields/class-acf-field-google-map.php:164 -#: includes/fields/class-acf-field-relationship.php:674 +#: includes/admin/admin-field-groups.php:715 +#: includes/fields/class-acf-field-google-map.php:165 +#: includes/fields/class-acf-field-relationship.php:593 msgid "Search" msgstr "Pesquisa" -#: includes/admin/admin-field-groups.php:759 +#: includes/admin/admin-field-groups.php:774 #, php-format msgid "Select %s" msgstr "Seleccionar %s" -#: includes/admin/admin-field-groups.php:767 +#: includes/admin/admin-field-groups.php:782 msgid "Synchronise field group" msgstr "Sincronizar grupo de campos" -#: includes/admin/admin-field-groups.php:767 -#: includes/admin/admin-field-groups.php:797 +#: includes/admin/admin-field-groups.php:782 +#: includes/admin/admin-field-groups.php:812 msgid "Sync" msgstr "Sincronizar" -#: includes/admin/admin-field-groups.php:779 +#: includes/admin/admin-field-groups.php:794 msgid "Apply" msgstr "Aplicar" -#: includes/admin/admin-field-groups.php:797 +#: includes/admin/admin-field-groups.php:812 msgid "Bulk Actions" msgstr "Acções por lotes" @@ -379,28 +379,22 @@ msgstr "Acções por lotes" msgid "Tools" msgstr "Ferramentas" +#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94 +#: includes/admin/admin-upgrade.php:156 +#: includes/admin/views/html-admin-page-upgrade-network.php:24 +#: includes/admin/views/html-admin-page-upgrade.php:26 +msgid "Upgrade Database" +msgstr "Actualizar base de dados" + +#: includes/admin/admin-upgrade.php:180 +msgid "Review sites & upgrade" +msgstr "Rever sites e actualizar" + #: includes/admin/admin.php:113 #: includes/admin/views/field-group-options.php:110 msgid "Custom Fields" msgstr "Campos personalizados" -#: includes/admin/install-network.php:88 includes/admin/install.php:70 -#: includes/admin/install.php:121 -msgid "Upgrade Database" -msgstr "Actualizar base de dados" - -#: includes/admin/install-network.php:140 -msgid "Review sites & upgrade" -msgstr "Rever sites e actualizar" - -#: includes/admin/install.php:187 -msgid "Error validating request" -msgstr "Erro ao validar pedido." - -#: includes/admin/install.php:210 includes/admin/views/install.php:104 -msgid "No updates available." -msgstr "Nenhuma actualização disponível." - #: includes/admin/settings-addons.php:51 #: includes/admin/views/settings-addons.php:3 msgid "Add-ons" @@ -515,7 +509,7 @@ msgid "Show this field if" msgstr "Mostrar este campo se" #: includes/admin/views/field-group-field-conditional-logic.php:138 -#: includes/admin/views/html-location-rule.php:80 +#: includes/admin/views/html-location-rule.php:86 msgid "and" msgstr "e" @@ -539,7 +533,7 @@ msgstr "Editar campo" #: includes/fields/class-acf-field-file.php:152 #: includes/fields/class-acf-field-image.php:139 #: includes/fields/class-acf-field-link.php:139 -#: pro/fields/class-acf-field-gallery.php:357 +#: pro/fields/class-acf-field-gallery.php:359 msgid "Edit" msgstr "Editar" @@ -624,13 +618,13 @@ msgstr "Ordem" #: includes/fields/class-acf-field-button-group.php:198 #: includes/fields/class-acf-field-checkbox.php:420 #: includes/fields/class-acf-field-radio.php:311 -#: includes/fields/class-acf-field-select.php:439 +#: includes/fields/class-acf-field-select.php:428 #: pro/fields/class-acf-field-flexible-content.php:596 msgid "Label" msgstr "Legenda" #: includes/admin/views/field-group-fields.php:6 -#: includes/fields/class-acf-field-taxonomy.php:960 +#: includes/fields/class-acf-field-taxonomy.php:939 #: pro/fields/class-acf-field-flexible-content.php:610 msgid "Name" msgstr "Nome" @@ -766,7 +760,7 @@ msgid "Page Attributes" msgstr "Atributos da página" #: includes/admin/views/field-group-options.php:118 -#: includes/fields/class-acf-field-relationship.php:688 +#: includes/fields/class-acf-field-relationship.php:607 msgid "Featured Image" msgstr "Imagem de destaque" @@ -794,104 +788,117 @@ msgstr "Seleccione os itens a esconder do ecrã de edição." msgid "If multiple field groups appear on an edit screen, the first field group's options will be used (the one with the lowest order number)" msgstr "Se forem mostrados vários grupos de campos num ecrã de edição, serão utilizadas as opções do primeiro grupo de campos. (o que tiver menor número de ordem)" -#: includes/admin/views/html-location-group.php:3 -msgid "Show this field group if" -msgstr "Mostrar este grupo de campos se" - -#: includes/admin/views/install-network.php:4 -msgid "Upgrade Sites" -msgstr "Actualizar sites" - -#: includes/admin/views/install-network.php:9 -#: includes/admin/views/install.php:3 -msgid "Advanced Custom Fields Database Upgrade" -msgstr "Actualização da base de dados do Advanced Custom Fields" - -#: includes/admin/views/install-network.php:11 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 #, php-format msgid "The following sites require a DB upgrade. Check the ones you want to update and then click %s." msgstr "Os sites seguintes necessitam de actualização da BD. Seleccione os que quer actualizar e clique em %s." -#: includes/admin/views/install-network.php:20 -#: includes/admin/views/install-network.php:28 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 +#: includes/admin/views/html-admin-page-upgrade-network.php:27 +#: includes/admin/views/html-admin-page-upgrade-network.php:92 +msgid "Upgrade Sites" +msgstr "Actualizar sites" + +#: includes/admin/views/html-admin-page-upgrade-network.php:36 +#: includes/admin/views/html-admin-page-upgrade-network.php:47 msgid "Site" msgstr "Site" -#: includes/admin/views/install-network.php:48 +#: includes/admin/views/html-admin-page-upgrade-network.php:74 #, php-format msgid "Site requires database upgrade from %s to %s" msgstr "O site necessita de actualizar a base de dados de %s para %s" -#: includes/admin/views/install-network.php:50 +#: includes/admin/views/html-admin-page-upgrade-network.php:76 msgid "Site is up to date" msgstr "O site está actualizado" -#: includes/admin/views/install-network.php:63 +#: includes/admin/views/html-admin-page-upgrade-network.php:93 #, php-format msgid "Database Upgrade complete. Return to network dashboard" msgstr "Actualização da base de dados concluída. Voltar ao painel da rede" -#: includes/admin/views/install-network.php:102 -#: includes/admin/views/install-notice.php:42 +#: includes/admin/views/html-admin-page-upgrade-network.php:113 +msgid "Please select at least one site to upgrade." +msgstr "Por favor, seleccione pelo menos um site para actualizar." + +#: includes/admin/views/html-admin-page-upgrade-network.php:117 +#: includes/admin/views/html-notice-upgrade.php:38 msgid "It is strongly recommended that you backup your database before proceeding. Are you sure you wish to run the updater now?" msgstr "É recomendável que faça uma cópia de segurança da sua base de dados antes de continuar. Tem a certeza que quer actualizar agora?" -#: includes/admin/views/install-network.php:158 -msgid "Upgrade complete" -msgstr "Actualização concluída" - -#: includes/admin/views/install-network.php:162 -#: includes/admin/views/install.php:9 +#: includes/admin/views/html-admin-page-upgrade-network.php:144 +#: includes/admin/views/html-admin-page-upgrade.php:31 #, php-format msgid "Upgrading data to version %s" msgstr "A actualizar dados para a versão %s" -#: includes/admin/views/install-notice.php:8 +#: includes/admin/views/html-admin-page-upgrade-network.php:167 +msgid "Upgrade complete." +msgstr "Actualização concluída." + +#: includes/admin/views/html-admin-page-upgrade-network.php:176 +#: includes/admin/views/html-admin-page-upgrade-network.php:185 +#: includes/admin/views/html-admin-page-upgrade.php:78 +#: includes/admin/views/html-admin-page-upgrade.php:87 +msgid "Upgrade failed." +msgstr "Falhou ao actualizar." + +#: includes/admin/views/html-admin-page-upgrade.php:30 +msgid "Reading upgrade tasks..." +msgstr "A ler tarefas de actualização..." + +#: includes/admin/views/html-admin-page-upgrade.php:33 +#, php-format +msgid "Database upgrade complete. See what's new" +msgstr "Actualização da base de dados concluída. Ver o que há de novo" + +#: includes/admin/views/html-admin-page-upgrade.php:116 +#: includes/ajax/class-acf-ajax-upgrade.php:33 +msgid "No updates available." +msgstr "Nenhuma actualização disponível." + +#: includes/admin/views/html-location-group.php:3 +msgid "Show this field group if" +msgstr "Mostrar este grupo de campos se" + +#: includes/admin/views/html-notice-upgrade.php:8 #: pro/fields/class-acf-field-repeater.php:25 msgid "Repeater" msgstr "Repetidor" -#: includes/admin/views/install-notice.php:9 +#: includes/admin/views/html-notice-upgrade.php:9 #: pro/fields/class-acf-field-flexible-content.php:25 msgid "Flexible Content" msgstr "Conteúdo flexível" -#: includes/admin/views/install-notice.php:10 +#: includes/admin/views/html-notice-upgrade.php:10 #: pro/fields/class-acf-field-gallery.php:25 msgid "Gallery" msgstr "Galeria" -#: includes/admin/views/install-notice.php:11 +#: includes/admin/views/html-notice-upgrade.php:11 #: pro/locations/class-acf-location-options-page.php:26 msgid "Options Page" msgstr "Página de opções" -#: includes/admin/views/install-notice.php:26 +#: includes/admin/views/html-notice-upgrade.php:21 msgid "Database Upgrade Required" msgstr "Actualização da base de dados necessária" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 #, php-format msgid "Thank you for updating to %s v%s!" msgstr "Obrigado por actualizar para o %s v%s!" -#: includes/admin/views/install-notice.php:28 -msgid "Before you start using the new awesome features, please update your database to the newest version." -msgstr "Antes de começar a utilizar as incríveis novas funcionalidades, por favor actualize a sua base de dados para a versão mais recente." +#: includes/admin/views/html-notice-upgrade.php:22 +msgid "This version contains improvements to your database and requires an upgrade." +msgstr "Esta versão inclui melhorias na base de dados e requer uma actualização." -#: includes/admin/views/install-notice.php:31 +#: includes/admin/views/html-notice-upgrade.php:24 #, php-format -msgid "Please also ensure any premium add-ons (%s) have first been updated to the latest version." -msgstr "Por favor, em primeiro lugar certifique-se de actualizar todos os add-ons premium (%s) para a última versão." - -#: includes/admin/views/install.php:7 -msgid "Reading upgrade tasks..." -msgstr "A ler tarefas de actualização..." - -#: includes/admin/views/install.php:11 -#, php-format -msgid "Database Upgrade complete. See what's new" -msgstr "Actualização da base de dados concluída. Ver o que há de novo" +msgid "Please also check all premium add-ons (%s) are updated to the latest version." +msgstr "Por favor, verifique se todos os add-ons premium (%s) estão actualizados para a última versão." #: includes/admin/views/settings-addons.php:17 msgid "Download & Install" @@ -910,385 +917,384 @@ msgstr "Bem-vindo ao Advanced Custom Fields" msgid "Thank you for updating! ACF %s is bigger and better than ever before. We hope you like it." msgstr "Obrigado por actualizar! O ACF %s está maior e melhor do que nunca. Esperamos que goste." -#: includes/admin/views/settings-info.php:17 -msgid "A smoother custom field experience" -msgstr "Uma experiência mais fácil com campos personalizados" +#: includes/admin/views/settings-info.php:15 +msgid "A Smoother Experience" +msgstr "Uma experiência mais fácil" -#: includes/admin/views/settings-info.php:22 +#: includes/admin/views/settings-info.php:19 msgid "Improved Usability" msgstr "Usabilidade melhorada" -#: includes/admin/views/settings-info.php:23 +#: includes/admin/views/settings-info.php:20 msgid "Including the popular Select2 library has improved both usability and speed across a number of field types including post object, page link, taxonomy and select." msgstr "A inclusão da popular biblioteca Select2 melhorou a usabilidade e a velocidade de tipos de campos como conteúdo, ligação de página, taxonomia e selecção." -#: includes/admin/views/settings-info.php:27 +#: includes/admin/views/settings-info.php:24 msgid "Improved Design" msgstr "Design melhorado" -#: includes/admin/views/settings-info.php:28 +#: includes/admin/views/settings-info.php:25 msgid "Many fields have undergone a visual refresh to make ACF look better than ever! Noticeable changes are seen on the gallery, relationship and oEmbed (new) fields!" msgstr "Muitos campos sofreram alterações visuais para que a aparência do ACF esteja melhor que nunca! Alterações notáveis nos campos de galeria, relação e oEmbed (novo)!" -#: includes/admin/views/settings-info.php:32 +#: includes/admin/views/settings-info.php:29 msgid "Improved Data" msgstr "Dados melhorados" -#: includes/admin/views/settings-info.php:33 +#: includes/admin/views/settings-info.php:30 msgid "Redesigning the data architecture has allowed sub fields to live independently from their parents. This allows you to drag and drop fields in and out of parent fields!" msgstr "A reformulação da arquitectura dos dados permite que os subcampos existam independentemente dos seus superiores. Isto permite-lhe arrastar e largar campos para dentro e para fora de campos superiores!" -#: includes/admin/views/settings-info.php:39 +#: includes/admin/views/settings-info.php:38 msgid "Goodbye Add-ons. Hello PRO" msgstr "Adeus add-ons. Olá PRO." -#: includes/admin/views/settings-info.php:44 +#: includes/admin/views/settings-info.php:41 msgid "Introducing ACF PRO" msgstr "Introdução ao ACF PRO" -#: includes/admin/views/settings-info.php:45 +#: includes/admin/views/settings-info.php:42 msgid "We're changing the way premium functionality is delivered in an exciting way!" msgstr "Estamos a alterar o modo como as funcionalidades premium são distribuídas!" -#: includes/admin/views/settings-info.php:46 +#: includes/admin/views/settings-info.php:43 #, php-format msgid "All 4 premium add-ons have been combined into a new Pro version of ACF. With both personal and developer licenses available, premium functionality is more affordable and accessible than ever before!" msgstr "Todos os 4 add-ons premium foram combinados numa única versão Pro do ACF. Com licenças pessoais e para programadores, as funcionalidades premium estão agora mais acessíveis que nunca!" -#: includes/admin/views/settings-info.php:50 +#: includes/admin/views/settings-info.php:47 msgid "Powerful Features" msgstr "Funcionalidades poderosas" -#: includes/admin/views/settings-info.php:51 +#: includes/admin/views/settings-info.php:48 msgid "ACF PRO contains powerful features such as repeatable data, flexible content layouts, a beautiful gallery field and the ability to create extra admin options pages!" msgstr "O ACF PRO tem funcionalidades poderosas, tais como dados repetíveis, layouts de conteúdo flexível, um campo de galeria e a possibilidade de criar páginas de opções de administração adicionais!" -#: includes/admin/views/settings-info.php:52 +#: includes/admin/views/settings-info.php:49 #, php-format msgid "Read more about ACF PRO features." msgstr "Mais informações sobre as funcionalidades do ACF PRO." -#: includes/admin/views/settings-info.php:56 +#: includes/admin/views/settings-info.php:53 msgid "Easy Upgrading" msgstr "Actualização fácil" -#: includes/admin/views/settings-info.php:57 -#, php-format -msgid "To help make upgrading easy, login to your store account and claim a free copy of ACF PRO!" -msgstr "Para facilitar a actualização, inicie sessão na sua conta da loja e obtenha uma cópia gratuita do ACF PRO!" +#: includes/admin/views/settings-info.php:54 +msgid "Upgrading to ACF PRO is easy. Simply purchase a license online and download the plugin!" +msgstr "É fácil actualizar para o ACF PRO. Basta comprar uma licença online e descarregar o plugin!" -#: includes/admin/views/settings-info.php:58 +#: includes/admin/views/settings-info.php:55 #, php-format -msgid "We also wrote an upgrade guide to answer any questions, but if you do have one, please contact our support team via the help desk" +msgid "We also wrote an upgrade guide to answer any questions, but if you do have one, please contact our support team via the help desk." msgstr "Escrevemos um guia de actualização para responder a todas as dúvidas, se tiver alguma questão, por favor contacte a nossa equipa de suporte através da central de ajuda." -#: includes/admin/views/settings-info.php:66 -msgid "Under the Hood" -msgstr "Nos bastidores" +#: includes/admin/views/settings-info.php:64 +msgid "New Features" +msgstr "Novas funcionalidades" -#: includes/admin/views/settings-info.php:71 -msgid "Smarter field settings" -msgstr "Definições mais inteligentes dos campos" +#: includes/admin/views/settings-info.php:69 +msgid "Link Field" +msgstr "Campo de ligação" -#: includes/admin/views/settings-info.php:72 -msgid "ACF now saves its field settings as individual post objects" -msgstr "O ACF agora guarda as suas definições de campos como conteúdos individuais" +#: includes/admin/views/settings-info.php:70 +msgid "The Link field provides a simple way to select or define a link (url, title, target)." +msgstr "O campo de ligação permite facilmente seleccionar ou definir uma ligação (URL, título, destino)." -#: includes/admin/views/settings-info.php:76 +#: includes/admin/views/settings-info.php:74 +msgid "Group Field" +msgstr "Campo de grupo" + +#: includes/admin/views/settings-info.php:75 +msgid "The Group field provides a simple way to create a group of fields." +msgstr "O campo de grupo permite facilmente criar um grupo de campos." + +#: includes/admin/views/settings-info.php:79 +msgid "oEmbed Field" +msgstr "Campo de oEmbed" + +#: includes/admin/views/settings-info.php:80 +msgid "The oEmbed field allows an easy way to embed videos, images, tweets, audio, and other content." +msgstr "O campo de oEmbed permite facilmente incorporar vídeos, imagens, tweets, áudio ou outros conteúdos." + +#: includes/admin/views/settings-info.php:84 +msgid "Clone Field" +msgstr "Campo de clone" + +#: includes/admin/views/settings-info.php:85 +msgid "The clone field allows you to select and display existing fields." +msgstr "O campo de clone permite seleccionar e mostrar campos existentes." + +#: includes/admin/views/settings-info.php:89 msgid "More AJAX" msgstr "Mais AJAX" -#: includes/admin/views/settings-info.php:77 -msgid "More fields use AJAX powered search to speed up page loading" -msgstr "Mais campos utilizam pesquisa com AJAX para aumentar a velocidade de carregamento" +#: includes/admin/views/settings-info.php:90 +msgid "More fields use AJAX powered search to speed up page loading." +msgstr "Mais campos utilizam pesquisa com AJAX para aumentar a velocidade de carregamento." -#: includes/admin/views/settings-info.php:81 +#: includes/admin/views/settings-info.php:94 msgid "Local JSON" msgstr "JSON local" -#: includes/admin/views/settings-info.php:82 -msgid "New auto export to JSON feature improves speed" -msgstr "Nova funcionalidade de exportação automática para JSON melhora a velocidade" - -#: includes/admin/views/settings-info.php:88 -msgid "Better version control" -msgstr "Melhor controlo de versões" - -#: includes/admin/views/settings-info.php:89 -msgid "New auto export to JSON feature allows field settings to be version controlled" -msgstr "Nova funcionalidade de exportação automática para JSON permite que as definições sejam controladas por versão" - -#: includes/admin/views/settings-info.php:93 -msgid "Swapped XML for JSON" -msgstr "XML substituído por JSON" - -#: includes/admin/views/settings-info.php:94 -msgid "Import / Export now uses JSON in favour of XML" -msgstr "Importar / Exportar agora utiliza JSON em vez de XML" - -#: includes/admin/views/settings-info.php:98 -msgid "New Forms" -msgstr "Novos formulários" +#: includes/admin/views/settings-info.php:95 +msgid "New auto export to JSON feature improves speed and allows for syncronisation." +msgstr "Nova funcionalidade de exportação automática para JSON melhora a velocidade e permite sincronização." #: includes/admin/views/settings-info.php:99 -msgid "Fields can now be mapped to comments, widgets and all user forms!" -msgstr "Os campos agora podem ser mapeados para comentários, widgets e formulários de utilizador!" +msgid "Easy Import / Export" +msgstr "Fácil importação e exportação" -#: includes/admin/views/settings-info.php:106 -msgid "A new field for embedding content has been added" -msgstr "Foi adicionado um novo campo para incorporar conteúdos" +#: includes/admin/views/settings-info.php:100 +msgid "Both import and export can easily be done through a new tools page." +msgstr "Pode facilmente importar e exportar a partir da nova página de ferramentas." + +#: includes/admin/views/settings-info.php:104 +msgid "New Form Locations" +msgstr "Novas localizações de formulários" + +#: includes/admin/views/settings-info.php:105 +msgid "Fields can now be mapped to menus, menu items, comments, widgets and all user forms!" +msgstr "Os campos agora podem ser mapeados para menus, itens de menu, comentários, widgets e formulários de utilizador!" + +#: includes/admin/views/settings-info.php:109 +msgid "More Customization" +msgstr "Maior personalização" #: includes/admin/views/settings-info.php:110 -msgid "New Gallery" -msgstr "Nova galeria" +msgid "New PHP (and JS) actions and filters have been added to allow for more customization." +msgstr "Foram adicionadas novas acções e filtros de PHP (e JS) para permitir maior personalização." -#: includes/admin/views/settings-info.php:111 -msgid "The gallery field has undergone a much needed facelift" -msgstr "O campo de galeria sofreu alterações de cosmética importantes." +#: includes/admin/views/settings-info.php:114 +msgid "Fresh UI" +msgstr "Nova interface" #: includes/admin/views/settings-info.php:115 +msgid "The entire plugin has had a design refresh including new field types, settings and design!" +msgstr "Toda a interface do plugin foi actualizada, incluindo novos tipos de campos, definições e design!" + +#: includes/admin/views/settings-info.php:119 msgid "New Settings" msgstr "Novas definições" -#: includes/admin/views/settings-info.php:116 -msgid "Field group settings have been added for label placement and instruction placement" -msgstr "Foram adicionadas definições aos grupos de campos para a posição da legenda e instruções." +#: includes/admin/views/settings-info.php:120 +msgid "Field group settings have been added for Active, Label Placement, Instructions Placement and Description." +msgstr "Foram adicionadas definições aos grupos de campos, tais como activação, posição da legenda, posição das instruções e descrição." -#: includes/admin/views/settings-info.php:122 +#: includes/admin/views/settings-info.php:124 msgid "Better Front End Forms" msgstr "Melhores formulários para o seu site" -#: includes/admin/views/settings-info.php:123 -msgid "acf_form() can now create a new post on submission" -msgstr "Com acf_form() agora pode criar um novo conteúdo ao submeter." +#: includes/admin/views/settings-info.php:125 +msgid "acf_form() can now create a new post on submission with lots of new settings." +msgstr "Com acf_form() agora pode criar um novo conteúdo ao submeter, com muito mais definições." -#: includes/admin/views/settings-info.php:127 +#: includes/admin/views/settings-info.php:129 msgid "Better Validation" msgstr "Melhor validação" -#: includes/admin/views/settings-info.php:128 -msgid "Form validation is now done via PHP + AJAX in favour of only JS" +#: includes/admin/views/settings-info.php:130 +msgid "Form validation is now done via PHP + AJAX in favour of only JS." msgstr "A validação de formulários agora é feita com PHP + AJAX em vez de apenas JS." -#: includes/admin/views/settings-info.php:132 -msgid "Relationship Field" -msgstr "Campo de relação" - -#: includes/admin/views/settings-info.php:133 -msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" -msgstr "Nova definição 'Filtros' do campo Relação (Pesquisa, Tipo de conteúdo, Taxonomia)." - -#: includes/admin/views/settings-info.php:139 +#: includes/admin/views/settings-info.php:134 msgid "Moving Fields" msgstr "Mover campos" -#: includes/admin/views/settings-info.php:140 -msgid "New field group functionality allows you to move a field between groups & parents" +#: includes/admin/views/settings-info.php:135 +msgid "New field group functionality allows you to move a field between groups & parents." msgstr "Nova funcionalidade de grupo de campos permite mover um campo entre grupos e superiores." -#: includes/admin/views/settings-info.php:144 -#: includes/fields/class-acf-field-page_link.php:25 -msgid "Page Link" -msgstr "Ligação de página" - -#: includes/admin/views/settings-info.php:145 -msgid "New archives group in page_link field selection" -msgstr "Novo grupo Arquivo no campo de selecção da ligação de página." - -#: includes/admin/views/settings-info.php:149 -msgid "Better Options Pages" -msgstr "Melhores páginas de opções" - -#: includes/admin/views/settings-info.php:150 -msgid "New functions for options page allow creation of both parent and child menu pages" -msgstr "Novas funções para as páginas de opções permitem a criação de páginas superiores e dependentes." - -#: includes/admin/views/settings-info.php:159 +#: includes/admin/views/settings-info.php:146 #, php-format msgid "We think you'll love the changes in %s." msgstr "Pensamos que vai gostar das alterações na versão %s." -#: includes/api/api-helpers.php:1039 +#: includes/api/api-helpers.php:1046 msgid "Thumbnail" msgstr "Miniatura" -#: includes/api/api-helpers.php:1040 +#: includes/api/api-helpers.php:1047 msgid "Medium" msgstr "Média" -#: includes/api/api-helpers.php:1041 +#: includes/api/api-helpers.php:1048 msgid "Large" msgstr "Grande" -#: includes/api/api-helpers.php:1090 +#: includes/api/api-helpers.php:1097 msgid "Full Size" msgstr "Tamanho original" -#: includes/api/api-helpers.php:1431 includes/api/api-helpers.php:2004 +#: includes/api/api-helpers.php:1872 includes/api/api-term.php:147 #: pro/fields/class-acf-field-clone.php:996 msgid "(no title)" msgstr "(sem título)" -#: includes/api/api-helpers.php:4086 +#: includes/api/api-helpers.php:3954 #, php-format msgid "Image width must be at least %dpx." msgstr "A largura da imagem deve ser pelo menos de %dpx." -#: includes/api/api-helpers.php:4091 +#: includes/api/api-helpers.php:3959 #, php-format msgid "Image width must not exceed %dpx." msgstr "A largura da imagem não deve exceder os %dpx." -#: includes/api/api-helpers.php:4107 +#: includes/api/api-helpers.php:3975 #, php-format msgid "Image height must be at least %dpx." msgstr "A altura da imagem deve ser pelo menos de %dpx." -#: includes/api/api-helpers.php:4112 +#: includes/api/api-helpers.php:3980 #, php-format msgid "Image height must not exceed %dpx." msgstr "A altura da imagem não deve exceder os %dpx." -#: includes/api/api-helpers.php:4130 +#: includes/api/api-helpers.php:3998 #, php-format msgid "File size must be at least %s." msgstr "O tamanho do ficheiro deve ser pelo menos de %s." -#: includes/api/api-helpers.php:4135 +#: includes/api/api-helpers.php:4003 #, php-format msgid "File size must must not exceed %s." msgstr "O tamanho do ficheiro não deve exceder %s." -#: includes/api/api-helpers.php:4169 +#: includes/api/api-helpers.php:4037 #, php-format msgid "File type must be %s." msgstr "O tipo de ficheiro deve ser %s." -#: includes/assets.php:172 +#: includes/assets.php:168 msgid "The changes you made will be lost if you navigate away from this page" msgstr "As alterações que fez serão ignoradas se navegar para fora desta página." -#: includes/assets.php:175 includes/fields/class-acf-field-select.php:259 +#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259 msgctxt "verb" msgid "Select" msgstr "Seleccionar" -#: includes/assets.php:176 +#: includes/assets.php:172 msgctxt "verb" msgid "Edit" msgstr "Editar" -#: includes/assets.php:177 +#: includes/assets.php:173 msgctxt "verb" msgid "Update" msgstr "Actualizar" -#: includes/assets.php:178 +#: includes/assets.php:174 msgid "Uploaded to this post" msgstr "Carregados neste artigo" -#: includes/assets.php:179 +#: includes/assets.php:175 msgid "Expand Details" msgstr "Expandir detalhes" -#: includes/assets.php:180 +#: includes/assets.php:176 msgid "Collapse Details" msgstr "Minimizar detalhes" -#: includes/assets.php:181 +#: includes/assets.php:177 msgid "Restricted" msgstr "Restrito" -#: includes/assets.php:182 includes/fields/class-acf-field-image.php:67 +#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67 msgid "All images" msgstr "Todas as imagens" -#: includes/assets.php:185 +#: includes/assets.php:181 msgid "Validation successful" msgstr "Validação bem sucedida" -#: includes/assets.php:186 includes/validation.php:285 +#: includes/assets.php:182 includes/validation.php:285 #: includes/validation.php:296 msgid "Validation failed" msgstr "A validação falhou" -#: includes/assets.php:187 +#: includes/assets.php:183 msgid "1 field requires attention" msgstr "1 campo requer a sua atenção" -#: includes/assets.php:188 +#: includes/assets.php:184 #, php-format msgid "%d fields require attention" msgstr "%d campos requerem a sua atenção" -#: includes/assets.php:191 +#: includes/assets.php:187 msgid "Are you sure?" msgstr "Tem a certeza?" -#: includes/assets.php:192 includes/fields/class-acf-field-true_false.php:79 +#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79 #: includes/fields/class-acf-field-true_false.php:159 #: pro/admin/views/html-settings-updates.php:89 msgid "Yes" msgstr "Sim" -#: includes/assets.php:193 includes/fields/class-acf-field-true_false.php:80 +#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80 #: includes/fields/class-acf-field-true_false.php:174 #: pro/admin/views/html-settings-updates.php:99 msgid "No" msgstr "Não" -#: includes/assets.php:194 includes/fields/class-acf-field-file.php:154 +#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154 #: includes/fields/class-acf-field-image.php:141 #: includes/fields/class-acf-field-link.php:140 -#: pro/fields/class-acf-field-gallery.php:358 -#: pro/fields/class-acf-field-gallery.php:546 +#: pro/fields/class-acf-field-gallery.php:360 +#: pro/fields/class-acf-field-gallery.php:548 msgid "Remove" msgstr "Remover" -#: includes/assets.php:195 +#: includes/assets.php:191 msgid "Cancel" msgstr "Cancelar" -#: includes/assets.php:198 +#: includes/assets.php:194 msgid "Has any value" msgstr "Tem um valor qualquer" -#: includes/assets.php:199 +#: includes/assets.php:195 msgid "Has no value" msgstr "Não tem valor" -#: includes/assets.php:200 +#: includes/assets.php:196 msgid "Value is equal to" msgstr "O valor é igual a" -#: includes/assets.php:201 +#: includes/assets.php:197 msgid "Value is not equal to" msgstr "O valor é diferente de" -#: includes/assets.php:202 +#: includes/assets.php:198 msgid "Value matches pattern" msgstr "O valor corresponde ao padrão" -#: includes/assets.php:203 +#: includes/assets.php:199 msgid "Value contains" msgstr "O valor contém" -#: includes/assets.php:204 +#: includes/assets.php:200 msgid "Value is greater than" msgstr "O valor é maior do que" -#: includes/assets.php:205 +#: includes/assets.php:201 msgid "Value is less than" msgstr "O valor é menor do que" -#: includes/assets.php:206 +#: includes/assets.php:202 msgid "Selection is greater than" msgstr "A selecção é maior do que" -#: includes/assets.php:207 +#: includes/assets.php:203 msgid "Selection is less than" msgstr "A selecção é menor do que" +#: includes/assets.php:206 includes/forms/form-comment.php:166 +#: pro/admin/admin-options-page.php:327 +msgid "Edit field group" +msgstr "Editar grupo de campos" + #: includes/fields.php:308 msgid "Field type does not exist" msgstr "Tipo de campo não existe" @@ -1364,36 +1370,36 @@ msgstr "Grupo de botões" #: includes/fields/class-acf-field-button-group.php:149 #: includes/fields/class-acf-field-checkbox.php:344 #: includes/fields/class-acf-field-radio.php:235 -#: includes/fields/class-acf-field-select.php:370 +#: includes/fields/class-acf-field-select.php:359 msgid "Choices" msgstr "Opções" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:371 +#: includes/fields/class-acf-field-select.php:360 msgid "Enter each choice on a new line." msgstr "Insira cada opção numa linha separada." #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:371 +#: includes/fields/class-acf-field-select.php:360 msgid "For more control, you may specify both a value and label like this:" msgstr "Para maior controlo, pode especificar tanto os valores como as legendas:" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:371 +#: includes/fields/class-acf-field-select.php:360 msgid "red : Red" msgstr "vermelho : Vermelho" #: includes/fields/class-acf-field-button-group.php:158 #: includes/fields/class-acf-field-page_link.php:513 -#: includes/fields/class-acf-field-post_object.php:412 +#: includes/fields/class-acf-field-post_object.php:411 #: includes/fields/class-acf-field-radio.php:244 -#: includes/fields/class-acf-field-select.php:388 +#: includes/fields/class-acf-field-select.php:377 #: includes/fields/class-acf-field-taxonomy.php:784 #: includes/fields/class-acf-field-user.php:409 msgid "Allow Null?" @@ -1405,13 +1411,13 @@ msgstr "Permitir nulo?" #: includes/fields/class-acf-field-email.php:118 #: includes/fields/class-acf-field-number.php:127 #: includes/fields/class-acf-field-radio.php:281 -#: includes/fields/class-acf-field-range.php:146 -#: includes/fields/class-acf-field-select.php:379 +#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-select.php:368 #: includes/fields/class-acf-field-text.php:119 #: includes/fields/class-acf-field-textarea.php:102 #: includes/fields/class-acf-field-true_false.php:135 #: includes/fields/class-acf-field-url.php:100 -#: includes/fields/class-acf-field-wysiwyg.php:397 +#: includes/fields/class-acf-field-wysiwyg.php:381 msgid "Default Value" msgstr "Valor por omissão" @@ -1419,11 +1425,11 @@ msgstr "Valor por omissão" #: includes/fields/class-acf-field-email.php:119 #: includes/fields/class-acf-field-number.php:128 #: includes/fields/class-acf-field-radio.php:282 -#: includes/fields/class-acf-field-range.php:147 +#: includes/fields/class-acf-field-range.php:150 #: includes/fields/class-acf-field-text.php:120 #: includes/fields/class-acf-field-textarea.php:103 #: includes/fields/class-acf-field-url.php:101 -#: includes/fields/class-acf-field-wysiwyg.php:398 +#: includes/fields/class-acf-field-wysiwyg.php:382 msgid "Appears when creating a new post" msgstr "Mostrado ao criar um novo conteúdo" @@ -1461,14 +1467,14 @@ msgstr "Especifica o valor devolvido na frente do site." #: includes/fields/class-acf-field-button-group.php:197 #: includes/fields/class-acf-field-checkbox.php:419 #: includes/fields/class-acf-field-radio.php:310 -#: includes/fields/class-acf-field-select.php:438 +#: includes/fields/class-acf-field-select.php:427 msgid "Value" msgstr "Valor" #: includes/fields/class-acf-field-button-group.php:199 #: includes/fields/class-acf-field-checkbox.php:421 #: includes/fields/class-acf-field-radio.php:312 -#: includes/fields/class-acf-field-select.php:440 +#: includes/fields/class-acf-field-select.php:429 msgid "Both (Array)" msgstr "Ambos (Array)" @@ -1502,7 +1508,7 @@ msgid "Save 'custom' values to the field's choices" msgstr "Guarda valores personalizados nas opções do campo" #: includes/fields/class-acf-field-checkbox.php:381 -#: includes/fields/class-acf-field-select.php:380 +#: includes/fields/class-acf-field-select.php:369 msgid "Enter each default value on a new line" msgstr "Insira cada valor por omissão numa linha separada" @@ -1563,20 +1569,20 @@ msgctxt "Date Picker JS weekHeader" msgid "Wk" msgstr "Sem" -#: includes/fields/class-acf-field-date_picker.php:180 +#: includes/fields/class-acf-field-date_picker.php:178 #: includes/fields/class-acf-field-date_time_picker.php:183 #: includes/fields/class-acf-field-time_picker.php:109 msgid "Display Format" msgstr "Formato de visualização" -#: includes/fields/class-acf-field-date_picker.php:181 +#: includes/fields/class-acf-field-date_picker.php:179 #: includes/fields/class-acf-field-date_time_picker.php:184 #: includes/fields/class-acf-field-time_picker.php:110 msgid "The format displayed when editing a post" msgstr "O formato de visualização ao editar um conteúdo" -#: includes/fields/class-acf-field-date_picker.php:189 -#: includes/fields/class-acf-field-date_picker.php:220 +#: includes/fields/class-acf-field-date_picker.php:187 +#: includes/fields/class-acf-field-date_picker.php:218 #: includes/fields/class-acf-field-date_time_picker.php:193 #: includes/fields/class-acf-field-date_time_picker.php:210 #: includes/fields/class-acf-field-time_picker.php:117 @@ -1584,31 +1590,31 @@ msgstr "O formato de visualização ao editar um conteúdo" msgid "Custom:" msgstr "Personalizado:" -#: includes/fields/class-acf-field-date_picker.php:199 +#: includes/fields/class-acf-field-date_picker.php:197 msgid "Save Format" msgstr "Formato guardado" -#: includes/fields/class-acf-field-date_picker.php:200 +#: includes/fields/class-acf-field-date_picker.php:198 msgid "The format used when saving a value" msgstr "O formato usado ao guardar um valor" -#: includes/fields/class-acf-field-date_picker.php:210 +#: includes/fields/class-acf-field-date_picker.php:208 #: includes/fields/class-acf-field-date_time_picker.php:200 -#: includes/fields/class-acf-field-post_object.php:432 -#: includes/fields/class-acf-field-relationship.php:715 -#: includes/fields/class-acf-field-select.php:433 +#: includes/fields/class-acf-field-post_object.php:431 +#: includes/fields/class-acf-field-relationship.php:634 +#: includes/fields/class-acf-field-select.php:422 #: includes/fields/class-acf-field-time_picker.php:124 #: includes/fields/class-acf-field-user.php:428 msgid "Return Format" msgstr "Formato devolvido" -#: includes/fields/class-acf-field-date_picker.php:211 +#: includes/fields/class-acf-field-date_picker.php:209 #: includes/fields/class-acf-field-date_time_picker.php:201 #: includes/fields/class-acf-field-time_picker.php:125 msgid "The format returned via template functions" msgstr "O formato devolvido através das template functions" -#: includes/fields/class-acf-field-date_picker.php:229 +#: includes/fields/class-acf-field-date_picker.php:227 #: includes/fields/class-acf-field-date_time_picker.php:217 msgid "Week Starts On" msgstr "Semana começa em" @@ -1717,7 +1723,7 @@ msgstr "Mostrado dentro do campo" #: includes/fields/class-acf-field-email.php:136 #: includes/fields/class-acf-field-number.php:145 #: includes/fields/class-acf-field-password.php:80 -#: includes/fields/class-acf-field-range.php:185 +#: includes/fields/class-acf-field-range.php:188 #: includes/fields/class-acf-field-text.php:137 msgid "Prepend" msgstr "Preceder" @@ -1725,7 +1731,7 @@ msgstr "Preceder" #: includes/fields/class-acf-field-email.php:137 #: includes/fields/class-acf-field-number.php:146 #: includes/fields/class-acf-field-password.php:81 -#: includes/fields/class-acf-field-range.php:186 +#: includes/fields/class-acf-field-range.php:189 #: includes/fields/class-acf-field-text.php:138 msgid "Appears before the input" msgstr "Mostrado antes do campo" @@ -1733,7 +1739,7 @@ msgstr "Mostrado antes do campo" #: includes/fields/class-acf-field-email.php:145 #: includes/fields/class-acf-field-number.php:154 #: includes/fields/class-acf-field-password.php:89 -#: includes/fields/class-acf-field-range.php:194 +#: includes/fields/class-acf-field-range.php:197 #: includes/fields/class-acf-field-text.php:146 msgid "Append" msgstr "Suceder" @@ -1741,7 +1747,7 @@ msgstr "Suceder" #: includes/fields/class-acf-field-email.php:146 #: includes/fields/class-acf-field-number.php:155 #: includes/fields/class-acf-field-password.php:90 -#: includes/fields/class-acf-field-range.php:195 +#: includes/fields/class-acf-field-range.php:198 #: includes/fields/class-acf-field-text.php:147 msgid "Appears after the input" msgstr "Mostrado depois do campo" @@ -1767,8 +1773,8 @@ msgstr "Nome do ficheiro" #: includes/fields/class-acf-field-file.php:259 #: includes/fields/class-acf-field-image.php:265 #: includes/fields/class-acf-field-image.php:294 -#: pro/fields/class-acf-field-gallery.php:705 -#: pro/fields/class-acf-field-gallery.php:734 +#: pro/fields/class-acf-field-gallery.php:707 +#: pro/fields/class-acf-field-gallery.php:736 msgid "File size" msgstr "Tamanho do ficheiro" @@ -1790,13 +1796,13 @@ msgstr "ID do ficheiro" #: includes/fields/class-acf-field-file.php:230 #: includes/fields/class-acf-field-image.php:230 -#: pro/fields/class-acf-field-gallery.php:670 +#: pro/fields/class-acf-field-gallery.php:672 msgid "Library" msgstr "Biblioteca" #: includes/fields/class-acf-field-file.php:231 #: includes/fields/class-acf-field-image.php:231 -#: pro/fields/class-acf-field-gallery.php:671 +#: pro/fields/class-acf-field-gallery.php:673 msgid "Limit the media library choice" msgstr "Limita a escolha da biblioteca de media." @@ -1809,19 +1815,19 @@ msgstr "Limita a escolha da biblioteca de media." #: includes/locations/class-acf-location-user-form.php:87 #: includes/locations/class-acf-location-user-role.php:111 #: includes/locations/class-acf-location-widget.php:83 -#: pro/fields/class-acf-field-gallery.php:676 +#: pro/fields/class-acf-field-gallery.php:678 msgid "All" msgstr "Todos" #: includes/fields/class-acf-field-file.php:237 #: includes/fields/class-acf-field-image.php:237 -#: pro/fields/class-acf-field-gallery.php:677 +#: pro/fields/class-acf-field-gallery.php:679 msgid "Uploaded to post" msgstr "Carregados no artigo" #: includes/fields/class-acf-field-file.php:244 #: includes/fields/class-acf-field-image.php:244 -#: pro/fields/class-acf-field-gallery.php:684 +#: pro/fields/class-acf-field-gallery.php:686 msgid "Minimum" msgstr "Mínimo" @@ -1832,19 +1838,19 @@ msgstr "Restringe que ficheiros podem ser carregados." #: includes/fields/class-acf-field-file.php:255 #: includes/fields/class-acf-field-image.php:273 -#: pro/fields/class-acf-field-gallery.php:713 +#: pro/fields/class-acf-field-gallery.php:715 msgid "Maximum" msgstr "Máximo" #: includes/fields/class-acf-field-file.php:266 #: includes/fields/class-acf-field-image.php:302 -#: pro/fields/class-acf-field-gallery.php:742 +#: pro/fields/class-acf-field-gallery.php:744 msgid "Allowed file types" msgstr "Tipos de ficheiros permitidos" #: includes/fields/class-acf-field-file.php:267 #: includes/fields/class-acf-field-image.php:303 -#: pro/fields/class-acf-field-gallery.php:743 +#: pro/fields/class-acf-field-gallery.php:745 msgid "Comma separated list. Leave blank for all types" msgstr "Lista separada por vírgulas. Deixe em branco para permitir todos os tipos." @@ -1856,47 +1862,47 @@ msgstr "Mapa do Google" msgid "Sorry, this browser does not support geolocation" msgstr "Desculpe, este navegador não suporta geolocalização." -#: includes/fields/class-acf-field-google-map.php:165 +#: includes/fields/class-acf-field-google-map.php:166 msgid "Clear location" msgstr "Limpar localização" -#: includes/fields/class-acf-field-google-map.php:166 +#: includes/fields/class-acf-field-google-map.php:167 msgid "Find current location" msgstr "Encontrar a localização actual" -#: includes/fields/class-acf-field-google-map.php:169 +#: includes/fields/class-acf-field-google-map.php:170 msgid "Search for address..." msgstr "Pesquisar endereço..." -#: includes/fields/class-acf-field-google-map.php:199 -#: includes/fields/class-acf-field-google-map.php:210 +#: includes/fields/class-acf-field-google-map.php:200 +#: includes/fields/class-acf-field-google-map.php:211 msgid "Center" msgstr "Centrar" -#: includes/fields/class-acf-field-google-map.php:200 -#: includes/fields/class-acf-field-google-map.php:211 +#: includes/fields/class-acf-field-google-map.php:201 +#: includes/fields/class-acf-field-google-map.php:212 msgid "Center the initial map" msgstr "Centrar o mapa inicial" -#: includes/fields/class-acf-field-google-map.php:222 +#: includes/fields/class-acf-field-google-map.php:223 msgid "Zoom" msgstr "Zoom" -#: includes/fields/class-acf-field-google-map.php:223 +#: includes/fields/class-acf-field-google-map.php:224 msgid "Set the initial zoom level" msgstr "Definir o nível de zoom inicial" -#: includes/fields/class-acf-field-google-map.php:232 +#: includes/fields/class-acf-field-google-map.php:233 #: includes/fields/class-acf-field-image.php:256 #: includes/fields/class-acf-field-image.php:285 #: includes/fields/class-acf-field-oembed.php:268 -#: pro/fields/class-acf-field-gallery.php:696 -#: pro/fields/class-acf-field-gallery.php:725 +#: pro/fields/class-acf-field-gallery.php:698 +#: pro/fields/class-acf-field-gallery.php:727 msgid "Height" msgstr "Altura" -#: includes/fields/class-acf-field-google-map.php:233 -msgid "Customise the map height" +#: includes/fields/class-acf-field-google-map.php:234 +msgid "Customize the map height" msgstr "Personalizar a altura do mapa" #: includes/fields/class-acf-field-group.php:25 @@ -1980,16 +1986,16 @@ msgstr "Mostrado ao inserir dados" #: includes/fields/class-acf-field-image.php:245 #: includes/fields/class-acf-field-image.php:274 -#: pro/fields/class-acf-field-gallery.php:685 -#: pro/fields/class-acf-field-gallery.php:714 +#: pro/fields/class-acf-field-gallery.php:687 +#: pro/fields/class-acf-field-gallery.php:716 msgid "Restrict which images can be uploaded" msgstr "Restringir que imagens que ser carregadas" #: includes/fields/class-acf-field-image.php:248 #: includes/fields/class-acf-field-image.php:277 #: includes/fields/class-acf-field-oembed.php:257 -#: pro/fields/class-acf-field-gallery.php:688 -#: pro/fields/class-acf-field-gallery.php:717 +#: pro/fields/class-acf-field-gallery.php:690 +#: pro/fields/class-acf-field-gallery.php:719 msgid "Width" msgstr "Largura" @@ -2057,17 +2063,17 @@ msgid "Number" msgstr "Número" #: includes/fields/class-acf-field-number.php:163 -#: includes/fields/class-acf-field-range.php:155 +#: includes/fields/class-acf-field-range.php:158 msgid "Minimum Value" msgstr "Valor mínimo" #: includes/fields/class-acf-field-number.php:172 -#: includes/fields/class-acf-field-range.php:165 +#: includes/fields/class-acf-field-range.php:168 msgid "Maximum Value" msgstr "Valor máximo" #: includes/fields/class-acf-field-number.php:181 -#: includes/fields/class-acf-field-range.php:175 +#: includes/fields/class-acf-field-range.php:178 msgid "Step Size" msgstr "Valor dos passos" @@ -2098,37 +2104,41 @@ msgstr "Insira o URL" msgid "Embed Size" msgstr "Tamanho da incorporação" +#: includes/fields/class-acf-field-page_link.php:25 +msgid "Page Link" +msgstr "Ligação de página" + #: includes/fields/class-acf-field-page_link.php:177 msgid "Archives" msgstr "Arquivo" #: includes/fields/class-acf-field-page_link.php:269 -#: includes/fields/class-acf-field-post_object.php:268 -#: includes/fields/class-acf-field-taxonomy.php:982 +#: includes/fields/class-acf-field-post_object.php:267 +#: includes/fields/class-acf-field-taxonomy.php:961 msgid "Parent" msgstr "Superior" #: includes/fields/class-acf-field-page_link.php:485 -#: includes/fields/class-acf-field-post_object.php:384 -#: includes/fields/class-acf-field-relationship.php:641 +#: includes/fields/class-acf-field-post_object.php:383 +#: includes/fields/class-acf-field-relationship.php:560 msgid "Filter by Post Type" msgstr "Filtrar por tipo de conteúdo" #: includes/fields/class-acf-field-page_link.php:493 -#: includes/fields/class-acf-field-post_object.php:392 -#: includes/fields/class-acf-field-relationship.php:649 +#: includes/fields/class-acf-field-post_object.php:391 +#: includes/fields/class-acf-field-relationship.php:568 msgid "All post types" msgstr "Todos os tipos de conteúdo" #: includes/fields/class-acf-field-page_link.php:499 -#: includes/fields/class-acf-field-post_object.php:398 -#: includes/fields/class-acf-field-relationship.php:655 +#: includes/fields/class-acf-field-post_object.php:397 +#: includes/fields/class-acf-field-relationship.php:574 msgid "Filter by Taxonomy" msgstr "Filtrar por taxonomia" #: includes/fields/class-acf-field-page_link.php:507 -#: includes/fields/class-acf-field-post_object.php:406 -#: includes/fields/class-acf-field-relationship.php:663 +#: includes/fields/class-acf-field-post_object.php:405 +#: includes/fields/class-acf-field-relationship.php:582 msgid "All taxonomies" msgstr "Todas as taxonomias" @@ -2137,8 +2147,8 @@ msgid "Allow Archives URLs" msgstr "Permitir URL do arquivo" #: includes/fields/class-acf-field-page_link.php:533 -#: includes/fields/class-acf-field-post_object.php:422 -#: includes/fields/class-acf-field-select.php:398 +#: includes/fields/class-acf-field-post_object.php:421 +#: includes/fields/class-acf-field-select.php:387 #: includes/fields/class-acf-field-user.php:419 msgid "Select multiple values?" msgstr "Seleccionar valores múltiplos?" @@ -2148,13 +2158,13 @@ msgid "Password" msgstr "Senha" #: includes/fields/class-acf-field-post_object.php:25 -#: includes/fields/class-acf-field-post_object.php:437 -#: includes/fields/class-acf-field-relationship.php:720 +#: includes/fields/class-acf-field-post_object.php:436 +#: includes/fields/class-acf-field-relationship.php:639 msgid "Post Object" msgstr "Conteúdo" -#: includes/fields/class-acf-field-post_object.php:438 -#: includes/fields/class-acf-field-relationship.php:721 +#: includes/fields/class-acf-field-post_object.php:437 +#: includes/fields/class-acf-field-relationship.php:640 msgid "Post ID" msgstr "ID do conteúdo" @@ -2198,52 +2208,52 @@ msgstr "A carregar" msgid "No matches found" msgstr "Nenhuma correspondência encontrada" -#: includes/fields/class-acf-field-relationship.php:441 +#: includes/fields/class-acf-field-relationship.php:411 msgid "Select post type" msgstr "Seleccione tipo de conteúdo" -#: includes/fields/class-acf-field-relationship.php:467 +#: includes/fields/class-acf-field-relationship.php:420 msgid "Select taxonomy" msgstr "Seleccione taxonomia" -#: includes/fields/class-acf-field-relationship.php:557 +#: includes/fields/class-acf-field-relationship.php:477 msgid "Search..." msgstr "Pesquisar..." -#: includes/fields/class-acf-field-relationship.php:669 +#: includes/fields/class-acf-field-relationship.php:588 msgid "Filters" msgstr "Filtros" -#: includes/fields/class-acf-field-relationship.php:675 +#: includes/fields/class-acf-field-relationship.php:594 #: includes/locations/class-acf-location-post-type.php:27 msgid "Post Type" msgstr "Tipo de conteúdo" -#: includes/fields/class-acf-field-relationship.php:676 +#: includes/fields/class-acf-field-relationship.php:595 #: includes/fields/class-acf-field-taxonomy.php:28 #: includes/fields/class-acf-field-taxonomy.php:754 #: includes/locations/class-acf-location-taxonomy.php:27 msgid "Taxonomy" msgstr "Taxonomia" -#: includes/fields/class-acf-field-relationship.php:683 +#: includes/fields/class-acf-field-relationship.php:602 msgid "Elements" msgstr "Elementos" -#: includes/fields/class-acf-field-relationship.php:684 +#: includes/fields/class-acf-field-relationship.php:603 msgid "Selected elements will be displayed in each result" msgstr "Os elementos seleccionados serão mostrados em cada resultado." -#: includes/fields/class-acf-field-relationship.php:695 +#: includes/fields/class-acf-field-relationship.php:614 msgid "Minimum posts" msgstr "Mínimo de conteúdos" -#: includes/fields/class-acf-field-relationship.php:704 +#: includes/fields/class-acf-field-relationship.php:623 msgid "Maximum posts" msgstr "Máximo de conteúdos" -#: includes/fields/class-acf-field-relationship.php:808 -#: pro/fields/class-acf-field-gallery.php:815 +#: includes/fields/class-acf-field-relationship.php:727 +#: pro/fields/class-acf-field-gallery.php:817 #, php-format msgid "%s requires at least %s selection" msgid_plural "%s requires at least %s selections" @@ -2320,16 +2330,16 @@ msgctxt "Select2 JS load_fail" msgid "Loading failed" msgstr "Falhou ao carregar" -#: includes/fields/class-acf-field-select.php:408 +#: includes/fields/class-acf-field-select.php:397 #: includes/fields/class-acf-field-true_false.php:144 msgid "Stylised UI" msgstr "Interface estilizada" -#: includes/fields/class-acf-field-select.php:418 +#: includes/fields/class-acf-field-select.php:407 msgid "Use AJAX to lazy load choices?" msgstr "Utilizar AJAX para carregar opções?" -#: includes/fields/class-acf-field-select.php:434 +#: includes/fields/class-acf-field-select.php:423 msgid "Specify the value returned" msgstr "Especifica o valor devolvido." @@ -2415,26 +2425,22 @@ msgstr "Termo" msgid "Term ID" msgstr "ID do termo" -#: includes/fields/class-acf-field-taxonomy.php:894 -msgid "Error." -msgstr "Erro." - -#: includes/fields/class-acf-field-taxonomy.php:894 +#: includes/fields/class-acf-field-taxonomy.php:885 #, php-format msgid "User unable to add new %s" msgstr "O utilizador não pôde adicionar novo(a) %s" -#: includes/fields/class-acf-field-taxonomy.php:907 +#: includes/fields/class-acf-field-taxonomy.php:895 #, php-format msgid "%s already exists" msgstr "%s já existe" -#: includes/fields/class-acf-field-taxonomy.php:948 +#: includes/fields/class-acf-field-taxonomy.php:927 #, php-format msgid "%s added" msgstr "%s adicionado(a)" -#: includes/fields/class-acf-field-taxonomy.php:994 +#: includes/fields/class-acf-field-taxonomy.php:973 msgid "Add" msgstr "Adicionar" @@ -2528,61 +2534,56 @@ msgstr "ID do utilizador" msgid "Wysiwyg Editor" msgstr "Editor wysiwyg" -#: includes/fields/class-acf-field-wysiwyg.php:346 +#: includes/fields/class-acf-field-wysiwyg.php:330 msgid "Visual" msgstr "Visual" -#: includes/fields/class-acf-field-wysiwyg.php:347 +#: includes/fields/class-acf-field-wysiwyg.php:331 msgctxt "Name for the Text editor tab (formerly HTML)" msgid "Text" msgstr "HTML" -#: includes/fields/class-acf-field-wysiwyg.php:353 +#: includes/fields/class-acf-field-wysiwyg.php:337 msgid "Click to initialize TinyMCE" msgstr "Clique para inicializar o TinyMCE" -#: includes/fields/class-acf-field-wysiwyg.php:406 +#: includes/fields/class-acf-field-wysiwyg.php:390 msgid "Tabs" msgstr "Separadores" -#: includes/fields/class-acf-field-wysiwyg.php:411 +#: includes/fields/class-acf-field-wysiwyg.php:395 msgid "Visual & Text" msgstr "Visual e HTML" -#: includes/fields/class-acf-field-wysiwyg.php:412 +#: includes/fields/class-acf-field-wysiwyg.php:396 msgid "Visual Only" msgstr "Apenas visual" -#: includes/fields/class-acf-field-wysiwyg.php:413 +#: includes/fields/class-acf-field-wysiwyg.php:397 msgid "Text Only" msgstr "Apenas HTML" -#: includes/fields/class-acf-field-wysiwyg.php:420 +#: includes/fields/class-acf-field-wysiwyg.php:404 msgid "Toolbar" msgstr "Barra de ferramentas" -#: includes/fields/class-acf-field-wysiwyg.php:435 +#: includes/fields/class-acf-field-wysiwyg.php:419 msgid "Show Media Upload Buttons?" msgstr "Mostrar botões de carregar multimédia?" -#: includes/fields/class-acf-field-wysiwyg.php:445 +#: includes/fields/class-acf-field-wysiwyg.php:429 msgid "Delay initialization?" msgstr "Atrasar a inicialização?" -#: includes/fields/class-acf-field-wysiwyg.php:446 +#: includes/fields/class-acf-field-wysiwyg.php:430 msgid "TinyMCE will not be initalized until field is clicked" msgstr "O TinyMCE não será inicializado até que clique no campo" -#: includes/forms/form-comment.php:166 includes/forms/form-post.php:305 -#: pro/admin/admin-options-page.php:308 -msgid "Edit field group" -msgstr "Editar grupo de campos" - #: includes/forms/form-front.php:55 msgid "Validate Email" msgstr "Validar email" -#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:588 +#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:590 #: pro/options-page.php:81 msgid "Update" msgstr "Actualizar" @@ -2607,11 +2608,11 @@ msgstr "Página" msgid "Forms" msgstr "Formulários" -#: includes/locations.php:247 +#: includes/locations.php:243 msgid "is equal to" msgstr "é igual a" -#: includes/locations.php:248 +#: includes/locations.php:244 msgid "is not equal to" msgstr "não é igual a" @@ -2773,6 +2774,10 @@ msgstr "Erro. Não foi possível ligar ao servidor de actualização." msgid "Updates" msgstr "Actualizações" +#: pro/admin/admin-settings-updates.php:238 +msgid "Error. Could not authenticate update package. Please check again or deactivate and reactivate your ACF PRO license." +msgstr "Erro. Não foi possível autenticar o pacote de actualização. Por favor verifique de novo, ou desactive e reactive a sua licença do ACF PRO." + #: pro/admin/views/html-settings-updates.php:7 msgid "Deactivate License" msgstr "Desactivar licença" @@ -2989,67 +2994,67 @@ msgstr "Adicionar imagem à galeria" msgid "Maximum selection reached" msgstr "Máximo de selecção alcançado" -#: pro/fields/class-acf-field-gallery.php:336 +#: pro/fields/class-acf-field-gallery.php:338 msgid "Length" msgstr "Comprimento" -#: pro/fields/class-acf-field-gallery.php:379 +#: pro/fields/class-acf-field-gallery.php:381 msgid "Caption" msgstr "Legenda" -#: pro/fields/class-acf-field-gallery.php:388 +#: pro/fields/class-acf-field-gallery.php:390 msgid "Alt Text" msgstr "Texto alternativo" -#: pro/fields/class-acf-field-gallery.php:559 +#: pro/fields/class-acf-field-gallery.php:561 msgid "Add to gallery" msgstr "Adicionar à galeria" -#: pro/fields/class-acf-field-gallery.php:563 +#: pro/fields/class-acf-field-gallery.php:565 msgid "Bulk actions" msgstr "Acções por lotes" -#: pro/fields/class-acf-field-gallery.php:564 +#: pro/fields/class-acf-field-gallery.php:566 msgid "Sort by date uploaded" msgstr "Ordenar por data de carregamento" -#: pro/fields/class-acf-field-gallery.php:565 +#: pro/fields/class-acf-field-gallery.php:567 msgid "Sort by date modified" msgstr "Ordenar por data de modificação" -#: pro/fields/class-acf-field-gallery.php:566 +#: pro/fields/class-acf-field-gallery.php:568 msgid "Sort by title" msgstr "Ordenar por título" -#: pro/fields/class-acf-field-gallery.php:567 +#: pro/fields/class-acf-field-gallery.php:569 msgid "Reverse current order" msgstr "Inverter ordem actual" -#: pro/fields/class-acf-field-gallery.php:585 +#: pro/fields/class-acf-field-gallery.php:587 msgid "Close" msgstr "Fechar" -#: pro/fields/class-acf-field-gallery.php:639 +#: pro/fields/class-acf-field-gallery.php:641 msgid "Minimum Selection" msgstr "Selecção mínima" -#: pro/fields/class-acf-field-gallery.php:648 +#: pro/fields/class-acf-field-gallery.php:650 msgid "Maximum Selection" msgstr "Selecção máxima" -#: pro/fields/class-acf-field-gallery.php:657 +#: pro/fields/class-acf-field-gallery.php:659 msgid "Insert" msgstr "Inserir" -#: pro/fields/class-acf-field-gallery.php:658 +#: pro/fields/class-acf-field-gallery.php:660 msgid "Specify where new attachments are added" msgstr "Especifica onde serão adicionados os novos anexos." -#: pro/fields/class-acf-field-gallery.php:662 +#: pro/fields/class-acf-field-gallery.php:664 msgid "Append to the end" msgstr "No fim" -#: pro/fields/class-acf-field-gallery.php:663 +#: pro/fields/class-acf-field-gallery.php:665 msgid "Prepend to the beginning" msgstr "No início" @@ -3115,6 +3120,111 @@ msgstr "Elliot Condon" msgid "http://www.elliotcondon.com/" msgstr "http://www.elliotcondon.com/" +#~ msgid "Customise WordPress with powerful, professional and intuitive fields." +#~ msgstr "Personalize o WordPress com campos intuitivos, poderosos e profissionais." + +#~ msgid "Customise the map height" +#~ msgstr "Personalizar a altura do mapa" + +#~ msgid "Error validating request" +#~ msgstr "Erro ao validar pedido." + +#~ msgid "Advanced Custom Fields Database Upgrade" +#~ msgstr "Actualização da base de dados do Advanced Custom Fields" + +#~ msgid "Upgrade complete" +#~ msgstr "Actualização concluída" + +#~ msgid "Before you start using the new awesome features, please update your database to the newest version." +#~ msgstr "Antes de começar a utilizar as incríveis novas funcionalidades, por favor actualize a sua base de dados para a versão mais recente." + +#~ msgid "Please also ensure any premium add-ons (%s) have first been updated to the latest version." +#~ msgstr "Por favor, em primeiro lugar certifique-se de actualizar todos os add-ons premium (%s) para a última versão." + +#~ msgid "Database Upgrade complete. See what's new" +#~ msgstr "Actualização da base de dados concluída. Ver o que há de novo" + +#~ msgid "A smoother custom field experience" +#~ msgstr "Uma experiência mais fácil com campos personalizados" + +#~ msgid "To help make upgrading easy, login to your store account and claim a free copy of ACF PRO!" +#~ msgstr "Para facilitar a actualização, inicie sessão na sua conta da loja e obtenha uma cópia gratuita do ACF PRO!" + +#~ msgid "We also wrote an upgrade guide to answer any questions, but if you do have one, please contact our support team via the help desk" +#~ msgstr "Escrevemos um guia de actualização para responder a todas as dúvidas, se tiver alguma questão, por favor contacte a nossa equipa de suporte através da central de ajuda." + +#~ msgid "Under the Hood" +#~ msgstr "Nos bastidores" + +#~ msgid "Smarter field settings" +#~ msgstr "Definições mais inteligentes dos campos" + +#~ msgid "ACF now saves its field settings as individual post objects" +#~ msgstr "O ACF agora guarda as suas definições de campos como conteúdos individuais" + +#~ msgid "More fields use AJAX powered search to speed up page loading" +#~ msgstr "Mais campos utilizam pesquisa com AJAX para aumentar a velocidade de carregamento" + +#~ msgid "New auto export to JSON feature improves speed" +#~ msgstr "Nova funcionalidade de exportação automática para JSON melhora a velocidade" + +#~ msgid "Better version control" +#~ msgstr "Melhor controlo de versões" + +#~ msgid "New auto export to JSON feature allows field settings to be version controlled" +#~ msgstr "Nova funcionalidade de exportação automática para JSON permite que as definições sejam controladas por versão" + +#~ msgid "Swapped XML for JSON" +#~ msgstr "XML substituído por JSON" + +#~ msgid "Import / Export now uses JSON in favour of XML" +#~ msgstr "Importar / Exportar agora utiliza JSON em vez de XML" + +#~ msgid "New Forms" +#~ msgstr "Novos formulários" + +#~ msgid "Fields can now be mapped to comments, widgets and all user forms!" +#~ msgstr "Os campos agora podem ser mapeados para comentários, widgets e formulários de utilizador!" + +#~ msgid "A new field for embedding content has been added" +#~ msgstr "Foi adicionado um novo campo para incorporar conteúdos" + +#~ msgid "New Gallery" +#~ msgstr "Nova galeria" + +#~ msgid "The gallery field has undergone a much needed facelift" +#~ msgstr "O campo de galeria sofreu alterações de cosmética importantes." + +#~ msgid "Field group settings have been added for label placement and instruction placement" +#~ msgstr "Foram adicionadas definições aos grupos de campos para a posição da legenda e instruções." + +#~ msgid "acf_form() can now create a new post on submission" +#~ msgstr "Com acf_form() agora pode criar um novo conteúdo ao submeter." + +#~ msgid "Form validation is now done via PHP + AJAX in favour of only JS" +#~ msgstr "A validação de formulários agora é feita com PHP + AJAX em vez de apenas JS." + +#~ msgid "Relationship Field" +#~ msgstr "Campo de relação" + +#~ msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" +#~ msgstr "Nova definição 'Filtros' do campo Relação (Pesquisa, Tipo de conteúdo, Taxonomia)." + +#~ msgid "New field group functionality allows you to move a field between groups & parents" +#~ msgstr "Nova funcionalidade de grupo de campos permite mover um campo entre grupos e superiores." + +#~ msgid "New archives group in page_link field selection" +#~ msgstr "Novo grupo Arquivo no campo de selecção da ligação de página." + +#~ msgid "Better Options Pages" +#~ msgstr "Melhores páginas de opções" + +#~ msgid "New functions for options page allow creation of both parent and child menu pages" +#~ msgstr "Novas funções para as páginas de opções permitem a criação de páginas superiores e dependentes." + +#~ msgid "Error." +#~ msgstr "Erro." + #~ msgid "checked" #~ msgstr "seleccionado" diff --git a/lang/acf-tr_TR.mo b/lang/acf-tr_TR.mo index 2a66074..f1de45e 100644 Binary files a/lang/acf-tr_TR.mo and b/lang/acf-tr_TR.mo differ diff --git a/lang/acf-tr_TR.po b/lang/acf-tr_TR.po index bac4c9d..0e1fa24 100644 --- a/lang/acf-tr_TR.po +++ b/lang/acf-tr_TR.po @@ -1,17 +1,17 @@ msgid "" msgstr "" -"Project-Id-Version: Advanced Custom Fields Pro v5.6.3\n" +"Project-Id-Version: Advanced Custom Fields Pro v5.7.7\n" "Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n" -"POT-Creation-Date: 2017-10-04 14:50+1000\n" -"PO-Revision-Date: 2018-02-06 10:06+1000\n" -"Last-Translator: Elliot Condon \n" +"POT-Creation-Date: 2018-09-06 12:21+1000\n" +"PO-Revision-Date: 2018-11-01 14:30+0300\n" +"Last-Translator: Emre Erkan \n" "Language-Team: Emre Erkan \n" "Language: tr_TR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.1\n" +"X-Generator: Poedit 2.1.1\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" @@ -22,97 +22,95 @@ msgstr "" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPathExcluded-0: *.js\n" -#: acf.php:67 +#: acf.php:80 msgid "Advanced Custom Fields" msgstr "Advanced Custom Fields" -#: acf.php:369 includes/admin/admin.php:117 +#: acf.php:385 includes/admin/admin.php:117 msgid "Field Groups" msgstr "Alan grupları" -#: acf.php:370 +#: acf.php:386 msgid "Field Group" msgstr "Alan grubu" -#: acf.php:371 acf.php:403 includes/admin/admin.php:118 -#: pro/fields/class-acf-field-flexible-content.php:557 +#: acf.php:387 acf.php:419 includes/admin/admin.php:118 +#: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New" msgstr "Yeni ekle" -#: acf.php:372 +#: acf.php:388 msgid "Add New Field Group" msgstr "Yeni alan grubu ekle" -#: acf.php:373 +#: acf.php:389 msgid "Edit Field Group" msgstr "Alan grubunu düzenle" -#: acf.php:374 +#: acf.php:390 msgid "New Field Group" msgstr "Yeni alan grubu" -#: acf.php:375 +#: acf.php:391 msgid "View Field Group" msgstr "Alan grubunu görüntüle" -#: acf.php:376 +#: acf.php:392 msgid "Search Field Groups" msgstr "Alan gruplarında ara" -#: acf.php:377 +#: acf.php:393 msgid "No Field Groups found" msgstr "Hiç alan grubu bulunamadı" -#: acf.php:378 +#: acf.php:394 msgid "No Field Groups found in Trash" msgstr "Çöpte alan grubu bulunamadı" -#: acf.php:401 includes/admin/admin-field-group.php:182 -#: includes/admin/admin-field-group.php:275 +#: acf.php:417 includes/admin/admin-field-group.php:202 #: includes/admin/admin-field-groups.php:510 -#: pro/fields/class-acf-field-clone.php:807 +#: pro/fields/class-acf-field-clone.php:811 msgid "Fields" msgstr "Alanlar" -#: acf.php:402 +#: acf.php:418 msgid "Field" msgstr "Alan" -#: acf.php:404 +#: acf.php:420 msgid "Add New Field" msgstr "Yeni elan ekle" -#: acf.php:405 +#: acf.php:421 msgid "Edit Field" msgstr "Alanı düzenle" -#: acf.php:406 includes/admin/views/field-group-fields.php:41 -#: includes/admin/views/settings-info.php:105 +#: acf.php:422 includes/admin/views/field-group-fields.php:41 msgid "New Field" msgstr "Yeni alan" -#: acf.php:407 +#: acf.php:423 msgid "View Field" msgstr "Alanı görüntüle" -#: acf.php:408 +#: acf.php:424 msgid "Search Fields" msgstr "Alanlarda ara" -#: acf.php:409 +#: acf.php:425 msgid "No Fields found" msgstr "Hiç alan bulunamadı" -#: acf.php:410 +#: acf.php:426 msgid "No Fields found in Trash" msgstr "Çöpte alan bulunamadı" -#: acf.php:449 includes/admin/admin-field-group.php:390 +#: acf.php:465 includes/admin/admin-field-group.php:384 #: includes/admin/admin-field-groups.php:567 msgid "Inactive" msgstr "Etkin değil" -#: acf.php:454 +#: acf.php:470 #, php-format msgid "Inactive (%s)" msgid_plural "Inactive (%s)" @@ -149,100 +147,96 @@ msgstr "Alan grubu zamanlandı." msgid "Field group draft updated." msgstr "Alan grubu taslağı güncellendi." -#: includes/admin/admin-field-group.php:183 -msgid "Location" -msgstr "Konum" +#: includes/admin/admin-field-group.php:153 +msgid "The string \"field_\" may not be used at the start of a field name" +msgstr "Artık alan isimlerinin başlangıcında “field_” kullanılmayacak" -#: includes/admin/admin-field-group.php:184 -msgid "Settings" -msgstr "Ayarlar" +#: includes/admin/admin-field-group.php:154 +msgid "This field cannot be moved until its changes have been saved" +msgstr "Bu alan, üzerinde yapılan değişiklikler kaydedilene kadar taşınamaz" -#: includes/admin/admin-field-group.php:269 -msgid "Move to trash. Are you sure?" -msgstr "Çöpe taşımak istediğinizden emin misiniz?" - -#: includes/admin/admin-field-group.php:270 -msgid "checked" -msgstr "işaretlendi" - -#: includes/admin/admin-field-group.php:271 -msgid "No toggle fields available" -msgstr "Kullanılabilir aç-kapa alan yok" - -#: includes/admin/admin-field-group.php:272 +#: includes/admin/admin-field-group.php:155 msgid "Field group title is required" msgstr "Alan grubu başlığı gerekli" -#: includes/admin/admin-field-group.php:273 +#: includes/admin/admin-field-group.php:156 +msgid "Move to trash. Are you sure?" +msgstr "Çöpe taşımak istediğinizden emin misiniz?" + +#: includes/admin/admin-field-group.php:157 +msgid "No toggle fields available" +msgstr "Kullanılabilir aç-kapa alan yok" + +#: includes/admin/admin-field-group.php:158 +msgid "Move Custom Field" +msgstr "Özel alanı taşı" + +#: includes/admin/admin-field-group.php:159 +msgid "Checked" +msgstr "İşaretlendi" + +#: includes/admin/admin-field-group.php:160 includes/api/api-field.php:289 +msgid "(no label)" +msgstr "(etiket yok)" + +#: includes/admin/admin-field-group.php:161 +msgid "(this field)" +msgstr "(bu alan)" + +#: includes/admin/admin-field-group.php:162 #: includes/api/api-field-group.php:751 msgid "copy" msgstr "kopyala" -#: includes/admin/admin-field-group.php:274 -#: includes/admin/views/field-group-field-conditional-logic.php:54 -#: includes/admin/views/field-group-field-conditional-logic.php:154 +#: includes/admin/admin-field-group.php:163 +#: includes/admin/views/field-group-field-conditional-logic.php:51 +#: includes/admin/views/field-group-field-conditional-logic.php:151 #: includes/admin/views/field-group-locations.php:29 #: includes/admin/views/html-location-group.php:3 -#: includes/api/api-helpers.php:3964 +#: includes/api/api-helpers.php:4073 msgid "or" msgstr "veya" -#: includes/admin/admin-field-group.php:276 -msgid "Parent fields" -msgstr "Üst alanlar" - -#: includes/admin/admin-field-group.php:277 -msgid "Sibling fields" -msgstr "Kardeş alanlar" - -#: includes/admin/admin-field-group.php:278 -msgid "Move Custom Field" -msgstr "Özel alanı taşı" - -#: includes/admin/admin-field-group.php:279 -msgid "This field cannot be moved until its changes have been saved" -msgstr "Bu alan, üzerinde yapılan değişiklikler kaydedilene kadar taşınamaz" - -#: includes/admin/admin-field-group.php:280 +#: includes/admin/admin-field-group.php:164 msgid "Null" msgstr "Boş" -#: includes/admin/admin-field-group.php:281 includes/input.php:258 -msgid "The changes you made will be lost if you navigate away from this page" -msgstr "" -"Bu sayfadan başka bir sayfaya geçerseniz yaptığınız değişiklikler kaybolacak" +#: includes/admin/admin-field-group.php:203 +msgid "Location" +msgstr "Konum" -#: includes/admin/admin-field-group.php:282 -msgid "The string \"field_\" may not be used at the start of a field name" -msgstr "Artık alan isimlerinin başlangıcında “field_” kullanılmayacak" +#: includes/admin/admin-field-group.php:204 +#: includes/admin/tools/class-acf-admin-tool-export.php:295 +msgid "Settings" +msgstr "Ayarlar" -#: includes/admin/admin-field-group.php:360 +#: includes/admin/admin-field-group.php:354 msgid "Field Keys" msgstr "Alan anahtarları" -#: includes/admin/admin-field-group.php:390 +#: includes/admin/admin-field-group.php:384 #: includes/admin/views/field-group-options.php:9 msgid "Active" msgstr "Etkin" -#: includes/admin/admin-field-group.php:801 +#: includes/admin/admin-field-group.php:746 msgid "Move Complete." msgstr "Taşıma tamamlandı." -#: includes/admin/admin-field-group.php:802 +#: includes/admin/admin-field-group.php:747 #, php-format msgid "The %s field can now be found in the %s field group" msgstr "%s alanı artık %s alan grubu altında bulunabilir" -#: includes/admin/admin-field-group.php:803 +#: includes/admin/admin-field-group.php:748 msgid "Close Window" msgstr "Pencereyi kapat" -#: includes/admin/admin-field-group.php:844 +#: includes/admin/admin-field-group.php:789 msgid "Please select the destination for this field" msgstr "Lütfen bu alan için bir hedef seçin" -#: includes/admin/admin-field-group.php:851 +#: includes/admin/admin-field-group.php:796 msgid "Move Field" msgstr "Alanı taşı" @@ -283,15 +277,15 @@ msgid "Sync available" msgstr "Eşitleme mevcut" #: includes/admin/admin-field-groups.php:507 includes/forms/form-front.php:38 -#: pro/fields/class-acf-field-gallery.php:355 +#: pro/fields/class-acf-field-gallery.php:370 msgid "Title" msgstr "Başlık" #: includes/admin/admin-field-groups.php:508 #: includes/admin/views/field-group-options.php:96 -#: includes/admin/views/install-network.php:21 -#: includes/admin/views/install-network.php:29 -#: pro/fields/class-acf-field-gallery.php:382 +#: includes/admin/views/html-admin-page-upgrade-network.php:38 +#: includes/admin/views/html-admin-page-upgrade-network.php:49 +#: pro/fields/class-acf-field-gallery.php:397 msgid "Description" msgstr "Açıklama" @@ -332,6 +326,7 @@ msgid "Support" msgstr "Destek" #: includes/admin/admin-field-groups.php:623 +#: includes/admin/views/settings-info.php:84 msgid "Pro" msgstr "Pro" @@ -340,66 +335,65 @@ msgstr "Pro" msgid "Thank you for creating with ACF." msgstr "ACF ile oluşturduğunuz için teşekkürler." -#: includes/admin/admin-field-groups.php:668 +#: includes/admin/admin-field-groups.php:667 msgid "Duplicate this item" msgstr "Bu ögeyi çoğalt" -#: includes/admin/admin-field-groups.php:668 -#: includes/admin/admin-field-groups.php:684 -#: includes/admin/views/field-group-field.php:49 -#: pro/fields/class-acf-field-flexible-content.php:556 +#: includes/admin/admin-field-groups.php:667 +#: includes/admin/admin-field-groups.php:683 +#: includes/admin/views/field-group-field.php:46 +#: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate" msgstr "Çoğalt" -#: includes/admin/admin-field-groups.php:701 -#: includes/fields/class-acf-field-google-map.php:112 -#: includes/fields/class-acf-field-relationship.php:656 +#: includes/admin/admin-field-groups.php:700 +#: includes/fields/class-acf-field-google-map.php:164 +#: includes/fields/class-acf-field-relationship.php:674 msgid "Search" msgstr "Ara" -#: includes/admin/admin-field-groups.php:760 +#: includes/admin/admin-field-groups.php:759 #, php-format msgid "Select %s" msgstr "Seç %s" -#: includes/admin/admin-field-groups.php:768 +#: includes/admin/admin-field-groups.php:767 msgid "Synchronise field group" msgstr "Alan grubunu eşitle" -#: includes/admin/admin-field-groups.php:768 -#: includes/admin/admin-field-groups.php:798 +#: includes/admin/admin-field-groups.php:767 +#: includes/admin/admin-field-groups.php:797 msgid "Sync" msgstr "Eşitle" -#: includes/admin/admin-field-groups.php:780 +#: includes/admin/admin-field-groups.php:779 msgid "Apply" msgstr "Uygula" -#: includes/admin/admin-field-groups.php:798 +#: includes/admin/admin-field-groups.php:797 msgid "Bulk Actions" msgstr "Toplu eylemler" -#: includes/admin/admin.php:113 -#: includes/admin/views/field-group-options.php:118 -msgid "Custom Fields" -msgstr "Özel alanlar" +#: includes/admin/admin-tools.php:116 +#: includes/admin/views/html-admin-tools.php:21 +msgid "Tools" +msgstr "Araçlar" -#: includes/admin/install-network.php:88 includes/admin/install.php:70 -#: includes/admin/install.php:121 +#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94 +#: includes/admin/admin-upgrade.php:156 +#: includes/admin/views/html-admin-page-upgrade-network.php:24 +#: includes/admin/views/html-admin-page-upgrade.php:26 msgid "Upgrade Database" msgstr "Veritabanını güncelle" -#: includes/admin/install-network.php:140 +#: includes/admin/admin-upgrade.php:180 msgid "Review sites & upgrade" msgstr "Siteleri incele ve güncelle" -#: includes/admin/install.php:187 -msgid "Error validating request" -msgstr "İstek doğrulanırken hata oluştu" - -#: includes/admin/install.php:210 includes/admin/views/install.php:105 -msgid "No updates available." -msgstr "Güncelleme yok." +#: includes/admin/admin.php:113 +#: includes/admin/views/field-group-options.php:110 +msgid "Custom Fields" +msgstr "Özel alanlar" #: includes/admin/settings-addons.php:51 #: includes/admin/views/settings-addons.php:3 @@ -418,158 +412,224 @@ msgstr "Bilgi" msgid "What's New" msgstr "Neler yeni" -#: includes/admin/settings-tools.php:50 -#: includes/admin/views/settings-tools-export.php:19 -#: includes/admin/views/settings-tools.php:31 -msgid "Tools" -msgstr "Araçlar" +#: includes/admin/tools/class-acf-admin-tool-export.php:33 +msgid "Export Field Groups" +msgstr "Alan gruplarını dışarı aktar" -#: includes/admin/settings-tools.php:147 includes/admin/settings-tools.php:380 +#: includes/admin/tools/class-acf-admin-tool-export.php:38 +#: includes/admin/tools/class-acf-admin-tool-export.php:342 +#: includes/admin/tools/class-acf-admin-tool-export.php:371 +msgid "Generate PHP" +msgstr "PHP oluştur" + +#: includes/admin/tools/class-acf-admin-tool-export.php:97 +#: includes/admin/tools/class-acf-admin-tool-export.php:135 msgid "No field groups selected" msgstr "Hiç alan grubu seçilmemiş" -#: includes/admin/settings-tools.php:184 -#: includes/fields/class-acf-field-file.php:155 +#: includes/admin/tools/class-acf-admin-tool-export.php:174 +#, php-format +msgid "Exported 1 field group." +msgid_plural "Exported %s field groups." +msgstr[0] "1 alan grubu içeri aktarıldı." +msgstr[1] "%s alan grubu içeri aktarıldı." + +#: includes/admin/tools/class-acf-admin-tool-export.php:241 +#: includes/admin/tools/class-acf-admin-tool-export.php:269 +msgid "Select Field Groups" +msgstr "Alan gruplarını seç" + +#: includes/admin/tools/class-acf-admin-tool-export.php:336 +msgid "" +"Select the field groups you would like to export and then select your export " +"method. Use the download button to export to a .json file which you can then " +"import to another ACF installation. Use the generate button to export to PHP " +"code which you can place in your theme." +msgstr "" +"Dışa aktarma ve sonra dışa aktarma yöntemini seçtikten sonra alan gruplarını " +"seçin. Sonra başka bir ACF yükleme içe bir .json dosyaya vermek için indirme " +"düğmesini kullanın. Tema yerleştirebilirsiniz PHP kodu aktarma düğmesini " +"kullanın." + +#: includes/admin/tools/class-acf-admin-tool-export.php:341 +msgid "Export File" +msgstr "Dışarı aktarım dosyası" + +#: includes/admin/tools/class-acf-admin-tool-export.php:414 +msgid "" +"The following code can be used to register a local version of the selected " +"field group(s). A local field group can provide many benefits such as faster " +"load times, version control & dynamic fields/settings. Simply copy and paste " +"the following code to your theme's functions.php file or include it within " +"an external file." +msgstr "" +"Aşağıdaki kod seçilmiş alan grubu/grupları için yerel bir sürüm kaydetmek " +"için kullanılır. Yerel alan grubu daha hızlı yüklenme süreleri, sürüm " +"yönetimi ve dinamik alanlar/ayarlar gibi faydalar sağlar. Yapmanız gereken " +"bu kodu kopyalayıp temanızın functions.php dosyasına eklemek ya da harici " +"bir dosya olarak temanıza dahil etmek." + +#: includes/admin/tools/class-acf-admin-tool-export.php:446 +msgid "Copy to clipboard" +msgstr "Panoya kopyala" + +#: includes/admin/tools/class-acf-admin-tool-export.php:483 +msgid "Copied" +msgstr "Kopyalandı" + +#: includes/admin/tools/class-acf-admin-tool-import.php:26 +msgid "Import Field Groups" +msgstr "Alan gruplarını içeri aktar" + +#: includes/admin/tools/class-acf-admin-tool-import.php:61 +msgid "" +"Select the Advanced Custom Fields JSON file you would like to import. When " +"you click the import button below, ACF will import the field groups." +msgstr "" +"İçeri aktarmak istediğiniz Advanced Custom Fields JSON dosyasını seçin. " +"Aşağıdaki içeri aktar tuşuna bastığınızda ACF alan gruplarını içeri " +"aktaracak." + +#: includes/admin/tools/class-acf-admin-tool-import.php:66 +#: includes/fields/class-acf-field-file.php:57 +msgid "Select File" +msgstr "Dosya seç" + +#: includes/admin/tools/class-acf-admin-tool-import.php:76 +msgid "Import File" +msgstr "Dosyayı içeri aktar" + +#: includes/admin/tools/class-acf-admin-tool-import.php:100 +#: includes/fields/class-acf-field-file.php:170 msgid "No file selected" msgstr "Dosya seçilmedi" -#: includes/admin/settings-tools.php:197 +#: includes/admin/tools/class-acf-admin-tool-import.php:113 msgid "Error uploading file. Please try again" msgstr "Dosya yüklenirken hata oluştu. Lütfen tekrar deneyin" -#: includes/admin/settings-tools.php:206 +#: includes/admin/tools/class-acf-admin-tool-import.php:122 msgid "Incorrect file type" msgstr "Geçersiz dosya tipi" -#: includes/admin/settings-tools.php:223 +#: includes/admin/tools/class-acf-admin-tool-import.php:139 msgid "Import file empty" msgstr "İçe aktarılan dosya boş" -#: includes/admin/settings-tools.php:331 +#: includes/admin/tools/class-acf-admin-tool-import.php:247 #, php-format msgid "Imported 1 field group" msgid_plural "Imported %s field groups" msgstr[0] "1 alan grubu içeri aktarıldı" msgstr[1] "%s alan grubu içeri aktarıldı" -#: includes/admin/views/field-group-field-conditional-logic.php:28 +#: includes/admin/views/field-group-field-conditional-logic.php:25 msgid "Conditional Logic" msgstr "Koşullu mantık" -#: includes/admin/views/field-group-field-conditional-logic.php:54 +#: includes/admin/views/field-group-field-conditional-logic.php:51 msgid "Show this field if" msgstr "Alanı bu şart gerçekleşirse göster" -#: includes/admin/views/field-group-field-conditional-logic.php:103 -#: includes/locations.php:247 -msgid "is equal to" -msgstr "eşitse" - -#: includes/admin/views/field-group-field-conditional-logic.php:104 -#: includes/locations.php:248 -msgid "is not equal to" -msgstr "eşit değilse" - -#: includes/admin/views/field-group-field-conditional-logic.php:141 -#: includes/admin/views/html-location-rule.php:80 +#: includes/admin/views/field-group-field-conditional-logic.php:138 +#: includes/admin/views/html-location-rule.php:86 msgid "and" msgstr "ve" -#: includes/admin/views/field-group-field-conditional-logic.php:156 +#: includes/admin/views/field-group-field-conditional-logic.php:153 #: includes/admin/views/field-group-locations.php:31 msgid "Add rule group" msgstr "Kural grubu ekle" -#: includes/admin/views/field-group-field.php:41 -#: pro/fields/class-acf-field-flexible-content.php:403 -#: pro/fields/class-acf-field-repeater.php:296 +#: includes/admin/views/field-group-field.php:38 +#: pro/fields/class-acf-field-flexible-content.php:424 +#: pro/fields/class-acf-field-repeater.php:294 msgid "Drag to reorder" msgstr "Yeniden düzenlemek için sürükleyin" +#: includes/admin/views/field-group-field.php:42 #: includes/admin/views/field-group-field.php:45 -#: includes/admin/views/field-group-field.php:48 msgid "Edit field" msgstr "Alanı düzenle" -#: includes/admin/views/field-group-field.php:48 -#: includes/fields/class-acf-field-file.php:137 -#: includes/fields/class-acf-field-image.php:122 +#: includes/admin/views/field-group-field.php:45 +#: includes/fields/class-acf-field-file.php:152 +#: includes/fields/class-acf-field-image.php:139 #: includes/fields/class-acf-field-link.php:139 -#: pro/fields/class-acf-field-gallery.php:342 +#: pro/fields/class-acf-field-gallery.php:357 msgid "Edit" msgstr "Düzenle" -#: includes/admin/views/field-group-field.php:49 +#: includes/admin/views/field-group-field.php:46 msgid "Duplicate field" msgstr "Alanı çoğalt" -#: includes/admin/views/field-group-field.php:50 +#: includes/admin/views/field-group-field.php:47 msgid "Move field to another group" msgstr "Alanı başka gruba taşı" -#: includes/admin/views/field-group-field.php:50 +#: includes/admin/views/field-group-field.php:47 msgid "Move" msgstr "Taşı" -#: includes/admin/views/field-group-field.php:51 +#: includes/admin/views/field-group-field.php:48 msgid "Delete field" msgstr "Alanı sil" -#: includes/admin/views/field-group-field.php:51 -#: pro/fields/class-acf-field-flexible-content.php:555 +#: includes/admin/views/field-group-field.php:48 +#: pro/fields/class-acf-field-flexible-content.php:570 msgid "Delete" msgstr "Sil" -#: includes/admin/views/field-group-field.php:67 +#: includes/admin/views/field-group-field.php:65 msgid "Field Label" msgstr "Alan etiketi" -#: includes/admin/views/field-group-field.php:68 +#: includes/admin/views/field-group-field.php:66 msgid "This is the name which will appear on the EDIT page" msgstr "Bu isim DÜZENLEME sayfasında görüntülenecek isimdir" -#: includes/admin/views/field-group-field.php:77 +#: includes/admin/views/field-group-field.php:75 msgid "Field Name" msgstr "Alan adı" -#: includes/admin/views/field-group-field.php:78 +#: includes/admin/views/field-group-field.php:76 msgid "Single word, no spaces. Underscores and dashes allowed" msgstr "Tek kelime, boşluksuz. Alt çizgi ve tireye izin var" -#: includes/admin/views/field-group-field.php:87 +#: includes/admin/views/field-group-field.php:85 msgid "Field Type" msgstr "Alan tipi" -#: includes/admin/views/field-group-field.php:98 -#: includes/fields/class-acf-field-tab.php:88 +#: includes/admin/views/field-group-field.php:96 msgid "Instructions" msgstr "Yönergeler" -#: includes/admin/views/field-group-field.php:99 +#: includes/admin/views/field-group-field.php:97 msgid "Instructions for authors. Shown when submitting data" msgstr "Yazarlara gösterilecek talimatlar. Veri gönderirken gösterilir" -#: includes/admin/views/field-group-field.php:108 +#: includes/admin/views/field-group-field.php:106 msgid "Required?" msgstr "Gerekli mi?" -#: includes/admin/views/field-group-field.php:131 +#: includes/admin/views/field-group-field.php:129 msgid "Wrapper Attributes" msgstr "Kapsayıcı öznitelikleri" -#: includes/admin/views/field-group-field.php:137 +#: includes/admin/views/field-group-field.php:135 msgid "width" msgstr "genişlik" -#: includes/admin/views/field-group-field.php:152 +#: includes/admin/views/field-group-field.php:150 msgid "class" msgstr "sınıf" -#: includes/admin/views/field-group-field.php:165 +#: includes/admin/views/field-group-field.php:163 msgid "id" msgstr "id" -#: includes/admin/views/field-group-field.php:177 +#: includes/admin/views/field-group-field.php:175 msgid "Close Field" msgstr "Alanı kapat" @@ -579,16 +639,16 @@ msgstr "Sırala" #: includes/admin/views/field-group-fields.php:5 #: includes/fields/class-acf-field-button-group.php:198 -#: includes/fields/class-acf-field-checkbox.php:415 -#: includes/fields/class-acf-field-radio.php:306 -#: includes/fields/class-acf-field-select.php:432 -#: pro/fields/class-acf-field-flexible-content.php:582 +#: includes/fields/class-acf-field-checkbox.php:420 +#: includes/fields/class-acf-field-radio.php:311 +#: includes/fields/class-acf-field-select.php:428 +#: pro/fields/class-acf-field-flexible-content.php:596 msgid "Label" msgstr "Etiket" #: includes/admin/views/field-group-fields.php:6 -#: includes/fields/class-acf-field-taxonomy.php:964 -#: pro/fields/class-acf-field-flexible-content.php:595 +#: includes/fields/class-acf-field-taxonomy.php:939 +#: pro/fields/class-acf-field-flexible-content.php:610 msgid "Name" msgstr "İsim" @@ -657,12 +717,12 @@ msgid "Label placement" msgstr "Etiket yerleştirme" #: includes/admin/views/field-group-options.php:62 -#: includes/fields/class-acf-field-tab.php:102 +#: includes/fields/class-acf-field-tab.php:106 msgid "Top aligned" msgstr "Üste hizalı" #: includes/admin/views/field-group-options.php:63 -#: includes/fields/class-acf-field-tab.php:103 +#: includes/fields/class-acf-field-tab.php:107 msgid "Left aligned" msgstr "Sola hizalı" @@ -691,14 +751,71 @@ msgid "Shown in field group list" msgstr "Alan grubu listesinde görüntülenir" #: includes/admin/views/field-group-options.php:107 +msgid "Permalink" +msgstr "Kalıcı bağlantı" + +#: includes/admin/views/field-group-options.php:108 +msgid "Content Editor" +msgstr "İçerik düzenleyici" + +#: includes/admin/views/field-group-options.php:109 +msgid "Excerpt" +msgstr "Özet" + +#: includes/admin/views/field-group-options.php:111 +msgid "Discussion" +msgstr "Tartışma" + +#: includes/admin/views/field-group-options.php:112 +msgid "Comments" +msgstr "Yorumlar" + +#: includes/admin/views/field-group-options.php:113 +msgid "Revisions" +msgstr "Sürümler" + +#: includes/admin/views/field-group-options.php:114 +msgid "Slug" +msgstr "Kısa isim" + +#: includes/admin/views/field-group-options.php:115 +msgid "Author" +msgstr "Yazar" + +#: includes/admin/views/field-group-options.php:116 +msgid "Format" +msgstr "Biçim" + +#: includes/admin/views/field-group-options.php:117 +msgid "Page Attributes" +msgstr "Sayfa öznitelikleri" + +#: includes/admin/views/field-group-options.php:118 +#: includes/fields/class-acf-field-relationship.php:688 +msgid "Featured Image" +msgstr "Öne çıkarılmış görsel" + +#: includes/admin/views/field-group-options.php:119 +msgid "Categories" +msgstr "Kategoriler" + +#: includes/admin/views/field-group-options.php:120 +msgid "Tags" +msgstr "Etiketler" + +#: includes/admin/views/field-group-options.php:121 +msgid "Send Trackbacks" +msgstr "Geri izlemeleri gönder" + +#: includes/admin/views/field-group-options.php:128 msgid "Hide on screen" msgstr "Ekranda gizle" -#: includes/admin/views/field-group-options.php:108 +#: includes/admin/views/field-group-options.php:129 msgid "Select items to hide them from the edit screen." msgstr "Düzenleme ekranından gizlemek istediğiniz ögeleri seçin." -#: includes/admin/views/field-group-options.php:108 +#: includes/admin/views/field-group-options.php:129 msgid "" "If multiple field groups appear on an edit screen, the first field group's " "options will be used (the one with the lowest order number)" @@ -706,77 +823,7 @@ msgstr "" "Eğer düzenleme ekranında birden çok alan grubu ortaya çıkarsa, ilk alan " "grubunun seçenekleri kullanılır (en düşük sıralama numarasına sahip olan)" -#: includes/admin/views/field-group-options.php:115 -msgid "Permalink" -msgstr "Kalıcı bağlantı" - -#: includes/admin/views/field-group-options.php:116 -msgid "Content Editor" -msgstr "İçerik düzenleyici" - -#: includes/admin/views/field-group-options.php:117 -msgid "Excerpt" -msgstr "Özet" - -#: includes/admin/views/field-group-options.php:119 -msgid "Discussion" -msgstr "Tartışma" - -#: includes/admin/views/field-group-options.php:120 -msgid "Comments" -msgstr "Yorumlar" - -#: includes/admin/views/field-group-options.php:121 -msgid "Revisions" -msgstr "Sürümler" - -#: includes/admin/views/field-group-options.php:122 -msgid "Slug" -msgstr "Kısa isim" - -#: includes/admin/views/field-group-options.php:123 -msgid "Author" -msgstr "Yazar" - -#: includes/admin/views/field-group-options.php:124 -msgid "Format" -msgstr "Biçim" - -#: includes/admin/views/field-group-options.php:125 -msgid "Page Attributes" -msgstr "Sayfa öznitelikleri" - -#: includes/admin/views/field-group-options.php:126 -#: includes/fields/class-acf-field-relationship.php:670 -msgid "Featured Image" -msgstr "Öne çıkarılmış görsel" - -#: includes/admin/views/field-group-options.php:127 -msgid "Categories" -msgstr "Kategoriler" - -#: includes/admin/views/field-group-options.php:128 -msgid "Tags" -msgstr "Etiketler" - -#: includes/admin/views/field-group-options.php:129 -msgid "Send Trackbacks" -msgstr "Geri izlemeleri gönder" - -#: includes/admin/views/html-location-group.php:3 -msgid "Show this field group if" -msgstr "Bu alan grubunu şu koşulda göster" - -#: includes/admin/views/install-network.php:4 -msgid "Upgrade Sites" -msgstr "Siteleri yükselt" - -#: includes/admin/views/install-network.php:9 -#: includes/admin/views/install.php:3 -msgid "Advanced Custom Fields Database Upgrade" -msgstr "Advanced Custom Fields veritabanı güncellemesi" - -#: includes/admin/views/install-network.php:11 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 #, php-format msgid "" "The following sites require a DB upgrade. Check the ones you want to update " @@ -785,29 +832,39 @@ msgstr "" "Şu siteler için VT güncellemesi gerekiyor. Güncellemek istediklerinizi " "işaretleyin ve %s tuşuna basın." -#: includes/admin/views/install-network.php:20 -#: includes/admin/views/install-network.php:28 +#: includes/admin/views/html-admin-page-upgrade-network.php:26 +#: includes/admin/views/html-admin-page-upgrade-network.php:27 +#: includes/admin/views/html-admin-page-upgrade-network.php:92 +msgid "Upgrade Sites" +msgstr "Siteleri yükselt" + +#: includes/admin/views/html-admin-page-upgrade-network.php:36 +#: includes/admin/views/html-admin-page-upgrade-network.php:47 msgid "Site" msgstr "Site" -#: includes/admin/views/install-network.php:48 +#: includes/admin/views/html-admin-page-upgrade-network.php:74 #, php-format msgid "Site requires database upgrade from %s to %s" msgstr "Site için %s sürümünden %s sürümüne veritabanı güncellemesi gerekiyor" -#: includes/admin/views/install-network.php:50 +#: includes/admin/views/html-admin-page-upgrade-network.php:76 msgid "Site is up to date" msgstr "Site güncel" -#: includes/admin/views/install-network.php:63 +#: includes/admin/views/html-admin-page-upgrade-network.php:93 #, php-format msgid "" "Database Upgrade complete. Return to network dashboard" msgstr "" "Veritabanı güncellemesi tamamlandı. Ağ panosuna geri dön" -#: includes/admin/views/install-network.php:102 -#: includes/admin/views/install-notice.php:42 +#: includes/admin/views/html-admin-page-upgrade-network.php:113 +msgid "Please select at least one site to upgrade." +msgstr "Lütfen yükseltmek için en az site seçin." + +#: includes/admin/views/html-admin-page-upgrade-network.php:117 +#: includes/admin/views/html-notice-upgrade.php:38 msgid "" "It is strongly recommended that you backup your database before proceeding. " "Are you sure you wish to run the updater now?" @@ -815,54 +872,80 @@ msgstr "" "Devam etmeden önce veritabanınızı yedeklemeniz önemle önerilir. " "Güncelleştiriciyi şimdi çalıştırmak istediğinizden emin misiniz?" -#: includes/admin/views/install-network.php:158 -msgid "Upgrade complete" -msgstr "Yükseltme başarılı" - -#: includes/admin/views/install-network.php:162 -#: includes/admin/views/install.php:9 +#: includes/admin/views/html-admin-page-upgrade-network.php:144 +#: includes/admin/views/html-admin-page-upgrade.php:31 #, php-format msgid "Upgrading data to version %s" msgstr "Veri %s sürümüne yükseltiliyor" -#: includes/admin/views/install-notice.php:8 +#: includes/admin/views/html-admin-page-upgrade-network.php:167 +msgid "Upgrade complete." +msgstr "Yükseltme başarılı." + +#: includes/admin/views/html-admin-page-upgrade-network.php:176 +#: includes/admin/views/html-admin-page-upgrade-network.php:185 +#: includes/admin/views/html-admin-page-upgrade.php:78 +#: includes/admin/views/html-admin-page-upgrade.php:87 +msgid "Upgrade failed." +msgstr "Yükseltme başarısız oldu." + +#: includes/admin/views/html-admin-page-upgrade.php:30 +msgid "Reading upgrade tasks..." +msgstr "Yükseltme görevlerini okuyor..." + +#: includes/admin/views/html-admin-page-upgrade.php:33 +#, php-format +msgid "Database upgrade complete. See what's new" +msgstr "" +"Veritabanı güncellemesi tamamlandı. Neler yeni bir göz atın" + +#: includes/admin/views/html-admin-page-upgrade.php:116 +#: includes/ajax/class-acf-ajax-upgrade.php:33 +msgid "No updates available." +msgstr "Güncelleme yok." + +#: includes/admin/views/html-location-group.php:3 +msgid "Show this field group if" +msgstr "Bu alan grubunu şu koşulda göster" + +#: includes/admin/views/html-notice-upgrade.php:8 #: pro/fields/class-acf-field-repeater.php:25 msgid "Repeater" msgstr "Tekrarlayıcı" -#: includes/admin/views/install-notice.php:9 +#: includes/admin/views/html-notice-upgrade.php:9 #: pro/fields/class-acf-field-flexible-content.php:25 msgid "Flexible Content" msgstr "Esnek içerik" -#: includes/admin/views/install-notice.php:10 +#: includes/admin/views/html-notice-upgrade.php:10 #: pro/fields/class-acf-field-gallery.php:25 msgid "Gallery" msgstr "Galeri" -#: includes/admin/views/install-notice.php:11 +#: includes/admin/views/html-notice-upgrade.php:11 #: pro/locations/class-acf-location-options-page.php:26 msgid "Options Page" msgstr "Seçenekler sayfası" -#: includes/admin/views/install-notice.php:26 +#: includes/admin/views/html-notice-upgrade.php:21 msgid "Database Upgrade Required" msgstr "Veritabanı yükseltmesi gerekiyor" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 #, php-format msgid "Thank you for updating to %s v%s!" msgstr "%s v%s sürümüne güncellediğiniz için teşekkür ederiz!" -#: includes/admin/views/install-notice.php:28 +#: includes/admin/views/html-notice-upgrade.php:22 msgid "" -"Before you start using the new awesome features, please update your database " -"to the newest version." +"This version contains improvements to your database and requires an upgrade." msgstr "" -"Yeni muhteşem özellikleri kullanmadan önce lütfen veritabanınızı en yeni " -"sürüme güncelleyin." +"Bu sürüm veritabanınız için iyileştirmeler içeriyor ve yükseltme " +"gerektiriyor." -#: includes/admin/views/install-notice.php:31 +#: includes/admin/views/html-notice-upgrade.php:24 #, php-format msgid "" "Please also ensure any premium add-ons (%s) have first been updated to the " @@ -871,17 +954,6 @@ msgstr "" "Lütfen ayrıca premium eklentilerin (%s) de en üst sürüme güncellendiğinden " "emin olun." -#: includes/admin/views/install.php:7 -msgid "Reading upgrade tasks..." -msgstr "Yükseltme görevlerini okuyor..." - -#: includes/admin/views/install.php:11 -#, php-format -msgid "Database Upgrade complete. See what's new" -msgstr "" -"Veritabanı güncellemesi tamamlandı. Neler yeni bir göz atın" - #: includes/admin/views/settings-addons.php:17 msgid "Download & Install" msgstr "İndir ve yükle" @@ -903,15 +975,15 @@ msgstr "" "Güncelleme için teşekkür ederiz! ACF %s zamankinden daha büyük ve daha iyi. " "Umarız beğenirsiniz." -#: includes/admin/views/settings-info.php:17 -msgid "A smoother custom field experience" -msgstr "Daha iyi bir özel alan deneyimi" +#: includes/admin/views/settings-info.php:15 +msgid "A Smoother Experience" +msgstr "Daha pürüzsüz bir deneyim" -#: includes/admin/views/settings-info.php:22 +#: includes/admin/views/settings-info.php:19 msgid "Improved Usability" msgstr "Geliştirilmiş kullanılabilirlik" -#: includes/admin/views/settings-info.php:23 +#: includes/admin/views/settings-info.php:20 msgid "" "Including the popular Select2 library has improved both usability and speed " "across a number of field types including post object, page link, taxonomy " @@ -921,11 +993,11 @@ msgstr "" "taksonomi ve seçim kutusu gibi bir çok alan tipinde hem kullanışlılık hem de " "hız iyileştirmeleri gerçekleşti." -#: includes/admin/views/settings-info.php:27 +#: includes/admin/views/settings-info.php:24 msgid "Improved Design" msgstr "Geliştirilmiş tasarım" -#: includes/admin/views/settings-info.php:28 +#: includes/admin/views/settings-info.php:25 msgid "" "Many fields have undergone a visual refresh to make ACF look better than " "ever! Noticeable changes are seen on the gallery, relationship and oEmbed " @@ -934,11 +1006,11 @@ msgstr "" "ACF daha iyi görünsün diye bir çok alan görsel yenilemeden geçirildi! Gözle " "görülür değişiklikler galeri, ilişki ve oEmbed (yeni) alanlarında!" -#: includes/admin/views/settings-info.php:32 +#: includes/admin/views/settings-info.php:29 msgid "Improved Data" msgstr "Geliştirilmiş veri" -#: includes/admin/views/settings-info.php:33 +#: includes/admin/views/settings-info.php:30 msgid "" "Redesigning the data architecture has allowed sub fields to live " "independently from their parents. This allows you to drag and drop fields in " @@ -948,21 +1020,21 @@ msgstr "" "bağlı olmadan var olabiliyorlar. Bu da üst alanların dışına sürükle bırak " "yapılabilmesine olanak sağlıyor!" -#: includes/admin/views/settings-info.php:39 +#: includes/admin/views/settings-info.php:38 msgid "Goodbye Add-ons. Hello PRO" msgstr "Elveda eklentiler. Merhaba PRO" -#: includes/admin/views/settings-info.php:44 +#: includes/admin/views/settings-info.php:41 msgid "Introducing ACF PRO" msgstr "Karşınızda ACF PRO" -#: includes/admin/views/settings-info.php:45 +#: includes/admin/views/settings-info.php:42 msgid "" "We're changing the way premium functionality is delivered in an exciting way!" msgstr "" "Premium işlevlerin size ulaştırılmasını daha heyecanlı bir hale getiriyoruz!" -#: includes/admin/views/settings-info.php:46 +#: includes/admin/views/settings-info.php:43 #, php-format msgid "" "All 4 premium add-ons have been combined into a new Pro " @@ -973,11 +1045,11 @@ msgstr "" "Hem kişisel hem geliştirici lisansında, özel beceriler hiç olmadığı kadar " "edinilebilir ve erişilebilir!" -#: includes/admin/views/settings-info.php:50 +#: includes/admin/views/settings-info.php:47 msgid "Powerful Features" msgstr "Güçlü özellikler" -#: includes/admin/views/settings-info.php:51 +#: includes/admin/views/settings-info.php:48 msgid "" "ACF PRO contains powerful features such as repeatable data, flexible content " "layouts, a beautiful gallery field and the ability to create extra admin " @@ -987,350 +1059,447 @@ msgstr "" "alanı ve ekstra yönetim seçenekleri sayfaları oluşturma gibi güçlü " "özellikler içerir!" -#: includes/admin/views/settings-info.php:52 +#: includes/admin/views/settings-info.php:49 #, php-format msgid "Read more about ACF PRO features." msgstr "ACF PRO özellikleri hakkında daha fazlasını okuyun." -#: includes/admin/views/settings-info.php:56 +#: includes/admin/views/settings-info.php:53 msgid "Easy Upgrading" msgstr "Kolay yükseltme" -#: includes/admin/views/settings-info.php:57 -#, php-format +#: includes/admin/views/settings-info.php:54 msgid "" -"To help make upgrading easy, login to your store account " -"and claim a free copy of ACF PRO!" +"Upgrading to ACF PRO is easy. Simply purchase a license online and download " +"the plugin!" msgstr "" -"Yükseltmeyi kolaylaştırmak için mağaza hesabınıza giriş " -"yapın ve bir adet ücretsiz ACF PRO kopyası edinin!" +"ACF PRO’ya yükseltmek çok kolay. Çevrimiçi bir lisans satın alın ve " +"eklentiyi indirin!" -#: includes/admin/views/settings-info.php:58 +#: includes/admin/views/settings-info.php:55 #, php-format msgid "" "We also wrote an upgrade guide to answer any questions, " "but if you do have one, please contact our support team via the help desk" +"\">help desk." msgstr "" "Her türlü soruya cevap verebilecek bir yükseltme rehberi " "hazırladık, fakat yine de bir sorunuz varsa lütfen yardım " -"masasını kullanarak destek ekibimize danışın" +"masasını kullanarak destek ekibimize danışın." -#: includes/admin/views/settings-info.php:66 -msgid "Under the Hood" -msgstr "Kaputun altında" +#: includes/admin/views/settings-info.php:64 +msgid "New Features" +msgstr "Yeni özellikler" -#: includes/admin/views/settings-info.php:71 -msgid "Smarter field settings" -msgstr "Daha akıllı alan ayarları" +#: includes/admin/views/settings-info.php:69 +msgid "Link Field" +msgstr "Bağlantı alanı" -#: includes/admin/views/settings-info.php:72 -msgid "ACF now saves its field settings as individual post objects" -msgstr "ACF artık alan ayarlarını münferit yazı nesneleri olarak saklıyor" +#: includes/admin/views/settings-info.php:70 +msgid "" +"The Link field provides a simple way to select or define a link (url, title, " +"target)." +msgstr "" +"Bağlantı alanı bir bağlantı (adres, başlık, hedef) seçmek ya da tanımlamak " +"için basit bir yol sunar." -#: includes/admin/views/settings-info.php:76 +#: includes/admin/views/settings-info.php:74 +msgid "Group Field" +msgstr "Grup alanı" + +#: includes/admin/views/settings-info.php:75 +msgid "The Group field provides a simple way to create a group of fields." +msgstr "Grup alanı birden çok alanı basitçe gruplamanıza olanak sağlar." + +#: includes/admin/views/settings-info.php:79 +msgid "oEmbed Field" +msgstr "oEmbed alanı" + +#: includes/admin/views/settings-info.php:80 +msgid "" +"The oEmbed field allows an easy way to embed videos, images, tweets, audio, " +"and other content." +msgstr "" +"oEmbed alanı videolar, görseller, tweetler, ses ve diğer içeriği kolayca " +"gömebilmenizi sağlar." + +#: includes/admin/views/settings-info.php:84 +msgid "Clone Field" +msgstr "Kopya alanı" + +#: includes/admin/views/settings-info.php:85 +msgid "The clone field allows you to select and display existing fields." +msgstr "Kopya alanı var olan alanları seçme ve görüntülemenize olanak sağlar." + +#: includes/admin/views/settings-info.php:89 msgid "More AJAX" msgstr "Daha fazla AJAX" -#: includes/admin/views/settings-info.php:77 -msgid "More fields use AJAX powered search to speed up page loading" +#: includes/admin/views/settings-info.php:90 +msgid "More fields use AJAX powered search to speed up page loading." msgstr "" -"Sayfa yüklemesini hızlandırmak için daha fazla alan AJAX ile güçlendirildi" +"Sayfa yüklenmesini hızlandırmak adına daha çok alan AJAX ile güçlendirilmiş " +"arama kullanıyor." -#: includes/admin/views/settings-info.php:81 +#: includes/admin/views/settings-info.php:94 msgid "Local JSON" msgstr "Yerel JSON" -#: includes/admin/views/settings-info.php:82 -msgid "New auto export to JSON feature improves speed" -msgstr "Yeni otomatik JSON dışarı aktarma özelliği hızı geliştiriyor" - -#: includes/admin/views/settings-info.php:88 -msgid "Better version control" -msgstr "Daha iyi sürüm kontrolü" - -#: includes/admin/views/settings-info.php:89 +#: includes/admin/views/settings-info.php:95 msgid "" -"New auto export to JSON feature allows field settings to be version " -"controlled" +"New auto export to JSON feature improves speed and allows for syncronisation." msgstr "" -"Otomatik JSON dışarı aktarma özelliği sayesinde artık alan ayarları sürüm " -"kontrolü ile yönetilebilir" - -#: includes/admin/views/settings-info.php:93 -msgid "Swapped XML for JSON" -msgstr "XML yerine JSON kullanımına geçildi" - -#: includes/admin/views/settings-info.php:94 -msgid "Import / Export now uses JSON in favour of XML" -msgstr "İçeri / dışarı aktarma artık XML yerine JSON kullanıyor" - -#: includes/admin/views/settings-info.php:98 -msgid "New Forms" -msgstr "Yeni formlar" +"Yeni otomatik JSON dışarı aktarma özelliği ile hız artıyor ve " +"senkronizasyona imkan sağlanıyor." #: includes/admin/views/settings-info.php:99 -msgid "Fields can now be mapped to comments, widgets and all user forms!" -msgstr "" -"Alanlar artık yorumlara, bileşenlere ve tüm kullanıcı formlarına " -"eşlenebiliyor!" +msgid "Easy Import / Export" +msgstr "Kolayca içe / dışa aktarma" -#: includes/admin/views/settings-info.php:106 -msgid "A new field for embedding content has been added" -msgstr "Gömülü içerik için yeni bir alan eklendi" +#: includes/admin/views/settings-info.php:100 +msgid "Both import and export can easily be done through a new tools page." +msgstr "" +"İçeri ve dışarı aktarma işlemleri yeni araçlar sayfasından kolayca " +"yapılabilir." + +#: includes/admin/views/settings-info.php:104 +msgid "New Form Locations" +msgstr "Yeni form konumları" + +#: includes/admin/views/settings-info.php:105 +msgid "" +"Fields can now be mapped to menus, menu items, comments, widgets and all " +"user forms!" +msgstr "" +"Alanlar artık menülere, menü elemanlarına, yorumlara, bileşenlere ve tüm " +"kullanıcı formlarına eşlenebiliyor!" + +#: includes/admin/views/settings-info.php:109 +msgid "More Customization" +msgstr "Daha fazla özelleştirme" #: includes/admin/views/settings-info.php:110 -msgid "New Gallery" -msgstr "Yeni galeri" +msgid "" +"New PHP (and JS) actions and filters have been added to allow for more " +"customization." +msgstr "" +"Daha fazla özelleştirmeye izin veren yeni PHP (ve JS) eylem ve filtreleri " +"eklendi." -#: includes/admin/views/settings-info.php:111 -msgid "The gallery field has undergone a much needed facelift" -msgstr "Galeri alanı oldukça gerekli bir makyaj ile yenilendi" +#: includes/admin/views/settings-info.php:114 +msgid "Fresh UI" +msgstr "Taze arayüz" #: includes/admin/views/settings-info.php:115 +msgid "" +"The entire plugin has had a design refresh including new field types, " +"settings and design!" +msgstr "" +"Eklentinin tasarımı yeni alan tipleri, ayarlar ve tasarımı da içerecek " +"şekilde yenilendi!" + +#: includes/admin/views/settings-info.php:119 msgid "New Settings" msgstr "Yeni ayarlar" -#: includes/admin/views/settings-info.php:116 +#: includes/admin/views/settings-info.php:120 msgid "" -"Field group settings have been added for label placement and instruction " -"placement" -msgstr "Etiket yerleşimi ve yönerge yerleşimi için alan grubu ayarları eklendi" +"Field group settings have been added for Active, Label Placement, " +"Instructions Placement and Description." +msgstr "" +"Etkin, etiket yerleşimi, talimatlar yerleşimi ve açıklama için alan grubu " +"ayarları eklendi." -#: includes/admin/views/settings-info.php:122 +#: includes/admin/views/settings-info.php:124 msgid "Better Front End Forms" msgstr "Daha iyi ön yüz formları" -#: includes/admin/views/settings-info.php:123 -msgid "acf_form() can now create a new post on submission" -msgstr "acf_form() artık gönderim halinde yeni bir yazı oluşturabilir" +#: includes/admin/views/settings-info.php:125 +msgid "" +"acf_form() can now create a new post on submission with lots of new settings." +msgstr "" +"acf_form() artık gönderim halinde bir sürü yeni ayar ile yeni bir yazı " +"oluşturabilir." -#: includes/admin/views/settings-info.php:127 +#: includes/admin/views/settings-info.php:129 msgid "Better Validation" msgstr "Daha iyi doğrulama" -#: includes/admin/views/settings-info.php:128 -msgid "Form validation is now done via PHP + AJAX in favour of only JS" -msgstr "Form doğrulama artık sadece JS yerine PHP + AJAX ile yapılıyor" +#: includes/admin/views/settings-info.php:130 +msgid "Form validation is now done via PHP + AJAX in favour of only JS." +msgstr "Form doğrulama artık sadece JS yerine PHP + AJAX ile yapılıyor." -#: includes/admin/views/settings-info.php:132 -msgid "Relationship Field" -msgstr "İlişkili alan" - -#: includes/admin/views/settings-info.php:133 -msgid "" -"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" -msgstr "'Filtreler' için yeni ilişki ayarı (Arama, yazı tipi, taksonomi)" - -#: includes/admin/views/settings-info.php:139 +#: includes/admin/views/settings-info.php:134 msgid "Moving Fields" msgstr "Taşınabilir alanlar" -#: includes/admin/views/settings-info.php:140 +#: includes/admin/views/settings-info.php:135 msgid "" "New field group functionality allows you to move a field between groups & " -"parents" +"parents." msgstr "" -"Yeni alan gruplama becerisi bir alanı gruplar ve üst alanlar arasında taşıma " -"imkanı sağlar" +"Yeni gruplama becerisi, bir alanı gruplar ve üst alanlar arasında " +"taşıyabilmenize olanak sağlar." -#: includes/admin/views/settings-info.php:144 -#: includes/fields/class-acf-field-page_link.php:25 -msgid "Page Link" -msgstr "Sayfa bağlantısı" - -#: includes/admin/views/settings-info.php:145 -msgid "New archives group in page_link field selection" -msgstr "Yeni arşivler page_link alanı seçiminde gruplanır" - -#: includes/admin/views/settings-info.php:149 -msgid "Better Options Pages" -msgstr "Daha iyi seçenekler sayfası" - -#: includes/admin/views/settings-info.php:150 -msgid "" -"New functions for options page allow creation of both parent and child menu " -"pages" -msgstr "" -"Seçenekler sayfası için yeni işlevler sayesinde hem üst hem alt menü " -"sayfaları oluşturulabiliyor" - -#: includes/admin/views/settings-info.php:159 +#: includes/admin/views/settings-info.php:146 #, php-format msgid "We think you'll love the changes in %s." msgstr "%s sürümündeki değişiklikleri seveceğinizi düşünüyoruz." -#: includes/admin/views/settings-tools-export.php:23 -msgid "Export Field Groups to PHP" -msgstr "Alan gruplarını PHP için dışa aktar" - -#: includes/admin/views/settings-tools-export.php:27 -msgid "" -"The following code can be used to register a local version of the selected " -"field group(s). A local field group can provide many benefits such as faster " -"load times, version control & dynamic fields/settings. Simply copy and paste " -"the following code to your theme's functions.php file or include it within " -"an external file." -msgstr "" -"Aşağıdaki kod seçilmiş alan grubu/grupları için yerel bir sürüm kaydetmek " -"için kullanılır. Yerel alan grubu daha hızlı yüklenme süreleri, sürüm " -"yönetimi ve dinamik alanlar/ayarlar gibi faydalar sağlar. Yapmanız gereken " -"bu kodu kopyalayıp temanızın functions.php dosyasına eklemek ya da harici " -"bir dosya olarak temanıza dahil etmek." - -#: includes/admin/views/settings-tools.php:5 -msgid "Select Field Groups" -msgstr "Alan gruplarını seç" - -#: includes/admin/views/settings-tools.php:35 -msgid "Export Field Groups" -msgstr "Alan gruplarını dışarı aktar" - -#: includes/admin/views/settings-tools.php:38 -msgid "" -"Select the field groups you would like to export and then select your export " -"method. Use the download button to export to a .json file which you can then " -"import to another ACF installation. Use the generate button to export to PHP " -"code which you can place in your theme." -msgstr "" -"Dışa aktarma ve sonra dışa aktarma yöntemini seçtikten sonra alan gruplarını " -"seçin. Sonra başka bir ACF yükleme içe bir .json dosyaya vermek için indirme " -"düğmesini kullanın. Tema yerleştirebilirsiniz PHP kodu aktarma düğmesini " -"kullanın." - -#: includes/admin/views/settings-tools.php:50 -msgid "Download export file" -msgstr "Dışarı aktarma dosyasını indir" - -#: includes/admin/views/settings-tools.php:51 -msgid "Generate export code" -msgstr "Dışarı aktarma kodu oluştur" - -#: includes/admin/views/settings-tools.php:64 -msgid "Import Field Groups" -msgstr "Alan gruplarını içeri aktar" - -#: includes/admin/views/settings-tools.php:67 -msgid "" -"Select the Advanced Custom Fields JSON file you would like to import. When " -"you click the import button below, ACF will import the field groups." -msgstr "" -"İçeri aktarmak istediğiniz Advanced Custom Fields JSON dosyasını seçin. " -"Aşağıdaki içeri aktar tuşuna bastığınızda ACF alan gruplarını içeri " -"aktaracak." - -#: includes/admin/views/settings-tools.php:77 -#: includes/fields/class-acf-field-file.php:35 -msgid "Select File" -msgstr "Dosya seç" - -#: includes/admin/views/settings-tools.php:86 -msgid "Import" -msgstr "İçe aktar" - -#: includes/api/api-helpers.php:856 +#: includes/api/api-helpers.php:1046 msgid "Thumbnail" msgstr "Küçük görsel" -#: includes/api/api-helpers.php:857 +#: includes/api/api-helpers.php:1047 msgid "Medium" msgstr "Orta" -#: includes/api/api-helpers.php:858 +#: includes/api/api-helpers.php:1048 msgid "Large" msgstr "Büyük" -#: includes/api/api-helpers.php:907 +#: includes/api/api-helpers.php:1097 msgid "Full Size" msgstr "Tam boyut" -#: includes/api/api-helpers.php:1248 includes/api/api-helpers.php:1831 -#: pro/fields/class-acf-field-clone.php:992 +#: includes/api/api-helpers.php:1339 includes/api/api-helpers.php:1912 +#: pro/fields/class-acf-field-clone.php:996 msgid "(no title)" msgstr "(başlıksız)" -#: includes/api/api-helpers.php:1868 -#: includes/fields/class-acf-field-page_link.php:269 -#: includes/fields/class-acf-field-post_object.php:268 -#: includes/fields/class-acf-field-taxonomy.php:986 -msgid "Parent" -msgstr "Ebeveyn" - -#: includes/api/api-helpers.php:3885 +#: includes/api/api-helpers.php:3994 #, php-format msgid "Image width must be at least %dpx." msgstr "Görsel genişliği en az %dpx olmalı." -#: includes/api/api-helpers.php:3890 +#: includes/api/api-helpers.php:3999 #, php-format msgid "Image width must not exceed %dpx." msgstr "Görsel genişliği %dpx değerini geçmemeli." -#: includes/api/api-helpers.php:3906 +#: includes/api/api-helpers.php:4015 #, php-format msgid "Image height must be at least %dpx." msgstr "Görsel yüksekliği en az %dpx olmalı." -#: includes/api/api-helpers.php:3911 +#: includes/api/api-helpers.php:4020 #, php-format msgid "Image height must not exceed %dpx." msgstr "Görsel yüksekliği %dpx değerini geçmemeli." -#: includes/api/api-helpers.php:3929 +#: includes/api/api-helpers.php:4038 #, php-format msgid "File size must be at least %s." msgstr "Dosya boyutu en az %s olmalı." -#: includes/api/api-helpers.php:3934 +#: includes/api/api-helpers.php:4043 #, php-format msgid "File size must must not exceed %s." msgstr "Dosya boyutu %s boyutunu geçmemeli." -#: includes/api/api-helpers.php:3968 +#: includes/api/api-helpers.php:4077 #, php-format msgid "File type must be %s." msgstr "Dosya tipi %s olmalı." -#: includes/fields.php:144 -msgid "Basic" -msgstr "Basit" +#: includes/assets.php:172 +msgid "The changes you made will be lost if you navigate away from this page" +msgstr "" +"Bu sayfadan başka bir sayfaya geçerseniz yaptığınız değişiklikler kaybolacak" -#: includes/fields.php:145 includes/forms/form-front.php:47 -msgid "Content" -msgstr "İçerik" +#: includes/assets.php:175 includes/fields/class-acf-field-select.php:259 +msgctxt "verb" +msgid "Select" +msgstr "Seç" -#: includes/fields.php:146 -msgid "Choice" -msgstr "Seçim" +#: includes/assets.php:176 +msgctxt "verb" +msgid "Edit" +msgstr "Düzenle" -#: includes/fields.php:147 -msgid "Relational" -msgstr "İlişkisel" +#: includes/assets.php:177 +msgctxt "verb" +msgid "Update" +msgstr "Güncelle" -#: includes/fields.php:148 -msgid "jQuery" -msgstr "jQuery" +#: includes/assets.php:178 +msgid "Uploaded to this post" +msgstr "Bu yazıya yüklenmiş" -#: includes/fields.php:149 -#: includes/fields/class-acf-field-button-group.php:177 -#: includes/fields/class-acf-field-checkbox.php:384 -#: includes/fields/class-acf-field-group.php:474 -#: includes/fields/class-acf-field-radio.php:285 -#: pro/fields/class-acf-field-clone.php:839 -#: pro/fields/class-acf-field-flexible-content.php:552 -#: pro/fields/class-acf-field-flexible-content.php:601 -#: pro/fields/class-acf-field-repeater.php:450 -msgid "Layout" -msgstr "Yerleşim" +#: includes/assets.php:179 +msgid "Expand Details" +msgstr "Ayrıntıları genişlet" -#: includes/fields.php:326 +#: includes/assets.php:180 +msgid "Collapse Details" +msgstr "Detayları daralt" + +#: includes/assets.php:181 +msgid "Restricted" +msgstr "Kısıtlı" + +#: includes/assets.php:182 includes/fields/class-acf-field-image.php:67 +msgid "All images" +msgstr "Tüm görseller" + +#: includes/assets.php:185 +msgid "Validation successful" +msgstr "Doğrulama başarılı" + +#: includes/assets.php:186 includes/validation.php:285 +#: includes/validation.php:296 +msgid "Validation failed" +msgstr "Doğrulama başarısız" + +#: includes/assets.php:187 +msgid "1 field requires attention" +msgstr "1 alan dikkatinizi gerektiriyor" + +#: includes/assets.php:188 +#, php-format +msgid "%d fields require attention" +msgstr "%d alan dikkatinizi gerektiriyor" + +#: includes/assets.php:191 +msgid "Are you sure?" +msgstr "Emin misiniz?" + +#: includes/assets.php:192 includes/fields/class-acf-field-true_false.php:79 +#: includes/fields/class-acf-field-true_false.php:159 +#: pro/admin/views/html-settings-updates.php:89 +msgid "Yes" +msgstr "Evet" + +#: includes/assets.php:193 includes/fields/class-acf-field-true_false.php:80 +#: includes/fields/class-acf-field-true_false.php:174 +#: pro/admin/views/html-settings-updates.php:99 +msgid "No" +msgstr "Hayır" + +#: includes/assets.php:194 includes/fields/class-acf-field-file.php:154 +#: includes/fields/class-acf-field-image.php:141 +#: includes/fields/class-acf-field-link.php:140 +#: pro/fields/class-acf-field-gallery.php:358 +#: pro/fields/class-acf-field-gallery.php:546 +msgid "Remove" +msgstr "Kaldır" + +#: includes/assets.php:195 +msgid "Cancel" +msgstr "İptal" + +#: includes/assets.php:198 +msgid "Has any value" +msgstr "Herhangi bir değer" + +#: includes/assets.php:199 +msgid "Has no value" +msgstr "Hiçbir değer" + +#: includes/assets.php:200 +msgid "Value is equal to" +msgstr "Değer eşitse" + +#: includes/assets.php:201 +msgid "Value is not equal to" +msgstr "Değer eşit değilse" + +#: includes/assets.php:202 +msgid "Value matches pattern" +msgstr "Değer bir desenle eşleşir" + +#: includes/assets.php:203 +msgid "Value contains" +msgstr "Değer içeriyor" + +#: includes/assets.php:204 +msgid "Value is greater than" +msgstr "Değer daha büyük" + +#: includes/assets.php:205 +msgid "Value is less than" +msgstr "Değer daha az" + +#: includes/assets.php:206 +msgid "Selection is greater than" +msgstr "Seçin daha büyük" + +#: includes/assets.php:207 +msgid "Selection is less than" +msgstr "Seçim daha az" + +#: includes/fields.php:308 msgid "Field type does not exist" msgstr "Var olmayan alan tipi" -#: includes/fields.php:326 +#: includes/fields.php:308 msgid "Unknown" msgstr "Bilinmiyor" +#: includes/fields.php:349 +msgid "Basic" +msgstr "Basit" + +#: includes/fields.php:350 includes/forms/form-front.php:47 +msgid "Content" +msgstr "İçerik" + +#: includes/fields.php:351 +msgid "Choice" +msgstr "Seçim" + +#: includes/fields.php:352 +msgid "Relational" +msgstr "İlişkisel" + +#: includes/fields.php:353 +msgid "jQuery" +msgstr "jQuery" + +#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177 +#: includes/fields/class-acf-field-checkbox.php:389 +#: includes/fields/class-acf-field-group.php:474 +#: includes/fields/class-acf-field-radio.php:290 +#: pro/fields/class-acf-field-clone.php:843 +#: pro/fields/class-acf-field-flexible-content.php:567 +#: pro/fields/class-acf-field-flexible-content.php:616 +#: pro/fields/class-acf-field-repeater.php:443 +msgid "Layout" +msgstr "Yerleşim" + +#: includes/fields/class-acf-field-accordion.php:24 +msgid "Accordion" +msgstr "Akordeon" + +#: includes/fields/class-acf-field-accordion.php:99 +msgid "Open" +msgstr "Açık" + +#: includes/fields/class-acf-field-accordion.php:100 +msgid "Display this accordion as open on page load." +msgstr "Sayfa yüklemesi sırasında bu akordeonu açık olarak görüntüle." + +#: includes/fields/class-acf-field-accordion.php:109 +msgid "Multi-expand" +msgstr "Çoklu genişletme" + +#: includes/fields/class-acf-field-accordion.php:110 +msgid "Allow this accordion to open without closing others." +msgstr "Bu akordeonun diğerlerini kapatmadan açılmasını sağla." + +#: includes/fields/class-acf-field-accordion.php:119 +#: includes/fields/class-acf-field-tab.php:114 +msgid "Endpoint" +msgstr "Uç nokta" + +#: includes/fields/class-acf-field-accordion.php:120 +msgid "" +"Define an endpoint for the previous accordion to stop. This accordion will " +"not be visible." +msgstr "" +"Önceki akordeonun durması için bir son nokta tanımlayın. Bu akordeon " +"görüntülenmeyecek." + #: includes/fields/class-acf-field-button-group.php:24 msgid "Button Group" msgstr "Tuş grubu" @@ -1338,21 +1507,21 @@ msgstr "Tuş grubu" #: includes/fields/class-acf-field-button-group.php:149 #: includes/fields/class-acf-field-checkbox.php:344 #: includes/fields/class-acf-field-radio.php:235 -#: includes/fields/class-acf-field-select.php:368 +#: includes/fields/class-acf-field-select.php:359 msgid "Choices" msgstr "Seçimler" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:360 msgid "Enter each choice on a new line." msgstr "Her seçeneği yeni bir satıra girin." #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:360 msgid "For more control, you may specify both a value and label like this:" msgstr "" "Daha fazla kontrol için, hem bir değeri hem de bir etiketi şu şekilde " @@ -1361,95 +1530,95 @@ msgstr "" #: includes/fields/class-acf-field-button-group.php:150 #: includes/fields/class-acf-field-checkbox.php:345 #: includes/fields/class-acf-field-radio.php:236 -#: includes/fields/class-acf-field-select.php:369 +#: includes/fields/class-acf-field-select.php:360 msgid "red : Red" msgstr "kirmizi : Kırmızı" #: includes/fields/class-acf-field-button-group.php:158 #: includes/fields/class-acf-field-page_link.php:513 -#: includes/fields/class-acf-field-post_object.php:412 +#: includes/fields/class-acf-field-post_object.php:411 #: includes/fields/class-acf-field-radio.php:244 -#: includes/fields/class-acf-field-select.php:386 -#: includes/fields/class-acf-field-taxonomy.php:793 -#: includes/fields/class-acf-field-user.php:408 +#: includes/fields/class-acf-field-select.php:377 +#: includes/fields/class-acf-field-taxonomy.php:784 +#: includes/fields/class-acf-field-user.php:409 msgid "Allow Null?" msgstr "Boş geçilebilir mi?" #: includes/fields/class-acf-field-button-group.php:168 -#: includes/fields/class-acf-field-checkbox.php:375 +#: includes/fields/class-acf-field-checkbox.php:380 #: includes/fields/class-acf-field-color_picker.php:131 #: includes/fields/class-acf-field-email.php:118 #: includes/fields/class-acf-field-number.php:127 -#: includes/fields/class-acf-field-radio.php:276 -#: includes/fields/class-acf-field-range.php:148 -#: includes/fields/class-acf-field-select.php:377 +#: includes/fields/class-acf-field-radio.php:281 +#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-select.php:368 #: includes/fields/class-acf-field-text.php:119 #: includes/fields/class-acf-field-textarea.php:102 #: includes/fields/class-acf-field-true_false.php:135 #: includes/fields/class-acf-field-url.php:100 -#: includes/fields/class-acf-field-wysiwyg.php:410 +#: includes/fields/class-acf-field-wysiwyg.php:381 msgid "Default Value" msgstr "Varsayılan değer" #: includes/fields/class-acf-field-button-group.php:169 #: includes/fields/class-acf-field-email.php:119 #: includes/fields/class-acf-field-number.php:128 -#: includes/fields/class-acf-field-radio.php:277 -#: includes/fields/class-acf-field-range.php:149 +#: includes/fields/class-acf-field-radio.php:282 +#: includes/fields/class-acf-field-range.php:150 #: includes/fields/class-acf-field-text.php:120 #: includes/fields/class-acf-field-textarea.php:103 #: includes/fields/class-acf-field-url.php:101 -#: includes/fields/class-acf-field-wysiwyg.php:411 +#: includes/fields/class-acf-field-wysiwyg.php:382 msgid "Appears when creating a new post" msgstr "Yeni bir yazı oluştururken görünür" #: includes/fields/class-acf-field-button-group.php:183 -#: includes/fields/class-acf-field-checkbox.php:391 -#: includes/fields/class-acf-field-radio.php:292 +#: includes/fields/class-acf-field-checkbox.php:396 +#: includes/fields/class-acf-field-radio.php:297 msgid "Horizontal" msgstr "Yatay" #: includes/fields/class-acf-field-button-group.php:184 -#: includes/fields/class-acf-field-checkbox.php:390 -#: includes/fields/class-acf-field-radio.php:291 +#: includes/fields/class-acf-field-checkbox.php:395 +#: includes/fields/class-acf-field-radio.php:296 msgid "Vertical" msgstr "Dikey" #: includes/fields/class-acf-field-button-group.php:191 -#: includes/fields/class-acf-field-checkbox.php:408 -#: includes/fields/class-acf-field-file.php:200 -#: includes/fields/class-acf-field-image.php:188 +#: includes/fields/class-acf-field-checkbox.php:413 +#: includes/fields/class-acf-field-file.php:215 +#: includes/fields/class-acf-field-image.php:205 #: includes/fields/class-acf-field-link.php:166 -#: includes/fields/class-acf-field-radio.php:299 -#: includes/fields/class-acf-field-taxonomy.php:833 +#: includes/fields/class-acf-field-radio.php:304 +#: includes/fields/class-acf-field-taxonomy.php:829 msgid "Return Value" msgstr "Dönüş değeri" #: includes/fields/class-acf-field-button-group.php:192 -#: includes/fields/class-acf-field-checkbox.php:409 -#: includes/fields/class-acf-field-file.php:201 -#: includes/fields/class-acf-field-image.php:189 +#: includes/fields/class-acf-field-checkbox.php:414 +#: includes/fields/class-acf-field-file.php:216 +#: includes/fields/class-acf-field-image.php:206 #: includes/fields/class-acf-field-link.php:167 -#: includes/fields/class-acf-field-radio.php:300 +#: includes/fields/class-acf-field-radio.php:305 msgid "Specify the returned value on front end" msgstr "Ön yüzden dönecek değeri belirleyin" #: includes/fields/class-acf-field-button-group.php:197 -#: includes/fields/class-acf-field-checkbox.php:414 -#: includes/fields/class-acf-field-radio.php:305 -#: includes/fields/class-acf-field-select.php:431 +#: includes/fields/class-acf-field-checkbox.php:419 +#: includes/fields/class-acf-field-radio.php:310 +#: includes/fields/class-acf-field-select.php:427 msgid "Value" msgstr "Değer" #: includes/fields/class-acf-field-button-group.php:199 -#: includes/fields/class-acf-field-checkbox.php:416 -#: includes/fields/class-acf-field-radio.php:307 -#: includes/fields/class-acf-field-select.php:433 +#: includes/fields/class-acf-field-checkbox.php:421 +#: includes/fields/class-acf-field-radio.php:312 +#: includes/fields/class-acf-field-select.php:429 msgid "Both (Array)" msgstr "İkisi de (Dizi)" #: includes/fields/class-acf-field-checkbox.php:25 -#: includes/fields/class-acf-field-taxonomy.php:780 +#: includes/fields/class-acf-field-taxonomy.php:771 msgid "Checkbox" msgstr "İşaret kutusu" @@ -1477,16 +1646,16 @@ msgstr "Özel alanı kaydet" msgid "Save 'custom' values to the field's choices" msgstr "‘Özel’ değerleri alanın seçenekleri arasına kaydet" -#: includes/fields/class-acf-field-checkbox.php:376 -#: includes/fields/class-acf-field-select.php:378 +#: includes/fields/class-acf-field-checkbox.php:381 +#: includes/fields/class-acf-field-select.php:369 msgid "Enter each default value on a new line" msgstr "Her varsayılan değeri yeni bir satıra girin" -#: includes/fields/class-acf-field-checkbox.php:398 +#: includes/fields/class-acf-field-checkbox.php:403 msgid "Toggle" msgstr "Aç - kapat" -#: includes/fields/class-acf-field-checkbox.php:399 +#: includes/fields/class-acf-field-checkbox.php:404 msgid "Prepend an extra checkbox to toggle all choices" msgstr "" "En başa tüm seçimleri tersine çevirmek için ekstra bir seçim kutusu ekle" @@ -1515,77 +1684,78 @@ msgstr "Şu anki renk" msgid "Date Picker" msgstr "Tarih seçici" -#: includes/fields/class-acf-field-date_picker.php:33 +#: includes/fields/class-acf-field-date_picker.php:59 msgctxt "Date Picker JS closeText" msgid "Done" msgstr "Tamam" -#: includes/fields/class-acf-field-date_picker.php:34 +#: includes/fields/class-acf-field-date_picker.php:60 msgctxt "Date Picker JS currentText" msgid "Today" msgstr "Bugün" -#: includes/fields/class-acf-field-date_picker.php:35 +#: includes/fields/class-acf-field-date_picker.php:61 msgctxt "Date Picker JS nextText" msgid "Next" msgstr "İleri" -#: includes/fields/class-acf-field-date_picker.php:36 +#: includes/fields/class-acf-field-date_picker.php:62 msgctxt "Date Picker JS prevText" msgid "Prev" msgstr "Önceki" -#: includes/fields/class-acf-field-date_picker.php:37 +#: includes/fields/class-acf-field-date_picker.php:63 msgctxt "Date Picker JS weekHeader" msgid "Wk" msgstr "Hf" -#: includes/fields/class-acf-field-date_picker.php:207 -#: includes/fields/class-acf-field-date_time_picker.php:181 +#: includes/fields/class-acf-field-date_picker.php:180 +#: includes/fields/class-acf-field-date_time_picker.php:183 #: includes/fields/class-acf-field-time_picker.php:109 msgid "Display Format" msgstr "Gösterim biçimi" -#: includes/fields/class-acf-field-date_picker.php:208 -#: includes/fields/class-acf-field-date_time_picker.php:182 +#: includes/fields/class-acf-field-date_picker.php:181 +#: includes/fields/class-acf-field-date_time_picker.php:184 #: includes/fields/class-acf-field-time_picker.php:110 msgid "The format displayed when editing a post" msgstr "Bir yazı düzenlenirken görüntülenecek biçim" -#: includes/fields/class-acf-field-date_picker.php:216 -#: includes/fields/class-acf-field-date_picker.php:247 -#: includes/fields/class-acf-field-date_time_picker.php:191 -#: includes/fields/class-acf-field-date_time_picker.php:208 +#: includes/fields/class-acf-field-date_picker.php:189 +#: includes/fields/class-acf-field-date_picker.php:220 +#: includes/fields/class-acf-field-date_time_picker.php:193 +#: includes/fields/class-acf-field-date_time_picker.php:210 #: includes/fields/class-acf-field-time_picker.php:117 #: includes/fields/class-acf-field-time_picker.php:132 msgid "Custom:" msgstr "Özel:" -#: includes/fields/class-acf-field-date_picker.php:226 +#: includes/fields/class-acf-field-date_picker.php:199 msgid "Save Format" msgstr "Biçimi kaydet" -#: includes/fields/class-acf-field-date_picker.php:227 +#: includes/fields/class-acf-field-date_picker.php:200 msgid "The format used when saving a value" msgstr "Bir değer kaydedilirken kullanılacak biçim" -#: includes/fields/class-acf-field-date_picker.php:237 -#: includes/fields/class-acf-field-date_time_picker.php:198 -#: includes/fields/class-acf-field-post_object.php:432 -#: includes/fields/class-acf-field-relationship.php:697 -#: includes/fields/class-acf-field-select.php:426 +#: includes/fields/class-acf-field-date_picker.php:210 +#: includes/fields/class-acf-field-date_time_picker.php:200 +#: includes/fields/class-acf-field-post_object.php:431 +#: includes/fields/class-acf-field-relationship.php:715 +#: includes/fields/class-acf-field-select.php:422 #: includes/fields/class-acf-field-time_picker.php:124 +#: includes/fields/class-acf-field-user.php:428 msgid "Return Format" msgstr "Dönüş biçimi" -#: includes/fields/class-acf-field-date_picker.php:238 -#: includes/fields/class-acf-field-date_time_picker.php:199 +#: includes/fields/class-acf-field-date_picker.php:211 +#: includes/fields/class-acf-field-date_time_picker.php:201 #: includes/fields/class-acf-field-time_picker.php:125 msgid "The format returned via template functions" msgstr "Tema işlevlerinden dönen biçim" -#: includes/fields/class-acf-field-date_picker.php:256 -#: includes/fields/class-acf-field-date_time_picker.php:215 +#: includes/fields/class-acf-field-date_picker.php:229 +#: includes/fields/class-acf-field-date_time_picker.php:217 msgid "Week Starts On" msgstr "Hafta başlangıcı" @@ -1593,77 +1763,77 @@ msgstr "Hafta başlangıcı" msgid "Date Time Picker" msgstr "Tarih zaman seçici" -#: includes/fields/class-acf-field-date_time_picker.php:33 +#: includes/fields/class-acf-field-date_time_picker.php:68 msgctxt "Date Time Picker JS timeOnlyTitle" msgid "Choose Time" msgstr "Zamanı se" -#: includes/fields/class-acf-field-date_time_picker.php:34 +#: includes/fields/class-acf-field-date_time_picker.php:69 msgctxt "Date Time Picker JS timeText" msgid "Time" msgstr "Zaman" -#: includes/fields/class-acf-field-date_time_picker.php:35 +#: includes/fields/class-acf-field-date_time_picker.php:70 msgctxt "Date Time Picker JS hourText" msgid "Hour" msgstr "Saat" -#: includes/fields/class-acf-field-date_time_picker.php:36 +#: includes/fields/class-acf-field-date_time_picker.php:71 msgctxt "Date Time Picker JS minuteText" msgid "Minute" msgstr "Dakika" -#: includes/fields/class-acf-field-date_time_picker.php:37 +#: includes/fields/class-acf-field-date_time_picker.php:72 msgctxt "Date Time Picker JS secondText" msgid "Second" msgstr "Saniye" -#: includes/fields/class-acf-field-date_time_picker.php:38 +#: includes/fields/class-acf-field-date_time_picker.php:73 msgctxt "Date Time Picker JS millisecText" msgid "Millisecond" msgstr "Milisaniye" -#: includes/fields/class-acf-field-date_time_picker.php:39 +#: includes/fields/class-acf-field-date_time_picker.php:74 msgctxt "Date Time Picker JS microsecText" msgid "Microsecond" msgstr "Mikrosaniye" -#: includes/fields/class-acf-field-date_time_picker.php:40 +#: includes/fields/class-acf-field-date_time_picker.php:75 msgctxt "Date Time Picker JS timezoneText" msgid "Time Zone" msgstr "Zaman Dilimi" -#: includes/fields/class-acf-field-date_time_picker.php:41 +#: includes/fields/class-acf-field-date_time_picker.php:76 msgctxt "Date Time Picker JS currentText" msgid "Now" msgstr "Şimdi" -#: includes/fields/class-acf-field-date_time_picker.php:42 +#: includes/fields/class-acf-field-date_time_picker.php:77 msgctxt "Date Time Picker JS closeText" msgid "Done" msgstr "Tamam" -#: includes/fields/class-acf-field-date_time_picker.php:43 +#: includes/fields/class-acf-field-date_time_picker.php:78 msgctxt "Date Time Picker JS selectText" msgid "Select" msgstr "Seç" -#: includes/fields/class-acf-field-date_time_picker.php:45 +#: includes/fields/class-acf-field-date_time_picker.php:80 msgctxt "Date Time Picker JS amText" msgid "AM" msgstr "AM" -#: includes/fields/class-acf-field-date_time_picker.php:46 +#: includes/fields/class-acf-field-date_time_picker.php:81 msgctxt "Date Time Picker JS amTextShort" msgid "A" msgstr "A" -#: includes/fields/class-acf-field-date_time_picker.php:49 +#: includes/fields/class-acf-field-date_time_picker.php:84 msgctxt "Date Time Picker JS pmText" msgid "PM" msgstr "PM" -#: includes/fields/class-acf-field-date_time_picker.php:50 +#: includes/fields/class-acf-field-date_time_picker.php:85 msgctxt "Date Time Picker JS pmTextShort" msgid "P" msgstr "P" @@ -1693,7 +1863,7 @@ msgstr "Girdi alanının içinde görünür" #: includes/fields/class-acf-field-email.php:136 #: includes/fields/class-acf-field-number.php:145 #: includes/fields/class-acf-field-password.php:80 -#: includes/fields/class-acf-field-range.php:187 +#: includes/fields/class-acf-field-range.php:188 #: includes/fields/class-acf-field-text.php:137 msgid "Prepend" msgstr "Önüne ekle" @@ -1701,7 +1871,7 @@ msgstr "Önüne ekle" #: includes/fields/class-acf-field-email.php:137 #: includes/fields/class-acf-field-number.php:146 #: includes/fields/class-acf-field-password.php:81 -#: includes/fields/class-acf-field-range.php:188 +#: includes/fields/class-acf-field-range.php:189 #: includes/fields/class-acf-field-text.php:138 msgid "Appears before the input" msgstr "Girdi alanından önce görünür" @@ -1709,7 +1879,7 @@ msgstr "Girdi alanından önce görünür" #: includes/fields/class-acf-field-email.php:145 #: includes/fields/class-acf-field-number.php:154 #: includes/fields/class-acf-field-password.php:89 -#: includes/fields/class-acf-field-range.php:196 +#: includes/fields/class-acf-field-range.php:197 #: includes/fields/class-acf-field-text.php:146 msgid "Append" msgstr "Sonuna ekle" @@ -1717,7 +1887,7 @@ msgstr "Sonuna ekle" #: includes/fields/class-acf-field-email.php:146 #: includes/fields/class-acf-field-number.php:155 #: includes/fields/class-acf-field-password.php:90 -#: includes/fields/class-acf-field-range.php:197 +#: includes/fields/class-acf-field-range.php:198 #: includes/fields/class-acf-field-text.php:147 msgid "Appears after the input" msgstr "Girdi alanından sonra görünür" @@ -1726,72 +1896,58 @@ msgstr "Girdi alanından sonra görünür" msgid "File" msgstr "Dosya" -#: includes/fields/class-acf-field-file.php:36 +#: includes/fields/class-acf-field-file.php:58 msgid "Edit File" msgstr "Dosya düzenle" -#: includes/fields/class-acf-field-file.php:37 +#: includes/fields/class-acf-field-file.php:59 msgid "Update File" msgstr "Dosyayı güncelle" -#: includes/fields/class-acf-field-file.php:38 -#: includes/fields/class-acf-field-image.php:43 includes/media.php:57 -#: pro/fields/class-acf-field-gallery.php:44 -msgid "Uploaded to this post" -msgstr "Bu yazıya yüklenmiş" - -#: includes/fields/class-acf-field-file.php:126 +#: includes/fields/class-acf-field-file.php:141 msgid "File name" msgstr "Dosya adı" -#: includes/fields/class-acf-field-file.php:130 -#: includes/fields/class-acf-field-file.php:233 -#: includes/fields/class-acf-field-file.php:244 -#: includes/fields/class-acf-field-image.php:248 -#: includes/fields/class-acf-field-image.php:277 -#: pro/fields/class-acf-field-gallery.php:690 -#: pro/fields/class-acf-field-gallery.php:719 +#: includes/fields/class-acf-field-file.php:145 +#: includes/fields/class-acf-field-file.php:248 +#: includes/fields/class-acf-field-file.php:259 +#: includes/fields/class-acf-field-image.php:265 +#: includes/fields/class-acf-field-image.php:294 +#: pro/fields/class-acf-field-gallery.php:705 +#: pro/fields/class-acf-field-gallery.php:734 msgid "File size" msgstr "Dosya boyutu" -#: includes/fields/class-acf-field-file.php:139 -#: includes/fields/class-acf-field-image.php:124 -#: includes/fields/class-acf-field-link.php:140 includes/input.php:269 -#: pro/fields/class-acf-field-gallery.php:343 -#: pro/fields/class-acf-field-gallery.php:531 -msgid "Remove" -msgstr "Kaldır" - -#: includes/fields/class-acf-field-file.php:155 +#: includes/fields/class-acf-field-file.php:170 msgid "Add File" msgstr "Dosya ekle" -#: includes/fields/class-acf-field-file.php:206 +#: includes/fields/class-acf-field-file.php:221 msgid "File Array" msgstr "Dosya dizisi" -#: includes/fields/class-acf-field-file.php:207 +#: includes/fields/class-acf-field-file.php:222 msgid "File URL" msgstr "Dosya adresi" -#: includes/fields/class-acf-field-file.php:208 +#: includes/fields/class-acf-field-file.php:223 msgid "File ID" msgstr "Dosya no" -#: includes/fields/class-acf-field-file.php:215 -#: includes/fields/class-acf-field-image.php:213 -#: pro/fields/class-acf-field-gallery.php:655 +#: includes/fields/class-acf-field-file.php:230 +#: includes/fields/class-acf-field-image.php:230 +#: pro/fields/class-acf-field-gallery.php:670 msgid "Library" msgstr "Kitaplık" -#: includes/fields/class-acf-field-file.php:216 -#: includes/fields/class-acf-field-image.php:214 -#: pro/fields/class-acf-field-gallery.php:656 +#: includes/fields/class-acf-field-file.php:231 +#: includes/fields/class-acf-field-image.php:231 +#: pro/fields/class-acf-field-gallery.php:671 msgid "Limit the media library choice" msgstr "Ortam kitaplığı seçimini sınırlayın" -#: includes/fields/class-acf-field-file.php:221 -#: includes/fields/class-acf-field-image.php:219 +#: includes/fields/class-acf-field-file.php:236 +#: includes/fields/class-acf-field-image.php:236 #: includes/locations/class-acf-location-attachment.php:101 #: includes/locations/class-acf-location-comment.php:79 #: includes/locations/class-acf-location-nav-menu.php:102 @@ -1799,42 +1955,42 @@ msgstr "Ortam kitaplığı seçimini sınırlayın" #: includes/locations/class-acf-location-user-form.php:87 #: includes/locations/class-acf-location-user-role.php:111 #: includes/locations/class-acf-location-widget.php:83 -#: pro/fields/class-acf-field-gallery.php:661 +#: pro/fields/class-acf-field-gallery.php:676 msgid "All" msgstr "Tümü" -#: includes/fields/class-acf-field-file.php:222 -#: includes/fields/class-acf-field-image.php:220 -#: pro/fields/class-acf-field-gallery.php:662 +#: includes/fields/class-acf-field-file.php:237 +#: includes/fields/class-acf-field-image.php:237 +#: pro/fields/class-acf-field-gallery.php:677 msgid "Uploaded to post" msgstr "Yazıya yüklendi" -#: includes/fields/class-acf-field-file.php:229 -#: includes/fields/class-acf-field-image.php:227 -#: pro/fields/class-acf-field-gallery.php:669 +#: includes/fields/class-acf-field-file.php:244 +#: includes/fields/class-acf-field-image.php:244 +#: pro/fields/class-acf-field-gallery.php:684 msgid "Minimum" msgstr "En az" -#: includes/fields/class-acf-field-file.php:230 -#: includes/fields/class-acf-field-file.php:241 +#: includes/fields/class-acf-field-file.php:245 +#: includes/fields/class-acf-field-file.php:256 msgid "Restrict which files can be uploaded" msgstr "Yüklenebilecek dosyaları sınırlandırın" -#: includes/fields/class-acf-field-file.php:240 -#: includes/fields/class-acf-field-image.php:256 -#: pro/fields/class-acf-field-gallery.php:698 +#: includes/fields/class-acf-field-file.php:255 +#: includes/fields/class-acf-field-image.php:273 +#: pro/fields/class-acf-field-gallery.php:713 msgid "Maximum" msgstr "En fazla" -#: includes/fields/class-acf-field-file.php:251 -#: includes/fields/class-acf-field-image.php:285 -#: pro/fields/class-acf-field-gallery.php:727 +#: includes/fields/class-acf-field-file.php:266 +#: includes/fields/class-acf-field-image.php:302 +#: pro/fields/class-acf-field-gallery.php:742 msgid "Allowed file types" msgstr "İzin verilen dosya tipleri" -#: includes/fields/class-acf-field-file.php:252 -#: includes/fields/class-acf-field-image.php:286 -#: pro/fields/class-acf-field-gallery.php:728 +#: includes/fields/class-acf-field-file.php:267 +#: includes/fields/class-acf-field-image.php:303 +#: pro/fields/class-acf-field-gallery.php:743 msgid "Comma separated list. Leave blank for all types" msgstr "Virgül ile ayrılmış liste. Tüm tipler için boş bırakın" @@ -1842,54 +1998,50 @@ msgstr "Virgül ile ayrılmış liste. Tüm tipler için boş bırakın" msgid "Google Map" msgstr "Google haritası" -#: includes/fields/class-acf-field-google-map.php:40 -msgid "Locating" -msgstr "Konum bulunuyor" - -#: includes/fields/class-acf-field-google-map.php:41 +#: includes/fields/class-acf-field-google-map.php:59 msgid "Sorry, this browser does not support geolocation" msgstr "Üzgünüz, bu tarayıcı konumlandırma desteklemiyor" -#: includes/fields/class-acf-field-google-map.php:113 +#: includes/fields/class-acf-field-google-map.php:165 msgid "Clear location" msgstr "Konumu temizle" -#: includes/fields/class-acf-field-google-map.php:114 +#: includes/fields/class-acf-field-google-map.php:166 msgid "Find current location" msgstr "Şu anki konumu bul" -#: includes/fields/class-acf-field-google-map.php:117 +#: includes/fields/class-acf-field-google-map.php:169 msgid "Search for address..." msgstr "Adres arayın…" -#: includes/fields/class-acf-field-google-map.php:147 -#: includes/fields/class-acf-field-google-map.php:158 +#: includes/fields/class-acf-field-google-map.php:199 +#: includes/fields/class-acf-field-google-map.php:210 msgid "Center" msgstr "Merkez" -#: includes/fields/class-acf-field-google-map.php:148 -#: includes/fields/class-acf-field-google-map.php:159 +#: includes/fields/class-acf-field-google-map.php:200 +#: includes/fields/class-acf-field-google-map.php:211 msgid "Center the initial map" msgstr "Haritayı ortala" -#: includes/fields/class-acf-field-google-map.php:170 +#: includes/fields/class-acf-field-google-map.php:222 msgid "Zoom" msgstr "Yaklaş" -#: includes/fields/class-acf-field-google-map.php:171 +#: includes/fields/class-acf-field-google-map.php:223 msgid "Set the initial zoom level" msgstr "Temel yaklaşma seviyesini belirle" -#: includes/fields/class-acf-field-google-map.php:180 -#: includes/fields/class-acf-field-image.php:239 -#: includes/fields/class-acf-field-image.php:268 -#: includes/fields/class-acf-field-oembed.php:281 -#: pro/fields/class-acf-field-gallery.php:681 -#: pro/fields/class-acf-field-gallery.php:710 +#: includes/fields/class-acf-field-google-map.php:232 +#: includes/fields/class-acf-field-image.php:256 +#: includes/fields/class-acf-field-image.php:285 +#: includes/fields/class-acf-field-oembed.php:268 +#: pro/fields/class-acf-field-gallery.php:696 +#: pro/fields/class-acf-field-gallery.php:725 msgid "Height" msgstr "Yükseklik" -#: includes/fields/class-acf-field-google-map.php:181 +#: includes/fields/class-acf-field-google-map.php:233 msgid "Customise the map height" msgstr "Harita yüksekliğini özelleştir" @@ -1898,33 +2050,33 @@ msgid "Group" msgstr "Grup" #: includes/fields/class-acf-field-group.php:459 -#: pro/fields/class-acf-field-repeater.php:389 +#: pro/fields/class-acf-field-repeater.php:379 msgid "Sub Fields" msgstr "Alt alanlar" #: includes/fields/class-acf-field-group.php:475 -#: pro/fields/class-acf-field-clone.php:840 +#: pro/fields/class-acf-field-clone.php:844 msgid "Specify the style used to render the selected fields" msgstr "Seçili alanları görüntülemek için kullanılacak stili belirtin" #: includes/fields/class-acf-field-group.php:480 -#: pro/fields/class-acf-field-clone.php:845 -#: pro/fields/class-acf-field-flexible-content.php:612 -#: pro/fields/class-acf-field-repeater.php:458 +#: pro/fields/class-acf-field-clone.php:849 +#: pro/fields/class-acf-field-flexible-content.php:627 +#: pro/fields/class-acf-field-repeater.php:451 msgid "Block" msgstr "Blok" #: includes/fields/class-acf-field-group.php:481 -#: pro/fields/class-acf-field-clone.php:846 -#: pro/fields/class-acf-field-flexible-content.php:611 -#: pro/fields/class-acf-field-repeater.php:457 +#: pro/fields/class-acf-field-clone.php:850 +#: pro/fields/class-acf-field-flexible-content.php:626 +#: pro/fields/class-acf-field-repeater.php:450 msgid "Table" msgstr "Tablo" #: includes/fields/class-acf-field-group.php:482 -#: pro/fields/class-acf-field-clone.php:847 -#: pro/fields/class-acf-field-flexible-content.php:613 -#: pro/fields/class-acf-field-repeater.php:459 +#: pro/fields/class-acf-field-clone.php:851 +#: pro/fields/class-acf-field-flexible-content.php:628 +#: pro/fields/class-acf-field-repeater.php:452 msgid "Row" msgstr "Satır" @@ -1932,64 +2084,58 @@ msgstr "Satır" msgid "Image" msgstr "Görsel" -#: includes/fields/class-acf-field-image.php:40 +#: includes/fields/class-acf-field-image.php:64 msgid "Select Image" msgstr "Görsel seç" -#: includes/fields/class-acf-field-image.php:41 -#: pro/fields/class-acf-field-gallery.php:42 +#: includes/fields/class-acf-field-image.php:65 msgid "Edit Image" msgstr "Görseli düzenle" -#: includes/fields/class-acf-field-image.php:42 -#: pro/fields/class-acf-field-gallery.php:43 +#: includes/fields/class-acf-field-image.php:66 msgid "Update Image" msgstr "Görseli güncelle" -#: includes/fields/class-acf-field-image.php:44 -msgid "All images" -msgstr "Tüm görseller" - -#: includes/fields/class-acf-field-image.php:140 +#: includes/fields/class-acf-field-image.php:157 msgid "No image selected" msgstr "Görsel seçilmedi" -#: includes/fields/class-acf-field-image.php:140 +#: includes/fields/class-acf-field-image.php:157 msgid "Add Image" msgstr "Görsel ekle" -#: includes/fields/class-acf-field-image.php:194 +#: includes/fields/class-acf-field-image.php:211 msgid "Image Array" msgstr "Görsel dizisi" -#: includes/fields/class-acf-field-image.php:195 +#: includes/fields/class-acf-field-image.php:212 msgid "Image URL" msgstr "Görsel adresi" -#: includes/fields/class-acf-field-image.php:196 +#: includes/fields/class-acf-field-image.php:213 msgid "Image ID" msgstr "Görsel no" -#: includes/fields/class-acf-field-image.php:203 +#: includes/fields/class-acf-field-image.php:220 msgid "Preview Size" msgstr "Önizleme boyutu" -#: includes/fields/class-acf-field-image.php:204 +#: includes/fields/class-acf-field-image.php:221 msgid "Shown when entering data" msgstr "Veri girilirken gösterilir" -#: includes/fields/class-acf-field-image.php:228 -#: includes/fields/class-acf-field-image.php:257 -#: pro/fields/class-acf-field-gallery.php:670 -#: pro/fields/class-acf-field-gallery.php:699 +#: includes/fields/class-acf-field-image.php:245 +#: includes/fields/class-acf-field-image.php:274 +#: pro/fields/class-acf-field-gallery.php:685 +#: pro/fields/class-acf-field-gallery.php:714 msgid "Restrict which images can be uploaded" msgstr "Hangi görsellerin yüklenebileceğini sınırlandırın" -#: includes/fields/class-acf-field-image.php:231 -#: includes/fields/class-acf-field-image.php:260 -#: includes/fields/class-acf-field-oembed.php:270 -#: pro/fields/class-acf-field-gallery.php:673 -#: pro/fields/class-acf-field-gallery.php:702 +#: includes/fields/class-acf-field-image.php:248 +#: includes/fields/class-acf-field-image.php:277 +#: includes/fields/class-acf-field-oembed.php:257 +#: pro/fields/class-acf-field-gallery.php:688 +#: pro/fields/class-acf-field-gallery.php:717 msgid "Width" msgstr "Genişlik" @@ -2057,17 +2203,17 @@ msgid "Number" msgstr "Sayı" #: includes/fields/class-acf-field-number.php:163 -#: includes/fields/class-acf-field-range.php:157 +#: includes/fields/class-acf-field-range.php:158 msgid "Minimum Value" msgstr "En az değer" #: includes/fields/class-acf-field-number.php:172 -#: includes/fields/class-acf-field-range.php:167 +#: includes/fields/class-acf-field-range.php:168 msgid "Maximum Value" msgstr "En fazla değer" #: includes/fields/class-acf-field-number.php:181 -#: includes/fields/class-acf-field-range.php:177 +#: includes/fields/class-acf-field-range.php:178 msgid "Step Size" msgstr "Adım boyutu" @@ -2089,49 +2235,50 @@ msgstr "Değer %d değerine eşit ya da daha küçük olmalı" msgid "oEmbed" msgstr "oEmbed" -#: includes/fields/class-acf-field-oembed.php:219 +#: includes/fields/class-acf-field-oembed.php:216 msgid "Enter URL" msgstr "Adres girin" -#: includes/fields/class-acf-field-oembed.php:234 -#: includes/fields/class-acf-field-taxonomy.php:898 -msgid "Error." -msgstr "Hata." - -#: includes/fields/class-acf-field-oembed.php:234 -msgid "No embed found for the given URL." -msgstr "Verilen adres için gömülecek bir şey bulunamadı." - -#: includes/fields/class-acf-field-oembed.php:267 -#: includes/fields/class-acf-field-oembed.php:278 +#: includes/fields/class-acf-field-oembed.php:254 +#: includes/fields/class-acf-field-oembed.php:265 msgid "Embed Size" msgstr "Gömme boyutu" +#: includes/fields/class-acf-field-page_link.php:25 +msgid "Page Link" +msgstr "Sayfa bağlantısı" + #: includes/fields/class-acf-field-page_link.php:177 msgid "Archives" msgstr "Arşivler" +#: includes/fields/class-acf-field-page_link.php:269 +#: includes/fields/class-acf-field-post_object.php:267 +#: includes/fields/class-acf-field-taxonomy.php:961 +msgid "Parent" +msgstr "Ebeveyn" + #: includes/fields/class-acf-field-page_link.php:485 -#: includes/fields/class-acf-field-post_object.php:384 -#: includes/fields/class-acf-field-relationship.php:623 +#: includes/fields/class-acf-field-post_object.php:383 +#: includes/fields/class-acf-field-relationship.php:641 msgid "Filter by Post Type" msgstr "Yazı tipine göre filtre" #: includes/fields/class-acf-field-page_link.php:493 -#: includes/fields/class-acf-field-post_object.php:392 -#: includes/fields/class-acf-field-relationship.php:631 +#: includes/fields/class-acf-field-post_object.php:391 +#: includes/fields/class-acf-field-relationship.php:649 msgid "All post types" msgstr "Tüm yazı tipleri" #: includes/fields/class-acf-field-page_link.php:499 -#: includes/fields/class-acf-field-post_object.php:398 -#: includes/fields/class-acf-field-relationship.php:637 +#: includes/fields/class-acf-field-post_object.php:397 +#: includes/fields/class-acf-field-relationship.php:655 msgid "Filter by Taxonomy" msgstr "Taksonomiye göre filtre" #: includes/fields/class-acf-field-page_link.php:507 -#: includes/fields/class-acf-field-post_object.php:406 -#: includes/fields/class-acf-field-relationship.php:645 +#: includes/fields/class-acf-field-post_object.php:405 +#: includes/fields/class-acf-field-relationship.php:663 msgid "All taxonomies" msgstr "Tüm taksonomiler" @@ -2140,9 +2287,9 @@ msgid "Allow Archives URLs" msgstr "Arşivler adresine izin ver" #: includes/fields/class-acf-field-page_link.php:533 -#: includes/fields/class-acf-field-post_object.php:422 -#: includes/fields/class-acf-field-select.php:396 -#: includes/fields/class-acf-field-user.php:418 +#: includes/fields/class-acf-field-post_object.php:421 +#: includes/fields/class-acf-field-select.php:387 +#: includes/fields/class-acf-field-user.php:419 msgid "Select multiple values?" msgstr "Birden çok değer seçilsin mi?" @@ -2151,13 +2298,13 @@ msgid "Password" msgstr "Parola" #: includes/fields/class-acf-field-post_object.php:25 -#: includes/fields/class-acf-field-post_object.php:437 -#: includes/fields/class-acf-field-relationship.php:702 +#: includes/fields/class-acf-field-post_object.php:436 +#: includes/fields/class-acf-field-relationship.php:720 msgid "Post Object" msgstr "Yazı nesnesi" -#: includes/fields/class-acf-field-post_object.php:438 -#: includes/fields/class-acf-field-relationship.php:703 +#: includes/fields/class-acf-field-post_object.php:437 +#: includes/fields/class-acf-field-relationship.php:721 msgid "Post ID" msgstr "Yazı No" @@ -2189,67 +2336,64 @@ msgstr "Aralık" msgid "Relationship" msgstr "İlişkili" -#: includes/fields/class-acf-field-relationship.php:37 -msgid "Minimum values reached ( {min} values )" -msgstr "En düşün değerlere ulaşıldı ( {min} değerleri )" - -#: includes/fields/class-acf-field-relationship.php:38 +#: includes/fields/class-acf-field-relationship.php:62 msgid "Maximum values reached ( {max} values )" msgstr "En yüksek değerlere ulaşıldı ({max} değerleri)" -#: includes/fields/class-acf-field-relationship.php:39 +#: includes/fields/class-acf-field-relationship.php:63 msgid "Loading" msgstr "Yükleniyor" -#: includes/fields/class-acf-field-relationship.php:40 +#: includes/fields/class-acf-field-relationship.php:64 msgid "No matches found" msgstr "Eşleşme yok" -#: includes/fields/class-acf-field-relationship.php:423 +#: includes/fields/class-acf-field-relationship.php:441 msgid "Select post type" msgstr "Yazı tipi seç" -#: includes/fields/class-acf-field-relationship.php:449 +#: includes/fields/class-acf-field-relationship.php:467 msgid "Select taxonomy" msgstr "Taksonomi seç" -#: includes/fields/class-acf-field-relationship.php:539 +#: includes/fields/class-acf-field-relationship.php:557 msgid "Search..." msgstr "Ara…" -#: includes/fields/class-acf-field-relationship.php:651 +#: includes/fields/class-acf-field-relationship.php:669 msgid "Filters" msgstr "Filtreler" -#: includes/fields/class-acf-field-relationship.php:657 +#: includes/fields/class-acf-field-relationship.php:675 #: includes/locations/class-acf-location-post-type.php:27 msgid "Post Type" msgstr "Yazı tipi" -#: includes/fields/class-acf-field-relationship.php:658 +#: includes/fields/class-acf-field-relationship.php:676 #: includes/fields/class-acf-field-taxonomy.php:28 -#: includes/fields/class-acf-field-taxonomy.php:763 +#: includes/fields/class-acf-field-taxonomy.php:754 +#: includes/locations/class-acf-location-taxonomy.php:27 msgid "Taxonomy" msgstr "Taksonomi" -#: includes/fields/class-acf-field-relationship.php:665 +#: includes/fields/class-acf-field-relationship.php:683 msgid "Elements" msgstr "Elemanlar" -#: includes/fields/class-acf-field-relationship.php:666 +#: includes/fields/class-acf-field-relationship.php:684 msgid "Selected elements will be displayed in each result" msgstr "Her sonuç içinde seçilmiş elemanlar görüntülenir" -#: includes/fields/class-acf-field-relationship.php:677 +#: includes/fields/class-acf-field-relationship.php:695 msgid "Minimum posts" msgstr "En az gönderi" -#: includes/fields/class-acf-field-relationship.php:686 +#: includes/fields/class-acf-field-relationship.php:704 msgid "Maximum posts" msgstr "En fazla yazı" -#: includes/fields/class-acf-field-relationship.php:790 -#: pro/fields/class-acf-field-gallery.php:800 +#: includes/fields/class-acf-field-relationship.php:808 +#: pro/fields/class-acf-field-gallery.php:815 #, php-format msgid "%s requires at least %s selection" msgid_plural "%s requires at least %s selections" @@ -2257,90 +2401,85 @@ msgstr[0] "%s en az %s seçim gerektirir" msgstr[1] "%s en az %s seçim gerektirir" #: includes/fields/class-acf-field-select.php:25 -#: includes/fields/class-acf-field-taxonomy.php:785 +#: includes/fields/class-acf-field-taxonomy.php:776 msgctxt "noun" msgid "Select" msgstr "Seçim" -#: includes/fields/class-acf-field-select.php:38 +#: includes/fields/class-acf-field-select.php:111 msgctxt "Select2 JS matches_1" msgid "One result is available, press enter to select it." msgstr "Bir sonuç bulundu, seçmek için enter tuşuna basın." -#: includes/fields/class-acf-field-select.php:39 +#: includes/fields/class-acf-field-select.php:112 #, php-format msgctxt "Select2 JS matches_n" msgid "%d results are available, use up and down arrow keys to navigate." msgstr "%d sonuç bulundu. Dolaşmak için yukarı ve aşağı okları kullanın." -#: includes/fields/class-acf-field-select.php:40 +#: includes/fields/class-acf-field-select.php:113 msgctxt "Select2 JS matches_0" msgid "No matches found" msgstr "Eşleşme yok" -#: includes/fields/class-acf-field-select.php:41 +#: includes/fields/class-acf-field-select.php:114 msgctxt "Select2 JS input_too_short_1" msgid "Please enter 1 or more characters" msgstr "Lütfen 1 veya daha fazla karakter girin" -#: includes/fields/class-acf-field-select.php:42 +#: includes/fields/class-acf-field-select.php:115 #, php-format msgctxt "Select2 JS input_too_short_n" msgid "Please enter %d or more characters" msgstr "Lütfen %d veya daha fazla karakter girin" -#: includes/fields/class-acf-field-select.php:43 +#: includes/fields/class-acf-field-select.php:116 msgctxt "Select2 JS input_too_long_1" msgid "Please delete 1 character" msgstr "Lütfen 1 karakter silin" -#: includes/fields/class-acf-field-select.php:44 +#: includes/fields/class-acf-field-select.php:117 #, php-format msgctxt "Select2 JS input_too_long_n" msgid "Please delete %d characters" msgstr "Lütfen %d karakter silin" -#: includes/fields/class-acf-field-select.php:45 +#: includes/fields/class-acf-field-select.php:118 msgctxt "Select2 JS selection_too_long_1" msgid "You can only select 1 item" msgstr "Sadece 1 öğe seçebilirsiniz" -#: includes/fields/class-acf-field-select.php:46 +#: includes/fields/class-acf-field-select.php:119 #, php-format msgctxt "Select2 JS selection_too_long_n" msgid "You can only select %d items" msgstr "Sadece %d öge seçebilirsiniz" -#: includes/fields/class-acf-field-select.php:47 +#: includes/fields/class-acf-field-select.php:120 msgctxt "Select2 JS load_more" msgid "Loading more results…" msgstr "Daha fazla sonuç yükleniyor…" -#: includes/fields/class-acf-field-select.php:48 +#: includes/fields/class-acf-field-select.php:121 msgctxt "Select2 JS searching" msgid "Searching…" msgstr "Aranıyor…" -#: includes/fields/class-acf-field-select.php:49 +#: includes/fields/class-acf-field-select.php:122 msgctxt "Select2 JS load_fail" msgid "Loading failed" msgstr "Yükleme başarısız oldu" -#: includes/fields/class-acf-field-select.php:255 includes/media.php:54 -msgctxt "verb" -msgid "Select" -msgstr "Seç" - -#: includes/fields/class-acf-field-select.php:406 +#: includes/fields/class-acf-field-select.php:397 #: includes/fields/class-acf-field-true_false.php:144 msgid "Stylised UI" msgstr "Stilize edilmiş kullanıcı arabirimi" -#: includes/fields/class-acf-field-select.php:416 +#: includes/fields/class-acf-field-select.php:407 msgid "Use AJAX to lazy load choices?" msgstr "Seçimlerin tembel yüklenmesi için AJAX kullanılsın mı?" -#: includes/fields/class-acf-field-select.php:427 +#: includes/fields/class-acf-field-select.php:423 msgid "Specify the value returned" msgstr "Dönecek değeri belirt" @@ -2352,129 +2491,100 @@ msgstr "Ayraç" msgid "Tab" msgstr "Sekme" -#: includes/fields/class-acf-field-tab.php:82 -msgid "" -"The tab field will display incorrectly when added to a Table style repeater " -"field or flexible content field layout" -msgstr "" -"Bir tablo stili tekrarlayıcı ya da esnek içerik alanı yerleşimi eklendiğinde " -"sekme alanı yanlış görüntülenir" - -#: includes/fields/class-acf-field-tab.php:83 -msgid "" -"Use \"Tab Fields\" to better organize your edit screen by grouping fields " -"together." -msgstr "" -"“Sekme alanları”nı kullanarak düzenleme ekranında alanları gruplayıp daha " -"kolay organize olun." - -#: includes/fields/class-acf-field-tab.php:84 -msgid "" -"All fields following this \"tab field\" (or until another \"tab field\" is " -"defined) will be grouped together using this field's label as the tab " -"heading." -msgstr "" -"Bu “sekme alanı”nı takip eden (ya da başka bir “sekme alanı” tanımlıysa) tüm " -"alanlar sekmenin başlığını etiket olarak kullanarak gruplandırılacaklar." - -#: includes/fields/class-acf-field-tab.php:98 +#: includes/fields/class-acf-field-tab.php:102 msgid "Placement" msgstr "Konumlandırma" -#: includes/fields/class-acf-field-tab.php:110 -msgid "End-point" -msgstr "Uç nokta" +#: includes/fields/class-acf-field-tab.php:115 +msgid "" +"Define an endpoint for the previous tabs to stop. This will start a new " +"group of tabs." +msgstr "" +"Önceki sekmelerin durması için bir uç nokta tanımlayın. Bu yeni sekmeler " +"için bir grup başlatacaktır." -#: includes/fields/class-acf-field-tab.php:111 -msgid "Use this field as an end-point and start a new group of tabs" -msgstr "Yeni bir grup sekme için bu alanı bir uç nokta olarak kullan" - -#: includes/fields/class-acf-field-taxonomy.php:713 +#: includes/fields/class-acf-field-taxonomy.php:714 #, php-format msgctxt "No terms" msgid "No %s" msgstr "%s yok" -#: includes/fields/class-acf-field-taxonomy.php:732 -msgid "None" -msgstr "Yok" - -#: includes/fields/class-acf-field-taxonomy.php:764 +#: includes/fields/class-acf-field-taxonomy.php:755 msgid "Select the taxonomy to be displayed" msgstr "Görüntülenecek taksonomiyi seçin" -#: includes/fields/class-acf-field-taxonomy.php:773 +#: includes/fields/class-acf-field-taxonomy.php:764 msgid "Appearance" msgstr "Görünüm" -#: includes/fields/class-acf-field-taxonomy.php:774 +#: includes/fields/class-acf-field-taxonomy.php:765 msgid "Select the appearance of this field" msgstr "Bu alanın görünümünü seçin" -#: includes/fields/class-acf-field-taxonomy.php:779 +#: includes/fields/class-acf-field-taxonomy.php:770 msgid "Multiple Values" msgstr "Çoklu değer" -#: includes/fields/class-acf-field-taxonomy.php:781 +#: includes/fields/class-acf-field-taxonomy.php:772 msgid "Multi Select" msgstr "Çoklu seçim" -#: includes/fields/class-acf-field-taxonomy.php:783 +#: includes/fields/class-acf-field-taxonomy.php:774 msgid "Single Value" msgstr "Tek değer" -#: includes/fields/class-acf-field-taxonomy.php:784 +#: includes/fields/class-acf-field-taxonomy.php:775 msgid "Radio Buttons" msgstr "Radyo düğmeleri" -#: includes/fields/class-acf-field-taxonomy.php:803 +#: includes/fields/class-acf-field-taxonomy.php:799 msgid "Create Terms" msgstr "Terimleri oluştur" -#: includes/fields/class-acf-field-taxonomy.php:804 +#: includes/fields/class-acf-field-taxonomy.php:800 msgid "Allow new terms to be created whilst editing" msgstr "Düzenlenirken yeni terimlerin oluşabilmesine izin ver" -#: includes/fields/class-acf-field-taxonomy.php:813 +#: includes/fields/class-acf-field-taxonomy.php:809 msgid "Save Terms" msgstr "Terimleri kaydet" -#: includes/fields/class-acf-field-taxonomy.php:814 +#: includes/fields/class-acf-field-taxonomy.php:810 msgid "Connect selected terms to the post" msgstr "Seçilmiş terimleri yazıya bağla" -#: includes/fields/class-acf-field-taxonomy.php:823 +#: includes/fields/class-acf-field-taxonomy.php:819 msgid "Load Terms" msgstr "Terimleri yükle" -#: includes/fields/class-acf-field-taxonomy.php:824 +#: includes/fields/class-acf-field-taxonomy.php:820 msgid "Load value from posts terms" msgstr "Yazının terimlerinden değerleri yükle" -#: includes/fields/class-acf-field-taxonomy.php:838 +#: includes/fields/class-acf-field-taxonomy.php:834 msgid "Term Object" msgstr "Terim nesnesi" -#: includes/fields/class-acf-field-taxonomy.php:839 +#: includes/fields/class-acf-field-taxonomy.php:835 msgid "Term ID" msgstr "Terim no" -#: includes/fields/class-acf-field-taxonomy.php:898 +#: includes/fields/class-acf-field-taxonomy.php:885 #, php-format msgid "User unable to add new %s" msgstr "Kullanıcı yeni %s ekleyemiyor" -#: includes/fields/class-acf-field-taxonomy.php:911 +#: includes/fields/class-acf-field-taxonomy.php:895 #, php-format msgid "%s already exists" msgstr "%s zaten mevcut" -#: includes/fields/class-acf-field-taxonomy.php:952 +#: includes/fields/class-acf-field-taxonomy.php:927 #, php-format msgid "%s added" msgstr "%s eklendi" -#: includes/fields/class-acf-field-taxonomy.php:997 +#: includes/fields/class-acf-field-taxonomy.php:973 msgid "Add" msgstr "Ekle" @@ -2512,18 +2622,6 @@ msgstr "Zaman seçici" msgid "True / False" msgstr "Doğru / yanlış" -#: includes/fields/class-acf-field-true_false.php:79 -#: includes/fields/class-acf-field-true_false.php:159 includes/input.php:267 -#: pro/admin/views/html-settings-updates.php:89 -msgid "Yes" -msgstr "Evet" - -#: includes/fields/class-acf-field-true_false.php:80 -#: includes/fields/class-acf-field-true_false.php:169 includes/input.php:268 -#: pro/admin/views/html-settings-updates.php:99 -msgid "No" -msgstr "Hayır" - #: includes/fields/class-acf-field-true_false.php:127 msgid "Displays text alongside the checkbox" msgstr "İşaret kutusunun yanında görüntülenen metin" @@ -2536,11 +2634,11 @@ msgstr "Açık metni" msgid "Text shown when active" msgstr "Etkinken görüntülenen metin" -#: includes/fields/class-acf-field-true_false.php:165 +#: includes/fields/class-acf-field-true_false.php:170 msgid "Off Text" msgstr "Kapalı metni" -#: includes/fields/class-acf-field-true_false.php:166 +#: includes/fields/class-acf-field-true_false.php:171 msgid "Text shown when inactive" msgstr "Etkin değilken görüntülenen metin" @@ -2556,64 +2654,76 @@ msgstr "Değer geçerli bir web adresi olmalı" msgid "User" msgstr "Kullanıcı" -#: includes/fields/class-acf-field-user.php:393 +#: includes/fields/class-acf-field-user.php:394 msgid "Filter by role" msgstr "Kurala göre filtrele" -#: includes/fields/class-acf-field-user.php:401 +#: includes/fields/class-acf-field-user.php:402 msgid "All user roles" msgstr "Bütün kullanıcı rolleri" +#: includes/fields/class-acf-field-user.php:433 +msgid "User Array" +msgstr "Kullanıcı dizisi" + +#: includes/fields/class-acf-field-user.php:434 +msgid "User Object" +msgstr "Kullanıcı nesnesi" + +#: includes/fields/class-acf-field-user.php:435 +msgid "User ID" +msgstr "Kullanıcı No" + #: includes/fields/class-acf-field-wysiwyg.php:25 msgid "Wysiwyg Editor" msgstr "Wysiwyg düzenleyici" -#: includes/fields/class-acf-field-wysiwyg.php:359 +#: includes/fields/class-acf-field-wysiwyg.php:330 msgid "Visual" msgstr "Görsel" -#: includes/fields/class-acf-field-wysiwyg.php:360 +#: includes/fields/class-acf-field-wysiwyg.php:331 msgctxt "Name for the Text editor tab (formerly HTML)" msgid "Text" msgstr "Metin" -#: includes/fields/class-acf-field-wysiwyg.php:366 +#: includes/fields/class-acf-field-wysiwyg.php:337 msgid "Click to initialize TinyMCE" msgstr "TinyMCE hazırlamak için tıklayın" -#: includes/fields/class-acf-field-wysiwyg.php:419 +#: includes/fields/class-acf-field-wysiwyg.php:390 msgid "Tabs" msgstr "Sekmeler" -#: includes/fields/class-acf-field-wysiwyg.php:424 +#: includes/fields/class-acf-field-wysiwyg.php:395 msgid "Visual & Text" msgstr "Görsel ve metin" -#: includes/fields/class-acf-field-wysiwyg.php:425 +#: includes/fields/class-acf-field-wysiwyg.php:396 msgid "Visual Only" msgstr "Sadece görsel" -#: includes/fields/class-acf-field-wysiwyg.php:426 +#: includes/fields/class-acf-field-wysiwyg.php:397 msgid "Text Only" msgstr "Sadece metin" -#: includes/fields/class-acf-field-wysiwyg.php:433 +#: includes/fields/class-acf-field-wysiwyg.php:404 msgid "Toolbar" msgstr "Araç çubuğu" -#: includes/fields/class-acf-field-wysiwyg.php:443 +#: includes/fields/class-acf-field-wysiwyg.php:419 msgid "Show Media Upload Buttons?" msgstr "Ortam yükleme tuşları gösterilsin mi?" -#: includes/fields/class-acf-field-wysiwyg.php:453 +#: includes/fields/class-acf-field-wysiwyg.php:429 msgid "Delay initialization?" msgstr "Hazırlık geciktirilsin mi?" -#: includes/fields/class-acf-field-wysiwyg.php:454 +#: includes/fields/class-acf-field-wysiwyg.php:430 msgid "TinyMCE will not be initalized until field is clicked" msgstr "Alan tıklanana kadar TinyMCE hazırlanmayacak" -#: includes/forms/form-comment.php:166 includes/forms/form-post.php:303 +#: includes/forms/form-comment.php:166 includes/forms/form-post.php:301 #: pro/admin/admin-options-page.php:308 msgid "Edit field group" msgstr "Alan grubunu düzenle" @@ -2622,8 +2732,8 @@ msgstr "Alan grubunu düzenle" msgid "Validate Email" msgstr "E-postayı doğrula" -#: includes/forms/form-front.php:103 -#: pro/fields/class-acf-field-gallery.php:573 pro/options-page.php:81 +#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:588 +#: pro/options-page.php:81 msgid "Update" msgstr "Güncelle" @@ -2631,48 +2741,10 @@ msgstr "Güncelle" msgid "Post updated" msgstr "Yazı güncellendi" -#: includes/forms/form-front.php:229 +#: includes/forms/form-front.php:230 msgid "Spam Detected" msgstr "İstenmeyen tespit edildi" -#: includes/input.php:259 -msgid "Expand Details" -msgstr "Ayrıntıları genişlet" - -#: includes/input.php:260 -msgid "Collapse Details" -msgstr "Detayları daralt" - -#: includes/input.php:261 -msgid "Validation successful" -msgstr "Doğrulama başarılı" - -#: includes/input.php:262 includes/validation.php:285 -#: includes/validation.php:296 -msgid "Validation failed" -msgstr "Doğrulama başarısız" - -#: includes/input.php:263 -msgid "1 field requires attention" -msgstr "1 alan dikkatinizi gerektiriyor" - -#: includes/input.php:264 -#, php-format -msgid "%d fields require attention" -msgstr "%d alan dikkatinizi gerektiriyor" - -#: includes/input.php:265 -msgid "Restricted" -msgstr "Kısıtlı" - -#: includes/input.php:266 -msgid "Are you sure?" -msgstr "Emin misiniz?" - -#: includes/input.php:270 -msgid "Cancel" -msgstr "İptal" - #: includes/locations.php:93 includes/locations/class-acf-location-post.php:27 msgid "Post" msgstr "Yazı" @@ -2685,6 +2757,14 @@ msgstr "Sayfa" msgid "Forms" msgstr "Formlar" +#: includes/locations.php:243 +msgid "is equal to" +msgstr "eşitse" + +#: includes/locations.php:244 +msgid "is not equal to" +msgstr "eşit değilse" + #: includes/locations/class-acf-location-attachment.php:27 msgid "Attachment" msgstr "Ek" @@ -2755,23 +2835,23 @@ msgstr "Varsayılan şablon" msgid "Page Type" msgstr "Sayfa tipi" -#: includes/locations/class-acf-location-page-type.php:145 +#: includes/locations/class-acf-location-page-type.php:146 msgid "Front Page" msgstr "Ön sayfa" -#: includes/locations/class-acf-location-page-type.php:146 +#: includes/locations/class-acf-location-page-type.php:147 msgid "Posts Page" msgstr "Yazılar sayfası" -#: includes/locations/class-acf-location-page-type.php:147 +#: includes/locations/class-acf-location-page-type.php:148 msgid "Top Level Page (no parent)" msgstr "Üst düzey sayfa (ebeveynsiz)" -#: includes/locations/class-acf-location-page-type.php:148 +#: includes/locations/class-acf-location-page-type.php:149 msgid "Parent Page (has children)" msgstr "Üst sayfa (alt sayfası olan)" -#: includes/locations/class-acf-location-page-type.php:149 +#: includes/locations/class-acf-location-page-type.php:150 msgid "Child Page (has parent)" msgstr "Alt sayfa (ebeveyni olan)" @@ -2795,10 +2875,6 @@ msgstr "Yazı taksonomisi" msgid "Post Template" msgstr "Yazı şablonu" -#: includes/locations/class-acf-location-taxonomy.php:27 -msgid "Taxonomy Term" -msgstr "Taksonomi terimi" - #: includes/locations/class-acf-location-user-form.php:27 msgid "User Form" msgstr "Kullanıcı formu" @@ -2819,16 +2895,6 @@ msgstr "Kullanıcı kuralı" msgid "Widget" msgstr "Bileşen" -#: includes/media.php:55 -msgctxt "verb" -msgid "Edit" -msgstr "Düzenle" - -#: includes/media.php:56 -msgctxt "verb" -msgid "Update" -msgstr "Güncelle" - #: includes/validation.php:364 #, php-format msgid "%s value is required" @@ -2927,265 +2993,260 @@ msgctxt "noun" msgid "Clone" msgstr "Kopyala" -#: pro/fields/class-acf-field-clone.php:808 +#: pro/fields/class-acf-field-clone.php:812 msgid "Select one or more fields you wish to clone" msgstr "Çoğaltmak için bir ya da daha fazla alan seçin" -#: pro/fields/class-acf-field-clone.php:825 +#: pro/fields/class-acf-field-clone.php:829 msgid "Display" msgstr "Görüntüle" -#: pro/fields/class-acf-field-clone.php:826 +#: pro/fields/class-acf-field-clone.php:830 msgid "Specify the style used to render the clone field" msgstr "Çoğaltılacak alanın görünümü için stili belirleyin" -#: pro/fields/class-acf-field-clone.php:831 +#: pro/fields/class-acf-field-clone.php:835 msgid "Group (displays selected fields in a group within this field)" msgstr "Grup (bu alanın içinde seçili alanları grup olarak gösterir)" -#: pro/fields/class-acf-field-clone.php:832 +#: pro/fields/class-acf-field-clone.php:836 msgid "Seamless (replaces this field with selected fields)" msgstr "Pürüzsüz (bu alanı seçişmiş olan alanlarla değiştirir)" -#: pro/fields/class-acf-field-clone.php:853 +#: pro/fields/class-acf-field-clone.php:857 #, php-format msgid "Labels will be displayed as %s" msgstr "Etiketler %s olarak görüntülenir" -#: pro/fields/class-acf-field-clone.php:856 +#: pro/fields/class-acf-field-clone.php:860 msgid "Prefix Field Labels" msgstr "Alan etiketlerine ön ek ekle" -#: pro/fields/class-acf-field-clone.php:867 +#: pro/fields/class-acf-field-clone.php:871 #, php-format msgid "Values will be saved as %s" msgstr "Değerler %s olarak kaydedilecek" -#: pro/fields/class-acf-field-clone.php:870 +#: pro/fields/class-acf-field-clone.php:874 msgid "Prefix Field Names" msgstr "Alan isimlerine ön ek ekle" -#: pro/fields/class-acf-field-clone.php:988 +#: pro/fields/class-acf-field-clone.php:992 msgid "Unknown field" msgstr "Bilinmeyen alan" -#: pro/fields/class-acf-field-clone.php:1027 +#: pro/fields/class-acf-field-clone.php:1031 msgid "Unknown field group" msgstr "Bilinmeyen alan grubu" -#: pro/fields/class-acf-field-clone.php:1031 +#: pro/fields/class-acf-field-clone.php:1035 #, php-format msgid "All fields from %s field group" msgstr "%s alan grubundaki tüm alanlar" #: pro/fields/class-acf-field-flexible-content.php:31 -#: pro/fields/class-acf-field-repeater.php:174 -#: pro/fields/class-acf-field-repeater.php:470 +#: pro/fields/class-acf-field-repeater.php:193 +#: pro/fields/class-acf-field-repeater.php:463 msgid "Add Row" msgstr "Satır ekle" -#: pro/fields/class-acf-field-flexible-content.php:34 +#: pro/fields/class-acf-field-flexible-content.php:73 +#: pro/fields/class-acf-field-flexible-content.php:938 +#: pro/fields/class-acf-field-flexible-content.php:1020 msgid "layout" -msgstr "yerleşim" +msgid_plural "layouts" +msgstr[0] "yerleşim" +msgstr[1] "yerleşimler" -#: pro/fields/class-acf-field-flexible-content.php:35 +#: pro/fields/class-acf-field-flexible-content.php:74 msgid "layouts" msgstr "yerleşimler" -#: pro/fields/class-acf-field-flexible-content.php:36 -msgid "remove {layout}?" -msgstr "{layout} kaldırılsın mı?" - -#: pro/fields/class-acf-field-flexible-content.php:37 -msgid "This field requires at least {min} {identifier}" -msgstr "Bu alan için en az gereken {min} {identifier}" - -#: pro/fields/class-acf-field-flexible-content.php:38 -msgid "This field has a limit of {max} {identifier}" -msgstr "Bu alan için sınır {max} {identifier}" - -#: pro/fields/class-acf-field-flexible-content.php:39 +#: pro/fields/class-acf-field-flexible-content.php:77 +#: pro/fields/class-acf-field-flexible-content.php:937 +#: pro/fields/class-acf-field-flexible-content.php:1019 msgid "This field requires at least {min} {label} {identifier}" msgstr "Bu alan için en az gereken {min} {label} {identifier}" -#: pro/fields/class-acf-field-flexible-content.php:40 -msgid "Maximum {label} limit reached ({max} {identifier})" -msgstr "En yüksek {label} sınırına ulaşıldı ({max} {identifier})" +#: pro/fields/class-acf-field-flexible-content.php:78 +msgid "This field has a limit of {max} {label} {identifier}" +msgstr "Bu alan için sınır {max} {label} {identifier}" -#: pro/fields/class-acf-field-flexible-content.php:41 +#: pro/fields/class-acf-field-flexible-content.php:81 msgid "{available} {label} {identifier} available (max {max})" msgstr "{available} {label} {identifier} kullanılabilir (en fazla {max})" -#: pro/fields/class-acf-field-flexible-content.php:42 +#: pro/fields/class-acf-field-flexible-content.php:82 msgid "{required} {label} {identifier} required (min {min})" msgstr "{required} {label} {identifier} gerekli (min {min})" -#: pro/fields/class-acf-field-flexible-content.php:43 +#: pro/fields/class-acf-field-flexible-content.php:85 msgid "Flexible Content requires at least 1 layout" msgstr "Esnek içerik, en az 1 yerleşim gerektirir" -#: pro/fields/class-acf-field-flexible-content.php:273 +#: pro/fields/class-acf-field-flexible-content.php:302 #, php-format msgid "Click the \"%s\" button below to start creating your layout" msgstr "" "Kendi yerleşiminizi oluşturmaya başlamak için aşağıdaki \"%s \" tuşuna " "tıklayın" -#: pro/fields/class-acf-field-flexible-content.php:406 +#: pro/fields/class-acf-field-flexible-content.php:427 msgid "Add layout" msgstr "Yerleşim ekle" -#: pro/fields/class-acf-field-flexible-content.php:407 +#: pro/fields/class-acf-field-flexible-content.php:428 msgid "Remove layout" msgstr "Yerleşimi çıkar" -#: pro/fields/class-acf-field-flexible-content.php:408 -#: pro/fields/class-acf-field-repeater.php:298 +#: pro/fields/class-acf-field-flexible-content.php:429 +#: pro/fields/class-acf-field-repeater.php:296 msgid "Click to toggle" msgstr "Geçiş yapmak için tıklayın" -#: pro/fields/class-acf-field-flexible-content.php:554 +#: pro/fields/class-acf-field-flexible-content.php:569 msgid "Reorder Layout" msgstr "Yerleşimi yeniden sırala" -#: pro/fields/class-acf-field-flexible-content.php:554 +#: pro/fields/class-acf-field-flexible-content.php:569 msgid "Reorder" msgstr "Yeniden sırala" -#: pro/fields/class-acf-field-flexible-content.php:555 +#: pro/fields/class-acf-field-flexible-content.php:570 msgid "Delete Layout" msgstr "Yerleşimi sil" -#: pro/fields/class-acf-field-flexible-content.php:556 +#: pro/fields/class-acf-field-flexible-content.php:571 msgid "Duplicate Layout" msgstr "Yerleşimi çoğalt" -#: pro/fields/class-acf-field-flexible-content.php:557 +#: pro/fields/class-acf-field-flexible-content.php:572 msgid "Add New Layout" msgstr "Yeni yerleşim ekle" -#: pro/fields/class-acf-field-flexible-content.php:628 +#: pro/fields/class-acf-field-flexible-content.php:643 msgid "Min" msgstr "En düşük" -#: pro/fields/class-acf-field-flexible-content.php:641 +#: pro/fields/class-acf-field-flexible-content.php:656 msgid "Max" msgstr "En yüksek" -#: pro/fields/class-acf-field-flexible-content.php:668 -#: pro/fields/class-acf-field-repeater.php:466 +#: pro/fields/class-acf-field-flexible-content.php:683 +#: pro/fields/class-acf-field-repeater.php:459 msgid "Button Label" msgstr "Tuş etiketi" -#: pro/fields/class-acf-field-flexible-content.php:677 +#: pro/fields/class-acf-field-flexible-content.php:692 msgid "Minimum Layouts" msgstr "En az yerleşim" -#: pro/fields/class-acf-field-flexible-content.php:686 +#: pro/fields/class-acf-field-flexible-content.php:701 msgid "Maximum Layouts" msgstr "En fazla yerleşim" -#: pro/fields/class-acf-field-gallery.php:41 +#: pro/fields/class-acf-field-gallery.php:71 msgid "Add Image to Gallery" msgstr "Galeriye görsel ekle" -#: pro/fields/class-acf-field-gallery.php:45 +#: pro/fields/class-acf-field-gallery.php:72 msgid "Maximum selection reached" msgstr "En fazla seçim aşıldı" -#: pro/fields/class-acf-field-gallery.php:321 +#: pro/fields/class-acf-field-gallery.php:336 msgid "Length" msgstr "Uzunluk" -#: pro/fields/class-acf-field-gallery.php:364 +#: pro/fields/class-acf-field-gallery.php:379 msgid "Caption" msgstr "Başlık" -#: pro/fields/class-acf-field-gallery.php:373 +#: pro/fields/class-acf-field-gallery.php:388 msgid "Alt Text" msgstr "Alternatif metin" -#: pro/fields/class-acf-field-gallery.php:544 +#: pro/fields/class-acf-field-gallery.php:559 msgid "Add to gallery" msgstr "Galeriye ekle" -#: pro/fields/class-acf-field-gallery.php:548 +#: pro/fields/class-acf-field-gallery.php:563 msgid "Bulk actions" msgstr "Toplu eylemler" -#: pro/fields/class-acf-field-gallery.php:549 +#: pro/fields/class-acf-field-gallery.php:564 msgid "Sort by date uploaded" msgstr "Yüklenme tarihine göre sırala" -#: pro/fields/class-acf-field-gallery.php:550 +#: pro/fields/class-acf-field-gallery.php:565 msgid "Sort by date modified" msgstr "Değiştirme tarihine göre sırala" -#: pro/fields/class-acf-field-gallery.php:551 +#: pro/fields/class-acf-field-gallery.php:566 msgid "Sort by title" msgstr "Başlığa göre sırala" -#: pro/fields/class-acf-field-gallery.php:552 +#: pro/fields/class-acf-field-gallery.php:567 msgid "Reverse current order" msgstr "Sıralamayı ters çevir" -#: pro/fields/class-acf-field-gallery.php:570 +#: pro/fields/class-acf-field-gallery.php:585 msgid "Close" msgstr "Kapat" -#: pro/fields/class-acf-field-gallery.php:624 +#: pro/fields/class-acf-field-gallery.php:639 msgid "Minimum Selection" msgstr "En az seçim" -#: pro/fields/class-acf-field-gallery.php:633 +#: pro/fields/class-acf-field-gallery.php:648 msgid "Maximum Selection" msgstr "En fazla seçim" -#: pro/fields/class-acf-field-gallery.php:642 +#: pro/fields/class-acf-field-gallery.php:657 msgid "Insert" msgstr "Ekle" -#: pro/fields/class-acf-field-gallery.php:643 +#: pro/fields/class-acf-field-gallery.php:658 msgid "Specify where new attachments are added" msgstr "Yeni eklerin nereye ekleneceğini belirtin" -#: pro/fields/class-acf-field-gallery.php:647 +#: pro/fields/class-acf-field-gallery.php:662 msgid "Append to the end" msgstr "Sona ekle" -#: pro/fields/class-acf-field-gallery.php:648 +#: pro/fields/class-acf-field-gallery.php:663 msgid "Prepend to the beginning" msgstr "En başa ekleyin" -#: pro/fields/class-acf-field-repeater.php:36 +#: pro/fields/class-acf-field-repeater.php:65 +#: pro/fields/class-acf-field-repeater.php:656 msgid "Minimum rows reached ({min} rows)" msgstr "En az satır sayısına ulaşıldı ({min} satır)" -#: pro/fields/class-acf-field-repeater.php:37 +#: pro/fields/class-acf-field-repeater.php:66 msgid "Maximum rows reached ({max} rows)" msgstr "En fazla satır değerine ulaşıldı ({max} satır)" -#: pro/fields/class-acf-field-repeater.php:343 +#: pro/fields/class-acf-field-repeater.php:333 msgid "Add row" msgstr "Satır ekle" -#: pro/fields/class-acf-field-repeater.php:344 +#: pro/fields/class-acf-field-repeater.php:334 msgid "Remove row" msgstr "Satır çıkar" -#: pro/fields/class-acf-field-repeater.php:419 +#: pro/fields/class-acf-field-repeater.php:412 msgid "Collapsed" msgstr "Daraltılmış" -#: pro/fields/class-acf-field-repeater.php:420 +#: pro/fields/class-acf-field-repeater.php:413 msgid "Select a sub field to show when row is collapsed" msgstr "Satır toparlandığında görüntülenecek alt alanı seçin" -#: pro/fields/class-acf-field-repeater.php:430 +#: pro/fields/class-acf-field-repeater.php:423 msgid "Minimum Rows" msgstr "En az satır" -#: pro/fields/class-acf-field-repeater.php:440 +#: pro/fields/class-acf-field-repeater.php:433 msgid "Maximum Rows" msgstr "En fazla satır" @@ -3224,6 +3285,151 @@ msgstr "Elliot Condon" msgid "http://www.elliotcondon.com/" msgstr "http://www.elliotcondon.com/" +#~ msgid "Parent fields" +#~ msgstr "Üst alanlar" + +#~ msgid "Sibling fields" +#~ msgstr "Kardeş alanlar" + +#~ msgid "Error validating request" +#~ msgstr "İstek doğrulanırken hata oluştu" + +#~ msgid "Advanced Custom Fields Database Upgrade" +#~ msgstr "Advanced Custom Fields veritabanı güncellemesi" + +#~ msgid "" +#~ "Before you start using the new awesome features, please update your " +#~ "database to the newest version." +#~ msgstr "" +#~ "Yeni muhteşem özellikleri kullanmadan önce lütfen veritabanınızı en yeni " +#~ "sürüme güncelleyin." + +#~ msgid "" +#~ "To help make upgrading easy, login to your store account and claim a free copy of ACF PRO!" +#~ msgstr "" +#~ "Yükseltmeyi kolaylaştırmak için mağaza hesabınıza " +#~ "giriş yapın ve bir adet ücretsiz ACF PRO kopyası edinin!" + +#~ msgid "Under the Hood" +#~ msgstr "Kaputun altında" + +#~ msgid "Smarter field settings" +#~ msgstr "Daha akıllı alan ayarları" + +#~ msgid "ACF now saves its field settings as individual post objects" +#~ msgstr "ACF artık alan ayarlarını münferit yazı nesneleri olarak saklıyor" + +#~ msgid "Better version control" +#~ msgstr "Daha iyi sürüm kontrolü" + +#~ msgid "" +#~ "New auto export to JSON feature allows field settings to be version " +#~ "controlled" +#~ msgstr "" +#~ "Otomatik JSON dışarı aktarma özelliği sayesinde artık alan ayarları sürüm " +#~ "kontrolü ile yönetilebilir" + +#~ msgid "Swapped XML for JSON" +#~ msgstr "XML yerine JSON kullanımına geçildi" + +#~ msgid "Import / Export now uses JSON in favour of XML" +#~ msgstr "İçeri / dışarı aktarma artık XML yerine JSON kullanıyor" + +#~ msgid "New Forms" +#~ msgstr "Yeni formlar" + +#~ msgid "A new field for embedding content has been added" +#~ msgstr "Gömülü içerik için yeni bir alan eklendi" + +#~ msgid "New Gallery" +#~ msgstr "Yeni galeri" + +#~ msgid "The gallery field has undergone a much needed facelift" +#~ msgstr "Galeri alanı oldukça gerekli bir makyaj ile yenilendi" + +#~ msgid "Relationship Field" +#~ msgstr "İlişkili alan" + +#~ msgid "" +#~ "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)" +#~ msgstr "'Filtreler' için yeni ilişki ayarı (Arama, yazı tipi, taksonomi)" + +#~ msgid "New archives group in page_link field selection" +#~ msgstr "Yeni arşivler page_link alanı seçiminde gruplanır" + +#~ msgid "Better Options Pages" +#~ msgstr "Daha iyi seçenekler sayfası" + +#~ msgid "" +#~ "New functions for options page allow creation of both parent and child " +#~ "menu pages" +#~ msgstr "" +#~ "Seçenekler sayfası için yeni işlevler sayesinde hem üst hem alt menü " +#~ "sayfaları oluşturulabiliyor" + +#~ msgid "Export Field Groups to PHP" +#~ msgstr "Alan gruplarını PHP için dışa aktar" + +#~ msgid "Download export file" +#~ msgstr "Dışarı aktarma dosyasını indir" + +#~ msgid "Generate export code" +#~ msgstr "Dışarı aktarma kodu oluştur" + +#~ msgid "Import" +#~ msgstr "İçe aktar" + +#~ msgid "Locating" +#~ msgstr "Konum bulunuyor" + +#~ msgid "Error." +#~ msgstr "Hata." + +#~ msgid "No embed found for the given URL." +#~ msgstr "Verilen adres için gömülecek bir şey bulunamadı." + +#~ msgid "Minimum values reached ( {min} values )" +#~ msgstr "En düşün değerlere ulaşıldı ( {min} değerleri )" + +#~ msgid "" +#~ "The tab field will display incorrectly when added to a Table style " +#~ "repeater field or flexible content field layout" +#~ msgstr "" +#~ "Bir tablo stili tekrarlayıcı ya da esnek içerik alanı yerleşimi " +#~ "eklendiğinde sekme alanı yanlış görüntülenir" + +#~ msgid "" +#~ "Use \"Tab Fields\" to better organize your edit screen by grouping fields " +#~ "together." +#~ msgstr "" +#~ "“Sekme alanları”nı kullanarak düzenleme ekranında alanları gruplayıp daha " +#~ "kolay organize olun." + +#~ msgid "" +#~ "All fields following this \"tab field\" (or until another \"tab field\" " +#~ "is defined) will be grouped together using this field's label as the tab " +#~ "heading." +#~ msgstr "" +#~ "Bu “sekme alanı”nı takip eden (ya da başka bir “sekme alanı” tanımlıysa) " +#~ "tüm alanlar sekmenin başlığını etiket olarak kullanarak " +#~ "gruplandırılacaklar." + +#~ msgid "None" +#~ msgstr "Yok" + +#~ msgid "Taxonomy Term" +#~ msgstr "Taksonomi terimi" + +#~ msgid "remove {layout}?" +#~ msgstr "{layout} kaldırılsın mı?" + +#~ msgid "This field requires at least {min} {identifier}" +#~ msgstr "Bu alan için en az gereken {min} {identifier}" + +#~ msgid "Maximum {label} limit reached ({max} {identifier})" +#~ msgstr "En yüksek {label} sınırına ulaşıldı ({max} {identifier})" + #~ msgid "Getting Started" #~ msgstr "Başlarken" @@ -3236,11 +3442,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Actions" #~ msgstr "Eylemler" -#, fuzzy -#~| msgid "Future" -#~ msgid "Features" -#~ msgstr "Gelecek" - #~ msgid "Tutorials" #~ msgstr "Örnekler" @@ -3353,9 +3554,6 @@ msgstr "http://www.elliotcondon.com/" #~ msgid "Trash" #~ msgstr "Çöp" -#~ msgid "Import / Export" -#~ msgstr "İçe / Dışa Aktar" - #, fuzzy #~ msgid "Field groups are created in order from lowest to highest" #~ msgstr "Alan grupları oluşturulma sırası
              sırayla alttan yukarı" diff --git a/pro/admin/admin-options-page.php b/pro/admin/admin-options-page.php index 329f31a..7fb25e9 100644 --- a/pro/admin/admin-options-page.php +++ b/pro/admin/admin-options-page.php @@ -261,6 +261,15 @@ class acf_admin_options_page { function postbox_submitdiv( $post, $args ) { + /** + * Fires before the major-publishing-actions div. + * + * @date 24/9/18 + * @since 5.7.7 + * + * @param array $page The current options page. + */ + do_action( 'acf/options_page/submitbox_before_major_actions', $this->page ); ?>
              @@ -269,11 +278,21 @@ class acf_admin_options_page {
              + page ); + ?>
              view['changelog'] = $this->get_changelog_section($info['changelog'], $info['version']); $this->view['upgrade_notice'] = $this->get_changelog_section($info['upgrade_notice'], $info['version']); - // refresh transient if: - // a) A license is active (can get update) - // b) No update exists, or the update version is stale + // perform update checks if license is active $basename = acf_get_setting('basename'); $update = acf_updates()->get_plugin_update( $basename ); if( $license ) { + + // display error if no package url + // - possible if license key has been modified + if( $update && !$update['package'] ) { + $this->show_error( __('Error. Could not authenticate update package. Please check again or deactivate and reactivate your ACF PRO license.', 'acf') ); + $this->view['update_available'] = false; + } + + // refresh transient + // - if no update exists in the transient + // - or if the transient 'new_version' is stale if( !$update || $update['new_version'] !== $info['version'] ) { acf_updates()->refresh_plugins_transient(); } @@ -291,6 +300,8 @@ class acf_admin_settings_updates { // update license acf_pro_update_license( $response['license'] ); + // refresh transient + acf_updates()->refresh_plugins_transient(); // show message $this->show_notice( $response['message'] ); @@ -356,13 +367,16 @@ class acf_admin_settings_updates { // clear DB acf_pro_update_license(''); - + // refresh transient + acf_updates()->refresh_plugins_transient(); + // success if( $response['status'] == 1 ) { // show message $this->show_notice( $response['message'] ); + } else { // show error diff --git a/pro/assets/js/acf-pro-field-group.js b/pro/assets/js/acf-pro-field-group.js index 298317f..b811833 100644 --- a/pro/assets/js/acf-pro-field-group.js +++ b/pro/assets/js/acf-pro-field-group.js @@ -478,5 +478,4 @@ // @codekit-prepend "../js/acf-setting-repeater.js // @codekit-prepend "../js/acf-setting-flexible-content.js -// @codekit-prepend "../js/acf-setting-clone.js - +// @codekit-prepend "../js/acf-setting-clone.js \ No newline at end of file diff --git a/pro/assets/js/acf-pro-field-group.min.js b/pro/assets/js/acf-pro-field-group.min.js index 19874ca..6cdae15 100644 --- a/pro/assets/js/acf-pro-field-group.min.js +++ b/pro/assets/js/acf-pro-field-group.min.js @@ -1 +1 @@ -!function($){var e=acf.FieldSetting.extend({type:"repeater",name:"collapsed",events:{"focus select":"onFocus"},onFocus:function(e,t){var i=t,a=[];a.push({label:i.find('option[value=""]').text(),value:""});var l=this.fieldObject.$(".acf-field-list:first");acf.getFieldObjects({list:l}).map(function(e){a.push({label:e.prop("label"),value:e.prop("key")})}),acf.renderSelect(i,a)}});acf.registerFieldSetting(e)}(jQuery),function($){var e=acf.FieldSetting.extend({type:"flexible_content",name:"fc_layout",events:{"blur .layout-label":"onChangeLabel","click .add-layout":"onClickAdd","click .duplicate-layout":"onClickDuplicate","click .delete-layout":"onClickDelete"},$input:function(e){return $("#"+this.getInputId()+"-"+e)},$list:function(){return this.$(".acf-field-list:first")},getInputId:function(){return this.fieldObject.getInputId()+"-layouts-"+this.field.get("id")},getFields:function(){return acf.getFieldObjects({parent:this.$el})},getChildren:function(){return acf.getFieldObjects({list:this.$list()})},initialize:function(){var e=this.$el.parent();e.hasClass("ui-sortable")||e.sortable({items:"> .acf-field-setting-fc_layout",handle:".reorder-layout",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,stop:this.proxy(function(e,t){this.fieldObject.save()})}),this.updateFieldLayouts()},updateFieldLayouts:function(){this.getChildren().map(this.updateFieldLayout,this)},updateFieldLayout:function(e){e.prop("parent_layout",this.get("id"))},onChangeLabel:function(e,t){var i=t.val(),a=this.$input("name");""==a.val()&&acf.val(a,acf.strSanitize(i))},onClickAdd:function(e,t){var i=this.get("id"),a=acf.uniqid("layout_");$layout=acf.duplicate({$el:this.$el,search:i,replace:a,after:function(e,t){var i=t.find(".acf-field-list:first");i.children(".acf-field-object").remove(),i.addClass("-empty"),t.find(".acf-fc-meta input").val("")}}),acf.getFieldSetting($layout).$input("key").val(a),this.fieldObject.save()},onClickDuplicate:function(e,t){var i=this.get("id"),a=acf.uniqid("layout_");$layout=acf.duplicate({$el:this.$el,search:i,replace:a});var l=acf.getFieldObjects({parent:$layout});l.length&&(l.map(function(e){e.wipe(),e.updateParent()}),acf.doAction("duplicate_field_objects",l,this.fieldObject,this.fieldObject)),acf.getFieldSetting($layout).$input("key").val(a),this.fieldObject.save()},onClickDelete:function(e,t){this.$el.addClass("-hover");var i=acf.newTooltip({confirmRemove:!0,target:t,context:this,confirm:function(){this.delete()},cancel:function(){this.$el.removeClass("-hover")}})},delete:function(){if(!this.$el.siblings(".acf-field-setting-fc_layout").length)return alert(acf.__("Flexible Content requires at least 1 layout")),!1;this.getFields().map(function(e){e.delete({animate:!1})}),acf.remove(this.$el),this.fieldObject.save()}});acf.registerFieldSetting(e);var t=new acf.Model({actions:{sortstop_field_object:"updateParentLayout",change_field_object_parent:"updateParentLayout"},updateParentLayout:function(e){var t=e.getParent();if(!t||"flexible_content"!==t.prop("type"))return void e.prop("parent_layout",null);var i=e.$el.closest(".acf-field-setting-fc_layout"),a=acf.getFieldSetting(i);e.has("parent_layout")||e.prop("parent_layout",0),e.prop("parent_layout",a.get("id"))}})}(jQuery),function($){var e=acf.FieldSetting.extend({type:"clone",name:"display",render:function(){var e=this.field.val();this.$fieldObject.attr("data-display",e)}});acf.registerFieldSetting(e);var t=acf.FieldSetting.extend({type:"clone",name:"prefix_label",render:function(){var e="";this.field.val()&&(e=this.fieldObject.prop("label")+" "),this.$("code").html(e+"%field_label%")}});acf.registerFieldSetting(t);var i=acf.FieldSetting.extend({type:"clone",name:"prefix_name",render:function(){var e="";this.field.val()&&(e=this.fieldObject.prop("name")+"_"),this.$("code").html(e+"%field_name%")}});acf.registerFieldSetting(i);var a=new acf.Model({filters:{select2_args:"select2Args"},select2Args:function(e,t,i,a,l){return"acf/fields/clone/query"==i.ajaxAction&&(e.closeOnSelect=!1,l.data.ajaxData=this.ajaxData),e},ajaxData:function(e){return e.fields={},acf.getFieldObjects().map(function(t){e.fields[t.prop("key")]={key:t.prop("key"),type:t.prop("type"),label:t.prop("label"),ancestors:t.getParents().length}}),e.title=$("#title").val(),e}})}(jQuery); \ No newline at end of file +!function(e){var t=acf.FieldSetting.extend({type:"repeater",name:"collapsed",events:{"focus select":"onFocus"},onFocus:function(e,t){var i=t,a=[];a.push({label:i.find('option[value=""]').text(),value:""});var l=this.fieldObject.$(".acf-field-list:first"),n;acf.getFieldObjects({list:l}).map(function(e){a.push({label:e.prop("label"),value:e.prop("key")})}),acf.renderSelect(i,a)}});acf.registerFieldSetting(t)}(jQuery),function(t){var e=acf.FieldSetting.extend({type:"flexible_content",name:"fc_layout",events:{"blur .layout-label":"onChangeLabel","click .add-layout":"onClickAdd","click .duplicate-layout":"onClickDuplicate","click .delete-layout":"onClickDelete"},$input:function(e){return t("#"+this.getInputId()+"-"+e)},$list:function(){return this.$(".acf-field-list:first")},getInputId:function(){return this.fieldObject.getInputId()+"-layouts-"+this.field.get("id")},getFields:function(){return acf.getFieldObjects({parent:this.$el})},getChildren:function(){return acf.getFieldObjects({list:this.$list()})},initialize:function(){var e=this.$el.parent();e.hasClass("ui-sortable")||e.sortable({items:"> .acf-field-setting-fc_layout",handle:".reorder-layout",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,stop:this.proxy(function(e,t){this.fieldObject.save()})}),this.updateFieldLayouts()},updateFieldLayouts:function(){this.getChildren().map(this.updateFieldLayout,this)},updateFieldLayout:function(e){e.prop("parent_layout",this.get("id"))},onChangeLabel:function(e,t){var i=t.val(),a=this.$input("name");""==a.val()&&acf.val(a,acf.strSanitize(i))},onClickAdd:function(e,t){var i=this.get("id"),a=acf.uniqid("layout_"),l;$layout=acf.duplicate({$el:this.$el,search:i,replace:a,after:function(e,t){var i=t.find(".acf-field-list:first");i.children(".acf-field-object").remove(),i.addClass("-empty"),t.find(".acf-fc-meta input").val("")}}),acf.getFieldSetting($layout).$input("key").val(a),this.fieldObject.save()},onClickDuplicate:function(e,t){var i=this.get("id"),a=acf.uniqid("layout_");$layout=acf.duplicate({$el:this.$el,search:i,replace:a});var l=acf.getFieldObjects({parent:$layout}),n;l.length&&(l.map(function(e){e.wipe(),e.updateParent()}),acf.doAction("duplicate_field_objects",l,this.fieldObject,this.fieldObject)),acf.getFieldSetting($layout).$input("key").val(a),this.fieldObject.save()},onClickDelete:function(e,t){this.$el.addClass("-hover");var i=acf.newTooltip({confirmRemove:!0,target:t,context:this,confirm:function(){this.delete()},cancel:function(){this.$el.removeClass("-hover")}})},delete:function(){var e;if(!this.$el.siblings(".acf-field-setting-fc_layout").length)return alert(acf.__("Flexible Content requires at least 1 layout")),!1;this.getFields().map(function(e){e.delete({animate:!1})}),acf.remove(this.$el),this.fieldObject.save()}});acf.registerFieldSetting(e);var i=new acf.Model({actions:{sortstop_field_object:"updateParentLayout",change_field_object_parent:"updateParentLayout"},updateParentLayout:function(e){var t=e.getParent();if(t&&"flexible_content"===t.prop("type")){var i=e.$el.closest(".acf-field-setting-fc_layout"),a=acf.getFieldSetting(i);e.has("parent_layout")||e.prop("parent_layout",0),e.prop("parent_layout",a.get("id"))}else e.prop("parent_layout",null)}})}(jQuery),function(e){var t=acf.FieldSetting.extend({type:"clone",name:"display",render:function(){var e=this.field.val();this.$fieldObject.attr("data-display",e)}});acf.registerFieldSetting(t);var i=acf.FieldSetting.extend({type:"clone",name:"prefix_label",render:function(){var e="";this.field.val()&&(e=this.fieldObject.prop("label")+" "),this.$("code").html(e+"%field_label%")}});acf.registerFieldSetting(i);var a=acf.FieldSetting.extend({type:"clone",name:"prefix_name",render:function(){var e="";this.field.val()&&(e=this.fieldObject.prop("name")+"_"),this.$("code").html(e+"%field_name%")}});acf.registerFieldSetting(a);var l=new acf.Model({filters:{select2_args:"select2Args"},select2Args:function(e,t,i,a,l){return"acf/fields/clone/query"==i.ajaxAction&&(e.closeOnSelect=!1,l.data.ajaxData=this.ajaxData),e},ajaxData:function(t){return t.fields={},acf.getFieldObjects().map(function(e){t.fields[e.prop("key")]={key:e.prop("key"),type:e.prop("type"),label:e.prop("label"),ancestors:e.getParents().length}}),t.title=e("#title").val(),t}})}(jQuery); \ No newline at end of file diff --git a/pro/assets/js/acf-pro-input.js b/pro/assets/js/acf-pro-input.js index 01e436a..f7407bf 100644 --- a/pro/assets/js/acf-pro-input.js +++ b/pro/assets/js/acf-pro-input.js @@ -1703,5 +1703,4 @@ // @codekit-prepend "../js/acf-field-repeater.js"; // @codekit-prepend "../js/acf-field-flexible-content.js"; -// @codekit-prepend "../js/acf-field-gallery.js"; - +// @codekit-prepend "../js/acf-field-gallery.js"; \ No newline at end of file diff --git a/pro/assets/js/acf-pro-input.min.js b/pro/assets/js/acf-pro-input.min.js index a332144..1f32069 100644 --- a/pro/assets/js/acf-pro-input.min.js +++ b/pro/assets/js/acf-pro-input.min.js @@ -1 +1 @@ -!function($){var t=acf.Field.extend({type:"repeater",wait:"",events:{'click a[data-event="add-row"]':"onClickAdd",'click a[data-event="remove-row"]':"onClickRemove",'click a[data-event="collapse-row"]':"onClickCollapse",showField:"onShow",unloadField:"onUnload",mouseover:"onHover",unloadField:"onUnload"},$control:function(){return this.$(".acf-repeater:first")},$table:function(){return this.$("table:first")},$tbody:function(){return this.$("tbody:first")},$rows:function(){return this.$("tbody:first > tr").not(".acf-clone")},$row:function(t){return this.$("tbody:first > tr:eq("+t+")")},$clone:function(){return this.$("tbody:first > tr.acf-clone")},$actions:function(){return this.$(".acf-actions:last")},$button:function(){return this.$(".acf-actions:last .button")},getValue:function(){return this.$rows().length},allowRemove:function(){var t=parseInt(this.get("min"));return!t||tthis.val()},addSortable:function(t){1!=this.get("max")&&this.$tbody().sortable({items:"> tr",handle:"> td.order",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,stop:function(e,a){t.render()},update:function(e,a){t.$input().trigger("change")}})},addCollapsed:function(){var t=e.load(this.get("key"));if(!t)return!1;this.$rows().each(function(e){t.indexOf(e)>-1&&$(this).addClass("-collapsed")})},addUnscopedEvents:function(t){this.on("invalidField",".acf-row",function(e){var a=$(this);t.isCollapsed(a)&&t.expand(a)})},initialize:function(){this.addUnscopedEvents(this),this.addCollapsed(),acf.disable(this.$clone(),this.cid),this.render()},render:function(){this.$rows().each(function(t){$(this).find("> .order > span").html(t+1)}),0==this.val()?this.$control().addClass("-empty"):this.$control().removeClass("-empty"),this.allowAdd()?this.$button().removeClass("disabled"):this.$button().addClass("disabled")},validateAdd:function(){if(this.allowAdd())return!0;var t=this.get("max"),e=acf.__("Maximum rows reached ({max} rows)");return e=e.replace("{max}",t),this.showNotice({text:e,type:"warning"}),!1},onClickAdd:function(t,e){if(!this.validateAdd())return!1;e.hasClass("acf-icon")?this.add({before:e.closest(".acf-row")}):this.add()},add:function(t){if(!this.allowAdd())return!1;t=acf.parseArgs(t,{before:!1});var e=acf.duplicate({target:this.$clone(),append:this.proxy(function(e,a){t.before?t.before.before(a):e.before(a),a.removeClass("acf-clone"),acf.enable(a,this.cid),this.render()})});return this.$input().trigger("change"),e},validateRemove:function(){if(this.allowRemove())return!0;var t=this.get("min"),e=acf.__("Minimum rows reached ({min} rows)");return e=e.replace("{min}",t),this.showNotice({text:e,type:"warning"}),!1},onClickRemove:function(t,e){var a=e.closest(".acf-row");a.addClass("-hover");var i=acf.newTooltip({confirmRemove:!0,target:e,context:this,confirm:function(){this.remove(a)},cancel:function(){a.removeClass("-hover")}})},remove:function(t){var e=this;acf.remove({target:t,endHeight:0,complete:function(){e.$input().trigger("change"),e.render()}})},isCollapsed:function(t){return t.hasClass("-collapsed")},collapse:function(t){t.addClass("-collapsed"),acf.doAction("hide",t,"collapse")},expand:function(t){t.removeClass("-collapsed"),acf.doAction("show",t,"collapse")},onClickCollapse:function(t,e){var a=e.closest(".acf-row"),i=this.isCollapsed(a);t.shiftKey&&(a=this.$rows()),i?this.expand(a):this.collapse(a)},onShow:function(t,e,a){var i=acf.getFields({is:":visible",parent:this.$el});acf.doAction("show_fields",i)},onUnload:function(){var t=[];this.$rows().each(function(e){$(this).hasClass("-collapsed")&&t.push(e)}),t=t.length?t:null,e.save(this.get("key"),t)},onHover:function(){this.addSortable(this),this.off("mouseover")}});acf.registerFieldType(t),acf.registerConditionForFieldType("hasValue","repeater"),acf.registerConditionForFieldType("hasNoValue","repeater"),acf.registerConditionForFieldType("lessThan","repeater"),acf.registerConditionForFieldType("greaterThan","repeater");var e=new acf.Model({name:"this.collapsedRows",key:function(t,e){var a=this.get(t+e)||0;return a++,this.set(t+e,a,!0),a>1&&(t+="-"+a),t},load:function(t){var t=this.key(t,"load"),e=acf.getPreference(this.name);return!(!e||!e[t])&&e[t]},save:function(t,e){var t=this.key(t,"save"),a=acf.getPreference(this.name)||{};null===e?delete a[t]:a[t]=e,$.isEmptyObject(a)&&(a=null),acf.setPreference(this.name,a)}})}(jQuery),function($){var t=acf.Field.extend({type:"flexible_content",wait:"",events:{'click [data-name="add-layout"]':"onClickAdd",'click [data-name="remove-layout"]':"onClickRemove",'click [data-name="collapse-layout"]':"onClickCollapse",showField:"onShow",unloadField:"onUnload",mouseover:"onHover"},$control:function(){return this.$(".acf-flexible-content:first")},$layoutsWrap:function(){return this.$(".acf-flexible-content:first > .values")},$layouts:function(){return this.$(".acf-flexible-content:first > .values > .layout")},$layout:function(t){return this.$(".acf-flexible-content:first > .values > .layout:eq("+t+")")},$clonesWrap:function(){return this.$(".acf-flexible-content:first > .clones")},$clones:function(){return this.$(".acf-flexible-content:first > .clones > .layout")},$clone:function(t){return this.$('.acf-flexible-content:first > .clones > .layout[data-layout="'+t+'"]')},$actions:function(){return this.$(".acf-actions:last")},$button:function(){return this.$(".acf-actions:last .button")},$popup:function(){return this.$(".tmpl-popup:last")},getPopupHTML:function(){var t=this.$popup().html(),e=$(t),a=this.$layouts(),i=function(t){return a.filter(function(){return $(this).data("layout")===t}).length};return e.find("[data-layout]").each(function(){var t=$(this),e=t.data("min")||0,a=t.data("max")||0,n=t.data("layout")||"",o=i(n);if(a&&o>=a)return void t.addClass("disabled");if(e&&o'+s+"")}}),t=e.outerHTML()},getValue:function(){return this.$layouts().length},allowRemove:function(){var t=parseInt(this.get("min"));return!t||tthis.val()},isFull:function(){var t=parseInt(this.get("max"));return t&&this.val()>=t},addSortable:function(t){1!=this.get("max")&&this.$layoutsWrap().sortable({items:"> .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,stop:function(e,a){t.render()},update:function(e,a){t.$input().trigger("change")}})},addCollapsed:function(){var t=a.load(this.get("key"));if(!t)return!1;this.$layouts().each(function(e){t.indexOf(e)>-1&&$(this).addClass("-collapsed")})},addUnscopedEvents:function(t){this.on("invalidField",".layout",function(e){t.onInvalidField(e,$(this))})},initialize:function(){this.addUnscopedEvents(this),this.addCollapsed(),acf.disable(this.$clonesWrap(),this.cid),this.render()},render:function(){this.$layouts().each(function(t){$(this).find(".acf-fc-layout-order:first").html(t+1)}),0==this.val()?this.$control().addClass("-empty"):this.$control().removeClass("-empty"),this.isFull()?this.$button().addClass("disabled"):this.$button().removeClass("disabled")},onShow:function(t,e,a){var i=acf.getFields({is:":visible",parent:this.$el});acf.doAction("show_fields",i)},validateAdd:function(){if(this.allowAdd())return!0;var t=this.get("max"),e=acf.__("This field has a limit of {max} {label} {identifier}"),a=acf._n("layout","layouts",t);return e=e.replace("{max}",t),e=e.replace("{label}",""),e=e.replace("{identifier}",a),this.showNotice({text:e,type:"warning"}),!1},onClickAdd:function(t,a){if(!this.validateAdd())return!1;var i=null;a.hasClass("acf-icon")&&(i=a.closest(".layout"),i.addClass("-hover")),new e({target:a,targetConfirm:!1,text:this.getPopupHTML(),context:this,confirm:function(t,e){e.hasClass("disabled")||this.add({layout:e.data("layout"),before:i})},cancel:function(){i&&i.removeClass("-hover")}}).on("click","[data-layout]","onConfirm")},add:function(t){if(t=acf.parseArgs(t,{layout:"",before:!1}),!this.allowAdd())return!1;var e=acf.duplicate({target:this.$clone(t.layout),append:this.proxy(function(e,a){t.before?t.before.before(a):this.$layoutsWrap().append(a),acf.enable(a,this.cid),this.render()})});return this.$input().trigger("change"),e},validateRemove:function(){if(this.allowRemove())return!0;var t=this.get("min"),e=acf.__("This field requires at least {min} {label} {identifier}"),a=acf._n("layout","layouts",t);return e=e.replace("{min}",t),e=e.replace("{label}",""),e=e.replace("{identifier}",a),this.showNotice({text:e,type:"warning"}),!1},onClickRemove:function(t,e){var a=e.closest(".layout");a.addClass("-hover");var i=acf.newTooltip({confirmRemove:!0,target:e,context:this,confirm:function(){this.removeLayout(a)},cancel:function(){a.removeClass("-hover")}})},removeLayout:function(t){var e=this,a=1==this.getValue()?60:0;acf.remove({target:t,endHeight:a,complete:function(){e.$input().trigger("change"),e.render()}})},onClickCollapse:function(t,e){var a=e.closest(".layout");this.isLayoutClosed(a)?this.openLayout(a):this.closeLayout(a)},isLayoutClosed:function(t){return t.hasClass("-collapsed")},openLayout:function(t){t.removeClass("-collapsed"),acf.doAction("show",t,"collapse")},closeLayout:function(t){t.addClass("-collapsed"),acf.doAction("hide",t,"collapse"),this.renderLayout(t)},renderLayout:function(t){var e=t.children("input"),a=e.attr("name").replace("[acf_fc_layout]",""),i={action:"acf/fields/flexible_content/layout_title",field_key:this.get("key"),i:t.index(),layout:t.data("layout"),value:acf.serialize(t,a)};$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),dataType:"html",type:"post",success:function(e){e&&t.children(".acf-fc-layout-handle").html(e)}})},onUnload:function(){var t=[];this.$layouts().each(function(e){$(this).hasClass("-collapsed")&&t.push(e)}),t=t.length?t:null,a.save(this.get("key"),t)},onInvalidField:function(t,e){this.isLayoutClosed(e)&&this.openLayout(e)},onHover:function(){this.addSortable(this),this.off("mouseover")}});acf.registerFieldType(t);var e=acf.models.TooltipConfirm.extend({events:{"click [data-layout]":"onConfirm",'click [data-event="cancel"]':"onCancel"},render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}});acf.registerConditionForFieldType("hasValue","flexible_content"),acf.registerConditionForFieldType("hasNoValue","flexible_content"),acf.registerConditionForFieldType("lessThan","flexible_content"),acf.registerConditionForFieldType("greaterThan","flexible_content");var a=new acf.Model({name:"this.collapsedLayouts",key:function(t,e){var a=this.get(t+e)||0;return a++,this.set(t+e,a,!0),a>1&&(t+="-"+a),t},load:function(t){var t=this.key(t,"load"),e=acf.getPreference(this.name);return!(!e||!e[t])&&e[t]},save:function(t,e){var t=this.key(t,"save"),a=acf.getPreference(this.name)||{};null===e?delete a[t]:a[t]=e,$.isEmptyObject(a)&&(a=null),acf.setPreference(this.name,a)}})}(jQuery),function($){var t=acf.Field.extend({type:"gallery",events:{"click .acf-gallery-add":"onClickAdd","click .acf-gallery-edit":"onClickEdit","click .acf-gallery-remove":"onClickRemove","click .acf-gallery-attachment":"onClickSelect","click .acf-gallery-close":"onClickClose","change .acf-gallery-sort":"onChangeSort","click .acf-gallery-update":"onUpdate",mouseover:"onHover",showField:"render"},actions:{validation_begin:"onValidationBegin",validation_failure:"onValidationFailure",resize:"onResize"},onValidationBegin:function(){acf.disable(this.$sideData(),this.cid)},onValidationFailure:function(){acf.enable(this.$sideData(),this.cid)},$control:function(){return this.$(".acf-gallery")},$collection:function(){return this.$(".acf-gallery-attachments")},$attachments:function(){return this.$(".acf-gallery-attachment")},$attachment:function(t){return this.$('.acf-gallery-attachment[data-id="'+t+'"]')},$active:function(){return this.$(".acf-gallery-attachment.active")},$main:function(){return this.$(".acf-gallery-main")},$side:function(){return this.$(".acf-gallery-side")},$sideData:function(){return this.$(".acf-gallery-side-data")},isFull:function(){var t=parseInt(this.get("max")),e=this.$attachments().length;return t&&e>=t},getValue:function(){var t=[];return this.$attachments().each(function(){t.push($(this).data("id"))}),!!t.length&&t},addUnscopedEvents:function(t){this.on("change",".acf-gallery-side",function(e){t.onUpdate(e,$(this))})},addSortable:function(t){this.$collection().sortable({items:".acf-gallery-attachment",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,start:function(t,e){e.placeholder.html(e.item.html()),e.placeholder.removeAttr("style")}}),this.$control().resizable({handles:"s",minHeight:200,stop:function(t,e){acf.update_user_setting("gallery_height",e.size.height)}})},initialize:function(){this.addUnscopedEvents(this),this.render()},render:function(){var t=this.$(".acf-gallery-sort"),e=this.$(".acf-gallery-add"),a=this.$attachments().length;this.isFull()?e.addClass("disabled"):e.removeClass("disabled"),a?t.removeClass("disabled"):t.addClass("disabled"),this.resize()},resize:function(){var t=this.$control().width(),e=150,a=Math.round(t/150);a=Math.min(a,8),this.$control().attr("data-columns",a)},onResize:function(){this.resize()},openSidebar:function(){this.$control().addClass("-open");var t=this.$control().width()/3;t=parseInt(t),t=Math.max(t,350),this.$(".acf-gallery-side-inner").css({width:t-1}),this.$side().animate({width:t-1},250),this.$main().animate({right:t},250)},closeSidebar:function(){this.$control().removeClass("-open"),this.$active().removeClass("active"),acf.disable(this.$side());var t=this.$(".acf-gallery-side-data");this.$main().animate({right:0},250),this.$side().animate({width:0},250,function(){t.html("")})},onClickAdd:function(t,e){if(this.isFull())return void this.showNotice({text:acf.__("Maximum selection reached"),type:"warning"});var a=acf.newMediaPopup({mode:"select",title:acf.__("Add Image to Gallery"),field:this.get("key"),multiple:"add",library:this.get("library"),allowedTypes:this.get("mime_types"),selected:this.val(),select:$.proxy(function(t,e){this.appendAttachment(t,e)},this)})},appendAttachment:function(t,e){if(t=this.validateAttachment(t),!this.isFull()&&!this.$attachment(t.id).length){var a=['"].join(""),i=$(a);if(this.$collection().append(i),"prepend"===this.get("insert")){var n=this.$attachments().eq(e);n.length&&n.before(i)}this.renderAttachment(t),this.render(),this.$input().trigger("change")}},validateAttachment:function(t){if(t=acf.parseArgs(t,{id:"",url:"",alt:"",title:"",filename:"",type:"image"}),t.attributes){t=t.attributes;var e=acf.isget(t,"sizes","medium","url");null!==e&&(t.url=e)}return t},renderAttachment:function(t){t=this.validateAttachment(t);var e=this.$attachment(t.id);"image"==t.type?e.find(".filename").remove():(t.url=acf.isget(t,"thumb","src"),e.find(".filename").text(t.filename)),t.url||(t.url=acf.get("mimeTypeIcon"),e.addClass("-icon")),e.find("img").attr({src:t.url,alt:t.alt,title:t.title}),acf.val(e.find("input"),t.id)},editAttachment:function(t){var e=acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:t,field:this.get("key"),select:$.proxy(function(t,e){this.renderAttachment(t)},this)})},onClickEdit:function(t,e){var a=e.data("id");a&&this.editAttachment(a)},removeAttachment:function(t){this.closeSidebar(),this.$attachment(t).remove(),this.render(),this.$input().trigger("change")},onClickRemove:function(t,e){t.preventDefault(),t.stopPropagation();var a=e.data("id");a&&this.removeAttachment(a)},selectAttachment:function(t){var e=this.$attachment(t);if(!e.hasClass("active")){var a=this.proxy(function(){this.$side().find(":focus").trigger("blur"),this.$active().removeClass("active"),e.addClass("active"),this.openSidebar(),i()}),i=this.proxy(function(){var e={action:"acf/fields/gallery/get_attachment",field_key:this.get("key"),id:t};this.has("xhr")&&this.get("xhr").abort(),acf.showLoading(this.$sideData());var a=$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(e),type:"post",dataType:"html",cache:!1,success:n});this.set("xhr",a)}),n=this.proxy(function(t){if(t){var e=this.$sideData();e.html(t),e.find(".compat-field-acf-form-data").remove(),e.find("> table.form-table > tbody").append(e.find("> .compat-attachment-fields > tbody > tr")),acf.doAction("append",e)}});a()}},onClickSelect:function(t,e){var a=e.data("id");a&&this.selectAttachment(a)},onClickClose:function(t,e){this.closeSidebar()},onChangeSort:function(t,e){var a=e.val();if(a){var i=[];this.$attachments().each(function(){i.push($(this).data("id"))});var n=this.proxy(function(){var t={action:"acf/fields/gallery/get_sort_order",field_key:this.get("key"),ids:i,sort:a},e=$.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",cache:!1,data:acf.prepareForAjax(t),success:o})}),o=this.proxy(function(t){acf.isAjaxSuccess(t)&&(t.data.reverse(),t.data.map(function(t){this.$collection().prepend(this.$attachment(t))},this))});n()}},onUpdate:function(t,e){var a=this.$(".acf-gallery-update");if(!a.hasClass("disabled")){var i=acf.serialize(this.$sideData());a.addClass("disabled"),a.before(' '),i.action="acf/fields/gallery/update_attachment",$.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",complete:function(){a.removeClass("disabled"),a.prev(".acf-loading").remove()}})}},onHover:function(){this.addSortable(this),this.off("mouseover")}});acf.registerFieldType(t),acf.registerConditionForFieldType("hasValue","gallery"),acf.registerConditionForFieldType("hasNoValue","gallery"),acf.registerConditionForFieldType("selectionLessThan","gallery"),acf.registerConditionForFieldType("selectionGreaterThan","gallery")}(jQuery); \ No newline at end of file +!function(i){var t=acf.Field.extend({type:"repeater",wait:"",events:{'click a[data-event="add-row"]':"onClickAdd",'click a[data-event="remove-row"]':"onClickRemove",'click a[data-event="collapse-row"]':"onClickCollapse",showField:"onShow",unloadField:"onUnload",mouseover:"onHover",unloadField:"onUnload"},$control:function(){return this.$(".acf-repeater:first")},$table:function(){return this.$("table:first")},$tbody:function(){return this.$("tbody:first")},$rows:function(){return this.$("tbody:first > tr").not(".acf-clone")},$row:function(t){return this.$("tbody:first > tr:eq("+t+")")},$clone:function(){return this.$("tbody:first > tr.acf-clone")},$actions:function(){return this.$(".acf-actions:last")},$button:function(){return this.$(".acf-actions:last .button")},getValue:function(){return this.$rows().length},allowRemove:function(){var t=parseInt(this.get("min"));return!t||tthis.val()},addSortable:function(a){1!=this.get("max")&&this.$tbody().sortable({items:"> tr",handle:"> td.order",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,stop:function(t,e){a.render()},update:function(t,e){a.$input().trigger("change")}})},addCollapsed:function(){var e=a.load(this.get("key"));if(!e)return!1;this.$rows().each(function(t){-1 .order > span").html(t+1)}),0==this.val()?this.$control().addClass("-empty"):this.$control().removeClass("-empty"),this.allowAdd()?this.$button().removeClass("disabled"):this.$button().addClass("disabled")},validateAdd:function(){if(this.allowAdd())return!0;var t=this.get("max"),e=acf.__("Maximum rows reached ({max} rows)");return e=e.replace("{max}",t),this.showNotice({text:e,type:"warning"}),!1},onClickAdd:function(t,e){if(!this.validateAdd())return!1;e.hasClass("acf-icon")?this.add({before:e.closest(".acf-row")}):this.add()},add:function(a){if(!this.allowAdd())return!1;a=acf.parseArgs(a,{before:!1});var t=acf.duplicate({target:this.$clone(),append:this.proxy(function(t,e){a.before?a.before.before(e):t.before(e),e.removeClass("acf-clone"),acf.enable(e,this.cid),this.render()})});return this.$input().trigger("change"),t},validateRemove:function(){if(this.allowRemove())return!0;var t=this.get("min"),e=acf.__("Minimum rows reached ({min} rows)");return e=e.replace("{min}",t),this.showNotice({text:e,type:"warning"}),!1},onClickRemove:function(t,e){var a=e.closest(".acf-row");a.addClass("-hover");var i=acf.newTooltip({confirmRemove:!0,target:e,context:this,confirm:function(){this.remove(a)},cancel:function(){a.removeClass("-hover")}})},remove:function(t){var e=this;acf.remove({target:t,endHeight:0,complete:function(){e.$input().trigger("change"),e.render()}})},isCollapsed:function(t){return t.hasClass("-collapsed")},collapse:function(t){t.addClass("-collapsed"),acf.doAction("hide",t,"collapse")},expand:function(t){t.removeClass("-collapsed"),acf.doAction("show",t,"collapse")},onClickCollapse:function(t,e){var a=e.closest(".acf-row"),i=this.isCollapsed(a);t.shiftKey&&(a=this.$rows()),i?this.expand(a):this.collapse(a)},onShow:function(t,e,a){var i=acf.getFields({is:":visible",parent:this.$el});acf.doAction("show_fields",i)},onUnload:function(){var e=[];this.$rows().each(function(t){i(this).hasClass("-collapsed")&&e.push(t)}),e=e.length?e:null,a.save(this.get("key"),e)},onHover:function(){this.addSortable(this),this.off("mouseover")}});acf.registerFieldType(t),acf.registerConditionForFieldType("hasValue","repeater"),acf.registerConditionForFieldType("hasNoValue","repeater"),acf.registerConditionForFieldType("lessThan","repeater"),acf.registerConditionForFieldType("greaterThan","repeater");var a=new acf.Model({name:"this.collapsedRows",key:function(t,e){var a=this.get(t+e)||0;return a++,this.set(t+e,a,!0),1 .values")},$layouts:function(){return this.$(".acf-flexible-content:first > .values > .layout")},$layout:function(t){return this.$(".acf-flexible-content:first > .values > .layout:eq("+t+")")},$clonesWrap:function(){return this.$(".acf-flexible-content:first > .clones")},$clones:function(){return this.$(".acf-flexible-content:first > .clones > .layout")},$clone:function(t){return this.$('.acf-flexible-content:first > .clones > .layout[data-layout="'+t+'"]')},$actions:function(){return this.$(".acf-actions:last")},$button:function(){return this.$(".acf-actions:last .button")},$popup:function(){return this.$(".tmpl-popup:last")},getPopupHTML:function(){var t=this.$popup().html(),e=c(t),a=this.$layouts(),r=function(t){return a.filter(function(){return c(this).data("layout")===t}).length};return e.find("[data-layout]").each(function(){var t=c(this),e=t.data("min")||0,a=t.data("max")||0,i=t.data("layout")||"",n=r(i);if(a&&a<=n)t.addClass("disabled");else if(e&&n'+o+"")}}),t=e.outerHTML()},getValue:function(){return this.$layouts().length},allowRemove:function(){var t=parseInt(this.get("min"));return!t||tthis.val()},isFull:function(){var t=parseInt(this.get("max"));return t&&this.val()>=t},addSortable:function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:"> .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,stop:function(t,e){a.render()},update:function(t,e){a.$input().trigger("change")}})},addCollapsed:function(){var e=a.load(this.get("key"));if(!e)return!1;this.$layouts().each(function(t){-1','','
              ','
              ','',"
              ",'
              ',"
              ",'
              ','',"
              ",""].join(""),i=s(a);if(this.$collection().append(i),"prepend"===this.get("insert")){var n=this.$attachments().eq(e);n.length&&n.before(i)}this.renderAttachment(t),this.render(),this.$input().trigger("change")}},validateAttachment:function(t){if((t=acf.parseArgs(t,{id:"",url:"",alt:"",title:"",filename:"",type:"image"})).attributes){t=t.attributes;var e=acf.isget(t,"sizes","medium","url");null!==e&&(t.url=e)}return t},renderAttachment:function(t){t=this.validateAttachment(t);var e=this.$attachment(t.id);"image"==t.type?e.find(".filename").remove():(t.url=acf.isget(t,"thumb","src"),e.find(".filename").text(t.filename)),t.url||(t.url=acf.get("mimeTypeIcon"),e.addClass("-icon")),e.find("img").attr({src:t.url,alt:t.alt,title:t.title}),acf.val(e.find("input"),t.id)},editAttachment:function(t){var e=acf.newMediaPopup({mode:"edit",title:acf.__("Edit Image"),button:acf.__("Update Image"),attachment:t,field:this.get("key"),select:s.proxy(function(t,e){this.renderAttachment(t)},this)})},onClickEdit:function(t,e){var a=e.data("id");a&&this.editAttachment(a)},removeAttachment:function(t){this.closeSidebar(),this.$attachment(t).remove(),this.render(),this.$input().trigger("change")},onClickRemove:function(t,e){t.preventDefault(),t.stopPropagation();var a=e.data("id");a&&this.removeAttachment(a)},selectAttachment:function(a){var t=this.$attachment(a);if(!t.hasClass("active")){var e=this.proxy(function(){this.$side().find(":focus").trigger("blur"),this.$active().removeClass("active"),t.addClass("active"),this.openSidebar(),i()}),i=this.proxy(function(){var t={action:"acf/fields/gallery/get_attachment",field_key:this.get("key"),id:a};this.has("xhr")&&this.get("xhr").abort(),acf.showLoading(this.$sideData());var e=s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(t),type:"post",dataType:"html",cache:!1,success:n});this.set("xhr",e)}),n=this.proxy(function(t){if(t){var e=this.$sideData();e.html(t),e.find(".compat-field-acf-form-data").remove(),e.find("> table.form-table > tbody").append(e.find("> .compat-attachment-fields > tbody > tr")),acf.doAction("append",e)}});e()}},onClickSelect:function(t,e){var a=e.data("id");a&&this.selectAttachment(a)},onClickClose:function(t,e){this.closeSidebar()},onChangeSort:function(t,e){var a=e.val();if(a){var i=[];this.$attachments().each(function(){i.push(s(this).data("id"))});var n=this.proxy(function(){var t={action:"acf/fields/gallery/get_sort_order",field_key:this.get("key"),ids:i,sort:a},e=s.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",cache:!1,data:acf.prepareForAjax(t),success:o})}),o=this.proxy(function(t){acf.isAjaxSuccess(t)&&(t.data.reverse(),t.data.map(function(t){this.$collection().prepend(this.$attachment(t))},this))});n()}},onUpdate:function(t,e){var a=this.$(".acf-gallery-update");if(!a.hasClass("disabled")){var i=acf.serialize(this.$sideData());a.addClass("disabled"),a.before(' '),i.action="acf/fields/gallery/update_attachment",s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(i),type:"post",dataType:"json",complete:function(){a.removeClass("disabled"),a.prev(".acf-loading").remove()}})}},onHover:function(){this.addSortable(this),this.off("mouseover")}});acf.registerFieldType(t),acf.registerConditionForFieldType("hasValue","gallery"),acf.registerConditionForFieldType("hasNoValue","gallery"),acf.registerConditionForFieldType("selectionLessThan","gallery"),acf.registerConditionForFieldType("selectionGreaterThan","gallery")}(jQuery); \ No newline at end of file diff --git a/pro/fields/class-acf-field-gallery.php b/pro/fields/class-acf-field-gallery.php index c937665..f143f81 100644 --- a/pro/fields/class-acf-field-gallery.php +++ b/pro/fields/class-acf-field-gallery.php @@ -100,7 +100,9 @@ class acf_field_gallery extends acf_field { // validate - if( !wp_verify_nonce($options['nonce'], 'acf_nonce') ) die(); + if( !acf_verify_ajax() ) { + die(); + } // bail early if no id diff --git a/readme.txt b/readme.txt index 7b33af7..e596386 100644 --- a/readme.txt +++ b/readme.txt @@ -4,9 +4,9 @@ Tags: acf, advanced, custom, field, fields, form, repeater, content Requires at least: 4.4.0 Tested up to: 4.9.9 License: GPLv2 or later -License URI: http://www.gnu.org/licenses/gpl-2.0.html +License URI: https://www.gnu.org/licenses/gpl-2.0.html -Customise WordPress with powerful, professional and intuitive fields. +Customize WordPress with powerful, professional and intuitive fields. == Description == @@ -50,9 +50,9 @@ From your WordPress dashboard = What kind of support do you provide? = -**Help Desk.** Support is currently provided via our email help desk. Questions are generally answered within 24 hours, with the exception of weekends and holidays. We answer questions related to ACF, it’s usage and provide minor customization guidance. We cannot guarantee support for questions which include custom theme code, or 3rd party plugin conflicts & compatibility. [Open a Support Ticket](http://support.advancedcustomfields.com/new-ticket/) +**Help Desk.** Support is currently provided via our email help desk. Questions are generally answered within 24 hours, with the exception of weekends and holidays. We answer questions related to ACF, its usage and provide minor customization guidance. We cannot guarantee support for questions which include custom theme code, or 3rd party plugin conflicts & compatibility. [Open a Support Ticket](https://www.advancedcustomfields.com/support/) -**Support Forums.** Our Community Forums provide a great resource for searching and finding previously answered and asked support questions. You may create a new thread on these forums, however, it is not guaranteed that you will receive an answer from our support team. This is more of an area for developers to talk to one another, post ideas, plugins and provide basic help. [View the Support Forum](http://support.advancedcustomfields.com) +**Support Forums.** Our Community Forums provide a great resource for searching and finding previously answered and asked support questions. You may create a new thread on these forums, however, it is not guaranteed that you will receive an answer from our support team. This is more of an area for developers to talk to one another, post ideas, plugins and provide basic help. [View the Support Forum](https://support.advancedcustomfields.com/) == Screenshots == @@ -66,6 +66,28 @@ From your WordPress dashboard == Changelog == += 5.7.8 = +*Release Date - 7 December 2018* + +* Fix - Fixed vulnerability allowing author role to save unfiltered HTML values. +* Fix - Fixed all metaboxes appearing when editing a post in WP 5.0. +* i18n - Updated Polish translation thanks to Dariusz Zielonka. +* i18n - Updated Czech translation thanks to Veronika Hanzlíková. +* i18n - Update Turkish translation thanks to Emre Erkan. +* i18n - Updated Portuguese language thanks to Pedro Mendonça. + += 5.7.7 = +*Release Date - 1 October 2018* + +* Fix - Fixed various plugin update issues. +* Tweak - Added 'language' to Google Maps API url. +* Dev - Major improvements to the `acf.models.Postbox` model. +* Dev - Added JS filter 'check_screen_args'. +* Dev - Added JS action 'check_screen_complete'. +* Dev - Added action 'acf/options_page/submitbox_before_major_actions'. +* Dev - Added action 'acf/options_page/submitbox_major_actions'. +* i18n - Updated Portuguese language thanks to Pedro Mendonça + = 5.7.6 = *Release Date - 12 September 2018* @@ -108,7 +130,7 @@ From your WordPress dashboard = 5.7.2 = *Release Date - 6 August 2018* -* Fix - Fixed bug preventing the Google Maps Field address from being customised. +* Fix - Fixed bug preventing the Google Maps Field address from being customized. * Fix - Improved logic to request and cache plugin update information. * Fix - Fixed bug preventing JS initialization when editing widgets in accessibility mode. * Fix - Added missing $parent argument to term_exists() function when adding a new term via taxonomy field popup. @@ -333,7 +355,7 @@ From your WordPress dashboard = 5.5.1 = * Select field: Fixed bug preventing some field settings from being selected -* Date picker field: Improved compatibility with customised values +* Date picker field: Improved compatibility with customized values * Core: Added new 'enqueue_datepicker' setting which can be used to prevent the library from being enqueued * Core: Added new 'enqueue_datetimepicker' setting which can be used to prevent the library from being enqueued * Core: Minor fixes and improvements @@ -434,7 +456,7 @@ View full changelog: https://www.advancedcustomfields.com/changelog/ == Upgrade Notice == = 5.2.7 = -* Field class names have changed slightly in v5.2.7 from `field_type-{$type}` to `acf-field-{$type}`. This change was introduced to better optimise JS performance. The previous class names can be added back in with the following filter: https://www.advancedcustomfields.com/resources/acfcompatibility/ +* Field class names have changed slightly in v5.2.7 from `field_type-{$type}` to `acf-field-{$type}`. This change was introduced to better optimize JS performance. The previous class names can be added back in with the following filter: https://www.advancedcustomfields.com/resources/acfcompatibility/ = 3.0.0 = * Editor is broken in WordPress 3.3