diff --git a/locale/fr/LC_MESSAGES/tiramisu.po b/locale/fr/LC_MESSAGES/tiramisu.po index dfe63cd..4aea756 100644 --- a/locale/fr/LC_MESSAGES/tiramisu.po +++ b/locale/fr/LC_MESSAGES/tiramisu.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Tiramisu\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-09 08:14+0200\n" +"POT-Creation-Date: 2025-04-29 23:01+0200\n" "PO-Revision-Date: \n" "Last-Translator: Emmanuel Garette \n" "Language-Team: Tiramisu's team \n" @@ -123,89 +123,93 @@ msgid "do not use unrestraint, nowarnings or forcepermissive together" msgstr "" "il ne faut pas utiliser unrestraint, nowarnings ou forcepermissive ensemble" -#: tiramisu/autolib.py:80 +#: tiramisu/autolib.py:81 msgid "args in params must be a tuple" msgstr "args dans params doit être un tuple" -#: tiramisu/autolib.py:83 tiramisu/autolib.py:88 +#: tiramisu/autolib.py:84 tiramisu/autolib.py:89 msgid "arg in params must be a Param" msgstr "arg dans params doit être un Param" -#: tiramisu/autolib.py:85 +#: tiramisu/autolib.py:86 msgid "kwargs in params must be a dict" msgstr "kwargs dans params doit être un dict" -#: tiramisu/autolib.py:113 +#: tiramisu/autolib.py:114 msgid "paramoption needs an option not {}" msgstr "paramoption doit être une option pas {0}" -#: tiramisu/autolib.py:119 +#: tiramisu/autolib.py:120 msgid "param must have a boolean not a {} for notraisepropertyerror" msgstr "param doit avoir un booléan pas un {} pour notraisepropertyerror" -#: tiramisu/autolib.py:122 +#: tiramisu/autolib.py:123 msgid "param must have a boolean not a {} for raisepropertyerror" msgstr "param doit avoir un booléan pas un {} pour raisepropertyerror" -#: tiramisu/autolib.py:151 +#: tiramisu/autolib.py:152 msgid "identifiers in ParamDynOption must be a list, not {0}" msgstr "" "les identifiants d'un ParamDynOption doivent être une liste, donc pas {0}" -#: tiramisu/autolib.py:155 +#: tiramisu/autolib.py:156 msgid "optional in ParamDynOption must be a boolean, not {0}" msgstr "" "le paramètre optional dans ParamDynOption doit être un booléen, pas {0}" -#: tiramisu/autolib.py:206 +#: tiramisu/autolib.py:207 msgid "cannot add option in information after creating config" msgstr "" "ne peut ajouter une option dans une information après la création de la " "configuration" -#: tiramisu/autolib.py:208 +#: tiramisu/autolib.py:209 msgid "cannot redefine option in information" msgstr "on ne peu pas redéfinir une option dans une information" -#: tiramisu/autolib.py:212 +#: tiramisu/autolib.py:213 msgid "option in ParamInformation cannot be a symlinkoption" msgstr "l'option dans ParamInformation ne peut pas être un symlinkoption" -#: tiramisu/autolib.py:215 +#: tiramisu/autolib.py:216 msgid "option in ParamInformation cannot be a follower" msgstr "l'option dans ParamInformation ne peut pas être suiveuse" -#: tiramisu/autolib.py:218 +#: tiramisu/autolib.py:219 msgid "option in ParamInformation cannot be a dynamic option" msgstr "l'option dans ParamInformation ne peut pas être une option dynamique" -#: tiramisu/autolib.py:279 +#: tiramisu/autolib.py:280 msgid "first argument ({0}) must be a function" msgstr "le premier argument ({0}) doit être une fonction" -#: tiramisu/autolib.py:283 +#: tiramisu/autolib.py:284 msgid "help_function ({0}) must be a function" msgstr "help_function ({0}) doit être une fonction" -#: tiramisu/autolib.py:452 tiramisu/autolib.py:514 -msgid "unable to carry out a calculation for {}, {}" -msgstr "impossible d'effectuer le calcul pour {}, {}" - -#: tiramisu/autolib.py:461 tiramisu/autolib.py:521 +#: tiramisu/autolib.py:455 tiramisu/autolib.py:503 msgid "the option {0} is used in a calculation but is invalid ({1})" msgstr "l'option {0} est utilisé dans un calcul mais est invalide ({1})" -#: tiramisu/autolib.py:477 tiramisu/autolib.py:535 tiramisu/autolib.py:584 +#: tiramisu/autolib.py:467 tiramisu/autolib.py:515 tiramisu/autolib.py:554 msgid "unable to get value for calculating {0}, {1}" msgstr "impossible de trouver la valeur pour calculer {0}, {1}" -#: tiramisu/autolib.py:601 +#: tiramisu/autolib.py:499 +msgid "unable to carry out a calculation for {0}, {1}" +msgstr "impossible d'effectuer le calcul pour {0}, {1}" + +#: tiramisu/autolib.py:535 +msgid "cannot find information for {0}, {1} is a dynamic option" +msgstr "ne peut trouver l'information pour {0}, {1} est une option dynamique" + +#: tiramisu/autolib.py:564 msgid "option {0} is not a dynoptiondescription or in a dynoptiondescription" msgstr "" "l'option {0} n'est pas une dynoptiondescription ou n'est pas dans une " "dynoptiondescription" -#: tiramisu/autolib.py:687 +#: tiramisu/autolib.py:650 msgid "" "cannot calculate arguments for \"{0}\", cannot find dynamic variable \"{1}\" " "with identifier \"{2}\", list of valid identifiers: {3}" @@ -214,7 +218,12 @@ msgstr "" "dynamique \"{1}\" avec l'identifiant \"{2}\", voici la liste des " "identifiants valables : {3}" -#: tiramisu/autolib.py:866 +#: tiramisu/autolib.py:754 +msgid "the follower {0} must have index in carry_out_calculation!" +msgstr "" +"la variable suiveuse {0} doit avoir un index dans carry_out_calculation!" + +#: tiramisu/autolib.py:826 msgid "" "the \"{}\" function with positional arguments \"{}\" and keyword arguments " "\"{}\" must not return a list (\"{}\") for the follower option {}" @@ -223,7 +232,7 @@ msgstr "" "nommés \"{}\" ne doit pas retourner une liste (\"{}\") pour l'option " "suiveuse {}" -#: tiramisu/autolib.py:881 +#: tiramisu/autolib.py:841 msgid "" "the \"{}\" function must not return a list (\"{}\") for the follower option " "{}" @@ -231,17 +240,17 @@ msgstr "" "la fonction \"{}\" ne doit pas retourner une liste (\"{}\") pour l'option " "suiveuse {}" -#: tiramisu/autolib.py:922 +#: tiramisu/autolib.py:882 msgid "" -"unexpected error \"{0}\" in function \"{1}\" with arguments \"{3}\" and " -"\"{4}\" for option {2}" +"unexpected error \"{1}\" in function \"{2}\" with arguments \"{3}\" and " +"\"{4}\" for option {0}" msgstr "" -"erreur inattendue \"{0}\" dans la fonction \"{1}\" avec les arguments " -"\"{3}\" et \"{4}\" pour l'option {2}" +"erreur inattendue \"{1}\" dans la fonction \"{2}\" avec les arguments " +"\"{3}\" et \"{4}\" pour l'option {0}" -#: tiramisu/autolib.py:933 -msgid "unexpected error \"{0}\" in function \"{1}\" for option {2}" -msgstr "erreur inattendue \"{0}\" dans la fonction \"{1}\" pour l'option {2}" +#: tiramisu/autolib.py:891 +msgid "unexpected error \"{1}\" in function \"{2}\" for option {0}" +msgstr "erreur inattendue \"{1}\" dans la fonction \"{2}\" pour l'option {0}" #: tiramisu/config.py:420 msgid "" @@ -393,21 +402,21 @@ msgid "invalid value" msgstr "valeur invalide" #: tiramisu/error.py:207 -msgid "attention, \"{0}\" could be an invalid {1} for \"{2}\"" -msgstr "attention, \"{0}\" peut être un {1} invalide pour \"{2}\"" +msgid "attention, \"{0}\" could be an invalid {1} for {2}" +msgstr "attention, \"{0}\" peut être un {1} invalide pour {2}" #: tiramisu/error.py:209 -msgid "attention, \"{0}\" could be an invalid {1} for \"{2}\" at index \"{3}\"" +msgid "attention, \"{0}\" could be an invalid {1} for {2} at index \"{3}\"" msgstr "" -"attention, \"{0}\" peut être un {1} invalide pour \"{2}\" à l'index \"{3}\"" +"attention, \"{0}\" peut être un {1} invalide pour {2} à l'index \"{3}\"" #: tiramisu/error.py:228 tiramisu/error.py:239 -msgid "\"{0}\" is an invalid {1} for \"{2}\"" -msgstr "\"{0}\" est une valeur invalide pour l'option \"{2}\" de type {1}" +msgid "\"{0}\" is an invalid {1} for {2}" +msgstr "\"{0}\" est une valeur invalide pour l'option {2} de type {1}" #: tiramisu/error.py:230 -msgid "\"{0}\" is an invalid {1} for \"{2}\" at index \"{3}\"" -msgstr "\"{0}\" est un {1} invalide pour \"{2}\" à l'index \"{3}\"" +msgid "\"{0}\" is an invalid {1} for {2} at index \"{3}\"" +msgstr "\"{0}\" est un {1} invalide pour {2} à l'index \"{3}\"" #: tiramisu/function.py:65 msgid "network \"{0}\" ({1}) does not match with this netmask" @@ -730,10 +739,10 @@ msgstr "une option leadership \"{0}\" ne devrait pas avoir de sous-groupe" #: tiramisu/option/leadership.py:114 msgid "" -"only multi option allowed in leadership {0} but option {1} is not a multi" +"only multi option are allowed in leadership {0} but option {1} is not a multi" msgstr "" -"seules des options multiples sont autorisées dans l'option leadership " -"\"{0}\" alors que l'option \"{1}\" n'est pas une option multiple" +"seules des options multiples sont autorisées dans l'option leadership {0} " +"alors que l'option {1} n'est pas une option multiple" #: tiramisu/option/leadership.py:141 msgid "not allowed default value for follower option {0} in leadership {1}" @@ -1021,6 +1030,9 @@ msgstr "" msgid "information's item not found \"{}\"" msgstr "l'information de l'objet ne sont pas trouvé \"{}\"" +#~ msgid "unable to unable to get value for calculating {0}, {1}" +#~ msgstr "impossible de trouver la valeur pour calculer {0}, {1}" + #~ msgid "" #~ "unknown option \"{0}\" in root optiondescription (it's a dynamic option)" #~ msgstr "" diff --git a/locale/tiramisu.pot b/locale/tiramisu.pot index 1322953..435fe8d 100644 --- a/locale/tiramisu.pot +++ b/locale/tiramisu.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-09 08:16+0200\n" +"POT-Creation-Date: 2025-04-29 23:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -111,100 +111,108 @@ msgstr "" msgid "do not use unrestraint, nowarnings or forcepermissive together" msgstr "" -#: tiramisu/autolib.py:80 +#: tiramisu/autolib.py:81 msgid "args in params must be a tuple" msgstr "" -#: tiramisu/autolib.py:83 tiramisu/autolib.py:88 +#: tiramisu/autolib.py:84 tiramisu/autolib.py:89 msgid "arg in params must be a Param" msgstr "" -#: tiramisu/autolib.py:85 +#: tiramisu/autolib.py:86 msgid "kwargs in params must be a dict" msgstr "" -#: tiramisu/autolib.py:113 +#: tiramisu/autolib.py:114 msgid "paramoption needs an option not {}" msgstr "" -#: tiramisu/autolib.py:119 +#: tiramisu/autolib.py:120 msgid "param must have a boolean not a {} for notraisepropertyerror" msgstr "" -#: tiramisu/autolib.py:122 +#: tiramisu/autolib.py:123 msgid "param must have a boolean not a {} for raisepropertyerror" msgstr "" -#: tiramisu/autolib.py:151 +#: tiramisu/autolib.py:152 msgid "identifiers in ParamDynOption must be a list, not {0}" msgstr "" -#: tiramisu/autolib.py:155 +#: tiramisu/autolib.py:156 msgid "optional in ParamDynOption must be a boolean, not {0}" msgstr "" -#: tiramisu/autolib.py:206 +#: tiramisu/autolib.py:207 msgid "cannot add option in information after creating config" msgstr "" -#: tiramisu/autolib.py:208 +#: tiramisu/autolib.py:209 msgid "cannot redefine option in information" msgstr "" -#: tiramisu/autolib.py:212 +#: tiramisu/autolib.py:213 msgid "option in ParamInformation cannot be a symlinkoption" msgstr "" -#: tiramisu/autolib.py:215 +#: tiramisu/autolib.py:216 msgid "option in ParamInformation cannot be a follower" msgstr "" -#: tiramisu/autolib.py:218 +#: tiramisu/autolib.py:219 msgid "option in ParamInformation cannot be a dynamic option" msgstr "" -#: tiramisu/autolib.py:279 +#: tiramisu/autolib.py:280 msgid "first argument ({0}) must be a function" msgstr "" -#: tiramisu/autolib.py:283 +#: tiramisu/autolib.py:284 msgid "help_function ({0}) must be a function" msgstr "" -#: tiramisu/autolib.py:452 tiramisu/autolib.py:514 -msgid "unable to carry out a calculation for {}, {}" -msgstr "" - -#: tiramisu/autolib.py:461 tiramisu/autolib.py:521 +#: tiramisu/autolib.py:455 tiramisu/autolib.py:503 msgid "the option {0} is used in a calculation but is invalid ({1})" msgstr "" -#: tiramisu/autolib.py:477 tiramisu/autolib.py:535 tiramisu/autolib.py:584 +#: tiramisu/autolib.py:467 tiramisu/autolib.py:515 tiramisu/autolib.py:554 msgid "unable to get value for calculating {0}, {1}" msgstr "" -#: tiramisu/autolib.py:601 +#: tiramisu/autolib.py:499 +msgid "unable to carry out a calculation for {0}, {1}" +msgstr "" + +#: tiramisu/autolib.py:535 +msgid "cannot find information for {0}, {1} is a dynamic option" +msgstr "" + +#: tiramisu/autolib.py:564 msgid "option {0} is not a dynoptiondescription or in a dynoptiondescription" msgstr "" -#: tiramisu/autolib.py:687 +#: tiramisu/autolib.py:650 msgid "cannot calculate arguments for \"{0}\", cannot find dynamic variable \"{1}\" with identifier \"{2}\", list of valid identifiers: {3}" msgstr "" -#: tiramisu/autolib.py:866 +#: tiramisu/autolib.py:754 +msgid "the follower {0} must have index in carry_out_calculation!" +msgstr "" + +#: tiramisu/autolib.py:826 msgid "the \"{}\" function with positional arguments \"{}\" and keyword arguments \"{}\" must not return a list (\"{}\") for the follower option {}" msgstr "" -#: tiramisu/autolib.py:881 +#: tiramisu/autolib.py:841 msgid "the \"{}\" function must not return a list (\"{}\") for the follower option {}" msgstr "" -#: tiramisu/autolib.py:922 -msgid "unexpected error \"{0}\" in function \"{1}\" with arguments \"{3}\" and \"{4}\" for option {2}" +#: tiramisu/autolib.py:882 +msgid "unexpected error \"{1}\" in function \"{2}\" with arguments \"{3}\" and \"{4}\" for option {0}" msgstr "" -#: tiramisu/autolib.py:933 -msgid "unexpected error \"{0}\" in function \"{1}\" for option {2}" +#: tiramisu/autolib.py:891 +msgid "unexpected error \"{1}\" in function \"{2}\" for option {0}" msgstr "" #: tiramisu/config.py:420 @@ -340,19 +348,19 @@ msgid "invalid value" msgstr "" #: tiramisu/error.py:207 -msgid "attention, \"{0}\" could be an invalid {1} for \"{2}\"" +msgid "attention, \"{0}\" could be an invalid {1} for {2}" msgstr "" #: tiramisu/error.py:209 -msgid "attention, \"{0}\" could be an invalid {1} for \"{2}\" at index \"{3}\"" +msgid "attention, \"{0}\" could be an invalid {1} for {2} at index \"{3}\"" msgstr "" #: tiramisu/error.py:228 tiramisu/error.py:239 -msgid "\"{0}\" is an invalid {1} for \"{2}\"" +msgid "\"{0}\" is an invalid {1} for {2}" msgstr "" #: tiramisu/error.py:230 -msgid "\"{0}\" is an invalid {1} for \"{2}\" at index \"{3}\"" +msgid "\"{0}\" is an invalid {1} for {2} at index \"{3}\"" msgstr "" #: tiramisu/function.py:65 @@ -633,7 +641,7 @@ msgid "leadership {0} shall not have a subgroup" msgstr "" #: tiramisu/option/leadership.py:114 -msgid "only multi option allowed in leadership {0} but option {1} is not a multi" +msgid "only multi option are allowed in leadership {0} but option {1} is not a multi" msgstr "" #: tiramisu/option/leadership.py:141 diff --git a/tiramisu/autolib.py b/tiramisu/autolib.py index ebe3cfc..281e0c9 100644 --- a/tiramisu/autolib.py +++ b/tiramisu/autolib.py @@ -512,7 +512,7 @@ def manager_callback( ["configerror"], config_bag.context.get_settings(), ) - errors.raise_carry_out_calculation_error(subconfig, _("unable to unable to get value for calculating {0}, {1}"), err, option=option) + errors.raise_carry_out_calculation_error(subconfig, _("unable to get value for calculating {0}, {1}"), err, option=option) return subsubconfig if isinstance(param, ParamValue): diff --git a/tiramisu/locale/fr/LC_MESSAGES/tiramisu.mo b/tiramisu/locale/fr/LC_MESSAGES/tiramisu.mo index 9c16744..fa0edad 100644 Binary files a/tiramisu/locale/fr/LC_MESSAGES/tiramisu.mo and b/tiramisu/locale/fr/LC_MESSAGES/tiramisu.mo differ