mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 19:27:03 -04:00
[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:
parent
18c9df18b5
commit
897becd290
5 changed files with 63 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue