From cc790bb930b848294b6a2407d83c5ac5936cf6f5 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 26 Oct 2025 15:29:31 +0100 Subject: [PATCH] fix: update translation --- locale/fr/LC_MESSAGES/rougail.po | 194 +++++++++++-------- locale/rougail.pot | 142 ++++++++------ src/rougail/annotator/property.py | 2 +- src/rougail/locale/fr/LC_MESSAGES/rougail.mo | Bin 16467 -> 17158 bytes 4 files changed, 196 insertions(+), 142 deletions(-) diff --git a/locale/fr/LC_MESSAGES/rougail.po b/locale/fr/LC_MESSAGES/rougail.po index a76ad4539..982500bf5 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-10-04 16:06+0200\n" -"PO-Revision-Date: 2025-10-04 16:06+0200\n" +"POT-Creation-Date: 2025-10-26 15:26+0100\n" +"PO-Revision-Date: 2025-10-26 15:28+0100\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -16,31 +16,31 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.7\n" -#: src/rougail/annotator/family.py:150 +#: src/rougail/annotator/family.py:151 msgid "default variable mode \"{0}\" is not a valid mode, valid modes are {1}" msgstr "" "le mode d'une variable par défaut \"{0}\" n'est pas un mode valide, les " "modes valides sont {1}" -#: src/rougail/annotator/family.py:156 +#: src/rougail/annotator/family.py:157 msgid "default family mode \"{0}\" is not a valid mode, valid modes are {1}" msgstr "" "le mode d'une famille par défaut \"{0}\" n'est pas un mode valide, les modes " "valides sont {1}" -#: src/rougail/annotator/family.py:188 +#: src/rougail/annotator/family.py:189 msgid "mode \"{0}\" for \"{1}\" is not a valid mode, valid modes are {2}" msgstr "" "le mode \"{0}\" pour \"{1}\" n'est pas un mode valide, les modes valides " "sont {2}" -#: src/rougail/annotator/family.py:192 +#: src/rougail/annotator/family.py:193 msgid "mode \"{0}\" for \"{1}\" is not a valid mode, no modes are available" msgstr "" "le mode \"{0}\" pour \"{1}\" n'est pas un mode valide, aucun mode ne sont " "définis" -#: src/rougail/annotator/family.py:256 +#: src/rougail/annotator/family.py:257 msgid "" "the variable \"{0}\" is mandatory so in \"{1}\" mode but family has the " "higher family mode \"{2}\"" @@ -48,7 +48,7 @@ msgstr "" "la variable \"{0}\" est obligatoire, donc en mode \"{1}\", mais la famille a " "un mode supérieur \"{2}\"" -#: src/rougail/annotator/family.py:294 +#: src/rougail/annotator/family.py:295 msgid "" "the follower \"{0}\" is in \"{1}\" mode but leader have the higher mode " "\"{2}\"" @@ -56,7 +56,7 @@ msgstr "" "la variable suiveuse \"{0}\" a le mode \"{1}\" mais la variable leader a un " "mode supérieur \"{2}\"" -#: src/rougail/annotator/family.py:327 +#: src/rougail/annotator/family.py:328 msgid "" "the family \"{0}\" is in \"{1}\" mode but variables and families inside have " "the higher modes \"{2}\"" @@ -64,7 +64,7 @@ msgstr "" "la famille \"{0}\" a le mode \"{1}\" mais les variables et les familles à " "l'intérieur ont des modes supérieurs \"{2}\"" -#: src/rougail/annotator/family.py:345 +#: src/rougail/annotator/family.py:346 msgid "" "the variable \"{0}\" is in \"{1}\" mode but family has the higher family " "mode \"{2}\"" @@ -72,6 +72,28 @@ msgstr "" "la variable \"{0}\" est dans le mode \"{1}\" mais la famille a le mode " "supérieur \"{2}\"" +#: src/rougail/annotator/property.py:158 +msgid "" +"invalid tag name \"{0}\" should only contains lowercase ascii character, " +"number or _" +msgstr "" +"nom de l'étiquette invalide \"{0}\" doit seulement contenir des caractères " +"ascii minuscule, nombre or _" + +#: src/rougail/annotator/property.py:163 +msgid "invalid tag name \"{0}\" should not be a name of an existing mode" +msgstr "" +"nom de l'étiquette invalide \"{0}\" ne doit pas être un nom de mode existant" + +#: src/rougail/annotator/property.py:168 +#, fuzzy +#| msgid "" +#| "invalid tag name \"{0}\" should not be name of an available proprerties" +msgid "invalid tag name \"{0}\" should not be name of an available properties" +msgstr "" +"nom de l'étiquette invalide \"{0}\" ne doit pas être le nom d'une propriétés " +"existantes" + #: src/rougail/annotator/value.py:78 msgid "" "the follower \"{0}\" is not multi, so cannot have a list has default value" @@ -117,129 +139,129 @@ msgstr "" "la variable \"{0}\" a l'attribut \"secret_manager\" donc ne devrait pas " "avoir de valeur par défaut" -#: src/rougail/annotator/variable.py:253 +#: src/rougail/annotator/variable.py:254 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:296 +#: src/rougail/annotator/variable.py:297 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:324 +#: src/rougail/annotator/variable.py:325 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/__init__.py:226 +#: src/rougail/config/__init__.py:235 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/__init__.py:234 +#: src/rougail/config/__init__.py:243 msgid "File with functions" msgstr "Fichier avec les fonctions" -#: src/rougail/config/__init__.py:246 +#: src/rougail/config/__init__.py:255 msgid "All modes level available" msgstr "Tous les niveaux de modes valides" -#: src/rougail/config/__init__.py:258 +#: src/rougail/config/__init__.py:267 msgid "Default mode for a family" msgstr "Mode par défaut pour une famille" -#: src/rougail/config/__init__.py:278 +#: src/rougail/config/__init__.py:287 msgid "Default mode for a variable" msgstr "Mode par défaut pour une variable" -#: src/rougail/config/__init__.py:302 +#: src/rougail/config/__init__.py:311 msgid "Option name for the base option" msgstr "Nom de l'option pour l'option de base" -#: src/rougail/config/__init__.py:307 +#: src/rougail/config/__init__.py:316 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/__init__.py:312 +#: src/rougail/config/__init__.py:321 msgid "Tiramisu cache filename" msgstr "Nom du fichier du cache Tiramisu" -#: src/rougail/config/__init__.py:320 +#: src/rougail/config/__init__.py:329 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/__init__.py:326 +#: src/rougail/config/__init__.py:335 msgid "Name of extra annotators" msgstr "Nom des annotators supplémentaires" -#: src/rougail/config/__init__.py:332 +#: src/rougail/config/__init__.py:341 msgid "Suffix add to generated options name" msgstr "Suffix ajouté pour généré le nom des options" -#: src/rougail/config/__init__.py:338 +#: src/rougail/config/__init__.py:347 msgid "Every variables in calculation are optionals" msgstr "Toutes les variables dans un calcul sont optionnelles" -#: src/rougail/config/__init__.py:342 +#: src/rougail/config/__init__.py:351 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/__init__.py:349 +#: src/rougail/config/__init__.py:358 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/__init__.py:350 +#: src/rougail/config/__init__.py:359 msgid "The pattern is in Jinja format" msgstr "Le patron est au format Jinja" -#: src/rougail/config/__init__.py:378 +#: src/rougail/config/__init__.py:387 msgid "Select for {0}" msgstr "Sélection pour {0}" -#: src/rougail/config/__init__.py:458 +#: src/rougail/config/__init__.py:467 msgid "Override default parameters for option type" msgstr "Sur charger les paramètre par défaut pour le type d'option" -#: src/rougail/config/__init__.py:461 +#: src/rougail/config/__init__.py:470 msgid "Default parameters for option type" msgstr "Paramètre par défaut pour le type d'option" -#: src/rougail/convert/convert.py:280 +#: src/rougail/convert/convert.py:281 msgid "unknown type {0} for {1}" msgstr "type {0} inconnu pour {1}" -#: src/rougail/convert/convert.py:418 +#: src/rougail/convert/convert.py:419 msgid "family \"{0}\" define multiple time" msgstr "la famille \"{0}\" est définit plusieurs fois" -#: src/rougail/convert/convert.py:671 +#: src/rougail/convert/convert.py:672 msgid "variable \"{0}\" define multiple time" msgstr "la variable \"{0}\" est définit plusieurs fois" -#: src/rougail/convert/convert.py:769 +#: src/rougail/convert/convert.py:770 msgid "params must be a dict for {0}" msgstr "params doit être une dict pour {0}" -#: src/rougail/convert/convert.py:790 +#: src/rougail/convert/convert.py:791 msgid "\"{0}\" has an invalid \"params\" for {1}: {2}" msgstr "\"{0}\" a un attribut \"params\" invalide pour {1}: {2}" -#: src/rougail/convert/convert.py:804 +#: src/rougail/convert/convert.py:805 msgid "secret_manager must be a dict for {0}" msgstr "secret_manager doit être une dict pour {0}" -#: src/rougail/convert/convert.py:1133 +#: src/rougail/convert/convert.py:1134 msgid "Cannot execute annotate multiple time" msgstr "Ne peut exécuter l'annotation plusieurs fois" -#: src/rougail/convert/convert.py:1140 +#: src/rougail/convert/convert.py:1141 msgid "" "invalid \"structural\" definition ({0}), we cannot load any structural file!" msgstr "" @@ -260,7 +282,7 @@ msgstr "" "\"{2}\"" #: src/rougail/convert/object_model.py:133 -#: src/rougail/convert/object_model.py:468 +#: src/rougail/convert/object_model.py:479 msgid "unknown object \"{0}\" in attribute \"{1}\" for \"{2}\"" msgstr "objet inconnu \"{0}\" dans l'attribut \"{1}\" pour \"{2}\"" @@ -289,7 +311,15 @@ msgstr "" "la variable \"{0}\" n'est pas suiveuse, donc ne peut avoir de type index " "comme paramètre dans \"{1}\"" -#: src/rougail/convert/object_model.py:463 +#: src/rougail/convert/object_model.py:405 +msgid "" +"variable \"{0}\" has a calculating \"{1}\" with an invalid return_type, " +"should be boolean or string, not \"{2}\"" +msgstr "" +"la variable \"{0}\" a un calcul \"{1}\" avec un return_type invalide, " +"devrait être un booléen ou une chaîne de caractère, et pas \"{2}\"" + +#: src/rougail/convert/object_model.py:474 msgid "" "a variable \"{0}\" is needs in attribute \"{1}\" for \"{2}\" but it's a " "family" @@ -297,7 +327,7 @@ msgstr "" "une variable \"{0}\" est nécessaire pour l'attribut \"{1}\" pour \"{2}\" " "mais c'est une famille" -#: src/rougail/convert/object_model.py:488 +#: src/rougail/convert/object_model.py:499 msgid "" "variable \"{0}\" has an attribute \"{1}\" calculated with the unknown " "variable \"{2}\"" @@ -305,7 +335,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\" calculé avec la variable " "inconnue \"{2}\"" -#: src/rougail/convert/object_model.py:540 +#: src/rougail/convert/object_model.py:551 msgid "" "the variable \"{0}\" has an invalid \"{1}\" the variable \"{2}\" is in a sub " "dynamic option" @@ -313,14 +343,14 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" est " "dans une sous option dynamique" -#: src/rougail/convert/object_model.py:549 +#: src/rougail/convert/object_model.py:560 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/convert/object_model.py:591 +#: src/rougail/convert/object_model.py:602 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" " "must not be multi" @@ -328,7 +358,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" ne " "doit pas être multiple" -#: src/rougail/convert/object_model.py:605 +#: src/rougail/convert/object_model.py:616 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable must not " "be a multi or the variable \"{2}\" must be multi" @@ -336,7 +366,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/convert/object_model.py:619 +#: src/rougail/convert/object_model.py:630 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable must be " "a multi or the variable \"{2}\" must not be multi" @@ -344,7 +374,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/convert/object_model.py:633 +#: src/rougail/convert/object_model.py:644 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" " "is multi but is inside a list" @@ -352,7 +382,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", la variable \"{2}\" est " "multiple mais est dans une liste" -#: src/rougail/convert/object_model.py:655 +#: src/rougail/convert/object_model.py:666 msgid "" "the variable \"{0}\" is waiting for a list as \"{1}\" but the attribute " "\"default\" is not a list (\"{2}\")" @@ -360,7 +390,7 @@ msgstr "" "la variable \"{0}\" attend une liste comme \"{1}\" mais l'attribut " "\"default\" n'est pas une liste \"{2}\"" -#: src/rougail/convert/object_model.py:657 +#: src/rougail/convert/object_model.py:668 msgid "" "the variable \"{0}\" is not waiting for a list as \"{1}\" but the attribute " "\"default\" is a list (\"{2}\")" @@ -368,7 +398,7 @@ 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 +#: src/rougail/convert/object_model.py:684 msgid "" "\"{0}\" attribut shall not have an \"optional\" attribute without the " "\"default\" attribute for variable \"{1}\"" @@ -376,7 +406,7 @@ 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 +#: src/rougail/convert/object_model.py:708 msgid "" "variable \"{0}\" has a default value calculated with \"{1}\" which has " "incompatible type" @@ -384,7 +414,7 @@ msgstr "" "la variable \"{0}\" a une valeur par défaut calculé a partir de \"{1}\" " "laquelle a un type incompatible" -#: src/rougail/convert/object_model.py:740 +#: src/rougail/convert/object_model.py:751 msgid "" "the variable \"{0}\" is waiting for a boolean as \"{1}\" but the attribute " "\"default\" is not a boolean (\"{2}\")" @@ -392,7 +422,7 @@ 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 +#: src/rougail/convert/object_model.py:771 msgid "" "\"when\" is not allowed in format version 1.0 for attribute \"{0}\" for " "variable \"{1}\"" @@ -400,7 +430,7 @@ msgstr "" "\"when\" n'est pas autorisé avec le format en version 1.0 pour l'attribut " "\"{0}\" pour la variable \"{1}\"" -#: src/rougail/convert/object_model.py:765 +#: src/rougail/convert/object_model.py:776 msgid "" "the variable \"{0}\" has an invalid attribute \"{1}\", \"when\" and " "\"when_not\" cannot set together" @@ -408,7 +438,7 @@ msgstr "" "la variable \"{0}\" a un attribut invalide \"{1}\", \"when\" et \"when_not\" " "ne peuvent pas être défini ensemble" -#: src/rougail/convert/object_model.py:773 +#: src/rougail/convert/object_model.py:784 msgid "" "\"when_not\" is not allowed in format version 1.0 for attribute \"{0}\" for " "variable \"{1}\"" @@ -416,7 +446,7 @@ msgstr "" "\"when_not\" n'est pas autorisé au format 1.0 pour l'attribut \"{0}\" pour " "la variable variable \"{1}\"" -#: src/rougail/convert/object_model.py:829 +#: src/rougail/convert/object_model.py:840 msgid "" "cannot find variable \"{0}\" for the information \"{1}\" when calculating " "\"{2}\"" @@ -424,19 +454,19 @@ msgstr "" "ne peut trouver la variable \"{0}\" pour l'information \"{1}\" lors du " "calcul de \"{2}\"" -#: src/rougail/convert/object_model.py:834 +#: src/rougail/convert/object_model.py:845 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/convert/object_model.py:886 +#: src/rougail/convert/object_model.py:897 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/convert/object_model.py:892 -#: src/rougail/convert/object_model.py:902 +#: src/rougail/convert/object_model.py:903 +#: src/rougail/convert/object_model.py:913 msgid "" "the identifier has an invalid attribute \"{0}\", \"when\" and \"when_not\" " "cannot set together" @@ -444,14 +474,14 @@ msgstr "" "l'identifiant a un attribut invalide \"{0}\", \"when\" et \"when_not\" ne " "peuvent pas être défini ensemble" -#: src/rougail/convert/object_model.py:928 +#: src/rougail/convert/object_model.py:939 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/convert/path.py:207 +#: src/rougail/convert/path.py:211 msgid "" "A variable or a family located in the \"{0}\" namespace shall not be used in " "the \"{1}\" namespace" @@ -464,7 +494,7 @@ 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 +#: src/rougail/user_datas.py:392 src/rougail/user_datas.py:395 msgid "{0} in {1}" msgstr "{0} dans {1}" @@ -476,7 +506,7 @@ msgstr "alternative_name \"{0}\" est en conflit avec \"--help\"" 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 +#: src/rougail/structural_directory/__init__.py:129 msgid "duplicate structural file name {0}" msgstr "nom de fichier {0} de structure dupliqué" @@ -493,14 +523,18 @@ msgid "Main namespace name" msgstr "Nom de l'espace de nom principal" #: src/rougail/structural_directory/config.py:69 +msgid "Namespaces are isolated" +msgstr "Les espaces de noms sont isolés" + +#: src/rougail/structural_directory/config.py:78 msgid "Extra namespaces" msgstr "Espaces de nom supplémentaires" -#: src/rougail/structural_directory/config.py:78 +#: src/rougail/structural_directory/config.py:87 msgid "Extra namespace name" msgstr "Nom de l'espace de nom supplémentaire" -#: src/rougail/structural_directory/config.py:84 +#: src/rougail/structural_directory/config.py:93 msgid "Directories where extra structural files are placed" msgstr "" "Répertoires où sont placés les fichiers de structure de l'espace de nom " @@ -518,7 +552,7 @@ msgstr "" "ne peut calculer l'attribut \"{0}\" pour la variable \"{1}\" dans {2} avec " "les paramètres \"{3}\" : {4}" -#: src/rougail/user_datas.py:137 +#: src/rougail/user_datas.py:135 msgid "" "cannot load variable path \"{0}\", the identifier \"{1}\" is not valid in {2}" msgstr "" @@ -531,19 +565,19 @@ msgstr "" "la variable \"{0}\" contient des secrets et ne devrait pas être défini dans " "{1}" -#: src/rougail/user_datas.py:250 +#: src/rougail/user_datas.py:257 msgid "loaded from {0}" msgstr "chargée depuis {0}" -#: src/rougail/user_datas.py:280 +#: src/rougail/user_datas.py:297 msgid "" "cannot set the value \"{0}\" to the family {1}, it will be ignored when " "loading from {2}" msgstr "" "impossible de définir la valeur \"{0}\" à la famille {1}, elle sera ignorée " -"lors du chargement depuis {0}" +"lors du chargement depuis {2}" -#: src/rougail/user_datas.py:292 +#: src/rougail/user_datas.py:309 msgid "" "variable or family \"{0}\" does not exist, it will be ignored when loading " "from {1}" @@ -551,7 +585,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:298 +#: src/rougail/user_datas.py:315 msgid "" "\"{0}\" is the name of a dynamic family, it will be ignored when loading " "from {1}" @@ -559,11 +593,11 @@ msgstr "" "\"{0}\" est le nom d'une famille dynamique, il sera ignoré lors du " "chargement depuis {1}" -#: src/rougail/user_datas.py:304 +#: src/rougail/user_datas.py:321 msgid "{0} loaded from {1}" msgstr "{0} chargée depuis {1}" -#: src/rougail/user_datas.py:334 +#: src/rougail/user_datas.py:349 msgid "" "variable {0} at index \"{1}\" is {2}, it will be ignored when loading from " "{3}" @@ -571,23 +605,23 @@ msgstr "" "la variable {0} à l'index \"{1}\" est {2}, elle sera ignorée lors du " "chargement depuis {3}" -#: src/rougail/user_datas.py:345 +#: src/rougail/user_datas.py:360 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:358 +#: src/rougail/user_datas.py:373 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:366 +#: src/rougail/user_datas.py:381 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:386 +#: src/rougail/user_datas.py:401 msgid "" "the value \"{0}\" is an invalid {1} for {2} at index \"{3}\", {4}, it will " "be ignored when loading from {5}" @@ -595,7 +629,7 @@ msgstr "" "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:401 +#: src/rougail/user_datas.py:415 msgid "" "the value \"{0}\" is an invalid {1} for {2}, {3}, it will be ignored when " "loading from {4}" diff --git a/locale/rougail.pot b/locale/rougail.pot index d206c2d98..df2bb5481 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-10-05 21:37+0200\n" +"POT-Creation-Date: 2025-10-26 15:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,38 +15,50 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: src/rougail/annotator/family.py:150 +#: src/rougail/annotator/family.py:151 msgid "default variable mode \"{0}\" is not a valid mode, valid modes are {1}" msgstr "" -#: src/rougail/annotator/family.py:156 +#: src/rougail/annotator/family.py:157 msgid "default family mode \"{0}\" is not a valid mode, valid modes are {1}" msgstr "" -#: src/rougail/annotator/family.py:188 +#: src/rougail/annotator/family.py:189 msgid "mode \"{0}\" for \"{1}\" is not a valid mode, valid modes are {2}" msgstr "" -#: src/rougail/annotator/family.py:192 +#: src/rougail/annotator/family.py:193 msgid "mode \"{0}\" for \"{1}\" is not a valid mode, no modes are available" msgstr "" -#: src/rougail/annotator/family.py:256 +#: src/rougail/annotator/family.py:257 msgid "the variable \"{0}\" is mandatory so in \"{1}\" mode but family has the higher family mode \"{2}\"" msgstr "" -#: src/rougail/annotator/family.py:294 +#: src/rougail/annotator/family.py:295 msgid "the follower \"{0}\" is in \"{1}\" mode but leader have the higher mode \"{2}\"" msgstr "" -#: src/rougail/annotator/family.py:327 +#: src/rougail/annotator/family.py:328 msgid "the family \"{0}\" is in \"{1}\" mode but variables and families inside have the higher modes \"{2}\"" msgstr "" -#: src/rougail/annotator/family.py:345 +#: src/rougail/annotator/family.py:346 msgid "the variable \"{0}\" is in \"{1}\" mode but family has the higher family mode \"{2}\"" msgstr "" +#: src/rougail/annotator/property.py:158 +msgid "invalid tag name \"{0}\" should only contains lowercase ascii character, number or _" +msgstr "" + +#: src/rougail/annotator/property.py:163 +msgid "invalid tag name \"{0}\" should not be a name of an existing mode" +msgstr "" + +#: src/rougail/annotator/property.py:168 +msgid "invalid tag name \"{0}\" should not be name of an available properties" +msgstr "" + #: src/rougail/annotator/value.py:78 msgid "the follower \"{0}\" is not multi, so cannot have a list has default value" msgstr "" @@ -75,15 +87,15 @@ msgstr "" msgid "the variable \"{0}\" has attribute \"secret_manager\" so must not have default value" msgstr "" -#: src/rougail/annotator/variable.py:253 +#: src/rougail/annotator/variable.py:254 msgid "the variable \"{0}\" has regexp attribut but has not the \"regexp\" type" msgstr "" -#: src/rougail/annotator/variable.py:296 +#: src/rougail/annotator/variable.py:297 msgid "the variable \"{0}\" has choices attribut but has not the \"choice\" type" msgstr "" -#: src/rougail/annotator/variable.py:324 +#: src/rougail/annotator/variable.py:325 msgid "the variable \"{0}\" has an unvalid default value \"{1}\" should be in {2}" msgstr "" @@ -159,35 +171,35 @@ msgstr "" msgid "Default parameters for option type" msgstr "" -#: src/rougail/convert/convert.py:280 +#: src/rougail/convert/convert.py:281 msgid "unknown type {0} for {1}" msgstr "" -#: src/rougail/convert/convert.py:418 +#: src/rougail/convert/convert.py:419 msgid "family \"{0}\" define multiple time" msgstr "" -#: src/rougail/convert/convert.py:671 +#: src/rougail/convert/convert.py:672 msgid "variable \"{0}\" define multiple time" msgstr "" -#: src/rougail/convert/convert.py:769 +#: src/rougail/convert/convert.py:770 msgid "params must be a dict for {0}" msgstr "" -#: src/rougail/convert/convert.py:790 +#: src/rougail/convert/convert.py:791 msgid "\"{0}\" has an invalid \"params\" for {1}: {2}" msgstr "" -#: src/rougail/convert/convert.py:804 +#: src/rougail/convert/convert.py:805 msgid "secret_manager must be a dict for {0}" msgstr "" -#: src/rougail/convert/convert.py:1133 +#: src/rougail/convert/convert.py:1134 msgid "Cannot execute annotate multiple time" msgstr "" -#: src/rougail/convert/convert.py:1140 +#: src/rougail/convert/convert.py:1141 msgid "invalid \"structural\" definition ({0}), we cannot load any structural file!" msgstr "" @@ -200,7 +212,7 @@ msgid "the variable \"{0}\" is in fact a family in attribute \"{1}\" for \"{2}\" msgstr "" #: src/rougail/convert/object_model.py:133 -#: src/rougail/convert/object_model.py:468 +#: src/rougail/convert/object_model.py:479 msgid "unknown object \"{0}\" in attribute \"{1}\" for \"{2}\"" msgstr "" @@ -220,92 +232,96 @@ msgstr "" msgid "the variable \"{0}\" is not a follower, so cannot have index type for param in \"{1}\"" msgstr "" -#: src/rougail/convert/object_model.py:463 +#: src/rougail/convert/object_model.py:405 +msgid "variable \"{0}\" has a calculating \"{1}\" with an invalid return_type, should be boolean or string, not \"{2}\"" +msgstr "" + +#: src/rougail/convert/object_model.py:474 msgid "a variable \"{0}\" is needs in attribute \"{1}\" for \"{2}\" but it's a family" msgstr "" -#: src/rougail/convert/object_model.py:488 +#: src/rougail/convert/object_model.py:499 msgid "variable \"{0}\" has an attribute \"{1}\" calculated with the unknown variable \"{2}\"" msgstr "" -#: src/rougail/convert/object_model.py:540 +#: src/rougail/convert/object_model.py:551 msgid "the variable \"{0}\" has an invalid \"{1}\" the variable \"{2}\" is in a sub dynamic option" msgstr "" -#: src/rougail/convert/object_model.py:549 +#: src/rougail/convert/object_model.py:560 msgid "the leader \"{0}\" has an invalid \"{1}\" the follower \"{2}\" is a multi" msgstr "" -#: src/rougail/convert/object_model.py:591 +#: src/rougail/convert/object_model.py:602 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" must not be multi" msgstr "" -#: src/rougail/convert/object_model.py:605 +#: src/rougail/convert/object_model.py:616 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/convert/object_model.py:619 +#: src/rougail/convert/object_model.py:630 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/convert/object_model.py:633 +#: src/rougail/convert/object_model.py:644 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", the variable \"{2}\" is multi but is inside a list" msgstr "" -#: src/rougail/convert/object_model.py:655 +#: src/rougail/convert/object_model.py:666 msgid "the variable \"{0}\" is waiting for a list as \"{1}\" but the attribute \"default\" is not a list (\"{2}\")" msgstr "" -#: src/rougail/convert/object_model.py:657 +#: src/rougail/convert/object_model.py:668 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 +#: src/rougail/convert/object_model.py:684 msgid "\"{0}\" attribut shall not have an \"optional\" attribute without the \"default\" attribute for variable \"{1}\"" msgstr "" -#: src/rougail/convert/object_model.py:697 +#: src/rougail/convert/object_model.py:708 msgid "variable \"{0}\" has a default value calculated with \"{1}\" which has incompatible type" msgstr "" -#: src/rougail/convert/object_model.py:740 +#: src/rougail/convert/object_model.py:751 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 +#: src/rougail/convert/object_model.py:771 msgid "\"when\" is not allowed in format version 1.0 for attribute \"{0}\" for variable \"{1}\"" msgstr "" -#: src/rougail/convert/object_model.py:765 +#: src/rougail/convert/object_model.py:776 msgid "the variable \"{0}\" has an invalid attribute \"{1}\", \"when\" and \"when_not\" cannot set together" msgstr "" -#: src/rougail/convert/object_model.py:773 +#: src/rougail/convert/object_model.py:784 msgid "\"when_not\" is not allowed in format version 1.0 for attribute \"{0}\" for variable \"{1}\"" msgstr "" -#: src/rougail/convert/object_model.py:829 +#: src/rougail/convert/object_model.py:840 msgid "cannot find variable \"{0}\" for the information \"{1}\" when calculating \"{2}\"" msgstr "" -#: src/rougail/convert/object_model.py:834 +#: src/rougail/convert/object_model.py:845 msgid "identifier not allowed for the information \"{0}\" when calculating \"{1}\"" msgstr "" -#: src/rougail/convert/object_model.py:886 +#: src/rougail/convert/object_model.py:897 msgid "\"when\" is not allowed in format version 1.0 for attribute \"{0}\"" msgstr "" -#: src/rougail/convert/object_model.py:892 -#: src/rougail/convert/object_model.py:902 +#: src/rougail/convert/object_model.py:903 +#: src/rougail/convert/object_model.py:913 msgid "the identifier has an invalid attribute \"{0}\", \"when\" and \"when_not\" cannot set together" msgstr "" -#: src/rougail/convert/object_model.py:928 +#: src/rougail/convert/object_model.py:939 msgid "the variable \"{0}\" is not a follower, so cannot have index type for \"{1}\"" msgstr "" -#: src/rougail/convert/path.py:207 +#: src/rougail/convert/path.py:211 msgid "A variable or a family located in the \"{0}\" namespace shall not be used in the \"{1}\" namespace" msgstr "" @@ -314,7 +330,7 @@ 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 +#: src/rougail/user_datas.py:392 src/rougail/user_datas.py:395 msgid "{0} in {1}" msgstr "" @@ -326,7 +342,7 @@ msgstr "" msgid "conflict alternative_name \"{0}\": \"{1}\" and \"{2}\"" msgstr "" -#: src/rougail/structural_directory/__init__.py:127 +#: src/rougail/structural_directory/__init__.py:129 msgid "duplicate structural file name {0}" msgstr "" @@ -343,14 +359,18 @@ msgid "Main namespace name" msgstr "" #: src/rougail/structural_directory/config.py:69 -msgid "Extra namespaces" +msgid "Namespaces are isolated" msgstr "" #: src/rougail/structural_directory/config.py:78 +msgid "Extra namespaces" +msgstr "" + +#: src/rougail/structural_directory/config.py:87 msgid "Extra namespace name" msgstr "" -#: src/rougail/structural_directory/config.py:84 +#: src/rougail/structural_directory/config.py:93 msgid "Directories where extra structural files are placed" msgstr "" @@ -362,55 +382,55 @@ msgstr "" msgid "cannot calculating \"{0}\" attribute for variable \"{1}\" in {2} with parameters \"{3}\": {4}" msgstr "" -#: src/rougail/user_datas.py:141 +#: src/rougail/user_datas.py:135 msgid "cannot load variable path \"{0}\", the identifier \"{1}\" is not valid in {2}" msgstr "" -#: src/rougail/user_datas.py:227 +#: src/rougail/user_datas.py:218 msgid "the variable \"{0}\" contains secrets and should not be defined in {1}" msgstr "" -#: src/rougail/user_datas.py:265 +#: src/rougail/user_datas.py:257 msgid "loaded from {0}" msgstr "" -#: src/rougail/user_datas.py:304 +#: src/rougail/user_datas.py:297 msgid "cannot set the value \"{0}\" to the family {1}, it will be ignored when loading from {2}" msgstr "" -#: src/rougail/user_datas.py:316 +#: src/rougail/user_datas.py:309 msgid "variable or family \"{0}\" does not exist, it will be ignored when loading from {1}" msgstr "" -#: src/rougail/user_datas.py:322 +#: src/rougail/user_datas.py:315 msgid "\"{0}\" is the name of a dynamic family, it will be ignored when loading from {1}" msgstr "" -#: src/rougail/user_datas.py:328 +#: src/rougail/user_datas.py:321 msgid "{0} loaded from {1}" msgstr "" -#: src/rougail/user_datas.py:356 +#: src/rougail/user_datas.py:349 msgid "variable {0} at index \"{1}\" is {2}, it will be ignored when loading from {3}" msgstr "" -#: src/rougail/user_datas.py:367 +#: src/rougail/user_datas.py:360 msgid "family {0} is {1}, {2} at index \"{3}\" will be ignored when loading from {4}" msgstr "" -#: src/rougail/user_datas.py:380 +#: src/rougail/user_datas.py:373 msgid "variable {0} is {1}, it will be ignored when loading from {2}" msgstr "" -#: src/rougail/user_datas.py:388 +#: src/rougail/user_datas.py:381 msgid "family {0} is {1}, {2} will be ignored when loading from {3}" msgstr "" -#: src/rougail/user_datas.py:408 +#: src/rougail/user_datas.py:401 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:422 +#: src/rougail/user_datas.py:415 msgid "the value \"{0}\" is an invalid {1} for {2}, {3}, it will be ignored when loading from {4}" msgstr "" diff --git a/src/rougail/annotator/property.py b/src/rougail/annotator/property.py index ce2cc955e..5b5e7cfb3 100644 --- a/src/rougail/annotator/property.py +++ b/src/rougail/annotator/property.py @@ -166,7 +166,7 @@ class Annotator(Walk): raise DictConsistencyError(msg, 82, xmlfiles) if tag in PROPERTIES_MAKE_SENSE: msg = _( - 'invalid tag name "{0}" should not be name of an available proprerties' + 'invalid tag name "{0}" should not be name of an available properties' ).format(tag) raise DictConsistencyError(msg, 82, xmlfiles) diff --git a/src/rougail/locale/fr/LC_MESSAGES/rougail.mo b/src/rougail/locale/fr/LC_MESSAGES/rougail.mo index 398c6006265b7a0cc3ec9af7bf499364ba8363f4..f49ad698f2d620fccd8ada138668c77baaf8ed50 100644 GIT binary patch delta 2950 zcmZwJS!`5Q7{Kwb3#F`;vJ?>7%OFy^*ivj|X=$Y_r5kHefzsYiFYVOnOqsc*B4SZP z-7%yJVw6CL3Opb>h)?oB<%wvZgt){dXo!Xo)S!t%4F11+?+_li;q-UTnYs6T=R4=z z;o{DOzP^OsAJdcH60R_13gyit5$zZ`ls{a}!$iu_#MO8R*Wq8-jy1zYa_}Usz@Kmv z7K{*?gu8JD9`V{=;r+CKL!U^mB##uCL&r?a#|@Z=FXK2oh4SdTh^2GoJxLk;j(tj6)A(Fq7w(>{nzcmsP0TGosgVL8Q*71)Vo zcpP<&ui;c|nBcBu6!ii7Q3w1N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