Compare commits

..

No commits in common. "fcac55ae922ddefb9440394d5598399b89ae8f34" and "737ddc0f4382e379b9b69c5003186201975f8e72" have entirely different histories.

6 changed files with 44 additions and 89 deletions

View file

@ -1,17 +1,3 @@
## 0.2.0a10 (2025-03-30)
### Feat
- document unix file name parameters
- better console output
- do not document reference to undocumented variable
### Fix
- doc for param
- support NamespaceCalculation
- convert <ENV> to &lt;ENV&gt; for github plugin
## 0.2.0a9 (2025-02-19) ## 0.2.0a9 (2025-02-19)
### Fix ### Fix

View file

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: 2025-03-30 19:45+0200\n" "POT-Creation-Date: 2025-03-29 15:07+0100\n"
"PO-Revision-Date: 2025-03-30 19:46+0200\n" "PO-Revision-Date: 2025-03-29 15:08+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr\n" "Language: fr\n"
@ -120,39 +120,39 @@ msgstr "multiple"
msgid "No attribute \"description\" for \"{0}\" in {1}" msgid "No attribute \"description\" for \"{0}\" in {1}"
msgstr "Aucun attribut \"description\" pour \"{0}\" dans {1}" msgstr "Aucun attribut \"description\" pour \"{0}\" dans {1}"
#: src/rougail/output_doc/doc.py:463 #: src/rougail/output_doc/doc.py:464
msgid "(default)" msgid "(default)"
msgstr "(défaut)" msgstr "(défaut)"
#: src/rougail/output_doc/doc.py:470 #: src/rougail/output_doc/doc.py:471
msgid "text based with regular expressions \"{0}\"" msgid "text based with regular expressions \"{0}\""
msgstr "texte avec expression rationnelle \"{0}\"" msgstr "texte avec expression rationnelle \"{0}\""
#: src/rougail/output_doc/doc.py:558 #: src/rougail/output_doc/doc.py:559
msgid "depends on a calculation" msgid "depends on a calculation"
msgstr "dépend d'un calcul" msgstr "dépend d'un calcul"
#: src/rougail/output_doc/doc.py:559 #: src/rougail/output_doc/doc.py:560
msgid "\"{0}\" is a calculation for {1} but has no description in {2}" msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}" msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}"
#: src/rougail/output_doc/doc.py:581 #: src/rougail/output_doc/doc.py:582
msgid "the value of the variable \"{0}\"" msgid "the value of the variable \"{0}\""
msgstr "la valeur de la variable \"{0}\"" msgstr "la valeur de la variable \"{0}\""
#: src/rougail/output_doc/doc.py:582 #: src/rougail/output_doc/doc.py:583
msgid "the value of an undocumented variable" msgid "the value of an undocumented variable"
msgstr "la valeur d'une variable non documentée" msgstr "la valeur d'une variable non documentée"
#: src/rougail/output_doc/doc.py:597 #: src/rougail/output_doc/doc.py:598
msgid "the values of undocumented variables" msgid "the values of undocumented variables"
msgstr "les valeurs de variables non documentées" msgstr "les valeurs de variables non documentées"
#: src/rougail/output_doc/doc.py:604 #: src/rougail/output_doc/doc.py:605
msgid "the value of the identifier" msgid "the value of the identifier"
msgstr "la valeur de l'identifiant" msgstr "la valeur de l'identifiant"
#: src/rougail/output_doc/doc.py:608 #: src/rougail/output_doc/doc.py:609
msgid "the value of the {0}" msgid "the value of the {0}"
msgstr "la valeur de l'{0}" msgstr "la valeur de l'{0}"
@ -165,12 +165,12 @@ msgid "Example with all variables modifiable"
msgstr "Exemple avec toutes les variables modifiable" msgstr "Exemple avec toutes les variables modifiable"
#: src/rougail/output_doc/output/console.py:142 #: src/rougail/output_doc/output/console.py:142
#: src/rougail/output_doc/utils.py:373 #: src/rougail/output_doc/utils.py:366
msgid "Variable" msgid "Variable"
msgstr "Variable" msgstr "Variable"
#: src/rougail/output_doc/output/console.py:143 #: src/rougail/output_doc/output/console.py:143
#: src/rougail/output_doc/utils.py:373 #: src/rougail/output_doc/utils.py:366
msgid "Description" msgid "Description"
msgstr "Description" msgstr "Description"
@ -258,51 +258,39 @@ msgstr "longueur maximal pour le secret est de {0} caractères"
msgid "forbidden characters are {0}" msgid "forbidden characters are {0}"
msgstr "caractères interdits sont {0}" msgstr "caractères interdits sont {0}"
#: src/rougail/output_doc/utils.py:93 #: src/rougail/output_doc/utils.py:233
msgid "this filename could be a relative path"
msgstr "ce nom de fichier peut être un chemin relative"
#: src/rougail/output_doc/utils.py:94
msgid "this file must exists"
msgstr "ce fichier doit exister"
#: src/rougail/output_doc/utils.py:95
msgid "file type allowed: {0}"
msgstr "type de fichier autorisé : {0}"
#: src/rougail/output_doc/utils.py:240
msgid "Variables for \"{0}\"" msgid "Variables for \"{0}\""
msgstr "Variables pour \"{0}\"" msgstr "Variables pour \"{0}\""
#: src/rougail/output_doc/utils.py:256 #: src/rougail/output_doc/utils.py:249
msgid "Identifiers" msgid "Identifiers"
msgstr "Identifiants" msgstr "Identifiants"
#: src/rougail/output_doc/utils.py:321 #: src/rougail/output_doc/utils.py:314
msgid "Validator" msgid "Validator"
msgstr "Validateur" msgstr "Validateur"
#: src/rougail/output_doc/utils.py:323 #: src/rougail/output_doc/utils.py:316
msgid "Validators" msgid "Validators"
msgstr "Validateurs" msgstr "Validateurs"
#: src/rougail/output_doc/utils.py:325 #: src/rougail/output_doc/utils.py:318
msgid "Choices" msgid "Choices"
msgstr "Choix" msgstr "Choix"
#: src/rougail/output_doc/utils.py:327 #: src/rougail/output_doc/utils.py:320
msgid "Default" msgid "Default"
msgstr "Défaut" msgstr "Défaut"
#: src/rougail/output_doc/utils.py:331 #: src/rougail/output_doc/utils.py:324
msgid "Example" msgid "Example"
msgstr "Exemple" msgstr "Exemple"
#: src/rougail/output_doc/utils.py:333 #: src/rougail/output_doc/utils.py:326
msgid "Examples" msgid "Examples"
msgstr "Exemples" msgstr "Exemples"
#: src/rougail/output_doc/utils.py:394 #: src/rougail/output_doc/utils.py:387
msgid "{0}: {1}" msgid "{0}: {1}"
msgstr "{0} : {1}" msgstr "{0} : {1}"

