From e871585889c85fb360bbda774d3402f5c6d57253 Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 18 Oct 2007 13:09:55 +0000 Subject: [PATCH] NPAL 16561 --- src/VISUGUI/VISU_msg_en.po | 8 ++++---- src/VISUGUI/VisuGUI.cxx | 8 ++++---- src/VISUGUI/VisuGUI_Module.cxx | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/VISUGUI/VISU_msg_en.po b/src/VISUGUI/VISU_msg_en.po index d443df17..d3e9470d 100644 --- a/src/VISUGUI/VISU_msg_en.po +++ b/src/VISUGUI/VISU_msg_en.po @@ -296,8 +296,8 @@ msgstr "Cut Lines" msgid "VisuGUI::MEN_CUT_PLANES" msgstr "Cut Planes" -msgid "VisuGUI::MEN_DISPLAY" -msgstr "Display" +msgid "VisuGUI::MEN_SHOW" +msgstr "Show" msgid "VisuGUI::MEN_DISPLAY_ONLY" msgstr "Display Only" @@ -311,8 +311,8 @@ msgstr "Edit..." msgid "VisuGUI::MEN_EDIT_PRS" msgstr "Edit..." -msgid "VisuGUI::MEN_ERASE" -msgstr "Erase" +msgid "VisuGUI::MEN_HIDE" +msgstr "Hide" msgid "VisuGUI::MEN_EXPORT_TABLE" msgstr "Export Table" diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 5b9a75c7..ae1bb860 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2213,12 +2213,12 @@ createActions() tr("MEN_FREE_SCALAR_BARS"), "", 0, aParent, false, this, SLOT(OnFreeScalarBars())); - createAction( VISU_ERASE, tr("MEN_ERASE"), QIconSet(), - tr("MEN_ERASE"), "", 0, aParent, false, + createAction( VISU_ERASE, tr("MEN_HIDE"), QIconSet(), + tr("MEN_HIDE"), "", 0, aParent, false, this, SLOT(OnErasePrs())); - createAction( VISU_DISPLAY, tr("MEN_DISPLAY"), QIconSet(), - tr("MEN_DISPLAY"), "", 0, aParent, false, + createAction( VISU_DISPLAY, tr("MEN_SHOW"), QIconSet(), + tr("MEN_SHOW"), "", 0, aParent, false, this, SLOT(OnDisplayPrs())); createAction( VISU_DISPLAY_ONLY, tr("MEN_DISPLAY_ONLY"), QIconSet(), diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 06beae6b..3419931f 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -328,15 +328,15 @@ initialize( CAM_Application* theApp ) aRule = "(selcount>0 and type='VISU::TGAUSSPOINTS')"; - createAction( GAUSS_ERASE_PRS, VisuGUI::tr("MEN_ERASE"), QIconSet(), - VisuGUI::tr("MEN_ERASE"), "", 0, this, false, + createAction( GAUSS_ERASE_PRS, VisuGUI::tr("MEN_HIDE"), QIconSet(), + VisuGUI::tr("MEN_HIDE"), "", 0, this, false, this, SLOT(OnErasePrs())); mgr->insert( action( GAUSS_ERASE_PRS ), -1, -1, -1 ); // erase mgr->setRule( action( GAUSS_ERASE_PRS ), aRule + " and ({true} in $canBeDisplayed) and (isVisible=true)", true ); - createAction( GAUSS_DISPLAY_PRS, VisuGUI::tr("MEN_DISPLAY"), QIconSet(), - VisuGUI::tr("MEN_DISPLAY"), "", 0, this, false, + createAction( GAUSS_DISPLAY_PRS, VisuGUI::tr("MEN_SHOW"), QIconSet(), + VisuGUI::tr("MEN_SHOW"), "", 0, this, false, this, SLOT(OnDisplayPrs())); mgr->insert( action( GAUSS_DISPLAY_PRS ), -1, -1, -1 ); // display mgr->setRule( action( GAUSS_DISPLAY_PRS ), -- 2.39.2