release 1.0

master
Jean-Christian Paul Denis 2022-12-21 23:50:09 +01:00
parent 89f54b08af
commit 4589ad74c1
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
6 changed files with 95 additions and 34 deletions

View File

@ -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)

View File

@ -18,7 +18,7 @@ $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([
@ -26,9 +26,9 @@ $this->registerModule(
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',
'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',
],

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="fac">
<name>Feed after content</name>
<version>0.10</version>
<version>1.0</version>
<author>Jean-Christian Denis and Contributors</author>
<desc>Add RSS/Atom feeds after entries content</desc>
<file>https://github.com/JcDenis/fac/releases/download/v0.10/plugin-fac.zip</file>
<file>https://github.com/JcDenis/fac/releases/download/v1.0/plugin-fac.zip</file>
<da:dcmin>2.24</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/fac</da:details>
<da:support>https://github.com/JcDenis/fac</da:support>

View File

@ -1,17 +1,15 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of fac, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
/**
* @brief fac, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis and Contributors
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return;
}

View File

@ -0,0 +1,59 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['home page'] = 'la page d\'accueil';
l10n::$locales['post pages'] = 'la page d\'un billet';
l10n::$locales['tags pages'] = 'les pages d\'un tag';
l10n::$locales['archives pages'] = 'les pages des archives';
l10n::$locales['category pages'] = 'les pages de catégorie';
l10n::$locales['entries feed'] = 'le flux des billets';
l10n::$locales['"%s" pages from extension muppet'] = 'la page de type "%s" de l\'extension muppet';
l10n::$locales['To add feed to an entry edit this entry and put in sidebar the url of the feed and select a format.'] = 'Pour ajouter un flux à un billet, modifier ce billet et dans son menu latéral ajouter l\'URL du flux et le format.';
l10n::$locales['Configure formats'] = 'Configurer les formats';
l10n::$locales['Enable "fac" extension'] = 'Activer l\'extension "fac"';
l10n::$locales['You can manage related feed to display for each post with a predefined format.'] = 'Vous pouvez gérer les flux a afficher pour chaque billet avec un format prédéfini.';
l10n::$locales['Feed'] = 'Flux';
l10n::$locales['Default title'] = 'Titre par défaut';
l10n::$locales['Use %T to insert title of feed.'] = 'Utiliser %T pour insérer le titre du flux.';
l10n::$locales['Show description of feed'] = 'Afficher la description';
l10n::$locales['Show feed after content on:'] = 'Afficher le flux après le contenu sur :';
l10n::$locales['Linked feed'] = 'Flux lié';
l10n::$locales['Add feed'] = 'Ajouter un flux';
l10n::$locales['Remove feed'] = 'Retirer un flux';
l10n::$locales['Linked feed deleted.'] = 'Flux lié effacé.';
l10n::$locales['Linked feed added.'] = 'Flux lié ajouté.';
l10n::$locales['Linked feed to this selection'] = 'Lié un flux a cette selection';
l10n::$locales['view feed'] = 'Voir le flux';
l10n::$locales['Format %s'] = 'Format %s';
l10n::$locales['In order to remove a format, leave its name empty.'] = 'Pour retirer un format, laisser son nom vide.';
l10n::$locales['Use date format of Dotclear or leave empty to use default date format of blog.'] = 'Utiliser le formatage des dates de Dotclear ou laisser vide pour utiliser le format par défaut du blog.';
l10n::$locales['Leave lengh empty for no limit.'] = 'Laisser vide pour ne pas mettre de limite.';
l10n::$locales['Title format:'] = 'Format du titre :';
l10n::$locales['Format can be:'] = 'Le format peut-être :';
l10n::$locales['Over title format:'] = 'Format au survole du titre :';
l10n::$locales['Maximum length of title:'] = 'Longueur maximum du titre :';
l10n::$locales['Show description of entries'] = 'Afficher la description des billets';
l10n::$locales['Remove html of description'] = 'Retirer le code HTML de la description';
l10n::$locales['Maximum length of description:'] = 'Longueur maximum de la description :';
l10n::$locales['Show content of entries'] = 'Afficher le contenu du flux';
l10n::$locales['Remove html of content'] = 'Retirer le code HTML du contenu';
l10n::$locales['Maximum length of content:'] = 'Longueur maximum du contenu :';
l10n::$locales['New format'] = 'Nouveau format';
l10n::$locales['Informations'] = 'Informations';
l10n::$locales['Theme'] = 'Thème';
l10n::$locales['Theme must have behavoir publicEntryAfterContent.'] = 'Le thème doit avoir le behavior pulicEnryAfterContent.';
l10n::$locales['Structure'] = 'Structure';
l10n::$locales['Title of feed'] = 'Titre du flux';
l10n::$locales['Description of feed'] = 'Descritpion du flux';
l10n::$locales['Title of entry'] = 'Titre du billet';
l10n::$locales['Description of entry'] = 'Description du billet';
l10n::$locales['a related feed'] = 'un flux lié';
l10n::$locales['Add RSS/Atom feeds after entries content'] = 'Ajouter des flux RSS/Atom après le contenu des billets';

View File

@ -1,17 +1,15 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of fac, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
/**
* @brief fac, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis and Contributors
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return;
}