if( aMgr ) {
std::vector<std::string> List = studyMgr()->GetOpenStudies();
if( List.size() > 0 ) {
- int answer = SUIT_MessageBox::question( desktop(), tr( "WRN_WARNING" ), tr( "QUE_ACTIVEDOC_LOAD" ),
- SUIT_MessageBox::Yes | SUIT_MessageBox::No, SUIT_MessageBox::No );
- if ( answer == SUIT_MessageBox::Yes ) {
- onLoadDoc();
- }
+ SUIT_MessageBox::critical( desktop(), tr( "WRN_WARNING" ), tr( "ERR_ACTIVEDOC_LOAD" ));
result = false;
}
}
<translation>The file %1 does not exist.</translation>
</message>
<message>
- <source>QUE_ACTIVEDOC_LOAD</source>
- <translation>There is an active study in the session.
-Do you want to load it?
-</translation>
+ <source>ERR_ACTIVEDOC_LOAD</source>
+ <translation>A study is already active in your session, but you are not connected to it. Use the Connect button to load it in the interface.</translation>
</message>
<message>
<source>STUDYCLOSE_DESCRIPTION</source>
<source>WRN_FILE_NOT_EXIST</source>
<translation>Le fichier %1 n'existe pas.</translation>
</message>
+ <message>
+ <source>ERR_ACTIVEDOC_LOAD</source>
+ <translation type="unfinished">A study is already active in your session, but you are not connected to it. Use the Connect button to load it in the interface.</translation>
+ </message>
<message>
<source>STUDYCLOSE_DESCRIPTION</source>
<translation type="unfinished">You already have an active study in your session. It has to be closed before working with another study.</translation>
<translation>ファイル %1 は存在しません。</translation>
</message>
<message>
- <source>QUE_ACTIVEDOC_LOAD</source>
- <translation>セッションにスタディがあります。読み込みますか?</translation>
+ <source>ERR_ACTIVEDOC_LOAD</source>
+ <translation type="unfinished">A study is already active in your session, but you are not connected to it. Use the Connect button to load it in the interface.</translation>
</message>
<message>
<source>STUDYCLOSE_DESCRIPTION</source>