From 58f11dda1dc6bada0be376bdc88b35a785e5e12d Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 9 May 2009 01:05:40 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/MainWindow.cpp | 2 +- retroshare-gui/src/gui/TransfersDialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index 09f1f44f0..fdfb6de5d 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -504,7 +504,7 @@ void MainWindow::doQuit() { QString queryWrn; 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) { diff --git a/retroshare-gui/src/gui/TransfersDialog.cpp b/retroshare-gui/src/gui/TransfersDialog.cpp index 32046c3d8..f3503d4ce 100644 --- a/retroshare-gui/src/gui/TransfersDialog.cpp +++ b/retroshare-gui/src/gui/TransfersDialog.cpp @@ -601,7 +601,7 @@ void TransfersDialog::cancel() { QString queryWrn2; 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) {