diff options
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r-- | client/mainwindow.cc | 7 |
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(); |