summaryrefslogtreecommitdiffstats
path: root/subsurface-core/pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/pref.h')
-rw-r--r--subsurface-core/pref.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/subsurface-core/pref.h b/subsurface-core/pref.h
index 1e58a6ace..be684fd90 100644
--- a/subsurface-core/pref.h
+++ b/subsurface-core/pref.h
@@ -32,6 +32,11 @@ typedef struct {
enum taxonomy_category category[3];
} geocoding_prefs_t;
+typedef struct {
+ const char *language;
+ bool use_system_language;
+} locale_prefs_t;
+
enum deco_mode {
BUEHLMANN,
RECREATIONAL,
@@ -126,6 +131,7 @@ struct preferences {
int time_threshold;
int distance_threshold;
bool git_local_only;
+ locale_prefs_t locale; //: TODO: move the rest of locale based info here.
};
enum unit_system_values {
METRIC,