release 2022.12.23

This commit is contained in:
Jean-Christian Paul Denis 2022-12-23 11:51:49 +01:00
parent 56e8c7bf24
commit 466681fca7
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 26 additions and 14 deletions

View File

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

View File

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

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="simplyFavicon">
<name>Simply favicon</name>
<version>2022.11.20</version>
<version>2022.12.23</version>
<author>Jean-Christian Denis</author>
<desc>Multi-agents favicon</desc>
<file>https://github.com/JcDenis/simplyFavicon/releases/download/v2022.11.20/plugin-simplyFavicon.zip</file>
<file>https://github.com/JcDenis/simplyFavicon/releases/download/v2022.12.23/plugin-simplyFavicon.zip</file>
<da:dcmin>2.24</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/simplyFavicon</da:details>
<da:support>https://github.com/JcDenis/simplyFavicon</da:support>

15
locales/fr/main.lang.php Normal file
View File

@ -0,0 +1,15 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['Enable "Simply favicon" extension'] = 'Activer l\'extension "Simply favicon"';
l10n::$locales['You must place an image called favicon.png or .jpg or .ico into your blog\'s public directory.'] = 'Vous devez placer une image nommée favicon.png, .jpg ou .ico dans le répertoire publique du blog.';
l10n::$locales['There are no favicon in blog public directory'] = 'Il n\'y a pas de Favicon dans le répertoire public du blog.';
l10n::$locales['Current favicons:'] = 'Favicons actuels :';