release 1.6

This commit is contained in:
Jean-Christian Denis 2023-04-10 19:07:13 +02:00
parent 589adf75ce
commit fc0a146a12
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 32 additions and 23 deletions

View file

@ -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

View file

@ -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

View file

@ -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',
]
);

View file

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="construction">
<name>Construction</name>
<version>1.5</version>
<version>1.6</version>
<author>Osku and contributors</author>
<desc>Place your blog maintenance</desc>
<file>https://github.com/JcDenis/construction/releases/download/v1.5/plugin-construction.zip</file>
<da:dcmin>2.24</da:dcmin>
<file>https://github.com/JcDenis/construction/releases/download/v1.6/plugin-construction.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/construction</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?id=42875</da:support>
</module>

View file

@ -9,14 +9,16 @@
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['Construction'] = 'Construction';
l10n::$locales['Work in progress'] = 'Travaux en cours';
l10n::$locales['<p>The blog is currently under construction.</p>'] = '<p>Le blog est actuellement en construction.</p>';
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 <strong>%s</strong> - the allowed IP can view the blog normally.'] = 'Votre IP est <strong>%s</strong> - 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['<p>The blog is currently under construction.</p>'] = '<p>Le blog est actuellement en construction.</p>';
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 <strong>%s</strong> - the allowed IP can view the blog normally.'] = 'Votre IP est <strong>%s</strong> - 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';