NPAL 16561 correct corresponding names

This commit is contained in:
dmv 2007-11-22 07:23:14 +00:00
parent 98589fc17c
commit 2dde161914
3 changed files with 20 additions and 11 deletions

View File

@ -368,7 +368,7 @@ msgstr "Reverse"
#Bothway
msgid "GEOM_BOTHWAY"
msgstr "Bothway"
msgstr "Both Directions"
#Reverse U
msgid "GEOM_REVERSE_U"

View File

@ -359,7 +359,7 @@ msgstr "Reverse"
#Bothway
msgid "GEOM_BOTHWAY"
msgstr "Bothway"
msgstr "Both Directions"
#Reverse U
msgid "GEOM_REVERSE_U"
@ -2905,22 +2905,22 @@ msgid "STB_SHADING"
msgstr "Shading"
msgid "TOP_DISPLAY_ALL"
msgstr "Display all"
msgstr "Show all"
msgid "MEN_DISPLAY_ALL"
msgstr "Display all"
msgstr "Show all"
msgid "STB_DISPLAY_ALL"
msgstr "Display all"
msgstr "Show all"
msgid "TOP_ERASE_ALL"
msgstr "Erase all"
msgstr "Hide all"
msgid "MEN_ERASE_ALL"
msgstr "Erase all"
msgstr "Hide all"
msgid "STB_ERASE_ALL"
msgstr "Erase all"
msgstr "Hide all"
msgid "TOP_DISPLAY"
msgstr "Show"
@ -2932,13 +2932,13 @@ msgid "STB_DISPLAY"
msgstr "Show object(s)"
msgid "TOP_DISPLAY_ONLY"
msgstr "Display only"
msgstr "Show only"
msgid "MEN_DISPLAY_ONLY"
msgstr "Display only"
msgstr "Show only"
msgid "STB_DISPLAY_ONLY"
msgstr "Display only"
msgstr "Show only"
msgid "TOP_ERASE"
msgstr "Hide"

View File

@ -331,6 +331,15 @@ void GroupGUI_GroupDlg::SelectionIntoArgument()
aSelMgr->selectedSubOwners(aMap);
if (aMap.size() == 1)
aMapIndex = aMap.begin().data();
if (aMap.size() == 0) {
Standard_Boolean aResult = Standard_False;
GEOM::GEOM_Object_var anObj =
GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
if ( aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) {
localSelection( anObj, getShapeType() );
}
}
}
}