From f3f2d644effc38ed85f822e0e82fc2a28f0d02c9 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 16 Oct 2012 16:00:19 +0000 Subject: [PATCH] 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box --- src/SMESHGUI/SMESHGUI.cxx | 2 +- src/SMESHGUI/SMESH_msg_en.ts | 4 ++++ src/SMESHGUI/SMESH_msg_fr.ts | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.39.2