From 4d534f594d2b1899d23ace2a14411c8c72bde80d Mon Sep 17 00:00:00 2001 From: rkv Date: Mon, 2 Dec 2013 06:59:16 +0000 Subject: [PATCH] Translations are updated for Polylines 3D. --- src/HYDROGUI/HYDROGUI_DataModel.cxx | 2 +- src/HYDROGUI/HYDROGUI_Poly3DOp.cxx | 2 +- src/HYDROGUI/resources/HYDROGUI_msg_en.ts | 68 +++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) diff --git a/src/HYDROGUI/HYDROGUI_DataModel.cxx b/src/HYDROGUI/HYDROGUI_DataModel.cxx index be459896..3ea41225 100644 --- a/src/HYDROGUI/HYDROGUI_DataModel.cxx +++ b/src/HYDROGUI/HYDROGUI_DataModel.cxx @@ -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"; diff --git a/src/HYDROGUI/HYDROGUI_Poly3DOp.cxx b/src/HYDROGUI/HYDROGUI_Poly3DOp.cxx index 9be0f751..045e655d 100644 --- a/src/HYDROGUI/HYDROGUI_Poly3DOp.cxx +++ b/src/HYDROGUI/HYDROGUI_Poly3DOp.cxx @@ -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 ); diff --git a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts index 9a1cba46..84d57407 100644 --- a/src/HYDROGUI/resources/HYDROGUI_msg_en.ts +++ b/src/HYDROGUI/resources/HYDROGUI_msg_en.ts @@ -11,6 +11,10 @@ DEFAULT_POLYLINE_NAME Polyline + + DEFAULT_POLYLINE_3D_NAME + Polyline3D + DEFAULT_PROFILE_NAME Profile @@ -39,6 +43,10 @@ POLYLINES POLYLINES + + POLYLINES_3D + POLYLINES 3D + PROFILES PROFILES @@ -472,6 +480,10 @@ file cannot be correctly imported for a Bathymetry definition. DSK_CREATE_POLYLINE Create polyline + + DSK_CREATE_POLYLINE_3D + Create polyline 3D + DSK_CREATE_PROFILE Create profile @@ -528,6 +540,10 @@ file cannot be correctly imported for a Bathymetry definition. DSK_EDIT_POLYLINE Edit polyline + + DSK_EDIT_POLYLINE_3D + Edit polyline 3D + DSK_EDIT_SPLITTED_IMAGE Edit splitted image @@ -632,6 +648,10 @@ file cannot be correctly imported for a Bathymetry definition. MEN_CREATE_POLYLINE Create polyline + + MEN_CREATE_POLYLINE_3D + Create polyline 3D + MEN_CREATE_PROFILE Create profile @@ -692,6 +712,10 @@ file cannot be correctly imported for a Bathymetry definition. MEN_EDIT_POLYLINE Edit polyline + + MEN_EDIT_POLYLINE_3D + Edit polyline 3D + MEN_EDIT_PROFILE Edit profile @@ -808,6 +832,10 @@ file cannot be correctly imported for a Bathymetry definition. STB_CREATE_POLYLINE Create polyline + + STB_CREATE_POLYLINE_3D + Create polyline 3D + STB_CREATE_PROFILE Create profile @@ -864,6 +892,10 @@ file cannot be correctly imported for a Bathymetry definition. STB_EDIT_POLYLINE Edit polyline + + STB_EDIT_POLYLINE_3D + Edit polyline 3D + STB_EDIT_SPLITTED_IMAGE Edit splitted image @@ -974,6 +1006,18 @@ file cannot be correctly imported for a Bathymetry definition. + + HYDROGUI_Poly3DOp + + CREATE_POLYLINE_3D + Create polyline 3D + + + EDIT_POLYLINE_3D + Edit polyline 3D + + + HYDROGUI_ProfileOp @@ -1038,6 +1082,30 @@ file cannot be correctly imported for a Bathymetry definition. + + HYDROGUI_Poly3DDlg + + POLYLINE_3D_NAME + Polyline 3d name + + + NAME + Name + + + PARAMETERS + Parameters + + + POLYLINE + Polyline + + + PROFILE + Profile + + + HYDROGUI_ProfileDlg -- 2.39.2