Skip to content

Commit

Permalink
Merge pull request #83
Browse files Browse the repository at this point in the history
Updates & bugfixes
  • Loading branch information
exstreme authored May 19, 2022
2 parents 2bfcf74 + 2eed1c2 commit 649cc14
Show file tree
Hide file tree
Showing 47 changed files with 201 additions and 56 deletions.
Binary file removed build/modules/mod_jcomments_latest_backend_4.0.2.zip
Binary file not shown.
Binary file not shown.
Binary file modified build/packages/com_jcomments.zip
Binary file not shown.
Binary file modified build/packages/plg_content_jcomments.zip
Binary file not shown.
Binary file modified build/packages/plg_quickicon_jcomments.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions build/pkg_jcomments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<extension type="package" method="upgrade">
<name>JComments package</name>
<author>JComments team</author>
<creationDate>March 2022</creationDate>
<creationDate>May 2022</creationDate>
<packagename>jcomments</packagename>
<version>4.0.18</version>
<version>4.0.19</version>
<url>https://github.com/exstreme/Jcomments-4</url>
<packager>JComments team</packager>
<packagerurl>https://github.com/exstreme/Jcomments-4</packagerurl>
Expand Down
6 changes: 3 additions & 3 deletions component/administrator/install/sql/mysql/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ CREATE TABLE IF NOT EXISTS `#__jcomments_blacklist` (
`userid` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`created` DATETIME NOT NULL,
`created_by` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`expire` DATETIME NOT NULL,
`reason` TINYTEXT NOT NULL,
`notes` TINYTEXT NOT NULL,
`expire` DATETIME,
`reason` TINYTEXT NOT NULL,
`notes` TINYTEXT DEFAULT NULL,
`checked_out` INT(11) UNSIGNED,
`checked_out_time` DATETIME,
PRIMARY KEY (`id`),
Expand Down
2 changes: 2 additions & 0 deletions component/administrator/install/sql/updates/mysql/4.0.19.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `#__jcomments_blacklist` CHANGE `expire` `expire` DATETIME NULL;
ALTER TABLE `#__jcomments_blacklist` CHANGE `notes` `notes` TINYTEXT CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
13 changes: 7 additions & 6 deletions component/jcomments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<author>JComments team</author>
<authorUrl>https://github.com/exstreme/Jcomments-4</authorUrl>
<license>https://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<version>4.0.18</version>
<version>4.0.19</version>
<description>JComments lets your users comment on content items.</description>
<namespace path="src">Joomla\Component\Jcomments</namespace>

Expand All @@ -31,8 +31,8 @@
<filename>jcomments.class.php</filename>

<folder>classes</folder>
<folder>controllers</folder>
<folder>helpers</folder>
<folder>language</folder>
<folder>layouts</folder>
<folder>libraries</folder>
<folder>models</folder>
Expand Down Expand Up @@ -69,17 +69,18 @@
</submenu>

<files folder="administrator">
<filename>controller.php</filename>
<filename>jcomments.php</filename>
<filename>access.xml</filename>
<filename>config.xml</filename>

<folder>controllers</folder>
<folder>classes</folder>
<folder>helpers</folder>
<folder>install</folder>
<folder>models</folder>
<folder>tables</folder>
<folder>views</folder>
<filename>controller.php</filename>
<filename>jcomments.php</filename>
<filename>access.xml</filename>
<filename>config.xml</filename>
</files>

<languages folder="administrator">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Komentar"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Stanje"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Nema odgovarajućih rezultata"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Posljednje"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Ovaj modul prikazuje listu najnovijih komentara u administratorskom panelu"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Komentář"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Stav"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Nejsou žádné odpovídající výsledky"

MOD_JCOMMENTS_LATEST_BACKEND="Poslední komentáře"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Tento modul zobrazí výpis posledních komentářů v administračním panelu"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Skribent"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Kommentar"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Tilstand"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Ingen matchende resultater"

MOD_JCOMMENTS_LATEST_BACKEND="JComments seneste"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Dette modul viser en liste over seneste kommentarer i administrator panelet"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Kommentar"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Status"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Keine übereinstimmenden Ergebnisse"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Latest"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Dieses Modul zeigt eine Liste der letzten Kommentare im Administrator-Panel an."
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Author"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Comment"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="State"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="No matching results"

; Using in com_modules
MOD_JCOMMENTS_LATEST_BACKEND="JComments Latest"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="This module shows a list of latest comments in administrator panel"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Comentario"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Estado"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="No hay coincidencias"

MOD_JCOMMENTS_LATEST_BACKEND="Últimos comentarios"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Este módulo muestra una lista de los últimos comentarios en el panel de administrador"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="مولف"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="یادداشت"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="State"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="عدم تطبیق نتایج"

MOD_JCOMMENTS_LATEST_BACKEND="آخرین دیدگاه‌ها"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="این ماژول فهرستی از آخرین دیدگاه‌ها را در بخش مدیریتی نمایش می‌دهد"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Auteur"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Commentaires"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="État"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Aucun résultat correspondant"

MOD_JCOMMENTS_LATEST_BACKEND="Derniers JComments"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Ce module affiche une liste des derniers commentaires dans le panneau d'administration"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autorius"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Komentaras"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Būsena "
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Nėra atitinkamų rezultatų"

MOD_JCOMMENTS_LATEST_BACKEND="JComments naujausi"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Šis modulis administracijos valdymo skyde rodo naujausių komentarų sąrašą"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Auteur"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Opmerkingen"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Status"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Geen overeenkomende resultaten"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Laatste Opmerkingen"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Deze module toont een lijst van de meest recente opmerkingen in het administrator paneel"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Komentarz"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Status"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Brak pasujących wyników"

MOD_JCOMMENTS_LATEST_BACKEND="Najnowszy JComments"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Moduł pokazuje listę najnowszych komentarzy w panelu zaplecza"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Comentário"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Ativado"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Nenhum resultado de acordo"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Mais Recentes"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Este módulo exibe uma lista dos últimos comentários dentro do Painel do Administrador."
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Comentário"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Estado"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Sem resultados!"

MOD_JCOMMENTS_LATEST_BACKEND="JComments - Recentes"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Este módulo mostra uma lista dos comentários recentes no painel de administração."
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Автор"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Комментарий"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Статус"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Комментарии отсутствуют"

MOD_JCOMMENTS_LATEST_BACKEND="Последние комментарии"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Модуль отображает список последних комментариев в административной панели сайта"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Аутор"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Коментар"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Стање"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Нема резултата претраге"

MOD_JCOMMENTS_LATEST_BACKEND="Најновији JComments"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Овај модул приказује листу најновијих коментара у администраторском панелу"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Autor"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Komentar"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Stanje"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Nema rezultata pretrage"

MOD_JCOMMENTS_LATEST_BACKEND="Najnoviji JComments"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Ovaj modul prikazuje listu najnovijih komentara u administratorskom panelu"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Författare"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Beskrivning"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Läge"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Inga matchande resultat"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Senaste"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Denna modul visar en lista över senaste kommentarerna i administratörsvyn."
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="ผู้เขียน"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="ความเห็น"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="สถานะ"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="ไม่พบผลลัพธ์ที่ต้องการ"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Latest"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="เป็นโมดูลสำหรับใช้แสดงรายการความคิดเห็นล่าสุดในส่วนของแผงเครื่องมือสำหรับผู้ดูแลระบบ"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Yazar"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Yorum"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Durum"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Eşleşen sonuç yok"

MOD_JCOMMENTS_LATEST_BACKEND="JComments Son Yorumlar"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Bu modül bir son yorumlar listesini yönetim panelinde gösterir"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="ئاپتور"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="باھالاش"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="ھالىتى"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="ماس كېلىدىغان نەتىجە يوق"

MOD_JCOMMENTS_LATEST_BACKEND="JComments ئەڭ يېڭى تەقرىزى"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="بۇ مودۇل ئارقىلىق ئەڭ يېڭى تەقرىز تىزمىسى بېكەت ئارقا سۇپىسىدا كۆرسىتىلىدۇ. "
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Автор"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Коментарі"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Статус"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Без коментарів"

MOD_JCOMMENTS_LATEST_BACKEND="Останні коментарі"
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Модуль відображає список останніх коментарів в панелі адміністрування сайту"
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ MOD_JCOMMENTS_LATEST_BACKEND_HEADING_AUHTOR="Tác giả"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_COMMENT="Bình luận"
MOD_JCOMMENTS_LATEST_BACKEND_HEADING_STATE="Thành phố"
MOD_JCOMMENTS_LATEST_BACKEND_NO_MATCHING_RESULTS="Không có kết quả nào phù hợp"

MOD_JCOMMENTS_LATEST_BACKEND="jComments mới nhất "
MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION="Module này hiển thị danh sách các bình luận mới nhất trong bảng điều khiển của quản trị viên"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<copyright>2006-2022 by Sergey M. Litvinov and exstreme and Vladimir Globulopolis</copyright>
<authorUrl>https://github.com/exstreme/Jcomments-4</authorUrl>
<license>https://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<version>4.0.2</version>
<version>4.0.3</version>
<description>MOD_JCOMMENTS_LATEST_BACKEND_XML_DESCRIPTION</description>
<namespace path="src">Joomla\Module\LatestComments</namespace>

Expand Down
9 changes: 9 additions & 0 deletions plugins/content/jcomments.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,15 @@ private function prepareContent(&$article, &$params): void
$layoutData['commentsLinkHidden'] = true;
}

