release 0.2 - split

This commit is contained in:
Jean-Christian Paul Denis 2023-04-16 02:49:38 +02:00
parent f2e8775454
commit df4ce849f5
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
6 changed files with 91 additions and 128 deletions

View File

@ -1,5 +1,14 @@
dev dev
- [ ] orphan media cleaner - [ ] orphan media cleaner
- [ ] move to plugin maintenance
0.2 - 2023.04.16
- require dotclear 2.26
- require php >= 8.1
- require plugin Uninstaller
- remove features that moved to plugin Uninstaller
- use namespace
- remove config page (remains one option on main page)
0.11 - 2022.12.20 0.11 - 2022.12.20
- use SVG icon - use SVG icon

View File

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/releases) [![Release](https://img.shields.io/github/v/release/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/issues) [![Issues](https://img.shields.io/github/issues/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/issues)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-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/dcAdvancedCleaner) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/dcAdvancedCleaner)
[![License](https://img.shields.io/github/license/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/blob/master/LICENSE) [![License](https://img.shields.io/github/license/JcDenis/dcAdvancedCleaner)](https://github.com/JcDenis/dcAdvancedCleaner/blob/master/LICENSE)
@ -20,17 +20,16 @@ settings, tables, cache, etc...
_dcAdvancedCleaner_ requires: _dcAdvancedCleaner_ requires:
* Permissions superadmin * Permissions superadmin
* Dotclear 2.24 * Dotclear 2.26
* PHP >= 8.1
* Plugin Uninstaller
## USAGE ## USAGE
First install _dcAdvancedCleaner_, manualy from a zip package or from First install _dcAdvancedCleaner_, manualy from a zip package or from
Dotaddict repository. (See Dotclear's documentation to know how do this) Dotaddict repository. (See Dotclear's documentation to know how do this)
Go to ''plugins manager'', expand _dcAdvancedCleaner_ information then Once it's done you can manage cleaners from menu
go to ''configure plugin'', fill in form.
Once it's done you can manage your reports from menu
''Advanced cleaner'' on sidebar or you can add dashboard icon. ''Advanced cleaner'' on sidebar or you can add dashboard icon.
## LINKS ## LINKS

View File

@ -18,9 +18,12 @@ $this->registerModule(
'Advanced cleaner', 'Advanced cleaner',
'Make a huge cleaning of dotclear', 'Make a huge cleaning of dotclear',
'Jean-Christian Denis and Contributors', 'Jean-Christian Denis and Contributors',
'0.11', '0.2',
[ [
'requires' => [['core', '2.24']], 'requires' => [
['core', '2.26'],
['Uninstaller', '0.2'],
],
'permissions' => null, 'permissions' => null,
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/' . basename(__DIR__), 'support' => 'https://github.com/JcDenis/' . basename(__DIR__),

View File

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="dcAdvancedCleaner"> <module id="dcAdvancedCleaner">
<name>Advanced cleaner</name> <name>Advanced cleaner</name>
<version>0.11</version> <version>0.2</version>
<author>Jean-Christian Denis and Contributors</author> <author>Jean-Christian Denis and Contributors</author>
<desc>Make a huge cleaning of dotclear</desc> <desc>Make a huge cleaning of dotclear</desc>
<file>https://github.com/JcDenis/dcAdvancedCleaner/releases/download/v0.11/plugin-dcAdvancedCleaner.zip</file> <file>https://github.com/JcDenis/dcAdvancedCleaner/releases/download/v0.2/plugin-dcAdvancedCleaner.zip</file>
<da:dcmin>2.24</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/dcAdvancedCleaner</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/dcAdvancedCleaner</da:details>
<da:support>https://github.com/JcDenis/dcAdvancedCleaner</da:support> <da:support>https://github.com/JcDenis/dcAdvancedCleaner</da:support>
</module> </module>

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

@ -0,0 +1,27 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
use Dotclear\Helper\L10n;
L10n::$locales['Action successfuly excecuted'] = 'Action exécutée avec succès';
L10n::$locales['There is nothing to display'] = 'Il n\'y a rien à afficher';
L10n::$locales['There are %s entries'] = 'Il y a %s entrées';
L10n::$locales['Objects'] = 'Objets';
L10n::$locales['Values from official distribution'] = 'Valeurs de la distribution officielle';
L10n::$locales['Action on selected rows:'] = 'Action sur les lignes sélectionnées :';
L10n::$locales['Beware: All actions done here are irreversible and are directly applied'] = 'Attention : toutes les actions menées ici sont irréversibles et sont directement appliquées';
L10n::$locales['Show Dotclear default properties'] = 'Afficher les propriétés de Dotclear';
L10n::$locales['Hide Dotclear default properties'] = 'Cacher les propriétés de Dotclear';
L10n::$locales['Failed to load cleaner'] = 'Impossible de charger le nettoyeur';
L10n::$locales['Plugin dcAdvancedCleaner'] = 'Plugin dcAdvancedCleaner';
L10n::$locales['New action from dcAdvancedCleaner has been made with type="%s", action="%s", ns="%s".'] = 'Une nouvelle action depuis dcAdvancedCleaner a été effectuée avec : type="%s", action="%s", ns="%s"';
L10n::$locales['Advanced cleaner'] = 'Nettoyeur avancé';
L10n::$locales['Make a huge cleaning of dotclear'] = 'Faites un énorme nettoyage de dotclear';

View File

@ -1,146 +1,71 @@
# Language: Français
# Module: dcAdvancedCleaner - 0.11
# Date: 2023-04-16 00:08:42
# Author: , contact@jcdenis.fr
# Translated with translater 2023.03.19
msgid "" msgid ""
msgstr "" msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: dcAdvancedCleaner 0.8.1\n" "Project-Id-Version: dcAdvancedCleaner 0.11\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2021-10-28T20:36:42+00:00\n" "PO-Revision-Date: 2023-04-16T00:08: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"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Advanced cleaner" #: src/Manage.php:77
msgstr "Nettoyeur avancé"
msgid "Activate behaviors"
msgstr "Activer les behaviors"
msgid "Enable actions set in _uninstall.php files."
msgstr "Lit les actions demandées dans les fichiers _uninstall.php."
msgid "Hide Dotclear default properties in actions tabs"
msgstr "Cacher les propriétés par défaut dans les onglets d'action"
msgid "Prevent from deleting Dotclear important properties."
msgstr "Évite de supprimer des propriétés importantes de Dotclear."
msgid "delete table"
msgstr "effacer la table"
msgid "delete cache files"
msgstr "effacer les fichiers de cache"
msgid "delete plugin files"
msgstr "effacer les fichiers du plugin"
msgid "delete theme files"
msgstr "effacer les fichiers du thème"
msgid "delete the version number"
msgstr "effacer le n° de version"
msgid "Uninstall extensions"
msgstr "Désinstaller des plugins"
msgid "delete %s blog settings"
msgstr "effacer les paramètres de %s pour ce blog"
msgid "delete %s global settings"
msgstr "effacer les paramètres globaux de %s"
msgid "delete all %s settings"
msgstr "effacer tous les paramètres de %s"
msgid "delete %s table"
msgstr "effacer la table %s"
msgid "delete %s version number"
msgstr "effacer la version de %s"
msgid "delete %s plugin files"
msgstr "effacer les fichiers du plugin %s"
msgid "delete %s theme file"
msgstr "effacer les fichiers de thème de %s"
msgid "delete %s cache files"
msgstr "effacer le cache de %s"
msgid "extra action"
msgstr "Action additionnelle"
msgid "Namespaces registered in dcSettings"
msgstr "Espaces de nom (namespaces) enregistrés dans dcSettings"
msgid "delete global settings"
msgstr "effacer les paramètres globaux"
msgid "delete blog settings"
msgstr "effacer les paramètres du blog"
msgid "delete all settings"
msgstr "effacer tous les paramètres"
msgid "All database tables of Dotclear"
msgstr "Toutes les tables Dotclear de la base de données"
msgid "empty"
msgstr "vider"
msgid "Versions registered in table \"version\" of Dotclear"
msgstr "Versions enregistrées dans la table \"version\" de Dotclear"
msgid "Folders from plugins directories"
msgstr "Dossiers des répertoires des plugins"
msgid "Themes"
msgstr "Thèmes"
msgid "Folders from blog themes directory"
msgstr "Dossiers du répertoire des thèmes du blog"
msgid "Folders from cache directory"
msgstr "Dossiers du répertoire de cache"
msgid "Plugin dcAdvancedCleaner"
msgstr "Plugin dcAdvancedCleaner"
msgid "New action from dcAdvancedCleaner has been made with type=\"%s\", action=\"%s\", ns=\"%s\"."
msgstr "Une nouvelle action depuis dcAdvancedCleaner a été effectuée avec : type=\"%s\", action=\"%s\", ns=\"%s\""
msgid "Advanced uninstall"
msgstr "Désinstallation avancée"
msgid "There is no module with uninstall features"
msgstr "Il n'y a pas de module avec des fonctions de désinstallation avancée"
msgid "List of modules with advanced uninstall features"
msgstr "Liste des modules avec des fonctions de désinstallation avancée"
msgid "Perform selected actions"
msgstr "Effectuer les actions sélectionnées"
msgid "Action successfuly excecuted" msgid "Action successfuly excecuted"
msgstr "Action exécutée avec succès" msgstr "Action exécutée avec succès"
#: src/Manage.php:128
msgid "There is nothing to display" msgid "There is nothing to display"
msgstr "Il n'y a rien à afficher" msgstr "Il n'y a rien à afficher"
msgid "There are %s %s" #: src/Manage.php:142
msgstr "Il y a %s %s" msgid "There are %s entries"
msgstr "Il y a %s entrées"
#: src/Manage.php:143
msgid "Objects" msgid "Objects"
msgstr "Objets" msgstr "Objets"
#: src/Manage.php:163
msgid "Values from official distribution"
msgstr "Valeurs de la distribution officielle"
#: src/Manage.php:172
msgid "Action on selected rows:" msgid "Action on selected rows:"
msgstr "Action sur les lignes sélectionnées :" msgstr "Action sur les lignes sélectionnées :"
#: src/Manage.php:180
msgid "Beware: All actions done here are irreversible and are directly applied" msgid "Beware: All actions done here are irreversible and are directly applied"
msgstr "Attention : toutes les actions menées ici sont irréversibles et sont directement appliquées" msgstr "Attention : toutes les actions menées ici sont irréversibles et sont directement appliquées"
msgid "Default values of Dotclear are hidden. You can change this in settings" #: src/Manage.php:188
msgstr "Les valeurs par défaut de Dotclear sont cachées. Vous pouvez modifier ceci dans la configuration du plugin." msgid "Show Dotclear default properties"
msgstr "Afficher les propriétés de Dotclear"
#: src/Manage.php:188
msgid "Hide Dotclear default properties"
msgstr "Cacher les propriétés de Dotclear"
#: src/ManageVars.php:54
msgid "Failed to load cleaner"
msgstr "Impossible de charger le nettoyeur"
#: src/Prepend.php:40
msgid "Plugin dcAdvancedCleaner"
msgstr "Plugin dcAdvancedCleaner"
#: src/Prepend.php:47
msgid "New action from dcAdvancedCleaner has been made with type=\"%s\", action=\"%s\", ns=\"%s\"."
msgstr "Une nouvelle action depuis dcAdvancedCleaner a été effectuée avec : type=\"%s\", action=\"%s\", ns=\"%s\""
msgid "Advanced cleaner"
msgstr "Nettoyeur avancé"
msgid "Make a huge cleaning of dotclear" msgid "Make a huge cleaning of dotclear"
msgstr "Faites un énorme nettoyage de dotclear" msgstr "Faites un énorme nettoyage de dotclear"