diff --git a/mainwindow.cpp b/mainwindow.cpp index 743f57e8..10c3056b 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -557,17 +557,17 @@ void MainWindow::on_summaryButton_clicked() if (cpapdays==0) { html+="No CPAP Machine Data Imported"; } else { - html+=QString("CPAP Statistics as of %1").arg(lastcpap.toString(Qt::SystemLocaleLongDate)); + html+=QString("CPAP Statistics as of %1").arg(lastcpap.toString(Qt::SystemLocaleLongDate)); if (cpap_machines.size()>0) { - // html+=QString("%1").arg(tr("CPAP Summary")); + // html+=QString("%1").arg(tr("CPAP Summary")); if (!cpapdays) { - html+=QString("%1").arg(tr("No CPAP data available.")); + html+=QString("%1").arg(tr("No CPAP data available.")); } else if (cpapdays==1) { - html+=QString("%1").arg(QString(tr("%1 day of CPAP Data, on %2.")).arg(cpapdays).arg(firstcpap.toString(Qt::SystemLocaleShortDate))); + html+=QString("%1").arg(QString(tr("%1 day of CPAP Data, on %2.")).arg(cpapdays).arg(firstcpap.toString(Qt::SystemLocaleShortDate))); } else { - html+=QString("%1").arg(QString(tr("%1 days of CPAP Data, between %2 and %3")).arg(cpapdays).arg(firstcpap.toString(Qt::SystemLocaleShortDate)).arg(lastcpap.toString(Qt::SystemLocaleShortDate))); + html+=QString("%1").arg(QString(tr("%1 days of CPAP Data, between %2 and %3")).arg(cpapdays).arg(firstcpap.toString(Qt::SystemLocaleShortDate)).arg(lastcpap.toString(Qt::SystemLocaleShortDate))); } html+=QString("%1%2%3%4%5%6") @@ -660,11 +660,11 @@ void MainWindow::on_summaryButton_clicked() QDate firstoxi=p_profile->FirstDay(MT_OXIMETER); int days=PROFILE.countDays(MT_OXIMETER,firstoxi,lastoxi); if (days>0) { - html+=QString("%1").arg(tr("Oximetry Summary")); + html+=QString("%1").arg(tr("Oximetry Summary")); if (days==1) { - html+=QString("%1").arg(QString(tr("%1 day of Oximetry Data, on %2.")).arg(days).arg(firstoxi.toString(Qt::SystemLocaleShortDate))); + html+=QString("%1").arg(QString(tr("%1 day of Oximetry Data, on %2.")).arg(days).arg(firstoxi.toString(Qt::SystemLocaleShortDate))); } else { - html+=QString("%1").arg(QString(tr("%1 days of Oximetry Data, between %2 and %3")).arg(days).arg(firstoxi.toString(Qt::SystemLocaleShortDate)).arg(lastoxi.toString(Qt::SystemLocaleShortDate))); + html+=QString("%1").arg(QString(tr("%1 days of Oximetry Data, between %2 and %3")).arg(days).arg(firstoxi.toString(Qt::SystemLocaleShortDate)).arg(lastoxi.toString(Qt::SystemLocaleShortDate))); } html+=QString("%1%2%3%4%5%6")