From 809606c8890ec78b0da00faced934e537ea4793e Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 23 Apr 2023 13:54:36 +0200 Subject: [PATCH] release 2023.04.23 --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- _define.php | 4 ++-- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 34 ++++++++++++++++++---------------- 5 files changed, 32 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa589bd..76e5495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +2023.04.23 +- require dotclear 2.26 +- use latest dotclear namespace +- use sql statement +- fix nullsafe warnings +- add some inline code doc + 2023.03.21 - require dotclear 2.25 - use namespace diff --git a/README.md b/README.md index 3d6a2ff..8b1396e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/postExpired)](https://github.com/JcDenis/postExpired/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/postExpired)](https://github.com/JcDenis/postExpired/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/postExpired)](https://github.com/JcDenis/postExpired/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/postExpired) [![License](https://img.shields.io/github/license/JcDenis/postExpired)](https://github.com/JcDenis/postExpired/blob/master/LICENSE) @@ -20,7 +20,7 @@ to change some options of a post at a given time. postExpired requires: * contentadmin permissions - * Dotclear 2.25 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index 8bab19a..fd90e7c 100644 --- a/_define.php +++ b/_define.php @@ -18,9 +18,9 @@ $this->registerModule( 'Expired entries', 'Change entries options at a given date', 'Jean-Christian Denis and Contributors', - '2023.03.21', + '2023.04.23', [ - 'requires' => [['core', '2.25']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, diff --git a/dcstore.xml b/dcstore.xml index 4fa172a..6c4e882 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Expired entries - 2023.03.21 + 2023.04.23 Jean-Christian Denis and Contributors Change entries options at a given date - https://github.com/JcDenis/postExpired/releases/download/v2023.03.21/plugin-postExpired.zip - 2.25 + https://github.com/JcDenis/postExpired/releases/download/v2023.04.23/plugin-postExpired.zip + 2.26 https://plugins.dotaddict.org/dc2/details/postExpired https://github.com/JcDenis/postExpired diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index 81c6cdd..9938e51 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -9,19 +9,21 @@ # DOT NOT MODIFY THIS FILE ! # -l10n::$locales['Expired entries'] = 'Billets périmés'; -l10n::$locales['Add expired date'] = 'Ajouter une date de péremption'; -l10n::$locales['Remove expired date'] = 'Retirer une date de péremption'; -l10n::$locales['Expired date'] = 'Date de péremption'; -l10n::$locales['Expired date added.'] = 'Date de péremption ajoutée.'; -l10n::$locales['Add expired date to this selection'] = 'Ajouter une date de péremtion à cette sélection'; -l10n::$locales['Expired date deleted.'] = 'Dtae de péremtion supprimé'; -l10n::$locales['On this date, change:'] = 'Á cette date, changer :'; -l10n::$locales['Selection:'] = 'Séléction :'; -l10n::$locales['Comments status:'] = 'Status des commentaires :'; -l10n::$locales['Trackbacks status:'] = 'Status des rétroliens :'; -l10n::$locales['Not changed'] = 'Inchangé'; -l10n::$locales['Opened'] = 'Ouvert'; -l10n::$locales['Closed'] = 'Fermé'; -l10n::$locales['Expired on'] = 'Expire le'; -l10n::$locales['This entry has no expiration date'] = 'Ce billet n\'a pas de date de péremption'; +use Dotclear\Helper\L10n; + +L10n::$locales['Expired entries'] = 'Billets périmés'; +L10n::$locales['Add expired date'] = 'Ajouter une date de péremption'; +L10n::$locales['Remove expired date'] = 'Retirer une date de péremption'; +L10n::$locales['Expired date'] = 'Date de péremption'; +L10n::$locales['Expired date added.'] = 'Date de péremption ajoutée.'; +L10n::$locales['Add expired date to this selection'] = 'Ajouter une date de péremtion à cette sélection'; +L10n::$locales['Expired date deleted.'] = 'Dtae de péremtion supprimé'; +L10n::$locales['On this date, change:'] = 'Á cette date, changer :'; +L10n::$locales['Selection:'] = 'Séléction :'; +L10n::$locales['Comments status:'] = 'Status des commentaires :'; +L10n::$locales['Trackbacks status:'] = 'Status des rétroliens :'; +L10n::$locales['Not changed'] = 'Inchangé'; +L10n::$locales['Opened'] = 'Ouvert'; +L10n::$locales['Closed'] = 'Fermé'; +L10n::$locales['Expired on'] = 'Expire le'; +L10n::$locales['This entry has no expiration date'] = 'Ce billet n\'a pas de date de péremption';