From 4305baa76be501dfaa88e957c09639b5f7386158 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sat, 17 May 2014 15:12:57 +1000 Subject: [PATCH] A couple more string fixes --- sleepyhead/SleepLib/profiles.cpp | 2 +- sleepyhead/statistics.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sleepyhead/SleepLib/profiles.cpp b/sleepyhead/SleepLib/profiles.cpp index 62ecd666..a820f0ac 100644 --- a/sleepyhead/SleepLib/profiles.cpp +++ b/sleepyhead/SleepLib/profiles.cpp @@ -131,7 +131,7 @@ void Profile::DataFormatError(Machine *m) QMessageBox::critical(nullptr, STR_MessageBox_Error, QObject::tr("Sorry, the purge operation failed, which means this version of SleepyHead can't start.")+"\n\n"+ QObject::tr("The machine data folder needs to be removed manually.")+"\n\n"+ - QObject::tr("This folder currently resides at the following location:\n\n")+ + QObject::tr("This folder currently resides at the following location:")+\n\n"+ QDir::toNativeSeparators(PREF[STR_GEN_DataFolder].toString()), QMessageBox::Ok); QApplication::exit(-1); } diff --git a/sleepyhead/statistics.cpp b/sleepyhead/statistics.cpp index 989bc6f0..25780e6a 100644 --- a/sleepyhead/statistics.cpp +++ b/sleepyhead/statistics.cpp @@ -36,7 +36,7 @@ Statistics::Statistics(QObject *parent) : rows.push_back(StatisticsRow("", SC_COLUMNHEADERS, MT_CPAP)); rows.push_back(StatisticsRow(tr("CPAP Usage"), SC_SUBHEADING, MT_CPAP)); rows.push_back(StatisticsRow(tr("Average Hours per Night"), SC_HOURS, MT_CPAP)); - rows.push_back(StatisticsRow(tr("Compliancy"), SC_COMPLIANCE, MT_CPAP)); + rows.push_back(StatisticsRow(tr("Compliance"), SC_COMPLIANCE, MT_CPAP)); rows.push_back(StatisticsRow(tr("Therapy Efficiacy"), SC_SUBHEADING, MT_CPAP)); rows.push_back(StatisticsRow("AHI", SC_AHI, MT_CPAP));