enabled for the MessageBox'es translations support

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-05-09 01:05:40 +00:00
parent 2f1a8700ac
commit 58f11dda1d
2 changed files with 2 additions and 2 deletions

View File

@ -504,7 +504,7 @@ void MainWindow::doQuit()
{ {
QString queryWrn; QString queryWrn;
queryWrn.clear(); queryWrn.clear();
queryWrn.append("Do you really want to quit and stop all transfers?"); queryWrn.append(tr("Do you really want to exit RetroShare ?"));
if ((QMessageBox::question(this, tr("Really quit ? "),queryWrn,QMessageBox::Ok|QMessageBox::No, QMessageBox::Ok))== QMessageBox::Ok) if ((QMessageBox::question(this, tr("Really quit ? "),queryWrn,QMessageBox::Ok|QMessageBox::No, QMessageBox::Ok))== QMessageBox::Ok)
{ {

View File

@ -601,7 +601,7 @@ void TransfersDialog::cancel()
{ {
QString queryWrn2; QString queryWrn2;
queryWrn2.clear(); queryWrn2.clear();
queryWrn2.append("Are you sure that you want to cancel and delete these files?"); queryWrn2.append(tr("Are you sure that you want to cancel and delete these files?"));
if ((QMessageBox::question(this, tr("RetroShare"),queryWrn2,QMessageBox::Ok|QMessageBox::No, QMessageBox::Ok))== QMessageBox::Ok) if ((QMessageBox::question(this, tr("RetroShare"),queryWrn2,QMessageBox::Ok|QMessageBox::No, QMessageBox::Ok))== QMessageBox::Ok)
{ {