fix: translation
This commit is contained in:
parent
7fde2303ab
commit
25e0f2f006
4 changed files with 43 additions and 64 deletions
|
@ -5,8 +5,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2024-11-01 11:03+0100\n"
|
||||
"PO-Revision-Date: 2024-11-01 11:04+0100\n"
|
||||
"POT-Creation-Date: 2025-02-17 09:42+0100\n"
|
||||
"PO-Revision-Date: 2025-02-17 09:43+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
|
@ -16,42 +16,42 @@ msgstr ""
|
|||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 3.5\n"
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:73
|
||||
#: src/rougail/output_json/__init__.py:46
|
||||
msgid "the \"step.output\" is not set to \"{0}\""
|
||||
msgstr "\"step.output\" n'est pas mis à \"{0}\""
|
||||
|
||||
#: src/rougail/output_json/__init__.py:93
|
||||
msgid "Error in config: {0}"
|
||||
msgstr "Erreur dans la configuration : {0}"
|
||||
|
||||
#: src/rougail/output_json/__init__.py:104
|
||||
msgid "The following variables are mandatory but have no value:"
|
||||
msgstr "Les variables suiveuses sont obligatoire mais n'ont pas de valeur :"
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:84
|
||||
#: src/rougail/output_json/__init__.py:115
|
||||
msgid "The following variables are inaccessible but are empty and mandatory :"
|
||||
msgstr "Les variables suiveuses sont inaccessibles mais sont vides et obligatoires :"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:53
|
||||
msgid "Undocumented variable"
|
||||
msgstr "Variable non documentée"
|
||||
#~ msgid "Undocumented variable"
|
||||
#~ msgstr "Variable non documentée"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:54
|
||||
msgid "Undocumented but modified variable"
|
||||
msgstr "Variable non documentée mais modifiée"
|
||||
#~ msgid "Undocumented but modified variable"
|
||||
#~ msgstr "Variable non documentée mais modifiée"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:57
|
||||
msgid "Unmodifiable variable"
|
||||
msgstr "Variable non modifiable"
|
||||
#~ msgid "Unmodifiable variable"
|
||||
#~ msgstr "Variable non modifiable"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:61
|
||||
msgid "Default value"
|
||||
msgstr "Valeur par défaut"
|
||||
#~ msgid "Default value"
|
||||
#~ msgstr "Valeur par défaut"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:62
|
||||
msgid "Modified value"
|
||||
msgstr "Valeur modifiée"
|
||||
#~ msgid "Modified value"
|
||||
#~ msgstr "Valeur modifiée"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:63
|
||||
msgid "Original default value"
|
||||
msgstr "Valeur par défaut d'origine"
|
||||
#~ msgid "Original default value"
|
||||
#~ msgstr "Valeur par défaut d'origine"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:67
|
||||
msgid "Caption"
|
||||
msgstr "Légende"
|
||||
#~ msgid "Caption"
|
||||
#~ msgstr "Légende"
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:92
|
||||
msgid "Variables:"
|
||||
msgstr "Variables :"
|
||||
#~ msgid "Variables:"
|
||||
#~ msgstr "Variables :"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2024-11-01 11:03+0100\n"
|
||||
"POT-Creation-Date: 2025-02-17 09:43+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -15,43 +15,19 @@ msgstr ""
|
|||
"Generated-By: pygettext.py 1.5\n"
|
||||
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:73
|
||||
#: src/rougail/output_json/__init__.py:46
|
||||
msgid "the \"step.output\" is not set to \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_json/__init__.py:93
|
||||
msgid "Error in config: {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_json/__init__.py:104
|
||||
msgid "The following variables are mandatory but have no value:"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/__init__.py:84
|
||||
#: src/rougail/output_json/__init__.py:115
|
||||
msgid "The following variables are inaccessible but are empty and mandatory :"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:53
|
||||
msgid "Undocumented variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:54
|
||||
msgid "Undocumented but modified variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:57
|
||||
msgid "Unmodifiable variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:61
|
||||
msgid "Default value"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:62
|
||||
msgid "Modified value"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:63
|
||||
msgid "Original default value"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:67
|
||||
msgid "Caption"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_exporter/output/console.py:92
|
||||
msgid "Variables:"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -90,7 +90,10 @@ class RougailOutputJson:
|
|||
try:
|
||||
mandatories = self.config.value.mandatory()
|
||||
except (ConfigError, PropertiesOptionError) as err:
|
||||
self.errors.append(f"Error in config: {err}")
|
||||
self.errors.append(_("Error in config: {0}").format(err))
|
||||
return
|
||||
except ValueError as err:
|
||||
self.errors.append(str(err))
|
||||
return
|
||||
for option in mandatories:
|
||||
try:
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue