Poner la localización del sistema
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
parent
8b6250d4b3
commit
b0aa7eea06
@ -1,5 +1,6 @@
|
|||||||
#include "configFile.hpp"
|
#include "configFile.hpp"
|
||||||
#include "ui.hpp"
|
#include "ui.hpp"
|
||||||
|
#include <locale.h>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@ -43,8 +44,8 @@ void showMenu(vector<string> *menu_elems, const int8_t *num_menu,
|
|||||||
Config *config);
|
Config *config);
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
locale::global(locale("es_ES.utf8"));
|
// locale::global(locale("es_ES.utf8"));
|
||||||
|
setlocale(LC_ALL, "");
|
||||||
if (ui::initUI(&MENU_PRINCIPAL, &MENU_ERROR) != 0) {
|
if (ui::initUI(&MENU_PRINCIPAL, &MENU_ERROR) != 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user