Version Description
Release Date - 15 February 2019
- Fix - Added missing function
register_field_group()
. - Fix - Fixed PHP 5.4 error "Can't use function return value in write context".
- Fix - Fixed bug causing wp_options values to be slashed incorrectly.
- Fix - Fixed bug where "sync" feature imported field groups without fields.
- Fix - Fixed bug preventing
get_field_object()
working with a field key. - Fix - Fixed bug causing incorrect results in
get_sub_field()
. - Fix - Fixed bug causing draft and preview issues with serialized values.
- Fix - Fixed bug causing reversed field group metabox order.
- Fix - Fixed bug causing incorrect character count when validating values.
- Fix - Fixed bug showing incorrect choices for post_template location rule.
- Fix - Fixed bug causing incorrect value retrieval after
switch_to_blog()
. - i18n - Updated Persian translation thanks to Majix.
Download this release
Release Info
Developer | elliotcondon |
Plugin | Advanced Custom Fields |
Version | 5.7.12 |
Comparing to | |
See all releases |
Code changes from version 5.7.10 to 5.7.12
- acf.php +14 -11
- assets/js/acf-input.js +9 -8
- assets/js/acf-input.min.js +4 -4
- includes/acf-data-functions.php +44 -37
- includes/acf-deprecated-functions.php +116 -0
- includes/acf-field-functions.php +1564 -0
- includes/acf-field-group-functions.php +1063 -0
- includes/acf-helper-functions.php +53 -0
- includes/acf-hook-functions.php +220 -0
- includes/acf-meta-functions.php +355 -0
- includes/acf-post-functions.php +34 -0
- includes/acf-value-functions.php +302 -0
- includes/admin/admin-field-group.php +2 -2
- includes/admin/admin-field-groups.php +22 -22
- includes/admin/tools/class-acf-admin-tool-import.php +33 -140
- includes/api/api-field-group.php +0 -1238
- includes/api/api-field.php +0 -2177
- includes/api/api-helpers.php +23 -78
- includes/api/api-template.php +103 -0
- includes/api/api-value.php +0 -715
- includes/cache.php +0 -445
- includes/class-acf-data.php +212 -6
- includes/compatibility.php +29 -1
- includes/fields/class-acf-field-text.php +24 -0
- includes/fields/class-acf-field-textarea.php +24 -0
- includes/json.php +0 -1
- includes/l10n.php +33 -4
- includes/local-fields.php +543 -0
- includes/local.php +0 -1045
- includes/locations.php +1 -1
- includes/locations/class-acf-location-page-template.php +20 -32
- includes/locations/class-acf-location-post-template.php +27 -51
- lang/acf-ar.mo +0 -0
- lang/acf-ar.po +209 -228
- lang/acf-de_CH.mo +0 -0
- lang/acf-de_CH.po +1350 -1122
- lang/acf-de_DE.mo +0 -0
- lang/acf-de_DE.po +307 -292
- lang/acf-de_DE_formal.mo +0 -0
- lang/acf-de_DE_formal.po +309 -293
- lang/acf-fa_IR.mo +0 -0
- lang/acf-fa_IR.po +925 -768
- lang/acf-pt_PT.mo +0 -0
- lang/acf-pt_PT.po +174 -325
- lang/acf.pot +62 -58
- readme.txt +30 -0
acf.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com/
|
5 |
Description: Customize WordPress with powerful, professional and intuitive fields.
|
6 |
-
Version: 5.7.
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
Copyright: Elliot Condon
|
@@ -18,7 +18,7 @@ if( ! class_exists('ACF') ) :
|
|
18 |
class ACF {
|
19 |
|
20 |
/** @var string The plugin version number */
|
21 |
-
var $version = '5.7.
|
22 |
|
23 |
/** @var array The plugin settings array */
|
24 |
var $settings = array();
|
@@ -118,27 +118,31 @@ class ACF {
|
|
118 |
$this->define( 'ACF', true );
|
119 |
$this->define( 'ACF_VERSION', $version );
|
120 |
$this->define( 'ACF_PATH', $path );
|
121 |
-
//$this->define( 'ACF_DEV', true );
|
122 |
|
123 |
|
124 |
// api
|
125 |
include_once( ACF_PATH . 'includes/api/api-helpers.php');
|
126 |
acf_include('includes/api/api-input.php');
|
127 |
-
acf_include('includes/api/api-value.php');
|
128 |
-
acf_include('includes/api/api-field.php');
|
129 |
-
acf_include('includes/api/api-field-group.php');
|
130 |
acf_include('includes/api/api-template.php');
|
131 |
acf_include('includes/api/api-term.php');
|
132 |
|
133 |
// Include models.
|
134 |
acf_include('includes/class-acf-data.php');
|
135 |
|
136 |
-
// Include functions.
|
137 |
-
acf_include('includes/acf-helper-functions.php');
|
138 |
acf_include('includes/acf-data-functions.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
acf_include('includes/acf-form-functions.php');
|
|
|
|
|
140 |
acf_include('includes/acf-user-functions.php');
|
141 |
-
|
142 |
|
143 |
// fields
|
144 |
acf_include('includes/fields.php');
|
@@ -152,12 +156,11 @@ class ACF {
|
|
152 |
|
153 |
// core
|
154 |
acf_include('includes/assets.php');
|
155 |
-
acf_include('includes/cache.php');
|
156 |
acf_include('includes/compatibility.php');
|
157 |
acf_include('includes/deprecated.php');
|
158 |
acf_include('includes/json.php');
|
159 |
acf_include('includes/l10n.php');
|
160 |
-
acf_include('includes/local.php');
|
161 |
acf_include('includes/loop.php');
|
162 |
acf_include('includes/media.php');
|
163 |
acf_include('includes/revisions.php');
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com/
|
5 |
Description: Customize WordPress with powerful, professional and intuitive fields.
|
6 |
+
Version: 5.7.12
|
7 |
Author: Elliot Condon
|
8 |
Author URI: http://www.elliotcondon.com/
|
9 |
Copyright: Elliot Condon
|
18 |
class ACF {
|
19 |
|
20 |
/** @var string The plugin version number */
|
21 |
+
var $version = '5.7.12';
|
22 |
|
23 |
/** @var array The plugin settings array */
|
24 |
var $settings = array();
|
118 |
$this->define( 'ACF', true );
|
119 |
$this->define( 'ACF_VERSION', $version );
|
120 |
$this->define( 'ACF_PATH', $path );
|
|
|
121 |
|
122 |
|
123 |
// api
|
124 |
include_once( ACF_PATH . 'includes/api/api-helpers.php');
|
125 |
acf_include('includes/api/api-input.php');
|
|
|
|
|
|
|
126 |
acf_include('includes/api/api-template.php');
|
127 |
acf_include('includes/api/api-term.php');
|
128 |
|
129 |
// Include models.
|
130 |
acf_include('includes/class-acf-data.php');
|
131 |
|
132 |
+
// Include core functions.
|
|
|
133 |
acf_include('includes/acf-data-functions.php');
|
134 |
+
acf_include('includes/acf-helper-functions.php');
|
135 |
+
acf_include('includes/acf-hook-functions.php');
|
136 |
+
|
137 |
+
// Include functions.
|
138 |
+
acf_include('includes/acf-deprecated-functions.php');
|
139 |
+
acf_include('includes/acf-field-functions.php');
|
140 |
+
acf_include('includes/acf-field-group-functions.php');
|
141 |
acf_include('includes/acf-form-functions.php');
|
142 |
+
acf_include('includes/acf-meta-functions.php');
|
143 |
+
acf_include('includes/acf-post-functions.php');
|
144 |
acf_include('includes/acf-user-functions.php');
|
145 |
+
acf_include('includes/acf-value-functions.php');
|
146 |
|
147 |
// fields
|
148 |
acf_include('includes/fields.php');
|
156 |
|
157 |
// core
|
158 |
acf_include('includes/assets.php');
|
|
|
159 |
acf_include('includes/compatibility.php');
|
160 |
acf_include('includes/deprecated.php');
|
161 |
acf_include('includes/json.php');
|
162 |
acf_include('includes/l10n.php');
|
163 |
+
acf_include('includes/local-fields.php');
|
164 |
acf_include('includes/loop.php');
|
165 |
acf_include('includes/media.php');
|
166 |
acf_include('includes/revisions.php');
|
assets/js/acf-input.js
CHANGED
@@ -1991,7 +1991,7 @@
|
|
1991 |
|
1992 |
// option
|
1993 |
} else {
|
1994 |
-
itemsHtml += '<option value="' + id + '"' + (item.disabled ? ' disabled="disabled"' : '') + '>' +
|
1995 |
}
|
1996 |
});
|
1997 |
|
@@ -5934,6 +5934,10 @@
|
|
5934 |
|
5935 |
// render
|
5936 |
this.renderVal( val );
|
|
|
|
|
|
|
|
|
5937 |
},
|
5938 |
|
5939 |
renderVal: function( val ){
|
@@ -5965,9 +5969,6 @@
|
|
5965 |
// show marker
|
5966 |
this.map.marker.setVisible( true );
|
5967 |
|
5968 |
-
// action
|
5969 |
-
acf.doAction('google_map_change', latLng, this.map, this);
|
5970 |
-
|
5971 |
// center
|
5972 |
this.center();
|
5973 |
|
@@ -11037,11 +11038,11 @@
|
|
11037 |
copyEvents( $submitdiv.children('.hndle'), $postbox.children('.hndle') );
|
11038 |
}
|
11039 |
|
|
|
|
|
|
|
11040 |
// Trigger action.
|
11041 |
acf.doAction('append', $postbox);
|
11042 |
-
|
11043 |
-
// Initalize it.
|
11044 |
-
postbox = acf.newPostbox( result );
|
11045 |
}
|
11046 |
|
11047 |
// show postbox
|
@@ -11121,7 +11122,7 @@
|
|
11121 |
|
11122 |
// Filter out attributes that have not changed.
|
11123 |
attributes = attributes.filter(this.proxy(function( attr ){
|
11124 |
-
return ( edits[attr] && edits[attr] !== this.get(attr) );
|
11125 |
}));
|
11126 |
|
11127 |
// Trigger change if has attributes.
|
1991 |
|
1992 |
// option
|
1993 |
} else {
|
1994 |
+
itemsHtml += '<option value="' + id + '"' + (item.disabled ? ' disabled="disabled"' : '') + '>' + text + '</option>';
|
1995 |
}
|
1996 |
});
|
1997 |
|
5934 |
|
5935 |
// render
|
5936 |
this.renderVal( val );
|
5937 |
+
|
5938 |
+
// action
|
5939 |
+
var latLng = this.newLatLng( val.lat, val.lng );
|
5940 |
+
acf.doAction('google_map_change', latLng, this.map, this);
|
5941 |
},
|
5942 |
|
5943 |
renderVal: function( val ){
|
5969 |
// show marker
|
5970 |
this.map.marker.setVisible( true );
|
5971 |
|
|
|
|
|
|
|
5972 |
// center
|
5973 |
this.center();
|
5974 |
|
11038 |
copyEvents( $submitdiv.children('.hndle'), $postbox.children('.hndle') );
|
11039 |
}
|
11040 |
|
11041 |
+
// Initalize it (modifies HTML).
|
11042 |
+
postbox = acf.newPostbox( result );
|
11043 |
+
|
11044 |
// Trigger action.
|
11045 |
acf.doAction('append', $postbox);
|
|
|
|
|
|
|
11046 |
}
|
11047 |
|
11048 |
// show postbox
|
11122 |
|
11123 |
// Filter out attributes that have not changed.
|
11124 |
attributes = attributes.filter(this.proxy(function( attr ){
|
11125 |
+
return ( edits[attr] !== undefined && edits[attr] !== this.get(attr) );
|
11126 |
}));
|
11127 |
|
11128 |
// Trigger change if has attributes.
|
assets/js/acf-input.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!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<n&&t[a]===e[a];a++)i++;return i},c.decode=function(t){return r("<textarea/>").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<a;s++){var o=String(n[s]);s==a-1?"%%index%%"===o?r.push(i):r[o]=i:("%%index%%"===n[s+1]?c.isArray(r[o])||(r[o]=[]):c.isObject(r[o])||(r[o]={}),r=r[o])}};c.serialize=function(t,e){var i={},n=c.serializeArray(t);e!==s&&(n=n.filter(function(t){return 0===t.name.indexOf(e)}).map(function(t){return t.name=t.name.slice(e.length),t}));for(var a=0;a<n.length;a++)o(i,n[a].name,n[a].value);return i},c.serializeArray=function(t){return t.find("select, textarea, input").serializeArray()},c.serializeForAjax=function(t){var e={},i={},n;return c.serializeArray(t).map(function(t){"[]"===t.name.slice(-2)?(e[t.name]=e[t.name]||[],e[t.name].push(t.value)):e[t.name]=t.value}),e},c.addAction=function(t,e,i,n){return c.hooks.addAction.apply(this,arguments),this},c.removeAction=function(t,e){return c.hooks.removeAction.apply(this,arguments),this};var e={};c.doAction=function(t){return e[t]=1,c.hooks.doAction.apply(this,arguments),e[t]=0,this},c.doingAction=function(t){return 1===e[t]},c.didAction=function(t){return e[t]!==s},c.currentAction=function(){for(var t in e)if(e[t])return t;return!1},c.addFilter=function(t){return c.hooks.addFilter.apply(this,arguments),this},c.removeFilter=function(t){return c.hooks.removeFilter.apply(this,arguments),this},c.applyFilters=function(t){return c.hooks.applyFilters.apply(this,arguments)},c.arrayArgs=function(t){return Array.prototype.slice.call(t)};try{var n=JSON.parse(localStorage.getItem("acf"))||{}}catch(t){var n={}}var l=function(t){return"this."===t.substr(0,5)&&(t=t.substr(5)+"-"+c.get("post_id")),t};c.getPreference=function(t){return t=l(t),n[t]||null},c.setPreference=function(t,e){t=l(t),null===e?delete n[t]:n[t]=e,localStorage.setItem("acf",JSON.stringify(n))},c.removePreference=function(t){c.setPreference(t,null)},c.remove=function(t){t instanceof jQuery&&(t={target:t}),t=c.parseArgs(t,{target:!1,endHeight:0,complete:function(){}}),c.doAction("remove",t.target),t.target.is("tr")?d(t):u(t)};var u=function(t){var e=t.target,i=e.height(),n=e.width(),a=e.css("margin"),r=e.outerHeight(!0),s=e.attr("style")+"";e.wrap('<div class="acf-temp-remove" style="height:'+r+'px"></div>');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('<td class="acf-temp-remove" style="padding:0; height:'+i+'px" colspan="'+n+'"></td>');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(' <i class="acf-loading"></i>')},c.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},c.showLoading=function(t){t.append('<div class="acf-loading-overlay"><i class="acf-loading"></i></div>')},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<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return!1;t=t[arguments[e]]}return!0},c.isget=function(t){for(var e=1;e<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return null;t=t[arguments[e]]}return t},c.getFileInputData=function(t,e){var i=t.val();if(!i)return!1;var n={url:i},a=c.isget(t[0],"files",0);if(a)if(n.size=a.size,n.type=a.type,-1<a.type.indexOf("image")){var r=window.URL||window.webkitURL,s=new Image;s.onload=function(){n.width=this.width,n.height=this.height,e(n)},s.src=r.createObjectURL(a)}else e(n);else e(n)},c.isAjaxSuccess=function(t){return t&&t.success},c.getAjaxMessage=function(t){return c.isget(t,"data","message")},c.getAjaxError=function(t){return c.isget(t,"data","error")},c.renderSelect=function(t,e){var i=t.val(),a=[],r=function(t){var n="";return t.map(function(t){var e=t.text||t.label||"",i=t.id||t.value||"";a.push(i),t.children?n+='<optgroup label="'+c.strEscape(e)+'">'+r(t.children)+"</optgroup>":n+='<option value="'+i+'"'+(t.disabled?' disabled="disabled"':"")+">"+c.strEscape(e)+"</option>"}),n};return t.html(r(e)),-1<a.indexOf(i)&&t.val(i),t.val()};var p=function(t,e){return t.data("acf-lock-"+e)||[]},g=function(t,e,i){t.data("acf-lock-"+e,i)};c.lock=function(t,e,i){var n=p(t,e),a;n.indexOf(i)<0&&(n.push(i),g(t,e,n))},c.unlock=function(t,e,i){var n=p(t,e),a=n.indexOf(i);return-1<a&&(n.splice(a,1),g(t,e,n)),0===n.length},c.isLocked=function(t,e){return 0<p(t,e).length},c.isGutenberg=function(){return window.wp&&wp.blocks},c.objectToArray=function(e){return Object.keys(e).map(function(t){return e[t]})},r.fn.exists=function(){return 0<r(this).length},r.fn.outerHTML=function(){return r(this).get(0).outerHTML},Array.prototype.indexOf||(Array.prototype.indexOf=function(t){return r.inArray(t,this)}),r(document).ready(function(){c.doAction("ready")}),r(window).on("load",function(){c.doAction("load")}),r(window).on("beforeunload",function(){c.doAction("unload")}),r(window).on("resize",function(){c.doAction("resize")}),r(document).on("sortstart",function(t,e){c.doAction("sortstart",e.item,e.placeholder)}),r(document).on("sortstop",function(t,e){c.doAction("sortstop",e.item,e.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&&c("actions",t,e,i=parseInt(i||10,10),n),d}function i(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e&&u("actions",e,t),d}function n(t,e){return"string"==typeof t&&o("actions",t,e),d}function a(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&c("filters",t,e,i=parseInt(i||10,10),n),d}function r(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e?u("filters",e,t):d}function s(t,e){return"string"==typeof t&&o("filters",t,e),d}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?(s.push(r),l(s)):[r],f[t][e]=s}function l(t){for(var e,i,n,a=1,r=t.length;a<r;a++){for(e=t[a],i=a;(n=t[i-1])&&n.priority>e.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<r;a++)i[0]=n[a].callback.apply(n[a].context,i);else for(;a<r;a++)n[a].callback.apply(n[a].context,i);return"filters"!==t||i[0]}var d={removeFilter:s,applyFilters:r,addFilter:a,removeAction:n,doAction:i,addAction:e,storage:t},f={actions:{},filters:{}};return d};acf.hooks=new i}(window),function(r,t){var n=/^(\S+)\s*(.*)$/,e=function(t){var e=this,i;return i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},r.extend(i,e),i.prototype=Object.create(e.prototype),r.extend(i.prototype,t),i.prototype.constructor=i},i=acf.Model=function(){this.cid=acf.uniqueId("acf"),this.data=r.extend(!0,{},this.data),this.setup.apply(this,arguments),this.$el&&!this.$el.data("acf")&&this.$el.data("acf",this);var t=function(){this.initialize(),this.addEvents(),this.addActions(),this.addFilters()};this.wait&&!acf.didAction(this.wait)?this.addAction(this.wait,t):t.apply(this)};r.extend(i.prototype,{id:"",cid:"",$el:null,data:{},busy:!1,changed:!1,events:{},actions:{},filters:{},eventScope:"",wait:!1,priority:10,get:function(t){return this.data[t]},has:function(t){return null!=this.get(t)},set:function(t,e,i){var n=this.get(t);return n==e||(this.data[t]=e,i||(this.changed=!0,this.trigger("changed:"+t,[e,n]),this.trigger("changed",[t,e,n]))),this},inherit:function(t){return t instanceof jQuery&&(t=t.data()),r.extend(this.data,t),this},prop:function(){return this.$el.prop.apply(this.$el,arguments)},setup:function(t){r.extend(this,t)},initialize:function(){},addElements:function(t){if(!(t=t||this.elements||null)||!Object.keys(t).length)return!1;for(var e in t)this.addElement(e,t[e])},addElement:function(t,e){this["$"+t]=this.$(e)},addEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var i=e.match(n);this.on(i[1],i[2],t[e])}},removeEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var i=e.match(n);this.off(i[1],i[2],t[e])}},getEventTarget:function(t,e){return t||this.$el||r(document)},validateEvent:function(t){return!this.eventScope||r(t.target).closest(this.eventScope).is(this.$el)},proxyEvent:function(a){return this.proxy(function(t){if(this.validateEvent(t)){var e,i=acf.arrayArgs(arguments).slice(1),n=[t,r(t.currentTarget)].concat(i);a.apply(this,n)}})},on:function(t,e,i,n){var a,r,s,o,c;o=t instanceof jQuery?n?(a=t,r=e,s=i,n):(a=t,r=e,i):i?(r=t,s=e,i):(r=t,e),a=this.getEventTarget(a),"string"==typeof o&&(o=this.proxyEvent(this[o])),r=r+"."+this.cid,c=s?[r,s,o]:[r,o],a.on.apply(a,c)},off:function(t,e,i){var n,a,r,s;t instanceof jQuery?i?(n=t,a=e,r=i):(n=t,a=e):e?(a=t,r=e):a=t,n=this.getEventTarget(n),a=a+"."+this.cid,s=r?[a,r]:[a],n.off.apply(n,s)},trigger:function(t,e,i){var n=this.getEventTarget();return i?n.trigger.apply(n,arguments):n.triggerHandler.apply(n,arguments),this},addActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.addAction(e,t[e])},removeActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.removeAction(e,t[e])},addAction:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addAction(t,e,i,this)},removeAction:function(t,e){acf.removeAction(t,this[e])},addFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.addFilter(e,t[e])},addFilter:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addFilter(t,e,i,this)},removeFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.removeFilter(e,t[e])},removeFilter:function(t,e){acf.removeFilter(t,this[e])},$:function(t){return this.$el.find(t)},remove:function(){this.removeEvents(),this.removeActions(),this.removeFilters(),this.$el.remove()},setTimeout:function(t,e){return setTimeout(this.proxy(t),e)},time:function(){console.time(this.id||this.cid)},timeEnd:function(){console.timeEnd(this.id||this.cid)},show:function(){acf.show(this.$el)},hide:function(){acf.hide(this.$el)},proxy:function(t){return r.proxy(t,this)}}),i.extend=e,acf.models={},acf.getInstance=function(t){return t.data("acf")},acf.getInstances=function(t){var e=[];return t.each(function(){e.push(acf.getInstance(r(this)))}),e}}(jQuery),function(e,t){acf.models.Popup=acf.Model.extend({data:{title:"",content:"",width:0,height:0,loading:!1},events:{'click [data-event="close"]':"onClickClose","click .acf-close-popup":"onClickClose"},setup:function(t){e.extend(this.data,t),this.$el=e(this.tmpl())},initialize:function(){this.render(),this.open()},tmpl:function(){return['<div id="acf-popup">','<div class="acf-popup-box acf-box">','<div class="title"><h3></h3><a href="#" class="acf-icon -cancel grey" data-event="close"></a></div>','<div class="inner"></div>','<div class="loading"><i class="acf-loading"></i></div>',"</div>",'<div class="bg" data-event="close"></div>',"</div>"].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",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},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'<div class="acf-notice"></div>'},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("<p>"+this.get("text")+"</p>"),this.get("dismiss")&&(this.$el.append('<a href="#" class="acf-notice-dismiss acf-icon -cancel small"></a>'),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(){return acf.getInstances(e(".acf-postbox"))},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},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"))},$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.$el.hasClass("acf-hidden")},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('<a href="'+e+'" class="dashicons dashicons-admin-generic acf-hndle-cog acf-js-tooltip" title="'+acf.__("Edit field group")+'"></a>'),this.show()},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),acf.doAction("append",this.$el)}})}(jQuery),function(f,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'<div class="acf-tooltip"></div>'},setup:function(t){f.extend(this.data,t),this.$el=f(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var t=this.get("timeout");t&&setTimeout(f.proxy(this.fade,this),t)},update:function(t){f.extend(this.data,t),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){f("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").css({top:0,left:0});var i=10,n=e.outerWidth(),a=e.outerHeight(),r=e.offset().top,s=e.offset().left,o=t.outerWidth(),c=t.outerHeight(),l=t.offset().top,u=r-c-l,d=s+n/2-o/2;d<10?(t.addClass("right"),d=s+n,u=r+a/2-c/2-l):d+o+10>f(window).width()?(t.addClass("left"),d=s-o,u=r+a/2-c/2-l):u-f(window).scrollTop()<10?(t.addClass("bottom"),u=r+a-l):t.addClass("top"),t.css({top:u,left:d})}}}),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=f(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=f(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?"),'<a href="#" data-event="confirm">'+(this.get("textConfirm")||acf.__("Yes"))+"</a>",'<a href="#" data-event="cancel">'+(this.get("textCancel")||acf.__("No"))+"</a>"].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.indexOf(e)&&i.trigger(s,a)};acf.addAction(r,t)},i,a=["valid","invalid","enable","disable","new"],o=["remove","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable"];["prepare","ready","load","append","remove","sortstart","sortstop","show","hide","unload"].map(e),a.map(s);var r=new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(t){t.preventDefault()},onChange:function(){n("#_acf_changed").val(1)}})}(jQuery),function(f,h){var p=0,t=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,e=this.$labelWrap(),i=this.$inputWrap(),n=this.$control(),a=i.children(".description");if(a.length&&e.append(a),this.$el.is("tr")){var r=this.$el.closest("table"),s=f('<div class="acf-accordion-title"/>'),o=f('<div class="acf-accordion-content"/>'),c=f('<table class="'+r.attr("class")+'"/>'),l=f("<tbody/>");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(g.iconHtml({open:this.get("open")}));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 g=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
|
2 |
-
):this.open(t)},iconHtml:function(t){var e;return'<i class="acf-accordion-icon dashicons dashicons-'+(t.open?"arrow-down":"arrow-right")+'"></i>'},open:function(t){t.find(".acf-accordion-content:first").slideDown().css("display","block"),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each(function(){g.close(f(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),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='<li><input class="acf-checkbox-custom" type="checkbox" checked="checked" /><input type="text" name="'+this.getInputName()+'[]" /></li>';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"]')},setValue:function(t){acf.val(this.$input(),t),this.$inputText().iris("color",t)},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('<div class="acf-ui-datepicker" />')}}(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('<div class="acf-ui-datepicker" />')}}(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),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),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var c=n.autocomplete||{};c=acf.applyFilters("google_map_autocomplete_args",c,this),(o=new google.maps.places.Autocomplete(this.$search()[0],c)).bindTo("bounds",a)}this.addMapEvents(this,a,s,o),a.acf=this,a.marker=s,a.autocomplete=o,this.map=a,acf.doAction("google_map_init",a,s,this);var l=this.getValue();this.renderVal(l)},addMapEvents:function(n,t,e,i){google.maps.event.addListener(t,"click",function(t){var e=t.latLng.lat(),i=t.latLng.lng();n.searchPosition(e,i)}),google.maps.event.addListener(e,"dragend",function(){var t=this.getPosition(),e=t.lat(),i=t.lng();n.searchPosition(e,i)}),i&&google.maps.event.addListener(i,"place_changed",function(){var t=this.getPlace();t.address=n.getSearchVal(),n.setPlace(t)})},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<i.length;n++)if(!i[n].val())return i[n];return!1},n=i(this,e);n||(e.$(".acf-button:last").trigger("click"),n=i(this,e)),n&&n.render(t)},selectAttachment:function(){var i=this.parent(),t=i&&"repeater"===i.get("type"),e=acf.newMediaPopup({mode:"select",type:"image",title:acf.__("Select Image"),field:this.get("key"),multiple:t,library:this.get("library"),allowedTypes:this.get("mime_types"),select:n.proxy(function(t,e){0<e?this.append(t,i):this.render(t)},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:n.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(n.param(t))})}});acf.registerFieldType(t)}(jQuery),function(n,e){var t=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||{}).id!==e&&(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 i=this.parent(),t=i&&"repeater"===i.get("type"),e=acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:t,library:this.get("library"),allowedTypes:this.get("mime_types"),select:n.proxy(function(t,e){0<e?this.append(t,i):this.render(t)},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:n.proxy(function(t,e){this.render(t)},this)})}});acf.registerFieldType(t)}(jQuery),function(n,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:n("#wp-link-text").val(),url:n("#wp-link-url").val(),target:n("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(t){n("#wp-link-text").val(t.title),n("#wp-link-url").val(t.url),n("#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=n('<textarea id="acf-link-textarea" style="display:none;"></textarea>');n("body").append(e);var i=this.getNodeValue();wpLink.open("acf-link-textarea",i.url,i.title,null)},onOpen:function(){n("#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),n("#acf-link-textarea").remove(),this.set("node",null)}})}(jQuery),function(a,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=a.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;(i=this.get("xhr"))&&i.abort(),this.showLoading();var i=a.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,e){var i=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(i)}(jQuery),function(t,e){var i=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(i)}(jQuery),function(o,n){var t=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(o(this).data("id"))}),!!t.length&&t},newChoice:function(t){return["<li>",'<span data-id="'+t.id+'" class="acf-rel-item">'+t.text+"</span>","</li>"].join("")},newValue:function(t){return["<li>",'<input type="hidden" name="'+this.getInputName()+'[]" value="'+t.id+'" />','<span data-id="'+t.id+'" class="acf-rel-item">'+t.text,'<a href="#" class="acf-icon -minus small dark" data-name="remove_item"></a>',"</span>","</li>"].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;n<=i+a&&(this.set("paged",r+1),this.fetch())}});this.$list("choices").scrollTop(0).on("scroll",t),this.fetch()},onHover:function(t){o().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(0<n&&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;(t=this.get("xhr"))&&t.abort();var e=this.getAjaxData(),s=this.$list("choices");1==e.paged&&s.html("");var i=o('<li><i class="acf-loading"></i> '+acf.__("Loading")+"</li>");s.append(i),this.set("loading",!0);var n=function(){this.set("loading",!1),i.remove()},a=function(t){if(!t||!t.results||!t.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("<li>"+acf.__("No matches found")+"</li>"));this.set("more",t.more);var e=this.walkChoices(t.results),i=o(e),n=this.val();n&&n.length&&n.map(function(t){i.find('.acf-rel-item[data-id="'+t+'"]').addClass("disabled")}),s.append(i);var a=!1,r=!1;s.find(".acf-rel-label").each(function(){var t=o(this),e=t.siblings("ul");if(a&&a.text()==t.text())return r.append(e.children()),void o(this).parent().remove();a=t,r=e})},t=o.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(e),context:this,success:a,complete:n});this.set("xhr",t)},walkChoices:function(t){var i=function(t){var e="";return o.isArray(t)?t.map(function(t){e+=i(t)}):o.isPlainObject(t)&&(t.children!==n?(e+='<li><span class="acf-rel-label">'+t.text+'</span><ul class="acf-bl">',e+=i(t.children),e+="</ul></li>"):e+='<li><span class="acf-rel-item" data-id="'+t.id+'">'+t.text+"</span></li>"),e};return i(t)}});acf.registerFieldType(t)}(jQuery),function(t,e){var i=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(i)}(jQuery),function(a,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={});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 n(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,e),t.hiddenByTab=!1},this)},hideFields:function(){this.getFields().map(function(t){t.hide(this.cid,e),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(e)})},disable:function(t){this.getFields().map(function(t){t.disable(e)})}});acf.registerFieldType(i);var r=0,n=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(t){a.extend(this.data,t),this.tabs=[],this.active=!1;var e=this.get("placement"),i=this.get("before"),n=i.parent();"left"==e&&n.hasClass("acf-fields")&&n.addClass("-sidebar"),i.is("tr")?this.$el=a('<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>'):this.$el=a('<div class="acf-tab-wrap -'+e+'"><ul class="acf-hl acf-tab-group"></ul></div>'),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("<li></li>");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(),
|
3 |
-
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('<option value="'+e.term_id+'">'+e.term_label+"</option>"),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(['<li data-id="'+t.term_id+'">',"<label>",'<input type="'+this.get("ftype")+'" value="'+t.term_id+'" name="'+e+'" /> ',"<span>"+t.term_name+"</span>","</label>","</li>"].join(""));if(t.term_parent){var a=i.find('li[data-id="'+t.term_parent+'"]');(i=a.children("ul")).exists()||(i=g('<ul class="children acf-bl"></ul>'),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('<div class="acf-ui-datepicker" />')}}(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'<input type="text" />'}}),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;n<i.length;n++)if(e=a(i[n],t))return e;return!1};var r=!(acf.Field.prototype.getConditions=function(){return this.conditions||(this.conditions=new s(this)),this.conditions}),s=acf.Model.extend({id:"Conditions",data:{field:!1,timeStamp:!1,groups:[]},setup:function(t){var e=(this.data.field=t).get("conditions");e instanceof Array?e[0]instanceof Array?e.map(function(t,e){this.addRules(t,e)},this):this.addRules(e):this.addRule(e)},change:function(t){if(this.get("timeStamp")===t.timeStamp)return!1;this.set("timeStamp",t.timeStamp,!0);var e=this.render()},render:function(){return this.calculate()?this.show():this.hide()},show:function(){return this.get("field").showEnable(this.cid,i)},hide:function(){return this.get("field").hideDisable(this.cid,i)},calculate:function(){var i=!1;return this.getGroups().map(function(t){var e;i||t.filter(function(t){return t.calculate()}).length==t.length&&(i=!0)}),i},hasGroups:function(){return null!=this.data.groups},getGroups:function(){return this.data.groups},addGroup:function(){var t=[];return this.data.groups.push(t),t},hasGroup:function(t){return null!=this.data.groups[t]},getGroup:function(t){return this.data.groups[t]},removeGroup:function(t){return this.data.groups[t].delete,this},addRules:function(t,e){t.map(function(t){this.addRule(t,e)},this)},addRule:function(t,e){var i;e=e||0,i=this.hasGroup(e)?this.getGroup(e):this.addGroup();var n=acf.newCondition(t,this);if(!n)return!1;i.push(n)},hasRule:function(){},getRule:function(t,e){return t=t||0,e=e||0,this.data.groups[e][t]},removeRule:function(){}})}(jQuery),function(n,t){var a=acf.__,r=function(t){return t?""+t:""},s=function(t,e){return r(t).toLowerCase()===r(e).toLowerCase()},i=function(t,e){return parseFloat(t)===parseFloat(e)},o=function(t,e){return parseFloat(t)>parseFloat(e)},c=function(t,e){return parseFloat(t)<parseFloat(e)},l=function(t,e){return-1<(e=e.map(function(t){return r(t)})).indexOf(t)},u=function(t,e){return-1<r(t).indexOf(r(e))},d=function(t,e){var i=new RegExp(r(e),"gi");return r(t).match(i)},f=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:a("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'<input type="text" disabled="" />'}});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'<input type="text" />'}});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'<input type="text" placeholder="[a-z0-9]" />'}});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'<input type="text" />'}});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'<input type="number" />'}});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'<input type="number" />'}});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(['<a href="#" class="acf-expand-details">','<span class="is-closed"><span class="acf-icon -left small grey"></span>'+acf.__("Expand Details")+"</span>",'<span class="is-open"><span class="acf-icon -right small grey"></span>'+acf.__("Collapse Details")+"</span>","</a>"].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("<option></option>").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)},save:function(t){var e={};t&&t.preventDefault(),e=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,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<i.indexOf(e.id)&&this.$el.addClass("acf-selected")}return l.prototype.render.apply(this,arguments)},toggleSelection:function(t){var e=this.collection,i=this.options.selection,n=this.model,a=i.single(),r=this.controller,s=acf.isget(this,"model","attributes","acf_errors"),o=r.$el.find(".media-frame-content .media-sidebar");if(o.children(".acf-selection-error").remove(),o.children().removeClass("acf-hidden"),r&&s){var c=acf.isget(this,"model","attributes","filename");return o.children().addClass("acf-hidden"),o.prepend(['<div class="acf-selection-error">','<span class="selection-error-label">'+acf.__("Restricted")+"</span>",'<span class="selection-error-filename">'+c+"</span>",'<span class="selection-error-message">'+s+"</span>","</div>"].join("")),i.reset(),void i.single(n)}return l.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(h,e){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"},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=h("#page_template");return t.length?t.val():null},getPageParent:function(t,e){var e;return(e=h("#parent_id")).length?e.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostType:function(){return h("#post_type").val()},getPostFormat:function(t,e){var e;if((e=h("#post-formats-select input:checked")).length){var i=e.val();return"0"==i?"standard":i}return null},getPostCoreTerms:function(){var t={},e=acf.serialize(h(".categorydiv, .tagsdiv"));for(var i in e.tax_input&&(t=e.tax_input),e.post_category&&(t.category=e.post_category),t)acf.isArray(t[i])||(t[i]=t[i].split(", "));return t},getPostTerms:function(){var n=this.getPostCoreTerms();for(var t 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[t]=acf.uniqueArray(n[t]);return n},getProductType:function(){var t=h("#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!==(postType=this.getPostType())&&(e.post_type=postType),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){e.exists.push(t.get("key"))}),e=acf.applyFilters("check_screen_args",e);var t=function(t){acf.isAjaxSuccess(t)&&("post"==acf.get("screen")?this.renderPostScreen(t.data):"user"==acf.get("screen")&&this.renderUserScreen(t.data)),acf.doAction("check_screen_complete",t.data,e)};this.xhr=h.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)},renderPostScreen:function(l){var u=[],d=function(t,e){var i=h._data(t[0]).events;for(var n in i)for(var a=0;a<i[n].length;a++)e.on(n,i[n][a].handler)},f=function(t,e){var i=e.indexOf(t);if(-1==i)return!1;for(var n=i-1;0<=n;n--)if(h("#"+e[n]).length)return h("#"+e[n]).after(h("#"+t));for(var n=i+1;n<e.length;n++)if(h("#"+e[n]).length)return h("#"+e[n]).before(h("#"+t));return!1};l.results.map(function(e,t){var i=acf.getPostbox(e.id);if(!i){var n=h(['<div id="'+e.id+'" class="postbox">','<button type="button" class="handlediv" aria-expanded="false">','<span class="screen-reader-text">Toggle panel: '+e.title+"</span>",'<span class="toggle-indicator" aria-hidden="true"></span>',"</button>",'<h2 class="hndle ui-sortable-handle">',"<span>"+e.title+"</span>","</h2>",'<div class="inside">',e.html,"</div>","</div>"].join(""));if(h("#adv-settings").length){var a=h("#adv-settings .metabox-prefs"),r=h(['<label for="'+e.id+'-hide">','<input class="hide-postbox-tog" name="'+e.id+'-hide" type="checkbox" id="'+e.id+'-hide" value="'+e.id+'" checked="checked">'," "+e.title,"</label>"].join(""));d(a.find("input").first(),r.find("input")),a.append(r)}"side"===e.position?h("#"+e.position+"-sortables").append(n):h("#"+e.position+"-sortables").prepend(n);var s=[];if(l.results.map(function(t){e.position===t.position&&h("#"+e.position+"-sortables #"+t.id).length&&s.push(t.id)}),f(e.id,s),l.sorted)for(var o in l.sorted){var s=l.sorted[o].split(",");if(f(e.id,s))break}var c=h("#submitdiv");h("#submitdiv").length&&(d(c.children(".handlediv"),n.children(".handlediv")),d(c.children(".hndle"),n.children(".hndle"))),acf.doAction("append",n),i=acf.newPostbox(e)}i.showEnable(),u.push(e.id)}),acf.getPostboxes().map(function(t){-1===u.indexOf(t.get("id"))&&t.hideDisable()}),h("#acf-style").html(l.style)},renderUserScreen:function(t){}});var t=new acf.Model({wait:"load",initialize:function(){acf.isGutenberg()&&(wp.data.subscribe(this.proxy(this.onChange)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms)},onChange:function(){var e=wp.data.select("core/editor").getPostEdits(),i=["template","parent","format"],t;(wp.data.select("core").getTaxonomies()||[]).map(function(t){i.push(t.rest_base)}),(i=i.filter(this.proxy(function(t){return e[t]&&e[t]!==this.get(t)}))).length&&this.triggerChange(e)},triggerChange:function(t){t!==e&&(this.data=t),acf.screen.check()},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var i={},t;return(wp.data.select("core").getTaxonomies()||[]).map(function(t){var e=wp.data.select("core/editor").getEditedPostAttribute(t.rest_base);e&&(i[t.slug]=e)}),i}})}(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("<option></option>")).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('<input type="hidden" />'),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(
|
4 |
-
'<option value="'+e.id+'">'+e.text+"</option>")),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<e?i.input_too_long_n.replace("%d",e):i.input_too_long_1},inputTooShort:function(t){var e=t.minimum-t.input.length;return 1<e?i.input_too_short_n.replace("%d",e):i.input_too_short_1},loadingMore:function(){return i.load_more},maximumSelected:function(t){var e=t.maximum;return 1<e?i.selection_too_long_n.replace("%d",e):i.selection_too_long_1},noResults:function(){return i.matches_0},searching:function(){return i.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+t,[],function(){return e})},addTranslations3:function(){var n=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var e={formatMatches:function(t){return 1<t?n.matches_n.replace("%d",t):n.matches_1},formatNoMatches:function(){return n.matches_0},formatAjaxError:function(){return n.load_fail},formatInputTooShort:function(t,e){var i=e-t.length;return 1<i?n.input_too_short_n.replace("%d",i):n.input_too_short_1},formatInputTooLong:function(t,e){var i=t.length-e;return 1<i?n.input_too_long_n.replace("%d",i):n.input_too_long_1},formatSelectionTooBig:function(t){return 1<t?n.selection_too_long_n.replace("%d",t):n.selection_too_long_1},formatLoadMore:function(){return n.load_more},formatSearching:function(){return n.searching}};l.fn.select2.locales=l.fn.select2.locales||{},l.fn.select2.locales[t]=e,l.extend(l.fn.select2.defaults,e)}})}(jQuery),function(f,t){acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content};var t},initialize:function(t,e){(e=acf.parseArgs(e,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1})).tinymce&&this.initializeTinymce(t,e),e.quicktags&&this.initializeQuicktags(t,e)},initializeTinymce:function(t,e){var i=f("#"+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=f.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")}),f(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 u=tinymce.init(o),d=tinymce.get(t);if(!d)return!1;d.acf=e.field,acf.doAction("wysiwyg_tinymce_init",d,d.id,o,r)}},initializeQuicktags:function(t,e){var i=this.defaults();if("undefined"==typeof quicktags)return!1;if(!i)return!1;var n=f.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,u=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";for(o in e=t.canvas,i=t.name,n=t.settings,a={},c=r="",l=t.id,n.buttons&&(c=","+n.buttons+","),edButtons)edButtons[o]&&(s=edButtons[o].id,c&&-1!==u.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=f("#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(s,t){var i=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 i=[],n=[];return this.getErrors().map(function(t){if(t.input){var e=n.indexOf(t.input);-1<e?i[e]=t:(i.push(t),n.push(t.input))}}),i},getGlobalErrors:function(){return this.getErrors().filter(function(t){return!t.input})},showErrors:function(){if(this.hasErrors()){var t=this.getFieldErrors(),e=this.getGlobalErrors(),n=0,a=!1;t.map(function(t){var e=this.$('[name="'+t.input+'"]').first();if(e.length||(e=this.$('[name^="'+t.input+'"]').first()),e.length){n++;var i=acf.getClosestField(e);i.showError(t.message),a||(a=i.$el)}},this);var i=acf.__("Validation failed");if(e.map(function(t){i+=". "+t.message}),1==n?i+=". "+acf.__("1 field requires attention"):1<n&&(i+=". "+acf.__("%d fields require attention").replace("%d",n)),this.has("notice"))this.get("notice").update({type:"error",text:i});else{var r=acf.newNotice({type:"error",text:i,target:this.$el});this.set("notice",r)}a||(a=this.get("notice").$el),setTimeout(function(){s("html, body").animate({scrollTop:a.offset().top-s(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=s.Event(null,t.event);t.success=function(){acf.enableSubmit(s(e.target)).trigger(e)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),t.loading(this.$el,this),this.set("status","validating");var i=function(t){if(acf.isAjaxSuccess(t)){var e=acf.applyFilters("validation_complete",t.data,this.$el,this);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),this.showErrors(),t.failure(this.$el,this)):(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,this),acf.doAction("submit",this.$el),t.success(this.$el,this),acf.lockForm(this.$el),t.reset&&this.reset()),t.complete(this.$el,this),this.clearErrors()},a=acf.serialize(this.$el);return a.action="acf/validate_save_post",s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:i,complete:n}),!1},setup:function(t){this.$el=t},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),n=function(t){var e=t.data("acf");return e||(e=new i(t)),e};acf.validateForm=function(t){return n(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=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.hideSpinner(n),acf.disableSubmit(i),acf.showSpinner(n.last()),t},acf.unlockForm=function(t){var e=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(n),t};var a=function(t){var e,e,e,e;return(e=t.find("#submitdiv")).length?e:(e=t.find("#submitpost")).length?e:(e=t.find("p.submit").last()).length?e:(e=t.find(".acf-form-submit")).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){n(t).reset()},addInputEvents:function(t){var e=s(".acf-field [name]",t);e.length&&this.on(e,"invalid","onInvalid")},onInvalid:function(t,e){t.preventDefault();var i=e.closest("form");i.length&&(n(i).addError({input:e.attr("name"),message:t.target.validationMessage}),i.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),s("form#post").off("submit.edit-post")},onClickSubmitGutenberg:function(t,e){var i;acf.validateForm({form:s("#editor"),event:t,reset:!0,failure:function(t,e){var i=e.get("notice").$el;i.appendTo(".components-notice-list"),i.find(".acf-notice-dismiss").removeClass("small")}})||(t.preventDefault(),t.stopImmediatePropagation())},onSubmit:function(t,e){var i;this.active&&(this.get("ignore")?this.set("ignore",!1):acf.validateForm({form:e,event:this.get("originalEvent")})||t.preventDefault())}})}(jQuery),function(l,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")&&(e.html('<td style="padding:0;" colspan="'+e.children().length+'"></td>'),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}0<i&&e.last().css("width","auto"),r.filter(".-collapsed-target").each(function(){var t=l(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;l(".acf-fields:visible").each(function(){t.renderGroup(l(this))})},renderGroup:function(t){var s=0,o=0,c=l(),e=t.children(".acf-field[data-width]:visible");return!!e.length&&(t.hasClass("-left")?(e.removeAttr("data-width"),e.css("width","auto"),!1):(e.removeClass("-r0 -c0").css({"min-height":0}),e.each(function(t){var e=l(this),i=e.position(),n=Math.ceil(i.top),a=Math.ceil(i.left);c.length&&s<n&&(c.css({"min-height":o+"px"}),i=e.position(),n=Math.ceil(i.top),a=Math.ceil(i.left),o=s=0,c=l()),acf.get("rtl")&&(a=Math.ceil(e.parent().width()-(i.left+e.outerWidth()))),0==n?e.addClass("-r0"):0==a&&e.addClass("-c0");var r=Math.ceil(e.outerHeight())+1;o=Math.max(o,r),s=Math.max(s,n),c=c.add(e)}),void(c.length&&c.css({"min-height":o+"px"}))))}})}(jQuery),function(o,a){acf.newCompatibility=function(t,e){return(e=e||{}).__proto__=t.__proto__,t.__proto__=e,t.compatibility=e},acf.getCompatibility=function(t){return t.compatibility||null};var c=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});c._e=function(t,e){t=t||"";var i=(e=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},c.get_selector=function(t){var e=".acf-field";if(!t)return e;if(o.isPlainObject(t)){if(o.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)},c.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)},c.get_field=function(t,e){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},c.get_closest_field=function(t,e){return t.closest(this.get_selector(e))},c.get_field_wrap=function(t){return t.closest(this.get_selector())},c.get_field_key=function(t){return t.data("key")},c.get_field_type=function(t){return t.data("type")},c.get_data=function(t,e){return acf.parseArgs(t.data(),e)},c.maybe_get=function(t,e,i){i===a&&(i=null),keys=String(e).split(".");for(var n=0;n<keys.length;n++){if(!t.hasOwnProperty(keys[n]))return i;t=t[keys[n]]}return t};var e=function(t){return t instanceof acf.Field?t.$el:t},i=function(t){return acf.arrayArgs(t).map(e)},l=function(e){return function(){if(arguments.length)var t=i(arguments);else var t=[o(document)];return e.apply(this,t)}};c.add_action=function(t,e,i,n){var a=t.split(" "),r=a.length;if(1<r){for(var s=0;s<r;s++)t=a[s],c.add_action.apply(this,arguments);return this}var e=l(e);return acf.addAction.apply(this,arguments)},c.add_filter=function(t,e,i,n){var e=l(e);return acf.addFilter.apply(this,arguments)},c.model={actions:{},filters:{},events:{},extend:function(t){var i=o.extend({},this,t);return o.each(i.actions,function(t,e){i._add_action(t,e)}),o.each(i.filters,function(t,e){i._add_filter(t,e)}),o.each(i.events,function(t,e){i._add_event(t,e)}),i},_add_action:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_action(t,i[e],a,i)},_add_filter:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_filter(t,i[e],a,i)},_add_event:function(t,e){var i=this,n=t.indexOf(" "),a=0<n?t.substr(0,n):t,r=0<n?t.substr(n+1):"",s=function(t){t.$el=o(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?o(document).on(a,r,s):o(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}},c.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,n){var a=this,e=t.substr(0,t.indexOf(" ")),i=t.substr(t.indexOf(" ")+1),r=acf.get_selector(a.type);o(document).on(e,r+" "+i,function(t){var e=o(this),i=acf.get_closest_field(e,a.type);i.length&&(i.is(a.$field)||a.set("$field",i),t.$el=e,t.$field=i,a[n].apply(a,[t]))})},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(t){return this.set("$field",t)}});var t=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});c.tooltip={tooltip:function(t,e){var i;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)}})}},c.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){var e;return t.mime_types&&(t.allowedTypes=t.mime_types),t.id&&(t.attachment=t.id),acf.newMediaPopup(t).frame}}),c.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()}},c.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}),c.ajax=acf.screen}(jQuery);
|
1 |
+
!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<n&&t[a]===e[a];a++)i++;return i},c.decode=function(t){return r("<textarea/>").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<a;s++){var o=String(n[s]);s==a-1?"%%index%%"===o?r.push(i):r[o]=i:("%%index%%"===n[s+1]?c.isArray(r[o])||(r[o]=[]):c.isObject(r[o])||(r[o]={}),r=r[o])}};c.serialize=function(t,e){var i={},n=c.serializeArray(t);e!==s&&(n=n.filter(function(t){return 0===t.name.indexOf(e)}).map(function(t){return t.name=t.name.slice(e.length),t}));for(var a=0;a<n.length;a++)o(i,n[a].name,n[a].value);return i},c.serializeArray=function(t){return t.find("select, textarea, input").serializeArray()},c.serializeForAjax=function(t){var e={},i={},n;return c.serializeArray(t).map(function(t){"[]"===t.name.slice(-2)?(e[t.name]=e[t.name]||[],e[t.name].push(t.value)):e[t.name]=t.value}),e},c.addAction=function(t,e,i,n){return c.hooks.addAction.apply(this,arguments),this},c.removeAction=function(t,e){return c.hooks.removeAction.apply(this,arguments),this};var e={};c.doAction=function(t){return e[t]=1,c.hooks.doAction.apply(this,arguments),e[t]=0,this},c.doingAction=function(t){return 1===e[t]},c.didAction=function(t){return e[t]!==s},c.currentAction=function(){for(var t in e)if(e[t])return t;return!1},c.addFilter=function(t){return c.hooks.addFilter.apply(this,arguments),this},c.removeFilter=function(t){return c.hooks.removeFilter.apply(this,arguments),this},c.applyFilters=function(t){return c.hooks.applyFilters.apply(this,arguments)},c.arrayArgs=function(t){return Array.prototype.slice.call(t)};try{var n=JSON.parse(localStorage.getItem("acf"))||{}}catch(t){var n={}}var l=function(t){return"this."===t.substr(0,5)&&(t=t.substr(5)+"-"+c.get("post_id")),t};c.getPreference=function(t){return t=l(t),n[t]||null},c.setPreference=function(t,e){t=l(t),null===e?delete n[t]:n[t]=e,localStorage.setItem("acf",JSON.stringify(n))},c.removePreference=function(t){c.setPreference(t,null)},c.remove=function(t){t instanceof jQuery&&(t={target:t}),t=c.parseArgs(t,{target:!1,endHeight:0,complete:function(){}}),c.doAction("remove",t.target),t.target.is("tr")?d(t):u(t)};var u=function(t){var e=t.target,i=e.height(),n=e.width(),a=e.css("margin"),r=e.outerHeight(!0),s=e.attr("style")+"";e.wrap('<div class="acf-temp-remove" style="height:'+r+'px"></div>');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('<td class="acf-temp-remove" style="padding:0; height:'+i+'px" colspan="'+n+'"></td>');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(' <i class="acf-loading"></i>')},c.stopButtonLoading=function(t){t.prop("disabled",!1),t.next(".acf-loading").remove()},c.showLoading=function(t){t.append('<div class="acf-loading-overlay"><i class="acf-loading"></i></div>')},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<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return!1;t=t[arguments[e]]}return!0},c.isget=function(t){for(var e=1;e<arguments.length;e++){if(!t||!t.hasOwnProperty(arguments[e]))return null;t=t[arguments[e]]}return t},c.getFileInputData=function(t,e){var i=t.val();if(!i)return!1;var n={url:i},a=c.isget(t[0],"files",0);if(a)if(n.size=a.size,n.type=a.type,-1<a.type.indexOf("image")){var r=window.URL||window.webkitURL,s=new Image;s.onload=function(){n.width=this.width,n.height=this.height,e(n)},s.src=r.createObjectURL(a)}else e(n);else e(n)},c.isAjaxSuccess=function(t){return t&&t.success},c.getAjaxMessage=function(t){return c.isget(t,"data","message")},c.getAjaxError=function(t){return c.isget(t,"data","error")},c.renderSelect=function(t,e){var i=t.val(),a=[],r=function(t){var n="";return t.map(function(t){var e=t.text||t.label||"",i=t.id||t.value||"";a.push(i),t.children?n+='<optgroup label="'+c.strEscape(e)+'">'+r(t.children)+"</optgroup>":n+='<option value="'+i+'"'+(t.disabled?' disabled="disabled"':"")+">"+e+"</option>"}),n};return t.html(r(e)),-1<a.indexOf(i)&&t.val(i),t.val()};var p=function(t,e){return t.data("acf-lock-"+e)||[]},g=function(t,e,i){t.data("acf-lock-"+e,i)};c.lock=function(t,e,i){var n=p(t,e),a;n.indexOf(i)<0&&(n.push(i),g(t,e,n))},c.unlock=function(t,e,i){var n=p(t,e),a=n.indexOf(i);return-1<a&&(n.splice(a,1),g(t,e,n)),0===n.length},c.isLocked=function(t,e){return 0<p(t,e).length},c.isGutenberg=function(){return window.wp&&wp.blocks},c.objectToArray=function(e){return Object.keys(e).map(function(t){return e[t]})},r.fn.exists=function(){return 0<r(this).length},r.fn.outerHTML=function(){return r(this).get(0).outerHTML},Array.prototype.indexOf||(Array.prototype.indexOf=function(t){return r.inArray(t,this)}),r(document).ready(function(){c.doAction("ready")}),r(window).on("load",function(){c.doAction("load")}),r(window).on("beforeunload",function(){c.doAction("unload")}),r(window).on("resize",function(){c.doAction("resize")}),r(document).on("sortstart",function(t,e){c.doAction("sortstart",e.item,e.placeholder)}),r(document).on("sortstop",function(t,e){c.doAction("sortstop",e.item,e.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&&c("actions",t,e,i=parseInt(i||10,10),n),d}function i(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e&&u("actions",e,t),d}function n(t,e){return"string"==typeof t&&o("actions",t,e),d}function a(t,e,i,n){return"string"==typeof t&&"function"==typeof e&&c("filters",t,e,i=parseInt(i||10,10),n),d}function r(){var t=Array.prototype.slice.call(arguments),e=t.shift();return"string"==typeof e?u("filters",e,t):d}function s(t,e){return"string"==typeof t&&o("filters",t,e),d}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?(s.push(r),l(s)):[r],f[t][e]=s}function l(t){for(var e,i,n,a=1,r=t.length;a<r;a++){for(e=t[a],i=a;(n=t[i-1])&&n.priority>e.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<r;a++)i[0]=n[a].callback.apply(n[a].context,i);else for(;a<r;a++)n[a].callback.apply(n[a].context,i);return"filters"!==t||i[0]}var d={removeFilter:s,applyFilters:r,addFilter:a,removeAction:n,doAction:i,addAction:e,storage:t},f={actions:{},filters:{}};return d};acf.hooks=new i}(window),function(r,t){var n=/^(\S+)\s*(.*)$/,e=function(t){var e=this,i;return i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},r.extend(i,e),i.prototype=Object.create(e.prototype),r.extend(i.prototype,t),i.prototype.constructor=i},i=acf.Model=function(){this.cid=acf.uniqueId("acf"),this.data=r.extend(!0,{},this.data),this.setup.apply(this,arguments),this.$el&&!this.$el.data("acf")&&this.$el.data("acf",this);var t=function(){this.initialize(),this.addEvents(),this.addActions(),this.addFilters()};this.wait&&!acf.didAction(this.wait)?this.addAction(this.wait,t):t.apply(this)};r.extend(i.prototype,{id:"",cid:"",$el:null,data:{},busy:!1,changed:!1,events:{},actions:{},filters:{},eventScope:"",wait:!1,priority:10,get:function(t){return this.data[t]},has:function(t){return null!=this.get(t)},set:function(t,e,i){var n=this.get(t);return n==e||(this.data[t]=e,i||(this.changed=!0,this.trigger("changed:"+t,[e,n]),this.trigger("changed",[t,e,n]))),this},inherit:function(t){return t instanceof jQuery&&(t=t.data()),r.extend(this.data,t),this},prop:function(){return this.$el.prop.apply(this.$el,arguments)},setup:function(t){r.extend(this,t)},initialize:function(){},addElements:function(t){if(!(t=t||this.elements||null)||!Object.keys(t).length)return!1;for(var e in t)this.addElement(e,t[e])},addElement:function(t,e){this["$"+t]=this.$(e)},addEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var i=e.match(n);this.on(i[1],i[2],t[e])}},removeEvents:function(t){if(!(t=t||this.events||null))return!1;for(var e in t){var i=e.match(n);this.off(i[1],i[2],t[e])}},getEventTarget:function(t,e){return t||this.$el||r(document)},validateEvent:function(t){return!this.eventScope||r(t.target).closest(this.eventScope).is(this.$el)},proxyEvent:function(a){return this.proxy(function(t){if(this.validateEvent(t)){var e,i=acf.arrayArgs(arguments).slice(1),n=[t,r(t.currentTarget)].concat(i);a.apply(this,n)}})},on:function(t,e,i,n){var a,r,s,o,c;o=t instanceof jQuery?n?(a=t,r=e,s=i,n):(a=t,r=e,i):i?(r=t,s=e,i):(r=t,e),a=this.getEventTarget(a),"string"==typeof o&&(o=this.proxyEvent(this[o])),r=r+"."+this.cid,c=s?[r,s,o]:[r,o],a.on.apply(a,c)},off:function(t,e,i){var n,a,r,s;t instanceof jQuery?i?(n=t,a=e,r=i):(n=t,a=e):e?(a=t,r=e):a=t,n=this.getEventTarget(n),a=a+"."+this.cid,s=r?[a,r]:[a],n.off.apply(n,s)},trigger:function(t,e,i){var n=this.getEventTarget();return i?n.trigger.apply(n,arguments):n.triggerHandler.apply(n,arguments),this},addActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.addAction(e,t[e])},removeActions:function(t){if(!(t=t||this.actions||null))return!1;for(var e in t)this.removeAction(e,t[e])},addAction:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addAction(t,e,i,this)},removeAction:function(t,e){acf.removeAction(t,this[e])},addFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.addFilter(e,t[e])},addFilter:function(t,e,i){i=i||this.priority,"string"==typeof e&&(e=this[e]),acf.addFilter(t,e,i,this)},removeFilters:function(t){if(!(t=t||this.filters||null))return!1;for(var e in t)this.removeFilter(e,t[e])},removeFilter:function(t,e){acf.removeFilter(t,this[e])},$:function(t){return this.$el.find(t)},remove:function(){this.removeEvents(),this.removeActions(),this.removeFilters(),this.$el.remove()},setTimeout:function(t,e){return setTimeout(this.proxy(t),e)},time:function(){console.time(this.id||this.cid)},timeEnd:function(){console.timeEnd(this.id||this.cid)},show:function(){acf.show(this.$el)},hide:function(){acf.hide(this.$el)},proxy:function(t){return r.proxy(t,this)}}),i.extend=e,acf.models={},acf.getInstance=function(t){return t.data("acf")},acf.getInstances=function(t){var e=[];return t.each(function(){e.push(acf.getInstance(r(this)))}),e}}(jQuery),function(e,t){acf.models.Popup=acf.Model.extend({data:{title:"",content:"",width:0,height:0,loading:!1},events:{'click [data-event="close"]':"onClickClose","click .acf-close-popup":"onClickClose"},setup:function(t){e.extend(this.data,t),this.$el=e(this.tmpl())},initialize:function(){this.render(),this.open()},tmpl:function(){return['<div id="acf-popup">','<div class="acf-popup-box acf-box">','<div class="title"><h3></h3><a href="#" class="acf-icon -cancel grey" data-event="close"></a></div>','<div class="inner"></div>','<div class="loading"><i class="acf-loading"></i></div>',"</div>",'<div class="bg" data-event="close"></div>',"</div>"].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",validation_success:"stopListening"},events:{"change form .acf-field":"startListening","submit form":"stopListening"},enable:function(){this.active=!0},disable:function(){this.active=!1},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'<div class="acf-notice"></div>'},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("<p>"+this.get("text")+"</p>"),this.get("dismiss")&&(this.$el.append('<a href="#" class="acf-notice-dismiss acf-icon -cancel small"></a>'),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(){return acf.getInstances(e(".acf-postbox"))},acf.newPostbox=function(t){return new acf.models.Postbox(t)},acf.models.Postbox=acf.Model.extend({data:{id:"",key:"",style:"default",label:"top",edit:""},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"))},$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.$el.hasClass("acf-hidden")},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('<a href="'+e+'" class="dashicons dashicons-admin-generic acf-hndle-cog acf-js-tooltip" title="'+acf.__("Edit field group")+'"></a>'),this.show()},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),acf.doAction("append",this.$el)}})}(jQuery),function(f,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'<div class="acf-tooltip"></div>'},setup:function(t){f.extend(this.data,t),this.$el=f(this.tmpl())},initialize:function(){this.render(),this.show(),this.position();var t=this.get("timeout");t&&setTimeout(f.proxy(this.fade,this),t)},update:function(t){f.extend(this.data,t),this.initialize()},render:function(){this.html(this.get("text"))},show:function(){f("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").css({top:0,left:0});var i=10,n=e.outerWidth(),a=e.outerHeight(),r=e.offset().top,s=e.offset().left,o=t.outerWidth(),c=t.outerHeight(),l=t.offset().top,u=r-c-l,d=s+n/2-o/2;d<10?(t.addClass("right"),d=s+n,u=r+a/2-c/2-l):d+o+10>f(window).width()?(t.addClass("left"),d=s-o,u=r+a/2-c/2-l):u-f(window).scrollTop()<10?(t.addClass("bottom"),u=r+a-l):t.addClass("top"),t.css({top:u,left:d})}}}),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=f(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=f(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?"),'<a href="#" data-event="confirm">'+(this.get("textConfirm")||acf.__("Yes"))+"</a>",'<a href="#" data-event="cancel">'+(this.get("textCancel")||acf.__("No"))+"</a>"].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.indexOf(e)&&i.trigger(s,a)};acf.addAction(r,t)},i,a=["valid","invalid","enable","disable","new"],o=["remove","sortstart","sortstop","show","hide","unload","valid","invalid","enable","disable"];["prepare","ready","load","append","remove","sortstart","sortstop","show","hide","unload"].map(e),a.map(s);var r=new acf.Model({id:"fieldsEventManager",events:{'click .acf-field a[href="#"]':"onClick","change .acf-field":"onChange"},onClick:function(t){t.preventDefault()},onChange:function(){n("#_acf_changed").val(1)}})}(jQuery),function(f,h){var p=0,t=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,e=this.$labelWrap(),i=this.$inputWrap(),n=this.$control(),a=i.children(".description");if(a.length&&e.append(a),this.$el.is("tr")){var r=this.$el.closest("table"),s=f('<div class="acf-accordion-title"/>'),o=f('<div class="acf-accordion-content"/>'),c=f('<table class="'+r.attr("class")+'"/>'),l=f("<tbody/>");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(g.iconHtml({open:this.get("open")}));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 g=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)
|
2 |
+
},iconHtml:function(t){var e;return'<i class="acf-accordion-icon dashicons dashicons-'+(t.open?"arrow-down":"arrow-right")+'"></i>'},open:function(t){t.find(".acf-accordion-content:first").slideDown().css("display","block"),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!0})),t.addClass("-open"),acf.doAction("show",t),t.attr("multi-expand")||t.siblings(".acf-accordion.-open").each(function(){g.close(f(this))})},close:function(t){t.find(".acf-accordion-content:first").slideUp(),t.find(".acf-accordion-icon:first").replaceWith(this.iconHtml({open:!1})),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='<li><input class="acf-checkbox-custom" type="checkbox" checked="checked" /><input type="text" name="'+this.getInputName()+'[]" /></li>';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"]')},setValue:function(t){acf.val(this.$input(),t),this.$inputText().iris("color",t)},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('<div class="acf-ui-datepicker" />')}}(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('<div class="acf-ui-datepicker" />')}}(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);var i=this.newLatLng(t.lat,t.lng);acf.doAction("google_map_change",i,this.map,this)},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),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),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),o=!1;if(acf.isset(google,"maps","places","Autocomplete")){var c=n.autocomplete||{};c=acf.applyFilters("google_map_autocomplete_args",c,this),(o=new google.maps.places.Autocomplete(this.$search()[0],c)).bindTo("bounds",a)}this.addMapEvents(this,a,s,o),a.acf=this,a.marker=s,a.autocomplete=o,this.map=a,acf.doAction("google_map_init",a,s,this);var l=this.getValue();this.renderVal(l)},addMapEvents:function(n,t,e,i){google.maps.event.addListener(t,"click",function(t){var e=t.latLng.lat(),i=t.latLng.lng();n.searchPosition(e,i)}),google.maps.event.addListener(e,"dragend",function(){var t=this.getPosition(),e=t.lat(),i=t.lng();n.searchPosition(e,i)}),i&&google.maps.event.addListener(i,"place_changed",function(){var t=this.getPlace();t.address=n.getSearchVal(),n.setPlace(t)})},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<i.length;n++)if(!i[n].val())return i[n];return!1},n=i(this,e);n||(e.$(".acf-button:last").trigger("click"),n=i(this,e)),n&&n.render(t)},selectAttachment:function(){var i=this.parent(),t=i&&"repeater"===i.get("type"),e=acf.newMediaPopup({mode:"select",type:"image",title:acf.__("Select Image"),field:this.get("key"),multiple:t,library:this.get("library"),allowedTypes:this.get("mime_types"),select:n.proxy(function(t,e){0<e?this.append(t,i):this.render(t)},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:n.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(n.param(t))})}});acf.registerFieldType(t)}(jQuery),function(n,e){var t=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||{}).id!==e&&(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 i=this.parent(),t=i&&"repeater"===i.get("type"),e=acf.newMediaPopup({mode:"select",title:acf.__("Select File"),field:this.get("key"),multiple:t,library:this.get("library"),allowedTypes:this.get("mime_types"),select:n.proxy(function(t,e){0<e?this.append(t,i):this.render(t)},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:n.proxy(function(t,e){this.render(t)},this)})}});acf.registerFieldType(t)}(jQuery),function(n,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:n("#wp-link-text").val(),url:n("#wp-link-url").val(),target:n("#wp-link-target").prop("checked")?"_blank":""}},setInputValue:function(t){n("#wp-link-text").val(t.title),n("#wp-link-url").val(t.url),n("#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=n('<textarea id="acf-link-textarea" style="display:none;"></textarea>');n("body").append(e);var i=this.getNodeValue();wpLink.open("acf-link-textarea",i.url,i.title,null)},onOpen:function(){n("#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),n("#acf-link-textarea").remove(),this.set("node",null)}})}(jQuery),function(a,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=a.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;(i=this.get("xhr"))&&i.abort(),this.showLoading();var i=a.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,e){var i=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(i)}(jQuery),function(t,e){var i=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(i)}(jQuery),function(o,n){var t=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(o(this).data("id"))}),!!t.length&&t},newChoice:function(t){return["<li>",'<span data-id="'+t.id+'" class="acf-rel-item">'+t.text+"</span>","</li>"].join("")},newValue:function(t){return["<li>",'<input type="hidden" name="'+this.getInputName()+'[]" value="'+t.id+'" />','<span data-id="'+t.id+'" class="acf-rel-item">'+t.text,'<a href="#" class="acf-icon -minus small dark" data-name="remove_item"></a>',"</span>","</li>"].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;n<=i+a&&(this.set("paged",r+1),this.fetch())}});this.$list("choices").scrollTop(0).on("scroll",t),this.fetch()},onHover:function(t){o().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(0<n&&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;(t=this.get("xhr"))&&t.abort();var e=this.getAjaxData(),s=this.$list("choices");1==e.paged&&s.html("");var i=o('<li><i class="acf-loading"></i> '+acf.__("Loading")+"</li>");s.append(i),this.set("loading",!0);var n=function(){this.set("loading",!1),i.remove()},a=function(t){if(!t||!t.results||!t.results.length)return this.set("more",!1),void(1==this.get("paged")&&this.$list("choices").append("<li>"+acf.__("No matches found")+"</li>"));this.set("more",t.more);var e=this.walkChoices(t.results),i=o(e),n=this.val();n&&n.length&&n.map(function(t){i.find('.acf-rel-item[data-id="'+t+'"]').addClass("disabled")}),s.append(i);var a=!1,r=!1;s.find(".acf-rel-label").each(function(){var t=o(this),e=t.siblings("ul");if(a&&a.text()==t.text())return r.append(e.children()),void o(this).parent().remove();a=t,r=e})},t=o.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:acf.prepareForAjax(e),context:this,success:a,complete:n});this.set("xhr",t)},walkChoices:function(t){var i=function(t){var e="";return o.isArray(t)?t.map(function(t){e+=i(t)}):o.isPlainObject(t)&&(t.children!==n?(e+='<li><span class="acf-rel-label">'+t.text+'</span><ul class="acf-bl">',e+=i(t.children),e+="</ul></li>"):e+='<li><span class="acf-rel-item" data-id="'+t.id+'">'+t.text+"</span></li>"),e};return i(t)}});acf.registerFieldType(t)}(jQuery),function(t,e){var i=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(i)}(jQuery),function(a,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={});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 n(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,e),t.hiddenByTab=!1},this)},hideFields:function(){this.getFields().map(function(t){t.hide(this.cid,e),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(e)})},disable:function(t){this.getFields().map(function(t){t.disable(e)})}});acf.registerFieldType(i);var r=0,n=acf.Model.extend({tabs:[],active:!1,actions:{refresh:"onRefresh"},data:{before:!1,placement:"top",index:0,initialized:!1},setup:function(t){a.extend(this.data,t),this.tabs=[],this.active=!1;var e=this.get("placement"),i=this.get("before"),n=i.parent();"left"==e&&n.hasClass("acf-fields")&&n.addClass("-sidebar"),i.is("tr")?this.$el=a('<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>'):this.$el=a('<div class="acf-tab-wrap -'+e+'"><ul class="acf-hl acf-tab-group"></ul></div>'),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("<li></li>");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),
|
3 |
+
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('<option value="'+e.term_id+'">'+e.term_label+"</option>"),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(['<li data-id="'+t.term_id+'">',"<label>",'<input type="'+this.get("ftype")+'" value="'+t.term_id+'" name="'+e+'" /> ',"<span>"+t.term_name+"</span>","</label>","</li>"].join(""));if(t.term_parent){var a=i.find('li[data-id="'+t.term_parent+'"]');(i=a.children("ul")).exists()||(i=g('<ul class="children acf-bl"></ul>'),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('<div class="acf-ui-datepicker" />')}}(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'<input type="text" />'}}),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;n<i.length;n++)if(e=a(i[n],t))return e;return!1};var r=!(acf.Field.prototype.getConditions=function(){return this.conditions||(this.conditions=new s(this)),this.conditions}),s=acf.Model.extend({id:"Conditions",data:{field:!1,timeStamp:!1,groups:[]},setup:function(t){var e=(this.data.field=t).get("conditions");e instanceof Array?e[0]instanceof Array?e.map(function(t,e){this.addRules(t,e)},this):this.addRules(e):this.addRule(e)},change:function(t){if(this.get("timeStamp")===t.timeStamp)return!1;this.set("timeStamp",t.timeStamp,!0);var e=this.render()},render:function(){return this.calculate()?this.show():this.hide()},show:function(){return this.get("field").showEnable(this.cid,i)},hide:function(){return this.get("field").hideDisable(this.cid,i)},calculate:function(){var i=!1;return this.getGroups().map(function(t){var e;i||t.filter(function(t){return t.calculate()}).length==t.length&&(i=!0)}),i},hasGroups:function(){return null!=this.data.groups},getGroups:function(){return this.data.groups},addGroup:function(){var t=[];return this.data.groups.push(t),t},hasGroup:function(t){return null!=this.data.groups[t]},getGroup:function(t){return this.data.groups[t]},removeGroup:function(t){return this.data.groups[t].delete,this},addRules:function(t,e){t.map(function(t){this.addRule(t,e)},this)},addRule:function(t,e){var i;e=e||0,i=this.hasGroup(e)?this.getGroup(e):this.addGroup();var n=acf.newCondition(t,this);if(!n)return!1;i.push(n)},hasRule:function(){},getRule:function(t,e){return t=t||0,e=e||0,this.data.groups[e][t]},removeRule:function(){}})}(jQuery),function(n,t){var a=acf.__,r=function(t){return t?""+t:""},s=function(t,e){return r(t).toLowerCase()===r(e).toLowerCase()},i=function(t,e){return parseFloat(t)===parseFloat(e)},o=function(t,e){return parseFloat(t)>parseFloat(e)},c=function(t,e){return parseFloat(t)<parseFloat(e)},l=function(t,e){return-1<(e=e.map(function(t){return r(t)})).indexOf(t)},u=function(t,e){return-1<r(t).indexOf(r(e))},d=function(t,e){var i=new RegExp(r(e),"gi");return r(t).match(i)},f=acf.Condition.extend({type:"hasValue",operator:"!=empty",label:a("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'<input type="text" disabled="" />'}});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'<input type="text" />'}});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'<input type="text" placeholder="[a-z0-9]" />'}});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'<input type="text" />'}});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'<input type="number" />'}});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'<input type="number" />'}});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(['<a href="#" class="acf-expand-details">','<span class="is-closed"><span class="acf-icon -left small grey"></span>'+acf.__("Expand Details")+"</span>",'<span class="is-open"><span class="acf-icon -right small grey"></span>'+acf.__("Collapse Details")+"</span>","</a>"].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("<option></option>").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)},save:function(t){var e={};t&&t.preventDefault(),e=acf.serializeForAjax(this.$el),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,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<i.indexOf(e.id)&&this.$el.addClass("acf-selected")}return l.prototype.render.apply(this,arguments)},toggleSelection:function(t){var e=this.collection,i=this.options.selection,n=this.model,a=i.single(),r=this.controller,s=acf.isget(this,"model","attributes","acf_errors"),o=r.$el.find(".media-frame-content .media-sidebar");if(o.children(".acf-selection-error").remove(),o.children().removeClass("acf-hidden"),r&&s){var c=acf.isget(this,"model","attributes","filename");return o.children().addClass("acf-hidden"),o.prepend(['<div class="acf-selection-error">','<span class="selection-error-label">'+acf.__("Restricted")+"</span>",'<span class="selection-error-filename">'+c+"</span>",'<span class="selection-error-message">'+s+"</span>","</div>"].join("")),i.reset(),void i.single(n)}return l.prototype.toggleSelection.apply(this,arguments)}})}}})}(jQuery),function(h,n){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"},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=h("#page_template");return t.length?t.val():null},getPageParent:function(t,e){var e;return(e=h("#parent_id")).length?e.val():null},getPageType:function(t,e){return this.getPageParent()?"child":"parent"},getPostType:function(){return h("#post_type").val()},getPostFormat:function(t,e){var e;if((e=h("#post-formats-select input:checked")).length){var i=e.val();return"0"==i?"standard":i}return null},getPostCoreTerms:function(){var t={},e=acf.serialize(h(".categorydiv, .tagsdiv"));for(var i in e.tax_input&&(t=e.tax_input),e.post_category&&(t.category=e.post_category),t)acf.isArray(t[i])||(t[i]=t[i].split(", "));return t},getPostTerms:function(){var n=this.getPostCoreTerms();for(var t 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[t]=acf.uniqueArray(n[t]);return n},getProductType:function(){var t=h("#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!==(postType=this.getPostType())&&(e.post_type=postType),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){e.exists.push(t.get("key"))}),e=acf.applyFilters("check_screen_args",e);var t=function(t){acf.isAjaxSuccess(t)&&("post"==acf.get("screen")?this.renderPostScreen(t.data):"user"==acf.get("screen")&&this.renderUserScreen(t.data)),acf.doAction("check_screen_complete",t.data,e)};this.xhr=h.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)},renderPostScreen:function(l){var u=[],d=function(t,e){var i=h._data(t[0]).events;for(var n in i)for(var a=0;a<i[n].length;a++)e.on(n,i[n][a].handler)},f=function(t,e){var i=e.indexOf(t);if(-1==i)return!1;for(var n=i-1;0<=n;n--)if(h("#"+e[n]).length)return h("#"+e[n]).after(h("#"+t));for(var n=i+1;n<e.length;n++)if(h("#"+e[n]).length)return h("#"+e[n]).before(h("#"+t));return!1};l.results.map(function(e,t){var i=acf.getPostbox(e.id);if(!i){var n=h(['<div id="'+e.id+'" class="postbox">','<button type="button" class="handlediv" aria-expanded="false">','<span class="screen-reader-text">Toggle panel: '+e.title+"</span>",'<span class="toggle-indicator" aria-hidden="true"></span>',"</button>",'<h2 class="hndle ui-sortable-handle">',"<span>"+e.title+"</span>","</h2>",'<div class="inside">',e.html,"</div>","</div>"].join(""));if(h("#adv-settings").length){var a=h("#adv-settings .metabox-prefs"),r=h(['<label for="'+e.id+'-hide">','<input class="hide-postbox-tog" name="'+e.id+'-hide" type="checkbox" id="'+e.id+'-hide" value="'+e.id+'" checked="checked">'," "+e.title,"</label>"].join(""));d(a.find("input").first(),r.find("input")),a.append(r)}"side"===e.position?h("#"+e.position+"-sortables").append(n):h("#"+e.position+"-sortables").prepend(n);var s=[];if(l.results.map(function(t){e.position===t.position&&h("#"+e.position+"-sortables #"+t.id).length&&s.push(t.id)}),f(e.id,s),l.sorted)for(var o in l.sorted){var s=l.sorted[o].split(",");if(f(e.id,s))break}var c=h("#submitdiv");h("#submitdiv").length&&(d(c.children(".handlediv"),n.children(".handlediv")),d(c.children(".hndle"),n.children(".hndle"))),i=acf.newPostbox(e),acf.doAction("append",n)}i.showEnable(),u.push(e.id)}),acf.getPostboxes().map(function(t){-1===u.indexOf(t.get("id"))&&t.hideDisable()}),h("#acf-style").html(l.style)},renderUserScreen:function(t){}});var t=new acf.Model({wait:"load",initialize:function(){acf.isGutenberg()&&(wp.data.subscribe(this.proxy(this.onChange)),acf.screen.getPageTemplate=this.getPageTemplate,acf.screen.getPageParent=this.getPageParent,acf.screen.getPostType=this.getPostType,acf.screen.getPostFormat=this.getPostFormat,acf.screen.getPostCoreTerms=this.getPostCoreTerms)},onChange:function(){var e=wp.data.select("core/editor").getPostEdits(),i=["template","parent","format"],t;(wp.data.select("core").getTaxonomies()||[]).map(function(t){i.push(t.rest_base)}),(i=i.filter(this.proxy(function(t){return e[t]!==n&&e[t]!==this.get(t)}))).length&&this.triggerChange(e)},triggerChange:function(t){t!==n&&(this.data=t),acf.screen.check()},getPageTemplate:function(){return wp.data.select("core/editor").getEditedPostAttribute("template")},getPageParent:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("parent")},getPostType:function(){return wp.data.select("core/editor").getEditedPostAttribute("type")},getPostFormat:function(t,e){return wp.data.select("core/editor").getEditedPostAttribute("format")},getPostCoreTerms:function(){var i={},t;return(wp.data.select("core").getTaxonomies()||[]).map(function(t){var e=wp.data.select("core/editor").getEditedPostAttribute(t.rest_base);e&&(i[t.slug]=e)}),i}})}(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("<option></option>")).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('<input type="hidden" />'),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)
|
4 |
+
;i.length||(i=l('<option value="'+e.id+'">'+e.text+"</option>")),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<e?i.input_too_long_n.replace("%d",e):i.input_too_long_1},inputTooShort:function(t){var e=t.minimum-t.input.length;return 1<e?i.input_too_short_n.replace("%d",e):i.input_too_short_1},loadingMore:function(){return i.load_more},maximumSelected:function(t){var e=t.maximum;return 1<e?i.selection_too_long_n.replace("%d",e):i.selection_too_long_1},noResults:function(){return i.matches_0},searching:function(){return i.searching}};jQuery.fn.select2.amd.define("select2/i18n/"+t,[],function(){return e})},addTranslations3:function(){var n=acf.get("select2L10n"),t=acf.get("locale");t=t.replace("_","-");var e={formatMatches:function(t){return 1<t?n.matches_n.replace("%d",t):n.matches_1},formatNoMatches:function(){return n.matches_0},formatAjaxError:function(){return n.load_fail},formatInputTooShort:function(t,e){var i=e-t.length;return 1<i?n.input_too_short_n.replace("%d",i):n.input_too_short_1},formatInputTooLong:function(t,e){var i=t.length-e;return 1<i?n.input_too_long_n.replace("%d",i):n.input_too_long_1},formatSelectionTooBig:function(t){return 1<t?n.selection_too_long_n.replace("%d",t):n.selection_too_long_1},formatLoadMore:function(){return n.load_more},formatSearching:function(){return n.searching}};l.fn.select2.locales=l.fn.select2.locales||{},l.fn.select2.locales[t]=e,l.extend(l.fn.select2.defaults,e)}})}(jQuery),function(f,t){acf.tinymce={defaults:function(){return"undefined"!=typeof tinyMCEPreInit&&{tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content};var t},initialize:function(t,e){(e=acf.parseArgs(e,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual",field:!1})).tinymce&&this.initializeTinymce(t,e),e.quicktags&&this.initializeQuicktags(t,e)},initializeTinymce:function(t,e){var i=f("#"+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=f.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")}),f(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 u=tinymce.init(o),d=tinymce.get(t);if(!d)return!1;d.acf=e.field,acf.doAction("wysiwyg_tinymce_init",d,d.id,o,r)}},initializeQuicktags:function(t,e){var i=this.defaults();if("undefined"==typeof quicktags)return!1;if(!i)return!1;var n=f.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,u=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";for(o in e=t.canvas,i=t.name,n=t.settings,a={},c=r="",l=t.id,n.buttons&&(c=","+n.buttons+","),edButtons)edButtons[o]&&(s=edButtons[o].id,c&&-1!==u.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=f("#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(s,t){var i=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 i=[],n=[];return this.getErrors().map(function(t){if(t.input){var e=n.indexOf(t.input);-1<e?i[e]=t:(i.push(t),n.push(t.input))}}),i},getGlobalErrors:function(){return this.getErrors().filter(function(t){return!t.input})},showErrors:function(){if(this.hasErrors()){var t=this.getFieldErrors(),e=this.getGlobalErrors(),n=0,a=!1;t.map(function(t){var e=this.$('[name="'+t.input+'"]').first();if(e.length||(e=this.$('[name^="'+t.input+'"]').first()),e.length){n++;var i=acf.getClosestField(e);i.showError(t.message),a||(a=i.$el)}},this);var i=acf.__("Validation failed");if(e.map(function(t){i+=". "+t.message}),1==n?i+=". "+acf.__("1 field requires attention"):1<n&&(i+=". "+acf.__("%d fields require attention").replace("%d",n)),this.has("notice"))this.get("notice").update({type:"error",text:i});else{var r=acf.newNotice({type:"error",text:i,target:this.$el});this.set("notice",r)}a||(a=this.get("notice").$el),setTimeout(function(){s("html, body").animate({scrollTop:a.offset().top-s(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=s.Event(null,t.event);t.success=function(){acf.enableSubmit(s(e.target)).trigger(e)}}acf.doAction("validation_begin",this.$el),acf.lockForm(this.$el),t.loading(this.$el,this),this.set("status","validating");var i=function(t){if(acf.isAjaxSuccess(t)){var e=acf.applyFilters("validation_complete",t.data,this.$el,this);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),this.showErrors(),t.failure(this.$el,this)):(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,this),acf.doAction("submit",this.$el),t.success(this.$el,this),acf.lockForm(this.$el),t.reset&&this.reset()),t.complete(this.$el,this),this.clearErrors()},a=acf.serialize(this.$el);return a.action="acf/validate_save_post",s.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:i,complete:n}),!1},setup:function(t){this.$el=t},reset:function(){this.set("errors",[]),this.set("notice",null),this.set("status",""),acf.unlockForm(this.$el)}}),n=function(t){var e=t.data("acf");return e||(e=new i(t)),e};acf.validateForm=function(t){return n(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=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.hideSpinner(n),acf.disableSubmit(i),acf.showSpinner(n.last()),t},acf.unlockForm=function(t){var e=a(t),i=e.find('.button, [type="submit"]'),n=e.find(".spinner, .acf-spinner");return acf.enableSubmit(i),acf.hideSpinner(n),t};var a=function(t){var e,e,e,e;return(e=t.find("#submitdiv")).length?e:(e=t.find("#submitpost")).length?e:(e=t.find("p.submit").last()).length?e:(e=t.find(".acf-form-submit")).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){n(t).reset()},addInputEvents:function(t){var e=s(".acf-field [name]",t);e.length&&this.on(e,"invalid","onInvalid")},onInvalid:function(t,e){t.preventDefault();var i=e.closest("form");i.length&&(n(i).addError({input:e.attr("name"),message:t.target.validationMessage}),i.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),s("form#post").off("submit.edit-post")},onClickSubmitGutenberg:function(t,e){var i;acf.validateForm({form:s("#editor"),event:t,reset:!0,failure:function(t,e){var i=e.get("notice").$el;i.appendTo(".components-notice-list"),i.find(".acf-notice-dismiss").removeClass("small")}})||(t.preventDefault(),t.stopImmediatePropagation())},onSubmit:function(t,e){var i;this.active&&(this.get("ignore")?this.set("ignore",!1):acf.validateForm({form:e,event:this.get("originalEvent")})||t.preventDefault())}})}(jQuery),function(l,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")&&(e.html('<td style="padding:0;" colspan="'+e.children().length+'"></td>'),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}0<i&&e.last().css("width","auto"),r.filter(".-collapsed-target").each(function(){var t=l(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;l(".acf-fields:visible").each(function(){t.renderGroup(l(this))})},renderGroup:function(t){var s=0,o=0,c=l(),e=t.children(".acf-field[data-width]:visible");return!!e.length&&(t.hasClass("-left")?(e.removeAttr("data-width"),e.css("width","auto"),!1):(e.removeClass("-r0 -c0").css({"min-height":0}),e.each(function(t){var e=l(this),i=e.position(),n=Math.ceil(i.top),a=Math.ceil(i.left);c.length&&s<n&&(c.css({"min-height":o+"px"}),i=e.position(),n=Math.ceil(i.top),a=Math.ceil(i.left),o=s=0,c=l()),acf.get("rtl")&&(a=Math.ceil(e.parent().width()-(i.left+e.outerWidth()))),0==n?e.addClass("-r0"):0==a&&e.addClass("-c0");var r=Math.ceil(e.outerHeight())+1;o=Math.max(o,r),s=Math.max(s,n),c=c.add(e)}),void(c.length&&c.css({"min-height":o+"px"}))))}})}(jQuery),function(o,a){acf.newCompatibility=function(t,e){return(e=e||{}).__proto__=t.__proto__,t.__proto__=e,t.compatibility=e},acf.getCompatibility=function(t){return t.compatibility||null};var c=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});c._e=function(t,e){t=t||"";var i=(e=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},c.get_selector=function(t){var e=".acf-field";if(!t)return e;if(o.isPlainObject(t)){if(o.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)},c.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)},c.get_field=function(t,e){var i=this.get_fields.apply(this,arguments);return!!i.length&&i.first()},c.get_closest_field=function(t,e){return t.closest(this.get_selector(e))},c.get_field_wrap=function(t){return t.closest(this.get_selector())},c.get_field_key=function(t){return t.data("key")},c.get_field_type=function(t){return t.data("type")},c.get_data=function(t,e){return acf.parseArgs(t.data(),e)},c.maybe_get=function(t,e,i){i===a&&(i=null),keys=String(e).split(".");for(var n=0;n<keys.length;n++){if(!t.hasOwnProperty(keys[n]))return i;t=t[keys[n]]}return t};var e=function(t){return t instanceof acf.Field?t.$el:t},i=function(t){return acf.arrayArgs(t).map(e)},l=function(e){return function(){if(arguments.length)var t=i(arguments);else var t=[o(document)];return e.apply(this,t)}};c.add_action=function(t,e,i,n){var a=t.split(" "),r=a.length;if(1<r){for(var s=0;s<r;s++)t=a[s],c.add_action.apply(this,arguments);return this}var e=l(e);return acf.addAction.apply(this,arguments)},c.add_filter=function(t,e,i,n){var e=l(e);return acf.addFilter.apply(this,arguments)},c.model={actions:{},filters:{},events:{},extend:function(t){var i=o.extend({},this,t);return o.each(i.actions,function(t,e){i._add_action(t,e)}),o.each(i.filters,function(t,e){i._add_filter(t,e)}),o.each(i.events,function(t,e){i._add_event(t,e)}),i},_add_action:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_action(t,i[e],a,i)},_add_filter:function(t,e){var i=this,n=t.split(" "),t=n[0]||"",a=n[1]||10;acf.add_filter(t,i[e],a,i)},_add_event:function(t,e){var i=this,n=t.indexOf(" "),a=0<n?t.substr(0,n):t,r=0<n?t.substr(n+1):"",s=function(t){t.$el=o(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?o(document).on(a,r,s):o(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}},c.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,n){var a=this,e=t.substr(0,t.indexOf(" ")),i=t.substr(t.indexOf(" ")+1),r=acf.get_selector(a.type);o(document).on(e,r+" "+i,function(t){var e=o(this),i=acf.get_closest_field(e,a.type);i.length&&(i.is(a.$field)||a.set("$field",i),t.$el=e,t.$field=i,a[n].apply(a,[t]))})},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(t){return this.set("$field",t)}});var t=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});c.tooltip={tooltip:function(t,e){var i;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)}})}},c.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){var e;return t.mime_types&&(t.allowedTypes=t.mime_types),t.id&&(t.attachment=t.id),acf.newMediaPopup(t).frame}}),c.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()}},c.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}),c.ajax=acf.screen}(jQuery);
|
includes/acf-data-functions.php
CHANGED
@@ -1,29 +1,11 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
* @since 5.7.10
|
10 |
-
*
|
11 |
-
* @param void
|
12 |
-
* @return ACF_Data
|
13 |
-
*/
|
14 |
-
function acf_instances() {
|
15 |
-
|
16 |
-
// Globals.
|
17 |
-
global $acf_instances;
|
18 |
-
|
19 |
-
// Initialize only once.
|
20 |
-
if( !isset($acf_instances) ) {
|
21 |
-
$acf_instances = new ACF_Data();
|
22 |
-
}
|
23 |
-
|
24 |
-
// Return.
|
25 |
-
return $acf_instances;
|
26 |
-
}
|
27 |
|
28 |
/**
|
29 |
* acf_new_instance
|
@@ -42,7 +24,8 @@ function acf_new_instance( $class = '' ) {
|
|
42 |
$instance = new $class();
|
43 |
|
44 |
// Register instance.
|
45 |
-
|
|
|
46 |
|
47 |
// Return instance.
|
48 |
return $instance;
|
@@ -60,7 +43,8 @@ function acf_new_instance( $class = '' ) {
|
|
60 |
* @return object The instance.
|
61 |
*/
|
62 |
function acf_get_instance( $class = '' ) {
|
63 |
-
|
|
|
64 |
}
|
65 |
|
66 |
/**
|
@@ -75,16 +59,17 @@ function acf_get_instance( $class = '' ) {
|
|
75 |
* @param array $data Array of data to start the store with.
|
76 |
* @return ACF_Data
|
77 |
*/
|
78 |
-
|
79 |
-
|
80 |
-
// Create store.
|
81 |
-
$store = new ACF_Data( $data );
|
82 |
-
|
83 |
-
// Register store.
|
84 |
-
acf_instances()->set( "ACF_Store_$name", $store );
|
85 |
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
}
|
89 |
|
90 |
/**
|
@@ -99,6 +84,28 @@ function acf_get_instance( $class = '' ) {
|
|
99 |
* @return ACF_Data
|
100 |
*/
|
101 |
function acf_get_store( $name = '' ) {
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
-
|
1 |
<?php
|
2 |
|
3 |
+
// Globals.
|
4 |
+
global $acf_stores, $acf_instances;
|
5 |
+
|
6 |
+
// Initialize plaeholders.
|
7 |
+
$acf_stores = array();
|
8 |
+
$acf_instances = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
/**
|
11 |
* acf_new_instance
|
24 |
$instance = new $class();
|
25 |
|
26 |
// Register instance.
|
27 |
+
global $acf_instances;
|
28 |
+
$acf_instances[ $class ] = $instance;
|
29 |
|
30 |
// Return instance.
|
31 |
return $instance;
|
43 |
* @return object The instance.
|
44 |
*/
|
45 |
function acf_get_instance( $class = '' ) {
|
46 |
+
global $acf_instances;
|
47 |
+
return isset( $acf_instances[ $class ] ) ? $acf_instances[ $class ] : false;
|
48 |
}
|
49 |
|
50 |
/**
|
59 |
* @param array $data Array of data to start the store with.
|
60 |
* @return ACF_Data
|
61 |
*/
|
62 |
+
function acf_register_store( $name = '', $data = false ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
+
// Create store.
|
65 |
+
$store = new ACF_Data( $data );
|
66 |
+
|
67 |
+
// Register store.
|
68 |
+
global $acf_stores;
|
69 |
+
$acf_stores[ $name ] = $store;
|
70 |
+
|
71 |
+
// Return store.
|
72 |
+
return $store;
|
73 |
}
|
74 |
|
75 |
/**
|
84 |
* @return ACF_Data
|
85 |
*/
|
86 |
function acf_get_store( $name = '' ) {
|
87 |
+
global $acf_stores;
|
88 |
+
return isset( $acf_stores[ $name ] ) ? $acf_stores[ $name ] : false;
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* acf_switch_stores
|
93 |
+
*
|
94 |
+
* Triggered when switching between sites on a multisite installation.
|
95 |
+
*
|
96 |
+
* @date 13/2/19
|
97 |
+
* @since 5.7.11
|
98 |
+
*
|
99 |
+
* @param int $site_id New blog ID.
|
100 |
+
* @param int prev_blog_id Prev blog ID.
|
101 |
+
* @return void
|
102 |
+
*/
|
103 |
+
function acf_switch_stores( $site_id, $prev_site_id ) {
|
104 |
+
|
105 |
+
// Loop over stores and call switch_site().
|
106 |
+
global $acf_stores;
|
107 |
+
foreach( $acf_stores as $store ) {
|
108 |
+
$store->switch_site( $site_id, $prev_site_id );
|
109 |
+
}
|
110 |
}
|
111 |
+
add_action( 'switch_blog', 'acf_switch_stores', 10, 2 );
|
includes/acf-deprecated-functions.php
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* acf_render_field_wrap_label
|
5 |
+
*
|
6 |
+
* Renders the field's label.
|
7 |
+
*
|
8 |
+
* @date 19/9/17
|
9 |
+
* @since 5.6.3
|
10 |
+
* @deprecated 5.6.5
|
11 |
+
*
|
12 |
+
* @param array $field The field array.
|
13 |
+
* @return void
|
14 |
+
*/
|
15 |
+
function acf_render_field_wrap_label( $field ) {
|
16 |
+
|
17 |
+
// Warning.
|
18 |
+
_deprecated_function( __FUNCTION__, '5.7.11', 'acf_render_field_label()' );
|
19 |
+
|
20 |
+
// Render.
|
21 |
+
acf_render_field_label( $field );
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* acf_render_field_wrap_description
|
26 |
+
*
|
27 |
+
* Renders the field's instructions.
|
28 |
+
*
|
29 |
+
* @date 19/9/17
|
30 |
+
* @since 5.6.3
|
31 |
+
* @deprecated 5.6.5
|
32 |
+
*
|
33 |
+
* @param array $field The field array.
|
34 |
+
* @return void
|
35 |
+
*/
|
36 |
+
function acf_render_field_wrap_description( $field ) {
|
37 |
+
|
38 |
+
// Warning.
|
39 |
+
_deprecated_function( __FUNCTION__, '5.7.11', 'acf_render_field_instructions()' );
|
40 |
+
|
41 |
+
// Render.
|
42 |
+
acf_render_field_instructions( $field );
|
43 |
+
}
|
44 |
+
|
45 |
+
/*
|
46 |
+
* acf_get_fields_by_id
|
47 |
+
*
|
48 |
+
* Returns and array of fields for the given $parent_id.
|
49 |
+
*
|
50 |
+
* @date 27/02/2014
|
51 |
+
* @since 5.0.0.
|
52 |
+
* @deprecated 5.7.11
|
53 |
+
*
|
54 |
+
* @param int $parent_id The parent ID.
|
55 |
+
* @return array
|
56 |
+
*/
|
57 |
+
function acf_get_fields_by_id( $parent_id = 0 ) {
|
58 |
+
|
59 |
+
// Warning.
|
60 |
+
_deprecated_function( __FUNCTION__, '5.7.11', 'acf_get_fields()' );
|
61 |
+
|
62 |
+
// Return fields.
|
63 |
+
return acf_get_fields(array( 'ID' => $parent_id, 'key' => "group_$parent_id" ));
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* acf_update_option
|
68 |
+
*
|
69 |
+
* A wrapper for the WP update_option but provides logic for a 'no' autoload
|
70 |
+
*
|
71 |
+
* @date 4/01/2014
|
72 |
+
* @since 5.0.0
|
73 |
+
* @deprecated 5.7.11
|
74 |
+
*
|
75 |
+
* @param string $option The option name.
|
76 |
+
* @param string $value The option value.
|
77 |
+
* @param string $autoload An optional autoload value.
|
78 |
+
* @return bool
|
79 |
+
*/
|
80 |
+
function acf_update_option( $option = '', $value = '', $autoload = null ) {
|
81 |
+
|
82 |
+
// Warning.
|
83 |
+
_deprecated_function( __FUNCTION__, '5.7.11', 'update_option()' );
|
84 |
+
|
85 |
+
// Update.
|
86 |
+
if( $autoload === null ) {
|
87 |
+
$autoload = (bool) acf_get_setting('autoload');
|
88 |
+
}
|
89 |
+
return update_option( $option, $value, $autoload );
|
90 |
+
}
|
91 |
+
|
92 |
+
/**
|
93 |
+
* acf_get_field_reference
|
94 |
+
*
|
95 |
+
* Finds the field key for a given field name and post_id.
|
96 |
+
*
|
97 |
+
* @date 26/1/18
|
98 |
+
* @since 5.6.5
|
99 |
+
* @deprecated 5.6.8
|
100 |
+
*
|
101 |
+
* @param string $field_name The name of the field. eg 'sub_heading'
|
102 |
+
* @param mixed $post_id The post_id of which the value is saved against
|
103 |
+
* @return string $reference The field key
|
104 |
+
*/
|
105 |
+
function acf_get_field_reference( $field_name, $post_id ) {
|
106 |
+
|
107 |
+
// Warning.
|
108 |
+
_deprecated_function( __FUNCTION__, '5.6.8', 'acf_get_reference()' );
|
109 |
+
|
110 |
+
// Return reference.
|
111 |
+
return acf_get_reference( $field_name, $post_id );
|
112 |
+
}
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
|
includes/acf-field-functions.php
ADDED
@@ -0,0 +1,1564 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Register store.
|
4 |
+
acf_register_store( 'fields' )->prop( 'multisite', true );
|
5 |
+
|
6 |
+
/**
|
7 |
+
* acf_get_field
|
8 |
+
*
|
9 |
+
* Retrieves a field for the given identifier.
|
10 |
+
*
|
11 |
+
* @date 17/1/19
|
12 |
+
* @since 5.7.10
|
13 |
+
*
|
14 |
+
* @param (int|string) $id The field ID, key or name.
|
15 |
+
* @return (array|false) The field array.
|
16 |
+
*/
|
17 |
+
function acf_get_field( $id = 0 ) {
|
18 |
+
|
19 |
+
// Allow WP_Post to be passed.
|
20 |
+
if( is_object($id) ) {
|
21 |
+
$id = $id->ID;
|
22 |
+
}
|
23 |
+
|
24 |
+
// Check store.
|
25 |
+
$store = acf_get_store( 'fields' );
|
26 |
+
if( $store->has( $id ) ) {
|
27 |
+
return $store->get( $id );
|
28 |
+
}
|
29 |
+
|
30 |
+
// Check local fields first.
|
31 |
+
if( acf_is_local_field($id) ) {
|
32 |
+
$field = acf_get_local_field( $id );
|
33 |
+
|
34 |
+
// Then check database.
|
35 |
+
} else {
|
36 |
+
$field = acf_get_raw_field( $id );
|
37 |
+
}
|
38 |
+
|
39 |
+
// Bail early if no field.
|
40 |
+
if( !$field ) {
|
41 |
+
return false;
|
42 |
+
}
|
43 |
+
|
44 |
+
// Validate field.
|
45 |
+
$field = acf_validate_field( $field );
|
46 |
+
|
47 |
+
// Set input prefix.
|
48 |
+
$field['prefix'] = 'acf';
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Filters the $field array after it has been loaded.
|
52 |
+
*
|
53 |
+
* @date 12/02/2014
|
54 |
+
* @since 5.0.0
|
55 |
+
*
|
56 |
+
* @param array The field array.
|
57 |
+
*/
|
58 |
+
$field = apply_filters( "acf/load_field", $field );
|
59 |
+
|
60 |
+
// Store field using aliasses to also find via key, ID and name.
|
61 |
+
$store->set( $field['key'], $field );
|
62 |
+
$store->alias( $field['key'], $field['ID'], $field['name'] );
|
63 |
+
|
64 |
+
// Return.
|
65 |
+
return $field;
|
66 |
+
}
|
67 |
+
|
68 |
+
// Register variation.
|
69 |
+
acf_add_filter_variations( 'acf/load_field', array('type', 'name', 'key'), 0 );
|
70 |
+
|
71 |
+
/**
|
72 |
+
* acf_get_raw_field
|
73 |
+
*
|
74 |
+
* Retrieves raw field data for the given identifier.
|
75 |
+
*
|
76 |
+
* @date 18/1/19
|
77 |
+
* @since 5.7.10
|
78 |
+
*
|
79 |
+
* @param (int|string) $id The field ID, key or name.
|
80 |
+
* @return (array|false) The field array.
|
81 |
+
*/
|
82 |
+
function acf_get_raw_field( $id = 0 ) {
|
83 |
+
|
84 |
+
// Get raw field from database.
|
85 |
+
$post = acf_get_field_post( $id );
|
86 |
+
if( !$post ) {
|
87 |
+
return false;
|
88 |
+
}
|
89 |
+
|
90 |
+
// Bail early if incorrect post type.
|
91 |
+
if( $post->post_type !== 'acf-field' ) {
|
92 |
+
return false;
|
93 |
+
}
|
94 |
+
|
95 |
+
// Unserialize post_content.
|
96 |
+
$field = (array) maybe_unserialize( $post->post_content );
|
97 |
+
|
98 |
+
// update attributes
|
99 |
+
$field['ID'] = $post->ID;
|
100 |
+
$field['key'] = $post->post_name;
|
101 |
+
$field['label'] = $post->post_title;
|
102 |
+
$field['name'] = $post->post_excerpt;
|
103 |
+
$field['menu_order'] = $post->menu_order;
|
104 |
+
$field['parent'] = $post->post_parent;
|
105 |
+
|
106 |
+
// Return field.
|
107 |
+
return $field;
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* acf_get_field_post
|
112 |
+
*
|
113 |
+
* Retrieves the field's WP_Post object.
|
114 |
+
*
|
115 |
+
* @date 18/1/19
|
116 |
+
* @since 5.7.10
|
117 |
+
*
|
118 |
+
* @param (int|string) $id The field ID, key or name.
|
119 |
+
* @return (array|false) The field array.
|
120 |
+
*/
|
121 |
+
function acf_get_field_post( $id = 0 ) {
|
122 |
+
|
123 |
+
// Get post if numeric.
|
124 |
+
if( is_numeric($id) ) {
|
125 |
+
return get_post( $id );
|
126 |
+
|
127 |
+
// Search posts if is string.
|
128 |
+
} elseif( is_string($id) ) {
|
129 |
+
|
130 |
+
// Determine id type.
|
131 |
+
$type = acf_is_field_key($id) ? 'key' : 'name';
|
132 |
+
|
133 |
+
// Try cache.
|
134 |
+
$cache_key = acf_cache_key( "acf_get_field_post:$type:$id" );
|
135 |
+
$post_id = wp_cache_get( $cache_key, 'acf' );
|
136 |
+
if( $post_id === false ) {
|
137 |
+
|
138 |
+
// Query posts.
|
139 |
+
$posts = get_posts(array(
|
140 |
+
'posts_per_page' => 1,
|
141 |
+
'post_type' => 'acf-field',
|
142 |
+
'orderby' => 'menu_order title',
|
143 |
+
'order' => 'ASC',
|
144 |
+
'suppress_filters' => false,
|
145 |
+
'cache_results' => true,
|
146 |
+
'update_post_meta_cache' => false,
|
147 |
+
'update_post_term_cache' => false,
|
148 |
+
"acf_field_$type" => $id
|
149 |
+
));
|
150 |
+
|
151 |
+
// Update $post_id with a non false value.
|
152 |
+
$post_id = $posts ? $posts[0]->ID : 0;
|
153 |
+
|
154 |
+
// Update cache.
|
155 |
+
wp_cache_set( $cache_key, $post_id, 'acf' );
|
156 |
+
}
|
157 |
+
|
158 |
+
// Check $post_id and return the post when possible.
|
159 |
+
if( $post_id ) {
|
160 |
+
return get_post( $post_id );
|
161 |
+
}
|
162 |
+
}
|
163 |
+
|
164 |
+
// Return false by default.
|
165 |
+
return false;
|
166 |
+
}
|
167 |
+
|
168 |
+
/**
|
169 |
+
* acf_is_field_key
|
170 |
+
*
|
171 |
+
* Returns true if the given identifier is a field key.
|
172 |
+
*
|
173 |
+
* @date 6/12/2013
|
174 |
+
* @since 5.0.0
|
175 |
+
*
|
176 |
+
* @param string $id The identifier.
|
177 |
+
* @return bool
|
178 |
+
*/
|
179 |
+
function acf_is_field_key( $id = '' ) {
|
180 |
+
|
181 |
+
// Check if $id is a string starting with "field_".
|
182 |
+
if( is_string($id) && substr($id, 0, 6) === 'field_' ) {
|
183 |
+
return true;
|
184 |
+
}
|
185 |
+
|
186 |
+
/**
|
187 |
+
* Filters whether the $id is a field key.
|
188 |
+
*
|
189 |
+
* @date 23/1/19
|
190 |
+
* @since 5.7.10
|
191 |
+
*
|
192 |
+
* @param bool $bool The result.
|
193 |
+
* @param string $id The identifier.
|
194 |
+
*/
|
195 |
+
return apply_filters( 'acf/is_field_key', false, $id );
|
196 |
+
}
|
197 |
+
|
198 |
+
/**
|
199 |
+
* acf_validate_field
|
200 |
+
*
|
201 |
+
* Ensures the given field valid.
|
202 |
+
*
|
203 |
+
* @date 18/1/19
|
204 |
+
* @since 5.7.10
|
205 |
+
*
|
206 |
+
* @param array $field The field array.
|
207 |
+
* @return array
|
208 |
+
*/
|
209 |
+
function acf_validate_field( $field = array() ) {
|
210 |
+
|
211 |
+
// Bail early if already valid.
|
212 |
+
if( is_array($field) && !empty($field['_valid']) ) {
|
213 |
+
return $field;
|
214 |
+
}
|
215 |
+
|
216 |
+
// Apply defaults.
|
217 |
+
$field = wp_parse_args($field, array(
|
218 |
+
'ID' => 0,
|
219 |
+
'key' => '',
|
220 |
+
'label' => '',
|
221 |
+
'name' => '',
|
222 |
+
'prefix' => '',
|
223 |
+
'type' => 'text',
|
224 |
+
'value' => null,
|
225 |
+
'menu_order' => 0,
|
226 |
+
'instructions' => '',
|
227 |
+
'required' => false,
|
228 |
+
'id' => '',
|
229 |
+
'class' => '',
|
230 |
+
'conditional_logic' => false,
|
231 |
+
'parent' => 0,
|
232 |
+
'wrapper' => array()
|
233 |
+
//'attributes' => array()
|
234 |
+
));
|
235 |
+
|
236 |
+
// Add backwards compatibility for wrapper attributes.
|
237 |
+
// Todo: Remove need for this.
|
238 |
+
$field['wrapper'] = wp_parse_args($field['wrapper'], array(
|
239 |
+
'width' => '',
|
240 |
+
'class' => '',
|
241 |
+
'id' => ''
|
242 |
+
));
|
243 |
+
|
244 |
+
// Store backups.
|
245 |
+
$field['_name'] = $field['name'];
|
246 |
+
$field['_valid'] = 1;
|
247 |
+
|
248 |
+
/**
|
249 |
+
* Filters the $field array to validate settings.
|
250 |
+
*
|
251 |
+
* @date 12/02/2014
|
252 |
+
* @since 5.0.0
|
253 |
+
*
|
254 |
+
* @param array $field The field array.
|
255 |
+
*/
|
256 |
+
$field = apply_filters( "acf/validate_field", $field );
|
257 |
+
|
258 |
+
// return
|
259 |
+
return $field;
|
260 |
+
}
|
261 |
+
|
262 |
+
// Register variation.
|
263 |
+
acf_add_filter_variations( 'acf/validate_field', array('type'), 0 );
|
264 |
+
|
265 |
+
/**
|
266 |
+
* acf_get_valid_field
|
267 |
+
*
|
268 |
+
* Ensures the given field valid.
|
269 |
+
*
|
270 |
+
* @date 28/09/13
|
271 |
+
* @since 5.0.0
|
272 |
+
*
|
273 |
+
* @param array $field The field array.
|
274 |
+
* @return array
|
275 |
+
*/
|
276 |
+
function acf_get_valid_field( $field = false ) {
|
277 |
+
return acf_validate_field( $field );
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* acf_translate_field
|
282 |
+
*
|
283 |
+
* Translates a field's settings.
|
284 |
+
*
|
285 |
+
* @date 8/03/2016
|
286 |
+
* @since 5.3.2
|
287 |
+
*
|
288 |
+
* @param array $field The field array.
|
289 |
+
* @return array
|
290 |
+
*/
|
291 |
+
function acf_translate_field( $field = array() ) {
|
292 |
+
|
293 |
+
// Get settings.
|
294 |
+
$l10n = acf_get_setting('l10n');
|
295 |
+
$l10n_textdomain = acf_get_setting('l10n_textdomain');
|
296 |
+
|
297 |
+
// Translate field settings if textdomain is set.
|
298 |
+
if( $l10n && $l10n_textdomain ) {
|
299 |
+
|
300 |
+
$field['label'] = acf_translate( $field['label'] );
|
301 |
+
$field['instructions'] = acf_translate( $field['instructions'] );
|
302 |
+
|
303 |
+
/**
|
304 |
+
* Filters the $field array to translate strings.
|
305 |
+
*
|
306 |
+
* @date 12/02/2014
|
307 |
+
* @since 5.0.0
|
308 |
+
*
|
309 |
+
* @param array $field The field array.
|
310 |
+
*/
|
311 |
+
$field = apply_filters( "acf/translate_field", $field );
|
312 |
+
}
|
313 |
+
|
314 |
+
// Return field.
|
315 |
+
return $field;
|
316 |
+
}
|
317 |
+
|
318 |
+
// Register variation.
|
319 |
+
acf_add_filter_variations( 'acf/translate_field', array('type'), 0 );
|
320 |
+
|
321 |
+
// Translate fields passing through validation.
|
322 |
+
add_action('acf/validate_field', 'acf_translate_field');
|
323 |
+
|
324 |
+
/**
|
325 |
+
* acf_get_fields
|
326 |
+
*
|
327 |
+
* Returns and array of fields for the given $parent.
|
328 |
+
*
|
329 |
+
* @date 30/09/13
|
330 |
+
* @since 5.0.0
|
331 |
+
*
|
332 |
+
* @param array $parent The field group or field array.
|
333 |
+
* @return array
|
334 |
+
*/
|
335 |
+
function acf_get_fields( $parent ) {
|
336 |
+
|
337 |
+
// Allow field group selector as $parent.
|
338 |
+
if( !is_array($parent) ) {
|
339 |
+
$parent = acf_get_field_group( $parent );
|
340 |
+
if( !$parent ) {
|
341 |
+
return array();
|
342 |
+
}
|
343 |
+
}
|
344 |
+
|
345 |
+
// Vars.
|
346 |
+
$fields = array();
|
347 |
+
|
348 |
+
// Check local fields first.
|
349 |
+
if( acf_have_local_fields($parent['key']) ) {
|
350 |
+
$raw_fields = acf_get_local_fields( $parent['key'] );
|
351 |
+
foreach( $raw_fields as $raw_field ) {
|
352 |
+
$fields[] = acf_get_field( $raw_field['key'] );
|
353 |
+
}
|
354 |
+
|
355 |
+
// Then check database.
|
356 |
+
} else {
|
357 |
+
$raw_fields = acf_get_raw_fields( $parent['ID'] );
|
358 |
+
foreach( $raw_fields as $raw_field ) {
|
359 |
+
$fields[] = acf_get_field( $raw_field['ID'] );
|
360 |
+
}
|
361 |
+
}
|
362 |
+
|
363 |
+
/**
|
364 |
+
* Filters the $fields array.
|
365 |
+
*
|
366 |
+
* @date 12/02/2014
|
367 |
+
* @since 5.0.0
|
368 |
+
*
|
369 |
+
* @param array $fields The array of fields.
|
370 |
+
*/
|
371 |
+
$fields = apply_filters( 'acf/load_fields', $fields, $parent );
|
372 |
+
$fields = apply_filters( 'acf/get_fields', $fields, $parent );
|
373 |
+
|
374 |
+
// Return fields
|
375 |
+
return $fields;
|
376 |
+
}
|
377 |
+
|
378 |
+
/**
|
379 |
+
* acf_get_raw_fields
|
380 |
+
*
|
381 |
+
* Returns and array of raw field data for the given parent id.
|
382 |
+
*
|
383 |
+
* @date 18/1/19
|
384 |
+
* @since 5.7.10
|
385 |
+
*
|
386 |
+
* @param int $id The field group or field id.
|
387 |
+
* @return array
|
388 |
+
*/
|
389 |
+
function acf_get_raw_fields( $id = 0 ) {
|
390 |
+
|
391 |
+
// Try cache.
|
392 |
+
$cache_key = acf_cache_key( "acf_get_field_posts:$id" );
|
393 |
+
$post_ids = wp_cache_get( $cache_key, 'acf' );
|
394 |
+
if( $post_ids === false ) {
|
395 |
+
|
396 |
+
// Query posts.
|
397 |
+
$posts = get_posts(array(
|
398 |
+
'posts_per_page' => -1,
|
399 |
+
'post_type' => 'acf-field',
|
400 |
+
'orderby' => 'menu_order',
|
401 |
+
'order' => 'ASC',
|
402 |
+
'suppress_filters' => true, // DO NOT allow WPML to modify the query
|
403 |
+
'cache_results' => true,
|
404 |
+
'update_post_meta_cache' => false,
|
405 |
+
'update_post_term_cache' => false,
|
406 |
+
'post_parent' => $id,
|
407 |
+
'post_status' => array('publish', 'trash'),
|
408 |
+
));
|
409 |
+
|
410 |
+
// Update $post_ids with a non false value.
|
411 |
+
$post_ids = array();
|
412 |
+
foreach( $posts as $post ) {
|
413 |
+
$post_ids[] = $post->ID;
|
414 |
+
}
|
415 |
+
|
416 |
+
// Update cache.
|
417 |
+
wp_cache_set( $cache_key, $post_ids, 'acf' );
|
418 |
+
}
|
419 |
+
|
420 |
+
// Loop over ids and populate array of fields.
|
421 |
+
$fields = array();
|
422 |
+
foreach( $post_ids as $post_id ) {
|
423 |
+
$fields[] = acf_get_raw_field( $post_id );
|
424 |
+
}
|
425 |
+
|
426 |
+
// Return fields.
|
427 |
+
return $fields;
|
428 |
+
}
|
429 |
+
|
430 |
+
/**
|
431 |
+
* acf_get_field_count
|
432 |
+
*
|
433 |
+
* Return the number of fields for the given field group.
|
434 |
+
*
|
435 |
+
* @date 17/10/13
|
436 |
+
* @since 5.0.0
|
437 |
+
*
|
438 |
+
* @param array $parent The field group or field array.
|
439 |
+
* @return int
|
440 |
+
*/
|
441 |
+
function acf_get_field_count( $parent ) {
|
442 |
+
|
443 |
+
// Check local fields first.
|
444 |
+
if( acf_have_local_fields($parent['key']) ) {
|
445 |
+
$raw_fields = acf_get_local_fields( $parent['key'] );
|
446 |
+
|
447 |
+
// Then check database.
|
448 |
+
} else {
|
449 |
+
$raw_fields = acf_get_raw_fields( $parent['ID'] );
|
450 |
+
}
|
451 |
+
|
452 |
+
/**
|
453 |
+
* Filters the counted number of fields.
|
454 |
+
*
|
455 |
+
* @date 12/02/2014
|
456 |
+
* @since 5.0.0
|
457 |
+
*
|
458 |
+
* @param int $count The number of fields.
|
459 |
+
* @param array $parent The field group or field array.
|
460 |
+
*/
|
461 |
+
return apply_filters( 'acf/get_field_count', count($raw_fields), $parent );
|
462 |
+
}
|
463 |
+
|
464 |
+
/**
|
465 |
+
* acf_clone_field
|
466 |
+
*
|
467 |
+
* Allows customization to a field when it is cloned. Used by the clone field.
|
468 |
+
*
|
469 |
+
* @date 8/03/2016
|
470 |
+
* @since 5.3.2
|
471 |
+
*
|
472 |
+
* @param array $field The field being cloned.
|
473 |
+
* @param array $clone_field The clone field.
|
474 |
+
* @return array
|
475 |
+
*/
|
476 |
+
function acf_clone_field( $field, $clone_field ) {
|
477 |
+
|
478 |
+
// Add reference to the clone field.
|
479 |
+
$field['_clone'] = $clone_field['key'];
|
480 |
+
|
481 |
+
/**
|
482 |
+
* Filters the $field array when it is being cloned.
|
483 |
+
*
|
484 |
+
* @date 12/02/2014
|
485 |
+
* @since 5.0.0
|
486 |
+
*
|
487 |
+
* @param array $field The field array.
|
488 |
+
* @param array $clone_field The clone field array.
|
489 |
+
*/
|
490 |
+
$field = apply_filters( "acf/clone_field", $field, $clone_field );
|
491 |
+
|
492 |
+
// Return field.
|
493 |
+
return $field;
|
494 |
+
}
|
495 |
+
|
496 |
+
// Register variation.
|
497 |
+
acf_add_filter_variations( 'acf/clone_field', array('type'), 0 );
|
498 |
+
|
499 |
+
/**
|
500 |
+
* acf_prepare_field
|
501 |
+
*
|
502 |
+
* Prepare a field for input.
|
503 |
+
*
|
504 |
+
* @date 20/1/19
|
505 |
+
* @since 5.7.10
|
506 |
+
*
|
507 |
+
* @param array $field The field array.
|
508 |
+
* @return array
|
509 |
+
*/
|
510 |
+
function acf_prepare_field( $field ) {
|
511 |
+
|
512 |
+
// Bail early if already prepared.
|
513 |
+
if( !empty($field['_prepare']) ) {
|
514 |
+
return $field;
|
515 |
+
}
|
516 |
+
|
517 |
+
// Use field key to override input name.
|
518 |
+
if( $field['key'] ) {
|
519 |
+
$field['name'] = $field['key'];
|
520 |
+
}
|
521 |
+
|
522 |
+
// Use field prefix to modify input name.
|
523 |
+
if( $field['prefix'] ) {
|
524 |
+
$field['name'] = "{$field['prefix']}[{$field['name']}]";
|
525 |
+
}
|
526 |
+
|
527 |
+
// Generate id attribute from name.
|
528 |
+
$field['id'] = acf_idify( $field['name'] );
|
529 |
+
|
530 |
+
// Add state to field.
|
531 |
+
$field['_prepare'] = true;
|
532 |
+
|
533 |
+
/**
|
534 |
+
* Filters the $field array.
|
535 |
+
*
|
536 |
+
* Allows developers to modify field settings or return false to remove field.
|
537 |
+
*
|
538 |
+
* @date 12/02/2014
|
539 |
+
* @since 5.0.0
|
540 |
+
*
|
541 |
+
* @param array $field The field array.
|
542 |
+
*/
|
543 |
+
$field = apply_filters( "acf/prepare_field", $field );
|
544 |
+
|
545 |
+
// return
|
546 |
+
return $field;
|
547 |
+
}
|
548 |
+
|
549 |
+
// Register variation.
|
550 |
+
acf_add_filter_variations( 'acf/prepare_field', array('type', 'name', 'key'), 0 );
|
551 |
+
|
552 |
+
/**
|
553 |
+
* acf_render_fields
|
554 |
+
*
|
555 |
+
* Renders an array of fields. Also loads the field's value.
|
556 |
+
*
|
557 |
+
* @date 8/10/13
|
558 |
+
* @since 5.0.0
|
559 |
+
* @since 5.6.9 Changed parameter order.
|
560 |
+
*
|
561 |
+
* @param array $fields An array of fields.
|
562 |
+
* @param (int|string) $post_id The post ID to load values from.
|
563 |
+
* @param string $element The wrapping element type.
|
564 |
+
* @param string $instruction The instruction render position (label|field).
|
565 |
+
* @return void
|
566 |
+
*/
|
567 |
+
function acf_render_fields( $fields, $post_id = 0, $el = 'div', $instruction = 'label' ) {
|
568 |
+
|
569 |
+
// Parameter order changed in ACF 5.6.9.
|
570 |
+
if( is_array($post_id) ) {
|
571 |
+
$args = func_get_args();
|
572 |
+
$fields = $args[1];
|
573 |
+
$post_id = $args[0];
|
574 |
+
}
|
575 |
+
|
576 |
+
/**
|
577 |
+
* Filters the $fields array before they are rendered.
|
578 |
+
*
|
579 |
+
* @date 12/02/2014
|
580 |
+
* @since 5.0.0
|
581 |
+
*
|
582 |
+
* @param array $fields An array of fields.
|
583 |
+
* @param (int|string) $post_id The post ID to load values from.
|
584 |
+
*/
|
585 |
+
$fields = apply_filters( 'acf/pre_render_fields', $fields, $post_id );
|
586 |
+
|
587 |
+
// Filter our false results.
|
588 |
+
$fields = array_filter( $fields );
|
589 |
+
|
590 |
+
// Loop over and render fields.
|
591 |
+
if( $fields ) {
|
592 |
+
foreach( $fields as $field ) {
|
593 |
+
|
594 |
+
// Load value if not already loaded.
|
595 |
+
if( $field['value'] === null ) {
|
596 |
+
$field['value'] = acf_get_value( $post_id, $field );
|
597 |
+
}
|
598 |
+
|
599 |
+
// Render wrap.
|
600 |
+
acf_render_field_wrap( $field, $el, $instruction );
|
601 |
+
}
|
602 |
+
}
|
603 |
+
|
604 |
+
/**
|
605 |
+
* Fires after fields have been rendered.
|
606 |
+
*
|
607 |
+
* @date 12/02/2014
|
608 |
+
* @since 5.0.0
|
609 |
+
*
|
610 |
+
* @param array $fields An array of fields.
|
611 |
+
* @param (int|string) $post_id The post ID to load values from.
|
612 |
+
*/
|
613 |
+
do_action( 'acf/render_fields', $fields, $post_id );
|
614 |
+
}
|
615 |
+
|
616 |
+
/**
|
617 |
+
* acf_render_field_wrap
|
618 |
+
*
|
619 |
+
* Render the wrapping element for a given field.
|
620 |
+
*
|
621 |
+
* @date 28/09/13
|
622 |
+
* @since 5.0.0
|
623 |
+
*
|
624 |
+
* @param array $field The field array.
|
625 |
+
* @param string $element The wrapping element type.
|
626 |
+
* @param string $instruction The instruction render position (label|field).
|
627 |
+
* @return void
|
628 |
+
*/
|
629 |
+
function acf_render_field_wrap( $field, $element = 'div', $instruction = 'label' ) {
|
630 |
+
|
631 |
+
// Ensure field is complete (adds all settings).
|
632 |
+
$field = acf_validate_field( $field );
|
633 |
+
|
634 |
+
// Prepare field for input (modifies settings).
|
635 |
+
$field = acf_prepare_field( $field );
|
636 |
+
|
637 |
+
// Allow filters to cancel render.
|
638 |
+
if( !$field ) {
|
639 |
+
return;
|
640 |
+
}
|
641 |
+
|
642 |
+
// Determine wrapping element.
|
643 |
+
$elements = array(
|
644 |
+
'div' => 'div',
|
645 |
+
'tr' => 'td',
|
646 |
+
'td' => 'div',
|
647 |
+
'ul' => 'li',
|
648 |
+
'ol' => 'li',
|
649 |
+
'dl' => 'dt',
|
650 |
+
);
|
651 |
+
|
652 |
+
if( isset($elements[$element]) ) {
|
653 |
+
$inner_element = $elements[$element];
|
654 |
+
} else {
|
655 |
+
$element = $inner_element = 'div';
|
656 |
+
}
|
657 |
+
|
658 |
+
// Generate wrapper attributes.
|
659 |
+
$wrapper = array(
|
660 |
+
'id' => '',
|
661 |
+
'class' => 'acf-field',
|
662 |
+
'width' => '',
|
663 |
+
'style' => '',
|
664 |
+
'data-name' => $field['_name'],
|
665 |
+
'data-type' => $field['type'],
|
666 |
+
'data-key' => $field['key'],
|
667 |
+
);
|
668 |
+
|
669 |
+
// Add field type attributes.
|
670 |
+
$wrapper['class'] .= " acf-field-{$field['type']}";
|
671 |
+
|
672 |
+
// add field key attributes
|
673 |
+
if( $field['key'] ) {
|
674 |
+
$wrapper['class'] .= " acf-field-{$field['key']}";
|
675 |
+
}
|
676 |
+
|
677 |
+
// Add required attributes.
|
678 |
+
// Todo: Remove data-required
|
679 |
+
if( $field['required'] ) {
|
680 |
+
$wrapper['class'] .= ' is-required';
|
681 |
+
$wrapper['data-required'] = 1;
|
682 |
+
}
|
683 |
+
|
684 |
+
// Clean up class attribute.
|
685 |
+
$wrapper['class'] = str_replace( '_', '-', $wrapper['class'] );
|
686 |
+
$wrapper['class'] = str_replace( 'field-field-', 'field-', $wrapper['class'] );
|
687 |
+
|
688 |
+
// Merge in field 'wrapper' setting without destroying class and style.
|
689 |
+
if( $field['wrapper'] ) {
|
690 |
+
$wrapper = acf_merge_attributes( $wrapper, $field['wrapper'] );
|
691 |
+
}
|
692 |
+
|
693 |
+
// Extract wrapper width and generate style.
|
694 |
+
// Todo: Move from $wrapper out into $field.
|
695 |
+
$width = acf_extract_var( $wrapper, 'width' );
|
696 |
+
if( $width ) {
|
697 |
+
if( $element !== 'tr' && $element !== 'td' ) {
|
698 |
+
$wrapper['data-width'] = $width;
|
699 |
+
$wrapper['style'] .= " width:{$width}%;";
|
700 |
+
}
|
701 |
+
}
|
702 |
+
|
703 |
+
// Clean up all attributes.
|
704 |
+
$wrapper = array_map( 'trim', $wrapper );
|
705 |
+
$wrapper = array_filter( $wrapper );
|
706 |
+
|
707 |
+
/**
|
708 |
+
* Filters the $wrapper array before rendering.
|
709 |
+
*
|
710 |
+
* @date 21/1/19
|
711 |
+
* @since 5.7.10
|
712 |
+
*
|
713 |
+
* @param array $wrapper The wrapper attributes array.
|
714 |
+
* @param array $field The field array.
|
715 |
+
*/
|
716 |
+
$wrapper = apply_filters( 'acf/field_wrapper_attributes', $wrapper, $field );
|
717 |
+
|
718 |
+
// Append conditional logic attributes.
|
719 |
+
if( !empty($field['conditional_logic']) ) {
|
720 |
+
$wrapper['data-conditions'] = $field['conditional_logic'];
|
721 |
+
}
|
722 |
+
if( !empty($field['conditions']) ) {
|
723 |
+
$wrapper['data-conditions'] = $field['conditions'];
|
724 |
+
}
|
725 |
+
|
726 |
+
// Vars for render.
|
727 |
+
$attributes_html = acf_esc_attr( $wrapper );
|
728 |
+
|
729 |
+
// Render HTML
|
730 |
+
echo "<$element $attributes_html>" . "\n";
|
731 |
+
if( $element !== 'td' ) {
|
732 |
+
echo "<$inner_element class=\"acf-label\">" . "\n";
|
733 |
+
acf_render_field_label( $field );
|
734 |
+
if( $instruction == 'label' ) {
|
735 |
+
acf_render_field_instructions( $field );
|
736 |
+
}
|
737 |
+
echo "</$inner_element>" . "\n";
|
738 |
+
}
|
739 |
+
echo "<$inner_element class=\"acf-input\">" . "\n";
|
740 |
+
acf_render_field( $field );
|
741 |
+
if( $instruction == 'field' ) {
|
742 |
+
acf_render_field_instructions( $field );
|
743 |
+
}
|
744 |
+
echo "</$inner_element>" . "\n";
|
745 |
+
echo "</$element>" . "\n";
|
746 |
+
}
|
747 |
+
|
748 |
+
/**
|
749 |
+
* acf_render_field
|
750 |
+
*
|
751 |
+
* Render the input element for a given field.
|
752 |
+
*
|
753 |
+
* @date 21/1/19
|
754 |
+
* @since 5.7.10
|
755 |
+
*
|
756 |
+
* @param array $field The field array.
|
757 |
+
* @return void
|
758 |
+
*/
|
759 |
+
function acf_render_field( $field ) {
|
760 |
+
|
761 |
+
// Ensure field is complete (adds all settings).
|
762 |
+
$field = acf_validate_field( $field );
|
763 |
+
|
764 |
+
// Prepare field for input (modifies settings).
|
765 |
+
$field = acf_prepare_field( $field );
|
766 |
+
|
767 |
+
// Allow filters to cancel render.
|
768 |
+
if( !$field ) {
|
769 |
+
return;
|
770 |
+
}
|
771 |
+
|
772 |
+
/**
|
773 |
+
* Fires when rendering a field.
|
774 |
+
*
|
775 |
+
* @date 12/02/2014
|
776 |
+
* @since 5.0.0
|
777 |
+
*
|
778 |
+
* @param array $field The field array.
|
779 |
+
*/
|
780 |
+
do_action( "acf/render_field", $field );
|
781 |
+
}
|
782 |
+
|
783 |
+
// Register variation.
|
784 |
+
acf_add_action_variations( 'acf/render_field', array('type', 'name', 'key'), 0 );
|
785 |
+
|
786 |
+
/**
|
787 |
+
* acf_render_field_label
|
788 |
+
*
|
789 |
+
* Renders the field's label.
|
790 |
+
*
|
791 |
+
* @date 19/9/17
|
792 |
+
* @since 5.6.3
|
793 |
+
*
|
794 |
+
* @param array $field The field array.
|
795 |
+
* @return void
|
796 |
+
*/
|
797 |
+
function acf_render_field_label( $field ) {
|
798 |
+
|
799 |
+
// Get label.
|
800 |
+
$label = acf_get_field_label( $field );
|
801 |
+
|
802 |
+
// Output label.
|
803 |
+
if( $label ) {
|
804 |
+
echo '<label' . ($field['id'] ? ' for="' . esc_attr($field['id']) . '"' : '' ) . '>' . acf_esc_html($label) . '</label>';
|
805 |
+
}
|
806 |
+
}
|
807 |
+
|
808 |
+
/**
|
809 |
+
* acf_get_field_label
|
810 |
+
*
|
811 |
+
* Returns the field's label with appropriate required label.
|
812 |
+
*
|
813 |
+
* @date 4/11/2013
|
814 |
+
* @since 5.0.0
|
815 |
+
*
|
816 |
+
* @param array $field The field array.
|
817 |
+
* @param string $context The output context (admin).
|
818 |
+
* @return void
|
819 |
+
*/
|
820 |
+
function acf_get_field_label( $field, $context = '' ) {
|
821 |
+
|
822 |
+
// Get label.
|
823 |
+
$label = $field['label'];
|
824 |
+
|
825 |
+
// Display empty text when editing field.
|
826 |
+
if( $context == 'admin' && $label === '' ) {
|
827 |
+
$label = __('(no label)', 'acf');
|
828 |
+
}
|
829 |
+
|
830 |
+
// Add required HTML.
|
831 |
+
if( $field['required'] ) {
|
832 |
+
$label .= ' <span class="acf-required">*</span>';
|
833 |
+
}
|
834 |
+
|
835 |
+
/**
|
836 |
+
* Filters the field's label HTML.
|
837 |
+
*
|
838 |
+
* @date 21/1/19
|
839 |
+
* @since 5.7.10
|
840 |
+
*
|
841 |
+
* @param string The label HTML.
|
842 |
+
* @param array $field The field array.
|
843 |
+
* @param string $context The output context (admin).
|
844 |
+
*/
|
845 |
+
$label = apply_filters( "acf/get_field_label", $label, $field, $context );
|
846 |
+
|
847 |
+
// Return label.
|
848 |
+
return $label;
|
849 |
+
}
|
850 |
+
|
851 |
+
/**
|
852 |
+
* acf_render_field_instructions
|
853 |
+
*
|
854 |
+
* Renders the field's instructions.
|
855 |
+
*
|
856 |
+
* @date 19/9/17
|
857 |
+
* @since 5.6.3
|
858 |
+
*
|
859 |
+
* @param array $field The field array.
|
860 |
+
* @return void
|
861 |
+
*/
|
862 |
+
function acf_render_field_instructions( $field ) {
|
863 |
+
|
864 |
+
// Output instructions.
|
865 |
+
if( $field['instructions'] ) {
|
866 |
+
echo '<p class="description">' . acf_esc_html($field['instructions']) . '</p>';
|
867 |
+
}
|
868 |
+
}
|
869 |
+
|
870 |
+
/**
|
871 |
+
* acf_render_field_setting
|
872 |
+
*
|
873 |
+
* Renders a field setting used in the admin edit screen.
|
874 |
+
*
|
875 |
+
* @date 21/1/19
|
876 |
+
* @since 5.7.10
|
877 |
+
*
|
878 |
+
* @param array $field The field array.
|
879 |
+
* @param array $setting The settings field array.
|
880 |
+
* @param bool $global Whether this setting is a global or field type specific one.
|
881 |
+
* @return void
|
882 |
+
*/
|
883 |
+
function acf_render_field_setting( $field, $setting, $global = false ) {
|
884 |
+
|
885 |
+
// Validate field.
|
886 |
+
$setting = acf_validate_field( $setting );
|
887 |
+
|
888 |
+
// Add custom attributes to setting wrapper.
|
889 |
+
$setting['wrapper']['data-key'] = $setting['name'];
|
890 |
+
$setting['wrapper']['class'] .= ' acf-field-setting-' . $setting['name'];
|
891 |
+
if( !$global ) {
|
892 |
+
$setting['wrapper']['data-setting'] = $field['type'];
|
893 |
+
}
|
894 |
+
|
895 |
+
// Copy across prefix.
|
896 |
+
$setting['prefix'] = $field['prefix'];
|
897 |
+
|
898 |
+
// Find setting value from field.
|
899 |
+
if( $setting['value'] === null ) {
|
900 |
+
|
901 |
+
// Name.
|
902 |
+
if( isset($field[ $setting['name'] ]) ) {
|
903 |
+
$setting['value'] = $field[ $setting['name'] ];
|
904 |
+
|
905 |
+
// Default value.
|
906 |
+
} elseif( isset($setting['default_value']) ) {
|
907 |
+
$setting['value'] = $setting['default_value'];
|
908 |
+
}
|
909 |
+
}
|
910 |
+
|
911 |
+
// Add append attribute used by JS to join settings.
|
912 |
+
if( isset($setting['_append']) ) {
|
913 |
+
$setting['wrapper']['data-append'] = $setting['_append'];
|
914 |
+
}
|
915 |
+
|
916 |
+
// Render setting.
|
917 |
+
acf_render_field_wrap( $setting, 'tr', 'label' );
|
918 |
+
}
|
919 |
+
|
920 |
+
/**
|
921 |
+
* acf_update_field
|
922 |
+
*
|
923 |
+
* Updates a field in the database.
|
924 |
+
*
|
925 |
+
* @date 21/1/19
|
926 |
+
* @since 5.7.10
|
927 |
+
*
|
928 |
+
* @param array $field The field array.
|
929 |
+
* @param array $specific An array of specific field attributes to update.
|
930 |
+
* @return void
|
931 |
+
*/
|
932 |
+
function acf_update_field( $field, $specific = array() ) {
|
933 |
+
|
934 |
+
// Validate field.
|
935 |
+
$field = acf_validate_field( $field );
|
936 |
+
|
937 |
+
// May have been posted. Remove slashes.
|
938 |
+
$field = wp_unslash( $field );
|
939 |
+
|
940 |
+
// Parse types (converts string '0' to int 0).
|
941 |
+
$field = acf_parse_types( $field );
|
942 |
+
|
943 |
+
// Clean up conditional logic keys.
|
944 |
+
if( $field['conditional_logic'] ) {
|
945 |
+
|
946 |
+
// Remove empty values and convert to associated array.
|
947 |
+
$field['conditional_logic'] = array_filter( $field['conditional_logic'] );
|
948 |
+
$field['conditional_logic'] = array_values( $field['conditional_logic'] );
|
949 |
+
$field['conditional_logic'] = array_map( 'array_filter', $field['conditional_logic'] );
|
950 |
+
$field['conditional_logic'] = array_map( 'array_values', $field['conditional_logic'] );
|
951 |
+
}
|
952 |
+
|
953 |
+
// Parent may be provided as a field key.
|
954 |
+
if( $field['parent'] && !is_numeric($field['parent']) ) {
|
955 |
+
$parent = acf_get_field_post( $field['parent'] );
|
956 |
+
$field['parent'] = $parent ? $parent->ID : 0;
|
957 |
+
}
|
958 |
+
|
959 |
+
/**
|
960 |
+
* Filters the $field array before it is updated.
|
961 |
+
*
|
962 |
+
* @date 12/02/2014
|
963 |
+
* @since 5.0.0
|
964 |
+
*
|
965 |
+
* @param array $field The field array.
|
966 |
+
*/
|
967 |
+
$field = apply_filters( "acf/update_field", $field );
|
968 |
+
|
969 |
+
// Make a backup of field data and remove some args.
|
970 |
+
$_field = $field;
|
971 |
+
acf_extract_vars( $_field, array( 'ID', 'key', 'label', 'name', 'prefix', 'value', 'menu_order', 'id', 'class', 'parent', '_name', '_prepare', '_valid' ) );
|
972 |
+
|
973 |
+
// Create array of data to save.
|
974 |
+
$save = array(
|
975 |
+
'ID' => $field['ID'],
|
976 |
+
'post_status' => 'publish',
|
977 |
+
'post_type' => 'acf-field',
|
978 |
+
'post_title' => $field['label'],
|
979 |
+
'post_name' => $field['key'],
|
980 |
+
'post_excerpt' => $field['name'],
|
981 |
+
'post_content' => maybe_serialize( $_field ),
|
982 |
+
'post_parent' => $field['parent'],
|
983 |
+
'menu_order' => $field['menu_order'],
|
984 |
+
);
|
985 |
+
|
986 |
+
// Reduce save data if specific key list is provided.
|
987 |
+
if( $specific ) {
|
988 |
+
$specific[] = 'ID';
|
989 |
+
$save = acf_get_sub_array( $save, $specific );
|
990 |
+
}
|
991 |
+
|
992 |
+
// Slash data.
|
993 |
+
// WP expects all data to be slashed and will unslash it (fixes '\' character issues).
|
994 |
+
$save = wp_slash( $save );
|
995 |
+
|
996 |
+
// Update or Insert.
|
997 |
+
if( $field['ID'] ) {
|
998 |
+
wp_update_post( $save );
|
999 |
+
} else {
|
1000 |
+
$field['ID'] = wp_insert_post( $save );
|
1001 |
+
}
|
1002 |
+
|
1003 |
+
// Flush field cache.
|
1004 |
+
acf_flush_field_cache( $field );
|
1005 |
+
|
1006 |
+
/**
|
1007 |
+
* Fires after a field has been updated, and the field cache has been cleaned.
|
1008 |
+
*
|
1009 |
+
* @date 24/1/19
|
1010 |
+
* @since 5.7.10
|
1011 |
+
*
|
1012 |
+
* @param array $field The field array.
|
1013 |
+
*/
|
1014 |
+
do_action( "acf/updated_field", $field );
|
1015 |
+
|
1016 |
+
// Return field.
|
1017 |
+
return $field;
|
1018 |
+
}
|
1019 |
+
|
1020 |
+
// Register variation.
|
1021 |
+
acf_add_filter_variations( 'acf/update_field', array('type', 'name', 'key'), 0 );
|
1022 |
+
|
1023 |
+
/**
|
1024 |
+
* _acf_apply_unique_field_slug
|
1025 |
+
*
|
1026 |
+
* Allows full control over 'acf-field' slugs.
|
1027 |
+
*
|
1028 |
+
* @date 21/1/19
|
1029 |
+
* @since 5.7.10
|
1030 |
+
*
|
1031 |
+
* @param string $slug The post slug.
|
1032 |
+
* @param int $post_ID Post ID.
|
1033 |
+
* @param string $post_status The post status.
|
1034 |
+
* @param string $post_type Post type.
|
1035 |
+
* @param int $post_parent Post parent ID
|
1036 |
+
* @param string $original_slug The original post slug.
|
1037 |
+
*/
|
1038 |
+
function _acf_apply_unique_field_slug( $slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug ) {
|
1039 |
+
|
1040 |
+
// Check post type and reset to original value.
|
1041 |
+
if( $post_type === 'acf-field' ) {
|
1042 |
+
return $original_slug;
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
// Return slug.
|
1046 |
+
return $slug;
|
1047 |
+
}
|
1048 |
+
|
1049 |
+
// Hook into filter.
|
1050 |
+
add_filter( 'wp_unique_post_slug', '_acf_apply_unique_field_slug', 999, 6 );
|
1051 |
+
|
1052 |
+
/**
|
1053 |
+
* acf_flush_field_cache
|
1054 |
+
*
|
1055 |
+
* Deletes all caches for this field.
|
1056 |
+
*
|
1057 |
+
* @date 22/1/19
|
1058 |
+
* @since 5.7.10
|
1059 |
+
*
|
1060 |
+
* @param array $field The field array.
|
1061 |
+
* @return void
|
1062 |
+
*/
|
1063 |
+
function acf_flush_field_cache( $field ) {
|
1064 |
+
|
1065 |
+
// Delete stored data.
|
1066 |
+
acf_get_store( 'fields' )->remove( $field['key'] );
|
1067 |
+
|
1068 |
+
// Flush cached post_id for this field's name and key.
|
1069 |
+
wp_cache_delete( acf_cache_key("acf_get_field_post:name:{$field['name']}"), 'acf' );
|
1070 |
+
wp_cache_delete( acf_cache_key("acf_get_field_post:key:{$field['key']}"), 'acf' );
|
1071 |
+
|
1072 |
+
// Flush cached array of post_ids for this field's parent.
|
1073 |
+
wp_cache_delete( acf_cache_key("acf_get_field_posts:{$field['parent']}"), 'acf' );
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
/**
|
1077 |
+
* acf_delete_field
|
1078 |
+
*
|
1079 |
+
* Deletes a field from the database.
|
1080 |
+
*
|
1081 |
+
* @date 21/1/19
|
1082 |
+
* @since 5.7.10
|
1083 |
+
*
|
1084 |
+
* @param (int|string) $id The field ID, key or name.
|
1085 |
+
* @return bool True if field was deleted.
|
1086 |
+
*/
|
1087 |
+
function acf_delete_field( $id = 0 ) {
|
1088 |
+
|
1089 |
+
// Get the field.
|
1090 |
+
$field = acf_get_field( $id );
|
1091 |
+
|
1092 |
+
// Bail early if field was not found.
|
1093 |
+
if( !$field || !$field['ID'] ) {
|
1094 |
+
return false;
|
1095 |
+
}
|
1096 |
+
|
1097 |
+
// Delete post.
|
1098 |
+
wp_delete_post( $field['ID'], true );
|
1099 |
+
|
1100 |
+
// Flush field cache.
|
1101 |
+
acf_flush_field_cache( $field );
|
1102 |
+
|
1103 |
+
/**
|
1104 |
+
* Fires immediately after a field has been deleted.
|
1105 |
+
*
|
1106 |
+
* @date 12/02/2014
|
1107 |
+
* @since 5.0.0
|
1108 |
+
*
|
1109 |
+
* @param array $field The field array.
|
1110 |
+
*/
|
1111 |
+
do_action( "acf/delete_field", $field );
|
1112 |
+
|
1113 |
+
// Return true.
|
1114 |
+
return true;
|
1115 |
+
}
|
1116 |
+
|
1117 |
+
// Register variation.
|
1118 |
+
acf_add_action_variations( 'acf/delete_field', array('type', 'name', 'key'), 0 );
|
1119 |
+
|
1120 |
+
/**
|
1121 |
+
* acf_trash_field
|
1122 |
+
*
|
1123 |
+
* Trashes a field from the database.
|
1124 |
+
*
|
1125 |
+
* @date 2/10/13
|
1126 |
+
* @since 5.0.0
|
1127 |
+
*
|
1128 |
+
* @param (int|string) $id The field ID, key or name.
|
1129 |
+
* @return bool True if field was trashed.
|
1130 |
+
*/
|
1131 |
+
function acf_trash_field( $id = 0 ) {
|
1132 |
+
|
1133 |
+
// Get the field.
|
1134 |
+
$field = acf_get_field( $id );
|
1135 |
+
|
1136 |
+
// Bail early if field was not found.
|
1137 |
+
if( !$field || !$field['ID'] ) {
|
1138 |
+
return false;
|
1139 |
+
}
|
1140 |
+
|
1141 |
+
// Trash post.
|
1142 |
+
wp_trash_post( $field['ID'], true );
|
1143 |
+
|
1144 |
+
/**
|
1145 |
+
* Fires immediately after a field has been trashed.
|
1146 |
+
*
|
1147 |
+
* @date 12/02/2014
|
1148 |
+
* @since 5.0.0
|
1149 |
+
*
|
1150 |
+
* @param array $field The field array.
|
1151 |
+
*/
|
1152 |
+
do_action( 'acf/trash_field', $field );
|
1153 |
+
|
1154 |
+
// Return true.
|
1155 |
+
return true;
|
1156 |
+
}
|
1157 |
+
|
1158 |
+
/**
|
1159 |
+
* acf_untrash_field
|
1160 |
+
*
|
1161 |
+
* Restores a field from the trash.
|
1162 |
+
*
|
1163 |
+
* @date 2/10/13
|
1164 |
+
* @since 5.0.0
|
1165 |
+
*
|
1166 |
+
* @param (int|string) $id The field ID, key or name.
|
1167 |
+
* @return bool True if field was trashed.
|
1168 |
+
*/
|
1169 |
+
function acf_untrash_field( $id = 0 ) {
|
1170 |
+
|
1171 |
+
// Get the field.
|
1172 |
+
$field = acf_get_field( $id );
|
1173 |
+
|
1174 |
+
// Bail early if field was not found.
|
1175 |
+
if( !$field || !$field['ID'] ) {
|
1176 |
+
return false;
|
1177 |
+
}
|
1178 |
+
|
1179 |
+
// Untrash post.
|
1180 |
+
wp_untrash_post( $field['ID'], true );
|
1181 |
+
|
1182 |
+
// Flush field cache.
|
1183 |
+
acf_flush_field_cache( $field );
|
1184 |
+
|
1185 |
+
/**
|
1186 |
+
* Fires immediately after a field has been trashed.
|
1187 |
+
*
|
1188 |
+
* @date 12/02/2014
|
1189 |
+
* @since 5.0.0
|
1190 |
+
*
|
1191 |
+
* @param array $field The field array.
|
1192 |
+
*/
|
1193 |
+
do_action( 'acf/untrash_field', $field );
|
1194 |
+
|
1195 |
+
// Return true.
|
1196 |
+
return true;
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
/**
|
1200 |
+
* acf_prefix_fields
|
1201 |
+
*
|
1202 |
+
* Changes the prefix for an array of fields by reference.
|
1203 |
+
*
|
1204 |
+
* @date 5/9/17
|
1205 |
+
* @since 5.6.0
|
1206 |
+
*
|
1207 |
+
* @param array $fields An array of fields.
|
1208 |
+
* @param string $prefix The new prefix.
|
1209 |
+
* @return void
|
1210 |
+
*/
|
1211 |
+
function acf_prefix_fields( &$fields, $prefix = 'acf' ) {
|
1212 |
+
|
1213 |
+
// Loopover fields.
|
1214 |
+
foreach( $fields as &$field ) {
|
1215 |
+
|
1216 |
+
// Replace 'acf' with $prefix.
|
1217 |
+
$field['prefix'] = $prefix . substr($field['prefix'], 3);
|
1218 |
+
}
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
/**
|
1222 |
+
* acf_get_sub_field
|
1223 |
+
*
|
1224 |
+
* Searches a field for sub fields matching the given selector.
|
1225 |
+
*
|
1226 |
+
* @date 21/1/19
|
1227 |
+
* @since 5.7.10
|
1228 |
+
*
|
1229 |
+
* @param (int|string) $id The field ID, key or name.
|
1230 |
+
* @param array $field The parent field array.
|
1231 |
+
* @return (array|false)
|
1232 |
+
*/
|
1233 |
+
function acf_get_sub_field( $id, $field ) {
|
1234 |
+
|
1235 |
+
// Vars.
|
1236 |
+
$sub_field = false;
|
1237 |
+
|
1238 |
+
// Search sub fields.
|
1239 |
+
if( isset($field['sub_fields']) ) {
|
1240 |
+
$sub_field = acf_search_fields( $id, $field['sub_fields'] );
|
1241 |
+
}
|
1242 |
+
|
1243 |
+
/**
|
1244 |
+
* Filters the $sub_field found.
|
1245 |
+
*
|
1246 |
+
* @date 12/02/2014
|
1247 |
+
* @since 5.0.0
|
1248 |
+
*
|
1249 |
+
* @param array $sub_field The found sub field array.
|
1250 |
+
* @param string $selector The selector used to search.
|
1251 |
+
* @param array $field The parent field array.
|
1252 |
+
*/
|
1253 |
+
$sub_field = apply_filters( "acf/get_sub_field", $sub_field, $id, $field );
|
1254 |
+
|
1255 |
+
// return
|
1256 |
+
return $sub_field;
|
1257 |
+
|
1258 |
+
}
|
1259 |
+
|
1260 |
+
// Register variation.
|
1261 |
+
acf_add_filter_variations( 'acf/get_sub_field', array('type'), 2 );
|
1262 |
+
|
1263 |
+
/**
|
1264 |
+
* acf_search_fields
|
1265 |
+
*
|
1266 |
+
* Searches an array of fields for one that matches the given identifier.
|
1267 |
+
*
|
1268 |
+
* @date 12/2/19
|
1269 |
+
* @since 5.7.11
|
1270 |
+
*
|
1271 |
+
* @param (int|string) $id The field ID, key or name.
|
1272 |
+
* @param array $haystack The array of fields.
|
1273 |
+
* @return (int|false)
|
1274 |
+
*/
|
1275 |
+
function acf_search_fields( $id, $fields ) {
|
1276 |
+
|
1277 |
+
// Loop over fields.
|
1278 |
+
foreach( $fields as $field ) {
|
1279 |
+
foreach( array( 'key', 'name', '_name', '__name' ) as $key ) {
|
1280 |
+
if( isset($field[$key]) && $field[$key] === $id ) {
|
1281 |
+
return $field;
|
1282 |
+
}
|
1283 |
+
}
|
1284 |
+
}
|
1285 |
+
|
1286 |
+
// Return not found.
|
1287 |
+
return false;
|
1288 |
+
}
|
1289 |
+
|
1290 |
+
/**
|
1291 |
+
* acf_is_field
|
1292 |
+
*
|
1293 |
+
* Returns true if the given params match a field.
|
1294 |
+
*
|
1295 |
+
* @date 21/1/19
|
1296 |
+
* @since 5.7.10
|
1297 |
+
*
|
1298 |
+
* @param array $field The field array.
|
1299 |
+
* @param mixed $id An optional identifier to search for.
|
1300 |
+
* @return bool
|
1301 |
+
*/
|
1302 |
+
function acf_is_field( $field = false, $id = '' ) {
|
1303 |
+
return (
|
1304 |
+
is_array($field)
|
1305 |
+
&& isset($field['key'])
|
1306 |
+
&& isset($field['name'])
|
1307 |
+
);
|
1308 |
+
}
|
1309 |
+
|
1310 |
+
/**
|
1311 |
+
* acf_get_field_ancestors
|
1312 |
+
*
|
1313 |
+
* Returns an array of ancestor field ID's or keys.
|
1314 |
+
*
|
1315 |
+
* @date 22/06/2016
|
1316 |
+
* @since 5.3.8
|
1317 |
+
*
|
1318 |
+
* @param array $field The field array.
|
1319 |
+
* @return array
|
1320 |
+
*/
|
1321 |
+
function acf_get_field_ancestors( $field ) {
|
1322 |
+
|
1323 |
+
// Vars.
|
1324 |
+
$ancestors = array();
|
1325 |
+
|
1326 |
+
// Loop over parents.
|
1327 |
+
while( $field = acf_get_field($field['parent']) ) {
|
1328 |
+
$ancestors[] = $field['ID'] ? $field['ID'] : $field['key'];
|
1329 |
+
}
|
1330 |
+
|
1331 |
+
// return
|
1332 |
+
return $ancestors;
|
1333 |
+
}
|
1334 |
+
|
1335 |
+
/**
|
1336 |
+
* acf_duplicate_fields
|
1337 |
+
*
|
1338 |
+
* Duplicate an array of fields.
|
1339 |
+
*
|
1340 |
+
* @date 16/06/2014
|
1341 |
+
* @since 5.0.0
|
1342 |
+
*
|
1343 |
+
* @param array $fields An array of fields.
|
1344 |
+
* @param int $parent_id The new parent ID.
|
1345 |
+
* @return array
|
1346 |
+
*/
|
1347 |
+
function acf_duplicate_fields( $fields = array(), $parent_id = 0 ) {
|
1348 |
+
|
1349 |
+
// Vars.
|
1350 |
+
$duplicates = array();
|
1351 |
+
|
1352 |
+
// Loop over fields and pre-generate new field keys (needed for conditional logic).
|
1353 |
+
$keys = array();
|
1354 |
+
foreach( $fields as $field ) {
|
1355 |
+
|
1356 |
+
// Delay for a microsecond to ensure a unique ID.
|
1357 |
+
usleep(1);
|
1358 |
+
$keys[ $field['key'] ] = uniqid('field_');
|
1359 |
+
}
|
1360 |
+
|
1361 |
+
// Store these keys for later use.
|
1362 |
+
acf_set_data( 'duplicates', $keys );
|
1363 |
+
|
1364 |
+
// Duplicate fields.
|
1365 |
+
foreach( $fields as $field ) {
|
1366 |
+
$duplicates[] = acf_duplicate_field( $field['ID'], $parent_id );
|
1367 |
+
}
|
1368 |
+
|
1369 |
+
// Return.
|
1370 |
+
return $duplicates;
|
1371 |
+
}
|
1372 |
+
|
1373 |
+
/**
|
1374 |
+
* acf_duplicate_field
|
1375 |
+
*
|
1376 |
+
* Duplicates a field.
|
1377 |
+
*
|
1378 |
+
* @date 16/06/2014
|
1379 |
+
* @since 5.0.0
|
1380 |
+
*
|
1381 |
+
* @param (int|string) $id The field ID, key or name.
|
1382 |
+
* @param int $parent_id The new parent ID.
|
1383 |
+
* @return bool True if field was duplicated.
|
1384 |
+
*/
|
1385 |
+
function acf_duplicate_field( $id = 0, $parent_id = 0 ){
|
1386 |
+
|
1387 |
+
// Get the field.
|
1388 |
+
$field = acf_get_field( $id );
|
1389 |
+
|
1390 |
+
// Bail early if field was not found.
|
1391 |
+
if( !$field ) {
|
1392 |
+
return false;
|
1393 |
+
}
|
1394 |
+
|
1395 |
+
// Remove ID to avoid update.
|
1396 |
+
$field['ID'] = 0;
|
1397 |
+
|
1398 |
+
// Generate key.
|
1399 |
+
$keys = acf_get_data( 'duplicates' );
|
1400 |
+
$field['key'] = isset($keys[ $field['key'] ]) ? $keys[ $field['key'] ] : uniqid('field_');
|
1401 |
+
|
1402 |
+
// Set parent.
|
1403 |
+
if( $parent_id ) {
|
1404 |
+
$field['parent'] = $parent_id;
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
// Update conditional logic references because field keys have changed.
|
1408 |
+
if( $field['conditional_logic'] ) {
|
1409 |
+
|
1410 |
+
// Loop over groups
|
1411 |
+
foreach( $field['conditional_logic'] as $group_i => $group ) {
|
1412 |
+
|
1413 |
+
// Loop over rules
|
1414 |
+
foreach( $group as $rule_i => $rule ) {
|
1415 |
+
$field['conditional_logic'][ $group_i ][ $rule_i ]['field'] = isset($keys[ $rule['field'] ]) ? $keys[ $rule['field'] ] : $rule['field'];
|
1416 |
+
}
|
1417 |
+
}
|
1418 |
+
}
|
1419 |
+
|
1420 |
+
/**
|
1421 |
+
* Filters the $field array after it has been duplicated.
|
1422 |
+
*
|
1423 |
+
* @date 12/02/2014
|
1424 |
+
* @since 5.0.0
|
1425 |
+
*
|
1426 |
+
* @param array $field The field array.
|
1427 |
+
*/
|
1428 |
+
$field = apply_filters( "acf/duplicate_field", $field);
|
1429 |
+
|
1430 |
+
// Update and return.
|
1431 |
+
return acf_update_field( $field );
|
1432 |
+
}
|
1433 |
+
|
1434 |
+
// Register variation.
|
1435 |
+
acf_add_filter_variations( 'acf/duplicate_field', array('type'), 0 );
|
1436 |
+
|
1437 |
+
/**
|
1438 |
+
* acf_prepare_fields_for_export
|
1439 |
+
*
|
1440 |
+
* Returns a modified array of fields ready for export.
|
1441 |
+
*
|
1442 |
+
* @date 11/03/2014
|
1443 |
+
* @since 5.0.0
|
1444 |
+
*
|
1445 |
+
* @param array $fields An array of fields.
|
1446 |
+
* @return array
|
1447 |
+
*/
|
1448 |
+
function acf_prepare_fields_for_export( $fields = array() ) {
|
1449 |
+
|
1450 |
+
// Map function and return.
|
1451 |
+
return array_map( 'acf_prepare_field_for_export', $fields );
|
1452 |
+
}
|
1453 |
+
|
1454 |
+
/**
|
1455 |
+
* acf_prepare_field_for_export
|
1456 |
+
*
|
1457 |
+
* Returns a modified field ready for export.
|
1458 |
+
*
|
1459 |
+
* @date 11/03/2014
|
1460 |
+
* @since 5.0.0
|
1461 |
+
*
|
1462 |
+
* @param array $field The field array.
|
1463 |
+
* @return array
|
1464 |
+
*/
|
1465 |
+
function acf_prepare_field_for_export( $field ) {
|
1466 |
+
|
1467 |
+
// Remove args.
|
1468 |
+
acf_extract_vars( $field, array( 'ID', 'prefix', 'value', 'menu_order', 'id', 'class', 'parent', '_name', '_prepare', '_valid' ) );
|
1469 |
+
|
1470 |
+
/**
|
1471 |
+
* Filters the $field array before being returned to the export tool.
|
1472 |
+
*
|
1473 |
+
* @date 12/02/2014
|
1474 |
+
* @since 5.0.0
|
1475 |
+
*
|
1476 |
+
* @param array $field The field array.
|
1477 |
+
*/
|
1478 |
+
$field = apply_filters( "acf/prepare_field_for_export", $field );
|
1479 |
+
|
1480 |
+
// Return field.
|
1481 |
+
return $field;
|
1482 |
+
}
|
1483 |
+
|
1484 |
+
// Register variation.
|
1485 |
+
acf_add_filter_variations( 'acf/prepare_field_for_export', array('type'), 0 );
|
1486 |
+
|
1487 |
+
/**
|
1488 |
+
* acf_prepare_field_for_import
|
1489 |
+
*
|
1490 |
+
* Returns a modified array of fields ready for import.
|
1491 |
+
*
|
1492 |
+
* @date 11/03/2014
|
1493 |
+
* @since 5.0.0
|
1494 |
+
*
|
1495 |
+
* @param array $fields An array of fields.
|
1496 |
+
* @return array
|
1497 |
+
*/
|
1498 |
+
function acf_prepare_fields_for_import( $fields = array() ) {
|
1499 |
+
|
1500 |
+
// Ensure array indexes are clean.
|
1501 |
+
$fields = array_values($fields);
|
1502 |
+
|
1503 |
+
// Loop through fields allowing for growth.
|
1504 |
+
$i = 0;
|
1505 |
+
while( $i < count($fields) ) {
|
1506 |
+
|
1507 |
+
// Prepare for import.
|
1508 |
+
$field = acf_prepare_field_for_import( $fields[ $i ] );
|
1509 |
+
|
1510 |
+
// Allow multiple fields to be returned (parent + children).
|
1511 |
+
if( is_array($field) && !isset($field['key']) ) {
|
1512 |
+
|
1513 |
+
// Replace this field ($i) with all returned fields.
|
1514 |
+
array_splice( $fields, $i, 1, $field );
|
1515 |
+
}
|
1516 |
+
|
1517 |
+
// Iterate.
|
1518 |
+
$i++;
|
1519 |
+
}
|
1520 |
+
|
1521 |
+
/**
|
1522 |
+
* Filters the $fields array before being returned to the import tool.
|
1523 |
+
*
|
1524 |
+
* @date 12/02/2014
|
1525 |
+
* @since 5.0.0
|
1526 |
+
*
|
1527 |
+
* @param array $field The field array.
|
1528 |
+
*/
|
1529 |
+
$fields = apply_filters( 'acf/prepare_fields_for_import', $fields );
|
1530 |
+
|
1531 |
+
// Return.
|
1532 |
+
return $fields;
|
1533 |
+
}
|
1534 |
+
|
1535 |
+
/**
|
1536 |
+
* acf_prepare_field_for_import
|
1537 |
+
*
|
1538 |
+
* Returns a modified field ready for import.
|
1539 |
+
* Allows parent fields to modify themselves and also return sub fields.
|
1540 |
+
*
|
1541 |
+
* @date 11/03/2014
|
1542 |
+
* @since 5.0.0
|
1543 |
+
*
|
1544 |
+
* @param array $field The field array.
|
1545 |
+
* @return array
|
1546 |
+
*/
|
1547 |
+
function acf_prepare_field_for_import( $field ) {
|
1548 |
+
|
1549 |
+
/**
|
1550 |
+
* Filters the $field array before being returned to the import tool.
|
1551 |
+
*
|
1552 |
+
* @date 12/02/2014
|
1553 |
+
* @since 5.0.0
|
1554 |
+
*
|
1555 |
+
* @param array $field The field array.
|
1556 |
+
*/
|
1557 |
+
$field = apply_filters( "acf/prepare_field_for_import", $field );
|
1558 |
+
|
1559 |
+
// Return field.
|
1560 |
+
return $field;
|
1561 |
+
}
|
1562 |
+
|
1563 |
+
// Register variation.
|
1564 |
+
acf_add_filter_variations( 'acf/prepare_field_for_import', array('type'), 0 );
|
includes/acf-field-group-functions.php
ADDED
@@ -0,0 +1,1063 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Register store.
|
4 |
+
acf_register_store( 'field-groups' )->prop( 'multisite', true );
|
5 |
+
|
6 |
+
/**
|
7 |
+
* acf_get_field_group
|
8 |
+
*
|
9 |
+
* Retrieves a field group for the given identifier.
|
10 |
+
*
|
11 |
+
* @date 30/09/13
|
12 |
+
* @since 5.0.0
|
13 |
+
*
|
14 |
+
* @param (int|string) $id The field group ID, key or name.
|
15 |
+
* @return (array|false) The field group array.
|
16 |
+
*/
|
17 |
+
function acf_get_field_group( $id = 0 ) {
|
18 |
+
|
19 |
+
// Allow WP_Post to be passed.
|
20 |
+
if( is_object($id) ) {
|
21 |
+
$id = $id->ID;
|
22 |
+
}
|
23 |
+
|
24 |
+
// Check store.
|
25 |
+
$store = acf_get_store( 'field-groups' );
|
26 |
+
if( $store->has( $id ) ) {
|
27 |
+
return $store->get( $id );
|
28 |
+
}
|
29 |
+
|
30 |
+
// Check local fields first.
|
31 |
+
if( acf_is_local_field_group($id) ) {
|
32 |
+
$field_group = acf_get_local_field_group( $id );
|
33 |
+
|
34 |
+
// Then check database.
|
35 |
+
} else {
|
36 |
+
$field_group = acf_get_raw_field_group( $id );
|
37 |
+
}
|
38 |
+
|
39 |
+
// Bail early if no field group.
|
40 |
+
if( !$field_group ) {
|
41 |
+
return false;
|
42 |
+
}
|
43 |
+
|
44 |
+
// Validate field group.
|
45 |
+
$field_group = acf_validate_field_group( $field_group );
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Filters the $field_group array after it has been loaded.
|
49 |
+
*
|
50 |
+
* @date 12/02/2014
|
51 |
+
* @since 5.0.0
|
52 |
+
*
|
53 |
+
* @param array The field_group array.
|
54 |
+
*/
|
55 |
+
$field_group = apply_filters( 'acf/get_field_group', $field_group );
|
56 |
+
$field_group = apply_filters( 'acf/load_field_group', $field_group );
|
57 |
+
|
58 |
+
// Store field group using aliasses to also find via key, ID and name.
|
59 |
+
$store->set( $field_group['key'], $field_group );
|
60 |
+
$store->alias( $field_group['key'], $field_group['ID'] );
|
61 |
+
|
62 |
+
// Return.
|
63 |
+
return $field_group;
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* acf_get_raw_field_group
|
68 |
+
*
|
69 |
+
* Retrieves raw field group data for the given identifier.
|
70 |
+
*
|
71 |
+
* @date 18/1/19
|
72 |
+
* @since 5.7.10
|
73 |
+
*
|
74 |
+
* @param (int|string) $id The field ID, key or name.
|
75 |
+
* @return (array|false) The field group array.
|
76 |
+
*/
|
77 |
+
function acf_get_raw_field_group( $id = 0 ) {
|
78 |
+
|
79 |
+
// Get raw field group from database.
|
80 |
+
$post = acf_get_field_group_post( $id );
|
81 |
+
if( !$post ) {
|
82 |
+
return false;
|
83 |
+
}
|
84 |
+
|
85 |
+
// Bail early if incorrect post type.
|
86 |
+
if( $post->post_type !== 'acf-field-group' ) {
|
87 |
+
return false;
|
88 |
+
}
|
89 |
+
|
90 |
+
// Unserialize post_content.
|
91 |
+
$field_group = (array) maybe_unserialize( $post->post_content );
|
92 |
+
|
93 |
+
// update attributes
|
94 |
+
$field_group['ID'] = $post->ID;
|
95 |
+
$field_group['title'] = $post->post_title;
|
96 |
+
$field_group['key'] = $post->post_name;
|
97 |
+
$field_group['menu_order'] = $post->menu_order;
|
98 |
+
$field_group['active'] = in_array($post->post_status, array('publish', 'auto-draft'));
|
99 |
+
|
100 |
+
// Return field.
|
101 |
+
return $field_group;
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* acf_get_field_group_post
|
106 |
+
*
|
107 |
+
* Retrieves the field group's WP_Post object.
|
108 |
+
*
|
109 |
+
* @date 18/1/19
|
110 |
+
* @since 5.7.10
|
111 |
+
*
|
112 |
+
* @param (int|string) $id The field group's ID, key or name.
|
113 |
+
* @return (array|false) The field group's array.
|
114 |
+
*/
|
115 |
+
function acf_get_field_group_post( $id = 0 ) {
|
116 |
+
|
117 |
+
// Get post if numeric.
|
118 |
+
if( is_numeric($id) ) {
|
119 |
+
return get_post( $id );
|
120 |
+
|
121 |
+
// Search posts if is string.
|
122 |
+
} elseif( is_string($id) ) {
|
123 |
+
|
124 |
+
// Try cache.
|
125 |
+
$cache_key = acf_cache_key( "acf_get_field_group_post:key:$id" );
|
126 |
+
$post_id = wp_cache_get( $cache_key, 'acf' );
|
127 |
+
if( $post_id === false ) {
|
128 |
+
|
129 |
+
// Query posts.
|
130 |
+
$posts = get_posts(array(
|
131 |
+
'posts_per_page' => 1,
|
132 |
+
'post_type' => 'acf-field-group',
|
133 |
+
'post_status' => array('publish', 'acf-disabled', 'trash'),
|
134 |
+
'orderby' => 'menu_order title',
|
135 |
+
'order' => 'ASC',
|
136 |
+
'suppress_filters' => false,
|
137 |
+
'cache_results' => true,
|
138 |
+
'update_post_meta_cache' => false,
|
139 |
+
'update_post_term_cache' => false,
|
140 |
+
'acf_group_key' => $id
|
141 |
+
));
|
142 |
+
|
143 |
+
// Update $post_id with a non false value.
|
144 |
+
$post_id = $posts ? $posts[0]->ID : 0;
|
145 |
+
|
146 |
+
// Update cache.
|
147 |
+
wp_cache_set( $cache_key, $post_id, 'acf' );
|
148 |
+
}
|
149 |
+
|
150 |
+
// Check $post_id and return the post when possible.
|
151 |
+
if( $post_id ) {
|
152 |
+
return get_post( $post_id );
|
153 |
+
}
|
154 |
+
}
|
155 |
+
|
156 |
+
// Return false by default.
|
157 |
+
return false;
|
158 |
+
}
|
159 |
+
|
160 |
+
/**
|
161 |
+
* acf_is_field_group_key
|
162 |
+
*
|
163 |
+
* Returns true if the given identifier is a field group key.
|
164 |
+
*
|
165 |
+
* @date 6/12/2013
|
166 |
+
* @since 5.0.0
|
167 |
+
*
|
168 |
+
* @param string $id The identifier.
|
169 |
+
* @return bool
|
170 |
+
*/
|
171 |
+
function acf_is_field_group_key( $id = '' ) {
|
172 |
+
|
173 |
+
// Check if $id is a string starting with "group_".
|
174 |
+
if( is_string($id) && substr($id, 0, 6) === 'group_' ) {
|
175 |
+
return true;
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Filters whether the $id is a field group key.
|
180 |
+
*
|
181 |
+
* @date 23/1/19
|
182 |
+
* @since 5.7.10
|
183 |
+
*
|
184 |
+
* @param bool $bool The result.
|
185 |
+
* @param string $id The identifier.
|
186 |
+
*/
|
187 |
+
return apply_filters( 'acf/is_field_group_key', false, $id );
|
188 |
+
}
|
189 |
+
|
190 |
+
/**
|
191 |
+
* acf_validate_field_group
|
192 |
+
*
|
193 |
+
* Ensures the given field group is valid.
|
194 |
+
*
|
195 |
+
* @date 18/1/19
|
196 |
+
* @since 5.7.10
|
197 |
+
*
|
198 |
+
* @param array $field The field group array.
|
199 |
+
* @return array
|
200 |
+
*/
|
201 |
+
function acf_validate_field_group( $field_group = array() ) {
|
202 |
+
|
203 |
+
// Bail early if already valid.
|
204 |
+
if( is_array($field_group) && !empty($field_group['_valid']) ) {
|
205 |
+
return $field_group;
|
206 |
+
}
|
207 |
+
|
208 |
+
// Apply defaults.
|
209 |
+
$field_group = wp_parse_args($field_group, array(
|
210 |
+
'ID' => 0,
|
211 |
+
'key' => '',
|
212 |
+
'title' => '',
|
213 |
+
'fields' => array(),
|
214 |
+
'location' => array(),
|
215 |
+
'menu_order' => 0,
|
216 |
+
'position' => 'normal',
|
217 |
+
'style' => 'default',
|
218 |
+
'label_placement' => 'top',
|
219 |
+
'instruction_placement' => 'label',
|
220 |
+
'hide_on_screen' => array(),
|
221 |
+
'active' => true,
|
222 |
+
'description' => '',
|
223 |
+
));
|
224 |
+
|
225 |
+
// Field group is now valid.
|
226 |
+
$field_group['_valid'] = 1;
|
227 |
+
|
228 |
+
/**
|
229 |
+
* Filters the $field_group array to validate settings.
|
230 |
+
*
|
231 |
+
* @date 12/02/2014
|
232 |
+
* @since 5.0.0
|
233 |
+
*
|
234 |
+
* @param array $field_group The field group array.
|
235 |
+
*/
|
236 |
+
$field_group = apply_filters( 'acf/validate_field_group', $field_group );
|
237 |
+
|
238 |
+
// return
|
239 |
+
return $field_group;
|
240 |
+
}
|
241 |
+
|
242 |
+
/**
|
243 |
+
* acf_get_valid_field_group
|
244 |
+
*
|
245 |
+
* Ensures the given field group is valid.
|
246 |
+
*
|
247 |
+
* @date 28/09/13
|
248 |
+
* @since 5.0.0
|
249 |
+
*
|
250 |
+
* @param array $field_group The field group array.
|
251 |
+
* @return array
|
252 |
+
*/
|
253 |
+
function acf_get_valid_field_group( $field_group = false ) {
|
254 |
+
return acf_validate_field_group( $field_group );
|
255 |
+
}
|
256 |
+
|
257 |
+
/**
|
258 |
+
* acf_translate_field_group
|
259 |
+
*
|
260 |
+
* Translates a field group's settings.
|
261 |
+
*
|
262 |
+
* @date 8/03/2016
|
263 |
+
* @since 5.3.2
|
264 |
+
*
|
265 |
+
* @param array $field_group The field group array.
|
266 |
+
* @return array
|
267 |
+
*/
|
268 |
+
function acf_translate_field_group( $field_group = array() ) {
|
269 |
+
|
270 |
+
// Get settings.
|
271 |
+
$l10n = acf_get_setting('l10n');
|
272 |
+
$l10n_textdomain = acf_get_setting('l10n_textdomain');
|
273 |
+
|
274 |
+
// Translate field settings if textdomain is set.
|
275 |
+
if( $l10n && $l10n_textdomain ) {
|
276 |
+
|
277 |
+
$field_group['title'] = acf_translate( $field_group['title'] );
|
278 |
+
|
279 |
+
/**
|
280 |
+
* Filters the $field group array to translate strings.
|
281 |
+
*
|
282 |
+
* @date 12/02/2014
|
283 |
+
* @since 5.0.0
|
284 |
+
*
|
285 |
+
* @param array $field_group The field group array.
|
286 |
+
*/
|
287 |
+
$field_group = apply_filters( "acf/translate_field_group", $field_group );
|
288 |
+
}
|
289 |
+
|
290 |
+
// Return field.
|
291 |
+
return $field_group;
|
292 |
+
}
|
293 |
+
|
294 |
+
// Translate field groups passing through validation.
|
295 |
+
add_action('acf/validate_field_group', 'acf_translate_field_group');
|
296 |
+
|
297 |
+
|
298 |
+
/**
|
299 |
+
* acf_get_field_groups
|
300 |
+
*
|
301 |
+
* Returns and array of field_groups for the given $filter.
|
302 |
+
*
|
303 |
+
* @date 30/09/13
|
304 |
+
* @since 5.0.0
|
305 |
+
*
|
306 |
+
* @param array $filter An array of args to filter results by.
|
307 |
+
* @return array
|
308 |
+
*/
|
309 |
+
function acf_get_field_groups( $filter = array() ) {
|
310 |
+
|
311 |
+
// Vars.
|
312 |
+
$field_groups = array();
|
313 |
+
|
314 |
+
// Check database.
|
315 |
+
$raw_field_groups = acf_get_raw_field_groups();
|
316 |
+
if( $raw_field_groups ) {
|
317 |
+
foreach( $raw_field_groups as $raw_field_group ) {
|
318 |
+
$field_groups[] = acf_get_field_group( $raw_field_group['ID'] );
|
319 |
+
}
|
320 |
+
}
|
321 |
+
|
322 |
+
|
323 |
+
/**
|
324 |
+
* Filters the $field_groups array.
|
325 |
+
*
|
326 |
+
* @date 12/02/2014
|
327 |
+
* @since 5.0.0
|
328 |
+
*
|
329 |
+
* @param array $field_groups The array of field_groups.
|
330 |
+
*/
|
331 |
+
$field_groups = apply_filters( 'acf/load_field_groups', $field_groups );
|
332 |
+
$field_groups = apply_filters( 'acf/get_field_groups', $field_groups );
|
333 |
+
|
334 |
+
// Filter results.
|
335 |
+
if( $filter ) {
|
336 |
+
return acf_filter_field_groups( $field_groups, $filter );
|
337 |
+
}
|
338 |
+
|
339 |
+
// Return field groups.
|
340 |
+
return $field_groups;
|
341 |
+
}
|
342 |
+
|
343 |
+
/**
|
344 |
+
* acf_get_raw_field_groups
|
345 |
+
*
|
346 |
+
* Returns and array of raw field_group data.
|
347 |
+
*
|
348 |
+
* @date 18/1/19
|
349 |
+
* @since 5.7.10
|
350 |
+
*
|
351 |
+
* @param void
|
352 |
+
* @return array
|
353 |
+
*/
|
354 |
+
function acf_get_raw_field_groups() {
|
355 |
+
|
356 |
+
// Try cache.
|
357 |
+
$cache_key = acf_cache_key( "acf_get_field_group_posts" );
|
358 |
+
$post_ids = wp_cache_get( $cache_key, 'acf' );
|
359 |
+
if( $post_ids === false ) {
|
360 |
+
|
361 |
+
// Query posts.
|
362 |
+
$posts = get_posts(array(
|
363 |
+
'posts_per_page' => -1,
|
364 |
+
'post_type' => 'acf-field-group',
|
365 |
+
'orderby' => 'menu_order title',
|
366 |
+
'order' => 'ASC',
|
367 |
+
'suppress_filters' => false, // Allow WPML to modify the query
|
368 |
+
'cache_results' => true,
|
369 |
+
'update_post_meta_cache' => false,
|
370 |
+
'update_post_term_cache' => false,
|
371 |
+
'post_status' => array('publish', 'acf-disabled'),
|
372 |
+
));
|
373 |
+
|
374 |
+
// Update $post_ids with a non false value.
|
375 |
+
$post_ids = array();
|
376 |
+
foreach( $posts as $post ) {
|
377 |
+
$post_ids[] = $post->ID;
|
378 |
+
}
|
379 |
+
|
380 |
+
// Update cache.
|
381 |
+
wp_cache_set( $cache_key, $post_ids, 'acf' );
|
382 |
+
}
|
383 |
+
|
384 |
+
// Loop over ids and populate array of field groups.
|
385 |
+
$field_groups = array();
|
386 |
+
foreach( $post_ids as $post_id ) {
|
387 |
+
$field_groups[] = acf_get_raw_field_group( $post_id );
|
388 |
+
}
|
389 |
+
|
390 |
+
// Return field groups.
|
391 |
+
return $field_groups;
|
392 |
+
}
|
393 |
+
|
394 |
+
/**
|
395 |
+
* acf_filter_field_groups
|
396 |
+
*
|
397 |
+
* Returns a filtered aray of field groups based on the given $args.
|
398 |
+
*
|
399 |
+
* @date 29/11/2013
|
400 |
+
* @since 5.0.0
|
401 |
+
*
|
402 |
+
* @param array $field_groups An array of field groups.
|
403 |
+
* @param array $args An array of location args.
|
404 |
+
* @return array
|
405 |
+
*/
|
406 |
+
function acf_filter_field_groups( $field_groups, $args = array() ) {
|
407 |
+
|
408 |
+
// Loop over field groups and check visibility.
|
409 |
+
$filtered = array();
|
410 |
+
if( $field_groups ) {
|
411 |
+
foreach( $field_groups as $field_group ) {
|
412 |
+
if( acf_get_field_group_visibility( $field_group, $args ) ) {
|
413 |
+
$filtered[] = $field_group;
|
414 |
+
}
|
415 |
+
}
|
416 |
+
}
|
417 |
+
|
418 |
+
// Return filtered.
|
419 |
+
return $filtered;
|
420 |
+
}
|
421 |
+
|
422 |
+
/**
|
423 |
+
* acf_get_field_group_visibility
|
424 |
+
*
|
425 |
+
* Returns true if the given field group's location rules match the given $args.
|
426 |
+
*
|
427 |
+
* @date 7/10/13
|
428 |
+
* @since 5.0.0
|
429 |
+
*
|
430 |
+
* @param array $field_groups An array of field groups.
|
431 |
+
* @param array $args An array of location args.
|
432 |
+
* @return bool
|
433 |
+
*/
|
434 |
+
function acf_get_field_group_visibility( $field_group, $args = array() ) {
|
435 |
+
|
436 |
+
// Check if active.
|
437 |
+
if( !$field_group['active'] ) {
|
438 |
+
return false;
|
439 |
+
}
|
440 |
+
|
441 |
+
// Check if location rules exist
|
442 |
+
if( $field_group['location'] ) {
|
443 |
+
|
444 |
+
// Get the current screen.
|
445 |
+
$screen = acf_get_location_screen( $args );
|
446 |
+
|
447 |
+
// Loop through location groups.
|
448 |
+
foreach( $field_group['location'] as $group ) {
|
449 |
+
|
450 |
+
// ignore group if no rules.
|
451 |
+
if( empty($group) ) {
|
452 |
+
continue;
|
453 |
+
}
|
454 |
+
|
455 |
+
// Loop over rules and determine if all rules match.
|
456 |
+
$match_group = true;
|
457 |
+
foreach( $group as $rule ) {
|
458 |
+
if( !acf_match_location_rule( $rule, $screen ) ) {
|
459 |
+
$match_group = false;
|
460 |
+
break;
|
461 |
+
}
|
462 |
+
}
|
463 |
+
|
464 |
+
// If this group matches, show the field group.
|
465 |
+
if( $match_group ) {
|
466 |
+
return true;
|
467 |
+
}
|
468 |
+
}
|
469 |
+
}
|
470 |
+
|
471 |
+
// Return default.
|
472 |
+
return false;
|
473 |
+
}
|
474 |
+
|
475 |
+
/**
|
476 |
+
* acf_update_field_group
|
477 |
+
*
|
478 |
+
* Updates a field group in the database.
|
479 |
+
*
|
480 |
+
* @date 21/1/19
|
481 |
+
* @since 5.7.10
|
482 |
+
*
|
483 |
+
* @param array $field_group The field group array.
|
484 |
+
* @return array
|
485 |
+
*/
|
486 |
+
function acf_update_field_group( $field_group ) {
|
487 |
+
|
488 |
+
// Validate field group.
|
489 |
+
$field_group = acf_get_valid_field_group( $field_group );
|
490 |
+
|
491 |
+
// May have been posted. Remove slashes.
|
492 |
+
$field_group = wp_unslash( $field_group );
|
493 |
+
|
494 |
+
// Parse types (converts string '0' to int 0).
|
495 |
+
$field_group = acf_parse_types( $field_group );
|
496 |
+
|
497 |
+
// Clean up location keys.
|
498 |
+
if( $field_group['location'] ) {
|
499 |
+
|
500 |
+
// Remove empty values and convert to associated array.
|
501 |
+
$field_group['location'] = array_filter( $field_group['location'] );
|
502 |
+
$field_group['location'] = array_values( $field_group['location'] );
|
503 |
+
$field_group['location'] = array_map( 'array_filter', $field_group['location'] );
|
504 |
+
$field_group['location'] = array_map( 'array_values', $field_group['location'] );
|
505 |
+
}
|
506 |
+
|
507 |
+
// Make a backup of field group data and remove some args.
|
508 |
+
$_field_group = $field_group;
|
509 |
+
acf_extract_vars( $_field_group, array( 'ID', 'key', 'title', 'menu_order', 'fields', 'active', '_valid' ) );
|
510 |
+
|
511 |
+
// Create array of data to save.
|
512 |
+
$save = array(
|
513 |
+
'ID' => $field_group['ID'],
|
514 |
+
'post_status' => $field_group['active'] ? 'publish' : 'acf-disabled',
|
515 |
+
'post_type' => 'acf-field-group',
|
516 |
+
'post_title' => $field_group['title'],
|
517 |
+
'post_name' => $field_group['key'],
|
518 |
+
'post_excerpt' => sanitize_title( $field_group['title'] ),
|
519 |
+
'post_content' => maybe_serialize( $_field_group ),
|
520 |
+
'menu_order' => $field_group['menu_order'],
|
521 |
+
);
|
522 |
+
|
523 |
+
// Slash data.
|
524 |
+
// WP expects all data to be slashed and will unslash it (fixes '\' character issues).
|
525 |
+
$save = wp_slash( $save );
|
526 |
+
|
527 |
+
// Update or Insert.
|
528 |
+
if( $field_group['ID'] ) {
|
529 |
+
wp_update_post( $save );
|
530 |
+
} else {
|
531 |
+
$field_group['ID'] = wp_insert_post( $save );
|
532 |
+
}
|
533 |
+
|
534 |
+
// Flush field group cache.
|
535 |
+
acf_flush_field_group_cache( $field_group );
|
536 |
+
|
537 |
+
/**
|
538 |
+
* Fires immediately after a field group has been updated.
|
539 |
+
*
|
540 |
+
* @date 12/02/2014
|
541 |
+
* @since 5.0.0
|
542 |
+
*
|
543 |
+
* @param array $field_group The field group array.
|
544 |
+
*/
|
545 |
+
do_action( 'acf/update_field_group', $field_group );
|
546 |
+
|
547 |
+
// Return field group.
|
548 |
+
return $field_group;
|
549 |
+
}
|
550 |
+
|
551 |
+
/**
|
552 |
+
* _acf_apply_unique_field_group_slug
|
553 |
+
*
|
554 |
+
* Allows full control over 'acf-field-group' slugs.
|
555 |
+
*
|
556 |
+
* @date 21/1/19
|
557 |
+
* @since 5.7.10
|
558 |
+
*
|
559 |
+
* @param string $slug The post slug.
|
560 |
+
* @param int $post_ID Post ID.
|
561 |
+
* @param string $post_status The post status.
|
562 |
+
* @param string $post_type Post type.
|
563 |
+
* @param int $post_parent Post parent ID
|
564 |
+
* @param string $original_slug The original post slug.
|
565 |
+
*/
|
566 |
+
function _acf_apply_unique_field_group_slug( $slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug ) {
|
567 |
+
|
568 |
+
// Check post type and reset to original value.
|
569 |
+
if( $post_type === 'acf-field-group' ) {
|
570 |
+
return $original_slug;
|
571 |
+
}
|
572 |
+
|
573 |
+
// Return slug.
|
574 |
+
return $slug;
|
575 |
+
}
|
576 |
+
|
577 |
+
// Hook into filter.
|
578 |
+
add_filter( 'wp_unique_post_slug', '_acf_apply_unique_field_group_slug', 999, 6 );
|
579 |
+
|
580 |
+
/**
|
581 |
+
* acf_flush_field_group_cache
|
582 |
+
*
|
583 |
+
* Deletes all caches for this field group.
|
584 |
+
*
|
585 |
+
* @date 22/1/19
|
586 |
+
* @since 5.7.10
|
587 |
+
*
|
588 |
+
* @param array $field_group The field group array.
|
589 |
+
* @return void
|
590 |
+
*/
|
591 |
+
function acf_flush_field_group_cache( $field_group ) {
|
592 |
+
|
593 |
+
// Delete stored data.
|
594 |
+
acf_get_store( 'field-groups' )->remove( $field_group['key'] );
|
595 |
+
|
596 |
+
// Flush cached post_id for this field group's key.
|
597 |
+
wp_cache_delete( acf_cache_key( "acf_get_field_group_post:key:{$field_group['key']}" ), 'acf' );
|
598 |
+
|
599 |
+
// Flush cached array of post_ids for collection of field groups.
|
600 |
+
wp_cache_delete( acf_cache_key( "acf_get_field_group_posts" ), 'acf' );
|
601 |
+
}
|
602 |
+
|
603 |
+
/**
|
604 |
+
* acf_delete_field_group
|
605 |
+
*
|
606 |
+
* Deletes a field group from the database.
|
607 |
+
*
|
608 |
+
* @date 21/1/19
|
609 |
+
* @since 5.7.10
|
610 |
+
*
|
611 |
+
* @param (int|string) $id The field group ID, key or name.
|
612 |
+
* @return bool True if field group was deleted.
|
613 |
+
*/
|
614 |
+
function acf_delete_field_group( $id = 0 ) {
|
615 |
+
|
616 |
+
// Disable filters to ensure ACF loads data from DB.
|
617 |
+
acf_disable_filters();
|
618 |
+
|
619 |
+
// Get the field_group.
|
620 |
+
$field_group = acf_get_field_group( $id );
|
621 |
+
|
622 |
+
// Bail early if field group was not found.
|
623 |
+
if( !$field_group || !$field_group['ID'] ) {
|
624 |
+
return false;
|
625 |
+
}
|
626 |
+
|
627 |
+
// Delete fields.
|
628 |
+
$fields = acf_get_fields( $field_group );
|
629 |
+
if( $fields ) {
|
630 |
+
foreach( $fields as $field ) {
|
631 |
+
acf_delete_field( $field['ID'] );
|
632 |
+
}
|
633 |
+
}
|
634 |
+
|
635 |
+
// Delete post.
|
636 |
+
wp_delete_post( $field_group['ID'], true );
|
637 |
+
|
638 |
+
// Flush field group cache.
|
639 |
+
acf_flush_field_group_cache( $field_group );
|
640 |
+
|
641 |
+
/**
|
642 |
+
* Fires immediately after a field group has been deleted.
|
643 |
+
*
|
644 |
+
* @date 12/02/2014
|
645 |
+
* @since 5.0.0
|
646 |
+
*
|
647 |
+
* @param array $field_group The field group array.
|
648 |
+
*/
|
649 |
+
do_action( 'acf/delete_field_group', $field_group );
|
650 |
+
|
651 |
+
// Return true.
|
652 |
+
return true;
|
653 |
+
}
|
654 |
+
|
655 |
+
/**
|
656 |
+
* acf_trash_field_group
|
657 |
+
*
|
658 |
+
* Trashes a field group from the database.
|
659 |
+
*
|
660 |
+
* @date 2/10/13
|
661 |
+
* @since 5.0.0
|
662 |
+
*
|
663 |
+
* @param (int|string) $id The field group ID, key or name.
|
664 |
+
* @return bool True if field group was trashed.
|
665 |
+
*/
|
666 |
+
function acf_trash_field_group( $id = 0 ) {
|
667 |
+
|
668 |
+
// Disable filters to ensure ACF loads data from DB.
|
669 |
+
acf_disable_filters();
|
670 |
+
|
671 |
+
// Get the field_group.
|
672 |
+
$field_group = acf_get_field_group( $id );
|
673 |
+
|
674 |
+
// Bail early if field_group was not found.
|
675 |
+
if( !$field_group || !$field_group['ID'] ) {
|
676 |
+
return false;
|
677 |
+
}
|
678 |
+
|
679 |
+
// Trash fields.
|
680 |
+
$fields = acf_get_fields( $field_group );
|
681 |
+
if( $fields ) {
|
682 |
+
foreach( $fields as $field ) {
|
683 |
+
acf_trash_field( $field['ID'] );
|
684 |
+
}
|
685 |
+
}
|
686 |
+
|
687 |
+
// Trash post.
|
688 |
+
wp_trash_post( $field_group['ID'], true );
|
689 |
+
|
690 |
+
// Flush field group cache.
|
691 |
+
acf_flush_field_group_cache( $field_group );
|
692 |
+
|
693 |
+
/**
|
694 |
+
* Fires immediately after a field_group has been trashed.
|
695 |
+
*
|
696 |
+
* @date 12/02/2014
|
697 |
+
* @since 5.0.0
|
698 |
+
*
|
699 |
+
* @param array $field_group The field_group array.
|
700 |
+
*/
|
701 |
+
do_action( 'acf/trash_field_group', $field_group );
|
702 |
+
|
703 |
+
// Return true.
|
704 |
+
return true;
|
705 |
+
}
|
706 |
+
|
707 |
+
/**
|
708 |
+
* acf_untrash_field_group
|
709 |
+
*
|
710 |
+
* Restores a field_group from the trash.
|
711 |
+
*
|
712 |
+
* @date 2/10/13
|
713 |
+
* @since 5.0.0
|
714 |
+
*
|
715 |
+
* @param (int|string) $id The field_group ID, key or name.
|
716 |
+
* @return bool True if field_group was trashed.
|
717 |
+
*/
|
718 |
+
function acf_untrash_field_group( $id = 0 ) {
|
719 |
+
|
720 |
+
// Disable filters to ensure ACF loads data from DB.
|
721 |
+
acf_disable_filters();
|
722 |
+
|
723 |
+
// Get the field_group.
|
724 |
+
$field_group = acf_get_field_group( $id );
|
725 |
+
|
726 |
+
// Bail early if field_group was not found.
|
727 |
+
if( !$field_group || !$field_group['ID'] ) {
|
728 |
+
return false;
|
729 |
+
}
|
730 |
+
|
731 |
+
// Untrash fields.
|
732 |
+
$fields = acf_get_fields( $field_group );
|
733 |
+
if( $fields ) {
|
734 |
+
foreach( $fields as $field ) {
|
735 |
+
acf_untrash_field( $field['ID'] );
|
736 |
+
}
|
737 |
+
}
|
738 |
+
|
739 |
+
// Untrash post.
|
740 |
+
wp_untrash_post( $field_group['ID'], true );
|
741 |
+
|
742 |
+
// Flush field group cache.
|
743 |
+
acf_flush_field_group_cache( $field_group );
|
744 |
+
|
745 |
+
/**
|
746 |
+
* Fires immediately after a field_group has been trashed.
|
747 |
+
*
|
748 |
+
* @date 12/02/2014
|
749 |
+
* @since 5.0.0
|
750 |
+
*
|
751 |
+
* @param array $field_group The field_group array.
|
752 |
+
*/
|
753 |
+
do_action( 'acf/untrash_field_group', $field_group );
|
754 |
+
|
755 |
+
// Return true.
|
756 |
+
return true;
|
757 |
+
}
|
758 |
+
|
759 |
+
/**
|
760 |
+
* acf_is_field_group
|
761 |
+
*
|
762 |
+
* Returns true if the given params match a field group.
|
763 |
+
*
|
764 |
+
* @date 21/1/19
|
765 |
+
* @since 5.7.10
|
766 |
+
*
|
767 |
+
* @param array $field_group The field group array.
|
768 |
+
* @param mixed $id An optional identifier to search for.
|
769 |
+
* @return bool
|
770 |
+
*/
|
771 |
+
function acf_is_field_group( $field_group = false ) {
|
772 |
+
return (
|
773 |
+
is_array($field_group)
|
774 |
+
&& isset($field_group['key'])
|
775 |
+
&& isset($field_group['title'])
|
776 |
+
);
|
777 |
+
}
|
778 |
+
|
779 |
+
/**
|
780 |
+
* acf_duplicate_field_group
|
781 |
+
*
|
782 |
+
* Duplicates a field group.
|
783 |
+
*
|
784 |
+
* @date 16/06/2014
|
785 |
+
* @since 5.0.0
|
786 |
+
*
|
787 |
+
* @param (int|string) $id The field_group ID, key or name.
|
788 |
+
* @param int $new_post_id Optional post ID to override.
|
789 |
+
* @return array The new field group.
|
790 |
+
*/
|
791 |
+
function acf_duplicate_field_group( $id = 0, $new_post_id = 0 ){
|
792 |
+
|
793 |
+
// Disable filters to ensure ACF loads data from DB.
|
794 |
+
acf_disable_filters();
|
795 |
+
|
796 |
+
// Get the field_group.
|
797 |
+
$field_group = acf_get_field_group( $id );
|
798 |
+
|
799 |
+
// Bail early if field_group was not found.
|
800 |
+
if( !$field_group || !$field_group['ID'] ) {
|
801 |
+
return false;
|
802 |
+
}
|
803 |
+
|
804 |
+
// Get fields.
|
805 |
+
$fields = acf_get_fields( $field_group );
|
806 |
+
|
807 |
+
// Update attributes.
|
808 |
+
$field_group['ID'] = $new_post_id;
|
809 |
+
$field_group['key'] = uniqid('group_');
|
810 |
+
|
811 |
+
// Add (copy) to title when apropriate.
|
812 |
+
if( !$new_post_id ) {
|
813 |
+
$field_group['title'] .= ' (' . __("copy", 'acf') . ')';
|
814 |
+
}
|
815 |
+
|
816 |
+
// When importing a new field group, insert a temporary post and set the field group's ID.
|
817 |
+
// This allows fields to be updated before the field group (field group ID is needed for field parent setting).
|
818 |
+
if( !$field_group['ID'] ) {
|
819 |
+
$field_group['ID'] = wp_insert_post( array( 'post_title' => $field_group['key'] ) );
|
820 |
+
}
|
821 |
+
|
822 |
+
// Duplicate fields.
|
823 |
+
$duplicates = acf_duplicate_fields( $fields, $field_group['ID'] );
|
824 |
+
|
825 |
+
// Save field group.
|
826 |
+
$field_group = acf_update_field_group( $field_group );
|
827 |
+
|
828 |
+
/**
|
829 |
+
* Fires immediately after a field_group has been duplicated.
|
830 |
+
*
|
831 |
+
* @date 12/02/2014
|
832 |
+
* @since 5.0.0
|
833 |
+
*
|
834 |
+
* @param array $field_group The field_group array.
|
835 |
+
*/
|
836 |
+
do_action( 'acf/duplicate_field_group', $field_group );
|
837 |
+
|
838 |
+
// return
|
839 |
+
return $field_group;
|
840 |
+
}
|
841 |
+
|
842 |
+
/**
|
843 |
+
* acf_get_field_group_style
|
844 |
+
*
|
845 |
+
* Returns the CSS styles generated from field group settings.
|
846 |
+
*
|
847 |
+
* @date 20/10/13
|
848 |
+
* @since 5.0.0
|
849 |
+
*
|
850 |
+
* @param array $field_group The field group array.
|
851 |
+
* @return string.
|
852 |
+
*/
|
853 |
+
function acf_get_field_group_style( $field_group ) {
|
854 |
+
|
855 |
+
// Vars.
|
856 |
+
$style = '';
|
857 |
+
$elements = array(
|
858 |
+
'permalink' => '#edit-slug-box',
|
859 |
+
'the_content' => '#postdivrich',
|
860 |
+
'excerpt' => '#postexcerpt',
|
861 |
+
'custom_fields' => '#postcustom',
|
862 |
+
'discussion' => '#commentstatusdiv',
|
863 |
+
'comments' => '#commentsdiv',
|
864 |
+
'slug' => '#slugdiv',
|
865 |
+
'author' => '#authordiv',
|
866 |
+
'format' => '#formatdiv',
|
867 |
+
'page_attributes' => '#pageparentdiv',
|
868 |
+
'featured_image' => '#postimagediv',
|
869 |
+
'revisions' => '#revisionsdiv',
|
870 |
+
'categories' => '#categorydiv',
|
871 |
+
'tags' => '#tagsdiv-post_tag',
|
872 |
+
'send-trackbacks' => '#trackbacksdiv'
|
873 |
+
);
|
874 |
+
|
875 |
+
// Loop over field group settings and generate list of selectors to hide.
|
876 |
+
if( is_array($field_group['hide_on_screen']) ) {
|
877 |
+
$hide = array();
|
878 |
+
foreach( $field_group['hide_on_screen'] as $k ) {
|
879 |
+
if( isset($elements[ $k ]) ) {
|
880 |
+
$id = $elements[ $k ];
|
881 |
+
$hide[] = $id;
|
882 |
+
$hide[] = '#screen-meta label[for=' . substr($id, 1) . '-hide]';
|
883 |
+
}
|
884 |
+
}
|
885 |
+
$style = implode(', ', $hide) . ' {display: none;}';
|
886 |
+
}
|
887 |
+
|
888 |
+
/**
|
889 |
+
* Filters the generated CSS styles.
|
890 |
+
*
|
891 |
+
* @date 12/02/2014
|
892 |
+
* @since 5.0.0
|
893 |
+
*
|
894 |
+
* @param string $style The CSS styles.
|
895 |
+
* @param array $field_group The field group array.
|
896 |
+
*/
|
897 |
+
return apply_filters('acf/get_field_group_style', $style, $field_group);
|
898 |
+
}
|
899 |
+
|
900 |
+
/**
|
901 |
+
* acf_get_field_group_edit_link
|
902 |
+
*
|
903 |
+
* Checks if the current user can edit the field group and returns the edit url.
|
904 |
+
*
|
905 |
+
* @date 23/9/18
|
906 |
+
* @since 5.7.7
|
907 |
+
*
|
908 |
+
* @param int $post_id The field group ID.
|
909 |
+
* @return string
|
910 |
+
*/
|
911 |
+
function acf_get_field_group_edit_link( $post_id ) {
|
912 |
+
if( $post_id && acf_current_user_can_admin() ) {
|
913 |
+
return admin_url('post.php?post=' . $post_id . '&action=edit');
|
914 |
+
}
|
915 |
+
return '';
|
916 |
+
}
|
917 |
+
|
918 |
+
/**
|
919 |
+
* acf_prepare_field_group_for_export
|
920 |
+
*
|
921 |
+
* Returns a modified field group ready for export.
|
922 |
+
*
|
923 |
+
* @date 11/03/2014
|
924 |
+
* @since 5.0.0
|
925 |
+
*
|
926 |
+
* @param array $field_group The field group array.
|
927 |
+
* @return array
|
928 |
+
*/
|
929 |
+
function acf_prepare_field_group_for_export( $field_group = array() ) {
|
930 |
+
|
931 |
+
// Remove args.
|
932 |
+
acf_extract_vars( $field_group, array( 'ID', 'local', '_valid' ) );
|
933 |
+
|
934 |
+
// Prepare fields.
|
935 |
+
$field_group['fields'] = acf_prepare_fields_for_export( $field_group['fields'] );
|
936 |
+
|
937 |
+
/**
|
938 |
+
* Filters the $field_group array before being returned to the export tool.
|
939 |
+
*
|
940 |
+
* @date 12/02/2014
|
941 |
+
* @since 5.0.0
|
942 |
+
*
|
943 |
+
* @param array $field_group The $field group array.
|
944 |
+
*/
|
945 |
+
return apply_filters( 'acf/prepare_field_group_for_export', $field_group );
|
946 |
+
}
|
947 |
+
|
948 |
+
/**
|
949 |
+
* acf_import_field_group
|
950 |
+
*
|
951 |
+
* Imports a field group into the databse.
|
952 |
+
*
|
953 |
+
* @date 11/03/2014
|
954 |
+
* @since 5.0.0
|
955 |
+
*
|
956 |
+
* @param array $field_group The field group array.
|
957 |
+
* @return array The new field group.
|
958 |
+
*/
|
959 |
+
function acf_import_field_group( $field_group ) {
|
960 |
+
|
961 |
+
// Disable filters to ensure data is not modified by local, clone, etc.
|
962 |
+
acf_disable_filters();
|
963 |
+
|
964 |
+
// Validate field group.
|
965 |
+
$field_group = acf_get_valid_field_group( $field_group );
|
966 |
+
|
967 |
+
// Stores a map of field "key" => "ID".
|
968 |
+
$ids = array();
|
969 |
+
|
970 |
+
// Stores a map of field "parent_key" => "child_count".
|
971 |
+
$count = array();
|
972 |
+
|
973 |
+
// Prepare fields for import.
|
974 |
+
$fields = acf_prepare_fields_for_import( $field_group['fields'] );
|
975 |
+
|
976 |
+
// If the field group has an ID, review and delete stale fields in the databse.
|
977 |
+
if( $field_group['ID'] ) {
|
978 |
+
|
979 |
+
// Load database fields.
|
980 |
+
$db_fields = acf_get_fields( $field_group );
|
981 |
+
$db_fields = acf_prepare_fields_for_import( $db_fields );
|
982 |
+
|
983 |
+
// Generate map of "index" => "key" data.
|
984 |
+
$keys = wp_list_pluck( $fields, 'key' );
|
985 |
+
|
986 |
+
// Loop over db fields and delete those who don't exist in $new_fields.
|
987 |
+
foreach( $db_fields as $field ) {
|
988 |
+
|
989 |
+
// Add field data to $ids map.
|
990 |
+
$ids[ $field['key'] ] = $field['ID'];
|
991 |
+
|
992 |
+
// Delete field if not in $keys.
|
993 |
+
if( !in_array($field['key'], $keys) ) {
|
994 |
+
acf_delete_field( $field['ID'] );
|
995 |
+
}
|
996 |
+
}
|
997 |
+
}
|
998 |
+
|
999 |
+
// When importing a new field group, insert a temporary post and set the field group's ID.
|
1000 |
+
// This allows fields to be updated before the field group (field group ID is needed for field parent setting).
|
1001 |
+
if( !$field_group['ID'] ) {
|
1002 |
+
$field_group['ID'] = wp_insert_post( array( 'post_title' => $field_group['key'] ) );
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
// Add field group data to $ids map.
|
1006 |
+
$ids[ $field_group['key'] ] = $field_group['ID'];
|
1007 |
+
|
1008 |
+
// Add count to map.
|
1009 |
+
$count[ $field_group['ID'] ] = 0;
|
1010 |
+
|
1011 |
+
// Loop over and add fields.
|
1012 |
+
if( $fields ) {
|
1013 |
+
foreach( $fields as $field ) {
|
1014 |
+
|
1015 |
+
// Check $ids map for existing ID for this key.
|
1016 |
+
if( isset($ids[ $field['key'] ]) ) {
|
1017 |
+
$field['ID'] = $ids[ $field['key'] ];
|
1018 |
+
}
|
1019 |
+
|
1020 |
+
// Add field group as parent.
|
1021 |
+
if( empty($field['parent']) ) {
|
1022 |
+
$field['parent'] = $field_group['ID'];
|
1023 |
+
|
1024 |
+
// Check $ids map for existing parent
|
1025 |
+
} elseif( isset($ids[ $field['parent'] ]) ) {
|
1026 |
+
$field['parent'] = $ids[ $field['parent'] ];
|
1027 |
+
}
|
1028 |
+
|
1029 |
+
// Add field menu_order.
|
1030 |
+
if( !isset($count[ $field['parent'] ]) ) {
|
1031 |
+
$count[ $field['parent'] ] = 1;
|
1032 |
+
} else {
|
1033 |
+
$count[ $field['parent'] ]++;
|
1034 |
+
}
|
1035 |
+
$field['menu_order'] = ($count[ $field['parent'] ] - 1);
|
1036 |
+
|
1037 |
+
// Save field.
|
1038 |
+
$field = acf_update_field( $field );
|
1039 |
+
|
1040 |
+
// Add field data to $ids map.
|
1041 |
+
$ids[ $field['key'] ] = $field['ID'];
|
1042 |
+
}
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
// Save field group.
|
1046 |
+
$field_group = acf_update_field_group( $field_group );
|
1047 |
+
|
1048 |
+
// Enable filters again.
|
1049 |
+
acf_enable_filters();
|
1050 |
+
|
1051 |
+
/**
|
1052 |
+
* Fires immediately after a field_group has been imported.
|
1053 |
+
*
|
1054 |
+
* @date 12/02/2014
|
1055 |
+
* @since 5.0.0
|
1056 |
+
*
|
1057 |
+
* @param array $field_group The field_group array.
|
1058 |
+
*/
|
1059 |
+
do_action( 'acf/import_field_group', $field_group );
|
1060 |
+
|
1061 |
+
// return new field group.
|
1062 |
+
return $field_group;
|
1063 |
+
}
|
includes/acf-helper-functions.php
CHANGED
@@ -22,3 +22,56 @@ function acf_uniqid( $prefix = 'acf' ) {
|
|
22 |
// Return id.
|
23 |
return $prefix . '-' . $acf_uniqid++;
|
24 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
// Return id.
|
23 |
return $prefix . '-' . $acf_uniqid++;
|
24 |
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* acf_merge_attributes
|
28 |
+
*
|
29 |
+
* Merges together two arrays but with extra functionality to append class names.
|
30 |
+
*
|
31 |
+
* @date 22/1/19
|
32 |
+
* @since 5.7.10
|
33 |
+
*
|
34 |
+
* @param array $array1 An array of attributes.
|
35 |
+
* @param array $array2 An array of attributes.
|
36 |
+
* @return array
|
37 |
+
*/
|
38 |
+
function acf_merge_attributes( $array1, $array2 ) {
|
39 |
+
|
40 |
+
// Merge together attributes.
|
41 |
+
$array3 = array_merge( $array1, $array2 );
|
42 |
+
|
43 |
+
// Append together special attributes.
|
44 |
+
foreach( array('class', 'style') as $key ) {
|
45 |
+
if( isset($array1[$key]) && isset($array2[$key]) ) {
|
46 |
+
$array3[$key] = trim($array1[$key]) . ' ' . trim($array2[$key]);
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
// Return
|
51 |
+
return $array3;
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* acf_cache_key
|
56 |
+
*
|
57 |
+
* Returns a filtered cache key.
|
58 |
+
*
|
59 |
+
* @date 25/1/19
|
60 |
+
* @since 5.7.11
|
61 |
+
*
|
62 |
+
* @param string $key The cache key.
|
63 |
+
* @return string
|
64 |
+
*/
|
65 |
+
function acf_cache_key( $key = '' ) {
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Filters the cache key.
|
69 |
+
*
|
70 |
+
* @date 25/1/19
|
71 |
+
* @since 5.7.11
|
72 |
+
*
|
73 |
+
* @param string $key The cache key.
|
74 |
+
* @param string $original_key The original cache key.
|
75 |
+
*/
|
76 |
+
return apply_filters( "acf/get_cache_key", $key, $key );
|
77 |
+
}
|
includes/acf-hook-functions.php
ADDED
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Register store.
|
4 |
+
acf_register_store( 'hook-variations' );
|
5 |
+
|
6 |
+
/**
|
7 |
+
* acf_add_filter_variations
|
8 |
+
*
|
9 |
+
* Registers variations for the given filter.
|
10 |
+
*
|
11 |
+
* @date 26/1/19
|
12 |
+
* @since 5.7.11
|
13 |
+
*
|
14 |
+
* @param string $filter The filter name.
|
15 |
+
* @param array $variations An array variation keys.
|
16 |
+
* @param int $index The param index to find variation values.
|
17 |
+
* @return void
|
18 |
+
*/
|
19 |
+
function acf_add_filter_variations( $filter = '', $variations = array(), $index = 0 ) {
|
20 |
+
|
21 |
+
// Store replacement data.
|
22 |
+
acf_get_store('hook-variations')->set( $filter, array(
|
23 |
+
'type' => 'filter',
|
24 |
+
'variations' => $variations,
|
25 |
+
'index' => $index,
|
26 |
+
));
|
27 |
+
|
28 |
+
// Add generic handler.
|
29 |
+
// Use a priotiry of 10, and accepted args of 10 (ignored by WP).
|
30 |
+
add_filter( $filter, '_acf_apply_hook_variations', 10, 10 );
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* acf_add_action_variations
|
35 |
+
*
|
36 |
+
* Registers variations for the given action.
|
37 |
+
*
|
38 |
+
* @date 26/1/19
|
39 |
+
* @since 5.7.11
|
40 |
+
*
|
41 |
+
* @param string $action The action name.
|
42 |
+
* @param array $variations An array variation keys.
|
43 |
+
* @param int $index The param index to find variation values.
|
44 |
+
* @return void
|
45 |
+
*/
|
46 |
+
function acf_add_action_variations( $action = '', $variations = array(), $index = 0 ) {
|
47 |
+
|
48 |
+
// Store replacement data.
|
49 |
+
acf_get_store('hook-variations')->set( $action, array(
|
50 |
+
'type' => 'action',
|
51 |
+
'variations' => $variations,
|
52 |
+
'index' => $index,
|
53 |
+
));
|
54 |
+
|
55 |
+
// Add generic handler.
|
56 |
+
// Use a priotiry of 10, and accepted args of 10 (ignored by WP).
|
57 |
+
add_action( $action, '_acf_apply_hook_variations', 10, 10 );
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* _acf_apply_hook_variations
|
62 |
+
*
|
63 |
+
* Applys hook variations during apply_filters() or do_action().
|
64 |
+
*
|
65 |
+
* @date 25/1/19
|
66 |
+
* @since 5.7.11
|
67 |
+
*
|
68 |
+
* @param mixed
|
69 |
+
* @return mixed
|
70 |
+
*/
|
71 |
+
function _acf_apply_hook_variations() {
|
72 |
+
|
73 |
+
// Get current filter.
|
74 |
+
$filter = current_filter();
|
75 |
+
|
76 |
+
// Get args provided.
|
77 |
+
$args = func_get_args();
|
78 |
+
|
79 |
+
// Get variation information.
|
80 |
+
$variations = acf_get_store('hook-variations')->get( $filter );
|
81 |
+
extract( $variations );
|
82 |
+
|
83 |
+
// Find field in args using index.
|
84 |
+
$field = $args[ $index ];
|
85 |
+
|
86 |
+
// Loop over variations and apply filters.
|
87 |
+
foreach( $variations as $variation ) {
|
88 |
+
|
89 |
+
// Get value from field.
|
90 |
+
// First look for "backup" value ("_name", "_key").
|
91 |
+
if( isset($field[ "_$variation" ]) ) {
|
92 |
+
$value = $field[ "_$variation" ];
|
93 |
+
} elseif( isset($field[ $variation ]) ) {
|
94 |
+
$value = $field[ $variation ];
|
95 |
+
} else {
|
96 |
+
continue;
|
97 |
+
}
|
98 |
+
|
99 |
+
// Apply filters.
|
100 |
+
if( $type === 'filter' ) {
|
101 |
+
$args[0] = apply_filters_ref_array( "$filter/$variation=$value", $args );
|
102 |
+
|
103 |
+
// Or do action.
|
104 |
+
} else {
|
105 |
+
do_action_ref_array( "$filter/$variation=$value", $args );
|
106 |
+
}
|
107 |
+
}
|
108 |
+
|
109 |
+
// Return first arg.
|
110 |
+
return $args[0];
|
111 |
+
}
|
112 |
+
|
113 |
+
// Register store.
|
114 |
+
acf_register_store( 'deprecated-hooks' );
|
115 |
+
|
116 |
+
/**
|
117 |
+
* acf_add_deprecated_filter
|
118 |
+
*
|
119 |
+
* Registers a deprecated filter to run during the replacement.
|
120 |
+
*
|
121 |
+
* @date 25/1/19
|
122 |
+
* @since 5.7.11
|
123 |
+
*
|
124 |
+
* @param string $deprecated The deprecated hook.
|
125 |
+
* @param string $version The version this hook was deprecated.
|
126 |
+
* @param string $replacement The replacement hook.
|
127 |
+
* @return void
|
128 |
+
*/
|
129 |
+
function acf_add_deprecated_filter( $deprecated, $version, $replacement ) {
|
130 |
+
|
131 |
+
// Store replacement data.
|
132 |
+
acf_get_store('deprecated-hooks')->append(array(
|
133 |
+
'type' => 'filter',
|
134 |
+
'deprecated' => $deprecated,
|
135 |
+
'replacement' => $replacement,
|
136 |
+
'version' => $version
|
137 |
+
));
|
138 |
+
|
139 |
+
// Add generic handler.
|
140 |
+
// Use a priotiry of 10, and accepted args of 10 (ignored by WP).
|
141 |
+
add_filter( $replacement, '_acf_apply_deprecated_hook', 10, 10 );
|
142 |
+
}
|
143 |
+
|
144 |
+
/**
|
145 |
+
* acf_add_deprecated_action
|
146 |
+
*
|
147 |
+
* Registers a deprecated action to run during the replacement.
|
148 |
+
*
|
149 |
+
* @date 25/1/19
|
150 |
+
* @since 5.7.11
|
151 |
+
*
|
152 |
+
* @param string $deprecated The deprecated hook.
|
153 |
+
* @param string $version The version this hook was deprecated.
|
154 |
+
* @param string $replacement The replacement hook.
|
155 |
+
* @return void
|
156 |
+
*/
|
157 |
+
function acf_add_deprecated_action( $deprecated, $version, $replacement ) {
|
158 |
+
|
159 |
+
// Store replacement data.
|
160 |
+
acf_get_store('deprecated-hooks')->append(array(
|
161 |
+
'type' => 'action',
|
162 |
+
'deprecated' => $deprecated,
|
163 |
+
'replacement' => $replacement,
|
164 |
+
'version' => $version
|
165 |
+
));
|
166 |
+
|
167 |
+
// Add generic handler.
|
168 |
+
// Use a priotiry of 10, and accepted args of 10 (ignored by WP).
|
169 |
+
add_filter( $replacement, '_acf_apply_deprecated_hook', 10, 10 );
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* _acf_apply_deprecated_hook
|
174 |
+
*
|
175 |
+
* Applys a deprecated filter during apply_filters() or do_action().
|
176 |
+
*
|
177 |
+
* @date 25/1/19
|
178 |
+
* @since 5.7.11
|
179 |
+
*
|
180 |
+
* @param mixed
|
181 |
+
* @return mixed
|
182 |
+
*/
|
183 |
+
function _acf_apply_deprecated_hook() {
|
184 |
+
|
185 |
+
// Get current hook.
|
186 |
+
$hook = current_filter();
|
187 |
+
|
188 |
+
// Get args provided.
|
189 |
+
$args = func_get_args();
|
190 |
+
|
191 |
+
// Get deprecated items for this hook.
|
192 |
+
$items = acf_get_store('deprecated-hooks')->query(array( 'replacement' => $hook ));
|
193 |
+
|
194 |
+
// Loop over results.
|
195 |
+
foreach( $items as $item ) {
|
196 |
+
|
197 |
+
// Extract data.
|
198 |
+
extract( $item );
|
199 |
+
|
200 |
+
// Check if anyone is hooked into this deprecated hook.
|
201 |
+
if( has_filter($deprecated) ) {
|
202 |
+
|
203 |
+
// Log warning.
|
204 |
+
_deprecated_hook( $deprecated, $version, $hook );
|
205 |
+
|
206 |
+
// Apply filters.
|
207 |
+
if( $type === 'filter' ) {
|
208 |
+
$args[0] = apply_filters_ref_array( $deprecated, $args );
|
209 |
+
|
210 |
+
// Or do action.
|
211 |
+
} else {
|
212 |
+
do_action_ref_array( $deprecated, $args );
|
213 |
+
}
|
214 |
+
}
|
215 |
+
}
|
216 |
+
|
217 |
+
// Return first arg.
|
218 |
+
return $args[0];
|
219 |
+
}
|
220 |
+
|
includes/acf-meta-functions.php
ADDED
@@ -0,0 +1,355 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* acf_decode_post_id
|
5 |
+
*
|
6 |
+
* Returns an array containing the object type and id for the given post_id string.
|
7 |
+
*
|
8 |
+
* @date 25/1/19
|
9 |
+
* @since 5.7.11
|
10 |
+
*
|
11 |
+
* @param (int|string) $post_id The post id.
|
12 |
+
* @return array()
|
13 |
+
*/
|
14 |
+
function acf_decode_post_id( $post_id = 0 ) {
|
15 |
+
|
16 |
+
// Default data
|
17 |
+
$data = array(
|
18 |
+
'type' => 'post',
|
19 |
+
'id' => $post_id
|
20 |
+
);
|
21 |
+
|
22 |
+
// Check if is numeric.
|
23 |
+
if( is_numeric($post_id) ) {
|
24 |
+
$data['id'] = (int) $post_id;
|
25 |
+
|
26 |
+
// Check if is string.
|
27 |
+
} elseif( is_string($post_id) ) {
|
28 |
+
|
29 |
+
// Determine "{$type}_{$id}" from string.
|
30 |
+
$bits = explode( '_', $post_id );
|
31 |
+
$id = array_pop( $bits );
|
32 |
+
$type = implode( '_', $bits );
|
33 |
+
|
34 |
+
// Check if $type is meta.
|
35 |
+
if( function_exists("get_{$type}_meta") ) {
|
36 |
+
$data['type'] = $type;
|
37 |
+
$data['id'] = (int) $id;
|
38 |
+
|
39 |
+
// Check if is taxonomy name.
|
40 |
+
} elseif( taxonomy_exists($type) ) {
|
41 |
+
$data['type'] = 'term';
|
42 |
+
$data['id'] = (int) $id;
|
43 |
+
|
44 |
+
// Otherwise, default to option.
|
45 |
+
} else {
|
46 |
+
$data['type'] = 'option';
|
47 |
+
$data['id'] = $post_id;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Filters the $data array after it has been decoded.
|
53 |
+
*
|
54 |
+
* @date 12/02/2014
|
55 |
+
* @since 5.0.0
|
56 |
+
*
|
57 |
+
* @param array $data The type and id array.
|
58 |
+
*/
|
59 |
+
return apply_filters( "acf/decode_post_id", $data, $post_id );
|
60 |
+
}
|
61 |
+
|
62 |
+
/**
|
63 |
+
* acf_get_meta
|
64 |
+
*
|
65 |
+
* Returns an array of "ACF only" meta for the given post_id.
|
66 |
+
*
|
67 |
+
* @date 9/10/18
|
68 |
+
* @since 5.8.0
|
69 |
+
*
|
70 |
+
* @param mixed $post_id The post_id for this data.
|
71 |
+
* @return array
|
72 |
+
*/
|
73 |
+
function acf_get_meta( $post_id = 0 ) {
|
74 |
+
|
75 |
+
// Allow filter to short-circuit load_value logic.
|
76 |
+
$pre = apply_filters( "acf/pre_load_meta", null, $post_id );
|
77 |
+
if( $pre !== null ) {
|
78 |
+
return $pre;
|
79 |
+
}
|
80 |
+
|
81 |
+
// Decode $post_id for $type and $id.
|
82 |
+
extract( acf_decode_post_id($post_id) );
|
83 |
+
|
84 |
+
// Use get_$type_meta() function when possible.
|
85 |
+
if( function_exists("get_{$type}_meta") ) {
|
86 |
+
$allmeta = call_user_func("get_{$type}_meta", $id, '');
|
87 |
+
|
88 |
+
// Default to wp_options.
|
89 |
+
} else {
|
90 |
+
$allmeta = acf_get_option_meta( $id );
|
91 |
+
}
|
92 |
+
|
93 |
+
// Loop over meta and check that a reference exists for each value.
|
94 |
+
$meta = array();
|
95 |
+
foreach( $allmeta as $key => $value ) {
|
96 |
+
|
97 |
+
// If a reference exists for this value, add it to the meta array.
|
98 |
+
if( isset($allmeta["_$key"]) ) {
|
99 |
+
$meta[ $key ] = $allmeta[ $key ][0];
|
100 |
+
$meta[ "_$key" ] = $allmeta[ "_$key" ][0];
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
// Unserialized results (get_metadata does not unserialize if $key is empty).
|
105 |
+
$meta = array_map('maybe_unserialize', $meta);
|
106 |
+
|
107 |
+
/**
|
108 |
+
* Filters the $meta array after it has been loaded.
|
109 |
+
*
|
110 |
+
* @date 25/1/19
|
111 |
+
* @since 5.7.11
|
112 |
+
*
|
113 |
+
* @param array $meta The arary of loaded meta.
|
114 |
+
* @param string $post_id The $post_id for this meta.
|
115 |
+
*/
|
116 |
+
return apply_filters( "acf/load_meta", $meta, $post_id );
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
/**
|
121 |
+
* acf_get_option_meta
|
122 |
+
*
|
123 |
+
* Returns an array of meta for the given wp_option name prefix in the same format as get_post_meta().
|
124 |
+
*
|
125 |
+
* @date 9/10/18
|
126 |
+
* @since 5.8.0
|
127 |
+
*
|
128 |
+
* @param string $prefix The wp_option name prefix.
|
129 |
+
* @return array
|
130 |
+
*/
|
131 |
+
function acf_get_option_meta( $prefix = '' ) {
|
132 |
+
|
133 |
+
// Globals.
|
134 |
+
global $wpdb;
|
135 |
+
|
136 |
+
// Vars.
|
137 |
+
$meta = array();
|
138 |
+
$search = "{$prefix}_%";
|
139 |
+
$_search = "_{$prefix}_%";
|
140 |
+
|
141 |
+
// Escape underscores for LIKE.
|
142 |
+
$search = str_replace('_', '\_', $search);
|
143 |
+
$_search = str_replace('_', '\_', $_search);
|
144 |
+
|
145 |
+
// Query database for results.
|
146 |
+
$rows = $wpdb->get_results($wpdb->prepare(
|
147 |
+
"SELECT *
|
148 |
+
FROM $wpdb->options
|
149 |
+
WHERE option_name LIKE %s
|
150 |
+
OR option_name LIKE %s",
|
151 |
+
$search,
|
152 |
+
$_search
|
153 |
+
), ARRAY_A);
|
154 |
+
|
155 |
+
// Loop over results and append meta (removing the $prefix from the option name).
|
156 |
+
$len = strlen("{$prefix}_");
|
157 |
+
foreach( $rows as $row ) {
|
158 |
+
$meta[ substr($row['option_name'], $len) ][] = $row['option_value'];
|
159 |
+
}
|
160 |
+
|
161 |
+
// Return results.
|
162 |
+
return $meta;
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* acf_get_metadata
|
167 |
+
*
|
168 |
+
* Retrieves specific metadata from the database.
|
169 |
+
*
|
170 |
+
* @date 16/10/2015
|
171 |
+
* @since 5.2.3
|
172 |
+
*
|
173 |
+
* @param (int|string) $post_id The post id.
|
174 |
+
* @param string $name The meta name.
|
175 |
+
* @param bool $hidden If the meta is hidden (starts with an underscore).
|
176 |
+
* @return mixed
|
177 |
+
*/
|
178 |
+
function acf_get_metadata( $post_id = 0, $name = '', $hidden = false ) {
|
179 |
+
|
180 |
+
// Decode $post_id for $type and $id.
|
181 |
+
extract( acf_decode_post_id($post_id) );
|
182 |
+
|
183 |
+
// Hidden meta uses an underscore prefix.
|
184 |
+
$prefix = $hidden ? '_' : '';
|
185 |
+
|
186 |
+
// Bail early if no $id (possible during new acf_form).
|
187 |
+
if( !$id ) {
|
188 |
+
return null;
|
189 |
+
}
|
190 |
+
|
191 |
+
// Check option.
|
192 |
+
if( $type === 'option' ) {
|
193 |
+
return get_option( "{$prefix}{$id}_{$name}", null );
|
194 |
+
|
195 |
+
// Check meta.
|
196 |
+
} else {
|
197 |
+
$meta = get_metadata( $type, $id, "{$prefix}{$name}", false );
|
198 |
+
return isset($meta[0]) ? $meta[0] : null;
|
199 |
+
}
|
200 |
+
}
|
201 |
+
|
202 |
+
/**
|
203 |
+
* acf_update_metadata
|
204 |
+
*
|
205 |
+
* Updates metadata in the database.
|
206 |
+
*
|
207 |
+
* @date 16/10/2015
|
208 |
+
* @since 5.2.3
|
209 |
+
*
|
210 |
+
* @param (int|string) $post_id The post id.
|
211 |
+
* @param string $name The meta name.
|
212 |
+
* @param mixed $value The meta value.
|
213 |
+
* @param bool $hidden If the meta is hidden (starts with an underscore).
|
214 |
+
* @return (int|bool) Meta ID if the key didn't exist, true on successful update, false on failure.
|
215 |
+
*/
|
216 |
+
function acf_update_metadata( $post_id = 0, $name = '', $value = '', $hidden = false ) {
|
217 |
+
|
218 |
+
// Decode $post_id for $type and $id.
|
219 |
+
extract( acf_decode_post_id($post_id) );
|
220 |
+
|
221 |
+
// Hidden meta uses an underscore prefix.
|
222 |
+
$prefix = $hidden ? '_' : '';
|
223 |
+
|
224 |
+
// Bail early if no $id (possible during new acf_form).
|
225 |
+
if( !$id ) {
|
226 |
+
return false;
|
227 |
+
}
|
228 |
+
|
229 |
+
// Update option.
|
230 |
+
if( $type === 'option' ) {
|
231 |
+
|
232 |
+
// Unslash value to match update_metadata() functionality.
|
233 |
+
$value = wp_unslash( $value );
|
234 |
+
$autoload = (bool) acf_get_setting('autoload');
|
235 |
+
return update_option( "{$prefix}{$id}_{$name}", $value, $autoload );
|
236 |
+
|
237 |
+
// Update meta.
|
238 |
+
} else {
|
239 |
+
return update_metadata( $type, $id, "{$prefix}{$name}", $value );
|
240 |
+
}
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* acf_delete_metadata
|
245 |
+
*
|
246 |
+
* Deletes metadata from the database.
|
247 |
+
*
|
248 |
+
* @date 16/10/2015
|
249 |
+
* @since 5.2.3
|
250 |
+
*
|
251 |
+
* @param (int|string) $post_id The post id.
|
252 |
+
* @param string $name The meta name.
|
253 |
+
* @param bool $hidden If the meta is hidden (starts with an underscore).
|
254 |
+
* @return bool
|
255 |
+
*/
|
256 |
+
function acf_delete_metadata( $post_id = 0, $name = '', $hidden = false ) {
|
257 |
+
|
258 |
+
// Decode $post_id for $type and $id.
|
259 |
+
extract( acf_decode_post_id($post_id) );
|
260 |
+
|
261 |
+
// Hidden meta uses an underscore prefix.
|
262 |
+
$prefix = $hidden ? '_' : '';
|
263 |
+
|
264 |
+
// Bail early if no $id (possible during new acf_form).
|
265 |
+
if( !$id ) {
|
266 |
+
return false;
|
267 |
+
}
|
268 |
+
|
269 |
+
// Update option.
|
270 |
+
if( $type === 'option' ) {
|
271 |
+
$autoload = (bool) acf_get_setting('autoload');
|
272 |
+
return delete_option( "{$prefix}{$id}_{$name}" );
|
273 |
+
|
274 |
+
// Update meta.
|
275 |
+
} else {
|
276 |
+
return delete_metadata( $type, $id, "{$prefix}{$name}" );
|
277 |
+
}
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* acf_copy_postmeta
|
282 |
+
*
|
283 |
+
* Copies meta from one post to another. Useful for saving and restoring revisions.
|
284 |
+
*
|
285 |
+
* @date 25/06/2016
|
286 |
+
* @since 5.3.8
|
287 |
+
*
|
288 |
+
* @param (int|string) $from_post_id The post id to copy from.
|
289 |
+
* @param (int|string) $to_post_id The post id to paste to.
|
290 |
+
* @return void
|
291 |
+
*/
|
292 |
+
function acf_copy_metadata( $from_post_id = 0, $to_post_id = 0 ) {
|
293 |
+
|
294 |
+
// Get all postmeta.
|
295 |
+
$meta = acf_get_meta( $from_post_id );
|
296 |
+
|
297 |
+
// Check meta.
|
298 |
+
if( $meta ) {
|
299 |
+
|
300 |
+
// Slash data. WP expects all data to be slashed and will unslash it (fixes '\' character issues).
|
301 |
+
$meta = wp_slash( $meta );
|
302 |
+
|
303 |
+
// Loop over meta.
|
304 |
+
foreach( $meta as $name => $value ) {
|
305 |
+
acf_update_metadata( $to_post_id, $name, $value );
|
306 |
+
}
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* acf_copy_postmeta
|
312 |
+
*
|
313 |
+
* Copies meta from one post to another. Useful for saving and restoring revisions.
|
314 |
+
*
|
315 |
+
* @date 25/06/2016
|
316 |
+
* @since 5.3.8
|
317 |
+
* @deprecated 5.7.11
|
318 |
+
*
|
319 |
+
* @param int $from_post_id The post id to copy from.
|
320 |
+
* @param int $to_post_id The post id to paste to.
|
321 |
+
* @return void
|
322 |
+
*/
|
323 |
+
function acf_copy_postmeta( $from_post_id = 0, $to_post_id = 0 ) {
|
324 |
+
return acf_copy_metadata( $from_post_id, $to_post_id );
|
325 |
+
}
|
326 |
+
|
327 |
+
/**
|
328 |
+
* acf_get_meta_field
|
329 |
+
*
|
330 |
+
* Returns a field using the provided $id and $post_id parameters.
|
331 |
+
* Looks for a reference to help loading the correct field via name.
|
332 |
+
*
|
333 |
+
* @date 21/1/19
|
334 |
+
* @since 5.7.10
|
335 |
+
*
|
336 |
+
* @param string $key The meta name (field name).
|
337 |
+
* @param (int|string) $post_id The post_id where this field's value is saved.
|
338 |
+
* @return (array|false) The field array.
|
339 |
+
*/
|
340 |
+
function acf_get_meta_field( $key = 0, $post_id = 0 ) {
|
341 |
+
|
342 |
+
// Try reference.
|
343 |
+
$field_key = acf_get_reference( $key, $post_id );
|
344 |
+
|
345 |
+
if( $field_key ) {
|
346 |
+
$field = acf_get_field( $field_key );
|
347 |
+
if( $field ) {
|
348 |
+
$field['name'] = $key;
|
349 |
+
return $field;
|
350 |
+
}
|
351 |
+
}
|
352 |
+
|
353 |
+
// Return false.
|
354 |
+
return false;
|
355 |
+
}
|
includes/acf-post-functions.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* acf_get_post_templates
|
5 |
+
*
|
6 |
+
* Returns an array of post_type => templates data.
|
7 |
+
*
|
8 |
+
* @date 29/8/17
|
9 |
+
* @since 5.6.2
|
10 |
+
*
|
11 |
+
* @param void
|
12 |
+
* @return array
|
13 |
+
*/
|
14 |
+
function acf_get_post_templates() {
|
15 |
+
|
16 |
+
// Defaults.
|
17 |
+
$post_templates = array(
|
18 |
+
'page' => array()
|
19 |
+
);
|
20 |
+
|
21 |
+
// Loop over post types and append their templates.
|
22 |
+
if( method_exists('WP_Theme', 'get_page_templates') ) {
|
23 |
+
$post_types = acf_get_post_types();
|
24 |
+
foreach( $post_types as $post_type ) {
|
25 |
+
$templates = wp_get_theme()->get_page_templates( null, $post_type );
|
26 |
+
if( $templates ) {
|
27 |
+
$post_templates[ $post_type ] = $templates;
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
// Return.
|
33 |
+
return $post_templates;
|
34 |
+
}
|
includes/acf-value-functions.php
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Register store.
|
4 |
+
acf_register_store( 'values' )->prop( 'multisite', true );
|
5 |
+
|
6 |
+
/**
|
7 |
+
* acf_get_reference
|
8 |
+
*
|
9 |
+
* Retrieves the field key for a given field name and post_id.
|
10 |
+
*
|
11 |
+
* @date 26/1/18
|
12 |
+
* @since 5.6.5
|
13 |
+
*
|
14 |
+
* @param string $field_name The name of the field. eg 'sub_heading'.
|
15 |
+
* @param mixed $post_id The post_id of which the value is saved against.
|
16 |
+
* @return string The field key.
|
17 |
+
*/
|
18 |
+
function acf_get_reference( $field_name, $post_id ) {
|
19 |
+
|
20 |
+
// Allow filter to short-circuit load_value logic.
|
21 |
+
$reference = apply_filters( "acf/pre_load_reference", null, $field_name, $post_id );
|
22 |
+
if( $reference !== null ) {
|
23 |
+
return $reference;
|
24 |
+
}
|
25 |
+
|
26 |
+
// Get hidden meta for this field name.
|
27 |
+
$reference = acf_get_metadata( $post_id, $field_name, true );
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Filters the reference value.
|
31 |
+
*
|
32 |
+
* @date 25/1/19
|
33 |
+
* @since 5.7.11
|
34 |
+
*
|
35 |
+
* @param string $reference The reference value.
|
36 |
+
* @param string $field_name The field name.
|
37 |
+
* @param (int|string) $post_id The post ID where meta is stored.
|
38 |
+
*/
|
39 |
+
return apply_filters( "acf/load_reference", $reference, $field_name, $post_id );
|
40 |
+
}
|
41 |
+
|
42 |
+
// Register deprecated.
|
43 |
+
acf_add_deprecated_filter( 'acf/get_field_reference', '5.6.5', 'acf/load_reference' );
|
44 |
+
|
45 |
+
/**
|
46 |
+
* acf_get_value
|
47 |
+
*
|
48 |
+
* Retrieves the value for a given field and post_id.
|
49 |
+
*
|
50 |
+
* @date 28/09/13
|
51 |
+
* @since 5.0.0
|
52 |
+
*
|
53 |
+
* @param (int|string) $post_id The post id.
|
54 |
+
* @param array $field The field array.
|
55 |
+
* @return mixed.
|
56 |
+
*/
|
57 |
+
function acf_get_value( $post_id = 0, $field ) {
|
58 |
+
|
59 |
+
// Allow filter to short-circuit load_value logic.
|
60 |
+
$value = apply_filters( "acf/pre_load_value", null, $post_id, $field );
|
61 |
+
if( $value !== null ) {
|
62 |
+
return $value;
|
63 |
+
}
|
64 |
+
|
65 |
+
// Get field name.
|
66 |
+
$field_name = $field['name'];
|
67 |
+
|
68 |
+
// Check store.
|
69 |
+
$store = acf_get_store( 'values' );
|
70 |
+
if( $store->has( "$post_id:$field_name" ) ) {
|
71 |
+
return $store->get( "$post_id:$field_name" );
|
72 |
+
}
|
73 |
+
|
74 |
+
// Load value from database.
|
75 |
+
$value = acf_get_metadata( $post_id, $field_name );
|
76 |
+
|
77 |
+
// Use field's default_value if no meta was found.
|
78 |
+
if( $value === null && isset($field['default_value']) ) {
|
79 |
+
$value = $field['default_value'];
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Filters the $value after it has been loaded.
|
84 |
+
*
|
85 |
+
* @date 28/09/13
|
86 |
+
* @since 5.0.0
|
87 |
+
*
|
88 |
+
* @param mixed $value The value to preview.
|
89 |
+
* @param string $post_id The post ID for this value.
|
90 |
+
* @param array $field The field array.
|
91 |
+
*/
|
92 |
+
$value = apply_filters( "acf/load_value", $value, $post_id, $field );
|
93 |
+
|
94 |
+
// Update store.
|
95 |
+
$store->set( "$post_id:$field_name", $value );
|
96 |
+
|
97 |
+
// Return value.
|
98 |
+
return $value;
|
99 |
+
}
|
100 |
+
|
101 |
+
// Register variation.
|
102 |
+
acf_add_filter_variations( 'acf/load_value', array('type', 'name', 'key'), 2 );
|
103 |
+
|
104 |
+
/**
|
105 |
+
* acf_format_value
|
106 |
+
*
|
107 |
+
* Returns a formatted version of the provided value.
|
108 |
+
*
|
109 |
+
* @date 28/09/13
|
110 |
+
* @since 5.0.0
|
111 |
+
*
|
112 |
+
* @param mixed $value The field value.
|
113 |
+
* @param (int|string) $post_id The post id.
|
114 |
+
* @param array $field The field array.
|
115 |
+
* @return mixed.
|
116 |
+
*/
|
117 |
+
function acf_format_value( $value, $post_id, $field ) {
|
118 |
+
|
119 |
+
// Allow filter to short-circuit load_value logic.
|
120 |
+
$check = apply_filters( "acf/pre_format_value", null, $post_id, $field );
|
121 |
+
if( $check !== null ) {
|
122 |
+
return $check;
|
123 |
+
}
|
124 |
+
|
125 |
+
// Get field name.
|
126 |
+
$field_name = $field['name'];
|
127 |
+
|
128 |
+
// Check store.
|
129 |
+
$store = acf_get_store( 'values' );
|
130 |
+
if( $store->has( "$post_id:$field_name:formatted" ) ) {
|
131 |
+
return $store->get( "$post_id:$field_name:formatted" );
|
132 |
+
}
|
133 |
+
|
134 |
+
/**
|
135 |
+
* Filters the $value for use in a template function.
|
136 |
+
*
|
137 |
+
* @date 28/09/13
|
138 |
+
* @since 5.0.0
|
139 |
+
*
|
140 |
+
* @param mixed $value The value to preview.
|
141 |
+
* @param string $post_id The post ID for this value.
|
142 |
+
* @param array $field The field array.
|
143 |
+
*/
|
144 |
+
$value = apply_filters( "acf/format_value", $value, $post_id, $field );
|
145 |
+
|
146 |
+
// Update store.
|
147 |
+
$store->set( "$post_id:$field_name:formatted", $value );
|
148 |
+
|
149 |
+
// Return value.
|
150 |
+
return $value;
|
151 |
+
}
|
152 |
+
|
153 |
+
// Register variation.
|
154 |
+
acf_add_filter_variations( 'acf/format_value', array('type', 'name', 'key'), 2 );
|
155 |
+
|
156 |
+
/**
|
157 |
+
* acf_update_value
|
158 |
+
*
|
159 |
+
* Updates the value for a given field and post_id.
|
160 |
+
*
|
161 |
+
* @date 28/09/13
|
162 |
+
* @since 5.0.0
|
163 |
+
*
|
164 |
+
* @param mixed $value The new value.
|
165 |
+
* @param (int|string) $post_id The post id.
|
166 |
+
* @param array $field The field array.
|
167 |
+
* @return bool.
|
168 |
+
*/
|
169 |
+
function acf_update_value( $value = null, $post_id = 0, $field ) {
|
170 |
+
|
171 |
+
// Allow filter to short-circuit update_value logic.
|
172 |
+
$check = apply_filters( "acf/pre_update_value", null, $value, $post_id, $field );
|
173 |
+
if( $check !== null ) {
|
174 |
+
return $check;
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Filters the $value before it is updated.
|
179 |
+
*
|
180 |
+
* @date 28/09/13
|
181 |
+
* @since 5.0.0
|
182 |
+
*
|
183 |
+
* @param mixed $value The value to update.
|
184 |
+
* @param string $post_id The post ID for this value.
|
185 |
+
* @param array $field The field array.
|
186 |
+
* @param mixed $original The original value before modification.
|
187 |
+
*/
|
188 |
+
$value = apply_filters( "acf/update_value", $value, $post_id, $field, $value );
|
189 |
+
|
190 |
+
// Allow null to delete value.
|
191 |
+
if( $value === null ) {
|
192 |
+
return acf_delete_value( $post_id, $field );
|
193 |
+
}
|
194 |
+
|
195 |
+
// Update meta.
|
196 |
+
$return = acf_update_metadata( $post_id, $field['name'], $value );
|
197 |
+
|
198 |
+
// Update reference.
|
199 |
+
acf_update_metadata( $post_id, $field['name'], $field['key'], true );
|
200 |
+
|
201 |
+
// Delete stored data.
|
202 |
+
acf_flush_value_cache( $post_id, $field['name'] );
|
203 |
+
|
204 |
+
// Return update status.
|
205 |
+
return $return;
|
206 |
+
}
|
207 |
+
|
208 |
+
// Register variation.
|
209 |
+
acf_add_filter_variations( 'acf/update_value', array('type', 'name', 'key'), 2 );
|
210 |
+
|
211 |
+
/**
|
212 |
+
* acf_flush_value_cache
|
213 |
+
*
|
214 |
+
* Deletes all cached data for this value.
|
215 |
+
*
|
216 |
+
* @date 22/1/19
|
217 |
+
* @since 5.7.10
|
218 |
+
*
|
219 |
+
* @param (int|string) $post_id The post id.
|
220 |
+
* @param string $field_name The field name.
|
221 |
+
* @return void
|
222 |
+
*/
|
223 |
+
function acf_flush_value_cache( $post_id = 0, $field_name = '' ) {
|
224 |
+
|
225 |
+
// Delete stored data.
|
226 |
+
acf_get_store( 'values' )
|
227 |
+
->remove( "$post_id:$field_name" )
|
228 |
+
->remove( "$post_id:$field_name:formatted" );
|
229 |
+
}
|
230 |
+
|
231 |
+
/**
|
232 |
+
* acf_delete_value
|
233 |
+
*
|
234 |
+
* Deletes the value for a given field and post_id.
|
235 |
+
*
|
236 |
+
* @date 28/09/13
|
237 |
+
* @since 5.0.0
|
238 |
+
*
|
239 |
+
* @param (int|string) $post_id The post id.
|
240 |
+
* @param array $field The field array.
|
241 |
+
* @return bool.
|
242 |
+
*/
|
243 |
+
function acf_delete_value( $post_id, $field ) {
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Fires before a value is deleted.
|
247 |
+
*
|
248 |
+
* @date 28/09/13
|
249 |
+
* @since 5.0.0
|
250 |
+
*
|
251 |
+
* @param string $post_id The post ID for this value.
|
252 |
+
* @param mixed $name The meta name.
|
253 |
+
* @param array $field The field array.
|
254 |
+
*/
|
255 |
+
do_action( "acf/delete_value", $post_id, $field['name'], $field );
|
256 |
+
|
257 |
+
// Delete meta.
|
258 |
+
$return = acf_delete_metadata( $post_id, $field['name'] );
|
259 |
+
|
260 |
+
// Delete reference.
|
261 |
+
acf_delete_metadata( $post_id, $field['name'], true );
|
262 |
+
|
263 |
+
// Delete stored data.
|
264 |
+
acf_flush_value_cache( $post_id, $field['name'] );
|
265 |
+
|
266 |
+
// Return delete status.
|
267 |
+
return $return;
|
268 |
+
}
|
269 |
+
|
270 |
+
// Register variation.
|
271 |
+
acf_add_filter_variations( 'acf/delete_value', array('type', 'name', 'key'), 2 );
|
272 |
+
|
273 |
+
/**
|
274 |
+
* acf_preview_value
|
275 |
+
*
|
276 |
+
* Return a human friendly 'preview' for a given field value.
|
277 |
+
*
|
278 |
+
* @date 28/09/13
|
279 |
+
* @since 5.0.0
|
280 |
+
*
|
281 |
+
* @param mixed $value The new value.
|
282 |
+
* @param (int|string) $post_id The post id.
|
283 |
+
* @param array $field The field array.
|
284 |
+
* @return bool.
|
285 |
+
*/
|
286 |
+
function acf_preview_value( $value, $post_id, $field ) {
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Filters the $value before used in HTML.
|
290 |
+
*
|
291 |
+
* @date 24/10/16
|
292 |
+
* @since 5.5.0
|
293 |
+
*
|
294 |
+
* @param mixed $value The value to preview.
|
295 |
+
* @param string $post_id The post ID for this value.
|
296 |
+
* @param array $field The field array.
|
297 |
+
*/
|
298 |
+
return apply_filters( "acf/preview_value", $value, $post_id, $field );
|
299 |
+
}
|
300 |
+
|
301 |
+
// Register variation.
|
302 |
+
acf_add_filter_variations( 'acf/preview_value', array('type', 'name', 'key'), 2 );
|
includes/admin/admin-field-group.php
CHANGED
@@ -213,7 +213,7 @@ class acf_admin_field_group {
|
|
213 |
|
214 |
|
215 |
// set global var
|
216 |
-
$field_group = acf_get_field_group( $post );
|
217 |
|
218 |
|
219 |
// metaboxes
|
@@ -557,7 +557,7 @@ class acf_admin_field_group {
|
|
557 |
|
558 |
// get fields
|
559 |
$view = array(
|
560 |
-
'fields' =>
|
561 |
'parent' => 0
|
562 |
);
|
563 |
|
213 |
|
214 |
|
215 |
// set global var
|
216 |
+
$field_group = acf_get_field_group( $post->ID );
|
217 |
|
218 |
|
219 |
// metaboxes
|
557 |
|
558 |
// get fields
|
559 |
$view = array(
|
560 |
+
'fields' => acf_get_fields( $field_group ),
|
561 |
'parent' => 0
|
562 |
);
|
563 |
|
includes/admin/admin-field-groups.php
CHANGED
@@ -270,22 +270,22 @@ class acf_admin_field_groups {
|
|
270 |
$modified = acf_maybe_get($group, 'modified', 0);
|
271 |
$private = acf_maybe_get($group, 'private', false);
|
272 |
|
|
|
|
|
|
|
273 |
|
274 |
-
//
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
} elseif( !$group['ID'] ) {
|
280 |
-
|
281 |
$this->sync[ $group['key'] ] = $group;
|
282 |
-
|
|
|
283 |
} elseif( $modified && $modified > get_post_modified_time('U', true, $group['ID'], true) ) {
|
284 |
-
|
285 |
$this->sync[ $group['key'] ] = $group;
|
286 |
-
|
287 |
}
|
288 |
-
|
289 |
}
|
290 |
|
291 |
|
@@ -334,21 +334,22 @@ class acf_admin_field_groups {
|
|
334 |
// loop
|
335 |
foreach( $sync_keys as $key ) {
|
336 |
|
337 |
-
//
|
338 |
-
if(
|
339 |
-
|
340 |
-
$this->sync[ $key ]['fields'] = acf_get_local_fields( $key );
|
341 |
-
|
342 |
}
|
343 |
|
|
|
|
|
344 |
|
345 |
-
//
|
346 |
-
$field_group =
|
347 |
-
|
348 |
|
349 |
-
//
|
|
|
|
|
|
|
350 |
$new_ids[] = $field_group['ID'];
|
351 |
-
|
352 |
}
|
353 |
|
354 |
|
@@ -614,7 +615,6 @@ class acf_admin_field_groups {
|
|
614 |
|
615 |
// vars
|
616 |
$url_home = 'https://www.advancedcustomfields.com';
|
617 |
-
$url_support = 'https://support.advancedcustomfields.com';
|
618 |
$icon = '<i aria-hidden="true" class="dashicons dashicons-external"></i>';
|
619 |
|
620 |
?>
|
@@ -637,7 +637,7 @@ class acf_admin_field_groups {
|
|
637 |
<ul>
|
638 |
<li><a href="<?php echo esc_url( $url_home ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Website",'acf'); ?></a></li>
|
639 |
<li><a href="<?php echo esc_url( $url_home . '/resources/' ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Documentation",'acf'); ?></a></li>
|
640 |
-
<li><a href="<?php echo esc_url( $
|
641 |
<?php if( !acf_get_setting('pro') ): ?>
|
642 |
<li><a href="<?php echo esc_url( $url_home . '/pro/' ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Pro",'acf'); ?></a></li>
|
643 |
<?php endif; ?>
|
270 |
$modified = acf_maybe_get($group, 'modified', 0);
|
271 |
$private = acf_maybe_get($group, 'private', false);
|
272 |
|
273 |
+
// Ignore if is private.
|
274 |
+
if( $private ) {
|
275 |
+
continue;
|
276 |
|
277 |
+
// Ignore not local "json".
|
278 |
+
} elseif( $local !== 'json' ) {
|
279 |
+
continue;
|
280 |
+
|
281 |
+
// Append to sync if not yet in database.
|
282 |
} elseif( !$group['ID'] ) {
|
|
|
283 |
$this->sync[ $group['key'] ] = $group;
|
284 |
+
|
285 |
+
// Append to sync if "json" modified time is newer than database.
|
286 |
} elseif( $modified && $modified > get_post_modified_time('U', true, $group['ID'], true) ) {
|
|
|
287 |
$this->sync[ $group['key'] ] = $group;
|
|
|
288 |
}
|
|
|
289 |
}
|
290 |
|
291 |
|
334 |
// loop
|
335 |
foreach( $sync_keys as $key ) {
|
336 |
|
337 |
+
// Bail early if not found.
|
338 |
+
if( !isset($this->sync[ $key ]) ) {
|
339 |
+
continue;
|
|
|
|
|
340 |
}
|
341 |
|
342 |
+
// Get field group.
|
343 |
+
$field_group = $this->sync[ $key ];
|
344 |
|
345 |
+
// Append fields.
|
346 |
+
$field_group['fields'] = acf_get_fields( $field_group );
|
|
|
347 |
|
348 |
+
// Import field group.
|
349 |
+
$field_group = acf_import_field_group( $field_group );
|
350 |
+
|
351 |
+
// Append imported ID.
|
352 |
$new_ids[] = $field_group['ID'];
|
|
|
353 |
}
|
354 |
|
355 |
|
615 |
|
616 |
// vars
|
617 |
$url_home = 'https://www.advancedcustomfields.com';
|
|
|
618 |
$icon = '<i aria-hidden="true" class="dashicons dashicons-external"></i>';
|
619 |
|
620 |
?>
|
637 |
<ul>
|
638 |
<li><a href="<?php echo esc_url( $url_home ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Website",'acf'); ?></a></li>
|
639 |
<li><a href="<?php echo esc_url( $url_home . '/resources/' ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Documentation",'acf'); ?></a></li>
|
640 |
+
<li><a href="<?php echo esc_url( $url_home . '/support/' ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Support",'acf'); ?></a></li>
|
641 |
<?php if( !acf_get_setting('pro') ): ?>
|
642 |
<li><a href="<?php echo esc_url( $url_home . '/pro/' ); ?>" target="_blank"><?php echo $icon; ?> <?php _e("Pro",'acf'); ?></a></li>
|
643 |
<?php endif; ?>
|
includes/admin/tools/class-acf-admin-tool-import.php
CHANGED
@@ -43,20 +43,6 @@ class ACF_Admin_Tool_Import extends ACF_Admin_Tool {
|
|
43 |
|
44 |
function html() {
|
45 |
|
46 |
-
// vars
|
47 |
-
$choices = array();
|
48 |
-
$field_groups = acf_get_field_groups();
|
49 |
-
|
50 |
-
|
51 |
-
// loop
|
52 |
-
if( $field_groups ) {
|
53 |
-
foreach( $field_groups as $field_group ) {
|
54 |
-
$choices[ $field_group['key'] ] = esc_html( $field_group['title'] );
|
55 |
-
}
|
56 |
-
}
|
57 |
-
|
58 |
-
|
59 |
-
// html
|
60 |
?>
|
61 |
<p><?php _e('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.', 'acf'); ?></p>
|
62 |
<div class="acf-fields">
|
@@ -94,166 +80,73 @@ class ACF_Admin_Tool_Import extends ACF_Admin_Tool {
|
|
94 |
|
95 |
function submit() {
|
96 |
|
97 |
-
//
|
98 |
if( empty($_FILES['acf_import_file']['size']) ) {
|
99 |
return acf_add_admin_notice( __("No file selected", 'acf'), 'warning' );
|
100 |
}
|
101 |
|
102 |
-
|
103 |
-
// vars
|
104 |
$file = $_FILES['acf_import_file'];
|
105 |
|
106 |
-
|
107 |
-
// validate error
|
108 |
if( $file['error'] ) {
|
109 |
return acf_add_admin_notice( __("Error uploading file. Please try again", 'acf'), 'warning' );
|
110 |
}
|
111 |
|
112 |
-
|
113 |
-
// validate type
|
114 |
if( pathinfo($file['name'], PATHINFO_EXTENSION) !== 'json' ) {
|
115 |
return acf_add_admin_notice( __("Incorrect file type", 'acf'), 'warning' );
|
116 |
}
|
117 |
|
118 |
-
|
119 |
-
// read file
|
120 |
$json = file_get_contents( $file['tmp_name'] );
|
121 |
-
|
122 |
-
|
123 |
-
// decode json
|
124 |
$json = json_decode($json, true);
|
125 |
|
126 |
-
|
127 |
-
|
128 |
-
if( empty($json) ) {
|
129 |
return acf_add_admin_notice( __("Import file empty", 'acf'), 'warning' );
|
130 |
}
|
131 |
|
132 |
-
|
133 |
-
// if importing an auto-json, wrap field group in array
|
134 |
if( isset($json['key']) ) {
|
135 |
-
|
136 |
-
$json = array( $json );
|
137 |
-
|
138 |
}
|
139 |
|
140 |
-
|
141 |
-
// vars
|
142 |
$ids = array();
|
143 |
-
$keys = array();
|
144 |
-
$imported = array();
|
145 |
|
146 |
-
|
147 |
-
// populate keys
|
148 |
foreach( $json as $field_group ) {
|
149 |
|
150 |
-
//
|
151 |
-
$
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
// look for existing ids
|
157 |
-
foreach( $keys as $key ) {
|
158 |
-
|
159 |
-
// attempt find ID
|
160 |
-
$field_group = _acf_get_field_group_by_key( $key );
|
161 |
-
|
162 |
-
|
163 |
-
// bail early if no field group
|
164 |
-
if( !$field_group ) continue;
|
165 |
-
|
166 |
-
|
167 |
-
// append
|
168 |
-
$ids[ $key ] = $field_group['ID'];
|
169 |
-
|
170 |
-
}
|
171 |
-
|
172 |
-
|
173 |
-
// enable local
|
174 |
-
acf_enable_local();
|
175 |
-
|
176 |
-
|
177 |
-
// reset local (JSON class has already included .json field groups which may conflict)
|
178 |
-
acf_reset_local();
|
179 |
-
|
180 |
-
|
181 |
-
// add local field groups
|
182 |
-
foreach( $json as $field_group ) {
|
183 |
-
|
184 |
-
// add field group
|
185 |
-
acf_add_local_field_group( $field_group );
|
186 |
-
|
187 |
-
}
|
188 |
-
|
189 |
-
|
190 |
-
// loop over keys
|
191 |
-
foreach( $keys as $key ) {
|
192 |
-
|
193 |
-
// vars
|
194 |
-
$field_group = acf_get_local_field_group( $key );
|
195 |
-
|
196 |
-
|
197 |
-
// attempt get id
|
198 |
-
$id = acf_maybe_get( $ids, $key );
|
199 |
-
|
200 |
-
if( $id ) {
|
201 |
-
|
202 |
-
$field_group['ID'] = $id;
|
203 |
-
|
204 |
}
|
205 |
|
|
|
|
|
206 |
|
207 |
-
// append
|
208 |
-
|
209 |
-
|
210 |
-
$field_group['fields'] = acf_get_local_fields( $key );
|
211 |
-
|
212 |
-
}
|
213 |
-
|
214 |
-
|
215 |
-
// import
|
216 |
-
$field_group = acf_import_field_group( $field_group );
|
217 |
-
|
218 |
-
|
219 |
-
// append message
|
220 |
-
$imported[] = array(
|
221 |
-
'ID' => $field_group['ID'],
|
222 |
-
'title' => $field_group['title'],
|
223 |
-
'updated' => $id ? 1 : 0
|
224 |
-
);
|
225 |
-
|
226 |
}
|
227 |
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
$links[] = '<a href="' . admin_url("post.php?post={$import['ID']}&action=edit") . '" target="_blank">' . $import['title'] . '</a>';
|
242 |
-
|
243 |
-
}
|
244 |
-
|
245 |
-
|
246 |
-
// append links
|
247 |
-
$message .= ' ' . implode(', ', $links);
|
248 |
-
|
249 |
-
|
250 |
-
// add notice
|
251 |
-
acf_add_admin_notice( $message, 'success' );
|
252 |
-
}
|
253 |
|
|
|
|
|
254 |
}
|
255 |
-
|
256 |
-
|
257 |
}
|
258 |
|
259 |
// initialize
|
43 |
|
44 |
function html() {
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
?>
|
47 |
<p><?php _e('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.', 'acf'); ?></p>
|
48 |
<div class="acf-fields">
|
80 |
|
81 |
function submit() {
|
82 |
|
83 |
+
// Check file size.
|
84 |
if( empty($_FILES['acf_import_file']['size']) ) {
|
85 |
return acf_add_admin_notice( __("No file selected", 'acf'), 'warning' );
|
86 |
}
|
87 |
|
88 |
+
// Get file data.
|
|
|
89 |
$file = $_FILES['acf_import_file'];
|
90 |
|
91 |
+
// Check errors.
|
|
|
92 |
if( $file['error'] ) {
|
93 |
return acf_add_admin_notice( __("Error uploading file. Please try again", 'acf'), 'warning' );
|
94 |
}
|
95 |
|
96 |
+
// Check file type.
|
|
|
97 |
if( pathinfo($file['name'], PATHINFO_EXTENSION) !== 'json' ) {
|
98 |
return acf_add_admin_notice( __("Incorrect file type", 'acf'), 'warning' );
|
99 |
}
|
100 |
|
101 |
+
// Read JSON.
|
|
|
102 |
$json = file_get_contents( $file['tmp_name'] );
|
|
|
|
|
|
|
103 |
$json = json_decode($json, true);
|
104 |
|
105 |
+
// Check if empty.
|
106 |
+
if( !$json || !is_array($json) ) {
|
|
|
107 |
return acf_add_admin_notice( __("Import file empty", 'acf'), 'warning' );
|
108 |
}
|
109 |
|
110 |
+
// Ensure $json is an array of groups.
|
|
|
111 |
if( isset($json['key']) ) {
|
112 |
+
$json = array( $json );
|
|
|
|
|
113 |
}
|
114 |
|
115 |
+
// Remeber imported field group ids.
|
|
|
116 |
$ids = array();
|
|
|
|
|
117 |
|
118 |
+
// Loop over json
|
|
|
119 |
foreach( $json as $field_group ) {
|
120 |
|
121 |
+
// Search database for existing field group.
|
122 |
+
$post = acf_get_field_group_post( $field_group['key'] );
|
123 |
+
if( $post ) {
|
124 |
+
$field_group['ID'] = $post->ID;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
}
|
126 |
|
127 |
+
// Import field group.
|
128 |
+
$field_group = acf_import_field_group( $field_group );
|
129 |
|
130 |
+
// append message
|
131 |
+
$ids[] = $field_group['ID'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
}
|
133 |
|
134 |
+
// Count number of imported field groups.
|
135 |
+
$total = count($ids);
|
136 |
+
|
137 |
+
// Generate text.
|
138 |
+
$text = sprintf( _n( 'Imported 1 field group', 'Imported %s field groups', $total, 'acf' ), $total );
|
139 |
+
|
140 |
+
// Add links to text.
|
141 |
+
$links = array();
|
142 |
+
foreach( $ids as $id ) {
|
143 |
+
$links[] = '<a href="' . get_edit_post_link( $id ) . '">' . get_the_title( $id ) . '</a>';
|
144 |
+
}
|
145 |
+
$text .= ' ' . implode( ', ', $links );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
|
147 |
+
// Add notice
|
148 |
+
acf_add_admin_notice( $text, 'success' );
|
149 |
}
|
|
|
|
|
150 |
}
|
151 |
|
152 |
// initialize
|
includes/api/api-field-group.php
DELETED
@@ -1,1238 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* acf_is_field_group_key
|
5 |
-
*
|
6 |
-
* This function will return true or false for the given $group_key parameter
|
7 |
-
*
|
8 |
-
* @type function
|
9 |
-
* @date 6/12/2013
|
10 |
-
* @since 5.0.0
|
11 |
-
*
|
12 |
-
* @param $group_key (string)
|
13 |
-
* @return (boolean)
|
14 |
-
*/
|
15 |
-
|
16 |
-
function acf_is_field_group_key( $key = '' ) {
|
17 |
-
|
18 |
-
// bail early if not string
|
19 |
-
if( !is_string($key) ) return false;
|
20 |
-
|
21 |
-
|
22 |
-
// bail early if is numeric (could be numeric string '123')
|
23 |
-
if( is_numeric($key) ) return false;
|
24 |
-
|
25 |
-
|
26 |
-
// look for 'group_' prefix
|
27 |
-
if( substr($key, 0, 6) === 'group_' ) return true;
|
28 |
-
|
29 |
-
|
30 |
-
// allow local field group key to not start with prefix
|
31 |
-
if( acf_is_local_field_group($key) ) return true;
|
32 |
-
|
33 |
-
|
34 |
-
// return
|
35 |
-
return false;
|
36 |
-
|
37 |
-
}
|
38 |
-
|
39 |
-
|
40 |
-
/*
|
41 |
-
* acf_get_valid_field_group
|
42 |
-
*
|
43 |
-
* This function will fill in any missing keys to the $field_group array making it valid
|
44 |
-
*
|
45 |
-
* @type function
|
46 |
-
* @date 28/09/13
|
47 |
-
* @since 5.0.0
|
48 |
-
*
|
49 |
-
* @param $field_group (array)
|
50 |
-
* @return $field_group (array)
|
51 |
-
*/
|
52 |
-
|
53 |
-
function acf_get_valid_field_group( $field_group = false ) {
|
54 |
-
|
55 |
-
// $field_group must be an array
|
56 |
-
if( !is_array($field_group) ) $field_group = array();
|
57 |
-
|
58 |
-
|
59 |
-
// bail ealry if already valid
|
60 |
-
if( !empty($field_group['_valid']) ) return $field_group;
|
61 |
-
|
62 |
-
|
63 |
-
// parse in defaults
|
64 |
-
$field_group = wp_parse_args($field_group, array(
|
65 |
-
'ID' => 0,
|
66 |
-
'key' => '',
|
67 |
-
'title' => '',
|
68 |
-
'fields' => array(),
|
69 |
-
'location' => array(),
|
70 |
-
'menu_order' => 0,
|
71 |
-
'position' => 'normal',
|
72 |
-
'style' => 'default',
|
73 |
-
'label_placement' => 'top',
|
74 |
-
'instruction_placement' => 'label',
|
75 |
-
'hide_on_screen' => array(),
|
76 |
-
'active' => 1, // Added in 5.2.9
|
77 |
-
'description' => '', // Added in 5.2.9
|
78 |
-
'_valid' => 0, // Added in 5.6.2
|
79 |
-
));
|
80 |
-
|
81 |
-
|
82 |
-
// field is now valid
|
83 |
-
$field_group['_valid'] = 1;
|
84 |
-
|
85 |
-
|
86 |
-
// filter
|
87 |
-
$field_group = apply_filters('acf/validate_field_group', $field_group);
|
88 |
-
|
89 |
-
|
90 |
-
// translate
|
91 |
-
$field_group = acf_translate_field_group( $field_group );
|
92 |
-
|
93 |
-
|
94 |
-
// return
|
95 |
-
return $field_group;
|
96 |
-
|
97 |
-
}
|
98 |
-
|
99 |
-
|
100 |
-
/*
|
101 |
-
* acf_translate_field_group
|
102 |
-
*
|
103 |
-
* This function will translate field group's settings
|
104 |
-
*
|
105 |
-
* @type function
|
106 |
-
* @date 8/03/2016
|
107 |
-
* @since 5.3.2
|
108 |
-
*
|
109 |
-
* @param $field_group (array)
|
110 |
-
* @return $field_group
|
111 |
-
*/
|
112 |
-
|
113 |
-
function acf_translate_field_group( $field_group ) {
|
114 |
-
|
115 |
-
// vars
|
116 |
-
$l10n = acf_get_setting('l10n');
|
117 |
-
$l10n_textdomain = acf_get_setting('l10n_textdomain');
|
118 |
-
|
119 |
-
|
120 |
-
// if
|
121 |
-
if( $l10n && $l10n_textdomain ) {
|
122 |
-
|
123 |
-
// translate
|
124 |
-
$field_group['title'] = acf_translate( $field_group['title'] );
|
125 |
-
|
126 |
-
|
127 |
-
// filters
|
128 |
-
$field_group = apply_filters( "acf/translate_field_group", $field_group );
|
129 |
-
|
130 |
-
}
|
131 |
-
|
132 |
-
|
133 |
-
// return
|
134 |
-
return $field_group;
|
135 |
-
|
136 |
-
}
|
137 |
-
|
138 |
-
|
139 |
-
/*
|
140 |
-
* acf_get_field_groups
|
141 |
-
*
|
142 |
-
* This function will return an array of field groupss for the given args. Similar to the WP get_posts function
|
143 |
-
*
|
144 |
-
* @type function
|
145 |
-
* @date 30/09/13
|
146 |
-
* @since 5.0.0
|
147 |
-
*
|
148 |
-
* @param $args (array)
|
149 |
-
* @return $field_groups (array)
|
150 |
-
*/
|
151 |
-
|
152 |
-
function acf_get_field_groups( $args = false ) {
|
153 |
-
|
154 |
-
// vars
|
155 |
-
$field_groups = array();
|
156 |
-
$post_ids = array();
|
157 |
-
$cache_key = "get_field_groups";
|
158 |
-
|
159 |
-
|
160 |
-
// check cache for ids
|
161 |
-
if( acf_isset_cache($cache_key) ) {
|
162 |
-
|
163 |
-
$post_ids = acf_get_cache($cache_key);
|
164 |
-
|
165 |
-
// query DB for child ids
|
166 |
-
} else {
|
167 |
-
|
168 |
-
// query
|
169 |
-
$posts = get_posts(array(
|
170 |
-
'post_type' => 'acf-field-group',
|
171 |
-
'posts_per_page' => -1,
|
172 |
-
'orderby' => 'menu_order title',
|
173 |
-
'order' => 'asc',
|
174 |
-
'suppress_filters' => false, // allow WPML to modify the query
|
175 |
-
'post_status' => array('publish', 'acf-disabled'),
|
176 |
-
'update_post_meta_cache' => false
|
177 |
-
));
|
178 |
-
|
179 |
-
|
180 |
-
// loop
|
181 |
-
if( $posts ) {
|
182 |
-
|
183 |
-
foreach( $posts as $post ) {
|
184 |
-
|
185 |
-
$post_ids[] = $post->ID;
|
186 |
-
|
187 |
-
}
|
188 |
-
|
189 |
-
}
|
190 |
-
|
191 |
-
|
192 |
-
// update cache
|
193 |
-
acf_set_cache($cache_key, $post_ids);
|
194 |
-
|
195 |
-
}
|
196 |
-
|
197 |
-
|
198 |
-
// load field groups
|
199 |
-
foreach( $post_ids as $post_id ) {
|
200 |
-
|
201 |
-
$field_groups[] = acf_get_field_group( $post_id );
|
202 |
-
|
203 |
-
}
|
204 |
-
|
205 |
-
|
206 |
-
// filter
|
207 |
-
// - allows local field groups to be appended
|
208 |
-
$field_groups = apply_filters('acf/get_field_groups', $field_groups);
|
209 |
-
|
210 |
-
|
211 |
-
// filter via args
|
212 |
-
if( $args ) {
|
213 |
-
|
214 |
-
$field_groups = acf_filter_field_groups( $field_groups, $args );
|
215 |
-
|
216 |
-
}
|
217 |
-
|
218 |
-
|
219 |
-
// return
|
220 |
-
return $field_groups;
|
221 |
-
|
222 |
-
}
|
223 |
-
|
224 |
-
|
225 |
-
/*
|
226 |
-
* acf_filter_field_groups
|
227 |
-
*
|
228 |
-
* This function is used by acf_get_field_groups to filter out fields groups based on location rules
|
229 |
-
*
|
230 |
-
* @type function
|
231 |
-
* @date 29/11/2013
|
232 |
-
* @since 5.0.0
|
233 |
-
*
|
234 |
-
* @param $field_groups (array)
|
235 |
-
* @param $args (array)
|
236 |
-
* @return $field_groups (array)
|
237 |
-
*/
|
238 |
-
|
239 |
-
function acf_filter_field_groups( $field_groups, $args = false ) {
|
240 |
-
|
241 |
-
// bail early if empty sargs
|
242 |
-
if( empty($args) || empty($field_groups) ) {
|
243 |
-
|
244 |
-
return $field_groups;
|
245 |
-
|
246 |
-
}
|
247 |
-
|
248 |
-
|
249 |
-
// vars
|
250 |
-
$keys = array_keys( $field_groups );
|
251 |
-
|
252 |
-
|
253 |
-
// loop through keys
|
254 |
-
foreach( $keys as $key ) {
|
255 |
-
|
256 |
-
// get visibility
|
257 |
-
$visibility = acf_get_field_group_visibility( $field_groups[ $key ], $args );
|
258 |
-
|
259 |
-
|
260 |
-
// unset
|
261 |
-
if( !$visibility ) {
|
262 |
-
|
263 |
-
unset($field_groups[ $key ]);
|
264 |
-
|
265 |
-
}
|
266 |
-
|
267 |
-
}
|
268 |
-
|
269 |
-
|
270 |
-
// re assign index
|
271 |
-
$field_groups = array_values( $field_groups );
|
272 |
-
|
273 |
-
|
274 |
-
// return
|
275 |
-
return $field_groups;
|
276 |
-
|
277 |
-
}
|
278 |
-
|
279 |
-
|
280 |
-
/*
|
281 |
-
* acf_get_field_group_visibility
|
282 |
-
*
|
283 |
-
* This function will look at the given field group's location rules and compare them against
|
284 |
-
* the args given to see if this field group is to be shown or not.
|
285 |
-
*
|
286 |
-
* @type function
|
287 |
-
* @date 7/10/13
|
288 |
-
* @since 5.0.0
|
289 |
-
*
|
290 |
-
* @param $field group (array)
|
291 |
-
* @param $args (array)
|
292 |
-
* @return (boolean)
|
293 |
-
*/
|
294 |
-
|
295 |
-
function acf_get_field_group_visibility( $field_group, $args = array() ) {
|
296 |
-
|
297 |
-
// bail early if not active
|
298 |
-
if( !$field_group['active'] ) return false;
|
299 |
-
|
300 |
-
|
301 |
-
// bail early if no location rules
|
302 |
-
if( empty($field_group['location']) ) return false;
|
303 |
-
|
304 |
-
|
305 |
-
// get screen
|
306 |
-
$screen = acf_get_location_screen( $args, $field_group );
|
307 |
-
|
308 |
-
|
309 |
-
// loop through location rules
|
310 |
-
foreach( $field_group['location'] as $group_id => $group ) {
|
311 |
-
|
312 |
-
// continue if no rules
|
313 |
-
if( empty($group) ) continue;
|
314 |
-
|
315 |
-
|
316 |
-
// vars
|
317 |
-
$match_group = true;
|
318 |
-
|
319 |
-
|
320 |
-
// loop
|
321 |
-
foreach( $group as $rule_id => $rule ) {
|
322 |
-
|
323 |
-
// bail ealry if no match
|
324 |
-
if( !acf_match_location_rule( $rule, $screen ) ) {
|
325 |
-
|
326 |
-
$match_group = false;
|
327 |
-
break;
|
328 |
-
|
329 |
-
}
|
330 |
-
|
331 |
-
}
|
332 |
-
|
333 |
-
|
334 |
-
// this group matches screen. Ignore remaining groups and retunr true
|
335 |
-
if( $match_group ) return true;
|
336 |
-
|
337 |
-
}
|
338 |
-
|
339 |
-
|
340 |
-
// return
|
341 |
-
return false;
|
342 |
-
}
|
343 |
-
|
344 |
-
|
345 |
-
/*
|
346 |
-
* acf_get_field_group
|
347 |
-
*
|
348 |
-
* This function will take either a post object, post ID or even null (for global $post), and
|
349 |
-
* will then return a valid field group array
|
350 |
-
*
|
351 |
-
* @type function
|
352 |
-
* @date 30/09/13
|
353 |
-
* @since 5.0.0
|
354 |
-
*
|
355 |
-
* @param $selector (mixed)
|
356 |
-
* @return $field_group (array)
|
357 |
-
*/
|
358 |
-
|
359 |
-
function acf_get_field_group( $selector = null ) {
|
360 |
-
|
361 |
-
// vars
|
362 |
-
$field_group = false;
|
363 |
-
$type = 'ID';
|
364 |
-
|
365 |
-
|
366 |
-
// ID
|
367 |
-
if( is_numeric($selector) ) {
|
368 |
-
|
369 |
-
// do nothing
|
370 |
-
|
371 |
-
// object
|
372 |
-
} elseif( is_object($selector) ) {
|
373 |
-
|
374 |
-
$selector = $selector->ID;
|
375 |
-
|
376 |
-
// string
|
377 |
-
} elseif( is_string($selector) ) {
|
378 |
-
|
379 |
-
$type = 'key';
|
380 |
-
|
381 |
-
// other
|
382 |
-
} else {
|
383 |
-
|
384 |
-
return false;
|
385 |
-
|
386 |
-
}
|
387 |
-
|
388 |
-
|
389 |
-
// return early if cache is found
|
390 |
-
$cache_key = "get_field_group/{$type}={$selector}";
|
391 |
-
|
392 |
-
if( acf_isset_cache($cache_key) ) {
|
393 |
-
|
394 |
-
return acf_get_cache($cache_key);
|
395 |
-
|
396 |
-
}
|
397 |
-
|
398 |
-
|
399 |
-
// ID
|
400 |
-
if( $type == 'ID' ) {
|
401 |
-
|
402 |
-
$field_group = _acf_get_field_group_by_id( $selector );
|
403 |
-
|
404 |
-
// key
|
405 |
-
} else {
|
406 |
-
|
407 |
-
$field_group = _acf_get_field_group_by_key( $selector );
|
408 |
-
|
409 |
-
}
|
410 |
-
|
411 |
-
|
412 |
-
// bail early if no field
|
413 |
-
if( !$field_group ) return false;
|
414 |
-
|
415 |
-
|
416 |
-
// validate
|
417 |
-
$field_group = acf_get_valid_field_group( $field_group );
|
418 |
-
|
419 |
-
|
420 |
-
// filter for 3rd party customization
|
421 |
-
$field_group = apply_filters('acf/get_field_group', $field_group);
|
422 |
-
|
423 |
-
|
424 |
-
// update cache
|
425 |
-
// - Use key instead of ID for best compatibility (not all field groups exist in the DB)
|
426 |
-
$cache_key = acf_set_cache("get_field_group/key={$field_group['key']}", $field_group);
|
427 |
-
|
428 |
-
|
429 |
-
// update cache reference
|
430 |
-
// - allow cache to return if using an ID selector
|
431 |
-
acf_set_cache_reference("get_field_group/ID={$field_group['ID']}", $cache_key);
|
432 |
-
|
433 |
-
|
434 |
-
// return
|
435 |
-
return $field_group;
|
436 |
-
|
437 |
-
}
|
438 |
-
|
439 |
-
|
440 |
-
/*
|
441 |
-
* _acf_get_field_group_by_id
|
442 |
-
*
|
443 |
-
* This function will get a field group by its ID
|
444 |
-
*
|
445 |
-
* @type function
|
446 |
-
* @date 27/02/2014
|
447 |
-
* @since 5.0.0
|
448 |
-
*
|
449 |
-
* @param $post_id (int)
|
450 |
-
* @return $field_group (array)
|
451 |
-
*/
|
452 |
-
|
453 |
-
function _acf_get_field_group_by_id( $post_id = 0 ) {
|
454 |
-
|
455 |
-
// get post
|
456 |
-
$post = get_post( $post_id );
|
457 |
-
|
458 |
-
|
459 |
-
// bail early if no post, or is not a field group
|
460 |
-
if( empty($post) || $post->post_type != 'acf-field-group' ) return false;
|
461 |
-
|
462 |
-
|
463 |
-
// modify post_status (new field-group starts as auto-draft)
|
464 |
-
if( $post->post_status == 'auto-draft' ) {
|
465 |
-
|
466 |
-
$post->post_status = 'publish';
|
467 |
-
|
468 |
-
}
|
469 |
-
|
470 |
-
|
471 |
-
// unserialize data
|
472 |
-
$field_group = maybe_unserialize( $post->post_content );
|
473 |
-
|
474 |
-
|
475 |
-
// new field group does not contain any post_content
|
476 |
-
if( empty($field_group) ) $field_group = array();
|
477 |
-
|
478 |
-
|
479 |
-
// update attributes
|
480 |
-
$field_group['ID'] = $post->ID;
|
481 |
-
$field_group['title'] = $post->post_title;
|
482 |
-
$field_group['key'] = $post->post_name;
|
483 |
-
$field_group['menu_order'] = $post->menu_order;
|
484 |
-
$field_group['active'] = ($post->post_status === 'publish') ? 1 : 0;
|
485 |
-
|
486 |
-
|
487 |
-
// override with JSON
|
488 |
-
if( acf_is_local_field_group( $field_group['key'] ) ) {
|
489 |
-
|
490 |
-
// load JSON field
|
491 |
-
$local = acf_get_local_field_group( $field_group['key'] );
|
492 |
-
|
493 |
-
|
494 |
-
// restore ID
|
495 |
-
$local['ID'] = $post->ID;
|
496 |
-
|
497 |
-
|
498 |
-
// return
|
499 |
-
return $local;
|
500 |
-
|
501 |
-
}
|
502 |
-
|
503 |
-
|
504 |
-
// return
|
505 |
-
return $field_group;
|
506 |
-
|
507 |
-
}
|
508 |
-
|
509 |
-
|
510 |
-
/*
|
511 |
-
* _acf_get_field_group_by_key
|
512 |
-
*
|
513 |
-
* This function will get a field group by its key
|
514 |
-
*
|
515 |
-
* @type function
|
516 |
-
* @date 27/02/2014
|
517 |
-
* @since 5.0.0
|
518 |
-
*
|
519 |
-
* @param $key (string)
|
520 |
-
* @return $field_group (array)
|
521 |
-
*/
|
522 |
-
|
523 |
-
function _acf_get_field_group_by_key( $key = '' ) {
|
524 |
-
|
525 |
-
// try JSON before DB to save query time
|
526 |
-
if( acf_is_local_field_group( $key ) ) {
|
527 |
-
|
528 |
-
return acf_get_local_field_group( $key );
|
529 |
-
|
530 |
-
}
|
531 |
-
|
532 |
-
|
533 |
-
// vars
|
534 |
-
$post_id = acf_get_field_group_id( $key );
|
535 |
-
|
536 |
-
|
537 |
-
// bail early if no post_id
|
538 |
-
if( !$post_id ) return false;
|
539 |
-
|
540 |
-
|
541 |
-
// return
|
542 |
-
return _acf_get_field_group_by_id( $post_id );
|
543 |
-
|
544 |
-
}
|
545 |
-
|
546 |
-
|
547 |
-
/*
|
548 |
-
* acf_get_field_group_id
|
549 |
-
*
|
550 |
-
* This function will lookup a field group's ID from the DB
|
551 |
-
* Useful for local fields to find DB sibling
|
552 |
-
*
|
553 |
-
* @type function
|
554 |
-
* @date 25/06/2015
|
555 |
-
* @since 5.5.8
|
556 |
-
*
|
557 |
-
* @param $key (string)
|
558 |
-
* @return $post_id (int)
|
559 |
-
*/
|
560 |
-
|
561 |
-
function acf_get_field_group_id( $key = '' ) {
|
562 |
-
|
563 |
-
// vars
|
564 |
-
$args = array(
|
565 |
-
'posts_per_page' => 1,
|
566 |
-
'post_type' => 'acf-field-group',
|
567 |
-
'orderby' => 'menu_order title',
|
568 |
-
'order' => 'ASC',
|
569 |
-
'suppress_filters' => false,
|
570 |
-
'post_status' => array('publish', 'acf-disabled', 'trash'),
|
571 |
-
'acf_group_key' => $key
|
572 |
-
);
|
573 |
-
|
574 |
-
|
575 |
-
// load posts
|
576 |
-
$posts = get_posts( $args );
|
577 |
-
|
578 |
-
|
579 |
-
// validate
|
580 |
-
if( empty($posts) ) return 0;
|
581 |
-
|
582 |
-
|
583 |
-
// return
|
584 |
-
return $posts[0]->ID;
|
585 |
-
|
586 |
-
}
|
587 |
-
|
588 |
-
|
589 |
-
/*
|
590 |
-
* acf_update_field_group
|
591 |
-
*
|
592 |
-
* This function will update a field group into the database.
|
593 |
-
* The returned field group will always contain an ID
|
594 |
-
*
|
595 |
-
* @type function
|
596 |
-
* @date 28/09/13
|
597 |
-
* @since 5.0.0
|
598 |
-
*
|
599 |
-
* @param $field_group (array)
|
600 |
-
* @return $field_group (array)
|
601 |
-
*/
|
602 |
-
|
603 |
-
function acf_update_field_group( $field_group = array() ) {
|
604 |
-
|
605 |
-
// validate
|
606 |
-
$field_group = acf_get_valid_field_group( $field_group );
|
607 |
-
|
608 |
-
|
609 |
-
// may have been posted. Remove slashes
|
610 |
-
$field_group = wp_unslash( $field_group );
|
611 |
-
|
612 |
-
|
613 |
-
// parse types (converts string '0' to int 0)
|
614 |
-
$field_group = acf_parse_types( $field_group );
|
615 |
-
|
616 |
-
|
617 |
-
// locations may contain 'uniquid' array keys
|
618 |
-
$field_group['location'] = array_values( $field_group['location'] );
|
619 |
-
|
620 |
-
foreach( $field_group['location'] as $k => $v ) {
|
621 |
-
|
622 |
-
$field_group['location'][ $k ] = array_values( $v );
|
623 |
-
|
624 |
-
}
|
625 |
-
|
626 |
-
|
627 |
-
// store origional field group for return
|
628 |
-
$data = $field_group;
|
629 |
-
|
630 |
-
|
631 |
-
// extract some args
|
632 |
-
$extract = acf_extract_vars($data, array(
|
633 |
-
'ID',
|
634 |
-
'key',
|
635 |
-
'title',
|
636 |
-
'menu_order',
|
637 |
-
'fields',
|
638 |
-
'active',
|
639 |
-
'_valid'
|
640 |
-
));
|
641 |
-
|
642 |
-
|
643 |
-
// vars
|
644 |
-
$data = maybe_serialize( $data );
|
645 |
-
$post_status = $extract['active'] ? 'publish' : 'acf-disabled';
|
646 |
-
|
647 |
-
|
648 |
-
// save
|
649 |
-
$save = array(
|
650 |
-
'ID' => $extract['ID'],
|
651 |
-
'post_status' => $post_status,
|
652 |
-
'post_type' => 'acf-field-group',
|
653 |
-
'post_title' => $extract['title'],
|
654 |
-
'post_name' => $extract['key'],
|
655 |
-
'post_excerpt' => sanitize_title($extract['title']),
|
656 |
-
'post_content' => $data,
|
657 |
-
'menu_order' => $extract['menu_order'],
|
658 |
-
);
|
659 |
-
|
660 |
-
|
661 |
-
// allow field groups to contain the same name
|
662 |
-
add_filter( 'wp_unique_post_slug', 'acf_update_field_group_wp_unique_post_slug', 100, 6 );
|
663 |
-
|
664 |
-
|
665 |
-
// slash data
|
666 |
-
// - WP expects all data to be slashed and will unslash it (fixes '\' character issues)
|
667 |
-
$save = wp_slash( $save );
|
668 |
-
|
669 |
-
|
670 |
-
// update the field group and update the ID
|
671 |
-
if( $field_group['ID'] ) {
|
672 |
-
|
673 |
-
wp_update_post( $save );
|
674 |
-
|
675 |
-
} else {
|
676 |
-
|
677 |
-
$field_group['ID'] = wp_insert_post( $save );
|
678 |
-
|
679 |
-
}
|
680 |
-
|
681 |
-
|
682 |
-
// action for 3rd party customization
|
683 |
-
do_action('acf/update_field_group', $field_group);
|
684 |
-
|
685 |
-
|
686 |
-
// clear cache
|
687 |
-
acf_delete_cache("get_field_group/key={$field_group['key']}");
|
688 |
-
|
689 |
-
|
690 |
-
// return
|
691 |
-
return $field_group;
|
692 |
-
|
693 |
-
}
|
694 |
-
|
695 |
-
function acf_update_field_group_wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug ) {
|
696 |
-
|
697 |
-
if( $post_type == 'acf-field-group' ) {
|
698 |
-
|
699 |
-
$slug = $original_slug;
|
700 |
-
|
701 |
-
}
|
702 |
-
|
703 |
-
return $slug;
|
704 |
-
}
|
705 |
-
|
706 |
-
|
707 |
-
/*
|
708 |
-
* acf_duplicate_field_group
|
709 |
-
*
|
710 |
-
* This function will duplicate a field group into the database
|
711 |
-
*
|
712 |
-
* @type function
|
713 |
-
* @date 28/09/13
|
714 |
-
* @since 5.0.0
|
715 |
-
*
|
716 |
-
* @param $selector (mixed)
|
717 |
-
* @param $new_post_id (int) allow specific ID to override (good for WPML translations)
|
718 |
-
* @return $field_group (array)
|
719 |
-
*/
|
720 |
-
|
721 |
-
function acf_duplicate_field_group( $selector = 0, $new_post_id = 0 ) {
|
722 |
-
|
723 |
-
// disable filters to ensure ACF loads raw data from DB
|
724 |
-
acf_disable_filters();
|
725 |
-
|
726 |
-
|
727 |
-
// load the origional field gorup
|
728 |
-
$field_group = acf_get_field_group( $selector );
|
729 |
-
|
730 |
-
|
731 |
-
// bail early if field group did not load correctly
|
732 |
-
if( empty($field_group) ) {
|
733 |
-
|
734 |
-
return false;
|
735 |
-
|
736 |
-
}
|
737 |
-
|
738 |
-
|
739 |
-
// keep backup of field group
|
740 |
-
$orig_field_group = $field_group;
|
741 |
-
|
742 |
-
|
743 |
-
// update ID
|
744 |
-
$field_group['ID'] = $new_post_id;
|
745 |
-
$field_group['key'] = uniqid('group_');
|
746 |
-
|
747 |
-
|
748 |
-
// add (copy)
|
749 |
-
if( !$new_post_id ) {
|
750 |
-
|
751 |
-
$field_group['title'] .= ' (' . __("copy", 'acf') . ')';
|
752 |
-
|
753 |
-
}
|
754 |
-
|
755 |
-
|
756 |
-
// save
|
757 |
-
$field_group = acf_update_field_group( $field_group );
|
758 |
-
|
759 |
-
|
760 |
-
// get fields
|
761 |
-
$fields = acf_get_fields( $orig_field_group );
|
762 |
-
|
763 |
-
|
764 |
-
// duplicate fields
|
765 |
-
acf_duplicate_fields( $fields, $field_group['ID'] );
|
766 |
-
|
767 |
-
|
768 |
-
// action for 3rd party customization
|
769 |
-
do_action('acf/duplicate_field_group', $field_group);
|
770 |
-
|
771 |
-
|
772 |
-
// return
|
773 |
-
return $field_group;
|
774 |
-
|
775 |
-
}
|
776 |
-
|
777 |
-
|
778 |
-
/*
|
779 |
-
* acf_get_field_count
|
780 |
-
*
|
781 |
-
* This function will return the number of fields for the given field group
|
782 |
-
*
|
783 |
-
* @type function
|
784 |
-
* @date 17/10/13
|
785 |
-
* @since 5.0.0
|
786 |
-
*
|
787 |
-
* @param $field_group_id (int)
|
788 |
-
* @return (int)
|
789 |
-
*/
|
790 |
-
|
791 |
-
function acf_get_field_count( $field_group ) {
|
792 |
-
|
793 |
-
// vars
|
794 |
-
$count = 0;
|
795 |
-
|
796 |
-
|
797 |
-
// local
|
798 |
-
if( !$field_group['ID'] ) {
|
799 |
-
|
800 |
-
$count = acf_count_local_fields( $field_group['key'] );
|
801 |
-
|
802 |
-
// DB
|
803 |
-
} else {
|
804 |
-
|
805 |
-
// load fields
|
806 |
-
$posts = get_posts(array(
|
807 |
-
'posts_per_page' => -1,
|
808 |
-
'post_type' => 'acf-field',
|
809 |
-
'orderby' => 'menu_order',
|
810 |
-
'order' => 'ASC',
|
811 |
-
'suppress_filters' => true, // DO NOT allow WPML to modify the query
|
812 |
-
'post_parent' => $field_group['ID'],
|
813 |
-
'fields' => 'ids',
|
814 |
-
'post_status' => 'publish, trash' // 'any' won't get trashed fields
|
815 |
-
));
|
816 |
-
|
817 |
-
$count = count($posts);
|
818 |
-
|
819 |
-
}
|
820 |
-
|
821 |
-
|
822 |
-
// filter for 3rd party customization
|
823 |
-
$count = apply_filters('acf/get_field_count', $count, $field_group);
|
824 |
-
|
825 |
-
|
826 |
-
// return
|
827 |
-
return $count;
|
828 |
-
|
829 |
-
}
|
830 |
-
|
831 |
-
|
832 |
-
/*
|
833 |
-
* acf_delete_field_group
|
834 |
-
*
|
835 |
-
* This function will delete the field group and its fields from the DB
|
836 |
-
*
|
837 |
-
* @type function
|
838 |
-
* @date 5/12/2013
|
839 |
-
* @since 5.0.0
|
840 |
-
*
|
841 |
-
* @param $selector (mixed)
|
842 |
-
* @return (boolean)
|
843 |
-
*/
|
844 |
-
|
845 |
-
function acf_delete_field_group( $selector = 0 ) {
|
846 |
-
|
847 |
-
// disable filters to ensure ACF loads raw data from DB
|
848 |
-
acf_disable_filters();
|
849 |
-
|
850 |
-
|
851 |
-
// load the origional field gorup
|
852 |
-
$field_group = acf_get_field_group( $selector );
|
853 |
-
|
854 |
-
|
855 |
-
// bail early if field group did not load correctly
|
856 |
-
if( empty($field_group) ) return false;
|
857 |
-
|
858 |
-
|
859 |
-
// get fields
|
860 |
-
$fields = acf_get_fields($field_group);
|
861 |
-
|
862 |
-
|
863 |
-
if( !empty($fields) ) {
|
864 |
-
|
865 |
-
foreach( $fields as $field ) {
|
866 |
-
|
867 |
-
acf_delete_field( $field['ID'] );
|
868 |
-
|
869 |
-
}
|
870 |
-
|
871 |
-
}
|
872 |
-
|
873 |
-
|
874 |
-
// delete
|
875 |
-
wp_delete_post( $field_group['ID'] );
|
876 |
-
|
877 |
-
|
878 |
-
// action for 3rd party customization
|
879 |
-
do_action('acf/delete_field_group', $field_group);
|
880 |
-
|
881 |
-
|
882 |
-
// return
|
883 |
-
return true;
|
884 |
-
}
|
885 |
-
|
886 |
-
|
887 |
-
/*
|
888 |
-
* acf_trash_field_group
|
889 |
-
*
|
890 |
-
* This function will trash the field group and its fields
|
891 |
-
*
|
892 |
-
* @type function
|
893 |
-
* @date 5/12/2013
|
894 |
-
* @since 5.0.0
|
895 |
-
*
|
896 |
-
* @param $selector (mixed)
|
897 |
-
* @return (boolean)
|
898 |
-
*/
|
899 |
-
|
900 |
-
function acf_trash_field_group( $selector = 0 ) {
|
901 |
-
|
902 |
-
// disable filters to ensure ACF loads raw data from DB
|
903 |
-
acf_disable_filters();
|
904 |
-
|
905 |
-
|
906 |
-
// load the origional field gorup
|
907 |
-
$field_group = acf_get_field_group( $selector );
|
908 |
-
|
909 |
-
|
910 |
-
// bail early if field group did not load correctly
|
911 |
-
if( empty($field_group) ) return false;
|
912 |
-
|
913 |
-
|
914 |
-
// get fields
|
915 |
-
$fields = acf_get_fields($field_group);
|
916 |
-
|
917 |
-
|
918 |
-
if( !empty($fields) ) {
|
919 |
-
|
920 |
-
foreach( $fields as $field ) {
|
921 |
-
|
922 |
-
acf_trash_field( $field['ID'] );
|
923 |
-
|
924 |
-
}
|
925 |
-
|
926 |
-
}
|
927 |
-
|
928 |
-
|
929 |
-
// delete
|
930 |
-
wp_trash_post( $field_group['ID'] );
|
931 |
-
|
932 |
-
|
933 |
-
// action for 3rd party customization
|
934 |
-
do_action('acf/trash_field_group', $field_group);
|
935 |
-
|
936 |
-
|
937 |
-
// return
|
938 |
-
return true;
|
939 |
-
}
|
940 |
-
|
941 |
-
|
942 |
-
/*
|
943 |
-
* acf_untrash_field_group
|
944 |
-
*
|
945 |
-
* This function will restore from trash the field group and its fields
|
946 |
-
*
|
947 |
-
* @type function
|
948 |
-
* @date 5/12/2013
|
949 |
-
* @since 5.0.0
|
950 |
-
*
|
951 |
-
* @param $selector (mixed)
|
952 |
-
* @return (boolean)
|
953 |
-
*/
|
954 |
-
|
955 |
-
function acf_untrash_field_group( $selector = 0 ) {
|
956 |
-
|
957 |
-
// disable filters to ensure ACF loads raw data from DB
|
958 |
-
acf_disable_filters();
|
959 |
-
|
960 |
-
|
961 |
-
// load the origional field gorup
|
962 |
-
$field_group = acf_get_field_group( $selector );
|
963 |
-
|
964 |
-
|
965 |
-
// bail early if field group did not load correctly
|
966 |
-
if( empty($field_group) ) return false;
|
967 |
-
|
968 |
-
|
969 |
-
// get fields
|
970 |
-
$fields = acf_get_fields($field_group);
|
971 |
-
|
972 |
-
|
973 |
-
if( !empty($fields) ) {
|
974 |
-
|
975 |
-
foreach( $fields as $field ) {
|
976 |
-
|
977 |
-
acf_untrash_field( $field['ID'] );
|
978 |
-
|
979 |
-
}
|
980 |
-
|
981 |
-
}
|
982 |
-
|
983 |
-
|
984 |
-
// delete
|
985 |
-
wp_untrash_post( $field_group['ID'] );
|
986 |
-
|
987 |
-
|
988 |
-
// action for 3rd party customization
|
989 |
-
do_action('acf/untrash_field_group', $field_group);
|
990 |
-
|
991 |
-
|
992 |
-
// return
|
993 |
-
return true;
|
994 |
-
}
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
/*
|
999 |
-
* acf_get_field_group_style
|
1000 |
-
*
|
1001 |
-
* This function will render the CSS for a given field group
|
1002 |
-
*
|
1003 |
-
* @type function
|
1004 |
-
* @date 20/10/13
|
1005 |
-
* @since 5.0.0
|
1006 |
-
*
|
1007 |
-
* @param $field_group (array)
|
1008 |
-
* @return n/a
|
1009 |
-
*/
|
1010 |
-
|
1011 |
-
function acf_get_field_group_style( $field_group ) {
|
1012 |
-
|
1013 |
-
// vars
|
1014 |
-
$style = '';
|
1015 |
-
$elements = array(
|
1016 |
-
'permalink' => '#edit-slug-box',
|
1017 |
-
'the_content' => '#postdivrich',
|
1018 |
-
'excerpt' => '#postexcerpt',
|
1019 |
-
'custom_fields' => '#postcustom',
|
1020 |
-
'discussion' => '#commentstatusdiv',
|
1021 |
-
'comments' => '#commentsdiv',
|
1022 |
-
'slug' => '#slugdiv',
|
1023 |
-
'author' => '#authordiv',
|
1024 |
-
'format' => '#formatdiv',
|
1025 |
-
'page_attributes' => '#pageparentdiv',
|
1026 |
-
'featured_image' => '#postimagediv',
|
1027 |
-
'revisions' => '#revisionsdiv',
|
1028 |
-
'categories' => '#categorydiv',
|
1029 |
-
'tags' => '#tagsdiv-post_tag',
|
1030 |
-
'send-trackbacks' => '#trackbacksdiv'
|
1031 |
-
);
|
1032 |
-
|
1033 |
-
// loop over field group settings and generate list of selectors to hide
|
1034 |
-
if( is_array($field_group['hide_on_screen']) ) {
|
1035 |
-
$hide = array();
|
1036 |
-
foreach( $field_group['hide_on_screen'] as $k ) {
|
1037 |
-
if( isset($elements[ $k ]) ) {
|
1038 |
-
$id = $elements[ $k ];
|
1039 |
-
$hide[] = $id;
|
1040 |
-
$hide[] = '#screen-meta label[for=' . substr($id, 1) . '-hide]';
|
1041 |
-
}
|
1042 |
-
}
|
1043 |
-
$style = implode(', ', $hide) . ' {display: none;}';
|
1044 |
-
}
|
1045 |
-
|
1046 |
-
// return
|
1047 |
-
return apply_filters('acf/get_field_group_style', $style, $field_group);
|
1048 |
-
}
|
1049 |
-
|
1050 |
-
|
1051 |
-
/*
|
1052 |
-
* acf_import_field_group
|
1053 |
-
*
|
1054 |
-
* This function will import a field group from JSON into the DB
|
1055 |
-
*
|
1056 |
-
* @type function
|
1057 |
-
* @date 10/12/2014
|
1058 |
-
* @since 5.1.5
|
1059 |
-
*
|
1060 |
-
* @param $field_group (array)
|
1061 |
-
* @return $id (int)
|
1062 |
-
*/
|
1063 |
-
|
1064 |
-
function acf_import_field_group( $field_group ) {
|
1065 |
-
|
1066 |
-
// disable filters to ensure ACF loads raw data from DB
|
1067 |
-
acf_disable_filters();
|
1068 |
-
|
1069 |
-
|
1070 |
-
// vars
|
1071 |
-
$ref = array();
|
1072 |
-
$order = array();
|
1073 |
-
|
1074 |
-
|
1075 |
-
// extract fields
|
1076 |
-
$fields = acf_extract_var($field_group, 'fields');
|
1077 |
-
|
1078 |
-
|
1079 |
-
// format fields
|
1080 |
-
$fields = acf_prepare_fields_for_import( $fields );
|
1081 |
-
|
1082 |
-
|
1083 |
-
// remove old fields
|
1084 |
-
if( $field_group['ID'] ) {
|
1085 |
-
|
1086 |
-
// load fields
|
1087 |
-
$db_fields = acf_get_fields_by_id( $field_group['ID'] );
|
1088 |
-
$db_fields = acf_prepare_fields_for_import( $db_fields );
|
1089 |
-
|
1090 |
-
|
1091 |
-
// get field keys
|
1092 |
-
$keys = array();
|
1093 |
-
foreach( $fields as $field ) {
|
1094 |
-
|
1095 |
-
$keys[] = $field['key'];
|
1096 |
-
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
|
1100 |
-
// loop over db fields
|
1101 |
-
foreach( $db_fields as $field ) {
|
1102 |
-
|
1103 |
-
// add to ref
|
1104 |
-
$ref[ $field['key'] ] = $field['ID'];
|
1105 |
-
|
1106 |
-
|
1107 |
-
if( !in_array($field['key'], $keys) ) {
|
1108 |
-
|
1109 |
-
acf_delete_field( $field['ID'] );
|
1110 |
-
|
1111 |
-
}
|
1112 |
-
|
1113 |
-
}
|
1114 |
-
|
1115 |
-
}
|
1116 |
-
|
1117 |
-
|
1118 |
-
// enable local filter for JSON to be created
|
1119 |
-
acf_enable_filter('local');
|
1120 |
-
|
1121 |
-
|
1122 |
-
// save field group
|
1123 |
-
$field_group = acf_update_field_group( $field_group );
|
1124 |
-
|
1125 |
-
|
1126 |
-
// add to ref
|
1127 |
-
$ref[ $field_group['key'] ] = $field_group['ID'];
|
1128 |
-
|
1129 |
-
|
1130 |
-
// add to order
|
1131 |
-
$order[ $field_group['ID'] ] = 0;
|
1132 |
-
|
1133 |
-
|
1134 |
-
// add fields
|
1135 |
-
foreach( $fields as $field ) {
|
1136 |
-
|
1137 |
-
// add ID
|
1138 |
-
if( !$field['ID'] && isset($ref[ $field['key'] ]) ) {
|
1139 |
-
|
1140 |
-
$field['ID'] = $ref[ $field['key'] ];
|
1141 |
-
|
1142 |
-
}
|
1143 |
-
|
1144 |
-
|
1145 |
-
// add parent
|
1146 |
-
if( empty($field['parent']) ) {
|
1147 |
-
|
1148 |
-
$field['parent'] = $field_group['ID'];
|
1149 |
-
|
1150 |
-
} elseif( isset($ref[ $field['parent'] ]) ) {
|
1151 |
-
|
1152 |
-
$field['parent'] = $ref[ $field['parent'] ];
|
1153 |
-
|
1154 |
-
}
|
1155 |
-
|
1156 |
-
|
1157 |
-
// add field menu_order
|
1158 |
-
if( !isset($order[ $field['parent'] ]) ) {
|
1159 |
-
|
1160 |
-
$order[ $field['parent'] ] = 0;
|
1161 |
-
|
1162 |
-
}
|
1163 |
-
|
1164 |
-
$field['menu_order'] = $order[ $field['parent'] ];
|
1165 |
-
$order[ $field['parent'] ]++;
|
1166 |
-
|
1167 |
-
|
1168 |
-
// save field
|
1169 |
-
$field = acf_update_field( $field );
|
1170 |
-
|
1171 |
-
|
1172 |
-
// add to ref
|
1173 |
-
$ref[ $field['key'] ] = $field['ID'];
|
1174 |
-
|
1175 |
-
}
|
1176 |
-
|
1177 |
-
|
1178 |
-
// return new field group
|
1179 |
-
return $field_group;
|
1180 |
-
|
1181 |
-
}
|
1182 |
-
|
1183 |
-
|
1184 |
-
/*
|
1185 |
-
* acf_prepare_field_group_for_export
|
1186 |
-
*
|
1187 |
-
* description
|
1188 |
-
*
|
1189 |
-
* @type function
|
1190 |
-
* @date 4/12/2015
|
1191 |
-
* @since 5.3.2
|
1192 |
-
*
|
1193 |
-
* @param $post_id (int)
|
1194 |
-
* @return $post_id (int)
|
1195 |
-
*/
|
1196 |
-
|
1197 |
-
function acf_prepare_field_group_for_export( $field_group ) {
|
1198 |
-
|
1199 |
-
// extract some args
|
1200 |
-
$extract = acf_extract_vars($field_group, array(
|
1201 |
-
'ID',
|
1202 |
-
'local', // local may have added 'php' or 'json'
|
1203 |
-
'_valid',
|
1204 |
-
));
|
1205 |
-
|
1206 |
-
|
1207 |
-
// prepare fields
|
1208 |
-
$field_group['fields'] = acf_prepare_fields_for_export( $field_group['fields'] );
|
1209 |
-
|
1210 |
-
|
1211 |
-
// filter for 3rd party customization
|
1212 |
-
$field_group = apply_filters('acf/prepare_field_group_for_export', $field_group);
|
1213 |
-
|
1214 |
-
|
1215 |
-
// return
|
1216 |
-
return $field_group;
|
1217 |
-
}
|
1218 |
-
|
1219 |
-
/**
|
1220 |
-
* acf_get_field_group_edit_link
|
1221 |
-
*
|
1222 |
-
* Checks if the current user can edit the field group and returns the edit url.
|
1223 |
-
*
|
1224 |
-
* @date 23/9/18
|
1225 |
-
* @since 5.7.7
|
1226 |
-
*
|
1227 |
-
* @param int $post_id The field group ID.
|
1228 |
-
* @return string
|
1229 |
-
*/
|
1230 |
-
function acf_get_field_group_edit_link( $post_id ) {
|
1231 |
-
if( $post_id && acf_current_user_can_admin() ) {
|
1232 |
-
return admin_url('post.php?post=' . $post_id . '&action=edit');
|
1233 |
-
}
|
1234 |
-
return '';
|
1235 |
-
}
|
1236 |
-
|
1237 |
-
|
1238 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/api/api-field.php
DELETED
@@ -1,2177 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* acf_is_field_key
|
5 |
-
*
|
6 |
-
* This function will return true or false for the given $field_key parameter
|
7 |
-
*
|
8 |
-
* @type function
|
9 |
-
* @date 6/12/2013
|
10 |
-
* @since 5.0.0
|
11 |
-
*
|
12 |
-
* @param $field_key (string)
|
13 |
-
* @return (boolean)
|
14 |
-
*/
|
15 |
-
|
16 |
-
function acf_is_field_key( $key = '' ) {
|
17 |
-
|
18 |
-
// bail early if not string
|
19 |
-
if( !is_string($key) ) return false;
|
20 |
-
|
21 |
-
|
22 |
-
// bail early if is numeric (could be numeric string '123')
|
23 |
-
if( is_numeric($key) ) return false;
|
24 |
-
|
25 |
-
|
26 |
-
// default - starts with 'field_'
|
27 |
-
if( substr($key, 0, 6) === 'field_' ) return true;
|
28 |
-
|
29 |
-
|
30 |
-
// special - allow local field key to be any string
|
31 |
-
if( acf_is_local_field_key($key) ) return true;
|
32 |
-
|
33 |
-
|
34 |
-
// return
|
35 |
-
return false;
|
36 |
-
|
37 |
-
}
|
38 |
-
|
39 |
-
|
40 |
-
/*
|
41 |
-
* acf_get_valid_field
|
42 |
-
*
|
43 |
-
* This function will fill in any missing keys to the $field array making it valid
|
44 |
-
*
|
45 |
-
* @type function
|
46 |
-
* @date 28/09/13
|
47 |
-
* @since 5.0.0
|
48 |
-
*
|
49 |
-
* @param $field (array)
|
50 |
-
* @return $field (array)
|
51 |
-
*/
|
52 |
-
|
53 |
-
function acf_get_valid_field( $field = false ) {
|
54 |
-
|
55 |
-
// $field must be an array
|
56 |
-
if( !is_array($field) ) $field = array();
|
57 |
-
|
58 |
-
|
59 |
-
// bail ealry if already valid
|
60 |
-
if( !empty($field['_valid']) ) return $field;
|
61 |
-
|
62 |
-
|
63 |
-
// defaults
|
64 |
-
$field = wp_parse_args($field, array(
|
65 |
-
'ID' => 0,
|
66 |
-
'key' => '',
|
67 |
-
'label' => '',
|
68 |
-
'name' => '',
|
69 |
-
'prefix' => '',
|
70 |
-
'type' => 'text',
|
71 |
-
'value' => null,
|
72 |
-
'menu_order' => 0,
|
73 |
-
'instructions' => '',
|
74 |
-
'required' => 0,
|
75 |
-
'id' => '',
|
76 |
-
'class' => '',
|
77 |
-
'conditional_logic' => 0,
|
78 |
-
'parent' => 0,
|
79 |
-
'wrapper' => array(),
|
80 |
-
'_name' => '',
|
81 |
-
'_prepare' => 0,
|
82 |
-
'_valid' => 0,
|
83 |
-
));
|
84 |
-
|
85 |
-
$field['wrapper'] = wp_parse_args($field['wrapper'], array(
|
86 |
-
'width' => '',
|
87 |
-
'class' => '',
|
88 |
-
'id' => ''
|
89 |
-
));
|
90 |
-
|
91 |
-
|
92 |
-
// _name
|
93 |
-
$field['_name'] = $field['name'];
|
94 |
-
|
95 |
-
|
96 |
-
// field is now valid
|
97 |
-
$field['_valid'] = 1;
|
98 |
-
|
99 |
-
|
100 |
-
/**
|
101 |
-
* Filters the $field array to validate settings.
|
102 |
-
*
|
103 |
-
* @date 12/02/2014
|
104 |
-
* @since 5.0.0
|
105 |
-
*
|
106 |
-
* @param array $field The field array.
|
107 |
-
*/
|
108 |
-
$field = apply_filters( "acf/validate_field/type={$field['type']}", $field );
|
109 |
-
$field = apply_filters( "acf/validate_field", $field );
|
110 |
-
|
111 |
-
|
112 |
-
// translate
|
113 |
-
$field = acf_translate_field( $field );
|
114 |
-
|
115 |
-
|
116 |
-
// return
|
117 |
-
return $field;
|
118 |
-
|
119 |
-
}
|
120 |
-
|
121 |
-
|
122 |
-
/*
|
123 |
-
* acf_translate_field
|
124 |
-
*
|
125 |
-
* This function will translate field's settings
|
126 |
-
*
|
127 |
-
* @type function
|
128 |
-
* @date 8/03/2016
|
129 |
-
* @since 5.3.2
|
130 |
-
*
|
131 |
-
* @param $field (array)
|
132 |
-
* @return $field
|
133 |
-
*/
|
134 |
-
|
135 |
-
function acf_translate_field( $field ) {
|
136 |
-
|
137 |
-
// vars
|
138 |
-
$l10n = acf_get_setting('l10n');
|
139 |
-
$l10n_textdomain = acf_get_setting('l10n_textdomain');
|
140 |
-
|
141 |
-
|
142 |
-
// if
|
143 |
-
if( $l10n && $l10n_textdomain ) {
|
144 |
-
|
145 |
-
// translate
|
146 |
-
$field['label'] = acf_translate( $field['label'] );
|
147 |
-
$field['instructions'] = acf_translate( $field['instructions'] );
|
148 |
-
|
149 |
-
|
150 |
-
/**
|
151 |
-
* Filters the $field array to translate strings.
|
152 |
-
*
|
153 |
-
* @date 12/02/2014
|
154 |
-
* @since 5.0.0
|
155 |
-
*
|
156 |
-
* @param array $field The field array.
|
157 |
-
*/
|
158 |
-
$field = apply_filters( "acf/translate_field/type={$field['type']}", $field );
|
159 |
-
$field = apply_filters( "acf/translate_field", $field );
|
160 |
-
|
161 |
-
}
|
162 |
-
|
163 |
-
|
164 |
-
// return
|
165 |
-
return $field;
|
166 |
-
|
167 |
-
}
|
168 |
-
|
169 |
-
|
170 |
-
/*
|
171 |
-
* acf_clone_field
|
172 |
-
*
|
173 |
-
* This function will allow customization to a field when it is cloned
|
174 |
-
* Cloning a field is the act of mimicing another. Some settings may need to be altered
|
175 |
-
*
|
176 |
-
* @type function
|
177 |
-
* @date 8/03/2016
|
178 |
-
* @since 5.3.2
|
179 |
-
*
|
180 |
-
* @param $field (array)
|
181 |
-
* @return $field
|
182 |
-
*/
|
183 |
-
|
184 |
-
function acf_clone_field( $field, $clone_field ) {
|
185 |
-
|
186 |
-
// add reference
|
187 |
-
$field['_clone'] = $clone_field['key'];
|
188 |
-
|
189 |
-
|
190 |
-
/**
|
191 |
-
* Filters the $field array when it is being cloned.
|
192 |
-
*
|
193 |
-
* @date 12/02/2014
|
194 |
-
* @since 5.0.0
|
195 |
-
*
|
196 |
-
* @param array $field The field array.
|
197 |
-
* @param array $clone_field The clone field array.
|
198 |
-
*/
|
199 |
-
$field = apply_filters( "acf/clone_field/type={$field['type']}", $field, $clone_field );
|
200 |
-
$field = apply_filters( "acf/clone_field", $field, $clone_field );
|
201 |
-
|
202 |
-
|
203 |
-
// return
|
204 |
-
return $field;
|
205 |
-
|
206 |
-
}
|
207 |
-
|
208 |
-
|
209 |
-
/*
|
210 |
-
* acf_prepare_field
|
211 |
-
*
|
212 |
-
* This function will prepare the field for input
|
213 |
-
*
|
214 |
-
* @type function
|
215 |
-
* @date 12/02/2014
|
216 |
-
* @since 5.0.0
|
217 |
-
*
|
218 |
-
* @param $field (array)
|
219 |
-
* @return $field (array)
|
220 |
-
*/
|
221 |
-
|
222 |
-
function acf_prepare_field( $field ) {
|
223 |
-
|
224 |
-
// bail early if already prepared
|
225 |
-
if( $field['_prepare'] ) return $field;
|
226 |
-
|
227 |
-
|
228 |
-
// key overrides name
|
229 |
-
if( $field['key'] ) $field['name'] = $field['key'];
|
230 |
-
|
231 |
-
|
232 |
-
// prefix
|
233 |
-
if( $field['prefix'] ) $field['name'] = $field['prefix'] . '[' . $field['name'] . ']';
|
234 |
-
|
235 |
-
|
236 |
-
// field is now prepared
|
237 |
-
$field['_prepare'] = 1;
|
238 |
-
|
239 |
-
|
240 |
-
/**
|
241 |
-
* Filters the $field array.
|
242 |
-
*
|
243 |
-
* Allows developers to modify field settings or return false to remove field.
|
244 |
-
*
|
245 |
-
* @date 12/02/2014
|
246 |
-
* @since 5.0.0
|
247 |
-
*
|
248 |
-
* @param array $field The field array.
|
249 |
-
*/
|
250 |
-
$field = apply_filters( "acf/prepare_field/type={$field['type']}", $field );
|
251 |
-
$field = apply_filters( "acf/prepare_field/name={$field['_name']}", $field );
|
252 |
-
$field = apply_filters( "acf/prepare_field/key={$field['key']}", $field );
|
253 |
-
$field = apply_filters( "acf/prepare_field", $field );
|
254 |
-
|
255 |
-
|
256 |
-
// bail ealry if no field
|
257 |
-
if( !$field ) return false;
|
258 |
-
|
259 |
-
|
260 |
-
// id attr is generated from name
|
261 |
-
$field['id'] = acf_idify( $field['name'] );
|
262 |
-
|
263 |
-
|
264 |
-
// return
|
265 |
-
return $field;
|
266 |
-
|
267 |
-
}
|
268 |
-
|
269 |
-
|
270 |
-
/*
|
271 |
-
* acf_is_sub_field
|
272 |
-
*
|
273 |
-
* This function will return true if the field is a sub field
|
274 |
-
*
|
275 |
-
* @type function
|
276 |
-
* @date 17/05/2014
|
277 |
-
* @since 5.0.0
|
278 |
-
*
|
279 |
-
* @param $field (array)
|
280 |
-
* @return (boolean)
|
281 |
-
*/
|
282 |
-
|
283 |
-
function acf_is_sub_field( $field ) {
|
284 |
-
|
285 |
-
// local field uses a field instead of ID
|
286 |
-
if( acf_is_field_key($field['parent']) ) return true;
|
287 |
-
|
288 |
-
|
289 |
-
// attempt to load parent field
|
290 |
-
if( acf_get_field($field['parent']) ) return true;
|
291 |
-
|
292 |
-
|
293 |
-
// return
|
294 |
-
return false;
|
295 |
-
|
296 |
-
}
|
297 |
-
|
298 |
-
|
299 |
-
/*
|
300 |
-
* acf_get_field_label
|
301 |
-
*
|
302 |
-
* This function will return the field label with appropriate required label
|
303 |
-
*
|
304 |
-
* @type function
|
305 |
-
* @date 4/11/2013
|
306 |
-
* @since 5.0.0
|
307 |
-
*
|
308 |
-
* @param $field (array)
|
309 |
-
* @return $label (string)
|
310 |
-
*/
|
311 |
-
|
312 |
-
function acf_get_field_label( $field, $context = '' ) {
|
313 |
-
|
314 |
-
// vars
|
315 |
-
$label = $field['label'];
|
316 |
-
|
317 |
-
|
318 |
-
// show (no label) when editing field
|
319 |
-
if( $context == 'admin' && $label === '' ) {
|
320 |
-
$label = __('(no label)', 'acf');
|
321 |
-
}
|
322 |
-
|
323 |
-
|
324 |
-
// required
|
325 |
-
if( $field['required'] ) {
|
326 |
-
$label .= ' <span class="acf-required">*</span>';
|
327 |
-
}
|
328 |
-
|
329 |
-
|
330 |
-
// filter for 3rd party customization
|
331 |
-
$label = apply_filters("acf/get_field_label", $label, $field);
|
332 |
-
|
333 |
-
|
334 |
-
// return
|
335 |
-
return $label;
|
336 |
-
|
337 |
-
}
|
338 |
-
|
339 |
-
function acf_the_field_label( $field ) {
|
340 |
-
|
341 |
-
echo acf_get_field_label( $field );
|
342 |
-
|
343 |
-
}
|
344 |
-
|
345 |
-
|
346 |
-
/*
|
347 |
-
* acf_render_fields
|
348 |
-
*
|
349 |
-
* This function will render an array of fields for a given form.
|
350 |
-
* Becasue the $field's values have not been loaded yet, this function will also load values
|
351 |
-
*
|
352 |
-
* @type function
|
353 |
-
* @date 8/10/13
|
354 |
-
* @since 5.0.0
|
355 |
-
*
|
356 |
-
* @param $post_id (int) the post to load values from
|
357 |
-
* @param $fields (array) the fields to render
|
358 |
-
* @param $el (string) the wrapping element type
|
359 |
-
* @param $instruction (int) the instructions position
|
360 |
-
* @return n/a
|
361 |
-
*/
|
362 |
-
|
363 |
-
function acf_render_fields( $fields, $post_id = 0, $el = 'div', $instruction = 'label' ) {
|
364 |
-
|
365 |
-
// parameter order changed in ACF 5.6.9
|
366 |
-
if( is_array($post_id) ) {
|
367 |
-
$args = func_get_args();
|
368 |
-
$fields = $args[1];
|
369 |
-
$post_id = $args[0];
|
370 |
-
}
|
371 |
-
|
372 |
-
// filter
|
373 |
-
$fields = apply_filters('acf/pre_render_fields', $fields, $post_id);
|
374 |
-
|
375 |
-
// bail early if no fields
|
376 |
-
if( empty($fields) ) return;
|
377 |
-
|
378 |
-
// loop
|
379 |
-
foreach( $fields as $field ) {
|
380 |
-
|
381 |
-
// bail ealry if no field
|
382 |
-
if( !$field ) continue;
|
383 |
-
|
384 |
-
// load value
|
385 |
-
if( $field['value'] === null ) {
|
386 |
-
$field['value'] = acf_get_value( $post_id, $field );
|
387 |
-
}
|
388 |
-
|
389 |
-
// render
|
390 |
-
acf_render_field_wrap( $field, $el, $instruction );
|
391 |
-
}
|
392 |
-
|
393 |
-
// action
|
394 |
-
do_action( 'acf/render_fields', $fields, $post_id );
|
395 |
-
}
|
396 |
-
|
397 |
-
|
398 |
-
/*
|
399 |
-
* acf_render_field
|
400 |
-
*
|
401 |
-
* This function will render a field input
|
402 |
-
*
|
403 |
-
* @type function
|
404 |
-
* @date 28/09/13
|
405 |
-
* @since 5.0.0
|
406 |
-
*
|
407 |
-
* @param $field (array)
|
408 |
-
* @return n/a
|
409 |
-
*/
|
410 |
-
|
411 |
-
function acf_render_field( $field = false ) {
|
412 |
-
|
413 |
-
// get valid field
|
414 |
-
$field = acf_get_valid_field( $field );
|
415 |
-
|
416 |
-
|
417 |
-
// prepare field for input
|
418 |
-
$field = acf_prepare_field( $field );
|
419 |
-
|
420 |
-
|
421 |
-
// bail ealry if no field
|
422 |
-
if( !$field ) return;
|
423 |
-
|
424 |
-
|
425 |
-
/**
|
426 |
-
* Fires when rendering a field.
|
427 |
-
*
|
428 |
-
* @date 12/02/2014
|
429 |
-
* @since 5.0.0
|
430 |
-
*
|
431 |
-
* @param array $field The field array.
|
432 |
-
*/
|
433 |
-
do_action( "acf/render_field/type={$field['type']}", $field );
|
434 |
-
do_action( "acf/render_field/name={$field['_name']}", $field );
|
435 |
-
do_action( "acf/render_field/key={$field['key']}", $field );
|
436 |
-
do_action( "acf/render_field", $field );
|
437 |
-
}
|
438 |
-
|
439 |
-
|
440 |
-
/*
|
441 |
-
* acf_render_field_wrap
|
442 |
-
*
|
443 |
-
* This function will render the complete HTML wrap with label & field
|
444 |
-
*
|
445 |
-
* @type function
|
446 |
-
* @date 28/09/13
|
447 |
-
* @since 5.0.0
|
448 |
-
*
|
449 |
-
* @param $field (array) must be a valid ACF field array
|
450 |
-
* @param $el (string) modifys the rendered wrapping elements. Default to 'div', but can be 'tr', 'ul', 'ol', 'dt' or custom
|
451 |
-
* @param $instruction (string) specifys the placement of the instructions. Default to 'label', but can be 'field'
|
452 |
-
* @param $atts (array) an array of custom attributes to render on the $el
|
453 |
-
* @return N/A
|
454 |
-
*/
|
455 |
-
|
456 |
-
function acf_render_field_wrap( $field, $el = 'div', $instruction = 'label' ) {
|
457 |
-
|
458 |
-
// get valid field
|
459 |
-
$field = acf_get_valid_field( $field );
|
460 |
-
|
461 |
-
|
462 |
-
// prepare field for input
|
463 |
-
$field = acf_prepare_field( $field );
|
464 |
-
|
465 |
-
|
466 |
-
// bail ealry if no field
|
467 |
-
if( !$field ) return;
|
468 |
-
|
469 |
-
|
470 |
-
// elements
|
471 |
-
$elements = array(
|
472 |
-
'div' => 'div',
|
473 |
-
'tr' => 'td',
|
474 |
-
'ul' => 'li',
|
475 |
-
'ol' => 'li',
|
476 |
-
'dl' => 'dt',
|
477 |
-
'td' => 'div' // special case for sub field!
|
478 |
-
);
|
479 |
-
|
480 |
-
|
481 |
-
// vars
|
482 |
-
$el = isset($elements[ $el ]) ? $el : 'div';
|
483 |
-
$el2 = $elements[ $el ];
|
484 |
-
$show_label = ($el !== 'td') ? true : false;
|
485 |
-
|
486 |
-
|
487 |
-
// wrapper
|
488 |
-
$wrapper = array(
|
489 |
-
'id' => '',
|
490 |
-
'class' => 'acf-field',
|
491 |
-
'width' => '',
|
492 |
-
'style' => '',
|
493 |
-
'data-name' => $field['_name'],
|
494 |
-
'data-type' => $field['type'],
|
495 |
-
'data-key' => '',
|
496 |
-
);
|
497 |
-
|
498 |
-
|
499 |
-
// add required
|
500 |
-
if( $field['required'] ) {
|
501 |
-
$wrapper['data-required'] = 1;
|
502 |
-
}
|
503 |
-
|
504 |
-
|
505 |
-
// add type
|
506 |
-
$wrapper['class'] .= " acf-field-{$field['type']}";
|
507 |
-
|
508 |
-
|
509 |
-
// add key
|
510 |
-
if( $field['key'] ) {
|
511 |
-
|
512 |
-
$wrapper['class'] .= " acf-field-{$field['key']}";
|
513 |
-
$wrapper['data-key'] = $field['key'];
|
514 |
-
|
515 |
-
}
|
516 |
-
|
517 |
-
|
518 |
-
// replace
|
519 |
-
$wrapper['class'] = str_replace('_', '-', $wrapper['class']);
|
520 |
-
$wrapper['class'] = str_replace('field-field-', 'field-', $wrapper['class']);
|
521 |
-
|
522 |
-
|
523 |
-
// wrap classes have changed (5.2.7)
|
524 |
-
if( acf_get_compatibility('field_wrapper_class') ) {
|
525 |
-
|
526 |
-
$wrapper['class'] .= " field_type-{$field['type']}";
|
527 |
-
|
528 |
-
if( $field['key'] ) {
|
529 |
-
|
530 |
-
$wrapper['class'] .= " field_key-{$field['key']}";
|
531 |
-
|
532 |
-
}
|
533 |
-
|
534 |
-
}
|
535 |
-
|
536 |
-
|
537 |
-
// merge in atts
|
538 |
-
$wrapper = acf_merge_atts( $wrapper, $field['wrapper'] );
|
539 |
-
|
540 |
-
|
541 |
-
// add width
|
542 |
-
$width = (int) acf_extract_var( $wrapper, 'width' );
|
543 |
-
|
544 |
-
if( $el == 'tr' || $el == 'td' ) {
|
545 |
-
|
546 |
-
// do nothing
|
547 |
-
|
548 |
-
} elseif( $width > 0 && $width < 100 ) {
|
549 |
-
|
550 |
-
$wrapper['data-width'] = $width;
|
551 |
-
$wrapper['style'] .= " width:{$width}%;";
|
552 |
-
|
553 |
-
}
|
554 |
-
|
555 |
-
|
556 |
-
// remove empty attributes
|
557 |
-
$wrapper = array_filter($wrapper);
|
558 |
-
|
559 |
-
|
560 |
-
// conditional logic
|
561 |
-
if( !empty($field['conditional_logic']) ) {
|
562 |
-
$field['conditions'] = $field['conditional_logic'];
|
563 |
-
}
|
564 |
-
|
565 |
-
// conditions
|
566 |
-
if( !empty($field['conditions']) ) {
|
567 |
-
$wrapper['data-conditions'] = $field['conditions'];
|
568 |
-
}
|
569 |
-
|
570 |
-
|
571 |
-
// html
|
572 |
-
?>
|
573 |
-
<<?php echo $el; ?> <?php acf_esc_attr_e($wrapper); ?>>
|
574 |
-
<?php if( $show_label ): ?>
|
575 |
-
<<?php echo $el2; ?> class="acf-label"><?php
|
576 |
-
|
577 |
-
acf_render_field_label( $field );
|
578 |
-
|
579 |
-
if( $instruction == 'label' ) acf_render_field_instructions( $field );
|
580 |
-
|
581 |
-
?></<?php echo $el2; ?>>
|
582 |
-
<?php endif; ?>
|
583 |
-
<<?php echo $el2; ?> class="acf-input">
|
584 |
-
<?php acf_render_field( $field ); ?>
|
585 |
-
<?php if( $instruction == 'field' ) acf_render_field_instructions( $field ); ?>
|
586 |
-
</<?php echo $el2; ?>>
|
587 |
-
</<?php echo $el; ?>>
|
588 |
-
<?php
|
589 |
-
|
590 |
-
}
|
591 |
-
|
592 |
-
|
593 |
-
/**
|
594 |
-
* acf_render_field_label
|
595 |
-
*
|
596 |
-
* This function will maybe output the field's label
|
597 |
-
*
|
598 |
-
* @date 19/9/17
|
599 |
-
* @since 5.6.3
|
600 |
-
*
|
601 |
-
* @param array $field
|
602 |
-
* @return n/a
|
603 |
-
*/
|
604 |
-
|
605 |
-
function acf_render_field_label( $field ) {
|
606 |
-
|
607 |
-
// vars
|
608 |
-
$label = acf_get_field_label( $field );
|
609 |
-
|
610 |
-
|
611 |
-
// check
|
612 |
-
if( $label ) {
|
613 |
-
echo '<label' . ($field['id'] ? ' for="' . esc_attr($field['id']) . '"' : '' ) . '>' . acf_esc_html($label) . '</label>';
|
614 |
-
}
|
615 |
-
|
616 |
-
}
|
617 |
-
|
618 |
-
|
619 |
-
/* depreciated since 5.6.5 */
|
620 |
-
function acf_render_field_wrap_label( $field ) {
|
621 |
-
acf_render_field_label( $field );
|
622 |
-
}
|
623 |
-
|
624 |
-
|
625 |
-
/**
|
626 |
-
* acf_render_field_instructions
|
627 |
-
*
|
628 |
-
* This function will maybe output the field's instructions
|
629 |
-
*
|
630 |
-
* @date 19/9/17
|
631 |
-
* @since 5.6.3
|
632 |
-
*
|
633 |
-
* @param array $field
|
634 |
-
* @return n/a
|
635 |
-
*/
|
636 |
-
|
637 |
-
function acf_render_field_instructions( $field ) {
|
638 |
-
|
639 |
-
// vars
|
640 |
-
$instructions = $field['instructions'];
|
641 |
-
|
642 |
-
|
643 |
-
// check
|
644 |
-
if( $instructions ) {
|
645 |
-
echo '<p class="description">' . acf_esc_html($instructions) . '</p>';
|
646 |
-
}
|
647 |
-
|
648 |
-
}
|
649 |
-
|
650 |
-
|
651 |
-
/* depreciated since 5.6.5 */
|
652 |
-
function acf_render_field_wrap_description( $field ) {
|
653 |
-
acf_render_field_instructions( $field );
|
654 |
-
}
|
655 |
-
|
656 |
-
|
657 |
-
/*
|
658 |
-
* acf_render_field_setting
|
659 |
-
*
|
660 |
-
* This function will render a tr element containing a label and field cell, but also setting the tr data attribute for AJAX
|
661 |
-
*
|
662 |
-
* @type function
|
663 |
-
* @date 28/09/13
|
664 |
-
* @since 5.0.0
|
665 |
-
*
|
666 |
-
* @param $field (array) the origional field being edited
|
667 |
-
* @param $setting (array) the settings field to create
|
668 |
-
* @return n/a
|
669 |
-
*/
|
670 |
-
|
671 |
-
function acf_render_field_setting( $field, $setting, $global = false ) {
|
672 |
-
|
673 |
-
// validate
|
674 |
-
$setting = acf_get_valid_field( $setting );
|
675 |
-
|
676 |
-
// custom key and class
|
677 |
-
$setting['wrapper']['data-key'] = $setting['name'];
|
678 |
-
$setting['wrapper']['class'] .= ' acf-field-setting-' . $setting['name'];
|
679 |
-
|
680 |
-
// context
|
681 |
-
if( !$global ) {
|
682 |
-
$setting['wrapper']['data-setting'] = $field['type'];
|
683 |
-
}
|
684 |
-
|
685 |
-
// copy across prefix
|
686 |
-
$setting['prefix'] = $field['prefix'];
|
687 |
-
|
688 |
-
// attempt find value
|
689 |
-
if( $setting['value'] === null ) {
|
690 |
-
|
691 |
-
// name
|
692 |
-
if( isset($field[ $setting['name'] ]) ) {
|
693 |
-
$setting['value'] = $field[ $setting['name'] ];
|
694 |
-
|
695 |
-
// default
|
696 |
-
} elseif( isset($setting['default_value']) ) {
|
697 |
-
$setting['value'] = $setting['default_value'];
|
698 |
-
}
|
699 |
-
}
|
700 |
-
|
701 |
-
// append (used by JS to join settings)
|
702 |
-
if( isset($setting['_append']) ) {
|
703 |
-
$setting['wrapper']['data-append'] = $setting['_append'];
|
704 |
-
}
|
705 |
-
|
706 |
-
// render
|
707 |
-
acf_render_field_wrap( $setting, 'tr', 'label' );
|
708 |
-
}
|
709 |
-
|
710 |
-
|
711 |
-
/*
|
712 |
-
* acf_get_fields
|
713 |
-
*
|
714 |
-
* This function will return an array of fields for the given $parent
|
715 |
-
*
|
716 |
-
* @type function
|
717 |
-
* @date 30/09/13
|
718 |
-
* @since 5.0.0
|
719 |
-
*
|
720 |
-
* @param $parent (array) a field or field group
|
721 |
-
* @return (array)
|
722 |
-
*/
|
723 |
-
|
724 |
-
function acf_get_fields( $parent = false ) {
|
725 |
-
|
726 |
-
// allow $parent to be a field group ID
|
727 |
-
if( !is_array($parent) ) {
|
728 |
-
|
729 |
-
$parent = acf_get_field_group( $parent );
|
730 |
-
|
731 |
-
}
|
732 |
-
|
733 |
-
|
734 |
-
// bail early if no parent
|
735 |
-
if( !$parent ) return false;
|
736 |
-
|
737 |
-
|
738 |
-
// vars
|
739 |
-
$fields = array();
|
740 |
-
|
741 |
-
|
742 |
-
// try JSON before DB to save query time
|
743 |
-
if( acf_have_local_fields( $parent['key'] ) ) {
|
744 |
-
|
745 |
-
$fields = acf_get_local_fields( $parent['key'] );
|
746 |
-
|
747 |
-
} else {
|
748 |
-
|
749 |
-
$fields = acf_get_fields_by_id( $parent['ID'] );
|
750 |
-
|
751 |
-
}
|
752 |
-
|
753 |
-
|
754 |
-
// filter
|
755 |
-
$fields = apply_filters('acf/load_fields', $fields, $parent);
|
756 |
-
$fields = apply_filters('acf/get_fields', $fields, $parent);
|
757 |
-
|
758 |
-
|
759 |
-
// return
|
760 |
-
return $fields;
|
761 |
-
|
762 |
-
}
|
763 |
-
|
764 |
-
|
765 |
-
/*
|
766 |
-
* acf_get_fields_by_id
|
767 |
-
*
|
768 |
-
* This function will get all fields for the given parent
|
769 |
-
*
|
770 |
-
* @type function
|
771 |
-
* @date 27/02/2014
|
772 |
-
* @since 5.0.0
|
773 |
-
*
|
774 |
-
* @param $post_id (int)
|
775 |
-
* @return $fields (array)
|
776 |
-
*/
|
777 |
-
|
778 |
-
function acf_get_fields_by_id( $parent_id = 0 ) {
|
779 |
-
|
780 |
-
// bail early if no ID
|
781 |
-
if( !$parent_id ) return false;
|
782 |
-
|
783 |
-
|
784 |
-
// vars
|
785 |
-
$fields = array();
|
786 |
-
$post_ids = array();
|
787 |
-
$cache_key = "get_fields/ID={$parent_id}";
|
788 |
-
|
789 |
-
|
790 |
-
// check cache for child ids
|
791 |
-
if( acf_isset_cache($cache_key) ) {
|
792 |
-
|
793 |
-
$post_ids = acf_get_cache($cache_key);
|
794 |
-
|
795 |
-
// query DB for child ids
|
796 |
-
} else {
|
797 |
-
|
798 |
-
// query
|
799 |
-
$posts = get_posts(array(
|
800 |
-
'posts_per_page' => -1,
|
801 |
-
'post_type' => 'acf-field',
|
802 |
-
'orderby' => 'menu_order',
|
803 |
-
'order' => 'ASC',
|
804 |
-
'suppress_filters' => true, // DO NOT allow WPML to modify the query
|
805 |
-
'post_parent' => $parent_id,
|
806 |
-
'post_status' => 'publish, trash', // 'any' won't get trashed fields
|
807 |
-
'update_post_meta_cache' => false,
|
808 |
-
'update_post_term_cache' => false
|
809 |
-
));
|
810 |
-
|
811 |
-
|
812 |
-
// loop
|
813 |
-
if( $posts ) {
|
814 |
-
|
815 |
-
foreach( $posts as $post ) {
|
816 |
-
|
817 |
-
$post_ids[] = $post->ID;
|
818 |
-
|
819 |
-
}
|
820 |
-
|
821 |
-
}
|
822 |
-
|
823 |
-
|
824 |
-
// update cache
|
825 |
-
acf_set_cache($cache_key, $post_ids);
|
826 |
-
|
827 |
-
}
|
828 |
-
|
829 |
-
|
830 |
-
// bail early if no children
|
831 |
-
if( empty($post_ids) ) return false;
|
832 |
-
|
833 |
-
|
834 |
-
// load fields
|
835 |
-
foreach( $post_ids as $post_id ) {
|
836 |
-
|
837 |
-
$fields[] = acf_get_field( $post_id );
|
838 |
-
|
839 |
-
}
|
840 |
-
|
841 |
-
|
842 |
-
// return
|
843 |
-
return $fields;
|
844 |
-
|
845 |
-
}
|
846 |
-
|
847 |
-
|
848 |
-
/*
|
849 |
-
* acf_get_field
|
850 |
-
*
|
851 |
-
* This function will return a field for the given selector.
|
852 |
-
*
|
853 |
-
* @type function
|
854 |
-
* @date 30/09/13
|
855 |
-
* @since 5.0.0
|
856 |
-
*
|
857 |
-
* @param $selector (mixed) identifyer of field. Can be an ID, key, name or post object
|
858 |
-
* @param $db_only (boolean) return $field in it's raw form without filters or cache
|
859 |
-
* @return $field (array)
|
860 |
-
*/
|
861 |
-
|
862 |
-
function acf_get_field( $selector = null, $db_only = false ) {
|
863 |
-
|
864 |
-
// vars
|
865 |
-
$field = false;
|
866 |
-
$type = 'ID';
|
867 |
-
|
868 |
-
|
869 |
-
// ID
|
870 |
-
if( is_numeric($selector) ) {
|
871 |
-
|
872 |
-
// do nothing
|
873 |
-
|
874 |
-
// object
|
875 |
-
} elseif( is_object($selector) ) {
|
876 |
-
|
877 |
-
$selector = $selector->ID;
|
878 |
-
|
879 |
-
// string
|
880 |
-
} elseif( is_string($selector) ) {
|
881 |
-
|
882 |
-
$type = acf_is_field_key($selector) ? 'key' : 'name';
|
883 |
-
|
884 |
-
// other
|
885 |
-
} else {
|
886 |
-
|
887 |
-
return false;
|
888 |
-
|
889 |
-
}
|
890 |
-
|
891 |
-
|
892 |
-
// return early if cache is found
|
893 |
-
$cache_key = "get_field/{$type}={$selector}";
|
894 |
-
|
895 |
-
if( !$db_only && acf_isset_cache($cache_key) ) {
|
896 |
-
|
897 |
-
return acf_get_cache($cache_key);
|
898 |
-
|
899 |
-
}
|
900 |
-
|
901 |
-
|
902 |
-
// ID
|
903 |
-
if( $type == 'ID' ) {
|
904 |
-
|
905 |
-
$field = _acf_get_field_by_id( $selector, $db_only );
|
906 |
-
|
907 |
-
// key
|
908 |
-
} elseif( $type == 'key' ) {
|
909 |
-
|
910 |
-
$field = _acf_get_field_by_key( $selector, $db_only );
|
911 |
-
|
912 |
-
// name (rare case)
|
913 |
-
} else {
|
914 |
-
|
915 |
-
$field = _acf_get_field_by_name( $selector, $db_only );
|
916 |
-
|
917 |
-
}
|
918 |
-
|
919 |
-
|
920 |
-
// bail early if no field
|
921 |
-
if( !$field ) return false;
|
922 |
-
|
923 |
-
|
924 |
-
// validate
|
925 |
-
$field = acf_get_valid_field( $field );
|
926 |
-
|
927 |
-
|
928 |
-
// set prefix (acf fields save with prefix 'acf')
|
929 |
-
$field['prefix'] = 'acf';
|
930 |
-
|
931 |
-
|
932 |
-
// bail early if db only value (no need to update cache)
|
933 |
-
if( $db_only ) return $field;
|
934 |
-
|
935 |
-
|
936 |
-
/**
|
937 |
-
* Filters the $field array after it has been loaded.
|
938 |
-
*
|
939 |
-
* @date 12/02/2014
|
940 |
-
* @since 5.0.0
|
941 |
-
*
|
942 |
-
* @param array $field The field array.
|
943 |
-
*/
|
944 |
-
$field = apply_filters( "acf/load_field/type={$field['type']}", $field );
|
945 |
-
$field = apply_filters( "acf/load_field/name={$field['_name']}", $field );
|
946 |
-
$field = apply_filters( "acf/load_field/key={$field['key']}", $field );
|
947 |
-
$field = apply_filters( "acf/load_field", $field );
|
948 |
-
|
949 |
-
|
950 |
-
// update cache
|
951 |
-
// - Use key instead of ID for best compatibility (not all fields exist in the DB)
|
952 |
-
$cache_key = acf_set_cache("get_field/key={$field['key']}", $field);
|
953 |
-
|
954 |
-
|
955 |
-
// update cache reference
|
956 |
-
// - allow cache to return if using an ID selector
|
957 |
-
acf_set_cache_reference("get_field/ID={$field['ID']}", $cache_key);
|
958 |
-
|
959 |
-
|
960 |
-
// return
|
961 |
-
return $field;
|
962 |
-
|
963 |
-
}
|
964 |
-
|
965 |
-
|
966 |
-
/*
|
967 |
-
* _acf_get_field_by_id
|
968 |
-
*
|
969 |
-
* This function will get a field via its ID
|
970 |
-
*
|
971 |
-
* @type function
|
972 |
-
* @date 27/02/2014
|
973 |
-
* @since 5.0.0
|
974 |
-
*
|
975 |
-
* @param $post_id (int)
|
976 |
-
* @return $field (array)
|
977 |
-
*/
|
978 |
-
|
979 |
-
function _acf_get_field_by_id( $post_id = 0, $db_only = false ) {
|
980 |
-
|
981 |
-
// get post
|
982 |
-
$post = get_post( $post_id );
|
983 |
-
|
984 |
-
|
985 |
-
// bail early if no post, or is not a field
|
986 |
-
if( empty($post) || $post->post_type != 'acf-field' ) return false;
|
987 |
-
|
988 |
-
|
989 |
-
// unserialize
|
990 |
-
$field = maybe_unserialize( $post->post_content );
|
991 |
-
|
992 |
-
|
993 |
-
// update attributes
|
994 |
-
$field['ID'] = $post->ID;
|
995 |
-
$field['key'] = $post->post_name;
|
996 |
-
$field['label'] = $post->post_title;
|
997 |
-
$field['name'] = $post->post_excerpt;
|
998 |
-
$field['menu_order'] = $post->menu_order;
|
999 |
-
$field['parent'] = $post->post_parent;
|
1000 |
-
|
1001 |
-
|
1002 |
-
// override with JSON
|
1003 |
-
if( !$db_only && acf_is_local_field($field['key']) ) {
|
1004 |
-
|
1005 |
-
// load JSON field
|
1006 |
-
$local = acf_get_local_field( $field['key'] );
|
1007 |
-
|
1008 |
-
|
1009 |
-
// override IDs
|
1010 |
-
$local['ID'] = $field['ID'];
|
1011 |
-
$local['parent'] = $field['parent'];
|
1012 |
-
|
1013 |
-
|
1014 |
-
// return
|
1015 |
-
return $local;
|
1016 |
-
|
1017 |
-
}
|
1018 |
-
|
1019 |
-
|
1020 |
-
// return
|
1021 |
-
return $field;
|
1022 |
-
|
1023 |
-
}
|
1024 |
-
|
1025 |
-
|
1026 |
-
/*
|
1027 |
-
* _acf_get_field_by_key
|
1028 |
-
*
|
1029 |
-
* This function will get a field via its key
|
1030 |
-
*
|
1031 |
-
* @type function
|
1032 |
-
* @date 27/02/2014
|
1033 |
-
* @since 5.0.0
|
1034 |
-
*
|
1035 |
-
* @param $key (string)
|
1036 |
-
* @return $field (array)
|
1037 |
-
*/
|
1038 |
-
|
1039 |
-
function _acf_get_field_by_key( $key = '', $db_only = false ) {
|
1040 |
-
|
1041 |
-
// try JSON before DB to save query time
|
1042 |
-
if( !$db_only && acf_is_local_field( $key ) ) {
|
1043 |
-
|
1044 |
-
return acf_get_local_field( $key );
|
1045 |
-
|
1046 |
-
}
|
1047 |
-
|
1048 |
-
|
1049 |
-
// vars
|
1050 |
-
$post_id = acf_get_field_id( $key );
|
1051 |
-
|
1052 |
-
|
1053 |
-
// bail early if no post_id
|
1054 |
-
if( !$post_id ) return false;
|
1055 |
-
|
1056 |
-
|
1057 |
-
// return
|
1058 |
-
return _acf_get_field_by_id( $post_id, $db_only );
|
1059 |
-
|
1060 |
-
}
|
1061 |
-
|
1062 |
-
|
1063 |
-
/*
|
1064 |
-
* _acf_get_field_by_name
|
1065 |
-
*
|
1066 |
-
* This function will get a field via its name
|
1067 |
-
*
|
1068 |
-
* @type function
|
1069 |
-
* @date 27/02/2014
|
1070 |
-
* @since 5.0.0
|
1071 |
-
*
|
1072 |
-
* @param $key (string)
|
1073 |
-
* @return $field (array)
|
1074 |
-
*/
|
1075 |
-
|
1076 |
-
function _acf_get_field_by_name( $name = '', $db_only = false ) {
|
1077 |
-
|
1078 |
-
// try JSON before DB to save query time
|
1079 |
-
if( !$db_only && acf_is_local_field( $name ) ) {
|
1080 |
-
|
1081 |
-
return acf_get_local_field( $name );
|
1082 |
-
|
1083 |
-
}
|
1084 |
-
|
1085 |
-
|
1086 |
-
// vars
|
1087 |
-
$args = array(
|
1088 |
-
'posts_per_page' => 1,
|
1089 |
-
'post_type' => 'acf-field',
|
1090 |
-
'orderby' => 'menu_order title',
|
1091 |
-
'order' => 'ASC',
|
1092 |
-
'suppress_filters' => false,
|
1093 |
-
'acf_field_name' => $name,
|
1094 |
-
'update_post_meta_cache' => false,
|
1095 |
-
'update_post_term_cache' => false
|
1096 |
-
);
|
1097 |
-
|
1098 |
-
|
1099 |
-
// load posts
|
1100 |
-
$posts = get_posts( $args );
|
1101 |
-
|
1102 |
-
|
1103 |
-
// bail early if no posts
|
1104 |
-
if( empty($posts) ) return false;
|
1105 |
-
|
1106 |
-
|
1107 |
-
// return
|
1108 |
-
return _acf_get_field_by_id( $posts[0]->ID, $db_only );
|
1109 |
-
|
1110 |
-
}
|
1111 |
-
|
1112 |
-
|
1113 |
-
/*
|
1114 |
-
* acf_maybe_get_field
|
1115 |
-
*
|
1116 |
-
* This function will return a field for the given selector.
|
1117 |
-
* It will also review the field_reference to ensure the correct field is returned which makes it useful for the template API
|
1118 |
-
*
|
1119 |
-
* @type function
|
1120 |
-
* @date 4/08/2015
|
1121 |
-
* @since 5.2.3
|
1122 |
-
*
|
1123 |
-
* @param $selector (mixed) identifyer of field. Can be an ID, key, name or post object
|
1124 |
-
* @param $post_id (mixed) the post_id of which the value is saved against
|
1125 |
-
* @param $strict (boolean) if true, return a field only when a field key is found.
|
1126 |
-
* @return $field (array)
|
1127 |
-
*/
|
1128 |
-
|
1129 |
-
function acf_maybe_get_field( $selector, $post_id = false, $strict = true ) {
|
1130 |
-
|
1131 |
-
// init
|
1132 |
-
acf_init();
|
1133 |
-
|
1134 |
-
|
1135 |
-
// bail early if is field key
|
1136 |
-
if( acf_is_field_key($selector) ) {
|
1137 |
-
|
1138 |
-
return acf_get_field( $selector );
|
1139 |
-
|
1140 |
-
}
|
1141 |
-
|
1142 |
-
|
1143 |
-
// save selector as field_name (could be sub field name 'images_0_image')
|
1144 |
-
$field_name = $selector;
|
1145 |
-
|
1146 |
-
|
1147 |
-
// get valid post_id
|
1148 |
-
$post_id = acf_get_valid_post_id( $post_id );
|
1149 |
-
|
1150 |
-
|
1151 |
-
// get reference
|
1152 |
-
$field_key = acf_get_reference( $selector, $post_id );
|
1153 |
-
|
1154 |
-
|
1155 |
-
// update selector
|
1156 |
-
if( $field_key ) {
|
1157 |
-
|
1158 |
-
$selector = $field_key;
|
1159 |
-
|
1160 |
-
// bail early if no reference
|
1161 |
-
} elseif( $strict ) {
|
1162 |
-
|
1163 |
-
return false;
|
1164 |
-
|
1165 |
-
}
|
1166 |
-
|
1167 |
-
|
1168 |
-
// get field
|
1169 |
-
$field = acf_get_field( $selector );
|
1170 |
-
|
1171 |
-
|
1172 |
-
// update name
|
1173 |
-
if( $field ) $field['name'] = $field_name;
|
1174 |
-
|
1175 |
-
|
1176 |
-
// return
|
1177 |
-
return $field;
|
1178 |
-
|
1179 |
-
}
|
1180 |
-
|
1181 |
-
|
1182 |
-
/*
|
1183 |
-
* acf_get_field_id
|
1184 |
-
*
|
1185 |
-
* This function will lookup a field's ID from the DB
|
1186 |
-
* Useful for local fields to find DB sibling
|
1187 |
-
*
|
1188 |
-
* @type function
|
1189 |
-
* @date 25/06/2015
|
1190 |
-
* @since 5.2.3
|
1191 |
-
*
|
1192 |
-
* @param $key (string)
|
1193 |
-
* @return $post_id (int)
|
1194 |
-
*/
|
1195 |
-
|
1196 |
-
function acf_get_field_id( $key = '' ) {
|
1197 |
-
|
1198 |
-
// vars
|
1199 |
-
$args = array(
|
1200 |
-
'posts_per_page' => 1,
|
1201 |
-
'post_type' => 'acf-field',
|
1202 |
-
'orderby' => 'menu_order title',
|
1203 |
-
'order' => 'ASC',
|
1204 |
-
'suppress_filters' => false,
|
1205 |
-
'acf_field_key' => $key,
|
1206 |
-
'update_post_meta_cache' => false,
|
1207 |
-
'update_post_term_cache' => false
|
1208 |
-
);
|
1209 |
-
|
1210 |
-
|
1211 |
-
// load posts
|
1212 |
-
$posts = get_posts( $args );
|
1213 |
-
|
1214 |
-
|
1215 |
-
// validate
|
1216 |
-
if( empty($posts) ) return 0;
|
1217 |
-
|
1218 |
-
|
1219 |
-
// return
|
1220 |
-
return $posts[0]->ID;
|
1221 |
-
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
|
1225 |
-
/*
|
1226 |
-
* acf_update_field
|
1227 |
-
*
|
1228 |
-
* This function will update a field into the DB.
|
1229 |
-
* The returned field will always contain an ID
|
1230 |
-
*
|
1231 |
-
* @type function
|
1232 |
-
* @date 1/10/13
|
1233 |
-
* @since 5.0.0
|
1234 |
-
*
|
1235 |
-
* @param $field (array)
|
1236 |
-
* @return $field (array)
|
1237 |
-
*/
|
1238 |
-
|
1239 |
-
function acf_update_field( $field = false, $specific = false ) {
|
1240 |
-
|
1241 |
-
// $field must be an array
|
1242 |
-
if( !is_array($field) ) return false;
|
1243 |
-
|
1244 |
-
|
1245 |
-
// validate
|
1246 |
-
$field = acf_get_valid_field( $field );
|
1247 |
-
|
1248 |
-
|
1249 |
-
// may have been posted. Remove slashes
|
1250 |
-
$field = wp_unslash( $field );
|
1251 |
-
|
1252 |
-
|
1253 |
-
// parse types (converts string '0' to int 0)
|
1254 |
-
$field = acf_parse_types( $field );
|
1255 |
-
|
1256 |
-
|
1257 |
-
// clean up conditional logic keys
|
1258 |
-
if( !empty($field['conditional_logic']) ) {
|
1259 |
-
|
1260 |
-
// extract groups
|
1261 |
-
$groups = acf_extract_var( $field, 'conditional_logic' );
|
1262 |
-
|
1263 |
-
|
1264 |
-
// clean array
|
1265 |
-
$groups = array_filter($groups);
|
1266 |
-
$groups = array_values($groups);
|
1267 |
-
|
1268 |
-
|
1269 |
-
// clean rules
|
1270 |
-
foreach( array_keys($groups) as $i ) {
|
1271 |
-
|
1272 |
-
$groups[ $i ] = array_filter($groups[ $i ]);
|
1273 |
-
$groups[ $i ] = array_values($groups[ $i ]);
|
1274 |
-
|
1275 |
-
}
|
1276 |
-
|
1277 |
-
|
1278 |
-
// reset conditional logic
|
1279 |
-
$field['conditional_logic'] = $groups;
|
1280 |
-
|
1281 |
-
}
|
1282 |
-
|
1283 |
-
|
1284 |
-
// parent may be a field key
|
1285 |
-
// - lookup parent ID
|
1286 |
-
if( acf_is_field_key($field['parent']) ) {
|
1287 |
-
|
1288 |
-
$field['parent'] = acf_get_field_id( $field['parent'] );
|
1289 |
-
|
1290 |
-
}
|
1291 |
-
|
1292 |
-
|
1293 |
-
/**
|
1294 |
-
* Filters the $field array before it is updated.
|
1295 |
-
*
|
1296 |
-
* @date 12/02/2014
|
1297 |
-
* @since 5.0.0
|
1298 |
-
*
|
1299 |
-
* @param array $field The field array.
|
1300 |
-
*/
|
1301 |
-
$field = apply_filters( "acf/update_field/type={$field['type']}", $field );
|
1302 |
-
$field = apply_filters( "acf/update_field/name={$field['_name']}", $field );
|
1303 |
-
$field = apply_filters( "acf/update_field/key={$field['key']}", $field );
|
1304 |
-
$field = apply_filters( "acf/update_field", $field );
|
1305 |
-
|
1306 |
-
|
1307 |
-
// store origional field for return
|
1308 |
-
$data = $field;
|
1309 |
-
|
1310 |
-
|
1311 |
-
// extract some args
|
1312 |
-
$extract = acf_extract_vars($data, array(
|
1313 |
-
'ID',
|
1314 |
-
'key',
|
1315 |
-
'label',
|
1316 |
-
'name',
|
1317 |
-
'prefix',
|
1318 |
-
'value',
|
1319 |
-
'menu_order',
|
1320 |
-
'id',
|
1321 |
-
'class',
|
1322 |
-
'parent',
|
1323 |
-
'_name',
|
1324 |
-
'_prepare',
|
1325 |
-
'_valid',
|
1326 |
-
));
|
1327 |
-
|
1328 |
-
|
1329 |
-
// serialize for DB
|
1330 |
-
$data = maybe_serialize( $data );
|
1331 |
-
|
1332 |
-
|
1333 |
-
// save
|
1334 |
-
$save = array(
|
1335 |
-
'ID' => $extract['ID'],
|
1336 |
-
'post_status' => 'publish',
|
1337 |
-
'post_type' => 'acf-field',
|
1338 |
-
'post_title' => $extract['label'],
|
1339 |
-
'post_name' => $extract['key'],
|
1340 |
-
'post_excerpt' => $extract['name'],
|
1341 |
-
'post_content' => $data,
|
1342 |
-
'post_parent' => $extract['parent'],
|
1343 |
-
'menu_order' => $extract['menu_order'],
|
1344 |
-
);
|
1345 |
-
|
1346 |
-
|
1347 |
-
// specific
|
1348 |
-
if( acf_is_array($specific) ) {
|
1349 |
-
|
1350 |
-
// append ID
|
1351 |
-
$specific[] = 'ID';
|
1352 |
-
|
1353 |
-
|
1354 |
-
// get sub array
|
1355 |
-
$save = acf_get_sub_array( $save, $specific );
|
1356 |
-
|
1357 |
-
}
|
1358 |
-
|
1359 |
-
|
1360 |
-
// allow fields to contain the same name
|
1361 |
-
add_filter( 'wp_unique_post_slug', 'acf_update_field_wp_unique_post_slug', 999, 6 );
|
1362 |
-
|
1363 |
-
|
1364 |
-
// slash data
|
1365 |
-
// - WP expects all data to be slashed and will unslash it (fixes '\' character issues)
|
1366 |
-
$save = wp_slash( $save );
|
1367 |
-
|
1368 |
-
|
1369 |
-
// update the field and update the ID
|
1370 |
-
if( $field['ID'] ) {
|
1371 |
-
|
1372 |
-
wp_update_post( $save );
|
1373 |
-
|
1374 |
-
} else {
|
1375 |
-
|
1376 |
-
$field['ID'] = wp_insert_post( $save );
|
1377 |
-
|
1378 |
-
}
|
1379 |
-
|
1380 |
-
|
1381 |
-
// clear cache
|
1382 |
-
acf_delete_cache("get_field/key={$field['key']}");
|
1383 |
-
|
1384 |
-
|
1385 |
-
// return
|
1386 |
-
return $field;
|
1387 |
-
|
1388 |
-
}
|
1389 |
-
|
1390 |
-
function acf_update_field_wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug ) {
|
1391 |
-
|
1392 |
-
if( $post_type == 'acf-field' ) {
|
1393 |
-
|
1394 |
-
$slug = $original_slug;
|
1395 |
-
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
// return
|
1399 |
-
return $slug;
|
1400 |
-
|
1401 |
-
}
|
1402 |
-
|
1403 |
-
|
1404 |
-
/*
|
1405 |
-
* acf_duplicate_fields
|
1406 |
-
*
|
1407 |
-
* This function will duplicate an array of fields and update conditional logic references
|
1408 |
-
*
|
1409 |
-
* @type function
|
1410 |
-
* @date 16/06/2014
|
1411 |
-
* @since 5.0.0
|
1412 |
-
*
|
1413 |
-
* @param $fields (array)
|
1414 |
-
* @param $new_parent (int)
|
1415 |
-
* @return n/a
|
1416 |
-
*/
|
1417 |
-
|
1418 |
-
function acf_duplicate_fields( $fields, $new_parent = 0 ) {
|
1419 |
-
|
1420 |
-
// bail early if no fields
|
1421 |
-
if( empty($fields) ) return;
|
1422 |
-
|
1423 |
-
|
1424 |
-
// create new field keys (for conditional logic fixes)
|
1425 |
-
foreach( $fields as $field ) {
|
1426 |
-
|
1427 |
-
// ensure a delay for unique ID
|
1428 |
-
usleep(1);
|
1429 |
-
|
1430 |
-
acf_update_setting( 'duplicate_key_' . $field['key'] , uniqid('field_') );
|
1431 |
-
|
1432 |
-
}
|
1433 |
-
|
1434 |
-
|
1435 |
-
// duplicate fields
|
1436 |
-
foreach( $fields as $field ) {
|
1437 |
-
|
1438 |
-
// duplicate
|
1439 |
-
acf_duplicate_field( $field['ID'], $new_parent );
|
1440 |
-
|
1441 |
-
}
|
1442 |
-
|
1443 |
-
}
|
1444 |
-
|
1445 |
-
|
1446 |
-
/*
|
1447 |
-
* acf_duplicate_field
|
1448 |
-
*
|
1449 |
-
* This function will duplicate a field and attach it to the given field group ID
|
1450 |
-
*
|
1451 |
-
* @type function
|
1452 |
-
* @date 17/10/13
|
1453 |
-
* @since 5.0.0
|
1454 |
-
*
|
1455 |
-
* @param $selector (int)
|
1456 |
-
* @param $new_parent (int)
|
1457 |
-
* @return $field (array) the new field
|
1458 |
-
*/
|
1459 |
-
|
1460 |
-
function acf_duplicate_field( $selector = 0, $new_parent = 0 ){
|
1461 |
-
|
1462 |
-
// disable filters to ensure ACF loads raw data from DB
|
1463 |
-
acf_disable_filters();
|
1464 |
-
|
1465 |
-
|
1466 |
-
// load the origional field
|
1467 |
-
$field = acf_get_field( $selector );
|
1468 |
-
|
1469 |
-
|
1470 |
-
// bail early if field did not load correctly
|
1471 |
-
if( empty($field) ) {
|
1472 |
-
|
1473 |
-
return false;
|
1474 |
-
|
1475 |
-
}
|
1476 |
-
|
1477 |
-
|
1478 |
-
// update ID
|
1479 |
-
$field['ID'] = false;
|
1480 |
-
|
1481 |
-
|
1482 |
-
// try duplicate keys
|
1483 |
-
$field['key'] = acf_get_setting( 'duplicate_key_' . $field['key'] );
|
1484 |
-
|
1485 |
-
|
1486 |
-
// default key
|
1487 |
-
if( empty($field['key']) ) {
|
1488 |
-
|
1489 |
-
$field['key'] = uniqid('field_');
|
1490 |
-
|
1491 |
-
}
|
1492 |
-
|
1493 |
-
|
1494 |
-
// update parent
|
1495 |
-
if( $new_parent ) {
|
1496 |
-
|
1497 |
-
$field['parent'] = $new_parent;
|
1498 |
-
|
1499 |
-
}
|
1500 |
-
|
1501 |
-
|
1502 |
-
// update conditional logic references (because field keys have changed)
|
1503 |
-
if( !empty($field['conditional_logic']) ) {
|
1504 |
-
|
1505 |
-
// extract groups
|
1506 |
-
$groups = acf_extract_var( $field, 'conditional_logic' );
|
1507 |
-
|
1508 |
-
|
1509 |
-
// loop over groups
|
1510 |
-
foreach( array_keys($groups) as $g ) {
|
1511 |
-
|
1512 |
-
// extract group
|
1513 |
-
$group = acf_extract_var( $groups, $g );
|
1514 |
-
|
1515 |
-
|
1516 |
-
// bail early if empty
|
1517 |
-
if( empty($group) ) {
|
1518 |
-
|
1519 |
-
continue;
|
1520 |
-
|
1521 |
-
}
|
1522 |
-
|
1523 |
-
|
1524 |
-
// loop over rules
|
1525 |
-
foreach( array_keys($group) as $r ) {
|
1526 |
-
|
1527 |
-
// extract rule
|
1528 |
-
$rule = acf_extract_var( $group, $r );
|
1529 |
-
|
1530 |
-
|
1531 |
-
// vars
|
1532 |
-
$new_key = acf_get_setting( 'duplicate_key_' . $rule['field'] );
|
1533 |
-
|
1534 |
-
|
1535 |
-
// update rule with new key
|
1536 |
-
if( $new_key ) {
|
1537 |
-
|
1538 |
-
$rule['field'] = $new_key;
|
1539 |
-
|
1540 |
-
}
|
1541 |
-
|
1542 |
-
|
1543 |
-
// append to group
|
1544 |
-
$group[ $r ] = $rule;
|
1545 |
-
|
1546 |
-
}
|
1547 |
-
|
1548 |
-
|
1549 |
-
// append to groups
|
1550 |
-
$groups[ $g ] = $group;
|
1551 |
-
|
1552 |
-
}
|
1553 |
-
|
1554 |
-
|
1555 |
-
// update conditional logic
|
1556 |
-
$field['conditional_logic'] = $groups;
|
1557 |
-
|
1558 |
-
|
1559 |
-
}
|
1560 |
-
|
1561 |
-
|
1562 |
-
/**
|
1563 |
-
* Filters the $field array after it has been duplicated.
|
1564 |
-
*
|
1565 |
-
* @date 12/02/2014
|
1566 |
-
* @since 5.0.0
|
1567 |
-
*
|
1568 |
-
* @param array $field The field array.
|
1569 |
-
*/
|
1570 |
-
$field = apply_filters( "acf/duplicate_field/type={$field['type']}", $field );
|
1571 |
-
$field = apply_filters( "acf/duplicate_field", $field);
|
1572 |
-
|
1573 |
-
|
1574 |
-
// save
|
1575 |
-
return acf_update_field( $field );
|
1576 |
-
|
1577 |
-
}
|
1578 |
-
|
1579 |
-
|
1580 |
-
/*
|
1581 |
-
* acf_delete_field
|
1582 |
-
*
|
1583 |
-
* This function will delete a field from the databse
|
1584 |
-
*
|
1585 |
-
* @type function
|
1586 |
-
* @date 2/10/13
|
1587 |
-
* @since 5.0.0
|
1588 |
-
*
|
1589 |
-
* @param $id (int)
|
1590 |
-
* @return (boolean)
|
1591 |
-
*/
|
1592 |
-
|
1593 |
-
function acf_delete_field( $selector = 0 ) {
|
1594 |
-
|
1595 |
-
// disable filters to ensure ACF loads raw data from DB
|
1596 |
-
acf_disable_filters();
|
1597 |
-
|
1598 |
-
|
1599 |
-
// load the origional field gorup
|
1600 |
-
$field = acf_get_field( $selector );
|
1601 |
-
|
1602 |
-
|
1603 |
-
// bail early if field did not load correctly
|
1604 |
-
if( empty($field) ) return false;
|
1605 |
-
|
1606 |
-
|
1607 |
-
// delete field
|
1608 |
-
wp_delete_post( $field['ID'], true );
|
1609 |
-
|
1610 |
-
|
1611 |
-
/**
|
1612 |
-
* Fires immediately after a field has been deleted.
|
1613 |
-
*
|
1614 |
-
* @date 12/02/2014
|
1615 |
-
* @since 5.0.0
|
1616 |
-
*
|
1617 |
-
* @param array $field The field array.
|
1618 |
-
*/
|
1619 |
-
do_action( "acf/delete_field/type={$field['type']}", $field );
|
1620 |
-
do_action( "acf/delete_field/name={$field['_name']}", $field );
|
1621 |
-
do_action( "acf/delete_field/key={$field['key']}", $field );
|
1622 |
-
do_action( "acf/delete_field", $field );
|
1623 |
-
|
1624 |
-
|
1625 |
-
// clear cache
|
1626 |
-
acf_delete_cache("get_field/key={$field['key']}");
|
1627 |
-
|
1628 |
-
|
1629 |
-
// return
|
1630 |
-
return true;
|
1631 |
-
|
1632 |
-
}
|
1633 |
-
|
1634 |
-
|
1635 |
-
/*
|
1636 |
-
* acf_trash_field
|
1637 |
-
*
|
1638 |
-
* This function will trash a field from the databse
|
1639 |
-
*
|
1640 |
-
* @type function
|
1641 |
-
* @date 2/10/13
|
1642 |
-
* @since 5.0.0
|
1643 |
-
*
|
1644 |
-
* @param $id (int)
|
1645 |
-
* @return (boolean)
|
1646 |
-
*/
|
1647 |
-
|
1648 |
-
function acf_trash_field( $selector = 0 ) {
|
1649 |
-
|
1650 |
-
// disable filters to ensure ACF loads raw data from DB
|
1651 |
-
acf_disable_filters();
|
1652 |
-
|
1653 |
-
|
1654 |
-
// load the origional field gorup
|
1655 |
-
$field = acf_get_field( $selector );
|
1656 |
-
|
1657 |
-
|
1658 |
-
// bail early if field did not load correctly
|
1659 |
-
if( empty($field) ) return false;
|
1660 |
-
|
1661 |
-
|
1662 |
-
// delete field
|
1663 |
-
wp_trash_post( $field['ID'] );
|
1664 |
-
|
1665 |
-
|
1666 |
-
// action for 3rd party customisation
|
1667 |
-
do_action( 'acf/trash_field', $field );
|
1668 |
-
|
1669 |
-
|
1670 |
-
// return
|
1671 |
-
return true;
|
1672 |
-
|
1673 |
-
}
|
1674 |
-
|
1675 |
-
|
1676 |
-
/*
|
1677 |
-
* acf_untrash_field
|
1678 |
-
*
|
1679 |
-
* This function will restore a field from the trash
|
1680 |
-
*
|
1681 |
-
* @type function
|
1682 |
-
* @date 2/10/13
|
1683 |
-
* @since 5.0.0
|
1684 |
-
*
|
1685 |
-
* @param $id (int)
|
1686 |
-
* @return (boolean)
|
1687 |
-
*/
|
1688 |
-
|
1689 |
-
function acf_untrash_field( $selector = 0 ) {
|
1690 |
-
|
1691 |
-
// disable filters to ensure ACF loads raw data from DB
|
1692 |
-
acf_disable_filters();
|
1693 |
-
|
1694 |
-
|
1695 |
-
// load the origional field gorup
|
1696 |
-
$field = acf_get_field( $selector );
|
1697 |
-
|
1698 |
-
|
1699 |
-
// bail early if field did not load correctly
|
1700 |
-
if( empty($field) ) return false;
|
1701 |
-
|
1702 |
-
|
1703 |
-
// delete field
|
1704 |
-
wp_untrash_post( $field['ID'] );
|
1705 |
-
|
1706 |
-
|
1707 |
-
// action for 3rd party customisation
|
1708 |
-
do_action( 'acf/untrash_field', $field );
|
1709 |
-
|
1710 |
-
|
1711 |
-
// return
|
1712 |
-
return true;
|
1713 |
-
}
|
1714 |
-
|
1715 |
-
|
1716 |
-
/*
|
1717 |
-
* acf_prepare_fields_for_export
|
1718 |
-
*
|
1719 |
-
* description
|
1720 |
-
*
|
1721 |
-
* @type function
|
1722 |
-
* @date 11/03/2014
|
1723 |
-
* @since 5.0.0
|
1724 |
-
*
|
1725 |
-
* @param $post_id (int)
|
1726 |
-
* @return $post_id (int)
|
1727 |
-
*/
|
1728 |
-
|
1729 |
-
function acf_prepare_fields_for_export( $fields = false ) {
|
1730 |
-
|
1731 |
-
// validate
|
1732 |
-
if( empty($fields) ) return $fields;
|
1733 |
-
|
1734 |
-
|
1735 |
-
// format
|
1736 |
-
foreach( array_keys($fields) as $i ) {
|
1737 |
-
|
1738 |
-
// prepare
|
1739 |
-
$fields[ $i ] = acf_prepare_field_for_export( $fields[ $i ] );
|
1740 |
-
|
1741 |
-
}
|
1742 |
-
|
1743 |
-
|
1744 |
-
// return
|
1745 |
-
return $fields;
|
1746 |
-
|
1747 |
-
}
|
1748 |
-
|
1749 |
-
|
1750 |
-
/*
|
1751 |
-
* acf_prepare_field_for_export
|
1752 |
-
*
|
1753 |
-
* description
|
1754 |
-
*
|
1755 |
-
* @type function
|
1756 |
-
* @date 11/03/2014
|
1757 |
-
* @since 5.0.0
|
1758 |
-
*
|
1759 |
-
* @param $post_id (int)
|
1760 |
-
* @return $post_id (int)
|
1761 |
-
*/
|
1762 |
-
|
1763 |
-
function acf_prepare_field_for_export( $field ) {
|
1764 |
-
|
1765 |
-
// extract some args
|
1766 |
-
$extract = acf_extract_vars($field, array(
|
1767 |
-
'ID',
|
1768 |
-
'prefix',
|
1769 |
-
'value',
|
1770 |
-
'menu_order',
|
1771 |
-
'id',
|
1772 |
-
'class',
|
1773 |
-
'parent',
|
1774 |
-
'_name',
|
1775 |
-
'_prepare',
|
1776 |
-
'_valid',
|
1777 |
-
));
|
1778 |
-
|
1779 |
-
|
1780 |
-
/**
|
1781 |
-
* Filters the $field array before being returned to the export tool.
|
1782 |
-
*
|
1783 |
-
* @date 12/02/2014
|
1784 |
-
* @since 5.0.0
|
1785 |
-
*
|
1786 |
-
* @param array $field The field array.
|
1787 |
-
*/
|
1788 |
-
$field = apply_filters( "acf/prepare_field_for_export/type={$field['type']}", $field );
|
1789 |
-
$field = apply_filters( "acf/prepare_field_for_export", $field );
|
1790 |
-
|
1791 |
-
|
1792 |
-
// return
|
1793 |
-
return $field;
|
1794 |
-
}
|
1795 |
-
|
1796 |
-
|
1797 |
-
/*
|
1798 |
-
* acf_prepare_fields_for_import
|
1799 |
-
*
|
1800 |
-
* description
|
1801 |
-
*
|
1802 |
-
* @type function
|
1803 |
-
* @date 11/03/2014
|
1804 |
-
* @since 5.0.0
|
1805 |
-
*
|
1806 |
-
* @param $post_id (int)
|
1807 |
-
* @return $post_id (int)
|
1808 |
-
*/
|
1809 |
-
|
1810 |
-
function acf_prepare_fields_for_import( $fields = false ) {
|
1811 |
-
|
1812 |
-
// validate
|
1813 |
-
if( empty($fields) ) return array();
|
1814 |
-
|
1815 |
-
|
1816 |
-
// re-index array
|
1817 |
-
$fields = array_values($fields);
|
1818 |
-
|
1819 |
-
|
1820 |
-
// vars
|
1821 |
-
$i = 0;
|
1822 |
-
|
1823 |
-
|
1824 |
-
// format
|
1825 |
-
while( $i < count($fields) ) {
|
1826 |
-
|
1827 |
-
// prepare field
|
1828 |
-
$field = acf_prepare_field_for_import( $fields[ $i ] );
|
1829 |
-
|
1830 |
-
|
1831 |
-
// allow multiple fields to be returned ($field + $sub_fields)
|
1832 |
-
if( !isset($field['key']) && isset($field[0]) ) {
|
1833 |
-
|
1834 |
-
// merge in $field (1 or more fields)
|
1835 |
-
array_splice($fields, $i, 1, $field);
|
1836 |
-
|
1837 |
-
}
|
1838 |
-
|
1839 |
-
|
1840 |
-
// $i
|
1841 |
-
$i++;
|
1842 |
-
|
1843 |
-
}
|
1844 |
-
|
1845 |
-
|
1846 |
-
// filter for 3rd party customization
|
1847 |
-
$fields = apply_filters('acf/prepare_fields_for_import', $fields);
|
1848 |
-
|
1849 |
-
|
1850 |
-
// return
|
1851 |
-
return $fields;
|
1852 |
-
|
1853 |
-
}
|
1854 |
-
|
1855 |
-
|
1856 |
-
/*
|
1857 |
-
* acf_prepare_field_for_import
|
1858 |
-
*
|
1859 |
-
* description
|
1860 |
-
*
|
1861 |
-
* @type function
|
1862 |
-
* @date 11/03/2014
|
1863 |
-
* @since 5.0.0
|
1864 |
-
*
|
1865 |
-
* @param $post_id (int)
|
1866 |
-
* @return $post_id (int)
|
1867 |
-
*/
|
1868 |
-
|
1869 |
-
function acf_prepare_field_for_import( $field ) {
|
1870 |
-
|
1871 |
-
// extract some args
|
1872 |
-
$extract = acf_extract_vars($field, array(
|
1873 |
-
'value',
|
1874 |
-
'id',
|
1875 |
-
'class',
|
1876 |
-
'_name',
|
1877 |
-
'_prepare',
|
1878 |
-
'_valid',
|
1879 |
-
));
|
1880 |
-
|
1881 |
-
|
1882 |
-
/**
|
1883 |
-
* Filters the $field array before being returned to the import tool.
|
1884 |
-
*
|
1885 |
-
* @date 12/02/2014
|
1886 |
-
* @since 5.0.0
|
1887 |
-
*
|
1888 |
-
* @param array $field The field array.
|
1889 |
-
*/
|
1890 |
-
$field = apply_filters( "acf/prepare_field_for_import/type={$field['type']}", $field );
|
1891 |
-
$field = apply_filters( "acf/prepare_field_for_import", $field );
|
1892 |
-
|
1893 |
-
|
1894 |
-
// return
|
1895 |
-
return $field;
|
1896 |
-
}
|
1897 |
-
|
1898 |
-
|
1899 |
-
/*
|
1900 |
-
* acf_get_sub_field
|
1901 |
-
*
|
1902 |
-
* This function will return a field for the given selector, and $field (parent).
|
1903 |
-
*
|
1904 |
-
* @type function
|
1905 |
-
* @date 30/09/13
|
1906 |
-
* @since 5.0.0
|
1907 |
-
*
|
1908 |
-
* @param $selector (string)
|
1909 |
-
* @param $field (mixed)
|
1910 |
-
* @return $field (array)
|
1911 |
-
*/
|
1912 |
-
|
1913 |
-
function acf_get_sub_field( $selector, $field ) {
|
1914 |
-
|
1915 |
-
// vars
|
1916 |
-
$sub_field = false;
|
1917 |
-
|
1918 |
-
|
1919 |
-
// check sub_fields
|
1920 |
-
if( isset($field['sub_fields']) ) {
|
1921 |
-
|
1922 |
-
// loop
|
1923 |
-
foreach( $field['sub_fields'] as $_sub_field ) {
|
1924 |
-
|
1925 |
-
// check name and key
|
1926 |
-
if( acf_is_field($_sub_field, $selector) ) {
|
1927 |
-
|
1928 |
-
$sub_field = $_sub_field;
|
1929 |
-
break;
|
1930 |
-
|
1931 |
-
}
|
1932 |
-
|
1933 |
-
}
|
1934 |
-
|
1935 |
-
}
|
1936 |
-
|
1937 |
-
|
1938 |
-
/**
|
1939 |
-
* Filters the $sub_field found.
|
1940 |
-
*
|
1941 |
-
* @date 12/02/2014
|
1942 |
-
* @since 5.0.0
|
1943 |
-
*
|
1944 |
-
* @param array $sub_field The found sub field array.
|
1945 |
-
* @param string $selector The selector used to search.
|
1946 |
-
* @param array $field The parent field array.
|
1947 |
-
*/
|
1948 |
-
$sub_field = apply_filters( "acf/get_sub_field/type={$field['type']}", $sub_field, $selector, $field );
|
1949 |
-
$sub_field = apply_filters( "acf/get_sub_field", $sub_field, $selector, $field );
|
1950 |
-
|
1951 |
-
|
1952 |
-
// return
|
1953 |
-
return $sub_field;
|
1954 |
-
|
1955 |
-
}
|
1956 |
-
|
1957 |
-
|
1958 |
-
/*
|
1959 |
-
* acf_is_field
|
1960 |
-
*
|
1961 |
-
* This function will compare a $selector against a $field array
|
1962 |
-
*
|
1963 |
-
* @type function
|
1964 |
-
* @date 1/7/17
|
1965 |
-
* @since 5.6.0
|
1966 |
-
*
|
1967 |
-
* @param $post_id (int)
|
1968 |
-
* @return $post_id (int)
|
1969 |
-
*/
|
1970 |
-
|
1971 |
-
function acf_is_field( $field, $selector = '' ) {
|
1972 |
-
|
1973 |
-
// vars
|
1974 |
-
$keys = array(
|
1975 |
-
'ID',
|
1976 |
-
'name',
|
1977 |
-
'key',
|
1978 |
-
'_name',
|
1979 |
-
'__name',
|
1980 |
-
);
|
1981 |
-
|
1982 |
-
|
1983 |
-
// loop
|
1984 |
-
foreach( $keys as $k ) {
|
1985 |
-
|
1986 |
-
if( isset($field[ $k ]) && $field[ $k ] === $selector ) return true;
|
1987 |
-
|
1988 |
-
}
|
1989 |
-
|
1990 |
-
|
1991 |
-
// return
|
1992 |
-
return false;
|
1993 |
-
|
1994 |
-
}
|
1995 |
-
|
1996 |
-
|
1997 |
-
/*
|
1998 |
-
* acf_get_field_ancestors
|
1999 |
-
*
|
2000 |
-
* This function will return an array of all ancestor fields
|
2001 |
-
*
|
2002 |
-
* @type function
|
2003 |
-
* @date 22/06/2016
|
2004 |
-
* @since 5.3.8
|
2005 |
-
*
|
2006 |
-
* @param $field (array)
|
2007 |
-
* @return (array)
|
2008 |
-
*/
|
2009 |
-
|
2010 |
-
function acf_get_field_ancestors( $field ) {
|
2011 |
-
|
2012 |
-
// get field
|
2013 |
-
$ancestors = array();
|
2014 |
-
|
2015 |
-
|
2016 |
-
// loop
|
2017 |
-
while( $field && acf_is_field_key($field['parent']) ) {
|
2018 |
-
|
2019 |
-
$ancestors[] = $field['parent'];
|
2020 |
-
$field = acf_get_field($field['parent']);
|
2021 |
-
|
2022 |
-
}
|
2023 |
-
|
2024 |
-
|
2025 |
-
// return
|
2026 |
-
return $ancestors;
|
2027 |
-
|
2028 |
-
}
|
2029 |
-
|
2030 |
-
|
2031 |
-
/*
|
2032 |
-
* acf_maybe_get_sub_field
|
2033 |
-
*
|
2034 |
-
* This function will attempt to find a sub field
|
2035 |
-
*
|
2036 |
-
* @type function
|
2037 |
-
* @date 3/10/2016
|
2038 |
-
* @since 5.4.0
|
2039 |
-
*
|
2040 |
-
* @param $post_id (int)
|
2041 |
-
* @return $post_id (int)
|
2042 |
-
*/
|
2043 |
-
|
2044 |
-
function acf_maybe_get_sub_field( $selectors, $post_id = false, $strict = true ) {
|
2045 |
-
|
2046 |
-
// bail ealry if not enough selectors
|
2047 |
-
if( !is_array($selectors) || count($selectors) < 3 ) return false;
|
2048 |
-
|
2049 |
-
|
2050 |
-
// vars
|
2051 |
-
$offset = acf_get_setting('row_index_offset');
|
2052 |
-
$selector = acf_extract_var( $selectors, 0 );
|
2053 |
-
$selectors = array_values( $selectors ); // reset keys
|
2054 |
-
|
2055 |
-
|
2056 |
-
// attempt get field
|
2057 |
-
$field = acf_maybe_get_field( $selector, $post_id, $strict );
|
2058 |
-
|
2059 |
-
|
2060 |
-
// bail early if no field
|
2061 |
-
if( !$field ) return false;
|
2062 |
-
|
2063 |
-
|
2064 |
-
// loop
|
2065 |
-
for( $j = 0; $j < count($selectors); $j+=2 ) {
|
2066 |
-
|
2067 |
-
// vars
|
2068 |
-
$sub_i = $selectors[ $j ];
|
2069 |
-
$sub_s = $selectors[ $j+1 ];
|
2070 |
-
$field_name = $field['name'];
|
2071 |
-
|
2072 |
-
|
2073 |
-
// find sub field
|
2074 |
-
$field = acf_get_sub_field( $sub_s, $field );
|
2075 |
-
|
2076 |
-
|
2077 |
-
// bail early if no sub field
|
2078 |
-
if( !$field ) return false;
|
2079 |
-
|
2080 |
-
|
2081 |
-
// add to name
|
2082 |
-
$field['name'] = $field_name . '_' . ($sub_i-$offset) . '_' . $field['name'];
|
2083 |
-
|
2084 |
-
}
|
2085 |
-
|
2086 |
-
|
2087 |
-
// return
|
2088 |
-
return $field;
|
2089 |
-
|
2090 |
-
|
2091 |
-
}
|
2092 |
-
|
2093 |
-
|
2094 |
-
/*
|
2095 |
-
* acf_prefix_fields
|
2096 |
-
*
|
2097 |
-
* This funtion will safely change the prefix for an array of fields
|
2098 |
-
* Needed to allow clone field to continue working on nave menu item and widget forms
|
2099 |
-
*
|
2100 |
-
* @type function
|
2101 |
-
* @date 5/9/17
|
2102 |
-
* @since 5.6.0
|
2103 |
-
*
|
2104 |
-
* @param $post_id (int)
|
2105 |
-
* @return $post_id (int)
|
2106 |
-
*/
|
2107 |
-
|
2108 |
-
function acf_prefix_fields( &$fields, $prefix = 'acf' ) {
|
2109 |
-
|
2110 |
-
// loop
|
2111 |
-
foreach( $fields as &$field ) {
|
2112 |
-
|
2113 |
-
// replace 'acf' with $prefix
|
2114 |
-
$field['prefix'] = substr_replace($field['prefix'], $prefix, 0, 3);
|
2115 |
-
|
2116 |
-
}
|
2117 |
-
|
2118 |
-
|
2119 |
-
// return
|
2120 |
-
return $fields;
|
2121 |
-
|
2122 |
-
}
|
2123 |
-
|
2124 |
-
/**
|
2125 |
-
* acf_apply_field_filters
|
2126 |
-
*
|
2127 |
-
* description
|
2128 |
-
*
|
2129 |
-
* @date 11/9/18
|
2130 |
-
* @since 5.7.6
|
2131 |
-
*
|
2132 |
-
* @param type $var Description. Default.
|
2133 |
-
* @return type Description.
|
2134 |
-
*/
|
2135 |
-
/*
|
2136 |
-
function acf_apply_field_filters( $value ) {
|
2137 |
-
|
2138 |
-
// get function args
|
2139 |
-
$args = func_get_args();
|
2140 |
-
|
2141 |
-
// find field in $args
|
2142 |
-
$field = false;
|
2143 |
-
foreach( $args as $arg ) {
|
2144 |
-
if( is_array($arg) && isset($arg['key'], $arg['type'], $arg['_name']) ) {
|
2145 |
-
$field = $arg;
|
2146 |
-
break;
|
2147 |
-
}
|
2148 |
-
}
|
2149 |
-
|
2150 |
-
// vars
|
2151 |
-
$filter = current_filter();
|
2152 |
-
|
2153 |
-
// unshift tag to args
|
2154 |
-
array_unshift($args, $filter);
|
2155 |
-
|
2156 |
-
// apply field filters
|
2157 |
-
if( $field ) {
|
2158 |
-
|
2159 |
-
// $filter/type=$type
|
2160 |
-
$args[0] = "{$filter}/type={$field['type']}";
|
2161 |
-
$value = call_user_func_array('apply_filters', $args);
|
2162 |
-
|
2163 |
-
// $filter/name=$name
|
2164 |
-
$args[0] = "{$filter}/name={$field['_name']}";
|
2165 |
-
$value = call_user_func_array('apply_filters', $args);
|
2166 |
-
|
2167 |
-
// $filter/key=$key
|
2168 |
-
$args[0] = "{$filter}/key={$field['key']}";
|
2169 |
-
$value = call_user_func_array('apply_filters', $args);
|
2170 |
-
}
|
2171 |
-
|
2172 |
-
// return
|
2173 |
-
return $value;
|
2174 |
-
}
|
2175 |
-
*/
|
2176 |
-
|
2177 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/api/api-helpers.php
CHANGED
@@ -546,10 +546,7 @@ function acf_parse_args( $args, $defaults = array() ) {
|
|
546 |
*/
|
547 |
|
548 |
function acf_parse_types( $array ) {
|
549 |
-
|
550 |
-
// return
|
551 |
return array_map( 'acf_parse_type', $array );
|
552 |
-
|
553 |
}
|
554 |
|
555 |
|
@@ -567,26 +564,21 @@ function acf_parse_types( $array ) {
|
|
567 |
*/
|
568 |
|
569 |
function acf_parse_type( $v ) {
|
570 |
-
|
571 |
-
// bail early if not string
|
572 |
-
if( !is_string($v) ) return $v;
|
573 |
-
|
574 |
-
|
575 |
-
// trim
|
576 |
-
$v = trim($v);
|
577 |
|
578 |
-
|
579 |
-
|
580 |
-
if( is_numeric($v) && strval((int)$v) === $v ) {
|
581 |
|
582 |
-
|
|
|
583 |
|
|
|
|
|
|
|
|
|
584 |
}
|
585 |
|
586 |
-
|
587 |
-
// return
|
588 |
return $v;
|
589 |
-
|
590 |
}
|
591 |
|
592 |
|
@@ -3607,14 +3599,6 @@ function acf_str_join( $s1 = '', $s2 = '' ) {
|
|
3607 |
return $s1 . $s2;
|
3608 |
}
|
3609 |
|
3610 |
-
// Tests.
|
3611 |
-
//acf_test( acf_str_join('http://multisite.local/sub1/', '/sample-page/'), 'http://multisite.local/sub1/sample-page/' );
|
3612 |
-
//acf_test( acf_str_join('http://multisite.local/sub1/', 'sample-page/'), 'http://multisite.local/sub1/sample-page/' );
|
3613 |
-
//acf_test( acf_str_join('http://multisite.local/sub1/', '/sub1'), 'http://multisite.local/sub1/sub1' );
|
3614 |
-
//acf_test( acf_str_join('http://multisite.local/sub1/', '/sub1/sample-page/'), 'http://multisite.local/sub1/sample-page/' );
|
3615 |
-
//acf_test( acf_str_join('http://multisite.local/', '/sub1/sample-page/'), 'http://multisite.local/sub1/sample-page/' );
|
3616 |
-
|
3617 |
-
|
3618 |
/*
|
3619 |
* acf_current_user_can_admin
|
3620 |
*
|
@@ -4474,6 +4458,20 @@ function acf_format_date( $value, $format ) {
|
|
4474 |
|
4475 |
}
|
4476 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4477 |
|
4478 |
/*
|
4479 |
* acf_log
|
@@ -4530,23 +4528,6 @@ function acf_dev_log() {
|
|
4530 |
}
|
4531 |
}
|
4532 |
|
4533 |
-
/**
|
4534 |
-
* acf_test
|
4535 |
-
*
|
4536 |
-
* Tests a function against an expected result and logs the pass/fail.
|
4537 |
-
*
|
4538 |
-
* @date 19/11/18
|
4539 |
-
* @since 5.8.0
|
4540 |
-
*
|
4541 |
-
* @param type $var Description. Default.
|
4542 |
-
* @return type Description.
|
4543 |
-
*/
|
4544 |
-
function acf_test( $result, $expected_result ) {
|
4545 |
-
$success = ($result === $expected_result);
|
4546 |
-
acf_log('ACF Test', $success ? '(Pass)' : '(Fail)', $result, $expected_result);
|
4547 |
-
}
|
4548 |
-
|
4549 |
-
|
4550 |
/*
|
4551 |
* acf_doing
|
4552 |
*
|
@@ -5180,42 +5161,6 @@ function acf_decrypt( $data = '' ) {
|
|
5180 |
|
5181 |
}
|
5182 |
|
5183 |
-
|
5184 |
-
/*
|
5185 |
-
* acf_get_post_templates
|
5186 |
-
*
|
5187 |
-
* This function will return an array of all post templates (including parent theme templates)
|
5188 |
-
*
|
5189 |
-
* @type function
|
5190 |
-
* @date 29/8/17
|
5191 |
-
* @since 5.6.2
|
5192 |
-
*
|
5193 |
-
* @param n/a
|
5194 |
-
* @return (array)
|
5195 |
-
*/
|
5196 |
-
|
5197 |
-
function acf_get_post_templates() {
|
5198 |
-
|
5199 |
-
// vars
|
5200 |
-
$post_types = acf_get_post_types();
|
5201 |
-
$post_templates = array();
|
5202 |
-
|
5203 |
-
|
5204 |
-
// loop
|
5205 |
-
foreach( $post_types as $post_type ) {
|
5206 |
-
$post_templates[ $post_type ] = wp_get_theme()->get_page_templates(null, $post_type);
|
5207 |
-
}
|
5208 |
-
|
5209 |
-
|
5210 |
-
// remove empty templates
|
5211 |
-
$post_templates = array_filter( $post_templates );
|
5212 |
-
|
5213 |
-
|
5214 |
-
// return
|
5215 |
-
return $post_templates;
|
5216 |
-
|
5217 |
-
}
|
5218 |
-
|
5219 |
/**
|
5220 |
* acf_parse_markdown
|
5221 |
*
|
546 |
*/
|
547 |
|
548 |
function acf_parse_types( $array ) {
|
|
|
|
|
549 |
return array_map( 'acf_parse_type', $array );
|
|
|
550 |
}
|
551 |
|
552 |
|
564 |
*/
|
565 |
|
566 |
function acf_parse_type( $v ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
|
568 |
+
// Check if is string.
|
569 |
+
if( is_string($v) ) {
|
|
|
570 |
|
571 |
+
// Trim ("Word " = "Word").
|
572 |
+
$v = trim( $v );
|
573 |
|
574 |
+
// Convert int strings to int ("123" = 123).
|
575 |
+
if( is_numeric($v) && strpos($v, '.') === false ) {
|
576 |
+
$v = intval( $v );
|
577 |
+
}
|
578 |
}
|
579 |
|
580 |
+
// return.
|
|
|
581 |
return $v;
|
|
|
582 |
}
|
583 |
|
584 |
|
3599 |
return $s1 . $s2;
|
3600 |
}
|
3601 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3602 |
/*
|
3603 |
* acf_current_user_can_admin
|
3604 |
*
|
4458 |
|
4459 |
}
|
4460 |
|
4461 |
+
/**
|
4462 |
+
* acf_clear_log
|
4463 |
+
*
|
4464 |
+
* Deletes the debug.log file.
|
4465 |
+
*
|
4466 |
+
* @date 21/1/19
|
4467 |
+
* @since 5.7.10
|
4468 |
+
*
|
4469 |
+
* @param type $var Description. Default.
|
4470 |
+
* @return type Description.
|
4471 |
+
*/
|
4472 |
+
function acf_clear_log() {
|
4473 |
+
unlink( WP_CONTENT_DIR . '/debug.log' );
|
4474 |
+
}
|
4475 |
|
4476 |
/*
|
4477 |
* acf_log
|
4528 |
}
|
4529 |
}
|
4530 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4531 |
/*
|
4532 |
* acf_doing
|
4533 |
*
|
5161 |
|
5162 |
}
|
5163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5164 |
/**
|
5165 |
* acf_parse_markdown
|
5166 |
*
|
includes/api/api-template.php
CHANGED
@@ -147,6 +147,106 @@ function get_field_object( $selector, $post_id = false, $format_value = true, $l
|
|
147 |
|
148 |
}
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
|
151 |
/*
|
152 |
* get_fields()
|
@@ -206,6 +306,9 @@ function get_fields( $post_id = false, $format_value = true ) {
|
|
206 |
|
207 |
function get_field_objects( $post_id = false, $format_value = true, $load_value = true ) {
|
208 |
|
|
|
|
|
|
|
209 |
// validate post_id
|
210 |
$post_id = acf_get_valid_post_id( $post_id );
|
211 |
|
147 |
|
148 |
}
|
149 |
|
150 |
+
/*
|
151 |
+
* acf_get_object_field
|
152 |
+
*
|
153 |
+
* This function will return a field for the given selector.
|
154 |
+
* It will also review the field_reference to ensure the correct field is returned which makes it useful for the template API
|
155 |
+
*
|
156 |
+
* @type function
|
157 |
+
* @date 4/08/2015
|
158 |
+
* @since 5.2.3
|
159 |
+
*
|
160 |
+
* @param $selector (mixed) identifyer of field. Can be an ID, key, name or post object
|
161 |
+
* @param $post_id (mixed) the post_id of which the value is saved against
|
162 |
+
* @param $strict (boolean) if true, return a field only when a field key is found.
|
163 |
+
* @return $field (array)
|
164 |
+
*/
|
165 |
+
function acf_maybe_get_field( $selector, $post_id = false, $strict = true ) {
|
166 |
+
|
167 |
+
// init
|
168 |
+
acf_init();
|
169 |
+
|
170 |
+
// Check if field key was given.
|
171 |
+
if( acf_is_field_key($selector) ) {
|
172 |
+
return acf_get_field( $selector );
|
173 |
+
}
|
174 |
+
|
175 |
+
// Lookup field via reference.
|
176 |
+
$post_id = acf_get_valid_post_id( $post_id );
|
177 |
+
$field = acf_get_meta_field( $selector, $post_id );
|
178 |
+
if( $field ) {
|
179 |
+
return $field;
|
180 |
+
}
|
181 |
+
|
182 |
+
// Lookup field loosely via name.
|
183 |
+
if( !$strict ) {
|
184 |
+
return acf_get_field( $selector );
|
185 |
+
}
|
186 |
+
|
187 |
+
// Return no result.
|
188 |
+
return false;
|
189 |
+
}
|
190 |
+
|
191 |
+
/*
|
192 |
+
* acf_maybe_get_sub_field
|
193 |
+
*
|
194 |
+
* This function will attempt to find a sub field
|
195 |
+
*
|
196 |
+
* @type function
|
197 |
+
* @date 3/10/2016
|
198 |
+
* @since 5.4.0
|
199 |
+
*
|
200 |
+
* @param $post_id (int)
|
201 |
+
* @return $post_id (int)
|
202 |
+
*/
|
203 |
+
|
204 |
+
function acf_maybe_get_sub_field( $selectors, $post_id = false, $strict = true ) {
|
205 |
+
|
206 |
+
// bail ealry if not enough selectors
|
207 |
+
if( !is_array($selectors) || count($selectors) < 3 ) return false;
|
208 |
+
|
209 |
+
|
210 |
+
// vars
|
211 |
+
$offset = acf_get_setting('row_index_offset');
|
212 |
+
$selector = acf_extract_var( $selectors, 0 );
|
213 |
+
$selectors = array_values( $selectors ); // reset keys
|
214 |
+
|
215 |
+
|
216 |
+
// attempt get field
|
217 |
+
$field = acf_maybe_get_field( $selector, $post_id, $strict );
|
218 |
+
|
219 |
+
|
220 |
+
// bail early if no field
|
221 |
+
if( !$field ) return false;
|
222 |
+
|
223 |
+
|
224 |
+
// loop
|
225 |
+
for( $j = 0; $j < count($selectors); $j+=2 ) {
|
226 |
+
|
227 |
+
// vars
|
228 |
+
$sub_i = $selectors[ $j ];
|
229 |
+
$sub_s = $selectors[ $j+1 ];
|
230 |
+
$field_name = $field['name'];
|
231 |
+
|
232 |
+
|
233 |
+
// find sub field
|
234 |
+
$field = acf_get_sub_field( $sub_s, $field );
|
235 |
+
|
236 |
+
|
237 |
+
// bail early if no sub field
|
238 |
+
if( !$field ) return false;
|
239 |
+
|
240 |
+
|
241 |
+
// add to name
|
242 |
+
$field['name'] = $field_name . '_' . ($sub_i-$offset) . '_' . $field['name'];
|
243 |
+
|
244 |
+
}
|
245 |
+
|
246 |
+
|
247 |
+
// return
|
248 |
+
return $field;
|
249 |
+
}
|
250 |
|
251 |
/*
|
252 |
* get_fields()
|
306 |
|
307 |
function get_field_objects( $post_id = false, $format_value = true, $load_value = true ) {
|
308 |
|
309 |
+
// init
|
310 |
+
acf_init();
|
311 |
+
|
312 |
// validate post_id
|
313 |
$post_id = acf_get_valid_post_id( $post_id );
|
314 |
|
includes/api/api-value.php
DELETED
@@ -1,715 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* acf_get_metadata
|
5 |
-
*
|
6 |
-
* This function will get a value from the DB
|
7 |
-
*
|
8 |
-
* @type function
|
9 |
-
* @date 16/10/2015
|
10 |
-
* @since 5.2.3
|
11 |
-
*
|
12 |
-
* @param $post_id (mixed)
|
13 |
-
* @param $name (string)
|
14 |
-
* @param $hidden (boolean)
|
15 |
-
* @return $return (mixed)
|
16 |
-
*/
|
17 |
-
|
18 |
-
function acf_get_metadata( $post_id = 0, $name = '', $hidden = false ) {
|
19 |
-
|
20 |
-
// vars
|
21 |
-
$value = null;
|
22 |
-
$prefix = $hidden ? '_' : '';
|
23 |
-
|
24 |
-
|
25 |
-
// get post_id info
|
26 |
-
$info = acf_get_post_id_info($post_id);
|
27 |
-
|
28 |
-
|
29 |
-
// bail early if no $post_id (acf_form - new_post)
|
30 |
-
if( !$info['id'] ) return $value;
|
31 |
-
|
32 |
-
|
33 |
-
// option
|
34 |
-
if( $info['type'] === 'option' ) {
|
35 |
-
|
36 |
-
$name = $prefix . $post_id . '_' . $name;
|
37 |
-
$value = get_option( $name, null );
|
38 |
-
|
39 |
-
// meta
|
40 |
-
} else {
|
41 |
-
|
42 |
-
$name = $prefix . $name;
|
43 |
-
$meta = get_metadata( $info['type'], $info['id'], $name, false );
|
44 |
-
|
45 |
-
if( isset($meta[0]) ) {
|
46 |
-
|
47 |
-
$value = $meta[0];
|
48 |
-
|
49 |
-
}
|
50 |
-
|
51 |
-
}
|
52 |
-
|
53 |
-
|
54 |
-
// return
|
55 |
-
return $value;
|
56 |
-
|
57 |
-
}
|
58 |
-
|
59 |
-
|
60 |
-
/*
|
61 |
-
* acf_update_metadata
|
62 |
-
*
|
63 |
-
* This function will update a value from the DB
|
64 |
-
*
|
65 |
-
* @type function
|
66 |
-
* @date 16/10/2015
|
67 |
-
* @since 5.2.3
|
68 |
-
*
|
69 |
-
* @param $post_id (mixed)
|
70 |
-
* @param $name (string)
|
71 |
-
* @param $value (mixed)
|
72 |
-
* @param $hidden (boolean)
|
73 |
-
* @return $return (boolean)
|
74 |
-
*/
|
75 |
-
|
76 |
-
function acf_update_metadata( $post_id = 0, $name = '', $value = '', $hidden = false ) {
|
77 |
-
|
78 |
-
// vars
|
79 |
-
$return = false;
|
80 |
-
$prefix = $hidden ? '_' : '';
|
81 |
-
|
82 |
-
|
83 |
-
// get post_id info
|
84 |
-
$info = acf_get_post_id_info($post_id);
|
85 |
-
|
86 |
-
|
87 |
-
// bail early if no $post_id (acf_form - new_post)
|
88 |
-
if( !$info['id'] ) return $return;
|
89 |
-
|
90 |
-
|
91 |
-
// option
|
92 |
-
if( $info['type'] === 'option' ) {
|
93 |
-
|
94 |
-
$name = $prefix . $post_id . '_' . $name;
|
95 |
-
$return = acf_update_option( $name, $value );
|
96 |
-
|
97 |
-
// meta
|
98 |
-
} else {
|
99 |
-
|
100 |
-
$name = $prefix . $name;
|
101 |
-
$return = update_metadata( $info['type'], $info['id'], $name, $value );
|
102 |
-
|
103 |
-
}
|
104 |
-
|
105 |
-
|
106 |
-
// return
|
107 |
-
return $return;
|
108 |
-
|
109 |
-
}
|
110 |
-
|
111 |
-
|
112 |
-
/*
|
113 |
-
* acf_delete_metadata
|
114 |
-
*
|
115 |
-
* This function will delete a value from the DB
|
116 |
-
*
|
117 |
-
* @type function
|
118 |
-
* @date 16/10/2015
|
119 |
-
* @since 5.2.3
|
120 |
-
*
|
121 |
-
* @param $post_id (mixed)
|
122 |
-
* @param $name (string)
|
123 |
-
* @param $hidden (boolean)
|
124 |
-
* @return $return (boolean)
|
125 |
-
*/
|
126 |
-
|
127 |
-
function acf_delete_metadata( $post_id = 0, $name = '', $hidden = false ) {
|
128 |
-
|
129 |
-
// vars
|
130 |
-
$return = false;
|
131 |
-
$prefix = $hidden ? '_' : '';
|
132 |
-
|
133 |
-
|
134 |
-
// get post_id info
|
135 |
-
$info = acf_get_post_id_info($post_id);
|
136 |
-
|
137 |
-
|
138 |
-
// bail early if no $post_id (acf_form - new_post)
|
139 |
-
if( !$info['id'] ) return $return;
|
140 |
-
|
141 |
-
|
142 |
-
// option
|
143 |
-
if( $info['type'] === 'option' ) {
|
144 |
-
|
145 |
-
$name = $prefix . $post_id . '_' . $name;
|
146 |
-
$return = delete_option( $name );
|
147 |
-
|
148 |
-
// meta
|
149 |
-
} else {
|
150 |
-
|
151 |
-
$name = $prefix . $name;
|
152 |
-
$return = delete_metadata( $info['type'], $info['id'], $name );
|
153 |
-
|
154 |
-
}
|
155 |
-
|
156 |
-
|
157 |
-
// return
|
158 |
-
return $return;
|
159 |
-
|
160 |
-
}
|
161 |
-
|
162 |
-
|
163 |
-
/*
|
164 |
-
* acf_update_option
|
165 |
-
*
|
166 |
-
* This function is a wrapper for the WP update_option but provides logic for a 'no' autoload
|
167 |
-
*
|
168 |
-
* @type function
|
169 |
-
* @date 4/01/2014
|
170 |
-
* @since 5.0.0
|
171 |
-
*
|
172 |
-
* @param $option (string)
|
173 |
-
* @param $value (mixed)
|
174 |
-
* @param autoload (mixed)
|
175 |
-
* @return (boolean)
|
176 |
-
*/
|
177 |
-
|
178 |
-
function acf_update_option( $option = '', $value = '', $autoload = null ) {
|
179 |
-
|
180 |
-
// vars
|
181 |
-
$deprecated = '';
|
182 |
-
$return = false;
|
183 |
-
|
184 |
-
|
185 |
-
// autoload
|
186 |
-
if( $autoload === null ){
|
187 |
-
|
188 |
-
$autoload = acf_get_setting('autoload') ? 'yes' : 'no';
|
189 |
-
|
190 |
-
}
|
191 |
-
|
192 |
-
|
193 |
-
// for some reason, update_option does not use stripslashes_deep.
|
194 |
-
// update_metadata -> https://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/meta.php#L82: line 101 (does use stripslashes_deep)
|
195 |
-
// update_option -> https://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/option.php#L0: line 215 (does not use stripslashes_deep)
|
196 |
-
$value = stripslashes_deep($value);
|
197 |
-
|
198 |
-
|
199 |
-
// add or update
|
200 |
-
if( get_option($option) !== false ) {
|
201 |
-
|
202 |
-
$return = update_option( $option, $value );
|
203 |
-
|
204 |
-
} else {
|
205 |
-
|
206 |
-
$return = add_option( $option, $value, $deprecated, $autoload );
|
207 |
-
|
208 |
-
}
|
209 |
-
|
210 |
-
|
211 |
-
// return
|
212 |
-
return $return;
|
213 |
-
|
214 |
-
}
|
215 |
-
|
216 |
-
|
217 |
-
/**
|
218 |
-
* acf_get_reference
|
219 |
-
*
|
220 |
-
* Finds the field key for a given field name and post_id.
|
221 |
-
*
|
222 |
-
* @date 26/1/18
|
223 |
-
* @since 5.6.5
|
224 |
-
*
|
225 |
-
* @param string $field_name The name of the field. eg 'sub_heading'
|
226 |
-
* @param mixed $post_id The post_id of which the value is saved against
|
227 |
-
* @return string $reference The field key
|
228 |
-
*/
|
229 |
-
|
230 |
-
function acf_get_reference( $field_name, $post_id ) {
|
231 |
-
|
232 |
-
// allow filter to short-circuit load_value logic
|
233 |
-
$reference = apply_filters( "acf/pre_load_reference", null, $field_name, $post_id );
|
234 |
-
if( $reference !== null ) {
|
235 |
-
return $reference;
|
236 |
-
}
|
237 |
-
|
238 |
-
// get hidden meta for this field name
|
239 |
-
$reference = acf_get_metadata( $post_id, $field_name, true );
|
240 |
-
|
241 |
-
// filter
|
242 |
-
$reference = apply_filters('acf/load_reference', $reference, $field_name, $post_id);
|
243 |
-
$reference = apply_filters('acf/get_field_reference', $reference, $field_name, $post_id);
|
244 |
-
|
245 |
-
// return
|
246 |
-
return $reference;
|
247 |
-
|
248 |
-
}
|
249 |
-
|
250 |
-
// deprecated in 5.6.8
|
251 |
-
function acf_get_field_reference( $field_name, $post_id ) {
|
252 |
-
return acf_get_reference( $field_name, $post_id );
|
253 |
-
}
|
254 |
-
|
255 |
-
|
256 |
-
/*
|
257 |
-
* acf_get_value
|
258 |
-
*
|
259 |
-
* This function will load in a field's value
|
260 |
-
*
|
261 |
-
* @type function
|
262 |
-
* @date 28/09/13
|
263 |
-
* @since 5.0.0
|
264 |
-
*
|
265 |
-
* @param $post_id (int)
|
266 |
-
* @param $field (array)
|
267 |
-
* @return (mixed)
|
268 |
-
*/
|
269 |
-
|
270 |
-
function acf_get_value( $post_id = 0, $field ) {
|
271 |
-
|
272 |
-
// allow filter to short-circuit load_value logic
|
273 |
-
$value = apply_filters( "acf/pre_load_value", null, $post_id, $field );
|
274 |
-
if( $value !== null ) {
|
275 |
-
return $value;
|
276 |
-
}
|
277 |
-
|
278 |
-
|
279 |
-
// vars
|
280 |
-
$cache_key = "get_value/post_id={$post_id}/name={$field['name']}";
|
281 |
-
|
282 |
-
|
283 |
-
// return early if cache is found
|
284 |
-
if( acf_isset_cache($cache_key) ) {
|
285 |
-
return acf_get_cache($cache_key);
|
286 |
-
}
|
287 |
-
|
288 |
-
|
289 |
-
// load value
|
290 |
-
$value = acf_get_metadata( $post_id, $field['name'] );
|
291 |
-
|
292 |
-
|
293 |
-
// if value was duplicated, it may now be a serialized string!
|
294 |
-
$value = maybe_unserialize( $value );
|
295 |
-
|
296 |
-
|
297 |
-
// no value? try default_value
|
298 |
-
if( $value === null && isset($field['default_value']) ) {
|
299 |
-
$value = $field['default_value'];
|
300 |
-
}
|
301 |
-
|
302 |
-
|
303 |
-
/**
|
304 |
-
* Filters the $value after it has been loaded.
|
305 |
-
*
|
306 |
-
* @date 28/09/13
|
307 |
-
* @since 5.0.0
|
308 |
-
*
|
309 |
-
* @param mixed $value The value to preview.
|
310 |
-
* @param string $post_id The post ID for this value.
|
311 |
-
* @param array $field The field array.
|
312 |
-
*/
|
313 |
-
$value = apply_filters( "acf/load_value/type={$field['type']}", $value, $post_id, $field );
|
314 |
-
$value = apply_filters( "acf/load_value/name={$field['_name']}", $value, $post_id, $field );
|
315 |
-
$value = apply_filters( "acf/load_value/key={$field['key']}", $value, $post_id, $field );
|
316 |
-
$value = apply_filters( "acf/load_value", $value, $post_id, $field );
|
317 |
-
|
318 |
-
|
319 |
-
// update cache
|
320 |
-
acf_set_cache($cache_key, $value);
|
321 |
-
|
322 |
-
|
323 |
-
// return
|
324 |
-
return $value;
|
325 |
-
|
326 |
-
}
|
327 |
-
|
328 |
-
|
329 |
-
/*
|
330 |
-
* acf_format_value
|
331 |
-
*
|
332 |
-
* This function will format the value for front end use
|
333 |
-
*
|
334 |
-
* @type function
|
335 |
-
* @date 3/07/2014
|
336 |
-
* @since 5.0.0
|
337 |
-
*
|
338 |
-
* @param $value (mixed)
|
339 |
-
* @param $post_id (mixed)
|
340 |
-
* @param $field (array)
|
341 |
-
* @return $value
|
342 |
-
*/
|
343 |
-
|
344 |
-
function acf_format_value( $value, $post_id, $field ) {
|
345 |
-
|
346 |
-
// vars
|
347 |
-
$cache_key = "format_value/post_id={$post_id}/name={$field['name']}";
|
348 |
-
|
349 |
-
|
350 |
-
// return early if cache is found
|
351 |
-
if( acf_isset_cache($cache_key) ) {
|
352 |
-
|
353 |
-
return acf_get_cache($cache_key);
|
354 |
-
|
355 |
-
}
|
356 |
-
|
357 |
-
|
358 |
-
/**
|
359 |
-
* Filters the $value for use in a template function.
|
360 |
-
*
|
361 |
-
* @date 28/09/13
|
362 |
-
* @since 5.0.0
|
363 |
-
*
|
364 |
-
* @param mixed $value The value to preview.
|
365 |
-
* @param string $post_id The post ID for this value.
|
366 |
-
* @param array $field The field array.
|
367 |
-
*/
|
368 |
-
$value = apply_filters( "acf/format_value/type={$field['type']}", $value, $post_id, $field );
|
369 |
-
$value = apply_filters( "acf/format_value/name={$field['_name']}", $value, $post_id, $field );
|
370 |
-
$value = apply_filters( "acf/format_value/key={$field['key']}", $value, $post_id, $field );
|
371 |
-
$value = apply_filters( "acf/format_value", $value, $post_id, $field );
|
372 |
-
|
373 |
-
|
374 |
-
// update cache
|
375 |
-
acf_set_cache($cache_key, $value);
|
376 |
-
|
377 |
-
|
378 |
-
// return
|
379 |
-
return $value;
|
380 |
-
|
381 |
-
}
|
382 |
-
|
383 |
-
|
384 |
-
/*
|
385 |
-
* acf_update_value
|
386 |
-
*
|
387 |
-
* updates a value into the db
|
388 |
-
*
|
389 |
-
* @type action
|
390 |
-
* @date 23/01/13
|
391 |
-
*
|
392 |
-
* @param $value (mixed)
|
393 |
-
* @param $post_id (mixed)
|
394 |
-
* @param $field (array)
|
395 |
-
* @return (boolean)
|
396 |
-
*/
|
397 |
-
|
398 |
-
function acf_update_value( $value = null, $post_id = 0, $field ) {
|
399 |
-
|
400 |
-
// strip slashes
|
401 |
-
if( acf_get_setting('stripslashes') ) {
|
402 |
-
$value = stripslashes_deep($value);
|
403 |
-
}
|
404 |
-
|
405 |
-
|
406 |
-
/**
|
407 |
-
* Allows developers to run a custom update function.
|
408 |
-
*
|
409 |
-
* @date 28/09/13
|
410 |
-
* @since 5.0.0
|
411 |
-
*
|
412 |
-
* @param null $check Return a non null value to prevent default.
|
413 |
-
* @param mixed $value The value to update.
|
414 |
-
* @param string $post_id The post ID for this value.
|
415 |
-
* @param array $field The field array.
|
416 |
-
*/
|
417 |
-
$check = apply_filters( "acf/pre_update_value", null, $value, $post_id, $field );
|
418 |
-
if( $check !== null ) {
|
419 |
-
return $check;
|
420 |
-
}
|
421 |
-
|
422 |
-
|
423 |
-
/**
|
424 |
-
* Filters the $value before it is saved.
|
425 |
-
*
|
426 |
-
* @date 28/09/13
|
427 |
-
* @since 5.0.0
|
428 |
-
* @since 5.7.6 Added $_value parameter.
|
429 |
-
*
|
430 |
-
* @param mixed $value The value to update.
|
431 |
-
* @param string $post_id The post ID for this value.
|
432 |
-
* @param array $field The field array.
|
433 |
-
* @param mixed $_value The original value before modification.
|
434 |
-
*/
|
435 |
-
$_value = $value;
|
436 |
-
$value = apply_filters( "acf/update_value/type={$field['type']}", $value, $post_id, $field, $_value );
|
437 |
-
$value = apply_filters( "acf/update_value/name={$field['_name']}", $value, $post_id, $field, $_value );
|
438 |
-
$value = apply_filters( "acf/update_value/key={$field['key']}", $value, $post_id, $field, $_value );
|
439 |
-
$value = apply_filters( "acf/update_value", $value, $post_id, $field, $_value );
|
440 |
-
|
441 |
-
|
442 |
-
// allow null to delete
|
443 |
-
if( $value === null ) {
|
444 |
-
|
445 |
-
return acf_delete_value( $post_id, $field );
|
446 |
-
|
447 |
-
}
|
448 |
-
|
449 |
-
|
450 |
-
// update value
|
451 |
-
$return = acf_update_metadata( $post_id, $field['name'], $value );
|
452 |
-
|
453 |
-
|
454 |
-
// update reference
|
455 |
-
acf_update_metadata( $post_id, $field['name'], $field['key'], true );
|
456 |
-
|
457 |
-
|
458 |
-
// clear cache
|
459 |
-
acf_delete_cache("get_value/post_id={$post_id}/name={$field['name']}");
|
460 |
-
acf_delete_cache("format_value/post_id={$post_id}/name={$field['name']}");
|
461 |
-
|
462 |
-
|
463 |
-
// return
|
464 |
-
return $return;
|
465 |
-
|
466 |
-
}
|
467 |
-
|
468 |
-
|
469 |
-
/*
|
470 |
-
* acf_delete_value
|
471 |
-
*
|
472 |
-
* This function will delete a value from the database
|
473 |
-
*
|
474 |
-
* @type function
|
475 |
-
* @date 28/09/13
|
476 |
-
* @since 5.0.0
|
477 |
-
*
|
478 |
-
* @param $post_id (mixed)
|
479 |
-
* @param $field (array)
|
480 |
-
* @return (boolean)
|
481 |
-
*/
|
482 |
-
|
483 |
-
function acf_delete_value( $post_id = 0, $field ) {
|
484 |
-
|
485 |
-
/**
|
486 |
-
* Fires before a value is deleted.
|
487 |
-
*
|
488 |
-
* @date 28/09/13
|
489 |
-
* @since 5.0.0
|
490 |
-
*
|
491 |
-
* @param string $post_id The post ID for this value.
|
492 |
-
* @param mixed $name The meta name.
|
493 |
-
* @param array $field The field array.
|
494 |
-
*/
|
495 |
-
do_action( "acf/delete_value/type={$field['type']}", $post_id, $field['name'], $field );
|
496 |
-
do_action( "acf/delete_value/name={$field['_name']}", $post_id, $field['name'], $field );
|
497 |
-
do_action( "acf/delete_value/key={$field['key']}", $post_id, $field['name'], $field );
|
498 |
-
do_action( "acf/delete_value", $post_id, $field['name'], $field );
|
499 |
-
|
500 |
-
|
501 |
-
// delete value
|
502 |
-
$return = acf_delete_metadata( $post_id, $field['name'] );
|
503 |
-
|
504 |
-
|
505 |
-
// delete reference
|
506 |
-
acf_delete_metadata( $post_id, $field['name'], true );
|
507 |
-
|
508 |
-
|
509 |
-
// clear cache
|
510 |
-
acf_delete_cache("get_value/post_id={$post_id}/name={$field['name']}");
|
511 |
-
acf_delete_cache("format_value/post_id={$post_id}/name={$field['name']}");
|
512 |
-
|
513 |
-
|
514 |
-
// return
|
515 |
-
return $return;
|
516 |
-
|
517 |
-
}
|
518 |
-
|
519 |
-
|
520 |
-
/*
|
521 |
-
* acf_copy_postmeta
|
522 |
-
*
|
523 |
-
* This function will copy postmeta from one post to another.
|
524 |
-
* Very useful for saving and restoring revisions
|
525 |
-
*
|
526 |
-
* @type function
|
527 |
-
* @date 25/06/2016
|
528 |
-
* @since 5.3.8
|
529 |
-
*
|
530 |
-
* @param $from_post_id (int)
|
531 |
-
* @param $to_post_id (int)
|
532 |
-
* @return n/a
|
533 |
-
*/
|
534 |
-
|
535 |
-
function acf_copy_postmeta( $from_post_id, $to_post_id ) {
|
536 |
-
|
537 |
-
// get all postmeta
|
538 |
-
$meta = get_post_meta( $from_post_id );
|
539 |
-
|
540 |
-
|
541 |
-
// bail early if no meta
|
542 |
-
if( !$meta ) return;
|
543 |
-
|
544 |
-
|
545 |
-
// loop
|
546 |
-
foreach( $meta as $name => $value ) {
|
547 |
-
|
548 |
-
// attempt to find key value
|
549 |
-
$key = acf_maybe_get( $meta, '_'.$name );
|
550 |
-
|
551 |
-
|
552 |
-
// bail ealry if no key
|
553 |
-
if( !$key ) continue;
|
554 |
-
|
555 |
-
|
556 |
-
// update vars
|
557 |
-
$value = $value[0];
|
558 |
-
$key = $key[0];
|
559 |
-
|
560 |
-
|
561 |
-
// bail early if $key is a not a field_key
|
562 |
-
if( !acf_is_field_key($key) ) continue;
|
563 |
-
|
564 |
-
|
565 |
-
// get_post_meta will return array before running maybe_unserialize
|
566 |
-
$value = maybe_unserialize( $value );
|
567 |
-
|
568 |
-
|
569 |
-
// add in slashes
|
570 |
-
// - update_post_meta will unslash the value, so we must first slash it to avoid losing backslashes
|
571 |
-
// - https://codex.wordpress.org/Function_Reference/update_post_meta#Character_Escaping
|
572 |
-
if( is_string($value) ) {
|
573 |
-
|
574 |
-
$value = wp_slash($value);
|
575 |
-
|
576 |
-
}
|
577 |
-
|
578 |
-
|
579 |
-
// update value
|
580 |
-
acf_update_metadata( $to_post_id, $name, $value );
|
581 |
-
acf_update_metadata( $to_post_id, $name, $key, true );
|
582 |
-
|
583 |
-
}
|
584 |
-
|
585 |
-
}
|
586 |
-
|
587 |
-
|
588 |
-
/*
|
589 |
-
* acf_preview_value
|
590 |
-
*
|
591 |
-
* This function will return a human freindly 'preview' for a given field value
|
592 |
-
*
|
593 |
-
* @type function
|
594 |
-
* @date 24/10/16
|
595 |
-
* @since 5.5.0
|
596 |
-
*
|
597 |
-
* @param $value (mixed)
|
598 |
-
* @param $post_id (mixed)
|
599 |
-
* @param $field (array)
|
600 |
-
* @return (string)
|
601 |
-
*/
|
602 |
-
|
603 |
-
function acf_preview_value( $value, $post_id, $field ) {
|
604 |
-
|
605 |
-
/**
|
606 |
-
* Filters the $value before used in HTML.
|
607 |
-
*
|
608 |
-
* @date 24/10/16
|
609 |
-
* @since 5.5.0
|
610 |
-
*
|
611 |
-
* @param mixed $value The value to preview.
|
612 |
-
* @param string $post_id The post ID for this value.
|
613 |
-
* @param array $field The field array.
|
614 |
-
*/
|
615 |
-
$value = apply_filters( "acf/preview_value/type={$field['type']}", $value, $post_id, $field );
|
616 |
-
$value = apply_filters( "acf/preview_value/name={$field['_name']}", $value, $post_id, $field );
|
617 |
-
$value = apply_filters( "acf/preview_value/key={$field['key']}", $value, $post_id, $field );
|
618 |
-
$value = apply_filters( "acf/preview_value", $value, $post_id, $field );
|
619 |
-
|
620 |
-
// return
|
621 |
-
return $value;
|
622 |
-
}
|
623 |
-
|
624 |
-
/**
|
625 |
-
* acf_get_option_meta
|
626 |
-
*
|
627 |
-
* Returns an array of meta for the given wp_option name prefix.
|
628 |
-
*
|
629 |
-
* @date 9/10/18
|
630 |
-
* @since 5.8.0
|
631 |
-
*
|
632 |
-
* @param string $prefix The wp_option name prefix.
|
633 |
-
* @return array
|
634 |
-
*/
|
635 |
-
function acf_get_option_meta( $prefix = '' ) {
|
636 |
-
|
637 |
-
// global
|
638 |
-
global $wpdb;
|
639 |
-
|
640 |
-
// vars
|
641 |
-
$meta = array();
|
642 |
-
$search = "{$prefix}_%";
|
643 |
-
$_search = "_{$prefix}_%";
|
644 |
-
|
645 |
-
// escape underscores
|
646 |
-
$search = str_replace('_', '\_', $search);
|
647 |
-
$_search = str_replace('_', '\_', $_search);
|
648 |
-
|
649 |
-
// query
|
650 |
-
$rows = $wpdb->get_results($wpdb->prepare(
|
651 |
-
"SELECT *
|
652 |
-
FROM $wpdb->options
|
653 |
-
WHERE option_name LIKE %s
|
654 |
-
OR option_name LIKE %s",
|
655 |
-
$search,
|
656 |
-
$_search
|
657 |
-
), ARRAY_A);
|
658 |
-
|
659 |
-
// loop
|
660 |
-
$len = strlen("{$prefix}_");
|
661 |
-
foreach( $rows as $row ) {
|
662 |
-
$meta[ substr($row['option_name'], $len) ][] = $row['option_value'];
|
663 |
-
}
|
664 |
-
|
665 |
-
// return unserialized
|
666 |
-
return array_map('maybe_unserialize', $meta);
|
667 |
-
}
|
668 |
-
|
669 |
-
/**
|
670 |
-
* acf_get_meta
|
671 |
-
*
|
672 |
-
* Returns an array of "ACF only" meta for the given post_id.
|
673 |
-
*
|
674 |
-
* @date 9/10/18
|
675 |
-
* @since 5.8.0
|
676 |
-
*
|
677 |
-
* @param mixed $post_id The post_id for this data.
|
678 |
-
* @return array
|
679 |
-
*/
|
680 |
-
function acf_get_meta( $post_id = 0 ) {
|
681 |
-
|
682 |
-
// allow filter to short-circuit load_value logic
|
683 |
-
$pre = apply_filters( "acf/pre_load_meta", null, $post_id );
|
684 |
-
if( $pre !== null ) {
|
685 |
-
return $pre;
|
686 |
-
}
|
687 |
-
|
688 |
-
// get post_id info
|
689 |
-
extract( acf_get_post_id_info($post_id) );
|
690 |
-
|
691 |
-
// use get_$type_meta() function when possible
|
692 |
-
if( function_exists("get_{$type}_meta") ) {
|
693 |
-
$allmeta = call_user_func("get_{$type}_meta", $id, '', true);
|
694 |
-
|
695 |
-
// default to wp_options
|
696 |
-
} else {
|
697 |
-
$allmeta = acf_get_option_meta( $id );
|
698 |
-
}
|
699 |
-
|
700 |
-
// loop
|
701 |
-
$meta = array();
|
702 |
-
foreach( $allmeta as $key => $value ) {
|
703 |
-
|
704 |
-
// if is value
|
705 |
-
if( isset($allmeta["_$key"]) ) {
|
706 |
-
$meta[ $key ] = $allmeta[ $key ][0];
|
707 |
-
$meta[ "_$key" ] = $allmeta[ "_$key" ][0];
|
708 |
-
}
|
709 |
-
}
|
710 |
-
|
711 |
-
// return
|
712 |
-
return $meta;
|
713 |
-
}
|
714 |
-
|
715 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/cache.php
DELETED
@@ -1,445 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
-
|
5 |
-
if( ! class_exists('acf_cache') ) :
|
6 |
-
|
7 |
-
class acf_cache {
|
8 |
-
|
9 |
-
// vars
|
10 |
-
var $reference = array(),
|
11 |
-
$active = true;
|
12 |
-
|
13 |
-
|
14 |
-
/*
|
15 |
-
* __construct
|
16 |
-
*
|
17 |
-
* This function will setup the class functionality
|
18 |
-
*
|
19 |
-
* @type function
|
20 |
-
* @date 5/03/2014
|
21 |
-
* @since 5.4.0
|
22 |
-
*
|
23 |
-
* @param n/a
|
24 |
-
* @return n/a
|
25 |
-
*/
|
26 |
-
|
27 |
-
function __construct() {
|
28 |
-
|
29 |
-
// prevent ACF from persistent cache
|
30 |
-
wp_cache_add_non_persistent_groups('acf');
|
31 |
-
|
32 |
-
}
|
33 |
-
|
34 |
-
|
35 |
-
/*
|
36 |
-
* is_active
|
37 |
-
*
|
38 |
-
* This function will return true if caching is enabled
|
39 |
-
*
|
40 |
-
* @type function
|
41 |
-
* @date 26/6/17
|
42 |
-
* @since 5.6.0
|
43 |
-
*
|
44 |
-
* @param n/a
|
45 |
-
* @return (bool)
|
46 |
-
*/
|
47 |
-
|
48 |
-
function is_active() {
|
49 |
-
|
50 |
-
return $this->active;
|
51 |
-
|
52 |
-
}
|
53 |
-
|
54 |
-
|
55 |
-
/*
|
56 |
-
* enable
|
57 |
-
*
|
58 |
-
* This function will enable ACF caching
|
59 |
-
*
|
60 |
-
* @type function
|
61 |
-
* @date 26/6/17
|
62 |
-
* @since 5.6.0
|
63 |
-
*
|
64 |
-
* @param n/a
|
65 |
-
* @return n/a
|
66 |
-
*/
|
67 |
-
|
68 |
-
function enable() {
|
69 |
-
|
70 |
-
$this->active = true;
|
71 |
-
|
72 |
-
}
|
73 |
-
|
74 |
-
|
75 |
-
/*
|
76 |
-
* disable
|
77 |
-
*
|
78 |
-
* This function will disable ACF caching
|
79 |
-
*
|
80 |
-
* @type function
|
81 |
-
* @date 26/6/17
|
82 |
-
* @since 5.6.0
|
83 |
-
*
|
84 |
-
* @param n/a
|
85 |
-
* @return n/a
|
86 |
-
*/
|
87 |
-
|
88 |
-
function disable() {
|
89 |
-
|
90 |
-
$this->active = false;
|
91 |
-
|
92 |
-
}
|
93 |
-
|
94 |
-
|
95 |
-
/*
|
96 |
-
* get_key
|
97 |
-
*
|
98 |
-
* This function will check for references and modify the key
|
99 |
-
*
|
100 |
-
* @type function
|
101 |
-
* @date 30/06/2016
|
102 |
-
* @since 5.4.0
|
103 |
-
*
|
104 |
-
* @param $key (string)
|
105 |
-
* @return $key
|
106 |
-
*/
|
107 |
-
|
108 |
-
function get_key( $key = '' ) {
|
109 |
-
|
110 |
-
// check for reference
|
111 |
-
if( isset($this->reference[ $key ]) ) {
|
112 |
-
|
113 |
-
$key = $this->reference[ $key ];
|
114 |
-
|
115 |
-
}
|
116 |
-
|
117 |
-
|
118 |
-
// return
|
119 |
-
return $key;
|
120 |
-
|
121 |
-
}
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
/*
|
126 |
-
* isset_cache
|
127 |
-
*
|
128 |
-
* This function will return true if a cached data exists for the given key
|
129 |
-
*
|
130 |
-
* @type function
|
131 |
-
* @date 30/06/2016
|
132 |
-
* @since 5.4.0
|
133 |
-
*
|
134 |
-
* @param $key (string)
|
135 |
-
* @return (boolean)
|
136 |
-
*/
|
137 |
-
|
138 |
-
function isset_cache( $key = '' ) {
|
139 |
-
|
140 |
-
// bail early if not active
|
141 |
-
if( !$this->is_active() ) return false;
|
142 |
-
|
143 |
-
|
144 |
-
// vars
|
145 |
-
$key = $this->get_key($key);
|
146 |
-
$found = false;
|
147 |
-
|
148 |
-
|
149 |
-
// get cache
|
150 |
-
$cache = wp_cache_get($key, 'acf', false, $found);
|
151 |
-
|
152 |
-
|
153 |
-
// return
|
154 |
-
return $found;
|
155 |
-
|
156 |
-
}
|
157 |
-
|
158 |
-
|
159 |
-
/*
|
160 |
-
* get_cache
|
161 |
-
*
|
162 |
-
* This function will return cached data for a given key
|
163 |
-
*
|
164 |
-
* @type function
|
165 |
-
* @date 30/06/2016
|
166 |
-
* @since 5.4.0
|
167 |
-
*
|
168 |
-
* @param $key (string)
|
169 |
-
* @return (mixed)
|
170 |
-
*/
|
171 |
-
|
172 |
-
function get_cache( $key = '' ) {
|
173 |
-
|
174 |
-
// bail early if not active
|
175 |
-
if( !$this->is_active() ) return false;
|
176 |
-
|
177 |
-
|
178 |
-
// vars
|
179 |
-
$key = $this->get_key($key);
|
180 |
-
$found = false;
|
181 |
-
|
182 |
-
|
183 |
-
// get cache
|
184 |
-
$cache = wp_cache_get($key, 'acf', false, $found);
|
185 |
-
|
186 |
-
|
187 |
-
// return
|
188 |
-
return $cache;
|
189 |
-
|
190 |
-
}
|
191 |
-
|
192 |
-
|
193 |
-
/*
|
194 |
-
* set_cache
|
195 |
-
*
|
196 |
-
* This function will set cached data for a given key
|
197 |
-
*
|
198 |
-
* @type function
|
199 |
-
* @date 30/06/2016
|
200 |
-
* @since 5.4.0
|
201 |
-
*
|
202 |
-
* @param $key (string)
|
203 |
-
* @param $data (mixed)
|
204 |
-
* @return n/a
|
205 |
-
*/
|
206 |
-
|
207 |
-
function set_cache( $key = '', $data = '' ) {
|
208 |
-
|
209 |
-
// bail early if not active
|
210 |
-
if( !$this->is_active() ) return false;
|
211 |
-
|
212 |
-
|
213 |
-
// set
|
214 |
-
wp_cache_set($key, $data, 'acf');
|
215 |
-
|
216 |
-
|
217 |
-
// return
|
218 |
-
return $key;
|
219 |
-
|
220 |
-
}
|
221 |
-
|
222 |
-
|
223 |
-
/*
|
224 |
-
* set_cache_reference
|
225 |
-
*
|
226 |
-
* This function will set a reference to cached data for a given key
|
227 |
-
*
|
228 |
-
* @type function
|
229 |
-
* @date 30/06/2016
|
230 |
-
* @since 5.4.0
|
231 |
-
*
|
232 |
-
* @param $key (string)
|
233 |
-
* @param $reference (string)
|
234 |
-
* @return n/a
|
235 |
-
*/
|
236 |
-
|
237 |
-
function set_cache_reference( $key = '', $reference = '' ) {
|
238 |
-
|
239 |
-
// bail early if not active
|
240 |
-
if( !$this->is_active() ) return false;
|
241 |
-
|
242 |
-
|
243 |
-
// add
|
244 |
-
$this->reference[ $key ] = $reference;
|
245 |
-
|
246 |
-
|
247 |
-
// resturn
|
248 |
-
return $key;
|
249 |
-
|
250 |
-
}
|
251 |
-
|
252 |
-
|
253 |
-
/*
|
254 |
-
* delete_cache
|
255 |
-
*
|
256 |
-
* This function will delete cached data for a given key
|
257 |
-
*
|
258 |
-
* @type function
|
259 |
-
* @date 30/06/2016
|
260 |
-
* @since 5.4.0
|
261 |
-
*
|
262 |
-
* @param $key (string)
|
263 |
-
* @return n/a
|
264 |
-
*/
|
265 |
-
|
266 |
-
function delete_cache( $key = '' ) {
|
267 |
-
|
268 |
-
// bail early if not active
|
269 |
-
if( !$this->is_active() ) return false;
|
270 |
-
|
271 |
-
|
272 |
-
// delete
|
273 |
-
return wp_cache_delete( $key, 'acf' );
|
274 |
-
|
275 |
-
}
|
276 |
-
|
277 |
-
}
|
278 |
-
|
279 |
-
|
280 |
-
// initialize
|
281 |
-
acf()->cache = new acf_cache();
|
282 |
-
|
283 |
-
endif; // class_exists check
|
284 |
-
|
285 |
-
|
286 |
-
/*
|
287 |
-
* acf_is_cache_active
|
288 |
-
*
|
289 |
-
* alias of acf()->cache->is_active()
|
290 |
-
*
|
291 |
-
* @type function
|
292 |
-
* @date 26/6/17
|
293 |
-
* @since 5.6.0
|
294 |
-
*
|
295 |
-
* @param n/a
|
296 |
-
* @return n/a
|
297 |
-
*/
|
298 |
-
|
299 |
-
function acf_is_cache_active() {
|
300 |
-
|
301 |
-
return acf()->cache->is_active();
|
302 |
-
|
303 |
-
}
|
304 |
-
|
305 |
-
|
306 |
-
/*
|
307 |
-
* acf_disable_cache
|
308 |
-
*
|
309 |
-
* alias of acf()->cache->disable()
|
310 |
-
*
|
311 |
-
* @type function
|
312 |
-
* @date 26/6/17
|
313 |
-
* @since 5.6.0
|
314 |
-
*
|
315 |
-
* @param n/a
|
316 |
-
* @return n/a
|
317 |
-
*/
|
318 |
-
|
319 |
-
function acf_disable_cache() {
|
320 |
-
|
321 |
-
return acf()->cache->disable();
|
322 |
-
|
323 |
-
}
|
324 |
-
|
325 |
-
|
326 |
-
/*
|
327 |
-
* acf_enable_cache
|
328 |
-
*
|
329 |
-
* alias of acf()->cache->enable()
|
330 |
-
*
|
331 |
-
* @type function
|
332 |
-
* @date 26/6/17
|
333 |
-
* @since 5.6.0
|
334 |
-
*
|
335 |
-
* @param n/a
|
336 |
-
* @return n/a
|
337 |
-
*/
|
338 |
-
|
339 |
-
function acf_enable_cache() {
|
340 |
-
|
341 |
-
return acf()->cache->enable();
|
342 |
-
|
343 |
-
}
|
344 |
-
|
345 |
-
|
346 |
-
/*
|
347 |
-
* acf_isset_cache
|
348 |
-
*
|
349 |
-
* alias of acf()->cache->isset_cache()
|
350 |
-
*
|
351 |
-
* @type function
|
352 |
-
* @date 30/06/2016
|
353 |
-
* @since 5.4.0
|
354 |
-
*
|
355 |
-
* @param n/a
|
356 |
-
* @return n/a
|
357 |
-
*/
|
358 |
-
|
359 |
-
function acf_isset_cache( $key = '' ) {
|
360 |
-
|
361 |
-
return acf()->cache->isset_cache( $key );
|
362 |
-
|
363 |
-
}
|
364 |
-
|
365 |
-
|
366 |
-
/*
|
367 |
-
* acf_get_cache
|
368 |
-
*
|
369 |
-
* alias of acf()->cache->get_cache()
|
370 |
-
*
|
371 |
-
* @type function
|
372 |
-
* @date 30/06/2016
|
373 |
-
* @since 5.4.0
|
374 |
-
*
|
375 |
-
* @param n/a
|
376 |
-
* @return n/a
|
377 |
-
*/
|
378 |
-
|
379 |
-
function acf_get_cache( $key = '' ) {
|
380 |
-
|
381 |
-
return acf()->cache->get_cache( $key );
|
382 |
-
|
383 |
-
}
|
384 |
-
|
385 |
-
|
386 |
-
/*
|
387 |
-
* acf_set_cache
|
388 |
-
*
|
389 |
-
* alias of acf()->cache->set_cache()
|
390 |
-
*
|
391 |
-
* @type function
|
392 |
-
* @date 30/06/2016
|
393 |
-
* @since 5.4.0
|
394 |
-
*
|
395 |
-
* @param n/a
|
396 |
-
* @return n/a
|
397 |
-
*/
|
398 |
-
|
399 |
-
function acf_set_cache( $key = '', $data ) {
|
400 |
-
|
401 |
-
return acf()->cache->set_cache( $key, $data );
|
402 |
-
|
403 |
-
}
|
404 |
-
|
405 |
-
|
406 |
-
/*
|
407 |
-
* acf_set_cache_reference
|
408 |
-
*
|
409 |
-
* alias of acf()->cache->set_cache_reference()
|
410 |
-
*
|
411 |
-
* @type function
|
412 |
-
* @date 30/06/2016
|
413 |
-
* @since 5.4.0
|
414 |
-
*
|
415 |
-
* @param n/a
|
416 |
-
* @return n/a
|
417 |
-
*/
|
418 |
-
|
419 |
-
function acf_set_cache_reference( $key = '', $reference = '' ) {
|
420 |
-
|
421 |
-
return acf()->cache->set_cache_reference( $key, $reference );
|
422 |
-
|
423 |
-
}
|
424 |
-
|
425 |
-
|
426 |
-
/*
|
427 |
-
* acf_delete_cache
|
428 |
-
*
|
429 |
-
* alias of acf()->cache->delete_cache()
|
430 |
-
*
|
431 |
-
* @type function
|
432 |
-
* @date 30/06/2016
|
433 |
-
* @since 5.4.0
|
434 |
-
*
|
435 |
-
* @param n/a
|
436 |
-
* @return n/a
|
437 |
-
*/
|
438 |
-
|
439 |
-
function acf_delete_cache( $key = '' ) {
|
440 |
-
|
441 |
-
return acf()->cache->delete_cache( $key );
|
442 |
-
|
443 |
-
}
|
444 |
-
|
445 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-acf-data.php
CHANGED
@@ -12,6 +12,12 @@ class ACF_Data {
|
|
12 |
/** @var array Storage for data. */
|
13 |
var $data = array();
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* __construct
|
17 |
*
|
@@ -29,8 +35,8 @@ class ACF_Data {
|
|
29 |
$this->cid = acf_uniqid();
|
30 |
|
31 |
// Set data.
|
32 |
-
if( $data
|
33 |
-
$this->
|
34 |
}
|
35 |
|
36 |
// Initialize.
|
@@ -49,7 +55,43 @@ class ACF_Data {
|
|
49 |
* @return void
|
50 |
*/
|
51 |
function initialize() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
|
55 |
/**
|
@@ -64,7 +106,23 @@ class ACF_Data {
|
|
64 |
* @return boolean
|
65 |
*/
|
66 |
function has( $name = '' ) {
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
|
70 |
/**
|
@@ -78,8 +136,17 @@ class ACF_Data {
|
|
78 |
* @param string $name The data name.
|
79 |
* @return mixed
|
80 |
*/
|
81 |
-
function get( $name =
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
|
85 |
/**
|
@@ -109,7 +176,7 @@ class ACF_Data {
|
|
109 |
* @param mixed $value The data value.
|
110 |
* @return ACF_Data
|
111 |
*/
|
112 |
-
function set( $name = '', $value ) {
|
113 |
|
114 |
// Set multiple.
|
115 |
if( is_array($name) ) {
|
@@ -124,6 +191,26 @@ class ACF_Data {
|
|
124 |
return $this;
|
125 |
}
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
/**
|
128 |
* remove
|
129 |
*
|
@@ -143,6 +230,125 @@ class ACF_Data {
|
|
143 |
// Return this for chaining.
|
144 |
return $this;
|
145 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
}
|
147 |
|
148 |
endif; // class_exists check
|
12 |
/** @var array Storage for data. */
|
13 |
var $data = array();
|
14 |
|
15 |
+
/** @var array Storage for data aliases. */
|
16 |
+
var $aliases = array();
|
17 |
+
|
18 |
+
/** @var bool Enables unique data per site. */
|
19 |
+
var $multisite = false;
|
20 |
+
|
21 |
/**
|
22 |
* __construct
|
23 |
*
|
35 |
$this->cid = acf_uniqid();
|
36 |
|
37 |
// Set data.
|
38 |
+
if( $data ) {
|
39 |
+
$this->set( $data );
|
40 |
}
|
41 |
|
42 |
// Initialize.
|
55 |
* @return void
|
56 |
*/
|
57 |
function initialize() {
|
58 |
+
// Do nothing.
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* prop
|
63 |
+
*
|
64 |
+
* Sets a property for the given name and returns $this for chaining.
|
65 |
+
*
|
66 |
+
* @date 9/1/19
|
67 |
+
* @since 5.7.10
|
68 |
+
*
|
69 |
+
* @param (string|array) $name The data name or an array of data.
|
70 |
+
* @param mixed $value The data value.
|
71 |
+
* @return ACF_Data
|
72 |
+
*/
|
73 |
+
function prop( $name = '', $value = null ) {
|
74 |
|
75 |
+
// Update property.
|
76 |
+
$this->{$name} = $value;
|
77 |
+
|
78 |
+
// Return this for chaining.
|
79 |
+
return $this;
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* _key
|
84 |
+
*
|
85 |
+
* Returns a key for the given name allowing aliasses to work.
|
86 |
+
*
|
87 |
+
* @date 18/1/19
|
88 |
+
* @since 5.7.10
|
89 |
+
*
|
90 |
+
* @param type $var Description. Default.
|
91 |
+
* @return type Description.
|
92 |
+
*/
|
93 |
+
function _key( $name = '' ) {
|
94 |
+
return isset($this->aliases[ $name ]) ? $this->aliases[ $name ] : $name;
|
95 |
}
|
96 |
|
97 |
/**
|
106 |
* @return boolean
|
107 |
*/
|
108 |
function has( $name = '' ) {
|
109 |
+
$key = $this->_key($name);
|
110 |
+
return isset($this->data[ $key ]);
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* is
|
115 |
+
*
|
116 |
+
* Similar to has() but does not check aliases.
|
117 |
+
*
|
118 |
+
* @date 7/2/19
|
119 |
+
* @since 5.7.11
|
120 |
+
*
|
121 |
+
* @param type $var Description. Default.
|
122 |
+
* @return type Description.
|
123 |
+
*/
|
124 |
+
function is( $key = '' ) {
|
125 |
+
return isset($this->data[ $key ]);
|
126 |
}
|
127 |
|
128 |
/**
|
136 |
* @param string $name The data name.
|
137 |
* @return mixed
|
138 |
*/
|
139 |
+
function get( $name = false ) {
|
140 |
+
|
141 |
+
// Get all.
|
142 |
+
if( $name === false ) {
|
143 |
+
return $this->data;
|
144 |
+
|
145 |
+
// Get specific.
|
146 |
+
} else {
|
147 |
+
$key = $this->_key($name);
|
148 |
+
return isset($this->data[ $key ]) ? $this->data[ $key ] : null;
|
149 |
+
}
|
150 |
}
|
151 |
|
152 |
/**
|
176 |
* @param mixed $value The data value.
|
177 |
* @return ACF_Data
|
178 |
*/
|
179 |
+
function set( $name = '', $value = null ) {
|
180 |
|
181 |
// Set multiple.
|
182 |
if( is_array($name) ) {
|
191 |
return $this;
|
192 |
}
|
193 |
|
194 |
+
/**
|
195 |
+
* append
|
196 |
+
*
|
197 |
+
* Appends data for the given name and returns $this for chaining.
|
198 |
+
*
|
199 |
+
* @date 9/1/19
|
200 |
+
* @since 5.7.10
|
201 |
+
*
|
202 |
+
* @param mixed $value The data value.
|
203 |
+
* @return ACF_Data
|
204 |
+
*/
|
205 |
+
function append( $value = null ) {
|
206 |
+
|
207 |
+
// Append.
|
208 |
+
$this->data[] = $value;
|
209 |
+
|
210 |
+
// Return this for chaining.
|
211 |
+
return $this;
|
212 |
+
}
|
213 |
+
|
214 |
/**
|
215 |
* remove
|
216 |
*
|
230 |
// Return this for chaining.
|
231 |
return $this;
|
232 |
}
|
233 |
+
|
234 |
+
/**
|
235 |
+
* reset
|
236 |
+
*
|
237 |
+
* Resets the data.
|
238 |
+
*
|
239 |
+
* @date 22/1/19
|
240 |
+
* @since 5.7.10
|
241 |
+
*
|
242 |
+
* @param void
|
243 |
+
* @return void
|
244 |
+
*/
|
245 |
+
function reset() {
|
246 |
+
$this->data = array();
|
247 |
+
$this->aliases = array();
|
248 |
+
}
|
249 |
+
|
250 |
+
/**
|
251 |
+
* count
|
252 |
+
*
|
253 |
+
* Returns the data count.
|
254 |
+
*
|
255 |
+
* @date 23/1/19
|
256 |
+
* @since 5.7.10
|
257 |
+
*
|
258 |
+
* @param void
|
259 |
+
* @return int
|
260 |
+
*/
|
261 |
+
function count() {
|
262 |
+
return count( $this->data );
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* query
|
267 |
+
*
|
268 |
+
* Returns a filtered array of data based on the set of key => value arguments.
|
269 |
+
*
|
270 |
+
* @date 23/1/19
|
271 |
+
* @since 5.7.10
|
272 |
+
*
|
273 |
+
* @param void
|
274 |
+
* @return int
|
275 |
+
*/
|
276 |
+
function query( $args, $operator = 'AND' ) {
|
277 |
+
return wp_list_filter( $this->data, $args, $operator );
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* alias
|
282 |
+
*
|
283 |
+
* Sets an alias for the given name allowing data to be found via multiple identifiers.
|
284 |
+
*
|
285 |
+
* @date 18/1/19
|
286 |
+
* @since 5.7.10
|
287 |
+
*
|
288 |
+
* @param type $var Description. Default.
|
289 |
+
* @return type Description.
|
290 |
+
*/
|
291 |
+
function alias( $name = '' /*, $alias, $alias2, etc */ ) {
|
292 |
+
|
293 |
+
// Get all aliases.
|
294 |
+
$args = func_get_args();
|
295 |
+
array_shift( $args );
|
296 |
+
|
297 |
+
// Loop over aliases and add to data.
|
298 |
+
foreach( $args as $alias ) {
|
299 |
+
$this->aliases[ $alias ] = $name;
|
300 |
+
}
|
301 |
+
|
302 |
+
// Return this for chaining.
|
303 |
+
return $this;
|
304 |
+
}
|
305 |
+
|
306 |
+
/**
|
307 |
+
* switch_site
|
308 |
+
*
|
309 |
+
* Triggered when switching between sites on a multisite installation.
|
310 |
+
*
|
311 |
+
* @date 13/2/19
|
312 |
+
* @since 5.7.11
|
313 |
+
*
|
314 |
+
* @param int $site_id New blog ID.
|
315 |
+
* @param int prev_blog_id Prev blog ID.
|
316 |
+
* @return void
|
317 |
+
*/
|
318 |
+
function switch_site( $site_id, $prev_site_id ) {
|
319 |
+
|
320 |
+
// Bail early if not multisite compatible.
|
321 |
+
if( !$this->multisite ) {
|
322 |
+
return;
|
323 |
+
}
|
324 |
+
|
325 |
+
// Bail early if no change in blog ID.
|
326 |
+
if( $site_id === $prev_site_id ) {
|
327 |
+
return;
|
328 |
+
}
|
329 |
+
|
330 |
+
// Create storage.
|
331 |
+
if( !isset($this->site_data) ) {
|
332 |
+
$this->site_data = array();
|
333 |
+
$this->site_aliases = array();
|
334 |
+
}
|
335 |
+
|
336 |
+
// Save state.
|
337 |
+
$this->site_data[ $prev_site_id ] = $this->data;
|
338 |
+
$this->site_aliases[ $prev_site_id ] = $this->aliases;
|
339 |
+
|
340 |
+
// Reset state.
|
341 |
+
$this->data = array();
|
342 |
+
$this->aliases = array();
|
343 |
+
|
344 |
+
// Load state.
|
345 |
+
if( isset($this->site_data[ $site_id ]) ) {
|
346 |
+
$this->data = $this->site_data[ $site_id ];
|
347 |
+
$this->aliases = $this->site_aliases[ $site_id ];
|
348 |
+
unset( $this->site_data[ $site_id ] );
|
349 |
+
unset( $this->site_aliases[ $site_id ] );
|
350 |
+
}
|
351 |
+
}
|
352 |
}
|
353 |
|
354 |
endif; // class_exists check
|
includes/compatibility.php
CHANGED
@@ -34,11 +34,39 @@ class ACF_Compatibility {
|
|
34 |
add_filter('acf/validate_field/type=user', array($this, 'validate_user_field'), 20, 1);
|
35 |
add_filter('acf/validate_field_group', array($this, 'validate_field_group'), 20, 1);
|
36 |
|
|
|
|
|
|
|
37 |
// location
|
38 |
add_filter('acf/location/validate_rule/type=post_taxonomy', array($this, 'validate_post_taxonomy_location_rule'), 20, 1);
|
39 |
add_filter('acf/location/validate_rule/type=post_category', array($this, 'validate_post_taxonomy_location_rule'), 20, 1);
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
/**
|
43 |
* validate_field
|
44 |
*
|
@@ -326,7 +354,7 @@ class ACF_Compatibility {
|
|
326 |
// detect ACF4 data and generate key
|
327 |
if( !$field_group['key'] ) {
|
328 |
$version = 4;
|
329 |
-
$field_group['key'] = uniqid('group_');
|
330 |
}
|
331 |
|
332 |
// prior to version 5.0.0, settings were saved in an 'options' array
|
34 |
add_filter('acf/validate_field/type=user', array($this, 'validate_user_field'), 20, 1);
|
35 |
add_filter('acf/validate_field_group', array($this, 'validate_field_group'), 20, 1);
|
36 |
|
37 |
+
// Modify field wrapper attributes
|
38 |
+
add_filter('acf/field_wrapper_attributes', array($this, 'field_wrapper_attributes'), 20, 2);
|
39 |
+
|
40 |
// location
|
41 |
add_filter('acf/location/validate_rule/type=post_taxonomy', array($this, 'validate_post_taxonomy_location_rule'), 20, 1);
|
42 |
add_filter('acf/location/validate_rule/type=post_category', array($this, 'validate_post_taxonomy_location_rule'), 20, 1);
|
43 |
}
|
44 |
|
45 |
+
/**
|
46 |
+
* field_wrapper_attributes
|
47 |
+
*
|
48 |
+
* Adds compatibility with deprecated field wrap attributes.
|
49 |
+
*
|
50 |
+
* @date 21/1/19
|
51 |
+
* @since 5.7.10
|
52 |
+
*
|
53 |
+
* @param array $wrapper The wrapper attributes array.
|
54 |
+
* @param array $field The field array.
|
55 |
+
*/
|
56 |
+
function field_wrapper_attributes( $wrapper, $field ) {
|
57 |
+
|
58 |
+
// Check compatibility setting.
|
59 |
+
if( acf_get_compatibility('field_wrapper_class') ) {
|
60 |
+
$wrapper['class'] .= " field_type-{$field['type']}";
|
61 |
+
if( $field['key'] ) {
|
62 |
+
$wrapper['class'] .= " field_key-{$field['key']}";
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
// Return wrapper.
|
67 |
+
return $wrapper;
|
68 |
+
}
|
69 |
+
|
70 |
/**
|
71 |
* validate_field
|
72 |
*
|
354 |
// detect ACF4 data and generate key
|
355 |
if( !$field_group['key'] ) {
|
356 |
$version = 4;
|
357 |
+
$field_group['key'] = isset($field_group['id']) ? "group_{$field_group['id']}" : uniqid('group_');
|
358 |
}
|
359 |
|
360 |
// prior to version 5.0.0, settings were saved in an 'options' array
|
includes/fields/class-acf-field-text.php
CHANGED
@@ -160,6 +160,30 @@ class acf_field_text extends acf_field {
|
|
160 |
|
161 |
}
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
|
165 |
|
160 |
|
161 |
}
|
162 |
|
163 |
+
/**
|
164 |
+
* validate_value
|
165 |
+
*
|
166 |
+
* Validates a field's value.
|
167 |
+
*
|
168 |
+
* @date 29/1/19
|
169 |
+
* @since 5.7.11
|
170 |
+
*
|
171 |
+
* @param (bool|string) Whether the value is vaid or not.
|
172 |
+
* @param mixed $value The field value.
|
173 |
+
* @param array $field The field array.
|
174 |
+
* @param string $input The HTML input name.
|
175 |
+
* @return (bool|string)
|
176 |
+
*/
|
177 |
+
function validate_value( $valid, $value, $field, $input ){
|
178 |
+
|
179 |
+
// Check maxlength
|
180 |
+
if( $field['maxlength'] && mb_strlen(wp_unslash($value)) > $field['maxlength'] ) {
|
181 |
+
return sprintf( __('Value must not exceed %d characters', 'acf'), $field['maxlength'] );
|
182 |
+
}
|
183 |
+
|
184 |
+
// Return.
|
185 |
+
return $valid;
|
186 |
+
}
|
187 |
}
|
188 |
|
189 |
|
includes/fields/class-acf-field-textarea.php
CHANGED
@@ -192,6 +192,30 @@ class acf_field_textarea extends acf_field {
|
|
192 |
return $value;
|
193 |
}
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
}
|
196 |
|
197 |
|
192 |
return $value;
|
193 |
}
|
194 |
|
195 |
+
/**
|
196 |
+
* validate_value
|
197 |
+
*
|
198 |
+
* Validates a field's value.
|
199 |
+
*
|
200 |
+
* @date 29/1/19
|
201 |
+
* @since 5.7.11
|
202 |
+
*
|
203 |
+
* @param (bool|string) Whether the value is vaid or not.
|
204 |
+
* @param mixed $value The field value.
|
205 |
+
* @param array $field The field array.
|
206 |
+
* @param string $input The HTML input name.
|
207 |
+
* @return (bool|string)
|
208 |
+
*/
|
209 |
+
function validate_value( $valid, $value, $field, $input ){
|
210 |
+
|
211 |
+
// Check maxlength
|
212 |
+
if( $field['maxlength'] && mb_strlen(wp_unslash($value)) > $field['maxlength'] ) {
|
213 |
+
return sprintf( __('Value must not exceed %d characters', 'acf'), $field['maxlength'] );
|
214 |
+
}
|
215 |
+
|
216 |
+
// Return.
|
217 |
+
return $valid;
|
218 |
+
}
|
219 |
}
|
220 |
|
221 |
|
includes/json.php
CHANGED
@@ -15,7 +15,6 @@ class acf_json {
|
|
15 |
|
16 |
// actions
|
17 |
add_action('acf/update_field_group', array($this, 'update_field_group'), 10, 1);
|
18 |
-
add_action('acf/duplicate_field_group', array($this, 'update_field_group'), 10, 1);
|
19 |
add_action('acf/untrash_field_group', array($this, 'update_field_group'), 10, 1);
|
20 |
add_action('acf/trash_field_group', array($this, 'delete_field_group'), 10, 1);
|
21 |
add_action('acf/delete_field_group', array($this, 'delete_field_group'), 10, 1);
|
15 |
|
16 |
// actions
|
17 |
add_action('acf/update_field_group', array($this, 'update_field_group'), 10, 1);
|
|
|
18 |
add_action('acf/untrash_field_group', array($this, 'update_field_group'), 10, 1);
|
19 |
add_action('acf/trash_field_group', array($this, 'delete_field_group'), 10, 1);
|
20 |
add_action('acf/delete_field_group', array($this, 'delete_field_group'), 10, 1);
|
includes/l10n.php
CHANGED
@@ -27,11 +27,11 @@ function determine_locale() {
|
|
27 |
|
28 |
$determined_locale = get_locale();
|
29 |
|
30 |
-
if ( is_admin() ) {
|
31 |
$determined_locale = get_user_locale();
|
32 |
}
|
33 |
-
|
34 |
-
if ( isset( $_GET['_locale'] ) && 'user' === $_GET['_locale']
|
35 |
$determined_locale = get_user_locale();
|
36 |
}
|
37 |
|
@@ -71,7 +71,7 @@ function acf_get_locale() {
|
|
71 |
$langs = array(
|
72 |
'az_TR' => 'az', // Azerbaijani (Turkey)
|
73 |
'zh_HK' => 'zh_CN', // Chinese (Hong Kong)
|
74 |
-
'zh_TW' => 'zh_CN', // Chinese (Taiwan)
|
75 |
'nl_BE' => 'nl_NL', // Dutch (Belgium)
|
76 |
'fr_BE' => 'fr_FR', // French (Belgium)
|
77 |
'nn_NO' => 'nb_NO', // Norwegian (Nynorsk)
|
@@ -126,3 +126,32 @@ function acf_load_textdomain( $domain = 'acf' ) {
|
|
126 |
// Load from plugin lang folder.
|
127 |
return load_textdomain( $domain, acf_get_path( 'lang/' . $mofile ) );
|
128 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
$determined_locale = get_locale();
|
29 |
|
30 |
+
if ( function_exists('get_user_locale') && is_admin() ) {
|
31 |
$determined_locale = get_user_locale();
|
32 |
}
|
33 |
+
|
34 |
+
if ( function_exists('get_user_locale') && isset( $_GET['_locale'] ) && 'user' === $_GET['_locale'] ) {
|
35 |
$determined_locale = get_user_locale();
|
36 |
}
|
37 |
|
71 |
$langs = array(
|
72 |
'az_TR' => 'az', // Azerbaijani (Turkey)
|
73 |
'zh_HK' => 'zh_CN', // Chinese (Hong Kong)
|
74 |
+
//'zh_TW' => 'zh_CN', // Chinese (Taiwan)
|
75 |
'nl_BE' => 'nl_NL', // Dutch (Belgium)
|
76 |
'fr_BE' => 'fr_FR', // French (Belgium)
|
77 |
'nn_NO' => 'nb_NO', // Norwegian (Nynorsk)
|
126 |
// Load from plugin lang folder.
|
127 |
return load_textdomain( $domain, acf_get_path( 'lang/' . $mofile ) );
|
128 |
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* _acf_apply_language_cache_key
|
132 |
+
*
|
133 |
+
* Applies the current language to the cache key.
|
134 |
+
*
|
135 |
+
* @date 23/1/19
|
136 |
+
* @since 5.7.11
|
137 |
+
*
|
138 |
+
* @param string $key The cache key.
|
139 |
+
* @return string
|
140 |
+
*/
|
141 |
+
function _acf_apply_language_cache_key( $key ) {
|
142 |
+
|
143 |
+
// Get current language.
|
144 |
+
$current_language = acf_get_setting('current_language');
|
145 |
+
if( $current_language ) {
|
146 |
+
$key = "{$key}:{$current_language}";
|
147 |
+
}
|
148 |
+
|
149 |
+
// Return key.
|
150 |
+
return $key;
|
151 |
+
}
|
152 |
+
|
153 |
+
// Hook into filter.
|
154 |
+
add_filter( 'acf/get_cache_key', '_acf_apply_language_cache_key' );
|
155 |
+
|
156 |
+
|
157 |
+
|
includes/local-fields.php
ADDED
@@ -0,0 +1,543 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Register notices stores.
|
4 |
+
acf_register_store( 'local-fields' )->prop( 'multisite', true );
|
5 |
+
acf_register_store( 'local-groups' )->prop( 'multisite', true );
|
6 |
+
acf_register_store( 'local-empty' );
|
7 |
+
|
8 |
+
// Register filter.
|
9 |
+
acf_enable_filter( 'local' );
|
10 |
+
|
11 |
+
/**
|
12 |
+
* acf_enable_local
|
13 |
+
*
|
14 |
+
* Enables the local filter.
|
15 |
+
*
|
16 |
+
* @date 22/1/19
|
17 |
+
* @since 5.7.10
|
18 |
+
*
|
19 |
+
* @param void
|
20 |
+
* @return void
|
21 |
+
*/
|
22 |
+
function acf_enable_local() {
|
23 |
+
acf_enable_filter('local');
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* acf_disable_local
|
28 |
+
*
|
29 |
+
* Disables the local filter.
|
30 |
+
*
|
31 |
+
* @date 22/1/19
|
32 |
+
* @since 5.7.10
|
33 |
+
*
|
34 |
+
* @param void
|
35 |
+
* @return void
|
36 |
+
*/
|
37 |
+
function acf_disable_local() {
|
38 |
+
acf_disable_filter('local');
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* acf_is_local_enabled
|
43 |
+
*
|
44 |
+
* Returns true if local fields are enabled.
|
45 |
+
*
|
46 |
+
* @date 23/1/19
|
47 |
+
* @since 5.7.10
|
48 |
+
*
|
49 |
+
* @param void
|
50 |
+
* @return bool
|
51 |
+
*/
|
52 |
+
function acf_is_local_enabled() {
|
53 |
+
return ( acf_is_filter_enabled('local') && acf_get_setting('local') );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* acf_get_local_store
|
58 |
+
*
|
59 |
+
* Returns either local store or a dummy store for the given name.
|
60 |
+
*
|
61 |
+
* @date 23/1/19
|
62 |
+
* @since 5.7.10
|
63 |
+
*
|
64 |
+
* @param string $name The store name (fields|groups).
|
65 |
+
* @return ACF_Data
|
66 |
+
*/
|
67 |
+
function acf_get_local_store( $name = '' ) {
|
68 |
+
|
69 |
+
// Check if enabled.
|
70 |
+
if( acf_is_local_enabled() ) {
|
71 |
+
return acf_get_store( "local-$name" );
|
72 |
+
|
73 |
+
// Return dummy store if not enabled.
|
74 |
+
} else {
|
75 |
+
return acf_get_store( "local-empty" );
|
76 |
+
}
|
77 |
+
}
|
78 |
+
|
79 |
+
/**
|
80 |
+
* acf_reset_local
|
81 |
+
*
|
82 |
+
* Resets the local data.
|
83 |
+
*
|
84 |
+
* @date 22/1/19
|
85 |
+
* @since 5.7.10
|
86 |
+
*
|
87 |
+
* @param void
|
88 |
+
* @return void
|
89 |
+
*/
|
90 |
+
function acf_reset_local() {
|
91 |
+
acf_get_local_store( 'fields' )->reset();
|
92 |
+
acf_get_local_store( 'groups' )->reset();
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* acf_get_local_field_groups
|
97 |
+
*
|
98 |
+
* Returns all local field groups.
|
99 |
+
*
|
100 |
+
* @date 22/1/19
|
101 |
+
* @since 5.7.10
|
102 |
+
*
|
103 |
+
* @param void
|
104 |
+
* @return array
|
105 |
+
*/
|
106 |
+
function acf_get_local_field_groups() {
|
107 |
+
return acf_get_local_store( 'groups' )->get();
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* acf_have_local_field_groups
|
112 |
+
*
|
113 |
+
* description
|
114 |
+
*
|
115 |
+
* @date 22/1/19
|
116 |
+
* @since 5.7.10
|
117 |
+
*
|
118 |
+
* @param type $var Description. Default.
|
119 |
+
* @return type Description.
|
120 |
+
*/
|
121 |
+
function acf_have_local_field_groups() {
|
122 |
+
return acf_get_local_store( 'groups' )->count() ? true : false;
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* acf_count_local_field_groups
|
127 |
+
*
|
128 |
+
* description
|
129 |
+
*
|
130 |
+
* @date 22/1/19
|
131 |
+
* @since 5.7.10
|
132 |
+
*
|
133 |
+
* @param type $var Description. Default.
|
134 |
+
* @return type Description.
|
135 |
+
*/
|
136 |
+
function acf_count_local_field_groups() {
|
137 |
+
return acf_get_local_store( 'groups' )->count();
|
138 |
+
}
|
139 |
+
|
140 |
+
/**
|
141 |
+
* acf_add_local_field_group
|
142 |
+
*
|
143 |
+
* Adds a local field group.
|
144 |
+
*
|
145 |
+
* @date 22/1/19
|
146 |
+
* @since 5.7.10
|
147 |
+
*
|
148 |
+
* @param array $field_group The field group array.
|
149 |
+
* @return void
|
150 |
+
*/
|
151 |
+
function acf_add_local_field_group( $field_group ) {
|
152 |
+
|
153 |
+
// Validate field group.
|
154 |
+
$field_group = acf_get_valid_field_group( $field_group );
|
155 |
+
|
156 |
+
// Bail early if field group already exists.
|
157 |
+
if( acf_is_local_field_group($field_group['key']) ) {
|
158 |
+
return;
|
159 |
+
}
|
160 |
+
|
161 |
+
// Extract fields from group.
|
162 |
+
$fields = acf_extract_var( $field_group, 'fields' );
|
163 |
+
|
164 |
+
// Add local reference (may be set to "json").
|
165 |
+
if( empty($field_group['local']) ) {
|
166 |
+
$field_group['local'] = 'php';
|
167 |
+
}
|
168 |
+
|
169 |
+
// Add to store
|
170 |
+
acf_get_local_store( 'groups' )->set( $field_group['key'], $field_group );
|
171 |
+
|
172 |
+
// Add fields
|
173 |
+
if( $fields ) {
|
174 |
+
|
175 |
+
// Add parent reference
|
176 |
+
foreach( $fields as $i => $field ) {
|
177 |
+
$fields[ $i ]['parent'] = $field_group['key'];
|
178 |
+
}
|
179 |
+
|
180 |
+
// Add fields.
|
181 |
+
acf_add_local_fields( $fields );
|
182 |
+
}
|
183 |
+
}
|
184 |
+
|
185 |
+
/**
|
186 |
+
* register_field_group
|
187 |
+
*
|
188 |
+
* See acf_add_local_field_group().
|
189 |
+
*
|
190 |
+
* @date 22/1/19
|
191 |
+
* @since 5.7.10
|
192 |
+
*
|
193 |
+
* @param array $field_group The field group array.
|
194 |
+
* @return void
|
195 |
+
*/
|
196 |
+
function register_field_group( $field_group ) {
|
197 |
+
acf_add_local_field_group( $field_group );
|
198 |
+
}
|
199 |
+
|
200 |
+
/**
|
201 |
+
* acf_remove_local_field_group
|
202 |
+
*
|
203 |
+
* Removes a field group for the given key.
|
204 |
+
*
|
205 |
+
* @date 22/1/19
|
206 |
+
* @since 5.7.10
|
207 |
+
*
|
208 |
+
* @param string $key The field group key.
|
209 |
+
* @return bool
|
210 |
+
*/
|
211 |
+
function acf_remove_local_field_group( $key = '' ) {
|
212 |
+
return acf_get_local_store( 'groups' )->remove( $key );
|
213 |
+
}
|
214 |
+
|
215 |
+
/**
|
216 |
+
* acf_is_local_field_group
|
217 |
+
*
|
218 |
+
* Returns true if a field group exists for the given key.
|
219 |
+
*
|
220 |
+
* @date 22/1/19
|
221 |
+
* @since 5.7.10
|
222 |
+
*
|
223 |
+
* @param string $key The field group key.
|
224 |
+
* @return bool
|
225 |
+
*/
|
226 |
+
function acf_is_local_field_group( $key = '' ) {
|
227 |
+
return acf_get_local_store( 'groups' )->has( $key );
|
228 |
+
}
|
229 |
+
|
230 |
+
/**
|
231 |
+
* acf_is_local_field_group_key
|
232 |
+
*
|
233 |
+
* Returns true if a field group exists for the given key.
|
234 |
+
*
|
235 |
+
* @date 22/1/19
|
236 |
+
* @since 5.7.10
|
237 |
+
*
|
238 |
+
* @param string $key The field group group key.
|
239 |
+
* @return bool
|
240 |
+
*/
|
241 |
+
function acf_is_local_field_group_key( $key = '' ) {
|
242 |
+
return acf_get_local_store( 'groups' )->is( $key );
|
243 |
+
}
|
244 |
+
|
245 |
+
/**
|
246 |
+
* acf_get_local_field_group
|
247 |
+
*
|
248 |
+
* Returns a field group for the given key.
|
249 |
+
*
|
250 |
+
* @date 22/1/19
|
251 |
+
* @since 5.7.10
|
252 |
+
*
|
253 |
+
* @param string $key The field group key.
|
254 |
+
* @return (array|null)
|
255 |
+
*/
|
256 |
+
function acf_get_local_field_group( $key = '' ) {
|
257 |
+
return acf_get_local_store( 'groups' )->get( $key );
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* acf_add_local_fields
|
262 |
+
*
|
263 |
+
* Adds an array of local fields.
|
264 |
+
*
|
265 |
+
* @date 22/1/19
|
266 |
+
* @since 5.7.10
|
267 |
+
*
|
268 |
+
* @param array $fields An array of un prepared fields.
|
269 |
+
* @return array
|
270 |
+
*/
|
271 |
+
function acf_add_local_fields( $fields = array() ) {
|
272 |
+
|
273 |
+
// Prepare for import (allows parent fields to offer up children).
|
274 |
+
$fields = acf_prepare_fields_for_import( $fields );
|
275 |
+
|
276 |
+
// Add each field.
|
277 |
+
foreach( $fields as $field ) {
|
278 |
+
acf_add_local_field( $field, true );
|
279 |
+
}
|
280 |
+
}
|
281 |
+
|
282 |
+
/**
|
283 |
+
* acf_get_local_fields
|
284 |
+
*
|
285 |
+
* Returns all local fields for the given parent.
|
286 |
+
*
|
287 |
+
* @date 22/1/19
|
288 |
+
* @since 5.7.10
|
289 |
+
*
|
290 |
+
* @param string $parent The parent key.
|
291 |
+
* @return array
|
292 |
+
*/
|
293 |
+
function acf_get_local_fields( $parent = '' ) {
|
294 |
+
|
295 |
+
// Return children
|
296 |
+
if( $parent ) {
|
297 |
+
return acf_get_local_store( 'fields' )->query(array(
|
298 |
+
'parent' => $parent
|
299 |
+
));
|
300 |
+
|
301 |
+
// Return all.
|
302 |
+
} else {
|
303 |
+
return acf_get_local_store( 'fields' )->get();
|
304 |
+
}
|
305 |
+
}
|
306 |
+
|
307 |
+
/**
|
308 |
+
* acf_have_local_fields
|
309 |
+
*
|
310 |
+
* Returns true if local fields exist.
|
311 |
+
*
|
312 |
+
* @date 22/1/19
|
313 |
+
* @since 5.7.10
|
314 |
+
*
|
315 |
+
* @param string $parent The parent key.
|
316 |
+
* @return bool
|
317 |
+
*/
|
318 |
+
function acf_have_local_fields( $parent = '' ) {
|
319 |
+
return acf_get_local_fields($parent) ? true : false;
|
320 |
+
}
|
321 |
+
|
322 |
+
/**
|
323 |
+
* acf_count_local_fields
|
324 |
+
*
|
325 |
+
* Returns the number of local fields for the given parent.
|
326 |
+
*
|
327 |
+
* @date 22/1/19
|
328 |
+
* @since 5.7.10
|
329 |
+
*
|
330 |
+
* @param string $parent The parent key.
|
331 |
+
* @return int
|
332 |
+
*/
|
333 |
+
function acf_count_local_fields( $parent = '' ) {
|
334 |
+
return count( acf_get_local_fields($parent) );
|
335 |
+
}
|
336 |
+
|
337 |
+
/**
|
338 |
+
* acf_add_local_field
|
339 |
+
*
|
340 |
+
* Adds a local field.
|
341 |
+
*
|
342 |
+
* @date 22/1/19
|
343 |
+
* @since 5.7.10
|
344 |
+
*
|
345 |
+
* @param array $field The field array.
|
346 |
+
* @param bool $prepared Whether or not the field has already been prepared for import.
|
347 |
+
* @return void
|
348 |
+
*/
|
349 |
+
function acf_add_local_field( $field, $prepared = false ) {
|
350 |
+
|
351 |
+
// Apply default args needed for import.
|
352 |
+
$field = wp_parse_args($field, array(
|
353 |
+
'key' => '',
|
354 |
+
'name' => '',
|
355 |
+
'type' => '',
|
356 |
+
'parent' => ''
|
357 |
+
));
|
358 |
+
|
359 |
+
// Ensure field has a key.
|
360 |
+
if( !$field['key'] ) {
|
361 |
+
$field['key'] = "field_{$field['name']}";
|
362 |
+
}
|
363 |
+
|
364 |
+
// If already prepared via field group function, add to store with alias.
|
365 |
+
if( $prepared ) {
|
366 |
+
acf_get_local_store( 'fields' )
|
367 |
+
->set( $field['key'], $field )
|
368 |
+
->alias( $field['key'], $field['name'] );
|
369 |
+
|
370 |
+
// Otherwise, Add a list of fields allowing them to be correctly prepared.
|
371 |
+
} else {
|
372 |
+
acf_add_local_fields(array( $field ));
|
373 |
+
}
|
374 |
+
}
|
375 |
+
|
376 |
+
/**
|
377 |
+
* acf_remove_local_field
|
378 |
+
*
|
379 |
+
* Removes a field for the given key.
|
380 |
+
*
|
381 |
+
* @date 22/1/19
|
382 |
+
* @since 5.7.10
|
383 |
+
*
|
384 |
+
* @param string $key The field key.
|
385 |
+
* @return bool
|
386 |
+
*/
|
387 |
+
function acf_remove_local_field( $key = '' ) {
|
388 |
+
return acf_get_local_store( 'fields' )->remove( $key );
|
389 |
+
}
|
390 |
+
|
391 |
+
/**
|
392 |
+
* acf_is_local_field
|
393 |
+
*
|
394 |
+
* Returns true if a field exists for the given key or name.
|
395 |
+
*
|
396 |
+
* @date 22/1/19
|
397 |
+
* @since 5.7.10
|
398 |
+
*
|
399 |
+
* @param string $key The field group key.
|
400 |
+
* @return bool
|
401 |
+
*/
|
402 |
+
function acf_is_local_field( $key = '' ) {
|
403 |
+
return acf_get_local_store( 'fields' )->has( $key );
|
404 |
+
}
|
405 |
+
|
406 |
+
/**
|
407 |
+
* acf_is_local_field_key
|
408 |
+
*
|
409 |
+
* Returns true if a field exists for the given key.
|
410 |
+
*
|
411 |
+
* @date 22/1/19
|
412 |
+
* @since 5.7.10
|
413 |
+
*
|
414 |
+
* @param string $key The field group key.
|
415 |
+
* @return bool
|
416 |
+
*/
|
417 |
+
function acf_is_local_field_key( $key = '' ) {
|
418 |
+
return acf_get_local_store( 'fields' )->is( $key );
|
419 |
+
}
|
420 |
+
|
421 |
+
/**
|
422 |
+
* acf_get_local_field
|
423 |
+
*
|
424 |
+
* Returns a field for the given key.
|
425 |
+
*
|
426 |
+
* @date 22/1/19
|
427 |
+
* @since 5.7.10
|
428 |
+
*
|
429 |
+
* @param string $key The field group key.
|
430 |
+
* @return (array|null)
|
431 |
+
*/
|
432 |
+
function acf_get_local_field( $key = '' ) {
|
433 |
+
return acf_get_local_store( 'fields' )->get( $key );
|
434 |
+
}
|
435 |
+
|
436 |
+
/**
|
437 |
+
* _acf_apply_get_local_field_groups
|
438 |
+
*
|
439 |
+
* Appends local field groups to the provided array.
|
440 |
+
*
|
441 |
+
* @date 23/1/19
|
442 |
+
* @since 5.7.10
|
443 |
+
*
|
444 |
+
* @param array $field_groups An array of field groups.
|
445 |
+
* @return array
|
446 |
+
*/
|
447 |
+
function _acf_apply_get_local_field_groups( $groups = array() ) {
|
448 |
+
|
449 |
+
// Get local groups
|
450 |
+
$local = acf_get_local_field_groups();
|
451 |
+
if( $local ) {
|
452 |
+
|
453 |
+
// Generate map of "index" => "key" data.
|
454 |
+
$map = wp_list_pluck($groups, 'key');
|
455 |
+
|
456 |
+
// Loop over groups and update/append local.
|
457 |
+
foreach( $local as $group ) {
|
458 |
+
|
459 |
+
// Get group allowing cache and filters to run.
|
460 |
+
//$group = acf_get_field_group( $group['key'] );
|
461 |
+
|
462 |
+
// Update.
|
463 |
+
$i = array_search($group['key'], $map);
|
464 |
+
if( $i !== false ) {
|
465 |
+
unset($group['ID']);
|
466 |
+
$groups[ $i ] = array_merge($groups[ $i ], $group);
|
467 |
+
|
468 |
+
// Append
|
469 |
+
} else {
|
470 |
+
$groups[] = acf_get_field_group( $group['key'] );
|
471 |
+
}
|
472 |
+
}
|
473 |
+
|
474 |
+
// Sort list via menu_order and title.
|
475 |
+
$groups = wp_list_sort( $groups, array('menu_order' => 'ASC', 'title' => 'ASC') );
|
476 |
+
}
|
477 |
+
|
478 |
+
// Return groups.
|
479 |
+
return $groups;
|
480 |
+
}
|
481 |
+
|
482 |
+
// Hook into filter.
|
483 |
+
add_filter( 'acf/get_field_groups', '_acf_apply_get_local_field_groups', 20, 1 );
|
484 |
+
|
485 |
+
/**
|
486 |
+
* _acf_apply_is_local_field_key
|
487 |
+
*
|
488 |
+
* Returns true if is a local key.
|
489 |
+
*
|
490 |
+
* @date 23/1/19
|
491 |
+
* @since 5.7.10
|
492 |
+
*
|
493 |
+
* @param bool $bool The result.
|
494 |
+
* @param string $id The identifier.
|
495 |
+
* @return bool
|
496 |
+
*/
|
497 |
+
function _acf_apply_is_local_field_key( $bool, $id ) {
|
498 |
+
return acf_is_local_field_key( $id );
|
499 |
+
}
|
500 |
+
|
501 |
+
// Hook into filter.
|
502 |
+
add_filter( 'acf/is_field_key', '_acf_apply_is_local_field_key', 20, 2 );
|
503 |
+
|
504 |
+
/**
|
505 |
+
* _acf_apply_is_local_field_group_key
|
506 |
+
*
|
507 |
+
* Returns true if is a local key.
|
508 |
+
*
|
509 |
+
* @date 23/1/19
|
510 |
+
* @since 5.7.10
|
511 |
+
*
|
512 |
+
* @param bool $bool The result.
|
513 |
+
* @param string $id The identifier.
|
514 |
+
* @return bool
|
515 |
+
*/
|
516 |
+
function _acf_apply_is_local_field_group_key( $bool, $id ) {
|
517 |
+
return acf_is_local_field_group_key( $id );
|
518 |
+
}
|
519 |
+
|
520 |
+
// Hook into filter.
|
521 |
+
add_filter( 'acf/is_field_group_key', '_acf_apply_is_local_field_group_key', 20, 2 );
|
522 |
+
|
523 |
+
/**
|
524 |
+
* _acf_do_prepare_local_fields
|
525 |
+
*
|
526 |
+
* Local fields that are added too early will not be correctly prepared by the field type class.
|
527 |
+
*
|
528 |
+
* @date 23/1/19
|
529 |
+
* @since 5.7.10
|
530 |
+
*
|
531 |
+
* @param void
|
532 |
+
* @return void
|
533 |
+
*/
|
534 |
+
function _acf_do_prepare_local_fields() {
|
535 |
+
|
536 |
+
// Get and re-add fields (will prepare them).
|
537 |
+
acf_add_local_fields( acf_get_local_fields() );
|
538 |
+
}
|
539 |
+
|
540 |
+
// Hook into action.
|
541 |
+
add_action( 'acf/include_fields', '_acf_do_prepare_local_fields', 0, 5 );
|
542 |
+
|
543 |
+
?>
|
includes/local.php
DELETED
@@ -1,1045 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
-
|
5 |
-
if( ! class_exists('acf_local') ) :
|
6 |
-
|
7 |
-
class acf_local {
|
8 |
-
|
9 |
-
// vars
|
10 |
-
var $temp_groups = array(),
|
11 |
-
$temp_fields = array(),
|
12 |
-
$groups = array(),
|
13 |
-
$fields = array(),
|
14 |
-
$reference = array(),
|
15 |
-
$parents = array();
|
16 |
-
|
17 |
-
|
18 |
-
/*
|
19 |
-
* __construct
|
20 |
-
*
|
21 |
-
* This function will setup the class functionality
|
22 |
-
*
|
23 |
-
* @type function
|
24 |
-
* @date 5/03/2014
|
25 |
-
* @since 5.4.0
|
26 |
-
*
|
27 |
-
* @param n/a
|
28 |
-
* @return n/a
|
29 |
-
*/
|
30 |
-
|
31 |
-
function __construct() {
|
32 |
-
|
33 |
-
// register filter
|
34 |
-
acf_enable_filter('local');
|
35 |
-
|
36 |
-
|
37 |
-
// actions
|
38 |
-
add_action('acf/include_fields', array($this, 'acf_include_fields'), 5, 0);
|
39 |
-
|
40 |
-
|
41 |
-
// filters
|
42 |
-
add_filter('acf/get_field_groups', array($this, 'acf_get_field_groups'), 20, 1);
|
43 |
-
|
44 |
-
}
|
45 |
-
|
46 |
-
|
47 |
-
/*
|
48 |
-
* get_key
|
49 |
-
*
|
50 |
-
* This function will check for references and modify the key
|
51 |
-
*
|
52 |
-
* @type function
|
53 |
-
* @date 30/06/2016
|
54 |
-
* @since 5.4.0
|
55 |
-
*
|
56 |
-
* @param $key (string)
|
57 |
-
* @return $key
|
58 |
-
*/
|
59 |
-
|
60 |
-
function get_key( $key = '' ) {
|
61 |
-
|
62 |
-
// check for reference
|
63 |
-
if( isset($this->reference[ $key ]) ) {
|
64 |
-
|
65 |
-
$key = $this->reference[ $key ];
|
66 |
-
|
67 |
-
}
|
68 |
-
|
69 |
-
|
70 |
-
// return
|
71 |
-
return $key;
|
72 |
-
|
73 |
-
}
|
74 |
-
|
75 |
-
|
76 |
-
/*
|
77 |
-
* reset
|
78 |
-
*
|
79 |
-
* This function will remove (reset) all field group and fields
|
80 |
-
*
|
81 |
-
* @type function
|
82 |
-
* @date 2/06/2016
|
83 |
-
* @since 5.3.8
|
84 |
-
*
|
85 |
-
* @param n/a
|
86 |
-
* @return n/a
|
87 |
-
*/
|
88 |
-
|
89 |
-
function reset() {
|
90 |
-
|
91 |
-
// vars
|
92 |
-
$this->temp_groups = array();
|
93 |
-
$this->temp_fields = array();
|
94 |
-
$this->groups = array();
|
95 |
-
$this->fields = array();
|
96 |
-
$this->reference = array();
|
97 |
-
$this->parents = array();
|
98 |
-
|
99 |
-
}
|
100 |
-
|
101 |
-
|
102 |
-
/*
|
103 |
-
* is_enabled
|
104 |
-
*
|
105 |
-
* This function will return true if acf_local functionality is enabled
|
106 |
-
*
|
107 |
-
* @type function
|
108 |
-
* @date 14/07/2016
|
109 |
-
* @since 5.4.0
|
110 |
-
*
|
111 |
-
* @param n/a
|
112 |
-
* @return n/a
|
113 |
-
*/
|
114 |
-
|
115 |
-
function is_enabled() {
|
116 |
-
|
117 |
-
// bail early if no local allowed
|
118 |
-
if( !acf_get_setting('local') ) return false;
|
119 |
-
|
120 |
-
|
121 |
-
// return
|
122 |
-
return acf_is_filter_enabled('local');
|
123 |
-
|
124 |
-
}
|
125 |
-
|
126 |
-
|
127 |
-
/*
|
128 |
-
* is_ready
|
129 |
-
*
|
130 |
-
* This function will return true when ACF has included all field types and is ready to import
|
131 |
-
* Importing fields too early will cause issues where sub fields have not been extracted correctly
|
132 |
-
*
|
133 |
-
* @type function
|
134 |
-
* @date 13/3/17
|
135 |
-
* @since 5.5.10
|
136 |
-
*
|
137 |
-
* @param n/a
|
138 |
-
* @return (boolean)
|
139 |
-
*/
|
140 |
-
|
141 |
-
function is_ready() {
|
142 |
-
|
143 |
-
return did_action('acf/include_fields');
|
144 |
-
|
145 |
-
}
|
146 |
-
|
147 |
-
|
148 |
-
/*
|
149 |
-
* acf_include_fields
|
150 |
-
*
|
151 |
-
* This function include any $temp data
|
152 |
-
*
|
153 |
-
* @type function
|
154 |
-
* @date 8/2/17
|
155 |
-
* @since 5.5.6
|
156 |
-
*
|
157 |
-
* @param n/a
|
158 |
-
* @return n/a
|
159 |
-
*/
|
160 |
-
|
161 |
-
function acf_include_fields() {
|
162 |
-
|
163 |
-
// field groups
|
164 |
-
if( !empty($this->temp_groups) ) {
|
165 |
-
|
166 |
-
// loop
|
167 |
-
foreach( $this->temp_groups as $i => $temp ) {
|
168 |
-
|
169 |
-
// add
|
170 |
-
$this->add_field_group($temp);
|
171 |
-
|
172 |
-
|
173 |
-
// unset
|
174 |
-
unset($this->temp_groups[ $i ]);
|
175 |
-
|
176 |
-
}
|
177 |
-
|
178 |
-
}
|
179 |
-
|
180 |
-
|
181 |
-
// fields
|
182 |
-
if( !empty($this->temp_fields) ) {
|
183 |
-
|
184 |
-
// prepare
|
185 |
-
$this->temp_fields = acf_prepare_fields_for_import( $this->temp_fields );
|
186 |
-
|
187 |
-
|
188 |
-
// loop
|
189 |
-
foreach( $this->temp_fields as $i => $temp ) {
|
190 |
-
|
191 |
-
// add
|
192 |
-
$this->add_field($temp);
|
193 |
-
|
194 |
-
|
195 |
-
// unset
|
196 |
-
unset($this->temp_fields[ $i ]);
|
197 |
-
|
198 |
-
}
|
199 |
-
|
200 |
-
}
|
201 |
-
|
202 |
-
}
|
203 |
-
|
204 |
-
|
205 |
-
/*
|
206 |
-
* add_parent_reference
|
207 |
-
*
|
208 |
-
* This function will add a child reference for a given parent
|
209 |
-
*
|
210 |
-
* @type function
|
211 |
-
* @date 14/07/2016
|
212 |
-
* @since 5.4.0
|
213 |
-
*
|
214 |
-
* @param $parent_key (string)
|
215 |
-
* @param $field_key (string)
|
216 |
-
* @return (mixed)
|
217 |
-
*/
|
218 |
-
|
219 |
-
function add_parent_reference( $parent_key = '', $field_key = '' ) {
|
220 |
-
|
221 |
-
// create array if doesn't exist
|
222 |
-
if( empty($this->parents[ $parent_key ]) ) {
|
223 |
-
|
224 |
-
$this->parents[ $parent_key ] = array();
|
225 |
-
|
226 |
-
}
|
227 |
-
|
228 |
-
|
229 |
-
// append
|
230 |
-
$this->parents[ $parent_key ][ $field_key ] = $field_key;
|
231 |
-
|
232 |
-
}
|
233 |
-
|
234 |
-
|
235 |
-
/*
|
236 |
-
* remove_parent_reference
|
237 |
-
*
|
238 |
-
* This function will remove a child reference for a given parent
|
239 |
-
*
|
240 |
-
* @type function
|
241 |
-
* @date 14/07/2016
|
242 |
-
* @since 5.4.0
|
243 |
-
*
|
244 |
-
* @param $parent_key (string)
|
245 |
-
* @param $field_key (string)
|
246 |
-
* @return (mixed)
|
247 |
-
*/
|
248 |
-
|
249 |
-
function remove_parent_reference( $parent_key = '', $field_key = '' ) {
|
250 |
-
|
251 |
-
// bail early if no parent
|
252 |
-
if( empty($this->parents[ $parent_key ]) ) return false;
|
253 |
-
|
254 |
-
|
255 |
-
// remove
|
256 |
-
unset( $this->parents[ $parent_key ][ $field_key ] );
|
257 |
-
|
258 |
-
}
|
259 |
-
|
260 |
-
|
261 |
-
/*
|
262 |
-
* maybe_add_field
|
263 |
-
*
|
264 |
-
* This function will either import or add to temp
|
265 |
-
*
|
266 |
-
* @type function
|
267 |
-
* @date 9/2/17
|
268 |
-
* @since 5.5.6
|
269 |
-
*
|
270 |
-
* @param $field (array)
|
271 |
-
* @return n/a
|
272 |
-
*/
|
273 |
-
|
274 |
-
function maybe_add_field( $field ) {
|
275 |
-
|
276 |
-
// add
|
277 |
-
if( $this->is_ready() ) {
|
278 |
-
|
279 |
-
$this->add_field( $field );
|
280 |
-
|
281 |
-
// add to temp
|
282 |
-
} else {
|
283 |
-
|
284 |
-
$this->temp_fields[] = $field;
|
285 |
-
|
286 |
-
}
|
287 |
-
|
288 |
-
}
|
289 |
-
|
290 |
-
|
291 |
-
/*
|
292 |
-
* add_field
|
293 |
-
*
|
294 |
-
* This function will add a $field
|
295 |
-
*
|
296 |
-
* @type function
|
297 |
-
* @date 10/03/2014
|
298 |
-
* @since 5.0.0
|
299 |
-
*
|
300 |
-
* @param $field (array)
|
301 |
-
* @return n/a
|
302 |
-
*/
|
303 |
-
|
304 |
-
function add_field( $field ) {
|
305 |
-
|
306 |
-
// defaults
|
307 |
-
$field = wp_parse_args($field, array(
|
308 |
-
'key' => '',
|
309 |
-
'name' => '',
|
310 |
-
'parent' => 0
|
311 |
-
));
|
312 |
-
|
313 |
-
|
314 |
-
// add parent reference
|
315 |
-
$this->add_parent_reference( $field['parent'], $field['key'] );
|
316 |
-
|
317 |
-
|
318 |
-
// add in menu order
|
319 |
-
$field['menu_order'] = $this->count_fields( $field['parent'] ) - 1;
|
320 |
-
|
321 |
-
|
322 |
-
// add field
|
323 |
-
$this->fields[ $field['key'] ] = $field;
|
324 |
-
|
325 |
-
|
326 |
-
// add reference for field name
|
327 |
-
$this->reference[ $field['name'] ] = $field['key'];
|
328 |
-
|
329 |
-
}
|
330 |
-
|
331 |
-
|
332 |
-
/*
|
333 |
-
* is_field
|
334 |
-
*
|
335 |
-
* This function will return true if a field exists for a given key
|
336 |
-
*
|
337 |
-
* @type function
|
338 |
-
* @date 10/03/2014
|
339 |
-
* @since 5.0.0
|
340 |
-
*
|
341 |
-
* @param $key (string)
|
342 |
-
* @return (bolean)
|
343 |
-
*/
|
344 |
-
|
345 |
-
function is_field( $key = '' ) {
|
346 |
-
|
347 |
-
// vars
|
348 |
-
$key = $this->get_key($key);
|
349 |
-
|
350 |
-
|
351 |
-
// bail early if not enabled
|
352 |
-
if( !$this->is_enabled() ) return false;
|
353 |
-
|
354 |
-
|
355 |
-
// return
|
356 |
-
return isset( $this->fields[ $key ] );
|
357 |
-
|
358 |
-
}
|
359 |
-
|
360 |
-
function is_field_key( $key ) {
|
361 |
-
|
362 |
-
// bail early if not enabled
|
363 |
-
if( !$this->is_enabled() ) return false;
|
364 |
-
|
365 |
-
|
366 |
-
// return
|
367 |
-
return isset( $this->fields[ $key ] );
|
368 |
-
|
369 |
-
}
|
370 |
-
|
371 |
-
function is_field_name( $name ) {
|
372 |
-
|
373 |
-
// bail early if not enabled
|
374 |
-
if( !$this->is_enabled() ) return false;
|
375 |
-
|
376 |
-
|
377 |
-
// return
|
378 |
-
return isset( $this->reference[ $name ] );
|
379 |
-
|
380 |
-
}
|
381 |
-
|
382 |
-
|
383 |
-
/*
|
384 |
-
* get_field
|
385 |
-
*
|
386 |
-
* This function will return a local field for a given key
|
387 |
-
*
|
388 |
-
* @type function
|
389 |
-
* @date 10/03/2014
|
390 |
-
* @since 5.0.0
|
391 |
-
*
|
392 |
-
* @param $key (string)
|
393 |
-
* @return (bolean)
|
394 |
-
*/
|
395 |
-
|
396 |
-
function get_field( $key = '' ) {
|
397 |
-
|
398 |
-
// vars
|
399 |
-
$key = $this->get_key($key);
|
400 |
-
|
401 |
-
|
402 |
-
// bail early if no group
|
403 |
-
if( !$this->is_field($key) ) return false;
|
404 |
-
|
405 |
-
|
406 |
-
// return
|
407 |
-
return $this->fields[ $key ];
|
408 |
-
|
409 |
-
}
|
410 |
-
|
411 |
-
|
412 |
-
/*
|
413 |
-
* remove_field
|
414 |
-
*
|
415 |
-
* This function will remove a $field
|
416 |
-
*
|
417 |
-
* @type function
|
418 |
-
* @date 10/03/2014
|
419 |
-
* @since 5.0.0
|
420 |
-
*
|
421 |
-
* @param $key (string)
|
422 |
-
* @return n/a
|
423 |
-
*/
|
424 |
-
|
425 |
-
function remove_field( $key = '' ) {
|
426 |
-
|
427 |
-
// get field
|
428 |
-
$field = $this->get_field( $key );
|
429 |
-
|
430 |
-
|
431 |
-
// bail early if no field
|
432 |
-
if( !$field ) return false;
|
433 |
-
|
434 |
-
|
435 |
-
// remove parent reference
|
436 |
-
$this->remove_parent_reference( $field['parent'], $field['key'] );
|
437 |
-
|
438 |
-
|
439 |
-
// remove field
|
440 |
-
unset( $this->fields[ $field['key'] ] );
|
441 |
-
|
442 |
-
|
443 |
-
// remove reference for field name
|
444 |
-
unset( $this->reference[ $field['name'] ] );
|
445 |
-
|
446 |
-
|
447 |
-
// remove children
|
448 |
-
if( $this->have_fields($key) ) {
|
449 |
-
|
450 |
-
$this->remove_fields( $key );
|
451 |
-
|
452 |
-
}
|
453 |
-
|
454 |
-
}
|
455 |
-
|
456 |
-
|
457 |
-
/*
|
458 |
-
* maybe_add_field_group
|
459 |
-
*
|
460 |
-
* This function will either import or add to temp
|
461 |
-
*
|
462 |
-
* @type function
|
463 |
-
* @date 9/2/17
|
464 |
-
* @since 5.5.6
|
465 |
-
*
|
466 |
-
* @param $field_group (array)
|
467 |
-
* @return n/a
|
468 |
-
*/
|
469 |
-
|
470 |
-
function maybe_add_field_group( $field_group ) {
|
471 |
-
|
472 |
-
// add
|
473 |
-
if( $this->is_ready() ) {
|
474 |
-
|
475 |
-
$this->add_field_group( $field_group );
|
476 |
-
|
477 |
-
// add to temp
|
478 |
-
} else {
|
479 |
-
|
480 |
-
$this->temp_groups[] = $field_group;
|
481 |
-
|
482 |
-
}
|
483 |
-
|
484 |
-
}
|
485 |
-
|
486 |
-
|
487 |
-
/*
|
488 |
-
* add_field_group
|
489 |
-
*
|
490 |
-
* This function will add a $field group to the local placeholder
|
491 |
-
*
|
492 |
-
* @type function
|
493 |
-
* @date 10/03/2014
|
494 |
-
* @since 5.0.0
|
495 |
-
*
|
496 |
-
* @param $field_group (array)
|
497 |
-
* @return n/a
|
498 |
-
*/
|
499 |
-
|
500 |
-
function add_field_group( $field_group ) {
|
501 |
-
|
502 |
-
// vars
|
503 |
-
$fields = acf_extract_var($field_group, 'fields');
|
504 |
-
|
505 |
-
|
506 |
-
// validate
|
507 |
-
$field_group = acf_get_valid_field_group($field_group);
|
508 |
-
|
509 |
-
|
510 |
-
// don't allow overrides
|
511 |
-
if( $this->is_field_group($field_group['key']) ) return;
|
512 |
-
|
513 |
-
|
514 |
-
// add local (may be set to json)
|
515 |
-
if( empty($field_group['local']) ) $field_group['local'] = 'php';
|
516 |
-
|
517 |
-
|
518 |
-
// add field group
|
519 |
-
$this->groups[ $field_group['key'] ] = $field_group;
|
520 |
-
|
521 |
-
|
522 |
-
// bail ealry if no fields
|
523 |
-
if( !$fields ) return;
|
524 |
-
|
525 |
-
|
526 |
-
// format fields
|
527 |
-
$fields = acf_prepare_fields_for_import( $fields );
|
528 |
-
|
529 |
-
|
530 |
-
// add fields
|
531 |
-
foreach( $fields as $field ) {
|
532 |
-
|
533 |
-
// add parent
|
534 |
-
if( empty($field['parent']) ) $field['parent'] = $field_group['key'];
|
535 |
-
|
536 |
-
|
537 |
-
// add field
|
538 |
-
$this->add_field( $field );
|
539 |
-
|
540 |
-
}
|
541 |
-
|
542 |
-
}
|
543 |
-
|
544 |
-
|
545 |
-
/*
|
546 |
-
* is_field_group
|
547 |
-
*
|
548 |
-
* This function will return true if a field group exists for a given key
|
549 |
-
*
|
550 |
-
* @type function
|
551 |
-
* @date 10/03/2014
|
552 |
-
* @since 5.0.0
|
553 |
-
*
|
554 |
-
* @param $key (string)
|
555 |
-
* @return (bolean)
|
556 |
-
*/
|
557 |
-
|
558 |
-
function is_field_group( $key = '' ) {
|
559 |
-
|
560 |
-
// bail early if not enabled
|
561 |
-
if( !$this->is_enabled() ) return false;
|
562 |
-
|
563 |
-
|
564 |
-
// return
|
565 |
-
return isset( $this->groups[ $key ] );
|
566 |
-
|
567 |
-
}
|
568 |
-
|
569 |
-
|
570 |
-
/*
|
571 |
-
* get_field_group
|
572 |
-
*
|
573 |
-
* This function will return a local field group for a given key
|
574 |
-
*
|
575 |
-
* @type function
|
576 |
-
* @date 10/03/2014
|
577 |
-
* @since 5.0.0
|
578 |
-
*
|
579 |
-
* @param $key (string)
|
580 |
-
* @return (bolean)
|
581 |
-
*/
|
582 |
-
|
583 |
-
function get_field_group( $key = '' ) {
|
584 |
-
|
585 |
-
// bail early if no group
|
586 |
-
if( !$this->is_field_group($key) ) return false;
|
587 |
-
|
588 |
-
|
589 |
-
// return
|
590 |
-
return $this->groups[ $key ];
|
591 |
-
|
592 |
-
}
|
593 |
-
|
594 |
-
|
595 |
-
/*
|
596 |
-
* count_field_groups
|
597 |
-
*
|
598 |
-
* This function will return the number of field groups
|
599 |
-
*
|
600 |
-
* @type function
|
601 |
-
* @date 10/03/2014
|
602 |
-
* @since 5.0.0
|
603 |
-
*
|
604 |
-
* @param $key (string)
|
605 |
-
* @return (bolean)
|
606 |
-
*/
|
607 |
-
|
608 |
-
|
609 |
-
function count_field_groups() {
|
610 |
-
|
611 |
-
// return
|
612 |
-
return count( $this->groups );
|
613 |
-
|
614 |
-
}
|
615 |
-
|
616 |
-
|
617 |
-
/*
|
618 |
-
* have_field_groups
|
619 |
-
*
|
620 |
-
* This function will true if local field groups exist
|
621 |
-
*
|
622 |
-
* @type function
|
623 |
-
* @date 10/03/2014
|
624 |
-
* @since 5.0.0
|
625 |
-
*
|
626 |
-
* @param n/a
|
627 |
-
* @return (int)
|
628 |
-
*/
|
629 |
-
|
630 |
-
function have_field_groups() {
|
631 |
-
|
632 |
-
// bail early if not enabled
|
633 |
-
if( !$this->is_enabled() ) return 0;
|
634 |
-
|
635 |
-
|
636 |
-
// return
|
637 |
-
return $this->count_field_groups();
|
638 |
-
|
639 |
-
}
|
640 |
-
|
641 |
-
|
642 |
-
/*
|
643 |
-
* get_field_groups
|
644 |
-
*
|
645 |
-
* This function will return an array of field groups
|
646 |
-
*
|
647 |
-
* @type function
|
648 |
-
* @date 10/03/2014
|
649 |
-
* @since 5.0.0
|
650 |
-
*
|
651 |
-
* @param $key (string)
|
652 |
-
* @return (bolean)
|
653 |
-
*/
|
654 |
-
|
655 |
-
function get_field_groups() {
|
656 |
-
|
657 |
-
// bail early if no parent
|
658 |
-
if( !$this->have_field_groups() ) return false;
|
659 |
-
|
660 |
-
|
661 |
-
// vars
|
662 |
-
$field_groups = array();
|
663 |
-
|
664 |
-
|
665 |
-
// append
|
666 |
-
foreach( array_keys($this->groups) as $field_group_key ) {
|
667 |
-
|
668 |
-
$field_groups[] = acf_get_field_group( $field_group_key );
|
669 |
-
|
670 |
-
}
|
671 |
-
|
672 |
-
|
673 |
-
// return
|
674 |
-
return $field_groups;
|
675 |
-
|
676 |
-
}
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
/*
|
681 |
-
* count_fields
|
682 |
-
*
|
683 |
-
* This function will return the number of fields for a given parent
|
684 |
-
*
|
685 |
-
* @type function
|
686 |
-
* @date 10/03/2014
|
687 |
-
* @since 5.0.0
|
688 |
-
*
|
689 |
-
* @param $key (string)
|
690 |
-
* @return (bolean)
|
691 |
-
*/
|
692 |
-
|
693 |
-
|
694 |
-
function count_fields( $parent_key = '' ) {
|
695 |
-
|
696 |
-
// check
|
697 |
-
if( isset($this->parents[ $parent_key ]) ) {
|
698 |
-
|
699 |
-
return count($this->parents[ $parent_key ]);
|
700 |
-
|
701 |
-
}
|
702 |
-
|
703 |
-
|
704 |
-
// return
|
705 |
-
return 0;
|
706 |
-
|
707 |
-
}
|
708 |
-
|
709 |
-
|
710 |
-
/*
|
711 |
-
* have_fields
|
712 |
-
*
|
713 |
-
* This function will true if local fields exist
|
714 |
-
*
|
715 |
-
* @type function
|
716 |
-
* @date 10/03/2014
|
717 |
-
* @since 5.0.0
|
718 |
-
*
|
719 |
-
* @param n/a
|
720 |
-
* @return (int)
|
721 |
-
*/
|
722 |
-
|
723 |
-
function have_fields( $parent_key = '' ) {
|
724 |
-
|
725 |
-
// bail early if not enabled
|
726 |
-
if( !$this->is_enabled() ) return 0;
|
727 |
-
|
728 |
-
|
729 |
-
// return
|
730 |
-
return $this->count_fields( $parent_key );
|
731 |
-
|
732 |
-
}
|
733 |
-
|
734 |
-
|
735 |
-
/*
|
736 |
-
* get_fields
|
737 |
-
*
|
738 |
-
* This function will return an array of fields for a given 'parent' key (field group key or field key)
|
739 |
-
*
|
740 |
-
* @type function
|
741 |
-
* @date 10/03/2014
|
742 |
-
* @since 5.0.0
|
743 |
-
*
|
744 |
-
* @param $key (string)
|
745 |
-
* @return (bolean)
|
746 |
-
*/
|
747 |
-
|
748 |
-
function get_fields( $parent_key = '' ) {
|
749 |
-
|
750 |
-
// bail early if no parent
|
751 |
-
if( !$this->have_fields($parent_key) ) return false;
|
752 |
-
|
753 |
-
|
754 |
-
// vars
|
755 |
-
$fields = array();
|
756 |
-
|
757 |
-
|
758 |
-
// append
|
759 |
-
foreach( $this->parents[ $parent_key ] as $field_key ) {
|
760 |
-
|
761 |
-
$fields[] = acf_get_field( $field_key );
|
762 |
-
|
763 |
-
}
|
764 |
-
|
765 |
-
|
766 |
-
// return
|
767 |
-
return $fields;
|
768 |
-
|
769 |
-
}
|
770 |
-
|
771 |
-
|
772 |
-
/*
|
773 |
-
* remove_fields
|
774 |
-
*
|
775 |
-
* This function will remove the field reference for a field group
|
776 |
-
*
|
777 |
-
* @type function
|
778 |
-
* @date 10/03/2014
|
779 |
-
* @since 5.0.0
|
780 |
-
*
|
781 |
-
* @param $key (string)
|
782 |
-
* @return (bolean)
|
783 |
-
*/
|
784 |
-
|
785 |
-
function remove_fields( $parent_key = '' ) {
|
786 |
-
|
787 |
-
// bail early if no parent
|
788 |
-
if( !$this->have_fields($parent_key) ) return false;
|
789 |
-
|
790 |
-
|
791 |
-
// loop
|
792 |
-
foreach( $this->parents[ $parent_key ] as $field_key ) {
|
793 |
-
|
794 |
-
$this->remove_field( $field_key );
|
795 |
-
|
796 |
-
}
|
797 |
-
|
798 |
-
|
799 |
-
// return
|
800 |
-
return true;
|
801 |
-
}
|
802 |
-
|
803 |
-
|
804 |
-
/*
|
805 |
-
* acf_get_field_groups
|
806 |
-
*
|
807 |
-
* This function will override and add field groups to the `acf_get_field_groups()` results
|
808 |
-
*
|
809 |
-
* @type filter (acf/get_field_groups)
|
810 |
-
* @date 5/12/2013
|
811 |
-
* @since 5.0.0
|
812 |
-
*
|
813 |
-
* @param $field_groups (array)
|
814 |
-
* @return $field_groups
|
815 |
-
*/
|
816 |
-
|
817 |
-
function acf_get_field_groups( $field_groups ) {
|
818 |
-
|
819 |
-
// bail early if no local field groups
|
820 |
-
if( !$this->have_field_groups() ) return $field_groups;
|
821 |
-
|
822 |
-
|
823 |
-
// vars
|
824 |
-
$ignore = array();
|
825 |
-
$added = false;
|
826 |
-
|
827 |
-
|
828 |
-
// populate ignore list
|
829 |
-
if( !empty($field_groups) ) {
|
830 |
-
|
831 |
-
foreach( $field_groups as $k => $group ) {
|
832 |
-
|
833 |
-
$ignore[] = $group['key'];
|
834 |
-
|
835 |
-
}
|
836 |
-
|
837 |
-
}
|
838 |
-
|
839 |
-
|
840 |
-
// append field groups
|
841 |
-
$groups = $this->get_field_groups();
|
842 |
-
|
843 |
-
foreach( $groups as $group ) {
|
844 |
-
|
845 |
-
// is ignore
|
846 |
-
if( in_array($group['key'], $ignore) ) continue;
|
847 |
-
|
848 |
-
|
849 |
-
// append
|
850 |
-
$field_groups[] = $group;
|
851 |
-
$added = true;
|
852 |
-
|
853 |
-
}
|
854 |
-
|
855 |
-
|
856 |
-
// order field groups based on menu_order, title
|
857 |
-
if( $added ) {
|
858 |
-
|
859 |
-
$menu_order = array();
|
860 |
-
$title = array();
|
861 |
-
|
862 |
-
foreach( $field_groups as $key => $row ) {
|
863 |
-
|
864 |
-
$menu_order[ $key ] = $row['menu_order'];
|
865 |
-
$title[ $key ] = $row['title'];
|
866 |
-
}
|
867 |
-
|
868 |
-
|
869 |
-
// sort the array with menu_order ascending
|
870 |
-
array_multisort( $menu_order, SORT_ASC, $title, SORT_ASC, $field_groups );
|
871 |
-
|
872 |
-
}
|
873 |
-
|
874 |
-
|
875 |
-
// return
|
876 |
-
return $field_groups;
|
877 |
-
|
878 |
-
}
|
879 |
-
|
880 |
-
}
|
881 |
-
|
882 |
-
|
883 |
-
// initialize
|
884 |
-
acf()->local = new acf_local();
|
885 |
-
|
886 |
-
endif; // class_exists check
|
887 |
-
|
888 |
-
|
889 |
-
/*
|
890 |
-
* Helpers
|
891 |
-
*
|
892 |
-
* alias of acf()->local->functions
|
893 |
-
*
|
894 |
-
* @type function
|
895 |
-
* @date 11/06/2014
|
896 |
-
* @since 5.0.0
|
897 |
-
*
|
898 |
-
* @param n/a
|
899 |
-
* @return n/a
|
900 |
-
*/
|
901 |
-
|
902 |
-
function acf_local() {
|
903 |
-
|
904 |
-
return acf()->local;
|
905 |
-
|
906 |
-
}
|
907 |
-
|
908 |
-
function acf_disable_local() {
|
909 |
-
|
910 |
-
acf_disable_filter('local');
|
911 |
-
|
912 |
-
}
|
913 |
-
|
914 |
-
function acf_enable_local() {
|
915 |
-
|
916 |
-
acf_enable_filter('local');
|
917 |
-
|
918 |
-
}
|
919 |
-
|
920 |
-
function acf_reset_local() {
|
921 |
-
|
922 |
-
return acf_local()->reset();
|
923 |
-
|
924 |
-
}
|
925 |
-
|
926 |
-
|
927 |
-
// field group
|
928 |
-
function acf_add_local_field_group( $field_group ) {
|
929 |
-
|
930 |
-
return acf_local()->maybe_add_field_group( $field_group );
|
931 |
-
|
932 |
-
}
|
933 |
-
|
934 |
-
function acf_remove_local_field_group( $key = '' ) {
|
935 |
-
|
936 |
-
return false;
|
937 |
-
|
938 |
-
}
|
939 |
-
|
940 |
-
function acf_is_local_field_group( $key = '' ) {
|
941 |
-
|
942 |
-
return acf_local()->is_field_group( $key );
|
943 |
-
|
944 |
-
}
|
945 |
-
|
946 |
-
function acf_get_local_field_group( $key = '' ) {
|
947 |
-
|
948 |
-
return acf_local()->get_field_group( $key );
|
949 |
-
|
950 |
-
}
|
951 |
-
|
952 |
-
|
953 |
-
// field groups
|
954 |
-
function acf_count_local_field_groups() {
|
955 |
-
|
956 |
-
return acf_local()->count_field_groups();
|
957 |
-
|
958 |
-
}
|
959 |
-
|
960 |
-
function acf_have_local_field_groups() {
|
961 |
-
|
962 |
-
return acf_local()->have_field_groups();
|
963 |
-
|
964 |
-
}
|
965 |
-
|
966 |
-
function acf_get_local_field_groups() {
|
967 |
-
|
968 |
-
return acf_local()->get_field_groups();
|
969 |
-
|
970 |
-
}
|
971 |
-
|
972 |
-
|
973 |
-
// field
|
974 |
-
function acf_add_local_field( $field ) {
|
975 |
-
|
976 |
-
return acf_local()->maybe_add_field( $field );
|
977 |
-
|
978 |
-
}
|
979 |
-
|
980 |
-
function acf_remove_local_field( $key = '' ) {
|
981 |
-
|
982 |
-
return acf_local()->remove_field( $key );
|
983 |
-
|
984 |
-
}
|
985 |
-
|
986 |
-
function acf_is_local_field( $key = '' ) {
|
987 |
-
|
988 |
-
return acf_local()->is_field( $key );
|
989 |
-
|
990 |
-
}
|
991 |
-
|
992 |
-
function acf_is_local_field_key( $key = '' ) {
|
993 |
-
|
994 |
-
return acf_local()->is_field_key( $key );
|
995 |
-
|
996 |
-
}
|
997 |
-
|
998 |
-
function acf_is_local_field_name( $name = '' ) {
|
999 |
-
|
1000 |
-
return acf_local()->is_field_name( $name );
|
1001 |
-
|
1002 |
-
}
|
1003 |
-
|
1004 |
-
function acf_get_local_field( $key = '' ) {
|
1005 |
-
|
1006 |
-
return acf_local()->get_field( $key );
|
1007 |
-
|
1008 |
-
}
|
1009 |
-
|
1010 |
-
|
1011 |
-
// fields
|
1012 |
-
function acf_count_local_fields( $key = '' ) {
|
1013 |
-
|
1014 |
-
return acf_local()->count_fields( $key );
|
1015 |
-
|
1016 |
-
}
|
1017 |
-
|
1018 |
-
function acf_have_local_fields( $key = '' ) {
|
1019 |
-
|
1020 |
-
return acf_local()->have_fields( $key );
|
1021 |
-
|
1022 |
-
}
|
1023 |
-
|
1024 |
-
function acf_get_local_fields( $key = '' ) {
|
1025 |
-
|
1026 |
-
return acf_local()->get_fields( $key );
|
1027 |
-
|
1028 |
-
}
|
1029 |
-
|
1030 |
-
function acf_remove_local_fields( $key = '' ) {
|
1031 |
-
|
1032 |
-
return acf_local()->remove_fields( $key );
|
1033 |
-
|
1034 |
-
}
|
1035 |
-
|
1036 |
-
|
1037 |
-
// deprecated
|
1038 |
-
function register_field_group( $field_group ) {
|
1039 |
-
|
1040 |
-
acf_add_local_field_group( $field_group );
|
1041 |
-
|
1042 |
-
}
|
1043 |
-
|
1044 |
-
|
1045 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/locations.php
CHANGED
@@ -335,7 +335,7 @@ function acf_match_location_rule( $rule, $screen ) {
|
|
335 |
* @return (array)
|
336 |
*/
|
337 |
|
338 |
-
function acf_get_location_screen( $screen, $field_group ) {
|
339 |
|
340 |
// vars
|
341 |
$screen = wp_parse_args($screen, array(
|
335 |
* @return (array)
|
336 |
*/
|
337 |
|
338 |
+
function acf_get_location_screen( $screen = array(), $field_group = false ) {
|
339 |
|
340 |
// vars
|
341 |
$screen = wp_parse_args($screen, array(
|
includes/locations/class-acf-location-page-template.php
CHANGED
@@ -46,35 +46,24 @@ class acf_location_page_template extends acf_location {
|
|
46 |
|
47 |
function rule_match( $result, $rule, $screen ) {
|
48 |
|
49 |
-
//
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
if( !$post_id ) return false;
|
59 |
-
|
60 |
-
$post_type = get_post_type( $post_id );
|
61 |
-
|
62 |
}
|
63 |
|
64 |
-
|
65 |
-
//
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
// bail ealry if not page
|
70 |
-
if( $post_type !== 'page' ) return false;
|
71 |
-
|
72 |
}
|
73 |
|
74 |
-
|
75 |
-
// return
|
76 |
return acf_get_location_rule('post_template')->rule_match( $result, $rule, $screen );
|
77 |
-
|
78 |
}
|
79 |
|
80 |
|
@@ -93,20 +82,19 @@ class acf_location_page_template extends acf_location {
|
|
93 |
|
94 |
function rule_values( $choices, $rule ) {
|
95 |
|
96 |
-
//
|
97 |
$choices = array(
|
98 |
'default' => apply_filters( 'default_page_template_title', __('Default Template', 'acf') )
|
99 |
);
|
100 |
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
-
//
|
103 |
-
$templates = wp_get_theme()->get_page_templates();
|
104 |
-
$choices = array_merge($choices, $templates);
|
105 |
-
|
106 |
-
|
107 |
-
// return choices
|
108 |
return $choices;
|
109 |
-
|
110 |
}
|
111 |
|
112 |
}
|
46 |
|
47 |
function rule_match( $result, $rule, $screen ) {
|
48 |
|
49 |
+
// Check if this rule is relevant to the current screen.
|
50 |
+
// Find $post_id in the process.
|
51 |
+
if( isset($screen['post_type']) ) {
|
52 |
+
$post_type = $screen['post_type'];
|
53 |
+
} elseif( isset($screen['post_id']) ) {
|
54 |
+
$post_type = get_post_type( $screen['post_id'] );
|
55 |
+
} else {
|
56 |
+
return false;
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
+
// If this rule is set to "default" template, avoid matching on non "page" post types.
|
60 |
+
// Fixes issue where post templates were added in WP 4.7 and field groups appeared on all post type edit screens.
|
61 |
+
if( $rule['value'] === 'default' && $post_type !== 'page' ) {
|
62 |
+
return false;
|
|
|
|
|
|
|
|
|
63 |
}
|
64 |
|
65 |
+
// Return.
|
|
|
66 |
return acf_get_location_rule('post_template')->rule_match( $result, $rule, $screen );
|
|
|
67 |
}
|
68 |
|
69 |
|
82 |
|
83 |
function rule_values( $choices, $rule ) {
|
84 |
|
85 |
+
// Default choices.
|
86 |
$choices = array(
|
87 |
'default' => apply_filters( 'default_page_template_title', __('Default Template', 'acf') )
|
88 |
);
|
89 |
|
90 |
+
// Load all templates, and merge in 'page' templates.
|
91 |
+
$post_templates = acf_get_post_templates();
|
92 |
+
if( isset($post_templates['page']) ) {
|
93 |
+
$choices = array_merge($choices, $post_templates['page']);
|
94 |
+
}
|
95 |
|
96 |
+
// Return choices.
|
|
|
|
|
|
|
|
|
|
|
97 |
return $choices;
|
|
|
98 |
}
|
99 |
|
100 |
}
|
includes/locations/class-acf-location-post-template.php
CHANGED
@@ -81,53 +81,36 @@ class acf_location_post_template extends acf_location {
|
|
81 |
|
82 |
function rule_match( $result, $rule, $screen ) {
|
83 |
|
84 |
-
//
|
85 |
-
$
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
if( !$post_type ) return false;
|
93 |
-
|
94 |
-
|
95 |
-
// get templates (WP 4.7)
|
96 |
-
if( acf_version_compare('wp', '>=', '4.7') ) {
|
97 |
-
|
98 |
-
$templates = acf_get_post_templates();
|
99 |
-
|
100 |
}
|
101 |
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
$templates['page'] = array();
|
108 |
-
|
109 |
}
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
// get page template
|
117 |
-
if( !$page_template ) {
|
118 |
-
|
119 |
$page_template = get_post_meta( $post_id, '_wp_page_template', true );
|
120 |
-
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
123 |
|
124 |
-
//
|
125 |
-
if( !$page_template ) $page_template = "default";
|
126 |
-
|
127 |
-
|
128 |
-
// match
|
129 |
return $this->compare( $page_template, $rule );
|
130 |
-
|
131 |
}
|
132 |
|
133 |
|
@@ -146,24 +129,17 @@ class acf_location_post_template extends acf_location {
|
|
146 |
|
147 |
function rule_values( $choices, $rule ) {
|
148 |
|
149 |
-
//
|
150 |
$choices = array(
|
151 |
'default' => apply_filters( 'default_page_template_title', __('Default Template', 'acf') )
|
152 |
);
|
153 |
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
$choices = array_merge($choices, $templates);
|
160 |
-
|
161 |
-
}
|
162 |
-
|
163 |
-
|
164 |
-
// return choices
|
165 |
return $choices;
|
166 |
-
|
167 |
}
|
168 |
|
169 |
}
|
81 |
|
82 |
function rule_match( $result, $rule, $screen ) {
|
83 |
|
84 |
+
// Check if this rule is relevant to the current screen.
|
85 |
+
// Find $post_id in the process.
|
86 |
+
if( isset($screen['post_type']) ) {
|
87 |
+
$post_type = $screen['post_type'];
|
88 |
+
} elseif( isset($screen['post_id']) ) {
|
89 |
+
$post_type = get_post_type( $screen['post_id'] );
|
90 |
+
} else {
|
91 |
+
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
|
94 |
+
// Check if this post type has templates.
|
95 |
+
$post_templates = acf_get_post_templates();
|
96 |
+
if( !isset($post_templates[ $post_type ]) ) {
|
97 |
+
return false;
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
+
// get page template allowing for screen or database value.
|
101 |
+
$page_template = acf_maybe_get( $screen, 'page_template' );
|
102 |
+
$post_id = acf_maybe_get( $screen, 'post_id' );
|
103 |
+
if( $page_template === null ) {
|
|
|
|
|
|
|
|
|
104 |
$page_template = get_post_meta( $post_id, '_wp_page_template', true );
|
|
|
105 |
}
|
106 |
|
107 |
+
// Treat empty value as default template.
|
108 |
+
if( $page_template === '' ) {
|
109 |
+
$page_template = 'default';
|
110 |
+
}
|
111 |
|
112 |
+
// Compare.
|
|
|
|
|
|
|
|
|
113 |
return $this->compare( $page_template, $rule );
|
|
|
114 |
}
|
115 |
|
116 |
|
129 |
|
130 |
function rule_values( $choices, $rule ) {
|
131 |
|
132 |
+
// Default choices.
|
133 |
$choices = array(
|
134 |
'default' => apply_filters( 'default_page_template_title', __('Default Template', 'acf') )
|
135 |
);
|
136 |
|
137 |
+
// Merge in all post templates.
|
138 |
+
$post_templates = acf_get_post_templates();
|
139 |
+
$choices = array_merge($choices, $post_templates);
|
140 |
+
|
141 |
+
// Return choices.
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
return $choices;
|
|
|
143 |
}
|
144 |
|
145 |
}
|
lang/acf-ar.mo
CHANGED
Binary file
|
lang/acf-ar.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro\n"
|
4 |
"POT-Creation-Date: 2017-06-27 15:37+1000\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
7 |
"Language-Team: Adil el hallaoui <servicewb11@gmail.com>\n"
|
8 |
"Language: ar\n"
|
@@ -294,7 +294,7 @@ msgstr "الحالة"
|
|
294 |
#. Description of the plugin/theme
|
295 |
#: includes/admin/admin-field-groups.php:607
|
296 |
msgid "Customise WordPress with powerful, professional and intuitive fields."
|
297 |
-
msgstr "خصص ووردبرس بحقول
|
298 |
|
299 |
#: includes/admin/admin-field-groups.php:609 includes/admin/settings-info.php:76 pro/admin/views/html-settings-updates.php:111
|
300 |
msgid "Changelog"
|
@@ -326,9 +326,9 @@ msgid "Pro"
|
|
326 |
msgstr "احترافي"
|
327 |
|
328 |
#: includes/admin/admin-field-groups.php:628
|
329 |
-
#,
|
330 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
331 |
-
msgstr "شكرا لك
|
332 |
|
333 |
#: includes/admin/admin-field-groups.php:668
|
334 |
msgid "Duplicate this item"
|
@@ -360,7 +360,6 @@ msgid "Apply"
|
|
360 |
msgstr "تطبيق"
|
361 |
|
362 |
#: includes/admin/admin-field-groups.php:798
|
363 |
-
#, fuzzy
|
364 |
msgid "Bulk Actions"
|
365 |
msgstr "اجراءات جماعية"
|
366 |
|
@@ -477,7 +476,7 @@ msgstr "تكرار الحقل"
|
|
477 |
|
478 |
#: includes/admin/views/field-group-field.php:50
|
479 |
msgid "Move field to another group"
|
480 |
-
msgstr "
|
481 |
|
482 |
#: includes/admin/views/field-group-field.php:50
|
483 |
msgid "Move"
|
@@ -505,7 +504,7 @@ msgstr "اسم الحقل"
|
|
505 |
|
506 |
#: includes/admin/views/field-group-field.php:79
|
507 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
508 |
-
msgstr "كلمة واحدة،
|
509 |
|
510 |
#: includes/admin/views/field-group-field.php:89
|
511 |
msgid "Field Type"
|
@@ -533,11 +532,11 @@ msgstr "العرض"
|
|
533 |
|
534 |
#: includes/admin/views/field-group-field.php:155
|
535 |
msgid "class"
|
536 |
-
msgstr "class"
|
537 |
|
538 |
#: includes/admin/views/field-group-field.php:168
|
539 |
msgid "id"
|
540 |
-
msgstr "المعرف"
|
541 |
|
542 |
#: includes/admin/views/field-group-field.php:180
|
543 |
msgid "Close Field"
|
@@ -722,7 +721,7 @@ msgstr "ترقية المواقع"
|
|
722 |
|
723 |
#: includes/admin/views/install-network.php:9 includes/admin/views/install.php:3
|
724 |
msgid "Advanced Custom Fields Database Upgrade"
|
725 |
-
msgstr "
|
726 |
|
727 |
#: includes/admin/views/install-network.php:11
|
728 |
#, php-format
|
@@ -818,7 +817,7 @@ msgstr "مرحبا بك في الحقول المخصصة المتقدمة"
|
|
818 |
#: includes/admin/views/settings-info.php:4
|
819 |
#, php-format
|
820 |
msgid "Thank you for updating! ACF %s is bigger and better than ever before. We hope you like it."
|
821 |
-
msgstr "شكرا لك للتحديث! ACF %s أكبر وأفضل من أي وقت مضى.
|
822 |
|
823 |
#: includes/admin/views/settings-info.php:17
|
824 |
msgid "A smoother custom field experience"
|
@@ -858,7 +857,7 @@ msgstr "نقدم ACF برو"
|
|
858 |
|
859 |
#: includes/admin/views/settings-info.php:45
|
860 |
msgid "We're changing the way premium functionality is delivered in an exciting way!"
|
861 |
-
msgstr "نحن
|
862 |
|
863 |
#: includes/admin/views/settings-info.php:46
|
864 |
#, php-format
|
@@ -929,15 +928,15 @@ msgstr "تحكم أفضل في الإصدارات"
|
|
929 |
|
930 |
#: includes/admin/views/settings-info.php:89
|
931 |
msgid "New auto export to JSON feature allows field settings to be version controlled"
|
932 |
-
msgstr "
|
933 |
|
934 |
#: includes/admin/views/settings-info.php:93
|
935 |
msgid "Swapped XML for JSON"
|
936 |
-
msgstr "
|
937 |
|
938 |
#: includes/admin/views/settings-info.php:94
|
939 |
msgid "Import / Export now uses JSON in favour of XML"
|
940 |
-
msgstr "الاستيراد والتصدير الآن
|
941 |
|
942 |
#: includes/admin/views/settings-info.php:98
|
943 |
msgid "New Forms"
|
@@ -945,7 +944,7 @@ msgstr "أشكال جديدة"
|
|
945 |
|
946 |
#: includes/admin/views/settings-info.php:99
|
947 |
msgid "Fields can now be mapped to comments, widgets and all user forms!"
|
948 |
-
msgstr "يمكن الآن تعيين الحقول إلى
|
949 |
|
950 |
#: includes/admin/views/settings-info.php:106
|
951 |
msgid "A new field for embedding content has been added"
|
@@ -957,7 +956,7 @@ msgstr "معرض صور جديد"
|
|
957 |
|
958 |
#: includes/admin/views/settings-info.php:111
|
959 |
msgid "The gallery field has undergone a much needed facelift"
|
960 |
-
msgstr "شهد
|
961 |
|
962 |
#: includes/admin/views/settings-info.php:115
|
963 |
msgid "New Settings"
|
@@ -965,23 +964,23 @@ msgstr "إعدادات جديدة"
|
|
965 |
|
966 |
#: includes/admin/views/settings-info.php:116
|
967 |
msgid "Field group settings have been added for label placement and instruction placement"
|
968 |
-
msgstr "
|
969 |
|
970 |
#: includes/admin/views/settings-info.php:122
|
971 |
msgid "Better Front End Forms"
|
972 |
-
msgstr "
|
973 |
|
974 |
#: includes/admin/views/settings-info.php:123
|
975 |
msgid "acf_form() can now create a new post on submission"
|
976 |
-
msgstr "acf_form() يمكن الآن إنشاء
|
977 |
|
978 |
#: includes/admin/views/settings-info.php:127
|
979 |
msgid "Better Validation"
|
980 |
-
msgstr "
|
981 |
|
982 |
#: includes/admin/views/settings-info.php:128
|
983 |
msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
984 |
-
msgstr "يتم الآن التحقق من صحة النموذج عن طريق
|
985 |
|
986 |
#: includes/admin/views/settings-info.php:132
|
987 |
msgid "Relationship Field"
|
@@ -989,7 +988,7 @@ msgstr "حقل العلاقة"
|
|
989 |
|
990 |
#: includes/admin/views/settings-info.php:133
|
991 |
msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
992 |
-
msgstr "إعداد
|
993 |
|
994 |
#: includes/admin/views/settings-info.php:139
|
995 |
msgid "Moving Fields"
|
@@ -997,7 +996,7 @@ msgstr "نقل الحقول"
|
|
997 |
|
998 |
#: includes/admin/views/settings-info.php:140
|
999 |
msgid "New field group functionality allows you to move a field between groups & parents"
|
1000 |
-
msgstr "
|
1001 |
|
1002 |
#: includes/admin/views/settings-info.php:144 includes/fields/class-acf-field-page_link.php:36
|
1003 |
msgid "Page Link"
|
@@ -1009,28 +1008,28 @@ msgstr "مجموعة المحفوظات الجديدة في تحديد الحق
|
|
1009 |
|
1010 |
#: includes/admin/views/settings-info.php:149
|
1011 |
msgid "Better Options Pages"
|
1012 |
-
msgstr "
|
1013 |
|
1014 |
#: includes/admin/views/settings-info.php:150
|
1015 |
msgid "New functions for options page allow creation of both parent and child menu pages"
|
1016 |
-
msgstr "مهام جديدة لصفحة
|
1017 |
|
1018 |
#: includes/admin/views/settings-info.php:159
|
1019 |
#, php-format
|
1020 |
msgid "We think you'll love the changes in %s."
|
1021 |
-
msgstr "
|
1022 |
|
1023 |
#: includes/admin/views/settings-tools-export.php:23
|
1024 |
msgid "Export Field Groups to PHP"
|
1025 |
-
msgstr "تصدير
|
1026 |
|
1027 |
#: includes/admin/views/settings-tools-export.php:27
|
1028 |
msgid ""
|
1029 |
"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 "
|
1030 |
"fields/settings. Simply copy and paste the following code to your theme's functions.php file or include it within an external file."
|
1031 |
msgstr ""
|
1032 |
-
"يمكن استخدام
|
1033 |
-
"
|
1034 |
|
1035 |
#: includes/admin/views/settings-tools.php:5
|
1036 |
msgid "Select Field Groups"
|
@@ -1038,15 +1037,15 @@ msgstr "حدد مجموعات الحقول"
|
|
1038 |
|
1039 |
#: includes/admin/views/settings-tools.php:35
|
1040 |
msgid "Export Field Groups"
|
1041 |
-
msgstr "تصدير
|
1042 |
|
1043 |
#: includes/admin/views/settings-tools.php:38
|
1044 |
msgid ""
|
1045 |
"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. "
|
1046 |
"Use the generate button to export to PHP code which you can place in your theme."
|
1047 |
msgstr ""
|
1048 |
-
"حدد مجموعات الحقول التي ترغب في
|
1049 |
-
"
|
1050 |
|
1051 |
#: includes/admin/views/settings-tools.php:50
|
1052 |
msgid "Download export file"
|
@@ -1054,15 +1053,15 @@ msgstr "تنزيل ملف التصدير"
|
|
1054 |
|
1055 |
#: includes/admin/views/settings-tools.php:51
|
1056 |
msgid "Generate export code"
|
1057 |
-
msgstr "
|
1058 |
|
1059 |
#: includes/admin/views/settings-tools.php:64
|
1060 |
msgid "Import Field Groups"
|
1061 |
-
msgstr "استيراد
|
1062 |
|
1063 |
#: includes/admin/views/settings-tools.php:67
|
1064 |
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."
|
1065 |
-
msgstr "حدد ملف
|
1066 |
|
1067 |
#: includes/admin/views/settings-tools.php:77 includes/fields/class-acf-field-file.php:46
|
1068 |
msgid "Select File"
|
@@ -1093,34 +1092,33 @@ msgid "(no title)"
|
|
1093 |
msgstr "(بدون عنوان)"
|
1094 |
|
1095 |
#: includes/api/api-helpers.php:1874 includes/fields/class-acf-field-page_link.php:284 includes/fields/class-acf-field-post_object.php:283 includes/fields/class-acf-field-taxonomy.php:992
|
1096 |
-
#, fuzzy
|
1097 |
msgid "Parent"
|
1098 |
-
msgstr "
|
1099 |
|
1100 |
#: includes/api/api-helpers.php:3891
|
1101 |
#, php-format
|
1102 |
msgid "Image width must be at least %dpx."
|
1103 |
-
msgstr "يجب أن يكون عرض الصورة على الأقل %
|
1104 |
|
1105 |
#: includes/api/api-helpers.php:3896
|
1106 |
#, php-format
|
1107 |
msgid "Image width must not exceed %dpx."
|
1108 |
-
msgstr "يجب إلا يتجاوز عرض الصورة %
|
1109 |
|
1110 |
#: includes/api/api-helpers.php:3912
|
1111 |
#, php-format
|
1112 |
msgid "Image height must be at least %dpx."
|
1113 |
-
msgstr "يجب أن يكون ارتفاع الصورة على الأقل %
|
1114 |
|
1115 |
#: includes/api/api-helpers.php:3917
|
1116 |
#, php-format
|
1117 |
msgid "Image height must not exceed %dpx."
|
1118 |
-
msgstr "يجب إلا يتجاوز ارتفاع الصورة %
|
1119 |
|
1120 |
#: includes/api/api-helpers.php:3935
|
1121 |
#, php-format
|
1122 |
msgid "File size must be at least %s."
|
1123 |
-
msgstr "يجب إلا يقل حجم الملف %s."
|
1124 |
|
1125 |
#: includes/api/api-helpers.php:3940
|
1126 |
#, php-format
|
@@ -1146,11 +1144,11 @@ msgstr "خيار"
|
|
1146 |
|
1147 |
#: includes/fields.php:147
|
1148 |
msgid "Relational"
|
1149 |
-
msgstr "
|
1150 |
|
1151 |
#: includes/fields.php:148
|
1152 |
msgid "jQuery"
|
1153 |
-
msgstr "
|
1154 |
|
1155 |
#: includes/fields.php:149 includes/fields/class-acf-field-checkbox.php:286 includes/fields/class-acf-field-group.php:485 includes/fields/class-acf-field-radio.php:300
|
1156 |
#: pro/fields/class-acf-field-clone.php:889 pro/fields/class-acf-field-flexible-content.php:569 pro/fields/class-acf-field-flexible-content.php:618 pro/fields/class-acf-field-repeater.php:514
|
@@ -1159,24 +1157,23 @@ msgstr "المخطط"
|
|
1159 |
|
1160 |
#: includes/fields.php:305
|
1161 |
msgid "Field type does not exist"
|
1162 |
-
msgstr "نوع
|
1163 |
|
1164 |
#: includes/fields.php:305
|
1165 |
msgid "Unknown"
|
1166 |
-
msgstr ""
|
1167 |
|
1168 |
#: includes/fields/class-acf-field-checkbox.php:36 includes/fields/class-acf-field-taxonomy.php:786
|
1169 |
msgid "Checkbox"
|
1170 |
-
msgstr "
|
1171 |
|
1172 |
#: includes/fields/class-acf-field-checkbox.php:150
|
1173 |
msgid "Toggle All"
|
1174 |
-
msgstr "تبديل
|
1175 |
|
1176 |
#: includes/fields/class-acf-field-checkbox.php:207
|
1177 |
-
#, fuzzy
|
1178 |
msgid "Add new choice"
|
1179 |
-
msgstr "إضافة
|
1180 |
|
1181 |
#: includes/fields/class-acf-field-checkbox.php:246 includes/fields/class-acf-field-radio.php:250 includes/fields/class-acf-field-select.php:466
|
1182 |
msgid "Choices"
|
@@ -1188,30 +1185,27 @@ msgstr "أدخل كل خيار في سطر جديد."
|
|
1188 |
|
1189 |
#: includes/fields/class-acf-field-checkbox.php:247 includes/fields/class-acf-field-radio.php:251 includes/fields/class-acf-field-select.php:467
|
1190 |
msgid "For more control, you may specify both a value and label like this:"
|
1191 |
-
msgstr "لمزيد من التحكم، يمكنك تحديد كل من
|
1192 |
|
1193 |
#: includes/fields/class-acf-field-checkbox.php:247 includes/fields/class-acf-field-radio.php:251 includes/fields/class-acf-field-select.php:467
|
1194 |
msgid "red : Red"
|
1195 |
-
msgstr "
|
1196 |
|
1197 |
#: includes/fields/class-acf-field-checkbox.php:255
|
1198 |
-
#, fuzzy
|
1199 |
msgid "Allow Custom"
|
1200 |
-
msgstr "
|
1201 |
|
1202 |
#: includes/fields/class-acf-field-checkbox.php:260
|
1203 |
msgid "Allow 'custom' values to be added"
|
1204 |
-
msgstr ""
|
1205 |
|
1206 |
#: includes/fields/class-acf-field-checkbox.php:266
|
1207 |
-
#, fuzzy
|
1208 |
msgid "Save Custom"
|
1209 |
-
msgstr "
|
1210 |
|
1211 |
#: includes/fields/class-acf-field-checkbox.php:271
|
1212 |
-
#, fuzzy
|
1213 |
msgid "Save 'custom' values to the field's choices"
|
1214 |
-
msgstr "حفظ
|
1215 |
|
1216 |
#: includes/fields/class-acf-field-checkbox.php:277 includes/fields/class-acf-field-color_picker.php:146 includes/fields/class-acf-field-email.php:133
|
1217 |
#: includes/fields/class-acf-field-number.php:145 includes/fields/class-acf-field-radio.php:291 includes/fields/class-acf-field-select.php:475 includes/fields/class-acf-field-text.php:142
|
@@ -1238,7 +1232,7 @@ msgstr "تبديل"
|
|
1238 |
|
1239 |
#: includes/fields/class-acf-field-checkbox.php:301
|
1240 |
msgid "Prepend an extra checkbox to toggle all choices"
|
1241 |
-
msgstr "
|
1242 |
|
1243 |
#: includes/fields/class-acf-field-checkbox.php:310 includes/fields/class-acf-field-file.php:219 includes/fields/class-acf-field-image.php:206 includes/fields/class-acf-field-link.php:180
|
1244 |
#: includes/fields/class-acf-field-radio.php:314 includes/fields/class-acf-field-taxonomy.php:839
|
@@ -1248,16 +1242,15 @@ msgstr "القيمة المرجعة"
|
|
1248 |
#: includes/fields/class-acf-field-checkbox.php:311 includes/fields/class-acf-field-file.php:220 includes/fields/class-acf-field-image.php:207 includes/fields/class-acf-field-link.php:181
|
1249 |
#: includes/fields/class-acf-field-radio.php:315
|
1250 |
msgid "Specify the returned value on front end"
|
1251 |
-
msgstr "حدد القيمة التي
|
1252 |
|
1253 |
#: includes/fields/class-acf-field-checkbox.php:316 includes/fields/class-acf-field-radio.php:320 includes/fields/class-acf-field-select.php:529
|
1254 |
-
#, fuzzy
|
1255 |
msgid "Value"
|
1256 |
-
msgstr "
|
1257 |
|
1258 |
#: includes/fields/class-acf-field-checkbox.php:318 includes/fields/class-acf-field-radio.php:322 includes/fields/class-acf-field-select.php:531
|
1259 |
msgid "Both (Array)"
|
1260 |
-
msgstr ""
|
1261 |
|
1262 |
#: includes/fields/class-acf-field-color_picker.php:36
|
1263 |
msgid "Color Picker"
|
@@ -1273,24 +1266,22 @@ msgstr "الافتراضي"
|
|
1273 |
|
1274 |
#: includes/fields/class-acf-field-color_picker.php:85
|
1275 |
msgid "Select Color"
|
1276 |
-
msgstr "
|
1277 |
|
1278 |
#: includes/fields/class-acf-field-color_picker.php:86
|
1279 |
msgid "Current Color"
|
1280 |
-
msgstr "
|
1281 |
|
1282 |
#: includes/fields/class-acf-field-date_picker.php:36
|
1283 |
msgid "Date Picker"
|
1284 |
-
msgstr "عنصر إختيار
|
1285 |
|
1286 |
#: includes/fields/class-acf-field-date_picker.php:44
|
1287 |
-
#, fuzzy
|
1288 |
msgctxt "Date Picker JS closeText"
|
1289 |
msgid "Done"
|
1290 |
msgstr "تم"
|
1291 |
|
1292 |
#: includes/fields/class-acf-field-date_picker.php:45
|
1293 |
-
#, fuzzy
|
1294 |
msgctxt "Date Picker JS currentText"
|
1295 |
msgid "Today"
|
1296 |
msgstr "اليوم"
|
@@ -1298,60 +1289,55 @@ msgstr "اليوم"
|
|
1298 |
#: includes/fields/class-acf-field-date_picker.php:46
|
1299 |
msgctxt "Date Picker JS nextText"
|
1300 |
msgid "Next"
|
1301 |
-
msgstr ""
|
1302 |
|
1303 |
#: includes/fields/class-acf-field-date_picker.php:47
|
1304 |
msgctxt "Date Picker JS prevText"
|
1305 |
msgid "Prev"
|
1306 |
-
msgstr ""
|
1307 |
|
1308 |
#: includes/fields/class-acf-field-date_picker.php:48
|
1309 |
msgctxt "Date Picker JS weekHeader"
|
1310 |
msgid "Wk"
|
1311 |
-
msgstr ""
|
1312 |
|
1313 |
#: includes/fields/class-acf-field-date_picker.php:223 includes/fields/class-acf-field-date_time_picker.php:197 includes/fields/class-acf-field-time_picker.php:127
|
1314 |
-
#, fuzzy
|
1315 |
msgid "Display Format"
|
1316 |
msgstr "تنسيق العرض"
|
1317 |
|
1318 |
#: includes/fields/class-acf-field-date_picker.php:224 includes/fields/class-acf-field-date_time_picker.php:198 includes/fields/class-acf-field-time_picker.php:128
|
1319 |
msgid "The format displayed when editing a post"
|
1320 |
-
msgstr "تنسيق
|
1321 |
|
1322 |
#: includes/fields/class-acf-field-date_picker.php:232 includes/fields/class-acf-field-date_picker.php:263 includes/fields/class-acf-field-date_time_picker.php:207
|
1323 |
#: includes/fields/class-acf-field-date_time_picker.php:224 includes/fields/class-acf-field-time_picker.php:135 includes/fields/class-acf-field-time_picker.php:150
|
1324 |
-
#, fuzzy
|
1325 |
msgid "Custom:"
|
1326 |
-
msgstr "
|
1327 |
|
1328 |
#: includes/fields/class-acf-field-date_picker.php:242
|
1329 |
-
#, fuzzy
|
1330 |
msgid "Save Format"
|
1331 |
-
msgstr "
|
1332 |
|
1333 |
#: includes/fields/class-acf-field-date_picker.php:243
|
1334 |
-
#, fuzzy
|
1335 |
msgid "The format used when saving a value"
|
1336 |
-
msgstr "
|
1337 |
|
1338 |
#: includes/fields/class-acf-field-date_picker.php:253 includes/fields/class-acf-field-date_time_picker.php:214 includes/fields/class-acf-field-post_object.php:447
|
1339 |
#: includes/fields/class-acf-field-relationship.php:778 includes/fields/class-acf-field-select.php:524 includes/fields/class-acf-field-time_picker.php:142
|
1340 |
msgid "Return Format"
|
1341 |
-
msgstr "
|
1342 |
|
1343 |
#: includes/fields/class-acf-field-date_picker.php:254 includes/fields/class-acf-field-date_time_picker.php:215 includes/fields/class-acf-field-time_picker.php:143
|
1344 |
msgid "The format returned via template functions"
|
1345 |
-
msgstr "
|
1346 |
|
1347 |
#: includes/fields/class-acf-field-date_picker.php:272 includes/fields/class-acf-field-date_time_picker.php:231
|
1348 |
msgid "Week Starts On"
|
1349 |
msgstr "يبدأ الأسبوع في"
|
1350 |
|
1351 |
#: includes/fields/class-acf-field-date_time_picker.php:36
|
1352 |
-
#, fuzzy
|
1353 |
msgid "Date Time Picker"
|
1354 |
-
msgstr "عنصر إختيار
|
1355 |
|
1356 |
#: includes/fields/class-acf-field-date_time_picker.php:44
|
1357 |
msgctxt "Date Time Picker JS timeOnlyTitle"
|
@@ -1394,10 +1380,9 @@ msgid "Time Zone"
|
|
1394 |
msgstr "المنطقة الزمنية"
|
1395 |
|
1396 |
#: includes/fields/class-acf-field-date_time_picker.php:52
|
1397 |
-
#, fuzzy
|
1398 |
msgctxt "Date Time Picker JS currentText"
|
1399 |
msgid "Now"
|
1400 |
-
msgstr "
|
1401 |
|
1402 |
#: includes/fields/class-acf-field-date_time_picker.php:53
|
1403 |
msgctxt "Date Time Picker JS closeText"
|
@@ -1407,7 +1392,7 @@ msgstr "تم"
|
|
1407 |
#: includes/fields/class-acf-field-date_time_picker.php:54
|
1408 |
msgctxt "Date Time Picker JS selectText"
|
1409 |
msgid "Select"
|
1410 |
-
msgstr "
|
1411 |
|
1412 |
#: includes/fields/class-acf-field-date_time_picker.php:56
|
1413 |
msgctxt "Date Time Picker JS amText"
|
@@ -1450,7 +1435,7 @@ msgstr "سيظهر داخل مربع الإدخال."
|
|
1450 |
|
1451 |
#: includes/fields/class-acf-field-email.php:151 includes/fields/class-acf-field-number.php:163 includes/fields/class-acf-field-password.php:143 includes/fields/class-acf-field-text.php:160
|
1452 |
msgid "Prepend"
|
1453 |
-
msgstr "
|
1454 |
|
1455 |
#: includes/fields/class-acf-field-email.php:152 includes/fields/class-acf-field-number.php:164 includes/fields/class-acf-field-password.php:144 includes/fields/class-acf-field-text.php:161
|
1456 |
msgid "Appears before the input"
|
@@ -1462,7 +1447,7 @@ msgstr "إلحاق"
|
|
1462 |
|
1463 |
#: includes/fields/class-acf-field-email.php:161 includes/fields/class-acf-field-number.php:173 includes/fields/class-acf-field-password.php:153 includes/fields/class-acf-field-text.php:170
|
1464 |
msgid "Appears after the input"
|
1465 |
-
msgstr "يظهر بعد
|
1466 |
|
1467 |
#: includes/fields/class-acf-field-file.php:36
|
1468 |
msgid "File"
|
@@ -1474,14 +1459,13 @@ msgstr "تعديل الملف"
|
|
1474 |
|
1475 |
#: includes/fields/class-acf-field-file.php:48
|
1476 |
msgid "Update File"
|
1477 |
-
msgstr "تحديث
|
1478 |
|
1479 |
#: includes/fields/class-acf-field-file.php:49 includes/fields/class-acf-field-image.php:54 includes/media.php:57 pro/fields/class-acf-field-gallery.php:55
|
1480 |
msgid "Uploaded to this post"
|
1481 |
-
msgstr "
|
1482 |
|
1483 |
#: includes/fields/class-acf-field-file.php:145
|
1484 |
-
#, fuzzy
|
1485 |
msgid "File name"
|
1486 |
msgstr "إسم الملف"
|
1487 |
|
@@ -1496,7 +1480,7 @@ msgstr "إضافة ملف"
|
|
1496 |
|
1497 |
#: includes/fields/class-acf-field-file.php:225
|
1498 |
msgid "File Array"
|
1499 |
-
msgstr "
|
1500 |
|
1501 |
#: includes/fields/class-acf-field-file.php:226
|
1502 |
msgid "File URL"
|
@@ -1523,15 +1507,15 @@ msgstr "الكل"
|
|
1523 |
|
1524 |
#: includes/fields/class-acf-field-file.php:241 includes/fields/class-acf-field-image.php:238 pro/fields/class-acf-field-gallery.php:677
|
1525 |
msgid "Uploaded to post"
|
1526 |
-
msgstr "
|
1527 |
|
1528 |
#: includes/fields/class-acf-field-file.php:248 includes/fields/class-acf-field-image.php:245 pro/fields/class-acf-field-gallery.php:684
|
1529 |
msgid "Minimum"
|
1530 |
-
msgstr "الأدنى"
|
1531 |
|
1532 |
#: includes/fields/class-acf-field-file.php:249 includes/fields/class-acf-field-file.php:260
|
1533 |
msgid "Restrict which files can be uploaded"
|
1534 |
-
msgstr "تقييد الملفات التي يمكن
|
1535 |
|
1536 |
#: includes/fields/class-acf-field-file.php:259 includes/fields/class-acf-field-image.php:274 pro/fields/class-acf-field-gallery.php:713
|
1537 |
msgid "Maximum"
|
@@ -1543,7 +1527,7 @@ msgstr "أنواع الملفات المسموح بها"
|
|
1543 |
|
1544 |
#: includes/fields/class-acf-field-file.php:271 includes/fields/class-acf-field-image.php:304 pro/fields/class-acf-field-gallery.php:743
|
1545 |
msgid "Comma separated list. Leave blank for all types"
|
1546 |
-
msgstr "قائمة مفصولة بفواصل. اترك المساحة فارغة
|
1547 |
|
1548 |
#: includes/fields/class-acf-field-google-map.php:36
|
1549 |
msgid "Google Map"
|
@@ -1551,19 +1535,19 @@ msgstr "خرائط جوجل"
|
|
1551 |
|
1552 |
#: includes/fields/class-acf-field-google-map.php:51
|
1553 |
msgid "Locating"
|
1554 |
-
msgstr "تحديد
|
1555 |
|
1556 |
#: includes/fields/class-acf-field-google-map.php:52
|
1557 |
msgid "Sorry, this browser does not support geolocation"
|
1558 |
-
msgstr "عذراً،
|
1559 |
|
1560 |
#: includes/fields/class-acf-field-google-map.php:133
|
1561 |
msgid "Clear location"
|
1562 |
-
msgstr "الموقع
|
1563 |
|
1564 |
#: includes/fields/class-acf-field-google-map.php:134
|
1565 |
msgid "Find current location"
|
1566 |
-
msgstr "الموقع الحالي"
|
1567 |
|
1568 |
#: includes/fields/class-acf-field-google-map.php:137
|
1569 |
msgid "Search for address..."
|
@@ -1575,11 +1559,11 @@ msgstr "منتصف"
|
|
1575 |
|
1576 |
#: includes/fields/class-acf-field-google-map.php:168 includes/fields/class-acf-field-google-map.php:179
|
1577 |
msgid "Center the initial map"
|
1578 |
-
msgstr "مركز الخريطة
|
1579 |
|
1580 |
#: includes/fields/class-acf-field-google-map.php:190
|
1581 |
msgid "Zoom"
|
1582 |
-
msgstr "
|
1583 |
|
1584 |
#: includes/fields/class-acf-field-google-map.php:191
|
1585 |
msgid "Set the initial zoom level"
|
@@ -1608,7 +1592,7 @@ msgstr "حدد النمط المستخدم لعرض الحقول المحددة"
|
|
1608 |
|
1609 |
#: includes/fields/class-acf-field-group.php:491 pro/fields/class-acf-field-clone.php:895 pro/fields/class-acf-field-flexible-content.php:629 pro/fields/class-acf-field-repeater.php:522
|
1610 |
msgid "Block"
|
1611 |
-
msgstr "
|
1612 |
|
1613 |
#: includes/fields/class-acf-field-group.php:492 pro/fields/class-acf-field-clone.php:896 pro/fields/class-acf-field-flexible-content.php:628 pro/fields/class-acf-field-repeater.php:521
|
1614 |
msgid "Table"
|
@@ -1620,7 +1604,7 @@ msgstr "سطر"
|
|
1620 |
|
1621 |
#: includes/fields/class-acf-field-image.php:36
|
1622 |
msgid "Image"
|
1623 |
-
msgstr "
|
1624 |
|
1625 |
#: includes/fields/class-acf-field-image.php:51
|
1626 |
msgid "Select Image"
|
@@ -1636,7 +1620,7 @@ msgstr "تحديث الصورة"
|
|
1636 |
|
1637 |
#: includes/fields/class-acf-field-image.php:55
|
1638 |
msgid "All images"
|
1639 |
-
msgstr "جميع الصور
|
1640 |
|
1641 |
#: includes/fields/class-acf-field-image.php:142 includes/fields/class-acf-field-link.php:153 includes/input.php:267 pro/fields/class-acf-field-gallery.php:358
|
1642 |
#: pro/fields/class-acf-field-gallery.php:546
|
@@ -1645,7 +1629,7 @@ msgstr "ازالة"
|
|
1645 |
|
1646 |
#: includes/fields/class-acf-field-image.php:158
|
1647 |
msgid "No image selected"
|
1648 |
-
msgstr "
|
1649 |
|
1650 |
#: includes/fields/class-acf-field-image.php:158
|
1651 |
msgid "Add Image"
|
@@ -1653,7 +1637,7 @@ msgstr "اضافة صورة"
|
|
1653 |
|
1654 |
#: includes/fields/class-acf-field-image.php:212
|
1655 |
msgid "Image Array"
|
1656 |
-
msgstr "
|
1657 |
|
1658 |
#: includes/fields/class-acf-field-image.php:213
|
1659 |
msgid "Image URL"
|
@@ -1665,24 +1649,24 @@ msgstr "معرف الصورة"
|
|
1665 |
|
1666 |
#: includes/fields/class-acf-field-image.php:221
|
1667 |
msgid "Preview Size"
|
1668 |
-
msgstr "
|
1669 |
|
1670 |
#: includes/fields/class-acf-field-image.php:222
|
1671 |
msgid "Shown when entering data"
|
1672 |
-
msgstr "
|
1673 |
|
1674 |
#: includes/fields/class-acf-field-image.php:246 includes/fields/class-acf-field-image.php:275 pro/fields/class-acf-field-gallery.php:685 pro/fields/class-acf-field-gallery.php:714
|
1675 |
msgid "Restrict which images can be uploaded"
|
1676 |
-
msgstr "تقييد الصور التي يمكن
|
1677 |
|
1678 |
#: includes/fields/class-acf-field-image.php:249 includes/fields/class-acf-field-image.php:278 includes/fields/class-acf-field-oembed.php:286 pro/fields/class-acf-field-gallery.php:688
|
1679 |
#: pro/fields/class-acf-field-gallery.php:717
|
1680 |
msgid "Width"
|
1681 |
-
msgstr "
|
1682 |
|
1683 |
#: includes/fields/class-acf-field-link.php:36
|
1684 |
msgid "Link"
|
1685 |
-
msgstr "
|
1686 |
|
1687 |
#: includes/fields/class-acf-field-link.php:146
|
1688 |
msgid "Select Link"
|
@@ -1693,14 +1677,12 @@ msgid "Opens in a new window/tab"
|
|
1693 |
msgstr "فتح في نافذة / علامة تبويب جديدة"
|
1694 |
|
1695 |
#: includes/fields/class-acf-field-link.php:186
|
1696 |
-
#, fuzzy
|
1697 |
msgid "Link Array"
|
1698 |
-
msgstr "
|
1699 |
|
1700 |
#: includes/fields/class-acf-field-link.php:187
|
1701 |
-
#, fuzzy
|
1702 |
msgid "Link URL"
|
1703 |
-
msgstr "رابط
|
1704 |
|
1705 |
#: includes/fields/class-acf-field-message.php:36 includes/fields/class-acf-field-message.php:115 includes/fields/class-acf-field-true_false.php:141
|
1706 |
msgid "Message"
|
@@ -1708,11 +1690,11 @@ msgstr "الرسالة"
|
|
1708 |
|
1709 |
#: includes/fields/class-acf-field-message.php:124 includes/fields/class-acf-field-textarea.php:176
|
1710 |
msgid "New Lines"
|
1711 |
-
msgstr "
|
1712 |
|
1713 |
#: includes/fields/class-acf-field-message.php:125 includes/fields/class-acf-field-textarea.php:177
|
1714 |
msgid "Controls how new lines are rendered"
|
1715 |
-
msgstr "
|
1716 |
|
1717 |
#: includes/fields/class-acf-field-message.php:129 includes/fields/class-acf-field-textarea.php:181
|
1718 |
msgid "Automatically add paragraphs"
|
@@ -1720,19 +1702,19 @@ msgstr "إضافة الفقرات تلقائيا"
|
|
1720 |
|
1721 |
#: includes/fields/class-acf-field-message.php:130 includes/fields/class-acf-field-textarea.php:182
|
1722 |
msgid "Automatically add <br>"
|
1723 |
-
msgstr "
|
1724 |
|
1725 |
#: includes/fields/class-acf-field-message.php:131 includes/fields/class-acf-field-textarea.php:183
|
1726 |
msgid "No Formatting"
|
1727 |
-
msgstr "
|
1728 |
|
1729 |
#: includes/fields/class-acf-field-message.php:138
|
1730 |
msgid "Escape HTML"
|
1731 |
-
msgstr "
|
1732 |
|
1733 |
#: includes/fields/class-acf-field-message.php:139
|
1734 |
msgid "Allow HTML markup to display as visible text instead of rendering"
|
1735 |
-
msgstr "السماح
|
1736 |
|
1737 |
#: includes/fields/class-acf-field-number.php:36
|
1738 |
msgid "Number"
|
@@ -1740,7 +1722,7 @@ msgstr "رقم"
|
|
1740 |
|
1741 |
#: includes/fields/class-acf-field-number.php:181
|
1742 |
msgid "Minimum Value"
|
1743 |
-
msgstr "الحد الأدنى
|
1744 |
|
1745 |
#: includes/fields/class-acf-field-number.php:190
|
1746 |
msgid "Maximum Value"
|
@@ -1757,16 +1739,16 @@ msgstr "يجب أن تكون القيمة رقماً"
|
|
1757 |
#: includes/fields/class-acf-field-number.php:255
|
1758 |
#, php-format
|
1759 |
msgid "Value must be equal to or higher than %d"
|
1760 |
-
msgstr "يجب أن تكون
|
1761 |
|
1762 |
#: includes/fields/class-acf-field-number.php:263
|
1763 |
#, php-format
|
1764 |
msgid "Value must be equal to or lower than %d"
|
1765 |
-
msgstr "يجب أن تكون
|
1766 |
|
1767 |
#: includes/fields/class-acf-field-oembed.php:36
|
1768 |
msgid "oEmbed"
|
1769 |
-
msgstr "
|
1770 |
|
1771 |
#: includes/fields/class-acf-field-oembed.php:237
|
1772 |
msgid "Enter URL"
|
@@ -1778,11 +1760,11 @@ msgstr "خطأ."
|
|
1778 |
|
1779 |
#: includes/fields/class-acf-field-oembed.php:250
|
1780 |
msgid "No embed found for the given URL."
|
1781 |
-
msgstr "
|
1782 |
|
1783 |
#: includes/fields/class-acf-field-oembed.php:283 includes/fields/class-acf-field-oembed.php:294
|
1784 |
msgid "Embed Size"
|
1785 |
-
msgstr "
|
1786 |
|
1787 |
#: includes/fields/class-acf-field-page_link.php:192
|
1788 |
msgid "Archives"
|
@@ -1790,7 +1772,7 @@ msgstr "الأرشيفات"
|
|
1790 |
|
1791 |
#: includes/fields/class-acf-field-page_link.php:500 includes/fields/class-acf-field-post_object.php:399 includes/fields/class-acf-field-relationship.php:704
|
1792 |
msgid "Filter by Post Type"
|
1793 |
-
msgstr "فرز حسب
|
1794 |
|
1795 |
#: includes/fields/class-acf-field-page_link.php:508 includes/fields/class-acf-field-post_object.php:407 includes/fields/class-acf-field-relationship.php:712
|
1796 |
msgid "All post types"
|
@@ -1807,7 +1789,7 @@ msgstr "كافة التصنيفات"
|
|
1807 |
#: includes/fields/class-acf-field-page_link.php:528 includes/fields/class-acf-field-post_object.php:427 includes/fields/class-acf-field-radio.php:259
|
1808 |
#: includes/fields/class-acf-field-select.php:484 includes/fields/class-acf-field-taxonomy.php:799 includes/fields/class-acf-field-user.php:423
|
1809 |
msgid "Allow Null?"
|
1810 |
-
msgstr "
|
1811 |
|
1812 |
#: includes/fields/class-acf-field-page_link.php:538
|
1813 |
msgid "Allow Archives URLs"
|
@@ -1816,7 +1798,7 @@ msgstr "السماح بالعناوين المؤرشفة"
|
|
1816 |
#: includes/fields/class-acf-field-page_link.php:548 includes/fields/class-acf-field-post_object.php:437 includes/fields/class-acf-field-select.php:494
|
1817 |
#: includes/fields/class-acf-field-user.php:433
|
1818 |
msgid "Select multiple values?"
|
1819 |
-
msgstr "
|
1820 |
|
1821 |
#: includes/fields/class-acf-field-password.php:36
|
1822 |
msgid "Password"
|
@@ -1824,15 +1806,15 @@ msgstr "كلمة السر"
|
|
1824 |
|
1825 |
#: includes/fields/class-acf-field-post_object.php:36 includes/fields/class-acf-field-post_object.php:452 includes/fields/class-acf-field-relationship.php:783
|
1826 |
msgid "Post Object"
|
1827 |
-
msgstr "
|
1828 |
|
1829 |
#: includes/fields/class-acf-field-post_object.php:453 includes/fields/class-acf-field-relationship.php:784
|
1830 |
msgid "Post ID"
|
1831 |
-
msgstr "
|
1832 |
|
1833 |
#: includes/fields/class-acf-field-radio.php:36
|
1834 |
msgid "Radio Button"
|
1835 |
-
msgstr "
|
1836 |
|
1837 |
#: includes/fields/class-acf-field-radio.php:269
|
1838 |
msgid "Other"
|
@@ -1844,23 +1826,23 @@ msgstr "إضافة خيار 'آخر' للسماح بقيم مخصصة"
|
|
1844 |
|
1845 |
#: includes/fields/class-acf-field-radio.php:280
|
1846 |
msgid "Save Other"
|
1847 |
-
msgstr "
|
1848 |
|
1849 |
#: includes/fields/class-acf-field-radio.php:285
|
1850 |
msgid "Save 'other' values to the field's choices"
|
1851 |
-
msgstr "حفظ
|
1852 |
|
1853 |
#: includes/fields/class-acf-field-relationship.php:36
|
1854 |
msgid "Relationship"
|
1855 |
-
msgstr "
|
1856 |
|
1857 |
#: includes/fields/class-acf-field-relationship.php:48
|
1858 |
msgid "Minimum values reached ( {min} values )"
|
1859 |
-
msgstr "
|
1860 |
|
1861 |
#: includes/fields/class-acf-field-relationship.php:49
|
1862 |
msgid "Maximum values reached ( {max} values )"
|
1863 |
-
msgstr "وصلت إلى الحد الأقصى للقيم (
|
1864 |
|
1865 |
#: includes/fields/class-acf-field-relationship.php:50
|
1866 |
msgid "Loading"
|
@@ -1872,15 +1854,15 @@ msgstr "لم يتم العثور على مطابقات"
|
|
1872 |
|
1873 |
#: includes/fields/class-acf-field-relationship.php:585
|
1874 |
msgid "Search..."
|
1875 |
-
msgstr "
|
1876 |
|
1877 |
#: includes/fields/class-acf-field-relationship.php:594
|
1878 |
msgid "Select post type"
|
1879 |
-
msgstr "
|
1880 |
|
1881 |
#: includes/fields/class-acf-field-relationship.php:607
|
1882 |
msgid "Select taxonomy"
|
1883 |
-
msgstr "
|
1884 |
|
1885 |
#: includes/fields/class-acf-field-relationship.php:732
|
1886 |
msgid "Filters"
|
@@ -1888,7 +1870,7 @@ msgstr "فرز"
|
|
1888 |
|
1889 |
#: includes/fields/class-acf-field-relationship.php:738 includes/locations/class-acf-location-post-type.php:27
|
1890 |
msgid "Post Type"
|
1891 |
-
msgstr "نوع
|
1892 |
|
1893 |
#: includes/fields/class-acf-field-relationship.php:739 includes/fields/class-acf-field-taxonomy.php:36 includes/fields/class-acf-field-taxonomy.php:769
|
1894 |
msgid "Taxonomy"
|
@@ -1914,12 +1896,12 @@ msgstr "الحد الأقصى للمقالات"
|
|
1914 |
#, php-format
|
1915 |
msgid "%s requires at least %s selection"
|
1916 |
msgid_plural "%s requires at least %s selections"
|
1917 |
-
msgstr[0] "%s يتطلب على الأقل
|
1918 |
-
msgstr[1] "%s يتطلب على الأقل
|
1919 |
-
msgstr[2] "%s يتطلب على الأقل
|
1920 |
-
msgstr[3] "%s يتطلب على الأقل
|
1921 |
-
msgstr[4] "%s يتطلب على الأقل
|
1922 |
-
msgstr[5] "%s يتطلب على الأقل
|
1923 |
|
1924 |
#: includes/fields/class-acf-field-select.php:36 includes/fields/class-acf-field-taxonomy.php:791
|
1925 |
msgctxt "noun"
|
@@ -1981,10 +1963,9 @@ msgid "Loading more results…"
|
|
1981 |
msgstr "تحميل نتائج أكثر…"
|
1982 |
|
1983 |
#: includes/fields/class-acf-field-select.php:59
|
1984 |
-
#, fuzzy
|
1985 |
msgctxt "Select2 JS searching"
|
1986 |
msgid "Searching…"
|
1987 |
-
msgstr "بحث
|
1988 |
|
1989 |
#: includes/fields/class-acf-field-select.php:60
|
1990 |
msgctxt "Select2 JS load_fail"
|
@@ -2018,19 +1999,19 @@ msgstr "تبويب"
|
|
2018 |
|
2019 |
#: includes/fields/class-acf-field-tab.php:96
|
2020 |
msgid "The tab field will display incorrectly when added to a Table style repeater field or flexible content field layout"
|
2021 |
-
msgstr "سيتم عرض
|
2022 |
|
2023 |
#: includes/fields/class-acf-field-tab.php:97
|
2024 |
msgid "Use \"Tab Fields\" to better organize your edit screen by grouping fields together."
|
2025 |
-
msgstr "
|
2026 |
|
2027 |
#: includes/fields/class-acf-field-tab.php:98
|
2028 |
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."
|
2029 |
-
msgstr "كافة الحقول بعد
|
2030 |
|
2031 |
#: includes/fields/class-acf-field-tab.php:112
|
2032 |
msgid "Placement"
|
2033 |
-
msgstr "
|
2034 |
|
2035 |
#: includes/fields/class-acf-field-tab.php:124
|
2036 |
msgid "End-point"
|
@@ -2038,7 +2019,7 @@ msgstr "نقطة النهاية"
|
|
2038 |
|
2039 |
#: includes/fields/class-acf-field-tab.php:125
|
2040 |
msgid "Use this field as an end-point and start a new group of tabs"
|
2041 |
-
msgstr "استخدم هذا الحقل كنقطة نهاية
|
2042 |
|
2043 |
#: includes/fields/class-acf-field-taxonomy.php:719 includes/fields/class-acf-field-true_false.php:95 includes/fields/class-acf-field-true_false.php:184 includes/input.php:266
|
2044 |
#: pro/admin/views/html-settings-updates.php:103
|
@@ -2051,7 +2032,7 @@ msgstr "لا شيء"
|
|
2051 |
|
2052 |
#: includes/fields/class-acf-field-taxonomy.php:770
|
2053 |
msgid "Select the taxonomy to be displayed"
|
2054 |
-
msgstr "حدد التصنيف
|
2055 |
|
2056 |
#: includes/fields/class-acf-field-taxonomy.php:779
|
2057 |
msgid "Appearance"
|
@@ -2059,7 +2040,7 @@ msgstr "المظهر"
|
|
2059 |
|
2060 |
#: includes/fields/class-acf-field-taxonomy.php:780
|
2061 |
msgid "Select the appearance of this field"
|
2062 |
-
msgstr "حدد
|
2063 |
|
2064 |
#: includes/fields/class-acf-field-taxonomy.php:785
|
2065 |
msgid "Multiple Values"
|
@@ -2075,7 +2056,7 @@ msgstr "قيمة مفردة"
|
|
2075 |
|
2076 |
#: includes/fields/class-acf-field-taxonomy.php:790
|
2077 |
msgid "Radio Buttons"
|
2078 |
-
msgstr "
|
2079 |
|
2080 |
#: includes/fields/class-acf-field-taxonomy.php:809
|
2081 |
msgid "Create Terms"
|
@@ -2083,31 +2064,31 @@ msgstr "إنشاء شروط"
|
|
2083 |
|
2084 |
#: includes/fields/class-acf-field-taxonomy.php:810
|
2085 |
msgid "Allow new terms to be created whilst editing"
|
2086 |
-
msgstr "
|
2087 |
|
2088 |
#: includes/fields/class-acf-field-taxonomy.php:819
|
2089 |
msgid "Save Terms"
|
2090 |
-
msgstr "حفظ
|
2091 |
|
2092 |
#: includes/fields/class-acf-field-taxonomy.php:820
|
2093 |
msgid "Connect selected terms to the post"
|
2094 |
-
msgstr "
|
2095 |
|
2096 |
#: includes/fields/class-acf-field-taxonomy.php:829
|
2097 |
msgid "Load Terms"
|
2098 |
-
msgstr "
|
2099 |
|
2100 |
#: includes/fields/class-acf-field-taxonomy.php:830
|
2101 |
msgid "Load value from posts terms"
|
2102 |
-
msgstr "تحميل قيمة من شروط
|
2103 |
|
2104 |
#: includes/fields/class-acf-field-taxonomy.php:844
|
2105 |
msgid "Term Object"
|
2106 |
-
msgstr "
|
2107 |
|
2108 |
#: includes/fields/class-acf-field-taxonomy.php:845
|
2109 |
msgid "Term ID"
|
2110 |
-
msgstr "
|
2111 |
|
2112 |
#: includes/fields/class-acf-field-taxonomy.php:904
|
2113 |
#, php-format
|
@@ -2171,7 +2152,7 @@ msgstr "عرض النص بجانب مربع الاختيار"
|
|
2171 |
|
2172 |
#: includes/fields/class-acf-field-true_false.php:170
|
2173 |
msgid "On Text"
|
2174 |
-
msgstr "
|
2175 |
|
2176 |
#: includes/fields/class-acf-field-true_false.php:171
|
2177 |
msgid "Text shown when active"
|
@@ -2179,7 +2160,7 @@ msgstr "النص المعروض عند التنشيط"
|
|
2179 |
|
2180 |
#: includes/fields/class-acf-field-true_false.php:180
|
2181 |
msgid "Off Text"
|
2182 |
-
msgstr "
|
2183 |
|
2184 |
#: includes/fields/class-acf-field-true_false.php:181
|
2185 |
msgid "Text shown when inactive"
|
@@ -2191,7 +2172,7 @@ msgstr "الرابط"
|
|
2191 |
|
2192 |
#: includes/fields/class-acf-field-url.php:165
|
2193 |
msgid "Value must be a valid URL"
|
2194 |
-
msgstr "يجب أن
|
2195 |
|
2196 |
#: includes/fields/class-acf-field-user.php:36 includes/locations.php:95
|
2197 |
msgid "User"
|
@@ -2244,7 +2225,7 @@ msgstr "شريط الأدوات"
|
|
2244 |
|
2245 |
#: includes/fields/class-acf-field-wysiwyg.php:469
|
2246 |
msgid "Show Media Upload Buttons?"
|
2247 |
-
msgstr "
|
2248 |
|
2249 |
#: includes/fields/class-acf-field-wysiwyg.php:479
|
2250 |
msgid "Delay initialization?"
|
@@ -2292,12 +2273,12 @@ msgstr "فشل في عملية التحقق"
|
|
2292 |
|
2293 |
#: includes/input.php:262
|
2294 |
msgid "1 field requires attention"
|
2295 |
-
msgstr "
|
2296 |
|
2297 |
#: includes/input.php:263
|
2298 |
#, php-format
|
2299 |
msgid "%d fields require attention"
|
2300 |
-
msgstr "%
|
2301 |
|
2302 |
#: includes/input.php:264
|
2303 |
msgid "Restricted"
|
@@ -2309,24 +2290,24 @@ msgstr "الغاء"
|
|
2309 |
|
2310 |
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
2311 |
msgid "Post"
|
2312 |
-
msgstr "
|
2313 |
|
2314 |
#: includes/locations.php:94 includes/locations/class-acf-location-page.php:27
|
2315 |
msgid "Page"
|
2316 |
-
msgstr "
|
2317 |
|
2318 |
#: includes/locations.php:96
|
2319 |
msgid "Forms"
|
2320 |
-
msgstr "
|
2321 |
|
2322 |
#: includes/locations/class-acf-location-attachment.php:27
|
2323 |
msgid "Attachment"
|
2324 |
-
msgstr "
|
2325 |
|
2326 |
#: includes/locations/class-acf-location-attachment.php:113
|
2327 |
#, php-format
|
2328 |
msgid "All %s formats"
|
2329 |
-
msgstr ""
|
2330 |
|
2331 |
#: includes/locations/class-acf-location-comment.php:27
|
2332 |
msgid "Comment"
|
@@ -2354,7 +2335,7 @@ msgstr "عرض الواجهة الأمامية"
|
|
2354 |
|
2355 |
#: includes/locations/class-acf-location-current-user.php:103
|
2356 |
msgid "Viewing back end"
|
2357 |
-
msgstr "عرض
|
2358 |
|
2359 |
#: includes/locations/class-acf-location-nav-menu-item.php:27
|
2360 |
msgid "Menu Item"
|
@@ -2374,7 +2355,7 @@ msgstr "القوائم"
|
|
2374 |
|
2375 |
#: includes/locations/class-acf-location-page-parent.php:27
|
2376 |
msgid "Page Parent"
|
2377 |
-
msgstr "الصفحة
|
2378 |
|
2379 |
#: includes/locations/class-acf-location-page-template.php:27
|
2380 |
msgid "Page Template"
|
@@ -2394,31 +2375,31 @@ msgstr "الصفحة الرئسية"
|
|
2394 |
|
2395 |
#: includes/locations/class-acf-location-page-type.php:150
|
2396 |
msgid "Posts Page"
|
2397 |
-
msgstr "صفحة
|
2398 |
|
2399 |
#: includes/locations/class-acf-location-page-type.php:151
|
2400 |
msgid "Top Level Page (no parent)"
|
2401 |
-
msgstr "أعلى مستوى
|
2402 |
|
2403 |
#: includes/locations/class-acf-location-page-type.php:152
|
2404 |
msgid "Parent Page (has children)"
|
2405 |
-
msgstr "
|
2406 |
|
2407 |
#: includes/locations/class-acf-location-page-type.php:153
|
2408 |
msgid "Child Page (has parent)"
|
2409 |
-
msgstr "صفحة فرعية (لديها
|
2410 |
|
2411 |
#: includes/locations/class-acf-location-post-category.php:27
|
2412 |
msgid "Post Category"
|
2413 |
-
msgstr "
|
2414 |
|
2415 |
#: includes/locations/class-acf-location-post-format.php:27
|
2416 |
msgid "Post Format"
|
2417 |
-
msgstr "تنسيق
|
2418 |
|
2419 |
#: includes/locations/class-acf-location-post-status.php:27
|
2420 |
msgid "Post Status"
|
2421 |
-
msgstr "حالة
|
2422 |
|
2423 |
#: includes/locations/class-acf-location-post-taxonomy.php:27
|
2424 |
msgid "Post Taxonomy"
|
@@ -2431,7 +2412,7 @@ msgstr "قالب الصفحة:"
|
|
2431 |
|
2432 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2433 |
msgid "Taxonomy Term"
|
2434 |
-
msgstr "
|
2435 |
|
2436 |
#: includes/locations/class-acf-location-user-form.php:27
|
2437 |
msgid "User Form"
|
@@ -2466,7 +2447,7 @@ msgstr "تحديث"
|
|
2466 |
#: includes/validation.php:364
|
2467 |
#, php-format
|
2468 |
msgid "%s value is required"
|
2469 |
-
msgstr "%s
|
2470 |
|
2471 |
#. Plugin Name of the plugin/theme
|
2472 |
#: pro/acf-pro.php:28
|
@@ -2533,7 +2514,7 @@ msgstr "تحديث الاضافة"
|
|
2533 |
|
2534 |
#: pro/admin/views/html-settings-updates.php:98
|
2535 |
msgid "Please enter your license key above to unlock updates"
|
2536 |
-
msgstr "
|
2537 |
|
2538 |
#: pro/admin/views/html-settings-updates.php:104
|
2539 |
msgid "Check Again"
|
@@ -2588,16 +2569,16 @@ msgstr "بادئة أسماء الحقول"
|
|
2588 |
|
2589 |
#: pro/fields/class-acf-field-clone.php:1038
|
2590 |
msgid "Unknown field"
|
2591 |
-
msgstr "
|
2592 |
|
2593 |
#: pro/fields/class-acf-field-clone.php:1077
|
2594 |
msgid "Unknown field group"
|
2595 |
-
msgstr "مجموعة حقول
|
2596 |
|
2597 |
#: pro/fields/class-acf-field-clone.php:1081
|
2598 |
#, php-format
|
2599 |
msgid "All fields from %s field group"
|
2600 |
-
msgstr "جميع الحقول من
|
2601 |
|
2602 |
#: pro/fields/class-acf-field-flexible-content.php:42 pro/fields/class-acf-field-repeater.php:230 pro/fields/class-acf-field-repeater.php:534
|
2603 |
msgid "Add Row"
|
@@ -2609,39 +2590,39 @@ msgstr "التخطيط"
|
|
2609 |
|
2610 |
#: pro/fields/class-acf-field-flexible-content.php:46
|
2611 |
msgid "layouts"
|
2612 |
-
msgstr "
|
2613 |
|
2614 |
#: pro/fields/class-acf-field-flexible-content.php:47
|
2615 |
msgid "remove {layout}?"
|
2616 |
-
msgstr "إزالة {
|
2617 |
|
2618 |
#: pro/fields/class-acf-field-flexible-content.php:48
|
2619 |
msgid "This field requires at least {min} {identifier}"
|
2620 |
-
msgstr "يتطلب هذا الحقل على الأقل {
|
2621 |
|
2622 |
#: pro/fields/class-acf-field-flexible-content.php:49
|
2623 |
msgid "This field has a limit of {max} {identifier}"
|
2624 |
-
msgstr "يحتوي هذا الحقل حد {
|
2625 |
|
2626 |
#: pro/fields/class-acf-field-flexible-content.php:50
|
2627 |
msgid "This field requires at least {min} {label} {identifier}"
|
2628 |
-
msgstr "يتطلب هذا الحقل على الأقل {
|
2629 |
|
2630 |
#: pro/fields/class-acf-field-flexible-content.php:51
|
2631 |
msgid "Maximum {label} limit reached ({max} {identifier})"
|
2632 |
-
msgstr "تم الوصول إلى حد أقصى {
|
2633 |
|
2634 |
#: pro/fields/class-acf-field-flexible-content.php:52
|
2635 |
msgid "{available} {label} {identifier} available (max {max})"
|
2636 |
-
msgstr "{
|
2637 |
|
2638 |
#: pro/fields/class-acf-field-flexible-content.php:53
|
2639 |
msgid "{required} {label} {identifier} required (min {min})"
|
2640 |
-
msgstr "{
|
2641 |
|
2642 |
#: pro/fields/class-acf-field-flexible-content.php:54
|
2643 |
msgid "Flexible Content requires at least 1 layout"
|
2644 |
-
msgstr "يتطلب المحتوى
|
2645 |
|
2646 |
#: pro/fields/class-acf-field-flexible-content.php:288
|
2647 |
#, php-format
|
@@ -2654,7 +2635,7 @@ msgstr "إضافة تنسيق جديد"
|
|
2654 |
|
2655 |
#: pro/fields/class-acf-field-flexible-content.php:424
|
2656 |
msgid "Remove layout"
|
2657 |
-
msgstr "إزالة
|
2658 |
|
2659 |
#: pro/fields/class-acf-field-flexible-content.php:425 pro/fields/class-acf-field-repeater.php:360
|
2660 |
msgid "Click to toggle"
|
@@ -2670,15 +2651,15 @@ msgstr "إعادة ترتيب"
|
|
2670 |
|
2671 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
2672 |
msgid "Delete Layout"
|
2673 |
-
msgstr "حذف
|
2674 |
|
2675 |
#: pro/fields/class-acf-field-flexible-content.php:573
|
2676 |
msgid "Duplicate Layout"
|
2677 |
-
msgstr "
|
2678 |
|
2679 |
#: pro/fields/class-acf-field-flexible-content.php:574
|
2680 |
msgid "Add New Layout"
|
2681 |
-
msgstr "إضافة
|
2682 |
|
2683 |
#: pro/fields/class-acf-field-flexible-content.php:645
|
2684 |
msgid "Min"
|
@@ -2690,23 +2671,23 @@ msgstr "الحد أقصى"
|
|
2690 |
|
2691 |
#: pro/fields/class-acf-field-flexible-content.php:685 pro/fields/class-acf-field-repeater.php:530
|
2692 |
msgid "Button Label"
|
2693 |
-
msgstr "
|
2694 |
|
2695 |
#: pro/fields/class-acf-field-flexible-content.php:694
|
2696 |
msgid "Minimum Layouts"
|
2697 |
-
msgstr "
|
2698 |
|
2699 |
#: pro/fields/class-acf-field-flexible-content.php:703
|
2700 |
msgid "Maximum Layouts"
|
2701 |
-
msgstr "
|
2702 |
|
2703 |
#: pro/fields/class-acf-field-gallery.php:52
|
2704 |
msgid "Add Image to Gallery"
|
2705 |
-
msgstr "اضافة صورة
|
2706 |
|
2707 |
#: pro/fields/class-acf-field-gallery.php:56
|
2708 |
msgid "Maximum selection reached"
|
2709 |
-
msgstr "
|
2710 |
|
2711 |
#: pro/fields/class-acf-field-gallery.php:336
|
2712 |
msgid "Length"
|
@@ -2714,15 +2695,15 @@ msgstr "الطول"
|
|
2714 |
|
2715 |
#: pro/fields/class-acf-field-gallery.php:379
|
2716 |
msgid "Caption"
|
2717 |
-
msgstr "
|
2718 |
|
2719 |
#: pro/fields/class-acf-field-gallery.php:388
|
2720 |
msgid "Alt Text"
|
2721 |
-
msgstr "
|
2722 |
|
2723 |
#: pro/fields/class-acf-field-gallery.php:559
|
2724 |
msgid "Add to gallery"
|
2725 |
-
msgstr "اضافة الى
|
2726 |
|
2727 |
#: pro/fields/class-acf-field-gallery.php:563
|
2728 |
msgid "Bulk actions"
|
@@ -2730,19 +2711,19 @@ msgstr "- اجراءات جماعية -"
|
|
2730 |
|
2731 |
#: pro/fields/class-acf-field-gallery.php:564
|
2732 |
msgid "Sort by date uploaded"
|
2733 |
-
msgstr "
|
2734 |
|
2735 |
#: pro/fields/class-acf-field-gallery.php:565
|
2736 |
msgid "Sort by date modified"
|
2737 |
-
msgstr "
|
2738 |
|
2739 |
#: pro/fields/class-acf-field-gallery.php:566
|
2740 |
msgid "Sort by title"
|
2741 |
-
msgstr "فرز حسب العنوان"
|
2742 |
|
2743 |
#: pro/fields/class-acf-field-gallery.php:567
|
2744 |
msgid "Reverse current order"
|
2745 |
-
msgstr "عكس
|
2746 |
|
2747 |
#: pro/fields/class-acf-field-gallery.php:585
|
2748 |
msgid "Close"
|
@@ -2750,11 +2731,11 @@ msgstr "إغلاق"
|
|
2750 |
|
2751 |
#: pro/fields/class-acf-field-gallery.php:639
|
2752 |
msgid "Minimum Selection"
|
2753 |
-
msgstr "
|
2754 |
|
2755 |
#: pro/fields/class-acf-field-gallery.php:648
|
2756 |
msgid "Maximum Selection"
|
2757 |
-
msgstr "
|
2758 |
|
2759 |
#: pro/fields/class-acf-field-gallery.php:657
|
2760 |
msgid "Insert"
|
@@ -2774,11 +2755,11 @@ msgstr "إلحاق بالبداية"
|
|
2774 |
|
2775 |
#: pro/fields/class-acf-field-repeater.php:47
|
2776 |
msgid "Minimum rows reached ({min} rows)"
|
2777 |
-
msgstr "
|
2778 |
|
2779 |
#: pro/fields/class-acf-field-repeater.php:48
|
2780 |
msgid "Maximum rows reached ({max} rows)"
|
2781 |
-
msgstr "
|
2782 |
|
2783 |
#: pro/fields/class-acf-field-repeater.php:405
|
2784 |
msgid "Add row"
|
@@ -2786,11 +2767,11 @@ msgstr "إضافة صف"
|
|
2786 |
|
2787 |
#: pro/fields/class-acf-field-repeater.php:406
|
2788 |
msgid "Remove row"
|
2789 |
-
msgstr "إزالة
|
2790 |
|
2791 |
#: pro/fields/class-acf-field-repeater.php:483
|
2792 |
msgid "Collapsed"
|
2793 |
-
msgstr "
|
2794 |
|
2795 |
#: pro/fields/class-acf-field-repeater.php:484
|
2796 |
msgid "Select a sub field to show when row is collapsed"
|
@@ -2798,15 +2779,15 @@ msgstr "حدد حقل فرعي لإظهار عند طي الصف"
|
|
2798 |
|
2799 |
#: pro/fields/class-acf-field-repeater.php:494
|
2800 |
msgid "Minimum Rows"
|
2801 |
-
msgstr "الصفوف
|
2802 |
|
2803 |
#: pro/fields/class-acf-field-repeater.php:504
|
2804 |
msgid "Maximum Rows"
|
2805 |
-
msgstr "الصفوف
|
2806 |
|
2807 |
#: pro/locations/class-acf-location-options-page.php:70
|
2808 |
msgid "No options pages exist"
|
2809 |
-
msgstr "لا توجد
|
2810 |
|
2811 |
#: pro/options-page.php:51
|
2812 |
msgid "Options"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro\n"
|
4 |
"POT-Creation-Date: 2017-06-27 15:37+1000\n"
|
5 |
+
"PO-Revision-Date: 2019-02-11 10:45+1000\n"
|
6 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
7 |
"Language-Team: Adil el hallaoui <servicewb11@gmail.com>\n"
|
8 |
"Language: ar\n"
|
294 |
#. Description of the plugin/theme
|
295 |
#: includes/admin/admin-field-groups.php:607
|
296 |
msgid "Customise WordPress with powerful, professional and intuitive fields."
|
297 |
+
msgstr "خصص ووردبرس بحقول قوية، مهنية، وبديهية."
|
298 |
|
299 |
#: includes/admin/admin-field-groups.php:609 includes/admin/settings-info.php:76 pro/admin/views/html-settings-updates.php:111
|
300 |
msgid "Changelog"
|
326 |
msgstr "احترافي"
|
327 |
|
328 |
#: includes/admin/admin-field-groups.php:628
|
329 |
+
#, php-format
|
330 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
331 |
+
msgstr "شكرا لك لاستخدامك <a href=\"%s\">ACF</a>."
|
332 |
|
333 |
#: includes/admin/admin-field-groups.php:668
|
334 |
msgid "Duplicate this item"
|
360 |
msgstr "تطبيق"
|
361 |
|
362 |
#: includes/admin/admin-field-groups.php:798
|
|
|
363 |
msgid "Bulk Actions"
|
364 |
msgstr "اجراءات جماعية"
|
365 |
|
476 |
|
477 |
#: includes/admin/views/field-group-field.php:50
|
478 |
msgid "Move field to another group"
|
479 |
+
msgstr "نقل الحقل إلى مجموعة أخرى"
|
480 |
|
481 |
#: includes/admin/views/field-group-field.php:50
|
482 |
msgid "Move"
|
504 |
|
505 |
#: includes/admin/views/field-group-field.php:79
|
506 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
507 |
+
msgstr "كلمة واحدة، بدون مسافات. مسموح بالشرطات والشرطات السفلية"
|
508 |
|
509 |
#: includes/admin/views/field-group-field.php:89
|
510 |
msgid "Field Type"
|
532 |
|
533 |
#: includes/admin/views/field-group-field.php:155
|
534 |
msgid "class"
|
535 |
+
msgstr "class (الفئة)"
|
536 |
|
537 |
#: includes/admin/views/field-group-field.php:168
|
538 |
msgid "id"
|
539 |
+
msgstr "id (المعرف)"
|
540 |
|
541 |
#: includes/admin/views/field-group-field.php:180
|
542 |
msgid "Close Field"
|
721 |
|
722 |
#: includes/admin/views/install-network.php:9 includes/admin/views/install.php:3
|
723 |
msgid "Advanced Custom Fields Database Upgrade"
|
724 |
+
msgstr " ترقية قاعدة بيانات الحقول المخصصة المتقدمة"
|
725 |
|
726 |
#: includes/admin/views/install-network.php:11
|
727 |
#, php-format
|
817 |
#: includes/admin/views/settings-info.php:4
|
818 |
#, php-format
|
819 |
msgid "Thank you for updating! ACF %s is bigger and better than ever before. We hope you like it."
|
820 |
+
msgstr "شكرا لك للتحديث! ACF %s أكبر وأفضل من أي وقت مضى."
|
821 |
|
822 |
#: includes/admin/views/settings-info.php:17
|
823 |
msgid "A smoother custom field experience"
|
857 |
|
858 |
#: includes/admin/views/settings-info.php:45
|
859 |
msgid "We're changing the way premium functionality is delivered in an exciting way!"
|
860 |
+
msgstr "نحن نغير الطريقة التي يتم بها تقديم الأداء المتميز بطريقة مثيرة!"
|
861 |
|
862 |
#: includes/admin/views/settings-info.php:46
|
863 |
#, php-format
|
928 |
|
929 |
#: includes/admin/views/settings-info.php:89
|
930 |
msgid "New auto export to JSON feature allows field settings to be version controlled"
|
931 |
+
msgstr "يسمح التصدير الاتوماتيكي الجديدة إلى JSON لإعدادات الحقول بأن تكون قابلة لتحكم الإصدارات"
|
932 |
|
933 |
#: includes/admin/views/settings-info.php:93
|
934 |
msgid "Swapped XML for JSON"
|
935 |
+
msgstr "استبدال XML بـ JSON"
|
936 |
|
937 |
#: includes/admin/views/settings-info.php:94
|
938 |
msgid "Import / Export now uses JSON in favour of XML"
|
939 |
+
msgstr "الاستيراد والتصدير الآن يستخدم JSON عوضا عن XML"
|
940 |
|
941 |
#: includes/admin/views/settings-info.php:98
|
942 |
msgid "New Forms"
|
944 |
|
945 |
#: includes/admin/views/settings-info.php:99
|
946 |
msgid "Fields can now be mapped to comments, widgets and all user forms!"
|
947 |
+
msgstr "يمكن الآن تعيين الحقول إلى التعليقات، الودجات وجميع نماذج المستخدم!"
|
948 |
|
949 |
#: includes/admin/views/settings-info.php:106
|
950 |
msgid "A new field for embedding content has been added"
|
956 |
|
957 |
#: includes/admin/views/settings-info.php:111
|
958 |
msgid "The gallery field has undergone a much needed facelift"
|
959 |
+
msgstr "شهد حقل المعرض عملية تغيير جذرية"
|
960 |
|
961 |
#: includes/admin/views/settings-info.php:115
|
962 |
msgid "New Settings"
|
964 |
|
965 |
#: includes/admin/views/settings-info.php:116
|
966 |
msgid "Field group settings have been added for label placement and instruction placement"
|
967 |
+
msgstr "تمت إضافة إعدادات لموضع التسمية والتعليمات بمجموعة الحقول "
|
968 |
|
969 |
#: includes/admin/views/settings-info.php:122
|
970 |
msgid "Better Front End Forms"
|
971 |
+
msgstr "نماذج افضل"
|
972 |
|
973 |
#: includes/admin/views/settings-info.php:123
|
974 |
msgid "acf_form() can now create a new post on submission"
|
975 |
+
msgstr "acf_form() يمكن الآن إنشاء مشاركة جديدة عند الإرسال"
|
976 |
|
977 |
#: includes/admin/views/settings-info.php:127
|
978 |
msgid "Better Validation"
|
979 |
+
msgstr "تحقق افضل"
|
980 |
|
981 |
#: includes/admin/views/settings-info.php:128
|
982 |
msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
983 |
+
msgstr "يتم الآن التحقق من صحة النموذج عن طريق PHP + AJAX بدلا من جافا سكريبت فقط"
|
984 |
|
985 |
#: includes/admin/views/settings-info.php:132
|
986 |
msgid "Relationship Field"
|
988 |
|
989 |
#: includes/admin/views/settings-info.php:133
|
990 |
msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
991 |
+
msgstr "إعداد جديد لحقل العلاقة خاص بالفلاتر (البحث، نوع المقالة، التصنيف)"
|
992 |
|
993 |
#: includes/admin/views/settings-info.php:139
|
994 |
msgid "Moving Fields"
|
996 |
|
997 |
#: includes/admin/views/settings-info.php:140
|
998 |
msgid "New field group functionality allows you to move a field between groups & parents"
|
999 |
+
msgstr "يمكن الان نقل الحقل بين المجموعات و المجموعات الأصلية"
|
1000 |
|
1001 |
#: includes/admin/views/settings-info.php:144 includes/fields/class-acf-field-page_link.php:36
|
1002 |
msgid "Page Link"
|
1008 |
|
1009 |
#: includes/admin/views/settings-info.php:149
|
1010 |
msgid "Better Options Pages"
|
1011 |
+
msgstr "صفحات خيارات أفضل"
|
1012 |
|
1013 |
#: includes/admin/views/settings-info.php:150
|
1014 |
msgid "New functions for options page allow creation of both parent and child menu pages"
|
1015 |
+
msgstr "مهام جديدة لصفحة الخيارات تسمح بإنشاء كل من صفحات القائمة الأصلية والفرعية"
|
1016 |
|
1017 |
#: includes/admin/views/settings-info.php:159
|
1018 |
#, php-format
|
1019 |
msgid "We think you'll love the changes in %s."
|
1020 |
+
msgstr "نعتقد أنك ستحب هذه التغييرات في %s."
|
1021 |
|
1022 |
#: includes/admin/views/settings-tools-export.php:23
|
1023 |
msgid "Export Field Groups to PHP"
|
1024 |
+
msgstr "تصدير مجموعات الحقول لـ PHP"
|
1025 |
|
1026 |
#: includes/admin/views/settings-tools-export.php:27
|
1027 |
msgid ""
|
1028 |
"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 "
|
1029 |
"fields/settings. Simply copy and paste the following code to your theme's functions.php file or include it within an external file."
|
1030 |
msgstr ""
|
1031 |
+
"يمكن استخدام الكود التالي لتسجيل نسخة محلية من مجموعة الحقول المحددة. مجموعة الحقول المحلية يمكن أن توفر العديد من المزايا مثل التحميل بشكل أسرع، والتحكم في الإصدار والإعدادات والحقول "
|
1032 |
+
"الديناميكية. ببساطة أنسخ وألصق الكود التالي إلى ملف functions.php بالقالب الخاص بك أو إدراجه ضمن ملف خارجي."
|
1033 |
|
1034 |
#: includes/admin/views/settings-tools.php:5
|
1035 |
msgid "Select Field Groups"
|
1037 |
|
1038 |
#: includes/admin/views/settings-tools.php:35
|
1039 |
msgid "Export Field Groups"
|
1040 |
+
msgstr "تصدير مجموعات الحقول"
|
1041 |
|
1042 |
#: includes/admin/views/settings-tools.php:38
|
1043 |
msgid ""
|
1044 |
"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. "
|
1045 |
"Use the generate button to export to PHP code which you can place in your theme."
|
1046 |
msgstr ""
|
1047 |
+
"حدد مجموعات الحقول التي ترغب في تصديرها ومن ثم حدد طريقة التصدير. استخدام زر التحميل للتصدير إلى ملف .json الذي يمكنك من ثم استيراده إلى تثبيت ACF آخر. استخدم زر التوليد للتصدير بصيغة PHP "
|
1048 |
+
"الذي يمكنك ادراجه في القالب الخاص بك."
|
1049 |
|
1050 |
#: includes/admin/views/settings-tools.php:50
|
1051 |
msgid "Download export file"
|
1053 |
|
1054 |
#: includes/admin/views/settings-tools.php:51
|
1055 |
msgid "Generate export code"
|
1056 |
+
msgstr "توليد كود التصدير"
|
1057 |
|
1058 |
#: includes/admin/views/settings-tools.php:64
|
1059 |
msgid "Import Field Groups"
|
1060 |
+
msgstr "استيراد مجموعات الحقول"
|
1061 |
|
1062 |
#: includes/admin/views/settings-tools.php:67
|
1063 |
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."
|
1064 |
+
msgstr "حدد ملف JSON الذي ترغب في استيراده. عند النقر على زر استيراد أدناه، ACF ستقوم باستيراد مجموعات الحقول."
|
1065 |
|
1066 |
#: includes/admin/views/settings-tools.php:77 includes/fields/class-acf-field-file.php:46
|
1067 |
msgid "Select File"
|
1092 |
msgstr "(بدون عنوان)"
|
1093 |
|
1094 |
#: includes/api/api-helpers.php:1874 includes/fields/class-acf-field-page_link.php:284 includes/fields/class-acf-field-post_object.php:283 includes/fields/class-acf-field-taxonomy.php:992
|
|
|
1095 |
msgid "Parent"
|
1096 |
+
msgstr "الأب"
|
1097 |
|
1098 |
#: includes/api/api-helpers.php:3891
|
1099 |
#, php-format
|
1100 |
msgid "Image width must be at least %dpx."
|
1101 |
+
msgstr "يجب أن يكون عرض الصورة على الأقل %dpx."
|
1102 |
|
1103 |
#: includes/api/api-helpers.php:3896
|
1104 |
#, php-format
|
1105 |
msgid "Image width must not exceed %dpx."
|
1106 |
+
msgstr "يجب إلا يتجاوز عرض الصورة %dpx."
|
1107 |
|
1108 |
#: includes/api/api-helpers.php:3912
|
1109 |
#, php-format
|
1110 |
msgid "Image height must be at least %dpx."
|
1111 |
+
msgstr "يجب أن يكون ارتفاع الصورة على الأقل %dpx."
|
1112 |
|
1113 |
#: includes/api/api-helpers.php:3917
|
1114 |
#, php-format
|
1115 |
msgid "Image height must not exceed %dpx."
|
1116 |
+
msgstr "يجب إلا يتجاوز ارتفاع الصورة %dpx."
|
1117 |
|
1118 |
#: includes/api/api-helpers.php:3935
|
1119 |
#, php-format
|
1120 |
msgid "File size must be at least %s."
|
1121 |
+
msgstr "يجب إلا يقل حجم الملف عن %s."
|
1122 |
|
1123 |
#: includes/api/api-helpers.php:3940
|
1124 |
#, php-format
|
1144 |
|
1145 |
#: includes/fields.php:147
|
1146 |
msgid "Relational"
|
1147 |
+
msgstr "ذو علاقة"
|
1148 |
|
1149 |
#: includes/fields.php:148
|
1150 |
msgid "jQuery"
|
1151 |
+
msgstr "jQuery"
|
1152 |
|
1153 |
#: includes/fields.php:149 includes/fields/class-acf-field-checkbox.php:286 includes/fields/class-acf-field-group.php:485 includes/fields/class-acf-field-radio.php:300
|
1154 |
#: pro/fields/class-acf-field-clone.php:889 pro/fields/class-acf-field-flexible-content.php:569 pro/fields/class-acf-field-flexible-content.php:618 pro/fields/class-acf-field-repeater.php:514
|
1157 |
|
1158 |
#: includes/fields.php:305
|
1159 |
msgid "Field type does not exist"
|
1160 |
+
msgstr "نوع الحقل غير موجود"
|
1161 |
|
1162 |
#: includes/fields.php:305
|
1163 |
msgid "Unknown"
|
1164 |
+
msgstr "غير معروف"
|
1165 |
|
1166 |
#: includes/fields/class-acf-field-checkbox.php:36 includes/fields/class-acf-field-taxonomy.php:786
|
1167 |
msgid "Checkbox"
|
1168 |
+
msgstr "مربع اختيار"
|
1169 |
|
1170 |
#: includes/fields/class-acf-field-checkbox.php:150
|
1171 |
msgid "Toggle All"
|
1172 |
+
msgstr "تبديل الكل"
|
1173 |
|
1174 |
#: includes/fields/class-acf-field-checkbox.php:207
|
|
|
1175 |
msgid "Add new choice"
|
1176 |
+
msgstr "إضافة اختيار جديد"
|
1177 |
|
1178 |
#: includes/fields/class-acf-field-checkbox.php:246 includes/fields/class-acf-field-radio.php:250 includes/fields/class-acf-field-select.php:466
|
1179 |
msgid "Choices"
|
1185 |
|
1186 |
#: includes/fields/class-acf-field-checkbox.php:247 includes/fields/class-acf-field-radio.php:251 includes/fields/class-acf-field-select.php:467
|
1187 |
msgid "For more control, you may specify both a value and label like this:"
|
1188 |
+
msgstr "لمزيد من التحكم، يمكنك تحديد كل من القيمة والتسمية كما يلي:"
|
1189 |
|
1190 |
#: includes/fields/class-acf-field-checkbox.php:247 includes/fields/class-acf-field-radio.php:251 includes/fields/class-acf-field-select.php:467
|
1191 |
msgid "red : Red"
|
1192 |
+
msgstr "أحمر : أحمر"
|
1193 |
|
1194 |
#: includes/fields/class-acf-field-checkbox.php:255
|
|
|
1195 |
msgid "Allow Custom"
|
1196 |
+
msgstr "اسمح بالتخصيص"
|
1197 |
|
1198 |
#: includes/fields/class-acf-field-checkbox.php:260
|
1199 |
msgid "Allow 'custom' values to be added"
|
1200 |
+
msgstr "السماح بإضافة قيم \"مخصصة\""
|
1201 |
|
1202 |
#: includes/fields/class-acf-field-checkbox.php:266
|
|
|
1203 |
msgid "Save Custom"
|
1204 |
+
msgstr "حفظ المخصص"
|
1205 |
|
1206 |
#: includes/fields/class-acf-field-checkbox.php:271
|
|
|
1207 |
msgid "Save 'custom' values to the field's choices"
|
1208 |
+
msgstr "حفظ القيم \"المخصصة\" لخيارات الحقل"
|
1209 |
|
1210 |
#: includes/fields/class-acf-field-checkbox.php:277 includes/fields/class-acf-field-color_picker.php:146 includes/fields/class-acf-field-email.php:133
|
1211 |
#: includes/fields/class-acf-field-number.php:145 includes/fields/class-acf-field-radio.php:291 includes/fields/class-acf-field-select.php:475 includes/fields/class-acf-field-text.php:142
|
1232 |
|
1233 |
#: includes/fields/class-acf-field-checkbox.php:301
|
1234 |
msgid "Prepend an extra checkbox to toggle all choices"
|
1235 |
+
msgstr "أضف مربع اختيار إضافي في البداية لتبديل جميع الخيارات"
|
1236 |
|
1237 |
#: includes/fields/class-acf-field-checkbox.php:310 includes/fields/class-acf-field-file.php:219 includes/fields/class-acf-field-image.php:206 includes/fields/class-acf-field-link.php:180
|
1238 |
#: includes/fields/class-acf-field-radio.php:314 includes/fields/class-acf-field-taxonomy.php:839
|
1242 |
#: includes/fields/class-acf-field-checkbox.php:311 includes/fields/class-acf-field-file.php:220 includes/fields/class-acf-field-image.php:207 includes/fields/class-acf-field-link.php:181
|
1243 |
#: includes/fields/class-acf-field-radio.php:315
|
1244 |
msgid "Specify the returned value on front end"
|
1245 |
+
msgstr "حدد القيمة التي سيتم إرجاعها في الواجهة الأمامية"
|
1246 |
|
1247 |
#: includes/fields/class-acf-field-checkbox.php:316 includes/fields/class-acf-field-radio.php:320 includes/fields/class-acf-field-select.php:529
|
|
|
1248 |
msgid "Value"
|
1249 |
+
msgstr "قيمة"
|
1250 |
|
1251 |
#: includes/fields/class-acf-field-checkbox.php:318 includes/fields/class-acf-field-radio.php:322 includes/fields/class-acf-field-select.php:531
|
1252 |
msgid "Both (Array)"
|
1253 |
+
msgstr "كلاهما (Array)"
|
1254 |
|
1255 |
#: includes/fields/class-acf-field-color_picker.php:36
|
1256 |
msgid "Color Picker"
|
1266 |
|
1267 |
#: includes/fields/class-acf-field-color_picker.php:85
|
1268 |
msgid "Select Color"
|
1269 |
+
msgstr "اختر اللون"
|
1270 |
|
1271 |
#: includes/fields/class-acf-field-color_picker.php:86
|
1272 |
msgid "Current Color"
|
1273 |
+
msgstr "اللون الحالي"
|
1274 |
|
1275 |
#: includes/fields/class-acf-field-date_picker.php:36
|
1276 |
msgid "Date Picker"
|
1277 |
+
msgstr "عنصر إختيار التاريخ"
|
1278 |
|
1279 |
#: includes/fields/class-acf-field-date_picker.php:44
|
|
|
1280 |
msgctxt "Date Picker JS closeText"
|
1281 |
msgid "Done"
|
1282 |
msgstr "تم"
|
1283 |
|
1284 |
#: includes/fields/class-acf-field-date_picker.php:45
|
|
|
1285 |
msgctxt "Date Picker JS currentText"
|
1286 |
msgid "Today"
|
1287 |
msgstr "اليوم"
|
1289 |
#: includes/fields/class-acf-field-date_picker.php:46
|
1290 |
msgctxt "Date Picker JS nextText"
|
1291 |
msgid "Next"
|
1292 |
+
msgstr "التالي"
|
1293 |
|
1294 |
#: includes/fields/class-acf-field-date_picker.php:47
|
1295 |
msgctxt "Date Picker JS prevText"
|
1296 |
msgid "Prev"
|
1297 |
+
msgstr "السابق"
|
1298 |
|
1299 |
#: includes/fields/class-acf-field-date_picker.php:48
|
1300 |
msgctxt "Date Picker JS weekHeader"
|
1301 |
msgid "Wk"
|
1302 |
+
msgstr "اسبوع"
|
1303 |
|
1304 |
#: includes/fields/class-acf-field-date_picker.php:223 includes/fields/class-acf-field-date_time_picker.php:197 includes/fields/class-acf-field-time_picker.php:127
|
|
|
1305 |
msgid "Display Format"
|
1306 |
msgstr "تنسيق العرض"
|
1307 |
|
1308 |
#: includes/fields/class-acf-field-date_picker.php:224 includes/fields/class-acf-field-date_time_picker.php:198 includes/fields/class-acf-field-time_picker.php:128
|
1309 |
msgid "The format displayed when editing a post"
|
1310 |
+
msgstr "تنسيق العرض عند تحرير المقال"
|
1311 |
|
1312 |
#: includes/fields/class-acf-field-date_picker.php:232 includes/fields/class-acf-field-date_picker.php:263 includes/fields/class-acf-field-date_time_picker.php:207
|
1313 |
#: includes/fields/class-acf-field-date_time_picker.php:224 includes/fields/class-acf-field-time_picker.php:135 includes/fields/class-acf-field-time_picker.php:150
|
|
|
1314 |
msgid "Custom:"
|
1315 |
+
msgstr "مخصص:"
|
1316 |
|
1317 |
#: includes/fields/class-acf-field-date_picker.php:242
|
|
|
1318 |
msgid "Save Format"
|
1319 |
+
msgstr "حفظ التنسيق"
|
1320 |
|
1321 |
#: includes/fields/class-acf-field-date_picker.php:243
|
|
|
1322 |
msgid "The format used when saving a value"
|
1323 |
+
msgstr "التنسيق المستخدم عند حفظ القيمة"
|
1324 |
|
1325 |
#: includes/fields/class-acf-field-date_picker.php:253 includes/fields/class-acf-field-date_time_picker.php:214 includes/fields/class-acf-field-post_object.php:447
|
1326 |
#: includes/fields/class-acf-field-relationship.php:778 includes/fields/class-acf-field-select.php:524 includes/fields/class-acf-field-time_picker.php:142
|
1327 |
msgid "Return Format"
|
1328 |
+
msgstr "التنسيق المسترجع"
|
1329 |
|
1330 |
#: includes/fields/class-acf-field-date_picker.php:254 includes/fields/class-acf-field-date_time_picker.php:215 includes/fields/class-acf-field-time_picker.php:143
|
1331 |
msgid "The format returned via template functions"
|
1332 |
+
msgstr "التنسيق عاد عن طريق وظائف القالب"
|
1333 |
|
1334 |
#: includes/fields/class-acf-field-date_picker.php:272 includes/fields/class-acf-field-date_time_picker.php:231
|
1335 |
msgid "Week Starts On"
|
1336 |
msgstr "يبدأ الأسبوع في"
|
1337 |
|
1338 |
#: includes/fields/class-acf-field-date_time_picker.php:36
|
|
|
1339 |
msgid "Date Time Picker"
|
1340 |
+
msgstr "عنصر إختيار التاريخ والوقت"
|
1341 |
|
1342 |
#: includes/fields/class-acf-field-date_time_picker.php:44
|
1343 |
msgctxt "Date Time Picker JS timeOnlyTitle"
|
1380 |
msgstr "المنطقة الزمنية"
|
1381 |
|
1382 |
#: includes/fields/class-acf-field-date_time_picker.php:52
|
|
|
1383 |
msgctxt "Date Time Picker JS currentText"
|
1384 |
msgid "Now"
|
1385 |
+
msgstr "الان"
|
1386 |
|
1387 |
#: includes/fields/class-acf-field-date_time_picker.php:53
|
1388 |
msgctxt "Date Time Picker JS closeText"
|
1392 |
#: includes/fields/class-acf-field-date_time_picker.php:54
|
1393 |
msgctxt "Date Time Picker JS selectText"
|
1394 |
msgid "Select"
|
1395 |
+
msgstr "اختر"
|
1396 |
|
1397 |
#: includes/fields/class-acf-field-date_time_picker.php:56
|
1398 |
msgctxt "Date Time Picker JS amText"
|
1435 |
|
1436 |
#: includes/fields/class-acf-field-email.php:151 includes/fields/class-acf-field-number.php:163 includes/fields/class-acf-field-password.php:143 includes/fields/class-acf-field-text.php:160
|
1437 |
msgid "Prepend"
|
1438 |
+
msgstr "بادئة"
|
1439 |
|
1440 |
#: includes/fields/class-acf-field-email.php:152 includes/fields/class-acf-field-number.php:164 includes/fields/class-acf-field-password.php:144 includes/fields/class-acf-field-text.php:161
|
1441 |
msgid "Appears before the input"
|
1447 |
|
1448 |
#: includes/fields/class-acf-field-email.php:161 includes/fields/class-acf-field-number.php:173 includes/fields/class-acf-field-password.php:153 includes/fields/class-acf-field-text.php:170
|
1449 |
msgid "Appears after the input"
|
1450 |
+
msgstr "يظهر بعد الإدخال"
|
1451 |
|
1452 |
#: includes/fields/class-acf-field-file.php:36
|
1453 |
msgid "File"
|
1459 |
|
1460 |
#: includes/fields/class-acf-field-file.php:48
|
1461 |
msgid "Update File"
|
1462 |
+
msgstr "تحديث الملف"
|
1463 |
|
1464 |
#: includes/fields/class-acf-field-file.php:49 includes/fields/class-acf-field-image.php:54 includes/media.php:57 pro/fields/class-acf-field-gallery.php:55
|
1465 |
msgid "Uploaded to this post"
|
1466 |
+
msgstr "مرفوع الى هذه المقالة"
|
1467 |
|
1468 |
#: includes/fields/class-acf-field-file.php:145
|
|
|
1469 |
msgid "File name"
|
1470 |
msgstr "إسم الملف"
|
1471 |
|
1480 |
|
1481 |
#: includes/fields/class-acf-field-file.php:225
|
1482 |
msgid "File Array"
|
1483 |
+
msgstr "مصفوفة الملف"
|
1484 |
|
1485 |
#: includes/fields/class-acf-field-file.php:226
|
1486 |
msgid "File URL"
|
1507 |
|
1508 |
#: includes/fields/class-acf-field-file.php:241 includes/fields/class-acf-field-image.php:238 pro/fields/class-acf-field-gallery.php:677
|
1509 |
msgid "Uploaded to post"
|
1510 |
+
msgstr "مرفوع الى المقالة"
|
1511 |
|
1512 |
#: includes/fields/class-acf-field-file.php:248 includes/fields/class-acf-field-image.php:245 pro/fields/class-acf-field-gallery.php:684
|
1513 |
msgid "Minimum"
|
1514 |
+
msgstr "الحد الأدنى"
|
1515 |
|
1516 |
#: includes/fields/class-acf-field-file.php:249 includes/fields/class-acf-field-file.php:260
|
1517 |
msgid "Restrict which files can be uploaded"
|
1518 |
+
msgstr "تقييد الملفات التي يمكن رفعها"
|
1519 |
|
1520 |
#: includes/fields/class-acf-field-file.php:259 includes/fields/class-acf-field-image.php:274 pro/fields/class-acf-field-gallery.php:713
|
1521 |
msgid "Maximum"
|
1527 |
|
1528 |
#: includes/fields/class-acf-field-file.php:271 includes/fields/class-acf-field-image.php:304 pro/fields/class-acf-field-gallery.php:743
|
1529 |
msgid "Comma separated list. Leave blank for all types"
|
1530 |
+
msgstr "قائمة مفصولة بفواصل. اترك المساحة فارغة للسماح بالكل"
|
1531 |
|
1532 |
#: includes/fields/class-acf-field-google-map.php:36
|
1533 |
msgid "Google Map"
|
1535 |
|
1536 |
#: includes/fields/class-acf-field-google-map.php:51
|
1537 |
msgid "Locating"
|
1538 |
+
msgstr "تحديد الموقع"
|
1539 |
|
1540 |
#: includes/fields/class-acf-field-google-map.php:52
|
1541 |
msgid "Sorry, this browser does not support geolocation"
|
1542 |
+
msgstr "عذراً، هذا المتصفح لا يدعم تحديد الموقع الجغرافي"
|
1543 |
|
1544 |
#: includes/fields/class-acf-field-google-map.php:133
|
1545 |
msgid "Clear location"
|
1546 |
+
msgstr "مسح الموقع"
|
1547 |
|
1548 |
#: includes/fields/class-acf-field-google-map.php:134
|
1549 |
msgid "Find current location"
|
1550 |
+
msgstr "البحث عن الموقع الحالي"
|
1551 |
|
1552 |
#: includes/fields/class-acf-field-google-map.php:137
|
1553 |
msgid "Search for address..."
|
1559 |
|
1560 |
#: includes/fields/class-acf-field-google-map.php:168 includes/fields/class-acf-field-google-map.php:179
|
1561 |
msgid "Center the initial map"
|
1562 |
+
msgstr "مركز الخريطة الأولية"
|
1563 |
|
1564 |
#: includes/fields/class-acf-field-google-map.php:190
|
1565 |
msgid "Zoom"
|
1566 |
+
msgstr "التكبير"
|
1567 |
|
1568 |
#: includes/fields/class-acf-field-google-map.php:191
|
1569 |
msgid "Set the initial zoom level"
|
1592 |
|
1593 |
#: includes/fields/class-acf-field-group.php:491 pro/fields/class-acf-field-clone.php:895 pro/fields/class-acf-field-flexible-content.php:629 pro/fields/class-acf-field-repeater.php:522
|
1594 |
msgid "Block"
|
1595 |
+
msgstr "كتلة"
|
1596 |
|
1597 |
#: includes/fields/class-acf-field-group.php:492 pro/fields/class-acf-field-clone.php:896 pro/fields/class-acf-field-flexible-content.php:628 pro/fields/class-acf-field-repeater.php:521
|
1598 |
msgid "Table"
|
1604 |
|
1605 |
#: includes/fields/class-acf-field-image.php:36
|
1606 |
msgid "Image"
|
1607 |
+
msgstr "صورة"
|
1608 |
|
1609 |
#: includes/fields/class-acf-field-image.php:51
|
1610 |
msgid "Select Image"
|
1620 |
|
1621 |
#: includes/fields/class-acf-field-image.php:55
|
1622 |
msgid "All images"
|
1623 |
+
msgstr "جميع الصور"
|
1624 |
|
1625 |
#: includes/fields/class-acf-field-image.php:142 includes/fields/class-acf-field-link.php:153 includes/input.php:267 pro/fields/class-acf-field-gallery.php:358
|
1626 |
#: pro/fields/class-acf-field-gallery.php:546
|
1629 |
|
1630 |
#: includes/fields/class-acf-field-image.php:158
|
1631 |
msgid "No image selected"
|
1632 |
+
msgstr "لم يتم اختيار صورة"
|
1633 |
|
1634 |
#: includes/fields/class-acf-field-image.php:158
|
1635 |
msgid "Add Image"
|
1637 |
|
1638 |
#: includes/fields/class-acf-field-image.php:212
|
1639 |
msgid "Image Array"
|
1640 |
+
msgstr "مصفوفة الصور"
|
1641 |
|
1642 |
#: includes/fields/class-acf-field-image.php:213
|
1643 |
msgid "Image URL"
|
1649 |
|
1650 |
#: includes/fields/class-acf-field-image.php:221
|
1651 |
msgid "Preview Size"
|
1652 |
+
msgstr "حجم المعاينة"
|
1653 |
|
1654 |
#: includes/fields/class-acf-field-image.php:222
|
1655 |
msgid "Shown when entering data"
|
1656 |
+
msgstr "تظهر عند إدخال البيانات"
|
1657 |
|
1658 |
#: includes/fields/class-acf-field-image.php:246 includes/fields/class-acf-field-image.php:275 pro/fields/class-acf-field-gallery.php:685 pro/fields/class-acf-field-gallery.php:714
|
1659 |
msgid "Restrict which images can be uploaded"
|
1660 |
+
msgstr "تقييد الصور التي يمكن رفعها"
|
1661 |
|
1662 |
#: includes/fields/class-acf-field-image.php:249 includes/fields/class-acf-field-image.php:278 includes/fields/class-acf-field-oembed.php:286 pro/fields/class-acf-field-gallery.php:688
|
1663 |
#: pro/fields/class-acf-field-gallery.php:717
|
1664 |
msgid "Width"
|
1665 |
+
msgstr "العرض"
|
1666 |
|
1667 |
#: includes/fields/class-acf-field-link.php:36
|
1668 |
msgid "Link"
|
1669 |
+
msgstr "الرابط"
|
1670 |
|
1671 |
#: includes/fields/class-acf-field-link.php:146
|
1672 |
msgid "Select Link"
|
1677 |
msgstr "فتح في نافذة / علامة تبويب جديدة"
|
1678 |
|
1679 |
#: includes/fields/class-acf-field-link.php:186
|
|
|
1680 |
msgid "Link Array"
|
1681 |
+
msgstr "مصفوفة الرابط"
|
1682 |
|
1683 |
#: includes/fields/class-acf-field-link.php:187
|
|
|
1684 |
msgid "Link URL"
|
1685 |
+
msgstr "رابط URL"
|
1686 |
|
1687 |
#: includes/fields/class-acf-field-message.php:36 includes/fields/class-acf-field-message.php:115 includes/fields/class-acf-field-true_false.php:141
|
1688 |
msgid "Message"
|
1690 |
|
1691 |
#: includes/fields/class-acf-field-message.php:124 includes/fields/class-acf-field-textarea.php:176
|
1692 |
msgid "New Lines"
|
1693 |
+
msgstr "سطور جديدة"
|
1694 |
|
1695 |
#: includes/fields/class-acf-field-message.php:125 includes/fields/class-acf-field-textarea.php:177
|
1696 |
msgid "Controls how new lines are rendered"
|
1697 |
+
msgstr "تحكم في طريقة عرض السطور الجديدة"
|
1698 |
|
1699 |
#: includes/fields/class-acf-field-message.php:129 includes/fields/class-acf-field-textarea.php:181
|
1700 |
msgid "Automatically add paragraphs"
|
1702 |
|
1703 |
#: includes/fields/class-acf-field-message.php:130 includes/fields/class-acf-field-textarea.php:182
|
1704 |
msgid "Automatically add <br>"
|
1705 |
+
msgstr "اضف <br> تلقائياً"
|
1706 |
|
1707 |
#: includes/fields/class-acf-field-message.php:131 includes/fields/class-acf-field-textarea.php:183
|
1708 |
msgid "No Formatting"
|
1709 |
+
msgstr "بدون تنسيق"
|
1710 |
|
1711 |
#: includes/fields/class-acf-field-message.php:138
|
1712 |
msgid "Escape HTML"
|
1713 |
+
msgstr "استبعاد كود HTML"
|
1714 |
|
1715 |
#: includes/fields/class-acf-field-message.php:139
|
1716 |
msgid "Allow HTML markup to display as visible text instead of rendering"
|
1717 |
+
msgstr "السماح بعرض كود HTML كنص"
|
1718 |
|
1719 |
#: includes/fields/class-acf-field-number.php:36
|
1720 |
msgid "Number"
|
1722 |
|
1723 |
#: includes/fields/class-acf-field-number.php:181
|
1724 |
msgid "Minimum Value"
|
1725 |
+
msgstr "قيمة الحد الأدنى"
|
1726 |
|
1727 |
#: includes/fields/class-acf-field-number.php:190
|
1728 |
msgid "Maximum Value"
|
1739 |
#: includes/fields/class-acf-field-number.php:255
|
1740 |
#, php-format
|
1741 |
msgid "Value must be equal to or higher than %d"
|
1742 |
+
msgstr "يجب أن تكون القيمة مساوية أو أكبر من %d"
|
1743 |
|
1744 |
#: includes/fields/class-acf-field-number.php:263
|
1745 |
#, php-format
|
1746 |
msgid "Value must be equal to or lower than %d"
|
1747 |
+
msgstr "يجب أن تكون القيمة مساوية أو أقل من %d"
|
1748 |
|
1749 |
#: includes/fields/class-acf-field-oembed.php:36
|
1750 |
msgid "oEmbed"
|
1751 |
+
msgstr "oEmbed"
|
1752 |
|
1753 |
#: includes/fields/class-acf-field-oembed.php:237
|
1754 |
msgid "Enter URL"
|
1760 |
|
1761 |
#: includes/fields/class-acf-field-oembed.php:250
|
1762 |
msgid "No embed found for the given URL."
|
1763 |
+
msgstr "لم يتم العثور على تضمين لعنوان URL المحدد."
|
1764 |
|
1765 |
#: includes/fields/class-acf-field-oembed.php:283 includes/fields/class-acf-field-oembed.php:294
|
1766 |
msgid "Embed Size"
|
1767 |
+
msgstr "حجم المضمن"
|
1768 |
|
1769 |
#: includes/fields/class-acf-field-page_link.php:192
|
1770 |
msgid "Archives"
|
1772 |
|
1773 |
#: includes/fields/class-acf-field-page_link.php:500 includes/fields/class-acf-field-post_object.php:399 includes/fields/class-acf-field-relationship.php:704
|
1774 |
msgid "Filter by Post Type"
|
1775 |
+
msgstr "فرز حسب نوع المقالة"
|
1776 |
|
1777 |
#: includes/fields/class-acf-field-page_link.php:508 includes/fields/class-acf-field-post_object.php:407 includes/fields/class-acf-field-relationship.php:712
|
1778 |
msgid "All post types"
|
1789 |
#: includes/fields/class-acf-field-page_link.php:528 includes/fields/class-acf-field-post_object.php:427 includes/fields/class-acf-field-radio.php:259
|
1790 |
#: includes/fields/class-acf-field-select.php:484 includes/fields/class-acf-field-taxonomy.php:799 includes/fields/class-acf-field-user.php:423
|
1791 |
msgid "Allow Null?"
|
1792 |
+
msgstr "السماح بالفارغ؟"
|
1793 |
|
1794 |
#: includes/fields/class-acf-field-page_link.php:538
|
1795 |
msgid "Allow Archives URLs"
|
1798 |
#: includes/fields/class-acf-field-page_link.php:548 includes/fields/class-acf-field-post_object.php:437 includes/fields/class-acf-field-select.php:494
|
1799 |
#: includes/fields/class-acf-field-user.php:433
|
1800 |
msgid "Select multiple values?"
|
1801 |
+
msgstr "تحديد قيم متعددة؟"
|
1802 |
|
1803 |
#: includes/fields/class-acf-field-password.php:36
|
1804 |
msgid "Password"
|
1806 |
|
1807 |
#: includes/fields/class-acf-field-post_object.php:36 includes/fields/class-acf-field-post_object.php:452 includes/fields/class-acf-field-relationship.php:783
|
1808 |
msgid "Post Object"
|
1809 |
+
msgstr "Post Object"
|
1810 |
|
1811 |
#: includes/fields/class-acf-field-post_object.php:453 includes/fields/class-acf-field-relationship.php:784
|
1812 |
msgid "Post ID"
|
1813 |
+
msgstr "معرف المقال"
|
1814 |
|
1815 |
#: includes/fields/class-acf-field-radio.php:36
|
1816 |
msgid "Radio Button"
|
1817 |
+
msgstr "زر الراديو"
|
1818 |
|
1819 |
#: includes/fields/class-acf-field-radio.php:269
|
1820 |
msgid "Other"
|
1826 |
|
1827 |
#: includes/fields/class-acf-field-radio.php:280
|
1828 |
msgid "Save Other"
|
1829 |
+
msgstr "حفظ الأخرى"
|
1830 |
|
1831 |
#: includes/fields/class-acf-field-radio.php:285
|
1832 |
msgid "Save 'other' values to the field's choices"
|
1833 |
+
msgstr "حفظ القيم الأخرى لخيارات الحقل"
|
1834 |
|
1835 |
#: includes/fields/class-acf-field-relationship.php:36
|
1836 |
msgid "Relationship"
|
1837 |
+
msgstr "علاقة"
|
1838 |
|
1839 |
#: includes/fields/class-acf-field-relationship.php:48
|
1840 |
msgid "Minimum values reached ( {min} values )"
|
1841 |
+
msgstr "تم الوصول الى الحد الأدنى من القيم ( {min} قيمة )"
|
1842 |
|
1843 |
#: includes/fields/class-acf-field-relationship.php:49
|
1844 |
msgid "Maximum values reached ( {max} values )"
|
1845 |
+
msgstr "وصلت إلى الحد الأقصى للقيم ( {max} قيمة )"
|
1846 |
|
1847 |
#: includes/fields/class-acf-field-relationship.php:50
|
1848 |
msgid "Loading"
|
1854 |
|
1855 |
#: includes/fields/class-acf-field-relationship.php:585
|
1856 |
msgid "Search..."
|
1857 |
+
msgstr "بحث..."
|
1858 |
|
1859 |
#: includes/fields/class-acf-field-relationship.php:594
|
1860 |
msgid "Select post type"
|
1861 |
+
msgstr "اختر نوع المقال"
|
1862 |
|
1863 |
#: includes/fields/class-acf-field-relationship.php:607
|
1864 |
msgid "Select taxonomy"
|
1865 |
+
msgstr "اختر التصنيف"
|
1866 |
|
1867 |
#: includes/fields/class-acf-field-relationship.php:732
|
1868 |
msgid "Filters"
|
1870 |
|
1871 |
#: includes/fields/class-acf-field-relationship.php:738 includes/locations/class-acf-location-post-type.php:27
|
1872 |
msgid "Post Type"
|
1873 |
+
msgstr "نوع المقال"
|
1874 |
|
1875 |
#: includes/fields/class-acf-field-relationship.php:739 includes/fields/class-acf-field-taxonomy.php:36 includes/fields/class-acf-field-taxonomy.php:769
|
1876 |
msgid "Taxonomy"
|
1896 |
#, php-format
|
1897 |
msgid "%s requires at least %s selection"
|
1898 |
msgid_plural "%s requires at least %s selections"
|
1899 |
+
msgstr[0] "%s يتطلب على الأقل %s تحديد"
|
1900 |
+
msgstr[1] "%s يتطلب على الأقل %s تحديد"
|
1901 |
+
msgstr[2] "%s يتطلب على الأقل %s تحديدان"
|
1902 |
+
msgstr[3] "%s يتطلب على الأقل %s تحديد"
|
1903 |
+
msgstr[4] "%s يتطلب على الأقل %s تحديد"
|
1904 |
+
msgstr[5] "%s يتطلب على الأقل %s تحديد"
|
1905 |
|
1906 |
#: includes/fields/class-acf-field-select.php:36 includes/fields/class-acf-field-taxonomy.php:791
|
1907 |
msgctxt "noun"
|
1963 |
msgstr "تحميل نتائج أكثر…"
|
1964 |
|
1965 |
#: includes/fields/class-acf-field-select.php:59
|
|
|
1966 |
msgctxt "Select2 JS searching"
|
1967 |
msgid "Searching…"
|
1968 |
+
msgstr "بحث …"
|
1969 |
|
1970 |
#: includes/fields/class-acf-field-select.php:60
|
1971 |
msgctxt "Select2 JS load_fail"
|
1999 |
|
2000 |
#: includes/fields/class-acf-field-tab.php:96
|
2001 |
msgid "The tab field will display incorrectly when added to a Table style repeater field or flexible content field layout"
|
2002 |
+
msgstr "سيتم عرض حقل علامة التبويب بشكل غير صحيح عند إضافته إلى حقل مكرر بتنسيق جدول أو محتوى مرن"
|
2003 |
|
2004 |
#: includes/fields/class-acf-field-tab.php:97
|
2005 |
msgid "Use \"Tab Fields\" to better organize your edit screen by grouping fields together."
|
2006 |
+
msgstr "استخدم \"حقل علامة التبويب\" لتنظيم أفضل لشاشة التحرير الخاصة بك عن طريق تجميع الحقول معا."
|
2007 |
|
2008 |
#: includes/fields/class-acf-field-tab.php:98
|
2009 |
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."
|
2010 |
+
msgstr "كافة الحقول بعد \"حقل علامة التبويب\" هذة (أو حتى إضافة \"حقل علامة تبويب آخر\") سوف يتم تجميعها معا باستخدام تسمية هذا الحقل كعنوان للتبويب."
|
2011 |
|
2012 |
#: includes/fields/class-acf-field-tab.php:112
|
2013 |
msgid "Placement"
|
2014 |
+
msgstr "الوضع"
|
2015 |
|
2016 |
#: includes/fields/class-acf-field-tab.php:124
|
2017 |
msgid "End-point"
|
2019 |
|
2020 |
#: includes/fields/class-acf-field-tab.php:125
|
2021 |
msgid "Use this field as an end-point and start a new group of tabs"
|
2022 |
+
msgstr "استخدم هذا الحقل كنقطة نهاية وابدأ مجموعة جديدة من علامات التبويب"
|
2023 |
|
2024 |
#: includes/fields/class-acf-field-taxonomy.php:719 includes/fields/class-acf-field-true_false.php:95 includes/fields/class-acf-field-true_false.php:184 includes/input.php:266
|
2025 |
#: pro/admin/views/html-settings-updates.php:103
|
2032 |
|
2033 |
#: includes/fields/class-acf-field-taxonomy.php:770
|
2034 |
msgid "Select the taxonomy to be displayed"
|
2035 |
+
msgstr "حدد التصنيف الذي سيتم عرضه"
|
2036 |
|
2037 |
#: includes/fields/class-acf-field-taxonomy.php:779
|
2038 |
msgid "Appearance"
|
2040 |
|
2041 |
#: includes/fields/class-acf-field-taxonomy.php:780
|
2042 |
msgid "Select the appearance of this field"
|
2043 |
+
msgstr "حدد مظهر هذا الحقل"
|
2044 |
|
2045 |
#: includes/fields/class-acf-field-taxonomy.php:785
|
2046 |
msgid "Multiple Values"
|
2056 |
|
2057 |
#: includes/fields/class-acf-field-taxonomy.php:790
|
2058 |
msgid "Radio Buttons"
|
2059 |
+
msgstr "ازرار الراديو"
|
2060 |
|
2061 |
#: includes/fields/class-acf-field-taxonomy.php:809
|
2062 |
msgid "Create Terms"
|
2064 |
|
2065 |
#: includes/fields/class-acf-field-taxonomy.php:810
|
2066 |
msgid "Allow new terms to be created whilst editing"
|
2067 |
+
msgstr "السماح بإنشاء شروط جديدة أثناء التحرير"
|
2068 |
|
2069 |
#: includes/fields/class-acf-field-taxonomy.php:819
|
2070 |
msgid "Save Terms"
|
2071 |
+
msgstr "حفظ الشروط"
|
2072 |
|
2073 |
#: includes/fields/class-acf-field-taxonomy.php:820
|
2074 |
msgid "Connect selected terms to the post"
|
2075 |
+
msgstr "وصل الشروط المحددة بالمقالة"
|
2076 |
|
2077 |
#: includes/fields/class-acf-field-taxonomy.php:829
|
2078 |
msgid "Load Terms"
|
2079 |
+
msgstr "تحميل الشروط"
|
2080 |
|
2081 |
#: includes/fields/class-acf-field-taxonomy.php:830
|
2082 |
msgid "Load value from posts terms"
|
2083 |
+
msgstr "تحميل قيمة من شروط المقالة"
|
2084 |
|
2085 |
#: includes/fields/class-acf-field-taxonomy.php:844
|
2086 |
msgid "Term Object"
|
2087 |
+
msgstr "Term Object"
|
2088 |
|
2089 |
#: includes/fields/class-acf-field-taxonomy.php:845
|
2090 |
msgid "Term ID"
|
2091 |
+
msgstr "Term ID"
|
2092 |
|
2093 |
#: includes/fields/class-acf-field-taxonomy.php:904
|
2094 |
#, php-format
|
2152 |
|
2153 |
#: includes/fields/class-acf-field-true_false.php:170
|
2154 |
msgid "On Text"
|
2155 |
+
msgstr "النص اثناء التفعيل"
|
2156 |
|
2157 |
#: includes/fields/class-acf-field-true_false.php:171
|
2158 |
msgid "Text shown when active"
|
2160 |
|
2161 |
#: includes/fields/class-acf-field-true_false.php:180
|
2162 |
msgid "Off Text"
|
2163 |
+
msgstr "النص اثناء عدم التفعيل"
|
2164 |
|
2165 |
#: includes/fields/class-acf-field-true_false.php:181
|
2166 |
msgid "Text shown when inactive"
|
2172 |
|
2173 |
#: includes/fields/class-acf-field-url.php:165
|
2174 |
msgid "Value must be a valid URL"
|
2175 |
+
msgstr "القيمة يجب أن تكون عنوان رابط صحيح"
|
2176 |
|
2177 |
#: includes/fields/class-acf-field-user.php:36 includes/locations.php:95
|
2178 |
msgid "User"
|
2225 |
|
2226 |
#: includes/fields/class-acf-field-wysiwyg.php:469
|
2227 |
msgid "Show Media Upload Buttons?"
|
2228 |
+
msgstr "اظهار زر إضافة ملفات الوسائط؟"
|
2229 |
|
2230 |
#: includes/fields/class-acf-field-wysiwyg.php:479
|
2231 |
msgid "Delay initialization?"
|
2273 |
|
2274 |
#: includes/input.php:262
|
2275 |
msgid "1 field requires attention"
|
2276 |
+
msgstr "حقل واحد يتطلب الاهتمام"
|
2277 |
|
2278 |
#: includes/input.php:263
|
2279 |
#, php-format
|
2280 |
msgid "%d fields require attention"
|
2281 |
+
msgstr "%d حقول تتطلب الاهتمام"
|
2282 |
|
2283 |
#: includes/input.php:264
|
2284 |
msgid "Restricted"
|
2290 |
|
2291 |
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
2292 |
msgid "Post"
|
2293 |
+
msgstr "مقالة"
|
2294 |
|
2295 |
#: includes/locations.php:94 includes/locations/class-acf-location-page.php:27
|
2296 |
msgid "Page"
|
2297 |
+
msgstr "صفحة"
|
2298 |
|
2299 |
#: includes/locations.php:96
|
2300 |
msgid "Forms"
|
2301 |
+
msgstr "نماذج"
|
2302 |
|
2303 |
#: includes/locations/class-acf-location-attachment.php:27
|
2304 |
msgid "Attachment"
|
2305 |
+
msgstr "مرفقات"
|
2306 |
|
2307 |
#: includes/locations/class-acf-location-attachment.php:113
|
2308 |
#, php-format
|
2309 |
msgid "All %s formats"
|
2310 |
+
msgstr "كل صيغ %s"
|
2311 |
|
2312 |
#: includes/locations/class-acf-location-comment.php:27
|
2313 |
msgid "Comment"
|
2335 |
|
2336 |
#: includes/locations/class-acf-location-current-user.php:103
|
2337 |
msgid "Viewing back end"
|
2338 |
+
msgstr "عرض الواجهة الخلفية"
|
2339 |
|
2340 |
#: includes/locations/class-acf-location-nav-menu-item.php:27
|
2341 |
msgid "Menu Item"
|
2355 |
|
2356 |
#: includes/locations/class-acf-location-page-parent.php:27
|
2357 |
msgid "Page Parent"
|
2358 |
+
msgstr "أب الصفحة"
|
2359 |
|
2360 |
#: includes/locations/class-acf-location-page-template.php:27
|
2361 |
msgid "Page Template"
|
2375 |
|
2376 |
#: includes/locations/class-acf-location-page-type.php:150
|
2377 |
msgid "Posts Page"
|
2378 |
+
msgstr "صفحة المقالات"
|
2379 |
|
2380 |
#: includes/locations/class-acf-location-page-type.php:151
|
2381 |
msgid "Top Level Page (no parent)"
|
2382 |
+
msgstr "أعلى مستوى للصفحة (بدون أب)"
|
2383 |
|
2384 |
#: includes/locations/class-acf-location-page-type.php:152
|
2385 |
msgid "Parent Page (has children)"
|
2386 |
+
msgstr "صفحة أب (لديها فروع)"
|
2387 |
|
2388 |
#: includes/locations/class-acf-location-page-type.php:153
|
2389 |
msgid "Child Page (has parent)"
|
2390 |
+
msgstr "صفحة فرعية (لديها أب)"
|
2391 |
|
2392 |
#: includes/locations/class-acf-location-post-category.php:27
|
2393 |
msgid "Post Category"
|
2394 |
+
msgstr "تصنيف المقالة"
|
2395 |
|
2396 |
#: includes/locations/class-acf-location-post-format.php:27
|
2397 |
msgid "Post Format"
|
2398 |
+
msgstr "تنسيق المقالة"
|
2399 |
|
2400 |
#: includes/locations/class-acf-location-post-status.php:27
|
2401 |
msgid "Post Status"
|
2402 |
+
msgstr "حالة المقالة"
|
2403 |
|
2404 |
#: includes/locations/class-acf-location-post-taxonomy.php:27
|
2405 |
msgid "Post Taxonomy"
|
2412 |
|
2413 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2414 |
msgid "Taxonomy Term"
|
2415 |
+
msgstr "شروط التصنيف"
|
2416 |
|
2417 |
#: includes/locations/class-acf-location-user-form.php:27
|
2418 |
msgid "User Form"
|
2447 |
#: includes/validation.php:364
|
2448 |
#, php-format
|
2449 |
msgid "%s value is required"
|
2450 |
+
msgstr "قيمة %s مطلوبة"
|
2451 |
|
2452 |
#. Plugin Name of the plugin/theme
|
2453 |
#: pro/acf-pro.php:28
|
2514 |
|
2515 |
#: pro/admin/views/html-settings-updates.php:98
|
2516 |
msgid "Please enter your license key above to unlock updates"
|
2517 |
+
msgstr "يرجى إدخال مفتاح الترخيص أعلاه لإلغاء تأمين التحديثات"
|
2518 |
|
2519 |
#: pro/admin/views/html-settings-updates.php:104
|
2520 |
msgid "Check Again"
|
2569 |
|
2570 |
#: pro/fields/class-acf-field-clone.php:1038
|
2571 |
msgid "Unknown field"
|
2572 |
+
msgstr "حقل غير معروف"
|
2573 |
|
2574 |
#: pro/fields/class-acf-field-clone.php:1077
|
2575 |
msgid "Unknown field group"
|
2576 |
+
msgstr "مجموعة حقول غير معروفة"
|
2577 |
|
2578 |
#: pro/fields/class-acf-field-clone.php:1081
|
2579 |
#, php-format
|
2580 |
msgid "All fields from %s field group"
|
2581 |
+
msgstr "جميع الحقول من مجموعة الحقول %s"
|
2582 |
|
2583 |
#: pro/fields/class-acf-field-flexible-content.php:42 pro/fields/class-acf-field-repeater.php:230 pro/fields/class-acf-field-repeater.php:534
|
2584 |
msgid "Add Row"
|
2590 |
|
2591 |
#: pro/fields/class-acf-field-flexible-content.php:46
|
2592 |
msgid "layouts"
|
2593 |
+
msgstr "التخطيطات"
|
2594 |
|
2595 |
#: pro/fields/class-acf-field-flexible-content.php:47
|
2596 |
msgid "remove {layout}?"
|
2597 |
+
msgstr "إزالة {layout}؟"
|
2598 |
|
2599 |
#: pro/fields/class-acf-field-flexible-content.php:48
|
2600 |
msgid "This field requires at least {min} {identifier}"
|
2601 |
+
msgstr "يتطلب هذا الحقل على الأقل {min} {identifier}"
|
2602 |
|
2603 |
#: pro/fields/class-acf-field-flexible-content.php:49
|
2604 |
msgid "This field has a limit of {max} {identifier}"
|
2605 |
+
msgstr "يحتوي هذا الحقل حد {max} {identifier}"
|
2606 |
|
2607 |
#: pro/fields/class-acf-field-flexible-content.php:50
|
2608 |
msgid "This field requires at least {min} {label} {identifier}"
|
2609 |
+
msgstr "يتطلب هذا الحقل على الأقل {min} {label} {identifier}"
|
2610 |
|
2611 |
#: pro/fields/class-acf-field-flexible-content.php:51
|
2612 |
msgid "Maximum {label} limit reached ({max} {identifier})"
|
2613 |
+
msgstr "تم الوصول إلى حد أقصى ({max} {identifier}) لـ {label}"
|
2614 |
|
2615 |
#: pro/fields/class-acf-field-flexible-content.php:52
|
2616 |
msgid "{available} {label} {identifier} available (max {max})"
|
2617 |
+
msgstr "{available} {label} {identifier} متاح (max {max})"
|
2618 |
|
2619 |
#: pro/fields/class-acf-field-flexible-content.php:53
|
2620 |
msgid "{required} {label} {identifier} required (min {min})"
|
2621 |
+
msgstr "{required} {label} {identifier} مطلوب (min {min})"
|
2622 |
|
2623 |
#: pro/fields/class-acf-field-flexible-content.php:54
|
2624 |
msgid "Flexible Content requires at least 1 layout"
|
2625 |
+
msgstr "يتطلب المحتوى المرن تخطيط واحد على الأقل"
|
2626 |
|
2627 |
#: pro/fields/class-acf-field-flexible-content.php:288
|
2628 |
#, php-format
|
2635 |
|
2636 |
#: pro/fields/class-acf-field-flexible-content.php:424
|
2637 |
msgid "Remove layout"
|
2638 |
+
msgstr "إزالة التنسيق"
|
2639 |
|
2640 |
#: pro/fields/class-acf-field-flexible-content.php:425 pro/fields/class-acf-field-repeater.php:360
|
2641 |
msgid "Click to toggle"
|
2651 |
|
2652 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
2653 |
msgid "Delete Layout"
|
2654 |
+
msgstr "حذف التخطيط"
|
2655 |
|
2656 |
#: pro/fields/class-acf-field-flexible-content.php:573
|
2657 |
msgid "Duplicate Layout"
|
2658 |
+
msgstr "تكرار التخطيط "
|
2659 |
|
2660 |
#: pro/fields/class-acf-field-flexible-content.php:574
|
2661 |
msgid "Add New Layout"
|
2662 |
+
msgstr "إضافة تخطيط جديد"
|
2663 |
|
2664 |
#: pro/fields/class-acf-field-flexible-content.php:645
|
2665 |
msgid "Min"
|
2671 |
|
2672 |
#: pro/fields/class-acf-field-flexible-content.php:685 pro/fields/class-acf-field-repeater.php:530
|
2673 |
msgid "Button Label"
|
2674 |
+
msgstr "تسمية الزر"
|
2675 |
|
2676 |
#: pro/fields/class-acf-field-flexible-content.php:694
|
2677 |
msgid "Minimum Layouts"
|
2678 |
+
msgstr "الحد الأدنى للتخطيطات"
|
2679 |
|
2680 |
#: pro/fields/class-acf-field-flexible-content.php:703
|
2681 |
msgid "Maximum Layouts"
|
2682 |
+
msgstr "الحد الأقصى للتخطيطات"
|
2683 |
|
2684 |
#: pro/fields/class-acf-field-gallery.php:52
|
2685 |
msgid "Add Image to Gallery"
|
2686 |
+
msgstr "اضافة صورة للمعرض"
|
2687 |
|
2688 |
#: pro/fields/class-acf-field-gallery.php:56
|
2689 |
msgid "Maximum selection reached"
|
2690 |
+
msgstr "وصلت للحد الأقصى"
|
2691 |
|
2692 |
#: pro/fields/class-acf-field-gallery.php:336
|
2693 |
msgid "Length"
|
2695 |
|
2696 |
#: pro/fields/class-acf-field-gallery.php:379
|
2697 |
msgid "Caption"
|
2698 |
+
msgstr "كلمات توضيحية"
|
2699 |
|
2700 |
#: pro/fields/class-acf-field-gallery.php:388
|
2701 |
msgid "Alt Text"
|
2702 |
+
msgstr "النص البديل"
|
2703 |
|
2704 |
#: pro/fields/class-acf-field-gallery.php:559
|
2705 |
msgid "Add to gallery"
|
2706 |
+
msgstr "اضافة الى المعرض"
|
2707 |
|
2708 |
#: pro/fields/class-acf-field-gallery.php:563
|
2709 |
msgid "Bulk actions"
|
2711 |
|
2712 |
#: pro/fields/class-acf-field-gallery.php:564
|
2713 |
msgid "Sort by date uploaded"
|
2714 |
+
msgstr "ترتيب حسب تاريخ الرفع"
|
2715 |
|
2716 |
#: pro/fields/class-acf-field-gallery.php:565
|
2717 |
msgid "Sort by date modified"
|
2718 |
+
msgstr "ترتيب حسب تاريخ التعديل"
|
2719 |
|
2720 |
#: pro/fields/class-acf-field-gallery.php:566
|
2721 |
msgid "Sort by title"
|
2722 |
+
msgstr "ترتيب فرز حسب العنوان"
|
2723 |
|
2724 |
#: pro/fields/class-acf-field-gallery.php:567
|
2725 |
msgid "Reverse current order"
|
2726 |
+
msgstr "عكس الترتيب الحالي"
|
2727 |
|
2728 |
#: pro/fields/class-acf-field-gallery.php:585
|
2729 |
msgid "Close"
|
2731 |
|
2732 |
#: pro/fields/class-acf-field-gallery.php:639
|
2733 |
msgid "Minimum Selection"
|
2734 |
+
msgstr "الحد الأدنى للاختيار"
|
2735 |
|
2736 |
#: pro/fields/class-acf-field-gallery.php:648
|
2737 |
msgid "Maximum Selection"
|
2738 |
+
msgstr "الحد الأقصى للاختيار"
|
2739 |
|
2740 |
#: pro/fields/class-acf-field-gallery.php:657
|
2741 |
msgid "Insert"
|
2755 |
|
2756 |
#: pro/fields/class-acf-field-repeater.php:47
|
2757 |
msgid "Minimum rows reached ({min} rows)"
|
2758 |
+
msgstr "وصلت للحد الأدنى من الصفوف ({min} صف)"
|
2759 |
|
2760 |
#: pro/fields/class-acf-field-repeater.php:48
|
2761 |
msgid "Maximum rows reached ({max} rows)"
|
2762 |
+
msgstr "بلغت الحد الأقصى من الصفوف ({max} صف)"
|
2763 |
|
2764 |
#: pro/fields/class-acf-field-repeater.php:405
|
2765 |
msgid "Add row"
|
2767 |
|
2768 |
#: pro/fields/class-acf-field-repeater.php:406
|
2769 |
msgid "Remove row"
|
2770 |
+
msgstr "إزالة صف"
|
2771 |
|
2772 |
#: pro/fields/class-acf-field-repeater.php:483
|
2773 |
msgid "Collapsed"
|
2774 |
+
msgstr "طي"
|
2775 |
|
2776 |
#: pro/fields/class-acf-field-repeater.php:484
|
2777 |
msgid "Select a sub field to show when row is collapsed"
|
2779 |
|
2780 |
#: pro/fields/class-acf-field-repeater.php:494
|
2781 |
msgid "Minimum Rows"
|
2782 |
+
msgstr "الحد الأدنى من الصفوف"
|
2783 |
|
2784 |
#: pro/fields/class-acf-field-repeater.php:504
|
2785 |
msgid "Maximum Rows"
|
2786 |
+
msgstr "الحد الأقصى من الصفوف"
|
2787 |
|
2788 |
#: pro/locations/class-acf-location-options-page.php:70
|
2789 |
msgid "No options pages exist"
|
2790 |
+
msgstr "لا توجد صفحة خيارات"
|
2791 |
|
2792 |
#: pro/options-page.php:51
|
2793 |
msgid "Options"
|
lang/acf-de_CH.mo
CHANGED
Binary file
|
lang/acf-de_CH.po
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Advanced Custom Fields Pro v5.
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Raphael Hüni <rafhun@gmail.com>\n"
|
9 |
"Language: de_CH\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
-
"X-Generator: Poedit
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
@@ -23,116 +23,114 @@ msgstr ""
|
|
23 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
24 |
|
25 |
# @ acf
|
26 |
-
#: acf.php:
|
27 |
msgid "Advanced Custom Fields"
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
# @ acf
|
31 |
-
#: acf.php:
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Feld-Gruppen"
|
34 |
|
35 |
# @ acf
|
36 |
-
#: acf.php:
|
37 |
msgid "Field Group"
|
38 |
msgstr "Feld-Gruppe"
|
39 |
|
40 |
# @ acf
|
41 |
-
#: acf.php:
|
42 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
43 |
msgid "Add New"
|
44 |
msgstr "Erstellen"
|
45 |
|
46 |
# @ acf
|
47 |
-
#: acf.php:
|
48 |
msgid "Add New Field Group"
|
49 |
msgstr "Neue Feld-Gruppe erstellen"
|
50 |
|
51 |
# @ acf
|
52 |
-
#: acf.php:
|
53 |
msgid "Edit Field Group"
|
54 |
msgstr "Feld-Gruppe bearbeiten"
|
55 |
|
56 |
# @ acf
|
57 |
-
#: acf.php:
|
58 |
msgid "New Field Group"
|
59 |
msgstr "Neue Feld-Gruppe"
|
60 |
|
61 |
# @ acf
|
62 |
-
#: acf.php:
|
63 |
msgid "View Field Group"
|
64 |
msgstr "Feld-Gruppe anzeigen"
|
65 |
|
66 |
# @ acf
|
67 |
-
#: acf.php:
|
68 |
msgid "Search Field Groups"
|
69 |
msgstr "Feld-Gruppen suchen"
|
70 |
|
71 |
# @ acf
|
72 |
-
#: acf.php:
|
73 |
msgid "No Field Groups found"
|
74 |
msgstr "Keine Feld-Gruppen gefunden"
|
75 |
|
76 |
# @ acf
|
77 |
-
#: acf.php:
|
78 |
msgid "No Field Groups found in Trash"
|
79 |
msgstr "Keine Feld-Gruppen im Papierkorb gefunden"
|
80 |
|
81 |
# @ acf
|
82 |
-
#: acf.php:
|
83 |
-
#: includes/admin/admin-field-
|
84 |
-
#:
|
85 |
-
#: pro/fields/class-acf-field-clone.php:807
|
86 |
msgid "Fields"
|
87 |
msgstr "Felder"
|
88 |
|
89 |
# @ acf
|
90 |
-
#: acf.php:
|
91 |
msgid "Field"
|
92 |
msgstr "Feld"
|
93 |
|
94 |
# @ acf
|
95 |
-
#: acf.php:
|
96 |
msgid "Add New Field"
|
97 |
msgstr "Feld hinzufügen"
|
98 |
|
99 |
# @ acf
|
100 |
-
#: acf.php:
|
101 |
msgid "Edit Field"
|
102 |
msgstr "Feld bearbeiten"
|
103 |
|
104 |
# @ acf
|
105 |
-
#: acf.php:
|
106 |
-
#: includes/admin/views/settings-info.php:105
|
107 |
msgid "New Field"
|
108 |
msgstr "Neues Feld"
|
109 |
|
110 |
# @ acf
|
111 |
-
#: acf.php:
|
112 |
msgid "View Field"
|
113 |
msgstr "Feld anzeigen"
|
114 |
|
115 |
# @ acf
|
116 |
-
#: acf.php:
|
117 |
msgid "Search Fields"
|
118 |
msgstr "Felder suchen"
|
119 |
|
120 |
# @ acf
|
121 |
-
#: acf.php:
|
122 |
msgid "No Fields found"
|
123 |
msgstr "Keine Felder gefunden"
|
124 |
|
125 |
# @ acf
|
126 |
-
#: acf.php:
|
127 |
msgid "No Fields found in Trash"
|
128 |
msgstr "Keine Feld-Gruppen im Papierkorb gefunden"
|
129 |
|
130 |
-
#: acf.php:
|
131 |
-
#: includes/admin/admin-field-groups.php:
|
132 |
msgid "Inactive"
|
133 |
msgstr "Inaktiv"
|
134 |
|
135 |
-
#: acf.php:
|
136 |
#, php-format
|
137 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
138 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
@@ -140,159 +138,154 @@ msgstr[0] "Inaktiv <span class=\"count\">(%s)</span>"
|
|
140 |
msgstr[1] "Inaktiv <span class=\"count\">(%s)</span>"
|
141 |
|
142 |
# @ acf
|
143 |
-
#: includes/admin/admin-field-group.php:
|
144 |
-
#: includes/admin/admin-field-group.php:
|
145 |
-
#: includes/admin/admin-field-group.php:
|
146 |
msgid "Field group updated."
|
147 |
msgstr "Feld-Gruppe aktualisiert."
|
148 |
|
149 |
# @ acf
|
150 |
-
#: includes/admin/admin-field-group.php:
|
151 |
msgid "Field group deleted."
|
152 |
msgstr "Feld-Gruppe gelöscht."
|
153 |
|
154 |
# @ acf
|
155 |
-
#: includes/admin/admin-field-group.php:
|
156 |
msgid "Field group published."
|
157 |
msgstr "Feld-Gruppe veröffentlicht."
|
158 |
|
159 |
# @ acf
|
160 |
-
#: includes/admin/admin-field-group.php:
|
161 |
msgid "Field group saved."
|
162 |
msgstr "Feld-Gruppe gesichert."
|
163 |
|
164 |
# @ acf
|
165 |
-
#: includes/admin/admin-field-group.php:
|
166 |
msgid "Field group submitted."
|
167 |
msgstr "Feld-Gruppe übertragen."
|
168 |
|
169 |
# @ acf
|
170 |
-
#: includes/admin/admin-field-group.php:
|
171 |
msgid "Field group scheduled for."
|
172 |
msgstr "Feld-Gruppe geplant für."
|
173 |
|
174 |
# @ acf
|
175 |
-
#: includes/admin/admin-field-group.php:
|
176 |
msgid "Field group draft updated."
|
177 |
msgstr "Entwurf der Feld-Gruppe aktualisiert."
|
178 |
|
179 |
# @ acf
|
180 |
-
#: includes/admin/admin-field-group.php:
|
181 |
-
msgid "
|
182 |
-
msgstr "
|
183 |
|
184 |
-
|
185 |
-
|
186 |
-
|
|
|
187 |
|
188 |
# @ acf
|
189 |
-
#: includes/admin/admin-field-group.php:
|
190 |
-
msgid "
|
191 |
-
msgstr "
|
192 |
|
193 |
# @ acf
|
194 |
-
#: includes/admin/admin-field-group.php:
|
195 |
-
msgid "
|
196 |
-
msgstr "
|
197 |
|
198 |
# @ acf
|
199 |
-
#: includes/admin/admin-field-group.php:
|
200 |
msgid "No toggle fields available"
|
201 |
msgstr "Es liegen keine Auswahl-Feld-Typen vor"
|
202 |
|
203 |
# @ acf
|
204 |
-
#: includes/admin/admin-field-group.php:
|
205 |
-
msgid "
|
206 |
-
msgstr "
|
207 |
|
208 |
# @ acf
|
209 |
-
#: includes/admin/admin-field-group.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
#: includes/api/api-field-group.php:751
|
211 |
msgid "copy"
|
212 |
msgstr "kopieren"
|
213 |
|
214 |
# @ acf
|
215 |
-
#: includes/admin/admin-field-group.php:
|
216 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:
|
217 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:
|
218 |
#: includes/admin/views/field-group-locations.php:29
|
219 |
#: includes/admin/views/html-location-group.php:3
|
220 |
-
#: includes/api/api-helpers.php:
|
221 |
msgid "or"
|
222 |
msgstr "oder"
|
223 |
|
224 |
# @ acf
|
225 |
-
#: includes/admin/admin-field-group.php:
|
226 |
-
msgid "Parent fields"
|
227 |
-
msgstr "Übergeordnete Felder"
|
228 |
-
|
229 |
-
# @ acf
|
230 |
-
#: includes/admin/admin-field-group.php:277
|
231 |
-
msgid "Sibling fields"
|
232 |
-
msgstr "Geschwister-Felder"
|
233 |
-
|
234 |
-
# @ acf
|
235 |
-
#: includes/admin/admin-field-group.php:278
|
236 |
-
msgid "Move Custom Field"
|
237 |
-
msgstr "Benutzerdefiniertes Feld verschieben"
|
238 |
-
|
239 |
-
# @ acf
|
240 |
-
#: includes/admin/admin-field-group.php:279
|
241 |
-
msgid "This field cannot be moved until its changes have been saved"
|
242 |
-
msgstr "Diese Feld kann nicht verschoben werden, bevor es gesichert wurde"
|
243 |
-
|
244 |
-
# @ acf
|
245 |
-
#: includes/admin/admin-field-group.php:280
|
246 |
msgid "Null"
|
247 |
msgstr "Null"
|
248 |
|
249 |
# @ acf
|
250 |
-
#: includes/admin/admin-field-group.php:
|
251 |
-
msgid "
|
252 |
-
msgstr ""
|
253 |
-
"Die vorgenommenen Änderungen gehen verloren wenn diese Seite verlassen wird"
|
254 |
|
255 |
-
|
256 |
-
#: includes/admin/admin-
|
257 |
-
msgid "
|
258 |
-
msgstr "
|
259 |
|
260 |
-
#: includes/admin/admin-field-group.php:
|
261 |
msgid "Field Keys"
|
262 |
msgstr "Feldschlüssel"
|
263 |
|
264 |
-
#: includes/admin/admin-field-group.php:
|
265 |
#: includes/admin/views/field-group-options.php:9
|
266 |
msgid "Active"
|
267 |
msgstr "Aktiviert"
|
268 |
|
269 |
# @ acf
|
270 |
-
#: includes/admin/admin-field-group.php:
|
271 |
msgid "Move Complete."
|
272 |
msgstr "Verschieben erfolgreich abgeschlossen."
|
273 |
|
274 |
# @ acf
|
275 |
-
#: includes/admin/admin-field-group.php:
|
276 |
#, php-format
|
277 |
msgid "The %s field can now be found in the %s field group"
|
278 |
msgstr "Das Feld \"%s\" wurde in die %s Feld-Gruppe verschoben"
|
279 |
|
280 |
# @ acf
|
281 |
-
#: includes/admin/admin-field-group.php:
|
282 |
msgid "Close Window"
|
283 |
msgstr "Schliessen"
|
284 |
|
285 |
# @ acf
|
286 |
-
#: includes/admin/admin-field-group.php:
|
287 |
msgid "Please select the destination for this field"
|
288 |
msgstr "In welche Feld-Gruppe solle dieses Feld verschoben werden"
|
289 |
|
290 |
# @ acf
|
291 |
-
#: includes/admin/admin-field-group.php:
|
292 |
msgid "Move Field"
|
293 |
msgstr "Feld verschieben"
|
294 |
|
295 |
-
#: includes/admin/admin-field-groups.php:
|
296 |
#, php-format
|
297 |
msgid "Active <span class=\"count\">(%s)</span>"
|
298 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
@@ -300,186 +293,161 @@ msgstr[0] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
|
300 |
msgstr[1] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
301 |
|
302 |
# @ acf
|
303 |
-
#: includes/admin/admin-field-groups.php:
|
304 |
#, php-format
|
305 |
-
msgid "Field group duplicated.
|
306 |
-
msgstr "Feld-Gruppe dupliziert: %s"
|
307 |
-
|
308 |
-
# @ acf
|
309 |
-
#: includes/admin/admin-field-groups.php:146
|
310 |
-
#, php-format
|
311 |
-
msgid "%s field group duplicated."
|
312 |
msgid_plural "%s field groups duplicated."
|
313 |
-
msgstr[0] "
|
314 |
msgstr[1] "%s Feld-Gruppen dupliziert."
|
315 |
|
316 |
# @ acf
|
317 |
-
#: includes/admin/admin-field-groups.php:
|
318 |
-
#, php-format
|
319 |
-
msgid "Field group synchronised. %s"
|
320 |
-
msgstr "Feld-Gruppe synchronisiert: %s"
|
321 |
-
|
322 |
-
# @ acf
|
323 |
-
#: includes/admin/admin-field-groups.php:231
|
324 |
#, php-format
|
325 |
-
msgid "
|
326 |
msgid_plural "%s field groups synchronised."
|
327 |
-
msgstr[0] "
|
328 |
msgstr[1] "%s Feld-Gruppen synchronisiert."
|
329 |
|
330 |
# @ acf
|
331 |
-
#: includes/admin/admin-field-groups.php:
|
332 |
-
#: includes/admin/admin-field-groups.php:
|
333 |
msgid "Sync available"
|
334 |
msgstr "Synchronisierung verfügbar"
|
335 |
|
336 |
# @ acf
|
337 |
-
#: includes/admin/admin-field-groups.php:
|
338 |
-
#: pro/fields/class-acf-field-gallery.php:
|
339 |
msgid "Title"
|
340 |
msgstr "Titel"
|
341 |
|
342 |
# @ acf
|
343 |
-
#: includes/admin/admin-field-groups.php:
|
344 |
#: includes/admin/views/field-group-options.php:96
|
345 |
-
#: includes/admin/views/
|
346 |
-
#: includes/admin/views/
|
347 |
-
#: pro/fields/class-acf-field-gallery.php:
|
348 |
msgid "Description"
|
349 |
msgstr "Beschreibung"
|
350 |
|
351 |
-
#: includes/admin/admin-field-groups.php:
|
352 |
msgid "Status"
|
353 |
msgstr "Status"
|
354 |
|
355 |
# @ acf
|
356 |
#. Description of the plugin/theme
|
357 |
-
#: includes/admin/admin-field-groups.php:
|
358 |
-
msgid "
|
359 |
msgstr ""
|
360 |
-
"
|
361 |
-
"
|
362 |
|
363 |
# @ acf
|
364 |
-
#: includes/admin/admin-field-groups.php:
|
365 |
#: includes/admin/settings-info.php:76
|
366 |
#: pro/admin/views/html-settings-updates.php:107
|
367 |
msgid "Changelog"
|
368 |
msgstr "Versionshinweise"
|
369 |
|
370 |
-
#: includes/admin/admin-field-groups.php:
|
371 |
#, php-format
|
372 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
373 |
msgstr "Sieh dir die Neuerungen in <a href=\"%s\">Version%s</a> an."
|
374 |
|
375 |
# @ acf
|
376 |
-
#: includes/admin/admin-field-groups.php:
|
377 |
msgid "Resources"
|
378 |
msgstr "Dokumentation (engl.)"
|
379 |
|
380 |
-
#: includes/admin/admin-field-groups.php:
|
381 |
msgid "Website"
|
382 |
msgstr "Webseite"
|
383 |
|
384 |
-
#: includes/admin/admin-field-groups.php:
|
385 |
msgid "Documentation"
|
386 |
msgstr "Dokumentation"
|
387 |
|
388 |
-
#: includes/admin/admin-field-groups.php:
|
389 |
msgid "Support"
|
390 |
msgstr "Hilfe"
|
391 |
|
392 |
-
#: includes/admin/admin-field-groups.php:
|
|
|
393 |
msgid "Pro"
|
394 |
msgstr "Pro"
|
395 |
|
396 |
-
#: includes/admin/admin-field-groups.php:
|
397 |
#, php-format
|
398 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
399 |
msgstr "Danke für die Verwendung von <a href=\"%s\">ACF</a>."
|
400 |
|
401 |
# @ acf
|
402 |
-
#: includes/admin/admin-field-groups.php:
|
403 |
msgid "Duplicate this item"
|
404 |
msgstr "Dieses Element duplizieren"
|
405 |
|
406 |
# @ acf
|
407 |
-
#: includes/admin/admin-field-groups.php:
|
408 |
-
#: includes/admin/admin-field-groups.php:
|
409 |
-
#: includes/admin/views/field-group-field.php:
|
410 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
411 |
msgid "Duplicate"
|
412 |
msgstr "Duplizieren"
|
413 |
|
414 |
# @ acf
|
415 |
-
#: includes/admin/admin-field-groups.php:
|
416 |
-
#: includes/fields/class-acf-field-google-map.php:
|
417 |
-
#: includes/fields/class-acf-field-relationship.php:
|
418 |
msgid "Search"
|
419 |
msgstr "Suchen"
|
420 |
|
421 |
# @ acf
|
422 |
-
#: includes/admin/admin-field-groups.php:
|
423 |
#, php-format
|
424 |
msgid "Select %s"
|
425 |
msgstr "%s auswählen"
|
426 |
|
427 |
# @ acf
|
428 |
-
#: includes/admin/admin-field-groups.php:
|
429 |
msgid "Synchronise field group"
|
430 |
msgstr "Synchronisiere Feld-Gruppe"
|
431 |
|
432 |
# @ acf
|
433 |
-
#: includes/admin/admin-field-groups.php:
|
434 |
-
#: includes/admin/admin-field-groups.php:
|
435 |
msgid "Sync"
|
436 |
msgstr "Synchronisieren"
|
437 |
|
438 |
-
#: includes/admin/admin-field-groups.php:
|
439 |
msgid "Apply"
|
440 |
msgstr "Anwenden"
|
441 |
|
442 |
# @ acf
|
443 |
-
#: includes/admin/admin-field-groups.php:
|
444 |
msgid "Bulk Actions"
|
445 |
msgstr "Massenverarbeitung"
|
446 |
|
447 |
-
|
448 |
-
#: includes/admin/admin.php:
|
449 |
-
|
450 |
-
|
451 |
-
msgstr "Eigene Felder"
|
452 |
|
453 |
# @ acf
|
454 |
-
#: includes/admin/
|
455 |
-
#: includes/admin/
|
|
|
|
|
456 |
msgid "Upgrade Database"
|
457 |
msgstr "Aktualisiere Datenbank"
|
458 |
|
459 |
# @ acf
|
460 |
-
#: includes/admin/
|
461 |
msgid "Review sites & upgrade"
|
462 |
msgstr "Übersicht Seiten & Aktualisierungen"
|
463 |
|
464 |
-
#: includes/admin/install.php:187
|
465 |
-
msgid "Error validating request"
|
466 |
-
msgstr "Fehler beim Überprüfen der Anfrage"
|
467 |
-
|
468 |
-
# @ acf
|
469 |
-
#: includes/admin/install.php:210 includes/admin/views/install.php:105
|
470 |
-
msgid "No updates available."
|
471 |
-
msgstr "Keine Aktualisierungen verfügbar."
|
472 |
-
|
473 |
-
# @ acf
|
474 |
-
#: includes/admin/settings-addons.php:51
|
475 |
-
#: includes/admin/views/settings-addons.php:3
|
476 |
-
msgid "Add-ons"
|
477 |
-
msgstr "Zusatz-Module"
|
478 |
-
|
479 |
# @ acf
|
480 |
-
#: includes/admin/
|
481 |
-
msgid "
|
482 |
-
msgstr "
|
483 |
|
484 |
# @ acf
|
485 |
#: includes/admin/settings-info.php:50
|
@@ -491,39 +459,127 @@ msgstr "Info"
|
|
491 |
msgid "What's New"
|
492 |
msgstr "Was gibt es Neues"
|
493 |
|
494 |
-
|
495 |
-
#: includes/admin/
|
496 |
-
|
497 |
-
|
498 |
-
|
|
|
|
|
|
|
|
|
|
|
499 |
|
500 |
# @ acf
|
501 |
-
#: includes/admin/
|
|
|
502 |
msgid "No field groups selected"
|
503 |
msgstr "Keine Feld-Gruppe ausgewählt"
|
504 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
505 |
# @ acf
|
506 |
-
#: includes/admin/
|
507 |
-
#: includes/fields/class-acf-field-file.php:
|
508 |
msgid "No file selected"
|
509 |
msgstr "Keine Datei ausgewählt"
|
510 |
|
511 |
# @ acf
|
512 |
-
#: includes/admin/
|
513 |
msgid "Error uploading file. Please try again"
|
514 |
msgstr "Fehler beim Upload. Bitte erneut versuchen"
|
515 |
|
516 |
# @ acf
|
517 |
-
#: includes/admin/
|
518 |
msgid "Incorrect file type"
|
519 |
msgstr "Falscher Dateityp"
|
520 |
|
521 |
# @ acf
|
522 |
-
#: includes/admin/
|
523 |
msgid "Import file empty"
|
524 |
msgstr "Die importierte Datei ist leer"
|
525 |
|
526 |
-
#: includes/admin/
|
527 |
#, php-format
|
528 |
msgid "Imported 1 field group"
|
529 |
msgid_plural "Imported %s field groups"
|
@@ -531,152 +587,139 @@ msgstr[0] "Eine Feldgruppe importiert"
|
|
531 |
msgstr[1] "%s Feldgruppen importiert"
|
532 |
|
533 |
# @ acf
|
534 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:
|
535 |
msgid "Conditional Logic"
|
536 |
msgstr "Bedingungen für die Anzeige"
|
537 |
|
538 |
# @ acf
|
539 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:
|
540 |
msgid "Show this field if"
|
541 |
msgstr "Zeige dieses Feld, wenn"
|
542 |
|
543 |
# @ acf
|
544 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:
|
545 |
-
#: includes/
|
546 |
-
msgid "is equal to"
|
547 |
-
msgstr "ist gleich"
|
548 |
-
|
549 |
-
# @ acf
|
550 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:104
|
551 |
-
#: includes/locations.php:248
|
552 |
-
msgid "is not equal to"
|
553 |
-
msgstr "ist ungleich"
|
554 |
-
|
555 |
-
# @ acf
|
556 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:141
|
557 |
-
#: includes/admin/views/html-location-rule.php:80
|
558 |
msgid "and"
|
559 |
msgstr "und"
|
560 |
|
561 |
# @ acf
|
562 |
-
#: includes/admin/views/field-group-field-conditional-logic.php:
|
563 |
#: includes/admin/views/field-group-locations.php:31
|
564 |
msgid "Add rule group"
|
565 |
msgstr "Regel-Gruppe hinzufügen"
|
566 |
|
567 |
# @ acf
|
568 |
-
#: includes/admin/views/field-group-field.php:
|
569 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
570 |
-
#: pro/fields/class-acf-field-repeater.php:
|
571 |
msgid "Drag to reorder"
|
572 |
msgstr "Ziehen zum Sortieren"
|
573 |
|
574 |
# @ acf
|
|
|
575 |
#: includes/admin/views/field-group-field.php:45
|
576 |
-
#: includes/admin/views/field-group-field.php:48
|
577 |
msgid "Edit field"
|
578 |
msgstr "Feld bearbeiten"
|
579 |
|
580 |
# @ acf
|
581 |
-
#: includes/admin/views/field-group-field.php:
|
582 |
-
#: includes/fields/class-acf-field-file.php:
|
583 |
-
#: includes/fields/class-acf-field-image.php:
|
584 |
#: includes/fields/class-acf-field-link.php:139
|
585 |
-
#: pro/fields/class-acf-field-gallery.php:
|
586 |
msgid "Edit"
|
587 |
msgstr "Bearbeiten"
|
588 |
|
589 |
# @ acf
|
590 |
-
#: includes/admin/views/field-group-field.php:
|
591 |
msgid "Duplicate field"
|
592 |
msgstr "Feld duplizieren"
|
593 |
|
594 |
# @ acf
|
595 |
-
#: includes/admin/views/field-group-field.php:
|
596 |
msgid "Move field to another group"
|
597 |
msgstr "Feld in eine andere Gruppe verschieben"
|
598 |
|
599 |
# @ acf
|
600 |
-
#: includes/admin/views/field-group-field.php:
|
601 |
msgid "Move"
|
602 |
msgstr "Verschieben"
|
603 |
|
604 |
# @ acf
|
605 |
-
#: includes/admin/views/field-group-field.php:
|
606 |
msgid "Delete field"
|
607 |
msgstr "Feld löschen"
|
608 |
|
609 |
# @ acf
|
610 |
-
#: includes/admin/views/field-group-field.php:
|
611 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
612 |
msgid "Delete"
|
613 |
msgstr "Löschen"
|
614 |
|
615 |
# @ acf
|
616 |
-
#: includes/admin/views/field-group-field.php:
|
617 |
msgid "Field Label"
|
618 |
msgstr "Bezeichnung"
|
619 |
|
620 |
# @ acf
|
621 |
-
#: includes/admin/views/field-group-field.php:
|
622 |
msgid "This is the name which will appear on the EDIT page"
|
623 |
msgstr "Dieser Name wird in der Bearbeitungs-Ansicht eines Beitrags angezeigt"
|
624 |
|
625 |
# @ acf
|
626 |
-
#: includes/admin/views/field-group-field.php:
|
627 |
msgid "Field Name"
|
628 |
msgstr "Feld-Name"
|
629 |
|
630 |
# @ acf
|
631 |
-
#: includes/admin/views/field-group-field.php:
|
632 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
633 |
msgstr ""
|
634 |
"Nur ein Wort ohne Leerzeichen; es sind nur Unterstriche und Bindestriche als "
|
635 |
"Sonderzeichen erlaubt"
|
636 |
|
637 |
# @ acf
|
638 |
-
#: includes/admin/views/field-group-field.php:
|
639 |
msgid "Field Type"
|
640 |
msgstr "Feld-Typ"
|
641 |
|
642 |
# @ acf
|
643 |
-
#: includes/admin/views/field-group-field.php:
|
644 |
-
#: includes/fields/class-acf-field-tab.php:88
|
645 |
msgid "Instructions"
|
646 |
msgstr "Anweisungen"
|
647 |
|
648 |
# @ acf
|
649 |
-
#: includes/admin/views/field-group-field.php:
|
650 |
msgid "Instructions for authors. Shown when submitting data"
|
651 |
msgstr "Anweisungen für Autoren werden in der Bearbeitungs-Ansicht angezeigt"
|
652 |
|
653 |
# @ acf
|
654 |
-
#: includes/admin/views/field-group-field.php:
|
655 |
msgid "Required?"
|
656 |
msgstr "Erforderlich?"
|
657 |
|
658 |
# @ acf
|
659 |
-
#: includes/admin/views/field-group-field.php:
|
660 |
msgid "Wrapper Attributes"
|
661 |
msgstr "Wrapper-Attribute"
|
662 |
|
663 |
# @ acf
|
664 |
-
#: includes/admin/views/field-group-field.php:
|
665 |
msgid "width"
|
666 |
msgstr "Breite"
|
667 |
|
668 |
# @ acf
|
669 |
-
#: includes/admin/views/field-group-field.php:
|
670 |
msgid "class"
|
671 |
msgstr "Klasse"
|
672 |
|
673 |
# @ acf
|
674 |
-
#: includes/admin/views/field-group-field.php:
|
675 |
msgid "id"
|
676 |
msgstr "ID"
|
677 |
|
678 |
# @ acf
|
679 |
-
#: includes/admin/views/field-group-field.php:
|
680 |
msgid "Close Field"
|
681 |
msgstr "Feld schliessen"
|
682 |
|
@@ -688,17 +731,17 @@ msgstr "Reihenfolge"
|
|
688 |
# @ acf
|
689 |
#: includes/admin/views/field-group-fields.php:5
|
690 |
#: includes/fields/class-acf-field-button-group.php:198
|
691 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
692 |
-
#: includes/fields/class-acf-field-radio.php:
|
693 |
-
#: includes/fields/class-acf-field-select.php:
|
694 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
695 |
msgid "Label"
|
696 |
msgstr "Name"
|
697 |
|
698 |
# @ acf
|
699 |
#: includes/admin/views/field-group-fields.php:6
|
700 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
701 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
702 |
msgid "Name"
|
703 |
msgstr "Feld-Name"
|
704 |
|
@@ -781,13 +824,13 @@ msgstr "Platzierung Beschriftung"
|
|
781 |
|
782 |
# @ acf
|
783 |
#: includes/admin/views/field-group-options.php:62
|
784 |
-
#: includes/fields/class-acf-field-tab.php:
|
785 |
msgid "Top aligned"
|
786 |
msgstr "Über dem Feld"
|
787 |
|
788 |
# @ acf
|
789 |
#: includes/admin/views/field-group-options.php:63
|
790 |
-
#: includes/fields/class-acf-field-tab.php:
|
791 |
msgid "Left aligned"
|
792 |
msgstr "Links neben dem Feld"
|
793 |
|
@@ -821,112 +864,97 @@ msgstr "Wird in der Feld-Gruppen-Liste angezeigt"
|
|
821 |
|
822 |
# @ acf
|
823 |
#: includes/admin/views/field-group-options.php:107
|
824 |
-
msgid "Hide on screen"
|
825 |
-
msgstr "Verstecken"
|
826 |
-
|
827 |
-
# @ acf
|
828 |
-
#: includes/admin/views/field-group-options.php:108
|
829 |
-
msgid "<b>Select</b> items to <b>hide</b> them from the edit screen."
|
830 |
-
msgstr ""
|
831 |
-
"<strong>Ausgewählte</strong> Elemente werden <strong>versteckt</strong>."
|
832 |
-
|
833 |
-
# @ acf
|
834 |
-
#: includes/admin/views/field-group-options.php:108
|
835 |
-
msgid ""
|
836 |
-
"If multiple field groups appear on an edit screen, the first field group's "
|
837 |
-
"options will be used (the one with the lowest order number)"
|
838 |
-
msgstr ""
|
839 |
-
"Sind für einen Bearbeiten-Dialog mehrere Felder-Gruppen definiert, werden "
|
840 |
-
"die Optionen der ersten Felder-Gruppe angewendet (die mit der niedrigsten "
|
841 |
-
"Nummer für die Reihenfolge)."
|
842 |
-
|
843 |
-
# @ acf
|
844 |
-
#: includes/admin/views/field-group-options.php:115
|
845 |
msgid "Permalink"
|
846 |
msgstr "Permalink"
|
847 |
|
848 |
# @ acf
|
849 |
-
#: includes/admin/views/field-group-options.php:
|
850 |
msgid "Content Editor"
|
851 |
msgstr "Inhalts-Editor"
|
852 |
|
853 |
# @ acf
|
854 |
-
#: includes/admin/views/field-group-options.php:
|
855 |
msgid "Excerpt"
|
856 |
msgstr "Kurzfassung"
|
857 |
|
858 |
# @ acf
|
859 |
-
#: includes/admin/views/field-group-options.php:
|
860 |
msgid "Discussion"
|
861 |
msgstr "Diskussion"
|
862 |
|
863 |
# @ acf
|
864 |
-
#: includes/admin/views/field-group-options.php:
|
865 |
msgid "Comments"
|
866 |
msgstr "Kommentare"
|
867 |
|
868 |
# @ acf
|
869 |
-
#: includes/admin/views/field-group-options.php:
|
870 |
msgid "Revisions"
|
871 |
msgstr "Revisionen"
|
872 |
|
873 |
# @ acf
|
874 |
-
#: includes/admin/views/field-group-options.php:
|
875 |
msgid "Slug"
|
876 |
msgstr "Kurzlink"
|
877 |
|
878 |
# @ acf
|
879 |
-
#: includes/admin/views/field-group-options.php:
|
880 |
msgid "Author"
|
881 |
msgstr "Autor"
|
882 |
|
883 |
# @ acf
|
884 |
-
#: includes/admin/views/field-group-options.php:
|
885 |
msgid "Format"
|
886 |
msgstr "Format"
|
887 |
|
888 |
# @ acf
|
889 |
-
#: includes/admin/views/field-group-options.php:
|
890 |
msgid "Page Attributes"
|
891 |
msgstr "Seiten-Attribute"
|
892 |
|
893 |
# @ acf
|
894 |
-
#: includes/admin/views/field-group-options.php:
|
895 |
-
#: includes/fields/class-acf-field-relationship.php:
|
896 |
msgid "Featured Image"
|
897 |
msgstr "Beitragsbild"
|
898 |
|
899 |
# @ acf
|
900 |
-
#: includes/admin/views/field-group-options.php:
|
901 |
msgid "Categories"
|
902 |
msgstr "Kategorien"
|
903 |
|
904 |
# @ acf
|
905 |
-
#: includes/admin/views/field-group-options.php:
|
906 |
msgid "Tags"
|
907 |
msgstr "Schlagworte"
|
908 |
|
909 |
# @ acf
|
910 |
-
#: includes/admin/views/field-group-options.php:
|
911 |
msgid "Send Trackbacks"
|
912 |
msgstr "Sende Trackbacks"
|
913 |
|
914 |
# @ acf
|
915 |
-
#: includes/admin/views/
|
916 |
-
msgid "
|
917 |
-
msgstr "
|
918 |
|
919 |
-
|
920 |
-
|
921 |
-
|
|
|
|
|
922 |
|
923 |
# @ acf
|
924 |
-
#: includes/admin/views/
|
925 |
-
|
926 |
-
|
927 |
-
|
|
|
|
|
|
|
|
|
928 |
|
929 |
-
#: includes/admin/views/
|
930 |
#, php-format
|
931 |
msgid ""
|
932 |
"The following sites require a DB upgrade. Check the ones you want to update "
|
@@ -935,25 +963,31 @@ msgstr ""
|
|
935 |
"Die folgenden Seiten benötigen ein DB Upgrade. Wähle jene aus, die "
|
936 |
"du aktualisieren willst und klicke dann %s."
|
937 |
|
|
|
|
|
|
|
|
|
|
|
|
|
938 |
# @ acf
|
939 |
-
#: includes/admin/views/
|
940 |
-
#: includes/admin/views/
|
941 |
msgid "Site"
|
942 |
msgstr "Seite"
|
943 |
|
944 |
# @ acf
|
945 |
-
#: includes/admin/views/
|
946 |
#, php-format
|
947 |
msgid "Site requires database upgrade from %s to %s"
|
948 |
msgstr "Die Seite erfordert eine Datenbank-Aktualisierung von %s auf %s"
|
949 |
|
950 |
# @ acf
|
951 |
-
#: includes/admin/views/
|
952 |
msgid "Site is up to date"
|
953 |
msgstr "Seite ist aktuell"
|
954 |
|
955 |
# @ acf
|
956 |
-
#: includes/admin/views/
|
957 |
#, php-format
|
958 |
msgid ""
|
959 |
"Database Upgrade complete. <a href=\"%s\">Return to network dashboard</a>"
|
@@ -961,9 +995,14 @@ msgstr ""
|
|
961 |
"Datenbank-Aktualisierung fertiggestellt. <a href=\"%s\">Zum Netzwerk "
|
962 |
"Dashboard</a>"
|
963 |
|
|
|
|
|
|
|
|
|
|
|
964 |
# @ acf
|
965 |
-
#: includes/admin/views/
|
966 |
-
#: includes/admin/views/
|
967 |
msgid ""
|
968 |
"It is strongly recommended that you backup your database before proceeding. "
|
969 |
"Are you sure you wish to run the updater now?"
|
@@ -972,80 +1011,104 @@ msgstr ""
|
|
972 |
"fortfährst. Bist Du sicher, dass Du die Aktualisierung jetzt durchführen "
|
973 |
"willst?"
|
974 |
|
975 |
-
# @ default
|
976 |
-
#: includes/admin/views/install-network.php:158
|
977 |
-
msgid "Upgrade complete"
|
978 |
-
msgstr "Aktualisierung abgeschlossen"
|
979 |
-
|
980 |
# @ acf
|
981 |
-
#: includes/admin/views/
|
982 |
-
#: includes/admin/views/
|
983 |
#, php-format
|
984 |
msgid "Upgrading data to version %s"
|
985 |
msgstr "Aktualisiere Daten auf Version %s"
|
986 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
987 |
# @ acf
|
988 |
-
#: includes/admin/views/
|
|
|
|
|
|
|
|
|
|
|
989 |
#: pro/fields/class-acf-field-repeater.php:25
|
990 |
msgid "Repeater"
|
991 |
msgstr "Wiederholung"
|
992 |
|
993 |
# @ acf
|
994 |
-
#: includes/admin/views/
|
995 |
#: pro/fields/class-acf-field-flexible-content.php:25
|
996 |
msgid "Flexible Content"
|
997 |
msgstr "Flexible Inhalte"
|
998 |
|
999 |
# @ acf
|
1000 |
-
#: includes/admin/views/
|
1001 |
#: pro/fields/class-acf-field-gallery.php:25
|
1002 |
msgid "Gallery"
|
1003 |
msgstr "Galerie"
|
1004 |
|
1005 |
# @ acf
|
1006 |
-
#: includes/admin/views/
|
1007 |
#: pro/locations/class-acf-location-options-page.php:26
|
1008 |
msgid "Options Page"
|
1009 |
msgstr "Options-Seite"
|
1010 |
|
1011 |
# @ acf
|
1012 |
-
#: includes/admin/views/
|
1013 |
msgid "Database Upgrade Required"
|
1014 |
msgstr "Es ist eine Datenbank-Aktualisierung notwendig"
|
1015 |
|
1016 |
# @ acf
|
1017 |
-
#: includes/admin/views/
|
1018 |
#, php-format
|
1019 |
msgid "Thank you for updating to %s v%s!"
|
1020 |
msgstr "Danke für die Aktualisierung auf %s v%s!"
|
1021 |
|
1022 |
-
|
1023 |
-
#: includes/admin/views/install-notice.php:28
|
1024 |
msgid ""
|
1025 |
-
"
|
1026 |
-
"to the newest version."
|
1027 |
msgstr ""
|
1028 |
-
"
|
1029 |
-
"
|
1030 |
|
1031 |
-
#: includes/admin/views/
|
1032 |
#, php-format
|
1033 |
msgid ""
|
1034 |
-
"Please also
|
1035 |
-
"latest version."
|
1036 |
msgstr ""
|
1037 |
"Stelle bitte ebenfalls sicher, dass alle Premium-Add-ons (%s) vorab auf die "
|
1038 |
"neueste Version aktualisiert wurden."
|
1039 |
|
1040 |
# @ acf
|
1041 |
-
#: includes/admin/views/
|
1042 |
-
msgid "
|
1043 |
-
msgstr "
|
1044 |
-
|
1045 |
-
#: includes/admin/views/install.php:11
|
1046 |
-
#, php-format
|
1047 |
-
msgid "Database Upgrade complete. <a href=\"%s\">See what's new</a>"
|
1048 |
-
msgstr "Datenbank-Upgrade abgeschlossen. <a href=\"%s\">Schau was neu ist</a>"
|
1049 |
|
1050 |
# @ acf
|
1051 |
#: includes/admin/views/settings-addons.php:17
|
@@ -1073,18 +1136,17 @@ msgstr ""
|
|
1073 |
"genauso gut gefallen wie uns."
|
1074 |
|
1075 |
# @ acf
|
1076 |
-
#: includes/admin/views/settings-info.php:
|
1077 |
-
msgid "A
|
1078 |
-
msgstr ""
|
1079 |
-
"Eine neue Dimension der reibungslosen Nutzung benutzerdefinierter Felder"
|
1080 |
|
1081 |
# @ acf
|
1082 |
-
#: includes/admin/views/settings-info.php:
|
1083 |
msgid "Improved Usability"
|
1084 |
msgstr "Verbesserte Benutzerfreundlichkeit"
|
1085 |
|
1086 |
# @ acf
|
1087 |
-
#: includes/admin/views/settings-info.php:
|
1088 |
msgid ""
|
1089 |
"Including the popular Select2 library has improved both usability and speed "
|
1090 |
"across a number of field types including post object, page link, taxonomy "
|
@@ -1096,12 +1158,12 @@ msgstr ""
|
|
1096 |
"signifikant verbessert."
|
1097 |
|
1098 |
# @ acf
|
1099 |
-
#: includes/admin/views/settings-info.php:
|
1100 |
msgid "Improved Design"
|
1101 |
msgstr "Verbessertes Design"
|
1102 |
|
1103 |
# @ acf
|
1104 |
-
#: includes/admin/views/settings-info.php:
|
1105 |
msgid ""
|
1106 |
"Many fields have undergone a visual refresh to make ACF look better than "
|
1107 |
"ever! Noticeable changes are seen on the gallery, relationship and oEmbed "
|
@@ -1112,12 +1174,12 @@ msgstr ""
|
|
1112 |
"nagelneue oEmbed-Feld!"
|
1113 |
|
1114 |
# @ acf
|
1115 |
-
#: includes/admin/views/settings-info.php:
|
1116 |
msgid "Improved Data"
|
1117 |
msgstr "Verbesserte Datenstruktur"
|
1118 |
|
1119 |
# @ acf
|
1120 |
-
#: includes/admin/views/settings-info.php:
|
1121 |
msgid ""
|
1122 |
"Redesigning the data architecture has allowed sub fields to live "
|
1123 |
"independently from their parents. This allows you to drag and drop fields in "
|
@@ -1129,17 +1191,17 @@ msgstr ""
|
|
1129 |
"werden können!"
|
1130 |
|
1131 |
# @ acf
|
1132 |
-
#: includes/admin/views/settings-info.php:
|
1133 |
msgid "Goodbye Add-ons. Hello PRO"
|
1134 |
msgstr "Macht's gut Add-ons… Hallo PRO"
|
1135 |
|
1136 |
# @ acf
|
1137 |
-
#: includes/admin/views/settings-info.php:
|
1138 |
msgid "Introducing ACF PRO"
|
1139 |
msgstr "Wir dürfen vorstellen… ACF PRO"
|
1140 |
|
1141 |
# @ acf
|
1142 |
-
#: includes/admin/views/settings-info.php:
|
1143 |
msgid ""
|
1144 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
1145 |
msgstr ""
|
@@ -1147,7 +1209,7 @@ msgstr ""
|
|
1147 |
"gestellt wird geändert - das \"wie\" dürfte Dich begeistern!"
|
1148 |
|
1149 |
# @ acf
|
1150 |
-
#: includes/admin/views/settings-info.php:
|
1151 |
#, php-format
|
1152 |
msgid ""
|
1153 |
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
@@ -1160,12 +1222,12 @@ msgstr ""
|
|
1160 |
"ist somit erschwinglicher denn je!"
|
1161 |
|
1162 |
# @ acf
|
1163 |
-
#: includes/admin/views/settings-info.php:
|
1164 |
msgid "Powerful Features"
|
1165 |
msgstr "Leistungsstarke Funktionen"
|
1166 |
|
1167 |
# @ acf
|
1168 |
-
#: includes/admin/views/settings-info.php:
|
1169 |
msgid ""
|
1170 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
1171 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
@@ -1176,429 +1238,521 @@ msgstr ""
|
|
1176 |
"zusätzliche Options-Seiten im Admin-Bereich anzulegen!"
|
1177 |
|
1178 |
# @ acf
|
1179 |
-
#: includes/admin/views/settings-info.php:
|
1180 |
#, php-format
|
1181 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
1182 |
msgstr "Lies mehr über die <a href=\"%s\">ACF PRO Funktionen</a>."
|
1183 |
|
1184 |
# @ acf
|
1185 |
-
#: includes/admin/views/settings-info.php:
|
1186 |
msgid "Easy Upgrading"
|
1187 |
msgstr "Kinderleichte Aktualisierung"
|
1188 |
|
1189 |
-
|
1190 |
-
#: includes/admin/views/settings-info.php:57
|
1191 |
-
#, php-format
|
1192 |
msgid ""
|
1193 |
-
"
|
1194 |
-
"
|
1195 |
msgstr ""
|
1196 |
-
"
|
1197 |
-
"
|
1198 |
-
"Gratisexemplar von ACF PRO an!"
|
1199 |
|
1200 |
# @ acf
|
1201 |
-
#: includes/admin/views/settings-info.php:
|
1202 |
#, php-format
|
1203 |
msgid ""
|
1204 |
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
1205 |
"but if you do have one, please contact our support team via the <a href=\"%s"
|
1206 |
-
"\">help desk</a
|
1207 |
msgstr ""
|
1208 |
"Um möglichen Fragen vorzubeugen haben wir haben eine <a href=\"%s\"> "
|
1209 |
"Anleitung für den Aktualisierungs-Prozess (Engl.)</a> verfasst. Sollten "
|
1210 |
"dennoch Fragen aufgeworfen werden, kontaktiere bitte unser <a href=\"%s\"> "
|
1211 |
-
"Support-Team </a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1212 |
|
1213 |
# @ acf
|
1214 |
-
#: includes/admin/views/settings-info.php:
|
1215 |
-
msgid "
|
1216 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
1217 |
|
1218 |
# @ acf
|
1219 |
-
#: includes/admin/views/settings-info.php:
|
1220 |
-
msgid "
|
1221 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1222 |
|
1223 |
# @ acf
|
1224 |
-
#: includes/admin/views/settings-info.php:
|
1225 |
-
msgid "
|
|
|
|
|
|
|
|
|
1226 |
msgstr ""
|
1227 |
-
"
|
|
|
1228 |
|
1229 |
# @ acf
|
1230 |
-
#: includes/admin/views/settings-info.php:
|
1231 |
msgid "More AJAX"
|
1232 |
msgstr "Mehr AJAX"
|
1233 |
|
1234 |
# @ acf
|
1235 |
-
#: includes/admin/views/settings-info.php:
|
1236 |
-
msgid "More fields use AJAX powered search to speed up page loading"
|
1237 |
msgstr ""
|
1238 |
"Mehr Felder verwenden nun eine AJAX-basierte Suche, die die Ladezeiten von "
|
1239 |
-
"Seiten deutlich verringert"
|
1240 |
|
1241 |
# @ acf
|
1242 |
-
#: includes/admin/views/settings-info.php:
|
1243 |
msgid "Local JSON"
|
1244 |
msgstr "Lokales JSON"
|
1245 |
|
1246 |
# @ acf
|
1247 |
-
#: includes/admin/views/settings-info.php:
|
1248 |
-
msgid "New auto export to JSON feature improves speed"
|
1249 |
-
msgstr ""
|
1250 |
-
"Ein neuer automatischer Export nach JSON verbessert die Geschwindigkeit"
|
1251 |
-
|
1252 |
-
# @ acf
|
1253 |
-
#: includes/admin/views/settings-info.php:88
|
1254 |
-
msgid "Better version control"
|
1255 |
-
msgstr "Verbesserte Versionskontrolle"
|
1256 |
-
|
1257 |
-
# @ acf
|
1258 |
-
#: includes/admin/views/settings-info.php:89
|
1259 |
msgid ""
|
1260 |
-
"New auto export to JSON feature
|
1261 |
-
"controlled"
|
1262 |
msgstr ""
|
1263 |
-
"
|
1264 |
-
"
|
1265 |
|
1266 |
# @ acf
|
1267 |
-
#: includes/admin/views/settings-info.php:
|
1268 |
-
msgid "
|
1269 |
-
msgstr "
|
1270 |
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
|
|
1275 |
|
1276 |
# @ acf
|
1277 |
-
#: includes/admin/views/settings-info.php:
|
1278 |
-
msgid "New
|
1279 |
-
msgstr "Neue Formulare"
|
1280 |
|
1281 |
# @ acf
|
1282 |
-
#: includes/admin/views/settings-info.php:
|
1283 |
-
msgid "
|
|
|
|
|
1284 |
msgstr ""
|
1285 |
-
"Felder können nun auch Kommentaren, Widgets und allen
|
1286 |
-
"zugeordnet werden!"
|
1287 |
|
1288 |
# @ acf
|
1289 |
-
#: includes/admin/views/settings-info.php:
|
1290 |
-
msgid "
|
1291 |
-
msgstr "
|
1292 |
|
1293 |
-
# @ acf
|
1294 |
#: includes/admin/views/settings-info.php:110
|
1295 |
-
msgid "
|
1296 |
-
|
|
|
|
|
|
|
|
|
1297 |
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
|
|
|
|
|
|
|
|
|
|
1301 |
msgstr ""
|
1302 |
-
"
|
|
|
1303 |
|
1304 |
# @ acf
|
1305 |
-
#: includes/admin/views/settings-info.php:
|
1306 |
msgid "New Settings"
|
1307 |
msgstr "Neue Einstellungen"
|
1308 |
|
1309 |
# @ acf
|
1310 |
-
#: includes/admin/views/settings-info.php:
|
1311 |
msgid ""
|
1312 |
-
"Field group settings have been added for
|
1313 |
-
"
|
1314 |
msgstr ""
|
1315 |
-
"Die
|
1316 |
-
"Beschriftungen und
|
|
|
1317 |
|
1318 |
# @ acf
|
1319 |
-
#: includes/admin/views/settings-info.php:
|
1320 |
msgid "Better Front End Forms"
|
1321 |
msgstr "Verbesserte Front-End-Formulare"
|
1322 |
|
1323 |
# @ acf
|
1324 |
-
#: includes/admin/views/settings-info.php:
|
1325 |
-
msgid "
|
1326 |
-
|
|
|
|
|
|
|
1327 |
|
1328 |
# @ acf
|
1329 |
-
#: includes/admin/views/settings-info.php:
|
1330 |
msgid "Better Validation"
|
1331 |
msgstr "Bessere Validierung"
|
1332 |
|
1333 |
# @ acf
|
1334 |
-
#: includes/admin/views/settings-info.php:
|
1335 |
-
msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
1336 |
-
msgstr ""
|
1337 |
-
"Die Formular-Validierung wird nun mit Hilfe von PHP + AJAX erledigt, "
|
1338 |
-
"anstelle nur JS zu verwenden"
|
1339 |
-
|
1340 |
-
# @ acf
|
1341 |
-
#: includes/admin/views/settings-info.php:132
|
1342 |
-
msgid "Relationship Field"
|
1343 |
-
msgstr "Beziehungs-Feld"
|
1344 |
-
|
1345 |
-
# @ acf
|
1346 |
-
#: includes/admin/views/settings-info.php:133
|
1347 |
-
msgid ""
|
1348 |
-
"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
1349 |
msgstr ""
|
1350 |
-
"
|
1351 |
-
"
|
1352 |
|
1353 |
# @ acf
|
1354 |
-
#: includes/admin/views/settings-info.php:
|
1355 |
msgid "Moving Fields"
|
1356 |
msgstr "Verschiebbare Felder"
|
1357 |
|
1358 |
# @ acf
|
1359 |
-
#: includes/admin/views/settings-info.php:
|
1360 |
msgid ""
|
1361 |
"New field group functionality allows you to move a field between groups & "
|
1362 |
-
"parents"
|
1363 |
msgstr ""
|
1364 |
"Die neue Feld-Gruppen-Funktionalität erlaubt es ein Feld zwischen Gruppen "
|
1365 |
-
"und übergeordneten Gruppen frei zu verschieben"
|
1366 |
-
|
1367 |
-
# @ acf
|
1368 |
-
#: includes/admin/views/settings-info.php:144
|
1369 |
-
#: includes/fields/class-acf-field-page_link.php:25
|
1370 |
-
msgid "Page Link"
|
1371 |
-
msgstr "Seiten-Link"
|
1372 |
-
|
1373 |
-
# @ acf
|
1374 |
-
#: includes/admin/views/settings-info.php:145
|
1375 |
-
msgid "New archives group in page_link field selection"
|
1376 |
-
msgstr ""
|
1377 |
-
"Im neuen Seitenlink-Feld werden alle Archiv-URL's der verfügbaren Custom "
|
1378 |
-
"Post Types in einer Options-Gruppe zusammengefasst"
|
1379 |
-
|
1380 |
-
# @ acf
|
1381 |
-
#: includes/admin/views/settings-info.php:149
|
1382 |
-
msgid "Better Options Pages"
|
1383 |
-
msgstr "Verbesserte Options-Seiten"
|
1384 |
-
|
1385 |
-
# @ acf
|
1386 |
-
#: includes/admin/views/settings-info.php:150
|
1387 |
-
msgid ""
|
1388 |
-
"New functions for options page allow creation of both parent and child menu "
|
1389 |
-
"pages"
|
1390 |
-
msgstr ""
|
1391 |
-
"Neue Funktionen für die Options-Seite erlauben die Erstellung von Menüs für "
|
1392 |
-
"übergeordnete Seiten sowie Unterseiten"
|
1393 |
|
1394 |
# @ acf
|
1395 |
-
#: includes/admin/views/settings-info.php:
|
1396 |
#, php-format
|
1397 |
msgid "We think you'll love the changes in %s."
|
1398 |
msgstr "Wir glauben Du wirst die Änderungen in %s lieben."
|
1399 |
|
1400 |
# @ acf
|
1401 |
-
#: includes/
|
1402 |
-
msgid "Export Field Groups to PHP"
|
1403 |
-
msgstr "Exportieren der Feld-Gruppen nach PHP"
|
1404 |
-
|
1405 |
-
# @ acf
|
1406 |
-
#: includes/admin/views/settings-tools-export.php:27
|
1407 |
-
msgid ""
|
1408 |
-
"The following code can be used to register a local version of the selected "
|
1409 |
-
"field group(s). A local field group can provide many benefits such as faster "
|
1410 |
-
"load times, version control & dynamic fields/settings. Simply copy and paste "
|
1411 |
-
"the following code to your theme's functions.php file or include it within "
|
1412 |
-
"an external file."
|
1413 |
-
msgstr ""
|
1414 |
-
"Der nachfolgende Code kann dazu verwendet werden eine lokale Version der "
|
1415 |
-
"ausgewählten Feld-Gruppe(n) zu registrieren. Eine lokale Feld-Gruppe bietet "
|
1416 |
-
"viele Vorteile; schnellere Ladezeiten, Versionskontrolle sowie dynamische "
|
1417 |
-
"Felder und Einstellungen. Kopiere einfach folgenden Code und füge ihn in die "
|
1418 |
-
"functions.php oder eine externe Datei in Deinem Theme ein."
|
1419 |
-
|
1420 |
-
# @ acf
|
1421 |
-
#: includes/admin/views/settings-tools.php:5
|
1422 |
-
msgid "Select Field Groups"
|
1423 |
-
msgstr "Felder-Gruppen auswählen"
|
1424 |
-
|
1425 |
-
# @ acf
|
1426 |
-
#: includes/admin/views/settings-tools.php:35
|
1427 |
-
msgid "Export Field Groups"
|
1428 |
-
msgstr "Feld-Gruppen exportieren"
|
1429 |
-
|
1430 |
-
# @ acf
|
1431 |
-
#: includes/admin/views/settings-tools.php:38
|
1432 |
-
msgid ""
|
1433 |
-
"Select the field groups you would like to export and then select your export "
|
1434 |
-
"method. Use the download button to export to a .json file which you can then "
|
1435 |
-
"import to another ACF installation. Use the generate button to export to PHP "
|
1436 |
-
"code which you can place in your theme."
|
1437 |
-
msgstr ""
|
1438 |
-
"Entscheide zuerst welche Felder-Gruppen Du exportieren möchtest und wähle im "
|
1439 |
-
"Anschluss das Format in das exportiert werden soll. Klicke den \"JSON-Datei "
|
1440 |
-
"exportieren\"-Button, um eine JSON-Datei zu erhalten, welche Du dann in "
|
1441 |
-
"einer anderen ACF-Installation importieren kannst. Wähle den \"Erstelle PHP-"
|
1442 |
-
"Code\"-Button, um PHP-Code zu erhalten, den Du im Anschluss in der functions."
|
1443 |
-
"php Deines Themes einfügen kannst."
|
1444 |
-
|
1445 |
-
# @ acf
|
1446 |
-
#: includes/admin/views/settings-tools.php:50
|
1447 |
-
msgid "Download export file"
|
1448 |
-
msgstr "JSON-Datei exportieren"
|
1449 |
-
|
1450 |
-
# @ acf
|
1451 |
-
#: includes/admin/views/settings-tools.php:51
|
1452 |
-
msgid "Generate export code"
|
1453 |
-
msgstr "Erstelle PHP-Code"
|
1454 |
-
|
1455 |
-
# @ acf
|
1456 |
-
#: includes/admin/views/settings-tools.php:64
|
1457 |
-
msgid "Import Field Groups"
|
1458 |
-
msgstr "Feld-Gruppen importieren"
|
1459 |
-
|
1460 |
-
# @ acf
|
1461 |
-
#: includes/admin/views/settings-tools.php:67
|
1462 |
-
msgid ""
|
1463 |
-
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
1464 |
-
"you click the import button below, ACF will import the field groups."
|
1465 |
-
msgstr ""
|
1466 |
-
"Wähle die Advanced Custom Fields JSON-Datei aus, welche Du importieren "
|
1467 |
-
"möchtest. Nach dem Klicken des Importieren-Buttons wird ACF die Felder-"
|
1468 |
-
"Gruppen hinzufügen."
|
1469 |
-
|
1470 |
-
# @ acf
|
1471 |
-
#: includes/admin/views/settings-tools.php:77
|
1472 |
-
#: includes/fields/class-acf-field-file.php:35
|
1473 |
-
msgid "Select File"
|
1474 |
-
msgstr "Datei auswählen"
|
1475 |
-
|
1476 |
-
# @ acf
|
1477 |
-
#: includes/admin/views/settings-tools.php:86
|
1478 |
-
msgid "Import"
|
1479 |
-
msgstr "Importieren"
|
1480 |
-
|
1481 |
-
# @ acf
|
1482 |
-
#: includes/api/api-helpers.php:856
|
1483 |
msgid "Thumbnail"
|
1484 |
msgstr "Miniaturbild"
|
1485 |
|
1486 |
# @ acf
|
1487 |
-
#: includes/api/api-helpers.php:
|
1488 |
msgid "Medium"
|
1489 |
msgstr "Mittel"
|
1490 |
|
1491 |
# @ acf
|
1492 |
-
#: includes/api/api-helpers.php:
|
1493 |
msgid "Large"
|
1494 |
msgstr "Gross"
|
1495 |
|
1496 |
# @ acf
|
1497 |
-
#: includes/api/api-helpers.php:
|
1498 |
msgid "Full Size"
|
1499 |
msgstr "Volle Grösse"
|
1500 |
|
1501 |
# @ acf
|
1502 |
-
#: includes/api/api-helpers.php:
|
1503 |
-
#: pro/fields/class-acf-field-clone.php:
|
1504 |
msgid "(no title)"
|
1505 |
msgstr "(ohne Titel)"
|
1506 |
|
1507 |
-
#: includes/api/api-helpers.php:1868
|
1508 |
-
#: includes/fields/class-acf-field-page_link.php:269
|
1509 |
-
#: includes/fields/class-acf-field-post_object.php:268
|
1510 |
-
#: includes/fields/class-acf-field-taxonomy.php:986
|
1511 |
-
msgid "Parent"
|
1512 |
-
msgstr "Eltern"
|
1513 |
-
|
1514 |
# @ acf
|
1515 |
-
#: includes/api/api-helpers.php:
|
1516 |
#, php-format
|
1517 |
msgid "Image width must be at least %dpx."
|
1518 |
msgstr "Die Breite des Bildes muss mindestens %dpx sein."
|
1519 |
|
1520 |
# @ acf
|
1521 |
-
#: includes/api/api-helpers.php:
|
1522 |
#, php-format
|
1523 |
msgid "Image width must not exceed %dpx."
|
1524 |
msgstr "Die Breite des Bildes darf %dpx nicht überschreiten."
|
1525 |
|
1526 |
# @ acf
|
1527 |
-
#: includes/api/api-helpers.php:
|
1528 |
#, php-format
|
1529 |
msgid "Image height must be at least %dpx."
|
1530 |
msgstr "Die Höhe des Bildes muss mindestens %dpx sein."
|
1531 |
|
1532 |
# @ acf
|
1533 |
-
#: includes/api/api-helpers.php:
|
1534 |
#, php-format
|
1535 |
msgid "Image height must not exceed %dpx."
|
1536 |
msgstr "Die Höhe des Bild darf %dpx nicht überschreiten."
|
1537 |
|
1538 |
# @ acf
|
1539 |
-
#: includes/api/api-helpers.php:
|
1540 |
#, php-format
|
1541 |
msgid "File size must be at least %s."
|
1542 |
msgstr "Die Dateigrösse muss mindestens %s sein."
|
1543 |
|
1544 |
# @ acf
|
1545 |
-
#: includes/api/api-helpers.php:
|
1546 |
#, php-format
|
1547 |
msgid "File size must must not exceed %s."
|
1548 |
msgstr "Die Dateigrösse darf %s nicht überschreiten."
|
1549 |
|
1550 |
# @ acf
|
1551 |
-
#: includes/api/api-helpers.php:
|
1552 |
#, php-format
|
1553 |
msgid "File type must be %s."
|
1554 |
msgstr "Der Dateityp muss %s sein."
|
1555 |
|
1556 |
# @ acf
|
1557 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1558 |
msgid "Basic"
|
1559 |
msgstr "Grundlage"
|
1560 |
|
1561 |
# @ acf
|
1562 |
-
#: includes/fields.php:
|
1563 |
msgid "Content"
|
1564 |
msgstr "Inhalt"
|
1565 |
|
1566 |
# @ acf
|
1567 |
-
#: includes/fields.php:
|
1568 |
msgid "Choice"
|
1569 |
msgstr "Auswahl"
|
1570 |
|
1571 |
# @ acf
|
1572 |
-
#: includes/fields.php:
|
1573 |
msgid "Relational"
|
1574 |
msgstr "Relational"
|
1575 |
|
1576 |
# @ acf
|
1577 |
-
#: includes/fields.php:
|
1578 |
msgid "jQuery"
|
1579 |
msgstr "jQuery"
|
1580 |
|
1581 |
# @ acf
|
1582 |
-
#: includes/fields.php:
|
1583 |
-
#: includes/fields/class-acf-field-
|
1584 |
-
#: includes/fields/class-acf-field-checkbox.php:384
|
1585 |
#: includes/fields/class-acf-field-group.php:474
|
1586 |
-
#: includes/fields/class-acf-field-radio.php:
|
1587 |
-
#: pro/fields/class-acf-field-clone.php:
|
1588 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1589 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1590 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1591 |
msgid "Layout"
|
1592 |
msgstr "Layout"
|
1593 |
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
msgstr "Feld-Typ existiert nicht"
|
1598 |
|
1599 |
-
#: includes/fields.php:
|
1600 |
-
msgid "
|
1601 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1602 |
|
1603 |
#: includes/fields/class-acf-field-button-group.php:24
|
1604 |
msgid "Button Group"
|
@@ -1608,7 +1762,7 @@ msgstr "Button Gruppe"
|
|
1608 |
#: includes/fields/class-acf-field-button-group.php:149
|
1609 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1610 |
#: includes/fields/class-acf-field-radio.php:235
|
1611 |
-
#: includes/fields/class-acf-field-select.php:
|
1612 |
msgid "Choices"
|
1613 |
msgstr "Auswahlmöglichkeiten"
|
1614 |
|
@@ -1616,7 +1770,7 @@ msgstr "Auswahlmöglichkeiten"
|
|
1616 |
#: includes/fields/class-acf-field-button-group.php:150
|
1617 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1618 |
#: includes/fields/class-acf-field-radio.php:236
|
1619 |
-
#: includes/fields/class-acf-field-select.php:
|
1620 |
msgid "Enter each choice on a new line."
|
1621 |
msgstr "Jede Auswahlmöglichkeit in separater Zeile eingeben."
|
1622 |
|
@@ -1624,7 +1778,7 @@ msgstr "Jede Auswahlmöglichkeit in separater Zeile eingeben."
|
|
1624 |
#: includes/fields/class-acf-field-button-group.php:150
|
1625 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1626 |
#: includes/fields/class-acf-field-radio.php:236
|
1627 |
-
#: includes/fields/class-acf-field-select.php:
|
1628 |
msgid "For more control, you may specify both a value and label like this:"
|
1629 |
msgstr ""
|
1630 |
"Für eine bessere Darstellung, kannst Du auch einen Wert und dazu dessen "
|
@@ -1634,35 +1788,35 @@ msgstr ""
|
|
1634 |
#: includes/fields/class-acf-field-button-group.php:150
|
1635 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1636 |
#: includes/fields/class-acf-field-radio.php:236
|
1637 |
-
#: includes/fields/class-acf-field-select.php:
|
1638 |
msgid "red : Red"
|
1639 |
msgstr "rot : Rot"
|
1640 |
|
1641 |
# @ acf
|
1642 |
#: includes/fields/class-acf-field-button-group.php:158
|
1643 |
#: includes/fields/class-acf-field-page_link.php:513
|
1644 |
-
#: includes/fields/class-acf-field-post_object.php:
|
1645 |
#: includes/fields/class-acf-field-radio.php:244
|
1646 |
-
#: includes/fields/class-acf-field-select.php:
|
1647 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
1648 |
-
#: includes/fields/class-acf-field-user.php:
|
1649 |
msgid "Allow Null?"
|
1650 |
msgstr "NULL-Werte zulassen?"
|
1651 |
|
1652 |
# @ acf
|
1653 |
#: includes/fields/class-acf-field-button-group.php:168
|
1654 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1655 |
#: includes/fields/class-acf-field-color_picker.php:131
|
1656 |
#: includes/fields/class-acf-field-email.php:118
|
1657 |
#: includes/fields/class-acf-field-number.php:127
|
1658 |
-
#: includes/fields/class-acf-field-radio.php:
|
1659 |
-
#: includes/fields/class-acf-field-range.php:
|
1660 |
-
#: includes/fields/class-acf-field-select.php:
|
1661 |
#: includes/fields/class-acf-field-text.php:119
|
1662 |
#: includes/fields/class-acf-field-textarea.php:102
|
1663 |
#: includes/fields/class-acf-field-true_false.php:135
|
1664 |
#: includes/fields/class-acf-field-url.php:100
|
1665 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
1666 |
msgid "Default Value"
|
1667 |
msgstr "Standardwert"
|
1668 |
|
@@ -1670,67 +1824,67 @@ msgstr "Standardwert"
|
|
1670 |
#: includes/fields/class-acf-field-button-group.php:169
|
1671 |
#: includes/fields/class-acf-field-email.php:119
|
1672 |
#: includes/fields/class-acf-field-number.php:128
|
1673 |
-
#: includes/fields/class-acf-field-radio.php:
|
1674 |
-
#: includes/fields/class-acf-field-range.php:
|
1675 |
#: includes/fields/class-acf-field-text.php:120
|
1676 |
#: includes/fields/class-acf-field-textarea.php:103
|
1677 |
#: includes/fields/class-acf-field-url.php:101
|
1678 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
1679 |
msgid "Appears when creating a new post"
|
1680 |
msgstr "Erscheint bei der Erstellung eines neuen Beitrags"
|
1681 |
|
1682 |
# @ acf
|
1683 |
#: includes/fields/class-acf-field-button-group.php:183
|
1684 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1685 |
-
#: includes/fields/class-acf-field-radio.php:
|
1686 |
msgid "Horizontal"
|
1687 |
msgstr "Horizontal"
|
1688 |
|
1689 |
# @ acf
|
1690 |
#: includes/fields/class-acf-field-button-group.php:184
|
1691 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1692 |
-
#: includes/fields/class-acf-field-radio.php:
|
1693 |
msgid "Vertical"
|
1694 |
msgstr "Vertikal"
|
1695 |
|
1696 |
# @ acf
|
1697 |
#: includes/fields/class-acf-field-button-group.php:191
|
1698 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1699 |
-
#: includes/fields/class-acf-field-file.php:
|
1700 |
-
#: includes/fields/class-acf-field-image.php:
|
1701 |
#: includes/fields/class-acf-field-link.php:166
|
1702 |
-
#: includes/fields/class-acf-field-radio.php:
|
1703 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
1704 |
msgid "Return Value"
|
1705 |
msgstr "Rückgabewert"
|
1706 |
|
1707 |
# @ acf
|
1708 |
#: includes/fields/class-acf-field-button-group.php:192
|
1709 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1710 |
-
#: includes/fields/class-acf-field-file.php:
|
1711 |
-
#: includes/fields/class-acf-field-image.php:
|
1712 |
#: includes/fields/class-acf-field-link.php:167
|
1713 |
-
#: includes/fields/class-acf-field-radio.php:
|
1714 |
msgid "Specify the returned value on front end"
|
1715 |
msgstr "Legt den Rückgabewert für das Front-End fest"
|
1716 |
|
1717 |
#: includes/fields/class-acf-field-button-group.php:197
|
1718 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1719 |
-
#: includes/fields/class-acf-field-radio.php:
|
1720 |
-
#: includes/fields/class-acf-field-select.php:
|
1721 |
msgid "Value"
|
1722 |
msgstr "Wert"
|
1723 |
|
1724 |
#: includes/fields/class-acf-field-button-group.php:199
|
1725 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1726 |
-
#: includes/fields/class-acf-field-radio.php:
|
1727 |
-
#: includes/fields/class-acf-field-select.php:
|
1728 |
msgid "Both (Array)"
|
1729 |
msgstr "Beide (Array)"
|
1730 |
|
1731 |
# @ acf
|
1732 |
#: includes/fields/class-acf-field-checkbox.php:25
|
1733 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
1734 |
msgid "Checkbox"
|
1735 |
msgstr "Checkbox"
|
1736 |
|
@@ -1761,16 +1915,16 @@ msgstr ""
|
|
1761 |
"Sichere benutzerdefinierte Werte zu den Auswahlmöglichkeiten des Feldes"
|
1762 |
|
1763 |
# @ acf
|
1764 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1765 |
-
#: includes/fields/class-acf-field-select.php:
|
1766 |
msgid "Enter each default value on a new line"
|
1767 |
msgstr "Jeden Standardwert in einer neuen Zeile eingeben"
|
1768 |
|
1769 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1770 |
msgid "Toggle"
|
1771 |
msgstr "Auswählen"
|
1772 |
|
1773 |
-
#: includes/fields/class-acf-field-checkbox.php:
|
1774 |
msgid "Prepend an extra checkbox to toggle all choices"
|
1775 |
msgstr ""
|
1776 |
"Hänge eine zusätzliche Checkbox an mit der man alle Optionen auswählen kann"
|
@@ -1804,82 +1958,83 @@ msgstr "Aktuelle Farbe"
|
|
1804 |
msgid "Date Picker"
|
1805 |
msgstr "Datum"
|
1806 |
|
1807 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1808 |
msgctxt "Date Picker JS closeText"
|
1809 |
msgid "Done"
|
1810 |
msgstr "Schliessen"
|
1811 |
|
1812 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1813 |
msgctxt "Date Picker JS currentText"
|
1814 |
msgid "Today"
|
1815 |
msgstr "Heute"
|
1816 |
|
1817 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1818 |
msgctxt "Date Picker JS nextText"
|
1819 |
msgid "Next"
|
1820 |
msgstr "Weiter"
|
1821 |
|
1822 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1823 |
msgctxt "Date Picker JS prevText"
|
1824 |
msgid "Prev"
|
1825 |
msgstr "Zurück"
|
1826 |
|
1827 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1828 |
msgctxt "Date Picker JS weekHeader"
|
1829 |
msgid "Wk"
|
1830 |
msgstr "KW"
|
1831 |
|
1832 |
# @ acf
|
1833 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1834 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1835 |
#: includes/fields/class-acf-field-time_picker.php:109
|
1836 |
msgid "Display Format"
|
1837 |
msgstr "Darstellungs-Format"
|
1838 |
|
1839 |
# @ acf
|
1840 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1841 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1842 |
#: includes/fields/class-acf-field-time_picker.php:110
|
1843 |
msgid "The format displayed when editing a post"
|
1844 |
msgstr "Das Datums-Format für die Anzeige in der Bearbeitungs-Ansicht"
|
1845 |
|
1846 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1847 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1848 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1849 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1850 |
#: includes/fields/class-acf-field-time_picker.php:117
|
1851 |
#: includes/fields/class-acf-field-time_picker.php:132
|
1852 |
msgid "Custom:"
|
1853 |
msgstr "Benutzerdefiniert:"
|
1854 |
|
1855 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1856 |
msgid "Save Format"
|
1857 |
msgstr "Format sichern"
|
1858 |
|
1859 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1860 |
msgid "The format used when saving a value"
|
1861 |
msgstr "Das verwendete Format, wenn der Wert gesichert wird"
|
1862 |
|
1863 |
# @ acf
|
1864 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1865 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1866 |
-
#: includes/fields/class-acf-field-post_object.php:
|
1867 |
-
#: includes/fields/class-acf-field-relationship.php:
|
1868 |
-
#: includes/fields/class-acf-field-select.php:
|
1869 |
#: includes/fields/class-acf-field-time_picker.php:124
|
|
|
1870 |
msgid "Return Format"
|
1871 |
msgstr "Rückgabewert"
|
1872 |
|
1873 |
# @ acf
|
1874 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1875 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1876 |
#: includes/fields/class-acf-field-time_picker.php:125
|
1877 |
msgid "The format returned via template functions"
|
1878 |
msgstr "Das Datums-Format für die Ausgabe in den Template-Funktionen"
|
1879 |
|
1880 |
# @ acf
|
1881 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1882 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1883 |
msgid "Week Starts On"
|
1884 |
msgstr "Die Woche beginnt am"
|
1885 |
|
@@ -1887,77 +2042,77 @@ msgstr "Die Woche beginnt am"
|
|
1887 |
msgid "Date Time Picker"
|
1888 |
msgstr "Datum/Uhrzeit"
|
1889 |
|
1890 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1891 |
msgctxt "Date Time Picker JS timeOnlyTitle"
|
1892 |
msgid "Choose Time"
|
1893 |
msgstr "Zeit setzen"
|
1894 |
|
1895 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1896 |
msgctxt "Date Time Picker JS timeText"
|
1897 |
msgid "Time"
|
1898 |
msgstr "Zeit"
|
1899 |
|
1900 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1901 |
msgctxt "Date Time Picker JS hourText"
|
1902 |
msgid "Hour"
|
1903 |
msgstr "Stunde"
|
1904 |
|
1905 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1906 |
msgctxt "Date Time Picker JS minuteText"
|
1907 |
msgid "Minute"
|
1908 |
msgstr "Minute"
|
1909 |
|
1910 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1911 |
msgctxt "Date Time Picker JS secondText"
|
1912 |
msgid "Second"
|
1913 |
msgstr "Sekunde"
|
1914 |
|
1915 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1916 |
msgctxt "Date Time Picker JS millisecText"
|
1917 |
msgid "Millisecond"
|
1918 |
msgstr "Millisekunde"
|
1919 |
|
1920 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1921 |
msgctxt "Date Time Picker JS microsecText"
|
1922 |
msgid "Microsecond"
|
1923 |
msgstr "Mikrosekunde"
|
1924 |
|
1925 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1926 |
msgctxt "Date Time Picker JS timezoneText"
|
1927 |
msgid "Time Zone"
|
1928 |
msgstr "Zeitzone"
|
1929 |
|
1930 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1931 |
msgctxt "Date Time Picker JS currentText"
|
1932 |
msgid "Now"
|
1933 |
msgstr "Jetzt"
|
1934 |
|
1935 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1936 |
msgctxt "Date Time Picker JS closeText"
|
1937 |
msgid "Done"
|
1938 |
msgstr "Schliessen"
|
1939 |
|
1940 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1941 |
msgctxt "Date Time Picker JS selectText"
|
1942 |
msgid "Select"
|
1943 |
msgstr "Auswählen"
|
1944 |
|
1945 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1946 |
msgctxt "Date Time Picker JS amText"
|
1947 |
msgid "AM"
|
1948 |
msgstr "AM"
|
1949 |
|
1950 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1951 |
msgctxt "Date Time Picker JS amTextShort"
|
1952 |
msgid "A"
|
1953 |
msgstr "A"
|
1954 |
|
1955 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1956 |
msgctxt "Date Time Picker JS pmText"
|
1957 |
msgid "PM"
|
1958 |
msgstr "PM"
|
1959 |
|
1960 |
-
#: includes/fields/class-acf-field-date_time_picker.php:
|
1961 |
msgctxt "Date Time Picker JS pmTextShort"
|
1962 |
msgid "P"
|
1963 |
msgstr "P"
|
@@ -1991,7 +2146,7 @@ msgstr "Platzhalter-Text solange keine Eingabe im Feld vorgenommen wurde"
|
|
1991 |
#: includes/fields/class-acf-field-email.php:136
|
1992 |
#: includes/fields/class-acf-field-number.php:145
|
1993 |
#: includes/fields/class-acf-field-password.php:80
|
1994 |
-
#: includes/fields/class-acf-field-range.php:
|
1995 |
#: includes/fields/class-acf-field-text.php:137
|
1996 |
msgid "Prepend"
|
1997 |
msgstr "Voranstellen"
|
@@ -2000,7 +2155,7 @@ msgstr "Voranstellen"
|
|
2000 |
#: includes/fields/class-acf-field-email.php:137
|
2001 |
#: includes/fields/class-acf-field-number.php:146
|
2002 |
#: includes/fields/class-acf-field-password.php:81
|
2003 |
-
#: includes/fields/class-acf-field-range.php:
|
2004 |
#: includes/fields/class-acf-field-text.php:138
|
2005 |
msgid "Appears before the input"
|
2006 |
msgstr "Wird dem Eingabefeld vorangestellt"
|
@@ -2009,7 +2164,7 @@ msgstr "Wird dem Eingabefeld vorangestellt"
|
|
2009 |
#: includes/fields/class-acf-field-email.php:145
|
2010 |
#: includes/fields/class-acf-field-number.php:154
|
2011 |
#: includes/fields/class-acf-field-password.php:89
|
2012 |
-
#: includes/fields/class-acf-field-range.php:
|
2013 |
#: includes/fields/class-acf-field-text.php:146
|
2014 |
msgid "Append"
|
2015 |
msgstr "Anhängen"
|
@@ -2018,7 +2173,7 @@ msgstr "Anhängen"
|
|
2018 |
#: includes/fields/class-acf-field-email.php:146
|
2019 |
#: includes/fields/class-acf-field-number.php:155
|
2020 |
#: includes/fields/class-acf-field-password.php:90
|
2021 |
-
#: includes/fields/class-acf-field-range.php:
|
2022 |
#: includes/fields/class-acf-field-text.php:147
|
2023 |
msgid "Appears after the input"
|
2024 |
msgstr "Wird dem Eingabefeld hinten angestellt"
|
@@ -2029,83 +2184,67 @@ msgid "File"
|
|
2029 |
msgstr "Datei"
|
2030 |
|
2031 |
# @ acf
|
2032 |
-
#: includes/fields/class-acf-field-file.php:
|
2033 |
msgid "Edit File"
|
2034 |
msgstr "Datei bearbeiten"
|
2035 |
|
2036 |
# @ acf
|
2037 |
-
#: includes/fields/class-acf-field-file.php:
|
2038 |
msgid "Update File"
|
2039 |
msgstr "Datei aktualisieren"
|
2040 |
|
2041 |
-
|
2042 |
-
#: includes/fields/class-acf-field-file.php:38
|
2043 |
-
#: includes/fields/class-acf-field-image.php:43 includes/media.php:57
|
2044 |
-
#: pro/fields/class-acf-field-gallery.php:44
|
2045 |
-
msgid "Uploaded to this post"
|
2046 |
-
msgstr "Zu diesem Beitrag hochgeladen"
|
2047 |
-
|
2048 |
-
#: includes/fields/class-acf-field-file.php:126
|
2049 |
msgid "File name"
|
2050 |
msgstr "Dateiname"
|
2051 |
|
2052 |
# @ acf
|
2053 |
-
#: includes/fields/class-acf-field-file.php:
|
2054 |
-
#: includes/fields/class-acf-field-file.php:
|
2055 |
-
#: includes/fields/class-acf-field-file.php:
|
2056 |
-
#: includes/fields/class-acf-field-image.php:
|
2057 |
-
#: includes/fields/class-acf-field-image.php:
|
2058 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2059 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2060 |
msgid "File size"
|
2061 |
msgstr "Dateigrösse"
|
2062 |
|
2063 |
# @ acf
|
2064 |
-
#: includes/fields/class-acf-field-file.php:
|
2065 |
-
#: includes/fields/class-acf-field-image.php:124
|
2066 |
-
#: includes/fields/class-acf-field-link.php:140 includes/input.php:269
|
2067 |
-
#: pro/fields/class-acf-field-gallery.php:343
|
2068 |
-
#: pro/fields/class-acf-field-gallery.php:531
|
2069 |
-
msgid "Remove"
|
2070 |
-
msgstr "Entfernen"
|
2071 |
-
|
2072 |
-
# @ acf
|
2073 |
-
#: includes/fields/class-acf-field-file.php:155
|
2074 |
msgid "Add File"
|
2075 |
msgstr "Datei hinzufügen"
|
2076 |
|
2077 |
# @ acf
|
2078 |
-
#: includes/fields/class-acf-field-file.php:
|
2079 |
msgid "File Array"
|
2080 |
msgstr "Datei-Array"
|
2081 |
|
2082 |
# @ acf
|
2083 |
-
#: includes/fields/class-acf-field-file.php:
|
2084 |
msgid "File URL"
|
2085 |
msgstr "Datei-URL"
|
2086 |
|
2087 |
# @ acf
|
2088 |
-
#: includes/fields/class-acf-field-file.php:
|
2089 |
msgid "File ID"
|
2090 |
msgstr "Datei-ID"
|
2091 |
|
2092 |
# @ acf
|
2093 |
-
#: includes/fields/class-acf-field-file.php:
|
2094 |
-
#: includes/fields/class-acf-field-image.php:
|
2095 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2096 |
msgid "Library"
|
2097 |
msgstr "Medienübersicht"
|
2098 |
|
2099 |
# @ acf
|
2100 |
-
#: includes/fields/class-acf-field-file.php:
|
2101 |
-
#: includes/fields/class-acf-field-image.php:
|
2102 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2103 |
msgid "Limit the media library choice"
|
2104 |
msgstr "Beschränkt die Auswahl in der Medienübersicht"
|
2105 |
|
2106 |
# @ acf
|
2107 |
-
#: includes/fields/class-acf-field-file.php:
|
2108 |
-
#: includes/fields/class-acf-field-image.php:
|
2109 |
#: includes/locations/class-acf-location-attachment.php:101
|
2110 |
#: includes/locations/class-acf-location-comment.php:79
|
2111 |
#: includes/locations/class-acf-location-nav-menu.php:102
|
@@ -2113,50 +2252,50 @@ msgstr "Beschränkt die Auswahl in der Medienübersicht"
|
|
2113 |
#: includes/locations/class-acf-location-user-form.php:87
|
2114 |
#: includes/locations/class-acf-location-user-role.php:111
|
2115 |
#: includes/locations/class-acf-location-widget.php:83
|
2116 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2117 |
msgid "All"
|
2118 |
msgstr "Alle"
|
2119 |
|
2120 |
# @ acf
|
2121 |
-
#: includes/fields/class-acf-field-file.php:
|
2122 |
-
#: includes/fields/class-acf-field-image.php:
|
2123 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2124 |
msgid "Uploaded to post"
|
2125 |
msgstr "Für den Beitrag hochgeladen"
|
2126 |
|
2127 |
# @ acf
|
2128 |
-
#: includes/fields/class-acf-field-file.php:
|
2129 |
-
#: includes/fields/class-acf-field-image.php:
|
2130 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2131 |
msgid "Minimum"
|
2132 |
msgstr "Minimum"
|
2133 |
|
2134 |
# @ acf
|
2135 |
-
#: includes/fields/class-acf-field-file.php:
|
2136 |
-
#: includes/fields/class-acf-field-file.php:
|
2137 |
msgid "Restrict which files can be uploaded"
|
2138 |
msgstr ""
|
2139 |
"Erlaubt nur das Hochladen von Dateien die die angegebenen Eigenschaften "
|
2140 |
"erfüllen"
|
2141 |
|
2142 |
# @ acf
|
2143 |
-
#: includes/fields/class-acf-field-file.php:
|
2144 |
-
#: includes/fields/class-acf-field-image.php:
|
2145 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2146 |
msgid "Maximum"
|
2147 |
msgstr "Maximum"
|
2148 |
|
2149 |
# @ acf
|
2150 |
-
#: includes/fields/class-acf-field-file.php:
|
2151 |
-
#: includes/fields/class-acf-field-image.php:
|
2152 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2153 |
msgid "Allowed file types"
|
2154 |
msgstr "Erlaubte Datei-Formate"
|
2155 |
|
2156 |
# @ acf
|
2157 |
-
#: includes/fields/class-acf-field-file.php:
|
2158 |
-
#: includes/fields/class-acf-field-image.php:
|
2159 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2160 |
msgid "Comma separated list. Leave blank for all types"
|
2161 |
msgstr ""
|
2162 |
"Komma separierte Liste; ein leeres Feld bedeutet alle Dateiformate sind "
|
@@ -2168,66 +2307,61 @@ msgid "Google Map"
|
|
2168 |
msgstr "Google Maps"
|
2169 |
|
2170 |
# @ acf
|
2171 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2172 |
-
msgid "Locating"
|
2173 |
-
msgstr "Lokalisiere"
|
2174 |
-
|
2175 |
-
# @ acf
|
2176 |
-
#: includes/fields/class-acf-field-google-map.php:41
|
2177 |
msgid "Sorry, this browser does not support geolocation"
|
2178 |
msgstr "Dieser Browser unterstützt keine Geo-Lokation"
|
2179 |
|
2180 |
# @ acf
|
2181 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2182 |
msgid "Clear location"
|
2183 |
msgstr "Position löschen"
|
2184 |
|
2185 |
# @ acf
|
2186 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2187 |
msgid "Find current location"
|
2188 |
msgstr "Aktuelle Position finden"
|
2189 |
|
2190 |
# @ acf
|
2191 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2192 |
msgid "Search for address..."
|
2193 |
msgstr "Nach der Adresse suchen..."
|
2194 |
|
2195 |
# @ acf
|
2196 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2197 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2198 |
msgid "Center"
|
2199 |
msgstr "Kartenmittelpunkt"
|
2200 |
|
2201 |
# @ acf
|
2202 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2203 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2204 |
msgid "Center the initial map"
|
2205 |
msgstr "Der Mittelpunkt der Ausgangskarte"
|
2206 |
|
2207 |
# @ acf
|
2208 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2209 |
msgid "Zoom"
|
2210 |
msgstr "Zoom"
|
2211 |
|
2212 |
# @ acf
|
2213 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2214 |
msgid "Set the initial zoom level"
|
2215 |
msgstr "Legt die Zoomstufe der Karte fest"
|
2216 |
|
2217 |
# @ acf
|
2218 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2219 |
-
#: includes/fields/class-acf-field-image.php:
|
2220 |
-
#: includes/fields/class-acf-field-image.php:
|
2221 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2222 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2223 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2224 |
msgid "Height"
|
2225 |
msgstr "Höhe"
|
2226 |
|
2227 |
# @ acf
|
2228 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2229 |
-
msgid "
|
2230 |
-
msgstr "
|
2231 |
|
2232 |
# @ acf
|
2233 |
#: includes/fields/class-acf-field-group.php:25
|
@@ -2236,36 +2370,36 @@ msgstr "Gruppe"
|
|
2236 |
|
2237 |
# @ acf
|
2238 |
#: includes/fields/class-acf-field-group.php:459
|
2239 |
-
#: pro/fields/class-acf-field-repeater.php:
|
2240 |
msgid "Sub Fields"
|
2241 |
msgstr "Wiederholungsfelder"
|
2242 |
|
2243 |
#: includes/fields/class-acf-field-group.php:475
|
2244 |
-
#: pro/fields/class-acf-field-clone.php:
|
2245 |
msgid "Specify the style used to render the selected fields"
|
2246 |
msgstr "Gib an, wie die ausgewählten Felder angezeigt werden sollen"
|
2247 |
|
2248 |
# @ acf
|
2249 |
#: includes/fields/class-acf-field-group.php:480
|
2250 |
-
#: pro/fields/class-acf-field-clone.php:
|
2251 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2252 |
-
#: pro/fields/class-acf-field-repeater.php:
|
2253 |
msgid "Block"
|
2254 |
msgstr "Block"
|
2255 |
|
2256 |
# @ acf
|
2257 |
#: includes/fields/class-acf-field-group.php:481
|
2258 |
-
#: pro/fields/class-acf-field-clone.php:
|
2259 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2260 |
-
#: pro/fields/class-acf-field-repeater.php:
|
2261 |
msgid "Table"
|
2262 |
msgstr "Tabelle"
|
2263 |
|
2264 |
# @ acf
|
2265 |
#: includes/fields/class-acf-field-group.php:482
|
2266 |
-
#: pro/fields/class-acf-field-clone.php:
|
2267 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2268 |
-
#: pro/fields/class-acf-field-repeater.php:
|
2269 |
msgid "Row"
|
2270 |
msgstr "Reihe"
|
2271 |
|
@@ -2275,78 +2409,71 @@ msgid "Image"
|
|
2275 |
msgstr "Bild"
|
2276 |
|
2277 |
# @ acf
|
2278 |
-
#: includes/fields/class-acf-field-image.php:
|
2279 |
msgid "Select Image"
|
2280 |
msgstr "Bild auswählen"
|
2281 |
|
2282 |
# @ acf
|
2283 |
-
#: includes/fields/class-acf-field-image.php:
|
2284 |
-
#: pro/fields/class-acf-field-gallery.php:42
|
2285 |
msgid "Edit Image"
|
2286 |
msgstr "Bild bearbeiten"
|
2287 |
|
2288 |
# @ acf
|
2289 |
-
#: includes/fields/class-acf-field-image.php:
|
2290 |
-
#: pro/fields/class-acf-field-gallery.php:43
|
2291 |
msgid "Update Image"
|
2292 |
msgstr "Bild aktualisieren"
|
2293 |
|
2294 |
# @ acf
|
2295 |
-
#: includes/fields/class-acf-field-image.php:
|
2296 |
-
msgid "All images"
|
2297 |
-
msgstr "Alle Bilder"
|
2298 |
-
|
2299 |
-
# @ acf
|
2300 |
-
#: includes/fields/class-acf-field-image.php:140
|
2301 |
msgid "No image selected"
|
2302 |
msgstr "Kein Bild ausgewählt"
|
2303 |
|
2304 |
# @ acf
|
2305 |
-
#: includes/fields/class-acf-field-image.php:
|
2306 |
msgid "Add Image"
|
2307 |
msgstr "Bild hinzufügen"
|
2308 |
|
2309 |
# @ acf
|
2310 |
-
#: includes/fields/class-acf-field-image.php:
|
2311 |
msgid "Image Array"
|
2312 |
msgstr "Bild-Array"
|
2313 |
|
2314 |
# @ acf
|
2315 |
-
#: includes/fields/class-acf-field-image.php:
|
2316 |
msgid "Image URL"
|
2317 |
msgstr "Bild-URL"
|
2318 |
|
2319 |
# @ acf
|
2320 |
-
#: includes/fields/class-acf-field-image.php:
|
2321 |
msgid "Image ID"
|
2322 |
msgstr "Bild-ID"
|
2323 |
|
2324 |
# @ acf
|
2325 |
-
#: includes/fields/class-acf-field-image.php:
|
2326 |
msgid "Preview Size"
|
2327 |
msgstr "Masse der Vorschau"
|
2328 |
|
2329 |
# @ acf
|
2330 |
-
#: includes/fields/class-acf-field-image.php:
|
2331 |
msgid "Shown when entering data"
|
2332 |
msgstr "Legt fest welche Masse die Vorschau in der Bearbeitungs-Ansicht hat"
|
2333 |
|
2334 |
# @ acf
|
2335 |
-
#: includes/fields/class-acf-field-image.php:
|
2336 |
-
#: includes/fields/class-acf-field-image.php:
|
2337 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2338 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2339 |
msgid "Restrict which images can be uploaded"
|
2340 |
msgstr ""
|
2341 |
"Erlaubt nur das Hochladen von Bildern, die die angegebenen Eigenschaften "
|
2342 |
"erfüllen"
|
2343 |
|
2344 |
# @ acf
|
2345 |
-
#: includes/fields/class-acf-field-image.php:
|
2346 |
-
#: includes/fields/class-acf-field-image.php:
|
2347 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2348 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2349 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2350 |
msgid "Width"
|
2351 |
msgstr "Breite"
|
2352 |
|
@@ -2430,19 +2557,19 @@ msgstr "Numerisch"
|
|
2430 |
|
2431 |
# @ acf
|
2432 |
#: includes/fields/class-acf-field-number.php:163
|
2433 |
-
#: includes/fields/class-acf-field-range.php:
|
2434 |
msgid "Minimum Value"
|
2435 |
msgstr "Mindestwert"
|
2436 |
|
2437 |
# @ acf
|
2438 |
#: includes/fields/class-acf-field-number.php:172
|
2439 |
-
#: includes/fields/class-acf-field-range.php:
|
2440 |
msgid "Maximum Value"
|
2441 |
msgstr "Maximalwert"
|
2442 |
|
2443 |
# @ acf
|
2444 |
#: includes/fields/class-acf-field-number.php:181
|
2445 |
-
#: includes/fields/class-acf-field-range.php:
|
2446 |
msgid "Step Size"
|
2447 |
msgstr "Schrittweite"
|
2448 |
|
@@ -2469,56 +2596,57 @@ msgid "oEmbed"
|
|
2469 |
msgstr "oEmbed"
|
2470 |
|
2471 |
# @ acf
|
2472 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2473 |
msgid "Enter URL"
|
2474 |
msgstr "URL eingeben"
|
2475 |
|
2476 |
-
#: includes/fields/class-acf-field-oembed.php:234
|
2477 |
-
#: includes/fields/class-acf-field-taxonomy.php:898
|
2478 |
-
msgid "Error."
|
2479 |
-
msgstr "Fehler."
|
2480 |
-
|
2481 |
# @ acf
|
2482 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2483 |
-
|
2484 |
-
msgstr "Keine Inhalte für die eingegebene URL gefunden."
|
2485 |
-
|
2486 |
-
# @ acf
|
2487 |
-
#: includes/fields/class-acf-field-oembed.php:267
|
2488 |
-
#: includes/fields/class-acf-field-oembed.php:278
|
2489 |
msgid "Embed Size"
|
2490 |
msgstr "Masse"
|
2491 |
|
|
|
|
|
|
|
|
|
|
|
2492 |
# @ acf
|
2493 |
#: includes/fields/class-acf-field-page_link.php:177
|
2494 |
msgid "Archives"
|
2495 |
msgstr "Archive"
|
2496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2497 |
# @ acf
|
2498 |
#: includes/fields/class-acf-field-page_link.php:485
|
2499 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2500 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2501 |
msgid "Filter by Post Type"
|
2502 |
msgstr "Nach Post Types filtern"
|
2503 |
|
2504 |
# @ acf
|
2505 |
#: includes/fields/class-acf-field-page_link.php:493
|
2506 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2507 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2508 |
msgid "All post types"
|
2509 |
msgstr "Alle verfügbaren Post Types"
|
2510 |
|
2511 |
# @ acf
|
2512 |
#: includes/fields/class-acf-field-page_link.php:499
|
2513 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2514 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2515 |
msgid "Filter by Taxonomy"
|
2516 |
msgstr "Nach Taxonomien filtern"
|
2517 |
|
2518 |
# @ acf
|
2519 |
#: includes/fields/class-acf-field-page_link.php:507
|
2520 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2521 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2522 |
msgid "All taxonomies"
|
2523 |
msgstr "Alle Taxonomien"
|
2524 |
|
@@ -2528,9 +2656,9 @@ msgstr "Archiv URLs erlauben"
|
|
2528 |
|
2529 |
# @ acf
|
2530 |
#: includes/fields/class-acf-field-page_link.php:533
|
2531 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2532 |
-
#: includes/fields/class-acf-field-select.php:
|
2533 |
-
#: includes/fields/class-acf-field-user.php:
|
2534 |
msgid "Select multiple values?"
|
2535 |
msgstr "Mehrere Werte auswählbar?"
|
2536 |
|
@@ -2541,14 +2669,14 @@ msgstr "Passwort"
|
|
2541 |
|
2542 |
# @ acf
|
2543 |
#: includes/fields/class-acf-field-post_object.php:25
|
2544 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2545 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2546 |
msgid "Post Object"
|
2547 |
msgstr "Beitrags-Objekt"
|
2548 |
|
2549 |
# @ acf
|
2550 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2551 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2552 |
msgid "Post ID"
|
2553 |
msgstr "Beitrags-ID"
|
2554 |
|
@@ -2589,81 +2717,77 @@ msgid "Relationship"
|
|
2589 |
msgstr "Beziehung"
|
2590 |
|
2591 |
# @ acf
|
2592 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2593 |
-
msgid "Minimum values reached ( {min} values )"
|
2594 |
-
msgstr "Minimum der Einträge mit ({min} Einträge) erreicht"
|
2595 |
-
|
2596 |
-
# @ acf
|
2597 |
-
#: includes/fields/class-acf-field-relationship.php:38
|
2598 |
msgid "Maximum values reached ( {max} values )"
|
2599 |
msgstr "Maximum der Einträge mit ({max} Einträge) erreicht"
|
2600 |
|
2601 |
# @ acf
|
2602 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2603 |
msgid "Loading"
|
2604 |
msgstr "Lade"
|
2605 |
|
2606 |
# @ acf
|
2607 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2608 |
msgid "No matches found"
|
2609 |
msgstr "Keine Übereinstimmung gefunden"
|
2610 |
|
2611 |
# @ acf
|
2612 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2613 |
msgid "Select post type"
|
2614 |
msgstr "Beitrag-Typ auswählen"
|
2615 |
|
2616 |
# @ acf
|
2617 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2618 |
msgid "Select taxonomy"
|
2619 |
msgstr "Taxonomie auswählen"
|
2620 |
|
2621 |
# @ acf
|
2622 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2623 |
msgid "Search..."
|
2624 |
msgstr "Suchen..."
|
2625 |
|
2626 |
# @ acf
|
2627 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2628 |
msgid "Filters"
|
2629 |
msgstr "Filter"
|
2630 |
|
2631 |
# @ acf
|
2632 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2633 |
#: includes/locations/class-acf-location-post-type.php:27
|
2634 |
msgid "Post Type"
|
2635 |
msgstr "Beitrags-Typ"
|
2636 |
|
2637 |
# @ acf
|
2638 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2639 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2640 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
|
|
2641 |
msgid "Taxonomy"
|
2642 |
msgstr "Taxonomie"
|
2643 |
|
2644 |
# @ acf
|
2645 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2646 |
msgid "Elements"
|
2647 |
msgstr "Elemente"
|
2648 |
|
2649 |
# @ acf
|
2650 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2651 |
msgid "Selected elements will be displayed in each result"
|
2652 |
msgstr "Die ausgewählten Elemente werden in jedem Ergebnis mit angezeigt"
|
2653 |
|
2654 |
# @ acf
|
2655 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2656 |
msgid "Minimum posts"
|
2657 |
msgstr "Min. Anzahl der Beiträge"
|
2658 |
|
2659 |
# @ acf
|
2660 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2661 |
msgid "Maximum posts"
|
2662 |
msgstr "Max. Anzahl der Beiträge"
|
2663 |
|
2664 |
# @ acf
|
2665 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2666 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2667 |
#, php-format
|
2668 |
msgid "%s requires at least %s selection"
|
2669 |
msgid_plural "%s requires at least %s selections"
|
@@ -2671,92 +2795,87 @@ msgstr[0] "%s benötigt mindestens %s Selektion"
|
|
2671 |
msgstr[1] "%s benötigt mindestens %s Selektionen"
|
2672 |
|
2673 |
#: includes/fields/class-acf-field-select.php:25
|
2674 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2675 |
msgctxt "noun"
|
2676 |
msgid "Select"
|
2677 |
msgstr "Auswahlmenü"
|
2678 |
|
2679 |
-
#: includes/fields/class-acf-field-select.php:
|
2680 |
msgctxt "Select2 JS matches_1"
|
2681 |
msgid "One result is available, press enter to select it."
|
2682 |
msgstr "Ein Resultat gefunden, mit Enter auswählen."
|
2683 |
|
2684 |
-
#: includes/fields/class-acf-field-select.php:
|
2685 |
#, php-format
|
2686 |
msgctxt "Select2 JS matches_n"
|
2687 |
msgid "%d results are available, use up and down arrow keys to navigate."
|
2688 |
msgstr "%d Resultate gefunden, benutze die Pfeiltasten um zu navigieren."
|
2689 |
|
2690 |
-
#: includes/fields/class-acf-field-select.php:
|
2691 |
msgctxt "Select2 JS matches_0"
|
2692 |
msgid "No matches found"
|
2693 |
msgstr "Keine Übereinstimmungen gefunden"
|
2694 |
|
2695 |
-
#: includes/fields/class-acf-field-select.php:
|
2696 |
msgctxt "Select2 JS input_too_short_1"
|
2697 |
msgid "Please enter 1 or more characters"
|
2698 |
msgstr "Bitte eins oder mehrere Zeichen eingeben"
|
2699 |
|
2700 |
-
#: includes/fields/class-acf-field-select.php:
|
2701 |
#, php-format
|
2702 |
msgctxt "Select2 JS input_too_short_n"
|
2703 |
msgid "Please enter %d or more characters"
|
2704 |
msgstr "Bitte %d mehr Zeichen eingeben"
|
2705 |
|
2706 |
-
#: includes/fields/class-acf-field-select.php:
|
2707 |
msgctxt "Select2 JS input_too_long_1"
|
2708 |
msgid "Please delete 1 character"
|
2709 |
msgstr "Bitte ein Zeichen löschen"
|
2710 |
|
2711 |
-
#: includes/fields/class-acf-field-select.php:
|
2712 |
#, php-format
|
2713 |
msgctxt "Select2 JS input_too_long_n"
|
2714 |
msgid "Please delete %d characters"
|
2715 |
msgstr "Bitte %d Zeichen löschen"
|
2716 |
|
2717 |
-
#: includes/fields/class-acf-field-select.php:
|
2718 |
msgctxt "Select2 JS selection_too_long_1"
|
2719 |
msgid "You can only select 1 item"
|
2720 |
msgstr "Du kannst du ein Resultat wählen"
|
2721 |
|
2722 |
-
#: includes/fields/class-acf-field-select.php:
|
2723 |
#, php-format
|
2724 |
msgctxt "Select2 JS selection_too_long_n"
|
2725 |
msgid "You can only select %d items"
|
2726 |
msgstr "Du kannst nur %d Resultate auswählen"
|
2727 |
|
2728 |
-
#: includes/fields/class-acf-field-select.php:
|
2729 |
msgctxt "Select2 JS load_more"
|
2730 |
msgid "Loading more results…"
|
2731 |
msgstr "Lade weitere Resultate…"
|
2732 |
|
2733 |
-
#: includes/fields/class-acf-field-select.php:
|
2734 |
msgctxt "Select2 JS searching"
|
2735 |
msgid "Searching…"
|
2736 |
msgstr "Suche…"
|
2737 |
|
2738 |
-
#: includes/fields/class-acf-field-select.php:
|
2739 |
msgctxt "Select2 JS load_fail"
|
2740 |
msgid "Loading failed"
|
2741 |
msgstr "Fehler beim Laden"
|
2742 |
|
2743 |
-
#: includes/fields/class-acf-field-select.php:255 includes/media.php:54
|
2744 |
-
msgctxt "verb"
|
2745 |
-
msgid "Select"
|
2746 |
-
msgstr "Auswählen"
|
2747 |
-
|
2748 |
# @ acf
|
2749 |
-
#: includes/fields/class-acf-field-select.php:
|
2750 |
#: includes/fields/class-acf-field-true_false.php:144
|
2751 |
msgid "Stylised UI"
|
2752 |
msgstr "Modernes Auswahlfeld"
|
2753 |
|
2754 |
# @ acf
|
2755 |
-
#: includes/fields/class-acf-field-select.php:
|
2756 |
msgid "Use AJAX to lazy load choices?"
|
2757 |
msgstr "AJAX zum Laden der Einträge aktivieren?"
|
2758 |
|
2759 |
-
#: includes/fields/class-acf-field-select.php:
|
2760 |
msgid "Specify the value returned"
|
2761 |
msgstr "Rückgabewert festlegen"
|
2762 |
|
@@ -2770,150 +2889,116 @@ msgid "Tab"
|
|
2770 |
msgstr "Tab"
|
2771 |
|
2772 |
# @ acf
|
2773 |
-
#: includes/fields/class-acf-field-tab.php:
|
2774 |
-
msgid ""
|
2775 |
-
"The tab field will display incorrectly when added to a Table style repeater "
|
2776 |
-
"field or flexible content field layout"
|
2777 |
-
msgstr ""
|
2778 |
-
"Ein Tab-Feld wird nicht korrekt dargestellt, wenn es zu einem Wiederholung- "
|
2779 |
-
"oder Flexible-Inhalte-Feld im Tabellen-Layout eingebunden ist"
|
2780 |
-
|
2781 |
-
# @ acf
|
2782 |
-
#: includes/fields/class-acf-field-tab.php:83
|
2783 |
-
msgid ""
|
2784 |
-
"Use \"Tab Fields\" to better organize your edit screen by grouping fields "
|
2785 |
-
"together."
|
2786 |
-
msgstr ""
|
2787 |
-
"Mit \"Tab Feldern\" können Felder für eine bessere Struktur im Editor in "
|
2788 |
-
"Tabs zusammengefasst werden."
|
2789 |
-
|
2790 |
-
# @ acf
|
2791 |
-
#: includes/fields/class-acf-field-tab.php:84
|
2792 |
-
msgid ""
|
2793 |
-
"All fields following this \"tab field\" (or until another \"tab field\" is "
|
2794 |
-
"defined) will be grouped together using this field's label as the tab "
|
2795 |
-
"heading."
|
2796 |
-
msgstr ""
|
2797 |
-
"Alle Felder, die auf dieses \"Tab Feld\" folgen (oder bis ein weiteres \"Tab "
|
2798 |
-
"Feld\" definiert ist), werden in einem Tab mit dem Namen dieses Felds "
|
2799 |
-
"zusammengefasst."
|
2800 |
-
|
2801 |
-
# @ acf
|
2802 |
-
#: includes/fields/class-acf-field-tab.php:98
|
2803 |
msgid "Placement"
|
2804 |
msgstr "Platzierung Tabs"
|
2805 |
|
2806 |
-
#: includes/fields/class-acf-field-tab.php:
|
2807 |
-
msgid "
|
2808 |
-
|
2809 |
-
|
2810 |
-
|
2811 |
-
|
2812 |
-
|
2813 |
|
2814 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2815 |
#, php-format
|
2816 |
msgctxt "No terms"
|
2817 |
msgid "No %s"
|
2818 |
msgstr "Keine %s"
|
2819 |
|
2820 |
# @ acf
|
2821 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2822 |
-
msgid "None"
|
2823 |
-
msgstr "Nur Text"
|
2824 |
-
|
2825 |
-
# @ acf
|
2826 |
-
#: includes/fields/class-acf-field-taxonomy.php:764
|
2827 |
msgid "Select the taxonomy to be displayed"
|
2828 |
msgstr "Wähle die Taxonomie, welche angezeigt werden soll"
|
2829 |
|
2830 |
# @ acf
|
2831 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2832 |
msgid "Appearance"
|
2833 |
msgstr "Anzeige"
|
2834 |
|
2835 |
# @ acf
|
2836 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2837 |
msgid "Select the appearance of this field"
|
2838 |
msgstr "Wähle das Aussehen für dieses Feld"
|
2839 |
|
2840 |
# @ acf
|
2841 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2842 |
msgid "Multiple Values"
|
2843 |
msgstr "Mehrere Werte"
|
2844 |
|
2845 |
# @ acf
|
2846 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2847 |
msgid "Multi Select"
|
2848 |
msgstr "Auswahlmenü"
|
2849 |
|
2850 |
# @ acf
|
2851 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2852 |
msgid "Single Value"
|
2853 |
msgstr "Einzelne Werte"
|
2854 |
|
2855 |
# @ acf
|
2856 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2857 |
msgid "Radio Buttons"
|
2858 |
msgstr "Radio Button"
|
2859 |
|
2860 |
# @ acf
|
2861 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2862 |
msgid "Create Terms"
|
2863 |
msgstr "Neue Einträge erlauben"
|
2864 |
|
2865 |
# @ acf
|
2866 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2867 |
msgid "Allow new terms to be created whilst editing"
|
2868 |
msgstr "Erlaube das Erstellen neuer Einträge beim Editieren"
|
2869 |
|
2870 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2871 |
msgid "Save Terms"
|
2872 |
msgstr "Einträge speichern"
|
2873 |
|
2874 |
# @ acf
|
2875 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2876 |
msgid "Connect selected terms to the post"
|
2877 |
msgstr "Speichert die ausgewählten Einträge auch im Beitrag"
|
2878 |
|
2879 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2880 |
msgid "Load Terms"
|
2881 |
msgstr "Einträge laden"
|
2882 |
|
2883 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2884 |
msgid "Load value from posts terms"
|
2885 |
msgstr "Den Wert von den Einträgen des Beitrags laden"
|
2886 |
|
2887 |
# @ acf
|
2888 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2889 |
msgid "Term Object"
|
2890 |
msgstr "Begriffs-Objekt"
|
2891 |
|
2892 |
# @ acf
|
2893 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2894 |
msgid "Term ID"
|
2895 |
msgstr "Begriffs-ID"
|
2896 |
|
2897 |
# @ acf
|
2898 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2899 |
#, php-format
|
2900 |
msgid "User unable to add new %s"
|
2901 |
msgstr "Der Benutzer kann keine neue %s hinzufügen"
|
2902 |
|
2903 |
# @ acf
|
2904 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2905 |
#, php-format
|
2906 |
msgid "%s already exists"
|
2907 |
msgstr "%s ist bereits vorhanden"
|
2908 |
|
2909 |
# @ acf
|
2910 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2911 |
#, php-format
|
2912 |
msgid "%s added"
|
2913 |
msgstr "%s hinzugefügt"
|
2914 |
|
2915 |
# @ acf
|
2916 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2917 |
msgid "Add"
|
2918 |
msgstr "Hinzufügen"
|
2919 |
|
@@ -2958,20 +3043,6 @@ msgstr "Uhrzeit"
|
|
2958 |
msgid "True / False"
|
2959 |
msgstr "Ja/Nein"
|
2960 |
|
2961 |
-
# @ acf
|
2962 |
-
#: includes/fields/class-acf-field-true_false.php:79
|
2963 |
-
#: includes/fields/class-acf-field-true_false.php:159 includes/input.php:267
|
2964 |
-
#: pro/admin/views/html-settings-updates.php:89
|
2965 |
-
msgid "Yes"
|
2966 |
-
msgstr "Ja"
|
2967 |
-
|
2968 |
-
# @ acf
|
2969 |
-
#: includes/fields/class-acf-field-true_false.php:80
|
2970 |
-
#: includes/fields/class-acf-field-true_false.php:169 includes/input.php:268
|
2971 |
-
#: pro/admin/views/html-settings-updates.php:99
|
2972 |
-
msgid "No"
|
2973 |
-
msgstr "Nein"
|
2974 |
-
|
2975 |
#: includes/fields/class-acf-field-true_false.php:127
|
2976 |
msgid "Displays text alongside the checkbox"
|
2977 |
msgstr "Zeigt Text neben der Checkbox"
|
@@ -2984,11 +3055,11 @@ msgstr "Wenn aktiv"
|
|
2984 |
msgid "Text shown when active"
|
2985 |
msgstr "Angezeigter Text im aktiven Zustand"
|
2986 |
|
2987 |
-
#: includes/fields/class-acf-field-true_false.php:
|
2988 |
msgid "Off Text"
|
2989 |
msgstr "Wenn inaktiv"
|
2990 |
|
2991 |
-
#: includes/fields/class-acf-field-true_false.php:
|
2992 |
msgid "Text shown when inactive"
|
2993 |
msgstr "Angezeigter Text im inaktiven Zustand"
|
2994 |
|
@@ -3008,86 +3079,95 @@ msgid "User"
|
|
3008 |
msgstr "Benutzer"
|
3009 |
|
3010 |
# @ acf
|
3011 |
-
#: includes/fields/class-acf-field-user.php:
|
3012 |
msgid "Filter by role"
|
3013 |
msgstr "Filtere nach Benutzerrollen"
|
3014 |
|
3015 |
# @ acf
|
3016 |
-
#: includes/fields/class-acf-field-user.php:
|
3017 |
msgid "All user roles"
|
3018 |
msgstr "Alle Benutzerrollen"
|
3019 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3020 |
# @ acf
|
3021 |
#: includes/fields/class-acf-field-wysiwyg.php:25
|
3022 |
msgid "Wysiwyg Editor"
|
3023 |
msgstr "WYSIWYG-Editor"
|
3024 |
|
3025 |
# @ acf
|
3026 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3027 |
msgid "Visual"
|
3028 |
msgstr "Visuell"
|
3029 |
|
3030 |
# @ acf
|
3031 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3032 |
msgctxt "Name for the Text editor tab (formerly HTML)"
|
3033 |
msgid "Text"
|
3034 |
msgstr "Text"
|
3035 |
|
3036 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3037 |
msgid "Click to initialize TinyMCE"
|
3038 |
msgstr "Klicken um TinyMCE zu initialisieren"
|
3039 |
|
3040 |
# @ acf
|
3041 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3042 |
msgid "Tabs"
|
3043 |
msgstr "Tabs"
|
3044 |
|
3045 |
# @ acf
|
3046 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3047 |
msgid "Visual & Text"
|
3048 |
msgstr "Visuell & Text"
|
3049 |
|
3050 |
# @ acf
|
3051 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3052 |
msgid "Visual Only"
|
3053 |
msgstr "Nur Visuell"
|
3054 |
|
3055 |
# @ acf
|
3056 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3057 |
msgid "Text Only"
|
3058 |
msgstr "Nur Text"
|
3059 |
|
3060 |
# @ acf
|
3061 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3062 |
msgid "Toolbar"
|
3063 |
msgstr "Werkzeugleiste"
|
3064 |
|
3065 |
# @ acf
|
3066 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3067 |
msgid "Show Media Upload Buttons?"
|
3068 |
msgstr "Button zum Hochladen von Medien anzeigen?"
|
3069 |
|
3070 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3071 |
msgid "Delay initialization?"
|
3072 |
msgstr "Initialisierung verzögern?"
|
3073 |
|
3074 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
3075 |
msgid "TinyMCE will not be initalized until field is clicked"
|
3076 |
msgstr "TinyMCE wird nicht initialisiert bis das Feld geklickt wird"
|
3077 |
|
3078 |
-
# @ acf
|
3079 |
-
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:303
|
3080 |
-
#: pro/admin/admin-options-page.php:308
|
3081 |
-
msgid "Edit field group"
|
3082 |
-
msgstr "Feld-Gruppen bearbeiten"
|
3083 |
-
|
3084 |
#: includes/forms/form-front.php:55
|
3085 |
msgid "Validate Email"
|
3086 |
msgstr "E-Mail bestätigen"
|
3087 |
|
3088 |
# @ acf
|
3089 |
-
#: includes/forms/form-front.php:103
|
3090 |
-
#: pro/
|
3091 |
msgid "Update"
|
3092 |
msgstr "Aktualisieren"
|
3093 |
|
@@ -3096,55 +3176,10 @@ msgstr "Aktualisieren"
|
|
3096 |
msgid "Post updated"
|
3097 |
msgstr "Beitrag aktualisiert"
|
3098 |
|
3099 |
-
#: includes/forms/form-front.php:
|
3100 |
msgid "Spam Detected"
|
3101 |
msgstr "Spam erkannt"
|
3102 |
|
3103 |
-
# @ acf
|
3104 |
-
#: includes/input.php:259
|
3105 |
-
msgid "Expand Details"
|
3106 |
-
msgstr "Details einblenden"
|
3107 |
-
|
3108 |
-
# @ acf
|
3109 |
-
#: includes/input.php:260
|
3110 |
-
msgid "Collapse Details"
|
3111 |
-
msgstr "Details ausblenden"
|
3112 |
-
|
3113 |
-
# @ acf
|
3114 |
-
#: includes/input.php:261
|
3115 |
-
msgid "Validation successful"
|
3116 |
-
msgstr "Überprüfung erfolgreich"
|
3117 |
-
|
3118 |
-
# @ acf
|
3119 |
-
#: includes/input.php:262 includes/validation.php:285
|
3120 |
-
#: includes/validation.php:296
|
3121 |
-
msgid "Validation failed"
|
3122 |
-
msgstr "Überprüfung fehlgeschlagen"
|
3123 |
-
|
3124 |
-
# @ acf
|
3125 |
-
#: includes/input.php:263
|
3126 |
-
msgid "1 field requires attention"
|
3127 |
-
msgstr "Für 1 Feld ist eine Aktualisierung notwendig"
|
3128 |
-
|
3129 |
-
# @ acf
|
3130 |
-
#: includes/input.php:264
|
3131 |
-
#, php-format
|
3132 |
-
msgid "%d fields require attention"
|
3133 |
-
msgstr "Für %d Felder ist eine Aktualisierung notwendig"
|
3134 |
-
|
3135 |
-
#: includes/input.php:265
|
3136 |
-
msgid "Restricted"
|
3137 |
-
msgstr "Eingeschränkt"
|
3138 |
-
|
3139 |
-
# @ acf
|
3140 |
-
#: includes/input.php:266
|
3141 |
-
msgid "Are you sure?"
|
3142 |
-
msgstr "Sind Sie sicher?"
|
3143 |
-
|
3144 |
-
#: includes/input.php:270
|
3145 |
-
msgid "Cancel"
|
3146 |
-
msgstr "Abbrechen"
|
3147 |
-
|
3148 |
# @ acf
|
3149 |
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
3150 |
msgid "Post"
|
@@ -3160,6 +3195,16 @@ msgstr "Seite"
|
|
3160 |
msgid "Forms"
|
3161 |
msgstr "Formulare"
|
3162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3163 |
# @ acf
|
3164 |
#: includes/locations/class-acf-location-attachment.php:27
|
3165 |
msgid "Attachment"
|
@@ -3244,27 +3289,27 @@ msgid "Page Type"
|
|
3244 |
msgstr "Seitentyp"
|
3245 |
|
3246 |
# @ acf
|
3247 |
-
#: includes/locations/class-acf-location-page-type.php:
|
3248 |
msgid "Front Page"
|
3249 |
msgstr "Startseite"
|
3250 |
|
3251 |
# @ acf
|
3252 |
-
#: includes/locations/class-acf-location-page-type.php:
|
3253 |
msgid "Posts Page"
|
3254 |
msgstr "Beitrags-Seite"
|
3255 |
|
3256 |
# @ acf
|
3257 |
-
#: includes/locations/class-acf-location-page-type.php:
|
3258 |
msgid "Top Level Page (no parent)"
|
3259 |
msgstr "Seite ohne übergeordnete Seiten"
|
3260 |
|
3261 |
# @ acf
|
3262 |
-
#: includes/locations/class-acf-location-page-type.php:
|
3263 |
msgid "Parent Page (has children)"
|
3264 |
msgstr "Übergeordnete Seite (mit Unterseiten)"
|
3265 |
|
3266 |
# @ acf
|
3267 |
-
#: includes/locations/class-acf-location-page-type.php:
|
3268 |
msgid "Child Page (has parent)"
|
3269 |
msgstr "Unterseite (mit übergeordneter Seite)"
|
3270 |
|
@@ -3293,11 +3338,6 @@ msgstr "Beitrags-Taxonomie"
|
|
3293 |
msgid "Post Template"
|
3294 |
msgstr "Beitrags-Vorlage"
|
3295 |
|
3296 |
-
# @ acf
|
3297 |
-
#: includes/locations/class-acf-location-taxonomy.php:27
|
3298 |
-
msgid "Taxonomy Term"
|
3299 |
-
msgstr "Taxonomie"
|
3300 |
-
|
3301 |
# @ acf
|
3302 |
#: includes/locations/class-acf-location-user-form.php:27
|
3303 |
msgid "User Form"
|
@@ -3323,16 +3363,6 @@ msgstr "Benutzerrolle"
|
|
3323 |
msgid "Widget"
|
3324 |
msgstr "Widget"
|
3325 |
|
3326 |
-
#: includes/media.php:55
|
3327 |
-
msgctxt "verb"
|
3328 |
-
msgid "Edit"
|
3329 |
-
msgstr "Bearbeiten"
|
3330 |
-
|
3331 |
-
#: includes/media.php:56
|
3332 |
-
msgctxt "verb"
|
3333 |
-
msgid "Update"
|
3334 |
-
msgstr "Aktualisieren"
|
3335 |
-
|
3336 |
# @ acf
|
3337 |
#: includes/validation.php:364
|
3338 |
#, php-format
|
@@ -3346,12 +3376,12 @@ msgid "Advanced Custom Fields PRO"
|
|
3346 |
msgstr "Advanced Custom Fields PRO"
|
3347 |
|
3348 |
# @ acf
|
3349 |
-
#: pro/admin/admin-options-page.php:
|
3350 |
msgid "Publish"
|
3351 |
msgstr "Veröffentlichen"
|
3352 |
|
3353 |
# @ acf
|
3354 |
-
#: pro/admin/admin-options-page.php:
|
3355 |
#, php-format
|
3356 |
msgid ""
|
3357 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
@@ -3361,17 +3391,24 @@ msgstr ""
|
|
3361 |
"eine Feld-Gruppe</a>"
|
3362 |
|
3363 |
# @ acf
|
3364 |
-
#: pro/admin/admin-
|
3365 |
msgid "<b>Error</b>. Could not connect to update server"
|
3366 |
msgstr ""
|
3367 |
"<b>Fehler</b>. Verbindung zum Update-Server konnte nicht hergestellt werden"
|
3368 |
|
3369 |
# @ acf
|
3370 |
-
#: pro/admin/admin-settings-updates.php:
|
3371 |
-
#: pro/admin/views/html-settings-updates.php:13
|
3372 |
msgid "Updates"
|
3373 |
msgstr "Aktualisierungen"
|
3374 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3375 |
# @ acf
|
3376 |
#: pro/admin/views/html-settings-updates.php:7
|
3377 |
msgid "Deactivate License"
|
@@ -3449,310 +3486,302 @@ msgctxt "noun"
|
|
3449 |
msgid "Clone"
|
3450 |
msgstr "Klonen"
|
3451 |
|
3452 |
-
#: pro/fields/class-acf-field-clone.php:
|
3453 |
msgid "Select one or more fields you wish to clone"
|
3454 |
msgstr "Wähle eines oder mehrere Felder aus, das/die du klonen willst"
|
3455 |
|
3456 |
# @ acf
|
3457 |
-
#: pro/fields/class-acf-field-clone.php:
|
3458 |
msgid "Display"
|
3459 |
msgstr "Anzeige"
|
3460 |
|
3461 |
-
#: pro/fields/class-acf-field-clone.php:
|
3462 |
msgid "Specify the style used to render the clone field"
|
3463 |
msgstr "Gib an, wie die geklonten Felder ausgegeben werden sollen"
|
3464 |
|
3465 |
-
#: pro/fields/class-acf-field-clone.php:
|
3466 |
msgid "Group (displays selected fields in a group within this field)"
|
3467 |
msgstr ""
|
3468 |
"Gruppe (zeigt die ausgewählten Felder in einer Gruppe innerhalb dieses Felds "
|
3469 |
"an)"
|
3470 |
|
3471 |
-
#: pro/fields/class-acf-field-clone.php:
|
3472 |
msgid "Seamless (replaces this field with selected fields)"
|
3473 |
msgstr "Nahtlos (ersetzt dieses Feld mit den ausgewählten Feldern)"
|
3474 |
|
3475 |
-
#: pro/fields/class-acf-field-clone.php:
|
3476 |
#, php-format
|
3477 |
msgid "Labels will be displayed as %s"
|
3478 |
msgstr "Bezeichnungen werden angezeigt als %s"
|
3479 |
|
3480 |
-
#: pro/fields/class-acf-field-clone.php:
|
3481 |
msgid "Prefix Field Labels"
|
3482 |
msgstr "Präfix für Feld Bezeichnungen"
|
3483 |
|
3484 |
-
#: pro/fields/class-acf-field-clone.php:
|
3485 |
#, php-format
|
3486 |
msgid "Values will be saved as %s"
|
3487 |
msgstr "Werte werden gespeichert als %s"
|
3488 |
|
3489 |
-
#: pro/fields/class-acf-field-clone.php:
|
3490 |
msgid "Prefix Field Names"
|
3491 |
msgstr "Präfix für Feld Namen"
|
3492 |
|
3493 |
-
#: pro/fields/class-acf-field-clone.php:
|
3494 |
msgid "Unknown field"
|
3495 |
msgstr "Unbekanntes Feld"
|
3496 |
|
3497 |
-
#: pro/fields/class-acf-field-clone.php:
|
3498 |
msgid "Unknown field group"
|
3499 |
msgstr "Unbekannte Feld-Gruppe"
|
3500 |
|
3501 |
-
#: pro/fields/class-acf-field-clone.php:
|
3502 |
#, php-format
|
3503 |
msgid "All fields from %s field group"
|
3504 |
msgstr "Alle Felder der %s Feld-Gruppe"
|
3505 |
|
3506 |
# @ acf
|
3507 |
#: pro/fields/class-acf-field-flexible-content.php:31
|
3508 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3509 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3510 |
msgid "Add Row"
|
3511 |
msgstr "Eintrag hinzufügen"
|
3512 |
|
3513 |
# @ acf
|
3514 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
|
|
|
|
3515 |
msgid "layout"
|
3516 |
-
|
|
|
|
|
3517 |
|
3518 |
# @ acf
|
3519 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3520 |
msgid "layouts"
|
3521 |
msgstr "Einträge"
|
3522 |
|
3523 |
# @ acf
|
3524 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3525 |
-
|
3526 |
-
|
3527 |
-
|
3528 |
-
# @ acf
|
3529 |
-
#: pro/fields/class-acf-field-flexible-content.php:37
|
3530 |
-
msgid "This field requires at least {min} {identifier}"
|
3531 |
-
msgstr "Dieses Feld erfordert mindestens {min} {identifier}"
|
3532 |
-
|
3533 |
-
# @ acf
|
3534 |
-
#: pro/fields/class-acf-field-flexible-content.php:38
|
3535 |
-
msgid "This field has a limit of {max} {identifier}"
|
3536 |
-
msgstr "Diesem Feld dürfen maximal {max} {identifier} hinzugefügt werden."
|
3537 |
-
|
3538 |
-
# @ acf
|
3539 |
-
#: pro/fields/class-acf-field-flexible-content.php:39
|
3540 |
msgid "This field requires at least {min} {label} {identifier}"
|
3541 |
msgstr "Dieses Feld erfordert mindestens {min} {label} {identifier}"
|
3542 |
|
3543 |
# @ acf
|
3544 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3545 |
-
msgid "
|
3546 |
-
msgstr "
|
3547 |
|
3548 |
# @ acf
|
3549 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3550 |
msgid "{available} {label} {identifier} available (max {max})"
|
3551 |
msgstr "{available} {label} {identifier} möglich (max {max})"
|
3552 |
|
3553 |
# @ acf
|
3554 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3555 |
msgid "{required} {label} {identifier} required (min {min})"
|
3556 |
msgstr "{required} {label} {identifier} erforderlich (min {min})"
|
3557 |
|
3558 |
# @ acf
|
3559 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3560 |
msgid "Flexible Content requires at least 1 layout"
|
3561 |
msgstr "Flexibler Inhalt benötigt mindestens ein Layout"
|
3562 |
|
3563 |
# @ acf
|
3564 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3565 |
#, php-format
|
3566 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3567 |
msgstr "Klicke \"%s\" zum Erstellen des Layouts"
|
3568 |
|
3569 |
# @ acf
|
3570 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3571 |
msgid "Add layout"
|
3572 |
msgstr "Layout hinzufügen"
|
3573 |
|
3574 |
# @ acf
|
3575 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3576 |
msgid "Remove layout"
|
3577 |
msgstr "Layout entfernen"
|
3578 |
|
3579 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3580 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3581 |
msgid "Click to toggle"
|
3582 |
msgstr "Zum Auswählen anklicken"
|
3583 |
|
3584 |
# @ acf
|
3585 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3586 |
msgid "Reorder Layout"
|
3587 |
msgstr "Layout sortieren"
|
3588 |
|
3589 |
# @ acf
|
3590 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3591 |
msgid "Reorder"
|
3592 |
msgstr "Sortieren"
|
3593 |
|
3594 |
# @ acf
|
3595 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3596 |
msgid "Delete Layout"
|
3597 |
msgstr "Layout löschen"
|
3598 |
|
3599 |
# @ acf
|
3600 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3601 |
msgid "Duplicate Layout"
|
3602 |
msgstr "Layout duplizieren"
|
3603 |
|
3604 |
# @ acf
|
3605 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3606 |
msgid "Add New Layout"
|
3607 |
msgstr "Neues Layout hinzufügen"
|
3608 |
|
3609 |
# @ acf
|
3610 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3611 |
msgid "Min"
|
3612 |
msgstr "Min"
|
3613 |
|
3614 |
# @ acf
|
3615 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3616 |
msgid "Max"
|
3617 |
msgstr "Max"
|
3618 |
|
3619 |
# @ acf
|
3620 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3621 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3622 |
msgid "Button Label"
|
3623 |
msgstr "Button-Beschriftung"
|
3624 |
|
3625 |
# @ acf
|
3626 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3627 |
msgid "Minimum Layouts"
|
3628 |
msgstr "Minimum Layouts"
|
3629 |
|
3630 |
# @ acf
|
3631 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3632 |
msgid "Maximum Layouts"
|
3633 |
msgstr "Maximum Layouts"
|
3634 |
|
3635 |
# @ acf
|
3636 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3637 |
msgid "Add Image to Gallery"
|
3638 |
msgstr "Bild zur Galerie hinzufügen"
|
3639 |
|
3640 |
# @ acf
|
3641 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3642 |
msgid "Maximum selection reached"
|
3643 |
msgstr "Maximale Auswahl erreicht"
|
3644 |
|
3645 |
# @ acf
|
3646 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3647 |
msgid "Length"
|
3648 |
msgstr "Länge"
|
3649 |
|
3650 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3651 |
msgid "Caption"
|
3652 |
msgstr "Beschriftung"
|
3653 |
|
3654 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3655 |
msgid "Alt Text"
|
3656 |
msgstr "Alt Text"
|
3657 |
|
3658 |
# @ acf
|
3659 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3660 |
msgid "Add to gallery"
|
3661 |
msgstr "Zur Galerie hinzufügen"
|
3662 |
|
3663 |
# @ acf
|
3664 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3665 |
msgid "Bulk actions"
|
3666 |
msgstr "Massenverarbeitung"
|
3667 |
|
3668 |
# @ acf
|
3669 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3670 |
msgid "Sort by date uploaded"
|
3671 |
msgstr "Sortiere nach Upload-Datum"
|
3672 |
|
3673 |
# @ acf
|
3674 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3675 |
msgid "Sort by date modified"
|
3676 |
msgstr "Sortiere nach Änderungs-Datum"
|
3677 |
|
3678 |
# @ acf
|
3679 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3680 |
msgid "Sort by title"
|
3681 |
msgstr "Sortiere nach Titel"
|
3682 |
|
3683 |
# @ acf
|
3684 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3685 |
msgid "Reverse current order"
|
3686 |
msgstr "Aktuelle Sortierung umkehren"
|
3687 |
|
3688 |
# @ acf
|
3689 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3690 |
msgid "Close"
|
3691 |
msgstr "Schliessen"
|
3692 |
|
3693 |
# @ acf
|
3694 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3695 |
msgid "Minimum Selection"
|
3696 |
msgstr "Minimale Auswahl"
|
3697 |
|
3698 |
# @ acf
|
3699 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3700 |
msgid "Maximum Selection"
|
3701 |
msgstr "Maximale Auswahl"
|
3702 |
|
3703 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3704 |
msgid "Insert"
|
3705 |
msgstr "Einfügen"
|
3706 |
|
3707 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3708 |
msgid "Specify where new attachments are added"
|
3709 |
msgstr "Gib an, wo neue Anhänge eingefügt werden sollen"
|
3710 |
|
3711 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3712 |
msgid "Append to the end"
|
3713 |
msgstr "Am Schluss anhängen"
|
3714 |
|
3715 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3716 |
msgid "Prepend to the beginning"
|
3717 |
msgstr "Vor Beginn einfügen"
|
3718 |
|
3719 |
# @ acf
|
3720 |
-
#: pro/fields/class-acf-field-repeater.php:
|
|
|
3721 |
msgid "Minimum rows reached ({min} rows)"
|
3722 |
msgstr "Minimum der Einträge mit ({min} Reihen) erreicht"
|
3723 |
|
3724 |
# @ acf
|
3725 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3726 |
msgid "Maximum rows reached ({max} rows)"
|
3727 |
msgstr "Maximum der Einträge mit ({max} Reihen) erreicht"
|
3728 |
|
3729 |
# @ acf
|
3730 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3731 |
msgid "Add row"
|
3732 |
msgstr "Eintrag hinzufügen"
|
3733 |
|
3734 |
# @ acf
|
3735 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3736 |
msgid "Remove row"
|
3737 |
msgstr "Eintrag löschen"
|
3738 |
|
3739 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3740 |
msgid "Collapsed"
|
3741 |
msgstr "Zugeklappt"
|
3742 |
|
3743 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3744 |
msgid "Select a sub field to show when row is collapsed"
|
3745 |
msgstr ""
|
3746 |
"Wähle welches der Wiederholungsfelder im zugeklappten Zustand angezeigt "
|
3747 |
"werden soll"
|
3748 |
|
3749 |
# @ acf
|
3750 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3751 |
msgid "Minimum Rows"
|
3752 |
msgstr "Minimum der Einträge"
|
3753 |
|
3754 |
# @ acf
|
3755 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3756 |
msgid "Maximum Rows"
|
3757 |
msgstr "Maximum der Einträge"
|
3758 |
|
@@ -3796,6 +3825,212 @@ msgstr "Elliot Condon"
|
|
3796 |
msgid "http://www.elliotcondon.com/"
|
3797 |
msgstr "http://www.elliotcondon.com/"
|
3798 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3799 |
# @ acf
|
3800 |
#~ msgid "Getting Started"
|
3801 |
#~ msgstr "Erste Schritte"
|
@@ -3812,9 +4047,6 @@ msgstr "http://www.elliotcondon.com/"
|
|
3812 |
#~ msgid "Actions"
|
3813 |
#~ msgstr "Aktionen"
|
3814 |
|
3815 |
-
#~ msgid "Features"
|
3816 |
-
#~ msgstr "Funktionen"
|
3817 |
-
|
3818 |
#~ msgid "How to"
|
3819 |
#~ msgstr "Kurzanleitungen"
|
3820 |
|
@@ -4036,10 +4268,6 @@ msgstr "http://www.elliotcondon.com/"
|
|
4036 |
#~ "Felder-Gruppen werden nach diesem Wert sortiert, vom niedrigsten zum "
|
4037 |
#~ "höchsten Wert."
|
4038 |
|
4039 |
-
# @ acf
|
4040 |
-
#~ msgid "Import / Export"
|
4041 |
-
#~ msgstr "Import / Export"
|
4042 |
-
|
4043 |
# @ acf
|
4044 |
#~ msgid "Hide / Show All"
|
4045 |
#~ msgstr "Alle Verstecken"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Advanced Custom Fields Pro v5.7.10\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
+
"POT-Creation-Date: 2019-01-15 11:15+1000\n"
|
6 |
+
"PO-Revision-Date: 2019-02-06 15:35+0100\n"
|
7 |
+
"Last-Translator: Werbelinie AG <hueni@werbelinie.ch>\n"
|
8 |
"Language-Team: Raphael Hüni <rafhun@gmail.com>\n"
|
9 |
"Language: de_CH\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"X-Generator: Poedit 2.2\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
23 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
24 |
|
25 |
# @ acf
|
26 |
+
#: acf.php:80
|
27 |
msgid "Advanced Custom Fields"
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
# @ acf
|
31 |
+
#: acf.php:362 includes/admin/admin.php:58
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Feld-Gruppen"
|
34 |
|
35 |
# @ acf
|
36 |
+
#: acf.php:363
|
37 |
msgid "Field Group"
|
38 |
msgstr "Feld-Gruppe"
|
39 |
|
40 |
# @ acf
|
41 |
+
#: acf.php:364 acf.php:396 includes/admin/admin.php:59
|
42 |
+
#: pro/fields/class-acf-field-flexible-content.php:572
|
43 |
msgid "Add New"
|
44 |
msgstr "Erstellen"
|
45 |
|
46 |
# @ acf
|
47 |
+
#: acf.php:365
|
48 |
msgid "Add New Field Group"
|
49 |
msgstr "Neue Feld-Gruppe erstellen"
|
50 |
|
51 |
# @ acf
|
52 |
+
#: acf.php:366
|
53 |
msgid "Edit Field Group"
|
54 |
msgstr "Feld-Gruppe bearbeiten"
|
55 |
|
56 |
# @ acf
|
57 |
+
#: acf.php:367
|
58 |
msgid "New Field Group"
|
59 |
msgstr "Neue Feld-Gruppe"
|
60 |
|
61 |
# @ acf
|
62 |
+
#: acf.php:368
|
63 |
msgid "View Field Group"
|
64 |
msgstr "Feld-Gruppe anzeigen"
|
65 |
|
66 |
# @ acf
|
67 |
+
#: acf.php:369
|
68 |
msgid "Search Field Groups"
|
69 |
msgstr "Feld-Gruppen suchen"
|
70 |
|
71 |
# @ acf
|
72 |
+
#: acf.php:370
|
73 |
msgid "No Field Groups found"
|
74 |
msgstr "Keine Feld-Gruppen gefunden"
|
75 |
|
76 |
# @ acf
|
77 |
+
#: acf.php:371
|
78 |
msgid "No Field Groups found in Trash"
|
79 |
msgstr "Keine Feld-Gruppen im Papierkorb gefunden"
|
80 |
|
81 |
# @ acf
|
82 |
+
#: acf.php:394 includes/admin/admin-field-group.php:220
|
83 |
+
#: includes/admin/admin-field-groups.php:529
|
84 |
+
#: pro/fields/class-acf-field-clone.php:811
|
|
|
85 |
msgid "Fields"
|
86 |
msgstr "Felder"
|
87 |
|
88 |
# @ acf
|
89 |
+
#: acf.php:395
|
90 |
msgid "Field"
|
91 |
msgstr "Feld"
|
92 |
|
93 |
# @ acf
|
94 |
+
#: acf.php:397
|
95 |
msgid "Add New Field"
|
96 |
msgstr "Feld hinzufügen"
|
97 |
|
98 |
# @ acf
|
99 |
+
#: acf.php:398
|
100 |
msgid "Edit Field"
|
101 |
msgstr "Feld bearbeiten"
|
102 |
|
103 |
# @ acf
|
104 |
+
#: acf.php:399 includes/admin/views/field-group-fields.php:41
|
|
|
105 |
msgid "New Field"
|
106 |
msgstr "Neues Feld"
|
107 |
|
108 |
# @ acf
|
109 |
+
#: acf.php:400
|
110 |
msgid "View Field"
|
111 |
msgstr "Feld anzeigen"
|
112 |
|
113 |
# @ acf
|
114 |
+
#: acf.php:401
|
115 |
msgid "Search Fields"
|
116 |
msgstr "Felder suchen"
|
117 |
|
118 |
# @ acf
|
119 |
+
#: acf.php:402
|
120 |
msgid "No Fields found"
|
121 |
msgstr "Keine Felder gefunden"
|
122 |
|
123 |
# @ acf
|
124 |
+
#: acf.php:403
|
125 |
msgid "No Fields found in Trash"
|
126 |
msgstr "Keine Feld-Gruppen im Papierkorb gefunden"
|
127 |
|
128 |
+
#: acf.php:442 includes/admin/admin-field-group.php:402
|
129 |
+
#: includes/admin/admin-field-groups.php:586
|
130 |
msgid "Inactive"
|
131 |
msgstr "Inaktiv"
|
132 |
|
133 |
+
#: acf.php:447
|
134 |
#, php-format
|
135 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
136 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
138 |
msgstr[1] "Inaktiv <span class=\"count\">(%s)</span>"
|
139 |
|
140 |
# @ acf
|
141 |
+
#: includes/admin/admin-field-group.php:86
|
142 |
+
#: includes/admin/admin-field-group.php:87
|
143 |
+
#: includes/admin/admin-field-group.php:89
|
144 |
msgid "Field group updated."
|
145 |
msgstr "Feld-Gruppe aktualisiert."
|
146 |
|
147 |
# @ acf
|
148 |
+
#: includes/admin/admin-field-group.php:88
|
149 |
msgid "Field group deleted."
|
150 |
msgstr "Feld-Gruppe gelöscht."
|
151 |
|
152 |
# @ acf
|
153 |
+
#: includes/admin/admin-field-group.php:91
|
154 |
msgid "Field group published."
|
155 |
msgstr "Feld-Gruppe veröffentlicht."
|
156 |
|
157 |
# @ acf
|
158 |
+
#: includes/admin/admin-field-group.php:92
|
159 |
msgid "Field group saved."
|
160 |
msgstr "Feld-Gruppe gesichert."
|
161 |
|
162 |
# @ acf
|
163 |
+
#: includes/admin/admin-field-group.php:93
|
164 |
msgid "Field group submitted."
|
165 |
msgstr "Feld-Gruppe übertragen."
|
166 |
|
167 |
# @ acf
|
168 |
+
#: includes/admin/admin-field-group.php:94
|
169 |
msgid "Field group scheduled for."
|
170 |
msgstr "Feld-Gruppe geplant für."
|
171 |
|
172 |
# @ acf
|
173 |
+
#: includes/admin/admin-field-group.php:95
|
174 |
msgid "Field group draft updated."
|
175 |
msgstr "Entwurf der Feld-Gruppe aktualisiert."
|
176 |
|
177 |
# @ acf
|
178 |
+
#: includes/admin/admin-field-group.php:171
|
179 |
+
msgid "The string \"field_\" may not be used at the start of a field name"
|
180 |
+
msgstr "Der Feldname darf nicht mit \"field_\" beginnen"
|
181 |
|
182 |
+
# @ acf
|
183 |
+
#: includes/admin/admin-field-group.php:172
|
184 |
+
msgid "This field cannot be moved until its changes have been saved"
|
185 |
+
msgstr "Diese Feld kann nicht verschoben werden, bevor es gesichert wurde"
|
186 |
|
187 |
# @ acf
|
188 |
+
#: includes/admin/admin-field-group.php:173
|
189 |
+
msgid "Field group title is required"
|
190 |
+
msgstr "Es ist ein Titel für die Feld-Gruppe erforderlich"
|
191 |
|
192 |
# @ acf
|
193 |
+
#: includes/admin/admin-field-group.php:174
|
194 |
+
msgid "Move to trash. Are you sure?"
|
195 |
+
msgstr "Wirklich in den Papierkorb verschieben?"
|
196 |
|
197 |
# @ acf
|
198 |
+
#: includes/admin/admin-field-group.php:175
|
199 |
msgid "No toggle fields available"
|
200 |
msgstr "Es liegen keine Auswahl-Feld-Typen vor"
|
201 |
|
202 |
# @ acf
|
203 |
+
#: includes/admin/admin-field-group.php:176
|
204 |
+
msgid "Move Custom Field"
|
205 |
+
msgstr "Benutzerdefiniertes Feld verschieben"
|
206 |
|
207 |
# @ acf
|
208 |
+
#: includes/admin/admin-field-group.php:177
|
209 |
+
msgid "Checked"
|
210 |
+
msgstr "Ausgewählt"
|
211 |
+
|
212 |
+
# @ acf
|
213 |
+
#: includes/admin/admin-field-group.php:178 includes/api/api-field.php:320
|
214 |
+
msgid "(no label)"
|
215 |
+
msgstr "(ohne Beschreibung)"
|
216 |
+
|
217 |
+
# @ acf
|
218 |
+
#: includes/admin/admin-field-group.php:179
|
219 |
+
msgid "(this field)"
|
220 |
+
msgstr "(Dieses Feld)"
|
221 |
+
|
222 |
+
# @ acf
|
223 |
+
#: includes/admin/admin-field-group.php:180
|
224 |
#: includes/api/api-field-group.php:751
|
225 |
msgid "copy"
|
226 |
msgstr "kopieren"
|
227 |
|
228 |
# @ acf
|
229 |
+
#: includes/admin/admin-field-group.php:181
|
230 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
231 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
232 |
#: includes/admin/views/field-group-locations.php:29
|
233 |
#: includes/admin/views/html-location-group.php:3
|
234 |
+
#: includes/api/api-helpers.php:3998
|
235 |
msgid "or"
|
236 |
msgstr "oder"
|
237 |
|
238 |
# @ acf
|
239 |
+
#: includes/admin/admin-field-group.php:182
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
msgid "Null"
|
241 |
msgstr "Null"
|
242 |
|
243 |
# @ acf
|
244 |
+
#: includes/admin/admin-field-group.php:221
|
245 |
+
msgid "Location"
|
246 |
+
msgstr "Position"
|
|
|
247 |
|
248 |
+
#: includes/admin/admin-field-group.php:222
|
249 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
250 |
+
msgid "Settings"
|
251 |
+
msgstr "Einstellungen"
|
252 |
|
253 |
+
#: includes/admin/admin-field-group.php:372
|
254 |
msgid "Field Keys"
|
255 |
msgstr "Feldschlüssel"
|
256 |
|
257 |
+
#: includes/admin/admin-field-group.php:402
|
258 |
#: includes/admin/views/field-group-options.php:9
|
259 |
msgid "Active"
|
260 |
msgstr "Aktiviert"
|
261 |
|
262 |
# @ acf
|
263 |
+
#: includes/admin/admin-field-group.php:771
|
264 |
msgid "Move Complete."
|
265 |
msgstr "Verschieben erfolgreich abgeschlossen."
|
266 |
|
267 |
# @ acf
|
268 |
+
#: includes/admin/admin-field-group.php:772
|
269 |
#, php-format
|
270 |
msgid "The %s field can now be found in the %s field group"
|
271 |
msgstr "Das Feld \"%s\" wurde in die %s Feld-Gruppe verschoben"
|
272 |
|
273 |
# @ acf
|
274 |
+
#: includes/admin/admin-field-group.php:773
|
275 |
msgid "Close Window"
|
276 |
msgstr "Schliessen"
|
277 |
|
278 |
# @ acf
|
279 |
+
#: includes/admin/admin-field-group.php:814
|
280 |
msgid "Please select the destination for this field"
|
281 |
msgstr "In welche Feld-Gruppe solle dieses Feld verschoben werden"
|
282 |
|
283 |
# @ acf
|
284 |
+
#: includes/admin/admin-field-group.php:821
|
285 |
msgid "Move Field"
|
286 |
msgstr "Feld verschieben"
|
287 |
|
288 |
+
#: includes/admin/admin-field-groups.php:89
|
289 |
#, php-format
|
290 |
msgid "Active <span class=\"count\">(%s)</span>"
|
291 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
293 |
msgstr[1] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
294 |
|
295 |
# @ acf
|
296 |
+
#: includes/admin/admin-field-groups.php:156
|
297 |
#, php-format
|
298 |
+
msgid "Field group duplicated."
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
msgid_plural "%s field groups duplicated."
|
300 |
+
msgstr[0] "Feld-Gruppe dupliziert."
|
301 |
msgstr[1] "%s Feld-Gruppen dupliziert."
|
302 |
|
303 |
# @ acf
|
304 |
+
#: includes/admin/admin-field-groups.php:243
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
#, php-format
|
306 |
+
msgid "Field group synchronised."
|
307 |
msgid_plural "%s field groups synchronised."
|
308 |
+
msgstr[0] "Feld-Gruppe synchronisiert."
|
309 |
msgstr[1] "%s Feld-Gruppen synchronisiert."
|
310 |
|
311 |
# @ acf
|
312 |
+
#: includes/admin/admin-field-groups.php:413
|
313 |
+
#: includes/admin/admin-field-groups.php:576
|
314 |
msgid "Sync available"
|
315 |
msgstr "Synchronisierung verfügbar"
|
316 |
|
317 |
# @ acf
|
318 |
+
#: includes/admin/admin-field-groups.php:526 includes/forms/form-front.php:38
|
319 |
+
#: pro/fields/class-acf-field-gallery.php:372
|
320 |
msgid "Title"
|
321 |
msgstr "Titel"
|
322 |
|
323 |
# @ acf
|
324 |
+
#: includes/admin/admin-field-groups.php:527
|
325 |
#: includes/admin/views/field-group-options.php:96
|
326 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
327 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
328 |
+
#: pro/fields/class-acf-field-gallery.php:399
|
329 |
msgid "Description"
|
330 |
msgstr "Beschreibung"
|
331 |
|
332 |
+
#: includes/admin/admin-field-groups.php:528
|
333 |
msgid "Status"
|
334 |
msgstr "Status"
|
335 |
|
336 |
# @ acf
|
337 |
#. Description of the plugin/theme
|
338 |
+
#: includes/admin/admin-field-groups.php:626
|
339 |
+
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
340 |
msgstr ""
|
341 |
+
"Passen Sie WordPress mit leistungsstarken, professionellen und intuitiven "
|
342 |
+
"Feldern an."
|
343 |
|
344 |
# @ acf
|
345 |
+
#: includes/admin/admin-field-groups.php:628
|
346 |
#: includes/admin/settings-info.php:76
|
347 |
#: pro/admin/views/html-settings-updates.php:107
|
348 |
msgid "Changelog"
|
349 |
msgstr "Versionshinweise"
|
350 |
|
351 |
+
#: includes/admin/admin-field-groups.php:633
|
352 |
#, php-format
|
353 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
354 |
msgstr "Sieh dir die Neuerungen in <a href=\"%s\">Version%s</a> an."
|
355 |
|
356 |
# @ acf
|
357 |
+
#: includes/admin/admin-field-groups.php:636
|
358 |
msgid "Resources"
|
359 |
msgstr "Dokumentation (engl.)"
|
360 |
|
361 |
+
#: includes/admin/admin-field-groups.php:638
|
362 |
msgid "Website"
|
363 |
msgstr "Webseite"
|
364 |
|
365 |
+
#: includes/admin/admin-field-groups.php:639
|
366 |
msgid "Documentation"
|
367 |
msgstr "Dokumentation"
|
368 |
|
369 |
+
#: includes/admin/admin-field-groups.php:640
|
370 |
msgid "Support"
|
371 |
msgstr "Hilfe"
|
372 |
|
373 |
+
#: includes/admin/admin-field-groups.php:642
|
374 |
+
#: includes/admin/views/settings-info.php:84
|
375 |
msgid "Pro"
|
376 |
msgstr "Pro"
|
377 |
|
378 |
+
#: includes/admin/admin-field-groups.php:647
|
379 |
#, php-format
|
380 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
381 |
msgstr "Danke für die Verwendung von <a href=\"%s\">ACF</a>."
|
382 |
|
383 |
# @ acf
|
384 |
+
#: includes/admin/admin-field-groups.php:686
|
385 |
msgid "Duplicate this item"
|
386 |
msgstr "Dieses Element duplizieren"
|
387 |
|
388 |
# @ acf
|
389 |
+
#: includes/admin/admin-field-groups.php:686
|
390 |
+
#: includes/admin/admin-field-groups.php:702
|
391 |
+
#: includes/admin/views/field-group-field.php:46
|
392 |
+
#: pro/fields/class-acf-field-flexible-content.php:571
|
393 |
msgid "Duplicate"
|
394 |
msgstr "Duplizieren"
|
395 |
|
396 |
# @ acf
|
397 |
+
#: includes/admin/admin-field-groups.php:719
|
398 |
+
#: includes/fields/class-acf-field-google-map.php:165
|
399 |
+
#: includes/fields/class-acf-field-relationship.php:593
|
400 |
msgid "Search"
|
401 |
msgstr "Suchen"
|
402 |
|
403 |
# @ acf
|
404 |
+
#: includes/admin/admin-field-groups.php:778
|
405 |
#, php-format
|
406 |
msgid "Select %s"
|
407 |
msgstr "%s auswählen"
|
408 |
|
409 |
# @ acf
|
410 |
+
#: includes/admin/admin-field-groups.php:786
|
411 |
msgid "Synchronise field group"
|
412 |
msgstr "Synchronisiere Feld-Gruppe"
|
413 |
|
414 |
# @ acf
|
415 |
+
#: includes/admin/admin-field-groups.php:786
|
416 |
+
#: includes/admin/admin-field-groups.php:816
|
417 |
msgid "Sync"
|
418 |
msgstr "Synchronisieren"
|
419 |
|
420 |
+
#: includes/admin/admin-field-groups.php:798
|
421 |
msgid "Apply"
|
422 |
msgstr "Anwenden"
|
423 |
|
424 |
# @ acf
|
425 |
+
#: includes/admin/admin-field-groups.php:816
|
426 |
msgid "Bulk Actions"
|
427 |
msgstr "Massenverarbeitung"
|
428 |
|
429 |
+
#: includes/admin/admin-tools.php:116
|
430 |
+
#: includes/admin/views/html-admin-tools.php:21
|
431 |
+
msgid "Tools"
|
432 |
+
msgstr "Werkzeuge"
|
|
|
433 |
|
434 |
# @ acf
|
435 |
+
#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94
|
436 |
+
#: includes/admin/admin-upgrade.php:156
|
437 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:24
|
438 |
+
#: includes/admin/views/html-admin-page-upgrade.php:26
|
439 |
msgid "Upgrade Database"
|
440 |
msgstr "Aktualisiere Datenbank"
|
441 |
|
442 |
# @ acf
|
443 |
+
#: includes/admin/admin-upgrade.php:180
|
444 |
msgid "Review sites & upgrade"
|
445 |
msgstr "Übersicht Seiten & Aktualisierungen"
|
446 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
447 |
# @ acf
|
448 |
+
#: includes/admin/admin.php:54 includes/admin/views/field-group-options.php:110
|
449 |
+
msgid "Custom Fields"
|
450 |
+
msgstr "Eigene Felder"
|
451 |
|
452 |
# @ acf
|
453 |
#: includes/admin/settings-info.php:50
|
459 |
msgid "What's New"
|
460 |
msgstr "Was gibt es Neues"
|
461 |
|
462 |
+
# @ acf
|
463 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:33
|
464 |
+
msgid "Export Field Groups"
|
465 |
+
msgstr "Feld-Gruppen exportieren"
|
466 |
+
|
467 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:38
|
468 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:342
|
469 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:371
|
470 |
+
msgid "Generate PHP"
|
471 |
+
msgstr "PHP generieren"
|
472 |
|
473 |
# @ acf
|
474 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:97
|
475 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:135
|
476 |
msgid "No field groups selected"
|
477 |
msgstr "Keine Feld-Gruppe ausgewählt"
|
478 |
|
479 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:174
|
480 |
+
#, php-format
|
481 |
+
msgid "Exported 1 field group."
|
482 |
+
msgid_plural "Exported %s field groups."
|
483 |
+
msgstr[0] "Eine Feldgruppe exportiert."
|
484 |
+
msgstr[1] "%s Feldgruppen exportiert."
|
485 |
+
|
486 |
+
# @ acf
|
487 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:241
|
488 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:269
|
489 |
+
msgid "Select Field Groups"
|
490 |
+
msgstr "Felder-Gruppen auswählen"
|
491 |
+
|
492 |
+
# @ acf
|
493 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:336
|
494 |
+
msgid ""
|
495 |
+
"Select the field groups you would like to export and then select your export "
|
496 |
+
"method. Use the download button to export to a .json file which you can then "
|
497 |
+
"import to another ACF installation. Use the generate button to export to PHP "
|
498 |
+
"code which you can place in your theme."
|
499 |
+
msgstr ""
|
500 |
+
"Entscheide zuerst welche Felder-Gruppen Du exportieren möchtest und wähle im "
|
501 |
+
"Anschluss das Format in das exportiert werden soll. Klicke den \"JSON-Datei "
|
502 |
+
"exportieren\"-Button, um eine JSON-Datei zu erhalten, welche Du dann in "
|
503 |
+
"einer anderen ACF-Installation importieren kannst. Wähle den \"Erstelle PHP-"
|
504 |
+
"Code\"-Button, um PHP-Code zu erhalten, den Du im Anschluss in der functions."
|
505 |
+
"php Deines Themes einfügen kannst."
|
506 |
+
|
507 |
+
# @ acf
|
508 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:341
|
509 |
+
msgid "Export File"
|
510 |
+
msgstr "Datei exportieren"
|
511 |
+
|
512 |
+
# @ acf
|
513 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:414
|
514 |
+
msgid ""
|
515 |
+
"The following code can be used to register a local version of the selected "
|
516 |
+
"field group(s). A local field group can provide many benefits such as faster "
|
517 |
+
"load times, version control & dynamic fields/settings. Simply copy and paste "
|
518 |
+
"the following code to your theme's functions.php file or include it within "
|
519 |
+
"an external file."
|
520 |
+
msgstr ""
|
521 |
+
"Der nachfolgende Code kann dazu verwendet werden eine lokale Version der "
|
522 |
+
"ausgewählten Feld-Gruppe(n) zu registrieren. Eine lokale Feld-Gruppe bietet "
|
523 |
+
"viele Vorteile; schnellere Ladezeiten, Versionskontrolle sowie dynamische "
|
524 |
+
"Felder und Einstellungen. Kopiere einfach folgenden Code und füge ihn in die "
|
525 |
+
"functions.php oder eine externe Datei in Deinem Theme ein."
|
526 |
+
|
527 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:446
|
528 |
+
msgid "Copy to clipboard"
|
529 |
+
msgstr "In Zwischenablage kopieren"
|
530 |
+
|
531 |
+
#: includes/admin/tools/class-acf-admin-tool-export.php:483
|
532 |
+
msgid "Copied"
|
533 |
+
msgstr "Kopiert"
|
534 |
+
|
535 |
+
# @ acf
|
536 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:26
|
537 |
+
msgid "Import Field Groups"
|
538 |
+
msgstr "Feld-Gruppen importieren"
|
539 |
+
|
540 |
+
# @ acf
|
541 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:61
|
542 |
+
msgid ""
|
543 |
+
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
544 |
+
"you click the import button below, ACF will import the field groups."
|
545 |
+
msgstr ""
|
546 |
+
"Wähle die Advanced Custom Fields JSON-Datei aus, welche Du importieren "
|
547 |
+
"möchtest. Nach dem Klicken des Importieren-Buttons wird ACF die Felder-"
|
548 |
+
"Gruppen hinzufügen."
|
549 |
+
|
550 |
+
# @ acf
|
551 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:66
|
552 |
+
#: includes/fields/class-acf-field-file.php:57
|
553 |
+
msgid "Select File"
|
554 |
+
msgstr "Datei auswählen"
|
555 |
+
|
556 |
+
# @ acf
|
557 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:76
|
558 |
+
msgid "Import File"
|
559 |
+
msgstr "Datei importieren"
|
560 |
+
|
561 |
# @ acf
|
562 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:99
|
563 |
+
#: includes/fields/class-acf-field-file.php:170
|
564 |
msgid "No file selected"
|
565 |
msgstr "Keine Datei ausgewählt"
|
566 |
|
567 |
# @ acf
|
568 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:109
|
569 |
msgid "Error uploading file. Please try again"
|
570 |
msgstr "Fehler beim Upload. Bitte erneut versuchen"
|
571 |
|
572 |
# @ acf
|
573 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:115
|
574 |
msgid "Incorrect file type"
|
575 |
msgstr "Falscher Dateityp"
|
576 |
|
577 |
# @ acf
|
578 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:129
|
579 |
msgid "Import file empty"
|
580 |
msgstr "Die importierte Datei ist leer"
|
581 |
|
582 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:235
|
583 |
#, php-format
|
584 |
msgid "Imported 1 field group"
|
585 |
msgid_plural "Imported %s field groups"
|
587 |
msgstr[1] "%s Feldgruppen importiert"
|
588 |
|
589 |
# @ acf
|
590 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:25
|
591 |
msgid "Conditional Logic"
|
592 |
msgstr "Bedingungen für die Anzeige"
|
593 |
|
594 |
# @ acf
|
595 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
596 |
msgid "Show this field if"
|
597 |
msgstr "Zeige dieses Feld, wenn"
|
598 |
|
599 |
# @ acf
|
600 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:138
|
601 |
+
#: includes/admin/views/html-location-rule.php:86
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
msgid "and"
|
603 |
msgstr "und"
|
604 |
|
605 |
# @ acf
|
606 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:153
|
607 |
#: includes/admin/views/field-group-locations.php:31
|
608 |
msgid "Add rule group"
|
609 |
msgstr "Regel-Gruppe hinzufügen"
|
610 |
|
611 |
# @ acf
|
612 |
+
#: includes/admin/views/field-group-field.php:38
|
613 |
+
#: pro/fields/class-acf-field-flexible-content.php:424
|
614 |
+
#: pro/fields/class-acf-field-repeater.php:294
|
615 |
msgid "Drag to reorder"
|
616 |
msgstr "Ziehen zum Sortieren"
|
617 |
|
618 |
# @ acf
|
619 |
+
#: includes/admin/views/field-group-field.php:42
|
620 |
#: includes/admin/views/field-group-field.php:45
|
|
|
621 |
msgid "Edit field"
|
622 |
msgstr "Feld bearbeiten"
|
623 |
|
624 |
# @ acf
|
625 |
+
#: includes/admin/views/field-group-field.php:45
|
626 |
+
#: includes/fields/class-acf-field-file.php:152
|
627 |
+
#: includes/fields/class-acf-field-image.php:139
|
628 |
#: includes/fields/class-acf-field-link.php:139
|
629 |
+
#: pro/fields/class-acf-field-gallery.php:359
|
630 |
msgid "Edit"
|
631 |
msgstr "Bearbeiten"
|
632 |
|
633 |
# @ acf
|
634 |
+
#: includes/admin/views/field-group-field.php:46
|
635 |
msgid "Duplicate field"
|
636 |
msgstr "Feld duplizieren"
|
637 |
|
638 |
# @ acf
|
639 |
+
#: includes/admin/views/field-group-field.php:47
|
640 |
msgid "Move field to another group"
|
641 |
msgstr "Feld in eine andere Gruppe verschieben"
|
642 |
|
643 |
# @ acf
|
644 |
+
#: includes/admin/views/field-group-field.php:47
|
645 |
msgid "Move"
|
646 |
msgstr "Verschieben"
|
647 |
|
648 |
# @ acf
|
649 |
+
#: includes/admin/views/field-group-field.php:48
|
650 |
msgid "Delete field"
|
651 |
msgstr "Feld löschen"
|
652 |
|
653 |
# @ acf
|
654 |
+
#: includes/admin/views/field-group-field.php:48
|
655 |
+
#: pro/fields/class-acf-field-flexible-content.php:570
|
656 |
msgid "Delete"
|
657 |
msgstr "Löschen"
|
658 |
|
659 |
# @ acf
|
660 |
+
#: includes/admin/views/field-group-field.php:65
|
661 |
msgid "Field Label"
|
662 |
msgstr "Bezeichnung"
|
663 |
|
664 |
# @ acf
|
665 |
+
#: includes/admin/views/field-group-field.php:66
|
666 |
msgid "This is the name which will appear on the EDIT page"
|
667 |
msgstr "Dieser Name wird in der Bearbeitungs-Ansicht eines Beitrags angezeigt"
|
668 |
|
669 |
# @ acf
|
670 |
+
#: includes/admin/views/field-group-field.php:75
|
671 |
msgid "Field Name"
|
672 |
msgstr "Feld-Name"
|
673 |
|
674 |
# @ acf
|
675 |
+
#: includes/admin/views/field-group-field.php:76
|
676 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
677 |
msgstr ""
|
678 |
"Nur ein Wort ohne Leerzeichen; es sind nur Unterstriche und Bindestriche als "
|
679 |
"Sonderzeichen erlaubt"
|
680 |
|
681 |
# @ acf
|
682 |
+
#: includes/admin/views/field-group-field.php:85
|
683 |
msgid "Field Type"
|
684 |
msgstr "Feld-Typ"
|
685 |
|
686 |
# @ acf
|
687 |
+
#: includes/admin/views/field-group-field.php:96
|
|
|
688 |
msgid "Instructions"
|
689 |
msgstr "Anweisungen"
|
690 |
|
691 |
# @ acf
|
692 |
+
#: includes/admin/views/field-group-field.php:97
|
693 |
msgid "Instructions for authors. Shown when submitting data"
|
694 |
msgstr "Anweisungen für Autoren werden in der Bearbeitungs-Ansicht angezeigt"
|
695 |
|
696 |
# @ acf
|
697 |
+
#: includes/admin/views/field-group-field.php:106
|
698 |
msgid "Required?"
|
699 |
msgstr "Erforderlich?"
|
700 |
|
701 |
# @ acf
|
702 |
+
#: includes/admin/views/field-group-field.php:129
|
703 |
msgid "Wrapper Attributes"
|
704 |
msgstr "Wrapper-Attribute"
|
705 |
|
706 |
# @ acf
|
707 |
+
#: includes/admin/views/field-group-field.php:135
|
708 |
msgid "width"
|
709 |
msgstr "Breite"
|
710 |
|
711 |
# @ acf
|
712 |
+
#: includes/admin/views/field-group-field.php:150
|
713 |
msgid "class"
|
714 |
msgstr "Klasse"
|
715 |
|
716 |
# @ acf
|
717 |
+
#: includes/admin/views/field-group-field.php:163
|
718 |
msgid "id"
|
719 |
msgstr "ID"
|
720 |
|
721 |
# @ acf
|
722 |
+
#: includes/admin/views/field-group-field.php:175
|
723 |
msgid "Close Field"
|
724 |
msgstr "Feld schliessen"
|
725 |
|
731 |
# @ acf
|
732 |
#: includes/admin/views/field-group-fields.php:5
|
733 |
#: includes/fields/class-acf-field-button-group.php:198
|
734 |
+
#: includes/fields/class-acf-field-checkbox.php:420
|
735 |
+
#: includes/fields/class-acf-field-radio.php:311
|
736 |
+
#: includes/fields/class-acf-field-select.php:433
|
737 |
+
#: pro/fields/class-acf-field-flexible-content.php:596
|
738 |
msgid "Label"
|
739 |
msgstr "Name"
|
740 |
|
741 |
# @ acf
|
742 |
#: includes/admin/views/field-group-fields.php:6
|
743 |
+
#: includes/fields/class-acf-field-taxonomy.php:939
|
744 |
+
#: pro/fields/class-acf-field-flexible-content.php:610
|
745 |
msgid "Name"
|
746 |
msgstr "Feld-Name"
|
747 |
|
824 |
|
825 |
# @ acf
|
826 |
#: includes/admin/views/field-group-options.php:62
|
827 |
+
#: includes/fields/class-acf-field-tab.php:106
|
828 |
msgid "Top aligned"
|
829 |
msgstr "Über dem Feld"
|
830 |
|
831 |
# @ acf
|
832 |
#: includes/admin/views/field-group-options.php:63
|
833 |
+
#: includes/fields/class-acf-field-tab.php:107
|
834 |
msgid "Left aligned"
|
835 |
msgstr "Links neben dem Feld"
|
836 |
|
864 |
|
865 |
# @ acf
|
866 |
#: includes/admin/views/field-group-options.php:107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
867 |
msgid "Permalink"
|
868 |
msgstr "Permalink"
|
869 |
|
870 |
# @ acf
|
871 |
+
#: includes/admin/views/field-group-options.php:108
|
872 |
msgid "Content Editor"
|
873 |
msgstr "Inhalts-Editor"
|
874 |
|
875 |
# @ acf
|
876 |
+
#: includes/admin/views/field-group-options.php:109
|
877 |
msgid "Excerpt"
|
878 |
msgstr "Kurzfassung"
|
879 |
|
880 |
# @ acf
|
881 |
+
#: includes/admin/views/field-group-options.php:111
|
882 |
msgid "Discussion"
|
883 |
msgstr "Diskussion"
|
884 |
|
885 |
# @ acf
|
886 |
+
#: includes/admin/views/field-group-options.php:112
|
887 |
msgid "Comments"
|
888 |
msgstr "Kommentare"
|
889 |
|
890 |
# @ acf
|
891 |
+
#: includes/admin/views/field-group-options.php:113
|
892 |
msgid "Revisions"
|
893 |
msgstr "Revisionen"
|
894 |
|
895 |
# @ acf
|
896 |
+
#: includes/admin/views/field-group-options.php:114
|
897 |
msgid "Slug"
|
898 |
msgstr "Kurzlink"
|
899 |
|
900 |
# @ acf
|
901 |
+
#: includes/admin/views/field-group-options.php:115
|
902 |
msgid "Author"
|
903 |
msgstr "Autor"
|
904 |
|
905 |
# @ acf
|
906 |
+
#: includes/admin/views/field-group-options.php:116
|
907 |
msgid "Format"
|
908 |
msgstr "Format"
|
909 |
|
910 |
# @ acf
|
911 |
+
#: includes/admin/views/field-group-options.php:117
|
912 |
msgid "Page Attributes"
|
913 |
msgstr "Seiten-Attribute"
|
914 |
|
915 |
# @ acf
|
916 |
+
#: includes/admin/views/field-group-options.php:118
|
917 |
+
#: includes/fields/class-acf-field-relationship.php:607
|
918 |
msgid "Featured Image"
|
919 |
msgstr "Beitragsbild"
|
920 |
|
921 |
# @ acf
|
922 |
+
#: includes/admin/views/field-group-options.php:119
|
923 |
msgid "Categories"
|
924 |
msgstr "Kategorien"
|
925 |
|
926 |
# @ acf
|
927 |
+
#: includes/admin/views/field-group-options.php:120
|
928 |
msgid "Tags"
|
929 |
msgstr "Schlagworte"
|
930 |
|
931 |
# @ acf
|
932 |
+
#: includes/admin/views/field-group-options.php:121
|
933 |
msgid "Send Trackbacks"
|
934 |
msgstr "Sende Trackbacks"
|
935 |
|
936 |
# @ acf
|
937 |
+
#: includes/admin/views/field-group-options.php:128
|
938 |
+
msgid "Hide on screen"
|
939 |
+
msgstr "Verstecken"
|
940 |
|
941 |
+
# @ acf
|
942 |
+
#: includes/admin/views/field-group-options.php:129
|
943 |
+
msgid "<b>Select</b> items to <b>hide</b> them from the edit screen."
|
944 |
+
msgstr ""
|
945 |
+
"<strong>Ausgewählte</strong> Elemente werden <strong>versteckt</strong>."
|
946 |
|
947 |
# @ acf
|
948 |
+
#: includes/admin/views/field-group-options.php:129
|
949 |
+
msgid ""
|
950 |
+
"If multiple field groups appear on an edit screen, the first field group's "
|
951 |
+
"options will be used (the one with the lowest order number)"
|
952 |
+
msgstr ""
|
953 |
+
"Sind für einen Bearbeiten-Dialog mehrere Felder-Gruppen definiert, werden "
|
954 |
+
"die Optionen der ersten Felder-Gruppe angewendet (die mit der niedrigsten "
|
955 |
+
"Nummer für die Reihenfolge)."
|
956 |
|
957 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:26
|
958 |
#, php-format
|
959 |
msgid ""
|
960 |
"The following sites require a DB upgrade. Check the ones you want to update "
|
963 |
"Die folgenden Seiten benötigen ein DB Upgrade. Wähle jene aus, die "
|
964 |
"du aktualisieren willst und klicke dann %s."
|
965 |
|
966 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:26
|
967 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:27
|
968 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:92
|
969 |
+
msgid "Upgrade Sites"
|
970 |
+
msgstr "Seiten aktualisieren"
|
971 |
+
|
972 |
# @ acf
|
973 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:36
|
974 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:47
|
975 |
msgid "Site"
|
976 |
msgstr "Seite"
|
977 |
|
978 |
# @ acf
|
979 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:74
|
980 |
#, php-format
|
981 |
msgid "Site requires database upgrade from %s to %s"
|
982 |
msgstr "Die Seite erfordert eine Datenbank-Aktualisierung von %s auf %s"
|
983 |
|
984 |
# @ acf
|
985 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:76
|
986 |
msgid "Site is up to date"
|
987 |
msgstr "Seite ist aktuell"
|
988 |
|
989 |
# @ acf
|
990 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:93
|
991 |
#, php-format
|
992 |
msgid ""
|
993 |
"Database Upgrade complete. <a href=\"%s\">Return to network dashboard</a>"
|
995 |
"Datenbank-Aktualisierung fertiggestellt. <a href=\"%s\">Zum Netzwerk "
|
996 |
"Dashboard</a>"
|
997 |
|
998 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:113
|
999 |
+
msgid "Please select at least one site to upgrade."
|
1000 |
+
msgstr ""
|
1001 |
+
"Bitte wählen Sie mindestens eine Seite aus, um ein Upgrade durchzuführen."
|
1002 |
+
|
1003 |
# @ acf
|
1004 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:117
|
1005 |
+
#: includes/admin/views/html-notice-upgrade.php:38
|
1006 |
msgid ""
|
1007 |
"It is strongly recommended that you backup your database before proceeding. "
|
1008 |
"Are you sure you wish to run the updater now?"
|
1011 |
"fortfährst. Bist Du sicher, dass Du die Aktualisierung jetzt durchführen "
|
1012 |
"willst?"
|
1013 |
|
|
|
|
|
|
|
|
|
|
|
1014 |
# @ acf
|
1015 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:144
|
1016 |
+
#: includes/admin/views/html-admin-page-upgrade.php:31
|
1017 |
#, php-format
|
1018 |
msgid "Upgrading data to version %s"
|
1019 |
msgstr "Aktualisiere Daten auf Version %s"
|
1020 |
|
1021 |
+
# @ default
|
1022 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:167
|
1023 |
+
msgid "Upgrade complete."
|
1024 |
+
msgstr "Upgrade abgeschlossen"
|
1025 |
+
|
1026 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:176
|
1027 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:185
|
1028 |
+
#: includes/admin/views/html-admin-page-upgrade.php:78
|
1029 |
+
#: includes/admin/views/html-admin-page-upgrade.php:87
|
1030 |
+
msgid "Upgrade failed."
|
1031 |
+
msgstr "Upgrade gescheitert."
|
1032 |
+
|
1033 |
+
# @ acf
|
1034 |
+
#: includes/admin/views/html-admin-page-upgrade.php:30
|
1035 |
+
msgid "Reading upgrade tasks..."
|
1036 |
+
msgstr "Lese anstehende Aufgaben für die Aktualisierung..."
|
1037 |
+
|
1038 |
+
#: includes/admin/views/html-admin-page-upgrade.php:33
|
1039 |
+
#, php-format
|
1040 |
+
msgid "Database upgrade complete. <a href=\"%s\">See what's new</a>"
|
1041 |
+
msgstr "Datenbank-Upgrade abgeschlossen. <a href=\"%s\">Schau was neu ist</a>"
|
1042 |
+
|
1043 |
+
# @ acf
|
1044 |
+
#: includes/admin/views/html-admin-page-upgrade.php:116
|
1045 |
+
#: includes/ajax/class-acf-ajax-upgrade.php:33
|
1046 |
+
msgid "No updates available."
|
1047 |
+
msgstr "Keine Aktualisierungen verfügbar."
|
1048 |
+
|
1049 |
+
#: includes/admin/views/html-admin-tools.php:21
|
1050 |
+
msgid "Back to all tools"
|
1051 |
+
msgstr "Zurück zu allen Werkzeugen"
|
1052 |
+
|
1053 |
# @ acf
|
1054 |
+
#: includes/admin/views/html-location-group.php:3
|
1055 |
+
msgid "Show this field group if"
|
1056 |
+
msgstr "Zeige diese Felder, wenn"
|
1057 |
+
|
1058 |
+
# @ acf
|
1059 |
+
#: includes/admin/views/html-notice-upgrade.php:8
|
1060 |
#: pro/fields/class-acf-field-repeater.php:25
|
1061 |
msgid "Repeater"
|
1062 |
msgstr "Wiederholung"
|
1063 |
|
1064 |
# @ acf
|
1065 |
+
#: includes/admin/views/html-notice-upgrade.php:9
|
1066 |
#: pro/fields/class-acf-field-flexible-content.php:25
|
1067 |
msgid "Flexible Content"
|
1068 |
msgstr "Flexible Inhalte"
|
1069 |
|
1070 |
# @ acf
|
1071 |
+
#: includes/admin/views/html-notice-upgrade.php:10
|
1072 |
#: pro/fields/class-acf-field-gallery.php:25
|
1073 |
msgid "Gallery"
|
1074 |
msgstr "Galerie"
|
1075 |
|
1076 |
# @ acf
|
1077 |
+
#: includes/admin/views/html-notice-upgrade.php:11
|
1078 |
#: pro/locations/class-acf-location-options-page.php:26
|
1079 |
msgid "Options Page"
|
1080 |
msgstr "Options-Seite"
|
1081 |
|
1082 |
# @ acf
|
1083 |
+
#: includes/admin/views/html-notice-upgrade.php:21
|
1084 |
msgid "Database Upgrade Required"
|
1085 |
msgstr "Es ist eine Datenbank-Aktualisierung notwendig"
|
1086 |
|
1087 |
# @ acf
|
1088 |
+
#: includes/admin/views/html-notice-upgrade.php:22
|
1089 |
#, php-format
|
1090 |
msgid "Thank you for updating to %s v%s!"
|
1091 |
msgstr "Danke für die Aktualisierung auf %s v%s!"
|
1092 |
|
1093 |
+
#: includes/admin/views/html-notice-upgrade.php:22
|
|
|
1094 |
msgid ""
|
1095 |
+
"This version contains improvements to your database and requires an upgrade."
|
|
|
1096 |
msgstr ""
|
1097 |
+
"Diese Version enthält Verbesserungen an Ihrer Datenbank und erfordert ein "
|
1098 |
+
"Upgrade."
|
1099 |
|
1100 |
+
#: includes/admin/views/html-notice-upgrade.php:24
|
1101 |
#, php-format
|
1102 |
msgid ""
|
1103 |
+
"Please also check all premium add-ons (%s) are updated to the latest version."
|
|
|
1104 |
msgstr ""
|
1105 |
"Stelle bitte ebenfalls sicher, dass alle Premium-Add-ons (%s) vorab auf die "
|
1106 |
"neueste Version aktualisiert wurden."
|
1107 |
|
1108 |
# @ acf
|
1109 |
+
#: includes/admin/views/settings-addons.php:3
|
1110 |
+
msgid "Add-ons"
|
1111 |
+
msgstr "Zusatz-Module"
|
|
|
|
|
|
|
|
|
|
|
1112 |
|
1113 |
# @ acf
|
1114 |
#: includes/admin/views/settings-addons.php:17
|
1136 |
"genauso gut gefallen wie uns."
|
1137 |
|
1138 |
# @ acf
|
1139 |
+
#: includes/admin/views/settings-info.php:15
|
1140 |
+
msgid "A Smoother Experience"
|
1141 |
+
msgstr "Eine reibungslosere Erfahrung"
|
|
|
1142 |
|
1143 |
# @ acf
|
1144 |
+
#: includes/admin/views/settings-info.php:19
|
1145 |
msgid "Improved Usability"
|
1146 |
msgstr "Verbesserte Benutzerfreundlichkeit"
|
1147 |
|
1148 |
# @ acf
|
1149 |
+
#: includes/admin/views/settings-info.php:20
|
1150 |
msgid ""
|
1151 |
"Including the popular Select2 library has improved both usability and speed "
|
1152 |
"across a number of field types including post object, page link, taxonomy "
|
1158 |
"signifikant verbessert."
|
1159 |
|
1160 |
# @ acf
|
1161 |
+
#: includes/admin/views/settings-info.php:24
|
1162 |
msgid "Improved Design"
|
1163 |
msgstr "Verbessertes Design"
|
1164 |
|
1165 |
# @ acf
|
1166 |
+
#: includes/admin/views/settings-info.php:25
|
1167 |
msgid ""
|
1168 |
"Many fields have undergone a visual refresh to make ACF look better than "
|
1169 |
"ever! Noticeable changes are seen on the gallery, relationship and oEmbed "
|
1174 |
"nagelneue oEmbed-Feld!"
|
1175 |
|
1176 |
# @ acf
|
1177 |
+
#: includes/admin/views/settings-info.php:29
|
1178 |
msgid "Improved Data"
|
1179 |
msgstr "Verbesserte Datenstruktur"
|
1180 |
|
1181 |
# @ acf
|
1182 |
+
#: includes/admin/views/settings-info.php:30
|
1183 |
msgid ""
|
1184 |
"Redesigning the data architecture has allowed sub fields to live "
|
1185 |
"independently from their parents. This allows you to drag and drop fields in "
|
1191 |
"werden können!"
|
1192 |
|
1193 |
# @ acf
|
1194 |
+
#: includes/admin/views/settings-info.php:38
|
1195 |
msgid "Goodbye Add-ons. Hello PRO"
|
1196 |
msgstr "Macht's gut Add-ons… Hallo PRO"
|
1197 |
|
1198 |
# @ acf
|
1199 |
+
#: includes/admin/views/settings-info.php:41
|
1200 |
msgid "Introducing ACF PRO"
|
1201 |
msgstr "Wir dürfen vorstellen… ACF PRO"
|
1202 |
|
1203 |
# @ acf
|
1204 |
+
#: includes/admin/views/settings-info.php:42
|
1205 |
msgid ""
|
1206 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
1207 |
msgstr ""
|
1209 |
"gestellt wird geändert - das \"wie\" dürfte Dich begeistern!"
|
1210 |
|
1211 |
# @ acf
|
1212 |
+
#: includes/admin/views/settings-info.php:43
|
1213 |
#, php-format
|
1214 |
msgid ""
|
1215 |
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
1222 |
"ist somit erschwinglicher denn je!"
|
1223 |
|
1224 |
# @ acf
|
1225 |
+
#: includes/admin/views/settings-info.php:47
|
1226 |
msgid "Powerful Features"
|
1227 |
msgstr "Leistungsstarke Funktionen"
|
1228 |
|
1229 |
# @ acf
|
1230 |
+
#: includes/admin/views/settings-info.php:48
|
1231 |
msgid ""
|
1232 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
1233 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
1238 |
"zusätzliche Options-Seiten im Admin-Bereich anzulegen!"
|
1239 |
|
1240 |
# @ acf
|
1241 |
+
#: includes/admin/views/settings-info.php:49
|
1242 |
#, php-format
|
1243 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
1244 |
msgstr "Lies mehr über die <a href=\"%s\">ACF PRO Funktionen</a>."
|
1245 |
|
1246 |
# @ acf
|
1247 |
+
#: includes/admin/views/settings-info.php:53
|
1248 |
msgid "Easy Upgrading"
|
1249 |
msgstr "Kinderleichte Aktualisierung"
|
1250 |
|
1251 |
+
#: includes/admin/views/settings-info.php:54
|
|
|
|
|
1252 |
msgid ""
|
1253 |
+
"Upgrading to ACF PRO is easy. Simply purchase a license online and download "
|
1254 |
+
"the plugin!"
|
1255 |
msgstr ""
|
1256 |
+
"Die Aktualisierung auf ACF PRO ist einfach. Kaufen Sie einfach eine Lizenz "
|
1257 |
+
"online und laden Sie das Plugin herunter!"
|
|
|
1258 |
|
1259 |
# @ acf
|
1260 |
+
#: includes/admin/views/settings-info.php:55
|
1261 |
#, php-format
|
1262 |
msgid ""
|
1263 |
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
1264 |
"but if you do have one, please contact our support team via the <a href=\"%s"
|
1265 |
+
"\">help desk</a>."
|
1266 |
msgstr ""
|
1267 |
"Um möglichen Fragen vorzubeugen haben wir haben eine <a href=\"%s\"> "
|
1268 |
"Anleitung für den Aktualisierungs-Prozess (Engl.)</a> verfasst. Sollten "
|
1269 |
"dennoch Fragen aufgeworfen werden, kontaktiere bitte unser <a href=\"%s\"> "
|
1270 |
+
"Support-Team </a>."
|
1271 |
+
|
1272 |
+
#: includes/admin/views/settings-info.php:64
|
1273 |
+
msgid "New Features"
|
1274 |
+
msgstr "Neue Features"
|
1275 |
+
|
1276 |
+
# @ acf
|
1277 |
+
#: includes/admin/views/settings-info.php:69
|
1278 |
+
msgid "Link Field"
|
1279 |
+
msgstr "Link Feld"
|
1280 |
+
|
1281 |
+
#: includes/admin/views/settings-info.php:70
|
1282 |
+
msgid ""
|
1283 |
+
"The Link field provides a simple way to select or define a link (url, title, "
|
1284 |
+
"target)."
|
1285 |
+
msgstr ""
|
1286 |
+
"Das Link-Feld bietet eine einfache Möglichkeit, einen Link auszuwählen oder "
|
1287 |
+
"zu definieren (URL, Titel, Ziel)."
|
1288 |
|
1289 |
# @ acf
|
1290 |
+
#: includes/admin/views/settings-info.php:74
|
1291 |
+
msgid "Group Field"
|
1292 |
+
msgstr "Gruppenfeld"
|
1293 |
+
|
1294 |
+
#: includes/admin/views/settings-info.php:75
|
1295 |
+
msgid "The Group field provides a simple way to create a group of fields."
|
1296 |
+
msgstr ""
|
1297 |
+
"Das Gruppenfeld bietet eine einfache Möglichkeit, eine Gruppe von Feldern zu "
|
1298 |
+
"schaffen."
|
1299 |
|
1300 |
# @ acf
|
1301 |
+
#: includes/admin/views/settings-info.php:79
|
1302 |
+
msgid "oEmbed Field"
|
1303 |
+
msgstr "oEmbed Feld"
|
1304 |
+
|
1305 |
+
#: includes/admin/views/settings-info.php:80
|
1306 |
+
msgid ""
|
1307 |
+
"The oEmbed field allows an easy way to embed videos, images, tweets, audio, "
|
1308 |
+
"and other content."
|
1309 |
+
msgstr ""
|
1310 |
+
"Das oEmbed-Feld ermöglicht eine einfache Möglichkeit, Videos, Bilder, "
|
1311 |
+
"Tweets, Audio und andere Inhalte einzubetten."
|
1312 |
|
1313 |
# @ acf
|
1314 |
+
#: includes/admin/views/settings-info.php:84
|
1315 |
+
msgid "Clone Field"
|
1316 |
+
msgstr "Klonen Feld"
|
1317 |
+
|
1318 |
+
#: includes/admin/views/settings-info.php:85
|
1319 |
+
msgid "The clone field allows you to select and display existing fields."
|
1320 |
msgstr ""
|
1321 |
+
"Das Klon-Feld ermöglicht es Ihnen, bestehende Felder auszuwählen und "
|
1322 |
+
"anzuzeigen."
|
1323 |
|
1324 |
# @ acf
|
1325 |
+
#: includes/admin/views/settings-info.php:89
|
1326 |
msgid "More AJAX"
|
1327 |
msgstr "Mehr AJAX"
|
1328 |
|
1329 |
# @ acf
|
1330 |
+
#: includes/admin/views/settings-info.php:90
|
1331 |
+
msgid "More fields use AJAX powered search to speed up page loading."
|
1332 |
msgstr ""
|
1333 |
"Mehr Felder verwenden nun eine AJAX-basierte Suche, die die Ladezeiten von "
|
1334 |
+
"Seiten deutlich verringert."
|
1335 |
|
1336 |
# @ acf
|
1337 |
+
#: includes/admin/views/settings-info.php:94
|
1338 |
msgid "Local JSON"
|
1339 |
msgstr "Lokales JSON"
|
1340 |
|
1341 |
# @ acf
|
1342 |
+
#: includes/admin/views/settings-info.php:95
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1343 |
msgid ""
|
1344 |
+
"New auto export to JSON feature improves speed and allows for syncronisation."
|
|
|
1345 |
msgstr ""
|
1346 |
+
"Der neue automatische Export in JSON verbessert die Geschwindigkeit und "
|
1347 |
+
"ermöglicht eine Synchronisierung."
|
1348 |
|
1349 |
# @ acf
|
1350 |
+
#: includes/admin/views/settings-info.php:99
|
1351 |
+
msgid "Easy Import / Export"
|
1352 |
+
msgstr "Einfacher Import / Export"
|
1353 |
|
1354 |
+
#: includes/admin/views/settings-info.php:100
|
1355 |
+
msgid "Both import and export can easily be done through a new tools page."
|
1356 |
+
msgstr ""
|
1357 |
+
"Sowohl der Import als auch der Export können einfach über eine neue "
|
1358 |
+
"Werkzeugseite erfolgen."
|
1359 |
|
1360 |
# @ acf
|
1361 |
+
#: includes/admin/views/settings-info.php:104
|
1362 |
+
msgid "New Form Locations"
|
1363 |
+
msgstr "Neue Positionen für Formulare"
|
1364 |
|
1365 |
# @ acf
|
1366 |
+
#: includes/admin/views/settings-info.php:105
|
1367 |
+
msgid ""
|
1368 |
+
"Fields can now be mapped to menus, menu items, comments, widgets and all "
|
1369 |
+
"user forms!"
|
1370 |
msgstr ""
|
1371 |
+
"Felder können nun auch Menüs, Menüpunkten, Kommentaren, Widgets und allen "
|
1372 |
+
"Benutzer-Formularen zugeordnet werden!"
|
1373 |
|
1374 |
# @ acf
|
1375 |
+
#: includes/admin/views/settings-info.php:109
|
1376 |
+
msgid "More Customization"
|
1377 |
+
msgstr "Weitere Anpassungen"
|
1378 |
|
|
|
1379 |
#: includes/admin/views/settings-info.php:110
|
1380 |
+
msgid ""
|
1381 |
+
"New PHP (and JS) actions and filters have been added to allow for more "
|
1382 |
+
"customization."
|
1383 |
+
msgstr ""
|
1384 |
+
"Neue PHP (und JS)-Aktionen und Filter wurden hinzugefügt, um mehr "
|
1385 |
+
"Anpassungen zu ermöglichen."
|
1386 |
|
1387 |
+
#: includes/admin/views/settings-info.php:114
|
1388 |
+
msgid "Fresh UI"
|
1389 |
+
msgstr "Frisches UI"
|
1390 |
+
|
1391 |
+
#: includes/admin/views/settings-info.php:115
|
1392 |
+
msgid ""
|
1393 |
+
"The entire plugin has had a design refresh including new field types, "
|
1394 |
+
"settings and design!"
|
1395 |
msgstr ""
|
1396 |
+
"Ein Design-Refresh für das gesamte Plugin, inklusive neue Feldtypen, "
|
1397 |
+
"Einstellungen und Design wurde eingeführt!"
|
1398 |
|
1399 |
# @ acf
|
1400 |
+
#: includes/admin/views/settings-info.php:119
|
1401 |
msgid "New Settings"
|
1402 |
msgstr "Neue Einstellungen"
|
1403 |
|
1404 |
# @ acf
|
1405 |
+
#: includes/admin/views/settings-info.php:120
|
1406 |
msgid ""
|
1407 |
+
"Field group settings have been added for Active, Label Placement, "
|
1408 |
+
"Instructions Placement and Description."
|
1409 |
msgstr ""
|
1410 |
+
"Die Feldgruppen wurden um die Einstellungen für das Aktivieren und "
|
1411 |
+
"Deaktivieren der Gruppe, die Platzierung von Beschriftungen und Anweisungen "
|
1412 |
+
"sowie eine Beschreibung erweitert."
|
1413 |
|
1414 |
# @ acf
|
1415 |
+
#: includes/admin/views/settings-info.php:124
|
1416 |
msgid "Better Front End Forms"
|
1417 |
msgstr "Verbesserte Front-End-Formulare"
|
1418 |
|
1419 |
# @ acf
|
1420 |
+
#: includes/admin/views/settings-info.php:125
|
1421 |
+
msgid ""
|
1422 |
+
"acf_form() can now create a new post on submission with lots of new settings."
|
1423 |
+
msgstr ""
|
1424 |
+
"acf_form() kann jetzt einen neuen Beitrag direkt beim Senden erstellen "
|
1425 |
+
"inklusive vieler neuer Einstellungsmöglichkeiten."
|
1426 |
|
1427 |
# @ acf
|
1428 |
+
#: includes/admin/views/settings-info.php:129
|
1429 |
msgid "Better Validation"
|
1430 |
msgstr "Bessere Validierung"
|
1431 |
|
1432 |
# @ acf
|
1433 |
+
#: includes/admin/views/settings-info.php:130
|
1434 |
+
msgid "Form validation is now done via PHP + AJAX in favour of only JS."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1435 |
msgstr ""
|
1436 |
+
"Die Formular-Validierung wird nun mit Hilfe von PHP + AJAX erledigt, anstatt "
|
1437 |
+
"nur JS zu verwenden."
|
1438 |
|
1439 |
# @ acf
|
1440 |
+
#: includes/admin/views/settings-info.php:134
|
1441 |
msgid "Moving Fields"
|
1442 |
msgstr "Verschiebbare Felder"
|
1443 |
|
1444 |
# @ acf
|
1445 |
+
#: includes/admin/views/settings-info.php:135
|
1446 |
msgid ""
|
1447 |
"New field group functionality allows you to move a field between groups & "
|
1448 |
+
"parents."
|
1449 |
msgstr ""
|
1450 |
"Die neue Feld-Gruppen-Funktionalität erlaubt es ein Feld zwischen Gruppen "
|
1451 |
+
"und übergeordneten Gruppen frei zu verschieben."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1452 |
|
1453 |
# @ acf
|
1454 |
+
#: includes/admin/views/settings-info.php:146
|
1455 |
#, php-format
|
1456 |
msgid "We think you'll love the changes in %s."
|
1457 |
msgstr "Wir glauben Du wirst die Änderungen in %s lieben."
|
1458 |
|
1459 |
# @ acf
|
1460 |
+
#: includes/api/api-helpers.php:1011
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1461 |
msgid "Thumbnail"
|
1462 |
msgstr "Miniaturbild"
|
1463 |
|
1464 |
# @ acf
|
1465 |
+
#: includes/api/api-helpers.php:1012
|
1466 |
msgid "Medium"
|
1467 |
msgstr "Mittel"
|
1468 |
|
1469 |
# @ acf
|
1470 |
+
#: includes/api/api-helpers.php:1013
|
1471 |
msgid "Large"
|
1472 |
msgstr "Gross"
|
1473 |
|
1474 |
# @ acf
|
1475 |
+
#: includes/api/api-helpers.php:1062
|
1476 |
msgid "Full Size"
|
1477 |
msgstr "Volle Grösse"
|
1478 |
|
1479 |
# @ acf
|
1480 |
+
#: includes/api/api-helpers.php:1831 includes/api/api-term.php:147
|
1481 |
+
#: pro/fields/class-acf-field-clone.php:996
|
1482 |
msgid "(no title)"
|
1483 |
msgstr "(ohne Titel)"
|
1484 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1485 |
# @ acf
|
1486 |
+
#: includes/api/api-helpers.php:3919
|
1487 |
#, php-format
|
1488 |
msgid "Image width must be at least %dpx."
|
1489 |
msgstr "Die Breite des Bildes muss mindestens %dpx sein."
|
1490 |
|
1491 |
# @ acf
|
1492 |
+
#: includes/api/api-helpers.php:3924
|
1493 |
#, php-format
|
1494 |
msgid "Image width must not exceed %dpx."
|
1495 |
msgstr "Die Breite des Bildes darf %dpx nicht überschreiten."
|
1496 |
|
1497 |
# @ acf
|
1498 |
+
#: includes/api/api-helpers.php:3940
|
1499 |
#, php-format
|
1500 |
msgid "Image height must be at least %dpx."
|
1501 |
msgstr "Die Höhe des Bildes muss mindestens %dpx sein."
|
1502 |
|
1503 |
# @ acf
|
1504 |
+
#: includes/api/api-helpers.php:3945
|
1505 |
#, php-format
|
1506 |
msgid "Image height must not exceed %dpx."
|
1507 |
msgstr "Die Höhe des Bild darf %dpx nicht überschreiten."
|
1508 |
|
1509 |
# @ acf
|
1510 |
+
#: includes/api/api-helpers.php:3963
|
1511 |
#, php-format
|
1512 |
msgid "File size must be at least %s."
|
1513 |
msgstr "Die Dateigrösse muss mindestens %s sein."
|
1514 |
|
1515 |
# @ acf
|
1516 |
+
#: includes/api/api-helpers.php:3968
|
1517 |
#, php-format
|
1518 |
msgid "File size must must not exceed %s."
|
1519 |
msgstr "Die Dateigrösse darf %s nicht überschreiten."
|
1520 |
|
1521 |
# @ acf
|
1522 |
+
#: includes/api/api-helpers.php:4002
|
1523 |
#, php-format
|
1524 |
msgid "File type must be %s."
|
1525 |
msgstr "Der Dateityp muss %s sein."
|
1526 |
|
1527 |
# @ acf
|
1528 |
+
#: includes/assets.php:168
|
1529 |
+
msgid "The changes you made will be lost if you navigate away from this page"
|
1530 |
+
msgstr ""
|
1531 |
+
"Die vorgenommenen Änderungen gehen verloren wenn diese Seite verlassen wird"
|
1532 |
+
|
1533 |
+
#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259
|
1534 |
+
msgctxt "verb"
|
1535 |
+
msgid "Select"
|
1536 |
+
msgstr "Auswählen"
|
1537 |
+
|
1538 |
+
#: includes/assets.php:172
|
1539 |
+
msgctxt "verb"
|
1540 |
+
msgid "Edit"
|
1541 |
+
msgstr "Bearbeiten"
|
1542 |
+
|
1543 |
+
#: includes/assets.php:173
|
1544 |
+
msgctxt "verb"
|
1545 |
+
msgid "Update"
|
1546 |
+
msgstr "Aktualisieren"
|
1547 |
+
|
1548 |
+
# @ acf
|
1549 |
+
#: includes/assets.php:174
|
1550 |
+
msgid "Uploaded to this post"
|
1551 |
+
msgstr "Zu diesem Beitrag hochgeladen"
|
1552 |
+
|
1553 |
+
# @ acf
|
1554 |
+
#: includes/assets.php:175
|
1555 |
+
msgid "Expand Details"
|
1556 |
+
msgstr "Details einblenden"
|
1557 |
+
|
1558 |
+
# @ acf
|
1559 |
+
#: includes/assets.php:176
|
1560 |
+
msgid "Collapse Details"
|
1561 |
+
msgstr "Details ausblenden"
|
1562 |
+
|
1563 |
+
#: includes/assets.php:177
|
1564 |
+
msgid "Restricted"
|
1565 |
+
msgstr "Eingeschränkt"
|
1566 |
+
|
1567 |
+
# @ acf
|
1568 |
+
#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67
|
1569 |
+
msgid "All images"
|
1570 |
+
msgstr "Alle Bilder"
|
1571 |
+
|
1572 |
+
# @ acf
|
1573 |
+
#: includes/assets.php:181
|
1574 |
+
msgid "Validation successful"
|
1575 |
+
msgstr "Überprüfung erfolgreich"
|
1576 |
+
|
1577 |
+
# @ acf
|
1578 |
+
#: includes/assets.php:182 includes/validation.php:285
|
1579 |
+
#: includes/validation.php:296
|
1580 |
+
msgid "Validation failed"
|
1581 |
+
msgstr "Überprüfung fehlgeschlagen"
|
1582 |
+
|
1583 |
+
# @ acf
|
1584 |
+
#: includes/assets.php:183
|
1585 |
+
msgid "1 field requires attention"
|
1586 |
+
msgstr "Für 1 Feld ist eine Aktualisierung notwendig"
|
1587 |
+
|
1588 |
+
# @ acf
|
1589 |
+
#: includes/assets.php:184
|
1590 |
+
#, php-format
|
1591 |
+
msgid "%d fields require attention"
|
1592 |
+
msgstr "Für %d Felder ist eine Aktualisierung notwendig"
|
1593 |
+
|
1594 |
+
# @ acf
|
1595 |
+
#: includes/assets.php:187
|
1596 |
+
msgid "Are you sure?"
|
1597 |
+
msgstr "Sind Sie sicher?"
|
1598 |
+
|
1599 |
+
# @ acf
|
1600 |
+
#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79
|
1601 |
+
#: includes/fields/class-acf-field-true_false.php:159
|
1602 |
+
#: pro/admin/views/html-settings-updates.php:89
|
1603 |
+
msgid "Yes"
|
1604 |
+
msgstr "Ja"
|
1605 |
+
|
1606 |
+
# @ acf
|
1607 |
+
#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80
|
1608 |
+
#: includes/fields/class-acf-field-true_false.php:174
|
1609 |
+
#: pro/admin/views/html-settings-updates.php:99
|
1610 |
+
msgid "No"
|
1611 |
+
msgstr "Nein"
|
1612 |
+
|
1613 |
+
# @ acf
|
1614 |
+
#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154
|
1615 |
+
#: includes/fields/class-acf-field-image.php:141
|
1616 |
+
#: includes/fields/class-acf-field-link.php:140
|
1617 |
+
#: pro/fields/class-acf-field-gallery.php:360
|
1618 |
+
#: pro/fields/class-acf-field-gallery.php:549
|
1619 |
+
msgid "Remove"
|
1620 |
+
msgstr "Entfernen"
|
1621 |
+
|
1622 |
+
#: includes/assets.php:191
|
1623 |
+
msgid "Cancel"
|
1624 |
+
msgstr "Abbrechen"
|
1625 |
+
|
1626 |
+
#: includes/assets.php:194
|
1627 |
+
msgid "Has any value"
|
1628 |
+
msgstr "Hat beliebigen Wert"
|
1629 |
+
|
1630 |
+
#: includes/assets.php:195
|
1631 |
+
msgid "Has no value"
|
1632 |
+
msgstr "Hat keinen Wert"
|
1633 |
+
|
1634 |
+
# @ acf
|
1635 |
+
#: includes/assets.php:196
|
1636 |
+
msgid "Value is equal to"
|
1637 |
+
msgstr "Wert entspricht"
|
1638 |
+
|
1639 |
+
# @ acf
|
1640 |
+
#: includes/assets.php:197
|
1641 |
+
msgid "Value is not equal to"
|
1642 |
+
msgstr "Wert entspricht nicht"
|
1643 |
+
|
1644 |
+
# @ acf
|
1645 |
+
#: includes/assets.php:198
|
1646 |
+
msgid "Value matches pattern"
|
1647 |
+
msgstr "Wert entspricht regulärem Ausdruck"
|
1648 |
+
|
1649 |
+
#: includes/assets.php:199
|
1650 |
+
msgid "Value contains"
|
1651 |
+
msgstr "Wert enthält"
|
1652 |
+
|
1653 |
+
# @ acf
|
1654 |
+
#: includes/assets.php:200
|
1655 |
+
msgid "Value is greater than"
|
1656 |
+
msgstr "Wert ist grösser als"
|
1657 |
+
|
1658 |
+
# @ acf
|
1659 |
+
#: includes/assets.php:201
|
1660 |
+
msgid "Value is less than"
|
1661 |
+
msgstr "Wert ist geringer als"
|
1662 |
+
|
1663 |
+
#: includes/assets.php:202
|
1664 |
+
msgid "Selection is greater than"
|
1665 |
+
msgstr "Die Auswahl ist grösser als"
|
1666 |
+
|
1667 |
+
# @ acf
|
1668 |
+
#: includes/assets.php:203
|
1669 |
+
msgid "Selection is less than"
|
1670 |
+
msgstr "Auswahl ist geringer als"
|
1671 |
+
|
1672 |
+
# @ acf
|
1673 |
+
#: includes/assets.php:206 includes/forms/form-comment.php:166
|
1674 |
+
#: pro/admin/admin-options-page.php:325
|
1675 |
+
msgid "Edit field group"
|
1676 |
+
msgstr "Feld-Gruppen bearbeiten"
|
1677 |
+
|
1678 |
+
# @ acf
|
1679 |
+
#: includes/fields.php:308
|
1680 |
+
msgid "Field type does not exist"
|
1681 |
+
msgstr "Feld-Typ existiert nicht"
|
1682 |
+
|
1683 |
+
#: includes/fields.php:308
|
1684 |
+
msgid "Unknown"
|
1685 |
+
msgstr "Unbekannt"
|
1686 |
+
|
1687 |
+
# @ acf
|
1688 |
+
#: includes/fields.php:349
|
1689 |
msgid "Basic"
|
1690 |
msgstr "Grundlage"
|
1691 |
|
1692 |
# @ acf
|
1693 |
+
#: includes/fields.php:350 includes/forms/form-front.php:47
|
1694 |
msgid "Content"
|
1695 |
msgstr "Inhalt"
|
1696 |
|
1697 |
# @ acf
|
1698 |
+
#: includes/fields.php:351
|
1699 |
msgid "Choice"
|
1700 |
msgstr "Auswahl"
|
1701 |
|
1702 |
# @ acf
|
1703 |
+
#: includes/fields.php:352
|
1704 |
msgid "Relational"
|
1705 |
msgstr "Relational"
|
1706 |
|
1707 |
# @ acf
|
1708 |
+
#: includes/fields.php:353
|
1709 |
msgid "jQuery"
|
1710 |
msgstr "jQuery"
|
1711 |
|
1712 |
# @ acf
|
1713 |
+
#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177
|
1714 |
+
#: includes/fields/class-acf-field-checkbox.php:389
|
|
|
1715 |
#: includes/fields/class-acf-field-group.php:474
|
1716 |
+
#: includes/fields/class-acf-field-radio.php:290
|
1717 |
+
#: pro/fields/class-acf-field-clone.php:843
|
1718 |
+
#: pro/fields/class-acf-field-flexible-content.php:567
|
1719 |
+
#: pro/fields/class-acf-field-flexible-content.php:616
|
1720 |
+
#: pro/fields/class-acf-field-repeater.php:443
|
1721 |
msgid "Layout"
|
1722 |
msgstr "Layout"
|
1723 |
|
1724 |
+
#: includes/fields/class-acf-field-accordion.php:24
|
1725 |
+
msgid "Accordion"
|
1726 |
+
msgstr "Akkordeon"
|
|
|
1727 |
|
1728 |
+
#: includes/fields/class-acf-field-accordion.php:99
|
1729 |
+
msgid "Open"
|
1730 |
+
msgstr "Offen"
|
1731 |
+
|
1732 |
+
#: includes/fields/class-acf-field-accordion.php:100
|
1733 |
+
msgid "Display this accordion as open on page load."
|
1734 |
+
msgstr "Zeigen Sie dieses Akkordeon geöffnet an, wenn die Seite lädt."
|
1735 |
+
|
1736 |
+
#: includes/fields/class-acf-field-accordion.php:109
|
1737 |
+
msgid "Multi-expand"
|
1738 |
+
msgstr "Multi-expandieren"
|
1739 |
+
|
1740 |
+
#: includes/fields/class-acf-field-accordion.php:110
|
1741 |
+
msgid "Allow this accordion to open without closing others."
|
1742 |
+
msgstr "Lassen Sie dieses Akkordeon öffnen, ohne andere zu schliessen."
|
1743 |
+
|
1744 |
+
#: includes/fields/class-acf-field-accordion.php:119
|
1745 |
+
#: includes/fields/class-acf-field-tab.php:114
|
1746 |
+
msgid "Endpoint"
|
1747 |
+
msgstr "Endpunkt"
|
1748 |
+
|
1749 |
+
#: includes/fields/class-acf-field-accordion.php:120
|
1750 |
+
msgid ""
|
1751 |
+
"Define an endpoint for the previous accordion to stop. This accordion will "
|
1752 |
+
"not be visible."
|
1753 |
+
msgstr ""
|
1754 |
+
"Definieren Sie einen Endpunkt für das bisherige Akkordeon zu stoppen. Dieses "
|
1755 |
+
"Akkordeon wird nicht zu sehen sein."
|
1756 |
|
1757 |
#: includes/fields/class-acf-field-button-group.php:24
|
1758 |
msgid "Button Group"
|
1762 |
#: includes/fields/class-acf-field-button-group.php:149
|
1763 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1764 |
#: includes/fields/class-acf-field-radio.php:235
|
1765 |
+
#: includes/fields/class-acf-field-select.php:364
|
1766 |
msgid "Choices"
|
1767 |
msgstr "Auswahlmöglichkeiten"
|
1768 |
|
1770 |
#: includes/fields/class-acf-field-button-group.php:150
|
1771 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1772 |
#: includes/fields/class-acf-field-radio.php:236
|
1773 |
+
#: includes/fields/class-acf-field-select.php:365
|
1774 |
msgid "Enter each choice on a new line."
|
1775 |
msgstr "Jede Auswahlmöglichkeit in separater Zeile eingeben."
|
1776 |
|
1778 |
#: includes/fields/class-acf-field-button-group.php:150
|
1779 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1780 |
#: includes/fields/class-acf-field-radio.php:236
|
1781 |
+
#: includes/fields/class-acf-field-select.php:365
|
1782 |
msgid "For more control, you may specify both a value and label like this:"
|
1783 |
msgstr ""
|
1784 |
"Für eine bessere Darstellung, kannst Du auch einen Wert und dazu dessen "
|
1788 |
#: includes/fields/class-acf-field-button-group.php:150
|
1789 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1790 |
#: includes/fields/class-acf-field-radio.php:236
|
1791 |
+
#: includes/fields/class-acf-field-select.php:365
|
1792 |
msgid "red : Red"
|
1793 |
msgstr "rot : Rot"
|
1794 |
|
1795 |
# @ acf
|
1796 |
#: includes/fields/class-acf-field-button-group.php:158
|
1797 |
#: includes/fields/class-acf-field-page_link.php:513
|
1798 |
+
#: includes/fields/class-acf-field-post_object.php:411
|
1799 |
#: includes/fields/class-acf-field-radio.php:244
|
1800 |
+
#: includes/fields/class-acf-field-select.php:382
|
1801 |
+
#: includes/fields/class-acf-field-taxonomy.php:784
|
1802 |
+
#: includes/fields/class-acf-field-user.php:393
|
1803 |
msgid "Allow Null?"
|
1804 |
msgstr "NULL-Werte zulassen?"
|
1805 |
|
1806 |
# @ acf
|
1807 |
#: includes/fields/class-acf-field-button-group.php:168
|
1808 |
+
#: includes/fields/class-acf-field-checkbox.php:380
|
1809 |
#: includes/fields/class-acf-field-color_picker.php:131
|
1810 |
#: includes/fields/class-acf-field-email.php:118
|
1811 |
#: includes/fields/class-acf-field-number.php:127
|
1812 |
+
#: includes/fields/class-acf-field-radio.php:281
|
1813 |
+
#: includes/fields/class-acf-field-range.php:149
|
1814 |
+
#: includes/fields/class-acf-field-select.php:373
|
1815 |
#: includes/fields/class-acf-field-text.php:119
|
1816 |
#: includes/fields/class-acf-field-textarea.php:102
|
1817 |
#: includes/fields/class-acf-field-true_false.php:135
|
1818 |
#: includes/fields/class-acf-field-url.php:100
|
1819 |
+
#: includes/fields/class-acf-field-wysiwyg.php:381
|
1820 |
msgid "Default Value"
|
1821 |
msgstr "Standardwert"
|
1822 |
|
1824 |
#: includes/fields/class-acf-field-button-group.php:169
|
1825 |
#: includes/fields/class-acf-field-email.php:119
|
1826 |
#: includes/fields/class-acf-field-number.php:128
|
1827 |
+
#: includes/fields/class-acf-field-radio.php:282
|
1828 |
+
#: includes/fields/class-acf-field-range.php:150
|
1829 |
#: includes/fields/class-acf-field-text.php:120
|
1830 |
#: includes/fields/class-acf-field-textarea.php:103
|
1831 |
#: includes/fields/class-acf-field-url.php:101
|
1832 |
+
#: includes/fields/class-acf-field-wysiwyg.php:382
|
1833 |
msgid "Appears when creating a new post"
|
1834 |
msgstr "Erscheint bei der Erstellung eines neuen Beitrags"
|
1835 |
|
1836 |
# @ acf
|
1837 |
#: includes/fields/class-acf-field-button-group.php:183
|
1838 |
+
#: includes/fields/class-acf-field-checkbox.php:396
|
1839 |
+
#: includes/fields/class-acf-field-radio.php:297
|
1840 |
msgid "Horizontal"
|
1841 |
msgstr "Horizontal"
|
1842 |
|
1843 |
# @ acf
|
1844 |
#: includes/fields/class-acf-field-button-group.php:184
|
1845 |
+
#: includes/fields/class-acf-field-checkbox.php:395
|
1846 |
+
#: includes/fields/class-acf-field-radio.php:296
|
1847 |
msgid "Vertical"
|
1848 |
msgstr "Vertikal"
|
1849 |
|
1850 |
# @ acf
|
1851 |
#: includes/fields/class-acf-field-button-group.php:191
|
1852 |
+
#: includes/fields/class-acf-field-checkbox.php:413
|
1853 |
+
#: includes/fields/class-acf-field-file.php:215
|
1854 |
+
#: includes/fields/class-acf-field-image.php:205
|
1855 |
#: includes/fields/class-acf-field-link.php:166
|
1856 |
+
#: includes/fields/class-acf-field-radio.php:304
|
1857 |
+
#: includes/fields/class-acf-field-taxonomy.php:829
|
1858 |
msgid "Return Value"
|
1859 |
msgstr "Rückgabewert"
|
1860 |
|
1861 |
# @ acf
|
1862 |
#: includes/fields/class-acf-field-button-group.php:192
|
1863 |
+
#: includes/fields/class-acf-field-checkbox.php:414
|
1864 |
+
#: includes/fields/class-acf-field-file.php:216
|
1865 |
+
#: includes/fields/class-acf-field-image.php:206
|
1866 |
#: includes/fields/class-acf-field-link.php:167
|
1867 |
+
#: includes/fields/class-acf-field-radio.php:305
|
1868 |
msgid "Specify the returned value on front end"
|
1869 |
msgstr "Legt den Rückgabewert für das Front-End fest"
|
1870 |
|
1871 |
#: includes/fields/class-acf-field-button-group.php:197
|
1872 |
+
#: includes/fields/class-acf-field-checkbox.php:419
|
1873 |
+
#: includes/fields/class-acf-field-radio.php:310
|
1874 |
+
#: includes/fields/class-acf-field-select.php:432
|
1875 |
msgid "Value"
|
1876 |
msgstr "Wert"
|
1877 |
|
1878 |
#: includes/fields/class-acf-field-button-group.php:199
|
1879 |
+
#: includes/fields/class-acf-field-checkbox.php:421
|
1880 |
+
#: includes/fields/class-acf-field-radio.php:312
|
1881 |
+
#: includes/fields/class-acf-field-select.php:434
|
1882 |
msgid "Both (Array)"
|
1883 |
msgstr "Beide (Array)"
|
1884 |
|
1885 |
# @ acf
|
1886 |
#: includes/fields/class-acf-field-checkbox.php:25
|
1887 |
+
#: includes/fields/class-acf-field-taxonomy.php:771
|
1888 |
msgid "Checkbox"
|
1889 |
msgstr "Checkbox"
|
1890 |
|
1915 |
"Sichere benutzerdefinierte Werte zu den Auswahlmöglichkeiten des Feldes"
|
1916 |
|
1917 |
# @ acf
|
1918 |
+
#: includes/fields/class-acf-field-checkbox.php:381
|
1919 |
+
#: includes/fields/class-acf-field-select.php:374
|
1920 |
msgid "Enter each default value on a new line"
|
1921 |
msgstr "Jeden Standardwert in einer neuen Zeile eingeben"
|
1922 |
|
1923 |
+
#: includes/fields/class-acf-field-checkbox.php:403
|
1924 |
msgid "Toggle"
|
1925 |
msgstr "Auswählen"
|
1926 |
|
1927 |
+
#: includes/fields/class-acf-field-checkbox.php:404
|
1928 |
msgid "Prepend an extra checkbox to toggle all choices"
|
1929 |
msgstr ""
|
1930 |
"Hänge eine zusätzliche Checkbox an mit der man alle Optionen auswählen kann"
|
1958 |
msgid "Date Picker"
|
1959 |
msgstr "Datum"
|
1960 |
|
1961 |
+
#: includes/fields/class-acf-field-date_picker.php:59
|
1962 |
msgctxt "Date Picker JS closeText"
|
1963 |
msgid "Done"
|
1964 |
msgstr "Schliessen"
|
1965 |
|
1966 |
+
#: includes/fields/class-acf-field-date_picker.php:60
|
1967 |
msgctxt "Date Picker JS currentText"
|
1968 |
msgid "Today"
|
1969 |
msgstr "Heute"
|
1970 |
|
1971 |
+
#: includes/fields/class-acf-field-date_picker.php:61
|
1972 |
msgctxt "Date Picker JS nextText"
|
1973 |
msgid "Next"
|
1974 |
msgstr "Weiter"
|
1975 |
|
1976 |
+
#: includes/fields/class-acf-field-date_picker.php:62
|
1977 |
msgctxt "Date Picker JS prevText"
|
1978 |
msgid "Prev"
|
1979 |
msgstr "Zurück"
|
1980 |
|
1981 |
+
#: includes/fields/class-acf-field-date_picker.php:63
|
1982 |
msgctxt "Date Picker JS weekHeader"
|
1983 |
msgid "Wk"
|
1984 |
msgstr "KW"
|
1985 |
|
1986 |
# @ acf
|
1987 |
+
#: includes/fields/class-acf-field-date_picker.php:178
|
1988 |
+
#: includes/fields/class-acf-field-date_time_picker.php:183
|
1989 |
#: includes/fields/class-acf-field-time_picker.php:109
|
1990 |
msgid "Display Format"
|
1991 |
msgstr "Darstellungs-Format"
|
1992 |
|
1993 |
# @ acf
|
1994 |
+
#: includes/fields/class-acf-field-date_picker.php:179
|
1995 |
+
#: includes/fields/class-acf-field-date_time_picker.php:184
|
1996 |
#: includes/fields/class-acf-field-time_picker.php:110
|
1997 |
msgid "The format displayed when editing a post"
|
1998 |
msgstr "Das Datums-Format für die Anzeige in der Bearbeitungs-Ansicht"
|
1999 |
|
2000 |
+
#: includes/fields/class-acf-field-date_picker.php:187
|
2001 |
+
#: includes/fields/class-acf-field-date_picker.php:218
|
2002 |
+
#: includes/fields/class-acf-field-date_time_picker.php:193
|
2003 |
+
#: includes/fields/class-acf-field-date_time_picker.php:210
|
2004 |
#: includes/fields/class-acf-field-time_picker.php:117
|
2005 |
#: includes/fields/class-acf-field-time_picker.php:132
|
2006 |
msgid "Custom:"
|
2007 |
msgstr "Benutzerdefiniert:"
|
2008 |
|
2009 |
+
#: includes/fields/class-acf-field-date_picker.php:197
|
2010 |
msgid "Save Format"
|
2011 |
msgstr "Format sichern"
|
2012 |
|
2013 |
+
#: includes/fields/class-acf-field-date_picker.php:198
|
2014 |
msgid "The format used when saving a value"
|
2015 |
msgstr "Das verwendete Format, wenn der Wert gesichert wird"
|
2016 |
|
2017 |
# @ acf
|
2018 |
+
#: includes/fields/class-acf-field-date_picker.php:208
|
2019 |
+
#: includes/fields/class-acf-field-date_time_picker.php:200
|
2020 |
+
#: includes/fields/class-acf-field-post_object.php:431
|
2021 |
+
#: includes/fields/class-acf-field-relationship.php:634
|
2022 |
+
#: includes/fields/class-acf-field-select.php:427
|
2023 |
#: includes/fields/class-acf-field-time_picker.php:124
|
2024 |
+
#: includes/fields/class-acf-field-user.php:412
|
2025 |
msgid "Return Format"
|
2026 |
msgstr "Rückgabewert"
|
2027 |
|
2028 |
# @ acf
|
2029 |
+
#: includes/fields/class-acf-field-date_picker.php:209
|
2030 |
+
#: includes/fields/class-acf-field-date_time_picker.php:201
|
2031 |
#: includes/fields/class-acf-field-time_picker.php:125
|
2032 |
msgid "The format returned via template functions"
|
2033 |
msgstr "Das Datums-Format für die Ausgabe in den Template-Funktionen"
|
2034 |
|
2035 |
# @ acf
|
2036 |
+
#: includes/fields/class-acf-field-date_picker.php:227
|
2037 |
+
#: includes/fields/class-acf-field-date_time_picker.php:217
|
2038 |
msgid "Week Starts On"
|
2039 |
msgstr "Die Woche beginnt am"
|
2040 |
|
2042 |
msgid "Date Time Picker"
|
2043 |
msgstr "Datum/Uhrzeit"
|
2044 |
|
2045 |
+
#: includes/fields/class-acf-field-date_time_picker.php:68
|
2046 |
msgctxt "Date Time Picker JS timeOnlyTitle"
|
2047 |
msgid "Choose Time"
|
2048 |
msgstr "Zeit setzen"
|
2049 |
|
2050 |
+
#: includes/fields/class-acf-field-date_time_picker.php:69
|
2051 |
msgctxt "Date Time Picker JS timeText"
|
2052 |
msgid "Time"
|
2053 |
msgstr "Zeit"
|
2054 |
|
2055 |
+
#: includes/fields/class-acf-field-date_time_picker.php:70
|
2056 |
msgctxt "Date Time Picker JS hourText"
|
2057 |
msgid "Hour"
|
2058 |
msgstr "Stunde"
|
2059 |
|
2060 |
+
#: includes/fields/class-acf-field-date_time_picker.php:71
|
2061 |
msgctxt "Date Time Picker JS minuteText"
|
2062 |
msgid "Minute"
|
2063 |
msgstr "Minute"
|
2064 |
|
2065 |
+
#: includes/fields/class-acf-field-date_time_picker.php:72
|
2066 |
msgctxt "Date Time Picker JS secondText"
|
2067 |
msgid "Second"
|
2068 |
msgstr "Sekunde"
|
2069 |
|
2070 |
+
#: includes/fields/class-acf-field-date_time_picker.php:73
|
2071 |
msgctxt "Date Time Picker JS millisecText"
|
2072 |
msgid "Millisecond"
|
2073 |
msgstr "Millisekunde"
|
2074 |
|
2075 |
+
#: includes/fields/class-acf-field-date_time_picker.php:74
|
2076 |
msgctxt "Date Time Picker JS microsecText"
|
2077 |
msgid "Microsecond"
|
2078 |
msgstr "Mikrosekunde"
|
2079 |
|
2080 |
+
#: includes/fields/class-acf-field-date_time_picker.php:75
|
2081 |
msgctxt "Date Time Picker JS timezoneText"
|
2082 |
msgid "Time Zone"
|
2083 |
msgstr "Zeitzone"
|
2084 |
|
2085 |
+
#: includes/fields/class-acf-field-date_time_picker.php:76
|
2086 |
msgctxt "Date Time Picker JS currentText"
|
2087 |
msgid "Now"
|
2088 |
msgstr "Jetzt"
|
2089 |
|
2090 |
+
#: includes/fields/class-acf-field-date_time_picker.php:77
|
2091 |
msgctxt "Date Time Picker JS closeText"
|
2092 |
msgid "Done"
|
2093 |
msgstr "Schliessen"
|
2094 |
|
2095 |
+
#: includes/fields/class-acf-field-date_time_picker.php:78
|
2096 |
msgctxt "Date Time Picker JS selectText"
|
2097 |
msgid "Select"
|
2098 |
msgstr "Auswählen"
|
2099 |
|
2100 |
+
#: includes/fields/class-acf-field-date_time_picker.php:80
|
2101 |
msgctxt "Date Time Picker JS amText"
|
2102 |
msgid "AM"
|
2103 |
msgstr "AM"
|
2104 |
|
2105 |
+
#: includes/fields/class-acf-field-date_time_picker.php:81
|
2106 |
msgctxt "Date Time Picker JS amTextShort"
|
2107 |
msgid "A"
|
2108 |
msgstr "A"
|
2109 |
|
2110 |
+
#: includes/fields/class-acf-field-date_time_picker.php:84
|
2111 |
msgctxt "Date Time Picker JS pmText"
|
2112 |
msgid "PM"
|
2113 |
msgstr "PM"
|
2114 |
|
2115 |
+
#: includes/fields/class-acf-field-date_time_picker.php:85
|
2116 |
msgctxt "Date Time Picker JS pmTextShort"
|
2117 |
msgid "P"
|
2118 |
msgstr "P"
|
2146 |
#: includes/fields/class-acf-field-email.php:136
|
2147 |
#: includes/fields/class-acf-field-number.php:145
|
2148 |
#: includes/fields/class-acf-field-password.php:80
|
2149 |
+
#: includes/fields/class-acf-field-range.php:188
|
2150 |
#: includes/fields/class-acf-field-text.php:137
|
2151 |
msgid "Prepend"
|
2152 |
msgstr "Voranstellen"
|
2155 |
#: includes/fields/class-acf-field-email.php:137
|
2156 |
#: includes/fields/class-acf-field-number.php:146
|
2157 |
#: includes/fields/class-acf-field-password.php:81
|
2158 |
+
#: includes/fields/class-acf-field-range.php:189
|
2159 |
#: includes/fields/class-acf-field-text.php:138
|
2160 |
msgid "Appears before the input"
|
2161 |
msgstr "Wird dem Eingabefeld vorangestellt"
|
2164 |
#: includes/fields/class-acf-field-email.php:145
|
2165 |
#: includes/fields/class-acf-field-number.php:154
|
2166 |
#: includes/fields/class-acf-field-password.php:89
|
2167 |
+
#: includes/fields/class-acf-field-range.php:197
|
2168 |
#: includes/fields/class-acf-field-text.php:146
|
2169 |
msgid "Append"
|
2170 |
msgstr "Anhängen"
|
2173 |
#: includes/fields/class-acf-field-email.php:146
|
2174 |
#: includes/fields/class-acf-field-number.php:155
|
2175 |
#: includes/fields/class-acf-field-password.php:90
|
2176 |
+
#: includes/fields/class-acf-field-range.php:198
|
2177 |
#: includes/fields/class-acf-field-text.php:147
|
2178 |
msgid "Appears after the input"
|
2179 |
msgstr "Wird dem Eingabefeld hinten angestellt"
|
2184 |
msgstr "Datei"
|
2185 |
|
2186 |
# @ acf
|
2187 |
+
#: includes/fields/class-acf-field-file.php:58
|
2188 |
msgid "Edit File"
|
2189 |
msgstr "Datei bearbeiten"
|
2190 |
|
2191 |
# @ acf
|
2192 |
+
#: includes/fields/class-acf-field-file.php:59
|
2193 |
msgid "Update File"
|
2194 |
msgstr "Datei aktualisieren"
|
2195 |
|
2196 |
+
#: includes/fields/class-acf-field-file.php:141
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2197 |
msgid "File name"
|
2198 |
msgstr "Dateiname"
|
2199 |
|
2200 |
# @ acf
|
2201 |
+
#: includes/fields/class-acf-field-file.php:145
|
2202 |
+
#: includes/fields/class-acf-field-file.php:248
|
2203 |
+
#: includes/fields/class-acf-field-file.php:259
|
2204 |
+
#: includes/fields/class-acf-field-image.php:265
|
2205 |
+
#: includes/fields/class-acf-field-image.php:294
|
2206 |
+
#: pro/fields/class-acf-field-gallery.php:708
|
2207 |
+
#: pro/fields/class-acf-field-gallery.php:737
|
2208 |
msgid "File size"
|
2209 |
msgstr "Dateigrösse"
|
2210 |
|
2211 |
# @ acf
|
2212 |
+
#: includes/fields/class-acf-field-file.php:170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2213 |
msgid "Add File"
|
2214 |
msgstr "Datei hinzufügen"
|
2215 |
|
2216 |
# @ acf
|
2217 |
+
#: includes/fields/class-acf-field-file.php:221
|
2218 |
msgid "File Array"
|
2219 |
msgstr "Datei-Array"
|
2220 |
|
2221 |
# @ acf
|
2222 |
+
#: includes/fields/class-acf-field-file.php:222
|
2223 |
msgid "File URL"
|
2224 |
msgstr "Datei-URL"
|
2225 |
|
2226 |
# @ acf
|
2227 |
+
#: includes/fields/class-acf-field-file.php:223
|
2228 |
msgid "File ID"
|
2229 |
msgstr "Datei-ID"
|
2230 |
|
2231 |
# @ acf
|
2232 |
+
#: includes/fields/class-acf-field-file.php:230
|
2233 |
+
#: includes/fields/class-acf-field-image.php:230
|
2234 |
+
#: pro/fields/class-acf-field-gallery.php:673
|
2235 |
msgid "Library"
|
2236 |
msgstr "Medienübersicht"
|
2237 |
|
2238 |
# @ acf
|
2239 |
+
#: includes/fields/class-acf-field-file.php:231
|
2240 |
+
#: includes/fields/class-acf-field-image.php:231
|
2241 |
+
#: pro/fields/class-acf-field-gallery.php:674
|
2242 |
msgid "Limit the media library choice"
|
2243 |
msgstr "Beschränkt die Auswahl in der Medienübersicht"
|
2244 |
|
2245 |
# @ acf
|
2246 |
+
#: includes/fields/class-acf-field-file.php:236
|
2247 |
+
#: includes/fields/class-acf-field-image.php:236
|
2248 |
#: includes/locations/class-acf-location-attachment.php:101
|
2249 |
#: includes/locations/class-acf-location-comment.php:79
|
2250 |
#: includes/locations/class-acf-location-nav-menu.php:102
|
2252 |
#: includes/locations/class-acf-location-user-form.php:87
|
2253 |
#: includes/locations/class-acf-location-user-role.php:111
|
2254 |
#: includes/locations/class-acf-location-widget.php:83
|
2255 |
+
#: pro/fields/class-acf-field-gallery.php:679
|
2256 |
msgid "All"
|
2257 |
msgstr "Alle"
|
2258 |
|
2259 |
# @ acf
|
2260 |
+
#: includes/fields/class-acf-field-file.php:237
|
2261 |
+
#: includes/fields/class-acf-field-image.php:237
|
2262 |
+
#: pro/fields/class-acf-field-gallery.php:680
|
2263 |
msgid "Uploaded to post"
|
2264 |
msgstr "Für den Beitrag hochgeladen"
|
2265 |
|
2266 |
# @ acf
|
2267 |
+
#: includes/fields/class-acf-field-file.php:244
|
2268 |
+
#: includes/fields/class-acf-field-image.php:244
|
2269 |
+
#: pro/fields/class-acf-field-gallery.php:687
|
2270 |
msgid "Minimum"
|
2271 |
msgstr "Minimum"
|
2272 |
|
2273 |
# @ acf
|
2274 |
+
#: includes/fields/class-acf-field-file.php:245
|
2275 |
+
#: includes/fields/class-acf-field-file.php:256
|
2276 |
msgid "Restrict which files can be uploaded"
|
2277 |
msgstr ""
|
2278 |
"Erlaubt nur das Hochladen von Dateien die die angegebenen Eigenschaften "
|
2279 |
"erfüllen"
|
2280 |
|
2281 |
# @ acf
|
2282 |
+
#: includes/fields/class-acf-field-file.php:255
|
2283 |
+
#: includes/fields/class-acf-field-image.php:273
|
2284 |
+
#: pro/fields/class-acf-field-gallery.php:716
|
2285 |
msgid "Maximum"
|
2286 |
msgstr "Maximum"
|
2287 |
|
2288 |
# @ acf
|
2289 |
+
#: includes/fields/class-acf-field-file.php:266
|
2290 |
+
#: includes/fields/class-acf-field-image.php:302
|
2291 |
+
#: pro/fields/class-acf-field-gallery.php:745
|
2292 |
msgid "Allowed file types"
|
2293 |
msgstr "Erlaubte Datei-Formate"
|
2294 |
|
2295 |
# @ acf
|
2296 |
+
#: includes/fields/class-acf-field-file.php:267
|
2297 |
+
#: includes/fields/class-acf-field-image.php:303
|
2298 |
+
#: pro/fields/class-acf-field-gallery.php:746
|
2299 |
msgid "Comma separated list. Leave blank for all types"
|
2300 |
msgstr ""
|
2301 |
"Komma separierte Liste; ein leeres Feld bedeutet alle Dateiformate sind "
|
2307 |
msgstr "Google Maps"
|
2308 |
|
2309 |
# @ acf
|
2310 |
+
#: includes/fields/class-acf-field-google-map.php:59
|
|
|
|
|
|
|
|
|
|
|
2311 |
msgid "Sorry, this browser does not support geolocation"
|
2312 |
msgstr "Dieser Browser unterstützt keine Geo-Lokation"
|
2313 |
|
2314 |
# @ acf
|
2315 |
+
#: includes/fields/class-acf-field-google-map.php:166
|
2316 |
msgid "Clear location"
|
2317 |
msgstr "Position löschen"
|
2318 |
|
2319 |
# @ acf
|
2320 |
+
#: includes/fields/class-acf-field-google-map.php:167
|
2321 |
msgid "Find current location"
|
2322 |
msgstr "Aktuelle Position finden"
|
2323 |
|
2324 |
# @ acf
|
2325 |
+
#: includes/fields/class-acf-field-google-map.php:170
|
2326 |
msgid "Search for address..."
|
2327 |
msgstr "Nach der Adresse suchen..."
|
2328 |
|
2329 |
# @ acf
|
2330 |
+
#: includes/fields/class-acf-field-google-map.php:200
|
2331 |
+
#: includes/fields/class-acf-field-google-map.php:211
|
2332 |
msgid "Center"
|
2333 |
msgstr "Kartenmittelpunkt"
|
2334 |
|
2335 |
# @ acf
|
2336 |
+
#: includes/fields/class-acf-field-google-map.php:201
|
2337 |
+
#: includes/fields/class-acf-field-google-map.php:212
|
2338 |
msgid "Center the initial map"
|
2339 |
msgstr "Der Mittelpunkt der Ausgangskarte"
|
2340 |
|
2341 |
# @ acf
|
2342 |
+
#: includes/fields/class-acf-field-google-map.php:223
|
2343 |
msgid "Zoom"
|
2344 |
msgstr "Zoom"
|
2345 |
|
2346 |
# @ acf
|
2347 |
+
#: includes/fields/class-acf-field-google-map.php:224
|
2348 |
msgid "Set the initial zoom level"
|
2349 |
msgstr "Legt die Zoomstufe der Karte fest"
|
2350 |
|
2351 |
# @ acf
|
2352 |
+
#: includes/fields/class-acf-field-google-map.php:233
|
2353 |
+
#: includes/fields/class-acf-field-image.php:256
|
2354 |
+
#: includes/fields/class-acf-field-image.php:285
|
2355 |
+
#: includes/fields/class-acf-field-oembed.php:268
|
2356 |
+
#: pro/fields/class-acf-field-gallery.php:699
|
2357 |
+
#: pro/fields/class-acf-field-gallery.php:728
|
2358 |
msgid "Height"
|
2359 |
msgstr "Höhe"
|
2360 |
|
2361 |
# @ acf
|
2362 |
+
#: includes/fields/class-acf-field-google-map.php:234
|
2363 |
+
msgid "Customize the map height"
|
2364 |
+
msgstr "Passt die Höhe der Karte an"
|
2365 |
|
2366 |
# @ acf
|
2367 |
#: includes/fields/class-acf-field-group.php:25
|
2370 |
|
2371 |
# @ acf
|
2372 |
#: includes/fields/class-acf-field-group.php:459
|
2373 |
+
#: pro/fields/class-acf-field-repeater.php:379
|
2374 |
msgid "Sub Fields"
|
2375 |
msgstr "Wiederholungsfelder"
|
2376 |
|
2377 |
#: includes/fields/class-acf-field-group.php:475
|
2378 |
+
#: pro/fields/class-acf-field-clone.php:844
|
2379 |
msgid "Specify the style used to render the selected fields"
|
2380 |
msgstr "Gib an, wie die ausgewählten Felder angezeigt werden sollen"
|
2381 |
|
2382 |
# @ acf
|
2383 |
#: includes/fields/class-acf-field-group.php:480
|
2384 |
+
#: pro/fields/class-acf-field-clone.php:849
|
2385 |
+
#: pro/fields/class-acf-field-flexible-content.php:627
|
2386 |
+
#: pro/fields/class-acf-field-repeater.php:451
|
2387 |
msgid "Block"
|
2388 |
msgstr "Block"
|
2389 |
|
2390 |
# @ acf
|
2391 |
#: includes/fields/class-acf-field-group.php:481
|
2392 |
+
#: pro/fields/class-acf-field-clone.php:850
|
2393 |
+
#: pro/fields/class-acf-field-flexible-content.php:626
|
2394 |
+
#: pro/fields/class-acf-field-repeater.php:450
|
2395 |
msgid "Table"
|
2396 |
msgstr "Tabelle"
|
2397 |
|
2398 |
# @ acf
|
2399 |
#: includes/fields/class-acf-field-group.php:482
|
2400 |
+
#: pro/fields/class-acf-field-clone.php:851
|
2401 |
+
#: pro/fields/class-acf-field-flexible-content.php:628
|
2402 |
+
#: pro/fields/class-acf-field-repeater.php:452
|
2403 |
msgid "Row"
|
2404 |
msgstr "Reihe"
|
2405 |
|
2409 |
msgstr "Bild"
|
2410 |
|
2411 |
# @ acf
|
2412 |
+
#: includes/fields/class-acf-field-image.php:64
|
2413 |
msgid "Select Image"
|
2414 |
msgstr "Bild auswählen"
|
2415 |
|
2416 |
# @ acf
|
2417 |
+
#: includes/fields/class-acf-field-image.php:65
|
|
|
2418 |
msgid "Edit Image"
|
2419 |
msgstr "Bild bearbeiten"
|
2420 |
|
2421 |
# @ acf
|
2422 |
+
#: includes/fields/class-acf-field-image.php:66
|
|
|
2423 |
msgid "Update Image"
|
2424 |
msgstr "Bild aktualisieren"
|
2425 |
|
2426 |
# @ acf
|
2427 |
+
#: includes/fields/class-acf-field-image.php:157
|
|
|
|
|
|
|
|
|
|
|
2428 |
msgid "No image selected"
|
2429 |
msgstr "Kein Bild ausgewählt"
|
2430 |
|
2431 |
# @ acf
|
2432 |
+
#: includes/fields/class-acf-field-image.php:157
|
2433 |
msgid "Add Image"
|
2434 |
msgstr "Bild hinzufügen"
|
2435 |
|
2436 |
# @ acf
|
2437 |
+
#: includes/fields/class-acf-field-image.php:211
|
2438 |
msgid "Image Array"
|
2439 |
msgstr "Bild-Array"
|
2440 |
|
2441 |
# @ acf
|
2442 |
+
#: includes/fields/class-acf-field-image.php:212
|
2443 |
msgid "Image URL"
|
2444 |
msgstr "Bild-URL"
|
2445 |
|
2446 |
# @ acf
|
2447 |
+
#: includes/fields/class-acf-field-image.php:213
|
2448 |
msgid "Image ID"
|
2449 |
msgstr "Bild-ID"
|
2450 |
|
2451 |
# @ acf
|
2452 |
+
#: includes/fields/class-acf-field-image.php:220
|
2453 |
msgid "Preview Size"
|
2454 |
msgstr "Masse der Vorschau"
|
2455 |
|
2456 |
# @ acf
|
2457 |
+
#: includes/fields/class-acf-field-image.php:221
|
2458 |
msgid "Shown when entering data"
|
2459 |
msgstr "Legt fest welche Masse die Vorschau in der Bearbeitungs-Ansicht hat"
|
2460 |
|
2461 |
# @ acf
|
2462 |
+
#: includes/fields/class-acf-field-image.php:245
|
2463 |
+
#: includes/fields/class-acf-field-image.php:274
|
2464 |
+
#: pro/fields/class-acf-field-gallery.php:688
|
2465 |
+
#: pro/fields/class-acf-field-gallery.php:717
|
2466 |
msgid "Restrict which images can be uploaded"
|
2467 |
msgstr ""
|
2468 |
"Erlaubt nur das Hochladen von Bildern, die die angegebenen Eigenschaften "
|
2469 |
"erfüllen"
|
2470 |
|
2471 |
# @ acf
|
2472 |
+
#: includes/fields/class-acf-field-image.php:248
|
2473 |
+
#: includes/fields/class-acf-field-image.php:277
|
2474 |
+
#: includes/fields/class-acf-field-oembed.php:257
|
2475 |
+
#: pro/fields/class-acf-field-gallery.php:691
|
2476 |
+
#: pro/fields/class-acf-field-gallery.php:720
|
2477 |
msgid "Width"
|
2478 |
msgstr "Breite"
|
2479 |
|
2557 |
|
2558 |
# @ acf
|
2559 |
#: includes/fields/class-acf-field-number.php:163
|
2560 |
+
#: includes/fields/class-acf-field-range.php:158
|
2561 |
msgid "Minimum Value"
|
2562 |
msgstr "Mindestwert"
|
2563 |
|
2564 |
# @ acf
|
2565 |
#: includes/fields/class-acf-field-number.php:172
|
2566 |
+
#: includes/fields/class-acf-field-range.php:168
|
2567 |
msgid "Maximum Value"
|
2568 |
msgstr "Maximalwert"
|
2569 |
|
2570 |
# @ acf
|
2571 |
#: includes/fields/class-acf-field-number.php:181
|
2572 |
+
#: includes/fields/class-acf-field-range.php:178
|
2573 |
msgid "Step Size"
|
2574 |
msgstr "Schrittweite"
|
2575 |
|
2596 |
msgstr "oEmbed"
|
2597 |
|
2598 |
# @ acf
|
2599 |
+
#: includes/fields/class-acf-field-oembed.php:216
|
2600 |
msgid "Enter URL"
|
2601 |
msgstr "URL eingeben"
|
2602 |
|
|
|
|
|
|
|
|
|
|
|
2603 |
# @ acf
|
2604 |
+
#: includes/fields/class-acf-field-oembed.php:254
|
2605 |
+
#: includes/fields/class-acf-field-oembed.php:265
|
|
|
|
|
|
|
|
|
|
|
2606 |
msgid "Embed Size"
|
2607 |
msgstr "Masse"
|
2608 |
|
2609 |
+
# @ acf
|
2610 |
+
#: includes/fields/class-acf-field-page_link.php:25
|
2611 |
+
msgid "Page Link"
|
2612 |
+
msgstr "Seiten-Link"
|
2613 |
+
|
2614 |
# @ acf
|
2615 |
#: includes/fields/class-acf-field-page_link.php:177
|
2616 |
msgid "Archives"
|
2617 |
msgstr "Archive"
|
2618 |
|
2619 |
+
#: includes/fields/class-acf-field-page_link.php:269
|
2620 |
+
#: includes/fields/class-acf-field-post_object.php:267
|
2621 |
+
#: includes/fields/class-acf-field-taxonomy.php:961
|
2622 |
+
msgid "Parent"
|
2623 |
+
msgstr "Eltern"
|
2624 |
+
|
2625 |
# @ acf
|
2626 |
#: includes/fields/class-acf-field-page_link.php:485
|
2627 |
+
#: includes/fields/class-acf-field-post_object.php:383
|
2628 |
+
#: includes/fields/class-acf-field-relationship.php:560
|
2629 |
msgid "Filter by Post Type"
|
2630 |
msgstr "Nach Post Types filtern"
|
2631 |
|
2632 |
# @ acf
|
2633 |
#: includes/fields/class-acf-field-page_link.php:493
|
2634 |
+
#: includes/fields/class-acf-field-post_object.php:391
|
2635 |
+
#: includes/fields/class-acf-field-relationship.php:568
|
2636 |
msgid "All post types"
|
2637 |
msgstr "Alle verfügbaren Post Types"
|
2638 |
|
2639 |
# @ acf
|
2640 |
#: includes/fields/class-acf-field-page_link.php:499
|
2641 |
+
#: includes/fields/class-acf-field-post_object.php:397
|
2642 |
+
#: includes/fields/class-acf-field-relationship.php:574
|
2643 |
msgid "Filter by Taxonomy"
|
2644 |
msgstr "Nach Taxonomien filtern"
|
2645 |
|
2646 |
# @ acf
|
2647 |
#: includes/fields/class-acf-field-page_link.php:507
|
2648 |
+
#: includes/fields/class-acf-field-post_object.php:405
|
2649 |
+
#: includes/fields/class-acf-field-relationship.php:582
|
2650 |
msgid "All taxonomies"
|
2651 |
msgstr "Alle Taxonomien"
|
2652 |
|
2656 |
|
2657 |
# @ acf
|
2658 |
#: includes/fields/class-acf-field-page_link.php:533
|
2659 |
+
#: includes/fields/class-acf-field-post_object.php:421
|
2660 |
+
#: includes/fields/class-acf-field-select.php:392
|
2661 |
+
#: includes/fields/class-acf-field-user.php:403
|
2662 |
msgid "Select multiple values?"
|
2663 |
msgstr "Mehrere Werte auswählbar?"
|
2664 |
|
2669 |
|
2670 |
# @ acf
|
2671 |
#: includes/fields/class-acf-field-post_object.php:25
|
2672 |
+
#: includes/fields/class-acf-field-post_object.php:436
|
2673 |
+
#: includes/fields/class-acf-field-relationship.php:639
|
2674 |
msgid "Post Object"
|
2675 |
msgstr "Beitrags-Objekt"
|
2676 |
|
2677 |
# @ acf
|
2678 |
+
#: includes/fields/class-acf-field-post_object.php:437
|
2679 |
+
#: includes/fields/class-acf-field-relationship.php:640
|
2680 |
msgid "Post ID"
|
2681 |
msgstr "Beitrags-ID"
|
2682 |
|
2717 |
msgstr "Beziehung"
|
2718 |
|
2719 |
# @ acf
|
2720 |
+
#: includes/fields/class-acf-field-relationship.php:62
|
|
|
|
|
|
|
|
|
|
|
2721 |
msgid "Maximum values reached ( {max} values )"
|
2722 |
msgstr "Maximum der Einträge mit ({max} Einträge) erreicht"
|
2723 |
|
2724 |
# @ acf
|
2725 |
+
#: includes/fields/class-acf-field-relationship.php:63
|
2726 |
msgid "Loading"
|
2727 |
msgstr "Lade"
|
2728 |
|
2729 |
# @ acf
|
2730 |
+
#: includes/fields/class-acf-field-relationship.php:64
|
2731 |
msgid "No matches found"
|
2732 |
msgstr "Keine Übereinstimmung gefunden"
|
2733 |
|
2734 |
# @ acf
|
2735 |
+
#: includes/fields/class-acf-field-relationship.php:411
|
2736 |
msgid "Select post type"
|
2737 |
msgstr "Beitrag-Typ auswählen"
|
2738 |
|
2739 |
# @ acf
|
2740 |
+
#: includes/fields/class-acf-field-relationship.php:420
|
2741 |
msgid "Select taxonomy"
|
2742 |
msgstr "Taxonomie auswählen"
|
2743 |
|
2744 |
# @ acf
|
2745 |
+
#: includes/fields/class-acf-field-relationship.php:477
|
2746 |
msgid "Search..."
|
2747 |
msgstr "Suchen..."
|
2748 |
|
2749 |
# @ acf
|
2750 |
+
#: includes/fields/class-acf-field-relationship.php:588
|
2751 |
msgid "Filters"
|
2752 |
msgstr "Filter"
|
2753 |
|
2754 |
# @ acf
|
2755 |
+
#: includes/fields/class-acf-field-relationship.php:594
|
2756 |
#: includes/locations/class-acf-location-post-type.php:27
|
2757 |
msgid "Post Type"
|
2758 |
msgstr "Beitrags-Typ"
|
2759 |
|
2760 |
# @ acf
|
2761 |
+
#: includes/fields/class-acf-field-relationship.php:595
|
2762 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2763 |
+
#: includes/fields/class-acf-field-taxonomy.php:754
|
2764 |
+
#: includes/locations/class-acf-location-taxonomy.php:27
|
2765 |
msgid "Taxonomy"
|
2766 |
msgstr "Taxonomie"
|
2767 |
|
2768 |
# @ acf
|
2769 |
+
#: includes/fields/class-acf-field-relationship.php:602
|
2770 |
msgid "Elements"
|
2771 |
msgstr "Elemente"
|
2772 |
|
2773 |
# @ acf
|
2774 |
+
#: includes/fields/class-acf-field-relationship.php:603
|
2775 |
msgid "Selected elements will be displayed in each result"
|
2776 |
msgstr "Die ausgewählten Elemente werden in jedem Ergebnis mit angezeigt"
|
2777 |
|
2778 |
# @ acf
|
2779 |
+
#: includes/fields/class-acf-field-relationship.php:614
|
2780 |
msgid "Minimum posts"
|
2781 |
msgstr "Min. Anzahl der Beiträge"
|
2782 |
|
2783 |
# @ acf
|
2784 |
+
#: includes/fields/class-acf-field-relationship.php:623
|
2785 |
msgid "Maximum posts"
|
2786 |
msgstr "Max. Anzahl der Beiträge"
|
2787 |
|
2788 |
# @ acf
|
2789 |
+
#: includes/fields/class-acf-field-relationship.php:727
|
2790 |
+
#: pro/fields/class-acf-field-gallery.php:818
|
2791 |
#, php-format
|
2792 |
msgid "%s requires at least %s selection"
|
2793 |
msgid_plural "%s requires at least %s selections"
|
2795 |
msgstr[1] "%s benötigt mindestens %s Selektionen"
|
2796 |
|
2797 |
#: includes/fields/class-acf-field-select.php:25
|
2798 |
+
#: includes/fields/class-acf-field-taxonomy.php:776
|
2799 |
msgctxt "noun"
|
2800 |
msgid "Select"
|
2801 |
msgstr "Auswahlmenü"
|
2802 |
|
2803 |
+
#: includes/fields/class-acf-field-select.php:111
|
2804 |
msgctxt "Select2 JS matches_1"
|
2805 |
msgid "One result is available, press enter to select it."
|
2806 |
msgstr "Ein Resultat gefunden, mit Enter auswählen."
|
2807 |
|
2808 |
+
#: includes/fields/class-acf-field-select.php:112
|
2809 |
#, php-format
|
2810 |
msgctxt "Select2 JS matches_n"
|
2811 |
msgid "%d results are available, use up and down arrow keys to navigate."
|
2812 |
msgstr "%d Resultate gefunden, benutze die Pfeiltasten um zu navigieren."
|
2813 |
|
2814 |
+
#: includes/fields/class-acf-field-select.php:113
|
2815 |
msgctxt "Select2 JS matches_0"
|
2816 |
msgid "No matches found"
|
2817 |
msgstr "Keine Übereinstimmungen gefunden"
|
2818 |
|
2819 |
+
#: includes/fields/class-acf-field-select.php:114
|
2820 |
msgctxt "Select2 JS input_too_short_1"
|
2821 |
msgid "Please enter 1 or more characters"
|
2822 |
msgstr "Bitte eins oder mehrere Zeichen eingeben"
|
2823 |
|
2824 |
+
#: includes/fields/class-acf-field-select.php:115
|
2825 |
#, php-format
|
2826 |
msgctxt "Select2 JS input_too_short_n"
|
2827 |
msgid "Please enter %d or more characters"
|
2828 |
msgstr "Bitte %d mehr Zeichen eingeben"
|
2829 |
|
2830 |
+
#: includes/fields/class-acf-field-select.php:116
|
2831 |
msgctxt "Select2 JS input_too_long_1"
|
2832 |
msgid "Please delete 1 character"
|
2833 |
msgstr "Bitte ein Zeichen löschen"
|
2834 |
|
2835 |
+
#: includes/fields/class-acf-field-select.php:117
|
2836 |
#, php-format
|
2837 |
msgctxt "Select2 JS input_too_long_n"
|
2838 |
msgid "Please delete %d characters"
|
2839 |
msgstr "Bitte %d Zeichen löschen"
|
2840 |
|
2841 |
+
#: includes/fields/class-acf-field-select.php:118
|
2842 |
msgctxt "Select2 JS selection_too_long_1"
|
2843 |
msgid "You can only select 1 item"
|
2844 |
msgstr "Du kannst du ein Resultat wählen"
|
2845 |
|
2846 |
+
#: includes/fields/class-acf-field-select.php:119
|
2847 |
#, php-format
|
2848 |
msgctxt "Select2 JS selection_too_long_n"
|
2849 |
msgid "You can only select %d items"
|
2850 |
msgstr "Du kannst nur %d Resultate auswählen"
|
2851 |
|
2852 |
+
#: includes/fields/class-acf-field-select.php:120
|
2853 |
msgctxt "Select2 JS load_more"
|
2854 |
msgid "Loading more results…"
|
2855 |
msgstr "Lade weitere Resultate…"
|
2856 |
|
2857 |
+
#: includes/fields/class-acf-field-select.php:121
|
2858 |
msgctxt "Select2 JS searching"
|
2859 |
msgid "Searching…"
|
2860 |
msgstr "Suche…"
|
2861 |
|
2862 |
+
#: includes/fields/class-acf-field-select.php:122
|
2863 |
msgctxt "Select2 JS load_fail"
|
2864 |
msgid "Loading failed"
|
2865 |
msgstr "Fehler beim Laden"
|
2866 |
|
|
|
|
|
|
|
|
|
|
|
2867 |
# @ acf
|
2868 |
+
#: includes/fields/class-acf-field-select.php:402
|
2869 |
#: includes/fields/class-acf-field-true_false.php:144
|
2870 |
msgid "Stylised UI"
|
2871 |
msgstr "Modernes Auswahlfeld"
|
2872 |
|
2873 |
# @ acf
|
2874 |
+
#: includes/fields/class-acf-field-select.php:412
|
2875 |
msgid "Use AJAX to lazy load choices?"
|
2876 |
msgstr "AJAX zum Laden der Einträge aktivieren?"
|
2877 |
|
2878 |
+
#: includes/fields/class-acf-field-select.php:428
|
2879 |
msgid "Specify the value returned"
|
2880 |
msgstr "Rückgabewert festlegen"
|
2881 |
|
2889 |
msgstr "Tab"
|
2890 |
|
2891 |
# @ acf
|
2892 |
+
#: includes/fields/class-acf-field-tab.php:102
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2893 |
msgid "Placement"
|
2894 |
msgstr "Platzierung Tabs"
|
2895 |
|
2896 |
+
#: includes/fields/class-acf-field-tab.php:115
|
2897 |
+
msgid ""
|
2898 |
+
"Define an endpoint for the previous tabs to stop. This will start a new "
|
2899 |
+
"group of tabs."
|
2900 |
+
msgstr ""
|
2901 |
+
"Definiert einen Endpunkt an dem die vorangegangenen Tabs enden. Das ist der "
|
2902 |
+
"Startpunkt für eine neue Gruppe an Tabs."
|
2903 |
|
2904 |
+
#: includes/fields/class-acf-field-taxonomy.php:714
|
2905 |
#, php-format
|
2906 |
msgctxt "No terms"
|
2907 |
msgid "No %s"
|
2908 |
msgstr "Keine %s"
|
2909 |
|
2910 |
# @ acf
|
2911 |
+
#: includes/fields/class-acf-field-taxonomy.php:755
|
|
|
|
|
|
|
|
|
|
|
2912 |
msgid "Select the taxonomy to be displayed"
|
2913 |
msgstr "Wähle die Taxonomie, welche angezeigt werden soll"
|
2914 |
|
2915 |
# @ acf
|
2916 |
+
#: includes/fields/class-acf-field-taxonomy.php:764
|
2917 |
msgid "Appearance"
|
2918 |
msgstr "Anzeige"
|
2919 |
|
2920 |
# @ acf
|
2921 |
+
#: includes/fields/class-acf-field-taxonomy.php:765
|
2922 |
msgid "Select the appearance of this field"
|
2923 |
msgstr "Wähle das Aussehen für dieses Feld"
|
2924 |
|
2925 |
# @ acf
|
2926 |
+
#: includes/fields/class-acf-field-taxonomy.php:770
|
2927 |
msgid "Multiple Values"
|
2928 |
msgstr "Mehrere Werte"
|
2929 |
|
2930 |
# @ acf
|
2931 |
+
#: includes/fields/class-acf-field-taxonomy.php:772
|
2932 |
msgid "Multi Select"
|
2933 |
msgstr "Auswahlmenü"
|
2934 |
|
2935 |
# @ acf
|
2936 |
+
#: includes/fields/class-acf-field-taxonomy.php:774
|
2937 |
msgid "Single Value"
|
2938 |
msgstr "Einzelne Werte"
|
2939 |
|
2940 |
# @ acf
|
2941 |
+
#: includes/fields/class-acf-field-taxonomy.php:775
|
2942 |
msgid "Radio Buttons"
|
2943 |
msgstr "Radio Button"
|
2944 |
|
2945 |
# @ acf
|
2946 |
+
#: includes/fields/class-acf-field-taxonomy.php:799
|
2947 |
msgid "Create Terms"
|
2948 |
msgstr "Neue Einträge erlauben"
|
2949 |
|
2950 |
# @ acf
|
2951 |
+
#: includes/fields/class-acf-field-taxonomy.php:800
|
2952 |
msgid "Allow new terms to be created whilst editing"
|
2953 |
msgstr "Erlaube das Erstellen neuer Einträge beim Editieren"
|
2954 |
|
2955 |
+
#: includes/fields/class-acf-field-taxonomy.php:809
|
2956 |
msgid "Save Terms"
|
2957 |
msgstr "Einträge speichern"
|
2958 |
|
2959 |
# @ acf
|
2960 |
+
#: includes/fields/class-acf-field-taxonomy.php:810
|
2961 |
msgid "Connect selected terms to the post"
|
2962 |
msgstr "Speichert die ausgewählten Einträge auch im Beitrag"
|
2963 |
|
2964 |
+
#: includes/fields/class-acf-field-taxonomy.php:819
|
2965 |
msgid "Load Terms"
|
2966 |
msgstr "Einträge laden"
|
2967 |
|
2968 |
+
#: includes/fields/class-acf-field-taxonomy.php:820
|
2969 |
msgid "Load value from posts terms"
|
2970 |
msgstr "Den Wert von den Einträgen des Beitrags laden"
|
2971 |
|
2972 |
# @ acf
|
2973 |
+
#: includes/fields/class-acf-field-taxonomy.php:834
|
2974 |
msgid "Term Object"
|
2975 |
msgstr "Begriffs-Objekt"
|
2976 |
|
2977 |
# @ acf
|
2978 |
+
#: includes/fields/class-acf-field-taxonomy.php:835
|
2979 |
msgid "Term ID"
|
2980 |
msgstr "Begriffs-ID"
|
2981 |
|
2982 |
# @ acf
|
2983 |
+
#: includes/fields/class-acf-field-taxonomy.php:885
|
2984 |
#, php-format
|
2985 |
msgid "User unable to add new %s"
|
2986 |
msgstr "Der Benutzer kann keine neue %s hinzufügen"
|
2987 |
|
2988 |
# @ acf
|
2989 |
+
#: includes/fields/class-acf-field-taxonomy.php:895
|
2990 |
#, php-format
|
2991 |
msgid "%s already exists"
|
2992 |
msgstr "%s ist bereits vorhanden"
|
2993 |
|
2994 |
# @ acf
|
2995 |
+
#: includes/fields/class-acf-field-taxonomy.php:927
|
2996 |
#, php-format
|
2997 |
msgid "%s added"
|
2998 |
msgstr "%s hinzugefügt"
|
2999 |
|
3000 |
# @ acf
|
3001 |
+
#: includes/fields/class-acf-field-taxonomy.php:973
|
3002 |
msgid "Add"
|
3003 |
msgstr "Hinzufügen"
|
3004 |
|
3043 |
msgid "True / False"
|
3044 |
msgstr "Ja/Nein"
|
3045 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3046 |
#: includes/fields/class-acf-field-true_false.php:127
|
3047 |
msgid "Displays text alongside the checkbox"
|
3048 |
msgstr "Zeigt Text neben der Checkbox"
|
3055 |
msgid "Text shown when active"
|
3056 |
msgstr "Angezeigter Text im aktiven Zustand"
|
3057 |
|
3058 |
+
#: includes/fields/class-acf-field-true_false.php:170
|
3059 |
msgid "Off Text"
|
3060 |
msgstr "Wenn inaktiv"
|
3061 |
|
3062 |
+
#: includes/fields/class-acf-field-true_false.php:171
|
3063 |
msgid "Text shown when inactive"
|
3064 |
msgstr "Angezeigter Text im inaktiven Zustand"
|
3065 |
|
3079 |
msgstr "Benutzer"
|
3080 |
|
3081 |
# @ acf
|
3082 |
+
#: includes/fields/class-acf-field-user.php:378
|
3083 |
msgid "Filter by role"
|
3084 |
msgstr "Filtere nach Benutzerrollen"
|
3085 |
|
3086 |
# @ acf
|
3087 |
+
#: includes/fields/class-acf-field-user.php:386
|
3088 |
msgid "All user roles"
|
3089 |
msgstr "Alle Benutzerrollen"
|
3090 |
|
3091 |
+
# @ acf
|
3092 |
+
#: includes/fields/class-acf-field-user.php:417
|
3093 |
+
msgid "User Array"
|
3094 |
+
msgstr "Benutzer-Array"
|
3095 |
+
|
3096 |
+
# @ acf
|
3097 |
+
#: includes/fields/class-acf-field-user.php:418
|
3098 |
+
msgid "User Object"
|
3099 |
+
msgstr "Benutzer-Objekt"
|
3100 |
+
|
3101 |
+
# @ acf
|
3102 |
+
#: includes/fields/class-acf-field-user.php:419
|
3103 |
+
msgid "User ID"
|
3104 |
+
msgstr "Benutzer ID"
|
3105 |
+
|
3106 |
# @ acf
|
3107 |
#: includes/fields/class-acf-field-wysiwyg.php:25
|
3108 |
msgid "Wysiwyg Editor"
|
3109 |
msgstr "WYSIWYG-Editor"
|
3110 |
|
3111 |
# @ acf
|
3112 |
+
#: includes/fields/class-acf-field-wysiwyg.php:330
|
3113 |
msgid "Visual"
|
3114 |
msgstr "Visuell"
|
3115 |
|
3116 |
# @ acf
|
3117 |
+
#: includes/fields/class-acf-field-wysiwyg.php:331
|
3118 |
msgctxt "Name for the Text editor tab (formerly HTML)"
|
3119 |
msgid "Text"
|
3120 |
msgstr "Text"
|
3121 |
|
3122 |
+
#: includes/fields/class-acf-field-wysiwyg.php:337
|
3123 |
msgid "Click to initialize TinyMCE"
|
3124 |
msgstr "Klicken um TinyMCE zu initialisieren"
|
3125 |
|
3126 |
# @ acf
|
3127 |
+
#: includes/fields/class-acf-field-wysiwyg.php:390
|
3128 |
msgid "Tabs"
|
3129 |
msgstr "Tabs"
|
3130 |
|
3131 |
# @ acf
|
3132 |
+
#: includes/fields/class-acf-field-wysiwyg.php:395
|
3133 |
msgid "Visual & Text"
|
3134 |
msgstr "Visuell & Text"
|
3135 |
|
3136 |
# @ acf
|
3137 |
+
#: includes/fields/class-acf-field-wysiwyg.php:396
|
3138 |
msgid "Visual Only"
|
3139 |
msgstr "Nur Visuell"
|
3140 |
|
3141 |
# @ acf
|
3142 |
+
#: includes/fields/class-acf-field-wysiwyg.php:397
|
3143 |
msgid "Text Only"
|
3144 |
msgstr "Nur Text"
|
3145 |
|
3146 |
# @ acf
|
3147 |
+
#: includes/fields/class-acf-field-wysiwyg.php:404
|
3148 |
msgid "Toolbar"
|
3149 |
msgstr "Werkzeugleiste"
|
3150 |
|
3151 |
# @ acf
|
3152 |
+
#: includes/fields/class-acf-field-wysiwyg.php:419
|
3153 |
msgid "Show Media Upload Buttons?"
|
3154 |
msgstr "Button zum Hochladen von Medien anzeigen?"
|
3155 |
|
3156 |
+
#: includes/fields/class-acf-field-wysiwyg.php:429
|
3157 |
msgid "Delay initialization?"
|
3158 |
msgstr "Initialisierung verzögern?"
|
3159 |
|
3160 |
+
#: includes/fields/class-acf-field-wysiwyg.php:430
|
3161 |
msgid "TinyMCE will not be initalized until field is clicked"
|
3162 |
msgstr "TinyMCE wird nicht initialisiert bis das Feld geklickt wird"
|
3163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3164 |
#: includes/forms/form-front.php:55
|
3165 |
msgid "Validate Email"
|
3166 |
msgstr "E-Mail bestätigen"
|
3167 |
|
3168 |
# @ acf
|
3169 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591
|
3170 |
+
#: pro/options-page.php:81
|
3171 |
msgid "Update"
|
3172 |
msgstr "Aktualisieren"
|
3173 |
|
3176 |
msgid "Post updated"
|
3177 |
msgstr "Beitrag aktualisiert"
|
3178 |
|
3179 |
+
#: includes/forms/form-front.php:230
|
3180 |
msgid "Spam Detected"
|
3181 |
msgstr "Spam erkannt"
|
3182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3183 |
# @ acf
|
3184 |
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
3185 |
msgid "Post"
|
3195 |
msgid "Forms"
|
3196 |
msgstr "Formulare"
|
3197 |
|
3198 |
+
# @ acf
|
3199 |
+
#: includes/locations.php:243
|
3200 |
+
msgid "is equal to"
|
3201 |
+
msgstr "ist gleich"
|
3202 |
+
|
3203 |
+
# @ acf
|
3204 |
+
#: includes/locations.php:244
|
3205 |
+
msgid "is not equal to"
|
3206 |
+
msgstr "ist ungleich"
|
3207 |
+
|
3208 |
# @ acf
|
3209 |
#: includes/locations/class-acf-location-attachment.php:27
|
3210 |
msgid "Attachment"
|
3289 |
msgstr "Seitentyp"
|
3290 |
|
3291 |
# @ acf
|
3292 |
+
#: includes/locations/class-acf-location-page-type.php:146
|
3293 |
msgid "Front Page"
|
3294 |
msgstr "Startseite"
|
3295 |
|
3296 |
# @ acf
|
3297 |
+
#: includes/locations/class-acf-location-page-type.php:147
|
3298 |
msgid "Posts Page"
|
3299 |
msgstr "Beitrags-Seite"
|
3300 |
|
3301 |
# @ acf
|
3302 |
+
#: includes/locations/class-acf-location-page-type.php:148
|
3303 |
msgid "Top Level Page (no parent)"
|
3304 |
msgstr "Seite ohne übergeordnete Seiten"
|
3305 |
|
3306 |
# @ acf
|
3307 |
+
#: includes/locations/class-acf-location-page-type.php:149
|
3308 |
msgid "Parent Page (has children)"
|
3309 |
msgstr "Übergeordnete Seite (mit Unterseiten)"
|
3310 |
|
3311 |
# @ acf
|
3312 |
+
#: includes/locations/class-acf-location-page-type.php:150
|
3313 |
msgid "Child Page (has parent)"
|
3314 |
msgstr "Unterseite (mit übergeordneter Seite)"
|
3315 |
|
3338 |
msgid "Post Template"
|
3339 |
msgstr "Beitrags-Vorlage"
|
3340 |
|
|
|
|
|
|
|
|
|
|
|
3341 |
# @ acf
|
3342 |
#: includes/locations/class-acf-location-user-form.php:27
|
3343 |
msgid "User Form"
|
3363 |
msgid "Widget"
|
3364 |
msgstr "Widget"
|
3365 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3366 |
# @ acf
|
3367 |
#: includes/validation.php:364
|
3368 |
#, php-format
|
3376 |
msgstr "Advanced Custom Fields PRO"
|
3377 |
|
3378 |
# @ acf
|
3379 |
+
#: pro/admin/admin-options-page.php:198
|
3380 |
msgid "Publish"
|
3381 |
msgstr "Veröffentlichen"
|
3382 |
|
3383 |
# @ acf
|
3384 |
+
#: pro/admin/admin-options-page.php:204
|
3385 |
#, php-format
|
3386 |
msgid ""
|
3387 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
3391 |
"eine Feld-Gruppe</a>"
|
3392 |
|
3393 |
# @ acf
|
3394 |
+
#: pro/admin/admin-updates.php:49
|
3395 |
msgid "<b>Error</b>. Could not connect to update server"
|
3396 |
msgstr ""
|
3397 |
"<b>Fehler</b>. Verbindung zum Update-Server konnte nicht hergestellt werden"
|
3398 |
|
3399 |
# @ acf
|
3400 |
+
#: pro/admin/admin-updates.php:118 pro/admin/views/html-settings-updates.php:13
|
|
|
3401 |
msgid "Updates"
|
3402 |
msgstr "Aktualisierungen"
|
3403 |
|
3404 |
+
#: pro/admin/admin-updates.php:191
|
3405 |
+
msgid ""
|
3406 |
+
"<b>Error</b>. Could not authenticate update package. Please check again or "
|
3407 |
+
"deactivate and reactivate your ACF PRO license."
|
3408 |
+
msgstr ""
|
3409 |
+
"<b>Fehler</b>. Konnte das Update-Paket nicht authentifizieren. Bitte "
|
3410 |
+
"überprüfen Sie noch einmal oder reaktivieren Sie Ihre ACF PRO-Lizenz."
|
3411 |
+
|
3412 |
# @ acf
|
3413 |
#: pro/admin/views/html-settings-updates.php:7
|
3414 |
msgid "Deactivate License"
|
3486 |
msgid "Clone"
|
3487 |
msgstr "Klonen"
|
3488 |
|
3489 |
+
#: pro/fields/class-acf-field-clone.php:812
|
3490 |
msgid "Select one or more fields you wish to clone"
|
3491 |
msgstr "Wähle eines oder mehrere Felder aus, das/die du klonen willst"
|
3492 |
|
3493 |
# @ acf
|
3494 |
+
#: pro/fields/class-acf-field-clone.php:829
|
3495 |
msgid "Display"
|
3496 |
msgstr "Anzeige"
|
3497 |
|
3498 |
+
#: pro/fields/class-acf-field-clone.php:830
|
3499 |
msgid "Specify the style used to render the clone field"
|
3500 |
msgstr "Gib an, wie die geklonten Felder ausgegeben werden sollen"
|
3501 |
|
3502 |
+
#: pro/fields/class-acf-field-clone.php:835
|
3503 |
msgid "Group (displays selected fields in a group within this field)"
|
3504 |
msgstr ""
|
3505 |
"Gruppe (zeigt die ausgewählten Felder in einer Gruppe innerhalb dieses Felds "
|
3506 |
"an)"
|
3507 |
|
3508 |
+
#: pro/fields/class-acf-field-clone.php:836
|
3509 |
msgid "Seamless (replaces this field with selected fields)"
|
3510 |
msgstr "Nahtlos (ersetzt dieses Feld mit den ausgewählten Feldern)"
|
3511 |
|
3512 |
+
#: pro/fields/class-acf-field-clone.php:857
|
3513 |
#, php-format
|
3514 |
msgid "Labels will be displayed as %s"
|
3515 |
msgstr "Bezeichnungen werden angezeigt als %s"
|
3516 |
|
3517 |
+
#: pro/fields/class-acf-field-clone.php:860
|
3518 |
msgid "Prefix Field Labels"
|
3519 |
msgstr "Präfix für Feld Bezeichnungen"
|
3520 |
|
3521 |
+
#: pro/fields/class-acf-field-clone.php:871
|
3522 |
#, php-format
|
3523 |
msgid "Values will be saved as %s"
|
3524 |
msgstr "Werte werden gespeichert als %s"
|
3525 |
|
3526 |
+
#: pro/fields/class-acf-field-clone.php:874
|
3527 |
msgid "Prefix Field Names"
|
3528 |
msgstr "Präfix für Feld Namen"
|
3529 |
|
3530 |
+
#: pro/fields/class-acf-field-clone.php:992
|
3531 |
msgid "Unknown field"
|
3532 |
msgstr "Unbekanntes Feld"
|
3533 |
|
3534 |
+
#: pro/fields/class-acf-field-clone.php:1031
|
3535 |
msgid "Unknown field group"
|
3536 |
msgstr "Unbekannte Feld-Gruppe"
|
3537 |
|
3538 |
+
#: pro/fields/class-acf-field-clone.php:1035
|
3539 |
#, php-format
|
3540 |
msgid "All fields from %s field group"
|
3541 |
msgstr "Alle Felder der %s Feld-Gruppe"
|
3542 |
|
3543 |
# @ acf
|
3544 |
#: pro/fields/class-acf-field-flexible-content.php:31
|
3545 |
+
#: pro/fields/class-acf-field-repeater.php:193
|
3546 |
+
#: pro/fields/class-acf-field-repeater.php:463
|
3547 |
msgid "Add Row"
|
3548 |
msgstr "Eintrag hinzufügen"
|
3549 |
|
3550 |
# @ acf
|
3551 |
+
#: pro/fields/class-acf-field-flexible-content.php:73
|
3552 |
+
#: pro/fields/class-acf-field-flexible-content.php:938
|
3553 |
+
#: pro/fields/class-acf-field-flexible-content.php:1020
|
3554 |
msgid "layout"
|
3555 |
+
msgid_plural "layouts"
|
3556 |
+
msgstr[0] "Layout"
|
3557 |
+
msgstr[1] "Layouts"
|
3558 |
|
3559 |
# @ acf
|
3560 |
+
#: pro/fields/class-acf-field-flexible-content.php:74
|
3561 |
msgid "layouts"
|
3562 |
msgstr "Einträge"
|
3563 |
|
3564 |
# @ acf
|
3565 |
+
#: pro/fields/class-acf-field-flexible-content.php:77
|
3566 |
+
#: pro/fields/class-acf-field-flexible-content.php:937
|
3567 |
+
#: pro/fields/class-acf-field-flexible-content.php:1019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3568 |
msgid "This field requires at least {min} {label} {identifier}"
|
3569 |
msgstr "Dieses Feld erfordert mindestens {min} {label} {identifier}"
|
3570 |
|
3571 |
# @ acf
|
3572 |
+
#: pro/fields/class-acf-field-flexible-content.php:78
|
3573 |
+
msgid "This field has a limit of {max} {label} {identifier}"
|
3574 |
+
msgstr "Dieses Feld erlaubt höchstens {max} {label} {identifier}"
|
3575 |
|
3576 |
# @ acf
|
3577 |
+
#: pro/fields/class-acf-field-flexible-content.php:81
|
3578 |
msgid "{available} {label} {identifier} available (max {max})"
|
3579 |
msgstr "{available} {label} {identifier} möglich (max {max})"
|
3580 |
|
3581 |
# @ acf
|
3582 |
+
#: pro/fields/class-acf-field-flexible-content.php:82
|
3583 |
msgid "{required} {label} {identifier} required (min {min})"
|
3584 |
msgstr "{required} {label} {identifier} erforderlich (min {min})"
|
3585 |
|
3586 |
# @ acf
|
3587 |
+
#: pro/fields/class-acf-field-flexible-content.php:85
|
3588 |
msgid "Flexible Content requires at least 1 layout"
|
3589 |
msgstr "Flexibler Inhalt benötigt mindestens ein Layout"
|
3590 |
|
3591 |
# @ acf
|
3592 |
+
#: pro/fields/class-acf-field-flexible-content.php:302
|
3593 |
#, php-format
|
3594 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3595 |
msgstr "Klicke \"%s\" zum Erstellen des Layouts"
|
3596 |
|
3597 |
# @ acf
|
3598 |
+
#: pro/fields/class-acf-field-flexible-content.php:427
|
3599 |
msgid "Add layout"
|
3600 |
msgstr "Layout hinzufügen"
|
3601 |
|
3602 |
# @ acf
|
3603 |
+
#: pro/fields/class-acf-field-flexible-content.php:428
|
3604 |
msgid "Remove layout"
|
3605 |
msgstr "Layout entfernen"
|
3606 |
|
3607 |
+
#: pro/fields/class-acf-field-flexible-content.php:429
|
3608 |
+
#: pro/fields/class-acf-field-repeater.php:296
|
3609 |
msgid "Click to toggle"
|
3610 |
msgstr "Zum Auswählen anklicken"
|
3611 |
|
3612 |
# @ acf
|
3613 |
+
#: pro/fields/class-acf-field-flexible-content.php:569
|
3614 |
msgid "Reorder Layout"
|
3615 |
msgstr "Layout sortieren"
|
3616 |
|
3617 |
# @ acf
|
3618 |
+
#: pro/fields/class-acf-field-flexible-content.php:569
|
3619 |
msgid "Reorder"
|
3620 |
msgstr "Sortieren"
|
3621 |
|
3622 |
# @ acf
|
3623 |
+
#: pro/fields/class-acf-field-flexible-content.php:570
|
3624 |
msgid "Delete Layout"
|
3625 |
msgstr "Layout löschen"
|
3626 |
|
3627 |
# @ acf
|
3628 |
+
#: pro/fields/class-acf-field-flexible-content.php:571
|
3629 |
msgid "Duplicate Layout"
|
3630 |
msgstr "Layout duplizieren"
|
3631 |
|
3632 |
# @ acf
|
3633 |
+
#: pro/fields/class-acf-field-flexible-content.php:572
|
3634 |
msgid "Add New Layout"
|
3635 |
msgstr "Neues Layout hinzufügen"
|
3636 |
|
3637 |
# @ acf
|
3638 |
+
#: pro/fields/class-acf-field-flexible-content.php:643
|
3639 |
msgid "Min"
|
3640 |
msgstr "Min"
|
3641 |
|
3642 |
# @ acf
|
3643 |
+
#: pro/fields/class-acf-field-flexible-content.php:656
|
3644 |
msgid "Max"
|
3645 |
msgstr "Max"
|
3646 |
|
3647 |
# @ acf
|
3648 |
+
#: pro/fields/class-acf-field-flexible-content.php:683
|
3649 |
+
#: pro/fields/class-acf-field-repeater.php:459
|
3650 |
msgid "Button Label"
|
3651 |
msgstr "Button-Beschriftung"
|
3652 |
|
3653 |
# @ acf
|
3654 |
+
#: pro/fields/class-acf-field-flexible-content.php:692
|
3655 |
msgid "Minimum Layouts"
|
3656 |
msgstr "Minimum Layouts"
|
3657 |
|
3658 |
# @ acf
|
3659 |
+
#: pro/fields/class-acf-field-flexible-content.php:701
|
3660 |
msgid "Maximum Layouts"
|
3661 |
msgstr "Maximum Layouts"
|
3662 |
|
3663 |
# @ acf
|
3664 |
+
#: pro/fields/class-acf-field-gallery.php:71
|
3665 |
msgid "Add Image to Gallery"
|
3666 |
msgstr "Bild zur Galerie hinzufügen"
|
3667 |
|
3668 |
# @ acf
|
3669 |
+
#: pro/fields/class-acf-field-gallery.php:72
|
3670 |
msgid "Maximum selection reached"
|
3671 |
msgstr "Maximale Auswahl erreicht"
|
3672 |
|
3673 |
# @ acf
|
3674 |
+
#: pro/fields/class-acf-field-gallery.php:338
|
3675 |
msgid "Length"
|
3676 |
msgstr "Länge"
|
3677 |
|
3678 |
+
#: pro/fields/class-acf-field-gallery.php:381
|
3679 |
msgid "Caption"
|
3680 |
msgstr "Beschriftung"
|
3681 |
|
3682 |
+
#: pro/fields/class-acf-field-gallery.php:390
|
3683 |
msgid "Alt Text"
|
3684 |
msgstr "Alt Text"
|
3685 |
|
3686 |
# @ acf
|
3687 |
+
#: pro/fields/class-acf-field-gallery.php:562
|
3688 |
msgid "Add to gallery"
|
3689 |
msgstr "Zur Galerie hinzufügen"
|
3690 |
|
3691 |
# @ acf
|
3692 |
+
#: pro/fields/class-acf-field-gallery.php:566
|
3693 |
msgid "Bulk actions"
|
3694 |
msgstr "Massenverarbeitung"
|
3695 |
|
3696 |
# @ acf
|
3697 |
+
#: pro/fields/class-acf-field-gallery.php:567
|
3698 |
msgid "Sort by date uploaded"
|
3699 |
msgstr "Sortiere nach Upload-Datum"
|
3700 |
|
3701 |
# @ acf
|
3702 |
+
#: pro/fields/class-acf-field-gallery.php:568
|
3703 |
msgid "Sort by date modified"
|
3704 |
msgstr "Sortiere nach Änderungs-Datum"
|
3705 |
|
3706 |
# @ acf
|
3707 |
+
#: pro/fields/class-acf-field-gallery.php:569
|
3708 |
msgid "Sort by title"
|
3709 |
msgstr "Sortiere nach Titel"
|
3710 |
|
3711 |
# @ acf
|
3712 |
+
#: pro/fields/class-acf-field-gallery.php:570
|
3713 |
msgid "Reverse current order"
|
3714 |
msgstr "Aktuelle Sortierung umkehren"
|
3715 |
|
3716 |
# @ acf
|
3717 |
+
#: pro/fields/class-acf-field-gallery.php:588
|
3718 |
msgid "Close"
|
3719 |
msgstr "Schliessen"
|
3720 |
|
3721 |
# @ acf
|
3722 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
3723 |
msgid "Minimum Selection"
|
3724 |
msgstr "Minimale Auswahl"
|
3725 |
|
3726 |
# @ acf
|
3727 |
+
#: pro/fields/class-acf-field-gallery.php:651
|
3728 |
msgid "Maximum Selection"
|
3729 |
msgstr "Maximale Auswahl"
|
3730 |
|
3731 |
+
#: pro/fields/class-acf-field-gallery.php:660
|
3732 |
msgid "Insert"
|
3733 |
msgstr "Einfügen"
|
3734 |
|
3735 |
+
#: pro/fields/class-acf-field-gallery.php:661
|
3736 |
msgid "Specify where new attachments are added"
|
3737 |
msgstr "Gib an, wo neue Anhänge eingefügt werden sollen"
|
3738 |
|
3739 |
+
#: pro/fields/class-acf-field-gallery.php:665
|
3740 |
msgid "Append to the end"
|
3741 |
msgstr "Am Schluss anhängen"
|
3742 |
|
3743 |
+
#: pro/fields/class-acf-field-gallery.php:666
|
3744 |
msgid "Prepend to the beginning"
|
3745 |
msgstr "Vor Beginn einfügen"
|
3746 |
|
3747 |
# @ acf
|
3748 |
+
#: pro/fields/class-acf-field-repeater.php:65
|
3749 |
+
#: pro/fields/class-acf-field-repeater.php:656
|
3750 |
msgid "Minimum rows reached ({min} rows)"
|
3751 |
msgstr "Minimum der Einträge mit ({min} Reihen) erreicht"
|
3752 |
|
3753 |
# @ acf
|
3754 |
+
#: pro/fields/class-acf-field-repeater.php:66
|
3755 |
msgid "Maximum rows reached ({max} rows)"
|
3756 |
msgstr "Maximum der Einträge mit ({max} Reihen) erreicht"
|
3757 |
|
3758 |
# @ acf
|
3759 |
+
#: pro/fields/class-acf-field-repeater.php:333
|
3760 |
msgid "Add row"
|
3761 |
msgstr "Eintrag hinzufügen"
|
3762 |
|
3763 |
# @ acf
|
3764 |
+
#: pro/fields/class-acf-field-repeater.php:334
|
3765 |
msgid "Remove row"
|
3766 |
msgstr "Eintrag löschen"
|
3767 |
|
3768 |
+
#: pro/fields/class-acf-field-repeater.php:412
|
3769 |
msgid "Collapsed"
|
3770 |
msgstr "Zugeklappt"
|
3771 |
|
3772 |
+
#: pro/fields/class-acf-field-repeater.php:413
|
3773 |
msgid "Select a sub field to show when row is collapsed"
|
3774 |
msgstr ""
|
3775 |
"Wähle welches der Wiederholungsfelder im zugeklappten Zustand angezeigt "
|
3776 |
"werden soll"
|
3777 |
|
3778 |
# @ acf
|
3779 |
+
#: pro/fields/class-acf-field-repeater.php:423
|
3780 |
msgid "Minimum Rows"
|
3781 |
msgstr "Minimum der Einträge"
|
3782 |
|
3783 |
# @ acf
|
3784 |
+
#: pro/fields/class-acf-field-repeater.php:433
|
3785 |
msgid "Maximum Rows"
|
3786 |
msgstr "Maximum der Einträge"
|
3787 |
|
3825 |
msgid "http://www.elliotcondon.com/"
|
3826 |
msgstr "http://www.elliotcondon.com/"
|
3827 |
|
3828 |
+
# @ acf
|
3829 |
+
#~ msgid "Parent fields"
|
3830 |
+
#~ msgstr "Übergeordnete Felder"
|
3831 |
+
|
3832 |
+
# @ acf
|
3833 |
+
#~ msgid "Sibling fields"
|
3834 |
+
#~ msgstr "Geschwister-Felder"
|
3835 |
+
|
3836 |
+
# @ acf
|
3837 |
+
#~ msgid "%s field group duplicated."
|
3838 |
+
#~ msgid_plural "%s field groups duplicated."
|
3839 |
+
#~ msgstr[0] "%s Feld-Gruppe dupliziert."
|
3840 |
+
#~ msgstr[1] "%s Feld-Gruppen dupliziert."
|
3841 |
+
|
3842 |
+
# @ acf
|
3843 |
+
#~ msgid "%s field group synchronised."
|
3844 |
+
#~ msgid_plural "%s field groups synchronised."
|
3845 |
+
#~ msgstr[0] "%s Feld-Gruppe synchronisiert."
|
3846 |
+
#~ msgstr[1] "%s Feld-Gruppen synchronisiert."
|
3847 |
+
|
3848 |
+
#~ msgid "Error validating request"
|
3849 |
+
#~ msgstr "Fehler beim Überprüfen der Anfrage"
|
3850 |
+
|
3851 |
+
# @ acf
|
3852 |
+
#~ msgid "<b>Error</b>. Could not load add-ons list"
|
3853 |
+
#~ msgstr ""
|
3854 |
+
#~ "<b>Fehler</b>. Die Liste der Zusatz-Module kann nicht geladen werden"
|
3855 |
+
|
3856 |
+
# @ acf
|
3857 |
+
#~ msgid "Advanced Custom Fields Database Upgrade"
|
3858 |
+
#~ msgstr "Advanced Custom Fields Datenbank Aktualisierung"
|
3859 |
+
|
3860 |
+
# @ acf
|
3861 |
+
#~ msgid ""
|
3862 |
+
#~ "Before you start using the new awesome features, please update your "
|
3863 |
+
#~ "database to the newest version."
|
3864 |
+
#~ msgstr ""
|
3865 |
+
#~ "Bevor Du die tollen neuen Funktionen nutzen kannst muss die Datenbank "
|
3866 |
+
#~ "aktualisiert werden."
|
3867 |
+
|
3868 |
+
# @ acf
|
3869 |
+
#~ msgid ""
|
3870 |
+
#~ "To help make upgrading easy, <a href=\"%s\">login to your store account</"
|
3871 |
+
#~ "a> and claim a free copy of ACF PRO!"
|
3872 |
+
#~ msgstr ""
|
3873 |
+
#~ "Wir haben den Aktualisierungsprozess so einfach wie möglich gehalten; <a "
|
3874 |
+
#~ "href=\"%s\">melde Dich mit Deinem Store-Account an</a> und fordere ein "
|
3875 |
+
#~ "Gratisexemplar von ACF PRO an!"
|
3876 |
+
|
3877 |
+
# @ acf
|
3878 |
+
#~ msgid "Under the Hood"
|
3879 |
+
#~ msgstr "Unter der Haube"
|
3880 |
+
|
3881 |
+
# @ acf
|
3882 |
+
#~ msgid "Smarter field settings"
|
3883 |
+
#~ msgstr "Intelligentere Feld-Einstellungen"
|
3884 |
+
|
3885 |
+
# @ acf
|
3886 |
+
#~ msgid "ACF now saves its field settings as individual post objects"
|
3887 |
+
#~ msgstr ""
|
3888 |
+
#~ "ACF speichert nun die Feld-Einstellungen als individuelle Beitrags-Objekte"
|
3889 |
+
|
3890 |
+
# @ acf
|
3891 |
+
#~ msgid "Better version control"
|
3892 |
+
#~ msgstr "Verbesserte Versionskontrolle"
|
3893 |
+
|
3894 |
+
# @ acf
|
3895 |
+
#~ msgid ""
|
3896 |
+
#~ "New auto export to JSON feature allows field settings to be version "
|
3897 |
+
#~ "controlled"
|
3898 |
+
#~ msgstr ""
|
3899 |
+
#~ "Die neue JSON Export Funktionalität erlaubt die Versionskontrolle von "
|
3900 |
+
#~ "Feld-Einstellungen"
|
3901 |
+
|
3902 |
+
# @ acf
|
3903 |
+
#~ msgid "Swapped XML for JSON"
|
3904 |
+
#~ msgstr "JSON ersetzt XML"
|
3905 |
+
|
3906 |
+
# @ acf
|
3907 |
+
#~ msgid "Import / Export now uses JSON in favour of XML"
|
3908 |
+
#~ msgstr "Das Import- und Export-Modul nutzt nun JSON anstelle XML"
|
3909 |
+
|
3910 |
+
# @ acf
|
3911 |
+
#~ msgid "New Forms"
|
3912 |
+
#~ msgstr "Neue Formulare"
|
3913 |
+
|
3914 |
+
# @ acf
|
3915 |
+
#~ msgid "A new field for embedding content has been added"
|
3916 |
+
#~ msgstr "Ein neues Feld für das Einbetten von Inhalten wurde hinzugefügt"
|
3917 |
+
|
3918 |
+
# @ acf
|
3919 |
+
#~ msgid "New Gallery"
|
3920 |
+
#~ msgstr "Neue Galerie"
|
3921 |
+
|
3922 |
+
# @ acf
|
3923 |
+
#~ msgid "The gallery field has undergone a much needed facelift"
|
3924 |
+
#~ msgstr ""
|
3925 |
+
#~ "Das Galerie-Feld wurde einem längst überfälligen Face-Lifting unterzogen"
|
3926 |
+
|
3927 |
+
# @ acf
|
3928 |
+
#~ msgid "Relationship Field"
|
3929 |
+
#~ msgstr "Beziehungs-Feld"
|
3930 |
+
|
3931 |
+
# @ acf
|
3932 |
+
#~ msgid ""
|
3933 |
+
#~ "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
3934 |
+
#~ msgstr ""
|
3935 |
+
#~ "Neue Einstellungen innerhalb des Beziehungs-Feldes um nach Suche, "
|
3936 |
+
#~ "Beitrags-Typ und oder Taxonomie filtern zu können"
|
3937 |
+
|
3938 |
+
# @ acf
|
3939 |
+
#~ msgid "New archives group in page_link field selection"
|
3940 |
+
#~ msgstr ""
|
3941 |
+
#~ "Im neuen Seitenlink-Feld werden alle Archiv-URL's der verfügbaren Custom "
|
3942 |
+
#~ "Post Types in einer Options-Gruppe zusammengefasst"
|
3943 |
+
|
3944 |
+
# @ acf
|
3945 |
+
#~ msgid "Better Options Pages"
|
3946 |
+
#~ msgstr "Verbesserte Options-Seiten"
|
3947 |
+
|
3948 |
+
# @ acf
|
3949 |
+
#~ msgid ""
|
3950 |
+
#~ "New functions for options page allow creation of both parent and child "
|
3951 |
+
#~ "menu pages"
|
3952 |
+
#~ msgstr ""
|
3953 |
+
#~ "Neue Funktionen für die Options-Seite erlauben die Erstellung von Menüs "
|
3954 |
+
#~ "für übergeordnete Seiten sowie Unterseiten"
|
3955 |
+
|
3956 |
+
# @ acf
|
3957 |
+
#~ msgid "Export Field Groups to PHP"
|
3958 |
+
#~ msgstr "Exportieren der Feld-Gruppen nach PHP"
|
3959 |
+
|
3960 |
+
# @ acf
|
3961 |
+
#~ msgid "Download export file"
|
3962 |
+
#~ msgstr "JSON-Datei exportieren"
|
3963 |
+
|
3964 |
+
# @ acf
|
3965 |
+
#~ msgid "Generate export code"
|
3966 |
+
#~ msgstr "Erstelle PHP-Code"
|
3967 |
+
|
3968 |
+
# @ acf
|
3969 |
+
#~ msgid "Import"
|
3970 |
+
#~ msgstr "Importieren"
|
3971 |
+
|
3972 |
+
# @ acf
|
3973 |
+
#~ msgid "Locating"
|
3974 |
+
#~ msgstr "Lokalisiere"
|
3975 |
+
|
3976 |
+
#~ msgid "Error."
|
3977 |
+
#~ msgstr "Fehler."
|
3978 |
+
|
3979 |
+
# @ acf
|
3980 |
+
#~ msgid "No embed found for the given URL."
|
3981 |
+
#~ msgstr "Keine Inhalte für die eingegebene URL gefunden."
|
3982 |
+
|
3983 |
+
# @ acf
|
3984 |
+
#~ msgid "Minimum values reached ( {min} values )"
|
3985 |
+
#~ msgstr "Minimum der Einträge mit ({min} Einträge) erreicht"
|
3986 |
+
|
3987 |
+
# @ acf
|
3988 |
+
#~ msgid ""
|
3989 |
+
#~ "The tab field will display incorrectly when added to a Table style "
|
3990 |
+
#~ "repeater field or flexible content field layout"
|
3991 |
+
#~ msgstr ""
|
3992 |
+
#~ "Ein Tab-Feld wird nicht korrekt dargestellt, wenn es zu einem "
|
3993 |
+
#~ "Wiederholung- oder Flexible-Inhalte-Feld im Tabellen-Layout eingebunden "
|
3994 |
+
#~ "ist"
|
3995 |
+
|
3996 |
+
# @ acf
|
3997 |
+
#~ msgid ""
|
3998 |
+
#~ "Use \"Tab Fields\" to better organize your edit screen by grouping fields "
|
3999 |
+
#~ "together."
|
4000 |
+
#~ msgstr ""
|
4001 |
+
#~ "Mit \"Tab Feldern\" können Felder für eine bessere Struktur im Editor in "
|
4002 |
+
#~ "Tabs zusammengefasst werden."
|
4003 |
+
|
4004 |
+
# @ acf
|
4005 |
+
#~ msgid ""
|
4006 |
+
#~ "All fields following this \"tab field\" (or until another \"tab field\" "
|
4007 |
+
#~ "is defined) will be grouped together using this field's label as the tab "
|
4008 |
+
#~ "heading."
|
4009 |
+
#~ msgstr ""
|
4010 |
+
#~ "Alle Felder, die auf dieses \"Tab Feld\" folgen (oder bis ein weiteres "
|
4011 |
+
#~ "\"Tab Feld\" definiert ist), werden in einem Tab mit dem Namen dieses "
|
4012 |
+
#~ "Felds zusammengefasst."
|
4013 |
+
|
4014 |
+
# @ acf
|
4015 |
+
#~ msgid "None"
|
4016 |
+
#~ msgstr "Nur Text"
|
4017 |
+
|
4018 |
+
# @ acf
|
4019 |
+
#~ msgid "Taxonomy Term"
|
4020 |
+
#~ msgstr "Taxonomie"
|
4021 |
+
|
4022 |
+
# @ acf
|
4023 |
+
#~ msgid "remove {layout}?"
|
4024 |
+
#~ msgstr "{layout} löschen?"
|
4025 |
+
|
4026 |
+
# @ acf
|
4027 |
+
#~ msgid "This field requires at least {min} {identifier}"
|
4028 |
+
#~ msgstr "Dieses Feld erfordert mindestens {min} {identifier}"
|
4029 |
+
|
4030 |
+
# @ acf
|
4031 |
+
#~ msgid "Maximum {label} limit reached ({max} {identifier})"
|
4032 |
+
#~ msgstr "Maximale {label}-Anzahl erreicht ({max} {identifier})"
|
4033 |
+
|
4034 |
# @ acf
|
4035 |
#~ msgid "Getting Started"
|
4036 |
#~ msgstr "Erste Schritte"
|
4047 |
#~ msgid "Actions"
|
4048 |
#~ msgstr "Aktionen"
|
4049 |
|
|
|
|
|
|
|
4050 |
#~ msgid "How to"
|
4051 |
#~ msgstr "Kurzanleitungen"
|
4052 |
|
4268 |
#~ "Felder-Gruppen werden nach diesem Wert sortiert, vom niedrigsten zum "
|
4269 |
#~ "höchsten Wert."
|
4270 |
|
|
|
|
|
|
|
|
|
4271 |
# @ acf
|
4272 |
#~ msgid "Hide / Show All"
|
4273 |
#~ msgstr "Alle Verstecken"
|
lang/acf-de_DE.mo
CHANGED
Binary file
|
lang/acf-de_DE.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Advanced Custom Fields Pro v5.7.
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
8 |
"Language-Team: Ralf Koller <r.koller@gmail.com>\n"
|
9 |
"Language: de_DE\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
-
"X-Generator: Poedit 2.
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
@@ -28,109 +28,109 @@ msgid "Advanced Custom Fields"
|
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
# @ acf
|
31 |
-
#: acf.php:
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Feldgruppen"
|
34 |
|
35 |
# @ acf
|
36 |
-
#: acf.php:
|
37 |
msgid "Field Group"
|
38 |
msgstr "Feldgruppe"
|
39 |
|
40 |
# @ acf
|
41 |
-
#: acf.php:
|
42 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
43 |
msgid "Add New"
|
44 |
msgstr "Erstellen"
|
45 |
|
46 |
# @ acf
|
47 |
-
#: acf.php:
|
48 |
msgid "Add New Field Group"
|
49 |
msgstr "Neue Feldgruppe erstellen"
|
50 |
|
51 |
# @ acf
|
52 |
-
#: acf.php:
|
53 |
msgid "Edit Field Group"
|
54 |
msgstr "Feldgruppe bearbeiten"
|
55 |
|
56 |
# @ acf
|
57 |
-
#: acf.php:
|
58 |
msgid "New Field Group"
|
59 |
msgstr "Neue Feldgruppe"
|
60 |
|
61 |
# @ acf
|
62 |
-
#: acf.php:
|
63 |
msgid "View Field Group"
|
64 |
msgstr "Feldgruppe anzeigen"
|
65 |
|
66 |
# @ acf
|
67 |
-
#: acf.php:
|
68 |
msgid "Search Field Groups"
|
69 |
msgstr "Feldgruppen durchsuchen"
|
70 |
|
71 |
# @ acf
|
72 |
-
#: acf.php:
|
73 |
msgid "No Field Groups found"
|
74 |
msgstr "Keine Feldgruppen gefunden"
|
75 |
|
76 |
# @ acf
|
77 |
-
#: acf.php:
|
78 |
msgid "No Field Groups found in Trash"
|
79 |
msgstr "Keine Feldgruppen im Papierkorb gefunden"
|
80 |
|
81 |
# @ acf
|
82 |
-
#: acf.php:
|
83 |
-
#: includes/admin/admin-field-groups.php:
|
84 |
#: pro/fields/class-acf-field-clone.php:811
|
85 |
msgid "Fields"
|
86 |
msgstr "Felder"
|
87 |
|
88 |
# @ acf
|
89 |
-
#: acf.php:
|
90 |
msgid "Field"
|
91 |
msgstr "Feld"
|
92 |
|
93 |
# @ acf
|
94 |
-
#: acf.php:
|
95 |
msgid "Add New Field"
|
96 |
msgstr "Feld hinzufügen"
|
97 |
|
98 |
# @ acf
|
99 |
-
#: acf.php:
|
100 |
msgid "Edit Field"
|
101 |
msgstr "Feld bearbeiten"
|
102 |
|
103 |
# @ acf
|
104 |
-
#: acf.php:
|
105 |
msgid "New Field"
|
106 |
msgstr "Neues Feld"
|
107 |
|
108 |
# @ acf
|
109 |
-
#: acf.php:
|
110 |
msgid "View Field"
|
111 |
msgstr "Feld anzeigen"
|
112 |
|
113 |
# @ acf
|
114 |
-
#: acf.php:
|
115 |
msgid "Search Fields"
|
116 |
msgstr "Felder suchen"
|
117 |
|
118 |
# @ acf
|
119 |
-
#: acf.php:
|
120 |
msgid "No Fields found"
|
121 |
msgstr "Keine Felder gefunden"
|
122 |
|
123 |
# @ acf
|
124 |
-
#: acf.php:
|
125 |
msgid "No Fields found in Trash"
|
126 |
msgstr "Keine Felder im Papierkorb gefunden"
|
127 |
|
128 |
-
#: acf.php:
|
129 |
-
#: includes/admin/admin-field-groups.php:
|
130 |
msgid "Inactive"
|
131 |
msgstr "Inaktiv"
|
132 |
|
133 |
-
#: acf.php:
|
134 |
#, php-format
|
135 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
136 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
@@ -138,156 +138,157 @@ msgstr[0] "Inaktiv <span class=\"count\">(%s)</span>"
|
|
138 |
msgstr[1] "Inaktiv <span class=\"count\">(%s)</span>"
|
139 |
|
140 |
# @ acf
|
141 |
-
#: includes/
|
142 |
-
#: includes/admin/admin-field-group.php:
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
msgid "Field group updated."
|
145 |
msgstr "Feldgruppe aktualisiert."
|
146 |
|
147 |
# @ acf
|
148 |
-
#: includes/admin/admin-field-group.php:
|
149 |
msgid "Field group deleted."
|
150 |
msgstr "Feldgruppe gelöscht."
|
151 |
|
152 |
# @ acf
|
153 |
-
#: includes/admin/admin-field-group.php:
|
154 |
msgid "Field group published."
|
155 |
msgstr "Feldgruppe veröffentlicht."
|
156 |
|
157 |
# @ acf
|
158 |
-
#: includes/admin/admin-field-group.php:
|
159 |
msgid "Field group saved."
|
160 |
msgstr "Feldgruppe gespeichert."
|
161 |
|
162 |
# @ acf
|
163 |
-
#: includes/admin/admin-field-group.php:
|
164 |
msgid "Field group submitted."
|
165 |
msgstr "Feldgruppe übertragen."
|
166 |
|
167 |
# @ acf
|
168 |
-
#: includes/admin/admin-field-group.php:
|
169 |
msgid "Field group scheduled for."
|
170 |
msgstr "Feldgruppe geplant für."
|
171 |
|
172 |
# @ acf
|
173 |
-
#: includes/admin/admin-field-group.php:
|
174 |
msgid "Field group draft updated."
|
175 |
msgstr "Entwurf der Feldgruppe aktualisiert."
|
176 |
|
177 |
# @ acf
|
178 |
-
#: includes/admin/admin-field-group.php:
|
179 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
180 |
msgstr "Der Feldname darf nicht mit \"field_\" beginnen"
|
181 |
|
182 |
# @ acf
|
183 |
-
#: includes/admin/admin-field-group.php:
|
184 |
msgid "This field cannot be moved until its changes have been saved"
|
185 |
msgstr ""
|
186 |
"Diese Feld kann erst verschoben werden, wenn die Änderungen gespeichert "
|
187 |
"wurden"
|
188 |
|
189 |
# @ acf
|
190 |
-
#: includes/admin/admin-field-group.php:
|
191 |
msgid "Field group title is required"
|
192 |
msgstr "Es ist ein Titel für die Feldgruppe erforderlich"
|
193 |
|
194 |
# @ acf
|
195 |
-
#: includes/admin/admin-field-group.php:
|
196 |
msgid "Move to trash. Are you sure?"
|
197 |
msgstr "Wirklich in den Papierkorb verschieben?"
|
198 |
|
199 |
# @ acf
|
200 |
-
#: includes/admin/admin-field-group.php:
|
201 |
msgid "No toggle fields available"
|
202 |
msgstr "Es liegen keine Auswahl-Feldtypen vor"
|
203 |
|
204 |
# @ acf
|
205 |
-
#: includes/admin/admin-field-group.php:
|
206 |
msgid "Move Custom Field"
|
207 |
msgstr "Benutzerdefiniertes Feld verschieben"
|
208 |
|
209 |
# @ acf
|
210 |
-
#: includes/admin/admin-field-group.php:
|
211 |
msgid "Checked"
|
212 |
msgstr "Ausgewählt"
|
213 |
|
214 |
# @ acf
|
215 |
-
#: includes/admin/admin-field-group.php:
|
216 |
-
msgid "(no label)"
|
217 |
-
msgstr "(keine Beschriftung)"
|
218 |
-
|
219 |
-
# @ acf
|
220 |
-
#: includes/admin/admin-field-group.php:161
|
221 |
msgid "(this field)"
|
222 |
msgstr "(dieses Feld)"
|
223 |
|
224 |
# @ acf
|
225 |
-
#: includes/admin/admin-field-group.php:
|
226 |
-
#: includes/api/api-field-group.php:751
|
227 |
-
msgid "copy"
|
228 |
-
msgstr "Kopie"
|
229 |
-
|
230 |
-
# @ acf
|
231 |
-
#: includes/admin/admin-field-group.php:163
|
232 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
233 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
234 |
#: includes/admin/views/field-group-locations.php:29
|
235 |
#: includes/admin/views/html-location-group.php:3
|
236 |
-
#: includes/api/api-helpers.php:
|
237 |
msgid "or"
|
238 |
msgstr "oder"
|
239 |
|
240 |
# @ acf
|
241 |
-
#: includes/admin/admin-field-group.php:
|
242 |
msgid "Null"
|
243 |
msgstr "Null"
|
244 |
|
245 |
# @ acf
|
246 |
-
#: includes/admin/admin-field-group.php:
|
247 |
msgid "Location"
|
248 |
msgstr "Position"
|
249 |
|
250 |
-
#: includes/admin/admin-field-group.php:
|
251 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
252 |
msgid "Settings"
|
253 |
msgstr "Einstellungen"
|
254 |
|
255 |
-
#: includes/admin/admin-field-group.php:
|
256 |
msgid "Field Keys"
|
257 |
msgstr "Feldschlüssel"
|
258 |
|
259 |
-
#: includes/admin/admin-field-group.php:
|
260 |
#: includes/admin/views/field-group-options.php:9
|
261 |
msgid "Active"
|
262 |
msgstr "Aktiviert"
|
263 |
|
264 |
# @ acf
|
265 |
-
#: includes/admin/admin-field-group.php:
|
266 |
msgid "Move Complete."
|
267 |
msgstr "Verschieben erfolgreich abgeschlossen."
|
268 |
|
269 |
# @ acf
|
270 |
-
#: includes/admin/admin-field-group.php:
|
271 |
#, php-format
|
272 |
msgid "The %s field can now be found in the %s field group"
|
273 |
msgstr "Das Feld \"%s\" wurde in die %s Feldgruppe verschoben"
|
274 |
|
275 |
# @ acf
|
276 |
-
#: includes/admin/admin-field-group.php:
|
277 |
msgid "Close Window"
|
278 |
msgstr "Schließen"
|
279 |
|
280 |
# @ acf
|
281 |
-
#: includes/admin/admin-field-group.php:
|
282 |
msgid "Please select the destination for this field"
|
283 |
msgstr "In welche Feldgruppe solle dieses Feld verschoben werden"
|
284 |
|
285 |
# @ acf
|
286 |
-
#: includes/admin/admin-field-group.php:
|
287 |
msgid "Move Field"
|
288 |
msgstr "Feld verschieben"
|
289 |
|
290 |
-
#: includes/admin/admin-field-groups.php:
|
291 |
#, php-format
|
292 |
msgid "Active <span class=\"count\">(%s)</span>"
|
293 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
@@ -295,148 +296,136 @@ msgstr[0] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
|
295 |
msgstr[1] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
296 |
|
297 |
# @ acf
|
298 |
-
#: includes/admin/admin-field-groups.php:
|
299 |
#, php-format
|
300 |
-
msgid "Field group duplicated.
|
301 |
-
msgstr "Feldgruppe dupliziert. %s"
|
302 |
-
|
303 |
-
# @ acf
|
304 |
-
#: includes/admin/admin-field-groups.php:146
|
305 |
-
#, php-format
|
306 |
-
msgid "%s field group duplicated."
|
307 |
msgid_plural "%s field groups duplicated."
|
308 |
-
msgstr[0] "
|
309 |
msgstr[1] "%s Feldgruppen dupliziert."
|
310 |
|
311 |
# @ acf
|
312 |
-
#: includes/admin/admin-field-groups.php:
|
313 |
-
#, php-format
|
314 |
-
msgid "Field group synchronised. %s"
|
315 |
-
msgstr "Feldgruppe synchronisiert. %s"
|
316 |
-
|
317 |
-
# @ acf
|
318 |
-
#: includes/admin/admin-field-groups.php:231
|
319 |
#, php-format
|
320 |
-
msgid "
|
321 |
msgid_plural "%s field groups synchronised."
|
322 |
-
msgstr[0] "
|
323 |
msgstr[1] "%s Feldgruppen synchronisiert."
|
324 |
|
325 |
# @ acf
|
326 |
-
#: includes/admin/admin-field-groups.php:
|
327 |
-
#: includes/admin/admin-field-groups.php:
|
328 |
msgid "Sync available"
|
329 |
msgstr "Synchronisierung verfügbar"
|
330 |
|
331 |
# @ acf
|
332 |
-
#: includes/admin/admin-field-groups.php:
|
333 |
-
#: pro/fields/class-acf-field-gallery.php:
|
334 |
msgid "Title"
|
335 |
msgstr "Titel"
|
336 |
|
337 |
# @ acf
|
338 |
-
#: includes/admin/admin-field-groups.php:
|
339 |
#: includes/admin/views/field-group-options.php:96
|
340 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
341 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
342 |
-
#: pro/fields/class-acf-field-gallery.php:
|
343 |
msgid "Description"
|
344 |
msgstr "Beschreibung"
|
345 |
|
346 |
-
#: includes/admin/admin-field-groups.php:
|
347 |
msgid "Status"
|
348 |
msgstr "Status"
|
349 |
|
350 |
# @ acf
|
351 |
#. Description of the plugin/theme
|
352 |
-
#: includes/admin/admin-field-groups.php:
|
353 |
-
msgid "
|
354 |
msgstr ""
|
355 |
"WordPress durch leistungsfähige, professionelle und zugleich intuitive "
|
356 |
"Felder erweitern."
|
357 |
|
358 |
# @ acf
|
359 |
-
#: includes/admin/admin-field-groups.php:
|
360 |
#: includes/admin/settings-info.php:76
|
361 |
#: pro/admin/views/html-settings-updates.php:107
|
362 |
msgid "Changelog"
|
363 |
msgstr "Änderungsprotokoll"
|
364 |
|
365 |
-
#: includes/admin/admin-field-groups.php:
|
366 |
#, php-format
|
367 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
368 |
msgstr "Schau nach was es Neues in <a href=\"%s\">Version %s</a> gibt."
|
369 |
|
370 |
# @ acf
|
371 |
-
#: includes/admin/admin-field-groups.php:
|
372 |
msgid "Resources"
|
373 |
msgstr "Dokumentation (engl.)"
|
374 |
|
375 |
-
#: includes/admin/admin-field-groups.php:
|
376 |
msgid "Website"
|
377 |
msgstr "Website"
|
378 |
|
379 |
-
#: includes/admin/admin-field-groups.php:
|
380 |
msgid "Documentation"
|
381 |
msgstr "Dokumentation"
|
382 |
|
383 |
-
#: includes/admin/admin-field-groups.php:
|
384 |
msgid "Support"
|
385 |
msgstr "Hilfe"
|
386 |
|
387 |
-
#: includes/admin/admin-field-groups.php:
|
388 |
#: includes/admin/views/settings-info.php:84
|
389 |
msgid "Pro"
|
390 |
msgstr "Pro"
|
391 |
|
392 |
-
#: includes/admin/admin-field-groups.php:
|
393 |
#, php-format
|
394 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
395 |
msgstr "Danke für das Vertrauen in <a href=\"%s\">ACF</a>."
|
396 |
|
397 |
# @ acf
|
398 |
-
#: includes/admin/admin-field-groups.php:
|
399 |
msgid "Duplicate this item"
|
400 |
msgstr "Dieses Element duplizieren"
|
401 |
|
402 |
# @ acf
|
403 |
-
#: includes/admin/admin-field-groups.php:
|
404 |
-
#: includes/admin/admin-field-groups.php:
|
405 |
#: includes/admin/views/field-group-field.php:46
|
406 |
#: pro/fields/class-acf-field-flexible-content.php:571
|
407 |
msgid "Duplicate"
|
408 |
msgstr "Duplizieren"
|
409 |
|
410 |
# @ acf
|
411 |
-
#: includes/admin/admin-field-groups.php:
|
412 |
-
#: includes/fields/class-acf-field-google-map.php:
|
413 |
-
#: includes/fields/class-acf-field-relationship.php:
|
414 |
msgid "Search"
|
415 |
msgstr "Suchen"
|
416 |
|
417 |
# @ acf
|
418 |
-
#: includes/admin/admin-field-groups.php:
|
419 |
#, php-format
|
420 |
msgid "Select %s"
|
421 |
msgstr "%s auswählen"
|
422 |
|
423 |
# @ acf
|
424 |
-
#: includes/admin/admin-field-groups.php:
|
425 |
msgid "Synchronise field group"
|
426 |
msgstr "Synchronisiere Feldgruppe"
|
427 |
|
428 |
# @ acf
|
429 |
-
#: includes/admin/admin-field-groups.php:
|
430 |
-
#: includes/admin/admin-field-groups.php:
|
431 |
msgid "Sync"
|
432 |
msgstr "Synchronisieren"
|
433 |
|
434 |
-
#: includes/admin/admin-field-groups.php:
|
435 |
msgid "Apply"
|
436 |
msgstr "Anwenden"
|
437 |
|
438 |
# @ acf
|
439 |
-
#: includes/admin/admin-field-groups.php:
|
440 |
msgid "Bulk Actions"
|
441 |
msgstr "Massenverarbeitung"
|
442 |
|
@@ -459,22 +448,10 @@ msgid "Review sites & upgrade"
|
|
459 |
msgstr "Übersicht Websites & Upgrades"
|
460 |
|
461 |
# @ acf
|
462 |
-
#: includes/admin/admin.php:
|
463 |
-
#: includes/admin/views/field-group-options.php:110
|
464 |
msgid "Custom Fields"
|
465 |
msgstr "Eigene Felder"
|
466 |
|
467 |
-
# @ acf
|
468 |
-
#: includes/admin/settings-addons.php:51
|
469 |
-
#: includes/admin/views/settings-addons.php:3
|
470 |
-
msgid "Add-ons"
|
471 |
-
msgstr "Zusatz-Module"
|
472 |
-
|
473 |
-
# @ acf
|
474 |
-
#: includes/admin/settings-addons.php:87
|
475 |
-
msgid "<b>Error</b>. Could not load add-ons list"
|
476 |
-
msgstr "<b>Fehler</b>. Die Liste der Zusatz-Module kann nicht geladen werden"
|
477 |
-
|
478 |
# @ acf
|
479 |
#: includes/admin/settings-info.php:50
|
480 |
msgid "Info"
|
@@ -563,7 +540,7 @@ msgid "Import Field Groups"
|
|
563 |
msgstr "Feldgruppen importieren"
|
564 |
|
565 |
# @ acf
|
566 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
567 |
msgid ""
|
568 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
569 |
"you click the import button below, ACF will import the field groups."
|
@@ -573,38 +550,38 @@ msgstr ""
|
|
573 |
"Feldgruppen hinzufügen."
|
574 |
|
575 |
# @ acf
|
576 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
577 |
#: includes/fields/class-acf-field-file.php:57
|
578 |
msgid "Select File"
|
579 |
msgstr "Datei auswählen"
|
580 |
|
581 |
# @ acf
|
582 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
583 |
msgid "Import File"
|
584 |
msgstr "Datei importieren"
|
585 |
|
586 |
# @ acf
|
587 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
588 |
#: includes/fields/class-acf-field-file.php:170
|
589 |
msgid "No file selected"
|
590 |
msgstr "Keine Datei ausgewählt"
|
591 |
|
592 |
# @ acf
|
593 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
594 |
msgid "Error uploading file. Please try again"
|
595 |
msgstr "Fehler beim Upload der Datei. Bitte erneut versuchen"
|
596 |
|
597 |
# @ acf
|
598 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
599 |
msgid "Incorrect file type"
|
600 |
msgstr "Falscher Dateityp"
|
601 |
|
602 |
# @ acf
|
603 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
604 |
msgid "Import file empty"
|
605 |
msgstr "Die importierte Datei ist leer"
|
606 |
|
607 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
608 |
#, php-format
|
609 |
msgid "Imported 1 field group"
|
610 |
msgid_plural "Imported %s field groups"
|
@@ -651,7 +628,7 @@ msgstr "Feld bearbeiten"
|
|
651 |
#: includes/fields/class-acf-field-file.php:152
|
652 |
#: includes/fields/class-acf-field-image.php:139
|
653 |
#: includes/fields/class-acf-field-link.php:139
|
654 |
-
#: pro/fields/class-acf-field-gallery.php:
|
655 |
msgid "Edit"
|
656 |
msgstr "Bearbeiten"
|
657 |
|
@@ -759,7 +736,7 @@ msgstr "Reihenfolge"
|
|
759 |
#: includes/fields/class-acf-field-button-group.php:198
|
760 |
#: includes/fields/class-acf-field-checkbox.php:420
|
761 |
#: includes/fields/class-acf-field-radio.php:311
|
762 |
-
#: includes/fields/class-acf-field-select.php:
|
763 |
#: pro/fields/class-acf-field-flexible-content.php:596
|
764 |
msgid "Label"
|
765 |
msgstr "Beschriftung"
|
@@ -940,7 +917,7 @@ msgstr "Seiten-Attribute"
|
|
940 |
|
941 |
# @ acf
|
942 |
#: includes/admin/views/field-group-options.php:118
|
943 |
-
#: includes/fields/class-acf-field-relationship.php:
|
944 |
msgid "Featured Image"
|
945 |
msgstr "Beitragsbild"
|
946 |
|
@@ -1073,6 +1050,10 @@ msgstr ""
|
|
1073 |
msgid "No updates available."
|
1074 |
msgstr "Keine Aktualisierungen verfügbar."
|
1075 |
|
|
|
|
|
|
|
|
|
1076 |
# @ acf
|
1077 |
#: includes/admin/views/html-location-group.php:3
|
1078 |
msgid "Show this field group if"
|
@@ -1123,12 +1104,16 @@ msgstr ""
|
|
1123 |
#: includes/admin/views/html-notice-upgrade.php:24
|
1124 |
#, php-format
|
1125 |
msgid ""
|
1126 |
-
"Please also
|
1127 |
-
"latest version."
|
1128 |
msgstr ""
|
1129 |
-
"Stelle bitte ebenfalls sicher, dass alle Premium-Add-ons (%s)
|
1130 |
"neueste Version aktualisiert wurden."
|
1131 |
|
|
|
|
|
|
|
|
|
|
|
1132 |
# @ acf
|
1133 |
#: includes/admin/views/settings-addons.php:17
|
1134 |
msgid "Download & Install"
|
@@ -1474,218 +1459,224 @@ msgid "We think you'll love the changes in %s."
|
|
1474 |
msgstr "Wir glauben Du wirst die Änderungen in %s lieben."
|
1475 |
|
1476 |
# @ acf
|
1477 |
-
#: includes/api/api-helpers.php:
|
1478 |
msgid "Thumbnail"
|
1479 |
msgstr "Miniaturbild"
|
1480 |
|
1481 |
# @ acf
|
1482 |
-
#: includes/api/api-helpers.php:
|
1483 |
msgid "Medium"
|
1484 |
msgstr "Mittel"
|
1485 |
|
1486 |
# @ acf
|
1487 |
-
#: includes/api/api-helpers.php:
|
1488 |
msgid "Large"
|
1489 |
msgstr "Groß"
|
1490 |
|
1491 |
# @ acf
|
1492 |
-
#: includes/api/api-helpers.php:
|
1493 |
msgid "Full Size"
|
1494 |
msgstr "Volle Größe"
|
1495 |
|
1496 |
# @ acf
|
1497 |
-
#: includes/api/api-helpers.php:
|
1498 |
#: pro/fields/class-acf-field-clone.php:996
|
1499 |
msgid "(no title)"
|
1500 |
msgstr "(ohne Titel)"
|
1501 |
|
1502 |
# @ acf
|
1503 |
-
#: includes/api/api-helpers.php:
|
1504 |
#, php-format
|
1505 |
msgid "Image width must be at least %dpx."
|
1506 |
msgstr "Die Breite des Bildes muss mindestens %dpx sein."
|
1507 |
|
1508 |
# @ acf
|
1509 |
-
#: includes/api/api-helpers.php:
|
1510 |
#, php-format
|
1511 |
msgid "Image width must not exceed %dpx."
|
1512 |
msgstr "Die Breite des Bildes darf %dpx nicht überschreiten."
|
1513 |
|
1514 |
# @ acf
|
1515 |
-
#: includes/api/api-helpers.php:
|
1516 |
#, php-format
|
1517 |
msgid "Image height must be at least %dpx."
|
1518 |
msgstr "Die Höhe des Bildes muss mindestens %dpx sein."
|
1519 |
|
1520 |
# @ acf
|
1521 |
-
#: includes/api/api-helpers.php:
|
1522 |
#, php-format
|
1523 |
msgid "Image height must not exceed %dpx."
|
1524 |
msgstr "Die Höhe des Bild darf %dpx nicht überschreiten."
|
1525 |
|
1526 |
# @ acf
|
1527 |
-
#: includes/api/api-helpers.php:
|
1528 |
#, php-format
|
1529 |
msgid "File size must be at least %s."
|
1530 |
msgstr "Die Dateigröße muss mindestens %s sein."
|
1531 |
|
1532 |
# @ acf
|
1533 |
-
#: includes/api/api-helpers.php:
|
1534 |
#, php-format
|
1535 |
msgid "File size must must not exceed %s."
|
1536 |
msgstr "Die Dateigröße darf %s nicht überschreiten."
|
1537 |
|
1538 |
# @ acf
|
1539 |
-
#: includes/api/api-helpers.php:
|
1540 |
#, php-format
|
1541 |
msgid "File type must be %s."
|
1542 |
msgstr "Der Dateityp muss %s sein."
|
1543 |
|
1544 |
# @ acf
|
1545 |
-
#: includes/assets.php:
|
1546 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1547 |
msgstr ""
|
1548 |
"Die vorgenommenen Änderungen gehen verloren wenn diese Seite verlassen wird"
|
1549 |
|
1550 |
-
#: includes/assets.php:
|
1551 |
msgctxt "verb"
|
1552 |
msgid "Select"
|
1553 |
msgstr "Auswählen"
|
1554 |
|
1555 |
-
#: includes/assets.php:
|
1556 |
msgctxt "verb"
|
1557 |
msgid "Edit"
|
1558 |
msgstr "Bearbeiten"
|
1559 |
|
1560 |
-
#: includes/assets.php:
|
1561 |
msgctxt "verb"
|
1562 |
msgid "Update"
|
1563 |
msgstr "Aktualisieren"
|
1564 |
|
1565 |
# @ acf
|
1566 |
-
#: includes/assets.php:
|
1567 |
msgid "Uploaded to this post"
|
1568 |
msgstr "Zu diesem Beitrag hochgeladen"
|
1569 |
|
1570 |
# @ acf
|
1571 |
-
#: includes/assets.php:
|
1572 |
msgid "Expand Details"
|
1573 |
msgstr "Details einblenden"
|
1574 |
|
1575 |
# @ acf
|
1576 |
-
#: includes/assets.php:
|
1577 |
msgid "Collapse Details"
|
1578 |
msgstr "Details ausblenden"
|
1579 |
|
1580 |
-
#: includes/assets.php:
|
1581 |
msgid "Restricted"
|
1582 |
msgstr "Eingeschränkt"
|
1583 |
|
1584 |
# @ acf
|
1585 |
-
#: includes/assets.php:
|
1586 |
msgid "All images"
|
1587 |
msgstr "Alle Bilder"
|
1588 |
|
1589 |
# @ acf
|
1590 |
-
#: includes/assets.php:
|
1591 |
msgid "Validation successful"
|
1592 |
msgstr "Überprüfung erfolgreich"
|
1593 |
|
1594 |
# @ acf
|
1595 |
-
#: includes/assets.php:
|
1596 |
#: includes/validation.php:296
|
1597 |
msgid "Validation failed"
|
1598 |
msgstr "Überprüfung fehlgeschlagen"
|
1599 |
|
1600 |
# @ acf
|
1601 |
-
#: includes/assets.php:
|
1602 |
msgid "1 field requires attention"
|
1603 |
msgstr "Für 1 Feld ist eine Aktualisierung notwendig"
|
1604 |
|
1605 |
# @ acf
|
1606 |
-
#: includes/assets.php:
|
1607 |
#, php-format
|
1608 |
msgid "%d fields require attention"
|
1609 |
msgstr "Für %d Felder ist eine Aktualisierung notwendig"
|
1610 |
|
1611 |
# @ acf
|
1612 |
-
#: includes/assets.php:
|
1613 |
msgid "Are you sure?"
|
1614 |
msgstr "Wirklich entfernen?"
|
1615 |
|
1616 |
# @ acf
|
1617 |
-
#: includes/assets.php:
|
1618 |
#: includes/fields/class-acf-field-true_false.php:159
|
1619 |
#: pro/admin/views/html-settings-updates.php:89
|
1620 |
msgid "Yes"
|
1621 |
msgstr "Ja"
|
1622 |
|
1623 |
# @ acf
|
1624 |
-
#: includes/assets.php:
|
1625 |
#: includes/fields/class-acf-field-true_false.php:174
|
1626 |
#: pro/admin/views/html-settings-updates.php:99
|
1627 |
msgid "No"
|
1628 |
msgstr "Nein"
|
1629 |
|
1630 |
# @ acf
|
1631 |
-
#: includes/assets.php:
|
1632 |
#: includes/fields/class-acf-field-image.php:141
|
1633 |
#: includes/fields/class-acf-field-link.php:140
|
1634 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1635 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1636 |
msgid "Remove"
|
1637 |
msgstr "Entfernen"
|
1638 |
|
1639 |
-
#: includes/assets.php:
|
1640 |
msgid "Cancel"
|
1641 |
msgstr "Abbrechen"
|
1642 |
|
1643 |
-
#: includes/assets.php:
|
1644 |
msgid "Has any value"
|
1645 |
msgstr "Hat einen Wert"
|
1646 |
|
1647 |
-
#: includes/assets.php:
|
1648 |
msgid "Has no value"
|
1649 |
msgstr "Hat keinen Wert"
|
1650 |
|
1651 |
# @ acf
|
1652 |
-
#: includes/assets.php:
|
1653 |
msgid "Value is equal to"
|
1654 |
msgstr "Wert ist gleich"
|
1655 |
|
1656 |
# @ acf
|
1657 |
-
#: includes/assets.php:
|
1658 |
msgid "Value is not equal to"
|
1659 |
msgstr "Wert ist ungleich"
|
1660 |
|
1661 |
# @ acf
|
1662 |
-
#: includes/assets.php:
|
1663 |
msgid "Value matches pattern"
|
1664 |
msgstr "Wert entspricht regulärem Ausdruck"
|
1665 |
|
1666 |
-
#: includes/assets.php:
|
1667 |
msgid "Value contains"
|
1668 |
msgstr "Wert enthält"
|
1669 |
|
1670 |
# @ acf
|
1671 |
-
#: includes/assets.php:
|
1672 |
msgid "Value is greater than"
|
1673 |
msgstr "Wert ist größer als"
|
1674 |
|
1675 |
# @ acf
|
1676 |
-
#: includes/assets.php:
|
1677 |
msgid "Value is less than"
|
1678 |
msgstr "Wert ist kleiner als"
|
1679 |
|
1680 |
-
#: includes/assets.php:
|
1681 |
msgid "Selection is greater than"
|
1682 |
msgstr "Auswahl ist größer als"
|
1683 |
|
1684 |
# @ acf
|
1685 |
-
#: includes/assets.php:
|
1686 |
msgid "Selection is less than"
|
1687 |
msgstr "Auswahl ist kleiner als"
|
1688 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1689 |
# @ acf
|
1690 |
#: includes/fields.php:308
|
1691 |
msgid "Field type does not exist"
|
@@ -1773,7 +1764,7 @@ msgstr "Button-Gruppe"
|
|
1773 |
#: includes/fields/class-acf-field-button-group.php:149
|
1774 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1775 |
#: includes/fields/class-acf-field-radio.php:235
|
1776 |
-
#: includes/fields/class-acf-field-select.php:
|
1777 |
msgid "Choices"
|
1778 |
msgstr "Auswahlmöglichkeiten"
|
1779 |
|
@@ -1781,7 +1772,7 @@ msgstr "Auswahlmöglichkeiten"
|
|
1781 |
#: includes/fields/class-acf-field-button-group.php:150
|
1782 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1783 |
#: includes/fields/class-acf-field-radio.php:236
|
1784 |
-
#: includes/fields/class-acf-field-select.php:
|
1785 |
msgid "Enter each choice on a new line."
|
1786 |
msgstr "Jede Auswahlmöglichkeit in eine neue Zeile eingeben."
|
1787 |
|
@@ -1789,7 +1780,7 @@ msgstr "Jede Auswahlmöglichkeit in eine neue Zeile eingeben."
|
|
1789 |
#: includes/fields/class-acf-field-button-group.php:150
|
1790 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1791 |
#: includes/fields/class-acf-field-radio.php:236
|
1792 |
-
#: includes/fields/class-acf-field-select.php:
|
1793 |
msgid "For more control, you may specify both a value and label like this:"
|
1794 |
msgstr ""
|
1795 |
"Für mehr Kontrolle, kannst Du sowohl einen Wert als auch eine Beschriftung "
|
@@ -1799,7 +1790,7 @@ msgstr ""
|
|
1799 |
#: includes/fields/class-acf-field-button-group.php:150
|
1800 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1801 |
#: includes/fields/class-acf-field-radio.php:236
|
1802 |
-
#: includes/fields/class-acf-field-select.php:
|
1803 |
msgid "red : Red"
|
1804 |
msgstr "rot : Rot"
|
1805 |
|
@@ -1808,9 +1799,9 @@ msgstr "rot : Rot"
|
|
1808 |
#: includes/fields/class-acf-field-page_link.php:513
|
1809 |
#: includes/fields/class-acf-field-post_object.php:411
|
1810 |
#: includes/fields/class-acf-field-radio.php:244
|
1811 |
-
#: includes/fields/class-acf-field-select.php:
|
1812 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1813 |
-
#: includes/fields/class-acf-field-user.php:
|
1814 |
msgid "Allow Null?"
|
1815 |
msgstr "NULL-Werte zulassen?"
|
1816 |
|
@@ -1822,7 +1813,7 @@ msgstr "NULL-Werte zulassen?"
|
|
1822 |
#: includes/fields/class-acf-field-number.php:127
|
1823 |
#: includes/fields/class-acf-field-radio.php:281
|
1824 |
#: includes/fields/class-acf-field-range.php:149
|
1825 |
-
#: includes/fields/class-acf-field-select.php:
|
1826 |
#: includes/fields/class-acf-field-text.php:119
|
1827 |
#: includes/fields/class-acf-field-textarea.php:102
|
1828 |
#: includes/fields/class-acf-field-true_false.php:135
|
@@ -1882,14 +1873,14 @@ msgstr "Legt den Rückgabewert für das Frontend fest"
|
|
1882 |
#: includes/fields/class-acf-field-button-group.php:197
|
1883 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1884 |
#: includes/fields/class-acf-field-radio.php:310
|
1885 |
-
#: includes/fields/class-acf-field-select.php:
|
1886 |
msgid "Value"
|
1887 |
msgstr "Wert"
|
1888 |
|
1889 |
#: includes/fields/class-acf-field-button-group.php:199
|
1890 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1891 |
#: includes/fields/class-acf-field-radio.php:312
|
1892 |
-
#: includes/fields/class-acf-field-select.php:
|
1893 |
msgid "Both (Array)"
|
1894 |
msgstr "Beide (Array)"
|
1895 |
|
@@ -1927,7 +1918,7 @@ msgstr ""
|
|
1927 |
|
1928 |
# @ acf
|
1929 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1930 |
-
#: includes/fields/class-acf-field-select.php:
|
1931 |
msgid "Enter each default value on a new line"
|
1932 |
msgstr "Jeden Standardwert in einer neuen Zeile eingeben"
|
1933 |
|
@@ -1996,21 +1987,21 @@ msgid "Wk"
|
|
1996 |
msgstr "W"
|
1997 |
|
1998 |
# @ acf
|
1999 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2000 |
#: includes/fields/class-acf-field-date_time_picker.php:183
|
2001 |
#: includes/fields/class-acf-field-time_picker.php:109
|
2002 |
msgid "Display Format"
|
2003 |
msgstr "Darstellungsformat"
|
2004 |
|
2005 |
# @ acf
|
2006 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2007 |
#: includes/fields/class-acf-field-date_time_picker.php:184
|
2008 |
#: includes/fields/class-acf-field-time_picker.php:110
|
2009 |
msgid "The format displayed when editing a post"
|
2010 |
msgstr "Das Format für die Anzeige in der Bearbeitungsansicht"
|
2011 |
|
2012 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2013 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2014 |
#: includes/fields/class-acf-field-date_time_picker.php:193
|
2015 |
#: includes/fields/class-acf-field-date_time_picker.php:210
|
2016 |
#: includes/fields/class-acf-field-time_picker.php:117
|
@@ -2018,34 +2009,34 @@ msgstr "Das Format für die Anzeige in der Bearbeitungsansicht"
|
|
2018 |
msgid "Custom:"
|
2019 |
msgstr "Benutzerdefiniert:"
|
2020 |
|
2021 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2022 |
msgid "Save Format"
|
2023 |
msgstr "Speicherformat"
|
2024 |
|
2025 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2026 |
msgid "The format used when saving a value"
|
2027 |
msgstr "Das Format das beim Speichern eines Wertes verwendet wird"
|
2028 |
|
2029 |
# @ acf
|
2030 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2031 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
2032 |
#: includes/fields/class-acf-field-post_object.php:431
|
2033 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2034 |
-
#: includes/fields/class-acf-field-select.php:
|
2035 |
#: includes/fields/class-acf-field-time_picker.php:124
|
2036 |
-
#: includes/fields/class-acf-field-user.php:
|
2037 |
msgid "Return Format"
|
2038 |
msgstr "Rückgabeformat"
|
2039 |
|
2040 |
# @ acf
|
2041 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2042 |
#: includes/fields/class-acf-field-date_time_picker.php:201
|
2043 |
#: includes/fields/class-acf-field-time_picker.php:125
|
2044 |
msgid "The format returned via template functions"
|
2045 |
msgstr "Das Format für die Ausgabe in den Template-Funktionen"
|
2046 |
|
2047 |
# @ acf
|
2048 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2049 |
#: includes/fields/class-acf-field-date_time_picker.php:217
|
2050 |
msgid "Week Starts On"
|
2051 |
msgstr "Die Woche beginnt am"
|
@@ -2215,8 +2206,8 @@ msgstr "Dateiname"
|
|
2215 |
#: includes/fields/class-acf-field-file.php:259
|
2216 |
#: includes/fields/class-acf-field-image.php:265
|
2217 |
#: includes/fields/class-acf-field-image.php:294
|
2218 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2219 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2220 |
msgid "File size"
|
2221 |
msgstr "Dateigröße"
|
2222 |
|
@@ -2243,14 +2234,14 @@ msgstr "Datei-ID"
|
|
2243 |
# @ acf
|
2244 |
#: includes/fields/class-acf-field-file.php:230
|
2245 |
#: includes/fields/class-acf-field-image.php:230
|
2246 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2247 |
msgid "Library"
|
2248 |
msgstr "Mediathek"
|
2249 |
|
2250 |
# @ acf
|
2251 |
#: includes/fields/class-acf-field-file.php:231
|
2252 |
#: includes/fields/class-acf-field-image.php:231
|
2253 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2254 |
msgid "Limit the media library choice"
|
2255 |
msgstr "Beschränkt die Auswahl in der Mediathek"
|
2256 |
|
@@ -2264,21 +2255,21 @@ msgstr "Beschränkt die Auswahl in der Mediathek"
|
|
2264 |
#: includes/locations/class-acf-location-user-form.php:87
|
2265 |
#: includes/locations/class-acf-location-user-role.php:111
|
2266 |
#: includes/locations/class-acf-location-widget.php:83
|
2267 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2268 |
msgid "All"
|
2269 |
msgstr "Alle"
|
2270 |
|
2271 |
# @ acf
|
2272 |
#: includes/fields/class-acf-field-file.php:237
|
2273 |
#: includes/fields/class-acf-field-image.php:237
|
2274 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2275 |
msgid "Uploaded to post"
|
2276 |
msgstr "Für den Beitrag hochgeladen"
|
2277 |
|
2278 |
# @ acf
|
2279 |
#: includes/fields/class-acf-field-file.php:244
|
2280 |
#: includes/fields/class-acf-field-image.php:244
|
2281 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2282 |
msgid "Minimum"
|
2283 |
msgstr "Minimum"
|
2284 |
|
@@ -2291,21 +2282,21 @@ msgstr "Beschränkt welche Dateien hochgeladen werden können"
|
|
2291 |
# @ acf
|
2292 |
#: includes/fields/class-acf-field-file.php:255
|
2293 |
#: includes/fields/class-acf-field-image.php:273
|
2294 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2295 |
msgid "Maximum"
|
2296 |
msgstr "Maximum"
|
2297 |
|
2298 |
# @ acf
|
2299 |
#: includes/fields/class-acf-field-file.php:266
|
2300 |
#: includes/fields/class-acf-field-image.php:302
|
2301 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2302 |
msgid "Allowed file types"
|
2303 |
msgstr "Erlaubte Dateiformate"
|
2304 |
|
2305 |
# @ acf
|
2306 |
#: includes/fields/class-acf-field-file.php:267
|
2307 |
#: includes/fields/class-acf-field-image.php:303
|
2308 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2309 |
msgid "Comma separated list. Leave blank for all types"
|
2310 |
msgstr ""
|
2311 |
"Eine durch Komma getrennte Liste. Leer lassen um alle Dateiformate zu "
|
@@ -2322,55 +2313,55 @@ msgid "Sorry, this browser does not support geolocation"
|
|
2322 |
msgstr "Dieser Browser unterstützt keine Geo-Lokation"
|
2323 |
|
2324 |
# @ acf
|
2325 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2326 |
msgid "Clear location"
|
2327 |
msgstr "Position löschen"
|
2328 |
|
2329 |
# @ acf
|
2330 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2331 |
msgid "Find current location"
|
2332 |
msgstr "Aktuelle Position finden"
|
2333 |
|
2334 |
# @ acf
|
2335 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2336 |
msgid "Search for address..."
|
2337 |
msgstr "Nach der Adresse suchen..."
|
2338 |
|
2339 |
# @ acf
|
2340 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2341 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2342 |
msgid "Center"
|
2343 |
msgstr "Mittelpunkt"
|
2344 |
|
2345 |
# @ acf
|
2346 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2347 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2348 |
msgid "Center the initial map"
|
2349 |
msgstr "Mittelpunkt der Ausgangskarte"
|
2350 |
|
2351 |
# @ acf
|
2352 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2353 |
msgid "Zoom"
|
2354 |
msgstr "Zoom"
|
2355 |
|
2356 |
# @ acf
|
2357 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2358 |
msgid "Set the initial zoom level"
|
2359 |
msgstr "Legt die anfängliche Zoomstufe der Karte fest"
|
2360 |
|
2361 |
# @ acf
|
2362 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2363 |
#: includes/fields/class-acf-field-image.php:256
|
2364 |
#: includes/fields/class-acf-field-image.php:285
|
2365 |
#: includes/fields/class-acf-field-oembed.php:268
|
2366 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2367 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2368 |
msgid "Height"
|
2369 |
msgstr "Höhe"
|
2370 |
|
2371 |
# @ acf
|
2372 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2373 |
-
msgid "
|
2374 |
msgstr "Passt die Höhe der Karte an"
|
2375 |
|
2376 |
# @ acf
|
@@ -2471,8 +2462,8 @@ msgstr "Legt fest welche Maße die Vorschau in der Bearbeitungsansicht hat"
|
|
2471 |
# @ acf
|
2472 |
#: includes/fields/class-acf-field-image.php:245
|
2473 |
#: includes/fields/class-acf-field-image.php:274
|
2474 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2475 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2476 |
msgid "Restrict which images can be uploaded"
|
2477 |
msgstr "Beschränkt welche Bilder hochgeladen werden können"
|
2478 |
|
@@ -2480,8 +2471,8 @@ msgstr "Beschränkt welche Bilder hochgeladen werden können"
|
|
2480 |
#: includes/fields/class-acf-field-image.php:248
|
2481 |
#: includes/fields/class-acf-field-image.php:277
|
2482 |
#: includes/fields/class-acf-field-oembed.php:257
|
2483 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2484 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2485 |
msgid "Width"
|
2486 |
msgstr "Breite"
|
2487 |
|
@@ -2632,28 +2623,28 @@ msgstr "Übergeordnet"
|
|
2632 |
# @ acf
|
2633 |
#: includes/fields/class-acf-field-page_link.php:485
|
2634 |
#: includes/fields/class-acf-field-post_object.php:383
|
2635 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2636 |
msgid "Filter by Post Type"
|
2637 |
msgstr "Nach Inhaltstyp filtern"
|
2638 |
|
2639 |
# @ acf
|
2640 |
#: includes/fields/class-acf-field-page_link.php:493
|
2641 |
#: includes/fields/class-acf-field-post_object.php:391
|
2642 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2643 |
msgid "All post types"
|
2644 |
msgstr "Alle Inhaltstypen"
|
2645 |
|
2646 |
# @ acf
|
2647 |
#: includes/fields/class-acf-field-page_link.php:499
|
2648 |
#: includes/fields/class-acf-field-post_object.php:397
|
2649 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2650 |
msgid "Filter by Taxonomy"
|
2651 |
msgstr "Nach Taxonomien filtern"
|
2652 |
|
2653 |
# @ acf
|
2654 |
#: includes/fields/class-acf-field-page_link.php:507
|
2655 |
#: includes/fields/class-acf-field-post_object.php:405
|
2656 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2657 |
msgid "All taxonomies"
|
2658 |
msgstr "Alle Taxonomien"
|
2659 |
|
@@ -2664,8 +2655,8 @@ msgstr "Archiv-URL's zulassen"
|
|
2664 |
# @ acf
|
2665 |
#: includes/fields/class-acf-field-page_link.php:533
|
2666 |
#: includes/fields/class-acf-field-post_object.php:421
|
2667 |
-
#: includes/fields/class-acf-field-select.php:
|
2668 |
-
#: includes/fields/class-acf-field-user.php:
|
2669 |
msgid "Select multiple values?"
|
2670 |
msgstr "Mehrere Werte auswählbar?"
|
2671 |
|
@@ -2677,13 +2668,13 @@ msgstr "Passwort"
|
|
2677 |
# @ acf
|
2678 |
#: includes/fields/class-acf-field-post_object.php:25
|
2679 |
#: includes/fields/class-acf-field-post_object.php:436
|
2680 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2681 |
msgid "Post Object"
|
2682 |
msgstr "Beitrags-Objekt"
|
2683 |
|
2684 |
# @ acf
|
2685 |
#: includes/fields/class-acf-field-post_object.php:437
|
2686 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2687 |
msgid "Post ID"
|
2688 |
msgstr "Beitrags-ID"
|
2689 |
|
@@ -2739,33 +2730,33 @@ msgid "No matches found"
|
|
2739 |
msgstr "Keine Übereinstimmung gefunden"
|
2740 |
|
2741 |
# @ acf
|
2742 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2743 |
msgid "Select post type"
|
2744 |
msgstr "Inhaltstyp auswählen"
|
2745 |
|
2746 |
# @ acf
|
2747 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2748 |
msgid "Select taxonomy"
|
2749 |
msgstr "Taxonomie auswählen"
|
2750 |
|
2751 |
# @ acf
|
2752 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2753 |
msgid "Search..."
|
2754 |
msgstr "Suchen..."
|
2755 |
|
2756 |
# @ acf
|
2757 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2758 |
msgid "Filters"
|
2759 |
msgstr "Filter"
|
2760 |
|
2761 |
# @ acf
|
2762 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2763 |
#: includes/locations/class-acf-location-post-type.php:27
|
2764 |
msgid "Post Type"
|
2765 |
msgstr "Inhaltstyp"
|
2766 |
|
2767 |
# @ acf
|
2768 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2769 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2770 |
#: includes/fields/class-acf-field-taxonomy.php:754
|
2771 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
@@ -2773,28 +2764,28 @@ msgid "Taxonomy"
|
|
2773 |
msgstr "Taxonomie"
|
2774 |
|
2775 |
# @ acf
|
2776 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2777 |
msgid "Elements"
|
2778 |
msgstr "Elemente"
|
2779 |
|
2780 |
# @ acf
|
2781 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2782 |
msgid "Selected elements will be displayed in each result"
|
2783 |
msgstr "Die ausgewählten Elemente werden in jedem Ergebnis angezeigt"
|
2784 |
|
2785 |
# @ acf
|
2786 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2787 |
msgid "Minimum posts"
|
2788 |
msgstr "Mindestzahl an Beiträgen"
|
2789 |
|
2790 |
# @ acf
|
2791 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2792 |
msgid "Maximum posts"
|
2793 |
msgstr "Höchstzahl an Beiträgen"
|
2794 |
|
2795 |
# @ acf
|
2796 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2797 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2798 |
#, php-format
|
2799 |
msgid "%s requires at least %s selection"
|
2800 |
msgid_plural "%s requires at least %s selections"
|
@@ -2875,17 +2866,17 @@ msgid "Loading failed"
|
|
2875 |
msgstr "Laden fehlgeschlagen"
|
2876 |
|
2877 |
# @ acf
|
2878 |
-
#: includes/fields/class-acf-field-select.php:
|
2879 |
#: includes/fields/class-acf-field-true_false.php:144
|
2880 |
msgid "Stylised UI"
|
2881 |
msgstr "Select2-Library aktivieren"
|
2882 |
|
2883 |
# @ acf
|
2884 |
-
#: includes/fields/class-acf-field-select.php:
|
2885 |
msgid "Use AJAX to lazy load choices?"
|
2886 |
msgstr "AJAX verwenden um die Auswahl mittels Lazy Loading zu laden?"
|
2887 |
|
2888 |
-
#: includes/fields/class-acf-field-select.php:
|
2889 |
msgid "Specify the value returned"
|
2890 |
msgstr "Lege den Rückgabewert fest"
|
2891 |
|
@@ -3029,6 +3020,12 @@ msgstr "Zeichenbegrenzung"
|
|
3029 |
msgid "Leave blank for no limit"
|
3030 |
msgstr "Leer lassen für keine Begrenzung"
|
3031 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3032 |
# @ acf
|
3033 |
#: includes/fields/class-acf-field-textarea.php:25
|
3034 |
msgid "Text Area"
|
@@ -3089,27 +3086,27 @@ msgid "User"
|
|
3089 |
msgstr "Benutzer"
|
3090 |
|
3091 |
# @ acf
|
3092 |
-
#: includes/fields/class-acf-field-user.php:
|
3093 |
msgid "Filter by role"
|
3094 |
msgstr "Nach Rolle filtern"
|
3095 |
|
3096 |
# @ acf
|
3097 |
-
#: includes/fields/class-acf-field-user.php:
|
3098 |
msgid "All user roles"
|
3099 |
msgstr "Alle Benutzerrollen"
|
3100 |
|
3101 |
# @ acf
|
3102 |
-
#: includes/fields/class-acf-field-user.php:
|
3103 |
msgid "User Array"
|
3104 |
msgstr "Benutzer-Array"
|
3105 |
|
3106 |
# @ acf
|
3107 |
-
#: includes/fields/class-acf-field-user.php:
|
3108 |
msgid "User Object"
|
3109 |
msgstr "Benutzer-Objekt"
|
3110 |
|
3111 |
# @ acf
|
3112 |
-
#: includes/fields/class-acf-field-user.php:
|
3113 |
msgid "User ID"
|
3114 |
msgstr "Benutzer-ID"
|
3115 |
|
@@ -3171,18 +3168,12 @@ msgstr "Initialisierung verzögern?"
|
|
3171 |
msgid "TinyMCE will not be initalized until field is clicked"
|
3172 |
msgstr "TinyMCE wird nicht initialisiert solange das Feld nicht geklickt wurde"
|
3173 |
|
3174 |
-
# @ acf
|
3175 |
-
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:301
|
3176 |
-
#: pro/admin/admin-options-page.php:308
|
3177 |
-
msgid "Edit field group"
|
3178 |
-
msgstr "Feldgruppe bearbeiten"
|
3179 |
-
|
3180 |
#: includes/forms/form-front.php:55
|
3181 |
msgid "Validate Email"
|
3182 |
msgstr "E-Mail bestätigen"
|
3183 |
|
3184 |
# @ acf
|
3185 |
-
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:
|
3186 |
#: pro/options-page.php:81
|
3187 |
msgid "Update"
|
3188 |
msgstr "Aktualisieren"
|
@@ -3294,8 +3285,8 @@ msgid "Page Template"
|
|
3294 |
msgstr "Seiten-Template"
|
3295 |
|
3296 |
# @ acf
|
3297 |
-
#: includes/locations/class-acf-location-page-template.php:
|
3298 |
-
#: includes/locations/class-acf-location-post-template.php:
|
3299 |
msgid "Default Template"
|
3300 |
msgstr "Standard-Template"
|
3301 |
|
@@ -3392,12 +3383,12 @@ msgid "Advanced Custom Fields PRO"
|
|
3392 |
msgstr "Advanced Custom Fields PRO"
|
3393 |
|
3394 |
# @ acf
|
3395 |
-
#: pro/admin/admin-options-page.php:
|
3396 |
msgid "Publish"
|
3397 |
msgstr "Veröffentlichen"
|
3398 |
|
3399 |
# @ acf
|
3400 |
-
#: pro/admin/admin-options-page.php:
|
3401 |
#, php-format
|
3402 |
msgid ""
|
3403 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
@@ -3407,18 +3398,25 @@ msgstr ""
|
|
3407 |
"Feldgruppe erstellen</a>"
|
3408 |
|
3409 |
# @ acf
|
3410 |
-
#: pro/admin/admin-
|
3411 |
msgid "<b>Error</b>. Could not connect to update server"
|
3412 |
msgstr ""
|
3413 |
"<b>Fehler</b>. Es konnte keine Verbindung zum Update-Server hergestellt "
|
3414 |
"werden"
|
3415 |
|
3416 |
# @ acf
|
3417 |
-
#: pro/admin/admin-settings-updates.php:
|
3418 |
-
#: pro/admin/views/html-settings-updates.php:13
|
3419 |
msgid "Updates"
|
3420 |
msgstr "Aktualisierungen"
|
3421 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3422 |
# @ acf
|
3423 |
#: pro/admin/views/html-settings-updates.php:7
|
3424 |
msgid "Deactivate License"
|
@@ -3682,76 +3680,76 @@ msgid "Maximum selection reached"
|
|
3682 |
msgstr "Maximale Auswahl erreicht"
|
3683 |
|
3684 |
# @ acf
|
3685 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3686 |
msgid "Length"
|
3687 |
msgstr "Länge"
|
3688 |
|
3689 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3690 |
msgid "Caption"
|
3691 |
msgstr "Bildunterschrift"
|
3692 |
|
3693 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3694 |
msgid "Alt Text"
|
3695 |
msgstr "Alt Text"
|
3696 |
|
3697 |
# @ acf
|
3698 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3699 |
msgid "Add to gallery"
|
3700 |
msgstr "Zur Galerie hinzufügen"
|
3701 |
|
3702 |
# @ acf
|
3703 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3704 |
msgid "Bulk actions"
|
3705 |
msgstr "Massenverarbeitung"
|
3706 |
|
3707 |
# @ acf
|
3708 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3709 |
msgid "Sort by date uploaded"
|
3710 |
msgstr "Sortiere nach Upload-Datum"
|
3711 |
|
3712 |
# @ acf
|
3713 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3714 |
msgid "Sort by date modified"
|
3715 |
msgstr "Sortiere nach Änderungs-Datum"
|
3716 |
|
3717 |
# @ acf
|
3718 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3719 |
msgid "Sort by title"
|
3720 |
msgstr "Sortiere nach Titel"
|
3721 |
|
3722 |
# @ acf
|
3723 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3724 |
msgid "Reverse current order"
|
3725 |
msgstr "Aktuelle Sortierung umkehren"
|
3726 |
|
3727 |
# @ acf
|
3728 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3729 |
msgid "Close"
|
3730 |
msgstr "Schließen"
|
3731 |
|
3732 |
# @ acf
|
3733 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3734 |
msgid "Minimum Selection"
|
3735 |
msgstr "Minimale Auswahl"
|
3736 |
|
3737 |
# @ acf
|
3738 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3739 |
msgid "Maximum Selection"
|
3740 |
msgstr "Maximale Auswahl"
|
3741 |
|
3742 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3743 |
msgid "Insert"
|
3744 |
msgstr "Einfügen"
|
3745 |
|
3746 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3747 |
msgid "Specify where new attachments are added"
|
3748 |
msgstr "Gibt an wo neue Anhänge hinzugefügt werden"
|
3749 |
|
3750 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3751 |
msgid "Append to the end"
|
3752 |
msgstr "Anhängen"
|
3753 |
|
3754 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3755 |
msgid "Prepend to the beginning"
|
3756 |
msgstr "Voranstellen"
|
3757 |
|
@@ -3835,6 +3833,23 @@ msgstr "Elliot Condon"
|
|
3835 |
msgid "http://www.elliotcondon.com/"
|
3836 |
msgstr "http://www.elliotcondon.com/"
|
3837 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3838 |
#~ msgid "Error validating request"
|
3839 |
#~ msgstr "Fehler bei der Überprüfung der Anfrage"
|
3840 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Advanced Custom Fields Pro v5.7.11\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
+
"POT-Creation-Date: 2019-01-31 12:36+0100\n"
|
6 |
+
"PO-Revision-Date: 2019-02-01 01:54+0100\n"
|
7 |
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
8 |
"Language-Team: Ralf Koller <r.koller@gmail.com>\n"
|
9 |
"Language: de_DE\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"X-Generator: Poedit 2.2.1\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
# @ acf
|
31 |
+
#: acf.php:363 includes/admin/admin.php:58
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Feldgruppen"
|
34 |
|
35 |
# @ acf
|
36 |
+
#: acf.php:364
|
37 |
msgid "Field Group"
|
38 |
msgstr "Feldgruppe"
|
39 |
|
40 |
# @ acf
|
41 |
+
#: acf.php:365 acf.php:397 includes/admin/admin.php:59
|
42 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
43 |
msgid "Add New"
|
44 |
msgstr "Erstellen"
|
45 |
|
46 |
# @ acf
|
47 |
+
#: acf.php:366
|
48 |
msgid "Add New Field Group"
|
49 |
msgstr "Neue Feldgruppe erstellen"
|
50 |
|
51 |
# @ acf
|
52 |
+
#: acf.php:367
|
53 |
msgid "Edit Field Group"
|
54 |
msgstr "Feldgruppe bearbeiten"
|
55 |
|
56 |
# @ acf
|
57 |
+
#: acf.php:368
|
58 |
msgid "New Field Group"
|
59 |
msgstr "Neue Feldgruppe"
|
60 |
|
61 |
# @ acf
|
62 |
+
#: acf.php:369
|
63 |
msgid "View Field Group"
|
64 |
msgstr "Feldgruppe anzeigen"
|
65 |
|
66 |
# @ acf
|
67 |
+
#: acf.php:370
|
68 |
msgid "Search Field Groups"
|
69 |
msgstr "Feldgruppen durchsuchen"
|
70 |
|
71 |
# @ acf
|
72 |
+
#: acf.php:371
|
73 |
msgid "No Field Groups found"
|
74 |
msgstr "Keine Feldgruppen gefunden"
|
75 |
|
76 |
# @ acf
|
77 |
+
#: acf.php:372
|
78 |
msgid "No Field Groups found in Trash"
|
79 |
msgstr "Keine Feldgruppen im Papierkorb gefunden"
|
80 |
|
81 |
# @ acf
|
82 |
+
#: acf.php:395 includes/admin/admin-field-group.php:220
|
83 |
+
#: includes/admin/admin-field-groups.php:529
|
84 |
#: pro/fields/class-acf-field-clone.php:811
|
85 |
msgid "Fields"
|
86 |
msgstr "Felder"
|
87 |
|
88 |
# @ acf
|
89 |
+
#: acf.php:396
|
90 |
msgid "Field"
|
91 |
msgstr "Feld"
|
92 |
|
93 |
# @ acf
|
94 |
+
#: acf.php:398
|
95 |
msgid "Add New Field"
|
96 |
msgstr "Feld hinzufügen"
|
97 |
|
98 |
# @ acf
|
99 |
+
#: acf.php:399
|
100 |
msgid "Edit Field"
|
101 |
msgstr "Feld bearbeiten"
|
102 |
|
103 |
# @ acf
|
104 |
+
#: acf.php:400 includes/admin/views/field-group-fields.php:41
|
105 |
msgid "New Field"
|
106 |
msgstr "Neues Feld"
|
107 |
|
108 |
# @ acf
|
109 |
+
#: acf.php:401
|
110 |
msgid "View Field"
|
111 |
msgstr "Feld anzeigen"
|
112 |
|
113 |
# @ acf
|
114 |
+
#: acf.php:402
|
115 |
msgid "Search Fields"
|
116 |
msgstr "Felder suchen"
|
117 |
|
118 |
# @ acf
|
119 |
+
#: acf.php:403
|
120 |
msgid "No Fields found"
|
121 |
msgstr "Keine Felder gefunden"
|
122 |
|
123 |
# @ acf
|
124 |
+
#: acf.php:404
|
125 |
msgid "No Fields found in Trash"
|
126 |
msgstr "Keine Felder im Papierkorb gefunden"
|
127 |
|
128 |
+
#: acf.php:443 includes/admin/admin-field-group.php:402
|
129 |
+
#: includes/admin/admin-field-groups.php:586
|
130 |
msgid "Inactive"
|
131 |
msgstr "Inaktiv"
|
132 |
|
133 |
+
#: acf.php:448
|
134 |
#, php-format
|
135 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
136 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
138 |
msgstr[1] "Inaktiv <span class=\"count\">(%s)</span>"
|
139 |
|
140 |
# @ acf
|
141 |
+
#: includes/acf-field-functions.php:823
|
142 |
+
#: includes/admin/admin-field-group.php:178
|
143 |
+
msgid "(no label)"
|
144 |
+
msgstr "(keine Beschriftung)"
|
145 |
+
|
146 |
+
# @ acf
|
147 |
+
#: includes/acf-field-group-functions.php:816
|
148 |
+
#: includes/admin/admin-field-group.php:180
|
149 |
+
msgid "copy"
|
150 |
+
msgstr "Kopie"
|
151 |
+
|
152 |
+
# @ acf
|
153 |
+
#: includes/admin/admin-field-group.php:86
|
154 |
+
#: includes/admin/admin-field-group.php:87
|
155 |
+
#: includes/admin/admin-field-group.php:89
|
156 |
msgid "Field group updated."
|
157 |
msgstr "Feldgruppe aktualisiert."
|
158 |
|
159 |
# @ acf
|
160 |
+
#: includes/admin/admin-field-group.php:88
|
161 |
msgid "Field group deleted."
|
162 |
msgstr "Feldgruppe gelöscht."
|
163 |
|
164 |
# @ acf
|
165 |
+
#: includes/admin/admin-field-group.php:91
|
166 |
msgid "Field group published."
|
167 |
msgstr "Feldgruppe veröffentlicht."
|
168 |
|
169 |
# @ acf
|
170 |
+
#: includes/admin/admin-field-group.php:92
|
171 |
msgid "Field group saved."
|
172 |
msgstr "Feldgruppe gespeichert."
|
173 |
|
174 |
# @ acf
|
175 |
+
#: includes/admin/admin-field-group.php:93
|
176 |
msgid "Field group submitted."
|
177 |
msgstr "Feldgruppe übertragen."
|
178 |
|
179 |
# @ acf
|
180 |
+
#: includes/admin/admin-field-group.php:94
|
181 |
msgid "Field group scheduled for."
|
182 |
msgstr "Feldgruppe geplant für."
|
183 |
|
184 |
# @ acf
|
185 |
+
#: includes/admin/admin-field-group.php:95
|
186 |
msgid "Field group draft updated."
|
187 |
msgstr "Entwurf der Feldgruppe aktualisiert."
|
188 |
|
189 |
# @ acf
|
190 |
+
#: includes/admin/admin-field-group.php:171
|
191 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
192 |
msgstr "Der Feldname darf nicht mit \"field_\" beginnen"
|
193 |
|
194 |
# @ acf
|
195 |
+
#: includes/admin/admin-field-group.php:172
|
196 |
msgid "This field cannot be moved until its changes have been saved"
|
197 |
msgstr ""
|
198 |
"Diese Feld kann erst verschoben werden, wenn die Änderungen gespeichert "
|
199 |
"wurden"
|
200 |
|
201 |
# @ acf
|
202 |
+
#: includes/admin/admin-field-group.php:173
|
203 |
msgid "Field group title is required"
|
204 |
msgstr "Es ist ein Titel für die Feldgruppe erforderlich"
|
205 |
|
206 |
# @ acf
|
207 |
+
#: includes/admin/admin-field-group.php:174
|
208 |
msgid "Move to trash. Are you sure?"
|
209 |
msgstr "Wirklich in den Papierkorb verschieben?"
|
210 |
|
211 |
# @ acf
|
212 |
+
#: includes/admin/admin-field-group.php:175
|
213 |
msgid "No toggle fields available"
|
214 |
msgstr "Es liegen keine Auswahl-Feldtypen vor"
|
215 |
|
216 |
# @ acf
|
217 |
+
#: includes/admin/admin-field-group.php:176
|
218 |
msgid "Move Custom Field"
|
219 |
msgstr "Benutzerdefiniertes Feld verschieben"
|
220 |
|
221 |
# @ acf
|
222 |
+
#: includes/admin/admin-field-group.php:177
|
223 |
msgid "Checked"
|
224 |
msgstr "Ausgewählt"
|
225 |
|
226 |
# @ acf
|
227 |
+
#: includes/admin/admin-field-group.php:179
|
|
|
|
|
|
|
|
|
|
|
228 |
msgid "(this field)"
|
229 |
msgstr "(dieses Feld)"
|
230 |
|
231 |
# @ acf
|
232 |
+
#: includes/admin/admin-field-group.php:181
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
234 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
235 |
#: includes/admin/views/field-group-locations.php:29
|
236 |
#: includes/admin/views/html-location-group.php:3
|
237 |
+
#: includes/api/api-helpers.php:3990
|
238 |
msgid "or"
|
239 |
msgstr "oder"
|
240 |
|
241 |
# @ acf
|
242 |
+
#: includes/admin/admin-field-group.php:182
|
243 |
msgid "Null"
|
244 |
msgstr "Null"
|
245 |
|
246 |
# @ acf
|
247 |
+
#: includes/admin/admin-field-group.php:221
|
248 |
msgid "Location"
|
249 |
msgstr "Position"
|
250 |
|
251 |
+
#: includes/admin/admin-field-group.php:222
|
252 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
253 |
msgid "Settings"
|
254 |
msgstr "Einstellungen"
|
255 |
|
256 |
+
#: includes/admin/admin-field-group.php:372
|
257 |
msgid "Field Keys"
|
258 |
msgstr "Feldschlüssel"
|
259 |
|
260 |
+
#: includes/admin/admin-field-group.php:402
|
261 |
#: includes/admin/views/field-group-options.php:9
|
262 |
msgid "Active"
|
263 |
msgstr "Aktiviert"
|
264 |
|
265 |
# @ acf
|
266 |
+
#: includes/admin/admin-field-group.php:771
|
267 |
msgid "Move Complete."
|
268 |
msgstr "Verschieben erfolgreich abgeschlossen."
|
269 |
|
270 |
# @ acf
|
271 |
+
#: includes/admin/admin-field-group.php:772
|
272 |
#, php-format
|
273 |
msgid "The %s field can now be found in the %s field group"
|
274 |
msgstr "Das Feld \"%s\" wurde in die %s Feldgruppe verschoben"
|
275 |
|
276 |
# @ acf
|
277 |
+
#: includes/admin/admin-field-group.php:773
|
278 |
msgid "Close Window"
|
279 |
msgstr "Schließen"
|
280 |
|
281 |
# @ acf
|
282 |
+
#: includes/admin/admin-field-group.php:814
|
283 |
msgid "Please select the destination for this field"
|
284 |
msgstr "In welche Feldgruppe solle dieses Feld verschoben werden"
|
285 |
|
286 |
# @ acf
|
287 |
+
#: includes/admin/admin-field-group.php:821
|
288 |
msgid "Move Field"
|
289 |
msgstr "Feld verschieben"
|
290 |
|
291 |
+
#: includes/admin/admin-field-groups.php:89
|
292 |
#, php-format
|
293 |
msgid "Active <span class=\"count\">(%s)</span>"
|
294 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
296 |
msgstr[1] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
297 |
|
298 |
# @ acf
|
299 |
+
#: includes/admin/admin-field-groups.php:156
|
300 |
#, php-format
|
301 |
+
msgid "Field group duplicated."
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
msgid_plural "%s field groups duplicated."
|
303 |
+
msgstr[0] "Feldgruppe dupliziert."
|
304 |
msgstr[1] "%s Feldgruppen dupliziert."
|
305 |
|
306 |
# @ acf
|
307 |
+
#: includes/admin/admin-field-groups.php:243
|
|
|
|
|
|
|
|
|
|
|
|
|
308 |
#, php-format
|
309 |
+
msgid "Field group synchronised."
|
310 |
msgid_plural "%s field groups synchronised."
|
311 |
+
msgstr[0] "Field group synchronised."
|
312 |
msgstr[1] "%s Feldgruppen synchronisiert."
|
313 |
|
314 |
# @ acf
|
315 |
+
#: includes/admin/admin-field-groups.php:413
|
316 |
+
#: includes/admin/admin-field-groups.php:576
|
317 |
msgid "Sync available"
|
318 |
msgstr "Synchronisierung verfügbar"
|
319 |
|
320 |
# @ acf
|
321 |
+
#: includes/admin/admin-field-groups.php:526 includes/forms/form-front.php:38
|
322 |
+
#: pro/fields/class-acf-field-gallery.php:372
|
323 |
msgid "Title"
|
324 |
msgstr "Titel"
|
325 |
|
326 |
# @ acf
|
327 |
+
#: includes/admin/admin-field-groups.php:527
|
328 |
#: includes/admin/views/field-group-options.php:96
|
329 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
330 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
331 |
+
#: pro/fields/class-acf-field-gallery.php:399
|
332 |
msgid "Description"
|
333 |
msgstr "Beschreibung"
|
334 |
|
335 |
+
#: includes/admin/admin-field-groups.php:528
|
336 |
msgid "Status"
|
337 |
msgstr "Status"
|
338 |
|
339 |
# @ acf
|
340 |
#. Description of the plugin/theme
|
341 |
+
#: includes/admin/admin-field-groups.php:626
|
342 |
+
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
343 |
msgstr ""
|
344 |
"WordPress durch leistungsfähige, professionelle und zugleich intuitive "
|
345 |
"Felder erweitern."
|
346 |
|
347 |
# @ acf
|
348 |
+
#: includes/admin/admin-field-groups.php:628
|
349 |
#: includes/admin/settings-info.php:76
|
350 |
#: pro/admin/views/html-settings-updates.php:107
|
351 |
msgid "Changelog"
|
352 |
msgstr "Änderungsprotokoll"
|
353 |
|
354 |
+
#: includes/admin/admin-field-groups.php:633
|
355 |
#, php-format
|
356 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
357 |
msgstr "Schau nach was es Neues in <a href=\"%s\">Version %s</a> gibt."
|
358 |
|
359 |
# @ acf
|
360 |
+
#: includes/admin/admin-field-groups.php:636
|
361 |
msgid "Resources"
|
362 |
msgstr "Dokumentation (engl.)"
|
363 |
|
364 |
+
#: includes/admin/admin-field-groups.php:638
|
365 |
msgid "Website"
|
366 |
msgstr "Website"
|
367 |
|
368 |
+
#: includes/admin/admin-field-groups.php:639
|
369 |
msgid "Documentation"
|
370 |
msgstr "Dokumentation"
|
371 |
|
372 |
+
#: includes/admin/admin-field-groups.php:640
|
373 |
msgid "Support"
|
374 |
msgstr "Hilfe"
|
375 |
|
376 |
+
#: includes/admin/admin-field-groups.php:642
|
377 |
#: includes/admin/views/settings-info.php:84
|
378 |
msgid "Pro"
|
379 |
msgstr "Pro"
|
380 |
|
381 |
+
#: includes/admin/admin-field-groups.php:647
|
382 |
#, php-format
|
383 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
384 |
msgstr "Danke für das Vertrauen in <a href=\"%s\">ACF</a>."
|
385 |
|
386 |
# @ acf
|
387 |
+
#: includes/admin/admin-field-groups.php:686
|
388 |
msgid "Duplicate this item"
|
389 |
msgstr "Dieses Element duplizieren"
|
390 |
|
391 |
# @ acf
|
392 |
+
#: includes/admin/admin-field-groups.php:686
|
393 |
+
#: includes/admin/admin-field-groups.php:702
|
394 |
#: includes/admin/views/field-group-field.php:46
|
395 |
#: pro/fields/class-acf-field-flexible-content.php:571
|
396 |
msgid "Duplicate"
|
397 |
msgstr "Duplizieren"
|
398 |
|
399 |
# @ acf
|
400 |
+
#: includes/admin/admin-field-groups.php:719
|
401 |
+
#: includes/fields/class-acf-field-google-map.php:165
|
402 |
+
#: includes/fields/class-acf-field-relationship.php:593
|
403 |
msgid "Search"
|
404 |
msgstr "Suchen"
|
405 |
|
406 |
# @ acf
|
407 |
+
#: includes/admin/admin-field-groups.php:778
|
408 |
#, php-format
|
409 |
msgid "Select %s"
|
410 |
msgstr "%s auswählen"
|
411 |
|
412 |
# @ acf
|
413 |
+
#: includes/admin/admin-field-groups.php:786
|
414 |
msgid "Synchronise field group"
|
415 |
msgstr "Synchronisiere Feldgruppe"
|
416 |
|
417 |
# @ acf
|
418 |
+
#: includes/admin/admin-field-groups.php:786
|
419 |
+
#: includes/admin/admin-field-groups.php:816
|
420 |
msgid "Sync"
|
421 |
msgstr "Synchronisieren"
|
422 |
|
423 |
+
#: includes/admin/admin-field-groups.php:798
|
424 |
msgid "Apply"
|
425 |
msgstr "Anwenden"
|
426 |
|
427 |
# @ acf
|
428 |
+
#: includes/admin/admin-field-groups.php:816
|
429 |
msgid "Bulk Actions"
|
430 |
msgstr "Massenverarbeitung"
|
431 |
|
448 |
msgstr "Übersicht Websites & Upgrades"
|
449 |
|
450 |
# @ acf
|
451 |
+
#: includes/admin/admin.php:54 includes/admin/views/field-group-options.php:110
|
|
|
452 |
msgid "Custom Fields"
|
453 |
msgstr "Eigene Felder"
|
454 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
455 |
# @ acf
|
456 |
#: includes/admin/settings-info.php:50
|
457 |
msgid "Info"
|
540 |
msgstr "Feldgruppen importieren"
|
541 |
|
542 |
# @ acf
|
543 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:47
|
544 |
msgid ""
|
545 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
546 |
"you click the import button below, ACF will import the field groups."
|
550 |
"Feldgruppen hinzufügen."
|
551 |
|
552 |
# @ acf
|
553 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:52
|
554 |
#: includes/fields/class-acf-field-file.php:57
|
555 |
msgid "Select File"
|
556 |
msgstr "Datei auswählen"
|
557 |
|
558 |
# @ acf
|
559 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:62
|
560 |
msgid "Import File"
|
561 |
msgstr "Datei importieren"
|
562 |
|
563 |
# @ acf
|
564 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:85
|
565 |
#: includes/fields/class-acf-field-file.php:170
|
566 |
msgid "No file selected"
|
567 |
msgstr "Keine Datei ausgewählt"
|
568 |
|
569 |
# @ acf
|
570 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:93
|
571 |
msgid "Error uploading file. Please try again"
|
572 |
msgstr "Fehler beim Upload der Datei. Bitte erneut versuchen"
|
573 |
|
574 |
# @ acf
|
575 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:98
|
576 |
msgid "Incorrect file type"
|
577 |
msgstr "Falscher Dateityp"
|
578 |
|
579 |
# @ acf
|
580 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:107
|
581 |
msgid "Import file empty"
|
582 |
msgstr "Die importierte Datei ist leer"
|
583 |
|
584 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:138
|
585 |
#, php-format
|
586 |
msgid "Imported 1 field group"
|
587 |
msgid_plural "Imported %s field groups"
|
628 |
#: includes/fields/class-acf-field-file.php:152
|
629 |
#: includes/fields/class-acf-field-image.php:139
|
630 |
#: includes/fields/class-acf-field-link.php:139
|
631 |
+
#: pro/fields/class-acf-field-gallery.php:359
|
632 |
msgid "Edit"
|
633 |
msgstr "Bearbeiten"
|
634 |
|
736 |
#: includes/fields/class-acf-field-button-group.php:198
|
737 |
#: includes/fields/class-acf-field-checkbox.php:420
|
738 |
#: includes/fields/class-acf-field-radio.php:311
|
739 |
+
#: includes/fields/class-acf-field-select.php:433
|
740 |
#: pro/fields/class-acf-field-flexible-content.php:596
|
741 |
msgid "Label"
|
742 |
msgstr "Beschriftung"
|
917 |
|
918 |
# @ acf
|
919 |
#: includes/admin/views/field-group-options.php:118
|
920 |
+
#: includes/fields/class-acf-field-relationship.php:607
|
921 |
msgid "Featured Image"
|
922 |
msgstr "Beitragsbild"
|
923 |
|
1050 |
msgid "No updates available."
|
1051 |
msgstr "Keine Aktualisierungen verfügbar."
|
1052 |
|
1053 |
+
#: includes/admin/views/html-admin-tools.php:21
|
1054 |
+
msgid "Back to all tools"
|
1055 |
+
msgstr "Zurück zur Werkzeugübersicht"
|
1056 |
+
|
1057 |
# @ acf
|
1058 |
#: includes/admin/views/html-location-group.php:3
|
1059 |
msgid "Show this field group if"
|
1104 |
#: includes/admin/views/html-notice-upgrade.php:24
|
1105 |
#, php-format
|
1106 |
msgid ""
|
1107 |
+
"Please also check all premium add-ons (%s) are updated to the latest version."
|
|
|
1108 |
msgstr ""
|
1109 |
+
"Stelle bitte ebenfalls sicher, dass alle Premium-Add-ons (%s) auf die "
|
1110 |
"neueste Version aktualisiert wurden."
|
1111 |
|
1112 |
+
# @ acf
|
1113 |
+
#: includes/admin/views/settings-addons.php:3
|
1114 |
+
msgid "Add-ons"
|
1115 |
+
msgstr "Zusatz-Module"
|
1116 |
+
|
1117 |
# @ acf
|
1118 |
#: includes/admin/views/settings-addons.php:17
|
1119 |
msgid "Download & Install"
|
1459 |
msgstr "Wir glauben Du wirst die Änderungen in %s lieben."
|
1460 |
|
1461 |
# @ acf
|
1462 |
+
#: includes/api/api-helpers.php:1011
|
1463 |
msgid "Thumbnail"
|
1464 |
msgstr "Miniaturbild"
|
1465 |
|
1466 |
# @ acf
|
1467 |
+
#: includes/api/api-helpers.php:1012
|
1468 |
msgid "Medium"
|
1469 |
msgstr "Mittel"
|
1470 |
|
1471 |
# @ acf
|
1472 |
+
#: includes/api/api-helpers.php:1013
|
1473 |
msgid "Large"
|
1474 |
msgstr "Groß"
|
1475 |
|
1476 |
# @ acf
|
1477 |
+
#: includes/api/api-helpers.php:1062
|
1478 |
msgid "Full Size"
|
1479 |
msgstr "Volle Größe"
|
1480 |
|
1481 |
# @ acf
|
1482 |
+
#: includes/api/api-helpers.php:1831 includes/api/api-term.php:147
|
1483 |
#: pro/fields/class-acf-field-clone.php:996
|
1484 |
msgid "(no title)"
|
1485 |
msgstr "(ohne Titel)"
|
1486 |
|
1487 |
# @ acf
|
1488 |
+
#: includes/api/api-helpers.php:3911
|
1489 |
#, php-format
|
1490 |
msgid "Image width must be at least %dpx."
|
1491 |
msgstr "Die Breite des Bildes muss mindestens %dpx sein."
|
1492 |
|
1493 |
# @ acf
|
1494 |
+
#: includes/api/api-helpers.php:3916
|
1495 |
#, php-format
|
1496 |
msgid "Image width must not exceed %dpx."
|
1497 |
msgstr "Die Breite des Bildes darf %dpx nicht überschreiten."
|
1498 |
|
1499 |
# @ acf
|
1500 |
+
#: includes/api/api-helpers.php:3932
|
1501 |
#, php-format
|
1502 |
msgid "Image height must be at least %dpx."
|
1503 |
msgstr "Die Höhe des Bildes muss mindestens %dpx sein."
|
1504 |
|
1505 |
# @ acf
|
1506 |
+
#: includes/api/api-helpers.php:3937
|
1507 |
#, php-format
|
1508 |
msgid "Image height must not exceed %dpx."
|
1509 |
msgstr "Die Höhe des Bild darf %dpx nicht überschreiten."
|
1510 |
|
1511 |
# @ acf
|
1512 |
+
#: includes/api/api-helpers.php:3955
|
1513 |
#, php-format
|
1514 |
msgid "File size must be at least %s."
|
1515 |
msgstr "Die Dateigröße muss mindestens %s sein."
|
1516 |
|
1517 |
# @ acf
|
1518 |
+
#: includes/api/api-helpers.php:3960
|
1519 |
#, php-format
|
1520 |
msgid "File size must must not exceed %s."
|
1521 |
msgstr "Die Dateigröße darf %s nicht überschreiten."
|
1522 |
|
1523 |
# @ acf
|
1524 |
+
#: includes/api/api-helpers.php:3994
|
1525 |
#, php-format
|
1526 |
msgid "File type must be %s."
|
1527 |
msgstr "Der Dateityp muss %s sein."
|
1528 |
|
1529 |
# @ acf
|
1530 |
+
#: includes/assets.php:168
|
1531 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1532 |
msgstr ""
|
1533 |
"Die vorgenommenen Änderungen gehen verloren wenn diese Seite verlassen wird"
|
1534 |
|
1535 |
+
#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259
|
1536 |
msgctxt "verb"
|
1537 |
msgid "Select"
|
1538 |
msgstr "Auswählen"
|
1539 |
|
1540 |
+
#: includes/assets.php:172
|
1541 |
msgctxt "verb"
|
1542 |
msgid "Edit"
|
1543 |
msgstr "Bearbeiten"
|
1544 |
|
1545 |
+
#: includes/assets.php:173
|
1546 |
msgctxt "verb"
|
1547 |
msgid "Update"
|
1548 |
msgstr "Aktualisieren"
|
1549 |
|
1550 |
# @ acf
|
1551 |
+
#: includes/assets.php:174
|
1552 |
msgid "Uploaded to this post"
|
1553 |
msgstr "Zu diesem Beitrag hochgeladen"
|
1554 |
|
1555 |
# @ acf
|
1556 |
+
#: includes/assets.php:175
|
1557 |
msgid "Expand Details"
|
1558 |
msgstr "Details einblenden"
|
1559 |
|
1560 |
# @ acf
|
1561 |
+
#: includes/assets.php:176
|
1562 |
msgid "Collapse Details"
|
1563 |
msgstr "Details ausblenden"
|
1564 |
|
1565 |
+
#: includes/assets.php:177
|
1566 |
msgid "Restricted"
|
1567 |
msgstr "Eingeschränkt"
|
1568 |
|
1569 |
# @ acf
|
1570 |
+
#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67
|
1571 |
msgid "All images"
|
1572 |
msgstr "Alle Bilder"
|
1573 |
|
1574 |
# @ acf
|
1575 |
+
#: includes/assets.php:181
|
1576 |
msgid "Validation successful"
|
1577 |
msgstr "Überprüfung erfolgreich"
|
1578 |
|
1579 |
# @ acf
|
1580 |
+
#: includes/assets.php:182 includes/validation.php:285
|
1581 |
#: includes/validation.php:296
|
1582 |
msgid "Validation failed"
|
1583 |
msgstr "Überprüfung fehlgeschlagen"
|
1584 |
|
1585 |
# @ acf
|
1586 |
+
#: includes/assets.php:183
|
1587 |
msgid "1 field requires attention"
|
1588 |
msgstr "Für 1 Feld ist eine Aktualisierung notwendig"
|
1589 |
|
1590 |
# @ acf
|
1591 |
+
#: includes/assets.php:184
|
1592 |
#, php-format
|
1593 |
msgid "%d fields require attention"
|
1594 |
msgstr "Für %d Felder ist eine Aktualisierung notwendig"
|
1595 |
|
1596 |
# @ acf
|
1597 |
+
#: includes/assets.php:187
|
1598 |
msgid "Are you sure?"
|
1599 |
msgstr "Wirklich entfernen?"
|
1600 |
|
1601 |
# @ acf
|
1602 |
+
#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79
|
1603 |
#: includes/fields/class-acf-field-true_false.php:159
|
1604 |
#: pro/admin/views/html-settings-updates.php:89
|
1605 |
msgid "Yes"
|
1606 |
msgstr "Ja"
|
1607 |
|
1608 |
# @ acf
|
1609 |
+
#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80
|
1610 |
#: includes/fields/class-acf-field-true_false.php:174
|
1611 |
#: pro/admin/views/html-settings-updates.php:99
|
1612 |
msgid "No"
|
1613 |
msgstr "Nein"
|
1614 |
|
1615 |
# @ acf
|
1616 |
+
#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154
|
1617 |
#: includes/fields/class-acf-field-image.php:141
|
1618 |
#: includes/fields/class-acf-field-link.php:140
|
1619 |
+
#: pro/fields/class-acf-field-gallery.php:360
|
1620 |
+
#: pro/fields/class-acf-field-gallery.php:549
|
1621 |
msgid "Remove"
|
1622 |
msgstr "Entfernen"
|
1623 |
|
1624 |
+
#: includes/assets.php:191
|
1625 |
msgid "Cancel"
|
1626 |
msgstr "Abbrechen"
|
1627 |
|
1628 |
+
#: includes/assets.php:194
|
1629 |
msgid "Has any value"
|
1630 |
msgstr "Hat einen Wert"
|
1631 |
|
1632 |
+
#: includes/assets.php:195
|
1633 |
msgid "Has no value"
|
1634 |
msgstr "Hat keinen Wert"
|
1635 |
|
1636 |
# @ acf
|
1637 |
+
#: includes/assets.php:196
|
1638 |
msgid "Value is equal to"
|
1639 |
msgstr "Wert ist gleich"
|
1640 |
|
1641 |
# @ acf
|
1642 |
+
#: includes/assets.php:197
|
1643 |
msgid "Value is not equal to"
|
1644 |
msgstr "Wert ist ungleich"
|
1645 |
|
1646 |
# @ acf
|
1647 |
+
#: includes/assets.php:198
|
1648 |
msgid "Value matches pattern"
|
1649 |
msgstr "Wert entspricht regulärem Ausdruck"
|
1650 |
|
1651 |
+
#: includes/assets.php:199
|
1652 |
msgid "Value contains"
|
1653 |
msgstr "Wert enthält"
|
1654 |
|
1655 |
# @ acf
|
1656 |
+
#: includes/assets.php:200
|
1657 |
msgid "Value is greater than"
|
1658 |
msgstr "Wert ist größer als"
|
1659 |
|
1660 |
# @ acf
|
1661 |
+
#: includes/assets.php:201
|
1662 |
msgid "Value is less than"
|
1663 |
msgstr "Wert ist kleiner als"
|
1664 |
|
1665 |
+
#: includes/assets.php:202
|
1666 |
msgid "Selection is greater than"
|
1667 |
msgstr "Auswahl ist größer als"
|
1668 |
|
1669 |
# @ acf
|
1670 |
+
#: includes/assets.php:203
|
1671 |
msgid "Selection is less than"
|
1672 |
msgstr "Auswahl ist kleiner als"
|
1673 |
|
1674 |
+
# @ acf
|
1675 |
+
#: includes/assets.php:206 includes/forms/form-comment.php:166
|
1676 |
+
#: pro/admin/admin-options-page.php:325
|
1677 |
+
msgid "Edit field group"
|
1678 |
+
msgstr "Feldgruppe bearbeiten"
|
1679 |
+
|
1680 |
# @ acf
|
1681 |
#: includes/fields.php:308
|
1682 |
msgid "Field type does not exist"
|
1764 |
#: includes/fields/class-acf-field-button-group.php:149
|
1765 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1766 |
#: includes/fields/class-acf-field-radio.php:235
|
1767 |
+
#: includes/fields/class-acf-field-select.php:364
|
1768 |
msgid "Choices"
|
1769 |
msgstr "Auswahlmöglichkeiten"
|
1770 |
|
1772 |
#: includes/fields/class-acf-field-button-group.php:150
|
1773 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1774 |
#: includes/fields/class-acf-field-radio.php:236
|
1775 |
+
#: includes/fields/class-acf-field-select.php:365
|
1776 |
msgid "Enter each choice on a new line."
|
1777 |
msgstr "Jede Auswahlmöglichkeit in eine neue Zeile eingeben."
|
1778 |
|
1780 |
#: includes/fields/class-acf-field-button-group.php:150
|
1781 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1782 |
#: includes/fields/class-acf-field-radio.php:236
|
1783 |
+
#: includes/fields/class-acf-field-select.php:365
|
1784 |
msgid "For more control, you may specify both a value and label like this:"
|
1785 |
msgstr ""
|
1786 |
"Für mehr Kontrolle, kannst Du sowohl einen Wert als auch eine Beschriftung "
|
1790 |
#: includes/fields/class-acf-field-button-group.php:150
|
1791 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1792 |
#: includes/fields/class-acf-field-radio.php:236
|
1793 |
+
#: includes/fields/class-acf-field-select.php:365
|
1794 |
msgid "red : Red"
|
1795 |
msgstr "rot : Rot"
|
1796 |
|
1799 |
#: includes/fields/class-acf-field-page_link.php:513
|
1800 |
#: includes/fields/class-acf-field-post_object.php:411
|
1801 |
#: includes/fields/class-acf-field-radio.php:244
|
1802 |
+
#: includes/fields/class-acf-field-select.php:382
|
1803 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1804 |
+
#: includes/fields/class-acf-field-user.php:393
|
1805 |
msgid "Allow Null?"
|
1806 |
msgstr "NULL-Werte zulassen?"
|
1807 |
|
1813 |
#: includes/fields/class-acf-field-number.php:127
|
1814 |
#: includes/fields/class-acf-field-radio.php:281
|
1815 |
#: includes/fields/class-acf-field-range.php:149
|
1816 |
+
#: includes/fields/class-acf-field-select.php:373
|
1817 |
#: includes/fields/class-acf-field-text.php:119
|
1818 |
#: includes/fields/class-acf-field-textarea.php:102
|
1819 |
#: includes/fields/class-acf-field-true_false.php:135
|
1873 |
#: includes/fields/class-acf-field-button-group.php:197
|
1874 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1875 |
#: includes/fields/class-acf-field-radio.php:310
|
1876 |
+
#: includes/fields/class-acf-field-select.php:432
|
1877 |
msgid "Value"
|
1878 |
msgstr "Wert"
|
1879 |
|
1880 |
#: includes/fields/class-acf-field-button-group.php:199
|
1881 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1882 |
#: includes/fields/class-acf-field-radio.php:312
|
1883 |
+
#: includes/fields/class-acf-field-select.php:434
|
1884 |
msgid "Both (Array)"
|
1885 |
msgstr "Beide (Array)"
|
1886 |
|
1918 |
|
1919 |
# @ acf
|
1920 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1921 |
+
#: includes/fields/class-acf-field-select.php:374
|
1922 |
msgid "Enter each default value on a new line"
|
1923 |
msgstr "Jeden Standardwert in einer neuen Zeile eingeben"
|
1924 |
|
1987 |
msgstr "W"
|
1988 |
|
1989 |
# @ acf
|
1990 |
+
#: includes/fields/class-acf-field-date_picker.php:178
|
1991 |
#: includes/fields/class-acf-field-date_time_picker.php:183
|
1992 |
#: includes/fields/class-acf-field-time_picker.php:109
|
1993 |
msgid "Display Format"
|
1994 |
msgstr "Darstellungsformat"
|
1995 |
|
1996 |
# @ acf
|
1997 |
+
#: includes/fields/class-acf-field-date_picker.php:179
|
1998 |
#: includes/fields/class-acf-field-date_time_picker.php:184
|
1999 |
#: includes/fields/class-acf-field-time_picker.php:110
|
2000 |
msgid "The format displayed when editing a post"
|
2001 |
msgstr "Das Format für die Anzeige in der Bearbeitungsansicht"
|
2002 |
|
2003 |
+
#: includes/fields/class-acf-field-date_picker.php:187
|
2004 |
+
#: includes/fields/class-acf-field-date_picker.php:218
|
2005 |
#: includes/fields/class-acf-field-date_time_picker.php:193
|
2006 |
#: includes/fields/class-acf-field-date_time_picker.php:210
|
2007 |
#: includes/fields/class-acf-field-time_picker.php:117
|
2009 |
msgid "Custom:"
|
2010 |
msgstr "Benutzerdefiniert:"
|
2011 |
|
2012 |
+
#: includes/fields/class-acf-field-date_picker.php:197
|
2013 |
msgid "Save Format"
|
2014 |
msgstr "Speicherformat"
|
2015 |
|
2016 |
+
#: includes/fields/class-acf-field-date_picker.php:198
|
2017 |
msgid "The format used when saving a value"
|
2018 |
msgstr "Das Format das beim Speichern eines Wertes verwendet wird"
|
2019 |
|
2020 |
# @ acf
|
2021 |
+
#: includes/fields/class-acf-field-date_picker.php:208
|
2022 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
2023 |
#: includes/fields/class-acf-field-post_object.php:431
|
2024 |
+
#: includes/fields/class-acf-field-relationship.php:634
|
2025 |
+
#: includes/fields/class-acf-field-select.php:427
|
2026 |
#: includes/fields/class-acf-field-time_picker.php:124
|
2027 |
+
#: includes/fields/class-acf-field-user.php:412
|
2028 |
msgid "Return Format"
|
2029 |
msgstr "Rückgabeformat"
|
2030 |
|
2031 |
# @ acf
|
2032 |
+
#: includes/fields/class-acf-field-date_picker.php:209
|
2033 |
#: includes/fields/class-acf-field-date_time_picker.php:201
|
2034 |
#: includes/fields/class-acf-field-time_picker.php:125
|
2035 |
msgid "The format returned via template functions"
|
2036 |
msgstr "Das Format für die Ausgabe in den Template-Funktionen"
|
2037 |
|
2038 |
# @ acf
|
2039 |
+
#: includes/fields/class-acf-field-date_picker.php:227
|
2040 |
#: includes/fields/class-acf-field-date_time_picker.php:217
|
2041 |
msgid "Week Starts On"
|
2042 |
msgstr "Die Woche beginnt am"
|
2206 |
#: includes/fields/class-acf-field-file.php:259
|
2207 |
#: includes/fields/class-acf-field-image.php:265
|
2208 |
#: includes/fields/class-acf-field-image.php:294
|
2209 |
+
#: pro/fields/class-acf-field-gallery.php:708
|
2210 |
+
#: pro/fields/class-acf-field-gallery.php:737
|
2211 |
msgid "File size"
|
2212 |
msgstr "Dateigröße"
|
2213 |
|
2234 |
# @ acf
|
2235 |
#: includes/fields/class-acf-field-file.php:230
|
2236 |
#: includes/fields/class-acf-field-image.php:230
|
2237 |
+
#: pro/fields/class-acf-field-gallery.php:673
|
2238 |
msgid "Library"
|
2239 |
msgstr "Mediathek"
|
2240 |
|
2241 |
# @ acf
|
2242 |
#: includes/fields/class-acf-field-file.php:231
|
2243 |
#: includes/fields/class-acf-field-image.php:231
|
2244 |
+
#: pro/fields/class-acf-field-gallery.php:674
|
2245 |
msgid "Limit the media library choice"
|
2246 |
msgstr "Beschränkt die Auswahl in der Mediathek"
|
2247 |
|
2255 |
#: includes/locations/class-acf-location-user-form.php:87
|
2256 |
#: includes/locations/class-acf-location-user-role.php:111
|
2257 |
#: includes/locations/class-acf-location-widget.php:83
|
2258 |
+
#: pro/fields/class-acf-field-gallery.php:679
|
2259 |
msgid "All"
|
2260 |
msgstr "Alle"
|
2261 |
|
2262 |
# @ acf
|
2263 |
#: includes/fields/class-acf-field-file.php:237
|
2264 |
#: includes/fields/class-acf-field-image.php:237
|
2265 |
+
#: pro/fields/class-acf-field-gallery.php:680
|
2266 |
msgid "Uploaded to post"
|
2267 |
msgstr "Für den Beitrag hochgeladen"
|
2268 |
|
2269 |
# @ acf
|
2270 |
#: includes/fields/class-acf-field-file.php:244
|
2271 |
#: includes/fields/class-acf-field-image.php:244
|
2272 |
+
#: pro/fields/class-acf-field-gallery.php:687
|
2273 |
msgid "Minimum"
|
2274 |
msgstr "Minimum"
|
2275 |
|
2282 |
# @ acf
|
2283 |
#: includes/fields/class-acf-field-file.php:255
|
2284 |
#: includes/fields/class-acf-field-image.php:273
|
2285 |
+
#: pro/fields/class-acf-field-gallery.php:716
|
2286 |
msgid "Maximum"
|
2287 |
msgstr "Maximum"
|
2288 |
|
2289 |
# @ acf
|
2290 |
#: includes/fields/class-acf-field-file.php:266
|
2291 |
#: includes/fields/class-acf-field-image.php:302
|
2292 |
+
#: pro/fields/class-acf-field-gallery.php:745
|
2293 |
msgid "Allowed file types"
|
2294 |
msgstr "Erlaubte Dateiformate"
|
2295 |
|
2296 |
# @ acf
|
2297 |
#: includes/fields/class-acf-field-file.php:267
|
2298 |
#: includes/fields/class-acf-field-image.php:303
|
2299 |
+
#: pro/fields/class-acf-field-gallery.php:746
|
2300 |
msgid "Comma separated list. Leave blank for all types"
|
2301 |
msgstr ""
|
2302 |
"Eine durch Komma getrennte Liste. Leer lassen um alle Dateiformate zu "
|
2313 |
msgstr "Dieser Browser unterstützt keine Geo-Lokation"
|
2314 |
|
2315 |
# @ acf
|
2316 |
+
#: includes/fields/class-acf-field-google-map.php:166
|
2317 |
msgid "Clear location"
|
2318 |
msgstr "Position löschen"
|
2319 |
|
2320 |
# @ acf
|
2321 |
+
#: includes/fields/class-acf-field-google-map.php:167
|
2322 |
msgid "Find current location"
|
2323 |
msgstr "Aktuelle Position finden"
|
2324 |
|
2325 |
# @ acf
|
2326 |
+
#: includes/fields/class-acf-field-google-map.php:170
|
2327 |
msgid "Search for address..."
|
2328 |
msgstr "Nach der Adresse suchen..."
|
2329 |
|
2330 |
# @ acf
|
2331 |
+
#: includes/fields/class-acf-field-google-map.php:200
|
2332 |
+
#: includes/fields/class-acf-field-google-map.php:211
|
2333 |
msgid "Center"
|
2334 |
msgstr "Mittelpunkt"
|
2335 |
|
2336 |
# @ acf
|
2337 |
+
#: includes/fields/class-acf-field-google-map.php:201
|
2338 |
+
#: includes/fields/class-acf-field-google-map.php:212
|
2339 |
msgid "Center the initial map"
|
2340 |
msgstr "Mittelpunkt der Ausgangskarte"
|
2341 |
|
2342 |
# @ acf
|
2343 |
+
#: includes/fields/class-acf-field-google-map.php:223
|
2344 |
msgid "Zoom"
|
2345 |
msgstr "Zoom"
|
2346 |
|
2347 |
# @ acf
|
2348 |
+
#: includes/fields/class-acf-field-google-map.php:224
|
2349 |
msgid "Set the initial zoom level"
|
2350 |
msgstr "Legt die anfängliche Zoomstufe der Karte fest"
|
2351 |
|
2352 |
# @ acf
|
2353 |
+
#: includes/fields/class-acf-field-google-map.php:233
|
2354 |
#: includes/fields/class-acf-field-image.php:256
|
2355 |
#: includes/fields/class-acf-field-image.php:285
|
2356 |
#: includes/fields/class-acf-field-oembed.php:268
|
2357 |
+
#: pro/fields/class-acf-field-gallery.php:699
|
2358 |
+
#: pro/fields/class-acf-field-gallery.php:728
|
2359 |
msgid "Height"
|
2360 |
msgstr "Höhe"
|
2361 |
|
2362 |
# @ acf
|
2363 |
+
#: includes/fields/class-acf-field-google-map.php:234
|
2364 |
+
msgid "Customize the map height"
|
2365 |
msgstr "Passt die Höhe der Karte an"
|
2366 |
|
2367 |
# @ acf
|
2462 |
# @ acf
|
2463 |
#: includes/fields/class-acf-field-image.php:245
|
2464 |
#: includes/fields/class-acf-field-image.php:274
|
2465 |
+
#: pro/fields/class-acf-field-gallery.php:688
|
2466 |
+
#: pro/fields/class-acf-field-gallery.php:717
|
2467 |
msgid "Restrict which images can be uploaded"
|
2468 |
msgstr "Beschränkt welche Bilder hochgeladen werden können"
|
2469 |
|
2471 |
#: includes/fields/class-acf-field-image.php:248
|
2472 |
#: includes/fields/class-acf-field-image.php:277
|
2473 |
#: includes/fields/class-acf-field-oembed.php:257
|
2474 |
+
#: pro/fields/class-acf-field-gallery.php:691
|
2475 |
+
#: pro/fields/class-acf-field-gallery.php:720
|
2476 |
msgid "Width"
|
2477 |
msgstr "Breite"
|
2478 |
|
2623 |
# @ acf
|
2624 |
#: includes/fields/class-acf-field-page_link.php:485
|
2625 |
#: includes/fields/class-acf-field-post_object.php:383
|
2626 |
+
#: includes/fields/class-acf-field-relationship.php:560
|
2627 |
msgid "Filter by Post Type"
|
2628 |
msgstr "Nach Inhaltstyp filtern"
|
2629 |
|
2630 |
# @ acf
|
2631 |
#: includes/fields/class-acf-field-page_link.php:493
|
2632 |
#: includes/fields/class-acf-field-post_object.php:391
|
2633 |
+
#: includes/fields/class-acf-field-relationship.php:568
|
2634 |
msgid "All post types"
|
2635 |
msgstr "Alle Inhaltstypen"
|
2636 |
|
2637 |
# @ acf
|
2638 |
#: includes/fields/class-acf-field-page_link.php:499
|
2639 |
#: includes/fields/class-acf-field-post_object.php:397
|
2640 |
+
#: includes/fields/class-acf-field-relationship.php:574
|
2641 |
msgid "Filter by Taxonomy"
|
2642 |
msgstr "Nach Taxonomien filtern"
|
2643 |
|
2644 |
# @ acf
|
2645 |
#: includes/fields/class-acf-field-page_link.php:507
|
2646 |
#: includes/fields/class-acf-field-post_object.php:405
|
2647 |
+
#: includes/fields/class-acf-field-relationship.php:582
|
2648 |
msgid "All taxonomies"
|
2649 |
msgstr "Alle Taxonomien"
|
2650 |
|
2655 |
# @ acf
|
2656 |
#: includes/fields/class-acf-field-page_link.php:533
|
2657 |
#: includes/fields/class-acf-field-post_object.php:421
|
2658 |
+
#: includes/fields/class-acf-field-select.php:392
|
2659 |
+
#: includes/fields/class-acf-field-user.php:403
|
2660 |
msgid "Select multiple values?"
|
2661 |
msgstr "Mehrere Werte auswählbar?"
|
2662 |
|
2668 |
# @ acf
|
2669 |
#: includes/fields/class-acf-field-post_object.php:25
|
2670 |
#: includes/fields/class-acf-field-post_object.php:436
|
2671 |
+
#: includes/fields/class-acf-field-relationship.php:639
|
2672 |
msgid "Post Object"
|
2673 |
msgstr "Beitrags-Objekt"
|
2674 |
|
2675 |
# @ acf
|
2676 |
#: includes/fields/class-acf-field-post_object.php:437
|
2677 |
+
#: includes/fields/class-acf-field-relationship.php:640
|
2678 |
msgid "Post ID"
|
2679 |
msgstr "Beitrags-ID"
|
2680 |
|
2730 |
msgstr "Keine Übereinstimmung gefunden"
|
2731 |
|
2732 |
# @ acf
|
2733 |
+
#: includes/fields/class-acf-field-relationship.php:411
|
2734 |
msgid "Select post type"
|
2735 |
msgstr "Inhaltstyp auswählen"
|
2736 |
|
2737 |
# @ acf
|
2738 |
+
#: includes/fields/class-acf-field-relationship.php:420
|
2739 |
msgid "Select taxonomy"
|
2740 |
msgstr "Taxonomie auswählen"
|
2741 |
|
2742 |
# @ acf
|
2743 |
+
#: includes/fields/class-acf-field-relationship.php:477
|
2744 |
msgid "Search..."
|
2745 |
msgstr "Suchen..."
|
2746 |
|
2747 |
# @ acf
|
2748 |
+
#: includes/fields/class-acf-field-relationship.php:588
|
2749 |
msgid "Filters"
|
2750 |
msgstr "Filter"
|
2751 |
|
2752 |
# @ acf
|
2753 |
+
#: includes/fields/class-acf-field-relationship.php:594
|
2754 |
#: includes/locations/class-acf-location-post-type.php:27
|
2755 |
msgid "Post Type"
|
2756 |
msgstr "Inhaltstyp"
|
2757 |
|
2758 |
# @ acf
|
2759 |
+
#: includes/fields/class-acf-field-relationship.php:595
|
2760 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2761 |
#: includes/fields/class-acf-field-taxonomy.php:754
|
2762 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2764 |
msgstr "Taxonomie"
|
2765 |
|
2766 |
# @ acf
|
2767 |
+
#: includes/fields/class-acf-field-relationship.php:602
|
2768 |
msgid "Elements"
|
2769 |
msgstr "Elemente"
|
2770 |
|
2771 |
# @ acf
|
2772 |
+
#: includes/fields/class-acf-field-relationship.php:603
|
2773 |
msgid "Selected elements will be displayed in each result"
|
2774 |
msgstr "Die ausgewählten Elemente werden in jedem Ergebnis angezeigt"
|
2775 |
|
2776 |
# @ acf
|
2777 |
+
#: includes/fields/class-acf-field-relationship.php:614
|
2778 |
msgid "Minimum posts"
|
2779 |
msgstr "Mindestzahl an Beiträgen"
|
2780 |
|
2781 |
# @ acf
|
2782 |
+
#: includes/fields/class-acf-field-relationship.php:623
|
2783 |
msgid "Maximum posts"
|
2784 |
msgstr "Höchstzahl an Beiträgen"
|
2785 |
|
2786 |
# @ acf
|
2787 |
+
#: includes/fields/class-acf-field-relationship.php:727
|
2788 |
+
#: pro/fields/class-acf-field-gallery.php:818
|
2789 |
#, php-format
|
2790 |
msgid "%s requires at least %s selection"
|
2791 |
msgid_plural "%s requires at least %s selections"
|
2866 |
msgstr "Laden fehlgeschlagen"
|
2867 |
|
2868 |
# @ acf
|
2869 |
+
#: includes/fields/class-acf-field-select.php:402
|
2870 |
#: includes/fields/class-acf-field-true_false.php:144
|
2871 |
msgid "Stylised UI"
|
2872 |
msgstr "Select2-Library aktivieren"
|
2873 |
|
2874 |
# @ acf
|
2875 |
+
#: includes/fields/class-acf-field-select.php:412
|
2876 |
msgid "Use AJAX to lazy load choices?"
|
2877 |
msgstr "AJAX verwenden um die Auswahl mittels Lazy Loading zu laden?"
|
2878 |
|
2879 |
+
#: includes/fields/class-acf-field-select.php:428
|
2880 |
msgid "Specify the value returned"
|
2881 |
msgstr "Lege den Rückgabewert fest"
|
2882 |
|
3020 |
msgid "Leave blank for no limit"
|
3021 |
msgstr "Leer lassen für keine Begrenzung"
|
3022 |
|
3023 |
+
#: includes/fields/class-acf-field-text.php:181
|
3024 |
+
#: includes/fields/class-acf-field-textarea.php:213
|
3025 |
+
#, php-format
|
3026 |
+
msgid "Value must not exceed %d characters"
|
3027 |
+
msgstr "Wert darf %d Zeichen nicht überschreiten"
|
3028 |
+
|
3029 |
# @ acf
|
3030 |
#: includes/fields/class-acf-field-textarea.php:25
|
3031 |
msgid "Text Area"
|
3086 |
msgstr "Benutzer"
|
3087 |
|
3088 |
# @ acf
|
3089 |
+
#: includes/fields/class-acf-field-user.php:378
|
3090 |
msgid "Filter by role"
|
3091 |
msgstr "Nach Rolle filtern"
|
3092 |
|
3093 |
# @ acf
|
3094 |
+
#: includes/fields/class-acf-field-user.php:386
|
3095 |
msgid "All user roles"
|
3096 |
msgstr "Alle Benutzerrollen"
|
3097 |
|
3098 |
# @ acf
|
3099 |
+
#: includes/fields/class-acf-field-user.php:417
|
3100 |
msgid "User Array"
|
3101 |
msgstr "Benutzer-Array"
|
3102 |
|
3103 |
# @ acf
|
3104 |
+
#: includes/fields/class-acf-field-user.php:418
|
3105 |
msgid "User Object"
|
3106 |
msgstr "Benutzer-Objekt"
|
3107 |
|
3108 |
# @ acf
|
3109 |
+
#: includes/fields/class-acf-field-user.php:419
|
3110 |
msgid "User ID"
|
3111 |
msgstr "Benutzer-ID"
|
3112 |
|
3168 |
msgid "TinyMCE will not be initalized until field is clicked"
|
3169 |
msgstr "TinyMCE wird nicht initialisiert solange das Feld nicht geklickt wurde"
|
3170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3171 |
#: includes/forms/form-front.php:55
|
3172 |
msgid "Validate Email"
|
3173 |
msgstr "E-Mail bestätigen"
|
3174 |
|
3175 |
# @ acf
|
3176 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591
|
3177 |
#: pro/options-page.php:81
|
3178 |
msgid "Update"
|
3179 |
msgstr "Aktualisieren"
|
3285 |
msgstr "Seiten-Template"
|
3286 |
|
3287 |
# @ acf
|
3288 |
+
#: includes/locations/class-acf-location-page-template.php:87
|
3289 |
+
#: includes/locations/class-acf-location-post-template.php:134
|
3290 |
msgid "Default Template"
|
3291 |
msgstr "Standard-Template"
|
3292 |
|
3383 |
msgstr "Advanced Custom Fields PRO"
|
3384 |
|
3385 |
# @ acf
|
3386 |
+
#: pro/admin/admin-options-page.php:198
|
3387 |
msgid "Publish"
|
3388 |
msgstr "Veröffentlichen"
|
3389 |
|
3390 |
# @ acf
|
3391 |
+
#: pro/admin/admin-options-page.php:204
|
3392 |
#, php-format
|
3393 |
msgid ""
|
3394 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
3398 |
"Feldgruppe erstellen</a>"
|
3399 |
|
3400 |
# @ acf
|
3401 |
+
#: pro/admin/admin-updates.php:49
|
3402 |
msgid "<b>Error</b>. Could not connect to update server"
|
3403 |
msgstr ""
|
3404 |
"<b>Fehler</b>. Es konnte keine Verbindung zum Update-Server hergestellt "
|
3405 |
"werden"
|
3406 |
|
3407 |
# @ acf
|
3408 |
+
#: pro/admin/admin-updates.php:118 pro/admin/views/html-settings-updates.php:13
|
|
|
3409 |
msgid "Updates"
|
3410 |
msgstr "Aktualisierungen"
|
3411 |
|
3412 |
+
#: pro/admin/admin-updates.php:191
|
3413 |
+
msgid ""
|
3414 |
+
"<b>Error</b>. Could not authenticate update package. Please check again or "
|
3415 |
+
"deactivate and reactivate your ACF PRO license."
|
3416 |
+
msgstr ""
|
3417 |
+
"<b>Fehler</b>. Das Update-Packet konnte nicht authentifiziert werden. Bitte "
|
3418 |
+
"probiere es nochmal oder deaktiviere und reaktiviere deine ACF PRO-Lizenz."
|
3419 |
+
|
3420 |
# @ acf
|
3421 |
#: pro/admin/views/html-settings-updates.php:7
|
3422 |
msgid "Deactivate License"
|
3680 |
msgstr "Maximale Auswahl erreicht"
|
3681 |
|
3682 |
# @ acf
|
3683 |
+
#: pro/fields/class-acf-field-gallery.php:338
|
3684 |
msgid "Length"
|
3685 |
msgstr "Länge"
|
3686 |
|
3687 |
+
#: pro/fields/class-acf-field-gallery.php:381
|
3688 |
msgid "Caption"
|
3689 |
msgstr "Bildunterschrift"
|
3690 |
|
3691 |
+
#: pro/fields/class-acf-field-gallery.php:390
|
3692 |
msgid "Alt Text"
|
3693 |
msgstr "Alt Text"
|
3694 |
|
3695 |
# @ acf
|
3696 |
+
#: pro/fields/class-acf-field-gallery.php:562
|
3697 |
msgid "Add to gallery"
|
3698 |
msgstr "Zur Galerie hinzufügen"
|
3699 |
|
3700 |
# @ acf
|
3701 |
+
#: pro/fields/class-acf-field-gallery.php:566
|
3702 |
msgid "Bulk actions"
|
3703 |
msgstr "Massenverarbeitung"
|
3704 |
|
3705 |
# @ acf
|
3706 |
+
#: pro/fields/class-acf-field-gallery.php:567
|
3707 |
msgid "Sort by date uploaded"
|
3708 |
msgstr "Sortiere nach Upload-Datum"
|
3709 |
|
3710 |
# @ acf
|
3711 |
+
#: pro/fields/class-acf-field-gallery.php:568
|
3712 |
msgid "Sort by date modified"
|
3713 |
msgstr "Sortiere nach Änderungs-Datum"
|
3714 |
|
3715 |
# @ acf
|
3716 |
+
#: pro/fields/class-acf-field-gallery.php:569
|
3717 |
msgid "Sort by title"
|
3718 |
msgstr "Sortiere nach Titel"
|
3719 |
|
3720 |
# @ acf
|
3721 |
+
#: pro/fields/class-acf-field-gallery.php:570
|
3722 |
msgid "Reverse current order"
|
3723 |
msgstr "Aktuelle Sortierung umkehren"
|
3724 |
|
3725 |
# @ acf
|
3726 |
+
#: pro/fields/class-acf-field-gallery.php:588
|
3727 |
msgid "Close"
|
3728 |
msgstr "Schließen"
|
3729 |
|
3730 |
# @ acf
|
3731 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
3732 |
msgid "Minimum Selection"
|
3733 |
msgstr "Minimale Auswahl"
|
3734 |
|
3735 |
# @ acf
|
3736 |
+
#: pro/fields/class-acf-field-gallery.php:651
|
3737 |
msgid "Maximum Selection"
|
3738 |
msgstr "Maximale Auswahl"
|
3739 |
|
3740 |
+
#: pro/fields/class-acf-field-gallery.php:660
|
3741 |
msgid "Insert"
|
3742 |
msgstr "Einfügen"
|
3743 |
|
3744 |
+
#: pro/fields/class-acf-field-gallery.php:661
|
3745 |
msgid "Specify where new attachments are added"
|
3746 |
msgstr "Gibt an wo neue Anhänge hinzugefügt werden"
|
3747 |
|
3748 |
+
#: pro/fields/class-acf-field-gallery.php:665
|
3749 |
msgid "Append to the end"
|
3750 |
msgstr "Anhängen"
|
3751 |
|
3752 |
+
#: pro/fields/class-acf-field-gallery.php:666
|
3753 |
msgid "Prepend to the beginning"
|
3754 |
msgstr "Voranstellen"
|
3755 |
|
3833 |
msgid "http://www.elliotcondon.com/"
|
3834 |
msgstr "http://www.elliotcondon.com/"
|
3835 |
|
3836 |
+
# @ acf
|
3837 |
+
#~ msgid "%s field group duplicated."
|
3838 |
+
#~ msgid_plural "%s field groups duplicated."
|
3839 |
+
#~ msgstr[0] "%s Feldgruppe dupliziert."
|
3840 |
+
#~ msgstr[1] "%s Feldgruppen dupliziert."
|
3841 |
+
|
3842 |
+
# @ acf
|
3843 |
+
#~ msgid "%s field group synchronised."
|
3844 |
+
#~ msgid_plural "%s field groups synchronised."
|
3845 |
+
#~ msgstr[0] "%s Feldgruppe synchronisiert."
|
3846 |
+
#~ msgstr[1] "%s Feldgruppen synchronisiert."
|
3847 |
+
|
3848 |
+
# @ acf
|
3849 |
+
#~ msgid "<b>Error</b>. Could not load add-ons list"
|
3850 |
+
#~ msgstr ""
|
3851 |
+
#~ "<b>Fehler</b>. Die Liste der Zusatz-Module kann nicht geladen werden"
|
3852 |
+
|
3853 |
#~ msgid "Error validating request"
|
3854 |
#~ msgstr "Fehler bei der Überprüfung der Anfrage"
|
3855 |
|
lang/acf-de_DE_formal.mo
CHANGED
Binary file
|
lang/acf-de_DE_formal.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Advanced Custom Fields Pro v5.7.
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
8 |
"Language-Team: Ralf Koller <r.koller@gmail.com>\n"
|
9 |
"Language: de_DE\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
-
"X-Generator: Poedit 2.
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
@@ -28,109 +28,109 @@ msgid "Advanced Custom Fields"
|
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
# @ acf
|
31 |
-
#: acf.php:
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Feldgruppen"
|
34 |
|
35 |
# @ acf
|
36 |
-
#: acf.php:
|
37 |
msgid "Field Group"
|
38 |
msgstr "Feldgruppe"
|
39 |
|
40 |
# @ acf
|
41 |
-
#: acf.php:
|
42 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
43 |
msgid "Add New"
|
44 |
msgstr "Erstellen"
|
45 |
|
46 |
# @ acf
|
47 |
-
#: acf.php:
|
48 |
msgid "Add New Field Group"
|
49 |
msgstr "Neue Feldgruppe erstellen"
|
50 |
|
51 |
# @ acf
|
52 |
-
#: acf.php:
|
53 |
msgid "Edit Field Group"
|
54 |
msgstr "Feldgruppe bearbeiten"
|
55 |
|
56 |
# @ acf
|
57 |
-
#: acf.php:
|
58 |
msgid "New Field Group"
|
59 |
msgstr "Neue Feldgruppe"
|
60 |
|
61 |
# @ acf
|
62 |
-
#: acf.php:
|
63 |
msgid "View Field Group"
|
64 |
msgstr "Feldgruppe anzeigen"
|
65 |
|
66 |
# @ acf
|
67 |
-
#: acf.php:
|
68 |
msgid "Search Field Groups"
|
69 |
msgstr "Feldgruppen durchsuchen"
|
70 |
|
71 |
# @ acf
|
72 |
-
#: acf.php:
|
73 |
msgid "No Field Groups found"
|
74 |
msgstr "Keine Feldgruppen gefunden"
|
75 |
|
76 |
# @ acf
|
77 |
-
#: acf.php:
|
78 |
msgid "No Field Groups found in Trash"
|
79 |
msgstr "Keine Feldgruppen im Papierkorb gefunden"
|
80 |
|
81 |
# @ acf
|
82 |
-
#: acf.php:
|
83 |
-
#: includes/admin/admin-field-groups.php:
|
84 |
#: pro/fields/class-acf-field-clone.php:811
|
85 |
msgid "Fields"
|
86 |
msgstr "Felder"
|
87 |
|
88 |
# @ acf
|
89 |
-
#: acf.php:
|
90 |
msgid "Field"
|
91 |
msgstr "Feld"
|
92 |
|
93 |
# @ acf
|
94 |
-
#: acf.php:
|
95 |
msgid "Add New Field"
|
96 |
msgstr "Feld hinzufügen"
|
97 |
|
98 |
# @ acf
|
99 |
-
#: acf.php:
|
100 |
msgid "Edit Field"
|
101 |
msgstr "Feld bearbeiten"
|
102 |
|
103 |
# @ acf
|
104 |
-
#: acf.php:
|
105 |
msgid "New Field"
|
106 |
msgstr "Neues Feld"
|
107 |
|
108 |
# @ acf
|
109 |
-
#: acf.php:
|
110 |
msgid "View Field"
|
111 |
msgstr "Feld anzeigen"
|
112 |
|
113 |
# @ acf
|
114 |
-
#: acf.php:
|
115 |
msgid "Search Fields"
|
116 |
msgstr "Felder suchen"
|
117 |
|
118 |
# @ acf
|
119 |
-
#: acf.php:
|
120 |
msgid "No Fields found"
|
121 |
msgstr "Keine Felder gefunden"
|
122 |
|
123 |
# @ acf
|
124 |
-
#: acf.php:
|
125 |
msgid "No Fields found in Trash"
|
126 |
msgstr "Keine Felder im Papierkorb gefunden"
|
127 |
|
128 |
-
#: acf.php:
|
129 |
-
#: includes/admin/admin-field-groups.php:
|
130 |
msgid "Inactive"
|
131 |
msgstr "Inaktiv"
|
132 |
|
133 |
-
#: acf.php:
|
134 |
#, php-format
|
135 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
136 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
@@ -138,156 +138,157 @@ msgstr[0] "Inaktiv <span class=\"count\">(%s)</span>"
|
|
138 |
msgstr[1] "Inaktiv <span class=\"count\">(%s)</span>"
|
139 |
|
140 |
# @ acf
|
141 |
-
#: includes/
|
142 |
-
#: includes/admin/admin-field-group.php:
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
msgid "Field group updated."
|
145 |
msgstr "Feldgruppe aktualisiert."
|
146 |
|
147 |
# @ acf
|
148 |
-
#: includes/admin/admin-field-group.php:
|
149 |
msgid "Field group deleted."
|
150 |
msgstr "Feldgruppe gelöscht."
|
151 |
|
152 |
# @ acf
|
153 |
-
#: includes/admin/admin-field-group.php:
|
154 |
msgid "Field group published."
|
155 |
msgstr "Feldgruppe veröffentlicht."
|
156 |
|
157 |
# @ acf
|
158 |
-
#: includes/admin/admin-field-group.php:
|
159 |
msgid "Field group saved."
|
160 |
msgstr "Feldgruppe gespeichert."
|
161 |
|
162 |
# @ acf
|
163 |
-
#: includes/admin/admin-field-group.php:
|
164 |
msgid "Field group submitted."
|
165 |
msgstr "Feldgruppe übertragen."
|
166 |
|
167 |
# @ acf
|
168 |
-
#: includes/admin/admin-field-group.php:
|
169 |
msgid "Field group scheduled for."
|
170 |
msgstr "Feldgruppe geplant für."
|
171 |
|
172 |
# @ acf
|
173 |
-
#: includes/admin/admin-field-group.php:
|
174 |
msgid "Field group draft updated."
|
175 |
msgstr "Entwurf der Feldgruppe aktualisiert."
|
176 |
|
177 |
# @ acf
|
178 |
-
#: includes/admin/admin-field-group.php:
|
179 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
180 |
msgstr "Der Feldname darf nicht mit \"field_\" beginnen"
|
181 |
|
182 |
# @ acf
|
183 |
-
#: includes/admin/admin-field-group.php:
|
184 |
msgid "This field cannot be moved until its changes have been saved"
|
185 |
msgstr ""
|
186 |
"Diese Feld kann erst verschoben werden, wenn die Änderungen gespeichert "
|
187 |
"wurden"
|
188 |
|
189 |
# @ acf
|
190 |
-
#: includes/admin/admin-field-group.php:
|
191 |
msgid "Field group title is required"
|
192 |
msgstr "Es ist ein Titel für die Feldgruppe erforderlich"
|
193 |
|
194 |
# @ acf
|
195 |
-
#: includes/admin/admin-field-group.php:
|
196 |
msgid "Move to trash. Are you sure?"
|
197 |
msgstr "Wirklich in den Papierkorb verschieben?"
|
198 |
|
199 |
# @ acf
|
200 |
-
#: includes/admin/admin-field-group.php:
|
201 |
msgid "No toggle fields available"
|
202 |
msgstr "Es liegen keine Auswahl-Feldtypen vor"
|
203 |
|
204 |
# @ acf
|
205 |
-
#: includes/admin/admin-field-group.php:
|
206 |
msgid "Move Custom Field"
|
207 |
msgstr "Benutzerdefiniertes Feld verschieben"
|
208 |
|
209 |
# @ acf
|
210 |
-
#: includes/admin/admin-field-group.php:
|
211 |
msgid "Checked"
|
212 |
msgstr "Ausgewählt"
|
213 |
|
214 |
# @ acf
|
215 |
-
#: includes/admin/admin-field-group.php:
|
216 |
-
msgid "(no label)"
|
217 |
-
msgstr "(keine Beschriftung)"
|
218 |
-
|
219 |
-
# @ acf
|
220 |
-
#: includes/admin/admin-field-group.php:161
|
221 |
msgid "(this field)"
|
222 |
msgstr "(dieses Feld)"
|
223 |
|
224 |
# @ acf
|
225 |
-
#: includes/admin/admin-field-group.php:
|
226 |
-
#: includes/api/api-field-group.php:751
|
227 |
-
msgid "copy"
|
228 |
-
msgstr "Kopie"
|
229 |
-
|
230 |
-
# @ acf
|
231 |
-
#: includes/admin/admin-field-group.php:163
|
232 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
233 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
234 |
#: includes/admin/views/field-group-locations.php:29
|
235 |
#: includes/admin/views/html-location-group.php:3
|
236 |
-
#: includes/api/api-helpers.php:
|
237 |
msgid "or"
|
238 |
msgstr "oder"
|
239 |
|
240 |
# @ acf
|
241 |
-
#: includes/admin/admin-field-group.php:
|
242 |
msgid "Null"
|
243 |
msgstr "Null"
|
244 |
|
245 |
# @ acf
|
246 |
-
#: includes/admin/admin-field-group.php:
|
247 |
msgid "Location"
|
248 |
msgstr "Position"
|
249 |
|
250 |
-
#: includes/admin/admin-field-group.php:
|
251 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
252 |
msgid "Settings"
|
253 |
msgstr "Einstellungen"
|
254 |
|
255 |
-
#: includes/admin/admin-field-group.php:
|
256 |
msgid "Field Keys"
|
257 |
msgstr "Feldschlüssel"
|
258 |
|
259 |
-
#: includes/admin/admin-field-group.php:
|
260 |
#: includes/admin/views/field-group-options.php:9
|
261 |
msgid "Active"
|
262 |
msgstr "Aktiviert"
|
263 |
|
264 |
# @ acf
|
265 |
-
#: includes/admin/admin-field-group.php:
|
266 |
msgid "Move Complete."
|
267 |
msgstr "Verschieben erfolgreich abgeschlossen."
|
268 |
|
269 |
# @ acf
|
270 |
-
#: includes/admin/admin-field-group.php:
|
271 |
#, php-format
|
272 |
msgid "The %s field can now be found in the %s field group"
|
273 |
msgstr "Das Feld \"%s\" wurde in die %s Feldgruppe verschoben"
|
274 |
|
275 |
# @ acf
|
276 |
-
#: includes/admin/admin-field-group.php:
|
277 |
msgid "Close Window"
|
278 |
msgstr "Schließen"
|
279 |
|
280 |
# @ acf
|
281 |
-
#: includes/admin/admin-field-group.php:
|
282 |
msgid "Please select the destination for this field"
|
283 |
msgstr "In welche Feldgruppe solle dieses Feld verschoben werden"
|
284 |
|
285 |
# @ acf
|
286 |
-
#: includes/admin/admin-field-group.php:
|
287 |
msgid "Move Field"
|
288 |
msgstr "Feld verschieben"
|
289 |
|
290 |
-
#: includes/admin/admin-field-groups.php:
|
291 |
#, php-format
|
292 |
msgid "Active <span class=\"count\">(%s)</span>"
|
293 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
@@ -295,148 +296,136 @@ msgstr[0] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
|
295 |
msgstr[1] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
296 |
|
297 |
# @ acf
|
298 |
-
#: includes/admin/admin-field-groups.php:
|
299 |
#, php-format
|
300 |
-
msgid "Field group duplicated.
|
301 |
-
msgstr "Feldgruppe dupliziert. %s"
|
302 |
-
|
303 |
-
# @ acf
|
304 |
-
#: includes/admin/admin-field-groups.php:146
|
305 |
-
#, php-format
|
306 |
-
msgid "%s field group duplicated."
|
307 |
msgid_plural "%s field groups duplicated."
|
308 |
-
msgstr[0] "
|
309 |
msgstr[1] "%s Feldgruppen dupliziert."
|
310 |
|
311 |
# @ acf
|
312 |
-
#: includes/admin/admin-field-groups.php:
|
313 |
-
#, php-format
|
314 |
-
msgid "Field group synchronised. %s"
|
315 |
-
msgstr "Feldgruppe synchronisiert. %s"
|
316 |
-
|
317 |
-
# @ acf
|
318 |
-
#: includes/admin/admin-field-groups.php:231
|
319 |
#, php-format
|
320 |
-
msgid "
|
321 |
msgid_plural "%s field groups synchronised."
|
322 |
-
msgstr[0] "
|
323 |
msgstr[1] "%s Feldgruppen synchronisiert."
|
324 |
|
325 |
# @ acf
|
326 |
-
#: includes/admin/admin-field-groups.php:
|
327 |
-
#: includes/admin/admin-field-groups.php:
|
328 |
msgid "Sync available"
|
329 |
msgstr "Synchronisierung verfügbar"
|
330 |
|
331 |
# @ acf
|
332 |
-
#: includes/admin/admin-field-groups.php:
|
333 |
-
#: pro/fields/class-acf-field-gallery.php:
|
334 |
msgid "Title"
|
335 |
msgstr "Titel"
|
336 |
|
337 |
# @ acf
|
338 |
-
#: includes/admin/admin-field-groups.php:
|
339 |
#: includes/admin/views/field-group-options.php:96
|
340 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
341 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
342 |
-
#: pro/fields/class-acf-field-gallery.php:
|
343 |
msgid "Description"
|
344 |
msgstr "Beschreibung"
|
345 |
|
346 |
-
#: includes/admin/admin-field-groups.php:
|
347 |
msgid "Status"
|
348 |
msgstr "Status"
|
349 |
|
350 |
# @ acf
|
351 |
#. Description of the plugin/theme
|
352 |
-
#: includes/admin/admin-field-groups.php:
|
353 |
-
msgid "
|
354 |
msgstr ""
|
355 |
"WordPress durch leistungsfähige, professionelle und zugleich intuitive "
|
356 |
"Felder erweitern."
|
357 |
|
358 |
# @ acf
|
359 |
-
#: includes/admin/admin-field-groups.php:
|
360 |
#: includes/admin/settings-info.php:76
|
361 |
#: pro/admin/views/html-settings-updates.php:107
|
362 |
msgid "Changelog"
|
363 |
msgstr "Änderungsprotokoll"
|
364 |
|
365 |
-
#: includes/admin/admin-field-groups.php:
|
366 |
#, php-format
|
367 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
368 |
msgstr "Was gibt es Neues in <a href=\"%s\">Version %s</a>."
|
369 |
|
370 |
# @ acf
|
371 |
-
#: includes/admin/admin-field-groups.php:
|
372 |
msgid "Resources"
|
373 |
msgstr "Dokumentation (engl.)"
|
374 |
|
375 |
-
#: includes/admin/admin-field-groups.php:
|
376 |
msgid "Website"
|
377 |
msgstr "Website"
|
378 |
|
379 |
-
#: includes/admin/admin-field-groups.php:
|
380 |
msgid "Documentation"
|
381 |
msgstr "Dokumentation"
|
382 |
|
383 |
-
#: includes/admin/admin-field-groups.php:
|
384 |
msgid "Support"
|
385 |
msgstr "Hilfe"
|
386 |
|
387 |
-
#: includes/admin/admin-field-groups.php:
|
388 |
#: includes/admin/views/settings-info.php:84
|
389 |
msgid "Pro"
|
390 |
msgstr "Pro"
|
391 |
|
392 |
-
#: includes/admin/admin-field-groups.php:
|
393 |
#, php-format
|
394 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
395 |
msgstr "Danke für das Vertrauen in <a href=\"%s\">ACF</a>."
|
396 |
|
397 |
# @ acf
|
398 |
-
#: includes/admin/admin-field-groups.php:
|
399 |
msgid "Duplicate this item"
|
400 |
msgstr "Dieses Element duplizieren"
|
401 |
|
402 |
# @ acf
|
403 |
-
#: includes/admin/admin-field-groups.php:
|
404 |
-
#: includes/admin/admin-field-groups.php:
|
405 |
#: includes/admin/views/field-group-field.php:46
|
406 |
#: pro/fields/class-acf-field-flexible-content.php:571
|
407 |
msgid "Duplicate"
|
408 |
msgstr "Duplizieren"
|
409 |
|
410 |
# @ acf
|
411 |
-
#: includes/admin/admin-field-groups.php:
|
412 |
-
#: includes/fields/class-acf-field-google-map.php:
|
413 |
-
#: includes/fields/class-acf-field-relationship.php:
|
414 |
msgid "Search"
|
415 |
msgstr "Suchen"
|
416 |
|
417 |
# @ acf
|
418 |
-
#: includes/admin/admin-field-groups.php:
|
419 |
#, php-format
|
420 |
msgid "Select %s"
|
421 |
msgstr "%s auswählen"
|
422 |
|
423 |
# @ acf
|
424 |
-
#: includes/admin/admin-field-groups.php:
|
425 |
msgid "Synchronise field group"
|
426 |
msgstr "Synchronisiere Feldgruppe"
|
427 |
|
428 |
# @ acf
|
429 |
-
#: includes/admin/admin-field-groups.php:
|
430 |
-
#: includes/admin/admin-field-groups.php:
|
431 |
msgid "Sync"
|
432 |
msgstr "Synchronisieren"
|
433 |
|
434 |
-
#: includes/admin/admin-field-groups.php:
|
435 |
msgid "Apply"
|
436 |
msgstr "Anwenden"
|
437 |
|
438 |
# @ acf
|
439 |
-
#: includes/admin/admin-field-groups.php:
|
440 |
msgid "Bulk Actions"
|
441 |
msgstr "Massenverarbeitung"
|
442 |
|
@@ -459,22 +448,10 @@ msgid "Review sites & upgrade"
|
|
459 |
msgstr "Übersicht Websites & Upgrades"
|
460 |
|
461 |
# @ acf
|
462 |
-
#: includes/admin/admin.php:
|
463 |
-
#: includes/admin/views/field-group-options.php:110
|
464 |
msgid "Custom Fields"
|
465 |
msgstr "Eigene Felder"
|
466 |
|
467 |
-
# @ acf
|
468 |
-
#: includes/admin/settings-addons.php:51
|
469 |
-
#: includes/admin/views/settings-addons.php:3
|
470 |
-
msgid "Add-ons"
|
471 |
-
msgstr "Zusatz-Module"
|
472 |
-
|
473 |
-
# @ acf
|
474 |
-
#: includes/admin/settings-addons.php:87
|
475 |
-
msgid "<b>Error</b>. Could not load add-ons list"
|
476 |
-
msgstr "<b>Fehler</b>. Die Liste der Zusatz-Module kann nicht geladen werden"
|
477 |
-
|
478 |
# @ acf
|
479 |
#: includes/admin/settings-info.php:50
|
480 |
msgid "Info"
|
@@ -563,7 +540,7 @@ msgid "Import Field Groups"
|
|
563 |
msgstr "Feldgruppen importieren"
|
564 |
|
565 |
# @ acf
|
566 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
567 |
msgid ""
|
568 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
569 |
"you click the import button below, ACF will import the field groups."
|
@@ -573,38 +550,38 @@ msgstr ""
|
|
573 |
"Feldgruppen hinzufügen."
|
574 |
|
575 |
# @ acf
|
576 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
577 |
#: includes/fields/class-acf-field-file.php:57
|
578 |
msgid "Select File"
|
579 |
msgstr "Datei auswählen"
|
580 |
|
581 |
# @ acf
|
582 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
583 |
msgid "Import File"
|
584 |
msgstr "Datei importieren"
|
585 |
|
586 |
# @ acf
|
587 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
588 |
#: includes/fields/class-acf-field-file.php:170
|
589 |
msgid "No file selected"
|
590 |
msgstr "Keine Datei ausgewählt"
|
591 |
|
592 |
# @ acf
|
593 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
594 |
msgid "Error uploading file. Please try again"
|
595 |
msgstr "Fehler beim Upload der Datei. Bitte versuchen Sie es erneut"
|
596 |
|
597 |
# @ acf
|
598 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
599 |
msgid "Incorrect file type"
|
600 |
msgstr "Falscher Dateityp"
|
601 |
|
602 |
# @ acf
|
603 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
604 |
msgid "Import file empty"
|
605 |
msgstr "Die importierte Datei ist leer"
|
606 |
|
607 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
608 |
#, php-format
|
609 |
msgid "Imported 1 field group"
|
610 |
msgid_plural "Imported %s field groups"
|
@@ -651,7 +628,7 @@ msgstr "Feld bearbeiten"
|
|
651 |
#: includes/fields/class-acf-field-file.php:152
|
652 |
#: includes/fields/class-acf-field-image.php:139
|
653 |
#: includes/fields/class-acf-field-link.php:139
|
654 |
-
#: pro/fields/class-acf-field-gallery.php:
|
655 |
msgid "Edit"
|
656 |
msgstr "Bearbeiten"
|
657 |
|
@@ -759,7 +736,7 @@ msgstr "Reihenfolge"
|
|
759 |
#: includes/fields/class-acf-field-button-group.php:198
|
760 |
#: includes/fields/class-acf-field-checkbox.php:420
|
761 |
#: includes/fields/class-acf-field-radio.php:311
|
762 |
-
#: includes/fields/class-acf-field-select.php:
|
763 |
#: pro/fields/class-acf-field-flexible-content.php:596
|
764 |
msgid "Label"
|
765 |
msgstr "Beschriftung"
|
@@ -940,7 +917,7 @@ msgstr "Seiten-Attribute"
|
|
940 |
|
941 |
# @ acf
|
942 |
#: includes/admin/views/field-group-options.php:118
|
943 |
-
#: includes/fields/class-acf-field-relationship.php:
|
944 |
msgid "Featured Image"
|
945 |
msgstr "Beitragsbild"
|
946 |
|
@@ -1073,6 +1050,10 @@ msgstr ""
|
|
1073 |
msgid "No updates available."
|
1074 |
msgstr "Keine Aktualisierungen verfügbar."
|
1075 |
|
|
|
|
|
|
|
|
|
1076 |
# @ acf
|
1077 |
#: includes/admin/views/html-location-group.php:3
|
1078 |
msgid "Show this field group if"
|
@@ -1123,11 +1104,15 @@ msgstr ""
|
|
1123 |
#: includes/admin/views/html-notice-upgrade.php:24
|
1124 |
#, php-format
|
1125 |
msgid ""
|
1126 |
-
"Please also
|
1127 |
-
"latest version."
|
1128 |
msgstr ""
|
1129 |
-
"Stellen Sie bitte ebenfalls sicher, dass alle Premium-Add-ons (%s)
|
1130 |
-
"
|
|
|
|
|
|
|
|
|
|
|
1131 |
|
1132 |
# @ acf
|
1133 |
#: includes/admin/views/settings-addons.php:17
|
@@ -1474,218 +1459,224 @@ msgid "We think you'll love the changes in %s."
|
|
1474 |
msgstr "Wir glauben Sie werden die Änderungen in %s lieben."
|
1475 |
|
1476 |
# @ acf
|
1477 |
-
#: includes/api/api-helpers.php:
|
1478 |
msgid "Thumbnail"
|
1479 |
msgstr "Miniaturbild"
|
1480 |
|
1481 |
# @ acf
|
1482 |
-
#: includes/api/api-helpers.php:
|
1483 |
msgid "Medium"
|
1484 |
msgstr "Mittel"
|
1485 |
|
1486 |
# @ acf
|
1487 |
-
#: includes/api/api-helpers.php:
|
1488 |
msgid "Large"
|
1489 |
msgstr "Groß"
|
1490 |
|
1491 |
# @ acf
|
1492 |
-
#: includes/api/api-helpers.php:
|
1493 |
msgid "Full Size"
|
1494 |
msgstr "Volle Größe"
|
1495 |
|
1496 |
# @ acf
|
1497 |
-
#: includes/api/api-helpers.php:
|
1498 |
#: pro/fields/class-acf-field-clone.php:996
|
1499 |
msgid "(no title)"
|
1500 |
msgstr "(ohne Titel)"
|
1501 |
|
1502 |
# @ acf
|
1503 |
-
#: includes/api/api-helpers.php:
|
1504 |
#, php-format
|
1505 |
msgid "Image width must be at least %dpx."
|
1506 |
msgstr "Die Breite des Bildes muss mindestens %dpx sein."
|
1507 |
|
1508 |
# @ acf
|
1509 |
-
#: includes/api/api-helpers.php:
|
1510 |
#, php-format
|
1511 |
msgid "Image width must not exceed %dpx."
|
1512 |
msgstr "Die Breite des Bildes darf %dpx nicht überschreiten."
|
1513 |
|
1514 |
# @ acf
|
1515 |
-
#: includes/api/api-helpers.php:
|
1516 |
#, php-format
|
1517 |
msgid "Image height must be at least %dpx."
|
1518 |
msgstr "Die Höhe des Bildes muss mindestens %dpx sein."
|
1519 |
|
1520 |
# @ acf
|
1521 |
-
#: includes/api/api-helpers.php:
|
1522 |
#, php-format
|
1523 |
msgid "Image height must not exceed %dpx."
|
1524 |
msgstr "Die Höhe des Bild darf %dpx nicht überschreiten."
|
1525 |
|
1526 |
# @ acf
|
1527 |
-
#: includes/api/api-helpers.php:
|
1528 |
#, php-format
|
1529 |
msgid "File size must be at least %s."
|
1530 |
msgstr "Die Dateigröße muss mindestens %s sein."
|
1531 |
|
1532 |
# @ acf
|
1533 |
-
#: includes/api/api-helpers.php:
|
1534 |
#, php-format
|
1535 |
msgid "File size must must not exceed %s."
|
1536 |
msgstr "Die Dateigröße darf %s nicht überschreiten."
|
1537 |
|
1538 |
# @ acf
|
1539 |
-
#: includes/api/api-helpers.php:
|
1540 |
#, php-format
|
1541 |
msgid "File type must be %s."
|
1542 |
msgstr "Der Dateityp muss %s sein."
|
1543 |
|
1544 |
# @ acf
|
1545 |
-
#: includes/assets.php:
|
1546 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1547 |
msgstr ""
|
1548 |
"Die vorgenommenen Änderungen gehen verloren wenn diese Seite verlassen wird"
|
1549 |
|
1550 |
-
#: includes/assets.php:
|
1551 |
msgctxt "verb"
|
1552 |
msgid "Select"
|
1553 |
msgstr "Auswählen"
|
1554 |
|
1555 |
-
#: includes/assets.php:
|
1556 |
msgctxt "verb"
|
1557 |
msgid "Edit"
|
1558 |
msgstr "Bearbeiten"
|
1559 |
|
1560 |
-
#: includes/assets.php:
|
1561 |
msgctxt "verb"
|
1562 |
msgid "Update"
|
1563 |
msgstr "Aktualisieren"
|
1564 |
|
1565 |
# @ acf
|
1566 |
-
#: includes/assets.php:
|
1567 |
msgid "Uploaded to this post"
|
1568 |
msgstr "Zu diesem Beitrag hochgeladen"
|
1569 |
|
1570 |
# @ acf
|
1571 |
-
#: includes/assets.php:
|
1572 |
msgid "Expand Details"
|
1573 |
msgstr "Details einblenden"
|
1574 |
|
1575 |
# @ acf
|
1576 |
-
#: includes/assets.php:
|
1577 |
msgid "Collapse Details"
|
1578 |
msgstr "Details ausblenden"
|
1579 |
|
1580 |
-
#: includes/assets.php:
|
1581 |
msgid "Restricted"
|
1582 |
msgstr "Eingeschränkt"
|
1583 |
|
1584 |
# @ acf
|
1585 |
-
#: includes/assets.php:
|
1586 |
msgid "All images"
|
1587 |
msgstr "Alle Bilder"
|
1588 |
|
1589 |
# @ acf
|
1590 |
-
#: includes/assets.php:
|
1591 |
msgid "Validation successful"
|
1592 |
msgstr "Überprüfung erfolgreich"
|
1593 |
|
1594 |
# @ acf
|
1595 |
-
#: includes/assets.php:
|
1596 |
#: includes/validation.php:296
|
1597 |
msgid "Validation failed"
|
1598 |
msgstr "Überprüfung fehlgeschlagen"
|
1599 |
|
1600 |
# @ acf
|
1601 |
-
#: includes/assets.php:
|
1602 |
msgid "1 field requires attention"
|
1603 |
msgstr "Für 1 Feld ist eine Aktualisierung notwendig"
|
1604 |
|
1605 |
# @ acf
|
1606 |
-
#: includes/assets.php:
|
1607 |
#, php-format
|
1608 |
msgid "%d fields require attention"
|
1609 |
msgstr "Für %d Felder ist eine Aktualisierung notwendig"
|
1610 |
|
1611 |
# @ acf
|
1612 |
-
#: includes/assets.php:
|
1613 |
msgid "Are you sure?"
|
1614 |
msgstr "Wirklich entfernen?"
|
1615 |
|
1616 |
# @ acf
|
1617 |
-
#: includes/assets.php:
|
1618 |
#: includes/fields/class-acf-field-true_false.php:159
|
1619 |
#: pro/admin/views/html-settings-updates.php:89
|
1620 |
msgid "Yes"
|
1621 |
msgstr "Ja"
|
1622 |
|
1623 |
# @ acf
|
1624 |
-
#: includes/assets.php:
|
1625 |
#: includes/fields/class-acf-field-true_false.php:174
|
1626 |
#: pro/admin/views/html-settings-updates.php:99
|
1627 |
msgid "No"
|
1628 |
msgstr "Nein"
|
1629 |
|
1630 |
# @ acf
|
1631 |
-
#: includes/assets.php:
|
1632 |
#: includes/fields/class-acf-field-image.php:141
|
1633 |
#: includes/fields/class-acf-field-link.php:140
|
1634 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1635 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1636 |
msgid "Remove"
|
1637 |
msgstr "Entfernen"
|
1638 |
|
1639 |
-
#: includes/assets.php:
|
1640 |
msgid "Cancel"
|
1641 |
msgstr "Abbrechen"
|
1642 |
|
1643 |
-
#: includes/assets.php:
|
1644 |
msgid "Has any value"
|
1645 |
msgstr "Hat einen Wert"
|
1646 |
|
1647 |
-
#: includes/assets.php:
|
1648 |
msgid "Has no value"
|
1649 |
msgstr "Hat keinen Wert"
|
1650 |
|
1651 |
# @ acf
|
1652 |
-
#: includes/assets.php:
|
1653 |
msgid "Value is equal to"
|
1654 |
msgstr "Wert ist gleich"
|
1655 |
|
1656 |
# @ acf
|
1657 |
-
#: includes/assets.php:
|
1658 |
msgid "Value is not equal to"
|
1659 |
msgstr "Wert ist ungleich"
|
1660 |
|
1661 |
# @ acf
|
1662 |
-
#: includes/assets.php:
|
1663 |
msgid "Value matches pattern"
|
1664 |
msgstr "Wert entspricht regulärem Ausdruck"
|
1665 |
|
1666 |
-
#: includes/assets.php:
|
1667 |
msgid "Value contains"
|
1668 |
msgstr "Wert enthält"
|
1669 |
|
1670 |
# @ acf
|
1671 |
-
#: includes/assets.php:
|
1672 |
msgid "Value is greater than"
|
1673 |
msgstr "Wert ist größer als"
|
1674 |
|
1675 |
# @ acf
|
1676 |
-
#: includes/assets.php:
|
1677 |
msgid "Value is less than"
|
1678 |
msgstr "Wert ist kleiner als"
|
1679 |
|
1680 |
-
#: includes/assets.php:
|
1681 |
msgid "Selection is greater than"
|
1682 |
msgstr "Auswahl ist größer als"
|
1683 |
|
1684 |
# @ acf
|
1685 |
-
#: includes/assets.php:
|
1686 |
msgid "Selection is less than"
|
1687 |
msgstr "Auswahl ist kleiner als"
|
1688 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1689 |
# @ acf
|
1690 |
#: includes/fields.php:308
|
1691 |
msgid "Field type does not exist"
|
@@ -1773,7 +1764,7 @@ msgstr "Button-Gruppe"
|
|
1773 |
#: includes/fields/class-acf-field-button-group.php:149
|
1774 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1775 |
#: includes/fields/class-acf-field-radio.php:235
|
1776 |
-
#: includes/fields/class-acf-field-select.php:
|
1777 |
msgid "Choices"
|
1778 |
msgstr "Auswahlmöglichkeiten"
|
1779 |
|
@@ -1781,7 +1772,7 @@ msgstr "Auswahlmöglichkeiten"
|
|
1781 |
#: includes/fields/class-acf-field-button-group.php:150
|
1782 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1783 |
#: includes/fields/class-acf-field-radio.php:236
|
1784 |
-
#: includes/fields/class-acf-field-select.php:
|
1785 |
msgid "Enter each choice on a new line."
|
1786 |
msgstr "Jede Auswahlmöglichkeit in eine neue Zeile eingeben."
|
1787 |
|
@@ -1789,7 +1780,7 @@ msgstr "Jede Auswahlmöglichkeit in eine neue Zeile eingeben."
|
|
1789 |
#: includes/fields/class-acf-field-button-group.php:150
|
1790 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1791 |
#: includes/fields/class-acf-field-radio.php:236
|
1792 |
-
#: includes/fields/class-acf-field-select.php:
|
1793 |
msgid "For more control, you may specify both a value and label like this:"
|
1794 |
msgstr ""
|
1795 |
"Für mehr Kontrolle, können Sie sowohl einen Wert als auch eine Beschriftung "
|
@@ -1799,7 +1790,7 @@ msgstr ""
|
|
1799 |
#: includes/fields/class-acf-field-button-group.php:150
|
1800 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1801 |
#: includes/fields/class-acf-field-radio.php:236
|
1802 |
-
#: includes/fields/class-acf-field-select.php:
|
1803 |
msgid "red : Red"
|
1804 |
msgstr "rot : Rot"
|
1805 |
|
@@ -1808,9 +1799,9 @@ msgstr "rot : Rot"
|
|
1808 |
#: includes/fields/class-acf-field-page_link.php:513
|
1809 |
#: includes/fields/class-acf-field-post_object.php:411
|
1810 |
#: includes/fields/class-acf-field-radio.php:244
|
1811 |
-
#: includes/fields/class-acf-field-select.php:
|
1812 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1813 |
-
#: includes/fields/class-acf-field-user.php:
|
1814 |
msgid "Allow Null?"
|
1815 |
msgstr "NULL-Werte zulassen?"
|
1816 |
|
@@ -1822,7 +1813,7 @@ msgstr "NULL-Werte zulassen?"
|
|
1822 |
#: includes/fields/class-acf-field-number.php:127
|
1823 |
#: includes/fields/class-acf-field-radio.php:281
|
1824 |
#: includes/fields/class-acf-field-range.php:149
|
1825 |
-
#: includes/fields/class-acf-field-select.php:
|
1826 |
#: includes/fields/class-acf-field-text.php:119
|
1827 |
#: includes/fields/class-acf-field-textarea.php:102
|
1828 |
#: includes/fields/class-acf-field-true_false.php:135
|
@@ -1882,14 +1873,14 @@ msgstr "Legt den Rückgabewert für das Frontend fest"
|
|
1882 |
#: includes/fields/class-acf-field-button-group.php:197
|
1883 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1884 |
#: includes/fields/class-acf-field-radio.php:310
|
1885 |
-
#: includes/fields/class-acf-field-select.php:
|
1886 |
msgid "Value"
|
1887 |
msgstr "Wert"
|
1888 |
|
1889 |
#: includes/fields/class-acf-field-button-group.php:199
|
1890 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1891 |
#: includes/fields/class-acf-field-radio.php:312
|
1892 |
-
#: includes/fields/class-acf-field-select.php:
|
1893 |
msgid "Both (Array)"
|
1894 |
msgstr "Beide (Array)"
|
1895 |
|
@@ -1927,7 +1918,7 @@ msgstr ""
|
|
1927 |
|
1928 |
# @ acf
|
1929 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1930 |
-
#: includes/fields/class-acf-field-select.php:
|
1931 |
msgid "Enter each default value on a new line"
|
1932 |
msgstr "Jeden Standardwert in einer neuen Zeile eingeben"
|
1933 |
|
@@ -1996,21 +1987,21 @@ msgid "Wk"
|
|
1996 |
msgstr "W"
|
1997 |
|
1998 |
# @ acf
|
1999 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2000 |
#: includes/fields/class-acf-field-date_time_picker.php:183
|
2001 |
#: includes/fields/class-acf-field-time_picker.php:109
|
2002 |
msgid "Display Format"
|
2003 |
msgstr "Darstellungsformat"
|
2004 |
|
2005 |
# @ acf
|
2006 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2007 |
#: includes/fields/class-acf-field-date_time_picker.php:184
|
2008 |
#: includes/fields/class-acf-field-time_picker.php:110
|
2009 |
msgid "The format displayed when editing a post"
|
2010 |
msgstr "Das Format für die Anzeige in der Bearbeitungsansicht"
|
2011 |
|
2012 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2013 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2014 |
#: includes/fields/class-acf-field-date_time_picker.php:193
|
2015 |
#: includes/fields/class-acf-field-date_time_picker.php:210
|
2016 |
#: includes/fields/class-acf-field-time_picker.php:117
|
@@ -2018,34 +2009,34 @@ msgstr "Das Format für die Anzeige in der Bearbeitungsansicht"
|
|
2018 |
msgid "Custom:"
|
2019 |
msgstr "Individuelles Format:"
|
2020 |
|
2021 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2022 |
msgid "Save Format"
|
2023 |
msgstr "Speicherformat"
|
2024 |
|
2025 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2026 |
msgid "The format used when saving a value"
|
2027 |
msgstr "Das Format das beim Speichern eines Wertes verwendet wird"
|
2028 |
|
2029 |
# @ acf
|
2030 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2031 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
2032 |
#: includes/fields/class-acf-field-post_object.php:431
|
2033 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2034 |
-
#: includes/fields/class-acf-field-select.php:
|
2035 |
#: includes/fields/class-acf-field-time_picker.php:124
|
2036 |
-
#: includes/fields/class-acf-field-user.php:
|
2037 |
msgid "Return Format"
|
2038 |
msgstr "Rückgabeformat"
|
2039 |
|
2040 |
# @ acf
|
2041 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2042 |
#: includes/fields/class-acf-field-date_time_picker.php:201
|
2043 |
#: includes/fields/class-acf-field-time_picker.php:125
|
2044 |
msgid "The format returned via template functions"
|
2045 |
msgstr "Das Format für die Ausgabe in den Template-Funktionen"
|
2046 |
|
2047 |
# @ acf
|
2048 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
2049 |
#: includes/fields/class-acf-field-date_time_picker.php:217
|
2050 |
msgid "Week Starts On"
|
2051 |
msgstr "Die Woche beginnt am"
|
@@ -2215,8 +2206,8 @@ msgstr "Dateiname"
|
|
2215 |
#: includes/fields/class-acf-field-file.php:259
|
2216 |
#: includes/fields/class-acf-field-image.php:265
|
2217 |
#: includes/fields/class-acf-field-image.php:294
|
2218 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2219 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2220 |
msgid "File size"
|
2221 |
msgstr "Dateigröße"
|
2222 |
|
@@ -2243,14 +2234,14 @@ msgstr "Datei-ID"
|
|
2243 |
# @ acf
|
2244 |
#: includes/fields/class-acf-field-file.php:230
|
2245 |
#: includes/fields/class-acf-field-image.php:230
|
2246 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2247 |
msgid "Library"
|
2248 |
msgstr "Mediathek"
|
2249 |
|
2250 |
# @ acf
|
2251 |
#: includes/fields/class-acf-field-file.php:231
|
2252 |
#: includes/fields/class-acf-field-image.php:231
|
2253 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2254 |
msgid "Limit the media library choice"
|
2255 |
msgstr "Beschränkt die Auswahl in der Mediathek"
|
2256 |
|
@@ -2264,21 +2255,21 @@ msgstr "Beschränkt die Auswahl in der Mediathek"
|
|
2264 |
#: includes/locations/class-acf-location-user-form.php:87
|
2265 |
#: includes/locations/class-acf-location-user-role.php:111
|
2266 |
#: includes/locations/class-acf-location-widget.php:83
|
2267 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2268 |
msgid "All"
|
2269 |
msgstr "Alle"
|
2270 |
|
2271 |
# @ acf
|
2272 |
#: includes/fields/class-acf-field-file.php:237
|
2273 |
#: includes/fields/class-acf-field-image.php:237
|
2274 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2275 |
msgid "Uploaded to post"
|
2276 |
msgstr "Für den Beitrag hochgeladen"
|
2277 |
|
2278 |
# @ acf
|
2279 |
#: includes/fields/class-acf-field-file.php:244
|
2280 |
#: includes/fields/class-acf-field-image.php:244
|
2281 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2282 |
msgid "Minimum"
|
2283 |
msgstr "Minimum"
|
2284 |
|
@@ -2291,21 +2282,21 @@ msgstr "Beschränkt welche Dateien hochgeladen werden können"
|
|
2291 |
# @ acf
|
2292 |
#: includes/fields/class-acf-field-file.php:255
|
2293 |
#: includes/fields/class-acf-field-image.php:273
|
2294 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2295 |
msgid "Maximum"
|
2296 |
msgstr "Maximum"
|
2297 |
|
2298 |
# @ acf
|
2299 |
#: includes/fields/class-acf-field-file.php:266
|
2300 |
#: includes/fields/class-acf-field-image.php:302
|
2301 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2302 |
msgid "Allowed file types"
|
2303 |
msgstr "Erlaubte Dateiformate"
|
2304 |
|
2305 |
# @ acf
|
2306 |
#: includes/fields/class-acf-field-file.php:267
|
2307 |
#: includes/fields/class-acf-field-image.php:303
|
2308 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2309 |
msgid "Comma separated list. Leave blank for all types"
|
2310 |
msgstr ""
|
2311 |
"Eine durch Komma getrennte Liste. Leer lassen um alle Dateiformate zu "
|
@@ -2322,55 +2313,55 @@ msgid "Sorry, this browser does not support geolocation"
|
|
2322 |
msgstr "Dieser Browser unterstützt keine Geo-Lokation"
|
2323 |
|
2324 |
# @ acf
|
2325 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2326 |
msgid "Clear location"
|
2327 |
msgstr "Position löschen"
|
2328 |
|
2329 |
# @ acf
|
2330 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2331 |
msgid "Find current location"
|
2332 |
msgstr "Aktuelle Position finden"
|
2333 |
|
2334 |
# @ acf
|
2335 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2336 |
msgid "Search for address..."
|
2337 |
msgstr "Nach der Adresse suchen..."
|
2338 |
|
2339 |
# @ acf
|
2340 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2341 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2342 |
msgid "Center"
|
2343 |
msgstr "Mittelpunkt"
|
2344 |
|
2345 |
# @ acf
|
2346 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2347 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2348 |
msgid "Center the initial map"
|
2349 |
msgstr "Mittelpunkt der Ausgangskarte"
|
2350 |
|
2351 |
# @ acf
|
2352 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2353 |
msgid "Zoom"
|
2354 |
msgstr "Zoom"
|
2355 |
|
2356 |
# @ acf
|
2357 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2358 |
msgid "Set the initial zoom level"
|
2359 |
msgstr "Legt die anfängliche Zoomstufe der Karte fest"
|
2360 |
|
2361 |
# @ acf
|
2362 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2363 |
#: includes/fields/class-acf-field-image.php:256
|
2364 |
#: includes/fields/class-acf-field-image.php:285
|
2365 |
#: includes/fields/class-acf-field-oembed.php:268
|
2366 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2367 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2368 |
msgid "Height"
|
2369 |
msgstr "Höhe"
|
2370 |
|
2371 |
# @ acf
|
2372 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2373 |
-
msgid "
|
2374 |
msgstr "Passt die Höhe der Karte an"
|
2375 |
|
2376 |
# @ acf
|
@@ -2471,8 +2462,8 @@ msgstr "Legt fest welche Maße die Vorschau in der Bearbeitungsansicht hat"
|
|
2471 |
# @ acf
|
2472 |
#: includes/fields/class-acf-field-image.php:245
|
2473 |
#: includes/fields/class-acf-field-image.php:274
|
2474 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2475 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2476 |
msgid "Restrict which images can be uploaded"
|
2477 |
msgstr "Beschränkt welche Bilder hochgeladen werden können"
|
2478 |
|
@@ -2480,8 +2471,8 @@ msgstr "Beschränkt welche Bilder hochgeladen werden können"
|
|
2480 |
#: includes/fields/class-acf-field-image.php:248
|
2481 |
#: includes/fields/class-acf-field-image.php:277
|
2482 |
#: includes/fields/class-acf-field-oembed.php:257
|
2483 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2484 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2485 |
msgid "Width"
|
2486 |
msgstr "Breite"
|
2487 |
|
@@ -2632,28 +2623,28 @@ msgstr "Übergeordnet"
|
|
2632 |
# @ acf
|
2633 |
#: includes/fields/class-acf-field-page_link.php:485
|
2634 |
#: includes/fields/class-acf-field-post_object.php:383
|
2635 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2636 |
msgid "Filter by Post Type"
|
2637 |
msgstr "Nach Inhaltstyp filtern"
|
2638 |
|
2639 |
# @ acf
|
2640 |
#: includes/fields/class-acf-field-page_link.php:493
|
2641 |
#: includes/fields/class-acf-field-post_object.php:391
|
2642 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2643 |
msgid "All post types"
|
2644 |
msgstr "Alle Inhaltstypen"
|
2645 |
|
2646 |
# @ acf
|
2647 |
#: includes/fields/class-acf-field-page_link.php:499
|
2648 |
#: includes/fields/class-acf-field-post_object.php:397
|
2649 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2650 |
msgid "Filter by Taxonomy"
|
2651 |
msgstr "Nach Taxonomien filtern"
|
2652 |
|
2653 |
# @ acf
|
2654 |
#: includes/fields/class-acf-field-page_link.php:507
|
2655 |
#: includes/fields/class-acf-field-post_object.php:405
|
2656 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2657 |
msgid "All taxonomies"
|
2658 |
msgstr "Alle Taxonomien"
|
2659 |
|
@@ -2664,8 +2655,8 @@ msgstr "Archiv-URL's zulassen"
|
|
2664 |
# @ acf
|
2665 |
#: includes/fields/class-acf-field-page_link.php:533
|
2666 |
#: includes/fields/class-acf-field-post_object.php:421
|
2667 |
-
#: includes/fields/class-acf-field-select.php:
|
2668 |
-
#: includes/fields/class-acf-field-user.php:
|
2669 |
msgid "Select multiple values?"
|
2670 |
msgstr "Mehrere Werte auswählbar?"
|
2671 |
|
@@ -2677,13 +2668,13 @@ msgstr "Passwort"
|
|
2677 |
# @ acf
|
2678 |
#: includes/fields/class-acf-field-post_object.php:25
|
2679 |
#: includes/fields/class-acf-field-post_object.php:436
|
2680 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2681 |
msgid "Post Object"
|
2682 |
msgstr "Beitrags-Objekt"
|
2683 |
|
2684 |
# @ acf
|
2685 |
#: includes/fields/class-acf-field-post_object.php:437
|
2686 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2687 |
msgid "Post ID"
|
2688 |
msgstr "Beitrags-ID"
|
2689 |
|
@@ -2739,33 +2730,33 @@ msgid "No matches found"
|
|
2739 |
msgstr "Keine Übereinstimmung gefunden"
|
2740 |
|
2741 |
# @ acf
|
2742 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2743 |
msgid "Select post type"
|
2744 |
msgstr "Inhaltstyp auswählen"
|
2745 |
|
2746 |
# @ acf
|
2747 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2748 |
msgid "Select taxonomy"
|
2749 |
msgstr "Taxonomie auswählen"
|
2750 |
|
2751 |
# @ acf
|
2752 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2753 |
msgid "Search..."
|
2754 |
msgstr "Suchen..."
|
2755 |
|
2756 |
# @ acf
|
2757 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2758 |
msgid "Filters"
|
2759 |
msgstr "Filter"
|
2760 |
|
2761 |
# @ acf
|
2762 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2763 |
#: includes/locations/class-acf-location-post-type.php:27
|
2764 |
msgid "Post Type"
|
2765 |
msgstr "Inhaltstyp"
|
2766 |
|
2767 |
# @ acf
|
2768 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2769 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2770 |
#: includes/fields/class-acf-field-taxonomy.php:754
|
2771 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
@@ -2773,28 +2764,28 @@ msgid "Taxonomy"
|
|
2773 |
msgstr "Taxonomie"
|
2774 |
|
2775 |
# @ acf
|
2776 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2777 |
msgid "Elements"
|
2778 |
msgstr "Elemente"
|
2779 |
|
2780 |
# @ acf
|
2781 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2782 |
msgid "Selected elements will be displayed in each result"
|
2783 |
msgstr "Die ausgewählten Elemente werden in jedem Ergebnis angezeigt"
|
2784 |
|
2785 |
# @ acf
|
2786 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2787 |
msgid "Minimum posts"
|
2788 |
msgstr "Mindestzahl an Beiträgen"
|
2789 |
|
2790 |
# @ acf
|
2791 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2792 |
msgid "Maximum posts"
|
2793 |
msgstr "Höchstzahl an Beiträgen"
|
2794 |
|
2795 |
# @ acf
|
2796 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2797 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2798 |
#, php-format
|
2799 |
msgid "%s requires at least %s selection"
|
2800 |
msgid_plural "%s requires at least %s selections"
|
@@ -2876,17 +2867,17 @@ msgid "Loading failed"
|
|
2876 |
msgstr "Laden fehlgeschlagen"
|
2877 |
|
2878 |
# @ acf
|
2879 |
-
#: includes/fields/class-acf-field-select.php:
|
2880 |
#: includes/fields/class-acf-field-true_false.php:144
|
2881 |
msgid "Stylised UI"
|
2882 |
msgstr "Select2-Library aktivieren"
|
2883 |
|
2884 |
# @ acf
|
2885 |
-
#: includes/fields/class-acf-field-select.php:
|
2886 |
msgid "Use AJAX to lazy load choices?"
|
2887 |
msgstr "AJAX verwenden um die Auswahl mittels Lazy Loading zu laden?"
|
2888 |
|
2889 |
-
#: includes/fields/class-acf-field-select.php:
|
2890 |
msgid "Specify the value returned"
|
2891 |
msgstr "Legen Sie den Rückgabewert fest"
|
2892 |
|
@@ -3030,6 +3021,12 @@ msgstr "Zeichenbegrenzung"
|
|
3030 |
msgid "Leave blank for no limit"
|
3031 |
msgstr "Leer lassen für keine Begrenzung"
|
3032 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3033 |
# @ acf
|
3034 |
#: includes/fields/class-acf-field-textarea.php:25
|
3035 |
msgid "Text Area"
|
@@ -3090,27 +3087,27 @@ msgid "User"
|
|
3090 |
msgstr "Benutzer"
|
3091 |
|
3092 |
# @ acf
|
3093 |
-
#: includes/fields/class-acf-field-user.php:
|
3094 |
msgid "Filter by role"
|
3095 |
msgstr "Nach Rolle filtern"
|
3096 |
|
3097 |
# @ acf
|
3098 |
-
#: includes/fields/class-acf-field-user.php:
|
3099 |
msgid "All user roles"
|
3100 |
msgstr "Alle Benutzerrollen"
|
3101 |
|
3102 |
# @ acf
|
3103 |
-
#: includes/fields/class-acf-field-user.php:
|
3104 |
msgid "User Array"
|
3105 |
msgstr "Benutzer-Array"
|
3106 |
|
3107 |
# @ acf
|
3108 |
-
#: includes/fields/class-acf-field-user.php:
|
3109 |
msgid "User Object"
|
3110 |
msgstr "Benutzer-Objekt"
|
3111 |
|
3112 |
# @ acf
|
3113 |
-
#: includes/fields/class-acf-field-user.php:
|
3114 |
msgid "User ID"
|
3115 |
msgstr "Benutzer-ID"
|
3116 |
|
@@ -3172,18 +3169,12 @@ msgstr "Initialisierung verzögern?"
|
|
3172 |
msgid "TinyMCE will not be initalized until field is clicked"
|
3173 |
msgstr "TinyMCE wird nicht initialisiert solange das Feld nicht geklickt wurde"
|
3174 |
|
3175 |
-
# @ acf
|
3176 |
-
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:301
|
3177 |
-
#: pro/admin/admin-options-page.php:308
|
3178 |
-
msgid "Edit field group"
|
3179 |
-
msgstr "Feldgruppe bearbeiten"
|
3180 |
-
|
3181 |
#: includes/forms/form-front.php:55
|
3182 |
msgid "Validate Email"
|
3183 |
msgstr "E-Mail bestätigen"
|
3184 |
|
3185 |
# @ acf
|
3186 |
-
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:
|
3187 |
#: pro/options-page.php:81
|
3188 |
msgid "Update"
|
3189 |
msgstr "Aktualisieren"
|
@@ -3295,8 +3286,8 @@ msgid "Page Template"
|
|
3295 |
msgstr "Seiten-Template"
|
3296 |
|
3297 |
# @ acf
|
3298 |
-
#: includes/locations/class-acf-location-page-template.php:
|
3299 |
-
#: includes/locations/class-acf-location-post-template.php:
|
3300 |
msgid "Default Template"
|
3301 |
msgstr "Standard-Template"
|
3302 |
|
@@ -3393,12 +3384,12 @@ msgid "Advanced Custom Fields PRO"
|
|
3393 |
msgstr "Advanced Custom Fields PRO"
|
3394 |
|
3395 |
# @ acf
|
3396 |
-
#: pro/admin/admin-options-page.php:
|
3397 |
msgid "Publish"
|
3398 |
msgstr "Veröffentlichen"
|
3399 |
|
3400 |
# @ acf
|
3401 |
-
#: pro/admin/admin-options-page.php:
|
3402 |
#, php-format
|
3403 |
msgid ""
|
3404 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
@@ -3408,18 +3399,26 @@ msgstr ""
|
|
3408 |
"Feldgruppe erstellen</a>"
|
3409 |
|
3410 |
# @ acf
|
3411 |
-
#: pro/admin/admin-
|
3412 |
msgid "<b>Error</b>. Could not connect to update server"
|
3413 |
msgstr ""
|
3414 |
"<b>Fehler</b>. Es konnte keine Verbindung zum Update-Server hergestellt "
|
3415 |
"werden"
|
3416 |
|
3417 |
# @ acf
|
3418 |
-
#: pro/admin/admin-settings-updates.php:
|
3419 |
-
#: pro/admin/views/html-settings-updates.php:13
|
3420 |
msgid "Updates"
|
3421 |
msgstr "Aktualisierungen"
|
3422 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3423 |
# @ acf
|
3424 |
#: pro/admin/views/html-settings-updates.php:7
|
3425 |
msgid "Deactivate License"
|
@@ -3683,76 +3682,76 @@ msgid "Maximum selection reached"
|
|
3683 |
msgstr "Maximale Auswahl erreicht"
|
3684 |
|
3685 |
# @ acf
|
3686 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3687 |
msgid "Length"
|
3688 |
msgstr "Länge"
|
3689 |
|
3690 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3691 |
msgid "Caption"
|
3692 |
msgstr "Bildunterschrift"
|
3693 |
|
3694 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3695 |
msgid "Alt Text"
|
3696 |
msgstr "Alt Text"
|
3697 |
|
3698 |
# @ acf
|
3699 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3700 |
msgid "Add to gallery"
|
3701 |
msgstr "Zur Galerie hinzufügen"
|
3702 |
|
3703 |
# @ acf
|
3704 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3705 |
msgid "Bulk actions"
|
3706 |
msgstr "Massenverarbeitung"
|
3707 |
|
3708 |
# @ acf
|
3709 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3710 |
msgid "Sort by date uploaded"
|
3711 |
msgstr "Sortiere nach Upload-Datum"
|
3712 |
|
3713 |
# @ acf
|
3714 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3715 |
msgid "Sort by date modified"
|
3716 |
msgstr "Sortiere nach Änderungs-Datum"
|
3717 |
|
3718 |
# @ acf
|
3719 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3720 |
msgid "Sort by title"
|
3721 |
msgstr "Sortiere nach Titel"
|
3722 |
|
3723 |
# @ acf
|
3724 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3725 |
msgid "Reverse current order"
|
3726 |
msgstr "Aktuelle Sortierung umkehren"
|
3727 |
|
3728 |
# @ acf
|
3729 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3730 |
msgid "Close"
|
3731 |
msgstr "Schließen"
|
3732 |
|
3733 |
# @ acf
|
3734 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3735 |
msgid "Minimum Selection"
|
3736 |
msgstr "Minimale Auswahl"
|
3737 |
|
3738 |
# @ acf
|
3739 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3740 |
msgid "Maximum Selection"
|
3741 |
msgstr "Maximale Auswahl"
|
3742 |
|
3743 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3744 |
msgid "Insert"
|
3745 |
msgstr "Einfügen"
|
3746 |
|
3747 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3748 |
msgid "Specify where new attachments are added"
|
3749 |
msgstr "Gibt an wo neue Anhänge hinzugefügt werden"
|
3750 |
|
3751 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3752 |
msgid "Append to the end"
|
3753 |
msgstr "Anhängen"
|
3754 |
|
3755 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3756 |
msgid "Prepend to the beginning"
|
3757 |
msgstr "Voranstellen"
|
3758 |
|
@@ -3836,6 +3835,23 @@ msgstr "Elliot Condon"
|
|
3836 |
msgid "http://www.elliotcondon.com/"
|
3837 |
msgstr "http://www.elliotcondon.com/"
|
3838 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3839 |
#~ msgid "Error validating request"
|
3840 |
#~ msgstr "Fehler bei der Überprüfung der Anfrage"
|
3841 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Advanced Custom Fields Pro v5.7.11 Formal\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
+
"POT-Creation-Date: 2019-01-31 12:36+0100\n"
|
6 |
+
"PO-Revision-Date: 2019-02-01 01:54+0100\n"
|
7 |
"Last-Translator: Ralf Koller <r.koller@gmail.com>\n"
|
8 |
"Language-Team: Ralf Koller <r.koller@gmail.com>\n"
|
9 |
"Language: de_DE\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"X-Generator: Poedit 2.2.1\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
# @ acf
|
31 |
+
#: acf.php:363 includes/admin/admin.php:58
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Feldgruppen"
|
34 |
|
35 |
# @ acf
|
36 |
+
#: acf.php:364
|
37 |
msgid "Field Group"
|
38 |
msgstr "Feldgruppe"
|
39 |
|
40 |
# @ acf
|
41 |
+
#: acf.php:365 acf.php:397 includes/admin/admin.php:59
|
42 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
43 |
msgid "Add New"
|
44 |
msgstr "Erstellen"
|
45 |
|
46 |
# @ acf
|
47 |
+
#: acf.php:366
|
48 |
msgid "Add New Field Group"
|
49 |
msgstr "Neue Feldgruppe erstellen"
|
50 |
|
51 |
# @ acf
|
52 |
+
#: acf.php:367
|
53 |
msgid "Edit Field Group"
|
54 |
msgstr "Feldgruppe bearbeiten"
|
55 |
|
56 |
# @ acf
|
57 |
+
#: acf.php:368
|
58 |
msgid "New Field Group"
|
59 |
msgstr "Neue Feldgruppe"
|
60 |
|
61 |
# @ acf
|
62 |
+
#: acf.php:369
|
63 |
msgid "View Field Group"
|
64 |
msgstr "Feldgruppe anzeigen"
|
65 |
|
66 |
# @ acf
|
67 |
+
#: acf.php:370
|
68 |
msgid "Search Field Groups"
|
69 |
msgstr "Feldgruppen durchsuchen"
|
70 |
|
71 |
# @ acf
|
72 |
+
#: acf.php:371
|
73 |
msgid "No Field Groups found"
|
74 |
msgstr "Keine Feldgruppen gefunden"
|
75 |
|
76 |
# @ acf
|
77 |
+
#: acf.php:372
|
78 |
msgid "No Field Groups found in Trash"
|
79 |
msgstr "Keine Feldgruppen im Papierkorb gefunden"
|
80 |
|
81 |
# @ acf
|
82 |
+
#: acf.php:395 includes/admin/admin-field-group.php:220
|
83 |
+
#: includes/admin/admin-field-groups.php:529
|
84 |
#: pro/fields/class-acf-field-clone.php:811
|
85 |
msgid "Fields"
|
86 |
msgstr "Felder"
|
87 |
|
88 |
# @ acf
|
89 |
+
#: acf.php:396
|
90 |
msgid "Field"
|
91 |
msgstr "Feld"
|
92 |
|
93 |
# @ acf
|
94 |
+
#: acf.php:398
|
95 |
msgid "Add New Field"
|
96 |
msgstr "Feld hinzufügen"
|
97 |
|
98 |
# @ acf
|
99 |
+
#: acf.php:399
|
100 |
msgid "Edit Field"
|
101 |
msgstr "Feld bearbeiten"
|
102 |
|
103 |
# @ acf
|
104 |
+
#: acf.php:400 includes/admin/views/field-group-fields.php:41
|
105 |
msgid "New Field"
|
106 |
msgstr "Neues Feld"
|
107 |
|
108 |
# @ acf
|
109 |
+
#: acf.php:401
|
110 |
msgid "View Field"
|
111 |
msgstr "Feld anzeigen"
|
112 |
|
113 |
# @ acf
|
114 |
+
#: acf.php:402
|
115 |
msgid "Search Fields"
|
116 |
msgstr "Felder suchen"
|
117 |
|
118 |
# @ acf
|
119 |
+
#: acf.php:403
|
120 |
msgid "No Fields found"
|
121 |
msgstr "Keine Felder gefunden"
|
122 |
|
123 |
# @ acf
|
124 |
+
#: acf.php:404
|
125 |
msgid "No Fields found in Trash"
|
126 |
msgstr "Keine Felder im Papierkorb gefunden"
|
127 |
|
128 |
+
#: acf.php:443 includes/admin/admin-field-group.php:402
|
129 |
+
#: includes/admin/admin-field-groups.php:586
|
130 |
msgid "Inactive"
|
131 |
msgstr "Inaktiv"
|
132 |
|
133 |
+
#: acf.php:448
|
134 |
#, php-format
|
135 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
136 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
138 |
msgstr[1] "Inaktiv <span class=\"count\">(%s)</span>"
|
139 |
|
140 |
# @ acf
|
141 |
+
#: includes/acf-field-functions.php:823
|
142 |
+
#: includes/admin/admin-field-group.php:178
|
143 |
+
msgid "(no label)"
|
144 |
+
msgstr "(keine Beschriftung)"
|
145 |
+
|
146 |
+
# @ acf
|
147 |
+
#: includes/acf-field-group-functions.php:816
|
148 |
+
#: includes/admin/admin-field-group.php:180
|
149 |
+
msgid "copy"
|
150 |
+
msgstr "Kopie"
|
151 |
+
|
152 |
+
# @ acf
|
153 |
+
#: includes/admin/admin-field-group.php:86
|
154 |
+
#: includes/admin/admin-field-group.php:87
|
155 |
+
#: includes/admin/admin-field-group.php:89
|
156 |
msgid "Field group updated."
|
157 |
msgstr "Feldgruppe aktualisiert."
|
158 |
|
159 |
# @ acf
|
160 |
+
#: includes/admin/admin-field-group.php:88
|
161 |
msgid "Field group deleted."
|
162 |
msgstr "Feldgruppe gelöscht."
|
163 |
|
164 |
# @ acf
|
165 |
+
#: includes/admin/admin-field-group.php:91
|
166 |
msgid "Field group published."
|
167 |
msgstr "Feldgruppe veröffentlicht."
|
168 |
|
169 |
# @ acf
|
170 |
+
#: includes/admin/admin-field-group.php:92
|
171 |
msgid "Field group saved."
|
172 |
msgstr "Feldgruppe gespeichert."
|
173 |
|
174 |
# @ acf
|
175 |
+
#: includes/admin/admin-field-group.php:93
|
176 |
msgid "Field group submitted."
|
177 |
msgstr "Feldgruppe übertragen."
|
178 |
|
179 |
# @ acf
|
180 |
+
#: includes/admin/admin-field-group.php:94
|
181 |
msgid "Field group scheduled for."
|
182 |
msgstr "Feldgruppe geplant für."
|
183 |
|
184 |
# @ acf
|
185 |
+
#: includes/admin/admin-field-group.php:95
|
186 |
msgid "Field group draft updated."
|
187 |
msgstr "Entwurf der Feldgruppe aktualisiert."
|
188 |
|
189 |
# @ acf
|
190 |
+
#: includes/admin/admin-field-group.php:171
|
191 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
192 |
msgstr "Der Feldname darf nicht mit \"field_\" beginnen"
|
193 |
|
194 |
# @ acf
|
195 |
+
#: includes/admin/admin-field-group.php:172
|
196 |
msgid "This field cannot be moved until its changes have been saved"
|
197 |
msgstr ""
|
198 |
"Diese Feld kann erst verschoben werden, wenn die Änderungen gespeichert "
|
199 |
"wurden"
|
200 |
|
201 |
# @ acf
|
202 |
+
#: includes/admin/admin-field-group.php:173
|
203 |
msgid "Field group title is required"
|
204 |
msgstr "Es ist ein Titel für die Feldgruppe erforderlich"
|
205 |
|
206 |
# @ acf
|
207 |
+
#: includes/admin/admin-field-group.php:174
|
208 |
msgid "Move to trash. Are you sure?"
|
209 |
msgstr "Wirklich in den Papierkorb verschieben?"
|
210 |
|
211 |
# @ acf
|
212 |
+
#: includes/admin/admin-field-group.php:175
|
213 |
msgid "No toggle fields available"
|
214 |
msgstr "Es liegen keine Auswahl-Feldtypen vor"
|
215 |
|
216 |
# @ acf
|
217 |
+
#: includes/admin/admin-field-group.php:176
|
218 |
msgid "Move Custom Field"
|
219 |
msgstr "Benutzerdefiniertes Feld verschieben"
|
220 |
|
221 |
# @ acf
|
222 |
+
#: includes/admin/admin-field-group.php:177
|
223 |
msgid "Checked"
|
224 |
msgstr "Ausgewählt"
|
225 |
|
226 |
# @ acf
|
227 |
+
#: includes/admin/admin-field-group.php:179
|
|
|
|
|
|
|
|
|
|
|
228 |
msgid "(this field)"
|
229 |
msgstr "(dieses Feld)"
|
230 |
|
231 |
# @ acf
|
232 |
+
#: includes/admin/admin-field-group.php:181
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
234 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
235 |
#: includes/admin/views/field-group-locations.php:29
|
236 |
#: includes/admin/views/html-location-group.php:3
|
237 |
+
#: includes/api/api-helpers.php:3990
|
238 |
msgid "or"
|
239 |
msgstr "oder"
|
240 |
|
241 |
# @ acf
|
242 |
+
#: includes/admin/admin-field-group.php:182
|
243 |
msgid "Null"
|
244 |
msgstr "Null"
|
245 |
|
246 |
# @ acf
|
247 |
+
#: includes/admin/admin-field-group.php:221
|
248 |
msgid "Location"
|
249 |
msgstr "Position"
|
250 |
|
251 |
+
#: includes/admin/admin-field-group.php:222
|
252 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
253 |
msgid "Settings"
|
254 |
msgstr "Einstellungen"
|
255 |
|
256 |
+
#: includes/admin/admin-field-group.php:372
|
257 |
msgid "Field Keys"
|
258 |
msgstr "Feldschlüssel"
|
259 |
|
260 |
+
#: includes/admin/admin-field-group.php:402
|
261 |
#: includes/admin/views/field-group-options.php:9
|
262 |
msgid "Active"
|
263 |
msgstr "Aktiviert"
|
264 |
|
265 |
# @ acf
|
266 |
+
#: includes/admin/admin-field-group.php:771
|
267 |
msgid "Move Complete."
|
268 |
msgstr "Verschieben erfolgreich abgeschlossen."
|
269 |
|
270 |
# @ acf
|
271 |
+
#: includes/admin/admin-field-group.php:772
|
272 |
#, php-format
|
273 |
msgid "The %s field can now be found in the %s field group"
|
274 |
msgstr "Das Feld \"%s\" wurde in die %s Feldgruppe verschoben"
|
275 |
|
276 |
# @ acf
|
277 |
+
#: includes/admin/admin-field-group.php:773
|
278 |
msgid "Close Window"
|
279 |
msgstr "Schließen"
|
280 |
|
281 |
# @ acf
|
282 |
+
#: includes/admin/admin-field-group.php:814
|
283 |
msgid "Please select the destination for this field"
|
284 |
msgstr "In welche Feldgruppe solle dieses Feld verschoben werden"
|
285 |
|
286 |
# @ acf
|
287 |
+
#: includes/admin/admin-field-group.php:821
|
288 |
msgid "Move Field"
|
289 |
msgstr "Feld verschieben"
|
290 |
|
291 |
+
#: includes/admin/admin-field-groups.php:89
|
292 |
#, php-format
|
293 |
msgid "Active <span class=\"count\">(%s)</span>"
|
294 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
296 |
msgstr[1] "Veröffentlicht <span class=\"count\">(%s)</span>"
|
297 |
|
298 |
# @ acf
|
299 |
+
#: includes/admin/admin-field-groups.php:156
|
300 |
#, php-format
|
301 |
+
msgid "Field group duplicated."
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
msgid_plural "%s field groups duplicated."
|
303 |
+
msgstr[0] "Feldgruppe dupliziert."
|
304 |
msgstr[1] "%s Feldgruppen dupliziert."
|
305 |
|
306 |
# @ acf
|
307 |
+
#: includes/admin/admin-field-groups.php:243
|
|
|
|
|
|
|
|
|
|
|
|
|
308 |
#, php-format
|
309 |
+
msgid "Field group synchronised."
|
310 |
msgid_plural "%s field groups synchronised."
|
311 |
+
msgstr[0] "Feldgruppe synchronisiert."
|
312 |
msgstr[1] "%s Feldgruppen synchronisiert."
|
313 |
|
314 |
# @ acf
|
315 |
+
#: includes/admin/admin-field-groups.php:413
|
316 |
+
#: includes/admin/admin-field-groups.php:576
|
317 |
msgid "Sync available"
|
318 |
msgstr "Synchronisierung verfügbar"
|
319 |
|
320 |
# @ acf
|
321 |
+
#: includes/admin/admin-field-groups.php:526 includes/forms/form-front.php:38
|
322 |
+
#: pro/fields/class-acf-field-gallery.php:372
|
323 |
msgid "Title"
|
324 |
msgstr "Titel"
|
325 |
|
326 |
# @ acf
|
327 |
+
#: includes/admin/admin-field-groups.php:527
|
328 |
#: includes/admin/views/field-group-options.php:96
|
329 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
330 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
331 |
+
#: pro/fields/class-acf-field-gallery.php:399
|
332 |
msgid "Description"
|
333 |
msgstr "Beschreibung"
|
334 |
|
335 |
+
#: includes/admin/admin-field-groups.php:528
|
336 |
msgid "Status"
|
337 |
msgstr "Status"
|
338 |
|
339 |
# @ acf
|
340 |
#. Description of the plugin/theme
|
341 |
+
#: includes/admin/admin-field-groups.php:626
|
342 |
+
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
343 |
msgstr ""
|
344 |
"WordPress durch leistungsfähige, professionelle und zugleich intuitive "
|
345 |
"Felder erweitern."
|
346 |
|
347 |
# @ acf
|
348 |
+
#: includes/admin/admin-field-groups.php:628
|
349 |
#: includes/admin/settings-info.php:76
|
350 |
#: pro/admin/views/html-settings-updates.php:107
|
351 |
msgid "Changelog"
|
352 |
msgstr "Änderungsprotokoll"
|
353 |
|
354 |
+
#: includes/admin/admin-field-groups.php:633
|
355 |
#, php-format
|
356 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
357 |
msgstr "Was gibt es Neues in <a href=\"%s\">Version %s</a>."
|
358 |
|
359 |
# @ acf
|
360 |
+
#: includes/admin/admin-field-groups.php:636
|
361 |
msgid "Resources"
|
362 |
msgstr "Dokumentation (engl.)"
|
363 |
|
364 |
+
#: includes/admin/admin-field-groups.php:638
|
365 |
msgid "Website"
|
366 |
msgstr "Website"
|
367 |
|
368 |
+
#: includes/admin/admin-field-groups.php:639
|
369 |
msgid "Documentation"
|
370 |
msgstr "Dokumentation"
|
371 |
|
372 |
+
#: includes/admin/admin-field-groups.php:640
|
373 |
msgid "Support"
|
374 |
msgstr "Hilfe"
|
375 |
|
376 |
+
#: includes/admin/admin-field-groups.php:642
|
377 |
#: includes/admin/views/settings-info.php:84
|
378 |
msgid "Pro"
|
379 |
msgstr "Pro"
|
380 |
|
381 |
+
#: includes/admin/admin-field-groups.php:647
|
382 |
#, php-format
|
383 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
384 |
msgstr "Danke für das Vertrauen in <a href=\"%s\">ACF</a>."
|
385 |
|
386 |
# @ acf
|
387 |
+
#: includes/admin/admin-field-groups.php:686
|
388 |
msgid "Duplicate this item"
|
389 |
msgstr "Dieses Element duplizieren"
|
390 |
|
391 |
# @ acf
|
392 |
+
#: includes/admin/admin-field-groups.php:686
|
393 |
+
#: includes/admin/admin-field-groups.php:702
|
394 |
#: includes/admin/views/field-group-field.php:46
|
395 |
#: pro/fields/class-acf-field-flexible-content.php:571
|
396 |
msgid "Duplicate"
|
397 |
msgstr "Duplizieren"
|
398 |
|
399 |
# @ acf
|
400 |
+
#: includes/admin/admin-field-groups.php:719
|
401 |
+
#: includes/fields/class-acf-field-google-map.php:165
|
402 |
+
#: includes/fields/class-acf-field-relationship.php:593
|
403 |
msgid "Search"
|
404 |
msgstr "Suchen"
|
405 |
|
406 |
# @ acf
|
407 |
+
#: includes/admin/admin-field-groups.php:778
|
408 |
#, php-format
|
409 |
msgid "Select %s"
|
410 |
msgstr "%s auswählen"
|
411 |
|
412 |
# @ acf
|
413 |
+
#: includes/admin/admin-field-groups.php:786
|
414 |
msgid "Synchronise field group"
|
415 |
msgstr "Synchronisiere Feldgruppe"
|
416 |
|
417 |
# @ acf
|
418 |
+
#: includes/admin/admin-field-groups.php:786
|
419 |
+
#: includes/admin/admin-field-groups.php:816
|
420 |
msgid "Sync"
|
421 |
msgstr "Synchronisieren"
|
422 |
|
423 |
+
#: includes/admin/admin-field-groups.php:798
|
424 |
msgid "Apply"
|
425 |
msgstr "Anwenden"
|
426 |
|
427 |
# @ acf
|
428 |
+
#: includes/admin/admin-field-groups.php:816
|
429 |
msgid "Bulk Actions"
|
430 |
msgstr "Massenverarbeitung"
|
431 |
|
448 |
msgstr "Übersicht Websites & Upgrades"
|
449 |
|
450 |
# @ acf
|
451 |
+
#: includes/admin/admin.php:54 includes/admin/views/field-group-options.php:110
|
|
|
452 |
msgid "Custom Fields"
|
453 |
msgstr "Eigene Felder"
|
454 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
455 |
# @ acf
|
456 |
#: includes/admin/settings-info.php:50
|
457 |
msgid "Info"
|
540 |
msgstr "Feldgruppen importieren"
|
541 |
|
542 |
# @ acf
|
543 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:47
|
544 |
msgid ""
|
545 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
546 |
"you click the import button below, ACF will import the field groups."
|
550 |
"Feldgruppen hinzufügen."
|
551 |
|
552 |
# @ acf
|
553 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:52
|
554 |
#: includes/fields/class-acf-field-file.php:57
|
555 |
msgid "Select File"
|
556 |
msgstr "Datei auswählen"
|
557 |
|
558 |
# @ acf
|
559 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:62
|
560 |
msgid "Import File"
|
561 |
msgstr "Datei importieren"
|
562 |
|
563 |
# @ acf
|
564 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:85
|
565 |
#: includes/fields/class-acf-field-file.php:170
|
566 |
msgid "No file selected"
|
567 |
msgstr "Keine Datei ausgewählt"
|
568 |
|
569 |
# @ acf
|
570 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:93
|
571 |
msgid "Error uploading file. Please try again"
|
572 |
msgstr "Fehler beim Upload der Datei. Bitte versuchen Sie es erneut"
|
573 |
|
574 |
# @ acf
|
575 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:98
|
576 |
msgid "Incorrect file type"
|
577 |
msgstr "Falscher Dateityp"
|
578 |
|
579 |
# @ acf
|
580 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:107
|
581 |
msgid "Import file empty"
|
582 |
msgstr "Die importierte Datei ist leer"
|
583 |
|
584 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:138
|
585 |
#, php-format
|
586 |
msgid "Imported 1 field group"
|
587 |
msgid_plural "Imported %s field groups"
|
628 |
#: includes/fields/class-acf-field-file.php:152
|
629 |
#: includes/fields/class-acf-field-image.php:139
|
630 |
#: includes/fields/class-acf-field-link.php:139
|
631 |
+
#: pro/fields/class-acf-field-gallery.php:359
|
632 |
msgid "Edit"
|
633 |
msgstr "Bearbeiten"
|
634 |
|
736 |
#: includes/fields/class-acf-field-button-group.php:198
|
737 |
#: includes/fields/class-acf-field-checkbox.php:420
|
738 |
#: includes/fields/class-acf-field-radio.php:311
|
739 |
+
#: includes/fields/class-acf-field-select.php:433
|
740 |
#: pro/fields/class-acf-field-flexible-content.php:596
|
741 |
msgid "Label"
|
742 |
msgstr "Beschriftung"
|
917 |
|
918 |
# @ acf
|
919 |
#: includes/admin/views/field-group-options.php:118
|
920 |
+
#: includes/fields/class-acf-field-relationship.php:607
|
921 |
msgid "Featured Image"
|
922 |
msgstr "Beitragsbild"
|
923 |
|
1050 |
msgid "No updates available."
|
1051 |
msgstr "Keine Aktualisierungen verfügbar."
|
1052 |
|
1053 |
+
#: includes/admin/views/html-admin-tools.php:21
|
1054 |
+
msgid "Back to all tools"
|
1055 |
+
msgstr "Zurück zur Werkzeugübersicht"
|
1056 |
+
|
1057 |
# @ acf
|
1058 |
#: includes/admin/views/html-location-group.php:3
|
1059 |
msgid "Show this field group if"
|
1104 |
#: includes/admin/views/html-notice-upgrade.php:24
|
1105 |
#, php-format
|
1106 |
msgid ""
|
1107 |
+
"Please also check all premium add-ons (%s) are updated to the latest version."
|
|
|
1108 |
msgstr ""
|
1109 |
+
"Stellen Sie bitte ebenfalls sicher, dass alle Premium-Add-ons (%s) auf die "
|
1110 |
+
"neueste Version aktualisiert wurden."
|
1111 |
+
|
1112 |
+
# @ acf
|
1113 |
+
#: includes/admin/views/settings-addons.php:3
|
1114 |
+
msgid "Add-ons"
|
1115 |
+
msgstr "Zusatz-Module"
|
1116 |
|
1117 |
# @ acf
|
1118 |
#: includes/admin/views/settings-addons.php:17
|
1459 |
msgstr "Wir glauben Sie werden die Änderungen in %s lieben."
|
1460 |
|
1461 |
# @ acf
|
1462 |
+
#: includes/api/api-helpers.php:1011
|
1463 |
msgid "Thumbnail"
|
1464 |
msgstr "Miniaturbild"
|
1465 |
|
1466 |
# @ acf
|
1467 |
+
#: includes/api/api-helpers.php:1012
|
1468 |
msgid "Medium"
|
1469 |
msgstr "Mittel"
|
1470 |
|
1471 |
# @ acf
|
1472 |
+
#: includes/api/api-helpers.php:1013
|
1473 |
msgid "Large"
|
1474 |
msgstr "Groß"
|
1475 |
|
1476 |
# @ acf
|
1477 |
+
#: includes/api/api-helpers.php:1062
|
1478 |
msgid "Full Size"
|
1479 |
msgstr "Volle Größe"
|
1480 |
|
1481 |
# @ acf
|
1482 |
+
#: includes/api/api-helpers.php:1831 includes/api/api-term.php:147
|
1483 |
#: pro/fields/class-acf-field-clone.php:996
|
1484 |
msgid "(no title)"
|
1485 |
msgstr "(ohne Titel)"
|
1486 |
|
1487 |
# @ acf
|
1488 |
+
#: includes/api/api-helpers.php:3911
|
1489 |
#, php-format
|
1490 |
msgid "Image width must be at least %dpx."
|
1491 |
msgstr "Die Breite des Bildes muss mindestens %dpx sein."
|
1492 |
|
1493 |
# @ acf
|
1494 |
+
#: includes/api/api-helpers.php:3916
|
1495 |
#, php-format
|
1496 |
msgid "Image width must not exceed %dpx."
|
1497 |
msgstr "Die Breite des Bildes darf %dpx nicht überschreiten."
|
1498 |
|
1499 |
# @ acf
|
1500 |
+
#: includes/api/api-helpers.php:3932
|
1501 |
#, php-format
|
1502 |
msgid "Image height must be at least %dpx."
|
1503 |
msgstr "Die Höhe des Bildes muss mindestens %dpx sein."
|
1504 |
|
1505 |
# @ acf
|
1506 |
+
#: includes/api/api-helpers.php:3937
|
1507 |
#, php-format
|
1508 |
msgid "Image height must not exceed %dpx."
|
1509 |
msgstr "Die Höhe des Bild darf %dpx nicht überschreiten."
|
1510 |
|
1511 |
# @ acf
|
1512 |
+
#: includes/api/api-helpers.php:3955
|
1513 |
#, php-format
|
1514 |
msgid "File size must be at least %s."
|
1515 |
msgstr "Die Dateigröße muss mindestens %s sein."
|
1516 |
|
1517 |
# @ acf
|
1518 |
+
#: includes/api/api-helpers.php:3960
|
1519 |
#, php-format
|
1520 |
msgid "File size must must not exceed %s."
|
1521 |
msgstr "Die Dateigröße darf %s nicht überschreiten."
|
1522 |
|
1523 |
# @ acf
|
1524 |
+
#: includes/api/api-helpers.php:3994
|
1525 |
#, php-format
|
1526 |
msgid "File type must be %s."
|
1527 |
msgstr "Der Dateityp muss %s sein."
|
1528 |
|
1529 |
# @ acf
|
1530 |
+
#: includes/assets.php:168
|
1531 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1532 |
msgstr ""
|
1533 |
"Die vorgenommenen Änderungen gehen verloren wenn diese Seite verlassen wird"
|
1534 |
|
1535 |
+
#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259
|
1536 |
msgctxt "verb"
|
1537 |
msgid "Select"
|
1538 |
msgstr "Auswählen"
|
1539 |
|
1540 |
+
#: includes/assets.php:172
|
1541 |
msgctxt "verb"
|
1542 |
msgid "Edit"
|
1543 |
msgstr "Bearbeiten"
|
1544 |
|
1545 |
+
#: includes/assets.php:173
|
1546 |
msgctxt "verb"
|
1547 |
msgid "Update"
|
1548 |
msgstr "Aktualisieren"
|
1549 |
|
1550 |
# @ acf
|
1551 |
+
#: includes/assets.php:174
|
1552 |
msgid "Uploaded to this post"
|
1553 |
msgstr "Zu diesem Beitrag hochgeladen"
|
1554 |
|
1555 |
# @ acf
|
1556 |
+
#: includes/assets.php:175
|
1557 |
msgid "Expand Details"
|
1558 |
msgstr "Details einblenden"
|
1559 |
|
1560 |
# @ acf
|
1561 |
+
#: includes/assets.php:176
|
1562 |
msgid "Collapse Details"
|
1563 |
msgstr "Details ausblenden"
|
1564 |
|
1565 |
+
#: includes/assets.php:177
|
1566 |
msgid "Restricted"
|
1567 |
msgstr "Eingeschränkt"
|
1568 |
|
1569 |
# @ acf
|
1570 |
+
#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67
|
1571 |
msgid "All images"
|
1572 |
msgstr "Alle Bilder"
|
1573 |
|
1574 |
# @ acf
|
1575 |
+
#: includes/assets.php:181
|
1576 |
msgid "Validation successful"
|
1577 |
msgstr "Überprüfung erfolgreich"
|
1578 |
|
1579 |
# @ acf
|
1580 |
+
#: includes/assets.php:182 includes/validation.php:285
|
1581 |
#: includes/validation.php:296
|
1582 |
msgid "Validation failed"
|
1583 |
msgstr "Überprüfung fehlgeschlagen"
|
1584 |
|
1585 |
# @ acf
|
1586 |
+
#: includes/assets.php:183
|
1587 |
msgid "1 field requires attention"
|
1588 |
msgstr "Für 1 Feld ist eine Aktualisierung notwendig"
|
1589 |
|
1590 |
# @ acf
|
1591 |
+
#: includes/assets.php:184
|
1592 |
#, php-format
|
1593 |
msgid "%d fields require attention"
|
1594 |
msgstr "Für %d Felder ist eine Aktualisierung notwendig"
|
1595 |
|
1596 |
# @ acf
|
1597 |
+
#: includes/assets.php:187
|
1598 |
msgid "Are you sure?"
|
1599 |
msgstr "Wirklich entfernen?"
|
1600 |
|
1601 |
# @ acf
|
1602 |
+
#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79
|
1603 |
#: includes/fields/class-acf-field-true_false.php:159
|
1604 |
#: pro/admin/views/html-settings-updates.php:89
|
1605 |
msgid "Yes"
|
1606 |
msgstr "Ja"
|
1607 |
|
1608 |
# @ acf
|
1609 |
+
#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80
|
1610 |
#: includes/fields/class-acf-field-true_false.php:174
|
1611 |
#: pro/admin/views/html-settings-updates.php:99
|
1612 |
msgid "No"
|
1613 |
msgstr "Nein"
|
1614 |
|
1615 |
# @ acf
|
1616 |
+
#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154
|
1617 |
#: includes/fields/class-acf-field-image.php:141
|
1618 |
#: includes/fields/class-acf-field-link.php:140
|
1619 |
+
#: pro/fields/class-acf-field-gallery.php:360
|
1620 |
+
#: pro/fields/class-acf-field-gallery.php:549
|
1621 |
msgid "Remove"
|
1622 |
msgstr "Entfernen"
|
1623 |
|
1624 |
+
#: includes/assets.php:191
|
1625 |
msgid "Cancel"
|
1626 |
msgstr "Abbrechen"
|
1627 |
|
1628 |
+
#: includes/assets.php:194
|
1629 |
msgid "Has any value"
|
1630 |
msgstr "Hat einen Wert"
|
1631 |
|
1632 |
+
#: includes/assets.php:195
|
1633 |
msgid "Has no value"
|
1634 |
msgstr "Hat keinen Wert"
|
1635 |
|
1636 |
# @ acf
|
1637 |
+
#: includes/assets.php:196
|
1638 |
msgid "Value is equal to"
|
1639 |
msgstr "Wert ist gleich"
|
1640 |
|
1641 |
# @ acf
|
1642 |
+
#: includes/assets.php:197
|
1643 |
msgid "Value is not equal to"
|
1644 |
msgstr "Wert ist ungleich"
|
1645 |
|
1646 |
# @ acf
|
1647 |
+
#: includes/assets.php:198
|
1648 |
msgid "Value matches pattern"
|
1649 |
msgstr "Wert entspricht regulärem Ausdruck"
|
1650 |
|
1651 |
+
#: includes/assets.php:199
|
1652 |
msgid "Value contains"
|
1653 |
msgstr "Wert enthält"
|
1654 |
|
1655 |
# @ acf
|
1656 |
+
#: includes/assets.php:200
|
1657 |
msgid "Value is greater than"
|
1658 |
msgstr "Wert ist größer als"
|
1659 |
|
1660 |
# @ acf
|
1661 |
+
#: includes/assets.php:201
|
1662 |
msgid "Value is less than"
|
1663 |
msgstr "Wert ist kleiner als"
|
1664 |
|
1665 |
+
#: includes/assets.php:202
|
1666 |
msgid "Selection is greater than"
|
1667 |
msgstr "Auswahl ist größer als"
|
1668 |
|
1669 |
# @ acf
|
1670 |
+
#: includes/assets.php:203
|
1671 |
msgid "Selection is less than"
|
1672 |
msgstr "Auswahl ist kleiner als"
|
1673 |
|
1674 |
+
# @ acf
|
1675 |
+
#: includes/assets.php:206 includes/forms/form-comment.php:166
|
1676 |
+
#: pro/admin/admin-options-page.php:325
|
1677 |
+
msgid "Edit field group"
|
1678 |
+
msgstr "Feldgruppe bearbeiten"
|
1679 |
+
|
1680 |
# @ acf
|
1681 |
#: includes/fields.php:308
|
1682 |
msgid "Field type does not exist"
|
1764 |
#: includes/fields/class-acf-field-button-group.php:149
|
1765 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1766 |
#: includes/fields/class-acf-field-radio.php:235
|
1767 |
+
#: includes/fields/class-acf-field-select.php:364
|
1768 |
msgid "Choices"
|
1769 |
msgstr "Auswahlmöglichkeiten"
|
1770 |
|
1772 |
#: includes/fields/class-acf-field-button-group.php:150
|
1773 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1774 |
#: includes/fields/class-acf-field-radio.php:236
|
1775 |
+
#: includes/fields/class-acf-field-select.php:365
|
1776 |
msgid "Enter each choice on a new line."
|
1777 |
msgstr "Jede Auswahlmöglichkeit in eine neue Zeile eingeben."
|
1778 |
|
1780 |
#: includes/fields/class-acf-field-button-group.php:150
|
1781 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1782 |
#: includes/fields/class-acf-field-radio.php:236
|
1783 |
+
#: includes/fields/class-acf-field-select.php:365
|
1784 |
msgid "For more control, you may specify both a value and label like this:"
|
1785 |
msgstr ""
|
1786 |
"Für mehr Kontrolle, können Sie sowohl einen Wert als auch eine Beschriftung "
|
1790 |
#: includes/fields/class-acf-field-button-group.php:150
|
1791 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1792 |
#: includes/fields/class-acf-field-radio.php:236
|
1793 |
+
#: includes/fields/class-acf-field-select.php:365
|
1794 |
msgid "red : Red"
|
1795 |
msgstr "rot : Rot"
|
1796 |
|
1799 |
#: includes/fields/class-acf-field-page_link.php:513
|
1800 |
#: includes/fields/class-acf-field-post_object.php:411
|
1801 |
#: includes/fields/class-acf-field-radio.php:244
|
1802 |
+
#: includes/fields/class-acf-field-select.php:382
|
1803 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1804 |
+
#: includes/fields/class-acf-field-user.php:393
|
1805 |
msgid "Allow Null?"
|
1806 |
msgstr "NULL-Werte zulassen?"
|
1807 |
|
1813 |
#: includes/fields/class-acf-field-number.php:127
|
1814 |
#: includes/fields/class-acf-field-radio.php:281
|
1815 |
#: includes/fields/class-acf-field-range.php:149
|
1816 |
+
#: includes/fields/class-acf-field-select.php:373
|
1817 |
#: includes/fields/class-acf-field-text.php:119
|
1818 |
#: includes/fields/class-acf-field-textarea.php:102
|
1819 |
#: includes/fields/class-acf-field-true_false.php:135
|
1873 |
#: includes/fields/class-acf-field-button-group.php:197
|
1874 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1875 |
#: includes/fields/class-acf-field-radio.php:310
|
1876 |
+
#: includes/fields/class-acf-field-select.php:432
|
1877 |
msgid "Value"
|
1878 |
msgstr "Wert"
|
1879 |
|
1880 |
#: includes/fields/class-acf-field-button-group.php:199
|
1881 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1882 |
#: includes/fields/class-acf-field-radio.php:312
|
1883 |
+
#: includes/fields/class-acf-field-select.php:434
|
1884 |
msgid "Both (Array)"
|
1885 |
msgstr "Beide (Array)"
|
1886 |
|
1918 |
|
1919 |
# @ acf
|
1920 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1921 |
+
#: includes/fields/class-acf-field-select.php:374
|
1922 |
msgid "Enter each default value on a new line"
|
1923 |
msgstr "Jeden Standardwert in einer neuen Zeile eingeben"
|
1924 |
|
1987 |
msgstr "W"
|
1988 |
|
1989 |
# @ acf
|
1990 |
+
#: includes/fields/class-acf-field-date_picker.php:178
|
1991 |
#: includes/fields/class-acf-field-date_time_picker.php:183
|
1992 |
#: includes/fields/class-acf-field-time_picker.php:109
|
1993 |
msgid "Display Format"
|
1994 |
msgstr "Darstellungsformat"
|
1995 |
|
1996 |
# @ acf
|
1997 |
+
#: includes/fields/class-acf-field-date_picker.php:179
|
1998 |
#: includes/fields/class-acf-field-date_time_picker.php:184
|
1999 |
#: includes/fields/class-acf-field-time_picker.php:110
|
2000 |
msgid "The format displayed when editing a post"
|
2001 |
msgstr "Das Format für die Anzeige in der Bearbeitungsansicht"
|
2002 |
|
2003 |
+
#: includes/fields/class-acf-field-date_picker.php:187
|
2004 |
+
#: includes/fields/class-acf-field-date_picker.php:218
|
2005 |
#: includes/fields/class-acf-field-date_time_picker.php:193
|
2006 |
#: includes/fields/class-acf-field-date_time_picker.php:210
|
2007 |
#: includes/fields/class-acf-field-time_picker.php:117
|
2009 |
msgid "Custom:"
|
2010 |
msgstr "Individuelles Format:"
|
2011 |
|
2012 |
+
#: includes/fields/class-acf-field-date_picker.php:197
|
2013 |
msgid "Save Format"
|
2014 |
msgstr "Speicherformat"
|
2015 |
|
2016 |
+
#: includes/fields/class-acf-field-date_picker.php:198
|
2017 |
msgid "The format used when saving a value"
|
2018 |
msgstr "Das Format das beim Speichern eines Wertes verwendet wird"
|
2019 |
|
2020 |
# @ acf
|
2021 |
+
#: includes/fields/class-acf-field-date_picker.php:208
|
2022 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
2023 |
#: includes/fields/class-acf-field-post_object.php:431
|
2024 |
+
#: includes/fields/class-acf-field-relationship.php:634
|
2025 |
+
#: includes/fields/class-acf-field-select.php:427
|
2026 |
#: includes/fields/class-acf-field-time_picker.php:124
|
2027 |
+
#: includes/fields/class-acf-field-user.php:412
|
2028 |
msgid "Return Format"
|
2029 |
msgstr "Rückgabeformat"
|
2030 |
|
2031 |
# @ acf
|
2032 |
+
#: includes/fields/class-acf-field-date_picker.php:209
|
2033 |
#: includes/fields/class-acf-field-date_time_picker.php:201
|
2034 |
#: includes/fields/class-acf-field-time_picker.php:125
|
2035 |
msgid "The format returned via template functions"
|
2036 |
msgstr "Das Format für die Ausgabe in den Template-Funktionen"
|
2037 |
|
2038 |
# @ acf
|
2039 |
+
#: includes/fields/class-acf-field-date_picker.php:227
|
2040 |
#: includes/fields/class-acf-field-date_time_picker.php:217
|
2041 |
msgid "Week Starts On"
|
2042 |
msgstr "Die Woche beginnt am"
|
2206 |
#: includes/fields/class-acf-field-file.php:259
|
2207 |
#: includes/fields/class-acf-field-image.php:265
|
2208 |
#: includes/fields/class-acf-field-image.php:294
|
2209 |
+
#: pro/fields/class-acf-field-gallery.php:708
|
2210 |
+
#: pro/fields/class-acf-field-gallery.php:737
|
2211 |
msgid "File size"
|
2212 |
msgstr "Dateigröße"
|
2213 |
|
2234 |
# @ acf
|
2235 |
#: includes/fields/class-acf-field-file.php:230
|
2236 |
#: includes/fields/class-acf-field-image.php:230
|
2237 |
+
#: pro/fields/class-acf-field-gallery.php:673
|
2238 |
msgid "Library"
|
2239 |
msgstr "Mediathek"
|
2240 |
|
2241 |
# @ acf
|
2242 |
#: includes/fields/class-acf-field-file.php:231
|
2243 |
#: includes/fields/class-acf-field-image.php:231
|
2244 |
+
#: pro/fields/class-acf-field-gallery.php:674
|
2245 |
msgid "Limit the media library choice"
|
2246 |
msgstr "Beschränkt die Auswahl in der Mediathek"
|
2247 |
|
2255 |
#: includes/locations/class-acf-location-user-form.php:87
|
2256 |
#: includes/locations/class-acf-location-user-role.php:111
|
2257 |
#: includes/locations/class-acf-location-widget.php:83
|
2258 |
+
#: pro/fields/class-acf-field-gallery.php:679
|
2259 |
msgid "All"
|
2260 |
msgstr "Alle"
|
2261 |
|
2262 |
# @ acf
|
2263 |
#: includes/fields/class-acf-field-file.php:237
|
2264 |
#: includes/fields/class-acf-field-image.php:237
|
2265 |
+
#: pro/fields/class-acf-field-gallery.php:680
|
2266 |
msgid "Uploaded to post"
|
2267 |
msgstr "Für den Beitrag hochgeladen"
|
2268 |
|
2269 |
# @ acf
|
2270 |
#: includes/fields/class-acf-field-file.php:244
|
2271 |
#: includes/fields/class-acf-field-image.php:244
|
2272 |
+
#: pro/fields/class-acf-field-gallery.php:687
|
2273 |
msgid "Minimum"
|
2274 |
msgstr "Minimum"
|
2275 |
|
2282 |
# @ acf
|
2283 |
#: includes/fields/class-acf-field-file.php:255
|
2284 |
#: includes/fields/class-acf-field-image.php:273
|
2285 |
+
#: pro/fields/class-acf-field-gallery.php:716
|
2286 |
msgid "Maximum"
|
2287 |
msgstr "Maximum"
|
2288 |
|
2289 |
# @ acf
|
2290 |
#: includes/fields/class-acf-field-file.php:266
|
2291 |
#: includes/fields/class-acf-field-image.php:302
|
2292 |
+
#: pro/fields/class-acf-field-gallery.php:745
|
2293 |
msgid "Allowed file types"
|
2294 |
msgstr "Erlaubte Dateiformate"
|
2295 |
|
2296 |
# @ acf
|
2297 |
#: includes/fields/class-acf-field-file.php:267
|
2298 |
#: includes/fields/class-acf-field-image.php:303
|
2299 |
+
#: pro/fields/class-acf-field-gallery.php:746
|
2300 |
msgid "Comma separated list. Leave blank for all types"
|
2301 |
msgstr ""
|
2302 |
"Eine durch Komma getrennte Liste. Leer lassen um alle Dateiformate zu "
|
2313 |
msgstr "Dieser Browser unterstützt keine Geo-Lokation"
|
2314 |
|
2315 |
# @ acf
|
2316 |
+
#: includes/fields/class-acf-field-google-map.php:166
|
2317 |
msgid "Clear location"
|
2318 |
msgstr "Position löschen"
|
2319 |
|
2320 |
# @ acf
|
2321 |
+
#: includes/fields/class-acf-field-google-map.php:167
|
2322 |
msgid "Find current location"
|
2323 |
msgstr "Aktuelle Position finden"
|
2324 |
|
2325 |
# @ acf
|
2326 |
+
#: includes/fields/class-acf-field-google-map.php:170
|
2327 |
msgid "Search for address..."
|
2328 |
msgstr "Nach der Adresse suchen..."
|
2329 |
|
2330 |
# @ acf
|
2331 |
+
#: includes/fields/class-acf-field-google-map.php:200
|
2332 |
+
#: includes/fields/class-acf-field-google-map.php:211
|
2333 |
msgid "Center"
|
2334 |
msgstr "Mittelpunkt"
|
2335 |
|
2336 |
# @ acf
|
2337 |
+
#: includes/fields/class-acf-field-google-map.php:201
|
2338 |
+
#: includes/fields/class-acf-field-google-map.php:212
|
2339 |
msgid "Center the initial map"
|
2340 |
msgstr "Mittelpunkt der Ausgangskarte"
|
2341 |
|
2342 |
# @ acf
|
2343 |
+
#: includes/fields/class-acf-field-google-map.php:223
|
2344 |
msgid "Zoom"
|
2345 |
msgstr "Zoom"
|
2346 |
|
2347 |
# @ acf
|
2348 |
+
#: includes/fields/class-acf-field-google-map.php:224
|
2349 |
msgid "Set the initial zoom level"
|
2350 |
msgstr "Legt die anfängliche Zoomstufe der Karte fest"
|
2351 |
|
2352 |
# @ acf
|
2353 |
+
#: includes/fields/class-acf-field-google-map.php:233
|
2354 |
#: includes/fields/class-acf-field-image.php:256
|
2355 |
#: includes/fields/class-acf-field-image.php:285
|
2356 |
#: includes/fields/class-acf-field-oembed.php:268
|
2357 |
+
#: pro/fields/class-acf-field-gallery.php:699
|
2358 |
+
#: pro/fields/class-acf-field-gallery.php:728
|
2359 |
msgid "Height"
|
2360 |
msgstr "Höhe"
|
2361 |
|
2362 |
# @ acf
|
2363 |
+
#: includes/fields/class-acf-field-google-map.php:234
|
2364 |
+
msgid "Customize the map height"
|
2365 |
msgstr "Passt die Höhe der Karte an"
|
2366 |
|
2367 |
# @ acf
|
2462 |
# @ acf
|
2463 |
#: includes/fields/class-acf-field-image.php:245
|
2464 |
#: includes/fields/class-acf-field-image.php:274
|
2465 |
+
#: pro/fields/class-acf-field-gallery.php:688
|
2466 |
+
#: pro/fields/class-acf-field-gallery.php:717
|
2467 |
msgid "Restrict which images can be uploaded"
|
2468 |
msgstr "Beschränkt welche Bilder hochgeladen werden können"
|
2469 |
|
2471 |
#: includes/fields/class-acf-field-image.php:248
|
2472 |
#: includes/fields/class-acf-field-image.php:277
|
2473 |
#: includes/fields/class-acf-field-oembed.php:257
|
2474 |
+
#: pro/fields/class-acf-field-gallery.php:691
|
2475 |
+
#: pro/fields/class-acf-field-gallery.php:720
|
2476 |
msgid "Width"
|
2477 |
msgstr "Breite"
|
2478 |
|
2623 |
# @ acf
|
2624 |
#: includes/fields/class-acf-field-page_link.php:485
|
2625 |
#: includes/fields/class-acf-field-post_object.php:383
|
2626 |
+
#: includes/fields/class-acf-field-relationship.php:560
|
2627 |
msgid "Filter by Post Type"
|
2628 |
msgstr "Nach Inhaltstyp filtern"
|
2629 |
|
2630 |
# @ acf
|
2631 |
#: includes/fields/class-acf-field-page_link.php:493
|
2632 |
#: includes/fields/class-acf-field-post_object.php:391
|
2633 |
+
#: includes/fields/class-acf-field-relationship.php:568
|
2634 |
msgid "All post types"
|
2635 |
msgstr "Alle Inhaltstypen"
|
2636 |
|
2637 |
# @ acf
|
2638 |
#: includes/fields/class-acf-field-page_link.php:499
|
2639 |
#: includes/fields/class-acf-field-post_object.php:397
|
2640 |
+
#: includes/fields/class-acf-field-relationship.php:574
|
2641 |
msgid "Filter by Taxonomy"
|
2642 |
msgstr "Nach Taxonomien filtern"
|
2643 |
|
2644 |
# @ acf
|
2645 |
#: includes/fields/class-acf-field-page_link.php:507
|
2646 |
#: includes/fields/class-acf-field-post_object.php:405
|
2647 |
+
#: includes/fields/class-acf-field-relationship.php:582
|
2648 |
msgid "All taxonomies"
|
2649 |
msgstr "Alle Taxonomien"
|
2650 |
|
2655 |
# @ acf
|
2656 |
#: includes/fields/class-acf-field-page_link.php:533
|
2657 |
#: includes/fields/class-acf-field-post_object.php:421
|
2658 |
+
#: includes/fields/class-acf-field-select.php:392
|
2659 |
+
#: includes/fields/class-acf-field-user.php:403
|
2660 |
msgid "Select multiple values?"
|
2661 |
msgstr "Mehrere Werte auswählbar?"
|
2662 |
|
2668 |
# @ acf
|
2669 |
#: includes/fields/class-acf-field-post_object.php:25
|
2670 |
#: includes/fields/class-acf-field-post_object.php:436
|
2671 |
+
#: includes/fields/class-acf-field-relationship.php:639
|
2672 |
msgid "Post Object"
|
2673 |
msgstr "Beitrags-Objekt"
|
2674 |
|
2675 |
# @ acf
|
2676 |
#: includes/fields/class-acf-field-post_object.php:437
|
2677 |
+
#: includes/fields/class-acf-field-relationship.php:640
|
2678 |
msgid "Post ID"
|
2679 |
msgstr "Beitrags-ID"
|
2680 |
|
2730 |
msgstr "Keine Übereinstimmung gefunden"
|
2731 |
|
2732 |
# @ acf
|
2733 |
+
#: includes/fields/class-acf-field-relationship.php:411
|
2734 |
msgid "Select post type"
|
2735 |
msgstr "Inhaltstyp auswählen"
|
2736 |
|
2737 |
# @ acf
|
2738 |
+
#: includes/fields/class-acf-field-relationship.php:420
|
2739 |
msgid "Select taxonomy"
|
2740 |
msgstr "Taxonomie auswählen"
|
2741 |
|
2742 |
# @ acf
|
2743 |
+
#: includes/fields/class-acf-field-relationship.php:477
|
2744 |
msgid "Search..."
|
2745 |
msgstr "Suchen..."
|
2746 |
|
2747 |
# @ acf
|
2748 |
+
#: includes/fields/class-acf-field-relationship.php:588
|
2749 |
msgid "Filters"
|
2750 |
msgstr "Filter"
|
2751 |
|
2752 |
# @ acf
|
2753 |
+
#: includes/fields/class-acf-field-relationship.php:594
|
2754 |
#: includes/locations/class-acf-location-post-type.php:27
|
2755 |
msgid "Post Type"
|
2756 |
msgstr "Inhaltstyp"
|
2757 |
|
2758 |
# @ acf
|
2759 |
+
#: includes/fields/class-acf-field-relationship.php:595
|
2760 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2761 |
#: includes/fields/class-acf-field-taxonomy.php:754
|
2762 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2764 |
msgstr "Taxonomie"
|
2765 |
|
2766 |
# @ acf
|
2767 |
+
#: includes/fields/class-acf-field-relationship.php:602
|
2768 |
msgid "Elements"
|
2769 |
msgstr "Elemente"
|
2770 |
|
2771 |
# @ acf
|
2772 |
+
#: includes/fields/class-acf-field-relationship.php:603
|
2773 |
msgid "Selected elements will be displayed in each result"
|
2774 |
msgstr "Die ausgewählten Elemente werden in jedem Ergebnis angezeigt"
|
2775 |
|
2776 |
# @ acf
|
2777 |
+
#: includes/fields/class-acf-field-relationship.php:614
|
2778 |
msgid "Minimum posts"
|
2779 |
msgstr "Mindestzahl an Beiträgen"
|
2780 |
|
2781 |
# @ acf
|
2782 |
+
#: includes/fields/class-acf-field-relationship.php:623
|
2783 |
msgid "Maximum posts"
|
2784 |
msgstr "Höchstzahl an Beiträgen"
|
2785 |
|
2786 |
# @ acf
|
2787 |
+
#: includes/fields/class-acf-field-relationship.php:727
|
2788 |
+
#: pro/fields/class-acf-field-gallery.php:818
|
2789 |
#, php-format
|
2790 |
msgid "%s requires at least %s selection"
|
2791 |
msgid_plural "%s requires at least %s selections"
|
2867 |
msgstr "Laden fehlgeschlagen"
|
2868 |
|
2869 |
# @ acf
|
2870 |
+
#: includes/fields/class-acf-field-select.php:402
|
2871 |
#: includes/fields/class-acf-field-true_false.php:144
|
2872 |
msgid "Stylised UI"
|
2873 |
msgstr "Select2-Library aktivieren"
|
2874 |
|
2875 |
# @ acf
|
2876 |
+
#: includes/fields/class-acf-field-select.php:412
|
2877 |
msgid "Use AJAX to lazy load choices?"
|
2878 |
msgstr "AJAX verwenden um die Auswahl mittels Lazy Loading zu laden?"
|
2879 |
|
2880 |
+
#: includes/fields/class-acf-field-select.php:428
|
2881 |
msgid "Specify the value returned"
|
2882 |
msgstr "Legen Sie den Rückgabewert fest"
|
2883 |
|
3021 |
msgid "Leave blank for no limit"
|
3022 |
msgstr "Leer lassen für keine Begrenzung"
|
3023 |
|
3024 |
+
#: includes/fields/class-acf-field-text.php:181
|
3025 |
+
#: includes/fields/class-acf-field-textarea.php:213
|
3026 |
+
#, php-format
|
3027 |
+
msgid "Value must not exceed %d characters"
|
3028 |
+
msgstr "Wert darf %d Zeichen nicht überschreiten"
|
3029 |
+
|
3030 |
# @ acf
|
3031 |
#: includes/fields/class-acf-field-textarea.php:25
|
3032 |
msgid "Text Area"
|
3087 |
msgstr "Benutzer"
|
3088 |
|
3089 |
# @ acf
|
3090 |
+
#: includes/fields/class-acf-field-user.php:378
|
3091 |
msgid "Filter by role"
|
3092 |
msgstr "Nach Rolle filtern"
|
3093 |
|
3094 |
# @ acf
|
3095 |
+
#: includes/fields/class-acf-field-user.php:386
|
3096 |
msgid "All user roles"
|
3097 |
msgstr "Alle Benutzerrollen"
|
3098 |
|
3099 |
# @ acf
|
3100 |
+
#: includes/fields/class-acf-field-user.php:417
|
3101 |
msgid "User Array"
|
3102 |
msgstr "Benutzer-Array"
|
3103 |
|
3104 |
# @ acf
|
3105 |
+
#: includes/fields/class-acf-field-user.php:418
|
3106 |
msgid "User Object"
|
3107 |
msgstr "Benutzer-Objekt"
|
3108 |
|
3109 |
# @ acf
|
3110 |
+
#: includes/fields/class-acf-field-user.php:419
|
3111 |
msgid "User ID"
|
3112 |
msgstr "Benutzer-ID"
|
3113 |
|
3169 |
msgid "TinyMCE will not be initalized until field is clicked"
|
3170 |
msgstr "TinyMCE wird nicht initialisiert solange das Feld nicht geklickt wurde"
|
3171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3172 |
#: includes/forms/form-front.php:55
|
3173 |
msgid "Validate Email"
|
3174 |
msgstr "E-Mail bestätigen"
|
3175 |
|
3176 |
# @ acf
|
3177 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591
|
3178 |
#: pro/options-page.php:81
|
3179 |
msgid "Update"
|
3180 |
msgstr "Aktualisieren"
|
3286 |
msgstr "Seiten-Template"
|
3287 |
|
3288 |
# @ acf
|
3289 |
+
#: includes/locations/class-acf-location-page-template.php:87
|
3290 |
+
#: includes/locations/class-acf-location-post-template.php:134
|
3291 |
msgid "Default Template"
|
3292 |
msgstr "Standard-Template"
|
3293 |
|
3384 |
msgstr "Advanced Custom Fields PRO"
|
3385 |
|
3386 |
# @ acf
|
3387 |
+
#: pro/admin/admin-options-page.php:198
|
3388 |
msgid "Publish"
|
3389 |
msgstr "Veröffentlichen"
|
3390 |
|
3391 |
# @ acf
|
3392 |
+
#: pro/admin/admin-options-page.php:204
|
3393 |
#, php-format
|
3394 |
msgid ""
|
3395 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
3399 |
"Feldgruppe erstellen</a>"
|
3400 |
|
3401 |
# @ acf
|
3402 |
+
#: pro/admin/admin-updates.php:49
|
3403 |
msgid "<b>Error</b>. Could not connect to update server"
|
3404 |
msgstr ""
|
3405 |
"<b>Fehler</b>. Es konnte keine Verbindung zum Update-Server hergestellt "
|
3406 |
"werden"
|
3407 |
|
3408 |
# @ acf
|
3409 |
+
#: pro/admin/admin-updates.php:118 pro/admin/views/html-settings-updates.php:13
|
|
|
3410 |
msgid "Updates"
|
3411 |
msgstr "Aktualisierungen"
|
3412 |
|
3413 |
+
#: pro/admin/admin-updates.php:191
|
3414 |
+
msgid ""
|
3415 |
+
"<b>Error</b>. Could not authenticate update package. Please check again or "
|
3416 |
+
"deactivate and reactivate your ACF PRO license."
|
3417 |
+
msgstr ""
|
3418 |
+
"<b>Fehler</b>. Das Update-Packet konnte nicht authentifiziert werden. Bitte "
|
3419 |
+
"probieren Sie es nochmal oder deaktivieren und reaktivieren Sie ihre ACF PRO-"
|
3420 |
+
"Lizenz."
|
3421 |
+
|
3422 |
# @ acf
|
3423 |
#: pro/admin/views/html-settings-updates.php:7
|
3424 |
msgid "Deactivate License"
|
3682 |
msgstr "Maximale Auswahl erreicht"
|
3683 |
|
3684 |
# @ acf
|
3685 |
+
#: pro/fields/class-acf-field-gallery.php:338
|
3686 |
msgid "Length"
|
3687 |
msgstr "Länge"
|
3688 |
|
3689 |
+
#: pro/fields/class-acf-field-gallery.php:381
|
3690 |
msgid "Caption"
|
3691 |
msgstr "Bildunterschrift"
|
3692 |
|
3693 |
+
#: pro/fields/class-acf-field-gallery.php:390
|
3694 |
msgid "Alt Text"
|
3695 |
msgstr "Alt Text"
|
3696 |
|
3697 |
# @ acf
|
3698 |
+
#: pro/fields/class-acf-field-gallery.php:562
|
3699 |
msgid "Add to gallery"
|
3700 |
msgstr "Zur Galerie hinzufügen"
|
3701 |
|
3702 |
# @ acf
|
3703 |
+
#: pro/fields/class-acf-field-gallery.php:566
|
3704 |
msgid "Bulk actions"
|
3705 |
msgstr "Massenverarbeitung"
|
3706 |
|
3707 |
# @ acf
|
3708 |
+
#: pro/fields/class-acf-field-gallery.php:567
|
3709 |
msgid "Sort by date uploaded"
|
3710 |
msgstr "Sortiere nach Upload-Datum"
|
3711 |
|
3712 |
# @ acf
|
3713 |
+
#: pro/fields/class-acf-field-gallery.php:568
|
3714 |
msgid "Sort by date modified"
|
3715 |
msgstr "Sortiere nach Änderungs-Datum"
|
3716 |
|
3717 |
# @ acf
|
3718 |
+
#: pro/fields/class-acf-field-gallery.php:569
|
3719 |
msgid "Sort by title"
|
3720 |
msgstr "Sortiere nach Titel"
|
3721 |
|
3722 |
# @ acf
|
3723 |
+
#: pro/fields/class-acf-field-gallery.php:570
|
3724 |
msgid "Reverse current order"
|
3725 |
msgstr "Aktuelle Sortierung umkehren"
|
3726 |
|
3727 |
# @ acf
|
3728 |
+
#: pro/fields/class-acf-field-gallery.php:588
|
3729 |
msgid "Close"
|
3730 |
msgstr "Schließen"
|
3731 |
|
3732 |
# @ acf
|
3733 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
3734 |
msgid "Minimum Selection"
|
3735 |
msgstr "Minimale Auswahl"
|
3736 |
|
3737 |
# @ acf
|
3738 |
+
#: pro/fields/class-acf-field-gallery.php:651
|
3739 |
msgid "Maximum Selection"
|
3740 |
msgstr "Maximale Auswahl"
|
3741 |
|
3742 |
+
#: pro/fields/class-acf-field-gallery.php:660
|
3743 |
msgid "Insert"
|
3744 |
msgstr "Einfügen"
|
3745 |
|
3746 |
+
#: pro/fields/class-acf-field-gallery.php:661
|
3747 |
msgid "Specify where new attachments are added"
|
3748 |
msgstr "Gibt an wo neue Anhänge hinzugefügt werden"
|
3749 |
|
3750 |
+
#: pro/fields/class-acf-field-gallery.php:665
|
3751 |
msgid "Append to the end"
|
3752 |
msgstr "Anhängen"
|
3753 |
|
3754 |
+
#: pro/fields/class-acf-field-gallery.php:666
|
3755 |
msgid "Prepend to the beginning"
|
3756 |
msgstr "Voranstellen"
|
3757 |
|
3835 |
msgid "http://www.elliotcondon.com/"
|
3836 |
msgstr "http://www.elliotcondon.com/"
|
3837 |
|
3838 |
+
# @ acf
|
3839 |
+
#~ msgid "%s field group duplicated."
|
3840 |
+
#~ msgid_plural "%s field groups duplicated."
|
3841 |
+
#~ msgstr[0] "%s Feldgruppe dupliziert."
|
3842 |
+
#~ msgstr[1] "%s Feldgruppen dupliziert."
|
3843 |
+
|
3844 |
+
# @ acf
|
3845 |
+
#~ msgid "%s field group synchronised."
|
3846 |
+
#~ msgid_plural "%s field groups synchronised."
|
3847 |
+
#~ msgstr[0] "%s Feldgruppe synchronisiert."
|
3848 |
+
#~ msgstr[1] "%s Feldgruppen synchronisiert."
|
3849 |
+
|
3850 |
+
# @ acf
|
3851 |
+
#~ msgid "<b>Error</b>. Could not load add-ons list"
|
3852 |
+
#~ msgstr ""
|
3853 |
+
#~ "<b>Fehler</b>. Die Liste der Zusatz-Module kann nicht geladen werden"
|
3854 |
+
|
3855 |
#~ msgid "Error validating request"
|
3856 |
#~ msgstr "Fehler bei der Überprüfung der Anfrage"
|
3857 |
|
lang/acf-fa_IR.mo
CHANGED
Binary file
|
lang/acf-fa_IR.po
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Advanced Custom Fields Pro v5.
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
8 |
-
"Language-Team:
|
9 |
"Language: fa\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"Plural-Forms: nplurals=
|
14 |
-
"X-Generator: Poedit
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
@@ -24,387 +24,362 @@ msgstr ""
|
|
24 |
|
25 |
#: acf.php:80
|
26 |
msgid "Advanced Custom Fields"
|
27 |
-
msgstr "زمینههای
|
28 |
|
29 |
-
#: acf.php:
|
30 |
msgid "Field Groups"
|
31 |
msgstr "گروههای زمینه"
|
32 |
|
33 |
-
#: acf.php:
|
34 |
msgid "Field Group"
|
35 |
msgstr "گروه زمینه"
|
36 |
|
37 |
-
#: acf.php:
|
38 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
39 |
msgid "Add New"
|
40 |
msgstr "افزودن"
|
41 |
|
42 |
-
#: acf.php:
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr "افزودن گروه زمینه جدید"
|
45 |
|
46 |
-
#: acf.php:
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr "ویرایش گروه زمینه"
|
49 |
|
50 |
-
#: acf.php:
|
51 |
msgid "New Field Group"
|
52 |
msgstr "گروه زمینه جدید"
|
53 |
|
54 |
-
#: acf.php:
|
55 |
msgid "View Field Group"
|
56 |
msgstr "مشاهده گروه زمینه"
|
57 |
|
58 |
-
#: acf.php:
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr "جستجوی گروه های زمینه"
|
61 |
|
62 |
-
#: acf.php:
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr "گروه زمینه ای یافت نشد"
|
65 |
|
66 |
-
#: acf.php:
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr "گروه زمینه ای در زباله دان یافت نشد"
|
69 |
|
70 |
-
#: acf.php:
|
71 |
-
#: includes/admin/admin-field-groups.php:
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr "زمینه ها"
|
75 |
|
76 |
-
#: acf.php:
|
77 |
msgid "Field"
|
78 |
msgstr "زمینه"
|
79 |
|
80 |
-
#: acf.php:
|
81 |
msgid "Add New Field"
|
82 |
msgstr "زمینه جدید"
|
83 |
|
84 |
-
#: acf.php:
|
85 |
msgid "Edit Field"
|
86 |
msgstr "ویرایش زمینه"
|
87 |
|
88 |
-
#: acf.php:
|
89 |
-
#: includes/admin/views/settings-info.php:105
|
90 |
msgid "New Field"
|
91 |
msgstr "زمینه جدید"
|
92 |
|
93 |
-
#: acf.php:
|
94 |
msgid "View Field"
|
95 |
msgstr "نمایش زمینه"
|
96 |
|
97 |
-
#: acf.php:
|
98 |
msgid "Search Fields"
|
99 |
msgstr "جستجوی گروه های زمینه"
|
100 |
|
101 |
-
#: acf.php:
|
102 |
msgid "No Fields found"
|
103 |
msgstr "گروه زمینه ای یافت نشد"
|
104 |
|
105 |
-
#: acf.php:
|
106 |
msgid "No Fields found in Trash"
|
107 |
msgstr "گروه زمینه ای در زباله دان یافت نشد"
|
108 |
|
109 |
-
#: acf.php:
|
110 |
-
#: includes/admin/admin-field-groups.php:
|
111 |
msgid "Inactive"
|
112 |
msgstr "غیرفعال"
|
113 |
|
114 |
-
#: acf.php:
|
115 |
#, php-format
|
116 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
118 |
msgstr[0] "غیرفعال <span class=\"count\">(%s)</span>"
|
|
|
119 |
|
120 |
-
#: includes/admin/admin-field-group.php:
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
msgid "Field group updated."
|
124 |
-
msgstr "گروه زمینه بروز
|
125 |
|
126 |
-
#: includes/admin/admin-field-group.php:
|
127 |
msgid "Field group deleted."
|
128 |
-
msgstr "گروه زمینه
|
129 |
|
130 |
-
#: includes/admin/admin-field-group.php:
|
131 |
msgid "Field group published."
|
132 |
msgstr "گروه زمینه انتشار یافت."
|
133 |
|
134 |
-
#: includes/admin/admin-field-group.php:
|
135 |
msgid "Field group saved."
|
136 |
msgstr "گروه زمینه ذخیره شد."
|
137 |
|
138 |
-
#: includes/admin/admin-field-group.php:
|
139 |
msgid "Field group submitted."
|
140 |
msgstr "گروه زمینه ارسال شد."
|
141 |
|
142 |
-
#: includes/admin/admin-field-group.php:
|
143 |
msgid "Field group scheduled for."
|
144 |
-
msgstr "گروه زمینه برنامه ریزی انتشار پیدا کرده
|
145 |
|
146 |
-
#: includes/admin/admin-field-group.php:
|
147 |
msgid "Field group draft updated."
|
148 |
msgstr "پیش نویش گروه زمینه بروز شد."
|
149 |
|
150 |
-
#: includes/admin/admin-field-group.php:
|
151 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
152 |
-
msgstr "کلمه متنی \"field_\" نباید در ابتدای نام فیلد استفاده
|
153 |
|
154 |
-
#: includes/admin/admin-field-group.php:
|
155 |
msgid "This field cannot be moved until its changes have been saved"
|
156 |
msgstr "این زمینه قبل از اینکه ذخیره شود نمی تواند جابجا شود"
|
157 |
|
158 |
-
#: includes/admin/admin-field-group.php:
|
159 |
msgid "Field group title is required"
|
160 |
msgstr "عنوان گروه زمینه ضروری است"
|
161 |
|
162 |
-
#: includes/admin/admin-field-group.php:
|
163 |
msgid "Move to trash. Are you sure?"
|
164 |
msgstr "انتقال به زباله دان، آیا شما مطمئنید؟"
|
165 |
|
166 |
-
#: includes/admin/admin-field-group.php:
|
167 |
msgid "No toggle fields available"
|
168 |
msgstr "هیچ زمینه شرط پذیری موجود نیست"
|
169 |
|
170 |
-
#: includes/admin/admin-field-group.php:
|
171 |
msgid "Move Custom Field"
|
172 |
msgstr "جابجایی زمینه دلخواه"
|
173 |
|
174 |
-
#: includes/admin/admin-field-group.php:
|
175 |
msgid "Checked"
|
176 |
msgstr "انتخاب شده"
|
177 |
|
178 |
-
#: includes/admin/admin-field-group.php:
|
179 |
-
msgid "(no label)"
|
180 |
-
msgstr "(بدون برچسب)"
|
181 |
-
|
182 |
-
#: includes/admin/admin-field-group.php:161
|
183 |
msgid "(this field)"
|
184 |
msgstr "(این گزینه)"
|
185 |
|
186 |
-
#: includes/admin/admin-field-group.php:
|
187 |
-
#: includes/api/api-field-group.php:751
|
188 |
-
msgid "copy"
|
189 |
-
msgstr "کپی"
|
190 |
-
|
191 |
-
#: includes/admin/admin-field-group.php:163
|
192 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
193 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
194 |
#: includes/admin/views/field-group-locations.php:29
|
195 |
#: includes/admin/views/html-location-group.php:3
|
196 |
-
#: includes/api/api-helpers.php:
|
197 |
msgid "or"
|
198 |
msgstr "یا"
|
199 |
|
200 |
-
#: includes/admin/admin-field-group.php:
|
201 |
msgid "Null"
|
202 |
msgstr "خالی (null)"
|
203 |
|
204 |
-
#: includes/admin/admin-field-group.php:
|
205 |
msgid "Location"
|
206 |
msgstr "مکان"
|
207 |
|
208 |
-
#: includes/admin/admin-field-group.php:
|
209 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
210 |
msgid "Settings"
|
211 |
msgstr "تنظیمات"
|
212 |
|
213 |
-
#: includes/admin/admin-field-group.php:
|
214 |
msgid "Field Keys"
|
215 |
msgstr "کایدهای زمینه"
|
216 |
|
217 |
-
#: includes/admin/admin-field-group.php:
|
218 |
#: includes/admin/views/field-group-options.php:9
|
219 |
msgid "Active"
|
220 |
msgstr "فعال"
|
221 |
|
222 |
-
#: includes/admin/admin-field-group.php:
|
223 |
msgid "Move Complete."
|
224 |
msgstr "انتقال کامل شد."
|
225 |
|
226 |
-
#: includes/admin/admin-field-group.php:
|
227 |
#, php-format
|
228 |
msgid "The %s field can now be found in the %s field group"
|
229 |
msgstr "زمینه %s اکنون در گروه زمینه %s قرار گرفته است"
|
230 |
|
231 |
-
#: includes/admin/admin-field-group.php:
|
232 |
msgid "Close Window"
|
233 |
msgstr "بستن زمینه"
|
234 |
|
235 |
-
#: includes/admin/admin-field-group.php:
|
236 |
msgid "Please select the destination for this field"
|
237 |
msgstr "مقصد انتقال این زمینه را مشخص کنید"
|
238 |
|
239 |
-
#: includes/admin/admin-field-group.php:
|
240 |
msgid "Move Field"
|
241 |
msgstr "جابجایی زمینه"
|
242 |
|
243 |
-
#: includes/admin/admin-field-groups.php:
|
244 |
#, php-format
|
245 |
msgid "Active <span class=\"count\">(%s)</span>"
|
246 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
247 |
-
msgstr[0] "فعال <span class=\"
|
|
|
248 |
|
249 |
-
#: includes/admin/admin-field-groups.php:
|
250 |
#, php-format
|
251 |
-
msgid "Field group duplicated.
|
252 |
-
msgstr "گروه زمینه تکثیر شد. %s"
|
253 |
-
|
254 |
-
#: includes/admin/admin-field-groups.php:146
|
255 |
-
#, php-format
|
256 |
-
msgid "%s field group duplicated."
|
257 |
msgid_plural "%s field groups duplicated."
|
258 |
-
msgstr[0] "%s گروه زمینه تکثیر
|
259 |
-
|
260 |
-
#: includes/admin/admin-field-groups.php:227
|
261 |
-
#, php-format
|
262 |
-
msgid "Field group synchronised. %s"
|
263 |
-
msgstr "گروه زمینه هماهنگ شد. %s"
|
264 |
|
265 |
-
#: includes/admin/admin-field-groups.php:
|
266 |
#, php-format
|
267 |
-
msgid "
|
268 |
msgid_plural "%s field groups synchronised."
|
269 |
-
msgstr[0] "گروه زمینه
|
|
|
270 |
|
271 |
-
#: includes/admin/admin-field-groups.php:
|
272 |
-
#: includes/admin/admin-field-groups.php:
|
273 |
msgid "Sync available"
|
274 |
msgstr "هماهنگ سازی موجود است"
|
275 |
|
276 |
-
#: includes/admin/admin-field-groups.php:
|
277 |
-
#: pro/fields/class-acf-field-gallery.php:
|
278 |
msgid "Title"
|
279 |
msgstr "عنوان"
|
280 |
|
281 |
-
#: includes/admin/admin-field-groups.php:
|
282 |
#: includes/admin/views/field-group-options.php:96
|
283 |
-
#: includes/admin/views/
|
284 |
-
#: includes/admin/views/
|
285 |
-
#: pro/fields/class-acf-field-gallery.php:
|
286 |
msgid "Description"
|
287 |
msgstr "توضیحات"
|
288 |
|
289 |
-
#: includes/admin/admin-field-groups.php:
|
290 |
msgid "Status"
|
291 |
msgstr "وضعیت"
|
292 |
|
293 |
#. Description of the plugin/theme
|
294 |
-
#: includes/admin/admin-field-groups.php:
|
295 |
-
msgid "
|
296 |
-
msgstr "
|
297 |
|
298 |
-
#: includes/admin/admin-field-groups.php:
|
299 |
-
#: includes/admin/settings-info.php:76
|
300 |
#: pro/admin/views/html-settings-updates.php:107
|
301 |
msgid "Changelog"
|
302 |
msgstr "تغییرات"
|
303 |
|
304 |
-
#: includes/admin/admin-field-groups.php:
|
305 |
#, php-format
|
306 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
307 |
msgstr "مشاهده موارد جدید <a href=\"%s\">نسخه %s</a>."
|
308 |
|
309 |
-
#: includes/admin/admin-field-groups.php:
|
310 |
msgid "Resources"
|
311 |
msgstr "منابع"
|
312 |
|
313 |
-
#: includes/admin/admin-field-groups.php:
|
314 |
msgid "Website"
|
315 |
msgstr "وب سایت"
|
316 |
|
317 |
-
#: includes/admin/admin-field-groups.php:
|
318 |
msgid "Documentation"
|
319 |
msgstr "مستندات"
|
320 |
|
321 |
-
#: includes/admin/admin-field-groups.php:
|
322 |
msgid "Support"
|
323 |
msgstr "پشتیبانی"
|
324 |
|
325 |
-
#: includes/admin/admin-field-groups.php:
|
|
|
326 |
msgid "Pro"
|
327 |
msgstr "پیشرفته"
|
328 |
|
329 |
-
#: includes/admin/admin-field-groups.php:
|
330 |
#, php-format
|
331 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
332 |
msgstr "با تشکر از شما برای استفاده از <a href=\"%s\">ACF</a>."
|
333 |
|
334 |
-
#: includes/admin/admin-field-groups.php:
|
335 |
msgid "Duplicate this item"
|
336 |
msgstr "تکثیر این زمینه"
|
337 |
|
338 |
-
#: includes/admin/admin-field-groups.php:
|
339 |
-
#: includes/admin/admin-field-groups.php:
|
340 |
#: includes/admin/views/field-group-field.php:46
|
341 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
342 |
msgid "Duplicate"
|
343 |
msgstr "تکثیر"
|
344 |
|
345 |
-
#: includes/admin/admin-field-groups.php:
|
346 |
-
#: includes/fields/class-acf-field-google-map.php:
|
347 |
-
#: includes/fields/class-acf-field-relationship.php:
|
348 |
msgid "Search"
|
349 |
msgstr "جستجو"
|
350 |
|
351 |
-
#: includes/admin/admin-field-groups.php:
|
352 |
#, php-format
|
353 |
msgid "Select %s"
|
354 |
msgstr "انتخاب %s"
|
355 |
|
356 |
-
#: includes/admin/admin-field-groups.php:
|
357 |
msgid "Synchronise field group"
|
358 |
msgstr "هماهنگ سازی گروه زمینه"
|
359 |
|
360 |
-
#: includes/admin/admin-field-groups.php:
|
361 |
-
#: includes/admin/admin-field-groups.php:
|
362 |
msgid "Sync"
|
363 |
msgstr "هماهنگ"
|
364 |
|
365 |
-
#: includes/admin/admin-field-groups.php:
|
366 |
msgid "Apply"
|
367 |
msgstr "اعمال"
|
368 |
|
369 |
-
#: includes/admin/admin-field-groups.php:
|
370 |
msgid "Bulk Actions"
|
371 |
msgstr "اعمال گروهی"
|
372 |
|
373 |
-
#: includes/admin/admin-tools.php:116
|
374 |
-
#: includes/admin/views/html-admin-tools.php:21
|
375 |
msgid "Tools"
|
376 |
msgstr "ابزارها"
|
377 |
|
378 |
-
#: includes/admin/admin.php:
|
379 |
-
#: includes/admin/
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
#: includes/admin/install-network.php:88 includes/admin/install.php:70
|
384 |
-
#: includes/admin/install.php:121
|
385 |
msgid "Upgrade Database"
|
386 |
msgstr "بهروزرسانی پایگاه داده"
|
387 |
|
388 |
-
#: includes/admin/
|
389 |
msgid "Review sites & upgrade"
|
390 |
msgstr "بازبینی و بهروزرسانی سایتها"
|
391 |
|
392 |
-
#: includes/admin/
|
393 |
-
msgid "
|
394 |
-
msgstr "
|
395 |
-
|
396 |
-
#: includes/admin/install.php:210 includes/admin/views/install.php:104
|
397 |
-
msgid "No updates available."
|
398 |
-
msgstr "بهروزرسانی موجود نیست."
|
399 |
-
|
400 |
-
#: includes/admin/settings-addons.php:51
|
401 |
-
#: includes/admin/views/settings-addons.php:3
|
402 |
-
msgid "Add-ons"
|
403 |
-
msgstr "افزودنی ها"
|
404 |
-
|
405 |
-
#: includes/admin/settings-addons.php:87
|
406 |
-
msgid "<b>Error</b>. Could not load add-ons list"
|
407 |
-
msgstr "<b>خطا</b>. لیست افزونه ها قابل خواندن نیست"
|
408 |
|
409 |
#: includes/admin/settings-info.php:50
|
410 |
msgid "Info"
|
@@ -433,7 +408,8 @@ msgstr "گروه زمینه ای انتخاب نشده است"
|
|
433 |
#, php-format
|
434 |
msgid "Exported 1 field group."
|
435 |
msgid_plural "Exported %s field groups."
|
436 |
-
msgstr[0] "
|
|
|
437 |
|
438 |
#: includes/admin/tools/class-acf-admin-tool-export.php:241
|
439 |
#: includes/admin/tools/class-acf-admin-tool-export.php:269
|
@@ -447,10 +423,10 @@ msgid ""
|
|
447 |
"import to another ACF installation. Use the generate button to export to PHP "
|
448 |
"code which you can place in your theme."
|
449 |
msgstr ""
|
450 |
-
"گروه
|
451 |
-
"
|
452 |
-
"
|
453 |
-
"
|
454 |
|
455 |
#: includes/admin/tools/class-acf-admin-tool-export.php:341
|
456 |
msgid "Export File"
|
@@ -461,13 +437,13 @@ msgid ""
|
|
461 |
"The following code can be used to register a local version of the selected "
|
462 |
"field group(s). A local field group can provide many benefits such as faster "
|
463 |
"load times, version control & dynamic fields/settings. Simply copy and paste "
|
464 |
-
"the following code to your theme's functions.php file or include it within "
|
465 |
-
"
|
466 |
msgstr ""
|
467 |
-
"این کد می تواند برای ثبت یک نسخه محلی (لوکال)از گروه
|
468 |
-
"استفاده شود. یک نسخه محلی فواید زیادی دارد، مثلا سرعت لود بالاتر، کنترل نسخه "
|
469 |
-
"
|
470 |
-
"
|
471 |
|
472 |
#: includes/admin/tools/class-acf-admin-tool-export.php:446
|
473 |
msgid "Copy to clipboard"
|
@@ -481,46 +457,47 @@ msgstr "کپی شد"
|
|
481 |
msgid "Import Field Groups"
|
482 |
msgstr "وارد کردن گروه های زمینه"
|
483 |
|
484 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
485 |
msgid ""
|
486 |
-
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
487 |
-
"
|
488 |
msgstr ""
|
489 |
-
"فایل JSON ای که قبلا از این افزونه خروجی گرفته اید را انتخاب کنید تا وارد "
|
490 |
-
"
|
491 |
-
"
|
492 |
|
493 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
494 |
#: includes/fields/class-acf-field-file.php:57
|
495 |
msgid "Select File"
|
496 |
msgstr "انتخاب پرونده"
|
497 |
|
498 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
499 |
msgid "Import File"
|
500 |
msgstr "وارد کردن فایل"
|
501 |
|
502 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
503 |
#: includes/fields/class-acf-field-file.php:170
|
504 |
msgid "No file selected"
|
505 |
msgstr "هیچ پرونده ای انتخاب نشده"
|
506 |
|
507 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
508 |
msgid "Error uploading file. Please try again"
|
509 |
msgstr "خطا در آپلود فایل. لطفا مجدد بررسی کنید"
|
510 |
|
511 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
512 |
msgid "Incorrect file type"
|
513 |
msgstr "نوع فایل صحیح نیست"
|
514 |
|
515 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
516 |
msgid "Import file empty"
|
517 |
msgstr "فایل وارد شده خالی است"
|
518 |
|
519 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
520 |
#, php-format
|
521 |
msgid "Imported 1 field group"
|
522 |
msgid_plural "Imported %s field groups"
|
523 |
-
msgstr[0] "
|
|
|
524 |
|
525 |
#: includes/admin/views/field-group-field-conditional-logic.php:25
|
526 |
msgid "Conditional Logic"
|
@@ -531,7 +508,7 @@ msgid "Show this field if"
|
|
531 |
msgstr "نمایش این گروه زمینه اگر"
|
532 |
|
533 |
#: includes/admin/views/field-group-field-conditional-logic.php:138
|
534 |
-
#: includes/admin/views/html-location-rule.php:
|
535 |
msgid "and"
|
536 |
msgstr "و"
|
537 |
|
@@ -541,7 +518,7 @@ msgid "Add rule group"
|
|
541 |
msgstr "افزودن گروه قانون"
|
542 |
|
543 |
#: includes/admin/views/field-group-field.php:38
|
544 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
545 |
#: pro/fields/class-acf-field-repeater.php:294
|
546 |
msgid "Drag to reorder"
|
547 |
msgstr "گرفتن و کشیدن برای مرتب سازی"
|
@@ -555,7 +532,7 @@ msgstr "ویرایش زمینه"
|
|
555 |
#: includes/fields/class-acf-field-file.php:152
|
556 |
#: includes/fields/class-acf-field-image.php:139
|
557 |
#: includes/fields/class-acf-field-link.php:139
|
558 |
-
#: pro/fields/class-acf-field-gallery.php:
|
559 |
msgid "Edit"
|
560 |
msgstr "ویرایش"
|
561 |
|
@@ -576,7 +553,7 @@ msgid "Delete field"
|
|
576 |
msgstr "حذف زمینه"
|
577 |
|
578 |
#: includes/admin/views/field-group-field.php:48
|
579 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
580 |
msgid "Delete"
|
581 |
msgstr "حذف"
|
582 |
|
@@ -586,7 +563,7 @@ msgstr "برچسب زمینه"
|
|
586 |
|
587 |
#: includes/admin/views/field-group-field.php:66
|
588 |
msgid "This is the name which will appear on the EDIT page"
|
589 |
-
msgstr "این نامی است که در صفحه \"ویرایش\" نمایش داده خواهد
|
590 |
|
591 |
#: includes/admin/views/field-group-field.php:75
|
592 |
msgid "Field Name"
|
@@ -634,20 +611,20 @@ msgstr "بستن زمینه"
|
|
634 |
|
635 |
#: includes/admin/views/field-group-fields.php:4
|
636 |
msgid "Order"
|
637 |
-
msgstr "
|
638 |
|
639 |
#: includes/admin/views/field-group-fields.php:5
|
640 |
#: includes/fields/class-acf-field-button-group.php:198
|
641 |
#: includes/fields/class-acf-field-checkbox.php:420
|
642 |
#: includes/fields/class-acf-field-radio.php:311
|
643 |
-
#: includes/fields/class-acf-field-select.php:
|
644 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
645 |
msgid "Label"
|
646 |
msgstr "برچسب زمینه"
|
647 |
|
648 |
#: includes/admin/views/field-group-fields.php:6
|
649 |
#: includes/fields/class-acf-field-taxonomy.php:939
|
650 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
651 |
msgid "Name"
|
652 |
msgstr "نام"
|
653 |
|
@@ -661,11 +638,11 @@ msgstr "نوع زمینه"
|
|
661 |
|
662 |
#: includes/admin/views/field-group-fields.php:14
|
663 |
msgid ""
|
664 |
-
"No fields. Click the <strong>+ Add Field</strong> button to create your "
|
665 |
-
"
|
666 |
msgstr ""
|
667 |
-
"هیچ زمینه ای وجود ندارد. روی دکمه<strong>+ افزودن زمینه</strong> کلیک کنید "
|
668 |
-
"
|
669 |
|
670 |
#: includes/admin/views/field-group-fields.php:31
|
671 |
msgid "+ Add Field"
|
@@ -677,11 +654,11 @@ msgstr "قوانین"
|
|
677 |
|
678 |
#: includes/admin/views/field-group-locations.php:10
|
679 |
msgid ""
|
680 |
-
"Create a set of rules to determine which edit screens will use these "
|
681 |
-
"
|
682 |
msgstr ""
|
683 |
-
"مجموعه ای از قوانین را بسازید تا مشخص کنید در کدام صفحه
|
684 |
-
"
|
685 |
|
686 |
#: includes/admin/views/field-group-options.php:23
|
687 |
msgid "Style"
|
@@ -739,7 +716,7 @@ msgstr "زیر زمینه ها"
|
|
739 |
|
740 |
#: includes/admin/views/field-group-options.php:85
|
741 |
msgid "Order No."
|
742 |
-
msgstr "شماره
|
743 |
|
744 |
#: includes/admin/views/field-group-options.php:86
|
745 |
msgid "Field groups with a lower order will appear first"
|
@@ -790,7 +767,7 @@ msgid "Page Attributes"
|
|
790 |
msgstr "صفات برگه"
|
791 |
|
792 |
#: includes/admin/views/field-group-options.php:118
|
793 |
-
#: includes/fields/class-acf-field-relationship.php:
|
794 |
msgid "Featured Image"
|
795 |
msgstr "تصویر شاخص"
|
796 |
|
@@ -819,123 +796,137 @@ msgid ""
|
|
819 |
"If multiple field groups appear on an edit screen, the first field group's "
|
820 |
"options will be used (the one with the lowest order number)"
|
821 |
msgstr ""
|
822 |
-
"اگر چندین گروه زمینه در یک صفحه ویرایش نمایش داده شود،اولین تنظیمات گروه "
|
823 |
-
"
|
824 |
-
|
825 |
-
#: includes/admin/views/html-location-group.php:3
|
826 |
-
msgid "Show this field group if"
|
827 |
-
msgstr "نمایش این گروه زمینه اگر"
|
828 |
-
|
829 |
-
#: includes/admin/views/install-network.php:4
|
830 |
-
msgid "Upgrade Sites"
|
831 |
-
msgstr "ارتقاء سایت"
|
832 |
-
|
833 |
-
#: includes/admin/views/install-network.php:9
|
834 |
-
#: includes/admin/views/install.php:3
|
835 |
-
msgid "Advanced Custom Fields Database Upgrade"
|
836 |
-
msgstr "بهروزرسانی پایگاه داده زمینه های دلخواه پیشرفته"
|
837 |
|
838 |
-
#: includes/admin/views/
|
839 |
#, php-format
|
840 |
msgid ""
|
841 |
-
"The following sites require a DB upgrade. Check the ones you want to update "
|
842 |
-
"
|
843 |
msgstr "این سایت ها نیاز به به روز رسانی دارند برای انجام %s کلیک کنید."
|
844 |
|
845 |
-
#: includes/admin/views/
|
846 |
-
#: includes/admin/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
847 |
msgid "Site"
|
848 |
msgstr "سایت"
|
849 |
|
850 |
-
#: includes/admin/views/
|
851 |
#, php-format
|
852 |
msgid "Site requires database upgrade from %s to %s"
|
853 |
msgstr "سایت نیاز به بهروزرسانی از %s به %s دارد"
|
854 |
|
855 |
-
#: includes/admin/views/
|
856 |
msgid "Site is up to date"
|
857 |
msgstr "سایت به روز است"
|
858 |
|
859 |
-
#: includes/admin/views/
|
860 |
#, php-format
|
861 |
-
msgid ""
|
862 |
-
"
|
863 |
-
|
864 |
-
|
|
|
|
|
865 |
|
866 |
-
#: includes/admin/views/
|
867 |
-
#: includes/admin/views/
|
868 |
msgid ""
|
869 |
-
"It is strongly recommended that you backup your database before proceeding. "
|
870 |
-
"
|
871 |
msgstr ""
|
872 |
"قویا توصیه می شود از بانک اطلاعاتی خود قبل از هر کاری پشتیبان تهیه کنید. آیا "
|
873 |
"مایلید به روز رسانی انجام شود؟"
|
874 |
|
875 |
-
#: includes/admin/views/
|
876 |
-
|
877 |
-
msgstr "بهروزرسانی انجام شد"
|
878 |
-
|
879 |
-
#: includes/admin/views/install-network.php:162
|
880 |
-
#: includes/admin/views/install.php:9
|
881 |
#, php-format
|
882 |
msgid "Upgrading data to version %s"
|
883 |
msgstr "به روز رسانی داده ها به نسحه %s"
|
884 |
|
885 |
-
#: includes/admin/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
886 |
#: pro/fields/class-acf-field-repeater.php:25
|
887 |
msgid "Repeater"
|
888 |
msgstr "زمینه تکرار کننده"
|
889 |
|
890 |
-
#: includes/admin/views/
|
891 |
#: pro/fields/class-acf-field-flexible-content.php:25
|
892 |
msgid "Flexible Content"
|
893 |
msgstr "محتوای انعطاف پذیر"
|
894 |
|
895 |
-
#: includes/admin/views/
|
896 |
#: pro/fields/class-acf-field-gallery.php:25
|
897 |
msgid "Gallery"
|
898 |
msgstr "گالری"
|
899 |
|
900 |
-
#: includes/admin/views/
|
901 |
#: pro/locations/class-acf-location-options-page.php:26
|
902 |
msgid "Options Page"
|
903 |
msgstr "برگه تنظیمات"
|
904 |
|
905 |
-
#: includes/admin/views/
|
906 |
msgid "Database Upgrade Required"
|
907 |
msgstr "به روزرسانی دیتابیس لازم است"
|
908 |
|
909 |
-
#: includes/admin/views/
|
910 |
#, php-format
|
911 |
msgid "Thank you for updating to %s v%s!"
|
912 |
msgstr "از شما برای بروزرسانی به آخرین نسخه %s v%s ممنون هستیم!"
|
913 |
|
914 |
-
#: includes/admin/views/
|
915 |
msgid ""
|
916 |
-
"
|
917 |
-
"
|
918 |
-
msgstr ""
|
919 |
-
"قبل از اینکه از تمام امکانات شگفت انگیز جدید استفاده کنید لازم است بانک "
|
920 |
-
"اطلاعاتی را به روز کنید"
|
921 |
|
922 |
-
#: includes/admin/views/
|
923 |
#, php-format
|
924 |
msgid ""
|
925 |
-
"Please also
|
926 |
-
"latest version."
|
927 |
msgstr ""
|
928 |
-
"لطفا
|
929 |
-
"شدهاند."
|
930 |
-
|
931 |
-
#: includes/admin/views/install.php:7
|
932 |
-
msgid "Reading upgrade tasks..."
|
933 |
-
msgstr "در حال خواندن مراحل به روزرسانی..."
|
934 |
|
935 |
-
#: includes/admin/views/
|
936 |
-
|
937 |
-
|
938 |
-
msgstr "ارتقاء پایگاه داده کامل شد. <a href=\"%s\">تغییرات جدید را ببینید</a>"
|
939 |
|
940 |
#: includes/admin/views/settings-addons.php:17
|
941 |
msgid "Download & Install"
|
@@ -947,93 +938,92 @@ msgstr "نصب شده"
|
|
947 |
|
948 |
#: includes/admin/views/settings-info.php:3
|
949 |
msgid "Welcome to Advanced Custom Fields"
|
950 |
-
msgstr "به افزونه
|
951 |
|
952 |
#: includes/admin/views/settings-info.php:4
|
953 |
#, php-format
|
954 |
msgid ""
|
955 |
-
"Thank you for updating! ACF %s is bigger and better than ever before. We "
|
956 |
-
"
|
957 |
msgstr ""
|
958 |
"از اینکه به روزرسانی کردید متشکریم! افزونه زمینه دلخواه پیشرفته %s بزرگتر و "
|
959 |
"بهتر از قبل شده است. امیدواریم لذت ببرید."
|
960 |
|
961 |
-
#: includes/admin/views/settings-info.php:
|
962 |
-
msgid "A
|
963 |
-
msgstr "
|
964 |
|
965 |
-
#: includes/admin/views/settings-info.php:
|
966 |
msgid "Improved Usability"
|
967 |
msgstr "کاربری بهینه شده"
|
968 |
|
969 |
-
#: includes/admin/views/settings-info.php:
|
970 |
msgid ""
|
971 |
"Including the popular Select2 library has improved both usability and speed "
|
972 |
-
"across a number of field types including post object, page link, taxonomy "
|
973 |
-
"
|
974 |
msgstr ""
|
975 |
"استفاده از کتابخانه محبوب Select2 باعث سرعت در عملکرد و کاربری بهتر در انواع "
|
976 |
-
"زمینه هاشامل آبجکت نوشته، پیوند(لینک) صفحه ، طبقه بندی و
|
977 |
-
"انتخاب(Select) شده
|
978 |
|
979 |
-
#: includes/admin/views/settings-info.php:
|
980 |
msgid "Improved Design"
|
981 |
msgstr "طراحی بهینه شده"
|
982 |
|
983 |
-
#: includes/admin/views/settings-info.php:
|
984 |
msgid ""
|
985 |
-
"Many fields have undergone a visual refresh to make ACF look better than "
|
986 |
-
"
|
987 |
-
"
|
988 |
msgstr ""
|
989 |
"بسیاری از زمینه ها از نظر ظاهری باز طراحی شدند تا این افزونه از قبل بهتر شده "
|
990 |
-
"باشد. تغییرات چشم گیر در گالری و ارتباط و زمینه جدید به نام oEmbed صورت "
|
991 |
-
"
|
992 |
|
993 |
-
#: includes/admin/views/settings-info.php:
|
994 |
msgid "Improved Data"
|
995 |
msgstr "داده ها بهینه شده اند"
|
996 |
|
997 |
-
#: includes/admin/views/settings-info.php:
|
998 |
msgid ""
|
999 |
-
"Redesigning the data architecture has allowed sub fields to live "
|
1000 |
-
"
|
1001 |
-
"
|
1002 |
msgstr ""
|
1003 |
-
"بازطراحی معماری داده ها این اجازه را به
|
1004 |
-
"
|
1005 |
-
"
|
1006 |
|
1007 |
-
#: includes/admin/views/settings-info.php:
|
1008 |
msgid "Goodbye Add-ons. Hello PRO"
|
1009 |
msgstr "خداحافظ افزودنی ها و سلام به نسخه حرفه ای"
|
1010 |
|
1011 |
-
#: includes/admin/views/settings-info.php:
|
1012 |
msgid "Introducing ACF PRO"
|
1013 |
msgstr "معرفی نسخه حرفه ای"
|
1014 |
|
1015 |
-
#: includes/admin/views/settings-info.php:
|
1016 |
msgid ""
|
1017 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
1018 |
-
msgstr ""
|
1019 |
-
"ما در حال تغییر راه عملکردهای پولی افزونه به شیوه ای هیجان انگیز هستیم!"
|
1020 |
|
1021 |
-
#: includes/admin/views/settings-info.php:
|
1022 |
#, php-format
|
1023 |
msgid ""
|
1024 |
-
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
1025 |
-
"
|
1026 |
-
"
|
1027 |
msgstr ""
|
1028 |
-
"هر چهار افزدونی پولی یکی شده و تحت عنوان <a href=\"%s\">نسخه حرفه ای (Pro) </"
|
1029 |
-
"
|
1030 |
-
"
|
1031 |
|
1032 |
-
#: includes/admin/views/settings-info.php:
|
1033 |
msgid "Powerful Features"
|
1034 |
msgstr "امکانات قدرتمند"
|
1035 |
|
1036 |
-
#: includes/admin/views/settings-info.php:
|
1037 |
msgid ""
|
1038 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
1039 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
@@ -1042,358 +1032,370 @@ msgstr ""
|
|
1042 |
"نسخه حرفه دارای امکانات قدرتمندی نظیر داده های تکرارپذیر، محتوای منعطف، یک "
|
1043 |
"زمینه گالری زیبا و امکان ساخت صفحات تنظیمات می باشد !"
|
1044 |
|
1045 |
-
#: includes/admin/views/settings-info.php:
|
1046 |
#, php-format
|
1047 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
1048 |
msgstr "اطلاعات بیشتر در <a href=\"%s\">امکانات نسخه حرفه ای</a>."
|
1049 |
|
1050 |
-
#: includes/admin/views/settings-info.php:
|
1051 |
msgid "Easy Upgrading"
|
1052 |
msgstr "به روزرسانی آسان"
|
1053 |
|
1054 |
-
#: includes/admin/views/settings-info.php:
|
1055 |
-
#, php-format
|
1056 |
msgid ""
|
1057 |
-
"
|
1058 |
-
"
|
1059 |
msgstr ""
|
1060 |
-
"
|
1061 |
-
"</a> و یک نسخه از ویرایش حرفه ای را دانلود کنید!"
|
1062 |
|
1063 |
-
#: includes/admin/views/settings-info.php:
|
1064 |
#, php-format
|
1065 |
msgid ""
|
1066 |
-
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
1067 |
-
"
|
1068 |
-
"
|
1069 |
msgstr ""
|
1070 |
-
"همچنین
|
1071 |
-
"
|
|
|
1072 |
|
1073 |
-
#: includes/admin/views/settings-info.php:
|
1074 |
-
msgid "
|
1075 |
-
msgstr "
|
1076 |
|
1077 |
-
#: includes/admin/views/settings-info.php:
|
1078 |
-
msgid "
|
1079 |
-
msgstr "
|
1080 |
|
1081 |
-
#: includes/admin/views/settings-info.php:
|
1082 |
-
msgid "
|
|
|
|
|
1083 |
msgstr ""
|
1084 |
-
"
|
|
|
1085 |
|
1086 |
-
#: includes/admin/views/settings-info.php:
|
1087 |
-
msgid "
|
1088 |
-
msgstr "
|
1089 |
|
1090 |
-
#: includes/admin/views/settings-info.php:
|
1091 |
-
msgid "
|
1092 |
-
msgstr "
|
1093 |
|
1094 |
-
#: includes/admin/views/settings-info.php:
|
1095 |
-
msgid "
|
1096 |
-
msgstr "
|
1097 |
|
1098 |
-
#: includes/admin/views/settings-info.php:
|
1099 |
-
msgid "
|
1100 |
-
|
|
|
|
|
|
|
|
|
1101 |
|
1102 |
-
#: includes/admin/views/settings-info.php:
|
1103 |
-
msgid "
|
1104 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
1105 |
|
1106 |
#: includes/admin/views/settings-info.php:89
|
1107 |
-
msgid ""
|
1108 |
-
"
|
1109 |
-
"controlled"
|
1110 |
-
msgstr "اکنون با خروجی جدید JSON امکان کنترل نسخه بهتر را فراهم کردیم"
|
1111 |
|
1112 |
-
#: includes/admin/views/settings-info.php:
|
1113 |
-
msgid "
|
1114 |
-
msgstr "
|
|
|
|
|
1115 |
|
1116 |
#: includes/admin/views/settings-info.php:94
|
1117 |
-
msgid "
|
1118 |
-
msgstr "
|
1119 |
|
1120 |
-
#: includes/admin/views/settings-info.php:
|
1121 |
-
msgid "
|
1122 |
-
|
|
|
|
|
|
|
1123 |
|
1124 |
#: includes/admin/views/settings-info.php:99
|
1125 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1126 |
msgstr ""
|
1127 |
-
"
|
1128 |
-
"
|
1129 |
|
1130 |
-
#: includes/admin/views/settings-info.php:
|
1131 |
-
msgid "
|
1132 |
-
msgstr "
|
1133 |
|
1134 |
#: includes/admin/views/settings-info.php:110
|
1135 |
-
msgid "
|
1136 |
-
|
|
|
|
|
1137 |
|
1138 |
-
#: includes/admin/views/settings-info.php:
|
1139 |
-
msgid "
|
1140 |
-
msgstr "
|
1141 |
|
1142 |
#: includes/admin/views/settings-info.php:115
|
|
|
|
|
|
|
|
|
|
|
|
|
1143 |
msgid "New Settings"
|
1144 |
msgstr "تنظیمات جدید"
|
1145 |
|
1146 |
-
#: includes/admin/views/settings-info.php:
|
1147 |
msgid ""
|
1148 |
-
"Field group settings have been added for
|
1149 |
-
"
|
1150 |
-
msgstr "
|
|
|
1151 |
|
1152 |
-
#: includes/admin/views/settings-info.php:
|
1153 |
msgid "Better Front End Forms"
|
1154 |
msgstr "فرم های سمت کاربر بهتر شده اند"
|
1155 |
|
1156 |
-
#: includes/admin/views/settings-info.php:
|
1157 |
-
msgid "
|
1158 |
-
|
|
|
|
|
1159 |
|
1160 |
-
#: includes/admin/views/settings-info.php:
|
1161 |
msgid "Better Validation"
|
1162 |
msgstr "خطایابی بهتر"
|
1163 |
|
1164 |
-
#: includes/admin/views/settings-info.php:
|
1165 |
-
msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
1166 |
-
msgstr ""
|
1167 |
-
"خطایابی فرم (validation) اکنون از طریق PHP + AJAX به جای JS انجام می شود"
|
1168 |
-
|
1169 |
-
#: includes/admin/views/settings-info.php:132
|
1170 |
-
msgid "Relationship Field"
|
1171 |
-
msgstr "زمینه ارتباط"
|
1172 |
-
|
1173 |
-
#: includes/admin/views/settings-info.php:133
|
1174 |
-
msgid ""
|
1175 |
-
"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
1176 |
-
msgstr "تنظیمات جدید برای زمینه ارتباط و فیلتر کردن اضافه شده است"
|
1177 |
|
1178 |
-
#: includes/admin/views/settings-info.php:
|
1179 |
msgid "Moving Fields"
|
1180 |
msgstr "جابجایی زمینه ها"
|
1181 |
|
1182 |
-
#: includes/admin/views/settings-info.php:
|
1183 |
msgid ""
|
1184 |
"New field group functionality allows you to move a field between groups & "
|
1185 |
-
"parents"
|
1186 |
-
msgstr ""
|
1187 |
-
"عملکرد جدید گروه زمینه ها به شما امکان جابجایی زمینه ها بین گروه ها و بین "
|
1188 |
-
"گروه های والد را می دهد"
|
1189 |
-
|
1190 |
-
#: includes/admin/views/settings-info.php:144
|
1191 |
-
#: includes/fields/class-acf-field-page_link.php:25
|
1192 |
-
msgid "Page Link"
|
1193 |
-
msgstr "پیوند (لینک) برگه/نوشته"
|
1194 |
-
|
1195 |
-
#: includes/admin/views/settings-info.php:145
|
1196 |
-
msgid "New archives group in page_link field selection"
|
1197 |
-
msgstr "گروه بندی بایگانی جدید در انتخاب زمینه پیوند صفحه"
|
1198 |
-
|
1199 |
-
#: includes/admin/views/settings-info.php:149
|
1200 |
-
msgid "Better Options Pages"
|
1201 |
-
msgstr "صفحه تنظیمات بهتر"
|
1202 |
-
|
1203 |
-
#: includes/admin/views/settings-info.php:150
|
1204 |
-
msgid ""
|
1205 |
-
"New functions for options page allow creation of both parent and child menu "
|
1206 |
-
"pages"
|
1207 |
msgstr ""
|
1208 |
-
"
|
1209 |
-
"
|
1210 |
|
1211 |
-
#: includes/admin/views/settings-info.php:
|
1212 |
#, php-format
|
1213 |
msgid "We think you'll love the changes in %s."
|
1214 |
-
msgstr "فکر می کنیم شما تغییرات در %s را دوست خواهید
|
1215 |
|
1216 |
-
#: includes/api/api-helpers.php:
|
1217 |
msgid "Thumbnail"
|
1218 |
msgstr "تصویر بندانگشتی"
|
1219 |
|
1220 |
-
#: includes/api/api-helpers.php:
|
1221 |
msgid "Medium"
|
1222 |
msgstr "متوسط"
|
1223 |
|
1224 |
-
#: includes/api/api-helpers.php:
|
1225 |
msgid "Large"
|
1226 |
msgstr "بزرگ"
|
1227 |
|
1228 |
-
#: includes/api/api-helpers.php:
|
1229 |
msgid "Full Size"
|
1230 |
msgstr "اندازه کامل"
|
1231 |
|
1232 |
-
#: includes/api/api-helpers.php:
|
1233 |
#: pro/fields/class-acf-field-clone.php:996
|
1234 |
msgid "(no title)"
|
1235 |
msgstr "(بدون عنوان)"
|
1236 |
|
1237 |
-
#: includes/api/api-helpers.php:
|
1238 |
#, php-format
|
1239 |
msgid "Image width must be at least %dpx."
|
1240 |
msgstr "عرض تصویر باید حداقل %d پیکسل باشد."
|
1241 |
|
1242 |
-
#: includes/api/api-helpers.php:
|
1243 |
#, php-format
|
1244 |
msgid "Image width must not exceed %dpx."
|
1245 |
msgstr "عرض تصویر نباید از %d پیکسل بیشتر باشد."
|
1246 |
|
1247 |
-
#: includes/api/api-helpers.php:
|
1248 |
#, php-format
|
1249 |
msgid "Image height must be at least %dpx."
|
1250 |
msgstr "ارتفاع فایل باید حداقل %d پیکسل باشد."
|
1251 |
|
1252 |
-
#: includes/api/api-helpers.php:
|
1253 |
#, php-format
|
1254 |
msgid "Image height must not exceed %dpx."
|
1255 |
msgstr "ارتفاع تصویر نباید از %d پیکسل بیشتر باشد."
|
1256 |
|
1257 |
-
#: includes/api/api-helpers.php:
|
1258 |
#, php-format
|
1259 |
msgid "File size must be at least %s."
|
1260 |
msgstr "حجم فایل باید حداقل %s باشد."
|
1261 |
|
1262 |
-
#: includes/api/api-helpers.php:
|
1263 |
#, php-format
|
1264 |
msgid "File size must must not exceed %s."
|
1265 |
msgstr "حجم فایل ها نباید از %s بیشتر باشد."
|
1266 |
|
1267 |
-
#: includes/api/api-helpers.php:
|
1268 |
#, php-format
|
1269 |
msgid "File type must be %s."
|
1270 |
-
msgstr "نوع فایل باید %s
|
1271 |
|
1272 |
-
#: includes/assets.php:
|
1273 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1274 |
msgstr "اگر از صفحه جاری خارج شوید ، تغییرات شما ذخیره نخواهند شد"
|
1275 |
|
1276 |
-
#: includes/assets.php:
|
1277 |
msgctxt "verb"
|
1278 |
msgid "Select"
|
1279 |
msgstr "انتخاب"
|
1280 |
|
1281 |
-
#: includes/assets.php:
|
1282 |
msgctxt "verb"
|
1283 |
msgid "Edit"
|
1284 |
msgstr "ویرایش"
|
1285 |
|
1286 |
-
#: includes/assets.php:
|
1287 |
msgctxt "verb"
|
1288 |
msgid "Update"
|
1289 |
msgstr "بروزرسانی"
|
1290 |
|
1291 |
-
#: includes/assets.php:
|
1292 |
msgid "Uploaded to this post"
|
1293 |
msgstr "بارگذاری شده در این نوشته"
|
1294 |
|
1295 |
-
#: includes/assets.php:
|
1296 |
msgid "Expand Details"
|
1297 |
msgstr "نمایش جزئیات"
|
1298 |
|
1299 |
-
#: includes/assets.php:
|
1300 |
msgid "Collapse Details"
|
1301 |
msgstr "عدم نمایش جزئیات"
|
1302 |
|
1303 |
-
#: includes/assets.php:
|
1304 |
msgid "Restricted"
|
1305 |
msgstr "ممنوع"
|
1306 |
|
1307 |
-
#: includes/assets.php:
|
1308 |
msgid "All images"
|
1309 |
msgstr "تمام تصاویر"
|
1310 |
|
1311 |
-
#: includes/assets.php:
|
1312 |
msgid "Validation successful"
|
1313 |
msgstr "اعتبار سنجی موفق بود"
|
1314 |
|
1315 |
-
#: includes/assets.php:
|
1316 |
-
#: includes/validation.php:296
|
1317 |
msgid "Validation failed"
|
1318 |
msgstr "مشکل در اعتبار سنجی"
|
1319 |
|
1320 |
-
#: includes/assets.php:
|
1321 |
msgid "1 field requires attention"
|
1322 |
msgstr "یکی از گزینه ها نیاز به بررسی دارد"
|
1323 |
|
1324 |
-
#: includes/assets.php:
|
1325 |
#, php-format
|
1326 |
msgid "%d fields require attention"
|
1327 |
msgstr "%d گزینه نیاز به بررسی دارد"
|
1328 |
|
1329 |
-
#: includes/assets.php:
|
1330 |
msgid "Are you sure?"
|
1331 |
msgstr "اطمینان دارید؟"
|
1332 |
|
1333 |
-
#: includes/assets.php:
|
1334 |
#: includes/fields/class-acf-field-true_false.php:159
|
1335 |
#: pro/admin/views/html-settings-updates.php:89
|
1336 |
msgid "Yes"
|
1337 |
msgstr "بله"
|
1338 |
|
1339 |
-
#: includes/assets.php:
|
1340 |
#: includes/fields/class-acf-field-true_false.php:174
|
1341 |
#: pro/admin/views/html-settings-updates.php:99
|
1342 |
msgid "No"
|
1343 |
msgstr "خیر"
|
1344 |
|
1345 |
-
#: includes/assets.php:
|
1346 |
#: includes/fields/class-acf-field-image.php:141
|
1347 |
#: includes/fields/class-acf-field-link.php:140
|
1348 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1349 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1350 |
msgid "Remove"
|
1351 |
msgstr "حذف"
|
1352 |
|
1353 |
-
#: includes/assets.php:
|
1354 |
msgid "Cancel"
|
1355 |
msgstr "لغو"
|
1356 |
|
1357 |
-
#: includes/assets.php:
|
1358 |
msgid "Has any value"
|
1359 |
msgstr "هر نوع مقدار"
|
1360 |
|
1361 |
-
#: includes/assets.php:
|
1362 |
msgid "Has no value"
|
1363 |
msgstr "بدون مقدار"
|
1364 |
|
1365 |
-
#: includes/assets.php:
|
1366 |
msgid "Value is equal to"
|
1367 |
msgstr "مقدار برابر است با"
|
1368 |
|
1369 |
-
#: includes/assets.php:
|
1370 |
msgid "Value is not equal to"
|
1371 |
msgstr "مقدار برابر نیست با"
|
1372 |
|
1373 |
-
#: includes/assets.php:
|
1374 |
msgid "Value matches pattern"
|
1375 |
msgstr "مقدار الگوی"
|
1376 |
|
1377 |
-
#: includes/assets.php:
|
1378 |
msgid "Value contains"
|
1379 |
msgstr "شامل می شود"
|
1380 |
|
1381 |
-
#: includes/assets.php:
|
1382 |
msgid "Value is greater than"
|
1383 |
msgstr "مقدار بیشتر از"
|
1384 |
|
1385 |
-
#: includes/assets.php:
|
1386 |
msgid "Value is less than"
|
1387 |
msgstr "مقدار کمتر از"
|
1388 |
|
1389 |
-
#: includes/assets.php:
|
1390 |
msgid "Selection is greater than"
|
1391 |
msgstr "انتخاب بیشتر از"
|
1392 |
|
1393 |
-
#: includes/assets.php:
|
1394 |
msgid "Selection is less than"
|
1395 |
msgstr "انتخاب کمتر از"
|
1396 |
|
|
|
|
|
|
|
|
|
|
|
1397 |
#: includes/fields.php:308
|
1398 |
msgid "Field type does not exist"
|
1399 |
msgstr "نوع زمینه وجود ندارد"
|
@@ -1427,8 +1429,8 @@ msgstr "جی کوئری"
|
|
1427 |
#: includes/fields/class-acf-field-group.php:474
|
1428 |
#: includes/fields/class-acf-field-radio.php:290
|
1429 |
#: pro/fields/class-acf-field-clone.php:843
|
1430 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1431 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1432 |
#: pro/fields/class-acf-field-repeater.php:443
|
1433 |
msgid "Layout"
|
1434 |
msgstr "چیدمان"
|
@@ -1460,51 +1462,50 @@ msgstr "نقطه پایانی"
|
|
1460 |
|
1461 |
#: includes/fields/class-acf-field-accordion.php:120
|
1462 |
msgid ""
|
1463 |
-
"Define an endpoint for the previous accordion to stop. This accordion will "
|
1464 |
-
"
|
1465 |
msgstr ""
|
1466 |
-
"یک نقطه پایانی برای توقف آکاردئون قبلی تعریف کنید. این آکاردئون مخفی خواهد "
|
1467 |
-
"بود."
|
1468 |
|
1469 |
#: includes/fields/class-acf-field-button-group.php:24
|
1470 |
msgid "Button Group"
|
1471 |
-
msgstr "گروه
|
1472 |
|
1473 |
#: includes/fields/class-acf-field-button-group.php:149
|
1474 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1475 |
#: includes/fields/class-acf-field-radio.php:235
|
1476 |
-
#: includes/fields/class-acf-field-select.php:
|
1477 |
msgid "Choices"
|
1478 |
msgstr "انتخاب ها"
|
1479 |
|
1480 |
#: includes/fields/class-acf-field-button-group.php:150
|
1481 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1482 |
#: includes/fields/class-acf-field-radio.php:236
|
1483 |
-
#: includes/fields/class-acf-field-select.php:
|
1484 |
msgid "Enter each choice on a new line."
|
1485 |
msgstr "هر انتخاب را در یک خط جدید وارد کنید."
|
1486 |
|
1487 |
#: includes/fields/class-acf-field-button-group.php:150
|
1488 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1489 |
#: includes/fields/class-acf-field-radio.php:236
|
1490 |
-
#: includes/fields/class-acf-field-select.php:
|
1491 |
msgid "For more control, you may specify both a value and label like this:"
|
1492 |
msgstr "برای کنترل بیشتر، ممکن است هر دو مقدار و برچسب را مانند زیر مشخص کنید:"
|
1493 |
|
1494 |
#: includes/fields/class-acf-field-button-group.php:150
|
1495 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1496 |
#: includes/fields/class-acf-field-radio.php:236
|
1497 |
-
#: includes/fields/class-acf-field-select.php:
|
1498 |
msgid "red : Red"
|
1499 |
msgstr "red : قرمز"
|
1500 |
|
1501 |
#: includes/fields/class-acf-field-button-group.php:158
|
1502 |
#: includes/fields/class-acf-field-page_link.php:513
|
1503 |
-
#: includes/fields/class-acf-field-post_object.php:
|
1504 |
#: includes/fields/class-acf-field-radio.php:244
|
1505 |
-
#: includes/fields/class-acf-field-select.php:
|
1506 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1507 |
-
#: includes/fields/class-acf-field-user.php:
|
1508 |
msgid "Allow Null?"
|
1509 |
msgstr "آیا Null مجاز است؟"
|
1510 |
|
@@ -1514,13 +1515,13 @@ msgstr "آیا Null مجاز است؟"
|
|
1514 |
#: includes/fields/class-acf-field-email.php:118
|
1515 |
#: includes/fields/class-acf-field-number.php:127
|
1516 |
#: includes/fields/class-acf-field-radio.php:281
|
1517 |
-
#: includes/fields/class-acf-field-range.php:
|
1518 |
-
#: includes/fields/class-acf-field-select.php:
|
1519 |
#: includes/fields/class-acf-field-text.php:119
|
1520 |
#: includes/fields/class-acf-field-textarea.php:102
|
1521 |
#: includes/fields/class-acf-field-true_false.php:135
|
1522 |
#: includes/fields/class-acf-field-url.php:100
|
1523 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
1524 |
msgid "Default Value"
|
1525 |
msgstr "مقدار پیش فرض"
|
1526 |
|
@@ -1528,11 +1529,11 @@ msgstr "مقدار پیش فرض"
|
|
1528 |
#: includes/fields/class-acf-field-email.php:119
|
1529 |
#: includes/fields/class-acf-field-number.php:128
|
1530 |
#: includes/fields/class-acf-field-radio.php:282
|
1531 |
-
#: includes/fields/class-acf-field-range.php:
|
1532 |
#: includes/fields/class-acf-field-text.php:120
|
1533 |
#: includes/fields/class-acf-field-textarea.php:103
|
1534 |
#: includes/fields/class-acf-field-url.php:101
|
1535 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
1536 |
msgid "Appears when creating a new post"
|
1537 |
msgstr "هنگام ایجاد یک نوشته جدید نمایش داده می شود"
|
1538 |
|
@@ -1570,21 +1571,21 @@ msgstr "مقدار برگشتی در نمایش نهایی را تعیین کن
|
|
1570 |
#: includes/fields/class-acf-field-button-group.php:197
|
1571 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1572 |
#: includes/fields/class-acf-field-radio.php:310
|
1573 |
-
#: includes/fields/class-acf-field-select.php:
|
1574 |
msgid "Value"
|
1575 |
msgstr "مقدار"
|
1576 |
|
1577 |
#: includes/fields/class-acf-field-button-group.php:199
|
1578 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1579 |
#: includes/fields/class-acf-field-radio.php:312
|
1580 |
-
#: includes/fields/class-acf-field-select.php:
|
1581 |
msgid "Both (Array)"
|
1582 |
msgstr "هر دو (آرایه)"
|
1583 |
|
1584 |
#: includes/fields/class-acf-field-checkbox.php:25
|
1585 |
#: includes/fields/class-acf-field-taxonomy.php:771
|
1586 |
msgid "Checkbox"
|
1587 |
-
msgstr "جعبه انتخاب(
|
1588 |
|
1589 |
#: includes/fields/class-acf-field-checkbox.php:154
|
1590 |
msgid "Toggle All"
|
@@ -1611,7 +1612,7 @@ msgid "Save 'custom' values to the field's choices"
|
|
1611 |
msgstr "ذخیره مقادیر دلخواه در انتخاب های زمینه"
|
1612 |
|
1613 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1614 |
-
#: includes/fields/class-acf-field-select.php:
|
1615 |
msgid "Enter each default value on a new line"
|
1616 |
msgstr "هر مقدار پیش فرض را در یک خط جدید وارد کنید"
|
1617 |
|
@@ -1672,20 +1673,20 @@ msgctxt "Date Picker JS weekHeader"
|
|
1672 |
msgid "Wk"
|
1673 |
msgstr "هفته"
|
1674 |
|
1675 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1676 |
#: includes/fields/class-acf-field-date_time_picker.php:183
|
1677 |
#: includes/fields/class-acf-field-time_picker.php:109
|
1678 |
msgid "Display Format"
|
1679 |
msgstr "فرمت نمایش"
|
1680 |
|
1681 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1682 |
#: includes/fields/class-acf-field-date_time_picker.php:184
|
1683 |
#: includes/fields/class-acf-field-time_picker.php:110
|
1684 |
msgid "The format displayed when editing a post"
|
1685 |
msgstr "قالب در زمان نمایش نوشته دیده خواهد شد"
|
1686 |
|
1687 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1688 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1689 |
#: includes/fields/class-acf-field-date_time_picker.php:193
|
1690 |
#: includes/fields/class-acf-field-date_time_picker.php:210
|
1691 |
#: includes/fields/class-acf-field-time_picker.php:117
|
@@ -1693,31 +1694,31 @@ msgstr "قالب در زمان نمایش نوشته دیده خواهد شد"
|
|
1693 |
msgid "Custom:"
|
1694 |
msgstr "دلخواه:"
|
1695 |
|
1696 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1697 |
msgid "Save Format"
|
1698 |
msgstr "ذخیره قالب"
|
1699 |
|
1700 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1701 |
msgid "The format used when saving a value"
|
1702 |
msgstr "قالب استفاده در زمان ذخیره مقدار"
|
1703 |
|
1704 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1705 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
1706 |
-
#: includes/fields/class-acf-field-post_object.php:
|
1707 |
-
#: includes/fields/class-acf-field-relationship.php:
|
1708 |
-
#: includes/fields/class-acf-field-select.php:
|
1709 |
#: includes/fields/class-acf-field-time_picker.php:124
|
1710 |
-
#: includes/fields/class-acf-field-user.php:
|
1711 |
msgid "Return Format"
|
1712 |
msgstr "فرمت بازگشت"
|
1713 |
|
1714 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1715 |
#: includes/fields/class-acf-field-date_time_picker.php:201
|
1716 |
#: includes/fields/class-acf-field-time_picker.php:125
|
1717 |
msgid "The format returned via template functions"
|
1718 |
msgstr "قالب توسط توابع پوسته نمایش داده خواهد شد"
|
1719 |
|
1720 |
-
#: includes/fields/class-acf-field-date_picker.php:
|
1721 |
#: includes/fields/class-acf-field-date_time_picker.php:217
|
1722 |
msgid "Week Starts On"
|
1723 |
msgstr "اولین روز هفته"
|
@@ -1826,7 +1827,7 @@ msgstr "در داخل ورودی نمایش داده می شود"
|
|
1826 |
#: includes/fields/class-acf-field-email.php:136
|
1827 |
#: includes/fields/class-acf-field-number.php:145
|
1828 |
#: includes/fields/class-acf-field-password.php:80
|
1829 |
-
#: includes/fields/class-acf-field-range.php:
|
1830 |
#: includes/fields/class-acf-field-text.php:137
|
1831 |
msgid "Prepend"
|
1832 |
msgstr "پیشوند"
|
@@ -1834,7 +1835,7 @@ msgstr "پیشوند"
|
|
1834 |
#: includes/fields/class-acf-field-email.php:137
|
1835 |
#: includes/fields/class-acf-field-number.php:146
|
1836 |
#: includes/fields/class-acf-field-password.php:81
|
1837 |
-
#: includes/fields/class-acf-field-range.php:
|
1838 |
#: includes/fields/class-acf-field-text.php:138
|
1839 |
msgid "Appears before the input"
|
1840 |
msgstr "قبل از ورودی نمایش داده می شود"
|
@@ -1842,7 +1843,7 @@ msgstr "قبل از ورودی نمایش داده می شود"
|
|
1842 |
#: includes/fields/class-acf-field-email.php:145
|
1843 |
#: includes/fields/class-acf-field-number.php:154
|
1844 |
#: includes/fields/class-acf-field-password.php:89
|
1845 |
-
#: includes/fields/class-acf-field-range.php:
|
1846 |
#: includes/fields/class-acf-field-text.php:146
|
1847 |
msgid "Append"
|
1848 |
msgstr "پسوند"
|
@@ -1850,7 +1851,7 @@ msgstr "پسوند"
|
|
1850 |
#: includes/fields/class-acf-field-email.php:146
|
1851 |
#: includes/fields/class-acf-field-number.php:155
|
1852 |
#: includes/fields/class-acf-field-password.php:90
|
1853 |
-
#: includes/fields/class-acf-field-range.php:
|
1854 |
#: includes/fields/class-acf-field-text.php:147
|
1855 |
msgid "Appears after the input"
|
1856 |
msgstr "بعد از ورودی نمایش داده می شود"
|
@@ -1876,8 +1877,8 @@ msgstr "نام فایل"
|
|
1876 |
#: includes/fields/class-acf-field-file.php:259
|
1877 |
#: includes/fields/class-acf-field-image.php:265
|
1878 |
#: includes/fields/class-acf-field-image.php:294
|
1879 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1880 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1881 |
msgid "File size"
|
1882 |
msgstr "اندازه فایل"
|
1883 |
|
@@ -1899,13 +1900,13 @@ msgstr "شناسه(ID) پرونده"
|
|
1899 |
|
1900 |
#: includes/fields/class-acf-field-file.php:230
|
1901 |
#: includes/fields/class-acf-field-image.php:230
|
1902 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1903 |
msgid "Library"
|
1904 |
msgstr "کتابخانه"
|
1905 |
|
1906 |
#: includes/fields/class-acf-field-file.php:231
|
1907 |
#: includes/fields/class-acf-field-image.php:231
|
1908 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1909 |
msgid "Limit the media library choice"
|
1910 |
msgstr "محدود کردن انتخاب کتابخانه چندرسانه ای"
|
1911 |
|
@@ -1918,19 +1919,19 @@ msgstr "محدود کردن انتخاب کتابخانه چندرسانه ای"
|
|
1918 |
#: includes/locations/class-acf-location-user-form.php:87
|
1919 |
#: includes/locations/class-acf-location-user-role.php:111
|
1920 |
#: includes/locations/class-acf-location-widget.php:83
|
1921 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1922 |
msgid "All"
|
1923 |
msgstr "همه"
|
1924 |
|
1925 |
#: includes/fields/class-acf-field-file.php:237
|
1926 |
#: includes/fields/class-acf-field-image.php:237
|
1927 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1928 |
msgid "Uploaded to post"
|
1929 |
msgstr "بارگذاری شده در نوشته"
|
1930 |
|
1931 |
#: includes/fields/class-acf-field-file.php:244
|
1932 |
#: includes/fields/class-acf-field-image.php:244
|
1933 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1934 |
msgid "Minimum"
|
1935 |
msgstr "کمترین"
|
1936 |
|
@@ -1941,19 +1942,19 @@ msgstr "محدودیت در آپلود فایل ها"
|
|
1941 |
|
1942 |
#: includes/fields/class-acf-field-file.php:255
|
1943 |
#: includes/fields/class-acf-field-image.php:273
|
1944 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1945 |
msgid "Maximum"
|
1946 |
msgstr "بیشترین"
|
1947 |
|
1948 |
#: includes/fields/class-acf-field-file.php:266
|
1949 |
#: includes/fields/class-acf-field-image.php:302
|
1950 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1951 |
msgid "Allowed file types"
|
1952 |
msgstr "انواع مجاز فایل"
|
1953 |
|
1954 |
#: includes/fields/class-acf-field-file.php:267
|
1955 |
#: includes/fields/class-acf-field-image.php:303
|
1956 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1957 |
msgid "Comma separated list. Leave blank for all types"
|
1958 |
msgstr "با کامای انگلیسی جدا کرده یا برای عدم محدودیت خالی بگذارید"
|
1959 |
|
@@ -1965,48 +1966,48 @@ msgstr "نقشه گوگل"
|
|
1965 |
msgid "Sorry, this browser does not support geolocation"
|
1966 |
msgstr "با عرض پوزش، این مرورگر از موقعیت یابی جغرافیایی پشتیبانی نمی کند"
|
1967 |
|
1968 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1969 |
msgid "Clear location"
|
1970 |
msgstr "حذف مکان"
|
1971 |
|
1972 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1973 |
msgid "Find current location"
|
1974 |
msgstr "پیدا کردن مکان فعلی"
|
1975 |
|
1976 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1977 |
msgid "Search for address..."
|
1978 |
msgstr "جستجو برای آدرس . . ."
|
1979 |
|
1980 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1981 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1982 |
msgid "Center"
|
1983 |
msgstr "مرکز"
|
1984 |
|
1985 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1986 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1987 |
msgid "Center the initial map"
|
1988 |
msgstr "نقشه اولیه را وسط قرار بده"
|
1989 |
|
1990 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1991 |
msgid "Zoom"
|
1992 |
msgstr "بزرگنمایی"
|
1993 |
|
1994 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1995 |
msgid "Set the initial zoom level"
|
1996 |
msgstr "تعین مقدار بزرگنمایی اولیه"
|
1997 |
|
1998 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1999 |
#: includes/fields/class-acf-field-image.php:256
|
2000 |
#: includes/fields/class-acf-field-image.php:285
|
2001 |
#: includes/fields/class-acf-field-oembed.php:268
|
2002 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2003 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2004 |
msgid "Height"
|
2005 |
msgstr "ارتفاع"
|
2006 |
|
2007 |
-
#: includes/fields/class-acf-field-google-map.php:
|
2008 |
-
msgid "
|
2009 |
-
msgstr "سفارشی
|
2010 |
|
2011 |
#: includes/fields/class-acf-field-group.php:25
|
2012 |
msgid "Group"
|
@@ -2015,7 +2016,7 @@ msgstr "گروه"
|
|
2015 |
#: includes/fields/class-acf-field-group.php:459
|
2016 |
#: pro/fields/class-acf-field-repeater.php:379
|
2017 |
msgid "Sub Fields"
|
2018 |
-
msgstr "
|
2019 |
|
2020 |
#: includes/fields/class-acf-field-group.php:475
|
2021 |
#: pro/fields/class-acf-field-clone.php:844
|
@@ -2024,21 +2025,21 @@ msgstr "استایل جهت نمایش فیلد انتخابی"
|
|
2024 |
|
2025 |
#: includes/fields/class-acf-field-group.php:480
|
2026 |
#: pro/fields/class-acf-field-clone.php:849
|
2027 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2028 |
#: pro/fields/class-acf-field-repeater.php:451
|
2029 |
msgid "Block"
|
2030 |
msgstr "بلوک"
|
2031 |
|
2032 |
#: includes/fields/class-acf-field-group.php:481
|
2033 |
#: pro/fields/class-acf-field-clone.php:850
|
2034 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2035 |
#: pro/fields/class-acf-field-repeater.php:450
|
2036 |
msgid "Table"
|
2037 |
msgstr "جدول"
|
2038 |
|
2039 |
#: includes/fields/class-acf-field-group.php:482
|
2040 |
#: pro/fields/class-acf-field-clone.php:851
|
2041 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
2042 |
#: pro/fields/class-acf-field-repeater.php:452
|
2043 |
msgid "Row"
|
2044 |
msgstr "سطر"
|
@@ -2089,16 +2090,16 @@ msgstr "هنگام وارد کردن داده ها نمایش داده می شو
|
|
2089 |
|
2090 |
#: includes/fields/class-acf-field-image.php:245
|
2091 |
#: includes/fields/class-acf-field-image.php:274
|
2092 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2093 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2094 |
msgid "Restrict which images can be uploaded"
|
2095 |
msgstr "محدودیت در آپلود تصاویر"
|
2096 |
|
2097 |
#: includes/fields/class-acf-field-image.php:248
|
2098 |
#: includes/fields/class-acf-field-image.php:277
|
2099 |
#: includes/fields/class-acf-field-oembed.php:257
|
2100 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2101 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2102 |
msgid "Width"
|
2103 |
msgstr "عرض"
|
2104 |
|
@@ -2163,20 +2164,20 @@ msgstr "اجازه نمایش کدهای HTML به عنوان متن به جای
|
|
2163 |
|
2164 |
#: includes/fields/class-acf-field-number.php:25
|
2165 |
msgid "Number"
|
2166 |
-
msgstr "
|
2167 |
|
2168 |
#: includes/fields/class-acf-field-number.php:163
|
2169 |
-
#: includes/fields/class-acf-field-range.php:
|
2170 |
msgid "Minimum Value"
|
2171 |
msgstr "حداقل مقدار"
|
2172 |
|
2173 |
#: includes/fields/class-acf-field-number.php:172
|
2174 |
-
#: includes/fields/class-acf-field-range.php:
|
2175 |
msgid "Maximum Value"
|
2176 |
msgstr "حداکثر مقدار"
|
2177 |
|
2178 |
#: includes/fields/class-acf-field-number.php:181
|
2179 |
-
#: includes/fields/class-acf-field-range.php:
|
2180 |
msgid "Step Size"
|
2181 |
msgstr "اندازه مرحله"
|
2182 |
|
@@ -2207,37 +2208,41 @@ msgstr "آدرس را وارد کنید"
|
|
2207 |
msgid "Embed Size"
|
2208 |
msgstr "اندازه جانمایی"
|
2209 |
|
|
|
|
|
|
|
|
|
2210 |
#: includes/fields/class-acf-field-page_link.php:177
|
2211 |
msgid "Archives"
|
2212 |
msgstr "بایگانی ها"
|
2213 |
|
2214 |
#: includes/fields/class-acf-field-page_link.php:269
|
2215 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2216 |
#: includes/fields/class-acf-field-taxonomy.php:961
|
2217 |
msgid "Parent"
|
2218 |
msgstr "مادر"
|
2219 |
|
2220 |
#: includes/fields/class-acf-field-page_link.php:485
|
2221 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2222 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2223 |
msgid "Filter by Post Type"
|
2224 |
msgstr "فیلتر با نوع نوشته"
|
2225 |
|
2226 |
#: includes/fields/class-acf-field-page_link.php:493
|
2227 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2228 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2229 |
msgid "All post types"
|
2230 |
msgstr "تمام انواع نوشته"
|
2231 |
|
2232 |
#: includes/fields/class-acf-field-page_link.php:499
|
2233 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2234 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2235 |
msgid "Filter by Taxonomy"
|
2236 |
msgstr "فیلتر با طبقه بندی"
|
2237 |
|
2238 |
#: includes/fields/class-acf-field-page_link.php:507
|
2239 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2240 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2241 |
msgid "All taxonomies"
|
2242 |
msgstr "تمام طبقه بندی ها"
|
2243 |
|
@@ -2246,9 +2251,9 @@ msgid "Allow Archives URLs"
|
|
2246 |
msgstr "اجازه آدرس های آرشیو"
|
2247 |
|
2248 |
#: includes/fields/class-acf-field-page_link.php:533
|
2249 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2250 |
-
#: includes/fields/class-acf-field-select.php:
|
2251 |
-
#: includes/fields/class-acf-field-user.php:
|
2252 |
msgid "Select multiple values?"
|
2253 |
msgstr "آیا چندین مقدار انتخاب شوند؟"
|
2254 |
|
@@ -2257,13 +2262,13 @@ msgid "Password"
|
|
2257 |
msgstr "رمزعبور"
|
2258 |
|
2259 |
#: includes/fields/class-acf-field-post_object.php:25
|
2260 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2261 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2262 |
msgid "Post Object"
|
2263 |
msgstr "آبجکت یک نوشته"
|
2264 |
|
2265 |
-
#: includes/fields/class-acf-field-post_object.php:
|
2266 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2267 |
msgid "Post ID"
|
2268 |
msgstr "شناسه(ID) نوشته"
|
2269 |
|
@@ -2307,74 +2312,74 @@ msgstr "درحال خواندن"
|
|
2307 |
msgid "No matches found"
|
2308 |
msgstr "مطابقتی یافت نشد"
|
2309 |
|
2310 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2311 |
msgid "Select post type"
|
2312 |
msgstr "انتحاب نوع نوشته"
|
2313 |
|
2314 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2315 |
msgid "Select taxonomy"
|
2316 |
msgstr "انتخاب طبقه بندی"
|
2317 |
|
2318 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2319 |
msgid "Search..."
|
2320 |
msgstr "جستجو . . ."
|
2321 |
|
2322 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2323 |
msgid "Filters"
|
2324 |
msgstr "فیلترها"
|
2325 |
|
2326 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2327 |
#: includes/locations/class-acf-location-post-type.php:27
|
2328 |
msgid "Post Type"
|
2329 |
msgstr "نوع نوشته"
|
2330 |
|
2331 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2332 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2333 |
#: includes/fields/class-acf-field-taxonomy.php:754
|
2334 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2335 |
msgid "Taxonomy"
|
2336 |
msgstr "طبقه بندی"
|
2337 |
|
2338 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2339 |
msgid "Elements"
|
2340 |
msgstr "عناصر"
|
2341 |
|
2342 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2343 |
msgid "Selected elements will be displayed in each result"
|
2344 |
msgstr "عناصر انتخاب شده در هر نتیجه نمایش داده خواهند شد"
|
2345 |
|
2346 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2347 |
msgid "Minimum posts"
|
2348 |
msgstr "حداقل تعداد نوشتهها"
|
2349 |
|
2350 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2351 |
msgid "Maximum posts"
|
2352 |
msgstr "حداکثر تعداد نوشته ها"
|
2353 |
|
2354 |
-
#: includes/fields/class-acf-field-relationship.php:
|
2355 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2356 |
#, php-format
|
2357 |
msgid "%s requires at least %s selection"
|
2358 |
msgid_plural "%s requires at least %s selections"
|
2359 |
-
msgstr[0] "%s
|
|
|
2360 |
|
2361 |
#: includes/fields/class-acf-field-select.php:25
|
2362 |
#: includes/fields/class-acf-field-taxonomy.php:776
|
2363 |
msgctxt "noun"
|
2364 |
msgid "Select"
|
2365 |
-
msgstr "انتخاب"
|
2366 |
|
2367 |
#: includes/fields/class-acf-field-select.php:111
|
2368 |
msgctxt "Select2 JS matches_1"
|
2369 |
msgid "One result is available, press enter to select it."
|
2370 |
-
msgstr "یک نتیجه موجود است برای انتخاب
|
2371 |
|
2372 |
#: includes/fields/class-acf-field-select.php:112
|
2373 |
#, php-format
|
2374 |
msgctxt "Select2 JS matches_n"
|
2375 |
msgid "%d results are available, use up and down arrow keys to navigate."
|
2376 |
-
msgstr ""
|
2377 |
-
"نتایج %d در دسترس است با استفاده از کلید بالا و پایین روی آنها حرکت کنید."
|
2378 |
|
2379 |
#: includes/fields/class-acf-field-select.php:113
|
2380 |
msgctxt "Select2 JS matches_0"
|
@@ -2429,16 +2434,16 @@ msgctxt "Select2 JS load_fail"
|
|
2429 |
msgid "Loading failed"
|
2430 |
msgstr "خطا در فراخوانی داده ها"
|
2431 |
|
2432 |
-
#: includes/fields/class-acf-field-select.php:
|
2433 |
#: includes/fields/class-acf-field-true_false.php:144
|
2434 |
msgid "Stylised UI"
|
2435 |
msgstr "ظاهر بهینه شده"
|
2436 |
|
2437 |
-
#: includes/fields/class-acf-field-select.php:
|
2438 |
msgid "Use AJAX to lazy load choices?"
|
2439 |
msgstr "از ایجکس برای خواندن گزینه های استفاده شود؟"
|
2440 |
|
2441 |
-
#: includes/fields/class-acf-field-select.php:
|
2442 |
msgid "Specify the value returned"
|
2443 |
msgstr "مقدار بازگشتی را انتخاب کنید"
|
2444 |
|
@@ -2456,11 +2461,11 @@ msgstr "جانمایی"
|
|
2456 |
|
2457 |
#: includes/fields/class-acf-field-tab.php:115
|
2458 |
msgid ""
|
2459 |
-
"Define an endpoint for the previous tabs to stop. This will start a new "
|
2460 |
-
"
|
2461 |
msgstr ""
|
2462 |
-
"یک نقطه پایانی برای توقف زبانه قبلی تعریف کنید. این کار باعث میشود گروه "
|
2463 |
-
"
|
2464 |
|
2465 |
#: includes/fields/class-acf-field-taxonomy.php:714
|
2466 |
#, php-format
|
@@ -2494,7 +2499,7 @@ msgstr "تک مقدار"
|
|
2494 |
|
2495 |
#: includes/fields/class-acf-field-taxonomy.php:775
|
2496 |
msgid "Radio Buttons"
|
2497 |
-
msgstr "
|
2498 |
|
2499 |
#: includes/fields/class-acf-field-taxonomy.php:799
|
2500 |
msgid "Create Terms"
|
@@ -2559,11 +2564,17 @@ msgstr "محدودیت کاراکتر"
|
|
2559 |
#: includes/fields/class-acf-field-text.php:156
|
2560 |
#: includes/fields/class-acf-field-textarea.php:121
|
2561 |
msgid "Leave blank for no limit"
|
2562 |
-
msgstr "برای نامحدود بودن این بخش را خالی
|
|
|
|
|
|
|
|
|
|
|
|
|
2563 |
|
2564 |
#: includes/fields/class-acf-field-textarea.php:25
|
2565 |
msgid "Text Area"
|
2566 |
-
msgstr "
|
2567 |
|
2568 |
#: includes/fields/class-acf-field-textarea.php:129
|
2569 |
msgid "Rows"
|
@@ -2613,23 +2624,23 @@ msgstr "مقدار باید یک آدرس صحیح باشد"
|
|
2613 |
msgid "User"
|
2614 |
msgstr "کاربر"
|
2615 |
|
2616 |
-
#: includes/fields/class-acf-field-user.php:
|
2617 |
msgid "Filter by role"
|
2618 |
msgstr "تفکیک با نقش"
|
2619 |
|
2620 |
-
#: includes/fields/class-acf-field-user.php:
|
2621 |
msgid "All user roles"
|
2622 |
msgstr "تمام نقش های کاربر"
|
2623 |
|
2624 |
-
#: includes/fields/class-acf-field-user.php:
|
2625 |
msgid "User Array"
|
2626 |
msgstr "آرایه کاربر"
|
2627 |
|
2628 |
-
#: includes/fields/class-acf-field-user.php:
|
2629 |
msgid "User Object"
|
2630 |
msgstr "آبجکت کاربر"
|
2631 |
|
2632 |
-
#: includes/fields/class-acf-field-user.php:
|
2633 |
msgid "User ID"
|
2634 |
msgstr "شناسه کاربر"
|
2635 |
|
@@ -2637,68 +2648,63 @@ msgstr "شناسه کاربر"
|
|
2637 |
msgid "Wysiwyg Editor"
|
2638 |
msgstr "ویرایشگر دیداری"
|
2639 |
|
2640 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2641 |
msgid "Visual"
|
2642 |
msgstr "بصری"
|
2643 |
|
2644 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2645 |
msgctxt "Name for the Text editor tab (formerly HTML)"
|
2646 |
msgid "Text"
|
2647 |
msgstr "متن"
|
2648 |
|
2649 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2650 |
msgid "Click to initialize TinyMCE"
|
2651 |
msgstr "برای اجرای TinyMCE کلیک کنید"
|
2652 |
|
2653 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2654 |
msgid "Tabs"
|
2655 |
msgstr "تب ها"
|
2656 |
|
2657 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2658 |
msgid "Visual & Text"
|
2659 |
msgstr "بصری و متنی"
|
2660 |
|
2661 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2662 |
msgid "Visual Only"
|
2663 |
msgstr "فقط بصری"
|
2664 |
|
2665 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2666 |
msgid "Text Only"
|
2667 |
msgstr "فقط متن"
|
2668 |
|
2669 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2670 |
msgid "Toolbar"
|
2671 |
msgstr "نوار ابزار"
|
2672 |
|
2673 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2674 |
msgid "Show Media Upload Buttons?"
|
2675 |
-
msgstr "آیا
|
2676 |
|
2677 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2678 |
msgid "Delay initialization?"
|
2679 |
msgstr "نمایش با تاخیر؟"
|
2680 |
|
2681 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2682 |
msgid "TinyMCE will not be initalized until field is clicked"
|
2683 |
msgstr "تا زمانی که روی فیلد کلیک نشود TinyMCE اجرا نخواهد شد"
|
2684 |
|
2685 |
-
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:305
|
2686 |
-
#: pro/admin/admin-options-page.php:308
|
2687 |
-
msgid "Edit field group"
|
2688 |
-
msgstr "ویرایش گروه زمینه"
|
2689 |
-
|
2690 |
#: includes/forms/form-front.php:55
|
2691 |
msgid "Validate Email"
|
2692 |
msgstr "اعتبار سنجی ایمیل"
|
2693 |
|
2694 |
-
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:
|
2695 |
#: pro/options-page.php:81
|
2696 |
msgid "Update"
|
2697 |
msgstr "بروزرسانی"
|
2698 |
|
2699 |
#: includes/forms/form-front.php:104
|
2700 |
msgid "Post updated"
|
2701 |
-
msgstr "نوشته بروز
|
2702 |
|
2703 |
#: includes/forms/form-front.php:230
|
2704 |
msgid "Spam Detected"
|
@@ -2716,11 +2722,11 @@ msgstr "برگه"
|
|
2716 |
msgid "Forms"
|
2717 |
msgstr "فرم ها"
|
2718 |
|
2719 |
-
#: includes/locations.php:
|
2720 |
msgid "is equal to"
|
2721 |
msgstr "برابر شود با"
|
2722 |
|
2723 |
-
#: includes/locations.php:
|
2724 |
msgid "is not equal to"
|
2725 |
msgstr "برابر نشود با"
|
2726 |
|
@@ -2785,8 +2791,8 @@ msgstr "برگه مادر"
|
|
2785 |
msgid "Page Template"
|
2786 |
msgstr "قالب برگه"
|
2787 |
|
2788 |
-
#: includes/locations/class-acf-location-page-template.php:
|
2789 |
-
#: includes/locations/class-acf-location-post-template.php:
|
2790 |
msgid "Default Template"
|
2791 |
msgstr "پوسته پیش فرض"
|
2792 |
|
@@ -2862,30 +2868,37 @@ msgstr "مقدار %s لازم است"
|
|
2862 |
#. Plugin Name of the plugin/theme
|
2863 |
#: pro/acf-pro.php:28
|
2864 |
msgid "Advanced Custom Fields PRO"
|
2865 |
-
msgstr "
|
2866 |
|
2867 |
-
#: pro/admin/admin-options-page.php:
|
2868 |
msgid "Publish"
|
2869 |
msgstr "انتشار"
|
2870 |
|
2871 |
-
#: pro/admin/admin-options-page.php:
|
2872 |
#, php-format
|
2873 |
msgid ""
|
2874 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
2875 |
"Custom Field Group</a>"
|
2876 |
msgstr ""
|
2877 |
-
"هیچ گروه زمینه دلخواهی برای این صفحه تنظیمات یافت نشد. <a href=\"%s\">ساخت "
|
2878 |
-
"
|
2879 |
|
2880 |
-
#: pro/admin/admin-
|
2881 |
msgid "<b>Error</b>. Could not connect to update server"
|
2882 |
msgstr "خطا. امکان اتصال به سرور به روزرسانی الان ممکن نیست"
|
2883 |
|
2884 |
-
#: pro/admin/admin-settings-updates.php:
|
2885 |
-
#: pro/admin/views/html-settings-updates.php:13
|
2886 |
msgid "Updates"
|
2887 |
msgstr "بروزرسانی ها"
|
2888 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2889 |
#: pro/admin/views/html-settings-updates.php:7
|
2890 |
msgid "Deactivate License"
|
2891 |
msgstr "غیرفعال سازی لایسنس"
|
@@ -2902,8 +2915,7 @@ msgstr "اطلاعات لایسنس"
|
|
2902 |
#, php-format
|
2903 |
msgid ""
|
2904 |
"To unlock updates, please enter your license key below. If you don't have a "
|
2905 |
-
"licence key, please see <a href=\"%s\" target=\"_blank\">details & pricing</"
|
2906 |
-
"a>."
|
2907 |
msgstr ""
|
2908 |
"برای به روزرسانی لطفا کد لایسنس را وارد کنید. <a href=\"%s\" target=\"_blank"
|
2909 |
"\">قیمت ها</a>."
|
@@ -3007,20 +3019,20 @@ msgid "Add Row"
|
|
3007 |
msgstr "سطر جدید"
|
3008 |
|
3009 |
#: pro/fields/class-acf-field-flexible-content.php:73
|
3010 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3011 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3012 |
-
#, fuzzy
|
3013 |
msgid "layout"
|
3014 |
msgid_plural "layouts"
|
3015 |
-
msgstr[0] "
|
|
|
3016 |
|
3017 |
#: pro/fields/class-acf-field-flexible-content.php:74
|
3018 |
msgid "layouts"
|
3019 |
msgstr "طرح ها"
|
3020 |
|
3021 |
#: pro/fields/class-acf-field-flexible-content.php:77
|
3022 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3023 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3024 |
msgid "This field requires at least {min} {label} {identifier}"
|
3025 |
msgstr "این زمینه لازم دارد {min} {label} {identifier}"
|
3026 |
|
@@ -3040,62 +3052,62 @@ msgstr "{required} {label} {identifier} لازم دارد (حداقل {min})"
|
|
3040 |
msgid "Flexible Content requires at least 1 layout"
|
3041 |
msgstr "زمینه محتوای انعطاف پذیر حداقل به یک طرح نیاز دارد"
|
3042 |
|
3043 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3044 |
#, php-format
|
3045 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3046 |
msgstr "روی دکمه \"%s\" دز زیر کلیک کنید تا چیدمان خود را بسازید"
|
3047 |
|
3048 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3049 |
msgid "Add layout"
|
3050 |
msgstr "طرح جدید"
|
3051 |
|
3052 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3053 |
msgid "Remove layout"
|
3054 |
msgstr "حذف طرح"
|
3055 |
|
3056 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3057 |
#: pro/fields/class-acf-field-repeater.php:296
|
3058 |
msgid "Click to toggle"
|
3059 |
msgstr "کلیک برای انتخاب"
|
3060 |
|
3061 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3062 |
msgid "Reorder Layout"
|
3063 |
msgstr "ترتیب بندی طرح ها"
|
3064 |
|
3065 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3066 |
msgid "Reorder"
|
3067 |
msgstr "مرتب سازی"
|
3068 |
|
3069 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3070 |
msgid "Delete Layout"
|
3071 |
msgstr "حذف طرح"
|
3072 |
|
3073 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3074 |
msgid "Duplicate Layout"
|
3075 |
msgstr "تکثیر طرح"
|
3076 |
|
3077 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3078 |
msgid "Add New Layout"
|
3079 |
msgstr "افزودن طرح جدید"
|
3080 |
|
3081 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3082 |
msgid "Min"
|
3083 |
msgstr "حداقل"
|
3084 |
|
3085 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3086 |
msgid "Max"
|
3087 |
msgstr "حداکثر"
|
3088 |
|
3089 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3090 |
#: pro/fields/class-acf-field-repeater.php:459
|
3091 |
msgid "Button Label"
|
3092 |
msgstr "متن دکمه"
|
3093 |
|
3094 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3095 |
msgid "Minimum Layouts"
|
3096 |
msgstr "حداقل تعداد طرح ها"
|
3097 |
|
3098 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3099 |
msgid "Maximum Layouts"
|
3100 |
msgstr "حداکثر تعداد طرح ها"
|
3101 |
|
@@ -3107,67 +3119,67 @@ msgstr "افزودن تصویر به گالری"
|
|
3107 |
msgid "Maximum selection reached"
|
3108 |
msgstr "بیشترین حد انتخاب شده است"
|
3109 |
|
3110 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3111 |
msgid "Length"
|
3112 |
msgstr "طول"
|
3113 |
|
3114 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3115 |
msgid "Caption"
|
3116 |
msgstr "متن"
|
3117 |
|
3118 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3119 |
msgid "Alt Text"
|
3120 |
msgstr "متن جایگزین"
|
3121 |
|
3122 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3123 |
msgid "Add to gallery"
|
3124 |
msgstr "اضافه به گالری"
|
3125 |
|
3126 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3127 |
msgid "Bulk actions"
|
3128 |
msgstr "کارهای گروهی"
|
3129 |
|
3130 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3131 |
msgid "Sort by date uploaded"
|
3132 |
msgstr "به ترتیب تاریخ آپلود"
|
3133 |
|
3134 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3135 |
msgid "Sort by date modified"
|
3136 |
msgstr "به ترتیب تاریخ اعمال تغییرات"
|
3137 |
|
3138 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3139 |
msgid "Sort by title"
|
3140 |
msgstr "به ترتیب عنوان"
|
3141 |
|
3142 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3143 |
msgid "Reverse current order"
|
3144 |
msgstr "معکوس سازی ترتیب کنونی"
|
3145 |
|
3146 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3147 |
msgid "Close"
|
3148 |
msgstr "بستن"
|
3149 |
|
3150 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3151 |
msgid "Minimum Selection"
|
3152 |
msgstr "حداقل انتخاب"
|
3153 |
|
3154 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3155 |
msgid "Maximum Selection"
|
3156 |
msgstr "حداکثر انتخاب"
|
3157 |
|
3158 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3159 |
msgid "Insert"
|
3160 |
msgstr "درج"
|
3161 |
|
3162 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3163 |
msgid "Specify where new attachments are added"
|
3164 |
msgstr "مشخص کنید که پیوست ها کجا اضافه شوند"
|
3165 |
|
3166 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3167 |
msgid "Append to the end"
|
3168 |
msgstr "افزودن به انتها"
|
3169 |
|
3170 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3171 |
msgid "Prepend to the beginning"
|
3172 |
msgstr "افزودن قبل از"
|
3173 |
|
@@ -3219,12 +3231,12 @@ msgstr "تنظیمات به روز شدند"
|
|
3219 |
#: pro/updates.php:97
|
3220 |
#, php-format
|
3221 |
msgid ""
|
3222 |
-
"To enable updates, please enter your license key on the <a href=\"%s"
|
3223 |
-
"
|
3224 |
-
"
|
3225 |
msgstr ""
|
3226 |
-
"برای به روزرسانی لطفا کد لایسنس را وارد کنید. <a href=\"%s\">بروزرسانی</a>. "
|
3227 |
-
"
|
3228 |
|
3229 |
#. Plugin URI of the plugin/theme
|
3230 |
msgid "https://www.advancedcustomfields.com/"
|
@@ -3238,6 +3250,159 @@ msgstr "Elliot Condon"
|
|
3238 |
msgid "http://www.elliotcondon.com/"
|
3239 |
msgstr "http://www.elliotcondon.com/"
|
3240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3241 |
#~ msgid "checked"
|
3242 |
#~ msgstr "انتخاب شده"
|
3243 |
|
@@ -3281,33 +3446,32 @@ msgstr "http://www.elliotcondon.com/"
|
|
3281 |
#~ msgstr "اجاره به آکاردئون برای باز شدن بدون بستن دیگران"
|
3282 |
|
3283 |
#~ msgid ""
|
3284 |
-
#~ "The tab field will display incorrectly when added to a Table style "
|
3285 |
-
#~ "
|
3286 |
#~ msgstr ""
|
3287 |
-
#~ "زمینه تب در زمانی که در آن زمینه تکرارشونده و یا زمینه محتوای انعطاف پذیر "
|
3288 |
-
#~ "
|
3289 |
|
3290 |
#~ msgid ""
|
3291 |
#~ "Use \"Tab Fields\" to better organize your edit screen by grouping fields "
|
3292 |
#~ "together."
|
3293 |
#~ msgstr ""
|
3294 |
-
#~ "از (زمینه تب) برای سازماندهی بهتر صفحه ویرایش با گروه بندی زمینه ها زیر "
|
3295 |
-
#~ "
|
3296 |
|
3297 |
#~ msgid ""
|
3298 |
-
#~ "All fields following this \"tab field\" (or until another \"tab field\" "
|
3299 |
-
#~ "
|
3300 |
#~ "heading."
|
3301 |
#~ msgstr ""
|
3302 |
-
#~ "همه زمینه های زیر این \" زمینه تب \" (یا تا زمینه تب بعدی) با هم گروه "
|
3303 |
-
#~ "
|
3304 |
|
3305 |
#~ msgid "End-point"
|
3306 |
#~ msgstr "نقطه پایانی"
|
3307 |
|
3308 |
#~ msgid "Use this field as an end-point and start a new group of tabs"
|
3309 |
-
#~ msgstr ""
|
3310 |
-
#~ "استفاده از این زمینه به عنوان نقطه پایانی و شروع یک گروه جدید از تب ها"
|
3311 |
|
3312 |
#~ msgid "Disabled"
|
3313 |
#~ msgstr "غیرفعال"
|
@@ -3377,11 +3541,11 @@ msgstr "http://www.elliotcondon.com/"
|
|
3377 |
#~ msgstr "<b>انجام شد</b> ابزار وارد سازی %s زمینه را وارد کرد: %s"
|
3378 |
|
3379 |
#~ msgid ""
|
3380 |
-
#~ "<b>Warning</b>. Import tool detected %s field groups already exist and "
|
3381 |
-
#~ "
|
3382 |
#~ msgstr ""
|
3383 |
-
#~ "<b>اخطار</b> ابزار وارد سازی تشخصی داد که گروه زمینه %s اکنون موجود می "
|
3384 |
-
#~ "
|
3385 |
|
3386 |
#~ msgid "Upgrade ACF"
|
3387 |
#~ msgstr "بروزرسانی "
|
@@ -3393,8 +3557,8 @@ msgstr "http://www.elliotcondon.com/"
|
|
3393 |
#~ msgstr "با گرفتن و کشیدن مرتب سازی کنید"
|
3394 |
|
3395 |
#~ msgid ""
|
3396 |
-
#~ "The following sites require a DB upgrade. Check the ones you want to "
|
3397 |
-
#~ "
|
3398 |
#~ msgstr ""
|
3399 |
#~ "سایتهای زیر نیاز به بهروزرسانی دیتابیس دارند. آنهایی که تمایل دارید را "
|
3400 |
#~ "انتخاب کنید و دکمه به روزرسانی را کلیک کنید."
|
@@ -3442,8 +3606,8 @@ msgstr "http://www.elliotcondon.com/"
|
|
3442 |
#~ msgstr "لایسنس"
|
3443 |
|
3444 |
#~ msgid ""
|
3445 |
-
#~ "To unlock updates, please enter your license key below. If you don't have "
|
3446 |
-
#~ "
|
3447 |
#~ msgstr ""
|
3448 |
#~ "برای به روزرسانی لطفا لایسنس خود را وارد کنید. اگر لایسنس ندارید اینجا را "
|
3449 |
#~ "ببنید:"
|
@@ -3453,15 +3617,14 @@ msgstr "http://www.elliotcondon.com/"
|
|
3453 |
|
3454 |
#~ msgid ""
|
3455 |
#~ "To enable updates, please enter your license key on the <a href=\"%s"
|
3456 |
-
#~ "\">Updates</a> page. If you don't have a licence key, please see <a href
|
3457 |
-
#~ "\"
|
3458 |
#~ msgstr ""
|
3459 |
-
#~ "برای به روز رسانی لایسنس خود را در قسمت <a href=\"%s\">به روزرسانی ها</"
|
3460 |
-
#~ "
|
3461 |
-
#~ "
|
3462 |
|
3463 |
-
#~ msgid ""
|
3464 |
-
#~ "Please note that all text will first be passed through the wp function "
|
3465 |
#~ msgstr "دقت کنید که نکاک متن ها اول از تابع وردپرس عبور خواهند کرد"
|
3466 |
|
3467 |
#~ msgid "Warning"
|
@@ -3509,15 +3672,15 @@ msgstr "http://www.elliotcondon.com/"
|
|
3509 |
#~ msgstr "نسخه حرفه ای لازم است"
|
3510 |
|
3511 |
#~ msgid ""
|
3512 |
-
#~ "We have detected an issue which requires your attention: This website "
|
3513 |
-
#~ "
|
3514 |
#~ msgstr ""
|
3515 |
-
#~ "مشکلی مشاهده شده است که نیاز به توجه شما دارد. این وب سایت مجاز به "
|
3516 |
-
#~ "
|
3517 |
|
3518 |
#~ msgid ""
|
3519 |
-
#~ "Don't panic, you can simply roll back the plugin and continue using ACF "
|
3520 |
-
#~ "
|
3521 |
#~ msgstr "مشکلی نیست. شما می توانید به نسخه ای که به آن عادت دارید برگردید!"
|
3522 |
|
3523 |
#~ msgid "Roll back to ACF v%s"
|
@@ -3546,8 +3709,8 @@ msgstr "http://www.elliotcondon.com/"
|
|
3546 |
#~ msgid ""
|
3547 |
#~ "Load value based on the post's terms and update the post's terms on save"
|
3548 |
#~ msgstr ""
|
3549 |
-
#~ "مقدار بر اساس دسته(ترم) نوشته خوانده شود و دسته های نوشته را در هنگام "
|
3550 |
-
#~ "
|
3551 |
|
3552 |
#~ msgid "Controls how HTML tags are rendered"
|
3553 |
#~ msgstr "کنترل چگونگی نمایش تگ های HTML"
|
@@ -3616,8 +3779,7 @@ msgstr "http://www.elliotcondon.com/"
|
|
3616 |
#~ msgid "No ACF groups selected"
|
3617 |
#~ msgstr "هیچ گروه زمینه دلخواه پیشرفته ای انتخاب نشده است."
|
3618 |
|
3619 |
-
#~ msgid ""
|
3620 |
-
#~ "Create infinite rows of repeatable data with this versatile interface!"
|
3621 |
#~ msgstr ""
|
3622 |
#~ "ایجاد بی نهایت سطر از داده های تکرار شونده به وسیله این زمینه چند منظوره!"
|
3623 |
|
@@ -3635,8 +3797,8 @@ msgstr "http://www.elliotcondon.com/"
|
|
3635 |
|
3636 |
#~ msgid "Creates a select field populated with Gravity Forms!"
|
3637 |
#~ msgstr ""
|
3638 |
-
#~ "زمینه جدید از نوع انتخاب می سازد که می توانید یکی از فرم های GravityForms "
|
3639 |
-
#~ "
|
3640 |
|
3641 |
#~ msgid "Date & Time Picker"
|
3642 |
#~ msgstr "تاریخ و زمان"
|
@@ -3660,15 +3822,15 @@ msgstr "http://www.elliotcondon.com/"
|
|
3660 |
#~ "The following Add-ons are available to increase the functionality of the "
|
3661 |
#~ "Advanced Custom Fields plugin."
|
3662 |
#~ msgstr ""
|
3663 |
-
#~ "افزودنی های زیر برای افزایش قابلیت های افزونه زمینه های دلخواه پیشرفته "
|
3664 |
-
#~ "
|
3665 |
|
3666 |
#~ msgid ""
|
3667 |
#~ "Each Add-on can be installed as a separate plugin (receives updates) or "
|
3668 |
#~ "included in your theme (does not receive updates)."
|
3669 |
#~ msgstr ""
|
3670 |
-
#~ "هر افزودنی می تواند به عنوان یک افزونه جدا ( قابل بروزرسانی) نصب شود و یا "
|
3671 |
-
#~ "
|
3672 |
|
3673 |
#~ msgid "Purchase & Install"
|
3674 |
#~ msgstr "خرید و نصب"
|
@@ -3686,16 +3848,16 @@ msgstr "http://www.elliotcondon.com/"
|
|
3686 |
#~ "ACF will create a .xml export file which is compatible with the native WP "
|
3687 |
#~ "import plugin."
|
3688 |
#~ msgstr ""
|
3689 |
-
#~ "افزونه زمینه های دلخواه پیشرفته یک پرونده خروجی (.xml) را ایجاد خواهد کرد "
|
3690 |
-
#~ "
|
3691 |
|
3692 |
#~ msgid ""
|
3693 |
#~ "Imported field groups <b>will</b> appear in the list of editable field "
|
3694 |
#~ "groups. This is useful for migrating fields groups between Wp websites."
|
3695 |
#~ msgstr ""
|
3696 |
-
#~ "گروه های زمینه درون ریزی شده در لیست گروه های زمینه قابل ویرایش نمایش "
|
3697 |
-
#~ "
|
3698 |
-
#~ "
|
3699 |
|
3700 |
#~ msgid "Select field group(s) from the list and click \"Export XML\""
|
3701 |
#~ msgstr ""
|
@@ -3726,23 +3888,23 @@ msgstr "http://www.elliotcondon.com/"
|
|
3726 |
#~ "اختیاران قرار می دهد"
|
3727 |
|
3728 |
#~ msgid ""
|
3729 |
-
#~ "Registered field groups <b>will not</b> appear in the list of editable "
|
3730 |
-
#~ "
|
3731 |
#~ msgstr ""
|
3732 |
#~ "گروه های زمینه ساخته خواهند شد ولی قابل ویرایش <b>نخواهند بود</b>.یعنی در "
|
3733 |
#~ "لیست افزونه برای ویرایش دیده نمی شوند. این روش برای قرار دادن زمینه ها در "
|
3734 |
#~ "پوسته ها (برای مشتری) مفید است."
|
3735 |
|
3736 |
#~ msgid ""
|
3737 |
-
#~ "Please note that if you export and register field groups within the same "
|
3738 |
-
#~ "
|
3739 |
-
#~ "
|
3740 |
-
#~ "
|
3741 |
#~ msgstr ""
|
3742 |
#~ "لطفا توجه کنید که اگر از هر دو روش ذکر شما در یک وردپرس به صورت هم زمان "
|
3743 |
-
#~ "استفاده کنید، در صفحه ویرایش مطالب، دو بار زمینه ها را خواهید دید. واضح "
|
3744 |
-
#~ "
|
3745 |
-
#~ "
|
3746 |
|
3747 |
#~ msgid "Select field group(s) from the list and click \"Create PHP\""
|
3748 |
#~ msgstr ""
|
@@ -3755,8 +3917,7 @@ msgstr "http://www.elliotcondon.com/"
|
|
3755 |
#~ msgid "Paste into your functions.php file"
|
3756 |
#~ msgstr "در فایل functions.php پوسته خود قرار دهید"
|
3757 |
|
3758 |
-
#~ msgid ""
|
3759 |
-
#~ "To activate any Add-ons, edit and use the code in the first few lines."
|
3760 |
#~ msgstr "برای فعالسازی افزودنی ها،چند سطر اول کدها را ویرایش و استفاده کنید"
|
3761 |
|
3762 |
#~ msgid "Notes"
|
@@ -3766,18 +3927,18 @@ msgstr "http://www.elliotcondon.com/"
|
|
3766 |
#~ msgstr "قرار دادن در پوسته"
|
3767 |
|
3768 |
#~ msgid ""
|
3769 |
-
#~ "The Advanced Custom Fields plugin can be included within a theme. To do "
|
3770 |
-
#~ "
|
3771 |
-
#~ "
|
3772 |
#~ msgstr ""
|
3773 |
-
#~ "افزونه زمینه های دلخواه پیشرفته وردپرس می تواند در داخل یک پوسته قرار "
|
3774 |
-
#~ "
|
3775 |
-
#~ "
|
3776 |
|
3777 |
#~ msgid ""
|
3778 |
-
#~ "To remove all visual interfaces from the ACF plugin, you can use a "
|
3779 |
-
#~ "
|
3780 |
-
#~ "
|
3781 |
#~ msgstr ""
|
3782 |
#~ "برای حذف همه رابط های بصری از افزونه زمینه های دلخواه پیشرفته (دیده نشدن "
|
3783 |
#~ "افزونه)، می توانید از یک ثابت (کانستنت) برای فعال سازی حالت سبک (lite) "
|
@@ -3794,13 +3955,13 @@ msgstr "http://www.elliotcondon.com/"
|
|
3794 |
#~ msgstr "کدهای فعالسازی در افزونه ها افزایش یافته اند!"
|
3795 |
|
3796 |
#~ msgid ""
|
3797 |
-
#~ "Add-ons are now activated by downloading and installing individual "
|
3798 |
-
#~ "
|
3799 |
-
#~ "
|
3800 |
#~ msgstr ""
|
3801 |
#~ "افزودنی ها الان با دریافت و نصب افزونه های جداگانه فعال می شوند. با اینکه "
|
3802 |
-
#~ "این افزونه ها در مخزن وردپرس پشتیبانی نخواهند شد، هر افزودنی به صورت "
|
3803 |
-
#~ "
|
3804 |
|
3805 |
#~ msgid "All previous Add-ons have been successfully installed"
|
3806 |
#~ msgstr "تمام افزونه های قبلی با موفقیت نصب شده اند"
|
@@ -3812,8 +3973,8 @@ msgstr "http://www.elliotcondon.com/"
|
|
3812 |
#~ msgstr "افزودنی های فعال شده ی خود را دانلود کنید"
|
3813 |
|
3814 |
#~ msgid ""
|
3815 |
-
#~ "This website does not use premium Add-ons and will not be affected by "
|
3816 |
-
#~ "
|
3817 |
#~ msgstr ""
|
3818 |
#~ "این سایت از افزودنی های ویژه استفاده نمی کند و تحت تأثیر این تغییر قرار "
|
3819 |
#~ "نخواهد گرفت"
|
@@ -3834,15 +3995,14 @@ msgstr "http://www.elliotcondon.com/"
|
|
3834 |
#~ msgstr "زمینه رمزعبور"
|
3835 |
|
3836 |
#~ msgid ""
|
3837 |
-
#~ "Creating your own field type has never been easier! Unfortunately, "
|
3838 |
-
#~ "
|
3839 |
#~ msgstr ""
|
3840 |
-
#~ "ساخت نوع زمینه دلخواه برای خودتان هرگز به این آسانی نبوده! متأسفانه، "
|
3841 |
-
#~ "
|
3842 |
|
3843 |
#~ msgid "Migrating your field types is easy, please"
|
3844 |
-
#~ msgstr ""
|
3845 |
-
#~ "انتقال انواع زمینه ها آسان است. پس لطفا افزونه خود را بروزرسانی کنید."
|
3846 |
|
3847 |
#~ msgid "follow this tutorial"
|
3848 |
#~ msgstr "این آموزش را دنبال کنید"
|
@@ -3854,11 +4014,11 @@ msgstr "http://www.elliotcondon.com/"
|
|
3854 |
#~ msgstr "اکشن ها و فیلترها"
|
3855 |
|
3856 |
#~ msgid ""
|
3857 |
-
#~ "All actions & filters have received a major facelift to make customizing "
|
3858 |
-
#~ "
|
3859 |
#~ msgstr ""
|
3860 |
-
#~ "همه اکشن ها و فیلترها دارای تغییرات عمده ای شدند تا دلخواه سازی ACF از "
|
3861 |
-
#~ "
|
3862 |
|
3863 |
#~ msgid "read this guide"
|
3864 |
#~ msgstr "لطفا راهنما را مطالعه فرمایید"
|
@@ -3880,12 +4040,11 @@ msgstr "http://www.elliotcondon.com/"
|
|
3880 |
|
3881 |
#~ msgid ""
|
3882 |
#~ "Absolutely <strong>no</strong> changes have been made to the database "
|
3883 |
-
#~ "between versions 3 and 4. This means you can roll back to version 3 "
|
3884 |
-
#~ "
|
3885 |
#~ msgstr ""
|
3886 |
#~ "<strong>هیچ تغییری</strong> در پایگاه داده بین نسخه 3 و 4 ایجاد نشده است. "
|
3887 |
-
#~ "این بدین معنی است که شما می توانید بدون هیچ گونه مسئله ای به نسخه 3 "
|
3888 |
-
#~ "برگردید."
|
3889 |
|
3890 |
#~ msgid "Potential Issues"
|
3891 |
#~ msgstr "مسائل بالقوه"
|
@@ -3924,12 +4083,12 @@ msgstr "http://www.elliotcondon.com/"
|
|
3924 |
#~ msgstr "از شما متشکرم"
|
3925 |
|
3926 |
#~ msgid ""
|
3927 |
-
#~ "A <strong>BIG</strong> thank you to everyone who has helped test the "
|
3928 |
-
#~ "
|
3929 |
#~ msgstr ""
|
3930 |
-
#~ "یک <strong>تشکر بزرگ</strong> از شما و همه کسانی که در تست نسخه 4 بتا به "
|
3931 |
-
#~ "
|
3932 |
-
#~ "
|
3933 |
|
3934 |
#~ msgid "Without you all, this release would not have been possible!"
|
3935 |
#~ msgstr "بدون همه شما انتشار این نسخه امکان پذیر نبود!"
|
@@ -3944,24 +4103,23 @@ msgstr "http://www.elliotcondon.com/"
|
|
3944 |
#~ msgstr "بازنگری"
|
3945 |
|
3946 |
#~ msgid ""
|
3947 |
-
#~ "Previously, all Add-ons were unlocked via an activation code (purchased "
|
3948 |
-
#~ "
|
3949 |
-
#~ "
|
3950 |
#~ msgstr ""
|
3951 |
#~ "پیش از این، قفل همه افزودنی ها از طریق یک کد فعالسازی (خریداری شده از "
|
3952 |
-
#~ "فروشگاه افزودنی ها) باز می شدند.اما در نسخه 4 همه آنها به صورت افزودنی "
|
3953 |
-
#~ "
|
3954 |
|
3955 |
#~ msgid ""
|
3956 |
-
#~ "This page will assist you in downloading and installing each available "
|
3957 |
-
#~ "
|
3958 |
#~ msgstr "این برگه به شما در دریافت و نصب هر افزودنی موجود کمک خواهد کرد."
|
3959 |
|
3960 |
#~ msgid "Available Add-ons"
|
3961 |
#~ msgstr "افزودنی های موجود"
|
3962 |
|
3963 |
-
#~ msgid ""
|
3964 |
-
#~ "The following Add-ons have been detected as activated on this website."
|
3965 |
#~ msgstr "افزودنی های زیر به صورت فعال در این سایت شناسایی شده اند"
|
3966 |
|
3967 |
#~ msgid "Installation"
|
@@ -3979,15 +4137,14 @@ msgstr "http://www.elliotcondon.com/"
|
|
3979 |
#~ msgid "Plugins > Add New > Upload"
|
3980 |
#~ msgstr "افزونه ها > افزودن > بارگذاری"
|
3981 |
|
3982 |
-
#~ msgid ""
|
3983 |
-
#~ "Use the uploader to browse, select and install your Add-on (.zip file)"
|
3984 |
#~ msgstr ""
|
3985 |
-
#~ "از بارگذار برای انتخاب فایل استفاده کنید. افزودنی خود را (پرونده ZIP) "
|
3986 |
-
#~ "
|
3987 |
|
3988 |
#~ msgid ""
|
3989 |
-
#~ "Once the plugin has been uploaded and installed, click the 'Activate "
|
3990 |
-
#~ "
|
3991 |
#~ msgstr ""
|
3992 |
#~ "هنگامی که یک افزونه دریافت و نصب شده است، روی لینک (( فعال کردن افزونه)) "
|
3993 |
#~ "کلیک کنید"
|
@@ -4063,11 +4220,11 @@ msgstr "http://www.elliotcondon.com/"
|
|
4063 |
#~ msgstr "فرمت ذخیره"
|
4064 |
|
4065 |
#~ msgid ""
|
4066 |
-
#~ "This format will determin the value saved to the database and returned "
|
4067 |
-
#~ "
|
4068 |
#~ msgstr ""
|
4069 |
-
#~ "این فرمت مقدار ذخیره شده در پایگاه داده را مشخص خواهد کرد و از طریق API "
|
4070 |
-
#~ "
|
4071 |
|
4072 |
#~ msgid "\"yymmdd\" is the most versatile save format. Read more about"
|
4073 |
#~ msgstr "\"yymmdd\" بهترین و پر استفاده ترین فرمت ذخیره است. اطلاعات بیشتر"
|
@@ -4082,8 +4239,8 @@ msgstr "http://www.elliotcondon.com/"
|
|
4082 |
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
4083 |
#~ "about"
|
4084 |
#~ msgstr ""
|
4085 |
-
#~ "\"dd/mm/yy\" یا \"mm/dd/yy\" پر استفاده ترین قالب های نمایش تاریخ می "
|
4086 |
-
#~ "
|
4087 |
|
4088 |
#~ msgid "Field Order"
|
4089 |
#~ msgstr "ترتیب زمینه"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Advanced Custom Fields Pro v5.7.11\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
+
"POT-Creation-Date: 2019-02-14 15:11+0330\n"
|
6 |
+
"PO-Revision-Date: 2019-02-14 15:11+0330\n"
|
7 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
8 |
+
"Language-Team: Majix <mimapien@gmail.com>\n"
|
9 |
"Language: fa\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=(n==0 || n==1);\n"
|
14 |
+
"X-Generator: Poedit 2.2\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
24 |
|
25 |
#: acf.php:80
|
26 |
msgid "Advanced Custom Fields"
|
27 |
+
msgstr "زمینههای سفارشی پیشرفته"
|
28 |
|
29 |
+
#: acf.php:362 includes/admin/admin.php:58
|
30 |
msgid "Field Groups"
|
31 |
msgstr "گروههای زمینه"
|
32 |
|
33 |
+
#: acf.php:363
|
34 |
msgid "Field Group"
|
35 |
msgstr "گروه زمینه"
|
36 |
|
37 |
+
#: acf.php:364 acf.php:396 includes/admin/admin.php:59
|
38 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
39 |
msgid "Add New"
|
40 |
msgstr "افزودن"
|
41 |
|
42 |
+
#: acf.php:365
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr "افزودن گروه زمینه جدید"
|
45 |
|
46 |
+
#: acf.php:366
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr "ویرایش گروه زمینه"
|
49 |
|
50 |
+
#: acf.php:367
|
51 |
msgid "New Field Group"
|
52 |
msgstr "گروه زمینه جدید"
|
53 |
|
54 |
+
#: acf.php:368
|
55 |
msgid "View Field Group"
|
56 |
msgstr "مشاهده گروه زمینه"
|
57 |
|
58 |
+
#: acf.php:369
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr "جستجوی گروه های زمینه"
|
61 |
|
62 |
+
#: acf.php:370
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr "گروه زمینه ای یافت نشد"
|
65 |
|
66 |
+
#: acf.php:371
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr "گروه زمینه ای در زباله دان یافت نشد"
|
69 |
|
70 |
+
#: acf.php:394 includes/admin/admin-field-group.php:220
|
71 |
+
#: includes/admin/admin-field-groups.php:530
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr "زمینه ها"
|
75 |
|
76 |
+
#: acf.php:395
|
77 |
msgid "Field"
|
78 |
msgstr "زمینه"
|
79 |
|
80 |
+
#: acf.php:397
|
81 |
msgid "Add New Field"
|
82 |
msgstr "زمینه جدید"
|
83 |
|
84 |
+
#: acf.php:398
|
85 |
msgid "Edit Field"
|
86 |
msgstr "ویرایش زمینه"
|
87 |
|
88 |
+
#: acf.php:399 includes/admin/views/field-group-fields.php:41
|
|
|
89 |
msgid "New Field"
|
90 |
msgstr "زمینه جدید"
|
91 |
|
92 |
+
#: acf.php:400
|
93 |
msgid "View Field"
|
94 |
msgstr "نمایش زمینه"
|
95 |
|
96 |
+
#: acf.php:401
|
97 |
msgid "Search Fields"
|
98 |
msgstr "جستجوی گروه های زمینه"
|
99 |
|
100 |
+
#: acf.php:402
|
101 |
msgid "No Fields found"
|
102 |
msgstr "گروه زمینه ای یافت نشد"
|
103 |
|
104 |
+
#: acf.php:403
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr "گروه زمینه ای در زباله دان یافت نشد"
|
107 |
|
108 |
+
#: acf.php:442 includes/admin/admin-field-group.php:402
|
109 |
+
#: includes/admin/admin-field-groups.php:587
|
110 |
msgid "Inactive"
|
111 |
msgstr "غیرفعال"
|
112 |
|
113 |
+
#: acf.php:447
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] "غیرفعال <span class=\"count\">(%s)</span>"
|
118 |
+
msgstr[1] "غیرفعال <span class=\"count\">(%s)</span>"
|
119 |
|
120 |
+
#: includes/acf-field-functions.php:827 includes/admin/admin-field-group.php:178
|
121 |
+
msgid "(no label)"
|
122 |
+
msgstr "(بدون برچسب)"
|
123 |
+
|
124 |
+
#: includes/acf-field-group-functions.php:813
|
125 |
+
#: includes/admin/admin-field-group.php:180
|
126 |
+
msgid "copy"
|
127 |
+
msgstr "کپی"
|
128 |
+
|
129 |
+
#: includes/admin/admin-field-group.php:86 includes/admin/admin-field-group.php:87
|
130 |
+
#: includes/admin/admin-field-group.php:89
|
131 |
msgid "Field group updated."
|
132 |
+
msgstr "گروه زمینه بروز شد."
|
133 |
|
134 |
+
#: includes/admin/admin-field-group.php:88
|
135 |
msgid "Field group deleted."
|
136 |
+
msgstr "گروه زمینه حذف شد."
|
137 |
|
138 |
+
#: includes/admin/admin-field-group.php:91
|
139 |
msgid "Field group published."
|
140 |
msgstr "گروه زمینه انتشار یافت."
|
141 |
|
142 |
+
#: includes/admin/admin-field-group.php:92
|
143 |
msgid "Field group saved."
|
144 |
msgstr "گروه زمینه ذخیره شد."
|
145 |
|
146 |
+
#: includes/admin/admin-field-group.php:93
|
147 |
msgid "Field group submitted."
|
148 |
msgstr "گروه زمینه ارسال شد."
|
149 |
|
150 |
+
#: includes/admin/admin-field-group.php:94
|
151 |
msgid "Field group scheduled for."
|
152 |
+
msgstr "گروه زمینه برنامه ریزی انتشار پیدا کرده برای."
|
153 |
|
154 |
+
#: includes/admin/admin-field-group.php:95
|
155 |
msgid "Field group draft updated."
|
156 |
msgstr "پیش نویش گروه زمینه بروز شد."
|
157 |
|
158 |
+
#: includes/admin/admin-field-group.php:171
|
159 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
160 |
+
msgstr "کلمه متنی \"field_\" نباید در ابتدای نام فیلد استفاده شود"
|
161 |
|
162 |
+
#: includes/admin/admin-field-group.php:172
|
163 |
msgid "This field cannot be moved until its changes have been saved"
|
164 |
msgstr "این زمینه قبل از اینکه ذخیره شود نمی تواند جابجا شود"
|
165 |
|
166 |
+
#: includes/admin/admin-field-group.php:173
|
167 |
msgid "Field group title is required"
|
168 |
msgstr "عنوان گروه زمینه ضروری است"
|
169 |
|
170 |
+
#: includes/admin/admin-field-group.php:174
|
171 |
msgid "Move to trash. Are you sure?"
|
172 |
msgstr "انتقال به زباله دان، آیا شما مطمئنید؟"
|
173 |
|
174 |
+
#: includes/admin/admin-field-group.php:175
|
175 |
msgid "No toggle fields available"
|
176 |
msgstr "هیچ زمینه شرط پذیری موجود نیست"
|
177 |
|
178 |
+
#: includes/admin/admin-field-group.php:176
|
179 |
msgid "Move Custom Field"
|
180 |
msgstr "جابجایی زمینه دلخواه"
|
181 |
|
182 |
+
#: includes/admin/admin-field-group.php:177
|
183 |
msgid "Checked"
|
184 |
msgstr "انتخاب شده"
|
185 |
|
186 |
+
#: includes/admin/admin-field-group.php:179
|
|
|
|
|
|
|
|
|
187 |
msgid "(this field)"
|
188 |
msgstr "(این گزینه)"
|
189 |
|
190 |
+
#: includes/admin/admin-field-group.php:181
|
|
|
|
|
|
|
|
|
|
|
191 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
192 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
193 |
#: includes/admin/views/field-group-locations.php:29
|
194 |
#: includes/admin/views/html-location-group.php:3
|
195 |
+
#: includes/api/api-helpers.php:3982
|
196 |
msgid "or"
|
197 |
msgstr "یا"
|
198 |
|
199 |
+
#: includes/admin/admin-field-group.php:182
|
200 |
msgid "Null"
|
201 |
msgstr "خالی (null)"
|
202 |
|
203 |
+
#: includes/admin/admin-field-group.php:221
|
204 |
msgid "Location"
|
205 |
msgstr "مکان"
|
206 |
|
207 |
+
#: includes/admin/admin-field-group.php:222
|
208 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
209 |
msgid "Settings"
|
210 |
msgstr "تنظیمات"
|
211 |
|
212 |
+
#: includes/admin/admin-field-group.php:372
|
213 |
msgid "Field Keys"
|
214 |
msgstr "کایدهای زمینه"
|
215 |
|
216 |
+
#: includes/admin/admin-field-group.php:402
|
217 |
#: includes/admin/views/field-group-options.php:9
|
218 |
msgid "Active"
|
219 |
msgstr "فعال"
|
220 |
|
221 |
+
#: includes/admin/admin-field-group.php:771
|
222 |
msgid "Move Complete."
|
223 |
msgstr "انتقال کامل شد."
|
224 |
|
225 |
+
#: includes/admin/admin-field-group.php:772
|
226 |
#, php-format
|
227 |
msgid "The %s field can now be found in the %s field group"
|
228 |
msgstr "زمینه %s اکنون در گروه زمینه %s قرار گرفته است"
|
229 |
|
230 |
+
#: includes/admin/admin-field-group.php:773
|
231 |
msgid "Close Window"
|
232 |
msgstr "بستن زمینه"
|
233 |
|
234 |
+
#: includes/admin/admin-field-group.php:814
|
235 |
msgid "Please select the destination for this field"
|
236 |
msgstr "مقصد انتقال این زمینه را مشخص کنید"
|
237 |
|
238 |
+
#: includes/admin/admin-field-group.php:821
|
239 |
msgid "Move Field"
|
240 |
msgstr "جابجایی زمینه"
|
241 |
|
242 |
+
#: includes/admin/admin-field-groups.php:89
|
243 |
#, php-format
|
244 |
msgid "Active <span class=\"count\">(%s)</span>"
|
245 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
246 |
+
msgstr[0] "فعال <span class=\"count\">(%s)</span>"
|
247 |
+
msgstr[1] "فعال <span class=\"count\">(%s)</span>"
|
248 |
|
249 |
+
#: includes/admin/admin-field-groups.php:156
|
250 |
#, php-format
|
251 |
+
msgid "Field group duplicated."
|
|
|
|
|
|
|
|
|
|
|
252 |
msgid_plural "%s field groups duplicated."
|
253 |
+
msgstr[0] "%s گروه زمینه تکثیر شدند."
|
254 |
+
msgstr[1] "گروه زمینه تکثیر شد."
|
|
|
|
|
|
|
|
|
255 |
|
256 |
+
#: includes/admin/admin-field-groups.php:243
|
257 |
#, php-format
|
258 |
+
msgid "Field group synchronised."
|
259 |
msgid_plural "%s field groups synchronised."
|
260 |
+
msgstr[0] "%s گروه زمینه همگام سازی شد."
|
261 |
+
msgstr[1] "گروه زمینه همگام سازی شد."
|
262 |
|
263 |
+
#: includes/admin/admin-field-groups.php:414
|
264 |
+
#: includes/admin/admin-field-groups.php:577
|
265 |
msgid "Sync available"
|
266 |
msgstr "هماهنگ سازی موجود است"
|
267 |
|
268 |
+
#: includes/admin/admin-field-groups.php:527 includes/forms/form-front.php:38
|
269 |
+
#: pro/fields/class-acf-field-gallery.php:372
|
270 |
msgid "Title"
|
271 |
msgstr "عنوان"
|
272 |
|
273 |
+
#: includes/admin/admin-field-groups.php:528
|
274 |
#: includes/admin/views/field-group-options.php:96
|
275 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
276 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
277 |
+
#: pro/fields/class-acf-field-gallery.php:399
|
278 |
msgid "Description"
|
279 |
msgstr "توضیحات"
|
280 |
|
281 |
+
#: includes/admin/admin-field-groups.php:529
|
282 |
msgid "Status"
|
283 |
msgstr "وضعیت"
|
284 |
|
285 |
#. Description of the plugin/theme
|
286 |
+
#: includes/admin/admin-field-groups.php:626
|
287 |
+
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
288 |
+
msgstr "وردپرس را با زمینههای حرفهای و قدرتمند سفارشی کنید."
|
289 |
|
290 |
+
#: includes/admin/admin-field-groups.php:628 includes/admin/settings-info.php:76
|
|
|
291 |
#: pro/admin/views/html-settings-updates.php:107
|
292 |
msgid "Changelog"
|
293 |
msgstr "تغییرات"
|
294 |
|
295 |
+
#: includes/admin/admin-field-groups.php:633
|
296 |
#, php-format
|
297 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
298 |
msgstr "مشاهده موارد جدید <a href=\"%s\">نسخه %s</a>."
|
299 |
|
300 |
+
#: includes/admin/admin-field-groups.php:636
|
301 |
msgid "Resources"
|
302 |
msgstr "منابع"
|
303 |
|
304 |
+
#: includes/admin/admin-field-groups.php:638
|
305 |
msgid "Website"
|
306 |
msgstr "وب سایت"
|
307 |
|
308 |
+
#: includes/admin/admin-field-groups.php:639
|
309 |
msgid "Documentation"
|
310 |
msgstr "مستندات"
|
311 |
|
312 |
+
#: includes/admin/admin-field-groups.php:640
|
313 |
msgid "Support"
|
314 |
msgstr "پشتیبانی"
|
315 |
|
316 |
+
#: includes/admin/admin-field-groups.php:642
|
317 |
+
#: includes/admin/views/settings-info.php:84
|
318 |
msgid "Pro"
|
319 |
msgstr "پیشرفته"
|
320 |
|
321 |
+
#: includes/admin/admin-field-groups.php:647
|
322 |
#, php-format
|
323 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
324 |
msgstr "با تشکر از شما برای استفاده از <a href=\"%s\">ACF</a>."
|
325 |
|
326 |
+
#: includes/admin/admin-field-groups.php:686
|
327 |
msgid "Duplicate this item"
|
328 |
msgstr "تکثیر این زمینه"
|
329 |
|
330 |
+
#: includes/admin/admin-field-groups.php:686
|
331 |
+
#: includes/admin/admin-field-groups.php:702
|
332 |
#: includes/admin/views/field-group-field.php:46
|
333 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
334 |
msgid "Duplicate"
|
335 |
msgstr "تکثیر"
|
336 |
|
337 |
+
#: includes/admin/admin-field-groups.php:719
|
338 |
+
#: includes/fields/class-acf-field-google-map.php:165
|
339 |
+
#: includes/fields/class-acf-field-relationship.php:593
|
340 |
msgid "Search"
|
341 |
msgstr "جستجو"
|
342 |
|
343 |
+
#: includes/admin/admin-field-groups.php:778
|
344 |
#, php-format
|
345 |
msgid "Select %s"
|
346 |
msgstr "انتخاب %s"
|
347 |
|
348 |
+
#: includes/admin/admin-field-groups.php:786
|
349 |
msgid "Synchronise field group"
|
350 |
msgstr "هماهنگ سازی گروه زمینه"
|
351 |
|
352 |
+
#: includes/admin/admin-field-groups.php:786
|
353 |
+
#: includes/admin/admin-field-groups.php:816
|
354 |
msgid "Sync"
|
355 |
msgstr "هماهنگ"
|
356 |
|
357 |
+
#: includes/admin/admin-field-groups.php:798
|
358 |
msgid "Apply"
|
359 |
msgstr "اعمال"
|
360 |
|
361 |
+
#: includes/admin/admin-field-groups.php:816
|
362 |
msgid "Bulk Actions"
|
363 |
msgstr "اعمال گروهی"
|
364 |
|
365 |
+
#: includes/admin/admin-tools.php:116 includes/admin/views/html-admin-tools.php:21
|
|
|
366 |
msgid "Tools"
|
367 |
msgstr "ابزارها"
|
368 |
|
369 |
+
#: includes/admin/admin-upgrade.php:47 includes/admin/admin-upgrade.php:94
|
370 |
+
#: includes/admin/admin-upgrade.php:156
|
371 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:24
|
372 |
+
#: includes/admin/views/html-admin-page-upgrade.php:26
|
|
|
|
|
|
|
373 |
msgid "Upgrade Database"
|
374 |
msgstr "بهروزرسانی پایگاه داده"
|
375 |
|
376 |
+
#: includes/admin/admin-upgrade.php:180
|
377 |
msgid "Review sites & upgrade"
|
378 |
msgstr "بازبینی و بهروزرسانی سایتها"
|
379 |
|
380 |
+
#: includes/admin/admin.php:54 includes/admin/views/field-group-options.php:110
|
381 |
+
msgid "Custom Fields"
|
382 |
+
msgstr "زمینههای سفارشی"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
|
384 |
#: includes/admin/settings-info.php:50
|
385 |
msgid "Info"
|
408 |
#, php-format
|
409 |
msgid "Exported 1 field group."
|
410 |
msgid_plural "Exported %s field groups."
|
411 |
+
msgstr[0] "%s گروه زمینه برونبری شد."
|
412 |
+
msgstr[1] "۱ گروه زمینه برونبری شد."
|
413 |
|
414 |
#: includes/admin/tools/class-acf-admin-tool-export.php:241
|
415 |
#: includes/admin/tools/class-acf-admin-tool-export.php:269
|
423 |
"import to another ACF installation. Use the generate button to export to PHP "
|
424 |
"code which you can place in your theme."
|
425 |
msgstr ""
|
426 |
+
"گروه زمینههایی که مایل به تهیه خروجی آنها هستید را انتخاب کنید و در ادامه روش "
|
427 |
+
"خروجی را نیز مشخص کنید. از دکمه دانلود برای خروجی فایل .json برای وارد کردن در "
|
428 |
+
"یک سایت دیگر که این افزونه نصب شده است استفاده کنید. از دکمه تولید می توانید "
|
429 |
+
"برای ساخت کد PHP برای قراردادن در قالب خود استفاده کنید."
|
430 |
|
431 |
#: includes/admin/tools/class-acf-admin-tool-export.php:341
|
432 |
msgid "Export File"
|
437 |
"The following code can be used to register a local version of the selected "
|
438 |
"field group(s). A local field group can provide many benefits such as faster "
|
439 |
"load times, version control & dynamic fields/settings. Simply copy and paste "
|
440 |
+
"the following code to your theme's functions.php file or include it within an "
|
441 |
+
"external file."
|
442 |
msgstr ""
|
443 |
+
"این کد می تواند برای ثبت یک نسخه محلی (لوکال)از گروه زمینههای انتخاب شده "
|
444 |
+
"استفاده شود. یک نسخه محلی فواید زیادی دارد، مثلا سرعت لود بالاتر، کنترل نسخه و "
|
445 |
+
"پویاسازی زمینه ها و تنظیماتشان. به راحتی می توانید کد زیر را در فایل function."
|
446 |
+
"php خود کپی کنید و یا از یک فایل دیگر انرا فراخوانی نمایید."
|
447 |
|
448 |
#: includes/admin/tools/class-acf-admin-tool-export.php:446
|
449 |
msgid "Copy to clipboard"
|
457 |
msgid "Import Field Groups"
|
458 |
msgstr "وارد کردن گروه های زمینه"
|
459 |
|
460 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:47
|
461 |
msgid ""
|
462 |
+
"Select the Advanced Custom Fields JSON file you would like to import. When you "
|
463 |
+
"click the import button below, ACF will import the field groups."
|
464 |
msgstr ""
|
465 |
+
"فایل JSON ای که قبلا از این افزونه خروجی گرفته اید را انتخاب کنید تا وارد شود. "
|
466 |
+
"زمانی که دکمه وارد کردن را در زیر کلیک کنید، سیستم اقدام به ساخت گروه های زمینه "
|
467 |
+
"خواهد نمود."
|
468 |
|
469 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:52
|
470 |
#: includes/fields/class-acf-field-file.php:57
|
471 |
msgid "Select File"
|
472 |
msgstr "انتخاب پرونده"
|
473 |
|
474 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:62
|
475 |
msgid "Import File"
|
476 |
msgstr "وارد کردن فایل"
|
477 |
|
478 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:85
|
479 |
#: includes/fields/class-acf-field-file.php:170
|
480 |
msgid "No file selected"
|
481 |
msgstr "هیچ پرونده ای انتخاب نشده"
|
482 |
|
483 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:93
|
484 |
msgid "Error uploading file. Please try again"
|
485 |
msgstr "خطا در آپلود فایل. لطفا مجدد بررسی کنید"
|
486 |
|
487 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:98
|
488 |
msgid "Incorrect file type"
|
489 |
msgstr "نوع فایل صحیح نیست"
|
490 |
|
491 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:107
|
492 |
msgid "Import file empty"
|
493 |
msgstr "فایل وارد شده خالی است"
|
494 |
|
495 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:138
|
496 |
#, php-format
|
497 |
msgid "Imported 1 field group"
|
498 |
msgid_plural "Imported %s field groups"
|
499 |
+
msgstr[0] "%s گروه زمینه درونریزی شد"
|
500 |
+
msgstr[1] "۱ گروه زمینه درونریزی شد"
|
501 |
|
502 |
#: includes/admin/views/field-group-field-conditional-logic.php:25
|
503 |
msgid "Conditional Logic"
|
508 |
msgstr "نمایش این گروه زمینه اگر"
|
509 |
|
510 |
#: includes/admin/views/field-group-field-conditional-logic.php:138
|
511 |
+
#: includes/admin/views/html-location-rule.php:86
|
512 |
msgid "and"
|
513 |
msgstr "و"
|
514 |
|
518 |
msgstr "افزودن گروه قانون"
|
519 |
|
520 |
#: includes/admin/views/field-group-field.php:38
|
521 |
+
#: pro/fields/class-acf-field-flexible-content.php:409
|
522 |
#: pro/fields/class-acf-field-repeater.php:294
|
523 |
msgid "Drag to reorder"
|
524 |
msgstr "گرفتن و کشیدن برای مرتب سازی"
|
532 |
#: includes/fields/class-acf-field-file.php:152
|
533 |
#: includes/fields/class-acf-field-image.php:139
|
534 |
#: includes/fields/class-acf-field-link.php:139
|
535 |
+
#: pro/fields/class-acf-field-gallery.php:359
|
536 |
msgid "Edit"
|
537 |
msgstr "ویرایش"
|
538 |
|
553 |
msgstr "حذف زمینه"
|
554 |
|
555 |
#: includes/admin/views/field-group-field.php:48
|
556 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
557 |
msgid "Delete"
|
558 |
msgstr "حذف"
|
559 |
|
563 |
|
564 |
#: includes/admin/views/field-group-field.php:66
|
565 |
msgid "This is the name which will appear on the EDIT page"
|
566 |
+
msgstr "این نامی است که در صفحه \"ویرایش\" نمایش داده خواهد شد"
|
567 |
|
568 |
#: includes/admin/views/field-group-field.php:75
|
569 |
msgid "Field Name"
|
611 |
|
612 |
#: includes/admin/views/field-group-fields.php:4
|
613 |
msgid "Order"
|
614 |
+
msgstr "ترتیب"
|
615 |
|
616 |
#: includes/admin/views/field-group-fields.php:5
|
617 |
#: includes/fields/class-acf-field-button-group.php:198
|
618 |
#: includes/fields/class-acf-field-checkbox.php:420
|
619 |
#: includes/fields/class-acf-field-radio.php:311
|
620 |
+
#: includes/fields/class-acf-field-select.php:433
|
621 |
+
#: pro/fields/class-acf-field-flexible-content.php:581
|
622 |
msgid "Label"
|
623 |
msgstr "برچسب زمینه"
|
624 |
|
625 |
#: includes/admin/views/field-group-fields.php:6
|
626 |
#: includes/fields/class-acf-field-taxonomy.php:939
|
627 |
+
#: pro/fields/class-acf-field-flexible-content.php:595
|
628 |
msgid "Name"
|
629 |
msgstr "نام"
|
630 |
|
638 |
|
639 |
#: includes/admin/views/field-group-fields.php:14
|
640 |
msgid ""
|
641 |
+
"No fields. Click the <strong>+ Add Field</strong> button to create your first "
|
642 |
+
"field."
|
643 |
msgstr ""
|
644 |
+
"هیچ زمینه ای وجود ندارد. روی دکمه<strong>+ افزودن زمینه</strong> کلیک کنید تا "
|
645 |
+
"اولین زمینه خود را بسازید."
|
646 |
|
647 |
#: includes/admin/views/field-group-fields.php:31
|
648 |
msgid "+ Add Field"
|
654 |
|
655 |
#: includes/admin/views/field-group-locations.php:10
|
656 |
msgid ""
|
657 |
+
"Create a set of rules to determine which edit screens will use these advanced "
|
658 |
+
"custom fields"
|
659 |
msgstr ""
|
660 |
+
"مجموعه ای از قوانین را بسازید تا مشخص کنید در کدام صفحه ویرایش، این زمینههای "
|
661 |
+
"سفارشی سفارشی نمایش داده شوند"
|
662 |
|
663 |
#: includes/admin/views/field-group-options.php:23
|
664 |
msgid "Style"
|
716 |
|
717 |
#: includes/admin/views/field-group-options.php:85
|
718 |
msgid "Order No."
|
719 |
+
msgstr "شماره ترتیب."
|
720 |
|
721 |
#: includes/admin/views/field-group-options.php:86
|
722 |
msgid "Field groups with a lower order will appear first"
|
767 |
msgstr "صفات برگه"
|
768 |
|
769 |
#: includes/admin/views/field-group-options.php:118
|
770 |
+
#: includes/fields/class-acf-field-relationship.php:607
|
771 |
msgid "Featured Image"
|
772 |
msgstr "تصویر شاخص"
|
773 |
|
796 |
"If multiple field groups appear on an edit screen, the first field group's "
|
797 |
"options will be used (the one with the lowest order number)"
|
798 |
msgstr ""
|
799 |
+
"اگر چندین گروه زمینه در یک صفحه ویرایش نمایش داده شود،اولین تنظیمات گروه زمینه "
|
800 |
+
"استفاده خواهد شد. (یکی با کمترین شماره)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
801 |
|
802 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:26
|
803 |
#, php-format
|
804 |
msgid ""
|
805 |
+
"The following sites require a DB upgrade. Check the ones you want to update and "
|
806 |
+
"then click %s."
|
807 |
msgstr "این سایت ها نیاز به به روز رسانی دارند برای انجام %s کلیک کنید."
|
808 |
|
809 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:26
|
810 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:27
|
811 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:92
|
812 |
+
msgid "Upgrade Sites"
|
813 |
+
msgstr "ارتقاء سایت"
|
814 |
+
|
815 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:36
|
816 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:47
|
817 |
msgid "Site"
|
818 |
msgstr "سایت"
|
819 |
|
820 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:74
|
821 |
#, php-format
|
822 |
msgid "Site requires database upgrade from %s to %s"
|
823 |
msgstr "سایت نیاز به بهروزرسانی از %s به %s دارد"
|
824 |
|
825 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:76
|
826 |
msgid "Site is up to date"
|
827 |
msgstr "سایت به روز است"
|
828 |
|
829 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:93
|
830 |
#, php-format
|
831 |
+
msgid "Database Upgrade complete. <a href=\"%s\">Return to network dashboard</a>"
|
832 |
+
msgstr "به روزرسانی دیتابیس انجام شد. <a href=\"%s\">بازگشت به پیشخوان شبکه</a>"
|
833 |
+
|
834 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:113
|
835 |
+
msgid "Please select at least one site to upgrade."
|
836 |
+
msgstr "لطفا حداقل یک سایت برای ارتقا انتخاب کنید."
|
837 |
|
838 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:117
|
839 |
+
#: includes/admin/views/html-notice-upgrade.php:38
|
840 |
msgid ""
|
841 |
+
"It is strongly recommended that you backup your database before proceeding. Are "
|
842 |
+
"you sure you wish to run the updater now?"
|
843 |
msgstr ""
|
844 |
"قویا توصیه می شود از بانک اطلاعاتی خود قبل از هر کاری پشتیبان تهیه کنید. آیا "
|
845 |
"مایلید به روز رسانی انجام شود؟"
|
846 |
|
847 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:144
|
848 |
+
#: includes/admin/views/html-admin-page-upgrade.php:31
|
|
|
|
|
|
|
|
|
849 |
#, php-format
|
850 |
msgid "Upgrading data to version %s"
|
851 |
msgstr "به روز رسانی داده ها به نسحه %s"
|
852 |
|
853 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:167
|
854 |
+
msgid "Upgrade complete."
|
855 |
+
msgstr "ارتقا کامل شد."
|
856 |
+
|
857 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:176
|
858 |
+
#: includes/admin/views/html-admin-page-upgrade-network.php:185
|
859 |
+
#: includes/admin/views/html-admin-page-upgrade.php:78
|
860 |
+
#: includes/admin/views/html-admin-page-upgrade.php:87
|
861 |
+
msgid "Upgrade failed."
|
862 |
+
msgstr "ارتقا با خطا مواجه شد."
|
863 |
+
|
864 |
+
#: includes/admin/views/html-admin-page-upgrade.php:30
|
865 |
+
msgid "Reading upgrade tasks..."
|
866 |
+
msgstr "در حال خواندن مراحل به روزرسانی..."
|
867 |
+
|
868 |
+
#: includes/admin/views/html-admin-page-upgrade.php:33
|
869 |
+
#, php-format
|
870 |
+
msgid "Database upgrade complete. <a href=\"%s\">See what's new</a>"
|
871 |
+
msgstr "ارتقای پایگاه داده کامل شد. <a href=\"%s\"> تغییرات جدید را ببینید</a>"
|
872 |
+
|
873 |
+
#: includes/admin/views/html-admin-page-upgrade.php:116
|
874 |
+
#: includes/ajax/class-acf-ajax-upgrade.php:33
|
875 |
+
msgid "No updates available."
|
876 |
+
msgstr "بهروزرسانی موجود نیست."
|
877 |
+
|
878 |
+
#: includes/admin/views/html-admin-tools.php:21
|
879 |
+
msgid "Back to all tools"
|
880 |
+
msgstr "بازگشت به همه ابزارها"
|
881 |
+
|
882 |
+
#: includes/admin/views/html-location-group.php:3
|
883 |
+
msgid "Show this field group if"
|
884 |
+
msgstr "نمایش این گروه زمینه اگر"
|
885 |
+
|
886 |
+
#: includes/admin/views/html-notice-upgrade.php:8
|
887 |
#: pro/fields/class-acf-field-repeater.php:25
|
888 |
msgid "Repeater"
|
889 |
msgstr "زمینه تکرار کننده"
|
890 |
|
891 |
+
#: includes/admin/views/html-notice-upgrade.php:9
|
892 |
#: pro/fields/class-acf-field-flexible-content.php:25
|
893 |
msgid "Flexible Content"
|
894 |
msgstr "محتوای انعطاف پذیر"
|
895 |
|
896 |
+
#: includes/admin/views/html-notice-upgrade.php:10
|
897 |
#: pro/fields/class-acf-field-gallery.php:25
|
898 |
msgid "Gallery"
|
899 |
msgstr "گالری"
|
900 |
|
901 |
+
#: includes/admin/views/html-notice-upgrade.php:11
|
902 |
#: pro/locations/class-acf-location-options-page.php:26
|
903 |
msgid "Options Page"
|
904 |
msgstr "برگه تنظیمات"
|
905 |
|
906 |
+
#: includes/admin/views/html-notice-upgrade.php:21
|
907 |
msgid "Database Upgrade Required"
|
908 |
msgstr "به روزرسانی دیتابیس لازم است"
|
909 |
|
910 |
+
#: includes/admin/views/html-notice-upgrade.php:22
|
911 |
#, php-format
|
912 |
msgid "Thank you for updating to %s v%s!"
|
913 |
msgstr "از شما برای بروزرسانی به آخرین نسخه %s v%s ممنون هستیم!"
|
914 |
|
915 |
+
#: includes/admin/views/html-notice-upgrade.php:22
|
916 |
msgid ""
|
917 |
+
"This version contains improvements to your database and requires an upgrade."
|
918 |
+
msgstr "این نسخه شامل بهبودهایی در پایگاه داده است و نیاز به ارتقا دارد."
|
|
|
|
|
|
|
919 |
|
920 |
+
#: includes/admin/views/html-notice-upgrade.php:24
|
921 |
#, php-format
|
922 |
msgid ""
|
923 |
+
"Please also check all premium add-ons (%s) are updated to the latest version."
|
|
|
924 |
msgstr ""
|
925 |
+
"همچنین لطفا همه افزونههای پولی (%s) را بررسی کنید که به نسخه آخر بروز شده باشند."
|
|
|
|
|
|
|
|
|
|
|
926 |
|
927 |
+
#: includes/admin/views/settings-addons.php:3
|
928 |
+
msgid "Add-ons"
|
929 |
+
msgstr "افزودنی ها"
|
|
|
930 |
|
931 |
#: includes/admin/views/settings-addons.php:17
|
932 |
msgid "Download & Install"
|
938 |
|
939 |
#: includes/admin/views/settings-info.php:3
|
940 |
msgid "Welcome to Advanced Custom Fields"
|
941 |
+
msgstr "به افزونه زمینههای سفارشی پیشرفته خوش آمدید"
|
942 |
|
943 |
#: includes/admin/views/settings-info.php:4
|
944 |
#, php-format
|
945 |
msgid ""
|
946 |
+
"Thank you for updating! ACF %s is bigger and better than ever before. We hope "
|
947 |
+
"you like it."
|
948 |
msgstr ""
|
949 |
"از اینکه به روزرسانی کردید متشکریم! افزونه زمینه دلخواه پیشرفته %s بزرگتر و "
|
950 |
"بهتر از قبل شده است. امیدواریم لذت ببرید."
|
951 |
|
952 |
+
#: includes/admin/views/settings-info.php:15
|
953 |
+
msgid "A Smoother Experience"
|
954 |
+
msgstr "یک تجربه راحتتر"
|
955 |
|
956 |
+
#: includes/admin/views/settings-info.php:19
|
957 |
msgid "Improved Usability"
|
958 |
msgstr "کاربری بهینه شده"
|
959 |
|
960 |
+
#: includes/admin/views/settings-info.php:20
|
961 |
msgid ""
|
962 |
"Including the popular Select2 library has improved both usability and speed "
|
963 |
+
"across a number of field types including post object, page link, taxonomy and "
|
964 |
+
"select."
|
965 |
msgstr ""
|
966 |
"استفاده از کتابخانه محبوب Select2 باعث سرعت در عملکرد و کاربری بهتر در انواع "
|
967 |
+
"زمینه هاشامل آبجکت نوشته، پیوند(لینک) صفحه ، طبقه بندی و زمینههای "
|
968 |
+
"انتخاب(Select) شده است."
|
969 |
|
970 |
+
#: includes/admin/views/settings-info.php:24
|
971 |
msgid "Improved Design"
|
972 |
msgstr "طراحی بهینه شده"
|
973 |
|
974 |
+
#: includes/admin/views/settings-info.php:25
|
975 |
msgid ""
|
976 |
+
"Many fields have undergone a visual refresh to make ACF look better than ever! "
|
977 |
+
"Noticeable changes are seen on the gallery, relationship and oEmbed (new) "
|
978 |
+
"fields!"
|
979 |
msgstr ""
|
980 |
"بسیاری از زمینه ها از نظر ظاهری باز طراحی شدند تا این افزونه از قبل بهتر شده "
|
981 |
+
"باشد. تغییرات چشم گیر در گالری و ارتباط و زمینه جدید به نام oEmbed صورت گرفته "
|
982 |
+
"است!"
|
983 |
|
984 |
+
#: includes/admin/views/settings-info.php:29
|
985 |
msgid "Improved Data"
|
986 |
msgstr "داده ها بهینه شده اند"
|
987 |
|
988 |
+
#: includes/admin/views/settings-info.php:30
|
989 |
msgid ""
|
990 |
+
"Redesigning the data architecture has allowed sub fields to live independently "
|
991 |
+
"from their parents. This allows you to drag and drop fields in and out of "
|
992 |
+
"parent fields!"
|
993 |
msgstr ""
|
994 |
+
"بازطراحی معماری داده ها این اجازه را به زمینههای زیرمجموعه داده است که بدون "
|
995 |
+
"زمینههای والد باقی بمانند. این به شما کمک می کند که زمینه ها را از یک فیلد اصلی "
|
996 |
+
"خارج یا به آن وارد نمایید !"
|
997 |
|
998 |
+
#: includes/admin/views/settings-info.php:38
|
999 |
msgid "Goodbye Add-ons. Hello PRO"
|
1000 |
msgstr "خداحافظ افزودنی ها و سلام به نسخه حرفه ای"
|
1001 |
|
1002 |
+
#: includes/admin/views/settings-info.php:41
|
1003 |
msgid "Introducing ACF PRO"
|
1004 |
msgstr "معرفی نسخه حرفه ای"
|
1005 |
|
1006 |
+
#: includes/admin/views/settings-info.php:42
|
1007 |
msgid ""
|
1008 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
1009 |
+
msgstr "ما در حال تغییر راه عملکردهای پولی افزونه به شیوه ای هیجان انگیز هستیم!"
|
|
|
1010 |
|
1011 |
+
#: includes/admin/views/settings-info.php:43
|
1012 |
#, php-format
|
1013 |
msgid ""
|
1014 |
+
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro version "
|
1015 |
+
"of ACF</a>. With both personal and developer licenses available, premium "
|
1016 |
+
"functionality is more affordable and accessible than ever before!"
|
1017 |
msgstr ""
|
1018 |
+
"هر چهار افزدونی پولی یکی شده و تحت عنوان <a href=\"%s\">نسخه حرفه ای (Pro) </a> "
|
1019 |
+
"از افزونه زمینههای سفارشی معرفی شده اند. دو نسخه شخصی و توسعه دهنده موجود است "
|
1020 |
+
"که در هر دو این امکانات بهتر و دسترس تر از قبل موجود است!"
|
1021 |
|
1022 |
+
#: includes/admin/views/settings-info.php:47
|
1023 |
msgid "Powerful Features"
|
1024 |
msgstr "امکانات قدرتمند"
|
1025 |
|
1026 |
+
#: includes/admin/views/settings-info.php:48
|
1027 |
msgid ""
|
1028 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
1029 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
1032 |
"نسخه حرفه دارای امکانات قدرتمندی نظیر داده های تکرارپذیر، محتوای منعطف، یک "
|
1033 |
"زمینه گالری زیبا و امکان ساخت صفحات تنظیمات می باشد !"
|
1034 |
|
1035 |
+
#: includes/admin/views/settings-info.php:49
|
1036 |
#, php-format
|
1037 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
1038 |
msgstr "اطلاعات بیشتر در <a href=\"%s\">امکانات نسخه حرفه ای</a>."
|
1039 |
|
1040 |
+
#: includes/admin/views/settings-info.php:53
|
1041 |
msgid "Easy Upgrading"
|
1042 |
msgstr "به روزرسانی آسان"
|
1043 |
|
1044 |
+
#: includes/admin/views/settings-info.php:54
|
|
|
1045 |
msgid ""
|
1046 |
+
"Upgrading to ACF PRO is easy. Simply purchase a license online and download the "
|
1047 |
+
"plugin!"
|
1048 |
msgstr ""
|
1049 |
+
"ارتقا به نسخه حرفهای آسان است. به سادگی لایسنس را بخرید و افزونه را دانلود کنید!"
|
|
|
1050 |
|
1051 |
+
#: includes/admin/views/settings-info.php:55
|
1052 |
#, php-format
|
1053 |
msgid ""
|
1054 |
+
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, but "
|
1055 |
+
"if you do have one, please contact our support team via the <a href=\"%s\">help "
|
1056 |
+
"desk</a>."
|
1057 |
msgstr ""
|
1058 |
+
"همچنین در <a href=\"%s\">اینجا</a> راهنمایی برای ارتقا وجود دارد که به سوالات "
|
1059 |
+
"شما پاسخ میدهد. لطفا از طریق <a href=\"%s\">میز راهنما</a> با تیم پشتیبانی تماس "
|
1060 |
+
"حاصل کنید."
|
1061 |
|
1062 |
+
#: includes/admin/views/settings-info.php:64
|
1063 |
+
msgid "New Features"
|
1064 |
+
msgstr "ویژگیهای جدید"
|
1065 |
|
1066 |
+
#: includes/admin/views/settings-info.php:69
|
1067 |
+
msgid "Link Field"
|
1068 |
+
msgstr "زمینه پیوند (Link)"
|
1069 |
|
1070 |
+
#: includes/admin/views/settings-info.php:70
|
1071 |
+
msgid ""
|
1072 |
+
"The Link field provides a simple way to select or define a link (url, title, "
|
1073 |
+
"target)."
|
1074 |
msgstr ""
|
1075 |
+
"با استفاده از زمینه پیوند میتوانید به سادگی یک روش برای انتخاب یا تعریف یک "
|
1076 |
+
"پیوند (url-title-target) ایجاد کنید."
|
1077 |
|
1078 |
+
#: includes/admin/views/settings-info.php:74
|
1079 |
+
msgid "Group Field"
|
1080 |
+
msgstr "گروه زمینه"
|
1081 |
|
1082 |
+
#: includes/admin/views/settings-info.php:75
|
1083 |
+
msgid "The Group field provides a simple way to create a group of fields."
|
1084 |
+
msgstr "با استفاده از گروه زمینه میتوانید گروهی از زمینهها را ایجاد کنید."
|
1085 |
|
1086 |
+
#: includes/admin/views/settings-info.php:79
|
1087 |
+
msgid "oEmbed Field"
|
1088 |
+
msgstr "زمینه oEmbed"
|
1089 |
|
1090 |
+
#: includes/admin/views/settings-info.php:80
|
1091 |
+
msgid ""
|
1092 |
+
"The oEmbed field allows an easy way to embed videos, images, tweets, audio, and "
|
1093 |
+
"other content."
|
1094 |
+
msgstr ""
|
1095 |
+
"با استفاده از زمینه oEmbed میتوانید به سادگی ویدیو، تصویر، توییت، صدا و "
|
1096 |
+
"محتواهای دیگر را جاسازی کنید."
|
1097 |
|
1098 |
+
#: includes/admin/views/settings-info.php:84
|
1099 |
+
msgid "Clone Field"
|
1100 |
+
msgstr "فیلد کپی"
|
1101 |
+
|
1102 |
+
#: includes/admin/views/settings-info.php:85
|
1103 |
+
msgid "The clone field allows you to select and display existing fields."
|
1104 |
+
msgstr ""
|
1105 |
+
"با استفاده از فیلد کپی میتوانید فیلدهای موجود را انتخاب کنید یا نمایش دهید."
|
1106 |
|
1107 |
#: includes/admin/views/settings-info.php:89
|
1108 |
+
msgid "More AJAX"
|
1109 |
+
msgstr "ایجکس بیشتر"
|
|
|
|
|
1110 |
|
1111 |
+
#: includes/admin/views/settings-info.php:90
|
1112 |
+
msgid "More fields use AJAX powered search to speed up page loading."
|
1113 |
+
msgstr ""
|
1114 |
+
"بیشتر زمینهها از قدرت AJAX برای جستجو استفاده میکند تا سرعت بارگذاری را افزایش "
|
1115 |
+
"دهند."
|
1116 |
|
1117 |
#: includes/admin/views/settings-info.php:94
|
1118 |
+
msgid "Local JSON"
|
1119 |
+
msgstr "JSON های لوکال"
|
1120 |
|
1121 |
+
#: includes/admin/views/settings-info.php:95
|
1122 |
+
msgid ""
|
1123 |
+
"New auto export to JSON feature improves speed and allows for syncronisation."
|
1124 |
+
msgstr ""
|
1125 |
+
"ویژگی جدید برونبری خودکار به فایل JSON سرعت را بهبود داده و همگام سازی را فراهم "
|
1126 |
+
"میکند."
|
1127 |
|
1128 |
#: includes/admin/views/settings-info.php:99
|
1129 |
+
msgid "Easy Import / Export"
|
1130 |
+
msgstr "درونریزی یا برونبری آسان"
|
1131 |
+
|
1132 |
+
#: includes/admin/views/settings-info.php:100
|
1133 |
+
msgid "Both import and export can easily be done through a new tools page."
|
1134 |
+
msgstr "درون ریزی یا برون بری به سادگی از طریق یک ابزار جدید انجام میشود."
|
1135 |
+
|
1136 |
+
#: includes/admin/views/settings-info.php:104
|
1137 |
+
msgid "New Form Locations"
|
1138 |
+
msgstr "مکان جدید فرمها"
|
1139 |
+
|
1140 |
+
#: includes/admin/views/settings-info.php:105
|
1141 |
+
msgid ""
|
1142 |
+
"Fields can now be mapped to menus, menu items, comments, widgets and all user "
|
1143 |
+
"forms!"
|
1144 |
msgstr ""
|
1145 |
+
"زمینهها اکنون میتوانند به فهرستها، موارد فهرست، دیدگاهها، ابزارکها و تمامی "
|
1146 |
+
"فرمهای مرتبط با کاربر ارجاع داده شوند!"
|
1147 |
|
1148 |
+
#: includes/admin/views/settings-info.php:109
|
1149 |
+
msgid "More Customization"
|
1150 |
+
msgstr "سفارشی سازی بیشتر"
|
1151 |
|
1152 |
#: includes/admin/views/settings-info.php:110
|
1153 |
+
msgid ""
|
1154 |
+
"New PHP (and JS) actions and filters have been added to allow for more "
|
1155 |
+
"customization."
|
1156 |
+
msgstr "اکشنها و فیلترهای جدید PHP (و JS) برای سفارشی سازی بیشتر اضافه شدهاند."
|
1157 |
|
1158 |
+
#: includes/admin/views/settings-info.php:114
|
1159 |
+
msgid "Fresh UI"
|
1160 |
+
msgstr "رابط کاربری تازه"
|
1161 |
|
1162 |
#: includes/admin/views/settings-info.php:115
|
1163 |
+
msgid ""
|
1164 |
+
"The entire plugin has had a design refresh including new field types, settings "
|
1165 |
+
"and design!"
|
1166 |
+
msgstr "تمامی افزونه با یک رابط کاربری جدید بروز شده است!"
|
1167 |
+
|
1168 |
+
#: includes/admin/views/settings-info.php:119
|
1169 |
msgid "New Settings"
|
1170 |
msgstr "تنظیمات جدید"
|
1171 |
|
1172 |
+
#: includes/admin/views/settings-info.php:120
|
1173 |
msgid ""
|
1174 |
+
"Field group settings have been added for Active, Label Placement, Instructions "
|
1175 |
+
"Placement and Description."
|
1176 |
+
msgstr ""
|
1177 |
+
"تنظیمات گروه زمینه برای مکان برچسب، راهنمای قرارگیری و توضیحات اضافه شده است."
|
1178 |
|
1179 |
+
#: includes/admin/views/settings-info.php:124
|
1180 |
msgid "Better Front End Forms"
|
1181 |
msgstr "فرم های سمت کاربر بهتر شده اند"
|
1182 |
|
1183 |
+
#: includes/admin/views/settings-info.php:125
|
1184 |
+
msgid ""
|
1185 |
+
"acf_form() can now create a new post on submission with lots of new settings."
|
1186 |
+
msgstr ""
|
1187 |
+
"تابع acf_form() اکنون میتوانید نوشتههای جدید را همراه با تنظیمات بیشتر ثبت کند."
|
1188 |
|
1189 |
+
#: includes/admin/views/settings-info.php:129
|
1190 |
msgid "Better Validation"
|
1191 |
msgstr "خطایابی بهتر"
|
1192 |
|
1193 |
+
#: includes/admin/views/settings-info.php:130
|
1194 |
+
msgid "Form validation is now done via PHP + AJAX in favour of only JS."
|
1195 |
+
msgstr "اعتبارسنجی فرمها اکنون از طریق PHP + AJAX صورت میگیرد."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1196 |
|
1197 |
+
#: includes/admin/views/settings-info.php:134
|
1198 |
msgid "Moving Fields"
|
1199 |
msgstr "جابجایی زمینه ها"
|
1200 |
|
1201 |
+
#: includes/admin/views/settings-info.php:135
|
1202 |
msgid ""
|
1203 |
"New field group functionality allows you to move a field between groups & "
|
1204 |
+
"parents."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1205 |
msgstr ""
|
1206 |
+
"عملکرد جدید گروه زمینه اکنون اجازه میدهد تا یک زمینه را بین گروهها و والدهای "
|
1207 |
+
"مختلف جابجا کنید."
|
1208 |
|
1209 |
+
#: includes/admin/views/settings-info.php:146
|
1210 |
#, php-format
|
1211 |
msgid "We think you'll love the changes in %s."
|
1212 |
+
msgstr "فکر می کنیم شما تغییرات در %s را دوست خواهید داشت."
|
1213 |
|
1214 |
+
#: includes/api/api-helpers.php:1003
|
1215 |
msgid "Thumbnail"
|
1216 |
msgstr "تصویر بندانگشتی"
|
1217 |
|
1218 |
+
#: includes/api/api-helpers.php:1004
|
1219 |
msgid "Medium"
|
1220 |
msgstr "متوسط"
|
1221 |
|
1222 |
+
#: includes/api/api-helpers.php:1005
|
1223 |
msgid "Large"
|
1224 |
msgstr "بزرگ"
|
1225 |
|
1226 |
+
#: includes/api/api-helpers.php:1054
|
1227 |
msgid "Full Size"
|
1228 |
msgstr "اندازه کامل"
|
1229 |
|
1230 |
+
#: includes/api/api-helpers.php:1823 includes/api/api-term.php:147
|
1231 |
#: pro/fields/class-acf-field-clone.php:996
|
1232 |
msgid "(no title)"
|
1233 |
msgstr "(بدون عنوان)"
|
1234 |
|
1235 |
+
#: includes/api/api-helpers.php:3903
|
1236 |
#, php-format
|
1237 |
msgid "Image width must be at least %dpx."
|
1238 |
msgstr "عرض تصویر باید حداقل %d پیکسل باشد."
|
1239 |
|
1240 |
+
#: includes/api/api-helpers.php:3908
|
1241 |
#, php-format
|
1242 |
msgid "Image width must not exceed %dpx."
|
1243 |
msgstr "عرض تصویر نباید از %d پیکسل بیشتر باشد."
|
1244 |
|
1245 |
+
#: includes/api/api-helpers.php:3924
|
1246 |
#, php-format
|
1247 |
msgid "Image height must be at least %dpx."
|
1248 |
msgstr "ارتفاع فایل باید حداقل %d پیکسل باشد."
|
1249 |
|
1250 |
+
#: includes/api/api-helpers.php:3929
|
1251 |
#, php-format
|
1252 |
msgid "Image height must not exceed %dpx."
|
1253 |
msgstr "ارتفاع تصویر نباید از %d پیکسل بیشتر باشد."
|
1254 |
|
1255 |
+
#: includes/api/api-helpers.php:3947
|
1256 |
#, php-format
|
1257 |
msgid "File size must be at least %s."
|
1258 |
msgstr "حجم فایل باید حداقل %s باشد."
|
1259 |
|
1260 |
+
#: includes/api/api-helpers.php:3952
|
1261 |
#, php-format
|
1262 |
msgid "File size must must not exceed %s."
|
1263 |
msgstr "حجم فایل ها نباید از %s بیشتر باشد."
|
1264 |
|
1265 |
+
#: includes/api/api-helpers.php:3986
|
1266 |
#, php-format
|
1267 |
msgid "File type must be %s."
|
1268 |
+
msgstr "نوع فایل باید %s باشد."
|
1269 |
|
1270 |
+
#: includes/assets.php:168
|
1271 |
msgid "The changes you made will be lost if you navigate away from this page"
|
1272 |
msgstr "اگر از صفحه جاری خارج شوید ، تغییرات شما ذخیره نخواهند شد"
|
1273 |
|
1274 |
+
#: includes/assets.php:171 includes/fields/class-acf-field-select.php:259
|
1275 |
msgctxt "verb"
|
1276 |
msgid "Select"
|
1277 |
msgstr "انتخاب"
|
1278 |
|
1279 |
+
#: includes/assets.php:172
|
1280 |
msgctxt "verb"
|
1281 |
msgid "Edit"
|
1282 |
msgstr "ویرایش"
|
1283 |
|
1284 |
+
#: includes/assets.php:173
|
1285 |
msgctxt "verb"
|
1286 |
msgid "Update"
|
1287 |
msgstr "بروزرسانی"
|
1288 |
|
1289 |
+
#: includes/assets.php:174
|
1290 |
msgid "Uploaded to this post"
|
1291 |
msgstr "بارگذاری شده در این نوشته"
|
1292 |
|
1293 |
+
#: includes/assets.php:175
|
1294 |
msgid "Expand Details"
|
1295 |
msgstr "نمایش جزئیات"
|
1296 |
|
1297 |
+
#: includes/assets.php:176
|
1298 |
msgid "Collapse Details"
|
1299 |
msgstr "عدم نمایش جزئیات"
|
1300 |
|
1301 |
+
#: includes/assets.php:177
|
1302 |
msgid "Restricted"
|
1303 |
msgstr "ممنوع"
|
1304 |
|
1305 |
+
#: includes/assets.php:178 includes/fields/class-acf-field-image.php:67
|
1306 |
msgid "All images"
|
1307 |
msgstr "تمام تصاویر"
|
1308 |
|
1309 |
+
#: includes/assets.php:181
|
1310 |
msgid "Validation successful"
|
1311 |
msgstr "اعتبار سنجی موفق بود"
|
1312 |
|
1313 |
+
#: includes/assets.php:182 includes/validation.php:285 includes/validation.php:296
|
|
|
1314 |
msgid "Validation failed"
|
1315 |
msgstr "مشکل در اعتبار سنجی"
|
1316 |
|
1317 |
+
#: includes/assets.php:183
|
1318 |
msgid "1 field requires attention"
|
1319 |
msgstr "یکی از گزینه ها نیاز به بررسی دارد"
|
1320 |
|
1321 |
+
#: includes/assets.php:184
|
1322 |
#, php-format
|
1323 |
msgid "%d fields require attention"
|
1324 |
msgstr "%d گزینه نیاز به بررسی دارد"
|
1325 |
|
1326 |
+
#: includes/assets.php:187
|
1327 |
msgid "Are you sure?"
|
1328 |
msgstr "اطمینان دارید؟"
|
1329 |
|
1330 |
+
#: includes/assets.php:188 includes/fields/class-acf-field-true_false.php:79
|
1331 |
#: includes/fields/class-acf-field-true_false.php:159
|
1332 |
#: pro/admin/views/html-settings-updates.php:89
|
1333 |
msgid "Yes"
|
1334 |
msgstr "بله"
|
1335 |
|
1336 |
+
#: includes/assets.php:189 includes/fields/class-acf-field-true_false.php:80
|
1337 |
#: includes/fields/class-acf-field-true_false.php:174
|
1338 |
#: pro/admin/views/html-settings-updates.php:99
|
1339 |
msgid "No"
|
1340 |
msgstr "خیر"
|
1341 |
|
1342 |
+
#: includes/assets.php:190 includes/fields/class-acf-field-file.php:154
|
1343 |
#: includes/fields/class-acf-field-image.php:141
|
1344 |
#: includes/fields/class-acf-field-link.php:140
|
1345 |
+
#: pro/fields/class-acf-field-gallery.php:360
|
1346 |
+
#: pro/fields/class-acf-field-gallery.php:549
|
1347 |
msgid "Remove"
|
1348 |
msgstr "حذف"
|
1349 |
|
1350 |
+
#: includes/assets.php:191
|
1351 |
msgid "Cancel"
|
1352 |
msgstr "لغو"
|
1353 |
|
1354 |
+
#: includes/assets.php:194
|
1355 |
msgid "Has any value"
|
1356 |
msgstr "هر نوع مقدار"
|
1357 |
|
1358 |
+
#: includes/assets.php:195
|
1359 |
msgid "Has no value"
|
1360 |
msgstr "بدون مقدار"
|
1361 |
|
1362 |
+
#: includes/assets.php:196
|
1363 |
msgid "Value is equal to"
|
1364 |
msgstr "مقدار برابر است با"
|
1365 |
|
1366 |
+
#: includes/assets.php:197
|
1367 |
msgid "Value is not equal to"
|
1368 |
msgstr "مقدار برابر نیست با"
|
1369 |
|
1370 |
+
#: includes/assets.php:198
|
1371 |
msgid "Value matches pattern"
|
1372 |
msgstr "مقدار الگوی"
|
1373 |
|
1374 |
+
#: includes/assets.php:199
|
1375 |
msgid "Value contains"
|
1376 |
msgstr "شامل می شود"
|
1377 |
|
1378 |
+
#: includes/assets.php:200
|
1379 |
msgid "Value is greater than"
|
1380 |
msgstr "مقدار بیشتر از"
|
1381 |
|
1382 |
+
#: includes/assets.php:201
|
1383 |
msgid "Value is less than"
|
1384 |
msgstr "مقدار کمتر از"
|
1385 |
|
1386 |
+
#: includes/assets.php:202
|
1387 |
msgid "Selection is greater than"
|
1388 |
msgstr "انتخاب بیشتر از"
|
1389 |
|
1390 |
+
#: includes/assets.php:203
|
1391 |
msgid "Selection is less than"
|
1392 |
msgstr "انتخاب کمتر از"
|
1393 |
|
1394 |
+
#: includes/assets.php:206 includes/forms/form-comment.php:166
|
1395 |
+
#: pro/admin/admin-options-page.php:325
|
1396 |
+
msgid "Edit field group"
|
1397 |
+
msgstr "ویرایش گروه زمینه"
|
1398 |
+
|
1399 |
#: includes/fields.php:308
|
1400 |
msgid "Field type does not exist"
|
1401 |
msgstr "نوع زمینه وجود ندارد"
|
1429 |
#: includes/fields/class-acf-field-group.php:474
|
1430 |
#: includes/fields/class-acf-field-radio.php:290
|
1431 |
#: pro/fields/class-acf-field-clone.php:843
|
1432 |
+
#: pro/fields/class-acf-field-flexible-content.php:552
|
1433 |
+
#: pro/fields/class-acf-field-flexible-content.php:601
|
1434 |
#: pro/fields/class-acf-field-repeater.php:443
|
1435 |
msgid "Layout"
|
1436 |
msgstr "چیدمان"
|
1462 |
|
1463 |
#: includes/fields/class-acf-field-accordion.php:120
|
1464 |
msgid ""
|
1465 |
+
"Define an endpoint for the previous accordion to stop. This accordion will not "
|
1466 |
+
"be visible."
|
1467 |
msgstr ""
|
1468 |
+
"یک نقطه پایانی برای توقف آکاردئون قبلی تعریف کنید. این آکاردئون مخفی خواهد بود."
|
|
|
1469 |
|
1470 |
#: includes/fields/class-acf-field-button-group.php:24
|
1471 |
msgid "Button Group"
|
1472 |
+
msgstr "گروه دکمهها"
|
1473 |
|
1474 |
#: includes/fields/class-acf-field-button-group.php:149
|
1475 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1476 |
#: includes/fields/class-acf-field-radio.php:235
|
1477 |
+
#: includes/fields/class-acf-field-select.php:364
|
1478 |
msgid "Choices"
|
1479 |
msgstr "انتخاب ها"
|
1480 |
|
1481 |
#: includes/fields/class-acf-field-button-group.php:150
|
1482 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1483 |
#: includes/fields/class-acf-field-radio.php:236
|
1484 |
+
#: includes/fields/class-acf-field-select.php:365
|
1485 |
msgid "Enter each choice on a new line."
|
1486 |
msgstr "هر انتخاب را در یک خط جدید وارد کنید."
|
1487 |
|
1488 |
#: includes/fields/class-acf-field-button-group.php:150
|
1489 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1490 |
#: includes/fields/class-acf-field-radio.php:236
|
1491 |
+
#: includes/fields/class-acf-field-select.php:365
|
1492 |
msgid "For more control, you may specify both a value and label like this:"
|
1493 |
msgstr "برای کنترل بیشتر، ممکن است هر دو مقدار و برچسب را مانند زیر مشخص کنید:"
|
1494 |
|
1495 |
#: includes/fields/class-acf-field-button-group.php:150
|
1496 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1497 |
#: includes/fields/class-acf-field-radio.php:236
|
1498 |
+
#: includes/fields/class-acf-field-select.php:365
|
1499 |
msgid "red : Red"
|
1500 |
msgstr "red : قرمز"
|
1501 |
|
1502 |
#: includes/fields/class-acf-field-button-group.php:158
|
1503 |
#: includes/fields/class-acf-field-page_link.php:513
|
1504 |
+
#: includes/fields/class-acf-field-post_object.php:411
|
1505 |
#: includes/fields/class-acf-field-radio.php:244
|
1506 |
+
#: includes/fields/class-acf-field-select.php:382
|
1507 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1508 |
+
#: includes/fields/class-acf-field-user.php:393
|
1509 |
msgid "Allow Null?"
|
1510 |
msgstr "آیا Null مجاز است؟"
|
1511 |
|
1515 |
#: includes/fields/class-acf-field-email.php:118
|
1516 |
#: includes/fields/class-acf-field-number.php:127
|
1517 |
#: includes/fields/class-acf-field-radio.php:281
|
1518 |
+
#: includes/fields/class-acf-field-range.php:149
|
1519 |
+
#: includes/fields/class-acf-field-select.php:373
|
1520 |
#: includes/fields/class-acf-field-text.php:119
|
1521 |
#: includes/fields/class-acf-field-textarea.php:102
|
1522 |
#: includes/fields/class-acf-field-true_false.php:135
|
1523 |
#: includes/fields/class-acf-field-url.php:100
|
1524 |
+
#: includes/fields/class-acf-field-wysiwyg.php:381
|
1525 |
msgid "Default Value"
|
1526 |
msgstr "مقدار پیش فرض"
|
1527 |
|
1529 |
#: includes/fields/class-acf-field-email.php:119
|
1530 |
#: includes/fields/class-acf-field-number.php:128
|
1531 |
#: includes/fields/class-acf-field-radio.php:282
|
1532 |
+
#: includes/fields/class-acf-field-range.php:150
|
1533 |
#: includes/fields/class-acf-field-text.php:120
|
1534 |
#: includes/fields/class-acf-field-textarea.php:103
|
1535 |
#: includes/fields/class-acf-field-url.php:101
|
1536 |
+
#: includes/fields/class-acf-field-wysiwyg.php:382
|
1537 |
msgid "Appears when creating a new post"
|
1538 |
msgstr "هنگام ایجاد یک نوشته جدید نمایش داده می شود"
|
1539 |
|
1571 |
#: includes/fields/class-acf-field-button-group.php:197
|
1572 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1573 |
#: includes/fields/class-acf-field-radio.php:310
|
1574 |
+
#: includes/fields/class-acf-field-select.php:432
|
1575 |
msgid "Value"
|
1576 |
msgstr "مقدار"
|
1577 |
|
1578 |
#: includes/fields/class-acf-field-button-group.php:199
|
1579 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1580 |
#: includes/fields/class-acf-field-radio.php:312
|
1581 |
+
#: includes/fields/class-acf-field-select.php:434
|
1582 |
msgid "Both (Array)"
|
1583 |
msgstr "هر دو (آرایه)"
|
1584 |
|
1585 |
#: includes/fields/class-acf-field-checkbox.php:25
|
1586 |
#: includes/fields/class-acf-field-taxonomy.php:771
|
1587 |
msgid "Checkbox"
|
1588 |
+
msgstr "جعبه انتخاب (Checkbox)"
|
1589 |
|
1590 |
#: includes/fields/class-acf-field-checkbox.php:154
|
1591 |
msgid "Toggle All"
|
1612 |
msgstr "ذخیره مقادیر دلخواه در انتخاب های زمینه"
|
1613 |
|
1614 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1615 |
+
#: includes/fields/class-acf-field-select.php:374
|
1616 |
msgid "Enter each default value on a new line"
|
1617 |
msgstr "هر مقدار پیش فرض را در یک خط جدید وارد کنید"
|
1618 |
|
1673 |
msgid "Wk"
|
1674 |
msgstr "هفته"
|
1675 |
|
1676 |
+
#: includes/fields/class-acf-field-date_picker.php:178
|
1677 |
#: includes/fields/class-acf-field-date_time_picker.php:183
|
1678 |
#: includes/fields/class-acf-field-time_picker.php:109
|
1679 |
msgid "Display Format"
|
1680 |
msgstr "فرمت نمایش"
|
1681 |
|
1682 |
+
#: includes/fields/class-acf-field-date_picker.php:179
|
1683 |
#: includes/fields/class-acf-field-date_time_picker.php:184
|
1684 |
#: includes/fields/class-acf-field-time_picker.php:110
|
1685 |
msgid "The format displayed when editing a post"
|
1686 |
msgstr "قالب در زمان نمایش نوشته دیده خواهد شد"
|
1687 |
|
1688 |
+
#: includes/fields/class-acf-field-date_picker.php:187
|
1689 |
+
#: includes/fields/class-acf-field-date_picker.php:218
|
1690 |
#: includes/fields/class-acf-field-date_time_picker.php:193
|
1691 |
#: includes/fields/class-acf-field-date_time_picker.php:210
|
1692 |
#: includes/fields/class-acf-field-time_picker.php:117
|
1694 |
msgid "Custom:"
|
1695 |
msgstr "دلخواه:"
|
1696 |
|
1697 |
+
#: includes/fields/class-acf-field-date_picker.php:197
|
1698 |
msgid "Save Format"
|
1699 |
msgstr "ذخیره قالب"
|
1700 |
|
1701 |
+
#: includes/fields/class-acf-field-date_picker.php:198
|
1702 |
msgid "The format used when saving a value"
|
1703 |
msgstr "قالب استفاده در زمان ذخیره مقدار"
|
1704 |
|
1705 |
+
#: includes/fields/class-acf-field-date_picker.php:208
|
1706 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
1707 |
+
#: includes/fields/class-acf-field-post_object.php:431
|
1708 |
+
#: includes/fields/class-acf-field-relationship.php:634
|
1709 |
+
#: includes/fields/class-acf-field-select.php:427
|
1710 |
#: includes/fields/class-acf-field-time_picker.php:124
|
1711 |
+
#: includes/fields/class-acf-field-user.php:412
|
1712 |
msgid "Return Format"
|
1713 |
msgstr "فرمت بازگشت"
|
1714 |
|
1715 |
+
#: includes/fields/class-acf-field-date_picker.php:209
|
1716 |
#: includes/fields/class-acf-field-date_time_picker.php:201
|
1717 |
#: includes/fields/class-acf-field-time_picker.php:125
|
1718 |
msgid "The format returned via template functions"
|
1719 |
msgstr "قالب توسط توابع پوسته نمایش داده خواهد شد"
|
1720 |
|
1721 |
+
#: includes/fields/class-acf-field-date_picker.php:227
|
1722 |
#: includes/fields/class-acf-field-date_time_picker.php:217
|
1723 |
msgid "Week Starts On"
|
1724 |
msgstr "اولین روز هفته"
|
1827 |
#: includes/fields/class-acf-field-email.php:136
|
1828 |
#: includes/fields/class-acf-field-number.php:145
|
1829 |
#: includes/fields/class-acf-field-password.php:80
|
1830 |
+
#: includes/fields/class-acf-field-range.php:188
|
1831 |
#: includes/fields/class-acf-field-text.php:137
|
1832 |
msgid "Prepend"
|
1833 |
msgstr "پیشوند"
|
1835 |
#: includes/fields/class-acf-field-email.php:137
|
1836 |
#: includes/fields/class-acf-field-number.php:146
|
1837 |
#: includes/fields/class-acf-field-password.php:81
|
1838 |
+
#: includes/fields/class-acf-field-range.php:189
|
1839 |
#: includes/fields/class-acf-field-text.php:138
|
1840 |
msgid "Appears before the input"
|
1841 |
msgstr "قبل از ورودی نمایش داده می شود"
|
1843 |
#: includes/fields/class-acf-field-email.php:145
|
1844 |
#: includes/fields/class-acf-field-number.php:154
|
1845 |
#: includes/fields/class-acf-field-password.php:89
|
1846 |
+
#: includes/fields/class-acf-field-range.php:197
|
1847 |
#: includes/fields/class-acf-field-text.php:146
|
1848 |
msgid "Append"
|
1849 |
msgstr "پسوند"
|
1851 |
#: includes/fields/class-acf-field-email.php:146
|
1852 |
#: includes/fields/class-acf-field-number.php:155
|
1853 |
#: includes/fields/class-acf-field-password.php:90
|
1854 |
+
#: includes/fields/class-acf-field-range.php:198
|
1855 |
#: includes/fields/class-acf-field-text.php:147
|
1856 |
msgid "Appears after the input"
|
1857 |
msgstr "بعد از ورودی نمایش داده می شود"
|
1877 |
#: includes/fields/class-acf-field-file.php:259
|
1878 |
#: includes/fields/class-acf-field-image.php:265
|
1879 |
#: includes/fields/class-acf-field-image.php:294
|
1880 |
+
#: pro/fields/class-acf-field-gallery.php:708
|
1881 |
+
#: pro/fields/class-acf-field-gallery.php:737
|
1882 |
msgid "File size"
|
1883 |
msgstr "اندازه فایل"
|
1884 |
|
1900 |
|
1901 |
#: includes/fields/class-acf-field-file.php:230
|
1902 |
#: includes/fields/class-acf-field-image.php:230
|
1903 |
+
#: pro/fields/class-acf-field-gallery.php:673
|
1904 |
msgid "Library"
|
1905 |
msgstr "کتابخانه"
|
1906 |
|
1907 |
#: includes/fields/class-acf-field-file.php:231
|
1908 |
#: includes/fields/class-acf-field-image.php:231
|
1909 |
+
#: pro/fields/class-acf-field-gallery.php:674
|
1910 |
msgid "Limit the media library choice"
|
1911 |
msgstr "محدود کردن انتخاب کتابخانه چندرسانه ای"
|
1912 |
|
1919 |
#: includes/locations/class-acf-location-user-form.php:87
|
1920 |
#: includes/locations/class-acf-location-user-role.php:111
|
1921 |
#: includes/locations/class-acf-location-widget.php:83
|
1922 |
+
#: pro/fields/class-acf-field-gallery.php:679
|
1923 |
msgid "All"
|
1924 |
msgstr "همه"
|
1925 |
|
1926 |
#: includes/fields/class-acf-field-file.php:237
|
1927 |
#: includes/fields/class-acf-field-image.php:237
|
1928 |
+
#: pro/fields/class-acf-field-gallery.php:680
|
1929 |
msgid "Uploaded to post"
|
1930 |
msgstr "بارگذاری شده در نوشته"
|
1931 |
|
1932 |
#: includes/fields/class-acf-field-file.php:244
|
1933 |
#: includes/fields/class-acf-field-image.php:244
|
1934 |
+
#: pro/fields/class-acf-field-gallery.php:687
|
1935 |
msgid "Minimum"
|
1936 |
msgstr "کمترین"
|
1937 |
|
1942 |
|
1943 |
#: includes/fields/class-acf-field-file.php:255
|
1944 |
#: includes/fields/class-acf-field-image.php:273
|
1945 |
+
#: pro/fields/class-acf-field-gallery.php:716
|
1946 |
msgid "Maximum"
|
1947 |
msgstr "بیشترین"
|
1948 |
|
1949 |
#: includes/fields/class-acf-field-file.php:266
|
1950 |
#: includes/fields/class-acf-field-image.php:302
|
1951 |
+
#: pro/fields/class-acf-field-gallery.php:745
|
1952 |
msgid "Allowed file types"
|
1953 |
msgstr "انواع مجاز فایل"
|
1954 |
|
1955 |
#: includes/fields/class-acf-field-file.php:267
|
1956 |
#: includes/fields/class-acf-field-image.php:303
|
1957 |
+
#: pro/fields/class-acf-field-gallery.php:746
|
1958 |
msgid "Comma separated list. Leave blank for all types"
|
1959 |
msgstr "با کامای انگلیسی جدا کرده یا برای عدم محدودیت خالی بگذارید"
|
1960 |
|
1966 |
msgid "Sorry, this browser does not support geolocation"
|
1967 |
msgstr "با عرض پوزش، این مرورگر از موقعیت یابی جغرافیایی پشتیبانی نمی کند"
|
1968 |
|
1969 |
+
#: includes/fields/class-acf-field-google-map.php:166
|
1970 |
msgid "Clear location"
|
1971 |
msgstr "حذف مکان"
|
1972 |
|
1973 |
+
#: includes/fields/class-acf-field-google-map.php:167
|
1974 |
msgid "Find current location"
|
1975 |
msgstr "پیدا کردن مکان فعلی"
|
1976 |
|
1977 |
+
#: includes/fields/class-acf-field-google-map.php:170
|
1978 |
msgid "Search for address..."
|
1979 |
msgstr "جستجو برای آدرس . . ."
|
1980 |
|
1981 |
+
#: includes/fields/class-acf-field-google-map.php:200
|
1982 |
+
#: includes/fields/class-acf-field-google-map.php:211
|
1983 |
msgid "Center"
|
1984 |
msgstr "مرکز"
|
1985 |
|
1986 |
+
#: includes/fields/class-acf-field-google-map.php:201
|
1987 |
+
#: includes/fields/class-acf-field-google-map.php:212
|
1988 |
msgid "Center the initial map"
|
1989 |
msgstr "نقشه اولیه را وسط قرار بده"
|
1990 |
|
1991 |
+
#: includes/fields/class-acf-field-google-map.php:223
|
1992 |
msgid "Zoom"
|
1993 |
msgstr "بزرگنمایی"
|
1994 |
|
1995 |
+
#: includes/fields/class-acf-field-google-map.php:224
|
1996 |
msgid "Set the initial zoom level"
|
1997 |
msgstr "تعین مقدار بزرگنمایی اولیه"
|
1998 |
|
1999 |
+
#: includes/fields/class-acf-field-google-map.php:233
|
2000 |
#: includes/fields/class-acf-field-image.php:256
|
2001 |
#: includes/fields/class-acf-field-image.php:285
|
2002 |
#: includes/fields/class-acf-field-oembed.php:268
|
2003 |
+
#: pro/fields/class-acf-field-gallery.php:699
|
2004 |
+
#: pro/fields/class-acf-field-gallery.php:728
|
2005 |
msgid "Height"
|
2006 |
msgstr "ارتفاع"
|
2007 |
|
2008 |
+
#: includes/fields/class-acf-field-google-map.php:234
|
2009 |
+
msgid "Customize the map height"
|
2010 |
+
msgstr "سفارشی سازی ارتفاع نقشه"
|
2011 |
|
2012 |
#: includes/fields/class-acf-field-group.php:25
|
2013 |
msgid "Group"
|
2016 |
#: includes/fields/class-acf-field-group.php:459
|
2017 |
#: pro/fields/class-acf-field-repeater.php:379
|
2018 |
msgid "Sub Fields"
|
2019 |
+
msgstr "زمینههای زیرمجموعه"
|
2020 |
|
2021 |
#: includes/fields/class-acf-field-group.php:475
|
2022 |
#: pro/fields/class-acf-field-clone.php:844
|
2025 |
|
2026 |
#: includes/fields/class-acf-field-group.php:480
|
2027 |
#: pro/fields/class-acf-field-clone.php:849
|
2028 |
+
#: pro/fields/class-acf-field-flexible-content.php:612
|
2029 |
#: pro/fields/class-acf-field-repeater.php:451
|
2030 |
msgid "Block"
|
2031 |
msgstr "بلوک"
|
2032 |
|
2033 |
#: includes/fields/class-acf-field-group.php:481
|
2034 |
#: pro/fields/class-acf-field-clone.php:850
|
2035 |
+
#: pro/fields/class-acf-field-flexible-content.php:611
|
2036 |
#: pro/fields/class-acf-field-repeater.php:450
|
2037 |
msgid "Table"
|
2038 |
msgstr "جدول"
|
2039 |
|
2040 |
#: includes/fields/class-acf-field-group.php:482
|
2041 |
#: pro/fields/class-acf-field-clone.php:851
|
2042 |
+
#: pro/fields/class-acf-field-flexible-content.php:613
|
2043 |
#: pro/fields/class-acf-field-repeater.php:452
|
2044 |
msgid "Row"
|
2045 |
msgstr "سطر"
|
2090 |
|
2091 |
#: includes/fields/class-acf-field-image.php:245
|
2092 |
#: includes/fields/class-acf-field-image.php:274
|
2093 |
+
#: pro/fields/class-acf-field-gallery.php:688
|
2094 |
+
#: pro/fields/class-acf-field-gallery.php:717
|
2095 |
msgid "Restrict which images can be uploaded"
|
2096 |
msgstr "محدودیت در آپلود تصاویر"
|
2097 |
|
2098 |
#: includes/fields/class-acf-field-image.php:248
|
2099 |
#: includes/fields/class-acf-field-image.php:277
|
2100 |
#: includes/fields/class-acf-field-oembed.php:257
|
2101 |
+
#: pro/fields/class-acf-field-gallery.php:691
|
2102 |
+
#: pro/fields/class-acf-field-gallery.php:720
|
2103 |
msgid "Width"
|
2104 |
msgstr "عرض"
|
2105 |
|
2164 |
|
2165 |
#: includes/fields/class-acf-field-number.php:25
|
2166 |
msgid "Number"
|
2167 |
+
msgstr "عدد"
|
2168 |
|
2169 |
#: includes/fields/class-acf-field-number.php:163
|
2170 |
+
#: includes/fields/class-acf-field-range.php:158
|
2171 |
msgid "Minimum Value"
|
2172 |
msgstr "حداقل مقدار"
|
2173 |
|
2174 |
#: includes/fields/class-acf-field-number.php:172
|
2175 |
+
#: includes/fields/class-acf-field-range.php:168
|
2176 |
msgid "Maximum Value"
|
2177 |
msgstr "حداکثر مقدار"
|
2178 |
|
2179 |
#: includes/fields/class-acf-field-number.php:181
|
2180 |
+
#: includes/fields/class-acf-field-range.php:178
|
2181 |
msgid "Step Size"
|
2182 |
msgstr "اندازه مرحله"
|
2183 |
|
2208 |
msgid "Embed Size"
|
2209 |
msgstr "اندازه جانمایی"
|
2210 |
|
2211 |
+
#: includes/fields/class-acf-field-page_link.php:25
|
2212 |
+
msgid "Page Link"
|
2213 |
+
msgstr "پیوند (لینک) برگه/نوشته"
|
2214 |
+
|
2215 |
#: includes/fields/class-acf-field-page_link.php:177
|
2216 |
msgid "Archives"
|
2217 |
msgstr "بایگانی ها"
|
2218 |
|
2219 |
#: includes/fields/class-acf-field-page_link.php:269
|
2220 |
+
#: includes/fields/class-acf-field-post_object.php:267
|
2221 |
#: includes/fields/class-acf-field-taxonomy.php:961
|
2222 |
msgid "Parent"
|
2223 |
msgstr "مادر"
|
2224 |
|
2225 |
#: includes/fields/class-acf-field-page_link.php:485
|
2226 |
+
#: includes/fields/class-acf-field-post_object.php:383
|
2227 |
+
#: includes/fields/class-acf-field-relationship.php:560
|
2228 |
msgid "Filter by Post Type"
|
2229 |
msgstr "فیلتر با نوع نوشته"
|
2230 |
|
2231 |
#: includes/fields/class-acf-field-page_link.php:493
|
2232 |
+
#: includes/fields/class-acf-field-post_object.php:391
|
2233 |
+
#: includes/fields/class-acf-field-relationship.php:568
|
2234 |
msgid "All post types"
|
2235 |
msgstr "تمام انواع نوشته"
|
2236 |
|
2237 |
#: includes/fields/class-acf-field-page_link.php:499
|
2238 |
+
#: includes/fields/class-acf-field-post_object.php:397
|
2239 |
+
#: includes/fields/class-acf-field-relationship.php:574
|
2240 |
msgid "Filter by Taxonomy"
|
2241 |
msgstr "فیلتر با طبقه بندی"
|
2242 |
|
2243 |
#: includes/fields/class-acf-field-page_link.php:507
|
2244 |
+
#: includes/fields/class-acf-field-post_object.php:405
|
2245 |
+
#: includes/fields/class-acf-field-relationship.php:582
|
2246 |
msgid "All taxonomies"
|
2247 |
msgstr "تمام طبقه بندی ها"
|
2248 |
|
2251 |
msgstr "اجازه آدرس های آرشیو"
|
2252 |
|
2253 |
#: includes/fields/class-acf-field-page_link.php:533
|
2254 |
+
#: includes/fields/class-acf-field-post_object.php:421
|
2255 |
+
#: includes/fields/class-acf-field-select.php:392
|
2256 |
+
#: includes/fields/class-acf-field-user.php:403
|
2257 |
msgid "Select multiple values?"
|
2258 |
msgstr "آیا چندین مقدار انتخاب شوند؟"
|
2259 |
|
2262 |
msgstr "رمزعبور"
|
2263 |
|
2264 |
#: includes/fields/class-acf-field-post_object.php:25
|
2265 |
+
#: includes/fields/class-acf-field-post_object.php:436
|
2266 |
+
#: includes/fields/class-acf-field-relationship.php:639
|
2267 |
msgid "Post Object"
|
2268 |
msgstr "آبجکت یک نوشته"
|
2269 |
|
2270 |
+
#: includes/fields/class-acf-field-post_object.php:437
|
2271 |
+
#: includes/fields/class-acf-field-relationship.php:640
|
2272 |
msgid "Post ID"
|
2273 |
msgstr "شناسه(ID) نوشته"
|
2274 |
|
2312 |
msgid "No matches found"
|
2313 |
msgstr "مطابقتی یافت نشد"
|
2314 |
|
2315 |
+
#: includes/fields/class-acf-field-relationship.php:411
|
2316 |
msgid "Select post type"
|
2317 |
msgstr "انتحاب نوع نوشته"
|
2318 |
|
2319 |
+
#: includes/fields/class-acf-field-relationship.php:420
|
2320 |
msgid "Select taxonomy"
|
2321 |
msgstr "انتخاب طبقه بندی"
|
2322 |
|
2323 |
+
#: includes/fields/class-acf-field-relationship.php:477
|
2324 |
msgid "Search..."
|
2325 |
msgstr "جستجو . . ."
|
2326 |
|
2327 |
+
#: includes/fields/class-acf-field-relationship.php:588
|
2328 |
msgid "Filters"
|
2329 |
msgstr "فیلترها"
|
2330 |
|
2331 |
+
#: includes/fields/class-acf-field-relationship.php:594
|
2332 |
#: includes/locations/class-acf-location-post-type.php:27
|
2333 |
msgid "Post Type"
|
2334 |
msgstr "نوع نوشته"
|
2335 |
|
2336 |
+
#: includes/fields/class-acf-field-relationship.php:595
|
2337 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2338 |
#: includes/fields/class-acf-field-taxonomy.php:754
|
2339 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2340 |
msgid "Taxonomy"
|
2341 |
msgstr "طبقه بندی"
|
2342 |
|
2343 |
+
#: includes/fields/class-acf-field-relationship.php:602
|
2344 |
msgid "Elements"
|
2345 |
msgstr "عناصر"
|
2346 |
|
2347 |
+
#: includes/fields/class-acf-field-relationship.php:603
|
2348 |
msgid "Selected elements will be displayed in each result"
|
2349 |
msgstr "عناصر انتخاب شده در هر نتیجه نمایش داده خواهند شد"
|
2350 |
|
2351 |
+
#: includes/fields/class-acf-field-relationship.php:614
|
2352 |
msgid "Minimum posts"
|
2353 |
msgstr "حداقل تعداد نوشتهها"
|
2354 |
|
2355 |
+
#: includes/fields/class-acf-field-relationship.php:623
|
2356 |
msgid "Maximum posts"
|
2357 |
msgstr "حداکثر تعداد نوشته ها"
|
2358 |
|
2359 |
+
#: includes/fields/class-acf-field-relationship.php:727
|
2360 |
+
#: pro/fields/class-acf-field-gallery.php:818
|
2361 |
#, php-format
|
2362 |
msgid "%s requires at least %s selection"
|
2363 |
msgid_plural "%s requires at least %s selections"
|
2364 |
+
msgstr[0] "%s به حداقل %s انتخاب نیاز دارد"
|
2365 |
+
msgstr[1] "%s به حداقل %s انتخاب نیاز دارد"
|
2366 |
|
2367 |
#: includes/fields/class-acf-field-select.php:25
|
2368 |
#: includes/fields/class-acf-field-taxonomy.php:776
|
2369 |
msgctxt "noun"
|
2370 |
msgid "Select"
|
2371 |
+
msgstr "انتخاب (Select)"
|
2372 |
|
2373 |
#: includes/fields/class-acf-field-select.php:111
|
2374 |
msgctxt "Select2 JS matches_1"
|
2375 |
msgid "One result is available, press enter to select it."
|
2376 |
+
msgstr "یک نتیجه موجود است برای انتخاب Enter را فشار دهید."
|
2377 |
|
2378 |
#: includes/fields/class-acf-field-select.php:112
|
2379 |
#, php-format
|
2380 |
msgctxt "Select2 JS matches_n"
|
2381 |
msgid "%d results are available, use up and down arrow keys to navigate."
|
2382 |
+
msgstr "نتایج %d در دسترس است با استفاده از کلید بالا و پایین روی آنها حرکت کنید."
|
|
|
2383 |
|
2384 |
#: includes/fields/class-acf-field-select.php:113
|
2385 |
msgctxt "Select2 JS matches_0"
|
2434 |
msgid "Loading failed"
|
2435 |
msgstr "خطا در فراخوانی داده ها"
|
2436 |
|
2437 |
+
#: includes/fields/class-acf-field-select.php:402
|
2438 |
#: includes/fields/class-acf-field-true_false.php:144
|
2439 |
msgid "Stylised UI"
|
2440 |
msgstr "ظاهر بهینه شده"
|
2441 |
|
2442 |
+
#: includes/fields/class-acf-field-select.php:412
|
2443 |
msgid "Use AJAX to lazy load choices?"
|
2444 |
msgstr "از ایجکس برای خواندن گزینه های استفاده شود؟"
|
2445 |
|
2446 |
+
#: includes/fields/class-acf-field-select.php:428
|
2447 |
msgid "Specify the value returned"
|
2448 |
msgstr "مقدار بازگشتی را انتخاب کنید"
|
2449 |
|
2461 |
|
2462 |
#: includes/fields/class-acf-field-tab.php:115
|
2463 |
msgid ""
|
2464 |
+
"Define an endpoint for the previous tabs to stop. This will start a new group "
|
2465 |
+
"of tabs."
|
2466 |
msgstr ""
|
2467 |
+
"یک نقطه پایانی برای توقف زبانه قبلی تعریف کنید. این کار باعث میشود گروه جدیدی "
|
2468 |
+
"از زبانهها ایجاد شود."
|
2469 |
|
2470 |
#: includes/fields/class-acf-field-taxonomy.php:714
|
2471 |
#, php-format
|
2499 |
|
2500 |
#: includes/fields/class-acf-field-taxonomy.php:775
|
2501 |
msgid "Radio Buttons"
|
2502 |
+
msgstr "دکمههای رادیویی"
|
2503 |
|
2504 |
#: includes/fields/class-acf-field-taxonomy.php:799
|
2505 |
msgid "Create Terms"
|
2564 |
#: includes/fields/class-acf-field-text.php:156
|
2565 |
#: includes/fields/class-acf-field-textarea.php:121
|
2566 |
msgid "Leave blank for no limit"
|
2567 |
+
msgstr "برای نامحدود بودن این بخش را خالی بگذارید"
|
2568 |
+
|
2569 |
+
#: includes/fields/class-acf-field-text.php:181
|
2570 |
+
#: includes/fields/class-acf-field-textarea.php:213
|
2571 |
+
#, php-format
|
2572 |
+
msgid "Value must not exceed %d characters"
|
2573 |
+
msgstr "مقدار نباید از %d کاراکتر بیشتر شود"
|
2574 |
|
2575 |
#: includes/fields/class-acf-field-textarea.php:25
|
2576 |
msgid "Text Area"
|
2577 |
+
msgstr "جعبه متن (متن چند خطی)"
|
2578 |
|
2579 |
#: includes/fields/class-acf-field-textarea.php:129
|
2580 |
msgid "Rows"
|
2624 |
msgid "User"
|
2625 |
msgstr "کاربر"
|
2626 |
|
2627 |
+
#: includes/fields/class-acf-field-user.php:378
|
2628 |
msgid "Filter by role"
|
2629 |
msgstr "تفکیک با نقش"
|
2630 |
|
2631 |
+
#: includes/fields/class-acf-field-user.php:386
|
2632 |
msgid "All user roles"
|
2633 |
msgstr "تمام نقش های کاربر"
|
2634 |
|
2635 |
+
#: includes/fields/class-acf-field-user.php:417
|
2636 |
msgid "User Array"
|
2637 |
msgstr "آرایه کاربر"
|
2638 |
|
2639 |
+
#: includes/fields/class-acf-field-user.php:418
|
2640 |
msgid "User Object"
|
2641 |
msgstr "آبجکت کاربر"
|
2642 |
|
2643 |
+
#: includes/fields/class-acf-field-user.php:419
|
2644 |
msgid "User ID"
|
2645 |
msgstr "شناسه کاربر"
|
2646 |
|
2648 |
msgid "Wysiwyg Editor"
|
2649 |
msgstr "ویرایشگر دیداری"
|
2650 |
|
2651 |
+
#: includes/fields/class-acf-field-wysiwyg.php:330
|
2652 |
msgid "Visual"
|
2653 |
msgstr "بصری"
|
2654 |
|
2655 |
+
#: includes/fields/class-acf-field-wysiwyg.php:331
|
2656 |
msgctxt "Name for the Text editor tab (formerly HTML)"
|
2657 |
msgid "Text"
|
2658 |
msgstr "متن"
|
2659 |
|
2660 |
+
#: includes/fields/class-acf-field-wysiwyg.php:337
|
2661 |
msgid "Click to initialize TinyMCE"
|
2662 |
msgstr "برای اجرای TinyMCE کلیک کنید"
|
2663 |
|
2664 |
+
#: includes/fields/class-acf-field-wysiwyg.php:390
|
2665 |
msgid "Tabs"
|
2666 |
msgstr "تب ها"
|
2667 |
|
2668 |
+
#: includes/fields/class-acf-field-wysiwyg.php:395
|
2669 |
msgid "Visual & Text"
|
2670 |
msgstr "بصری و متنی"
|
2671 |
|
2672 |
+
#: includes/fields/class-acf-field-wysiwyg.php:396
|
2673 |
msgid "Visual Only"
|
2674 |
msgstr "فقط بصری"
|
2675 |
|
2676 |
+
#: includes/fields/class-acf-field-wysiwyg.php:397
|
2677 |
msgid "Text Only"
|
2678 |
msgstr "فقط متن"
|
2679 |
|
2680 |
+
#: includes/fields/class-acf-field-wysiwyg.php:404
|
2681 |
msgid "Toolbar"
|
2682 |
msgstr "نوار ابزار"
|
2683 |
|
2684 |
+
#: includes/fields/class-acf-field-wysiwyg.php:419
|
2685 |
msgid "Show Media Upload Buttons?"
|
2686 |
+
msgstr "آیا دکمههای بارگذاری رسانه نمایش داده شوند؟"
|
2687 |
|
2688 |
+
#: includes/fields/class-acf-field-wysiwyg.php:429
|
2689 |
msgid "Delay initialization?"
|
2690 |
msgstr "نمایش با تاخیر؟"
|
2691 |
|
2692 |
+
#: includes/fields/class-acf-field-wysiwyg.php:430
|
2693 |
msgid "TinyMCE will not be initalized until field is clicked"
|
2694 |
msgstr "تا زمانی که روی فیلد کلیک نشود TinyMCE اجرا نخواهد شد"
|
2695 |
|
|
|
|
|
|
|
|
|
|
|
2696 |
#: includes/forms/form-front.php:55
|
2697 |
msgid "Validate Email"
|
2698 |
msgstr "اعتبار سنجی ایمیل"
|
2699 |
|
2700 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591
|
2701 |
#: pro/options-page.php:81
|
2702 |
msgid "Update"
|
2703 |
msgstr "بروزرسانی"
|
2704 |
|
2705 |
#: includes/forms/form-front.php:104
|
2706 |
msgid "Post updated"
|
2707 |
+
msgstr "نوشته بروز شد"
|
2708 |
|
2709 |
#: includes/forms/form-front.php:230
|
2710 |
msgid "Spam Detected"
|
2722 |
msgid "Forms"
|
2723 |
msgstr "فرم ها"
|
2724 |
|
2725 |
+
#: includes/locations.php:243
|
2726 |
msgid "is equal to"
|
2727 |
msgstr "برابر شود با"
|
2728 |
|
2729 |
+
#: includes/locations.php:244
|
2730 |
msgid "is not equal to"
|
2731 |
msgstr "برابر نشود با"
|
2732 |
|
2791 |
msgid "Page Template"
|
2792 |
msgstr "قالب برگه"
|
2793 |
|
2794 |
+
#: includes/locations/class-acf-location-page-template.php:87
|
2795 |
+
#: includes/locations/class-acf-location-post-template.php:134
|
2796 |
msgid "Default Template"
|
2797 |
msgstr "پوسته پیش فرض"
|
2798 |
|
2868 |
#. Plugin Name of the plugin/theme
|
2869 |
#: pro/acf-pro.php:28
|
2870 |
msgid "Advanced Custom Fields PRO"
|
2871 |
+
msgstr "زمینههای سفارشی پیشرفته نسخه حرفه ای"
|
2872 |
|
2873 |
+
#: pro/admin/admin-options-page.php:198
|
2874 |
msgid "Publish"
|
2875 |
msgstr "انتشار"
|
2876 |
|
2877 |
+
#: pro/admin/admin-options-page.php:204
|
2878 |
#, php-format
|
2879 |
msgid ""
|
2880 |
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
2881 |
"Custom Field Group</a>"
|
2882 |
msgstr ""
|
2883 |
+
"هیچ گروه زمینه دلخواهی برای این صفحه تنظیمات یافت نشد. <a href=\"%s\">ساخت گروه "
|
2884 |
+
"زمینه دلخواه</a>"
|
2885 |
|
2886 |
+
#: pro/admin/admin-updates.php:49
|
2887 |
msgid "<b>Error</b>. Could not connect to update server"
|
2888 |
msgstr "خطا. امکان اتصال به سرور به روزرسانی الان ممکن نیست"
|
2889 |
|
2890 |
+
#: pro/admin/admin-updates.php:118 pro/admin/views/html-settings-updates.php:13
|
|
|
2891 |
msgid "Updates"
|
2892 |
msgstr "بروزرسانی ها"
|
2893 |
|
2894 |
+
#: pro/admin/admin-updates.php:191
|
2895 |
+
msgid ""
|
2896 |
+
"<b>Error</b>. Could not authenticate update package. Please check again or "
|
2897 |
+
"deactivate and reactivate your ACF PRO license."
|
2898 |
+
msgstr ""
|
2899 |
+
"<b>خطا</b>. پکیج بروزرسانی اعتبارسنجی نشد. دوباره بررسی کنید یا لایسنس ACF PRO "
|
2900 |
+
"را غیرفعال و مجددا فعال کنید."
|
2901 |
+
|
2902 |
#: pro/admin/views/html-settings-updates.php:7
|
2903 |
msgid "Deactivate License"
|
2904 |
msgstr "غیرفعال سازی لایسنس"
|
2915 |
#, php-format
|
2916 |
msgid ""
|
2917 |
"To unlock updates, please enter your license key below. If you don't have a "
|
2918 |
+
"licence key, please see <a href=\"%s\" target=\"_blank\">details & pricing</a>."
|
|
|
2919 |
msgstr ""
|
2920 |
"برای به روزرسانی لطفا کد لایسنس را وارد کنید. <a href=\"%s\" target=\"_blank"
|
2921 |
"\">قیمت ها</a>."
|
3019 |
msgstr "سطر جدید"
|
3020 |
|
3021 |
#: pro/fields/class-acf-field-flexible-content.php:73
|
3022 |
+
#: pro/fields/class-acf-field-flexible-content.php:923
|
3023 |
+
#: pro/fields/class-acf-field-flexible-content.php:1005
|
|
|
3024 |
msgid "layout"
|
3025 |
msgid_plural "layouts"
|
3026 |
+
msgstr[0] "طرحها"
|
3027 |
+
msgstr[1] "طرح"
|
3028 |
|
3029 |
#: pro/fields/class-acf-field-flexible-content.php:74
|
3030 |
msgid "layouts"
|
3031 |
msgstr "طرح ها"
|
3032 |
|
3033 |
#: pro/fields/class-acf-field-flexible-content.php:77
|
3034 |
+
#: pro/fields/class-acf-field-flexible-content.php:922
|
3035 |
+
#: pro/fields/class-acf-field-flexible-content.php:1004
|
3036 |
msgid "This field requires at least {min} {label} {identifier}"
|
3037 |
msgstr "این زمینه لازم دارد {min} {label} {identifier}"
|
3038 |
|
3052 |
msgid "Flexible Content requires at least 1 layout"
|
3053 |
msgstr "زمینه محتوای انعطاف پذیر حداقل به یک طرح نیاز دارد"
|
3054 |
|
3055 |
+
#: pro/fields/class-acf-field-flexible-content.php:287
|
3056 |
#, php-format
|
3057 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3058 |
msgstr "روی دکمه \"%s\" دز زیر کلیک کنید تا چیدمان خود را بسازید"
|
3059 |
|
3060 |
+
#: pro/fields/class-acf-field-flexible-content.php:412
|
3061 |
msgid "Add layout"
|
3062 |
msgstr "طرح جدید"
|
3063 |
|
3064 |
+
#: pro/fields/class-acf-field-flexible-content.php:413
|
3065 |
msgid "Remove layout"
|
3066 |
msgstr "حذف طرح"
|
3067 |
|
3068 |
+
#: pro/fields/class-acf-field-flexible-content.php:414
|
3069 |
#: pro/fields/class-acf-field-repeater.php:296
|
3070 |
msgid "Click to toggle"
|
3071 |
msgstr "کلیک برای انتخاب"
|
3072 |
|
3073 |
+
#: pro/fields/class-acf-field-flexible-content.php:554
|
3074 |
msgid "Reorder Layout"
|
3075 |
msgstr "ترتیب بندی طرح ها"
|
3076 |
|
3077 |
+
#: pro/fields/class-acf-field-flexible-content.php:554
|
3078 |
msgid "Reorder"
|
3079 |
msgstr "مرتب سازی"
|
3080 |
|
3081 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
3082 |
msgid "Delete Layout"
|
3083 |
msgstr "حذف طرح"
|
3084 |
|
3085 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
3086 |
msgid "Duplicate Layout"
|
3087 |
msgstr "تکثیر طرح"
|
3088 |
|
3089 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
3090 |
msgid "Add New Layout"
|
3091 |
msgstr "افزودن طرح جدید"
|
3092 |
|
3093 |
+
#: pro/fields/class-acf-field-flexible-content.php:628
|
3094 |
msgid "Min"
|
3095 |
msgstr "حداقل"
|
3096 |
|
3097 |
+
#: pro/fields/class-acf-field-flexible-content.php:641
|
3098 |
msgid "Max"
|
3099 |
msgstr "حداکثر"
|
3100 |
|
3101 |
+
#: pro/fields/class-acf-field-flexible-content.php:668
|
3102 |
#: pro/fields/class-acf-field-repeater.php:459
|
3103 |
msgid "Button Label"
|
3104 |
msgstr "متن دکمه"
|
3105 |
|
3106 |
+
#: pro/fields/class-acf-field-flexible-content.php:677
|
3107 |
msgid "Minimum Layouts"
|
3108 |
msgstr "حداقل تعداد طرح ها"
|
3109 |
|
3110 |
+
#: pro/fields/class-acf-field-flexible-content.php:686
|
3111 |
msgid "Maximum Layouts"
|
3112 |
msgstr "حداکثر تعداد طرح ها"
|
3113 |
|
3119 |
msgid "Maximum selection reached"
|
3120 |
msgstr "بیشترین حد انتخاب شده است"
|
3121 |
|
3122 |
+
#: pro/fields/class-acf-field-gallery.php:338
|
3123 |
msgid "Length"
|
3124 |
msgstr "طول"
|
3125 |
|
3126 |
+
#: pro/fields/class-acf-field-gallery.php:381
|
3127 |
msgid "Caption"
|
3128 |
msgstr "متن"
|
3129 |
|
3130 |
+
#: pro/fields/class-acf-field-gallery.php:390
|
3131 |
msgid "Alt Text"
|
3132 |
msgstr "متن جایگزین"
|
3133 |
|
3134 |
+
#: pro/fields/class-acf-field-gallery.php:562
|
3135 |
msgid "Add to gallery"
|
3136 |
msgstr "اضافه به گالری"
|
3137 |
|
3138 |
+
#: pro/fields/class-acf-field-gallery.php:566
|
3139 |
msgid "Bulk actions"
|
3140 |
msgstr "کارهای گروهی"
|
3141 |
|
3142 |
+
#: pro/fields/class-acf-field-gallery.php:567
|
3143 |
msgid "Sort by date uploaded"
|
3144 |
msgstr "به ترتیب تاریخ آپلود"
|
3145 |
|
3146 |
+
#: pro/fields/class-acf-field-gallery.php:568
|
3147 |
msgid "Sort by date modified"
|
3148 |
msgstr "به ترتیب تاریخ اعمال تغییرات"
|
3149 |
|
3150 |
+
#: pro/fields/class-acf-field-gallery.php:569
|
3151 |
msgid "Sort by title"
|
3152 |
msgstr "به ترتیب عنوان"
|
3153 |
|
3154 |
+
#: pro/fields/class-acf-field-gallery.php:570
|
3155 |
msgid "Reverse current order"
|
3156 |
msgstr "معکوس سازی ترتیب کنونی"
|
3157 |
|
3158 |
+
#: pro/fields/class-acf-field-gallery.php:588
|
3159 |
msgid "Close"
|
3160 |
msgstr "بستن"
|
3161 |
|
3162 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
3163 |
msgid "Minimum Selection"
|
3164 |
msgstr "حداقل انتخاب"
|
3165 |
|
3166 |
+
#: pro/fields/class-acf-field-gallery.php:651
|
3167 |
msgid "Maximum Selection"
|
3168 |
msgstr "حداکثر انتخاب"
|
3169 |
|
3170 |
+
#: pro/fields/class-acf-field-gallery.php:660
|
3171 |
msgid "Insert"
|
3172 |
msgstr "درج"
|
3173 |
|
3174 |
+
#: pro/fields/class-acf-field-gallery.php:661
|
3175 |
msgid "Specify where new attachments are added"
|
3176 |
msgstr "مشخص کنید که پیوست ها کجا اضافه شوند"
|
3177 |
|
3178 |
+
#: pro/fields/class-acf-field-gallery.php:665
|
3179 |
msgid "Append to the end"
|
3180 |
msgstr "افزودن به انتها"
|
3181 |
|
3182 |
+
#: pro/fields/class-acf-field-gallery.php:666
|
3183 |
msgid "Prepend to the beginning"
|
3184 |
msgstr "افزودن قبل از"
|
3185 |
|
3231 |
#: pro/updates.php:97
|
3232 |
#, php-format
|
3233 |
msgid ""
|
3234 |
+
"To enable updates, please enter your license key on the <a href=\"%s\">Updates</"
|
3235 |
+
"a> page. If you don't have a licence key, please see <a href=\"%s\">details & "
|
3236 |
+
"pricing</a>."
|
3237 |
msgstr ""
|
3238 |
+
"برای به روزرسانی لطفا کد لایسنس را وارد کنید. <a href=\"%s\">بروزرسانی</a>. <a "
|
3239 |
+
"href=\"%s\">قیمت ها</a>."
|
3240 |
|
3241 |
#. Plugin URI of the plugin/theme
|
3242 |
msgid "https://www.advancedcustomfields.com/"
|
3250 |
msgid "http://www.elliotcondon.com/"
|
3251 |
msgstr "http://www.elliotcondon.com/"
|
3252 |
|
3253 |
+
#~ msgid "Field group duplicated. %s"
|
3254 |
+
#~ msgstr "گروه زمینه تکثیر شد. %s"
|
3255 |
+
|
3256 |
+
#~ msgid "%s field group duplicated."
|
3257 |
+
#~ msgid_plural "%s field groups duplicated."
|
3258 |
+
#~ msgstr[0] "%s گروه زمینه تکثیر شد"
|
3259 |
+
|
3260 |
+
#~ msgid "Field group synchronised. %s"
|
3261 |
+
#~ msgstr "گروه زمینه هماهنگ شد. %s"
|
3262 |
+
|
3263 |
+
#~ msgid "%s field group synchronised."
|
3264 |
+
#~ msgid_plural "%s field groups synchronised."
|
3265 |
+
#~ msgstr[0] "گروه زمینه %s هماهنگ شده است"
|
3266 |
+
|
3267 |
+
#~ msgid "Customise WordPress with powerful, professional and intuitive fields."
|
3268 |
+
#~ msgstr "سفارشی کردن وردپرس با زمینه های قدرتمند، حرفه ای و بصری."
|
3269 |
+
|
3270 |
+
#~ msgid "Error validating request"
|
3271 |
+
#~ msgstr "خطا در اعتبار سنجی درخواست"
|
3272 |
+
|
3273 |
+
#~ msgid "<b>Error</b>. Could not load add-ons list"
|
3274 |
+
#~ msgstr "<b>خطا</b>. لیست افزونه ها قابل خواندن نیست"
|
3275 |
+
|
3276 |
+
#~ msgid "Advanced Custom Fields Database Upgrade"
|
3277 |
+
#~ msgstr "بهروزرسانی پایگاه داده زمینه های دلخواه پیشرفته"
|
3278 |
+
|
3279 |
+
#~ msgid "Upgrade complete"
|
3280 |
+
#~ msgstr "بهروزرسانی انجام شد"
|
3281 |
+
|
3282 |
+
#~ msgid ""
|
3283 |
+
#~ "Before you start using the new awesome features, please update your database "
|
3284 |
+
#~ "to the newest version."
|
3285 |
+
#~ msgstr ""
|
3286 |
+
#~ "قبل از اینکه از تمام امکانات شگفت انگیز جدید استفاده کنید لازم است بانک "
|
3287 |
+
#~ "اطلاعاتی را به روز کنید"
|
3288 |
+
|
3289 |
+
#~ msgid ""
|
3290 |
+
#~ "Please also ensure any premium add-ons (%s) have first been updated to the "
|
3291 |
+
#~ "latest version."
|
3292 |
+
#~ msgstr ""
|
3293 |
+
#~ "لطفا اطمینان حاصل کنید که افزودنی های تجاري (%s) ابتدا به آخرین نسخه بروز "
|
3294 |
+
#~ "شدهاند."
|
3295 |
+
|
3296 |
+
#~ msgid "Database Upgrade complete. <a href=\"%s\">See what's new</a>"
|
3297 |
+
#~ msgstr "ارتقاء پایگاه داده کامل شد. <a href=\"%s\">تغییرات جدید را ببینید</a>"
|
3298 |
+
|
3299 |
+
#~ msgid "A smoother custom field experience"
|
3300 |
+
#~ msgstr "احساس بهتر در استفاده از زمینه دلخواه"
|
3301 |
+
|
3302 |
+
#~ msgid ""
|
3303 |
+
#~ "To help make upgrading easy, <a href=\"%s\">login to your store account</a> "
|
3304 |
+
#~ "and claim a free copy of ACF PRO!"
|
3305 |
+
#~ msgstr ""
|
3306 |
+
#~ "برای به روزرسانی ساده <a href=\"%s\"> به بخش کاربری خود در فروشگاه وارد شوید "
|
3307 |
+
#~ "</a> و یک نسخه از ویرایش حرفه ای را دانلود کنید!"
|
3308 |
+
|
3309 |
+
#~ msgid ""
|
3310 |
+
#~ "We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
3311 |
+
#~ "but if you do have one, please contact our support team via the <a href=\"%s"
|
3312 |
+
#~ "\">help desk</a>"
|
3313 |
+
#~ msgstr ""
|
3314 |
+
#~ "همچنین یک <a href=\"%s\"> راهنمای به روزرسانی</a> برای پاسخ به سوالات نوشته "
|
3315 |
+
#~ "ایم ولی اگر هنوز سوالی دارید از <a href=\"%s\">تیم پشتیبانی</a> بپرسید "
|
3316 |
+
|
3317 |
+
#~ msgid "Under the Hood"
|
3318 |
+
#~ msgstr "در پشت قضیه"
|
3319 |
+
|
3320 |
+
#~ msgid "Smarter field settings"
|
3321 |
+
#~ msgstr "تنظیمات زمینه ها هوشمندتر شدند"
|
3322 |
+
|
3323 |
+
#~ msgid "ACF now saves its field settings as individual post objects"
|
3324 |
+
#~ msgstr ""
|
3325 |
+
#~ "افزونه اکنون تنظیمات زمینه ها را به عنوان آبجکت ها مختلف نوشته ذخیره می کند"
|
3326 |
+
|
3327 |
+
#~ msgid "More fields use AJAX powered search to speed up page loading"
|
3328 |
+
#~ msgstr "زمینه های بیشتری از جستجوهای ایجکس برای کاهش بار صفحه استفاده می کنند"
|
3329 |
+
|
3330 |
+
#~ msgid "New auto export to JSON feature improves speed"
|
3331 |
+
#~ msgstr "امکان جدید خرجی خودکار JSON سرعت را بهبود بخشیده است"
|
3332 |
+
|
3333 |
+
#~ msgid "Better version control"
|
3334 |
+
#~ msgstr "کنترل نسخه بهتر"
|
3335 |
+
|
3336 |
+
#~ msgid ""
|
3337 |
+
#~ "New auto export to JSON feature allows field settings to be version "
|
3338 |
+
#~ "controlled"
|
3339 |
+
#~ msgstr "اکنون با خروجی جدید JSON امکان کنترل نسخه بهتر را فراهم کردیم"
|
3340 |
+
|
3341 |
+
#~ msgid "Swapped XML for JSON"
|
3342 |
+
#~ msgstr "جابجایی XML با JSON"
|
3343 |
+
|
3344 |
+
#~ msgid "Import / Export now uses JSON in favour of XML"
|
3345 |
+
#~ msgstr "اکنون خروجی و ورودی از JSON استفاده می کند"
|
3346 |
+
|
3347 |
+
#~ msgid "New Forms"
|
3348 |
+
#~ msgstr "فرم های جدید"
|
3349 |
+
|
3350 |
+
#~ msgid "Fields can now be mapped to comments, widgets and all user forms!"
|
3351 |
+
#~ msgstr ""
|
3352 |
+
#~ "گزینه ها اکنون می توانند به نظرات، ابزارک ها و حتی فرم های مربوط به کاربران "
|
3353 |
+
#~ "متصل شوند !"
|
3354 |
+
|
3355 |
+
#~ msgid "A new field for embedding content has been added"
|
3356 |
+
#~ msgstr "زمینه جدیدی برای جانمایی محتوا اضافه شده است"
|
3357 |
+
|
3358 |
+
#~ msgid "New Gallery"
|
3359 |
+
#~ msgstr "گالری جدید"
|
3360 |
+
|
3361 |
+
#~ msgid "The gallery field has undergone a much needed facelift"
|
3362 |
+
#~ msgstr "گالری دارای بهینه سازی هایی برای ارائه امکانات جدید شده است"
|
3363 |
+
|
3364 |
+
#~ msgid ""
|
3365 |
+
#~ "Field group settings have been added for label placement and instruction "
|
3366 |
+
#~ "placement"
|
3367 |
+
#~ msgstr "تنظیماتی به گروه زمینه برای مکان برچسب ها و توضیحات اضافه شده است"
|
3368 |
+
|
3369 |
+
#~ msgid "acf_form() can now create a new post on submission"
|
3370 |
+
#~ msgstr "تابع acf_form می تواند در زمان ارسال نوشته تولید کند !"
|
3371 |
+
|
3372 |
+
#~ msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
3373 |
+
#~ msgstr ""
|
3374 |
+
#~ "خطایابی فرم (validation) اکنون از طریق PHP + AJAX به جای JS انجام می شود"
|
3375 |
+
|
3376 |
+
#~ msgid "Relationship Field"
|
3377 |
+
#~ msgstr "زمینه ارتباط"
|
3378 |
+
|
3379 |
+
#~ msgid ""
|
3380 |
+
#~ "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
3381 |
+
#~ msgstr "تنظیمات جدید برای زمینه ارتباط و فیلتر کردن اضافه شده است"
|
3382 |
+
|
3383 |
+
#~ msgid ""
|
3384 |
+
#~ "New field group functionality allows you to move a field between groups & "
|
3385 |
+
#~ "parents"
|
3386 |
+
#~ msgstr ""
|
3387 |
+
#~ "عملکرد جدید گروه زمینه ها به شما امکان جابجایی زمینه ها بین گروه ها و بین "
|
3388 |
+
#~ "گروه های والد را می دهد"
|
3389 |
+
|
3390 |
+
#~ msgid "New archives group in page_link field selection"
|
3391 |
+
#~ msgstr "گروه بندی بایگانی جدید در انتخاب زمینه پیوند صفحه"
|
3392 |
+
|
3393 |
+
#~ msgid "Better Options Pages"
|
3394 |
+
#~ msgstr "صفحه تنظیمات بهتر"
|
3395 |
+
|
3396 |
+
#~ msgid ""
|
3397 |
+
#~ "New functions for options page allow creation of both parent and child menu "
|
3398 |
+
#~ "pages"
|
3399 |
+
#~ msgstr ""
|
3400 |
+
#~ "تنظیمات جدید برای صفحه تنظیمات اجازه ساخت هر دو صفحه منوی والد و زیرمجموعه "
|
3401 |
+
#~ "را می دهد"
|
3402 |
+
|
3403 |
+
#~ msgid "Customise the map height"
|
3404 |
+
#~ msgstr "سفارشی کردن ارتفاع نقشه"
|
3405 |
+
|
3406 |
#~ msgid "checked"
|
3407 |
#~ msgstr "انتخاب شده"
|
3408 |
|
3446 |
#~ msgstr "اجاره به آکاردئون برای باز شدن بدون بستن دیگران"
|
3447 |
|
3448 |
#~ msgid ""
|
3449 |
+
#~ "The tab field will display incorrectly when added to a Table style repeater "
|
3450 |
+
#~ "field or flexible content field layout"
|
3451 |
#~ msgstr ""
|
3452 |
+
#~ "زمینه تب در زمانی که در آن زمینه تکرارشونده و یا زمینه محتوای انعطاف پذیر به "
|
3453 |
+
#~ "کار ببرید درست نمایش داده نخواهد شد"
|
3454 |
|
3455 |
#~ msgid ""
|
3456 |
#~ "Use \"Tab Fields\" to better organize your edit screen by grouping fields "
|
3457 |
#~ "together."
|
3458 |
#~ msgstr ""
|
3459 |
+
#~ "از (زمینه تب) برای سازماندهی بهتر صفحه ویرایش با گروه بندی زمینه ها زیر تب "
|
3460 |
+
#~ "ها استفاده کنید. "
|
3461 |
|
3462 |
#~ msgid ""
|
3463 |
+
#~ "All fields following this \"tab field\" (or until another \"tab field\" is "
|
3464 |
+
#~ "defined) will be grouped together using this field's label as the tab "
|
3465 |
#~ "heading."
|
3466 |
#~ msgstr ""
|
3467 |
+
#~ "همه زمینه های زیر این \" زمینه تب \" (یا تا زمینه تب بعدی) با هم گروه بندی "
|
3468 |
+
#~ "می شوند و برچسب زمینه در تب به نمایش در خواهد آمد"
|
3469 |
|
3470 |
#~ msgid "End-point"
|
3471 |
#~ msgstr "نقطه پایانی"
|
3472 |
|
3473 |
#~ msgid "Use this field as an end-point and start a new group of tabs"
|
3474 |
+
#~ msgstr "استفاده از این زمینه به عنوان نقطه پایانی و شروع یک گروه جدید از تب ها"
|
|
|
3475 |
|
3476 |
#~ msgid "Disabled"
|
3477 |
#~ msgstr "غیرفعال"
|
3541 |
#~ msgstr "<b>انجام شد</b> ابزار وارد سازی %s زمینه را وارد کرد: %s"
|
3542 |
|
3543 |
#~ msgid ""
|
3544 |
+
#~ "<b>Warning</b>. Import tool detected %s field groups already exist and have "
|
3545 |
+
#~ "been ignored: %s"
|
3546 |
#~ msgstr ""
|
3547 |
+
#~ "<b>اخطار</b> ابزار وارد سازی تشخصی داد که گروه زمینه %s اکنون موجود می باشد "
|
3548 |
+
#~ "و %s نادیده گرفته شد"
|
3549 |
|
3550 |
#~ msgid "Upgrade ACF"
|
3551 |
#~ msgstr "بروزرسانی "
|
3557 |
#~ msgstr "با گرفتن و کشیدن مرتب سازی کنید"
|
3558 |
|
3559 |
#~ msgid ""
|
3560 |
+
#~ "The following sites require a DB upgrade. Check the ones you want to update "
|
3561 |
+
#~ "and then click “Upgrade Database”."
|
3562 |
#~ msgstr ""
|
3563 |
#~ "سایتهای زیر نیاز به بهروزرسانی دیتابیس دارند. آنهایی که تمایل دارید را "
|
3564 |
#~ "انتخاب کنید و دکمه به روزرسانی را کلیک کنید."
|
3606 |
#~ msgstr "لایسنس"
|
3607 |
|
3608 |
#~ msgid ""
|
3609 |
+
#~ "To unlock updates, please enter your license key below. If you don't have a "
|
3610 |
+
#~ "licence key, please see"
|
3611 |
#~ msgstr ""
|
3612 |
#~ "برای به روزرسانی لطفا لایسنس خود را وارد کنید. اگر لایسنس ندارید اینجا را "
|
3613 |
#~ "ببنید:"
|
3617 |
|
3618 |
#~ msgid ""
|
3619 |
#~ "To enable updates, please enter your license key on the <a href=\"%s"
|
3620 |
+
#~ "\">Updates</a> page. If you don't have a licence key, please see <a href=\"%s"
|
3621 |
+
#~ "\">details & pricing</a>"
|
3622 |
#~ msgstr ""
|
3623 |
+
#~ "برای به روز رسانی لایسنس خود را در قسمت <a href=\"%s\">به روزرسانی ها</a> "
|
3624 |
+
#~ "وارد کنید. اگر لایسنس ندارید اینجا را ببینید: <a href=\"%s\">جزئیات ئ قیمت</"
|
3625 |
+
#~ "a>"
|
3626 |
|
3627 |
+
#~ msgid "Please note that all text will first be passed through the wp function "
|
|
|
3628 |
#~ msgstr "دقت کنید که نکاک متن ها اول از تابع وردپرس عبور خواهند کرد"
|
3629 |
|
3630 |
#~ msgid "Warning"
|
3672 |
#~ msgstr "نسخه حرفه ای لازم است"
|
3673 |
|
3674 |
#~ msgid ""
|
3675 |
+
#~ "We have detected an issue which requires your attention: This website makes "
|
3676 |
+
#~ "use of premium add-ons (%s) which are no longer compatible with ACF."
|
3677 |
#~ msgstr ""
|
3678 |
+
#~ "مشکلی مشاهده شده است که نیاز به توجه شما دارد. این وب سایت مجاز به استفاده "
|
3679 |
+
#~ "از افزودنی های پولی (%s) می باشد که دیگر سازگار نیستند"
|
3680 |
|
3681 |
#~ msgid ""
|
3682 |
+
#~ "Don't panic, you can simply roll back the plugin and continue using ACF as "
|
3683 |
+
#~ "you know it!"
|
3684 |
#~ msgstr "مشکلی نیست. شما می توانید به نسخه ای که به آن عادت دارید برگردید!"
|
3685 |
|
3686 |
#~ msgid "Roll back to ACF v%s"
|
3709 |
#~ msgid ""
|
3710 |
#~ "Load value based on the post's terms and update the post's terms on save"
|
3711 |
#~ msgstr ""
|
3712 |
+
#~ "مقدار بر اساس دسته(ترم) نوشته خوانده شود و دسته های نوشته را در هنگام ذخیره "
|
3713 |
+
#~ "به روز رسانی کند"
|
3714 |
|
3715 |
#~ msgid "Controls how HTML tags are rendered"
|
3716 |
#~ msgstr "کنترل چگونگی نمایش تگ های HTML"
|
3779 |
#~ msgid "No ACF groups selected"
|
3780 |
#~ msgstr "هیچ گروه زمینه دلخواه پیشرفته ای انتخاب نشده است."
|
3781 |
|
3782 |
+
#~ msgid "Create infinite rows of repeatable data with this versatile interface!"
|
|
|
3783 |
#~ msgstr ""
|
3784 |
#~ "ایجاد بی نهایت سطر از داده های تکرار شونده به وسیله این زمینه چند منظوره!"
|
3785 |
|
3797 |
|
3798 |
#~ msgid "Creates a select field populated with Gravity Forms!"
|
3799 |
#~ msgstr ""
|
3800 |
+
#~ "زمینه جدید از نوع انتخاب می سازد که می توانید یکی از فرم های GravityForms که "
|
3801 |
+
#~ "ساخته اید را از آن انتخاب کنید"
|
3802 |
|
3803 |
#~ msgid "Date & Time Picker"
|
3804 |
#~ msgstr "تاریخ و زمان"
|
3822 |
#~ "The following Add-ons are available to increase the functionality of the "
|
3823 |
#~ "Advanced Custom Fields plugin."
|
3824 |
#~ msgstr ""
|
3825 |
+
#~ "افزودنی های زیر برای افزایش قابلیت های افزونه زمینه های دلخواه پیشرفته قابل "
|
3826 |
+
#~ "استفاده هستند."
|
3827 |
|
3828 |
#~ msgid ""
|
3829 |
#~ "Each Add-on can be installed as a separate plugin (receives updates) or "
|
3830 |
#~ "included in your theme (does not receive updates)."
|
3831 |
#~ msgstr ""
|
3832 |
+
#~ "هر افزودنی می تواند به عنوان یک افزونه جدا ( قابل بروزرسانی) نصب شود و یا در "
|
3833 |
+
#~ "پوسته شما (غیرقابل بروزرسانی) قرار گیرد."
|
3834 |
|
3835 |
#~ msgid "Purchase & Install"
|
3836 |
#~ msgstr "خرید و نصب"
|
3848 |
#~ "ACF will create a .xml export file which is compatible with the native WP "
|
3849 |
#~ "import plugin."
|
3850 |
#~ msgstr ""
|
3851 |
+
#~ "افزونه زمینه های دلخواه پیشرفته یک پرونده خروجی (.xml) را ایجاد خواهد کرد که "
|
3852 |
+
#~ "با افزونه Wordpress Importer سازگار است."
|
3853 |
|
3854 |
#~ msgid ""
|
3855 |
#~ "Imported field groups <b>will</b> appear in the list of editable field "
|
3856 |
#~ "groups. This is useful for migrating fields groups between Wp websites."
|
3857 |
#~ msgstr ""
|
3858 |
+
#~ "گروه های زمینه درون ریزی شده در لیست گروه های زمینه قابل ویرایش نمایش داده "
|
3859 |
+
#~ "<b>خواهند شد</b>. این روش برای انتقال گروه های زمینه در بین سایت های وردپرسی "
|
3860 |
+
#~ "مفید است."
|
3861 |
|
3862 |
#~ msgid "Select field group(s) from the list and click \"Export XML\""
|
3863 |
#~ msgstr ""
|
3888 |
#~ "اختیاران قرار می دهد"
|
3889 |
|
3890 |
#~ msgid ""
|
3891 |
+
#~ "Registered field groups <b>will not</b> appear in the list of editable field "
|
3892 |
+
#~ "groups. This is useful for including fields in themes."
|
3893 |
#~ msgstr ""
|
3894 |
#~ "گروه های زمینه ساخته خواهند شد ولی قابل ویرایش <b>نخواهند بود</b>.یعنی در "
|
3895 |
#~ "لیست افزونه برای ویرایش دیده نمی شوند. این روش برای قرار دادن زمینه ها در "
|
3896 |
#~ "پوسته ها (برای مشتری) مفید است."
|
3897 |
|
3898 |
#~ msgid ""
|
3899 |
+
#~ "Please note that if you export and register field groups within the same WP, "
|
3900 |
+
#~ "you will see duplicate fields on your edit screens. To fix this, please move "
|
3901 |
+
#~ "the original field group to the trash or remove the code from your functions."
|
3902 |
+
#~ "php file."
|
3903 |
#~ msgstr ""
|
3904 |
#~ "لطفا توجه کنید که اگر از هر دو روش ذکر شما در یک وردپرس به صورت هم زمان "
|
3905 |
+
#~ "استفاده کنید، در صفحه ویرایش مطالب، دو بار زمینه ها را خواهید دید. واضح است "
|
3906 |
+
#~ "که برای حل این مشکل یا باید زمینه ها را از افزونه حذف کنید یا کدهای php را "
|
3907 |
+
#~ "از پوسته و احتمالا functions.php حذف کنید."
|
3908 |
|
3909 |
#~ msgid "Select field group(s) from the list and click \"Create PHP\""
|
3910 |
#~ msgstr ""
|
3917 |
#~ msgid "Paste into your functions.php file"
|
3918 |
#~ msgstr "در فایل functions.php پوسته خود قرار دهید"
|
3919 |
|
3920 |
+
#~ msgid "To activate any Add-ons, edit and use the code in the first few lines."
|
|
|
3921 |
#~ msgstr "برای فعالسازی افزودنی ها،چند سطر اول کدها را ویرایش و استفاده کنید"
|
3922 |
|
3923 |
#~ msgid "Notes"
|
3927 |
#~ msgstr "قرار دادن در پوسته"
|
3928 |
|
3929 |
#~ msgid ""
|
3930 |
+
#~ "The Advanced Custom Fields plugin can be included within a theme. To do so, "
|
3931 |
+
#~ "move the ACF plugin inside your theme and add the following code to your "
|
3932 |
+
#~ "functions.php file:"
|
3933 |
#~ msgstr ""
|
3934 |
+
#~ "افزونه زمینه های دلخواه پیشرفته وردپرس می تواند در داخل یک پوسته قرار بگیرد. "
|
3935 |
+
#~ "برای انجام این کار، افزونه را به کنار پوسته تان انتقال دهید و کدهای زیر را "
|
3936 |
+
#~ "به پرونده functions.php اضافه کنید:"
|
3937 |
|
3938 |
#~ msgid ""
|
3939 |
+
#~ "To remove all visual interfaces from the ACF plugin, you can use a constant "
|
3940 |
+
#~ "to enable lite mode. Add the following code to your functions.php file "
|
3941 |
+
#~ "<b>before</b> the include_once code:"
|
3942 |
#~ msgstr ""
|
3943 |
#~ "برای حذف همه رابط های بصری از افزونه زمینه های دلخواه پیشرفته (دیده نشدن "
|
3944 |
#~ "افزونه)، می توانید از یک ثابت (کانستنت) برای فعال سازی حالت سبک (lite) "
|
3955 |
#~ msgstr "کدهای فعالسازی در افزونه ها افزایش یافته اند!"
|
3956 |
|
3957 |
#~ msgid ""
|
3958 |
+
#~ "Add-ons are now activated by downloading and installing individual plugins. "
|
3959 |
+
#~ "Although these plugins will not be hosted on the wordpress.org repository, "
|
3960 |
+
#~ "each Add-on will continue to receive updates in the usual way."
|
3961 |
#~ msgstr ""
|
3962 |
#~ "افزودنی ها الان با دریافت و نصب افزونه های جداگانه فعال می شوند. با اینکه "
|
3963 |
+
#~ "این افزونه ها در مخزن وردپرس پشتیبانی نخواهند شد، هر افزودنی به صورت معمول "
|
3964 |
+
#~ "به روز رسانی را دریافت خواهد کرد."
|
3965 |
|
3966 |
#~ msgid "All previous Add-ons have been successfully installed"
|
3967 |
#~ msgstr "تمام افزونه های قبلی با موفقیت نصب شده اند"
|
3973 |
#~ msgstr "افزودنی های فعال شده ی خود را دانلود کنید"
|
3974 |
|
3975 |
#~ msgid ""
|
3976 |
+
#~ "This website does not use premium Add-ons and will not be affected by this "
|
3977 |
+
#~ "change."
|
3978 |
#~ msgstr ""
|
3979 |
#~ "این سایت از افزودنی های ویژه استفاده نمی کند و تحت تأثیر این تغییر قرار "
|
3980 |
#~ "نخواهد گرفت"
|
3995 |
#~ msgstr "زمینه رمزعبور"
|
3996 |
|
3997 |
#~ msgid ""
|
3998 |
+
#~ "Creating your own field type has never been easier! Unfortunately, version 3 "
|
3999 |
+
#~ "field types are not compatible with version 4."
|
4000 |
#~ msgstr ""
|
4001 |
+
#~ "ساخت نوع زمینه دلخواه برای خودتان هرگز به این آسانی نبوده! متأسفانه، انواع "
|
4002 |
+
#~ "زمینه های نسخه 3 با نسخه 4 سازگار نیستند."
|
4003 |
|
4004 |
#~ msgid "Migrating your field types is easy, please"
|
4005 |
+
#~ msgstr "انتقال انواع زمینه ها آسان است. پس لطفا افزونه خود را بروزرسانی کنید."
|
|
|
4006 |
|
4007 |
#~ msgid "follow this tutorial"
|
4008 |
#~ msgstr "این آموزش را دنبال کنید"
|
4014 |
#~ msgstr "اکشن ها و فیلترها"
|
4015 |
|
4016 |
#~ msgid ""
|
4017 |
+
#~ "All actions & filters have received a major facelift to make customizing ACF "
|
4018 |
+
#~ "even easier! Please"
|
4019 |
#~ msgstr ""
|
4020 |
+
#~ "همه اکشن ها و فیلترها دارای تغییرات عمده ای شدند تا دلخواه سازی ACF از قبل "
|
4021 |
+
#~ "آسانتر شود"
|
4022 |
|
4023 |
#~ msgid "read this guide"
|
4024 |
#~ msgstr "لطفا راهنما را مطالعه فرمایید"
|
4040 |
|
4041 |
#~ msgid ""
|
4042 |
#~ "Absolutely <strong>no</strong> changes have been made to the database "
|
4043 |
+
#~ "between versions 3 and 4. This means you can roll back to version 3 without "
|
4044 |
+
#~ "any issues."
|
4045 |
#~ msgstr ""
|
4046 |
#~ "<strong>هیچ تغییری</strong> در پایگاه داده بین نسخه 3 و 4 ایجاد نشده است. "
|
4047 |
+
#~ "این بدین معنی است که شما می توانید بدون هیچ گونه مسئله ای به نسخه 3 برگردید."
|
|
|
4048 |
|
4049 |
#~ msgid "Potential Issues"
|
4050 |
#~ msgstr "مسائل بالقوه"
|
4083 |
#~ msgstr "از شما متشکرم"
|
4084 |
|
4085 |
#~ msgid ""
|
4086 |
+
#~ "A <strong>BIG</strong> thank you to everyone who has helped test the version "
|
4087 |
+
#~ "4 beta and for all the support I have received."
|
4088 |
#~ msgstr ""
|
4089 |
+
#~ "یک <strong>تشکر بزرگ</strong> از شما و همه کسانی که در تست نسخه 4 بتا به من "
|
4090 |
+
#~ "کمک کردند میکنم. برای تمام کمک ها و پشتیبانی هایی که دریافت کردم نیز از همه "
|
4091 |
+
#~ "شما متشکرم."
|
4092 |
|
4093 |
#~ msgid "Without you all, this release would not have been possible!"
|
4094 |
#~ msgstr "بدون همه شما انتشار این نسخه امکان پذیر نبود!"
|
4103 |
#~ msgstr "بازنگری"
|
4104 |
|
4105 |
#~ msgid ""
|
4106 |
+
#~ "Previously, all Add-ons were unlocked via an activation code (purchased from "
|
4107 |
+
#~ "the ACF Add-ons store). New to v4, all Add-ons act as separate plugins which "
|
4108 |
+
#~ "need to be individually downloaded, installed and updated."
|
4109 |
#~ msgstr ""
|
4110 |
#~ "پیش از این، قفل همه افزودنی ها از طریق یک کد فعالسازی (خریداری شده از "
|
4111 |
+
#~ "فروشگاه افزودنی ها) باز می شدند.اما در نسخه 4 همه آنها به صورت افزودنی های "
|
4112 |
+
#~ "جداگانه هستند و باید به صورت جدا دریافت، نصب و بروزرسانی شوند."
|
4113 |
|
4114 |
#~ msgid ""
|
4115 |
+
#~ "This page will assist you in downloading and installing each available Add-"
|
4116 |
+
#~ "on."
|
4117 |
#~ msgstr "این برگه به شما در دریافت و نصب هر افزودنی موجود کمک خواهد کرد."
|
4118 |
|
4119 |
#~ msgid "Available Add-ons"
|
4120 |
#~ msgstr "افزودنی های موجود"
|
4121 |
|
4122 |
+
#~ msgid "The following Add-ons have been detected as activated on this website."
|
|
|
4123 |
#~ msgstr "افزودنی های زیر به صورت فعال در این سایت شناسایی شده اند"
|
4124 |
|
4125 |
#~ msgid "Installation"
|
4137 |
#~ msgid "Plugins > Add New > Upload"
|
4138 |
#~ msgstr "افزونه ها > افزودن > بارگذاری"
|
4139 |
|
4140 |
+
#~ msgid "Use the uploader to browse, select and install your Add-on (.zip file)"
|
|
|
4141 |
#~ msgstr ""
|
4142 |
+
#~ "از بارگذار برای انتخاب فایل استفاده کنید. افزودنی خود را (پرونده ZIP) انتخاب "
|
4143 |
+
#~ "و نصب نمایید"
|
4144 |
|
4145 |
#~ msgid ""
|
4146 |
+
#~ "Once the plugin has been uploaded and installed, click the 'Activate Plugin' "
|
4147 |
+
#~ "link"
|
4148 |
#~ msgstr ""
|
4149 |
#~ "هنگامی که یک افزونه دریافت و نصب شده است، روی لینک (( فعال کردن افزونه)) "
|
4150 |
#~ "کلیک کنید"
|
4220 |
#~ msgstr "فرمت ذخیره"
|
4221 |
|
4222 |
#~ msgid ""
|
4223 |
+
#~ "This format will determin the value saved to the database and returned via "
|
4224 |
+
#~ "the API"
|
4225 |
#~ msgstr ""
|
4226 |
+
#~ "این فرمت مقدار ذخیره شده در پایگاه داده را مشخص خواهد کرد و از طریق API قابل "
|
4227 |
+
#~ "خواندن است"
|
4228 |
|
4229 |
#~ msgid "\"yymmdd\" is the most versatile save format. Read more about"
|
4230 |
#~ msgstr "\"yymmdd\" بهترین و پر استفاده ترین فرمت ذخیره است. اطلاعات بیشتر"
|
4239 |
#~ "\"dd/mm/yy\" or \"mm/dd/yy\" are the most used Display Formats. Read more "
|
4240 |
#~ "about"
|
4241 |
#~ msgstr ""
|
4242 |
+
#~ "\"dd/mm/yy\" یا \"mm/dd/yy\" پر استفاده ترین قالب های نمایش تاریخ می باشند. "
|
4243 |
+
#~ "اطلاعات بیشتر"
|
4244 |
|
4245 |
#~ msgid "Field Order"
|
4246 |
#~ msgstr "ترتیب زمینه"
|
lang/acf-pt_PT.mo
CHANGED
Binary file
|
lang/acf-pt_PT.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Advanced Custom Fields PRO\n"
|
6 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
-
"PO-Revision-Date:
|
9 |
"Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
10 |
"Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
11 |
"Language: pt_PT\n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
-
"X-Generator: Poedit 2.2\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"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"
|
19 |
"X-Textdomain-Support: yes\n"
|
@@ -26,217 +26,217 @@ msgstr ""
|
|
26 |
msgid "Advanced Custom Fields"
|
27 |
msgstr "Advanced Custom Fields"
|
28 |
|
29 |
-
#: acf.php:
|
30 |
msgid "Field Groups"
|
31 |
msgstr "Grupos de campos"
|
32 |
|
33 |
-
#: acf.php:
|
34 |
msgid "Field Group"
|
35 |
msgstr "Grupo de campos"
|
36 |
|
37 |
-
#: acf.php:
|
38 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
39 |
msgid "Add New"
|
40 |
msgstr "Adicionar novo"
|
41 |
|
42 |
-
#: acf.php:
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr "Adicionar novo grupo de campos"
|
45 |
|
46 |
-
#: acf.php:
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr "Editar grupo de campos"
|
49 |
|
50 |
-
#: acf.php:
|
51 |
msgid "New Field Group"
|
52 |
msgstr "Novo grupo de campos"
|
53 |
|
54 |
-
#: acf.php:
|
55 |
msgid "View Field Group"
|
56 |
msgstr "Ver grupo de campos"
|
57 |
|
58 |
-
#: acf.php:
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr "Pesquisar grupos de campos"
|
61 |
|
62 |
-
#: acf.php:
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr "Nenhum grupo de campos encontrado"
|
65 |
|
66 |
-
#: acf.php:
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr "Nenhum grupo de campos encontrado no lixo"
|
69 |
|
70 |
-
#: acf.php:
|
71 |
-
#: includes/admin/admin-field-groups.php:
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr "Campos"
|
75 |
|
76 |
-
#: acf.php:
|
77 |
msgid "Field"
|
78 |
msgstr "Campo"
|
79 |
|
80 |
-
#: acf.php:
|
81 |
msgid "Add New Field"
|
82 |
msgstr "Adicionar novo campo"
|
83 |
|
84 |
-
#: acf.php:
|
85 |
msgid "Edit Field"
|
86 |
msgstr "Editar campo"
|
87 |
|
88 |
-
#: acf.php:
|
89 |
msgid "New Field"
|
90 |
msgstr "Novo campo"
|
91 |
|
92 |
-
#: acf.php:
|
93 |
msgid "View Field"
|
94 |
msgstr "Ver campo"
|
95 |
|
96 |
-
#: acf.php:
|
97 |
msgid "Search Fields"
|
98 |
msgstr "Pesquisar campos"
|
99 |
|
100 |
-
#: acf.php:
|
101 |
msgid "No Fields found"
|
102 |
msgstr "Nenhum campo encontrado"
|
103 |
|
104 |
-
#: acf.php:
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr "Nenhum campo encontrado no lixo"
|
107 |
|
108 |
-
#: acf.php:
|
109 |
-
#: includes/admin/admin-field-groups.php:
|
110 |
msgid "Inactive"
|
111 |
msgstr "Inactivo"
|
112 |
|
113 |
-
#: acf.php:
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] "Inactivo <span class=\"count\">(%s)</span>"
|
118 |
msgstr[1] "Inactivos <span class=\"count\">(%s)</span>"
|
119 |
|
120 |
-
#: includes/admin/admin-field-group.php:
|
121 |
-
#: includes/admin/admin-field-group.php:
|
122 |
-
#: includes/admin/admin-field-group.php:
|
123 |
msgid "Field group updated."
|
124 |
msgstr "Grupo de campos actualizado."
|
125 |
|
126 |
-
#: includes/admin/admin-field-group.php:
|
127 |
msgid "Field group deleted."
|
128 |
msgstr "Grupo de campos eliminado."
|
129 |
|
130 |
-
#: includes/admin/admin-field-group.php:
|
131 |
msgid "Field group published."
|
132 |
msgstr "Grupo de campos publicado."
|
133 |
|
134 |
-
#: includes/admin/admin-field-group.php:
|
135 |
msgid "Field group saved."
|
136 |
msgstr "Grupo de campos guardado."
|
137 |
|
138 |
-
#: includes/admin/admin-field-group.php:
|
139 |
msgid "Field group submitted."
|
140 |
msgstr "Grupo de campos enviado."
|
141 |
|
142 |
-
#: includes/admin/admin-field-group.php:
|
143 |
msgid "Field group scheduled for."
|
144 |
msgstr "Grupo de campos agendado."
|
145 |
|
146 |
-
#: includes/admin/admin-field-group.php:
|
147 |
msgid "Field group draft updated."
|
148 |
msgstr "Rascunho de grupo de campos actualizado."
|
149 |
|
150 |
-
#: includes/admin/admin-field-group.php:
|
151 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
152 |
msgstr "O prefixo \"field_\" não pode ser utilizado no início do nome do campo."
|
153 |
|
154 |
-
#: includes/admin/admin-field-group.php:
|
155 |
msgid "This field cannot be moved until its changes have been saved"
|
156 |
msgstr "Este campo não pode ser movido até que as suas alterações sejam guardadas."
|
157 |
|
158 |
-
#: includes/admin/admin-field-group.php:
|
159 |
msgid "Field group title is required"
|
160 |
msgstr "O título do grupo de campos é obrigatório"
|
161 |
|
162 |
-
#: includes/admin/admin-field-group.php:
|
163 |
msgid "Move to trash. Are you sure?"
|
164 |
msgstr "Mover para o lixo. Tem certeza?"
|
165 |
|
166 |
-
#: includes/admin/admin-field-group.php:
|
167 |
msgid "No toggle fields available"
|
168 |
msgstr "Nenhum campo de opções disponível"
|
169 |
|
170 |
-
#: includes/admin/admin-field-group.php:
|
171 |
msgid "Move Custom Field"
|
172 |
msgstr "Mover campo personalizado"
|
173 |
|
174 |
-
#: includes/admin/admin-field-group.php:
|
175 |
msgid "Checked"
|
176 |
msgstr "Seleccionado"
|
177 |
|
178 |
-
#: includes/admin/admin-field-group.php:
|
179 |
msgid "(no label)"
|
180 |
msgstr "(sem legenda)"
|
181 |
|
182 |
-
#: includes/admin/admin-field-group.php:
|
183 |
msgid "(this field)"
|
184 |
msgstr "(este campo)"
|
185 |
|
186 |
-
#: includes/admin/admin-field-group.php:
|
187 |
#: includes/api/api-field-group.php:751
|
188 |
msgid "copy"
|
189 |
msgstr "cópia"
|
190 |
|
191 |
-
#: includes/admin/admin-field-group.php:
|
192 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
193 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
194 |
#: includes/admin/views/field-group-locations.php:29
|
195 |
#: includes/admin/views/html-location-group.php:3
|
196 |
-
#: includes/api/api-helpers.php:
|
197 |
msgid "or"
|
198 |
msgstr "ou"
|
199 |
|
200 |
-
#: includes/admin/admin-field-group.php:
|
201 |
msgid "Null"
|
202 |
msgstr "Nulo"
|
203 |
|
204 |
-
#: includes/admin/admin-field-group.php:
|
205 |
msgid "Location"
|
206 |
msgstr "Localização"
|
207 |
|
208 |
-
#: includes/admin/admin-field-group.php:
|
209 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
210 |
msgid "Settings"
|
211 |
msgstr "Definições"
|
212 |
|
213 |
-
#: includes/admin/admin-field-group.php:
|
214 |
msgid "Field Keys"
|
215 |
msgstr "Chaves dos campos"
|
216 |
|
217 |
-
#: includes/admin/admin-field-group.php:
|
218 |
#: includes/admin/views/field-group-options.php:9
|
219 |
msgid "Active"
|
220 |
msgstr "Activo"
|
221 |
|
222 |
-
#: includes/admin/admin-field-group.php:
|
223 |
msgid "Move Complete."
|
224 |
msgstr "Movido com sucesso."
|
225 |
|
226 |
-
#: includes/admin/admin-field-group.php:
|
227 |
#, php-format
|
228 |
msgid "The %s field can now be found in the %s field group"
|
229 |
msgstr "O campo %s pode agora ser encontrado no grupo de campos %s"
|
230 |
|
231 |
-
#: includes/admin/admin-field-group.php:
|
232 |
msgid "Close Window"
|
233 |
msgstr "Fechar janela"
|
234 |
|
235 |
-
#: includes/admin/admin-field-group.php:
|
236 |
msgid "Please select the destination for this field"
|
237 |
msgstr "Por favor seleccione o destinho para este campo"
|
238 |
|
239 |
-
#: includes/admin/admin-field-group.php:
|
240 |
msgid "Move Field"
|
241 |
msgstr "Mover campo"
|
242 |
|
@@ -247,41 +247,31 @@ msgid_plural "Active <span class=\"count\">(%s)</span>"
|
|
247 |
msgstr[0] "Activo <span class=\"count\">(%s)</span>"
|
248 |
msgstr[1] "Activos <span class=\"count\">(%s)</span>"
|
249 |
|
250 |
-
#: includes/admin/admin-field-groups.php:
|
251 |
#, php-format
|
252 |
-
msgid "Field group duplicated.
|
253 |
-
msgstr "Grupo de campos duplicado. %s"
|
254 |
-
|
255 |
-
#: includes/admin/admin-field-groups.php:161
|
256 |
-
#, php-format
|
257 |
-
msgid "%s field group duplicated."
|
258 |
msgid_plural "%s field groups duplicated."
|
259 |
-
msgstr[0] "
|
260 |
msgstr[1] "%s grupos de campos duplicados."
|
261 |
|
262 |
-
#: includes/admin/admin-field-groups.php:
|
263 |
-
#, php-format
|
264 |
-
msgid "Field group synchronised. %s"
|
265 |
-
msgstr "Grupo de campos sincronizado. %s"
|
266 |
-
|
267 |
-
#: includes/admin/admin-field-groups.php:246
|
268 |
#, php-format
|
269 |
-
msgid "
|
270 |
msgid_plural "%s field groups synchronised."
|
271 |
-
msgstr[0] "
|
272 |
msgstr[1] "%s grupos de campos sincronizados."
|
273 |
|
274 |
-
#: includes/admin/admin-field-groups.php:
|
275 |
-
#: includes/admin/admin-field-groups.php:
|
276 |
msgid "Sync available"
|
277 |
msgstr "Sincronização disponível"
|
278 |
|
279 |
-
#: includes/admin/admin-field-groups.php:
|
280 |
#: pro/fields/class-acf-field-gallery.php:372
|
281 |
msgid "Title"
|
282 |
msgstr "Título"
|
283 |
|
284 |
-
#: includes/admin/admin-field-groups.php:
|
285 |
#: includes/admin/views/field-group-options.php:96
|
286 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
287 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
@@ -289,88 +279,88 @@ msgstr "Título"
|
|
289 |
msgid "Description"
|
290 |
msgstr "Descrição"
|
291 |
|
292 |
-
#: includes/admin/admin-field-groups.php:
|
293 |
msgid "Status"
|
294 |
msgstr "Estado"
|
295 |
|
296 |
#. Description of the plugin/theme
|
297 |
-
#: includes/admin/admin-field-groups.php:
|
298 |
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
299 |
msgstr "Personalize o WordPress com campos intuitivos, poderosos e profissionais."
|
300 |
|
301 |
-
#: includes/admin/admin-field-groups.php:
|
302 |
#: includes/admin/settings-info.php:76
|
303 |
#: pro/admin/views/html-settings-updates.php:107
|
304 |
msgid "Changelog"
|
305 |
msgstr "Registo de alterações"
|
306 |
|
307 |
-
#: includes/admin/admin-field-groups.php:
|
308 |
#, php-format
|
309 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
310 |
msgstr "Veja o que há de novo na <a href=\"%s\">versão %s</a>."
|
311 |
|
312 |
-
#: includes/admin/admin-field-groups.php:
|
313 |
msgid "Resources"
|
314 |
msgstr "Recursos"
|
315 |
|
316 |
-
#: includes/admin/admin-field-groups.php:
|
317 |
msgid "Website"
|
318 |
msgstr "Site"
|
319 |
|
320 |
-
#: includes/admin/admin-field-groups.php:
|
321 |
msgid "Documentation"
|
322 |
msgstr "Documentação"
|
323 |
|
324 |
-
#: includes/admin/admin-field-groups.php:
|
325 |
msgid "Support"
|
326 |
msgstr "Suporte"
|
327 |
|
328 |
-
#: includes/admin/admin-field-groups.php:
|
329 |
#: includes/admin/views/settings-info.php:84
|
330 |
msgid "Pro"
|
331 |
msgstr "Pro"
|
332 |
|
333 |
-
#: includes/admin/admin-field-groups.php:
|
334 |
#, php-format
|
335 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
336 |
msgstr "Obrigado por criar com o <a href=\"%s\">ACF</a>."
|
337 |
|
338 |
-
#: includes/admin/admin-field-groups.php:
|
339 |
msgid "Duplicate this item"
|
340 |
msgstr "Duplicar este item"
|
341 |
|
342 |
-
#: includes/admin/admin-field-groups.php:
|
343 |
-
#: includes/admin/admin-field-groups.php:
|
344 |
#: includes/admin/views/field-group-field.php:46
|
345 |
#: pro/fields/class-acf-field-flexible-content.php:571
|
346 |
msgid "Duplicate"
|
347 |
msgstr "Duplicar"
|
348 |
|
349 |
-
#: includes/admin/admin-field-groups.php:
|
350 |
#: includes/fields/class-acf-field-google-map.php:165
|
351 |
#: includes/fields/class-acf-field-relationship.php:593
|
352 |
msgid "Search"
|
353 |
msgstr "Pesquisa"
|
354 |
|
355 |
-
#: includes/admin/admin-field-groups.php:
|
356 |
#, php-format
|
357 |
msgid "Select %s"
|
358 |
msgstr "Seleccionar %s"
|
359 |
|
360 |
-
#: includes/admin/admin-field-groups.php:
|
361 |
msgid "Synchronise field group"
|
362 |
msgstr "Sincronizar grupo de campos"
|
363 |
|
364 |
-
#: includes/admin/admin-field-groups.php:
|
365 |
-
#: includes/admin/admin-field-groups.php:
|
366 |
msgid "Sync"
|
367 |
msgstr "Sincronizar"
|
368 |
|
369 |
-
#: includes/admin/admin-field-groups.php:
|
370 |
msgid "Apply"
|
371 |
msgstr "Aplicar"
|
372 |
|
373 |
-
#: includes/admin/admin-field-groups.php:
|
374 |
msgid "Bulk Actions"
|
375 |
msgstr "Acções por lotes"
|
376 |
|
@@ -390,20 +380,10 @@ msgstr "Actualizar base de dados"
|
|
390 |
msgid "Review sites & upgrade"
|
391 |
msgstr "Rever sites e actualizar"
|
392 |
|
393 |
-
#: includes/admin/admin.php:
|
394 |
-
#: includes/admin/views/field-group-options.php:110
|
395 |
msgid "Custom Fields"
|
396 |
msgstr "Campos personalizados"
|
397 |
|
398 |
-
#: includes/admin/settings-addons.php:51
|
399 |
-
#: includes/admin/views/settings-addons.php:3
|
400 |
-
msgid "Add-ons"
|
401 |
-
msgstr "Add-ons"
|
402 |
-
|
403 |
-
#: includes/admin/settings-addons.php:87
|
404 |
-
msgid "<b>Error</b>. Could not load add-ons list"
|
405 |
-
msgstr "<b>Erro</b>. Não foi possível carregar a lista de add-ons."
|
406 |
-
|
407 |
#: includes/admin/settings-info.php:50
|
408 |
msgid "Info"
|
409 |
msgstr "Informações"
|
@@ -476,24 +456,24 @@ msgstr "Seleccionar ficheiro"
|
|
476 |
msgid "Import File"
|
477 |
msgstr "Importar ficheiro"
|
478 |
|
479 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
480 |
#: includes/fields/class-acf-field-file.php:170
|
481 |
msgid "No file selected"
|
482 |
msgstr "Nenhum ficheiro seleccionado"
|
483 |
|
484 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
485 |
msgid "Error uploading file. Please try again"
|
486 |
msgstr "Erro ao carregar ficheiro. Por favor tente de novo."
|
487 |
|
488 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
489 |
msgid "Incorrect file type"
|
490 |
msgstr "Tipo de ficheiro incorrecto"
|
491 |
|
492 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
493 |
msgid "Import file empty"
|
494 |
msgstr "Ficheiro de importação vazio"
|
495 |
|
496 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
497 |
#, php-format
|
498 |
msgid "Imported 1 field group"
|
499 |
msgid_plural "Imported %s field groups"
|
@@ -618,7 +598,7 @@ msgstr "Ordem"
|
|
618 |
#: includes/fields/class-acf-field-button-group.php:198
|
619 |
#: includes/fields/class-acf-field-checkbox.php:420
|
620 |
#: includes/fields/class-acf-field-radio.php:311
|
621 |
-
#: includes/fields/class-acf-field-select.php:
|
622 |
#: pro/fields/class-acf-field-flexible-content.php:596
|
623 |
msgid "Label"
|
624 |
msgstr "Legenda"
|
@@ -858,6 +838,10 @@ msgstr "Actualização da base de dados concluída. <a href=\"%s\">Ver o que há
|
|
858 |
msgid "No updates available."
|
859 |
msgstr "Nenhuma actualização disponível."
|
860 |
|
|
|
|
|
|
|
|
|
861 |
#: includes/admin/views/html-location-group.php:3
|
862 |
msgid "Show this field group if"
|
863 |
msgstr "Mostrar este grupo de campos se"
|
@@ -900,6 +884,10 @@ msgstr "Esta versão inclui melhorias na base de dados e requer uma actualizaç
|
|
900 |
msgid "Please also check all premium add-ons (%s) are updated to the latest version."
|
901 |
msgstr "Por favor, verifique se todos os add-ons premium (%s) estão actualizados para a última versão."
|
902 |
|
|
|
|
|
|
|
|
|
903 |
#: includes/admin/views/settings-addons.php:17
|
904 |
msgid "Download & Install"
|
905 |
msgstr "Descarregar e instalar"
|
@@ -1109,58 +1097,58 @@ msgstr "Nova funcionalidade de grupo de campos permite mover um campo entre grup
|
|
1109 |
msgid "We think you'll love the changes in %s."
|
1110 |
msgstr "Pensamos que vai gostar das alterações na versão %s."
|
1111 |
|
1112 |
-
#: includes/api/api-helpers.php:
|
1113 |
msgid "Thumbnail"
|
1114 |
msgstr "Miniatura"
|
1115 |
|
1116 |
-
#: includes/api/api-helpers.php:
|
1117 |
msgid "Medium"
|
1118 |
msgstr "Média"
|
1119 |
|
1120 |
-
#: includes/api/api-helpers.php:
|
1121 |
msgid "Large"
|
1122 |
msgstr "Grande"
|
1123 |
|
1124 |
-
#: includes/api/api-helpers.php:
|
1125 |
msgid "Full Size"
|
1126 |
msgstr "Tamanho original"
|
1127 |
|
1128 |
-
#: includes/api/api-helpers.php:
|
1129 |
#: pro/fields/class-acf-field-clone.php:996
|
1130 |
msgid "(no title)"
|
1131 |
msgstr "(sem título)"
|
1132 |
|
1133 |
-
#: includes/api/api-helpers.php:
|
1134 |
#, php-format
|
1135 |
msgid "Image width must be at least %dpx."
|
1136 |
msgstr "A largura da imagem deve ser pelo menos de %dpx."
|
1137 |
|
1138 |
-
#: includes/api/api-helpers.php:
|
1139 |
#, php-format
|
1140 |
msgid "Image width must not exceed %dpx."
|
1141 |
msgstr "A largura da imagem não deve exceder os %dpx."
|
1142 |
|
1143 |
-
#: includes/api/api-helpers.php:
|
1144 |
#, php-format
|
1145 |
msgid "Image height must be at least %dpx."
|
1146 |
msgstr "A altura da imagem deve ser pelo menos de %dpx."
|
1147 |
|
1148 |
-
#: includes/api/api-helpers.php:
|
1149 |
#, php-format
|
1150 |
msgid "Image height must not exceed %dpx."
|
1151 |
msgstr "A altura da imagem não deve exceder os %dpx."
|
1152 |
|
1153 |
-
#: includes/api/api-helpers.php:
|
1154 |
#, php-format
|
1155 |
msgid "File size must be at least %s."
|
1156 |
msgstr "O tamanho do ficheiro deve ser pelo menos de %s."
|
1157 |
|
1158 |
-
#: includes/api/api-helpers.php:
|
1159 |
#, php-format
|
1160 |
msgid "File size must must not exceed %s."
|
1161 |
msgstr "O tamanho do ficheiro não deve exceder %s."
|
1162 |
|
1163 |
-
#: includes/api/api-helpers.php:
|
1164 |
#, php-format
|
1165 |
msgid "File type must be %s."
|
1166 |
msgstr "O tipo de ficheiro deve ser %s."
|
@@ -1242,7 +1230,7 @@ msgstr "Não"
|
|
1242 |
#: includes/fields/class-acf-field-image.php:141
|
1243 |
#: includes/fields/class-acf-field-link.php:140
|
1244 |
#: pro/fields/class-acf-field-gallery.php:360
|
1245 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1246 |
msgid "Remove"
|
1247 |
msgstr "Remover"
|
1248 |
|
@@ -1291,7 +1279,7 @@ msgid "Selection is less than"
|
|
1291 |
msgstr "A selecção é menor do que"
|
1292 |
|
1293 |
#: includes/assets.php:206 includes/forms/form-comment.php:166
|
1294 |
-
#: pro/admin/admin-options-page.php:
|
1295 |
msgid "Edit field group"
|
1296 |
msgstr "Editar grupo de campos"
|
1297 |
|
@@ -1370,28 +1358,28 @@ msgstr "Grupo de botões"
|
|
1370 |
#: includes/fields/class-acf-field-button-group.php:149
|
1371 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1372 |
#: includes/fields/class-acf-field-radio.php:235
|
1373 |
-
#: includes/fields/class-acf-field-select.php:
|
1374 |
msgid "Choices"
|
1375 |
msgstr "Opções"
|
1376 |
|
1377 |
#: includes/fields/class-acf-field-button-group.php:150
|
1378 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1379 |
#: includes/fields/class-acf-field-radio.php:236
|
1380 |
-
#: includes/fields/class-acf-field-select.php:
|
1381 |
msgid "Enter each choice on a new line."
|
1382 |
msgstr "Insira cada opção numa linha separada."
|
1383 |
|
1384 |
#: includes/fields/class-acf-field-button-group.php:150
|
1385 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1386 |
#: includes/fields/class-acf-field-radio.php:236
|
1387 |
-
#: includes/fields/class-acf-field-select.php:
|
1388 |
msgid "For more control, you may specify both a value and label like this:"
|
1389 |
msgstr "Para maior controlo, pode especificar tanto os valores como as legendas:"
|
1390 |
|
1391 |
#: includes/fields/class-acf-field-button-group.php:150
|
1392 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1393 |
#: includes/fields/class-acf-field-radio.php:236
|
1394 |
-
#: includes/fields/class-acf-field-select.php:
|
1395 |
msgid "red : Red"
|
1396 |
msgstr "vermelho : Vermelho"
|
1397 |
|
@@ -1399,9 +1387,9 @@ msgstr "vermelho : Vermelho"
|
|
1399 |
#: includes/fields/class-acf-field-page_link.php:513
|
1400 |
#: includes/fields/class-acf-field-post_object.php:411
|
1401 |
#: includes/fields/class-acf-field-radio.php:244
|
1402 |
-
#: includes/fields/class-acf-field-select.php:
|
1403 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1404 |
-
#: includes/fields/class-acf-field-user.php:
|
1405 |
msgid "Allow Null?"
|
1406 |
msgstr "Permitir nulo?"
|
1407 |
|
@@ -1412,7 +1400,7 @@ msgstr "Permitir nulo?"
|
|
1412 |
#: includes/fields/class-acf-field-number.php:127
|
1413 |
#: includes/fields/class-acf-field-radio.php:281
|
1414 |
#: includes/fields/class-acf-field-range.php:149
|
1415 |
-
#: includes/fields/class-acf-field-select.php:
|
1416 |
#: includes/fields/class-acf-field-text.php:119
|
1417 |
#: includes/fields/class-acf-field-textarea.php:102
|
1418 |
#: includes/fields/class-acf-field-true_false.php:135
|
@@ -1467,14 +1455,14 @@ msgstr "Especifica o valor devolvido na frente do site."
|
|
1467 |
#: includes/fields/class-acf-field-button-group.php:197
|
1468 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1469 |
#: includes/fields/class-acf-field-radio.php:310
|
1470 |
-
#: includes/fields/class-acf-field-select.php:
|
1471 |
msgid "Value"
|
1472 |
msgstr "Valor"
|
1473 |
|
1474 |
#: includes/fields/class-acf-field-button-group.php:199
|
1475 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1476 |
#: includes/fields/class-acf-field-radio.php:312
|
1477 |
-
#: includes/fields/class-acf-field-select.php:
|
1478 |
msgid "Both (Array)"
|
1479 |
msgstr "Ambos (Array)"
|
1480 |
|
@@ -1508,7 +1496,7 @@ msgid "Save 'custom' values to the field's choices"
|
|
1508 |
msgstr "Guarda valores personalizados nas opções do campo"
|
1509 |
|
1510 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1511 |
-
#: includes/fields/class-acf-field-select.php:
|
1512 |
msgid "Enter each default value on a new line"
|
1513 |
msgstr "Insira cada valor por omissão numa linha separada"
|
1514 |
|
@@ -1602,9 +1590,9 @@ msgstr "O formato usado ao guardar um valor"
|
|
1602 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
1603 |
#: includes/fields/class-acf-field-post_object.php:431
|
1604 |
#: includes/fields/class-acf-field-relationship.php:634
|
1605 |
-
#: includes/fields/class-acf-field-select.php:
|
1606 |
#: includes/fields/class-acf-field-time_picker.php:124
|
1607 |
-
#: includes/fields/class-acf-field-user.php:
|
1608 |
msgid "Return Format"
|
1609 |
msgstr "Formato devolvido"
|
1610 |
|
@@ -1773,8 +1761,8 @@ msgstr "Nome do ficheiro"
|
|
1773 |
#: includes/fields/class-acf-field-file.php:259
|
1774 |
#: includes/fields/class-acf-field-image.php:265
|
1775 |
#: includes/fields/class-acf-field-image.php:294
|
1776 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1777 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1778 |
msgid "File size"
|
1779 |
msgstr "Tamanho do ficheiro"
|
1780 |
|
@@ -1796,13 +1784,13 @@ msgstr "ID do ficheiro"
|
|
1796 |
|
1797 |
#: includes/fields/class-acf-field-file.php:230
|
1798 |
#: includes/fields/class-acf-field-image.php:230
|
1799 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1800 |
msgid "Library"
|
1801 |
msgstr "Biblioteca"
|
1802 |
|
1803 |
#: includes/fields/class-acf-field-file.php:231
|
1804 |
#: includes/fields/class-acf-field-image.php:231
|
1805 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1806 |
msgid "Limit the media library choice"
|
1807 |
msgstr "Limita a escolha da biblioteca de media."
|
1808 |
|
@@ -1815,19 +1803,19 @@ msgstr "Limita a escolha da biblioteca de media."
|
|
1815 |
#: includes/locations/class-acf-location-user-form.php:87
|
1816 |
#: includes/locations/class-acf-location-user-role.php:111
|
1817 |
#: includes/locations/class-acf-location-widget.php:83
|
1818 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1819 |
msgid "All"
|
1820 |
msgstr "Todos"
|
1821 |
|
1822 |
#: includes/fields/class-acf-field-file.php:237
|
1823 |
#: includes/fields/class-acf-field-image.php:237
|
1824 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1825 |
msgid "Uploaded to post"
|
1826 |
msgstr "Carregados no artigo"
|
1827 |
|
1828 |
#: includes/fields/class-acf-field-file.php:244
|
1829 |
#: includes/fields/class-acf-field-image.php:244
|
1830 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1831 |
msgid "Minimum"
|
1832 |
msgstr "Mínimo"
|
1833 |
|
@@ -1838,19 +1826,19 @@ msgstr "Restringe que ficheiros podem ser carregados."
|
|
1838 |
|
1839 |
#: includes/fields/class-acf-field-file.php:255
|
1840 |
#: includes/fields/class-acf-field-image.php:273
|
1841 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1842 |
msgid "Maximum"
|
1843 |
msgstr "Máximo"
|
1844 |
|
1845 |
#: includes/fields/class-acf-field-file.php:266
|
1846 |
#: includes/fields/class-acf-field-image.php:302
|
1847 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1848 |
msgid "Allowed file types"
|
1849 |
msgstr "Tipos de ficheiros permitidos"
|
1850 |
|
1851 |
#: includes/fields/class-acf-field-file.php:267
|
1852 |
#: includes/fields/class-acf-field-image.php:303
|
1853 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1854 |
msgid "Comma separated list. Leave blank for all types"
|
1855 |
msgstr "Lista separada por vírgulas. Deixe em branco para permitir todos os tipos."
|
1856 |
|
@@ -1896,8 +1884,8 @@ msgstr "Definir o nível de zoom inicial"
|
|
1896 |
#: includes/fields/class-acf-field-image.php:256
|
1897 |
#: includes/fields/class-acf-field-image.php:285
|
1898 |
#: includes/fields/class-acf-field-oembed.php:268
|
1899 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1900 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1901 |
msgid "Height"
|
1902 |
msgstr "Altura"
|
1903 |
|
@@ -1986,16 +1974,16 @@ msgstr "Mostrado ao inserir dados"
|
|
1986 |
|
1987 |
#: includes/fields/class-acf-field-image.php:245
|
1988 |
#: includes/fields/class-acf-field-image.php:274
|
1989 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1990 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1991 |
msgid "Restrict which images can be uploaded"
|
1992 |
msgstr "Restringir que imagens que ser carregadas"
|
1993 |
|
1994 |
#: includes/fields/class-acf-field-image.php:248
|
1995 |
#: includes/fields/class-acf-field-image.php:277
|
1996 |
#: includes/fields/class-acf-field-oembed.php:257
|
1997 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1998 |
-
#: pro/fields/class-acf-field-gallery.php:
|
1999 |
msgid "Width"
|
2000 |
msgstr "Largura"
|
2001 |
|
@@ -2148,8 +2136,8 @@ msgstr "Permitir URL do arquivo"
|
|
2148 |
|
2149 |
#: includes/fields/class-acf-field-page_link.php:533
|
2150 |
#: includes/fields/class-acf-field-post_object.php:421
|
2151 |
-
#: includes/fields/class-acf-field-select.php:
|
2152 |
-
#: includes/fields/class-acf-field-user.php:
|
2153 |
msgid "Select multiple values?"
|
2154 |
msgstr "Seleccionar valores múltiplos?"
|
2155 |
|
@@ -2253,7 +2241,7 @@ msgid "Maximum posts"
|
|
2253 |
msgstr "Máximo de conteúdos"
|
2254 |
|
2255 |
#: includes/fields/class-acf-field-relationship.php:727
|
2256 |
-
#: pro/fields/class-acf-field-gallery.php:
|
2257 |
#, php-format
|
2258 |
msgid "%s requires at least %s selection"
|
2259 |
msgid_plural "%s requires at least %s selections"
|
@@ -2330,16 +2318,16 @@ msgctxt "Select2 JS load_fail"
|
|
2330 |
msgid "Loading failed"
|
2331 |
msgstr "Falhou ao carregar"
|
2332 |
|
2333 |
-
#: includes/fields/class-acf-field-select.php:
|
2334 |
#: includes/fields/class-acf-field-true_false.php:144
|
2335 |
msgid "Stylised UI"
|
2336 |
msgstr "Interface estilizada"
|
2337 |
|
2338 |
-
#: includes/fields/class-acf-field-select.php:
|
2339 |
msgid "Use AJAX to lazy load choices?"
|
2340 |
msgstr "Utilizar AJAX para carregar opções?"
|
2341 |
|
2342 |
-
#: includes/fields/class-acf-field-select.php:
|
2343 |
msgid "Specify the value returned"
|
2344 |
msgstr "Especifica o valor devolvido."
|
2345 |
|
@@ -2510,23 +2498,23 @@ msgstr "O valor deve ser um URL válido"
|
|
2510 |
msgid "User"
|
2511 |
msgstr "Utilizador"
|
2512 |
|
2513 |
-
#: includes/fields/class-acf-field-user.php:
|
2514 |
msgid "Filter by role"
|
2515 |
msgstr "Filtrar por papel"
|
2516 |
|
2517 |
-
#: includes/fields/class-acf-field-user.php:
|
2518 |
msgid "All user roles"
|
2519 |
msgstr "Todos os papéis de utilizador"
|
2520 |
|
2521 |
-
#: includes/fields/class-acf-field-user.php:
|
2522 |
msgid "User Array"
|
2523 |
msgstr "Array do utilizador"
|
2524 |
|
2525 |
-
#: includes/fields/class-acf-field-user.php:
|
2526 |
msgid "User Object"
|
2527 |
msgstr "Objecto do utilizador"
|
2528 |
|
2529 |
-
#: includes/fields/class-acf-field-user.php:
|
2530 |
msgid "User ID"
|
2531 |
msgstr "ID do utilizador"
|
2532 |
|
@@ -2583,7 +2571,7 @@ msgstr "O TinyMCE não será inicializado até que clique no campo"
|
|
2583 |
msgid "Validate Email"
|
2584 |
msgstr "Validar email"
|
2585 |
|
2586 |
-
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:
|
2587 |
#: pro/options-page.php:81
|
2588 |
msgid "Update"
|
2589 |
msgstr "Actualizar"
|
@@ -2756,25 +2744,24 @@ msgstr "O valor %s é obrigatório"
|
|
2756 |
msgid "Advanced Custom Fields PRO"
|
2757 |
msgstr "Advanced Custom Fields PRO"
|
2758 |
|
2759 |
-
#: pro/admin/admin-options-page.php:
|
2760 |
msgid "Publish"
|
2761 |
msgstr "Publicado"
|
2762 |
|
2763 |
-
#: pro/admin/admin-options-page.php:
|
2764 |
#, php-format
|
2765 |
msgid "No Custom Field Groups found for this options page. <a href=\"%s\">Create a Custom Field Group</a>"
|
2766 |
msgstr "Nenhum grupo de campos personalizado encontrado na página de opções. <a href=\"%s\">Criar um grupo de campos personalizado</a>"
|
2767 |
|
2768 |
-
#: pro/admin/admin-
|
2769 |
msgid "<b>Error</b>. Could not connect to update server"
|
2770 |
msgstr "<b>Erro</b>. Não foi possível ligar ao servidor de actualização."
|
2771 |
|
2772 |
-
#: pro/admin/admin-settings-updates.php:
|
2773 |
-
#: pro/admin/views/html-settings-updates.php:13
|
2774 |
msgid "Updates"
|
2775 |
msgstr "Actualizações"
|
2776 |
|
2777 |
-
#: pro/admin/admin-
|
2778 |
msgid "<b>Error</b>. Could not authenticate update package. Please check again or deactivate and reactivate your ACF PRO license."
|
2779 |
msgstr "<b>Erro</b>. 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."
|
2780 |
|
@@ -3006,55 +2993,55 @@ msgstr "Legenda"
|
|
3006 |
msgid "Alt Text"
|
3007 |
msgstr "Texto alternativo"
|
3008 |
|
3009 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3010 |
msgid "Add to gallery"
|
3011 |
msgstr "Adicionar à galeria"
|
3012 |
|
3013 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3014 |
msgid "Bulk actions"
|
3015 |
msgstr "Acções por lotes"
|
3016 |
|
3017 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3018 |
msgid "Sort by date uploaded"
|
3019 |
msgstr "Ordenar por data de carregamento"
|
3020 |
|
3021 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3022 |
msgid "Sort by date modified"
|
3023 |
msgstr "Ordenar por data de modificação"
|
3024 |
|
3025 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3026 |
msgid "Sort by title"
|
3027 |
msgstr "Ordenar por título"
|
3028 |
|
3029 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3030 |
msgid "Reverse current order"
|
3031 |
msgstr "Inverter ordem actual"
|
3032 |
|
3033 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3034 |
msgid "Close"
|
3035 |
msgstr "Fechar"
|
3036 |
|
3037 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3038 |
msgid "Minimum Selection"
|
3039 |
msgstr "Selecção mínima"
|
3040 |
|
3041 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3042 |
msgid "Maximum Selection"
|
3043 |
msgstr "Selecção máxima"
|
3044 |
|
3045 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3046 |
msgid "Insert"
|
3047 |
msgstr "Inserir"
|
3048 |
|
3049 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3050 |
msgid "Specify where new attachments are added"
|
3051 |
msgstr "Especifica onde serão adicionados os novos anexos."
|
3052 |
|
3053 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3054 |
msgid "Append to the end"
|
3055 |
msgstr "No fim"
|
3056 |
|
3057 |
-
#: pro/fields/class-acf-field-gallery.php:
|
3058 |
msgid "Prepend to the beginning"
|
3059 |
msgstr "No início"
|
3060 |
|
@@ -3119,141 +3106,3 @@ msgstr "Elliot Condon"
|
|
3119 |
#. Author URI of the plugin/theme
|
3120 |
msgid "http://www.elliotcondon.com/"
|
3121 |
msgstr "http://www.elliotcondon.com/"
|
3122 |
-
|
3123 |
-
#~ msgid "Customise WordPress with powerful, professional and intuitive fields."
|
3124 |
-
#~ msgstr "Personalize o WordPress com campos intuitivos, poderosos e profissionais."
|
3125 |
-
|
3126 |
-
#~ msgid "Customise the map height"
|
3127 |
-
#~ msgstr "Personalizar a altura do mapa"
|
3128 |
-
|
3129 |
-
#~ msgid "Error validating request"
|
3130 |
-
#~ msgstr "Erro ao validar pedido."
|
3131 |
-
|
3132 |
-
#~ msgid "Advanced Custom Fields Database Upgrade"
|
3133 |
-
#~ msgstr "Actualização da base de dados do Advanced Custom Fields"
|
3134 |
-
|
3135 |
-
#~ msgid "Upgrade complete"
|
3136 |
-
#~ msgstr "Actualização concluída"
|
3137 |
-
|
3138 |
-
#~ msgid "Before you start using the new awesome features, please update your database to the newest version."
|
3139 |
-
#~ 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."
|
3140 |
-
|
3141 |
-
#~ msgid "Please also ensure any premium add-ons (%s) have first been updated to the latest version."
|
3142 |
-
#~ msgstr "Por favor, em primeiro lugar certifique-se de actualizar todos os add-ons premium (%s) para a última versão."
|
3143 |
-
|
3144 |
-
#~ msgid "Database Upgrade complete. <a href=\"%s\">See what's new</a>"
|
3145 |
-
#~ msgstr "Actualização da base de dados concluída. <a href=\"%s\">Ver o que há de novo</a>"
|
3146 |
-
|
3147 |
-
#~ msgid "A smoother custom field experience"
|
3148 |
-
#~ msgstr "Uma experiência mais fácil com campos personalizados"
|
3149 |
-
|
3150 |
-
#~ msgid "To help make upgrading easy, <a href=\"%s\">login to your store account</a> and claim a free copy of ACF PRO!"
|
3151 |
-
#~ msgstr "Para facilitar a actualização, <a href=\"%s\">inicie sessão na sua conta da loja</a> e obtenha uma cópia gratuita do ACF PRO!"
|
3152 |
-
|
3153 |
-
#~ msgid "We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, but if you do have one, please contact our support team via the <a href=\"%s\">help desk</a>"
|
3154 |
-
#~ msgstr "Escrevemos um <a href=\"%s\">guia de actualização</a> para responder a todas as dúvidas, se tiver alguma questão, por favor contacte a nossa equipa de suporte através da <a href=\"%s\">central de ajuda</a>."
|
3155 |
-
|
3156 |
-
#~ msgid "Under the Hood"
|
3157 |
-
#~ msgstr "Nos bastidores"
|
3158 |
-
|
3159 |
-
#~ msgid "Smarter field settings"
|
3160 |
-
#~ msgstr "Definições mais inteligentes dos campos"
|
3161 |
-
|
3162 |
-
#~ msgid "ACF now saves its field settings as individual post objects"
|
3163 |
-
#~ msgstr "O ACF agora guarda as suas definições de campos como conteúdos individuais"
|
3164 |
-
|
3165 |
-
#~ msgid "More fields use AJAX powered search to speed up page loading"
|
3166 |
-
#~ msgstr "Mais campos utilizam pesquisa com AJAX para aumentar a velocidade de carregamento"
|
3167 |
-
|
3168 |
-
#~ msgid "New auto export to JSON feature improves speed"
|
3169 |
-
#~ msgstr "Nova funcionalidade de exportação automática para JSON melhora a velocidade"
|
3170 |
-
|
3171 |
-
#~ msgid "Better version control"
|
3172 |
-
#~ msgstr "Melhor controlo de versões"
|
3173 |
-
|
3174 |
-
#~ msgid "New auto export to JSON feature allows field settings to be version controlled"
|
3175 |
-
#~ msgstr "Nova funcionalidade de exportação automática para JSON permite que as definições sejam controladas por versão"
|
3176 |
-
|
3177 |
-
#~ msgid "Swapped XML for JSON"
|
3178 |
-
#~ msgstr "XML substituído por JSON"
|
3179 |
-
|
3180 |
-
#~ msgid "Import / Export now uses JSON in favour of XML"
|
3181 |
-
#~ msgstr "Importar / Exportar agora utiliza JSON em vez de XML"
|
3182 |
-
|
3183 |
-
#~ msgid "New Forms"
|
3184 |
-
#~ msgstr "Novos formulários"
|
3185 |
-
|
3186 |
-
#~ msgid "Fields can now be mapped to comments, widgets and all user forms!"
|
3187 |
-
#~ msgstr "Os campos agora podem ser mapeados para comentários, widgets e formulários de utilizador!"
|
3188 |
-
|
3189 |
-
#~ msgid "A new field for embedding content has been added"
|
3190 |
-
#~ msgstr "Foi adicionado um novo campo para incorporar conteúdos"
|
3191 |
-
|
3192 |
-
#~ msgid "New Gallery"
|
3193 |
-
#~ msgstr "Nova galeria"
|
3194 |
-
|
3195 |
-
#~ msgid "The gallery field has undergone a much needed facelift"
|
3196 |
-
#~ msgstr "O campo de galeria sofreu alterações de cosmética importantes."
|
3197 |
-
|
3198 |
-
#~ msgid "Field group settings have been added for label placement and instruction placement"
|
3199 |
-
#~ msgstr "Foram adicionadas definições aos grupos de campos para a posição da legenda e instruções."
|
3200 |
-
|
3201 |
-
#~ msgid "acf_form() can now create a new post on submission"
|
3202 |
-
#~ msgstr "Com acf_form() agora pode criar um novo conteúdo ao submeter."
|
3203 |
-
|
3204 |
-
#~ msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
3205 |
-
#~ msgstr "A validação de formulários agora é feita com PHP + AJAX em vez de apenas JS."
|
3206 |
-
|
3207 |
-
#~ msgid "Relationship Field"
|
3208 |
-
#~ msgstr "Campo de relação"
|
3209 |
-
|
3210 |
-
#~ msgid "New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
3211 |
-
#~ msgstr "Nova definição 'Filtros' do campo Relação (Pesquisa, Tipo de conteúdo, Taxonomia)."
|
3212 |
-
|
3213 |
-
#~ msgid "New field group functionality allows you to move a field between groups & parents"
|
3214 |
-
#~ msgstr "Nova funcionalidade de grupo de campos permite mover um campo entre grupos e superiores."
|
3215 |
-
|
3216 |
-
#~ msgid "New archives group in page_link field selection"
|
3217 |
-
#~ msgstr "Novo grupo <em>Arquivo</em> no campo de selecção da ligação de página."
|
3218 |
-
|
3219 |
-
#~ msgid "Better Options Pages"
|
3220 |
-
#~ msgstr "Melhores páginas de opções"
|
3221 |
-
|
3222 |
-
#~ msgid "New functions for options page allow creation of both parent and child menu pages"
|
3223 |
-
#~ msgstr "Novas funções para as páginas de opções permitem a criação de páginas superiores e dependentes."
|
3224 |
-
|
3225 |
-
#~ msgid "Error."
|
3226 |
-
#~ msgstr "Erro."
|
3227 |
-
|
3228 |
-
#~ msgid "checked"
|
3229 |
-
#~ msgstr "seleccionado"
|
3230 |
-
|
3231 |
-
#~ msgid "None"
|
3232 |
-
#~ msgstr "Nenhuma"
|
3233 |
-
|
3234 |
-
#~ msgid "remove {layout}?"
|
3235 |
-
#~ msgstr "remover {layout}?"
|
3236 |
-
|
3237 |
-
#~ msgid "This field requires at least {min} {identifier}"
|
3238 |
-
#~ msgstr "Este campo requer pelo menos {min} {identifier}"
|
3239 |
-
|
3240 |
-
#~ msgid "This field has a limit of {max} {identifier}"
|
3241 |
-
#~ msgstr "Este campo está limitado a {max} {identifier}"
|
3242 |
-
|
3243 |
-
#~ msgid "Maximum {label} limit reached ({max} {identifier})"
|
3244 |
-
#~ msgstr "Limite máximo de {label} alcançado ({max} {identifier})"
|
3245 |
-
|
3246 |
-
#~ msgid "No conditional fields available"
|
3247 |
-
#~ msgstr "Nenhum campo condicional disponível"
|
3248 |
-
|
3249 |
-
#~ msgid "Parent fields"
|
3250 |
-
#~ msgstr "Campos superiores"
|
3251 |
-
|
3252 |
-
#~ msgid "Sibling fields"
|
3253 |
-
#~ msgstr "Campos do grupo"
|
3254 |
-
|
3255 |
-
#~ msgid "Locating"
|
3256 |
-
#~ msgstr "A obter localização"
|
3257 |
-
|
3258 |
-
#~ msgid "Minimum values reached ( {min} values )"
|
3259 |
-
#~ msgstr "Valor mínimo alcançado ( valor {min} )"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Advanced Custom Fields PRO\n"
|
6 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
7 |
+
"POT-Creation-Date: 2019-01-17 14:07+0000\n"
|
8 |
+
"PO-Revision-Date: 2019-01-17 14:08+0000\n"
|
9 |
"Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
10 |
"Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
11 |
"Language: pt_PT\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Generator: Poedit 2.2.1\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"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"
|
19 |
"X-Textdomain-Support: yes\n"
|
26 |
msgid "Advanced Custom Fields"
|
27 |
msgstr "Advanced Custom Fields"
|
28 |
|
29 |
+
#: acf.php:359 includes/admin/admin.php:58
|
30 |
msgid "Field Groups"
|
31 |
msgstr "Grupos de campos"
|
32 |
|
33 |
+
#: acf.php:360
|
34 |
msgid "Field Group"
|
35 |
msgstr "Grupo de campos"
|
36 |
|
37 |
+
#: acf.php:361 acf.php:393 includes/admin/admin.php:59
|
38 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
39 |
msgid "Add New"
|
40 |
msgstr "Adicionar novo"
|
41 |
|
42 |
+
#: acf.php:362
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr "Adicionar novo grupo de campos"
|
45 |
|
46 |
+
#: acf.php:363
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr "Editar grupo de campos"
|
49 |
|
50 |
+
#: acf.php:364
|
51 |
msgid "New Field Group"
|
52 |
msgstr "Novo grupo de campos"
|
53 |
|
54 |
+
#: acf.php:365
|
55 |
msgid "View Field Group"
|
56 |
msgstr "Ver grupo de campos"
|
57 |
|
58 |
+
#: acf.php:366
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr "Pesquisar grupos de campos"
|
61 |
|
62 |
+
#: acf.php:367
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr "Nenhum grupo de campos encontrado"
|
65 |
|
66 |
+
#: acf.php:368
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr "Nenhum grupo de campos encontrado no lixo"
|
69 |
|
70 |
+
#: acf.php:391 includes/admin/admin-field-group.php:220
|
71 |
+
#: includes/admin/admin-field-groups.php:529
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr "Campos"
|
75 |
|
76 |
+
#: acf.php:392
|
77 |
msgid "Field"
|
78 |
msgstr "Campo"
|
79 |
|
80 |
+
#: acf.php:394
|
81 |
msgid "Add New Field"
|
82 |
msgstr "Adicionar novo campo"
|
83 |
|
84 |
+
#: acf.php:395
|
85 |
msgid "Edit Field"
|
86 |
msgstr "Editar campo"
|
87 |
|
88 |
+
#: acf.php:396 includes/admin/views/field-group-fields.php:41
|
89 |
msgid "New Field"
|
90 |
msgstr "Novo campo"
|
91 |
|
92 |
+
#: acf.php:397
|
93 |
msgid "View Field"
|
94 |
msgstr "Ver campo"
|
95 |
|
96 |
+
#: acf.php:398
|
97 |
msgid "Search Fields"
|
98 |
msgstr "Pesquisar campos"
|
99 |
|
100 |
+
#: acf.php:399
|
101 |
msgid "No Fields found"
|
102 |
msgstr "Nenhum campo encontrado"
|
103 |
|
104 |
+
#: acf.php:400
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr "Nenhum campo encontrado no lixo"
|
107 |
|
108 |
+
#: acf.php:439 includes/admin/admin-field-group.php:402
|
109 |
+
#: includes/admin/admin-field-groups.php:586
|
110 |
msgid "Inactive"
|
111 |
msgstr "Inactivo"
|
112 |
|
113 |
+
#: acf.php:444
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] "Inactivo <span class=\"count\">(%s)</span>"
|
118 |
msgstr[1] "Inactivos <span class=\"count\">(%s)</span>"
|
119 |
|
120 |
+
#: includes/admin/admin-field-group.php:86
|
121 |
+
#: includes/admin/admin-field-group.php:87
|
122 |
+
#: includes/admin/admin-field-group.php:89
|
123 |
msgid "Field group updated."
|
124 |
msgstr "Grupo de campos actualizado."
|
125 |
|
126 |
+
#: includes/admin/admin-field-group.php:88
|
127 |
msgid "Field group deleted."
|
128 |
msgstr "Grupo de campos eliminado."
|
129 |
|
130 |
+
#: includes/admin/admin-field-group.php:91
|
131 |
msgid "Field group published."
|
132 |
msgstr "Grupo de campos publicado."
|
133 |
|
134 |
+
#: includes/admin/admin-field-group.php:92
|
135 |
msgid "Field group saved."
|
136 |
msgstr "Grupo de campos guardado."
|
137 |
|
138 |
+
#: includes/admin/admin-field-group.php:93
|
139 |
msgid "Field group submitted."
|
140 |
msgstr "Grupo de campos enviado."
|
141 |
|
142 |
+
#: includes/admin/admin-field-group.php:94
|
143 |
msgid "Field group scheduled for."
|
144 |
msgstr "Grupo de campos agendado."
|
145 |
|
146 |
+
#: includes/admin/admin-field-group.php:95
|
147 |
msgid "Field group draft updated."
|
148 |
msgstr "Rascunho de grupo de campos actualizado."
|
149 |
|
150 |
+
#: includes/admin/admin-field-group.php:171
|
151 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
152 |
msgstr "O prefixo \"field_\" não pode ser utilizado no início do nome do campo."
|
153 |
|
154 |
+
#: includes/admin/admin-field-group.php:172
|
155 |
msgid "This field cannot be moved until its changes have been saved"
|
156 |
msgstr "Este campo não pode ser movido até que as suas alterações sejam guardadas."
|
157 |
|
158 |
+
#: includes/admin/admin-field-group.php:173
|
159 |
msgid "Field group title is required"
|
160 |
msgstr "O título do grupo de campos é obrigatório"
|
161 |
|
162 |
+
#: includes/admin/admin-field-group.php:174
|
163 |
msgid "Move to trash. Are you sure?"
|
164 |
msgstr "Mover para o lixo. Tem certeza?"
|
165 |
|
166 |
+
#: includes/admin/admin-field-group.php:175
|
167 |
msgid "No toggle fields available"
|
168 |
msgstr "Nenhum campo de opções disponível"
|
169 |
|
170 |
+
#: includes/admin/admin-field-group.php:176
|
171 |
msgid "Move Custom Field"
|
172 |
msgstr "Mover campo personalizado"
|
173 |
|
174 |
+
#: includes/admin/admin-field-group.php:177
|
175 |
msgid "Checked"
|
176 |
msgstr "Seleccionado"
|
177 |
|
178 |
+
#: includes/admin/admin-field-group.php:178 includes/api/api-field.php:320
|
179 |
msgid "(no label)"
|
180 |
msgstr "(sem legenda)"
|
181 |
|
182 |
+
#: includes/admin/admin-field-group.php:179
|
183 |
msgid "(this field)"
|
184 |
msgstr "(este campo)"
|
185 |
|
186 |
+
#: includes/admin/admin-field-group.php:180
|
187 |
#: includes/api/api-field-group.php:751
|
188 |
msgid "copy"
|
189 |
msgstr "cópia"
|
190 |
|
191 |
+
#: includes/admin/admin-field-group.php:181
|
192 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
193 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
194 |
#: includes/admin/views/field-group-locations.php:29
|
195 |
#: includes/admin/views/html-location-group.php:3
|
196 |
+
#: includes/api/api-helpers.php:3998
|
197 |
msgid "or"
|
198 |
msgstr "ou"
|
199 |
|
200 |
+
#: includes/admin/admin-field-group.php:182
|
201 |
msgid "Null"
|
202 |
msgstr "Nulo"
|
203 |
|
204 |
+
#: includes/admin/admin-field-group.php:221
|
205 |
msgid "Location"
|
206 |
msgstr "Localização"
|
207 |
|
208 |
+
#: includes/admin/admin-field-group.php:222
|
209 |
#: includes/admin/tools/class-acf-admin-tool-export.php:295
|
210 |
msgid "Settings"
|
211 |
msgstr "Definições"
|
212 |
|
213 |
+
#: includes/admin/admin-field-group.php:372
|
214 |
msgid "Field Keys"
|
215 |
msgstr "Chaves dos campos"
|
216 |
|
217 |
+
#: includes/admin/admin-field-group.php:402
|
218 |
#: includes/admin/views/field-group-options.php:9
|
219 |
msgid "Active"
|
220 |
msgstr "Activo"
|
221 |
|
222 |
+
#: includes/admin/admin-field-group.php:771
|
223 |
msgid "Move Complete."
|
224 |
msgstr "Movido com sucesso."
|
225 |
|
226 |
+
#: includes/admin/admin-field-group.php:772
|
227 |
#, php-format
|
228 |
msgid "The %s field can now be found in the %s field group"
|
229 |
msgstr "O campo %s pode agora ser encontrado no grupo de campos %s"
|
230 |
|
231 |
+
#: includes/admin/admin-field-group.php:773
|
232 |
msgid "Close Window"
|
233 |
msgstr "Fechar janela"
|
234 |
|
235 |
+
#: includes/admin/admin-field-group.php:814
|
236 |
msgid "Please select the destination for this field"
|
237 |
msgstr "Por favor seleccione o destinho para este campo"
|
238 |
|
239 |
+
#: includes/admin/admin-field-group.php:821
|
240 |
msgid "Move Field"
|
241 |
msgstr "Mover campo"
|
242 |
|
247 |
msgstr[0] "Activo <span class=\"count\">(%s)</span>"
|
248 |
msgstr[1] "Activos <span class=\"count\">(%s)</span>"
|
249 |
|
250 |
+
#: includes/admin/admin-field-groups.php:156
|
251 |
#, php-format
|
252 |
+
msgid "Field group duplicated."
|
|
|
|
|
|
|
|
|
|
|
253 |
msgid_plural "%s field groups duplicated."
|
254 |
+
msgstr[0] "Grupo de campos duplicado."
|
255 |
msgstr[1] "%s grupos de campos duplicados."
|
256 |
|
257 |
+
#: includes/admin/admin-field-groups.php:243
|
|
|
|
|
|
|
|
|
|
|
258 |
#, php-format
|
259 |
+
msgid "Field group synchronised."
|
260 |
msgid_plural "%s field groups synchronised."
|
261 |
+
msgstr[0] "Grupo de campos sincronizado."
|
262 |
msgstr[1] "%s grupos de campos sincronizados."
|
263 |
|
264 |
+
#: includes/admin/admin-field-groups.php:413
|
265 |
+
#: includes/admin/admin-field-groups.php:576
|
266 |
msgid "Sync available"
|
267 |
msgstr "Sincronização disponível"
|
268 |
|
269 |
+
#: includes/admin/admin-field-groups.php:526 includes/forms/form-front.php:38
|
270 |
#: pro/fields/class-acf-field-gallery.php:372
|
271 |
msgid "Title"
|
272 |
msgstr "Título"
|
273 |
|
274 |
+
#: includes/admin/admin-field-groups.php:527
|
275 |
#: includes/admin/views/field-group-options.php:96
|
276 |
#: includes/admin/views/html-admin-page-upgrade-network.php:38
|
277 |
#: includes/admin/views/html-admin-page-upgrade-network.php:49
|
279 |
msgid "Description"
|
280 |
msgstr "Descrição"
|
281 |
|
282 |
+
#: includes/admin/admin-field-groups.php:528
|
283 |
msgid "Status"
|
284 |
msgstr "Estado"
|
285 |
|
286 |
#. Description of the plugin/theme
|
287 |
+
#: includes/admin/admin-field-groups.php:626
|
288 |
msgid "Customize WordPress with powerful, professional and intuitive fields."
|
289 |
msgstr "Personalize o WordPress com campos intuitivos, poderosos e profissionais."
|
290 |
|
291 |
+
#: includes/admin/admin-field-groups.php:628
|
292 |
#: includes/admin/settings-info.php:76
|
293 |
#: pro/admin/views/html-settings-updates.php:107
|
294 |
msgid "Changelog"
|
295 |
msgstr "Registo de alterações"
|
296 |
|
297 |
+
#: includes/admin/admin-field-groups.php:633
|
298 |
#, php-format
|
299 |
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
300 |
msgstr "Veja o que há de novo na <a href=\"%s\">versão %s</a>."
|
301 |
|
302 |
+
#: includes/admin/admin-field-groups.php:636
|
303 |
msgid "Resources"
|
304 |
msgstr "Recursos"
|
305 |
|
306 |
+
#: includes/admin/admin-field-groups.php:638
|
307 |
msgid "Website"
|
308 |
msgstr "Site"
|
309 |
|
310 |
+
#: includes/admin/admin-field-groups.php:639
|
311 |
msgid "Documentation"
|
312 |
msgstr "Documentação"
|
313 |
|
314 |
+
#: includes/admin/admin-field-groups.php:640
|
315 |
msgid "Support"
|
316 |
msgstr "Suporte"
|
317 |
|
318 |
+
#: includes/admin/admin-field-groups.php:642
|
319 |
#: includes/admin/views/settings-info.php:84
|
320 |
msgid "Pro"
|
321 |
msgstr "Pro"
|
322 |
|
323 |
+
#: includes/admin/admin-field-groups.php:647
|
324 |
#, php-format
|
325 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
326 |
msgstr "Obrigado por criar com o <a href=\"%s\">ACF</a>."
|
327 |
|
328 |
+
#: includes/admin/admin-field-groups.php:686
|
329 |
msgid "Duplicate this item"
|
330 |
msgstr "Duplicar este item"
|
331 |
|
332 |
+
#: includes/admin/admin-field-groups.php:686
|
333 |
+
#: includes/admin/admin-field-groups.php:702
|
334 |
#: includes/admin/views/field-group-field.php:46
|
335 |
#: pro/fields/class-acf-field-flexible-content.php:571
|
336 |
msgid "Duplicate"
|
337 |
msgstr "Duplicar"
|
338 |
|
339 |
+
#: includes/admin/admin-field-groups.php:719
|
340 |
#: includes/fields/class-acf-field-google-map.php:165
|
341 |
#: includes/fields/class-acf-field-relationship.php:593
|
342 |
msgid "Search"
|
343 |
msgstr "Pesquisa"
|
344 |
|
345 |
+
#: includes/admin/admin-field-groups.php:778
|
346 |
#, php-format
|
347 |
msgid "Select %s"
|
348 |
msgstr "Seleccionar %s"
|
349 |
|
350 |
+
#: includes/admin/admin-field-groups.php:786
|
351 |
msgid "Synchronise field group"
|
352 |
msgstr "Sincronizar grupo de campos"
|
353 |
|
354 |
+
#: includes/admin/admin-field-groups.php:786
|
355 |
+
#: includes/admin/admin-field-groups.php:816
|
356 |
msgid "Sync"
|
357 |
msgstr "Sincronizar"
|
358 |
|
359 |
+
#: includes/admin/admin-field-groups.php:798
|
360 |
msgid "Apply"
|
361 |
msgstr "Aplicar"
|
362 |
|
363 |
+
#: includes/admin/admin-field-groups.php:816
|
364 |
msgid "Bulk Actions"
|
365 |
msgstr "Acções por lotes"
|
366 |
|
380 |
msgid "Review sites & upgrade"
|
381 |
msgstr "Rever sites e actualizar"
|
382 |
|
383 |
+
#: includes/admin/admin.php:54 includes/admin/views/field-group-options.php:110
|
|
|
384 |
msgid "Custom Fields"
|
385 |
msgstr "Campos personalizados"
|
386 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
#: includes/admin/settings-info.php:50
|
388 |
msgid "Info"
|
389 |
msgstr "Informações"
|
456 |
msgid "Import File"
|
457 |
msgstr "Importar ficheiro"
|
458 |
|
459 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:99
|
460 |
#: includes/fields/class-acf-field-file.php:170
|
461 |
msgid "No file selected"
|
462 |
msgstr "Nenhum ficheiro seleccionado"
|
463 |
|
464 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:109
|
465 |
msgid "Error uploading file. Please try again"
|
466 |
msgstr "Erro ao carregar ficheiro. Por favor tente de novo."
|
467 |
|
468 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:115
|
469 |
msgid "Incorrect file type"
|
470 |
msgstr "Tipo de ficheiro incorrecto"
|
471 |
|
472 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:129
|
473 |
msgid "Import file empty"
|
474 |
msgstr "Ficheiro de importação vazio"
|
475 |
|
476 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:235
|
477 |
#, php-format
|
478 |
msgid "Imported 1 field group"
|
479 |
msgid_plural "Imported %s field groups"
|
598 |
#: includes/fields/class-acf-field-button-group.php:198
|
599 |
#: includes/fields/class-acf-field-checkbox.php:420
|
600 |
#: includes/fields/class-acf-field-radio.php:311
|
601 |
+
#: includes/fields/class-acf-field-select.php:433
|
602 |
#: pro/fields/class-acf-field-flexible-content.php:596
|
603 |
msgid "Label"
|
604 |
msgstr "Legenda"
|
838 |
msgid "No updates available."
|
839 |
msgstr "Nenhuma actualização disponível."
|
840 |
|
841 |
+
#: includes/admin/views/html-admin-tools.php:21
|
842 |
+
msgid "Back to all tools"
|
843 |
+
msgstr "Voltar para todas as ferramentas"
|
844 |
+
|
845 |
#: includes/admin/views/html-location-group.php:3
|
846 |
msgid "Show this field group if"
|
847 |
msgstr "Mostrar este grupo de campos se"
|
884 |
msgid "Please also check all premium add-ons (%s) are updated to the latest version."
|
885 |
msgstr "Por favor, verifique se todos os add-ons premium (%s) estão actualizados para a última versão."
|
886 |
|
887 |
+
#: includes/admin/views/settings-addons.php:3
|
888 |
+
msgid "Add-ons"
|
889 |
+
msgstr "Add-ons"
|
890 |
+
|
891 |
#: includes/admin/views/settings-addons.php:17
|
892 |
msgid "Download & Install"
|
893 |
msgstr "Descarregar e instalar"
|
1097 |
msgid "We think you'll love the changes in %s."
|
1098 |
msgstr "Pensamos que vai gostar das alterações na versão %s."
|
1099 |
|
1100 |
+
#: includes/api/api-helpers.php:1011
|
1101 |
msgid "Thumbnail"
|
1102 |
msgstr "Miniatura"
|
1103 |
|
1104 |
+
#: includes/api/api-helpers.php:1012
|
1105 |
msgid "Medium"
|
1106 |
msgstr "Média"
|
1107 |
|
1108 |
+
#: includes/api/api-helpers.php:1013
|
1109 |
msgid "Large"
|
1110 |
msgstr "Grande"
|
1111 |
|
1112 |
+
#: includes/api/api-helpers.php:1062
|
1113 |
msgid "Full Size"
|
1114 |
msgstr "Tamanho original"
|
1115 |
|
1116 |
+
#: includes/api/api-helpers.php:1831 includes/api/api-term.php:147
|
1117 |
#: pro/fields/class-acf-field-clone.php:996
|
1118 |
msgid "(no title)"
|
1119 |
msgstr "(sem título)"
|
1120 |
|
1121 |
+
#: includes/api/api-helpers.php:3919
|
1122 |
#, php-format
|
1123 |
msgid "Image width must be at least %dpx."
|
1124 |
msgstr "A largura da imagem deve ser pelo menos de %dpx."
|
1125 |
|
1126 |
+
#: includes/api/api-helpers.php:3924
|
1127 |
#, php-format
|
1128 |
msgid "Image width must not exceed %dpx."
|
1129 |
msgstr "A largura da imagem não deve exceder os %dpx."
|
1130 |
|
1131 |
+
#: includes/api/api-helpers.php:3940
|
1132 |
#, php-format
|
1133 |
msgid "Image height must be at least %dpx."
|
1134 |
msgstr "A altura da imagem deve ser pelo menos de %dpx."
|
1135 |
|
1136 |
+
#: includes/api/api-helpers.php:3945
|
1137 |
#, php-format
|
1138 |
msgid "Image height must not exceed %dpx."
|
1139 |
msgstr "A altura da imagem não deve exceder os %dpx."
|
1140 |
|
1141 |
+
#: includes/api/api-helpers.php:3963
|
1142 |
#, php-format
|
1143 |
msgid "File size must be at least %s."
|
1144 |
msgstr "O tamanho do ficheiro deve ser pelo menos de %s."
|
1145 |
|
1146 |
+
#: includes/api/api-helpers.php:3968
|
1147 |
#, php-format
|
1148 |
msgid "File size must must not exceed %s."
|
1149 |
msgstr "O tamanho do ficheiro não deve exceder %s."
|
1150 |
|
1151 |
+
#: includes/api/api-helpers.php:4002
|
1152 |
#, php-format
|
1153 |
msgid "File type must be %s."
|
1154 |
msgstr "O tipo de ficheiro deve ser %s."
|
1230 |
#: includes/fields/class-acf-field-image.php:141
|
1231 |
#: includes/fields/class-acf-field-link.php:140
|
1232 |
#: pro/fields/class-acf-field-gallery.php:360
|
1233 |
+
#: pro/fields/class-acf-field-gallery.php:549
|
1234 |
msgid "Remove"
|
1235 |
msgstr "Remover"
|
1236 |
|
1279 |
msgstr "A selecção é menor do que"
|
1280 |
|
1281 |
#: includes/assets.php:206 includes/forms/form-comment.php:166
|
1282 |
+
#: pro/admin/admin-options-page.php:325
|
1283 |
msgid "Edit field group"
|
1284 |
msgstr "Editar grupo de campos"
|
1285 |
|
1358 |
#: includes/fields/class-acf-field-button-group.php:149
|
1359 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1360 |
#: includes/fields/class-acf-field-radio.php:235
|
1361 |
+
#: includes/fields/class-acf-field-select.php:364
|
1362 |
msgid "Choices"
|
1363 |
msgstr "Opções"
|
1364 |
|
1365 |
#: includes/fields/class-acf-field-button-group.php:150
|
1366 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1367 |
#: includes/fields/class-acf-field-radio.php:236
|
1368 |
+
#: includes/fields/class-acf-field-select.php:365
|
1369 |
msgid "Enter each choice on a new line."
|
1370 |
msgstr "Insira cada opção numa linha separada."
|
1371 |
|
1372 |
#: includes/fields/class-acf-field-button-group.php:150
|
1373 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1374 |
#: includes/fields/class-acf-field-radio.php:236
|
1375 |
+
#: includes/fields/class-acf-field-select.php:365
|
1376 |
msgid "For more control, you may specify both a value and label like this:"
|
1377 |
msgstr "Para maior controlo, pode especificar tanto os valores como as legendas:"
|
1378 |
|
1379 |
#: includes/fields/class-acf-field-button-group.php:150
|
1380 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1381 |
#: includes/fields/class-acf-field-radio.php:236
|
1382 |
+
#: includes/fields/class-acf-field-select.php:365
|
1383 |
msgid "red : Red"
|
1384 |
msgstr "vermelho : Vermelho"
|
1385 |
|
1387 |
#: includes/fields/class-acf-field-page_link.php:513
|
1388 |
#: includes/fields/class-acf-field-post_object.php:411
|
1389 |
#: includes/fields/class-acf-field-radio.php:244
|
1390 |
+
#: includes/fields/class-acf-field-select.php:382
|
1391 |
#: includes/fields/class-acf-field-taxonomy.php:784
|
1392 |
+
#: includes/fields/class-acf-field-user.php:393
|
1393 |
msgid "Allow Null?"
|
1394 |
msgstr "Permitir nulo?"
|
1395 |
|
1400 |
#: includes/fields/class-acf-field-number.php:127
|
1401 |
#: includes/fields/class-acf-field-radio.php:281
|
1402 |
#: includes/fields/class-acf-field-range.php:149
|
1403 |
+
#: includes/fields/class-acf-field-select.php:373
|
1404 |
#: includes/fields/class-acf-field-text.php:119
|
1405 |
#: includes/fields/class-acf-field-textarea.php:102
|
1406 |
#: includes/fields/class-acf-field-true_false.php:135
|
1455 |
#: includes/fields/class-acf-field-button-group.php:197
|
1456 |
#: includes/fields/class-acf-field-checkbox.php:419
|
1457 |
#: includes/fields/class-acf-field-radio.php:310
|
1458 |
+
#: includes/fields/class-acf-field-select.php:432
|
1459 |
msgid "Value"
|
1460 |
msgstr "Valor"
|
1461 |
|
1462 |
#: includes/fields/class-acf-field-button-group.php:199
|
1463 |
#: includes/fields/class-acf-field-checkbox.php:421
|
1464 |
#: includes/fields/class-acf-field-radio.php:312
|
1465 |
+
#: includes/fields/class-acf-field-select.php:434
|
1466 |
msgid "Both (Array)"
|
1467 |
msgstr "Ambos (Array)"
|
1468 |
|
1496 |
msgstr "Guarda valores personalizados nas opções do campo"
|
1497 |
|
1498 |
#: includes/fields/class-acf-field-checkbox.php:381
|
1499 |
+
#: includes/fields/class-acf-field-select.php:374
|
1500 |
msgid "Enter each default value on a new line"
|
1501 |
msgstr "Insira cada valor por omissão numa linha separada"
|
1502 |
|
1590 |
#: includes/fields/class-acf-field-date_time_picker.php:200
|
1591 |
#: includes/fields/class-acf-field-post_object.php:431
|
1592 |
#: includes/fields/class-acf-field-relationship.php:634
|
1593 |
+
#: includes/fields/class-acf-field-select.php:427
|
1594 |
#: includes/fields/class-acf-field-time_picker.php:124
|
1595 |
+
#: includes/fields/class-acf-field-user.php:412
|
1596 |
msgid "Return Format"
|
1597 |
msgstr "Formato devolvido"
|
1598 |
|
1761 |
#: includes/fields/class-acf-field-file.php:259
|
1762 |
#: includes/fields/class-acf-field-image.php:265
|
1763 |
#: includes/fields/class-acf-field-image.php:294
|
1764 |
+
#: pro/fields/class-acf-field-gallery.php:708
|
1765 |
+
#: pro/fields/class-acf-field-gallery.php:737
|
1766 |
msgid "File size"
|
1767 |
msgstr "Tamanho do ficheiro"
|
1768 |
|
1784 |
|
1785 |
#: includes/fields/class-acf-field-file.php:230
|
1786 |
#: includes/fields/class-acf-field-image.php:230
|
1787 |
+
#: pro/fields/class-acf-field-gallery.php:673
|
1788 |
msgid "Library"
|
1789 |
msgstr "Biblioteca"
|
1790 |
|
1791 |
#: includes/fields/class-acf-field-file.php:231
|
1792 |
#: includes/fields/class-acf-field-image.php:231
|
1793 |
+
#: pro/fields/class-acf-field-gallery.php:674
|
1794 |
msgid "Limit the media library choice"
|
1795 |
msgstr "Limita a escolha da biblioteca de media."
|
1796 |
|
1803 |
#: includes/locations/class-acf-location-user-form.php:87
|
1804 |
#: includes/locations/class-acf-location-user-role.php:111
|
1805 |
#: includes/locations/class-acf-location-widget.php:83
|
1806 |
+
#: pro/fields/class-acf-field-gallery.php:679
|
1807 |
msgid "All"
|
1808 |
msgstr "Todos"
|
1809 |
|
1810 |
#: includes/fields/class-acf-field-file.php:237
|
1811 |
#: includes/fields/class-acf-field-image.php:237
|
1812 |
+
#: pro/fields/class-acf-field-gallery.php:680
|
1813 |
msgid "Uploaded to post"
|
1814 |
msgstr "Carregados no artigo"
|
1815 |
|
1816 |
#: includes/fields/class-acf-field-file.php:244
|
1817 |
#: includes/fields/class-acf-field-image.php:244
|
1818 |
+
#: pro/fields/class-acf-field-gallery.php:687
|
1819 |
msgid "Minimum"
|
1820 |
msgstr "Mínimo"
|
1821 |
|
1826 |
|
1827 |
#: includes/fields/class-acf-field-file.php:255
|
1828 |
#: includes/fields/class-acf-field-image.php:273
|
1829 |
+
#: pro/fields/class-acf-field-gallery.php:716
|
1830 |
msgid "Maximum"
|
1831 |
msgstr "Máximo"
|
1832 |
|
1833 |
#: includes/fields/class-acf-field-file.php:266
|
1834 |
#: includes/fields/class-acf-field-image.php:302
|
1835 |
+
#: pro/fields/class-acf-field-gallery.php:745
|
1836 |
msgid "Allowed file types"
|
1837 |
msgstr "Tipos de ficheiros permitidos"
|
1838 |
|
1839 |
#: includes/fields/class-acf-field-file.php:267
|
1840 |
#: includes/fields/class-acf-field-image.php:303
|
1841 |
+
#: pro/fields/class-acf-field-gallery.php:746
|
1842 |
msgid "Comma separated list. Leave blank for all types"
|
1843 |
msgstr "Lista separada por vírgulas. Deixe em branco para permitir todos os tipos."
|
1844 |
|
1884 |
#: includes/fields/class-acf-field-image.php:256
|
1885 |
#: includes/fields/class-acf-field-image.php:285
|
1886 |
#: includes/fields/class-acf-field-oembed.php:268
|
1887 |
+
#: pro/fields/class-acf-field-gallery.php:699
|
1888 |
+
#: pro/fields/class-acf-field-gallery.php:728
|
1889 |
msgid "Height"
|
1890 |
msgstr "Altura"
|
1891 |
|
1974 |
|
1975 |
#: includes/fields/class-acf-field-image.php:245
|
1976 |
#: includes/fields/class-acf-field-image.php:274
|
1977 |
+
#: pro/fields/class-acf-field-gallery.php:688
|
1978 |
+
#: pro/fields/class-acf-field-gallery.php:717
|
1979 |
msgid "Restrict which images can be uploaded"
|
1980 |
msgstr "Restringir que imagens que ser carregadas"
|
1981 |
|
1982 |
#: includes/fields/class-acf-field-image.php:248
|
1983 |
#: includes/fields/class-acf-field-image.php:277
|
1984 |
#: includes/fields/class-acf-field-oembed.php:257
|
1985 |
+
#: pro/fields/class-acf-field-gallery.php:691
|
1986 |
+
#: pro/fields/class-acf-field-gallery.php:720
|
1987 |
msgid "Width"
|
1988 |
msgstr "Largura"
|
1989 |
|
2136 |
|
2137 |
#: includes/fields/class-acf-field-page_link.php:533
|
2138 |
#: includes/fields/class-acf-field-post_object.php:421
|
2139 |
+
#: includes/fields/class-acf-field-select.php:392
|
2140 |
+
#: includes/fields/class-acf-field-user.php:403
|
2141 |
msgid "Select multiple values?"
|
2142 |
msgstr "Seleccionar valores múltiplos?"
|
2143 |
|
2241 |
msgstr "Máximo de conteúdos"
|
2242 |
|
2243 |
#: includes/fields/class-acf-field-relationship.php:727
|
2244 |
+
#: pro/fields/class-acf-field-gallery.php:818
|
2245 |
#, php-format
|
2246 |
msgid "%s requires at least %s selection"
|
2247 |
msgid_plural "%s requires at least %s selections"
|
2318 |
msgid "Loading failed"
|
2319 |
msgstr "Falhou ao carregar"
|
2320 |
|
2321 |
+
#: includes/fields/class-acf-field-select.php:402
|
2322 |
#: includes/fields/class-acf-field-true_false.php:144
|
2323 |
msgid "Stylised UI"
|
2324 |
msgstr "Interface estilizada"
|
2325 |
|
2326 |
+
#: includes/fields/class-acf-field-select.php:412
|
2327 |
msgid "Use AJAX to lazy load choices?"
|
2328 |
msgstr "Utilizar AJAX para carregar opções?"
|
2329 |
|
2330 |
+
#: includes/fields/class-acf-field-select.php:428
|
2331 |
msgid "Specify the value returned"
|
2332 |
msgstr "Especifica o valor devolvido."
|
2333 |
|
2498 |
msgid "User"
|
2499 |
msgstr "Utilizador"
|
2500 |
|
2501 |
+
#: includes/fields/class-acf-field-user.php:378
|
2502 |
msgid "Filter by role"
|
2503 |
msgstr "Filtrar por papel"
|
2504 |
|
2505 |
+
#: includes/fields/class-acf-field-user.php:386
|
2506 |
msgid "All user roles"
|
2507 |
msgstr "Todos os papéis de utilizador"
|
2508 |
|
2509 |
+
#: includes/fields/class-acf-field-user.php:417
|
2510 |
msgid "User Array"
|
2511 |
msgstr "Array do utilizador"
|
2512 |
|
2513 |
+
#: includes/fields/class-acf-field-user.php:418
|
2514 |
msgid "User Object"
|
2515 |
msgstr "Objecto do utilizador"
|
2516 |
|
2517 |
+
#: includes/fields/class-acf-field-user.php:419
|
2518 |
msgid "User ID"
|
2519 |
msgstr "ID do utilizador"
|
2520 |
|
2571 |
msgid "Validate Email"
|
2572 |
msgstr "Validar email"
|
2573 |
|
2574 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591
|
2575 |
#: pro/options-page.php:81
|
2576 |
msgid "Update"
|
2577 |
msgstr "Actualizar"
|
2744 |
msgid "Advanced Custom Fields PRO"
|
2745 |
msgstr "Advanced Custom Fields PRO"
|
2746 |
|
2747 |
+
#: pro/admin/admin-options-page.php:198
|
2748 |
msgid "Publish"
|
2749 |
msgstr "Publicado"
|
2750 |
|
2751 |
+
#: pro/admin/admin-options-page.php:204
|
2752 |
#, php-format
|
2753 |
msgid "No Custom Field Groups found for this options page. <a href=\"%s\">Create a Custom Field Group</a>"
|
2754 |
msgstr "Nenhum grupo de campos personalizado encontrado na página de opções. <a href=\"%s\">Criar um grupo de campos personalizado</a>"
|
2755 |
|
2756 |
+
#: pro/admin/admin-updates.php:49
|
2757 |
msgid "<b>Error</b>. Could not connect to update server"
|
2758 |
msgstr "<b>Erro</b>. Não foi possível ligar ao servidor de actualização."
|
2759 |
|
2760 |
+
#: pro/admin/admin-updates.php:118 pro/admin/views/html-settings-updates.php:13
|
|
|
2761 |
msgid "Updates"
|
2762 |
msgstr "Actualizações"
|
2763 |
|
2764 |
+
#: pro/admin/admin-updates.php:191
|
2765 |
msgid "<b>Error</b>. Could not authenticate update package. Please check again or deactivate and reactivate your ACF PRO license."
|
2766 |
msgstr "<b>Erro</b>. 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."
|
2767 |
|
2993 |
msgid "Alt Text"
|
2994 |
msgstr "Texto alternativo"
|
2995 |
|
2996 |
+
#: pro/fields/class-acf-field-gallery.php:562
|
2997 |
msgid "Add to gallery"
|
2998 |
msgstr "Adicionar à galeria"
|
2999 |
|
3000 |
+
#: pro/fields/class-acf-field-gallery.php:566
|
3001 |
msgid "Bulk actions"
|
3002 |
msgstr "Acções por lotes"
|
3003 |
|
3004 |
+
#: pro/fields/class-acf-field-gallery.php:567
|
3005 |
msgid "Sort by date uploaded"
|
3006 |
msgstr "Ordenar por data de carregamento"
|
3007 |
|
3008 |
+
#: pro/fields/class-acf-field-gallery.php:568
|
3009 |
msgid "Sort by date modified"
|
3010 |
msgstr "Ordenar por data de modificação"
|
3011 |
|
3012 |
+
#: pro/fields/class-acf-field-gallery.php:569
|
3013 |
msgid "Sort by title"
|
3014 |
msgstr "Ordenar por título"
|
3015 |
|
3016 |
+
#: pro/fields/class-acf-field-gallery.php:570
|
3017 |
msgid "Reverse current order"
|
3018 |
msgstr "Inverter ordem actual"
|
3019 |
|
3020 |
+
#: pro/fields/class-acf-field-gallery.php:588
|
3021 |
msgid "Close"
|
3022 |
msgstr "Fechar"
|
3023 |
|
3024 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
3025 |
msgid "Minimum Selection"
|
3026 |
msgstr "Selecção mínima"
|
3027 |
|
3028 |
+
#: pro/fields/class-acf-field-gallery.php:651
|
3029 |
msgid "Maximum Selection"
|
3030 |
msgstr "Selecção máxima"
|
3031 |
|
3032 |
+
#: pro/fields/class-acf-field-gallery.php:660
|
3033 |
msgid "Insert"
|
3034 |
msgstr "Inserir"
|
3035 |
|
3036 |
+
#: pro/fields/class-acf-field-gallery.php:661
|
3037 |
msgid "Specify where new attachments are added"
|
3038 |
msgstr "Especifica onde serão adicionados os novos anexos."
|
3039 |
|
3040 |
+
#: pro/fields/class-acf-field-gallery.php:665
|
3041 |
msgid "Append to the end"
|
3042 |
msgstr "No fim"
|
3043 |
|
3044 |
+
#: pro/fields/class-acf-field-gallery.php:666
|
3045 |
msgid "Prepend to the beginning"
|
3046 |
msgstr "No início"
|
3047 |
|
3106 |
#. Author URI of the plugin/theme
|
3107 |
msgid "http://www.elliotcondon.com/"
|
3108 |
msgstr "http://www.elliotcondon.com/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang/acf.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Advanced Custom Fields\n"
|
5 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
6 |
-
"POT-Creation-Date: 2019-01-
|
7 |
"PO-Revision-Date: 2015-06-11 13:00+1000\n"
|
8 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
9 |
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Generator: Poedit
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
@@ -26,97 +26,107 @@ msgstr ""
|
|
26 |
msgid "Advanced Custom Fields"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: acf.php:
|
30 |
msgid "Field Groups"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: acf.php:
|
34 |
msgid "Field Group"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: acf.php:
|
38 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
39 |
msgid "Add New"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: acf.php:
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: acf.php:
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: acf.php:
|
51 |
msgid "New Field Group"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: acf.php:
|
55 |
msgid "View Field Group"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: acf.php:
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: acf.php:
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: acf.php:
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: acf.php:
|
71 |
#: includes/admin/admin-field-groups.php:529
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: acf.php:
|
77 |
msgid "Field"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: acf.php:
|
81 |
msgid "Add New Field"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: acf.php:
|
85 |
msgid "Edit Field"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: acf.php:
|
89 |
msgid "New Field"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: acf.php:
|
93 |
msgid "View Field"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: acf.php:
|
97 |
msgid "Search Fields"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: acf.php:
|
101 |
msgid "No Fields found"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: acf.php:
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: acf.php:
|
109 |
#: includes/admin/admin-field-groups.php:586
|
110 |
msgid "Inactive"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: acf.php:
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] ""
|
118 |
msgstr[1] ""
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
#: includes/admin/admin-field-group.php:86
|
121 |
#: includes/admin/admin-field-group.php:87
|
122 |
#: includes/admin/admin-field-group.php:89
|
@@ -175,25 +185,16 @@ msgstr ""
|
|
175 |
msgid "Checked"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: includes/admin/admin-field-group.php:178 includes/api/api-field.php:320
|
179 |
-
msgid "(no label)"
|
180 |
-
msgstr ""
|
181 |
-
|
182 |
#: includes/admin/admin-field-group.php:179
|
183 |
msgid "(this field)"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: includes/admin/admin-field-group.php:180
|
187 |
-
#: includes/api/api-field-group.php:751
|
188 |
-
msgid "copy"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
#: includes/admin/admin-field-group.php:181
|
192 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
193 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
194 |
#: includes/admin/views/field-group-locations.php:29
|
195 |
#: includes/admin/views/html-location-group.php:3
|
196 |
-
#: includes/api/api-helpers.php:
|
197 |
msgid "or"
|
198 |
msgstr ""
|
199 |
|
@@ -380,8 +381,7 @@ msgstr ""
|
|
380 |
msgid "Review sites & upgrade"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: includes/admin/admin.php:54
|
384 |
-
#: includes/admin/views/field-group-options.php:110
|
385 |
msgid "Custom Fields"
|
386 |
msgstr ""
|
387 |
|
@@ -453,39 +453,39 @@ msgstr ""
|
|
453 |
msgid "Import Field Groups"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
457 |
msgid ""
|
458 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
459 |
"you click the import button below, ACF will import the field groups."
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
463 |
#: includes/fields/class-acf-field-file.php:57
|
464 |
msgid "Select File"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
468 |
msgid "Import File"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
472 |
#: includes/fields/class-acf-field-file.php:170
|
473 |
msgid "No file selected"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
477 |
msgid "Error uploading file. Please try again"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
481 |
msgid "Incorrect file type"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
485 |
msgid "Import file empty"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: includes/admin/tools/class-acf-admin-tool-import.php:
|
489 |
#, php-format
|
490 |
msgid "Imported 1 field group"
|
491 |
msgid_plural "Imported %s field groups"
|
@@ -1182,37 +1182,37 @@ msgstr ""
|
|
1182 |
msgid "(no title)"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#: includes/api/api-helpers.php:
|
1186 |
#, php-format
|
1187 |
msgid "Image width must be at least %dpx."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: includes/api/api-helpers.php:
|
1191 |
#, php-format
|
1192 |
msgid "Image width must not exceed %dpx."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: includes/api/api-helpers.php:
|
1196 |
#, php-format
|
1197 |
msgid "Image height must be at least %dpx."
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: includes/api/api-helpers.php:
|
1201 |
#, php-format
|
1202 |
msgid "Image height must not exceed %dpx."
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: includes/api/api-helpers.php:
|
1206 |
#, php-format
|
1207 |
msgid "File size must be at least %s."
|
1208 |
msgstr ""
|
1209 |
|
1210 |
-
#: includes/api/api-helpers.php:
|
1211 |
#, php-format
|
1212 |
msgid "File size must must not exceed %s."
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: includes/api/api-helpers.php:
|
1216 |
#, php-format
|
1217 |
msgid "File type must be %s."
|
1218 |
msgstr ""
|
@@ -1375,8 +1375,7 @@ msgstr ""
|
|
1375 |
msgid "jQuery"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: includes/fields.php:354
|
1379 |
-
#: includes/fields/class-acf-field-button-group.php:177
|
1380 |
#: includes/fields/class-acf-field-checkbox.php:389
|
1381 |
#: includes/fields/class-acf-field-group.php:474
|
1382 |
#: includes/fields/class-acf-field-radio.php:290
|
@@ -2515,6 +2514,12 @@ msgstr ""
|
|
2515 |
msgid "Leave blank for no limit"
|
2516 |
msgstr ""
|
2517 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2518 |
#: includes/fields/class-acf-field-textarea.php:25
|
2519 |
msgid "Text Area"
|
2520 |
msgstr ""
|
@@ -2640,8 +2645,8 @@ msgstr ""
|
|
2640 |
msgid "Validate Email"
|
2641 |
msgstr ""
|
2642 |
|
2643 |
-
#: includes/forms/form-front.php:103
|
2644 |
-
#: pro/
|
2645 |
msgid "Update"
|
2646 |
msgstr ""
|
2647 |
|
@@ -2734,8 +2739,8 @@ msgstr ""
|
|
2734 |
msgid "Page Template"
|
2735 |
msgstr ""
|
2736 |
|
2737 |
-
#: includes/locations/class-acf-location-page-template.php:
|
2738 |
-
#: includes/locations/class-acf-location-post-template.php:
|
2739 |
msgid "Default Template"
|
2740 |
msgstr ""
|
2741 |
|
@@ -2828,8 +2833,7 @@ msgstr ""
|
|
2828 |
msgid "<b>Error</b>. Could not connect to update server"
|
2829 |
msgstr ""
|
2830 |
|
2831 |
-
#: pro/admin/admin-updates.php:118
|
2832 |
-
#: pro/admin/views/html-settings-updates.php:13
|
2833 |
msgid "Updates"
|
2834 |
msgstr ""
|
2835 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Advanced Custom Fields\n"
|
5 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
6 |
+
"POT-Creation-Date: 2019-01-31 12:36+0100\n"
|
7 |
"PO-Revision-Date: 2015-06-11 13:00+1000\n"
|
8 |
"Last-Translator: Elliot Condon <e@elliotcondon.com>\n"
|
9 |
"Language-Team: Elliot Condon <e@elliotcondon.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 2.2.1\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
26 |
msgid "Advanced Custom Fields"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: acf.php:363 includes/admin/admin.php:58
|
30 |
msgid "Field Groups"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: acf.php:364
|
34 |
msgid "Field Group"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: acf.php:365 acf.php:397 includes/admin/admin.php:59
|
38 |
#: pro/fields/class-acf-field-flexible-content.php:572
|
39 |
msgid "Add New"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: acf.php:366
|
43 |
msgid "Add New Field Group"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: acf.php:367
|
47 |
msgid "Edit Field Group"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: acf.php:368
|
51 |
msgid "New Field Group"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: acf.php:369
|
55 |
msgid "View Field Group"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: acf.php:370
|
59 |
msgid "Search Field Groups"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: acf.php:371
|
63 |
msgid "No Field Groups found"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: acf.php:372
|
67 |
msgid "No Field Groups found in Trash"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: acf.php:395 includes/admin/admin-field-group.php:220
|
71 |
#: includes/admin/admin-field-groups.php:529
|
72 |
#: pro/fields/class-acf-field-clone.php:811
|
73 |
msgid "Fields"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: acf.php:396
|
77 |
msgid "Field"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: acf.php:398
|
81 |
msgid "Add New Field"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: acf.php:399
|
85 |
msgid "Edit Field"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: acf.php:400 includes/admin/views/field-group-fields.php:41
|
89 |
msgid "New Field"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: acf.php:401
|
93 |
msgid "View Field"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: acf.php:402
|
97 |
msgid "Search Fields"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: acf.php:403
|
101 |
msgid "No Fields found"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: acf.php:404
|
105 |
msgid "No Fields found in Trash"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: acf.php:443 includes/admin/admin-field-group.php:402
|
109 |
#: includes/admin/admin-field-groups.php:586
|
110 |
msgid "Inactive"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: acf.php:448
|
114 |
#, php-format
|
115 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
116 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
117 |
msgstr[0] ""
|
118 |
msgstr[1] ""
|
119 |
|
120 |
+
#: includes/acf-field-functions.php:823
|
121 |
+
#: includes/admin/admin-field-group.php:178
|
122 |
+
msgid "(no label)"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: includes/acf-field-group-functions.php:816
|
126 |
+
#: includes/admin/admin-field-group.php:180
|
127 |
+
msgid "copy"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
#: includes/admin/admin-field-group.php:86
|
131 |
#: includes/admin/admin-field-group.php:87
|
132 |
#: includes/admin/admin-field-group.php:89
|
185 |
msgid "Checked"
|
186 |
msgstr ""
|
187 |
|
|
|
|
|
|
|
|
|
188 |
#: includes/admin/admin-field-group.php:179
|
189 |
msgid "(this field)"
|
190 |
msgstr ""
|
191 |
|
|
|
|
|
|
|
|
|
|
|
192 |
#: includes/admin/admin-field-group.php:181
|
193 |
#: includes/admin/views/field-group-field-conditional-logic.php:51
|
194 |
#: includes/admin/views/field-group-field-conditional-logic.php:151
|
195 |
#: includes/admin/views/field-group-locations.php:29
|
196 |
#: includes/admin/views/html-location-group.php:3
|
197 |
+
#: includes/api/api-helpers.php:3990
|
198 |
msgid "or"
|
199 |
msgstr ""
|
200 |
|
381 |
msgid "Review sites & upgrade"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: includes/admin/admin.php:54 includes/admin/views/field-group-options.php:110
|
|
|
385 |
msgid "Custom Fields"
|
386 |
msgstr ""
|
387 |
|
453 |
msgid "Import Field Groups"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:47
|
457 |
msgid ""
|
458 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
459 |
"you click the import button below, ACF will import the field groups."
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:52
|
463 |
#: includes/fields/class-acf-field-file.php:57
|
464 |
msgid "Select File"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:62
|
468 |
msgid "Import File"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:85
|
472 |
#: includes/fields/class-acf-field-file.php:170
|
473 |
msgid "No file selected"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:93
|
477 |
msgid "Error uploading file. Please try again"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:98
|
481 |
msgid "Incorrect file type"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:107
|
485 |
msgid "Import file empty"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/admin/tools/class-acf-admin-tool-import.php:138
|
489 |
#, php-format
|
490 |
msgid "Imported 1 field group"
|
491 |
msgid_plural "Imported %s field groups"
|
1182 |
msgid "(no title)"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: includes/api/api-helpers.php:3911
|
1186 |
#, php-format
|
1187 |
msgid "Image width must be at least %dpx."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: includes/api/api-helpers.php:3916
|
1191 |
#, php-format
|
1192 |
msgid "Image width must not exceed %dpx."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: includes/api/api-helpers.php:3932
|
1196 |
#, php-format
|
1197 |
msgid "Image height must be at least %dpx."
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: includes/api/api-helpers.php:3937
|
1201 |
#, php-format
|
1202 |
msgid "Image height must not exceed %dpx."
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: includes/api/api-helpers.php:3955
|
1206 |
#, php-format
|
1207 |
msgid "File size must be at least %s."
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: includes/api/api-helpers.php:3960
|
1211 |
#, php-format
|
1212 |
msgid "File size must must not exceed %s."
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: includes/api/api-helpers.php:3994
|
1216 |
#, php-format
|
1217 |
msgid "File type must be %s."
|
1218 |
msgstr ""
|
1375 |
msgid "jQuery"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: includes/fields.php:354 includes/fields/class-acf-field-button-group.php:177
|
|
|
1379 |
#: includes/fields/class-acf-field-checkbox.php:389
|
1380 |
#: includes/fields/class-acf-field-group.php:474
|
1381 |
#: includes/fields/class-acf-field-radio.php:290
|
2514 |
msgid "Leave blank for no limit"
|
2515 |
msgstr ""
|
2516 |
|
2517 |
+
#: includes/fields/class-acf-field-text.php:181
|
2518 |
+
#: includes/fields/class-acf-field-textarea.php:213
|
2519 |
+
#, php-format
|
2520 |
+
msgid "Value must not exceed %d characters"
|
2521 |
+
msgstr ""
|
2522 |
+
|
2523 |
#: includes/fields/class-acf-field-textarea.php:25
|
2524 |
msgid "Text Area"
|
2525 |
msgstr ""
|
2645 |
msgid "Validate Email"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:591
|
2649 |
+
#: pro/options-page.php:81
|
2650 |
msgid "Update"
|
2651 |
msgstr ""
|
2652 |
|
2739 |
msgid "Page Template"
|
2740 |
msgstr ""
|
2741 |
|
2742 |
+
#: includes/locations/class-acf-location-page-template.php:87
|
2743 |
+
#: includes/locations/class-acf-location-post-template.php:134
|
2744 |
msgid "Default Template"
|
2745 |
msgstr ""
|
2746 |
|
2833 |
msgid "<b>Error</b>. Could not connect to update server"
|
2834 |
msgstr ""
|
2835 |
|
2836 |
+
#: pro/admin/admin-updates.php:118 pro/admin/views/html-settings-updates.php:13
|
|
|
2837 |
msgid "Updates"
|
2838 |
msgstr ""
|
2839 |
|
readme.txt
CHANGED
@@ -66,6 +66,36 @@ From your WordPress dashboard
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 5.7.10 =
|
70 |
*Release Date - 16 January 2019*
|
71 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 5.7.12 =
|
70 |
+
*Release Date - 15 February 2019*
|
71 |
+
|
72 |
+
* Fix - Added missing function `register_field_group()`.
|
73 |
+
* Fix - Fixed PHP 5.4 error "Can't use function return value in write context".
|
74 |
+
* Fix - Fixed bug causing wp_options values to be slashed incorrectly.
|
75 |
+
* Fix - Fixed bug where "sync" feature imported field groups without fields.
|
76 |
+
* Fix - Fixed bug preventing `get_field_object()` working with a field key.
|
77 |
+
* Fix - Fixed bug causing incorrect results in `get_sub_field()`.
|
78 |
+
* Fix - Fixed bug causing draft and preview issues with serialized values.
|
79 |
+
* Fix - Fixed bug causing reversed field group metabox order.
|
80 |
+
* Fix - Fixed bug causing incorrect character count when validating values.
|
81 |
+
* Fix - Fixed bug showing incorrect choices for post_template location rule.
|
82 |
+
* Fix - Fixed bug causing incorrect value retrieval after `switch_to_blog()`.
|
83 |
+
* i18n - Updated Persian translation thanks to Majix.
|
84 |
+
|
85 |
+
= 5.7.11 =
|
86 |
+
*Release Date - 11 February 2019*
|
87 |
+
|
88 |
+
* New - Added support for persistent object caching.
|
89 |
+
* Fix - Fixed PHP error in `determine_locale()` affecting AJAX requests.
|
90 |
+
* Fix - Fixed bug affecting dynamic metabox check when selecting "default" page template.
|
91 |
+
* Fix - Fixed bug where tab fields did not render correctly within a dynamic metabox.
|
92 |
+
* Tweak - Removed language fallback from "zh_TW" to "zh_CN".
|
93 |
+
* Dev - Refactored various core functions.
|
94 |
+
* Dev - Added new hook variation functions `acf_add_filter_variations()` and `acf_add_action_variations()`.
|
95 |
+
* i18n - Updated Portuguese language thanks to Pedro Mendonça.
|
96 |
+
* i18n - Updated German translation thanks to Ralf Koller.
|
97 |
+
* i18n - Updated Swiss German translation thanks to Raphael Hüni.
|
98 |
+
|
99 |
= 5.7.10 =
|
100 |
*Release Date - 16 January 2019*
|
101 |
|