From 84f0095c2f3fc26ce696edcfa8e9b0d5a9a6971f Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 26 Mar 2014 20:47:30 +0100 Subject: [PATCH] update translation --- tiramisu/option.py | 4 ++-- translations/fr/tiramisu.po | 19 +++++++++++++++---- translations/tiramisu.pot | 16 ++++++++++++---- 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/tiramisu/option.py b/tiramisu/option.py index d8853df..eeab2f9 100644 --- a/tiramisu/option.py +++ b/tiramisu/option.py @@ -1534,8 +1534,8 @@ def validate_callback(callback, callback_params, type_): 'tuple as 1 must only have ' 'None as first value')) elif len(callbk) != 2: - raise ValueError(_('{0}_params must only 1 or 2 as ' - 'length')) + raise ValueError(_('{0}_params must only have 1 or 2 ' + 'as length')) else: option, force_permissive = callbk if type_ == 'validator' and not force_permissive: diff --git a/translations/fr/tiramisu.po b/translations/fr/tiramisu.po index 0e1b339..ab01ec6 100644 --- a/translations/fr/tiramisu.po +++ b/translations/fr/tiramisu.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Tiramisu\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-03-24 19:54+CET\n" +"POT-Creation-Date: 2014-03-26 20:46+CET\n" "PO-Revision-Date: \n" "Last-Translator: Emmanuel Garette \n" "Language-Team: Tiramisu's team \n" @@ -14,7 +14,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Poedit-SourceCharset: UTF-8\n" -#: tiramisu/autolib.py:161 +#: tiramisu/autolib.py:165 msgid "" "unable to carry out a calculation, option {0} has properties: {1} for: {2}" msgstr "" @@ -472,14 +472,25 @@ msgid "{0}_params must be tuple for key \"{1}\"" msgstr "{0}_params doit être un tuple pour la clef \"{1}\"" #: tiramisu/option.py:1533 +msgid "{0}_params with length of tuple as 1 must only have None as first value" +msgstr "" +"{0}_params avec un tuple de longueur 1 doit seulement avoir None comme " +"première valeur" + +#: tiramisu/option.py:1537 +#, fuzzy +msgid "{0}_params must only have 1 or 2 as length" +msgstr "{0}_params doit seulement avoir une longueur de 1 ou 2" + +#: tiramisu/option.py:1542 msgid "validator not support tuple" msgstr "validator n'accepte pas de tuple" -#: tiramisu/option.py:1536 +#: tiramisu/option.py:1545 msgid "{0}_params must have an option not a {0} for first argument" msgstr "{0}_params doit avoir une option pas un {0} pour premier argument" -#: tiramisu/option.py:1540 +#: tiramisu/option.py:1549 msgid "{0}_params must have a boolean not a {0} for second argument" msgstr "{0}_params doit avoir un booléen pas un {0} pour second argument" diff --git a/translations/tiramisu.pot b/translations/tiramisu.pot index eb41967..1bf9361 100644 --- a/translations/tiramisu.pot +++ b/translations/tiramisu.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2014-03-24 19:54+CET\n" +"POT-Creation-Date: 2014-03-26 20:46+CET\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,7 +15,7 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: tiramisu/autolib.py:161 +#: tiramisu/autolib.py:165 msgid "unable to carry out a calculation, option {0} has properties: {1} for: {2}" msgstr "" @@ -441,14 +441,22 @@ msgid "{0}_params must be tuple for key \"{1}\"" msgstr "" #: tiramisu/option.py:1533 +msgid "{0}_params with length of tuple as 1 must only have None as first value" +msgstr "" + +#: tiramisu/option.py:1537 +msgid "{0}_params must only have 1 or 2 as length" +msgstr "" + +#: tiramisu/option.py:1542 msgid "validator not support tuple" msgstr "" -#: tiramisu/option.py:1536 +#: tiramisu/option.py:1545 msgid "{0}_params must have an option not a {0} for first argument" msgstr "" -#: tiramisu/option.py:1540 +#: tiramisu/option.py:1549 msgid "{0}_params must have a boolean not a {0} for second argument" msgstr ""