Implementar systema de idiomas con gl, es y en

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
2020-10-28 13:26:34 +01:00
parent 275a41a922
commit fbbef585d2
9 changed files with 240 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
#include "ui.hpp"
#include "configFile.hpp"
#include "textos.hpp"
using namespace std;
@@ -16,7 +17,7 @@ int8_t ui::initUI(const int8_t *menu_principal, const int8_t *menu_error) {
noecho();
cbreak();
if (!has_colors()) {
printw("El terminal no soporta colores");
printw(txt::g_noColor.c_str());
getch();
return -1;
}