From bcbd3f9a4b636c9a314985fb270c00d4f883337f Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 26 Jun 2022 13:46:54 -0700 Subject: [PATCH] PHPCS --- automatically-paginate-posts.php | 2 +- languages/automatically-paginate-posts.pot | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/automatically-paginate-posts.php b/automatically-paginate-posts.php index 32eeb3c..7e6e595 100644 --- a/automatically-paginate-posts.php +++ b/automatically-paginate-posts.php @@ -312,7 +312,7 @@ class Automatically_Paginate_Posts { </strong> <?php $this->{$func}(); ?> </label></p> - <?php + <?php endforeach; } diff --git a/languages/automatically-paginate-posts.pot b/languages/automatically-paginate-posts.pot index 26186ac..cb6a2ba 100644 --- a/languages/automatically-paginate-posts.pot +++ b/languages/automatically-paginate-posts.pot @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: Automatically Paginate Posts 0.2\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/automatically-paginate-posts\n" -"POT-Creation-Date: 2022-06-26 20:04:21+00:00\n" +"POT-Creation-Date: 2022-06-26 20:46:38+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -29,39 +29,40 @@ msgstr "" msgid "Automatically Paginate Posts" msgstr "" -#: automatically-paginate-posts.php:150 +#: automatically-paginate-posts.php:223 msgid "Supported post types:" msgstr "" -#: automatically-paginate-posts.php:151 +#: automatically-paginate-posts.php:224 msgid "Split post by:" msgstr "" -#: automatically-paginate-posts.php:225 +#: automatically-paginate-posts.php:302 msgid "Total number of pages: " msgstr "" -#: automatically-paginate-posts.php:226 +#: automatically-paginate-posts.php:303 msgid "Approximate words per page: " msgstr "" -#: automatically-paginate-posts.php:290 +#: automatically-paginate-posts.php:370 msgid "" "If chosen, each page will contain approximately this many words, depending " "on paragraph lengths." msgstr "" -#: automatically-paginate-posts.php:320 +#: automatically-paginate-posts.php:400 msgid "Post Autopaging" msgstr "" -#: automatically-paginate-posts.php:336 +#: automatically-paginate-posts.php:416 msgid "" "Check the box above to prevent this post from automatically being split " "over multiple pages." msgstr "" -#: automatically-paginate-posts.php:337 +#: automatically-paginate-posts.php:421 +#. translators: 1. Quicktag code example. msgid "" "Note that if the %1$s Quicktag is used to manually page this post, " "automatic paging won't be applied, regardless of the setting above." -- GitLab