if( SUIT_MessageBox::question( desktop(),
QObject::tr( "WRN_WARNING" ),
QObject::tr( "ERR_NO_VARIABLE" ).arg( aParametersString ),
- SUIT_MessageBox::Yes | SUIT_MessageBox::No,
- SUIT_MessageBox::No ) == SUIT_MessageBox::Yes )
+ QObject::tr( "YES" ), QObject::tr( "NO" ), 0, 1 ) == 0 )
{
showNoteBook( aParameters, true );
return true;
bool isTableValid = myTable->isValid();
if( !isTableValid &&
SUIT_MessageBox::question( this, tr( "CLOSE_CAPTION" ), tr( "INCORRECT_DATA_ON_CLOSE" ),
- QMessageBox::Ok | QMessageBox::Cancel,
- QMessageBox::Cancel ) == QMessageBox::Cancel )
+ tr( "OK" ), tr( "CANCEL" ), 0, 1 ) == 1 )
return;
// update only variables
-->
<context>
<name>@default</name>
+ <message>
+ <source>YES</source>
+ <translation>Yes</translation>
+ </message>
+ <message>
+ <source>NO</source>
+ <translation>No</translation>
+ </message>
<message>
<source>WRN_FILE_NAME_BAD</source>
<translation>Please enter correct file name.