From 4589ad74c14ec511afcd2e960b5712ca12e80530 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 21 Dec 2022 23:50:09 +0100 Subject: [PATCH] release 1.0 --- CHANGELOG.md | 6 ++++ _define.php | 12 ++++---- dcstore.xml | 4 +-- locales/en/resources.php | 24 ++++++++-------- locales/fr/main.lang.php | 59 ++++++++++++++++++++++++++++++++++++++++ locales/fr/resources.php | 24 ++++++++-------- 6 files changed, 95 insertions(+), 34 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cf84be..80e3081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.0 - 2022.12.21 +- use short settings id +- use anonymous functions +- use abstract plugin id +- fix install + 0.10 2022.11.20 - fix compatibility with Dotclear 2.24 (required) diff --git a/_define.php b/_define.php index 7e0d6a3..9737046 100644 --- a/_define.php +++ b/_define.php @@ -18,18 +18,18 @@ $this->registerModule( 'Feed after content', 'Add RSS/Atom feeds after entries content', 'Jean-Christian Denis and Contributors', - '0.10', + '1.0', [ 'requires' => [['core', '2.24']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/fac', - 'details' => 'https://plugins.dotaddict.org/dc2/details/fac', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/fac/master/repository.xml', - 'settings' => [ + '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/repository.xml', + 'settings' => [ 'blog' => '#params.fac_params', ], ] diff --git a/dcstore.xml b/dcstore.xml index 4e2719e..e6d70ad 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Feed after content - 0.10 + 1.0 Jean-Christian Denis and Contributors Add RSS/Atom feeds after entries content - https://github.com/JcDenis/fac/releases/download/v0.10/plugin-fac.zip + https://github.com/JcDenis/fac/releases/download/v1.0/plugin-fac.zip 2.24 https://plugins.dotaddict.org/dc2/details/fac https://github.com/JcDenis/fac diff --git a/locales/en/resources.php b/locales/en/resources.php index a011b3d..3eb40cd 100644 --- a/locales/en/resources.php +++ b/locales/en/resources.php @@ -1,17 +1,15 @@