Compare commits
2 commits
0c5e1550d6
...
530f927b35
Author | SHA1 | Date | |
---|---|---|---|
530f927b35 | |||
4cc1e2a523 |
6 changed files with 61 additions and 31 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
whiteListCom 1.4.2 - 2024.12.06
|
||||||
|
===========================================================
|
||||||
|
* Require Dotclear 2.28
|
||||||
|
* Require PHP 8.1
|
||||||
|
* Fix locales
|
||||||
|
|
||||||
whiteListCom 1.4.1 - 2023.10.14
|
whiteListCom 1.4.1 - 2023.10.14
|
||||||
===========================================================
|
===========================================================
|
||||||
* Require Dotclear 2.28
|
* Require Dotclear 2.28
|
||||||
|
|
14
README.md
14
README.md
|
@ -1,10 +1,10 @@
|
||||||
# README
|
# README
|
||||||
|
|
||||||
[![Release](https://img.shields.io/badge/release-1.4.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/whiteListCom/releases)
|
[![Release](https://img.shields.io/github/v/release/JcDenis/WhitelistCom)](https://github.com/JcDenis/whiteListCom/releases)
|
||||||
![Date](https://img.shields.io/badge/date-2023.10.13-c44d58.svg)
|
![Date](https://img.shields.io/badge/date-2024.12.06-c44d58.svg)
|
||||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.28-137bbb.svg)](https://fr.dotclear.org/download)
|
[![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)
|
[![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://git.dotclear.watch/JcDenis/whiteListCom/blob/master/LICENSE)
|
[![License](https://img.shields.io/github/license/JcDenis/whitelistCom)](https://github.com/JcDenis/whiteListCom/blob/master/LICENSE)
|
||||||
|
|
||||||
## ABOUT
|
## ABOUT
|
||||||
|
|
||||||
|
@ -29,10 +29,10 @@ Note: User must write a comment before able to be added to the list.
|
||||||
|
|
||||||
## LINKS
|
## LINKS
|
||||||
|
|
||||||
* [License](https://git.dotclear.watch/JcDenis/whiteListCom/src/branch/master/LICENSE)
|
* [License](https://github.com/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))
|
* [Packages & details](https://github.com/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))
|
* [Sources & contributions](https://github.com/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))
|
* [Issues & security](https://github.com/JcDenis/whiteListCom/issues) (or on [GitHub](https://github.com/JcDenis/whiteListCom/issues))
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ $this->registerModule(
|
||||||
'Whitelist comments',
|
'Whitelist comments',
|
||||||
'Whitelists for comments moderation',
|
'Whitelists for comments moderation',
|
||||||
'Jean-Christian Denis and Contributors',
|
'Jean-Christian Denis and Contributors',
|
||||||
'1.4.1',
|
'1.4.2',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.28']],
|
'requires' => [['core', '2.28']],
|
||||||
'permissions' => 'My',
|
'permissions' => 'My',
|
||||||
|
|
|
@ -1,26 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
// Language: Français
|
||||||
* @package Dotclear
|
// Module: whiteListCom - 1.4.1
|
||||||
*
|
// Date: 2024-12-06 19:35:36
|
||||||
* @copyright Olivier Meunier & Association Dotclear
|
// Author: , contact@jcdenis.fr
|
||||||
* @copyright GPL-2.0-only
|
// Translated with Translater - 2023.11.04
|
||||||
*/
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# DOT NOT MODIFY THIS FILE !
|
# DOT NOT MODIFY THIS FILE !
|
||||||
#
|
#
|
||||||
|
|
||||||
use Dotclear\Helper\L10n;
|
use Dotclear\Helper\L10n;
|
||||||
|
|
||||||
L10n::$locales['Reserved names'] = 'Noms réservé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['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['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['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['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['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['Comments authors list'] = 'Liste des auteurs de commentaires';
|
L10n::$locales['Posts authors list'] = 'Liste des auteurs de billets';
|
||||||
L10n::$locales['Unmoderated authors'] = 'Auteurs non modérés';
|
L10n::$locales['Whitelists for comments moderation'] = 'Listes blanches pour la modération de commentaires';
|
||||||
L10n::$locales['Whitelist of unmoderated authors'] = 'Liste blanche des auteurs non modérés';
|
L10n::$locales['Whitelist comments'] = 'Liste blanche des commentaires';
|
||||||
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';
|
|
||||||
|
|
|
@ -1,45 +1,67 @@
|
||||||
|
# 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 ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Project-Id-Version: whiteListCom 1.1\n"
|
"Project-Id-Version: whiteListCom 1.4.1\n"
|
||||||
"POT-Creation-Date: \n"
|
"POT-Creation-Date: \n"
|
||||||
"PO-Revision-Date: 2023-03-11T21:46:05+00:00\n"
|
"PO-Revision-Date: 2024-12-06T19:35:36+00:00\n"
|
||||||
"Last-Translator: Jean-Christian Denis\n"
|
"Last-Translator: Jean-Christian Denis\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#: src/ReservedWhiteList.php:32
|
||||||
msgid "Reserved names"
|
msgid "Reserved names"
|
||||||
msgstr "Noms réservés"
|
msgstr "Noms réservés"
|
||||||
|
|
||||||
|
#: src/ReservedWhiteList.php:33
|
||||||
msgid "Whitelist of reserved names of users"
|
msgid "Whitelist of reserved names of users"
|
||||||
msgstr "Liste blanche des noms d'utilisateurs réservés"
|
msgstr "Liste blanche des noms d'utilisateurs réservés"
|
||||||
|
|
||||||
|
#: src/ReservedWhiteList.php:60
|
||||||
msgid "This name is reserved to an other user."
|
msgid "This name is reserved to an other user."
|
||||||
msgstr "Ce nom est réservé à un autre utilisateur."
|
msgstr "Ce nom est réservé à un autre utilisateur."
|
||||||
|
|
||||||
|
#: src/ReservedWhiteList.php:80
|
||||||
msgid "Reserved names have been successfully updated."
|
msgid "Reserved names have been successfully updated."
|
||||||
msgstr "Le noms réservés ont été mis à jour."
|
msgstr "Le noms réservés ont été mis à jour."
|
||||||
|
|
||||||
msgid "Check the users who can make comments without being moderated."
|
#: src/ReservedWhiteList.php:90
|
||||||
msgstr "Cocher les utilisateurs qui peuvent faire des commentaires sans être modérés."
|
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"
|
msgid "Comments authors list"
|
||||||
msgstr "Liste des auteurs de commentaires"
|
msgstr "Liste des auteurs de commentaires"
|
||||||
|
|
||||||
|
#: src/UnmoderatedWhiteList.php:29
|
||||||
msgid "Unmoderated authors"
|
msgid "Unmoderated authors"
|
||||||
msgstr "Auteurs non modérés"
|
msgstr "Auteurs non modérés"
|
||||||
|
|
||||||
|
#: src/UnmoderatedWhiteList.php:30
|
||||||
msgid "Whitelist of unmoderated authors"
|
msgid "Whitelist of unmoderated authors"
|
||||||
msgstr "Liste blanche des auteurs non modérés"
|
msgstr "Liste blanche des auteurs non modérés"
|
||||||
|
|
||||||
|
#: src/UnmoderatedWhiteList.php:69
|
||||||
msgid "Unmoderated names have been successfully updated."
|
msgid "Unmoderated names have been successfully updated."
|
||||||
msgstr "Les noms non modérés ont été mis à jour."
|
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"
|
msgid "This filter is used only if comments are moderates"
|
||||||
msgstr "Ce filtre est utilisé seulement si les commentaires sont modérés."
|
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 "Posts authors list"
|
msgid "Posts authors list"
|
||||||
msgstr "Liste des auteurs de billets"
|
msgstr "Liste des auteurs de billets"
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ class ReservedWhiteList extends SpamFilter
|
||||||
}
|
}
|
||||||
|
|
||||||
$res = '<form action="' . Html::escapeURL($url) . '" method="post">' .
|
$res = '<form action="' . Html::escapeURL($url) . '" method="post">' .
|
||||||
'<p>' . __('Check the users who can make comments without being moderated.') . '</p>' .
|
'<p>' . __('Check the users who have a reserved name (link to an email).') . '</p>' .
|
||||||
'<div class="table-outer">' .
|
'<div class="table-outer">' .
|
||||||
'<table class="clear">' .
|
'<table class="clear">' .
|
||||||
'<caption>' . __('Comments authors list') . '</caption>' .
|
'<caption>' . __('Comments authors list') . '</caption>' .
|
||||||
|
|
Loading…
Reference in a new issue