mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 09:48:51 +01:00
Use local language for printing text.
This commit is contained in:
parent
8f28696c93
commit
ea9722cd63
@ -25,6 +25,7 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <locale>
|
||||||
|
|
||||||
static bool ImportConfiguration(Configuration *c);
|
static bool ImportConfiguration(Configuration *c);
|
||||||
static bool StartLogging();
|
static bool StartLogging();
|
||||||
@ -59,6 +60,9 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initialize locale language
|
||||||
|
setlocale( LC_ALL, "" );
|
||||||
|
|
||||||
// Initialize random seed
|
// Initialize random seed
|
||||||
srand(static_cast<unsigned int>(time(0)));
|
srand(static_cast<unsigned int>(time(0)));
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user