From b0aa7eea06bd7cdf8dd7b1762bbe0fbffd07f0e1 Mon Sep 17 00:00:00 2001 From: somebody_master Date: Mon, 26 Oct 2020 13:59:34 +0100 Subject: [PATCH] =?UTF-8?q?Poner=20la=20localizaci=C3=B3n=20del=20sistema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: somebody_master --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 7921e62..043c9e3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ #include "configFile.hpp" #include "ui.hpp" +#include #include using namespace std; @@ -43,8 +44,8 @@ void showMenu(vector *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; }