From df4ce849f5f0b50af6db76b58437e84a3349be5a Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 16 Apr 2023 02:49:38 +0200 Subject: [PATCH] release 0.2 - split --- CHANGELOG.md | 9 +++ README.md | 11 ++- _define.php | 7 +- dcstore.xml | 6 +- locales/fr/main.lang.php | 27 +++++++ locales/fr/main.po | 159 +++++++++++---------------------------- 6 files changed, 91 insertions(+), 128 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index fc6f218..acf22d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ dev - [ ] 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 - use SVG icon diff --git a/README.md b/README.md index 8b293ba..6803745 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![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) [![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) [![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: * Permissions superadmin - * Dotclear 2.24 + * Dotclear 2.26 + * PHP >= 8.1 + * Plugin Uninstaller ## USAGE First install _dcAdvancedCleaner_, manualy from a zip package or from Dotaddict repository. (See Dotclear's documentation to know how do this) -Go to ''plugins manager'', expand _dcAdvancedCleaner_ information then -go to ''configure plugin'', fill in form. - -Once it's done you can manage your reports from menu +Once it's done you can manage cleaners from menu ''Advanced cleaner'' on sidebar or you can add dashboard icon. ## LINKS diff --git a/_define.php b/_define.php index bc4b29f..a555b9b 100644 --- a/_define.php +++ b/_define.php @@ -18,9 +18,12 @@ $this->registerModule( 'Advanced cleaner', 'Make a huge cleaning of dotclear', 'Jean-Christian Denis and Contributors', - '0.11', + '0.2', [ - 'requires' => [['core', '2.24']], + 'requires' => [ + ['core', '2.26'], + ['Uninstaller', '0.2'], + ], 'permissions' => null, 'type' => 'plugin', 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), diff --git a/dcstore.xml b/dcstore.xml index d3cd7a6..f904d4c 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Advanced cleaner - 0.11 + 0.2 Jean-Christian Denis and Contributors Make a huge cleaning of dotclear - https://github.com/JcDenis/dcAdvancedCleaner/releases/download/v0.11/plugin-dcAdvancedCleaner.zip - 2.24 + https://github.com/JcDenis/dcAdvancedCleaner/releases/download/v0.2/plugin-dcAdvancedCleaner.zip + 2.26 https://plugins.dotaddict.org/dc2/details/dcAdvancedCleaner https://github.com/JcDenis/dcAdvancedCleaner diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..aeb5a38 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,27 @@ + 1);\n" -msgid "Advanced cleaner" -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" - +#: src/Manage.php:77 msgid "Action successfuly excecuted" msgstr "Action exécutée avec succès" +#: src/Manage.php:128 msgid "There is nothing to display" msgstr "Il n'y a rien à afficher" -msgid "There are %s %s" -msgstr "Il y a %s %s" +#: src/Manage.php:142 +msgid "There are %s entries" +msgstr "Il y a %s entrées" +#: src/Manage.php:143 msgid "Objects" 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:" msgstr "Action sur les lignes sélectionnées :" +#: src/Manage.php:180 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" -msgid "Default values of Dotclear are hidden. You can change this in settings" -msgstr "Les valeurs par défaut de Dotclear sont cachées. Vous pouvez modifier ceci dans la configuration du plugin." +#: src/Manage.php:188 +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" msgstr "Faites un énorme nettoyage de dotclear"