summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
authorsenator <senator>2011-01-17 09:21:18 +0000
committersenator <senator>2011-01-17 09:21:18 +0000
commitc2c2cf8ea60b530cc6a892e65cf37a22cb3cba57 (patch)
treee37d7ff4df761703daed1d9184291dc8ce10c4a5 /client/mainwindow.cc
parentc33976c2daa6df66fd80a9406bc40c2d3613f377 (diff)
Added missing tr tags to 'close window' message
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc7
1 files 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 <strong>NOT</strong> be stored in the journal.<br/>"
- "Are you sure you want to continue?",
+ tr("Discard"),
+ tr("This session will <strong>NOT</strong> be "
+ "stored in the journal.<br/>"
+ "Are you sure you want to continue?"),
QMessageBox::Yes | QMessageBox::No)
== QMessageBox::Yes) {
netcom.discard();