Skip to content

Commit

Permalink
feat(Action builder): update parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
J9rem committed Jul 12, 2021
1 parent b4e1ac4 commit 296fe1e
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
51 changes: 51 additions & 0 deletions actions/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,24 @@ actions:
title:
label: _t(AB_publication_bazar2publication_title_label)
type: text
icon:
label: _t(AB_publication_bazar2publication_icon_label)
type: icon
class:
label: _t(AB_publication_bazar2publication_class_label)
type: text
templatepage:
label: _t(AB_publication_bazar2publication_templatepage_label)
type: page-list
blankpage:
label: _t(AB_publication_blanckpage_label)
hint: _t(AB_publication_blanckpage_hint)
pagebreak:
label: _t(AB_publication_pagebreak_label)
hint: _t(AB_publication_pagebreak_hint)
publication-template:
label: _t(AB_publication_publication_template_label)
hint: _t(AB_publication_publication_template_hint)
publicationgenerator:
label: _t(AB_publication_publicationgenerator_label)
hint: _t(AB_publication_publicationgenerator_hint)
Expand Down Expand Up @@ -62,6 +74,45 @@ actions:
default: false
showif:
outputformat: ebook
addinstalledpage:
label: _t(AB_publication_publicationgenerator_addinstalledpage_label)
advanced: true
type: checkbox
default: 0
checkedvalue: 1
uncheckedvalue: 0
coverimage:
label: _t(AB_publication_publicationgenerator_coverimage_label)
hint: _t(AB_publication_publicationgenerator_coverimage_hint)
type: url
advanced: true
title:
label: _t(AB_publication_publicationgenerator_title_label)
hint: _t(AB_publication_publicationgenerator_title_hint)
type: text
advanced: true
desc:
label: _t(AB_publication_publicationgenerator_desc_label)
hint: _t(AB_publication_publicationgenerator_desc_hint)
type: text
advanced: true
author:
label: _t(AB_publication_publicationgenerator_author_label)
hint: _t(AB_publication_publicationgenerator_author_hint)
type: text
advanced: true
chapterpages:
label: _t(AB_publication_publicationgenerator_chapterpages_label)
hint: _t(AB_publication_publicationgenerator_chapterpages_hint)
type: text
advanced: true
template:
label: _t(AB_publication_publicationgenerator_template_label)
hint: _t(AB_publication_publicationgenerator_template_hint)
type: text
advanced: true





18 changes: 18 additions & 0 deletions lang/publication_fr.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
'AB_publication_bazar2publication_label' => 'Impression de résultats Bazar',
'AB_publication_bazar2publication_hint' => 'Bouton à positionner à côté d\'une action {{bazar}}.',
'AB_publication_bazar2publication_title_label' => 'Titre',
'AB_publication_bazar2publication_icon_label' => 'Icône',
'AB_publication_bazar2publication_class_label' => 'Classe',
'AB_publication_bazar2publication_templatepage_label' => 'Page modèle',
'AB_publication_publication_template_label' => 'Définir une page comme modèle de page',
'AB_publication_publication_template_hint' => 'A ajouter dans une page modèle',
'AB_publication_publicationgenerator_label' => 'Générateur de publication',
'AB_publication_publicationgenerator_hint' => 'Configure quels contenus sont utilisables dans le générateur de publication.',
'AB_publication_publicationgenerator_outputformat_label' => 'Mode de publication',
Expand All @@ -109,5 +114,18 @@
'AB_publication_publicationgenerator_pagenameprefix_hint' => 'Préfixe appliqué à la publication après sa création',
'AB_publication_publicationgenerator_readonly_label' => 'Lecture seule',
'AB_publication_publicationgenerator_readonly_hint' => 'Spécifie si les titre, description, auteur·ices, image et chapitres sont modifiables par l\'utilisateur.',
'AB_publication_publicationgenerator_addinstalledpage_label' => 'Montrer toutes les pages par défaut dans la liste des pages',
'AB_publication_publicationgenerator_coverimage_label' => 'Image de la page de couverture',
'AB_publication_publicationgenerator_coverimage_hint' => 'facultatif (url)',
'AB_publication_publicationgenerator_title_label' => 'Titre de la page de couverture',
'AB_publication_publicationgenerator_title_hint' => 'facultatif',
'AB_publication_publicationgenerator_desc_label' => 'Description sur la page de couverture',
'AB_publication_publicationgenerator_desc_hint' => 'facultatif',
'AB_publication_publicationgenerator_author_label' => 'Auteur',
'AB_publication_publicationgenerator_author_hint' => 'facultatif',
'AB_publication_publicationgenerator_chapterpages_label' => 'Pages servant de délimitation de chapitre',
'AB_publication_publicationgenerator_chapterpages_hint' => 'Format: PageTag1,PageTag2,PageTag3',
'AB_publication_publicationgenerator_template_label' => 'template',
'AB_publication_publicationgenerator_template_hint' => 'ex: exportpages_table.tpl.html',
)
);

0 comments on commit 296fe1e

Please sign in to comment.