From 3c0f633748c806b789fda47b3086a4900283290d Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 11 Apr 2023 00:22:25 +0200 Subject: [PATCH] release 2.0 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- _define.php | 6 +++--- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 22 ++++++++++++++++++++++ 5 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 30d2217..f37cd75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +2.0 - 2023.04.11 +* require Dotclear 2.26 +* use namespace + 1.6 - 2022.12.16 * update to dotclear 2.24 * fix phpstan errors diff --git a/README.md b/README.md index e74fb9d..911396f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/bloganniv)](https://github.com/JcDenis/bloganniv/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/bloganniv)](https://github.com/JcDenis/bloganniv/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/bloganniv)](https://github.com/JcDenis/bloganniv/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/bloganniv) [![License](https://img.shields.io/github/license/JcDenis/bloganniv)](https://github.com/JcDenis/bloganniv/blob/master/LICENSE) @@ -22,7 +22,7 @@ It adds widget showing: _bloganniv_ requires: * permissions to manage widgets - * Dotclear 2.24 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index 96326f6..6900e5b 100644 --- a/_define.php +++ b/_define.php @@ -7,7 +7,7 @@ * * @author Fran6t, Pierre Van Glabeke 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( 'Blog Anniv', 'Counting the number of days before and after a particular date', 'Fran6t, Pierre Van Glabeke and Contributors', - '1.6', + '2.0', [ - '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 288fccf..dc18bf5 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Blog Anniv - 1.6 + 2.0 Fran6t, Pierre Van Glabeke and Contributors Counting the number of days before and after a particular date - https://github.com/JcDenis/bloganniv/releases/download/v1.6/plugin-bloganniv.zip - 2.24 + https://github.com/JcDenis/bloganniv/releases/download/v2.0/plugin-bloganniv.zip + 2.26 https://plugins.dotaddict.org/dc2/details/bloganniv https://github.com/JcDenis/bloganniv diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..6420c5f --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,22 @@ +