diff --git a/CHANGELOG.md b/CHANGELOG.md index d03fef8..4722d99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +1.1 - 2023.04.20 +- require dotclear 2.26 +- use sql statement +- use dotclear helpers +- use plugin Uninstaller +- various cosmetic fix + 1.0 - 2023.03.11 - update to dotclear 2.25 - use namespace diff --git a/README.md b/README.md index 126c42d..82b721d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.25-blue.svg)](https://fr.dotclear.org/download) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/dcFilterDuplicate) [![License](https://img.shields.io/github/license/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/blob/master/LICENSE) @@ -19,7 +19,7 @@ Filter as spam same (duplicate) comments from multiple blogs of a Dotclear's ins dcFilterDuplicate requires: * permissions to manage antispam - * Dotclear 2.25 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index e636423..f958c24 100644 --- a/_define.php +++ b/_define.php @@ -18,9 +18,9 @@ $this->registerModule( 'Duplicate filter', 'Antispam for duplicate comments on multiblog', 'Jean-Christian Denis, Pierre Van Glabeke', - '1.0', + '1.1', [ - 'requires' => [['core', '2.25']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_ADMIN, ]), diff --git a/dcstore.xml b/dcstore.xml index c5ee665..6e35c0c 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Duplicate filter - 1.0 + 1.1 Jean-Christian Denis, Pierre Van Glabeke Antispam for duplicate comments on multiblog - https://github.com/JcDenis/dcFilterDuplicate/releases/download/v1.0/plugin-dcFilterDuplicate.zip - 2.25 + https://github.com/JcDenis/dcFilterDuplicate/releases/download/v1.1/plugin-dcFilterDuplicate.zip + 2.26 http://plugins.dotaddict.org/dc2/details/dcFilterDuplicate http://forum.dotclear.org/viewtopic.php?pid=332947#p332947 diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index 31d1a1a..8e2126c 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -9,9 +9,11 @@ # DOT NOT MODIFY THIS FILE ! # -l10n::$locales['Duplicate'] = 'Doublons'; -l10n::$locales['Same comments on others blogs of a multiblog'] = 'Commentaires identiques sur les autres blogs du multiblog'; -l10n::$locales['Minimum content length before check for duplicate:'] = 'Longueur minimum du contenu pour faire une vérification :'; -l10n::$locales['Super administrator set the minimum length of comment content to %d chars.'] = 'Un super administrateur a régler la longueur minimum d\'un commentaire à surveiller à %d caractères.'; -l10n::$locales['Antispam for duplicate comments on multiblog'] = 'Antispam contre les doublons de commentaires sur un multiblog'; -l10n::$locales['Duplicate filter'] = 'Filtre de doublons'; +use Dotclear\Helper\L10n; + +L10n::$locales['Duplicate'] = 'Doublons'; +L10n::$locales['Same comments on others blogs of a multiblog'] = 'Commentaires identiques sur les autres blogs du multiblog'; +L10n::$locales['Minimum content length before check for duplicate:'] = 'Longueur minimum du contenu pour faire une vérification :'; +L10n::$locales['Super administrator set the minimum length of comment content to %d chars.'] = 'Un super administrateur a régler la longueur minimum d\'un commentaire à surveiller à %d caractères.'; +L10n::$locales['Antispam for duplicate comments on multiblog'] = 'Antispam contre les doublons de commentaires sur un multiblog'; +L10n::$locales['Duplicate filter'] = 'Filtre de doublons';