From 2243e337c3a240f91bfab3a9bc7463ed7b5d668d Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 10 Apr 2023 23:31:14 +0200 Subject: [PATCH] release 2.0 --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- _define.php | 6 +++--- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 8 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 20ef90b..159ac48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +2.0 - 2023.04.11 +* require Dotclear 2.26 +* use namespace +* add behavior to register models +* move settings names (lost previously saved) +* move models (lost previously saved) + 1.6 - 2022.12.14 * Update to dotclear 2.24 diff --git a/README.md b/README.md index f8aea30..5301266 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/arlequin)](https://github.com/JcDenis/arlequin/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/arlequin)](https://github.com/JcDenis/arlequin/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/arlequin)](https://github.com/JcDenis/arlequin/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/arlequin) [![License](https://img.shields.io/github/license/JcDenis/arlequin)](https://github.com/JcDenis/arlequin/blob/master/LICENSE) @@ -19,7 +19,7 @@ It allows visitors to select a theme on your blog. _arlequin_ requires: * content admin permissions to manage theme and public menu - * Dotclear 2.24 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index 6033e91..dc6ef0f 100644 --- a/_define.php +++ b/_define.php @@ -7,7 +7,7 @@ * * @author Oleksandr Syenchuk, 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( 'Arlequin', 'Allows visitors choose a theme', 'Oleksandr Syenchuk, Pierre Van Glabeke and contributors', - '1.6', + '2.0', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_CONTENT_ADMIN, ]), diff --git a/dcstore.xml b/dcstore.xml index 252e491..095b8e2 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Arlequin - 1.6 + 2.0 Oleksandr Syenchuk, Pierre Van Glabeke and contributors Allows visitors choose a theme - https://github.com/JcDenis/arlequin/releases/download/v1.6/plugin-arlequin.zip - 2.24 + https://github.com/JcDenis/arlequin/releases/download/v2.0/plugin-arlequin.zip + 2.26 https://plugins.dotaddict.org/dc2/details/arlequin http://forum.dotclear.org/viewtopic.php?id=48345 diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..7b5d3c4 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,32 @@ +