]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Missed translation of the Sketcher's Rectangle feature
authorazv <azv@opencascade.com>
Tue, 9 Nov 2021 07:39:52 +0000 (10:39 +0300)
committerazv <azv@opencascade.com>
Tue, 9 Nov 2021 07:40:42 +0000 (10:40 +0300)
src/SketchPlugin/SketchPlugin_msg_en.ts
src/SketchPlugin/SketchPlugin_msg_fr.ts

index ddcd9ecbfacd5c37dc25aaf78b456e10b85f2d37..1361cdc7919ed7eed4120bbcc8a647f307c438a3 100644 (file)
   </context>
   
   <context>
-    <name>SketchRectangle:GeomValidators_Different</name>
+    <name>SketchRectangle</name>
     <message>
-      <source>Attributes RectStartPoint and RectEndPoint are equal.</source>
-      <translation>Start point and end point must be different</translation>
+      <source>Create rectangle</source>
+      <translation>Create rectangle</translation>
+    </message>
+    <message>
+      <source>Rectangle</source>
+      <translation>Rectangle</translation>
     </message>
   </context>
   <context>
-    <name>SketchRectangle:RectEndPoint</name>
+    <name>SketchRectangle:Auxiliary</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
-      <translation>Select an end point of the rectangle.</translation>
+      <source>Auxiliary</source>
+      <translation>Auxiliary</translation>
+    </message>
+    <message>
+      <source>Construction element</source>
+      <translation>Construction element</translation>
     </message>
   </context>
   <context>
-    <name>SketchRectangle:RectStartPoint</name>
+    <name>SketchRectangle:RectCenterPoint</name>
     <message>
       <source>Attribute "%1" is locked by modification value in the viewer.</source>
       <translation>Select a point.</translation>
     </message>
+    <message>
+      <source>Center</source>
+      <translation>Center</translation>
+    </message>
   </context>
   <context>
-    <name>SketchRectangle:Model_FeatureValidator</name>
+    <name>SketchRectangle:RectCornerPoint</name>
     <message>
-      <source>Attribute "%1" is not initialized.</source>
+      <source>Attribute "%1" is locked by modification value in the viewer.</source>
       <translation>Select a point.</translation>
     </message>
+    <message>
+      <source>Corner</source>
+      <translation>Corner</translation>
+    </message>
   </context>
   <context>
     <name>SketchRectangle:RectEndPoint</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <source>Attribute "%1" is not initialized.</source>
       <translation>Select a point.</translation>
     </message>
+    <message>
+      <source>End point</source>
+      <translation>End point</translation>
+    </message>
   </context>
   <context>
     <name>SketchRectangle:RectStartPoint</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
-      <translation>Select an point.</translation>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select a point.</translation>
+    </message>
+    <message>
+      <source>Start point</source>
+      <translation>Start point</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchRectangle:RectangleType</name>
+    <message>
+      <source>Rectangle by center and corner</source>
+      <translation>Rectangle by center and corner</translation>
+    </message>
+    <message>
+      <source>Rectangle by corners</source>
+      <translation>Rectangle by corners</translation>
     </message>
   </context>
 
index 1bd553e91dd5488feba581a50f289a34da0ca6f3..8b33a09d5743424e5d7e14c5e11580e4a96c322f 100644 (file)
   </context>
 
   <context>
-    <name>SketchRectangle:GeomValidators_Different</name>
+    <name>SketchRectangle</name>
     <message>
-      <source>Attributes RectStartPoint and RectEndPoint are equal.</source>
-      <translation>Le point de départ et le point final doivent être différents.</translation>
+      <source>Create rectangle</source>
+      <translation>Créer un rectangle</translation>
+    </message>
+    <message>
+      <source>Rectangle</source>
+      <translation>Rectangle</translation>
     </message>
   </context>
   <context>
-    <name>SketchRectangle:RectEndPoint</name>
+    <name>SketchRectangle:Auxiliary</name>
+    <message>
+      <source>Auxiliary</source>
+      <translation>Auxiliaire</translation>
+    </message>
+    <message>
+      <source>Construction element</source>
+      <translation>Élément de construction</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchRectangle:RectCenterPoint</name>
     <message>
       <source>Attribute "%1" is locked by modification value in the viewer.</source>
-      <translation>Sélectionnez un point final du rectangle.</translation>
+      <translation>Sélectionnez un point.</translation>
     </message>
     <message>
-      <source>End point</source>
-      <translation>Point final</translation>
+      <source>Center</source>
+      <translation>Centre</translation>
     </message>
+  </context>
+  <context>
+    <name>SketchRectangle:RectCornerPoint</name>
     <message>
-      <source>Attribute "%1" is not initialized.</source>
-      <translation>L&apos;attribut &quot;%1&quot; n&apos;est pas initialisé.</translation>
+      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <translation>Sélectionnez un point.</translation>
+    </message>
+    <message>
+      <source>Corner</source>
+      <translation>Le coin</translation>
     </message>
   </context>
   <context>
-    <name>SketchRectangle:Model_FeatureValidator</name>
+    <name>SketchRectangle:RectEndPoint</name>
     <message>
       <source>Attribute "%1" is not initialized.</source>
       <translation>Sélectionnez un point.</translation>
     </message>
+    <message>
+      <source>End point</source>
+      <translation>Point final</translation>
+    </message>
   </context>
   <context>
     <name>SketchRectangle:RectStartPoint</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <source>Attribute "%1" is not initialized.</source>
       <translation>Sélectionnez un point.</translation>
     </message>
     <message>
       <source>Start point</source>
       <translation>Point de départ</translation>
     </message>
+  </context>
+  <context>
+    <name>SketchRectangle:RectangleType</name>
     <message>
-      <source>Attribute "%1" is not initialized.</source>
-      <translation>L&apos;attribut &quot;%1&quot; n&apos;est pas initialisé.</translation>
+      <source>Rectangle by center and corner</source>
+      <translation>Rectangle par centre et coin</translation>
+    </message>
+    <message>
+      <source>Rectangle by corners</source>
+      <translation>Rectangle par coins</translation>
     </message>
   </context>