diff --git a/locale/fr/LC_MESSAGES/rougail.po b/locale/fr/LC_MESSAGES/rougail.po index 30399615f..a76ad4539 100644 --- a/locale/fr/LC_MESSAGES/rougail.po +++ b/locale/fr/LC_MESSAGES/rougail.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2025-05-12 08:45+0200\n" -"PO-Revision-Date: 2025-05-12 08:52+0200\n" +"POT-Creation-Date: 2025-10-04 16:06+0200\n" +"PO-Revision-Date: 2025-10-04 16:06+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: pygettext.py 1.5\n" -"X-Generator: Poedit 3.5\n" +"X-Generator: Poedit 3.7\n" #: src/rougail/annotator/family.py:150 msgid "default variable mode \"{0}\" is not a valid mode, valid modes are {1}" @@ -94,7 +94,7 @@ msgid "the variable \"{0}\" is a \"regexp\" variable but don't have any regexp" msgstr "" "la variable \"{0}\" a une variable \"regexp\" mais n'a pas de \"regexp\"" -#: src/rougail/annotator/variable.py:86 +#: src/rougail/annotator/variable.py:89 msgid "" "only \"unix_user\" or \"secret\" variable type can have \"secret_manager\" " "attribute, but \"{0}\" has type \"{1}\"" @@ -102,14 +102,14 @@ msgstr "" "seul une variable de type \"unix_user\" ou \"secret\" peut avoir l'attribut " "\"secret_manager\", mais \"{0}\" a le type \"{1}\"" -#: src/rougail/annotator/variable.py:93 +#: src/rougail/annotator/variable.py:96 msgid "" "the variable \"{0}\" has attribute \"secret_manager\" but is a multi variable" msgstr "" "la variable \"{0}\" a l'attribut \"secret_manager\" mais est une variable " "multiple" -#: src/rougail/annotator/variable.py:98 +#: src/rougail/annotator/variable.py:101 msgid "" "the variable \"{0}\" has attribute \"secret_manager\" so must not have " "default value" @@ -117,179 +117,171 @@ msgstr "" "la variable \"{0}\" a l'attribut \"secret_manager\" donc ne devrait pas " "avoir de valeur par défaut" -#: src/rougail/annotator/variable.py:227 +#: src/rougail/annotator/variable.py:253 msgid "" "the variable \"{0}\" has regexp attribut but has not the \"regexp\" type" msgstr "" "la variable \"{0}\" a un attribut regexp mais n'a pas le type \"regexp\"" -#: src/rougail/annotator/variable.py:270 +#: src/rougail/annotator/variable.py:296 msgid "" "the variable \"{0}\" has choices attribut but has not the \"choice\" type" msgstr "" "la variable \"{0}\" a un attribut choices mais n'a pas le type \"choice\"" -#: src/rougail/annotator/variable.py:298 +#: src/rougail/annotator/variable.py:324 msgid "" "the variable \"{0}\" has an unvalid default value \"{1}\" should be in {2}" msgstr "" "la variable \"{0}\" a la valeur par défaut invalide \"{1}\" devrait être {2}" -#: src/rougail/config.py:226 +#: src/rougail/config/__init__.py:226 msgid "Structure format version by default, if not specified in structure file" msgstr "" "La version du format de la structure par défaut, si non spécifier dans le " "fichier de structure" -#: src/rougail/config.py:234 +#: src/rougail/config/__init__.py:234 msgid "File with functions" msgstr "Fichier avec les fonctions" -#: src/rougail/config.py:246 +#: src/rougail/config/__init__.py:246 msgid "All modes level available" msgstr "Tous les niveaux de modes valides" -#: src/rougail/config.py:258 +#: src/rougail/config/__init__.py:258 msgid "Default mode for a family" msgstr "Mode par défaut pour une famille" -#: src/rougail/config.py:278 +#: src/rougail/config/__init__.py:278 msgid "Default mode for a variable" msgstr "Mode par défaut pour une variable" -#: src/rougail/config.py:302 +#: src/rougail/config/__init__.py:302 msgid "Option name for the base option" msgstr "Nom de l'option pour l'option de base" -#: src/rougail/config.py:307 +#: src/rougail/config/__init__.py:307 msgid "In cache file, do not importation of Tiramisu and other dependencies" msgstr "" "Dans le fichier de cache, ne pas importer Tiramisu et autres dépendances" -#: src/rougail/config.py:312 +#: src/rougail/config/__init__.py:312 msgid "Tiramisu cache filename" msgstr "Nom du fichier du cache Tiramisu" -#: src/rougail/config.py:320 +#: src/rougail/config/__init__.py:320 msgid "Name of internal functions that we can use as a function" msgstr "" "Nom des fonctions internes qu'il est possible d'utiliser comme fonction" -#: src/rougail/config.py:326 +#: src/rougail/config/__init__.py:326 msgid "Name of extra annotators" msgstr "Nom des annotators supplémentaires" -#: src/rougail/config.py:332 +#: src/rougail/config/__init__.py:332 msgid "Suffix add to generated options name" msgstr "Suffix ajouté pour généré le nom des options" -#: src/rougail/config.py:338 +#: src/rougail/config/__init__.py:338 msgid "Every variables in calculation are optionals" msgstr "Toutes les variables dans un calcul sont optionnelles" -#: src/rougail/config.py:342 +#: src/rougail/config/__init__.py:342 msgid "Loads redefine variables even if there don't already exists" msgstr "Charger les variables redéfinis même si elles n'existe pas" -#: src/rougail/config.py:349 +#: src/rougail/config/__init__.py:349 msgid "The secret pattern to build item name in Bitwarden" msgstr "Le patron de secret pour construire le nom de l'élément dans Bitwarden" -#: src/rougail/config.py:350 +#: src/rougail/config/__init__.py:350 msgid "The pattern is in Jinja format" msgstr "Le patron est au format Jinja" -#: src/rougail/config.py:378 +#: src/rougail/config/__init__.py:378 msgid "Select for {0}" msgstr "Sélection pour {0}" -#: src/rougail/config.py:458 +#: src/rougail/config/__init__.py:458 msgid "Override default parameters for option type" msgstr "Sur charger les paramètre par défaut pour le type d'option" -#: src/rougail/config.py:461 +#: src/rougail/config/__init__.py:461 msgid "Default parameters for option type" msgstr "Paramètre par défaut pour le type d'option" -#: src/rougail/convert.py:280 +#: src/rougail/convert/convert.py:280 msgid "unknown type {0} for {1}" msgstr "type {0} inconnu pour {1}" -#: src/rougail/convert.py:411 +#: src/rougail/convert/convert.py:418 msgid "family \"{0}\" define multiple time" msgstr "la famille \"{0}\" est définit plusieurs fois" -#: src/rougail/convert.py:668 +#: src/rougail/convert/convert.py:671 msgid "variable \"{0}\" define multiple time" msgstr "la variable \"{0}\" est définit plusieurs fois" -#: src/rougail/convert.py:766 +#: src/rougail/convert/convert.py:769 msgid "params must be a dict for {0}" msgstr "params doit être une dict pour {0}" -#: src/rougail/convert.py:787 +#: src/rougail/convert/convert.py:790 msgid "\"{0}\" has an invalid \"params\" for {1}: {2}" msgstr "\"{0}\" a un attribut \"params\" invalide pour {1}: {2}" -#: src/rougail/convert.py:801 +#: src/rougail/convert/convert.py:804 msgid "secret_manager must be a dict for {0}" msgstr "secret_manager doit être une dict pour {0}" -#: src/rougail/convert.py:1129 +#: src/rougail/convert/convert.py:1133 msgid "Cannot execute annotate multiple time" msgstr "Ne peut exécuter l'annotation plusieurs fois" -#: src/rougail/convert.py:1136 +#: src/rougail/convert/convert.py:1140 msgid "" "invalid \"structural\" definition ({0}), we cannot load any structural file!" msgstr "" "définition invalide pour la définition des \"structures\" ({0}), aucun " "fichier de structure ne peut être chargé !" -#: src/rougail/error.py:67 src/rougail/tiramisu.py:60 -#: src/rougail/user_datas.py:354 src/rougail/user_datas.py:357 -msgid "{0} in {1}" -msgstr "{0} dans {1}" - -#: src/rougail/object_model.py:50 -msgid "unknown boolean value \"{0}\"" -msgstr "valeur du booléen inconnue \"{0}\"" - -#: src/rougail/object_model.py:187 +#: src/rougail/convert/object_model.py:122 msgid "cannot find variable \"{0}\" defined in attribute \"{1}\" for \"{2}\"" msgstr "" "ne peut trouver la variable \"{0}\" défini dans l'attribut \"{1}\" pour " "\"{2}\"" -#: src/rougail/object_model.py:193 +#: src/rougail/convert/object_model.py:128 msgid "" "the variable \"{0}\" is in fact a family in attribute \"{1}\" for \"{2}\"" msgstr "" "la variable \"{0}\" est en faite une famille dans l'attribut \"{1}\" pour " "\"{2}\"" -#: src/rougail/object_model.py:198 src/rougail/object_model.py:525 +#: src/rougail/convert/object_model.py:133 +#: src/rougail/convert/object_model.py:468 msgid "unknown object \"{0}\" in attribute \"{1}\" for \"{2}\"" msgstr "objet inconnu \"{0}\" dans l'attribut \"{1}\" pour \"{2}\"" -#: src/rougail/object_model.py:217 +#: src/rougail/convert/object_model.py:152 msgid "" "identifier parameter for \"{0}\" in \"{1}\" cannot be set none dynamic family" msgstr "" "le paramètre identifier pour \"{0}\" dans \"{1}\" ne peut être placé pour " "une famille non dynamique" -#: src/rougail/object_model.py:246 +#: src/rougail/convert/object_model.py:181 msgid "cannot find variable \"{0}\" defined in \"{1}\" for \"{2}\"" msgstr "ne peut trouver la variable \"{0}\" défini dans \"{1}\" pour \"{2}\"" -#: src/rougail/object_model.py:251 +#: src/rougail/convert/object_model.py:186 msgid "variable \"{0}\" defined in \"{1}\" for \"{2}\" is a dynamic variable" msgstr "" "la variable \"{0}\" défini dans \"{1}\" pour \"{2}\" est une variable " "dynamique" -#: src/rougail/object_model.py:268 +#: src/rougail/convert/object_model.py:203 msgid "" "the variable \"{0}\" is not a follower, so cannot have index type for param " "in \"{1}\"" @@ -297,7 +289,7 @@ msgstr "" "la variable \"{0}\" n'est pas suiveuse, donc ne peut avoir de type index " "comme paramètre dans \"{1}\"" -#: src/rougail/object_model.py:520 +#: src/rougail/convert/object_model.py:463 msgid "" "a variable \"{0}\" is needs in attribute \"{1}\" for \"{2}\" but it's a " "family" @@ -305,7 +297,7 @@ msgstr "" "une variable \"{0}\" est nécessaire pour l'attribut \"{1}\" pour \"{2}\" " "mais c'est une famille" -#: src/rougail/object_model.py:544 +#: src/rougail/convert/object_model.py:488 msgid "" "variable \"{0}\" has an attribute \"{1}\" calculated with the unknown " "variable \"{2}\"" @@ -313,7 +305,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\" calculé avec la variable " "inconnue \"{2}\"" -#: src/rougail/object_model.py:593 +#: src/rougail/convert/object_model.py:540 msgid "" "the variable \"{0}\" has an invalid \"{1}\" the variable \"{2}\" is in a sub " "dynamic option" @@ -321,14 +313,14 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" est " "dans une sous option dynamique" -#: src/rougail/object_model.py:602 +#: src/rougail/convert/object_model.py:549 msgid "" "the leader \"{0}\" has an invalid \"{1}\" the follower \"{2}\" is a multi" msgstr "" "la variable meneuse \"{0}\" a un attribut invalide \"{1}\", la variable " "suiveuse \"{2}\" est multiple" -#: src/rougail/object_model.py:644 +#: src/rougail/convert/object_model.py:591 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" " "must not be multi" @@ -336,7 +328,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" ne " "doit pas être multiple" -#: src/rougail/object_model.py:658 +#: src/rougail/convert/object_model.py:605 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable must not " "be a multi or the variable \"{2}\" must be multi" @@ -344,7 +336,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable ne doit pas " "être multiple ou la variable \"{2}\" doit être multiple" -#: src/rougail/object_model.py:672 +#: src/rougail/convert/object_model.py:619 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable must be " "a multi or the variable \"{2}\" must not be multi" @@ -352,7 +344,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable doit être " "multiple ou la variable \"{2}\" ne doit pas être multiple" -#: src/rougail/object_model.py:686 +#: src/rougail/convert/object_model.py:633 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" " "is multi but is inside a list" @@ -360,15 +352,31 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" est " "multiple mais est dans une liste" -#: src/rougail/object_model.py:704 +#: src/rougail/convert/object_model.py:655 msgid "" -"\"{0}\" attribut shall not have an \"optional\" attribute for variable " -"\"{1}\"" +"the variable \"{0}\" is waiting for a list as \"{1}\" but the attribute " +"\"default\" is not a list (\"{2}\")" msgstr "" -"l'attribut \"{0}\" ne devrait pas avoir d'attribut \"optional\" pour la " -"variable \"{1}\"" +"la variable \"{0}\" attend une liste comme \"{1}\" mais l'attribut " +"\"default\" n'est pas une liste \"{2}\"" -#: src/rougail/object_model.py:724 +#: src/rougail/convert/object_model.py:657 +msgid "" +"the variable \"{0}\" is not waiting for a list as \"{1}\" but the attribute " +"\"default\" is a list (\"{2}\")" +msgstr "" +"la variable \"{0}\" n'attend pas une liste comme \"{1}\" mais l'attribut " +"\"default\" est une liste \"{2}\"" + +#: src/rougail/convert/object_model.py:673 +msgid "" +"\"{0}\" attribut shall not have an \"optional\" attribute without the " +"\"default\" attribute for variable \"{1}\"" +msgstr "" +"l'attribut \"{0}\" ne devrait pas avoir d'attribut \"optional\" sans " +"l'attribut \"default\" pour la variable \"{1}\"" + +#: src/rougail/convert/object_model.py:697 msgid "" "variable \"{0}\" has a default value calculated with \"{1}\" which has " "incompatible type" @@ -376,7 +384,15 @@ msgstr "" "la variable \"{0}\" a une valeur par défaut calculé a partir de \"{1}\" " "laquelle a un type incompatible" -#: src/rougail/object_model.py:770 +#: src/rougail/convert/object_model.py:740 +msgid "" +"the variable \"{0}\" is waiting for a boolean as \"{1}\" but the attribute " +"\"default\" is not a boolean (\"{2}\")" +msgstr "" +"la variable \"{0}\" attend un booléan comme \"{1}\" mais l'attribut " +"\"default\" n'est pas une booléan (\"{2}\")" + +#: src/rougail/convert/object_model.py:760 msgid "" "\"when\" is not allowed in format version 1.0 for attribute \"{0}\" for " "variable \"{1}\"" @@ -384,7 +400,7 @@ msgstr "" "\"when\" n'est pas autorisé avec le format en version 1.0 pour l'attribut " "\"{0}\" pour la variable \"{1}\"" -#: src/rougail/object_model.py:775 +#: src/rougail/convert/object_model.py:765 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", \"when\" and " "\"when_not\" cannot set together" @@ -392,7 +408,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", \"when\" et \"when_not\" " "ne peuvent pas être défini ensemble" -#: src/rougail/object_model.py:783 +#: src/rougail/convert/object_model.py:773 msgid "" "\"when_not\" is not allowed in format version 1.0 for attribute \"{0}\" for " "variable \"{1}\"" @@ -400,7 +416,7 @@ msgstr "" "\"when_not\" n'est pas autorisé au format 1.0 pour l'attribut \"{0}\" pour " "la variable variable \"{1}\"" -#: src/rougail/object_model.py:840 +#: src/rougail/convert/object_model.py:829 msgid "" "cannot find variable \"{0}\" for the information \"{1}\" when calculating " "\"{2}\"" @@ -408,18 +424,19 @@ msgstr "" "ne peut trouver la variable \"{0}\" pour l'information \"{1}\" lors du " "calcul de \"{2}\"" -#: src/rougail/object_model.py:845 +#: src/rougail/convert/object_model.py:834 msgid "" "identifier not allowed for the information \"{0}\" when calculating \"{1}\"" msgstr "" "identifier n'est pas autorisé pour l'information \"{0}\" lors du calcul de " "\"{1}\"" -#: src/rougail/object_model.py:898 +#: src/rougail/convert/object_model.py:886 msgid "\"when\" is not allowed in format version 1.0 for attribute \"{0}\"" msgstr "\"when\" n'est pas autorisé au format 1.0 pour l'attribut \"{0}\"" -#: src/rougail/object_model.py:904 src/rougail/object_model.py:914 +#: src/rougail/convert/object_model.py:892 +#: src/rougail/convert/object_model.py:902 msgid "" "the identifier has an invalid attribute \"{0}\", \"when\" and \"when_not\" " "cannot set together" @@ -427,14 +444,14 @@ msgstr "" "l'identifiant a un attribut invalide \"{0}\", \"when\" et \"when_not\" ne " "peuvent pas être défini ensemble" -#: src/rougail/object_model.py:939 +#: src/rougail/convert/object_model.py:928 msgid "" "the variable \"{0}\" is not a follower, so cannot have index type for \"{1}\"" msgstr "" "la variable \"{0}\" n'est pas suiveuse, donc ne peut avoir de type index " "pour \"{1}\"" -#: src/rougail/path.py:207 +#: src/rougail/convert/path.py:207 msgid "" "A variable or a family located in the \"{0}\" namespace shall not be used in " "the \"{1}\" namespace" @@ -442,6 +459,15 @@ msgstr "" "Une variable ou une famille localisé dans l'espace de nom \"{0}\" ne devrait " "pas être utilisé dans l'espace de nom \"{1}\"" +#: src/rougail/convert/tiramisureflector.py:352 +msgid "internal error, {0} is not a dynamic variable" +msgstr "erreur interne, \"{0}\" n'est pas une variable dynamique" + +#: src/rougail/error.py:61 src/rougail/tiramisu.py:157 +#: src/rougail/user_datas.py:377 src/rougail/user_datas.py:380 +msgid "{0} in {1}" +msgstr "{0} dans {1}" + #: src/rougail/structural_commandline/annotator.py:66 msgid "alternative_name \"{0}\" conflict with \"--help\"" msgstr "alternative_name \"{0}\" est en conflit avec \"--help\"" @@ -451,15 +477,15 @@ msgid "conflict alternative_name \"{0}\": \"{1}\" and \"{2}\"" msgstr "conflit dans les \"alternative_name\" \"{0}\": \"{1}\" et \"{2}\"" #: src/rougail/structural_directory/__init__.py:127 -msgid "duplicate dictionary file name {0}" -msgstr "nom de fichier {0} de dictionnaire dupliqué" +msgid "duplicate structural file name {0}" +msgstr "nom de fichier {0} de structure dupliqué" #: src/rougail/structural_directory/config.py:32 -msgid "Directories where dictionary files are placed" +msgid "Directories where structural files are placed" msgstr "Répertoires où sont placés les fichiers de structure" #: src/rougail/structural_directory/config.py:49 -msgid "Sort dictionaries from differents directories" +msgid "Sort structural from differents directories" msgstr "Trier les fichiers de structure à partir de différents répertoires" #: src/rougail/structural_directory/config.py:58 @@ -475,12 +501,16 @@ msgid "Extra namespace name" msgstr "Nom de l'espace de nom supplémentaire" #: src/rougail/structural_directory/config.py:84 -msgid "Directories where extra dictionary files are placed" +msgid "Directories where extra structural files are placed" msgstr "" "Répertoires où sont placés les fichiers de structure de l'espace de nom " "supplémentaire" -#: src/rougail/tiramisu.py:187 +#: src/rougail/tiramisu.py:78 +msgid "unknown boolean value \"{0}\"" +msgstr "valeur du booléen inconnue \"{0}\"" + +#: src/rougail/tiramisu.py:330 msgid "" "cannot calculating \"{0}\" attribute for variable \"{1}\" in {2} with " "parameters \"{3}\": {4}" @@ -488,28 +518,24 @@ msgstr "" "ne peut calculer l'attribut \"{0}\" pour la variable \"{1}\" dans {2} avec " "les paramètres \"{3}\" : {4}" -#: src/rougail/tiramisureflector.py:363 -msgid "internal error, {0} is not a dynamic variable" -msgstr "erreur interne, \"{0}\" n'est pas une variable dynamique" - -#: src/rougail/user_datas.py:118 +#: src/rougail/user_datas.py:137 msgid "" "cannot load variable path \"{0}\", the identifier \"{1}\" is not valid in {2}" msgstr "" "ne peut charger la variable \"{0}\", l'identifiant \"{1}\" n'est pas valide " "dans {2}" -#: src/rougail/user_datas.py:196 +#: src/rougail/user_datas.py:218 msgid "the variable \"{0}\" contains secrets and should not be defined in {1}" msgstr "" "la variable \"{0}\" contient des secrets et ne devrait pas être défini dans " "{1}" -#: src/rougail/user_datas.py:218 +#: src/rougail/user_datas.py:250 msgid "loaded from {0}" msgstr "chargée depuis {0}" -#: src/rougail/user_datas.py:258 +#: src/rougail/user_datas.py:280 msgid "" "cannot set the value \"{0}\" to the family {1}, it will be ignored when " "loading from {2}" @@ -517,7 +543,7 @@ msgstr "" "impossible de définir la valeur \"{0}\" à la famille {1}, elle sera ignorée " "lors du chargement depuis {0}" -#: src/rougail/user_datas.py:270 +#: src/rougail/user_datas.py:292 msgid "" "variable or family \"{0}\" does not exist, it will be ignored when loading " "from {1}" @@ -525,7 +551,7 @@ msgstr "" "la variable ou la famille \"{0}\" n'existe pas, elle sera ignorée lors du " "chargement depuis {1}" -#: src/rougail/user_datas.py:276 +#: src/rougail/user_datas.py:298 msgid "" "\"{0}\" is the name of a dynamic family, it will be ignored when loading " "from {1}" @@ -533,11 +559,11 @@ msgstr "" "\"{0}\" est le nom d'une famille dynamique, il sera ignoré lors du " "chargement depuis {1}" -#: src/rougail/user_datas.py:282 +#: src/rougail/user_datas.py:304 msgid "{0} loaded from {1}" msgstr "{0} chargée depuis {1}" -#: src/rougail/user_datas.py:311 +#: src/rougail/user_datas.py:334 msgid "" "variable {0} at index \"{1}\" is {2}, it will be ignored when loading from " "{3}" @@ -545,39 +571,39 @@ msgstr "" "la variable {0} à l'index \"{1}\" est {2}, elle sera ignorée lors du " "chargement depuis {3}" -#: src/rougail/user_datas.py:322 +#: src/rougail/user_datas.py:345 msgid "" "family {0} is {1}, {2} at index \"{3}\" will be ignored when loading from {4}" msgstr "" "la famille {0} est {1}, {2} à l'index \"{3}\" sera ignorée lors du " "chargement depuis {4}" -#: src/rougail/user_datas.py:335 +#: src/rougail/user_datas.py:358 msgid "variable {0} is {1}, it will be ignored when loading from {2}" msgstr "" "la variable {0} est {1}, elle sera ignorée lors du chargement depuis {2}" -#: src/rougail/user_datas.py:343 +#: src/rougail/user_datas.py:366 msgid "family {0} is {1}, {2} will be ignored when loading from {3}" msgstr "la famille {0} est {1}, {2} sera ignorée lors du chargement depuis {3}" -#: src/rougail/user_datas.py:362 +#: src/rougail/user_datas.py:386 msgid "" -"the value \"{0}\" is invalid for {1} at index \"{2}\", {3}, it will be " -"ignored when loading from {4}" +"the value \"{0}\" is an invalid {1} for {2} at index \"{3}\", {4}, it will " +"be ignored when loading from {5}" msgstr "" -"la valeur \"{0}\" n'est pas valide pour {1} à l'index \"{2}\", {3}, elle " -"sera ignorée lors du chargement depuis {4}" +"la valeur \"{0}\" est un invalide {1} pour {2} à l'index \"{3}\", {4}, elle " +"sera ignorée lors du chargement depuis {5}" -#: src/rougail/user_datas.py:373 +#: src/rougail/user_datas.py:401 msgid "" -"the value \"{0}\" is invalid for {1}, {2}, it will be ignored when loading " -"from {3}" +"the value \"{0}\" is an invalid {1} for {2}, {3}, it will be ignored when " +"loading from {4}" msgstr "" -"la valeur \"{0}\" n'est pas valide pour {1}, {2}, elle sera ignorée lors du " -"chargement depuis {3}" +"la valeur \"{0}\" est un invalide {1} pour {2}, {3}, elle sera ignorée lors " +"du chargement depuis {4}" -#: src/rougail/utils.py:55 +#: src/rougail/utils.py:56 msgid "" "invalid variable or family name \"{0}\" must only contains lowercase ascii " "character, number or _" @@ -585,10 +611,30 @@ msgstr "" "nom invalide pour la variable ou famille \"{0}\" doit seulement contenir des " "caractères ascii minuscule, nombre or _" -#: src/rougail/utils.py:113 +#: src/rougail/utils.py:103 msgid "error in jinja \"{0}\" for the variable \"{1}\": {2}" msgstr "erreur dans Jinja \"{0}\" pour la variable \"{1}\": {2}" +#: src/rougail/utils.py:212 +msgid "mandatory" +msgstr "obligatoire" + +#: src/rougail/utils.py:213 +msgid "hidden" +msgstr "cachée" + +#: src/rougail/utils.py:214 +msgid "disabled" +msgstr "désactivé" + +#: src/rougail/utils.py:215 +msgid "unique" +msgstr "unique" + +#: src/rougail/utils.py:216 +msgid "auto modified" +msgstr "auto modifiée" + #~ msgid "" #~ "the variable \"{0}\" is a family, so cannot set the value \"{1}\" in {2}" #~ msgstr "" @@ -618,9 +664,6 @@ msgstr "erreur dans Jinja \"{0}\" pour la variable \"{1}\": {2}" #~ "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" " #~ "n'est pas multiple mais n'est pas dans une liste" -#~ msgid "the variable \"{0}\" has an invalid attribute \"{1}\", it's a list" -#~ msgstr "la variable \"{0}\" a un attribut invalide \"{1}\", c'est une liste" - #~ msgid "" #~ "negative_description is mandatory for boolean variable, but \"{0}\" hasn't" #~ msgstr "" diff --git a/locale/rougail.pot b/locale/rougail.pot index afeb37be9..d206c2d98 100644 --- a/locale/rougail.pot +++ b/locale/rougail.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-05-12 08:52+0200\n" +"POT-Creation-Date: 2025-10-05 21:37+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -63,247 +63,261 @@ msgstr "" msgid "the variable \"{0}\" is a \"regexp\" variable but don't have any regexp" msgstr "" -#: src/rougail/annotator/variable.py:86 +#: src/rougail/annotator/variable.py:89 msgid "only \"unix_user\" or \"secret\" variable type can have \"secret_manager\" attribute, but \"{0}\" has type \"{1}\"" msgstr "" -#: src/rougail/annotator/variable.py:93 +#: src/rougail/annotator/variable.py:96 msgid "the variable \"{0}\" has attribute \"secret_manager\" but is a multi variable" msgstr "" -#: src/rougail/annotator/variable.py:98 +#: src/rougail/annotator/variable.py:101 msgid "the variable \"{0}\" has attribute \"secret_manager\" so must not have default value" msgstr "" -#: src/rougail/annotator/variable.py:227 +#: src/rougail/annotator/variable.py:253 msgid "the variable \"{0}\" has regexp attribut but has not the \"regexp\" type" msgstr "" -#: src/rougail/annotator/variable.py:270 +#: src/rougail/annotator/variable.py:296 msgid "the variable \"{0}\" has choices attribut but has not the \"choice\" type" msgstr "" -#: src/rougail/annotator/variable.py:298 +#: src/rougail/annotator/variable.py:324 msgid "the variable \"{0}\" has an unvalid default value \"{1}\" should be in {2}" msgstr "" -#: src/rougail/config.py:226 +#: src/rougail/config/__init__.py:235 msgid "Structure format version by default, if not specified in structure file" msgstr "" -#: src/rougail/config.py:234 +#: src/rougail/config/__init__.py:243 msgid "File with functions" msgstr "" -#: src/rougail/config.py:246 +#: src/rougail/config/__init__.py:255 msgid "All modes level available" msgstr "" -#: src/rougail/config.py:258 +#: src/rougail/config/__init__.py:267 msgid "Default mode for a family" msgstr "" -#: src/rougail/config.py:278 +#: src/rougail/config/__init__.py:287 msgid "Default mode for a variable" msgstr "" -#: src/rougail/config.py:302 +#: src/rougail/config/__init__.py:311 msgid "Option name for the base option" msgstr "" -#: src/rougail/config.py:307 +#: src/rougail/config/__init__.py:316 msgid "In cache file, do not importation of Tiramisu and other dependencies" msgstr "" -#: src/rougail/config.py:312 +#: src/rougail/config/__init__.py:321 msgid "Tiramisu cache filename" msgstr "" -#: src/rougail/config.py:320 +#: src/rougail/config/__init__.py:329 msgid "Name of internal functions that we can use as a function" msgstr "" -#: src/rougail/config.py:326 +#: src/rougail/config/__init__.py:335 msgid "Name of extra annotators" msgstr "" -#: src/rougail/config.py:332 +#: src/rougail/config/__init__.py:341 msgid "Suffix add to generated options name" msgstr "" -#: src/rougail/config.py:338 +#: src/rougail/config/__init__.py:347 msgid "Every variables in calculation are optionals" msgstr "" -#: src/rougail/config.py:342 +#: src/rougail/config/__init__.py:351 msgid "Loads redefine variables even if there don't already exists" msgstr "" -#: src/rougail/config.py:349 +#: src/rougail/config/__init__.py:358 msgid "The secret pattern to build item name in Bitwarden" msgstr "" -#: src/rougail/config.py:350 +#: src/rougail/config/__init__.py:359 msgid "The pattern is in Jinja format" msgstr "" -#: src/rougail/config.py:378 +#: src/rougail/config/__init__.py:387 msgid "Select for {0}" msgstr "" -#: src/rougail/config.py:458 +#: src/rougail/config/__init__.py:467 msgid "Override default parameters for option type" msgstr "" -#: src/rougail/config.py:461 +#: src/rougail/config/__init__.py:470 msgid "Default parameters for option type" msgstr "" -#: src/rougail/convert.py:280 +#: src/rougail/convert/convert.py:280 msgid "unknown type {0} for {1}" msgstr "" -#: src/rougail/convert.py:411 +#: src/rougail/convert/convert.py:418 msgid "family \"{0}\" define multiple time" msgstr "" -#: src/rougail/convert.py:668 +#: src/rougail/convert/convert.py:671 msgid "variable \"{0}\" define multiple time" msgstr "" -#: src/rougail/convert.py:766 +#: src/rougail/convert/convert.py:769 msgid "params must be a dict for {0}" msgstr "" -#: src/rougail/convert.py:787 +#: src/rougail/convert/convert.py:790 msgid "\"{0}\" has an invalid \"params\" for {1}: {2}" msgstr "" -#: src/rougail/convert.py:801 +#: src/rougail/convert/convert.py:804 msgid "secret_manager must be a dict for {0}" msgstr "" -#: src/rougail/convert.py:1129 +#: src/rougail/convert/convert.py:1133 msgid "Cannot execute annotate multiple time" msgstr "" -#: src/rougail/convert.py:1136 +#: src/rougail/convert/convert.py:1140 msgid "invalid \"structural\" definition ({0}), we cannot load any structural file!" msgstr "" -#: src/rougail/error.py:67 src/rougail/tiramisu.py:60 -#: src/rougail/user_datas.py:354 src/rougail/user_datas.py:357 -msgid "{0} in {1}" -msgstr "" - -#: src/rougail/object_model.py:50 -msgid "unknown boolean value \"{0}\"" -msgstr "" - -#: src/rougail/object_model.py:187 +#: src/rougail/convert/object_model.py:122 msgid "cannot find variable \"{0}\" defined in attribute \"{1}\" for \"{2}\"" msgstr "" -#: src/rougail/object_model.py:193 +#: src/rougail/convert/object_model.py:128 msgid "the variable \"{0}\" is in fact a family in attribute \"{1}\" for \"{2}\"" msgstr "" -#: src/rougail/object_model.py:198 src/rougail/object_model.py:525 +#: src/rougail/convert/object_model.py:133 +#: src/rougail/convert/object_model.py:468 msgid "unknown object \"{0}\" in attribute \"{1}\" for \"{2}\"" msgstr "" -#: src/rougail/object_model.py:217 +#: src/rougail/convert/object_model.py:152 msgid "identifier parameter for \"{0}\" in \"{1}\" cannot be set none dynamic family" msgstr "" -#: src/rougail/object_model.py:246 +#: src/rougail/convert/object_model.py:181 msgid "cannot find variable \"{0}\" defined in \"{1}\" for \"{2}\"" msgstr "" -#: src/rougail/object_model.py:251 +#: src/rougail/convert/object_model.py:186 msgid "variable \"{0}\" defined in \"{1}\" for \"{2}\" is a dynamic variable" msgstr "" -#: src/rougail/object_model.py:268 +#: src/rougail/convert/object_model.py:203 msgid "the variable \"{0}\" is not a follower, so cannot have index type for param in \"{1}\"" msgstr "" -#: src/rougail/object_model.py:520 +#: src/rougail/convert/object_model.py:463 msgid "a variable \"{0}\" is needs in attribute \"{1}\" for \"{2}\" but it's a family" msgstr "" -#: src/rougail/object_model.py:544 +#: src/rougail/convert/object_model.py:488 msgid "variable \"{0}\" has an attribute \"{1}\" calculated with the unknown variable \"{2}\"" msgstr "" -#: src/rougail/object_model.py:593 +#: src/rougail/convert/object_model.py:540 msgid "the variable \"{0}\" has an invalid \"{1}\" the variable \"{2}\" is in a sub dynamic option" msgstr "" -#: src/rougail/object_model.py:602 +#: src/rougail/convert/object_model.py:549 msgid "the leader \"{0}\" has an invalid \"{1}\" the follower \"{2}\" is a multi" msgstr "" -#: src/rougail/object_model.py:644 +#: src/rougail/convert/object_model.py:591 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" must not be multi" msgstr "" -#: src/rougail/object_model.py:658 +#: src/rougail/convert/object_model.py:605 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", the variable must not be a multi or the variable \"{2}\" must be multi" msgstr "" -#: src/rougail/object_model.py:672 +#: src/rougail/convert/object_model.py:619 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", the variable must be a multi or the variable \"{2}\" must not be multi" msgstr "" -#: src/rougail/object_model.py:686 +#: src/rougail/convert/object_model.py:633 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" is multi but is inside a list" msgstr "" -#: src/rougail/object_model.py:704 -msgid "\"{0}\" attribut shall not have an \"optional\" attribute for variable \"{1}\"" +#: src/rougail/convert/object_model.py:655 +msgid "the variable \"{0}\" is waiting for a list as \"{1}\" but the attribute \"default\" is not a list (\"{2}\")" msgstr "" -#: src/rougail/object_model.py:724 +#: src/rougail/convert/object_model.py:657 +msgid "the variable \"{0}\" is not waiting for a list as \"{1}\" but the attribute \"default\" is a list (\"{2}\")" +msgstr "" + +#: src/rougail/convert/object_model.py:673 +msgid "\"{0}\" attribut shall not have an \"optional\" attribute without the \"default\" attribute for variable \"{1}\"" +msgstr "" + +#: src/rougail/convert/object_model.py:697 msgid "variable \"{0}\" has a default value calculated with \"{1}\" which has incompatible type" msgstr "" -#: src/rougail/object_model.py:770 +#: src/rougail/convert/object_model.py:740 +msgid "the variable \"{0}\" is waiting for a boolean as \"{1}\" but the attribute \"default\" is not a boolean (\"{2}\")" +msgstr "" + +#: src/rougail/convert/object_model.py:760 msgid "\"when\" is not allowed in format version 1.0 for attribute \"{0}\" for variable \"{1}\"" msgstr "" -#: src/rougail/object_model.py:775 +#: src/rougail/convert/object_model.py:765 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", \"when\" and \"when_not\" cannot set together" msgstr "" -#: src/rougail/object_model.py:783 +#: src/rougail/convert/object_model.py:773 msgid "\"when_not\" is not allowed in format version 1.0 for attribute \"{0}\" for variable \"{1}\"" msgstr "" -#: src/rougail/object_model.py:840 +#: src/rougail/convert/object_model.py:829 msgid "cannot find variable \"{0}\" for the information \"{1}\" when calculating \"{2}\"" msgstr "" -#: src/rougail/object_model.py:845 +#: src/rougail/convert/object_model.py:834 msgid "identifier not allowed for the information \"{0}\" when calculating \"{1}\"" msgstr "" -#: src/rougail/object_model.py:898 +#: src/rougail/convert/object_model.py:886 msgid "\"when\" is not allowed in format version 1.0 for attribute \"{0}\"" msgstr "" -#: src/rougail/object_model.py:904 src/rougail/object_model.py:914 +#: src/rougail/convert/object_model.py:892 +#: src/rougail/convert/object_model.py:902 msgid "the identifier has an invalid attribute \"{0}\", \"when\" and \"when_not\" cannot set together" msgstr "" -#: src/rougail/object_model.py:939 +#: src/rougail/convert/object_model.py:928 msgid "the variable \"{0}\" is not a follower, so cannot have index type for \"{1}\"" msgstr "" -#: src/rougail/path.py:207 +#: src/rougail/convert/path.py:207 msgid "A variable or a family located in the \"{0}\" namespace shall not be used in the \"{1}\" namespace" msgstr "" +#: src/rougail/convert/tiramisureflector.py:352 +msgid "internal error, {0} is not a dynamic variable" +msgstr "" + +#: src/rougail/error.py:61 src/rougail/tiramisu.py:157 +#: src/rougail/user_datas.py:399 src/rougail/user_datas.py:402 +msgid "{0} in {1}" +msgstr "" + #: src/rougail/structural_commandline/annotator.py:66 msgid "alternative_name \"{0}\" conflict with \"--help\"" msgstr "" @@ -313,15 +327,15 @@ msgid "conflict alternative_name \"{0}\": \"{1}\" and \"{2}\"" msgstr "" #: src/rougail/structural_directory/__init__.py:127 -msgid "duplicate dictionary file name {0}" +msgid "duplicate structural file name {0}" msgstr "" #: src/rougail/structural_directory/config.py:32 -msgid "Directories where dictionary files are placed" +msgid "Directories where structural files are placed" msgstr "" #: src/rougail/structural_directory/config.py:49 -msgid "Sort dictionaries from differents directories" +msgid "Sort structural from differents directories" msgstr "" #: src/rougail/structural_directory/config.py:58 @@ -337,74 +351,94 @@ msgid "Extra namespace name" msgstr "" #: src/rougail/structural_directory/config.py:84 -msgid "Directories where extra dictionary files are placed" +msgid "Directories where extra structural files are placed" msgstr "" -#: src/rougail/tiramisu.py:187 +#: src/rougail/tiramisu.py:78 +msgid "unknown boolean value \"{0}\"" +msgstr "" + +#: src/rougail/tiramisu.py:330 msgid "cannot calculating \"{0}\" attribute for variable \"{1}\" in {2} with parameters \"{3}\": {4}" msgstr "" -#: src/rougail/tiramisureflector.py:363 -msgid "internal error, {0} is not a dynamic variable" -msgstr "" - -#: src/rougail/user_datas.py:118 +#: src/rougail/user_datas.py:141 msgid "cannot load variable path \"{0}\", the identifier \"{1}\" is not valid in {2}" msgstr "" -#: src/rougail/user_datas.py:196 +#: src/rougail/user_datas.py:227 msgid "the variable \"{0}\" contains secrets and should not be defined in {1}" msgstr "" -#: src/rougail/user_datas.py:218 +#: src/rougail/user_datas.py:265 msgid "loaded from {0}" msgstr "" -#: src/rougail/user_datas.py:258 +#: src/rougail/user_datas.py:304 msgid "cannot set the value \"{0}\" to the family {1}, it will be ignored when loading from {2}" msgstr "" -#: src/rougail/user_datas.py:270 +#: src/rougail/user_datas.py:316 msgid "variable or family \"{0}\" does not exist, it will be ignored when loading from {1}" msgstr "" -#: src/rougail/user_datas.py:276 +#: src/rougail/user_datas.py:322 msgid "\"{0}\" is the name of a dynamic family, it will be ignored when loading from {1}" msgstr "" -#: src/rougail/user_datas.py:282 +#: src/rougail/user_datas.py:328 msgid "{0} loaded from {1}" msgstr "" -#: src/rougail/user_datas.py:311 +#: src/rougail/user_datas.py:356 msgid "variable {0} at index \"{1}\" is {2}, it will be ignored when loading from {3}" msgstr "" -#: src/rougail/user_datas.py:322 +#: src/rougail/user_datas.py:367 msgid "family {0} is {1}, {2} at index \"{3}\" will be ignored when loading from {4}" msgstr "" -#: src/rougail/user_datas.py:335 +#: src/rougail/user_datas.py:380 msgid "variable {0} is {1}, it will be ignored when loading from {2}" msgstr "" -#: src/rougail/user_datas.py:343 +#: src/rougail/user_datas.py:388 msgid "family {0} is {1}, {2} will be ignored when loading from {3}" msgstr "" -#: src/rougail/user_datas.py:362 -msgid "the value \"{0}\" is invalid for {1} at index \"{2}\", {3}, it will be ignored when loading from {4}" +#: src/rougail/user_datas.py:408 +msgid "the value \"{0}\" is an invalid {1} for {2} at index \"{3}\", {4}, it will be ignored when loading from {5}" msgstr "" -#: src/rougail/user_datas.py:373 -msgid "the value \"{0}\" is invalid for {1}, {2}, it will be ignored when loading from {3}" +#: src/rougail/user_datas.py:422 +msgid "the value \"{0}\" is an invalid {1} for {2}, {3}, it will be ignored when loading from {4}" msgstr "" -#: src/rougail/utils.py:55 +#: src/rougail/utils.py:56 msgid "invalid variable or family name \"{0}\" must only contains lowercase ascii character, number or _" msgstr "" -#: src/rougail/utils.py:113 +#: src/rougail/utils.py:103 msgid "error in jinja \"{0}\" for the variable \"{1}\": {2}" msgstr "" +#: src/rougail/utils.py:212 +msgid "mandatory" +msgstr "" + +#: src/rougail/utils.py:213 +msgid "hidden" +msgstr "" + +#: src/rougail/utils.py:214 +msgid "disabled" +msgstr "" + +#: src/rougail/utils.py:215 +msgid "unique" +msgstr "" + +#: src/rougail/utils.py:216 +msgid "auto modified" +msgstr "" + diff --git a/src/rougail/locale/fr/LC_MESSAGES/rougail.mo b/src/rougail/locale/fr/LC_MESSAGES/rougail.mo index b201d2f17..398c60062 100644 Binary files a/src/rougail/locale/fr/LC_MESSAGES/rougail.mo and b/src/rougail/locale/fr/LC_MESSAGES/rougail.mo differ diff --git a/src/rougail/utils.py b/src/rougail/utils.py index 44e393e26..7d3a8b5c9 100644 --- a/src/rougail/utils.py +++ b/src/rougail/utils.py @@ -207,4 +207,15 @@ class Undefined: pass +def get_properties_to_string(): + return [ + ("mandatory", _("mandatory")), + ("hidden", _("hidden")), + ("disabled", _("disabled")), + ("unique", _("unique")), + ("force_store_value", _("auto modified")), + ] + + + undefined = Undefined()