JoomlaPolska / jezyk-J4

Język polski dla Joomla 4
GNU General Public License v2.0
3 stars 5 forks source link

Option to show all articles in the new mod_articles #587

Open joomlapl-bot opened 2 months ago

joomlapl-bot commented 2 months ago

PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/44127 Poniżej zmiany w oryginale:

Click to expand the diff! ```diff diff --git a/language/en-GB/mod_articles.ini b/language/en-GB/mod_articles.ini index 853c1ea9eacd..7a9ced1a83f9 100644 --- a/language/en-GB/mod_articles.ini +++ b/language/en-GB/mod_articles.ini @@ -15,7 +15,7 @@ MOD_ARTICLES_FIELD_AUTHOR_LABEL="Authors" MOD_ARTICLES_FIELD_CATDEPTH_LABEL="Category Depth" MOD_ARTICLES_FIELD_CATFILTERINGTYPE_DESC="Include or exclude the selected categories." MOD_ARTICLES_FIELD_CATFILTERINGTYPE_LABEL="Category Filtering Type" -MOD_ARTICLES_FIELD_COUNT_DESC="The number of items to display. The default value of 0 will display all articles." +MOD_ARTICLES_FIELD_COUNT_DESC="The number of items to display. Set to 0 to show all articles." MOD_ARTICLES_FIELD_COUNT_LABEL="Articles to Display" MOD_ARTICLES_FIELD_DATEFIELDFORMAT_DESC="Please enter in a valid date format. See: https://php.net/date for formatting information." MOD_ARTICLES_FIELD_DATEFIELDFORMAT_LABEL="Date Format" diff --git a/modules/mod_articles/mod_articles.xml b/modules/mod_articles/mod_articles.xml index 7b63550fda33..1ae7df1860f2 100644 --- a/modules/mod_articles/mod_articles.xml +++ b/modules/mod_articles/mod_articles.xml @@ -28,9 +28,10 @@ name="count" type="number" label="MOD_ARTICLES_FIELD_COUNT_LABEL" + description="MOD_ARTICLES_FIELD_COUNT_DESC" default="5" filter="integer" - min="1" + min="0" validate="number" /> ```