View file

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-03-30 19:46+0200\n" "POT-Creation-Date: 2025-03-29 15:07+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -119,39 +119,39 @@ msgstr ""
msgid "No attribute \"description\" for \"{0}\" in {1}" msgid "No attribute \"description\" for \"{0}\" in {1}"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:463 #: src/rougail/output_doc/doc.py:464
msgid "(default)" msgid "(default)"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:470 #: src/rougail/output_doc/doc.py:471
msgid "text based with regular expressions \"{0}\"" msgid "text based with regular expressions \"{0}\""
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:558 #: src/rougail/output_doc/doc.py:559
msgid "depends on a calculation" msgid "depends on a calculation"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:559 #: src/rougail/output_doc/doc.py:560
msgid "\"{0}\" is a calculation for {1} but has no description in {2}" msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:581 #: src/rougail/output_doc/doc.py:582
msgid "the value of the variable \"{0}\"" msgid "the value of the variable \"{0}\""
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:582 #: src/rougail/output_doc/doc.py:583
msgid "the value of an undocumented variable" msgid "the value of an undocumented variable"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:597 #: src/rougail/output_doc/doc.py:598
msgid "the values of undocumented variables" msgid "the values of undocumented variables"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:604 #: src/rougail/output_doc/doc.py:605
msgid "the value of the identifier" msgid "the value of the identifier"
msgstr "" msgstr ""
#: src/rougail/output_doc/doc.py:608 #: src/rougail/output_doc/doc.py:609
msgid "the value of the {0}" msgid "the value of the {0}"
msgstr "" msgstr ""
@ -164,12 +164,12 @@ msgid "Example with all variables modifiable"
msgstr "" msgstr ""
#: src/rougail/output_doc/output/console.py:142 #: src/rougail/output_doc/output/console.py:142
#: src/rougail/output_doc/utils.py:373 #: src/rougail/output_doc/utils.py:366
msgid "Variable" msgid "Variable"
msgstr "" msgstr ""
#: src/rougail/output_doc/output/console.py:143 #: src/rougail/output_doc/output/console.py:143
#: src/rougail/output_doc/utils.py:373 #: src/rougail/output_doc/utils.py:366
msgid "Description" msgid "Description"
msgstr "" msgstr ""
@ -257,51 +257,39 @@ msgstr ""
msgid "forbidden characters are {0}" msgid "forbidden characters are {0}"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:93 #: src/rougail/output_doc/utils.py:233
msgid "this filename could be a relative path"
msgstr ""
#: src/rougail/output_doc/utils.py:94
msgid "this file must exists"
msgstr ""
#: src/rougail/output_doc/utils.py:95
msgid "file type allowed: {0}"
msgstr ""
#: src/rougail/output_doc/utils.py:240
msgid "Variables for \"{0}\"" msgid "Variables for \"{0}\""
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:256 #: src/rougail/output_doc/utils.py:249
msgid "Identifiers" msgid "Identifiers"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:321 #: src/rougail/output_doc/utils.py:314
msgid "Validator" msgid "Validator"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:323 #: src/rougail/output_doc/utils.py:316
msgid "Validators" msgid "Validators"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:325 #: src/rougail/output_doc/utils.py:318
msgid "Choices" msgid "Choices"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:327 #: src/rougail/output_doc/utils.py:320
msgid "Default" msgid "Default"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:331 #: src/rougail/output_doc/utils.py:324
msgid "Example" msgid "Example"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:333 #: src/rougail/output_doc/utils.py:326
msgid "Examples" msgid "Examples"
msgstr "" msgstr ""
#: src/rougail/output_doc/utils.py:394 #: src/rougail/output_doc/utils.py:387
msgid "{0}: {1}" msgid "{0}: {1}"
msgstr "" msgstr ""

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project] [project]
name = "rougail.output_doc" name = "rougail.output_doc"
version = "0.2.0a10" version = "0.2.0a9"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}] authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md" readme = "README.md"
description = "Rougail output doc" description = "Rougail output doc"

View file

@ -88,13 +88,6 @@ DocTypes = {
"forbidden_char": _("forbidden characters are {0}"), "forbidden_char": _("forbidden characters are {0}"),
}, },
}, },
"unix_filename": {
"params": {
"allow_relative": _("this filename could be a relative path"),
"test_existence": _("this file must exists"),
"types": _("file type allowed: {0}"),
},
},
} }