From: vsr Date: Tue, 16 Oct 2012 16:00:19 +0000 (+0000) Subject: 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import... X-Git-Tag: V6_6_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f3f2d644effc38ed85f822e0e82fc2a28f0d02c9;p=modules%2Fsmesh.git 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 9a3211aee..2cecefccb 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -205,7 +205,7 @@ filter.append( QObject::tr( "DAT_FILES_FILTER" ) + " (*.dat)" ); } else if ( theCommandID == 115 ) { - filter.append( QObject::tr( "STL_ASCII_FILES_FILTER" ) + " (*.stl)" ); + filter.append( QObject::tr( "STL_FILES_FILTER" ) + " (*.stl)" ); } else if ( theCommandID == 116 ) { filter.append( QObject::tr( "CGNS_FILES_FILTER" ) + " (*.cgns)" ); diff --git a/src/SMESHGUI/SMESH_msg_en.ts b/src/SMESHGUI/SMESH_msg_en.ts index 5253ff02d..e20b9ff82 100644 --- a/src/SMESHGUI/SMESH_msg_en.ts +++ b/src/SMESHGUI/SMESH_msg_en.ts @@ -27,6 +27,10 @@ MED_VX_FILES_FILTER MED %1 files + + STL_FILES_FILTER + STL files + STL_ASCII_FILES_FILTER STL ASCII files diff --git a/src/SMESHGUI/SMESH_msg_fr.ts b/src/SMESHGUI/SMESH_msg_fr.ts index f4eb29edd..49676deb8 100755 --- a/src/SMESHGUI/SMESH_msg_fr.ts +++ b/src/SMESHGUI/SMESH_msg_fr.ts @@ -27,6 +27,10 @@ MED_VX_FILES_FILTER Fichiers MED %1 + + STL_FILES_FILTER + Fichiers STL + STL_ASCII_FILES_FILTER Fichiers STL ASCII