release 2022.12.23

This commit is contained in:
Jean-Christian 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 2022.12.23
- fix PSR12 CS - use anonymlous functions
- update readme file - code review (phpstan, php-cs-fixer)
- remove .lang.php file
- add test on blog pref form
- fix public url test
2022.11.20 2022.11.20
- fix compatibility with Dotclear 2.24 (required) - fix compatibility with Dotclear 2.24 (required)

View file

@ -18,17 +18,17 @@ $this->registerModule(
'Simply favicon', 'Simply favicon',
'Multi-agents favicon', 'Multi-agents favicon',
'Jean-Christian Denis', 'Jean-Christian Denis',
'2022.11.20', '2022.12.23',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.24']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN, dcAuth::PERMISSION_ADMIN,
]), ]),
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/simplyFavicon', 'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
'details' => 'http://plugins.dotaddict.org/dc2/details/simplyFavicon', 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/simplyFavicon/master/dcstore.xml', 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
'settings' => [ 'settings' => [
'blog' => '#params.simply_favicon_params', 'blog' => '#params.simply_favicon_params',
], ],
] ]

View file

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="simplyFavicon"> <module id="simplyFavicon">
<name>Simply favicon</name> <name>Simply favicon</name>
<version>2022.11.20</version> <version>2022.12.23</version>
<author>Jean-Christian Denis</author> <author>Jean-Christian Denis</author>
<desc>Multi-agents favicon</desc> <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:dcmin>2.24</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/simplyFavicon</da:details> <da:details>http://plugins.dotaddict.org/dc2/details/simplyFavicon</da:details>
<da:support>https://github.com/JcDenis/simplyFavicon</da:support> <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 :';