$layoutData['showReadmore'] = false;

if ($params->get('show_readmore') && $article->readmore)
{
// Disable joomla 'readmore' and show 'readmore' layout from this plugin
$params->set('show_readmore', false);
$layoutData['showReadmore'] = true;
}

// Links position
if ($this->params->get('links_position') == 'after')
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/content/jcomments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<copyright>2006-2022 by Sergey M. Litvinov and exstreme and Vladimir Globulopolis</copyright>
<authorUrl>https://github.com/exstreme/Jcomments-4</authorUrl>
<license>https://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<version>4.0.0</version>
<version>4.0.1</version>
<description>PLG_CONTENT_JCOMMENTS_XML_DESCRIPTION</description>

<files>
Expand Down
25 changes: 25 additions & 0 deletions plugins/content/language/de-DE/plg_content_jcomments.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
; JComments content plugin
; Copyright (C) 2006-2016 Sergey M. Litvinov; 2016-2022 exstreme & Vladimir Globulopolis
; License https://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM

PLG_CONTENT_JCOMMENTS="Content - Comments (JComments)"
PLG_CONTENT_JCOMMENTS_FIELD_ADDCOMMENTLINK_DESC="Show/Hide link \"Add new comment\". The link is shown after the introduction in Blog layout if the Article has no comments yet."
PLG_CONTENT_JCOMMENTS_FIELD_ADDCOMMENTLINK_LABEL="Link \"Add new comment\""
PLG_CONTENT_JCOMMENTS_FIELD_CONTENTEVENT_DESC="Plugin's event for displaying the comments' list. Possible values: <ul><li>onContentBeforeDisplay &mdash; comments will be displayed right after the Article text and only on the last page for multipage Articles.</li><li>onContentAfterDisplay &mdash; comments will be displayed after the Article text and after meta data (modification date, etc.). In multipage Articles comments will display on all pages without exception.</li></ul>. The default event is onContentAfterDisplay."
PLG_CONTENT_JCOMMENTS_FIELD_CONTENTEVENT_LABEL="Content Event"
PLG_CONTENT_JCOMMENTS_FIELD_COMMENTSFORARCHIVED_DESC="By default, adding new comments to articles is disabled once they are moved to archives. You can override that and keep commenting enabled even for archived material."
PLG_CONTENT_JCOMMENTS_FIELD_COMMENTSFORARCHIVED_LABEL="Comments for archived article"
PLG_CONTENT_JCOMMENTS_FIELD_COMMENTSFORFEATURED_DESC="By default there are no restrictions for displaying of \"Comments\" link in the list of Featured Articles. This setting allows to turn off \"Comments\" link in Featured Articles Blog layout."
PLG_CONTENT_JCOMMENTS_FIELD_COMMENTSFORFEATURED_LABEL="\"Comments\" link in the list of Featured Articles."
PLG_CONTENT_JCOMMENTS_FIELD_COMMENTSLINK_DESC="Show/Hide the link with the number of comments left by users for each article. The link is displayed under the introduction text in Blog layout."
PLG_CONTENT_JCOMMENTS_FIELD_COMMENTSLINK_LABEL="Link \"Comments\""
PLG_CONTENT_JCOMMENTS_FIELD_LINKSPOSITION_DESC="Position selection for displaying \"Comments\" link (or \"Add new comment\", if there are no comments yet). By default comments are displayed after the introduction text of an article in Blog layout."
PLG_CONTENT_JCOMMENTS_FIELD_LINKSPOSITION_LABEL="Links Position"
PLG_CONTENT_JCOMMENTS_VALUE_AFTER_ARTICLE="After article"
PLG_CONTENT_JCOMMENTS_VALUE_BEFORE_ARTICLE="Before article"

