release 1.5

This commit is contained in:
Jean-Christian Paul Denis 2023-04-08 21:39:52 +02:00
parent e5ccfdbf42
commit c603f91cf0
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
5 changed files with 49 additions and 12 deletions

View File

@ -1,3 +1,7 @@
1.5 - 2023.04.08
- require dotclear 2.26
- use namespace
1.4.1 - 2022.12.20 1.4.1 - 2022.12.20
- add number of aliases on list page - add number of aliases on list page
- fix install - fix install

View File

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/alias)](https://github.com/JcDenis/alias/releases) [![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) [![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) [![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) [![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) [![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: _alias_ requires:
* admin permissions for management * admin permissions for management
* Dotclear 2.24 * Dotclear 2.26
## USAGE ## USAGE

View File

@ -18,11 +18,11 @@ $this->registerModule(
'alias', 'alias',
"Create aliases of your blog's URLs", "Create aliases of your blog's URLs",
'Olivier Meunier and contributors', 'Olivier Meunier and contributors',
'1.4.1', '1.5',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN, dcCore::app()->auth::PERMISSION_ADMIN,
]), ]),
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/alias', 'support' => 'https://github.com/JcDenis/alias',

View File

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="alias"> <module id="alias">
<name>alias</name> <name>alias</name>
<version>1.4.1</version> <version>1.5</version>
<author>Olivier Meunier and contributors</author> <author>Olivier Meunier and contributors</author>
<desc>Create aliases of your blog's URLs</desc> <desc>Create aliases of your blog's URLs</desc>
<file>https://github.com/JcDenis/alias/releases/download/v1.4.1/plugin-alias.zip</file> <file>https://github.com/JcDenis/alias/releases/download/v1.5/plugin-alias.zip</file>
<da:dcmin>2.24</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/alias</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/alias</da:details>
<da:support>https://github.com/JcDenis/alias</da:support> <da:support>https://github.com/JcDenis/alias</da:support>
</module> </module>

33
locales/fr/main.lang.php Normal file
View File

@ -0,0 +1,33 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
use Dotclear\Helper\L10n;
L10n::$locales['Aliases'] = 'Alias';
L10n::$locales['Invalid aliases definitions'] = 'Définitions d\'alias invalides';
L10n::$locales['Alias URL is empty.'] = 'L\'URL de l\'alias est vide.';
L10n::$locales['Alias destination is empty.'] = 'La destination de l\'alias est vide.';
L10n::$locales['Aliases successfully updated.'] = 'Alias mis à jour avec succès.';
L10n::$locales['Alias successfully created.'] = 'Alias créer avec succès.';
L10n::$locales['New alias'] = 'Nouvel alias';
L10n::$locales['Alias URL:'] = 'URL de l\'alias :';
L10n::$locales['Alias destination:'] = 'Destination de l\'alias :';
L10n::$locales['Do not put blog URL "%s" in fields.'] = 'Ne pas mettre l\'URL du blog "%s" dans les champs.';
L10n::$locales['No alias'] = 'Aucun alias';
L10n::$locales['There is %s alias.'] = [
'Il y a %s alias.',
'Il y a %s alias.',
];
L10n::$locales['Aliases list'] = 'Liste des alias';
L10n::$locales['Alias URL'] = 'URL de l\'alias';
L10n::$locales['Alias destination'] = 'Destination de l\'alias';
L10n::$locales['Alias position'] = 'Position de l\'alias';
L10n::$locales['To remove an alias, empty its URL or destination.'] = 'Pour supprimer un alias, videz son URL ou sa destination.';