From 47f4380d5102bd98f4e46ec26c8bd018c202ddba Mon Sep 17 00:00:00 2001 From: smh Date: Fri, 14 May 2004 12:46:48 +0000 Subject: [PATCH] Fix for bug PAL5277. --- src/SALOMEGUI/QAD_Desktop.cxx | 7 +++-- src/SALOMEGUI/QAD_msg_en.po | 56 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) diff --git a/src/SALOMEGUI/QAD_Desktop.cxx b/src/SALOMEGUI/QAD_Desktop.cxx index ea07b4373..3f2222027 100644 --- a/src/SALOMEGUI/QAD_Desktop.cxx +++ b/src/SALOMEGUI/QAD_Desktop.cxx @@ -3912,6 +3912,7 @@ void QAD_Desktop::onFilePopupStatusText( int id ) //one of the modules is active now int importId = myFilePopup.idAt(8); int exportId = myFilePopup.idAt(9); + int importTableId = myFilePopup.idAt(10); if (component == getComponentUserName("SMESH") || component == getComponentUserName("GEOM")) { if (id == importId) @@ -3922,8 +3923,10 @@ void QAD_Desktop::onFilePopupStatusText( int id ) if (component == getComponentUserName("VISU")) { if (id == importId) putInfo( tr("PRP_DESK_FILE_IMPORTMED") ); - if (id == exportId) + if (id == importTableId) putInfo( tr("PRP_DESK_FILE_IMPORTTABLE") ); + if (id == exportId) + putInfo( tr("PRP_DESK_FILE_EXPLOREMEDFILE") ); } if (component == getComponentUserName("SUPERV")) { if (id == importId) @@ -3972,7 +3975,7 @@ void QAD_Desktop::onViewPopupStatusText( int id ) putInfo( tr("PRP_DESK_VIEW_DISPLAYMODE") ); } if (component == getComponentUserName("SMESH")) { - int updateId = myViewPopup.idAt(4); + int updateId = myViewPopup.idAt(3); if (id == DispModeId) putInfo( tr("PRP_DESK_VIEW_DISPLAYMODE") ); diff --git a/src/SALOMEGUI/QAD_msg_en.po b/src/SALOMEGUI/QAD_msg_en.po index 05092171c..a843fd12f 100644 --- a/src/SALOMEGUI/QAD_msg_en.po +++ b/src/SALOMEGUI/QAD_msg_en.po @@ -374,6 +374,54 @@ msgstr "Saves the active study" msgid "QAD_Desktop::PRP_DESK_FILE_SAVEAS" msgstr "Saves the active study with a new name" +#: QAD_Desktop.cxx:3759 +msgid "QAD_Desktop::PRP_DESK_FILE_IMPORT" +msgstr "Import file" + +#: QAD_Desktop.cxx:3765 +msgid "QAD_Desktop::PRP_DESK_FILE_IMPORTMESH" +msgstr "Import Mesh from file" + +#: QAD_Desktop.cxx:3765 +msgid "QAD_Desktop::PRP_DESK_FILE_IMPORTMED" +msgstr "Import MED file" + +#: QAD_Desktop.cxx:3765 +msgid "QAD_Desktop::PRP_DESK_FILE_IMPORTTABLE" +msgstr "Import TABLE from file" + +#: QAD_Desktop.cxx:3765 +msgid "QAD_Desktop::PRP_DESK_FILE_EXPLOREMEDFILE" +msgstr "Explore MED file" + +#: QAD_Desktop.cxx:3771 +msgid "QAD_Desktop::PRP_DESK_FILE_IMPORTDF" +msgstr "Import Dataflow from file" + +#: QAD_Desktop.cxx:3761 +msgid "QAD_Desktop::PRP_DESK_FILE_EXPORT" +msgstr "Export file" + +#: QAD_Desktop.cxx:3761 +msgid "QAD_Desktop::PRP_DESK_FILE_EXPORTRESULT" +msgstr "Export Result" + +#: QAD_Desktop.cxx:3773 +msgid "QAD_Desktop::PRP_DESK_FILE_EXPORTDF" +msgstr "Export Dataflow" + +#: QAD_Desktop.cxx:3793 +msgid "QAD_Desktop::PRP_DESK_EDIT_DELETE" +msgstr "Delete object" + +#: QAD_Desktop.cxx:3799 +msgid "QAD_Desktop::PRP_DESK_EDIT_NEWDF" +msgstr "Creates new Dataflow" + +#: QAD_Desktop.cxx:3801 +msgid "QAD_Desktop::PRP_DESK_EDIT_MODIFYDF" +msgstr "Modifies already existent Dataflow" + #: QAD_Desktop.cxx:292 msgid "QAD_Desktop::PRP_DESK_HELP_ABOUT" msgstr "Shows \'About\' dialog" @@ -409,6 +457,14 @@ msgstr "Toggles status bar view on/off" msgid "QAD_Desktop::PRP_DESK_VIEW_TOOLBAR" msgstr "Toggles toolbar on/off" +#: QAD_Desktop.cxx:220 +msgid "QAD_Desktop::PRP_DESK_VIEW_DISPLAYMODE" +msgstr "Choose the display mode" + +#: QAD_Desktop.cxx:220 +msgid "QAD_Desktop::PRP_DESK_VIEW_UPDATE" +msgstr "Update view" + #: QAD_Desktop.cxx:871 msgid "QAD_Desktop::PRP_DESK_WINDOW_ACTIVATE" msgstr "Activates this window" -- 2.39.2