release 2.0
This commit is contained in:
parent
31d713a804
commit
0fc0da76c0
5 changed files with 29 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2.0 - 2023.04.11
|
||||||
|
* require Dotclear 2.26
|
||||||
|
* use namespace
|
||||||
|
|
||||||
1.9 - 2022.12.17
|
1.9 - 2022.12.17
|
||||||
* update to dotclear 2.24
|
* update to dotclear 2.24
|
||||||
* fix phpstan errors
|
* fix phpstan errors
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/shortArchives)](https://github.com/JcDenis/shortArchives/releases)
|
[![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)
|
[![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)
|
[![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)
|
[![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)
|
[![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:
|
_shortArchives_ requires:
|
||||||
|
|
||||||
* content admin permissions to manage widgets
|
* content admin permissions to manage widgets
|
||||||
* Dotclear 2.24
|
* Dotclear 2.26
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* @author annso, Pierre Van Glabeke and Contributors
|
* @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
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
if (!defined('DC_RC_PATH')) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
|
@ -18,9 +18,9 @@ $this->registerModule(
|
||||||
'shortArchives',
|
'shortArchives',
|
||||||
'Display blog archives in an accordion menu, sorted by year',
|
'Display blog archives in an accordion menu, sorted by year',
|
||||||
'annso, Pierre Van Glabeke and Contributors',
|
'annso, Pierre Van Glabeke and Contributors',
|
||||||
'1.9',
|
'2.0',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.24']],
|
'requires' => [['core', '2.26']],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
dcAuth::PERMISSION_ADMIN,
|
dcAuth::PERMISSION_ADMIN,
|
||||||
]),
|
]),
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="shortArchives">
|
<module id="shortArchives">
|
||||||
<name>shortArchives</name>
|
<name>shortArchives</name>
|
||||||
<version>1.9</version>
|
<version>2.0</version>
|
||||||
<author>annso, Pierre Van Glabeke and Contributors</author>
|
<author>annso, Pierre Van Glabeke and Contributors</author>
|
||||||
<desc>Display blog archives in an accordion menu, sorted by year</desc>
|
<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>
|
<file>https://github.com/JcDenis/shortArchives/releases/download/v2.0/plugin-shortArchives.zip</file>
|
||||||
<da:dcmin>2.24</da:dcmin>
|
<da:dcmin>2.26</da:dcmin>
|
||||||
<da:details>http://plugins.dotaddict.org/dc2/details/shortArchives</da:details>
|
<da:details>http://plugins.dotaddict.org/dc2/details/shortArchives</da:details>
|
||||||
<da:support>http://forum.dotclear.org/viewtopic.php?pid=321044#p321044</da:support>
|
<da:support>http://forum.dotclear.org/viewtopic.php?pid=321044#p321044</da:support>
|
||||||
</module>
|
</module>
|
||||||
|
|
17
locales/fr/main.lang.php
Normal file
17
locales/fr/main.lang.php
Normal 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';
|
Loading…
Reference in a new issue