diff --git a/oscar/daily.cpp b/oscar/daily.cpp index c69de078..f118a96e 100644 --- a/oscar/daily.cpp +++ b/oscar/daily.cpp @@ -1086,16 +1086,18 @@ QString Daily::getMachineSettings(Day * day) { if (cpap && day->hasEnabledSessions(MT_CPAP)) { html=""; html+=QString("").arg(tr("Machine Settings")); - html+=""; -/* if (day->noSettings(cpap)) */{ + if (day->noSettings(cpap)) { html+="\n"; + } else { + html+=""; + } /* } else if ((day->settingExists(CPAP_BrokenSummary))) { html+="
%1
 
"+tr("Please Note: All settings shown below are based on assumptions that nothing has changed since previous days.")+"
 
"+tr("Machine Settings Unavailable")+"

\n"; return html; - */ } + */ QMap other; Session * sess = day->firstSession(MT_CPAP); @@ -1244,9 +1246,9 @@ QString Daily::getCPAPInformation(Day * day) html+=tr("PAP Mode: %1").arg(day->getCPAPModeStr())+"
"; html+= day->getPressureSettings(); html+="\n"; -// if (day->noSettings(cpap)) { - html+=QString("%1").arg(tr("(Mode/Pressure settings are guessed on this day.)")); -// } + if (day->noSettings(cpap)) { + html+=QString("%1").arg(tr("(Mode and Pressure settings missing; yesterday's shown.)")); + } html+="\n"; html+="
\n"; @@ -1356,7 +1358,7 @@ QString Daily::getStatisticsInfo(Day * day) if (GraphView->isEmpty() && ((ccnt>0) || (cpap && day->summaryOnly()))) { html+=" \n"; - html+=QString("%1").arg(""+STR_MessageBox_PleaseNote+" "+ + html+=QString("%1").arg(""+STR_MessageBox_PleaseNote+" "+ tr("This day just contains summary data, only limited information is available.")); } else if (cpap) { html+=" ";