From 15ac8c2872c8e6529159791d9d3ce9ed7d073aff Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 17 Jul 2013 22:30:35 +0200 Subject: [PATCH] update french translation --- tiramisu/autolib.py | 2 +- tiramisu/config.py | 6 +- tiramisu/option.py | 24 +- tiramisu/setting.py | 4 +- translations/fr/tiramisu.po | 460 ++++++++++++++++++++++++------------ translations/tiramisu.pot | 348 +++++++++++++++++++-------- 6 files changed, 575 insertions(+), 269 deletions(-) diff --git a/tiramisu/autolib.py b/tiramisu/autolib.py index 6ba1dfd..ec95fd8 100644 --- a/tiramisu/autolib.py +++ b/tiramisu/autolib.py @@ -63,7 +63,7 @@ def carry_out_calculation(name, config, callback, callback_params, index=None): len_value = len(opt_value) if len_multi != 0 and len_multi != len_value: raise ConfigError(_('unable to carry out a ' - 'calculation, option values with' + 'calculation, option value with' ' multi types must have same ' 'length for: {0}').format(name)) len_multi = len_value diff --git a/tiramisu/config.py b/tiramisu/config.py index 8a0d84d..fd76f6e 100644 --- a/tiramisu/config.py +++ b/tiramisu/config.py @@ -151,7 +151,7 @@ class SubConfig(BaseInformation): def cfgimpl_get_description(self): if self._impl_descr is None: - raise ConfigError(_('no optiondescription for this config (may be MetaConfig without meta)')) + raise ConfigError(_('no optiondescription for this config (may be metaconfig without meta)')) else: return self._impl_descr @@ -526,12 +526,12 @@ class MetaConfig(CommonConfig): if meta: for child in children: if not isinstance(child, CommonConfig): - raise ValueError(_("metaconfig's children must be Config, not {0}" + raise ValueError(_("metaconfig's children must be config, not {0}" "".format(type(child)))) if self._impl_descr is None: self._impl_descr = child.cfgimpl_get_description() elif not self._impl_descr is child.cfgimpl_get_description(): - raise ValueError(_('all config in MetaConfig must have same ' + raise ValueError(_('all config in metaconfig must have same ' 'optiondescription')) if child.cfgimpl_get_meta() is not None: raise ValueError(_("child has already a metaconfig's")) diff --git a/tiramisu/option.py b/tiramisu/option.py index 512242a..02d1cd8 100644 --- a/tiramisu/option.py +++ b/tiramisu/option.py @@ -67,7 +67,7 @@ class BaseInformation(object): try: self._impl_informations[key] = value except AttributeError: - raise AttributeError(_('{0} instance has no attribute ' + raise AttributeError(_('{0} has no attribute ' 'impl_set_information').format(self.__class__.__name__)) def impl_get_information(self, key, default=None): @@ -83,7 +83,7 @@ class BaseInformation(object): else: raise ValueError(_("Information's item not found: {0}").format(key)) except AttributeError: - raise AttributeError(_('{0} instance has no attribute ' + raise AttributeError(_('{0} has no attribute ' 'impl_get_information').format(self.__class__.__name__)) @@ -147,7 +147,7 @@ class Option(BaseInformation): raise ValueError(_("invalid default_multi value {0} " "for option {1}: {2}").format(str(default_multi), name, err)) if callback is not None and (default is not None or default_multi is not None): - raise ValueError(_("defaut values not allowed if option: {0} " + raise ValueError(_("default value not allowed if option: {0} " "is calculated").format(name)) if callback is None and callback_params is not None: raise ValueError(_("params defined for a callback function but " @@ -271,7 +271,7 @@ class Option(BaseInformation): return True if not val_validator(_value): raise ValueError(_("invalid value {0} for option {1} for object {2}" - "").format(_value, self._name, self.__class__)) + "").format(_value, self._name, self.__class__.__name__)) try: self._validate(_value) except ValueError, err: @@ -606,15 +606,15 @@ class NetmaskOption(Option): except ValueError: if not make_net: msg = _("invalid network {0} ({1}) with netmask {2} ({3})," - " this network is an ip") + " this network is an IP") else: if make_net: - msg = _("invalid ip {0} ({1}) with netmask {2} ({3})," - " this ip is a network") + msg = _("invalid IP {0} ({1}) with netmask {2} ({3})," + " this IP is a network") except ValueError: if make_net: - msg = _("invalid ip {0} ({1}) with netmask {2} ({3})") + msg = _("invalid IP {0} ({1}) with netmask {2} ({3})") else: msg = _("invalid network {0} ({1}) with netmask {2} ({3})") if msg is not None: @@ -687,11 +687,11 @@ class OptionDescription(BaseInformation): def __init__(self, name, doc, children, requires=None, properties=None): """ - :param children: a list of options (including option descriptions) + :param children: a list of options (including optiondescriptions) """ if not valid_name(name): - raise ValueError(_("invalid name: {0} for option descr").format(name)) + raise ValueError(_("invalid name: {0} for optiondescription").format(name)) self._name = name self._impl_informations = {} self.impl_set_information('doc', doc) @@ -852,8 +852,8 @@ class OptionDescription(BaseInformation): child._master_slaves = master child._multitype = multitypes.slave if not identical_master_child_name: - raise ValueError(_("the master group: {0} has not any " - "master child").format(self._name)) + raise ValueError(_("no child has same nom has master group " + "for: {0}").format(self._name)) else: raise ValueError(_('not allowed group_type : {0}').format(group_type)) diff --git a/tiramisu/setting.py b/tiramisu/setting.py index f381f26..e9aa2ac 100644 --- a/tiramisu/setting.py +++ b/tiramisu/setting.py @@ -42,12 +42,12 @@ class _const: def __setattr__(self, name, value): if name in self.__dict__: - raise self.ConstError, _("Can't rebind group ({})").format(name) + raise self.ConstError, _("can't rebind group ({})").format(name) self.__dict__[name] = value def __delattr__(self, name): if name in self.__dict__: - raise self.ConstError, _("Can't unbind group ({})").format(name) + raise self.ConstError, _("can't unbind group ({})").format(name) raise ValueError(name) diff --git a/translations/fr/tiramisu.po b/translations/fr/tiramisu.po index efce9d3..e11019c 100644 --- a/translations/fr/tiramisu.po +++ b/translations/fr/tiramisu.po @@ -1,239 +1,399 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# msgid "" msgstr "" -"Project-Id-Version: 0.54\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-23 14:16+0200\n" -"PO-Revision-Date: 2013-04-23 14:27+0100\n" -"Last-Translator: \n" -"Language-Team: Équipe EOLE \n" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: Emmanuel Garette \n" +"Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.5\n" -"Language: Français\n" -"X-Poedit-SourceCharset: UTF-8\n" +"X-Generator: Poedit 1.5.4\n" -#: config.py:45 +#: tiramisu/autolib.py:49 +msgid "no config specified but needed" +msgstr "aucune config spécifié alors que c'est nécessaire" + +#: tiramisu/autolib.py:56 +msgid "" +"unable to carry out a calculation, option {0} has properties: {1} for: {2}" +msgstr "" +"impossible d'effectuer le calcul, l'option {0} a les propriétés : {1} pour : " +"{2}" + +#: tiramisu/autolib.py:65 +msgid "" +"unable to carry out a calculation, option value with multi types must have " +"same length for: {0}" +msgstr "" +"impossible d'effectuer le calcul, valeur d'un option avec le type multi " +"doit avoir la même longueur pour : {0}" + +#: tiramisu/config.py:45 msgid "descr must be an optiondescription, not {0}" msgstr "descr doit être une optiondescription pas un {0}" -#: config.py:200 +#: tiramisu/config.py:118 msgid "unknown group_type: {0}" msgstr "group_type inconnu: {0}" -#: config.py:267 -msgid "make_dict can't filtering with value without option" +#: tiramisu/config.py:154 +msgid "no optiondescription for this config (may be metaconfig without meta)" msgstr "" +"pas d'optiondescription pour cette config (par exemple metaconfig sans meta)" -#: config.py:286 -msgid "unexpected path {0}, should start with {1}" -msgstr "" - -#: config.py:414 +#: tiramisu/config.py:311 msgid "unknown type_ type {0} for _find" msgstr "type_ type {0} pour _find inconnu" -#: config.py:448 -msgid "no option found in config with these criteria" +#: tiramisu/config.py:391 +msgid "make_dict can't filtering with value without option" +msgstr "make_dict ne peut filtrer sur une valeur mais sans option" + +#: tiramisu/config.py:411 +msgid "unexpected path {0}, should start with {1}" +msgstr "chemin imprévu {0}, devrait commencer par {1}" + +#: tiramisu/config.py:524 +msgid "metaconfig's children must be a list" +msgstr "enfants d'une metaconfig doit être une liste" + +#: tiramisu/config.py:529 +msgid "metaconfig's children must be config, not {0}" +msgstr "enfants d'une metaconfig doit être une config, pas {0}" + +#: tiramisu/config.py:534 +msgid "all config in metaconfig must have same optiondescription" msgstr "" +"toutes les configs d'une metaconfig doivent avoir la même optiondescription" -#: autolib.py:51 -msgid "no config specified but needed" -msgstr "Vous devez spécifier une config" +#: tiramisu/config.py:537 +msgid "child has already a metaconfig's" +msgstr "enfant a déjà une metaconfig" -#: value.py:121 -msgid "invalid calculated value returned for option {0}: {1}" -msgstr "Valeures calculées invalident pour l'option {0}: {1}" +#: tiramisu/option.py:70 +msgid "{0} has no attribute impl_set_information" +msgstr "{0} n'a pas d'attribut impl_set_information" -#: value.py:141 -msgid "invalid value {} for option {}" -msgstr "" - -#: value.py:162 -msgid "no value for {1} cannot change owner to {2}" -msgstr "" - -#: value.py:164 setting.py:309 -msgid "invalid generic owner {0}" -msgstr "" - -#: value.py:226 -msgid "invalid len for the slave: {0} which has {1} as master" -msgstr "" - -#: value.py:242 -msgid "invalid len for the master: {0} which has {1} as slave with greater len" -msgstr "" - -#: value.py:262 -msgid "cannot append a value on a multi option {0} which is a slave" -msgstr "" - -#: value.py:277 -msgid "invalid value {0} for option {1}" -msgstr "" - -#: value.py:290 -msgid "cannot pop a value on a multi option {0} which is a slave" -msgstr "" - -#: option.py:77 +#: tiramisu/option.py:84 msgid "Information's item not found: {0}" -msgstr "" +msgstr "l'élément information non trouvé: {0}" -#: option.py:113 +#: tiramisu/option.py:86 +msgid "{0} has no attribute impl_get_information" +msgstr "{0} n'a pas d'attribut impl_get_information" + +#: tiramisu/option.py:124 msgid "invalid name: {0} for option" -msgstr "" +msgstr "nom invalide : {0} pour l'option" -#: option.py:123 +#: tiramisu/option.py:134 msgid "validator must be a function" -msgstr "" +msgstr "validator doit être une fonction" -#: option.py:130 +#: tiramisu/option.py:141 msgid "a default_multi is set whereas multi is False in option: {0}" msgstr "" +"une default_multi est renseigné alors que multi est False dans l'option : {0}" -#: option.py:133 -msgid "invalid default_multi value {0} for option {1}" -msgstr "" +#: tiramisu/option.py:147 +msgid "invalid default_multi value {0} for option {1}: {2}" +msgstr "la valeur default_multi est invalide {0} pour l'option {1} : {2}" -#: option.py:136 -msgid "defaut values not allowed if option: {0} is calculated" -msgstr "" +#: tiramisu/option.py:150 +msgid "default value not allowed if option: {0} is calculated" +msgstr "la valeur par défaut n'est pas possible si l'option {0} est calculé" -#: option.py:139 +#: tiramisu/option.py:153 msgid "" "params defined for a callback function but no callback defined yet for " "option {0}" msgstr "" +"params définit pour une fonction callback mais par de callback défini encore " +"pour l'option {0}" -#: option.py:158 option.py:165 -msgid "invalid default value {0} for option {1}" -msgstr "" - -#: option.py:171 option.py:591 +#: tiramisu/option.py:174 tiramisu/option.py:716 msgid "invalid properties type {0} for {1}, must be a tuple" -msgstr "" +msgstr "type des properties invalide {0} pour {1}, doit être un tuple" -#: option.py:214 +#: tiramisu/option.py:273 +msgid "invalid value {0} for option {1} for object {2}" +msgstr "valeur invalide {0} pour l'option {1} pour l'objet {2}" + +#: tiramisu/option.py:278 tiramisu/value.py:368 +msgid "invalid value {0} for option {1}: {2}" +msgstr "valeur invalide {0} pour l'option {1} : {2}" + +#: tiramisu/option.py:290 msgid "invalid value {0} for option {1} which must be a list" -msgstr "" +msgstr "valeur invalide {0} pour l'option {1} qui doit être une liste" -#: option.py:315 +#: tiramisu/option.py:354 +msgid "invalid value {0} for option {1} must be different as {2} option" +msgstr "" +"valeur invalide {0} pour l'option {1} doit être différent que l'option {2}" + +#: tiramisu/option.py:376 msgid "values must be a tuple for {0}" -msgstr "" +msgstr "values doit être un tuple pour {0}" -#: option.py:318 +#: tiramisu/option.py:379 msgid "open_values must be a boolean for {0}" -msgstr "" +msgstr "open_values doit être un booléen pour {0}" -#: option.py:452 -msgid "opt_ip must be a IPOption not {}" -msgstr "" +#: tiramisu/option.py:400 +msgid "value {0} is not permitted, only {1} is allowed" +msgstr "valeur {0} n'est pas permit, seules {1} sont autorisées" -#: option.py:469 -msgid "unknown type for opt_ip" -msgstr "" +#: tiramisu/option.py:411 +msgid "value must be a boolean" +msgstr "valeur doit être un booléen" -#: option.py:535 +#: tiramisu/option.py:421 +msgid "value must be an integer" +msgstr "valeur doit être un numbre" + +#: tiramisu/option.py:431 +msgid "value must be a float" +msgstr "valeur doit être un nombre flottant" + +#: tiramisu/option.py:441 +msgid "value must be a string" +msgstr "valeur doit être une chaîne" + +#: tiramisu/option.py:452 +msgid "value must be an unicode" +msgstr "valeur doit être une valeur unicode" + +#: tiramisu/option.py:463 +msgid "malformed symlinkoption must be an option for symlink {0}" +msgstr "symlinkoption mal formé doit être une option pour symlink {0}" + +#: tiramisu/option.py:497 +msgid "IP mustn't not be in reserved class" +msgstr "IP ne doit pas être d'une classe reservée" + +#: tiramisu/option.py:499 +msgid "IP must be in private class" +msgstr "IP doit être dans la classe privée" + +#: tiramisu/option.py:535 +msgid "inconsistency in allowed range" +msgstr "inconsistence dans la plage autorisée" + +#: tiramisu/option.py:540 +msgid "max value is empty" +msgstr "valeur maximum est vide" + +#: tiramisu/option.py:576 +msgid "network mustn't not be in reserved class" +msgstr "réseau ne doit pas être dans la classe reservée" + +#: tiramisu/option.py:608 +msgid "invalid network {0} ({1}) with netmask {2} ({3}), this network is an IP" +msgstr "réseau invalide {0} ({1}) avec masque {2} ({3}), ce réseau est une IP" + +#: tiramisu/option.py:612 +msgid "invalid IP {0} ({1}) with netmask {2} ({3}), this IP is a network" +msgstr "IP invalide {0} ({1}) avec masque {2} ({3}), cette IP est un réseau" + +#: tiramisu/option.py:617 +msgid "invalid IP {0} ({1}) with netmask {2} ({3})" +msgstr "IP invalide {0} ({1}) avec masque {2} ({3})" + +#: tiramisu/option.py:619 +msgid "invalid network {0} ({1}) with netmask {2} ({3})" +msgstr "réseau invalide {0} ({1}) avec masque {2} ({3})" + +#: tiramisu/option.py:639 msgid "unknown type_ {0} for hostname" -msgstr "" +msgstr "type_ inconnu {0} pour le nom d'hôte" -#: option.py:571 -msgid "invalid name: {0} for option descr" -msgstr "" +#: tiramisu/option.py:642 +msgid "allow_ip must be a boolean" +msgstr "allow_ip doit être un booléen" -#: option.py:582 +#: tiramisu/option.py:671 +msgid "invalid value for {0}, must have dot" +msgstr "valeur invalide pour {0}, doit avoir un point" + +#: tiramisu/option.py:674 +msgid "invalid value's length for {0} (max {1})" +msgstr "longueur de la valeur invalide pour {0} (maximum {1})" + +#: tiramisu/option.py:678 +msgid "invalid domainname" +msgstr "nom de domaine invalide" + +#: tiramisu/option.py:694 +msgid "invalid name: {0} for optiondescription" +msgstr "nom invalide : {0} pour l'optiondescription" + +#: tiramisu/option.py:705 msgid "duplicate option name: {0}" -msgstr "" +msgstr "nom de l'option dupliqué : {0}" -#: option.py:604 -msgid "unknown Option {} in OptionDescription {}" +#: tiramisu/option.py:729 +msgid "unknown Option {0} in OptionDescription {1}" msgstr "Option {} inconnue pour l'OptionDescription{}" -#: option.py:667 +#: tiramisu/option.py:793 msgid "duplicate option: {0}" -msgstr "" +msgstr "option dupliquée : {0}" -#: option.py:677 -msgid "no option for path {}" -msgstr "" +#: tiramisu/option.py:803 +msgid "no option for path {0}" +msgstr "pas d'option pour le chemin {0}" -#: option.py:683 -msgid "no option {} found" -msgstr "" +#: tiramisu/option.py:809 +msgid "no option {0} found" +msgstr "pas d'option {0} trouvée" -#: option.py:693 -msgid "cannot change group_type if already set (old {}, new {})" -msgstr "" +#: tiramisu/option.py:819 +msgid "cannot change group_type if already set (old {0}, new {1})" +msgstr "ne peut changer group_type si déjà spécifié (ancien {0}, nouveau {1})" -#: option.py:705 -msgid "master group {} shall not have a subgroup" -msgstr "" +#: tiramisu/option.py:831 +msgid "master group {0} shall not have a subgroup" +msgstr "groupe maître {0} ne doit pas avoir de sous-groupe" -#: option.py:708 +#: tiramisu/option.py:834 +msgid "master group {0} shall not have a symlinkoption" +msgstr "groupe maître {0} ne doit pas avoir de symlinkoption" + +#: tiramisu/option.py:837 msgid "not allowed option {0} in group {1}: this option is not a multi" msgstr "" +"option non autorisée {0} dans le groupe {1} : cette option n'est pas une " +"multi" -#: option.py:718 -msgid "master group with wrong master name for {}" -msgstr "" +#: tiramisu/option.py:847 +msgid "master group with wrong master name for {0}" +msgstr "le groupe maître avec un nom de maître éroné pour {0}" -#: option.py:726 -msgid "the master group: {} has not any master child" -msgstr "" +#: tiramisu/option.py:855 +msgid "no child has same nom has master group for: {0}" +msgstr "pas d'enfant avec le nom du groupe maître pour {0} " -#: option.py:729 +#: tiramisu/option.py:858 msgid "not allowed group_type : {0}" -msgstr "" +msgstr "group_type non autorisé : {0}" -#: option.py:751 -msgid "malformed requirements type for option: {0}, must be a tuple" +#: tiramisu/option.py:887 +msgid "malformed requirements type for option: {0}, must be a dict" msgstr "" +"type requirements malformé pour l'option : {0}, doit être un dictionnaire" -#: option.py:760 -msgid "malformed requirements for option: {0} invalid len" +#: tiramisu/option.py:903 +msgid "" +"malformed requirements for option: {0} require must have option, expected " +"and action keys" msgstr "" +"requirements malformé pour l'option : {0} l'exigence doit avoir les clefs " +"option, exptected et action" -#: option.py:764 +#: tiramisu/option.py:908 +msgid "malformed requirements for option: {0} inverse must be boolean" +msgstr "requirements malformé pour l'option : {0} inverse doit être un booléen" + +#: tiramisu/option.py:912 +msgid "malformed requirements for option: {0} transitive must be boolean" +msgstr "requirements malformé pour l'option : {0} transitive doit être booléen" + +#: tiramisu/option.py:916 +msgid "malformed requirements for option: {0} same_action must be boolean" +msgstr "" +"requirements malformé pour l'option : {0} same_action doit être un booléen" + +#: tiramisu/option.py:921 +msgid "malformed requirements must be an option in option {0}" +msgstr "requirements malformé doit être une option dans l'option {0}" + +#: tiramisu/option.py:924 +msgid "malformed requirements option {0} should not be a multi" +msgstr "requirements malformé l'option {0} ne doit pas être une multi" + +#: tiramisu/option.py:930 +msgid "" +"malformed requirements second argument must be valid for option {0}: {1}" +msgstr "" +"requirements malformé deuxième argument doit être valide pour l'option {0} : " +"{1}" + +#: tiramisu/option.py:934 msgid "inconsistency in action types for option: {0} action: {1}" -msgstr "" +msgstr "incohérence dans les types action pour l'option : {0} action {1}" -#: setting.py:43 +#: tiramisu/setting.py:45 msgid "Can't rebind group ({})" -msgstr "" +msgstr "ne peut reconsolider un groupe ({0})" -#: setting.py:48 +#: tiramisu/setting.py:50 msgid "Can't unbind group ({})" -msgstr "" +msgstr "ne peut délier un groupe ({0})" -#: setting.py:282 -msgid "trying to access to an option named: {0} with properties {1}" -msgstr "" +#: tiramisu/setting.py:210 +msgid "opt and all_properties must not be set together in reset" +msgstr "opt et all_properties ne doit pas être renseigné ensemble dans reset" -#: setting.py:290 -msgid "cannot change the value for option {0} this option is frozen" -msgstr "" - -#: setting.py:302 +#: tiramisu/setting.py:305 msgid "permissive must be a tuple" -msgstr "" +msgstr "permissive doit être un tuple" -#: setting.py:372 +#: tiramisu/setting.py:312 tiramisu/value.py:208 +msgid "invalid generic owner {0}" +msgstr "invalide owner générique {0}" + +#: tiramisu/setting.py:365 msgid "" "malformed requirements imbrication detected for option: '{0}' with " "requirement on: '{1}'" msgstr "" +"imbrication de requirements malformé detectée pour l'option : '{0}' avec " +"requirement sur : '{1}'" -#: setting.py:379 +#: tiramisu/setting.py:375 msgid "option '{0}' has requirement's property error: {1} {2}" -msgstr "" +msgstr "l'option '{0}' a une erreur de propriété pour le requirement : {1} {2}" -#: setting.py:382 +#: tiramisu/setting.py:381 msgid "required option not found: {0}" +msgstr "option requise non trouvée : {0}" + +#: tiramisu/value.py:206 +msgid "no value for {0} cannot change owner to {1}" +msgstr "pas de valeur pour {0} ne peut changer d'utilisateur pour {1}" + +#: tiramisu/value.py:270 +msgid "invalid len for the slave: {0} which has {1} as master" +msgstr "longueur invalide pour une esclave : {0} qui a {1} comme maître" + +#: tiramisu/value.py:286 +msgid "invalid len for the master: {0} which has {1} as slave with greater len" msgstr "" +"longueur invalide pour un maître : {0} qui a {1} une esclave avec une plus " +"grande longueur" + +#: tiramisu/value.py:306 +msgid "cannot append a value on a multi option {0} which is a slave" +msgstr "ne peut ajouter une valeur sur l'option multi {0} qui est une esclave" + +#: tiramisu/value.py:334 +msgid "cannot sort multi option {0} if master or slave" +msgstr "ne peut trier une option multi {0} pour une maître ou une esclave" + +#: tiramisu/value.py:342 +msgid "cannot reverse multi option {0} if master or slave" +msgstr "ne peut inverser une option multi {0} pour une maître ou une esclave" + +#: tiramisu/value.py:350 +msgid "cannot insert multi option {0} if master or slave" +msgstr "ne peut insérer une option multi {0} pour une maître ou une esclave" + +#: tiramisu/value.py:358 +msgid "cannot extend multi option {0} if master or slave" +msgstr "ne peut étendre une option multi {0} pour une maître ou une esclave" + +#: tiramisu/value.py:381 +msgid "cannot pop a value on a multi option {0} which is a slave" +msgstr "ne peut supprimer une valeur dans l'option multi {0} qui est esclave" diff --git a/translations/tiramisu.pot b/translations/tiramisu.pot index 3a28ce6..2d3c451 100644 --- a/translations/tiramisu.pot +++ b/translations/tiramisu.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-23 14:16+0200\n" +"POT-Creation-Date: 2013-07-17 21:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,222 +17,368 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: config.py:45 -msgid "descr must be an optiondescription, not {0}" -msgstr "" - -#: config.py:200 -msgid "unknown group_type: {0}" -msgstr "" - -#: config.py:267 -msgid "make_dict can't filtering with value without option" -msgstr "" - -#: config.py:286 -msgid "unexpected path {0}, should start with {1}" -msgstr "" - -#: config.py:414 -msgid "unknown type_ type {0} for _find" -msgstr "" - -#: config.py:448 -msgid "no option found in config with these criteria" -msgstr "" - -#: autolib.py:51 +#: tiramisu/autolib.py:49 msgid "no config specified but needed" msgstr "" -#: value.py:121 -msgid "invalid calculated value returned for option {0}: {1}" +#: tiramisu/autolib.py:56 +msgid "" +"unable to carry out a calculation, option {0} has properties: {1} for: {2}" msgstr "" -#: value.py:141 -msgid "invalid value {} for option {}" +#: tiramisu/autolib.py:65 +msgid "" +"unable to carry out a calculation, option values with multi types must have " +"same length for: {0}" msgstr "" -#: value.py:162 -msgid "no value for {1} cannot change owner to {2}" +#: tiramisu/config.py:45 +msgid "descr must be an optiondescription, not {0}" msgstr "" -#: value.py:164 setting.py:309 -msgid "invalid generic owner {0}" +#: tiramisu/config.py:118 +msgid "unknown group_type: {0}" msgstr "" -#: value.py:226 -msgid "invalid len for the slave: {0} which has {1} as master" +#: tiramisu/config.py:154 +msgid "no optiondescription for this config (may be MetaConfig without meta)" msgstr "" -#: value.py:242 -msgid "invalid len for the master: {0} which has {1} as slave with greater len" +#: tiramisu/config.py:311 +msgid "unknown type_ type {0} for _find" msgstr "" -#: value.py:262 -msgid "cannot append a value on a multi option {0} which is a slave" +#: tiramisu/config.py:391 +msgid "make_dict can't filtering with value without option" msgstr "" -#: value.py:277 -msgid "invalid value {0} for option {1}" +#: tiramisu/config.py:411 +msgid "unexpected path {0}, should start with {1}" msgstr "" -#: value.py:290 -msgid "cannot pop a value on a multi option {0} which is a slave" +#: tiramisu/config.py:524 +msgid "metaconfig's children must be a list" msgstr "" -#: option.py:77 +#: tiramisu/config.py:529 +msgid "metaconfig's children must be Config, not {0}" +msgstr "" + +#: tiramisu/config.py:534 +msgid "all config in MetaConfig must have same optiondescription" +msgstr "" + +#: tiramisu/config.py:537 +msgid "child has already a metaconfig's" +msgstr "" + +#: tiramisu/option.py:70 +msgid "{0} instance has no attribute impl_set_information" +msgstr "" + +#: tiramisu/option.py:84 msgid "Information's item not found: {0}" msgstr "" -#: option.py:113 +#: tiramisu/option.py:86 +msgid "{0} instance has no attribute impl_get_information" +msgstr "" + +#: tiramisu/option.py:124 msgid "invalid name: {0} for option" msgstr "" -#: option.py:123 +#: tiramisu/option.py:134 msgid "validator must be a function" msgstr "" -#: option.py:130 +#: tiramisu/option.py:141 msgid "a default_multi is set whereas multi is False in option: {0}" msgstr "" -#: option.py:133 -msgid "invalid default_multi value {0} for option {1}" +#: tiramisu/option.py:147 +msgid "invalid default_multi value {0} for option {1}: {2}" msgstr "" -#: option.py:136 +#: tiramisu/option.py:150 msgid "defaut values not allowed if option: {0} is calculated" msgstr "" -#: option.py:139 +#: tiramisu/option.py:153 msgid "" "params defined for a callback function but no callback defined yet for " "option {0}" msgstr "" -#: option.py:158 option.py:165 -msgid "invalid default value {0} for option {1}" -msgstr "" - -#: option.py:171 option.py:591 +#: tiramisu/option.py:174 tiramisu/option.py:716 msgid "invalid properties type {0} for {1}, must be a tuple" msgstr "" -#: option.py:214 +#: tiramisu/option.py:273 +msgid "invalid value {0} for option {1} for object {2}" +msgstr "" + +#: tiramisu/option.py:278 tiramisu/value.py:368 +msgid "invalid value {0} for option {1}: {2}" +msgstr "" + +#: tiramisu/option.py:290 msgid "invalid value {0} for option {1} which must be a list" msgstr "" -#: option.py:315 +#: tiramisu/option.py:354 +msgid "invalid value {0} for option {1} must be different as {2} option" +msgstr "" + +#: tiramisu/option.py:376 msgid "values must be a tuple for {0}" msgstr "" -#: option.py:318 +#: tiramisu/option.py:379 msgid "open_values must be a boolean for {0}" msgstr "" -#: option.py:452 -msgid "opt_ip must be a IPOption not {}" +#: tiramisu/option.py:400 +msgid "value {0} is not permitted, only {1} is allowed" msgstr "" -#: option.py:469 -msgid "unknown type for opt_ip" +#: tiramisu/option.py:411 +msgid "value must be a boolean" msgstr "" -#: option.py:535 +#: tiramisu/option.py:421 +msgid "value must be an integer" +msgstr "" + +#: tiramisu/option.py:431 +msgid "value must be a float" +msgstr "" + +#: tiramisu/option.py:441 +msgid "value must be a string" +msgstr "" + +#: tiramisu/option.py:452 +msgid "value must be an unicode" +msgstr "" + +#: tiramisu/option.py:463 +msgid "malformed symlinkoption must be an option for symlink {0}" +msgstr "" + +#: tiramisu/option.py:497 +msgid "IP mustn't not be in reserved class" +msgstr "" + +#: tiramisu/option.py:499 +msgid "IP must be in private class" +msgstr "" + +#: tiramisu/option.py:535 +msgid "inconsistency in allowed range" +msgstr "" + +#: tiramisu/option.py:540 +msgid "max value is empty" +msgstr "" + +#: tiramisu/option.py:576 +msgid "network mustn't not be in reserved class" +msgstr "" + +#: tiramisu/option.py:608 +msgid "invalid network {0} ({1}) with netmask {2} ({3}), this network is an ip" +msgstr "" + +#: tiramisu/option.py:612 +msgid "invalid ip {0} ({1}) with netmask {2} ({3}), this ip is a network" +msgstr "" + +#: tiramisu/option.py:617 +msgid "invalid ip {0} ({1}) with netmask {2} ({3})" +msgstr "" + +#: tiramisu/option.py:619 +msgid "invalid network {0} ({1}) with netmask {2} ({3})" +msgstr "" + +#: tiramisu/option.py:639 msgid "unknown type_ {0} for hostname" msgstr "" -#: option.py:571 +#: tiramisu/option.py:642 +msgid "allow_ip must be a boolean" +msgstr "" + +#: tiramisu/option.py:671 +msgid "invalid value for {0}, must have dot" +msgstr "" + +#: tiramisu/option.py:674 +msgid "invalid value's length for {0} (max {1})" +msgstr "" + +#: tiramisu/option.py:678 +msgid "invalid domainname" +msgstr "" + +#: tiramisu/option.py:694 msgid "invalid name: {0} for option descr" msgstr "" -#: option.py:582 +#: tiramisu/option.py:705 msgid "duplicate option name: {0}" msgstr "" -#: option.py:604 -msgid "unknown Option {} in OptionDescription {}" +#: tiramisu/option.py:729 +msgid "unknown Option {0} in OptionDescription {1}" msgstr "" -#: option.py:667 +#: tiramisu/option.py:793 msgid "duplicate option: {0}" msgstr "" -#: option.py:677 -msgid "no option for path {}" +#: tiramisu/option.py:803 +msgid "no option for path {0}" msgstr "" -#: option.py:683 -msgid "no option {} found" +#: tiramisu/option.py:809 +msgid "no option {0} found" msgstr "" -#: option.py:693 -msgid "cannot change group_type if already set (old {}, new {})" +#: tiramisu/option.py:819 +msgid "cannot change group_type if already set (old {0}, new {1})" msgstr "" -#: option.py:705 -msgid "master group {} shall not have a subgroup" +#: tiramisu/option.py:831 +msgid "master group {0} shall not have a subgroup" msgstr "" -#: option.py:708 +#: tiramisu/option.py:834 +msgid "master group {0} shall not have a symlinkoption" +msgstr "" + +#: tiramisu/option.py:837 msgid "not allowed option {0} in group {1}: this option is not a multi" msgstr "" -#: option.py:718 -msgid "master group with wrong master name for {}" +#: tiramisu/option.py:847 +msgid "master group with wrong master name for {0}" msgstr "" -#: option.py:726 -msgid "the master group: {} has not any master child" +#: tiramisu/option.py:855 +msgid "the master group: {0} has not any master child" msgstr "" -#: option.py:729 +#: tiramisu/option.py:858 msgid "not allowed group_type : {0}" msgstr "" -#: option.py:751 -msgid "malformed requirements type for option: {0}, must be a tuple" +#: tiramisu/option.py:887 +msgid "malformed requirements type for option: {0}, must be a dict" msgstr "" -#: option.py:760 -msgid "malformed requirements for option: {0} invalid len" +#: tiramisu/option.py:903 +msgid "" +"malformed requirements for option: {0} require must have option, expected " +"and action keys" msgstr "" -#: option.py:764 +#: tiramisu/option.py:908 +msgid "malformed requirements for option: {0} inverse must be boolean" +msgstr "" + +#: tiramisu/option.py:912 +msgid "malformed requirements for option: {0} transitive must be boolean" +msgstr "" + +#: tiramisu/option.py:916 +msgid "malformed requirements for option: {0} same_action must be boolean" +msgstr "" + +#: tiramisu/option.py:921 +msgid "malformed requirements must be an option in option {0}" +msgstr "" + +#: tiramisu/option.py:924 +msgid "malformed requirements option {0} should not be a multi" +msgstr "" + +#: tiramisu/option.py:930 +msgid "" +"malformed requirements second argument must be valid for option {0}: {1}" +msgstr "" + +#: tiramisu/option.py:934 msgid "inconsistency in action types for option: {0} action: {1}" msgstr "" -#: setting.py:43 +#: tiramisu/setting.py:45 msgid "Can't rebind group ({})" msgstr "" -#: setting.py:48 +#: tiramisu/setting.py:50 msgid "Can't unbind group ({})" msgstr "" -#: setting.py:282 -msgid "trying to access to an option named: {0} with properties {1}" +#: tiramisu/setting.py:210 +msgid "opt and all_properties must not be set together in reset" msgstr "" -#: setting.py:290 -msgid "cannot change the value for option {0} this option is frozen" -msgstr "" - -#: setting.py:302 +#: tiramisu/setting.py:305 msgid "permissive must be a tuple" msgstr "" -#: setting.py:372 +#: tiramisu/setting.py:312 tiramisu/value.py:208 +msgid "invalid generic owner {0}" +msgstr "" + +#: tiramisu/setting.py:365 msgid "" "malformed requirements imbrication detected for option: '{0}' with " "requirement on: '{1}'" msgstr "" -#: setting.py:379 +#: tiramisu/setting.py:375 msgid "option '{0}' has requirement's property error: {1} {2}" msgstr "" -#: setting.py:382 +#: tiramisu/setting.py:381 msgid "required option not found: {0}" msgstr "" + +#: tiramisu/value.py:206 +msgid "no value for {0} cannot change owner to {1}" +msgstr "" + +#: tiramisu/value.py:270 +msgid "invalid len for the slave: {0} which has {1} as master" +msgstr "" + +#: tiramisu/value.py:286 +msgid "invalid len for the master: {0} which has {1} as slave with greater len" +msgstr "" + +#: tiramisu/value.py:306 +msgid "cannot append a value on a multi option {0} which is a slave" +msgstr "" + +#: tiramisu/value.py:334 +msgid "cannot sort multi option {0} if master or slave" +msgstr "" + +#: tiramisu/value.py:342 +msgid "cannot reverse multi option {0} if master or slave" +msgstr "" + +#: tiramisu/value.py:350 +msgid "cannot insert multi option {0} if master or slave" +msgstr "" + +#: tiramisu/value.py:358 +msgid "cannot extend multi option {0} if master or slave" +msgstr "" + +#: tiramisu/value.py:381 +msgid "cannot pop a value on a multi option {0} which is a slave" +msgstr ""