diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/mainwindow.cc | 19 | 
1 files changed, 11 insertions, 8 deletions
| diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 677c635..3f12a5c 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -136,9 +136,10 @@ void MainWindow::closeCommit()  void MainWindow::closeNoCommit()  {    QMessageBox::information(this, -   "Closing without commit", -   "This session will be stored on this computer only." -   " To reopen it at a later time, simply open the same patient again."); +                           tr("Closing without commit"), +                           tr("This session will be stored on this computer " +                              "only. To reopen it at a later time, simply " +                              "open the same patient again."));    sessions.add(cpr, user, netcom.sessionid);    isStored = true;    close(); @@ -151,7 +152,7 @@ void MainWindow::closeDiscard()                             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 | QMessageBox::No)       == QMessageBox::Yes) {      netcom.discard();      sessions.remove(cpr); @@ -170,10 +171,12 @@ extern QWidget *viewer;  void MainWindow::closeEvent(QCloseEvent *event)  {    if(isStored || QMessageBox::question(this, -     "Discard", -     "This session will <strong>NOT</strong> be stored in the journal.<br/>" -     "Are you sure you want to continue?", -     QMessageBox::Yes | QMessageBox::No) +                                       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) {      if(!isStored) {        netcom.discard(); | 
