From 0fc0da76c044c5f2630acbf986935386d880dc7c Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 11 Apr 2023 00:09:58 +0200 Subject: [PATCH] release 2.0 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- _define.php | 6 +++--- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 17 +++++++++++++++++ 5 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index f8fd9a1..7ab2938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +2.0 - 2023.04.11 +* require Dotclear 2.26 +* use namespace + 1.9 - 2022.12.17 * update to dotclear 2.24 * fix phpstan errors diff --git a/README.md b/README.md index 6875506..9ad8824 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/shortArchives)](https://github.com/JcDenis/shortArchives/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/shortArchives)](https://github.com/JcDenis/shortArchives/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/shortArchives)](https://github.com/JcDenis/shortArchives/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/shortArchives) [![License](https://img.shields.io/github/license/JcDenis/shortArchives)](https://github.com/JcDenis/shortArchives/blob/master/LICENSE) @@ -19,7 +19,7 @@ Add a public widget that list links to archives by year. _shortArchives_ requires: * content admin permissions to manage widgets - * Dotclear 2.24 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index 340d3f3..4fdb29c 100644 --- a/_define.php +++ b/_define.php @@ -7,7 +7,7 @@ * * @author annso, 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( 'shortArchives', 'Display blog archives in an accordion menu, sorted by year', 'annso, Pierre Van Glabeke and Contributors', - '1.9', + '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 9876e07..de17b8a 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ shortArchives - 1.9 + 2.0 annso, Pierre Van Glabeke and Contributors Display blog archives in an accordion menu, sorted by year - https://github.com/JcDenis/shortArchives/releases/download/v1.9/plugin-shortArchives.zip - 2.24 + https://github.com/JcDenis/shortArchives/releases/download/v2.0/plugin-shortArchives.zip + 2.26 http://plugins.dotaddict.org/dc2/details/shortArchives http://forum.dotclear.org/viewtopic.php?pid=321044#p321044 diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..47c7e68 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,17 @@ +