Preferences: remember both the locale name and the user friendly text

Currently we are confused which it is we are looking at and so setting the
language is broken.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-09-20 12:35:49 -07:00
parent c809a8873c
commit a31dd6c1c0
3 changed files with 15 additions and 2 deletions

View file

@ -34,6 +34,7 @@ typedef struct {
typedef struct {
const char *language;
const char *lang_locale;
bool use_system_language;
} locale_prefs_t;