From 829c75090165b3b03ff0cd5a7bc7deb97920c820 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 26 Mar 2023 23:01:30 +0200 Subject: [PATCH] release 1.3 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- _define.php | 4 ++-- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 25 +++++++++++++++++++++++++ 5 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index b5c9721..c8e5107 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.3 - 2023.03.26 +- require dotclear 2.26 +- use namespace + 1.2 - 2022.12.07 - update to dotclear 2.24 diff --git a/README.md b/README.md index fe66c15..74ba6a9 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/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/emailNotification) [![License](https://img.shields.io/github/license/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/blob/master/LICENSE) @@ -18,7 +18,7 @@ It sends email when a new comment is done. _Email notification_ requires: - * Dotclear 2.24 + * Dotclear 2.26 * A working mail service ## USAGE diff --git a/_define.php b/_define.php index ab82748..66563a5 100644 --- a/_define.php +++ b/_define.php @@ -18,9 +18,9 @@ $this->registerModule( 'Email notification', 'Email notification', 'Olivier Meunier and contributors', - '1.2', + '1.3', [ - 'requires' => [['core', '2.24']], + '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 7b1d81b..583c997 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Email notification - 1.2 + 1.3 Olivier Meunier and contributors Email notification - https://github.com/JcDenis/emailNotification/releases/download/v1.2/plugin-emailNotification.zip - 2.24 + https://github.com/JcDenis/emailNotification/releases/download/v1.3/plugin-emailNotification.zip + 2.26 https://plugins.dotaddict.org/dc2/details/emailNotification https://github.com/JcDenis/emailNotification diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..1c328ac --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,25 @@ +'] = 'Billet : %s <%s>'; +l10n::$locales['Comment by: %s <%s>'] = 'Commentaire par : %s <%s>'; +l10n::$locales['Website: %s'] = 'Site web : %s'; +l10n::$locales['Comment status: %s'] = 'Statut du commentaire : %s'; +l10n::$locales['Edit this comment: <%s>'] = 'Modifier ce commentaire : %s'; +l10n::$locales['You must log in on the backend before clicking on this link to go directly to the comment.'] = 'Vous devez vous enregistrer sur l\'interface d\'administration avant de cliquer sur ce lien pour aller directement sur ce commentaire.'; +l10n::$locales['You received a new comment on your blog:'] = 'Vous avez reçu un nouveau commentaire sur votre blog :';