summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jason Bramwell <jb2cool@gmail.com>2020-02-09 14:36:58 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-09 12:45:55 -0800
commitcaabf1b8889beb53ae1521b61b801fb572f713fd (patch)
treef09f7e3d535393dfc81a6d2e3f00544a0bfa8632
parent8391d926c7355a0ff637c2b604e259d0d25c3cb2 (diff)
downloadsubsurface-caabf1b8889beb53ae1521b61b801fb572f713fd.tar.gz
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 <turment@gmail.com> Signed-off-by: Jason Bramwell <jb2cool@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/divefilter.h2
-rw-r--r--core/import-csv.c2
-rw-r--r--mobile-widgets/qml/Settings.qml2
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: {