From caabf1b8889beb53ae1521b61b801fb572f713fd Mon Sep 17 00:00:00 2001 From: Jason Bramwell Date: Sun, 9 Feb 2020 14:36:58 +0000 Subject: Correcting typos of the word celsius Corrected typo of the word celsius in three files: core/import-csv.c core/divefileter.h mobile-widgets/qml/Settings.qml These were spelled as celcius but corrected these to celsius. The 'core files were just comments but the mobile-widgets file would be 'active' code. Reported by: tormento Signed-off-by: Jason Bramwell Signed-off-by: Dirk Hohndel --- core/divefilter.h | 2 +- core/import-csv.c | 2 +- mobile-widgets/qml/Settings.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/divefilter.h b/core/divefilter.h index d225d3c81..7435289bd 100644 --- a/core/divefilter.h +++ b/core/divefilter.h @@ -42,7 +42,7 @@ struct FilterData { int maxRating = 5; // The default minimum and maximum temperatures are set such that all // physically reasonable dives are shown. Note that these values should - // work for both Celcius and Fahrenheit scales. + // work for both Celsius and Fahrenheit scales. double minWaterTemp = -10; double maxWaterTemp = 200; double minAirTemp = -50; diff --git a/core/import-csv.c b/core/import-csv.c index 83229331c..75b4cd63d 100644 --- a/core/import-csv.c +++ b/core/import-csv.c @@ -740,7 +740,7 @@ int parse_txt_file(const char *filename, const char *csv, struct dive_table *tab add_sample_data(sample, POSEIDON_NDL, value); break; case 39: - // Water Temperature in Celcius + // Water Temperature in Celsius add_sample_data(sample, POSEIDON_TEMP, value); break; case 85: diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index a801fff80..1828b32dd 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -458,7 +458,7 @@ TemplatePage { font.bold: (Backend.unit_system === Enums.PERSONALIZE) } TemplateRadioButton { - text: qsTr("celcius") + text: qsTr("celsius") checked: (Backend.temperature === Enums.CELSIUS) ButtonGroup.group: unitTemperature onClicked: { -- cgit v1.2.3-70-g09d2