diff --git a/composer.lock b/composer.lock index 8c8ada021..79c8629f8 100644 --- a/composer.lock +++ b/composer.lock @@ -1147,24 +1147,24 @@ }, { "name": "composer/semver", - "version": "3.4.2", + "version": "3.4.3", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6" + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/c51258e759afdb17f1fd1fe83bc12baaef6309d6", - "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6", + "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.11", + "symfony/phpunit-bridge": "^3 || ^7" }, "type": "library", "extra": { @@ -1208,7 +1208,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.2" + "source": "https://github.com/composer/semver/tree/3.4.3" }, "funding": [ { @@ -1224,7 +1224,7 @@ "type": "tidelift" } ], - "time": "2024-07-12T11:35:52+00:00" + "time": "2024-09-19T14:15:21+00:00" }, { "name": "dealerdirect/phpcodesniffer-composer-installer", @@ -1542,16 +1542,16 @@ }, { "name": "doctrine/common", - "version": "3.4.4", + "version": "3.4.5", "source": { "type": "git", "url": "https://github.com/doctrine/common.git", - "reference": "0aad4b7ab7ce8c6602dfbb1e1a24581275fb9d1a" + "reference": "6c8fef961f67b8bc802ce3e32e3ebd1022907286" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/0aad4b7ab7ce8c6602dfbb1e1a24581275fb9d1a", - "reference": "0aad4b7ab7ce8c6602dfbb1e1a24581275fb9d1a", + "url": "https://api.github.com/repos/doctrine/common/zipball/6c8fef961f67b8bc802ce3e32e3ebd1022907286", + "reference": "6c8fef961f67b8bc802ce3e32e3ebd1022907286", "shasum": "" }, "require": { @@ -1613,7 +1613,7 @@ ], "support": { "issues": "https://github.com/doctrine/common/issues", - "source": "https://github.com/doctrine/common/tree/3.4.4" + "source": "https://github.com/doctrine/common/tree/3.4.5" }, "funding": [ { @@ -1629,20 +1629,20 @@ "type": "tidelift" } ], - "time": "2024-04-16T13:35:33+00:00" + "time": "2024-10-08T15:53:43+00:00" }, { "name": "doctrine/dbal", - "version": "3.9.1", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "d7dc08f98cba352b2bab5d32c5e58f7e745c11a7" + "reference": "61446f07fcb522414d6cfd8b1c3e5f9e18c579ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/d7dc08f98cba352b2bab5d32c5e58f7e745c11a7", - "reference": "d7dc08f98cba352b2bab5d32c5e58f7e745c11a7", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/61446f07fcb522414d6cfd8b1c3e5f9e18c579ba", + "reference": "61446f07fcb522414d6cfd8b1c3e5f9e18c579ba", "shasum": "" }, "require": { @@ -1658,7 +1658,7 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.12.0", + "phpstan/phpstan": "1.12.6", "phpstan/phpstan-strict-rules": "^1.6", "phpunit/phpunit": "9.6.20", "psalm/plugin-phpunit": "0.18.4", @@ -1726,7 +1726,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.9.1" + "source": "https://github.com/doctrine/dbal/tree/3.9.3" }, "funding": [ { @@ -1742,7 +1742,7 @@ "type": "tidelift" } ], - "time": "2024-09-01T13:49:23+00:00" + "time": "2024-10-10T17:56:43+00:00" }, { "name": "doctrine/deprecations", @@ -2124,16 +2124,16 @@ }, { "name": "doctrine/orm", - "version": "2.19.7", + "version": "2.20.0", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "168ac31084226f94d42e7461a40ff5607a56bd35" + "reference": "8ed6c2234aba019f9737a6bcc9516438e62da27c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/168ac31084226f94d42e7461a40ff5607a56bd35", - "reference": "168ac31084226f94d42e7461a40ff5607a56bd35", + "url": "https://api.github.com/repos/doctrine/orm/zipball/8ed6c2234aba019f9737a6bcc9516438e62da27c", + "reference": "8ed6c2234aba019f9737a6bcc9516438e62da27c", "shasum": "" }, "require": { @@ -2162,7 +2162,9 @@ "doctrine/annotations": "^1.13 || ^2", "doctrine/coding-standard": "^9.0.2 || ^12.0", "phpbench/phpbench": "^0.16.10 || ^1.0", - "phpstan/phpstan": "~1.4.10 || 1.11.1", + "phpstan/extension-installer": "~1.1.0 || ^1.4", + "phpstan/phpstan": "~1.4.10 || 1.12.6", + "phpstan/phpstan-deprecation-rules": "^1", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6", "psr/log": "^1 || ^2 || ^3", "squizlabs/php_codesniffer": "3.7.2", @@ -2219,9 +2221,9 @@ ], "support": { "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/2.19.7" + "source": "https://github.com/doctrine/orm/tree/2.20.0" }, - "time": "2024-08-23T06:54:57+00:00" + "time": "2024-10-11T11:47:24+00:00" }, { "name": "doctrine/persistence", @@ -2862,16 +2864,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.19.1", + "version": "v4.19.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b" + "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4e1b88d21c69391150ace211e9eaf05810858d0b", - "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/715f4d25e225bc47b293a8b997fe6ce99bf987d2", + "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2", "shasum": "" }, "require": { @@ -2880,7 +2882,7 @@ }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/php-parse" @@ -2912,9 +2914,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.4" }, - "time": "2024-03-17T08:10:35+00:00" + "time": "2024-09-29T15:01:53+00:00" }, { "name": "overtrue/phplint", @@ -3409,16 +3411,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.30.1", + "version": "1.33.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "51b95ec8670af41009e2b2b56873bad96682413e" + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51b95ec8670af41009e2b2b56873bad96682413e", - "reference": "51b95ec8670af41009e2b2b56873bad96682413e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "shasum": "" }, "require": { @@ -3450,9 +3452,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" }, - "time": "2024-09-07T20:13:05+00:00" + "time": "2024-10-13T11:25:22+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3753,16 +3755,16 @@ }, { "name": "phpunit/phpunit", - "version": "8.5.39", + "version": "8.5.40", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "172ba97bcf97ae6ef86ca256adf77aece8a143fe" + "reference": "48ed828b72c35b38cdddcd9059339734cb06b3a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/172ba97bcf97ae6ef86ca256adf77aece8a143fe", - "reference": "172ba97bcf97ae6ef86ca256adf77aece8a143fe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/48ed828b72c35b38cdddcd9059339734cb06b3a7", + "reference": "48ed828b72c35b38cdddcd9059339734cb06b3a7", "shasum": "" }, "require": { @@ -3831,7 +3833,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.39" + "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.40" }, "funding": [ { @@ -3847,7 +3849,7 @@ "type": "tidelift" } ], - "time": "2024-07-10T11:43:00+00:00" + "time": "2024-09-19T10:47:04+00:00" }, { "name": "psr/cache", @@ -5284,16 +5286,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.10.2", + "version": "3.10.3", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017" + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/86e5f5dd9a840c46810ebe5ff1885581c42a3017", - "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/62d32998e820bddc40f99f8251958aed187a5c9c", + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c", "shasum": "" }, "require": { @@ -5360,7 +5362,7 @@ "type": "open_collective" } ], - "time": "2024-07-21T23:26:44+00:00" + "time": "2024-09-18T10:38:58+00:00" }, { "name": "symfony/amqp-messenger", @@ -5505,16 +5507,16 @@ }, { "name": "symfony/cache", - "version": "v5.4.42", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "6f5f750692bd5a212e01a4f1945fd856bceef89e" + "reference": "4b3e7bf157b8b5a010865701d9106b5f0a9c99a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/6f5f750692bd5a212e01a4f1945fd856bceef89e", - "reference": "6f5f750692bd5a212e01a4f1945fd856bceef89e", + "url": "https://api.github.com/repos/symfony/cache/zipball/4b3e7bf157b8b5a010865701d9106b5f0a9c99a8", + "reference": "4b3e7bf157b8b5a010865701d9106b5f0a9c99a8", "shasum": "" }, "require": { @@ -5582,7 +5584,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.4.42" + "source": "https://github.com/symfony/cache/tree/v5.4.44" }, "funding": [ { @@ -5598,7 +5600,7 @@ "type": "tidelift" } ], - "time": "2024-07-10T06:02:18+00:00" + "time": "2024-09-13T16:57:39+00:00" }, { "name": "symfony/cache-contracts", @@ -5760,16 +5762,16 @@ }, { "name": "symfony/console", - "version": "v5.4.43", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9" + "reference": "5b5a0aa66e3296e303e22490f90f521551835a83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/e86f8554de667c16dde8aeb89a3990cfde924df9", - "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9", + "url": "https://api.github.com/repos/symfony/console/zipball/5b5a0aa66e3296e303e22490f90f521551835a83", + "reference": "5b5a0aa66e3296e303e22490f90f521551835a83", "shasum": "" }, "require": { @@ -5839,7 +5841,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.43" + "source": "https://github.com/symfony/console/tree/v5.4.44" }, "funding": [ { @@ -5855,7 +5857,7 @@ "type": "tidelift" } ], - "time": "2024-08-13T16:31:56+00:00" + "time": "2024-09-20T07:56:40+00:00" }, { "name": "symfony/css-selector", @@ -5925,16 +5927,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v5.4.43", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "8c946c5c1d1692d5378cb722060969730cebc96d" + "reference": "23eb9f3803a931aef16a65f362a9aeb0640a1374" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8c946c5c1d1692d5378cb722060969730cebc96d", - "reference": "8c946c5c1d1692d5378cb722060969730cebc96d", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/23eb9f3803a931aef16a65f362a9aeb0640a1374", + "reference": "23eb9f3803a931aef16a65f362a9aeb0640a1374", "shasum": "" }, "require": { @@ -5994,7 +5996,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.43" + "source": "https://github.com/symfony/dependency-injection/tree/v5.4.44" }, "funding": [ { @@ -6010,7 +6012,7 @@ "type": "tidelift" } ], - "time": "2024-08-27T00:56:45+00:00" + "time": "2024-09-12T20:01:35+00:00" }, { "name": "symfony/deprecation-contracts", @@ -6153,16 +6155,16 @@ }, { "name": "symfony/dom-crawler", - "version": "v5.4.40", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "2ad469c3e07fdba677b278d0e266071a51aa0dac" + "reference": "4c76e4176a5472c5afe504194d7bbef5cfdd1703" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/2ad469c3e07fdba677b278d0e266071a51aa0dac", - "reference": "2ad469c3e07fdba677b278d0e266071a51aa0dac", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/4c76e4176a5472c5afe504194d7bbef5cfdd1703", + "reference": "4c76e4176a5472c5afe504194d7bbef5cfdd1703", "shasum": "" }, "require": { @@ -6208,7 +6210,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.4.40" + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.44" }, "funding": [ { @@ -6224,7 +6226,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:33:22+00:00" + "time": "2024-09-11T06:50:28+00:00" }, { "name": "symfony/event-dispatcher", @@ -6518,16 +6520,16 @@ }, { "name": "symfony/messenger", - "version": "v5.4.42", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/messenger.git", - "reference": "d21b1d0a3ba7dd75b45e88263eca8f681797cee6" + "reference": "e37c51b0740300f3a36f98ffb7125389f1e278c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/messenger/zipball/d21b1d0a3ba7dd75b45e88263eca8f681797cee6", - "reference": "d21b1d0a3ba7dd75b45e88263eca8f681797cee6", + "url": "https://api.github.com/repos/symfony/messenger/zipball/e37c51b0740300f3a36f98ffb7125389f1e278c1", + "reference": "e37c51b0740300f3a36f98ffb7125389f1e278c1", "shasum": "" }, "require": { @@ -6588,7 +6590,7 @@ "description": "Helps applications send and receive messages to/from other applications or via message queues", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/messenger/tree/v5.4.42" + "source": "https://github.com/symfony/messenger/tree/v5.4.44" }, "funding": [ { @@ -6604,7 +6606,7 @@ "type": "tidelift" } ], - "time": "2024-07-05T06:19:37+00:00" + "time": "2024-09-08T09:19:02+00:00" }, { "name": "symfony/polyfill-ctype", @@ -7223,16 +7225,16 @@ }, { "name": "symfony/process", - "version": "v5.4.40", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046" + "reference": "1b9fa82b5c62cd49da8c9e3952dd8531ada65096" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/deedcb3bb4669cae2148bc920eafd2b16dc7c046", - "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046", + "url": "https://api.github.com/repos/symfony/process/zipball/1b9fa82b5c62cd49da8c9e3952dd8531ada65096", + "reference": "1b9fa82b5c62cd49da8c9e3952dd8531ada65096", "shasum": "" }, "require": { @@ -7265,7 +7267,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.40" + "source": "https://github.com/symfony/process/tree/v5.4.44" }, "funding": [ { @@ -7281,7 +7283,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:33:22+00:00" + "time": "2024-09-17T12:46:43+00:00" }, { "name": "symfony/redis-messenger", @@ -7418,16 +7420,16 @@ }, { "name": "symfony/serializer", - "version": "v5.4.43", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "b4ad9e64a83a45c2893f9d57996ffb13a9271183" + "reference": "0f100dfa5b3bc8b052d15940d1168e5fa1e1a59a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/b4ad9e64a83a45c2893f9d57996ffb13a9271183", - "reference": "b4ad9e64a83a45c2893f9d57996ffb13a9271183", + "url": "https://api.github.com/repos/symfony/serializer/zipball/0f100dfa5b3bc8b052d15940d1168e5fa1e1a59a", + "reference": "0f100dfa5b3bc8b052d15940d1168e5fa1e1a59a", "shasum": "" }, "require": { @@ -7501,7 +7503,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v5.4.43" + "source": "https://github.com/symfony/serializer/tree/v5.4.44" }, "funding": [ { @@ -7517,7 +7519,7 @@ "type": "tidelift" } ], - "time": "2024-08-16T10:25:21+00:00" + "time": "2024-09-20T07:56:40+00:00" }, { "name": "symfony/service-contracts", @@ -7823,16 +7825,16 @@ }, { "name": "symfony/yaml", - "version": "v5.4.43", + "version": "v5.4.44", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "62f96e1cfd4cf518882a36bfedcf1fe4093c1299" + "reference": "7025b964f123bbf1896d7563db6ec7f1f63e918a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/62f96e1cfd4cf518882a36bfedcf1fe4093c1299", - "reference": "62f96e1cfd4cf518882a36bfedcf1fe4093c1299", + "url": "https://api.github.com/repos/symfony/yaml/zipball/7025b964f123bbf1896d7563db6ec7f1f63e918a", + "reference": "7025b964f123bbf1896d7563db6ec7f1f63e918a", "shasum": "" }, "require": { @@ -7878,7 +7880,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.43" + "source": "https://github.com/symfony/yaml/tree/v5.4.44" }, "funding": [ { @@ -7894,7 +7896,7 @@ "type": "tidelift" } ], - "time": "2024-08-11T17:40:32+00:00" + "time": "2024-09-16T14:36:56+00:00" }, { "name": "theseer/tokenizer", diff --git a/includes.php b/includes.php index 91f2fa68b..40717349a 100644 --- a/includes.php +++ b/includes.php @@ -34,7 +34,7 @@ if (! defined('PP_LOADED')) { if (! defined('PUBLISHPRESS_VERSION')) { // Define constants - define('PUBLISHPRESS_VERSION', '4.5.0.1'); + define('PUBLISHPRESS_VERSION', '4.5.1'); define('PUBLISHPRESS_BASE_PATH', __DIR__); define('PUBLISHPRESS_VIEWS_PATH', __DIR__ . '/views'); define('PUBLISHPRESS_FILE_PATH', PUBLISHPRESS_BASE_PATH . '/publishpress.php'); diff --git a/languages/publishpress.pot b/languages/publishpress.pot index 89334f3c9..b4beb3739 100644 --- a/languages/publishpress.pot +++ b/languages/publishpress.pot @@ -10,7 +10,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-09-12 09:14+0000\n" +"POT-Creation-Date: 2024-10-10 15:41+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: Loco https://localise.biz/\n" "X-Domain: publishpress\n" @@ -30,50 +30,50 @@ msgid "\"Notify me\"" msgstr "" #. 1: post type, 2: post id, 3. post title, 4. user name, 5. user email -#: modules/notifications/notifications.php:1953 +#: modules/notifications/notifications.php:1961 #, php-format msgid "%1$s #%2$s \"%3$s\" was moved to the trash by %4$s %5$s" msgstr "" #. 1: post type, 2: post id, 3. post title, 4. user name, 5. user email -#: modules/notifications/notifications.php:2000 +#: modules/notifications/notifications.php:2008 #, php-format msgid "%1$s #%2$s \"%3$s\" was published by %4$s %5$s" msgstr "" #. 1: post type, 2: post id, 3. post title, 4. user name, 5. user email -#: modules/notifications/notifications.php:1970 +#: modules/notifications/notifications.php:1978 #, php-format msgid "%1$s #%2$s \"%3$s\" was restored from trash by %4$s %5$s" msgstr "" #. 1: post type, 2: post id, 3. post title, 4. user name, 5. user email -#: modules/notifications/notifications.php:2017 +#: modules/notifications/notifications.php:2025 #, php-format msgid "%1$s #%2$s \"%3$s\" was unpublished by %4$s %5$s" msgstr "" #. 1: comment author, 2: author email, 3: date, 4: time -#: modules/notifications/notifications.php:2116 +#: modules/notifications/notifications.php:2124 #, php-format msgid "%1$s (%2$s ) said on %3$s at %4$s:" msgstr "" -#: modules/content-board/content-board.php:803 -#: modules/content-overview/content-overview.php:822 +#: modules/content-board/library/content-board-utilities.php:538 +#: modules/content-overview/library/content-overview-utilities.php:643 #, php-format msgctxt "%1$s = start date, %2$s = end date" msgid " %1$s
to
%2$s" msgstr "" #. 1: old status, 2: new status -#: modules/notifications/notifications.php:2058 +#: modules/notifications/notifications.php:2066 #, php-format msgid "%1$s => %2$s" msgstr "" #. 1: Comment date, 2: Comment time. -#: modules/notifications/notifications.php:1894 +#: modules/notifications/notifications.php:1902 #: modules/editorial-comments/library/EditorialCommentsTable.php:336 #: modules/editorial-metadata/input-handlers/editorial-metadata-input-date-handler.php:201 #, php-format @@ -85,7 +85,7 @@ msgstr "" msgid "%1$s last updated on %2$s" msgstr "" -#: modules/calendar/calendar.php:1858 +#: modules/calendar/library/calendar-utilities.php:480 #, php-format msgid "%1s weeks" msgstr "" @@ -102,56 +102,34 @@ msgid_plural "%d Users" msgstr[0] "" msgstr[1] "" -#: modules/calendar/calendar.php:812 modules/calendar/calendar.php:1868 +#: modules/calendar/library/calendar-methods.php:1148 +#: modules/calendar/library/calendar-utilities.php:490 msgid "%d week" msgstr "" -#: modules/calendar/calendar.php:813 +#: modules/calendar/library/calendar-methods.php:1149 msgid "%d weeks" msgstr "" -#: modules/content-board/content-board.php:987 -#: modules/content-overview/content-overview.php:1006 +#: modules/content-overview/content-overview.php:756 +#: modules/content-board/library/content-board-methods.php:253 #, php-format msgid "%s could not be created" msgstr "" -#: modules/content-board/content-board.php:984 -#: modules/content-overview/content-overview.php:1003 +#: modules/content-overview/content-overview.php:753 +#: modules/content-board/library/content-board-methods.php:250 #, php-format msgid "%s created successfully. Edit %s" msgstr "" -#: modules/notifications-log/notifications-log.php:272 +#: modules/notifications-log/notifications-log.php:279 #, php-format msgid "%s notification found." msgid_plural "%s notifications found." msgstr[0] "" msgstr[1] "" -#: modules/calendar/calendar.php:5166 -#, php-format -msgid "%s week" -msgid_plural "%s weeks" -msgstr[0] "" -msgstr[1] "" - -#: modules/calendar/calendar.php:3075 -msgid "«" -msgstr "" - -#: modules/calendar/calendar.php:3088 -msgid "‹" -msgstr "" - -#: modules/calendar/calendar.php:3044 -msgid "»" -msgstr "" - -#: modules/calendar/calendar.php:3027 -msgid "›" -msgstr "" - #: common/php/util.php:46 msgid "(no title)" msgstr "" @@ -169,7 +147,7 @@ msgstr "" msgid "-- Select a user --" msgstr "" -#: modules/calendar/calendar.php:257 +#: modules/calendar/calendar.php:264 msgid "" "

For more information:

Calendar Documentation

PublishPress on Github

" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:126 +#: modules/editorial-metadata/editorial-metadata.php:125 msgid "" "

For more information:

Editorial Fields " @@ -213,7 +191,7 @@ msgid "" "time a comment is left.

" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:121 +#: modules/editorial-metadata/editorial-metadata.php:120 msgid "" "

Keep track of important details about your content with editorial fields. " "This feature allows you to create as many date, text, number, etc. fields as " @@ -234,73 +212,73 @@ msgid "" "editor.

" msgstr "" -#: modules/calendar/calendar.php:252 +#: modules/calendar/calendar.php:259 msgid "" "

The calendar is a convenient week-by-week or month-by-month view into " "your content. Quickly see which stories are on track to being published on " "time, and which will need extra effort.

" msgstr "" -#: modules/notifications/notifications.php:2066 +#: modules/notifications/notifications.php:2074 #, php-format msgid "== %s Details ==" msgstr "" -#: modules/notifications/notifications.php:2085 -#: modules/notifications/notifications.php:2138 +#: modules/notifications/notifications.php:2093 +#: modules/notifications/notifications.php:2146 msgid "== Actions ==" msgstr "" #. 1: site name, 2: post type, 3. post title -#: modules/notifications/notifications.php:1993 +#: modules/notifications/notifications.php:2001 #, php-format msgid "[%1$s] %2$s Published: \"%3$s\"" msgstr "" #. 1: site name, 2: post type, 3. post title -#: modules/notifications/notifications.php:1963 +#: modules/notifications/notifications.php:1971 #, php-format msgid "[%1$s] %2$s Restored (from Trash ): \"%3$s\"" msgstr "" #. 1: site name, 2: post type, 3. post title -#: modules/notifications/notifications.php:2027 +#: modules/notifications/notifications.php:2035 #, php-format msgid "[%1$s] %2$s Status Changed for \"%3$s\"" msgstr "" #. 1: site name, 2: post type, 3. post title -#: modules/notifications/notifications.php:1946 +#: modules/notifications/notifications.php:1954 #, php-format msgid "[%1$s] %2$s Trashed: \"%3$s\"" msgstr "" #. 1: site name, 2: post type, 3. post title -#: modules/notifications/notifications.php:2010 +#: modules/notifications/notifications.php:2018 #, php-format msgid "[%1$s] %2$s Unpublished: \"%3$s\"" msgstr "" #. 1: site name, 2: post type, 3. post title -#: modules/notifications/notifications.php:1929 +#: modules/notifications/notifications.php:1937 #, php-format msgid "[%1$s] New %2$s Created: \"%3$s\"" msgstr "" #. 1: blog name, 2: post title -#: modules/notifications/notifications.php:2102 +#: modules/notifications/notifications.php:2110 #, php-format msgid "[%1$s] New Editorial Comment: \"%2$s\"" msgstr "" #. 1: post type, 2: post id, 3. post title, 4. user name, 5. user email -#: modules/notifications/notifications.php:1936 +#: modules/notifications/notifications.php:1944 #, php-format msgid "A new %1$s (#%2$s \"%3$s\" ) was created by %4$s %5$s" msgstr "" #. 1: post id, 2: post title, 3. post type -#: modules/notifications/notifications.php:2109 +#: modules/notifications/notifications.php:2117 #, php-format msgid "A new editorial comment was added to %3$s #%1$s \"%2$s\"" msgstr "" @@ -317,76 +295,76 @@ msgstr "" msgid "Action nonce not found." msgstr "" -#: modules/notifications/notifications.php:678 +#: modules/notifications/notifications.php:686 msgid "Active Notifications" msgstr "" -#: modules/notifications/notifications.php:1787 +#: modules/notifications/notifications.php:1795 msgid "" "Add a list of taxonomy-slugs separated by comma that should not be loaded by " "the Taxonomy content filter when adding a new Notification Workflow." msgstr "" -#: modules/editorial-comments/editorial-comments.php:554 -#: modules/editorial-comments/editorial-comments.php:558 +#: modules/editorial-comments/editorial-comments.php:561 +#: modules/editorial-comments/editorial-comments.php:565 msgid "Add an editorial comment" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2045 -#: modules/editorial-metadata/editorial-metadata.php:2358 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:338 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:649 msgid "Add Another Option" msgstr "" -#: modules/content-overview/content-overview.php:1289 +#: modules/content-overview/library/content-overview-utilities.php:61 msgid "Add Column" msgstr "" -#: modules/editorial-comments/editorial-comments.php:576 +#: modules/editorial-comments/editorial-comments.php:583 msgid "Add Comment" msgstr "" -#: modules/calendar/calendar.php:784 +#: modules/calendar/library/calendar-methods.php:1120 #, php-format msgid "Add content for %s" msgstr "" -#: modules/notifications/notifications.php:2087 -#: modules/notifications/notifications.php:2144 +#: modules/notifications/notifications.php:2095 +#: modules/notifications/notifications.php:2152 #, php-format msgid "Add editorial comment: %s" msgstr "" -#: modules/calendar/calendar.php:2143 -#: modules/content-board/content-board.php:1413 -#: modules/content-overview/content-overview.php:1438 +#: modules/calendar/library/calendar-utilities.php:592 +#: modules/content-board/library/content-board-utilities.php:399 +#: modules/content-overview/library/content-overview-utilities.php:207 msgid "Add Filter" msgstr "" -#: modules/calendar/calendar.php:2123 -#: modules/content-board/content-board.php:1244 -#: modules/content-board/content-board.php:1264 -#: modules/content-board/content-board.php:1393 -#: modules/content-overview/content-overview.php:1269 -#: modules/content-overview/content-overview.php:1418 -#: modules/editorial-metadata/editorial-metadata.php:1771 +#: modules/calendar/library/calendar-utilities.php:575 +#: modules/content-board/library/content-board-utilities.php:236 +#: modules/content-board/library/content-board-utilities.php:253 +#: modules/content-board/library/content-board-utilities.php:382 +#: modules/content-overview/library/content-overview-utilities.php:44 +#: modules/content-overview/library/content-overview-utilities.php:190 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:68 msgid "Add New" msgstr "" -#: modules/content-board/content-board.php:1623 -#: modules/content-overview/content-overview.php:1561 +#: modules/content-board/library/content-board-utilities.php:987 +#: modules/content-overview/library/content-overview-utilities.php:314 #, php-format msgid "Add New %s" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:457 +#: modules/editorial-metadata/editorial-metadata.php:458 msgid "Add New Editorial Fields" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2440 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:730 msgid "Add New Editorial fields term" msgstr "" -#: publishpress.php:1354 +#: publishpress.php:1397 msgid "Add New Notification" msgstr "" @@ -414,8 +392,8 @@ msgstr "" msgid "Add or remove notify users" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2077 -#: modules/editorial-metadata/editorial-metadata.php:2391 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:370 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:682 msgid "Add to post types" msgstr "" @@ -427,33 +405,35 @@ msgstr "" msgid "All" msgstr "" -#: modules/calendar/calendar.php:1452 modules/calendar/calendar.php:1455 -#: modules/content-board/content-board.php:2151 -#: modules/content-board/content-board.php:2154 -#: modules/content-overview/content-overview.php:2088 -#: modules/content-overview/content-overview.php:2091 +#: modules/calendar/library/calendar-utilities.php:73 +#: modules/calendar/library/calendar-utilities.php:76 +#: modules/content-board/library/content-board-utilities.php:624 +#: modules/content-board/library/content-board-utilities.php:627 +#: modules/content-overview/library/content-overview-utilities.php:729 +#: modules/content-overview/library/content-overview-utilities.php:732 #, php-format msgid "All %s" msgstr "" -#: modules/notifications-log/notifications-log.php:206 +#: modules/notifications-log/notifications-log.php:213 msgid "All Actions" msgstr "" -#: modules/calendar/calendar.php:810 modules/calendar/calendar.php:1479 -#: modules/calendar/calendar.php:1482 modules/calendar/calendar.php:5114 -#: modules/content-board/content-board.php:2176 -#: modules/content-board/content-board.php:2179 -#: modules/content-overview/content-overview.php:2113 -#: modules/content-overview/content-overview.php:2116 +#: modules/calendar/library/calendar-methods.php:1146 +#: modules/calendar/library/calendar-utilities.php:100 +#: modules/calendar/library/calendar-utilities.php:103 +#: modules/content-board/library/content-board-utilities.php:649 +#: modules/content-board/library/content-board-utilities.php:652 +#: modules/content-overview/library/content-overview-utilities.php:754 +#: modules/content-overview/library/content-overview-utilities.php:757 msgid "All authors" msgstr "" -#: modules/calendar/calendar.php:808 +#: modules/calendar/library/calendar-methods.php:1144 msgid "All categories" msgstr "" -#: modules/notifications-log/notifications-log.php:207 +#: modules/notifications-log/notifications-log.php:214 msgid "All Channels" msgstr "" @@ -461,7 +441,7 @@ msgstr "" msgid "All channels" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:454 +#: modules/editorial-metadata/editorial-metadata.php:455 msgid "All Editorial Fields" msgstr "" @@ -481,24 +461,24 @@ msgstr "" msgid "All Notify Users" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1271 -#: modules/editorial-metadata/editorial-metadata.php:1428 +#: modules/editorial-metadata/editorial-metadata.php:1243 +#: modules/editorial-metadata/editorial-metadata.php:1400 msgid "All options value and labels are required." msgstr "" -#: modules/calendar/calendar.php:1512 -#: modules/content-board/content-board.php:2208 -#: modules/content-overview/content-overview.php:2145 +#: modules/calendar/library/calendar-utilities.php:133 +#: modules/content-board/library/content-board-utilities.php:681 +#: modules/content-overview/library/content-overview-utilities.php:786 msgid "All post types" msgstr "" -#: modules/editorial-comments/editorial-comments.php:212 -#: modules/notifications-log/notifications-log.php:204 +#: modules/editorial-comments/editorial-comments.php:219 +#: modules/notifications-log/notifications-log.php:211 #: modules/editorial-comments/library/EditorialCommentsTable.php:181 msgid "All Posts" msgstr "" -#: modules/calendar/calendar.php:4081 +#: modules/calendar/library/calendar-methods.php:408 msgid "All posts" msgstr "" @@ -506,99 +486,103 @@ msgstr "" msgid "All Receivers" msgstr "" -#: modules/calendar/calendar.php:1727 -#: modules/content-board/content-board.php:2423 -#: modules/content-overview/content-overview.php:2360 +#: modules/calendar/library/calendar-utilities.php:347 +#: modules/content-board/library/content-board-utilities.php:895 +#: modules/content-overview/library/content-overview-utilities.php:1000 msgid "All status" msgstr "" -#: modules/notifications-log/notifications-log.php:208 +#: modules/notifications-log/notifications-log.php:215 msgid "All Statuses" msgstr "" -#: modules/calendar/calendar.php:807 modules/calendar/calendar.php:1426 -#: modules/calendar/calendar.php:5058 -#: modules/content-board/content-board.php:2125 -#: modules/content-overview/content-overview.php:2062 +#: modules/calendar/library/calendar-methods.php:1143 +#: modules/calendar/library/calendar-utilities.php:47 +#: modules/content-board/library/content-board-utilities.php:598 +#: modules/content-overview/library/content-overview-utilities.php:703 msgid "All statuses" msgstr "" -#: modules/calendar/calendar.php:809 modules/calendar/calendar.php:5093 +#: modules/calendar/library/calendar-methods.php:1145 msgid "All tags" msgstr "" -#: modules/calendar/calendar.php:811 modules/calendar/calendar.php:5141 +#: modules/calendar/library/calendar-methods.php:1147 msgid "All types" msgstr "" -#: modules/editorial-comments/editorial-comments.php:213 +#: modules/editorial-comments/editorial-comments.php:220 #: modules/editorial-comments/library/EditorialCommentsTable.php:196 msgid "All Users" msgstr "" -#: modules/notifications-log/notifications-log.php:205 +#: modules/notifications-log/notifications-log.php:212 msgid "All Workflows" msgstr "" -#: modules/calendar/calendar.php:3685 +#: modules/calendar/library/calendar-methods.php:96 msgid "Allow public access to subscriptions in iCal or Google Calendar" msgstr "" -#: modules/notifications/notifications.php:1651 +#: modules/notifications/notifications.php:1659 msgid "Always notify the author of the content:" msgstr "" -#: modules/notifications/notifications.php:1659 +#: modules/notifications/notifications.php:1667 msgid "Always notify users who have edited the content:" msgstr "" -#: modules/calendar/calendar.php:3733 +#: modules/calendar/library/calendar-methods.php:144 msgid "Always show complete post titles" msgstr "" -#: modules/content-board/content-board.php:1511 -#: modules/content-board/content-board.php:1537 -#: modules/content-board/content-board.php:1596 +#: modules/content-board/content-board.php:843 +#: modules/content-board/library/content-board-methods.php:39 +#: modules/content-board/library/content-board-methods.php:107 msgid "An error occured" msgstr "" -#: modules/calendar/calendar.php:1561 modules/calendar/calendar.php:1672 -#: modules/calendar/calendar.php:1710 modules/calendar/calendar.php:1791 -#: modules/content-board/content-board.php:813 -#: modules/content-board/content-board.php:823 -#: modules/content-board/content-board.php:2257 -#: modules/content-board/content-board.php:2368 -#: modules/content-board/content-board.php:2406 -#: modules/content-board/content-board.php:2487 -#: modules/content-board/content-board.php:2596 -#: modules/content-overview/content-overview.php:832 -#: modules/content-overview/content-overview.php:842 -#: modules/content-overview/content-overview.php:2194 -#: modules/content-overview/content-overview.php:2305 -#: modules/content-overview/content-overview.php:2343 -#: modules/content-overview/content-overview.php:2424 +#: modules/content-board/content-board.php:1055 +#: modules/calendar/library/calendar-utilities.php:181 +#: modules/calendar/library/calendar-utilities.php:292 +#: modules/calendar/library/calendar-utilities.php:330 +#: modules/calendar/library/calendar-utilities.php:410 +#: modules/content-board/library/content-board-utilities.php:548 +#: modules/content-board/library/content-board-utilities.php:558 +#: modules/content-board/library/content-board-utilities.php:729 +#: modules/content-board/library/content-board-utilities.php:840 +#: modules/content-board/library/content-board-utilities.php:878 +#: modules/content-board/library/content-board-utilities.php:958 +#: modules/content-overview/library/content-overview-utilities.php:653 +#: modules/content-overview/library/content-overview-utilities.php:663 +#: modules/content-overview/library/content-overview-utilities.php:834 +#: modules/content-overview/library/content-overview-utilities.php:945 +#: modules/content-overview/library/content-overview-utilities.php:983 +#: modules/content-overview/library/content-overview-utilities.php:1063 msgid "Apply" msgstr "" -#: modules/calendar/calendar.php:2227 -#: modules/content-board/content-board.php:1348 -#: modules/content-board/content-board.php:1497 -#: modules/content-overview/content-overview.php:1373 -#: modules/content-overview/content-overview.php:1522 +#: modules/calendar/library/calendar-utilities.php:676 +#: modules/content-board/library/content-board-utilities.php:71 +#: modules/content-board/library/content-board-utilities.php:337 +#: modules/content-board/library/content-board-utilities.php:483 +#: modules/content-overview/library/content-overview-methods.php:302 +#: modules/content-overview/library/content-overview-utilities.php:145 +#: modules/content-overview/library/content-overview-utilities.php:291 msgid "Apply Changes" msgstr "" -#: modules/calendar/calendar.php:798 +#: modules/calendar/library/calendar-methods.php:1134 msgid "Apr" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:371 +#: modules/editorial-metadata/editorial-metadata.php:372 msgid "" "Are you sure you want to delete this term? Any metadata for this term will " "remain but will not be visible unless this term is re-added." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:219 +#: modules/editorial-metadata/editorial-metadata.php:220 msgid "Assignment" msgstr "" @@ -610,41 +594,43 @@ msgstr "" msgid "asynchronous" msgstr "" -#: modules/calendar/calendar.php:3752 +#: modules/calendar/library/calendar-methods.php:164 msgid "At least one post type must be selected" msgstr "" -#: modules/editorial-comments/editorial-comments.php:564 +#: modules/editorial-comments/editorial-comments.php:571 msgid "Attach file" msgstr "" -#: modules/calendar/calendar.php:802 +#: modules/calendar/library/calendar-methods.php:1138 msgid "Aug" msgstr "" -#: modules/calendar/calendar.php:826 modules/calendar/calendar.php:1477 -#: modules/calendar/calendar.php:2011 modules/calendar/calendar.php:2055 -#: modules/calendar/calendar.php:2883 modules/calendar/calendar.php:4583 -#: modules/calendar/calendar.php:4673 -#: modules/content-board/content-board.php:1063 -#: modules/content-board/content-board.php:1074 -#: modules/content-board/content-board.php:1117 -#: modules/content-board/content-board.php:1176 -#: modules/content-board/content-board.php:1811 -#: modules/content-board/content-board.php:2174 -#: modules/content-overview/content-overview.php:1083 -#: modules/content-overview/content-overview.php:1096 -#: modules/content-overview/content-overview.php:1140 -#: modules/content-overview/content-overview.php:1201 -#: modules/content-overview/content-overview.php:1748 -#: modules/content-overview/content-overview.php:2111 -#: modules/content-overview/content-overview.php:2567 +#: modules/calendar/calendar.php:980 modules/calendar/calendar.php:1201 +#: modules/content-board/content-board.php:695 +#: modules/content-board/content-board.php:706 +#: modules/content-board/content-board.php:749 +#: modules/content-board/content-board.php:808 +#: modules/content-overview/content-overview.php:833 +#: modules/content-overview/content-overview.php:846 +#: modules/content-overview/content-overview.php:890 +#: modules/content-overview/content-overview.php:951 +#: modules/content-overview/content-overview.php:1213 +#: modules/calendar/library/calendar-methods.php:787 +#: modules/calendar/library/calendar-methods.php:1162 +#: modules/calendar/library/calendar-utilities.php:98 +#: modules/calendar/library/calendar-utilities.php:1048 +#: modules/calendar/library/calendar-utilities.php:1163 +#: modules/content-board/library/content-board-utilities.php:647 +#: modules/content-board/library/content-board-utilities.php:1180 +#: modules/content-overview/library/content-overview-utilities.php:506 +#: modules/content-overview/library/content-overview-utilities.php:752 #: modules/editorial-comments/library/EditorialCommentsTable.php:228 msgid "Author" msgstr "" #. 1: author name, 2: author email -#: modules/notifications/notifications.php:2071 +#: modules/notifications/notifications.php:2079 #, php-format msgid "Author: %1$s (%2$s )" msgstr "" @@ -661,18 +647,10 @@ msgstr "" msgid "Auto-draft" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1105 +#: modules/improved-notifications/improved-notifications.php:1106 msgid "Available fields" msgstr "" -#: modules/calendar/calendar.php:3067 -msgid "Back %d weeks" -msgstr "" - -#: modules/calendar/calendar.php:3079 -msgid "Back 1 week" -msgstr "" - #: modules/notifications/notifications.php:393 msgid "Back to notify emails" msgstr "" @@ -685,7 +663,7 @@ msgstr "" msgid "Back to notify users" msgstr "" -#: modules/notifications/notifications.php:1667 +#: modules/notifications/notifications.php:1675 msgid "Blacklisted taxonomies for Notifications" msgstr "" @@ -701,58 +679,58 @@ msgstr "" msgid "Body" msgstr "" -#: modules/content-board/content-board.php:819 -#: modules/content-overview/content-overview.php:838 -#: modules/editorial-comments/editorial-comments.php:580 -#: modules/editorial-metadata/editorial-metadata.php:2132 +#: modules/editorial-comments/editorial-comments.php:587 +#: modules/content-board/library/content-board-utilities.php:554 +#: modules/content-overview/library/content-overview-utilities.php:659 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:425 msgid "Cancel" msgstr "" -#: modules/content-board/content-board.php:892 +#: modules/content-board/library/content-board-methods.php:150 msgid "Card Data updated successfully." msgstr "" -#: modules/calendar/calendar.php:4683 -#: modules/content-board/content-board.php:1821 -#: modules/content-overview/content-overview.php:1758 +#: modules/calendar/library/calendar-methods.php:797 +#: modules/content-board/library/content-board-utilities.php:1190 +#: modules/content-overview/library/content-overview-utilities.php:516 #: lib/Notifications/Workflow/Step/Event_Content/Filter/Category.php:34 msgid "Categories" msgstr "" -#: modules/calendar/calendar.php:4588 +#: modules/calendar/library/calendar-utilities.php:1053 #: lib/Notifications/Workflow/Step/Event_Content/Category.php:24 msgid "Category" msgid_plural "Categories" msgstr[0] "" msgstr[1] "" -#: modules/content-board/content-board.php:820 -#: modules/content-overview/content-overview.php:839 +#: modules/content-board/library/content-board-utilities.php:555 +#: modules/content-overview/library/content-overview-utilities.php:660 msgid "Change" msgstr "" -#: modules/content-board/content-board.php:1527 -#: modules/content-board/content-board.php:1585 +#: modules/content-board/library/content-board-methods.php:95 +#: modules/content-board/library/content-board-methods.php:123 msgid "Changes saved!" msgstr "" #: views/user_profile_notification_channels.html.php:15 -#: modules/improved-notifications/improved-notifications.php:477 -#: modules/improved-notifications/improved-notifications.php:1277 +#: modules/improved-notifications/improved-notifications.php:478 +#: modules/improved-notifications/improved-notifications.php:1278 msgid "Channels" msgstr "" -#: publishpress.php:673 +#: publishpress.php:675 msgid "Cheatin’ uh?" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:287 +#: modules/editorial-metadata/editorial-metadata.php:288 msgid "Checkbox" msgstr "" -#: modules/calendar/calendar.php:1692 -#: modules/content-board/content-board.php:2388 -#: modules/content-overview/content-overview.php:2325 +#: modules/calendar/library/calendar-utilities.php:312 +#: modules/content-board/library/content-board-utilities.php:860 +#: modules/content-overview/library/content-overview-utilities.php:965 msgid "Checked" msgstr "" @@ -773,34 +751,34 @@ msgid "Choose Post Types" msgstr "" #: views/user_profile_notification_channels.html.php:6 -#: modules/improved-notifications/improved-notifications.php:471 -#: modules/improved-notifications/improved-notifications.php:1271 +#: modules/improved-notifications/improved-notifications.php:472 +#: modules/improved-notifications/improved-notifications.php:1272 msgid "Choose the channels where each workflow will send notifications to:" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1107 +#: modules/improved-notifications/improved-notifications.php:1108 msgid "Click here to read more about shortcode options..." msgstr "" -#: modules/calendar/calendar.php:2391 +#: modules/calendar/library/calendar-utilities.php:1293 msgid "Click here to subscribe in iCal or Google Calendar" msgstr "" -#: modules/content-board/content-board.php:1108 +#: modules/content-board/content-board.php:740 msgid "Click the \"Add New\" button to create new card data." msgstr "" -#: modules/content-overview/content-overview.php:1130 +#: modules/content-overview/content-overview.php:880 msgid "Click the \"Add New\" button to create new columns." msgstr "" -#: modules/calendar/calendar.php:2046 -#: modules/content-board/content-board.php:1167 -#: modules/content-overview/content-overview.php:1192 +#: modules/content-board/content-board.php:799 +#: modules/content-overview/content-overview.php:942 +#: modules/calendar/library/calendar-utilities.php:1154 msgid "Click the \"Add New\" button to create new filters." msgstr "" -#: modules/calendar/calendar.php:775 +#: modules/calendar/library/calendar-methods.php:1111 msgid "Click to add" msgstr "" @@ -809,25 +787,25 @@ msgid "" "Click to delete the log file. Be careful, this operation can not be undone. " msgstr "" -#: modules/notifications/notifications.php:573 -#: modules/notifications/notifications.php:945 +#: modules/notifications/notifications.php:581 +#: modules/notifications/notifications.php:953 msgid "Click to start being notified on updates for this post" msgstr "" -#: modules/notifications/notifications.php:569 -#: modules/notifications/notifications.php:939 +#: modules/notifications/notifications.php:577 +#: modules/notifications/notifications.php:947 msgid "Click to stop being notified on updates for this post" msgstr "" -#: modules/calendar/calendar.php:780 +#: modules/calendar/library/calendar-methods.php:1116 msgid "Close" msgstr "" -#: modules/content-overview/content-overview.php:1277 +#: modules/content-overview/library/content-overview-utilities.php:52 msgid "Column Title" msgstr "" -#: modules/content-overview/content-overview.php:911 +#: modules/content-overview/content-overview.php:653 msgid "Column updated successfully." msgstr "" @@ -835,11 +813,11 @@ msgstr "" msgid "Comment" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1241 +#: modules/editorial-comments/editorial-comments.php:1248 msgid "Comment author name field:" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1183 +#: modules/editorial-comments/editorial-comments.php:1190 msgid "Comment deleted successfully." msgstr "" @@ -848,7 +826,7 @@ msgstr "" msgid "Comment: %s (%d)" msgstr "" -#: publishpress.php:669 +#: publishpress.php:671 msgid "Configure" msgstr "" @@ -856,43 +834,43 @@ msgstr "" msgid "Contact" msgstr "" -#: modules/calendar/calendar.php:4700 -#: modules/content-board/content-board.php:1838 -#: modules/content-overview/content-overview.php:1775 -#: modules/improved-notifications/improved-notifications.php:1093 +#: modules/improved-notifications/improved-notifications.php:1094 +#: modules/calendar/library/calendar-methods.php:814 +#: modules/content-board/library/content-board-utilities.php:1207 +#: modules/content-overview/library/content-overview-utilities.php:533 #: lib/Notifications/Workflow/Step/Content/Main.php:29 msgid "Content" msgstr "" -#: modules/content-board/content-board.php:134 -#: modules/content-board/content-board.php:394 -#: modules/content-board/content-board.php:411 -#: modules/content-board/content-board.php:412 +#: modules/content-board/content-board.php:142 +#: modules/content-board/content-board.php:379 +#: modules/content-board/content-board.php:396 +#: modules/content-board/content-board.php:397 msgid "Content Board" msgstr "" -#: modules/calendar/calendar.php:209 modules/calendar/calendar.php:464 -#: modules/calendar/calendar.php:481 modules/calendar/calendar.php:482 +#: modules/calendar/calendar.php:216 modules/calendar/calendar.php:414 +#: modules/calendar/calendar.php:431 modules/calendar/calendar.php:432 msgid "Content Calendar" msgstr "" -#: modules/content-overview/content-overview.php:148 -#: modules/content-overview/content-overview.php:418 -#: modules/content-overview/content-overview.php:435 -#: modules/content-overview/content-overview.php:436 +#: modules/content-overview/content-overview.php:156 +#: modules/content-overview/content-overview.php:376 +#: modules/content-overview/content-overview.php:393 +#: modules/content-overview/content-overview.php:394 msgid "Content Overview" msgstr "" -#: modules/notifications-log/notifications-log.php:825 +#: modules/notifications-log/notifications-log.php:832 msgid "Content:" msgstr "" -#: modules/calendar/calendar.php:2385 +#: modules/calendar/library/calendar-utilities.php:1287 msgid "Copy to the clipboard" msgstr "" -#: modules/content-board/content-board.php:1757 -#: modules/content-overview/content-overview.php:1694 +#: modules/content-board/library/content-board-utilities.php:1121 +#: modules/content-overview/library/content-overview-utilities.php:447 #, php-format msgid "Create %s" msgstr "" @@ -901,35 +879,35 @@ msgstr "" msgid "Created on" msgstr "" -#: modules/calendar/calendar.php:2308 +#: modules/calendar/library/calendar-utilities.php:1210 msgid "Current week" msgstr "" -#: modules/content-overview/content-overview.php:1129 +#: modules/content-overview/content-overview.php:879 msgid "Custom Columns" msgstr "" -#: modules/calendar/calendar.php:2045 -#: modules/content-board/content-board.php:1166 -#: modules/content-overview/content-overview.php:1191 +#: modules/content-board/content-board.php:798 +#: modules/content-overview/content-overview.php:941 +#: modules/calendar/library/calendar-utilities.php:1153 msgid "Custom filters" msgstr "" -#: modules/content-board/content-board.php:1107 +#: modules/content-board/content-board.php:739 msgid "Custom Items" msgstr "" -#: modules/content-board/content-board.php:1941 +#: modules/content-board/library/content-board-utilities.php:32 msgid "Customize Card Data" msgstr "" -#: modules/content-overview/content-overview.php:1878 +#: modules/content-overview/library/content-overview-methods.php:263 msgid "Customize Columns" msgstr "" -#: modules/calendar/calendar.php:1828 -#: modules/content-board/content-board.php:1951 -#: modules/content-overview/content-overview.php:1888 +#: modules/calendar/library/calendar-utilities.php:450 +#: modules/content-board/library/content-board-utilities.php:42 +#: modules/content-overview/library/content-overview-methods.php:273 msgid "Customize Filters" msgstr "" @@ -941,11 +919,11 @@ msgstr "" msgid "Dashboard Widgets" msgstr "" -#: modules/calendar/calendar.php:4572 -#: modules/content-board/content-board.php:2000 -#: modules/content-overview/content-overview.php:1937 -#: modules/editorial-metadata/editorial-metadata.php:289 +#: modules/editorial-metadata/editorial-metadata.php:290 #: lib/Notifications/Table/Notifications.php:158 +#: modules/calendar/library/calendar-utilities.php:1037 +#: modules/content-board/library/content-board-utilities.php:116 +#: modules/content-overview/library/content-overview-methods.php:347 #: modules/notifications-log/library/NotificationsLogTable.php:490 msgid "Date" msgstr "" @@ -958,37 +936,37 @@ msgstr "" msgid "Debug data" msgstr "" -#: modules/calendar/calendar.php:806 +#: modules/calendar/library/calendar-methods.php:1142 msgid "Dec" msgstr "" -#: modules/content-board/content-board.php:2586 -#: modules/content-board/content-board.php:2603 +#: modules/content-board/content-board.php:1045 +#: modules/content-board/content-board.php:1062 msgid "Default Date" msgstr "" -#: modules/improved-notifications/improved-notifications.php:221 +#: modules/improved-notifications/improved-notifications.php:222 msgid "Default notification channels:" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2007 -#: modules/editorial-metadata/editorial-metadata.php:2037 -#: modules/editorial-metadata/editorial-metadata.php:2320 -#: modules/editorial-metadata/editorial-metadata.php:2350 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:300 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:330 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:611 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:641 msgid "Default option" msgstr "" -#: modules/calendar/calendar.php:3709 +#: modules/calendar/library/calendar-methods.php:120 msgid "Default publish time for items created in the calendar" msgstr "" -#: modules/editorial-comments/editorial-comments.php:645 -#: modules/editorial-metadata/editorial-metadata.php:2010 -#: modules/editorial-metadata/editorial-metadata.php:2040 -#: modules/editorial-metadata/editorial-metadata.php:2323 -#: modules/editorial-metadata/editorial-metadata.php:2353 -#: modules/editorial-metadata/editorial-metadata.php:2671 +#: modules/editorial-comments/editorial-comments.php:652 #: modules/editorial-comments/library/EditorialCommentsTable.php:434 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:161 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:303 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:333 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:614 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:644 #: modules/notifications-log/library/NotificationsLogTable.php:370 #: modules/notifications-log/library/NotificationsLogTable.php:401 msgid "Delete" @@ -1002,9 +980,9 @@ msgstr "" msgid "Delete file" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1882 -#: modules/editorial-metadata/editorial-metadata.php:2181 -#: modules/editorial-metadata/editorial-metadata.php:2558 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:48 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:176 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:474 msgid "Description" msgstr "" @@ -1012,8 +990,9 @@ msgstr "" msgid "Detailed documentation is also available on the plugin website." msgstr "" -#: modules/calendar/calendar.php:3783 modules/dashboard/dashboard.php:368 -#: modules/dashboard/dashboard.php:391 modules/dashboard/dashboard.php:425 +#: modules/dashboard/dashboard.php:368 modules/dashboard/dashboard.php:391 +#: modules/dashboard/dashboard.php:425 +#: modules/calendar/library/calendar-methods.php:443 msgid "Disabled" msgstr "" @@ -1024,14 +1003,14 @@ msgid "" "loaded file." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1998 -#: modules/editorial-metadata/editorial-metadata.php:2029 -#: modules/editorial-metadata/editorial-metadata.php:2311 -#: modules/editorial-metadata/editorial-metadata.php:2342 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:291 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:322 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:602 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:633 msgid "Display Label" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1268 +#: modules/editorial-comments/editorial-comments.php:1275 msgid "Display Name" msgstr "" @@ -1039,7 +1018,7 @@ msgstr "" msgid "Documentation" msgstr "" -#: modules/calendar/calendar.php:2378 +#: modules/calendar/library/calendar-utilities.php:1280 msgid "Download .ics file" msgstr "" @@ -1047,30 +1026,30 @@ msgstr "" msgid "Draft" msgstr "" -#: modules/content-board/content-board.php:1307 +#: modules/content-board/library/content-board-utilities.php:296 msgid "Drag to change enabled card data order." msgstr "" -#: modules/content-overview/content-overview.php:1332 +#: modules/content-overview/library/content-overview-utilities.php:104 msgid "Drag to change enabled columns order." msgstr "" -#: modules/calendar/calendar.php:2186 -#: modules/content-board/content-board.php:1456 -#: modules/content-overview/content-overview.php:1481 +#: modules/calendar/library/calendar-utilities.php:635 +#: modules/content-board/library/content-board-utilities.php:442 +#: modules/content-overview/library/content-overview-utilities.php:250 msgid "Drag to change enabled filters order." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1965 -#: modules/editorial-metadata/editorial-metadata.php:2280 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:258 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:571 msgid "Dropdown Option" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:288 +#: modules/editorial-metadata/editorial-metadata.php:289 msgid "Dropdown Select" msgstr "" -#: modules/improved-notifications/improved-notifications.php:213 +#: modules/improved-notifications/improved-notifications.php:214 msgid "Duplicated notification threshold:" msgstr "" @@ -1078,18 +1057,18 @@ msgstr "" msgid "E-mails" msgstr "" -#: modules/calendar/calendar.php:817 modules/calendar/calendar.php:2738 -#: modules/calendar/calendar.php:4605 -#: modules/content-board/content-board.php:2715 -#: modules/content-board/content-board.php:2821 -#: modules/content-overview/content-overview.php:2569 -#: modules/content-overview/content-overview.php:3051 -#: modules/editorial-comments/editorial-comments.php:634 -#: modules/editorial-metadata/editorial-metadata.php:2669 +#: modules/content-board/content-board.php:1174 +#: modules/content-board/content-board.php:1280 +#: modules/content-overview/content-overview.php:1215 +#: modules/content-overview/content-overview.php:1697 +#: modules/editorial-comments/editorial-comments.php:641 +#: modules/calendar/library/calendar-methods.php:1153 +#: modules/calendar/library/calendar-utilities.php:1070 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:159 msgid "Edit" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:455 +#: modules/editorial-metadata/editorial-metadata.php:456 msgid "Edit Editorial Fields" msgstr "" @@ -1100,7 +1079,7 @@ msgid "" "deactivate Edit Flow." msgstr "" -#: publishpress.php:1355 +#: publishpress.php:1398 msgid "Edit Notification" msgstr "" @@ -1116,84 +1095,80 @@ msgstr "" msgid "Edit Notify User" msgstr "" -#: modules/calendar/calendar.php:2738 -msgid "Edit this item" -msgstr "" - -#: modules/content-board/content-board.php:2711 -#: modules/content-overview/content-overview.php:3047 +#: modules/content-board/content-board.php:1170 +#: modules/content-overview/content-overview.php:1693 #: modules/dashboard/dashboard.php:299 msgid "Edit this post" msgstr "" -#: modules/notifications/notifications.php:2090 -#: modules/notifications/notifications.php:2147 +#: modules/notifications/notifications.php:2098 +#: modules/notifications/notifications.php:2155 #, php-format msgid "Edit: %s" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1094 +#: modules/improved-notifications/improved-notifications.php:1095 msgid "Editorial Comment" msgstr "" #: modules/editorial-comments/editorial-comments.php:63 -#: modules/editorial-comments/editorial-comments.php:237 -#: modules/editorial-comments/editorial-comments.php:238 -#: modules/editorial-comments/editorial-comments.php:459 +#: modules/editorial-comments/editorial-comments.php:244 +#: modules/editorial-comments/editorial-comments.php:245 +#: modules/editorial-comments/editorial-comments.php:466 msgid "Editorial Comments" msgstr "" -#: modules/calendar/calendar.php:2063 -#: modules/content-board/content-board.php:1124 -#: modules/content-board/content-board.php:1184 -#: modules/content-overview/content-overview.php:1149 -#: modules/content-overview/content-overview.php:1209 -#: modules/editorial-metadata/editorial-metadata.php:96 -#: modules/editorial-metadata/editorial-metadata.php:510 -#: modules/editorial-metadata/editorial-metadata.php:1747 -#: modules/editorial-metadata/editorial-metadata.php:1748 +#: modules/content-board/content-board.php:756 +#: modules/content-board/content-board.php:816 +#: modules/content-overview/content-overview.php:899 +#: modules/content-overview/content-overview.php:959 +#: modules/editorial-metadata/editorial-metadata.php:95 +#: modules/editorial-metadata/editorial-metadata.php:511 +#: modules/editorial-metadata/editorial-metadata.php:1719 +#: modules/editorial-metadata/editorial-metadata.php:1720 +#: modules/calendar/library/calendar-utilities.php:1171 msgid "Editorial Fields" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:114 +#: modules/editorial-metadata/editorial-metadata.php:113 msgid "Editorial fields order updated." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:110 +#: modules/editorial-metadata/editorial-metadata.php:109 msgid "Editorial fields term added." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:113 +#: modules/editorial-metadata/editorial-metadata.php:112 msgid "Editorial fields term deleted." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:112 +#: modules/editorial-metadata/editorial-metadata.php:111 msgid "Editorial fields term doesn't exist." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:111 +#: modules/editorial-metadata/editorial-metadata.php:110 msgid "Editorial fields term updated." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:115 +#: modules/editorial-metadata/editorial-metadata.php:114 msgid "Editorial fields visibility changed." msgstr "" #: views/user_profile_notification_channels.html.php:1 -#: modules/improved-notifications/improved-notifications.php:470 -#: modules/improved-notifications/improved-notifications.php:1270 +#: modules/improved-notifications/improved-notifications.php:471 +#: modules/improved-notifications/improved-notifications.php:1271 msgid "Editorial Notifications" msgstr "" -#: modules/calendar/calendar.php:2358 +#: modules/calendar/library/calendar-utilities.php:1260 msgid "Eight months" msgstr "" -#: modules/calendar/calendar.php:2364 +#: modules/calendar/library/calendar-utilities.php:1266 msgid "Eleven months" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1271 +#: modules/editorial-comments/editorial-comments.php:1278 #: lib/Notifications/Workflow/Step/Channel/Email.php:31 msgid "Email" msgstr "" @@ -1202,62 +1177,63 @@ msgstr "" msgid "email" msgstr "" -#: modules/notifications/notifications.php:1643 +#: modules/notifications/notifications.php:1651 msgid "Email from:" msgstr "" -#: modules/content-overview/content-overview.php:1250 +#: modules/content-overview/library/content-overview-utilities.php:25 msgid "Enable Columns" msgstr "" -#: modules/calendar/calendar.php:2104 -#: modules/content-board/content-board.php:1374 -#: modules/content-overview/content-overview.php:1399 +#: modules/calendar/library/calendar-utilities.php:556 +#: modules/content-board/library/content-board-utilities.php:363 +#: modules/content-overview/library/content-overview-utilities.php:171 msgid "Enable Filters" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1234 +#: modules/editorial-comments/editorial-comments.php:1241 msgid "Enable for these post types:" msgstr "" -#: modules/content-board/content-board.php:1225 +#: modules/content-board/library/content-board-utilities.php:217 msgid "Enable or Disable" msgstr "" -#: modules/content-board/content-board.php:1231 +#: modules/content-board/library/content-board-utilities.php:223 msgid "Enable or Disable Content Board Card Data." msgstr "" -#: modules/content-board/content-board.php:1380 +#: modules/content-board/library/content-board-utilities.php:369 msgid "Enable or Disable Content Board filter." msgstr "" -#: modules/calendar/calendar.php:2110 +#: modules/calendar/library/calendar-utilities.php:562 msgid "Enable or Disable Content calendar filter." msgstr "" -#: modules/content-overview/content-overview.php:1405 +#: modules/content-overview/library/content-overview-utilities.php:177 msgid "Enable or Disable Content Overview filter." msgstr "" -#: modules/content-overview/content-overview.php:1256 +#: modules/content-overview/library/content-overview-utilities.php:31 msgid "Enable or Disable Content Overview table column." msgstr "" -#: modules/calendar/calendar.php:3677 +#: modules/calendar/library/calendar-methods.php:88 msgid "Enable subscriptions in iCal or Google Calendar" msgstr "" -#: modules/calendar/calendar.php:3784 modules/dashboard/dashboard.php:369 -#: modules/dashboard/dashboard.php:392 modules/dashboard/dashboard.php:426 +#: modules/dashboard/dashboard.php:369 modules/dashboard/dashboard.php:392 +#: modules/dashboard/dashboard.php:426 +#: modules/calendar/library/calendar-methods.php:444 msgid "Enabled" msgstr "" -#: modules/modules-settings/modules-settings.php:219 +#: modules/modules-settings/modules-settings.php:223 msgid "Enabled features" msgstr "" -#: modules/calendar/calendar.php:2326 +#: modules/calendar/library/calendar-utilities.php:1228 msgid "End date" msgstr "" @@ -1265,14 +1241,14 @@ msgstr "" msgid "Enhance the power of PublishPress Planner with the Pro version:" msgstr "" -#: modules/notifications/notifications.php:638 +#: modules/notifications/notifications.php:646 msgid "" "Enter any users, roles, or email address that should receive notifications " "from workflows." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1970 -#: modules/editorial-metadata/editorial-metadata.php:2283 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:263 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:574 msgid "" "Enter the dropdown option value and label. You can move options to change " "their order." @@ -1283,27 +1259,27 @@ msgstr "" msgid "Error" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1359 +#: modules/editorial-metadata/editorial-metadata.php:1331 msgid "Error adding term." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1618 +#: modules/editorial-metadata/editorial-metadata.php:1590 msgid "Error deleting term." msgstr "" -#: modules/content-board/content-board.php:1551 +#: modules/content-board/library/content-board-methods.php:53 msgid "Error fetching post data." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1509 -#: modules/editorial-metadata/editorial-metadata.php:1552 +#: modules/editorial-metadata/editorial-metadata.php:1481 +#: modules/editorial-metadata/editorial-metadata.php:1524 msgid "Error updating term." msgstr "" -#: modules/content-board/content-board.php:1515 -#: modules/content-board/content-board.php:1541 -#: modules/content-board/content-board.php:1600 -#: modules/content-overview/content-overview.php:1538 +#: modules/content-board/content-board.php:847 +#: modules/content-overview/content-overview.php:990 +#: modules/content-board/library/content-board-methods.php:43 +#: modules/content-board/library/content-board-methods.php:111 msgid "Error validating nonce. Please reload this page and try again." msgstr "" @@ -1316,13 +1292,13 @@ msgstr "" msgid "Excerpt View" msgstr "" -#: modules/improved-notifications/improved-notifications.php:249 +#: modules/improved-notifications/improved-notifications.php:250 msgid "Existing Post is updated" msgstr "" -#: modules/calendar/calendar.php:1731 -#: modules/content-board/content-board.php:2427 -#: modules/content-overview/content-overview.php:2364 +#: modules/calendar/library/calendar-utilities.php:351 +#: modules/content-board/library/content-board-utilities.php:899 +#: modules/content-overview/library/content-overview-utilities.php:1004 #: modules/notifications-log/library/NotificationsLogTable.php:271 #: modules/notifications-log/library/NotificationsLogTable.php:287 msgid "Failed" @@ -1336,23 +1312,23 @@ msgstr "" msgid "Features" msgstr "" -#: modules/calendar/calendar.php:796 +#: modules/calendar/library/calendar-methods.php:1132 msgid "Feb" msgstr "" -#: modules/modules-settings/modules-settings.php:213 +#: modules/modules-settings/modules-settings.php:217 msgid "Feel free to select only the features you need." msgstr "" -#: modules/improved-notifications/improved-notifications.php:1100 +#: modules/improved-notifications/improved-notifications.php:1101 msgid "field" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2557 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:47 msgid "Field Type" msgstr "" -#: modules/calendar/calendar.php:3717 +#: modules/calendar/library/calendar-methods.php:128 msgid "Field used for sorting the calendar items in a day cell" msgstr "" @@ -1377,7 +1353,7 @@ msgstr "" msgid "Filter by notify user" msgstr "" -#: modules/calendar/calendar.php:1943 +#: modules/calendar/calendar.php:912 msgid "Filter reset successfully." msgstr "" @@ -1385,71 +1361,63 @@ msgstr "" msgid "Filter the content?" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1930 -#: modules/editorial-metadata/editorial-metadata.php:2246 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:223 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:537 msgid "" "Filter the list of users in the editorial meta to users in the selected " "roles." msgstr "" -#: modules/calendar/calendar.php:2131 -#: modules/content-board/content-board.php:1401 -#: modules/content-overview/content-overview.php:1426 +#: modules/calendar/library/calendar-utilities.php:583 +#: modules/content-board/library/content-board-utilities.php:390 +#: modules/content-overview/library/content-overview-utilities.php:198 msgid "Filter Title" msgstr "" -#: modules/calendar/calendar.php:1938 -#: modules/content-board/content-board.php:906 -#: modules/content-overview/content-overview.php:925 +#: modules/calendar/calendar.php:907 +#: modules/content-overview/content-overview.php:667 +#: modules/content-board/library/content-board-methods.php:164 msgid "Filter updated successfully." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:211 +#: modules/editorial-metadata/editorial-metadata.php:212 msgid "First Draft Date" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1269 +#: modules/editorial-comments/editorial-comments.php:1276 msgid "First Name" msgstr "" -#: modules/calendar/calendar.php:2352 +#: modules/calendar/library/calendar-utilities.php:1254 msgid "Five months" msgstr "" -#: modules/calendar/calendar.php:2318 +#: modules/calendar/library/calendar-utilities.php:1220 msgid "Five months ago" msgstr "" -#: modules/improved-notifications/improved-notifications.php:945 +#: modules/improved-notifications/improved-notifications.php:946 #: modules/notifications-log/library/NotificationsLogTable.php:492 msgid "For which content?" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1097 +#: modules/improved-notifications/improved-notifications.php:1098 msgid "Format" msgstr "" -#: modules/calendar/calendar.php:3033 -msgid "Forward %d weeks" -msgstr "" - -#: modules/calendar/calendar.php:3018 -msgid "Forward 1 week" -msgstr "" - -#: modules/calendar/calendar.php:2350 +#: modules/calendar/library/calendar-utilities.php:1252 msgid "Four months" msgstr "" -#: modules/calendar/calendar.php:2316 +#: modules/calendar/library/calendar-utilities.php:1218 msgid "Four months ago" msgstr "" -#: modules/calendar/calendar.php:2337 +#: modules/calendar/library/calendar-utilities.php:1239 msgid "Four weeks" msgstr "" -#: modules/calendar/calendar.php:793 +#: modules/calendar/library/calendar-methods.php:1129 msgid "Fri" msgstr "" @@ -1457,11 +1425,11 @@ msgstr "" msgid "From date" msgstr "" -#: modules/improved-notifications/improved-notifications.php:915 +#: modules/improved-notifications/improved-notifications.php:916 msgid "Help" msgstr "" -#: modules/calendar/calendar.php:777 +#: modules/calendar/library/calendar-methods.php:1113 #, php-format msgid "Hide the %s last items" msgstr "" @@ -1474,20 +1442,20 @@ msgstr "" msgid "https://publishpress.com/" msgstr "" -#: modules/calendar/calendar.php:243 +#: modules/calendar/calendar.php:250 msgid "" "iCal secret key regenerated. Please inform all users they will need to " "resubscribe." msgstr "" -#: modules/calendar/calendar.php:4567 #: lib/Notifications/Table/Notifications.php:159 #: lib/Notifications/Table/Workflows.php:143 +#: modules/calendar/library/calendar-utilities.php:1032 msgid "ID" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2068 -#: modules/editorial-metadata/editorial-metadata.php:2383 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:361 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:674 msgid "" "If enabled, this field will be available when adding new posts on the " "Content Calendar and Overview screen." @@ -1508,30 +1476,30 @@ msgid "" "don't hesitate to contact the support team. E-mail us:" msgstr "" -#: modules/content-board/content-board.php:1114 +#: modules/content-board/content-board.php:746 msgid "Inbuilt Card Data" msgstr "" -#: modules/content-overview/content-overview.php:1136 +#: modules/content-overview/content-overview.php:886 msgid "Inbuilt Columns" msgstr "" -#: modules/calendar/calendar.php:2052 -#: modules/content-board/content-board.php:1173 -#: modules/content-overview/content-overview.php:1198 +#: modules/content-board/content-board.php:805 +#: modules/content-overview/content-overview.php:948 +#: modules/calendar/library/calendar-utilities.php:1160 msgid "Inbuilt filters" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1958 -#: modules/editorial-metadata/editorial-metadata.php:2275 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:251 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:566 msgid "Indicate the select type." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2219 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:511 msgid "Indicate the type of editorial fields." msgstr "" -#: modules/calendar/calendar.php:2463 +#: modules/calendar/calendar.php:1150 msgid "Initializing the calendar. Please wait..." msgstr "" @@ -1551,33 +1519,33 @@ msgstr "" msgid "Invalid channel for the notification" msgstr "" -#: modules/editorial-comments/editorial-comments.php:757 -#: modules/editorial-comments/editorial-comments.php:898 -#: modules/editorial-comments/editorial-comments.php:1030 -#: modules/editorial-comments/editorial-comments.php:1146 +#: modules/editorial-comments/editorial-comments.php:764 +#: modules/editorial-comments/editorial-comments.php:905 +#: modules/editorial-comments/editorial-comments.php:1037 +#: modules/editorial-comments/editorial-comments.php:1153 msgid "Invalid comment data" msgstr "" -#: modules/calendar/calendar.php:4428 +#: modules/calendar/library/calendar-methods.php:724 msgid "Invalid date" msgstr "" -#: modules/content-board/content-board.php:1517 -#: modules/content-board/content-board.php:1543 -#: modules/content-board/content-board.php:1602 -#: modules/content-overview/content-overview.php:1540 +#: modules/content-board/content-board.php:849 +#: modules/content-overview/content-overview.php:992 +#: modules/content-board/library/content-board-methods.php:45 +#: modules/content-board/library/content-board-methods.php:113 msgid "Invalid form request." msgstr "" -#: modules/calendar/calendar.php:4408 +#: modules/calendar/library/calendar-methods.php:704 msgid "Invalid input" msgstr "" -#: core/Error.php:80 modules/calendar/calendar.php:4399 +#: core/Error.php:80 modules/calendar/library/calendar-methods.php:695 msgid "Invalid nonce" msgstr "" -#: modules/calendar/calendar.php:4866 +#: modules/calendar/library/calendar-methods.php:1658 msgid "Invalid Publish Date supplied." msgstr "" @@ -1585,47 +1553,47 @@ msgstr "" msgid "Invalid receiver for the notification" msgstr "" -#: modules/calendar/calendar.php:4842 +#: modules/calendar/library/calendar-methods.php:1634 msgid "Invalid Status supplied." msgstr "" -#: modules/calendar/calendar.php:2467 +#: modules/calendar/calendar.php:1154 msgid "" "It seems like it is taking too long. Please, try reloading the page again " "and check the browser console looking for errors." msgstr "" -#: modules/calendar/calendar.php:795 +#: modules/calendar/library/calendar-methods.php:1131 msgid "Jan" msgstr "" -#: modules/calendar/calendar.php:801 +#: modules/calendar/library/calendar-methods.php:1137 msgid "Jul" msgstr "" -#: modules/calendar/calendar.php:800 +#: modules/calendar/library/calendar-methods.php:1136 msgid "Jun" msgstr "" -#: modules/content-overview/content-overview.php:1085 -#: modules/content-overview/content-overview.php:1142 +#: modules/content-overview/content-overview.php:835 +#: modules/content-overview/content-overview.php:892 msgid "Last Modified" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1270 +#: modules/editorial-comments/editorial-comments.php:1277 msgid "Last Name" msgstr "" -#: modules/calendar/calendar.php:774 +#: modules/calendar/library/calendar-methods.php:1110 msgid "Loading item..." msgstr "" -#: modules/calendar/calendar.php:773 -#: modules/notifications-log/notifications-log.php:210 +#: modules/notifications-log/notifications-log.php:217 +#: modules/calendar/library/calendar-methods.php:1109 msgid "Loading..." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:290 +#: modules/editorial-metadata/editorial-metadata.php:291 msgid "Location" msgstr "" @@ -1641,22 +1609,28 @@ msgstr "" msgid "Log file not found." msgstr "" -#: modules/calendar/calendar.php:797 +#: modules/calendar/library/calendar-methods.php:1133 msgid "Mar" msgstr "" -#: modules/calendar/calendar.php:3725 +#: modules/calendar/library/calendar-methods.php:136 msgid "Max visible posts per date" msgstr "" -#: modules/calendar/calendar.php:799 +#: modules/content-board/library/content-board-utilities.php:63 +#: modules/content-overview/library/content-overview-methods.php:294 +msgid "Maximum Post Results" +msgstr "" + +#: modules/calendar/library/calendar-methods.php:1135 msgid "May" msgstr "" -#: modules/calendar/calendar.php:1264 modules/calendar/calendar.php:1822 -#: modules/calendar/calendar.php:1823 -#: modules/content-board/content-board.php:1937 -#: modules/content-overview/content-overview.php:1874 +#: modules/calendar/calendar.php:730 +#: modules/calendar/library/calendar-utilities.php:444 +#: modules/calendar/library/calendar-utilities.php:445 +#: modules/content-board/library/content-board-utilities.php:28 +#: modules/content-overview/library/content-overview-methods.php:259 msgid "Me Mode" msgstr "" @@ -1664,22 +1638,22 @@ msgstr "" msgid "Message" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1106 +#: modules/improved-notifications/improved-notifications.php:1107 msgid "Meta fields" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1992 -#: modules/editorial-metadata/editorial-metadata.php:2023 -#: modules/editorial-metadata/editorial-metadata.php:2305 -#: modules/editorial-metadata/editorial-metadata.php:2336 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:285 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:316 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:596 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:627 msgid "Meta Value" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1451 +#: modules/editorial-metadata/editorial-metadata.php:1423 msgid "Metadata name conflicts with existing term. Please choose another." msgstr "" -#: modules/improved-notifications/improved-notifications.php:420 +#: modules/improved-notifications/improved-notifications.php:421 msgid "minutes" msgstr "" @@ -1691,7 +1665,7 @@ msgstr "" msgid "Modified on" msgstr "" -#: modules/calendar/calendar.php:789 +#: modules/calendar/library/calendar-methods.php:1125 msgid "Mon" msgstr "" @@ -1707,28 +1681,27 @@ msgstr "" msgid "Most Used Notify User" msgstr "" -#: modules/content-board/content-board.php:2637 -#: modules/content-board/content-board.php:2779 +#: modules/content-board/content-board.php:1022 msgid "Move posts here to change their status" msgstr "" -#: modules/content-board/content-board.php:2723 -#: modules/content-overview/content-overview.php:3059 +#: modules/content-board/content-board.php:1182 +#: modules/content-overview/content-overview.php:1705 msgid "Move this item to the Trash" msgstr "" -#: modules/calendar/calendar.php:776 +#: modules/calendar/library/calendar-methods.php:1112 msgid "Moving the item..." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1941 -#: modules/editorial-metadata/editorial-metadata.php:2255 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:234 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:546 msgid "Multiple Select" msgstr "" -#: modules/improved-notifications/improved-notifications.php:475 -#: modules/improved-notifications/improved-notifications.php:1258 -#: modules/improved-notifications/improved-notifications.php:1275 +#: modules/improved-notifications/improved-notifications.php:476 +#: modules/improved-notifications/improved-notifications.php:1259 +#: modules/improved-notifications/improved-notifications.php:1276 msgid "Muted" msgstr "" @@ -1736,27 +1709,27 @@ msgstr "" msgid "My Content Notifications" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2150 -#: modules/editorial-metadata/editorial-metadata.php:2555 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:45 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:443 msgid "Name" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1300 -#: modules/editorial-metadata/editorial-metadata.php:1460 +#: modules/editorial-metadata/editorial-metadata.php:1272 +#: modules/editorial-metadata/editorial-metadata.php:1432 msgid "Name already in use. Please choose another." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1310 -#: modules/editorial-metadata/editorial-metadata.php:1317 -#: modules/editorial-metadata/editorial-metadata.php:1473 +#: modules/editorial-metadata/editorial-metadata.php:1282 +#: modules/editorial-metadata/editorial-metadata.php:1289 +#: modules/editorial-metadata/editorial-metadata.php:1445 msgid "Name cannot exceed 200 characters. Please try a shorter name." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1293 +#: modules/editorial-metadata/editorial-metadata.php:1265 msgid "Name conflicts with existing term. Please choose another." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1465 +#: modules/editorial-metadata/editorial-metadata.php:1437 msgid "" "Name conflicts with slug for another term. Please choose something else." msgstr "" @@ -1769,7 +1742,7 @@ msgstr "" msgid "New" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:458 +#: modules/editorial-metadata/editorial-metadata.php:459 msgid "New Editorial Fields" msgstr "" @@ -1785,16 +1758,16 @@ msgstr "" msgid "New Notify User" msgstr "" -#: modules/content-board/content-board.php:1968 -#: modules/content-overview/content-overview.php:1905 +#: modules/content-board/library/content-board-utilities.php:84 +#: modules/content-overview/library/content-overview-methods.php:315 msgid "New Post" msgstr "" -#: modules/improved-notifications/improved-notifications.php:291 +#: modules/improved-notifications/improved-notifications.php:292 msgid "New Post is created in Draft status" msgstr "" -#: modules/improved-notifications/improved-notifications.php:340 +#: modules/improved-notifications/improved-notifications.php:341 msgid "New Post is Published" msgstr "" @@ -1807,32 +1780,32 @@ msgstr "" msgid "New status" msgstr "" -#: modules/calendar/calendar.php:822 -#: modules/content-board/content-board.php:2826 -#: modules/content-overview/content-overview.php:2574 +#: modules/content-board/content-board.php:1285 +#: modules/content-overview/content-overview.php:1220 +#: modules/calendar/library/calendar-methods.php:1158 msgid "Next Post" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1266 +#: modules/editorial-comments/editorial-comments.php:1273 msgid "Nickname" msgstr "" -#: modules/calendar/calendar.php:2360 +#: modules/calendar/library/calendar-utilities.php:1262 msgid "Nine months" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2057 -#: modules/editorial-metadata/editorial-metadata.php:2368 #: modules/editorial-metadata/input-handlers/editorial-metadata-input-checkbox-handler.php:143 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:350 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:659 msgid "No" msgstr "" -#: modules/notifications/notifications.php:707 +#: modules/notifications/notifications.php:715 #, php-format msgid "No active notifications found for this %s." msgstr "" -#: modules/calendar/calendar.php:4801 +#: modules/calendar/library/calendar-methods.php:1593 msgid "No date supplied." msgstr "" @@ -1840,19 +1813,19 @@ msgstr "" msgid "No editorial comments." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2645 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:135 msgid "No editorial fields found." msgstr "" -#: modules/calendar/calendar.php:4419 +#: modules/calendar/library/calendar-methods.php:715 msgid "No enough permissions" msgstr "" -#: publishpress.php:1359 publishpress.php:1360 +#: publishpress.php:1402 publishpress.php:1403 msgid "No notification found" msgstr "" -#: modules/notifications-log/notifications-log.php:284 +#: modules/notifications-log/notifications-log.php:291 msgid "No notifications found." msgstr "" @@ -1871,12 +1844,12 @@ msgstr "" msgid "No notify users" msgstr "" -#: modules/content-board/content-board.php:2800 -#: modules/content-overview/content-overview.php:2543 +#: modules/content-board/content-board.php:1259 +#: modules/content-overview/content-overview.php:1189 msgid "No results found" msgstr "" -#: modules/calendar/calendar.php:815 +#: modules/calendar/library/calendar-methods.php:1151 msgid "No terms" msgstr "" @@ -1884,23 +1857,22 @@ msgstr "" msgid "No workflows found." msgstr "" -#: modules/editorial-comments/editorial-comments.php:749 +#: modules/editorial-comments/editorial-comments.php:756 msgid "" "Nonce check failed. Please ensure you're supposed to be adding editorial " "comments." msgstr "" -#: modules/editorial-comments/editorial-comments.php:887 -#: modules/editorial-comments/editorial-comments.php:1019 -#: modules/editorial-comments/editorial-comments.php:1136 +#: modules/editorial-comments/editorial-comments.php:894 +#: modules/editorial-comments/editorial-comments.php:1026 +#: modules/editorial-comments/editorial-comments.php:1143 msgid "" "Nonce check failed. Please ensure you're supposed to be editing editorial " "comments." msgstr "" -#: modules/calendar/calendar.php:2718 -#: modules/content-board/content-board.php:3137 -#: modules/content-overview/content-overview.php:2927 +#: modules/content-board/content-board.php:1596 +#: modules/content-overview/content-overview.php:1573 msgid "None" msgstr "" @@ -1912,8 +1884,8 @@ msgstr "" msgid "Notepad" msgstr "" -#: publishpress.php:1353 publishpress.php:1358 -#: modules/notifications-log/notifications-log.php:209 +#: publishpress.php:1396 publishpress.php:1401 +#: modules/notifications-log/notifications-log.php:216 msgid "Notification" msgstr "" @@ -1921,17 +1893,17 @@ msgstr "" msgid "Notification log not found" msgstr "" -#: publishpress.php:1352 publishpress.php:1357 +#: publishpress.php:1395 publishpress.php:1400 #: modules/notifications/notifications.php:72 -#: modules/notifications/notifications.php:601 +#: modules/notifications/notifications.php:609 msgid "Notifications" msgstr "" -#: modules/improved-notifications/improved-notifications.php:863 +#: modules/improved-notifications/improved-notifications.php:864 #: modules/notifications-log/notifications-log.php:75 -#: modules/notifications-log/notifications-log.php:263 -#: modules/notifications-log/notifications-log.php:489 -#: modules/notifications-log/notifications-log.php:490 +#: modules/notifications-log/notifications-log.php:270 +#: modules/notifications-log/notifications-log.php:496 +#: modules/notifications-log/notifications-log.php:497 msgid "Notifications Log" msgstr "" @@ -1946,12 +1918,12 @@ msgstr "" msgid "Notify Emails" msgstr "" -#: modules/notifications/notifications.php:574 -#: modules/notifications/notifications.php:944 +#: modules/notifications/notifications.php:582 +#: modules/notifications/notifications.php:952 msgid "Notify me" msgstr "" -#: modules/improved-notifications/improved-notifications.php:375 +#: modules/improved-notifications/improved-notifications.php:376 msgid "Notify on editorial comments" msgstr "" @@ -1977,15 +1949,15 @@ msgstr "" msgid "Notify Users" msgstr "" -#: modules/calendar/calendar.php:805 +#: modules/calendar/library/calendar-methods.php:1141 msgid "Nov" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:291 +#: modules/editorial-metadata/editorial-metadata.php:292 msgid "Number" msgstr "" -#: modules/calendar/calendar.php:804 +#: modules/calendar/library/calendar-methods.php:1140 msgid "Oct" msgstr "" @@ -1994,41 +1966,41 @@ msgstr "" msgid "Old post status: %s" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1101 +#: modules/improved-notifications/improved-notifications.php:1102 msgid "" "On each shortcode, you can select one or more fields. If more than one, they " "will be displayed separated by \", \"." msgstr "" -#: modules/calendar/calendar.php:2343 +#: modules/calendar/library/calendar-utilities.php:1245 msgid "One month" msgstr "" -#: modules/calendar/calendar.php:2310 +#: modules/calendar/library/calendar-utilities.php:1212 msgid "One month ago" msgstr "" -#: modules/calendar/calendar.php:2331 +#: modules/calendar/library/calendar-utilities.php:1233 msgid "One week" msgstr "" -#: modules/content-board/content-board.php:2637 -#: modules/content-board/content-board.php:2779 +#: modules/content-board/content-board.php:1096 +#: modules/content-board/content-board.php:1238 msgid "Only editable posts will be moveable." msgstr "" -#: modules/improved-notifications/improved-notifications.php:906 +#: modules/improved-notifications/improved-notifications.php:907 msgid "Options" msgstr "" -#: modules/calendar/calendar.php:251 +#: modules/calendar/calendar.php:258 #: modules/editorial-comments/editorial-comments.php:82 -#: modules/editorial-metadata/editorial-metadata.php:120 +#: modules/editorial-metadata/editorial-metadata.php:119 #: modules/notifications/notifications.php:93 msgid "Overview" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:292 +#: modules/editorial-metadata/editorial-metadata.php:293 msgid "Paragraph" msgstr "" @@ -2056,9 +2028,9 @@ msgstr "" msgid "Parent Notify User:" msgstr "" -#: modules/calendar/calendar.php:1730 -#: modules/content-board/content-board.php:2426 -#: modules/content-overview/content-overview.php:2363 +#: modules/calendar/library/calendar-utilities.php:350 +#: modules/content-board/library/content-board-utilities.php:898 +#: modules/content-overview/library/content-overview-utilities.php:1003 msgid "Passed" msgstr "" @@ -2070,40 +2042,41 @@ msgstr "" msgid "Pending Review" msgstr "" -#: modules/calendar/calendar.php:1857 modules/calendar/calendar.php:1858 +#: modules/calendar/library/calendar-utilities.php:479 +#: modules/calendar/library/calendar-utilities.php:480 msgid "Period" msgstr "" -#: publishpress.php:588 +#: publishpress.php:590 msgid "Planner" msgstr "" -#: publishpress.php:672 +#: publishpress.php:674 msgid "Please correct your form errors below and try again." msgstr "" -#: modules/editorial-comments/editorial-comments.php:780 -#: modules/editorial-comments/editorial-comments.php:944 +#: modules/editorial-comments/editorial-comments.php:787 +#: modules/editorial-comments/editorial-comments.php:951 msgid "Please enter a comment." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1437 +#: modules/editorial-metadata/editorial-metadata.php:1409 msgid "Please enter a name for the editorial fields" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1280 +#: modules/editorial-metadata/editorial-metadata.php:1252 msgid "Please enter a name for the editorial fields." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1287 +#: modules/editorial-metadata/editorial-metadata.php:1259 msgid "Please enter a slug for the editorial fields." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1442 +#: modules/editorial-metadata/editorial-metadata.php:1414 msgid "Please enter a valid, non-numeric name for the editorial fields." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1327 +#: modules/editorial-metadata/editorial-metadata.php:1299 msgid "Please select a valid metadata type." msgstr "" @@ -2111,13 +2084,13 @@ msgstr "" msgid "Please select at least one event" msgstr "" -#: modules/calendar/calendar.php:787 -#: modules/content-board/content-board.php:1766 -#: modules/content-overview/content-overview.php:1703 +#: modules/calendar/library/calendar-methods.php:1123 +#: modules/content-board/library/content-board-utilities.php:1130 +#: modules/content-overview/library/content-overview-utilities.php:456 msgid "Please, wait! Loading the form fields..." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:453 +#: modules/editorial-metadata/editorial-metadata.php:454 msgid "Popular Editorial Fields" msgstr "" @@ -2133,7 +2106,7 @@ msgstr "" msgid "Popular Notify Users" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2554 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:44 msgid "Position" msgstr "" @@ -2141,27 +2114,27 @@ msgstr "" msgid "Post" msgstr "" -#: modules/calendar/calendar.php:4942 +#: modules/calendar/library/calendar-methods.php:1734 msgid "Post could not be created" msgstr "" -#: modules/calendar/calendar.php:4935 +#: modules/calendar/library/calendar-methods.php:1727 msgid "Post created successfully" msgstr "" -#: modules/calendar/calendar.php:816 -#: modules/content-board/content-board.php:2820 -#: modules/content-overview/content-overview.php:1084 -#: modules/content-overview/content-overview.php:1141 -#: modules/content-overview/content-overview.php:2568 +#: modules/content-board/content-board.php:1279 +#: modules/content-overview/content-overview.php:834 +#: modules/content-overview/content-overview.php:891 +#: modules/content-overview/content-overview.php:1214 +#: modules/calendar/library/calendar-methods.php:1152 msgid "Post Date" msgstr "" -#: modules/calendar/calendar.php:233 +#: modules/calendar/calendar.php:240 msgid "Post date updated." msgstr "" -#: publishpress.php:678 +#: publishpress.php:680 msgid "Post does not exist" msgstr "" @@ -2169,25 +2142,28 @@ msgstr "" msgid "Post ID: %d" msgstr "" -#: modules/calendar/calendar.php:4414 +#: modules/calendar/library/calendar-methods.php:710 msgid "Post not found" msgstr "" -#: modules/calendar/calendar.php:823 modules/calendar/calendar.php:1422 -#: modules/calendar/calendar.php:2054 modules/calendar/calendar.php:4026 -#: modules/calendar/calendar.php:4578 modules/calendar/calendar.php:4658 -#: modules/content-board/content-board.php:1175 -#: modules/content-board/content-board.php:1796 -#: modules/content-board/content-board.php:2121 -#: modules/content-board/content-board.php:2827 -#: modules/content-overview/content-overview.php:1200 -#: modules/content-overview/content-overview.php:1733 -#: modules/content-overview/content-overview.php:2058 -#: modules/content-overview/content-overview.php:2575 +#: modules/content-board/content-board.php:807 +#: modules/content-board/content-board.php:1286 +#: modules/content-overview/content-overview.php:950 +#: modules/content-overview/content-overview.php:1221 +#: modules/calendar/library/calendar-methods.php:353 +#: modules/calendar/library/calendar-methods.php:772 +#: modules/calendar/library/calendar-methods.php:1159 +#: modules/calendar/library/calendar-utilities.php:43 +#: modules/calendar/library/calendar-utilities.php:1043 +#: modules/calendar/library/calendar-utilities.php:1162 +#: modules/content-board/library/content-board-utilities.php:594 +#: modules/content-board/library/content-board-utilities.php:1165 +#: modules/content-overview/library/content-overview-utilities.php:491 +#: modules/content-overview/library/content-overview-utilities.php:699 msgid "Post Status" msgstr "" -#: modules/calendar/calendar.php:234 +#: modules/calendar/calendar.php:241 msgid "Post status updated." msgstr "" @@ -2195,21 +2171,22 @@ msgstr "" msgid "Post Status Widget" msgstr "" -#: modules/calendar/calendar.php:1508 modules/calendar/calendar.php:2012 -#: modules/calendar/calendar.php:2056 modules/calendar/calendar.php:2891 -#: modules/calendar/calendar.php:4562 -#: modules/content-board/content-board.php:1062 -#: modules/content-board/content-board.php:1075 -#: modules/content-board/content-board.php:1116 -#: modules/content-board/content-board.php:1177 -#: modules/content-board/content-board.php:1784 -#: modules/content-board/content-board.php:2204 -#: modules/content-overview/content-overview.php:1082 -#: modules/content-overview/content-overview.php:1097 -#: modules/content-overview/content-overview.php:1139 -#: modules/content-overview/content-overview.php:1202 -#: modules/content-overview/content-overview.php:1721 -#: modules/content-overview/content-overview.php:2141 +#: modules/calendar/calendar.php:981 modules/calendar/calendar.php:1209 +#: modules/content-board/content-board.php:694 +#: modules/content-board/content-board.php:707 +#: modules/content-board/content-board.php:748 +#: modules/content-board/content-board.php:809 +#: modules/content-overview/content-overview.php:832 +#: modules/content-overview/content-overview.php:847 +#: modules/content-overview/content-overview.php:889 +#: modules/content-overview/content-overview.php:952 +#: modules/calendar/library/calendar-utilities.php:129 +#: modules/calendar/library/calendar-utilities.php:1027 +#: modules/calendar/library/calendar-utilities.php:1164 +#: modules/content-board/library/content-board-utilities.php:677 +#: modules/content-board/library/content-board-utilities.php:1153 +#: modules/content-overview/library/content-overview-utilities.php:479 +#: modules/content-overview/library/content-overview-utilities.php:782 msgid "Post Type" msgstr "" @@ -2217,11 +2194,11 @@ msgstr "" msgid "Post type" msgstr "" -#: modules/calendar/calendar.php:785 +#: modules/calendar/library/calendar-methods.php:1121 msgid "Post type not found" msgstr "" -#: modules/calendar/calendar.php:786 +#: modules/calendar/library/calendar-methods.php:1122 msgid "Post type:" msgstr "" @@ -2230,17 +2207,17 @@ msgstr "" msgid "Post type: %s" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2556 +#: modules/editorial-metadata/library/editorial-metadata-list-table.php:46 #: lib/Notifications/Workflow/Step/Event_Content/Filter/Post_Type.php:34 msgid "Post Types" msgstr "" -#: modules/calendar/calendar.php:3669 +#: modules/calendar/library/calendar-methods.php:80 msgid "Post types to show" msgstr "" -#: modules/content-board/content-board.php:253 -#: modules/content-overview/content-overview.php:263 +#: modules/content-board/library/content-board-methods.php:444 +#: modules/content-overview/library/content-overview-methods.php:167 msgid "Post types to show:" msgstr "" @@ -2248,29 +2225,28 @@ msgstr "" msgid "Posts at a Glance" msgstr "" -#: modules/calendar/calendar.php:3701 +#: modules/calendar/library/calendar-methods.php:112 msgid "Posts publish time format" msgstr "" -#: modules/calendar/calendar.php:819 modules/calendar/calendar.php:2762 -#: modules/calendar/calendar.php:4622 -#: modules/content-board/content-board.php:2756 -#: modules/content-board/content-board.php:2823 -#: modules/content-overview/content-overview.php:2571 -#: modules/content-overview/content-overview.php:3092 +#: modules/content-board/content-board.php:1215 +#: modules/content-board/content-board.php:1282 +#: modules/content-overview/content-overview.php:1217 +#: modules/content-overview/content-overview.php:1738 +#: modules/calendar/library/calendar-methods.php:1155 +#: modules/calendar/library/calendar-utilities.php:1087 msgid "Preview" msgstr "" -#: modules/calendar/calendar.php:2759 -#: modules/content-board/content-board.php:2753 -#: modules/content-overview/content-overview.php:3089 +#: modules/content-board/content-board.php:1212 +#: modules/content-overview/content-overview.php:1735 #, php-format msgid "Preview “%s”" msgstr "" -#: modules/calendar/calendar.php:821 -#: modules/content-board/content-board.php:2825 -#: modules/content-overview/content-overview.php:2573 +#: modules/content-board/content-board.php:1284 +#: modules/content-overview/content-overview.php:1219 +#: modules/calendar/library/calendar-methods.php:1157 msgid "Previous Post" msgstr "" @@ -2278,34 +2254,35 @@ msgstr "" msgid "Previous status" msgstr "" -#: modules/content-board/content-board.php:1960 -#: modules/content-overview/content-overview.php:1897 +#: modules/content-board/library/content-board-utilities.php:51 +#: modules/content-overview/library/content-overview-methods.php:282 msgid "Print" msgstr "" -#: common/php/class-module.php:330 modules/content-board/content-board.php:2545 +#: common/php/class-module.php:330 modules/content-board/content-board.php:985 msgid "Private" msgstr "" -#: modules/content-board/content-board.php:1802 -#: modules/content-overview/content-overview.php:1739 +#: modules/content-board/library/content-board-utilities.php:1171 +#: modules/content-overview/library/content-overview-utilities.php:497 msgid "Publish Date" msgstr "" -#: modules/calendar/calendar.php:4664 +#: modules/calendar/library/calendar-methods.php:778 msgid "Publish Time" msgstr "" -#: common/php/class-module.php:327 modules/calendar/calendar.php:2904 +#: common/php/class-module.php:327 modules/calendar/calendar.php:1222 msgid "Published" msgstr "" -#: modules/calendar/calendar.php:4025 +#: modules/calendar/library/calendar-methods.php:352 msgid "Publishing Time" msgstr "" #. Author of the plugin -#: modules/calendar/calendar.php:2297 modules/settings/settings.php:61 +#: modules/settings/settings.php:61 +#: modules/calendar/library/calendar-utilities.php:1199 msgid "PublishPress" msgstr "" @@ -2324,7 +2301,7 @@ msgid "" "Features include a content calendar, kanban board, and notifications." msgstr "" -#: publishpress.php:1400 +#: publishpress.php:1443 msgid "" "PublishPress Planner tried to load multiple times. Please, deactivate and " "remove other instances of PublishPress, specially if you are using " @@ -2335,20 +2312,20 @@ msgstr "" msgid "PublishPress Settings" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1098 +#: modules/improved-notifications/improved-notifications.php:1099 msgid "Receiver" msgstr "" -#: modules/calendar/calendar.php:3802 +#: modules/calendar/library/calendar-methods.php:462 msgid "Regenerate calendar feed secret" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1665 +#: modules/editorial-metadata/editorial-metadata.php:1637 msgid "Register editorial fields for these post types:" msgstr "" -#: modules/editorial-comments/editorial-comments.php:211 -#: modules/editorial-comments/editorial-comments.php:721 +#: modules/editorial-comments/editorial-comments.php:218 +#: modules/editorial-comments/editorial-comments.php:728 msgid "Remove" msgstr "" @@ -2356,29 +2333,29 @@ msgstr "" msgid "Remove PublishPress ads and branding" msgstr "" -#: modules/content-board/content-board.php:1226 +#: modules/content-board/library/content-board-utilities.php:218 msgid "Reorder" msgstr "" -#: modules/content-overview/content-overview.php:1251 +#: modules/content-overview/library/content-overview-utilities.php:26 msgid "Reorder Columns" msgstr "" -#: modules/calendar/calendar.php:2105 -#: modules/content-board/content-board.php:1375 -#: modules/content-overview/content-overview.php:1400 +#: modules/calendar/library/calendar-utilities.php:557 +#: modules/content-board/library/content-board-utilities.php:364 +#: modules/content-overview/library/content-overview-utilities.php:172 msgid "Reorder Filters" msgstr "" -#: modules/editorial-comments/editorial-comments.php:625 +#: modules/editorial-comments/editorial-comments.php:632 msgid "Reply" msgstr "" -#: modules/editorial-comments/editorial-comments.php:622 +#: modules/editorial-comments/editorial-comments.php:629 msgid "Reply to this comment" msgstr "" -#: modules/notifications/notifications.php:2140 +#: modules/notifications/notifications.php:2148 #, php-format msgid "Reply: %s" msgstr "" @@ -2392,17 +2369,17 @@ msgstr "" msgid "Reschedule" msgstr "" -#: modules/calendar/calendar.php:1904 modules/calendar/calendar.php:3010 -#: modules/content-board/content-board.php:816 -#: modules/content-board/content-board.php:2035 -#: modules/content-overview/content-overview.php:835 -#: modules/content-overview/content-overview.php:1972 +#: modules/calendar/library/calendar-utilities.php:528 +#: modules/content-board/library/content-board-utilities.php:153 +#: modules/content-board/library/content-board-utilities.php:551 +#: modules/content-overview/library/content-overview-methods.php:384 +#: modules/content-overview/library/content-overview-utilities.php:656 msgid "Reset" msgstr "" -#: modules/calendar/calendar.php:1903 -#: modules/content-board/content-board.php:2034 -#: modules/content-overview/content-overview.php:1971 +#: modules/calendar/library/calendar-utilities.php:527 +#: modules/content-board/library/content-board-utilities.php:152 +#: modules/content-overview/library/content-overview-methods.php:383 msgid "Reset Filters" msgstr "" @@ -2425,35 +2402,30 @@ msgstr "" msgid "Roles" msgstr "" -#: modules/calendar/calendar.php:794 +#: modules/calendar/library/calendar-methods.php:1130 msgid "Sat" msgstr "" -#: modules/calendar/calendar.php:781 modules/calendar/calendar.php:2788 +#: modules/calendar/library/calendar-methods.php:1117 msgid "Save" msgstr "" -#: modules/calendar/calendar.php:2782 -#, php-format -msgid "Save “%s”" -msgstr "" - -#: modules/calendar/calendar.php:783 +#: modules/calendar/library/calendar-methods.php:1119 msgid "Save and edit" msgstr "" -#: modules/calendar/calendar.php:824 -#: modules/content-board/content-board.php:2828 -#: modules/content-overview/content-overview.php:2576 +#: modules/content-board/content-board.php:1287 +#: modules/content-overview/content-overview.php:1222 +#: modules/calendar/library/calendar-methods.php:1160 msgid "Save Changes" msgstr "" -#: modules/calendar/calendar.php:782 +#: modules/calendar/library/calendar-methods.php:1118 msgid "Saving..." msgstr "" -#: common/php/class-module.php:329 modules/calendar/calendar.php:2899 -#: modules/content-board/content-board.php:2535 +#: common/php/class-module.php:329 modules/calendar/calendar.php:1217 +#: modules/content-board/content-board.php:975 #: modules/notifications-log/library/NotificationsLogTable.php:523 msgid "Scheduled" msgstr "" @@ -2462,29 +2434,37 @@ msgstr "" msgid "Scheduled for %d receivers. Click here to display them." msgstr "" -#: modules/calendar/calendar.php:1266 modules/calendar/calendar.php:1841 -#: modules/content-board/content-board.php:1982 -#: modules/content-overview/content-overview.php:1919 +#: modules/calendar/calendar.php:732 +#: modules/calendar/library/calendar-utilities.php:463 +#: modules/content-board/library/content-board-utilities.php:98 +#: modules/content-overview/library/content-overview-methods.php:329 msgid "Search" msgstr "" -#: modules/calendar/calendar.php:1532 modules/calendar/calendar.php:1840 -#: modules/content-board/content-board.php:1981 -#: modules/content-board/content-board.php:2228 -#: modules/content-overview/content-overview.php:1918 -#: modules/content-overview/content-overview.php:2165 +#: modules/calendar/library/calendar-utilities.php:152 +#: modules/calendar/library/calendar-utilities.php:462 +#: modules/content-board/library/content-board-utilities.php:97 +#: modules/content-board/library/content-board-utilities.php:700 +#: modules/content-overview/library/content-overview-methods.php:328 +#: modules/content-overview/library/content-overview-utilities.php:805 msgid "Search box" msgstr "" -#: modules/editorial-comments/editorial-comments.php:291 +#: modules/editorial-comments/editorial-comments.php:298 msgid "Search Comments" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:452 +#: modules/editorial-metadata/editorial-metadata.php:453 msgid "Search Editorial Fields" msgstr "" -#: publishpress.php:1356 +#: modules/calendar/library/calendar-utilities.php:587 +#: modules/content-board/library/content-board-utilities.php:248 +#: modules/content-overview/library/content-overview-utilities.php:56 +msgid "Search Metakey" +msgstr "" + +#: publishpress.php:1399 msgid "Search Notifications" msgstr "" @@ -2501,41 +2481,38 @@ msgid "Search Notify Users" msgstr "" #. %s: search keywords -#: modules/editorial-comments/editorial-comments.php:278 +#: modules/editorial-comments/editorial-comments.php:285 #, php-format msgid "Search results for “%s”" msgstr "" -#: common/php/class-module.php:1040 +#: common/php/class-module.php:1057 #, php-format msgid "Select %s" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1085 +#: modules/improved-notifications/improved-notifications.php:1086 msgid "Select at least one option for each section." msgstr "" -#: modules/calendar/calendar.php:2135 -#: modules/content-board/content-board.php:1256 -#: modules/content-board/content-board.php:1405 -#: modules/content-overview/content-overview.php:1281 -#: modules/content-overview/content-overview.php:1430 +#: modules/content-board/library/content-board-utilities.php:394 +#: modules/content-overview/library/content-overview-utilities.php:202 msgid "Select Metakey" msgstr "" -#: modules/calendar/calendar.php:1574 -#: modules/content-board/content-board.php:2270 -#: modules/content-overview/content-overview.php:2207 +#: modules/calendar/library/calendar-utilities.php:194 +#: modules/content-board/library/content-board-utilities.php:742 +#: modules/content-overview/library/content-overview-utilities.php:847 msgid "Select option..." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1918 -#: modules/editorial-metadata/editorial-metadata.php:2232 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:211 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:523 msgid "Select roles..." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1936 -#: modules/editorial-metadata/editorial-metadata.php:2251 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:229 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:542 msgid "Select Type" msgstr "" @@ -2547,7 +2524,7 @@ msgstr "" msgid "Sent" msgstr "" -#: modules/calendar/calendar.php:803 +#: modules/calendar/library/calendar-methods.php:1139 msgid "Sep" msgstr "" @@ -2571,45 +2548,50 @@ msgstr "" msgid "settings" msgstr "" -#: modules/calendar/calendar.php:2356 +#: modules/content-overview/content-overview.php:675 +#: modules/content-board/library/content-board-methods.php:172 +msgid "Settings updated successfully." +msgstr "" + +#: modules/calendar/library/calendar-utilities.php:1258 msgid "Seven months" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1099 +#: modules/improved-notifications/improved-notifications.php:1100 msgid "shortcode" msgstr "" -#: modules/calendar/calendar.php:778 +#: modules/calendar/library/calendar-methods.php:1114 #, php-format msgid "Show %s more" msgstr "" -#: modules/content-board/content-board.php:774 -#: modules/content-overview/content-overview.php:793 +#: modules/content-board/library/content-board-utilities.php:509 +#: modules/content-overview/library/content-overview-utilities.php:614 msgid "Show content from" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2053 -#: modules/editorial-metadata/editorial-metadata.php:2365 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:346 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:656 msgid "Show on Content Calendar and Overview form" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2101 -#: modules/editorial-metadata/editorial-metadata.php:2414 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:394 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:704 msgid "Show on Post Types screen" msgstr "" -#: modules/calendar/calendar.php:1265 +#: modules/calendar/calendar.php:731 msgid "Show Revision" msgstr "" -#: modules/notifications/notifications.php:1635 +#: modules/notifications/notifications.php:1643 msgid "" "Show the \"Notify me\" and \"Stop notifying me\" links for these post types:" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1940 -#: modules/editorial-metadata/editorial-metadata.php:2254 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:233 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:545 msgid "Single Select" msgstr "" @@ -2618,11 +2600,11 @@ msgstr "" msgid "Site Administrator" msgstr "" -#: modules/calendar/calendar.php:2354 +#: modules/calendar/library/calendar-utilities.php:1256 msgid "Six months" msgstr "" -#: modules/calendar/calendar.php:2320 +#: modules/calendar/library/calendar-utilities.php:1222 msgid "Six months ago" msgstr "" @@ -2647,16 +2629,16 @@ msgstr "" msgid "Slack integration for notifications" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1869 -#: modules/editorial-metadata/editorial-metadata.php:2164 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:163 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:457 msgid "Slug" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1304 +#: modules/editorial-metadata/editorial-metadata.php:1276 msgid "Slug already in use. Please choose another." msgstr "" -#: modules/notifications/notifications.php:1781 +#: modules/notifications/notifications.php:1789 msgid "slug1,slug2" msgstr "" @@ -2664,66 +2646,66 @@ msgstr "" msgid "Sorry! You're not subscribed to any posts!" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1082 +#: modules/editorial-comments/editorial-comments.php:1089 msgid "" "Sorry, you can't delete this editorial comment because it has some replies." msgstr "" -#: modules/editorial-comments/editorial-comments.php:770 +#: modules/editorial-comments/editorial-comments.php:777 msgid "" "Sorry, you don't have the privileges to add editorial comments. Please talk " "to your Administrator." msgstr "" -#: modules/editorial-comments/editorial-comments.php:1061 -#: modules/editorial-comments/editorial-comments.php:1165 +#: modules/editorial-comments/editorial-comments.php:1068 +#: modules/editorial-comments/editorial-comments.php:1172 msgid "" "Sorry, you don't have the privileges to delete this editorial comment. " "Please talk to your Administrator." msgstr "" -#: modules/editorial-comments/editorial-comments.php:913 -#: modules/editorial-comments/editorial-comments.php:1045 +#: modules/editorial-comments/editorial-comments.php:920 +#: modules/editorial-comments/editorial-comments.php:1052 msgid "" "Sorry, you don't have the privileges to edit editorial comments. Please talk " "to your Administrator." msgstr "" -#: modules/editorial-comments/editorial-comments.php:931 +#: modules/editorial-comments/editorial-comments.php:938 msgid "" "Sorry, you don't have the privileges to edit this editorial comment. Please " "talk to your Administrator." msgstr "" -#: modules/calendar/calendar.php:1263 +#: modules/calendar/calendar.php:729 msgid "Start Date" msgstr "" -#: modules/calendar/calendar.php:2304 +#: modules/calendar/library/calendar-utilities.php:1206 msgid "Start date" msgstr "" -#: modules/calendar/calendar.php:2010 -#: modules/content-board/content-board.php:1073 -#: modules/content-overview/content-overview.php:1081 -#: modules/content-overview/content-overview.php:1095 -#: modules/content-overview/content-overview.php:1138 +#: modules/calendar/calendar.php:979 +#: modules/content-board/content-board.php:705 +#: modules/content-overview/content-overview.php:831 +#: modules/content-overview/content-overview.php:845 +#: modules/content-overview/content-overview.php:888 #: modules/notifications-log/library/NotificationsLogTable.php:494 msgid "Status" msgstr "" #. 1: post type, 2: post id, 3. post title, 4. user name, 5. user email -#: modules/notifications/notifications.php:2034 +#: modules/notifications/notifications.php:2042 #, php-format msgid "Status was changed for %1$s #%2$s \"%3$s\" by %4$s %5$s" msgstr "" -#: modules/calendar/calendar.php:3693 +#: modules/calendar/library/calendar-methods.php:104 msgid "Statuses to display publish time" msgstr "" -#: modules/notifications/notifications.php:570 -#: modules/notifications/notifications.php:938 +#: modules/notifications/notifications.php:578 +#: modules/notifications/notifications.php:946 msgid "Stop notifying me" msgstr "" @@ -2731,12 +2713,12 @@ msgstr "" msgid "Subject" msgstr "" -#: modules/notifications-log/notifications-log.php:817 +#: modules/notifications-log/notifications-log.php:824 msgid "Subject:" msgstr "" -#: modules/content-board/content-board.php:1759 -#: modules/content-overview/content-overview.php:1696 +#: modules/content-board/library/content-board-utilities.php:1123 +#: modules/content-overview/library/content-overview-utilities.php:449 msgid "Submit" msgstr "" @@ -2744,7 +2726,7 @@ msgstr "" msgid "Submitted on" msgstr "" -#: modules/calendar/calendar.php:2299 +#: modules/calendar/library/calendar-utilities.php:1201 msgid "Subscribe in iCal or Google Calendar" msgstr "" @@ -2752,7 +2734,7 @@ msgstr "" msgid "Success" msgstr "" -#: modules/calendar/calendar.php:788 +#: modules/calendar/library/calendar-methods.php:1124 msgid "Sun" msgstr "" @@ -2760,23 +2742,23 @@ msgstr "" msgid "synchronous" msgstr "" -#: modules/calendar/calendar.php:4593 +#: modules/calendar/library/calendar-utilities.php:1058 msgid "Tag" msgid_plural "Tags" msgstr[0] "" msgstr[1] "" -#: modules/calendar/calendar.php:4692 -#: modules/content-board/content-board.php:1830 -#: modules/content-overview/content-overview.php:1767 +#: modules/calendar/library/calendar-methods.php:806 +#: modules/content-board/library/content-board-utilities.php:1199 +#: modules/content-overview/library/content-overview-utilities.php:525 msgid "Tags" msgstr "" -#: modules/calendar/calendar.php:2070 -#: modules/content-board/content-board.php:1131 -#: modules/content-board/content-board.php:1191 -#: modules/content-overview/content-overview.php:1156 -#: modules/content-overview/content-overview.php:1216 +#: modules/content-board/content-board.php:763 +#: modules/content-board/content-board.php:823 +#: modules/content-overview/content-overview.php:906 +#: modules/content-overview/content-overview.php:966 +#: modules/calendar/library/calendar-utilities.php:1178 #: lib/Notifications/Workflow/Step/Event/Filter/Taxonomies.php:34 msgid "Taxonomies" msgstr "" @@ -2785,23 +2767,23 @@ msgstr "" msgid "Taxonomy" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:450 +#: modules/editorial-metadata/editorial-metadata.php:451 msgctxt "taxonomy general name" msgid "Editorial Field" msgstr "" -#: modules/calendar/calendar.php:825 -#: modules/content-board/content-board.php:2829 -#: modules/content-overview/content-overview.php:2577 +#: modules/content-board/content-board.php:1288 +#: modules/content-overview/content-overview.php:1223 +#: modules/calendar/library/calendar-methods.php:1161 msgid "Taxonomy not set." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:451 +#: modules/editorial-metadata/editorial-metadata.php:452 msgctxt "taxonomy singular name" msgid "Editorial Field" msgstr "" -#: modules/calendar/calendar.php:2362 +#: modules/calendar/library/calendar-utilities.php:1264 msgid "Ten months" msgstr "" @@ -2809,27 +2791,27 @@ msgstr "" msgid "Terms" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1577 +#: modules/editorial-metadata/editorial-metadata.php:1549 msgid "Terms not set." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:293 +#: modules/editorial-metadata/editorial-metadata.php:294 msgid "Text" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2173 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:466 msgid "" "The \"slug\" is the URL-friendly version of the name. It is usually all " "lowercase and contains only letters, numbers, and hyphens." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1890 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:184 msgid "" "The description can be used to communicate with your team about what the " "field is for." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2190 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:483 msgid "" "The description can be used to communicate with your team about what the " "metadata is for." @@ -2839,12 +2821,12 @@ msgstr "" msgid "The Events Calendar Integration" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1904 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:198 msgid "The field type cannot be changed once created." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1864 -#: modules/editorial-metadata/editorial-metadata.php:2159 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:158 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:452 msgid "The name is for labeling the editorial fields." msgstr "" @@ -2858,32 +2840,26 @@ msgid "" "The notifications module will need to be enabled for this widget to display." msgstr "" -#: modules/calendar/calendar.php:3769 -msgid "" -"The number of weeks shown on the calendar can be changed on a user-by-user " -"basis using the calendar's screen options." -msgstr "" - #: modules/notifications-log/library/NotificationsLogModel.php:264 msgid "The parent log was deleted or probably rescheduled" msgstr "" -#: modules/calendar/calendar.php:4812 +#: modules/calendar/library/calendar-methods.php:1604 msgid "The selected post type is not enabled for the calendar." msgstr "" -#: modules/calendar/calendar.php:5289 +#: modules/calendar/calendar.php:1792 msgid "" "The selected user doesn't have enough permissions to be set as the post " "author." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1874 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:168 msgid "The slug cannot be changed once the term has been created." msgstr "" -#: modules/content-board/content-board.php:2805 -#: modules/content-overview/content-overview.php:2548 +#: modules/content-board/content-board.php:1264 +#: modules/content-overview/content-overview.php:1194 msgid "There are no posts in the range or filter specified." msgstr "" @@ -2891,20 +2867,20 @@ msgstr "" msgid "There are no PublishPress modules registered" msgstr "" -#: modules/editorial-comments/editorial-comments.php:867 -#: modules/editorial-comments/editorial-comments.php:997 -#: modules/editorial-comments/editorial-comments.php:1107 -#: modules/editorial-comments/editorial-comments.php:1191 +#: modules/editorial-comments/editorial-comments.php:874 +#: modules/editorial-comments/editorial-comments.php:1004 +#: modules/editorial-comments/editorial-comments.php:1114 +#: modules/editorial-comments/editorial-comments.php:1198 msgid "" "There was a problem of some sort. Try again or contact your administrator." msgstr "" -#: modules/calendar/calendar.php:235 +#: modules/calendar/calendar.php:242 msgid "There was an error updating the post. Please try again." msgstr "" #. 1: date, 2: time, 3: timezone -#: modules/notifications/notifications.php:2045 +#: modules/notifications/notifications.php:2053 #, php-format msgid "This action was taken on %1$s at %2$s %3$s" msgstr "" @@ -2915,35 +2891,35 @@ msgstr "" msgid "This editorial fields type is not yet supported." msgstr "" -#: modules/notifications/notifications.php:1058 +#: modules/notifications/notifications.php:1066 #, php-format msgid "This email was sent %s." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2082 -#: modules/editorial-metadata/editorial-metadata.php:2395 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:375 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:686 msgid "This field will be available for these post types." msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2106 -#: modules/editorial-metadata/editorial-metadata.php:2418 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:399 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:708 msgid "" "This field will be viewable on the overview screens for these post types." msgstr "" -#: modules/notifications-log/notifications-log.php:835 +#: modules/notifications-log/notifications-log.php:842 msgid "" "This is a preview of the scheduled message. The content can still change " "until the notification is sent." msgstr "" -#: modules/content-board/content-board.php:2593 +#: modules/content-board/content-board.php:1052 msgid "" "This is the default publish date from today for posts moving to the " "Scheduled status." msgstr "" -#: modules/notifications-log/notifications-log.php:442 +#: modules/notifications-log/notifications-log.php:449 msgid "" "This notification is very similar to another one sent less than %d minutes " "ago for the same receiver" @@ -2953,57 +2929,58 @@ msgstr "" msgid "This post was last updated on " msgstr "" -#: modules/improved-notifications/improved-notifications.php:424 +#: modules/improved-notifications/improved-notifications.php:425 msgid "" "This will prevent too many notifications being sent for the same or similar " "events. Set this to a higher number if you are receiving duplicate emails." msgstr "" -#: modules/notifications/notifications.php:664 +#: modules/notifications/notifications.php:672 msgid "" "This won't have any effect unless you have at least one workflow targeting " "the \"Users who selected \"Notify me\" for the content\" option." msgstr "" -#: modules/calendar/calendar.php:2348 +#: modules/calendar/library/calendar-utilities.php:1250 msgid "Three months" msgstr "" -#: modules/calendar/calendar.php:2314 +#: modules/calendar/library/calendar-utilities.php:1216 msgid "Three months ago" msgstr "" -#: modules/calendar/calendar.php:2335 +#: modules/calendar/library/calendar-utilities.php:1237 msgid "Three weeks" msgstr "" -#: modules/calendar/calendar.php:792 +#: modules/calendar/library/calendar-methods.php:1128 msgid "Thu" msgstr "" -#: modules/calendar/calendar.php:4653 -#: modules/content-board/content-board.php:542 -#: modules/content-board/content-board.php:1252 -#: modules/content-board/content-board.php:1790 -#: modules/content-overview/content-overview.php:564 -#: modules/content-overview/content-overview.php:1727 +#: modules/content-board/content-board.php:421 +#: modules/content-overview/content-overview.php:418 #: lib/Notifications/Table/Notifications.php:156 #: lib/Notifications/Table/Workflows.php:142 +#: modules/calendar/library/calendar-methods.php:767 +#: modules/content-board/library/content-board-utilities.php:244 +#: modules/content-board/library/content-board-utilities.php:1159 +#: modules/content-overview/library/content-overview-utilities.php:485 msgid "Title" msgstr "" -#: modules/notifications/notifications.php:2067 +#: modules/notifications/notifications.php:2075 #, php-format msgid "Title: %s" msgstr "" -#: modules/calendar/calendar.php:1608 modules/calendar/calendar.php:1642 -#: modules/content-board/content-board.php:1996 -#: modules/content-board/content-board.php:2304 -#: modules/content-board/content-board.php:2338 -#: modules/content-overview/content-overview.php:1933 -#: modules/content-overview/content-overview.php:2241 -#: modules/content-overview/content-overview.php:2275 +#: modules/calendar/library/calendar-utilities.php:228 +#: modules/calendar/library/calendar-utilities.php:262 +#: modules/content-board/library/content-board-utilities.php:112 +#: modules/content-board/library/content-board-utilities.php:776 +#: modules/content-board/library/content-board-utilities.php:810 +#: modules/content-overview/library/content-overview-methods.php:343 +#: modules/content-overview/library/content-overview-utilities.php:881 +#: modules/content-overview/library/content-overview-utilities.php:915 msgid "to" msgstr "" @@ -3011,46 +2988,41 @@ msgstr "" msgid "To date" msgstr "" -#: modules/calendar/calendar.php:814 modules/calendar/calendar.php:3058 +#: modules/calendar/library/calendar-methods.php:1150 msgid "Today" msgstr "" -#: modules/calendar/calendar.php:3052 -#, php-format -msgid "Today is %s" -msgstr "" - -#: common/php/class-module.php:332 modules/calendar/calendar.php:818 -#: modules/calendar/calendar.php:2748 modules/calendar/calendar.php:4612 -#: modules/content-board/content-board.php:2727 -#: modules/content-board/content-board.php:2822 -#: modules/content-overview/content-overview.php:2570 -#: modules/content-overview/content-overview.php:3063 +#: common/php/class-module.php:332 modules/content-board/content-board.php:1186 +#: modules/content-board/content-board.php:1281 +#: modules/content-overview/content-overview.php:1216 +#: modules/content-overview/content-overview.php:1709 +#: modules/calendar/library/calendar-methods.php:1154 +#: modules/calendar/library/calendar-utilities.php:1077 msgid "Trash" msgstr "" -#: modules/calendar/calendar.php:790 +#: modules/calendar/library/calendar-methods.php:1126 msgid "Tue" msgstr "" -#: modules/calendar/calendar.php:2366 +#: modules/calendar/library/calendar-utilities.php:1268 msgid "Twelve months" msgstr "" -#: modules/calendar/calendar.php:2346 +#: modules/calendar/library/calendar-utilities.php:1248 msgid "Two months" msgstr "" -#: modules/calendar/calendar.php:2312 +#: modules/calendar/library/calendar-utilities.php:1214 msgid "Two months ago" msgstr "" -#: modules/calendar/calendar.php:2333 +#: modules/calendar/library/calendar-utilities.php:1235 msgid "Two weeks" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1899 -#: modules/editorial-metadata/editorial-metadata.php:2198 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:193 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:491 msgid "Type" msgstr "" @@ -3058,9 +3030,9 @@ msgstr "" msgid "Undefined error found" msgstr "" -#: modules/calendar/calendar.php:2422 -#: modules/content-board/content-board.php:851 -#: modules/content-overview/content-overview.php:870 +#: modules/calendar/calendar.php:1109 +#: modules/content-board/content-board.php:610 +#: modules/content-overview/library/content-overview-methods.php:221 msgid "Undo" msgstr "" @@ -3068,15 +3040,16 @@ msgstr "" msgid "Unpublished Content" msgstr "" -#: modules/calendar/calendar.php:779 modules/calendar/calendar.php:4818 +#: modules/calendar/library/calendar-methods.php:1115 +#: modules/calendar/library/calendar-methods.php:1610 msgid "Untitled" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:456 +#: modules/editorial-metadata/editorial-metadata.php:457 msgid "Update Editorial Fields" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2129 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:422 msgid "Update Editorial fields term" msgstr "" @@ -3096,7 +3069,7 @@ msgstr "" msgid "Update Notify User" msgstr "" -#: modules/calendar/calendar.php:239 +#: modules/calendar/calendar.php:246 #, php-format msgid "" "Updating the post date dynamically doesn't work for published content. " @@ -3115,7 +3088,7 @@ msgstr "" msgid "Use post meta in notifications" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:294 +#: modules/editorial-metadata/editorial-metadata.php:295 msgid "User" msgstr "" @@ -3123,16 +3096,16 @@ msgstr "" msgid "user" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1095 +#: modules/improved-notifications/improved-notifications.php:1096 msgid "User making changes or comments" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:1910 -#: modules/editorial-metadata/editorial-metadata.php:2224 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:204 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:516 msgid "User role" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1272 +#: modules/editorial-comments/editorial-comments.php:1279 msgid "User Url" msgstr "" @@ -3141,7 +3114,7 @@ msgstr "" msgid "User: %s (%d)" msgstr "" -#: modules/editorial-comments/editorial-comments.php:1267 +#: modules/editorial-comments/editorial-comments.php:1274 msgid "Username" msgstr "" @@ -3154,18 +3127,17 @@ msgstr "" msgid "Users who selected \"Notify me\" for the content" msgstr "" -#: modules/calendar/calendar.php:820 modules/calendar/calendar.php:2772 -#: modules/calendar/calendar.php:4619 -#: modules/content-board/content-board.php:2743 -#: modules/content-board/content-board.php:2824 -#: modules/content-overview/content-overview.php:2572 -#: modules/content-overview/content-overview.php:3079 +#: modules/content-board/content-board.php:1202 +#: modules/content-board/content-board.php:1283 +#: modules/content-overview/content-overview.php:1218 +#: modules/content-overview/content-overview.php:1725 +#: modules/calendar/library/calendar-methods.php:1156 +#: modules/calendar/library/calendar-utilities.php:1084 msgid "View" msgstr "" -#: modules/calendar/calendar.php:2766 -#: modules/content-board/content-board.php:2737 -#: modules/content-overview/content-overview.php:3073 +#: modules/content-board/content-board.php:1196 +#: modules/content-overview/content-overview.php:1719 #, php-format msgid "View “%s”" msgstr "" @@ -3175,10 +3147,6 @@ msgstr "" msgid "View “%s” on Google Maps" msgstr "" -#: modules/calendar/calendar.php:5075 -msgid "View all categories" -msgstr "" - #: lib/Legacy/Util.php:240 msgid "View Knowledge Base" msgstr "" @@ -3195,29 +3163,29 @@ msgstr "" msgid "View Notify User" msgstr "" -#: modules/notifications/notifications.php:2091 -#: modules/notifications/notifications.php:2148 +#: modules/notifications/notifications.php:2099 +#: modules/notifications/notifications.php:2156 #, php-format msgid "View: %s" msgstr "" -#: publishpress.php:1408 +#: publishpress.php:1451 msgid "Warning" msgstr "" -#: modules/calendar/calendar.php:791 +#: modules/calendar/library/calendar-methods.php:1127 msgid "Wed" msgstr "" -#: modules/calendar/calendar.php:1262 +#: modules/calendar/calendar.php:728 msgid "Weeks" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:222 +#: modules/editorial-metadata/editorial-metadata.php:223 msgid "What the post needs to cover." msgstr "" -#: modules/improved-notifications/improved-notifications.php:965 +#: modules/improved-notifications/improved-notifications.php:966 msgid "What to say?" msgstr "" @@ -3237,7 +3205,7 @@ msgstr "" msgid "When the content is updated" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:214 +#: modules/editorial-metadata/editorial-metadata.php:215 msgid "When the first draft needs to be ready." msgstr "" @@ -3246,13 +3214,13 @@ msgid "When the status is changed" msgstr "" #: lib/Notifications/Plugin.php:57 -#: modules/improved-notifications/improved-notifications.php:935 +#: modules/improved-notifications/improved-notifications.php:936 #: modules/notifications-log/library/NotificationsLogTable.php:491 msgid "When to notify?" msgstr "" #: lib/Notifications/Plugin.php:59 -#: modules/improved-notifications/improved-notifications.php:955 +#: modules/improved-notifications/improved-notifications.php:956 #: modules/notifications-log/library/NotificationsLogTable.php:493 msgid "Who to notify?" msgstr "" @@ -3261,15 +3229,15 @@ msgstr "" msgid "Widget Options" msgstr "" -#: modules/notifications/notifications.php:1920 +#: modules/notifications/notifications.php:1928 msgid "WordPress Scheduler" msgstr "" -#: modules/improved-notifications/improved-notifications.php:1096 +#: modules/improved-notifications/improved-notifications.php:1097 msgid "Workflow" msgstr "" -#: modules/improved-notifications/improved-notifications.php:897 +#: modules/improved-notifications/improved-notifications.php:898 msgid "Workflow Settings" msgstr "" @@ -3279,69 +3247,77 @@ msgid "Workflow: %s" msgstr "" #: views/user_profile_notification_channels.html.php:14 -#: modules/improved-notifications/improved-notifications.php:476 -#: modules/improved-notifications/improved-notifications.php:1276 +#: modules/improved-notifications/improved-notifications.php:477 +#: modules/improved-notifications/improved-notifications.php:1277 msgid "Workflows" msgstr "" -#: modules/editorial-metadata/editorial-metadata.php:2058 -#: modules/editorial-metadata/editorial-metadata.php:2369 #: modules/editorial-metadata/input-handlers/editorial-metadata-input-checkbox-handler.php:142 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:351 +#: modules/editorial-metadata/library/editorial-metadata-utilities.php:660 msgid "Yes" msgstr "" -#: modules/notifications/notifications.php:1053 +#: modules/notifications/notifications.php:1061 #, php-format msgid "You are receiving this email because you are subscribed to \"%s\"." msgstr "" -#: modules/improved-notifications/improved-notifications.php:1089 +#: modules/improved-notifications/improved-notifications.php:1090 msgid "" "You can add dynamic information to the Subject or Body text using the " "following shortcodes:" msgstr "" -#: modules/editorial-comments/editorial-comments.php:534 +#: modules/editorial-comments/editorial-comments.php:541 msgid "" "You can add editorial comments to a post once you've saved it for the first " "time." msgstr "" -#: modules/notifications/notifications.php:2151 +#: modules/notifications/notifications.php:2159 #, php-format msgid "You can see all editorial comments on this %s here: " msgstr "" -#: modules/calendar/calendar.php:2064 -#: modules/content-board/content-board.php:1125 -#: modules/content-board/content-board.php:1185 -#: modules/content-overview/content-overview.php:1150 -#: modules/content-overview/content-overview.php:1210 +#: modules/content-board/content-board.php:757 +#: modules/content-board/content-board.php:817 +#: modules/content-overview/content-overview.php:900 +#: modules/content-overview/content-overview.php:960 +#: modules/calendar/library/calendar-utilities.php:1172 msgid "You do not have any editorial fields enabled" msgstr "" -#: modules/calendar/calendar.php:2071 -#: modules/content-board/content-board.php:1132 -#: modules/content-board/content-board.php:1192 -#: modules/content-overview/content-overview.php:1157 -#: modules/content-overview/content-overview.php:1217 +#: modules/content-board/content-board.php:764 +#: modules/content-board/content-board.php:824 +#: modules/content-overview/content-overview.php:907 +#: modules/content-overview/content-overview.php:967 +#: modules/calendar/library/calendar-utilities.php:1179 msgid "You do not have any public taxonomies" msgstr "" -#: publishpress.php:674 +#: publishpress.php:676 msgid "You do not have necessary permissions to complete this action." msgstr "" -#: modules/content-board/content-board.php:992 -#: modules/content-overview/content-overview.php:1011 +#: modules/content-overview/content-overview.php:761 +#: modules/content-board/library/content-board-methods.php:258 #, php-format msgid "You do not have permission to add new %s" msgstr "" -#: modules/content-board/content-board.php:1555 +#: modules/content-board/library/content-board-methods.php:63 msgid "You do not have permission to edit selected post." msgstr "" +#: modules/content-board/library/content-board-methods.php:65 +msgid "You do not have permission to move post to selected post status." +msgstr "" + +#: modules/content-board/content-board.php:1025 +msgid "You do not have permission to move post to this status" +msgstr "" + #: lib/Notifications/Table/Notifications.php:235 msgid "You don't have any notifications" msgstr "" diff --git a/modules/calendar/lib/async-calendar/js/Functions.jsx b/modules/calendar/lib/async-calendar/js/Functions.jsx index 9ca67e311..53544f80c 100644 --- a/modules/calendar/lib/async-calendar/js/Functions.jsx +++ b/modules/calendar/lib/async-calendar/js/Functions.jsx @@ -135,10 +135,11 @@ export function getDateWithNoTimezoneOffset(dateString) { } export function getPostLinksElement(linkData, handleOnClick) { + var className = linkData.className ? linkData.className : ''; if (linkData.url) { - return (
{linkData.label}); + return ({linkData.label}); } else if (linkData.action) { - return ( handleOnClick(e, linkData)}>{linkData.label}); + return ( handleOnClick(e, linkData)}>{linkData.label}); } } diff --git a/modules/calendar/lib/async-calendar/js/ItemFormPopup.jsx b/modules/calendar/lib/async-calendar/js/ItemFormPopup.jsx index 0a7116f5a..2cad1b7d6 100644 --- a/modules/calendar/lib/async-calendar/js/ItemFormPopup.jsx +++ b/modules/calendar/lib/async-calendar/js/ItemFormPopup.jsx @@ -366,12 +366,14 @@ export default function ItemFormPopup(props) { const formLinks = [ { 'id': 'create', + 'className': 'button-primary calendar-create-btn', 'label': props.strings.save, 'labelLoading': props.strings.saving, 'action': 'publishpress_calendar_create_item' }, { 'id': 'edit', + 'className': 'button-secondary calendar-edit-btn', 'label': props.strings.saveAndEdit, 'labelLoading': props.strings.saving, 'action': 'publishpress_calendar_create_item' @@ -393,7 +395,7 @@ export default function ItemFormPopup(props) { } else { links.push(getPostLinksElement(linkData, handleLinkOnClick)); } - links.push(|); + links.push(); } links.pop(); diff --git a/modules/calendar/lib/async-calendar/js/index.min.js b/modules/calendar/lib/async-calendar/js/index.min.js index 6525fd205..0c041fdbf 100644 --- a/modules/calendar/lib/async-calendar/js/index.min.js +++ b/modules/calendar/lib/async-calendar/js/index.min.js @@ -1 +1 @@ -!function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=3)}([function(e,t){e.exports=wp.element},function(e,t){e.exports=ReactDOM},,function(e,t,a){"use strict";function n(e){var t;e.icon&&(t=React.createElement("span",{className:"dashicons dashicons-"+e.icon}));var a="publishpress-calendar-button "+(e.className||"");return React.createElement("a",{href:e.href||"#",className:a,onClick:e.onClick},t,e.label)}function r(e){return React.createElement("div",{className:"publishpress-calendar-navigation-bar"},React.createElement(n,{className:"refresh-button",icon:"update-alt",onClick:e.refreshOnClickCallback}),React.createElement(n,{label:"«",onClick:e.backPageOnClickCallback}),React.createElement(n,{label:"‹",onClick:e.backOnClickCallback}),React.createElement(n,{label:e.strings.today,onClick:e.todayOnClickCallback}),React.createElement(n,{label:"›",onClick:e.forwardOnClickCallback}),React.createElement(n,{label:"»",onClick:e.forwardPageOnClickCallback}))}function l(e){for(var t=[e.strings.weekDaySun,e.strings.weekDayMon,e.strings.weekDayTue,e.strings.weekDayWed,e.strings.weekDayThu,e.strings.weekDayFri,e.strings.weekDaySat],a=[],n=(e.weekStartsOnSunday?0:1)-1,r=0;r<7;r++)n++,6!==r||e.weekStartsOnSunday||(n=0),a.push({key:n.toString(),label:t[n]});return React.createElement(React.Fragment,null,a.map((function(e){return React.createElement("th",{key:e.key.toString()},e.label)})))}function s(e){var t=e.showSpinner||!1,a=e.message||"";return React.createElement("div",{className:"publishpress-calendar-message-bar"},t&&React.createElement("span",{className:"dashicons dashicons-update-alt publishpress-spinner"}),React.createElement("span",null,a))}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},l="function"==typeof Symbol?Symbol:{},s=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function p(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,a){return e[t]=a}}function d(e,t,a,n){var l=t&&t.prototype instanceof b?t:b,s=Object.create(l.prototype),i=new D(n||[]);return r(s,"_invoke",{value:j(e,a,i)}),s}function m(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var f="suspendedStart",h="executing",v="completed",g={};function b(){}function y(){}function E(){}var w={};p(w,s,(function(){return this}));var k=Object.getPrototypeOf,_=k&&k(k(T([])));_&&_!==a&&n.call(_,s)&&(w=_);var C=E.prototype=b.prototype=Object.create(w);function R(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function a(r,l,s,o){var c=m(e[r],e,l);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==i(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){a("next",e,s,o)}),(function(e){a("throw",e,s,o)})):t.resolve(p).then((function(e){u.value=e,s(u)}),(function(e){return a("throw",e,s,o)}))}o(c.arg)}var l;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return l=l?l.then(r,r):r()}})}function j(t,a,n){var r=f;return function(l,s){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===l)throw s;return{value:e,done:!0}}for(n.method=l,n.arg=s;;){var i=n.delegate;if(i){var o=S(i,n);if(o){if(o===g)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=m(t,a,n);if("normal"===c.type){if(r=n.done?v:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}function S(t,a){var n=a.method,r=t.iterator[n];if(r===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var l=m(r,t.iterator,a.arg);if("throw"===l.type)return a.method="throw",a.arg=l.arg,a.delegate=null,g;var s=l.arg;return s?s.done?(a[t.resultName]=s.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,g):s:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(t){if(t||""===t){var a=t[s];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,l=function a(){for(;++r=0;--l){var s=this.tryEntries[l],i=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var o=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(o&&c){if(this.prev=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),P(a),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;P(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:T(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2],n=new Date(t,0,1+7*(e-1)),r=n.getDay(),l=n;return r<=4?l.setDate(n.getDate()-n.getDay()+1):l.setDate(n.getDate()+8-n.getDay()),a&&l.setDate(l.getDate()-1),l}function h(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n=a.getDay();a.setDate(a.getDate()+4-(a.getDay()||7));var r=new Date(a.getFullYear(),0,1),l=Math.round(((a-r)/864e5+1)/7);return t&&0===n&&l++,[a.getFullYear(),l]}function v(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=h(e,t);return f(a[1],a[0],t)}function g(e){return e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0")}function b(e,t){return e.url?React.createElement("a",{key:"link-".concat(e.url,"-").concat(e.label),href:e.url},e.label):e.action?React.createElement("a",{key:"link-".concat(e.url,"-").concat(e.label),onClick:function(a){return t(a,e)}},e.label):void 0}function y(e,t,a){return E.apply(this,arguments)}function E(){return(E=m(o().mark((function e(t,a,n){var r,l,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n+"?action="+t,e.t0=o().keys(a);case 2:if((e.t1=e.t0()).done){e.next=9;break}if(l=e.t1.value,a.hasOwnProperty(l)){e.next=6;break}return e.abrupt("continue",2);case 6:r+="&"+l+"="+a[l],e.next=2;break;case 9:return e.next=11,fetch(r);case 11:return s=e.sent,e.next=14,s.json();case 14:return e.abrupt("return",e.sent);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return(w=m(o().mark((function e(t,a,n,r){var l,s,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=n+"?action="+t,e.t0=o().keys(a);case 2:if((e.t1=e.t0()).done){e.next=9;break}if(s=e.t1.value,a.hasOwnProperty(s)){e.next=6;break}return e.abrupt("continue",2);case 6:l+="&"+s+"="+a[s],e.next=2;break;case 9:return e.next=11,fetch(l,{method:"post",body:r});case 11:return i=e.sent,e.next=14,i.json();case 14:return e.abrupt("return",e.sent);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e){return new Date(String(e).replace(/-/g,"/"))}function _(e,t){for(var a in t)t.hasOwnProperty(a)&&t[a].forEach((function(t){if(t.calendar_post_data&&Object.keys(t.calendar_post_data).length>0){var a=e.findIndex((function(e){return e.post_id===t.calendar_post_data.post_id})),n=u(u({},t.calendar_post_data),{},{taxonomies:u({},t.calendar_taxonomies_data)});a>-1?e[a]=n:e.push(n)}}));return e}function C(e,t,a){e.preventDefault();var n=t.closest(".modal-content-right");t.addClass("disabled");var r=t.attr("data-post_id"),l=n.find(".title-area").val(),s=n.find(".content_board_post_date_hidden").val(),i=n.find(".pp-modal-form-author").val(),o=n.find(".pp-modal-form-post-status").val(),c={};n.find(".pp-modal-form-post-taxonomy").each((function(){var e=jQuery(this);c[e.attr("data-taxonomy")]=e.val()}));var u={action:"publishpress_content_calendar_update_post",post_id:r,post_title:l,post_date:s,post_author:i,post_status:o,post_taxonomies:c,nonce:publishpressCalendarParams.nonce};jQuery.post(ajaxurl,u,(function(n){if("success"==n.status){var s=publishpressCalendarParams.PostData,i=jQuery(".publishpress-calendar .publishpress-calendar-item.post-"+r),c=s.findIndex((function(e){return Number(e.post_id)===Number(r)})),u=s[c],p=u.taxonomies;u.post_title=l,u.raw_title=l,u.post_status=o,u.author_markup=n.author_markup,u.date_markup=n.date_markup;var d=n.taxonomy_terms;for(var m in d)if(d.hasOwnProperty(m)){var f=d[m];p[m].terms=f}u.taxonomies=p,publishpressCalendarParams.PostData[c]=u,i.find(".publishpress-calendar-item-title").html(u.post_title),"function"==typeof a&&a(e)}t.removeClass("disabled"),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";setTimeout((function(){var a="pp-floating-msg-"+Math.round((new Date).getTime()+100*Math.random()),n=jQuery(".pp-floating-status").length;jQuery("#wpbody-content").after(''+t+""),jQuery("."+a).css("bottom",45*n).fadeIn(1e3).delay(1e4).fadeOut(1e3,(function(){jQuery(this).remove()}))}),500)}(n.status,n.content)}))}function R(e){var t=publishpressCalendarParams.PostData,a=t.findIndex((function(t){return Number(t.post_id)===Number(e)}));if(-1===a)return console.error("Post with id "+e+" not found"),void console.log(t);var n=t[a],r=n.post_status,l=t[a-1]||t[t.length-1],s=t[a+1]||t[0],i=n.status_label,o=n.action_links,c=n.taxonomies||null,u=Number(n.can_edit_post)>0,p='
';l.post_id!=n.post_id&&(p+='"),s.post_id!=n.post_id&&(p+='"),""!==o.edit&&(p+='
'+publishpressCalendarParams.strings.edit_label+"
"),""!==o.trash&&(p+='
'+publishpressCalendarParams.strings.delete_label+"
"),""!==o.previewpost?p+='
'+publishpressCalendarParams.strings.preview_label+"
":""!==o.view&&(p+='
'+publishpressCalendarParams.strings.view_label+"
"),p+="
";var d='
';if(d='",d+='",d+="
",jQuery("#pp-content-calendar-general-modal-container").html(d);var v=Math.round(.78*window.innerHeight);tb_show(p,"#TB_inline?width=600&height="+v+"&inlineId=pp-content-calendar-general-modal");var g=jQuery("body.pp-content-calendar-page #TB_window").css("height");if(g){var b=parseInt(g,10)-55;jQuery(".pp-content-calendar-general-modal-container .modal-content-right .scrollable-content").css("height",b-60+"px"),jQuery(".pp-content-calendar-general-modal-container .modal-content-left").css("height",b+"px"),jQuery("body.pp-content-calendar-page #TB_ajaxContent").css("height",b+"px");var y=jQuery(".pp-content-calendar-general-modal-container .modal-post-title .title-area");y.length>0&&x(!1,y)}jQuery(".pp-content-calendar-general-modal-container .modal-content-right .date-time-pick").each((function(){var e=jQuery(this),t=function(e,t){var a={dateFormat:publishpressCalendarParams.strings.date_format,firstDay:publishpressCalendarParams.strings.week_first_day},n=jQuery.extend({},a,t),r=e.attr("data-alt-field");return r&&void 0!==r&&0!=r.length?jQuery.extend({},n,{altField:'input[name="'+r+'"]',altFormat:e.attr("data-alt-format")}):n}(e,{alwaysSetTime:!1,controlType:"select",altFieldTimeOnly:!1});e.hasClass("future-date")&&(t.minDate=new Date),e.datetimepicker(t)})),jQuery(".pp-modal-form-author").pp_select2({allowClear:!1,ajax:{url:ajaxurl,dataType:"json",delay:0,data:function(e){return{action:"publishpress_calendar_search_authors",nonce:publishpressCalendarParams.nonce,q:e.term}},processResults:function(e){return{results:e}},cache:!1}}),jQuery(".pp-modal-form-post-taxonomy").pp_select2({allowClear:!0,ajax:{url:ajaxurl,dataType:"json",delay:0,data:function(e){return{action:"publishpress_calendar_search_terms",taxonomy:jQuery(this).attr("data-taxonomy"),nonce:publishpressCalendarParams.nonce,q:e.term}},processResults:function(e){return{results:e}},cache:!1}}),jQuery(".pp-modal-form-post-status").pp_select2({allowClear:!1})}function x(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){if(!e)e=jQuery(".pp-content-calendar-general-modal-container .modal-post-title .title-area");e.css("height","auto"),e.css("height",e[0].scrollHeight+"px")}(t)}function j(e){return e.isEditing?React.createElement("input",{type:"text",id:e.id,value:e.value,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):React.createElement("time",{dateTime:e.value,title:e.value,id:e.id},e.valueString||e.value)}a.r(t);var S=jQuery;function O(e){var t,a=React.useRef(null);React.useEffect((function(){var t={placeholder:e.placeholder||!1,tags:!0,allowClear:void 0===e.allowClear||null===e.allowClear||e.allowClear};return e.ajaxUrl&&e.ajaxAction&&(t.ajax={delay:250,url:e.ajaxUrl,dataType:"json",data:function(t){var a={q:t.term,action:e.ajaxAction,nonce:e.nonce};if(e.ajaxArgs)for(var n in e.ajaxArgs)e.ajaxArgs.hasOwnProperty(n)&&(a[n]=e.ajaxArgs[n]);return a},processResults:function(e){return{results:e}}}),S(a.current).pp_select2(t).on("select2:select",(function(t){"function"==typeof e.onSelect&&e.onSelect(t,a.current,S(a.current).pp_select2("data"))})).on("select2:clear",(function(t){"function"==typeof e.onClear&&e.onClear(t,a.current)})),function(){S(a.current).pp_select2("destroy")}}),[]),e.options&&(t=e.options.map((function(e){return React.createElement("option",{key:"select-option-".concat(e.value),value:e.value},e.text)})));var n="pp_select2";return e.className&&(n+=" "+e.className),n+=e.metadata?"pp-calendar-form-metafied "+e.post_types:"",React.createElement("select",{className:n,defaultValue:e.value,type:"select",name:e.name,id:e.id,multiple:e.multiple,ref:a},e.placeholder?React.createElement("option",{value:""},e.placeholder):React.createElement(React.Fragment,null),t)}function P(e){return e.isEditing?React.createElement(O,{ajaxUrl:e.ajaxUrl,nonce:e.nonce,multiple:e.multiple,ajaxAction:"publishpress_calendar_search_authors",ajaxArgs:e.ajaxArgs,value:e.value,metadata:e.metadata,post_types:e.post_types,className:e.metadata?"pp-calendar-form-metafied-input":"",name:e.name,id:e.id,onSelect:e.onSelect,onClear:e.onClear}):React.createElement("span",{id:e.id},e.value.join(", "))}function D(e){return e.isEditing?React.createElement("input",{type:"text",value:e.value}):React.createElement("span",null,e.value)}function T(e){return e.isEditing?React.createElement(O,{ajaxUrl:e.ajaxUrl,nonce:e.nonce,multiple:e.multiple,ajaxAction:e.ajaxAction,ajaxArgs:e.ajaxArgs,options:e.options,value:e.value,name:e.name,id:e.id,onSelect:e.onSelect,onClear:e.onClear}):React.createElement("span",{id:e.id},e.value)}function A(e){return e.isEditing?React.createElement(O,{options:e.options,id:e.id,value:e.value,allowClear:e.allowClear,onSelect:e.onSelect,onClear:e.onClear}):React.createElement("span",{id:e.id},e.value)}function I(e){return e.isEditing?React.createElement(O,{placeholder:e.placeholder,id:e.id,ajaxUrl:e.ajaxUrl,nonce:e.nonce,ajaxAction:"publishpress_calendar_search_terms",ajaxArgs:{taxonomy:e.taxonomy},options:e.options,value:e.value,multiple:e.multiple,onSelect:e.onSelect,onClear:e.onClear,className:e.className}):void 0===e.value||0===e.value.length?React.createElement("span",{id:e.id,className:"publishpress-calendar-empty-value"},publishpressCalendarParams.strings.noTerms):React.createElement("span",{id:e.id},e.value.join(", "))}function N(e){return e.isEditing?React.createElement("input",{type:"checkbox",id:e.id,value:"1",checked:"Yes"===e.value}):"Yes"===e.value?React.createElement("span",{id:e.id,className:"dashicons dashicons-yes-alt"}):React.createElement("span",{id:e.id,className:"dashicons dashicons-no-alt"})}function F(e){return e.isEditing?React.createElement("input",{type:"location",id:e.id,value:e.value,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):React.createElement("span",{id:e.id},e.value)}function L(e){var t=e.metadata?"pp-calendar-form-metafied-input pp-calendar-form-metafied "+e.post_types:"";return e.isEditing?React.createElement("div",{className:t},React.createElement("textarea",{id:e.id,metadata:e.metadata,post_types:e.post_types,name:e.name,className:t,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}},e.value)):React.createElement("div",{id:e.id},e.value)}function M(e){return e.isEditing?React.createElement("input",{type:"text",id:e.id,value:e.value,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):React.createElement("span",{id:e.id},e.value)}function Q(e){return e.isEditing?React.createElement("input",{type:"text",id:e.id,value:e.value}):React.createElement("span",{id:e.id},e.value)}function U(e){var t;return e.isEditing?React.createElement("input",{type:"number",value:e.value,id:e.id,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):(t=0===e.value?"publishpress-calendar-empty-value":"",React.createElement("span",{id:e.id,className:t},e.value))}function G(e){return React.useEffect((function(){var t="#"+e.id,a=jQuery(t);a.length&&(a.attr("placeholder",e.placeholder||"HH:MM"),a.on("input",(function(e){var t=e.target.value.replace(/\D/g,"");if(1===t.length&&parseInt(t[0],10)>2)a.val("");else{t.length>=3&&(t=t.slice(0,2)+":"+t.slice(2,4)),a.val(t.slice(0,5));var n=t.split(":");if(n[0]){var r=n[0];if(2===r.length&&"2"===r[0]&&parseInt(r[1],10)>3)return void a.val(r[0])}if(n[1]){var l=n[1];if(1===l.length&&parseInt(l[0],10)>5)return void a.val(n[0]+":");2===l.length&&parseInt(l,10)>59&&a.val(n[0]+":"+l[0])}}})),a.on("change",(function(t){var n=a.val();/^([01][0-9]|2[0-3]):[0-5][0-9]$/.test(n)||(alert("Invalid time format. Please enter a time between 00:00 and 23:59."),a.val("")),e.onChange&&e.onChange(t,n)})))})),e.isEditing?React.createElement("input",{type:"text",id:e.id,placeholder:e.placeholder||null,value:e.value}):React.createElement("span",{id:e.id},e.value)}var H=jQuery;function q(e){if(!e.data)return React.createElement(React.Fragment,null);if(!e.target.current)return React.createElement(React.Fragment,null);var t=H(e.target.current).position(),a=H(e.target.current).offset(),n=H(e.target.current).width(),r=t.top,l=a.left+380+10+180>=H(document).width()?t.left-25-380:t.left+n+10,s=function(t,a){t.preventDefault(),y(a.action,a.args,e.ajaxUrl).then((function(t){e.onItemActionClickCallback(a.action,e.id,t)}))};return React.createElement("div",{className:"publishpress-calendar-popup",style:{top:r,left:l}},React.createElement("div",{className:"publishpress-calendar-popup-title",style:{backgroundColor:e.color}},e.icon&&React.createElement("span",{className:"dashicons "+e.icon+" publishpress-calendar-icon"}),React.createElement("span",{dangerouslySetInnerHTML:{__html:e.title}}),React.createElement("span",{className:"dashicons dashicons-no publishpress-calendar-popup-close",title:e.strings.close,onClick:function(){H(document).trigger("publishpress_calendar:close_popup")}})),React.createElement("table",null,React.createElement("tbody",null,function(){var t,a,n=[];for(var r in e.data.fields)if(e.data.fields.hasOwnProperty(r)){switch((t=e.data.fields[r]).type){case"date":a=React.createElement(j,{value:t.value,valueString:t.valueString||null,isEditing:!1});break;case"time":a=React.createElement(G,{value:t.value,isEditing:!1});break;case"authors":a=React.createElement(P,{value:t.value,isEditing:!1});break;case"select":a=React.createElement(T,{value:t.value,isEditing:!1});break;case"type":a=React.createElement(D,{value:t.value,isEditing:!1});break;case"status":a=React.createElement(A,{value:t.value,isEditing:!1});break;case"taxonomy":a=React.createElement(I,{value:t.value,isEditing:!1});break;case"checkbox":a=React.createElement(N,{value:t.value,isEditing:!1});break;case"location":a=React.createElement(F,{value:t.value,isEditing:!1});break;case"paragraph":a=React.createElement(L,{value:t.value,isEditing:!1});break;case"text":a=React.createElement(M,{value:t.value,isEditing:!1});break;case"user":a=React.createElement(Q,{value:t.value,isEditing:!1});break;case"number":a=React.createElement(U,{value:t.value,isEditing:!1});break;default:a=null}n.push(React.createElement("tr",{key:"field-rows-popup-".concat(n.length)},React.createElement("th",null,t.label,":"),React.createElement("td",null,a)))}return n}())),React.createElement("hr",null),React.createElement("div",{className:"publishpress-calendar-popup-links"},function(){var t,a=[];for(var n in e.data.links)e.data.links.hasOwnProperty(n)&&((t=e.data.links[n]).url?a.push(React.createElement("a",{key:"links-popup-".concat(a.length),href:t.url},t.label)):t.action&&a.push(React.createElement("a",{key:"links-popup-".concat(a.length),onClick:function(e){return s(e,t)}},t.label)),a.push(React.createElement("span",{key:"links-popup-".concat(a.length)},"|")));return a.pop(),a}()))}var Y=jQuery;function V(e){var t,a,n=e.strings.untitled,r=React.useRef(null),l=e.showIcon&&e.icon?React.createElement("span",{className:"dashicons "+e.icon}," "):null,s=e.showTime?React.createElement("time",{className:"publishpress-calendar-item-time",dateTime:e.timestamp,title:e.timestamp},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ga",a=e.getHours();return"ga"===t||"ha"===t?0===a?a="12am":a<12?("ha"===t&&(a=a.toString().padStart(2,"0")),a+="am"):(a>12&&(a-=12),"ha"===t&&(a=a.toString().padStart(2,"0")),a+="pm"):a=a.toString().padStart(2,"0"),a}(k(e.timestamp),e.timeFormat||"g:i a")):null,i=e.label||n;return React.createElement("li",{ref:r,className:(t=e.id,a="publishpress-calendar-item post-"+t,e.isPopupOpened&&(a+=" publishpress-calendar-item-opened-popup"),e.canMove&&(a+=" publishpress-calendar-item-movable"),a),style:{backgroundColor:e.color},"data-index":e.index,"data-id":e.id,"data-datetime":e.timestamp,onClick:function(t){var a;(a=t.target,Y(a).hasClass("publishpress-calendar-popup")||Y(a).parents(".publishpress-calendar-popup").length>0)||e.onClickItemCallback(e.id)}},l,s,React.createElement("span",{className:"publishpress-calendar-item-title",dangerouslySetInnerHTML:{__html:i}}),e.isPopupOpened&&React.createElement(q,{target:r,id:e.id,title:i,icon:e.icon,timestamp:e.timestamp,color:e.color,data:e.isPopupOpened?e.getPopupItemDataCallback():null,onItemActionClickCallback:e.onItemActionClickCallback,ajaxUrl:e.ajaxUrl,strings:e.strings}))}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l,s,i=[],o=!0,c=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;o=!1}else for(;!(o=(n=l.call(a)).done)&&(i.push(n.value),i.length!==t);o=!0);}catch(e){c=!0,r=e}finally{try{if(!o&&null!=a.return&&(s=a.return(),Object(s)!==s))return}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return B(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a=0?"business-day":"weekend-day",r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()&&r.getDate()===n.getDate()&&(l+=" publishpress-calendar-today"),e.isLoading&&(l+=" publishpress-calendar-loading"),i&&(l+=" publishpress-calendar-uncollapse"),1===n.getDate()&&(l+=" publishpress-calendar-first-day-of-month"),e.isHovering&&(l+=" publishpress-calendar-hovering"),"publishpress-calendar-"+l),"data-year":e.date.getFullYear(),"data-month":e.date.getMonth()+1,"data-day":e.date.getDate()},React.createElement("div",null,React.createElement("div",{className:"publishpress-calendar-cell-header"},e.shouldDisplayMonthName&&React.createElement("span",{className:"publishpress-calendar-month-name"},(t=e.date.getMonth(),[(a=publishpressCalendarParams.strings).monthJan,a.monthFeb,a.monthMar,a.monthApr,a.monthMay,a.monthJun,a.monthJul,a.monthAug,a.monthSep,a.monthOct,a.monthNov,a.monthDec][t])),React.createElement("span",{className:"publishpress-calendar-date"},e.date.getDate()),e.isHovering&&React.createElement("span",{className:"publishpress-calendar-cell-click-to-add"},e.strings.clickToAdd)),React.createElement("ul",{className:"publishpress-calendar-day-items"},p.map((function(t){var a=t.id===e.openedItemId;return React.createElement(V,{key:"item-"+t.id+"-"+e.date.getTime(),icon:t.icon,color:t.color,label:t.label,id:t.id,timestamp:t.timestamp,timeFormat:e.timeFormat,showTime:t.showTime,showIcon:!0,index:c++,canMove:t.canEdit,isPopupOpened:a,getPopupItemDataCallback:e.getOpenedItemDataCallback,onClickItemCallback:e.onClickItemCallback,onItemActionClickCallback:e.onItemActionClickCallback,ajaxUrl:e.ajaxUrl,strings:e.strings})}))),function(){if(-1===e.maxVisibleItems)return React.createElement(React.Fragment,null);if(e.items.length>e.maxVisibleItems){var t=e.items.length-e.maxVisibleItems,a=e.strings.hideItems,n=e.strings.showMore,r=i?a.replace("%s",t):n.replace("%s",t),l=i?"publishpress-calendar-hide-items":"publishpress-calendar-show-more",s=i?"hidden":"visibility";return React.createElement("a",{className:l,onClick:u},React.createElement("span",{className:"dashicons dashicons-"+s})," ",r)}return React.createElement(React.Fragment,null)}()))}wp.i18n._n;var z=jQuery;function J(e){return e.isEditing?(z(".pp_editorial_single_select2").length>0&&z(".pp_editorial_single_select2").pp_select2({allowClear:!0,placeholder:function(){z(this).data("placeholder")}}),z(".pp_editorial_meta_multi_select2").length>0&&z(".pp_editorial_meta_multi_select2").pp_select2({multiple:!0}),z(".date-time-pick").each((function(){var e=z(this),t=function(e,t){var a=z.extend({},{},t),n=e.attr("data-alt-field");return n&&void 0!==n&&0!=n.length?z.extend({},a,{altField:'input[name="'+n+'"]',altFormat:e.attr("data-alt-format")}):a}(e,{alwaysSetTime:!1,controlType:"select",altFieldTimeOnly:!1});e.datetimepicker(t)})),React.createElement("div",{dangerouslySetInnerHTML:{__html:e.html}})):React.createElement("span",{id:e.id},e.value)}function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l,s,i=[],o=!0,c=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;o=!1}else for(;!(o=(n=l.call(a)).done)&&(i.push(n.value),i.length!==t);o=!0);}catch(e){c=!0,r=e}finally{try{if(!o&&null!=a.return&&(s=a.return(),Object(s)!==s))return}finally{if(c)throw r}}return i}}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){if(e){if("string"==typeof e)return Z(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Z(e,t):void 0}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&(n=a[0].id),x(i,n)},onClear:function(e,t){x(i,null)}});break;case"taxonomy":a=React.createElement(I,{value:t.value,isEditing:!0,id:n,taxonomy:t.taxonomy,nonce:e.nonce,ajaxUrl:e.ajaxUrl,multiple:!0,onSelect:function(e,t,a){for(var n=[],r=0;r1&&React.createElement("tr",null,React.createElement("th",null,React.createElement("label",null,e.strings.postType)),React.createElement("td",null,React.createElement(O,{options:e.postTypes,allowClear:!1,onSelect:function(e){var t=ee(e.target).pp_select2("data")[0].id;n(t),x("post_type",t)}}))),1===e.postTypes.length&&React.createElement("tr",null,React.createElement("th",null,React.createElement("label",null,e.strings.postType)),React.createElement("td",null,function(t){var a,n=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=X(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,s=!0,i=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return s=e.done,e},e:function(e){i=!0,l=e},f:function(){try{s||null==a.return||a.return()}finally{if(i)throw l}}}}(e.postTypes);try{for(n.s();!(a=n.n()).done;){var r=a.value;if(r.value===t)return r.text}}catch(e){n.e(e)}finally{n.f()}return e.strings.postTypeNotFound}(a))),H.length>0&&H)),0===H.length&&React.createElement("div",{className:"publishpress-calendar-popup-loading-fields"},e.strings.pleaseWaitLoadingFormFields),f&&React.createElement("div",{className:"publishpress-calendar-popup-error-message"},React.createElement("span",{className:"dashicons dashicons-warning"}),f),React.createElement("hr",{className:"publishpress-calendar-popup-links-hr"}),React.createElement("div",{className:"publishpress-calendar-popup-links"},function(){var t,a=[{id:"create",label:e.strings.save,labelLoading:e.strings.saving,action:"publishpress_calendar_create_item"},{id:"edit",label:e.strings.saveAndEdit,labelLoading:e.strings.saving,action:"publishpress_calendar_create_item"}],n=[];for(var r in a)a.hasOwnProperty(r)&&(t=a[r],p===t.id?n.push(React.createElement("span",{key:t.id},t.labelLoading)):n.push(b(t,S)),n.push(React.createElement("span",{key:"link-separator-".concat(n.length)},"|")));return n.pop(),n}(),o&&React.createElement("span",{className:"dashicons dashicons-update-alt publishpress-spinner"}))))}function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function re(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);a tr > td").off("mouseenter")},ye=function(){oe(".publishpress-calendar-day-hover").removeClass("publishpress-calendar-day-hover"),oe(".publishpress-calendar-loading").removeClass("publishpress-calendar-loading")},Ee=function(e){c(new Date(o.getTime()+7*e*24*60*60*1e3))},we=function(e){e.preventDefault(),J((function(e){return e+1}))},ke=function(t,a){var n=oe(t.target),r=oe(a.draggable[0]),l=g(k(r.data("datetime")));oe(t.target).addClass("publishpress-calendar-loading"),function(t,a,n,r,l){if(f[t]){var s=f[t][a];E(!0),D(e.strings.movingTheItem);var i=pe(e.actionMoveItem),o=new FormData;o.append("id",s.id),o.append("year",n),o.append("month",r),o.append("day",l),fetch(i,{method:"POST",body:o}).then((function(e){return e.json()})).then((function(){J(z+1)}))}}(l,r.data("index"),n.data("year"),n.data("month"),n.data("day"))},_e=function(e,t){ye(),oe(e.target).addClass("publishpress-calendar-day-hover")},Ce=function(e){var t=oe(e);return t.is("td.publishpress-calendar-business-day, td.publishpress-calendar-weekend-day")?t:t.is(".publishpress-calendar-cell-header, .publishpress-calendar-date, .publishpress-calendar-cell-click-to-add, .publishpress-calendar-month-name")?t.parents("td"):null},Re=function(e){var t=k(e.data("year")+"-"+e.data("month")+"-"+e.data("day"));return t.getHours()>0&&t.setTime(t.getTime()+6e4*t.getTimezoneOffset()),t},xe=function(){var e;oe(".publishpress-calendar tbody > tr > td").on("mouseover",(function(t){t.preventDefault(),t.stopPropagation();var a=Ce(t.target);if(a){if(function(e){return oe(e).hasClass("publishpress-calendar-day-hover")}(a))return;Z(Re(a)),e=Re(a)}})).on("mouseout",(function(t){t.stopPropagation(),t.preventDefault(),Ce(t.relatedTarget)||(Z(null),e=null)})).on("click",(function(t){Ce(t.target)&&(U(null),ne(e))}))},je=function(t,a){ue((function(e){return re(re({},e),{},le({},t,a))})),"weeks"===t&&((0===(a=parseInt(a))||isNaN(a))&&(a=e.numberOfWeeksToDisplay),I(a),d(a))},Se=function(){U(null),q(null),ne(null)},Oe=function(e){q(null),Z(null),ne(null),U(e),publishpressCalendarParams.proActive&&R(e)},Pe=function(e,t,a){W(V+1)},De=function(e){"Escape"===e.key&&Se()},Te=function(){return H},Ae=function(){U(null)};React.useEffect((function(){return document.addEventListener("keydown",De),oe(document).on("publishpress_calendar:close_popup",Ae),oe(document).on("change","#pp-content-filters select:not(.non-trigger-select)",de),oe(document).on("click",".metadata-item-filter .filter-apply input[type=submit]",ge),oe(document).on("click",".pp-content-calendar-manage .search-bar input[type=submit]",ve),oe(document).on("click",".pp-content-calendar-manage .me-mode-action",fe),oe(document).on("click",".pp-content-calendar-manage .pp-show-revision-btn",he),oe(document).on("click",".pp-popup-modal-header .modal-nav-prev, .pp-popup-modal-header .modal-nav-next",me),oe(document).on("input",".pp-content-calendar-general-modal-container .modal-post-title .title-area",x),oe(document).on("click",".pp-content-calendar-general-modal-container .modal-content-right .save-post-changes:not(.disabled)",(function(e){C(e,jQuery(this),we)})),e.userCanAddPosts&&xe(),be}),[]),React.useEffect((function(){oe(".publishpress-calendar-day-items li").draggable({zIndex:99999,helper:"clone",containment:".publishpress-calendar table",start:function(e,t){return oe(e.target).data("id")!==Q&&(!!oe(e.target).hasClass("publishpress-calendar-item-movable")&&(oe(e.target).addClass("ui-draggable-target"),Se(),void S(!0)))},stop:function(e,t){oe(".ui-draggable-target").removeClass("ui-draggable-target"),S(!1)}}),oe(".publishpress-calendar tbody > tr > td").droppable({drop:ke,over:_e})})),e.userCanAddPosts&&React.useEffect(xe,[o,p,A,F,ce,z]),React.useEffect((function(){E(!0),D(e.strings.loading);var t=pe(e.actionGetData,"");ce&&Object.keys(ce).length>0&&(ce.hasOwnProperty("start_date")&&delete ce.start_date,ce.hasOwnProperty("number_of_weeks")&&delete ce.number_of_weeks,t+="&"+new URLSearchParams(ce).toString());t+="&start_date="+g(v(o,e.weekStartsOnSunday))+"&number_of_weeks="+p,t+=F?"&s="+F:"&s=",fetch(t).then((function(e){return e.json()})).then((function(e){publishpressCalendarParams.PostData=_(publishpressCalendarParams.PostData,e),h(e),E(!1),D(null),ye(),jQuery(".pp-title-tooltip").each((function(){var e=jQuery(this),t=e.attr("title");if(t&&""!==t){e.removeAttr("title");var a=jQuery('
').text(t);jQuery("body").append(a),e.hover((function(){a.show();var t=e.offset().top-a.outerHeight()-10,n=e.offset().left+e.outerWidth()/2-a.outerWidth()/2;a.css({top:t+"px",left:n+"px",position:"absolute"})}),(function(){a.hide()}))}}))}))}),[o,p,A,F,ce,z]),React.useEffect((function(){if(Q)if(publishpressCalendarParams.proActive)R(Q);else{E(!0),D(e.strings.loadingItem);var t=e.ajaxUrl+"?action=publishpress_calendar_get_post_data&nonce="+e.nonce+"&id="+Q;fetch(t).then((function(e){return e.json()})).then((function(e){E(!1),D(null),q(e)}))}}),[Q,V]);var Ie=["publishpress-calendar","publishpress-calendar-theme-"+t];return e.userCanAddPosts&&Ie.push("user-can-add-posts"),React.createElement("div",{className:Ie.join(" ")},React.createElement(r,{refreshOnClickCallback:we,backPageOnClickCallback:function(e){e.preventDefault(),Ee(-1*p)},backOnClickCallback:function(e){e.preventDefault(),Ee(-1)},forwardOnClickCallback:function(e){e.preventDefault(),Ee(1)},forwardPageOnClickCallback:function(e){e.preventDefault(),Ee(p)},todayOnClickCallback:function(t){t.preventDefault(),c(v(e.todayDate,e.weekStartsOnSunday))},strings:e.strings}),React.createElement("table",null,React.createElement("thead",null,React.createElement("tr",null,React.createElement(l,{weekStartsOnSunday:e.weekStartsOnSunday,strings:e.strings}))),React.createElement("tbody",null,function(){for(var t,a,n=7*p,r=v(o,e.weekStartsOnSunday),l=[],s=[],i=0,c=r.getMonth(),u=0;u=0;--l){var s=this.tryEntries[l],i=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var o=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(o&&c){if(this.prev=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),P(a),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;P(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:T(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2],n=new Date(t,0,1+7*(e-1)),r=n.getDay(),l=n;return r<=4?l.setDate(n.getDate()-n.getDay()+1):l.setDate(n.getDate()+8-n.getDay()),a&&l.setDate(l.getDate()-1),l}function h(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n=a.getDay();a.setDate(a.getDate()+4-(a.getDay()||7));var r=new Date(a.getFullYear(),0,1),l=Math.round(((a-r)/864e5+1)/7);return t&&0===n&&l++,[a.getFullYear(),l]}function v(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=h(e,t);return f(a[1],a[0],t)}function g(e){return e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0")}function b(e,t){var a=e.className?e.className:"";return e.url?React.createElement("a",{key:"link-".concat(e.url,"-").concat(e.label),href:e.url,className:a},e.label):e.action?React.createElement("a",{key:"link-".concat(e.url,"-").concat(e.label),className:a,onClick:function(a){return t(a,e)}},e.label):void 0}function y(e,t,a){return E.apply(this,arguments)}function E(){return(E=m(o().mark((function e(t,a,n){var r,l,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n+"?action="+t,e.t0=o().keys(a);case 2:if((e.t1=e.t0()).done){e.next=9;break}if(l=e.t1.value,a.hasOwnProperty(l)){e.next=6;break}return e.abrupt("continue",2);case 6:r+="&"+l+"="+a[l],e.next=2;break;case 9:return e.next=11,fetch(r);case 11:return s=e.sent,e.next=14,s.json();case 14:return e.abrupt("return",e.sent);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return(w=m(o().mark((function e(t,a,n,r){var l,s,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=n+"?action="+t,e.t0=o().keys(a);case 2:if((e.t1=e.t0()).done){e.next=9;break}if(s=e.t1.value,a.hasOwnProperty(s)){e.next=6;break}return e.abrupt("continue",2);case 6:l+="&"+s+"="+a[s],e.next=2;break;case 9:return e.next=11,fetch(l,{method:"post",body:r});case 11:return i=e.sent,e.next=14,i.json();case 14:return e.abrupt("return",e.sent);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e){return new Date(String(e).replace(/-/g,"/"))}function _(e,t){for(var a in t)t.hasOwnProperty(a)&&t[a].forEach((function(t){if(t.calendar_post_data&&Object.keys(t.calendar_post_data).length>0){var a=e.findIndex((function(e){return e.post_id===t.calendar_post_data.post_id})),n=u(u({},t.calendar_post_data),{},{taxonomies:u({},t.calendar_taxonomies_data)});a>-1?e[a]=n:e.push(n)}}));return e}function C(e,t,a){e.preventDefault();var n=t.closest(".modal-content-right");t.addClass("disabled");var r=t.attr("data-post_id"),l=n.find(".title-area").val(),s=n.find(".content_board_post_date_hidden").val(),i=n.find(".pp-modal-form-author").val(),o=n.find(".pp-modal-form-post-status").val(),c={};n.find(".pp-modal-form-post-taxonomy").each((function(){var e=jQuery(this);c[e.attr("data-taxonomy")]=e.val()}));var u={action:"publishpress_content_calendar_update_post",post_id:r,post_title:l,post_date:s,post_author:i,post_status:o,post_taxonomies:c,nonce:publishpressCalendarParams.nonce};jQuery.post(ajaxurl,u,(function(n){if("success"==n.status){var s=publishpressCalendarParams.PostData,i=jQuery(".publishpress-calendar .publishpress-calendar-item.post-"+r),c=s.findIndex((function(e){return Number(e.post_id)===Number(r)})),u=s[c],p=u.taxonomies;u.post_title=l,u.raw_title=l,u.post_status=o,u.author_markup=n.author_markup,u.date_markup=n.date_markup;var d=n.taxonomy_terms;for(var m in d)if(d.hasOwnProperty(m)){var f=d[m];p[m].terms=f}u.taxonomies=p,publishpressCalendarParams.PostData[c]=u,i.find(".publishpress-calendar-item-title").html(u.post_title),"function"==typeof a&&a(e)}t.removeClass("disabled"),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";setTimeout((function(){var a="pp-floating-msg-"+Math.round((new Date).getTime()+100*Math.random()),n=jQuery(".pp-floating-status").length;jQuery("#wpbody-content").after(''+t+""),jQuery("."+a).css("bottom",45*n).fadeIn(1e3).delay(1e4).fadeOut(1e3,(function(){jQuery(this).remove()}))}),500)}(n.status,n.content)}))}function R(e){var t=publishpressCalendarParams.PostData,a=t.findIndex((function(t){return Number(t.post_id)===Number(e)}));if(-1===a)return console.error("Post with id "+e+" not found"),void console.log(t);var n=t[a],r=n.post_status,l=t[a-1]||t[t.length-1],s=t[a+1]||t[0],i=n.status_label,o=n.action_links,c=n.taxonomies||null,u=Number(n.can_edit_post)>0,p='
';l.post_id!=n.post_id&&(p+='"),s.post_id!=n.post_id&&(p+='"),""!==o.edit&&(p+='
'+publishpressCalendarParams.strings.edit_label+"
"),""!==o.trash&&(p+='
'+publishpressCalendarParams.strings.delete_label+"
"),""!==o.previewpost?p+='
'+publishpressCalendarParams.strings.preview_label+"
":""!==o.view&&(p+='
'+publishpressCalendarParams.strings.view_label+"
"),p+="
";var d='
';if(d='",d+='",d+="
",jQuery("#pp-content-calendar-general-modal-container").html(d);var v=Math.round(.78*window.innerHeight);tb_show(p,"#TB_inline?width=600&height="+v+"&inlineId=pp-content-calendar-general-modal");var g=jQuery("body.pp-content-calendar-page #TB_window").css("height");if(g){var b=parseInt(g,10)-55;jQuery(".pp-content-calendar-general-modal-container .modal-content-right .scrollable-content").css("height",b-60+"px"),jQuery(".pp-content-calendar-general-modal-container .modal-content-left").css("height",b+"px"),jQuery("body.pp-content-calendar-page #TB_ajaxContent").css("height",b+"px");var y=jQuery(".pp-content-calendar-general-modal-container .modal-post-title .title-area");y.length>0&&x(!1,y)}jQuery(".pp-content-calendar-general-modal-container .modal-content-right .date-time-pick").each((function(){var e=jQuery(this),t=function(e,t){var a={dateFormat:publishpressCalendarParams.strings.date_format,firstDay:publishpressCalendarParams.strings.week_first_day},n=jQuery.extend({},a,t),r=e.attr("data-alt-field");return r&&void 0!==r&&0!=r.length?jQuery.extend({},n,{altField:'input[name="'+r+'"]',altFormat:e.attr("data-alt-format")}):n}(e,{alwaysSetTime:!1,controlType:"select",altFieldTimeOnly:!1});e.hasClass("future-date")&&(t.minDate=new Date),e.datetimepicker(t)})),jQuery(".pp-modal-form-author").pp_select2({allowClear:!1,ajax:{url:ajaxurl,dataType:"json",delay:0,data:function(e){return{action:"publishpress_calendar_search_authors",nonce:publishpressCalendarParams.nonce,q:e.term}},processResults:function(e){return{results:e}},cache:!1}}),jQuery(".pp-modal-form-post-taxonomy").pp_select2({allowClear:!0,ajax:{url:ajaxurl,dataType:"json",delay:0,data:function(e){return{action:"publishpress_calendar_search_terms",taxonomy:jQuery(this).attr("data-taxonomy"),nonce:publishpressCalendarParams.nonce,q:e.term}},processResults:function(e){return{results:e}},cache:!1}}),jQuery(".pp-modal-form-post-status").pp_select2({allowClear:!1})}function x(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){if(!e)e=jQuery(".pp-content-calendar-general-modal-container .modal-post-title .title-area");e.css("height","auto"),e.css("height",e[0].scrollHeight+"px")}(t)}function j(e){return e.isEditing?React.createElement("input",{type:"text",id:e.id,value:e.value,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):React.createElement("time",{dateTime:e.value,title:e.value,id:e.id},e.valueString||e.value)}a.r(t);var S=jQuery;function O(e){var t,a=React.useRef(null);React.useEffect((function(){var t={placeholder:e.placeholder||!1,tags:!0,allowClear:void 0===e.allowClear||null===e.allowClear||e.allowClear};return e.ajaxUrl&&e.ajaxAction&&(t.ajax={delay:250,url:e.ajaxUrl,dataType:"json",data:function(t){var a={q:t.term,action:e.ajaxAction,nonce:e.nonce};if(e.ajaxArgs)for(var n in e.ajaxArgs)e.ajaxArgs.hasOwnProperty(n)&&(a[n]=e.ajaxArgs[n]);return a},processResults:function(e){return{results:e}}}),S(a.current).pp_select2(t).on("select2:select",(function(t){"function"==typeof e.onSelect&&e.onSelect(t,a.current,S(a.current).pp_select2("data"))})).on("select2:clear",(function(t){"function"==typeof e.onClear&&e.onClear(t,a.current)})),function(){S(a.current).pp_select2("destroy")}}),[]),e.options&&(t=e.options.map((function(e){return React.createElement("option",{key:"select-option-".concat(e.value),value:e.value},e.text)})));var n="pp_select2";return e.className&&(n+=" "+e.className),n+=e.metadata?"pp-calendar-form-metafied "+e.post_types:"",React.createElement("select",{className:n,defaultValue:e.value,type:"select",name:e.name,id:e.id,multiple:e.multiple,ref:a},e.placeholder?React.createElement("option",{value:""},e.placeholder):React.createElement(React.Fragment,null),t)}function P(e){return e.isEditing?React.createElement(O,{ajaxUrl:e.ajaxUrl,nonce:e.nonce,multiple:e.multiple,ajaxAction:"publishpress_calendar_search_authors",ajaxArgs:e.ajaxArgs,value:e.value,metadata:e.metadata,post_types:e.post_types,className:e.metadata?"pp-calendar-form-metafied-input":"",name:e.name,id:e.id,onSelect:e.onSelect,onClear:e.onClear}):React.createElement("span",{id:e.id},e.value.join(", "))}function D(e){return e.isEditing?React.createElement("input",{type:"text",value:e.value}):React.createElement("span",null,e.value)}function T(e){return e.isEditing?React.createElement(O,{ajaxUrl:e.ajaxUrl,nonce:e.nonce,multiple:e.multiple,ajaxAction:e.ajaxAction,ajaxArgs:e.ajaxArgs,options:e.options,value:e.value,name:e.name,id:e.id,onSelect:e.onSelect,onClear:e.onClear}):React.createElement("span",{id:e.id},e.value)}function A(e){return e.isEditing?React.createElement(O,{options:e.options,id:e.id,value:e.value,allowClear:e.allowClear,onSelect:e.onSelect,onClear:e.onClear}):React.createElement("span",{id:e.id},e.value)}function N(e){return e.isEditing?React.createElement(O,{placeholder:e.placeholder,id:e.id,ajaxUrl:e.ajaxUrl,nonce:e.nonce,ajaxAction:"publishpress_calendar_search_terms",ajaxArgs:{taxonomy:e.taxonomy},options:e.options,value:e.value,multiple:e.multiple,onSelect:e.onSelect,onClear:e.onClear,className:e.className}):void 0===e.value||0===e.value.length?React.createElement("span",{id:e.id,className:"publishpress-calendar-empty-value"},publishpressCalendarParams.strings.noTerms):React.createElement("span",{id:e.id},e.value.join(", "))}function I(e){return e.isEditing?React.createElement("input",{type:"checkbox",id:e.id,value:"1",checked:"Yes"===e.value}):"Yes"===e.value?React.createElement("span",{id:e.id,className:"dashicons dashicons-yes-alt"}):React.createElement("span",{id:e.id,className:"dashicons dashicons-no-alt"})}function F(e){return e.isEditing?React.createElement("input",{type:"location",id:e.id,value:e.value,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):React.createElement("span",{id:e.id},e.value)}function L(e){var t=e.metadata?"pp-calendar-form-metafied-input pp-calendar-form-metafied "+e.post_types:"";return e.isEditing?React.createElement("div",{className:t},React.createElement("textarea",{id:e.id,metadata:e.metadata,post_types:e.post_types,name:e.name,className:t,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}},e.value)):React.createElement("div",{id:e.id},e.value)}function M(e){return e.isEditing?React.createElement("input",{type:"text",id:e.id,value:e.value,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):React.createElement("span",{id:e.id},e.value)}function Q(e){return e.isEditing?React.createElement("input",{type:"text",id:e.id,value:e.value}):React.createElement("span",{id:e.id},e.value)}function U(e){var t;return e.isEditing?React.createElement("input",{type:"number",value:e.value,id:e.id,onChange:function(t){e.onChange&&e.onChange(t,t.target.value)}}):(t=0===e.value?"publishpress-calendar-empty-value":"",React.createElement("span",{id:e.id,className:t},e.value))}function G(e){return React.useEffect((function(){var t="#"+e.id,a=jQuery(t);a.length&&(a.attr("placeholder",e.placeholder||"HH:MM"),a.on("input",(function(e){var t=e.target.value.replace(/\D/g,"");if(1===t.length&&parseInt(t[0],10)>2)a.val("");else{t.length>=3&&(t=t.slice(0,2)+":"+t.slice(2,4)),a.val(t.slice(0,5));var n=t.split(":");if(n[0]){var r=n[0];if(2===r.length&&"2"===r[0]&&parseInt(r[1],10)>3)return void a.val(r[0])}if(n[1]){var l=n[1];if(1===l.length&&parseInt(l[0],10)>5)return void a.val(n[0]+":");2===l.length&&parseInt(l,10)>59&&a.val(n[0]+":"+l[0])}}})),a.on("change",(function(t){var n=a.val();/^([01][0-9]|2[0-3]):[0-5][0-9]$/.test(n)||(alert("Invalid time format. Please enter a time between 00:00 and 23:59."),a.val("")),e.onChange&&e.onChange(t,n)})))})),e.isEditing?React.createElement("input",{type:"text",id:e.id,placeholder:e.placeholder||null,value:e.value}):React.createElement("span",{id:e.id},e.value)}var H=jQuery;function q(e){if(!e.data)return React.createElement(React.Fragment,null);if(!e.target.current)return React.createElement(React.Fragment,null);var t=H(e.target.current).position(),a=H(e.target.current).offset(),n=H(e.target.current).width(),r=t.top,l=a.left+380+10+180>=H(document).width()?t.left-25-380:t.left+n+10,s=function(t,a){t.preventDefault(),y(a.action,a.args,e.ajaxUrl).then((function(t){e.onItemActionClickCallback(a.action,e.id,t)}))};return React.createElement("div",{className:"publishpress-calendar-popup",style:{top:r,left:l}},React.createElement("div",{className:"publishpress-calendar-popup-title",style:{backgroundColor:e.color}},e.icon&&React.createElement("span",{className:"dashicons "+e.icon+" publishpress-calendar-icon"}),React.createElement("span",{dangerouslySetInnerHTML:{__html:e.title}}),React.createElement("span",{className:"dashicons dashicons-no publishpress-calendar-popup-close",title:e.strings.close,onClick:function(){H(document).trigger("publishpress_calendar:close_popup")}})),React.createElement("table",null,React.createElement("tbody",null,function(){var t,a,n=[];for(var r in e.data.fields)if(e.data.fields.hasOwnProperty(r)){switch((t=e.data.fields[r]).type){case"date":a=React.createElement(j,{value:t.value,valueString:t.valueString||null,isEditing:!1});break;case"time":a=React.createElement(G,{value:t.value,isEditing:!1});break;case"authors":a=React.createElement(P,{value:t.value,isEditing:!1});break;case"select":a=React.createElement(T,{value:t.value,isEditing:!1});break;case"type":a=React.createElement(D,{value:t.value,isEditing:!1});break;case"status":a=React.createElement(A,{value:t.value,isEditing:!1});break;case"taxonomy":a=React.createElement(N,{value:t.value,isEditing:!1});break;case"checkbox":a=React.createElement(I,{value:t.value,isEditing:!1});break;case"location":a=React.createElement(F,{value:t.value,isEditing:!1});break;case"paragraph":a=React.createElement(L,{value:t.value,isEditing:!1});break;case"text":a=React.createElement(M,{value:t.value,isEditing:!1});break;case"user":a=React.createElement(Q,{value:t.value,isEditing:!1});break;case"number":a=React.createElement(U,{value:t.value,isEditing:!1});break;default:a=null}n.push(React.createElement("tr",{key:"field-rows-popup-".concat(n.length)},React.createElement("th",null,t.label,":"),React.createElement("td",null,a)))}return n}())),React.createElement("hr",null),React.createElement("div",{className:"publishpress-calendar-popup-links"},function(){var t,a=[];for(var n in e.data.links)e.data.links.hasOwnProperty(n)&&((t=e.data.links[n]).url?a.push(React.createElement("a",{key:"links-popup-".concat(a.length),href:t.url},t.label)):t.action&&a.push(React.createElement("a",{key:"links-popup-".concat(a.length),onClick:function(e){return s(e,t)}},t.label)),a.push(React.createElement("span",{key:"links-popup-".concat(a.length)},"|")));return a.pop(),a}()))}var Y=jQuery;function V(e){var t,a,n=e.strings.untitled,r=React.useRef(null),l=e.showIcon&&e.icon?React.createElement("span",{className:"dashicons "+e.icon}," "):null,s=e.showTime?React.createElement("time",{className:"publishpress-calendar-item-time",dateTime:e.timestamp,title:e.timestamp},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ga",a=e.getHours();return"ga"===t||"ha"===t?0===a?a="12am":a<12?("ha"===t&&(a=a.toString().padStart(2,"0")),a+="am"):(a>12&&(a-=12),"ha"===t&&(a=a.toString().padStart(2,"0")),a+="pm"):a=a.toString().padStart(2,"0"),a}(k(e.timestamp),e.timeFormat||"g:i a")):null,i=e.label||n;return React.createElement("li",{ref:r,className:(t=e.id,a="publishpress-calendar-item post-"+t,e.isPopupOpened&&(a+=" publishpress-calendar-item-opened-popup"),e.canMove&&(a+=" publishpress-calendar-item-movable"),a),style:{backgroundColor:e.color},"data-index":e.index,"data-id":e.id,"data-datetime":e.timestamp,onClick:function(t){var a;(a=t.target,Y(a).hasClass("publishpress-calendar-popup")||Y(a).parents(".publishpress-calendar-popup").length>0)||e.onClickItemCallback(e.id)}},l,s,React.createElement("span",{className:"publishpress-calendar-item-title",dangerouslySetInnerHTML:{__html:i}}),e.isPopupOpened&&React.createElement(q,{target:r,id:e.id,title:i,icon:e.icon,timestamp:e.timestamp,color:e.color,data:e.isPopupOpened?e.getPopupItemDataCallback():null,onItemActionClickCallback:e.onItemActionClickCallback,ajaxUrl:e.ajaxUrl,strings:e.strings}))}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l,s,i=[],o=!0,c=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;o=!1}else for(;!(o=(n=l.call(a)).done)&&(i.push(n.value),i.length!==t);o=!0);}catch(e){c=!0,r=e}finally{try{if(!o&&null!=a.return&&(s=a.return(),Object(s)!==s))return}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return B(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a=0?"business-day":"weekend-day",r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()&&r.getDate()===n.getDate()&&(l+=" publishpress-calendar-today"),e.isLoading&&(l+=" publishpress-calendar-loading"),i&&(l+=" publishpress-calendar-uncollapse"),1===n.getDate()&&(l+=" publishpress-calendar-first-day-of-month"),e.isHovering&&(l+=" publishpress-calendar-hovering"),"publishpress-calendar-"+l),"data-year":e.date.getFullYear(),"data-month":e.date.getMonth()+1,"data-day":e.date.getDate()},React.createElement("div",null,React.createElement("div",{className:"publishpress-calendar-cell-header"},e.shouldDisplayMonthName&&React.createElement("span",{className:"publishpress-calendar-month-name"},(t=e.date.getMonth(),[(a=publishpressCalendarParams.strings).monthJan,a.monthFeb,a.monthMar,a.monthApr,a.monthMay,a.monthJun,a.monthJul,a.monthAug,a.monthSep,a.monthOct,a.monthNov,a.monthDec][t])),React.createElement("span",{className:"publishpress-calendar-date"},e.date.getDate()),e.isHovering&&React.createElement("span",{className:"publishpress-calendar-cell-click-to-add"},e.strings.clickToAdd)),React.createElement("ul",{className:"publishpress-calendar-day-items"},p.map((function(t){var a=t.id===e.openedItemId;return React.createElement(V,{key:"item-"+t.id+"-"+e.date.getTime(),icon:t.icon,color:t.color,label:t.label,id:t.id,timestamp:t.timestamp,timeFormat:e.timeFormat,showTime:t.showTime,showIcon:!0,index:c++,canMove:t.canEdit,isPopupOpened:a,getPopupItemDataCallback:e.getOpenedItemDataCallback,onClickItemCallback:e.onClickItemCallback,onItemActionClickCallback:e.onItemActionClickCallback,ajaxUrl:e.ajaxUrl,strings:e.strings})}))),function(){if(-1===e.maxVisibleItems)return React.createElement(React.Fragment,null);if(e.items.length>e.maxVisibleItems){var t=e.items.length-e.maxVisibleItems,a=e.strings.hideItems,n=e.strings.showMore,r=i?a.replace("%s",t):n.replace("%s",t),l=i?"publishpress-calendar-hide-items":"publishpress-calendar-show-more",s=i?"hidden":"visibility";return React.createElement("a",{className:l,onClick:u},React.createElement("span",{className:"dashicons dashicons-"+s})," ",r)}return React.createElement(React.Fragment,null)}()))}wp.i18n._n;var z=jQuery;function J(e){return e.isEditing?(z(".pp_editorial_single_select2").length>0&&z(".pp_editorial_single_select2").pp_select2({allowClear:!0,placeholder:function(){z(this).data("placeholder")}}),z(".pp_editorial_meta_multi_select2").length>0&&z(".pp_editorial_meta_multi_select2").pp_select2({multiple:!0}),z(".date-time-pick").each((function(){var e=z(this),t=function(e,t){var a=z.extend({},{},t),n=e.attr("data-alt-field");return n&&void 0!==n&&0!=n.length?z.extend({},a,{altField:'input[name="'+n+'"]',altFormat:e.attr("data-alt-format")}):a}(e,{alwaysSetTime:!1,controlType:"select",altFieldTimeOnly:!1});e.datetimepicker(t)})),React.createElement("div",{dangerouslySetInnerHTML:{__html:e.html}})):React.createElement("span",{id:e.id},e.value)}function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,l,s,i=[],o=!0,c=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;o=!1}else for(;!(o=(n=l.call(a)).done)&&(i.push(n.value),i.length!==t);o=!0);}catch(e){c=!0,r=e}finally{try{if(!o&&null!=a.return&&(s=a.return(),Object(s)!==s))return}finally{if(c)throw r}}return i}}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){if(e){if("string"==typeof e)return Z(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Z(e,t):void 0}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&(n=a[0].id),x(i,n)},onClear:function(e,t){x(i,null)}});break;case"taxonomy":a=React.createElement(N,{value:t.value,isEditing:!0,id:n,taxonomy:t.taxonomy,nonce:e.nonce,ajaxUrl:e.ajaxUrl,multiple:!0,onSelect:function(e,t,a){for(var n=[],r=0;r1&&React.createElement("tr",null,React.createElement("th",null,React.createElement("label",null,e.strings.postType)),React.createElement("td",null,React.createElement(O,{options:e.postTypes,allowClear:!1,onSelect:function(e){var t=ee(e.target).pp_select2("data")[0].id;n(t),x("post_type",t)}}))),1===e.postTypes.length&&React.createElement("tr",null,React.createElement("th",null,React.createElement("label",null,e.strings.postType)),React.createElement("td",null,function(t){var a,n=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=X(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,s=!0,i=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return s=e.done,e},e:function(e){i=!0,l=e},f:function(){try{s||null==a.return||a.return()}finally{if(i)throw l}}}}(e.postTypes);try{for(n.s();!(a=n.n()).done;){var r=a.value;if(r.value===t)return r.text}}catch(e){n.e(e)}finally{n.f()}return e.strings.postTypeNotFound}(a))),H.length>0&&H)),0===H.length&&React.createElement("div",{className:"publishpress-calendar-popup-loading-fields"},e.strings.pleaseWaitLoadingFormFields),f&&React.createElement("div",{className:"publishpress-calendar-popup-error-message"},React.createElement("span",{className:"dashicons dashicons-warning"}),f),React.createElement("hr",{className:"publishpress-calendar-popup-links-hr"}),React.createElement("div",{className:"publishpress-calendar-popup-links"},function(){var t,a=[{id:"create",className:"button-primary calendar-create-btn",label:e.strings.save,labelLoading:e.strings.saving,action:"publishpress_calendar_create_item"},{id:"edit",className:"button-secondary calendar-edit-btn",label:e.strings.saveAndEdit,labelLoading:e.strings.saving,action:"publishpress_calendar_create_item"}],n=[];for(var r in a)a.hasOwnProperty(r)&&(t=a[r],p===t.id?n.push(React.createElement("span",{key:t.id},t.labelLoading)):n.push(b(t,S)),n.push(React.createElement("span",{key:"link-separator-".concat(n.length)})));return n.pop(),n}(),o&&React.createElement("span",{className:"dashicons dashicons-update-alt publishpress-spinner"}))))}function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function re(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);a tr > td").off("mouseenter")},ye=function(){oe(".publishpress-calendar-day-hover").removeClass("publishpress-calendar-day-hover"),oe(".publishpress-calendar-loading").removeClass("publishpress-calendar-loading")},Ee=function(e){c(new Date(o.getTime()+7*e*24*60*60*1e3))},we=function(e){e.preventDefault(),J((function(e){return e+1}))},ke=function(t,a){var n=oe(t.target),r=oe(a.draggable[0]),l=g(k(r.data("datetime")));oe(t.target).addClass("publishpress-calendar-loading"),function(t,a,n,r,l){if(f[t]){var s=f[t][a];E(!0),D(e.strings.movingTheItem);var i=pe(e.actionMoveItem),o=new FormData;o.append("id",s.id),o.append("year",n),o.append("month",r),o.append("day",l),fetch(i,{method:"POST",body:o}).then((function(e){return e.json()})).then((function(){J(z+1)}))}}(l,r.data("index"),n.data("year"),n.data("month"),n.data("day"))},_e=function(e,t){ye(),oe(e.target).addClass("publishpress-calendar-day-hover")},Ce=function(e){var t=oe(e);return t.is("td.publishpress-calendar-business-day, td.publishpress-calendar-weekend-day")?t:t.is(".publishpress-calendar-cell-header, .publishpress-calendar-date, .publishpress-calendar-cell-click-to-add, .publishpress-calendar-month-name")?t.parents("td"):null},Re=function(e){var t=k(e.data("year")+"-"+e.data("month")+"-"+e.data("day"));return t.getHours()>0&&t.setTime(t.getTime()+6e4*t.getTimezoneOffset()),t},xe=function(){var e;oe(".publishpress-calendar tbody > tr > td").on("mouseover",(function(t){t.preventDefault(),t.stopPropagation();var a=Ce(t.target);if(a){if(function(e){return oe(e).hasClass("publishpress-calendar-day-hover")}(a))return;Z(Re(a)),e=Re(a)}})).on("mouseout",(function(t){t.stopPropagation(),t.preventDefault(),Ce(t.relatedTarget)||(Z(null),e=null)})).on("click",(function(t){Ce(t.target)&&(U(null),ne(e))}))},je=function(t,a){ue((function(e){return re(re({},e),{},le({},t,a))})),"weeks"===t&&((0===(a=parseInt(a))||isNaN(a))&&(a=e.numberOfWeeksToDisplay),N(a),d(a))},Se=function(){U(null),q(null),ne(null)},Oe=function(e){q(null),Z(null),ne(null),U(e),publishpressCalendarParams.proActive&&R(e)},Pe=function(e,t,a){W(V+1)},De=function(e){"Escape"===e.key&&Se()},Te=function(){return H},Ae=function(){U(null)};React.useEffect((function(){return document.addEventListener("keydown",De),oe(document).on("publishpress_calendar:close_popup",Ae),oe(document).on("change","#pp-content-filters select:not(.non-trigger-select)",de),oe(document).on("click",".metadata-item-filter .filter-apply input[type=submit]",ge),oe(document).on("click",".pp-content-calendar-manage .search-bar input[type=submit]",ve),oe(document).on("click",".pp-content-calendar-manage .me-mode-action",fe),oe(document).on("click",".pp-content-calendar-manage .pp-show-revision-btn",he),oe(document).on("click",".pp-popup-modal-header .modal-nav-prev, .pp-popup-modal-header .modal-nav-next",me),oe(document).on("input",".pp-content-calendar-general-modal-container .modal-post-title .title-area",x),oe(document).on("click",".pp-content-calendar-general-modal-container .modal-content-right .save-post-changes:not(.disabled)",(function(e){C(e,jQuery(this),we)})),e.userCanAddPosts&&xe(),be}),[]),React.useEffect((function(){oe(".publishpress-calendar-day-items li").draggable({zIndex:99999,helper:"clone",containment:".publishpress-calendar table",start:function(e,t){return oe(e.target).data("id")!==Q&&(!!oe(e.target).hasClass("publishpress-calendar-item-movable")&&(oe(e.target).addClass("ui-draggable-target"),Se(),void S(!0)))},stop:function(e,t){oe(".ui-draggable-target").removeClass("ui-draggable-target"),S(!1)}}),oe(".publishpress-calendar tbody > tr > td").droppable({drop:ke,over:_e})})),e.userCanAddPosts&&React.useEffect(xe,[o,p,A,F,ce,z]),React.useEffect((function(){E(!0),D(e.strings.loading);var t=pe(e.actionGetData,"");ce&&Object.keys(ce).length>0&&(ce.hasOwnProperty("start_date")&&delete ce.start_date,ce.hasOwnProperty("number_of_weeks")&&delete ce.number_of_weeks,t+="&"+new URLSearchParams(ce).toString());t+="&start_date="+g(v(o,e.weekStartsOnSunday))+"&number_of_weeks="+p,t+=F?"&s="+F:"&s=",fetch(t).then((function(e){return e.json()})).then((function(e){publishpressCalendarParams.PostData=_(publishpressCalendarParams.PostData,e),h(e),E(!1),D(null),ye(),jQuery(".pp-title-tooltip").each((function(){var e=jQuery(this),t=e.attr("title");if(t&&""!==t){e.removeAttr("title");var a=jQuery('
').text(t);jQuery("body").append(a),e.hover((function(){a.show();var t=e.offset().top-a.outerHeight()-10,n=e.offset().left+e.outerWidth()/2-a.outerWidth()/2;a.css({top:t+"px",left:n+"px",position:"absolute"})}),(function(){a.hide()}))}}))}))}),[o,p,A,F,ce,z]),React.useEffect((function(){if(Q)if(publishpressCalendarParams.proActive)R(Q);else{E(!0),D(e.strings.loadingItem);var t=e.ajaxUrl+"?action=publishpress_calendar_get_post_data&nonce="+e.nonce+"&id="+Q;fetch(t).then((function(e){return e.json()})).then((function(e){E(!1),D(null),q(e)}))}}),[Q,V]);var Ne=["publishpress-calendar","publishpress-calendar-theme-"+t];return e.userCanAddPosts&&Ne.push("user-can-add-posts"),React.createElement("div",{className:Ne.join(" ")},React.createElement(r,{refreshOnClickCallback:we,backPageOnClickCallback:function(e){e.preventDefault(),Ee(-1*p)},backOnClickCallback:function(e){e.preventDefault(),Ee(-1)},forwardOnClickCallback:function(e){e.preventDefault(),Ee(1)},forwardPageOnClickCallback:function(e){e.preventDefault(),Ee(p)},todayOnClickCallback:function(t){t.preventDefault(),c(v(e.todayDate,e.weekStartsOnSunday))},strings:e.strings}),React.createElement("table",null,React.createElement("thead",null,React.createElement("tr",null,React.createElement(l,{weekStartsOnSunday:e.weekStartsOnSunday,strings:e.strings}))),React.createElement("tbody",null,function(){for(var t,a,n=7*p,r=v(o,e.weekStartsOnSunday),l=[],s=[],i=0,c=r.getMonth(),u=0;u -
+