Compare commits

..

No commits in common. "530f927b35ad35ef352cb5cf0d3be1b7b83ca0b1" and "0c5e1550d692e457f81f58cb47fea6e1da35762e" have entirely different histories.

6 changed files with 44 additions and 74 deletions

View file

@ -1,9 +1,3 @@
whiteListCom 1.4.2 - 2024.12.06
===========================================================
* Require Dotclear 2.28
* Require PHP 8.1
* Fix locales
whiteListCom 1.4.1 - 2023.10.14
===========================================================
* Require Dotclear 2.28

View file

@ -1,10 +1,10 @@
# README
[![Release](https://img.shields.io/github/v/release/JcDenis/WhitelistCom)](https://github.com/JcDenis/whiteListCom/releases)
![Date](https://img.shields.io/badge/date-2024.12.06-c44d58.svg)
[![Release](https://img.shields.io/badge/release-1.4.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/whiteListCom/releases)
![Date](https://img.shields.io/badge/date-2023.10.13-c44d58.svg)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.28-137bbb.svg)](https://fr.dotclear.org/download)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/whiteListCom)
[![License](https://img.shields.io/github/license/JcDenis/whitelistCom)](https://github.com/JcDenis/whiteListCom/blob/master/LICENSE)
[![License](https://img.shields.io/github/license/JcDenis/whiteListCom)](https://git.dotclear.watch/JcDenis/whiteListCom/blob/master/LICENSE)
## ABOUT
@ -29,10 +29,10 @@ Note: User must write a comment before able to be added to the list.
## LINKS
* [License](https://github.com/JcDenis/whiteListCom/src/branch/master/LICENSE)
* [Packages & details](https://github.com/JcDenis/whiteListCom/releases) (or on [Dotaddict](https://plugins.dotaddict.org/dc2/details/whiteListCom))
* [Sources & contributions](https://github.com/JcDenis/whiteListCom) (or on [GitHub](https://github.com/JcDenis/whiteListCom))
* [Issues & security](https://github.com/JcDenis/whiteListCom/issues) (or on [GitHub](https://github.com/JcDenis/whiteListCom/issues))
* [License](https://git.dotclear.watch/JcDenis/whiteListCom/src/branch/master/LICENSE)
* [Packages & details](https://git.dotclear.watch/JcDenis/whiteListCom/releases) (or on [Dotaddict](https://plugins.dotaddict.org/dc2/details/whiteListCom))
* [Sources & contributions](https://git.dotclear.watch/JcDenis/whiteListCom) (or on [GitHub](https://github.com/JcDenis/whiteListCom))
* [Issues & security](https://git.dotclear.watch/JcDenis/whiteListCom/issues) (or on [GitHub](https://github.com/JcDenis/whiteListCom/issues))
## CONTRIBUTORS

View file

@ -17,7 +17,7 @@ $this->registerModule(
'Whitelist comments',
'Whitelists for comments moderation',
'Jean-Christian Denis and Contributors',
'1.4.2',
'1.4.1',
[
'requires' => [['core', '2.28']],
'permissions' => 'My',

View file

@ -1,28 +1,26 @@
<?php
// Language: Français
// Module: whiteListCom - 1.4.1
// Date: 2024-12-06 19:35:36
// Author: , contact@jcdenis.fr
// Translated with Translater - 2023.11.04
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
use Dotclear\Helper\L10n;
L10n::$locales['Reserved names'] = 'Noms réservés';
L10n::$locales['Whitelist of reserved names of users'] = 'Liste blanche des noms d\'utilisateurs réservés';
L10n::$locales['This name is reserved to an other user.'] = 'Ce nom est réservé à un autre utilisateur.';
L10n::$locales['Reserved names have been successfully updated.'] = 'Le noms réservés ont été mis à jour.';
L10n::$locales['Check the users who have a reserved name (link to an email).'] = 'Cocher les utilisateurs aillant un nom réservé (lié à une adresse mel)';
L10n::$locales['Comments authors list'] = 'Liste des auteurs de commentaires';
L10n::$locales['Unmoderated authors'] = 'Auteurs non modérés';
L10n::$locales['Whitelist of unmoderated authors'] = 'Liste blanche des auteurs non modérés';
L10n::$locales['Unmoderated names have been successfully updated.'] = 'Les noms non modérés ont été mis à jour.';
L10n::$locales['This filter is used only if comments are moderates'] = 'Ce filtre est utilisé seulement si les commentaires sont modérés.';
L10n::$locales['Reserved names'] = 'Noms réservés';
L10n::$locales['Whitelist of reserved names of users'] = 'Liste blanche des noms d\'utilisateurs réservés';
L10n::$locales['This name is reserved to an other user.'] = 'Ce nom est réservé à un autre utilisateur.';
L10n::$locales['Reserved names have been successfully updated.'] = 'Le noms réservés ont été mis à jour.';
L10n::$locales['Check the users who can make comments without being moderated.'] = 'Cocher les utilisateurs qui peuvent faire des commentaires sans être modérés.';
L10n::$locales['Posts authors list'] = 'Liste des auteurs de billets';
L10n::$locales['Whitelists for comments moderation'] = 'Listes blanches pour la modération de commentaires';
L10n::$locales['Whitelist comments'] = 'Liste blanche des commentaires';
L10n::$locales['Comments authors list'] = 'Liste des auteurs de commentaires';
L10n::$locales['Unmoderated authors'] = 'Auteurs non modérés';
L10n::$locales['Whitelist of unmoderated authors'] = 'Liste blanche des auteurs non modérés';
L10n::$locales['Unmoderated names have been successfully updated.'] = 'Les noms non modérés ont été mis à jour.';
L10n::$locales['This filter is used only if comments are moderates'] = 'Ce filtre est utilisé seulement si les commentaires sont modérés.';
L10n::$locales['Posts authors list'] = 'Liste des auteurs de billets';
L10n::$locales['Whitelists for comments moderation'] = 'Listes blanches pour la modération de commentaires';
L10n::$locales['Whitelist comments'] = 'Liste blanche des commentaires';

View file

@ -1,67 +1,45 @@
# Language: Français
# Module: whiteListCom - 1.4.1
# Date: 2024-12-06 19:35:36
# Author: , contact@jcdenis.fr
# Translated with translater 2023.11.04
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: whiteListCom 1.4.1\n"
"Project-Id-Version: whiteListCom 1.1\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2024-12-06T19:35:36+00:00\n"
"PO-Revision-Date: 2023-03-11T21:46:05+00:00\n"
"Last-Translator: Jean-Christian Denis\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: src/ReservedWhiteList.php:32
msgid "Reserved names"
msgstr "Noms réservés"
#: src/ReservedWhiteList.php:33
msgid "Whitelist of reserved names of users"
msgstr "Liste blanche des noms d'utilisateurs réservés"
#: src/ReservedWhiteList.php:60
msgid "This name is reserved to an other user."
msgstr "Ce nom est réservé à un autre utilisateur."
#: src/ReservedWhiteList.php:80
msgid "Reserved names have been successfully updated."
msgstr "Le noms réservés ont été mis à jour."
#: src/ReservedWhiteList.php:90
msgid "Check the users who have a reserved name (link to an email)."
msgstr "Cocher les utilisateurs aillant un nom réservé (lié à une adresse mel)"
#: src/ReservedWhiteList.php:93
#: src/UnmoderatedWhiteList.php:112
msgid "Comments authors list"
msgstr "Liste des auteurs de commentaires"
#: src/UnmoderatedWhiteList.php:29
msgid "Unmoderated authors"
msgstr "Auteurs non modérés"
#: src/UnmoderatedWhiteList.php:30
msgid "Whitelist of unmoderated authors"
msgstr "Liste blanche des auteurs non modérés"
#: src/UnmoderatedWhiteList.php:69
msgid "Unmoderated names have been successfully updated."
msgstr "Les noms non modérés ont été mis à jour."
#: src/UnmoderatedWhiteList.php:82
msgid "This filter is used only if comments are moderates"
msgstr "Ce filtre est utilisé seulement si les commentaires sont modérés."
#: src/UnmoderatedWhiteList.php:87
msgid "Check the users who can make comments without being moderated."
msgstr "Cocher les utilisateurs qui peuvent faire des commentaires sans être modérés."
#: src/UnmoderatedWhiteList.php:92
msgid "Comments authors list"
msgstr "Liste des auteurs de commentaires"
msgid "Unmoderated authors"
msgstr "Auteurs non modérés"
msgid "Whitelist of unmoderated authors"
msgstr "Liste blanche des auteurs non modérés"
msgid "Unmoderated names have been successfully updated."
msgstr "Les noms non modérés ont été mis à jour."
msgid "This filter is used only if comments are moderates"
msgstr "Ce filtre est utilisé seulement si les commentaires sont modérés."
msgid "Posts authors list"
msgstr "Liste des auteurs de billets"

View file

@ -87,7 +87,7 @@ class ReservedWhiteList extends SpamFilter
}
$res = '<form action="' . Html::escapeURL($url) . '" method="post">' .
'<p>' . __('Check the users who have a reserved name (link to an email).') . '</p>' .
'<p>' . __('Check the users who can make comments without being moderated.') . '</p>' .
'<div class="table-outer">' .
'<table class="clear">' .
'<caption>' . __('Comments authors list') . '</caption>' .