From dfde62db175a71a85483d04c30ca19c2d8971305 Mon Sep 17 00:00:00 2001 From: LoudSnorer Date: Sat, 10 Jun 2023 20:50:59 -0400 Subject: [PATCH] Statistics Add Database has in front of date range. --- oscar/statistics.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oscar/statistics.cpp b/oscar/statistics.cpp index 74d88c09..ae6287b9 100644 --- a/oscar/statistics.cpp +++ b/oscar/statistics.cpp @@ -1302,7 +1302,7 @@ QString Statistics::GenerateCPAPUsage() } else { // STAT_MODE_RANGE first = p_profile->general->statReportRangeStart(); last = p_profile->general->statReportRangeEnd(); - periods.push_back(Period(first,last,first.toString(MedDateFormat)+" -
"+last.toString(MedDateFormat))); + periods.push_back(Period(first,last,first.toString(MedDateFormat)+" - "+last.toString(MedDateFormat))); } int days = p_profile->countDays(row.type, first, last); @@ -1338,16 +1338,16 @@ QString Statistics::GenerateCPAPUsage() if (value == 0) { html+=QString("%2").arg(periods.size()+1). - arg(tr("No %1 data available.").arg(machine)); + arg(tr("Database has No %1 data available.").arg(machine)); } else if (value == 1) { html+=QString("%2").arg(periods.size()+1). - arg(tr("%1 day of %2 Data on %3") + arg(tr("Database has %1 day of %2 Data on %3") .arg(value) .arg(machine) .arg(last.toString(MedDateFormat))); } else { html+=QString("%2").arg(periods.size()+1). - arg(tr("%1 days of %2 Data, between %3 and %4") + arg(tr("Database has %1 days of %2 Data, between %3 and %4") .arg(value) .arg(machine) .arg(first.toString(MedDateFormat))