diff --git a/CHANGELOG.md b/CHANGELOG.md index 40835d7..0cc4b9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.1 - 2023.03.26 +* require Dotclear 2.26 +* use namespace + 1.0 - 2022.12.15 * update to dotclear 2.24 * use anonymous function for behaviors diff --git a/README.md b/README.md index f2f069b..2acc1ab 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-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/emailOptionnel) [![License](https://img.shields.io/github/license/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/blob/master/LICENSE) @@ -19,7 +19,7 @@ Allow visitors to publish comments without fill in their email. _emailOptionnel_ requires: * admin permissions to set up plugin - * Dotclear 2.24 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index 920b6a5..4458ee8 100644 --- a/_define.php +++ b/_define.php @@ -7,7 +7,7 @@ * * @author Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors * - * @copyright Jean-Crhistian Denis + * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ if (!defined('DC_RC_PATH')) { @@ -18,9 +18,9 @@ $this->registerModule( 'emailOptionnel', 'Make e-mail address optional in comments', 'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors', - '1.0', + '1.1', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_ADMIN, ]), diff --git a/dcstore.xml b/dcstore.xml index 2b4f259..5d07891 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ emailOptionnel - 1.0 + 1.1 Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors Make e-mail address optional in comments - https://github.com/JcDenis/emailOptionnel/releases/download/v1.0/plugin-emailOptionnel.zip - 2.24 + https://github.com/JcDenis/emailOptionnel/releases/download/v1.1/plugin-emailOptionnel.zip + 2.26 https://plugins.dotaddict.org/dc2/details/emailOptionnel http://forum.dotclear.org/viewtopic.php?pid=332948#p332948 diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..97da818 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,13 @@ +