Language Settings Wrapper

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-01-22 16:55:03 -02:00 committed by Dirk Hohndel
parent 15fece7da2
commit c3137cf07c
4 changed files with 143 additions and 2 deletions

View file

@ -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,