summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-06 12:10:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-06 12:10:34 -0700
commita0a6759d930c081d95d0984b4ffdbd1a55cf4961 (patch)
treefae7a20798e7c909d4e8e18e61e968b2c1fc7287 /helpers.h
parent98dd127f9350ac04b1895a1a126ff23579784537 (diff)
downloadsubsurface-a0a6759d930c081d95d0984b4ffdbd1a55cf4961.tar.gz
User manual: show a localized version of the manual if it exists
So far we only have Spanish, but it always pays to plan ahead. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index fbcf2895f..445e9135c 100644
--- a/helpers.h
+++ b/helpers.h
@@ -32,6 +32,7 @@ int parseTemperatureToMkelvin(const QString &text);
QString get_dive_date_string(timestamp_t when);
QString get_short_dive_date_string(timestamp_t when);
QString get_trip_date_string(timestamp_t when, int nr);
+QString uiLanguage(QLocale *callerLoc);
#define M_OR_FT(_m, _f) ((prefs.units.length == units::METERS) ? ((_m) * 1000) : (feet_to_mm(_f)))