release 2.0

master
Jean-Christian Paul Denis 2023-04-11 00:09:58 +02:00
parent 31d713a804
commit 0fc0da76c0
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
5 changed files with 29 additions and 8 deletions

View File

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

View File

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

View File

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

View File

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="shortArchives">
<name>shortArchives</name>
<version>1.9</version>
<version>2.0</version>
<author>annso, Pierre Van Glabeke and Contributors</author>
<desc>Display blog archives in an accordion menu, sorted by year</desc>
<file>https://github.com/JcDenis/shortArchives/releases/download/v1.9/plugin-shortArchives.zip</file>
<da:dcmin>2.24</da:dcmin>
<file>https://github.com/JcDenis/shortArchives/releases/download/v2.0/plugin-shortArchives.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/shortArchives</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?pid=321044#p321044</da:support>
</module>

View File

@ -0,0 +1,17 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
use Dotclear\Helper\L10n;
L10n::$locales['Blog Archive List an accordion menu, sorted by year'] = 'Liste des archives du blog dans un menu accordéon, trié par années';
L10n::$locales['Link to all archives:'] = 'Lien vers toutes les archives :';
L10n::$locales['All archives'] = 'Toutes les archives';
L10n::$locales['Display blog archives in an accordion menu, sorted by year'] = 'Afficher les archives du blog dans un menu accordéon, trié par années';