From 466681fca76aae962a74818be6bd34e801829321 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 23 Dec 2022 11:51:49 +0100 Subject: [PATCH] release 2022.12.23 --- CHANGELOG.md | 9 +++------ _define.php | 12 ++++++------ dcstore.xml | 4 ++-- locales/fr/main.lang.php | 15 +++++++++++++++ 4 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7e899..483bc21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,6 @@ -dev -- fix PSR12 CS -- update readme file -- remove .lang.php file -- add test on blog pref form -- fix public url test +2022.12.23 +- use anonymlous functions +- code review (phpstan, php-cs-fixer) 2022.11.20 - fix compatibility with Dotclear 2.24 (required) diff --git a/_define.php b/_define.php index 2100e35..d9327b6 100644 --- a/_define.php +++ b/_define.php @@ -18,17 +18,17 @@ $this->registerModule( 'Simply favicon', 'Multi-agents favicon', 'Jean-Christian Denis', - '2022.11.20', + '2022.12.23', [ 'requires' => [['core', '2.24']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/simplyFavicon', - 'details' => 'http://plugins.dotaddict.org/dc2/details/simplyFavicon', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/simplyFavicon/master/dcstore.xml', - 'settings' => [ + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'settings' => [ 'blog' => '#params.simply_favicon_params', ], ] diff --git a/dcstore.xml b/dcstore.xml index 8ec7cc9..ade506a 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Simply favicon - 2022.11.20 + 2022.12.23 Jean-Christian Denis Multi-agents favicon - https://github.com/JcDenis/simplyFavicon/releases/download/v2022.11.20/plugin-simplyFavicon.zip + https://github.com/JcDenis/simplyFavicon/releases/download/v2022.12.23/plugin-simplyFavicon.zip 2.24 http://plugins.dotaddict.org/dc2/details/simplyFavicon https://github.com/JcDenis/simplyFavicon diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..d17d2a9 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,15 @@ +