Skip to content

Commit

Permalink
5.1.5
Browse files Browse the repository at this point in the history
Language : add NL language, thank you Johan Peters.
Languages : load all available languages during install.
  • Loading branch information
conseilgouz committed Feb 4, 2024
1 parent 2bcf8ab commit 0742495
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 3 deletions.
31 changes: 28 additions & 3 deletions autoreadmore.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.10" type="plugin" group="content" method="upgrade">
<name>PLG_CONTENT_AUTOREADMORE_TITLE</name>
<creationDate>2024-01-26</creationDate>
<creationDate>2024-02-04</creationDate>
<copyright>Copyright (C) 2024 Conseilgouz All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license>
<author>ConseilGouz</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.conseilgouz.com</authorUrl>
<version>5.1.4</version>
<version>5.1.5</version>
<description>PLG_CONTENT_AUTOREADMORE_THANK_YOU_FOR_USING_AUTO_READ_MORE</description>
<namespace path="src">ConseilGouz\Plugin\Content\Autoreadmore</namespace>
<files>
Expand All @@ -17,12 +17,37 @@
<filename>index.html</filename>
</files>
<languages>
<language tag="da-DK">language/da-DK/plg_content_autoreadmore.ini</language>
<language tag="da-DK">language/da-DK/plg_content_autoreadmore.sys.ini</language>
<language tag="en-GB">language/en-GB/plg_content_autoreadmore.ini</language>
<language tag="en-GB">language/en-GB/plg_content_autoreadmore.sys.ini</language>
<language tag="es-ES">language/es-ES/plg_content_autoreadmore.ini</language>
<language tag="es-ES">language/es-ES/plg_content_autoreadmore.sys.ini</language>
<language tag="et-EE">language/et-EE/plg_content_autoreadmore.ini</language>
<language tag="et-EE">language/et-EE/plg_content_autoreadmore.sys.ini</language>
<language tag="fa-IR">language/fa-IR/plg_content_autoreadmore.ini</language>
<language tag="fa-IR">language/da-IR/plg_content_autoreadmore.sys.ini</language>
<language tag="fr-FR">language/fr-FR/plg_content_autoreadmore.ini</language>
<language tag="fr-FR">language/fr-FR/plg_content_autoreadmore.sys.ini</language>
<language tag="it-IT">language/it-IT/plg_content_autoreadmore.ini</language>
<language tag="it-IT">language/it-IT/plg_content_autoreadmore.sys.ini</language>
<language tag="nb-NO">language/nb-NO/plg_content_autoreadmore.ini</language>
<language tag="nb-NO">language/nb-NO/plg_content_autoreadmore.sys.ini</language>
<language tag="nl-NL">language/nl-NL/plg_content_autoreadmore.ini</language>
<language tag="nl-NL">language/nl-NL/plg_content_autoreadmore.sys.ini</language>
<language tag="pl-PL">language/pl-PL/plg_content_autoreadmore.ini</language>
<language tag="pl-PL">language/pl-PL/plg_content_autoreadmore.sys.ini</language>
<language tag="pt-BR">language/pt-BR/plg_content_autoreadmore.ini</language>
<language tag="pt-BR">language/pt-BR/plg_content_autoreadmore.sys.ini</language>
<language tag="pt-PT">language/pt-PT/plg_content_autoreadmore.ini</language>
<language tag="pt-PT">language/pt-PT/plg_content_autoreadmore.sys.ini</language>
<language tag="ru-RU">language/ru-RU/plg_content_autoreadmore.ini</language>
<language tag="ru-RU">language/ru-RU/plg_content_autoreadmore.sys.ini</language>
<language tag="th-TH">language/th-TH/plg_content_autoreadmore.ini</language>
<language tag="th-TH">language/th-TH/plg_content_autoreadmore.sys.ini</language>
<language tag="uk-UA">language/uk-UA/plg_content_autoreadmore.ini</language>
<language tag="uk-UA">language/uk-UA/plg_content_autoreadmore.sys.ini</language>
</languages>

