Compare commits

..

2 commits

Author SHA1 Message Date
8ecc0e0f55 bump: version 0.2.0a10 → 0.2.0a11 2025-03-31 16:38:16 +02:00
0f1e1b9ea5 fix: translation 2025-03-31 16:38:01 +02:00
7 changed files with 52 additions and 14 deletions

View file

@ -1,3 +1,9 @@
## 0.2.0a11 (2025-03-31)
### Fix
- translation
## 0.2.0a10 (2025-03-31) ## 0.2.0a10 (2025-03-31)
### Fix ### Fix

Binary file not shown.

View file

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: 2024-10-31 09:57+0100\n" "POT-Creation-Date: 2025-03-31 16:37+0200\n"
"PO-Revision-Date: 2024-10-31 10:00+0100\n" "PO-Revision-Date: 2025-03-31 16:37+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr\n" "Language: fr\n"
@ -16,14 +16,30 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.5\n" "X-Generator: Poedit 3.5\n"
#: src/rougail/cli/__main__.py:43 #: src/rougail/cli/__main__.py:102
msgid "cannot find \"user_data\" module \"{0}\"" msgid "cannot find \"user_data\" module \"{0}\""
msgstr "ne peut trouve le module \"user_data\" \"{0}\"" msgstr "ne peut trouve le module \"user_data\" \"{0}\""
#: src/rougail/cli/__main__.py:56 #: src/rougail/cli/__main__.py:139
msgid "cannot find cli file for \"output_name\" module \"{0}\"" msgid "cannot find cli file for \"output_name\" module \"{0}\""
msgstr "ne peut trouve le fichier cli pour le module \"output_name\" \"{0}\"" msgstr "ne peut trouve le fichier cli pour le module \"output_name\" \"{0}\""
#: src/rougail/cli/__main__.py:69 #: src/rougail/cli/__main__.py:161
msgid "ERROR: {0}" msgid "ERROR: {0}"
msgstr "ERREUR : {0}" msgstr "ERREUR : {0}"
#: src/rougail/cli/config.py:28
msgid "Command line options"
msgstr "Options de la ligne de commande"
#: src/rougail/cli/config.py:31
msgid "loads command line parameters from a file"
msgstr "charge les paramètres de la ligne de commande depuis un fichier"
#: src/rougail/cli/config.py:39
msgid "displays debug informations"
msgstr "affiche les informations de debug"
#: src/rougail/cli/config.py:40
msgid "do not display debug informations"
msgstr "ne pas afficher les informations de debug"

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: 2024-10-31 19:17+0100\n" "POT-Creation-Date: 2025-03-31 16:37+0200\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"
@ -15,15 +15,31 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
#: src/rougail/cli/__main__.py:63 #: src/rougail/cli/__main__.py:102
msgid "cannot find \"user_data\" module \"{0}\"" msgid "cannot find \"user_data\" module \"{0}\""
msgstr "" msgstr ""
#: src/rougail/cli/__main__.py:76 #: src/rougail/cli/__main__.py:139
msgid "cannot find cli file for \"output_name\" module \"{0}\"" msgid "cannot find cli file for \"output_name\" module \"{0}\""
msgstr "" msgstr ""
#: src/rougail/cli/__main__.py:89 #: src/rougail/cli/__main__.py:161
msgid "ERROR: {0}" msgid "ERROR: {0}"
msgstr "" msgstr ""
#: src/rougail/cli/config.py:28
msgid "Command line options"
msgstr ""
#: src/rougail/cli/config.py:31
msgid "loads command line parameters from a file"
msgstr ""
#: src/rougail/cli/config.py:39
msgid "displays debug informations"
msgstr ""
#: src/rougail/cli/config.py:40
msgid "do not display debug informations"
msgstr ""

View file

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

View file

@ -25,10 +25,10 @@ def get_rougail_config(
) -> dict: ) -> dict:
options = f""" options = f"""
cli: cli:
description: {_('Command line option')} description: {_('Command line options')}
config_file: config_file:
description: {_('load rougail cli parameters from a file)} description: {_('loads command line parameters from a file')}
type: unix_filename type: unix_filename
commandline: false commandline: false
params: params:
@ -36,8 +36,8 @@ cli:
default: .rougailcli.yml default: .rougailcli.yml
debug: debug:
description: {_('display debug informations')} description: {_('displays debug informations')}
negative_description: {_('do not display debut informations')} negative_description: {_('do not display debug informations')}
default: false default: false
""" """
return { return {