From fc0a146a12b84762afd3c46b5d4c00566771c0ae Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 10 Apr 2023 19:07:13 +0200 Subject: [PATCH] release 1.6 --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- _define.php | 14 +++++++------- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 24 +++++++++++++----------- 5 files changed, 32 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b96f5d..3f1a22b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +todo +* disable widgets + +1.6 - 2023.04.10 +* require dotclear 2.26 +* use namespace + 1.5 - 2022.12.31 * update to dotclear 2.24 * use json intead of serialize diff --git a/README.md b/README.md index fa197a9..8e5f364 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/construction)](https://github.com/JcDenis/construction/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/construction)](https://github.com/JcDenis/construction/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/construction)](https://github.com/JcDenis/construction/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/construction) [![License](https://img.shields.io/github/license/JcDenis/construction)](https://github.com/JcDenis/construction/blob/master/LICENSE) @@ -20,7 +20,7 @@ Blog can be accessible to defined IP addresses. _construction_ requires: * admin permissions on blog - * Dotclear 2.24 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index c5fdb56..8454232 100644 --- a/_define.php +++ b/_define.php @@ -18,16 +18,16 @@ $this->registerModule( 'Construction', 'Place your blog maintenance', 'Osku and contributors', - '1.5', + '1.6', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_ADMIN, ]), - 'priority' => 2000, - 'type' => 'plugin', - 'support' => 'http://forum.dotclear.org/viewtopic.php?id=42875', - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'priority' => 2000, + 'type' => 'plugin', + 'support' => 'http://forum.dotclear.org/viewtopic.php?id=42875', + 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index 83a9919..ef0dc80 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Construction - 1.5 + 1.6 Osku and contributors Place your blog maintenance - https://github.com/JcDenis/construction/releases/download/v1.5/plugin-construction.zip - 2.24 + https://github.com/JcDenis/construction/releases/download/v1.6/plugin-construction.zip + 2.26 https://plugins.dotaddict.org/dc2/details/construction http://forum.dotclear.org/viewtopic.php?id=42875 diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index 758c37a..251a2fc 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -9,14 +9,16 @@ # DOT NOT MODIFY THIS FILE ! # -l10n::$locales['Construction'] = 'Construction'; -l10n::$locales['Work in progress'] = 'Travaux en cours'; -l10n::$locales['

The blog is currently under construction.

'] = '

Le blog est actuellement en construction.

'; -l10n::$locales['Settings successfully updated.'] = 'Paramètres mis à jour.'; -l10n::$locales['Configuration'] = 'Configuration'; -l10n::$locales['Allowed IP:'] = 'IP autorisées :'; -l10n::$locales['Your IP is %s - the allowed IP can view the blog normally.'] = 'Votre IP est %s - les IP autorisées peuvent visualiser le blog normalement.'; -l10n::$locales['Extra allowed URL types:'] = 'Autres types d\'URL autorisées :'; -l10n::$locales['Presentation'] = 'Présentation'; -l10n::$locales['Message:'] = 'Message :'; -l10n::$locales['Place your blog maintenance'] = 'Mettez votre blog en maintenance'; +use Dotclear\Helper\L10n; + +L10n::$locales['Construction'] = 'Construction'; +L10n::$locales['Work in progress'] = 'Travaux en cours'; +L10n::$locales['

The blog is currently under construction.

'] = '

Le blog est actuellement en construction.

'; +L10n::$locales['Settings successfully updated.'] = 'Paramètres mis à jour.'; +L10n::$locales['Configuration'] = 'Configuration'; +L10n::$locales['Allowed IP:'] = 'IP autorisées :'; +L10n::$locales['Your IP is %s - the allowed IP can view the blog normally.'] = 'Votre IP est %s - les IP autorisées peuvent visualiser le blog normalement.'; +L10n::$locales['Extra allowed URL types:'] = 'Autres types d\'URL autorisées :'; +L10n::$locales['Presentation'] = 'Présentation'; +L10n::$locales['Message:'] = 'Message :'; +L10n::$locales['Place your blog maintenance'] = 'Mettez votre blog en maintenance';