From c603f91cf03f995bf67ce32b2286e99fb602f867 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 8 Apr 2023 21:39:52 +0200 Subject: [PATCH] release 1.5 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- _define.php | 14 +++++++------- dcstore.xml | 6 +++--- locales/fr/main.lang.php | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index e7d7271..a5be10d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.5 - 2023.04.08 +- require dotclear 2.26 +- use namespace + 1.4.1 - 2022.12.20 - add number of aliases on list page - fix install diff --git a/README.md b/README.md index ef1f308..3cf52bc 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/alias)](https://github.com/JcDenis/alias/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/alias)](https://github.com/JcDenis/alias/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/alias)](https://github.com/JcDenis/alias/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/alias) [![License](https://img.shields.io/github/license/JcDenis/alias)](https://github.com/JcDenis/alias/blob/master/LICENSE) @@ -19,7 +19,7 @@ This plugin creates public aliases of your blog's URLs. _alias_ requires: * admin permissions for management - * Dotclear 2.24 + * Dotclear 2.26 ## USAGE diff --git a/_define.php b/_define.php index 537d058..a125de5 100644 --- a/_define.php +++ b/_define.php @@ -18,15 +18,15 @@ $this->registerModule( 'alias', "Create aliases of your blog's URLs", 'Olivier Meunier and contributors', - '1.4.1', + '1.5', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ - dcAuth::PERMISSION_ADMIN, + dcCore::app()->auth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/alias', - 'details' => 'https://plugins.dotaddict.org/dc2/details/alias', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/alias/master/dcstore.xml', + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/alias', + 'details' => 'https://plugins.dotaddict.org/dc2/details/alias', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/alias/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index 8177936..cbbcc58 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ alias - 1.4.1 + 1.5 Olivier Meunier and contributors Create aliases of your blog's URLs - https://github.com/JcDenis/alias/releases/download/v1.4.1/plugin-alias.zip - 2.24 + https://github.com/JcDenis/alias/releases/download/v1.5/plugin-alias.zip + 2.26 https://plugins.dotaddict.org/dc2/details/alias https://github.com/JcDenis/alias diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..45eb3e1 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,33 @@ +