From 83f9303381e4302a66ab9112d9268aad2a355b25 Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 8 Jun 2009 13:44:12 +0000 Subject: [PATCH] Fix of bug IPAL21152 - TC5.1.2: Caption of tab "CutLines" in VISU preferences is incorrect --- src/VISUGUI/VISU_msg_en.po | 4 ++-- src/VISUGUI/VisuGUI.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/VISUGUI/VISU_msg_en.po b/src/VISUGUI/VISU_msg_en.po index 4b535252..b4e99cbd 100644 --- a/src/VISUGUI/VISU_msg_en.po +++ b/src/VISUGUI/VISU_msg_en.po @@ -225,8 +225,8 @@ msgstr "Number of cycles" msgid "VISU_NB_STEPS" msgstr "Number of steps" -msgid "VISU_CUTLINE_PREF" -msgstr "CutLine preferences" +msgid "VISU_CUT_LINES_PREF" +msgstr "Cut Lines preferences" msgid "VISU_PREF_MED_IMPORT" msgstr "MED files import" diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 6270789c..8365a3b5 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3393,10 +3393,10 @@ void VisuGUI::createPreferences() addPreference( tr( "Arrange Scalar Bars" ), scalarBarGr, LightApp_Preferences::Bool, "VISU", "scalar_bars_default_position" ); // 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" ); -- 2.39.2