release 2.0

master
Jean-Christian Paul Denis 2023-04-10 23:31:14 +02:00
parent 6186e3ec5e
commit 2243e337c3
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
5 changed files with 47 additions and 8 deletions

View File

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

View File

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

View File

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

View File

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="arlequin">
<name>Arlequin</name>
<version>1.6</version>
<version>2.0</version>
<author>Oleksandr Syenchuk, Pierre Van Glabeke and contributors</author>
<desc>Allows visitors choose a theme</desc>
<file>https://github.com/JcDenis/arlequin/releases/download/v1.6/plugin-arlequin.zip</file>
<da:dcmin>2.24</da:dcmin>
<file>https://github.com/JcDenis/arlequin/releases/download/v2.0/plugin-arlequin.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/arlequin</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?id=48345</da:support>
</module>

View File

@ -0,0 +1,32 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
use Dotclear\Helper\L10n;
L10n::$locales['Theme switcher'] = 'Sélecteur de thème';
L10n::$locales['Choose a theme'] = 'Choisissez un thème';
L10n::$locales['Model name'] = 'Nom du modèle';
L10n::$locales['Bullets list'] = 'Liste à puces';
L10n::$locales['Scrolled list'] = 'Liste déroulante';
L10n::$locales['active theme'] = 'thème actif';
L10n::$locales['Settings have been reinitialized.'] = 'Les paramètres ont été réinitialisés.';
L10n::$locales['System settings have been updated.'] = 'Les paramètres on tété mis à jour.';
L10n::$locales['Predefined models'] = 'Modèles prédéfinis';
L10n::$locales['Select a model'] = 'Sélectionnez un modèle';
L10n::$locales['Switcher display format'] = 'Format d\'affichage du sélecteur';
L10n::$locales['Switcher HTML code:'] = 'Code HTML du sélecteur :';
L10n::$locales['Item HTML code:'] = 'Code HTML d\'un item :';
L10n::$locales['Active item HTML code:'] = 'Code HTML d\'un item actif :';
L10n::$locales['Excluded themes (separated by slashs \'/\'):'] = 'Thèmes exclus (séparés par des slashs "/") :';
L10n::$locales['The names to be taken into account are those of the theme files.'] = 'Les noms à prendre en compte sont ceux des dossiers de thème.';
L10n::$locales['Restore defaults'] = 'Réinitialiser les paramètres';
L10n::$locales['Arlequin - theme switcher configuration'] = 'Arlequin - configuration du sélecteur de thème';
L10n::$locales['Allows visitors choose a theme'] = 'Permettre aux visiteurs de choisir un thème';