Añadida traducción de la creación de stressUI.cf

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
2020-10-28 20:25:16 +01:00
parent 819f45f32a
commit de30e69a5c
7 changed files with 56 additions and 7 deletions

View File

@ -1,6 +1,7 @@
#include "config.hpp"
#include <fstream>
#include <string>
#include <sstream>
#ifndef __CONFIG_FILE_HPP_
#define __CONFIG_FILE_HPP_
namespace cf {
@ -9,5 +10,6 @@ namespace cf {
void closeConfig(Config *config);
std::string getLine(std::ifstream *file);
void saveConfig(Config *config);
void escribirText(std::ofstream *file, std::string *text, int numSpcs);
} // namespace cf
#endif // __CONFIG_FILE_HPP_

View File

@ -22,6 +22,8 @@ namespace en{
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";
const extern std::string confArchText_1 = "Autogenerated file by Stress_UI";
const extern std::string confArchText_2 = "Do not edit manually without knowing what you do";
}
#endif // __EN_HPP_

View File

@ -22,6 +22,8 @@ namespace es{
const extern std::string confTiempoInput = "- Tiempo de ejecución\t> ";
const extern std::string confHilosError = "Se debe introducir un número";
const extern std::string confTiempoError = "El formato del tiempo debe ser HH:mm:ss";
const extern std::string confArchText_1 = "Archivo autogenerado por Stress_UI";
const extern std::string confArchText_2 = "No editar manualmente sin saber lo que se hace";
}
#endif // __ES_HPP_

View File

@ -22,6 +22,8 @@ namespace gl{
const extern std::string confTiempoInput = "- Tempo de execución\t> ";
const extern std::string confHilosError = "Debese introducir un número";
const extern std::string confTiempoError = "O formato do tempo debe ser HH:mm:ss";
const extern std::string confArchText_1 = "Archivo autoxenerado por Stress_UI";
const extern std::string confArchText_2 = "Non editar manualmente sin saber o que se fai";
}
#endif // __GL_HPP_

View File

@ -22,6 +22,8 @@ namespace txt{
extern std::string g_confTiempoInput;
extern std::string g_confHilosError;
extern std::string g_confTiempoError;
extern std::string g_confArchText_1;
extern std::string g_confArchText_2;
void inicializarIdioma(std::string idioma);
}