release 2022.12.23
This commit is contained in:
parent
50bdbd4f53
commit
35c47d7f56
4 changed files with 51 additions and 7 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,3 +1,14 @@
|
||||||
|
2022.12.23
|
||||||
|
- use SVG icon
|
||||||
|
- use constant for table name
|
||||||
|
- use abstract plugin id and settings ns
|
||||||
|
- use short settings id
|
||||||
|
- use new addBehaviors
|
||||||
|
- fix autoload
|
||||||
|
- fix permissions
|
||||||
|
- fix install
|
||||||
|
- fix phpstan errors
|
||||||
|
|
||||||
2022.11.20
|
2022.11.20
|
||||||
- fix compatibility with Dotclear 2.24 (required)
|
- fix compatibility with Dotclear 2.24 (required)
|
||||||
|
|
||||||
|
|
10
_define.php
10
_define.php
|
@ -25,11 +25,11 @@ $this->registerModule(
|
||||||
dcAuth::PERMISSION_USAGE,
|
dcAuth::PERMISSION_USAGE,
|
||||||
dcAuth::PERMISSION_CONTENT_ADMIN,
|
dcAuth::PERMISSION_CONTENT_ADMIN,
|
||||||
]),
|
]),
|
||||||
'type' => 'plugin',
|
'type' => 'plugin',
|
||||||
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
|
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
|
||||||
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
|
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
|
||||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
||||||
'settings' => [
|
'settings' => [
|
||||||
'blog' => '#params.pwt_params',
|
'blog' => '#params.pwt_params',
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="postWidgetText">
|
<module id="postWidgetText">
|
||||||
<name>Post widget text</name>
|
<name>Post widget text</name>
|
||||||
<version>2022.11.20</version>
|
<version>2022.12.23</version>
|
||||||
<author>Jean-Christian Denis and Contributors</author>
|
<author>Jean-Christian Denis and Contributors</author>
|
||||||
<desc>Add a widget with a text related to an entry</desc>
|
<desc>Add a widget with a text related to an entry</desc>
|
||||||
<file>https://github.com/JcDenis/postWidgetText/releases/download/v2022.11.20/plugin-postWidgetText.zip</file>
|
<file>https://github.com/JcDenis/postWidgetText/releases/download/v2022.12.23/plugin-postWidgetText.zip</file>
|
||||||
<da:dcmin>2.24</da:dcmin>
|
<da:dcmin>2.24</da:dcmin>
|
||||||
<da:details>https://plugins.dotaddict.org/dc2/details/postWidgetText</da:details>
|
<da:details>https://plugins.dotaddict.org/dc2/details/postWidgetText</da:details>
|
||||||
<da:support>https://github.com/JcDenis/postWidgetText</da:support>
|
<da:support>https://github.com/JcDenis/postWidgetText</da:support>
|
||||||
|
|
33
locales/fr/main.lang.php
Normal file
33
locales/fr/main.lang.php
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Dotclear
|
||||||
|
*
|
||||||
|
* @copyright Olivier Meunier & Association Dotclear
|
||||||
|
* @copyright GPL-2.0-only
|
||||||
|
*/
|
||||||
|
#
|
||||||
|
# DOT NOT MODIFY THIS FILE !
|
||||||
|
#
|
||||||
|
|
||||||
|
l10n::$locales['Post widget text'] = 'Widget texte de billet';
|
||||||
|
l10n::$locales['Add a widget with a text related to an entry'] = 'Ajouter un widget avec du texte relatif à un billet';
|
||||||
|
l10n::$locales['More about this entry'] = 'En savoir plus sur ce billet';
|
||||||
|
l10n::$locales['Use excerpt if no content'] = 'Utiliser le résumé si le widget n\'a pas de contenu';
|
||||||
|
l10n::$locales['Show widget even if empty'] = 'Afficher le widget même si il est vide';
|
||||||
|
l10n::$locales['You are not allowed to create an entry text widget'] = 'Vous n\'êtes pas autorisé à créer un widget texte sur ce billet';
|
||||||
|
l10n::$locales['You are not allowed to update entries text widget'] = 'Vous n\'êtes pas autorisé à modifier les widgets texte des billets';
|
||||||
|
l10n::$locales['You are not allowed to delete this entry text widget'] = 'Vous n\'êtes pas autorisé à effacer le widget texte de ce billet';
|
||||||
|
l10n::$locales['You are not allowed to delete entries text widget'] = 'Vous n\'êtes pas autorisé à effacer les widgets texte des billets';
|
||||||
|
l10n::$locales['Post title'] = 'Titre du billet';
|
||||||
|
l10n::$locales['Post date'] = 'Date du billet';
|
||||||
|
l10n::$locales['Widget title'] = 'Titre du widget';
|
||||||
|
l10n::$locales['Widget date'] = 'Date du widget';
|
||||||
|
l10n::$locales['Enable post widget text on this blog'] = 'Activer les widgets texte de billet sur ce blog';
|
||||||
|
l10n::$locales['Enable import/export behaviors'] = 'Activer les fonctions d\'import/export';
|
||||||
|
l10n::$locales['Additional widget'] = 'Widget additionnel';
|
||||||
|
l10n::$locales['Widget title:'] = 'Titre du widget :';
|
||||||
|
l10n::$locales['Wigdet text:'] = 'Texte du widget :';
|
||||||
|
l10n::$locales['No widget'] = 'Pas de widget';
|
||||||
|
l10n::$locales['Posts widgets successfully delete.'] = 'Widgets de billets effacés.';
|
||||||
|
l10n::$locales['Posts widgets'] = 'Widgets de billets';
|
||||||
|
l10n::$locales['Delete selected widgets'] = 'Effacer les widgets texte selectionnés';
|
Loading…
Reference in a new issue