somebody_master 4e3bab68de
Implentación de control de entrada. Arregla #2
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>

Se ha implementado el control de entrada por teclado en la configuración
para asegurar que se introducen datos adecuados. Se usan expresiones
regulares, mediante la librería regex, para conseguir tal efecto.
2020-10-28 16:12:21 +01:00

28 lines
1.4 KiB
C++

#include <string>
#ifndef __EN_HPP_
#define __EN_HPP_
namespace en{
const extern std::string noColor = "The terminal doesn't support cors";
const extern std::string errorGenerico_1 = "How do you get here?";
const extern std::string errorGenerico_2 = "Just in case we go to the main menu";
const extern std::string menuPrincipal = "Main Menu";
const extern std::string menuPrincipal_1 = "- Start Stress Test";
const extern std::string menuPrincipal_2 = "- Configurate";
const extern std::string menuPrincipal_3 = "- Exit";
const extern std::string menuConfigurar = "Configuration";
const extern std::string menuConfigurar_1 = "- Configurate all";
const extern std::string menuConfigurar_2 = "- Number of threads";
const extern std::string menuConfigurar_3 = "- Time";
const extern std::string menuConfigurar_4 = "- Main Menu";
const extern std::string confTodo = "All the configuration will be write in ";
const extern std::string confHilos = "Current number of threads > ";
const extern std::string confTiempo = "Current execution time > ";
const extern std::string confHilosInput = "- Number of threads\t> ";
const extern std::string confTiempoInput = "- Execution time\t> ";
const extern std::string confHilosError = "Must introduce a number";
const extern std::string confTiempoError = "The time format must be HH:mm:ss";
}
#endif // __EN_HPP_