release 1.0

This commit is contained in:
Jean-Christian Denis 2023-04-11 00:47:29 +02:00
parent f21a5eecfe
commit e5f97b7103
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 31 additions and 11 deletions

View file

@ -1,3 +1,7 @@
1.0 - 2023.04.11
- require Dotclear 2.26
- use namespace
0.7.1 - 2022.12.20 0.7.1 - 2022.12.20
- remove currywurst template - remove currywurst template
- use dotclear method for widget - use dotclear method for widget

View file

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/releases) [![Release](https://img.shields.io/github/v/release/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/issues) [![Issues](https://img.shields.io/github/issues/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/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/CategoriesPage) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/CategoriesPage)
[![License](https://img.shields.io/github/license/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/blob/master/LICENSE) [![License](https://img.shields.io/github/license/JcDenis/CategoriesPage)](https://github.com/JcDenis/CategoriesPage/blob/master/LICENSE)
@ -20,7 +20,7 @@ A widget is also available.
_CategoriesPage_ requires: _CategoriesPage_ requires:
* admin permissions * admin permissions
* Dotclear 2.24 * Dotclear 2.26
## USAGE ## USAGE

View file

@ -18,16 +18,16 @@ $this->registerModule(
'Categories Page', 'Categories Page',
'Add a public page for categories list', 'Add a public page for categories list',
'Pierre Van Glabeke, Bernard Le Roux and Contributors', 'Pierre Van Glabeke, Bernard Le Roux and Contributors',
'0.7.1', '1.0',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN, dcAuth::PERMISSION_ADMIN,
]), ]),
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/' . basename(__DIR__), 'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
] ]
); );

View file

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="CategoriesPage"> <module id="CategoriesPage">
<name>Categories Page</name> <name>Categories Page</name>
<version>0.7.1</version> <version>1.0</version>
<author>Pierre Van Glabeke, Bernard Le Roux and Contributors</author> <author>Pierre Van Glabeke, Bernard Le Roux and Contributors</author>
<desc>Add a public page for categories list</desc> <desc>Add a public page for categories list</desc>
<file>https://github.com/JcDenis/CategoriesPage/releases/download/v0.7.1/plugin-CategoriesPage.zip</file> <file>https://github.com/JcDenis/CategoriesPage/releases/download/v1.0/plugin-CategoriesPage.zip</file>
<da:dcmin>2.24</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/CategoriesPage</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/CategoriesPage</da:details>
<da:support>https://github.com/JcDenis/CategoriesPage</da:support> <da:support>https://github.com/JcDenis/CategoriesPage</da:support>
</module> </module>

16
locales/fr/main.lang.php Normal file
View file

@ -0,0 +1,16 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
use Dotclear\Helper\L10n;
L10n::$locales['Categories Page'] = 'Page des catégories';
L10n::$locales['Link to categories'] = 'Lien vers la page des catégories';
L10n::$locales['Add a public page for categories list'] = 'Ajoute une page publique listant les catégories';