<config>
<fields name="params" >
<fieldset name="basic" group="settings" label="JOPTIONS" addfieldprefix="ConseilGouz\Plugin\Content\Autoreadmore\Field">
Expand Down
96 changes: 96 additions & 0 deletions language/et-EE/plg_content_autoreadmore.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@

GJ_INSTALL_ORDERING_SET="Plugin ordering is set"
GJ_INSTALL_ORDERING_SET_FAILED="Cound not set plugin ordering"
PLG_CONTENT_AUTOREADMORE_LEADING_MAX_LABEL="Leading Articles. Truncate to number of"
PLG_CONTENT_AUTOREADMORE_INTRO_MAX_LABEL="Intro Articles. Truncate to number"
PLG_CONTENT_AUTOREADMORE_MAX_DESC="Enter the length of the intro text in words, characters or paragraphs. If an article has more characters, words or paragraphs than this number, then a 'Read more' link will be shown."
PLG_CONTENT_AUTOREADMORE_ENABLED_FRONT_PAGE_LABEL="Featured Articles (Front Page)"
PLG_CONTENT_AUTOREADMORE_ENABLED_FRONT_PAGE_DESC="Enable for Featured Articles component (Front Page component)"
PLG_CONTENT_AUTOREADMORE_STRIP_FORMATTING_LABEL="Strip Formatting"
PLG_CONTENT_AUTOREADMORE_STRIP_FORMATTING_DESC="If this is turned off, attempt to fix bad HTML caused by trimming the article."
PLG_CONTENT_AUTOREADMORE_IGNORE_EXISTING_LABEL="Ignore Existing Read More"
PLG_CONTENT_AUTOREADMORE_IGNORE_EXISTING_DESC="Works for Joomla articles and K2. Doesn't work for modules and can not work with other components."
PLG_CONTENT_AUTOREADMORE_THUMBNAILS_LABEL="Images count"
PLG_CONTENT_AUTOREADMORE_THUMBNAILS_DESC="Extract this number of images from the article text and move them to the beginning of the intro text. It's usefull if you want your intres illustrated, but have images not at the beginning of your articles."
PLG_CONTENT_AUTOREADMORE_THUMBNAILS_CLASS_LABEL="Images class"
PLG_CONTENT_AUTOREADMORE_THUMBNAILS_CLASS_DESC="If this is specified, the plugin add this class(es) to the thumbnail images. You have to write the CSS class yourself; if you do not know how, you should not use this option. A special class can be set to make automatic thumbnails if working in conjunction with other plugins like multithumb.<br />If you are using bootstrap, then a nice value for this options should be <b>img-rounded pull-left margin-h-8</b>. Use the default class <b>margin-h-8</b> from the `Custom CSS code` area below"
PLG_CONTENT_AUTOREADMORE_FIELD_CATEGORIES="Select categories"
PLG_CONTENT_AUTOREADMORE_FIELD_ARTICLES_FEATURED="Featured articles (blog) ?"
PLG_CONTENT_AUTOREADMORE_FIELD_ARTICLES_FEATURED_DESC="Apply or not to featured articles in category blog display (default = yes)"
PLG_CONTENT_AUTOREADMORE_FIELD_SPECIFIC_ARTICLES="Select articles"
PLG_CONTENT_AUTOREADMORE_FIELD_SELECTION="Include"
PLG_CONTENT_AUTOREADMORE_FIELD_EXCLUDE_SELECTION="Exclude"
PLG_CONTENT_AUTOREADMORE_FIELD_NO_SPECIFIC_RULES="No specific items"
PLG_CONTENT_AUTOREADMORE_FIELD_ARTICLE_IDS="Article IDs"
PLG_CONTENT_AUTOREADMORE_FIELD_ADD_TRIMMING_DOTS="Add trimming text"
PLG_CONTENT_AUTOREADMORE_FIELD_ADD_TRIMMING_DOTS_DESC="The text is trimmed and you may wish to add something, like three dots. `When needed` means, the trim text is added to the end of the article if the last character is a letter or a number only."
PLG_CONTENT_AUTOREADMORE_FIELD_ADD_TRIMMING_DOTS_WHEN_NEEDED="When needed"
PLG_CONTENT_AUTOREADMORE_TRIMMING_TEXT="Trimming text"
PLG_CONTENT_AUTOREADMORE_LIMITTYPE_LABEL="Limit intro by"
PLG_CONTENT_AUTOREADMORE_LIMITTYPE_OPTION_WORDS="Words"
PLG_CONTENT_AUTOREADMORE_LIMITTYPE_OPTION_CHARS="Chars"
PLG_CONTENT_AUTOREADMORE_LIMITTYPE_OPTION_PARAGRAPHS="Paragraphs"
PLG_CONTENT_AUTOREADMORE_FIELD_EXCLUDE_MOD_CONTEXTS="Exclude <b>mod_</b> contexts"
PLG_CONTENT_AUTOREADMORE_FIELD_EXCLUDE_MOD_CONTEXTS_DESC="Try to exclude contexts starting from <b>mod_</b>. For example default joomla custom HTML module uses <b>mod_custom.content</b> context"
PLG_CONTENT_AUTOREADMORE_LIMITTYPE_LABEL_DEBUG="Debug"
PLG_CONTENT_AUTOREADMORE_LIMITTYPE_LABEL_DEBUG_EXTENDED_DEBUG_OUTPUT="Extended debug output"
PLG_CONTENT_AUTOREADMORE_THUMBNAIL_SETTINGS_LABEL="Intro images"
PLG_CONTENT_AUTOREADMORE_STRIP_IMAGE_FORMATTING_DESC="Strip image formatting (style, tag attributes) or just add the class name to the image tag? If no image class entered, then this option is ignored."
PLG_CONTENT_AUTOREADMORE_FORCE_IMAGE_HANDLE_LABEL="Force image processing"
PLG_CONTENT_AUTOREADMORE_FORCE_IMAGE_HANDLE_DESC="Forces image processing even if the processed article has a readmore inserted and this plugin doesn't handle everything other. In other words, you may want to have all intro images at the same style - manualy `readmored` or `autoreadmored`"
PLG_CONTENT_AUTOREADMORE_CSS_CODE_LABEL="Custom CSS code"
PLG_CONTENT_AUTOREADMORE_CSS_CODE_DESC="You may wish to add some custom CSS code. Clear the textarea and save to get the default value."
PLG_CONTENT_AUTOREADMORE_FIELD_WRAP_OUTPUT="Wrap article intro into HTML"
PLG_CONTENT_AUTOREADMORE_FIELD_WRAP_TEMPLATE="Wrap template.<br/> Use %OUTPUT% placeholder"
PLG_CONTENT_AUTOREADMORE_READMORE_TEXT="Readmore button text"
PLG_CONTENT_AUTOREADMORE_READMORE_TEXT_DESC="Default is the \"Readmore ...\" from the language system file. You can write any word, \"full text ...\", \"continue ...\", etc."
PLG_CONTENT_AUTOREADMORE_DEFAULT_IMAGE="Default image(use space for none)"
PLG_CONTENT_AUTOREADMORE_DEFAULT_IMAGE_DESC="Use this image if the article doesn't have own images. Works only if you enter a number of images above to not zero."
PLG_CONTENT_AUTOREADMORE_IMAGE_LINK_TO_ARTICLE="Make image a link to the article"
PLG_CONTENT_AUTOREADMORE_FIELD_FOR_ARTICLES="Enable for Joomla articles"
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXT_DESC="To get the context enable the extended debug output and load the page you want to auto insert ReadMore. You should see the context at the top of any item compatible with the plugin.<a href='http://view.xscreenshot.com/0ea76a1af29998d2da9a61e02447e7e7' target='_blank'>Click to see a screenshot to get the idea</a> "
PLG_CONTENT_AUTOREADMORE_ALL_ENABLED="All enabled (not recommended)"
PLG_CONTENT_AUTOREADMORE_ALL_DISABLED="All disabled"
PLG_CONTENT_AUTOREADMORE_FIELD_EXPLAIN_CONTEXTS_INCLUDE="Where to run the plugin"
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXTSTOINCLUDE="Contexts to include"
PLG_CONTENT_AUTOREADMORE_FIELD_CONTENTITEM_IDS="Content item IDs"
PLG_CONTENT_AUTOREADMORE_FIELD_CATEGORIES_CUSTOM="Category IDs"
PLG_CONTENT_AUTOREADMORE_FIELD_CATEGORIES_CUSTOM_DESC="Comma separated.<br/> Please note, that most modules <br/>don't pass category id<br/> to the plugin. <br/>This will affect only<br/> component pages."
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXT="Context"
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXTS="Other contexts"
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXTS_DESC="Select contexts the plugin should work with. This means other components (except joomla articles core component) and modules"
PLG_CONTENT_AUTOREADMORE_FIELD_CONTENTITEM_IDS_DESC=""
PLG_CONTENT_AUTOREADMORE_FIELD_READMORE_OPTIONS="Readmore break and button options"
PLG_CONTENT_AUTOREADMORE_FIELD_SELECT_DESC="How to use the ID's <br/> entered in the next field.<br/> 'All' or 'No specific items' means<br/> the id's are ignored. "
PLG_CONTENT_AUTOREADMORE_FIELD_PARSE_CATEGORY="Run on category description"
PLG_CONTENT_AUTOREADMORE_FIELD_PARSE_CATEGORY_DESC="In most cases you don't want your category description to be truncated by the plugin. But if on some reason you want, you may enable this option."
; Do not translate, deprecated
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXTSTOEXCLUDE="Contexts to exclude<br/>comma separated"
; Do not translate, deprecated
PLG_CONTENT_AUTOREADMORE_FIELD_CONTEXTSTOEXCLUDE_DESC="Do not use this option, if you do not know what `context` is. <br />Enter contexts or component names not to run the plugin on. Separate by comma. I.e. <br/ > <i>com_virtuemart.productdetails,com_weblinks</i>"
; Do not translate, deprecated
PLG_CONTENT_AUTOREADMORE_CATEGORIES_TEXT="Category ids"
; Do not translate, deprecated
PLG_CONTENT_AUTOREADMORE_CATEGORIES_TEXT_DESC="If you use AutoReadMore with non-joomla core articles (e.g. K2), enter ids of categories manually"
; Do not translate, deprecated
PLG_CONTENT_AUTOREADMORE_FIELD_ARTICLE_IDS_DESC="Enter the article ids seperated by commas. Article rules have higher priority then categories rules. If an article must be handled according to the category selection but must be excluded accroding to this selection, then it will be excluded."
PLG_CONTENT_AUTOREADMORE_IMAGE_AS_HTML="Insert image into intro as HTML?"
PLG_CONTENT_AUTOREADMORE_IMAGE_AS_HTML_DESC="Joomla articles has a tab for images. You can make AutoReadMore to make Joomla think, thet the first image met in the article, is an image added via the Images and links tab. It's useful if you want to place the intro image before the article title in the final HTML output. You need to take care of your blog layout override as well. Makes sense only for blog and featured articles layout."
PLG_CONTENT_AUTOREADMORE_NOSPACELANGUAGE="No space language."
PLG_CONTENT_AUTOREADMORE_NOSPACELANGUAGE_DESC="Enable for e.g. Chinese. Makes sense only if cutting by chars, as it's not possible to cut by words if the language has no spaces between words"
PLG_CONTENT_AUTOREADMORE_PLUGINCODE="Plugin code behavior<br/><code>{autoreadmore}</code>"
PLG_CONTENT_AUTOREADMORE_PLUGINCODE_DESCRIPTION="If you insert plugin code <code>{autoreadmore}</code> into your text, you can select if the plugin should fire only on text with it or only without it."
PLG_CONTENT_AUTOREADMORE_PLUGINCODE_IGNORE="Ignore the code"
PLG_CONTENT_AUTOREADMORE_PLUGINCODE_ONLY="Run only on text with the code"
PLG_CONTENT_AUTOREADMORE_PLUGINCODE_EXCEPT="Run only on text without the code"
PLG_CONTENT_AUTOREADMORE_FORCE_IMAGE_COUNT_LABEL="Force image count"
PLG_CONTENT_AUTOREADMORE_FORCE_IMAGE_COUNT_DESC="Force the number of images in the intro text to #~#PLG_CONTENT_AUTOREADMORE_THUMBNAILS_LABEL#~#"
PLG_CONTENT_AUTOREADMORE_FIELD_WRAP_IMAGE_OUTPUT="Wrap image(s) into HTML"
PLG_CONTENT_AUTOREADMORE_FIELD_IMAGE_SEARCH_PATTERN="Image search pattern"
PLG_CONTENT_AUTOREADMORE_FIELD_IMAGE_SEARCH_PATTERN_DESC="Use either a predefined pattern or your own to find image tags in the HTML code"
PLG_CONTENT_AUTOREADMORE_IMAGE_SEARCH_PATTERN_IMG_ONLY="IMG tag only"
PLG_CONTENT_AUTOREADMORE_IMAGE_SEARCH_PATTERN_A_WRAPPED="IMG tag wrapped in A tag"
PLG_CONTENT_AUTOREADMORE_IMAGE_SEARCH_PATTERN_CUSTOM="Custom"
PLG_CONTENT_AUTOREADMORE_FIELD_REGEX_PATTERN="Regex pattern"
PLG_CONTENT_AUTOREADMORE_FIELD_REGEX_PATTERN_DESC="Enter pattern one per line. <br/ > You may use several patterns. The first one has the highest priority.<br/ > The default custom patterns at first find all <A><IMG></A> tag instances, and next (if not found or still needed) <IMG> instances. <br/> This may be useful, if you want have images wrapped in <A> tags as well as images using just <IMG> tag. <br/>\nRemove everything in the textarea and save the plugin settings to restore the default value."
PLG_CONTENT_AUTOREADMORE_FIELD_IMG_OUTPUT_OPTIONS="Advanced output image options"
5 changes: 5 additions & 0 deletions language/th-TH/plg_content_autoreadmore.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

PLG_CONTENT_AUTOREADMORE_TITLE="Content - Auto Read More"
PLG_CONTENT_AUTOREADMORE_THANK_YOU_FOR_USING_AUTO_READ_MORE="<p><b>Auto Read More</b> will automatically add a 'Read More' link to joomla articles or other content items.</p><p><b>Email addresses not appearing properly?</b> Adjust the order of this plugin so that it runs before Email Cloaking.</p>"
GJ_INSTALL_ORDERING_SET="Plugin ordering is set"
GJ_INSTALL_ORDERING_SET_FAILED="Cound not set plugin ordering"
12 changes: 12 additions & 0 deletions plg_autoreadmore_changelog.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<changelogs>
<changelog>
<element>autoreadmore</element>
<type>plugin</type>
<version>5.1.6</version>
<note>
<item>04/02/2024</item>
</note>
<addition>
<item>Language : add NL language, thank you Johan Peters.</item>
<item>Languages : load all available languages during install.</item>
</addition>
</changelog>
<changelog>
<element>autoreadmore</element>
<type>plugin</type>
Expand Down

0 comments on commit 0742495

Please sign in to comment.