From 69afb60f9c4a6aff84d726496ab60983091517ef Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 28 Jan 2020 09:58:15 +0300 Subject: [PATCH] Translation to French for B-splines --- src/PartSet/PartSet_msg_fr.ts | 38 ++++++++++++++++++++ src/SketchPlugin/SketchPlugin_Validators.cpp | 2 +- src/SketchPlugin/SketchPlugin_msg_fr.ts | 8 +++++ 3 files changed, 47 insertions(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_msg_fr.ts b/src/PartSet/PartSet_msg_fr.ts index aa7fa8a6f..3a311e71e 100644 --- a/src/PartSet/PartSet_msg_fr.ts +++ b/src/PartSet/PartSet_msg_fr.ts @@ -152,4 +152,42 @@ Il sera nécessaire de créer une pièce afin d'utiliser cette esquisse pou Groupes + + PartSet_BSplineWidget + + Poles and weights + Poteaux et poids + + + B-spline poles and weights + Poteaux et poids B-spline + + + Pole %1 + Pôle %1 + + + Weight : + Poids : + + + Add a new pole after the current + Ajouter un nouveau pôle après le courant + + + + PartSet_WidgetBSplinePoints + + Pole %1 + Pôle %1 + + + Create control polygon + Créer un polygone de contrôle + + + Specify if the control polygon should be created + Spécifiez si le polygone de contrôle doit être créé + + diff --git a/src/SketchPlugin/SketchPlugin_Validators.cpp b/src/SketchPlugin/SketchPlugin_Validators.cpp index cf8d1ca4a..94236695e 100644 --- a/src/SketchPlugin/SketchPlugin_Validators.cpp +++ b/src/SketchPlugin/SketchPlugin_Validators.cpp @@ -1789,7 +1789,7 @@ bool SketchPlugin_BSplineValidator::isValid(const AttributePtr& theAttribute, return false; if (aPolesArray->size() < 2) { - theError = "Number of B-spline poles should be 2 and more"; + theError = "Number of B-spline poles should be 2 or more"; return false; } diff --git a/src/SketchPlugin/SketchPlugin_msg_fr.ts b/src/SketchPlugin/SketchPlugin_msg_fr.ts index d22b51e8c..c54a4092c 100644 --- a/src/SketchPlugin/SketchPlugin_msg_fr.ts +++ b/src/SketchPlugin/SketchPlugin_msg_fr.ts @@ -4713,4 +4713,12 @@ + + SketchBSpline + + Number of B-spline poles should be 2 or more + Le nombre de pôles B-spline doit être de 2 ou plus + + + -- 2.39.2