Version Description
- API: Added new 'kses' setting to the
acf_form()
function - Core: Added new 'Admin Tools' framework (includes design refresh)
- Core: Minor fixes and improvements
- Language: Update Ukrainian translation - thanks to Jurko Chervony
- Language: Update Russian translation - thanks to Andriy Toniyevych
- Language: Update Hebrew translation - thanks to Itamar Megged
Download this release
Release Info
Developer | elliotcondon |
Plugin | Advanced Custom Fields |
Version | 5.6.5 |
Comparing to | |
See all releases |
Code changes from version 5.6.4 to 5.6.5
- acf.php +3 -3
- assets/_build/css/field-group.less +22 -0
- assets/_build/css/global.less +268 -0
- assets/_build/css/input.less +5 -2
- assets/_build/css/vars.less +6 -0
- assets/_build/js/acf.js +144 -0
- assets/css/acf-field-group.css +14 -0
- assets/css/acf-global.css +212 -0
- assets/css/acf-input.css +5 -3
- assets/js/acf-input.js +144 -0
- assets/js/acf-input.min.js +3 -3
- includes/admin/admin-field-groups.php +0 -1
- includes/admin/admin-tools.php +354 -0
- includes/admin/admin.php +1 -1
- includes/admin/settings-tools.php +0 -453
- includes/admin/tools/class-acf-admin-tool-export.php +592 -0
- includes/admin/tools/class-acf-admin-tool-import.php +277 -0
- includes/admin/tools/class-acf-admin-tool.php +195 -0
- includes/admin/views/html-admin-tools.php +27 -0
- includes/admin/views/settings-tools-export.php +0 -108
- includes/admin/views/settings-tools.php +0 -98
- includes/api/api-field.php +25 -16
- includes/api/api-helpers.php +39 -45
- includes/fields/class-acf-field-file.php +4 -0
- includes/fields/class-acf-field-group.php +2 -2
- includes/forms/form-comment.php +9 -7
- includes/forms/form-front.php +21 -18
- includes/locations/class-acf-location-page-type.php +8 -8
- lang/acf-ru_RU.mo +0 -0
- lang/acf-ru_RU.po +480 -443
- lang/acf-uk.mo +0 -0
- lang/acf-uk.po +1929 -1198
- readme.txt +8 -0
acf.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com/
|
5 |
Description: Customise WordPress with powerful, professional and intuitive fields.
|
6 |
-
Version: 5.6.
|
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.6.
|
22 |
|
23 |
|
24 |
/** @var array The plugin settings array */
|
@@ -160,7 +160,7 @@ class acf {
|
|
160 |
acf_include('includes/admin/admin-field-group.php');
|
161 |
acf_include('includes/admin/admin-field-groups.php');
|
162 |
acf_include('includes/admin/install.php');
|
163 |
-
acf_include('includes/admin/
|
164 |
acf_include('includes/admin/settings-info.php');
|
165 |
|
166 |
|
3 |
Plugin Name: Advanced Custom Fields
|
4 |
Plugin URI: https://www.advancedcustomfields.com/
|
5 |
Description: Customise WordPress with powerful, professional and intuitive fields.
|
6 |
+
Version: 5.6.5
|
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.6.5';
|
22 |
|
23 |
|
24 |
/** @var array The plugin settings array */
|
160 |
acf_include('includes/admin/admin-field-group.php');
|
161 |
acf_include('includes/admin/admin-field-groups.php');
|
162 |
acf_include('includes/admin/install.php');
|
163 |
+
acf_include('includes/admin/admin-tools.php');
|
164 |
acf_include('includes/admin/settings-info.php');
|
165 |
|
166 |
|
assets/_build/css/field-group.less
CHANGED
@@ -486,6 +486,28 @@ table.conditional-logic-rules tbody td {
|
|
486 |
|
487 |
}
|
488 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
/*--------------------------------------------------------------------------------------------
|
490 |
*
|
491 |
* RTL
|
486 |
|
487 |
}
|
488 |
|
489 |
+
|
490 |
+
/*--------------------------------------------------------------------------------------------
|
491 |
+
*
|
492 |
+
* Slug
|
493 |
+
*
|
494 |
+
*--------------------------------------------------------------------------------------------*/
|
495 |
+
|
496 |
+
#slugdiv {
|
497 |
+
|
498 |
+
.inside {
|
499 |
+
padding: 12px;
|
500 |
+
margin: 0;
|
501 |
+
}
|
502 |
+
|
503 |
+
input[type="text"] {
|
504 |
+
width: 100%;
|
505 |
+
height: 28px;
|
506 |
+
font-size: 14px;
|
507 |
+
}
|
508 |
+
}
|
509 |
+
|
510 |
+
|
511 |
/*--------------------------------------------------------------------------------------------
|
512 |
*
|
513 |
* RTL
|
assets/_build/css/global.less
CHANGED
@@ -795,6 +795,18 @@ a.acf-icon.-cancel.grey:hover {
|
|
795 |
}
|
796 |
|
797 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
798 |
/*---------------------------------------------------------------------------------------------
|
799 |
*
|
800 |
* wp-admin
|
@@ -885,6 +897,7 @@ a.acf-icon.-cancel.grey:hover {
|
|
885 |
.acf-columns-2 {
|
886 |
margin-right: 300px;
|
887 |
clear: both;
|
|
|
888 |
|
889 |
/* rtl */
|
890 |
html[dir="rtl"] & {
|
@@ -949,6 +962,7 @@ a.acf-icon.-cancel.grey:hover {
|
|
949 |
|
950 |
}
|
951 |
|
|
|
952 |
/*---------------------------------------------------------------------------------------------
|
953 |
*
|
954 |
* Fake table
|
@@ -1460,6 +1474,260 @@ html[dir="rtl"] .acf-table > tbody > tr > td.order + td {
|
|
1460 |
border-right-color: #e1e1e1;
|
1461 |
}
|
1462 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1463 |
/*---------------------------------------------------------------------------------------------
|
1464 |
*
|
1465 |
* Retina
|
795 |
}
|
796 |
|
797 |
|
798 |
+
/* fade-up */
|
799 |
+
.acf-fade-up {
|
800 |
+
-webkit-transition: all 0.25s ease-out;
|
801 |
+
-moz-transition: all 0.25s ease-out;
|
802 |
+
-o-transition: all 0.25s ease-out;
|
803 |
+
transition: all 0.25s ease-out;
|
804 |
+
|
805 |
+
transform: translate(0, -10px);
|
806 |
+
opacity: 0;
|
807 |
+
}
|
808 |
+
|
809 |
+
|
810 |
/*---------------------------------------------------------------------------------------------
|
811 |
*
|
812 |
* wp-admin
|
897 |
.acf-columns-2 {
|
898 |
margin-right: 300px;
|
899 |
clear: both;
|
900 |
+
.clearfix;
|
901 |
|
902 |
/* rtl */
|
903 |
html[dir="rtl"] & {
|
962 |
|
963 |
}
|
964 |
|
965 |
+
|
966 |
/*---------------------------------------------------------------------------------------------
|
967 |
*
|
968 |
* Fake table
|
1474 |
border-right-color: #e1e1e1;
|
1475 |
}
|
1476 |
|
1477 |
+
|
1478 |
+
/*---------------------------------------------------------------------------------------------
|
1479 |
+
*
|
1480 |
+
* acf-postbox-columns
|
1481 |
+
*
|
1482 |
+
*---------------------------------------------------------------------------------------------*/
|
1483 |
+
|
1484 |
+
.acf-postbox-columns {
|
1485 |
+
.clearfix;
|
1486 |
+
position: relative;
|
1487 |
+
margin-top: -11px;
|
1488 |
+
margin-bottom: -11px;
|
1489 |
+
margin-left: -12px;
|
1490 |
+
margin-right: (280px - 12px);
|
1491 |
+
|
1492 |
+
.acf-postbox-main,
|
1493 |
+
.acf-postbox-side {
|
1494 |
+
.border-box;
|
1495 |
+
padding: 0 12px 12px;
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
.acf-postbox-main {
|
1499 |
+
float: left;
|
1500 |
+
width: 100%;
|
1501 |
+
}
|
1502 |
+
|
1503 |
+
.acf-postbox-side {
|
1504 |
+
float: right;
|
1505 |
+
width: 280px;
|
1506 |
+
margin-right: -280px;
|
1507 |
+
|
1508 |
+
&:before {
|
1509 |
+
content: "";
|
1510 |
+
display: block;
|
1511 |
+
position: absolute;
|
1512 |
+
width: 1px;
|
1513 |
+
height: 100%;
|
1514 |
+
top: 0;
|
1515 |
+
right: 0;
|
1516 |
+
background: #ebebeb;
|
1517 |
+
}
|
1518 |
+
}
|
1519 |
+
}
|
1520 |
+
|
1521 |
+
|
1522 |
+
/* mobile */
|
1523 |
+
@media only screen and (max-width: 850px) {
|
1524 |
+
|
1525 |
+
.acf-postbox-columns {
|
1526 |
+
margin: 0;
|
1527 |
+
|
1528 |
+
.acf-postbox-main,
|
1529 |
+
.acf-postbox-side {
|
1530 |
+
float: none;
|
1531 |
+
width: auto;
|
1532 |
+
margin: 0;
|
1533 |
+
padding: 0;
|
1534 |
+
}
|
1535 |
+
|
1536 |
+
.acf-postbox-side {
|
1537 |
+
margin-top: 1em;
|
1538 |
+
|
1539 |
+
&:before {
|
1540 |
+
display: none;
|
1541 |
+
}
|
1542 |
+
}
|
1543 |
+
}
|
1544 |
+
}
|
1545 |
+
|
1546 |
+
|
1547 |
+
/*---------------------------------------------------------------------------------------------
|
1548 |
+
*
|
1549 |
+
* acf-panel
|
1550 |
+
*
|
1551 |
+
*---------------------------------------------------------------------------------------------*/
|
1552 |
+
|
1553 |
+
.acf-panel {
|
1554 |
+
margin-top: -1px;
|
1555 |
+
border-top: 1px solid #e2e4e7;
|
1556 |
+
border-bottom: 1px solid #e2e4e7;
|
1557 |
+
|
1558 |
+
.acf-panel-title {
|
1559 |
+
margin: 0;
|
1560 |
+
padding: 12px;
|
1561 |
+
font-weight: bold;
|
1562 |
+
cursor: pointer;
|
1563 |
+
font-size: inherit;
|
1564 |
+
|
1565 |
+
i {
|
1566 |
+
float: right;
|
1567 |
+
}
|
1568 |
+
}
|
1569 |
+
|
1570 |
+
.acf-panel-inside {
|
1571 |
+
margin: 0;
|
1572 |
+
padding: 0 12px 12px;
|
1573 |
+
display: none;
|
1574 |
+
}
|
1575 |
+
|
1576 |
+
/* open */
|
1577 |
+
&.-open {
|
1578 |
+
|
1579 |
+
.acf-panel-inside {
|
1580 |
+
display: block;
|
1581 |
+
}
|
1582 |
+
|
1583 |
+
}
|
1584 |
+
|
1585 |
+
|
1586 |
+
/* inside postbox */
|
1587 |
+
.postbox & {
|
1588 |
+
margin-left: -12px;
|
1589 |
+
margin-right: -12px;
|
1590 |
+
}
|
1591 |
+
|
1592 |
+
|
1593 |
+
/* fields */
|
1594 |
+
.acf-field {
|
1595 |
+
margin: 20px 0 0;
|
1596 |
+
|
1597 |
+
.acf-label label {
|
1598 |
+
color: #555d66;
|
1599 |
+
font-weight: normal;
|
1600 |
+
}
|
1601 |
+
|
1602 |
+
&:first-child {
|
1603 |
+
margin-top: 0;
|
1604 |
+
}
|
1605 |
+
}
|
1606 |
+
|
1607 |
+
}
|
1608 |
+
|
1609 |
+
|
1610 |
+
/*---------------------------------------------------------------------------------------------
|
1611 |
+
*
|
1612 |
+
* Admin Tools
|
1613 |
+
*
|
1614 |
+
*---------------------------------------------------------------------------------------------*/
|
1615 |
+
|
1616 |
+
#acf-admin-tools {
|
1617 |
+
|
1618 |
+
.notice {
|
1619 |
+
margin-top: 10px;
|
1620 |
+
}
|
1621 |
+
}
|
1622 |
+
|
1623 |
+
.acf-meta-box-wrap {
|
1624 |
+
margin-top: 10px;
|
1625 |
+
|
1626 |
+
.postbox {
|
1627 |
+
.border-box;
|
1628 |
+
|
1629 |
+
.inside {
|
1630 |
+
margin-bottom: 0;
|
1631 |
+
}
|
1632 |
+
|
1633 |
+
.hndle {
|
1634 |
+
font-size: 14px;
|
1635 |
+
padding: 8px 12px;
|
1636 |
+
margin: 0;
|
1637 |
+
line-height: 1.4;
|
1638 |
+
}
|
1639 |
+
|
1640 |
+
.handlediv {
|
1641 |
+
display: none;
|
1642 |
+
}
|
1643 |
+
}
|
1644 |
+
|
1645 |
+
|
1646 |
+
/* acf-fields */
|
1647 |
+
.acf-fields {
|
1648 |
+
border: #ebebeb solid 1px;
|
1649 |
+
background: #fafafa;
|
1650 |
+
border-radius: 3px;
|
1651 |
+
}
|
1652 |
+
}
|
1653 |
+
|
1654 |
+
|
1655 |
+
/* grid */
|
1656 |
+
.acf-meta-box-wrap.-grid {
|
1657 |
+
margin-left: 8px;
|
1658 |
+
margin-right: 8px;
|
1659 |
+
|
1660 |
+
.postbox {
|
1661 |
+
float: left;
|
1662 |
+
clear: left;
|
1663 |
+
width: 50%;
|
1664 |
+
margin: 0 0 16px;
|
1665 |
+
|
1666 |
+
&:nth-child(odd) {
|
1667 |
+
margin-left: -8px;
|
1668 |
+
}
|
1669 |
+
|
1670 |
+
&:nth-child(even) {
|
1671 |
+
float: right;
|
1672 |
+
clear: right;
|
1673 |
+
margin-right: -8px;
|
1674 |
+
}
|
1675 |
+
}
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
|
1679 |
+
/* mobile */
|
1680 |
+
@media only screen and (max-width: 850px) {
|
1681 |
+
|
1682 |
+
.acf-meta-box-wrap.-grid {
|
1683 |
+
margin-left: 0;
|
1684 |
+
margin-right: 0;
|
1685 |
+
|
1686 |
+
.postbox {
|
1687 |
+
margin-left: 0 !important;
|
1688 |
+
margin-right: 0 !important;
|
1689 |
+
width: 100%;
|
1690 |
+
}
|
1691 |
+
}
|
1692 |
+
}
|
1693 |
+
|
1694 |
+
|
1695 |
+
/* export tool */
|
1696 |
+
#acf-admin-tool-export {
|
1697 |
+
|
1698 |
+
p {
|
1699 |
+
max-width: 800px;
|
1700 |
+
}
|
1701 |
+
|
1702 |
+
ul {
|
1703 |
+
column-width: 200px;
|
1704 |
+
}
|
1705 |
+
|
1706 |
+
.acf-postbox-side .button {
|
1707 |
+
margin: 0;
|
1708 |
+
width: 100%;
|
1709 |
+
}
|
1710 |
+
|
1711 |
+
textarea {
|
1712 |
+
display: block;
|
1713 |
+
width: 100%;
|
1714 |
+
min-height: 500px;
|
1715 |
+
|
1716 |
+
background: #fafafa;
|
1717 |
+
box-shadow: none;
|
1718 |
+
padding: 7px;
|
1719 |
+
border-radius: 3px;
|
1720 |
+
}
|
1721 |
+
|
1722 |
+
/* panel: selection */
|
1723 |
+
.acf-panel-selection {
|
1724 |
+
.acf-label {
|
1725 |
+
display: none;
|
1726 |
+
}
|
1727 |
+
}
|
1728 |
+
}
|
1729 |
+
|
1730 |
+
|
1731 |
/*---------------------------------------------------------------------------------------------
|
1732 |
*
|
1733 |
* Retina
|
assets/_build/css/input.less
CHANGED
@@ -37,6 +37,10 @@
|
|
37 |
margin: 0 0 3px;
|
38 |
padding: 0;
|
39 |
}
|
|
|
|
|
|
|
|
|
40 |
}
|
41 |
|
42 |
|
@@ -335,8 +339,7 @@ td.acf-fields {
|
|
335 |
/* inside */
|
336 |
> .inside {
|
337 |
display: block !important; /* stop metabox from hiding when closed */
|
338 |
-
margin
|
339 |
-
margin-right: -@field_padding_x !important;
|
340 |
}
|
341 |
|
342 |
> .acf-fields > .acf-field {
|
37 |
margin: 0 0 3px;
|
38 |
padding: 0;
|
39 |
}
|
40 |
+
|
41 |
+
&:empty {
|
42 |
+
margin-bottom: 0;
|
43 |
+
}
|
44 |
}
|
45 |
|
46 |
|
339 |
/* inside */
|
340 |
> .inside {
|
341 |
display: block !important; /* stop metabox from hiding when closed */
|
342 |
+
margin: -@field_padding_x !important;
|
|
|
343 |
}
|
344 |
|
345 |
> .acf-fields > .acf-field {
|
assets/_build/css/vars.less
CHANGED
@@ -33,4 +33,10 @@
|
|
33 |
display: table;
|
34 |
}
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
33 |
display: table;
|
34 |
}
|
35 |
|
36 |
+
}
|
37 |
+
|
38 |
+
.border-box() {
|
39 |
+
-webkit-box-sizing: border-box;
|
40 |
+
-moz-box-sizing: border-box;
|
41 |
+
box-sizing: border-box;
|
42 |
}
|
assets/_build/js/acf.js
CHANGED
@@ -3421,6 +3421,38 @@ var acf;
|
|
3421 |
|
3422 |
},
|
3423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3424 |
confirm: function( $el, callback, text, button_y, button_n ){
|
3425 |
|
3426 |
// defaults
|
@@ -3623,6 +3655,118 @@ var acf;
|
|
3623 |
}
|
3624 |
|
3625 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3626 |
|
3627 |
|
3628 |
/*
|
3421 |
|
3422 |
},
|
3423 |
|
3424 |
+
temp: function( text, $el ){
|
3425 |
+
|
3426 |
+
// tooltip
|
3427 |
+
var $el = this.tooltip( text, $el );
|
3428 |
+
var time = 0;
|
3429 |
+
|
3430 |
+
|
3431 |
+
// wait 250
|
3432 |
+
time += 250;
|
3433 |
+
|
3434 |
+
|
3435 |
+
// add class
|
3436 |
+
setTimeout(function(){
|
3437 |
+
|
3438 |
+
$el.addClass('acf-fade-up');
|
3439 |
+
|
3440 |
+
}, time);
|
3441 |
+
|
3442 |
+
|
3443 |
+
// wait 250
|
3444 |
+
time += 250;
|
3445 |
+
|
3446 |
+
|
3447 |
+
// remove
|
3448 |
+
setTimeout(function(){
|
3449 |
+
|
3450 |
+
$el.remove();
|
3451 |
+
|
3452 |
+
}, time);
|
3453 |
+
|
3454 |
+
},
|
3455 |
+
|
3456 |
confirm: function( $el, callback, text, button_y, button_n ){
|
3457 |
|
3458 |
// defaults
|
3655 |
}
|
3656 |
|
3657 |
});
|
3658 |
+
|
3659 |
+
|
3660 |
+
/**
|
3661 |
+
* panel
|
3662 |
+
*
|
3663 |
+
* This model handles .acf-panel JS
|
3664 |
+
*
|
3665 |
+
* @date 21/10/17
|
3666 |
+
* @since 5.6.3
|
3667 |
+
*
|
3668 |
+
* @param n/a
|
3669 |
+
* @return n/a
|
3670 |
+
*/
|
3671 |
+
|
3672 |
+
var acf_panel = acf.model.extend({
|
3673 |
+
|
3674 |
+
events: {
|
3675 |
+
'click .acf-panel-title': '_click',
|
3676 |
+
},
|
3677 |
+
|
3678 |
+
_click: function( e ){
|
3679 |
+
|
3680 |
+
// prevent Defailt
|
3681 |
+
e.preventDefault();
|
3682 |
+
|
3683 |
+
|
3684 |
+
// open close
|
3685 |
+
this.toggle( e.$el.parent() );
|
3686 |
+
|
3687 |
+
},
|
3688 |
+
|
3689 |
+
is_open: function( $el ) {
|
3690 |
+
return $el.hasClass('-open');
|
3691 |
+
},
|
3692 |
+
|
3693 |
+
toggle: function( $el ){
|
3694 |
+
|
3695 |
+
// is open
|
3696 |
+
if( this.is_open($el) ) {
|
3697 |
+
this.close( $el );
|
3698 |
+
} else {
|
3699 |
+
this.open( $el );
|
3700 |
+
}
|
3701 |
+
|
3702 |
+
},
|
3703 |
+
|
3704 |
+
open: function( $el ){
|
3705 |
+
$el.addClass('-open');
|
3706 |
+
$el.find('.acf-panel-title i').attr('class', 'dashicons dashicons-arrow-down');
|
3707 |
+
},
|
3708 |
+
|
3709 |
+
close: function( $el ){
|
3710 |
+
$el.removeClass('-open');
|
3711 |
+
$el.find('.acf-panel-title i').attr('class', 'dashicons dashicons-arrow-right');
|
3712 |
+
}
|
3713 |
+
|
3714 |
+
});
|
3715 |
+
|
3716 |
+
|
3717 |
+
/**
|
3718 |
+
* acf_h2_notice
|
3719 |
+
*
|
3720 |
+
* This model will move the .acf-notice element quickly without the WP flicker
|
3721 |
+
*
|
3722 |
+
* @date 21/10/17
|
3723 |
+
* @since 5.6.3
|
3724 |
+
*
|
3725 |
+
* @param n/a
|
3726 |
+
* @return n/a
|
3727 |
+
*/
|
3728 |
+
|
3729 |
+
acf.notice = acf.model.extend({
|
3730 |
+
|
3731 |
+
actions: {
|
3732 |
+
'prepare': 'prepare',
|
3733 |
+
},
|
3734 |
+
|
3735 |
+
prepare: function(){
|
3736 |
+
|
3737 |
+
// vars
|
3738 |
+
var $notice = $('.acf-notice');
|
3739 |
+
|
3740 |
+
|
3741 |
+
// move
|
3742 |
+
if( $notice.length ) {
|
3743 |
+
$('h1:first').after( $notice );
|
3744 |
+
}
|
3745 |
+
|
3746 |
+
},
|
3747 |
+
|
3748 |
+
html: function( text, type ){
|
3749 |
+
|
3750 |
+
},
|
3751 |
+
|
3752 |
+
success: function( text ){
|
3753 |
+
|
3754 |
+
|
3755 |
+
},
|
3756 |
+
|
3757 |
+
error: function( text ){
|
3758 |
+
|
3759 |
+
},
|
3760 |
+
|
3761 |
+
warning: function( text ){
|
3762 |
+
|
3763 |
+
},
|
3764 |
+
|
3765 |
+
information: function( text ){
|
3766 |
+
|
3767 |
+
}
|
3768 |
+
|
3769 |
+
});
|
3770 |
|
3771 |
|
3772 |
/*
|
assets/css/acf-field-group.css
CHANGED
@@ -375,6 +375,20 @@ table.conditional-logic-rules tbody td {
|
|
375 |
}
|
376 |
/*--------------------------------------------------------------------------------------------
|
377 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
* RTL
|
379 |
*
|
380 |
*--------------------------------------------------------------------------------------------*/
|
375 |
}
|
376 |
/*--------------------------------------------------------------------------------------------
|
377 |
*
|
378 |
+
* Slug
|
379 |
+
*
|
380 |
+
*--------------------------------------------------------------------------------------------*/
|
381 |
+
#slugdiv .inside {
|
382 |
+
padding: 12px;
|
383 |
+
margin: 0;
|
384 |
+
}
|
385 |
+
#slugdiv input[type="text"] {
|
386 |
+
width: 100%;
|
387 |
+
height: 28px;
|
388 |
+
font-size: 14px;
|
389 |
+
}
|
390 |
+
/*--------------------------------------------------------------------------------------------
|
391 |
+
*
|
392 |
* RTL
|
393 |
*
|
394 |
*--------------------------------------------------------------------------------------------*/
|
assets/css/acf-global.css
CHANGED
@@ -732,6 +732,15 @@ a.acf-icon.-cancel.grey:hover {
|
|
732 |
transform: translate(50px, 0);
|
733 |
opacity: 0;
|
734 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
735 |
/*---------------------------------------------------------------------------------------------
|
736 |
*
|
737 |
* wp-admin
|
@@ -795,6 +804,11 @@ a.acf-icon.-cancel.grey:hover {
|
|
795 |
clear: both;
|
796 |
/* rtl */
|
797 |
}
|
|
|
|
|
|
|
|
|
|
|
798 |
html[dir="rtl"] .acf-columns-2 {
|
799 |
margin-right: 0;
|
800 |
margin-left: 300px;
|
@@ -1235,6 +1249,204 @@ html[dir="rtl"] .acf-table > tbody > tr > td.order + td {
|
|
1235 |
}
|
1236 |
/*---------------------------------------------------------------------------------------------
|
1237 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1238 |
* Retina
|
1239 |
*
|
1240 |
*---------------------------------------------------------------------------------------------*/
|
732 |
transform: translate(50px, 0);
|
733 |
opacity: 0;
|
734 |
}
|
735 |
+
/* fade-up */
|
736 |
+
.acf-fade-up {
|
737 |
+
-webkit-transition: all 0.25s ease-out;
|
738 |
+
-moz-transition: all 0.25s ease-out;
|
739 |
+
-o-transition: all 0.25s ease-out;
|
740 |
+
transition: all 0.25s ease-out;
|
741 |
+
transform: translate(0, -10px);
|
742 |
+
opacity: 0;
|
743 |
+
}
|
744 |
/*---------------------------------------------------------------------------------------------
|
745 |
*
|
746 |
* wp-admin
|
804 |
clear: both;
|
805 |
/* rtl */
|
806 |
}
|
807 |
+
.acf-columns-2:after {
|
808 |
+
clear: both;
|
809 |
+
content: "";
|
810 |
+
display: table;
|
811 |
+
}
|
812 |
html[dir="rtl"] .acf-columns-2 {
|
813 |
margin-right: 0;
|
814 |
margin-left: 300px;
|
1249 |
}
|
1250 |
/*---------------------------------------------------------------------------------------------
|
1251 |
*
|
1252 |
+
* acf-postbox-columns
|
1253 |
+
*
|
1254 |
+
*---------------------------------------------------------------------------------------------*/
|
1255 |
+
.acf-postbox-columns {
|
1256 |
+
position: relative;
|
1257 |
+
margin-top: -11px;
|
1258 |
+
margin-bottom: -11px;
|
1259 |
+
margin-left: -12px;
|
1260 |
+
margin-right: 268px;
|
1261 |
+
}
|
1262 |
+
.acf-postbox-columns:after {
|
1263 |
+
clear: both;
|
1264 |
+
content: "";
|
1265 |
+
display: table;
|
1266 |
+
}
|
1267 |
+
.acf-postbox-columns .acf-postbox-main,
|
1268 |
+
.acf-postbox-columns .acf-postbox-side {
|
1269 |
+
-webkit-box-sizing: border-box;
|
1270 |
+
-moz-box-sizing: border-box;
|
1271 |
+
box-sizing: border-box;
|
1272 |
+
padding: 0 12px 12px;
|
1273 |
+
}
|
1274 |
+
.acf-postbox-columns .acf-postbox-main {
|
1275 |
+
float: left;
|
1276 |
+
width: 100%;
|
1277 |
+
}
|
1278 |
+
.acf-postbox-columns .acf-postbox-side {
|
1279 |
+
float: right;
|
1280 |
+
width: 280px;
|
1281 |
+
margin-right: -280px;
|
1282 |
+
}
|
1283 |
+
.acf-postbox-columns .acf-postbox-side:before {
|
1284 |
+
content: "";
|
1285 |
+
display: block;
|
1286 |
+
position: absolute;
|
1287 |
+
width: 1px;
|
1288 |
+
height: 100%;
|
1289 |
+
top: 0;
|
1290 |
+
right: 0;
|
1291 |
+
background: #ebebeb;
|
1292 |
+
}
|
1293 |
+
/* mobile */
|
1294 |
+
@media only screen and (max-width: 850px) {
|
1295 |
+
.acf-postbox-columns {
|
1296 |
+
margin: 0;
|
1297 |
+
}
|
1298 |
+
.acf-postbox-columns .acf-postbox-main,
|
1299 |
+
.acf-postbox-columns .acf-postbox-side {
|
1300 |
+
float: none;
|
1301 |
+
width: auto;
|
1302 |
+
margin: 0;
|
1303 |
+
padding: 0;
|
1304 |
+
}
|
1305 |
+
.acf-postbox-columns .acf-postbox-side {
|
1306 |
+
margin-top: 1em;
|
1307 |
+
}
|
1308 |
+
.acf-postbox-columns .acf-postbox-side:before {
|
1309 |
+
display: none;
|
1310 |
+
}
|
1311 |
+
}
|
1312 |
+
/*---------------------------------------------------------------------------------------------
|
1313 |
+
*
|
1314 |
+
* acf-panel
|
1315 |
+
*
|
1316 |
+
*---------------------------------------------------------------------------------------------*/
|
1317 |
+
.acf-panel {
|
1318 |
+
margin-top: -1px;
|
1319 |
+
border-top: 1px solid #e2e4e7;
|
1320 |
+
border-bottom: 1px solid #e2e4e7;
|
1321 |
+
/* open */
|
1322 |
+
/* inside postbox */
|
1323 |
+
/* fields */
|
1324 |
+
}
|
1325 |
+
.acf-panel .acf-panel-title {
|
1326 |
+
margin: 0;
|
1327 |
+
padding: 12px;
|
1328 |
+
font-weight: bold;
|
1329 |
+
cursor: pointer;
|
1330 |
+
font-size: inherit;
|
1331 |
+
}
|
1332 |
+
.acf-panel .acf-panel-title i {
|
1333 |
+
float: right;
|
1334 |
+
}
|
1335 |
+
.acf-panel .acf-panel-inside {
|
1336 |
+
margin: 0;
|
1337 |
+
padding: 0 12px 12px;
|
1338 |
+
display: none;
|
1339 |
+
}
|
1340 |
+
.acf-panel.-open .acf-panel-inside {
|
1341 |
+
display: block;
|
1342 |
+
}
|
1343 |
+
.postbox .acf-panel {
|
1344 |
+
margin-left: -12px;
|
1345 |
+
margin-right: -12px;
|
1346 |
+
}
|
1347 |
+
.acf-panel .acf-field {
|
1348 |
+
margin: 20px 0 0;
|
1349 |
+
}
|
1350 |
+
.acf-panel .acf-field .acf-label label {
|
1351 |
+
color: #555d66;
|
1352 |
+
font-weight: normal;
|
1353 |
+
}
|
1354 |
+
.acf-panel .acf-field:first-child {
|
1355 |
+
margin-top: 0;
|
1356 |
+
}
|
1357 |
+
/*---------------------------------------------------------------------------------------------
|
1358 |
+
*
|
1359 |
+
* Admin Tools
|
1360 |
+
*
|
1361 |
+
*---------------------------------------------------------------------------------------------*/
|
1362 |
+
#acf-admin-tools .notice {
|
1363 |
+
margin-top: 10px;
|
1364 |
+
}
|
1365 |
+
.acf-meta-box-wrap {
|
1366 |
+
margin-top: 10px;
|
1367 |
+
/* acf-fields */
|
1368 |
+
}
|
1369 |
+
.acf-meta-box-wrap .postbox {
|
1370 |
+
-webkit-box-sizing: border-box;
|
1371 |
+
-moz-box-sizing: border-box;
|
1372 |
+
box-sizing: border-box;
|
1373 |
+
}
|
1374 |
+
.acf-meta-box-wrap .postbox .inside {
|
1375 |
+
margin-bottom: 0;
|
1376 |
+
}
|
1377 |
+
.acf-meta-box-wrap .postbox .hndle {
|
1378 |
+
font-size: 14px;
|
1379 |
+
padding: 8px 12px;
|
1380 |
+
margin: 0;
|
1381 |
+
line-height: 1.4;
|
1382 |
+
}
|
1383 |
+
.acf-meta-box-wrap .postbox .handlediv {
|
1384 |
+
display: none;
|
1385 |
+
}
|
1386 |
+
.acf-meta-box-wrap .acf-fields {
|
1387 |
+
border: #ebebeb solid 1px;
|
1388 |
+
background: #fafafa;
|
1389 |
+
border-radius: 3px;
|
1390 |
+
}
|
1391 |
+
/* grid */
|
1392 |
+
.acf-meta-box-wrap.-grid {
|
1393 |
+
margin-left: 8px;
|
1394 |
+
margin-right: 8px;
|
1395 |
+
}
|
1396 |
+
.acf-meta-box-wrap.-grid .postbox {
|
1397 |
+
float: left;
|
1398 |
+
clear: left;
|
1399 |
+
width: 50%;
|
1400 |
+
margin: 0 0 16px;
|
1401 |
+
}
|
1402 |
+
.acf-meta-box-wrap.-grid .postbox:nth-child(odd) {
|
1403 |
+
margin-left: -8px;
|
1404 |
+
}
|
1405 |
+
.acf-meta-box-wrap.-grid .postbox:nth-child(even) {
|
1406 |
+
float: right;
|
1407 |
+
clear: right;
|
1408 |
+
margin-right: -8px;
|
1409 |
+
}
|
1410 |
+
/* mobile */
|
1411 |
+
@media only screen and (max-width: 850px) {
|
1412 |
+
.acf-meta-box-wrap.-grid {
|
1413 |
+
margin-left: 0;
|
1414 |
+
margin-right: 0;
|
1415 |
+
}
|
1416 |
+
.acf-meta-box-wrap.-grid .postbox {
|
1417 |
+
margin-left: 0 !important;
|
1418 |
+
margin-right: 0 !important;
|
1419 |
+
width: 100%;
|
1420 |
+
}
|
1421 |
+
}
|
1422 |
+
/* export tool */
|
1423 |
+
#acf-admin-tool-export {
|
1424 |
+
/* panel: selection */
|
1425 |
+
}
|
1426 |
+
#acf-admin-tool-export p {
|
1427 |
+
max-width: 800px;
|
1428 |
+
}
|
1429 |
+
#acf-admin-tool-export ul {
|
1430 |
+
column-width: 200px;
|
1431 |
+
}
|
1432 |
+
#acf-admin-tool-export .acf-postbox-side .button {
|
1433 |
+
margin: 0;
|
1434 |
+
width: 100%;
|
1435 |
+
}
|
1436 |
+
#acf-admin-tool-export textarea {
|
1437 |
+
display: block;
|
1438 |
+
width: 100%;
|
1439 |
+
min-height: 500px;
|
1440 |
+
background: #fafafa;
|
1441 |
+
box-shadow: none;
|
1442 |
+
padding: 7px;
|
1443 |
+
border-radius: 3px;
|
1444 |
+
}
|
1445 |
+
#acf-admin-tool-export .acf-panel-selection .acf-label {
|
1446 |
+
display: none;
|
1447 |
+
}
|
1448 |
+
/*---------------------------------------------------------------------------------------------
|
1449 |
+
*
|
1450 |
* Retina
|
1451 |
*
|
1452 |
*---------------------------------------------------------------------------------------------*/
|
assets/css/acf-input.css
CHANGED
@@ -45,6 +45,9 @@
|
|
45 |
margin: 0 0 3px;
|
46 |
padding: 0;
|
47 |
}
|
|
|
|
|
|
|
48 |
.acf-field .acf-input {
|
49 |
vertical-align: top;
|
50 |
}
|
@@ -219,7 +222,7 @@ html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input {
|
|
219 |
}
|
220 |
/* left */
|
221 |
.acf-fields.-clear.-left > .acf-field > .acf-label {
|
222 |
-
padding-right:
|
223 |
}
|
224 |
/*--------------------------------------------------------------------------------------------
|
225 |
*
|
@@ -280,8 +283,7 @@ html[dir="rtl"] .acf-fields.-left > .acf-field > .acf-input {
|
|
280 |
.acf-postbox.seamless > .inside {
|
281 |
display: block !important;
|
282 |
/* stop metabox from hiding when closed */
|
283 |
-
margin
|
284 |
-
margin-right: -12px !important;
|
285 |
}
|
286 |
.acf-postbox.seamless > .acf-fields > .acf-field {
|
287 |
border: 0 none !important;
|
45 |
margin: 0 0 3px;
|
46 |
padding: 0;
|
47 |
}
|
48 |
+
.acf-field .acf-label:empty {
|
49 |
+
margin-bottom: 0;
|
50 |
+
}
|
51 |
.acf-field .acf-input {
|
52 |
vertical-align: top;
|
53 |
}
|
222 |
}
|
223 |
/* left */
|
224 |
.acf-fields.-clear.-left > .acf-field > .acf-label {
|
225 |
+
padding-right: 12px * 2;
|
226 |
}
|
227 |
/*--------------------------------------------------------------------------------------------
|
228 |
*
|
283 |
.acf-postbox.seamless > .inside {
|
284 |
display: block !important;
|
285 |
/* stop metabox from hiding when closed */
|
286 |
+
margin: -12px !important;
|
|
|
287 |
}
|
288 |
.acf-postbox.seamless > .acf-fields > .acf-field {
|
289 |
border: 0 none !important;
|
assets/js/acf-input.js
CHANGED
@@ -3675,6 +3675,38 @@ var acf;
|
|
3675 |
|
3676 |
},
|
3677 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3678 |
confirm: function( $el, callback, text, button_y, button_n ){
|
3679 |
|
3680 |
// defaults
|
@@ -3877,6 +3909,118 @@ var acf;
|
|
3877 |
}
|
3878 |
|
3879 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3880 |
|
3881 |
|
3882 |
/*
|
3675 |
|
3676 |
},
|
3677 |
|
3678 |
+
temp: function( text, $el ){
|
3679 |
+
|
3680 |
+
// tooltip
|
3681 |
+
var $el = this.tooltip( text, $el );
|
3682 |
+
var time = 0;
|
3683 |
+
|
3684 |
+
|
3685 |
+
// wait 250
|
3686 |
+
time += 250;
|
3687 |
+
|
3688 |
+
|
3689 |
+
// add class
|
3690 |
+
setTimeout(function(){
|
3691 |
+
|
3692 |
+
$el.addClass('acf-fade-up');
|
3693 |
+
|
3694 |
+
}, time);
|
3695 |
+
|
3696 |
+
|
3697 |
+
// wait 250
|
3698 |
+
time += 250;
|
3699 |
+
|
3700 |
+
|
3701 |
+
// remove
|
3702 |
+
setTimeout(function(){
|
3703 |
+
|
3704 |
+
$el.remove();
|
3705 |
+
|
3706 |
+
}, time);
|
3707 |
+
|
3708 |
+
},
|
3709 |
+
|
3710 |
confirm: function( $el, callback, text, button_y, button_n ){
|
3711 |
|
3712 |
// defaults
|
3909 |
}
|
3910 |
|
3911 |
});
|
3912 |
+
|
3913 |
+
|
3914 |
+
/**
|
3915 |
+
* panel
|
3916 |
+
*
|
3917 |
+
* This model handles .acf-panel JS
|
3918 |
+
*
|
3919 |
+
* @date 21/10/17
|
3920 |
+
* @since 5.6.3
|
3921 |
+
*
|
3922 |
+
* @param n/a
|
3923 |
+
* @return n/a
|
3924 |
+
*/
|
3925 |
+
|
3926 |
+
var acf_panel = acf.model.extend({
|
3927 |
+
|
3928 |
+
events: {
|
3929 |
+
'click .acf-panel-title': '_click',
|
3930 |
+
},
|
3931 |
+
|
3932 |
+
_click: function( e ){
|
3933 |
+
|
3934 |
+
// prevent Defailt
|
3935 |
+
e.preventDefault();
|
3936 |
+
|
3937 |
+
|
3938 |
+
// open close
|
3939 |
+
this.toggle( e.$el.parent() );
|
3940 |
+
|
3941 |
+
},
|
3942 |
+
|
3943 |
+
is_open: function( $el ) {
|
3944 |
+
return $el.hasClass('-open');
|
3945 |
+
},
|
3946 |
+
|
3947 |
+
toggle: function( $el ){
|
3948 |
+
|
3949 |
+
// is open
|
3950 |
+
if( this.is_open($el) ) {
|
3951 |
+
this.close( $el );
|
3952 |
+
} else {
|
3953 |
+
this.open( $el );
|
3954 |
+
}
|
3955 |
+
|
3956 |
+
},
|
3957 |
+
|
3958 |
+
open: function( $el ){
|
3959 |
+
$el.addClass('-open');
|
3960 |
+
$el.find('.acf-panel-title i').attr('class', 'dashicons dashicons-arrow-down');
|
3961 |
+
},
|
3962 |
+
|
3963 |
+
close: function( $el ){
|
3964 |
+
$el.removeClass('-open');
|
3965 |
+
$el.find('.acf-panel-title i').attr('class', 'dashicons dashicons-arrow-right');
|
3966 |
+
}
|
3967 |
+
|
3968 |
+
});
|
3969 |
+
|
3970 |
+
|
3971 |
+
/**
|
3972 |
+
* acf_h2_notice
|
3973 |
+
*
|
3974 |
+
* This model will move the .acf-notice element quickly without the WP flicker
|
3975 |
+
*
|
3976 |
+
* @date 21/10/17
|
3977 |
+
* @since 5.6.3
|
3978 |
+
*
|
3979 |
+
* @param n/a
|
3980 |
+
* @return n/a
|
3981 |
+
*/
|
3982 |
+
|
3983 |
+
acf.notice = acf.model.extend({
|
3984 |
+
|
3985 |
+
actions: {
|
3986 |
+
'prepare': 'prepare',
|
3987 |
+
},
|
3988 |
+
|
3989 |
+
prepare: function(){
|
3990 |
+
|
3991 |
+
// vars
|
3992 |
+
var $notice = $('.acf-notice');
|
3993 |
+
|
3994 |
+
|
3995 |
+
// move
|
3996 |
+
if( $notice.length ) {
|
3997 |
+
$('h1:first').after( $notice );
|
3998 |
+
}
|
3999 |
+
|
4000 |
+
},
|
4001 |
+
|
4002 |
+
html: function( text, type ){
|
4003 |
+
|
4004 |
+
},
|
4005 |
+
|
4006 |
+
success: function( text ){
|
4007 |
+
|
4008 |
+
|
4009 |
+
},
|
4010 |
+
|
4011 |
+
error: function( text ){
|
4012 |
+
|
4013 |
+
},
|
4014 |
+
|
4015 |
+
warning: function( text ){
|
4016 |
+
|
4017 |
+
},
|
4018 |
+
|
4019 |
+
information: function( text ){
|
4020 |
+
|
4021 |
+
}
|
4022 |
+
|
4023 |
+
});
|
4024 |
|
4025 |
|
4026 |
/*
|
assets/js/acf-input.min.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
!function(e,t){"use strict";var i=function(){function e(){return u}function t(e,t,i,a){return"string"==typeof e&&"function"==typeof t&&(i=parseInt(i||10,10),l("actions",e,t,i,a)),f}function i(){var e=Array.prototype.slice.call(arguments),t=e.shift();return"string"==typeof t&&d("actions",t,e),f}function a(e,t){return"string"==typeof e&&r("actions",e,t),f}function n(e,t,i,a){return"string"==typeof e&&"function"==typeof t&&(i=parseInt(i||10,10),l("filters",e,t,i,a)),f}function s(){var e=Array.prototype.slice.call(arguments),t=e.shift();return"string"==typeof t?d("filters",t,e):f}function o(e,t){return"string"==typeof e&&r("filters",e,t),f}function r(e,t,i,a){if(u[e][t])if(i){var n=u[e][t],s;if(a)for(s=n.length;s--;){var o=n[s];o.callback===i&&o.context===a&&n.splice(s,1)}else for(s=n.length;s--;)n[s].callback===i&&n.splice(s,1)}else u[e][t]=[]}function l(e,t,i,a,n){var s={callback:i,priority:a,context:n},o=u[e][t];o?(o.push(s),o=c(o)):o=[s],u[e][t]=o}function c(e){for(var t,i,a,n=1,s=e.length;n<s;n++){for(t=e[n],i=n;(a=e[i-1])&&a.priority>t.priority;)e[i]=e[i-1],--i;e[i]=t}return e}function d(e,t,i){var a=u[e][t];if(!a)return"filters"===e&&i[0];var n=0,s=a.length;if("filters"===e)for(;n<s;n++)i[0]=a[n].callback.apply(a[n].context,i);else for(;n<s;n++)a[n].callback.apply(a[n].context,i);return"filters"!==e||i[0]}var f={removeFilter:o,applyFilters:s,addFilter:n,removeAction:a,doAction:i,addAction:t,storage:e},u={actions:{},filters:{}};return f};e.wp=e.wp||{},e.wp.hooks=new i}(window);var acf;!function($){$.fn.exists=function(){return $(this).length>0},$.fn.outerHTML=function(){return $(this).get(0).outerHTML},acf={l10n:{},o:{},update:function(e,t){this.o[e]=t},get:function(e){return"undefined"!=typeof this.o[e]?this.o[e]:null},_e:function(e,t){t=t||!1;var i=this.l10n[e]||"";return t&&(i=i[t]||""),i},add_action:function(){for(var e=arguments[0].split(" "),t=e.length,i=0;i<t;i++)arguments[0]="acf/"+e[i],wp.hooks.addAction.apply(this,arguments);return this},remove_action:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.removeAction.apply(this,arguments),this},do_action:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.doAction.apply(this,arguments),this},add_filter:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.addFilter.apply(this,arguments),this},remove_filter:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.removeFilter.apply(this,arguments),this},apply_filters:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.applyFilters.apply(this,arguments)},get_selector:function(e){e=e||"";var t=".acf-field";if($.isPlainObject(e))if($.isEmptyObject(e))e="";else for(k in e){e=e[k];break}return e&&(t+="-"+e,t=t.split("_").join("-"),t=t.split("field-field-").join("field-")),t},get_fields:function(e,t,i){e=e||"",t=t||!1,i=i||!1;var a=this.get_selector(e),n=$(a,t);return t!==!1&&t.each(function(){$(this).is(a)&&(n=n.add($(this)))}),i||(n=n.not(".acf-clone .acf-field"),n=acf.apply_filters("get_fields",n)),n},get_field:function(e,t){e=e||"",t=t||!1;var i=this.get_fields(e,t,!0);return!!i.exists()&&i.first()},get_closest_field:function(e,t){return t=t||"",e.closest(this.get_selector(t))},get_field_wrap:function(e){return e.closest(this.get_selector())},get_field_key:function(e){return e.data("key")},get_field_type:function(e){return e.data("type")},get_data:function(e,t){var i=e.data();return"object"==typeof t&&(i=this.parse_args(i,t)),i},get_uniqid:function(e,t){"undefined"==typeof e&&(e="");var i,a=function(e,t){return e=parseInt(e,10).toString(16),t<e.length?e.slice(e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};return this.php_js||(this.php_js={}),this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(123456789*Math.random())),this.php_js.uniqidSeed++,i=e,i+=a(parseInt((new Date).getTime()/1e3,10),8),i+=a(this.php_js.uniqidSeed,5),t&&(i+=(10*Math.random()).toFixed(8).toString()),i},serialize_form:function(){return this.serialize.apply(this,arguments)},serialize:function(e,t){t=t||"";var i={},a={},n=e.find("select, textarea, input").serializeArray();return $.each(n,function(e,n){var s=n.name,o=n.value;if(t){if(0!==s.indexOf(t))return;s=s.slice(t.length),"["==s.slice(0,1)&&(s=s.slice(1).replace("]",""))}"[]"===s.slice(-2)&&(s=s.slice(0,-2),"undefined"==typeof a[s]&&(a[s]=-1),a[s]++,s+="["+a[s]+"]"),i[s]=o}),i},disable:function(e,t){if(t=t||"",e.hasClass("acf-disabled"))return!1;if(e.prop("disabled",!0),t){var i=e.data("acf_disabled")||[],a=i.indexOf(t);a<0&&(i.push(t),e.data("acf_disabled",i))}return!0},enable:function(e,t){if(t=t||"",e.hasClass("acf-disabled"))return!1;var i=e.data("acf_disabled")||[];if(t){var a=i.indexOf(t);a>-1&&(i.splice(a,1),e.data("acf_disabled",i))}return!i.length&&(e.prop("disabled",!1),!0)},disable_el:function(e,t){t=t||"",e.find("select, textarea, input").each(function(){acf.disable($(this),t)})},disable_form:function(e,t){this.disable_el.apply(this,arguments)},enable_el:function(e,t){t=t||"",e.find("select, textarea, input").each(function(){acf.enable($(this),t)})},enable_form:function(e,t){this.enable_el.apply(this,arguments)},remove_tr:function(e,t){var i=e.height(),a=e.children().length;e.addClass("acf-remove-element"),setTimeout(function(){e.removeClass("acf-remove-element"),e.html('<td style="padding:0; height:'+i+'px" colspan="'+a+'"></td>'),e.children("td").animate({height:0},250,function(){e.remove(),"function"==typeof t&&t()})},250)},remove_el:function(e,t,i){i=i||0;var a=e.height(),n=e.width(),s=e.css("margin"),o=e.outerHeight(!0);acf.do_action("remove",e),e.wrap('<div class="acf-temp-remove" style="height:'+o+'px"></div>');var r=e.parent();e.css({height:a,width:n,margin:s,position:"absolute"}),setTimeout(function(){r.css({opacity:0,height:i})},50),setTimeout(function(){r.remove(),"function"==typeof t&&t.apply(this,arguments)},301)},isset:function(){var e=arguments,t=e.length,a=null,n;if(0===t)throw new Error("Empty isset");for(a=e[0],i=1;i<t;i++){if(e[i]===n||a[e[i]]===n)return!1;a=a[e[i]]}return!0},maybe_get:function(e,t,i){"undefined"==typeof i&&(i=null),keys=String(t).split(".");for(var a in keys){var t=keys[a];if("undefined"==typeof e[t])return i;e=e[t]}return e},open_popup:function(e){if($popup=$("body > #acf-popup"),$popup.exists())return update_popup(e);var t=['<div id="acf-popup">','<div class="acf-popup-box acf-box">','<div class="title"><h3></h3><a href="#" class="acf-icon -cancel grey acf-close-popup"></a></div>','<div class="inner"></div>','<div class="loading"><i class="acf-loading"></i></div>',"</div>",'<div class="bg"></div>',"</div>"].join("");return $("body").append(t),$("#acf-popup").on("click",".bg, .acf-close-popup",function(e){e.preventDefault(),acf.close_popup()}),this.update_popup(e)},update_popup:function(e){return $popup=$("#acf-popup"),!!$popup.exists()&&(e=$.extend({},{title:"",content:"",width:0,height:0,loading:!1},e),e.title&&$popup.find(".title h3").html(e.title),e.content&&($inner=$popup.find(".inner:first"),$inner.html(e.content),acf.do_action("append",$inner),$inner.attr("style","position: relative;"),e.height=$inner.outerHeight(),$inner.removeAttr("style")),e.width&&$popup.find(".acf-popup-box").css({width:e.width,"margin-left":0-e.width/2}),e.height&&(e.height+=44,$popup.find(".acf-popup-box").css({height:e.height,"margin-top":0-e.height/2})),e.loading?$popup.find(".loading").show():$popup.find(".loading").hide(),$popup)},close_popup:function(){$popup=$("#acf-popup"),$popup.exists()&&$popup.remove()},update_user_setting:function(e,t){$.ajax({url:acf.get("ajaxurl"),dataType:"html",type:"post",data:acf.prepare_for_ajax({action:"acf/update_user_setting",name:e,value:t})})},prepare_for_ajax:function(e){var t={nonce:acf.get("nonce"),post_id:acf.get("post_id")};return $.each(e,function(e,i){$.isPlainObject(i)&&!$.isEmptyObject(i)?$.each(i,function(i,a){i+="";var n=i.indexOf("[");i=0==n?e+i:n>0?e+"["+i.slice(0,n)+"]"+i.slice(n):e+"["+i+"]",t[i]=a}):t[e]=i}),t=acf.apply_filters("prepare_for_ajax",t)},is_ajax_success:function(e){return!(!e||!e.success)},get_ajax_message:function(e){var t={text:"",type:"error"};return e?(e.success&&(t.type="success"),e.data&&e.data.message&&(t.text=e.data.message),e.data&&e.data.error&&(t.text=e.data.error),t):t},is_in_view:function(e){var t=e.offset().top,i=t+e.height();if(t===i)return!1;var a=$(window).scrollTop(),n=a+$(window).height();return i<=n&&t>=a},val:function(e,t){var i=e.val();e.val(t),t!=i&&e.trigger("change")},str_replace:function(e,t,i){return i.split(e).join(t)},str_sanitize:function(e){var t={"À":"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,a=function(e){return"undefined"!=typeof t[e]?t[e]:e};return e=e.replace(i,a),e=e.toLowerCase()},addslashes:function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},esc_html:function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})},render_select:function(e,t){var i=e.val();e.html(""),t&&$.each(t,function(t,a){var n=e;a.group&&(n=e.find('optgroup[label="'+a.group+'"]'),n.exists()||(n=$('<optgroup label="'+a.group+'"></optgroup>'),e.append(n))),n.append('<option value="'+a.value+'">'+acf.esc_html(a.label)+"</option>"),i==a.value&&e.prop("selectedIndex",t)})},duplicate:function(e){"undefined"!=typeof e.length&&(e={$el:e}),e=acf.parse_args(e,{$el:!1,search:"",replace:"",before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}});var t=e.$el,i;e.search||(e.search=t.attr("data-id")),e.replace||(e.replace=acf.get_uniqid()),e.before.apply(this,[t]),acf.do_action("before_duplicate",t);var i=t.clone();return i.removeClass("acf-clone"),acf.do_action("remove",i),e.search&&(i.attr("data-id",e.replace),i.find('[id*="'+e.search+'"]').each(function(){$(this).attr("id",$(this).attr("id").replace(e.search,e.replace))}),i.find('[name*="'+e.search+'"]').each(function(){$(this).attr("name",$(this).attr("name").replace(e.search,e.replace))}),i.find('label[for*="'+e.search+'"]').each(function(){$(this).attr("for",$(this).attr("for").replace(e.search,e.replace))})),i.find(".ui-sortable").removeClass("ui-sortable"),acf.do_action("after_duplicate",t,i),e.after.apply(this,[t,i]),e.append.apply(this,[t,i]),setTimeout(function(){acf.do_action("append",i)},1),i},decode:function(e){return $("<textarea/>").html(e).text()},parse_args:function(e,t){return"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={}),$.extend({},t,e)},enqueue_script:function(e,t){var i=document.createElement("script");i.type="text/javascript",i.src=e,i.async=!0,i.readyState?i.onreadystatechange=function(){"loaded"!=i.readyState&&"complete"!=i.readyState||(i.onreadystatechange=null,t())}:i.onload=function(){t()},document.body.appendChild(i)}},acf.model={actions:{},filters:{},events:{},extend:function(e){var t=$.extend({},this,e);return $.each(t.actions,function(e,i){t._add_action(e,i)}),$.each(t.filters,function(e,i){t._add_filter(e,i)}),$.each(t.events,function(e,i){t._add_event(e,i)}),t},_add_action:function(e,t){var i=this,a=e.split(" "),e=a[0]||"",n=a[1]||10;acf.add_action(e,i[t],n,i)},_add_filter:function(e,t){var i=this,a=e.split(" "),e=a[0]||"",n=a[1]||10;acf.add_filter(e,i[t],n,i)},_add_event:function(e,t){var i=this,a=e.indexOf(" "),n=a>0?e.substr(0,a):e,s=a>0?e.substr(a+1):"",o=function(e){e.$el=$(this),"function"==typeof i.event&&(e=i.event(e)),i[t].apply(i,arguments)};s?$(document).on(n,s,o):$(document).on(n,o)},get:function(e,t){return t=t||null,"undefined"!=typeof this[e]&&(t=this[e]),t},set:function(e,t){return this[e]=t,"function"==typeof this["_set_"+e]&&this["_set_"+e].apply(this),this}},acf.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_action(e,function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_filter:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_filter(e,function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_event:function(e,t){var i=this,a=e.substr(0,e.indexOf(" ")),n=e.substr(e.indexOf(" ")+1),s=acf.get_selector(i.type);$(document).on(a,s+" "+n,function(e){var a=$(this),n=acf.get_closest_field(a,i.type);n.length&&(n.is(i.$field)||i.set("$field",n),e.$el=a,e.$field=n,i[t].apply(i,[e]))})},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(e){return this.set("$field",e)}}),acf.fields=acf.model.extend({actions:{prepare:"_prepare",prepare_field:"_prepare_field",ready:"_ready",ready_field:"_ready_field",append:"_append",append_field:"_append_field",load:"_load",load_field:"_load_field",remove:"_remove",remove_field:"_remove_field",sortstart:"_sortstart",sortstart_field:"_sortstart_field",sortstop:"_sortstop",sortstop_field:"_sortstop_field",show:"_show",show_field:"_show_field",hide:"_hide",hide_field:"_hide_field"},_prepare:function(e){acf.get_fields("",e).each(function(){acf.do_action("prepare_field",$(this))})},_prepare_field:function(e){acf.do_action("prepare_field/type="+e.data("type"),e)},_ready:function(e){acf.get_fields("",e).each(function(){acf.do_action("ready_field",$(this))})},_ready_field:function(e){acf.do_action("ready_field/type="+e.data("type"),e)},_append:function(e){acf.get_fields("",e).each(function(){acf.do_action("append_field",$(this))})},_append_field:function(e){acf.do_action("append_field/type="+e.data("type"),e)},_load:function(e){acf.get_fields("",e).each(function(){acf.do_action("load_field",$(this))})},_load_field:function(e){acf.do_action("load_field/type="+e.data("type"),e)},_remove:function(e){acf.get_fields("",e).each(function(){acf.do_action("remove_field",$(this))})},_remove_field:function(e){acf.do_action("remove_field/type="+e.data("type"),e)},_sortstart:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("sortstart_field",$(this),t)})},_sortstart_field:function(e,t){acf.do_action("sortstart_field/type="+e.data("type"),e,t)},_sortstop:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("sortstop_field",$(this),t)})},_sortstop_field:function(e,t){acf.do_action("sortstop_field/type="+e.data("type"),e,t)},_hide:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("hide_field",$(this),t)})},_hide_field:function(e,t){acf.do_action("hide_field/type="+e.data("type"),e,t)},_show:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("show_field",$(this),t)})},_show_field:function(e,t){acf.do_action("show_field/type="+e.data("type"),e,t)}}),$(document).ready(function(){acf.do_action("ready",$("body"))}),$(window).on("load",function(){acf.do_action("load",$("body"))}),acf.layout=acf.model.extend({active:0,actions:{"prepare 99":"prepare",refresh:"refresh"},prepare:function(){this.active=1,this.refresh()},refresh:function(e){if(this.active){e=e||$("body");var t=this;this.render_tables(e),this.render_groups(e)}},render_tables:function(e){var t=this,i=e.find(".acf-table:visible");e.is("tr")&&(i=e.parent().parent()),i.each(function(){t.render_table($(this))})},render_table:function(e){var t=e.find("> thead th.acf-th"),i=1,a=100;if(t.exists()){var n=e.find("> tbody > tr"),s=n.find("> td.acf-field");n.hasClass("acf-clone")&&n.length>1&&(s=n.not(".acf-clone").find("> td.acf-field")),t.each(function(){var e=$(this),t=e.attr("data-key"),i=s.filter('[data-key="'+t+'"]');i.removeClass("appear-empty"),e.removeClass("hidden-by-conditional-logic"),i.exists()&&(0==i.not(".hidden-by-conditional-logic").length?e.addClass("hidden-by-conditional-logic"):i.filter(".hidden-by-conditional-logic").addClass("appear-empty"))}),t.css("width","auto"),t=t.not(".hidden-by-conditional-logic"),i=t.length,t.filter("[data-width]").each(function(){var e=parseInt($(this).attr("data-width"));a-=e,$(this).css("width",e+"%")}),t=t.not("[data-width]"),t.each(function(){var e=a/t.length;$(this).css("width",e+"%")}),e.find(".acf-row .acf-field.-collapsed-target").removeAttr("colspan"),e.find(".acf-row.-collapsed .acf-field.-collapsed-target").attr("colspan",i)}},render_groups:function(e){var t=this,i=e.find(".acf-fields:visible");e&&e.is(".acf-fields")&&(i=i.add(e)),i.each(function(){t.render_group($(this))})},render_group:function(e){var t=$(),i=0,a=0,n=-1,s=e.children(".acf-field[data-width]:visible");if(s.exists()){if(e.hasClass("-left"))return s.removeAttr("data-width"),void s.css("width","auto");s.removeClass("acf-r0 acf-c0").css({"min-height":0}),s.each(function(e){var s=$(this),o=s.position().top;0==e&&(i=o),o!=i&&(t.css({"min-height":a+1+"px"}),t=$(),i=s.position().top,a=0,n=-1),n++,a=s.outerHeight()>a?s.outerHeight():a,t=t.add(s),0==o?s.addClass("acf-r0"):0==n&&s.addClass("acf-c0")}),t.exists()&&t.css({"min-height":a+1+"px"})}}}),$(document).on("change",".acf-field input, .acf-field textarea, .acf-field select",function(){var e=$("#_acf_changed");e.length&&e.val(1),acf.do_action("change",$(this))}),$(document).on("click",'.acf-field a[href="#"]',function(e){e.preventDefault()}),acf.unload=acf.model.extend({locked:1,active:1,changed:0,filters:{validation_complete:"validation_complete"},actions:{ready:"ready",change:"on"},ready:function(){setTimeout(function(){acf.unload.locked=0},1e3)},events:{"submit form":"off"},validation_complete:function(e,t){return e&&e.errors&&this.on(),e},on:function(){this.changed||!this.active||this.locked||(this.changed=1,$(window).on("beforeunload",this.unload))},off:function(){this.changed=0,$(window).off("beforeunload",this.unload)},unload:function(){return acf._e("unload")}}),acf.tooltip=acf.model.extend({events:{"mouseenter .acf-js-tooltip":"_on","mouseup .acf-js-tooltip":"_off","mouseleave .acf-js-tooltip":"_off"},tooltip:function(e,t){var i=$('<div class="acf-tooltip">'+e+"</div>");$("body").append(i);var a=10;target_w=t.outerWidth(),target_h=t.outerHeight(),target_t=t.offset().top,target_l=t.offset().left,tooltip_w=i.outerWidth(),tooltip_h=i.outerHeight();var n=target_t-tooltip_h,s=target_l+target_w/2-tooltip_w/2;return s<a?(i.addClass("right"),s=target_l+target_w,n=target_t+target_h/2-tooltip_h/2):s+tooltip_w+a>$(window).width()?(i.addClass("left"),s=target_l-tooltip_w,n=target_t+target_h/2-tooltip_h/2):n-$(window).scrollTop()<a?(i.addClass("bottom"),n=target_t+target_h):i.addClass("top"),i.css({top:n,left:s}),i},confirm:function(e,t,i,a,n){i=i||acf._e("are_you_sure"),a=a||'<a href="#" class="acf-confirm-y">'+acf._e("yes")+"</a>",n=n||'<a href="#" class="acf-confirm-n">'+acf._e("No")+"</a>";var s=this.tooltip(i+" "+a+" "+n,e);s.addClass("-confirm");var o=function(i,a){i.preventDefault(),i.stopImmediatePropagation(),e.off("click",r),s.off("click",".acf-confirm-y",r),s.off("click",".acf-confirm-n",l),$("body").off("click",l),s.remove(),t.apply(null,[a])},r=function(e){o(e,!0)},l=function(e){o(e,!1)};s.on("click",".acf-confirm-y",r),s.on("click",".acf-confirm-n",l),e.on("click",r),$("body").on("click",l)},confirm_remove:function(e,t){text=!1,button_y='<a href="#" class="acf-confirm-y -red">'+acf._e("remove")+"</a>",button_n='<a href="#" class="acf-confirm-n">'+acf._e("cancel")+"</a>",this.confirm(e,t,!1,button_y,button_n)},_on:function(e){var t=e.$el.attr("title");if(t){var i=this.tooltip(t,e.$el);e.$el.data("acf-tooltip",{title:t,$el:i}),e.$el.attr("title","")}},_off:function(e){var t=e.$el.data("acf-tooltip");t&&(t.$el.remove(),e.$el.attr("title",t.title))}}),acf.postbox=acf.model.extend({events:{"mouseenter .acf-postbox .handlediv":"on","mouseleave .acf-postbox .handlediv":"off"},on:function(e){e.$el.siblings(".hndle").addClass("hover")},off:function(e){e.$el.siblings(".hndle").removeClass("hover")},render:function(e){e=$.extend({},{id:"",key:"",style:"default",label:"top",edit_url:"",edit_title:"",visibility:!0},e);var t=$("#"+e.id),i=$("#"+e.id+"-hide"),a=i.parent();t.addClass("acf-postbox"),a.addClass("acf-postbox-toggle"),t.removeClass("hide-if-js"),a.removeClass("hide-if-js"),"default"!==e.style&&t.addClass(e.style),t.children(".inside").addClass("acf-fields").addClass("-"+e.label),e.visibility?i.prop("checked",!0):(t.addClass("acf-hidden"),a.addClass("acf-hidden")),e.edit_url&&t.children(".hndle").append('<a href="'+e.edit_url+'" class="dashicons dashicons-admin-generic acf-hndle-cog acf-js-tooltip" title="'+e.edit_title+'"></a>')}}),acf.add_action("sortstart",function(e,t){e.is("tr")&&(e.css("position","relative"),e.children().each(function(){$(this).width($(this).width())}),e.css("position","absolute"),t.html('<td style="height:'+e.height()+'px; padding:0;" colspan="'+e.children("td").length+'"></td>'))}),acf.add_action("before_duplicate",function(e){e.find("select option:selected").addClass("selected")}),acf.add_action("after_duplicate",function(e,t){t.find("select").each(function(){var e=$(this),t=[];e.find("option.selected").each(function(){t.push($(this).val())}),e.val(t)}),e.find("select option.selected").removeClass("selected"),t.find("select option.selected").removeClass("selected")}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){return $.inArray(e,this)})}(jQuery),function($){acf.ajax=acf.model.extend({active:!1,actions:{ready:"ready"},events:{"change #page_template":"_change_template","change #parent_id":"_change_parent","change #post-formats-select input":"_change_format","change .categorychecklist input":"_change_term","change .categorychecklist select":"_change_term",'change .acf-taxonomy-field[data-save="1"] input':"_change_term",'change .acf-taxonomy-field[data-save="1"] select':"_change_term"},o:{},xhr:null,update:function(e,t){return this.o[e]=t,this},get:function(e){return this.o[e]||null},ready:function(){this.update("post_id",acf.get("post_id")),this.active=!0},fetch:function(){if(this.active&&acf.get("ajax")){this.xhr&&this.xhr.abort();var e=this,t=this.o;t.action="acf/post/get_field_groups",t.exists=[],$(".acf-postbox").not(".acf-hidden").each(function(){t.exists.push($(this).attr("id").substr(4))}),this.xhr=$.ajax({url:acf.get("ajaxurl"),data:acf.prepare_for_ajax(t),type:"post",dataType:"json",success:function(t){acf.is_ajax_success(t)&&e.render(t.data)}})}},render:function(e){$(".acf-postbox").addClass("acf-hidden"),$(".acf-postbox-toggle").addClass("acf-hidden"),$("#acf-style").html(""),$.each(e,function(e,t){var i=$("#acf-"+t.key),a=$("#acf-"+t.key+"-hide"),n=a.parent();i.removeClass("acf-hidden hide-if-js").show(),n.removeClass("acf-hidden hide-if-js").show(),a.prop("checked",!0);var s=i.find(".acf-replace-with-fields");s.exists()&&(s.replaceWith(t.html),acf.do_action("append",i)),0===e&&$("#acf-style").html(t.style),i.find(".acf-hidden-by-postbox").prop("disabled",!1)}),$(".acf-postbox.acf-hidden").find("select, textarea, input").not(":disabled").each(function(){$(this).addClass("acf-hidden-by-postbox").prop("disabled",!0)})},sync_taxonomy_terms:function(){var e=[""];$(".categorychecklist, .acf-taxonomy-field").each(function(){var t=$(this),i=t.find('input[type="checkbox"]').not(":disabled"),a=t.find('input[type="radio"]').not(":disabled"),n=t.find("select").not(":disabled"),s=t.find('input[type="hidden"]').not(":disabled");t.is(".acf-taxonomy-field")&&"1"!=t.attr("data-save")||t.closest(".media-frame").exists()||(i.exists()?i.filter(":checked").each(function(){e.push($(this).val())}):a.exists()?a.filter(":checked").each(function(){e.push($(this).val())}):n.exists()?n.find("option:selected").each(function(){e.push($(this).val())}):s.exists()&&s.each(function(){$(this).val()&&e.push($(this).val())}))}),e=e.filter(function(e,t,i){return i.indexOf(e)==t}),this.update("post_taxonomy",e).fetch()},_change_template:function(e){var t=e.$el.val();this.update("page_template",t).fetch()},_change_parent:function(e){var t="parent",i=0;""!=e.$el.val()&&(t="child",i=e.$el.val()),this.update("page_type",t).update("page_parent",i).fetch()},_change_format:function(e){var t=e.$el.val();"0"==t&&(t="standard"),this.update("post_format",t).fetch()},_change_term:function(e){var t=this;e.$el.closest(".media-frame").exists()||setTimeout(function(){t.sync_taxonomy_terms()},1)}})}(jQuery),function($){acf.fields.button_group=acf.field.extend({type:"button_group",$div:null,events:{'click input[type="radio"]':"click"},focus:function(){this.$div=this.$field.find(".acf-button-group"),this.o=acf.get_data(this.$div,{allow_null:0})},click:function(e){var t=e.$el,i=t.parent("label"),a=i.hasClass("selected");this.$div.find(".selected").removeClass("selected"),i.addClass("selected"),this.o.allow_null&&a&&(e.$el.prop("checked",!1),i.removeClass("selected"),e.$el.trigger("change"))}})}(jQuery),function($){acf.fields.checkbox=acf.field.extend({type:"checkbox",events:{"change input":"_change","click .acf-add-checkbox":"_add"},focus:function(){this.$ul=this.$field.find("ul"),this.$input=this.$field.find('input[type="hidden"]')},add:function(){var e=this.$input.attr("name")+"[]",t='<li><input class="acf-checkbox-custom" type="checkbox" checked="checked" /><input type="text" name="'+e+'" /></li>';this.$ul.find(".acf-add-checkbox").parent("li").before(t)},_change:function(e){var t=this.$ul,i=t.find('input[type="checkbox"]').not(".acf-checkbox-toggle"),a=e.$el.is(":checked");if(e.$el.hasClass("acf-checkbox-toggle"))return void i.prop("checked",a).trigger("change");if(e.$el.hasClass("acf-checkbox-custom")){var n=e.$el.next('input[type="text"]');e.$el.next('input[type="text"]').prop("disabled",!a),a||""!=n.val()||e.$el.parent("li").remove()}if(t.find(".acf-checkbox-toggle").exists()){var a=0==i.not(":checked").length;t.find(".acf-checkbox-toggle").prop("checked",a)}},_add:function(e){this.add()}})}(jQuery),function($){acf.fields.color_picker=acf.field.extend({type:"color_picker",$input:null,$hidden:null,actions:{ready:"initialize",append:"initialize"},focus:function(){this.$input=this.$field.find('input[type="text"]'),this.$hidden=this.$field.find('input[type="hidden"]')},initialize:function(){var e=this.$input,t=this.$hidden,i=function(){setTimeout(function(){acf.val(t,e.val())},1)},a={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i},a=acf.apply_filters("color_picker_args",a,this.$field);this.$input.wpColorPicker(a)}})}(jQuery),function($){acf.conditional_logic=acf.model.extend({actions:{"prepare 20":"render","append 20":"render"},events:{"change .acf-field input":"change","change .acf-field textarea":"change","change .acf-field select":"change"},items:{},triggers:{},add:function(e,t){for(var i in t){var a=t[i];for(var n in a){var s=a[n],o=s.field,r=this.triggers[o]||{};r[e]=e,this.triggers[o]=r}}this.items[e]=t},render:function(e){e=e||!1;var t=acf.get_fields("",e,!0);this.render_fields(t),acf.do_action("refresh",e)},change:function(e){var t=e.$el,i=acf.get_field_wrap(t),a=i.data("key");if("undefined"==typeof this.triggers[a])return!1;$parent=i.parent();for(var n in this.triggers[a]){var s=this.triggers[a][n],o=acf.get_fields(s,$parent,!0);this.render_fields(o)}acf.do_action("refresh",$parent)},render_fields:function(e){var t=this;e.each(function(){t.render_field($(this))})},render_field:function(e){var t=e.data("key");if("undefined"==typeof this.items[t])return!1;for(var i=!1,a=this.items[t],n=0;n<a.length;n++){for(var s=a[n],o=!0,r=0;r<s.length;r++){var l=s[r],c=this.get_trigger(e,l.field);if(!this.calculate(l,c,e)){o=!1;break}}if(o){i=!0;break}}i?this.show_field(e):this.hide_field(e)},show_field:function(e){var t=e.data("key");e.removeClass("hidden-by-conditional-logic"),acf.enable_form(e,"condition_"+t),acf.do_action("show_field",e,"conditional_logic")},hide_field:function(e){var t=e.data("key");e.addClass("hidden-by-conditional-logic"),acf.disable_form(e,"condition_"+t),acf.do_action("hide_field",e,"conditional_logic")},get_trigger:function(e,t){var i=acf.get_selector(t),a=e.siblings(i);if(!a.exists()){var n=acf.get_selector();e.parents(n).each(function(){if(a=$(this).siblings(i),a.exists())return!1})}return!!a.exists()&&a},calculate:function(e,t,i){if(!t||!i)return!1;var a=!1,n=t.data("type");return"true_false"==n||"checkbox"==n||"radio"==n||"button_group"==n?a=this.calculate_checkbox(e,t):"select"==n&&(a=this.calculate_select(e,t)),"!="===e.operator&&(a=!a),a},calculate_checkbox:function(e,t){var i=t.find('input[value="'+e.value+'"]:checked').exists();return""!==e.value||t.find("input:checked").exists()||(i=!0),i},calculate_select:function(e,t){var i=t.find("select"),a=i.val();return a||$.isNumeric(a)||(a=""),$.isArray(a)||(a=[a]),match=$.inArray(e.value,a)>-1,match}})}(jQuery),function($){acf.datepicker=acf.model.extend({actions:{"ready 1":"ready"},ready:function(){var e=acf.get("locale"),t=acf.get("rtl");l10n=acf._e("date_picker"),l10n&&"undefined"!=typeof $.datepicker&&(l10n.isRTL=t,$.datepicker.regional[e]=l10n,$.datepicker.setDefaults(l10n))},init:function(e,t){"undefined"!=typeof $.datepicker&&(t=t||{},e.datepicker(t),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />'))},destroy:function(e){}}),acf.fields.date_picker=acf.field.extend({type:"date_picker",$el:null,$input:null,$hidden:null,o:{},actions:{ready:"initialize",append:"initialize"},events:{'blur input[type="text"]':"blur"},focus:function(){this.$el=this.$field.find(".acf-date-picker"),this.$input=this.$el.find('input[type="text"]'),this.$hidden=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){if(this.o.save_format)return this.initialize2();var e={dateFormat:this.o.date_format,altField:this.$hidden,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day};e=acf.apply_filters("date_picker_args",e,this.$field),acf.datepicker.init(this.$input,e),acf.do_action("date_picker_init",this.$input,e,this.$field)},initialize2:function(){this.$input.val(this.$hidden.val());var e={dateFormat:this.o.date_format,altField:this.$hidden,altFormat:this.o.save_format,changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day};e=acf.apply_filters("date_picker_args",e,this.$field);var t=e.dateFormat;e.dateFormat=this.o.save_format,acf.datepicker.init(this.$input,e),this.$input.datepicker("option","dateFormat",t),acf.do_action("date_picker_init",this.$input,e,this.$field)},blur:function(){this.$input.val()||this.$hidden.val("")}})}(jQuery),function($){acf.datetimepicker=acf.model.extend({actions:{"ready 1":"ready"},ready:function(){var e=acf.get("locale"),t=acf.get("rtl");
|
2 |
-
l10n=acf._e("date_time_picker"),l10n&&"undefined"!=typeof $.timepicker&&(l10n.isRTL=t,$.timepicker.regional[e]=l10n,$.timepicker.setDefaults(l10n))},init:function(e,t){"undefined"!=typeof $.timepicker&&(t=t||{},e.datetimepicker(t),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />'))},destroy:function(e){}}),acf.fields.date_time_picker=acf.field.extend({type:"date_time_picker",$el:null,$input:null,$hidden:null,o:{},actions:{ready:"initialize",append:"initialize"},events:{'blur input[type="text"]':"blur"},focus:function(){this.$el=this.$field.find(".acf-date-time-picker"),this.$input=this.$el.find('input[type="text"]'),this.$hidden=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){var e={dateFormat:this.o.date_format,timeFormat:this.o.time_format,altField:this.$hidden,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day,controlType:"select",oneLine:!0};e=acf.apply_filters("date_time_picker_args",e,this.$field),acf.datetimepicker.init(this.$input,e),acf.do_action("date_time_picker_init",this.$input,e,this.$field)},blur:function(){this.$input.val()||this.$hidden.val("")}})}(jQuery),function($){acf.fields.file=acf.field.extend({type:"file",$el:null,$input:null,actions:{ready:"initialize",append:"initialize"},events:{'click a[data-name="add"]':"add",'click a[data-name="edit"]':"edit",'click a[data-name="remove"]':"remove",'change input[type="file"]':"change"},focus:function(){this.$el=this.$field.find(".acf-file-uploader"),this.$input=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){"basic"==this.o.uploader&&this.$el.closest("form").attr("enctype","multipart/form-data")},prepare:function(e){if(e=e||{},e._valid)return e;var t={url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"};return e.id&&(t=e.attributes),t._valid=!0,t},render:function(e){e=this.prepare(e),this.$el.find("img").attr({src:e.icon,alt:e.alt,title:e.title}),this.$el.find('[data-name="title"]').text(e.title),this.$el.find('[data-name="filename"]').text(e.filename).attr("href",e.url),this.$el.find('[data-name="filesize"]').text(e.filesizeHumanReadable);var t="";e.id&&(t=e.id),acf.val(this.$input,t),t?this.$el.addClass("has-value"):this.$el.removeClass("has-value")},add:function(){var e=this,t=this.$field,i=acf.get_closest_field(t,"repeater"),a=acf.media.popup({title:acf._e("file","select"),mode:"select",type:"",field:t.data("key"),multiple:i.exists(),library:this.o.library,mime_types:this.o.mime_types,select:function(a,n){if(n>0){var s=t.data("key"),o=t.closest(".acf-row");if(t=!1,o.nextAll(".acf-row:visible").each(function(){if(t=acf.get_field(s,$(this)))return!!t.find(".acf-file-uploader.has-value").exists()&&void(t=!1)}),!t){if(o=acf.fields.repeater.doFocus(i).add(),!o)return!1;t=acf.get_field(s,o)}}e.set("$field",t).render(a)}})},edit:function(){var e=this,t=this.$field,i=this.$input.val();if(i)var a=acf.media.popup({title:acf._e("file","edit"),button:acf._e("file","update"),mode:"edit",attachment:i,select:function(i,a){e.set("$field",t).render(i)}})},remove:function(){var e={};this.render(e)},get_file_info:function(e,t){var i=e.val(),a={};if(!i)return void t.val("");a.url=i;var n=e[0].files;if(n.length){var s=n[0];if(a.size=s.size,a.type=s.type,s.type.indexOf("image")>-1){var o=window.URL||window.webkitURL,r=new Image;r.onload=function(){a.width=this.width,a.height=this.height,t.val(jQuery.param(a))},r.src=o.createObjectURL(s)}}t.val(jQuery.param(a))},change:function(e){this.get_file_info(e.$el,this.$input)}})}(jQuery),function($){acf.fields.google_map=acf.field.extend({type:"google_map",url:"",$el:null,$search:null,timeout:null,status:"",geocoder:!1,map:!1,maps:{},$pending:$(),actions:{ready:"initialize",append:"initialize",show:"show"},events:{'click a[data-name="clear"]':"_clear",'click a[data-name="locate"]':"_locate",'click a[data-name="search"]':"_search","keydown .search":"_keydown","keyup .search":"_keyup","focus .search":"_focus","blur .search":"_blur","mousedown .acf-google-map":"_mousedown"},focus:function(){this.$el=this.$field.find(".acf-google-map"),this.$search=this.$el.find(".search"),this.o=acf.get_data(this.$el),this.o.id=this.$el.attr("id"),this.maps[this.o.id]&&(this.map=this.maps[this.o.id])},is_ready:function(){var e=this;return"ready"==this.status||"loading"!=this.status&&(acf.isset(window,"google","maps","places")?(this.status="ready",!0):(acf.isset(window,"google","maps")&&(this.status="ready"),this.url&&(this.status="loading",acf.enqueue_script(this.url,function(){e.status="ready",e.initialize_pending()})),"ready"==this.status))},initialize_pending:function(){var e=this;this.$pending.each(function(){e.set("$field",$(this)).initialize()}),this.$pending=$()},initialize:function(){if(!this.is_ready())return this.$pending=this.$pending.add(this.$field),!1;this.geocoder||(this.geocoder=new google.maps.Geocoder);var e=this,t=this.$field,i=this.$el,a=this.$search;a.val(this.$el.find(".input-address").val());var n=acf.apply_filters("google_map_args",{scrollwheel:!1,zoom:parseInt(this.o.zoom),center:new google.maps.LatLng(this.o.lat,this.o.lng),mapTypeId:google.maps.MapTypeId.ROADMAP},this.$field);if(this.map=new google.maps.Map(this.$el.find(".canvas")[0],n),acf.isset(window,"google","maps","places","Autocomplete")){var s=new google.maps.places.Autocomplete(this.$search[0]);s.bindTo("bounds",this.map),google.maps.event.addListener(s,"place_changed",function(t){var i=this.getPlace();e.search(i)}),this.map.autocomplete=s}var o=acf.apply_filters("google_map_marker_args",{draggable:!0,raiseOnDrag:!0,map:this.map},this.$field);this.map.marker=new google.maps.Marker(o),this.map.$el=i,this.map.$field=t;var r=i.find(".input-lat").val(),l=i.find(".input-lng").val();r&&l&&this.update(r,l).center(),google.maps.event.addListener(this.map.marker,"dragend",function(){var t=this.map.marker.getPosition(),i=t.lat(),a=t.lng();e.update(i,a).sync()}),google.maps.event.addListener(this.map,"click",function(t){var i=t.latLng.lat(),a=t.latLng.lng();e.update(i,a).sync()}),acf.do_action("google_map_init",this.map,this.map.marker,this.$field),this.maps[this.o.id]=this.map},search:function(e){var t=this,i=this.$search.val();if(!i)return!1;this.$el.find(".input-address").val(i);var a=i.split(",");if(2==a.length){var n=a[0],s=a[1];if($.isNumeric(n)&&$.isNumeric(s))return n=parseFloat(n),s=parseFloat(s),void t.update(n,s).center()}if(e&&e.geometry){var n=e.geometry.location.lat(),s=e.geometry.location.lng();return void t.update(n,s).center()}this.$el.addClass("-loading"),t.geocoder.geocode({address:i},function(i,a){if(t.$el.removeClass("-loading"),a!=google.maps.GeocoderStatus.OK)return void console.log("Geocoder failed due to: "+a);if(!i[0])return void console.log("No results found");e=i[0];var n=e.geometry.location.lat(),s=e.geometry.location.lng();t.update(n,s).center()})},update:function(e,t){var i=new google.maps.LatLng(e,t);return acf.val(this.$el.find(".input-lat"),e),acf.val(this.$el.find(".input-lng"),t),this.map.marker.setPosition(i),this.map.marker.setVisible(!0),this.$el.addClass("-value"),this.$field.removeClass("error"),acf.do_action("google_map_change",i,this.map,this.$field),this.$search.blur(),this},center:function(){var e=this.map.marker.getPosition(),t=this.o.lat,i=this.o.lng;e&&(t=e.lat(),i=e.lng());var a=new google.maps.LatLng(t,i);this.map.setCenter(a)},sync:function(){var e=this,t=this.map.marker.getPosition(),i=new google.maps.LatLng(t.lat(),t.lng());return this.$el.addClass("-loading"),this.geocoder.geocode({latLng:i},function(t,i){if(e.$el.removeClass("-loading"),i!=google.maps.GeocoderStatus.OK)return void console.log("Geocoder failed due to: "+i);if(!t[0])return void console.log("No results found");var a=t[0];e.$search.val(a.formatted_address),acf.val(e.$el.find(".input-address"),a.formatted_address)}),this},refresh:function(){return!!this.is_ready()&&(google.maps.event.trigger(this.map,"resize"),void this.center())},show:function(){var e=this,t=this.$field;setTimeout(function(){e.set("$field",t).refresh()},10)},_clear:function(e){this.$el.removeClass("-value -loading -search"),this.$search.val(""),acf.val(this.$el.find(".input-address"),""),acf.val(this.$el.find(".input-lat"),""),acf.val(this.$el.find(".input-lng"),""),this.map.marker.setVisible(!1)},_locate:function(e){var t=this;return navigator.geolocation?(this.$el.addClass("-loading"),void navigator.geolocation.getCurrentPosition(function(e){t.$el.removeClass("-loading");var i=e.coords.latitude,a=e.coords.longitude;t.update(i,a).sync().center()})):(alert(acf._e("google_map","browser_support")),this)},_search:function(e){this.search()},_focus:function(e){this.$el.removeClass("-value"),this._keyup()},_blur:function(e){var t=this,i=this.$el.find(".input-address").val();i&&(this.timeout=setTimeout(function(){t.$el.addClass("-value"),t.$search.val(i)},100))},_keydown:function(e){13==e.which&&e.preventDefault()},_keyup:function(e){var t=this.$search.val();t?this.$el.addClass("-search"):this.$el.removeClass("-search")},_mousedown:function(e){var t=this;setTimeout(function(){clearTimeout(t.timeout)},1)}})}(jQuery),function($){acf.fields.image=acf.field.extend({type:"image",$el:null,$input:null,$img:null,actions:{ready:"initialize",append:"initialize"},events:{'click a[data-name="add"]':"add",'click a[data-name="edit"]':"edit",'click a[data-name="remove"]':"remove",'change input[type="file"]':"change"},focus:function(){this.$el=this.$field.find(".acf-image-uploader"),this.$input=this.$el.find('input[type="hidden"]'),this.$img=this.$el.find("img"),this.o=acf.get_data(this.$el)},initialize:function(){"basic"==this.o.uploader&&this.$el.closest("form").attr("enctype","multipart/form-data")},prepare:function(e){if(e=e||{},e._valid)return e;var t={url:"",alt:"",title:"",caption:"",description:"",width:0,height:0};return e.id&&(t=e.attributes,t.url=acf.maybe_get(t,"sizes."+this.o.preview_size+".url",t.url)),t._valid=!0,t},render:function(e){e=this.prepare(e),this.$img.attr({src:e.url,alt:e.alt,title:e.title});var t="";e.id&&(t=e.id),acf.val(this.$input,t),t?this.$el.addClass("has-value"):this.$el.removeClass("has-value")},add:function(){var e=this,t=this.$field,i=acf.get_closest_field(this.$field,"repeater"),a=acf.media.popup({title:acf._e("image","select"),mode:"select",type:"image",field:t.data("key"),multiple:i.exists(),library:this.o.library,mime_types:this.o.mime_types,select:function(a,n){if(n>0){var s=t.data("key"),o=t.closest(".acf-row");if(t=!1,o.nextAll(".acf-row:visible").each(function(){if(t=acf.get_field(s,$(this)))return!!t.find(".acf-image-uploader.has-value").exists()&&void(t=!1)}),!t){if(o=acf.fields.repeater.doFocus(i).add(),!o)return!1;t=acf.get_field(s,o)}}e.set("$field",t).render(a)}})},edit:function(){var e=this,t=this.$field,i=this.$input.val();if(i)var a=acf.media.popup({title:acf._e("image","edit"),button:acf._e("image","update"),mode:"edit",attachment:i,select:function(i,a){e.set("$field",t).render(i)}})},remove:function(){var e={};this.render(e)},change:function(e){acf.fields.file.get_file_info(e.$el,this.$input)}})}(jQuery),function($){acf.fields.link=acf.field.extend({type:"link",active:!1,$el:null,$node:null,events:{'click a[data-name="add"]':"add",'click a[data-name="edit"]':"edit",'click a[data-name="remove"]':"remove","change .link-node":"change"},focus:function(){this.$el=this.$field.find(".acf-link"),this.$node=this.$el.find(".link-node")},add:function(e){acf.link.open(this.$node)},edit:function(e){this.add()},remove:function(e){this.val("")},change:function(e,t){var i={title:this.$node.html(),url:this.$node.attr("href"),target:this.$node.attr("target")};this.val(i)},val:function(e){e=acf.parse_args(e,{title:"",url:"",target:""}),this.$el.removeClass("-value -external"),e.url&&this.$el.addClass("-value"),"_blank"===e.target&&this.$el.addClass("-external"),this.$el.find(".link-title").html(e.title),this.$el.find(".link-url").attr("href",e.url).html(e.url),this.$el.find(".input-title").val(e.title),this.$el.find(".input-target").val(e.target),this.$el.find(".input-url").val(e.url).trigger("change"),this.$node.html(e.title),this.$node.attr("href",e.url),this.$node.attr("target",e.target)}}),acf.link=acf.model.extend({active:!1,$textarea:null,$node:null,events:{"click #wp-link-submit":"_update","wplink-open":"_open","wplink-close":"_close"},atts:function(e){return"undefined"!=typeof e?(this.$node.html(e.title),this.$node.attr("href",e.url),this.$node.attr("target",e.target),this.$node.trigger("change",[e]),!0):{title:this.$node.html(),url:this.$node.attr("href"),target:this.$node.attr("target")}},inputs:function(e){return"undefined"!=typeof e?($("#wp-link-text").val(e.title),$("#wp-link-url").val(e.url),$("#wp-link-target").prop("checked","_blank"===e.target),!0):{title:$("#wp-link-text").val(),url:$("#wp-link-url").val(),target:$("#wp-link-target").prop("checked")?"_blank":""}},open:function(e){var t=$('<textarea id="acf-link-textarea"></textarea>');e.before(t),this.active=!0,this.$node=e,this.$textarea=t;var i=this.atts();wpLink.open("acf-link-textarea",i.url,i.title,null),$("#wp-link-wrap").addClass("has-text-field")},reset:function(){this.active=!1,this.$textarea.remove(),this.$textarea=null,this.$node=null},_select:function(e,t){var i=this.inputs();i.title||(i.title=t.find(".item-title").text(),this.inputs(i),console.log(i))},_open:function(e){if(this.active){var t=this.atts();this.inputs(t)}},_close:function(e){this.active&&setTimeout(function(){acf.link.reset()},100)},_update:function(e){if(this.active){var t=this.inputs();this.atts(t)}}})}(jQuery),function($){acf.media=acf.model.extend({frames:[],mime_types:{},actions:{ready:"ready"},frame:function(){var e=this.frames.length-1;return!(e<0)&&this.frames[e]},destroy:function(e){e.detach(),e.dispose(),e=null,this.frames.pop()},popup:function(e){var t=acf.get("post_id"),i=!1;$.isNumeric(t)||(t=0);var a=acf.parse_args(e,{mode:"select",title:"",button:"",type:"",field:"",mime_types:"",library:"all",multiple:!1,attachment:0,post_id:t,select:function(){}});a.id&&(a.attachment=a.id);var i=this.new_media_frame(a);return this.frames.push(i),setTimeout(function(){i.open()},1),i},_get_media_frame_settings:function(e,t){return"select"===t.mode?e=this._get_select_frame_settings(e,t):"edit"===t.mode&&(e=this._get_edit_frame_settings(e,t)),e},_get_select_frame_settings:function(e,t){return t.type&&(e.library.type=t.type),"uploadedTo"===t.library&&(e.library.uploadedTo=t.post_id),e._button=acf._e("media","select"),e},_get_edit_frame_settings:function(e,t){return e.library.post__in=[t.attachment],e._button=acf._e("media","update"),e},_add_media_frame_events:function(e,t){return e.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+t.mode)},e),e.on("content:render:edit-image",function(){var e=this.state().get("image"),t=new wp.media.view.EditImage({model:e,controller:this}).render();this.content.set(t),t.loadEditor()},e),e.on("toolbar:create:select",function(t){t.view=new wp.media.view.Toolbar.Select({text:e.options._button,controller:this})},e),e.on("select",function(){var i=e.state(),a=i.get("image"),n=i.get("selection");if(a)return void t.select.apply(e,[a,0]);if(n){var s=0;return void n.each(function(i){t.select.apply(e,[i,s]),s++})}}),e.on("close",function(){setTimeout(function(){acf.media.destroy(e)},500)}),"select"===t.mode?e=this._add_select_frame_events(e,t):"edit"===t.mode&&(e=this._add_edit_frame_events(e,t)),e},_add_select_frame_events:function(e,t){var i=this;return acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=t.field,e.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),e.on("content:activate:browse",function(){try{var a=e.content.get().toolbar,n=a.get("filters"),s=a.get("search")}catch(e){return}if("image"==t.type&&(n.filters.all.text=acf._e("image","all"),delete n.filters.audio,delete n.filters.video,$.each(n.filters,function(e,t){null===t.props.type&&(t.props.type="image")})),t.mime_types){var o=t.mime_types.split(" ").join("").split(".").join("").split(",");$.each(o,function(e,t){$.each(i.mime_types,function(e,i){if(e.indexOf(t)!==-1){var a={text:t,props:{status:null,type:i,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};n.filters[i]=a}})})}"uploadedTo"==t.library&&(delete n.filters.unattached,delete n.filters.uploaded,n.$el.parent().append('<span class="acf-uploadedTo">'+acf._e("image","uploadedTo")+"</span>"),$.each(n.filters,function(e,i){i.props.uploadedTo=t.post_id})),$.each(n.filters,function(e,i){i.props._acfuploader=t.field}),s.model.attributes._acfuploader=t.field,"function"==typeof n.refresh&&n.refresh()}),e},_add_edit_frame_events:function(e,t){return e.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var e=this.state(),i=e.get("selection"),a=wp.media.attachment(t.attachment);i.add(a)},e),e},new_media_frame:function(e){var t={title:e.title,multiple:e.multiple,library:{},states:[]};t=this._get_media_frame_settings(t,e);var i=wp.media.query(t.library);acf.isset(i,"mirroring","args")&&(i.mirroring.args._acfuploader=e.field),t.states=[new wp.media.controller.Library({library:i,multiple:t.multiple,title:t.title,priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})],acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage);var a=wp.media(t);return a.acf=e,a=this._add_media_frame_events(a,e)},ready:function(){var e=acf.get("wp_version"),t=acf.get("browser"),i=acf.get("post_id");acf.isset(window,"wp","media","view","settings","post")&&$.isNumeric(i)&&(wp.media.view.settings.post.id=i),t&&$("body").addClass("browser-"+t),e&&(e+="",major=e.substr(0,1),$("body").addClass("major-"+major)),acf.isset(window,"wp","media","view")&&(this.customize_Attachment(),this.customize_AttachmentFiltersAll(),this.customize_AttachmentCompat())},customize_Attachment:function(){var e=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=e.extend({render:function(){var t=acf.media.frame(),i=acf.maybe_get(this,"model.attributes.acf_errors");return t&&i&&this.$el.addClass("acf-disabled"),e.prototype.render.apply(this,arguments)},toggleSelection:function(t){var i=this.collection,a=this.options.selection,n=this.model,s=a.single(),o=acf.media.frame(),r=acf.maybe_get(this,"model.attributes.acf_errors"),l=this.controller.$el.find(".media-frame-content .media-sidebar");if(l.children(".acf-selection-error").remove(),l.children().removeClass("acf-hidden"),o&&r){var c=acf.maybe_get(this,"model.attributes.filename","");return l.children().addClass("acf-hidden"),l.prepend(['<div class="acf-selection-error">','<span class="selection-error-label">'+acf._e("restricted")+"</span>",'<span class="selection-error-filename">'+c+"</span>",'<span class="selection-error-message">'+r+"</span>","</div>"].join("")),a.reset(),void a.single(n)}e.prototype.toggleSelection.apply(this,arguments)}})},customize_AttachmentFiltersAll:function(){wp.media.view.AttachmentFilters.All.prototype.refresh=function(){this.$el.html(_.chain(this.filters).map(function(e,t){return{el:$("<option></option>").val(t).html(e.text)[0],priority:e.priority||50}},this).sortBy("priority").pluck("el").value())}},customize_AttachmentCompat:function(){var e=wp.media.view.AttachmentCompat;wp.media.view.AttachmentCompat=e.extend({add_acf_expand_button:function(){var e=this.$el.closest(".media-modal");if(!e.find(".media-frame-router .acf-expand-details").exists()){var t=$(['<a href="#" class="acf-expand-details">','<span class="is-closed"><span class="acf-icon -left small grey"></span>'+acf._e("expand_details")+"</span>",'<span class="is-open"><span class="acf-icon -right small grey"></span>'+acf._e("collapse_details")+"</span>","</a>"].join(""));t.on("click",function(t){t.preventDefault(),e.hasClass("acf-expanded")?e.removeClass("acf-expanded"):e.addClass("acf-expanded")}),e.find(".media-frame-router").append(t)}},render:function(){if(this.ignore_render)return this;var t=this;return setTimeout(function(){t.add_acf_expand_button()},0),clearTimeout(acf.media.render_timout),acf.media.render_timout=setTimeout(function(){acf.do_action("append",t.$el)},50),e.prototype.render.apply(this,arguments)},dispose:function(){return acf.do_action("remove",this.$el),e.prototype.dispose.apply(this,arguments)},save:function(e){e&&e.preventDefault();var t=acf.serialize(this.$el);this.ignore_render=!0,this.model.saveCompat(t)}})}})}(jQuery),function($){acf.fields.oembed=acf.field.extend({type:"oembed",$el:null,events:{'click [data-name="search-button"]':"_search",'click [data-name="clear-button"]':"_clear",'click [data-name="value-title"]':"_edit",'keypress [data-name="search-input"]':"_keypress",'keyup [data-name="search-input"]':"_keyup",'blur [data-name="search-input"]':"_blur"},focus:function(){this.$el=this.$field.find(".acf-oembed"),this.$search=this.$el.find('[data-name="search-input"]'),this.$input=this.$el.find('[data-name="value-input"]'),this.$title=this.$el.find('[data-name="value-title"]'),this.$embed=this.$el.find('[data-name="value-embed"]'),this.o=acf.get_data(this.$el)},maybe_search:function(){var e=this.$input.val(),t=this.$search.val();return t?void(t!=e&&this.search()):void this.clear()},search:function(){var e=this.$search.val();"http"!=e.substr(0,4)&&(e="http://"+e,this.$search.val(e)),this.$el.addClass("is-loading");var t=acf.prepare_for_ajax({action:"acf/fields/oembed/search",s:e,field_key:this.$field.data("key")});this.$el.data("xhr")&&this.$el.data("xhr").abort();var i=$.ajax({url:acf.get("ajaxurl"),data:t,type:"post",dataType:"json",context:this,success:this.search_success});this.$el.data("xhr",i)},search_success:function(e){var t=this.$search.val();return this.$el.removeClass("is-loading"),e&&e.html?(this.$el.removeClass("has-error").addClass("has-value"),this.$input.val(t),this.$title.html(t),void this.$embed.html(e.html)):void this.$el.removeClass("has-value").addClass("has-error")},clear:function(){this.$el.removeClass("has-error has-value"),this.$el.find('[data-name="search-input"]').val(""),this.$input.val(""),this.$title.html(""),this.$embed.html("")},edit:function(){this.$el.addClass("is-editing"),this.$search.val(this.$title.text()).focus()},blur:function(e){this.$el.removeClass("is-editing"),this.maybe_search()},_search:function(e){this.search()},_clear:function(e){this.clear()},_edit:function(e){this.edit()},_keypress:function(e){13==e.which&&e.preventDefault()},_keyup:function(e){this.$search.val()&&this.maybe_search()},_blur:function(e){this.blur()}})}(jQuery),function($){acf.fields.radio=acf.field.extend({type:"radio",$ul:null,actions:{ready:"initialize",append:"initialize"},events:{'click input[type="radio"]':"click"},focus:function(){this.$ul=this.$field.find(".acf-radio-list"),this.o=acf.get_data(this.$ul)},initialize:function(){this.$ul.find(".selected input").prop("checked",!0)},click:function(e){var t=e.$el,i=t.parent("label"),a=i.hasClass("selected"),n=t.val();if(this.$ul.find(".selected").removeClass("selected"),i.addClass("selected"),this.o.allow_null&&a&&(e.$el.prop("checked",!1),i.removeClass("selected"),n=!1,e.$el.trigger("change")),this.o.other_choice){var s=this.$ul.find('input[type="text"]');"other"===n?s.prop("disabled",!1).attr("name",t.attr("name")):s.prop("disabled",!0).attr("name","")}}})}(jQuery),function($){acf.fields.range=acf.field.extend({type:"range",$el:null,$range:null,$input:null,events:{"input input":"_change","change input":"_change"},focus:function(){this.$el=this.$field.find(".acf-range-wrap"),this.$range=this.$el.children('input[type="range"]'),this.$input=this.$el.children('input[type="number"]')},_change:function(e){var t=e.$el.val(),i=e.$el.attr("type");t=t||0,"range"===i?this.$input.val(t):this.$range.val(t)}})}(jQuery),function($){acf.fields.relationship=acf.field.extend({type:"relationship",$el:null,$input:null,$filters:null,$choices:null,$values:null,actions:{ready:"initialize",append:"initialize"},events:{"keypress [data-filter]":"submit_filter","change [data-filter]":"change_filter","keyup [data-filter]":"change_filter","click .choices .acf-rel-item":"add_item",'click [data-name="remove_item"]':"remove_item"},focus:function(){this.$el=this.$field.find(".acf-relationship"),this.$input=this.$el.children('input[type="hidden"]'),this.$choices=this.$el.find(".choices"),this.$values=this.$el.find(".values"),this.o=acf.get_data(this.$el)},initialize:function(){var e=this,t=this.$field,i=this.$el,a=this.$input;this.$values.children(".list").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:function(){a.trigger("change")}}),this.$choices.children(".list").scrollTop(0).on("scroll",function(a){if(!i.hasClass("is-loading")&&!i.hasClass("is-empty")&&Math.ceil($(this).scrollTop())+$(this).innerHeight()>=$(this).get(0).scrollHeight){var n=i.data("paged")||1;i.data("paged",n+1),e.set("$field",t).fetch()}}),this.fetch()},maybe_fetch:function(){var e=this,t=this.$field;this.o.timeout&&clearTimeout(this.o.timeout);var i=setTimeout(function(){e.doFocus(t),e.fetch()},300);this.$el.data("timeout",i)},fetch:function(){var e=this,t=this.$field;this.$el.addClass("is-loading"),this.o.xhr&&(this.o.xhr.abort(),this.o.xhr=!1),this.o.action="acf/fields/relationship/query",this.o.field_key=t.data("key"),this.o.post_id=acf.get("post_id");var i=acf.prepare_for_ajax(this.o);1==i.paged&&this.$choices.children(".list").html(""),this.$choices.find("ul:last").append('<p><i class="acf-loading"></i> '+acf._e("relationship","loading")+"</p>");var a=$.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:i,success:function(i){e.set("$field",t).render(i)}});this.$el.data("xhr",a)},render:function(e){if(this.$el.removeClass("is-loading is-empty"),this.$choices.find("p").remove(),!e||!e.results||!e.results.length)return this.$el.addClass("is-empty"),void(1==this.o.paged&&this.$choices.children(".list").append("<p>"+acf._e("relationship","empty")+"</p>"));var t=$(this.walker(e.results));this.$values.find(".acf-rel-item").each(function(){t.find('.acf-rel-item[data-id="'+$(this).data("id")+'"]').addClass("disabled")}),this.$choices.children(".list").append(t);var i="",a=null;this.$choices.find(".acf-rel-label").each(function(){return $(this).text()==i?(a.append($(this).siblings("ul").html()),void $(this).parent().remove()):(i=$(this).text(),void(a=$(this).siblings("ul")))})},walker:function(e){var t="";if($.isArray(e))for(var i in e)t+=this.walker(e[i]);else $.isPlainObject(e)&&(void 0!==e.children?(t+='<li><span class="acf-rel-label">'+e.text+'</span><ul class="acf-bl">',t+=this.walker(e.children),t+="</ul></li>"):t+='<li><span class="acf-rel-item" data-id="'+e.id+'">'+e.text+"</span></li>");return t},submit_filter:function(e){13==e.which&&e.preventDefault()},change_filter:function(e){var t=e.$el.val(),i=e.$el.data("filter");this.$el.data(i)!=t&&(this.$el.data(i,t),this.$el.data("paged",1),e.$el.is("select")?this.fetch():this.maybe_fetch())},add_item:function(e){if(this.o.max>0&&this.$values.find(".acf-rel-item").length>=this.o.max)return void alert(acf._e("relationship","max").replace("{max}",this.o.max));if(e.$el.hasClass("disabled"))return!1;e.$el.addClass("disabled");var t=["<li>",'<input type="hidden" name="'+this.$input.attr("name")+'[]" value="'+e.$el.data("id")+'" />','<span data-id="'+e.$el.data("id")+'" class="acf-rel-item">'+e.$el.html(),'<a href="#" class="acf-icon -minus small dark" data-name="remove_item"></a>',"</span>","</li>"].join("");this.$values.children(".list").append(t),this.$input.trigger("change"),acf.validation.remove_error(this.$field)},remove_item:function(e){var t=e.$el.parent(),i=t.data("id");t.parent("li").remove(),this.$choices.find('.acf-rel-item[data-id="'+i+'"]').removeClass("disabled"),this.$input.trigger("change")}})}(jQuery),function($){var e,t,i;e=acf.select2=acf.model.extend({version:0,version3:null,version4:null,actions:{"ready 1":"ready"},ready:function(){this.version=this.get_version(),this.do_function("ready")},get_version:function(){return acf.maybe_get(window,"Select2")?3:acf.maybe_get(window,"jQuery.fn.select2.amd")?4:0},do_function:function(e,t){t=t||[];var i="version"+this.version;return"undefined"!=typeof this[i]&&"undefined"!=typeof this[i][e]&&this[i][e].apply(this,t)},get_data:function(e,t){var i=this;return t=t||[],e.children().each(function(){var e=$(this);e.is("optgroup")?t.push({text:e.attr("label"),children:i.get_data(e)}):t.push({id:e.attr("value"),text:e.text()})}),t},decode_data:function(t){return t?($.each(t,function(i,a){t[i].text=acf.decode(a.text),"undefined"!=typeof a.children&&(t[i].children=e.decode_data(a.children))}),t):[]},count_data:function(e){var t=0;return e?($.each(e,function(e,i){t++,"undefined"!=typeof i.children&&(t+=i.children.length)}),t):t},get_ajax_data:function(e,t,i,a){var n=acf.prepare_for_ajax({action:e.ajax_action,field_key:e.key,s:t.term||"",paged:t.page||1});return n=acf.apply_filters("select2_ajax_data",n,e,i,a)},get_ajax_results:function(e,t){var i={results:[]};return e||(e=i),"undefined"==typeof e.results&&(i.results=e,e=i),e.results=this.decode_data(e.results),e=acf.apply_filters("select2_ajax_results",e,t)},get_value:function(e){var t=[],i=e.find("option:selected");return i.exists()?(i=i.sort(function(e,t){return+e.getAttribute("data-i")-+t.getAttribute("data-i")}),i.each(function(){var e=$(this);t.push({id:e.attr("value"),text:e.text(),$el:e})}),t):t},get_input_value:function(e){return e.val().split("||")},sync_input_value:function(e,t){e.val(t.val().join("||"))},add_option:function(e,t,i){e.find('option[value="'+t+'"]').length||e.append('<option value="'+t+'">'+i+"</option>")},select_option:function(e,t){e.find('option[value="'+t+'"]').prop("selected",!0),e.trigger("change")},unselect_option:function(e,t){e.find('option[value="'+t+'"]').prop("selected",!1),e.trigger("change")},init:function(e,t,i){this.do_function("init",arguments)},destroy:function(e){this.do_function("destroy",arguments)},add_value:function(e,t,i){this.do_function("add_value",arguments)},remove_value:function(e,t){this.do_function("remove_value",arguments)}}),t=e.version3={ready:function(){var e=acf.get("locale"),t=acf.get("rtl");if(l10n=acf._e("select"),l10n){var i={formatMatches:function(e){return 1===e?l10n.matches_1:l10n.matches_n.replace("%d",e)},formatNoMatches:function(){return l10n.matches_0},formatAjaxError:function(){return l10n.load_fail},formatInputTooShort:function(e,t){var i=t-e.length;return 1===i?l10n.input_too_short_1:l10n.input_too_short_n.replace("%d",i)},formatInputTooLong:function(e,t){var i=e.length-t;return 1===i?l10n.input_too_long_1:l10n.input_too_long_n.replace("%d",i)},formatSelectionTooBig:function(e){return 1===e?l10n.selection_too_long_1:l10n.selection_too_long_n.replace("%d",e)},formatLoadMore:function(){return l10n.load_more},formatSearching:function(){return l10n.searching}};$.fn.select2.locales=acf.maybe_get(window,"jQuery.fn.select2.locales",{}),$.fn.select2.locales[e]=i,$.extend($.fn.select2.defaults,i)}},set_data:function(e,t){3==this.version&&(e=e.siblings("input")),e.select2("data",t)},append_data:function(e,t){3==this.version&&(e=e.siblings("input"));var i=e.select2("data")||[];i.push(t),e.select2("data",i)},init:function(i,a,n){a=a||{},n=n||null,a=$.extend({allow_null:!1,placeholder:"",multiple:!1,ajax:!1,ajax_action:""},a);var s=i.siblings("input");if(s.exists()){var o={width:"100%",containerCssClass:"-acf",allowClear:a.allow_null,placeholder:a.placeholder,multiple:a.multiple,separator:"||",data:[],escapeMarkup:function(e){return e},formatResult:function(e,t,i,a){var n=$.fn.select2.defaults.formatResult(e,t,i,a);return e.description&&(n+=' <span class="select2-result-description">'+e.description+"</span>"),
|
3 |
-
n}},r=this.get_value(i);if(a.multiple){var l=i.attr("name");o.formatSelection=function(e,t){var i='<input type="hidden" class="select2-search-choice-hidden" name="'+l+'" value="'+e.id+'"'+(s.prop("disabled")?'disabled="disabled"':"")+" />";return t.parent().append(i),e.text}}else r=acf.maybe_get(r,0,!1),!a.allow_null&&r&&s.val(r.id);a.allow_null&&i.find('option[value=""]').remove(),o.data=this.get_data(i),o.initSelection=function(e,t){t(r)},a.ajax&&(o.ajax={url:acf.get("ajaxurl"),dataType:"json",type:"post",cache:!1,quietMillis:250,data:function(t,i){var o={term:t,page:i};return e.get_ajax_data(a,o,s,n)},results:function(i,a){var n={page:a};return setTimeout(function(){t.merge_results()},1),e.get_ajax_results(i,n)}}),o.dropdownCss={"z-index":"999999999"},o.acf=a,o=acf.apply_filters("select2_args",o,i,a,n),s.select2(o);var c=s.select2("container");c.before(i),c.before(s),a.multiple&&c.find("ul.select2-choices").sortable({start:function(){s.select2("onSortStart")},stop:function(){s.select2("onSortEnd")}}),i.prop("disabled",!0).addClass("acf-disabled acf-hidden"),s.on("change",function(t){t.added&&e.add_option(i,t.added.id,t.added.text),e.select_option(i,t.val)}),acf.do_action("select2_init",s,o,a,n)}},merge_results:function(){var e="",t=null;$("#select2-drop .select2-result-with-children").each(function(){var i=$(this).children(".select2-result-label"),a=$(this).children(".select2-result-sub");return i.text()==e?(t.append(a.children()),void $(this).remove()):(e=i.text(),void(t=a))})},destroy:function(e){var t=e.siblings("input");t.data("select2")&&t.select2("destroy"),e.siblings(".select2-container").remove(),e.prop("disabled",!1).removeClass("acf-disabled acf-hidden"),t.attr("style","")},add_value:function(t,i,a){e.add_option(t,i,a),e.select_option(t,i);var n=t.siblings("input"),s={id:i,text:a};if(!t.data("multiple"))return n.select2("data",s);var o=n.select2("data")||[];return o.push(s),n.select2("data",o)},remove_value:function(t,i){e.unselect_option(t,i);var a=t.siblings("input"),n=a.select2("data");t.data("multiple")?(n=$.grep(n,function(e){return e.id!=i}),a.select2("data",n)):n&&n.id==i&&a.select2("data",null)}},i=e.version4={init:function(t,a,n){a=a||{},n=n||null,a=$.extend({allow_null:!1,placeholder:"",multiple:!1,ajax:!1,ajax_action:""},a);var s=t.siblings("input");if(s.exists()){var o={width:"100%",allowClear:a.allow_null,placeholder:a.placeholder,multiple:a.multiple,separator:"||",data:[],escapeMarkup:function(e){return e}},r=this.get_value(t);a.multiple?$.each(r,function(e,i){i.$el.detach().appendTo(t)}):r=acf.maybe_get(r,0,""),a.ajax?o.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:function(i){return e.get_ajax_data(a,i,t,n)},processResults:function(t,a){var n=e.get_ajax_results(t,a);return n.more&&(n.pagination={more:!0}),setTimeout(function(){i.merge_results()},1),n}}:(t.removeData("ajax"),t.removeAttr("data-ajax")),o=acf.apply_filters("select2_args",o,t,a,n),t.select2(o);var l=t.next(".select2-container");if(a.multiple){var c=l.find("ul");c.sortable({stop:function(e){c.find(".select2-selection__choice").each(function(){var e=$($(this).data("data").element);e.detach().appendTo(t),s.trigger("change")})}}),t.on("select2:select",function(e){var i=$(e.params.data.element);i.detach().appendTo(t)})}s.val(""),l.addClass("-acf"),acf.do_action("select2_init",t,o,a,n)}},merge_results:function(){var e=null,t=null;$('.select2-results__option[role="group"]').each(function(){var i=$(this).children("ul"),a=$(this).children("strong");return null!==t&&a.text()==t.text()?(e.append(i.children()),void $(this).remove()):(e=i,void(t=a))})},add_value:function(t,i,a){e.add_option(t,i,a),e.select_option(t,i)},remove_value:function(t,i){e.unselect_option(t,i)},destroy:function(e){e.data("select2")&&e.select2("destroy"),e.siblings(".select2-container").remove()}},acf.add_select2=function(t,i){e.init(t,i)},acf.remove_select2=function(t){e.destroy(t)}}(jQuery),function($){acf.fields.select=acf.field.extend({type:"select",$select:null,actions:{ready:"render",append:"render",remove:"remove"},focus:function(){this.$select=this.$field.find("select"),this.$select.exists()&&(this.o=acf.get_data(this.$select),this.o=acf.parse_args(this.o,{ajax_action:"acf/fields/"+this.type+"/query",key:this.$field.data("key")}))},render:function(){return!(!this.$select.exists()||!this.o.ui)&&void acf.select2.init(this.$select,this.o,this.$field)},remove:function(){return!(!this.$select.exists()||!this.o.ui)&&void acf.select2.destroy(this.$select)}}),acf.fields.user=acf.fields.select.extend({type:"user"}),acf.fields.post_object=acf.fields.select.extend({type:"post_object"}),acf.fields.page_link=acf.fields.select.extend({type:"page_link"})}(jQuery),function($){acf.fields.tab=acf.field.extend({type:"tab",$el:null,$wrap:null,actions:{prepare:"initialize",append:"initialize",hide:"hide",show:"show"},focus:function(){this.$el=this.$field.find(".acf-tab"),this.o=this.$el.data(),this.o.key=this.$field.data("key"),this.o.text=this.$el.html()},initialize:function(){this.$field.is("td")||e.add_tab(this.$field,this.o)},hide:function(e,t){if("conditional_logic"==t){var i=e.data("key"),a=e.prevAll(".acf-tab-wrap"),n=a.find('a[data-key="'+i+'"]'),s=n.parent();a.exists()&&(s.addClass("hidden-by-conditional-logic"),setTimeout(function(){e.nextUntil(".acf-field-tab",".acf-field").each(function(){$(this).hasClass("hidden-by-conditional-logic")||(acf.conditional_logic.hide_field($(this)),$(this).addClass("-hbcl-"+i))}),s.hasClass("active")&&a.find("li:not(.hidden-by-conditional-logic):first a").trigger("click")},0))}},show:function(e,t){if("conditional_logic"==t){var i=e.data("key"),a=e.prevAll(".acf-tab-wrap"),n=a.find('a[data-key="'+i+'"]'),s=n.parent();a.exists()&&(s.removeClass("hidden-by-conditional-logic"),setTimeout(function(){e.siblings(".acf-field.-hbcl-"+i).each(function(){acf.conditional_logic.show_field($(this)),$(this).removeClass("-hbcl-"+i)});var t=s.siblings(".active");t.exists()&&!t.hasClass("hidden-by-conditional-logic")||n.trigger("click")},0))}}});var e=acf.model.extend({actions:{"prepare 15":"render","append 15":"render","refresh 15":"render"},events:{"click .acf-tab-button":"_click"},render:function(e){$(".acf-tab-wrap",e).each(function(){var e=$(this),t=e.parent();if(e.find("li.active").exists()||e.find("li:not(.hidden-by-conditional-logic):first a").trigger("click"),t.hasClass("-sidebar")){var i=t.is("td")?"height":"min-height",a=e.position().top+e.children("ul").outerHeight(!0)-1;t.css(i,a)}})},add_group:function(e,t){var i=e.parent(),a="";return i.hasClass("acf-fields")&&"left"==t.placement?i.addClass("-sidebar"):t.placement="top",a=i.is("tbody")?'<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>':'<div class="acf-tab-wrap -'+t.placement+'"><ul class="acf-hl acf-tab-group"></ul></div>',$group=$(a),e.before($group),$group},add_tab:function(e,t){var i=e.siblings(".acf-tab-wrap").last();i.exists()?t.endpoint&&(i=this.add_group(e,t)):i=this.add_group(e,t);var a=$('<li><a class="acf-tab-button" href="#" data-key="'+t.key+'">'+t.text+"</a></li>");""===t.text&&a.hide(),i.find("ul").append(a),e.hasClass("hidden-by-conditional-logic")&&a.addClass("hidden-by-conditional-logic")},_click:function(e){e.preventDefault();var t=this,i=e.$el,a=i.closest(".acf-tab-wrap"),n=i.data("key"),s="";i.parent().addClass("active").siblings().removeClass("active"),a.nextUntil(".acf-tab-wrap",".acf-field").each(function(){var e=$(this);return("tab"!=e.data("type")||(s=e.data("key"),!e.hasClass("endpoint")))&&void(s===n?e.hasClass("hidden-by-tab")&&(e.removeClass("hidden-by-tab"),acf.do_action("show_field",$(this),"tab")):e.hasClass("hidden-by-tab")||(e.addClass("hidden-by-tab"),acf.do_action("hide_field",$(this),"tab")))}),acf.do_action("refresh",a.parent()),i.trigger("blur")}}),t=acf.model.extend({active:1,actions:{invalid_field:"invalid_field"},invalid_field:function(e){if(this.active&&e.hasClass("hidden-by-tab")){var t=this,i=e.prevAll(".acf-field-tab:first"),a=e.prevAll(".acf-tab-wrap:first");a.find('a[data-key="'+i.data("key")+'"]').trigger("click"),this.active=0,setTimeout(function(){t.active=1},1e3)}}})}(jQuery),function($){acf.fields.time_picker=acf.field.extend({type:"time_picker",$el:null,$input:null,$hidden:null,o:{},actions:{ready:"initialize",append:"initialize"},events:{'blur input[type="text"]':"blur"},focus:function(){this.$el=this.$field.find(".acf-time-picker"),this.$input=this.$el.find('input[type="text"]'),this.$hidden=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){if("undefined"!=typeof $.timepicker){var e={timeFormat:this.o.time_format,altField:this.$hidden,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf._e("date_time_picker","selectText")};e.onClose=function(e,t){var i=t.dpDiv,a=i.find(".ui-datepicker-close");if(!e&&a.is(":hover")){if(e=acf.maybe_get(t,"settings.timepicker.formattedTime"),!e)return;$.datepicker._setTime(t)}},e=acf.apply_filters("time_picker_args",e,this.$field),this.$input.timepicker(e),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />'),acf.do_action("time_picker_init",this.$input,e,this.$field)}},blur:function(){this.$input.val()||this.$hidden.val("")}})}(jQuery),function($){acf.fields.true_false=acf.field.extend({type:"true_false",$switch:null,$input:null,actions:{prepare:"render",append:"render",show:"render"},events:{"change .acf-switch-input":"_change","focus .acf-switch-input":"_focus","blur .acf-switch-input":"_blur","keypress .acf-switch-input":"_keypress"},focus:function(){this.$input=this.$field.find(".acf-switch-input"),this.$switch=this.$field.find(".acf-switch")},render:function(){if(this.$switch.exists()){var e=this.$switch.children(".acf-switch-on"),t=this.$switch.children(".acf-switch-off");width=Math.max(e.width(),t.width()),width&&(e.css("min-width",width),t.css("min-width",width))}},on:function(){this.$input.prop("checked",!0),this.$switch.addClass("-on")},off:function(){this.$input.prop("checked",!1),this.$switch.removeClass("-on")},_change:function(e){var t=e.$el.prop("checked");t?this.on():this.off()},_focus:function(e){this.$switch.addClass("-focus")},_blur:function(e){this.$switch.removeClass("-focus")},_keypress:function(e){return 37===e.keyCode?this.off():39===e.keyCode?this.on():void 0}})}(jQuery),function($){acf.fields.taxonomy=acf.field.extend({type:"taxonomy",$el:null,actions:{ready:"render",append:"render",remove:"remove"},events:{'click a[data-name="add"]':"add_term"},focus:function(){this.$el=this.$field.find(".acf-taxonomy-field"),this.o=acf.get_data(this.$el,{save:"",type:"",taxonomy:""}),this.o.key=this.$field.data("key")},render:function(){var e=this.$field.find("select");if(e.exists()){var t=acf.get_data(e);t=acf.parse_args(t,{pagination:!0,ajax_action:"acf/fields/taxonomy/query",key:this.o.key}),acf.select2.init(e,t)}},remove:function(){var e=this.$field.find("select");return!!e.exists()&&void acf.select2.destroy(e)},add_term:function(e){var t=this;acf.open_popup({title:e.$el.attr("title")||e.$el.data("title"),loading:!0,height:220});var i=acf.prepare_for_ajax({action:"acf/fields/taxonomy/add_term",field_key:this.o.key});$.ajax({url:acf.get("ajaxurl"),data:i,type:"post",dataType:"html",success:function(e){t.add_term_confirm(e)}})},add_term_confirm:function(e){var t=this;acf.update_popup({content:e}),$('#acf-popup input[name="term_name"]').focus(),$("#acf-popup form").on("submit",function(e){e.preventDefault(),t.add_term_submit($(this))})},add_term_submit:function(e){var t=this,i=e.find(".acf-submit"),a=e.find('input[name="term_name"]'),n=e.find('select[name="term_parent"]');if(""===a.val())return a.focus(),!1;i.find("button").attr("disabled","disabled"),i.find(".acf-spinner").addClass("is-active");var s=acf.prepare_for_ajax({action:"acf/fields/taxonomy/add_term",field_key:this.o.key,term_name:a.val(),term_parent:n.exists()?n.val():0});$.ajax({url:acf.get("ajaxurl"),data:s,type:"post",dataType:"json",success:function(e){var n=acf.get_ajax_message(e);acf.is_ajax_success(e)&&(a.val(""),t.append_new_term(e.data)),n.text&&i.find("span").html(n.text)},complete:function(){i.find("button").removeAttr("disabled"),i.find(".acf-spinner").removeClass("is-active"),i.find("span").delay(1500).fadeOut(250,function(){$(this).html(""),$(this).show()}),a.focus()}})},append_new_term:function(e){var t={id:e.term_id,text:e.term_label};switch($('.acf-taxonomy-field[data-taxonomy="'+this.o.taxonomy+'"]').each(function(){var t=$(this).data("type");if("radio"==t||"checkbox"==t){var i=$(this).children('input[type="hidden"]'),a=$(this).find("ul:first"),n=i.attr("name");"checkbox"==t&&(n+="[]");var s=$(['<li data-id="'+e.term_id+'">',"<label>",'<input type="'+t+'" value="'+e.term_id+'" name="'+n+'" /> ',"<span>"+e.term_label+"</span>","</label>","</li>"].join(""));if(e.term_parent){var o=a.find('li[data-id="'+e.term_parent+'"]');a=o.children("ul"),a.exists()||(a=$('<ul class="children acf-bl"></ul>'),o.append(a))}a.append(s)}}),$("#acf-popup #term_parent").each(function(){var t=$('<option value="'+e.term_id+'">'+e.term_label+"</option>");e.term_parent?$(this).children('option[value="'+e.term_parent+'"]').after(t):$(this).append(t)}),this.o.type){case"select":var i=this.$el.children("select");acf.select2.add_value(i,e.term_id,e.term_label);break;case"multi_select":var i=this.$el.children("select");acf.select2.add_value(i,e.term_id,e.term_label);break;case"checkbox":case"radio":var a=this.$el.find(".categorychecklist-holder"),n=a.find('li[data-id="'+e.term_id+'"]'),s=a.get(0).scrollTop+(n.offset().top-a.offset().top);n.find("input").prop("checked",!0),a.animate({scrollTop:s},"250")}}})}(jQuery),function($){acf.fields.url=acf.field.extend({type:"url",$input:null,actions:{ready:"render",append:"render"},events:{'keyup input[type="url"]':"render"},focus:function(){this.$input=this.$field.find('input[type="url"]')},is_valid:function(){var e=this.$input.val();if(e.indexOf("://")!==-1);else if(0!==e.indexOf("//"))return!1;return!0},render:function(){this.is_valid()?this.$input.parent().addClass("-valid"):this.$input.parent().removeClass("-valid")}})}(jQuery),function($){acf.validation=acf.model.extend({actions:{ready:"ready",append:"ready"},filters:{validation_complete:"validation_complete"},events:{"click #save-post":"click_ignore",'click [type="submit"]':"click_publish","submit form":"submit_form","click .acf-error-message a":"click_message"},active:1,ignore:0,busy:0,valid:!0,errors:[],error_class:"acf-error",message_class:"acf-error-message",$trigger:null,ready:function(e){var t=$(".acf-field input, .acf-field textarea, .acf-field select");if(t.length){var i=this;t.on("invalid",function(e){var t=$(this),i=acf.get_field_wrap(t);acf.do_action("invalid",t),acf.do_action("invalid_field",i),acf.validation.ignore||(e.preventDefault(),acf.validation.errors.push({input:t.attr("name"),message:e.target.validationMessage}),acf.validation.fetch(t.closest("form")))})}},validation_complete:function(e,t){if(!this.errors.length)return e;e.valid=0,e.errors=e.errors||[];var a=[];if(e.errors.length)for(i in e.errors)a.push(e.errors[i].input);if(this.errors.length)for(i in this.errors){var n=this.errors[i];$.inArray(n.input,a)===-1&&e.errors.push(n)}return this.errors=[],e},click_message:function(e){e.preventDefault(),acf.remove_el(e.$el.parent())},click_ignore:function(e){var t=this;this.ignore=1,this.$trigger=e.$el,this.$form=e.$el.closest("form"),$("."+this.message_class).each(function(){acf.remove_el($(this))}),this.ignore_required_inputs(),setTimeout(function(){t.ignore=0},100)},ignore_required_inputs:function(){var e=$(".acf-field input[required], .acf-field textarea[required], .acf-field select[required]");e.length&&(e.prop("required",!1),setTimeout(function(){e.prop("required",!0)},100))},click_publish:function(e){this.$trigger=e.$el},submit_form:function(e){if(!this.active)return!0;if(this.ignore)return this.ignore=0,!0;if(!e.$el.find("#acf-form-data").exists())return!0;var t=e.$el.find("#wp-preview");return t.exists()&&t.val()?(this.toggle(e.$el,"unlock"),!0):(e.preventDefault(),void this.fetch(e.$el))},toggle:function(e,t){t=t||"unlock";var i=null,a=null,n=$("#submitdiv");n.exists()||(n=$("#submitpost")),n.exists()||(n=e.find("p.submit").last()),n.exists()||(n=e.find(".acf-form-submit")),n.exists()||(n=e),i=n.find('input[type="submit"], .button'),a=n.find(".spinner, .acf-spinner"),this.hide_spinner(a),"unlock"==t?this.enable_submit(i):"lock"==t&&(this.disable_submit(i),this.show_spinner(a.last()))},fetch:function(e){if(this.busy)return!1;var t=this;acf.do_action("validation_begin");var i=acf.serialize(e);i.action="acf/validate_save_post",i=acf.prepare_for_ajax(i),this.busy=1,this.toggle(e,"lock"),$.ajax({url:acf.get("ajaxurl"),data:i,type:"post",dataType:"json",success:function(i){acf.is_ajax_success(i)&&t.fetch_success(e,i.data)},complete:function(){t.fetch_complete(e)}})},fetch_complete:function(e){if(this.busy=0,this.toggle(e,"unlock"),this.valid){this.ignore=1;var t=e.children(".acf-error-message");t.exists()&&(t.addClass("-success"),t.children("p").html(acf._e("validation_successful")),setTimeout(function(){acf.remove_el(t)},2e3)),e.find(".acf-postbox.acf-hidden").remove(),acf.do_action("submit",e),this.$trigger?this.$trigger.click():e.submit(),this.toggle(e,"lock")}},fetch_success:function(e,t){return t=acf.apply_filters("validation_complete",t,e),t&&!t.valid&&t.errors?(acf.do_action("validation_failure"),this.valid=!1,this.$trigger=null,void this.display_errors(t.errors,e)):(this.valid=!0,void acf.do_action("validation_success"))},display_errors:function(e,t){if(e&&e.length){var a=t.children(".acf-error-message"),n=acf._e("validation_failed"),s=0,o=null;for(i=0;i<e.length;i++){var r=e[i];if(r.input){var l=t.find('[name="'+r.input+'"]').first();if(l.exists()||(l=t.find('[name^="'+r.input+'"]').first()),l.exists()){s++;var c=acf.get_field_wrap(l);this.add_error(c,r.message),null===o&&(o=c)}}else n+=". "+r.message}1==s?n+=". "+acf._e("validation_failed_1"):s>1&&(n+=". "+acf._e("validation_failed_2").replace("%d",s)),a.exists()||(a=$('<div class="acf-error-message"><p></p><a href="#" class="acf-icon -cancel small"></a></div>'),t.prepend(a)),a.children("p").html(n),null===o&&(o=a),setTimeout(function(){$("html, body").animate({scrollTop:o.offset().top-$(window).height()/2},500)},10)}},add_error:function(e,t){var i=this;e.addClass(this.error_class),void 0!==t&&(e.children(".acf-input").children("."+this.message_class).remove(),e.children(".acf-input").prepend('<div class="'+this.message_class+'"><p>'+t+"</p></div>"));var a=function(){i.remove_error(e),e.off("focus change","input, textarea, select",a)};e.on("focus change","input, textarea, select",a),acf.do_action("add_field_error",e),acf.do_action("invalid_field",e)},remove_error:function(e){var t=e.children(".acf-input").children("."+this.message_class);e.removeClass(this.error_class),setTimeout(function(){acf.remove_el(t)},250),acf.do_action("remove_field_error",e),acf.do_action("valid_field",e)},add_warning:function(e,t){this.add_error(e,t),setTimeout(function(){acf.validation.remove_error(e)},1e3)},show_spinner:function(e){if(e.exists()){var t=acf.get("wp_version");parseFloat(t)>=4.2?e.addClass("is-active"):e.css("display","inline-block")}},hide_spinner:function(e){if(e.exists()){var t=acf.get("wp_version");parseFloat(t)>=4.2?e.removeClass("is-active"):e.css("display","none")}},disable_submit:function(e){e.exists()&&e.addClass("disabled button-disabled button-primary-disabled")},enable_submit:function(e){e.exists()&&e.removeClass("disabled button-disabled button-primary-disabled")}})}(jQuery),function($){acf.fields.wysiwyg=acf.field.extend({type:"wysiwyg",$el:null,$textarea:null,toolbars:{},events:{"mousedown .acf-editor-wrap.delay":"mousedown"},actions:{load:"initialize",append:"initialize",remove:"disable",sortstart:"disable",sortstop:"enable"},focus:function(){this.$el=this.$field.find(".wp-editor-wrap").last(),this.$textarea=this.$el.find("textarea"),this.o=acf.get_data(this.$el,{toolbar:"",active:this.$el.hasClass("tmce-active"),id:this.$textarea.attr("id")})},mousedown:function(e){e.preventDefault(),this.$el.removeClass("delay"),this.$el.find(".acf-editor-toolbar").remove(),this.initialize()},initialize:function(){if(!this.$el.hasClass("delay")){var e={tinymce:!0,quicktags:!0,toolbar:this.o.toolbar,mode:this.o.active?"visual":"text"},t=this.o.id,i=acf.get_uniqid("acf-editor-"),a=this.$el.outerHTML();a=acf.str_replace(t,i,a),this.$el.replaceWith(a),this.o.id=i,acf.tinymce.initialize(this.o.id,e,this.$field)}},disable:function(){acf.tinymce.destroy(this.o.id)},enable:function(){this.o.active&&acf.tinymce.enable(this.o.id)}}),acf.tinymce=acf.model.extend({toolbars:{},actions:{ready:"ready"},ready:function(){var e=$("#acf-hidden-wp-editor");e.exists()&&(e.appendTo("body"),acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",function(e){var t=e.editor;"acf"===t.id.substr(0,3)&&(t=tinymce.editors.content||t,tinymce.activeEditor=t,wpActiveEditor=t.id)}))},defaults:function(){if("undefined"==typeof tinyMCEPreInit)return!1;var e={tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content};return e},initialize:function(e,t,i){t=t||{},i=i||null,t=acf.parse_args(t,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual"}),t.tinymce&&this.initialize_tinymce(e,t,i),t.quicktags&&this.initialize_quicktags(e,t,i)},initialize_tinymce:function(e,t,i){var a=$("#"+e),n=this.defaults(),s=this.toolbars;if("undefined"==typeof tinymce)return!1;if(!n)return!1;if(tinymce.get(e))return this.enable(e);init=$.extend({},n.tinymce,t.tinymce),init.id=e,init.selector="#"+e;var o=t.toolbar;if(o&&"undefined"!=typeof s[o])for(var r=1;r<=4;r++)init["toolbar"+r]=s[o][r]||"";if(init.setup=function(t){t.on("focus",function(e){acf.validation.remove_error(i)}),t.on("change",function(e){t.save(),a.trigger("change")}),$(t.getWin()).on("unload",function(){acf.tinymce.remove(e)})},init.wp_autoresize_on=!1,init=acf.apply_filters("wysiwyg_tinymce_settings",init,e,i),tinyMCEPreInit.mceInit[e]=init,"visual"==t.mode){tinymce.init(init);var l=tinymce.get(e);acf.do_action("wysiwyg_tinymce_init",l,l.id,init,i)}},initialize_quicktags:function(e,t,i){var a=this.defaults();if("undefined"==typeof quicktags)return!1;if(!a)return!1;init=$.extend({},a.quicktags,t.quicktags),init.id=e,init=acf.apply_filters("wysiwyg_quicktags_settings",init,init.id,i),tinyMCEPreInit.qtInit[e]=init;var n=quicktags(init);this.build_quicktags(n),acf.do_action("wysiwyg_quicktags_init",n,n.id,init,i)},build_quicktags:function(e){var t,i,a,n,s,e,o,r,l,c=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";t=e.canvas,i=e.name,a=e.settings,s="",n={},l="",a.buttons&&(l=","+a.buttons+",");for(r in edButtons)edButtons[r]&&(o=edButtons[r].id,l&&c.indexOf(","+o+",")!==-1&&l.indexOf(","+o+",")===-1||edButtons[r].instance&&edButtons[r].instance!==instanceId||(n[o]=edButtons[r],edButtons[r].html&&(s+=edButtons[r].html(i+"_"))));l&&l.indexOf(",dfw,")!==-1&&(n.dfw=new QTags.DFWButton,s+=n.dfw.html(i+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(n.textdirection=new QTags.TextDirectionButton,s+=n.textdirection.html(i+"_")),e.toolbar.innerHTML=s,e.theButtons=n,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[e])},disable:function(e){this.destroy(e)},destroy:function(e){this.destroy_tinymce(e)},destroy_tinymce:function(e){if("undefined"==typeof tinymce)return!1;var t=tinymce.get(e);return!!t&&(t.save(),t.destroy(),!0)},enable:function(e){this.enable_tinymce(e)},enable_tinymce:function(e){return"undefined"!=typeof switchEditors&&("undefined"!=typeof tinyMCEPreInit.mceInit[e]&&(switchEditors.go(e,"tmce"),!0))}})}(jQuery);
|
1 |
+
!function(e,t){"use strict";var i=function(){function e(){return u}function t(e,t,i,a){return"string"==typeof e&&"function"==typeof t&&(i=parseInt(i||10,10),l("actions",e,t,i,a)),f}function i(){var e=Array.prototype.slice.call(arguments),t=e.shift();return"string"==typeof t&&d("actions",t,e),f}function a(e,t){return"string"==typeof e&&r("actions",e,t),f}function n(e,t,i,a){return"string"==typeof e&&"function"==typeof t&&(i=parseInt(i||10,10),l("filters",e,t,i,a)),f}function s(){var e=Array.prototype.slice.call(arguments),t=e.shift();return"string"==typeof t?d("filters",t,e):f}function o(e,t){return"string"==typeof e&&r("filters",e,t),f}function r(e,t,i,a){if(u[e][t])if(i){var n=u[e][t],s;if(a)for(s=n.length;s--;){var o=n[s];o.callback===i&&o.context===a&&n.splice(s,1)}else for(s=n.length;s--;)n[s].callback===i&&n.splice(s,1)}else u[e][t]=[]}function l(e,t,i,a,n){var s={callback:i,priority:a,context:n},o=u[e][t];o?(o.push(s),o=c(o)):o=[s],u[e][t]=o}function c(e){for(var t,i,a,n=1,s=e.length;n<s;n++){for(t=e[n],i=n;(a=e[i-1])&&a.priority>t.priority;)e[i]=e[i-1],--i;e[i]=t}return e}function d(e,t,i){var a=u[e][t];if(!a)return"filters"===e&&i[0];var n=0,s=a.length;if("filters"===e)for(;n<s;n++)i[0]=a[n].callback.apply(a[n].context,i);else for(;n<s;n++)a[n].callback.apply(a[n].context,i);return"filters"!==e||i[0]}var f={removeFilter:o,applyFilters:s,addFilter:n,removeAction:a,doAction:i,addAction:t,storage:e},u={actions:{},filters:{}};return f};e.wp=e.wp||{},e.wp.hooks=new i}(window);var acf;!function($){$.fn.exists=function(){return $(this).length>0},$.fn.outerHTML=function(){return $(this).get(0).outerHTML},acf={l10n:{},o:{},update:function(e,t){this.o[e]=t},get:function(e){return"undefined"!=typeof this.o[e]?this.o[e]:null},_e:function(e,t){t=t||!1;var i=this.l10n[e]||"";return t&&(i=i[t]||""),i},add_action:function(){for(var e=arguments[0].split(" "),t=e.length,i=0;i<t;i++)arguments[0]="acf/"+e[i],wp.hooks.addAction.apply(this,arguments);return this},remove_action:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.removeAction.apply(this,arguments),this},do_action:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.doAction.apply(this,arguments),this},add_filter:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.addFilter.apply(this,arguments),this},remove_filter:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.removeFilter.apply(this,arguments),this},apply_filters:function(){return arguments[0]="acf/"+arguments[0],wp.hooks.applyFilters.apply(this,arguments)},get_selector:function(e){e=e||"";var t=".acf-field";if($.isPlainObject(e))if($.isEmptyObject(e))e="";else for(k in e){e=e[k];break}return e&&(t+="-"+e,t=t.split("_").join("-"),t=t.split("field-field-").join("field-")),t},get_fields:function(e,t,i){e=e||"",t=t||!1,i=i||!1;var a=this.get_selector(e),n=$(a,t);return t!==!1&&t.each(function(){$(this).is(a)&&(n=n.add($(this)))}),i||(n=n.not(".acf-clone .acf-field"),n=acf.apply_filters("get_fields",n)),n},get_field:function(e,t){e=e||"",t=t||!1;var i=this.get_fields(e,t,!0);return!!i.exists()&&i.first()},get_closest_field:function(e,t){return t=t||"",e.closest(this.get_selector(t))},get_field_wrap:function(e){return e.closest(this.get_selector())},get_field_key:function(e){return e.data("key")},get_field_type:function(e){return e.data("type")},get_data:function(e,t){var i=e.data();return"object"==typeof t&&(i=this.parse_args(i,t)),i},get_uniqid:function(e,t){"undefined"==typeof e&&(e="");var i,a=function(e,t){return e=parseInt(e,10).toString(16),t<e.length?e.slice(e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};return this.php_js||(this.php_js={}),this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(123456789*Math.random())),this.php_js.uniqidSeed++,i=e,i+=a(parseInt((new Date).getTime()/1e3,10),8),i+=a(this.php_js.uniqidSeed,5),t&&(i+=(10*Math.random()).toFixed(8).toString()),i},serialize_form:function(){return this.serialize.apply(this,arguments)},serialize:function(e,t){t=t||"";var i={},a={},n=e.find("select, textarea, input").serializeArray();return $.each(n,function(e,n){var s=n.name,o=n.value;if(t){if(0!==s.indexOf(t))return;s=s.slice(t.length),"["==s.slice(0,1)&&(s=s.slice(1).replace("]",""))}"[]"===s.slice(-2)&&(s=s.slice(0,-2),"undefined"==typeof a[s]&&(a[s]=-1),a[s]++,s+="["+a[s]+"]"),i[s]=o}),i},disable:function(e,t){if(t=t||"",e.hasClass("acf-disabled"))return!1;if(e.prop("disabled",!0),t){var i=e.data("acf_disabled")||[],a=i.indexOf(t);a<0&&(i.push(t),e.data("acf_disabled",i))}return!0},enable:function(e,t){if(t=t||"",e.hasClass("acf-disabled"))return!1;var i=e.data("acf_disabled")||[];if(t){var a=i.indexOf(t);a>-1&&(i.splice(a,1),e.data("acf_disabled",i))}return!i.length&&(e.prop("disabled",!1),!0)},disable_el:function(e,t){t=t||"",e.find("select, textarea, input").each(function(){acf.disable($(this),t)})},disable_form:function(e,t){this.disable_el.apply(this,arguments)},enable_el:function(e,t){t=t||"",e.find("select, textarea, input").each(function(){acf.enable($(this),t)})},enable_form:function(e,t){this.enable_el.apply(this,arguments)},remove_tr:function(e,t){var i=e.height(),a=e.children().length;e.addClass("acf-remove-element"),setTimeout(function(){e.removeClass("acf-remove-element"),e.html('<td style="padding:0; height:'+i+'px" colspan="'+a+'"></td>'),e.children("td").animate({height:0},250,function(){e.remove(),"function"==typeof t&&t()})},250)},remove_el:function(e,t,i){i=i||0;var a=e.height(),n=e.width(),s=e.css("margin"),o=e.outerHeight(!0);acf.do_action("remove",e),e.wrap('<div class="acf-temp-remove" style="height:'+o+'px"></div>');var r=e.parent();e.css({height:a,width:n,margin:s,position:"absolute"}),setTimeout(function(){r.css({opacity:0,height:i})},50),setTimeout(function(){r.remove(),"function"==typeof t&&t.apply(this,arguments)},301)},isset:function(){var e=arguments,t=e.length,a=null,n;if(0===t)throw new Error("Empty isset");for(a=e[0],i=1;i<t;i++){if(e[i]===n||a[e[i]]===n)return!1;a=a[e[i]]}return!0},maybe_get:function(e,t,i){"undefined"==typeof i&&(i=null),keys=String(t).split(".");for(var a in keys){var t=keys[a];if("undefined"==typeof e[t])return i;e=e[t]}return e},open_popup:function(e){if($popup=$("body > #acf-popup"),$popup.exists())return update_popup(e);var t=['<div id="acf-popup">','<div class="acf-popup-box acf-box">','<div class="title"><h3></h3><a href="#" class="acf-icon -cancel grey acf-close-popup"></a></div>','<div class="inner"></div>','<div class="loading"><i class="acf-loading"></i></div>',"</div>",'<div class="bg"></div>',"</div>"].join("");return $("body").append(t),$("#acf-popup").on("click",".bg, .acf-close-popup",function(e){e.preventDefault(),acf.close_popup()}),this.update_popup(e)},update_popup:function(e){return $popup=$("#acf-popup"),!!$popup.exists()&&(e=$.extend({},{title:"",content:"",width:0,height:0,loading:!1},e),e.title&&$popup.find(".title h3").html(e.title),e.content&&($inner=$popup.find(".inner:first"),$inner.html(e.content),acf.do_action("append",$inner),$inner.attr("style","position: relative;"),e.height=$inner.outerHeight(),$inner.removeAttr("style")),e.width&&$popup.find(".acf-popup-box").css({width:e.width,"margin-left":0-e.width/2}),e.height&&(e.height+=44,$popup.find(".acf-popup-box").css({height:e.height,"margin-top":0-e.height/2})),e.loading?$popup.find(".loading").show():$popup.find(".loading").hide(),$popup)},close_popup:function(){$popup=$("#acf-popup"),$popup.exists()&&$popup.remove()},update_user_setting:function(e,t){$.ajax({url:acf.get("ajaxurl"),dataType:"html",type:"post",data:acf.prepare_for_ajax({action:"acf/update_user_setting",name:e,value:t})})},prepare_for_ajax:function(e){var t={nonce:acf.get("nonce"),post_id:acf.get("post_id")};return $.each(e,function(e,i){$.isPlainObject(i)&&!$.isEmptyObject(i)?$.each(i,function(i,a){i+="";var n=i.indexOf("[");i=0==n?e+i:n>0?e+"["+i.slice(0,n)+"]"+i.slice(n):e+"["+i+"]",t[i]=a}):t[e]=i}),t=acf.apply_filters("prepare_for_ajax",t)},is_ajax_success:function(e){return!(!e||!e.success)},get_ajax_message:function(e){var t={text:"",type:"error"};return e?(e.success&&(t.type="success"),e.data&&e.data.message&&(t.text=e.data.message),e.data&&e.data.error&&(t.text=e.data.error),t):t},is_in_view:function(e){var t=e.offset().top,i=t+e.height();if(t===i)return!1;var a=$(window).scrollTop(),n=a+$(window).height();return i<=n&&t>=a},val:function(e,t){var i=e.val();e.val(t),t!=i&&e.trigger("change")},str_replace:function(e,t,i){return i.split(e).join(t)},str_sanitize:function(e){var t={"À":"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,a=function(e){return"undefined"!=typeof t[e]?t[e]:e};return e=e.replace(i,a),e=e.toLowerCase()},addslashes:function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},esc_html:function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})},render_select:function(e,t){var i=e.val();e.html(""),t&&$.each(t,function(t,a){var n=e;a.group&&(n=e.find('optgroup[label="'+a.group+'"]'),n.exists()||(n=$('<optgroup label="'+a.group+'"></optgroup>'),e.append(n))),n.append('<option value="'+a.value+'">'+acf.esc_html(a.label)+"</option>"),i==a.value&&e.prop("selectedIndex",t)})},duplicate:function(e){"undefined"!=typeof e.length&&(e={$el:e}),e=acf.parse_args(e,{$el:!1,search:"",replace:"",before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}});var t=e.$el,i;e.search||(e.search=t.attr("data-id")),e.replace||(e.replace=acf.get_uniqid()),e.before.apply(this,[t]),acf.do_action("before_duplicate",t);var i=t.clone();return i.removeClass("acf-clone"),acf.do_action("remove",i),e.search&&(i.attr("data-id",e.replace),i.find('[id*="'+e.search+'"]').each(function(){$(this).attr("id",$(this).attr("id").replace(e.search,e.replace))}),i.find('[name*="'+e.search+'"]').each(function(){$(this).attr("name",$(this).attr("name").replace(e.search,e.replace))}),i.find('label[for*="'+e.search+'"]').each(function(){$(this).attr("for",$(this).attr("for").replace(e.search,e.replace))})),i.find(".ui-sortable").removeClass("ui-sortable"),acf.do_action("after_duplicate",t,i),e.after.apply(this,[t,i]),e.append.apply(this,[t,i]),setTimeout(function(){acf.do_action("append",i)},1),i},decode:function(e){return $("<textarea/>").html(e).text()},parse_args:function(e,t){return"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={}),$.extend({},t,e)},enqueue_script:function(e,t){var i=document.createElement("script");i.type="text/javascript",i.src=e,i.async=!0,i.readyState?i.onreadystatechange=function(){"loaded"!=i.readyState&&"complete"!=i.readyState||(i.onreadystatechange=null,t())}:i.onload=function(){t()},document.body.appendChild(i)}},acf.model={actions:{},filters:{},events:{},extend:function(e){var t=$.extend({},this,e);return $.each(t.actions,function(e,i){t._add_action(e,i)}),$.each(t.filters,function(e,i){t._add_filter(e,i)}),$.each(t.events,function(e,i){t._add_event(e,i)}),t},_add_action:function(e,t){var i=this,a=e.split(" "),e=a[0]||"",n=a[1]||10;acf.add_action(e,i[t],n,i)},_add_filter:function(e,t){var i=this,a=e.split(" "),e=a[0]||"",n=a[1]||10;acf.add_filter(e,i[t],n,i)},_add_event:function(e,t){var i=this,a=e.indexOf(" "),n=a>0?e.substr(0,a):e,s=a>0?e.substr(a+1):"",o=function(e){e.$el=$(this),"function"==typeof i.event&&(e=i.event(e)),i[t].apply(i,arguments)};s?$(document).on(n,s,o):$(document).on(n,o)},get:function(e,t){return t=t||null,"undefined"!=typeof this[e]&&(t=this[e]),t},set:function(e,t){return this[e]=t,"function"==typeof this["_set_"+e]&&this["_set_"+e].apply(this),this}},acf.field=acf.model.extend({type:"",o:{},$field:null,_add_action:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_action(e,function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_filter:function(e,t){var i=this;e=e+"_field/type="+i.type,acf.add_filter(e,function(e){i.set("$field",e),i[t].apply(i,arguments)})},_add_event:function(e,t){var i=this,a=e.substr(0,e.indexOf(" ")),n=e.substr(e.indexOf(" ")+1),s=acf.get_selector(i.type);$(document).on(a,s+" "+n,function(e){var a=$(this),n=acf.get_closest_field(a,i.type);n.length&&(n.is(i.$field)||i.set("$field",n),e.$el=a,e.$field=n,i[t].apply(i,[e]))})},_set_$field:function(){"function"==typeof this.focus&&this.focus()},doFocus:function(e){return this.set("$field",e)}}),acf.fields=acf.model.extend({actions:{prepare:"_prepare",prepare_field:"_prepare_field",ready:"_ready",ready_field:"_ready_field",append:"_append",append_field:"_append_field",load:"_load",load_field:"_load_field",remove:"_remove",remove_field:"_remove_field",sortstart:"_sortstart",sortstart_field:"_sortstart_field",sortstop:"_sortstop",sortstop_field:"_sortstop_field",show:"_show",show_field:"_show_field",hide:"_hide",hide_field:"_hide_field"},_prepare:function(e){acf.get_fields("",e).each(function(){acf.do_action("prepare_field",$(this))})},_prepare_field:function(e){acf.do_action("prepare_field/type="+e.data("type"),e)},_ready:function(e){acf.get_fields("",e).each(function(){acf.do_action("ready_field",$(this))})},_ready_field:function(e){acf.do_action("ready_field/type="+e.data("type"),e)},_append:function(e){acf.get_fields("",e).each(function(){acf.do_action("append_field",$(this))})},_append_field:function(e){acf.do_action("append_field/type="+e.data("type"),e)},_load:function(e){acf.get_fields("",e).each(function(){acf.do_action("load_field",$(this))})},_load_field:function(e){acf.do_action("load_field/type="+e.data("type"),e)},_remove:function(e){acf.get_fields("",e).each(function(){acf.do_action("remove_field",$(this))})},_remove_field:function(e){acf.do_action("remove_field/type="+e.data("type"),e)},_sortstart:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("sortstart_field",$(this),t)})},_sortstart_field:function(e,t){acf.do_action("sortstart_field/type="+e.data("type"),e,t)},_sortstop:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("sortstop_field",$(this),t)})},_sortstop_field:function(e,t){acf.do_action("sortstop_field/type="+e.data("type"),e,t)},_hide:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("hide_field",$(this),t)})},_hide_field:function(e,t){acf.do_action("hide_field/type="+e.data("type"),e,t)},_show:function(e,t){acf.get_fields("",e).each(function(){acf.do_action("show_field",$(this),t)})},_show_field:function(e,t){acf.do_action("show_field/type="+e.data("type"),e,t)}}),$(document).ready(function(){acf.do_action("ready",$("body"))}),$(window).on("load",function(){acf.do_action("load",$("body"))}),acf.layout=acf.model.extend({active:0,actions:{"prepare 99":"prepare",refresh:"refresh"},prepare:function(){this.active=1,this.refresh()},refresh:function(e){if(this.active){e=e||$("body");var t=this;this.render_tables(e),this.render_groups(e)}},render_tables:function(e){var t=this,i=e.find(".acf-table:visible");e.is("tr")&&(i=e.parent().parent()),i.each(function(){t.render_table($(this))})},render_table:function(e){var t=e.find("> thead th.acf-th"),i=1,a=100;if(t.exists()){var n=e.find("> tbody > tr"),s=n.find("> td.acf-field");n.hasClass("acf-clone")&&n.length>1&&(s=n.not(".acf-clone").find("> td.acf-field")),t.each(function(){var e=$(this),t=e.attr("data-key"),i=s.filter('[data-key="'+t+'"]');i.removeClass("appear-empty"),e.removeClass("hidden-by-conditional-logic"),i.exists()&&(0==i.not(".hidden-by-conditional-logic").length?e.addClass("hidden-by-conditional-logic"):i.filter(".hidden-by-conditional-logic").addClass("appear-empty"))}),t.css("width","auto"),t=t.not(".hidden-by-conditional-logic"),i=t.length,t.filter("[data-width]").each(function(){var e=parseInt($(this).attr("data-width"));a-=e,$(this).css("width",e+"%")}),t=t.not("[data-width]"),t.each(function(){var e=a/t.length;$(this).css("width",e+"%")}),e.find(".acf-row .acf-field.-collapsed-target").removeAttr("colspan"),e.find(".acf-row.-collapsed .acf-field.-collapsed-target").attr("colspan",i)}},render_groups:function(e){var t=this,i=e.find(".acf-fields:visible");e&&e.is(".acf-fields")&&(i=i.add(e)),i.each(function(){t.render_group($(this))})},render_group:function(e){var t=$(),i=0,a=0,n=-1,s=e.children(".acf-field[data-width]:visible");if(s.exists()){if(e.hasClass("-left"))return s.removeAttr("data-width"),void s.css("width","auto");s.removeClass("acf-r0 acf-c0").css({"min-height":0}),s.each(function(e){var s=$(this),o=s.position().top;0==e&&(i=o),o!=i&&(t.css({"min-height":a+1+"px"}),t=$(),i=s.position().top,a=0,n=-1),n++,a=s.outerHeight()>a?s.outerHeight():a,t=t.add(s),0==o?s.addClass("acf-r0"):0==n&&s.addClass("acf-c0")}),t.exists()&&t.css({"min-height":a+1+"px"})}}}),$(document).on("change",".acf-field input, .acf-field textarea, .acf-field select",function(){var e=$("#_acf_changed");e.length&&e.val(1),acf.do_action("change",$(this))}),$(document).on("click",'.acf-field a[href="#"]',function(e){e.preventDefault()}),acf.unload=acf.model.extend({locked:1,active:1,changed:0,filters:{validation_complete:"validation_complete"},actions:{ready:"ready",change:"on"},ready:function(){setTimeout(function(){acf.unload.locked=0},1e3)},events:{"submit form":"off"},validation_complete:function(e,t){return e&&e.errors&&this.on(),e},on:function(){this.changed||!this.active||this.locked||(this.changed=1,$(window).on("beforeunload",this.unload))},off:function(){this.changed=0,$(window).off("beforeunload",this.unload)},unload:function(){return acf._e("unload")}}),acf.tooltip=acf.model.extend({events:{"mouseenter .acf-js-tooltip":"_on","mouseup .acf-js-tooltip":"_off","mouseleave .acf-js-tooltip":"_off"},tooltip:function(e,t){var i=$('<div class="acf-tooltip">'+e+"</div>");$("body").append(i);var a=10;target_w=t.outerWidth(),target_h=t.outerHeight(),target_t=t.offset().top,target_l=t.offset().left,tooltip_w=i.outerWidth(),tooltip_h=i.outerHeight();var n=target_t-tooltip_h,s=target_l+target_w/2-tooltip_w/2;return s<a?(i.addClass("right"),s=target_l+target_w,n=target_t+target_h/2-tooltip_h/2):s+tooltip_w+a>$(window).width()?(i.addClass("left"),s=target_l-tooltip_w,n=target_t+target_h/2-tooltip_h/2):n-$(window).scrollTop()<a?(i.addClass("bottom"),n=target_t+target_h):i.addClass("top"),i.css({top:n,left:s}),i},temp:function(e,t){var t=this.tooltip(e,t),i=0;i+=250,setTimeout(function(){t.addClass("acf-fade-up")},i),i+=250,setTimeout(function(){t.remove()},i)},confirm:function(e,t,i,a,n){i=i||acf._e("are_you_sure"),a=a||'<a href="#" class="acf-confirm-y">'+acf._e("yes")+"</a>",n=n||'<a href="#" class="acf-confirm-n">'+acf._e("No")+"</a>";var s=this.tooltip(i+" "+a+" "+n,e);s.addClass("-confirm");var o=function(i,a){i.preventDefault(),i.stopImmediatePropagation(),e.off("click",r),s.off("click",".acf-confirm-y",r),s.off("click",".acf-confirm-n",l),$("body").off("click",l),s.remove(),t.apply(null,[a])},r=function(e){o(e,!0)},l=function(e){o(e,!1)};s.on("click",".acf-confirm-y",r),s.on("click",".acf-confirm-n",l),e.on("click",r),$("body").on("click",l)},confirm_remove:function(e,t){text=!1,button_y='<a href="#" class="acf-confirm-y -red">'+acf._e("remove")+"</a>",button_n='<a href="#" class="acf-confirm-n">'+acf._e("cancel")+"</a>",this.confirm(e,t,!1,button_y,button_n)},_on:function(e){var t=e.$el.attr("title");if(t){var i=this.tooltip(t,e.$el);e.$el.data("acf-tooltip",{title:t,$el:i}),e.$el.attr("title","")}},_off:function(e){var t=e.$el.data("acf-tooltip");t&&(t.$el.remove(),e.$el.attr("title",t.title))}}),acf.postbox=acf.model.extend({events:{"mouseenter .acf-postbox .handlediv":"on","mouseleave .acf-postbox .handlediv":"off"},on:function(e){e.$el.siblings(".hndle").addClass("hover")},off:function(e){e.$el.siblings(".hndle").removeClass("hover")},render:function(e){e=$.extend({},{id:"",key:"",style:"default",label:"top",edit_url:"",edit_title:"",visibility:!0},e);var t=$("#"+e.id),i=$("#"+e.id+"-hide"),a=i.parent();t.addClass("acf-postbox"),a.addClass("acf-postbox-toggle"),t.removeClass("hide-if-js"),a.removeClass("hide-if-js"),"default"!==e.style&&t.addClass(e.style),t.children(".inside").addClass("acf-fields").addClass("-"+e.label),e.visibility?i.prop("checked",!0):(t.addClass("acf-hidden"),a.addClass("acf-hidden")),e.edit_url&&t.children(".hndle").append('<a href="'+e.edit_url+'" class="dashicons dashicons-admin-generic acf-hndle-cog acf-js-tooltip" title="'+e.edit_title+'"></a>')}});var e=acf.model.extend({events:{"click .acf-panel-title":"_click"},_click:function(e){e.preventDefault(),this.toggle(e.$el.parent())},is_open:function(e){return e.hasClass("-open")},toggle:function(e){this.is_open(e)?this.close(e):this.open(e)},open:function(e){e.addClass("-open"),e.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-down")},close:function(e){e.removeClass("-open"),e.find(".acf-panel-title i").attr("class","dashicons dashicons-arrow-right")}});acf.notice=acf.model.extend({actions:{prepare:"prepare"},prepare:function(){var e=$(".acf-notice");e.length&&$("h1:first").after(e)},html:function(e,t){},success:function(e){},error:function(e){},warning:function(e){},information:function(e){}}),acf.add_action("sortstart",function(e,t){e.is("tr")&&(e.css("position","relative"),e.children().each(function(){$(this).width($(this).width())}),e.css("position","absolute"),t.html('<td style="height:'+e.height()+'px; padding:0;" colspan="'+e.children("td").length+'"></td>'))}),acf.add_action("before_duplicate",function(e){e.find("select option:selected").addClass("selected")}),acf.add_action("after_duplicate",function(e,t){t.find("select").each(function(){var e=$(this),t=[];e.find("option.selected").each(function(){t.push($(this).val())}),e.val(t)}),e.find("select option.selected").removeClass("selected"),t.find("select option.selected").removeClass("selected")}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){return $.inArray(e,this)})}(jQuery),function($){acf.ajax=acf.model.extend({active:!1,actions:{ready:"ready"},events:{"change #page_template":"_change_template","change #parent_id":"_change_parent","change #post-formats-select input":"_change_format","change .categorychecklist input":"_change_term","change .categorychecklist select":"_change_term",'change .acf-taxonomy-field[data-save="1"] input':"_change_term",'change .acf-taxonomy-field[data-save="1"] select':"_change_term"},o:{},xhr:null,update:function(e,t){return this.o[e]=t,this},get:function(e){return this.o[e]||null},ready:function(){this.update("post_id",acf.get("post_id")),this.active=!0},fetch:function(){if(this.active&&acf.get("ajax")){this.xhr&&this.xhr.abort();var e=this,t=this.o;t.action="acf/post/get_field_groups",t.exists=[],$(".acf-postbox").not(".acf-hidden").each(function(){t.exists.push($(this).attr("id").substr(4))}),this.xhr=$.ajax({url:acf.get("ajaxurl"),data:acf.prepare_for_ajax(t),type:"post",dataType:"json",success:function(t){acf.is_ajax_success(t)&&e.render(t.data)}})}},render:function(e){$(".acf-postbox").addClass("acf-hidden"),$(".acf-postbox-toggle").addClass("acf-hidden"),$("#acf-style").html(""),$.each(e,function(e,t){var i=$("#acf-"+t.key),a=$("#acf-"+t.key+"-hide"),n=a.parent();i.removeClass("acf-hidden hide-if-js").show(),n.removeClass("acf-hidden hide-if-js").show(),a.prop("checked",!0);var s=i.find(".acf-replace-with-fields");s.exists()&&(s.replaceWith(t.html),acf.do_action("append",i)),0===e&&$("#acf-style").html(t.style),i.find(".acf-hidden-by-postbox").prop("disabled",!1)}),$(".acf-postbox.acf-hidden").find("select, textarea, input").not(":disabled").each(function(){$(this).addClass("acf-hidden-by-postbox").prop("disabled",!0)})},sync_taxonomy_terms:function(){var e=[""];$(".categorychecklist, .acf-taxonomy-field").each(function(){var t=$(this),i=t.find('input[type="checkbox"]').not(":disabled"),a=t.find('input[type="radio"]').not(":disabled"),n=t.find("select").not(":disabled"),s=t.find('input[type="hidden"]').not(":disabled");t.is(".acf-taxonomy-field")&&"1"!=t.attr("data-save")||t.closest(".media-frame").exists()||(i.exists()?i.filter(":checked").each(function(){e.push($(this).val())}):a.exists()?a.filter(":checked").each(function(){e.push($(this).val())}):n.exists()?n.find("option:selected").each(function(){e.push($(this).val())}):s.exists()&&s.each(function(){$(this).val()&&e.push($(this).val())}))}),e=e.filter(function(e,t,i){return i.indexOf(e)==t}),this.update("post_taxonomy",e).fetch()},_change_template:function(e){var t=e.$el.val();this.update("page_template",t).fetch()},_change_parent:function(e){var t="parent",i=0;""!=e.$el.val()&&(t="child",i=e.$el.val()),this.update("page_type",t).update("page_parent",i).fetch()},_change_format:function(e){var t=e.$el.val();"0"==t&&(t="standard"),this.update("post_format",t).fetch()},_change_term:function(e){var t=this;e.$el.closest(".media-frame").exists()||setTimeout(function(){t.sync_taxonomy_terms()},1)}})}(jQuery),function($){acf.fields.button_group=acf.field.extend({type:"button_group",$div:null,events:{'click input[type="radio"]':"click"},focus:function(){this.$div=this.$field.find(".acf-button-group"),this.o=acf.get_data(this.$div,{allow_null:0})},click:function(e){var t=e.$el,i=t.parent("label"),a=i.hasClass("selected");this.$div.find(".selected").removeClass("selected"),i.addClass("selected"),this.o.allow_null&&a&&(e.$el.prop("checked",!1),i.removeClass("selected"),e.$el.trigger("change"))}})}(jQuery),function($){acf.fields.checkbox=acf.field.extend({type:"checkbox",events:{"change input":"_change","click .acf-add-checkbox":"_add"},focus:function(){this.$ul=this.$field.find("ul"),this.$input=this.$field.find('input[type="hidden"]')},add:function(){var e=this.$input.attr("name")+"[]",t='<li><input class="acf-checkbox-custom" type="checkbox" checked="checked" /><input type="text" name="'+e+'" /></li>';this.$ul.find(".acf-add-checkbox").parent("li").before(t)},_change:function(e){var t=this.$ul,i=t.find('input[type="checkbox"]').not(".acf-checkbox-toggle"),a=e.$el.is(":checked");if(e.$el.hasClass("acf-checkbox-toggle"))return void i.prop("checked",a).trigger("change");if(e.$el.hasClass("acf-checkbox-custom")){var n=e.$el.next('input[type="text"]');e.$el.next('input[type="text"]').prop("disabled",!a),a||""!=n.val()||e.$el.parent("li").remove()}if(t.find(".acf-checkbox-toggle").exists()){var a=0==i.not(":checked").length;t.find(".acf-checkbox-toggle").prop("checked",a)}},_add:function(e){this.add()}})}(jQuery),function($){acf.fields.color_picker=acf.field.extend({type:"color_picker",$input:null,$hidden:null,actions:{ready:"initialize",append:"initialize"},focus:function(){this.$input=this.$field.find('input[type="text"]'),this.$hidden=this.$field.find('input[type="hidden"]')},initialize:function(){var e=this.$input,t=this.$hidden,i=function(){setTimeout(function(){acf.val(t,e.val())},1)},a={defaultColor:!1,palettes:!0,hide:!0,change:i,clear:i},a=acf.apply_filters("color_picker_args",a,this.$field);this.$input.wpColorPicker(a)}})}(jQuery),function($){acf.conditional_logic=acf.model.extend({actions:{"prepare 20":"render","append 20":"render"},events:{"change .acf-field input":"change","change .acf-field textarea":"change","change .acf-field select":"change"},items:{},triggers:{},add:function(e,t){for(var i in t){var a=t[i];for(var n in a){var s=a[n],o=s.field,r=this.triggers[o]||{};r[e]=e,this.triggers[o]=r}}this.items[e]=t},render:function(e){e=e||!1;var t=acf.get_fields("",e,!0);this.render_fields(t),acf.do_action("refresh",e)},change:function(e){var t=e.$el,i=acf.get_field_wrap(t),a=i.data("key");if("undefined"==typeof this.triggers[a])return!1;$parent=i.parent();for(var n in this.triggers[a]){var s=this.triggers[a][n],o=acf.get_fields(s,$parent,!0);this.render_fields(o)}acf.do_action("refresh",$parent)},render_fields:function(e){var t=this;e.each(function(){t.render_field($(this))})},render_field:function(e){var t=e.data("key");if("undefined"==typeof this.items[t])return!1;for(var i=!1,a=this.items[t],n=0;n<a.length;n++){for(var s=a[n],o=!0,r=0;r<s.length;r++){var l=s[r],c=this.get_trigger(e,l.field);if(!this.calculate(l,c,e)){o=!1;break}}if(o){i=!0;break}}i?this.show_field(e):this.hide_field(e)},show_field:function(e){var t=e.data("key");e.removeClass("hidden-by-conditional-logic"),acf.enable_form(e,"condition_"+t),acf.do_action("show_field",e,"conditional_logic")},hide_field:function(e){var t=e.data("key");e.addClass("hidden-by-conditional-logic"),acf.disable_form(e,"condition_"+t),acf.do_action("hide_field",e,"conditional_logic")},get_trigger:function(e,t){var i=acf.get_selector(t),a=e.siblings(i);if(!a.exists()){var n=acf.get_selector();e.parents(n).each(function(){if(a=$(this).siblings(i),a.exists())return!1})}return!!a.exists()&&a},calculate:function(e,t,i){if(!t||!i)return!1;var a=!1,n=t.data("type");return"true_false"==n||"checkbox"==n||"radio"==n||"button_group"==n?a=this.calculate_checkbox(e,t):"select"==n&&(a=this.calculate_select(e,t)),"!="===e.operator&&(a=!a),a},calculate_checkbox:function(e,t){var i=t.find('input[value="'+e.value+'"]:checked').exists();return""!==e.value||t.find("input:checked").exists()||(i=!0),i},calculate_select:function(e,t){var i=t.find("select"),a=i.val();return a||$.isNumeric(a)||(a=""),$.isArray(a)||(a=[a]),match=$.inArray(e.value,a)>-1,match}})}(jQuery),function($){acf.datepicker=acf.model.extend({actions:{"ready 1":"ready"},ready:function(){var e=acf.get("locale"),t=acf.get("rtl");l10n=acf._e("date_picker"),l10n&&"undefined"!=typeof $.datepicker&&(l10n.isRTL=t,$.datepicker.regional[e]=l10n,$.datepicker.setDefaults(l10n))},init:function(e,t){"undefined"!=typeof $.datepicker&&(t=t||{},e.datepicker(t),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />'))},destroy:function(e){}}),acf.fields.date_picker=acf.field.extend({type:"date_picker",$el:null,$input:null,$hidden:null,o:{},actions:{ready:"initialize",append:"initialize"},events:{'blur input[type="text"]':"blur"},focus:function(){this.$el=this.$field.find(".acf-date-picker"),this.$input=this.$el.find('input[type="text"]'),this.$hidden=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){if(this.o.save_format)return this.initialize2();var e={dateFormat:this.o.date_format,altField:this.$hidden,altFormat:"yymmdd",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,
|
2 |
+
firstDay:this.o.first_day};e=acf.apply_filters("date_picker_args",e,this.$field),acf.datepicker.init(this.$input,e),acf.do_action("date_picker_init",this.$input,e,this.$field)},initialize2:function(){this.$input.val(this.$hidden.val());var e={dateFormat:this.o.date_format,altField:this.$hidden,altFormat:this.o.save_format,changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day};e=acf.apply_filters("date_picker_args",e,this.$field);var t=e.dateFormat;e.dateFormat=this.o.save_format,acf.datepicker.init(this.$input,e),this.$input.datepicker("option","dateFormat",t),acf.do_action("date_picker_init",this.$input,e,this.$field)},blur:function(){this.$input.val()||this.$hidden.val("")}})}(jQuery),function($){acf.datetimepicker=acf.model.extend({actions:{"ready 1":"ready"},ready:function(){var e=acf.get("locale"),t=acf.get("rtl");l10n=acf._e("date_time_picker"),l10n&&"undefined"!=typeof $.timepicker&&(l10n.isRTL=t,$.timepicker.regional[e]=l10n,$.timepicker.setDefaults(l10n))},init:function(e,t){"undefined"!=typeof $.timepicker&&(t=t||{},e.datetimepicker(t),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />'))},destroy:function(e){}}),acf.fields.date_time_picker=acf.field.extend({type:"date_time_picker",$el:null,$input:null,$hidden:null,o:{},actions:{ready:"initialize",append:"initialize"},events:{'blur input[type="text"]':"blur"},focus:function(){this.$el=this.$field.find(".acf-date-time-picker"),this.$input=this.$el.find('input[type="text"]'),this.$hidden=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){var e={dateFormat:this.o.date_format,timeFormat:this.o.time_format,altField:this.$hidden,altFieldTimeOnly:!1,altFormat:"yy-mm-dd",altTimeFormat:"HH:mm:ss",changeYear:!0,yearRange:"-100:+100",changeMonth:!0,showButtonPanel:!0,firstDay:this.o.first_day,controlType:"select",oneLine:!0};e=acf.apply_filters("date_time_picker_args",e,this.$field),acf.datetimepicker.init(this.$input,e),acf.do_action("date_time_picker_init",this.$input,e,this.$field)},blur:function(){this.$input.val()||this.$hidden.val("")}})}(jQuery),function($){acf.fields.file=acf.field.extend({type:"file",$el:null,$input:null,actions:{ready:"initialize",append:"initialize"},events:{'click a[data-name="add"]':"add",'click a[data-name="edit"]':"edit",'click a[data-name="remove"]':"remove",'change input[type="file"]':"change"},focus:function(){this.$el=this.$field.find(".acf-file-uploader"),this.$input=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){"basic"==this.o.uploader&&this.$el.closest("form").attr("enctype","multipart/form-data")},prepare:function(e){if(e=e||{},e._valid)return e;var t={url:"",alt:"",title:"",filename:"",filesizeHumanReadable:"",icon:"/wp-includes/images/media/default.png"};return e.id&&(t=e.attributes),t._valid=!0,t},render:function(e){e=this.prepare(e),this.$el.find("img").attr({src:e.icon,alt:e.alt,title:e.title}),this.$el.find('[data-name="title"]').text(e.title),this.$el.find('[data-name="filename"]').text(e.filename).attr("href",e.url),this.$el.find('[data-name="filesize"]').text(e.filesizeHumanReadable);var t="";e.id&&(t=e.id),acf.val(this.$input,t),t?this.$el.addClass("has-value"):this.$el.removeClass("has-value")},add:function(){var e=this,t=this.$field,i=acf.get_closest_field(t,"repeater"),a=acf.media.popup({title:acf._e("file","select"),mode:"select",type:"",field:t.data("key"),multiple:i.exists(),library:this.o.library,mime_types:this.o.mime_types,select:function(a,n){if(n>0){var s=t.data("key"),o=t.closest(".acf-row");if(t=!1,o.nextAll(".acf-row:visible").each(function(){if(t=acf.get_field(s,$(this)))return!!t.find(".acf-file-uploader.has-value").exists()&&void(t=!1)}),!t){if(o=acf.fields.repeater.doFocus(i).add(),!o)return!1;t=acf.get_field(s,o)}}e.set("$field",t).render(a)}})},edit:function(){var e=this,t=this.$field,i=this.$input.val();if(i)var a=acf.media.popup({title:acf._e("file","edit"),button:acf._e("file","update"),mode:"edit",attachment:i,select:function(i,a){e.set("$field",t).render(i)}})},remove:function(){var e={};this.render(e)},get_file_info:function(e,t){var i=e.val(),a={};if(!i)return void t.val("");a.url=i;var n=e[0].files;if(n.length){var s=n[0];if(a.size=s.size,a.type=s.type,s.type.indexOf("image")>-1){var o=window.URL||window.webkitURL,r=new Image;r.onload=function(){a.width=this.width,a.height=this.height,t.val(jQuery.param(a))},r.src=o.createObjectURL(s)}}t.val(jQuery.param(a))},change:function(e){this.get_file_info(e.$el,this.$input)}})}(jQuery),function($){acf.fields.google_map=acf.field.extend({type:"google_map",url:"",$el:null,$search:null,timeout:null,status:"",geocoder:!1,map:!1,maps:{},$pending:$(),actions:{ready:"initialize",append:"initialize",show:"show"},events:{'click a[data-name="clear"]':"_clear",'click a[data-name="locate"]':"_locate",'click a[data-name="search"]':"_search","keydown .search":"_keydown","keyup .search":"_keyup","focus .search":"_focus","blur .search":"_blur","mousedown .acf-google-map":"_mousedown"},focus:function(){this.$el=this.$field.find(".acf-google-map"),this.$search=this.$el.find(".search"),this.o=acf.get_data(this.$el),this.o.id=this.$el.attr("id"),this.maps[this.o.id]&&(this.map=this.maps[this.o.id])},is_ready:function(){var e=this;return"ready"==this.status||"loading"!=this.status&&(acf.isset(window,"google","maps","places")?(this.status="ready",!0):(acf.isset(window,"google","maps")&&(this.status="ready"),this.url&&(this.status="loading",acf.enqueue_script(this.url,function(){e.status="ready",e.initialize_pending()})),"ready"==this.status))},initialize_pending:function(){var e=this;this.$pending.each(function(){e.set("$field",$(this)).initialize()}),this.$pending=$()},initialize:function(){if(!this.is_ready())return this.$pending=this.$pending.add(this.$field),!1;this.geocoder||(this.geocoder=new google.maps.Geocoder);var e=this,t=this.$field,i=this.$el,a=this.$search;a.val(this.$el.find(".input-address").val());var n=acf.apply_filters("google_map_args",{scrollwheel:!1,zoom:parseInt(this.o.zoom),center:new google.maps.LatLng(this.o.lat,this.o.lng),mapTypeId:google.maps.MapTypeId.ROADMAP},this.$field);if(this.map=new google.maps.Map(this.$el.find(".canvas")[0],n),acf.isset(window,"google","maps","places","Autocomplete")){var s=new google.maps.places.Autocomplete(this.$search[0]);s.bindTo("bounds",this.map),google.maps.event.addListener(s,"place_changed",function(t){var i=this.getPlace();e.search(i)}),this.map.autocomplete=s}var o=acf.apply_filters("google_map_marker_args",{draggable:!0,raiseOnDrag:!0,map:this.map},this.$field);this.map.marker=new google.maps.Marker(o),this.map.$el=i,this.map.$field=t;var r=i.find(".input-lat").val(),l=i.find(".input-lng").val();r&&l&&this.update(r,l).center(),google.maps.event.addListener(this.map.marker,"dragend",function(){var t=this.map.marker.getPosition(),i=t.lat(),a=t.lng();e.update(i,a).sync()}),google.maps.event.addListener(this.map,"click",function(t){var i=t.latLng.lat(),a=t.latLng.lng();e.update(i,a).sync()}),acf.do_action("google_map_init",this.map,this.map.marker,this.$field),this.maps[this.o.id]=this.map},search:function(e){var t=this,i=this.$search.val();if(!i)return!1;this.$el.find(".input-address").val(i);var a=i.split(",");if(2==a.length){var n=a[0],s=a[1];if($.isNumeric(n)&&$.isNumeric(s))return n=parseFloat(n),s=parseFloat(s),void t.update(n,s).center()}if(e&&e.geometry){var n=e.geometry.location.lat(),s=e.geometry.location.lng();return void t.update(n,s).center()}this.$el.addClass("-loading"),t.geocoder.geocode({address:i},function(i,a){if(t.$el.removeClass("-loading"),a!=google.maps.GeocoderStatus.OK)return void console.log("Geocoder failed due to: "+a);if(!i[0])return void console.log("No results found");e=i[0];var n=e.geometry.location.lat(),s=e.geometry.location.lng();t.update(n,s).center()})},update:function(e,t){var i=new google.maps.LatLng(e,t);return acf.val(this.$el.find(".input-lat"),e),acf.val(this.$el.find(".input-lng"),t),this.map.marker.setPosition(i),this.map.marker.setVisible(!0),this.$el.addClass("-value"),this.$field.removeClass("error"),acf.do_action("google_map_change",i,this.map,this.$field),this.$search.blur(),this},center:function(){var e=this.map.marker.getPosition(),t=this.o.lat,i=this.o.lng;e&&(t=e.lat(),i=e.lng());var a=new google.maps.LatLng(t,i);this.map.setCenter(a)},sync:function(){var e=this,t=this.map.marker.getPosition(),i=new google.maps.LatLng(t.lat(),t.lng());return this.$el.addClass("-loading"),this.geocoder.geocode({latLng:i},function(t,i){if(e.$el.removeClass("-loading"),i!=google.maps.GeocoderStatus.OK)return void console.log("Geocoder failed due to: "+i);if(!t[0])return void console.log("No results found");var a=t[0];e.$search.val(a.formatted_address),acf.val(e.$el.find(".input-address"),a.formatted_address)}),this},refresh:function(){return!!this.is_ready()&&(google.maps.event.trigger(this.map,"resize"),void this.center())},show:function(){var e=this,t=this.$field;setTimeout(function(){e.set("$field",t).refresh()},10)},_clear:function(e){this.$el.removeClass("-value -loading -search"),this.$search.val(""),acf.val(this.$el.find(".input-address"),""),acf.val(this.$el.find(".input-lat"),""),acf.val(this.$el.find(".input-lng"),""),this.map.marker.setVisible(!1)},_locate:function(e){var t=this;return navigator.geolocation?(this.$el.addClass("-loading"),void navigator.geolocation.getCurrentPosition(function(e){t.$el.removeClass("-loading");var i=e.coords.latitude,a=e.coords.longitude;t.update(i,a).sync().center()})):(alert(acf._e("google_map","browser_support")),this)},_search:function(e){this.search()},_focus:function(e){this.$el.removeClass("-value"),this._keyup()},_blur:function(e){var t=this,i=this.$el.find(".input-address").val();i&&(this.timeout=setTimeout(function(){t.$el.addClass("-value"),t.$search.val(i)},100))},_keydown:function(e){13==e.which&&e.preventDefault()},_keyup:function(e){var t=this.$search.val();t?this.$el.addClass("-search"):this.$el.removeClass("-search")},_mousedown:function(e){var t=this;setTimeout(function(){clearTimeout(t.timeout)},1)}})}(jQuery),function($){acf.fields.image=acf.field.extend({type:"image",$el:null,$input:null,$img:null,actions:{ready:"initialize",append:"initialize"},events:{'click a[data-name="add"]':"add",'click a[data-name="edit"]':"edit",'click a[data-name="remove"]':"remove",'change input[type="file"]':"change"},focus:function(){this.$el=this.$field.find(".acf-image-uploader"),this.$input=this.$el.find('input[type="hidden"]'),this.$img=this.$el.find("img"),this.o=acf.get_data(this.$el)},initialize:function(){"basic"==this.o.uploader&&this.$el.closest("form").attr("enctype","multipart/form-data")},prepare:function(e){if(e=e||{},e._valid)return e;var t={url:"",alt:"",title:"",caption:"",description:"",width:0,height:0};return e.id&&(t=e.attributes,t.url=acf.maybe_get(t,"sizes."+this.o.preview_size+".url",t.url)),t._valid=!0,t},render:function(e){e=this.prepare(e),this.$img.attr({src:e.url,alt:e.alt,title:e.title});var t="";e.id&&(t=e.id),acf.val(this.$input,t),t?this.$el.addClass("has-value"):this.$el.removeClass("has-value")},add:function(){var e=this,t=this.$field,i=acf.get_closest_field(this.$field,"repeater"),a=acf.media.popup({title:acf._e("image","select"),mode:"select",type:"image",field:t.data("key"),multiple:i.exists(),library:this.o.library,mime_types:this.o.mime_types,select:function(a,n){if(n>0){var s=t.data("key"),o=t.closest(".acf-row");if(t=!1,o.nextAll(".acf-row:visible").each(function(){if(t=acf.get_field(s,$(this)))return!!t.find(".acf-image-uploader.has-value").exists()&&void(t=!1)}),!t){if(o=acf.fields.repeater.doFocus(i).add(),!o)return!1;t=acf.get_field(s,o)}}e.set("$field",t).render(a)}})},edit:function(){var e=this,t=this.$field,i=this.$input.val();if(i)var a=acf.media.popup({title:acf._e("image","edit"),button:acf._e("image","update"),mode:"edit",attachment:i,select:function(i,a){e.set("$field",t).render(i)}})},remove:function(){var e={};this.render(e)},change:function(e){acf.fields.file.get_file_info(e.$el,this.$input)}})}(jQuery),function($){acf.fields.link=acf.field.extend({type:"link",active:!1,$el:null,$node:null,events:{'click a[data-name="add"]':"add",'click a[data-name="edit"]':"edit",'click a[data-name="remove"]':"remove","change .link-node":"change"},focus:function(){this.$el=this.$field.find(".acf-link"),this.$node=this.$el.find(".link-node")},add:function(e){acf.link.open(this.$node)},edit:function(e){this.add()},remove:function(e){this.val("")},change:function(e,t){var i={title:this.$node.html(),url:this.$node.attr("href"),target:this.$node.attr("target")};this.val(i)},val:function(e){e=acf.parse_args(e,{title:"",url:"",target:""}),this.$el.removeClass("-value -external"),e.url&&this.$el.addClass("-value"),"_blank"===e.target&&this.$el.addClass("-external"),this.$el.find(".link-title").html(e.title),this.$el.find(".link-url").attr("href",e.url).html(e.url),this.$el.find(".input-title").val(e.title),this.$el.find(".input-target").val(e.target),this.$el.find(".input-url").val(e.url).trigger("change"),this.$node.html(e.title),this.$node.attr("href",e.url),this.$node.attr("target",e.target)}}),acf.link=acf.model.extend({active:!1,$textarea:null,$node:null,events:{"click #wp-link-submit":"_update","wplink-open":"_open","wplink-close":"_close"},atts:function(e){return"undefined"!=typeof e?(this.$node.html(e.title),this.$node.attr("href",e.url),this.$node.attr("target",e.target),this.$node.trigger("change",[e]),!0):{title:this.$node.html(),url:this.$node.attr("href"),target:this.$node.attr("target")}},inputs:function(e){return"undefined"!=typeof e?($("#wp-link-text").val(e.title),$("#wp-link-url").val(e.url),$("#wp-link-target").prop("checked","_blank"===e.target),!0):{title:$("#wp-link-text").val(),url:$("#wp-link-url").val(),target:$("#wp-link-target").prop("checked")?"_blank":""}},open:function(e){var t=$('<textarea id="acf-link-textarea"></textarea>');e.before(t),this.active=!0,this.$node=e,this.$textarea=t;var i=this.atts();wpLink.open("acf-link-textarea",i.url,i.title,null),$("#wp-link-wrap").addClass("has-text-field")},reset:function(){this.active=!1,this.$textarea.remove(),this.$textarea=null,this.$node=null},_select:function(e,t){var i=this.inputs();i.title||(i.title=t.find(".item-title").text(),this.inputs(i),console.log(i))},_open:function(e){if(this.active){var t=this.atts();this.inputs(t)}},_close:function(e){this.active&&setTimeout(function(){acf.link.reset()},100)},_update:function(e){if(this.active){var t=this.inputs();this.atts(t)}}})}(jQuery),function($){acf.media=acf.model.extend({frames:[],mime_types:{},actions:{ready:"ready"},frame:function(){var e=this.frames.length-1;return!(e<0)&&this.frames[e]},destroy:function(e){e.detach(),e.dispose(),e=null,this.frames.pop()},popup:function(e){var t=acf.get("post_id"),i=!1;$.isNumeric(t)||(t=0);var a=acf.parse_args(e,{mode:"select",title:"",button:"",type:"",field:"",mime_types:"",library:"all",multiple:!1,attachment:0,post_id:t,select:function(){}});a.id&&(a.attachment=a.id);var i=this.new_media_frame(a);return this.frames.push(i),setTimeout(function(){i.open()},1),i},_get_media_frame_settings:function(e,t){return"select"===t.mode?e=this._get_select_frame_settings(e,t):"edit"===t.mode&&(e=this._get_edit_frame_settings(e,t)),e},_get_select_frame_settings:function(e,t){return t.type&&(e.library.type=t.type),"uploadedTo"===t.library&&(e.library.uploadedTo=t.post_id),e._button=acf._e("media","select"),e},_get_edit_frame_settings:function(e,t){return e.library.post__in=[t.attachment],e._button=acf._e("media","update"),e},_add_media_frame_events:function(e,t){return e.on("open",function(){this.$el.closest(".media-modal").addClass("acf-media-modal -"+t.mode)},e),e.on("content:render:edit-image",function(){var e=this.state().get("image"),t=new wp.media.view.EditImage({model:e,controller:this}).render();this.content.set(t),t.loadEditor()},e),e.on("toolbar:create:select",function(t){t.view=new wp.media.view.Toolbar.Select({text:e.options._button,controller:this})},e),e.on("select",function(){var i=e.state(),a=i.get("image"),n=i.get("selection");if(a)return void t.select.apply(e,[a,0]);if(n){var s=0;return void n.each(function(i){t.select.apply(e,[i,s]),s++})}}),e.on("close",function(){setTimeout(function(){acf.media.destroy(e)},500)}),"select"===t.mode?e=this._add_select_frame_events(e,t):"edit"===t.mode&&(e=this._add_edit_frame_events(e,t)),e},_add_select_frame_events:function(e,t){var i=this;return acf.isset(_wpPluploadSettings,"defaults","multipart_params")&&(_wpPluploadSettings.defaults.multipart_params._acfuploader=t.field,e.on("open",function(){delete _wpPluploadSettings.defaults.multipart_params._acfuploader})),e.on("content:activate:browse",function(){try{var a=e.content.get().toolbar,n=a.get("filters"),s=a.get("search")}catch(e){return}if("image"==t.type&&(n.filters.all.text=acf._e("image","all"),delete n.filters.audio,delete n.filters.video,$.each(n.filters,function(e,t){null===t.props.type&&(t.props.type="image")})),t.mime_types){var o=t.mime_types.split(" ").join("").split(".").join("").split(",");$.each(o,function(e,t){$.each(i.mime_types,function(e,i){if(e.indexOf(t)!==-1){var a={text:t,props:{status:null,type:i,uploadedTo:null,orderby:"date",order:"DESC"},priority:20};n.filters[i]=a}})})}"uploadedTo"==t.library&&(delete n.filters.unattached,delete n.filters.uploaded,n.$el.parent().append('<span class="acf-uploadedTo">'+acf._e("image","uploadedTo")+"</span>"),$.each(n.filters,function(e,i){i.props.uploadedTo=t.post_id})),$.each(n.filters,function(e,i){i.props._acfuploader=t.field}),s.model.attributes._acfuploader=t.field,"function"==typeof n.refresh&&n.refresh()}),e},_add_edit_frame_events:function(e,t){return e.on("open",function(){this.$el.closest(".media-modal").addClass("acf-expanded"),"browse"!=this.content.mode()&&this.content.mode("browse");var e=this.state(),i=e.get("selection"),a=wp.media.attachment(t.attachment);i.add(a)},e),e},new_media_frame:function(e){var t={title:e.title,multiple:e.multiple,library:{},states:[]};t=this._get_media_frame_settings(t,e);var i=wp.media.query(t.library);acf.isset(i,"mirroring","args")&&(i.mirroring.args._acfuploader=e.field),t.states=[new wp.media.controller.Library({library:i,multiple:t.multiple,title:t.title,priority:20,filterable:"all",editable:!0,allowLocalEdits:!0})],acf.isset(wp,"media","controller","EditImage")&&t.states.push(new wp.media.controller.EditImage);var a=wp.media(t);return a.acf=e,a=this._add_media_frame_events(a,e)},ready:function(){var e=acf.get("wp_version"),t=acf.get("browser"),i=acf.get("post_id");acf.isset(window,"wp","media","view","settings","post")&&$.isNumeric(i)&&(wp.media.view.settings.post.id=i),t&&$("body").addClass("browser-"+t),e&&(e+="",major=e.substr(0,1),$("body").addClass("major-"+major)),acf.isset(window,"wp","media","view")&&(this.customize_Attachment(),this.customize_AttachmentFiltersAll(),this.customize_AttachmentCompat())},customize_Attachment:function(){var e=wp.media.view.Attachment.Library;wp.media.view.Attachment.Library=e.extend({render:function(){var t=acf.media.frame(),i=acf.maybe_get(this,"model.attributes.acf_errors");return t&&i&&this.$el.addClass("acf-disabled"),e.prototype.render.apply(this,arguments)},toggleSelection:function(t){var i=this.collection,a=this.options.selection,n=this.model,s=a.single(),o=acf.media.frame(),r=acf.maybe_get(this,"model.attributes.acf_errors"),l=this.controller.$el.find(".media-frame-content .media-sidebar");if(l.children(".acf-selection-error").remove(),l.children().removeClass("acf-hidden"),o&&r){var c=acf.maybe_get(this,"model.attributes.filename","");return l.children().addClass("acf-hidden"),l.prepend(['<div class="acf-selection-error">','<span class="selection-error-label">'+acf._e("restricted")+"</span>",'<span class="selection-error-filename">'+c+"</span>",'<span class="selection-error-message">'+r+"</span>","</div>"].join("")),a.reset(),void a.single(n)}e.prototype.toggleSelection.apply(this,arguments)}})},customize_AttachmentFiltersAll:function(){wp.media.view.AttachmentFilters.All.prototype.refresh=function(){this.$el.html(_.chain(this.filters).map(function(e,t){return{el:$("<option></option>").val(t).html(e.text)[0],priority:e.priority||50}},this).sortBy("priority").pluck("el").value())}},customize_AttachmentCompat:function(){var e=wp.media.view.AttachmentCompat;wp.media.view.AttachmentCompat=e.extend({add_acf_expand_button:function(){var e=this.$el.closest(".media-modal");if(!e.find(".media-frame-router .acf-expand-details").exists()){var t=$(['<a href="#" class="acf-expand-details">','<span class="is-closed"><span class="acf-icon -left small grey"></span>'+acf._e("expand_details")+"</span>",'<span class="is-open"><span class="acf-icon -right small grey"></span>'+acf._e("collapse_details")+"</span>","</a>"].join(""));t.on("click",function(t){t.preventDefault(),e.hasClass("acf-expanded")?e.removeClass("acf-expanded"):e.addClass("acf-expanded")}),e.find(".media-frame-router").append(t)}},render:function(){if(this.ignore_render)return this;var t=this;return setTimeout(function(){t.add_acf_expand_button()},0),clearTimeout(acf.media.render_timout),acf.media.render_timout=setTimeout(function(){acf.do_action("append",t.$el)},50),e.prototype.render.apply(this,arguments)},dispose:function(){return acf.do_action("remove",this.$el),e.prototype.dispose.apply(this,arguments)},save:function(e){e&&e.preventDefault();var t=acf.serialize(this.$el);this.ignore_render=!0,this.model.saveCompat(t)}})}})}(jQuery),function($){acf.fields.oembed=acf.field.extend({type:"oembed",$el:null,events:{'click [data-name="search-button"]':"_search",'click [data-name="clear-button"]':"_clear",'click [data-name="value-title"]':"_edit",'keypress [data-name="search-input"]':"_keypress",'keyup [data-name="search-input"]':"_keyup",'blur [data-name="search-input"]':"_blur"},focus:function(){this.$el=this.$field.find(".acf-oembed"),this.$search=this.$el.find('[data-name="search-input"]'),this.$input=this.$el.find('[data-name="value-input"]'),this.$title=this.$el.find('[data-name="value-title"]'),this.$embed=this.$el.find('[data-name="value-embed"]'),this.o=acf.get_data(this.$el)},maybe_search:function(){var e=this.$input.val(),t=this.$search.val();return t?void(t!=e&&this.search()):void this.clear()},search:function(){var e=this.$search.val();"http"!=e.substr(0,4)&&(e="http://"+e,this.$search.val(e)),this.$el.addClass("is-loading");var t=acf.prepare_for_ajax({action:"acf/fields/oembed/search",s:e,field_key:this.$field.data("key")});this.$el.data("xhr")&&this.$el.data("xhr").abort();var i=$.ajax({url:acf.get("ajaxurl"),data:t,type:"post",dataType:"json",context:this,success:this.search_success});this.$el.data("xhr",i)},search_success:function(e){var t=this.$search.val();return this.$el.removeClass("is-loading"),e&&e.html?(this.$el.removeClass("has-error").addClass("has-value"),this.$input.val(t),this.$title.html(t),void this.$embed.html(e.html)):void this.$el.removeClass("has-value").addClass("has-error")},clear:function(){this.$el.removeClass("has-error has-value"),this.$el.find('[data-name="search-input"]').val(""),this.$input.val(""),this.$title.html(""),this.$embed.html("")},edit:function(){this.$el.addClass("is-editing"),this.$search.val(this.$title.text()).focus()},blur:function(e){this.$el.removeClass("is-editing"),this.maybe_search()},_search:function(e){this.search()},_clear:function(e){this.clear()},_edit:function(e){this.edit()},_keypress:function(e){13==e.which&&e.preventDefault()},_keyup:function(e){this.$search.val()&&this.maybe_search()},_blur:function(e){this.blur()}})}(jQuery),function($){acf.fields.radio=acf.field.extend({type:"radio",$ul:null,actions:{ready:"initialize",append:"initialize"},events:{'click input[type="radio"]':"click"},focus:function(){this.$ul=this.$field.find(".acf-radio-list"),this.o=acf.get_data(this.$ul)},initialize:function(){this.$ul.find(".selected input").prop("checked",!0)},click:function(e){var t=e.$el,i=t.parent("label"),a=i.hasClass("selected"),n=t.val();if(this.$ul.find(".selected").removeClass("selected"),i.addClass("selected"),this.o.allow_null&&a&&(e.$el.prop("checked",!1),i.removeClass("selected"),n=!1,e.$el.trigger("change")),this.o.other_choice){var s=this.$ul.find('input[type="text"]');"other"===n?s.prop("disabled",!1).attr("name",t.attr("name")):s.prop("disabled",!0).attr("name","")}}})}(jQuery),function($){acf.fields.range=acf.field.extend({type:"range",$el:null,$range:null,$input:null,events:{"input input":"_change","change input":"_change"},focus:function(){this.$el=this.$field.find(".acf-range-wrap"),this.$range=this.$el.children('input[type="range"]'),this.$input=this.$el.children('input[type="number"]')},_change:function(e){var t=e.$el.val(),i=e.$el.attr("type");t=t||0,"range"===i?this.$input.val(t):this.$range.val(t)}})}(jQuery),function($){acf.fields.relationship=acf.field.extend({type:"relationship",$el:null,$input:null,$filters:null,$choices:null,$values:null,actions:{ready:"initialize",append:"initialize"},events:{"keypress [data-filter]":"submit_filter","change [data-filter]":"change_filter","keyup [data-filter]":"change_filter","click .choices .acf-rel-item":"add_item",'click [data-name="remove_item"]':"remove_item"},focus:function(){this.$el=this.$field.find(".acf-relationship"),this.$input=this.$el.children('input[type="hidden"]'),this.$choices=this.$el.find(".choices"),this.$values=this.$el.find(".values"),this.o=acf.get_data(this.$el)},initialize:function(){var e=this,t=this.$field,i=this.$el,a=this.$input;this.$values.children(".list").sortable({items:"li",forceHelperSize:!0,forcePlaceholderSize:!0,scroll:!0,update:function(){a.trigger("change")}}),this.$choices.children(".list").scrollTop(0).on("scroll",function(a){if(!i.hasClass("is-loading")&&!i.hasClass("is-empty")&&Math.ceil($(this).scrollTop())+$(this).innerHeight()>=$(this).get(0).scrollHeight){var n=i.data("paged")||1;i.data("paged",n+1),e.set("$field",t).fetch()}}),this.fetch()},maybe_fetch:function(){var e=this,t=this.$field;this.o.timeout&&clearTimeout(this.o.timeout);var i=setTimeout(function(){e.doFocus(t),e.fetch()},300);this.$el.data("timeout",i)},fetch:function(){var e=this,t=this.$field;this.$el.addClass("is-loading"),this.o.xhr&&(this.o.xhr.abort(),this.o.xhr=!1),this.o.action="acf/fields/relationship/query",this.o.field_key=t.data("key"),this.o.post_id=acf.get("post_id");var i=acf.prepare_for_ajax(this.o);1==i.paged&&this.$choices.children(".list").html(""),this.$choices.find("ul:last").append('<p><i class="acf-loading"></i> '+acf._e("relationship","loading")+"</p>");var a=$.ajax({url:acf.get("ajaxurl"),dataType:"json",type:"post",data:i,success:function(i){e.set("$field",t).render(i)}});this.$el.data("xhr",a)},render:function(e){if(this.$el.removeClass("is-loading is-empty"),this.$choices.find("p").remove(),!e||!e.results||!e.results.length)return this.$el.addClass("is-empty"),void(1==this.o.paged&&this.$choices.children(".list").append("<p>"+acf._e("relationship","empty")+"</p>"));var t=$(this.walker(e.results));this.$values.find(".acf-rel-item").each(function(){t.find('.acf-rel-item[data-id="'+$(this).data("id")+'"]').addClass("disabled")}),this.$choices.children(".list").append(t);var i="",a=null;this.$choices.find(".acf-rel-label").each(function(){return $(this).text()==i?(a.append($(this).siblings("ul").html()),void $(this).parent().remove()):(i=$(this).text(),void(a=$(this).siblings("ul")))})},walker:function(e){var t="";if($.isArray(e))for(var i in e)t+=this.walker(e[i]);else $.isPlainObject(e)&&(void 0!==e.children?(t+='<li><span class="acf-rel-label">'+e.text+'</span><ul class="acf-bl">',t+=this.walker(e.children),t+="</ul></li>"):t+='<li><span class="acf-rel-item" data-id="'+e.id+'">'+e.text+"</span></li>");return t},submit_filter:function(e){13==e.which&&e.preventDefault()},change_filter:function(e){var t=e.$el.val(),i=e.$el.data("filter");this.$el.data(i)!=t&&(this.$el.data(i,t),this.$el.data("paged",1),e.$el.is("select")?this.fetch():this.maybe_fetch())},add_item:function(e){if(this.o.max>0&&this.$values.find(".acf-rel-item").length>=this.o.max)return void alert(acf._e("relationship","max").replace("{max}",this.o.max));if(e.$el.hasClass("disabled"))return!1;e.$el.addClass("disabled");var t=["<li>",'<input type="hidden" name="'+this.$input.attr("name")+'[]" value="'+e.$el.data("id")+'" />','<span data-id="'+e.$el.data("id")+'" class="acf-rel-item">'+e.$el.html(),'<a href="#" class="acf-icon -minus small dark" data-name="remove_item"></a>',"</span>","</li>"].join("");this.$values.children(".list").append(t),this.$input.trigger("change"),acf.validation.remove_error(this.$field)},remove_item:function(e){var t=e.$el.parent(),i=t.data("id");t.parent("li").remove(),this.$choices.find('.acf-rel-item[data-id="'+i+'"]').removeClass("disabled"),this.$input.trigger("change")}})}(jQuery),function($){var e,t,i;e=acf.select2=acf.model.extend({version:0,version3:null,version4:null,actions:{"ready 1":"ready"},ready:function(){this.version=this.get_version(),this.do_function("ready")},get_version:function(){return acf.maybe_get(window,"Select2")?3:acf.maybe_get(window,"jQuery.fn.select2.amd")?4:0},do_function:function(e,t){t=t||[];var i="version"+this.version;return"undefined"!=typeof this[i]&&"undefined"!=typeof this[i][e]&&this[i][e].apply(this,t)},get_data:function(e,t){var i=this;return t=t||[],e.children().each(function(){var e=$(this);e.is("optgroup")?t.push({text:e.attr("label"),children:i.get_data(e)}):t.push({id:e.attr("value"),text:e.text()})}),t},decode_data:function(t){return t?($.each(t,function(i,a){t[i].text=acf.decode(a.text),"undefined"!=typeof a.children&&(t[i].children=e.decode_data(a.children))}),t):[]},count_data:function(e){var t=0;return e?($.each(e,function(e,i){t++,"undefined"!=typeof i.children&&(t+=i.children.length)}),t):t},get_ajax_data:function(e,t,i,a){var n=acf.prepare_for_ajax({action:e.ajax_action,field_key:e.key,s:t.term||"",paged:t.page||1});return n=acf.apply_filters("select2_ajax_data",n,e,i,a)},get_ajax_results:function(e,t){var i={results:[]};return e||(e=i),"undefined"==typeof e.results&&(i.results=e,e=i),e.results=this.decode_data(e.results),e=acf.apply_filters("select2_ajax_results",e,t)},get_value:function(e){var t=[],i=e.find("option:selected");return i.exists()?(i=i.sort(function(e,t){return+e.getAttribute("data-i")-+t.getAttribute("data-i")}),i.each(function(){var e=$(this);t.push({id:e.attr("value"),text:e.text(),$el:e})}),t):t},get_input_value:function(e){return e.val().split("||")},sync_input_value:function(e,t){e.val(t.val().join("||"))},add_option:function(e,t,i){e.find('option[value="'+t+'"]').length||e.append('<option value="'+t+'">'+i+"</option>")},select_option:function(e,t){e.find('option[value="'+t+'"]').prop("selected",!0),e.trigger("change")},unselect_option:function(e,t){e.find('option[value="'+t+'"]').prop("selected",!1),e.trigger("change")},init:function(e,t,i){this.do_function("init",arguments)},destroy:function(e){this.do_function("destroy",arguments)},add_value:function(e,t,i){this.do_function("add_value",arguments)},remove_value:function(e,t){this.do_function("remove_value",arguments)}}),t=e.version3={ready:function(){var e=acf.get("locale"),t=acf.get("rtl");if(l10n=acf._e("select"),l10n){var i={formatMatches:function(e){return 1===e?l10n.matches_1:l10n.matches_n.replace("%d",e)},formatNoMatches:function(){return l10n.matches_0},formatAjaxError:function(){return l10n.load_fail},formatInputTooShort:function(e,t){var i=t-e.length;return 1===i?l10n.input_too_short_1:l10n.input_too_short_n.replace("%d",i)},formatInputTooLong:function(e,t){var i=e.length-t;return 1===i?l10n.input_too_long_1:l10n.input_too_long_n.replace("%d",i)},formatSelectionTooBig:function(e){return 1===e?l10n.selection_too_long_1:l10n.selection_too_long_n.replace("%d",e)},formatLoadMore:function(){return l10n.load_more},formatSearching:function(){return l10n.searching;
|
3 |
+
}};$.fn.select2.locales=acf.maybe_get(window,"jQuery.fn.select2.locales",{}),$.fn.select2.locales[e]=i,$.extend($.fn.select2.defaults,i)}},set_data:function(e,t){3==this.version&&(e=e.siblings("input")),e.select2("data",t)},append_data:function(e,t){3==this.version&&(e=e.siblings("input"));var i=e.select2("data")||[];i.push(t),e.select2("data",i)},init:function(i,a,n){a=a||{},n=n||null,a=$.extend({allow_null:!1,placeholder:"",multiple:!1,ajax:!1,ajax_action:""},a);var s=i.siblings("input");if(s.exists()){var o={width:"100%",containerCssClass:"-acf",allowClear:a.allow_null,placeholder:a.placeholder,multiple:a.multiple,separator:"||",data:[],escapeMarkup:function(e){return e},formatResult:function(e,t,i,a){var n=$.fn.select2.defaults.formatResult(e,t,i,a);return e.description&&(n+=' <span class="select2-result-description">'+e.description+"</span>"),n}},r=this.get_value(i);if(a.multiple){var l=i.attr("name");o.formatSelection=function(e,t){var i='<input type="hidden" class="select2-search-choice-hidden" name="'+l+'" value="'+e.id+'"'+(s.prop("disabled")?'disabled="disabled"':"")+" />";return t.parent().append(i),e.text}}else r=acf.maybe_get(r,0,!1),!a.allow_null&&r&&s.val(r.id);a.allow_null&&i.find('option[value=""]').remove(),o.data=this.get_data(i),o.initSelection=function(e,t){t(r)},a.ajax&&(o.ajax={url:acf.get("ajaxurl"),dataType:"json",type:"post",cache:!1,quietMillis:250,data:function(t,i){var o={term:t,page:i};return e.get_ajax_data(a,o,s,n)},results:function(i,a){var n={page:a};return setTimeout(function(){t.merge_results()},1),e.get_ajax_results(i,n)}}),o.dropdownCss={"z-index":"999999999"},o.acf=a,o=acf.apply_filters("select2_args",o,i,a,n),s.select2(o);var c=s.select2("container");c.before(i),c.before(s),a.multiple&&c.find("ul.select2-choices").sortable({start:function(){s.select2("onSortStart")},stop:function(){s.select2("onSortEnd")}}),i.prop("disabled",!0).addClass("acf-disabled acf-hidden"),s.on("change",function(t){t.added&&e.add_option(i,t.added.id,t.added.text),e.select_option(i,t.val)}),acf.do_action("select2_init",s,o,a,n)}},merge_results:function(){var e="",t=null;$("#select2-drop .select2-result-with-children").each(function(){var i=$(this).children(".select2-result-label"),a=$(this).children(".select2-result-sub");return i.text()==e?(t.append(a.children()),void $(this).remove()):(e=i.text(),void(t=a))})},destroy:function(e){var t=e.siblings("input");t.data("select2")&&t.select2("destroy"),e.siblings(".select2-container").remove(),e.prop("disabled",!1).removeClass("acf-disabled acf-hidden"),t.attr("style","")},add_value:function(t,i,a){e.add_option(t,i,a),e.select_option(t,i);var n=t.siblings("input"),s={id:i,text:a};if(!t.data("multiple"))return n.select2("data",s);var o=n.select2("data")||[];return o.push(s),n.select2("data",o)},remove_value:function(t,i){e.unselect_option(t,i);var a=t.siblings("input"),n=a.select2("data");t.data("multiple")?(n=$.grep(n,function(e){return e.id!=i}),a.select2("data",n)):n&&n.id==i&&a.select2("data",null)}},i=e.version4={init:function(t,a,n){a=a||{},n=n||null,a=$.extend({allow_null:!1,placeholder:"",multiple:!1,ajax:!1,ajax_action:""},a);var s=t.siblings("input");if(s.exists()){var o={width:"100%",allowClear:a.allow_null,placeholder:a.placeholder,multiple:a.multiple,separator:"||",data:[],escapeMarkup:function(e){return e}},r=this.get_value(t);a.multiple?$.each(r,function(e,i){i.$el.detach().appendTo(t)}):r=acf.maybe_get(r,0,""),a.ajax?o.ajax={url:acf.get("ajaxurl"),delay:250,dataType:"json",type:"post",cache:!1,data:function(i){return e.get_ajax_data(a,i,t,n)},processResults:function(t,a){var n=e.get_ajax_results(t,a);return n.more&&(n.pagination={more:!0}),setTimeout(function(){i.merge_results()},1),n}}:(t.removeData("ajax"),t.removeAttr("data-ajax")),o=acf.apply_filters("select2_args",o,t,a,n),t.select2(o);var l=t.next(".select2-container");if(a.multiple){var c=l.find("ul");c.sortable({stop:function(e){c.find(".select2-selection__choice").each(function(){var e=$($(this).data("data").element);e.detach().appendTo(t),s.trigger("change")})}}),t.on("select2:select",function(e){var i=$(e.params.data.element);i.detach().appendTo(t)})}s.val(""),l.addClass("-acf"),acf.do_action("select2_init",t,o,a,n)}},merge_results:function(){var e=null,t=null;$('.select2-results__option[role="group"]').each(function(){var i=$(this).children("ul"),a=$(this).children("strong");return null!==t&&a.text()==t.text()?(e.append(i.children()),void $(this).remove()):(e=i,void(t=a))})},add_value:function(t,i,a){e.add_option(t,i,a),e.select_option(t,i)},remove_value:function(t,i){e.unselect_option(t,i)},destroy:function(e){e.data("select2")&&e.select2("destroy"),e.siblings(".select2-container").remove()}},acf.add_select2=function(t,i){e.init(t,i)},acf.remove_select2=function(t){e.destroy(t)}}(jQuery),function($){acf.fields.select=acf.field.extend({type:"select",$select:null,actions:{ready:"render",append:"render",remove:"remove"},focus:function(){this.$select=this.$field.find("select"),this.$select.exists()&&(this.o=acf.get_data(this.$select),this.o=acf.parse_args(this.o,{ajax_action:"acf/fields/"+this.type+"/query",key:this.$field.data("key")}))},render:function(){return!(!this.$select.exists()||!this.o.ui)&&void acf.select2.init(this.$select,this.o,this.$field)},remove:function(){return!(!this.$select.exists()||!this.o.ui)&&void acf.select2.destroy(this.$select)}}),acf.fields.user=acf.fields.select.extend({type:"user"}),acf.fields.post_object=acf.fields.select.extend({type:"post_object"}),acf.fields.page_link=acf.fields.select.extend({type:"page_link"})}(jQuery),function($){acf.fields.tab=acf.field.extend({type:"tab",$el:null,$wrap:null,actions:{prepare:"initialize",append:"initialize",hide:"hide",show:"show"},focus:function(){this.$el=this.$field.find(".acf-tab"),this.o=this.$el.data(),this.o.key=this.$field.data("key"),this.o.text=this.$el.html()},initialize:function(){this.$field.is("td")||e.add_tab(this.$field,this.o)},hide:function(e,t){if("conditional_logic"==t){var i=e.data("key"),a=e.prevAll(".acf-tab-wrap"),n=a.find('a[data-key="'+i+'"]'),s=n.parent();a.exists()&&(s.addClass("hidden-by-conditional-logic"),setTimeout(function(){e.nextUntil(".acf-field-tab",".acf-field").each(function(){$(this).hasClass("hidden-by-conditional-logic")||(acf.conditional_logic.hide_field($(this)),$(this).addClass("-hbcl-"+i))}),s.hasClass("active")&&a.find("li:not(.hidden-by-conditional-logic):first a").trigger("click")},0))}},show:function(e,t){if("conditional_logic"==t){var i=e.data("key"),a=e.prevAll(".acf-tab-wrap"),n=a.find('a[data-key="'+i+'"]'),s=n.parent();a.exists()&&(s.removeClass("hidden-by-conditional-logic"),setTimeout(function(){e.siblings(".acf-field.-hbcl-"+i).each(function(){acf.conditional_logic.show_field($(this)),$(this).removeClass("-hbcl-"+i)});var t=s.siblings(".active");t.exists()&&!t.hasClass("hidden-by-conditional-logic")||n.trigger("click")},0))}}});var e=acf.model.extend({actions:{"prepare 15":"render","append 15":"render","refresh 15":"render"},events:{"click .acf-tab-button":"_click"},render:function(e){$(".acf-tab-wrap",e).each(function(){var e=$(this),t=e.parent();if(e.find("li.active").exists()||e.find("li:not(.hidden-by-conditional-logic):first a").trigger("click"),t.hasClass("-sidebar")){var i=t.is("td")?"height":"min-height",a=e.position().top+e.children("ul").outerHeight(!0)-1;t.css(i,a)}})},add_group:function(e,t){var i=e.parent(),a="";return i.hasClass("acf-fields")&&"left"==t.placement?i.addClass("-sidebar"):t.placement="top",a=i.is("tbody")?'<tr class="acf-tab-wrap"><td colspan="2"><ul class="acf-hl acf-tab-group"></ul></td></tr>':'<div class="acf-tab-wrap -'+t.placement+'"><ul class="acf-hl acf-tab-group"></ul></div>',$group=$(a),e.before($group),$group},add_tab:function(e,t){var i=e.siblings(".acf-tab-wrap").last();i.exists()?t.endpoint&&(i=this.add_group(e,t)):i=this.add_group(e,t);var a=$('<li><a class="acf-tab-button" href="#" data-key="'+t.key+'">'+t.text+"</a></li>");""===t.text&&a.hide(),i.find("ul").append(a),e.hasClass("hidden-by-conditional-logic")&&a.addClass("hidden-by-conditional-logic")},_click:function(e){e.preventDefault();var t=this,i=e.$el,a=i.closest(".acf-tab-wrap"),n=i.data("key"),s="";i.parent().addClass("active").siblings().removeClass("active"),a.nextUntil(".acf-tab-wrap",".acf-field").each(function(){var e=$(this);return("tab"!=e.data("type")||(s=e.data("key"),!e.hasClass("endpoint")))&&void(s===n?e.hasClass("hidden-by-tab")&&(e.removeClass("hidden-by-tab"),acf.do_action("show_field",$(this),"tab")):e.hasClass("hidden-by-tab")||(e.addClass("hidden-by-tab"),acf.do_action("hide_field",$(this),"tab")))}),acf.do_action("refresh",a.parent()),i.trigger("blur")}}),t=acf.model.extend({active:1,actions:{invalid_field:"invalid_field"},invalid_field:function(e){if(this.active&&e.hasClass("hidden-by-tab")){var t=this,i=e.prevAll(".acf-field-tab:first"),a=e.prevAll(".acf-tab-wrap:first");a.find('a[data-key="'+i.data("key")+'"]').trigger("click"),this.active=0,setTimeout(function(){t.active=1},1e3)}}})}(jQuery),function($){acf.fields.time_picker=acf.field.extend({type:"time_picker",$el:null,$input:null,$hidden:null,o:{},actions:{ready:"initialize",append:"initialize"},events:{'blur input[type="text"]':"blur"},focus:function(){this.$el=this.$field.find(".acf-time-picker"),this.$input=this.$el.find('input[type="text"]'),this.$hidden=this.$el.find('input[type="hidden"]'),this.o=acf.get_data(this.$el)},initialize:function(){if("undefined"!=typeof $.timepicker){var e={timeFormat:this.o.time_format,altField:this.$hidden,altFieldTimeOnly:!1,altTimeFormat:"HH:mm:ss",showButtonPanel:!0,controlType:"select",oneLine:!0,closeText:acf._e("date_time_picker","selectText")};e.onClose=function(e,t){var i=t.dpDiv,a=i.find(".ui-datepicker-close");if(!e&&a.is(":hover")){if(e=acf.maybe_get(t,"settings.timepicker.formattedTime"),!e)return;$.datepicker._setTime(t)}},e=acf.apply_filters("time_picker_args",e,this.$field),this.$input.timepicker(e),$("body > #ui-datepicker-div").exists()&&$("body > #ui-datepicker-div").wrap('<div class="acf-ui-datepicker" />'),acf.do_action("time_picker_init",this.$input,e,this.$field)}},blur:function(){this.$input.val()||this.$hidden.val("")}})}(jQuery),function($){acf.fields.true_false=acf.field.extend({type:"true_false",$switch:null,$input:null,actions:{prepare:"render",append:"render",show:"render"},events:{"change .acf-switch-input":"_change","focus .acf-switch-input":"_focus","blur .acf-switch-input":"_blur","keypress .acf-switch-input":"_keypress"},focus:function(){this.$input=this.$field.find(".acf-switch-input"),this.$switch=this.$field.find(".acf-switch")},render:function(){if(this.$switch.exists()){var e=this.$switch.children(".acf-switch-on"),t=this.$switch.children(".acf-switch-off");width=Math.max(e.width(),t.width()),width&&(e.css("min-width",width),t.css("min-width",width))}},on:function(){this.$input.prop("checked",!0),this.$switch.addClass("-on")},off:function(){this.$input.prop("checked",!1),this.$switch.removeClass("-on")},_change:function(e){var t=e.$el.prop("checked");t?this.on():this.off()},_focus:function(e){this.$switch.addClass("-focus")},_blur:function(e){this.$switch.removeClass("-focus")},_keypress:function(e){return 37===e.keyCode?this.off():39===e.keyCode?this.on():void 0}})}(jQuery),function($){acf.fields.taxonomy=acf.field.extend({type:"taxonomy",$el:null,actions:{ready:"render",append:"render",remove:"remove"},events:{'click a[data-name="add"]':"add_term"},focus:function(){this.$el=this.$field.find(".acf-taxonomy-field"),this.o=acf.get_data(this.$el,{save:"",type:"",taxonomy:""}),this.o.key=this.$field.data("key")},render:function(){var e=this.$field.find("select");if(e.exists()){var t=acf.get_data(e);t=acf.parse_args(t,{pagination:!0,ajax_action:"acf/fields/taxonomy/query",key:this.o.key}),acf.select2.init(e,t)}},remove:function(){var e=this.$field.find("select");return!!e.exists()&&void acf.select2.destroy(e)},add_term:function(e){var t=this;acf.open_popup({title:e.$el.attr("title")||e.$el.data("title"),loading:!0,height:220});var i=acf.prepare_for_ajax({action:"acf/fields/taxonomy/add_term",field_key:this.o.key});$.ajax({url:acf.get("ajaxurl"),data:i,type:"post",dataType:"html",success:function(e){t.add_term_confirm(e)}})},add_term_confirm:function(e){var t=this;acf.update_popup({content:e}),$('#acf-popup input[name="term_name"]').focus(),$("#acf-popup form").on("submit",function(e){e.preventDefault(),t.add_term_submit($(this))})},add_term_submit:function(e){var t=this,i=e.find(".acf-submit"),a=e.find('input[name="term_name"]'),n=e.find('select[name="term_parent"]');if(""===a.val())return a.focus(),!1;i.find("button").attr("disabled","disabled"),i.find(".acf-spinner").addClass("is-active");var s=acf.prepare_for_ajax({action:"acf/fields/taxonomy/add_term",field_key:this.o.key,term_name:a.val(),term_parent:n.exists()?n.val():0});$.ajax({url:acf.get("ajaxurl"),data:s,type:"post",dataType:"json",success:function(e){var n=acf.get_ajax_message(e);acf.is_ajax_success(e)&&(a.val(""),t.append_new_term(e.data)),n.text&&i.find("span").html(n.text)},complete:function(){i.find("button").removeAttr("disabled"),i.find(".acf-spinner").removeClass("is-active"),i.find("span").delay(1500).fadeOut(250,function(){$(this).html(""),$(this).show()}),a.focus()}})},append_new_term:function(e){var t={id:e.term_id,text:e.term_label};switch($('.acf-taxonomy-field[data-taxonomy="'+this.o.taxonomy+'"]').each(function(){var t=$(this).data("type");if("radio"==t||"checkbox"==t){var i=$(this).children('input[type="hidden"]'),a=$(this).find("ul:first"),n=i.attr("name");"checkbox"==t&&(n+="[]");var s=$(['<li data-id="'+e.term_id+'">',"<label>",'<input type="'+t+'" value="'+e.term_id+'" name="'+n+'" /> ',"<span>"+e.term_label+"</span>","</label>","</li>"].join(""));if(e.term_parent){var o=a.find('li[data-id="'+e.term_parent+'"]');a=o.children("ul"),a.exists()||(a=$('<ul class="children acf-bl"></ul>'),o.append(a))}a.append(s)}}),$("#acf-popup #term_parent").each(function(){var t=$('<option value="'+e.term_id+'">'+e.term_label+"</option>");e.term_parent?$(this).children('option[value="'+e.term_parent+'"]').after(t):$(this).append(t)}),this.o.type){case"select":var i=this.$el.children("select");acf.select2.add_value(i,e.term_id,e.term_label);break;case"multi_select":var i=this.$el.children("select");acf.select2.add_value(i,e.term_id,e.term_label);break;case"checkbox":case"radio":var a=this.$el.find(".categorychecklist-holder"),n=a.find('li[data-id="'+e.term_id+'"]'),s=a.get(0).scrollTop+(n.offset().top-a.offset().top);n.find("input").prop("checked",!0),a.animate({scrollTop:s},"250")}}})}(jQuery),function($){acf.fields.url=acf.field.extend({type:"url",$input:null,actions:{ready:"render",append:"render"},events:{'keyup input[type="url"]':"render"},focus:function(){this.$input=this.$field.find('input[type="url"]')},is_valid:function(){var e=this.$input.val();if(e.indexOf("://")!==-1);else if(0!==e.indexOf("//"))return!1;return!0},render:function(){this.is_valid()?this.$input.parent().addClass("-valid"):this.$input.parent().removeClass("-valid")}})}(jQuery),function($){acf.validation=acf.model.extend({actions:{ready:"ready",append:"ready"},filters:{validation_complete:"validation_complete"},events:{"click #save-post":"click_ignore",'click [type="submit"]':"click_publish","submit form":"submit_form","click .acf-error-message a":"click_message"},active:1,ignore:0,busy:0,valid:!0,errors:[],error_class:"acf-error",message_class:"acf-error-message",$trigger:null,ready:function(e){var t=$(".acf-field input, .acf-field textarea, .acf-field select");if(t.length){var i=this;t.on("invalid",function(e){var t=$(this),i=acf.get_field_wrap(t);acf.do_action("invalid",t),acf.do_action("invalid_field",i),acf.validation.ignore||(e.preventDefault(),acf.validation.errors.push({input:t.attr("name"),message:e.target.validationMessage}),acf.validation.fetch(t.closest("form")))})}},validation_complete:function(e,t){if(!this.errors.length)return e;e.valid=0,e.errors=e.errors||[];var a=[];if(e.errors.length)for(i in e.errors)a.push(e.errors[i].input);if(this.errors.length)for(i in this.errors){var n=this.errors[i];$.inArray(n.input,a)===-1&&e.errors.push(n)}return this.errors=[],e},click_message:function(e){e.preventDefault(),acf.remove_el(e.$el.parent())},click_ignore:function(e){var t=this;this.ignore=1,this.$trigger=e.$el,this.$form=e.$el.closest("form"),$("."+this.message_class).each(function(){acf.remove_el($(this))}),this.ignore_required_inputs(),setTimeout(function(){t.ignore=0},100)},ignore_required_inputs:function(){var e=$(".acf-field input[required], .acf-field textarea[required], .acf-field select[required]");e.length&&(e.prop("required",!1),setTimeout(function(){e.prop("required",!0)},100))},click_publish:function(e){this.$trigger=e.$el},submit_form:function(e){if(!this.active)return!0;if(this.ignore)return this.ignore=0,!0;if(!e.$el.find("#acf-form-data").exists())return!0;var t=e.$el.find("#wp-preview");return t.exists()&&t.val()?(this.toggle(e.$el,"unlock"),!0):(e.preventDefault(),void this.fetch(e.$el))},toggle:function(e,t){t=t||"unlock";var i=null,a=null,n=$("#submitdiv");n.exists()||(n=$("#submitpost")),n.exists()||(n=e.find("p.submit").last()),n.exists()||(n=e.find(".acf-form-submit")),n.exists()||(n=e),i=n.find('input[type="submit"], .button'),a=n.find(".spinner, .acf-spinner"),this.hide_spinner(a),"unlock"==t?this.enable_submit(i):"lock"==t&&(this.disable_submit(i),this.show_spinner(a.last()))},fetch:function(e){if(this.busy)return!1;var t=this;acf.do_action("validation_begin");var i=acf.serialize(e);i.action="acf/validate_save_post",i=acf.prepare_for_ajax(i),this.busy=1,this.toggle(e,"lock"),$.ajax({url:acf.get("ajaxurl"),data:i,type:"post",dataType:"json",success:function(i){acf.is_ajax_success(i)&&t.fetch_success(e,i.data)},complete:function(){t.fetch_complete(e)}})},fetch_complete:function(e){if(this.busy=0,this.toggle(e,"unlock"),this.valid){this.ignore=1;var t=e.children(".acf-error-message");t.exists()&&(t.addClass("-success"),t.children("p").html(acf._e("validation_successful")),setTimeout(function(){acf.remove_el(t)},2e3)),e.find(".acf-postbox.acf-hidden").remove(),acf.do_action("submit",e),this.$trigger?this.$trigger.click():e.submit(),this.toggle(e,"lock")}},fetch_success:function(e,t){return t=acf.apply_filters("validation_complete",t,e),t&&!t.valid&&t.errors?(acf.do_action("validation_failure"),this.valid=!1,this.$trigger=null,void this.display_errors(t.errors,e)):(this.valid=!0,void acf.do_action("validation_success"))},display_errors:function(e,t){if(e&&e.length){var a=t.children(".acf-error-message"),n=acf._e("validation_failed"),s=0,o=null;for(i=0;i<e.length;i++){var r=e[i];if(r.input){var l=t.find('[name="'+r.input+'"]').first();if(l.exists()||(l=t.find('[name^="'+r.input+'"]').first()),l.exists()){s++;var c=acf.get_field_wrap(l);this.add_error(c,r.message),null===o&&(o=c)}}else n+=". "+r.message}1==s?n+=". "+acf._e("validation_failed_1"):s>1&&(n+=". "+acf._e("validation_failed_2").replace("%d",s)),a.exists()||(a=$('<div class="acf-error-message"><p></p><a href="#" class="acf-icon -cancel small"></a></div>'),t.prepend(a)),a.children("p").html(n),null===o&&(o=a),setTimeout(function(){$("html, body").animate({scrollTop:o.offset().top-$(window).height()/2},500)},10)}},add_error:function(e,t){var i=this;e.addClass(this.error_class),void 0!==t&&(e.children(".acf-input").children("."+this.message_class).remove(),e.children(".acf-input").prepend('<div class="'+this.message_class+'"><p>'+t+"</p></div>"));var a=function(){i.remove_error(e),e.off("focus change","input, textarea, select",a)};e.on("focus change","input, textarea, select",a),acf.do_action("add_field_error",e),acf.do_action("invalid_field",e)},remove_error:function(e){var t=e.children(".acf-input").children("."+this.message_class);e.removeClass(this.error_class),setTimeout(function(){acf.remove_el(t)},250),acf.do_action("remove_field_error",e),acf.do_action("valid_field",e)},add_warning:function(e,t){this.add_error(e,t),setTimeout(function(){acf.validation.remove_error(e)},1e3)},show_spinner:function(e){if(e.exists()){var t=acf.get("wp_version");parseFloat(t)>=4.2?e.addClass("is-active"):e.css("display","inline-block")}},hide_spinner:function(e){if(e.exists()){var t=acf.get("wp_version");parseFloat(t)>=4.2?e.removeClass("is-active"):e.css("display","none")}},disable_submit:function(e){e.exists()&&e.addClass("disabled button-disabled button-primary-disabled")},enable_submit:function(e){e.exists()&&e.removeClass("disabled button-disabled button-primary-disabled")}})}(jQuery),function($){acf.fields.wysiwyg=acf.field.extend({type:"wysiwyg",$el:null,$textarea:null,toolbars:{},events:{"mousedown .acf-editor-wrap.delay":"mousedown"},actions:{load:"initialize",append:"initialize",remove:"disable",sortstart:"disable",sortstop:"enable"},focus:function(){this.$el=this.$field.find(".wp-editor-wrap").last(),this.$textarea=this.$el.find("textarea"),this.o=acf.get_data(this.$el,{toolbar:"",active:this.$el.hasClass("tmce-active"),id:this.$textarea.attr("id")})},mousedown:function(e){e.preventDefault(),this.$el.removeClass("delay"),this.$el.find(".acf-editor-toolbar").remove(),this.initialize()},initialize:function(){if(!this.$el.hasClass("delay")){var e={tinymce:!0,quicktags:!0,toolbar:this.o.toolbar,mode:this.o.active?"visual":"text"},t=this.o.id,i=acf.get_uniqid("acf-editor-"),a=this.$el.outerHTML();a=acf.str_replace(t,i,a),this.$el.replaceWith(a),this.o.id=i,acf.tinymce.initialize(this.o.id,e,this.$field)}},disable:function(){acf.tinymce.destroy(this.o.id)},enable:function(){this.o.active&&acf.tinymce.enable(this.o.id)}}),acf.tinymce=acf.model.extend({toolbars:{},actions:{ready:"ready"},ready:function(){var e=$("#acf-hidden-wp-editor");e.exists()&&(e.appendTo("body"),acf.isset(window,"tinymce","on")&&tinymce.on("AddEditor",function(e){var t=e.editor;"acf"===t.id.substr(0,3)&&(t=tinymce.editors.content||t,tinymce.activeEditor=t,wpActiveEditor=t.id)}))},defaults:function(){if("undefined"==typeof tinyMCEPreInit)return!1;var e={tinymce:tinyMCEPreInit.mceInit.acf_content,quicktags:tinyMCEPreInit.qtInit.acf_content};return e},initialize:function(e,t,i){t=t||{},i=i||null,t=acf.parse_args(t,{tinymce:!0,quicktags:!0,toolbar:"full",mode:"visual"}),t.tinymce&&this.initialize_tinymce(e,t,i),t.quicktags&&this.initialize_quicktags(e,t,i)},initialize_tinymce:function(e,t,i){var a=$("#"+e),n=this.defaults(),s=this.toolbars;if("undefined"==typeof tinymce)return!1;if(!n)return!1;if(tinymce.get(e))return this.enable(e);init=$.extend({},n.tinymce,t.tinymce),init.id=e,init.selector="#"+e;var o=t.toolbar;if(o&&"undefined"!=typeof s[o])for(var r=1;r<=4;r++)init["toolbar"+r]=s[o][r]||"";if(init.setup=function(t){t.on("focus",function(e){acf.validation.remove_error(i)}),t.on("change",function(e){t.save(),a.trigger("change")}),$(t.getWin()).on("unload",function(){acf.tinymce.remove(e)})},init.wp_autoresize_on=!1,init=acf.apply_filters("wysiwyg_tinymce_settings",init,e,i),tinyMCEPreInit.mceInit[e]=init,"visual"==t.mode){tinymce.init(init);var l=tinymce.get(e);acf.do_action("wysiwyg_tinymce_init",l,l.id,init,i)}},initialize_quicktags:function(e,t,i){var a=this.defaults();if("undefined"==typeof quicktags)return!1;if(!a)return!1;init=$.extend({},a.quicktags,t.quicktags),init.id=e,init=acf.apply_filters("wysiwyg_quicktags_settings",init,init.id,i),tinyMCEPreInit.qtInit[e]=init;var n=quicktags(init);this.build_quicktags(n),acf.do_action("wysiwyg_quicktags_init",n,n.id,init,i)},build_quicktags:function(e){var t,i,a,n,s,e,o,r,l,c=",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,";t=e.canvas,i=e.name,a=e.settings,s="",n={},l="",a.buttons&&(l=","+a.buttons+",");for(r in edButtons)edButtons[r]&&(o=edButtons[r].id,l&&c.indexOf(","+o+",")!==-1&&l.indexOf(","+o+",")===-1||edButtons[r].instance&&edButtons[r].instance!==instanceId||(n[o]=edButtons[r],edButtons[r].html&&(s+=edButtons[r].html(i+"_"))));l&&l.indexOf(",dfw,")!==-1&&(n.dfw=new QTags.DFWButton,s+=n.dfw.html(i+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(n.textdirection=new QTags.TextDirectionButton,s+=n.textdirection.html(i+"_")),e.toolbar.innerHTML=s,e.theButtons=n,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[e])},disable:function(e){this.destroy(e)},destroy:function(e){this.destroy_tinymce(e)},destroy_tinymce:function(e){if("undefined"==typeof tinymce)return!1;var t=tinymce.get(e);return!!t&&(t.save(),t.destroy(),!0)},enable:function(e){this.enable_tinymce(e)},enable_tinymce:function(e){return"undefined"!=typeof switchEditors&&("undefined"!=typeof tinyMCEPreInit.mceInit[e]&&(switchEditors.go(e,"tmce"),!0))}})}(jQuery);
|
includes/admin/admin-field-groups.php
CHANGED
@@ -629,7 +629,6 @@ class acf_admin_field_groups {
|
|
629 |
</div>
|
630 |
</div>
|
631 |
</div>
|
632 |
-
<div class="acf-clear"></div>
|
633 |
</script>
|
634 |
<script type="text/javascript">
|
635 |
(function($){
|
629 |
</div>
|
630 |
</div>
|
631 |
</div>
|
|
|
632 |
</script>
|
633 |
<script type="text/javascript">
|
634 |
(function($){
|
includes/admin/admin-tools.php
ADDED
@@ -0,0 +1,354 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
+
|
5 |
+
if( ! class_exists('acf_admin_tools') ) :
|
6 |
+
|
7 |
+
class acf_admin_tools {
|
8 |
+
|
9 |
+
|
10 |
+
/** @var array Contains an array of admin tool instances */
|
11 |
+
var $tools = array();
|
12 |
+
|
13 |
+
|
14 |
+
/** @var string The active tool */
|
15 |
+
var $active = '';
|
16 |
+
|
17 |
+
|
18 |
+
/**
|
19 |
+
* __construct
|
20 |
+
*
|
21 |
+
* This function will setup the class functionality
|
22 |
+
*
|
23 |
+
* @date 10/10/17
|
24 |
+
* @since 5.6.3
|
25 |
+
*
|
26 |
+
* @param n/a
|
27 |
+
* @return n/a
|
28 |
+
*/
|
29 |
+
|
30 |
+
function __construct() {
|
31 |
+
|
32 |
+
// actions
|
33 |
+
add_action('admin_menu', array($this, 'admin_menu'));
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
/**
|
39 |
+
* register_tool
|
40 |
+
*
|
41 |
+
* This function will store a tool tool class
|
42 |
+
*
|
43 |
+
* @date 10/10/17
|
44 |
+
* @since 5.6.3
|
45 |
+
*
|
46 |
+
* @param string $class
|
47 |
+
* @return n/a
|
48 |
+
*/
|
49 |
+
|
50 |
+
function register_tool( $class ) {
|
51 |
+
|
52 |
+
$instance = new $class();
|
53 |
+
$this->tools[ $instance->name ] = $instance;
|
54 |
+
|
55 |
+
}
|
56 |
+
|
57 |
+
|
58 |
+
/**
|
59 |
+
* get_tool
|
60 |
+
*
|
61 |
+
* This function will return a tool tool class
|
62 |
+
*
|
63 |
+
* @date 10/10/17
|
64 |
+
* @since 5.6.3
|
65 |
+
*
|
66 |
+
* @param string $name
|
67 |
+
* @return n/a
|
68 |
+
*/
|
69 |
+
|
70 |
+
function get_tool( $name ) {
|
71 |
+
|
72 |
+
return isset( $this->tools[$name] ) ? $this->tools[$name] : null;
|
73 |
+
|
74 |
+
}
|
75 |
+
|
76 |
+
|
77 |
+
/**
|
78 |
+
* get_tools
|
79 |
+
*
|
80 |
+
* This function will return an array of all tools
|
81 |
+
*
|
82 |
+
* @date 10/10/17
|
83 |
+
* @since 5.6.3
|
84 |
+
*
|
85 |
+
* @param n/a
|
86 |
+
* @return array
|
87 |
+
*/
|
88 |
+
|
89 |
+
function get_tools() {
|
90 |
+
|
91 |
+
return $this->tools;
|
92 |
+
|
93 |
+
}
|
94 |
+
|
95 |
+
|
96 |
+
/*
|
97 |
+
* admin_menu
|
98 |
+
*
|
99 |
+
* This function will add the ACF menu item to the WP admin
|
100 |
+
*
|
101 |
+
* @type action (admin_menu)
|
102 |
+
* @date 28/09/13
|
103 |
+
* @since 5.0.0
|
104 |
+
*
|
105 |
+
* @param n/a
|
106 |
+
* @return n/a
|
107 |
+
*/
|
108 |
+
|
109 |
+
function admin_menu() {
|
110 |
+
|
111 |
+
// bail early if no show_admin
|
112 |
+
if( !acf_get_setting('show_admin') ) return;
|
113 |
+
|
114 |
+
|
115 |
+
// add page
|
116 |
+
$page = add_submenu_page('edit.php?post_type=acf-field-group', __('Tools','acf'), __('Tools','acf'), acf_get_setting('capability'), 'acf-tools', array($this, 'html'));
|
117 |
+
|
118 |
+
|
119 |
+
// actions
|
120 |
+
add_action('load-' . $page, array($this, 'load'));
|
121 |
+
|
122 |
+
}
|
123 |
+
|
124 |
+
|
125 |
+
/**
|
126 |
+
* load
|
127 |
+
*
|
128 |
+
* description
|
129 |
+
*
|
130 |
+
* @date 10/10/17
|
131 |
+
* @since 5.6.3
|
132 |
+
*
|
133 |
+
* @param n/a
|
134 |
+
* @return n/a
|
135 |
+
*/
|
136 |
+
|
137 |
+
function load() {
|
138 |
+
|
139 |
+
// disable filters (default to raw data)
|
140 |
+
acf_disable_filters();
|
141 |
+
|
142 |
+
|
143 |
+
// include tools
|
144 |
+
$this->include_tools();
|
145 |
+
|
146 |
+
|
147 |
+
// check submit
|
148 |
+
$this->check_submit();
|
149 |
+
|
150 |
+
|
151 |
+
// load acf scripts
|
152 |
+
acf_enqueue_scripts();
|
153 |
+
|
154 |
+
}
|
155 |
+
|
156 |
+
|
157 |
+
/**
|
158 |
+
* include_tools
|
159 |
+
*
|
160 |
+
* description
|
161 |
+
*
|
162 |
+
* @date 10/10/17
|
163 |
+
* @since 5.6.3
|
164 |
+
*
|
165 |
+
* @param n/a
|
166 |
+
* @return n/a
|
167 |
+
*/
|
168 |
+
|
169 |
+
function include_tools() {
|
170 |
+
|
171 |
+
// include
|
172 |
+
acf_include('includes/admin/tools/class-acf-admin-tool.php');
|
173 |
+
acf_include('includes/admin/tools/class-acf-admin-tool-export.php');
|
174 |
+
acf_include('includes/admin/tools/class-acf-admin-tool-import.php');
|
175 |
+
|
176 |
+
|
177 |
+
// action
|
178 |
+
do_action('acf/include_admin_tools');
|
179 |
+
|
180 |
+
}
|
181 |
+
|
182 |
+
|
183 |
+
/**
|
184 |
+
* check_submit
|
185 |
+
*
|
186 |
+
* description
|
187 |
+
*
|
188 |
+
* @date 10/10/17
|
189 |
+
* @since 5.6.3
|
190 |
+
*
|
191 |
+
* @param n/a
|
192 |
+
* @return n/a
|
193 |
+
*/
|
194 |
+
|
195 |
+
function check_submit() {
|
196 |
+
|
197 |
+
// loop
|
198 |
+
foreach( $this->get_tools() as $tool ) {
|
199 |
+
|
200 |
+
// load
|
201 |
+
$tool->load();
|
202 |
+
|
203 |
+
|
204 |
+
// submit
|
205 |
+
if( acf_verify_nonce($tool->name) ) {
|
206 |
+
$tool->submit();
|
207 |
+
}
|
208 |
+
|
209 |
+
}
|
210 |
+
|
211 |
+
}
|
212 |
+
|
213 |
+
|
214 |
+
/**
|
215 |
+
* html
|
216 |
+
*
|
217 |
+
* description
|
218 |
+
*
|
219 |
+
* @date 10/10/17
|
220 |
+
* @since 5.6.3
|
221 |
+
*
|
222 |
+
* @param n/a
|
223 |
+
* @return n/a
|
224 |
+
*/
|
225 |
+
|
226 |
+
function html() {
|
227 |
+
|
228 |
+
// vars
|
229 |
+
$screen = get_current_screen();
|
230 |
+
$active = acf_maybe_get_GET('tool');
|
231 |
+
|
232 |
+
|
233 |
+
// view
|
234 |
+
$view = array(
|
235 |
+
'screen_id' => $screen->id,
|
236 |
+
'active' => $active
|
237 |
+
);
|
238 |
+
|
239 |
+
|
240 |
+
// register metaboxes
|
241 |
+
foreach( $this->get_tools() as $tool ) {
|
242 |
+
|
243 |
+
// check active
|
244 |
+
if( $active && $active !== $tool->name ) continue;
|
245 |
+
|
246 |
+
|
247 |
+
// add metabox
|
248 |
+
add_meta_box( 'acf-admin-tool-' . $tool->name, $tool->title, array($this, 'metabox_html'), $screen->id, 'normal', 'default', array('tool' => $tool->name) );
|
249 |
+
|
250 |
+
}
|
251 |
+
|
252 |
+
|
253 |
+
// view
|
254 |
+
acf_get_view( 'html-admin-tools', $view );
|
255 |
+
|
256 |
+
}
|
257 |
+
|
258 |
+
|
259 |
+
/**
|
260 |
+
* meta_box_html
|
261 |
+
*
|
262 |
+
* description
|
263 |
+
*
|
264 |
+
* @date 10/10/17
|
265 |
+
* @since 5.6.3
|
266 |
+
*
|
267 |
+
* @param n/a
|
268 |
+
* @return n/a
|
269 |
+
*/
|
270 |
+
|
271 |
+
function metabox_html( $post, $metabox ) {
|
272 |
+
|
273 |
+
// vars
|
274 |
+
$tool = $this->get_tool($metabox['args']['tool']);
|
275 |
+
|
276 |
+
|
277 |
+
?>
|
278 |
+
<form method="post">
|
279 |
+
<?php $tool->html(); ?>
|
280 |
+
<?php acf_nonce_input( $tool->name ); ?>
|
281 |
+
</form>
|
282 |
+
<?php
|
283 |
+
|
284 |
+
}
|
285 |
+
|
286 |
+
}
|
287 |
+
|
288 |
+
// initialize
|
289 |
+
acf()->admin_tools = new acf_admin_tools();
|
290 |
+
|
291 |
+
endif; // class_exists check
|
292 |
+
|
293 |
+
|
294 |
+
/*
|
295 |
+
* acf_register_admin_tool
|
296 |
+
*
|
297 |
+
* alias of acf()->admin_tools->register_tool()
|
298 |
+
*
|
299 |
+
* @type function
|
300 |
+
* @date 31/5/17
|
301 |
+
* @since 5.6.0
|
302 |
+
*
|
303 |
+
* @param n/a
|
304 |
+
* @return n/a
|
305 |
+
*/
|
306 |
+
|
307 |
+
function acf_register_admin_tool( $class ) {
|
308 |
+
|
309 |
+
return acf()->admin_tools->register_tool( $class );
|
310 |
+
|
311 |
+
}
|
312 |
+
|
313 |
+
|
314 |
+
/*
|
315 |
+
* acf_get_admin_tools_url
|
316 |
+
*
|
317 |
+
* This function will return the admin URL to the tools page
|
318 |
+
*
|
319 |
+
* @type function
|
320 |
+
* @date 31/5/17
|
321 |
+
* @since 5.6.0
|
322 |
+
*
|
323 |
+
* @param n/a
|
324 |
+
* @return n/a
|
325 |
+
*/
|
326 |
+
|
327 |
+
function acf_get_admin_tools_url() {
|
328 |
+
|
329 |
+
return admin_url('edit.php?post_type=acf-field-group&page=acf-tools');
|
330 |
+
|
331 |
+
}
|
332 |
+
|
333 |
+
|
334 |
+
/*
|
335 |
+
* acf_get_admin_tool_url
|
336 |
+
*
|
337 |
+
* This function will return the admin URL to the tools page
|
338 |
+
*
|
339 |
+
* @type function
|
340 |
+
* @date 31/5/17
|
341 |
+
* @since 5.6.0
|
342 |
+
*
|
343 |
+
* @param n/a
|
344 |
+
* @return n/a
|
345 |
+
*/
|
346 |
+
|
347 |
+
function acf_get_admin_tool_url( $tool = '' ) {
|
348 |
+
|
349 |
+
return acf_get_admin_tools_url() . '&tool='.$tool;
|
350 |
+
|
351 |
+
}
|
352 |
+
|
353 |
+
|
354 |
+
?>
|
includes/admin/admin.php
CHANGED
@@ -177,7 +177,7 @@ class acf_admin {
|
|
177 |
}
|
178 |
|
179 |
?>
|
180 |
-
<div class="notice is-dismissible <?php echo esc_attr($notice['class']); ?>"><?php echo $open . $notice['text'] . $close; ?></div>
|
181 |
<?php
|
182 |
|
183 |
}
|
177 |
}
|
178 |
|
179 |
?>
|
180 |
+
<div class="notice is-dismissible <?php echo esc_attr($notice['class']); ?> acf-notice"><?php echo $open . $notice['text'] . $close; ?></div>
|
181 |
<?php
|
182 |
|
183 |
}
|
includes/admin/settings-tools.php
DELETED
@@ -1,453 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class acf_settings_tools {
|
4 |
-
|
5 |
-
var $view = 'settings-tools',
|
6 |
-
$data = array();
|
7 |
-
|
8 |
-
|
9 |
-
/*
|
10 |
-
* __construct
|
11 |
-
*
|
12 |
-
* Initialize filters, action, variables and includes
|
13 |
-
*
|
14 |
-
* @type function
|
15 |
-
* @date 23/06/12
|
16 |
-
* @since 5.0.0
|
17 |
-
*
|
18 |
-
* @param n/a
|
19 |
-
* @return n/a
|
20 |
-
*/
|
21 |
-
|
22 |
-
function __construct() {
|
23 |
-
|
24 |
-
// actions
|
25 |
-
add_action('admin_menu', array($this, 'admin_menu'));
|
26 |
-
|
27 |
-
}
|
28 |
-
|
29 |
-
|
30 |
-
/*
|
31 |
-
* admin_menu
|
32 |
-
*
|
33 |
-
* This function will add the ACF menu item to the WP admin
|
34 |
-
*
|
35 |
-
* @type action (admin_menu)
|
36 |
-
* @date 28/09/13
|
37 |
-
* @since 5.0.0
|
38 |
-
*
|
39 |
-
* @param n/a
|
40 |
-
* @return n/a
|
41 |
-
*/
|
42 |
-
|
43 |
-
function admin_menu() {
|
44 |
-
|
45 |
-
// bail early if no show_admin
|
46 |
-
if( !acf_get_setting('show_admin') ) return;
|
47 |
-
|
48 |
-
|
49 |
-
// add page
|
50 |
-
$page = add_submenu_page('edit.php?post_type=acf-field-group', __('Tools','acf'), __('Tools','acf'), acf_get_setting('capability'),'acf-settings-tools', array($this,'html') );
|
51 |
-
|
52 |
-
|
53 |
-
// actions
|
54 |
-
add_action('load-' . $page, array($this,'load'));
|
55 |
-
|
56 |
-
}
|
57 |
-
|
58 |
-
|
59 |
-
/*
|
60 |
-
* load
|
61 |
-
*
|
62 |
-
* This function will look at the $_POST data and run any functions if needed
|
63 |
-
*
|
64 |
-
* @type function
|
65 |
-
* @date 7/01/2014
|
66 |
-
* @since 5.0.0
|
67 |
-
*
|
68 |
-
* @param n/a
|
69 |
-
* @return n/a
|
70 |
-
*/
|
71 |
-
|
72 |
-
function load() {
|
73 |
-
|
74 |
-
// disable filters to ensure ACF loads raw data from DB
|
75 |
-
acf_disable_filters();
|
76 |
-
|
77 |
-
|
78 |
-
// run import / export
|
79 |
-
if( acf_verify_nonce('import') ) {
|
80 |
-
|
81 |
-
$this->import();
|
82 |
-
|
83 |
-
} elseif( acf_verify_nonce('export') ) {
|
84 |
-
|
85 |
-
if( acf_maybe_get_POST('generate') ) {
|
86 |
-
|
87 |
-
$this->generate();
|
88 |
-
|
89 |
-
} else {
|
90 |
-
|
91 |
-
$this->export();
|
92 |
-
|
93 |
-
}
|
94 |
-
|
95 |
-
}
|
96 |
-
|
97 |
-
|
98 |
-
// load acf scripts
|
99 |
-
acf_enqueue_scripts();
|
100 |
-
|
101 |
-
}
|
102 |
-
|
103 |
-
|
104 |
-
/*
|
105 |
-
* html
|
106 |
-
*
|
107 |
-
* This function will render the view
|
108 |
-
*
|
109 |
-
* @type function
|
110 |
-
* @date 7/01/2014
|
111 |
-
* @since 5.0.0
|
112 |
-
*
|
113 |
-
* @param n/a
|
114 |
-
* @return n/a
|
115 |
-
*/
|
116 |
-
|
117 |
-
function html() {
|
118 |
-
|
119 |
-
// load view
|
120 |
-
acf_get_view($this->view, $this->data);
|
121 |
-
|
122 |
-
}
|
123 |
-
|
124 |
-
|
125 |
-
/*
|
126 |
-
* export
|
127 |
-
*
|
128 |
-
* This function will export field groups to a .json file
|
129 |
-
*
|
130 |
-
* @type function
|
131 |
-
* @date 11/03/2014
|
132 |
-
* @since 5.0.0
|
133 |
-
*
|
134 |
-
* @param n/a
|
135 |
-
* @return n/a
|
136 |
-
*/
|
137 |
-
|
138 |
-
function export() {
|
139 |
-
|
140 |
-
// vars
|
141 |
-
$json = $this->get_json();
|
142 |
-
|
143 |
-
|
144 |
-
// validate
|
145 |
-
if( $json === false ) {
|
146 |
-
|
147 |
-
acf_add_admin_notice( __("No field groups selected", 'acf') , 'error');
|
148 |
-
return;
|
149 |
-
|
150 |
-
}
|
151 |
-
|
152 |
-
|
153 |
-
// set headers
|
154 |
-
$file_name = 'acf-export-' . date('Y-m-d') . '.json';
|
155 |
-
|
156 |
-
header( "Content-Description: File Transfer" );
|
157 |
-
header( "Content-Disposition: attachment; filename={$file_name}" );
|
158 |
-
header( "Content-Type: application/json; charset=utf-8" );
|
159 |
-
|
160 |
-
echo acf_json_encode( $json );
|
161 |
-
die;
|
162 |
-
|
163 |
-
}
|
164 |
-
|
165 |
-
|
166 |
-
/*
|
167 |
-
* import
|
168 |
-
*
|
169 |
-
* This function will import a .json file of field groups
|
170 |
-
*
|
171 |
-
* @type function
|
172 |
-
* @date 11/03/2014
|
173 |
-
* @since 5.0.0
|
174 |
-
*
|
175 |
-
* @param n/a
|
176 |
-
* @return n/a
|
177 |
-
*/
|
178 |
-
|
179 |
-
function import() {
|
180 |
-
|
181 |
-
// validate
|
182 |
-
if( empty($_FILES['acf_import_file']) ) {
|
183 |
-
|
184 |
-
acf_add_admin_notice( __("No file selected", 'acf') , 'error');
|
185 |
-
return;
|
186 |
-
|
187 |
-
}
|
188 |
-
|
189 |
-
|
190 |
-
// vars
|
191 |
-
$file = $_FILES['acf_import_file'];
|
192 |
-
|
193 |
-
|
194 |
-
// validate error
|
195 |
-
if( $file['error'] ) {
|
196 |
-
|
197 |
-
acf_add_admin_notice(__('Error uploading file. Please try again', 'acf'), 'error');
|
198 |
-
return;
|
199 |
-
|
200 |
-
}
|
201 |
-
|
202 |
-
|
203 |
-
// validate type
|
204 |
-
if( pathinfo($file['name'], PATHINFO_EXTENSION) !== 'json' ) {
|
205 |
-
|
206 |
-
acf_add_admin_notice(__('Incorrect file type', 'acf'), 'error');
|
207 |
-
return;
|
208 |
-
|
209 |
-
}
|
210 |
-
|
211 |
-
|
212 |
-
// read file
|
213 |
-
$json = file_get_contents( $file['tmp_name'] );
|
214 |
-
|
215 |
-
|
216 |
-
// decode json
|
217 |
-
$json = json_decode($json, true);
|
218 |
-
|
219 |
-
|
220 |
-
// validate json
|
221 |
-
if( empty($json) ) {
|
222 |
-
|
223 |
-
acf_add_admin_notice(__('Import file empty', 'acf'), 'error');
|
224 |
-
return;
|
225 |
-
|
226 |
-
}
|
227 |
-
|
228 |
-
|
229 |
-
// if importing an auto-json, wrap field group in array
|
230 |
-
if( isset($json['key']) ) {
|
231 |
-
|
232 |
-
$json = array( $json );
|
233 |
-
|
234 |
-
}
|
235 |
-
|
236 |
-
|
237 |
-
// vars
|
238 |
-
$ids = array();
|
239 |
-
$keys = array();
|
240 |
-
$imported = array();
|
241 |
-
|
242 |
-
|
243 |
-
// populate keys
|
244 |
-
foreach( $json as $field_group ) {
|
245 |
-
|
246 |
-
// append key
|
247 |
-
$keys[] = $field_group['key'];
|
248 |
-
|
249 |
-
}
|
250 |
-
|
251 |
-
|
252 |
-
// look for existing ids
|
253 |
-
foreach( $keys as $key ) {
|
254 |
-
|
255 |
-
// attempt find ID
|
256 |
-
$field_group = _acf_get_field_group_by_key( $key );
|
257 |
-
|
258 |
-
|
259 |
-
// bail early if no field group
|
260 |
-
if( !$field_group ) continue;
|
261 |
-
|
262 |
-
|
263 |
-
// append
|
264 |
-
$ids[ $key ] = $field_group['ID'];
|
265 |
-
|
266 |
-
}
|
267 |
-
|
268 |
-
|
269 |
-
// enable local
|
270 |
-
acf_enable_local();
|
271 |
-
|
272 |
-
|
273 |
-
// reset local (JSON class has already included .json field groups which may conflict)
|
274 |
-
acf_reset_local();
|
275 |
-
|
276 |
-
|
277 |
-
// add local field groups
|
278 |
-
foreach( $json as $field_group ) {
|
279 |
-
|
280 |
-
// add field group
|
281 |
-
acf_add_local_field_group( $field_group );
|
282 |
-
|
283 |
-
}
|
284 |
-
|
285 |
-
|
286 |
-
// loop over keys
|
287 |
-
foreach( $keys as $key ) {
|
288 |
-
|
289 |
-
// vars
|
290 |
-
$field_group = acf_get_local_field_group( $key );
|
291 |
-
|
292 |
-
|
293 |
-
// attempt get id
|
294 |
-
$id = acf_maybe_get( $ids, $key );
|
295 |
-
|
296 |
-
if( $id ) {
|
297 |
-
|
298 |
-
$field_group['ID'] = $id;
|
299 |
-
|
300 |
-
}
|
301 |
-
|
302 |
-
|
303 |
-
// append fields
|
304 |
-
if( acf_have_local_fields($key) ) {
|
305 |
-
|
306 |
-
$field_group['fields'] = acf_get_local_fields( $key );
|
307 |
-
|
308 |
-
}
|
309 |
-
|
310 |
-
|
311 |
-
// import
|
312 |
-
$field_group = acf_import_field_group( $field_group );
|
313 |
-
|
314 |
-
|
315 |
-
// append message
|
316 |
-
$imported[] = array(
|
317 |
-
'ID' => $field_group['ID'],
|
318 |
-
'title' => $field_group['title'],
|
319 |
-
'updated' => $id ? 1 : 0
|
320 |
-
);
|
321 |
-
|
322 |
-
}
|
323 |
-
|
324 |
-
|
325 |
-
// messages
|
326 |
-
if( !empty($imported) ) {
|
327 |
-
|
328 |
-
// vars
|
329 |
-
$links = array();
|
330 |
-
$count = count($imported);
|
331 |
-
$message = sprintf(_n( 'Imported 1 field group', 'Imported %s field groups', $count, 'acf' ), $count) . '.';
|
332 |
-
|
333 |
-
|
334 |
-
// populate links
|
335 |
-
foreach( $imported as $import ) {
|
336 |
-
|
337 |
-
$links[] = '<a href="' . admin_url("post.php?post={$import['ID']}&action=edit") . '" target="_blank">' . $import['title'] . '</a>';
|
338 |
-
|
339 |
-
}
|
340 |
-
|
341 |
-
|
342 |
-
// append links
|
343 |
-
$message .= ' ' . implode(', ', $links);
|
344 |
-
|
345 |
-
|
346 |
-
// add notice
|
347 |
-
acf_add_admin_notice( $message );
|
348 |
-
|
349 |
-
}
|
350 |
-
|
351 |
-
}
|
352 |
-
|
353 |
-
|
354 |
-
/*
|
355 |
-
* generate
|
356 |
-
*
|
357 |
-
* This function will generate PHP code to include in your theme
|
358 |
-
*
|
359 |
-
* @type function
|
360 |
-
* @date 11/03/2014
|
361 |
-
* @since 5.0.0
|
362 |
-
*
|
363 |
-
* @param n/a
|
364 |
-
* @return n/a
|
365 |
-
*/
|
366 |
-
|
367 |
-
function generate() {
|
368 |
-
|
369 |
-
// prevent default translation and fake __() within string
|
370 |
-
acf_update_setting('l10n_var_export', true);
|
371 |
-
|
372 |
-
|
373 |
-
// vars
|
374 |
-
$json = $this->get_json();
|
375 |
-
|
376 |
-
|
377 |
-
// validate
|
378 |
-
if( $json === false ) {
|
379 |
-
|
380 |
-
acf_add_admin_notice( __("No field groups selected", 'acf') , 'error');
|
381 |
-
return;
|
382 |
-
|
383 |
-
}
|
384 |
-
|
385 |
-
|
386 |
-
// update view
|
387 |
-
$this->view = 'settings-tools-export';
|
388 |
-
$this->data['field_groups'] = $json;
|
389 |
-
|
390 |
-
}
|
391 |
-
|
392 |
-
|
393 |
-
/*
|
394 |
-
* get_json
|
395 |
-
*
|
396 |
-
* This function will return the JSON data for given $_POST args
|
397 |
-
*
|
398 |
-
* @type function
|
399 |
-
* @date 3/02/2015
|
400 |
-
* @since 5.1.5
|
401 |
-
*
|
402 |
-
* @param $post_id (int)
|
403 |
-
* @return $post_id (int)
|
404 |
-
*/
|
405 |
-
|
406 |
-
function get_json() {
|
407 |
-
|
408 |
-
// vars
|
409 |
-
$keys = acf_maybe_get_POST('acf_export_keys');
|
410 |
-
$json = array();
|
411 |
-
|
412 |
-
|
413 |
-
// bail early if no keys
|
414 |
-
if( !$keys ) return false;
|
415 |
-
|
416 |
-
|
417 |
-
// construct JSON
|
418 |
-
foreach( $keys as $key ) {
|
419 |
-
|
420 |
-
// load field group
|
421 |
-
$field_group = acf_get_field_group( $key );
|
422 |
-
|
423 |
-
|
424 |
-
// validate field group
|
425 |
-
if( empty($field_group) ) continue;
|
426 |
-
|
427 |
-
|
428 |
-
// load fields
|
429 |
-
$field_group['fields'] = acf_get_fields( $field_group );
|
430 |
-
|
431 |
-
|
432 |
-
// prepare for export
|
433 |
-
$field_group = acf_prepare_field_group_for_export( $field_group );
|
434 |
-
|
435 |
-
|
436 |
-
// add to json array
|
437 |
-
$json[] = $field_group;
|
438 |
-
|
439 |
-
}
|
440 |
-
|
441 |
-
|
442 |
-
// return
|
443 |
-
return $json;
|
444 |
-
|
445 |
-
}
|
446 |
-
|
447 |
-
}
|
448 |
-
|
449 |
-
|
450 |
-
// initialize
|
451 |
-
new acf_settings_tools();
|
452 |
-
|
453 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/tools/class-acf-admin-tool-export.php
ADDED
@@ -0,0 +1,592 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
+
|
5 |
+
if( ! class_exists('ACF_Admin_Tool_Export') ) :
|
6 |
+
|
7 |
+
class ACF_Admin_Tool_Export extends ACF_Admin_Tool {
|
8 |
+
|
9 |
+
/** @var string View context */
|
10 |
+
var $view = '';
|
11 |
+
|
12 |
+
|
13 |
+
/** @var array Export data */
|
14 |
+
var $json = '';
|
15 |
+
|
16 |
+
|
17 |
+
/**
|
18 |
+
* initialize
|
19 |
+
*
|
20 |
+
* This function will initialize the admin tool
|
21 |
+
*
|
22 |
+
* @date 10/10/17
|
23 |
+
* @since 5.6.3
|
24 |
+
*
|
25 |
+
* @param n/a
|
26 |
+
* @return n/a
|
27 |
+
*/
|
28 |
+
|
29 |
+
function initialize() {
|
30 |
+
|
31 |
+
// vars
|
32 |
+
$this->name = 'export';
|
33 |
+
$this->title = __("Export Field Groups", 'acf');
|
34 |
+
|
35 |
+
|
36 |
+
// active
|
37 |
+
if( $this->is_active() ) {
|
38 |
+
$this->title .= ' - ' . __('Generate PHP', 'acf');
|
39 |
+
}
|
40 |
+
|
41 |
+
}
|
42 |
+
|
43 |
+
|
44 |
+
/**
|
45 |
+
* submit
|
46 |
+
*
|
47 |
+
* This function will run when the tool's form has been submit
|
48 |
+
*
|
49 |
+
* @date 10/10/17
|
50 |
+
* @since 5.6.3
|
51 |
+
*
|
52 |
+
* @param n/a
|
53 |
+
* @return n/a
|
54 |
+
*/
|
55 |
+
|
56 |
+
function submit() {
|
57 |
+
|
58 |
+
// vars
|
59 |
+
$action = acf_maybe_get_POST('action');
|
60 |
+
|
61 |
+
|
62 |
+
// download
|
63 |
+
if( $action === 'download' ) {
|
64 |
+
|
65 |
+
$this->submit_download();
|
66 |
+
|
67 |
+
// generate
|
68 |
+
} elseif( $action === 'generate' ) {
|
69 |
+
|
70 |
+
$this->submit_generate();
|
71 |
+
|
72 |
+
}
|
73 |
+
|
74 |
+
}
|
75 |
+
|
76 |
+
|
77 |
+
/**
|
78 |
+
* submit_download
|
79 |
+
*
|
80 |
+
* description
|
81 |
+
*
|
82 |
+
* @date 17/10/17
|
83 |
+
* @since 5.6.3
|
84 |
+
*
|
85 |
+
* @param n/a
|
86 |
+
* @return n/a
|
87 |
+
*/
|
88 |
+
|
89 |
+
function submit_download() {
|
90 |
+
|
91 |
+
// vars
|
92 |
+
$json = $this->get_selected();
|
93 |
+
|
94 |
+
|
95 |
+
// validate
|
96 |
+
if( $json === false ) {
|
97 |
+
return acf_add_admin_notice( __("No field groups selected", 'acf') , 'error');
|
98 |
+
}
|
99 |
+
|
100 |
+
|
101 |
+
// headers
|
102 |
+
$file_name = 'acf-export-' . date('Y-m-d') . '.json';
|
103 |
+
header( "Content-Description: File Transfer" );
|
104 |
+
header( "Content-Disposition: attachment; filename={$file_name}" );
|
105 |
+
header( "Content-Type: application/json; charset=utf-8" );
|
106 |
+
|
107 |
+
|
108 |
+
// return
|
109 |
+
echo acf_json_encode( $json );
|
110 |
+
die;
|
111 |
+
|
112 |
+
}
|
113 |
+
|
114 |
+
|
115 |
+
/**
|
116 |
+
* submit_generate
|
117 |
+
*
|
118 |
+
* description
|
119 |
+
*
|
120 |
+
* @date 17/10/17
|
121 |
+
* @since 5.6.3
|
122 |
+
*
|
123 |
+
* @param n/a
|
124 |
+
* @return n/a
|
125 |
+
*/
|
126 |
+
|
127 |
+
function submit_generate() {
|
128 |
+
|
129 |
+
// vars
|
130 |
+
$keys = $this->get_selected_keys();
|
131 |
+
|
132 |
+
|
133 |
+
// validate
|
134 |
+
if( !$keys ) {
|
135 |
+
return acf_add_admin_notice( __("No field groups selected", 'acf') , 'error');
|
136 |
+
}
|
137 |
+
|
138 |
+
|
139 |
+
// url
|
140 |
+
$url = add_query_arg( 'keys', implode('+', $keys), $this->get_url() );
|
141 |
+
|
142 |
+
|
143 |
+
// redirect
|
144 |
+
wp_redirect( $url );
|
145 |
+
exit;
|
146 |
+
|
147 |
+
}
|
148 |
+
|
149 |
+
|
150 |
+
/**
|
151 |
+
* load
|
152 |
+
*
|
153 |
+
* description
|
154 |
+
*
|
155 |
+
* @date 21/10/17
|
156 |
+
* @since 5.6.3
|
157 |
+
*
|
158 |
+
* @param n/a
|
159 |
+
* @return n/a
|
160 |
+
*/
|
161 |
+
|
162 |
+
function load() {
|
163 |
+
|
164 |
+
// active
|
165 |
+
if( $this->is_active() ) {
|
166 |
+
|
167 |
+
// get selected keys
|
168 |
+
$selected = $this->get_selected_keys();
|
169 |
+
|
170 |
+
|
171 |
+
// add notice
|
172 |
+
if( $selected ) {
|
173 |
+
$count = count($selected);
|
174 |
+
$message = sprintf( _n( 'Exported 1 field group.', 'Exported %s field groups.', $count, 'acf' ), $count );
|
175 |
+
acf_add_admin_notice( $message );
|
176 |
+
}
|
177 |
+
}
|
178 |
+
|
179 |
+
}
|
180 |
+
|
181 |
+
|
182 |
+
/**
|
183 |
+
* html
|
184 |
+
*
|
185 |
+
* This function will output the metabox HTML
|
186 |
+
*
|
187 |
+
* @date 10/10/17
|
188 |
+
* @since 5.6.3
|
189 |
+
*
|
190 |
+
* @param n/a
|
191 |
+
* @return n/a
|
192 |
+
*/
|
193 |
+
|
194 |
+
function html() {
|
195 |
+
|
196 |
+
// single (generate PHP)
|
197 |
+
if( $this->is_active() ) {
|
198 |
+
|
199 |
+
$this->html_single();
|
200 |
+
|
201 |
+
// archive
|
202 |
+
} else {
|
203 |
+
|
204 |
+
$this->html_archive();
|
205 |
+
|
206 |
+
}
|
207 |
+
|
208 |
+
}
|
209 |
+
|
210 |
+
|
211 |
+
/**
|
212 |
+
* html_field_selection
|
213 |
+
*
|
214 |
+
* description
|
215 |
+
*
|
216 |
+
* @date 24/10/17
|
217 |
+
* @since 5.6.3
|
218 |
+
*
|
219 |
+
* @param n/a
|
220 |
+
* @return n/a
|
221 |
+
*/
|
222 |
+
|
223 |
+
function html_field_selection() {
|
224 |
+
|
225 |
+
// vars
|
226 |
+
$choices = array();
|
227 |
+
$selected = $this->get_selected_keys();
|
228 |
+
$field_groups = acf_get_field_groups();
|
229 |
+
|
230 |
+
|
231 |
+
// loop
|
232 |
+
if( $field_groups ) {
|
233 |
+
foreach( $field_groups as $field_group ) {
|
234 |
+
$choices[ $field_group['key'] ] = esc_html( $field_group['title'] );
|
235 |
+
}
|
236 |
+
}
|
237 |
+
|
238 |
+
|
239 |
+
// render
|
240 |
+
acf_render_field_wrap(array(
|
241 |
+
'label' => __('Select Field Groups', 'acf'),
|
242 |
+
'type' => 'checkbox',
|
243 |
+
'name' => 'keys',
|
244 |
+
'prefix' => false,
|
245 |
+
'value' => $selected,
|
246 |
+
'toggle' => true,
|
247 |
+
'choices' => $choices,
|
248 |
+
));
|
249 |
+
|
250 |
+
}
|
251 |
+
|
252 |
+
|
253 |
+
/**
|
254 |
+
* html_panel_selection
|
255 |
+
*
|
256 |
+
* description
|
257 |
+
*
|
258 |
+
* @date 21/10/17
|
259 |
+
* @since 5.6.3
|
260 |
+
*
|
261 |
+
* @param n/a
|
262 |
+
* @return n/a
|
263 |
+
*/
|
264 |
+
|
265 |
+
function html_panel_selection() {
|
266 |
+
|
267 |
+
?>
|
268 |
+
<div class="acf-panel acf-panel-selection">
|
269 |
+
<h3 class="acf-panel-title"><?php _e('Select Field Groups', 'acf') ?> <i class="dashicons dashicons-arrow-right"></i></h3>
|
270 |
+
<div class="acf-panel-inside">
|
271 |
+
<?php $this->html_field_selection(); ?>
|
272 |
+
</div>
|
273 |
+
</div>
|
274 |
+
<?php
|
275 |
+
|
276 |
+
}
|
277 |
+
|
278 |
+
|
279 |
+
/**
|
280 |
+
* html_panel_settings
|
281 |
+
*
|
282 |
+
* description
|
283 |
+
*
|
284 |
+
* @date 21/10/17
|
285 |
+
* @since 5.6.3
|
286 |
+
*
|
287 |
+
* @param n/a
|
288 |
+
* @return n/a
|
289 |
+
*/
|
290 |
+
|
291 |
+
function html_panel_settings() {
|
292 |
+
|
293 |
+
?>
|
294 |
+
<div class="acf-panel acf-panel-settings">
|
295 |
+
<h3 class="acf-panel-title"><?php _e('Settings', 'acf') ?> <i class="dashicons dashicons-arrow-right"></i></h3>
|
296 |
+
<div class="acf-panel-inside">
|
297 |
+
<?php
|
298 |
+
|
299 |
+
/*
|
300 |
+
acf_render_field_wrap(array(
|
301 |
+
'label' => __('Empty settings', 'acf'),
|
302 |
+
'type' => 'select',
|
303 |
+
'name' => 'minimal',
|
304 |
+
'prefix' => false,
|
305 |
+
'value' => '',
|
306 |
+
'choices' => array(
|
307 |
+
'all' => 'Include all settings',
|
308 |
+
'minimal' => 'Ignore empty settings'
|
309 |
+
)
|
310 |
+
));
|
311 |
+
*/
|
312 |
+
|
313 |
+
?>
|
314 |
+
</div>
|
315 |
+
</div>
|
316 |
+
<?php
|
317 |
+
|
318 |
+
}
|
319 |
+
|
320 |
+
|
321 |
+
/**
|
322 |
+
* html_archive
|
323 |
+
*
|
324 |
+
* description
|
325 |
+
*
|
326 |
+
* @date 20/10/17
|
327 |
+
* @since 5.6.3
|
328 |
+
*
|
329 |
+
* @param n/a
|
330 |
+
* @return n/a
|
331 |
+
*/
|
332 |
+
|
333 |
+
function html_archive() {
|
334 |
+
|
335 |
+
?>
|
336 |
+
<p><?php _e('Select the field groups you would like to export and then select your export method. Use the download button to export to a .json file which you can then import to another ACF installation. Use the generate button to export to PHP code which you can place in your theme.', 'acf'); ?></p>
|
337 |
+
<div class="acf-fields">
|
338 |
+
<?php $this->html_field_selection(); ?>
|
339 |
+
</div>
|
340 |
+
<p class="acf-submit">
|
341 |
+
<button type="submit" name="action" class="button button-primary" value="download"><?php _e('Export File', 'acf'); ?></button>
|
342 |
+
<button type="submit" name="action" class="button" value="generate"><?php _e('Generate PHP', 'acf'); ?></button>
|
343 |
+
</p>
|
344 |
+
<?php
|
345 |
+
|
346 |
+
}
|
347 |
+
|
348 |
+
|
349 |
+
/**
|
350 |
+
* html_single
|
351 |
+
*
|
352 |
+
* description
|
353 |
+
*
|
354 |
+
* @date 20/10/17
|
355 |
+
* @since 5.6.3
|
356 |
+
*
|
357 |
+
* @param n/a
|
358 |
+
* @return n/a
|
359 |
+
*/
|
360 |
+
|
361 |
+
function html_single() {
|
362 |
+
|
363 |
+
?>
|
364 |
+
<div class="acf-postbox-columns">
|
365 |
+
<div class="acf-postbox-main">
|
366 |
+
<?php $this->html_generate(); ?>
|
367 |
+
</div>
|
368 |
+
<div class="acf-postbox-side">
|
369 |
+
<?php $this->html_panel_selection(); ?>
|
370 |
+
<p class="acf-submit">
|
371 |
+
<button type="submit" name="action" class="button button-primary" value="generate"><?php _e('Generate PHP', 'acf'); ?></button>
|
372 |
+
</p>
|
373 |
+
</div>
|
374 |
+
</div>
|
375 |
+
<?php
|
376 |
+
|
377 |
+
}
|
378 |
+
|
379 |
+
|
380 |
+
/**
|
381 |
+
* html_generate
|
382 |
+
*
|
383 |
+
* description
|
384 |
+
*
|
385 |
+
* @date 17/10/17
|
386 |
+
* @since 5.6.3
|
387 |
+
*
|
388 |
+
* @param n/a
|
389 |
+
* @return n/a
|
390 |
+
*/
|
391 |
+
|
392 |
+
function html_generate() {
|
393 |
+
|
394 |
+
// prevent default translation and fake __() within string
|
395 |
+
acf_update_setting('l10n_var_export', true);
|
396 |
+
|
397 |
+
|
398 |
+
// vars
|
399 |
+
$json = $this->get_selected();
|
400 |
+
$str_replace = array(
|
401 |
+
" " => "\t",
|
402 |
+
"'!!__(!!\'" => "__('",
|
403 |
+
"!!\', !!\'" => "', '",
|
404 |
+
"!!\')!!'" => "')",
|
405 |
+
"array (" => "array("
|
406 |
+
);
|
407 |
+
$preg_replace = array(
|
408 |
+
'/([\t\r\n]+?)array/' => 'array',
|
409 |
+
'/[0-9]+ => array/' => 'array'
|
410 |
+
);
|
411 |
+
|
412 |
+
|
413 |
+
?>
|
414 |
+
<p><?php _e("The following code can be used to register a local version of the selected field group(s). A local field group can provide many benefits such as faster load times, version control & dynamic fields/settings. Simply copy and paste the following code to your theme's functions.php file or include it within an external file.", 'acf'); ?></p>
|
415 |
+
<textarea id="acf-export-textarea" readonly="true"><?php
|
416 |
+
|
417 |
+
echo "if( function_exists('acf_add_local_field_group') ):" . "\r\n" . "\r\n";
|
418 |
+
|
419 |
+
foreach( $json as $field_group ) {
|
420 |
+
|
421 |
+
// code
|
422 |
+
$code = var_export($field_group, true);
|
423 |
+
|
424 |
+
|
425 |
+
// change double spaces to tabs
|
426 |
+
$code = str_replace( array_keys($str_replace), array_values($str_replace), $code );
|
427 |
+
|
428 |
+
|
429 |
+
// correctly formats "=> array("
|
430 |
+
$code = preg_replace( array_keys($preg_replace), array_values($preg_replace), $code );
|
431 |
+
|
432 |
+
|
433 |
+
// esc_textarea
|
434 |
+
$code = esc_textarea( $code );
|
435 |
+
|
436 |
+
|
437 |
+
// echo
|
438 |
+
echo "acf_add_local_field_group({$code});" . "\r\n" . "\r\n";
|
439 |
+
|
440 |
+
}
|
441 |
+
|
442 |
+
echo "endif;";
|
443 |
+
|
444 |
+
?></textarea>
|
445 |
+
<p class="acf-submit">
|
446 |
+
<a class="button" id="acf-export-copy"><?php _e( 'Copy to clipboard', 'acf' ); ?></a>
|
447 |
+
</p>
|
448 |
+
<script type="text/javascript">
|
449 |
+
(function($){
|
450 |
+
|
451 |
+
// vars
|
452 |
+
var $a = $('#acf-export-copy');
|
453 |
+
var $textarea = $('#acf-export-textarea');
|
454 |
+
|
455 |
+
|
456 |
+
// remove $a if 'copy' is not supported
|
457 |
+
if( !document.queryCommandSupported('copy') ) {
|
458 |
+
return $a.remove();
|
459 |
+
}
|
460 |
+
|
461 |
+
|
462 |
+
// event
|
463 |
+
$a.on('click', function( e ){
|
464 |
+
|
465 |
+
// prevent default
|
466 |
+
e.preventDefault();
|
467 |
+
|
468 |
+
|
469 |
+
// select
|
470 |
+
$textarea.get(0).select();
|
471 |
+
|
472 |
+
|
473 |
+
// try
|
474 |
+
try {
|
475 |
+
|
476 |
+
// copy
|
477 |
+
var copy = document.execCommand('copy');
|
478 |
+
if( !copy ) return;
|
479 |
+
|
480 |
+
|
481 |
+
// tooltip
|
482 |
+
acf.tooltip.temp('Copied', $a);
|
483 |
+
|
484 |
+
} catch (err) {
|
485 |
+
|
486 |
+
// do nothing
|
487 |
+
|
488 |
+
}
|
489 |
+
|
490 |
+
});
|
491 |
+
|
492 |
+
})(jQuery);
|
493 |
+
</script>
|
494 |
+
<?php
|
495 |
+
|
496 |
+
}
|
497 |
+
|
498 |
+
|
499 |
+
|
500 |
+
/**
|
501 |
+
* get_selected_keys
|
502 |
+
*
|
503 |
+
* This function will return an array of field group keys that have been selected
|
504 |
+
*
|
505 |
+
* @date 20/10/17
|
506 |
+
* @since 5.6.3
|
507 |
+
*
|
508 |
+
* @param n/a
|
509 |
+
* @return n/a
|
510 |
+
*/
|
511 |
+
|
512 |
+
function get_selected_keys() {
|
513 |
+
|
514 |
+
// check $_POST
|
515 |
+
if( $keys = acf_maybe_get_POST('keys') ) {
|
516 |
+
return (array) $keys;
|
517 |
+
}
|
518 |
+
|
519 |
+
|
520 |
+
// check $_GET
|
521 |
+
if( $keys = acf_maybe_get_GET('keys') ) {
|
522 |
+
$keys = str_replace(' ', '+', $keys);
|
523 |
+
return explode('+', $keys);
|
524 |
+
}
|
525 |
+
|
526 |
+
|
527 |
+
// return
|
528 |
+
return false;
|
529 |
+
|
530 |
+
}
|
531 |
+
|
532 |
+
|
533 |
+
/**
|
534 |
+
* get_selected
|
535 |
+
*
|
536 |
+
* This function will return the JSON data for given $_POST args
|
537 |
+
*
|
538 |
+
* @date 17/10/17
|
539 |
+
* @since 5.6.3
|
540 |
+
*
|
541 |
+
* @param n/a
|
542 |
+
* @return array
|
543 |
+
*/
|
544 |
+
|
545 |
+
function get_selected() {
|
546 |
+
|
547 |
+
// vars
|
548 |
+
$selected = $this->get_selected_keys();
|
549 |
+
$json = array();
|
550 |
+
|
551 |
+
|
552 |
+
// bail early if no keys
|
553 |
+
if( !$selected ) return false;
|
554 |
+
|
555 |
+
|
556 |
+
// construct JSON
|
557 |
+
foreach( $selected as $key ) {
|
558 |
+
|
559 |
+
// load field group
|
560 |
+
$field_group = acf_get_field_group( $key );
|
561 |
+
|
562 |
+
|
563 |
+
// validate field group
|
564 |
+
if( empty($field_group) ) continue;
|
565 |
+
|
566 |
+
|
567 |
+
// load fields
|
568 |
+
$field_group['fields'] = acf_get_fields( $field_group );
|
569 |
+
|
570 |
+
|
571 |
+
// prepare for export
|
572 |
+
$field_group = acf_prepare_field_group_for_export( $field_group );
|
573 |
+
|
574 |
+
|
575 |
+
// add to json array
|
576 |
+
$json[] = $field_group;
|
577 |
+
|
578 |
+
}
|
579 |
+
|
580 |
+
|
581 |
+
// return
|
582 |
+
return $json;
|
583 |
+
|
584 |
+
}
|
585 |
+
}
|
586 |
+
|
587 |
+
// initialize
|
588 |
+
acf_register_admin_tool( 'acf_admin_tool_export' );
|
589 |
+
|
590 |
+
endif; // class_exists check
|
591 |
+
|
592 |
+
?>
|
includes/admin/tools/class-acf-admin-tool-import.php
ADDED
@@ -0,0 +1,277 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
+
|
5 |
+
if( ! class_exists('ACF_Admin_Tool_Import') ) :
|
6 |
+
|
7 |
+
class ACF_Admin_Tool_Import extends ACF_Admin_Tool {
|
8 |
+
|
9 |
+
|
10 |
+
/**
|
11 |
+
* initialize
|
12 |
+
*
|
13 |
+
* This function will initialize the admin tool
|
14 |
+
*
|
15 |
+
* @date 10/10/17
|
16 |
+
* @since 5.6.3
|
17 |
+
*
|
18 |
+
* @param n/a
|
19 |
+
* @return n/a
|
20 |
+
*/
|
21 |
+
|
22 |
+
function initialize() {
|
23 |
+
|
24 |
+
// vars
|
25 |
+
$this->name = 'import';
|
26 |
+
$this->title = __("Import Field Groups", 'acf');
|
27 |
+
$this->icon = 'dashicons-upload';
|
28 |
+
|
29 |
+
}
|
30 |
+
|
31 |
+
|
32 |
+
/**
|
33 |
+
* html
|
34 |
+
*
|
35 |
+
* This function will output the metabox HTML
|
36 |
+
*
|
37 |
+
* @date 10/10/17
|
38 |
+
* @since 5.6.3
|
39 |
+
*
|
40 |
+
* @param n/a
|
41 |
+
* @return n/a
|
42 |
+
*/
|
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">
|
63 |
+
<?php
|
64 |
+
|
65 |
+
acf_render_field_wrap(array(
|
66 |
+
'label' => __('Select File', 'acf'),
|
67 |
+
'type' => 'file',
|
68 |
+
'name' => 'acf_import_file',
|
69 |
+
'value' => false,
|
70 |
+
'uploader' => 'basic',
|
71 |
+
));
|
72 |
+
|
73 |
+
?>
|
74 |
+
</div>
|
75 |
+
<p class="acf-submit">
|
76 |
+
<input type="submit" class="button button-primary" value="<?php _e('Import File', 'acf'); ?>" />
|
77 |
+
</p>
|
78 |
+
<?php
|
79 |
+
|
80 |
+
}
|
81 |
+
|
82 |
+
|
83 |
+
/**
|
84 |
+
* submit
|
85 |
+
*
|
86 |
+
* This function will run when the tool's form has been submit
|
87 |
+
*
|
88 |
+
* @date 10/10/17
|
89 |
+
* @since 5.6.3
|
90 |
+
*
|
91 |
+
* @param n/a
|
92 |
+
* @return n/a
|
93 |
+
*/
|
94 |
+
|
95 |
+
function submit() {
|
96 |
+
|
97 |
+
// validate
|
98 |
+
if( empty($_FILES['acf_import_file']['size']) ) {
|
99 |
+
|
100 |
+
acf_add_admin_notice( __("No file selected", 'acf') , 'error');
|
101 |
+
return;
|
102 |
+
|
103 |
+
}
|
104 |
+
|
105 |
+
|
106 |
+
// vars
|
107 |
+
$file = $_FILES['acf_import_file'];
|
108 |
+
|
109 |
+
|
110 |
+
// validate error
|
111 |
+
if( $file['error'] ) {
|
112 |
+
|
113 |
+
acf_add_admin_notice(__('Error uploading file. Please try again', 'acf'), 'error');
|
114 |
+
return;
|
115 |
+
|
116 |
+
}
|
117 |
+
|
118 |
+
|
119 |
+
// validate type
|
120 |
+
if( pathinfo($file['name'], PATHINFO_EXTENSION) !== 'json' ) {
|
121 |
+
|
122 |
+
acf_add_admin_notice(__('Incorrect file type', 'acf'), 'error');
|
123 |
+
return;
|
124 |
+
|
125 |
+
}
|
126 |
+
|
127 |
+
|
128 |
+
// read file
|
129 |
+
$json = file_get_contents( $file['tmp_name'] );
|
130 |
+
|
131 |
+
|
132 |
+
// decode json
|
133 |
+
$json = json_decode($json, true);
|
134 |
+
|
135 |
+
|
136 |
+
// validate json
|
137 |
+
if( empty($json) ) {
|
138 |
+
|
139 |
+
acf_add_admin_notice(__('Import file empty', 'acf'), 'error');
|
140 |
+
return;
|
141 |
+
|
142 |
+
}
|
143 |
+
|
144 |
+
|
145 |
+
// if importing an auto-json, wrap field group in array
|
146 |
+
if( isset($json['key']) ) {
|
147 |
+
|
148 |
+
$json = array( $json );
|
149 |
+
|
150 |
+
}
|
151 |
+
|
152 |
+
|
153 |
+
// vars
|
154 |
+
$ids = array();
|
155 |
+
$keys = array();
|
156 |
+
$imported = array();
|
157 |
+
|
158 |
+
|
159 |
+
// populate keys
|
160 |
+
foreach( $json as $field_group ) {
|
161 |
+
|
162 |
+
// append key
|
163 |
+
$keys[] = $field_group['key'];
|
164 |
+
|
165 |
+
}
|
166 |
+
|
167 |
+
|
168 |
+
// look for existing ids
|
169 |
+
foreach( $keys as $key ) {
|
170 |
+
|
171 |
+
// attempt find ID
|
172 |
+
$field_group = _acf_get_field_group_by_key( $key );
|
173 |
+
|
174 |
+
|
175 |
+
// bail early if no field group
|
176 |
+
if( !$field_group ) continue;
|
177 |
+
|
178 |
+
|
179 |
+
// append
|
180 |
+
$ids[ $key ] = $field_group['ID'];
|
181 |
+
|
182 |
+
}
|
183 |
+
|
184 |
+
|
185 |
+
// enable local
|
186 |
+
acf_enable_local();
|
187 |
+
|
188 |
+
|
189 |
+
// reset local (JSON class has already included .json field groups which may conflict)
|
190 |
+
acf_reset_local();
|
191 |
+
|
192 |
+
|
193 |
+
// add local field groups
|
194 |
+
foreach( $json as $field_group ) {
|
195 |
+
|
196 |
+
// add field group
|
197 |
+
acf_add_local_field_group( $field_group );
|
198 |
+
|
199 |
+
}
|
200 |
+
|
201 |
+
|
202 |
+
// loop over keys
|
203 |
+
foreach( $keys as $key ) {
|
204 |
+
|
205 |
+
// vars
|
206 |
+
$field_group = acf_get_local_field_group( $key );
|
207 |
+
|
208 |
+
|
209 |
+
// attempt get id
|
210 |
+
$id = acf_maybe_get( $ids, $key );
|
211 |
+
|
212 |
+
if( $id ) {
|
213 |
+
|
214 |
+
$field_group['ID'] = $id;
|
215 |
+
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
// append fields
|
220 |
+
if( acf_have_local_fields($key) ) {
|
221 |
+
|
222 |
+
$field_group['fields'] = acf_get_local_fields( $key );
|
223 |
+
|
224 |
+
}
|
225 |
+
|
226 |
+
|
227 |
+
// import
|
228 |
+
$field_group = acf_import_field_group( $field_group );
|
229 |
+
|
230 |
+
|
231 |
+
// append message
|
232 |
+
$imported[] = array(
|
233 |
+
'ID' => $field_group['ID'],
|
234 |
+
'title' => $field_group['title'],
|
235 |
+
'updated' => $id ? 1 : 0
|
236 |
+
);
|
237 |
+
|
238 |
+
}
|
239 |
+
|
240 |
+
|
241 |
+
// messages
|
242 |
+
if( !empty($imported) ) {
|
243 |
+
|
244 |
+
// vars
|
245 |
+
$links = array();
|
246 |
+
$count = count($imported);
|
247 |
+
$message = sprintf(_n( 'Imported 1 field group', 'Imported %s field groups', $count, 'acf' ), $count) . '.';
|
248 |
+
|
249 |
+
|
250 |
+
// populate links
|
251 |
+
foreach( $imported as $import ) {
|
252 |
+
|
253 |
+
$links[] = '<a href="' . admin_url("post.php?post={$import['ID']}&action=edit") . '" target="_blank">' . $import['title'] . '</a>';
|
254 |
+
|
255 |
+
}
|
256 |
+
|
257 |
+
|
258 |
+
// append links
|
259 |
+
$message .= ' ' . implode(', ', $links);
|
260 |
+
|
261 |
+
|
262 |
+
// add notice
|
263 |
+
acf_add_admin_notice( $message );
|
264 |
+
|
265 |
+
}
|
266 |
+
|
267 |
+
}
|
268 |
+
|
269 |
+
|
270 |
+
}
|
271 |
+
|
272 |
+
// initialize
|
273 |
+
acf_register_admin_tool( 'acf_admin_tool_import' );
|
274 |
+
|
275 |
+
endif; // class_exists check
|
276 |
+
|
277 |
+
?>
|
includes/admin/tools/class-acf-admin-tool.php
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
+
|
5 |
+
if( ! class_exists('ACF_Admin_Tool') ) :
|
6 |
+
|
7 |
+
class ACF_Admin_Tool {
|
8 |
+
|
9 |
+
|
10 |
+
/** @var string Tool name */
|
11 |
+
var $name = '';
|
12 |
+
|
13 |
+
|
14 |
+
/** @var string Tool title */
|
15 |
+
var $title = '';
|
16 |
+
|
17 |
+
|
18 |
+
/** @var string Dashicon slug */
|
19 |
+
//var $icon = '';
|
20 |
+
|
21 |
+
|
22 |
+
/** @var boolean Redirect form to single */
|
23 |
+
//var $redirect = false;
|
24 |
+
|
25 |
+
|
26 |
+
/**
|
27 |
+
* get_name
|
28 |
+
*
|
29 |
+
* This function will return the Tool's name
|
30 |
+
*
|
31 |
+
* @date 19/10/17
|
32 |
+
* @since 5.6.3
|
33 |
+
*
|
34 |
+
* @param n/a
|
35 |
+
* @return n/a
|
36 |
+
*/
|
37 |
+
|
38 |
+
function get_name() {
|
39 |
+
return $this->name;
|
40 |
+
}
|
41 |
+
|
42 |
+
|
43 |
+
/**
|
44 |
+
* get_title
|
45 |
+
*
|
46 |
+
* This function will return the Tool's title
|
47 |
+
*
|
48 |
+
* @date 19/10/17
|
49 |
+
* @since 5.6.3
|
50 |
+
*
|
51 |
+
* @param n/a
|
52 |
+
* @return n/a
|
53 |
+
*/
|
54 |
+
|
55 |
+
function get_title() {
|
56 |
+
return $this->title;
|
57 |
+
}
|
58 |
+
|
59 |
+
|
60 |
+
/**
|
61 |
+
* get_url
|
62 |
+
*
|
63 |
+
* This function will return the Tool's title
|
64 |
+
*
|
65 |
+
* @date 19/10/17
|
66 |
+
* @since 5.6.3
|
67 |
+
*
|
68 |
+
* @param n/a
|
69 |
+
* @return n/a
|
70 |
+
*/
|
71 |
+
|
72 |
+
function get_url() {
|
73 |
+
return acf_get_admin_tool_url( $this->name );
|
74 |
+
}
|
75 |
+
|
76 |
+
|
77 |
+
/**
|
78 |
+
* is_active
|
79 |
+
*
|
80 |
+
* This function will return true if the tool is active
|
81 |
+
*
|
82 |
+
* @date 19/10/17
|
83 |
+
* @since 5.6.3
|
84 |
+
*
|
85 |
+
* @param n/a
|
86 |
+
* @return bool
|
87 |
+
*/
|
88 |
+
|
89 |
+
function is_active() {
|
90 |
+
return acf_maybe_get_GET('tool') === $this->name;
|
91 |
+
}
|
92 |
+
|
93 |
+
|
94 |
+
/*
|
95 |
+
* __construct
|
96 |
+
*
|
97 |
+
* This function will setup the class functionality
|
98 |
+
*
|
99 |
+
* @type function
|
100 |
+
* @date 27/6/17
|
101 |
+
* @since 5.6.0
|
102 |
+
*
|
103 |
+
* @param n/a
|
104 |
+
* @return n/a
|
105 |
+
*/
|
106 |
+
|
107 |
+
function __construct() {
|
108 |
+
|
109 |
+
// initialize
|
110 |
+
$this->initialize();
|
111 |
+
|
112 |
+
}
|
113 |
+
|
114 |
+
|
115 |
+
/**
|
116 |
+
* initialize
|
117 |
+
*
|
118 |
+
* This function will initialize the admin tool
|
119 |
+
*
|
120 |
+
* @date 10/10/17
|
121 |
+
* @since 5.6.3
|
122 |
+
*
|
123 |
+
* @param n/a
|
124 |
+
* @return n/a
|
125 |
+
*/
|
126 |
+
|
127 |
+
function initialize() {
|
128 |
+
|
129 |
+
/* do nothing */
|
130 |
+
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
/**
|
136 |
+
* load
|
137 |
+
*
|
138 |
+
* This function is called during the admin page load
|
139 |
+
*
|
140 |
+
* @date 10/10/17
|
141 |
+
* @since 5.6.3
|
142 |
+
*
|
143 |
+
* @param n/a
|
144 |
+
* @return n/a
|
145 |
+
*/
|
146 |
+
|
147 |
+
function load() {
|
148 |
+
|
149 |
+
/* do nothing */
|
150 |
+
|
151 |
+
}
|
152 |
+
|
153 |
+
|
154 |
+
/**
|
155 |
+
* html
|
156 |
+
*
|
157 |
+
* This function will output the metabox HTML
|
158 |
+
*
|
159 |
+
* @date 10/10/17
|
160 |
+
* @since 5.6.3
|
161 |
+
*
|
162 |
+
* @param n/a
|
163 |
+
* @return n/a
|
164 |
+
*/
|
165 |
+
|
166 |
+
function html() {
|
167 |
+
|
168 |
+
|
169 |
+
|
170 |
+
}
|
171 |
+
|
172 |
+
|
173 |
+
/**
|
174 |
+
* submit
|
175 |
+
*
|
176 |
+
* This function will run when the tool's form has been submit
|
177 |
+
*
|
178 |
+
* @date 10/10/17
|
179 |
+
* @since 5.6.3
|
180 |
+
*
|
181 |
+
* @param n/a
|
182 |
+
* @return n/a
|
183 |
+
*/
|
184 |
+
|
185 |
+
function submit() {
|
186 |
+
|
187 |
+
|
188 |
+
}
|
189 |
+
|
190 |
+
|
191 |
+
}
|
192 |
+
|
193 |
+
endif; // class_exists check
|
194 |
+
|
195 |
+
?>
|
includes/admin/views/html-admin-tools.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* html-admin-tools
|
5 |
+
*
|
6 |
+
* View to output admin tools for both archive and single
|
7 |
+
*
|
8 |
+
* @date 20/10/17
|
9 |
+
* @since 5.6.3
|
10 |
+
*
|
11 |
+
* @param string $screen_id The screen ID used to display metaboxes
|
12 |
+
* @param string $active The active Tool
|
13 |
+
* @return n/a
|
14 |
+
*/
|
15 |
+
|
16 |
+
$class = $active ? 'single' : 'grid';
|
17 |
+
|
18 |
+
?>
|
19 |
+
<div class="wrap" id="acf-admin-tools">
|
20 |
+
|
21 |
+
<h1><?php _e('Tools', 'acf'); ?> <?php if( $active ): ?><a class="page-title-action" href="<?php echo acf_get_admin_tools_url(); ?>">Back to all tools</a><?php endif; ?></h1>
|
22 |
+
|
23 |
+
<div class="acf-meta-box-wrap -<?php echo $class; ?>">
|
24 |
+
<?php do_meta_boxes( $screen_id, 'normal', '' ); ?>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
</div>
|
includes/admin/views/settings-tools-export.php
DELETED
@@ -1,108 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// replace
|
4 |
-
$str_replace = array(
|
5 |
-
" " => "\t",
|
6 |
-
"'!!__(!!\'" => "__('",
|
7 |
-
"!!\', !!\'" => "', '",
|
8 |
-
"!!\')!!'" => "')"
|
9 |
-
);
|
10 |
-
|
11 |
-
$preg_replace = array(
|
12 |
-
'/([\t\r\n]+?)array/' => 'array',
|
13 |
-
'/[0-9]+ => array/' => 'array'
|
14 |
-
);
|
15 |
-
|
16 |
-
?>
|
17 |
-
<div class="wrap acf-settings-wrap">
|
18 |
-
|
19 |
-
<h1><?php _e('Tools', 'acf'); ?></h1>
|
20 |
-
|
21 |
-
<div class="acf-box">
|
22 |
-
<div class="title">
|
23 |
-
<h3><?php _e('Export Field Groups to PHP', 'acf'); ?></h3>
|
24 |
-
</div>
|
25 |
-
|
26 |
-
<div class="inner">
|
27 |
-
<p><?php _e("The following code can be used to register a local version of the selected field group(s). A local field group can provide many benefits such as faster load times, version control & dynamic fields/settings. Simply copy and paste the following code to your theme's functions.php file or include it within an external file.", 'acf'); ?></p>
|
28 |
-
|
29 |
-
<textarea class="pre" readonly="true"><?php
|
30 |
-
|
31 |
-
echo "if( function_exists('acf_add_local_field_group') ):" . "\r\n" . "\r\n";
|
32 |
-
|
33 |
-
foreach( $field_groups as $field_group ) {
|
34 |
-
|
35 |
-
// code
|
36 |
-
$code = var_export($field_group, true);
|
37 |
-
|
38 |
-
|
39 |
-
// change double spaces to tabs
|
40 |
-
$code = str_replace( array_keys($str_replace), array_values($str_replace), $code );
|
41 |
-
|
42 |
-
|
43 |
-
// correctly formats "=> array("
|
44 |
-
$code = preg_replace( array_keys($preg_replace), array_values($preg_replace), $code );
|
45 |
-
|
46 |
-
|
47 |
-
// esc_textarea
|
48 |
-
$code = esc_textarea( $code );
|
49 |
-
|
50 |
-
|
51 |
-
// echo
|
52 |
-
echo "acf_add_local_field_group({$code});" . "\r\n" . "\r\n";
|
53 |
-
|
54 |
-
}
|
55 |
-
|
56 |
-
echo "endif;";
|
57 |
-
|
58 |
-
?></textarea>
|
59 |
-
|
60 |
-
</div>
|
61 |
-
|
62 |
-
</div>
|
63 |
-
|
64 |
-
</div>
|
65 |
-
<div class="acf-hidden">
|
66 |
-
<style type="text/css">
|
67 |
-
textarea.pre {
|
68 |
-
width: 100%;
|
69 |
-
padding: 15px;
|
70 |
-
font-size: 14px;
|
71 |
-
line-height: 1.5em;
|
72 |
-
resize: none;
|
73 |
-
}
|
74 |
-
</style>
|
75 |
-
<script type="text/javascript">
|
76 |
-
(function($){
|
77 |
-
|
78 |
-
var i = 0;
|
79 |
-
|
80 |
-
$(document).on('click', 'textarea.pre', function(){
|
81 |
-
|
82 |
-
if( i == 0 )
|
83 |
-
{
|
84 |
-
i++;
|
85 |
-
|
86 |
-
$(this).focus().select();
|
87 |
-
|
88 |
-
return false;
|
89 |
-
}
|
90 |
-
|
91 |
-
});
|
92 |
-
|
93 |
-
$(document).on('keyup', 'textarea.pre', function(){
|
94 |
-
|
95 |
-
$(this).height( 0 );
|
96 |
-
$(this).height( this.scrollHeight );
|
97 |
-
|
98 |
-
});
|
99 |
-
|
100 |
-
$(document).ready(function(){
|
101 |
-
|
102 |
-
$('textarea.pre').trigger('keyup');
|
103 |
-
|
104 |
-
});
|
105 |
-
|
106 |
-
})(jQuery);
|
107 |
-
</script>
|
108 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/views/settings-tools.php
DELETED
@@ -1,98 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// vars
|
4 |
-
$field = array(
|
5 |
-
'label' => __('Select Field Groups', 'acf'),
|
6 |
-
'type' => 'checkbox',
|
7 |
-
'name' => 'acf_export_keys',
|
8 |
-
'prefix' => false,
|
9 |
-
'value' => false,
|
10 |
-
'toggle' => true,
|
11 |
-
'choices' => array(),
|
12 |
-
);
|
13 |
-
|
14 |
-
$field_groups = acf_get_field_groups();
|
15 |
-
|
16 |
-
|
17 |
-
// populate choices
|
18 |
-
if( $field_groups ) {
|
19 |
-
|
20 |
-
foreach( $field_groups as $field_group ) {
|
21 |
-
|
22 |
-
$field['choices'][ $field_group['key'] ] = esc_html( $field_group['title'] );
|
23 |
-
|
24 |
-
}
|
25 |
-
|
26 |
-
}
|
27 |
-
|
28 |
-
?>
|
29 |
-
<div class="wrap acf-settings-wrap">
|
30 |
-
|
31 |
-
<h1><?php _e('Tools', 'acf'); ?></h1>
|
32 |
-
|
33 |
-
<div class="acf-box" id="acf-export-field-groups">
|
34 |
-
<div class="title">
|
35 |
-
<h3><?php _e('Export Field Groups', 'acf'); ?></h3>
|
36 |
-
</div>
|
37 |
-
<div class="inner">
|
38 |
-
<p><?php _e('Select the field groups you would like to export and then select your export method. Use the download button to export to a .json file which you can then import to another ACF installation. Use the generate button to export to PHP code which you can place in your theme.', 'acf'); ?></p>
|
39 |
-
|
40 |
-
<form method="post" action="">
|
41 |
-
<div class="acf-hidden">
|
42 |
-
<?php acf_nonce_input('export'); ?>
|
43 |
-
</div>
|
44 |
-
<table class="form-table">
|
45 |
-
<tbody>
|
46 |
-
<?php acf_render_field_wrap( $field, 'tr' ); ?>
|
47 |
-
<tr>
|
48 |
-
<th></th>
|
49 |
-
<td>
|
50 |
-
<input type="submit" name="download" class="button button-primary" value="<?php _e('Download export file', 'acf'); ?>" />
|
51 |
-
<input type="submit" name="generate" class="button button-primary" value="<?php _e('Generate export code', 'acf'); ?>" />
|
52 |
-
</td>
|
53 |
-
</tr>
|
54 |
-
</tbody>
|
55 |
-
</table>
|
56 |
-
</form>
|
57 |
-
|
58 |
-
</div>
|
59 |
-
</div>
|
60 |
-
|
61 |
-
|
62 |
-
<div class="acf-box">
|
63 |
-
<div class="title">
|
64 |
-
<h3><?php _e('Import Field Groups', 'acf'); ?></h3>
|
65 |
-
</div>
|
66 |
-
<div class="inner">
|
67 |
-
<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>
|
68 |
-
|
69 |
-
<form method="post" action="" enctype="multipart/form-data">
|
70 |
-
<div class="acf-hidden">
|
71 |
-
<?php acf_nonce_input('import'); ?>
|
72 |
-
</div>
|
73 |
-
<table class="form-table">
|
74 |
-
<tbody>
|
75 |
-
<tr>
|
76 |
-
<th>
|
77 |
-
<label><?php _e('Select File', 'acf'); ?></label>
|
78 |
-
</th>
|
79 |
-
<td>
|
80 |
-
<input type="file" name="acf_import_file">
|
81 |
-
</td>
|
82 |
-
</tr>
|
83 |
-
<tr>
|
84 |
-
<th></th>
|
85 |
-
<td>
|
86 |
-
<input type="submit" class="button button-primary" value="<?php _e('Import', 'acf'); ?>" />
|
87 |
-
</td>
|
88 |
-
</tr>
|
89 |
-
</tbody>
|
90 |
-
</table>
|
91 |
-
</form>
|
92 |
-
|
93 |
-
</div>
|
94 |
-
|
95 |
-
|
96 |
-
</div>
|
97 |
-
|
98 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/api/api-field.php
CHANGED
@@ -510,14 +510,17 @@ function acf_render_field_wrap( $field, $el = 'div', $instruction = 'label' ) {
|
|
510 |
?>
|
511 |
<<?php echo $el; ?> <?php acf_esc_attr_e($wrapper); ?>>
|
512 |
<?php if( $show_label ): ?>
|
513 |
-
<<?php echo $el2; ?> class="acf-label"
|
514 |
-
|
515 |
-
|
516 |
-
|
|
|
|
|
|
|
517 |
<?php endif; ?>
|
518 |
<<?php echo $el2; ?> class="acf-input">
|
519 |
<?php acf_render_field( $field ); ?>
|
520 |
-
<?php if( $instruction == 'field' )
|
521 |
<?php if( !empty($field['conditional_logic']) ): ?>
|
522 |
<script type="text/javascript">
|
523 |
if( typeof acf !== 'undefined' ) {
|
@@ -533,7 +536,7 @@ function acf_render_field_wrap( $field, $el = 'div', $instruction = 'label' ) {
|
|
533 |
|
534 |
|
535 |
/**
|
536 |
-
*
|
537 |
*
|
538 |
* This function will maybe output the field's label
|
539 |
*
|
@@ -544,7 +547,7 @@ function acf_render_field_wrap( $field, $el = 'div', $instruction = 'label' ) {
|
|
544 |
* @return n/a
|
545 |
*/
|
546 |
|
547 |
-
function
|
548 |
|
549 |
// vars
|
550 |
$label = acf_get_field_label( $field );
|
@@ -552,16 +555,20 @@ function acf_the_field_wrap_label( $field ) {
|
|
552 |
|
553 |
// check
|
554 |
if( $label ) {
|
555 |
-
|
556 |
echo '<label' . ($field['id'] ? ' for="' . esc_attr($field['id']) . '"' : '' ) . '>' . acf_esc_html($label) . '</label>';
|
557 |
-
|
558 |
}
|
559 |
|
560 |
}
|
561 |
|
562 |
|
|
|
|
|
|
|
|
|
|
|
|
|
563 |
/**
|
564 |
-
*
|
565 |
*
|
566 |
* This function will maybe output the field's instructions
|
567 |
*
|
@@ -572,7 +579,7 @@ function acf_the_field_wrap_label( $field ) {
|
|
572 |
* @return n/a
|
573 |
*/
|
574 |
|
575 |
-
function
|
576 |
|
577 |
// vars
|
578 |
$instructions = $field['instructions'];
|
@@ -580,14 +587,18 @@ function acf_the_field_wrap_instructions( $field ) {
|
|
580 |
|
581 |
// check
|
582 |
if( $instructions ) {
|
583 |
-
|
584 |
echo '<p class="description">' . acf_esc_html($instructions) . '</p>';
|
585 |
-
|
586 |
}
|
587 |
|
588 |
}
|
589 |
|
590 |
|
|
|
|
|
|
|
|
|
|
|
|
|
591 |
/*
|
592 |
* acf_render_field_setting
|
593 |
*
|
@@ -2010,6 +2021,4 @@ function acf_prefix_fields( &$fields, $prefix = 'acf' ) {
|
|
2010 |
|
2011 |
}
|
2012 |
|
2013 |
-
|
2014 |
-
|
2015 |
-
?>
|
510 |
?>
|
511 |
<<?php echo $el; ?> <?php acf_esc_attr_e($wrapper); ?>>
|
512 |
<?php if( $show_label ): ?>
|
513 |
+
<<?php echo $el2; ?> class="acf-label"><?php
|
514 |
+
|
515 |
+
acf_render_field_label( $field );
|
516 |
+
|
517 |
+
if( $instruction == 'label' ) acf_render_field_instructions( $field );
|
518 |
+
|
519 |
+
?></<?php echo $el2; ?>>
|
520 |
<?php endif; ?>
|
521 |
<<?php echo $el2; ?> class="acf-input">
|
522 |
<?php acf_render_field( $field ); ?>
|
523 |
+
<?php if( $instruction == 'field' ) acf_render_field_instructions( $field ); ?>
|
524 |
<?php if( !empty($field['conditional_logic']) ): ?>
|
525 |
<script type="text/javascript">
|
526 |
if( typeof acf !== 'undefined' ) {
|
536 |
|
537 |
|
538 |
/**
|
539 |
+
* acf_render_field_label
|
540 |
*
|
541 |
* This function will maybe output the field's label
|
542 |
*
|
547 |
* @return n/a
|
548 |
*/
|
549 |
|
550 |
+
function acf_render_field_label( $field ) {
|
551 |
|
552 |
// vars
|
553 |
$label = acf_get_field_label( $field );
|
555 |
|
556 |
// check
|
557 |
if( $label ) {
|
|
|
558 |
echo '<label' . ($field['id'] ? ' for="' . esc_attr($field['id']) . '"' : '' ) . '>' . acf_esc_html($label) . '</label>';
|
|
|
559 |
}
|
560 |
|
561 |
}
|
562 |
|
563 |
|
564 |
+
/* depreciated since 5.6.5 */
|
565 |
+
function acf_render_field_wrap_label( $field ) {
|
566 |
+
acf_render_field_label( $field );
|
567 |
+
}
|
568 |
+
|
569 |
+
|
570 |
/**
|
571 |
+
* acf_render_field_instructions
|
572 |
*
|
573 |
* This function will maybe output the field's instructions
|
574 |
*
|
579 |
* @return n/a
|
580 |
*/
|
581 |
|
582 |
+
function acf_render_field_instructions( $field ) {
|
583 |
|
584 |
// vars
|
585 |
$instructions = $field['instructions'];
|
587 |
|
588 |
// check
|
589 |
if( $instructions ) {
|
|
|
590 |
echo '<p class="description">' . acf_esc_html($instructions) . '</p>';
|
|
|
591 |
}
|
592 |
|
593 |
}
|
594 |
|
595 |
|
596 |
+
/* depreciated since 5.6.5 */
|
597 |
+
function acf_render_field_wrap_description( $field ) {
|
598 |
+
acf_render_field_instructions( $field );
|
599 |
+
}
|
600 |
+
|
601 |
+
|
602 |
/*
|
603 |
* acf_render_field_setting
|
604 |
*
|
2021 |
|
2022 |
}
|
2023 |
|
2024 |
+
?>
|
|
|
|
includes/api/api-helpers.php
CHANGED
@@ -538,7 +538,8 @@ function acf_nonce_input( $nonce = '' ) {
|
|
538 |
function acf_extract_var( &$array, $key, $default = null ) {
|
539 |
|
540 |
// check if exists
|
541 |
-
|
|
|
542 |
|
543 |
// store value
|
544 |
$v = $array[ $key ];
|
@@ -1648,7 +1649,7 @@ function _acf_query_remove_post_type( $sql ) {
|
|
1648 |
function acf_get_grouped_posts( $args ) {
|
1649 |
|
1650 |
// vars
|
1651 |
-
$
|
1652 |
|
1653 |
|
1654 |
// defaults
|
@@ -1667,18 +1668,19 @@ function acf_get_grouped_posts( $args ) {
|
|
1667 |
// find array of post_type
|
1668 |
$post_types = acf_get_array( $args['post_type'] );
|
1669 |
$post_types_labels = acf_get_pretty_post_types($post_types);
|
|
|
1670 |
|
1671 |
|
1672 |
// attachment doesn't work if it is the only item in an array
|
1673 |
-
if(
|
1674 |
-
|
1675 |
$args['post_type'] = current($post_types);
|
1676 |
-
|
1677 |
}
|
1678 |
|
1679 |
|
1680 |
// add filter to orderby post type
|
1681 |
-
|
|
|
|
|
1682 |
|
1683 |
|
1684 |
// get posts
|
@@ -1686,7 +1688,9 @@ function acf_get_grouped_posts( $args ) {
|
|
1686 |
|
1687 |
|
1688 |
// remove this filter (only once)
|
1689 |
-
|
|
|
|
|
1690 |
|
1691 |
|
1692 |
// loop
|
@@ -1698,91 +1702,78 @@ function acf_get_grouped_posts( $args ) {
|
|
1698 |
|
1699 |
|
1700 |
// populate $this_posts
|
1701 |
-
foreach(
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
$this_posts[] = acf_extract_var( $posts, $key );
|
1706 |
-
|
1707 |
}
|
1708 |
-
|
1709 |
}
|
1710 |
|
1711 |
|
1712 |
// bail early if no posts for this post type
|
1713 |
if( empty($this_posts) ) continue;
|
1714 |
-
|
1715 |
|
1716 |
// sort into hierachial order!
|
1717 |
// this will fail if a search has taken place because parents wont exist
|
1718 |
if( is_post_type_hierarchical($post_type) && empty($args['s'])) {
|
1719 |
|
1720 |
// vars
|
1721 |
-
$
|
|
|
1722 |
$offset = 0;
|
1723 |
$length = count($this_posts);
|
1724 |
-
$parent = acf_maybe_get( $args, 'post_parent', 0 );
|
1725 |
|
1726 |
|
1727 |
-
// get all posts
|
1728 |
-
$
|
1729 |
'posts_per_page' => -1,
|
1730 |
'paged' => 0,
|
1731 |
'post_type' => $post_type
|
1732 |
-
));
|
1733 |
|
1734 |
-
$all_posts = get_posts( $all_args );
|
1735 |
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
}
|
1743 |
|
1744 |
|
1745 |
// order posts
|
1746 |
-
$ordered_posts = get_page_children(
|
1747 |
|
1748 |
|
1749 |
-
//
|
1750 |
-
if
|
1751 |
-
|
|
|
1752 |
$this_posts = array_slice($ordered_posts, $offset, $length);
|
1753 |
-
|
1754 |
}
|
1755 |
|
1756 |
}
|
1757 |
|
1758 |
|
1759 |
// populate $this_posts
|
1760 |
-
foreach(
|
1761 |
-
|
1762 |
-
// extract post
|
1763 |
-
$post = acf_extract_var( $this_posts, $key );
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
// add to group
|
1768 |
$this_group[ $post->ID ] = $post;
|
1769 |
-
|
1770 |
}
|
1771 |
|
1772 |
|
1773 |
// group by post type
|
1774 |
-
$
|
1775 |
-
|
1776 |
-
$r[ $post_type_name ] = $this_group;
|
1777 |
|
1778 |
}
|
1779 |
|
1780 |
|
1781 |
// return
|
1782 |
-
return $
|
1783 |
|
1784 |
}
|
1785 |
|
|
|
1786 |
function _acf_orderby_post_type( $ordeby, $wp_query ) {
|
1787 |
|
1788 |
// global
|
@@ -1850,6 +1841,8 @@ function acf_get_post_title( $post = 0, $is_search = false ) {
|
|
1850 |
|
1851 |
|
1852 |
// add parent
|
|
|
|
|
1853 |
if( $is_search && !empty($ancestors) ) {
|
1854 |
|
1855 |
// reverse
|
@@ -1868,6 +1861,7 @@ function acf_get_post_title( $post = 0, $is_search = false ) {
|
|
1868 |
$append .= ' | ' . __('Parent', 'acf') . ': ' . implode(' / ', $ancestors);
|
1869 |
|
1870 |
}
|
|
|
1871 |
|
1872 |
}
|
1873 |
|
538 |
function acf_extract_var( &$array, $key, $default = null ) {
|
539 |
|
540 |
// check if exists
|
541 |
+
// - uses array_key_exists to extract NULL values (isset will fail)
|
542 |
+
if( is_array($array) && array_key_exists($key, $array) ) {
|
543 |
|
544 |
// store value
|
545 |
$v = $array[ $key ];
|
1649 |
function acf_get_grouped_posts( $args ) {
|
1650 |
|
1651 |
// vars
|
1652 |
+
$data = array();
|
1653 |
|
1654 |
|
1655 |
// defaults
|
1668 |
// find array of post_type
|
1669 |
$post_types = acf_get_array( $args['post_type'] );
|
1670 |
$post_types_labels = acf_get_pretty_post_types($post_types);
|
1671 |
+
$is_single_post_type = ( count($post_types) == 1 );
|
1672 |
|
1673 |
|
1674 |
// attachment doesn't work if it is the only item in an array
|
1675 |
+
if( $is_single_post_type) {
|
|
|
1676 |
$args['post_type'] = current($post_types);
|
|
|
1677 |
}
|
1678 |
|
1679 |
|
1680 |
// add filter to orderby post type
|
1681 |
+
if( !$is_single_post_type ) {
|
1682 |
+
add_filter('posts_orderby', '_acf_orderby_post_type', 10, 2);
|
1683 |
+
}
|
1684 |
|
1685 |
|
1686 |
// get posts
|
1688 |
|
1689 |
|
1690 |
// remove this filter (only once)
|
1691 |
+
if( !$is_single_post_type ) {
|
1692 |
+
remove_filter('posts_orderby', '_acf_orderby_post_type', 10, 2);
|
1693 |
+
}
|
1694 |
|
1695 |
|
1696 |
// loop
|
1702 |
|
1703 |
|
1704 |
// populate $this_posts
|
1705 |
+
foreach( $posts as $post ) {
|
1706 |
+
if( $post->post_type == $post_type ) {
|
1707 |
+
$this_posts[] = $post;
|
|
|
|
|
|
|
1708 |
}
|
|
|
1709 |
}
|
1710 |
|
1711 |
|
1712 |
// bail early if no posts for this post type
|
1713 |
if( empty($this_posts) ) continue;
|
1714 |
+
|
1715 |
|
1716 |
// sort into hierachial order!
|
1717 |
// this will fail if a search has taken place because parents wont exist
|
1718 |
if( is_post_type_hierarchical($post_type) && empty($args['s'])) {
|
1719 |
|
1720 |
// vars
|
1721 |
+
$post_id = $this_posts[0]->ID;
|
1722 |
+
$parent_id = acf_maybe_get($args, 'post_parent', 0);
|
1723 |
$offset = 0;
|
1724 |
$length = count($this_posts);
|
|
|
1725 |
|
1726 |
|
1727 |
+
// get all posts from this post type
|
1728 |
+
$all_posts = get_posts(array_merge($args, array(
|
1729 |
'posts_per_page' => -1,
|
1730 |
'paged' => 0,
|
1731 |
'post_type' => $post_type
|
1732 |
+
)));
|
1733 |
|
|
|
1734 |
|
1735 |
+
// find starting point (offset)
|
1736 |
+
foreach( $all_posts as $i => $post ) {
|
1737 |
+
if( $post->ID == $post_id ) {
|
1738 |
+
$offset = $i;
|
1739 |
+
break;
|
1740 |
+
}
|
1741 |
}
|
1742 |
|
1743 |
|
1744 |
// order posts
|
1745 |
+
$ordered_posts = get_page_children($parent_id, $all_posts);
|
1746 |
|
1747 |
|
1748 |
+
// compare aray lengths
|
1749 |
+
// if $ordered_posts is smaller than $all_posts, WP has lost posts during the get_page_children() function
|
1750 |
+
// this is possible when get_post( $args ) filter out parents (via taxonomy, meta and other search parameters)
|
1751 |
+
if( count($ordered_posts) == count($all_posts) ) {
|
1752 |
$this_posts = array_slice($ordered_posts, $offset, $length);
|
|
|
1753 |
}
|
1754 |
|
1755 |
}
|
1756 |
|
1757 |
|
1758 |
// populate $this_posts
|
1759 |
+
foreach( $this_posts as $post ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1760 |
$this_group[ $post->ID ] = $post;
|
|
|
1761 |
}
|
1762 |
|
1763 |
|
1764 |
// group by post type
|
1765 |
+
$label = $post_types_labels[ $post_type ];
|
1766 |
+
$data[ $label ] = $this_group;
|
|
|
1767 |
|
1768 |
}
|
1769 |
|
1770 |
|
1771 |
// return
|
1772 |
+
return $data;
|
1773 |
|
1774 |
}
|
1775 |
|
1776 |
+
|
1777 |
function _acf_orderby_post_type( $ordeby, $wp_query ) {
|
1778 |
|
1779 |
// global
|
1841 |
|
1842 |
|
1843 |
// add parent
|
1844 |
+
/*
|
1845 |
+
removed in 5.6.5 as not used by the UI
|
1846 |
if( $is_search && !empty($ancestors) ) {
|
1847 |
|
1848 |
// reverse
|
1861 |
$append .= ' | ' . __('Parent', 'acf') . ': ' . implode(' / ', $ancestors);
|
1862 |
|
1863 |
}
|
1864 |
+
*/
|
1865 |
|
1866 |
}
|
1867 |
|
includes/fields/class-acf-field-file.php
CHANGED
@@ -63,6 +63,10 @@ class acf_field_file extends acf_field {
|
|
63 |
$uploader = acf_get_setting('uploader');
|
64 |
|
65 |
|
|
|
|
|
|
|
|
|
66 |
// enqueue
|
67 |
if( $uploader == 'wp' ) {
|
68 |
acf_enqueue_uploader();
|
63 |
$uploader = acf_get_setting('uploader');
|
64 |
|
65 |
|
66 |
+
// allow custom uploader
|
67 |
+
$uploader = acf_maybe_get($field, 'uploader', $uploader);
|
68 |
+
|
69 |
+
|
70 |
// enqueue
|
71 |
if( $uploader == 'wp' ) {
|
72 |
acf_enqueue_uploader();
|
includes/fields/class-acf-field-group.php
CHANGED
@@ -407,8 +407,8 @@ class acf_field__group extends acf_field {
|
|
407 |
|
408 |
?>
|
409 |
<th <?php acf_esc_attr_e( $atts ); ?>>
|
410 |
-
<?php
|
411 |
-
<?php
|
412 |
</th>
|
413 |
<?php endforeach; ?>
|
414 |
</tr>
|
407 |
|
408 |
?>
|
409 |
<th <?php acf_esc_attr_e( $atts ); ?>>
|
410 |
+
<?php acf_render_field_label( $sub_field ); ?>
|
411 |
+
<?php acf_render_field_instructions( $sub_field ); ?>
|
412 |
</th>
|
413 |
<?php endforeach; ?>
|
414 |
</tr>
|
includes/forms/form-comment.php
CHANGED
@@ -277,20 +277,22 @@ class acf_form_comment {
|
|
277 |
function save_comment( $comment_id ) {
|
278 |
|
279 |
// bail early if not valid nonce
|
280 |
-
if( !
|
281 |
-
|
282 |
return $comment_id;
|
283 |
-
|
284 |
}
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
|
287 |
// validate and save
|
288 |
if( acf_validate_save_post(true) ) {
|
289 |
-
|
290 |
-
acf_save_post( "comment_{$comment_id}" );
|
291 |
-
|
292 |
}
|
293 |
-
|
294 |
}
|
295 |
|
296 |
|
277 |
function save_comment( $comment_id ) {
|
278 |
|
279 |
// bail early if not valid nonce
|
280 |
+
if( !acf_verify_nonce('comment') ) {
|
|
|
281 |
return $comment_id;
|
|
|
282 |
}
|
283 |
|
284 |
+
|
285 |
+
// kses
|
286 |
+
if( isset($_POST['acf']) ) {
|
287 |
+
$_POST['acf'] = wp_kses_post_deep( $_POST['acf'] );
|
288 |
+
}
|
289 |
+
|
290 |
|
291 |
// validate and save
|
292 |
if( acf_validate_save_post(true) ) {
|
293 |
+
acf_save_post( "comment_{$comment_id}" );
|
|
|
|
|
294 |
}
|
295 |
+
|
296 |
}
|
297 |
|
298 |
|
includes/forms/form-front.php
CHANGED
@@ -109,7 +109,8 @@ class acf_form_front {
|
|
109 |
'honeypot' => true,
|
110 |
'html_updated_message' => '<div id="message" class="updated"><p>%s</p></div>', // 5.5.10
|
111 |
'html_submit_button' => '<input type="submit" class="acf-button button button-primary button-large" value="%s" />', // 5.5.10
|
112 |
-
'html_submit_spinner' => '<span class="acf-spinner"></span>' // 5.5.10
|
|
|
113 |
));
|
114 |
|
115 |
$args['form_attributes'] = wp_parse_args( $args['form_attributes'], array(
|
@@ -359,20 +360,34 @@ class acf_form_front {
|
|
359 |
|
360 |
function check_submit_form() {
|
361 |
|
|
|
|
|
|
|
|
|
362 |
// bail ealry if form not submit
|
363 |
-
if(
|
364 |
|
365 |
|
366 |
-
//
|
367 |
-
|
368 |
|
369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
// validate data
|
371 |
acf_validate_save_post(true);
|
372 |
|
373 |
|
374 |
// submit
|
375 |
-
$this->submit_form();
|
376 |
|
377 |
}
|
378 |
|
@@ -390,20 +405,8 @@ class acf_form_front {
|
|
390 |
* @return n/a
|
391 |
*/
|
392 |
|
393 |
-
function submit_form() {
|
394 |
|
395 |
-
// vars
|
396 |
-
$form = @json_decode(acf_decrypt($_POST['_acf_form']), true);
|
397 |
-
|
398 |
-
|
399 |
-
// bail ealry if form is corrupt
|
400 |
-
if( empty($form) ) return;
|
401 |
-
|
402 |
-
|
403 |
-
// filter
|
404 |
-
$form = apply_filters('acf/pre_submit_form', $form);
|
405 |
-
|
406 |
-
|
407 |
// vars
|
408 |
$post_id = acf_maybe_get($form, 'post_id', 0);
|
409 |
|
109 |
'honeypot' => true,
|
110 |
'html_updated_message' => '<div id="message" class="updated"><p>%s</p></div>', // 5.5.10
|
111 |
'html_submit_button' => '<input type="submit" class="acf-button button button-primary button-large" value="%s" />', // 5.5.10
|
112 |
+
'html_submit_spinner' => '<span class="acf-spinner"></span>', // 5.5.10
|
113 |
+
'kses' => true // 5.6.5
|
114 |
));
|
115 |
|
116 |
$args['form_attributes'] = wp_parse_args( $args['form_attributes'], array(
|
360 |
|
361 |
function check_submit_form() {
|
362 |
|
363 |
+
// verify nonce
|
364 |
+
if( !acf_verify_nonce('acf_form') ) return;
|
365 |
+
|
366 |
+
|
367 |
// bail ealry if form not submit
|
368 |
+
if( empty($_POST['_acf_form']) ) return;
|
369 |
|
370 |
|
371 |
+
// load form
|
372 |
+
$form = json_decode( acf_decrypt($_POST['_acf_form']), true );
|
373 |
|
374 |
|
375 |
+
// bail ealry if form is corrupt
|
376 |
+
if( empty($form) ) return;
|
377 |
+
|
378 |
+
|
379 |
+
// kses
|
380 |
+
if( $form['kses'] && isset($_POST['acf']) ) {
|
381 |
+
$_POST['acf'] = wp_kses_post_deep( $_POST['acf'] );
|
382 |
+
}
|
383 |
+
|
384 |
+
|
385 |
// validate data
|
386 |
acf_validate_save_post(true);
|
387 |
|
388 |
|
389 |
// submit
|
390 |
+
$this->submit_form( $form );
|
391 |
|
392 |
}
|
393 |
|
405 |
* @return n/a
|
406 |
*/
|
407 |
|
408 |
+
function submit_form( $form ) {
|
409 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
// vars
|
411 |
$post_id = acf_maybe_get($form, 'post_id', 0);
|
412 |
|
includes/locations/class-acf-location-page-type.php
CHANGED
@@ -66,7 +66,7 @@ class acf_location_page_type extends acf_location {
|
|
66 |
|
67 |
|
68 |
// compare
|
69 |
-
$
|
70 |
|
71 |
} elseif( $rule['value'] == 'posts_page') {
|
72 |
|
@@ -75,7 +75,7 @@ class acf_location_page_type extends acf_location {
|
|
75 |
|
76 |
|
77 |
// compare
|
78 |
-
$
|
79 |
|
80 |
} elseif( $rule['value'] == 'top_level') {
|
81 |
|
@@ -84,7 +84,7 @@ class acf_location_page_type extends acf_location {
|
|
84 |
|
85 |
|
86 |
// compare
|
87 |
-
$
|
88 |
|
89 |
} elseif( $rule['value'] == 'parent' ) {
|
90 |
|
@@ -98,7 +98,7 @@ class acf_location_page_type extends acf_location {
|
|
98 |
|
99 |
|
100 |
// compare
|
101 |
-
$
|
102 |
|
103 |
} elseif( $rule['value'] == 'child') {
|
104 |
|
@@ -107,21 +107,21 @@ class acf_location_page_type extends acf_location {
|
|
107 |
|
108 |
|
109 |
// compare
|
110 |
-
$
|
111 |
|
112 |
}
|
113 |
|
114 |
|
115 |
// reverse if 'not equal to'
|
116 |
-
if( $rule['operator']
|
117 |
|
118 |
-
$
|
119 |
|
120 |
}
|
121 |
|
122 |
|
123 |
// return
|
124 |
-
return $
|
125 |
|
126 |
}
|
127 |
|
66 |
|
67 |
|
68 |
// compare
|
69 |
+
$result = ( $front_page === $post->ID );
|
70 |
|
71 |
} elseif( $rule['value'] == 'posts_page') {
|
72 |
|
75 |
|
76 |
|
77 |
// compare
|
78 |
+
$result = ( $posts_page === $post->ID );
|
79 |
|
80 |
} elseif( $rule['value'] == 'top_level') {
|
81 |
|
84 |
|
85 |
|
86 |
// compare
|
87 |
+
$result = ( $page_parent == 0 );
|
88 |
|
89 |
} elseif( $rule['value'] == 'parent' ) {
|
90 |
|
98 |
|
99 |
|
100 |
// compare
|
101 |
+
$result = !empty( $children );
|
102 |
|
103 |
} elseif( $rule['value'] == 'child') {
|
104 |
|
107 |
|
108 |
|
109 |
// compare
|
110 |
+
$result = ( $page_parent > 0 );
|
111 |
|
112 |
}
|
113 |
|
114 |
|
115 |
// reverse if 'not equal to'
|
116 |
+
if( $rule['operator'] == '!=' ) {
|
117 |
|
118 |
+
$result = !$result;
|
119 |
|
120 |
}
|
121 |
|
122 |
|
123 |
// return
|
124 |
+
return $result;
|
125 |
|
126 |
}
|
127 |
|
lang/acf-ru_RU.mo
CHANGED
Binary file
|
lang/acf-ru_RU.po
CHANGED
@@ -2,15 +2,15 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
-
"POT-Creation-Date: 2017-
|
6 |
-
"PO-Revision-Date: 2017-
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: \n"
|
9 |
"Language: ru_RU\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -23,105 +23,103 @@ msgstr ""
|
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
|
26 |
-
#: acf.php:
|
27 |
-
#, fuzzy
|
28 |
msgid "Advanced Custom Fields"
|
29 |
msgstr "Advanced Custom Fields"
|
30 |
|
31 |
-
#: acf.php:
|
32 |
msgid "Field Groups"
|
33 |
msgstr "Группы полей"
|
34 |
|
35 |
-
#: acf.php:
|
36 |
msgid "Field Group"
|
37 |
msgstr "Группа полей"
|
38 |
|
39 |
-
#: acf.php:
|
40 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
41 |
msgid "Add New"
|
42 |
msgstr "Добавить"
|
43 |
|
44 |
-
#: acf.php:
|
45 |
msgid "Add New Field Group"
|
46 |
msgstr "Создание новой группы полей"
|
47 |
|
48 |
-
#: acf.php:
|
49 |
msgid "Edit Field Group"
|
50 |
msgstr "Редактирование группы полей"
|
51 |
|
52 |
-
#: acf.php:
|
53 |
msgid "New Field Group"
|
54 |
msgstr "Новая группа полей"
|
55 |
|
56 |
-
#: acf.php:
|
57 |
msgid "View Field Group"
|
58 |
msgstr "Просмотреть группу полей"
|
59 |
|
60 |
-
#: acf.php:
|
61 |
msgid "Search Field Groups"
|
62 |
msgstr "Поиск групп полей"
|
63 |
|
64 |
-
#: acf.php:
|
65 |
msgid "No Field Groups found"
|
66 |
msgstr "Группы полей не найдены."
|
67 |
|
68 |
-
#: acf.php:
|
69 |
msgid "No Field Groups found in Trash"
|
70 |
msgstr "Группы полей не найдены в корзине."
|
71 |
|
72 |
-
#: acf.php:
|
73 |
#: includes/admin/admin-field-group.php:275
|
74 |
#: includes/admin/admin-field-groups.php:510
|
75 |
-
#: pro/fields/class-acf-field-clone.php:
|
76 |
msgid "Fields"
|
77 |
msgstr "Поля"
|
78 |
|
79 |
-
#: acf.php:
|
80 |
msgid "Field"
|
81 |
msgstr "Поле"
|
82 |
|
83 |
-
#: acf.php:
|
84 |
msgid "Add New Field"
|
85 |
msgstr "Добавить новое поле"
|
86 |
|
87 |
-
#: acf.php:
|
88 |
msgid "Edit Field"
|
89 |
msgstr "Изменить поле"
|
90 |
|
91 |
-
#: acf.php:
|
92 |
#: includes/admin/views/settings-info.php:105
|
93 |
msgid "New Field"
|
94 |
msgstr "Новое поле"
|
95 |
|
96 |
-
#: acf.php:
|
97 |
msgid "View Field"
|
98 |
msgstr "Просмотреть поле"
|
99 |
|
100 |
-
#: acf.php:
|
101 |
msgid "Search Fields"
|
102 |
msgstr "Поиск полей"
|
103 |
|
104 |
-
#: acf.php:
|
105 |
msgid "No Fields found"
|
106 |
msgstr "Поля не найдены"
|
107 |
|
108 |
-
#: acf.php:
|
109 |
msgid "No Fields found in Trash"
|
110 |
msgstr "Поля не найдены в Корзине"
|
111 |
|
112 |
-
#: acf.php:
|
113 |
#: includes/admin/admin-field-groups.php:567
|
114 |
-
#, fuzzy
|
115 |
msgid "Inactive"
|
116 |
-
msgstr "
|
117 |
|
118 |
-
#: acf.php:
|
119 |
-
#,
|
120 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
121 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
122 |
-
msgstr[0] "
|
123 |
-
msgstr[1] "
|
124 |
-
msgstr[2] "
|
125 |
|
126 |
#: includes/admin/admin-field-group.php:68
|
127 |
#: includes/admin/admin-field-group.php:69
|
@@ -179,9 +177,9 @@ msgid "Field group title is required"
|
|
179 |
msgstr "Введите название для группы полей"
|
180 |
|
181 |
#: includes/admin/admin-field-group.php:273
|
182 |
-
#: includes/api/api-field-group.php:
|
183 |
msgid "copy"
|
184 |
-
msgstr "
|
185 |
|
186 |
#: includes/admin/admin-field-group.php:274
|
187 |
#: includes/admin/views/field-group-field-conditional-logic.php:54
|
@@ -310,11 +308,10 @@ msgstr "Статус"
|
|
310 |
#: includes/admin/admin-field-groups.php:607
|
311 |
msgid "Customise WordPress with powerful, professional and intuitive fields."
|
312 |
msgstr ""
|
313 |
-
"Настраивайте WordPress с помощью функциональных, мощных и интуитивных полей."
|
314 |
|
315 |
#: includes/admin/admin-field-groups.php:609
|
316 |
#: includes/admin/settings-info.php:76
|
317 |
-
#: pro/admin/views/html-settings-updates.php:
|
318 |
msgid "Changelog"
|
319 |
msgstr "Журнал изменений"
|
320 |
|
@@ -328,29 +325,25 @@ msgid "Resources"
|
|
328 |
msgstr "Источники"
|
329 |
|
330 |
#: includes/admin/admin-field-groups.php:619
|
331 |
-
#, fuzzy
|
332 |
msgid "Website"
|
333 |
msgstr "Сайт"
|
334 |
|
335 |
#: includes/admin/admin-field-groups.php:620
|
336 |
-
#, fuzzy
|
337 |
msgid "Documentation"
|
338 |
msgstr "Документация"
|
339 |
|
340 |
#: includes/admin/admin-field-groups.php:621
|
341 |
-
#, fuzzy
|
342 |
msgid "Support"
|
343 |
-
msgstr "
|
344 |
|
345 |
#: includes/admin/admin-field-groups.php:623
|
346 |
-
#, fuzzy
|
347 |
msgid "Pro"
|
348 |
-
msgstr "
|
349 |
|
350 |
#: includes/admin/admin-field-groups.php:628
|
351 |
-
#,
|
352 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
353 |
-
msgstr "
|
354 |
|
355 |
#: includes/admin/admin-field-groups.php:668
|
356 |
msgid "Duplicate this item"
|
@@ -359,12 +352,12 @@ msgstr "Дублировать элемент"
|
|
359 |
#: includes/admin/admin-field-groups.php:668
|
360 |
#: includes/admin/admin-field-groups.php:684
|
361 |
#: includes/admin/views/field-group-field.php:49
|
362 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
363 |
msgid "Duplicate"
|
364 |
msgstr "Дублировать"
|
365 |
|
366 |
#: includes/admin/admin-field-groups.php:701
|
367 |
-
#: includes/fields/class-acf-field-google-map.php:
|
368 |
#: includes/fields/class-acf-field-relationship.php:656
|
369 |
msgid "Search"
|
370 |
msgstr "Поиск"
|
@@ -388,9 +381,8 @@ msgid "Apply"
|
|
388 |
msgstr "Применить"
|
389 |
|
390 |
#: includes/admin/admin-field-groups.php:798
|
391 |
-
#, fuzzy
|
392 |
msgid "Bulk Actions"
|
393 |
-
msgstr "
|
394 |
|
395 |
#: includes/admin/admin.php:113
|
396 |
#: includes/admin/views/field-group-options.php:118
|
@@ -442,7 +434,7 @@ msgid "No field groups selected"
|
|
442 |
msgstr "Группы полей не выбраны"
|
443 |
|
444 |
#: includes/admin/settings-tools.php:184
|
445 |
-
#: includes/fields/class-acf-field-file.php:
|
446 |
msgid "No file selected"
|
447 |
msgstr "Файл не выбран"
|
448 |
|
@@ -495,8 +487,8 @@ msgid "Add rule group"
|
|
495 |
msgstr "Добавить группу условий"
|
496 |
|
497 |
#: includes/admin/views/field-group-field.php:41
|
498 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
499 |
-
#: pro/fields/class-acf-field-repeater.php:
|
500 |
msgid "Drag to reorder"
|
501 |
msgstr "Потяните для изменения порядка"
|
502 |
|
@@ -506,7 +498,8 @@ msgid "Edit field"
|
|
506 |
msgstr "Редактировать поле"
|
507 |
|
508 |
#: includes/admin/views/field-group-field.php:48
|
509 |
-
#: includes/fields/class-acf-field-
|
|
|
510 |
#: includes/fields/class-acf-field-link.php:139
|
511 |
#: pro/fields/class-acf-field-gallery.php:342
|
512 |
msgid "Edit"
|
@@ -529,7 +522,7 @@ msgid "Delete field"
|
|
529 |
msgstr "Удалить поле"
|
530 |
|
531 |
#: includes/admin/views/field-group-field.php:51
|
532 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
533 |
msgid "Delete"
|
534 |
msgstr "Удалить"
|
535 |
|
@@ -541,48 +534,48 @@ msgstr "Ярлык поля"
|
|
541 |
msgid "This is the name which will appear on the EDIT page"
|
542 |
msgstr "Имя поля на странице редактирования"
|
543 |
|
544 |
-
#: includes/admin/views/field-group-field.php:
|
545 |
msgid "Field Name"
|
546 |
msgstr "Имя поля"
|
547 |
|
548 |
-
#: includes/admin/views/field-group-field.php:
|
549 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
550 |
msgstr "Допускаются буквы, цифры, а также символы _ и -"
|
551 |
|
552 |
-
#: includes/admin/views/field-group-field.php:
|
553 |
msgid "Field Type"
|
554 |
msgstr "Тип поля"
|
555 |
|
556 |
-
#: includes/admin/views/field-group-field.php:
|
557 |
#: includes/fields/class-acf-field-tab.php:88
|
558 |
msgid "Instructions"
|
559 |
msgstr "Инструкции"
|
560 |
|
561 |
-
#: includes/admin/views/field-group-field.php:
|
562 |
msgid "Instructions for authors. Shown when submitting data"
|
563 |
-
msgstr "
|
564 |
|
565 |
-
#: includes/admin/views/field-group-field.php:
|
566 |
msgid "Required?"
|
567 |
msgstr "Обязательное поле"
|
568 |
|
569 |
-
#: includes/admin/views/field-group-field.php:
|
570 |
msgid "Wrapper Attributes"
|
571 |
msgstr "Атрибуты"
|
572 |
|
573 |
-
#: includes/admin/views/field-group-field.php:
|
574 |
msgid "width"
|
575 |
msgstr "ширина"
|
576 |
|
577 |
-
#: includes/admin/views/field-group-field.php:
|
578 |
msgid "class"
|
579 |
msgstr "class"
|
580 |
|
581 |
-
#: includes/admin/views/field-group-field.php:
|
582 |
msgid "id"
|
583 |
msgstr "id"
|
584 |
|
585 |
-
#: includes/admin/views/field-group-field.php:
|
586 |
msgid "Close Field"
|
587 |
msgstr "Закрыть поле"
|
588 |
|
@@ -591,23 +584,23 @@ msgid "Order"
|
|
591 |
msgstr "Сортировка"
|
592 |
|
593 |
#: includes/admin/views/field-group-fields.php:5
|
|
|
594 |
#: includes/fields/class-acf-field-checkbox.php:415
|
595 |
#: includes/fields/class-acf-field-radio.php:306
|
596 |
#: includes/fields/class-acf-field-select.php:432
|
597 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
598 |
msgid "Label"
|
599 |
msgstr "Ярлык"
|
600 |
|
601 |
#: includes/admin/views/field-group-fields.php:6
|
602 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
603 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
604 |
msgid "Name"
|
605 |
msgstr "Имя"
|
606 |
|
607 |
#: includes/admin/views/field-group-fields.php:7
|
608 |
-
#, fuzzy
|
609 |
msgid "Key"
|
610 |
-
msgstr "
|
611 |
|
612 |
#: includes/admin/views/field-group-fields.php:8
|
613 |
msgid "Type"
|
@@ -886,19 +879,19 @@ msgid ""
|
|
886 |
"Please also ensure any premium add-ons (%s) have first been updated to the "
|
887 |
"latest version."
|
888 |
msgstr ""
|
889 |
-
"Пожалуйста, убедитесь, что
|
890 |
-
"последней версии."
|
891 |
|
892 |
#: includes/admin/views/install.php:7
|
893 |
msgid "Reading upgrade tasks..."
|
894 |
msgstr "Чтения задач обновления..."
|
895 |
|
896 |
#: includes/admin/views/install.php:11
|
897 |
-
#,
|
898 |
msgid "Database Upgrade complete. <a href=\"%s\">See what's new</a>"
|
899 |
msgstr ""
|
900 |
-
"Обновление базы данных
|
901 |
-
"
|
902 |
|
903 |
#: includes/admin/views/settings-addons.php:17
|
904 |
msgid "Download & Install"
|
@@ -1263,14 +1256,14 @@ msgid "Full Size"
|
|
1263 |
msgstr "Полный"
|
1264 |
|
1265 |
#: includes/api/api-helpers.php:1248 includes/api/api-helpers.php:1831
|
1266 |
-
#: pro/fields/class-acf-field-clone.php:
|
1267 |
msgid "(no title)"
|
1268 |
msgstr "(нет заголовка)"
|
1269 |
|
1270 |
#: includes/api/api-helpers.php:1868
|
1271 |
#: includes/fields/class-acf-field-page_link.php:269
|
1272 |
#: includes/fields/class-acf-field-post_object.php:268
|
1273 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
1274 |
msgid "Parent"
|
1275 |
msgstr "Родитель"
|
1276 |
|
@@ -1329,51 +1322,44 @@ msgstr "Отношение"
|
|
1329 |
msgid "jQuery"
|
1330 |
msgstr "jQuery"
|
1331 |
|
1332 |
-
#: includes/fields.php:149 includes/fields/class-acf-field-
|
1333 |
-
#: includes/fields/class-acf-field-
|
|
|
1334 |
#: includes/fields/class-acf-field-radio.php:285
|
1335 |
-
#: pro/fields/class-acf-field-clone.php:
|
1336 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1337 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1338 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1339 |
msgid "Layout"
|
1340 |
-
msgstr "
|
1341 |
|
1342 |
#: includes/fields.php:326
|
1343 |
msgid "Field type does not exist"
|
1344 |
msgstr "Тип поля не существует"
|
1345 |
|
1346 |
#: includes/fields.php:326
|
1347 |
-
#, fuzzy
|
1348 |
msgid "Unknown"
|
1349 |
-
msgstr "
|
1350 |
|
1351 |
-
#: includes/fields/class-acf-field-
|
1352 |
-
|
1353 |
-
|
1354 |
-
msgstr "Флажок (checkbox)"
|
1355 |
-
|
1356 |
-
#: includes/fields/class-acf-field-checkbox.php:154
|
1357 |
-
msgid "Toggle All"
|
1358 |
-
msgstr "Выбрать все"
|
1359 |
-
|
1360 |
-
#: includes/fields/class-acf-field-checkbox.php:221
|
1361 |
-
#, fuzzy
|
1362 |
-
msgid "Add new choice"
|
1363 |
-
msgstr "Добавить новое поле"
|
1364 |
|
|
|
1365 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1366 |
#: includes/fields/class-acf-field-radio.php:235
|
1367 |
#: includes/fields/class-acf-field-select.php:368
|
1368 |
msgid "Choices"
|
1369 |
msgstr "Варианты"
|
1370 |
|
|
|
1371 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1372 |
#: includes/fields/class-acf-field-radio.php:236
|
1373 |
#: includes/fields/class-acf-field-select.php:369
|
1374 |
msgid "Enter each choice on a new line."
|
1375 |
msgstr "Введите каждый вариант выбора на новую строку."
|
1376 |
|
|
|
1377 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1378 |
#: includes/fields/class-acf-field-radio.php:236
|
1379 |
#: includes/fields/class-acf-field-select.php:369
|
@@ -1382,99 +1368,138 @@ msgstr ""
|
|
1382 |
"Для большего контроля, вы можете ввести значение и ярлык по следующему "
|
1383 |
"формату:"
|
1384 |
|
|
|
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:369
|
1388 |
msgid "red : Red"
|
1389 |
msgstr "red : Красный"
|
1390 |
|
1391 |
-
#: includes/fields/class-acf-field-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
msgstr "Разрешить добавление настраиваемых значений"
|
1401 |
-
|
1402 |
-
#: includes/fields/class-acf-field-checkbox.php:364
|
1403 |
-
#, fuzzy
|
1404 |
-
msgid "Save Custom"
|
1405 |
-
msgstr "Переместить поле"
|
1406 |
-
|
1407 |
-
#: includes/fields/class-acf-field-checkbox.php:369
|
1408 |
-
#, fuzzy
|
1409 |
-
msgid "Save 'custom' values to the field's choices"
|
1410 |
-
msgstr "Сохранить настраиваемые значения для поля выбора"
|
1411 |
|
|
|
1412 |
#: includes/fields/class-acf-field-checkbox.php:375
|
1413 |
#: includes/fields/class-acf-field-color_picker.php:131
|
1414 |
-
#: includes/fields/class-acf-field-email.php:
|
1415 |
-
#: includes/fields/class-acf-field-number.php:
|
1416 |
#: includes/fields/class-acf-field-radio.php:276
|
|
|
1417 |
#: includes/fields/class-acf-field-select.php:377
|
1418 |
-
#: includes/fields/class-acf-field-text.php:
|
1419 |
-
#: includes/fields/class-acf-field-textarea.php:
|
1420 |
#: includes/fields/class-acf-field-true_false.php:135
|
1421 |
-
#: includes/fields/class-acf-field-url.php:
|
1422 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
1423 |
msgid "Default Value"
|
1424 |
msgstr "Значение по умолчанию"
|
1425 |
|
1426 |
-
#: includes/fields/class-acf-field-
|
1427 |
-
#: includes/fields/class-acf-field-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
#: includes/fields/class-acf-field-
|
1432 |
-
#: includes/fields/class-acf-field-
|
1433 |
-
|
1434 |
-
|
|
|
|
|
1435 |
|
|
|
1436 |
#: includes/fields/class-acf-field-checkbox.php:391
|
1437 |
#: includes/fields/class-acf-field-radio.php:292
|
1438 |
msgid "Horizontal"
|
1439 |
msgstr "Горизонтальная"
|
1440 |
|
1441 |
-
#: includes/fields/class-acf-field-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
msgid "Prepend an extra checkbox to toggle all choices"
|
1447 |
-
msgstr "Добавить чекбокс для переключения всех чекбоксов"
|
1448 |
|
|
|
1449 |
#: includes/fields/class-acf-field-checkbox.php:408
|
1450 |
-
#: includes/fields/class-acf-field-file.php:
|
1451 |
-
#: includes/fields/class-acf-field-image.php:
|
1452 |
#: includes/fields/class-acf-field-link.php:166
|
1453 |
#: includes/fields/class-acf-field-radio.php:299
|
1454 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
1455 |
msgid "Return Value"
|
1456 |
msgstr "Возвращаемое значение"
|
1457 |
|
|
|
1458 |
#: includes/fields/class-acf-field-checkbox.php:409
|
1459 |
-
#: includes/fields/class-acf-field-file.php:
|
1460 |
-
#: includes/fields/class-acf-field-image.php:
|
1461 |
#: includes/fields/class-acf-field-link.php:167
|
1462 |
#: includes/fields/class-acf-field-radio.php:300
|
1463 |
msgid "Specify the returned value on front end"
|
1464 |
msgstr "Укажите возвращаемое значение для поля"
|
1465 |
|
|
|
1466 |
#: includes/fields/class-acf-field-checkbox.php:414
|
1467 |
#: includes/fields/class-acf-field-radio.php:305
|
1468 |
#: includes/fields/class-acf-field-select.php:431
|
1469 |
msgid "Value"
|
1470 |
msgstr "Значение"
|
1471 |
|
|
|
1472 |
#: includes/fields/class-acf-field-checkbox.php:416
|
1473 |
#: includes/fields/class-acf-field-radio.php:307
|
1474 |
#: includes/fields/class-acf-field-select.php:433
|
1475 |
msgid "Both (Array)"
|
1476 |
msgstr "Оба (массив)"
|
1477 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1478 |
#: includes/fields/class-acf-field-color_picker.php:25
|
1479 |
msgid "Color Picker"
|
1480 |
msgstr "Цвет"
|
@@ -1542,19 +1567,16 @@ msgstr "Формат во время редактирования поля"
|
|
1542 |
#: includes/fields/class-acf-field-date_time_picker.php:208
|
1543 |
#: includes/fields/class-acf-field-time_picker.php:117
|
1544 |
#: includes/fields/class-acf-field-time_picker.php:132
|
1545 |
-
#, fuzzy
|
1546 |
msgid "Custom:"
|
1547 |
-
msgstr "
|
1548 |
|
1549 |
#: includes/fields/class-acf-field-date_picker.php:226
|
1550 |
-
#, fuzzy
|
1551 |
msgid "Save Format"
|
1552 |
-
msgstr "
|
1553 |
|
1554 |
#: includes/fields/class-acf-field-date_picker.php:227
|
1555 |
-
#, fuzzy
|
1556 |
msgid "The format used when saving a value"
|
1557 |
-
msgstr "Формат
|
1558 |
|
1559 |
#: includes/fields/class-acf-field-date_picker.php:237
|
1560 |
#: includes/fields/class-acf-field-date_time_picker.php:198
|
@@ -1659,59 +1681,53 @@ msgstr "П"
|
|
1659 |
msgid "Email"
|
1660 |
msgstr "E-mail"
|
1661 |
|
1662 |
-
#: includes/fields/class-acf-field-email.php:
|
1663 |
-
#: includes/fields/class-acf-field-number.php:
|
1664 |
-
#: includes/fields/class-acf-field-radio.php:277
|
1665 |
-
#: includes/fields/class-acf-field-text.php:116
|
1666 |
-
#: includes/fields/class-acf-field-textarea.php:99
|
1667 |
-
#: includes/fields/class-acf-field-url.php:97
|
1668 |
-
#: includes/fields/class-acf-field-wysiwyg.php:422
|
1669 |
-
msgid "Appears when creating a new post"
|
1670 |
-
msgstr "Заполняются при создании новой записи"
|
1671 |
-
|
1672 |
-
#: includes/fields/class-acf-field-email.php:123
|
1673 |
-
#: includes/fields/class-acf-field-number.php:132
|
1674 |
#: includes/fields/class-acf-field-password.php:71
|
1675 |
-
#: includes/fields/class-acf-field-text.php:
|
1676 |
-
#: includes/fields/class-acf-field-textarea.php:
|
1677 |
-
#: includes/fields/class-acf-field-url.php:
|
1678 |
msgid "Placeholder Text"
|
1679 |
msgstr "Текст заглушки"
|
1680 |
|
1681 |
-
#: includes/fields/class-acf-field-email.php:
|
1682 |
-
#: includes/fields/class-acf-field-number.php:
|
1683 |
#: includes/fields/class-acf-field-password.php:72
|
1684 |
-
#: includes/fields/class-acf-field-text.php:
|
1685 |
-
#: includes/fields/class-acf-field-textarea.php:
|
1686 |
-
#: includes/fields/class-acf-field-url.php:
|
1687 |
msgid "Appears within the input"
|
1688 |
msgstr "Появляется перед полем ввода"
|
1689 |
|
1690 |
-
#: includes/fields/class-acf-field-email.php:
|
1691 |
-
#: includes/fields/class-acf-field-number.php:
|
1692 |
#: includes/fields/class-acf-field-password.php:80
|
1693 |
-
#: includes/fields/class-acf-field-
|
|
|
1694 |
msgid "Prepend"
|
1695 |
msgstr "Текст перед полем"
|
1696 |
|
1697 |
-
#: includes/fields/class-acf-field-email.php:
|
1698 |
-
#: includes/fields/class-acf-field-number.php:
|
1699 |
#: includes/fields/class-acf-field-password.php:81
|
1700 |
-
#: includes/fields/class-acf-field-
|
|
|
1701 |
msgid "Appears before the input"
|
1702 |
msgstr "Текст перед полем ввода"
|
1703 |
|
1704 |
-
#: includes/fields/class-acf-field-email.php:
|
1705 |
-
#: includes/fields/class-acf-field-number.php:
|
1706 |
#: includes/fields/class-acf-field-password.php:89
|
1707 |
-
#: includes/fields/class-acf-field-
|
|
|
1708 |
msgid "Append"
|
1709 |
msgstr "Текст после поля"
|
1710 |
|
1711 |
-
#: includes/fields/class-acf-field-email.php:
|
1712 |
-
#: includes/fields/class-acf-field-number.php:
|
1713 |
#: includes/fields/class-acf-field-password.php:90
|
1714 |
-
#: includes/fields/class-acf-field-
|
|
|
1715 |
msgid "Appears after the input"
|
1716 |
msgstr "Текст после поля ввода"
|
1717 |
|
@@ -1733,50 +1749,58 @@ msgstr "Обновить файл"
|
|
1733 |
msgid "Uploaded to this post"
|
1734 |
msgstr "Загружено для этой записи"
|
1735 |
|
1736 |
-
#: includes/fields/class-acf-field-file.php:
|
1737 |
msgid "File name"
|
1738 |
msgstr "Имя файла"
|
1739 |
|
1740 |
-
#: includes/fields/class-acf-field-file.php:
|
1741 |
-
#: includes/fields/class-acf-field-file.php:
|
1742 |
-
#: includes/fields/class-acf-field-file.php:
|
1743 |
-
#: includes/fields/class-acf-field-image.php:
|
1744 |
-
#: includes/fields/class-acf-field-image.php:
|
1745 |
#: pro/fields/class-acf-field-gallery.php:690
|
1746 |
#: pro/fields/class-acf-field-gallery.php:719
|
1747 |
msgid "File size"
|
1748 |
msgstr "Размер файла"
|
1749 |
|
1750 |
-
#: includes/fields/class-acf-field-file.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1751 |
msgid "Add File"
|
1752 |
msgstr "Добавить файл"
|
1753 |
|
1754 |
-
#: includes/fields/class-acf-field-file.php:
|
1755 |
msgid "File Array"
|
1756 |
msgstr "Массив"
|
1757 |
|
1758 |
-
#: includes/fields/class-acf-field-file.php:
|
1759 |
msgid "File URL"
|
1760 |
msgstr "Ссылка на файл"
|
1761 |
|
1762 |
-
#: includes/fields/class-acf-field-file.php:
|
1763 |
msgid "File ID"
|
1764 |
msgstr "ID файла"
|
1765 |
|
1766 |
-
#: includes/fields/class-acf-field-file.php:
|
1767 |
-
#: includes/fields/class-acf-field-image.php:
|
1768 |
#: pro/fields/class-acf-field-gallery.php:655
|
1769 |
msgid "Library"
|
1770 |
msgstr "Библиотека"
|
1771 |
|
1772 |
-
#: includes/fields/class-acf-field-file.php:
|
1773 |
-
#: includes/fields/class-acf-field-image.php:
|
1774 |
#: pro/fields/class-acf-field-gallery.php:656
|
1775 |
msgid "Limit the media library choice"
|
1776 |
msgstr "Ограничение количества выбранных элементов"
|
1777 |
|
1778 |
-
#: includes/fields/class-acf-field-file.php:
|
1779 |
-
#: includes/fields/class-acf-field-image.php:
|
1780 |
#: includes/locations/class-acf-location-attachment.php:101
|
1781 |
#: includes/locations/class-acf-location-comment.php:79
|
1782 |
#: includes/locations/class-acf-location-nav-menu.php:102
|
@@ -1788,37 +1812,37 @@ msgstr "Ограничение количества выбранных элем
|
|
1788 |
msgid "All"
|
1789 |
msgstr "Все"
|
1790 |
|
1791 |
-
#: includes/fields/class-acf-field-file.php:
|
1792 |
-
#: includes/fields/class-acf-field-image.php:
|
1793 |
#: pro/fields/class-acf-field-gallery.php:662
|
1794 |
msgid "Uploaded to post"
|
1795 |
msgstr "Загружено в запись"
|
1796 |
|
1797 |
-
#: includes/fields/class-acf-field-file.php:
|
1798 |
-
#: includes/fields/class-acf-field-image.php:
|
1799 |
#: pro/fields/class-acf-field-gallery.php:669
|
1800 |
msgid "Minimum"
|
1801 |
msgstr "Минимум"
|
1802 |
|
1803 |
-
#: includes/fields/class-acf-field-file.php:
|
1804 |
-
#: includes/fields/class-acf-field-file.php:
|
1805 |
msgid "Restrict which files can be uploaded"
|
1806 |
msgstr "Ограничить файлы, которые могут быть загружены"
|
1807 |
|
1808 |
-
#: includes/fields/class-acf-field-file.php:
|
1809 |
-
#: includes/fields/class-acf-field-image.php:
|
1810 |
#: pro/fields/class-acf-field-gallery.php:698
|
1811 |
msgid "Maximum"
|
1812 |
msgstr "Максимум"
|
1813 |
|
1814 |
-
#: includes/fields/class-acf-field-file.php:
|
1815 |
-
#: includes/fields/class-acf-field-image.php:
|
1816 |
#: pro/fields/class-acf-field-gallery.php:727
|
1817 |
msgid "Allowed file types"
|
1818 |
msgstr "Допустимые типы файлов"
|
1819 |
|
1820 |
-
#: includes/fields/class-acf-field-file.php:
|
1821 |
-
#: includes/fields/class-acf-field-image.php:
|
1822 |
#: pro/fields/class-acf-field-gallery.php:728
|
1823 |
msgid "Comma separated list. Leave blank for all types"
|
1824 |
msgstr ""
|
@@ -1837,82 +1861,81 @@ msgstr "Определение местоположение"
|
|
1837 |
msgid "Sorry, this browser does not support geolocation"
|
1838 |
msgstr "Извините, но ваш браузер не поддерживает определение местоположения"
|
1839 |
|
1840 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1841 |
msgid "Clear location"
|
1842 |
msgstr "Очистить местоположение"
|
1843 |
|
1844 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1845 |
msgid "Find current location"
|
1846 |
msgstr "Определить текущее местоположение"
|
1847 |
|
1848 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1849 |
msgid "Search for address..."
|
1850 |
msgstr "Поиск по адресу..."
|
1851 |
|
1852 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1853 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1854 |
msgid "Center"
|
1855 |
msgstr "Центрировать"
|
1856 |
|
1857 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1858 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1859 |
msgid "Center the initial map"
|
1860 |
msgstr "Центрировать изначальную карту"
|
1861 |
|
1862 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1863 |
msgid "Zoom"
|
1864 |
msgstr "Масштаб"
|
1865 |
|
1866 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1867 |
msgid "Set the initial zoom level"
|
1868 |
msgstr "Укажите начальный масштаб"
|
1869 |
|
1870 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1871 |
-
#: includes/fields/class-acf-field-image.php:
|
1872 |
-
#: includes/fields/class-acf-field-image.php:
|
1873 |
-
#: includes/fields/class-acf-field-oembed.php:
|
1874 |
#: pro/fields/class-acf-field-gallery.php:681
|
1875 |
#: pro/fields/class-acf-field-gallery.php:710
|
1876 |
msgid "Height"
|
1877 |
msgstr "Высота"
|
1878 |
|
1879 |
-
#: includes/fields/class-acf-field-google-map.php:
|
1880 |
msgid "Customise the map height"
|
1881 |
msgstr "Настройка высоты карты"
|
1882 |
|
1883 |
#: includes/fields/class-acf-field-group.php:25
|
1884 |
-
#, fuzzy
|
1885 |
msgid "Group"
|
1886 |
-
msgstr "Группа
|
1887 |
|
1888 |
-
#: includes/fields/class-acf-field-group.php:
|
1889 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1890 |
msgid "Sub Fields"
|
1891 |
msgstr "Вложенные поля"
|
1892 |
|
1893 |
-
#: includes/fields/class-acf-field-group.php:
|
1894 |
-
#: pro/fields/class-acf-field-clone.php:
|
1895 |
msgid "Specify the style used to render the selected fields"
|
1896 |
msgstr "Укажите способ отображения клонированных полей"
|
1897 |
|
1898 |
-
#: includes/fields/class-acf-field-group.php:
|
1899 |
-
#: pro/fields/class-acf-field-clone.php:
|
1900 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1901 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1902 |
msgid "Block"
|
1903 |
msgstr "Блок"
|
1904 |
|
1905 |
-
#: includes/fields/class-acf-field-group.php:
|
1906 |
-
#: pro/fields/class-acf-field-clone.php:
|
1907 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1908 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1909 |
msgid "Table"
|
1910 |
msgstr "Таблица"
|
1911 |
|
1912 |
-
#: includes/fields/class-acf-field-group.php:
|
1913 |
-
#: pro/fields/class-acf-field-clone.php:
|
1914 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
1915 |
-
#: pro/fields/class-acf-field-repeater.php:
|
1916 |
msgid "Row"
|
1917 |
msgstr "Строка"
|
1918 |
|
@@ -1938,79 +1961,68 @@ msgstr "Обновить изображение"
|
|
1938 |
msgid "All images"
|
1939 |
msgstr "Все изображения"
|
1940 |
|
1941 |
-
#: includes/fields/class-acf-field-image.php:
|
1942 |
-
#: includes/fields/class-acf-field-link.php:140 includes/input.php:269
|
1943 |
-
#: pro/fields/class-acf-field-gallery.php:343
|
1944 |
-
#: pro/fields/class-acf-field-gallery.php:531
|
1945 |
-
msgid "Remove"
|
1946 |
-
msgstr "Убрать"
|
1947 |
-
|
1948 |
-
#: includes/fields/class-acf-field-image.php:143
|
1949 |
msgid "No image selected"
|
1950 |
msgstr "Изображение не выбрано"
|
1951 |
|
1952 |
-
#: includes/fields/class-acf-field-image.php:
|
1953 |
msgid "Add Image"
|
1954 |
msgstr "Добавить изображение"
|
1955 |
|
1956 |
-
#: includes/fields/class-acf-field-image.php:
|
1957 |
msgid "Image Array"
|
1958 |
msgstr "Массив изображения"
|
1959 |
|
1960 |
-
#: includes/fields/class-acf-field-image.php:
|
1961 |
msgid "Image URL"
|
1962 |
msgstr "Ссылка на изображение"
|
1963 |
|
1964 |
-
#: includes/fields/class-acf-field-image.php:
|
1965 |
msgid "Image ID"
|
1966 |
msgstr "ID изображения"
|
1967 |
|
1968 |
-
#: includes/fields/class-acf-field-image.php:
|
1969 |
msgid "Preview Size"
|
1970 |
msgstr "Размер изображения"
|
1971 |
|
1972 |
-
#: includes/fields/class-acf-field-image.php:
|
1973 |
msgid "Shown when entering data"
|
1974 |
msgstr "Размер отображаемого изображения при редактировании"
|
1975 |
|
1976 |
-
#: includes/fields/class-acf-field-image.php:
|
1977 |
-
#: includes/fields/class-acf-field-image.php:
|
1978 |
#: pro/fields/class-acf-field-gallery.php:670
|
1979 |
#: pro/fields/class-acf-field-gallery.php:699
|
1980 |
msgid "Restrict which images can be uploaded"
|
1981 |
msgstr "Ограничить изображения, которые могут быть загружены"
|
1982 |
|
1983 |
-
#: includes/fields/class-acf-field-image.php:
|
1984 |
-
#: includes/fields/class-acf-field-image.php:
|
1985 |
-
#: includes/fields/class-acf-field-oembed.php:
|
1986 |
#: pro/fields/class-acf-field-gallery.php:673
|
1987 |
#: pro/fields/class-acf-field-gallery.php:702
|
1988 |
msgid "Width"
|
1989 |
msgstr "Ширина"
|
1990 |
|
1991 |
#: includes/fields/class-acf-field-link.php:25
|
1992 |
-
#, fuzzy
|
1993 |
msgid "Link"
|
1994 |
-
msgstr "
|
1995 |
|
1996 |
#: includes/fields/class-acf-field-link.php:133
|
1997 |
-
#, fuzzy
|
1998 |
msgid "Select Link"
|
1999 |
-
msgstr "
|
2000 |
|
2001 |
#: includes/fields/class-acf-field-link.php:138
|
2002 |
msgid "Opens in a new window/tab"
|
2003 |
-
msgstr "
|
2004 |
|
2005 |
#: includes/fields/class-acf-field-link.php:172
|
2006 |
-
#, fuzzy
|
2007 |
msgid "Link Array"
|
2008 |
-
msgstr "Массив"
|
2009 |
|
2010 |
#: includes/fields/class-acf-field-link.php:173
|
2011 |
-
#, fuzzy
|
2012 |
msgid "Link URL"
|
2013 |
-
msgstr "
|
2014 |
|
2015 |
#: includes/fields/class-acf-field-message.php:25
|
2016 |
#: includes/fields/class-acf-field-message.php:101
|
@@ -2019,27 +2031,27 @@ msgid "Message"
|
|
2019 |
msgstr "Сообщение"
|
2020 |
|
2021 |
#: includes/fields/class-acf-field-message.php:110
|
2022 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2023 |
msgid "New Lines"
|
2024 |
msgstr "Перевод строк"
|
2025 |
|
2026 |
#: includes/fields/class-acf-field-message.php:111
|
2027 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2028 |
msgid "Controls how new lines are rendered"
|
2029 |
msgstr "Способ перевода строк"
|
2030 |
|
2031 |
#: includes/fields/class-acf-field-message.php:115
|
2032 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2033 |
msgid "Automatically add paragraphs"
|
2034 |
msgstr "Автоматически добавлять параграфы"
|
2035 |
|
2036 |
#: includes/fields/class-acf-field-message.php:116
|
2037 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2038 |
msgid "Automatically add <br>"
|
2039 |
msgstr "Автоматически добавлять <br>"
|
2040 |
|
2041 |
#: includes/fields/class-acf-field-message.php:117
|
2042 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2043 |
msgid "No Formatting"
|
2044 |
msgstr "Без форматирования"
|
2045 |
|
@@ -2057,28 +2069,31 @@ msgstr ""
|
|
2057 |
msgid "Number"
|
2058 |
msgstr "Число"
|
2059 |
|
2060 |
-
#: includes/fields/class-acf-field-number.php:
|
|
|
2061 |
msgid "Minimum Value"
|
2062 |
msgstr "Минимальное значение"
|
2063 |
|
2064 |
-
#: includes/fields/class-acf-field-number.php:
|
|
|
2065 |
msgid "Maximum Value"
|
2066 |
msgstr "Максимальное значение"
|
2067 |
|
2068 |
-
#: includes/fields/class-acf-field-number.php:
|
|
|
2069 |
msgid "Step Size"
|
2070 |
msgstr "Шаг изменения"
|
2071 |
|
2072 |
-
#: includes/fields/class-acf-field-number.php:
|
2073 |
msgid "Value must be a number"
|
2074 |
msgstr "Значение должно быть числом"
|
2075 |
|
2076 |
-
#: includes/fields/class-acf-field-number.php:
|
2077 |
#, php-format
|
2078 |
msgid "Value must be equal to or higher than %d"
|
2079 |
msgstr "Значение должно быть равным или больше чем %d"
|
2080 |
|
2081 |
-
#: includes/fields/class-acf-field-number.php:
|
2082 |
#, php-format
|
2083 |
msgid "Value must be equal to or lower than %d"
|
2084 |
msgstr "Значение должно быть равным или меньшим чем %d"
|
@@ -2087,21 +2102,21 @@ msgstr "Значение должно быть равным или меньши
|
|
2087 |
msgid "oEmbed"
|
2088 |
msgstr "Медиа"
|
2089 |
|
2090 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2091 |
msgid "Enter URL"
|
2092 |
msgstr "Введите адрес ссылки"
|
2093 |
|
2094 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2095 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2096 |
msgid "Error."
|
2097 |
msgstr "Ошибка."
|
2098 |
|
2099 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2100 |
msgid "No embed found for the given URL."
|
2101 |
msgstr "По указанной вами ссылке медиаконтент не обнаружен."
|
2102 |
|
2103 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2104 |
-
#: includes/fields/class-acf-field-oembed.php:
|
2105 |
msgid "Embed Size"
|
2106 |
msgstr "Размер медиа"
|
2107 |
|
@@ -2133,15 +2148,6 @@ msgstr "Фильтрация по таксономии"
|
|
2133 |
msgid "All taxonomies"
|
2134 |
msgstr "Все таксономии"
|
2135 |
|
2136 |
-
#: includes/fields/class-acf-field-page_link.php:513
|
2137 |
-
#: includes/fields/class-acf-field-post_object.php:412
|
2138 |
-
#: includes/fields/class-acf-field-radio.php:244
|
2139 |
-
#: includes/fields/class-acf-field-select.php:386
|
2140 |
-
#: includes/fields/class-acf-field-taxonomy.php:786
|
2141 |
-
#: includes/fields/class-acf-field-user.php:408
|
2142 |
-
msgid "Allow Null?"
|
2143 |
-
msgstr "Разрешить пусто значение?"
|
2144 |
-
|
2145 |
#: includes/fields/class-acf-field-page_link.php:523
|
2146 |
msgid "Allow Archives URLs"
|
2147 |
msgstr "Рвзрешить ссылки на архивы"
|
@@ -2188,6 +2194,10 @@ msgstr "Сохранить значения"
|
|
2188 |
msgid "Save 'other' values to the field's choices"
|
2189 |
msgstr "Сохранить настраиваемые значения для поля выбора"
|
2190 |
|
|
|
|
|
|
|
|
|
2191 |
#: includes/fields/class-acf-field-relationship.php:25
|
2192 |
msgid "Relationship"
|
2193 |
msgstr "Записи"
|
@@ -2231,7 +2241,7 @@ msgstr "Тип записи"
|
|
2231 |
|
2232 |
#: includes/fields/class-acf-field-relationship.php:658
|
2233 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2234 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2235 |
msgid "Taxonomy"
|
2236 |
msgstr "Таксономия"
|
2237 |
|
@@ -2261,7 +2271,7 @@ msgstr[1] "%s требует выбрать как минимум %s значе
|
|
2261 |
msgstr[2] "%s требует выбрать как минимум %s значений"
|
2262 |
|
2263 |
#: includes/fields/class-acf-field-select.php:25
|
2264 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2265 |
msgctxt "noun"
|
2266 |
msgid "Select"
|
2267 |
msgstr "Выбор (select)"
|
@@ -2392,93 +2402,92 @@ msgid "Use this field as an end-point and start a new group of tabs"
|
|
2392 |
msgstr ""
|
2393 |
"Используйте это поле это поле в качестве разделителя между группами вкладок"
|
2394 |
|
2395 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2396 |
-
|
2397 |
-
|
2398 |
-
|
2399 |
-
|
2400 |
-
msgstr "Нет"
|
2401 |
|
2402 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2403 |
msgid "None"
|
2404 |
msgstr "Ничего"
|
2405 |
|
2406 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2407 |
msgid "Select the taxonomy to be displayed"
|
2408 |
msgstr "Выберите таксономию для отображения"
|
2409 |
|
2410 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2411 |
msgid "Appearance"
|
2412 |
msgstr "Отображение"
|
2413 |
|
2414 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2415 |
msgid "Select the appearance of this field"
|
2416 |
msgstr "Выберите способ отображения поля"
|
2417 |
|
2418 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2419 |
msgid "Multiple Values"
|
2420 |
msgstr "Несколько значений"
|
2421 |
|
2422 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2423 |
msgid "Multi Select"
|
2424 |
msgstr "Множественный выбор"
|
2425 |
|
2426 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2427 |
msgid "Single Value"
|
2428 |
msgstr "Одно значение"
|
2429 |
|
2430 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2431 |
msgid "Radio Buttons"
|
2432 |
msgstr "Радио-кнопки"
|
2433 |
|
2434 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2435 |
msgid "Create Terms"
|
2436 |
msgstr "Создание терминов"
|
2437 |
|
2438 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2439 |
msgid "Allow new terms to be created whilst editing"
|
2440 |
msgstr "Разрешнить создавать новые термины во время редактирования"
|
2441 |
|
2442 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2443 |
msgid "Save Terms"
|
2444 |
msgstr "Сохранение терминов"
|
2445 |
|
2446 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2447 |
msgid "Connect selected terms to the post"
|
2448 |
msgstr "Связать выбранные термины с записью"
|
2449 |
|
2450 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2451 |
msgid "Load Terms"
|
2452 |
msgstr "Загрузить термины"
|
2453 |
|
2454 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2455 |
msgid "Load value from posts terms"
|
2456 |
msgstr "Загрузить значения из терминов записей"
|
2457 |
|
2458 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2459 |
msgid "Term Object"
|
2460 |
msgstr "Объект термина"
|
2461 |
|
2462 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2463 |
msgid "Term ID"
|
2464 |
msgstr "ID термина"
|
2465 |
|
2466 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2467 |
#, php-format
|
2468 |
msgid "User unable to add new %s"
|
2469 |
msgstr "У пользователя нет возможности добавить новый %s"
|
2470 |
|
2471 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2472 |
#, php-format
|
2473 |
msgid "%s already exists"
|
2474 |
msgstr "%s уже существует"
|
2475 |
|
2476 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2477 |
#, php-format
|
2478 |
msgid "%s added"
|
2479 |
msgstr "%s добавлен"
|
2480 |
|
2481 |
-
#: includes/fields/class-acf-field-taxonomy.php:
|
2482 |
msgid "Add"
|
2483 |
msgstr "Добавить"
|
2484 |
|
@@ -2486,13 +2495,13 @@ msgstr "Добавить"
|
|
2486 |
msgid "Text"
|
2487 |
msgstr "Текст"
|
2488 |
|
2489 |
-
#: includes/fields/class-acf-field-text.php:
|
2490 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2491 |
msgid "Character Limit"
|
2492 |
msgstr "Ограничение количества символов"
|
2493 |
|
2494 |
-
#: includes/fields/class-acf-field-text.php:
|
2495 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2496 |
msgid "Leave blank for no limit"
|
2497 |
msgstr "Оставьте пустым для снятия ограничений"
|
2498 |
|
@@ -2500,11 +2509,11 @@ msgstr "Оставьте пустым для снятия ограничений
|
|
2500 |
msgid "Text Area"
|
2501 |
msgstr "Область текста"
|
2502 |
|
2503 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2504 |
msgid "Rows"
|
2505 |
msgstr "Строки"
|
2506 |
|
2507 |
-
#: includes/fields/class-acf-field-textarea.php:
|
2508 |
msgid "Sets the textarea height"
|
2509 |
msgstr "Укажите высоту поля ввода"
|
2510 |
|
@@ -2518,37 +2527,41 @@ msgstr "Да / Нет"
|
|
2518 |
|
2519 |
#: includes/fields/class-acf-field-true_false.php:79
|
2520 |
#: includes/fields/class-acf-field-true_false.php:159 includes/input.php:267
|
2521 |
-
#: pro/admin/views/html-settings-updates.php:
|
2522 |
msgid "Yes"
|
2523 |
msgstr "Да"
|
2524 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2525 |
#: includes/fields/class-acf-field-true_false.php:127
|
2526 |
msgid "Displays text alongside the checkbox"
|
2527 |
-
msgstr "
|
2528 |
|
2529 |
#: includes/fields/class-acf-field-true_false.php:155
|
2530 |
-
#, fuzzy
|
2531 |
msgid "On Text"
|
2532 |
-
msgstr "
|
2533 |
|
2534 |
#: includes/fields/class-acf-field-true_false.php:156
|
2535 |
msgid "Text shown when active"
|
2536 |
-
msgstr "Текст
|
2537 |
|
2538 |
#: includes/fields/class-acf-field-true_false.php:165
|
2539 |
-
#, fuzzy
|
2540 |
msgid "Off Text"
|
2541 |
-
msgstr "
|
2542 |
|
2543 |
#: includes/fields/class-acf-field-true_false.php:166
|
2544 |
msgid "Text shown when inactive"
|
2545 |
-
msgstr "Текст
|
2546 |
|
2547 |
#: includes/fields/class-acf-field-url.php:25
|
2548 |
msgid "Url"
|
2549 |
msgstr "Ссылка"
|
2550 |
|
2551 |
-
#: includes/fields/class-acf-field-url.php:
|
2552 |
msgid "Value must be a valid URL"
|
2553 |
msgstr "Значение должно быть корректной ссылкой"
|
2554 |
|
@@ -2568,51 +2581,50 @@ msgstr "Все группы пользователей"
|
|
2568 |
msgid "Wysiwyg Editor"
|
2569 |
msgstr "Редактор WordPress"
|
2570 |
|
2571 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2572 |
msgid "Visual"
|
2573 |
msgstr "Визуально"
|
2574 |
|
2575 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2576 |
msgctxt "Name for the Text editor tab (formerly HTML)"
|
2577 |
msgid "Text"
|
2578 |
msgstr "Текст"
|
2579 |
|
2580 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2581 |
msgid "Click to initialize TinyMCE"
|
2582 |
-
msgstr "
|
2583 |
|
2584 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2585 |
msgid "Tabs"
|
2586 |
msgstr "Вкладки"
|
2587 |
|
2588 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2589 |
msgid "Visual & Text"
|
2590 |
msgstr "Визуально и текст"
|
2591 |
|
2592 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2593 |
msgid "Visual Only"
|
2594 |
msgstr "Только визуальный редактор"
|
2595 |
|
2596 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2597 |
msgid "Text Only"
|
2598 |
msgstr "Только текстовый редактор"
|
2599 |
|
2600 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2601 |
msgid "Toolbar"
|
2602 |
msgstr "Панель инструментов"
|
2603 |
|
2604 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2605 |
msgid "Show Media Upload Buttons?"
|
2606 |
msgstr "Кнопки загрузки медиа"
|
2607 |
|
2608 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2609 |
msgid "Delay initialization?"
|
2610 |
-
msgstr "
|
2611 |
|
2612 |
-
#: includes/fields/class-acf-field-wysiwyg.php:
|
2613 |
msgid "TinyMCE will not be initalized until field is clicked"
|
2614 |
-
msgstr ""
|
2615 |
-
"TinyMCE не будет инициализирован, пока не будет произведен клик по полю"
|
2616 |
|
2617 |
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:303
|
2618 |
#: pro/admin/admin-options-page.php:308
|
@@ -2728,14 +2740,12 @@ msgid "Menu Item"
|
|
2728 |
msgstr "Пункт меню"
|
2729 |
|
2730 |
#: includes/locations/class-acf-location-nav-menu.php:27
|
2731 |
-
#, fuzzy
|
2732 |
msgid "Menu"
|
2733 |
-
msgstr "
|
2734 |
|
2735 |
#: includes/locations/class-acf-location-nav-menu.php:109
|
2736 |
-
#, fuzzy
|
2737 |
msgid "Menu Locations"
|
2738 |
-
msgstr "
|
2739 |
|
2740 |
#: includes/locations/class-acf-location-nav-menu.php:119
|
2741 |
msgid "Menus"
|
@@ -2795,9 +2805,8 @@ msgid "Post Taxonomy"
|
|
2795 |
msgstr "Таксономия записи"
|
2796 |
|
2797 |
#: includes/locations/class-acf-location-post-template.php:27
|
2798 |
-
#, fuzzy
|
2799 |
msgid "Post Template"
|
2800 |
-
msgstr "Шаблон
|
2801 |
|
2802 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2803 |
msgid "Taxonomy Term"
|
@@ -2861,23 +2870,23 @@ msgid "<b>Error</b>. Could not connect to update server"
|
|
2861 |
msgstr "<b>Ошибка</b>. Не удалось подключиться к серверу обновлений"
|
2862 |
|
2863 |
#: pro/admin/admin-settings-updates.php:162
|
2864 |
-
#: pro/admin/views/html-settings-updates.php:
|
2865 |
msgid "Updates"
|
2866 |
msgstr "Обновление"
|
2867 |
|
2868 |
-
#: pro/admin/views/html-settings-updates.php:
|
2869 |
msgid "Deactivate License"
|
2870 |
msgstr "Декативировать лицензию"
|
2871 |
|
2872 |
-
#: pro/admin/views/html-settings-updates.php:
|
2873 |
msgid "Activate License"
|
2874 |
msgstr "Активировать лицензию"
|
2875 |
|
2876 |
-
#: pro/admin/views/html-settings-updates.php:
|
2877 |
msgid "License Information"
|
2878 |
msgstr "Информация о лицензии"
|
2879 |
|
2880 |
-
#: pro/admin/views/html-settings-updates.php:
|
2881 |
#, php-format
|
2882 |
msgid ""
|
2883 |
"To unlock updates, please enter your license key below. If you don't have a "
|
@@ -2887,39 +2896,39 @@ msgstr ""
|
|
2887 |
"Для разблокирования обновлений введите лицензионный ключ ниже. Если у вас "
|
2888 |
"его нет, то ознакомьтесь с <a href=\"%s\" target=\"_blank\">деталями</a>."
|
2889 |
|
2890 |
-
#: pro/admin/views/html-settings-updates.php:
|
2891 |
msgid "License Key"
|
2892 |
msgstr "Номер лицензии"
|
2893 |
|
2894 |
-
#: pro/admin/views/html-settings-updates.php:
|
2895 |
msgid "Update Information"
|
2896 |
msgstr "Обновления"
|
2897 |
|
2898 |
-
#: pro/admin/views/html-settings-updates.php:
|
2899 |
msgid "Current Version"
|
2900 |
msgstr "Текущая версия"
|
2901 |
|
2902 |
-
#: pro/admin/views/html-settings-updates.php:
|
2903 |
msgid "Latest Version"
|
2904 |
msgstr "Последняя версия"
|
2905 |
|
2906 |
-
#: pro/admin/views/html-settings-updates.php:
|
2907 |
msgid "Update Available"
|
2908 |
msgstr "Обновления доступны"
|
2909 |
|
2910 |
-
#: pro/admin/views/html-settings-updates.php:
|
2911 |
msgid "Update Plugin"
|
2912 |
msgstr "Обновить плагин"
|
2913 |
|
2914 |
-
#: pro/admin/views/html-settings-updates.php:
|
2915 |
msgid "Please enter your license key above to unlock updates"
|
2916 |
msgstr "Пожалуйста введите ваш номер лицензии для разблокировки обновлений"
|
2917 |
|
2918 |
-
#: pro/admin/views/html-settings-updates.php:
|
2919 |
msgid "Check Again"
|
2920 |
msgstr "Проверить еще раз"
|
2921 |
|
2922 |
-
#: pro/admin/views/html-settings-updates.php:
|
2923 |
msgid "Upgrade Notice"
|
2924 |
msgstr "Замечания по обновлению"
|
2925 |
|
@@ -2928,61 +2937,61 @@ msgctxt "noun"
|
|
2928 |
msgid "Clone"
|
2929 |
msgstr "Клон"
|
2930 |
|
2931 |
-
#: pro/fields/class-acf-field-clone.php:
|
2932 |
msgid "Select one or more fields you wish to clone"
|
2933 |
msgstr "Выберите одно или несколько полей, которые вы хотите клонировать"
|
2934 |
|
2935 |
-
#: pro/fields/class-acf-field-clone.php:
|
2936 |
msgid "Display"
|
2937 |
msgstr "Способ отображения"
|
2938 |
|
2939 |
-
#: pro/fields/class-acf-field-clone.php:
|
2940 |
msgid "Specify the style used to render the clone field"
|
2941 |
msgstr "Выберите стиль отображения клонированных полей"
|
2942 |
|
2943 |
-
#: pro/fields/class-acf-field-clone.php:
|
2944 |
msgid "Group (displays selected fields in a group within this field)"
|
2945 |
msgstr ""
|
2946 |
"Группа (сгруппировать выбранные поля в одно и выводить вместо текущего)"
|
2947 |
|
2948 |
-
#: pro/fields/class-acf-field-clone.php:
|
2949 |
msgid "Seamless (replaces this field with selected fields)"
|
2950 |
msgstr "Отдельно (выбранные поля выводятся отдельно вместо текущего)"
|
2951 |
|
2952 |
-
#: pro/fields/class-acf-field-clone.php:
|
2953 |
#, php-format
|
2954 |
msgid "Labels will be displayed as %s"
|
2955 |
msgstr "Ярлыки будут отображаться как %s"
|
2956 |
|
2957 |
-
#: pro/fields/class-acf-field-clone.php:
|
2958 |
msgid "Prefix Field Labels"
|
2959 |
msgstr "Префикс для ярлыков полей"
|
2960 |
|
2961 |
-
#: pro/fields/class-acf-field-clone.php:
|
2962 |
#, php-format
|
2963 |
msgid "Values will be saved as %s"
|
2964 |
msgstr "Значения будут сохранены как %s"
|
2965 |
|
2966 |
-
#: pro/fields/class-acf-field-clone.php:
|
2967 |
msgid "Prefix Field Names"
|
2968 |
msgstr "Префикс для названий полей"
|
2969 |
|
2970 |
-
#: pro/fields/class-acf-field-clone.php:
|
2971 |
msgid "Unknown field"
|
2972 |
msgstr "Неизвестное поле"
|
2973 |
|
2974 |
-
#: pro/fields/class-acf-field-clone.php:
|
2975 |
msgid "Unknown field group"
|
2976 |
msgstr "Неизвестная группа полей"
|
2977 |
|
2978 |
-
#: pro/fields/class-acf-field-clone.php:
|
2979 |
#, php-format
|
2980 |
msgid "All fields from %s field group"
|
2981 |
msgstr "Все поля группы \"%s\""
|
2982 |
|
2983 |
#: pro/fields/class-acf-field-flexible-content.php:31
|
2984 |
#: pro/fields/class-acf-field-repeater.php:174
|
2985 |
-
#: pro/fields/class-acf-field-repeater.php:
|
2986 |
msgid "Add Row"
|
2987 |
msgstr "Добавить"
|
2988 |
|
@@ -3029,61 +3038,61 @@ msgstr "Для гибкого содержания требуется как м
|
|
3029 |
#: pro/fields/class-acf-field-flexible-content.php:273
|
3030 |
#, php-format
|
3031 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3032 |
-
msgstr "Нажмите на кнопку \"%s\" для создания собственного макета
|
3033 |
|
3034 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3035 |
msgid "Add layout"
|
3036 |
msgstr "Добавить макет"
|
3037 |
|
3038 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3039 |
msgid "Remove layout"
|
3040 |
msgstr "Удалить макет"
|
3041 |
|
3042 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3043 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3044 |
msgid "Click to toggle"
|
3045 |
msgstr "Нажмите для переключения"
|
3046 |
|
3047 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3048 |
msgid "Reorder Layout"
|
3049 |
msgstr "Переместить макет"
|
3050 |
|
3051 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3052 |
msgid "Reorder"
|
3053 |
msgstr "Переместить"
|
3054 |
|
3055 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3056 |
msgid "Delete Layout"
|
3057 |
msgstr "Удалить макет"
|
3058 |
|
3059 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3060 |
msgid "Duplicate Layout"
|
3061 |
msgstr "Дублировать макет"
|
3062 |
|
3063 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3064 |
msgid "Add New Layout"
|
3065 |
msgstr "Добавить новый макет"
|
3066 |
|
3067 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3068 |
msgid "Min"
|
3069 |
msgstr "Минимум"
|
3070 |
|
3071 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3072 |
msgid "Max"
|
3073 |
msgstr "Максимум"
|
3074 |
|
3075 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3076 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3077 |
msgid "Button Label"
|
3078 |
-
msgstr "Текст кнопки"
|
3079 |
|
3080 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3081 |
msgid "Minimum Layouts"
|
3082 |
-
msgstr "
|
3083 |
|
3084 |
-
#: pro/fields/class-acf-field-flexible-content.php:
|
3085 |
msgid "Maximum Layouts"
|
3086 |
-
msgstr "
|
3087 |
|
3088 |
#: pro/fields/class-acf-field-gallery.php:41
|
3089 |
msgid "Add Image to Gallery"
|
@@ -3135,11 +3144,11 @@ msgstr "Закрыть"
|
|
3135 |
|
3136 |
#: pro/fields/class-acf-field-gallery.php:624
|
3137 |
msgid "Minimum Selection"
|
3138 |
-
msgstr "
|
3139 |
|
3140 |
#: pro/fields/class-acf-field-gallery.php:633
|
3141 |
msgid "Maximum Selection"
|
3142 |
-
msgstr "
|
3143 |
|
3144 |
#: pro/fields/class-acf-field-gallery.php:642
|
3145 |
msgid "Insert"
|
@@ -3165,29 +3174,31 @@ msgstr "Достигнуто минимальное количество ({min}
|
|
3165 |
msgid "Maximum rows reached ({max} rows)"
|
3166 |
msgstr "Достигнуто максимальное количество ({max} элементов)"
|
3167 |
|
3168 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3169 |
msgid "Add row"
|
3170 |
msgstr "Добавить"
|
3171 |
|
3172 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3173 |
msgid "Remove row"
|
3174 |
msgstr "Удалить"
|
3175 |
|
3176 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3177 |
msgid "Collapsed"
|
3178 |
-
msgstr "
|
3179 |
|
3180 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3181 |
msgid "Select a sub field to show when row is collapsed"
|
3182 |
-
msgstr "
|
|
|
|
|
3183 |
|
3184 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3185 |
msgid "Minimum Rows"
|
3186 |
-
msgstr "
|
3187 |
|
3188 |
-
#: pro/fields/class-acf-field-repeater.php:
|
3189 |
msgid "Maximum Rows"
|
3190 |
-
msgstr "
|
3191 |
|
3192 |
#: pro/locations/class-acf-location-options-page.php:79
|
3193 |
msgid "No options pages exist"
|
@@ -3224,15 +3235,6 @@ msgstr "Эллиот Кондон"
|
|
3224 |
msgid "http://www.elliotcondon.com/"
|
3225 |
msgstr "http://www.elliotcondon.com/"
|
3226 |
|
3227 |
-
#~ msgid "Disabled"
|
3228 |
-
#~ msgstr "Отключено"
|
3229 |
-
|
3230 |
-
#~ msgid "Disabled <span class=\"count\">(%s)</span>"
|
3231 |
-
#~ msgid_plural "Disabled <span class=\"count\">(%s)</span>"
|
3232 |
-
#~ msgstr[0] "Отключено <span class=\"count\">(%s)</span>"
|
3233 |
-
#~ msgstr[1] "Отключено <span class=\"count\">(%s)</span>"
|
3234 |
-
#~ msgstr[2] "Отключено <span class=\"count\">(%s)</span>"
|
3235 |
-
|
3236 |
#~ msgid "Getting Started"
|
3237 |
#~ msgstr "Приступаем к работе"
|
3238 |
|
@@ -3245,8 +3247,11 @@ msgstr "http://www.elliotcondon.com/"
|
|
3245 |
#~ msgid "Actions"
|
3246 |
#~ msgstr "Действия"
|
3247 |
|
3248 |
-
#~ msgid "
|
3249 |
-
#~ msgstr "
|
|
|
|
|
|
|
3250 |
|
3251 |
#~ msgid "Tutorials"
|
3252 |
#~ msgstr "Уроки и туториалы"
|
@@ -3254,27 +3259,56 @@ msgstr "http://www.elliotcondon.com/"
|
|
3254 |
#~ msgid "FAQ"
|
3255 |
#~ msgstr "Вопросы и ответы"
|
3256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3257 |
#~ msgid "Created by"
|
3258 |
#~ msgstr "Создано"
|
3259 |
|
3260 |
#~ msgid "Error loading update"
|
3261 |
#~ msgstr "Возникла ошибка при загрузке обновления"
|
3262 |
|
3263 |
-
#~ msgid "Error"
|
3264 |
-
#~ msgstr "Ошибка"
|
3265 |
-
|
3266 |
#~ msgid "See what's new"
|
3267 |
#~ msgstr "Посмотрите, что изменилось"
|
3268 |
|
3269 |
#~ msgid "eg. Show extra content"
|
3270 |
#~ msgstr "Пример: Отображать дополнительное содержание"
|
3271 |
|
3272 |
-
#~ msgid "1 field requires attention."
|
3273 |
-
#~ msgid_plural "%d fields require attention."
|
3274 |
-
#~ msgstr[0] "%d поле требует внимания."
|
3275 |
-
#~ msgstr[1] "%d поля требует внимания."
|
3276 |
-
#~ msgstr[2] "%d полей требует внимания."
|
3277 |
-
|
3278 |
#~ msgid ""
|
3279 |
#~ "Error validating license URL (website does not match). Please re-activate "
|
3280 |
#~ "your license"
|
@@ -4027,6 +4061,9 @@ msgstr "http://www.elliotcondon.com/"
|
|
4027 |
#~ msgid "eg: #ffffff"
|
4028 |
#~ msgstr "Пример: #ffffff"
|
4029 |
|
|
|
|
|
|
|
4030 |
#~ msgid ""
|
4031 |
#~ "This format will determin the value saved to the database and returned "
|
4032 |
#~ "via the API"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
+
"POT-Creation-Date: 2017-10-24 23:11+0300\n"
|
6 |
+
"PO-Revision-Date: 2017-10-24 23:17+0300\n"
|
7 |
+
"Last-Translator: Toniyevych Andriy <toniyevych@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: ru_RU\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.8\n"
|
14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
|
26 |
+
#: acf.php:67
|
|
|
27 |
msgid "Advanced Custom Fields"
|
28 |
msgstr "Advanced Custom Fields"
|
29 |
|
30 |
+
#: acf.php:369 includes/admin/admin.php:117
|
31 |
msgid "Field Groups"
|
32 |
msgstr "Группы полей"
|
33 |
|
34 |
+
#: acf.php:370
|
35 |
msgid "Field Group"
|
36 |
msgstr "Группа полей"
|
37 |
|
38 |
+
#: acf.php:371 acf.php:403 includes/admin/admin.php:118
|
39 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
40 |
msgid "Add New"
|
41 |
msgstr "Добавить"
|
42 |
|
43 |
+
#: acf.php:372
|
44 |
msgid "Add New Field Group"
|
45 |
msgstr "Создание новой группы полей"
|
46 |
|
47 |
+
#: acf.php:373
|
48 |
msgid "Edit Field Group"
|
49 |
msgstr "Редактирование группы полей"
|
50 |
|
51 |
+
#: acf.php:374
|
52 |
msgid "New Field Group"
|
53 |
msgstr "Новая группа полей"
|
54 |
|
55 |
+
#: acf.php:375
|
56 |
msgid "View Field Group"
|
57 |
msgstr "Просмотреть группу полей"
|
58 |
|
59 |
+
#: acf.php:376
|
60 |
msgid "Search Field Groups"
|
61 |
msgstr "Поиск групп полей"
|
62 |
|
63 |
+
#: acf.php:377
|
64 |
msgid "No Field Groups found"
|
65 |
msgstr "Группы полей не найдены."
|
66 |
|
67 |
+
#: acf.php:378
|
68 |
msgid "No Field Groups found in Trash"
|
69 |
msgstr "Группы полей не найдены в корзине."
|
70 |
|
71 |
+
#: acf.php:401 includes/admin/admin-field-group.php:182
|
72 |
#: includes/admin/admin-field-group.php:275
|
73 |
#: includes/admin/admin-field-groups.php:510
|
74 |
+
#: pro/fields/class-acf-field-clone.php:807
|
75 |
msgid "Fields"
|
76 |
msgstr "Поля"
|
77 |
|
78 |
+
#: acf.php:402
|
79 |
msgid "Field"
|
80 |
msgstr "Поле"
|
81 |
|
82 |
+
#: acf.php:404
|
83 |
msgid "Add New Field"
|
84 |
msgstr "Добавить новое поле"
|
85 |
|
86 |
+
#: acf.php:405
|
87 |
msgid "Edit Field"
|
88 |
msgstr "Изменить поле"
|
89 |
|
90 |
+
#: acf.php:406 includes/admin/views/field-group-fields.php:41
|
91 |
#: includes/admin/views/settings-info.php:105
|
92 |
msgid "New Field"
|
93 |
msgstr "Новое поле"
|
94 |
|
95 |
+
#: acf.php:407
|
96 |
msgid "View Field"
|
97 |
msgstr "Просмотреть поле"
|
98 |
|
99 |
+
#: acf.php:408
|
100 |
msgid "Search Fields"
|
101 |
msgstr "Поиск полей"
|
102 |
|
103 |
+
#: acf.php:409
|
104 |
msgid "No Fields found"
|
105 |
msgstr "Поля не найдены"
|
106 |
|
107 |
+
#: acf.php:410
|
108 |
msgid "No Fields found in Trash"
|
109 |
msgstr "Поля не найдены в Корзине"
|
110 |
|
111 |
+
#: acf.php:449 includes/admin/admin-field-group.php:390
|
112 |
#: includes/admin/admin-field-groups.php:567
|
|
|
113 |
msgid "Inactive"
|
114 |
+
msgstr "Неактивно"
|
115 |
|
116 |
+
#: acf.php:454
|
117 |
+
#, php-format
|
118 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
119 |
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
120 |
+
msgstr[0] "Неактивен <span class=\"count\">(%s)</span>"
|
121 |
+
msgstr[1] "Неактивны <span class=\"count\">(%s)</span>"
|
122 |
+
msgstr[2] "Неактивно <span class=\"count\">(%s)</span>"
|
123 |
|
124 |
#: includes/admin/admin-field-group.php:68
|
125 |
#: includes/admin/admin-field-group.php:69
|
177 |
msgstr "Введите название для группы полей"
|
178 |
|
179 |
#: includes/admin/admin-field-group.php:273
|
180 |
+
#: includes/api/api-field-group.php:751
|
181 |
msgid "copy"
|
182 |
+
msgstr "копия"
|
183 |
|
184 |
#: includes/admin/admin-field-group.php:274
|
185 |
#: includes/admin/views/field-group-field-conditional-logic.php:54
|
308 |
#: includes/admin/admin-field-groups.php:607
|
309 |
msgid "Customise WordPress with powerful, professional and intuitive fields."
|
310 |
msgstr ""
|
|
|
311 |
|
312 |
#: includes/admin/admin-field-groups.php:609
|
313 |
#: includes/admin/settings-info.php:76
|
314 |
+
#: pro/admin/views/html-settings-updates.php:107
|
315 |
msgid "Changelog"
|
316 |
msgstr "Журнал изменений"
|
317 |
|
325 |
msgstr "Источники"
|
326 |
|
327 |
#: includes/admin/admin-field-groups.php:619
|
|
|
328 |
msgid "Website"
|
329 |
msgstr "Сайт"
|
330 |
|
331 |
#: includes/admin/admin-field-groups.php:620
|
|
|
332 |
msgid "Documentation"
|
333 |
msgstr "Документация"
|
334 |
|
335 |
#: includes/admin/admin-field-groups.php:621
|
|
|
336 |
msgid "Support"
|
337 |
+
msgstr "Поддержка"
|
338 |
|
339 |
#: includes/admin/admin-field-groups.php:623
|
|
|
340 |
msgid "Pro"
|
341 |
+
msgstr "Pro"
|
342 |
|
343 |
#: includes/admin/admin-field-groups.php:628
|
344 |
+
#, php-format
|
345 |
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
346 |
+
msgstr "Спасибо вам за использование <a href=\"%s\">ACF</a>."
|
347 |
|
348 |
#: includes/admin/admin-field-groups.php:668
|
349 |
msgid "Duplicate this item"
|
352 |
#: includes/admin/admin-field-groups.php:668
|
353 |
#: includes/admin/admin-field-groups.php:684
|
354 |
#: includes/admin/views/field-group-field.php:49
|
355 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
356 |
msgid "Duplicate"
|
357 |
msgstr "Дублировать"
|
358 |
|
359 |
#: includes/admin/admin-field-groups.php:701
|
360 |
+
#: includes/fields/class-acf-field-google-map.php:112
|
361 |
#: includes/fields/class-acf-field-relationship.php:656
|
362 |
msgid "Search"
|
363 |
msgstr "Поиск"
|
381 |
msgstr "Применить"
|
382 |
|
383 |
#: includes/admin/admin-field-groups.php:798
|
|
|
384 |
msgid "Bulk Actions"
|
385 |
+
msgstr "Массовые операции"
|
386 |
|
387 |
#: includes/admin/admin.php:113
|
388 |
#: includes/admin/views/field-group-options.php:118
|
434 |
msgstr "Группы полей не выбраны"
|
435 |
|
436 |
#: includes/admin/settings-tools.php:184
|
437 |
+
#: includes/fields/class-acf-field-file.php:155
|
438 |
msgid "No file selected"
|
439 |
msgstr "Файл не выбран"
|
440 |
|
487 |
msgstr "Добавить группу условий"
|
488 |
|
489 |
#: includes/admin/views/field-group-field.php:41
|
490 |
+
#: pro/fields/class-acf-field-flexible-content.php:403
|
491 |
+
#: pro/fields/class-acf-field-repeater.php:296
|
492 |
msgid "Drag to reorder"
|
493 |
msgstr "Потяните для изменения порядка"
|
494 |
|
498 |
msgstr "Редактировать поле"
|
499 |
|
500 |
#: includes/admin/views/field-group-field.php:48
|
501 |
+
#: includes/fields/class-acf-field-file.php:137
|
502 |
+
#: includes/fields/class-acf-field-image.php:122
|
503 |
#: includes/fields/class-acf-field-link.php:139
|
504 |
#: pro/fields/class-acf-field-gallery.php:342
|
505 |
msgid "Edit"
|
522 |
msgstr "Удалить поле"
|
523 |
|
524 |
#: includes/admin/views/field-group-field.php:51
|
525 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
526 |
msgid "Delete"
|
527 |
msgstr "Удалить"
|
528 |
|
534 |
msgid "This is the name which will appear on the EDIT page"
|
535 |
msgstr "Имя поля на странице редактирования"
|
536 |
|
537 |
+
#: includes/admin/views/field-group-field.php:77
|
538 |
msgid "Field Name"
|
539 |
msgstr "Имя поля"
|
540 |
|
541 |
+
#: includes/admin/views/field-group-field.php:78
|
542 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
543 |
msgstr "Допускаются буквы, цифры, а также символы _ и -"
|
544 |
|
545 |
+
#: includes/admin/views/field-group-field.php:87
|
546 |
msgid "Field Type"
|
547 |
msgstr "Тип поля"
|
548 |
|
549 |
+
#: includes/admin/views/field-group-field.php:98
|
550 |
#: includes/fields/class-acf-field-tab.php:88
|
551 |
msgid "Instructions"
|
552 |
msgstr "Инструкции"
|
553 |
|
554 |
+
#: includes/admin/views/field-group-field.php:99
|
555 |
msgid "Instructions for authors. Shown when submitting data"
|
556 |
+
msgstr "Инструкции, которые отображаются при редактировании"
|
557 |
|
558 |
+
#: includes/admin/views/field-group-field.php:108
|
559 |
msgid "Required?"
|
560 |
msgstr "Обязательное поле"
|
561 |
|
562 |
+
#: includes/admin/views/field-group-field.php:131
|
563 |
msgid "Wrapper Attributes"
|
564 |
msgstr "Атрибуты"
|
565 |
|
566 |
+
#: includes/admin/views/field-group-field.php:137
|
567 |
msgid "width"
|
568 |
msgstr "ширина"
|
569 |
|
570 |
+
#: includes/admin/views/field-group-field.php:152
|
571 |
msgid "class"
|
572 |
msgstr "class"
|
573 |
|
574 |
+
#: includes/admin/views/field-group-field.php:165
|
575 |
msgid "id"
|
576 |
msgstr "id"
|
577 |
|
578 |
+
#: includes/admin/views/field-group-field.php:177
|
579 |
msgid "Close Field"
|
580 |
msgstr "Закрыть поле"
|
581 |
|
584 |
msgstr "Сортировка"
|
585 |
|
586 |
#: includes/admin/views/field-group-fields.php:5
|
587 |
+
#: includes/fields/class-acf-field-button-group.php:198
|
588 |
#: includes/fields/class-acf-field-checkbox.php:415
|
589 |
#: includes/fields/class-acf-field-radio.php:306
|
590 |
#: includes/fields/class-acf-field-select.php:432
|
591 |
+
#: pro/fields/class-acf-field-flexible-content.php:582
|
592 |
msgid "Label"
|
593 |
msgstr "Ярлык"
|
594 |
|
595 |
#: includes/admin/views/field-group-fields.php:6
|
596 |
+
#: includes/fields/class-acf-field-taxonomy.php:964
|
597 |
+
#: pro/fields/class-acf-field-flexible-content.php:595
|
598 |
msgid "Name"
|
599 |
msgstr "Имя"
|
600 |
|
601 |
#: includes/admin/views/field-group-fields.php:7
|
|
|
602 |
msgid "Key"
|
603 |
+
msgstr "Ключ"
|
604 |
|
605 |
#: includes/admin/views/field-group-fields.php:8
|
606 |
msgid "Type"
|
879 |
"Please also ensure any premium add-ons (%s) have first been updated to the "
|
880 |
"latest version."
|
881 |
msgstr ""
|
882 |
+
"Пожалуйста, убедитесь, что любые премиум-дополнения (%s) были предварительно "
|
883 |
+
"обновлены до последней версии."
|
884 |
|
885 |
#: includes/admin/views/install.php:7
|
886 |
msgid "Reading upgrade tasks..."
|
887 |
msgstr "Чтения задач обновления..."
|
888 |
|
889 |
#: includes/admin/views/install.php:11
|
890 |
+
#, php-format
|
891 |
msgid "Database Upgrade complete. <a href=\"%s\">See what's new</a>"
|
892 |
msgstr ""
|
893 |
+
"Обновление базы данных завершено. Ознакомьтесь со <a href=\"%s\">списком "
|
894 |
+
"изменений</a>"
|
895 |
|
896 |
#: includes/admin/views/settings-addons.php:17
|
897 |
msgid "Download & Install"
|
1256 |
msgstr "Полный"
|
1257 |
|
1258 |
#: includes/api/api-helpers.php:1248 includes/api/api-helpers.php:1831
|
1259 |
+
#: pro/fields/class-acf-field-clone.php:992
|
1260 |
msgid "(no title)"
|
1261 |
msgstr "(нет заголовка)"
|
1262 |
|
1263 |
#: includes/api/api-helpers.php:1868
|
1264 |
#: includes/fields/class-acf-field-page_link.php:269
|
1265 |
#: includes/fields/class-acf-field-post_object.php:268
|
1266 |
+
#: includes/fields/class-acf-field-taxonomy.php:986
|
1267 |
msgid "Parent"
|
1268 |
msgstr "Родитель"
|
1269 |
|
1322 |
msgid "jQuery"
|
1323 |
msgstr "jQuery"
|
1324 |
|
1325 |
+
#: includes/fields.php:149 includes/fields/class-acf-field-button-group.php:177
|
1326 |
+
#: includes/fields/class-acf-field-checkbox.php:384
|
1327 |
+
#: includes/fields/class-acf-field-group.php:474
|
1328 |
#: includes/fields/class-acf-field-radio.php:285
|
1329 |
+
#: pro/fields/class-acf-field-clone.php:839
|
1330 |
+
#: pro/fields/class-acf-field-flexible-content.php:552
|
1331 |
+
#: pro/fields/class-acf-field-flexible-content.php:601
|
1332 |
+
#: pro/fields/class-acf-field-repeater.php:450
|
1333 |
msgid "Layout"
|
1334 |
+
msgstr "Блок"
|
1335 |
|
1336 |
#: includes/fields.php:326
|
1337 |
msgid "Field type does not exist"
|
1338 |
msgstr "Тип поля не существует"
|
1339 |
|
1340 |
#: includes/fields.php:326
|
|
|
1341 |
msgid "Unknown"
|
1342 |
+
msgstr "Неизвестно"
|
1343 |
|
1344 |
+
#: includes/fields/class-acf-field-button-group.php:24
|
1345 |
+
msgid "Button Group"
|
1346 |
+
msgstr "Группа кнопок"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1347 |
|
1348 |
+
#: includes/fields/class-acf-field-button-group.php:149
|
1349 |
#: includes/fields/class-acf-field-checkbox.php:344
|
1350 |
#: includes/fields/class-acf-field-radio.php:235
|
1351 |
#: includes/fields/class-acf-field-select.php:368
|
1352 |
msgid "Choices"
|
1353 |
msgstr "Варианты"
|
1354 |
|
1355 |
+
#: includes/fields/class-acf-field-button-group.php:150
|
1356 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1357 |
#: includes/fields/class-acf-field-radio.php:236
|
1358 |
#: includes/fields/class-acf-field-select.php:369
|
1359 |
msgid "Enter each choice on a new line."
|
1360 |
msgstr "Введите каждый вариант выбора на новую строку."
|
1361 |
|
1362 |
+
#: includes/fields/class-acf-field-button-group.php:150
|
1363 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1364 |
#: includes/fields/class-acf-field-radio.php:236
|
1365 |
#: includes/fields/class-acf-field-select.php:369
|
1368 |
"Для большего контроля, вы можете ввести значение и ярлык по следующему "
|
1369 |
"формату:"
|
1370 |
|
1371 |
+
#: includes/fields/class-acf-field-button-group.php:150
|
1372 |
#: includes/fields/class-acf-field-checkbox.php:345
|
1373 |
#: includes/fields/class-acf-field-radio.php:236
|
1374 |
#: includes/fields/class-acf-field-select.php:369
|
1375 |
msgid "red : Red"
|
1376 |
msgstr "red : Красный"
|
1377 |
|
1378 |
+
#: includes/fields/class-acf-field-button-group.php:158
|
1379 |
+
#: includes/fields/class-acf-field-page_link.php:513
|
1380 |
+
#: includes/fields/class-acf-field-post_object.php:412
|
1381 |
+
#: includes/fields/class-acf-field-radio.php:244
|
1382 |
+
#: includes/fields/class-acf-field-select.php:386
|
1383 |
+
#: includes/fields/class-acf-field-taxonomy.php:793
|
1384 |
+
#: includes/fields/class-acf-field-user.php:408
|
1385 |
+
msgid "Allow Null?"
|
1386 |
+
msgstr "Разрешить пусто значение?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1387 |
|
1388 |
+
#: includes/fields/class-acf-field-button-group.php:168
|
1389 |
#: includes/fields/class-acf-field-checkbox.php:375
|
1390 |
#: includes/fields/class-acf-field-color_picker.php:131
|
1391 |
+
#: includes/fields/class-acf-field-email.php:118
|
1392 |
+
#: includes/fields/class-acf-field-number.php:127
|
1393 |
#: includes/fields/class-acf-field-radio.php:276
|
1394 |
+
#: includes/fields/class-acf-field-range.php:148
|
1395 |
#: includes/fields/class-acf-field-select.php:377
|
1396 |
+
#: includes/fields/class-acf-field-text.php:119
|
1397 |
+
#: includes/fields/class-acf-field-textarea.php:102
|
1398 |
#: includes/fields/class-acf-field-true_false.php:135
|
1399 |
+
#: includes/fields/class-acf-field-url.php:100
|
1400 |
+
#: includes/fields/class-acf-field-wysiwyg.php:410
|
1401 |
msgid "Default Value"
|
1402 |
msgstr "Значение по умолчанию"
|
1403 |
|
1404 |
+
#: includes/fields/class-acf-field-button-group.php:169
|
1405 |
+
#: includes/fields/class-acf-field-email.php:119
|
1406 |
+
#: includes/fields/class-acf-field-number.php:128
|
1407 |
+
#: includes/fields/class-acf-field-radio.php:277
|
1408 |
+
#: includes/fields/class-acf-field-range.php:149
|
1409 |
+
#: includes/fields/class-acf-field-text.php:120
|
1410 |
+
#: includes/fields/class-acf-field-textarea.php:103
|
1411 |
+
#: includes/fields/class-acf-field-url.php:101
|
1412 |
+
#: includes/fields/class-acf-field-wysiwyg.php:411
|
1413 |
+
msgid "Appears when creating a new post"
|
1414 |
+
msgstr "Заполняются при создании новой записи"
|
1415 |
|
1416 |
+
#: includes/fields/class-acf-field-button-group.php:183
|
1417 |
#: includes/fields/class-acf-field-checkbox.php:391
|
1418 |
#: includes/fields/class-acf-field-radio.php:292
|
1419 |
msgid "Horizontal"
|
1420 |
msgstr "Горизонтальная"
|
1421 |
|
1422 |
+
#: includes/fields/class-acf-field-button-group.php:184
|
1423 |
+
#: includes/fields/class-acf-field-checkbox.php:390
|
1424 |
+
#: includes/fields/class-acf-field-radio.php:291
|
1425 |
+
msgid "Vertical"
|
1426 |
+
msgstr "Вертикальная"
|
|
|
|
|
1427 |
|
1428 |
+
#: includes/fields/class-acf-field-button-group.php:191
|
1429 |
#: includes/fields/class-acf-field-checkbox.php:408
|
1430 |
+
#: includes/fields/class-acf-field-file.php:200
|
1431 |
+
#: includes/fields/class-acf-field-image.php:188
|
1432 |
#: includes/fields/class-acf-field-link.php:166
|
1433 |
#: includes/fields/class-acf-field-radio.php:299
|
1434 |
+
#: includes/fields/class-acf-field-taxonomy.php:833
|
1435 |
msgid "Return Value"
|
1436 |
msgstr "Возвращаемое значение"
|
1437 |
|
1438 |
+
#: includes/fields/class-acf-field-button-group.php:192
|
1439 |
#: includes/fields/class-acf-field-checkbox.php:409
|
1440 |
+
#: includes/fields/class-acf-field-file.php:201
|
1441 |
+
#: includes/fields/class-acf-field-image.php:189
|
1442 |
#: includes/fields/class-acf-field-link.php:167
|
1443 |
#: includes/fields/class-acf-field-radio.php:300
|
1444 |
msgid "Specify the returned value on front end"
|
1445 |
msgstr "Укажите возвращаемое значение для поля"
|
1446 |
|
1447 |
+
#: includes/fields/class-acf-field-button-group.php:197
|
1448 |
#: includes/fields/class-acf-field-checkbox.php:414
|
1449 |
#: includes/fields/class-acf-field-radio.php:305
|
1450 |
#: includes/fields/class-acf-field-select.php:431
|
1451 |
msgid "Value"
|
1452 |
msgstr "Значение"
|
1453 |
|
1454 |
+
#: includes/fields/class-acf-field-button-group.php:199
|
1455 |
#: includes/fields/class-acf-field-checkbox.php:416
|
1456 |
#: includes/fields/class-acf-field-radio.php:307
|
1457 |
#: includes/fields/class-acf-field-select.php:433
|
1458 |
msgid "Both (Array)"
|
1459 |
msgstr "Оба (массив)"
|
1460 |
|
1461 |
+
#: includes/fields/class-acf-field-checkbox.php:25
|
1462 |
+
#: includes/fields/class-acf-field-taxonomy.php:780
|
1463 |
+
msgid "Checkbox"
|
1464 |
+
msgstr "Флажок (checkbox)"
|
1465 |
+
|
1466 |
+
#: includes/fields/class-acf-field-checkbox.php:154
|
1467 |
+
msgid "Toggle All"
|
1468 |
+
msgstr "Выбрать все"
|
1469 |
+
|
1470 |
+
#: includes/fields/class-acf-field-checkbox.php:221
|
1471 |
+
msgid "Add new choice"
|
1472 |
+
msgstr "Добавить новый вариант"
|
1473 |
+
|
1474 |
+
#: includes/fields/class-acf-field-checkbox.php:353
|
1475 |
+
msgid "Allow Custom"
|
1476 |
+
msgstr "Разрешить пользовательские"
|
1477 |
+
|
1478 |
+
#: includes/fields/class-acf-field-checkbox.php:358
|
1479 |
+
msgid "Allow 'custom' values to be added"
|
1480 |
+
msgstr "Разрешить добавление пользовательских вариантов"
|
1481 |
+
|
1482 |
+
#: includes/fields/class-acf-field-checkbox.php:364
|
1483 |
+
msgid "Save Custom"
|
1484 |
+
msgstr "Сохранить пользовательские"
|
1485 |
+
|
1486 |
+
#: includes/fields/class-acf-field-checkbox.php:369
|
1487 |
+
msgid "Save 'custom' values to the field's choices"
|
1488 |
+
msgstr "Сохранить пользовательские варианты в настройках поля"
|
1489 |
+
|
1490 |
+
#: includes/fields/class-acf-field-checkbox.php:376
|
1491 |
+
#: includes/fields/class-acf-field-select.php:378
|
1492 |
+
msgid "Enter each default value on a new line"
|
1493 |
+
msgstr "Введите каждое значение на новую строку."
|
1494 |
+
|
1495 |
+
#: includes/fields/class-acf-field-checkbox.php:398
|
1496 |
+
msgid "Toggle"
|
1497 |
+
msgstr "Переключить"
|
1498 |
+
|
1499 |
+
#: includes/fields/class-acf-field-checkbox.php:399
|
1500 |
+
msgid "Prepend an extra checkbox to toggle all choices"
|
1501 |
+
msgstr "Добавить чекбокс для переключения всех чекбоксов"
|
1502 |
+
|
1503 |
#: includes/fields/class-acf-field-color_picker.php:25
|
1504 |
msgid "Color Picker"
|
1505 |
msgstr "Цвет"
|
1567 |
#: includes/fields/class-acf-field-date_time_picker.php:208
|
1568 |
#: includes/fields/class-acf-field-time_picker.php:117
|
1569 |
#: includes/fields/class-acf-field-time_picker.php:132
|
|
|
1570 |
msgid "Custom:"
|
1571 |
+
msgstr "Пользовательский:"
|
1572 |
|
1573 |
#: includes/fields/class-acf-field-date_picker.php:226
|
|
|
1574 |
msgid "Save Format"
|
1575 |
+
msgstr "Формат сохраняемого значения"
|
1576 |
|
1577 |
#: includes/fields/class-acf-field-date_picker.php:227
|
|
|
1578 |
msgid "The format used when saving a value"
|
1579 |
+
msgstr "Формат для сохранения в базе данных"
|
1580 |
|
1581 |
#: includes/fields/class-acf-field-date_picker.php:237
|
1582 |
#: includes/fields/class-acf-field-date_time_picker.php:198
|
1681 |
msgid "Email"
|
1682 |
msgstr "E-mail"
|
1683 |
|
1684 |
+
#: includes/fields/class-acf-field-email.php:127
|
1685 |
+
#: includes/fields/class-acf-field-number.php:136
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1686 |
#: includes/fields/class-acf-field-password.php:71
|
1687 |
+
#: includes/fields/class-acf-field-text.php:128
|
1688 |
+
#: includes/fields/class-acf-field-textarea.php:111
|
1689 |
+
#: includes/fields/class-acf-field-url.php:109
|
1690 |
msgid "Placeholder Text"
|
1691 |
msgstr "Текст заглушки"
|
1692 |
|
1693 |
+
#: includes/fields/class-acf-field-email.php:128
|
1694 |
+
#: includes/fields/class-acf-field-number.php:137
|
1695 |
#: includes/fields/class-acf-field-password.php:72
|
1696 |
+
#: includes/fields/class-acf-field-text.php:129
|
1697 |
+
#: includes/fields/class-acf-field-textarea.php:112
|
1698 |
+
#: includes/fields/class-acf-field-url.php:110
|
1699 |
msgid "Appears within the input"
|
1700 |
msgstr "Появляется перед полем ввода"
|
1701 |
|
1702 |
+
#: includes/fields/class-acf-field-email.php:136
|
1703 |
+
#: includes/fields/class-acf-field-number.php:145
|
1704 |
#: includes/fields/class-acf-field-password.php:80
|
1705 |
+
#: includes/fields/class-acf-field-range.php:187
|
1706 |
+
#: includes/fields/class-acf-field-text.php:137
|
1707 |
msgid "Prepend"
|
1708 |
msgstr "Текст перед полем"
|
1709 |
|
1710 |
+
#: includes/fields/class-acf-field-email.php:137
|
1711 |
+
#: includes/fields/class-acf-field-number.php:146
|
1712 |
#: includes/fields/class-acf-field-password.php:81
|
1713 |
+
#: includes/fields/class-acf-field-range.php:188
|
1714 |
+
#: includes/fields/class-acf-field-text.php:138
|
1715 |
msgid "Appears before the input"
|
1716 |
msgstr "Текст перед полем ввода"
|
1717 |
|
1718 |
+
#: includes/fields/class-acf-field-email.php:145
|
1719 |
+
#: includes/fields/class-acf-field-number.php:154
|
1720 |
#: includes/fields/class-acf-field-password.php:89
|
1721 |
+
#: includes/fields/class-acf-field-range.php:196
|
1722 |
+
#: includes/fields/class-acf-field-text.php:146
|
1723 |
msgid "Append"
|
1724 |
msgstr "Текст после поля"
|
1725 |
|
1726 |
+
#: includes/fields/class-acf-field-email.php:146
|
1727 |
+
#: includes/fields/class-acf-field-number.php:155
|
1728 |
#: includes/fields/class-acf-field-password.php:90
|
1729 |
+
#: includes/fields/class-acf-field-range.php:197
|
1730 |
+
#: includes/fields/class-acf-field-text.php:147
|
1731 |
msgid "Appears after the input"
|
1732 |
msgstr "Текст после поля ввода"
|
1733 |
|
1749 |
msgid "Uploaded to this post"
|
1750 |
msgstr "Загружено для этой записи"
|
1751 |
|
1752 |
+
#: includes/fields/class-acf-field-file.php:126
|
1753 |
msgid "File name"
|
1754 |
msgstr "Имя файла"
|
1755 |
|
1756 |
+
#: includes/fields/class-acf-field-file.php:130
|
1757 |
+
#: includes/fields/class-acf-field-file.php:233
|
1758 |
+
#: includes/fields/class-acf-field-file.php:244
|
1759 |
+
#: includes/fields/class-acf-field-image.php:248
|
1760 |
+
#: includes/fields/class-acf-field-image.php:277
|
1761 |
#: pro/fields/class-acf-field-gallery.php:690
|
1762 |
#: pro/fields/class-acf-field-gallery.php:719
|
1763 |
msgid "File size"
|
1764 |
msgstr "Размер файла"
|
1765 |
|
1766 |
+
#: includes/fields/class-acf-field-file.php:139
|
1767 |
+
#: includes/fields/class-acf-field-image.php:124
|
1768 |
+
#: includes/fields/class-acf-field-link.php:140 includes/input.php:269
|
1769 |
+
#: pro/fields/class-acf-field-gallery.php:343
|
1770 |
+
#: pro/fields/class-acf-field-gallery.php:531
|
1771 |
+
msgid "Remove"
|
1772 |
+
msgstr "Убрать"
|
1773 |
+
|
1774 |
+
#: includes/fields/class-acf-field-file.php:155
|
1775 |
msgid "Add File"
|
1776 |
msgstr "Добавить файл"
|
1777 |
|
1778 |
+
#: includes/fields/class-acf-field-file.php:206
|
1779 |
msgid "File Array"
|
1780 |
msgstr "Массив"
|
1781 |
|
1782 |
+
#: includes/fields/class-acf-field-file.php:207
|
1783 |
msgid "File URL"
|
1784 |
msgstr "Ссылка на файл"
|
1785 |
|
1786 |
+
#: includes/fields/class-acf-field-file.php:208
|
1787 |
msgid "File ID"
|
1788 |
msgstr "ID файла"
|
1789 |
|
1790 |
+
#: includes/fields/class-acf-field-file.php:215
|
1791 |
+
#: includes/fields/class-acf-field-image.php:213
|
1792 |
#: pro/fields/class-acf-field-gallery.php:655
|
1793 |
msgid "Library"
|
1794 |
msgstr "Библиотека"
|
1795 |
|
1796 |
+
#: includes/fields/class-acf-field-file.php:216
|
1797 |
+
#: includes/fields/class-acf-field-image.php:214
|
1798 |
#: pro/fields/class-acf-field-gallery.php:656
|
1799 |
msgid "Limit the media library choice"
|
1800 |
msgstr "Ограничение количества выбранных элементов"
|
1801 |
|
1802 |
+
#: includes/fields/class-acf-field-file.php:221
|
1803 |
+
#: includes/fields/class-acf-field-image.php:219
|
1804 |
#: includes/locations/class-acf-location-attachment.php:101
|
1805 |
#: includes/locations/class-acf-location-comment.php:79
|
1806 |
#: includes/locations/class-acf-location-nav-menu.php:102
|
1812 |
msgid "All"
|
1813 |
msgstr "Все"
|
1814 |
|
1815 |
+
#: includes/fields/class-acf-field-file.php:222
|
1816 |
+
#: includes/fields/class-acf-field-image.php:220
|
1817 |
#: pro/fields/class-acf-field-gallery.php:662
|
1818 |
msgid "Uploaded to post"
|
1819 |
msgstr "Загружено в запись"
|
1820 |
|
1821 |
+
#: includes/fields/class-acf-field-file.php:229
|
1822 |
+
#: includes/fields/class-acf-field-image.php:227
|
1823 |
#: pro/fields/class-acf-field-gallery.php:669
|
1824 |
msgid "Minimum"
|
1825 |
msgstr "Минимум"
|
1826 |
|
1827 |
+
#: includes/fields/class-acf-field-file.php:230
|
1828 |
+
#: includes/fields/class-acf-field-file.php:241
|
1829 |
msgid "Restrict which files can be uploaded"
|
1830 |
msgstr "Ограничить файлы, которые могут быть загружены"
|
1831 |
|
1832 |
+
#: includes/fields/class-acf-field-file.php:240
|
1833 |
+
#: includes/fields/class-acf-field-image.php:256
|
1834 |
#: pro/fields/class-acf-field-gallery.php:698
|
1835 |
msgid "Maximum"
|
1836 |
msgstr "Максимум"
|
1837 |
|
1838 |
+
#: includes/fields/class-acf-field-file.php:251
|
1839 |
+
#: includes/fields/class-acf-field-image.php:285
|
1840 |
#: pro/fields/class-acf-field-gallery.php:727
|
1841 |
msgid "Allowed file types"
|
1842 |
msgstr "Допустимые типы файлов"
|
1843 |
|
1844 |
+
#: includes/fields/class-acf-field-file.php:252
|
1845 |
+
#: includes/fields/class-acf-field-image.php:286
|
1846 |
#: pro/fields/class-acf-field-gallery.php:728
|
1847 |
msgid "Comma separated list. Leave blank for all types"
|
1848 |
msgstr ""
|
1861 |
msgid "Sorry, this browser does not support geolocation"
|
1862 |
msgstr "Извините, но ваш браузер не поддерживает определение местоположения"
|
1863 |
|
1864 |
+
#: includes/fields/class-acf-field-google-map.php:113
|
1865 |
msgid "Clear location"
|
1866 |
msgstr "Очистить местоположение"
|
1867 |
|
1868 |
+
#: includes/fields/class-acf-field-google-map.php:114
|
1869 |
msgid "Find current location"
|
1870 |
msgstr "Определить текущее местоположение"
|
1871 |
|
1872 |
+
#: includes/fields/class-acf-field-google-map.php:117
|
1873 |
msgid "Search for address..."
|
1874 |
msgstr "Поиск по адресу..."
|
1875 |
|
1876 |
+
#: includes/fields/class-acf-field-google-map.php:147
|
1877 |
+
#: includes/fields/class-acf-field-google-map.php:158
|
1878 |
msgid "Center"
|
1879 |
msgstr "Центрировать"
|
1880 |
|
1881 |
+
#: includes/fields/class-acf-field-google-map.php:148
|
1882 |
+
#: includes/fields/class-acf-field-google-map.php:159
|
1883 |
msgid "Center the initial map"
|
1884 |
msgstr "Центрировать изначальную карту"
|
1885 |
|
1886 |
+
#: includes/fields/class-acf-field-google-map.php:170
|
1887 |
msgid "Zoom"
|
1888 |
msgstr "Масштаб"
|
1889 |
|
1890 |
+
#: includes/fields/class-acf-field-google-map.php:171
|
1891 |
msgid "Set the initial zoom level"
|
1892 |
msgstr "Укажите начальный масштаб"
|
1893 |
|
1894 |
+
#: includes/fields/class-acf-field-google-map.php:180
|
1895 |
+
#: includes/fields/class-acf-field-image.php:239
|
1896 |
+
#: includes/fields/class-acf-field-image.php:268
|
1897 |
+
#: includes/fields/class-acf-field-oembed.php:281
|
1898 |
#: pro/fields/class-acf-field-gallery.php:681
|
1899 |
#: pro/fields/class-acf-field-gallery.php:710
|
1900 |
msgid "Height"
|
1901 |
msgstr "Высота"
|
1902 |
|
1903 |
+
#: includes/fields/class-acf-field-google-map.php:181
|
1904 |
msgid "Customise the map height"
|
1905 |
msgstr "Настройка высоты карты"
|
1906 |
|
1907 |
#: includes/fields/class-acf-field-group.php:25
|
|
|
1908 |
msgid "Group"
|
1909 |
+
msgstr "Группа"
|
1910 |
|
1911 |
+
#: includes/fields/class-acf-field-group.php:459
|
1912 |
+
#: pro/fields/class-acf-field-repeater.php:389
|
1913 |
msgid "Sub Fields"
|
1914 |
msgstr "Вложенные поля"
|
1915 |
|
1916 |
+
#: includes/fields/class-acf-field-group.php:475
|
1917 |
+
#: pro/fields/class-acf-field-clone.php:840
|
1918 |
msgid "Specify the style used to render the selected fields"
|
1919 |
msgstr "Укажите способ отображения клонированных полей"
|
1920 |
|
1921 |
+
#: includes/fields/class-acf-field-group.php:480
|
1922 |
+
#: pro/fields/class-acf-field-clone.php:845
|
1923 |
+
#: pro/fields/class-acf-field-flexible-content.php:612
|
1924 |
+
#: pro/fields/class-acf-field-repeater.php:458
|
1925 |
msgid "Block"
|
1926 |
msgstr "Блок"
|
1927 |
|
1928 |
+
#: includes/fields/class-acf-field-group.php:481
|
1929 |
+
#: pro/fields/class-acf-field-clone.php:846
|
1930 |
+
#: pro/fields/class-acf-field-flexible-content.php:611
|
1931 |
+
#: pro/fields/class-acf-field-repeater.php:457
|
1932 |
msgid "Table"
|
1933 |
msgstr "Таблица"
|
1934 |
|
1935 |
+
#: includes/fields/class-acf-field-group.php:482
|
1936 |
+
#: pro/fields/class-acf-field-clone.php:847
|
1937 |
+
#: pro/fields/class-acf-field-flexible-content.php:613
|
1938 |
+
#: pro/fields/class-acf-field-repeater.php:459
|
1939 |
msgid "Row"
|
1940 |
msgstr "Строка"
|
1941 |
|
1961 |
msgid "All images"
|
1962 |
msgstr "Все изображения"
|
1963 |
|
1964 |
+
#: includes/fields/class-acf-field-image.php:140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1965 |
msgid "No image selected"
|
1966 |
msgstr "Изображение не выбрано"
|
1967 |
|
1968 |
+
#: includes/fields/class-acf-field-image.php:140
|
1969 |
msgid "Add Image"
|
1970 |
msgstr "Добавить изображение"
|
1971 |
|
1972 |
+
#: includes/fields/class-acf-field-image.php:194
|
1973 |
msgid "Image Array"
|
1974 |
msgstr "Массив изображения"
|
1975 |
|
1976 |
+
#: includes/fields/class-acf-field-image.php:195
|
1977 |
msgid "Image URL"
|
1978 |
msgstr "Ссылка на изображение"
|
1979 |
|
1980 |
+
#: includes/fields/class-acf-field-image.php:196
|
1981 |
msgid "Image ID"
|
1982 |
msgstr "ID изображения"
|
1983 |
|
1984 |
+
#: includes/fields/class-acf-field-image.php:203
|
1985 |
msgid "Preview Size"
|
1986 |
msgstr "Размер изображения"
|
1987 |
|
1988 |
+
#: includes/fields/class-acf-field-image.php:204
|
1989 |
msgid "Shown when entering data"
|
1990 |
msgstr "Размер отображаемого изображения при редактировании"
|
1991 |
|
1992 |
+
#: includes/fields/class-acf-field-image.php:228
|
1993 |
+
#: includes/fields/class-acf-field-image.php:257
|
1994 |
#: pro/fields/class-acf-field-gallery.php:670
|
1995 |
#: pro/fields/class-acf-field-gallery.php:699
|
1996 |
msgid "Restrict which images can be uploaded"
|
1997 |
msgstr "Ограничить изображения, которые могут быть загружены"
|
1998 |
|
1999 |
+
#: includes/fields/class-acf-field-image.php:231
|
2000 |
+
#: includes/fields/class-acf-field-image.php:260
|
2001 |
+
#: includes/fields/class-acf-field-oembed.php:270
|
2002 |
#: pro/fields/class-acf-field-gallery.php:673
|
2003 |
#: pro/fields/class-acf-field-gallery.php:702
|
2004 |
msgid "Width"
|
2005 |
msgstr "Ширина"
|
2006 |
|
2007 |
#: includes/fields/class-acf-field-link.php:25
|
|
|
2008 |
msgid "Link"
|
2009 |
+
msgstr "Ссылка"
|
2010 |
|
2011 |
#: includes/fields/class-acf-field-link.php:133
|
|
|
2012 |
msgid "Select Link"
|
2013 |
+
msgstr "Выберите ссылку"
|
2014 |
|
2015 |
#: includes/fields/class-acf-field-link.php:138
|
2016 |
msgid "Opens in a new window/tab"
|
2017 |
+
msgstr "Откроется на новой вкладке"
|
2018 |
|
2019 |
#: includes/fields/class-acf-field-link.php:172
|
|
|
2020 |
msgid "Link Array"
|
2021 |
+
msgstr "Массив ссылок"
|
2022 |
|
2023 |
#: includes/fields/class-acf-field-link.php:173
|
|
|
2024 |
msgid "Link URL"
|
2025 |
+
msgstr "URL ссылки"
|
2026 |
|
2027 |
#: includes/fields/class-acf-field-message.php:25
|
2028 |
#: includes/fields/class-acf-field-message.php:101
|
2031 |
msgstr "Сообщение"
|
2032 |
|
2033 |
#: includes/fields/class-acf-field-message.php:110
|
2034 |
+
#: includes/fields/class-acf-field-textarea.php:139
|
2035 |
msgid "New Lines"
|
2036 |
msgstr "Перевод строк"
|
2037 |
|
2038 |
#: includes/fields/class-acf-field-message.php:111
|
2039 |
+
#: includes/fields/class-acf-field-textarea.php:140
|
2040 |
msgid "Controls how new lines are rendered"
|
2041 |
msgstr "Способ перевода строк"
|
2042 |
|
2043 |
#: includes/fields/class-acf-field-message.php:115
|
2044 |
+
#: includes/fields/class-acf-field-textarea.php:144
|
2045 |
msgid "Automatically add paragraphs"
|
2046 |
msgstr "Автоматически добавлять параграфы"
|
2047 |
|
2048 |
#: includes/fields/class-acf-field-message.php:116
|
2049 |
+
#: includes/fields/class-acf-field-textarea.php:145
|
2050 |
msgid "Automatically add <br>"
|
2051 |
msgstr "Автоматически добавлять <br>"
|
2052 |
|
2053 |
#: includes/fields/class-acf-field-message.php:117
|
2054 |
+
#: includes/fields/class-acf-field-textarea.php:146
|
2055 |
msgid "No Formatting"
|
2056 |
msgstr "Без форматирования"
|
2057 |
|
2069 |
msgid "Number"
|
2070 |
msgstr "Число"
|
2071 |
|
2072 |
+
#: includes/fields/class-acf-field-number.php:163
|
2073 |
+
#: includes/fields/class-acf-field-range.php:157
|
2074 |
msgid "Minimum Value"
|
2075 |
msgstr "Минимальное значение"
|
2076 |
|
2077 |
+
#: includes/fields/class-acf-field-number.php:172
|
2078 |
+
#: includes/fields/class-acf-field-range.php:167
|
2079 |
msgid "Maximum Value"
|
2080 |
msgstr "Максимальное значение"
|
2081 |
|
2082 |
+
#: includes/fields/class-acf-field-number.php:181
|
2083 |
+
#: includes/fields/class-acf-field-range.php:177
|
2084 |
msgid "Step Size"
|
2085 |
msgstr "Шаг изменения"
|
2086 |
|
2087 |
+
#: includes/fields/class-acf-field-number.php:219
|
2088 |
msgid "Value must be a number"
|
2089 |
msgstr "Значение должно быть числом"
|
2090 |
|
2091 |
+
#: includes/fields/class-acf-field-number.php:237
|
2092 |
#, php-format
|
2093 |
msgid "Value must be equal to or higher than %d"
|
2094 |
msgstr "Значение должно быть равным или больше чем %d"
|
2095 |
|
2096 |
+
#: includes/fields/class-acf-field-number.php:245
|
2097 |
#, php-format
|
2098 |
msgid "Value must be equal to or lower than %d"
|
2099 |
msgstr "Значение должно быть равным или меньшим чем %d"
|
2102 |
msgid "oEmbed"
|
2103 |
msgstr "Медиа"
|
2104 |
|
2105 |
+
#: includes/fields/class-acf-field-oembed.php:219
|
2106 |
msgid "Enter URL"
|
2107 |
msgstr "Введите адрес ссылки"
|
2108 |
|
2109 |
+
#: includes/fields/class-acf-field-oembed.php:234
|
2110 |
+
#: includes/fields/class-acf-field-taxonomy.php:898
|
2111 |
msgid "Error."
|
2112 |
msgstr "Ошибка."
|
2113 |
|
2114 |
+
#: includes/fields/class-acf-field-oembed.php:234
|
2115 |
msgid "No embed found for the given URL."
|
2116 |
msgstr "По указанной вами ссылке медиаконтент не обнаружен."
|
2117 |
|
2118 |
+
#: includes/fields/class-acf-field-oembed.php:267
|
2119 |
+
#: includes/fields/class-acf-field-oembed.php:278
|
2120 |
msgid "Embed Size"
|
2121 |
msgstr "Размер медиа"
|
2122 |
|
2148 |
msgid "All taxonomies"
|
2149 |
msgstr "Все таксономии"
|
2150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2151 |
#: includes/fields/class-acf-field-page_link.php:523
|
2152 |
msgid "Allow Archives URLs"
|
2153 |
msgstr "Рвзрешить ссылки на архивы"
|
2194 |
msgid "Save 'other' values to the field's choices"
|
2195 |
msgstr "Сохранить настраиваемые значения для поля выбора"
|
2196 |
|
2197 |
+
#: includes/fields/class-acf-field-range.php:25
|
2198 |
+
msgid "Range"
|
2199 |
+
msgstr "Диапазон"
|
2200 |
+
|
2201 |
#: includes/fields/class-acf-field-relationship.php:25
|
2202 |
msgid "Relationship"
|
2203 |
msgstr "Записи"
|
2241 |
|
2242 |
#: includes/fields/class-acf-field-relationship.php:658
|
2243 |
#: includes/fields/class-acf-field-taxonomy.php:28
|
2244 |
+
#: includes/fields/class-acf-field-taxonomy.php:763
|
2245 |
msgid "Taxonomy"
|
2246 |
msgstr "Таксономия"
|
2247 |
|
2271 |
msgstr[2] "%s требует выбрать как минимум %s значений"
|
2272 |
|
2273 |
#: includes/fields/class-acf-field-select.php:25
|
2274 |
+
#: includes/fields/class-acf-field-taxonomy.php:785
|
2275 |
msgctxt "noun"
|
2276 |
msgid "Select"
|
2277 |
msgstr "Выбор (select)"
|
2402 |
msgstr ""
|
2403 |
"Используйте это поле это поле в качестве разделителя между группами вкладок"
|
2404 |
|
2405 |
+
#: includes/fields/class-acf-field-taxonomy.php:713
|
2406 |
+
#, php-format
|
2407 |
+
msgctxt "No terms"
|
2408 |
+
msgid "No %s"
|
2409 |
+
msgstr "Нет %s [нет терминов]"
|
|
|
2410 |
|
2411 |
+
#: includes/fields/class-acf-field-taxonomy.php:732
|
2412 |
msgid "None"
|
2413 |
msgstr "Ничего"
|
2414 |
|
2415 |
+
#: includes/fields/class-acf-field-taxonomy.php:764
|
2416 |
msgid "Select the taxonomy to be displayed"
|
2417 |
msgstr "Выберите таксономию для отображения"
|
2418 |
|
2419 |
+
#: includes/fields/class-acf-field-taxonomy.php:773
|
2420 |
msgid "Appearance"
|
2421 |
msgstr "Отображение"
|
2422 |
|
2423 |
+
#: includes/fields/class-acf-field-taxonomy.php:774
|
2424 |
msgid "Select the appearance of this field"
|
2425 |
msgstr "Выберите способ отображения поля"
|
2426 |
|
2427 |
+
#: includes/fields/class-acf-field-taxonomy.php:779
|
2428 |
msgid "Multiple Values"
|
2429 |
msgstr "Несколько значений"
|
2430 |
|
2431 |
+
#: includes/fields/class-acf-field-taxonomy.php:781
|
2432 |
msgid "Multi Select"
|
2433 |
msgstr "Множественный выбор"
|
2434 |
|
2435 |
+
#: includes/fields/class-acf-field-taxonomy.php:783
|
2436 |
msgid "Single Value"
|
2437 |
msgstr "Одно значение"
|
2438 |
|
2439 |
+
#: includes/fields/class-acf-field-taxonomy.php:784
|
2440 |
msgid "Radio Buttons"
|
2441 |
msgstr "Радио-кнопки"
|
2442 |
|
2443 |
+
#: includes/fields/class-acf-field-taxonomy.php:803
|
2444 |
msgid "Create Terms"
|
2445 |
msgstr "Создание терминов"
|
2446 |
|
2447 |
+
#: includes/fields/class-acf-field-taxonomy.php:804
|
2448 |
msgid "Allow new terms to be created whilst editing"
|
2449 |
msgstr "Разрешнить создавать новые термины во время редактирования"
|
2450 |
|
2451 |
+
#: includes/fields/class-acf-field-taxonomy.php:813
|
2452 |
msgid "Save Terms"
|
2453 |
msgstr "Сохранение терминов"
|
2454 |
|
2455 |
+
#: includes/fields/class-acf-field-taxonomy.php:814
|
2456 |
msgid "Connect selected terms to the post"
|
2457 |
msgstr "Связать выбранные термины с записью"
|
2458 |
|
2459 |
+
#: includes/fields/class-acf-field-taxonomy.php:823
|
2460 |
msgid "Load Terms"
|
2461 |
msgstr "Загрузить термины"
|
2462 |
|
2463 |
+
#: includes/fields/class-acf-field-taxonomy.php:824
|
2464 |
msgid "Load value from posts terms"
|
2465 |
msgstr "Загрузить значения из терминов записей"
|
2466 |
|
2467 |
+
#: includes/fields/class-acf-field-taxonomy.php:838
|
2468 |
msgid "Term Object"
|
2469 |
msgstr "Объект термина"
|
2470 |
|
2471 |
+
#: includes/fields/class-acf-field-taxonomy.php:839
|
2472 |
msgid "Term ID"
|
2473 |
msgstr "ID термина"
|
2474 |
|
2475 |
+
#: includes/fields/class-acf-field-taxonomy.php:898
|
2476 |
#, php-format
|
2477 |
msgid "User unable to add new %s"
|
2478 |
msgstr "У пользователя нет возможности добавить новый %s"
|
2479 |
|
2480 |
+
#: includes/fields/class-acf-field-taxonomy.php:911
|
2481 |
#, php-format
|
2482 |
msgid "%s already exists"
|
2483 |
msgstr "%s уже существует"
|
2484 |
|
2485 |
+
#: includes/fields/class-acf-field-taxonomy.php:952
|
2486 |
#, php-format
|
2487 |
msgid "%s added"
|
2488 |
msgstr "%s добавлен"
|
2489 |
|
2490 |
+
#: includes/fields/class-acf-field-taxonomy.php:997
|
2491 |
msgid "Add"
|
2492 |
msgstr "Добавить"
|
2493 |
|
2495 |
msgid "Text"
|
2496 |
msgstr "Текст"
|
2497 |
|
2498 |
+
#: includes/fields/class-acf-field-text.php:155
|
2499 |
+
#: includes/fields/class-acf-field-textarea.php:120
|
2500 |
msgid "Character Limit"
|
2501 |
msgstr "Ограничение количества символов"
|
2502 |
|
2503 |
+
#: includes/fields/class-acf-field-text.php:156
|
2504 |
+
#: includes/fields/class-acf-field-textarea.php:121
|
2505 |
msgid "Leave blank for no limit"
|
2506 |
msgstr "Оставьте пустым для снятия ограничений"
|
2507 |
|
2509 |
msgid "Text Area"
|
2510 |
msgstr "Область текста"
|
2511 |
|
2512 |
+
#: includes/fields/class-acf-field-textarea.php:129
|
2513 |
msgid "Rows"
|
2514 |
msgstr "Строки"
|
2515 |
|
2516 |
+
#: includes/fields/class-acf-field-textarea.php:130
|
2517 |
msgid "Sets the textarea height"
|
2518 |
msgstr "Укажите высоту поля ввода"
|
2519 |
|
2527 |
|
2528 |
#: includes/fields/class-acf-field-true_false.php:79
|
2529 |
#: includes/fields/class-acf-field-true_false.php:159 includes/input.php:267
|
2530 |
+
#: pro/admin/views/html-settings-updates.php:89
|
2531 |
msgid "Yes"
|
2532 |
msgstr "Да"
|
2533 |
|
2534 |
+
#: includes/fields/class-acf-field-true_false.php:80
|
2535 |
+
#: includes/fields/class-acf-field-true_false.php:169 includes/input.php:268
|
2536 |
+
#: pro/admin/views/html-settings-updates.php:99
|
2537 |
+
msgid "No"
|
2538 |
+
msgstr "Нет"
|
2539 |
+
|
2540 |
#: includes/fields/class-acf-field-true_false.php:127
|
2541 |
msgid "Displays text alongside the checkbox"
|
2542 |
+
msgstr "Отображать текст рядом с переключателем"
|
2543 |
|
2544 |
#: includes/fields/class-acf-field-true_false.php:155
|
|
|
2545 |
msgid "On Text"
|
2546 |
+
msgstr "Включено"
|
2547 |
|
2548 |
#: includes/fields/class-acf-field-true_false.php:156
|
2549 |
msgid "Text shown when active"
|
2550 |
+
msgstr "Текст в активном состоянии"
|
2551 |
|
2552 |
#: includes/fields/class-acf-field-true_false.php:165
|
|
|
2553 |
msgid "Off Text"
|
2554 |
+
msgstr "Выключено"
|
2555 |
|
2556 |
#: includes/fields/class-acf-field-true_false.php:166
|
2557 |
msgid "Text shown when inactive"
|
2558 |
+
msgstr "Текст в выключенном состоянии"
|
2559 |
|
2560 |
#: includes/fields/class-acf-field-url.php:25
|
2561 |
msgid "Url"
|
2562 |
msgstr "Ссылка"
|
2563 |
|
2564 |
+
#: includes/fields/class-acf-field-url.php:151
|
2565 |
msgid "Value must be a valid URL"
|
2566 |
msgstr "Значение должно быть корректной ссылкой"
|
2567 |
|
2581 |
msgid "Wysiwyg Editor"
|
2582 |
msgstr "Редактор WordPress"
|
2583 |
|
2584 |
+
#: includes/fields/class-acf-field-wysiwyg.php:359
|
2585 |
msgid "Visual"
|
2586 |
msgstr "Визуально"
|
2587 |
|
2588 |
+
#: includes/fields/class-acf-field-wysiwyg.php:360
|
2589 |
msgctxt "Name for the Text editor tab (formerly HTML)"
|
2590 |
msgid "Text"
|
2591 |
msgstr "Текст"
|
2592 |
|
2593 |
+
#: includes/fields/class-acf-field-wysiwyg.php:366
|
2594 |
msgid "Click to initialize TinyMCE"
|
2595 |
+
msgstr "Нажмите для запуска TinyMCE"
|
2596 |
|
2597 |
+
#: includes/fields/class-acf-field-wysiwyg.php:419
|
2598 |
msgid "Tabs"
|
2599 |
msgstr "Вкладки"
|
2600 |
|
2601 |
+
#: includes/fields/class-acf-field-wysiwyg.php:424
|
2602 |
msgid "Visual & Text"
|
2603 |
msgstr "Визуально и текст"
|
2604 |
|
2605 |
+
#: includes/fields/class-acf-field-wysiwyg.php:425
|
2606 |
msgid "Visual Only"
|
2607 |
msgstr "Только визуальный редактор"
|
2608 |
|
2609 |
+
#: includes/fields/class-acf-field-wysiwyg.php:426
|
2610 |
msgid "Text Only"
|
2611 |
msgstr "Только текстовый редактор"
|
2612 |
|
2613 |
+
#: includes/fields/class-acf-field-wysiwyg.php:433
|
2614 |
msgid "Toolbar"
|
2615 |
msgstr "Панель инструментов"
|
2616 |
|
2617 |
+
#: includes/fields/class-acf-field-wysiwyg.php:443
|
2618 |
msgid "Show Media Upload Buttons?"
|
2619 |
msgstr "Кнопки загрузки медиа"
|
2620 |
|
2621 |
+
#: includes/fields/class-acf-field-wysiwyg.php:453
|
2622 |
msgid "Delay initialization?"
|
2623 |
+
msgstr "Отложенная инициализация"
|
2624 |
|
2625 |
+
#: includes/fields/class-acf-field-wysiwyg.php:454
|
2626 |
msgid "TinyMCE will not be initalized until field is clicked"
|
2627 |
+
msgstr "TinyMCE не будет инициализирован до клика по полю"
|
|
|
2628 |
|
2629 |
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:303
|
2630 |
#: pro/admin/admin-options-page.php:308
|
2740 |
msgstr "Пункт меню"
|
2741 |
|
2742 |
#: includes/locations/class-acf-location-nav-menu.php:27
|
|
|
2743 |
msgid "Menu"
|
2744 |
+
msgstr "Меню"
|
2745 |
|
2746 |
#: includes/locations/class-acf-location-nav-menu.php:109
|
|
|
2747 |
msgid "Menu Locations"
|
2748 |
+
msgstr "Расположение меню"
|
2749 |
|
2750 |
#: includes/locations/class-acf-location-nav-menu.php:119
|
2751 |
msgid "Menus"
|
2805 |
msgstr "Таксономия записи"
|
2806 |
|
2807 |
#: includes/locations/class-acf-location-post-template.php:27
|
|
|
2808 |
msgid "Post Template"
|
2809 |
+
msgstr "Шаблон записи"
|
2810 |
|
2811 |
#: includes/locations/class-acf-location-taxonomy.php:27
|
2812 |
msgid "Taxonomy Term"
|
2870 |
msgstr "<b>Ошибка</b>. Не удалось подключиться к серверу обновлений"
|
2871 |
|
2872 |
#: pro/admin/admin-settings-updates.php:162
|
2873 |
+
#: pro/admin/views/html-settings-updates.php:13
|
2874 |
msgid "Updates"
|
2875 |
msgstr "Обновление"
|
2876 |
|
2877 |
+
#: pro/admin/views/html-settings-updates.php:7
|
2878 |
msgid "Deactivate License"
|
2879 |
msgstr "Декативировать лицензию"
|
2880 |
|
2881 |
+
#: pro/admin/views/html-settings-updates.php:7
|
2882 |
msgid "Activate License"
|
2883 |
msgstr "Активировать лицензию"
|
2884 |
|
2885 |
+
#: pro/admin/views/html-settings-updates.php:17
|
2886 |
msgid "License Information"
|
2887 |
msgstr "Информация о лицензии"
|
2888 |
|
2889 |
+
#: pro/admin/views/html-settings-updates.php:20
|
2890 |
#, php-format
|
2891 |
msgid ""
|
2892 |
"To unlock updates, please enter your license key below. If you don't have a "
|
2896 |
"Для разблокирования обновлений введите лицензионный ключ ниже. Если у вас "
|
2897 |
"его нет, то ознакомьтесь с <a href=\"%s\" target=\"_blank\">деталями</a>."
|
2898 |
|
2899 |
+
#: pro/admin/views/html-settings-updates.php:29
|
2900 |
msgid "License Key"
|
2901 |
msgstr "Номер лицензии"
|
2902 |
|
2903 |
+
#: pro/admin/views/html-settings-updates.php:61
|
2904 |
msgid "Update Information"
|
2905 |
msgstr "Обновления"
|
2906 |
|
2907 |
+
#: pro/admin/views/html-settings-updates.php:68
|
2908 |
msgid "Current Version"
|
2909 |
msgstr "Текущая версия"
|
2910 |
|
2911 |
+
#: pro/admin/views/html-settings-updates.php:76
|
2912 |
msgid "Latest Version"
|
2913 |
msgstr "Последняя версия"
|
2914 |
|
2915 |
+
#: pro/admin/views/html-settings-updates.php:84
|
2916 |
msgid "Update Available"
|
2917 |
msgstr "Обновления доступны"
|
2918 |
|
2919 |
+
#: pro/admin/views/html-settings-updates.php:92
|
2920 |
msgid "Update Plugin"
|
2921 |
msgstr "Обновить плагин"
|
2922 |
|
2923 |
+
#: pro/admin/views/html-settings-updates.php:94
|
2924 |
msgid "Please enter your license key above to unlock updates"
|
2925 |
msgstr "Пожалуйста введите ваш номер лицензии для разблокировки обновлений"
|
2926 |
|
2927 |
+
#: pro/admin/views/html-settings-updates.php:100
|
2928 |
msgid "Check Again"
|
2929 |
msgstr "Проверить еще раз"
|
2930 |
|
2931 |
+
#: pro/admin/views/html-settings-updates.php:117
|
2932 |
msgid "Upgrade Notice"
|
2933 |
msgstr "Замечания по обновлению"
|
2934 |
|
2937 |
msgid "Clone"
|
2938 |
msgstr "Клон"
|
2939 |
|
2940 |
+
#: pro/fields/class-acf-field-clone.php:808
|
2941 |
msgid "Select one or more fields you wish to clone"
|
2942 |
msgstr "Выберите одно или несколько полей, которые вы хотите клонировать"
|
2943 |
|
2944 |
+
#: pro/fields/class-acf-field-clone.php:825
|
2945 |
msgid "Display"
|
2946 |
msgstr "Способ отображения"
|
2947 |
|
2948 |
+
#: pro/fields/class-acf-field-clone.php:826
|
2949 |
msgid "Specify the style used to render the clone field"
|
2950 |
msgstr "Выберите стиль отображения клонированных полей"
|
2951 |
|
2952 |
+
#: pro/fields/class-acf-field-clone.php:831
|
2953 |
msgid "Group (displays selected fields in a group within this field)"
|
2954 |
msgstr ""
|
2955 |
"Группа (сгруппировать выбранные поля в одно и выводить вместо текущего)"
|
2956 |
|
2957 |
+
#: pro/fields/class-acf-field-clone.php:832
|
2958 |
msgid "Seamless (replaces this field with selected fields)"
|
2959 |
msgstr "Отдельно (выбранные поля выводятся отдельно вместо текущего)"
|
2960 |
|
2961 |
+
#: pro/fields/class-acf-field-clone.php:853
|
2962 |
#, php-format
|
2963 |
msgid "Labels will be displayed as %s"
|
2964 |
msgstr "Ярлыки будут отображаться как %s"
|
2965 |
|
2966 |
+
#: pro/fields/class-acf-field-clone.php:856
|
2967 |
msgid "Prefix Field Labels"
|
2968 |
msgstr "Префикс для ярлыков полей"
|
2969 |
|
2970 |
+
#: pro/fields/class-acf-field-clone.php:867
|
2971 |
#, php-format
|
2972 |
msgid "Values will be saved as %s"
|
2973 |
msgstr "Значения будут сохранены как %s"
|
2974 |
|
2975 |
+
#: pro/fields/class-acf-field-clone.php:870
|
2976 |
msgid "Prefix Field Names"
|
2977 |
msgstr "Префикс для названий полей"
|
2978 |
|
2979 |
+
#: pro/fields/class-acf-field-clone.php:988
|
2980 |
msgid "Unknown field"
|
2981 |
msgstr "Неизвестное поле"
|
2982 |
|
2983 |
+
#: pro/fields/class-acf-field-clone.php:1027
|
2984 |
msgid "Unknown field group"
|
2985 |
msgstr "Неизвестная группа полей"
|
2986 |
|
2987 |
+
#: pro/fields/class-acf-field-clone.php:1031
|
2988 |
#, php-format
|
2989 |
msgid "All fields from %s field group"
|
2990 |
msgstr "Все поля группы \"%s\""
|
2991 |
|
2992 |
#: pro/fields/class-acf-field-flexible-content.php:31
|
2993 |
#: pro/fields/class-acf-field-repeater.php:174
|
2994 |
+
#: pro/fields/class-acf-field-repeater.php:470
|
2995 |
msgid "Add Row"
|
2996 |
msgstr "Добавить"
|
2997 |
|
3038 |
#: pro/fields/class-acf-field-flexible-content.php:273
|
3039 |
#, php-format
|
3040 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3041 |
+
msgstr "Нажмите на кнопку \"%s\" ниже для начала создания собственного макета"
|
3042 |
|
3043 |
+
#: pro/fields/class-acf-field-flexible-content.php:406
|
3044 |
msgid "Add layout"
|
3045 |
msgstr "Добавить макет"
|
3046 |
|
3047 |
+
#: pro/fields/class-acf-field-flexible-content.php:407
|
3048 |
msgid "Remove layout"
|
3049 |
msgstr "Удалить макет"
|
3050 |
|
3051 |
+
#: pro/fields/class-acf-field-flexible-content.php:408
|
3052 |
+
#: pro/fields/class-acf-field-repeater.php:298
|
3053 |
msgid "Click to toggle"
|
3054 |
msgstr "Нажмите для переключения"
|
3055 |
|
3056 |
+
#: pro/fields/class-acf-field-flexible-content.php:554
|
3057 |
msgid "Reorder Layout"
|
3058 |
msgstr "Переместить макет"
|
3059 |
|
3060 |
+
#: pro/fields/class-acf-field-flexible-content.php:554
|
3061 |
msgid "Reorder"
|
3062 |
msgstr "Переместить"
|
3063 |
|
3064 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
3065 |
msgid "Delete Layout"
|
3066 |
msgstr "Удалить макет"
|
3067 |
|
3068 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
3069 |
msgid "Duplicate Layout"
|
3070 |
msgstr "Дублировать макет"
|
3071 |
|
3072 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
3073 |
msgid "Add New Layout"
|
3074 |
msgstr "Добавить новый макет"
|
3075 |
|
3076 |
+
#: pro/fields/class-acf-field-flexible-content.php:628
|
3077 |
msgid "Min"
|
3078 |
msgstr "Минимум"
|
3079 |
|
3080 |
+
#: pro/fields/class-acf-field-flexible-content.php:641
|
3081 |
msgid "Max"
|
3082 |
msgstr "Максимум"
|
3083 |
|
3084 |
+
#: pro/fields/class-acf-field-flexible-content.php:668
|
3085 |
+
#: pro/fields/class-acf-field-repeater.php:466
|
3086 |
msgid "Button Label"
|
3087 |
+
msgstr "Текст кнопки добавления"
|
3088 |
|
3089 |
+
#: pro/fields/class-acf-field-flexible-content.php:677
|
3090 |
msgid "Minimum Layouts"
|
3091 |
+
msgstr "Мин. количество блоков"
|
3092 |
|
3093 |
+
#: pro/fields/class-acf-field-flexible-content.php:686
|
3094 |
msgid "Maximum Layouts"
|
3095 |
+
msgstr "Макс. количество блоков"
|
3096 |
|
3097 |
#: pro/fields/class-acf-field-gallery.php:41
|
3098 |
msgid "Add Image to Gallery"
|
3144 |
|
3145 |
#: pro/fields/class-acf-field-gallery.php:624
|
3146 |
msgid "Minimum Selection"
|
3147 |
+
msgstr "Мин. количество изображений"
|
3148 |
|
3149 |
#: pro/fields/class-acf-field-gallery.php:633
|
3150 |
msgid "Maximum Selection"
|
3151 |
+
msgstr "Макс. количество изображений"
|
3152 |
|
3153 |
#: pro/fields/class-acf-field-gallery.php:642
|
3154 |
msgid "Insert"
|
3174 |
msgid "Maximum rows reached ({max} rows)"
|
3175 |
msgstr "Достигнуто максимальное количество ({max} элементов)"
|
3176 |
|
3177 |
+
#: pro/fields/class-acf-field-repeater.php:343
|
3178 |
msgid "Add row"
|
3179 |
msgstr "Добавить"
|
3180 |
|
3181 |
+
#: pro/fields/class-acf-field-repeater.php:344
|
3182 |
msgid "Remove row"
|
3183 |
msgstr "Удалить"
|
3184 |
|
3185 |
+
#: pro/fields/class-acf-field-repeater.php:419
|
3186 |
msgid "Collapsed"
|
3187 |
+
msgstr "Сокращенный заголовок"
|
3188 |
|
3189 |
+
#: pro/fields/class-acf-field-repeater.php:420
|
3190 |
msgid "Select a sub field to show when row is collapsed"
|
3191 |
+
msgstr ""
|
3192 |
+
"Выберите поле, которое будет отображаться в качестве заголовка при "
|
3193 |
+
"сворачивании блока"
|
3194 |
|
3195 |
+
#: pro/fields/class-acf-field-repeater.php:430
|
3196 |
msgid "Minimum Rows"
|
3197 |
+
msgstr "Мин. количество элементов"
|
3198 |
|
3199 |
+
#: pro/fields/class-acf-field-repeater.php:440
|
3200 |
msgid "Maximum Rows"
|
3201 |
+
msgstr "Макс. количество элементов"
|
3202 |
|
3203 |
#: pro/locations/class-acf-location-options-page.php:79
|
3204 |
msgid "No options pages exist"
|
3235 |
msgid "http://www.elliotcondon.com/"
|
3236 |
msgstr "http://www.elliotcondon.com/"
|
3237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3238 |
#~ msgid "Getting Started"
|
3239 |
#~ msgstr "Приступаем к работе"
|
3240 |
|
3247 |
#~ msgid "Actions"
|
3248 |
#~ msgstr "Действия"
|
3249 |
|
3250 |
+
#~ msgid "Features"
|
3251 |
+
#~ msgstr "Возможности"
|
3252 |
+
|
3253 |
+
#~ msgid "How to"
|
3254 |
+
#~ msgstr "Гайды"
|
3255 |
|
3256 |
#~ msgid "Tutorials"
|
3257 |
#~ msgstr "Уроки и туториалы"
|
3259 |
#~ msgid "FAQ"
|
3260 |
#~ msgstr "Вопросы и ответы"
|
3261 |
|
3262 |
+
#~ msgid "Term meta upgrade not possible (termmeta table does not exist)"
|
3263 |
+
#~ msgstr ""
|
3264 |
+
#~ "Метаданные для терминов не удалось обновить (таблица termmeta не "
|
3265 |
+
#~ "существует)"
|
3266 |
+
|
3267 |
+
#~ msgid "Error"
|
3268 |
+
#~ msgstr "Ошибка"
|
3269 |
+
|
3270 |
+
#~ msgid "1 field requires attention."
|
3271 |
+
#~ msgid_plural "%d fields require attention."
|
3272 |
+
#~ msgstr[0] "%d поле требует внимания."
|
3273 |
+
#~ msgstr[1] "%d поля требует внимания."
|
3274 |
+
#~ msgstr[2] "%d полей требует внимания."
|
3275 |
+
|
3276 |
+
#~ msgid ""
|
3277 |
+
#~ "Error validating ACF PRO license URL (website does not match). Please re-"
|
3278 |
+
#~ "activate your license"
|
3279 |
+
#~ msgstr ""
|
3280 |
+
#~ "Ошибка при проверке лицензии ACF PRO (адрес сайта не совпадает). "
|
3281 |
+
#~ "Пожалуйста, переактивируйте лицензию"
|
3282 |
+
|
3283 |
+
#~ msgid "Customise WordPress with powerful, professional and intuitive fields"
|
3284 |
+
#~ msgstr ""
|
3285 |
+
#~ "Плагин для упрощения настройки и взаимодействия с дополнительными полями "
|
3286 |
+
#~ "для содержимого"
|
3287 |
+
|
3288 |
+
#~ msgid "Disabled"
|
3289 |
+
#~ msgstr "Отключено"
|
3290 |
+
|
3291 |
+
#~ msgid "Disabled <span class=\"count\">(%s)</span>"
|
3292 |
+
#~ msgid_plural "Disabled <span class=\"count\">(%s)</span>"
|
3293 |
+
#~ msgstr[0] "Отключено <span class=\"count\">(%s)</span>"
|
3294 |
+
#~ msgstr[1] "Отключено <span class=\"count\">(%s)</span>"
|
3295 |
+
#~ msgstr[2] "Отключено <span class=\"count\">(%s)</span>"
|
3296 |
+
|
3297 |
+
#~ msgid "'How to' guides"
|
3298 |
+
#~ msgstr "Руководства \"Как...\""
|
3299 |
+
|
3300 |
#~ msgid "Created by"
|
3301 |
#~ msgstr "Создано"
|
3302 |
|
3303 |
#~ msgid "Error loading update"
|
3304 |
#~ msgstr "Возникла ошибка при загрузке обновления"
|
3305 |
|
|
|
|
|
|
|
3306 |
#~ msgid "See what's new"
|
3307 |
#~ msgstr "Посмотрите, что изменилось"
|
3308 |
|
3309 |
#~ msgid "eg. Show extra content"
|
3310 |
#~ msgstr "Пример: Отображать дополнительное содержание"
|
3311 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3312 |
#~ msgid ""
|
3313 |
#~ "Error validating license URL (website does not match). Please re-activate "
|
3314 |
#~ "your license"
|
4061 |
#~ msgid "eg: #ffffff"
|
4062 |
#~ msgstr "Пример: #ffffff"
|
4063 |
|
4064 |
+
#~ msgid "Save format"
|
4065 |
+
#~ msgstr "Сохранить формат"
|
4066 |
+
|
4067 |
#~ msgid ""
|
4068 |
#~ "This format will determin the value saved to the database and returned "
|
4069 |
#~ "via the API"
|
lang/acf-uk.mo
CHANGED
Binary file
|
lang/acf-uk.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: skinik <info@skinik.name>\n"
|
9 |
"Language: uk\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
14 |
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
@@ -23,300 +23,245 @@ msgstr ""
|
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
|
26 |
-
#: acf.php:
|
27 |
msgid "Advanced Custom Fields"
|
28 |
msgstr "Додаткові поля Pro"
|
29 |
|
30 |
-
#: acf.php:
|
31 |
-
#, fuzzy
|
32 |
msgid "Field Groups"
|
33 |
-
msgstr "
|
34 |
|
35 |
-
#: acf.php:
|
36 |
msgid "Field Group"
|
37 |
msgstr "Група полів"
|
38 |
|
39 |
-
#: acf.php:
|
40 |
-
#: pro/fields/flexible-content.php:
|
41 |
msgid "Add New"
|
42 |
msgstr "Додати нову"
|
43 |
|
44 |
-
#: acf.php:
|
45 |
msgid "Add New Field Group"
|
46 |
msgstr "Додати нову групу полів"
|
47 |
|
48 |
-
#: acf.php:
|
49 |
msgid "Edit Field Group"
|
50 |
msgstr "Редагувати групу полів"
|
51 |
|
52 |
-
#: acf.php:
|
53 |
msgid "New Field Group"
|
54 |
msgstr "Нова група полів"
|
55 |
|
56 |
-
#: acf.php:
|
57 |
msgid "View Field Group"
|
58 |
msgstr "Переглянути групу полів"
|
59 |
|
60 |
-
#: acf.php:
|
61 |
msgid "Search Field Groups"
|
62 |
msgstr "Шукати групи полів"
|
63 |
|
64 |
-
#: acf.php:
|
65 |
msgid "No Field Groups found"
|
66 |
msgstr "Не знайдено груп полів"
|
67 |
|
68 |
-
#: acf.php:
|
69 |
msgid "No Field Groups found in Trash"
|
70 |
msgstr "У кошику немає груп полів"
|
71 |
|
72 |
-
#: acf.php:
|
73 |
-
#: admin/field-
|
|
|
|
|
74 |
msgid "Fields"
|
75 |
msgstr "Поля"
|
76 |
|
77 |
-
#: acf.php:
|
78 |
msgid "Field"
|
79 |
msgstr "Поле"
|
80 |
|
81 |
-
#: acf.php:
|
82 |
msgid "Add New Field"
|
83 |
msgstr "Додати нове поле"
|
84 |
|
85 |
-
#: acf.php:
|
86 |
msgid "Edit Field"
|
87 |
msgstr "Редагувати поле"
|
88 |
|
89 |
-
#: acf.php:
|
90 |
-
#: admin/views/settings-info.php:
|
91 |
msgid "New Field"
|
92 |
msgstr "Нове поле"
|
93 |
|
94 |
-
#: acf.php:
|
95 |
msgid "View Field"
|
96 |
msgstr "Переглянути\t поле"
|
97 |
|
98 |
-
#: acf.php:
|
99 |
msgid "Search Fields"
|
100 |
msgstr "Шукати поля"
|
101 |
|
102 |
-
#: acf.php:
|
103 |
msgid "No Fields found"
|
104 |
msgstr "Не знайдено полів"
|
105 |
|
106 |
-
#: acf.php:
|
107 |
msgid "No Fields found in Trash"
|
108 |
msgstr "Не знайдено полів у кошику"
|
109 |
|
110 |
-
#: acf.php:
|
111 |
-
#: admin/
|
112 |
-
msgid "
|
113 |
-
msgstr ""
|
114 |
|
115 |
-
#: acf.php:
|
116 |
#, php-format
|
117 |
-
msgid "
|
118 |
-
msgid_plural "
|
119 |
-
msgstr[0] ""
|
120 |
-
msgstr[1] ""
|
121 |
-
msgstr[2] ""
|
122 |
-
|
123 |
-
#: admin/admin
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
#: admin/field-group.php:68 admin/field-group.php:69 admin/field-group.php:71
|
128 |
msgid "Field group updated."
|
129 |
msgstr "Групу полів оновлено."
|
130 |
|
131 |
-
#: admin/field-group.php:70
|
132 |
msgid "Field group deleted."
|
133 |
msgstr "Групу полів видалено."
|
134 |
|
135 |
-
#: admin/field-group.php:73
|
136 |
msgid "Field group published."
|
137 |
msgstr "Групу полів опубліковано."
|
138 |
|
139 |
-
#: admin/field-group.php:74
|
140 |
msgid "Field group saved."
|
141 |
msgstr "Групу полів збережено."
|
142 |
|
143 |
-
#: admin/field-group.php:75
|
144 |
msgid "Field group submitted."
|
145 |
msgstr "Групу полів надіслано."
|
146 |
|
147 |
-
#: admin/field-group.php:76
|
148 |
#, fuzzy
|
149 |
msgid "Field group scheduled for."
|
150 |
msgstr "Групу полів збережено."
|
151 |
|
152 |
-
#: admin/field-group.php:77
|
153 |
msgid "Field group draft updated."
|
154 |
msgstr "Чернетку групи полів оновлено."
|
155 |
|
156 |
-
#: admin/field-group.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
msgid "Move to trash. Are you sure?"
|
158 |
msgstr "Перемістити в кошик. Ви впевнені?"
|
159 |
|
160 |
-
#: admin/field-group.php:
|
161 |
msgid "checked"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: admin/field-group.php:
|
165 |
msgid "No toggle fields available"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: admin/field-group.php:
|
169 |
msgid "Field group title is required"
|
170 |
msgstr "Заголовок обов’язковий"
|
171 |
|
172 |
-
#: admin/
|
|
|
173 |
msgid "copy"
|
174 |
-
msgstr ""
|
175 |
-
|
176 |
-
#: admin/field-group.php:
|
177 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
178 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
179 |
-
#: admin/views/field-group-locations.php:
|
180 |
-
#: admin/views/
|
|
|
181 |
msgid "or"
|
182 |
msgstr "або"
|
183 |
|
184 |
-
#: admin/field-group.php:
|
185 |
msgid "Parent fields"
|
186 |
msgstr "Батьківські поля"
|
187 |
|
188 |
-
#: admin/field-group.php:
|
189 |
msgid "Sibling fields"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: admin/field-group.php:
|
193 |
msgid "Move Custom Field"
|
194 |
msgstr "Перемістити поле"
|
195 |
|
196 |
-
#: admin/field-group.php:
|
197 |
msgid "This field cannot be moved until its changes have been saved"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: admin/field-group.php:
|
201 |
msgid "Null"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: admin/field-group.php:
|
205 |
msgid "The changes you made will be lost if you navigate away from this page"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: admin/field-group.php:
|
209 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: admin/field-group.php:
|
213 |
-
msgid "Location"
|
214 |
-
msgstr "Розміщення"
|
215 |
-
|
216 |
-
#: admin/field-group.php:215
|
217 |
-
msgid "Settings"
|
218 |
-
msgstr ""
|
219 |
-
|
220 |
-
#: admin/field-group.php:253
|
221 |
msgid "Field Keys"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: admin/
|
|
|
225 |
msgid "Active"
|
226 |
msgstr "Активно"
|
227 |
|
228 |
-
#: admin/field-group.php:
|
229 |
-
msgid "Front Page"
|
230 |
-
msgstr "Головна сторінка"
|
231 |
-
|
232 |
-
#: admin/field-group.php:745
|
233 |
-
msgid "Posts Page"
|
234 |
-
msgstr "Сторінка з публікаціями"
|
235 |
-
|
236 |
-
#: admin/field-group.php:746
|
237 |
-
#, fuzzy
|
238 |
-
msgid "Top Level Page (no parent)"
|
239 |
-
msgstr "Верхній рівень сторінки"
|
240 |
-
|
241 |
-
#: admin/field-group.php:747
|
242 |
-
msgid "Parent Page (has children)"
|
243 |
-
msgstr "Батьківська сторінка (має дочірні)"
|
244 |
-
|
245 |
-
#: admin/field-group.php:748
|
246 |
-
msgid "Child Page (has parent)"
|
247 |
-
msgstr "Дочірня сторінка (має батьківську)"
|
248 |
-
|
249 |
-
#: admin/field-group.php:764
|
250 |
-
msgid "Default Template"
|
251 |
-
msgstr "Стандартний шаблон"
|
252 |
-
|
253 |
-
#: admin/field-group.php:786
|
254 |
-
#, fuzzy
|
255 |
-
msgid "Logged in"
|
256 |
-
msgstr "Роль залоґованого користувача"
|
257 |
-
|
258 |
-
#: admin/field-group.php:787
|
259 |
-
msgid "Viewing front end"
|
260 |
-
msgstr ""
|
261 |
-
|
262 |
-
#: admin/field-group.php:788
|
263 |
-
msgid "Viewing back end"
|
264 |
-
msgstr ""
|
265 |
-
|
266 |
-
#: admin/field-group.php:807
|
267 |
-
msgid "Super Admin"
|
268 |
-
msgstr "Головний адмін"
|
269 |
-
|
270 |
-
#: admin/field-group.php:818 admin/field-group.php:826
|
271 |
-
#: admin/field-group.php:840 admin/field-group.php:847
|
272 |
-
#: admin/field-group.php:862 admin/field-group.php:872 fields/file.php:235
|
273 |
-
#: fields/image.php:226 pro/fields/gallery.php:653
|
274 |
-
msgid "All"
|
275 |
-
msgstr "Все"
|
276 |
-
|
277 |
-
#: admin/field-group.php:827
|
278 |
-
msgid "Add / Edit"
|
279 |
-
msgstr "Додати / Редагувати"
|
280 |
-
|
281 |
-
#: admin/field-group.php:828
|
282 |
-
msgid "Register"
|
283 |
-
msgstr "Реєстрація"
|
284 |
-
|
285 |
-
#: admin/field-group.php:1059
|
286 |
msgid "Move Complete."
|
287 |
msgstr "Переміщення завершене."
|
288 |
|
289 |
-
#: admin/field-group.php:
|
290 |
#, php-format
|
291 |
msgid "The %s field can now be found in the %s field group"
|
292 |
msgstr "Поле «%s» можете знайти у групі «%s»"
|
293 |
|
294 |
-
#: admin/field-group.php:
|
295 |
msgid "Close Window"
|
296 |
msgstr "Закрити вікно"
|
297 |
|
298 |
-
#: admin/field-group.php:
|
299 |
msgid "Please select the destination for this field"
|
300 |
msgstr "Будь ласка, оберіть групу, в яку перемістити"
|
301 |
|
302 |
-
#: admin/field-group.php:
|
303 |
msgid "Move Field"
|
304 |
msgstr "Перемістити поле"
|
305 |
|
306 |
-
#: admin/field-groups.php:74
|
307 |
#, php-format
|
308 |
msgid "Active <span class=\"count\">(%s)</span>"
|
309 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
310 |
-
msgstr[0] ""
|
311 |
-
msgstr[1] ""
|
312 |
-
msgstr[2] ""
|
313 |
|
314 |
-
#: admin/field-groups.php:142
|
315 |
#, php-format
|
316 |
msgid "Field group duplicated. %s"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: admin/field-groups.php:146
|
320 |
#, php-format
|
321 |
msgid "%s field group duplicated."
|
322 |
msgid_plural "%s field groups duplicated."
|
@@ -324,12 +269,12 @@ msgstr[0] ""
|
|
324 |
msgstr[1] ""
|
325 |
msgstr[2] ""
|
326 |
|
327 |
-
#: admin/field-groups.php:
|
328 |
#, php-format
|
329 |
msgid "Field group synchronised. %s"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: admin/field-groups.php:
|
333 |
#, php-format
|
334 |
msgid "%s field group synchronised."
|
335 |
msgid_plural "%s field groups synchronised."
|
@@ -337,519 +282,430 @@ msgstr[0] ""
|
|
337 |
msgstr[1] ""
|
338 |
msgstr[2] ""
|
339 |
|
340 |
-
#: admin/
|
|
|
341 |
msgid "Sync available"
|
342 |
-
msgstr ""
|
343 |
|
344 |
-
#: admin/field-groups.php:
|
|
|
345 |
msgid "Title"
|
346 |
msgstr "Заголовок"
|
347 |
|
348 |
-
#: admin/field-groups.php:
|
349 |
-
#:
|
|
|
|
|
|
|
350 |
msgid "Description"
|
351 |
msgstr "Опис"
|
352 |
|
353 |
-
#: admin/field-groups.php:
|
354 |
msgid "Status"
|
|
|
|
|
|
|
|
|
|
|
355 |
msgstr ""
|
|
|
|
|
356 |
|
357 |
-
#: admin/field-groups.php:
|
358 |
-
#:
|
|
|
359 |
msgid "Changelog"
|
360 |
msgstr "Список змін"
|
361 |
|
362 |
-
#: admin/field-groups.php:
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
#: admin/field-groups.php:617
|
367 |
-
msgid "version"
|
368 |
-
msgstr "версії"
|
369 |
|
370 |
-
#: admin/field-groups.php:
|
371 |
msgid "Resources"
|
372 |
msgstr "Документація"
|
373 |
|
374 |
-
#: admin/field-groups.php:
|
375 |
-
msgid "
|
376 |
-
msgstr "
|
377 |
|
378 |
-
#: admin/field-groups.php:
|
379 |
-
|
380 |
-
|
381 |
-
msgstr "Оновлення"
|
382 |
-
|
383 |
-
#: admin/field-groups.php:623
|
384 |
-
msgid "Field Types"
|
385 |
-
msgstr "Типи полів"
|
386 |
-
|
387 |
-
#: admin/field-groups.php:624
|
388 |
-
msgid "Functions"
|
389 |
-
msgstr "Функції"
|
390 |
-
|
391 |
-
#: admin/field-groups.php:625
|
392 |
-
msgid "Actions"
|
393 |
-
msgstr "Дії"
|
394 |
-
|
395 |
-
#: admin/field-groups.php:626 fields/relationship.php:718
|
396 |
-
msgid "Filters"
|
397 |
-
msgstr "Фільтри"
|
398 |
|
399 |
-
#: admin/field-groups.php:
|
400 |
-
msgid "
|
401 |
-
msgstr "
|
402 |
|
403 |
-
#: admin/field-groups.php:
|
404 |
-
msgid "
|
405 |
-
msgstr "
|
406 |
|
407 |
-
#: admin/field-groups.php:
|
408 |
-
|
409 |
-
|
|
|
410 |
|
411 |
-
#: admin/field-groups.php:
|
412 |
msgid "Duplicate this item"
|
413 |
msgstr "Дублювати цей елемент"
|
414 |
|
415 |
-
#: admin/
|
416 |
-
#: admin/
|
|
|
|
|
417 |
msgid "Duplicate"
|
418 |
msgstr "Дублювати"
|
419 |
|
420 |
-
#: admin/field-groups.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
421 |
#, php-format
|
422 |
msgid "Select %s"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: admin/field-groups.php:
|
426 |
msgid "Synchronise field group"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: admin/
|
|
|
430 |
msgid "Sync"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
msgid "Add-ons"
|
435 |
msgstr "Доповнення"
|
436 |
|
437 |
-
#: admin/settings-addons.php:87
|
438 |
msgid "<b>Error</b>. Could not load add-ons list"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: admin/settings-info.php:50
|
442 |
msgid "Info"
|
443 |
msgstr "Інформація"
|
444 |
|
445 |
-
#: admin/settings-info.php:75
|
446 |
msgid "What's New"
|
447 |
msgstr "Що нового"
|
448 |
|
449 |
-
#:
|
450 |
-
#: admin/views/settings-tools.php:
|
|
|
451 |
msgid "Tools"
|
452 |
-
msgstr ""
|
453 |
|
454 |
-
#: admin/settings-tools.php:
|
455 |
-
#, fuzzy
|
456 |
msgid "No field groups selected"
|
457 |
-
msgstr "Не обрано
|
458 |
|
459 |
-
#: admin/settings-tools.php:
|
|
|
460 |
msgid "No file selected"
|
461 |
msgstr "Файл не обрано"
|
462 |
|
463 |
-
#: admin/settings-tools.php:
|
464 |
msgid "Error uploading file. Please try again"
|
465 |
msgstr "Помилка завантаження файлу. Спробуйте знову"
|
466 |
|
467 |
-
#: admin/settings-tools.php:
|
468 |
msgid "Incorrect file type"
|
469 |
msgstr "Невірний тип файлу"
|
470 |
|
471 |
-
#: admin/settings-tools.php:
|
472 |
msgid "Import file empty"
|
473 |
msgstr "Файл імпорту порожній"
|
474 |
|
475 |
-
#: admin/settings-tools.php:
|
476 |
-
#, php-format
|
477 |
-
msgid "
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
msgstr ""
|
486 |
-
|
487 |
-
#: admin/update.php:113
|
488 |
-
msgid "Upgrade ACF"
|
489 |
-
msgstr ""
|
490 |
-
|
491 |
-
#: admin/update.php:143
|
492 |
-
msgid "Review sites & upgrade"
|
493 |
-
msgstr ""
|
494 |
-
|
495 |
-
#: admin/update.php:298
|
496 |
-
msgid "Upgrade"
|
497 |
-
msgstr "Оновити"
|
498 |
-
|
499 |
-
#: admin/update.php:328
|
500 |
-
msgid "Upgrade Database"
|
501 |
-
msgstr ""
|
502 |
-
|
503 |
-
#: admin/views/field-group-field-conditional-logic.php:29
|
504 |
msgid "Conditional Logic"
|
505 |
msgstr "Умовна логіка"
|
506 |
|
507 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
508 |
-
#: admin/views/field-group-field.php:137 fields/checkbox.php:246
|
509 |
-
#: fields/message.php:117 fields/page_link.php:568 fields/page_link.php:582
|
510 |
-
#: fields/post_object.php:434 fields/post_object.php:448 fields/select.php:411
|
511 |
-
#: fields/select.php:425 fields/select.php:439 fields/select.php:453
|
512 |
-
#: fields/tab.php:172 fields/taxonomy.php:770 fields/taxonomy.php:784
|
513 |
-
#: fields/taxonomy.php:798 fields/taxonomy.php:812 fields/user.php:457
|
514 |
-
#: fields/user.php:471 fields/wysiwyg.php:384
|
515 |
-
#: pro/admin/views/settings-updates.php:93
|
516 |
-
msgid "Yes"
|
517 |
-
msgstr "Так"
|
518 |
-
|
519 |
-
#: admin/views/field-group-field-conditional-logic.php:41
|
520 |
-
#: admin/views/field-group-field.php:138 fields/checkbox.php:247
|
521 |
-
#: fields/message.php:118 fields/page_link.php:569 fields/page_link.php:583
|
522 |
-
#: fields/post_object.php:435 fields/post_object.php:449 fields/select.php:412
|
523 |
-
#: fields/select.php:426 fields/select.php:440 fields/select.php:454
|
524 |
-
#: fields/tab.php:173 fields/taxonomy.php:685 fields/taxonomy.php:771
|
525 |
-
#: fields/taxonomy.php:785 fields/taxonomy.php:799 fields/taxonomy.php:813
|
526 |
-
#: fields/user.php:458 fields/user.php:472 fields/wysiwyg.php:385
|
527 |
-
#: pro/admin/views/settings-updates.php:103
|
528 |
-
msgid "No"
|
529 |
-
msgstr "Ні"
|
530 |
-
|
531 |
-
#: admin/views/field-group-field-conditional-logic.php:65
|
532 |
msgid "Show this field if"
|
533 |
msgstr "Показувати поле, якщо"
|
534 |
|
535 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
536 |
-
#:
|
537 |
msgid "is equal to"
|
538 |
msgstr "дорівнює"
|
539 |
|
540 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
541 |
-
#:
|
542 |
msgid "is not equal to"
|
543 |
msgstr "не дорівнює"
|
544 |
|
545 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
546 |
-
#: admin/views/
|
547 |
msgid "and"
|
548 |
msgstr "та"
|
549 |
|
550 |
-
#: admin/views/field-group-field-conditional-logic.php:
|
551 |
-
#: admin/views/field-group-locations.php:
|
552 |
msgid "Add rule group"
|
553 |
msgstr "Додати групу умов"
|
554 |
|
555 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
msgid "Edit field"
|
557 |
msgstr "Редагувати поле"
|
558 |
|
559 |
-
#: admin/views/field-group-field.php:
|
|
|
|
|
|
|
|
|
560 |
msgid "Edit"
|
561 |
msgstr "Редагувати"
|
562 |
|
563 |
-
#: admin/views/field-group-field.php:
|
564 |
msgid "Duplicate field"
|
565 |
msgstr "Дублювати поле"
|
566 |
|
567 |
-
#: admin/views/field-group-field.php:
|
568 |
msgid "Move field to another group"
|
569 |
msgstr "Перемістити поле до іншої групи"
|
570 |
|
571 |
-
#: admin/views/field-group-field.php:
|
572 |
msgid "Move"
|
573 |
msgstr "Перемістити"
|
574 |
|
575 |
-
#: admin/views/field-group-field.php:
|
576 |
msgid "Delete field"
|
577 |
msgstr "Видалити поле"
|
578 |
|
579 |
-
#: admin/views/field-group-field.php:
|
|
|
580 |
msgid "Delete"
|
581 |
msgstr "Видалити"
|
582 |
|
583 |
-
#: admin/views/field-group-field.php:
|
584 |
-
#: fields/taxonomy.php:886
|
585 |
-
msgid "Error"
|
586 |
-
msgstr "Помилка"
|
587 |
-
|
588 |
-
#: fields/oembed.php:220 fields/taxonomy.php:900
|
589 |
-
msgid "Error."
|
590 |
-
msgstr "Помилка."
|
591 |
-
|
592 |
-
#: admin/views/field-group-field.php:68
|
593 |
-
msgid "Field type does not exist"
|
594 |
-
msgstr "Тип поля не існує"
|
595 |
-
|
596 |
-
#: admin/views/field-group-field.php:81
|
597 |
msgid "Field Label"
|
598 |
msgstr "Назва поля"
|
599 |
|
600 |
-
#: admin/views/field-group-field.php:
|
601 |
msgid "This is the name which will appear on the EDIT page"
|
602 |
msgstr "Ця назва відображується на сторінці редагування"
|
603 |
|
604 |
-
#: admin/views/field-group-field.php:
|
605 |
msgid "Field Name"
|
606 |
msgstr "Ярлик"
|
607 |
|
608 |
-
#: admin/views/field-group-field.php:
|
609 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
610 |
msgstr "Одне слово, без пробілів. Можете використовувати нижнє підкреслення."
|
611 |
|
612 |
-
#: admin/views/field-group-field.php:
|
613 |
msgid "Field Type"
|
614 |
msgstr "Тип поля"
|
615 |
|
616 |
-
#: admin/views/field-group-field.php:
|
|
|
617 |
msgid "Instructions"
|
618 |
msgstr "Інструкція"
|
619 |
|
620 |
-
#: admin/views/field-group-field.php:
|
621 |
msgid "Instructions for authors. Shown when submitting data"
|
622 |
msgstr "Напишіть короткий опис для поля"
|
623 |
|
624 |
-
#: admin/views/field-group-field.php:
|
625 |
msgid "Required?"
|
626 |
msgstr "Обов’язкове?"
|
627 |
|
628 |
-
#: admin/views/field-group-field.php:
|
629 |
msgid "Wrapper Attributes"
|
630 |
msgstr "Атрибути обгортки"
|
631 |
|
632 |
-
#: admin/views/field-group-field.php:
|
633 |
msgid "width"
|
634 |
msgstr "ширина"
|
635 |
|
636 |
-
#: admin/views/field-group-field.php:
|
637 |
msgid "class"
|
638 |
-
msgstr "
|
639 |
|
640 |
-
#: admin/views/field-group-field.php:
|
641 |
msgid "id"
|
642 |
-
msgstr "
|
643 |
|
644 |
-
#: admin/views/field-group-field.php:
|
645 |
msgid "Close Field"
|
646 |
msgstr "Закрити поле"
|
647 |
|
648 |
-
#: admin/views/field-group-fields.php:
|
649 |
msgid "Order"
|
650 |
msgstr "Порядок"
|
651 |
|
652 |
-
#: admin/views/field-group-fields.php:
|
|
|
|
|
|
|
|
|
|
|
653 |
msgid "Label"
|
654 |
msgstr "Ярлик"
|
655 |
|
656 |
-
#: admin/views/field-group-fields.php:
|
|
|
|
|
657 |
msgid "Name"
|
658 |
msgstr "Назва"
|
659 |
|
660 |
-
#: admin/views/field-group-fields.php:
|
|
|
|
|
|
|
|
|
661 |
msgid "Type"
|
662 |
msgstr "Тип"
|
663 |
|
664 |
-
#: admin/views/field-group-fields.php:
|
665 |
msgid ""
|
666 |
"No fields. Click the <strong>+ Add Field</strong> button to create your "
|
667 |
"first field."
|
668 |
msgstr ""
|
669 |
"Ще немає полів. Для створення полів натисніть <strong>+ Додати поле</strong>."
|
670 |
|
671 |
-
#: admin/views/field-group-fields.php:
|
672 |
-
msgid "Drag and drop to reorder"
|
673 |
-
msgstr "Поля можна перетягувати"
|
674 |
-
|
675 |
-
#: admin/views/field-group-fields.php:54
|
676 |
msgid "+ Add Field"
|
677 |
msgstr "+ Додати поле"
|
678 |
|
679 |
-
#: admin/views/field-group-locations.php:
|
680 |
msgid "Rules"
|
681 |
msgstr "Умови"
|
682 |
|
683 |
-
#: admin/views/field-group-locations.php:
|
684 |
msgid ""
|
685 |
"Create a set of rules to determine which edit screens will use these "
|
686 |
"advanced custom fields"
|
687 |
msgstr ""
|
688 |
"Створіть набір умов, щоб визначити де використовувати ці додаткові поля"
|
689 |
|
690 |
-
#: admin/views/field-group-
|
691 |
-
msgid "Show this field group if"
|
692 |
-
msgstr "Показувати групу полів, якщо"
|
693 |
-
|
694 |
-
#: admin/views/field-group-locations.php:41
|
695 |
-
#: admin/views/field-group-locations.php:47
|
696 |
-
msgid "Post"
|
697 |
-
msgstr "Публікація"
|
698 |
-
|
699 |
-
#: admin/views/field-group-locations.php:42 fields/relationship.php:724
|
700 |
-
msgid "Post Type"
|
701 |
-
msgstr "Тип матеріалу"
|
702 |
-
|
703 |
-
#: admin/views/field-group-locations.php:43
|
704 |
-
msgid "Post Status"
|
705 |
-
msgstr "Статус матеріалу"
|
706 |
-
|
707 |
-
#: admin/views/field-group-locations.php:44
|
708 |
-
msgid "Post Format"
|
709 |
-
msgstr "Формат"
|
710 |
-
|
711 |
-
#: admin/views/field-group-locations.php:45
|
712 |
-
msgid "Post Category"
|
713 |
-
msgstr "Категорія"
|
714 |
-
|
715 |
-
#: admin/views/field-group-locations.php:46
|
716 |
-
msgid "Post Taxonomy"
|
717 |
-
msgstr "Таксономія"
|
718 |
-
|
719 |
-
#: admin/views/field-group-locations.php:49
|
720 |
-
#: admin/views/field-group-locations.php:53
|
721 |
-
msgid "Page"
|
722 |
-
msgstr "Сторінка"
|
723 |
-
|
724 |
-
#: admin/views/field-group-locations.php:50
|
725 |
-
msgid "Page Template"
|
726 |
-
msgstr "Шаблон сторінки"
|
727 |
-
|
728 |
-
#: admin/views/field-group-locations.php:51
|
729 |
-
msgid "Page Type"
|
730 |
-
msgstr "Тип сторінки"
|
731 |
-
|
732 |
-
#: admin/views/field-group-locations.php:52
|
733 |
-
msgid "Page Parent"
|
734 |
-
msgstr "Батьківська сторінка"
|
735 |
-
|
736 |
-
#: admin/views/field-group-locations.php:55 fields/user.php:36
|
737 |
-
msgid "User"
|
738 |
-
msgstr "Користувач"
|
739 |
-
|
740 |
-
#: admin/views/field-group-locations.php:56
|
741 |
-
#, fuzzy
|
742 |
-
msgid "Current User"
|
743 |
-
msgstr "Поточна версія"
|
744 |
-
|
745 |
-
#: admin/views/field-group-locations.php:57
|
746 |
-
#, fuzzy
|
747 |
-
msgid "Current User Role"
|
748 |
-
msgstr "Роль користувача"
|
749 |
-
|
750 |
-
#: admin/views/field-group-locations.php:58
|
751 |
-
msgid "User Form"
|
752 |
-
msgstr "Форма користувача"
|
753 |
-
|
754 |
-
#: admin/views/field-group-locations.php:59
|
755 |
-
msgid "User Role"
|
756 |
-
msgstr "Роль користувача"
|
757 |
-
|
758 |
-
#: admin/views/field-group-locations.php:61 pro/admin/options-page.php:48
|
759 |
-
msgid "Forms"
|
760 |
-
msgstr "Форми"
|
761 |
-
|
762 |
-
#: admin/views/field-group-locations.php:62
|
763 |
-
msgid "Attachment"
|
764 |
-
msgstr "Вкладення"
|
765 |
-
|
766 |
-
#: admin/views/field-group-locations.php:63
|
767 |
-
msgid "Taxonomy Term"
|
768 |
-
msgstr "Термін таксономії"
|
769 |
-
|
770 |
-
#: admin/views/field-group-locations.php:64
|
771 |
-
msgid "Comment"
|
772 |
-
msgstr "Коментар"
|
773 |
-
|
774 |
-
#: admin/views/field-group-locations.php:65
|
775 |
-
msgid "Widget"
|
776 |
-
msgstr "Віджет"
|
777 |
-
|
778 |
-
#: admin/views/field-group-options.php:25
|
779 |
msgid "Style"
|
780 |
msgstr "Стиль"
|
781 |
|
782 |
-
#: admin/views/field-group-options.php:
|
783 |
msgid "Standard (WP metabox)"
|
784 |
msgstr "Стандартний (WP метабокс)"
|
785 |
|
786 |
-
#: admin/views/field-group-options.php:
|
787 |
msgid "Seamless (no metabox)"
|
788 |
msgstr "Спрощений (без метабоксу)"
|
789 |
|
790 |
-
#: admin/views/field-group-options.php:
|
791 |
msgid "Position"
|
792 |
msgstr "Розташування"
|
793 |
|
794 |
-
#: admin/views/field-group-options.php:
|
795 |
msgid "High (after title)"
|
796 |
msgstr "Вгорі (під заголовком)"
|
797 |
|
798 |
-
#: admin/views/field-group-options.php:
|
799 |
msgid "Normal (after content)"
|
800 |
msgstr "Стандартно (після тектового редактора)"
|
801 |
|
802 |
-
#: admin/views/field-group-options.php:
|
803 |
msgid "Side"
|
804 |
msgstr "Збоку"
|
805 |
|
806 |
-
#: admin/views/field-group-options.php:
|
807 |
msgid "Label placement"
|
808 |
msgstr "Розміщення ярликів"
|
809 |
|
810 |
-
#: admin/views/field-group-options.php:
|
|
|
811 |
msgid "Top aligned"
|
812 |
msgstr "Зверху"
|
813 |
|
814 |
-
#: admin/views/field-group-options.php:
|
|
|
815 |
msgid "Left Aligned"
|
816 |
msgstr "Зліва"
|
817 |
|
818 |
-
#: admin/views/field-group-options.php:
|
819 |
msgid "Instruction placement"
|
820 |
msgstr "Розміщення інструкцій"
|
821 |
|
822 |
-
#: admin/views/field-group-options.php:
|
823 |
msgid "Below labels"
|
824 |
msgstr "Під ярликами"
|
825 |
|
826 |
-
#: admin/views/field-group-options.php:
|
827 |
msgid "Below fields"
|
828 |
msgstr "Під полями"
|
829 |
|
830 |
-
#: admin/views/field-group-options.php:
|
831 |
msgid "Order No."
|
832 |
msgstr "Порядок розташування"
|
833 |
|
834 |
-
#: admin/views/field-group-options.php:
|
835 |
msgid "Field groups with a lower order will appear first"
|
836 |
-
msgstr ""
|
837 |
|
838 |
-
#: admin/views/field-group-options.php:
|
839 |
msgid "Shown in field group list"
|
840 |
-
msgstr ""
|
841 |
|
842 |
-
#: admin/views/field-group-options.php:
|
843 |
msgid "Hide on screen"
|
844 |
msgstr "Ховати на екрані"
|
845 |
|
846 |
-
#: admin/views/field-group-options.php:
|
847 |
-
#, fuzzy
|
848 |
msgid "<b>Select</b> items to <b>hide</b> them from the edit screen."
|
849 |
-
msgstr "<b>Оберіть</b> що <b>ховати</b> з екрану
|
850 |
|
851 |
-
#: admin/views/field-group-options.php:
|
852 |
-
#, fuzzy
|
853 |
msgid ""
|
854 |
"If multiple field groups appear on an edit screen, the first field group's "
|
855 |
"options will be used (the one with the lowest order number)"
|
@@ -858,132 +714,241 @@ msgstr ""
|
|
858 |
"використовуватимуться параметри першої групи. (з найменшим порядковим "
|
859 |
"номером)"
|
860 |
|
861 |
-
#: admin/views/field-group-options.php:
|
862 |
msgid "Permalink"
|
863 |
-
msgstr "
|
864 |
|
865 |
-
#: admin/views/field-group-options.php:
|
866 |
msgid "Content Editor"
|
867 |
msgstr "Редактор матеріалу"
|
868 |
|
869 |
-
#: admin/views/field-group-options.php:
|
870 |
msgid "Excerpt"
|
871 |
msgstr "Витяг"
|
872 |
|
873 |
-
#: admin/views/field-group-options.php:
|
874 |
msgid "Discussion"
|
875 |
msgstr "Дискусія"
|
876 |
|
877 |
-
#: admin/views/field-group-options.php:
|
878 |
msgid "Comments"
|
879 |
msgstr "Коментарі"
|
880 |
|
881 |
-
#: admin/views/field-group-options.php:
|
882 |
msgid "Revisions"
|
883 |
msgstr "Ревізії"
|
884 |
|
885 |
-
#: admin/views/field-group-options.php:
|
886 |
msgid "Slug"
|
887 |
msgstr "Ярлик URL"
|
888 |
|
889 |
-
#: admin/views/field-group-options.php:
|
890 |
msgid "Author"
|
891 |
msgstr "Автор"
|
892 |
|
893 |
-
#: admin/views/field-group-options.php:
|
894 |
msgid "Format"
|
895 |
msgstr "Формат"
|
896 |
|
897 |
-
#: admin/views/field-group-options.php:
|
898 |
msgid "Page Attributes"
|
899 |
msgstr "Атрибути сторінки"
|
900 |
|
901 |
-
#: admin/views/field-group-options.php:
|
|
|
902 |
msgid "Featured Image"
|
903 |
msgstr "Головне зображення"
|
904 |
|
905 |
-
#: admin/views/field-group-options.php:
|
906 |
msgid "Categories"
|
907 |
msgstr "Категорії"
|
908 |
|
909 |
-
#: admin/views/field-group-options.php:
|
910 |
msgid "Tags"
|
911 |
msgstr "Теґи"
|
912 |
|
913 |
-
#: admin/views/field-group-options.php:
|
914 |
msgid "Send Trackbacks"
|
915 |
msgstr "Надіслати трекбеки"
|
916 |
|
917 |
-
#: admin/views/
|
918 |
-
msgid "
|
919 |
-
msgstr "
|
920 |
|
921 |
-
#: admin/views/
|
922 |
-
msgid "
|
923 |
-
msgstr "
|
924 |
|
925 |
-
#: admin/views/
|
926 |
-
|
927 |
-
|
|
|
928 |
|
929 |
-
#: admin/views/
|
930 |
#, php-format
|
931 |
msgid ""
|
932 |
-
"
|
933 |
-
"
|
934 |
-
msgstr "Дякуємо за оновлення! ACF %s став ще кращим!"
|
935 |
-
|
936 |
-
#: admin/views/settings-info.php:23
|
937 |
-
msgid "A smoother custom field experience"
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: admin/views/
|
941 |
-
|
942 |
-
|
|
|
943 |
|
944 |
-
#: admin/views/
|
945 |
-
|
946 |
-
"
|
947 |
-
"across a number of field types including post object, page link, taxonomy "
|
948 |
-
"and select."
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: admin/views/
|
952 |
-
msgid "
|
953 |
-
msgstr ""
|
954 |
|
955 |
-
#: admin/views/
|
|
|
956 |
msgid ""
|
957 |
-
"
|
958 |
-
"ever! Noticeable changes are seen on the gallery, relationship and oEmbed "
|
959 |
-
"(new) fields!"
|
960 |
-
msgstr ""
|
961 |
-
|
962 |
-
#: admin/views/settings-info.php:38
|
963 |
-
msgid "Improved Data"
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: admin/views/
|
|
|
967 |
msgid ""
|
968 |
-
"
|
969 |
-
"
|
970 |
-
"and out of parent fields!"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: admin/views/
|
974 |
-
msgid "
|
975 |
-
msgstr "
|
976 |
-
|
977 |
-
#: admin/views/settings-info.php:50
|
978 |
-
msgid "Introducing ACF PRO"
|
979 |
-
msgstr ""
|
980 |
|
981 |
-
#: admin/views/
|
982 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
983 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: admin/views/settings-info.php:
|
987 |
#, php-format
|
988 |
msgid ""
|
989 |
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
@@ -991,34 +956,34 @@ msgid ""
|
|
991 |
"premium functionality is more affordable and accessible than ever before!"
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: admin/views/settings-info.php:
|
995 |
msgid "Powerful Features"
|
996 |
msgstr "Потужні можливості"
|
997 |
|
998 |
-
#: admin/views/settings-info.php:
|
999 |
msgid ""
|
1000 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
1001 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
1002 |
"options pages!"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: admin/views/settings-info.php:
|
1006 |
#, php-format
|
1007 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
1008 |
msgstr "Прочитайте більше про <a href=\"%s\">можливості ACF PRO</a>."
|
1009 |
|
1010 |
-
#: admin/views/settings-info.php:
|
1011 |
msgid "Easy Upgrading"
|
1012 |
msgstr "Легке оновлення"
|
1013 |
|
1014 |
-
#: admin/views/settings-info.php:
|
1015 |
#, php-format
|
1016 |
msgid ""
|
1017 |
"To help make upgrading easy, <a href=\"%s\">login to your store account</a> "
|
1018 |
"and claim a free copy of ACF PRO!"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: admin/views/settings-info.php:
|
1022 |
#, php-format
|
1023 |
msgid ""
|
1024 |
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
@@ -1026,146 +991,147 @@ msgid ""
|
|
1026 |
"\">help desk</a>"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: admin/views/settings-info.php:
|
1030 |
msgid "Under the Hood"
|
1031 |
msgstr "Під капотом"
|
1032 |
|
1033 |
-
#: admin/views/settings-info.php:
|
1034 |
msgid "Smarter field settings"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: admin/views/settings-info.php:
|
1038 |
msgid "ACF now saves its field settings as individual post objects"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: admin/views/settings-info.php:
|
1042 |
msgid "More AJAX"
|
1043 |
msgstr "Більше AJAX"
|
1044 |
|
1045 |
-
#: admin/views/settings-info.php:
|
1046 |
msgid "More fields use AJAX powered search to speed up page loading"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: admin/views/settings-info.php:
|
1050 |
msgid "Local JSON"
|
1051 |
msgstr "Локальний JSON"
|
1052 |
|
1053 |
-
#: admin/views/settings-info.php:
|
1054 |
msgid "New auto export to JSON feature improves speed"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
-
#: admin/views/settings-info.php:
|
1058 |
msgid "Better version control"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#: admin/views/settings-info.php:
|
1062 |
msgid ""
|
1063 |
"New auto export to JSON feature allows field settings to be version "
|
1064 |
"controlled"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: admin/views/settings-info.php:
|
1068 |
msgid "Swapped XML for JSON"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: admin/views/settings-info.php:
|
1072 |
msgid "Import / Export now uses JSON in favour of XML"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#: admin/views/settings-info.php:
|
1076 |
msgid "New Forms"
|
1077 |
msgstr "Нові форми"
|
1078 |
|
1079 |
-
#: admin/views/settings-info.php:
|
1080 |
msgid "Fields can now be mapped to comments, widgets and all user forms!"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: admin/views/settings-info.php:
|
1084 |
msgid "A new field for embedding content has been added"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#: admin/views/settings-info.php:
|
1088 |
msgid "New Gallery"
|
1089 |
msgstr "Нова галерея"
|
1090 |
|
1091 |
-
#: admin/views/settings-info.php:
|
1092 |
msgid "The gallery field has undergone a much needed facelift"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#: admin/views/settings-info.php:
|
1096 |
msgid "New Settings"
|
1097 |
msgstr "Нові налаштування"
|
1098 |
|
1099 |
-
#: admin/views/settings-info.php:
|
1100 |
msgid ""
|
1101 |
"Field group settings have been added for label placement and instruction "
|
1102 |
"placement"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
-
#: admin/views/settings-info.php:
|
1106 |
msgid "Better Front End Forms"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
-
#: admin/views/settings-info.php:
|
1110 |
msgid "acf_form() can now create a new post on submission"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
-
#: admin/views/settings-info.php:
|
1114 |
msgid "Better Validation"
|
1115 |
msgstr "Поліпшена перевірка"
|
1116 |
|
1117 |
-
#: admin/views/settings-info.php:
|
1118 |
msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
1119 |
msgstr "Перевірка форми відбувається на PHP + AJAX"
|
1120 |
|
1121 |
-
#: admin/views/settings-info.php:
|
1122 |
#, fuzzy
|
1123 |
msgid "Relationship Field"
|
1124 |
msgstr "Закрити поле"
|
1125 |
|
1126 |
-
#: admin/views/settings-info.php:
|
1127 |
msgid ""
|
1128 |
"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
-
#: admin/views/settings-info.php:
|
1132 |
msgid "Moving Fields"
|
1133 |
msgstr "Переміщення полів"
|
1134 |
|
1135 |
-
#: admin/views/settings-info.php:
|
1136 |
msgid ""
|
1137 |
"New field group functionality allows you to move a field between groups & "
|
1138 |
"parents"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#: admin/views/settings-info.php:
|
|
|
1142 |
msgid "Page Link"
|
1143 |
-
msgstr ""
|
1144 |
|
1145 |
-
#: admin/views/settings-info.php:
|
1146 |
msgid "New archives group in page_link field selection"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#: admin/views/settings-info.php:
|
1150 |
msgid "Better Options Pages"
|
1151 |
msgstr "Краща сторінка опцій"
|
1152 |
|
1153 |
-
#: admin/views/settings-info.php:
|
1154 |
msgid ""
|
1155 |
"New functions for options page allow creation of both parent and child menu "
|
1156 |
"pages"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
-
#: admin/views/settings-info.php:
|
1160 |
#, php-format
|
1161 |
msgid "We think you'll love the changes in %s."
|
1162 |
msgstr "Думаємо, Вам сподобаються зміни у %s."
|
1163 |
|
1164 |
-
#: admin/views/settings-tools-export.php:
|
1165 |
msgid "Export Field Groups to PHP"
|
1166 |
msgstr "Експортувати групи полів в код PHP"
|
1167 |
|
1168 |
-
#: admin/views/settings-tools-export.php:
|
1169 |
msgid ""
|
1170 |
"The following code can be used to register a local version of the selected "
|
1171 |
"field group(s). A local field group can provide many benefits such as faster "
|
@@ -1174,35 +1140,39 @@ msgid ""
|
|
1174 |
"an external file."
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#: admin/views/settings-tools.php:5
|
1178 |
msgid "Select Field Groups"
|
1179 |
msgstr "Оберіть групи полів"
|
1180 |
|
1181 |
-
#: admin/views/settings-tools.php:35
|
1182 |
msgid "Export Field Groups"
|
1183 |
msgstr "Експортувати групи полів"
|
1184 |
|
1185 |
-
#: admin/views/settings-tools.php:38
|
1186 |
msgid ""
|
1187 |
"Select the field groups you would like to export and then select your export "
|
1188 |
"method. Use the download button to export to a .json file which you can then "
|
1189 |
"import to another ACF installation. Use the generate button to export to PHP "
|
1190 |
"code which you can place in your theme."
|
1191 |
msgstr ""
|
|
|
|
|
|
|
|
|
1192 |
|
1193 |
-
#: admin/views/settings-tools.php:50
|
1194 |
msgid "Download export file"
|
1195 |
msgstr "Завантажити файл експорту"
|
1196 |
|
1197 |
-
#: admin/views/settings-tools.php:51
|
1198 |
msgid "Generate export code"
|
1199 |
msgstr "Створити код експорту"
|
1200 |
|
1201 |
-
#: admin/views/settings-tools.php:64
|
1202 |
msgid "Import Field Groups"
|
1203 |
msgstr "Імпортувати групи полів"
|
1204 |
|
1205 |
-
#: admin/views/settings-tools.php:67
|
1206 |
msgid ""
|
1207 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
1208 |
"you click the import button below, ACF will import the field groups."
|
@@ -1210,1353 +1180,2126 @@ msgstr ""
|
|
1210 |
"Виберіть JSON файл, який Ви хотіли б імпортувати. При натисканні кнопки "
|
1211 |
"імпорту, нижче, ACF буде імпортовано групи полів."
|
1212 |
|
1213 |
-
#: admin/views/settings-tools.php:77
|
|
|
1214 |
msgid "Select File"
|
1215 |
msgstr "Оберіть файл"
|
1216 |
|
1217 |
-
#: admin/views/settings-tools.php:86
|
1218 |
msgid "Import"
|
1219 |
msgstr "Імпорт"
|
1220 |
|
1221 |
-
#:
|
1222 |
-
msgid "Advanced Custom Fields Database Upgrade"
|
1223 |
-
msgstr ""
|
1224 |
-
|
1225 |
-
#: admin/views/update-network.php:10
|
1226 |
-
msgid ""
|
1227 |
-
"The following sites require a DB upgrade. Check the ones you want to update "
|
1228 |
-
"and then click “Upgrade Database”."
|
1229 |
-
msgstr ""
|
1230 |
-
|
1231 |
-
#: admin/views/update-network.php:19 admin/views/update-network.php:27
|
1232 |
-
msgid "Site"
|
1233 |
-
msgstr ""
|
1234 |
-
|
1235 |
-
#: admin/views/update-network.php:47
|
1236 |
-
#, php-format
|
1237 |
-
msgid "Site requires database upgrade from %s to %s"
|
1238 |
-
msgstr ""
|
1239 |
-
|
1240 |
-
#: admin/views/update-network.php:49
|
1241 |
-
msgid "Site is up to date"
|
1242 |
-
msgstr ""
|
1243 |
-
|
1244 |
-
#: admin/views/update-network.php:62 admin/views/update.php:16
|
1245 |
-
msgid "Database Upgrade complete. <a href=\"%s\">Return to network dashboard</a>"
|
1246 |
-
msgstr ""
|
1247 |
-
|
1248 |
-
#: admin/views/update-network.php:101 admin/views/update-notice.php:35
|
1249 |
-
msgid ""
|
1250 |
-
"It is strongly recommended that you backup your database before proceeding. "
|
1251 |
-
"Are you sure you wish to run the updater now?"
|
1252 |
-
msgstr ""
|
1253 |
-
|
1254 |
-
#: admin/views/update-network.php:157
|
1255 |
-
msgid "Upgrade complete"
|
1256 |
-
msgstr ""
|
1257 |
-
|
1258 |
-
#: admin/views/update-network.php:161
|
1259 |
-
msgid "Upgrading data to"
|
1260 |
-
msgstr ""
|
1261 |
-
|
1262 |
-
#: admin/views/update-notice.php:23
|
1263 |
-
msgid "Database Upgrade Required"
|
1264 |
-
msgstr "Необхідно оновити базу даних"
|
1265 |
-
|
1266 |
-
#: admin/views/update-notice.php:25
|
1267 |
-
#, php-format
|
1268 |
-
msgid "Thank you for updating to %s v%s!"
|
1269 |
-
msgstr ""
|
1270 |
-
|
1271 |
-
#: admin/views/update-notice.php:25
|
1272 |
-
msgid ""
|
1273 |
-
"Before you start using the new awesome features, please update your database "
|
1274 |
-
"to the newest version."
|
1275 |
-
msgstr ""
|
1276 |
-
|
1277 |
-
#: admin/views/update.php:12
|
1278 |
-
msgid "Reading upgrade tasks..."
|
1279 |
-
msgstr ""
|
1280 |
-
|
1281 |
-
#: admin/views/update.php:14
|
1282 |
-
#, php-format
|
1283 |
-
msgid "Upgrading data to version %s"
|
1284 |
-
msgstr "Оновлення даних до версії %s"
|
1285 |
-
|
1286 |
-
#: admin/views/update.php:16
|
1287 |
-
msgid "See what's new"
|
1288 |
-
msgstr "Перегляньте, що нового"
|
1289 |
-
|
1290 |
-
#: admin/views/update.php:110
|
1291 |
-
msgid "No updates available."
|
1292 |
-
msgstr ""
|
1293 |
-
|
1294 |
-
#: api/api-helpers.php:821
|
1295 |
msgid "Thumbnail"
|
1296 |
msgstr "Мініатюра"
|
1297 |
|
1298 |
-
#: api/api-helpers.php:
|
1299 |
msgid "Medium"
|
1300 |
msgstr "Середній"
|
1301 |
|
1302 |
-
#: api/api-helpers.php:
|
1303 |
msgid "Large"
|
1304 |
msgstr "Великий"
|
1305 |
|
1306 |
-
#: api/api-helpers.php:
|
1307 |
msgid "Full Size"
|
1308 |
msgstr "Повний розмір"
|
1309 |
|
1310 |
-
#: api/api-helpers.php:
|
|
|
1311 |
msgid "(no title)"
|
1312 |
msgstr "(без заголовку)"
|
1313 |
|
1314 |
-
#: api/api-helpers.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1315 |
#, php-format
|
1316 |
msgid "Image width must be at least %dpx."
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: api/api-helpers.php:
|
1320 |
#, php-format
|
1321 |
msgid "Image width must not exceed %dpx."
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: api/api-helpers.php:
|
1325 |
#, php-format
|
1326 |
msgid "Image height must be at least %dpx."
|
1327 |
msgstr ""
|
1328 |
|
1329 |
-
#: api/api-helpers.php:
|
1330 |
#, php-format
|
1331 |
msgid "Image height must not exceed %dpx."
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: api/api-helpers.php:
|
1335 |
#, php-format
|
1336 |
msgid "File size must be at least %s."
|
1337 |
msgstr ""
|
1338 |
|
1339 |
-
#: api/api-helpers.php:
|
1340 |
#, php-format
|
1341 |
msgid "File size must must not exceed %s."
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: api/api-helpers.php:
|
1345 |
#, fuzzy, php-format
|
1346 |
msgid "File type must be %s."
|
1347 |
msgstr "Тип поля не існує"
|
1348 |
|
1349 |
-
#:
|
1350 |
-
msgid "Update"
|
1351 |
-
msgstr "Оновити"
|
1352 |
-
|
1353 |
-
#: api/api-template.php:1290
|
1354 |
-
msgid "Post updated"
|
1355 |
-
msgstr "Матеріал оновлено"
|
1356 |
-
|
1357 |
-
#: core/field.php:131
|
1358 |
msgid "Basic"
|
1359 |
msgstr "Загальне"
|
1360 |
|
1361 |
-
#:
|
1362 |
msgid "Content"
|
1363 |
msgstr "Вміст"
|
1364 |
|
1365 |
-
#:
|
1366 |
msgid "Choice"
|
1367 |
msgstr "Вибір"
|
1368 |
|
1369 |
-
#:
|
1370 |
msgid "Relational"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#:
|
1374 |
msgid "jQuery"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#:
|
1378 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
1379 |
msgid "Layout"
|
1380 |
msgstr "Шаблон структури"
|
1381 |
|
1382 |
-
#:
|
1383 |
-
msgid "
|
1384 |
-
msgstr "
|
1385 |
-
|
1386 |
-
#: core/input.php:130
|
1387 |
-
msgid "Collapse Details"
|
1388 |
-
msgstr "Сховати деталі"
|
1389 |
-
|
1390 |
-
#: core/input.php:131
|
1391 |
-
msgid "Validation successful"
|
1392 |
-
msgstr ""
|
1393 |
-
|
1394 |
-
#: core/input.php:132
|
1395 |
-
msgid "Validation failed"
|
1396 |
-
msgstr ""
|
1397 |
-
|
1398 |
-
#: core/input.php:133
|
1399 |
-
msgid "1 field requires attention"
|
1400 |
-
msgstr ""
|
1401 |
-
|
1402 |
-
#: core/input.php:134
|
1403 |
-
#, php-format
|
1404 |
-
msgid "%d fields require attention"
|
1405 |
-
msgstr ""
|
1406 |
-
|
1407 |
-
#: core/input.php:135
|
1408 |
-
msgid "Restricted"
|
1409 |
-
msgstr ""
|
1410 |
-
|
1411 |
-
#: core/input.php:533
|
1412 |
-
#, fuzzy, php-format
|
1413 |
-
msgid "%s value is required"
|
1414 |
-
msgstr "Заголовок обов’язковий"
|
1415 |
|
1416 |
-
#:
|
1417 |
-
msgid "
|
1418 |
-
msgstr ""
|
1419 |
|
1420 |
-
#: fields/
|
1421 |
-
msgid "
|
1422 |
-
msgstr ""
|
1423 |
|
1424 |
-
#:
|
|
|
|
|
|
|
1425 |
msgid "Choices"
|
1426 |
msgstr "Варіанти вибору"
|
1427 |
|
1428 |
-
#:
|
|
|
|
|
|
|
1429 |
msgid "Enter each choice on a new line."
|
1430 |
msgstr "У кожному рядку по варіанту"
|
1431 |
|
1432 |
-
#:
|
|
|
|
|
|
|
1433 |
msgid "For more control, you may specify both a value and label like this:"
|
1434 |
msgstr "Для більшого контролю, Ви можете вказати маркувати значення:"
|
1435 |
|
1436 |
-
#:
|
|
|
|
|
|
|
1437 |
msgid "red : Red"
|
1438 |
msgstr "red : Червоний"
|
1439 |
|
1440 |
-
#:
|
1441 |
-
#:
|
1442 |
-
#:
|
1443 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1444 |
msgid "Default Value"
|
1445 |
msgstr "Значення за замовчуванням"
|
1446 |
|
1447 |
-
#:
|
1448 |
-
|
1449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1450 |
|
1451 |
-
#:
|
|
|
|
|
1452 |
msgid "Vertical"
|
1453 |
msgstr "Вертикально"
|
1454 |
|
1455 |
-
#:
|
1456 |
-
|
1457 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1458 |
|
1459 |
-
#: fields/checkbox.php:
|
|
|
|
|
|
|
|
|
|
|
1460 |
msgid "Toggle"
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#: fields/checkbox.php:
|
1464 |
msgid "Prepend an extra checkbox to toggle all choices"
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#: fields/color_picker.php:
|
1468 |
msgid "Color Picker"
|
1469 |
msgstr "Вибір кольору"
|
1470 |
|
1471 |
-
#: fields/color_picker.php:
|
1472 |
msgid "Clear"
|
1473 |
msgstr "Очистити"
|
1474 |
|
1475 |
-
#: fields/color_picker.php:
|
1476 |
msgid "Default"
|
1477 |
msgstr "Значення за замовчуванням"
|
1478 |
|
1479 |
-
#: fields/color_picker.php:
|
1480 |
msgid "Select Color"
|
1481 |
msgstr "Обрати колір"
|
1482 |
|
1483 |
-
#: fields/
|
|
|
|
|
|
|
|
|
1484 |
msgid "Date Picker"
|
1485 |
msgstr "Вибір дати"
|
1486 |
|
1487 |
-
#: fields/date_picker.php:
|
|
|
|
|
|
|
1488 |
msgid "Done"
|
1489 |
msgstr "Готово"
|
1490 |
|
1491 |
-
#: fields/date_picker.php:
|
|
|
|
|
|
|
1492 |
msgid "Today"
|
1493 |
msgstr "Сьогодні"
|
1494 |
|
1495 |
-
#: fields/date_picker.php:
|
1496 |
-
|
1497 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1498 |
|
1499 |
-
#: fields/date_picker.php:
|
|
|
|
|
1500 |
msgid "Display Format"
|
1501 |
msgstr "Формат показу"
|
1502 |
|
1503 |
-
#: fields/date_picker.php:
|
|
|
|
|
1504 |
msgid "The format displayed when editing a post"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
-
#: fields/date_picker.php:
|
1508 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1509 |
msgstr "Формат повернення"
|
1510 |
|
1511 |
-
#: fields/date_picker.php:
|
|
|
|
|
1512 |
msgid "The format returned via template functions"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
-
#: fields/date_picker.php:
|
|
|
1516 |
msgid "Week Starts On"
|
1517 |
msgstr "Тиждень починається з"
|
1518 |
|
1519 |
-
#: fields/
|
1520 |
-
msgid "
|
1521 |
-
msgstr ""
|
1522 |
|
1523 |
-
#:
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
|
|
1528 |
|
1529 |
-
#:
|
1530 |
-
|
1531 |
-
msgid "
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#:
|
1535 |
-
|
1536 |
-
msgid "
|
1537 |
-
msgstr "
|
1538 |
|
1539 |
-
#:
|
1540 |
-
|
1541 |
-
msgid "
|
1542 |
-
msgstr "
|
1543 |
|
1544 |
-
#:
|
1545 |
-
|
1546 |
-
msgid "
|
1547 |
-
msgstr "
|
1548 |
|
1549 |
-
#:
|
1550 |
-
|
1551 |
-
msgid "
|
1552 |
-
msgstr "
|
1553 |
|
1554 |
-
#:
|
1555 |
-
|
1556 |
-
msgid "
|
1557 |
-
msgstr "
|
1558 |
|
1559 |
-
#: fields/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1560 |
msgid "File"
|
1561 |
msgstr "Файл"
|
1562 |
|
1563 |
-
#: fields/file.php:
|
1564 |
msgid "Edit File"
|
1565 |
msgstr "Редагувати файл"
|
1566 |
|
1567 |
-
#: fields/file.php:
|
1568 |
msgid "Update File"
|
1569 |
msgstr "Оновити файл"
|
1570 |
|
1571 |
-
#: fields/file.php:
|
1572 |
-
|
1573 |
-
|
|
|
|
|
1574 |
|
1575 |
-
#: fields/file.php:
|
1576 |
-
msgid "File
|
1577 |
msgstr "Назва файлу"
|
1578 |
|
1579 |
-
#: fields/file.php:
|
1580 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1581 |
msgstr "Розмір файлу"
|
1582 |
|
1583 |
-
#: fields/file.php:
|
1584 |
-
|
1585 |
-
|
|
|
|
|
|
|
|
|
1586 |
|
1587 |
-
#: fields/file.php:
|
1588 |
msgid "Add File"
|
1589 |
msgstr "Додати файл"
|
1590 |
|
1591 |
-
#: fields/file.php:
|
1592 |
-
msgid "Return Value"
|
1593 |
-
msgstr "Повернення значення"
|
1594 |
-
|
1595 |
-
#: fields/file.php:215 fields/image.php:196
|
1596 |
-
msgid "Specify the returned value on front end"
|
1597 |
-
msgstr ""
|
1598 |
-
|
1599 |
-
#: fields/file.php:220
|
1600 |
msgid "File Array"
|
1601 |
msgstr "Масив файлу"
|
1602 |
|
1603 |
-
#: fields/file.php:
|
1604 |
msgid "File URL"
|
1605 |
msgstr "URL файлу"
|
1606 |
|
1607 |
-
#: fields/file.php:
|
1608 |
msgid "File ID"
|
1609 |
msgstr "ID файлу"
|
1610 |
|
1611 |
-
#: fields/file.php:
|
|
|
|
|
1612 |
msgid "Library"
|
1613 |
msgstr "Бібліотека"
|
1614 |
|
1615 |
-
#: fields/file.php:
|
|
|
|
|
1616 |
msgid "Limit the media library choice"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
-
#: fields/file.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1620 |
msgid "Uploaded to post"
|
1621 |
msgstr "Завантажено до матеріалу"
|
1622 |
|
1623 |
-
#: fields/file.php:
|
1624 |
-
|
|
|
1625 |
msgid "Minimum"
|
1626 |
-
msgstr "Мінімум
|
1627 |
|
1628 |
-
#:
|
|
|
1629 |
msgid "Restrict which files can be uploaded"
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#:
|
1633 |
-
#: fields/image.php:
|
1634 |
-
|
1635 |
-
msgid "File size"
|
1636 |
-
msgstr "Розмір файлу"
|
1637 |
-
|
1638 |
-
#: fields/file.php:254 fields/image.php:267 pro/fields/gallery.php:694
|
1639 |
-
#, fuzzy
|
1640 |
msgid "Maximum"
|
1641 |
-
msgstr "Максимум
|
1642 |
|
1643 |
-
#: fields/file.php:
|
1644 |
-
|
|
|
1645 |
msgid "Allowed file types"
|
1646 |
-
msgstr "
|
1647 |
|
1648 |
-
#: fields/file.php:
|
|
|
|
|
1649 |
msgid "Comma separated list. Leave blank for all types"
|
1650 |
msgstr ""
|
1651 |
|
1652 |
-
#: fields/google-map.php:
|
1653 |
msgid "Google Map"
|
1654 |
msgstr "Google карта"
|
1655 |
|
1656 |
-
#: fields/google-map.php:
|
1657 |
msgid "Locating"
|
1658 |
msgstr "Розміщення"
|
1659 |
|
1660 |
-
#: fields/google-map.php:
|
1661 |
msgid "Sorry, this browser does not support geolocation"
|
1662 |
msgstr "Вибачте, цей браузер не підтримує автоматичне визначення локації"
|
1663 |
|
1664 |
-
#: fields/google-map.php:
|
1665 |
msgid "Clear location"
|
1666 |
msgstr "Очистити розміщення"
|
1667 |
|
1668 |
-
#: fields/google-map.php:
|
1669 |
msgid "Find current location"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
-
#: fields/google-map.php:
|
1673 |
msgid "Search for address..."
|
1674 |
msgstr "Шукати адресу..."
|
1675 |
|
1676 |
-
#: fields/
|
|
|
1677 |
msgid "Center"
|
1678 |
msgstr "Центрування"
|
1679 |
|
1680 |
-
#: fields/
|
|
|
1681 |
msgid "Center the initial map"
|
1682 |
msgstr "Початкове розміщення карти"
|
1683 |
|
1684 |
-
#: fields/google-map.php:
|
1685 |
msgid "Zoom"
|
1686 |
msgstr "Збільшення"
|
1687 |
|
1688 |
-
#: fields/google-map.php:
|
1689 |
msgid "Set the initial zoom level"
|
1690 |
msgstr "Вкажіть початковий масштаб"
|
1691 |
|
1692 |
-
#: fields/google-map.php:
|
1693 |
-
#:
|
|
|
|
|
|
|
|
|
1694 |
msgid "Height"
|
1695 |
msgstr "Висота"
|
1696 |
|
1697 |
-
#: fields/google-map.php:
|
1698 |
msgid "Customise the map height"
|
1699 |
msgstr "Налаштуйте висоту карти"
|
1700 |
|
1701 |
-
#: fields/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1702 |
msgid "Image"
|
1703 |
msgstr "Зображення"
|
1704 |
|
1705 |
-
#: fields/image.php:
|
1706 |
msgid "Select Image"
|
1707 |
msgstr "Обрати зображення"
|
1708 |
|
1709 |
-
#: fields/image.php:
|
|
|
1710 |
msgid "Edit Image"
|
1711 |
msgstr "Редагувати зображення"
|
1712 |
|
1713 |
-
#: fields/image.php:
|
|
|
1714 |
msgid "Update Image"
|
1715 |
msgstr "Оновити зображення"
|
1716 |
|
1717 |
-
#: fields/image.php:
|
1718 |
-
#, fuzzy
|
1719 |
-
msgid "Uploaded to this post"
|
1720 |
-
msgstr "завантажено до цього матеріалу"
|
1721 |
-
|
1722 |
-
#: fields/image.php:55
|
1723 |
-
#, fuzzy
|
1724 |
msgid "All images"
|
1725 |
-
msgstr "
|
1726 |
|
1727 |
-
#: fields/image.php:
|
1728 |
msgid "No image selected"
|
1729 |
msgstr "Зображення не обрано"
|
1730 |
|
1731 |
-
#: fields/image.php:
|
1732 |
msgid "Add Image"
|
1733 |
msgstr "Додати зображення"
|
1734 |
|
1735 |
-
#: fields/image.php:
|
1736 |
msgid "Image Array"
|
1737 |
msgstr "Масив зображення"
|
1738 |
|
1739 |
-
#: fields/image.php:
|
1740 |
msgid "Image URL"
|
1741 |
msgstr "URL зображення"
|
1742 |
|
1743 |
-
#: fields/image.php:
|
1744 |
msgid "Image ID"
|
1745 |
msgstr "ID зображення"
|
1746 |
|
1747 |
-
#: fields/image.php:
|
1748 |
msgid "Preview Size"
|
1749 |
msgstr "Розмір мініатюр"
|
1750 |
|
1751 |
-
#: fields/image.php:
|
1752 |
msgid "Shown when entering data"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#:
|
1756 |
-
#:
|
|
|
|
|
1757 |
msgid "Restrict which images can be uploaded"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
-
#:
|
1761 |
-
#:
|
1762 |
-
|
|
|
|
|
1763 |
msgid "Width"
|
1764 |
-
msgstr "
|
1765 |
|
1766 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1767 |
msgid "Message"
|
1768 |
msgstr "Повідомлення"
|
1769 |
|
1770 |
-
#: fields/message.php:
|
1771 |
-
|
1772 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1773 |
|
1774 |
-
#: fields/message.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1775 |
msgid "Escape HTML"
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#: fields/message.php:
|
1779 |
msgid "Allow HTML markup to display as visible text instead of rendering"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
-
#: fields/number.php:
|
1783 |
msgid "Number"
|
1784 |
msgstr "Число"
|
1785 |
|
1786 |
-
#: fields/number.php:
|
|
|
1787 |
msgid "Minimum Value"
|
1788 |
msgstr "Мінімальне значення"
|
1789 |
|
1790 |
-
#: fields/number.php:
|
|
|
1791 |
msgid "Maximum Value"
|
1792 |
msgstr "Максимальне значення"
|
1793 |
|
1794 |
-
#: fields/number.php:
|
|
|
1795 |
msgid "Step Size"
|
1796 |
msgstr "Розмір кроку"
|
1797 |
|
1798 |
-
#: fields/number.php:
|
1799 |
msgid "Value must be a number"
|
1800 |
msgstr "Значення має бути числом"
|
1801 |
|
1802 |
-
#: fields/number.php:
|
1803 |
#, php-format
|
1804 |
msgid "Value must be equal to or higher than %d"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
-
#: fields/number.php:
|
1808 |
#, php-format
|
1809 |
msgid "Value must be equal to or lower than %d"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#: fields/oembed.php:
|
1813 |
msgid "oEmbed"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#: fields/oembed.php:
|
1817 |
msgid "Enter URL"
|
1818 |
msgstr "Введіть URL"
|
1819 |
|
1820 |
-
#: fields/oembed.php:
|
|
|
|
|
|
|
|
|
|
|
1821 |
msgid "No embed found for the given URL."
|
1822 |
msgstr ""
|
1823 |
|
1824 |
-
#:
|
|
|
1825 |
msgid "Embed Size"
|
1826 |
msgstr "Розмір вставки"
|
1827 |
|
1828 |
-
#: fields/page_link.php:
|
1829 |
msgid "Archives"
|
1830 |
msgstr "Архіви"
|
1831 |
|
1832 |
-
#: fields/page_link.php:
|
1833 |
-
#: fields/
|
|
|
1834 |
msgid "Filter by Post Type"
|
1835 |
msgstr "Фільтр за типом матеріалу"
|
1836 |
|
1837 |
-
#: fields/page_link.php:
|
1838 |
-
#: fields/
|
|
|
1839 |
msgid "All post types"
|
1840 |
msgstr "Всі типи матеріалів"
|
1841 |
|
1842 |
-
#: fields/page_link.php:
|
1843 |
-
#: fields/
|
|
|
1844 |
msgid "Filter by Taxonomy"
|
1845 |
msgstr "Фільтр за типом таксономією"
|
1846 |
|
1847 |
-
#: fields/page_link.php:
|
1848 |
-
#: fields/
|
1849 |
-
|
1850 |
msgid "All taxonomies"
|
1851 |
-
msgstr "
|
1852 |
|
1853 |
-
#: fields/page_link.php:
|
1854 |
-
|
1855 |
-
|
1856 |
-
msgstr "Дозволити порожнє значення?"
|
1857 |
|
1858 |
-
#: fields/page_link.php:
|
1859 |
-
#: fields/
|
|
|
|
|
1860 |
msgid "Select multiple values?"
|
1861 |
msgstr "Дозволити множинний вибір?"
|
1862 |
|
1863 |
-
#: fields/password.php:
|
1864 |
msgid "Password"
|
1865 |
msgstr "Пароль"
|
1866 |
|
1867 |
-
#:
|
1868 |
-
#: fields/
|
|
|
1869 |
msgid "Post Object"
|
1870 |
msgstr ""
|
1871 |
|
1872 |
-
#: fields/post_object.php:
|
1873 |
-
|
1874 |
-
msgstr "Формат повернення"
|
1875 |
-
|
1876 |
-
#: fields/post_object.php:463 fields/relationship.php:770
|
1877 |
msgid "Post ID"
|
1878 |
msgstr "ID публікації"
|
1879 |
|
1880 |
-
#: fields/radio.php:
|
1881 |
msgid "Radio Button"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
-
#: fields/radio.php:
|
1885 |
msgid "Other"
|
1886 |
msgstr "Інше"
|
1887 |
|
1888 |
-
#: fields/radio.php:
|
1889 |
msgid "Add 'other' choice to allow for custom values"
|
1890 |
msgstr "Додати вибір 'Інше', для користувацьких значень"
|
1891 |
|
1892 |
-
#: fields/radio.php:
|
1893 |
#, fuzzy
|
1894 |
msgid "Save Other"
|
1895 |
msgstr "Зберегти інше"
|
1896 |
|
1897 |
-
#: fields/radio.php:
|
1898 |
msgid "Save 'other' values to the field's choices"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
-
#: fields/
|
|
|
|
|
|
|
|
|
1902 |
msgid "Relationship"
|
1903 |
msgstr ""
|
1904 |
|
1905 |
-
#: fields/relationship.php:
|
1906 |
msgid "Minimum values reached ( {min} values )"
|
1907 |
msgstr ""
|
1908 |
|
1909 |
-
#: fields/relationship.php:
|
1910 |
msgid "Maximum values reached ( {max} values )"
|
1911 |
msgstr ""
|
1912 |
|
1913 |
-
#: fields/relationship.php:
|
1914 |
msgid "Loading"
|
1915 |
msgstr "Завантаження"
|
1916 |
|
1917 |
-
#: fields/relationship.php:
|
1918 |
msgid "No matches found"
|
1919 |
msgstr ""
|
1920 |
|
1921 |
-
#: fields/relationship.php:
|
1922 |
-
msgid "Search..."
|
1923 |
-
msgstr "Шукати..."
|
1924 |
-
|
1925 |
-
#: fields/relationship.php:580
|
1926 |
msgid "Select post type"
|
1927 |
msgstr "Вибір типу матеріалу"
|
1928 |
|
1929 |
-
#: fields/relationship.php:
|
1930 |
msgid "Select taxonomy"
|
1931 |
msgstr "Вибір таксономії"
|
1932 |
|
1933 |
-
#: fields/relationship.php:
|
1934 |
-
msgid "Search"
|
1935 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1936 |
|
1937 |
-
#: fields/relationship.php:
|
|
|
|
|
1938 |
msgid "Taxonomy"
|
1939 |
msgstr "Таксономія"
|
1940 |
|
1941 |
-
#: fields/relationship.php:
|
1942 |
msgid "Elements"
|
1943 |
msgstr "Елементи"
|
1944 |
|
1945 |
-
#: fields/relationship.php:
|
1946 |
msgid "Selected elements will be displayed in each result"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
-
#: fields/relationship.php:
|
1950 |
msgid "Minimum posts"
|
1951 |
-
msgstr ""
|
1952 |
|
1953 |
-
#: fields/relationship.php:
|
1954 |
msgid "Maximum posts"
|
1955 |
msgstr "Максимум матеріалів"
|
1956 |
|
1957 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1958 |
msgid "Select"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1959 |
msgstr ""
|
1960 |
|
1961 |
-
#: fields/select.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1962 |
msgid "Stylised UI"
|
1963 |
msgstr "Покращений стиль"
|
1964 |
|
1965 |
-
#: fields/select.php:
|
1966 |
msgid "Use AJAX to lazy load choices?"
|
1967 |
msgstr "Використати AJAX для завантаження значень?"
|
1968 |
|
1969 |
-
#: fields/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1970 |
msgid "Tab"
|
1971 |
msgstr "Вкладка"
|
1972 |
|
1973 |
-
#: fields/tab.php:
|
1974 |
-
msgid "Warning"
|
1975 |
-
msgstr "Застереження"
|
1976 |
-
|
1977 |
-
#: fields/tab.php:133
|
1978 |
msgid ""
|
1979 |
"The tab field will display incorrectly when added to a Table style repeater "
|
1980 |
"field or flexible content field layout"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
-
#: fields/tab.php:
|
1984 |
msgid ""
|
1985 |
"Use \"Tab Fields\" to better organize your edit screen by grouping fields "
|
1986 |
"together."
|
1987 |
msgstr ""
|
1988 |
|
1989 |
-
#: fields/tab.php:
|
1990 |
msgid ""
|
1991 |
"All fields following this \"tab field\" (or until another \"tab field\" is "
|
1992 |
"defined) will be grouped together using this field's label as the tab "
|
1993 |
"heading."
|
1994 |
msgstr ""
|
1995 |
|
1996 |
-
#: fields/tab.php:
|
1997 |
-
#, fuzzy
|
1998 |
msgid "Placement"
|
1999 |
-
msgstr "
|
2000 |
|
2001 |
-
#: fields/tab.php:
|
2002 |
msgid "End-point"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
-
#: fields/tab.php:
|
2006 |
msgid "Use this field as an end-point and start a new group of tabs"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
-
#: fields/taxonomy.php:
|
2010 |
#, php-format
|
2011 |
-
|
|
|
2012 |
msgstr ""
|
2013 |
|
2014 |
-
#: fields/taxonomy.php:
|
2015 |
msgid "None"
|
2016 |
msgstr "Нічого"
|
2017 |
|
2018 |
-
#: fields/taxonomy.php:
|
2019 |
msgid "Select the taxonomy to be displayed"
|
2020 |
msgstr ""
|
2021 |
|
2022 |
-
#: fields/taxonomy.php:
|
2023 |
msgid "Appearance"
|
2024 |
-
msgstr ""
|
2025 |
|
2026 |
-
#: fields/taxonomy.php:
|
2027 |
msgid "Select the appearance of this field"
|
2028 |
msgstr ""
|
2029 |
|
2030 |
-
#: fields/taxonomy.php:
|
2031 |
-
#, fuzzy
|
2032 |
msgid "Multiple Values"
|
2033 |
-
msgstr "
|
2034 |
|
2035 |
-
#: fields/taxonomy.php:
|
2036 |
msgid "Multi Select"
|
2037 |
msgstr "Множинний вибір"
|
2038 |
|
2039 |
-
#: fields/taxonomy.php:
|
2040 |
msgid "Single Value"
|
2041 |
msgstr ""
|
2042 |
|
2043 |
-
#: fields/taxonomy.php:
|
2044 |
msgid "Radio Buttons"
|
2045 |
msgstr ""
|
2046 |
|
2047 |
-
#: fields/taxonomy.php:
|
2048 |
msgid "Create Terms"
|
2049 |
-
msgstr ""
|
2050 |
|
2051 |
-
#: fields/taxonomy.php:
|
2052 |
msgid "Allow new terms to be created whilst editing"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
-
#: fields/taxonomy.php:
|
2056 |
msgid "Save Terms"
|
2057 |
-
msgstr ""
|
2058 |
|
2059 |
-
#: fields/taxonomy.php:
|
2060 |
msgid "Connect selected terms to the post"
|
2061 |
msgstr ""
|
2062 |
|
2063 |
-
#: fields/taxonomy.php:
|
2064 |
msgid "Load Terms"
|
2065 |
-
msgstr ""
|
2066 |
|
2067 |
-
#: fields/taxonomy.php:
|
2068 |
msgid "Load value from posts terms"
|
2069 |
msgstr ""
|
2070 |
|
2071 |
-
#: fields/taxonomy.php:
|
2072 |
msgid "Term Object"
|
2073 |
msgstr ""
|
2074 |
|
2075 |
-
#: fields/taxonomy.php:
|
2076 |
msgid "Term ID"
|
2077 |
msgstr "ID терміну"
|
2078 |
|
2079 |
-
#: fields/taxonomy.php:
|
2080 |
#, php-format
|
2081 |
msgid "User unable to add new %s"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
-
#: fields/taxonomy.php:
|
2085 |
#, php-format
|
2086 |
msgid "%s already exists"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
-
#: fields/taxonomy.php:
|
2090 |
#, php-format
|
2091 |
msgid "%s added"
|
2092 |
msgstr ""
|
2093 |
|
2094 |
-
#: fields/taxonomy.php:
|
2095 |
msgid "Add"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2096 |
msgstr ""
|
2097 |
|
2098 |
-
#:
|
2099 |
-
msgid "
|
2100 |
-
msgstr "
|
2101 |
|
2102 |
-
#:
|
2103 |
-
msgid "
|
2104 |
-
msgstr "
|
2105 |
|
2106 |
-
#:
|
2107 |
-
msgid "
|
2108 |
-
msgstr "
|
2109 |
|
2110 |
-
#:
|
2111 |
-
msgid "
|
2112 |
-
msgstr "
|
2113 |
|
2114 |
-
#:
|
2115 |
-
msgid "
|
2116 |
-
msgstr "
|
2117 |
|
2118 |
-
#:
|
2119 |
-
msgid "
|
2120 |
-
msgstr "
|
2121 |
|
2122 |
-
#:
|
2123 |
-
|
2124 |
-
|
|
|
2125 |
|
2126 |
-
#:
|
2127 |
-
msgid "
|
2128 |
-
msgstr "
|
2129 |
|
2130 |
-
#:
|
2131 |
-
msgid "
|
2132 |
-
msgstr "
|
2133 |
|
2134 |
-
#:
|
2135 |
-
msgid "
|
2136 |
-
msgstr "
|
2137 |
|
2138 |
-
#:
|
2139 |
-
msgid "
|
2140 |
-
msgstr "
|
2141 |
|
2142 |
-
#:
|
2143 |
-
msgid "
|
2144 |
-
msgstr "
|
2145 |
|
2146 |
-
#:
|
2147 |
-
msgid "
|
2148 |
-
msgstr "
|
2149 |
|
2150 |
-
#:
|
2151 |
-
msgid "
|
2152 |
-
msgstr ""
|
2153 |
|
2154 |
-
#:
|
2155 |
-
msgid "
|
2156 |
-
msgstr "
|
2157 |
|
2158 |
-
#:
|
2159 |
-
msgid "
|
2160 |
-
msgstr "
|
2161 |
|
2162 |
-
#:
|
2163 |
-
msgid "
|
2164 |
-
msgstr "
|
2165 |
|
2166 |
-
#:
|
2167 |
-
|
2168 |
-
|
|
|
|
|
2169 |
|
2170 |
-
#:
|
2171 |
-
msgid "
|
2172 |
-
msgstr "
|
2173 |
|
2174 |
-
#:
|
2175 |
-
|
2176 |
-
|
2177 |
-
msgstr ""
|
2178 |
|
2179 |
-
#:
|
2180 |
-
msgid "
|
2181 |
-
msgstr "
|
2182 |
|
2183 |
-
#:
|
2184 |
-
msgid "
|
2185 |
-
msgstr "
|
2186 |
|
2187 |
-
#:
|
2188 |
-
msgid "
|
2189 |
-
msgstr "
|
2190 |
|
2191 |
-
#:
|
2192 |
-
msgid "
|
2193 |
-
msgstr "
|
2194 |
|
2195 |
-
#:
|
2196 |
-
|
2197 |
-
|
|
|
2198 |
|
2199 |
-
#:
|
2200 |
-
|
2201 |
-
|
|
|
2202 |
|
2203 |
-
#:
|
2204 |
-
#,
|
2205 |
-
msgid "
|
2206 |
-
msgstr "
|
2207 |
|
2208 |
-
|
|
|
2209 |
msgid "Advanced Custom Fields PRO"
|
2210 |
msgstr "Додаткові поля Pro"
|
2211 |
|
2212 |
-
#: pro/
|
2213 |
-
msgid "
|
2214 |
-
msgstr ""
|
2215 |
-
|
2216 |
-
#: pro/admin/options-page.php:48
|
2217 |
-
msgid "Options Page"
|
2218 |
-
msgstr "Сторінка опцій"
|
2219 |
|
2220 |
-
#: pro/admin/options-page.php:
|
2221 |
-
|
|
|
|
|
|
|
2222 |
msgstr ""
|
|
|
|
|
2223 |
|
2224 |
-
#: pro/admin/
|
2225 |
-
msgid "Options Updated"
|
2226 |
-
msgstr "Опції оновлено"
|
2227 |
-
|
2228 |
-
#: pro/admin/options-page.php:304
|
2229 |
-
msgid "No Custom Field Groups found for this options page. <a href=\"%s\">Create a Custom Field Group</a>"
|
2230 |
-
msgstr "Немає полів для цієї сторінки опцій. <a href=\"%s\">Створити групу додаткових полів</a>"
|
2231 |
-
|
2232 |
-
#: pro/admin/settings-updates.php:137
|
2233 |
msgid "<b>Error</b>. Could not connect to update server"
|
2234 |
msgstr "<b>Помилка</b>. Неможливо під’єднатися до сервера оновлення"
|
2235 |
|
2236 |
-
#: pro/admin/
|
2237 |
-
|
2238 |
-
|
2239 |
-
|
2240 |
-
#: pro/admin/views/options-page.php:48
|
2241 |
-
msgid "Publish"
|
2242 |
-
msgstr "Опублікувати"
|
2243 |
-
|
2244 |
-
#: pro/admin/views/options-page.php:54
|
2245 |
-
msgid "Save Options"
|
2246 |
-
msgstr "Зберегти опції"
|
2247 |
|
2248 |
-
#: pro/admin/views/settings-updates.php:
|
2249 |
msgid "Deactivate License"
|
2250 |
msgstr "Деактивувати ліцензію"
|
2251 |
|
2252 |
-
#: pro/admin/views/settings-updates.php:
|
2253 |
msgid "Activate License"
|
2254 |
msgstr "Активувати ліцензію"
|
2255 |
|
2256 |
-
#: pro/admin/views/settings-updates.php:
|
2257 |
-
msgid "License"
|
2258 |
-
msgstr "
|
2259 |
|
2260 |
-
#: pro/admin/views/settings-updates.php:
|
|
|
2261 |
msgid ""
|
2262 |
"To unlock updates, please enter your license key below. If you don't have a "
|
2263 |
-
"licence key, please see"
|
|
|
2264 |
msgstr ""
|
2265 |
"Щоб розблокувати оновлення, будь ласка, введіть код ліцензії. Якщо не маєте "
|
2266 |
"ліцензії, перегляньте"
|
2267 |
|
2268 |
-
#: pro/admin/views/settings-updates.php:
|
2269 |
-
msgid "details & pricing"
|
2270 |
-
msgstr "деталі і ціни"
|
2271 |
-
|
2272 |
-
#: pro/admin/views/settings-updates.php:33
|
2273 |
msgid "License Key"
|
2274 |
msgstr "Код ліцензії"
|
2275 |
|
2276 |
-
#: pro/admin/views/settings-updates.php:
|
2277 |
msgid "Update Information"
|
2278 |
msgstr "Інформація про оновлення"
|
2279 |
|
2280 |
-
#: pro/admin/views/settings-updates.php:
|
2281 |
msgid "Current Version"
|
2282 |
msgstr "Поточна версія"
|
2283 |
|
2284 |
-
#: pro/admin/views/settings-updates.php:
|
2285 |
msgid "Latest Version"
|
2286 |
msgstr "Остання версія"
|
2287 |
|
2288 |
-
#: pro/admin/views/settings-updates.php:
|
2289 |
msgid "Update Available"
|
2290 |
msgstr "Доступні оновлення"
|
2291 |
|
2292 |
-
#: pro/admin/views/settings-updates.php:
|
2293 |
msgid "Update Plugin"
|
2294 |
msgstr "Оновити плаґін"
|
2295 |
|
2296 |
-
#: pro/admin/views/settings-updates.php:
|
2297 |
msgid "Please enter your license key above to unlock updates"
|
2298 |
msgstr "Будь ласка, введіть код ліцензії, щоб розблокувати оновлення"
|
2299 |
|
2300 |
-
#: pro/admin/views/settings-updates.php:
|
2301 |
msgid "Check Again"
|
2302 |
-
msgstr ""
|
2303 |
|
2304 |
-
#: pro/admin/views/settings-updates.php:
|
2305 |
#, fuzzy
|
2306 |
msgid "Upgrade Notice"
|
2307 |
msgstr "Оновити базу даних"
|
2308 |
|
2309 |
-
#: pro/
|
2310 |
-
|
2311 |
-
|
|
|
2312 |
|
2313 |
-
#: pro/
|
2314 |
-
|
2315 |
-
msgid ""
|
2316 |
-
"To enable updates, please enter your license key on the <a href=\"%s"
|
2317 |
-
"\">Updates</a> page. If you don't have a licence key, please see <a href=\"%s"
|
2318 |
-
"\">details & pricing</a>"
|
2319 |
msgstr ""
|
2320 |
-
"Щоб розблокувати оновлення, будь ласка, введіть код ліцензії. Якщо не маєте "
|
2321 |
-
"ліцензії, перегляньте"
|
2322 |
|
2323 |
-
#: pro/fields/
|
2324 |
-
msgid "
|
2325 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2326 |
|
2327 |
-
#: pro/fields/flexible-content.php:
|
|
|
|
|
2328 |
msgid "Add Row"
|
2329 |
msgstr "Додати рядок"
|
2330 |
|
2331 |
-
#: pro/fields/flexible-content.php:
|
2332 |
#, fuzzy
|
2333 |
msgid "layout"
|
2334 |
msgstr "Шаблон структури"
|
2335 |
|
2336 |
-
#: pro/fields/flexible-content.php:
|
2337 |
#, fuzzy
|
2338 |
msgid "layouts"
|
2339 |
msgstr "Шаблон структури"
|
2340 |
|
2341 |
-
#: pro/fields/flexible-content.php:
|
2342 |
msgid "remove {layout}?"
|
2343 |
msgstr "видалити {layout}?"
|
2344 |
|
2345 |
-
#: pro/fields/flexible-content.php:
|
2346 |
msgid "This field requires at least {min} {identifier}"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
-
#: pro/fields/flexible-content.php:
|
2350 |
msgid "This field has a limit of {max} {identifier}"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
-
#: pro/fields/flexible-content.php:
|
2354 |
msgid "This field requires at least {min} {label} {identifier}"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
-
#: pro/fields/flexible-content.php:
|
2358 |
msgid "Maximum {label} limit reached ({max} {identifier})"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
-
#: pro/fields/flexible-content.php:
|
2362 |
msgid "{available} {label} {identifier} available (max {max})"
|
2363 |
msgstr ""
|
2364 |
|
2365 |
-
#: pro/fields/flexible-content.php:
|
2366 |
msgid "{required} {label} {identifier} required (min {min})"
|
2367 |
msgstr ""
|
2368 |
|
2369 |
-
#: pro/fields/flexible-content.php:
|
|
|
|
|
|
|
|
|
2370 |
#, php-format
|
2371 |
msgid "Click the \"%s\" button below to start creating your layout"
|
2372 |
msgstr ""
|
2373 |
|
2374 |
-
#: pro/fields/flexible-content.php:
|
2375 |
msgid "Add layout"
|
2376 |
msgstr "Додати шаблон"
|
2377 |
|
2378 |
-
#: pro/fields/flexible-content.php:
|
2379 |
msgid "Remove layout"
|
2380 |
msgstr "Видалити шаблон"
|
2381 |
|
2382 |
-
#: pro/fields/flexible-content.php:
|
|
|
|
|
|
|
|
|
|
|
2383 |
msgid "Reorder Layout"
|
2384 |
msgstr ""
|
2385 |
|
2386 |
-
#: pro/fields/flexible-content.php:
|
2387 |
msgid "Reorder"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
-
#: pro/fields/flexible-content.php:
|
2391 |
msgid "Delete Layout"
|
2392 |
msgstr "Видалити шаблон"
|
2393 |
|
2394 |
-
#: pro/fields/flexible-content.php:
|
2395 |
msgid "Duplicate Layout"
|
2396 |
msgstr "Дублювати шаблон"
|
2397 |
|
2398 |
-
#: pro/fields/flexible-content.php:
|
2399 |
msgid "Add New Layout"
|
2400 |
msgstr "Додати новий шаблон"
|
2401 |
|
2402 |
-
#: pro/fields/flexible-content.php:
|
2403 |
-
msgid "Display"
|
2404 |
-
msgstr "Таблиця"
|
2405 |
-
|
2406 |
-
#: pro/fields/flexible-content.php:572 pro/fields/repeater.php:399
|
2407 |
-
msgid "Table"
|
2408 |
-
msgstr "Таблиця"
|
2409 |
-
|
2410 |
-
#: pro/fields/flexible-content.php:573 pro/fields/repeater.php:400
|
2411 |
-
msgid "Block"
|
2412 |
-
msgstr "Блок"
|
2413 |
-
|
2414 |
-
#: pro/fields/flexible-content.php:574 pro/fields/repeater.php:401
|
2415 |
-
msgid "Row"
|
2416 |
-
msgstr "Рядок"
|
2417 |
-
|
2418 |
-
#: pro/fields/flexible-content.php:589
|
2419 |
msgid "Min"
|
2420 |
msgstr "Мін."
|
2421 |
|
2422 |
-
#: pro/fields/flexible-content.php:
|
2423 |
msgid "Max"
|
2424 |
msgstr "Макс."
|
2425 |
|
2426 |
-
#: pro/fields/flexible-content.php:
|
|
|
2427 |
msgid "Button Label"
|
2428 |
msgstr "Текст для кнопки"
|
2429 |
|
2430 |
-
#: pro/fields/flexible-content.php:
|
2431 |
msgid "Minimum Layouts"
|
2432 |
msgstr "Мінімум шаблонів"
|
2433 |
|
2434 |
-
#: pro/fields/flexible-content.php:
|
2435 |
msgid "Maximum Layouts"
|
2436 |
msgstr "Максимум шаблонів"
|
2437 |
|
2438 |
-
#: pro/fields/gallery.php:
|
2439 |
-
msgid "Gallery"
|
2440 |
-
msgstr "Галерея"
|
2441 |
-
|
2442 |
-
#: pro/fields/gallery.php:52
|
2443 |
msgid "Add Image to Gallery"
|
2444 |
msgstr "Додати зображення до галереї"
|
2445 |
|
2446 |
-
#: pro/fields/gallery.php:
|
2447 |
#, fuzzy
|
2448 |
msgid "Maximum selection reached"
|
2449 |
msgstr "Досягнуто максимального вибору"
|
2450 |
|
2451 |
-
#: pro/fields/gallery.php:
|
2452 |
msgid "Length"
|
2453 |
-
msgstr ""
|
2454 |
|
2455 |
-
#: pro/fields/gallery.php:
|
2456 |
-
|
2457 |
-
|
2458 |
-
msgstr "Видалити рядок"
|
2459 |
|
2460 |
-
#: pro/fields/gallery.php:
|
|
|
|
|
|
|
|
|
2461 |
msgid "Add to gallery"
|
2462 |
msgstr "Додати до галереї"
|
2463 |
|
2464 |
-
#: pro/fields/gallery.php:
|
2465 |
msgid "Bulk actions"
|
2466 |
msgstr "Масові дії"
|
2467 |
|
2468 |
-
#: pro/fields/gallery.php:
|
2469 |
msgid "Sort by date uploaded"
|
2470 |
msgstr "Сортувати за датою завантаження"
|
2471 |
|
2472 |
-
#: pro/fields/gallery.php:
|
2473 |
msgid "Sort by date modified"
|
2474 |
msgstr "Сортувати за датою зміни"
|
2475 |
|
2476 |
-
#: pro/fields/gallery.php:
|
2477 |
msgid "Sort by title"
|
2478 |
msgstr "Сортувати за назвою"
|
2479 |
|
2480 |
-
#: pro/fields/gallery.php:
|
2481 |
msgid "Reverse current order"
|
2482 |
msgstr "Зворотній поточний порядок"
|
2483 |
|
2484 |
-
#: pro/fields/gallery.php:
|
2485 |
msgid "Close"
|
2486 |
msgstr "Закрити"
|
2487 |
|
2488 |
-
#: pro/fields/gallery.php:
|
2489 |
msgid "Minimum Selection"
|
2490 |
msgstr "Мінімальна вибірка"
|
2491 |
|
2492 |
-
#: pro/fields/gallery.php:
|
2493 |
msgid "Maximum Selection"
|
2494 |
msgstr "Максимальна вибірка"
|
2495 |
|
2496 |
-
#: pro/fields/gallery.php:
|
2497 |
-
|
2498 |
-
|
2499 |
-
msgid_plural "%s requires at least %s selections"
|
2500 |
-
msgstr[0] ""
|
2501 |
-
msgstr[1] ""
|
2502 |
-
msgstr[2] ""
|
2503 |
|
2504 |
-
#: pro/fields/
|
2505 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2506 |
msgstr ""
|
2507 |
|
2508 |
-
#: pro/fields/repeater.php:
|
2509 |
msgid "Minimum rows reached ({min} rows)"
|
2510 |
msgstr ""
|
2511 |
|
2512 |
-
#: pro/fields/repeater.php:
|
2513 |
msgid "Maximum rows reached ({max} rows)"
|
2514 |
msgstr ""
|
2515 |
|
2516 |
-
#: pro/fields/repeater.php:
|
2517 |
-
msgid "Drag to reorder"
|
2518 |
-
msgstr "Перетягніть, щоб змінити порядок"
|
2519 |
-
|
2520 |
-
#: pro/fields/repeater.php:301
|
2521 |
msgid "Add row"
|
2522 |
msgstr "Додати рядок"
|
2523 |
|
2524 |
-
#: pro/fields/repeater.php:
|
2525 |
msgid "Remove row"
|
2526 |
msgstr "Видалити рядок"
|
2527 |
|
2528 |
-
#: pro/fields/repeater.php:
|
2529 |
-
|
2530 |
-
|
|
|
|
|
2531 |
|
2532 |
-
#: pro/fields/repeater.php:
|
|
|
|
|
|
|
|
|
2533 |
msgid "Minimum Rows"
|
2534 |
msgstr "Мінімум рядків"
|
2535 |
|
2536 |
-
#: pro/fields/repeater.php:
|
2537 |
msgid "Maximum Rows"
|
2538 |
msgstr "Максимум рядків"
|
2539 |
|
2540 |
-
|
2541 |
-
msgid "
|
2542 |
msgstr ""
|
2543 |
|
2544 |
-
|
2545 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2546 |
msgstr ""
|
|
|
|
|
2547 |
|
2548 |
-
#.
|
2549 |
-
msgid "
|
2550 |
msgstr ""
|
2551 |
|
2552 |
#. Author of the plugin/theme
|
2553 |
-
msgid "
|
2554 |
msgstr ""
|
2555 |
|
2556 |
#. Author URI of the plugin/theme
|
2557 |
msgid "http://www.elliotcondon.com/"
|
2558 |
msgstr ""
|
2559 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2560 |
#~ msgid "Hide / Show All"
|
2561 |
#~ msgstr "Сховати / Показати все"
|
2562 |
|
@@ -2667,9 +3410,6 @@ msgstr ""
|
|
2667 |
#~ msgid "Success"
|
2668 |
#~ msgstr "Готово"
|
2669 |
|
2670 |
-
#~ msgid "Please select the field group you wish this field to move to"
|
2671 |
-
#~ msgstr "Будь ласка, оберіть групу полів куди Ви хочете перемістити це поле"
|
2672 |
-
|
2673 |
#~ msgid "Run the updater"
|
2674 |
#~ msgstr "Запустити оновлення"
|
2675 |
|
@@ -2710,9 +3450,6 @@ msgstr ""
|
|
2710 |
#~ msgid "Visit the ACF website"
|
2711 |
#~ msgstr "Відвідайте сайт плаґіну"
|
2712 |
|
2713 |
-
#~ msgid "Inactive"
|
2714 |
-
#~ msgstr "Неактивно"
|
2715 |
-
|
2716 |
#~ msgid "Gallery Field"
|
2717 |
#~ msgstr "Поле галереї"
|
2718 |
|
@@ -2788,12 +3525,6 @@ msgstr ""
|
|
2788 |
#~ msgid "+ Add Sub Field"
|
2789 |
#~ msgstr "+ Додати дочірнє поле"
|
2790 |
|
2791 |
-
#~ msgid "Alternate Text"
|
2792 |
-
#~ msgstr "Альтернативний текст"
|
2793 |
-
|
2794 |
-
#~ msgid "Caption"
|
2795 |
-
#~ msgstr "Підпис"
|
2796 |
-
|
2797 |
#~ msgid "Image Updated"
|
2798 |
#~ msgstr "Зображення оновлено"
|
2799 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Custom Fields Pro v5.2.9\n"
|
4 |
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
|
5 |
+
"POT-Creation-Date: 2017-10-04 14:50+1000\n"
|
6 |
+
"PO-Revision-Date: 2017-11-05 04:07+0200\n"
|
7 |
+
"Last-Translator: Jurko Chervony <info@skinik.name>\n"
|
8 |
"Language-Team: skinik <info@skinik.name>\n"
|
9 |
"Language: uk\n"
|
10 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
14 |
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
15 |
+
"X-Generator: Poedit 2.0.4\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
"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-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
|
26 |
+
#: acf.php:67
|
27 |
msgid "Advanced Custom Fields"
|
28 |
msgstr "Додаткові поля Pro"
|
29 |
|
30 |
+
#: acf.php:369 includes/admin/admin.php:117
|
|
|
31 |
msgid "Field Groups"
|
32 |
+
msgstr "Групи полів"
|
33 |
|
34 |
+
#: acf.php:370
|
35 |
msgid "Field Group"
|
36 |
msgstr "Група полів"
|
37 |
|
38 |
+
#: acf.php:371 acf.php:403 includes/admin/admin.php:118
|
39 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
40 |
msgid "Add New"
|
41 |
msgstr "Додати нову"
|
42 |
|
43 |
+
#: acf.php:372
|
44 |
msgid "Add New Field Group"
|
45 |
msgstr "Додати нову групу полів"
|
46 |
|
47 |
+
#: acf.php:373
|
48 |
msgid "Edit Field Group"
|
49 |
msgstr "Редагувати групу полів"
|
50 |
|
51 |
+
#: acf.php:374
|
52 |
msgid "New Field Group"
|
53 |
msgstr "Нова група полів"
|
54 |
|
55 |
+
#: acf.php:375
|
56 |
msgid "View Field Group"
|
57 |
msgstr "Переглянути групу полів"
|
58 |
|
59 |
+
#: acf.php:376
|
60 |
msgid "Search Field Groups"
|
61 |
msgstr "Шукати групи полів"
|
62 |
|
63 |
+
#: acf.php:377
|
64 |
msgid "No Field Groups found"
|
65 |
msgstr "Не знайдено груп полів"
|
66 |
|
67 |
+
#: acf.php:378
|
68 |
msgid "No Field Groups found in Trash"
|
69 |
msgstr "У кошику немає груп полів"
|
70 |
|
71 |
+
#: acf.php:401 includes/admin/admin-field-group.php:182
|
72 |
+
#: includes/admin/admin-field-group.php:275
|
73 |
+
#: includes/admin/admin-field-groups.php:510
|
74 |
+
#: pro/fields/class-acf-field-clone.php:807
|
75 |
msgid "Fields"
|
76 |
msgstr "Поля"
|
77 |
|
78 |
+
#: acf.php:402
|
79 |
msgid "Field"
|
80 |
msgstr "Поле"
|
81 |
|
82 |
+
#: acf.php:404
|
83 |
msgid "Add New Field"
|
84 |
msgstr "Додати нове поле"
|
85 |
|
86 |
+
#: acf.php:405
|
87 |
msgid "Edit Field"
|
88 |
msgstr "Редагувати поле"
|
89 |
|
90 |
+
#: acf.php:406 includes/admin/views/field-group-fields.php:41
|
91 |
+
#: includes/admin/views/settings-info.php:105
|
92 |
msgid "New Field"
|
93 |
msgstr "Нове поле"
|
94 |
|
95 |
+
#: acf.php:407
|
96 |
msgid "View Field"
|
97 |
msgstr "Переглянути\t поле"
|
98 |
|
99 |
+
#: acf.php:408
|
100 |
msgid "Search Fields"
|
101 |
msgstr "Шукати поля"
|
102 |
|
103 |
+
#: acf.php:409
|
104 |
msgid "No Fields found"
|
105 |
msgstr "Не знайдено полів"
|
106 |
|
107 |
+
#: acf.php:410
|
108 |
msgid "No Fields found in Trash"
|
109 |
msgstr "Не знайдено полів у кошику"
|
110 |
|
111 |
+
#: acf.php:449 includes/admin/admin-field-group.php:390
|
112 |
+
#: includes/admin/admin-field-groups.php:567
|
113 |
+
msgid "Inactive"
|
114 |
+
msgstr "Неактивно"
|
115 |
|
116 |
+
#: acf.php:454
|
117 |
#, php-format
|
118 |
+
msgid "Inactive <span class=\"count\">(%s)</span>"
|
119 |
+
msgid_plural "Inactive <span class=\"count\">(%s)</span>"
|
120 |
+
msgstr[0] "Неактивні <span class=count>(%s)</span>"
|
121 |
+
msgstr[1] "Неактивні <span class=count>(%s)</span>"
|
122 |
+
msgstr[2] "Неактивні <span class=count>(%s)</span>"
|
123 |
+
|
124 |
+
#: includes/admin/admin-field-group.php:68
|
125 |
+
#: includes/admin/admin-field-group.php:69
|
126 |
+
#: includes/admin/admin-field-group.php:71
|
|
|
|
|
127 |
msgid "Field group updated."
|
128 |
msgstr "Групу полів оновлено."
|
129 |
|
130 |
+
#: includes/admin/admin-field-group.php:70
|
131 |
msgid "Field group deleted."
|
132 |
msgstr "Групу полів видалено."
|
133 |
|
134 |
+
#: includes/admin/admin-field-group.php:73
|
135 |
msgid "Field group published."
|
136 |
msgstr "Групу полів опубліковано."
|
137 |
|
138 |
+
#: includes/admin/admin-field-group.php:74
|
139 |
msgid "Field group saved."
|
140 |
msgstr "Групу полів збережено."
|
141 |
|
142 |
+
#: includes/admin/admin-field-group.php:75
|
143 |
msgid "Field group submitted."
|
144 |
msgstr "Групу полів надіслано."
|
145 |
|
146 |
+
#: includes/admin/admin-field-group.php:76
|
147 |
#, fuzzy
|
148 |
msgid "Field group scheduled for."
|
149 |
msgstr "Групу полів збережено."
|
150 |
|
151 |
+
#: includes/admin/admin-field-group.php:77
|
152 |
msgid "Field group draft updated."
|
153 |
msgstr "Чернетку групи полів оновлено."
|
154 |
|
155 |
+
#: includes/admin/admin-field-group.php:183
|
156 |
+
msgid "Location"
|
157 |
+
msgstr "Розміщення"
|
158 |
+
|
159 |
+
#: includes/admin/admin-field-group.php:184
|
160 |
+
msgid "Settings"
|
161 |
+
msgstr "Налаштування"
|
162 |
+
|
163 |
+
#: includes/admin/admin-field-group.php:269
|
164 |
msgid "Move to trash. Are you sure?"
|
165 |
msgstr "Перемістити в кошик. Ви впевнені?"
|
166 |
|
167 |
+
#: includes/admin/admin-field-group.php:270
|
168 |
msgid "checked"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/admin/admin-field-group.php:271
|
172 |
msgid "No toggle fields available"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/admin/admin-field-group.php:272
|
176 |
msgid "Field group title is required"
|
177 |
msgstr "Заголовок обов’язковий"
|
178 |
|
179 |
+
#: includes/admin/admin-field-group.php:273
|
180 |
+
#: includes/api/api-field-group.php:751
|
181 |
msgid "copy"
|
182 |
+
msgstr "копіювати"
|
183 |
+
|
184 |
+
#: includes/admin/admin-field-group.php:274
|
185 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:54
|
186 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:154
|
187 |
+
#: includes/admin/views/field-group-locations.php:29
|
188 |
+
#: includes/admin/views/html-location-group.php:3
|
189 |
+
#: includes/api/api-helpers.php:3964
|
190 |
msgid "or"
|
191 |
msgstr "або"
|
192 |
|
193 |
+
#: includes/admin/admin-field-group.php:276
|
194 |
msgid "Parent fields"
|
195 |
msgstr "Батьківські поля"
|
196 |
|
197 |
+
#: includes/admin/admin-field-group.php:277
|
198 |
msgid "Sibling fields"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: includes/admin/admin-field-group.php:278
|
202 |
msgid "Move Custom Field"
|
203 |
msgstr "Перемістити поле"
|
204 |
|
205 |
+
#: includes/admin/admin-field-group.php:279
|
206 |
msgid "This field cannot be moved until its changes have been saved"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: includes/admin/admin-field-group.php:280
|
210 |
msgid "Null"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: includes/admin/admin-field-group.php:281 includes/input.php:258
|
214 |
msgid "The changes you made will be lost if you navigate away from this page"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/admin/admin-field-group.php:282
|
218 |
msgid "The string \"field_\" may not be used at the start of a field name"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: includes/admin/admin-field-group.php:360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
msgid "Field Keys"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: includes/admin/admin-field-group.php:390
|
226 |
+
#: includes/admin/views/field-group-options.php:9
|
227 |
msgid "Active"
|
228 |
msgstr "Активно"
|
229 |
|
230 |
+
#: includes/admin/admin-field-group.php:801
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
msgid "Move Complete."
|
232 |
msgstr "Переміщення завершене."
|
233 |
|
234 |
+
#: includes/admin/admin-field-group.php:802
|
235 |
#, php-format
|
236 |
msgid "The %s field can now be found in the %s field group"
|
237 |
msgstr "Поле «%s» можете знайти у групі «%s»"
|
238 |
|
239 |
+
#: includes/admin/admin-field-group.php:803
|
240 |
msgid "Close Window"
|
241 |
msgstr "Закрити вікно"
|
242 |
|
243 |
+
#: includes/admin/admin-field-group.php:844
|
244 |
msgid "Please select the destination for this field"
|
245 |
msgstr "Будь ласка, оберіть групу, в яку перемістити"
|
246 |
|
247 |
+
#: includes/admin/admin-field-group.php:851
|
248 |
msgid "Move Field"
|
249 |
msgstr "Перемістити поле"
|
250 |
|
251 |
+
#: includes/admin/admin-field-groups.php:74
|
252 |
#, php-format
|
253 |
msgid "Active <span class=\"count\">(%s)</span>"
|
254 |
msgid_plural "Active <span class=\"count\">(%s)</span>"
|
255 |
+
msgstr[0] "Активні <span class=\"count\">(%s)</span>"
|
256 |
+
msgstr[1] "Активні <span class=\"count\">(%s)</span>"
|
257 |
+
msgstr[2] "Активні <span class=\"count\">(%s)</span>"
|
258 |
|
259 |
+
#: includes/admin/admin-field-groups.php:142
|
260 |
#, php-format
|
261 |
msgid "Field group duplicated. %s"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: includes/admin/admin-field-groups.php:146
|
265 |
#, php-format
|
266 |
msgid "%s field group duplicated."
|
267 |
msgid_plural "%s field groups duplicated."
|
269 |
msgstr[1] ""
|
270 |
msgstr[2] ""
|
271 |
|
272 |
+
#: includes/admin/admin-field-groups.php:227
|
273 |
#, php-format
|
274 |
msgid "Field group synchronised. %s"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/admin/admin-field-groups.php:231
|
278 |
#, php-format
|
279 |
msgid "%s field group synchronised."
|
280 |
msgid_plural "%s field groups synchronised."
|
282 |
msgstr[1] ""
|
283 |
msgstr[2] ""
|
284 |
|
285 |
+
#: includes/admin/admin-field-groups.php:394
|
286 |
+
#: includes/admin/admin-field-groups.php:557
|
287 |
msgid "Sync available"
|
288 |
+
msgstr "Доступна синхронізація"
|
289 |
|
290 |
+
#: includes/admin/admin-field-groups.php:507 includes/forms/form-front.php:38
|
291 |
+
#: pro/fields/class-acf-field-gallery.php:355
|
292 |
msgid "Title"
|
293 |
msgstr "Заголовок"
|
294 |
|
295 |
+
#: includes/admin/admin-field-groups.php:508
|
296 |
+
#: includes/admin/views/field-group-options.php:96
|
297 |
+
#: includes/admin/views/install-network.php:21
|
298 |
+
#: includes/admin/views/install-network.php:29
|
299 |
+
#: pro/fields/class-acf-field-gallery.php:382
|
300 |
msgid "Description"
|
301 |
msgstr "Опис"
|
302 |
|
303 |
+
#: includes/admin/admin-field-groups.php:509
|
304 |
msgid "Status"
|
305 |
+
msgstr "Статус"
|
306 |
+
|
307 |
+
#. Description of the plugin/theme
|
308 |
+
#: includes/admin/admin-field-groups.php:607
|
309 |
+
msgid "Customise WordPress with powerful, professional and intuitive fields."
|
310 |
msgstr ""
|
311 |
+
"Розширте можливості WordPress за допомогою потужних, професійних та "
|
312 |
+
"інтуїтивно зрозумілих полів."
|
313 |
|
314 |
+
#: includes/admin/admin-field-groups.php:609
|
315 |
+
#: includes/admin/settings-info.php:76
|
316 |
+
#: pro/admin/views/html-settings-updates.php:107
|
317 |
msgid "Changelog"
|
318 |
msgstr "Список змін"
|
319 |
|
320 |
+
#: includes/admin/admin-field-groups.php:614
|
321 |
+
#, php-format
|
322 |
+
msgid "See what's new in <a href=\"%s\">version %s</a>."
|
323 |
+
msgstr "Перегляньте що нового у <a href=%s>версії %s</a>."
|
|
|
|
|
|
|
324 |
|
325 |
+
#: includes/admin/admin-field-groups.php:617
|
326 |
msgid "Resources"
|
327 |
msgstr "Документація"
|
328 |
|
329 |
+
#: includes/admin/admin-field-groups.php:619
|
330 |
+
msgid "Website"
|
331 |
+
msgstr "Сайт"
|
332 |
|
333 |
+
#: includes/admin/admin-field-groups.php:620
|
334 |
+
msgid "Documentation"
|
335 |
+
msgstr "Документація"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
|
337 |
+
#: includes/admin/admin-field-groups.php:621
|
338 |
+
msgid "Support"
|
339 |
+
msgstr "Підтримка"
|
340 |
|
341 |
+
#: includes/admin/admin-field-groups.php:623
|
342 |
+
msgid "Pro"
|
343 |
+
msgstr "Про"
|
344 |
|
345 |
+
#: includes/admin/admin-field-groups.php:628
|
346 |
+
#, php-format
|
347 |
+
msgid "Thank you for creating with <a href=\"%s\">ACF</a>."
|
348 |
+
msgstr "Спасибі за використання <a href=\"%s\">ACF</a>."
|
349 |
|
350 |
+
#: includes/admin/admin-field-groups.php:668
|
351 |
msgid "Duplicate this item"
|
352 |
msgstr "Дублювати цей елемент"
|
353 |
|
354 |
+
#: includes/admin/admin-field-groups.php:668
|
355 |
+
#: includes/admin/admin-field-groups.php:684
|
356 |
+
#: includes/admin/views/field-group-field.php:49
|
357 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
358 |
msgid "Duplicate"
|
359 |
msgstr "Дублювати"
|
360 |
|
361 |
+
#: includes/admin/admin-field-groups.php:701
|
362 |
+
#: includes/fields/class-acf-field-google-map.php:112
|
363 |
+
#: includes/fields/class-acf-field-relationship.php:656
|
364 |
+
msgid "Search"
|
365 |
+
msgstr "Пошук"
|
366 |
+
|
367 |
+
#: includes/admin/admin-field-groups.php:760
|
368 |
#, php-format
|
369 |
msgid "Select %s"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: includes/admin/admin-field-groups.php:768
|
373 |
msgid "Synchronise field group"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: includes/admin/admin-field-groups.php:768
|
377 |
+
#: includes/admin/admin-field-groups.php:798
|
378 |
msgid "Sync"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: includes/admin/admin-field-groups.php:780
|
382 |
+
msgid "Apply"
|
383 |
+
msgstr "Застосувати"
|
384 |
+
|
385 |
+
#: includes/admin/admin-field-groups.php:798
|
386 |
+
msgid "Bulk Actions"
|
387 |
+
msgstr "Масові дії"
|
388 |
+
|
389 |
+
#: includes/admin/admin.php:113
|
390 |
+
#: includes/admin/views/field-group-options.php:118
|
391 |
+
msgid "Custom Fields"
|
392 |
+
msgstr "Додаткові поля"
|
393 |
+
|
394 |
+
#: includes/admin/install-network.php:88 includes/admin/install.php:70
|
395 |
+
#: includes/admin/install.php:121
|
396 |
+
msgid "Upgrade Database"
|
397 |
+
msgstr "Оновити базу даних"
|
398 |
+
|
399 |
+
#: includes/admin/install-network.php:140
|
400 |
+
msgid "Review sites & upgrade"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: includes/admin/install.php:187
|
404 |
+
msgid "Error validating request"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: includes/admin/install.php:210 includes/admin/views/install.php:105
|
408 |
+
msgid "No updates available."
|
409 |
+
msgstr "Немає оновлень."
|
410 |
+
|
411 |
+
#: includes/admin/settings-addons.php:51
|
412 |
+
#: includes/admin/views/settings-addons.php:3
|
413 |
msgid "Add-ons"
|
414 |
msgstr "Доповнення"
|
415 |
|
416 |
+
#: includes/admin/settings-addons.php:87
|
417 |
msgid "<b>Error</b>. Could not load add-ons list"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/admin/settings-info.php:50
|
421 |
msgid "Info"
|
422 |
msgstr "Інформація"
|
423 |
|
424 |
+
#: includes/admin/settings-info.php:75
|
425 |
msgid "What's New"
|
426 |
msgstr "Що нового"
|
427 |
|
428 |
+
#: includes/admin/settings-tools.php:50
|
429 |
+
#: includes/admin/views/settings-tools-export.php:19
|
430 |
+
#: includes/admin/views/settings-tools.php:31
|
431 |
msgid "Tools"
|
432 |
+
msgstr "Інструменти"
|
433 |
|
434 |
+
#: includes/admin/settings-tools.php:147 includes/admin/settings-tools.php:380
|
|
|
435 |
msgid "No field groups selected"
|
436 |
+
msgstr "Не обрано груп полів"
|
437 |
|
438 |
+
#: includes/admin/settings-tools.php:184
|
439 |
+
#: includes/fields/class-acf-field-file.php:155
|
440 |
msgid "No file selected"
|
441 |
msgstr "Файл не обрано"
|
442 |
|
443 |
+
#: includes/admin/settings-tools.php:197
|
444 |
msgid "Error uploading file. Please try again"
|
445 |
msgstr "Помилка завантаження файлу. Спробуйте знову"
|
446 |
|
447 |
+
#: includes/admin/settings-tools.php:206
|
448 |
msgid "Incorrect file type"
|
449 |
msgstr "Невірний тип файлу"
|
450 |
|
451 |
+
#: includes/admin/settings-tools.php:223
|
452 |
msgid "Import file empty"
|
453 |
msgstr "Файл імпорту порожній"
|
454 |
|
455 |
+
#: includes/admin/settings-tools.php:331
|
456 |
+
#, fuzzy, php-format
|
457 |
+
#| msgid "Import Field Groups"
|
458 |
+
msgid "Imported 1 field group"
|
459 |
+
msgid_plural "Imported %s field groups"
|
460 |
+
msgstr[0] "Імпортувати групи полів"
|
461 |
+
msgstr[1] "Імпортувати групи полів"
|
462 |
+
msgstr[2] "Імпортувати групи полів"
|
463 |
+
|
464 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
msgid "Conditional Logic"
|
466 |
msgstr "Умовна логіка"
|
467 |
|
468 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
msgid "Show this field if"
|
470 |
msgstr "Показувати поле, якщо"
|
471 |
|
472 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:103
|
473 |
+
#: includes/locations.php:247
|
474 |
msgid "is equal to"
|
475 |
msgstr "дорівнює"
|
476 |
|
477 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:104
|
478 |
+
#: includes/locations.php:248
|
479 |
msgid "is not equal to"
|
480 |
msgstr "не дорівнює"
|
481 |
|
482 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:141
|
483 |
+
#: includes/admin/views/html-location-rule.php:80
|
484 |
msgid "and"
|
485 |
msgstr "та"
|
486 |
|
487 |
+
#: includes/admin/views/field-group-field-conditional-logic.php:156
|
488 |
+
#: includes/admin/views/field-group-locations.php:31
|
489 |
msgid "Add rule group"
|
490 |
msgstr "Додати групу умов"
|
491 |
|
492 |
+
#: includes/admin/views/field-group-field.php:41
|
493 |
+
#: pro/fields/class-acf-field-flexible-content.php:403
|
494 |
+
#: pro/fields/class-acf-field-repeater.php:296
|
495 |
+
msgid "Drag to reorder"
|
496 |
+
msgstr "Перетягніть, щоб змінити порядок"
|
497 |
+
|
498 |
+
#: includes/admin/views/field-group-field.php:45
|
499 |
+
#: includes/admin/views/field-group-field.php:48
|
500 |
msgid "Edit field"
|
501 |
msgstr "Редагувати поле"
|
502 |
|
503 |
+
#: includes/admin/views/field-group-field.php:48
|
504 |
+
#: includes/fields/class-acf-field-file.php:137
|
505 |
+
#: includes/fields/class-acf-field-image.php:122
|
506 |
+
#: includes/fields/class-acf-field-link.php:139
|
507 |
+
#: pro/fields/class-acf-field-gallery.php:342
|
508 |
msgid "Edit"
|
509 |
msgstr "Редагувати"
|
510 |
|
511 |
+
#: includes/admin/views/field-group-field.php:49
|
512 |
msgid "Duplicate field"
|
513 |
msgstr "Дублювати поле"
|
514 |
|
515 |
+
#: includes/admin/views/field-group-field.php:50
|
516 |
msgid "Move field to another group"
|
517 |
msgstr "Перемістити поле до іншої групи"
|
518 |
|
519 |
+
#: includes/admin/views/field-group-field.php:50
|
520 |
msgid "Move"
|
521 |
msgstr "Перемістити"
|
522 |
|
523 |
+
#: includes/admin/views/field-group-field.php:51
|
524 |
msgid "Delete field"
|
525 |
msgstr "Видалити поле"
|
526 |
|
527 |
+
#: includes/admin/views/field-group-field.php:51
|
528 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
529 |
msgid "Delete"
|
530 |
msgstr "Видалити"
|
531 |
|
532 |
+
#: includes/admin/views/field-group-field.php:67
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
533 |
msgid "Field Label"
|
534 |
msgstr "Назва поля"
|
535 |
|
536 |
+
#: includes/admin/views/field-group-field.php:68
|
537 |
msgid "This is the name which will appear on the EDIT page"
|
538 |
msgstr "Ця назва відображується на сторінці редагування"
|
539 |
|
540 |
+
#: includes/admin/views/field-group-field.php:77
|
541 |
msgid "Field Name"
|
542 |
msgstr "Ярлик"
|
543 |
|
544 |
+
#: includes/admin/views/field-group-field.php:78
|
545 |
msgid "Single word, no spaces. Underscores and dashes allowed"
|
546 |
msgstr "Одне слово, без пробілів. Можете використовувати нижнє підкреслення."
|
547 |
|
548 |
+
#: includes/admin/views/field-group-field.php:87
|
549 |
msgid "Field Type"
|
550 |
msgstr "Тип поля"
|
551 |
|
552 |
+
#: includes/admin/views/field-group-field.php:98
|
553 |
+
#: includes/fields/class-acf-field-tab.php:88
|
554 |
msgid "Instructions"
|
555 |
msgstr "Інструкція"
|
556 |
|
557 |
+
#: includes/admin/views/field-group-field.php:99
|
558 |
msgid "Instructions for authors. Shown when submitting data"
|
559 |
msgstr "Напишіть короткий опис для поля"
|
560 |
|
561 |
+
#: includes/admin/views/field-group-field.php:108
|
562 |
msgid "Required?"
|
563 |
msgstr "Обов’язкове?"
|
564 |
|
565 |
+
#: includes/admin/views/field-group-field.php:131
|
566 |
msgid "Wrapper Attributes"
|
567 |
msgstr "Атрибути обгортки"
|
568 |
|
569 |
+
#: includes/admin/views/field-group-field.php:137
|
570 |
msgid "width"
|
571 |
msgstr "ширина"
|
572 |
|
573 |
+
#: includes/admin/views/field-group-field.php:152
|
574 |
msgid "class"
|
575 |
+
msgstr "клас"
|
576 |
|
577 |
+
#: includes/admin/views/field-group-field.php:165
|
578 |
msgid "id"
|
579 |
+
msgstr "id"
|
580 |
|
581 |
+
#: includes/admin/views/field-group-field.php:177
|
582 |
msgid "Close Field"
|
583 |
msgstr "Закрити поле"
|
584 |
|
585 |
+
#: includes/admin/views/field-group-fields.php:4
|
586 |
msgid "Order"
|
587 |
msgstr "Порядок"
|
588 |
|
589 |
+
#: includes/admin/views/field-group-fields.php:5
|
590 |
+
#: includes/fields/class-acf-field-button-group.php:198
|
591 |
+
#: includes/fields/class-acf-field-checkbox.php:415
|
592 |
+
#: includes/fields/class-acf-field-radio.php:306
|
593 |
+
#: includes/fields/class-acf-field-select.php:432
|
594 |
+
#: pro/fields/class-acf-field-flexible-content.php:582
|
595 |
msgid "Label"
|
596 |
msgstr "Ярлик"
|
597 |
|
598 |
+
#: includes/admin/views/field-group-fields.php:6
|
599 |
+
#: includes/fields/class-acf-field-taxonomy.php:964
|
600 |
+
#: pro/fields/class-acf-field-flexible-content.php:595
|
601 |
msgid "Name"
|
602 |
msgstr "Назва"
|
603 |
|
604 |
+
#: includes/admin/views/field-group-fields.php:7
|
605 |
+
msgid "Key"
|
606 |
+
msgstr "Ключ"
|
607 |
+
|
608 |
+
#: includes/admin/views/field-group-fields.php:8
|
609 |
msgid "Type"
|
610 |
msgstr "Тип"
|
611 |
|
612 |
+
#: includes/admin/views/field-group-fields.php:14
|
613 |
msgid ""
|
614 |
"No fields. Click the <strong>+ Add Field</strong> button to create your "
|
615 |
"first field."
|
616 |
msgstr ""
|
617 |
"Ще немає полів. Для створення полів натисніть <strong>+ Додати поле</strong>."
|
618 |
|
619 |
+
#: includes/admin/views/field-group-fields.php:31
|
|
|
|
|
|
|
|
|
620 |
msgid "+ Add Field"
|
621 |
msgstr "+ Додати поле"
|
622 |
|
623 |
+
#: includes/admin/views/field-group-locations.php:9
|
624 |
msgid "Rules"
|
625 |
msgstr "Умови"
|
626 |
|
627 |
+
#: includes/admin/views/field-group-locations.php:10
|
628 |
msgid ""
|
629 |
"Create a set of rules to determine which edit screens will use these "
|
630 |
"advanced custom fields"
|
631 |
msgstr ""
|
632 |
"Створіть набір умов, щоб визначити де використовувати ці додаткові поля"
|
633 |
|
634 |
+
#: includes/admin/views/field-group-options.php:23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
635 |
msgid "Style"
|
636 |
msgstr "Стиль"
|
637 |
|
638 |
+
#: includes/admin/views/field-group-options.php:30
|
639 |
msgid "Standard (WP metabox)"
|
640 |
msgstr "Стандартний (WP метабокс)"
|
641 |
|
642 |
+
#: includes/admin/views/field-group-options.php:31
|
643 |
msgid "Seamless (no metabox)"
|
644 |
msgstr "Спрощений (без метабоксу)"
|
645 |
|
646 |
+
#: includes/admin/views/field-group-options.php:38
|
647 |
msgid "Position"
|
648 |
msgstr "Розташування"
|
649 |
|
650 |
+
#: includes/admin/views/field-group-options.php:45
|
651 |
msgid "High (after title)"
|
652 |
msgstr "Вгорі (під заголовком)"
|
653 |
|
654 |
+
#: includes/admin/views/field-group-options.php:46
|
655 |
msgid "Normal (after content)"
|
656 |
msgstr "Стандартно (після тектового редактора)"
|
657 |
|
658 |
+
#: includes/admin/views/field-group-options.php:47
|
659 |
msgid "Side"
|
660 |
msgstr "Збоку"
|
661 |
|
662 |
+
#: includes/admin/views/field-group-options.php:55
|
663 |
msgid "Label placement"
|
664 |
msgstr "Розміщення ярликів"
|
665 |
|
666 |
+
#: includes/admin/views/field-group-options.php:62
|
667 |
+
#: includes/fields/class-acf-field-tab.php:102
|
668 |
msgid "Top aligned"
|
669 |
msgstr "Зверху"
|
670 |
|
671 |
+
#: includes/admin/views/field-group-options.php:63
|
672 |
+
#: includes/fields/class-acf-field-tab.php:103
|
673 |
msgid "Left Aligned"
|
674 |
msgstr "Зліва"
|
675 |
|
676 |
+
#: includes/admin/views/field-group-options.php:70
|
677 |
msgid "Instruction placement"
|
678 |
msgstr "Розміщення інструкцій"
|
679 |
|
680 |
+
#: includes/admin/views/field-group-options.php:77
|
681 |
msgid "Below labels"
|
682 |
msgstr "Під ярликами"
|
683 |
|
684 |
+
#: includes/admin/views/field-group-options.php:78
|
685 |
msgid "Below fields"
|
686 |
msgstr "Під полями"
|
687 |
|
688 |
+
#: includes/admin/views/field-group-options.php:85
|
689 |
msgid "Order No."
|
690 |
msgstr "Порядок розташування"
|
691 |
|
692 |
+
#: includes/admin/views/field-group-options.php:86
|
693 |
msgid "Field groups with a lower order will appear first"
|
694 |
+
msgstr "Групи полів з нижчим порядком з’являться спочатку"
|
695 |
|
696 |
+
#: includes/admin/views/field-group-options.php:97
|
697 |
msgid "Shown in field group list"
|
698 |
+
msgstr "Відображається на сторінці груп полів"
|
699 |
|
700 |
+
#: includes/admin/views/field-group-options.php:107
|
701 |
msgid "Hide on screen"
|
702 |
msgstr "Ховати на екрані"
|
703 |
|
704 |
+
#: includes/admin/views/field-group-options.php:108
|
|
|
705 |
msgid "<b>Select</b> items to <b>hide</b> them from the edit screen."
|
706 |
+
msgstr "<b>Оберіть</b> що <b>ховати</b> з екрану редагування/створення."
|
707 |
|
708 |
+
#: includes/admin/views/field-group-options.php:108
|
|
|
709 |
msgid ""
|
710 |
"If multiple field groups appear on an edit screen, the first field group's "
|
711 |
"options will be used (the one with the lowest order number)"
|
714 |
"використовуватимуться параметри першої групи. (з найменшим порядковим "
|
715 |
"номером)"
|
716 |
|
717 |
+
#: includes/admin/views/field-group-options.php:115
|
718 |
msgid "Permalink"
|
719 |
+
msgstr "Постійне посилання "
|
720 |
|
721 |
+
#: includes/admin/views/field-group-options.php:116
|
722 |
msgid "Content Editor"
|
723 |
msgstr "Редактор матеріалу"
|
724 |
|
725 |
+
#: includes/admin/views/field-group-options.php:117
|
726 |
msgid "Excerpt"
|
727 |
msgstr "Витяг"
|
728 |
|
729 |
+
#: includes/admin/views/field-group-options.php:119
|
730 |
msgid "Discussion"
|
731 |
msgstr "Дискусія"
|
732 |
|
733 |
+
#: includes/admin/views/field-group-options.php:120
|
734 |
msgid "Comments"
|
735 |
msgstr "Коментарі"
|
736 |
|
737 |
+
#: includes/admin/views/field-group-options.php:121
|
738 |
msgid "Revisions"
|
739 |
msgstr "Ревізії"
|
740 |
|
741 |
+
#: includes/admin/views/field-group-options.php:122
|
742 |
msgid "Slug"
|
743 |
msgstr "Ярлик URL"
|
744 |
|
745 |
+
#: includes/admin/views/field-group-options.php:123
|
746 |
msgid "Author"
|
747 |
msgstr "Автор"
|
748 |
|
749 |
+
#: includes/admin/views/field-group-options.php:124
|
750 |
msgid "Format"
|
751 |
msgstr "Формат"
|
752 |
|
753 |
+
#: includes/admin/views/field-group-options.php:125
|
754 |
msgid "Page Attributes"
|
755 |
msgstr "Атрибути сторінки"
|
756 |
|
757 |
+
#: includes/admin/views/field-group-options.php:126
|
758 |
+
#: includes/fields/class-acf-field-relationship.php:670
|
759 |
msgid "Featured Image"
|
760 |
msgstr "Головне зображення"
|
761 |
|
762 |
+
#: includes/admin/views/field-group-options.php:127
|
763 |
msgid "Categories"
|
764 |
msgstr "Категорії"
|
765 |
|
766 |
+
#: includes/admin/views/field-group-options.php:128
|
767 |
msgid "Tags"
|
768 |
msgstr "Теґи"
|
769 |
|
770 |
+
#: includes/admin/views/field-group-options.php:129
|
771 |
msgid "Send Trackbacks"
|
772 |
msgstr "Надіслати трекбеки"
|
773 |
|
774 |
+
#: includes/admin/views/html-location-group.php:3
|
775 |
+
msgid "Show this field group if"
|
776 |
+
msgstr "Показувати групу полів, якщо"
|
777 |
|
778 |
+
#: includes/admin/views/install-network.php:4
|
779 |
+
msgid "Upgrade Sites"
|
780 |
+
msgstr "Оновити сайти"
|
781 |
|
782 |
+
#: includes/admin/views/install-network.php:9
|
783 |
+
#: includes/admin/views/install.php:3
|
784 |
+
msgid "Advanced Custom Fields Database Upgrade"
|
785 |
+
msgstr ""
|
786 |
|
787 |
+
#: includes/admin/views/install-network.php:11
|
788 |
#, php-format
|
789 |
msgid ""
|
790 |
+
"The following sites require a DB upgrade. Check the ones you want to update "
|
791 |
+
"and then click %s."
|
|
|
|
|
|
|
|
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/admin/views/install-network.php:20
|
795 |
+
#: includes/admin/views/install-network.php:28
|
796 |
+
msgid "Site"
|
797 |
+
msgstr "Сайт"
|
798 |
|
799 |
+
#: includes/admin/views/install-network.php:48
|
800 |
+
#, php-format
|
801 |
+
msgid "Site requires database upgrade from %s to %s"
|
|
|
|
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/admin/views/install-network.php:50
|
805 |
+
msgid "Site is up to date"
|
806 |
+
msgstr "Сайт оновлено"
|
807 |
|
808 |
+
#: includes/admin/views/install-network.php:63
|
809 |
+
#, php-format
|
810 |
msgid ""
|
811 |
+
"Database Upgrade complete. <a href=\"%s\">Return to network dashboard</a>"
|
|
|
|
|
|
|
|
|
|
|
|
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: includes/admin/views/install-network.php:102
|
815 |
+
#: includes/admin/views/install-notice.php:42
|
816 |
msgid ""
|
817 |
+
"It is strongly recommended that you backup your database before proceeding. "
|
818 |
+
"Are you sure you wish to run the updater now?"
|
|
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/admin/views/install-network.php:158
|
822 |
+
msgid "Upgrade complete"
|
823 |
+
msgstr "Оновлення завершено"
|
|
|
|
|
|
|
|
|
824 |
|
825 |
+
#: includes/admin/views/install-network.php:162
|
826 |
+
#: includes/admin/views/install.php:9
|
827 |
+
#, php-format
|
828 |
+
msgid "Upgrading data to version %s"
|
829 |
+
msgstr "Оновлення даних до версії %s"
|
830 |
+
|
831 |
+
#: includes/admin/views/install-notice.php:8
|
832 |
+
#: pro/fields/class-acf-field-repeater.php:25
|
833 |
+
msgid "Repeater"
|
834 |
+
msgstr "Повторювальне поле"
|
835 |
+
|
836 |
+
#: includes/admin/views/install-notice.php:9
|
837 |
+
#: pro/fields/class-acf-field-flexible-content.php:25
|
838 |
+
msgid "Flexible Content"
|
839 |
+
msgstr "Гнучкий вміст"
|
840 |
+
|
841 |
+
#: includes/admin/views/install-notice.php:10
|
842 |
+
#: pro/fields/class-acf-field-gallery.php:25
|
843 |
+
msgid "Gallery"
|
844 |
+
msgstr "Галерея"
|
845 |
+
|
846 |
+
#: includes/admin/views/install-notice.php:11
|
847 |
+
#: pro/locations/class-acf-location-options-page.php:26
|
848 |
+
msgid "Options Page"
|
849 |
+
msgstr "Сторінка опцій"
|
850 |
+
|
851 |
+
#: includes/admin/views/install-notice.php:26
|
852 |
+
msgid "Database Upgrade Required"
|
853 |
+
msgstr "Необхідно оновити базу даних"
|
854 |
+
|
855 |
+
#: includes/admin/views/install-notice.php:28
|
856 |
+
#, php-format
|
857 |
+
msgid "Thank you for updating to %s v%s!"
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: includes/admin/views/install-notice.php:28
|
861 |
+
msgid ""
|
862 |
+
"Before you start using the new awesome features, please update your database "
|
863 |
+
"to the newest version."
|
864 |
+
msgstr ""
|
865 |
+
|
866 |
+
#: includes/admin/views/install-notice.php:31
|
867 |
+
#, php-format
|
868 |
+
msgid ""
|
869 |
+
"Please also ensure any premium add-ons (%s) have first been updated to the "
|
870 |
+
"latest version."
|
871 |
+
msgstr ""
|
872 |
+
|
873 |
+
#: includes/admin/views/install.php:7
|
874 |
+
msgid "Reading upgrade tasks..."
|
875 |
+
msgstr ""
|
876 |
+
|
877 |
+
#: includes/admin/views/install.php:11
|
878 |
+
#, php-format
|
879 |
+
msgid "Database Upgrade complete. <a href=\"%s\">See what's new</a>"
|
880 |
+
msgstr ""
|
881 |
+
|
882 |
+
#: includes/admin/views/settings-addons.php:17
|
883 |
+
msgid "Download & Install"
|
884 |
+
msgstr "Завантажити і встановити"
|
885 |
+
|
886 |
+
#: includes/admin/views/settings-addons.php:36
|
887 |
+
msgid "Installed"
|
888 |
+
msgstr "Встановлено"
|
889 |
+
|
890 |
+
#: includes/admin/views/settings-info.php:3
|
891 |
+
msgid "Welcome to Advanced Custom Fields"
|
892 |
+
msgstr "Вітаємо у Advanced Custom Fields"
|
893 |
+
|
894 |
+
#: includes/admin/views/settings-info.php:4
|
895 |
+
#, php-format
|
896 |
+
msgid ""
|
897 |
+
"Thank you for updating! ACF %s is bigger and better than ever before. We "
|
898 |
+
"hope you like it."
|
899 |
+
msgstr "Дякуємо за оновлення! ACF %s став ще кращим!"
|
900 |
+
|
901 |
+
#: includes/admin/views/settings-info.php:17
|
902 |
+
msgid "A smoother custom field experience"
|
903 |
+
msgstr ""
|
904 |
+
|
905 |
+
#: includes/admin/views/settings-info.php:22
|
906 |
+
msgid "Improved Usability"
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#: includes/admin/views/settings-info.php:23
|
910 |
+
msgid ""
|
911 |
+
"Including the popular Select2 library has improved both usability and speed "
|
912 |
+
"across a number of field types including post object, page link, taxonomy "
|
913 |
+
"and select."
|
914 |
+
msgstr ""
|
915 |
+
|
916 |
+
#: includes/admin/views/settings-info.php:27
|
917 |
+
msgid "Improved Design"
|
918 |
+
msgstr ""
|
919 |
+
|
920 |
+
#: includes/admin/views/settings-info.php:28
|
921 |
+
msgid ""
|
922 |
+
"Many fields have undergone a visual refresh to make ACF look better than "
|
923 |
+
"ever! Noticeable changes are seen on the gallery, relationship and oEmbed "
|
924 |
+
"(new) fields!"
|
925 |
+
msgstr ""
|
926 |
+
|
927 |
+
#: includes/admin/views/settings-info.php:32
|
928 |
+
msgid "Improved Data"
|
929 |
+
msgstr ""
|
930 |
+
|
931 |
+
#: includes/admin/views/settings-info.php:33
|
932 |
+
msgid ""
|
933 |
+
"Redesigning the data architecture has allowed sub fields to live "
|
934 |
+
"independently from their parents. This allows you to drag and drop fields in "
|
935 |
+
"and out of parent fields!"
|
936 |
+
msgstr ""
|
937 |
+
|
938 |
+
#: includes/admin/views/settings-info.php:39
|
939 |
+
msgid "Goodbye Add-ons. Hello PRO"
|
940 |
+
msgstr "До побачення доповнення. Привіт PRO"
|
941 |
+
|
942 |
+
#: includes/admin/views/settings-info.php:44
|
943 |
+
msgid "Introducing ACF PRO"
|
944 |
+
msgstr ""
|
945 |
+
|
946 |
+
#: includes/admin/views/settings-info.php:45
|
947 |
+
msgid ""
|
948 |
"We're changing the way premium functionality is delivered in an exciting way!"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: includes/admin/views/settings-info.php:46
|
952 |
#, php-format
|
953 |
msgid ""
|
954 |
"All 4 premium add-ons have been combined into a new <a href=\"%s\">Pro "
|
956 |
"premium functionality is more affordable and accessible than ever before!"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: includes/admin/views/settings-info.php:50
|
960 |
msgid "Powerful Features"
|
961 |
msgstr "Потужні можливості"
|
962 |
|
963 |
+
#: includes/admin/views/settings-info.php:51
|
964 |
msgid ""
|
965 |
"ACF PRO contains powerful features such as repeatable data, flexible content "
|
966 |
"layouts, a beautiful gallery field and the ability to create extra admin "
|
967 |
"options pages!"
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: includes/admin/views/settings-info.php:52
|
971 |
#, php-format
|
972 |
msgid "Read more about <a href=\"%s\">ACF PRO features</a>."
|
973 |
msgstr "Прочитайте більше про <a href=\"%s\">можливості ACF PRO</a>."
|
974 |
|
975 |
+
#: includes/admin/views/settings-info.php:56
|
976 |
msgid "Easy Upgrading"
|
977 |
msgstr "Легке оновлення"
|
978 |
|
979 |
+
#: includes/admin/views/settings-info.php:57
|
980 |
#, php-format
|
981 |
msgid ""
|
982 |
"To help make upgrading easy, <a href=\"%s\">login to your store account</a> "
|
983 |
"and claim a free copy of ACF PRO!"
|
984 |
msgstr ""
|
985 |
|
986 |
+
#: includes/admin/views/settings-info.php:58
|
987 |
#, php-format
|
988 |
msgid ""
|
989 |
"We also wrote an <a href=\"%s\">upgrade guide</a> to answer any questions, "
|
991 |
"\">help desk</a>"
|
992 |
msgstr ""
|
993 |
|
994 |
+
#: includes/admin/views/settings-info.php:66
|
995 |
msgid "Under the Hood"
|
996 |
msgstr "Під капотом"
|
997 |
|
998 |
+
#: includes/admin/views/settings-info.php:71
|
999 |
msgid "Smarter field settings"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: includes/admin/views/settings-info.php:72
|
1003 |
msgid "ACF now saves its field settings as individual post objects"
|
1004 |
msgstr ""
|
1005 |
|
1006 |
+
#: includes/admin/views/settings-info.php:76
|
1007 |
msgid "More AJAX"
|
1008 |
msgstr "Більше AJAX"
|
1009 |
|
1010 |
+
#: includes/admin/views/settings-info.php:77
|
1011 |
msgid "More fields use AJAX powered search to speed up page loading"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: includes/admin/views/settings-info.php:81
|
1015 |
msgid "Local JSON"
|
1016 |
msgstr "Локальний JSON"
|
1017 |
|
1018 |
+
#: includes/admin/views/settings-info.php:82
|
1019 |
msgid "New auto export to JSON feature improves speed"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: includes/admin/views/settings-info.php:88
|
1023 |
msgid "Better version control"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: includes/admin/views/settings-info.php:89
|
1027 |
msgid ""
|
1028 |
"New auto export to JSON feature allows field settings to be version "
|
1029 |
"controlled"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: includes/admin/views/settings-info.php:93
|
1033 |
msgid "Swapped XML for JSON"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: includes/admin/views/settings-info.php:94
|
1037 |
msgid "Import / Export now uses JSON in favour of XML"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: includes/admin/views/settings-info.php:98
|
1041 |
msgid "New Forms"
|
1042 |
msgstr "Нові форми"
|
1043 |
|
1044 |
+
#: includes/admin/views/settings-info.php:99
|
1045 |
msgid "Fields can now be mapped to comments, widgets and all user forms!"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: includes/admin/views/settings-info.php:106
|
1049 |
msgid "A new field for embedding content has been added"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: includes/admin/views/settings-info.php:110
|
1053 |
msgid "New Gallery"
|
1054 |
msgstr "Нова галерея"
|
1055 |
|
1056 |
+
#: includes/admin/views/settings-info.php:111
|
1057 |
msgid "The gallery field has undergone a much needed facelift"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: includes/admin/views/settings-info.php:115
|
1061 |
msgid "New Settings"
|
1062 |
msgstr "Нові налаштування"
|
1063 |
|
1064 |
+
#: includes/admin/views/settings-info.php:116
|
1065 |
msgid ""
|
1066 |
"Field group settings have been added for label placement and instruction "
|
1067 |
"placement"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: includes/admin/views/settings-info.php:122
|
1071 |
msgid "Better Front End Forms"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: includes/admin/views/settings-info.php:123
|
1075 |
msgid "acf_form() can now create a new post on submission"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: includes/admin/views/settings-info.php:127
|
1079 |
msgid "Better Validation"
|
1080 |
msgstr "Поліпшена перевірка"
|
1081 |
|
1082 |
+
#: includes/admin/views/settings-info.php:128
|
1083 |
msgid "Form validation is now done via PHP + AJAX in favour of only JS"
|
1084 |
msgstr "Перевірка форми відбувається на PHP + AJAX"
|
1085 |
|
1086 |
+
#: includes/admin/views/settings-info.php:132
|
1087 |
#, fuzzy
|
1088 |
msgid "Relationship Field"
|
1089 |
msgstr "Закрити поле"
|
1090 |
|
1091 |
+
#: includes/admin/views/settings-info.php:133
|
1092 |
msgid ""
|
1093 |
"New Relationship field setting for 'Filters' (Search, Post Type, Taxonomy)"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: includes/admin/views/settings-info.php:139
|
1097 |
msgid "Moving Fields"
|
1098 |
msgstr "Переміщення полів"
|
1099 |
|
1100 |
+
#: includes/admin/views/settings-info.php:140
|
1101 |
msgid ""
|
1102 |
"New field group functionality allows you to move a field between groups & "
|
1103 |
"parents"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: includes/admin/views/settings-info.php:144
|
1107 |
+
#: includes/fields/class-acf-field-page_link.php:25
|
1108 |
msgid "Page Link"
|
1109 |
+
msgstr "Посилання на сторінку"
|
1110 |
|
1111 |
+
#: includes/admin/views/settings-info.php:145
|
1112 |
msgid "New archives group in page_link field selection"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
+
#: includes/admin/views/settings-info.php:149
|
1116 |
msgid "Better Options Pages"
|
1117 |
msgstr "Краща сторінка опцій"
|
1118 |
|
1119 |
+
#: includes/admin/views/settings-info.php:150
|
1120 |
msgid ""
|
1121 |
"New functions for options page allow creation of both parent and child menu "
|
1122 |
"pages"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
+
#: includes/admin/views/settings-info.php:159
|
1126 |
#, php-format
|
1127 |
msgid "We think you'll love the changes in %s."
|
1128 |
msgstr "Думаємо, Вам сподобаються зміни у %s."
|
1129 |
|
1130 |
+
#: includes/admin/views/settings-tools-export.php:23
|
1131 |
msgid "Export Field Groups to PHP"
|
1132 |
msgstr "Експортувати групи полів в код PHP"
|
1133 |
|
1134 |
+
#: includes/admin/views/settings-tools-export.php:27
|
1135 |
msgid ""
|
1136 |
"The following code can be used to register a local version of the selected "
|
1137 |
"field group(s). A local field group can provide many benefits such as faster "
|
1140 |
"an external file."
|
1141 |
msgstr ""
|
1142 |
|
1143 |
+
#: includes/admin/views/settings-tools.php:5
|
1144 |
msgid "Select Field Groups"
|
1145 |
msgstr "Оберіть групи полів"
|
1146 |
|
1147 |
+
#: includes/admin/views/settings-tools.php:35
|
1148 |
msgid "Export Field Groups"
|
1149 |
msgstr "Експортувати групи полів"
|
1150 |
|
1151 |
+
#: includes/admin/views/settings-tools.php:38
|
1152 |
msgid ""
|
1153 |
"Select the field groups you would like to export and then select your export "
|
1154 |
"method. Use the download button to export to a .json file which you can then "
|
1155 |
"import to another ACF installation. Use the generate button to export to PHP "
|
1156 |
"code which you can place in your theme."
|
1157 |
msgstr ""
|
1158 |
+
"Виберіть групи полів, які Ви хочете експортувати, а далі оберіть бажаний "
|
1159 |
+
"метод експорту. Використовуйте кнопку завантаження для експорту в файл ."
|
1160 |
+
"json, який можна імпортувати до іншої інсталяції ACF. Використовуйте кнопку "
|
1161 |
+
"генерації для експорту в код PHP, який ви можете розмістити у своїй темі."
|
1162 |
|
1163 |
+
#: includes/admin/views/settings-tools.php:50
|
1164 |
msgid "Download export file"
|
1165 |
msgstr "Завантажити файл експорту"
|
1166 |
|
1167 |
+
#: includes/admin/views/settings-tools.php:51
|
1168 |
msgid "Generate export code"
|
1169 |
msgstr "Створити код експорту"
|
1170 |
|
1171 |
+
#: includes/admin/views/settings-tools.php:64
|
1172 |
msgid "Import Field Groups"
|
1173 |
msgstr "Імпортувати групи полів"
|
1174 |
|
1175 |
+
#: includes/admin/views/settings-tools.php:67
|
1176 |
msgid ""
|
1177 |
"Select the Advanced Custom Fields JSON file you would like to import. When "
|
1178 |
"you click the import button below, ACF will import the field groups."
|
1180 |
"Виберіть JSON файл, який Ви хотіли б імпортувати. При натисканні кнопки "
|
1181 |
"імпорту, нижче, ACF буде імпортовано групи полів."
|
1182 |
|
1183 |
+
#: includes/admin/views/settings-tools.php:77
|
1184 |
+
#: includes/fields/class-acf-field-file.php:35
|
1185 |
msgid "Select File"
|
1186 |
msgstr "Оберіть файл"
|
1187 |
|
1188 |
+
#: includes/admin/views/settings-tools.php:86
|
1189 |
msgid "Import"
|
1190 |
msgstr "Імпорт"
|
1191 |
|
1192 |
+
#: includes/api/api-helpers.php:856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1193 |
msgid "Thumbnail"
|
1194 |
msgstr "Мініатюра"
|
1195 |
|
1196 |
+
#: includes/api/api-helpers.php:857
|
1197 |
msgid "Medium"
|
1198 |
msgstr "Середній"
|
1199 |
|
1200 |
+
#: includes/api/api-helpers.php:858
|
1201 |
msgid "Large"
|
1202 |
msgstr "Великий"
|
1203 |
|
1204 |
+
#: includes/api/api-helpers.php:907
|
1205 |
msgid "Full Size"
|
1206 |
msgstr "Повний розмір"
|
1207 |
|
1208 |
+
#: includes/api/api-helpers.php:1248 includes/api/api-helpers.php:1831
|
1209 |
+
#: pro/fields/class-acf-field-clone.php:992
|
1210 |
msgid "(no title)"
|
1211 |
msgstr "(без заголовку)"
|
1212 |
|
1213 |
+
#: includes/api/api-helpers.php:1868
|
1214 |
+
#: includes/fields/class-acf-field-page_link.php:269
|
1215 |
+
#: includes/fields/class-acf-field-post_object.php:268
|
1216 |
+
#: includes/fields/class-acf-field-taxonomy.php:986
|
1217 |
+
#, fuzzy
|
1218 |
+
#| msgid "Page Parent"
|
1219 |
+
msgid "Parent"
|
1220 |
+
msgstr "Батьківська сторінка"
|
1221 |
+
|
1222 |
+
#: includes/api/api-helpers.php:3885
|
1223 |
#, php-format
|
1224 |
msgid "Image width must be at least %dpx."
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: includes/api/api-helpers.php:3890
|
1228 |
#, php-format
|
1229 |
msgid "Image width must not exceed %dpx."
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: includes/api/api-helpers.php:3906
|
1233 |
#, php-format
|
1234 |
msgid "Image height must be at least %dpx."
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: includes/api/api-helpers.php:3911
|
1238 |
#, php-format
|
1239 |
msgid "Image height must not exceed %dpx."
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: includes/api/api-helpers.php:3929
|
1243 |
#, php-format
|
1244 |
msgid "File size must be at least %s."
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: includes/api/api-helpers.php:3934
|
1248 |
#, php-format
|
1249 |
msgid "File size must must not exceed %s."
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: includes/api/api-helpers.php:3968
|
1253 |
#, fuzzy, php-format
|
1254 |
msgid "File type must be %s."
|
1255 |
msgstr "Тип поля не існує"
|
1256 |
|
1257 |
+
#: includes/fields.php:144
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1258 |
msgid "Basic"
|
1259 |
msgstr "Загальне"
|
1260 |
|
1261 |
+
#: includes/fields.php:145 includes/forms/form-front.php:47
|
1262 |
msgid "Content"
|
1263 |
msgstr "Вміст"
|
1264 |
|
1265 |
+
#: includes/fields.php:146
|
1266 |
msgid "Choice"
|
1267 |
msgstr "Вибір"
|
1268 |
|
1269 |
+
#: includes/fields.php:147
|
1270 |
msgid "Relational"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: includes/fields.php:148
|
1274 |
msgid "jQuery"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: includes/fields.php:149 includes/fields/class-acf-field-button-group.php:177
|
1278 |
+
#: includes/fields/class-acf-field-checkbox.php:384
|
1279 |
+
#: includes/fields/class-acf-field-group.php:474
|
1280 |
+
#: includes/fields/class-acf-field-radio.php:285
|
1281 |
+
#: pro/fields/class-acf-field-clone.php:839
|
1282 |
+
#: pro/fields/class-acf-field-flexible-content.php:552
|
1283 |
+
#: pro/fields/class-acf-field-flexible-content.php:601
|
1284 |
+
#: pro/fields/class-acf-field-repeater.php:450
|
1285 |
msgid "Layout"
|
1286 |
msgstr "Шаблон структури"
|
1287 |
|
1288 |
+
#: includes/fields.php:326
|
1289 |
+
msgid "Field type does not exist"
|
1290 |
+
msgstr "Тип поля не існує"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1291 |
|
1292 |
+
#: includes/fields.php:326
|
1293 |
+
msgid "Unknown"
|
1294 |
+
msgstr "Невідомо"
|
1295 |
|
1296 |
+
#: includes/fields/class-acf-field-button-group.php:24
|
1297 |
+
msgid "Button Group"
|
1298 |
+
msgstr "Група кнопок"
|
1299 |
|
1300 |
+
#: includes/fields/class-acf-field-button-group.php:149
|
1301 |
+
#: includes/fields/class-acf-field-checkbox.php:344
|
1302 |
+
#: includes/fields/class-acf-field-radio.php:235
|
1303 |
+
#: includes/fields/class-acf-field-select.php:368
|
1304 |
msgid "Choices"
|
1305 |
msgstr "Варіанти вибору"
|
1306 |
|
1307 |
+
#: includes/fields/class-acf-field-button-group.php:150
|
1308 |
+
#: includes/fields/class-acf-field-checkbox.php:345
|
1309 |
+
#: includes/fields/class-acf-field-radio.php:236
|
1310 |
+
#: includes/fields/class-acf-field-select.php:369
|
1311 |
msgid "Enter each choice on a new line."
|
1312 |
msgstr "У кожному рядку по варіанту"
|
1313 |
|
1314 |
+
#: includes/fields/class-acf-field-button-group.php:150
|
1315 |
+
#: includes/fields/class-acf-field-checkbox.php:345
|
1316 |
+
#: includes/fields/class-acf-field-radio.php:236
|
1317 |
+
#: includes/fields/class-acf-field-select.php:369
|
1318 |
msgid "For more control, you may specify both a value and label like this:"
|
1319 |
msgstr "Для більшого контролю, Ви можете вказати маркувати значення:"
|
1320 |
|
1321 |
+
#: includes/fields/class-acf-field-button-group.php:150
|
1322 |
+
#: includes/fields/class-acf-field-checkbox.php:345
|
1323 |
+
#: includes/fields/class-acf-field-radio.php:236
|
1324 |
+
#: includes/fields/class-acf-field-select.php:369
|
1325 |
msgid "red : Red"
|
1326 |
msgstr "red : Червоний"
|
1327 |
|
1328 |
+
#: includes/fields/class-acf-field-button-group.php:158
|
1329 |
+
#: includes/fields/class-acf-field-page_link.php:513
|
1330 |
+
#: includes/fields/class-acf-field-post_object.php:412
|
1331 |
+
#: includes/fields/class-acf-field-radio.php:244
|
1332 |
+
#: includes/fields/class-acf-field-select.php:386
|
1333 |
+
#: includes/fields/class-acf-field-taxonomy.php:793
|
1334 |
+
#: includes/fields/class-acf-field-user.php:408
|
1335 |
+
msgid "Allow Null?"
|
1336 |
+
msgstr "Дозволити порожнє значення?"
|
1337 |
+
|
1338 |
+
#: includes/fields/class-acf-field-button-group.php:168
|
1339 |
+
#: includes/fields/class-acf-field-checkbox.php:375
|
1340 |
+
#: includes/fields/class-acf-field-color_picker.php:131
|
1341 |
+
#: includes/fields/class-acf-field-email.php:118
|
1342 |
+
#: includes/fields/class-acf-field-number.php:127
|
1343 |
+
#: includes/fields/class-acf-field-radio.php:276
|
1344 |
+
#: includes/fields/class-acf-field-range.php:148
|
1345 |
+
#: includes/fields/class-acf-field-select.php:377
|
1346 |
+
#: includes/fields/class-acf-field-text.php:119
|
1347 |
+
#: includes/fields/class-acf-field-textarea.php:102
|
1348 |
+
#: includes/fields/class-acf-field-true_false.php:135
|
1349 |
+
#: includes/fields/class-acf-field-url.php:100
|
1350 |
+
#: includes/fields/class-acf-field-wysiwyg.php:410
|
1351 |
msgid "Default Value"
|
1352 |
msgstr "Значення за замовчуванням"
|
1353 |
|
1354 |
+
#: includes/fields/class-acf-field-button-group.php:169
|
1355 |
+
#: includes/fields/class-acf-field-email.php:119
|
1356 |
+
#: includes/fields/class-acf-field-number.php:128
|
1357 |
+
#: includes/fields/class-acf-field-radio.php:277
|
1358 |
+
#: includes/fields/class-acf-field-range.php:149
|
1359 |
+
#: includes/fields/class-acf-field-text.php:120
|
1360 |
+
#: includes/fields/class-acf-field-textarea.php:103
|
1361 |
+
#: includes/fields/class-acf-field-url.php:101
|
1362 |
+
#: includes/fields/class-acf-field-wysiwyg.php:411
|
1363 |
+
msgid "Appears when creating a new post"
|
1364 |
+
msgstr "З'являється при створенні нового матеріалу"
|
1365 |
+
|
1366 |
+
#: includes/fields/class-acf-field-button-group.php:183
|
1367 |
+
#: includes/fields/class-acf-field-checkbox.php:391
|
1368 |
+
#: includes/fields/class-acf-field-radio.php:292
|
1369 |
+
msgid "Horizontal"
|
1370 |
+
msgstr "Горизонтально"
|
1371 |
|
1372 |
+
#: includes/fields/class-acf-field-button-group.php:184
|
1373 |
+
#: includes/fields/class-acf-field-checkbox.php:390
|
1374 |
+
#: includes/fields/class-acf-field-radio.php:291
|
1375 |
msgid "Vertical"
|
1376 |
msgstr "Вертикально"
|
1377 |
|
1378 |
+
#: includes/fields/class-acf-field-button-group.php:191
|
1379 |
+
#: includes/fields/class-acf-field-checkbox.php:408
|
1380 |
+
#: includes/fields/class-acf-field-file.php:200
|
1381 |
+
#: includes/fields/class-acf-field-image.php:188
|
1382 |
+
#: includes/fields/class-acf-field-link.php:166
|
1383 |
+
#: includes/fields/class-acf-field-radio.php:299
|
1384 |
+
#: includes/fields/class-acf-field-taxonomy.php:833
|
1385 |
+
msgid "Return Value"
|
1386 |
+
msgstr "Повернення значення"
|
1387 |
+
|
1388 |
+
#: includes/fields/class-acf-field-button-group.php:192
|
1389 |
+
#: includes/fields/class-acf-field-checkbox.php:409
|
1390 |
+
#: includes/fields/class-acf-field-file.php:201
|
1391 |
+
#: includes/fields/class-acf-field-image.php:189
|
1392 |
+
#: includes/fields/class-acf-field-link.php:167
|
1393 |
+
#: includes/fields/class-acf-field-radio.php:300
|
1394 |
+
msgid "Specify the returned value on front end"
|
1395 |
+
msgstr ""
|
1396 |
+
|
1397 |
+
#: includes/fields/class-acf-field-button-group.php:197
|
1398 |
+
#: includes/fields/class-acf-field-checkbox.php:414
|
1399 |
+
#: includes/fields/class-acf-field-radio.php:305
|
1400 |
+
#: includes/fields/class-acf-field-select.php:431
|
1401 |
+
msgid "Value"
|
1402 |
+
msgstr "Значення"
|
1403 |
+
|
1404 |
+
#: includes/fields/class-acf-field-button-group.php:199
|
1405 |
+
#: includes/fields/class-acf-field-checkbox.php:416
|
1406 |
+
#: includes/fields/class-acf-field-radio.php:307
|
1407 |
+
#: includes/fields/class-acf-field-select.php:433
|
1408 |
+
msgid "Both (Array)"
|
1409 |
+
msgstr "Галочка"
|
1410 |
+
|
1411 |
+
#: includes/fields/class-acf-field-checkbox.php:25
|
1412 |
+
#: includes/fields/class-acf-field-taxonomy.php:780
|
1413 |
+
msgid "Checkbox"
|
1414 |
+
msgstr "Галочка"
|
1415 |
+
|
1416 |
+
#: includes/fields/class-acf-field-checkbox.php:154
|
1417 |
+
msgid "Toggle All"
|
1418 |
+
msgstr "Вибрати все"
|
1419 |
+
|
1420 |
+
#: includes/fields/class-acf-field-checkbox.php:221
|
1421 |
+
msgid "Add new choice"
|
1422 |
+
msgstr "Додати новий вибір"
|
1423 |
+
|
1424 |
+
#: includes/fields/class-acf-field-checkbox.php:353
|
1425 |
+
#, fuzzy
|
1426 |
+
#| msgid "Allow Null?"
|
1427 |
+
msgid "Allow Custom"
|
1428 |
+
msgstr "Дозволити порожнє значення?"
|
1429 |
+
|
1430 |
+
#: includes/fields/class-acf-field-checkbox.php:358
|
1431 |
+
msgid "Allow 'custom' values to be added"
|
1432 |
+
msgstr ""
|
1433 |
+
|
1434 |
+
#: includes/fields/class-acf-field-checkbox.php:364
|
1435 |
+
#, fuzzy
|
1436 |
+
#| msgid "Move Custom Field"
|
1437 |
+
msgid "Save Custom"
|
1438 |
+
msgstr "Перемістити поле"
|
1439 |
+
|
1440 |
+
#: includes/fields/class-acf-field-checkbox.php:369
|
1441 |
+
msgid "Save 'custom' values to the field's choices"
|
1442 |
+
msgstr ""
|
1443 |
|
1444 |
+
#: includes/fields/class-acf-field-checkbox.php:376
|
1445 |
+
#: includes/fields/class-acf-field-select.php:378
|
1446 |
+
msgid "Enter each default value on a new line"
|
1447 |
+
msgstr "Введіть значення. Одне значення в одному рядку"
|
1448 |
+
|
1449 |
+
#: includes/fields/class-acf-field-checkbox.php:398
|
1450 |
msgid "Toggle"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
+
#: includes/fields/class-acf-field-checkbox.php:399
|
1454 |
msgid "Prepend an extra checkbox to toggle all choices"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
+
#: includes/fields/class-acf-field-color_picker.php:25
|
1458 |
msgid "Color Picker"
|
1459 |
msgstr "Вибір кольору"
|
1460 |
|
1461 |
+
#: includes/fields/class-acf-field-color_picker.php:68
|
1462 |
msgid "Clear"
|
1463 |
msgstr "Очистити"
|
1464 |
|
1465 |
+
#: includes/fields/class-acf-field-color_picker.php:69
|
1466 |
msgid "Default"
|
1467 |
msgstr "Значення за замовчуванням"
|
1468 |
|
1469 |
+
#: includes/fields/class-acf-field-color_picker.php:70
|
1470 |
msgid "Select Color"
|
1471 |
msgstr "Обрати колір"
|
1472 |
|
1473 |
+
#: includes/fields/class-acf-field-color_picker.php:71
|
1474 |
+
msgid "Current Color"
|
1475 |
+
msgstr "Поточна колір"
|
1476 |
+
|
1477 |
+
#: includes/fields/class-acf-field-date_picker.php:25
|
1478 |
msgid "Date Picker"
|
1479 |
msgstr "Вибір дати"
|
1480 |
|
1481 |
+
#: includes/fields/class-acf-field-date_picker.php:33
|
1482 |
+
#, fuzzy
|
1483 |
+
#| msgid "Done"
|
1484 |
+
msgctxt "Date Picker JS closeText"
|
1485 |
msgid "Done"
|
1486 |
msgstr "Готово"
|
1487 |
|
1488 |
+
#: includes/fields/class-acf-field-date_picker.php:34
|
1489 |
+
#, fuzzy
|
1490 |
+
#| msgid "Today"
|
1491 |
+
msgctxt "Date Picker JS currentText"
|
1492 |
msgid "Today"
|
1493 |
msgstr "Сьогодні"
|
1494 |
|
1495 |
+
#: includes/fields/class-acf-field-date_picker.php:35
|
1496 |
+
msgctxt "Date Picker JS nextText"
|
1497 |
+
msgid "Next"
|
1498 |
+
msgstr ""
|
1499 |
+
|
1500 |
+
#: includes/fields/class-acf-field-date_picker.php:36
|
1501 |
+
msgctxt "Date Picker JS prevText"
|
1502 |
+
msgid "Prev"
|
1503 |
+
msgstr ""
|
1504 |
+
|
1505 |
+
#: includes/fields/class-acf-field-date_picker.php:37
|
1506 |
+
msgctxt "Date Picker JS weekHeader"
|
1507 |
+
msgid "Wk"
|
1508 |
+
msgstr ""
|
1509 |
|
1510 |
+
#: includes/fields/class-acf-field-date_picker.php:207
|
1511 |
+
#: includes/fields/class-acf-field-date_time_picker.php:181
|
1512 |
+
#: includes/fields/class-acf-field-time_picker.php:109
|
1513 |
msgid "Display Format"
|
1514 |
msgstr "Формат показу"
|
1515 |
|
1516 |
+
#: includes/fields/class-acf-field-date_picker.php:208
|
1517 |
+
#: includes/fields/class-acf-field-date_time_picker.php:182
|
1518 |
+
#: includes/fields/class-acf-field-time_picker.php:110
|
1519 |
msgid "The format displayed when editing a post"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
+
#: includes/fields/class-acf-field-date_picker.php:216
|
1523 |
+
#: includes/fields/class-acf-field-date_picker.php:247
|
1524 |
+
#: includes/fields/class-acf-field-date_time_picker.php:191
|
1525 |
+
#: includes/fields/class-acf-field-date_time_picker.php:208
|
1526 |
+
#: includes/fields/class-acf-field-time_picker.php:117
|
1527 |
+
#: includes/fields/class-acf-field-time_picker.php:132
|
1528 |
+
#, fuzzy
|
1529 |
+
#| msgid "Custom Fields"
|
1530 |
+
msgid "Custom:"
|
1531 |
+
msgstr "Додаткові поля"
|
1532 |
+
|
1533 |
+
#: includes/fields/class-acf-field-date_picker.php:226
|
1534 |
+
msgid "Save Format"
|
1535 |
+
msgstr "Зберегти формат"
|
1536 |
+
|
1537 |
+
#: includes/fields/class-acf-field-date_picker.php:227
|
1538 |
+
msgid "The format used when saving a value"
|
1539 |
+
msgstr ""
|
1540 |
+
|
1541 |
+
#: includes/fields/class-acf-field-date_picker.php:237
|
1542 |
+
#: includes/fields/class-acf-field-date_time_picker.php:198
|
1543 |
+
#: includes/fields/class-acf-field-post_object.php:432
|
1544 |
+
#: includes/fields/class-acf-field-relationship.php:697
|
1545 |
+
#: includes/fields/class-acf-field-select.php:426
|
1546 |
+
#: includes/fields/class-acf-field-time_picker.php:124
|
1547 |
+
msgid "Return Format"
|
1548 |
msgstr "Формат повернення"
|
1549 |
|
1550 |
+
#: includes/fields/class-acf-field-date_picker.php:238
|
1551 |
+
#: includes/fields/class-acf-field-date_time_picker.php:199
|
1552 |
+
#: includes/fields/class-acf-field-time_picker.php:125
|
1553 |
msgid "The format returned via template functions"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: includes/fields/class-acf-field-date_picker.php:256
|
1557 |
+
#: includes/fields/class-acf-field-date_time_picker.php:215
|
1558 |
msgid "Week Starts On"
|
1559 |
msgstr "Тиждень починається з"
|
1560 |
|
1561 |
+
#: includes/fields/class-acf-field-date_time_picker.php:25
|
1562 |
+
msgid "Date Time Picker"
|
1563 |
+
msgstr "Вибір дати і часу"
|
1564 |
|
1565 |
+
#: includes/fields/class-acf-field-date_time_picker.php:33
|
1566 |
+
#, fuzzy
|
1567 |
+
#| msgid "Close Field"
|
1568 |
+
msgctxt "Date Time Picker JS timeOnlyTitle"
|
1569 |
+
msgid "Choose Time"
|
1570 |
+
msgstr "Закрити поле"
|
1571 |
|
1572 |
+
#: includes/fields/class-acf-field-date_time_picker.php:34
|
1573 |
+
msgctxt "Date Time Picker JS timeText"
|
1574 |
+
msgid "Time"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: includes/fields/class-acf-field-date_time_picker.php:35
|
1578 |
+
msgctxt "Date Time Picker JS hourText"
|
1579 |
+
msgid "Hour"
|
1580 |
+
msgstr ""
|
1581 |
|
1582 |
+
#: includes/fields/class-acf-field-date_time_picker.php:36
|
1583 |
+
msgctxt "Date Time Picker JS minuteText"
|
1584 |
+
msgid "Minute"
|
1585 |
+
msgstr ""
|
1586 |
|
1587 |
+
#: includes/fields/class-acf-field-date_time_picker.php:37
|
1588 |
+
msgctxt "Date Time Picker JS secondText"
|
1589 |
+
msgid "Second"
|
1590 |
+
msgstr ""
|
1591 |
|
1592 |
+
#: includes/fields/class-acf-field-date_time_picker.php:38
|
1593 |
+
msgctxt "Date Time Picker JS millisecText"
|
1594 |
+
msgid "Millisecond"
|
1595 |
+
msgstr ""
|
1596 |
|
1597 |
+
#: includes/fields/class-acf-field-date_time_picker.php:39
|
1598 |
+
msgctxt "Date Time Picker JS microsecText"
|
1599 |
+
msgid "Microsecond"
|
1600 |
+
msgstr ""
|
1601 |
|
1602 |
+
#: includes/fields/class-acf-field-date_time_picker.php:40
|
1603 |
+
msgctxt "Date Time Picker JS timezoneText"
|
1604 |
+
msgid "Time Zone"
|
1605 |
+
msgstr ""
|
1606 |
+
|
1607 |
+
#: includes/fields/class-acf-field-date_time_picker.php:41
|
1608 |
+
#, fuzzy
|
1609 |
+
#| msgid "No"
|
1610 |
+
msgctxt "Date Time Picker JS currentText"
|
1611 |
+
msgid "Now"
|
1612 |
+
msgstr "Ні"
|
1613 |
+
|
1614 |
+
#: includes/fields/class-acf-field-date_time_picker.php:42
|
1615 |
+
#, fuzzy
|
1616 |
+
#| msgid "Done"
|
1617 |
+
msgctxt "Date Time Picker JS closeText"
|
1618 |
+
msgid "Done"
|
1619 |
+
msgstr "Готово"
|
1620 |
+
|
1621 |
+
#: includes/fields/class-acf-field-date_time_picker.php:43
|
1622 |
+
#, fuzzy
|
1623 |
+
#| msgid "Select File"
|
1624 |
+
msgctxt "Date Time Picker JS selectText"
|
1625 |
+
msgid "Select"
|
1626 |
+
msgstr "Оберіть файл"
|
1627 |
+
|
1628 |
+
#: includes/fields/class-acf-field-date_time_picker.php:45
|
1629 |
+
msgctxt "Date Time Picker JS amText"
|
1630 |
+
msgid "AM"
|
1631 |
+
msgstr ""
|
1632 |
+
|
1633 |
+
#: includes/fields/class-acf-field-date_time_picker.php:46
|
1634 |
+
msgctxt "Date Time Picker JS amTextShort"
|
1635 |
+
msgid "A"
|
1636 |
+
msgstr ""
|
1637 |
+
|
1638 |
+
#: includes/fields/class-acf-field-date_time_picker.php:49
|
1639 |
+
msgctxt "Date Time Picker JS pmText"
|
1640 |
+
msgid "PM"
|
1641 |
+
msgstr ""
|
1642 |
+
|
1643 |
+
#: includes/fields/class-acf-field-date_time_picker.php:50
|
1644 |
+
msgctxt "Date Time Picker JS pmTextShort"
|
1645 |
+
msgid "P"
|
1646 |
+
msgstr ""
|
1647 |
+
|
1648 |
+
#: includes/fields/class-acf-field-email.php:25
|
1649 |
+
msgid "Email"
|
1650 |
+
msgstr ""
|
1651 |
+
|
1652 |
+
#: includes/fields/class-acf-field-email.php:127
|
1653 |
+
#: includes/fields/class-acf-field-number.php:136
|
1654 |
+
#: includes/fields/class-acf-field-password.php:71
|
1655 |
+
#: includes/fields/class-acf-field-text.php:128
|
1656 |
+
#: includes/fields/class-acf-field-textarea.php:111
|
1657 |
+
#: includes/fields/class-acf-field-url.php:109
|
1658 |
+
msgid "Placeholder Text"
|
1659 |
+
msgstr ""
|
1660 |
+
|
1661 |
+
#: includes/fields/class-acf-field-email.php:128
|
1662 |
+
#: includes/fields/class-acf-field-number.php:137
|
1663 |
+
#: includes/fields/class-acf-field-password.php:72
|
1664 |
+
#: includes/fields/class-acf-field-text.php:129
|
1665 |
+
#: includes/fields/class-acf-field-textarea.php:112
|
1666 |
+
#: includes/fields/class-acf-field-url.php:110
|
1667 |
+
msgid "Appears within the input"
|
1668 |
+
msgstr "Показується, якщо поле порожнє"
|
1669 |
+
|
1670 |
+
#: includes/fields/class-acf-field-email.php:136
|
1671 |
+
#: includes/fields/class-acf-field-number.php:145
|
1672 |
+
#: includes/fields/class-acf-field-password.php:80
|
1673 |
+
#: includes/fields/class-acf-field-range.php:187
|
1674 |
+
#: includes/fields/class-acf-field-text.php:137
|
1675 |
+
msgid "Prepend"
|
1676 |
+
msgstr "Перед полем"
|
1677 |
+
|
1678 |
+
#: includes/fields/class-acf-field-email.php:137
|
1679 |
+
#: includes/fields/class-acf-field-number.php:146
|
1680 |
+
#: includes/fields/class-acf-field-password.php:81
|
1681 |
+
#: includes/fields/class-acf-field-range.php:188
|
1682 |
+
#: includes/fields/class-acf-field-text.php:138
|
1683 |
+
msgid "Appears before the input"
|
1684 |
+
msgstr "Розміщується на початку поля"
|
1685 |
+
|
1686 |
+
#: includes/fields/class-acf-field-email.php:145
|
1687 |
+
#: includes/fields/class-acf-field-number.php:154
|
1688 |
+
#: includes/fields/class-acf-field-password.php:89
|
1689 |
+
#: includes/fields/class-acf-field-range.php:196
|
1690 |
+
#: includes/fields/class-acf-field-text.php:146
|
1691 |
+
msgid "Append"
|
1692 |
+
msgstr "Після поля"
|
1693 |
+
|
1694 |
+
#: includes/fields/class-acf-field-email.php:146
|
1695 |
+
#: includes/fields/class-acf-field-number.php:155
|
1696 |
+
#: includes/fields/class-acf-field-password.php:90
|
1697 |
+
#: includes/fields/class-acf-field-range.php:197
|
1698 |
+
#: includes/fields/class-acf-field-text.php:147
|
1699 |
+
msgid "Appears after the input"
|
1700 |
+
msgstr "Розміщується в кінці поля"
|
1701 |
+
|
1702 |
+
#: includes/fields/class-acf-field-file.php:25
|
1703 |
msgid "File"
|
1704 |
msgstr "Файл"
|
1705 |
|
1706 |
+
#: includes/fields/class-acf-field-file.php:36
|
1707 |
msgid "Edit File"
|
1708 |
msgstr "Редагувати файл"
|
1709 |
|
1710 |
+
#: includes/fields/class-acf-field-file.php:37
|
1711 |
msgid "Update File"
|
1712 |
msgstr "Оновити файл"
|
1713 |
|
1714 |
+
#: includes/fields/class-acf-field-file.php:38
|
1715 |
+
#: includes/fields/class-acf-field-image.php:43 includes/media.php:57
|
1716 |
+
#: pro/fields/class-acf-field-gallery.php:44
|
1717 |
+
msgid "Uploaded to this post"
|
1718 |
+
msgstr "Завантажено до цього матеріалу"
|
1719 |
|
1720 |
+
#: includes/fields/class-acf-field-file.php:126
|
1721 |
+
msgid "File name"
|
1722 |
msgstr "Назва файлу"
|
1723 |
|
1724 |
+
#: includes/fields/class-acf-field-file.php:130
|
1725 |
+
#: includes/fields/class-acf-field-file.php:233
|
1726 |
+
#: includes/fields/class-acf-field-file.php:244
|
1727 |
+
#: includes/fields/class-acf-field-image.php:248
|
1728 |
+
#: includes/fields/class-acf-field-image.php:277
|
1729 |
+
#: pro/fields/class-acf-field-gallery.php:690
|
1730 |
+
#: pro/fields/class-acf-field-gallery.php:719
|
1731 |
+
msgid "File size"
|
1732 |
msgstr "Розмір файлу"
|
1733 |
|
1734 |
+
#: includes/fields/class-acf-field-file.php:139
|
1735 |
+
#: includes/fields/class-acf-field-image.php:124
|
1736 |
+
#: includes/fields/class-acf-field-link.php:140 includes/input.php:269
|
1737 |
+
#: pro/fields/class-acf-field-gallery.php:343
|
1738 |
+
#: pro/fields/class-acf-field-gallery.php:531
|
1739 |
+
msgid "Remove"
|
1740 |
+
msgstr "Видалити"
|
1741 |
|
1742 |
+
#: includes/fields/class-acf-field-file.php:155
|
1743 |
msgid "Add File"
|
1744 |
msgstr "Додати файл"
|
1745 |
|
1746 |
+
#: includes/fields/class-acf-field-file.php:206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1747 |
msgid "File Array"
|
1748 |
msgstr "Масив файлу"
|
1749 |
|
1750 |
+
#: includes/fields/class-acf-field-file.php:207
|
1751 |
msgid "File URL"
|
1752 |
msgstr "URL файлу"
|
1753 |
|
1754 |
+
#: includes/fields/class-acf-field-file.php:208
|
1755 |
msgid "File ID"
|
1756 |
msgstr "ID файлу"
|
1757 |
|
1758 |
+
#: includes/fields/class-acf-field-file.php:215
|
1759 |
+
#: includes/fields/class-acf-field-image.php:213
|
1760 |
+
#: pro/fields/class-acf-field-gallery.php:655
|
1761 |
msgid "Library"
|
1762 |
msgstr "Бібліотека"
|
1763 |
|
1764 |
+
#: includes/fields/class-acf-field-file.php:216
|
1765 |
+
#: includes/fields/class-acf-field-image.php:214
|
1766 |
+
#: pro/fields/class-acf-field-gallery.php:656
|
1767 |
msgid "Limit the media library choice"
|
1768 |
msgstr ""
|
1769 |
|
1770 |
+
#: includes/fields/class-acf-field-file.php:221
|
1771 |
+
#: includes/fields/class-acf-field-image.php:219
|
1772 |
+
#: includes/locations/class-acf-location-attachment.php:101
|
1773 |
+
#: includes/locations/class-acf-location-comment.php:79
|
1774 |
+
#: includes/locations/class-acf-location-nav-menu.php:102
|
1775 |
+
#: includes/locations/class-acf-location-taxonomy.php:79
|
1776 |
+
#: includes/locations/class-acf-location-user-form.php:87
|
1777 |
+
#: includes/locations/class-acf-location-user-role.php:111
|
1778 |
+
#: includes/locations/class-acf-location-widget.php:83
|
1779 |
+
#: pro/fields/class-acf-field-gallery.php:661
|
1780 |
+
msgid "All"
|
1781 |
+
msgstr "Все"
|
1782 |
+
|
1783 |
+
#: includes/fields/class-acf-field-file.php:222
|
1784 |
+
#: includes/fields/class-acf-field-image.php:220
|
1785 |
+
#: pro/fields/class-acf-field-gallery.php:662
|
1786 |
msgid "Uploaded to post"
|
1787 |
msgstr "Завантажено до матеріалу"
|
1788 |
|
1789 |
+
#: includes/fields/class-acf-field-file.php:229
|
1790 |
+
#: includes/fields/class-acf-field-image.php:227
|
1791 |
+
#: pro/fields/class-acf-field-gallery.php:669
|
1792 |
msgid "Minimum"
|
1793 |
+
msgstr "Мінімум"
|
1794 |
|
1795 |
+
#: includes/fields/class-acf-field-file.php:230
|
1796 |
+
#: includes/fields/class-acf-field-file.php:241
|
1797 |
msgid "Restrict which files can be uploaded"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
+
#: includes/fields/class-acf-field-file.php:240
|
1801 |
+
#: includes/fields/class-acf-field-image.php:256
|
1802 |
+
#: pro/fields/class-acf-field-gallery.php:698
|
|
|
|
|
|
|
|
|
|
|
1803 |
msgid "Maximum"
|
1804 |
+
msgstr "Максимум"
|
1805 |
|
1806 |
+
#: includes/fields/class-acf-field-file.php:251
|
1807 |
+
#: includes/fields/class-acf-field-image.php:285
|
1808 |
+
#: pro/fields/class-acf-field-gallery.php:727
|
1809 |
msgid "Allowed file types"
|
1810 |
+
msgstr "Дозволені типи файлів"
|
1811 |
|
1812 |
+
#: includes/fields/class-acf-field-file.php:252
|
1813 |
+
#: includes/fields/class-acf-field-image.php:286
|
1814 |
+
#: pro/fields/class-acf-field-gallery.php:728
|
1815 |
msgid "Comma separated list. Leave blank for all types"
|
1816 |
msgstr ""
|
1817 |
|
1818 |
+
#: includes/fields/class-acf-field-google-map.php:25
|
1819 |
msgid "Google Map"
|
1820 |
msgstr "Google карта"
|
1821 |
|
1822 |
+
#: includes/fields/class-acf-field-google-map.php:40
|
1823 |
msgid "Locating"
|
1824 |
msgstr "Розміщення"
|
1825 |
|
1826 |
+
#: includes/fields/class-acf-field-google-map.php:41
|
1827 |
msgid "Sorry, this browser does not support geolocation"
|
1828 |
msgstr "Вибачте, цей браузер не підтримує автоматичне визначення локації"
|
1829 |
|
1830 |
+
#: includes/fields/class-acf-field-google-map.php:113
|
1831 |
msgid "Clear location"
|
1832 |
msgstr "Очистити розміщення"
|
1833 |
|
1834 |
+
#: includes/fields/class-acf-field-google-map.php:114
|
1835 |
msgid "Find current location"
|
1836 |
msgstr ""
|
1837 |
|
1838 |
+
#: includes/fields/class-acf-field-google-map.php:117
|
1839 |
msgid "Search for address..."
|
1840 |
msgstr "Шукати адресу..."
|
1841 |
|
1842 |
+
#: includes/fields/class-acf-field-google-map.php:147
|
1843 |
+
#: includes/fields/class-acf-field-google-map.php:158
|
1844 |
msgid "Center"
|
1845 |
msgstr "Центрування"
|
1846 |
|
1847 |
+
#: includes/fields/class-acf-field-google-map.php:148
|
1848 |
+
#: includes/fields/class-acf-field-google-map.php:159
|
1849 |
msgid "Center the initial map"
|
1850 |
msgstr "Початкове розміщення карти"
|
1851 |
|
1852 |
+
#: includes/fields/class-acf-field-google-map.php:170
|
1853 |
msgid "Zoom"
|
1854 |
msgstr "Збільшення"
|
1855 |
|
1856 |
+
#: includes/fields/class-acf-field-google-map.php:171
|
1857 |
msgid "Set the initial zoom level"
|
1858 |
msgstr "Вкажіть початковий масштаб"
|
1859 |
|
1860 |
+
#: includes/fields/class-acf-field-google-map.php:180
|
1861 |
+
#: includes/fields/class-acf-field-image.php:239
|
1862 |
+
#: includes/fields/class-acf-field-image.php:268
|
1863 |
+
#: includes/fields/class-acf-field-oembed.php:281
|
1864 |
+
#: pro/fields/class-acf-field-gallery.php:681
|
1865 |
+
#: pro/fields/class-acf-field-gallery.php:710
|
1866 |
msgid "Height"
|
1867 |
msgstr "Висота"
|
1868 |
|
1869 |
+
#: includes/fields/class-acf-field-google-map.php:181
|
1870 |
msgid "Customise the map height"
|
1871 |
msgstr "Налаштуйте висоту карти"
|
1872 |
|
1873 |
+
#: includes/fields/class-acf-field-group.php:25
|
1874 |
+
msgid "Group"
|
1875 |
+
msgstr "Група"
|
1876 |
+
|
1877 |
+
#: includes/fields/class-acf-field-group.php:459
|
1878 |
+
#: pro/fields/class-acf-field-repeater.php:389
|
1879 |
+
msgid "Sub Fields"
|
1880 |
+
msgstr "Дочірні поля"
|
1881 |
+
|
1882 |
+
#: includes/fields/class-acf-field-group.php:475
|
1883 |
+
#: pro/fields/class-acf-field-clone.php:840
|
1884 |
+
msgid "Specify the style used to render the selected fields"
|
1885 |
+
msgstr ""
|
1886 |
+
|
1887 |
+
#: includes/fields/class-acf-field-group.php:480
|
1888 |
+
#: pro/fields/class-acf-field-clone.php:845
|
1889 |
+
#: pro/fields/class-acf-field-flexible-content.php:612
|
1890 |
+
#: pro/fields/class-acf-field-repeater.php:458
|
1891 |
+
msgid "Block"
|
1892 |
+
msgstr "Блок"
|
1893 |
+
|
1894 |
+
#: includes/fields/class-acf-field-group.php:481
|
1895 |
+
#: pro/fields/class-acf-field-clone.php:846
|
1896 |
+
#: pro/fields/class-acf-field-flexible-content.php:611
|
1897 |
+
#: pro/fields/class-acf-field-repeater.php:457
|
1898 |
+
msgid "Table"
|
1899 |
+
msgstr "Таблиця"
|
1900 |
+
|
1901 |
+
#: includes/fields/class-acf-field-group.php:482
|
1902 |
+
#: pro/fields/class-acf-field-clone.php:847
|
1903 |
+
#: pro/fields/class-acf-field-flexible-content.php:613
|
1904 |
+
#: pro/fields/class-acf-field-repeater.php:459
|
1905 |
+
msgid "Row"
|
1906 |
+
msgstr "Рядок"
|
1907 |
+
|
1908 |
+
#: includes/fields/class-acf-field-image.php:25
|
1909 |
msgid "Image"
|
1910 |
msgstr "Зображення"
|
1911 |
|
1912 |
+
#: includes/fields/class-acf-field-image.php:40
|
1913 |
msgid "Select Image"
|
1914 |
msgstr "Обрати зображення"
|
1915 |
|
1916 |
+
#: includes/fields/class-acf-field-image.php:41
|
1917 |
+
#: pro/fields/class-acf-field-gallery.php:42
|
1918 |
msgid "Edit Image"
|
1919 |
msgstr "Редагувати зображення"
|
1920 |
|
1921 |
+
#: includes/fields/class-acf-field-image.php:42
|
1922 |
+
#: pro/fields/class-acf-field-gallery.php:43
|
1923 |
msgid "Update Image"
|
1924 |
msgstr "Оновити зображення"
|
1925 |
|
1926 |
+
#: includes/fields/class-acf-field-image.php:44
|
|
|
|
|
|
|
|
|
|
|
|
|
1927 |
msgid "All images"
|
1928 |
+
msgstr "Усі зображення"
|
1929 |
|
1930 |
+
#: includes/fields/class-acf-field-image.php:140
|
1931 |
msgid "No image selected"
|
1932 |
msgstr "Зображення не обрано"
|
1933 |
|
1934 |
+
#: includes/fields/class-acf-field-image.php:140
|
1935 |
msgid "Add Image"
|
1936 |
msgstr "Додати зображення"
|
1937 |
|
1938 |
+
#: includes/fields/class-acf-field-image.php:194
|
1939 |
msgid "Image Array"
|
1940 |
msgstr "Масив зображення"
|
1941 |
|
1942 |
+
#: includes/fields/class-acf-field-image.php:195
|
1943 |
msgid "Image URL"
|
1944 |
msgstr "URL зображення"
|
1945 |
|
1946 |
+
#: includes/fields/class-acf-field-image.php:196
|
1947 |
msgid "Image ID"
|
1948 |
msgstr "ID зображення"
|
1949 |
|
1950 |
+
#: includes/fields/class-acf-field-image.php:203
|
1951 |
msgid "Preview Size"
|
1952 |
msgstr "Розмір мініатюр"
|
1953 |
|
1954 |
+
#: includes/fields/class-acf-field-image.php:204
|
1955 |
msgid "Shown when entering data"
|
1956 |
msgstr ""
|
1957 |
|
1958 |
+
#: includes/fields/class-acf-field-image.php:228
|
1959 |
+
#: includes/fields/class-acf-field-image.php:257
|
1960 |
+
#: pro/fields/class-acf-field-gallery.php:670
|
1961 |
+
#: pro/fields/class-acf-field-gallery.php:699
|
1962 |
msgid "Restrict which images can be uploaded"
|
1963 |
msgstr ""
|
1964 |
|
1965 |
+
#: includes/fields/class-acf-field-image.php:231
|
1966 |
+
#: includes/fields/class-acf-field-image.php:260
|
1967 |
+
#: includes/fields/class-acf-field-oembed.php:270
|
1968 |
+
#: pro/fields/class-acf-field-gallery.php:673
|
1969 |
+
#: pro/fields/class-acf-field-gallery.php:702
|
1970 |
msgid "Width"
|
1971 |
+
msgstr "Ширина"
|
1972 |
|
1973 |
+
#: includes/fields/class-acf-field-link.php:25
|
1974 |
+
msgid "Link"
|
1975 |
+
msgstr "Посилання"
|
1976 |
+
|
1977 |
+
#: includes/fields/class-acf-field-link.php:133
|
1978 |
+
msgid "Select Link"
|
1979 |
+
msgstr "Оберіть посилання"
|
1980 |
+
|
1981 |
+
#: includes/fields/class-acf-field-link.php:138
|
1982 |
+
msgid "Opens in a new window/tab"
|
1983 |
+
msgstr ""
|
1984 |
+
|
1985 |
+
#: includes/fields/class-acf-field-link.php:172
|
1986 |
+
msgid "Link Array"
|
1987 |
+
msgstr "Масив посилання"
|
1988 |
+
|
1989 |
+
#: includes/fields/class-acf-field-link.php:173
|
1990 |
+
msgid "Link URL"
|
1991 |
+
msgstr "URL посилання"
|
1992 |
+
|
1993 |
+
#: includes/fields/class-acf-field-message.php:25
|
1994 |
+
#: includes/fields/class-acf-field-message.php:101
|
1995 |
+
#: includes/fields/class-acf-field-true_false.php:126
|
1996 |
msgid "Message"
|
1997 |
msgstr "Повідомлення"
|
1998 |
|
1999 |
+
#: includes/fields/class-acf-field-message.php:110
|
2000 |
+
#: includes/fields/class-acf-field-textarea.php:139
|
2001 |
+
msgid "New Lines"
|
2002 |
+
msgstr "Перенесення рядків"
|
2003 |
+
|
2004 |
+
#: includes/fields/class-acf-field-message.php:111
|
2005 |
+
#: includes/fields/class-acf-field-textarea.php:140
|
2006 |
+
msgid "Controls how new lines are rendered"
|
2007 |
+
msgstr "Вкажіть спосіб обробки нових рядків"
|
2008 |
+
|
2009 |
+
#: includes/fields/class-acf-field-message.php:115
|
2010 |
+
#: includes/fields/class-acf-field-textarea.php:144
|
2011 |
+
msgid "Automatically add paragraphs"
|
2012 |
+
msgstr "Автоматично додавати абзаци"
|
2013 |
|
2014 |
+
#: includes/fields/class-acf-field-message.php:116
|
2015 |
+
#: includes/fields/class-acf-field-textarea.php:145
|
2016 |
+
msgid "Automatically add <br>"
|
2017 |
+
msgstr "Автоматичне перенесення рядків (додається теґ <br>)"
|
2018 |
+
|
2019 |
+
#: includes/fields/class-acf-field-message.php:117
|
2020 |
+
#: includes/fields/class-acf-field-textarea.php:146
|
2021 |
+
msgid "No Formatting"
|
2022 |
+
msgstr "Без форматування"
|
2023 |
+
|
2024 |
+
#: includes/fields/class-acf-field-message.php:124
|
2025 |
msgid "Escape HTML"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
+
#: includes/fields/class-acf-field-message.php:125
|
2029 |
msgid "Allow HTML markup to display as visible text instead of rendering"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
+
#: includes/fields/class-acf-field-number.php:25
|
2033 |
msgid "Number"
|
2034 |
msgstr "Число"
|
2035 |
|
2036 |
+
#: includes/fields/class-acf-field-number.php:163
|
2037 |
+
#: includes/fields/class-acf-field-range.php:157
|
2038 |
msgid "Minimum Value"
|
2039 |
msgstr "Мінімальне значення"
|
2040 |
|
2041 |
+
#: includes/fields/class-acf-field-number.php:172
|
2042 |
+
#: includes/fields/class-acf-field-range.php:167
|
2043 |
msgid "Maximum Value"
|
2044 |
msgstr "Максимальне значення"
|
2045 |
|
2046 |
+
#: includes/fields/class-acf-field-number.php:181
|
2047 |
+
#: includes/fields/class-acf-field-range.php:177
|
2048 |
msgid "Step Size"
|
2049 |
msgstr "Розмір кроку"
|
2050 |
|
2051 |
+
#: includes/fields/class-acf-field-number.php:219
|
2052 |
msgid "Value must be a number"
|
2053 |
msgstr "Значення має бути числом"
|
2054 |
|
2055 |
+
#: includes/fields/class-acf-field-number.php:237
|
2056 |
#, php-format
|
2057 |
msgid "Value must be equal to or higher than %d"
|
2058 |
msgstr ""
|
2059 |
|
2060 |
+
#: includes/fields/class-acf-field-number.php:245
|
2061 |
#, php-format
|
2062 |
msgid "Value must be equal to or lower than %d"
|
2063 |
msgstr ""
|
2064 |
|
2065 |
+
#: includes/fields/class-acf-field-oembed.php:25
|
2066 |
msgid "oEmbed"
|
2067 |
msgstr ""
|
2068 |
|
2069 |
+
#: includes/fields/class-acf-field-oembed.php:219
|
2070 |
msgid "Enter URL"
|
2071 |
msgstr "Введіть URL"
|
2072 |
|
2073 |
+
#: includes/fields/class-acf-field-oembed.php:234
|
2074 |
+
#: includes/fields/class-acf-field-taxonomy.php:898
|
2075 |
+
msgid "Error."
|
2076 |
+
msgstr "Помилка."
|
2077 |
+
|
2078 |
+
#: includes/fields/class-acf-field-oembed.php:234
|
2079 |
msgid "No embed found for the given URL."
|
2080 |
msgstr ""
|
2081 |
|
2082 |
+
#: includes/fields/class-acf-field-oembed.php:267
|
2083 |
+
#: includes/fields/class-acf-field-oembed.php:278
|
2084 |
msgid "Embed Size"
|
2085 |
msgstr "Розмір вставки"
|
2086 |
|
2087 |
+
#: includes/fields/class-acf-field-page_link.php:177
|
2088 |
msgid "Archives"
|
2089 |
msgstr "Архіви"
|
2090 |
|
2091 |
+
#: includes/fields/class-acf-field-page_link.php:485
|
2092 |
+
#: includes/fields/class-acf-field-post_object.php:384
|
2093 |
+
#: includes/fields/class-acf-field-relationship.php:623
|
2094 |
msgid "Filter by Post Type"
|
2095 |
msgstr "Фільтр за типом матеріалу"
|
2096 |
|
2097 |
+
#: includes/fields/class-acf-field-page_link.php:493
|
2098 |
+
#: includes/fields/class-acf-field-post_object.php:392
|
2099 |
+
#: includes/fields/class-acf-field-relationship.php:631
|
2100 |
msgid "All post types"
|
2101 |
msgstr "Всі типи матеріалів"
|
2102 |
|
2103 |
+
#: includes/fields/class-acf-field-page_link.php:499
|
2104 |
+
#: includes/fields/class-acf-field-post_object.php:398
|
2105 |
+
#: includes/fields/class-acf-field-relationship.php:637
|
2106 |
msgid "Filter by Taxonomy"
|
2107 |
msgstr "Фільтр за типом таксономією"
|
2108 |
|
2109 |
+
#: includes/fields/class-acf-field-page_link.php:507
|
2110 |
+
#: includes/fields/class-acf-field-post_object.php:406
|
2111 |
+
#: includes/fields/class-acf-field-relationship.php:645
|
2112 |
msgid "All taxonomies"
|
2113 |
+
msgstr "Всі таксономії"
|
2114 |
|
2115 |
+
#: includes/fields/class-acf-field-page_link.php:523
|
2116 |
+
msgid "Allow Archives URLs"
|
2117 |
+
msgstr ""
|
|
|
2118 |
|
2119 |
+
#: includes/fields/class-acf-field-page_link.php:533
|
2120 |
+
#: includes/fields/class-acf-field-post_object.php:422
|
2121 |
+
#: includes/fields/class-acf-field-select.php:396
|
2122 |
+
#: includes/fields/class-acf-field-user.php:418
|
2123 |
msgid "Select multiple values?"
|
2124 |
msgstr "Дозволити множинний вибір?"
|
2125 |
|
2126 |
+
#: includes/fields/class-acf-field-password.php:25
|
2127 |
msgid "Password"
|
2128 |
msgstr "Пароль"
|
2129 |
|
2130 |
+
#: includes/fields/class-acf-field-post_object.php:25
|
2131 |
+
#: includes/fields/class-acf-field-post_object.php:437
|
2132 |
+
#: includes/fields/class-acf-field-relationship.php:702
|
2133 |
msgid "Post Object"
|
2134 |
msgstr ""
|
2135 |
|
2136 |
+
#: includes/fields/class-acf-field-post_object.php:438
|
2137 |
+
#: includes/fields/class-acf-field-relationship.php:703
|
|
|
|
|
|
|
2138 |
msgid "Post ID"
|
2139 |
msgstr "ID публікації"
|
2140 |
|
2141 |
+
#: includes/fields/class-acf-field-radio.php:25
|
2142 |
msgid "Radio Button"
|
2143 |
msgstr ""
|
2144 |
|
2145 |
+
#: includes/fields/class-acf-field-radio.php:254
|
2146 |
msgid "Other"
|
2147 |
msgstr "Інше"
|
2148 |
|
2149 |
+
#: includes/fields/class-acf-field-radio.php:259
|
2150 |
msgid "Add 'other' choice to allow for custom values"
|
2151 |
msgstr "Додати вибір 'Інше', для користувацьких значень"
|
2152 |
|
2153 |
+
#: includes/fields/class-acf-field-radio.php:265
|
2154 |
#, fuzzy
|
2155 |
msgid "Save Other"
|
2156 |
msgstr "Зберегти інше"
|
2157 |
|
2158 |
+
#: includes/fields/class-acf-field-radio.php:270
|
2159 |
msgid "Save 'other' values to the field's choices"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
+
#: includes/fields/class-acf-field-range.php:25
|
2163 |
+
msgid "Range"
|
2164 |
+
msgstr "Діапазон (Range)"
|
2165 |
+
|
2166 |
+
#: includes/fields/class-acf-field-relationship.php:25
|
2167 |
msgid "Relationship"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
+
#: includes/fields/class-acf-field-relationship.php:37
|
2171 |
msgid "Minimum values reached ( {min} values )"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
+
#: includes/fields/class-acf-field-relationship.php:38
|
2175 |
msgid "Maximum values reached ( {max} values )"
|
2176 |
msgstr ""
|
2177 |
|
2178 |
+
#: includes/fields/class-acf-field-relationship.php:39
|
2179 |
msgid "Loading"
|
2180 |
msgstr "Завантаження"
|
2181 |
|
2182 |
+
#: includes/fields/class-acf-field-relationship.php:40
|
2183 |
msgid "No matches found"
|
2184 |
msgstr ""
|
2185 |
|
2186 |
+
#: includes/fields/class-acf-field-relationship.php:423
|
|
|
|
|
|
|
|
|
2187 |
msgid "Select post type"
|
2188 |
msgstr "Вибір типу матеріалу"
|
2189 |
|
2190 |
+
#: includes/fields/class-acf-field-relationship.php:449
|
2191 |
msgid "Select taxonomy"
|
2192 |
msgstr "Вибір таксономії"
|
2193 |
|
2194 |
+
#: includes/fields/class-acf-field-relationship.php:539
|
2195 |
+
msgid "Search..."
|
2196 |
+
msgstr "Шукати..."
|
2197 |
+
|
2198 |
+
#: includes/fields/class-acf-field-relationship.php:651
|
2199 |
+
msgid "Filters"
|
2200 |
+
msgstr "Фільтри"
|
2201 |
+
|
2202 |
+
#: includes/fields/class-acf-field-relationship.php:657
|
2203 |
+
#: includes/locations/class-acf-location-post-type.php:27
|
2204 |
+
msgid "Post Type"
|
2205 |
+
msgstr "Тип матеріалу"
|
2206 |
|
2207 |
+
#: includes/fields/class-acf-field-relationship.php:658
|
2208 |
+
#: includes/fields/class-acf-field-taxonomy.php:28
|
2209 |
+
#: includes/fields/class-acf-field-taxonomy.php:763
|
2210 |
msgid "Taxonomy"
|
2211 |
msgstr "Таксономія"
|
2212 |
|
2213 |
+
#: includes/fields/class-acf-field-relationship.php:665
|
2214 |
msgid "Elements"
|
2215 |
msgstr "Елементи"
|
2216 |
|
2217 |
+
#: includes/fields/class-acf-field-relationship.php:666
|
2218 |
msgid "Selected elements will be displayed in each result"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
+
#: includes/fields/class-acf-field-relationship.php:677
|
2222 |
msgid "Minimum posts"
|
2223 |
+
msgstr "Мінімум матеріалів"
|
2224 |
|
2225 |
+
#: includes/fields/class-acf-field-relationship.php:686
|
2226 |
msgid "Maximum posts"
|
2227 |
msgstr "Максимум матеріалів"
|
2228 |
|
2229 |
+
#: includes/fields/class-acf-field-relationship.php:790
|
2230 |
+
#: pro/fields/class-acf-field-gallery.php:800
|
2231 |
+
#, php-format
|
2232 |
+
msgid "%s requires at least %s selection"
|
2233 |
+
msgid_plural "%s requires at least %s selections"
|
2234 |
+
msgstr[0] ""
|
2235 |
+
msgstr[1] ""
|
2236 |
+
msgstr[2] ""
|
2237 |
+
|
2238 |
+
#: includes/fields/class-acf-field-select.php:25
|
2239 |
+
#: includes/fields/class-acf-field-taxonomy.php:785
|
2240 |
+
#, fuzzy
|
2241 |
+
#| msgid "Select File"
|
2242 |
+
msgctxt "noun"
|
2243 |
msgid "Select"
|
2244 |
+
msgstr "Оберіть файл"
|
2245 |
+
|
2246 |
+
#: includes/fields/class-acf-field-select.php:38
|
2247 |
+
msgctxt "Select2 JS matches_1"
|
2248 |
+
msgid "One result is available, press enter to select it."
|
2249 |
+
msgstr ""
|
2250 |
+
|
2251 |
+
#: includes/fields/class-acf-field-select.php:39
|
2252 |
+
#, php-format
|
2253 |
+
msgctxt "Select2 JS matches_n"
|
2254 |
+
msgid "%d results are available, use up and down arrow keys to navigate."
|
2255 |
+
msgstr ""
|
2256 |
+
|
2257 |
+
#: includes/fields/class-acf-field-select.php:40
|
2258 |
+
#, fuzzy
|
2259 |
+
#| msgid "No Fields found"
|
2260 |
+
msgctxt "Select2 JS matches_0"
|
2261 |
+
msgid "No matches found"
|
2262 |
+
msgstr "Не знайдено полів"
|
2263 |
+
|
2264 |
+
#: includes/fields/class-acf-field-select.php:41
|
2265 |
+
msgctxt "Select2 JS input_too_short_1"
|
2266 |
+
msgid "Please enter 1 or more characters"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: includes/fields/class-acf-field-select.php:42
|
2270 |
+
#, php-format
|
2271 |
+
msgctxt "Select2 JS input_too_short_n"
|
2272 |
+
msgid "Please enter %d or more characters"
|
2273 |
+
msgstr ""
|
2274 |
+
|
2275 |
+
#: includes/fields/class-acf-field-select.php:43
|
2276 |
+
msgctxt "Select2 JS input_too_long_1"
|
2277 |
+
msgid "Please delete 1 character"
|
2278 |
+
msgstr ""
|
2279 |
+
|
2280 |
+
#: includes/fields/class-acf-field-select.php:44
|
2281 |
+
#, php-format
|
2282 |
+
msgctxt "Select2 JS input_too_long_n"
|
2283 |
+
msgid "Please delete %d characters"
|
2284 |
+
msgstr ""
|
2285 |
+
|
2286 |
+
#: includes/fields/class-acf-field-select.php:45
|
2287 |
+
msgctxt "Select2 JS selection_too_long_1"
|
2288 |
+
msgid "You can only select 1 item"
|
2289 |
+
msgstr ""
|
2290 |
+
|
2291 |
+
#: includes/fields/class-acf-field-select.php:46
|
2292 |
+
#, php-format
|
2293 |
+
msgctxt "Select2 JS selection_too_long_n"
|
2294 |
+
msgid "You can only select %d items"
|
2295 |
+
msgstr ""
|
2296 |
+
|
2297 |
+
#: includes/fields/class-acf-field-select.php:47
|
2298 |
+
msgctxt "Select2 JS load_more"
|
2299 |
+
msgid "Loading more results…"
|
2300 |
+
msgstr ""
|
2301 |
+
|
2302 |
+
#: includes/fields/class-acf-field-select.php:48
|
2303 |
+
#, fuzzy
|
2304 |
+
#| msgid "Search Fields"
|
2305 |
+
msgctxt "Select2 JS searching"
|
2306 |
+
msgid "Searching…"
|
2307 |
+
msgstr "Шукати поля"
|
2308 |
+
|
2309 |
+
#: includes/fields/class-acf-field-select.php:49
|
2310 |
+
#, fuzzy
|
2311 |
+
#| msgid "Loading"
|
2312 |
+
msgctxt "Select2 JS load_fail"
|
2313 |
+
msgid "Loading failed"
|
2314 |
+
msgstr "Завантаження"
|
2315 |
+
|
2316 |
+
#: includes/fields/class-acf-field-select.php:255 includes/media.php:54
|
2317 |
+
#, fuzzy
|
2318 |
+
#| msgid "Select File"
|
2319 |
+
msgctxt "verb"
|
2320 |
+
msgid "Select"
|
2321 |
+
msgstr "Оберіть файл"
|
2322 |
+
|
2323 |
+
#: includes/fields/class-acf-field-select.php:406
|
2324 |
+
#: includes/fields/class-acf-field-true_false.php:144
|
2325 |
msgid "Stylised UI"
|
2326 |
msgstr "Покращений стиль"
|
2327 |
|
2328 |
+
#: includes/fields/class-acf-field-select.php:416
|
2329 |
msgid "Use AJAX to lazy load choices?"
|
2330 |
msgstr "Використати AJAX для завантаження значень?"
|
2331 |
|
2332 |
+
#: includes/fields/class-acf-field-select.php:427
|
2333 |
+
msgid "Specify the value returned"
|
2334 |
+
msgstr ""
|
2335 |
+
|
2336 |
+
#: includes/fields/class-acf-field-separator.php:25
|
2337 |
+
msgid "Separator"
|
2338 |
+
msgstr "Розділювач"
|
2339 |
+
|
2340 |
+
#: includes/fields/class-acf-field-tab.php:25
|
2341 |
msgid "Tab"
|
2342 |
msgstr "Вкладка"
|
2343 |
|
2344 |
+
#: includes/fields/class-acf-field-tab.php:82
|
|
|
|
|
|
|
|
|
2345 |
msgid ""
|
2346 |
"The tab field will display incorrectly when added to a Table style repeater "
|
2347 |
"field or flexible content field layout"
|
2348 |
msgstr ""
|
2349 |
|
2350 |
+
#: includes/fields/class-acf-field-tab.php:83
|
2351 |
msgid ""
|
2352 |
"Use \"Tab Fields\" to better organize your edit screen by grouping fields "
|
2353 |
"together."
|
2354 |
msgstr ""
|
2355 |
|
2356 |
+
#: includes/fields/class-acf-field-tab.php:84
|
2357 |
msgid ""
|
2358 |
"All fields following this \"tab field\" (or until another \"tab field\" is "
|
2359 |
"defined) will be grouped together using this field's label as the tab "
|
2360 |
"heading."
|
2361 |
msgstr ""
|
2362 |
|
2363 |
+
#: includes/fields/class-acf-field-tab.php:98
|
|
|
2364 |
msgid "Placement"
|
2365 |
+
msgstr "Розміщення"
|
2366 |
|
2367 |
+
#: includes/fields/class-acf-field-tab.php:110
|
2368 |
msgid "End-point"
|
2369 |
msgstr ""
|
2370 |
|
2371 |
+
#: includes/fields/class-acf-field-tab.php:111
|
2372 |
msgid "Use this field as an end-point and start a new group of tabs"
|
2373 |
msgstr ""
|
2374 |
|
2375 |
+
#: includes/fields/class-acf-field-taxonomy.php:713
|
2376 |
#, php-format
|
2377 |
+
msgctxt "No terms"
|
2378 |
+
msgid "No %s"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
+
#: includes/fields/class-acf-field-taxonomy.php:732
|
2382 |
msgid "None"
|
2383 |
msgstr "Нічого"
|
2384 |
|
2385 |
+
#: includes/fields/class-acf-field-taxonomy.php:764
|
2386 |
msgid "Select the taxonomy to be displayed"
|
2387 |
msgstr ""
|
2388 |
|
2389 |
+
#: includes/fields/class-acf-field-taxonomy.php:773
|
2390 |
msgid "Appearance"
|
2391 |
+
msgstr "Вигляд"
|
2392 |
|
2393 |
+
#: includes/fields/class-acf-field-taxonomy.php:774
|
2394 |
msgid "Select the appearance of this field"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: includes/fields/class-acf-field-taxonomy.php:779
|
|
|
2398 |
msgid "Multiple Values"
|
2399 |
+
msgstr "Множинний вибір"
|
2400 |
|
2401 |
+
#: includes/fields/class-acf-field-taxonomy.php:781
|
2402 |
msgid "Multi Select"
|
2403 |
msgstr "Множинний вибір"
|
2404 |
|
2405 |
+
#: includes/fields/class-acf-field-taxonomy.php:783
|
2406 |
msgid "Single Value"
|
2407 |
msgstr ""
|
2408 |
|
2409 |
+
#: includes/fields/class-acf-field-taxonomy.php:784
|
2410 |
msgid "Radio Buttons"
|
2411 |
msgstr ""
|
2412 |
|
2413 |
+
#: includes/fields/class-acf-field-taxonomy.php:803
|
2414 |
msgid "Create Terms"
|
2415 |
+
msgstr "Створити терміни"
|
2416 |
|
2417 |
+
#: includes/fields/class-acf-field-taxonomy.php:804
|
2418 |
msgid "Allow new terms to be created whilst editing"
|
2419 |
msgstr ""
|
2420 |
|
2421 |
+
#: includes/fields/class-acf-field-taxonomy.php:813
|
2422 |
msgid "Save Terms"
|
2423 |
+
msgstr "Зберегти терміни"
|
2424 |
|
2425 |
+
#: includes/fields/class-acf-field-taxonomy.php:814
|
2426 |
msgid "Connect selected terms to the post"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
+
#: includes/fields/class-acf-field-taxonomy.php:823
|
2430 |
msgid "Load Terms"
|
2431 |
+
msgstr "Завантажити терміни"
|
2432 |
|
2433 |
+
#: includes/fields/class-acf-field-taxonomy.php:824
|
2434 |
msgid "Load value from posts terms"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
+
#: includes/fields/class-acf-field-taxonomy.php:838
|
2438 |
msgid "Term Object"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
+
#: includes/fields/class-acf-field-taxonomy.php:839
|
2442 |
msgid "Term ID"
|
2443 |
msgstr "ID терміну"
|
2444 |
|
2445 |
+
#: includes/fields/class-acf-field-taxonomy.php:898
|
2446 |
#, php-format
|
2447 |
msgid "User unable to add new %s"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
+
#: includes/fields/class-acf-field-taxonomy.php:911
|
2451 |
#, php-format
|
2452 |
msgid "%s already exists"
|
2453 |
msgstr ""
|
2454 |
|
2455 |
+
#: includes/fields/class-acf-field-taxonomy.php:952
|
2456 |
#, php-format
|
2457 |
msgid "%s added"
|
2458 |
msgstr ""
|
2459 |
|
2460 |
+
#: includes/fields/class-acf-field-taxonomy.php:997
|
2461 |
msgid "Add"
|
2462 |
+
msgstr "Додати"
|
2463 |
+
|
2464 |
+
#: includes/fields/class-acf-field-text.php:25
|
2465 |
+
msgid "Text"
|
2466 |
+
msgstr "Текст"
|
2467 |
+
|
2468 |
+
#: includes/fields/class-acf-field-text.php:155
|
2469 |
+
#: includes/fields/class-acf-field-textarea.php:120
|
2470 |
+
msgid "Character Limit"
|
2471 |
+
msgstr "Ліміт символів"
|
2472 |
+
|
2473 |
+
#: includes/fields/class-acf-field-text.php:156
|
2474 |
+
#: includes/fields/class-acf-field-textarea.php:121
|
2475 |
+
msgid "Leave blank for no limit"
|
2476 |
+
msgstr "Щоб зняти обмеження — нічого не вказуйте тут"
|
2477 |
+
|
2478 |
+
#: includes/fields/class-acf-field-textarea.php:25
|
2479 |
+
msgid "Text Area"
|
2480 |
+
msgstr "Область тексту"
|
2481 |
+
|
2482 |
+
#: includes/fields/class-acf-field-textarea.php:129
|
2483 |
+
msgid "Rows"
|
2484 |
+
msgstr "Рядки"
|
2485 |
+
|
2486 |
+
#: includes/fields/class-acf-field-textarea.php:130
|
2487 |
+
msgid "Sets the textarea height"
|
2488 |
+
msgstr "Вкажіть висоту текстового блоку"
|
2489 |
+
|
2490 |
+
#: includes/fields/class-acf-field-time_picker.php:25
|
2491 |
+
msgid "Time Picker"
|
2492 |
+
msgstr "Вибір часу"
|
2493 |
+
|
2494 |
+
#: includes/fields/class-acf-field-true_false.php:25
|
2495 |
+
msgid "True / False"
|
2496 |
+
msgstr "Так / Ні"
|
2497 |
+
|
2498 |
+
#: includes/fields/class-acf-field-true_false.php:79
|
2499 |
+
#: includes/fields/class-acf-field-true_false.php:159 includes/input.php:267
|
2500 |
+
#: pro/admin/views/html-settings-updates.php:89
|
2501 |
+
msgid "Yes"
|
2502 |
+
msgstr "Так"
|
2503 |
+
|
2504 |
+
#: includes/fields/class-acf-field-true_false.php:80
|
2505 |
+
#: includes/fields/class-acf-field-true_false.php:169 includes/input.php:268
|
2506 |
+
#: pro/admin/views/html-settings-updates.php:99
|
2507 |
+
msgid "No"
|
2508 |
+
msgstr "Ні"
|
2509 |
+
|
2510 |
+
#: includes/fields/class-acf-field-true_false.php:127
|
2511 |
+
msgid "Displays text alongside the checkbox"
|
2512 |
+
msgstr ""
|
2513 |
+
|
2514 |
+
#: includes/fields/class-acf-field-true_false.php:155
|
2515 |
+
#, fuzzy
|
2516 |
+
#| msgid "Text"
|
2517 |
+
msgid "On Text"
|
2518 |
+
msgstr "Текст"
|
2519 |
+
|
2520 |
+
#: includes/fields/class-acf-field-true_false.php:156
|
2521 |
+
msgid "Text shown when active"
|
2522 |
+
msgstr ""
|
2523 |
+
|
2524 |
+
#: includes/fields/class-acf-field-true_false.php:165
|
2525 |
+
#, fuzzy
|
2526 |
+
#| msgid "Text"
|
2527 |
+
msgid "Off Text"
|
2528 |
+
msgstr "Текст"
|
2529 |
+
|
2530 |
+
#: includes/fields/class-acf-field-true_false.php:166
|
2531 |
+
msgid "Text shown when inactive"
|
2532 |
+
msgstr ""
|
2533 |
+
|
2534 |
+
#: includes/fields/class-acf-field-url.php:25
|
2535 |
+
msgid "Url"
|
2536 |
+
msgstr ""
|
2537 |
+
|
2538 |
+
#: includes/fields/class-acf-field-url.php:151
|
2539 |
+
msgid "Value must be a valid URL"
|
2540 |
+
msgstr "Значення має бути адресою URl"
|
2541 |
+
|
2542 |
+
#: includes/fields/class-acf-field-user.php:25 includes/locations.php:95
|
2543 |
+
msgid "User"
|
2544 |
+
msgstr "Користувач"
|
2545 |
+
|
2546 |
+
#: includes/fields/class-acf-field-user.php:393
|
2547 |
+
msgid "Filter by role"
|
2548 |
+
msgstr "Фільтр за ролями"
|
2549 |
+
|
2550 |
+
#: includes/fields/class-acf-field-user.php:401
|
2551 |
+
msgid "All user roles"
|
2552 |
+
msgstr "Всі ролі користувачів"
|
2553 |
+
|
2554 |
+
#: includes/fields/class-acf-field-wysiwyg.php:25
|
2555 |
+
msgid "Wysiwyg Editor"
|
2556 |
+
msgstr "Візуальний редактор"
|
2557 |
+
|
2558 |
+
#: includes/fields/class-acf-field-wysiwyg.php:359
|
2559 |
+
msgid "Visual"
|
2560 |
+
msgstr "Візуальний"
|
2561 |
+
|
2562 |
+
#: includes/fields/class-acf-field-wysiwyg.php:360
|
2563 |
+
msgctxt "Name for the Text editor tab (formerly HTML)"
|
2564 |
+
msgid "Text"
|
2565 |
+
msgstr ""
|
2566 |
+
|
2567 |
+
#: includes/fields/class-acf-field-wysiwyg.php:366
|
2568 |
+
msgid "Click to initialize TinyMCE"
|
2569 |
+
msgstr ""
|
2570 |
+
|
2571 |
+
#: includes/fields/class-acf-field-wysiwyg.php:419
|
2572 |
+
msgid "Tabs"
|
2573 |
+
msgstr "Вкладки"
|
2574 |
+
|
2575 |
+
#: includes/fields/class-acf-field-wysiwyg.php:424
|
2576 |
+
msgid "Visual & Text"
|
2577 |
+
msgstr "Візуальний і Текстовий"
|
2578 |
+
|
2579 |
+
#: includes/fields/class-acf-field-wysiwyg.php:425
|
2580 |
+
msgid "Visual Only"
|
2581 |
+
msgstr "Візуальний лише"
|
2582 |
+
|
2583 |
+
#: includes/fields/class-acf-field-wysiwyg.php:426
|
2584 |
+
msgid "Text Only"
|
2585 |
+
msgstr "Лише текст"
|
2586 |
+
|
2587 |
+
#: includes/fields/class-acf-field-wysiwyg.php:433
|
2588 |
+
msgid "Toolbar"
|
2589 |
+
msgstr "Панель інструментів"
|
2590 |
+
|
2591 |
+
#: includes/fields/class-acf-field-wysiwyg.php:443
|
2592 |
+
msgid "Show Media Upload Buttons?"
|
2593 |
+
msgstr "Показувати кнопки завантаження файлів?"
|
2594 |
+
|
2595 |
+
#: includes/fields/class-acf-field-wysiwyg.php:453
|
2596 |
+
msgid "Delay initialization?"
|
2597 |
+
msgstr ""
|
2598 |
+
|
2599 |
+
#: includes/fields/class-acf-field-wysiwyg.php:454
|
2600 |
+
msgid "TinyMCE will not be initalized until field is clicked"
|
2601 |
+
msgstr ""
|
2602 |
+
|
2603 |
+
#: includes/forms/form-comment.php:166 includes/forms/form-post.php:303
|
2604 |
+
#: pro/admin/admin-options-page.php:308
|
2605 |
+
msgid "Edit field group"
|
2606 |
+
msgstr "Редагувати групу полів"
|
2607 |
+
|
2608 |
+
#: includes/forms/form-front.php:55
|
2609 |
+
msgid "Validate Email"
|
2610 |
+
msgstr ""
|
2611 |
+
|
2612 |
+
#: includes/forms/form-front.php:103 pro/fields/class-acf-field-gallery.php:573
|
2613 |
+
#: pro/options-page.php:81
|
2614 |
+
msgid "Update"
|
2615 |
+
msgstr "Оновити"
|
2616 |
+
|
2617 |
+
#: includes/forms/form-front.php:104
|
2618 |
+
msgid "Post updated"
|
2619 |
+
msgstr "Матеріал оновлено"
|
2620 |
+
|
2621 |
+
#: includes/forms/form-front.php:229
|
2622 |
+
msgid "Spam Detected"
|
2623 |
+
msgstr ""
|
2624 |
+
|
2625 |
+
#: includes/input.php:259
|
2626 |
+
msgid "Expand Details"
|
2627 |
+
msgstr "Показати деталі"
|
2628 |
+
|
2629 |
+
#: includes/input.php:260
|
2630 |
+
msgid "Collapse Details"
|
2631 |
+
msgstr "Сховати деталі"
|
2632 |
+
|
2633 |
+
#: includes/input.php:261
|
2634 |
+
msgid "Validation successful"
|
2635 |
+
msgstr ""
|
2636 |
+
|
2637 |
+
#: includes/input.php:262 includes/validation.php:285
|
2638 |
+
#: includes/validation.php:296
|
2639 |
+
msgid "Validation failed"
|
2640 |
+
msgstr ""
|
2641 |
+
|
2642 |
+
#: includes/input.php:263
|
2643 |
+
msgid "1 field requires attention"
|
2644 |
+
msgstr ""
|
2645 |
+
|
2646 |
+
#: includes/input.php:264
|
2647 |
+
#, php-format
|
2648 |
+
msgid "%d fields require attention"
|
2649 |
+
msgstr ""
|
2650 |
+
|
2651 |
+
#: includes/input.php:265
|
2652 |
+
msgid "Restricted"
|
2653 |
+
msgstr ""
|
2654 |
+
|
2655 |
+
#: includes/input.php:266
|
2656 |
+
msgid "Are you sure?"
|
2657 |
+
msgstr "Ви впевнені?"
|
2658 |
+
|
2659 |
+
#: includes/input.php:270
|
2660 |
+
msgid "Cancel"
|
2661 |
+
msgstr "Скасувати"
|
2662 |
+
|
2663 |
+
#: includes/locations.php:93 includes/locations/class-acf-location-post.php:27
|
2664 |
+
msgid "Post"
|
2665 |
+
msgstr "Публікація"
|
2666 |
+
|
2667 |
+
#: includes/locations.php:94 includes/locations/class-acf-location-page.php:27
|
2668 |
+
msgid "Page"
|
2669 |
+
msgstr "Сторінка"
|
2670 |
+
|
2671 |
+
#: includes/locations.php:96
|
2672 |
+
msgid "Forms"
|
2673 |
+
msgstr "Форми"
|
2674 |
+
|
2675 |
+
#: includes/locations/class-acf-location-attachment.php:27
|
2676 |
+
msgid "Attachment"
|
2677 |
+
msgstr "Вкладення"
|
2678 |
+
|
2679 |
+
#: includes/locations/class-acf-location-attachment.php:109
|
2680 |
+
#, php-format
|
2681 |
+
msgid "All %s formats"
|
2682 |
+
msgstr ""
|
2683 |
+
|
2684 |
+
#: includes/locations/class-acf-location-comment.php:27
|
2685 |
+
msgid "Comment"
|
2686 |
+
msgstr "Коментар"
|
2687 |
+
|
2688 |
+
#: includes/locations/class-acf-location-current-user-role.php:27
|
2689 |
+
msgid "Current User Role"
|
2690 |
+
msgstr "Поточна роль користувача"
|
2691 |
+
|
2692 |
+
#: includes/locations/class-acf-location-current-user-role.php:110
|
2693 |
+
msgid "Super Admin"
|
2694 |
+
msgstr "Головний адмін"
|
2695 |
+
|
2696 |
+
#: includes/locations/class-acf-location-current-user.php:27
|
2697 |
+
msgid "Current User"
|
2698 |
+
msgstr "Поточний користувач"
|
2699 |
+
|
2700 |
+
#: includes/locations/class-acf-location-current-user.php:97
|
2701 |
+
#, fuzzy
|
2702 |
+
msgid "Logged in"
|
2703 |
+
msgstr "Роль залоґованого користувача"
|
2704 |
+
|
2705 |
+
#: includes/locations/class-acf-location-current-user.php:98
|
2706 |
+
msgid "Viewing front end"
|
2707 |
+
msgstr ""
|
2708 |
+
|
2709 |
+
#: includes/locations/class-acf-location-current-user.php:99
|
2710 |
+
msgid "Viewing back end"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: includes/locations/class-acf-location-nav-menu-item.php:27
|
2714 |
+
msgid "Menu Item"
|
2715 |
+
msgstr "Елемент меню"
|
2716 |
|
2717 |
+
#: includes/locations/class-acf-location-nav-menu.php:27
|
2718 |
+
msgid "Menu"
|
2719 |
+
msgstr "Меню"
|
2720 |
|
2721 |
+
#: includes/locations/class-acf-location-nav-menu.php:109
|
2722 |
+
msgid "Menu Locations"
|
2723 |
+
msgstr "Розміщення меню"
|
2724 |
|
2725 |
+
#: includes/locations/class-acf-location-nav-menu.php:119
|
2726 |
+
msgid "Menus"
|
2727 |
+
msgstr "Меню"
|
2728 |
|
2729 |
+
#: includes/locations/class-acf-location-page-parent.php:27
|
2730 |
+
msgid "Page Parent"
|
2731 |
+
msgstr "Батьківська сторінка"
|
2732 |
|
2733 |
+
#: includes/locations/class-acf-location-page-template.php:27
|
2734 |
+
msgid "Page Template"
|
2735 |
+
msgstr "Шаблон сторінки"
|
2736 |
|
2737 |
+
#: includes/locations/class-acf-location-page-template.php:98
|
2738 |
+
#: includes/locations/class-acf-location-post-template.php:151
|
2739 |
+
msgid "Default Template"
|
2740 |
+
msgstr "Стандартний шаблон"
|
2741 |
|
2742 |
+
#: includes/locations/class-acf-location-page-type.php:27
|
2743 |
+
msgid "Page Type"
|
2744 |
+
msgstr "Тип сторінки"
|
2745 |
|
2746 |
+
#: includes/locations/class-acf-location-page-type.php:145
|
2747 |
+
msgid "Front Page"
|
2748 |
+
msgstr "Головна сторінка"
|
2749 |
|
2750 |
+
#: includes/locations/class-acf-location-page-type.php:146
|
2751 |
+
msgid "Posts Page"
|
2752 |
+
msgstr "Сторінка з публікаціями"
|
2753 |
|
2754 |
+
#: includes/locations/class-acf-location-page-type.php:147
|
2755 |
+
msgid "Top Level Page (no parent)"
|
2756 |
+
msgstr "Верхній рівень сторінки (без батьків)"
|
2757 |
|
2758 |
+
#: includes/locations/class-acf-location-page-type.php:148
|
2759 |
+
msgid "Parent Page (has children)"
|
2760 |
+
msgstr "Батьківська сторінка (має дочірні)"
|
2761 |
|
2762 |
+
#: includes/locations/class-acf-location-page-type.php:149
|
2763 |
+
msgid "Child Page (has parent)"
|
2764 |
+
msgstr "Дочірня сторінка (має батьківську)"
|
2765 |
|
2766 |
+
#: includes/locations/class-acf-location-post-category.php:27
|
2767 |
+
msgid "Post Category"
|
2768 |
+
msgstr "Категорія"
|
2769 |
|
2770 |
+
#: includes/locations/class-acf-location-post-format.php:27
|
2771 |
+
msgid "Post Format"
|
2772 |
+
msgstr "Формат"
|
2773 |
|
2774 |
+
#: includes/locations/class-acf-location-post-status.php:27
|
2775 |
+
msgid "Post Status"
|
2776 |
+
msgstr "Статус матеріалу"
|
2777 |
|
2778 |
+
#: includes/locations/class-acf-location-post-taxonomy.php:27
|
2779 |
+
msgid "Post Taxonomy"
|
2780 |
+
msgstr "Таксономія"
|
2781 |
|
2782 |
+
#: includes/locations/class-acf-location-post-template.php:27
|
2783 |
+
#, fuzzy
|
2784 |
+
#| msgid "Page Template"
|
2785 |
+
msgid "Post Template"
|
2786 |
+
msgstr "Шаблон сторінки"
|
2787 |
|
2788 |
+
#: includes/locations/class-acf-location-taxonomy.php:27
|
2789 |
+
msgid "Taxonomy Term"
|
2790 |
+
msgstr "Термін таксономії"
|
2791 |
|
2792 |
+
#: includes/locations/class-acf-location-user-form.php:27
|
2793 |
+
msgid "User Form"
|
2794 |
+
msgstr "Форма користувача"
|
|
|
2795 |
|
2796 |
+
#: includes/locations/class-acf-location-user-form.php:88
|
2797 |
+
msgid "Add / Edit"
|
2798 |
+
msgstr "Додати / Редагувати"
|
2799 |
|
2800 |
+
#: includes/locations/class-acf-location-user-form.php:89
|
2801 |
+
msgid "Register"
|
2802 |
+
msgstr "Реєстрація"
|
2803 |
|
2804 |
+
#: includes/locations/class-acf-location-user-role.php:27
|
2805 |
+
msgid "User Role"
|
2806 |
+
msgstr "Роль користувача"
|
2807 |
|
2808 |
+
#: includes/locations/class-acf-location-widget.php:27
|
2809 |
+
msgid "Widget"
|
2810 |
+
msgstr "Віджет"
|
2811 |
|
2812 |
+
#: includes/media.php:55
|
2813 |
+
msgctxt "verb"
|
2814 |
+
msgid "Edit"
|
2815 |
+
msgstr "Редагувати"
|
2816 |
|
2817 |
+
#: includes/media.php:56
|
2818 |
+
msgctxt "verb"
|
2819 |
+
msgid "Update"
|
2820 |
+
msgstr "Оновити"
|
2821 |
|
2822 |
+
#: includes/validation.php:364
|
2823 |
+
#, php-format
|
2824 |
+
msgid "%s value is required"
|
2825 |
+
msgstr ""
|
2826 |
|
2827 |
+
#. Plugin Name of the plugin/theme
|
2828 |
+
#: pro/acf-pro.php:28
|
2829 |
msgid "Advanced Custom Fields PRO"
|
2830 |
msgstr "Додаткові поля Pro"
|
2831 |
|
2832 |
+
#: pro/admin/admin-options-page.php:200
|
2833 |
+
msgid "Publish"
|
2834 |
+
msgstr "Опублікувати"
|
|
|
|
|
|
|
|
|
2835 |
|
2836 |
+
#: pro/admin/admin-options-page.php:206
|
2837 |
+
#, php-format
|
2838 |
+
msgid ""
|
2839 |
+
"No Custom Field Groups found for this options page. <a href=\"%s\">Create a "
|
2840 |
+
"Custom Field Group</a>"
|
2841 |
msgstr ""
|
2842 |
+
"Немає полів для цієї сторінки опцій. <a href=\"%s\">Створити групу "
|
2843 |
+
"додаткових полів</a>"
|
2844 |
|
2845 |
+
#: pro/admin/admin-settings-updates.php:78
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2846 |
msgid "<b>Error</b>. Could not connect to update server"
|
2847 |
msgstr "<b>Помилка</b>. Неможливо під’єднатися до сервера оновлення"
|
2848 |
|
2849 |
+
#: pro/admin/admin-settings-updates.php:162
|
2850 |
+
#: pro/admin/views/html-settings-updates.php:13
|
2851 |
+
msgid "Updates"
|
2852 |
+
msgstr "Оновлення"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2853 |
|
2854 |
+
#: pro/admin/views/html-settings-updates.php:7
|
2855 |
msgid "Deactivate License"
|
2856 |
msgstr "Деактивувати ліцензію"
|
2857 |
|
2858 |
+
#: pro/admin/views/html-settings-updates.php:7
|
2859 |
msgid "Activate License"
|
2860 |
msgstr "Активувати ліцензію"
|
2861 |
|
2862 |
+
#: pro/admin/views/html-settings-updates.php:17
|
2863 |
+
msgid "License Information"
|
2864 |
+
msgstr "Інформація про ліцензію"
|
2865 |
|
2866 |
+
#: pro/admin/views/html-settings-updates.php:20
|
2867 |
+
#, fuzzy, php-format
|
2868 |
msgid ""
|
2869 |
"To unlock updates, please enter your license key below. If you don't have a "
|
2870 |
+
"licence key, please see <a href=\"%s\" target=\"_blank\">details & pricing</"
|
2871 |
+
"a>."
|
2872 |
msgstr ""
|
2873 |
"Щоб розблокувати оновлення, будь ласка, введіть код ліцензії. Якщо не маєте "
|
2874 |
"ліцензії, перегляньте"
|
2875 |
|
2876 |
+
#: pro/admin/views/html-settings-updates.php:29
|
|
|
|
|
|
|
|
|
2877 |
msgid "License Key"
|
2878 |
msgstr "Код ліцензії"
|
2879 |
|
2880 |
+
#: pro/admin/views/html-settings-updates.php:61
|
2881 |
msgid "Update Information"
|
2882 |
msgstr "Інформація про оновлення"
|
2883 |
|
2884 |
+
#: pro/admin/views/html-settings-updates.php:68
|
2885 |
msgid "Current Version"
|
2886 |
msgstr "Поточна версія"
|
2887 |
|
2888 |
+
#: pro/admin/views/html-settings-updates.php:76
|
2889 |
msgid "Latest Version"
|
2890 |
msgstr "Остання версія"
|
2891 |
|
2892 |
+
#: pro/admin/views/html-settings-updates.php:84
|
2893 |
msgid "Update Available"
|
2894 |
msgstr "Доступні оновлення"
|
2895 |
|
2896 |
+
#: pro/admin/views/html-settings-updates.php:92
|
2897 |
msgid "Update Plugin"
|
2898 |
msgstr "Оновити плаґін"
|
2899 |
|
2900 |
+
#: pro/admin/views/html-settings-updates.php:94
|
2901 |
msgid "Please enter your license key above to unlock updates"
|
2902 |
msgstr "Будь ласка, введіть код ліцензії, щоб розблокувати оновлення"
|
2903 |
|
2904 |
+
#: pro/admin/views/html-settings-updates.php:100
|
2905 |
msgid "Check Again"
|
2906 |
+
msgstr "Перевірити знову"
|
2907 |
|
2908 |
+
#: pro/admin/views/html-settings-updates.php:117
|
2909 |
#, fuzzy
|
2910 |
msgid "Upgrade Notice"
|
2911 |
msgstr "Оновити базу даних"
|
2912 |
|
2913 |
+
#: pro/fields/class-acf-field-clone.php:25
|
2914 |
+
msgctxt "noun"
|
2915 |
+
msgid "Clone"
|
2916 |
+
msgstr "Клон"
|
2917 |
|
2918 |
+
#: pro/fields/class-acf-field-clone.php:808
|
2919 |
+
msgid "Select one or more fields you wish to clone"
|
|
|
|
|
|
|
|
|
2920 |
msgstr ""
|
|
|
|
|
2921 |
|
2922 |
+
#: pro/fields/class-acf-field-clone.php:825
|
2923 |
+
msgid "Display"
|
2924 |
+
msgstr "Таблиця"
|
2925 |
+
|
2926 |
+
#: pro/fields/class-acf-field-clone.php:826
|
2927 |
+
msgid "Specify the style used to render the clone field"
|
2928 |
+
msgstr ""
|
2929 |
+
|
2930 |
+
#: pro/fields/class-acf-field-clone.php:831
|
2931 |
+
#, fuzzy
|
2932 |
+
#| msgid "Please select the field group you wish this field to move to"
|
2933 |
+
msgid "Group (displays selected fields in a group within this field)"
|
2934 |
+
msgstr "Будь ласка, оберіть групу полів куди Ви хочете перемістити це поле"
|
2935 |
+
|
2936 |
+
#: pro/fields/class-acf-field-clone.php:832
|
2937 |
+
msgid "Seamless (replaces this field with selected fields)"
|
2938 |
+
msgstr ""
|
2939 |
+
|
2940 |
+
#: pro/fields/class-acf-field-clone.php:853
|
2941 |
+
#, php-format
|
2942 |
+
msgid "Labels will be displayed as %s"
|
2943 |
+
msgstr ""
|
2944 |
+
|
2945 |
+
#: pro/fields/class-acf-field-clone.php:856
|
2946 |
+
#, fuzzy
|
2947 |
+
#| msgid "Field Label"
|
2948 |
+
msgid "Prefix Field Labels"
|
2949 |
+
msgstr "Назва поля"
|
2950 |
+
|
2951 |
+
#: pro/fields/class-acf-field-clone.php:867
|
2952 |
+
#, php-format
|
2953 |
+
msgid "Values will be saved as %s"
|
2954 |
+
msgstr ""
|
2955 |
+
|
2956 |
+
#: pro/fields/class-acf-field-clone.php:870
|
2957 |
+
#, fuzzy
|
2958 |
+
#| msgid "Field Name"
|
2959 |
+
msgid "Prefix Field Names"
|
2960 |
+
msgstr "Ярлик"
|
2961 |
+
|
2962 |
+
#: pro/fields/class-acf-field-clone.php:988
|
2963 |
+
msgid "Unknown field"
|
2964 |
+
msgstr "Невідоме поле"
|
2965 |
+
|
2966 |
+
#: pro/fields/class-acf-field-clone.php:1027
|
2967 |
+
#, fuzzy
|
2968 |
+
msgid "Unknown field group"
|
2969 |
+
msgstr "Редагувати групу полів"
|
2970 |
+
|
2971 |
+
#: pro/fields/class-acf-field-clone.php:1031
|
2972 |
+
#, php-format
|
2973 |
+
msgid "All fields from %s field group"
|
2974 |
+
msgstr ""
|
2975 |
|
2976 |
+
#: pro/fields/class-acf-field-flexible-content.php:31
|
2977 |
+
#: pro/fields/class-acf-field-repeater.php:174
|
2978 |
+
#: pro/fields/class-acf-field-repeater.php:470
|
2979 |
msgid "Add Row"
|
2980 |
msgstr "Додати рядок"
|
2981 |
|
2982 |
+
#: pro/fields/class-acf-field-flexible-content.php:34
|
2983 |
#, fuzzy
|
2984 |
msgid "layout"
|
2985 |
msgstr "Шаблон структури"
|
2986 |
|
2987 |
+
#: pro/fields/class-acf-field-flexible-content.php:35
|
2988 |
#, fuzzy
|
2989 |
msgid "layouts"
|
2990 |
msgstr "Шаблон структури"
|
2991 |
|
2992 |
+
#: pro/fields/class-acf-field-flexible-content.php:36
|
2993 |
msgid "remove {layout}?"
|
2994 |
msgstr "видалити {layout}?"
|
2995 |
|
2996 |
+
#: pro/fields/class-acf-field-flexible-content.php:37
|
2997 |
msgid "This field requires at least {min} {identifier}"
|
2998 |
msgstr ""
|
2999 |
|
3000 |
+
#: pro/fields/class-acf-field-flexible-content.php:38
|
3001 |
msgid "This field has a limit of {max} {identifier}"
|
3002 |
msgstr ""
|
3003 |
|
3004 |
+
#: pro/fields/class-acf-field-flexible-content.php:39
|
3005 |
msgid "This field requires at least {min} {label} {identifier}"
|
3006 |
msgstr ""
|
3007 |
|
3008 |
+
#: pro/fields/class-acf-field-flexible-content.php:40
|
3009 |
msgid "Maximum {label} limit reached ({max} {identifier})"
|
3010 |
msgstr ""
|
3011 |
|
3012 |
+
#: pro/fields/class-acf-field-flexible-content.php:41
|
3013 |
msgid "{available} {label} {identifier} available (max {max})"
|
3014 |
msgstr ""
|
3015 |
|
3016 |
+
#: pro/fields/class-acf-field-flexible-content.php:42
|
3017 |
msgid "{required} {label} {identifier} required (min {min})"
|
3018 |
msgstr ""
|
3019 |
|
3020 |
+
#: pro/fields/class-acf-field-flexible-content.php:43
|
3021 |
+
msgid "Flexible Content requires at least 1 layout"
|
3022 |
+
msgstr ""
|
3023 |
+
|
3024 |
+
#: pro/fields/class-acf-field-flexible-content.php:273
|
3025 |
#, php-format
|
3026 |
msgid "Click the \"%s\" button below to start creating your layout"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: pro/fields/class-acf-field-flexible-content.php:406
|
3030 |
msgid "Add layout"
|
3031 |
msgstr "Додати шаблон"
|
3032 |
|
3033 |
+
#: pro/fields/class-acf-field-flexible-content.php:407
|
3034 |
msgid "Remove layout"
|
3035 |
msgstr "Видалити шаблон"
|
3036 |
|
3037 |
+
#: pro/fields/class-acf-field-flexible-content.php:408
|
3038 |
+
#: pro/fields/class-acf-field-repeater.php:298
|
3039 |
+
msgid "Click to toggle"
|
3040 |
+
msgstr ""
|
3041 |
+
|
3042 |
+
#: pro/fields/class-acf-field-flexible-content.php:554
|
3043 |
msgid "Reorder Layout"
|
3044 |
msgstr ""
|
3045 |
|
3046 |
+
#: pro/fields/class-acf-field-flexible-content.php:554
|
3047 |
msgid "Reorder"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
+
#: pro/fields/class-acf-field-flexible-content.php:555
|
3051 |
msgid "Delete Layout"
|
3052 |
msgstr "Видалити шаблон"
|
3053 |
|
3054 |
+
#: pro/fields/class-acf-field-flexible-content.php:556
|
3055 |
msgid "Duplicate Layout"
|
3056 |
msgstr "Дублювати шаблон"
|
3057 |
|
3058 |
+
#: pro/fields/class-acf-field-flexible-content.php:557
|
3059 |
msgid "Add New Layout"
|
3060 |
msgstr "Додати новий шаблон"
|
3061 |
|
3062 |
+
#: pro/fields/class-acf-field-flexible-content.php:628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3063 |
msgid "Min"
|
3064 |
msgstr "Мін."
|
3065 |
|
3066 |
+
#: pro/fields/class-acf-field-flexible-content.php:641
|
3067 |
msgid "Max"
|
3068 |
msgstr "Макс."
|
3069 |
|
3070 |
+
#: pro/fields/class-acf-field-flexible-content.php:668
|
3071 |
+
#: pro/fields/class-acf-field-repeater.php:466
|
3072 |
msgid "Button Label"
|
3073 |
msgstr "Текст для кнопки"
|
3074 |
|
3075 |
+
#: pro/fields/class-acf-field-flexible-content.php:677
|
3076 |
msgid "Minimum Layouts"
|
3077 |
msgstr "Мінімум шаблонів"
|
3078 |
|
3079 |
+
#: pro/fields/class-acf-field-flexible-content.php:686
|
3080 |
msgid "Maximum Layouts"
|
3081 |
msgstr "Максимум шаблонів"
|
3082 |
|
3083 |
+
#: pro/fields/class-acf-field-gallery.php:41
|
|
|
|
|
|
|
|
|
3084 |
msgid "Add Image to Gallery"
|
3085 |
msgstr "Додати зображення до галереї"
|
3086 |
|
3087 |
+
#: pro/fields/class-acf-field-gallery.php:45
|
3088 |
#, fuzzy
|
3089 |
msgid "Maximum selection reached"
|
3090 |
msgstr "Досягнуто максимального вибору"
|
3091 |
|
3092 |
+
#: pro/fields/class-acf-field-gallery.php:321
|
3093 |
msgid "Length"
|
3094 |
+
msgstr "Довжина"
|
3095 |
|
3096 |
+
#: pro/fields/class-acf-field-gallery.php:364
|
3097 |
+
msgid "Caption"
|
3098 |
+
msgstr "Підпис"
|
|
|
3099 |
|
3100 |
+
#: pro/fields/class-acf-field-gallery.php:373
|
3101 |
+
msgid "Alt Text"
|
3102 |
+
msgstr "Альтернативний текст"
|
3103 |
+
|
3104 |
+
#: pro/fields/class-acf-field-gallery.php:544
|
3105 |
msgid "Add to gallery"
|
3106 |
msgstr "Додати до галереї"
|
3107 |
|
3108 |
+
#: pro/fields/class-acf-field-gallery.php:548
|
3109 |
msgid "Bulk actions"
|
3110 |
msgstr "Масові дії"
|
3111 |
|
3112 |
+
#: pro/fields/class-acf-field-gallery.php:549
|
3113 |
msgid "Sort by date uploaded"
|
3114 |
msgstr "Сортувати за датою завантаження"
|
3115 |
|
3116 |
+
#: pro/fields/class-acf-field-gallery.php:550
|
3117 |
msgid "Sort by date modified"
|
3118 |
msgstr "Сортувати за датою зміни"
|
3119 |
|
3120 |
+
#: pro/fields/class-acf-field-gallery.php:551
|
3121 |
msgid "Sort by title"
|
3122 |
msgstr "Сортувати за назвою"
|
3123 |
|
3124 |
+
#: pro/fields/class-acf-field-gallery.php:552
|
3125 |
msgid "Reverse current order"
|
3126 |
msgstr "Зворотній поточний порядок"
|
3127 |
|
3128 |
+
#: pro/fields/class-acf-field-gallery.php:570
|
3129 |
msgid "Close"
|
3130 |
msgstr "Закрити"
|
3131 |
|
3132 |
+
#: pro/fields/class-acf-field-gallery.php:624
|
3133 |
msgid "Minimum Selection"
|
3134 |
msgstr "Мінімальна вибірка"
|
3135 |
|
3136 |
+
#: pro/fields/class-acf-field-gallery.php:633
|
3137 |
msgid "Maximum Selection"
|
3138 |
msgstr "Максимальна вибірка"
|
3139 |
|
3140 |
+
#: pro/fields/class-acf-field-gallery.php:642
|
3141 |
+
msgid "Insert"
|
3142 |
+
msgstr "Вставити"
|
|
|
|
|
|
|
|
|
3143 |
|
3144 |
+
#: pro/fields/class-acf-field-gallery.php:643
|
3145 |
+
msgid "Specify where new attachments are added"
|
3146 |
+
msgstr ""
|
3147 |
+
|
3148 |
+
#: pro/fields/class-acf-field-gallery.php:647
|
3149 |
+
msgid "Append to the end"
|
3150 |
+
msgstr "Розміщується в кінці"
|
3151 |
+
|
3152 |
+
#: pro/fields/class-acf-field-gallery.php:648
|
3153 |
+
msgid "Prepend to the beginning"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
+
#: pro/fields/class-acf-field-repeater.php:36
|
3157 |
msgid "Minimum rows reached ({min} rows)"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: pro/fields/class-acf-field-repeater.php:37
|
3161 |
msgid "Maximum rows reached ({max} rows)"
|
3162 |
msgstr ""
|
3163 |
|
3164 |
+
#: pro/fields/class-acf-field-repeater.php:343
|
|
|
|
|
|
|
|
|
3165 |
msgid "Add row"
|
3166 |
msgstr "Додати рядок"
|
3167 |
|
3168 |
+
#: pro/fields/class-acf-field-repeater.php:344
|
3169 |
msgid "Remove row"
|
3170 |
msgstr "Видалити рядок"
|
3171 |
|
3172 |
+
#: pro/fields/class-acf-field-repeater.php:419
|
3173 |
+
#, fuzzy
|
3174 |
+
#| msgid "Collapse Details"
|
3175 |
+
msgid "Collapsed"
|
3176 |
+
msgstr "Сховати деталі"
|
3177 |
|
3178 |
+
#: pro/fields/class-acf-field-repeater.php:420
|
3179 |
+
msgid "Select a sub field to show when row is collapsed"
|
3180 |
+
msgstr ""
|
3181 |
+
|
3182 |
+
#: pro/fields/class-acf-field-repeater.php:430
|
3183 |
msgid "Minimum Rows"
|
3184 |
msgstr "Мінімум рядків"
|
3185 |
|
3186 |
+
#: pro/fields/class-acf-field-repeater.php:440
|
3187 |
msgid "Maximum Rows"
|
3188 |
msgstr "Максимум рядків"
|
3189 |
|
3190 |
+
#: pro/locations/class-acf-location-options-page.php:79
|
3191 |
+
msgid "No options pages exist"
|
3192 |
msgstr ""
|
3193 |
|
3194 |
+
#: pro/options-page.php:51
|
3195 |
+
msgid "Options"
|
3196 |
+
msgstr "Опції"
|
3197 |
+
|
3198 |
+
#: pro/options-page.php:82
|
3199 |
+
msgid "Options Updated"
|
3200 |
+
msgstr "Опції оновлено"
|
3201 |
+
|
3202 |
+
#: pro/updates.php:97
|
3203 |
+
#, fuzzy, php-format
|
3204 |
+
msgid ""
|
3205 |
+
"To enable updates, please enter your license key on the <a href=\"%s"
|
3206 |
+
"\">Updates</a> page. If you don't have a licence key, please see <a href=\"%s"
|
3207 |
+
"\">details & pricing</a>."
|
3208 |
msgstr ""
|
3209 |
+
"Щоб розблокувати оновлення, будь ласка, введіть код ліцензії. Якщо не маєте "
|
3210 |
+
"ліцензії, перегляньте"
|
3211 |
|
3212 |
+
#. Plugin URI of the plugin/theme
|
3213 |
+
msgid "https://www.advancedcustomfields.com/"
|
3214 |
msgstr ""
|
3215 |
|
3216 |
#. Author of the plugin/theme
|
3217 |
+
msgid "Elliot Condon"
|
3218 |
msgstr ""
|
3219 |
|
3220 |
#. Author URI of the plugin/theme
|
3221 |
msgid "http://www.elliotcondon.com/"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
+
#~ msgid "See what's new in"
|
3225 |
+
#~ msgstr "Перегляньте, що нового у"
|
3226 |
+
|
3227 |
+
#~ msgid "version"
|
3228 |
+
#~ msgstr "версії"
|
3229 |
+
|
3230 |
+
#~ msgid "Getting Started"
|
3231 |
+
#~ msgstr "Початок роботи"
|
3232 |
+
|
3233 |
+
#~ msgid "Field Types"
|
3234 |
+
#~ msgstr "Типи полів"
|
3235 |
+
|
3236 |
+
#~ msgid "Functions"
|
3237 |
+
#~ msgstr "Функції"
|
3238 |
+
|
3239 |
+
#~ msgid "Actions"
|
3240 |
+
#~ msgstr "Дії"
|
3241 |
+
|
3242 |
+
#~ msgid "'How to' guides"
|
3243 |
+
#~ msgstr "Інструкції «як зробити»"
|
3244 |
+
|
3245 |
+
#~ msgid "Tutorials"
|
3246 |
+
#~ msgstr "Документація"
|
3247 |
+
|
3248 |
+
#~ msgid "Created by"
|
3249 |
+
#~ msgstr "Плаґін створив"
|
3250 |
+
|
3251 |
+
#~ msgid "Upgrade"
|
3252 |
+
#~ msgstr "Оновити"
|
3253 |
+
|
3254 |
+
#~ msgid "Error"
|
3255 |
+
#~ msgstr "Помилка"
|
3256 |
+
|
3257 |
+
#~ msgid "Drag and drop to reorder"
|
3258 |
+
#~ msgstr "Поля можна перетягувати"
|
3259 |
+
|
3260 |
+
#~ msgid "See what's new"
|
3261 |
+
#~ msgstr "Перегляньте, що нового"
|
3262 |
+
|
3263 |
+
#~ msgid "Show a different month"
|
3264 |
+
#~ msgstr "Показати інший місяць"
|
3265 |
+
|
3266 |
+
#~ msgid "Return format"
|
3267 |
+
#~ msgstr "Формат повернення"
|
3268 |
+
|
3269 |
+
#~ msgid "uploaded to this post"
|
3270 |
+
#~ msgstr "завантажено до цього матеріалу"
|
3271 |
+
|
3272 |
+
#~ msgid "File Size"
|
3273 |
+
#~ msgstr "Розмір файлу"
|
3274 |
+
|
3275 |
+
#~ msgid "No File selected"
|
3276 |
+
#~ msgstr "Файл не обрано"
|
3277 |
+
|
3278 |
+
#~ msgid "Warning"
|
3279 |
+
#~ msgstr "Застереження"
|
3280 |
+
|
3281 |
+
#~ msgid "eg. Show extra content"
|
3282 |
+
#~ msgstr "напр., Показати додаткові поля"
|
3283 |
+
|
3284 |
+
#~ msgid "<b>Connection Error</b>. Sorry, please try again"
|
3285 |
+
#~ msgstr "<b>Помилка з’єднання</b>. Спробуйте знову"
|
3286 |
+
|
3287 |
+
#~ msgid "Save Options"
|
3288 |
+
#~ msgstr "Зберегти опції"
|
3289 |
+
|
3290 |
+
#~ msgid "License"
|
3291 |
+
#~ msgstr "Ліцензія"
|
3292 |
+
|
3293 |
+
#~ msgid ""
|
3294 |
+
#~ "To unlock updates, please enter your license key below. If you don't have "
|
3295 |
+
#~ "a licence key, please see"
|
3296 |
+
#~ msgstr ""
|
3297 |
+
#~ "Щоб розблокувати оновлення, будь ласка, введіть код ліцензії. Якщо не "
|
3298 |
+
#~ "маєте ліцензії, перегляньте"
|
3299 |
+
|
3300 |
+
#~ msgid "details & pricing"
|
3301 |
+
#~ msgstr "деталі і ціни"
|
3302 |
+
|
3303 |
#~ msgid "Hide / Show All"
|
3304 |
#~ msgstr "Сховати / Показати все"
|
3305 |
|
3410 |
#~ msgid "Success"
|
3411 |
#~ msgstr "Готово"
|
3412 |
|
|
|
|
|
|
|
3413 |
#~ msgid "Run the updater"
|
3414 |
#~ msgstr "Запустити оновлення"
|
3415 |
|
3450 |
#~ msgid "Visit the ACF website"
|
3451 |
#~ msgstr "Відвідайте сайт плаґіну"
|
3452 |
|
|
|
|
|
|
|
3453 |
#~ msgid "Gallery Field"
|
3454 |
#~ msgstr "Поле галереї"
|
3455 |
|
3525 |
#~ msgid "+ Add Sub Field"
|
3526 |
#~ msgstr "+ Додати дочірнє поле"
|
3527 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3528 |
#~ msgid "Image Updated"
|
3529 |
#~ msgstr "Зображення оновлено"
|
3530 |
|
readme.txt
CHANGED
@@ -66,6 +66,14 @@ From your WordPress dashboard
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= 5.6.4 =
|
70 |
* Google Map field: Fixed bug causing invalid url to JavaScript library
|
71 |
* WYSIWYG field: Fixed minor z-index and drag/drop bugs
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 5.6.5 =
|
70 |
+
* API: Added new 'kses' setting to the `acf_form()` function
|
71 |
+
* Core: Added new 'Admin Tools' framework (includes design refresh)
|
72 |
+
* Core: Minor fixes and improvements
|
73 |
+
* Language: Update Ukrainian translation - thanks to Jurko Chervony
|
74 |
+
* Language: Update Russian translation - thanks to Andriy Toniyevych
|
75 |
+
* Language: Update Hebrew translation - thanks to Itamar Megged
|
76 |
+
|
77 |
= 5.6.4 =
|
78 |
* Google Map field: Fixed bug causing invalid url to JavaScript library
|
79 |
* WYSIWYG field: Fixed minor z-index and drag/drop bugs
|