Poner la localización del sistema

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
Somebody Master 2020-10-26 13:59:34 +01:00
parent 8b6250d4b3
commit b0aa7eea06
Signed by: somebody_master
GPG Key ID: 78315CFDF0B25505

View File

@ -1,5 +1,6 @@
#include "configFile.hpp"
#include "ui.hpp"
#include <locale.h>
#include <thread>
using namespace std;
@ -43,8 +44,8 @@ void showMenu(vector<string> *menu_elems, const int8_t *num_menu,
Config *config);
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) {
return -1;
}