]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Translations are updated for Polylines 3D.
authorrkv <rkv@opencascade.com>
Mon, 2 Dec 2013 06:59:16 +0000 (06:59 +0000)
committerrkv <rkv@opencascade.com>
Mon, 2 Dec 2013 06:59:16 +0000 (06:59 +0000)
src/HYDROGUI/HYDROGUI_DataModel.cxx
src/HYDROGUI/HYDROGUI_Poly3DOp.cxx
src/HYDROGUI/resources/HYDROGUI_msg_en.ts

index be45989678e6a60151b928f21bc4e0af6489b5f4..3ea41225aff48ccc2907b573c1ed533f165d7e52 100644 (file)
@@ -612,7 +612,7 @@ QString HYDROGUI_DataModel::partitionName( const ObjectKind theObjectKind )
   switch( theObjectKind )
   {
     case KIND_IMAGE:             return "IMAGES";
-    case KIND_POLYLINE:          return "POLYLINES 3D";
+    case KIND_POLYLINE:          return "POLYLINES_3D";
     case KIND_POLYLINEXY:        return "POLYLINES";
     case KIND_PROFILE:           return "PROFILES";
     case KIND_VISUAL_STATE:      return "VISUAL_STATES";
index 9be0f7513dfcd06cf28f0061f4490a7ebf4b5269..045e655dc0f5aa789c8eae674e1bee82add61951 100644 (file)
@@ -69,7 +69,7 @@ void HYDROGUI_Poly3DOp::startOperation()
   }
   else
   {
-    aPoly3DName = HYDROGUI_Tool::GenerateObjectName( module(), tr( "POLYLINE_3D" ) );
+    aPoly3DName = HYDROGUI_Tool::GenerateObjectName( module(), tr( "DEFAULT_POLYLINE_3D_NAME" ) );
   }
   aPanel->setResultName( aPoly3DName );
 
index 9a1cba46d7d84ac90d151663f5fccddb09d55156..84d57407127870d0d59b49545dfdc44332754c43 100644 (file)
       <source>DEFAULT_POLYLINE_NAME</source>
       <translation>Polyline</translation>
     </message>
+    <message>
+      <source>DEFAULT_POLYLINE_3D_NAME</source>
+      <translation>Polyline3D</translation>
+    </message>
     <message>
       <source>DEFAULT_PROFILE_NAME</source>
       <translation>Profile</translation>
       <source>POLYLINES</source>
       <translation>POLYLINES</translation>
     </message>
+    <message>
+      <source>POLYLINES_3D</source>
+      <translation>POLYLINES 3D</translation>
+    </message>
     <message>
       <source>PROFILES</source>
       <translation>PROFILES</translation>
@@ -472,6 +480,10 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
       <source>DSK_CREATE_POLYLINE</source>
       <translation>Create polyline</translation>
     </message>
+    <message>
+      <source>DSK_CREATE_POLYLINE_3D</source>
+      <translation>Create polyline 3D</translation>
+    </message>
     <message>
       <source>DSK_CREATE_PROFILE</source>
       <translation>Create profile</translation>
@@ -528,6 +540,10 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
       <source>DSK_EDIT_POLYLINE</source>
       <translation>Edit polyline</translation>
     </message>
+    <message>
+      <source>DSK_EDIT_POLYLINE_3D</source>
+      <translation>Edit polyline 3D</translation>
+    </message>
     <message>
       <source>DSK_EDIT_SPLITTED_IMAGE</source>
       <translation>Edit splitted image</translation>
@@ -632,6 +648,10 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
       <source>MEN_CREATE_POLYLINE</source>
       <translation>Create polyline</translation>
     </message>
+    <message>
+      <source>MEN_CREATE_POLYLINE_3D</source>
+      <translation>Create polyline 3D</translation>
+    </message>
     <message>
       <source>MEN_CREATE_PROFILE</source>
       <translation>Create profile</translation>
@@ -692,6 +712,10 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
       <source>MEN_EDIT_POLYLINE</source>
       <translation>Edit polyline</translation>
     </message>
+    <message>
+      <source>MEN_EDIT_POLYLINE_3D</source>
+      <translation>Edit polyline 3D</translation>
+    </message>
     <message>
       <source>MEN_EDIT_PROFILE</source>
       <translation>Edit profile</translation>
@@ -808,6 +832,10 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
       <source>STB_CREATE_POLYLINE</source>
       <translation>Create polyline</translation>
     </message>
+    <message>
+      <source>STB_CREATE_POLYLINE_3D</source>
+      <translation>Create polyline 3D</translation>
+    </message>
     <message>
       <source>STB_CREATE_PROFILE</source>
       <translation>Create profile</translation>
@@ -864,6 +892,10 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
       <source>STB_EDIT_POLYLINE</source>
       <translation>Edit polyline</translation>
     </message>
+    <message>
+      <source>STB_EDIT_POLYLINE_3D</source>
+      <translation>Edit polyline 3D</translation>
+    </message>
     <message>
       <source>STB_EDIT_SPLITTED_IMAGE</source>
       <translation>Edit splitted image</translation>
@@ -974,6 +1006,18 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
     </message>
   </context>
 
+  <context>
+    <name>HYDROGUI_Poly3DOp</name>
+    <message>
+      <source>CREATE_POLYLINE_3D</source>
+      <translation>Create polyline 3D</translation>
+    </message>
+    <message>
+      <source>EDIT_POLYLINE_3D</source>
+      <translation>Edit polyline 3D</translation>
+    </message>
+  </context>
+
   <context>
     <name>HYDROGUI_ProfileOp</name>
     <message>
@@ -1038,6 +1082,30 @@ file cannot be correctly imported for a Bathymetry definition.</translation>
     </message>
   </context>
   
+  <context>
+    <name>HYDROGUI_Poly3DDlg</name>
+    <message>
+      <source>POLYLINE_3D_NAME</source>
+      <translation>Polyline 3d name</translation>
+    </message>
+    <message>
+      <source>NAME</source>
+      <translation>Name</translation>
+    </message>
+    <message>
+      <source>PARAMETERS</source>
+      <translation>Parameters</translation>
+    </message>
+    <message>
+      <source>POLYLINE</source>
+      <translation>Polyline</translation>
+    </message>
+    <message>
+      <source>PROFILE</source>
+      <translation>Profile</translation>
+    </message>
+  </context>
+  
   <context>
     <name>HYDROGUI_ProfileDlg</name>
     <message>