release 2023.03.26

This commit is contained in:
Jean-Christian Denis 2023-03-26 23:56:06 +02:00
parent 5cbc52307e
commit 79f41ea79b
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 32 additions and 11 deletions

View file

@ -1,3 +1,7 @@
2023.03.26
- require dotclear 2.26
- use namespace
2022.12.20
- change plugin name
- use anonymous functions

View file

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/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/dcLatestVersions)
[![License](https://img.shields.io/github/license/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/blob/master/LICENSE)
@ -19,7 +19,7 @@ Simply show visitors last versions of nightly build of Dotclear.
dcLatestVersions requires:
* permissions to manage widgets
* Dotclear 2.24
* Dotclear 2.26
## USAGE

View file

@ -18,16 +18,16 @@ $this->registerModule(
"Dotclear's latest versions",
'Show the latest available versions of Dotclear',
'Jean-Christian Denis, Pierre Van Glabeke',
'2022.12.20',
'2023.03.26',
[
'requires' => [['core', '2.24']],
'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
dcAuth::PERMISSION_CONTENT_ADMIN,
]),
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewforum.php?id=16',
'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewforum.php?id=16',
'details' => 'http://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="dcLatestVersions">
<name>Dotclear's latest versions</name>
<version>2022.12.20</version>
<version>2023.03.26</version>
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
<desc>Show the latest available versions of Dotclear</desc>
<file>https://github.com/JcDenis/dcLatestVersions/releases/download/v2022.12.20/plugin-dcLatestVersions.zip</file>
<da:dcmin>2.24</da:dcmin>
<file>https://github.com/JcDenis/dcLatestVersions/releases/download/v2023.03.26/plugin-dcLatestVersions.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/dcLatestVersions</da:details>
<da:support>http://forum.dotclear.org/viewforum.php?id=16</da:support>
</module>

17
locales/fr/main.lang.php Normal file
View file

@ -0,0 +1,17 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['Download Dotclear %s'] = 'Télécharger Dotclear %s';
l10n::$locales['Dotclear\'s latest versions'] = 'Dernières versions de Dotclear';
l10n::$locales['Show Dotclear\'s latest versions on dashboards.'] = 'Afficher les dernières versions de Dotclear sur le tableau de bord';
l10n::$locales['Show the latest available versions of Dotclear'] = 'Afficher les dernières versions disponibles de Dotclear';
l10n::$locales['Text (%r = release, %v = version, %u = url):'] = 'Texte (%r = type, %v = version, %u = url) :';
l10n::$locales['<strong>%r: </strong> <a href="%u" title="Download Dotclear %v">%v</a>'] = '<strong>%r : </strong> <a href="%u" title="Télécharger Dotclear %v">%v</a>';