fix plugin name, fix plurals

This commit is contained in:
Jean-Christian Paul Denis 2021-09-17 23:11:07 +02:00
parent 7c4dfabc5c
commit 1556365177
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 20 additions and 97 deletions

View File

@ -16,7 +16,7 @@ if (!defined('DC_RC_PATH')) {
} }
$this->registerModule( $this->registerModule(
'topWriter', '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',
'0.8.1', '0.8.1',

View File

@ -25,7 +25,7 @@ class topWriterWidget
$w $w
->create( ->create(
'topcom', 'topcom',
__('Top Writer: top comments'), __('Top writer: comments'),
['topWriterWidget', 'topCom'], ['topWriterWidget', 'topCom'],
null, null,
__('List users who write more comments') __('List users who write more comments')
@ -81,7 +81,7 @@ class topWriterWidget
$w $w
->create( ->create(
'toppost', 'toppost',
__('Top Writer: top entries'), __('Top writer: entries'),
['topWriterWidget', 'topPost'], ['topWriterWidget', 'topPost'],
null, null,
__('List users who write more posts') __('List users who write more posts')

View File

@ -1,74 +0,0 @@
<?php
// Language: Français
// Module: topWriter - 0.8
// Date: 2021-08-27 20:05:38
// Translated with dcTranslater - 2021.08.18
#_widgets.php:28
$GLOBALS['__l10n']['Top Writer: top comments'] = 'Top Writer : top commentaires';
#_widgets.php:31
$GLOBALS['__l10n']['List users who write more comments'] = 'Liste les utilisateurs qui ont écrit le plus de commentaires';
#_widgets.php:33
$GLOBALS['__l10n']['Top comments'] = 'Top commentaires';
#_widgets.php:42
#_widgets.php:98
$GLOBALS['__l10n']['Period:'] = 'Période :';
#_widgets.php:46
#_widgets.php:102
$GLOBALS['__l10n']['day'] = 'jour';
#_widgets.php:47
#_widgets.php:103
$GLOBALS['__l10n']['week'] = 'semaine';
#_widgets.php:48
#_widgets.php:104
$GLOBALS['__l10n']['month'] = 'mois';
#_widgets.php:49
#_widgets.php:105
$GLOBALS['__l10n']['year'] = 'année';
#_widgets.php:50
#_widgets.php:106
$GLOBALS['__l10n']['from begining'] = 'depuis le début';
#_widgets.php:65
#_widgets.php:120
$GLOBALS['__l10n']['Limit:'] = 'Limite :';
#_widgets.php:71
$GLOBALS['__l10n']['Exclude post writer from list'] = 'Exclure de la liste les auteurs de billets';
#_widgets.php:84
$GLOBALS['__l10n']['Top Writer: top entries'] = 'Top Writer : top billets';
#_widgets.php:87
$GLOBALS['__l10n']['List users who write more posts'] = 'Liste les utilisateurs qui ont écrit le plus de billets';
#_widgets.php:89
$GLOBALS['__l10n']['Top entries'] = 'Top billets';
#_widgets.php:190
#_widgets.php:282
$GLOBALS['__l10n']['Author link'] = 'Lien vers l\'auteur';
#_widgets.php:278
$GLOBALS['__l10n']['Author posts'] = 'Billets de l\'auteur';
#_widgets.php:287
$GLOBALS['__l10n']['no entries'] = 'aucun billet';
$GLOBALS['__l10n']['Ranking of the most prolific writers and/or commentators'] = 'Classement des plus prolifiques rédacteurs et/ou commentateurs';
$GLOBALS['__l10n']['one entries'] = 'un billet';
$GLOBALS['__l10n']['%s entries'] = '%s billets';
$GLOBALS['__l10n']['un comment'] = 'un commentaire';
$GLOBALS['__l10n']['%s comments'] = '%s commentaires';

View File

@ -1,14 +1,14 @@
# Language: Français # Language: Français
# Module: topWriter - 0.8 # Module: topWriter - 0.8.1
# Date: 2021-08-27 20:05:38 # Date: 2021-09-17 21:01:42
# Translated with translater 2021.08.18 # Translated with translater 2021.09.02.1
msgid "" msgid ""
msgstr "" msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: topWriter 0.8\n" "Project-Id-Version: topWriter 0.8.1\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2021-08-27T20:05:38+00:00\n" "PO-Revision-Date: 2021-09-17T21:01:42+00:00\n"
"Last-Translator: Jean-Christian Denis\n" "Last-Translator: Jean-Christian Denis\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -16,8 +16,8 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: _widgets.php:28 #: _widgets.php:28
msgid "Top Writer: top comments" msgid "Top writer: comments"
msgstr "Top Writer : top commentaires" msgstr "Top rédacteur : commentaires"
#: _widgets.php:31 #: _widgets.php:31
msgid "List users who write more comments" msgid "List users who write more comments"
@ -67,8 +67,8 @@ msgid "Exclude post writer from list"
msgstr "Exclure de la liste les auteurs de billets" msgstr "Exclure de la liste les auteurs de billets"
#: _widgets.php:84 #: _widgets.php:84
msgid "Top Writer: top entries" msgid "Top writer: entries"
msgstr "Top Writer : top billets" msgstr "Top rédacteur : billets"
#: _widgets.php:87 #: _widgets.php:87
msgid "List users who write more posts" msgid "List users who write more posts"
@ -94,15 +94,12 @@ msgstr "aucun billet"
msgid "Ranking of the most prolific writers and/or commentators" msgid "Ranking of the most prolific writers and/or commentators"
msgstr "Classement des plus prolifiques rédacteurs et/ou commentateurs" msgstr "Classement des plus prolifiques rédacteurs et/ou commentateurs"
msgid "one entries" msgid "one comment"
msgstr "un billet" msgid_plural "%s comments"
msgstr[0] "un commentaire"
msgid "%s entries" msgstr[1] "%s commentaires"
msgstr "%s billets"
msgid "un comment"
msgstr "un commentaire"
msgid "%s comments"
msgstr "%s commentaires"
msgid "one entry"
msgid_plural "%s entries"
msgstr[0] "un billet"
msgstr[1] "%s billets"