; Used in frontend readmore layout
LINK_READ_COMMENTS_1="%s Kommentar"
LINK_READ_COMMENTS_MORE="%s Kommentare"
LINK_ADD_COMMENT="Kommentar schreiben"
7 changes: 7 additions & 0 deletions plugins/content/language/de-DE/plg_content_jcomments.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; JComments content plugin
; Copyright (C) 2006-2016 Sergey M. Litvinov; 2016-2022 exstreme & Vladimir Globulopolis
; License https://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM

PLG_CONTENT_JCOMMENTS="Content - Comments (JComments)"
PLG_CONTENT_JCOMMENTS_XML_DESCRIPTION="Displays the number of comments to articles in Blog Layout and the list of comments (with comment submission form) in full article view."
6 changes: 6 additions & 0 deletions plugins/content/language/en-GB/plg_content_jcomments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
; License https://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM

PLG_CONTENT_JCOMMENTS="Content - Comments (JComments)"
PLG_CONTENT_JCOMMENTS_FIELD_ADDCOMMENTLINK_DESC="Show/Hide link \"Add new comment\". The link is shown after the introduction in Blog layout if the Article has no comments yet."
PLG_CONTENT_JCOMMENTS_FIELD_ADDCOMMENTLINK_LABEL="Link \"Add new comment\""
PLG_CONTENT_JCOMMENTS_FIELD_CONTENTEVENT_DESC="Plugin's event for displaying the comments' list. Possible values: <ul><li>onContentBeforeDisplay &mdash; comments will be displayed right after the Article text and only on the last page for multipage Articles.</li><li>onContentAfterDisplay &mdash; comments will be displayed after the Article text and after meta data (modification date, etc.). In multipage Articles comments will display on all pages without exception.</li></ul>. The default event is onContentAfterDisplay."
Expand All @@ -17,3 +18,8 @@ PLG_CONTENT_JCOMMENTS_FIELD_LINKSPOSITION_DESC="Position selection for displayin
PLG_CONTENT_JCOMMENTS_FIELD_LINKSPOSITION_LABEL="Links Position"
PLG_CONTENT_JCOMMENTS_VALUE_AFTER_ARTICLE="After article"
PLG_CONTENT_JCOMMENTS_VALUE_BEFORE_ARTICLE="Before article"

; Used in frontend readmore layout
LINK_READ_COMMENTS_1="%s comment"
LINK_READ_COMMENTS_MORE="%s comments"
LINK_ADD_COMMENT="Add new comment"
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
; License https://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM

PLG_CONTENT_JCOMMENTS="Content - JComments"
PLG_CONTENT_JCOMMENTS="Content - Comments (JComments)"
PLG_CONTENT_JCOMMENTS_XML_DESCRIPTION="Displays the number of comments to articles in Blog Layout and the list of comments (with comment submission form) in full article view."
Loading

0 comments on commit 649cc14

Please sign in to comment.