From c2c2cf8ea60b530cc6a892e65cf37a22cb3cba57 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 17 Jan 2011 09:21:18 +0000 Subject: Added missing tr tags to 'close window' message --- client/mainwindow.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/mainwindow.cc b/client/mainwindow.cc index a908988..677c635 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -147,9 +147,10 @@ void MainWindow::closeNoCommit() void MainWindow::closeDiscard() { if(QMessageBox::question(this, - "Discard", - "This session will NOT be stored in the journal.
" - "Are you sure you want to continue?", + tr("Discard"), + tr("This session will NOT be " + "stored in the journal.
" + "Are you sure you want to continue?"), QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) { netcom.discard(); -- cgit v1.2.3