aboutsummaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Monty Taylor <mordred@inaugust.com>2020-05-04 18:07:56 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-05 08:25:21 -0700
commit7a9214575e4b8124995fb6e8edf2895a19f4170d (patch)
tree04b6af6d471f7435764369d8210a1814787912ac /core/qthelper.cpp
parent95e6792c4fe353441fd1cad8bad8b459b1a37d65 (diff)
downloadsubsurface-7a9214575e4b8124995fb6e8edf2895a19f4170d.tar.gz
cleanup: Change Salty to Brackish
In the code, the difference between SALTYWATER and SALTWATER is hard to see. More importantly, in the UI - Brackish is the word for water that has more salt that freshwater but less salt that seawater. The docs already use the word to clarify what is meant.
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 2e4f35431..f59b804dd 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -631,7 +631,7 @@ QString get_water_type_string(int salinity)
if (salinity < 10050)
return waterTypes[FRESHWATER];
else if (salinity < 10190)
- return waterTypes[SALTYWATER];
+ return waterTypes[BRACKISHWATER];
else if (salinity < 10210)
return waterTypes[EN13319WATER];
else
@@ -1162,7 +1162,7 @@ QString localFilePath(const QString &originalFilename)
// the water types need to match the watertypes enum
const QStringList waterTypes = {
- gettextFromC::tr("Fresh"), gettextFromC::tr("Salty"), gettextFromC::tr("EN13319"), gettextFromC::tr("Salt"), gettextFromC::tr("use dc")
+ gettextFromC::tr("Fresh"), gettextFromC::tr("Brackish"), gettextFromC::tr("EN13319"), gettextFromC::tr("Salt"), gettextFromC::tr("use dc")
};
// TODO: Apparently Qt has no simple way of listing the supported video