release 1.2

This commit is contained in:
Jean-Christian Denis 2023-04-23 23:34:25 +02:00
parent 97b7362842
commit 45ea1216dc
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 38 additions and 29 deletions

View file

@ -1,7 +1,14 @@
dev dev
- [ ] literal rank of writer depending of num of com - [ ] literal rank of writer depending of num of com
1.1 1.2 - 2023.04.23
- require dotclear 2.26
- use latest dotclear namespace
- use sql statement
- fix plural translations
- fix nullsafe warnings
1.1 - 2023.03.21
- require Dotclear 2.25 - require Dotclear 2.25
- use namespace - use namespace

View file

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/releases) [![Release](https://img.shields.io/github/v/release/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/issues) [![Issues](https://img.shields.io/github/issues/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/issues)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.25-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/topWriter) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/topWriter)
[![License](https://img.shields.io/github/license/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/blob/master/LICENSE) [![License](https://img.shields.io/github/license/JcDenis/topWriter)](https://github.com/JcDenis/topWriter/blob/master/LICENSE)
@ -19,7 +19,7 @@ Show most active contributor on a widget.
_topWriter_ requires: _topWriter_ requires:
* permissions to manage widgets * permissions to manage widgets
* Dotclear 2.25 * Dotclear 2.26
## USAGE ## USAGE

View file

@ -18,9 +18,9 @@ $this->registerModule(
'Top writer', 'Top writer',
'Ranking of the most prolific writers and/or commentators', 'Ranking of the most prolific writers and/or commentators',
'Jean-Christian Denis, Pierre Van Glabeke', 'Jean-Christian Denis, Pierre Van Glabeke',
'1.1', '1.2',
[ [
'requires' => [['core', '2.25']], 'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
]), ]),

View file

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="topWriter"> <module id="topWriter">
<name>Top writer</name> <name>Top writer</name>
<version>1.1</version> <version>1.2</version>
<author>Jean-Christian Denis, Pierre Van Glabeke</author> <author>Jean-Christian Denis, Pierre Van Glabeke</author>
<desc>Ranking of the most prolific writers and/or commentators</desc> <desc>Ranking of the most prolific writers and/or commentators</desc>
<file>https://github.com/JcDenis/topWriter/releases/download/v1.1/plugin-topWriter.zip</file> <file>https://github.com/JcDenis/topWriter/releases/download/v1.2/plugin-topWriter.zip</file>
<da:dcmin>2.25</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/topWriter</da:details> <da:details>http://plugins.dotaddict.org/dc2/details/topWriter</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?pid=333002#p333002</da:support> <da:support>http://forum.dotclear.org/viewtopic.php?pid=333002#p333002</da:support>
</module> </module>

View file

@ -9,30 +9,32 @@
# DOT NOT MODIFY THIS FILE ! # DOT NOT MODIFY THIS FILE !
# #
l10n::$locales['Top writer: entries'] = 'Top rédacteur : billets'; use Dotclear\Helper\L10n;
l10n::$locales['Top writer: comments'] = 'Top rédacteur : commentaires';
l10n::$locales['Period:'] = 'Période :'; L10n::$locales['Top writer: entries'] = 'Top rédacteur : billets';
l10n::$locales['Limit:'] = 'Limite :'; L10n::$locales['Top writer: comments'] = 'Top rédacteur : commentaires';
l10n::$locales['List users who write more comments'] = 'Liste les utilisateurs qui ont écrit le plus de commentaires'; L10n::$locales['Period:'] = 'Période :';
l10n::$locales['Top comments'] = 'Top commentaires'; L10n::$locales['Limit:'] = 'Limite :';
l10n::$locales['Exclude post writer from list'] = 'Exclure de la liste les auteurs de billets'; L10n::$locales['List users who write more comments'] = 'Liste les utilisateurs qui ont écrit le plus de commentaires';
l10n::$locales['List users who write more posts'] = 'Liste les utilisateurs qui ont écrit le plus de billets'; L10n::$locales['Top comments'] = 'Top commentaires';
l10n::$locales['Top entries'] = 'Top billets'; L10n::$locales['Exclude post writer from list'] = 'Exclure de la liste les auteurs de billets';
l10n::$locales['Author posts'] = 'Billets de l\'auteur'; L10n::$locales['List users who write more posts'] = 'Liste les utilisateurs qui ont écrit le plus de billets';
l10n::$locales['Author link'] = 'Lien vers l\'auteur'; L10n::$locales['Top entries'] = 'Top billets';
l10n::$locales['no entries'] = 'aucun billet'; L10n::$locales['Author posts'] = 'Billets de l\'auteur';
l10n::$locales['one entry'] = [ L10n::$locales['Author link'] = 'Lien vers l\'auteur';
L10n::$locales['no entries'] = 'aucun billet';
L10n::$locales['one entry'] = [
'une publication', 'une publication',
'%s publications', '%s publications',
]; ];
l10n::$locales['no comments'] = 'aucun commentaire'; L10n::$locales['no comments'] = 'aucun commentaire';
l10n::$locales['one comment'] = [ L10n::$locales['one comment'] = [
'un commentaire', 'un commentaire',
'%s commentaires', '%s commentaires',
]; ];
l10n::$locales['last day'] = 'dernier jour'; L10n::$locales['last day'] = 'dernier jour';
l10n::$locales['last week'] = 'dernière semaine'; L10n::$locales['last week'] = 'dernière semaine';
l10n::$locales['last month'] = 'dernier mois'; L10n::$locales['last month'] = 'dernier mois';
l10n::$locales['last year'] = 'dernière année'; L10n::$locales['last year'] = 'dernière année';
l10n::$locales['from begining'] = 'depuis le début'; L10n::$locales['from begining'] = 'depuis le début';
l10n::$locales['Ranking of the most prolific writers and/or commentators'] = 'Classement des plus prolifiques rédacteurs et/ou commentateurs'; L10n::$locales['Ranking of the most prolific writers and/or commentators'] = 'Classement des plus prolifiques rédacteurs et/ou commentateurs';