From: ouv Date: Mon, 8 Jun 2009 13:43:40 +0000 (+0000) Subject: Fix of bug IPAL21152 - TC5.1.2: Caption of tab "CutLines" in VISU preferences is... X-Git-Tag: V5_1_2rc2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4be6116d5938271d83dc1cad509f502ad344677c;p=modules%2Fvisu.git Fix of bug IPAL21152 - TC5.1.2: Caption of tab "CutLines" in VISU preferences is incorrect --- diff --git a/src/VISUGUI/VISU_msg_en.ts b/src/VISUGUI/VISU_msg_en.ts index e7539f3d..642865fe 100644 --- a/src/VISUGUI/VISU_msg_en.ts +++ b/src/VISUGUI/VISU_msg_en.ts @@ -134,8 +134,8 @@ number of time stamps or number of components is not the same! Cosinusoidal ( (1 - cos(t))/2 ) - VISU_CUTLINE_PREF - CutLine preferences + VISU_CUT_LINES_PREF + Cut Lines preferences VISU_CUT_LINES diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 5c51442e..867e2352 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3682,10 +3682,10 @@ void VisuGUI::createPreferences() setPreferenceProperty( bhh, "max", 100 ); // TAB: "CutLines" - int cutLineTab = addPreference( tr( "CutLines" ) ); + int cutLineTab = addPreference( tr( "VISU_CUT_LINES" ) ); // group: "CutLines preferences" - int cutLineGr = addPreference( tr( "VISU_CUTLINE_PREF" ), cutLineTab ); + int cutLineGr = addPreference( tr( "VISU_CUT_LINES_PREF" ), cutLineTab ); setPreferenceProperty( cutLineGr, "columns", 1 ); addPreference( tr( "Show preview" ), cutLineGr, LightApp_Preferences::Bool, "VISU", "show_preview" ); addPreference( tr( "Invert all curves" ), cutLineGr, LightApp_Preferences::Bool, "VISU", "invert_all_curves" );