From 79f41ea79bbd56799cce72bd05208b60ee8db963 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 26 Mar 2023 23:56:06 +0200 Subject: [PATCH] release 2023.03.26 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- _define.php | 12 ++++++------ dcstore.xml | 6 +++--- locales/fr/main.lang.php | 17 +++++++++++++++++ 5 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a2d3ba..f171cf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +2023.03.26 +- require dotclear 2.26 +- use namespace + 2022.12.20 - change plugin name - use anonymous functions diff --git a/README.md b/README.md index 2f32dcd..dd96dcc 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/_define.php b/_define.php index 55f6159..bc24328 100644 --- a/_define.php +++ b/_define.php @@ -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', ] ); diff --git a/dcstore.xml b/dcstore.xml index 3193b03..d7dfdbf 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Dotclear's latest versions - 2022.12.20 + 2023.03.26 Jean-Christian Denis, Pierre Van Glabeke Show the latest available versions of Dotclear - https://github.com/JcDenis/dcLatestVersions/releases/download/v2022.12.20/plugin-dcLatestVersions.zip - 2.24 + https://github.com/JcDenis/dcLatestVersions/releases/download/v2023.03.26/plugin-dcLatestVersions.zip + 2.26 http://plugins.dotaddict.org/dc2/details/dcLatestVersions http://forum.dotclear.org/viewforum.php?id=16 diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..fdf2f68 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,17 @@ +%r: %v'] = '%r : %v';