From daa9d392518d69aa571f48425a818f3e0f4e79d4 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 25 Apr 2023 18:37:39 +0200 Subject: [PATCH] release 2023.04.25 --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- _define.php | 12 ++++++------ dcstore.xml | 6 +++--- locales/fr/main.lang.php | 38 ++++++++++++++++++++------------------ locales/fr/public.lang.php | 38 ++++++++++++++++++++------------------ 6 files changed, 58 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0387f86..199f3f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +203.04.25 +- require dotclear 2.26 +- use namespace +- move templates to standard path +- add plugin Uninstaller features +- add plugin activityReport features + 2022.12.22 - enhance search - add error 404 to plugi activityReport diff --git a/README.md b/README.md index a7095a7..de5d48f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/saba)](https://github.com/JcDenis/saba/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/saba)](https://github.com/JcDenis/saba/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/saba)](https://github.com/JcDenis/saba/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/saba) [![License](https://img.shields.io/github/license/JcDenis/saba)](https://github.com/JcDenis/saba/blob/master/LICENSE) @@ -20,7 +20,7 @@ show related entries to visitor. saba requires: * administrator permissions - * Dotclear 2.24 + * Dotclear 2.26 * Custom templates if default theme is not used. ## USAGE diff --git a/_define.php b/_define.php index 367bc95..63db3a5 100644 --- a/_define.php +++ b/_define.php @@ -18,15 +18,15 @@ $this->registerModule( 'saba', 'Search across blog archive', 'Jean-Christian Denis and Contributors', - '2022.12.22', + '2023.04.25', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index 2a8ba0c..6ac8c2b 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ saba - 2022.12.22 + 2023.04.25 Jean-Christian Denis and Contributors Search across blog archive - https://github.com/JcDenis/saba/releases/download/v2022.12.22/plugin-saba.zip - 2.24 + https://github.com/JcDenis/saba/releases/download/v2023.04.25/plugin-saba.zip + 2.26 https://plugins.dotaddict.org/dc2/details/saba https://github.com/JcDenis/saba diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index 08699b4..b0f1c57 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -9,21 +9,23 @@ # DOT NOT MODIFY THIS FILE ! # -l10n::$locales['Search Across Blog Archive'] = 'Rechercher dans les archives'; -l10n::$locales['Enable advanced search on this blog'] = 'Activer la recherche avancée sur ce blog'; -l10n::$locales['Enable suggestion for page 404'] = 'Activer la suggestion sur la page 404'; -l10n::$locales['This suggests visitors some posts on page 404.'] = 'Ceci suggère au visiteurs des billets sur la page 404.'; -l10n::$locales['404 error (saba)'] = 'Erreur 404 (saba)'; -l10n::$locales['Advanced search'] = 'Recherche avancée'; -l10n::$locales['Add more search options on public side'] = 'Ajoute plus d\'options de recherche'; -l10n::$locales['Disable filter on post types'] = 'Désactiver le filtre de type de billets'; -l10n::$locales['Hidden types:'] = 'Billets cachés :'; -l10n::$locales['Disable filter on post options'] = 'Désactiver le filtre des options de billet'; -l10n::$locales['Hidden options:'] = 'Options cachées :'; -l10n::$locales['Disable filter on categories'] = 'Désactiver le filtre de catégories'; -l10n::$locales['Hidden categories:'] = 'Catégories cachées'; -l10n::$locales['Disable filter on authors'] = 'Désactiver le filtre d\'auteurs'; -l10n::$locales['Hidden authors:'] = 'Auteurs cachés'; -l10n::$locales['Disable filter on order'] = 'Désactiver le filtre d\'ordre'; -l10n::$locales['Disable filter on age'] = 'Désactiver le filtre de date'; -l10n::$locales['Suggested items:'] = 'Articles suggérés :'; +use Dotclear\Helper\L10n; + +L10n::$locales['Search Across Blog Archive'] = 'Rechercher dans les archives'; +L10n::$locales['Enable advanced search on this blog'] = 'Activer la recherche avancée sur ce blog'; +L10n::$locales['Enable suggestion for page 404'] = 'Activer la suggestion sur la page 404'; +L10n::$locales['This suggests visitors some posts on page 404.'] = 'Ceci suggère au visiteurs des billets sur la page 404.'; +L10n::$locales['404 error (saba)'] = 'Erreur 404 (saba)'; +L10n::$locales['Advanced search'] = 'Recherche avancée'; +L10n::$locales['Add more search options on public side'] = 'Ajoute plus d\'options de recherche'; +L10n::$locales['Disable filter on post types'] = 'Désactiver le filtre de type de billets'; +L10n::$locales['Hidden types:'] = 'Billets cachés :'; +L10n::$locales['Disable filter on post options'] = 'Désactiver le filtre des options de billet'; +L10n::$locales['Hidden options:'] = 'Options cachées :'; +L10n::$locales['Disable filter on categories'] = 'Désactiver le filtre de catégories'; +L10n::$locales['Hidden categories:'] = 'Catégories cachées'; +L10n::$locales['Disable filter on authors'] = 'Désactiver le filtre d\'auteurs'; +L10n::$locales['Hidden authors:'] = 'Auteurs cachés'; +L10n::$locales['Disable filter on order'] = 'Désactiver le filtre d\'ordre'; +L10n::$locales['Disable filter on age'] = 'Désactiver le filtre de date'; +L10n::$locales['Suggested items:'] = 'Articles suggérés :'; diff --git a/locales/fr/public.lang.php b/locales/fr/public.lang.php index 3c474a5..ef7a867 100644 --- a/locales/fr/public.lang.php +++ b/locales/fr/public.lang.php @@ -9,21 +9,23 @@ # DOT NOT MODIFY THIS FILE ! # -l10n::$locales['With comments'] = 'Avec commentaires'; -l10n::$locales['With trackbacks'] = 'Avec rétroliens'; -l10n::$locales['Comments count'] = 'Nombre de commentaires'; -l10n::$locales['Trackbacks count'] = 'Nombre de rétroliens'; -l10n::$locales['All'] = 'Tous'; -l10n::$locales['Less than a month'] = 'Moins d\'un mois'; -l10n::$locales['From 1 to 6 month'] = 'De 1 à 6 mois'; -l10n::$locales['From 6 to 12 month'] = 'De 6 à 12 mois'; -l10n::$locales['More than a year'] = 'Plus d\'un an'; -l10n::$locales['Poll'] = 'Sondage'; -l10n::$locales['Event'] = 'Événement'; -l10n::$locales['Reverse order'] = 'Inverser l\'ordre'; -l10n::$locales['Filter order'] = 'Options de tri'; -l10n::$locales['Filter options'] = 'Options du filtre'; -l10n::$locales['Filter by age'] = 'Filtrer par date'; -l10n::$locales['Filter by type'] = 'Filtrer par type'; -l10n::$locales['Filter by category'] = 'Filter par catégorie'; -l10n::$locales['Filter by author'] = 'Filtrer par auteur'; +use Dotclear\Helper\L10n; + +L10n::$locales['With comments'] = 'Avec commentaires'; +L10n::$locales['With trackbacks'] = 'Avec rétroliens'; +L10n::$locales['Comments count'] = 'Nombre de commentaires'; +L10n::$locales['Trackbacks count'] = 'Nombre de rétroliens'; +L10n::$locales['All'] = 'Tous'; +L10n::$locales['Less than a month'] = 'Moins d\'un mois'; +L10n::$locales['From 1 to 6 month'] = 'De 1 à 6 mois'; +L10n::$locales['From 6 to 12 month'] = 'De 6 à 12 mois'; +L10n::$locales['More than a year'] = 'Plus d\'un an'; +L10n::$locales['Poll'] = 'Sondage'; +L10n::$locales['Event'] = 'Événement'; +L10n::$locales['Reverse order'] = 'Inverser l\'ordre'; +L10n::$locales['Filter order'] = 'Options de tri'; +L10n::$locales['Filter options'] = 'Options du filtre'; +L10n::$locales['Filter by age'] = 'Filtrer par date'; +L10n::$locales['Filter by type'] = 'Filtrer par type'; +L10n::$locales['Filter by category'] = 'Filter par catégorie'; +L10n::$locales['Filter by author'] = 'Filtrer par auteur';