[loc] set chkdsk and format output to use English locale

* Also fix percentage not being displayed when using slow format
* Also use GetUserDefaultUILanguage() rather than GetUserDefaultLCID()
  to get the user preferred locale.
* Closes #189
This commit is contained in:
Pete Batard 2013-12-20 02:59:44 +00:00
parent 18c9df18b5
commit 897becd290
5 changed files with 63 additions and 13 deletions

View file

@ -154,3 +154,7 @@ typedef struct {
#define die(msg, err) do { uprintf(msg); \
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|err; \
goto out; } while(0)
/* Locale */
typedef LANGID (WINAPI *SetThreadUILanguage_t)(LANGID LangId);
typedef LANGID (WINAPI *GetThreadUILanguage_t)(void);